text
stringlengths 197
24.1M
|
---|
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter string : "
.align 3
.LC1:
.string "Enter character : "
.align 3
.LC2:
.string " %c"
.align 3
.LC3:
.string "\nAlphabet %c is located in cell "
.align 3
.LC4:
.string "%d "
.align 3
.LC5:
.string "\nAlphabet %c is located in cell %d times"
.align 3
.LC6:
.string "\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -144]!
.cfi_def_cfa_offset 144
.cfi_offset 29, -144
.cfi_offset 30, -136
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 136]
mov x1, 0
str wzr, [sp, 24]
str wzr, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 32
mov x2, x1
mov w1, 100
bl fgets
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 23
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl scanf_s
ldrb w0, [sp, 23]
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
b .L2
.L4:
ldrsw x0, [sp, 24]
add x1, sp, 32
ldrb w1, [x1, x0]
ldrb w0, [sp, 23]
cmp w1, w0
bne .L3
ldr w1, [sp, 24]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L3:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L2:
ldrsw x0, [sp, 24]
add x1, sp, 32
ldrb w0, [x1, x0]
cmp w0, 0
bne .L4
ldrb w0, [sp, 23]
ldr w2, [sp, 28]
mov w1, w0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 136]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L6
bl __stack_chk_fail
.L6:
mov w0, w1
ldp x29, x30, [sp], 144
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global ft_is_sort
.type ft_is_sort, %function
ft_is_sort:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
ldr w0, [sp, 36]
cmp w0, 0
bne .L4
mov w0, 1
b .L3
.L5:
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w3, [x0]
ldrsw x0, [sp, 36]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
ldr x2, [sp, 24]
mov w1, w0
mov w0, w3
blr x2
cmp w0, 0
bge .L4
mov w0, 0
b .L3
.L4:
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
bne .L5
mov w0, 1
.L3:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ft_is_sort, .-ft_is_sort
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global vars
.bss
.align 3
.type vars, %object
.size vars, 12
vars:
.zero 12
.global atom_1_r1_1
.align 2
.type atom_1_r1_1, %object
.size atom_1_r1_1, 4
atom_1_r1_1:
.zero 4
.global atom_1_r9_0
.align 2
.type atom_1_r9_0, %object
.size atom_1_r9_0, 4
atom_1_r9_0:
.zero 4
.text
.align 2
.global t0
.type t0, %function
t0:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
.L2:
adrp x0, vars
add x0, x0, :lo12:vars
str x0, [sp, 40]
mov w0, 1
str w0, [sp, 36]
ldr w0, [sp, 36]
mov w1, w0
ldr x0, [sp, 40]
stlr w1, [x0]
adrp x0, vars+4
add x0, x0, :lo12:vars+4
str x0, [sp, 48]
mov w0, 1
str w0, [sp, 36]
ldr w0, [sp, 36]
mov w1, w0
ldr x0, [sp, 48]
stlr w1, [x0]
mov x0, 0
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L4
bl __stack_chk_fail
.L4:
mov x0, x1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size t0, .-t0
.align 2
.global t1
.type t1, %function
t1:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -144]!
.cfi_def_cfa_offset 144
.cfi_offset 29, -144
.cfi_offset 30, -136
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 136]
mov x1, 0
.L6:
adrp x0, vars+4
add x0, x0, :lo12:vars+4
str x0, [sp, 72]
ldr x0, [sp, 72]
ldar w0, [x0]
str w0, [sp, 32]
ldr w0, [sp, 32]
str w0, [sp, 36]
str wzr, [sp, 40]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 44]
adrp x0, vars+8
add x0, x0, :lo12:vars+8
str x0, [sp, 80]
ldr w0, [sp, 44]
str w0, [sp, 32]
ldr w0, [sp, 32]
mov w1, w0
ldr x0, [sp, 80]
stlr w1, [x0]
adrp x0, vars+8
add x0, x0, :lo12:vars+8
str x0, [sp, 88]
mov w0, 2
str w0, [sp, 32]
ldr w0, [sp, 32]
mov w1, w0
ldr x0, [sp, 88]
stlr w1, [x0]
adrp x0, vars+8
add x0, x0, :lo12:vars+8
str x0, [sp, 96]
ldr x0, [sp, 96]
ldar w0, [x0]
str w0, [sp, 32]
ldr w0, [sp, 32]
str w0, [sp, 48]
adrp x0, vars+8
add x0, x0, :lo12:vars+8
str x0, [sp, 104]
ldr x0, [sp, 104]
ldar w0, [x0]
str w0, [sp, 32]
ldr w0, [sp, 32]
str w0, [sp, 52]
str wzr, [sp, 56]
ldrsw x0, [sp, 56]
lsl x1, x0, 2
adrp x0, vars
add x0, x0, :lo12:vars
add x0, x1, x0
str x0, [sp, 112]
ldr x0, [sp, 112]
ldar w0, [x0]
str w0, [sp, 32]
ldr w0, [sp, 32]
str w0, [sp, 60]
ldr w0, [sp, 36]
cmp w0, 1
cset w0, eq
and w0, w0, 255
str w0, [sp, 64]
adrp x0, atom_1_r1_1
add x0, x0, :lo12:atom_1_r1_1
str x0, [sp, 120]
ldr w0, [sp, 64]
str w0, [sp, 32]
ldr w0, [sp, 32]
mov w1, w0
ldr x0, [sp, 120]
stlr w1, [x0]
ldr w0, [sp, 60]
cmp w0, 0
cset w0, eq
and w0, w0, 255
str w0, [sp, 68]
adrp x0, atom_1_r9_0
add x0, x0, :lo12:atom_1_r9_0
str x0, [sp, 128]
ldr w0, [sp, 68]
str w0, [sp, 32]
ldr w0, [sp, 32]
mov w1, w0
ldr x0, [sp, 128]
stlr w1, [x0]
mov x0, 0
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 136]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L8
bl __stack_chk_fail
.L8:
mov x0, x1
ldp x29, x30, [sp], 144
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size t1, .-t1
.section .rodata
.align 3
.LC0:
.string "program.c"
.align 3
.LC1:
.string "0"
.text
.align 2
.global main
.type main, %function
main:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -160]!
.cfi_def_cfa_offset 160
.cfi_offset 29, -160
.cfi_offset 30, -152
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 152]
mov x1, 0
adrp x0, vars
add x0, x0, :lo12:vars
str x0, [sp, 88]
str wzr, [sp, 80]
ldr w0, [sp, 80]
mov w1, w0
ldr x0, [sp, 88]
str w1, [x0]
adrp x0, vars+8
add x0, x0, :lo12:vars+8
str x0, [sp, 96]
str wzr, [sp, 80]
ldr w0, [sp, 80]
mov w1, w0
ldr x0, [sp, 96]
str w1, [x0]
adrp x0, vars+4
add x0, x0, :lo12:vars+4
str x0, [sp, 104]
str wzr, [sp, 80]
ldr w0, [sp, 80]
mov w1, w0
ldr x0, [sp, 104]
str w1, [x0]
adrp x0, atom_1_r1_1
add x0, x0, :lo12:atom_1_r1_1
str x0, [sp, 112]
str wzr, [sp, 80]
ldr w0, [sp, 80]
mov w1, w0
ldr x0, [sp, 112]
str w1, [x0]
adrp x0, atom_1_r9_0
add x0, x0, :lo12:atom_1_r9_0
str x0, [sp, 120]
str wzr, [sp, 80]
ldr w0, [sp, 80]
mov w1, w0
ldr x0, [sp, 120]
str w1, [x0]
add x4, sp, 72
mov x3, 0
adrp x0, t0
add x2, x0, :lo12:t0
mov x1, 0
mov x0, x4
bl pthread_create
add x4, sp, 80
mov x3, 0
adrp x0, t1
add x2, x0, :lo12:t1
mov x1, 0
mov x0, x4
bl pthread_create
ldr x0, [sp, 72]
mov x1, 0
bl pthread_join
ldr x0, [sp, 80]
mov x1, 0
bl pthread_join
adrp x0, vars+8
add x0, x0, :lo12:vars+8
str x0, [sp, 128]
ldr x0, [sp, 128]
ldar w0, [x0]
str w0, [sp, 44]
ldr w0, [sp, 44]
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 2
cset w0, eq
and w0, w0, 255
str w0, [sp, 52]
adrp x0, atom_1_r1_1
add x0, x0, :lo12:atom_1_r1_1
str x0, [sp, 136]
ldr x0, [sp, 136]
ldar w0, [x0]
str w0, [sp, 44]
ldr w0, [sp, 44]
str w0, [sp, 56]
adrp x0, atom_1_r9_0
add x0, x0, :lo12:atom_1_r9_0
str x0, [sp, 144]
ldr x0, [sp, 144]
ldar w0, [x0]
str w0, [sp, 44]
ldr w0, [sp, 44]
str w0, [sp, 60]
ldr w1, [sp, 56]
ldr w0, [sp, 60]
and w0, w1, w0
str w0, [sp, 64]
ldr w1, [sp, 52]
ldr w0, [sp, 64]
and w0, w1, w0
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 1
bne .L10
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 61
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __assert_fail
.L10:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 152]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L12
bl __stack_chk_fail
.L12:
mov w0, w1
ldp x29, x30, [sp], 160
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size main, .-main
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.0, %object
.size __PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
.string "main"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "/queue_005_6"
.align 3
.LC1:
.string "Unable to open the message queue.\n"
.align 3
.LC2:
.string "Unable to receive the message.\n"
.align 3
.LC3:
.string "Message received: %s\n"
.align 3
.LC4:
.string "Unable to close the message queue.\n"
.align 3
.LC5:
.string "Unable to unlink the message queue.\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 104]
mov x1, 0
mov w1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl mq_open
str w0, [sp, 40]
ldr w0, [sp, 40]
cmn w0, #1
bne .L2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl perror
mov w0, 1
b .L7
.L2:
add x0, sp, 48
mov x3, 0
mov x2, 50
mov x1, x0
ldr w0, [sp, 40]
bl mq_receive
str w0, [sp, 44]
ldr w0, [sp, 44]
cmn w0, #1
bne .L4
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl perror
mov w0, 1
b .L7
.L4:
add x0, sp, 48
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr w0, [sp, 40]
bl mq_close
cmn w0, #1
bne .L5
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl perror
mov w0, 1
b .L7
.L5:
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl mq_unlink
cmn w0, #1
bne .L6
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl perror
mov w0, 1
b .L7
.L6:
mov w0, 0
.L7:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 104]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L8
bl __stack_chk_fail
.L8:
mov w0, w1
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global g_return_jmp_buf
.bss
.align 3
.type g_return_jmp_buf, %object
.size g_return_jmp_buf, 0
g_return_jmp_buf:
.text
.align 2
.global SetNaClSwitchExpectations
.type SetNaClSwitchExpectations, %function
SetNaClSwitchExpectations:
.LFB0:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE0:
.size SetNaClSwitchExpectations, .-SetNaClSwitchExpectations
.align 2
.global TestSyscall
.type TestSyscall, %function
TestSyscall:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl SetNaClSwitchExpectations
adrp x0, g_return_jmp_buf
add x0, x0, :lo12:g_return_jmp_buf
bl _setjmp
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size TestSyscall, .-TestSyscall
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global memset
.type memset, %function
memset:
.LFB0:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str x2, [sp, 8]
ldr x0, [sp, 24]
str x0, [sp, 40]
b .L2
.L3:
ldr x0, [sp, 40]
add x1, x0, 1
str x1, [sp, 40]
ldr w1, [sp, 20]
and w1, w1, 255
strb w1, [x0]
.L2:
ldr x0, [sp, 8]
sub x1, x0, #1
str x1, [sp, 8]
cmp x0, 0
bne .L3
ldr x0, [sp, 24]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size memset, .-memset
.align 2
.global memcmp
.type memcmp, %function
memcmp:
.LFB1:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, 24]
str x1, [sp, 16]
str x2, [sp, 8]
ldr x0, [sp, 24]
str x0, [sp, 48]
ldr x0, [sp, 16]
str x0, [sp, 56]
b .L6
.L8:
ldr x0, [sp, 48]
add x1, x0, 1
str x1, [sp, 48]
ldrb w0, [x0]
strb w0, [sp, 46]
ldr x0, [sp, 56]
add x1, x0, 1
str x1, [sp, 56]
ldrb w0, [x0]
strb w0, [sp, 47]
ldrb w1, [sp, 46]
ldrb w0, [sp, 47]
cmp w1, w0
beq .L6
ldrb w1, [sp, 46]
ldrb w0, [sp, 47]
sub w0, w1, w0
b .L7
.L6:
ldr x0, [sp, 8]
sub x1, x0, #1
str x1, [sp, 8]
cmp x0, 0
bne .L8
mov w0, 0
.L7:
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size memcmp, .-memcmp
.align 2
.global memcpy
.type memcpy, %function
memcpy:
.LFB2:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str x1, [sp, 16]
str x2, [sp, 8]
ldr x0, [sp, 16]
str x0, [sp, 32]
ldr x0, [sp, 24]
str x0, [sp, 40]
b .L10
.L11:
ldr x1, [sp, 32]
add x0, x1, 1
str x0, [sp, 32]
ldr x0, [sp, 40]
add x2, x0, 1
str x2, [sp, 40]
ldrb w1, [x1]
strb w1, [x0]
.L10:
ldr x0, [sp, 8]
sub x1, x0, #1
str x1, [sp, 8]
cmp x0, 0
bne .L11
ldr x0, [sp, 24]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size memcpy, .-memcpy
.align 2
.global memmove
.type memmove, %function
memmove:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
ldr x1, [sp, 40]
ldr x0, [sp, 32]
sub x0, x1, x0
ldr x1, [sp, 24]
cmp x1, x0
bhi .L14
ldr x2, [sp, 24]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl memcpy
b .L15
.L14:
ldr x0, [sp, 40]
str x0, [sp, 72]
ldr x1, [sp, 32]
ldr x0, [sp, 24]
add x0, x1, x0
str x0, [sp, 56]
ldr x1, [sp, 40]
ldr x0, [sp, 24]
add x0, x1, x0
str x0, [sp, 64]
b .L16
.L17:
ldr x0, [sp, 56]
sub x0, x0, #1
str x0, [sp, 56]
ldr x0, [sp, 64]
sub x0, x0, #1
str x0, [sp, 64]
ldr x0, [sp, 56]
ldrb w1, [x0]
ldr x0, [sp, 64]
strb w1, [x0]
.L16:
ldr x1, [sp, 64]
ldr x0, [sp, 72]
cmp x1, x0
bne .L17
ldr x0, [sp, 40]
.L15:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size memmove, .-memmove
.align 2
.global memchr
.type memchr, %function
memchr:
.LFB4:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str x2, [sp, 8]
ldr x0, [sp, 24]
str x0, [sp, 40]
b .L19
.L22:
ldr x0, [sp, 40]
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 20]
cmp w0, w1
bne .L20
ldr x0, [sp, 40]
b .L21
.L20:
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L19:
ldr x0, [sp, 8]
sub x1, x0, #1
str x1, [sp, 8]
cmp x0, 0
bne .L22
mov x0, 0
.L21:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size memchr, .-memchr
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "pipe"
.align 3
.LC1:
.string "hello"
.align 3
.LC2:
.string "write"
.align 3
.LC3:
.string "Read end of file from pipe"
.align 3
.LC4:
.string "Read character %c\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x0, sp, 32
bl pipe
cmn w0, #1
bne .L2
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl perror
mov w0, 1
bl exit
.L2:
ldr w3, [sp, 36]
mov x2, 5
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov w0, w3
bl write
cmn x0, #1
bne .L3
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl perror
mov w0, 1
bl exit
.L3:
ldr w0, [sp, 36]
bl close
.L6:
ldr w0, [sp, 32]
add x1, sp, 23
mov x2, 1
bl read
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L4
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
mov w0, 0
bl exit
.L4:
ldr x0, [sp, 24]
cmn x0, #1
bne .L5
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl perror
mov w0, 1
bl exit
.L5:
ldrb w0, [sp, 23]
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
b .L6
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "\nDigite seu nome: "
.align 3
.LC1:
.string "\nSeu endere\303\247o: "
.align 3
.LC2:
.string "\nSeu nome \303\251 %s\ne seu endere\303\247o \303\251 %s\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 104]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 16
mov x2, x1
mov w1, 30
bl fgets
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 48
mov x2, x1
mov w1, 50
bl fgets
add x1, sp, 48
add x0, sp, 16
mov x2, x1
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 104]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "a=\n"
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "b=\n"
.align 3
.LC3:
.string "a+b=%d\n"
.align 3
.LC4:
.string "a-b=%d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
ldr w1, [sp, 32]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 24
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 28]
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
add x0, sp, 28
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w1, [sp, 24]
ldr w0, [sp, 28]
add w0, w1, w0
str w0, [sp, 32]
ldr w1, [sp, 24]
ldr w0, [sp, 28]
sub w0, w1, w0
str w0, [sp, 36]
ldr w1, [sp, 32]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr w1, [sp, 36]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global pucImage
.section .rodata
.align 3
.type pucImage, %object
.size pucImage, 6624
pucImage:
.hword -1
.hword -1
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -1
.hword -1
.hword -1
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -1
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -15592
.hword 2114
.hword -32240
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 3171
.hword -1
.hword 2114
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword 0
.hword -31183
.hword 14534
.hword 14534
.hword 14534
.hword 14534
.hword -1058
.hword -1
.hword -17706
.hword 14534
.hword -13478
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 15591
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword 0
.hword 2114
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword 17705
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 0
.hword -32240
.hword 2114
.hword 2114
.hword 2114
.hword 2114
.hword 29068
.hword -1
.hword -29069
.hword -18763
.hword -1
.hword 3171
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 3171
.hword -1
.hword 2114
.hword 3171
.hword -1
.hword 3171
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 3171
.hword -1
.hword 3171
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 794
.hword -6340
.hword 11103
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 10574
.hword -22724
.hword -16120
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 16384
.hword 17707
.hword 26693
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 10309
.hword 794
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -31710
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword -31183
.hword 14534
.hword 14534
.hword 14534
.hword -2115
.hword 14534
.hword 14534
.hword -31183
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword -32504
.hword -22195
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 1058
.hword 0
.hword 0
.hword 0
.hword 0
.hword -15591
.hword 11367
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5811
.hword -15856
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -15856
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 16913
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 2114
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword 2114
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 27222
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 265
.hword 0
.hword 0
.hword 0
.hword 17178
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5282
.hword 529
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -5811
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 9780
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 1057
.hword 12420
.hword 12420
.hword 12420
.hword -19820
.hword -1
.hword -2115
.hword -32240
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword -31710
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 27751
.hword 10574
.hword 10838
.hword 10838
.hword 10838
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword -16120
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 11367
.hword 10838
.hword 10838
.hword -21401
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 27222
.hword 16648
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 1323
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -19820
.hword -1
.hword 18762
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword -22195
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5811
.hword 16384
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -15326
.hword 10309
.hword 0
.hword 0
.hword 0
.hword -22195
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5017
.hword 17707
.hword 0
.hword 0
.hword 0
.hword -32504
.hword 10309
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -31445
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 16648
.hword -21401
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 529
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 3171
.hword 14534
.hword 18762
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 11367
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -31445
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -32504
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 26428
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -21930
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5282
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 26957
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -22724
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword -32240
.hword -3172
.hword -16649
.hword -1
.hword 30125
.hword 1057
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword -21930
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 10838
.hword 16384
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 1059
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -16120
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -31710
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 529
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 17178
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -16120
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 14534
.hword -1
.hword -1
.hword -1
.hword -1
.hword 31182
.hword 16648
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword -5547
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 11367
.hword 17707
.hword 529
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -6076
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 27222
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 16384
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -31710
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 16648
.hword 27487
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 17707
.hword 1058
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword -31183
.hword -1
.hword 14534
.hword -2115
.hword -2115
.hword -19820
.hword -1
.hword 18762
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 17707
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -21666
.hword -31445
.hword -16120
.hword 0
.hword 0
.hword 0
.hword 0
.hword 10574
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -6076
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -5282
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -31181
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -31181
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 3171
.hword -1
.hword 2114
.hword 13477
.hword -3172
.hword 16648
.hword -1
.hword 3171
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 10574
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5017
.hword -31181
.hword 0
.hword 0
.hword 0
.hword 10838
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 9780
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 10838
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 9780
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -22460
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword -30126
.hword -1
.hword -31183
.hword 13477
.hword -2115
.hword -3172
.hword -1
.hword 18762
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 16384
.hword -22724
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5017
.hword 10044
.hword 0
.hword 0
.hword -5811
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 26428
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -21930
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 10044
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 265
.hword 27222
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 17705
.hword -1
.hword 3171
.hword 13477
.hword -1
.hword -1
.hword -18763
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -16120
.hword -31181
.hword 10838
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5017
.hword -15856
.hword 0
.hword -22195
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -22195
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 27751
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 1323
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 16384
.hword -5282
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -22195
.hword 10044
.hword -31710
.hword 1058
.hword 10309
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 2114
.hword 17705
.hword -12421
.hword -18763
.hword 3171
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -16120
.hword 1323
.hword -5282
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 1059
.hword 0
.hword -14797
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 11103
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 529
.hword -5017
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 794
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 1323
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -22195
.hword 0
.hword 0
.hword 0
.hword 0
.hword 10044
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword -15592
.hword -15592
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 16648
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 10044
.hword 0
.hword 1058
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 1058
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -22724
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 16384
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -6340
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 17971
.hword 0
.hword 0
.hword 0
.hword 0
.hword 9780
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 1057
.hword -17706
.hword -1
.hword -1
.hword 15591
.hword 2114
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 11103
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -14797
.hword 0
.hword 16384
.hword 27751
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5282
.hword -32504
.hword 0
.hword 0
.hword 0
.hword 0
.hword -32239
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 26693
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -5811
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5811
.hword 0
.hword 0
.hword 0
.hword 0
.hword 10044
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 0
.hword -1058
.hword -1
.hword -1
.hword -1
.hword -1
.hword 15591
.hword -32240
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 9780
.hword -22195
.hword 17707
.hword 1058
.hword 794
.hword 1058
.hword -15326
.hword -5547
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -15591
.hword 0
.hword 0
.hword 17707
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 11103
.hword 17971
.hword 794
.hword 1058
.hword 26428
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5017
.hword -31975
.hword 0
.hword 1058
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -32504
.hword 0
.hword -22724
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 27222
.hword 10044
.hword 794
.hword 1058
.hword 10309
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 2114
.hword -1
.hword 13477
.hword -18763
.hword 13477
.hword -29069
.hword -1
.hword -13478
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 10309
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 27222
.hword 0
.hword 0
.hword 0
.hword 0
.hword 26693
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -14797
.hword 0
.hword 0
.hword 9780
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 529
.hword 0
.hword -31975
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword 3171
.hword -1
.hword -31183
.hword 13477
.hword -3172
.hword 16648
.hword -1
.hword 3171
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword -5811
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5282
.hword 265
.hword 0
.hword 0
.hword 0
.hword 0
.hword 16648
.hword -5811
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -14797
.hword 0
.hword 0
.hword 0
.hword 10044
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 529
.hword 0
.hword 0
.hword 10044
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword -30126
.hword -1
.hword -14535
.hword 13477
.hword -17706
.hword 14534
.hword -1
.hword -31183
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 27222
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 26428
.hword -32768
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -15326
.hword 11103
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -5811
.hword -15591
.hword 0
.hword 0
.hword 0
.hword 0
.hword 9780
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 529
.hword 0
.hword 0
.hword 0
.hword -31710
.hword 27222
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword -4753
.hword 0
.hword -15592
.hword -1
.hword -29069
.hword 13477
.hword -1
.hword -1
.hword 29068
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 1058
.hword -14797
.hword 10044
.hword -22724
.hword -6076
.hword 9780
.hword -14797
.hword 794
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -31975
.hword 1323
.hword 10044
.hword 10309
.hword -22460
.hword 9780
.hword -31710
.hword 529
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 529
.hword 794
.hword 1058
.hword 794
.hword 1058
.hword 794
.hword 1058
.hword 794
.hword 1058
.hword 794
.hword 1058
.hword 794
.hword 1058
.hword 794
.hword 1058
.hword 16384
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -32504
.hword 1058
.hword 794
.hword 1058
.hword 794
.hword 1058
.hword 794
.hword 1058
.hword 794
.hword 1058
.hword 794
.hword 16913
.hword 0
.hword 0
.hword 0
.hword 0
.hword -30126
.hword 12420
.hword -14535
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword 0
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -1
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -1
.hword -1
.hword -1
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -8186
.hword -1
.hword -1
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global foo
.type foo, %function
foo:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
ldr w1, [sp, 28]
mov w0, 7312
cmp w1, w0
bhi .L5
ldr w1, [sp, 24]
mov w0, 7312
cmp w1, w0
bls .L6
ldr w0, [sp, 28]
ldr w1, [sp, 24]
udiv w2, w0, w1
ldr w1, [sp, 24]
mul w1, w2, w1
sub w0, w0, w1
ldr w1, [sp, 28]
cmp w1, w0
beq .L1
bl link_error
b .L1
.L5:
nop
b .L1
.L6:
nop
.L1:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.align 2
.global bar
.type bar, %function
bar:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
ldr w1, [sp, 28]
mov w0, 7312
cmp w1, w0
bgt .L12
ldr w0, [sp, 28]
cmp w0, 0
blt .L12
ldr w1, [sp, 24]
mov w0, 7312
cmp w1, w0
ble .L13
ldr w0, [sp, 28]
ldr w1, [sp, 24]
sdiv w2, w0, w1
ldr w1, [sp, 24]
mul w1, w2, w1
sub w0, w0, w1
ldr w1, [sp, 28]
cmp w1, w0
beq .L7
bl link_error
b .L7
.L12:
nop
b .L7
.L13:
nop
.L7:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size bar, .-bar
.align 2
.global baz
.type baz, %function
baz:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
ldr w1, [sp, 28]
mov w0, 7312
cmp w1, w0
bgt .L19
ldr w1, [sp, 28]
mov w0, -7312
cmp w1, w0
blt .L19
ldr w1, [sp, 24]
mov w0, 7312
cmp w1, w0
ble .L20
ldr w0, [sp, 28]
ldr w1, [sp, 24]
sdiv w2, w0, w1
ldr w1, [sp, 24]
mul w1, w2, w1
sub w0, w0, w1
ldr w1, [sp, 28]
cmp w1, w0
beq .L14
bl link_error
b .L14
.L19:
nop
b .L14
.L20:
nop
.L14:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size baz, .-baz
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%f"
.align 3
.LC1:
.string "\303\201rea do hex\303\241gono de lado %f: %f\n"
.align 3
.LC2:
.string "Per\303\255metro do hex\303\241gono de lado %f: %f\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 28]
str wzr, [sp, 32]
str wzr, [sp, 36]
add x0, sp, 28
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
b .L2
.L3:
ldr s0, [sp, 28]
add x1, sp, 36
add x0, sp, 32
bl calc_hexa
ldr s0, [sp, 28]
fcvt d2, s0
ldr s0, [sp, 32]
fcvt d0, s0
fmov d1, d0
fmov d0, d2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr s0, [sp, 28]
fcvt d2, s0
ldr s0, [sp, 36]
fcvt d0, s0
fmov d1, d0
fmov d0, d2
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
add x0, sp, 28
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
.L2:
ldr s0, [sp, 28]
fcmpe s0, #0.0
bge .L3
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.align 2
.global calc_hexa
.type calc_hexa, %function
calc_hexa:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 28]
str x0, [sp, 16]
str x1, [sp, 8]
ldr s0, [sp, 28]
fadd s0, s0, s0
mov w0, 18145
movk w0, 0x4026, lsl 16
fmov s1, w0
fmul s0, s0, s1
ldr x0, [sp, 16]
str s0, [x0]
ldr s1, [sp, 28]
fmov s0, 6.0e+0
fmul s0, s1, s0
ldr x0, [sp, 8]
str s0, [x0]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size calc_hexa, .-calc_hexa
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "r"
.align 3
.LC1:
.string "/proc/cpuinfo"
.align 3
.LC2:
.string "processor"
.text
.align 2
.type get_numCPUs, %function
get_numCPUs:
.LFB6:
.cfi_startproc
sub sp, sp, #1072
.cfi_def_cfa_offset 1072
stp x29, x30, [sp]
.cfi_offset 29, -1072
.cfi_offset 30, -1064
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1064]
mov x1, 0
str wzr, [sp, 28]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fopen
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
beq .L2
b .L3
.L4:
add x3, sp, 40
mov x2, 9
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl strncmp
cmp w0, 0
bne .L3
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L3:
add x0, sp, 40
ldr x2, [sp, 32]
mov w1, 1024
bl fgets
cmp x0, 0
bne .L4
.L2:
ldr w0, [sp, 28]
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1064]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L6
bl __stack_chk_fail
.L6:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 1072
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size get_numCPUs, .-get_numCPUs
.section .rodata
.align 3
.LC3:
.string "Usage: %s <processorID> <frequency> [<governor>] \n"
.align 3
.LC4:
.string "CPU %d not a valid CPU ID. Range from 0 to %d.\n"
.align 3
.LC5:
.string "Frequency must be greater than 0.\n"
.align 3
.LC6:
.string "ondemand"
.align 3
.LC7:
.string "performance"
.align 3
.LC8:
.string "conservative"
.align 3
.LC9:
.string "powersave"
.align 3
.LC10:
.string "Invalid governor %s!\n"
.align 3
.LC11:
.string "/sys/devices/system/cpu/cpu%d/cpufreq/scaling_governor"
.align 3
.LC12:
.string "w"
.align 3
.LC13:
.string "Unable to open path for writing\n"
.align 3
.LC14:
.string "/sys/devices/system/cpu/cpu%d/cpufreq/scaling_setspeed"
.align 3
.LC15:
.string "userspace"
.align 3
.LC16:
.string "%d"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
str wzr, [sp, 44]
mov x0, 100
bl malloc
str x0, [sp, 56]
mov x0, 100
bl malloc
str x0, [sp, 64]
ldr w0, [sp, 28]
cmp w0, 2
ble .L8
ldr w0, [sp, 28]
cmp w0, 4
ble .L9
.L8:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 16]
ldr x0, [x0]
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x3
bl fprintf
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 64]
bl free
mov w0, 1
bl exit
.L9:
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl atoi
str w0, [sp, 48]
bl get_numCPUs
str w0, [sp, 44]
ldr w0, [sp, 48]
cmp w0, 0
blt .L10
ldr w1, [sp, 48]
ldr w0, [sp, 44]
cmp w1, w0
ble .L11
.L10:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldr w3, [sp, 44]
ldr w2, [sp, 48]
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov x0, x4
bl fprintf
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 64]
bl free
mov w0, 1
bl exit
.L11:
ldr x0, [sp, 16]
add x0, x0, 16
ldr x0, [x0]
bl atoi
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bgt .L12
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 34
mov x1, 1
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl fwrite
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 64]
bl free
mov w0, 1
bl exit
.L12:
ldr w0, [sp, 28]
cmp w0, 4
bne .L13
ldr x0, [sp, 16]
ldr x0, [x0, 24]
str x0, [sp, 80]
mov x2, 8
adrp x0, .LC6
add x1, x0, :lo12:.LC6
ldr x0, [sp, 80]
bl strncmp
cmp w0, 0
beq .L14
mov x2, 11
adrp x0, .LC7
add x1, x0, :lo12:.LC7
ldr x0, [sp, 80]
bl strncmp
cmp w0, 0
beq .L14
mov x2, 12
adrp x0, .LC8
add x1, x0, :lo12:.LC8
ldr x0, [sp, 80]
bl strncmp
cmp w0, 0
beq .L14
mov x2, 9
adrp x0, .LC9
add x1, x0, :lo12:.LC9
ldr x0, [sp, 80]
bl strncmp
cmp w0, 0
beq .L14
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x2, [sp, 80]
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov x0, x3
bl fprintf
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 64]
bl free
mov w0, 1
b .L15
.L14:
ldr w3, [sp, 48]
adrp x0, .LC11
add x2, x0, :lo12:.LC11
mov x1, 60
ldr x0, [sp, 56]
bl snprintf
adrp x0, .LC12
add x1, x0, :lo12:.LC12
ldr x0, [sp, 56]
bl fopen
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
bne .L16
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 32
mov x1, 1
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl fwrite
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 64]
bl free
mov w0, 1
b .L15
.L16:
ldr x1, [sp, 88]
ldr x0, [sp, 80]
bl fputs
ldr x0, [sp, 88]
bl fclose
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 64]
bl free
mov w0, 0
b .L15
.L13:
ldr w3, [sp, 48]
adrp x0, .LC11
add x2, x0, :lo12:.LC11
mov x1, 60
ldr x0, [sp, 56]
bl snprintf
ldr w3, [sp, 48]
adrp x0, .LC14
add x2, x0, :lo12:.LC14
mov x1, 60
ldr x0, [sp, 64]
bl snprintf
adrp x0, .LC12
add x1, x0, :lo12:.LC12
ldr x0, [sp, 56]
bl fopen
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L17
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 32
mov x1, 1
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl fwrite
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 64]
bl free
mov w0, 1
b .L15
.L17:
ldr x3, [sp, 72]
mov x2, 9
mov x1, 1
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl fwrite
ldr x0, [sp, 72]
bl fclose
adrp x0, .LC12
add x1, x0, :lo12:.LC12
ldr x0, [sp, 64]
bl fopen
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L18
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 32
mov x1, 1
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl fwrite
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 64]
bl free
mov w0, 1
b .L15
.L18:
ldr w2, [sp, 52]
adrp x0, .LC16
add x1, x0, :lo12:.LC16
ldr x0, [sp, 72]
bl fprintf
ldr x0, [sp, 72]
bl fclose
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 64]
bl free
mov w0, 0
.L15:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global ft_str_is_printable
.type ft_str_is_printable, %function
ft_str_is_printable:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str wzr, [sp, 28]
b .L2
.L6:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 32
bls .L3
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 126
bls .L4
.L3:
mov w0, 0
b .L5
.L4:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L6
mov w0, 1
.L5:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ft_str_is_printable, .-ft_str_is_printable
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global test_vdupQ_nu32
.type test_vdupQ_nu32, %function
test_vdupQ_nu32:
.LFB4340:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
ldr w0, [sp, 8]
str w0, [sp, 12]
ldr s0, [sp, 12]
dup v0.4s, v0.s[0]
str q0, [sp, 16]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4340:
.size test_vdupQ_nu32, .-test_vdupQ_nu32
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global donothing
.type donothing, %function
donothing:
.LFB0:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE0:
.size donothing, .-donothing
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.local servfd
.comm servfd,4,4
.local clientfd
.comm clientfd,4,4
.local fd
.comm fd,4,4
.global rdBuff
.bss
.align 3
.type rdBuff, %object
.size rdBuff, 8
rdBuff:
.zero 8
.global totalBytes
.align 2
.type totalBytes, %object
.size totalBytes, 4
totalBytes:
.zero 4
.local globalExit
.comm globalExit,1,1
.global timerThread
.align 3
.type timerThread, %object
.size timerThread, 8
timerThread:
.zero 8
.local mutex
.comm mutex,48,8
.global head
.align 3
.type head, %object
.size head, 8
head:
.zero 8
.section .rodata
.align 3
.LC0:
.string "/dev/aesdchar"
.text
.align 2
.global closeAll
.type closeAll, %function
closeAll:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
ldr x0, [x0]
cmp x0, 0
beq .L2
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
ldr x0, [x0]
bl free
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
str xzr, [x0]
.L2:
adrp x0, servfd
add x0, x0, :lo12:servfd
ldr w0, [x0]
mov w1, 2
bl shutdown
adrp x0, servfd
add x0, x0, :lo12:servfd
ldr w0, [x0]
bl close
adrp x0, clientfd
add x0, x0, :lo12:clientfd
ldr w0, [x0]
mov w1, 2
bl shutdown
adrp x0, clientfd
add x0, x0, :lo12:clientfd
ldr w0, [x0]
bl close
str xzr, [sp, 24]
b .L3
.L4:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 24]
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
ldr x1, [x0, 16]
adrp x0, head
add x0, x0, :lo12:head
str x1, [x0]
ldr x0, [sp, 24]
bl free
.L3:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L4
str xzr, [sp, 24]
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
bl close
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl remove
bl closelog
adrp x0, timerThread
add x0, x0, :lo12:timerThread
ldr x0, [x0]
mov x1, 0
bl pthread_join
adrp x0, mutex
add x0, x0, :lo12:mutex
bl pthread_mutex_destroy
mov w0, 0
bl exit
.cfi_endproc
.LFE6:
.size closeAll, .-closeAll
.section .rodata
.align 3
.LC1:
.string "fork():"
.align 3
.LC2:
.string "fork(): %s"
.align 3
.LC3:
.string "setsid()():"
.align 3
.LC4:
.string "setsid(): %s"
.align 3
.LC5:
.string "/"
.align 3
.LC6:
.string "chdir():"
.align 3
.LC7:
.string "chdir(): %s"
.align 3
.LC8:
.string "/dev/null"
.text
.align 2
.global runAsDaemon
.type runAsDaemon, %function
runAsDaemon:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x1, 1
mov w0, 17
bl signal
mov x1, 1
mov w0, 1
bl signal
bl fork
str w0, [sp, 20]
ldr w0, [sp, 20]
cmp w0, 0
bge .L6
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl perror
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L6:
ldr w0, [sp, 20]
cmp w0, 0
ble .L7
mov w0, 0
bl exit
.L7:
mov w0, 0
bl umask
bl setsid
str w0, [sp, 24]
ldr w0, [sp, 24]
cmp w0, 0
bge .L8
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl perror
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov w0, 3
bl syslog
mov w0, 1
bl exit
.L8:
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl chdir
cmp w0, 0
bge .L9
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl perror
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov w0, 3
bl syslog
mov w0, 1
bl exit
.L9:
mov w1, 2
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl open
str w0, [sp, 28]
mov w1, 0
ldr w0, [sp, 28]
bl dup2
mov w1, 1
ldr w0, [sp, 28]
bl dup2
mov w1, 2
ldr w0, [sp, 28]
bl dup2
mov w0, 0
bl close
mov w0, 1
bl close
mov w0, 2
bl close
ldr w0, [sp, 28]
bl close
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size runAsDaemon, .-runAsDaemon
.section .rodata
.align 3
.LC9:
.string "Error in mutex lock: %s"
.align 3
.LC10:
.string "Error opening %s"
.align 3
.LC11:
.string "recv():%s"
.align 3
.LC12:
.string "write():%s"
.align 3
.LC13:
.string "read():%s"
.align 3
.LC14:
.string "send():%s"
.align 3
.LC15:
.string "Error in mutex unlock: %s"
.text
.align 2
.global socketHandler
.type socketHandler, %function
socketHandler:
.LFB8:
.cfi_startproc
sub sp, sp, #1104
.cfi_def_cfa_offset 1104
stp x29, x30, [sp]
.cfi_offset 29, -1104
.cfi_offset 30, -1096
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1096]
mov x1, 0
ldr x0, [sp, 24]
str x0, [sp, 56]
mov x0, 1
bl malloc
mov x1, x0
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
str x1, [x0]
adrp x0, mutex
add x0, x0, :lo12:mutex
bl pthread_mutex_lock
str w0, [sp, 32]
ldr w0, [sp, 32]
cmp w0, 0
beq .L11
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L11:
mov w1, 1
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl open
mov w1, w0
adrp x0, fd
add x0, x0, :lo12:fd
str w1, [x0]
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
cmp w0, 0
bge .L12
adrp x0, .LC0
add x2, x0, :lo12:.LC0
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L12:
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
mov w2, 2
mov x1, 0
bl lseek
str xzr, [sp, 40]
.L17:
ldr x0, [sp, 56]
ldr w0, [x0, 8]
add x1, sp, 72
mov w3, 0
mov x2, 1024
bl recv
str x0, [sp, 64]
ldr x0, [sp, 64]
cmn x0, #1
bne .L13
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC11
add x1, x0, :lo12:.LC11
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L13:
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
ldr x2, [x0]
ldr x1, [sp, 64]
ldr x0, [sp, 40]
add x0, x1, x0
mov x1, x0
mov x0, x2
bl realloc
mov x1, x0
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
str x1, [x0]
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
ldr x1, [x0]
ldr x0, [sp, 40]
add x0, x1, x0
ldr x2, [sp, 64]
add x1, sp, 72
bl memcpy
ldr x0, [sp, 64]
ldr x1, [sp, 40]
add x0, x1, x0
str x0, [sp, 40]
ldr x0, [sp, 64]
mov w1, w0
adrp x0, totalBytes
add x0, x0, :lo12:totalBytes
ldr w0, [x0]
add w0, w1, w0
mov w1, w0
adrp x0, totalBytes
add x0, x0, :lo12:totalBytes
str w1, [x0]
ldr x0, [sp, 64]
sub x0, x0, #1
add x1, sp, 72
ldrb w0, [x1, x0]
cmp w0, 10
bne .L17
adrp x0, fd
add x0, x0, :lo12:fd
ldr w3, [x0]
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
ldr x0, [x0]
ldr x2, [sp, 40]
mov x1, x0
mov w0, w3
bl write
cmn x0, #1
bne .L27
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC12
add x1, x0, :lo12:.LC12
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L27:
nop
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
bl close
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
ldr x0, [x0]
bl free
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
str xzr, [x0]
mov w1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl open
mov w1, w0
adrp x0, fd
add x0, x0, :lo12:fd
str w1, [x0]
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
cmp w0, 0
bge .L18
adrp x0, .LC0
add x2, x0, :lo12:.LC0
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L18:
adrp x0, totalBytes
add x0, x0, :lo12:totalBytes
ldr w0, [x0]
sxtw x0, w0
str x0, [sp, 48]
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
ldr x0, [x0]
ldr x1, [sp, 48]
bl realloc
mov x1, x0
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
str x1, [x0]
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
mov w2, 0
mov x1, 0
bl lseek
.L23:
adrp x0, fd
add x0, x0, :lo12:fd
ldr w3, [x0]
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
ldr x0, [x0]
ldr x1, [sp, 48]
mov x2, x1
mov x1, x0
mov w0, w3
bl read
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
bne .L19
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC13
add x1, x0, :lo12:.LC13
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L19:
ldr x0, [sp, 56]
ldr w4, [x0, 8]
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
ldr x0, [x0]
ldrsw x1, [sp, 36]
mov w3, 0
mov x2, x1
mov x1, x0
mov w0, w4
bl send
cmn x0, #1
bne .L20
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC14
add x1, x0, :lo12:.LC14
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L20:
ldrsw x0, [sp, 36]
ldr x1, [sp, 48]
sub x0, x1, x0
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L28
b .L23
.L28:
nop
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
ldr x0, [x0]
bl free
adrp x0, rdBuff
add x0, x0, :lo12:rdBuff
str xzr, [x0]
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
bl close
ldr x0, [sp, 56]
ldr w0, [x0, 8]
bl close
ldr x0, [sp, 56]
str wzr, [x0, 12]
adrp x0, mutex
add x0, x0, :lo12:mutex
bl pthread_mutex_unlock
str w0, [sp, 32]
ldr w0, [sp, 32]
cmp w0, 0
beq .L24
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC15
add x1, x0, :lo12:.LC15
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L24:
mov x0, 0
bl pthread_exit
.cfi_endproc
.LFE8:
.size socketHandler, .-socketHandler
.section .rodata
.align 3
.LC16:
.string "localtime error: %s"
.align 3
.LC17:
.string "timestamp: %Y %b %e %H:%M:%S\n"
.align 3
.LC18:
.string "strftime returned 0"
.text
.align 2
.global insert_timestamp
.type insert_timestamp, %function
insert_timestamp:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -160]!
.cfi_def_cfa_offset 160
.cfi_offset 29, -160
.cfi_offset 30, -152
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 152]
mov x1, 0
b .L30
.L37:
mov w0, 10
bl sleep
mov x0, 0
bl time
str x0, [sp, 32]
add x0, sp, 32
bl localtime
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L31
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC16
add x1, x0, :lo12:.LC16
mov w0, 3
bl syslog
mov w0, 1
bl exit
.L31:
add x4, sp, 48
ldr x3, [sp, 40]
adrp x0, .LC17
add x2, x0, :lo12:.LC17
mov x1, 100
mov x0, x4
bl strftime
str w0, [sp, 24]
ldr w0, [sp, 24]
cmp w0, 0
bne .L32
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 19
mov x1, 1
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl fwrite
mov w0, 1
bl exit
.L32:
adrp x0, mutex
add x0, x0, :lo12:mutex
bl pthread_mutex_lock
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
beq .L33
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L33:
mov w1, 1
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl open
mov w1, w0
adrp x0, fd
add x0, x0, :lo12:fd
str w1, [x0]
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
cmp w0, 0
bge .L34
adrp x0, .LC0
add x2, x0, :lo12:.LC0
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L34:
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
mov w2, 2
mov x1, 0
bl lseek
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
ldrsw x2, [sp, 24]
add x1, sp, 48
bl write
cmn x0, #1
bne .L35
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC12
add x1, x0, :lo12:.LC12
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L35:
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
bl close
adrp x0, totalBytes
add x0, x0, :lo12:totalBytes
ldr w1, [x0]
ldr w0, [sp, 24]
add w1, w1, w0
adrp x0, totalBytes
add x0, x0, :lo12:totalBytes
str w1, [x0]
adrp x0, mutex
add x0, x0, :lo12:mutex
bl pthread_mutex_unlock
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
beq .L30
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC15
add x1, x0, :lo12:.LC15
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L30:
adrp x0, globalExit
add x0, x0, :lo12:globalExit
ldrb w0, [x0]
and w0, w0, 255
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
bne .L37
mov x0, 0
bl pthread_exit
.cfi_endproc
.LFE9:
.size insert_timestamp, .-insert_timestamp
.section .rodata
.align 3
.LC19:
.string "Caught signal, exiting\n"
.text
.align 2
.global signal_handler
.type signal_handler, %function
signal_handler:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
adrp x0, .LC19
add x1, x0, :lo12:.LC19
mov w0, 4
bl syslog
adrp x0, globalExit
add x0, x0, :lo12:globalExit
mov w1, 1
strb w1, [x0]
bl closeAll
mov w0, 0
bl exit
.cfi_endproc
.LFE10:
.size signal_handler, .-signal_handler
.align 2
.global get_in_addr
.type get_in_addr, %function
get_in_addr:
.LFB11:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldrh w0, [x0]
cmp w0, 2
bne .L41
ldr x0, [sp, 8]
add x0, x0, 4
b .L42
.L41:
ldr x0, [sp, 8]
add x0, x0, 8
.L42:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size get_in_addr, .-get_in_addr
.section .rodata
.align 3
.LC20:
.string "Error in mutex init: %s"
.align 3
.LC21:
.string "Error while registering SIGINT"
.align 3
.LC22:
.string "Error while registering SIGTERM"
.align 3
.LC23:
.string "-d"
.align 3
.LC24:
.string "Invalid arguments"
.align 3
.LC25:
.string "9000"
.align 3
.LC26:
.string "getaddrinfo error: %s\n"
.align 3
.LC27:
.string "server: socket"
.align 3
.LC28:
.string "server: socket: %s"
.align 3
.LC29:
.string "setsockopt"
.align 3
.LC30:
.string "setsocket: %s"
.align 3
.LC31:
.string "server: bind"
.align 3
.LC32:
.string "server: bind: %s"
.align 3
.LC33:
.string "server: failed to bind\n"
.align 3
.LC34:
.string "server:failed to bind: %s"
.align 3
.LC35:
.string "listen"
.align 3
.LC36:
.string "listen: %s"
.align 3
.LC37:
.string "accept"
.align 3
.LC38:
.string "Accepted connection from %s"
.align 3
.LC39:
.string "Closed connection from %s"
.text
.align 2
.global main
.type main, %function
main:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -352]!
.cfi_def_cfa_offset 352
.cfi_offset 29, -352
.cfi_offset 30, -344
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -336
str w0, [sp, 44]
str x1, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 344]
mov x1, 0
mov w2, 8
mov w1, 0
mov x0, 0
bl openlog
mov x1, 0
adrp x0, mutex
add x0, x0, :lo12:mutex
bl pthread_mutex_init
str w0, [sp, 72]
ldr w0, [sp, 72]
cmp w0, 0
beq .L44
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC20
add x1, x0, :lo12:.LC20
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L44:
adrp x0, head
add x0, x0, :lo12:head
str xzr, [x0]
adrp x0, signal_handler
add x1, x0, :lo12:signal_handler
mov w0, 2
bl signal
cmn x0, #1
bne .L45
adrp x0, .LC21
add x1, x0, :lo12:.LC21
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L45:
adrp x0, signal_handler
add x1, x0, :lo12:signal_handler
mov w0, 15
bl signal
cmn x0, #1
bne .L46
adrp x0, .LC22
add x1, x0, :lo12:.LC22
mov w0, 3
bl syslog
bl closeAll
mov w0, 1
bl exit
.L46:
strb wzr, [sp, 59]
ldr w0, [sp, 44]
cmp w0, 1
ble .L47
ldr x0, [sp, 32]
add x0, x0, 8
ldr x2, [x0]
adrp x0, .LC23
add x1, x0, :lo12:.LC23
mov x0, x2
bl strcmp
cmp w0, 0
bne .L47
mov w0, 1
strb w0, [sp, 59]
b .L48
.L47:
ldr w0, [sp, 44]
cmp w0, 1
ble .L48
adrp x0, .LC24
add x1, x0, :lo12:.LC24
mov w0, 3
bl syslog
mov w0, 1
bl exit
.L48:
mov w0, 1
str w0, [sp, 64]
adrp x0, totalBytes
add x0, x0, :lo12:totalBytes
str wzr, [x0]
str wzr, [sp, 68]
add x0, sp, 120
mov x2, 48
mov w1, 0
bl memset
str wzr, [sp, 124]
mov w0, 1
str w0, [sp, 128]
mov w0, 1
str w0, [sp, 120]
add x1, sp, 80
add x0, sp, 120
mov x3, x1
mov x2, x0
adrp x0, .LC25
add x1, x0, :lo12:.LC25
mov x0, 0
bl getaddrinfo
str w0, [sp, 76]
ldr w0, [sp, 76]
cmp w0, 0
beq .L49
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
ldr w0, [sp, 76]
bl gai_strerror
mov x2, x0
adrp x0, .LC26
add x1, x0, :lo12:.LC26
mov x0, x19
bl fprintf
ldr w0, [sp, 76]
bl gai_strerror
mov x2, x0
adrp x0, .LC26
add x1, x0, :lo12:.LC26
mov w0, 3
bl syslog
mov w0, 1
bl exit
.L49:
ldr x0, [sp, 80]
str x0, [sp, 96]
b .L50
.L56:
ldr x0, [sp, 96]
ldr w3, [x0, 4]
ldr x0, [sp, 96]
ldr w1, [x0, 8]
ldr x0, [sp, 96]
ldr w0, [x0, 12]
mov w2, w0
mov w0, w3
bl socket
mov w1, w0
adrp x0, servfd
add x0, x0, :lo12:servfd
str w1, [x0]
adrp x0, servfd
add x0, x0, :lo12:servfd
ldr w0, [x0]
cmn w0, #1
bne .L51
adrp x0, .LC27
add x0, x0, :lo12:.LC27
bl perror
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC28
add x1, x0, :lo12:.LC28
mov w0, 3
bl syslog
b .L52
.L51:
adrp x0, servfd
add x0, x0, :lo12:servfd
ldr w0, [x0]
add x1, sp, 64
mov w4, 4
mov x3, x1
mov w2, 2
mov w1, 1
bl setsockopt
cmp w0, 0
bge .L53
adrp x0, .LC29
add x0, x0, :lo12:.LC29
bl perror
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC30
add x1, x0, :lo12:.LC30
mov w0, 3
bl syslog
mov w0, 1
bl exit
.L53:
adrp x0, servfd
add x0, x0, :lo12:servfd
ldr w3, [x0]
ldr x0, [sp, 96]
ldr x1, [x0, 24]
ldr x0, [sp, 96]
ldr w0, [x0, 16]
mov w2, w0
mov w0, w3
bl bind
cmn w0, #1
bne .L76
adrp x0, servfd
add x0, x0, :lo12:servfd
ldr w0, [x0]
bl close
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl perror
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC32
add x1, x0, :lo12:.LC32
mov w0, 3
bl syslog
nop
.L52:
ldr x0, [sp, 96]
ldr x0, [x0, 40]
str x0, [sp, 96]
.L50:
ldr x0, [sp, 96]
cmp x0, 0
bne .L56
b .L55
.L76:
nop
.L55:
ldr x0, [sp, 80]
bl freeaddrinfo
ldr x0, [sp, 96]
cmp x0, 0
bne .L57
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 23
mov x1, 1
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl fwrite
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC34
add x1, x0, :lo12:.LC34
mov w0, 3
bl syslog
mov w0, 1
bl exit
.L57:
ldrb w0, [sp, 59]
cmp w0, 0
beq .L58
bl runAsDaemon
.L58:
adrp x0, servfd
add x0, x0, :lo12:servfd
ldr w0, [x0]
mov w1, 10
bl listen
cmn w0, #1
bne .L59
adrp x0, .LC35
add x0, x0, :lo12:.LC35
bl perror
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC36
add x1, x0, :lo12:.LC36
mov w0, 3
bl syslog
mov w0, 1
bl exit
.L59:
mov w2, 420
mov w1, 64
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl open
mov w1, w0
adrp x0, fd
add x0, x0, :lo12:fd
str w1, [x0]
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
cmp w0, 0
bge .L60
adrp x0, .LC0
add x2, x0, :lo12:.LC0
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov w0, 3
bl syslog
bl closeAll
mov w0, -1
b .L74
.L60:
adrp x0, fd
add x0, x0, :lo12:fd
ldr w0, [x0]
bl close
b .L62
.L73:
mov w0, 128
str w0, [sp, 60]
adrp x0, servfd
add x0, x0, :lo12:servfd
ldr w0, [x0]
add x2, sp, 60
add x1, sp, 168
bl accept
mov w1, w0
adrp x0, clientfd
add x0, x0, :lo12:clientfd
str w1, [x0]
adrp x0, clientfd
add x0, x0, :lo12:clientfd
ldr w0, [x0]
cmn w0, #1
bne .L63
adrp x0, .LC37
add x0, x0, :lo12:.LC37
bl perror
bl closeAll
mov w0, 1
bl exit
.L63:
ldrh w0, [sp, 168]
mov w19, w0
add x0, sp, 168
bl get_in_addr
mov x1, x0
add x0, sp, 296
mov w3, 46
mov x2, x0
mov w0, w19
bl inet_ntop
add x0, sp, 296
mov x2, x0
adrp x0, .LC38
add x1, x0, :lo12:.LC38
mov w0, 6
bl syslog
mov x0, 24
bl malloc
str x0, [sp, 104]
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [x0]
ldr x0, [sp, 104]
str x1, [x0, 16]
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [sp, 104]
str x1, [x0]
adrp x0, clientfd
add x0, x0, :lo12:clientfd
ldr w1, [x0]
ldr x0, [sp, 104]
str w1, [x0, 8]
ldr x0, [sp, 104]
mov w1, 1
str w1, [x0, 12]
ldr x0, [sp, 104]
add x4, sp, 88
mov x3, x0
adrp x0, socketHandler
add x2, x0, :lo12:socketHandler
mov x1, 0
mov x0, x4
bl pthread_create
ldr x1, [sp, 88]
ldr x0, [sp, 104]
str x1, [x0]
ldr w0, [sp, 68]
cmp w0, 0
bne .L64
mov w0, 1
str w0, [sp, 68]
mov x3, 0
adrp x0, insert_timestamp
add x2, x0, :lo12:insert_timestamp
mov x1, 0
adrp x0, timerThread
add x0, x0, :lo12:timerThread
bl pthread_create
.L64:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 104]
b .L65
.L72:
ldr x0, [sp, 104]
ldr x0, [x0]
mov x1, 0
bl pthread_join
ldr x0, [sp, 104]
ldr w0, [x0, 12]
cmp w0, 0
bne .L66
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
ldr x1, [sp, 104]
cmp x1, x0
bne .L67
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
ldr x1, [x0, 16]
adrp x0, head
add x0, x0, :lo12:head
str x1, [x0]
b .L68
.L67:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 112]
b .L69
.L70:
ldr x0, [sp, 112]
ldr x0, [x0, 16]
str x0, [sp, 112]
.L69:
ldr x0, [sp, 112]
ldr x0, [x0, 16]
ldr x1, [sp, 104]
cmp x1, x0
bne .L70
ldr x0, [sp, 112]
ldr x0, [x0, 16]
ldr x1, [x0, 16]
ldr x0, [sp, 112]
str x1, [x0, 16]
.L68:
ldr x0, [sp, 104]
bl free
str xzr, [sp, 104]
add x0, sp, 296
mov x2, x0
adrp x0, .LC39
add x1, x0, :lo12:.LC39
mov w0, 6
bl syslog
b .L62
.L66:
ldr x0, [sp, 104]
ldr x0, [x0, 16]
str x0, [sp, 104]
.L65:
ldr x0, [sp, 104]
cmp x0, 0
bne .L72
.L62:
adrp x0, globalExit
add x0, x0, :lo12:globalExit
ldrb w0, [x0]
and w0, w0, 255
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
bne .L73
bl closeAll
mov w0, 0
.L74:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 344]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L75
bl __stack_chk_fail
.L75:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp], 352
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "%d "
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
mov w0, 1
str w0, [sp, 24]
str wzr, [sp, 20]
str wzr, [sp, 28]
mov w0, 1
str w0, [sp, 32]
str wzr, [sp, 36]
add x0, sp, 20
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
b .L2
.L3:
ldr w1, [sp, 28]
ldr w0, [sp, 32]
add w0, w1, w0
str w0, [sp, 36]
ldr w0, [sp, 32]
str w0, [sp, 28]
ldr w0, [sp, 36]
str w0, [sp, 32]
ldr w1, [sp, 36]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L2:
ldr w0, [sp, 20]
ldr w1, [sp, 24]
cmp w1, w0
ble .L3
mov w0, 10
bl putchar
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global IID_IServicePoolConfig
.section .rodata
.align 3
.type IID_IServicePoolConfig, %object
.size IID_IServicePoolConfig, 24
IID_IServicePoolConfig:
.xword 2842232406
.hword 23498
.hword 18188
.ascii "\204Q%\f\037C\243>"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Vetor na ordem:\t\t"
.align 3
.LC1:
.string "%d "
.align 3
.LC2:
.string "\nVetor compactado:\t"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -448]!
.cfi_def_cfa_offset 448
.cfi_offset 29, -448
.cfi_offset 30, -440
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 440]
mov x1, 0
str wzr, [sp, 28]
str wzr, [sp, 32]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
str wzr, [sp, 24]
b .L2
.L3:
ldrsw x0, [sp, 24]
lsl x0, x0, 2
add x1, sp, 40
str wzr, [x1, x0]
bl rand
mov w1, w0
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 2
asr w0, w1, 31
sub w2, w2, w0
mov w0, w2
lsl w0, w0, 2
add w0, w0, w2
lsl w0, w0, 1
sub w0, w1, w0
str w0, [sp, 36]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
add x1, sp, 40
ldr w2, [sp, 36]
str w2, [x1, x0]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
add x1, sp, 40
ldr w0, [x1, x0]
ldr w2, [sp, 24]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L2:
ldr w0, [sp, 24]
cmp w0, 49
ble .L3
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
str wzr, [sp, 24]
b .L4
.L6:
ldrsw x0, [sp, 24]
lsl x0, x0, 2
add x1, sp, 240
str wzr, [x1, x0]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
add x1, sp, 40
ldr w0, [x1, x0]
cmp w0, 0
bne .L5
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L5:
ldrsw x0, [sp, 28]
lsl x0, x0, 2
add x1, sp, 40
ldr w2, [x1, x0]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
add x1, sp, 240
str w2, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L4:
ldr w0, [sp, 24]
cmp w0, 49
ble .L6
mov w1, 51
ldr w0, [sp, 32]
sub w0, w1, w0
str w0, [sp, 24]
b .L7
.L8:
ldrsw x0, [sp, 24]
lsl x0, x0, 2
add x1, sp, 240
str wzr, [x1, x0]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L7:
ldr w0, [sp, 24]
cmp w0, 49
ble .L8
str wzr, [sp, 24]
b .L9
.L10:
ldrsw x0, [sp, 24]
lsl x0, x0, 2
add x1, sp, 240
ldr w0, [x1, x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L9:
ldr w0, [sp, 24]
cmp w0, 49
ble .L10
mov w0, 10
bl putchar
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 440]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L12
bl __stack_chk_fail
.L12:
mov w0, w1
ldp x29, x30, [sp], 448
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "r"
.align 3
.LC1:
.string "File %s not found"
.text
.align 2
.global SequenceInit
.type SequenceInit, %function
SequenceInit:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 16]
bl fopen
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x0, 0
bne .L2
ldr x1, [sp, 16]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w0, 0
bl exit
.L2:
ldr x0, [sp, 24]
ldr x0, [x0]
mov w2, 2
mov x1, 0
bl fseek
ldr x0, [sp, 24]
ldr x0, [x0]
bl ftell
str w0, [sp, 44]
ldr x0, [sp, 24]
ldr x0, [x0]
mov w2, 0
mov x1, 0
bl fseek
ldrsw x0, [sp, 44]
bl malloc
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 16]
ldr w0, [sp, 44]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
sxtw x0, w0
lsl x0, x0, 1
bl malloc
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 48]
ldrsw x0, [sp, 44]
bl malloc
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 32]
ldr x0, [sp, 24]
ldr x0, [x0, 32]
strb wzr, [x0]
ldr x0, [sp, 24]
strh wzr, [x0, 24]
ldr x0, [sp, 24]
strh wzr, [x0, 56]
ldr x0, [sp, 24]
strh wzr, [x0, 60]
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size SequenceInit, .-SequenceInit
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%i"
.align 3
.LC1:
.string "porra ninhuma!!"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w0, 1
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
bne .L2
ldr w1, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
b .L3
.L2:
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
.L3:
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global simple_heap
.bss
.align 3
.type simple_heap, %object
.size simple_heap, 24
simple_heap:
.zero 24
.text
.align 2
.global my_initialize
.type my_initialize, %function
my_initialize:
.LFB6:
.cfi_startproc
adrp x0, simple_heap
add x0, x0, :lo12:simple_heap
adrp x1, simple_heap+8
add x1, x1, :lo12:simple_heap+8
str x1, [x0]
adrp x0, simple_heap
add x0, x0, :lo12:simple_heap
str xzr, [x0, 8]
adrp x0, simple_heap
add x0, x0, :lo12:simple_heap
str xzr, [x0, 16]
nop
ret
.cfi_endproc
.LFE6:
.size my_initialize, .-my_initialize
.align 2
.global my_malloc_best_fit
.type my_malloc_best_fit, %function
my_malloc_best_fit:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 24]
adrp x0, simple_heap
add x0, x0, :lo12:simple_heap
ldr x0, [x0]
str x0, [sp, 32]
str xzr, [sp, 40]
str xzr, [sp, 56]
str xzr, [sp, 64]
b .L3
.L6:
ldr x0, [sp, 32]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bhi .L4
ldr x0, [sp, 64]
cmp x0, 0
beq .L5
ldr x0, [sp, 32]
ldr x0, [x0]
ldr x1, [sp, 48]
cmp x1, x0
bls .L4
.L5:
ldr x0, [sp, 32]
str x0, [sp, 64]
ldr x0, [sp, 40]
str x0, [sp, 56]
ldr x0, [sp, 32]
ldr x0, [x0]
str x0, [sp, 48]
.L4:
ldr x0, [sp, 32]
str x0, [sp, 40]
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L3:
ldr x0, [sp, 32]
cmp x0, 0
bne .L6
ldr x0, [sp, 64]
cmp x0, 0
bne .L7
mov x0, 4096
str x0, [sp, 96]
ldr x0, [sp, 96]
bl mmap_from_system
str x0, [sp, 104]
ldr x0, [sp, 96]
sub x1, x0, #16
ldr x0, [sp, 104]
str x1, [x0]
ldr x0, [sp, 104]
str xzr, [x0, 8]
ldr x0, [sp, 104]
bl simple_add_to_free_list
ldr x0, [sp, 24]
bl my_malloc_best_fit
b .L8
.L7:
ldr x0, [sp, 64]
add x0, x0, 16
str x0, [sp, 72]
ldr x0, [sp, 64]
ldr x1, [x0]
ldr x0, [sp, 24]
sub x0, x1, x0
str x0, [sp, 80]
ldr x0, [sp, 64]
ldr x1, [sp, 24]
str x1, [x0]
ldr x1, [sp, 56]
ldr x0, [sp, 64]
bl simple_remove_from_free_list
ldr x0, [sp, 80]
cmp x0, 16
bls .L9
ldr x1, [sp, 72]
ldr x0, [sp, 24]
add x0, x1, x0
str x0, [sp, 88]
ldr x0, [sp, 80]
sub x1, x0, #16
ldr x0, [sp, 88]
str x1, [x0]
ldr x0, [sp, 88]
str xzr, [x0, 8]
ldr x0, [sp, 88]
bl simple_add_to_free_list
.L9:
ldr x0, [sp, 72]
.L8:
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size my_malloc_best_fit, .-my_malloc_best_fit
.align 2
.global my_malloc_worst_fit
.type my_malloc_worst_fit, %function
my_malloc_worst_fit:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 24]
adrp x0, simple_heap
add x0, x0, :lo12:simple_heap
ldr x0, [x0]
str x0, [sp, 32]
str xzr, [sp, 40]
str xzr, [sp, 48]
str xzr, [sp, 56]
str xzr, [sp, 64]
b .L11
.L13:
ldr x0, [sp, 32]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bhi .L12
ldr x0, [sp, 32]
ldr x0, [x0]
ldr x1, [sp, 48]
cmp x1, x0
bcs .L12
ldr x0, [sp, 32]
str x0, [sp, 64]
ldr x0, [sp, 40]
str x0, [sp, 56]
ldr x0, [sp, 32]
ldr x0, [x0]
str x0, [sp, 48]
.L12:
ldr x0, [sp, 32]
str x0, [sp, 40]
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L11:
ldr x0, [sp, 32]
cmp x0, 0
bne .L13
ldr x0, [sp, 64]
cmp x0, 0
bne .L14
mov x0, 4096
str x0, [sp, 96]
ldr x0, [sp, 96]
bl mmap_from_system
str x0, [sp, 104]
ldr x0, [sp, 96]
sub x1, x0, #16
ldr x0, [sp, 104]
str x1, [x0]
ldr x0, [sp, 104]
str xzr, [x0, 8]
ldr x0, [sp, 104]
bl simple_add_to_free_list
ldr x0, [sp, 24]
bl my_malloc_worst_fit
b .L15
.L14:
ldr x0, [sp, 64]
add x0, x0, 16
str x0, [sp, 72]
ldr x0, [sp, 64]
ldr x1, [x0]
ldr x0, [sp, 24]
sub x0, x1, x0
str x0, [sp, 80]
ldr x0, [sp, 64]
ldr x1, [sp, 24]
str x1, [x0]
ldr x1, [sp, 56]
ldr x0, [sp, 64]
bl simple_remove_from_free_list
ldr x0, [sp, 80]
cmp x0, 16
bls .L16
ldr x1, [sp, 72]
ldr x0, [sp, 24]
add x0, x1, x0
str x0, [sp, 88]
ldr x0, [sp, 80]
sub x1, x0, #16
ldr x0, [sp, 88]
str x1, [x0]
ldr x0, [sp, 88]
str xzr, [x0, 8]
ldr x0, [sp, 88]
bl simple_add_to_free_list
.L16:
ldr x0, [sp, 72]
.L15:
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size my_malloc_worst_fit, .-my_malloc_worst_fit
.align 2
.global my_free
.type my_free, %function
my_free:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
sub x0, x0, #16
str x0, [sp, 40]
ldr x0, [sp, 40]
bl simple_add_to_free_list
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size my_free, .-my_free
.align 2
.global my_finalize
.type my_finalize, %function
my_finalize:
.LFB10:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE10:
.size my_finalize, .-my_finalize
.align 2
.global test
.type test, %function
test:
.LFB11:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE11:
.size test, .-test
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%u : %u\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -32
.cfi_offset 20, -24
str w0, [sp, 44]
str x1, [sp, 32]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x19, [x0]
bl getpid
mov w20, w0
bl getpgrp
mov w3, w0
mov w2, w20
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x19
bl fprintf
mov w0, 0
ldp x19, x20, [sp, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global ft_putstr
.type ft_putstr, %function
ft_putstr:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str wzr, [sp, 44]
b .L2
.L3:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L2:
ldrsw x0, [sp, 44]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L3
ldrsw x0, [sp, 44]
mov x2, x0
ldr x1, [sp, 24]
mov w0, 1
bl write
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ft_putstr, .-ft_putstr
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global putchar
.type putchar, %function
putchar:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
bl shell_fputc
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size putchar, .-putchar
.align 2
.global printf
.type printf, %function
printf:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -288]!
.cfi_def_cfa_offset 288
.cfi_offset 29, -288
.cfi_offset 30, -280
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 232]
str x2, [sp, 240]
str x3, [sp, 248]
str x4, [sp, 256]
str x5, [sp, 264]
str x6, [sp, 272]
str x7, [sp, 280]
str q0, [sp, 96]
str q1, [sp, 112]
str q2, [sp, 128]
str q3, [sp, 144]
str q4, [sp, 160]
str q5, [sp, 176]
str q6, [sp, 192]
str q7, [sp, 208]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
add x0, sp, 288
str x0, [sp, 56]
add x0, sp, 288
str x0, [sp, 64]
add x0, sp, 224
str x0, [sp, 72]
mov w0, -56
str w0, [sp, 80]
mov w0, -128
str w0, [sp, 84]
b .L4
.L52:
ldrb w0, [sp, 39]
cmp w0, 37
beq .L5
ldrb w0, [sp, 39]
bl putchar
b .L4
.L5:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 0
beq .L6
ldr x0, [sp, 24]
add x1, x0, 1
str x1, [sp, 24]
ldrb w0, [x0]
b .L7
.L6:
mov w0, 0
.L7:
cmp w0, 120
beq .L8
cmp w0, 120
bgt .L9
cmp w0, 115
beq .L10
cmp w0, 115
bgt .L9
cmp w0, 111
beq .L11
cmp w0, 111
bgt .L9
cmp w0, 108
beq .L12
cmp w0, 108
bgt .L9
cmp w0, 102
beq .L13
cmp w0, 102
bgt .L9
cmp w0, 100
beq .L14
cmp w0, 100
bgt .L9
cmp w0, 99
beq .L15
cmp w0, 99
bgt .L9
cmp w0, 0
beq .L16
cmp w0, 88
beq .L17
b .L9
.L16:
mov w0, 37
bl putchar
b .L4
.L14:
ldr w1, [sp, 80]
ldr x0, [sp, 56]
cmp w1, 0
blt .L18
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L19
.L18:
add w2, w1, 8
str w2, [sp, 80]
ldr w2, [sp, 80]
cmp w2, 0
ble .L20
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L19
.L20:
ldr x2, [sp, 64]
sxtw x0, w1
add x0, x2, x0
.L19:
ldr w0, [x0]
str w0, [sp, 40]
ldr w0, [sp, 40]
bl print_int
b .L4
.L12:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 102
bne .L22
ldr w1, [sp, 84]
ldr x0, [sp, 56]
cmp w1, 0
blt .L23
add x1, x0, 15
and x1, x1, -8
str x1, [sp, 56]
b .L24
.L23:
add w2, w1, 16
str w2, [sp, 84]
ldr w2, [sp, 84]
cmp w2, 0
ble .L25
add x1, x0, 15
and x1, x1, -8
str x1, [sp, 56]
b .L24
.L25:
ldr x2, [sp, 72]
sxtw x0, w1
add x0, x2, x0
.L24:
ldr d0, [x0]
fcvt s0, d0
str s0, [sp, 44]
ldr s0, [sp, 44]
fcvt d0, s0
bl print_float
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
b .L4
.L22:
mov w0, 37
bl putchar
b .L4
.L13:
ldr w1, [sp, 84]
ldr x0, [sp, 56]
cmp w1, 0
blt .L28
add x1, x0, 15
and x1, x1, -8
str x1, [sp, 56]
b .L29
.L28:
add w2, w1, 16
str w2, [sp, 84]
ldr w2, [sp, 84]
cmp w2, 0
ble .L30
add x1, x0, 15
and x1, x1, -8
str x1, [sp, 56]
b .L29
.L30:
ldr x2, [sp, 72]
sxtw x0, w1
add x0, x2, x0
.L29:
ldr d0, [x0]
fcvt s0, d0
str s0, [sp, 44]
ldr s0, [sp, 44]
fcvt d0, s0
bl print_float
b .L4
.L15:
ldr w1, [sp, 80]
ldr x0, [sp, 56]
cmp w1, 0
blt .L32
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L33
.L32:
add w2, w1, 8
str w2, [sp, 80]
ldr w2, [sp, 80]
cmp w2, 0
ble .L34
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L33
.L34:
ldr x2, [sp, 64]
sxtw x0, w1
add x0, x2, x0
.L33:
ldr w0, [x0]
bl putchar
b .L4
.L10:
ldr w1, [sp, 80]
ldr x0, [sp, 56]
cmp w1, 0
blt .L36
add x1, x0, 15
and x1, x1, -8
str x1, [sp, 56]
b .L37
.L36:
add w2, w1, 8
str w2, [sp, 80]
ldr w2, [sp, 80]
cmp w2, 0
ble .L38
add x1, x0, 15
and x1, x1, -8
str x1, [sp, 56]
b .L37
.L38:
ldr x2, [sp, 64]
sxtw x0, w1
add x0, x2, x0
.L37:
ldr x0, [x0]
str x0, [sp, 48]
ldr x0, [sp, 48]
bl print_str
b .L4
.L11:
ldr w1, [sp, 80]
ldr x0, [sp, 56]
cmp w1, 0
blt .L40
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L41
.L40:
add w2, w1, 8
str w2, [sp, 80]
ldr w2, [sp, 80]
cmp w2, 0
ble .L42
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L41
.L42:
ldr x2, [sp, 64]
sxtw x0, w1
add x0, x2, x0
.L41:
ldr w0, [x0]
str w0, [sp, 40]
mov w1, 8
ldr w0, [sp, 40]
bl print_small_radix
b .L4
.L8:
ldr w1, [sp, 80]
ldr x0, [sp, 56]
cmp w1, 0
blt .L44
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L45
.L44:
add w2, w1, 8
str w2, [sp, 80]
ldr w2, [sp, 80]
cmp w2, 0
ble .L46
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L45
.L46:
ldr x2, [sp, 64]
sxtw x0, w1
add x0, x2, x0
.L45:
ldr w0, [x0]
str w0, [sp, 40]
mov w1, 16
ldr w0, [sp, 40]
bl print_small_radix
b .L4
.L17:
ldr w1, [sp, 80]
ldr x0, [sp, 56]
cmp w1, 0
blt .L48
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L49
.L48:
add w2, w1, 8
str w2, [sp, 80]
ldr w2, [sp, 80]
cmp w2, 0
ble .L50
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L49
.L50:
ldr x2, [sp, 64]
sxtw x0, w1
add x0, x2, x0
.L49:
ldr w0, [x0]
str w0, [sp, 40]
mov w1, 16
ldr w0, [sp, 40]
bl print_capital_radix
b .L4
.L9:
mov w0, 37
bl putchar
ldr x0, [sp, 24]
sub x0, x0, #1
str x0, [sp, 24]
nop
.L4:
ldr x0, [sp, 24]
add x1, x0, 1
str x1, [sp, 24]
ldrb w0, [x0]
strb w0, [sp, 39]
ldrb w0, [sp, 39]
cmp w0, 0
bne .L52
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L54
bl __stack_chk_fail
.L54:
mov w0, w1
ldp x29, x30, [sp], 288
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size printf, .-printf
.align 2
.global print_int
.type print_int, %function
print_int:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 2
asr w0, w0, 31
sub w0, w1, w0
str w0, [sp, 40]
ldr w0, [sp, 40]
cmp w0, 0
beq .L56
ldr w0, [sp, 40]
bl print_int
.L56:
ldr w1, [sp, 28]
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 2
asr w0, w1, 31
sub w2, w2, w0
mov w0, w2
lsl w0, w0, 2
add w0, w0, w2
lsl w0, w0, 1
sub w0, w1, w0
str w0, [sp, 40]
ldr w0, [sp, 40]
add w0, w0, 48
str w0, [sp, 44]
ldr w0, [sp, 44]
bl putchar
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size print_int, .-print_int
.align 2
.global print_float
.type print_float, %function
print_float:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str d0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
strb wzr, [sp, 54]
ldr d0, [sp, 24]
fcvtzs w0, d0
bl print_int
mov w0, 46
bl putchar
ldr d0, [sp, 24]
mov x0, 145685290680320
movk x0, 0x412e, lsl 48
fmov d1, x0
fmul d0, d0, d1
fcvtzs d0, d0
str d0, [sp, 40]
ldr x0, [sp, 40]
mov x1, 13531
movk x1, 0xd7b6, lsl 16
movk x1, 0xde82, lsl 32
movk x1, 0x431b, lsl 48
smulh x1, x0, x1
asr x2, x1, 18
asr x1, x0, 63
sub x2, x2, x1
mov x1, 16960
movk x1, 0xf, lsl 16
mul x1, x2, x1
sub x0, x0, x1
str x0, [sp, 40]
mov w0, 5
str w0, [sp, 32]
b .L58
.L59:
ldr x1, [sp, 40]
mov x0, 7378697629483820646
movk x0, 0x6667, lsl 0
smulh x0, x1, x0
asr x2, x0, 2
asr x0, x1, 63
sub x2, x2, x0
mov x0, x2
lsl x0, x0, 2
add x0, x0, x2
lsl x0, x0, 1
sub x2, x1, x0
mov w0, w2
str w0, [sp, 36]
ldr x0, [sp, 40]
mov x1, 7378697629483820646
movk x1, 0x6667, lsl 0
smulh x1, x0, x1
asr x1, x1, 2
asr x0, x0, 63
sub x0, x1, x0
str x0, [sp, 40]
ldr w0, [sp, 36]
and w0, w0, 255
add w0, w0, 48
and w2, w0, 255
ldrsw x0, [sp, 32]
add x1, sp, 48
strb w2, [x1, x0]
ldr w0, [sp, 32]
sub w0, w0, #1
str w0, [sp, 32]
.L58:
ldr w0, [sp, 32]
cmp w0, 0
bge .L59
add x0, sp, 48
bl print_str
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L60
bl __stack_chk_fail
.L60:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size print_float, .-print_float
.align 2
.global print_str
.type print_str, %function
print_str:
.LFB4:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
b .L62
.L63:
ldr x0, [sp, 24]
ldrb w0, [x0]
bl putchar
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
.L62:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 0
bne .L63
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size print_str, .-print_str
.align 2
.global print_small_radix
.type print_small_radix, %function
print_small_radix:
.LFB5:
.cfi_startproc
stp x29, x30, [sp, -448]!
.cfi_def_cfa_offset 448
.cfi_offset 29, -448
.cfi_offset 30, -440
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 440]
mov x1, 0
str wzr, [sp, 36]
b .L65
.L68:
ldr w0, [sp, 28]
ldr w1, [sp, 24]
sdiv w2, w0, w1
ldr w1, [sp, 24]
mul w1, w2, w1
sub w0, w0, w1
cmp w0, 9
ble .L66
ldr w0, [sp, 28]
ldr w1, [sp, 24]
sdiv w2, w0, w1
ldr w1, [sp, 24]
mul w1, w2, w1
sub w0, w0, w1
add w0, w0, 87
b .L67
.L66:
ldr w0, [sp, 28]
ldr w1, [sp, 24]
sdiv w2, w0, w1
ldr w1, [sp, 24]
mul w1, w2, w1
sub w0, w0, w1
add w0, w0, 48
.L67:
ldrsw x1, [sp, 36]
lsl x1, x1, 2
add x2, sp, 40
str w0, [x2, x1]
ldr w1, [sp, 28]
ldr w0, [sp, 24]
sdiv w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L65:
ldr w0, [sp, 28]
cmp w0, 0
bgt .L68
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
b .L69
.L70:
ldrsw x0, [sp, 36]
lsl x0, x0, 2
add x1, sp, 40
ldr w0, [x1, x0]
bl putchar
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L69:
ldr w0, [sp, 36]
cmp w0, 0
bge .L70
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 440]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L71
bl __stack_chk_fail
.L71:
ldp x29, x30, [sp], 448
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size print_small_radix, .-print_small_radix
.align 2
.global print_capital_radix
.type print_capital_radix, %function
print_capital_radix:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -448]!
.cfi_def_cfa_offset 448
.cfi_offset 29, -448
.cfi_offset 30, -440
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 440]
mov x1, 0
str wzr, [sp, 36]
b .L73
.L76:
ldr w0, [sp, 28]
ldr w1, [sp, 24]
sdiv w2, w0, w1
ldr w1, [sp, 24]
mul w1, w2, w1
sub w0, w0, w1
cmp w0, 9
ble .L74
ldr w0, [sp, 28]
ldr w1, [sp, 24]
sdiv w2, w0, w1
ldr w1, [sp, 24]
mul w1, w2, w1
sub w0, w0, w1
add w0, w0, 55
b .L75
.L74:
ldr w0, [sp, 28]
ldr w1, [sp, 24]
sdiv w2, w0, w1
ldr w1, [sp, 24]
mul w1, w2, w1
sub w0, w0, w1
add w0, w0, 48
.L75:
ldrsw x1, [sp, 36]
lsl x1, x1, 2
add x2, sp, 40
str w0, [x2, x1]
ldr w1, [sp, 28]
ldr w0, [sp, 24]
sdiv w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L73:
ldr w0, [sp, 28]
cmp w0, 0
bgt .L76
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
b .L77
.L78:
ldrsw x0, [sp, 36]
lsl x0, x0, 2
add x1, sp, 40
ldr w0, [x1, x0]
bl putchar
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L77:
ldr w0, [sp, 36]
cmp w0, 0
bge .L78
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 440]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L79
bl __stack_chk_fail
.L79:
ldp x29, x30, [sp], 448
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size print_capital_radix, .-print_capital_radix
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "* Received a SIGTRAP"
.text
.align 2
.global advanced_signal_handler
.type advanced_signal_handler, %function
advanced_signal_handler:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size advanced_signal_handler, .-advanced_signal_handler
.align 2
.global worker_with_htm_and_trap
.type worker_with_htm_and_trap, %function
worker_with_htm_and_trap:
.LFB7:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
.L3:
#APP
// 59 "program.c" 1
tbegin.
beq 2f
trap
tend.
2:
// 0 "" 2
#NO_APP
b .L3
.cfi_endproc
.LFE7:
.size worker_with_htm_and_trap, .-worker_with_htm_and_trap
.align 2
.global main
.type main, %function
main:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -320]!
.cfi_def_cfa_offset 320
.cfi_offset 29, -320
.cfi_offset 30, -312
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 312]
mov x1, 0
mov w0, 4
str w0, [sp, 296]
adrp x0, advanced_signal_handler
add x0, x0, :lo12:advanced_signal_handler
str x0, [sp, 160]
add x0, sp, 160
mov x2, 0
mov x1, x0
mov w0, 5
bl sigaction
add x0, sp, 160
mov x2, 0
mov x1, x0
mov w0, 4
bl sigaction
add x0, sp, 32
bl sigemptyset
add x0, sp, 32
mov w1, 5
bl sigaddset
add x0, sp, 32
mov x2, 0
mov x1, x0
mov w0, 1
bl pthread_sigmask
add x0, sp, 32
add x4, sp, 24
mov x3, x0
adrp x0, worker_with_htm_and_trap
add x2, x0, :lo12:worker_with_htm_and_trap
mov x1, 0
mov x0, x4
bl pthread_create
ldr x0, [sp, 24]
mov x1, 0
bl pthread_join
mov w0, 0
bl exit
.cfi_endproc
.LFE8:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global xxx
.type xxx, %function
xxx:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w0, 45
str w0, [sp, 28]
b .L2
.L3:
bl foo
.L2:
ldr w0, [sp, 28]
asr w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
bne .L3
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size xxx, .-xxx
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "unknown"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
mov w0, 0
bl exit
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global freq
.bss
.align 3
.type freq, %object
.size freq, 2048
freq:
.zero 2048
.section .rodata
.align 3
.LC0:
.string "r"
.align 3
.LC1:
.string "Incorrect path to file"
.text
.align 2
.global encode
.type encode, %function
encode:
.LFB6:
.cfi_startproc
sub sp, sp, #65536
.cfi_def_cfa_offset 65536
str xzr, [sp, 1024]
mov x12, 35552
sub sp, sp, x12
.cfi_def_cfa_offset 101088
stp x29, x30, [sp]
.cfi_offset 29, -101088
.cfi_offset 30, -101080
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x1, sp, 98304
ldr x2, [x0]
str x2, [x1, 2776]
mov x2, 0
ldr x0, [sp, 16]
add x0, x0, 8
ldr x1, [x0]
add x0, sp, 1072
bl strcpy
add x2, sp, 1072
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x2
bl fopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L2
nop
.L3:
add x0, sp, 48
ldr x2, [sp, 40]
mov w1, 1024
bl fgets
cmp x0, 0
bne .L3
ldr x0, [sp, 40]
bl fclose
b .L6
.L2:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 22
mov x1, 1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fwrite
.L6:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x2, sp, 98304
ldr x3, [x2, 2776]
ldr x1, [x0]
subs x3, x3, x1
mov x1, 0
beq .L5
bl __stack_chk_fail
.L5:
ldp x29, x30, [sp]
.cfi_restore 29
.cfi_restore 30
add sp, sp, 2784
.cfi_def_cfa_offset 98304
add sp, sp, 98304
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size encode, .-encode
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global DIID_DispHTMLOptionElement
.section .rodata
.align 3
.type DIID_DispHTMLOptionElement, %object
.size DIID_DispHTMLOptionElement, 24
DIID_DispHTMLOptionElement:
.xword 810612011
.hword -26443
.hword 4559
.string "\273\202"
.string "\252"
.ascii "\275\316\013"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%#06x "
.align 3
.LC1:
.string "%#06x\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 20]
b .L2
.L7:
ldr w0, [sp, 20]
str w0, [sp, 24]
str wzr, [sp, 28]
strb wzr, [sp, 18]
strb wzr, [sp, 19]
ldr w0, [sp, 24]
lsr w0, w0, 12
and w0, w0, 255
and w0, w0, 8
and w1, w0, 255
ldr w0, [sp, 24]
lsr w0, w0, 5
and w0, w0, 255
and w0, w0, 4
and w0, w0, 255
orr w0, w1, w0
and w1, w0, 255
ldr w0, [sp, 24]
lsr w0, w0, 3
and w0, w0, 255
and w0, w0, 2
and w0, w0, 255
orr w0, w1, w0
and w1, w0, 255
ldr w0, [sp, 24]
and w0, w0, 255
and w0, w0, 1
and w0, w0, 255
orr w0, w1, w0
and w0, w0, 255
add w0, w0, 1
strb w0, [sp, 18]
mov w0, 1
strb w0, [sp, 17]
b .L3
.L6:
ldr w0, [sp, 24]
lsr w0, w0, 1
and w1, w0, 255
ldr w0, [sp, 24]
lsr w0, w0, 2
and w0, w0, 255
eor w0, w1, w0
and w1, w0, 255
ldr w0, [sp, 24]
lsr w0, w0, 8
and w0, w0, 255
eor w0, w1, w0
and w1, w0, 255
ldr w0, [sp, 24]
lsr w0, w0, 9
and w0, w0, 255
eor w0, w1, w0
and w0, w0, 255
and w0, w0, 1
strb w0, [sp, 19]
ldr w0, [sp, 24]
lsr w0, w0, 1
ldrb w1, [sp, 19]
lsl w1, w1, 15
orr w0, w0, w1
str w0, [sp, 28]
ldr w0, [sp, 24]
and w0, w0, 8
cmp w0, 0
beq .L4
ldr w0, [sp, 24]
and w0, w0, 8192
cmp w0, 0
beq .L4
ldr w0, [sp, 28]
and w0, w0, -2
str w0, [sp, 24]
b .L5
.L4:
ldr w0, [sp, 28]
orr w0, w0, 1
str w0, [sp, 24]
.L5:
ldrb w0, [sp, 17]
add w0, w0, 1
strb w0, [sp, 17]
.L3:
ldrb w1, [sp, 17]
ldrb w0, [sp, 18]
cmp w1, w0
bls .L6
ldr w1, [sp, 20]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w1, [sp, 24]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L2:
ldr w1, [sp, 20]
mov w0, 65534
cmp w1, w0
bls .L7
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type a_clz_64, %function
a_clz_64:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
lsr x0, x0, 32
cmp x0, 0
beq .L2
ldr x0, [sp, 8]
lsr x0, x0, 32
str w0, [sp, 24]
str wzr, [sp, 28]
b .L3
.L2:
ldr x0, [sp, 8]
str w0, [sp, 24]
mov w0, 32
str w0, [sp, 28]
.L3:
ldr w0, [sp, 24]
lsr w0, w0, 16
cmp w0, 0
beq .L4
ldr w0, [sp, 24]
lsr w0, w0, 16
str w0, [sp, 24]
b .L5
.L4:
ldr w0, [sp, 28]
orr w0, w0, 16
str w0, [sp, 28]
.L5:
ldr w0, [sp, 24]
lsr w0, w0, 8
cmp w0, 0
beq .L6
ldr w0, [sp, 24]
lsr w0, w0, 8
str w0, [sp, 24]
b .L7
.L6:
ldr w0, [sp, 28]
orr w0, w0, 8
str w0, [sp, 28]
.L7:
ldr w0, [sp, 24]
lsr w0, w0, 4
cmp w0, 0
beq .L8
ldr w0, [sp, 24]
lsr w0, w0, 4
str w0, [sp, 24]
b .L9
.L8:
ldr w0, [sp, 28]
orr w0, w0, 4
str w0, [sp, 28]
.L9:
ldr w0, [sp, 24]
lsr w0, w0, 2
cmp w0, 0
beq .L10
ldr w0, [sp, 24]
lsr w0, w0, 2
str w0, [sp, 24]
b .L11
.L10:
ldr w0, [sp, 28]
orr w0, w0, 2
str w0, [sp, 28]
.L11:
ldr w0, [sp, 24]
lsr w0, w0, 1
cmp w0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
orr w0, w1, w0
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size a_clz_64, .-a_clz_64
.align 2
.type normalize, %function
normalize:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str d0, [sp, 8]
ldr x2, [sp, 8]
str x2, [sp, 24]
ldr x2, [sp, 24]
lsr x2, x2, 52
str w2, [sp, 16]
ldr w2, [sp, 16]
and w2, w2, 2048
str w2, [sp, 20]
ldr w2, [sp, 16]
and w2, w2, 2047
str w2, [sp, 16]
ldr w2, [sp, 16]
cmp w2, 0
bne .L14
ldr d0, [sp, 8]
mov x2, 4890909195324358656
fmov d1, x2
fmul d0, d0, d1
fmov x2, d0
str x2, [sp, 24]
ldr x2, [sp, 24]
lsr x2, x2, 52
and w2, w2, 2047
str w2, [sp, 16]
ldr w2, [sp, 16]
cmp w2, 0
beq .L15
ldr w2, [sp, 16]
sub w2, w2, #63
b .L16
.L15:
mov w2, 2048
.L16:
str w2, [sp, 16]
.L14:
ldr x2, [sp, 24]
and x2, x2, 4503599627370495
str x2, [sp, 24]
ldr x2, [sp, 24]
orr x2, x2, 4503599627370496
str x2, [sp, 24]
ldr x2, [sp, 24]
lsl x2, x2, 1
str x2, [sp, 24]
ldr w2, [sp, 16]
sub w2, w2, #1076
str w2, [sp, 16]
ldr x0, [sp, 24]
ldr w2, [sp, 16]
bfi x1, x2, 0, 32
ldr w2, [sp, 20]
bfi x1, x2, 32, 32
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size normalize, .-normalize
.align 2
.type mul, %function
mul:
.LFB2:
.cfi_startproc
sub sp, sp, #96
.cfi_def_cfa_offset 96
str x0, [sp, 24]
str x1, [sp, 16]
str x2, [sp, 8]
str x3, [sp]
ldr x0, [sp, 8]
uxtw x0, w0
str x0, [sp, 40]
ldr x0, [sp, 8]
lsr x0, x0, 32
str x0, [sp, 48]
ldr x0, [sp]
uxtw x0, w0
str x0, [sp, 56]
ldr x0, [sp]
lsr x0, x0, 32
str x0, [sp, 64]
ldr x1, [sp, 40]
ldr x0, [sp, 56]
mul x0, x1, x0
str x0, [sp, 72]
ldr x1, [sp, 40]
ldr x0, [sp, 64]
mul x1, x1, x0
ldr x2, [sp, 48]
ldr x0, [sp, 56]
mul x0, x2, x0
add x0, x1, x0
str x0, [sp, 80]
ldr x1, [sp, 48]
ldr x0, [sp, 64]
mul x0, x1, x0
str x0, [sp, 88]
ldr x0, [sp, 80]
lsl x1, x0, 32
ldr x0, [sp, 72]
add x1, x1, x0
ldr x0, [sp, 16]
str x1, [x0]
ldr x0, [sp, 80]
lsr x1, x0, 32
ldr x0, [sp, 88]
add x1, x1, x0
ldr x0, [sp, 16]
ldr x0, [x0]
ldr x2, [sp, 72]
cmp x2, x0
cset w0, hi
and w0, w0, 255
and x0, x0, 255
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0]
nop
add sp, sp, 96
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size mul, .-mul
.align 2
.global fma
.type fma, %function
fma:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -208]!
.cfi_def_cfa_offset 208
.cfi_offset 29, -208
.cfi_offset 30, -200
mov x29, sp
str d0, [sp, 40]
str d1, [sp, 32]
str d2, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 200]
mov x1, 0
ldr d0, [sp, 40]
bl normalize
stp x0, x1, [sp, 152]
ldr d0, [sp, 32]
bl normalize
stp x0, x1, [sp, 168]
ldr d0, [sp, 24]
bl normalize
stp x0, x1, [sp, 184]
ldr w0, [sp, 160]
cmp w0, 970
bgt .L20
ldr w0, [sp, 176]
cmp w0, 970
ble .L21
.L20:
ldr d1, [sp, 40]
ldr d0, [sp, 32]
fmul d1, d1, d0
ldr d0, [sp, 24]
fadd d0, d1, d0
b .L45
.L21:
ldr w0, [sp, 192]
cmp w0, 970
ble .L23
ldr w0, [sp, 192]
cmp w0, 971
ble .L24
ldr d1, [sp, 40]
ldr d0, [sp, 32]
fmul d1, d1, d0
ldr d0, [sp, 24]
fadd d0, d1, d0
b .L45
.L24:
ldr d0, [sp, 24]
b .L45
.L23:
ldr x2, [sp, 152]
ldr x3, [sp, 168]
add x1, sp, 88
add x0, sp, 80
bl mul
ldr w1, [sp, 160]
ldr w0, [sp, 176]
add w0, w1, w0
str w0, [sp, 56]
ldr w1, [sp, 192]
ldr w0, [sp, 56]
sub w0, w1, w0
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
ble .L25
ldr w0, [sp, 60]
cmp w0, 63
bgt .L26
ldr x1, [sp, 184]
ldr w0, [sp, 60]
lsl x0, x1, x0
str x0, [sp, 104]
ldr x1, [sp, 184]
mov w2, 64
ldr w0, [sp, 60]
sub w0, w2, w0
lsr x0, x1, x0
str x0, [sp, 96]
b .L27
.L26:
str xzr, [sp, 104]
ldr x0, [sp, 184]
str x0, [sp, 96]
ldr w0, [sp, 192]
sub w0, w0, #64
str w0, [sp, 56]
ldr w0, [sp, 60]
sub w0, w0, #64
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L27
ldr w0, [sp, 60]
cmp w0, 63
bgt .L28
ldr x1, [sp, 80]
mov w2, 64
ldr w0, [sp, 60]
sub w0, w2, w0
lsl x1, x1, x0
ldr x2, [sp, 88]
ldr w0, [sp, 60]
lsr x0, x2, x0
orr x1, x1, x0
ldr x2, [sp, 88]
mov w3, 64
ldr w0, [sp, 60]
sub w0, w3, w0
lsl x0, x2, x0
cmp x0, 0
cset w0, ne
and w0, w0, 255
and x0, x0, 255
orr x0, x1, x0
str x0, [sp, 88]
ldr x1, [sp, 80]
ldr w0, [sp, 60]
lsr x0, x1, x0
str x0, [sp, 80]
b .L27
.L28:
mov x0, 1
str x0, [sp, 88]
str xzr, [sp, 80]
b .L27
.L25:
str xzr, [sp, 96]
ldr w0, [sp, 60]
neg w0, w0
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bne .L29
ldr x0, [sp, 184]
str x0, [sp, 104]
b .L27
.L29:
ldr w0, [sp, 60]
cmp w0, 63
bgt .L30
ldr x1, [sp, 184]
ldr w0, [sp, 60]
lsr x1, x1, x0
ldr x2, [sp, 184]
mov w3, 64
ldr w0, [sp, 60]
sub w0, w3, w0
lsl x0, x2, x0
cmp x0, 0
cset w0, ne
and w0, w0, 255
and x0, x0, 255
orr x0, x1, x0
str x0, [sp, 104]
b .L27
.L30:
mov x0, 1
str x0, [sp, 104]
.L27:
ldr w1, [sp, 164]
ldr w0, [sp, 180]
eor w0, w1, w0
str w0, [sp, 64]
ldr w0, [sp, 196]
ldr w1, [sp, 64]
cmp w1, w0
cset w0, eq
and w0, w0, 255
str w0, [sp, 72]
mov w0, 1
str w0, [sp, 68]
ldr w0, [sp, 72]
cmp w0, 0
beq .L31
ldr x1, [sp, 88]
ldr x0, [sp, 104]
add x0, x1, x0
str x0, [sp, 88]
ldr x0, [sp, 88]
ldr x1, [sp, 104]
cmp x1, x0
cset w0, hi
and w0, w0, 255
and x1, x0, 255
ldr x0, [sp, 96]
add x1, x1, x0
ldr x0, [sp, 80]
add x0, x1, x0
str x0, [sp, 80]
b .L32
.L31:
ldr x0, [sp, 88]
str x0, [sp, 136]
ldr x1, [sp, 88]
ldr x0, [sp, 104]
sub x0, x1, x0
str x0, [sp, 88]
ldr x1, [sp, 80]
ldr x0, [sp, 96]
sub x1, x1, x0
ldr x0, [sp, 88]
ldr x2, [sp, 136]
cmp x2, x0
cset w0, cc
and w0, w0, 255
and x0, x0, 255
sub x0, x1, x0
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bge .L33
ldr x0, [sp, 88]
neg x0, x0
str x0, [sp, 88]
ldr x0, [sp, 80]
neg x1, x0
ldr x0, [sp, 88]
cmp x0, 0
cset w0, ne
and w0, w0, 255
and x0, x0, 255
sub x0, x1, x0
str x0, [sp, 80]
ldr w0, [sp, 64]
cmp w0, 0
cset w0, eq
and w0, w0, 255
str w0, [sp, 64]
.L33:
ldr x0, [sp, 80]
cmp x0, 0
cset w0, ne
and w0, w0, 255
str w0, [sp, 68]
.L32:
ldr w0, [sp, 68]
cmp w0, 0
beq .L34
ldr w0, [sp, 56]
add w0, w0, 64
str w0, [sp, 56]
ldr x0, [sp, 80]
bl a_clz_64
sub w0, w0, #1
str w0, [sp, 60]
ldr x1, [sp, 80]
ldr w0, [sp, 60]
lsl x1, x1, x0
ldr x2, [sp, 88]
mov w3, 64
ldr w0, [sp, 60]
sub w0, w3, w0
lsr x0, x2, x0
orr x1, x1, x0
ldr x2, [sp, 88]
ldr w0, [sp, 60]
lsl x0, x2, x0
cmp x0, 0
cset w0, ne
and w0, w0, 255
and x0, x0, 255
orr x0, x1, x0
str x0, [sp, 80]
b .L35
.L34:
ldr x0, [sp, 88]
cmp x0, 0
beq .L36
ldr x0, [sp, 88]
bl a_clz_64
sub w0, w0, #1
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L37
ldr x0, [sp, 88]
lsr x1, x0, 1
ldr x0, [sp, 88]
and x0, x0, 1
orr x0, x1, x0
str x0, [sp, 80]
b .L35
.L37:
ldr x1, [sp, 88]
ldr w0, [sp, 60]
lsl x0, x1, x0
str x0, [sp, 80]
b .L35
.L36:
ldr d1, [sp, 40]
ldr d0, [sp, 32]
fmul d1, d1, d0
ldr d0, [sp, 24]
fadd d0, d1, d0
b .L45
.L35:
ldr w1, [sp, 56]
ldr w0, [sp, 60]
sub w0, w1, w0
str w0, [sp, 56]
ldr x0, [sp, 80]
str x0, [sp, 112]
ldr w0, [sp, 64]
cmp w0, 0
beq .L38
ldr x0, [sp, 112]
neg x0, x0
str x0, [sp, 112]
.L38:
ldr d0, [sp, 112]
scvtf d0, d0
str d0, [sp, 120]
ldr w0, [sp, 56]
cmn w0, #1084
bge .L39
ldr w0, [sp, 56]
cmn w0, #1085
bne .L40
mov x0, 4890909195324358656
fmov d0, x0
str d0, [sp, 128]
ldr w0, [sp, 64]
cmp w0, 0
beq .L41
ldr d0, [sp, 128]
fneg d0, d0
str d0, [sp, 128]
.L41:
ldr d1, [sp, 120]
ldr d0, [sp, 128]
fcmp d1, d0
bne .L42
ldr d0, [sp, 120]
mov x0, 281474708275200
movk x0, 0x341f, lsl 48
fmov d1, x0
fmul d0, d0, d1
fcvt s0, d0
str s0, [sp, 76]
ldr s0, [sp, 76]
fcvt d0, s0
mov x0, 571957152676052992
fmov d1, x0
fmul d0, d0, d1
b .L45
.L42:
ldr x0, [sp, 80]
lsl x0, x0, 53
cmp x0, 0
beq .L39
ldr x0, [sp, 80]
lsr x1, x0, 1
ldr x0, [sp, 80]
and x0, x0, 1
orr x0, x1, x0
orr x0, x0, 4611686018427387904
str x0, [sp, 112]
ldr w0, [sp, 64]
cmp w0, 0
beq .L43
ldr x0, [sp, 112]
neg x0, x0
str x0, [sp, 112]
.L43:
ldr d0, [sp, 112]
scvtf d0, d0
str d0, [sp, 120]
ldr d0, [sp, 120]
fadd d1, d0, d0
ldr d0, [sp, 128]
fsub d0, d1, d0
str d0, [sp, 120]
ldr d0, [sp, 120]
mov x0, 571957152676052992
fmov d1, x0
fmul d0, d0, d1
str d0, [sp, 144]
ldr d0, [sp, 144]
fmul d1, d0, d0
ldr d0, [sp, 120]
fsub d0, d0, d0
fmul d0, d1, d0
ldr d1, [sp, 120]
fadd d0, d1, d0
str d0, [sp, 120]
b .L39
.L40:
mov w0, 10
str w0, [sp, 60]
ldr x1, [sp, 80]
ldr w0, [sp, 60]
lsr x1, x1, x0
ldr x2, [sp, 80]
mov w3, 64
ldr w0, [sp, 60]
sub w0, w3, w0
lsl x0, x2, x0
cmp x0, 0
cset w0, ne
and w0, w0, 255
and x0, x0, 255
orr x1, x1, x0
ldr w0, [sp, 60]
lsl x0, x1, x0
str x0, [sp, 112]
ldr w0, [sp, 64]
cmp w0, 0
beq .L44
ldr x0, [sp, 112]
neg x0, x0
str x0, [sp, 112]
.L44:
ldr d0, [sp, 112]
scvtf d0, d0
str d0, [sp, 120]
.L39:
ldr w0, [sp, 56]
ldr d0, [sp, 120]
bl scalbn
.L45:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 200]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L46
bl __stack_chk_fail
.L46:
ldp x29, x30, [sp], 208
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size fma, .-fma
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC1:
.string "a: %d\n"
.align 3
.LC2:
.string "%c "
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
add x0, sp, 40
ldr x2, [x1]
str x2, [x0]
ldr x1, [x1, 5]
str x1, [x0, 5]
mov w0, 10
str w0, [sp, 20]
add x0, sp, 20
str x0, [sp, 32]
ldr x0, [sp, 32]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 40
add x0, x0, 6
str x0, [sp, 24]
ldr x0, [sp, 24]
bl puts
b .L2
.L3:
ldr x0, [sp, 24]
add x1, x0, 1
str x1, [sp, 24]
ldrb w0, [x0]
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
.L2:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 0
bne .L3
mov w0, 10
bl putchar
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC0:
.string "Hello World\n"
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global CXB30130
.type CXB30130, %function
CXB30130:
.LFB0:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, 28]
str x1, [sp, 16]
str x2, [sp, 8]
str x3, [sp]
str wzr, [sp, 44]
ldr w0, [sp, 28]
mul w0, w0, w0
str w0, [sp, 44]
ldr x0, [sp, 16]
ldrsh w0, [x0]
and w1, w0, 65535
ldr x0, [sp, 16]
ldrsh w0, [x0]
and w0, w0, 65535
mul w0, w1, w0
and w0, w0, 65535
sxth w1, w0
ldr x0, [sp, 16]
strh w1, [x0]
ldr x0, [sp, 8]
ldr s1, [x0]
ldr x0, [sp, 8]
ldr s0, [x0]
fmul s0, s1, s0
ldr x0, [sp, 8]
str s0, [x0]
ldr x0, [sp]
ldr d1, [x0]
ldr x0, [sp]
ldr d0, [x0]
fmul d0, d1, d0
ldr x0, [sp]
str d0, [x0]
ldr w0, [sp, 44]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size CXB30130, .-CXB30130
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global front
.bss
.align 3
.type front, %object
.size front, 8
front:
.zero 8
.global rear
.align 3
.type rear, %object
.size rear, 8
rear:
.zero 8
.text
.align 2
.global enqueue
.type enqueue, %function
enqueue:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
mov x0, 16
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w1, [sp, 28]
str w1, [x0]
ldr x0, [sp, 40]
str xzr, [x0, 8]
adrp x0, front
add x0, x0, :lo12:front
ldr x0, [x0]
cmp x0, 0
bne .L2
adrp x0, rear
add x0, x0, :lo12:rear
ldr x0, [x0]
cmp x0, 0
bne .L2
adrp x0, rear
add x0, x0, :lo12:rear
ldr x1, [sp, 40]
str x1, [x0]
adrp x0, rear
add x0, x0, :lo12:rear
ldr x1, [x0]
adrp x0, front
add x0, x0, :lo12:front
str x1, [x0]
b .L3
.L2:
adrp x0, rear
add x0, x0, :lo12:rear
ldr x0, [x0]
ldr x1, [sp, 40]
str x1, [x0, 8]
adrp x0, rear
add x0, x0, :lo12:rear
ldr x1, [sp, 40]
str x1, [x0]
nop
.L3:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size enqueue, .-enqueue
.section .rodata
.align 3
.LC0:
.string "Queue is Empty. Unable to perform dequeue"
.text
.align 2
.global dequeue
.type dequeue, %function
dequeue:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, front
add x0, x0, :lo12:front
ldr x0, [x0]
cmp x0, 0
bne .L5
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
b .L8
.L5:
adrp x0, front
add x0, x0, :lo12:front
ldr x0, [x0]
str x0, [sp, 24]
adrp x0, front
add x0, x0, :lo12:front
ldr x0, [x0]
ldr x1, [x0, 8]
adrp x0, front
add x0, x0, :lo12:front
str x1, [x0]
adrp x0, front
add x0, x0, :lo12:front
ldr x0, [x0]
cmp x0, 0
bne .L7
adrp x0, rear
add x0, x0, :lo12:rear
str xzr, [x0]
.L7:
ldr x0, [sp, 24]
bl free
.L8:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size dequeue, .-dequeue
.section .rodata
.align 3
.LC1:
.string "%d->"
.align 3
.LC2:
.string "NULL"
.text
.align 2
.global printList
.type printList, %function
printList:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, front
add x0, x0, :lo12:front
ldr x0, [x0]
str x0, [sp, 24]
b .L10
.L11:
ldr x0, [sp, 24]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L10:
ldr x0, [sp, 24]
cmp x0, 0
bne .L11
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size printList, .-printList
.section .rodata
.align 3
.LC3:
.string "Queue :"
.align 3
.LC4:
.string "After dequeue the new Queue :"
.text
.align 2
.global main
.type main, %function
main:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w0, 10
bl enqueue
mov w0, 20
bl enqueue
mov w0, 30
bl enqueue
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
bl printList
bl dequeue
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
bl printList
bl dequeue
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
bl printList
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter a dollar amount: "
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "$20 bills: %d\n"
.align 3
.LC3:
.string "$10 bills: %d\n"
.align 3
.LC4:
.string " $5 bills: %d\n"
.align 3
.LC5:
.string " $1 bills: %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
add x0, sp, 20
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 20]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 3
asr w0, w0, 31
sub w0, w1, w0
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldr w2, [sp, 20]
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w2, w0
lsr x0, x0, 32
asr w1, w0, 3
asr w0, w2, 31
sub w1, w1, w0
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 2
sub w1, w2, w0
str w1, [sp, 20]
ldr w0, [sp, 20]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 2
asr w0, w0, 31
sub w0, w1, w0
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr w2, [sp, 20]
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w2, w0
lsr x0, x0, 32
asr w1, w0, 2
asr w0, w2, 31
sub w1, w1, w0
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
sub w1, w2, w0
str w1, [sp, 20]
ldr w0, [sp, 20]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 1
asr w0, w0, 31
sub w0, w1, w0
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr w2, [sp, 20]
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w2, w0
lsr x0, x0, 32
asr w1, w0, 1
asr w0, w2, 31
sub w1, w1, w0
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
sub w1, w2, w0
str w1, [sp, 20]
ldr w0, [sp, 20]
mov w1, w0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 24]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global G___152598331
.section .rodata
.type G___152598331, %object
.size G___152598331, 1
G___152598331:
.zero 1
.text
.align 2
.global f
.type f, %function
f:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb wzr, [sp, 15]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size f, .-f
.global G___1525983317
.section .rodata
.type G___1525983317, %object
.size G___1525983317, 1
G___1525983317:
.zero 1
.text
.align 2
.global f2
.type f2, %function
f2:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb wzr, [sp, 15]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size f2, .-f2
.global G___1525983317999999999994352352523523993424999
.section .rodata
.type G___1525983317999999999994352352523523993424999, %object
.size G___1525983317999999999994352352523523993424999, 1
G___1525983317999999999994352352523523993424999:
.zero 1
.text
.align 2
.global f3
.type f3, %function
f3:
.LFB2:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb wzr, [sp, 15]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size f3, .-f3
.global G___999999999
.section .rodata
.type G___999999999, %object
.size G___999999999, 1
G___999999999:
.zero 1
.text
.align 2
.global f4
.type f4, %function
f4:
.LFB3:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb wzr, [sp, 15]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size f4, .-f4
.align 2
.global main
.type main, %function
main:
.LFB4:
.cfi_startproc
mov w0, 0
ret
.cfi_endproc
.LFE4:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global printfDash
.type printfDash, %function
printfDash:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str wzr, [sp, 44]
b .L2
.L3:
mov w0, 45
bl putchar
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L2:
ldr w1, [sp, 44]
ldr w0, [sp, 28]
cmp w1, w0
blt .L3
mov w0, 10
bl putchar
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size printfDash, .-printfDash
.align 2
.global printfSpace
.type printfSpace, %function
printfSpace:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str wzr, [sp, 44]
b .L5
.L6:
mov w0, 32
bl putchar
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L5:
ldr w1, [sp, 44]
ldr w0, [sp, 28]
cmp w1, w0
blt .L6
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size printfSpace, .-printfSpace
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "%s %s"
.align 3
.LC2:
.string " %s\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB2:
.cfi_startproc
sub x12, sp, #589824
.cfi_def_cfa 12, 589824
.LPSRL0:
sub sp, sp, 65536
str xzr, [sp, 1024]
cmp sp, x12
b.ne .LPSRL0
.cfi_def_cfa_register 31
mov x12, 10288
sub sp, sp, x12
.cfi_def_cfa_offset 600112
stp x29, x30, [sp]
.cfi_offset 29, -600112
.cfi_offset 30, -600104
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x1, sp, 589824
ldr x2, [x0]
str x2, [x1, 10280]
mov x2, 0
add x0, sp, 16
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
b .L8
.L37:
stp xzr, xzr, [sp, 56]
add x0, sp, 72
mov x1, 34453
movk x1, 0x1, lsl 16
mov x2, x1
mov w1, 0
bl memset
add x0, sp, 98304
add x0, x0, 1536
stp xzr, xzr, [x0, 224]
add x0, sp, 98304
add x0, x0, 1776
mov x1, 34453
movk x1, 0x1, lsl 16
mov x2, x1
mov w1, 0
bl memset
add x0, sp, 196608
add x0, x0, 3584
stp xzr, xzr, [x0, -120]
add x0, sp, 196608
add x0, x0, 3480
mov x1, 34453
movk x1, 0x1, lsl 16
mov x2, x1
mov w1, 0
bl memset
add x0, sp, 299008
add x0, x0, 1024
stp xzr, xzr, [x0, 48]
add x0, sp, 299008
add x0, x0, 1088
mov x1, 34453
movk x1, 0x1, lsl 16
mov x2, x1
mov w1, 0
bl memset
add x0, sp, 397312
add x0, x0, 2560
stp xzr, xzr, [x0, 216]
add x0, sp, 397312
add x0, x0, 2792
mov x1, 34453
movk x1, 0x1, lsl 16
mov x2, x1
mov w1, 0
bl memset
add x0, sp, 499712
add x0, x0, 512
stp xzr, xzr, [x0, -128]
add x0, sp, 499712
add x0, x0, 400
mov x1, 34453
movk x1, 0x1, lsl 16
mov x2, x1
mov w1, 0
bl memset
str wzr, [sp, 28]
str wzr, [sp, 32]
mov w0, -1
str w0, [sp, 36]
add x1, sp, 98304
add x1, x1, 1760
add x0, sp, 56
mov x2, x1
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
b .L9
.L14:
str wzr, [sp, 20]
ldrb w0, [sp, 57]
cmp w0, 0
beq .L40
b .L12
.L13:
ldr w0, [sp, 20]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 56
ldrb w2, [x1, x0]
ldrsw x0, [sp, 20]
add x1, sp, 56
strb w2, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L12:
ldrsw x0, [sp, 20]
add x1, sp, 56
ldrb w0, [x1, x0]
cmp w0, 0
bne .L13
.L9:
ldrb w0, [sp, 56]
cmp w0, 48
beq .L14
b .L15
.L40:
nop
b .L15
.L20:
str wzr, [sp, 20]
add x0, sp, 98304
ldrb w0, [x0, 1761]
cmp w0, 0
beq .L41
b .L18
.L19:
ldr w0, [sp, 20]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 98304
add x1, x1, 1760
ldrb w2, [x1, x0]
ldrsw x0, [sp, 20]
add x1, sp, 98304
add x1, x1, 1760
strb w2, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L18:
ldrsw x0, [sp, 20]
add x1, sp, 98304
add x1, x1, 1760
ldrb w0, [x1, x0]
cmp w0, 0
bne .L19
.L15:
add x0, sp, 98304
ldrb w0, [x0, 1760]
cmp w0, 48
beq .L20
b .L17
.L41:
nop
.L17:
add x0, sp, 56
bl strlen
str w0, [sp, 40]
add x0, sp, 98304
add x0, x0, 1760
bl strlen
str w0, [sp, 44]
ldr w0, [sp, 40]
str w0, [sp, 24]
mov w0, -1
str w0, [sp, 20]
b .L21
.L22:
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
ldrsw x0, [sp, 24]
add x1, sp, 56
ldrb w2, [x1, x0]
ldrsw x0, [sp, 20]
add x1, sp, 196608
add x1, x1, 3464
strb w2, [x1, x0]
.L21:
ldr w0, [sp, 24]
cmp w0, 0
bne .L22
ldr w0, [sp, 44]
str w0, [sp, 24]
mov w0, -1
str w0, [sp, 20]
b .L23
.L24:
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
ldrsw x0, [sp, 24]
add x1, sp, 98304
add x1, x1, 1760
ldrb w2, [x1, x0]
ldrsw x0, [sp, 20]
add x1, sp, 299008
add x1, x1, 1072
strb w2, [x1, x0]
.L23:
ldr w0, [sp, 24]
cmp w0, 0
bne .L24
b .L25
.L27:
ldrsw x0, [sp, 32]
add x1, sp, 196608
add x1, x1, 3464
ldrb w0, [x1, x0]
mov w2, w0
ldrsw x0, [sp, 32]
add x1, sp, 299008
add x1, x1, 1072
ldrb w0, [x1, x0]
add w1, w2, w0
ldr w0, [sp, 28]
add w0, w1, w0
sub w0, w0, #96
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 0
and w0, w0, 1
csneg w0, w0, w0, ge
and w0, w0, 255
add w0, w0, 48
and w2, w0, 255
ldrsw x0, [sp, 32]
add x1, sp, 397312
add x1, x1, 2776
strb w2, [x1, x0]
ldr w0, [sp, 48]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L25:
ldr w1, [sp, 32]
ldr w0, [sp, 40]
cmp w1, w0
bge .L26
ldr w1, [sp, 32]
ldr w0, [sp, 44]
cmp w1, w0
blt .L27
.L26:
ldr w1, [sp, 40]
ldr w0, [sp, 44]
cmp w1, w0
ble .L28
b .L29
.L30:
ldrsw x0, [sp, 32]
add x1, sp, 196608
add x1, x1, 3464
ldrb w0, [x1, x0]
mov w1, w0
ldr w0, [sp, 28]
add w0, w1, w0
sub w0, w0, #48
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 0
and w0, w0, 1
csneg w0, w0, w0, ge
and w0, w0, 255
add w0, w0, 48
and w2, w0, 255
ldrsw x0, [sp, 32]
add x1, sp, 397312
add x1, x1, 2776
strb w2, [x1, x0]
ldr w0, [sp, 48]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L29:
ldr w1, [sp, 32]
ldr w0, [sp, 40]
cmp w1, w0
blt .L30
b .L31
.L28:
ldr w1, [sp, 40]
ldr w0, [sp, 44]
cmp w1, w0
bge .L31
b .L32
.L33:
ldrsw x0, [sp, 32]
add x1, sp, 299008
add x1, x1, 1072
ldrb w0, [x1, x0]
mov w1, w0
ldr w0, [sp, 28]
add w0, w1, w0
sub w0, w0, #48
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 0
and w0, w0, 1
csneg w0, w0, w0, ge
and w0, w0, 255
add w0, w0, 48
and w2, w0, 255
ldrsw x0, [sp, 32]
add x1, sp, 397312
add x1, x1, 2776
strb w2, [x1, x0]
ldr w0, [sp, 48]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L32:
ldr w1, [sp, 32]
ldr w0, [sp, 44]
cmp w1, w0
blt .L33
.L31:
ldr w0, [sp, 28]
cmp w0, 0
beq .L34
ldr w0, [sp, 28]
and w1, w0, 255
ldr w0, [sp, 32]
add w2, w0, 1
str w2, [sp, 32]
add w1, w1, 48
and w2, w1, 255
sxtw x0, w0
add x1, sp, 397312
add x1, x1, 2776
strb w2, [x1, x0]
.L34:
ldrsw x0, [sp, 32]
add x1, sp, 397312
add x1, x1, 2776
strb wzr, [x1, x0]
add x0, sp, 397312
add x0, x0, 2776
bl strlen
str w0, [sp, 52]
ldr w0, [sp, 52]
str w0, [sp, 24]
mov w0, -1
str w0, [sp, 20]
b .L35
.L36:
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
ldrsw x0, [sp, 24]
add x1, sp, 397312
add x1, x1, 2776
ldrb w2, [x1, x0]
ldrsw x0, [sp, 20]
add x1, sp, 499712
add x1, x1, 384
strb w2, [x1, x0]
.L35:
ldr w0, [sp, 24]
cmp w0, 0
bne .L36
ldr w1, [sp, 52]
ldr w0, [sp, 40]
sub w0, w1, w0
add w0, w0, 2
bl printfSpace
add x0, sp, 56
bl puts
mov w0, 43
bl putchar
ldr w1, [sp, 52]
ldr w0, [sp, 44]
sub w0, w1, w0
add w0, w0, 1
bl printfSpace
add x0, sp, 98304
add x0, x0, 1760
bl puts
ldr w0, [sp, 52]
add w0, w0, 2
bl printfDash
add x0, sp, 499712
add x0, x0, 384
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldr w0, [sp, 16]
sub w0, w0, #1
str w0, [sp, 16]
.L8:
ldr w0, [sp, 16]
cmp w0, 0
bne .L37
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x3, sp, 589824
ldr x4, [x3, 10280]
ldr x2, [x0]
subs x4, x4, x2
mov x2, 0
beq .L39
bl __stack_chk_fail
.L39:
mov w0, w1
ldp x29, x30, [sp]
.cfi_restore 29
.cfi_restore 30
add sp, sp, 2096
.cfi_def_cfa_offset 598016
add sp, sp, 598016
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "%d,%d,%d,%.2f\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x0, sp, 16
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 16]
str w0, [sp, 28]
ldr w0, [sp, 28]
str w0, [sp, 24]
str wzr, [sp, 32]
str wzr, [sp, 20]
b .L2
.L5:
ldr w0, [sp, 16]
ldr w1, [sp, 32]
add w0, w1, w0
str w0, [sp, 32]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
ldr w0, [sp, 16]
ldr w1, [sp, 24]
cmp w1, w0
bge .L3
ldr w0, [sp, 16]
str w0, [sp, 24]
.L3:
ldr w0, [sp, 16]
ldr w1, [sp, 28]
cmp w1, w0
ble .L4
ldr w0, [sp, 16]
str w0, [sp, 28]
.L4:
add x0, sp, 16
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
.L2:
ldr w0, [sp, 16]
cmp w0, 0
bge .L5
ldr w0, [sp, 32]
scvtf d0, w0
movi d1, #0
fadd d1, d0, d1
ldr w0, [sp, 20]
scvtf d0, w0
fdiv d0, d1, d0
fcvt s0, d0
str s0, [sp, 36]
ldr s0, [sp, 36]
fcvt d0, s0
ldr w3, [sp, 28]
ldr w2, [sp, 24]
ldr w1, [sp, 20]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L6
bl __stack_chk_fail
.L6:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Error locating directory."
.align 3
.LC1:
.string "Usage: %s dir bin_size.\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
ldr w0, [sp, 28]
cmp w0, 3
bne .L2
ldr x0, [sp, 16]
add x0, x0, 16
ldr x0, [x0]
bl atoi
str w0, [sp, 36]
ldr x0, [sp, 16]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x0, [sp, 40]
bl opendir
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
bne .L7
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
mov w0, 1
bl exit
.L2:
ldr x0, [sp, 16]
ldr x0, [x0]
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w0, 2
bl exit
.L7:
nop
add x0, sp, 56
bl init
add x0, sp, 56
ldr w3, [sp, 36]
ldr x2, [sp, 40]
ldr x1, [sp, 48]
bl parsedir
ldr w2, [sp, 36]
ldp x0, x1, [sp, 56]
bl printbins
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 72]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L6
bl __stack_chk_fail
.L6:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.align 2
.global insert
.type insert, %function
insert:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
ldr w1, [sp, 20]
ldr w0, [sp, 16]
sdiv w0, w1, w0
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bne .L9
ldr x0, [sp, 24]
ldr w0, [x0, 4]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 4]
b .L8
.L9:
ldr x0, [sp, 24]
str x0, [sp, 48]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 56]
b .L11
.L14:
ldr x0, [sp, 56]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
bne .L12
ldr x0, [sp, 56]
ldr w0, [x0, 4]
add w1, w0, 1
ldr x0, [sp, 56]
str w1, [x0, 4]
b .L8
.L12:
ldr x0, [sp, 56]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
bge .L13
mov x0, 16
bl malloc
str x0, [sp, 72]
ldr x0, [sp, 72]
ldr w1, [sp, 44]
str w1, [x0]
ldr x0, [sp, 72]
mov w1, 1
str w1, [x0, 4]
ldr x0, [sp, 72]
ldr x1, [sp, 56]
str x1, [x0, 8]
ldr x0, [sp, 48]
ldr x1, [sp, 72]
str x1, [x0, 8]
b .L8
.L13:
ldr x0, [sp, 56]
ldr x0, [x0, 8]
str x0, [sp, 56]
ldr x0, [sp, 48]
ldr x0, [x0, 8]
str x0, [sp, 48]
.L11:
ldr x0, [sp, 56]
cmp x0, 0
bne .L14
mov x0, 16
bl malloc
str x0, [sp, 64]
ldr x0, [sp, 64]
ldr w1, [sp, 44]
str w1, [x0]
ldr x0, [sp, 64]
mov w1, 1
str w1, [x0, 4]
ldr x0, [sp, 48]
ldr x1, [sp, 64]
str x1, [x0, 8]
.L8:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size insert, .-insert
.align 2
.global init
.type init, %function
init:
.LFB8:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
str wzr, [x0]
ldr x0, [sp, 8]
str wzr, [x0, 4]
ldr x0, [sp, 8]
str xzr, [x0, 8]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size init, .-init
.section .rodata
.align 3
.LC2:
.string "%s/%s"
.text
.align 2
.global parsedir
.type parsedir, %function
parsedir:
.LFB9:
.cfi_startproc
sub sp, sp, #1216
.cfi_def_cfa_offset 1216
stp x29, x30, [sp]
.cfi_offset 29, -1216
.cfi_offset 30, -1208
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1208]
mov x1, 0
ldr x0, [sp, 32]
cmp x0, 0
beq .L24
ldr x0, [sp, 32]
bl readdir
str x0, [sp, 48]
b .L19
.L22:
ldr x0, [sp, 48]
ldrb w0, [x0, 18]
cmp w0, 4
beq .L20
cmp w0, 8
bne .L21
ldr x0, [sp, 48]
add x0, x0, 19
add x4, sp, 184
mov x3, x0
ldr x2, [sp, 24]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x4
bl sprintf
add x1, sp, 56
add x0, sp, 184
bl lstat
ldr x0, [sp, 104]
ldr w2, [sp, 20]
mov w1, w0
ldr x0, [sp, 40]
bl insert
b .L21
.L20:
ldr x0, [sp, 48]
add x0, x0, 19
add x4, sp, 184
mov x3, x0
ldr x2, [sp, 24]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x4
bl sprintf
add x0, sp, 184
bl opendir
mov x1, x0
add x0, sp, 184
ldr w3, [sp, 20]
mov x2, x0
ldr x0, [sp, 40]
bl parsedir
nop
.L21:
ldr x0, [sp, 32]
bl readdir
str x0, [sp, 48]
.L19:
ldr x0, [sp, 48]
cmp x0, 0
bne .L22
b .L16
.L24:
nop
.L16:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1208]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L23
bl __stack_chk_fail
.L23:
ldp x29, x30, [sp]
add sp, sp, 1216
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size parsedir, .-parsedir
.section .rodata
.align 3
.LC3:
.string "%d-%d:"
.align 3
.LC4:
.string "%d-%d:\n"
.text
.align 2
.global printbins
.type printbins, %function
printbins:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
stp x0, x1, [sp, 32]
str w2, [sp, 28]
str wzr, [sp, 56]
ldr w0, [sp, 28]
sub w0, w0, #1
mov w2, w0
mov w1, 0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
str wzr, [sp, 60]
b .L26
.L27:
mov w0, 42
bl putchar
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L26:
ldr w0, [sp, 36]
ldr w1, [sp, 60]
cmp w1, w0
blt .L27
mov w0, 10
bl putchar
ldr x0, [sp, 40]
str x0, [sp, 72]
b .L28
.L33:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 64]
b .L29
.L30:
ldr w1, [sp, 64]
ldr w0, [sp, 28]
mul w3, w1, w0
ldr w0, [sp, 64]
add w1, w0, 1
ldr w0, [sp, 28]
mul w0, w1, w0
sub w0, w0, #1
mov w2, w0
mov w1, w3
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L29:
ldr x0, [sp, 72]
ldr w0, [x0]
ldr w1, [sp, 64]
cmp w1, w0
blt .L30
ldr x0, [sp, 72]
ldr w1, [x0]
ldr w0, [sp, 28]
mul w3, w1, w0
ldr x0, [sp, 72]
ldr w0, [x0]
add w1, w0, 1
ldr w0, [sp, 28]
mul w0, w1, w0
sub w0, w0, #1
mov w2, w0
mov w1, w3
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
str wzr, [sp, 68]
b .L31
.L32:
mov w0, 42
bl putchar
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L31:
ldr x0, [sp, 72]
ldr w0, [x0, 4]
ldr w1, [sp, 68]
cmp w1, w0
blt .L32
mov w0, 10
bl putchar
ldr x0, [sp, 72]
ldr w0, [x0]
str w0, [sp, 56]
ldr x0, [sp, 72]
ldr x0, [x0, 8]
str x0, [sp, 72]
.L28:
ldr x0, [sp, 72]
cmp x0, 0
bne .L33
nop
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size printbins, .-printbins
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global powers
.data
.align 3
.type powers, %object
.size powers, 16
powers:
.word 1
.word 16
.word 256
.word 4096
.text
.align 2
.global charToHex8
.type charToHex8, %function
charToHex8:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 64
bls .L2
ldr x0, [sp, 8]
ldrb w0, [x0]
sub w0, w0, #55
b .L3
.L2:
ldr x0, [sp, 8]
ldrb w0, [x0]
sub w0, w0, #48
.L3:
str w0, [sp, 24]
ldr x0, [sp, 8]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 64
bls .L4
ldr x0, [sp, 8]
add x0, x0, 1
ldrb w0, [x0]
sub w0, w0, #55
b .L5
.L4:
ldr x0, [sp, 8]
add x0, x0, 1
ldrb w0, [x0]
sub w0, w0, #48
.L5:
str w0, [sp, 28]
ldr w0, [sp, 24]
and w0, w0, 255
ubfiz w0, w0, 4, 4
and w1, w0, 255
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w1, w0
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size charToHex8, .-charToHex8
.align 2
.global charToHex16
.type charToHex16, %function
charToHex16:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
strh wzr, [sp, 34]
str wzr, [sp, 36]
b .L8
.L11:
ldrsw x0, [sp, 36]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 64
bls .L9
ldrsw x0, [sp, 36]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
sub w0, w0, #55
b .L10
.L9:
ldrsw x0, [sp, 36]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
sub w0, w0, #48
.L10:
ldrsw x1, [sp, 36]
lsl x1, x1, 2
add x2, sp, 40
str w0, [x2, x1]
ldrsw x0, [sp, 36]
lsl x0, x0, 2
add x1, sp, 40
ldr w0, [x1, x0]
and w1, w0, 65535
mov w2, 3
ldr w0, [sp, 36]
sub w2, w2, w0
adrp x0, powers
add x0, x0, :lo12:powers
sxtw x2, w2
ldr w0, [x0, x2, lsl 2]
and w0, w0, 65535
mul w0, w1, w0
and w0, w0, 65535
ldrh w1, [sp, 34]
add w0, w0, w1
strh w0, [sp, 34]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L8:
ldr w0, [sp, 36]
cmp w0, 3
ble .L11
ldrh w0, [sp, 34]
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L13
bl __stack_chk_fail
.L13:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size charToHex16, .-charToHex16
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global num_steps
.data
.align 3
.type num_steps, %object
.size num_steps, 8
num_steps:
.xword 1000000000
.global step
.bss
.align 3
.type step, %object
.size step, 8
step:
.zero 8
.global __extenddftf2
.global __addtf3
.global __multf3
.section .rodata
.align 3
.LC0:
.string "Iterations\t%ld\n"
.align 3
.LC1:
.string "PI\t\t%.100Lf\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 120]
mov x1, 0
str wzr, [sp, 36]
adrp x0, num_steps
add x0, x0, :lo12:num_steps
ldr d0, [x0]
ucvtf d0, d0
fmov d1, 1.0e+0
fdiv d0, d1, d0
adrp x0, step
add x0, x0, :lo12:step
str d0, [x0]
mov w0, 2
bl omp_set_num_threads
bl omp_get_thread_num
str w0, [sp, 48]
bl omp_get_num_threads
str w0, [sp, 52]
ldr w0, [sp, 48]
cmp w0, 0
bne .L2
ldr w0, [sp, 52]
str w0, [sp, 36]
.L2:
ldr w0, [sp, 48]
str w0, [sp, 40]
ldrsw x0, [sp, 48]
lsl x0, x0, 4
add x1, sp, 80
add x0, x1, x0
stp xzr, xzr, [x0]
b .L3
.L4:
ldr w0, [sp, 40]
scvtf d1, w0
fmov d0, 5.0e-1
fadd d1, d1, d0
adrp x0, step
add x0, x0, :lo12:step
ldr d0, [x0]
fmul d0, d1, d0
str d0, [sp, 56]
ldrsw x0, [sp, 48]
lsl x0, x0, 4
add x1, sp, 80
add x0, x1, x0
ldr q0, [x0]
str q0, [sp, 16]
ldr d0, [sp, 56]
fmul d1, d0, d0
fmov d0, 1.0e+0
fadd d0, d1, d0
fmov d1, 4.0e+0
fdiv d0, d1, d0
bl __extenddftf2
mov v1.16b, v0.16b
ldr q0, [sp, 16]
bl __addtf3
ldrsw x0, [sp, 48]
lsl x0, x0, 4
add x1, sp, 80
add x0, x1, x0
str q0, [x0]
ldr w1, [sp, 40]
ldr w0, [sp, 52]
add w0, w1, w0
str w0, [sp, 40]
.L3:
ldrsw x1, [sp, 40]
adrp x0, num_steps
add x0, x0, :lo12:num_steps
ldr x0, [x0]
cmp x1, x0
bcc .L4
str wzr, [sp, 44]
stp xzr, xzr, [sp, 64]
b .L5
.L6:
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x1, sp, 80
add x0, x1, x0
ldr q0, [x0]
str q0, [sp, 16]
adrp x0, step
add x0, x0, :lo12:step
ldr d0, [x0]
bl __extenddftf2
mov v1.16b, v0.16b
ldr q0, [sp, 16]
bl __multf3
mov v1.16b, v0.16b
ldr q0, [sp, 64]
bl __addtf3
str q0, [sp, 64]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L5:
ldr w1, [sp, 44]
ldr w0, [sp, 36]
cmp w1, w0
blt .L6
adrp x0, num_steps
add x0, x0, :lo12:num_steps
ldr x0, [x0]
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr q0, [sp, 64]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 120]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L8
bl __stack_chk_fail
.L8:
mov w0, w1
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global basic_memory
.data
.align 3
.type basic_memory, %object
.size basic_memory, 8192
basic_memory:
.string "\303\003\340\363\335!"
.string ""
.string "\303\022\340\213\351\362\360\303<\347!"
.string "\020\371\303\273\376\021\337\342\006c!"
.string "\020\032w#\023\005\302!\340\371\315\337\344\315\201\3532\252\0202\371\020!\003\341\315\020\362\315\374\344\3156\350\267\302[\340!]\021#|\265\312m\340~G/w\276p\312I\340\303m\340\315\245\351\267\302\255\343\353+>\331Fw\276p\3026\340+\021\\\021\315\212\346\3326\340"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\021\316\377\"\257\020\031\"Z\020\315\272\344*Z\020\021\357\377\031\021\371\020}\223o|\232g\345!\305\340\315\020\362\341\315\255\371!\267\340\315\020\3621f\020\315\337\344\303\370\343 Bytes free\r"
.string ""
.string "NASCOM ROM BASIC Ver 4.7 \rCopyright (C) 1978 by Microsoft\r"
.string ""
.string "Memory size"
.string "\"\370\346\3708\370\003\020\320\360A\364\376\360\254\372\213\373\307\366\372\372"
.ascii "\374\006\374g\374|\374\243\365\274\375Q\020\202\363\232\361\034"
.ascii "\364\221\363\242\363\262\363\342\363\354\363\305ND\306OR\316"
.ascii "EXT\304ATA\311NPUT\304IM\322EAD\314ET\307OTO\322UN\311F\322E"
.ascii "STORE\307OSUB\322ETURN\322EM\323TOP\317UT\317N\316ULL\327AIT"
.ascii "\304EF\320OKE\304OKE\323CREEN\314INES\303LS\327IDTH\315ONITO"
.ascii "R\323ET\322ESET\320RINT\303ONT\314IST\303LEAR\303LOAD\303SAV"
.ascii "E\316EW\324AB(\324O\306N\323PC"
.string "(\324HEN\316OT\323TEP\253\255\252\257\336\301ND\317R\276\275\274\323GN\311NT\301BS\325SR\306RE\311NP\320OS\323QR\322ND\314OG\305XP\303OS\323IN\324AN\301TN\320EEK\304EEK\320OINT\314EN\323TR$\326AL\301SC\303HR$\314EFT$\322IGHT$\315ID$\200r\350y\347\366\354p\352\375\353(\357,\354\207\352-\352\020\352\377\352F\350\034\352K\352r\352p\350M\364\341\352\261\350S\364\006\361\252\365\307\375\346\375\255\375\213\375\245\375\242\376T\020W\020#\353\236\350\335\346\312\351\371\364\303\364\271\344y\224\371y\310\365|\006\367|g\367\177\265\372P\201\356F\200\356NFSNRGODFCOVOMULBSDD/0IDTMOSLSSTCNUFMO\303\256\340\303\240\351\323"
.string "\311\326"
.string "o|\336"
.string "gx\336"
.string "G>"
.string "\311"
.string ""
.string ""
.string "5J\312\2319\034v\230\"\225\263\230\n\335G\230S\321\231\231\n\032\237\230e\274\315\230\326w>\230R\307O\200\333"
.string "\311\001/\034"
.string ""
.string "\005"
.string "\005"
.string ""
.string ""
.string ""
.string ""
.string "\303\007\346\303y\377\303@\377\303U\377]\021\376\377\372\020 Error"
.string " in "
.string "Ok\r"
.string ""
.string "Break"
.string "!\004"
.string "9~#\376\201\300N#F#\345i`z\263\353\312p\343\353\315\212\346\001\r"
.string "\341\310\t\303Z\343\315\223\343\305\343\301\315\212\346~\002\310\013+\303\177\343\345*\332\020\006"
.string "\t\t>\345>\320\225o>\377\234\332\242\343g9\341\330\036\f\303\301\343*\311\020\"\\\020\036\002\001\036\024\001\036"
.ascii "\001\036\022\001\036\"\001\036\n\001\036\030\315\337\3442E\020"
.ascii "\315t\353!\271\342W>?\315\233\346\031~\315\233\346\3156\350\315"
.ascii "\233\346!?\343\315\020\362*\\\020\021\376\377\315\212\346\312"
.ascii "\022\340|\245<\304\245\371>\301\2572E\020\315t\353!K\343\315"
.ascii "\020\362!\377\377\"\\\020\315\362\345\332\005\344\3156\350<="
.ascii "\312\005\344\365\315\245\351\325\315\t\345G\321\361\322\026\350"
.ascii "\325\305\2572\314\020\3156\350\267\365\315\231\344\332>\344\361"
.ascii "\365\312F\352\267\305\322U\344\353*\326\020\032\002\003\023\315"
.ascii "\212\346\302F\344`i\"\326\020\321\361\312|\344*\326\020\343\301"
.ascii "\t\345\315y\343\341\"\326\020\353t\321##s#r#\021a\020\032w#\023"
.ascii "\267\302t\344\315\305\344#\353bk~#\266\312\005\344###\257\276"
.ascii "#\302\215\344\353s#r\303\201\344*^\020DM~#\266+\310##~#fo\315"
.ascii "\212\346`i~#fo?\310?\320\303\234\344\300*^\020\257w#w#\"\326"
.ascii "\020*"
.string "^\020+\"\316\020*\257\020\"\303\020\257\315F\350*\326\020\"\330\020\"\332\020\301*Z\020\371!\263\020\"\261\020\257og\"\324\0202\313\020\"\336\020\345\305*\316\020\311>?\315\233\346> \315\233\346\303N\020\2572\256\020\016\005\021a\020~\376 \312\221\345G\376\"\312\261\345\267\312\270\345:\256\020\267~\302\221\345\376?>\236\312\221\345~\3760\332<\345\376<\332\221\345\325\021B\341\305\001\215\345\305\006\177~\376a\332U\345\376{\322U\345\346_wN\353#\266\362W\345\004~\346\177\310\271\302W\345\353\345\023\032\267\372\211\345Ox\376\210\302x\345\3156\350+#~\376a\332\201\345\346_\271\312g\345\341\303U\345H\361\353\311\353y\301\321#\022\023\f\326:\312\237\345\376I\302\242\3452\256\020\326T\302\022\345G~\267\312\270\345\270\312\221\345#\022\f\023\303\250\345!`\020\022\023\022\023\022\311:D\020\267>"
.string "2D\020\302\325\345\005\312\362\345\315\233\346>\005+\312\351\345~\315\233\346\303\020\346\005+\315\233\346\302\020\346\315\233\346\315\201\353\303\007\346\315m\376\312\007\346*u\f~\376t\312\007\346\315\350\376\303\206\353!a\020\006\001\2572D\020\315\314\346O\376\177\312\301\345:D\020\267\312)\346>"
.string "\315\233\346\2572D\020y\376\007\312m\346\376\003\314\201\3537\310\376\r\312|\353\376\025\312\354\345\376@\312\351\345\376_\312\341\345\376\b\312\341\345\376\022\302h\346\305\325\3456"
.ascii "\315\364\377!a\020\315\020\362\341\321\301\303\020\346\376 \332"
.ascii "\020\346x\376I>\007\322\202\346yq2\314\020#\004\315\233\346\303"
.ascii "\020\346\315\233\346>\b\303|\346|"
.string "\222\300}\223\311~\343\276#\343\3126\350\303\255\343\365:E\020\267\302E\362\361\305\365\376 \332\277\346:B\020G:\253\020\004\312\273\346\005\270\314\201\353<2\253\020\361\301\365\361\365\305O\315\331\374\301\361\311\315\005\375\346\177\376\017\300:E\020/2E\020\257\311\315\245\351\300\301\315\231\344\305\3153\347\341N#F#x\261\312\370\343\315F\347\315a\350\305\315\201\353^#V#\345\353\315\255\371> \341\315\233\346~\267#\312\351\346\362\t\347\326\177O\021C\341\032\023\267\362\033\347\r\302\033\347\346\177\315\233\346\032\023\267\362%\347\303\f\347\345*H\020\"F\020\341\311!\336\376\"~\f\303\370\343\376\345\325*F\020\021\377\377\355Z\"F\020\321\341\360\345*H\020\"F\020:L\020\267\302\345\376\315\005\375\376\003\312p\347\341\303F\347*H\020\"F\020\303\261\340>d2\313\020\315\207\352\301\345\315p\352\"\307\020!\002"
.string "9\315Z\343\321\302\251\347\t\325+V+^##\345*\307\020\315\212\346\341\302\215\347\321\371\353\016\b\315\212\343\345*\307\020\343\345*\\\020\343\315D\355\315\220\346\246\315A\355\345\315_\370\341\305\325\001"
.ascii "\201QZ~"
.string "\376\253>\001\302\345\347\3156\350\315A\355\345\315_\370\315\023\370\341\305\325\3653\345*\316\020\343\006\201\3053\315@\375\267\304f\350\"\316\020~\376:\312\026\350\267\302\255\343#~#\266\312z\350#^#V\353\"\\\020\353\3156\350\021\362\347\325\310\326\200\332\207\352\376%\322\255\343\007O\006"
.string "\353!Z\342\tN#F\305\353#~\376:\320\376 \3126\350\3760?<=\311\353*^\020\312[\350\353\315\245\351\345\315\231\344`i\321\322F\352+\"\334\020\353\311\315@\375\267\310\315\314\346\376\023\314\314\346\376\003\300\366\300\"\316\020!\366\377\301*\\\020\365}\244<\312\215\350\"\322\020*\316\020\"\324\020\2572E\020\315t\353\361!P\343\302\341\343\303\370\343*\324\020|\265\036 \312\301\343\353*\322\020\"\\\020\353\311\315\204\364\3002A\020\311\006\377\3156\350x2\316\020>\0012\313\020\315-\357\3452\313\020`i\013\013\013\013:\316\020\267\365\353\031\353N\006"
.string "\t\t#\345\325\305:\316\020\376\377\314\325\374:\316\020\376\377\304\310\374"
.string ""
.string ""
.string "!"
.string ""
.string "\"J\020\301\321\341\006\322\303\326\377x\315\267\364\315\267\364\303\035\351\016\004\315\264\364\270\302\020\351\r\302\022\351\315D\355\315\212\346\3127\351\361\365~\364\272\364\374\264\364w\315@\351#\303 \351\315M\351\315\325\374\361\341\311\345*J\020\006"
.string "O\t\"J\020\341\311:\316\020\267\372`\351:J\020\315\272\364:K\020\303\272\364\315\264\364\365\315\264\364\301XW*J\020\315\212\346\310\315\325\374\303k\365~\376A\330\376[?\311\3156\350\315A\355\315\023\370\372\240\351:\347\020\376\220\332\273\370\001\200\220\021"
.string ""
.string "\345\315\216\370\341Q\310\036\b\303\301\343+\021"
.string ""
.string "\3156\350\320\345\365!\230\031\315\212\346\332\255\343bk\031)\031)\361\3260_\026"
.string "\031\353\341\303\251\351\312\311\344\315\202\351+\3156\350\345*\257\020\312\355\351\341\315\220\346,\325\315\202\351+\3156\350\302\255\343\343\353}\223_|\232W\332\242\343\345*\326\020\001("
.string "\t\315\212\346\322\242\343\353\"Z\020\341\"\257\020\341\303\311\344\312\305\344\315\311\344\001\362\347\303,\352\016\003\315\212\343\301\345\345*\\\020\343>\214\3653\305\315\245\351\315r\352\345*\\\020\315\212\346\341#\334\234\344\324\231\344`i+\330\036\016\303\301\343\300\026\377\315V\343\371\376\214\036\004\302\301\343\341\"\\\020#|\265\302j\352:\314\020\267\302\367\343!\362\347\343>\341\001:\016"
.string "\006"
.ascii "yHG~\267\310\270"
.string "\310#\376\"\312v\352\303y\352\315-\357\315\220\346\264\325:\255\020\365\315Z\355\361\343\"\316\020\037\315F\355\312\332\352\345*\344\020\345##^#V*^\020\315\212\346\322\311\352*Z\020\315\212\346\321\322\321\352!\277\020\315\212\346\322\321\352>\321\315q\363\353\315\252\361\315q\363\341\315n\370\341\311\345\315k\370\321\341\311\315\204\364~G\376\214\312\360\352\315\220\346\210+K\rx\312\036\350\315\246\351\376,\300\303\361\352\315Z\355~\376\210\312\r\353\315\220\346\251+\315D\355\315\023\370\312r\352\3156\350\332-\352\303\035\350+\3156\350\312\201\353\310\376\245\312\257\353\376\250\312\257\353\345\376,\312\230\353\376;\312\322\353\301\315Z\355\345:\255\020\267\302m\353\315\270\371\315\316\3616 *\344\0204*\344\020:B\020G\004\312i\353\004:\253\020\206=\270\324\201\353\315\023\362\257\304\023\362\341\303\037\353:\253\020\267\310\303\201\3536"
.string "!`\020>\r\315\233\346\2572\253\020:A\020=\310\365\257\315\233\346\361\303\215\353:C\020G:\253\020\270\324\201\353\322\322\353\326\016\322\246\353/\303\307\353\365\315\201\364\315\220\346)+\361\326\250\345\312\302\353:\253\020/\203\322\322\353<G> \315\233\346\005\302\313\353\341\3156\350\303&\353?Redo from start\r\n"
.string ":\315\020\267\302\247\343\301!\331\353\315\020\362\303\370\344\315{\361~\376\">"
.string "2E\020\302\027\354\315\317\361\315\220\346;\345\315\023\362>\345\315\374\344\301\332w\350#~\267+\305\312o\3526,\3031\354\345*\334\020\366\2572\315\020\343\303=\354\315\220\346,\315-\357\343\325~\376,\312e\354:\315\020\267\302\322\354>?\315\233\346\315\374\344\321\301\332w\350#~\267+\305\312o\352\325:\255\020\267\312\217\354\3156\350WG\376\"\312\203\354:\315\020\267W\312\200\354\026:\006,+\315\322\361\353!\232\354\343\325\303\242\352\3156\350\315\032\371\343\315k\370\341+\3156\350\312\246\354\376,\302\354\353\343+\3156\350\3029\354\321:\315\020\267\353\302\\\350\325\266!\301\354\304\020\362\341\311?Extra ignored\r\n"
.string "\315p\352\267\302\353\354#~#\266\036\006\312\301\343#^#V\353\"\311\020\353\3156\350\376\203\302\322\354\303e\354\021"
.string ""
.string "\304-\357\"\316\020\315V\343\302\263\343\371\325~#\365\325\315Q\370\343\345\315\276\365\341\315k\370\341\315b\370\345\315\216\370\341\301\220\315b\370\3121\355\353\"\\\020i`\303\356\347\371*\316\020~\376,\302\362\347\3156\350\315\371\354\315Z\355\3667:\255\020\217\267\350\303\277\343\315\220\346\264\303Z\355\315\220\346(+\026"
.string "\325\016\001\315\212\343\315\321\355\"\320\020*\320\020\301x\376x\324D\355~\026"
.string "\326\263\332\222\355\376\003\322\222\355\376\001\027\252\272W\332\255\343\"\305\020\3156\350\303v\355z\267\302\250\356~\"\305\020\326\254\330\376\007\320_:\255\020=\263{\312\006\363\007\203_!\244\342\031xV\272\320#\315D\355\305\001i\355\305CJ\315D\370XQN#F#\305*\305\020\303]\355\2572\255\020\3156\350\036$\312\301\343\332\032\371\315w\351\322\"\356\376\254\312\321\355\376.\312\032\371\376\255\312\021\356\376\"\312\317\361\376\252\312\b\357\376\247\3123\361\326\266\3223\356\315V\355\315\220\346)\311\026}\315]\355*\320\020\345\315<\370\315D\355\341\311\315-\357\345\353\"\344\020:\255\020\267\314Q\370\341\311\006"
.ascii "\007O\305\3156\350y\376\"\312y\377\376-\332_\356\315V\355\315"
.ascii "\220\346,\315E\355\353*\344\020\343\345\353\315\204\364\353\343"
.ascii "\303g\356\315\t\356\343\021\035\356\325\001\017\341\tN#fi\351"
.ascii "\025\376\255\310\376-\310\024\376+\310\376\254\310+\311\366\257"
.ascii "\365\315D\355\315\213\351\361\353\301\343\353\315T\370\365\315"
.ascii "\213\351\361\301y!\361\360\302\243\356\243Ox\242\351\263Ox\262"
.ascii "\351!\272\356:\255\020\037z\027_\026dx\272\320\303\272\355\274"
.ascii "\356y\267\037\301\321\365\315F\355!\376\356\345\312\216\370\257"
.ascii "2\255\020\325\315S\363~##N#F\321\305\365\315W\363\315b\370\361"
.ascii "W\341{\262\310z\326\001\330\257\273<\320\025\035\n\276#\003\312"
.ascii "\346\356?\303\036\370<\217\301\240\306\377\237\303%\370\026Z"
.ascii "\315]\355\315D\355\315\213\351{/Oz/\315\361\360\301\303i\355"
.ascii "+\3156\350\310\315\220\346,\001\037\357\305\366\2572\254\020"
.ascii "F\315w\351\332\255\343\257O2\255\020\3156\350\332I\357\315w\351"
.ascii "\332V\357O\3156\350\332J\357\315w\351\322J\357\326$\302e\357"
.ascii "<2\255\020\017\201O\3156\350:\313\020=\312\022\360\362u\357~"
.ascii "\326(\312\352\357\2572\313\020\345PY*\336\020\315\212\346\021"
.ascii "\340\020\312T\367*\330\020\353*\326\020\315\212\346\312\250\357"
.ascii "y\226#\302\235\357x\226#\312\334"
.string "\357####\303\217\357\341\343\325\021%\356\315\212\346\321\312\337\357\343\345\305\001\006"
.string "*\332\020\345\t\301\345\315y\343\341\"\332\020`i\"\330\020+6"
.string "\315\212\346\302\316\357\321s#r#\353\341\3112\347\020!J\343\"\344\020\341\311\345*\254\020\343W\325\305\315\177\351\301\361\353\343\345\353<W~\376,\312\360\357\315\220\346)\"\320\020\341\"\254\020\036"
.string "\325\021\345\365*\330\020>\031\353*\332\020\353\315\212\346\312J\360~\271#\302,\360~\270#^#V#\302\030\360:\254\020\267\302\266\343\361DM\312T\367\226\312\250\360\036\020\303\301\343\021\004"
.string "\361\312\240\351q#p#O\315\212\343##\"\305\020q#:\254\020\027y\001\013"
.string "\322m\360\301\003q#p#\365\345\315\377\370\353\341\361=\302e\360\365BK\353\031\332\242\343\315\223\343\"\332\020+6"
.string "\315\212\346\302\213\360\003W*\305\020^\353)\t\353++s#r#\361\332\314\360GO~#\026\341^#V#\343\365\315\212\346\322E\360\345\315\377\370\321\031\361=DM\302\255\360))\301\t\353*\320\020\311*\332\020\353!"
.string ""
.string "9:\255\020\267\312\354\360\315S\363\315S\362*Z\020\353*\303\020}\223O|\232AP\036"
.ascii "!\255\020s\006\220\303*\370:\253\020G\257\303\362\360\315\211"
.ascii "\361\315{\361\001p\352\305\325\315\220\346(\315-\357\345\353"
.ascii "+V+^\341\315D\355\315\220\346)\315\220\346\264DM\343q#p\303\310"
.ascii "\361\315\211\361\325\315\t\356\315D\355\343^#V#z\263\312\271"
.ascii "\343~#fo\345*\336\020\343\"\336\020*\342\020\345*\340\020"
.string "\345!\340\020\325\315k\370\341\315A\355+\3156\350\302\255\343\341\"\340\020\341\"\342\020\341\"\336\020\341\311\345*\\\020#|\265\341\300\036\026\303\301\343\315\220\346\247>\2002\313\020\266G\3152\357\303D\355\315D\355\315\270\371\315\316\361\315S\363\001\256\363\305~##\345\315)\362\341N#F\315\302\361\345o\315F\363\321\311\315)\362!\277\020\345w##s#r\341\311+\006\"P\345\016\377#~\f\267\312\344\361\272\312\344\361\270\302\325\361\376\"\3146\350\343#\353y\315\302\361\021\277\020*\261\020\"\344\020>\0012\255\020\315n\370\315\212\346\"\261\020\341~\300\036\036\303\301\343#\315\316\361\315S\363\315b\370\034\035\310\n\315\233\346\376\r\314\206\353\003\303\032\362\267\016\361\365*Z\020\353*\303\020/O\006\377\t#\315\212\346\332G\362\"\303\020#\353\361\311\361\036\032\312\301\343\277\365\001+\362\305*\257\020\"\303\020!"
.string ""
.string "\345*Z\020\345!\263\020\353*\261\020\353\315\212\346\001d\362\302\270\362*\326\020\353*\330\020\353\315\212\346\312\213\362~##\267\315\273\362\303u\362\301\353*\332\020\353\315\212\346\312\341\362\315b\370{\345\t\267\362\212\362\"\305\020\341N\006"
.string "\t\t#\353*\305\020\353\315\212\346\312\213\362\001\252\362\305\366\200~##^#V#\360\267\310DM*\303\020\315\212\346`i\330\341\343\315\212\346\343\345`i\320\301\361\361\345\325\305\311\321\341}\264\310+F+N\345++n&"
.string "\tPY+DM*\303\020\315|\343\341q#pi`+\303V\362\305\345*\344\020\343\315\321\355\343\315E\355~\345*\344\020\345\206\036\034\332\301\343\315\277\361\321\315W\363\343\315V\363\345*\301\020\353\315=\363\315=\363!f\355\343\345\303\360\361\341\343~##N#Fo,-\310\n\022\003\023\303G\363\315E\355*\344\020\353\315q\363\353\300\325PY\033N*\303\020\315\212\346\302o\363G\t\"\303\020\341\311*\261\020+F+N++\315\212\346\300\"\261\020\311\001\001\361\305\315P\363\257W2\255\020~\267\311\001\001\361\305\315\206\363\312\240\351##^#V\032\311>\001\315\277\361\315\207\364*\301\020s\301\303\360\361\3157\364\257\343O\345~\270\332\300\363x\021\016"
.string "\305\315)\362\301\341\345##F#fh\006"
.string "\tDM\315\302\361o\315F\363\321\315W\363\303\360\361\3157\364\321\325\032\220\303\266\363\353~\315<\364\004\005\312\240\351\305\036\377\376)\312\005\364\315\220\346,\315\204\364\315\220\346)\361\343\001\270\363\305=\276\006"
.string "\320O~\221\273G\330C\311\315\206\363\3123\366_##~#fo\345\031Fr\343\305~\315\032\371\301\341p\311\353\315\220\346)\301\321\305C\311\315\207\3642?\020\315>\020\303\001\361\315q\364\303\006\020\315q\364\365\036"
.string "+\3156\350\312g\364\315\220\346,\315\204\364\301\315>\020\253\240\312h\364\311\315\204\3642?\0202\007\020\315\220\346,\303\204\364\3156\350\315A\355\315\205\351z\267\302\240\351+\3156\350{\311*^\020\"\326\020!"
.string "\200^#V##\"^\020\353\"\257\020\"Z\020\001\362\347\305\303\305\344\303V\375\315\272\364\365\305O\315h\375\301\361\311\006\001\376\256\312\273\350\315Z\355\345\315\225\363\325\315\310\374\321>\323\315\272\364\315\267\364\032\315\272\364"
.string ""
.string ""
.string "!\326\020\"\f\f*\326\020\"\016\f\315s\376\315\330\374\341\311~\376\256\312\271\350\315\321\377\326\236\312\t\365\257\001/#\365+\3156\350>"
.string "\312\034\365\315Z\355\315\225\363\032o\361\365\267g\"\344\020\314\272\344*\344\020\353\006\003\315\264\364\326\323\302+\365\005\302-\365\315\264\364\315t\365\034\035\312H\365\273\302+\365"
.string ""
.string ""
.string "\361\267\302\\\365\315\210\376*\326\020\315\223\343\303_\365\315\252\376!K\343\315\020\362\315\330\374\303|\344!\235\365\315\020\362\303\341\343\305\345\325\365!\216\365\315\020\362\361\365\315\331\374!\224\365\315\020\362\361\321\341\301\311File "
.string " Found\r\n"
.string "Bad"
.string ""
.string ""
.string "\315\213\351\032\303\001\361\315A\355\315\213\351\325\315\220\346,\315\204\364\321\022\311!\221\372\315b\370\303\315\365\315b\370!\301\321\315<\370x\267\310:\347\020\267\312T\370\220\322\347\365/<\353\315D\370\353\315T\370\301\321\376\031\320\365\315y\370g\361\315\222\366\264!\344\020\362\r\366\315r\366\322S\366#4\312\274\343.\001\315\250\366\303S\366\257\220G~\233_#~\232W#~\231O\334~\366hc\257Gy\267\302@\366JTeox\326\b\376\340\302!\366\2572\347\020\311\005)z\027Wy\217O\3628\366x\\E\267\312S\366!\347\020\206w\3223\366\310x!\347\020\267\374e\366F#~\346\200\251O\303T\370\034\300\024\300\f\300\016\2004\300\303\274\343~\203_#~\212W#~\211O\311!\350\020~/w\257o\220G}\233_}\232W}\231O\311\006"
.string "\326\b\332\241\366CZQ\016"
.string "\303\224\366\306\to\257-\310y\037Oz\037W{\037_x\037G\303\244\366"
.string ""
.string ""
.string "\201\003\252V\031\200\361\"v\200E\2528\202\315\023\370\267\352\240\351!\347\020~\0015\200\021\363\004\220\365p\325\305\315\315\365\301\321\004\315i\367!\266\366\315\304\365!\272\366\315[\373\001\200\200\021"
.string ""
.string "\315\315\365\361\315\216\371\0011\200\021\030r!\301\321\315\023\370\310."
.string "\315\321\367y2\366\020\353\"\367\020\001"
.string ""
.string "PX!\036\366\345!*\367\345\345!\344\020~#\267\312V\367\345.\b\037gy\322D\367\345*\367\020\031\353\341:\366\020\211\037Oz\037W{\037_x\037G-|\3023\367\341\311CZQO\311\315D\370\001 \204\021"
.string ""
.ascii "\315T\370\301\321\315\023\370\312\260\343."
.string "\377\315\321\36744+~2\022\020+~2\016\020+~2\n\020A\353\257OW_2\025\020\345\305}\315\t\020\336"
.string "?\322\241\3672\025\020\361\3617\322\301\341y<=\037\372T\366\027{\027_z\027Wy\027O)x\027G:\025\020\0272\025\020y\262\263\302\216\367\345!\347\0205\341\302\216\367\303\274\343x\267\312\365\367}!\347\020\256\200G\037\250x\362\364\367\306\200w\312T\367\315y\370w+\311\315\023\370/\341\267\341\3623\366\303\274\343\315_\370x\267\310\306\002\332\274\343G\315\315\365!\347\0204\300\303\274\343:\347\020\267\310:\346\020\376/\027\237\300<\311\315\023\370\006\210\021"
.string ""
.string "!\347\020Op\006"
.string "#6\200\027\303\033\366\315\023\370\360!\346\020~\356\200w\311\353*\344\020\343\345*\346\020\343\345\353\311\315b\370\353\"\344\020`i\"\346\020\353\311!\344\020^#V#N#F#\311\021\344\020\006\004\032w\023#\005\302p\370\311!\346\020~\0077\037w?\037##wy\0077\037O\037\256\311x\267\312\023\370!\034\370\345\315\023\370y\310!\346\020\256y\370\315\250\370\037\251\311#x\276\300+y\276\300+z\276\300+{\226\300\341\341\311GOW_\267\310\345\315_\370\315y\370\256g\374\337\370>\230\220\315\222\366|\027\334e\366\006"
.string "\334~\366\341\311\033z\243<\300\013\311!\347\020~\376\230:\344\020\320~\315\273\3706\230{\365y\027\315\033\366\361\311!"
.string ""
.ascii "x\261\310>\020)\332E\360\353)\353\322\025\371\t\332E\360=\302"
.ascii "\007\371\311\376-\365\312&\371\376+\312&\371+\3153\366GW_/O\315"
.ascii "6\350\332w\371\376.\312R\371\376E\302V\371\3156\350\315p\356"
.ascii "\3156\350\332\231\371\024\302V\371\257\223_\f\f\312.\371\345"
.ascii "{\220\364o\371\362e\371\365\315[\367\361<\302Y\371\321\361\314"
.ascii "<\370\353\311\310\365\315\374\367\361=\311\325Wx\211G\305\345"
.ascii "\325\315\374\367\361\3260\315\216\371\341\301\321\303.\371\315"
.ascii "D\370"
.string "\315%\370\301\321\303\315\365{\007\007\203\007\206\3260_\303D\371\345!F\343\315\020\362\341\353\257\006\230\315*\370!\017\362\345!\351\020\345\315\023\3706 \362\306\3716-#60\312|\372\345\374<\370\257\365\315\202\372\001C\221\021\370O\315\216\370\267\342\363\371\361\315p\371\365\303\325\371\315[\367\361<\365\315\202\372\315\273\365<\315\273\370\315T\370\001\006\003\361\201<\372\017\372\376\b\322\017\372<G>\002==\341\365\021\225\372\005\302 \3726.#60#\0056.\314i\370\305\345\325\315_\370\341\006/\004{\226_#z\236W#y\236O++\322/\372\315r\366#\315T\370\353\341p#\301\r\302 \372\005\312`\372+~\3760\312T\372\376.\304i\370\361\312\177\3726E#6+\362p\3726-/<\006/\004\326\n\322r\372\306:#p#w#q\341\311\001t\224\021\367#\315\216\370\267\341\342\352\371\351"
.string ""
.string ""
.string "\200\240\206\001\020'"
.string "\350\003"
.string "d"
.string ""
.string "\n"
.string ""
.string "\001"
.string ""
.string "!<\370\343\351\315D\370!\221\372\315Q\370\301\321\315\023\370x\312\372\372\362\305\372\267\312\260\343\267\3124\366\325\305y\366\177\315_\370\362\342\372\325\305\315\346\370\301\321\365\315\216\370\341|\037\341\"\346\020\341\"\344\020\334\247\372\314<\370\325\305\315\307\366\301\321\315\b\367\315D\370\0018\201\021;\252\315\b\367:\347\020\376\210\322\357\367\315\346\370\306\200\306\002\332\357\367\365!\266\366\315\276\365\315\377\366\361\301\321\365\315\312\365\315<\370!:\373\315j\373\021"
.string ""
.string "\301J\303\b\367\b@.\224tpO.wn\002\210z\346\240*|P\252\252~\377\377\177\177"
.string ""
.string "\200\201"
.string ""
.string ""
.string "\201\315D\370\021\006\367\325\345\315_\370\315\b\367\341\315D\370~#\315Q\370\006\361\301\321=\310\325\305\365\345\315\b\367\341\315b\370\345\315\315\365\341\303s\373\315\023\370!\031\020\372\354\373!:\020\315Q\370!\031\020\310\206\346\007\006"
.string "w#\207\207O\t\315b\370\315\b\367:\030\020<\346\003\006"
.string "\376\001\2102\030\020!\360\373\207\207O\t\315\276\365\315_\370{Y\356OO6\200+F6\200!\027\0204~\326\253\302\343\373w\f\025\034\315\036\366!:\020\303k\370w+w+w\303\307\373h\261Fh\231\351\222i\020\321uh!J\374\315\276\365\315D\370\001I\203\021\333\017\315T\370\301\321\315i\367\315D\370\315\346\370\301\321\315\312\365!N\374\315\304\365\315\023\3707\3626\374\315\273\365\315\023\370\267\365\364<\370!N\374\315\276\365\361\324<\370!R\374\303[\373\333\017I\201"
.string ""
.string ""
.string "\177\005\272\327\036\206d&\231\207X4#\207\340]\245\206\332\017I\203\315D\370\315\006\374\301\341\315D\370\353\315T\370\315"
.string "\374\303g\367\315\023\370\374\247\372\374<\370:\347\020\376\201\332\231\374\001"
.string "\201QY\315i\367!\304\365\345!\243\374\315[\373!J\374\311\tJ\327;x\002n\204{\376\301/|t1\232}\204=Z}\310\177\221~\344\273L~l\252\252\177"
.string ""
.string ""
.string "\201\3159\376\006"
.string "\315\233\375\005\302\315\374\311\3039\376\311\345\305\325\365\315m\376\302\373\374\361\365\376\n\312"
.string "\375\376\b\302\361\374>\035\376\r\302\375\374>\037\303\375\374\361\365\315E\376\361\321\301\341\311\345\305\325\315m\376\312\023\375\337{\303\031\375\315M\f\322\023\375\376\035\302 \375>\b\376\034\302'\375>\003\376\032\302.\375>\177\376\033\3025\375>\003\376\037\302<\375>\r\321\301\341\311\257\315p\375\312P\375:M\020\267\302P\375\257\311\315S\376>\377\311\333\002\027\322V\375\333\001\311\323\001\333\002\207\370\303a\375\365\315_\375\361\311"
.string ""
.string "\345>\002!"
.string "\f\256\323"
.string "\356\001\323"
.string "\356\002\323"
.string "~\323"
.string "\031\341\333"
.string "\346\022\311\315m\376\312\226\375>\f\303\331\374>\036\303\331\374\257\365\361\365\361=\302\234\375\311\315\204\364{2B\020\311\315A\355\315\213\351\355SF\020\355SH\020\311\315\213\351\325\341F#~\303\362\360\315A\355\315\213\351\325\315\220\346,\315A\355\315\213\351\343s#r\341\311\363\335!\377\377\303\022\340\315\204\364\365\315\220\346,\315\204\364\301\345\305\315\021\376\345\315m\376\312\004\376\341\")\f\341\311*\030\f6 \341\"\030\f6_\341\311!\311\007\006"
.string "O\267\312\240\351\376\021\362\240\351\321\361\325\026"
.string "_\267\312\240\351\3761\362\240\351\031\026"
.string "Y\006@\031\020\375\311\315m\376\312B\376\337_\311\303Q"
.string "\365\315m\376\312O\376\361\367\311\361\303J\f:M\020\302e\376\315m\376\312b\376\337b\311\303M\f>"
.string "2M\020>\003\311:\001"
.string "\3763\311\3159\376\315m\376\312\177\376\337W\311:\215"
.string "\312"
.string "\004\303\321\003\3159\376\315m\376\312\231\376>R2+\f\337R\311:\215"
.string "\312\f\007\303\321\003\315m\376\312"
.string ""
.string "\337[\3159\376\315m\376\312\240\351>V2+\f\337V\311>"
.string "2M\020\315m\376\312\031\340!\336\376\"~\f\335\345\361\267\302\031\340\006\017\315\315\374\315\r"
.string "\303\031\340\365>\3772M\020\361\355E"
.string "\337c\325\325\341\021/"
.string "\031~\376 \302\002\377\035>"
.string "\263\312\002\377+\303\361\376\325\301\003\021a\020\341\305\355\260>"
.ascii "\022\301A!`\020\311\315\220\346(\315A\355\315\213\351\325\315"
.ascii "\220\346,\315A\355\315\220\346)\315\213\351\345\375\341\315\226"
.ascii "\377\365\315\302\377\315\021\376\361\006\300\260\311"
.string "\315\025\377\365~\376\300\322P\377\361w\375\345\341\311\301\260\303K\377\315\025\377\365~\376\300\332u\377\006?\240\301\240\312L\377~\346?\250\376\300\302K\377> \303K\377\301\303L\377\315\025\377F\315\355\377\302\221\377>"
.string "\006\001\341\375\345\021\035\356\325\303\362\360\006"
.string "\303\207\377\301\341\345\305}\006\001\240\365\325\341\021"
.string ""
.string "\001\003"
.string "#\355B\023\312\261\377\362\250\377\t\361\267}\312\272\377\306\003G>\001\007\020\375\037\311\301\361\341\365}\037\306\001\346?g\345\305{\311\315\325\374~\311:\316\020\376\377\302\006\351\303\020\351\315\201\353\303\362\345\315\201\353\303\362\345\365\240\301\270>"
.ascii "\311\315\233\346\303\201\353\303\336\375\303\261\340"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.type chain_nm_5_external_cost_s0, %object
.size chain_nm_5_external_cost_s0, 112
chain_nm_5_external_cost_s0:
.word 24
.word 1
.word 0
.word 24
.word 0
.word 1
.word 2
.word 3
.word 4
.word 5
.word 6
.word 7
.word 8
.word 9
.word 10
.word 11
.word 12
.word 13
.word 14
.word 15
.word 16
.word 17
.word 18
.word 19
.word 20
.word 21
.word 22
.word 23
.align 3
.type chain_nm_5_external_cost_s1, %object
.size chain_nm_5_external_cost_s1, 28
chain_nm_5_external_cost_s1:
.word 3
.word 1
.word 0
.word 3
.word 0
.word 1
.word 2
.align 3
.type chain_nm_5_external_cost_s2, %object
.size chain_nm_5_external_cost_s2, 20
chain_nm_5_external_cost_s2:
.word 1
.word 1
.word 0
.word 1
.word 0
.align 3
.type chain_nm_5_external_cost_s3, %object
.size chain_nm_5_external_cost_s3, 124
chain_nm_5_external_cost_s3:
.word 27
.word 1
.word 0
.word 27
.word 0
.word 1
.word 2
.word 3
.word 4
.word 5
.word 6
.word 7
.word 8
.word 9
.word 10
.word 11
.word 12
.word 13
.word 14
.word 15
.word 16
.word 17
.word 18
.word 19
.word 20
.word 21
.word 22
.word 23
.word 24
.word 25
.word 26
.align 3
.type chain_nm_5_external_cost_s4, %object
.size chain_nm_5_external_cost_s4, 228
chain_nm_5_external_cost_s4:
.word 27
.word 27
.word 0
.word 1
.word 2
.word 3
.word 4
.word 5
.word 6
.word 7
.word 8
.word 9
.word 10
.word 11
.word 12
.word 13
.word 14
.word 15
.word 16
.word 17
.word 18
.word 19
.word 20
.word 21
.word 22
.word 23
.word 24
.word 25
.word 26
.word 27
.word 0
.word 1
.word 2
.word 3
.word 4
.word 5
.word 6
.word 7
.word 8
.word 9
.word 10
.word 11
.word 12
.word 13
.word 14
.word 15
.word 16
.word 17
.word 18
.word 19
.word 20
.word 21
.word 22
.word 23
.word 24
.word 25
.word 26
.text
.align 2
.global chain_nm_5_external_cost_sq
.type chain_nm_5_external_cost_sq, %function
chain_nm_5_external_cost_sq:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, 8]
ldr d0, [sp, 8]
fmul d0, d0, d0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size chain_nm_5_external_cost_sq, .-chain_nm_5_external_cost_sq
.align 2
.type chain_nm_5_external_cost_f0, %function
chain_nm_5_external_cost_f0:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -320]!
.cfi_def_cfa_offset 320
.cfi_offset 29, -320
.cfi_offset 30, -312
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str x4, [sp, 24]
fmov d0, 5.0e-1
str d0, [sp, 72]
ldr x0, [sp, 56]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L4
ldr x0, [sp, 56]
add x0, x0, 8
ldr x0, [x0]
ldr d0, [x0]
b .L5
.L4:
movi d0, #0
.L5:
str d0, [sp, 80]
ldr d0, [sp, 80]
bl chain_nm_5_external_cost_sq
str d0, [sp, 88]
ldr d1, [sp, 88]
ldr d0, [sp, 72]
fmul d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L6
ldr x0, [sp, 56]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 8
ldr d0, [x0]
b .L7
.L6:
movi d0, #0
.L7:
str d0, [sp, 96]
ldr d0, [sp, 96]
bl chain_nm_5_external_cost_sq
str d0, [sp, 104]
ldr d1, [sp, 104]
ldr d0, [sp, 72]
fmul d0, d1, d0
str d0, [sp, 104]
ldr d1, [sp, 88]
ldr d0, [sp, 104]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L8
ldr x0, [sp, 56]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 16
ldr d0, [x0]
b .L9
.L8:
movi d0, #0
.L9:
str d0, [sp, 104]
ldr d0, [sp, 104]
bl chain_nm_5_external_cost_sq
str d0, [sp, 112]
ldr d1, [sp, 112]
ldr d0, [sp, 72]
fmul d0, d1, d0
str d0, [sp, 112]
ldr d1, [sp, 88]
ldr d0, [sp, 112]
fadd d0, d1, d0
str d0, [sp, 88]
adrp x0, .LC0
ldr d0, [x0, #:lo12:.LC0]
str d0, [sp, 112]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L10
ldr x0, [sp, 56]
ldr x0, [x0]
ldr d0, [x0]
b .L11
.L10:
movi d0, #0
.L11:
str d0, [sp, 120]
adrp x0, .LC1
ldr d0, [x0, #:lo12:.LC1]
str d0, [sp, 128]
ldr d1, [sp, 120]
ldr d0, [sp, 128]
fsub d0, d1, d0
str d0, [sp, 120]
ldr d0, [sp, 120]
bl chain_nm_5_external_cost_sq
str d0, [sp, 128]
ldr d1, [sp, 128]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 128]
ldr d1, [sp, 88]
ldr d0, [sp, 128]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L12
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 8
ldr d0, [x0]
b .L13
.L12:
movi d0, #0
.L13:
str d0, [sp, 128]
adrp x0, .LC2
ldr d0, [x0, #:lo12:.LC2]
str d0, [sp, 136]
ldr d1, [sp, 128]
ldr d0, [sp, 136]
fsub d0, d1, d0
str d0, [sp, 128]
ldr d0, [sp, 128]
bl chain_nm_5_external_cost_sq
str d0, [sp, 136]
ldr d1, [sp, 136]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 136]
ldr d1, [sp, 88]
ldr d0, [sp, 136]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L14
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 16
ldr d0, [x0]
b .L15
.L14:
movi d0, #0
.L15:
str d0, [sp, 136]
adrp x0, .LC3
ldr d0, [x0, #:lo12:.LC3]
str d0, [sp, 144]
ldr d1, [sp, 136]
ldr d0, [sp, 144]
fsub d0, d1, d0
str d0, [sp, 136]
ldr d0, [sp, 136]
bl chain_nm_5_external_cost_sq
str d0, [sp, 144]
ldr d1, [sp, 144]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 144]
ldr d1, [sp, 88]
ldr d0, [sp, 144]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L16
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 24
ldr d0, [x0]
b .L17
.L16:
movi d0, #0
.L17:
str d0, [sp, 144]
ldr d0, [sp, 144]
bl chain_nm_5_external_cost_sq
str d0, [sp, 152]
ldr d1, [sp, 152]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 152]
ldr d1, [sp, 88]
ldr d0, [sp, 152]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L18
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 32
ldr d0, [x0]
b .L19
.L18:
movi d0, #0
.L19:
str d0, [sp, 152]
ldr d0, [sp, 152]
bl chain_nm_5_external_cost_sq
str d0, [sp, 160]
ldr d1, [sp, 160]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 160]
ldr d1, [sp, 88]
ldr d0, [sp, 160]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L20
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 40
ldr d0, [x0]
b .L21
.L20:
movi d0, #0
.L21:
str d0, [sp, 160]
ldr d0, [sp, 160]
bl chain_nm_5_external_cost_sq
str d0, [sp, 168]
ldr d1, [sp, 168]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 168]
ldr d1, [sp, 88]
ldr d0, [sp, 168]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L22
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 48
ldr d0, [x0]
b .L23
.L22:
movi d0, #0
.L23:
str d0, [sp, 168]
adrp x0, .LC4
ldr d0, [x0, #:lo12:.LC4]
str d0, [sp, 176]
ldr d1, [sp, 168]
ldr d0, [sp, 176]
fsub d0, d1, d0
str d0, [sp, 168]
ldr d0, [sp, 168]
bl chain_nm_5_external_cost_sq
str d0, [sp, 176]
ldr d1, [sp, 176]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 176]
ldr d1, [sp, 88]
ldr d0, [sp, 176]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L24
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 56
ldr d0, [x0]
b .L25
.L24:
movi d0, #0
.L25:
str d0, [sp, 176]
adrp x0, .LC5
ldr d0, [x0, #:lo12:.LC5]
str d0, [sp, 184]
ldr d1, [sp, 176]
ldr d0, [sp, 184]
fsub d0, d1, d0
str d0, [sp, 176]
ldr d0, [sp, 176]
bl chain_nm_5_external_cost_sq
str d0, [sp, 184]
ldr d1, [sp, 184]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 184]
ldr d1, [sp, 88]
ldr d0, [sp, 184]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L26
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 64
ldr d0, [x0]
b .L27
.L26:
movi d0, #0
.L27:
str d0, [sp, 184]
adrp x0, .LC6
ldr d0, [x0, #:lo12:.LC6]
str d0, [sp, 192]
ldr d1, [sp, 184]
ldr d0, [sp, 192]
fsub d0, d1, d0
str d0, [sp, 184]
ldr d0, [sp, 184]
bl chain_nm_5_external_cost_sq
str d0, [sp, 192]
ldr d1, [sp, 192]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 192]
ldr d1, [sp, 88]
ldr d0, [sp, 192]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L28
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 72
ldr d0, [x0]
b .L29
.L28:
movi d0, #0
.L29:
str d0, [sp, 192]
adrp x0, .LC7
ldr d0, [x0, #:lo12:.LC7]
str d0, [sp, 200]
ldr d1, [sp, 192]
ldr d0, [sp, 200]
fsub d0, d1, d0
str d0, [sp, 192]
ldr d0, [sp, 192]
bl chain_nm_5_external_cost_sq
str d0, [sp, 200]
ldr d1, [sp, 200]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 200]
ldr d1, [sp, 88]
ldr d0, [sp, 200]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L30
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 80
ldr d0, [x0]
b .L31
.L30:
movi d0, #0
.L31:
str d0, [sp, 200]
adrp x0, .LC8
ldr d0, [x0, #:lo12:.LC8]
str d0, [sp, 208]
ldr d1, [sp, 200]
ldr d0, [sp, 208]
fsub d0, d1, d0
str d0, [sp, 200]
ldr d0, [sp, 200]
bl chain_nm_5_external_cost_sq
str d0, [sp, 208]
ldr d1, [sp, 208]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 208]
ldr d1, [sp, 88]
ldr d0, [sp, 208]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L32
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 88
ldr d0, [x0]
b .L33
.L32:
movi d0, #0
.L33:
str d0, [sp, 208]
adrp x0, .LC9
ldr d0, [x0, #:lo12:.LC9]
str d0, [sp, 216]
ldr d1, [sp, 208]
ldr d0, [sp, 216]
fsub d0, d1, d0
str d0, [sp, 208]
ldr d0, [sp, 208]
bl chain_nm_5_external_cost_sq
str d0, [sp, 216]
ldr d1, [sp, 216]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 216]
ldr d1, [sp, 88]
ldr d0, [sp, 216]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L34
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 96
ldr d0, [x0]
b .L35
.L34:
movi d0, #0
.L35:
str d0, [sp, 216]
adrp x0, .LC10
ldr d0, [x0, #:lo12:.LC10]
str d0, [sp, 224]
ldr d1, [sp, 216]
ldr d0, [sp, 224]
fsub d0, d1, d0
str d0, [sp, 216]
ldr d0, [sp, 216]
bl chain_nm_5_external_cost_sq
str d0, [sp, 224]
ldr d1, [sp, 224]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 224]
ldr d1, [sp, 88]
ldr d0, [sp, 224]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L36
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 104
ldr d0, [x0]
b .L37
.L36:
movi d0, #0
.L37:
str d0, [sp, 224]
adrp x0, .LC11
ldr d0, [x0, #:lo12:.LC11]
str d0, [sp, 232]
ldr d1, [sp, 224]
ldr d0, [sp, 232]
fsub d0, d1, d0
str d0, [sp, 224]
ldr d0, [sp, 224]
bl chain_nm_5_external_cost_sq
str d0, [sp, 232]
ldr d1, [sp, 232]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 232]
ldr d1, [sp, 88]
ldr d0, [sp, 232]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L38
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 112
ldr d0, [x0]
b .L39
.L38:
movi d0, #0
.L39:
str d0, [sp, 232]
adrp x0, .LC12
ldr d0, [x0, #:lo12:.LC12]
str d0, [sp, 240]
ldr d1, [sp, 232]
ldr d0, [sp, 240]
fsub d0, d1, d0
str d0, [sp, 232]
ldr d0, [sp, 232]
bl chain_nm_5_external_cost_sq
str d0, [sp, 240]
ldr d1, [sp, 240]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 240]
ldr d1, [sp, 88]
ldr d0, [sp, 240]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L40
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 120
ldr d0, [x0]
b .L41
.L40:
movi d0, #0
.L41:
str d0, [sp, 240]
adrp x0, .LC13
ldr d0, [x0, #:lo12:.LC13]
str d0, [sp, 248]
ldr d1, [sp, 240]
ldr d0, [sp, 248]
fsub d0, d1, d0
str d0, [sp, 240]
ldr d0, [sp, 240]
bl chain_nm_5_external_cost_sq
str d0, [sp, 248]
ldr d1, [sp, 248]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 248]
ldr d1, [sp, 88]
ldr d0, [sp, 248]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L42
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 128
ldr d0, [x0]
b .L43
.L42:
movi d0, #0
.L43:
str d0, [sp, 248]
adrp x0, .LC14
ldr d0, [x0, #:lo12:.LC14]
str d0, [sp, 256]
ldr d1, [sp, 248]
ldr d0, [sp, 256]
fsub d0, d1, d0
str d0, [sp, 248]
ldr d0, [sp, 248]
bl chain_nm_5_external_cost_sq
str d0, [sp, 256]
ldr d1, [sp, 256]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 256]
ldr d1, [sp, 88]
ldr d0, [sp, 256]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L44
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 136
ldr d0, [x0]
b .L45
.L44:
movi d0, #0
.L45:
str d0, [sp, 256]
adrp x0, .LC15
ldr d0, [x0, #:lo12:.LC15]
str d0, [sp, 264]
ldr d1, [sp, 256]
ldr d0, [sp, 264]
fsub d0, d1, d0
str d0, [sp, 256]
ldr d0, [sp, 256]
bl chain_nm_5_external_cost_sq
str d0, [sp, 264]
ldr d1, [sp, 264]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 264]
ldr d1, [sp, 88]
ldr d0, [sp, 264]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L46
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 144
ldr d0, [x0]
b .L47
.L46:
movi d0, #0
.L47:
str d0, [sp, 264]
adrp x0, .LC16
ldr d0, [x0, #:lo12:.LC16]
str d0, [sp, 272]
ldr d1, [sp, 264]
ldr d0, [sp, 272]
fsub d0, d1, d0
str d0, [sp, 264]
ldr d0, [sp, 264]
bl chain_nm_5_external_cost_sq
str d0, [sp, 272]
ldr d1, [sp, 272]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 272]
ldr d1, [sp, 88]
ldr d0, [sp, 272]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L48
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 152
ldr d0, [x0]
b .L49
.L48:
movi d0, #0
.L49:
str d0, [sp, 272]
adrp x0, .LC17
ldr d0, [x0, #:lo12:.LC17]
str d0, [sp, 280]
ldr d1, [sp, 272]
ldr d0, [sp, 280]
fsub d0, d1, d0
str d0, [sp, 272]
ldr d0, [sp, 272]
bl chain_nm_5_external_cost_sq
str d0, [sp, 280]
ldr d1, [sp, 280]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 280]
ldr d1, [sp, 88]
ldr d0, [sp, 280]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L50
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 160
ldr d0, [x0]
b .L51
.L50:
movi d0, #0
.L51:
str d0, [sp, 280]
adrp x0, .LC18
ldr d0, [x0, #:lo12:.LC18]
str d0, [sp, 288]
ldr d1, [sp, 280]
ldr d0, [sp, 288]
fsub d0, d1, d0
str d0, [sp, 280]
ldr d0, [sp, 280]
bl chain_nm_5_external_cost_sq
str d0, [sp, 288]
ldr d1, [sp, 288]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 288]
ldr d1, [sp, 88]
ldr d0, [sp, 288]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L52
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 168
ldr d0, [x0]
b .L53
.L52:
movi d0, #0
.L53:
str d0, [sp, 288]
ldr d0, [sp, 288]
bl chain_nm_5_external_cost_sq
str d0, [sp, 296]
ldr d1, [sp, 296]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 296]
ldr d1, [sp, 88]
ldr d0, [sp, 296]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L54
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 176
ldr d0, [x0]
b .L55
.L54:
movi d0, #0
.L55:
str d0, [sp, 296]
ldr d0, [sp, 296]
bl chain_nm_5_external_cost_sq
str d0, [sp, 304]
ldr d1, [sp, 304]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 304]
ldr d1, [sp, 88]
ldr d0, [sp, 304]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L56
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x0, 184
ldr d0, [x0]
b .L57
.L56:
movi d0, #0
.L57:
str d0, [sp, 304]
ldr d0, [sp, 304]
bl chain_nm_5_external_cost_sq
str d0, [sp, 312]
ldr d1, [sp, 312]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 312]
ldr d1, [sp, 88]
ldr d0, [sp, 312]
fadd d0, d1, d0
str d0, [sp, 88]
ldr x0, [sp, 48]
ldr x0, [x0]
cmp x0, 0
beq .L58
ldr x0, [sp, 48]
ldr x0, [x0]
ldr d0, [sp, 88]
str d0, [x0]
.L58:
ldr d0, [sp, 80]
fadd d0, d0, d0
str d0, [sp, 80]
ldr d1, [sp, 80]
ldr d0, [sp, 72]
fmul d0, d1, d0
str d0, [sp, 80]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L59
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
ldr d0, [sp, 80]
str d0, [x0]
.L59:
ldr d0, [sp, 96]
fadd d0, d0, d0
str d0, [sp, 96]
ldr d1, [sp, 96]
ldr d0, [sp, 72]
fmul d0, d1, d0
str d0, [sp, 96]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L60
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 8
ldr d0, [sp, 96]
str d0, [x0]
.L60:
ldr d0, [sp, 104]
fadd d0, d0, d0
str d0, [sp, 104]
ldr d1, [sp, 72]
ldr d0, [sp, 104]
fmul d0, d1, d0
str d0, [sp, 72]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L61
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 16
ldr d0, [sp, 72]
str d0, [x0]
.L61:
ldr d0, [sp, 120]
fadd d0, d0, d0
str d0, [sp, 120]
ldr d1, [sp, 120]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 120]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L62
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 24
ldr d0, [sp, 120]
str d0, [x0]
.L62:
ldr d0, [sp, 128]
fadd d0, d0, d0
str d0, [sp, 128]
ldr d1, [sp, 128]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 128]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L63
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 32
ldr d0, [sp, 128]
str d0, [x0]
.L63:
ldr d0, [sp, 136]
fadd d0, d0, d0
str d0, [sp, 136]
ldr d1, [sp, 136]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 136]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L64
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 40
ldr d0, [sp, 136]
str d0, [x0]
.L64:
ldr d0, [sp, 144]
fadd d0, d0, d0
str d0, [sp, 144]
ldr d1, [sp, 144]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 144]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L65
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 48
ldr d0, [sp, 144]
str d0, [x0]
.L65:
ldr d0, [sp, 152]
fadd d0, d0, d0
str d0, [sp, 152]
ldr d1, [sp, 152]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 152]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L66
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 56
ldr d0, [sp, 152]
str d0, [x0]
.L66:
ldr d0, [sp, 160]
fadd d0, d0, d0
str d0, [sp, 160]
ldr d1, [sp, 160]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 160]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L67
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 64
ldr d0, [sp, 160]
str d0, [x0]
.L67:
ldr d0, [sp, 168]
fadd d0, d0, d0
str d0, [sp, 168]
ldr d1, [sp, 168]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 168]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L68
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 72
ldr d0, [sp, 168]
str d0, [x0]
.L68:
ldr d0, [sp, 176]
fadd d0, d0, d0
str d0, [sp, 176]
ldr d1, [sp, 176]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 176]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L69
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 80
ldr d0, [sp, 176]
str d0, [x0]
.L69:
ldr d0, [sp, 184]
fadd d0, d0, d0
str d0, [sp, 184]
ldr d1, [sp, 184]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 184]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L70
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 88
ldr d0, [sp, 184]
str d0, [x0]
.L70:
ldr d0, [sp, 192]
fadd d0, d0, d0
str d0, [sp, 192]
ldr d1, [sp, 192]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 192]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L71
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 96
ldr d0, [sp, 192]
str d0, [x0]
.L71:
ldr d0, [sp, 200]
fadd d0, d0, d0
str d0, [sp, 200]
ldr d1, [sp, 200]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 200]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L72
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 104
ldr d0, [sp, 200]
str d0, [x0]
.L72:
ldr d0, [sp, 208]
fadd d0, d0, d0
str d0, [sp, 208]
ldr d1, [sp, 208]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 208]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L73
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 112
ldr d0, [sp, 208]
str d0, [x0]
.L73:
ldr d0, [sp, 216]
fadd d0, d0, d0
str d0, [sp, 216]
ldr d1, [sp, 216]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 216]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L74
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 120
ldr d0, [sp, 216]
str d0, [x0]
.L74:
ldr d0, [sp, 224]
fadd d0, d0, d0
str d0, [sp, 224]
ldr d1, [sp, 224]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 224]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L75
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 128
ldr d0, [sp, 224]
str d0, [x0]
.L75:
ldr d0, [sp, 232]
fadd d0, d0, d0
str d0, [sp, 232]
ldr d1, [sp, 232]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 232]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L76
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 136
ldr d0, [sp, 232]
str d0, [x0]
.L76:
ldr d0, [sp, 240]
fadd d0, d0, d0
str d0, [sp, 240]
ldr d1, [sp, 240]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 240]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L77
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 144
ldr d0, [sp, 240]
str d0, [x0]
.L77:
ldr d0, [sp, 248]
fadd d0, d0, d0
str d0, [sp, 248]
ldr d1, [sp, 248]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 248]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L78
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 152
ldr d0, [sp, 248]
str d0, [x0]
.L78:
ldr d0, [sp, 256]
fadd d0, d0, d0
str d0, [sp, 256]
ldr d1, [sp, 256]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 256]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L79
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 160
ldr d0, [sp, 256]
str d0, [x0]
.L79:
ldr d0, [sp, 264]
fadd d0, d0, d0
str d0, [sp, 264]
ldr d1, [sp, 264]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 264]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L80
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 168
ldr d0, [sp, 264]
str d0, [x0]
.L80:
ldr d0, [sp, 272]
fadd d0, d0, d0
str d0, [sp, 272]
ldr d1, [sp, 272]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 272]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L81
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 176
ldr d0, [sp, 272]
str d0, [x0]
.L81:
ldr d0, [sp, 280]
fadd d0, d0, d0
str d0, [sp, 280]
ldr d1, [sp, 280]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 280]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L82
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 184
ldr d0, [sp, 280]
str d0, [x0]
.L82:
ldr d0, [sp, 288]
fadd d0, d0, d0
str d0, [sp, 288]
ldr d1, [sp, 288]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 288]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L83
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 192
ldr d0, [sp, 288]
str d0, [x0]
.L83:
ldr d0, [sp, 296]
fadd d0, d0, d0
str d0, [sp, 296]
ldr d1, [sp, 296]
ldr d0, [sp, 112]
fmul d0, d1, d0
str d0, [sp, 296]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L84
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 200
ldr d0, [sp, 296]
str d0, [x0]
.L84:
ldr d0, [sp, 304]
fadd d0, d0, d0
str d0, [sp, 304]
ldr d1, [sp, 112]
ldr d0, [sp, 304]
fmul d0, d1, d0
str d0, [sp, 112]
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L85
ldr x0, [sp, 48]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 208
ldr d0, [sp, 112]
str d0, [x0]
.L85:
fmov d0, 1.0e+0
str d0, [sp, 112]
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L86
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
ldr d0, [sp, 112]
str d0, [x0]
.L86:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L87
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 8
ldr d0, [sp, 112]
str d0, [x0]
.L87:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L88
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 16
ldr d0, [sp, 112]
str d0, [x0]
.L88:
adrp x0, .LC19
ldr d0, [x0, #:lo12:.LC19]
str d0, [sp, 112]
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L89
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 24
ldr d0, [sp, 112]
str d0, [x0]
.L89:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L90
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 32
ldr d0, [sp, 112]
str d0, [x0]
.L90:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L91
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 40
ldr d0, [sp, 112]
str d0, [x0]
.L91:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L92
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 48
ldr d0, [sp, 112]
str d0, [x0]
.L92:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L93
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 56
ldr d0, [sp, 112]
str d0, [x0]
.L93:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L94
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 64
ldr d0, [sp, 112]
str d0, [x0]
.L94:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L95
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 72
ldr d0, [sp, 112]
str d0, [x0]
.L95:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L96
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 80
ldr d0, [sp, 112]
str d0, [x0]
.L96:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L97
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 88
ldr d0, [sp, 112]
str d0, [x0]
.L97:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L98
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 96
ldr d0, [sp, 112]
str d0, [x0]
.L98:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L99
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 104
ldr d0, [sp, 112]
str d0, [x0]
.L99:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L100
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 112
ldr d0, [sp, 112]
str d0, [x0]
.L100:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L101
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 120
ldr d0, [sp, 112]
str d0, [x0]
.L101:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L102
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 128
ldr d0, [sp, 112]
str d0, [x0]
.L102:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L103
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 136
ldr d0, [sp, 112]
str d0, [x0]
.L103:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L104
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 144
ldr d0, [sp, 112]
str d0, [x0]
.L104:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L105
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 152
ldr d0, [sp, 112]
str d0, [x0]
.L105:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L106
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 160
ldr d0, [sp, 112]
str d0, [x0]
.L106:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L107
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 168
ldr d0, [sp, 112]
str d0, [x0]
.L107:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L108
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 176
ldr d0, [sp, 112]
str d0, [x0]
.L108:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L109
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 184
ldr d0, [sp, 112]
str d0, [x0]
.L109:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L110
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 192
ldr d0, [sp, 112]
str d0, [x0]
.L110:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L111
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 200
ldr d0, [sp, 112]
str d0, [x0]
.L111:
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L112
ldr x0, [sp, 48]
add x0, x0, 16
ldr x0, [x0]
add x0, x0, 208
ldr d0, [sp, 112]
str d0, [x0]
.L112:
mov w0, 0
ldp x29, x30, [sp], 320
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size chain_nm_5_external_cost_f0, .-chain_nm_5_external_cost_f0
.align 2
.global chain_nm_5_external_cost
.type chain_nm_5_external_cost, %function
chain_nm_5_external_cost:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str x4, [sp, 24]
ldr x4, [sp, 24]
ldr x3, [sp, 32]
ldr x2, [sp, 40]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl chain_nm_5_external_cost_f0
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size chain_nm_5_external_cost, .-chain_nm_5_external_cost
.align 2
.global chain_nm_5_external_cost_incref
.type chain_nm_5_external_cost_incref, %function
chain_nm_5_external_cost_incref:
.LFB3:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE3:
.size chain_nm_5_external_cost_incref, .-chain_nm_5_external_cost_incref
.align 2
.global chain_nm_5_external_cost_decref
.type chain_nm_5_external_cost_decref, %function
chain_nm_5_external_cost_decref:
.LFB4:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE4:
.size chain_nm_5_external_cost_decref, .-chain_nm_5_external_cost_decref
.align 2
.global chain_nm_5_external_cost_n_in
.type chain_nm_5_external_cost_n_in, %function
chain_nm_5_external_cost_n_in:
.LFB5:
.cfi_startproc
mov w0, 2
ret
.cfi_endproc
.LFE5:
.size chain_nm_5_external_cost_n_in, .-chain_nm_5_external_cost_n_in
.align 2
.global chain_nm_5_external_cost_n_out
.type chain_nm_5_external_cost_n_out, %function
chain_nm_5_external_cost_n_out:
.LFB6:
.cfi_startproc
mov w0, 3
ret
.cfi_endproc
.LFE6:
.size chain_nm_5_external_cost_n_out, .-chain_nm_5_external_cost_n_out
.section .rodata
.align 3
.LC20:
.string "i0"
.align 3
.LC21:
.string "i1"
.text
.align 2
.global chain_nm_5_external_cost_name_in
.type chain_nm_5_external_cost_name_in, %function
chain_nm_5_external_cost_name_in:
.LFB7:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
cmp w0, 0
beq .L123
ldr w0, [sp, 12]
cmp w0, 1
beq .L124
b .L127
.L123:
adrp x0, .LC20
add x0, x0, :lo12:.LC20
b .L126
.L124:
adrp x0, .LC21
add x0, x0, :lo12:.LC21
b .L126
.L127:
mov x0, 0
.L126:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size chain_nm_5_external_cost_name_in, .-chain_nm_5_external_cost_name_in
.section .rodata
.align 3
.LC22:
.string "o0"
.align 3
.LC23:
.string "o1"
.align 3
.LC24:
.string "o2"
.text
.align 2
.global chain_nm_5_external_cost_name_out
.type chain_nm_5_external_cost_name_out, %function
chain_nm_5_external_cost_name_out:
.LFB8:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
cmp w0, 2
beq .L129
ldr w0, [sp, 12]
cmp w0, 2
bgt .L130
ldr w0, [sp, 12]
cmp w0, 0
beq .L131
ldr w0, [sp, 12]
cmp w0, 1
beq .L132
b .L130
.L131:
adrp x0, .LC22
add x0, x0, :lo12:.LC22
b .L133
.L132:
adrp x0, .LC23
add x0, x0, :lo12:.LC23
b .L133
.L129:
adrp x0, .LC24
add x0, x0, :lo12:.LC24
b .L133
.L130:
mov x0, 0
.L133:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size chain_nm_5_external_cost_name_out, .-chain_nm_5_external_cost_name_out
.align 2
.global chain_nm_5_external_cost_sparsity_in
.type chain_nm_5_external_cost_sparsity_in, %function
chain_nm_5_external_cost_sparsity_in:
.LFB9:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
cmp w0, 0
beq .L135
ldr w0, [sp, 12]
cmp w0, 1
beq .L136
b .L139
.L135:
adrp x0, chain_nm_5_external_cost_s0
add x0, x0, :lo12:chain_nm_5_external_cost_s0
b .L138
.L136:
adrp x0, chain_nm_5_external_cost_s1
add x0, x0, :lo12:chain_nm_5_external_cost_s1
b .L138
.L139:
mov x0, 0
.L138:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size chain_nm_5_external_cost_sparsity_in, .-chain_nm_5_external_cost_sparsity_in
.align 2
.global chain_nm_5_external_cost_sparsity_out
.type chain_nm_5_external_cost_sparsity_out, %function
chain_nm_5_external_cost_sparsity_out:
.LFB10:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
cmp w0, 2
beq .L141
ldr w0, [sp, 12]
cmp w0, 2
bgt .L142
ldr w0, [sp, 12]
cmp w0, 0
beq .L143
ldr w0, [sp, 12]
cmp w0, 1
beq .L144
b .L142
.L143:
adrp x0, chain_nm_5_external_cost_s2
add x0, x0, :lo12:chain_nm_5_external_cost_s2
b .L145
.L144:
adrp x0, chain_nm_5_external_cost_s3
add x0, x0, :lo12:chain_nm_5_external_cost_s3
b .L145
.L141:
adrp x0, chain_nm_5_external_cost_s4
add x0, x0, :lo12:chain_nm_5_external_cost_s4
b .L145
.L142:
mov x0, 0
.L145:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size chain_nm_5_external_cost_sparsity_out, .-chain_nm_5_external_cost_sparsity_out
.align 2
.global chain_nm_5_external_cost_work
.type chain_nm_5_external_cost_work, %function
chain_nm_5_external_cost_work:
.LFB11:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 24]
str x1, [sp, 16]
str x2, [sp, 8]
str x3, [sp]
ldr x0, [sp, 24]
cmp x0, 0
beq .L147
ldr x0, [sp, 24]
mov w1, 2
str w1, [x0]
.L147:
ldr x0, [sp, 16]
cmp x0, 0
beq .L148
ldr x0, [sp, 16]
mov w1, 3
str w1, [x0]
.L148:
ldr x0, [sp, 8]
cmp x0, 0
beq .L149
ldr x0, [sp, 8]
str wzr, [x0]
.L149:
ldr x0, [sp]
cmp x0, 0
beq .L150
ldr x0, [sp]
str wzr, [x0]
.L150:
mov w0, 0
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size chain_nm_5_external_cost_work, .-chain_nm_5_external_cost_work
.section .rodata
.align 3
.LC0:
.word 1202590843
.word 1064598241
.align 3
.LC1:
.word -838597519
.word 1070558125
.align 3
.LC2:
.word 104017610
.word 1011522581
.align 3
.LC3:
.word 1839263051
.word -1076386672
.align 3
.LC4:
.word -160253820
.word 1071655118
.align 3
.LC5:
.word -55470959
.word 1012621007
.align 3
.LC6:
.word -1987037414
.word -1076158481
.align 3
.LC7:
.word 115128153
.word -1179936480
.align 3
.LC8:
.word -1883764755
.word 965010645
.align 3
.LC9:
.word -1301087213
.word 964204489
.align 3
.LC10:
.word 1562845828
.word 1072178500
.align 3
.LC11:
.word 1434257189
.word 1013215956
.align 3
.LC12:
.word -1191045971
.word -1077702204
.align 3
.LC13:
.word -1782930772
.word -1213939993
.align 3
.LC14:
.word 91789912
.word 931318128
.align 3
.LC15:
.word 1441721202
.word 929848671
.align 3
.LC16:
.word -965481160
.word 1072681793
.align 3
.LC17:
.word -366689430
.word 1013642187
.align 3
.LC18:
.word -544423182
.word 1071302858
.align 3
.LC19:
.word 1202590843
.word 1065646817
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "w+"
.align 3
.LC1:
.string "fopen"
.align 3
.LC2:
.string "program.c"
.align 3
.LC3:
.string "%s:%d\n"
.align 3
.LC4:
.string "."
.align 3
.LC5:
.string "opendir"
.align 3
.LC6:
.string "lstat"
.align 3
.LC7:
.string "%s\n"
.align 3
.LC8:
.string "readdir"
.align 3
.LC9:
.string "closedir"
.align 3
.LC10:
.string "ZAJETOSC: %d\n"
.align 3
.LC11:
.string "fclose"
.text
.align 2
.global etap1
.type etap1, %function
etap1:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -192]!
.cfi_def_cfa_offset 192
.cfi_offset 29, -192
.cfi_offset 30, -184
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 184]
mov x1, 0
str xzr, [sp, 32]
str wzr, [sp, 20]
ldr x0, [sp, 32]
cmp x0, 0
beq .L2
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 32]
bl fopen
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl perror
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
mov w3, 21
adrp x0, .LC2
add x2, x0, :lo12:.LC2
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x4
bl fprintf
mov w0, 1
bl exit
.L2:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl opendir
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L3
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl perror
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
mov w3, 22
adrp x0, .LC2
add x2, x0, :lo12:.LC2
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x4
bl fprintf
mov w0, 1
bl exit
.L3:
bl __errno_location
str wzr, [x0]
ldr x0, [sp, 40]
bl readdir
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L4
ldr x0, [sp, 48]
add x0, x0, 19
add x1, sp, 56
bl lstat
cmp w0, 0
beq .L5
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl perror
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
mov w3, 26
adrp x0, .LC2
add x2, x0, :lo12:.LC2
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x4
bl fprintf
mov w0, 1
bl exit
.L5:
ldr x0, [sp, 104]
mov w1, w0
ldr w0, [sp, 20]
add w0, w1, w0
str w0, [sp, 20]
ldr x0, [sp, 32]
cmp x0, 0
bne .L6
ldr x0, [sp, 48]
add x0, x0, 19
bl puts
b .L4
.L6:
ldr x0, [sp, 48]
add x0, x0, 19
mov x2, x0
adrp x0, .LC7
add x1, x0, :lo12:.LC7
ldr x0, [sp, 24]
bl fprintf
.L4:
ldr x0, [sp, 48]
cmp x0, 0
bne .L3
bl __errno_location
ldr w0, [x0]
cmp w0, 0
beq .L7
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl perror
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
mov w3, 34
adrp x0, .LC2
add x2, x0, :lo12:.LC2
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x4
bl fprintf
mov w0, 1
bl exit
.L7:
ldr x0, [sp, 40]
bl closedir
cmp w0, 0
beq .L8
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl perror
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
mov w3, 35
adrp x0, .LC2
add x2, x0, :lo12:.LC2
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x4
bl fprintf
mov w0, 1
bl exit
.L8:
ldr x0, [sp, 32]
cmp x0, 0
bne .L9
ldr w1, [sp, 20]
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
b .L12
.L9:
ldr x0, [sp, 48]
add x0, x0, 19
mov x2, x0
adrp x0, .LC7
add x1, x0, :lo12:.LC7
ldr x0, [sp, 24]
bl fprintf
ldr x0, [sp, 24]
bl fclose
cmp w0, 0
beq .L12
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl perror
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
mov w3, 41
adrp x0, .LC2
add x2, x0, :lo12:.LC2
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x4
bl fprintf
mov w0, 1
bl exit
.L12:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 184]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L11
bl __stack_chk_fail
.L11:
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size etap1, .-etap1
.section .rodata
.align 3
.LC12:
.string "p:o:"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
b .L14
.L17:
cmp w0, 112
bne .L14
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl chdir
bl etap1
b .L14
.L15:
nop
.L14:
adrp x0, .LC12
add x2, x0, :lo12:.LC12
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl getopt
strb w0, [sp, 47]
ldrb w0, [sp, 47]
cmp w0, 111
beq .L15
b .L17
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global DEFAULT_BRICKSIZE
.section .rodata
.align 2
.type DEFAULT_BRICKSIZE, %object
.size DEFAULT_BRICKSIZE, 4
DEFAULT_BRICKSIZE:
.word 256
.global DEFAULT_BUILDER_BRICKSIZE
.align 2
.type DEFAULT_BUILDER_BRICKSIZE, %object
.size DEFAULT_BUILDER_BRICKSIZE, 4
DEFAULT_BUILDER_BRICKSIZE:
.word 64
.global DEFAULT_BRICKOVERLAP
.align 2
.type DEFAULT_BRICKOVERLAP, %object
.size DEFAULT_BRICKOVERLAP, 4
DEFAULT_BRICKOVERLAP:
.word 2
.global DEFAULT_INCORESIZE
.align 2
.type DEFAULT_INCORESIZE, %object
.size DEFAULT_INCORESIZE, 4
DEFAULT_INCORESIZE:
.word 16777216
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.data
.align 3
.type slowarrow_bits, %object
.size slowarrow_bits, 32
slowarrow_bits:
.string "@"
.string "@"
.string "`"
.string "`"
.string "\360\017`"
.string "`"
.string "@\002@\002"
.string "\006"
.string "\006\360\017"
.string "\006"
.string "\006"
.string "\002"
.ascii "\002"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global ft_is_negative
.type ft_is_negative, %function
ft_is_negative:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
ldr w0, [sp, 28]
cmp w0, 0
blt .L2
mov w0, 80
strb w0, [sp, 39]
b .L3
.L2:
mov w0, 78
strb w0, [sp, 39]
.L3:
add x0, sp, 39
mov x2, 1
mov x1, x0
mov w0, 1
bl write
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L4
bl __stack_chk_fail
.L4:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ft_is_negative, .-ft_is_negative
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global X_SIZE_VALUE
.bss
.align 2
.type X_SIZE_VALUE, %object
.size X_SIZE_VALUE, 4
X_SIZE_VALUE:
.zero 4
.global overflow_mode
.data
.align 2
.type overflow_mode, %object
.size overflow_mode, 4
overflow_mode:
.word 1
.global rounding_mode
.bss
.align 2
.type rounding_mode, %object
.size rounding_mode, 4
rounding_mode:
.zero 4
.text
.align 2
.global __DSVERIFIER_assume
.type __DSVERIFIER_assume, %function
__DSVERIFIER_assume:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
strb w0, [sp, 31]
ldrb w0, [sp, 31]
bl __CPROVER_assume
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size __DSVERIFIER_assume, .-__DSVERIFIER_assume
.section .rodata
.align 3
.LC0:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/compatibility.h"
.align 3
.LC1:
.string "expression"
.text
.align 2
.global __DSVERIFIER_assert
.type __DSVERIFIER_assert, %function
__DSVERIFIER_assert:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
strb w0, [sp, 31]
ldrb w0, [sp, 31]
cmp w0, 0
bne .L4
adrp x0, __PRETTY_FUNCTION__.21
add x3, x0, :lo12:__PRETTY_FUNCTION__.21
mov w2, 36
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __assert_fail
.L4:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size __DSVERIFIER_assert, .-__DSVERIFIER_assert
.section .rodata
.align 3
.LC2:
.string "%s"
.text
.align 2
.global __DSVERIFIER_assert_msg
.type __DSVERIFIER_assert_msg, %function
__DSVERIFIER_assert_msg:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
strb w0, [sp, 31]
str x1, [sp, 16]
ldr x1, [sp, 16]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldrb w0, [sp, 31]
cmp w0, 0
bne .L7
adrp x0, __PRETTY_FUNCTION__.20
add x3, x0, :lo12:__PRETTY_FUNCTION__.20
mov w2, 41
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __assert_fail
.L7:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size __DSVERIFIER_assert_msg, .-__DSVERIFIER_assert_msg
.global _fxp_one
.bss
.align 3
.type _fxp_one, %object
.size _fxp_one, 8
_fxp_one:
.zero 8
.global _fxp_half
.align 3
.type _fxp_half, %object
.size _fxp_half, 8
_fxp_half:
.zero 8
.global _fxp_minus_one
.align 3
.type _fxp_minus_one, %object
.size _fxp_minus_one, 8
_fxp_minus_one:
.zero 8
.global _fxp_min
.align 3
.type _fxp_min, %object
.size _fxp_min, 8
_fxp_min:
.zero 8
.global _fxp_max
.align 3
.type _fxp_max, %object
.size _fxp_max, 8
_fxp_max:
.zero 8
.global _dbl_max
.align 3
.type _dbl_max, %object
.size _dbl_max, 8
_dbl_max:
.zero 8
.global _dbl_min
.align 3
.type _dbl_min, %object
.size _dbl_min, 8
_dbl_min:
.zero 8
.global _fxp_fmask
.align 3
.type _fxp_fmask, %object
.size _fxp_fmask, 8
_fxp_fmask:
.zero 8
.global _fxp_imask
.align 3
.type _fxp_imask, %object
.size _fxp_imask, 8
_fxp_imask:
.zero 8
.section .rodata
.align 3
.type scale_factor, %object
.size scale_factor, 248
scale_factor:
.word 0
.word 1072693248
.word 0
.word 1073741824
.word 0
.word 1074790400
.word 0
.word 1075838976
.word 0
.word 1076887552
.word 0
.word 1077936128
.word 0
.word 1078984704
.word 0
.word 1080033280
.word 0
.word 1081081856
.word 0
.word 1082130432
.word 0
.word 1083179008
.word 0
.word 1084227584
.word 0
.word 1085276160
.word 0
.word 1086324736
.word 0
.word 1087373312
.word 0
.word 1088421888
.word 0
.word 1089470464
.word 0
.word 1090519040
.word 0
.word 1091567616
.word 0
.word 1092616192
.word 0
.word 1093664768
.word 0
.word 1094713344
.word 0
.word 1095761920
.word 0
.word 1096810496
.word 0
.word 1097859072
.word 0
.word 1098907648
.word 0
.word 1099956224
.word 0
.word 1101004800
.word 0
.word 1102053376
.word 0
.word 1103101952
.word 0
.word 1104150528
.align 3
.type scale_factor_inv, %object
.size scale_factor_inv, 248
scale_factor_inv:
.word 0
.word 1072693248
.word 0
.word 1071644672
.word 0
.word 1070596096
.word 0
.word 1069547520
.word 0
.word 1068498944
.word 0
.word 1067450368
.word 0
.word 1066401792
.word 0
.word 1065353216
.word 0
.word 1064304640
.word 0
.word 1063256064
.word 0
.word 1062207488
.word 0
.word 1061158912
.word 0
.word 1060110336
.word 0
.word 1059061760
.word 0
.word 1058013184
.word 0
.word 1056964608
.word 147574
.word 1055916032
.word -295148
.word 1054867455
.word 442722
.word 1053818880
.word 442722
.word 1052770304
.word -3836923
.word 1051721727
.word -3836923
.word 1050673151
.word -3836923
.word 1049624575
.word 16971005
.word 1048576000
.word 16971005
.word 1047527424
.word -117173718
.word 1046478847
.word -117173718
.word 1045430271
.word 243644596
.word 1044381696
.word -721636628
.word 1043333119
.word -721636628
.word 1042284543
.word 2057033325
.word 1041235968
.align 3
.type rand_uni, %object
.size rand_uni, 40000
rand_uni:
.word -1090980738
.word -1112175576
.word -1106268981
.word 1050290517
.word 1036740293
.word 1064879289
.word 1065104477
.word 1057904025
.word 1058341827
.word -1105391874
.word 1053059208
.word -1096031224
.word 1064997005
.word -1098026844
.word 1053276161
.word -1103670874
.word 1060153685
.word -1084269022
.word -1082623921
.word -1089152099
.word -1089971858
.word -1099598916
.word -1087529625
.word 1051914755
.word -1101560469
.word 1062690036
.word -1091405365
.word 1059638621
.word -1087982995
.word -1082784013
.word -1113135698
.word 1058999736
.word -1085745433
.word 1019435440
.word 1053364041
.word 1061609359
.word 1035087920
.word 1063349407
.word 1063397950
.word -1098958981
.word -1087313908
.word 1058285497
.word -1082567766
.word -1108276165
.word -1086763766
.word -1091084444
.word -1085128895
.word -1091870424
.word 1041742704
.word 1055095857
.word -1096370585
.word 1057705193
.word -1104590464
.word 1040973022
.word 1057691271
.word 1055864390
.word -1095576813
.word -1087832828
.word 1063848842
.word 1064699740
.word -1085717922
.word 1050443251
.word 1057146058
.word 1036170702
.word 1043458992
.word 1041495254
.word 1016835224
.word -1097256952
.word 1050334643
.word -1086652520
.word 1060129563
.word 1040855016
.word 1057530281
.word -1156296968
.word -1089489913
.word 1055300184
.word -1089353932
.word 1064584069
.word -1098726324
.word -1086159967
.word -1084558434
.word -1105796200
.word -1097153790
.word -1088136037
.word -1094968157
.word 1056690938
.word -1089811181
.word -1083165686
.word 1060051278
.word 1050076832
.word 1004086943
.word -1083287383
.word 1042023236
.word 1059961369
.word -1089932017
.word 1064213982
.word -1122769874
.word -1084694163
.word -1082534712
.word 1059033125
.word -1087813048
.word 1060730859
.word 1050505517
.word 1005731364
.word -1094086494
.word 1023443447
.word 1033720214
.word -1087967840
.word 1063074669
.word -1089027007
.word 1056830924
.word -1084263516
.word 1064997214
.word -1090437037
.word -1091781398
.word 1013462154
.word 1061487913
.word 1064434379
.word -1085783916
.word -1084945539
.word 1061085669
.word -1087214440
.word -1115018716
.word -1107539666
.word -1095244881
.word -1094079747
.word 1054997360
.word -1084992721
.word -1097179506
.word -1082193925
.word 1064256557
.word -1097819440
.word -1083345928
.word -1092631710
.word -1095202339
.word 1064506801
.word 1057011326
.word 1062010719
.word -1090327798
.word 1050565392
.word -1101775798
.word 1064188676
.word -1085871250
.word -1090877093
.word -1106652338
.word 1049776288
.word 1044034835
.word -1089778989
.word 1049530284
.word -1089574061
.word 1058290743
.word 1040834867
.word 1058690157
.word -1105506895
.word 1043924977
.word -1087975760
.word 1049620521
.word -1089176069
.word 1060116763
.word 1049562456
.word -1084589500
.word -1089971946
.word -1085130923
.word -1103519824
.word -1082400569
.word -1111129859
.word 1063355442
.word 1037186736
.word 1063568378
.word -1098596375
.word 1060308102
.word 1053707835
.word -1109212671
.word 1034768304
.word 1062345615
.word 1061923599
.word -1090681976
.word 1049352786
.word -1098295281
.word 1047366845
.word 1060222933
.word 1063003581
.word 1064673460
.word -1093103650
.word -1109360283
.word 1054719639
.word 1060219822
.word 1052752822
.word -1097442375
.word -1094001525
.word -1115589625
.word -1125542376
.word 1062531190
.word -1089704622
.word 1061861361
.word 1051099679
.word 1042219100
.word -1108989595
.word -1087593042
.word 1059360412
.word -1088577714
.word -1096472376
.word -1093561192
.word 1057771088
.word -1094332377
.word -1114119013
.word 1058971827
.word -1085222409
.word 1064775246
.word 1059035048
.word -1085659782
.word 1060936615
.word -1126385027
.word 1001574693
.word -1096702703
.word -1083974080
.word -1084321697
.word -1094493936
.word -1109376765
.word 1040619167
.word -1100018138
.word 1059653825
.word 1057692424
.word -1094387449
.word -1083582038
.word 1061445852
.word -1108620992
.word -1086473013
.word -1116243746
.word -1085164901
.word -1093554385
.word 1058213156
.word -1120632006
.word 1064232057
.word 1048957199
.word -1084138823
.word 1051253855
.word 1057785276
.word 1059232672
.word -1088656197
.word 1055561923
.word 1053521159
.word 1060520394
.word 1061698262
.word -1153102175
.word 1053095354
.word 1062167264
.word 1055384860
.word -1103392919
.word -1086230730
.word -1088768598
.word -1085717025
.word -1092703853
.word -1087518508
.word -1094505294
.word -1089137427
.word -1120532074
.word 1039011275
.word -1095059595
.word -1084992702
.word -1098619933
.word -1083639004
.word 1056987373
.word 1022490082
.word -1091465724
.word 1057574509
.word -1096689007
.word -1104349986
.word 1064864162
.word -1085254036
.word -1112514868
.word 1063118236
.word 1057568025
.word -1085369128
.word -1088383176
.word -1087388104
.word 1019473070
.word 1057391214
.word 1062569529
.word -1090060453
.word 1040588034
.word -1085649984
.word 1053586973
.word 1040763984
.word -1103514382
.word 1054284344
.word -1088421851
.word -1097454853
.word 1010465629
.word -1084103735
.word -1084080781
.word 1055004481
.word -1092564044
.word 1063223340
.word 1059663131
.word 1009437053
.word 1058833930
.word -1099852117
.word 1045711641
.word 1063418666
.word 1040409012
.word -1097775037
.word 1047747199
.word 1058813470
.word -1088421293
.word -1082724185
.word -1096453257
.word 1064707786
.word -1085593648
.word -1084749075
.word 1050727010
.word -1101958715
.word 1061214592
.word 1042581728
.word -1088051683
.word -1102075866
.word 1059449452
.word -1098528731
.word 1042313524
.word 1053789599
.word 1047130836
.word 1064889301
.word 1049862680
.word -1113348555
.word 1063959689
.word -1097927155
.word -1102031732
.word -1089954654
.word 1057695456
.word 1063351880
.word -1089685496
.word 1012214508
.word -1089599008
.word -1094564282
.word -1146888239
.word 1053928943
.word -1089169765
.word 1062409750
.word -1098768917
.word 1059575306
.word 1059130444
.word -1087330811
.word -1087963089
.word 1043195251
.word 1064052303
.word 1051992247
.word 1063278586
.word -1090292782
.word -1088398697
.word -1086581584
.word 1048280378
.word -1084215153
.word -1094257659
.word 1011885356
.word -1123577871
.word -1093035517
.word 1021753465
.word 1048959908
.word 1064510686
.word 1064005105
.word 1057040162
.word 1034376718
.word 1050923756
.word 1047171104
.word -1118701853
.word -1114129971
.word -1110994531
.word 1057514493
.word -1090756830
.word 1056725401
.word -1097580155
.word 1047176778
.word 1060279566
.word 1063689843
.word 1064844874
.word -1088536598
.word -1089961341
.word -1083171359
.word 1063451848
.word 1056922600
.word 1064918787
.word -1102302604
.word 1060744018
.word -1125821916
.word -1083986230
.word -1092122572
.word -1090947991
.word -1089225433
.word 1061618703
.word 1053277685
.word -1088924150
.word -1084735719
.word -1083895063
.word 1029963625
.word 1045272046
.word 1056334694
.word -1112609010
.word 1057376202
.word -1084138799
.word -1107100041
.word -1083316990
.word 1047453695
.word -1085883962
.word 1064570154
.word -1084069879
.word -1090448114
.word -1089738461
.word 1062880631
.word 1064476148
.word -1087689805
.word 1061473312
.word 1062513771
.word -1086818322
.word 1061353755
.word 1051613023
.word 1051429696
.word 1056632517
.word -1089361596
.word -1097363524
.word 1065014969
.word 1059048869
.word 1057868974
.word -1095372371
.word 1049167335
.word 1065116897
.word -1086460835
.word 1057979279
.word -1088797863
.word -1084229752
.word -1124410693
.word 1064734905
.word 1057716630
.word -1106692893
.word 1032536506
.word -1105188948
.word -1113301772
.word 1062943777
.word 1041396263
.word 1053740761
.word -1103670427
.word 1061506595
.word -1103360256
.word -1095863642
.word 1046372556
.word -1104198514
.word 1040354746
.word -1088008341
.word -1110826475
.word 1050313670
.word 1064383027
.word 1023698376
.word -1089179316
.word -1082727482
.word 1063969696
.word 1055023305
.word -1087415912
.word -1093240012
.word 1058941707
.word 1063627605
.word 1047600450
.word 1015561787
.word 1064486362
.word -1082783307
.word -1122098141
.word -1082983738
.word 1060961132
.word 1058873139
.word -1088724921
.word 1062421453
.word 1064222595
.word -1104341906
.word -1093497400
.word 1057813381
.word -1117383274
.word -1089518059
.word -1086851664
.word 1063438762
.word -1095075469
.word -1084821251
.word 1049096184
.word 1053418887
.word -1098230366
.word -1084389426
.word -1090035038
.word -1103607851
.word 1058167888
.word -1085915989
.word 1048613692
.word -1101073737
.word 1035508024
.word -1096241900
.word 1052482083
.word -1085863150
.word 1059562465
.word -1084103266
.word -1088612938
.word -1083363259
.word 1038385206
.word 1033206008
.word 1061828538
.word 1061736922
.word -1082973202
.word 1050870393
.word 1060858224
.word 1061776802
.word -1106646470
.word 1060876463
.word 1064991011
.word 1065219141
.word -1096590235
.word 1064655799
.word 1057208183
.word 1037083771
.word 1059357974
.word -1104226259
.word 1048654923
.word -1086134696
.word 1060724713
.word 1063497236
.word -1085720968
.word -1088930735
.word 1062084885
.word -1082289425
.word 1056427702
.word 1061114463
.word -1085069043
.word 1057686188
.word -1101673974
.word -1096755133
.word 1064406591
.word -1110298229
.word -1083008501
.word -1089562184
.word 1054251759
.word 1048616744
.word 1058067169
.word 1040299911
.word -1129395501
.word 1051670153
.word -1097632067
.word 1039692580
.word 1055381925
.word 1057726636
.word -1088572479
.word -1123862686
.word -1093854960
.word 1032032772
.word -1087600371
.word 1064547288
.word -1099450826
.word 1023666826
.word -1092224090
.word -1087002942
.word 1021844704
.word 1047518170
.word -1097715573
.word -1085600083
.word -1092628591
.word -1082866413
.word 1058661764
.word 1047816978
.word 1043456260
.word 1054883691
.word 1053521274
.word 1054686039
.word -1123365611
.word -1082695769
.word 1063261962
.word -1116770576
.word 1050059357
.word 1045242239
.word 1062444758
.word 1049743896
.word -1143433210
.word 1060026345
.word -1105485607
.word 1027656974
.word -1099821776
.word -1084734577
.word 1040802526
.word -1089062062
.word 1032964689
.word 1050646269
.word -1095175396
.word 1061174419
.word 1033668759
.word 1063649720
.word 1053549847
.word -1090256562
.word -1102996788
.word -1089387742
.word -1088137946
.word -1111183487
.word -1085619186
.word 1062063068
.word -1100013694
.word -1083933589
.word 1060446719
.word -1085783026
.word -1105204711
.word -1089785240
.word 1058065828
.word -1086195719
.word -1088630866
.word -1086050811
.word 1058434742
.word -1097875199
.word -1091945527
.word 1034990474
.word -1088558332
.word 1039755064
.word -1092130034
.word -1088536878
.word -1097704092
.word 1038039838
.word -1088493104
.word -1098284771
.word -1086799897
.word -1105882930
.word -1087809405
.word 1063704147
.word 1046729753
.word 1059977791
.word 1064929767
.word 1057559964
.word -1089473053
.word 1052576338
.word -1125667888
.word -1114210070
.word 1060877328
.word -1090278252
.word -1084633373
.word 1059354664
.word 1039336656
.word -1083690453
.word 1061817884
.word -1086830332
.word 1049392348
.word 1062503181
.word 1060644730
.word -1085120680
.word -1084812211
.word 1059494558
.word 1052973825
.word 1051658665
.word -1159422238
.word -1101165940
.word 1059951128
.word -1086346629
.word -1085156046
.word 1058993349
.word 1056013650
.word 1054208054
.word -1082288518
.word -1090353919
.word 1060416712
.word 1060707137
.word -1088732661
.word -1084284732
.word -1087800130
.word -1101775365
.word -1098078640
.word 1050825735
.word 1051252996
.word -1082695394
.word -1087731824
.word 1039329634
.word 1047432495
.word -1106347698
.word -1083197251
.word -1089596538
.word -1088674982
.word -1094846787
.word -1091826160
.word 1021533982
.word -1099472080
.word -1082285286
.word 1038743984
.word -1083397392
.word 1047764080
.word -1088581915
.word 1045321026
.word -1088843016
.word 1065057768
.word 1040234461
.word -1083929803
.word 1057192655
.word 1047187970
.word 1054380828
.word 1041926869
.word 1055211169
.word 1052494052
.word -1088744984
.word 1049411674
.word -1084456109
.word -1086634970
.word 1043286953
.word 1048603968
.word -1088676666
.word -1088180336
.word -1086953921
.word -1089850771
.word -1082761904
.word 1061982002
.word 1058954093
.word -1088776464
.word -1086310638
.word -1092788390
.word -1089159729
.word 1040839150
.word 1051322896
.word -1104081223
.word -1092688041
.word -1087342660
.word 1054140678
.word -1096103294
.word 1049560614
.word -1121909913
.word 1007393599
.word -1084584852
.word 1057400928
.word -1091235314
.word -1089095657
.word 1059972109
.word 1024886158
.word -1088567173
.word -1083592677
.word -1100837113
.word -1091259858
.word -1107137233
.word 1063091482
.word 1062298361
.word 1055151783
.word -1088481694
.word -1089105324
.word 1060633991
.word -1095960361
.word 1002076311
.word -1089738123
.word 1037053895
.word -1085561394
.word -1098971836
.word -1108928425
.word -1095541956
.word -1083625846
.word 1051780555
.word -1089691814
.word 1060517598
.word 1049695675
.word 1025812373
.word 1049221217
.word 1053883164
.word -1097009428
.word 1064303450
.word 1065221588
.word 1059974975
.word 1059658391
.word 1063730096
.word -1083148606
.word -1101511839
.word 1053661318
.word -1122444415
.word -1101649508
.word -1091057414
.word -1084464839
.word 1062786410
.word 1049849400
.word 1053886095
.word -1086814420
.word 1059033325
.word 1057694346
.word -1095081599
.word -1083919964
.word -1086198145
.word -1090092613
.word -1082368424
.word -1089318613
.word 1064190830
.word -1098140480
.word 1065056845
.word 1050182212
.word 1064051775
.word 1063963975
.word 1062785706
.word 1032024728
.word 1049574855
.word 1058507426
.word 1052120374
.word 1062665820
.word 1046540905
.word -1103973099
.word 1060465507
.word -1100614701
.word 1059938075
.word -1083727173
.word -1088378955
.word 1049035042
.word 1039771628
.word -1087081694
.word 1048094500
.word -1096915402
.word -1091196019
.word -1086819055
.word -1091847186
.word 1061564496
.word 1055354046
.word -1096659766
.word 1042070794
.word -1101621624
.word 1060076922
.word -1090374497
.word 1058610613
.word 1053313130
.word 1064756702
.word 1051470986
.word -1122588563
.word -1087687841
.word 1043181906
.word -1092501251
.word 1052010614
.word 1050271074
.word 1055762981
.word 1051687598
.word -1085955156
.word 1057367058
.word 1064023172
.word 1051113864
.word 1065348665
.word -1109550786
.word -1087105496
.word -1086084468
.word 1042098524
.word 1053635230
.word 1024755268
.word 1058686962
.word -1149109409
.word 1050149079
.word 1058037987
.word 1062831600
.word 1060311350
.word -1090228479
.word 1056585337
.word -1084424430
.word 1024501206
.word 1051799264
.word 1064753772
.word 1052095854
.word 1062103699
.word 1059905427
.word 1035139716
.word -1088919838
.word 1061465051
.word 1054429019
.word -1096960691
.word 1062034070
.word -1095614247
.word -1083991677
.word -1088954111
.word -1087676540
.word 1061302237
.word 1057232088
.word -1095227114
.word 1058108410
.word 1061013018
.word 1048921063
.word 1064643017
.word -1087749176
.word 1061481532
.word -1112382846
.word -1095127335
.word -1093490628
.word 1060325881
.word 1058528601
.word 1060535502
.word 1054067646
.word -1084344986
.word -1087089454
.word 1056867229
.word -1155939501
.word 1060155674
.word -1084642548
.word 1050765226
.word 1060473129
.word 1054885813
.word 1061968238
.word 1051288979
.word 1058324565
.word 1055278686
.word -1091769344
.word 1058772050
.word 1035467605
.word -1086109521
.word 1063601656
.word -1086286917
.word -1111776631
.word -1083703400
.word 1047184429
.word 1053647696
.word -1087163613
.word 1064512632
.word 1055050863
.word -1084871787
.word 1064689851
.word -1089031925
.word -1085034960
.word 1052229528
.word 1064736088
.word -1083254636
.word -1085652335
.word 1053678988
.word -1113760868
.word 1060790319
.word -1098597192
.word -1099643193
.word -1123249707
.word -1090508020
.word 1046108419
.word -1085382485
.word -1095661553
.word 1058528201
.word -1084240873
.word 1053505021
.word -1083812199
.word 1059407798
.word 1060723789
.word 1057062443
.word -1088961963
.word 1044620531
.word 1051250284
.word 1059275629
.word 1047132651
.word 1051950404
.word 1056818500
.word 1025191880
.word -1089534505
.word -1120019688
.word -1087165575
.word -1086698842
.word -1103210871
.word 1064839116
.word -1121817156
.word 1065254622
.word -1110155038
.word -1107643323
.word -1082919511
.word -1096890572
.word 1053269766
.word 1060288339
.word -1089396902
.word -1085356159
.word 1050101363
.word 1052062689
.word -1122654519
.word -1092743355
.word -1108990801
.word -1086989741
.word -1086321572
.word -1093138923
.word -1111365402
.word -1101785656
.word -1086956453
.word -1086108223
.word 1059795011
.word 1063252907
.word 1060893083
.word 1033042982
.word -1088008453
.word 1060490796
.word -1085638669
.word -1088689463
.word 1042412437
.word 1049375841
.word 1037028131
.word -1095821364
.word 1052224766
.word 1054145733
.word 1061331216
.word 1042830372
.word 1057968689
.word 1045831524
.word -1098380131
.word 1042899123
.word 1058827473
.word -1088401244
.word -1108408345
.word -1087219003
.word 1029658318
.word 1054956015
.word 1045375688
.word -1094904223
.word 1063707112
.word 1048778211
.word -1087604845
.word 1037979600
.word -1082783184
.word -1098746492
.word 1057868865
.word 1038274934
.word -1089051949
.word 1061775006
.word 1044015453
.word 1053570104
.word 1054660224
.word 1058424580
.word -1088101910
.word 1044377004
.word 1057245477
.word -1098060367
.word -1083243207
.word -1086027621
.word 996319736
.word -1089078139
.word 1055741517
.word 1059758638
.word -1094089033
.word -1098566850
.word -1097270215
.word -1099149346
.word 1064862888
.word -1090998579
.word -1091976265
.word -1098430838
.word -1092445618
.word 1030740281
.word 1064611147
.word 1059511771
.word 1059776562
.word -1103701586
.word 1061066043
.word -1111151540
.word -1089870979
.word -1084737030
.word 1038060197
.word -1084441402
.word -1091225183
.word 1059413509
.word 1051782773
.word 1064188961
.word -1102563492
.word 1064144265
.word 1029246700
.word -1089894201
.word 1034354292
.word -1090034352
.word -1113282835
.word 1060692311
.word -1108615200
.word 1053326702
.word 1058795046
.word -1086720526
.word -1083404300
.word -1093056733
.word -1083264587
.word -1087500753
.word 1053561975
.word -1094010627
.word 1063860333
.word 1062512164
.word 1056484412
.word -1088256229
.word 1057943426
.word 1042089625
.word -1093243743
.word -1082761047
.word 1056942290
.word 1061540687
.word 1056525237
.word -1087492162
.word -1082405751
.word 1034183932
.word -1109552980
.word 1049321838
.word 1059500834
.word -1085406792
.word 1061629958
.word 1063156988
.word -1101339399
.word -1097582723
.word -1099016621
.word -1098105449
.word -1098144768
.word -1084617163
.word 1061627592
.word 1058818935
.word -1085050894
.word -1163852103
.word -1098876774
.word -1123500081
.word 1058019530
.word 1060074418
.word 1063838617
.word -1087385197
.word 1060320369
.word -1082539837
.word 1038344991
.word 1023428087
.word -1103218225
.word -1089043946
.word -1089355291
.word -1092743348
.word 1061070158
.word 1062203881
.word -1084882966
.word 1053917052
.word 1052426214
.word -1090074504
.word -1111335655
.word -1086980480
.word -1102327827
.word 1048569514
.word 1061984316
.word -1082564434
.word -1082752645
.word -1116783643
.word 1032511224
.word 1058977699
.word 1058653950
.word -1096380189
.word 1006150806
.word -1106746392
.word -1096813576
.word -1113967264
.word 1061406403
.word 1045709806
.word -1082706225
.word 1057406626
.word 1052464286
.word -1083812957
.word 1050280783
.word 1049651319
.word -1091712946
.word -1085592511
.word -1095928647
.word 1059096311
.word -1088437711
.word -1090456829
.word 1051569186
.word -1083457522
.word -1086268847
.word -1089492440
.word 1046323230
.word -1102826726
.word 1058863440
.word 1039701678
.word -1091286103
.word 1058748830
.word 1064890324
.word 998857678
.word 1061779276
.word 1060604996
.word -1089222214
.word 1051478739
.word -1084854430
.word -1087048496
.word 1059570971
.word -1085494968
.word 1062080849
.word 1053792745
.word 1056465502
.word 1024526952
.word 1061574129
.word 1053494455
.word 1054295848
.word -1089771921
.word -1085836716
.word -1106991944
.word 1047158816
.word 1059808429
.word -1105017602
.word -1104147002
.word 1059902432
.word -1102164427
.word -1103209683
.word 1048185070
.word 1050598937
.word -1115019096
.word 1041066776
.word 1049223361
.word 1039713578
.word 1043115335
.word 1058325452
.word 1056948117
.word -1086462772
.word -1096858812
.word -1098448041
.word 1043911087
.word -1085472680
.word -1082970904
.word 1040856838
.word 1046117446
.word -1087424630
.word -1098750033
.word -1098554620
.word -1086197136
.word -1106670474
.word -1087169039
.word 1040925633
.word 1052108360
.word -1086951855
.word -1086660364
.word 1051028830
.word -1086855492
.word 1062127119
.word 1049895899
.word -1089533579
.word -1088978694
.word -1083892829
.word -1095384536
.word -1106141104
.word -1087969739
.word 1044059210
.word -1102699832
.word -1089846617
.word -1097198807
.word 1039460608
.word 1063605162
.word -1093409964
.word -1101656338
.word 1062133581
.word 1034051347
.word 1050750561
.word 1057008092
.word -1119733156
.word -1093635205
.word 1061949406
.word 1063715680
.word -1085765601
.word -1088980417
.word 1059115299
.word -1092040738
.word -1089028897
.word 1048605854
.word -1089138164
.word -1105920808
.word -1088268589
.word 1059782087
.word 1063235201
.word 1054480568
.word -1085829071
.word -1098397278
.word 1061687909
.word 1050403428
.word 1045964650
.word 1049616939
.word 1032823049
.word 1051674329
.word -1115865681
.word 1043686943
.word 1061187319
.word -1097932111
.word 1060998846
.word -1095479608
.word -1086723385
.word -1089414768
.word -1085831215
.word -1085755561
.word 1057679523
.word -1085309544
.word -1087269174
.word 1063991963
.word -1094924165
.word 1032200361
.word -1092582160
.word -1083406589
.word 1063898913
.word -1082773896
.word 1060905381
.word -1091723553
.word -1083872667
.word 1051926630
.word 1059424330
.word -1110064000
.word 1051841487
.word -1098439637
.word 1051720795
.word 1062429745
.word 1032293585
.word 1063991995
.word -1082144520
.word -1083725052
.word 1048348704
.word 1039976262
.word -1097419032
.word -1105614711
.word 1063745614
.word 1057261921
.word 1059673682
.word -1085749664
.word -1082388276
.word 1047884476
.word -1090547541
.word 986265643
.word -1085184631
.word 1046645970
.word 1038770365
.word -1086867465
.word -1086779352
.word -1082751216
.word 1046166265
.word -1100493384
.word 1057582113
.word 1038408444
.word 1059608372
.word -1099582052
.word 1036580567
.word -1104048290
.word 1054106162
.word 1041704381
.word -1088015548
.word 1063806313
.word -1090650001
.word -1111214306
.word -1087153226
.word 1047774045
.word 1064457581
.word 1041431489
.word 1032014562
.word 1052866734
.word -1093409619
.word -1084834399
.word 1017802253
.word 1056183215
.word 1062851868
.word 1032704137
.word 1062698871
.word -1098848020
.word 1057169553
.word 1062467343
.word -1093901312
.word 1065340129
.word -1147630464
.word 1049575612
.word -1087446702
.word 1065154051
.word 1004825654
.word -1093555660
.word -1102879674
.word -1105312140
.word 1050446142
.word -1083425206
.word -1115743611
.word -1090477217
.word 1052218351
.word 1059955503
.word -1083133337
.word 1058115222
.word 1064578704
.word -1091305227
.word 1013389424
.word 1060693553
.word -1107033621
.word -1089110621
.word -1098761398
.word -1094190925
.word -1119171327
.word -1090976842
.word -1108938006
.word -1088694293
.word -1105897451
.word 1061458043
.word 1061850796
.word 1017820065
.word -1090111505
.word -1102252384
.word -1084887806
.word -1100734728
.word 1031591888
.word 1047464254
.word -1089781348
.word -1088368738
.word -1086734058
.word -1098105547
.word 1050942504
.word -1089563390
.word 1048962997
.word 1060263301
.word 1045254566
.word -1094022729
.word 1017178382
.word -1117628943
.word -1088940671
.word -1085215214
.word -1083834467
.word 1063324949
.word 1064508758
.word -1099204347
.word 1057450476
.word 1045326994
.word -1087974193
.word 1058576285
.word -1087839504
.word -1101343522
.word -1088341522
.word -1117106773
.word 1059402187
.word -1092087144
.word -1089155825
.word 1059190655
.word 1065209033
.word 1060343377
.word -1084159850
.word -1097089667
.word 1036417160
.word -1091670535
.word 1062251244
.word -1089967894
.word 1064523585
.word 1050119776
.word -1102371106
.word 1042472391
.word 1037525850
.word -1091106037
.word 1056755010
.word 1049987255
.word 1049707809
.word 995375065
.word 1061424634
.word -1113964510
.word -1087502080
.word 1057772934
.word -1082196722
.word 1061708673
.word 1053492033
.word 1062814601
.word 1061159747
.word 1060826491
.word -1129001884
.word -1090934510
.word -1093754956
.word -1114770445
.word 1064464350
.word -1086627609
.word 1045098142
.word -1096242981
.word -1088148098
.word 1044299275
.word -1114141497
.word -1096087523
.word -1102821701
.word -1088294825
.word -1082145279
.word -1087532867
.word 1049912410
.word 1060254314
.word 1064778853
.word -1102018180
.word -1102572834
.word 1061108239
.word 1060347754
.word -1090574026
.word 1049888653
.word 1049263648
.word -1106804370
.word 1053124158
.word -1098391855
.word 1050460253
.word -1084482759
.word -1130217539
.word 1047473557
.word 1054493467
.word -1090336144
.word -1088841294
.word -1082594878
.word 1057496078
.word -1117861526
.word -1084473640
.word 1033039151
.word -1082252466
.word 1058427408
.word -1086993808
.word -1086955000
.word 980248248
.word 1051046913
.word -1105752595
.word 1054354660
.word -1090315658
.word -1087968358
.word -1114009467
.word 1060147674
.word 1005062988
.word 1058848394
.word -1103412739
.word -1091233614
.word 1059146959
.word -1102149402
.word 1055994226
.word 1060416757
.word 1057036693
.word -1099213476
.word -1127137222
.word 1048214063
.word -1088491468
.word 1040545337
.word -1121615509
.word 1057529975
.word 1058127683
.word -1129663063
.word -1095738288
.word 1060283033
.word 1046813774
.word 1034413820
.word -1094593720
.word 1049087053
.word -1087924376
.word -1082804113
.word -1090104539
.word -1096532892
.word 1040732706
.word 1045550714
.word 1061683975
.word 1052181329
.word -1097372823
.word -1089996396
.word -1083325633
.word -1090762712
.word 1044234010
.word 1023218683
.word 1036038301
.word -1100710583
.word -1086677143
.word 1061136185
.word 1058683012
.word 1064340351
.word -1088814860
.word -1103691562
.word 1062211194
.word -1084407157
.word 1055234526
.word 1054400044
.word 1063405757
.word -1107713790
.word -1120768916
.word -1085089243
.word -1085899507
.word -1088486487
.word 1057508113
.word -1085434787
.word 1063632882
.word 1054703552
.word -1127676593
.word -1085111380
.word -1082263307
.word -1084995639
.word 1040243883
.word 1049495815
.word 1059044802
.word -1101727740
.word -1087724543
.word 1054272135
.word -1105832665
.word 1060361924
.word 1062034892
.word 1042638819
.word 1065149080
.word -1084046781
.word -1088698410
.word -1107200252
.word 1043090550
.word -1090232813
.word -1086051325
.word -1085022413
.word -1105679484
.word -1088106773
.word 1061471548
.word 1062254100
.word -1088035385
.word -1091165203
.word 1065081581
.word -1087130741
.word 1034113073
.word 1063741661
.word 1065025836
.word 1045719631
.word -1089901952
.word -1084051870
.word -1088392613
.word 1049579881
.word -1090870267
.word 1053679124
.word -1089399360
.word -1110785682
.word 1055585244
.word 1063570370
.word 1057666267
.word -1084542818
.word -1122941234
.word -1084336107
.word 1041904656
.word 1058837808
.word 1057382551
.word 1057895286
.word -1086767205
.word -1104806073
.word 1058682682
.word 1063729155
.word 1051231847
.word -1085377351
.word -1087636930
.word -1087041746
.word 1056123556
.word -1094557762
.word 1053774702
.word 1051337656
.word 1053415679
.word -1122635528
.word 1063749409
.word -1095330823
.word -1088454870
.word 1058173244
.word 1061983691
.word -1090387889
.word -1089959004
.word -1084068068
.word -1148506776
.word 1059439870
.word 1055498599
.word -1086054587
.word -1088419844
.word 1051645824
.word -1095198217
.word -1100256529
.word -1087721264
.word 1062220620
.word 1038915367
.word -1100829625
.word 1022593793
.word 1004518978
.word 1010617693
.word 1063473999
.word 1061867115
.word 1054118279
.word -1088837926
.word 1064503553
.word -1090071076
.word 1064459202
.word -1094117044
.word 1013794608
.word -1088010543
.word 1060735725
.word 1008130677
.word -1091805155
.word 1046408645
.word 1062772061
.word -1102081698
.word 1050729442
.word -1086138461
.word 1029205688
.word -1082357956
.word -1088916010
.word -1092865595
.word 1041867664
.word 1060970930
.word -1088745570
.word -1088875272
.word 1052796897
.word -1096523843
.word 1063713142
.word 1055732710
.word -1086498491
.word 1045957448
.word -1089861200
.word 1053787609
.word -1084196283
.word -1112220231
.word 1022770257
.word -1087868994
.word 1042486652
.word 1049873196
.word 1049397699
.word 1059424402
.word 1054667204
.word -1082431664
.word -1085866964
.word -1107313032
.word 1057015022
.word 1062416991
.word -1084490014
.word -1083894767
.word 1061071215
.word 1054121324
.word 1051523191
.word -1088631620
.word 1053323136
.word 1058205831
.word -1094174977
.word 1059808236
.word -1086093086
.word -1083826205
.word -1082635465
.word -1098338988
.word 1045120330
.word -1095357475
.word 1061785969
.word 1059565412
.word -1098362476
.word -1087741109
.word 1031600619
.word -1097122302
.word 1062117214
.word -1084404899
.word 1060518172
.word 1049178963
.word -1088104140
.word -1086766222
.word 1063470104
.word -1096611850
.word -1082389488
.word -1107548786
.word 1049075034
.word 1048860470
.word -1086702844
.word -1100662828
.word 1060042593
.word -1082301367
.word 1050006905
.word -1083370485
.word -1085462762
.word -1095962991
.word 1052138388
.word 1064927400
.word 1055492384
.word 1059719294
.word -1083623718
.word -1091052640
.word -1107059054
.word -1085974439
.word 1050926603
.word 1048563818
.word 1014709704
.word 1060258856
.word -1093950994
.word 1059822332
.word -1087529469
.word 1044559127
.word 1051664212
.word -1095525662
.word 1018360939
.word 1054855166
.word 1059648306
.word 1063732181
.word 1062922026
.word 1064459093
.word 1051446279
.word 1062640977
.word -1110290171
.word -1087128325
.word 1053932103
.word -1087927237
.word 1063450288
.word -1102224589
.word -1091818111
.word 1049000859
.word 1063130326
.word -1114830594
.word -1087037969
.word -1098983372
.word -1102406042
.word -1099327373
.word -1099303134
.word 1056623967
.word -1111863566
.word -1094623453
.word 1025377367
.word -1091513528
.word 1062038097
.word -1093595311
.word 1051769409
.word -1092751890
.word 1008451205
.word -1092468950
.word -1085185992
.word 1062304932
.word 1064210944
.word 1062308064
.word 1061795468
.word 1063373709
.word 1033476317
.word 1048903909
.word -1087905369
.word 1034474060
.word 1065021221
.word -1085509044
.word 1056831049
.word -1086705361
.word -1082133123
.word 1059077512
.word -1089494640
.word 1046270845
.word 1039727267
.word 1042661259
.word -1095876919
.word 1057330223
.word 1059569244
.word -1103540373
.word 1064292862
.word 1057363061
.word 1061406277
.word 1053095834
.word -1086423854
.word 1060650930
.word 1052466017
.word -1086824649
.word 1039739380
.word -1095367590
.word 1052918631
.word -1088945028
.word -1092744015
.word -1086043490
.word -1094631300
.word -1082874692
.word 1050576602
.word -1088610335
.word 1016174226
.word 1052364884
.word -1097310011
.word 1021427073
.word -1082762172
.word 1055383073
.word -1096978766
.word 1064208648
.word 1059306577
.word 1006642562
.word -1119942053
.word -1106665929
.word 1063596887
.word -1089885108
.word 1059714836
.word -1084040910
.word -1110985506
.word -1092874839
.word -1092520970
.word -1160981838
.word 1064231040
.word -1089500589
.word -1102151815
.word 1055817703
.word 1032824862
.word 1062997656
.word -1090085317
.word -1082253341
.word -1112708434
.word -1093817884
.word -1084041865
.word -1091181592
.word 1054708343
.word 1043116801
.word -1092082773
.word 1051604297
.word -1082583878
.word 1030062897
.word -1103550724
.word -1087333903
.word -1092936793
.word 1061525347
.word 1051238033
.word 1058190747
.word 1049606520
.word -1098401837
.word -1104508677
.word -1116030388
.word 1055568500
.word 1045185387
.word 1060015028
.word 1052160887
.word 1061275828
.word 1061381856
.word -1083974539
.word -1096466481
.word 1061988477
.word -1082861860
.word 1060706866
.word 1064412031
.word -1101116049
.word -1092972088
.word 1062578211
.word 1060719236
.word 1061687250
.word 1064145933
.word -1091589580
.word 1061302941
.word 1058470076
.word 1064163337
.word 1062495101
.word 1036123985
.word 1057885424
.word -1090288517
.word -1100800239
.word 1056959747
.word -1128073863
.word 1057964843
.word -1090354420
.word -1092396503
.word 1059955556
.word -1082403797
.word -1097384274
.word -1087352011
.word 1060810950
.word 1063498979
.word 1064149912
.word -1092888367
.word -1085644106
.word 1064182517
.word -1085536700
.word -1082461950
.word 1025026591
.word -1097537686
.word -1097100603
.word 1042588148
.word -1086960904
.word 1053300029
.word 1065037845
.word -1087508553
.word 1044083273
.word 1059732895
.word -1087017488
.word 1048729510
.word 1030467269
.word -1086765750
.word -1086613023
.word 1056997886
.word 1063339929
.word 1062431826
.word 1064025819
.word 1050641779
.word -1085683405
.word -1100706313
.word 1062847754
.word -1095042811
.word 1064663806
.word -1121152150
.word -1105359468
.word -1100946351
.word -1091556645
.word -1090127310
.word -1097640554
.word -1083584464
.word 1053718691
.word 1060753726
.word 1061052379
.word -1094458990
.word -1097325941
.word -1091187039
.word 1026099835
.word -1094001862
.word -1114395324
.word 1065001542
.word -1086053149
.word -1095744709
.word 1064402819
.word -1100957135
.word 1038898041
.word -1095797973
.word 1064119427
.word -1090984324
.word 1033100958
.word -1089326700
.word -1112603646
.word 1052608670
.word -1089612945
.word 1063673581
.word -1103036440
.word -1089711518
.word 1030041720
.word -1104829943
.word -1089976430
.word 1058394111
.word -1094717499
.word -1104326424
.word -1091402677
.word 1064384626
.word -1090252827
.word -1087056852
.word -1096536265
.word -1093927834
.word 1060886697
.word 1055273440
.word 1038055937
.word -1097730206
.word 1034873928
.word 1031213308
.word -1083073633
.word 1032526062
.word 1036509474
.word -1084299248
.word -1105408961
.word -1090184509
.word -1088277265
.word -1086030275
.word -1083710807
.word -1084792136
.word -1098175980
.word 1049657176
.word -1112341217
.word 1031927512
.word 1050890101
.word -1084394557
.word -1093808688
.word 1059272435
.word -1087757878
.word -1084290440
.word -1083909276
.word 1055031740
.word -1092938280
.word -1086489381
.word 1061799054
.word -1089826508
.word 1057125443
.word -1091822307
.word 1059727345
.word 1063346077
.word -1112910782
.word 1064561785
.word 1044094903
.word -1103824758
.word 1062869284
.word -1095150352
.word 1052173337
.word 1065058992
.word -1087318656
.word 1043789907
.word -1113277055
.word 1064879891
.word 1063259707
.word 1042592844
.word -1095218279
.word 1016215888
.word 1017564235
.word 1054076690
.word -1087565602
.word -1109162812
.word -1094485435
.word -1091864460
.word 1050539701
.word 1051091283
.word 1052441513
.word 1060866035
.word -1089519821
.word 1062807551
.word -1103233063
.word 1065303760
.word -1083261974
.word -1109803138
.word -1114804897
.word 1064002466
.word 1041006854
.word -1087758899
.word -1082367715
.word -1114417258
.word -1088801043
.word -1093908725
.word -1089158122
.word -1115670351
.word -1122455778
.word -1087351357
.word 1060386841
.word -1091168401
.word 1058902554
.word -1083133271
.word -1082910854
.word -1097219448
.word -1085160075
.word 1059608037
.word -1119031277
.word 1059121987
.word 1060605479
.word -1123994261
.word -1092346878
.word 1057324914
.word -1091205594
.word 1060237438
.word -1122661080
.word 1020391051
.word -1136214123
.word -1085190281
.word 1052783982
.word 1064418717
.word -1086876372
.word -1107867923
.word 1065273112
.word -1091832829
.word 1063751865
.word 1062119757
.word -1084765077
.word -1083420463
.word -1106940912
.word 1061337154
.word 1065125379
.word -1082814635
.word -1102038571
.word -1091377361
.word -1084272381
.word 1056494650
.word -1090259718
.word -1082993768
.word 1057126666
.word 1061713069
.word -1204225934
.word -1087754229
.word 1063969260
.word -1085082457
.word -1091798881
.word -1087709957
.word -1140402677
.word 1062427376
.word -1093996015
.word 1015296982
.word -1083124454
.word -1090166769
.word -1099597055
.word -1095399665
.word 1054637682
.word -1089555750
.word -1095313389
.word -1083942783
.word -1113667543
.word 1060601498
.word -1083750205
.word 1064454880
.word -1088588638
.word 1064754074
.word 1028608292
.word 1060665689
.word -1082275994
.word 1059437622
.word -1093864249
.word -1084081084
.word -1085619078
.word 1060502378
.word -1084801935
.word 1055634583
.word -1084902509
.word -1096243455
.word -1106299474
.word -1086156369
.word -1089733935
.word -1088871978
.word 1048186679
.word 1034375509
.word -1082491631
.word -1093029793
.word -1091530073
.word 1062792948
.word 1028802734
.word -1089752958
.word -1106924860
.word -1087933669
.word 1026004980
.word 1058189364
.word 1060421491
.word 1058427720
.word 1047748554
.word 1062809043
.word -1096593343
.word -1087845696
.word 1050985779
.word -1088912131
.word -1108757916
.word 1065334719
.word -1088576362
.word -1094403554
.word 1042332435
.word 1056952711
.word -1088378206
.word 1043169774
.word 1038159227
.word -1090779709
.word -1091760065
.word 1062424521
.word -1126289507
.word 1056893740
.word 1062196891
.word -1102755079
.word 1049848751
.word 1021832429
.word 1061852809
.word 1052438144
.word -1089396266
.word 1063935718
.word 1059887394
.word 1057062724
.word 1057121456
.word -1119647928
.word 1053934765
.word -1085134051
.word -1089422185
.word 1062166433
.word -1092233536
.word -1084978345
.word -1087824787
.word -1083972637
.word 1040558270
.word 1064088217
.word 1058427834
.word 1060782298
.word -1100640934
.word -1103405014
.word 1050540485
.word 1064869831
.word 1018975751
.word 1031362006
.word -1114512905
.word 1057800662
.word -1088841055
.word -1119171747
.word -1089434067
.word 1060770909
.word -1102407245
.word -1082408556
.word -1083718992
.word 1055397248
.word 1061872026
.word -1084800923
.word 1036554650
.word -1090411381
.word -1106067442
.word -1092154754
.word -1095345627
.word -1092841774
.word -1088958725
.word -1101423886
.word -1094612502
.word 1057240774
.word -1089274645
.word -1087115445
.word 1044579987
.word 1060235528
.word 1043710507
.word -1163499788
.word -1086054445
.word -1085991502
.word -1101665478
.word 1033181577
.word -1091610227
.word -1094920043
.word -1088693562
.word -1089993412
.word 1054009152
.word -1093628902
.word 1064051411
.word -1126231119
.word 1061679864
.word 1063008966
.word -1087100905
.word -1097711421
.word -1091629546
.word -1086881458
.word 1035078762
.word -1097889879
.word 1061560662
.word -1106299257
.word 1058234310
.word -1084011366
.word 1050733099
.word 1059869066
.word 1057306850
.word 1058329398
.word 1060852023
.word 1059860079
.word -1118111768
.word -1084134086
.word 1043284501
.word -1094644850
.word -1091257130
.word 1055575551
.word 1062615586
.word -1114857778
.word -1097196351
.word -1087959458
.word 1058720029
.word 1061859713
.word 1034019974
.word 1062209954
.word 1041113095
.word 1060477954
.word 1046997926
.word 1061953952
.word -1104798062
.word -1124972771
.word 1046444768
.word 1055046819
.word -1091169251
.word 1063230301
.word -1084344730
.word -1092683644
.word 1030832457
.word 1062486569
.word 1058878276
.word -1119093013
.word -1085433485
.word -1090679837
.word -1107173005
.word -1114473259
.word -1088827633
.word 1054783353
.word -1083947977
.word 1057220620
.word 1056136658
.word -1086885958
.word -1084125288
.word 1060965346
.word -1099277672
.word -1086318546
.word 1050371042
.word -1088795996
.word -1093862868
.word -1097229834
.word -1090207782
.word 1054883045
.word -1085205867
.word -1085244406
.word -1083999949
.word 1055267321
.word -1100123039
.word 1058470786
.word 1062286759
.word 1057277436
.word -1093671590
.word -1085115083
.word 1029210310
.word 1057005051
.word -1085553581
.word 1030795227
.word -1082788921
.word 1024869701
.word 1060706243
.word 1031330771
.word 1051508011
.word 1062176996
.word -1088224859
.word 1049823264
.word -1087968936
.word -1083579877
.word 1059350098
.word -1102419134
.word -1098530050
.word 1060260496
.word -1103681831
.word -1094271513
.word -1116517930
.word -1088195104
.word 1062080917
.word 1046611497
.word 1049036121
.word -1101304425
.word -1098315738
.word -1098303354
.word -1082839669
.word 1060465593
.word 1051487333
.word -1082369625
.word -1084092470
.word 1057976294
.word -1087281578
.word 1064974371
.word 1033474235
.word 1063954312
.word 1064374446
.word 1055425993
.word 1043612384
.word 1037265462
.word 1064287993
.word -1084308801
.word -1109783950
.word 1060054618
.word 1059812965
.word -1088491392
.word 1064331063
.word -1088971763
.word 1058989729
.word 1027284543
.word 1060969799
.word -1086306434
.word 1060046066
.word 1042121847
.word -1098717337
.word -1085925895
.word -1087704596
.word 1063468161
.word -1087761568
.word 1057169233
.word -1128268441
.word 1064394875
.word -1093652437
.word -1106264149
.word -1116698102
.word 1054265855
.word 1057529575
.word 1038009984
.word -1087232709
.word 1056344709
.word 1057151928
.word 1040932649
.word -1091125753
.word 1061285528
.word 1064642670
.word -1083661460
.word -1094020762
.word 1028267234
.word 1050037954
.word 1053187062
.word 1035872060
.word 1053854202
.word -1085687550
.word -1082662786
.word -1093555137
.word 1061579621
.word -1101072703
.word -1094881033
.word -1089328264
.word 1062737154
.word 1059793590
.word 985088385
.word -1111826165
.word -1122385793
.word 1060706059
.word 1052602524
.word 1063041993
.word 1061150954
.word 1061041342
.word -1090659508
.word -1110390309
.word -1105448287
.word 1031077327
.word -1092649850
.word 1057300604
.word 1047972409
.word 1064857562
.word -1094665790
.word 1058880956
.word 1051486308
.word 1052824059
.word 997529765
.word -1093356891
.word 1051279159
.word -1097993274
.word 1063021331
.word -1143542257
.word 1062171847
.word -1137038186
.word -1102820121
.word -1085335682
.word 1062218897
.word 1056058149
.word 1043888279
.word -1098485514
.word 1045969016
.word -1084101509
.word -1089250864
.word 1037761750
.word 1064759157
.word 1060960823
.word 1060112841
.word -1100307370
.word -1095403404
.word -1093185853
.word 1060062328
.word -1088705747
.word 1043386353
.word 1058160741
.word -1102111494
.word 1044082104
.word -1093015831
.word -1103474015
.word 1061967459
.word -1086831416
.word -1094665756
.word 1036881705
.word -1087588306
.word -1090033324
.word 1056308401
.word 1054699596
.word 1063464768
.word 1058612830
.word -1098905468
.word -1086440314
.word 1064282660
.word -1084355367
.word 1062879184
.word -1092989361
.word 1061894402
.word 1062941708
.word 1060893112
.word 999562574
.word -1084072249
.word -1112858300
.word -1086568724
.word -1086983626
.word 1062971696
.word -1088403928
.word -1084677181
.word 1016346775
.word -1123043086
.word -1083911563
.word -1114909242
.word -1089848065
.word -1089551659
.word 1049212522
.word 1057054601
.word -1119986329
.word -1090020926
.word -1106393952
.word 1065227908
.word 1064926831
.word 1064352449
.word 1059449067
.word -1093514229
.word 1062067092
.word -1085907032
.word 1043760696
.word -1095159631
.word -1084880327
.word 1062103628
.word -1086187459
.word 1060628920
.word -1101381516
.word -1117336668
.word 1026059442
.word -1089973825
.word -1121192099
.word 1061484928
.word 1048695327
.word -1086406421
.word -1083965201
.word -1106246429
.word 1050861965
.word -1090605757
.word -1094427835
.word -1091566493
.word -1097581205
.word -1112912520
.word 1009747177
.word -1089382307
.word 1064117855
.word -1088838723
.word -1111715247
.word 1063500715
.word -1114538146
.word -1103422416
.word 1047108669
.word 1062853671
.word 1059532123
.word -1082353965
.word -1084282698
.word -1085070906
.word -1090846555
.word 1048194707
.word -1083408945
.word 1059826237
.word 1062827213
.word -1100563968
.word 1055658522
.word 1059589175
.word -1093324077
.word 1045598408
.word -1104711954
.word -1115076865
.word -1096707769
.word -1111284469
.word -1094612892
.word 1063007306
.word -1087673239
.word 1058559431
.word -1093013414
.word -1121580804
.word 1040520836
.word -1105199493
.word 1065302828
.word -1083999911
.word -1083377875
.word -1086257659
.word 1060563175
.word -1096966527
.word 1057573190
.word -1091762409
.word 1059014824
.word -1101217400
.word -1108622998
.word 1040400000
.word -1089575093
.word 1064041460
.word -1097626755
.word -1103937189
.word 1031714569
.word -1091563828
.word 1064953659
.word 1055906605
.word 1059974351
.word -1115323238
.word 1063218163
.word -1083510859
.word 1049298625
.word 1049094143
.word 1057672447
.word -1129654218
.word 1065072575
.word -1090147179
.word 1062565240
.word 1054090256
.word 1058450673
.word 1050870093
.word 1063179603
.word -1093112052
.word -1102250676
.word -1085986080
.word -1084175003
.word -1086947620
.word 1059442712
.word 1058535764
.word 1040266027
.word -1102959533
.word 1060452216
.word 1061831183
.word 1060296170
.word 1058554231
.word 1058096047
.word -1088978225
.word -1088292536
.word 1054128293
.word 1038899342
.word -1094686569
.word 1040000964
.word -1084410295
.word 1038891723
.word -1090257618
.word 1063350119
.word 1052133164
.word -1096622161
.word 1061423433
.word -1100466408
.word 1055020712
.word 1051882708
.word 1063040550
.word -1083894333
.word 1056149737
.word 1057843359
.word -1112814278
.word -1100407215
.word 1036812119
.word 1063185805
.word -1090212852
.word -1115540022
.word -1097763379
.word -1092037322
.word 1060668572
.word 1033558618
.word -1117099040
.word -1087288003
.word 1061599317
.word 1057200370
.word 1006409406
.word 1061589564
.word 1064230081
.word 1028489343
.word -1083435799
.word 1049134811
.word -1093586433
.word 1061948562
.word -1085727956
.word 1064202360
.word 1059663390
.word -1088321831
.word -1087616570
.word 1057281651
.word -1095819234
.word 1053797533
.word -1094763122
.word -1101706598
.word 1028735158
.word 1053500629
.word 1001400828
.word 1064274728
.word -1089431859
.word -1083681927
.word 1059825987
.word -1091951492
.word 1052401256
.word 1041248083
.word -1095554039
.word -1122757259
.word -1097086698
.word 1058952422
.word -1136342527
.word 1037686158
.word -1092948810
.word 1055765005
.word -1085346674
.word 1059905270
.word -1115164601
.word -1092802373
.word 1064580654
.word -1086728487
.word -1087412508
.word 1042813538
.word 1064259323
.word -1087241718
.word -1093192744
.word -1087343993
.word -1088742429
.word -1087267066
.word 1055455904
.word 1064827166
.word -1112810626
.word 1058700437
.word 1061610450
.word -1090802230
.word 1060189780
.word 1034469953
.word 1055589714
.word -1083505316
.word -1085863982
.word -1104877277
.word 1065061352
.word 1060334897
.word 1065324770
.word -1095133152
.word 1043307548
.word 1058069743
.word -1082707225
.word -1084889731
.word 1063433879
.word 1058803462
.word 1060744519
.word 1042101608
.word -1087792053
.word 1063879257
.word 1040899447
.word -1113149033
.word 1048053159
.word -1098408152
.word -1096053161
.word 1062399738
.word -1096789999
.word -1095415704
.word -1122229588
.word 1039220318
.word -1088766782
.word 1057382880
.word -1086241527
.word -1095245126
.word -1099047856
.word 1058198925
.word 1057688840
.word -1086852323
.word 1045382650
.word -1084477708
.word -1135769620
.word 1057121455
.word 1051906653
.word 1054427756
.word 1029975900
.word 1060995784
.word 1056265267
.word -1100795184
.word -1086410577
.word 1053378113
.word -1086606541
.word -1090409463
.word -1090426227
.word -1090360647
.word 1059751618
.word 1015441260
.word -1090011082
.word 1061768573
.word -1082381955
.word 1056293145
.word -1100004711
.word 1062646063
.word -1093626861
.word -1096751227
.word -1083170054
.word -1088382949
.word -1100305249
.word 1059355462
.word -1094281986
.word 1052277866
.word -1083795299
.word 1043655329
.word 1062566422
.word -1129690582
.word -1102086918
.word 1060431524
.word -1085185182
.word -1099394720
.word 1049653411
.word 1015470065
.word -1090441430
.word 1026174957
.word -1085690930
.word 1052353851
.word -1094835577
.word -1085177589
.word 1060786122
.word -1084873459
.word 1026399720
.word -1097768989
.word 1059747348
.word -1120968686
.word 1048142116
.word -1085422301
.word 1058153556
.word 1051616554
.word -1096442857
.word 1053717961
.word -1114957956
.word -1084362042
.word -1092536546
.word -1099152101
.word 1054825005
.word 1057983232
.word -1088294979
.word -1096677920
.word -1082514248
.word 1033361157
.word -1101064376
.word 1063458952
.word -1093261046
.word -1088194499
.word -1098483789
.word -1089386592
.word 1059920399
.word 1064238399
.word -1134235351
.word -1088661474
.word 1058057203
.word 1047278975
.word 1051056862
.word 1059231918
.word 1065037546
.word 1063401502
.word -1097858009
.word 1058360544
.word 1041922471
.word -1085890370
.word 1054278633
.word -1089415640
.word -1084559228
.word 1056031412
.word -1090494491
.word 1060789151
.word 1064970492
.word 1063811620
.word -1089341264
.word 1060589107
.word 1041720027
.word 1046483569
.word -1115038022
.word 1054737014
.word 1055273523
.word 1057911828
.word 1054191186
.word -1085765293
.word 1062986004
.word 1043767920
.word -1106919170
.word 1062975596
.word 1057114196
.word 1041162882
.word 1047931762
.word -1110256736
.word 1062697088
.word -1087224817
.word -1085592504
.word -1087192560
.word -1100338619
.word -1102537039
.word -1097012389
.word -1084389982
.word 1059635305
.word -1094919791
.word 1051506769
.word 1033125153
.word 1063800909
.word 1057219090
.word 1034015620
.word -1086212372
.word 1064790803
.word -1087781164
.word 1041580696
.word 1052806517
.word 1059177239
.word -1082859098
.word -1086559770
.word -1085552991
.word 1064656281
.word 1050897310
.word -1083679562
.word 1065225395
.word -1090330999
.word -1086915328
.word -1086878017
.word 1057732599
.word -1120548142
.word 1051371483
.word 1058931529
.word -1112058397
.word 1057073509
.word -1095411077
.word 1061628559
.word -1087708308
.word -1109979790
.word -1095981973
.word -1095956052
.word 1058793573
.word -1094917257
.word 1063494038
.word -1087559669
.word 1054606297
.word 1063956531
.word -1087908306
.word 1057617718
.word 1053027814
.word 1030610767
.word -1135859253
.word -1127944937
.word -1086722415
.word -1085390223
.word 1064436245
.word -1087699360
.word 1061350778
.word -1096750915
.word -1094064686
.word 1049008436
.word 1042205007
.word -1089481718
.word -1090802828
.word 1064048760
.word 1058215784
.word 1059174541
.word -1094919563
.word 1065097878
.word 1062757546
.word -1082707037
.word -1092676241
.word -1088564684
.word 1063438359
.word 1054472623
.word 1061607227
.word -1115309990
.word -1086585926
.word 1060748171
.word -1091386548
.word 1063597611
.word -1114342032
.word -1095210424
.word 1057960340
.word 1052390975
.word 1042014851
.word 1060289790
.word 1028926554
.word -1106354242
.word 1051617294
.word 1058377988
.word -1092454985
.word -1090492628
.word 1048581204
.word 1050941386
.word -1105603906
.word -1122224199
.word 1060903241
.word -1089267892
.word 1058532277
.word 1053879273
.word -1112731763
.word -1084554609
.word -1091418356
.word 1051295029
.word 1044982009
.word -1085490153
.word -1082574734
.word 1051386141
.word -1085949651
.word -1092841240
.word 1059478717
.word 1057037722
.word 1061655318
.word 1010253905
.word -1082205479
.word -1087566124
.word 1046346242
.word -1088523746
.word -1093269055
.word -1089981097
.word -1089395319
.word 1048329033
.word 1063149552
.word -1120827258
.word 1055723251
.word -1104805683
.word 1049763147
.word 1063700878
.word -1087047562
.word 1060079770
.word -1087616288
.word 1031564517
.word 1041699541
.word -1137584921
.word 1064696240
.word -1082966105
.word 1065221874
.word 1060581392
.word 1064949021
.word -1086005725
.word -1091753426
.word -1113848585
.word -1087082549
.word -1100882009
.word 1062683848
.word -1092794635
.word -1082855368
.word 1039831015
.word -1099435554
.word 1063818344
.word 1050376313
.word 1061267978
.word -1086287695
.word 1052531888
.word -1087122088
.word 1044497592
.word 1053669704
.word 1058784826
.word -1092620282
.word -1105027889
.word -1094511078
.word -1082979292
.word 1052608897
.word -1084266922
.word -1095957042
.word -1115829205
.word 1052001721
.word 1040439697
.word 1054696771
.word -1090603791
.word 1057852678
.word 1051349809
.word -1089524797
.word -1084039867
.word 1015789229
.word 1044732665
.word -1087592551
.word -1090082585
.word 1054448335
.word -1103191564
.word 1044573764
.word -1111588483
.word 1061900267
.word -1099340525
.word 1039378084
.word -1101173899
.word 1054030952
.word 1059641525
.word -1105582267
.word -1084632615
.word -1084750566
.word 1059133871
.word 1064418793
.word -1108267357
.word 1057947228
.word 1060852651
.word -1148741343
.word -1098842771
.word -1091413388
.word 1043796749
.word 1057766045
.word -1093393644
.word -1089675961
.word -1083384467
.word 1059042178
.word -1090711942
.word 1032045222
.word 1060774846
.word 1062247164
.word 1016153057
.word 1061147582
.word -1098360676
.word 1059904019
.word -1114027783
.word -1086360748
.word -1100748871
.word -1088692262
.word -1122418953
.word 1062879904
.word -1089077409
.word 1058710543
.word 1058190568
.word 1062280166
.word 1060722289
.word 1052531632
.word 1061415479
.word 1062609985
.word 1059035489
.word 1061051014
.word 1041225864
.word -1086386344
.word 1060328380
.word 1057798332
.word 1060812848
.word 1060792926
.word -1088591186
.word -1086220556
.word -1090011992
.word -1096812068
.word -1086285063
.word -1088262915
.word -1106743317
.word 1048669622
.word 1061337188
.word -1084843942
.word -1098367655
.word 1057792381
.word -1097962131
.word 1044580251
.word 1063789819
.word -1089179749
.word -1106679427
.word 1048221732
.word 1061922311
.word 1049818180
.word -1083702828
.word -1085199456
.word 1058866780
.word 1057270089
.word -1094246844
.word -1085724473
.word 1058222504
.word -1097794712
.word -1084524165
.word 1054445744
.word 1064006956
.word 1054041908
.word -1082524512
.word 1042390284
.word -1116179003
.word 1057106186
.word -1090299007
.word 1063363303
.word -1106980255
.word 1053020715
.word -1089868897
.word 1062279138
.word 1063155624
.word -1086687431
.word -1082856276
.word -1084829767
.word 1053435388
.word 1060688873
.word -1112702124
.word 1017721762
.word 1054102674
.word 1048347283
.word -1089744141
.word -1089194345
.word 1042727113
.word 1056754258
.word -1086059394
.word 1041973366
.word -1108922519
.word 1063328540
.word 1050098541
.word -1090428943
.word -1088248761
.word -1096900473
.word 1061471422
.word -1089774560
.word 1061309472
.word -1109839551
.word 1057109169
.word -1101778282
.word 1058924896
.word 1060125121
.word 1059375973
.word -1083691004
.word 1057405213
.word -1087723213
.word 1050750539
.word -1097498359
.word -1095271895
.word 1042290889
.word 1059273269
.word -1102291780
.word -1087677495
.word 1047738038
.word -1089231526
.word 1033478079
.word -1088272948
.word 1062489095
.word 1059017220
.word -1083932010
.word -1097885919
.word 1047981909
.word -1113550583
.word 1054110663
.word 1049825511
.word -1087306903
.word 1058603006
.word 1057787062
.word -1088996061
.word 1059762048
.word -1086440244
.word 1042807077
.word -1100288246
.word 1049703529
.word -1089948725
.word 1044268021
.word -1096627511
.word 1041221708
.word 1049606352
.word 1026827543
.word 1043641587
.word -1088604018
.word 1050729996
.word 1057292986
.word -1084637836
.word -1090259648
.word 1052035059
.word -1127911341
.word 1049228744
.word -1088698455
.word -1085858024
.word -1084910795
.word -1084769368
.word -1083312427
.word -1084064981
.word 1060497752
.word 1041423791
.word 1061949731
.word 1047456031
.word -1083419426
.word 1059110614
.word -1095948577
.word 1045961734
.word -1092408166
.word 1048797243
.word -1093650048
.word 1052431434
.word 1063684396
.word -1104915490
.word 1031922493
.word 1060475100
.word -1085660995
.word 1007818060
.word 1062025871
.word -1087090146
.word 1054635149
.word 1061946393
.word -1102709442
.word -1090722886
.word -1083207838
.word 1055895642
.word 1008614981
.word 1034609287
.word 1058637514
.word -1086565054
.word 1045230791
.word -1086297829
.word 1032771707
.word 1050275003
.word -1083775106
.word -1082821381
.word -1086241251
.word 1060650599
.word -1095953561
.word -1087108552
.word -1089191145
.word 1057906074
.word -1083460682
.word -1097962148
.word -1085589973
.word 1063953118
.word 1054262376
.word 1043739610
.word 1060032049
.word -1083357689
.word 1043814306
.word -1101631263
.word -1083983444
.word 1064709968
.word -1098896185
.word 1037584396
.word -1089716077
.word 1062764560
.word 1063455589
.word 1061463158
.word -1082889134
.word -1086859822
.word -1089163789
.word -1127869124
.word 1062250496
.word -1095486054
.word 1061500652
.word 1057315019
.word -1099816562
.word 1035492099
.word -1144515122
.word 1036654621
.word 1049484761
.word 1035182213
.word 1060249824
.word 1049616903
.word -1087138965
.word -1085729203
.word -1085391530
.word -1118390583
.word 1034636390
.word 1055865795
.word 1041795829
.word 1050728221
.word -1086789510
.word 1041668390
.word -1084339873
.word 1039343518
.word 1060955850
.word 1063633996
.word 1062705897
.word 1062289839
.word 1057338997
.word -1093567897
.word 1058317770
.word -1094387824
.word -1085999282
.word -1085631549
.word 1052167005
.word -1099886738
.word -1096346354
.word -1093307686
.word -1084428407
.word 1057051367
.word -1086681930
.word 1057879753
.word 1060948022
.word -1095381460
.word 1063876608
.word 1057398234
.word 1062862635
.word -1085950542
.word 1026347992
.word -1090152682
.word 1065274022
.word -1103146783
.word 1054321649
.word -1112106837
.word 1059667420
.word 1053401451
.word 1051802768
.word 1053079131
.word -1096247388
.word 1055157145
.word -1086354922
.word -1126078462
.word 1061523004
.word -1131303513
.word 1053837778
.word 1058743356
.word 1046457719
.word 1047674852
.word -1090292618
.word 1060808040
.word -1106438885
.word 1023637454
.word -1096777351
.word 1037566458
.word 1054401274
.word -1100162474
.word 1055797546
.word 1052927059
.word -1146938149
.word 1057120472
.word 1055865369
.word 1052051835
.word 1053288896
.word 1060681370
.word -1084832867
.word 1062461294
.word 1061475064
.word -1085251613
.word -1085535296
.word -1083253845
.word -1114356682
.word -1087753750
.word 1060251514
.word -1101855629
.word 1063329706
.word 1044004053
.word -1089129363
.word 1059049164
.word 1045553399
.word 1052093565
.word 1051500357
.word 1058577437
.word -1097376912
.word -1092418152
.word 1061058166
.word 1057697885
.word 1062431399
.word -1086073374
.word -1122926616
.word -1087457751
.word -1083572644
.word -1100731433
.word 1062422627
.word 1033737682
.word 1060260559
.word 1061339873
.word -1090091723
.word 1061410252
.word 1055572945
.word -1088628188
.word 1059078808
.word 1049743672
.word -1106933137
.word -1086649214
.word 1020156551
.word 1061065319
.word 1056336432
.word -1086850095
.word -1082598339
.word -1103739097
.word -1086131181
.word 1059903600
.word -1088622064
.word -1084567196
.word 1059344013
.word 1038514502
.word 1045303448
.word -1096135263
.word 1058676358
.word 1056546159
.word -1083195157
.word 1064226835
.word -1110954210
.word -1091007271
.word -1089247204
.word -1083463764
.word -1083167117
.word 1063508628
.word -1105290472
.word -1109761860
.word 1051036991
.word 1037547079
.word -1084861805
.word 1056889752
.word -1099972860
.word 1062684338
.word -1082226107
.word 1048036849
.word -1099501973
.word -1088858882
.word 1062653971
.word -1088177480
.word -1100927082
.word -1085852671
.word -1102167475
.word -1090985258
.word 1063255175
.word -1106864253
.word -1087592634
.word -1104879853
.word 1046246378
.word -1082750390
.word -1084797660
.word 1048901555
.word -1104590085
.word 1058178939
.word -1092673142
.word -1113656496
.word -1125110588
.word -1084681491
.word -1089229008
.word 1060798951
.word 1038264972
.word 1061334386
.word 1056526284
.word 1059994624
.word 1051272381
.word 1063694841
.word -1083920166
.word 1049202796
.word 1061907440
.word 1046672616
.word -1129706356
.word -1089082323
.word 1058435066
.word -1096633305
.word 1061835395
.word 1048630045
.word -1122088519
.word 1063365834
.word -1091550540
.word -1083799012
.word -1095720708
.word -1098189431
.word 1063065331
.word 1062096628
.word -1096390919
.word -1088007621
.word 1057565492
.word 1054540902
.word 1064086838
.word 1058156796
.word 1057802181
.word -1088179151
.word 1050495752
.word -1084044830
.word -1090082788
.word 1060886166
.word 1044342720
.word 1050997539
.word -1083246385
.word 1050494698
.word -1094144267
.word -1083937370
.word 1036840768
.word -1083255131
.word -1088110889
.word 1045270699
.word 1050617161
.word -1083415284
.word 1054977139
.word -1087718408
.word -1091006007
.word -1115647123
.word -1096186978
.word 1024035951
.word -1087941879
.word -1096539161
.word 1057957200
.word -1090607508
.word -1096227102
.word -1105845885
.word -1126608966
.word -1097610320
.word -1082195219
.word 1060416454
.word 1059216371
.word 1042888422
.word -1109203255
.word -1116793190
.word 1060398299
.word 1037635517
.word -1087595868
.word -1084600157
.word 1061653145
.word -1090415626
.word 1059672984
.word 1052367201
.word 1059945473
.word 1063838310
.word -1087530521
.word -1087149254
.word -1082886987
.word 1062322063
.word -1097939051
.word 1047943356
.word -1088875318
.word 1057312020
.word -1083945785
.word -1114582753
.word 1060827902
.word -1102074523
.word 1060536532
.word 1062264834
.word -1088517772
.word 1058985127
.word 1046258255
.word 1063905451
.word -1097757838
.word 1041037609
.word -1096538707
.word -1097904869
.word 1033608893
.word 1052351540
.word 1035451982
.word 1060830198
.word -1086900784
.word -1082729475
.word 1051517663
.word 1058034675
.word 1057539598
.word 1059816793
.word 1064960340
.word -1089243617
.word 1050886684
.word 1052764889
.word 1054871777
.word 1059134430
.word 1062009069
.word -1082718458
.word -1108599765
.word 1058326579
.word 1063543008
.word -1100651819
.word -1090960326
.word 1061470999
.word -1091223785
.word 1065138737
.word -1140345962
.word 1055065028
.word -1101643947
.word 1061735921
.word -1085130919
.word 1043146105
.word 1044458801
.word 1061936062
.word 1062080243
.word -1083012310
.word -1096546477
.word -1112570426
.word -1100255588
.word -1085452088
.word 1056878855
.word 1061847461
.word 1058413656
.word 1063192922
.word 1061495998
.word -1091915017
.word 1063191470
.word 1061224267
.word 1050113882
.word 1058216465
.word 1053086011
.word -1082499178
.word 1025691419
.word 1059113689
.word -1082666305
.word -1093729974
.word 1059637236
.word -1095694268
.word -1118558280
.word -1088165380
.word 1064769415
.word 1063838286
.word -1086416255
.word -1087552216
.word 1028641800
.word 1053430426
.word 1048588305
.word -1097652321
.word -1090153959
.word 1046192775
.word -1083434684
.word -1082630100
.word -1088292609
.word -1086827779
.word -1090411774
.word 1061564464
.word 1063533665
.word 1057966317
.word -1090292850
.word 1060919457
.word -1101742281
.word 1064626296
.word -1090238911
.word -1084713863
.word -1102305307
.word 1064138225
.word 1059813159
.word -1101704980
.word -1095554485
.word 1053029426
.word -1092007676
.word -1089279998
.word 1047770089
.word -1156970095
.word 1062770128
.word 1064043457
.word 1041319775
.word 1063194276
.word -1088294258
.word -1089415076
.word -1082803509
.word -1086617335
.word -1087913920
.word 1040977276
.word 1045649568
.word 1036119683
.word -1105771353
.word 1041362121
.word -1083951700
.word -1087831971
.word -1083494701
.word 1057381539
.word -1084789078
.word -1087785496
.word 1055287517
.word 1042388161
.word -1089470036
.word 1058710302
.word 1062991335
.word 1064402307
.word 1057152320
.word -1096122948
.word 1063754499
.word -1095991389
.word -1123622452
.word 1050497448
.word -1088159234
.word 1061858133
.word 1055291492
.word 1061091807
.word -1083549176
.word 1064959193
.word 1062468766
.word 1065197104
.word 1054270656
.word -1097669577
.word 1038379102
.word -1082853304
.word 1049038026
.word 1057547436
.word -1083500880
.word 1059992928
.word -1126981681
.word -1087221948
.word 1049401123
.word -1085127941
.word 1037387560
.word -1085651887
.word 1053584530
.word 1039362513
.word 1050574250
.word -1082783053
.word -1087739973
.word -1107244774
.word 1052842591
.word -1082600418
.word -1105737604
.word -1085467886
.word 1060918548
.word 1048425253
.word 1061311481
.word -1090016618
.word 1058545610
.word -1085468832
.word 1041325707
.word 1040890269
.word -1120874777
.word -1092627056
.word 1055857581
.word 1051081688
.word 1039862358
.word -1123027125
.word -1092625040
.word -1085106344
.word 1065176412
.word -1099440499
.word 1062011824
.word -1094282757
.word 1050802745
.word 1058683267
.word 1063524365
.word 1050914276
.word 1064184295
.word -1104224024
.word -1092612763
.word 1062597795
.word 1057349188
.word 1050091212
.word -1084518731
.word -1092149048
.word 1061206830
.word -1085046415
.word -1083691365
.word 1039331283
.word -1088386662
.word 1042754733
.word -1086838743
.word -1089234510
.word -1094883139
.word -1097425199
.word 1063145848
.word 1064446502
.word -1084156114
.word 1052808631
.word -1089696627
.word -1095001782
.word -1088316047
.word -1093932530
.word 1059175522
.word -1090592149
.word -1113940864
.word 1052209887
.word -1092566824
.word -1084882519
.word 1061520375
.word 1040659268
.word 1036350710
.word -1104199530
.word 1060894534
.word 1061558684
.word 1058498760
.word 1055281528
.word -1098961559
.word 1063847877
.word -1088443902
.word -1082895499
.word 1060336415
.word -1107076897
.word 1060722231
.word -1099587305
.word 1058627258
.word 1051042418
.word 1060757538
.word 1061578571
.word -1086556981
.word 1060003454
.word -1082307316
.word -1084469860
.word -1087959725
.word 1047068315
.word 1049020409
.word -1093444985
.word -1085912899
.word 1064677920
.word 1021934772
.word 1020643394
.word -1085196472
.word -1098051671
.word -1082850660
.word 1061257465
.word 1031161179
.word 1042210636
.word 1061065940
.word 1045632812
.word 1053796239
.word 1058495916
.word -1097687653
.word 1043108139
.word -1114132454
.word 1065215592
.word 994544143
.word 1036229355
.word 1058563348
.word -1088279939
.word 1064845208
.word -1085671439
.word -1087317059
.word -1086293705
.word -1092058995
.word 1057428535
.word -1098964282
.word -1094025927
.word -1089070675
.word 1061565200
.word 978368290
.word 1061223889
.word 1060183875
.word -1088844705
.word 1041242273
.word 1053609721
.word -1093440471
.word 1061707246
.word -1084858144
.word 1057020716
.word 1055059461
.word -1084327110
.word 1063533019
.word -1098612955
.word -1088973658
.word 1057683150
.word -1082810301
.word -1094768602
.word 1057954055
.word 1062813290
.word -1084450692
.word -1083176572
.word 1027280887
.word -1088112134
.word -1102606159
.word 1058255459
.word -1083985750
.word -1107913487
.word 1058339939
.word -1083564048
.word 1058972425
.word -1092319054
.word -1087389920
.word 1045154972
.word 1032524681
.word 1064334605
.word 1064008597
.word -1083448777
.word -1083239991
.word -1104046277
.word 1027955961
.word 1049663454
.word 1053981402
.word 1051352287
.word -1089863919
.word -1087088245
.word -1090482740
.word 1064602072
.word 1058978954
.word -1091518205
.word 1061236338
.word -1088567706
.word -1083563631
.word 1059046096
.word 1062617041
.word 1063904327
.word 1059535355
.word -1098238975
.word 1050690153
.word 1065096130
.word -1090787047
.word 1064629586
.word 1049974535
.word 1025539094
.word 1058187405
.word 1026403539
.word 1064606404
.word -1093796731
.word -1088732853
.word 1057758113
.word -1098483717
.word -1089589354
.word -1096264170
.word 1041582920
.word 1041278618
.word -1092141196
.word 1050440067
.word 1062479697
.word 1049043865
.word -1088687246
.word 1060171912
.word -1094790454
.word 1061162895
.word -1098951049
.word 1052933737
.word 1053131050
.word -1090265411
.word 1060604215
.word 1051721713
.word -1091761820
.word -1089804670
.word 1063091041
.word 1051876372
.word -1096907729
.word -1118909717
.word -1085102411
.word 1045176531
.word -1085642437
.word -1111850855
.word -1127776180
.word 1062543061
.word 1058725102
.word 1063659607
.word 1049269504
.word 1057362084
.word -1112778151
.word -1084741096
.word -1083623808
.word -1091503721
.word -1110137847
.word 1048703128
.word -1110225833
.word -1095891214
.word -1092288969
.word 1046374861
.word -1091363240
.word 1047091301
.word -1084624335
.word -1083773281
.word 1055134698
.word -1084773104
.word -1106181797
.word 1037398968
.word -1089597956
.word 1062309097
.word -1084937085
.word -1097741285
.word 1060285872
.word 1047578561
.word 1057607144
.word -1088866861
.word -1084916124
.word -1104641653
.word -1092401366
.word 1056437492
.word 1050903210
.word 1034611241
.word -1084828638
.word -1090270992
.word 1055838005
.word 1058602759
.word -1095729823
.word 1051829257
.word 1041902743
.word -1082737117
.word -1101564748
.word 1061003743
.word -1090185227
.word 1063378161
.word 1065063557
.word -1087306424
.word -1107879678
.word 1049013545
.word -1091454146
.word -1091554009
.word -1089467009
.word -1086534402
.word 1041990165
.word -1094973958
.word 1041837289
.word -1105418510
.word 1058186432
.word -1090562056
.word -1113412120
.word 1059644943
.word -1089263853
.word 1055331496
.word 1056060884
.word -1106614974
.word 1052923695
.word -1096937598
.word -1106501448
.word 1053463793
.word 1044968103
.word 1058443470
.word 1061502934
.word -1084392188
.word 1049127557
.word -1092930446
.word 1059681968
.word -1086284112
.word -1089572975
.word 1054446157
.word -1091171524
.word 1063946608
.word -1109021308
.word 1052383607
.word 1060300014
.word -1084439273
.word -1090874196
.word 1055389442
.word -1088737572
.word -1139901149
.word -1097607759
.word 1056561552
.word 1058086501
.word 1035416960
.word 1063471354
.word -1110903032
.word -1097903193
.word 1057080222
.word 1064563030
.word 1055555415
.word -1089354520
.word 1062828552
.word -1089092625
.word 1059918023
.word 1050222726
.word 1063866510
.word -1082886085
.word -1087477572
.word 1059168599
.word 1057338212
.word 1063687257
.word -1088041014
.word 1058104801
.word -1106359485
.word 1049147258
.word -1082536925
.word 1050746373
.word -1094585791
.word 1059749474
.word -1089282989
.word -1084471679
.word 1057242799
.word -1102877528
.word -1092130614
.word -1085349762
.word 1063011891
.word 1052863550
.word 1040318190
.word -1083938955
.word 1058181014
.word 1064937560
.word -1102107911
.word 1056975775
.word -1118760766
.word 1052039883
.word -1085392662
.word -1102279105
.word -1084991161
.word 1021797367
.word 1062241798
.word 1057931853
.word 1058876401
.word -1087519083
.word 1063616779
.word -1088377889
.word 1062040472
.word 1045984438
.word -1082476374
.word 1062447141
.word -1087655339
.word 1061811177
.word 1040997457
.word 1063707493
.word -1090079186
.word -1089763330
.word 1056788657
.word 1047680630
.word 1042308255
.word 1057239708
.word -1096362975
.word 1055645361
.word -1102529986
.word -1092465319
.word -1085336015
.word 1049984619
.word -1084922430
.word 1052454035
.word -1085533866
.word -1115358874
.word -1170828095
.word 1036848779
.word 1058609368
.word -1096808872
.word 1026151047
.word -1087567708
.word 1047652919
.word 1057811258
.word 1044775418
.word -1083746849
.word -1138575187
.word 1016344995
.word 1063351330
.word 1042975062
.word -1082390320
.word 1062170295
.word -1083382483
.word 1044786290
.word -1086347476
.word 1057543567
.word 1052415864
.word -1094311373
.word 1054547313
.word 1052359271
.word 1054310015
.word 1022755299
.word -1087914870
.word 1028564745
.word 1056046586
.word -1093279032
.word 1032671103
.word 1055663786
.word -1091072098
.word -1093489823
.word 1059023856
.word 1059643714
.word 1048166645
.word -1087426056
.word -1087353196
.word -1096691978
.word -1088098149
.word -1099838229
.word 1063344303
.word -1082853855
.word 1060953826
.word -1090031506
.word 1061899116
.word -1094689918
.word 1056744748
.word -1086282606
.word -1083117882
.word 1058811797
.word 1048703205
.word -1094881297
.word -1087207817
.word -1087476315
.word -1089312029
.word -1086329814
.word 1058843616
.word 1063553489
.word -1092524743
.word 989887333
.word 1064535363
.word 1024467417
.word -1091465055
.word -1087881133
.word -1112349803
.word -1123300700
.word 1058293102
.word -1100630022
.word -1097278324
.word -1090361309
.word 1044472528
.word -1096504508
.word -1088620531
.word 1058139719
.word 1060306851
.word 1057592734
.word 1057458542
.word -1086416554
.word 1052365941
.word 1057463876
.word -1108664643
.word 1065203722
.word -1103154535
.word -1101042436
.word -1119207251
.word -1083324762
.word -1110402648
.word 1055430114
.word 1058937468
.word -1102429553
.word 1036473287
.word -1103224593
.word 1059479893
.word -1083860785
.word 1058558437
.word -1086375420
.word 1058485344
.word 1064264541
.word -1097454383
.word 1061717288
.word -1102940965
.word 1054107751
.word -1112549878
.word 1034285313
.word -1088287260
.word 1048471502
.word 1065094622
.word 1065064843
.word 1057760789
.word 1056167343
.word -1083846575
.word -1101723168
.word -1084468553
.word -1090628409
.word -1083066846
.word 1042375878
.word 1064937378
.word 1057807927
.word -1088331957
.word 1059857341
.word -1083856149
.word -1087657578
.word 1050212251
.word -1096878766
.word -1082496953
.word 1044535050
.word 1064166932
.word 1061297692
.word 1062112356
.word -1091432142
.word -1085451777
.word 1055481825
.word 1065110294
.word 1060985053
.word 1050646480
.word -1107894981
.word 1064980522
.word -1084671260
.word -1097861446
.word 1064197303
.word -1098731708
.word -1097734845
.word -1102978394
.word 1059440475
.word -1091384643
.word -1089748704
.word 1059861973
.word -1099627425
.word 1064624161
.word -1112557268
.word -1086186770
.word -1140458626
.word -1090504050
.word -1087677198
.word -1095738411
.word -1086692973
.word 1062066914
.word 1005284054
.word 1044900942
.word -1091442283
.word 1059348151
.word -1098156532
.word -1086631502
.word -1085632398
.word 1024142560
.word 1032758626
.word -1083905973
.word 991518060
.word -1121633858
.word -1083076657
.word -1085684155
.word 1062860228
.word -1110649554
.word 1041563273
.word -1090036919
.word -1124039639
.word -1087797413
.word -1084047698
.word -1086421085
.word 1057383641
.word 1044287209
.word 1043990437
.word -1088732557
.word 1062824949
.word 1046973310
.word -1087330940
.word -1098688088
.word -1101745412
.word -1092266783
.word 1052779373
.word -1084071345
.word -1112816362
.word 1064848196
.word -1086546060
.word 1059797863
.word -1088842368
.word 1055960568
.word 1063728097
.word -1083881651
.word -1088208916
.word 1058183800
.word -1087227158
.word -1085140642
.word 1064302370
.word 1054362758
.word -1088942579
.word -1089071757
.word 1021792771
.word 1050188329
.word 1058521959
.word 1060591770
.word -1087431891
.word -1104442529
.word -1094854467
.word 1061461820
.word 1065316904
.word -1095006538
.word -1090131251
.word -1091930113
.word -1089999934
.word 1050211605
.word 1053299163
.word 1035102843
.word 1061393838
.word 1047500031
.word -1108427239
.word 1054485573
.word -1098708513
.word 1050331373
.word -1098740824
.word -1096194246
.word -1112795055
.word -1086963770
.word 1059021249
.word 1052521842
.word 1054350807
.word 1049233003
.word 1060438898
.word 1059067921
.word -1086667079
.word 1060465672
.word 996747212
.word 1052909833
.word -1087351645
.word 1048966488
.word 1060387307
.word -1083513109
.word 1063448046
.word -1083412891
.word 1052279259
.word 1057754115
.word -1097905941
.word -1082191972
.word -1096433481
.word -1088526103
.word 1050743523
.word 1037688387
.word -1099911313
.word 1025944182
.word 1060107642
.word 1051758229
.word 1039947802
.word -1086571961
.word 1025658142
.word 1049267291
.word -1096689545
.word 1045341402
.word -1095586173
.word 1065257789
.word -1082364081
.word -1085694396
.word 1057106559
.word -1092409363
.word 1062002864
.word 1060524036
.word 1064654691
.word -1118708964
.word -1094173268
.word -1097501343
.word 1060685302
.word -1104709798
.word 1024863606
.word 1060334364
.word -1090383314
.word -1094710908
.word 1042642595
.word 1060090632
.word -1108881554
.word 1062993578
.word -1086774388
.word 1053571554
.word 1041150916
.word 1056453926
.word -1120717990
.word -1084331877
.word -1105761771
.word -1108439782
.word -1082351119
.word -1084489220
.word -1088315186
.word -1124204186
.word -1097619755
.word -1090502919
.word -1085391368
.word -1084854979
.word 1023752518
.word -1089865503
.word 1063907759
.word 1060017515
.word -1087888785
.word 1064052857
.word -1087339300
.word 1060123152
.word -1100555113
.word 1022054038
.word -1093614618
.word -1091279829
.word -1085815144
.word 1056971325
.word -1089971315
.word 1065347835
.word 1040925791
.word -1085296834
.word -1089092643
.word 1040218631
.word 1045432672
.word -1110474182
.word 1057699187
.word 1059147985
.word 1061583752
.word 1047184326
.word -1087888007
.word 1061929674
.word 1049021646
.word -1094638256
.word -1086924227
.word -1104818326
.word 1062069814
.word -1090510852
.word 1060599485
.word -1087003114
.word -1098547040
.word -1090623512
.word -1083872667
.word -1083953240
.word 1030837052
.word -1082927402
.word -1089792351
.word 1033127611
.word -1106820511
.word 1060235114
.word -1084068044
.word -1083060095
.word 1051829081
.word -1089044318
.word 1057488358
.word 1053751456
.word 1044064241
.word 1062078756
.word 1058665797
.word -1086023856
.word -1096233561
.word -1084132823
.word 1024976075
.word -1093697629
.word -1089646739
.word 1052177595
.word -1092434642
.word -1082493574
.word -1088188559
.word 1049141092
.word 1061640399
.word -1082681052
.word -1085939856
.word -1098279974
.word -1096354751
.word 1025404265
.word 1058244597
.word 1055182331
.word 1053498545
.word -1086850977
.word 1058408140
.word -1085636207
.word 1057914838
.word 1060801752
.word -1089234726
.word 1060156096
.word 1027139613
.word -1117169563
.word 1063300929
.word -1098283439
.word -1085977101
.word 1059150169
.word 1062026329
.word 1043681879
.word -1113808077
.word -1091293129
.word 1017200363
.word -1089408582
.word 1050585594
.word -1088125228
.word -1088072256
.word -1082381558
.word 1042068335
.word -1092306661
.word -1088568169
.word -1097014571
.word 1050691557
.word 1064425984
.word -1097487903
.word 1049032878
.word 1061608162
.word -1090029433
.word -1093237080
.word 1049816202
.word 1058446654
.word 1049187341
.word -1087218500
.word 1062099932
.word 1025656130
.word -1088613641
.word 1052199956
.word -1116996247
.word -1084484864
.word 1064192118
.word -1109449725
.word 1059319247
.word 1022836664
.word 1057106133
.word -1085906509
.word 1048728615
.word -1102762947
.word -1093811826
.word -1106543242
.word -1091177938
.word 1041636903
.word 1046949771
.word -1101782680
.word 1061385262
.word 1042616250
.word -1089261283
.word -1092061087
.word 1054519535
.word 1043250814
.word 1032679221
.word 1024689879
.word -1099281457
.word -1082583181
.word -1104099037
.word -1085507941
.word -1088461715
.word -1086435320
.word -1096691130
.word 1063819924
.word 1064486783
.word 1058203749
.word 1055523969
.word -1099162457
.word -1086315922
.word 1058859958
.word 1064540004
.word -1090019473
.word 1035313971
.word -1127206823
.word 1064999176
.word 1050048830
.word 1058981525
.word 1063043882
.word -1094577767
.word 1061832649
.word 1041673984
.word 1060123279
.word -1083844266
.word -1122923572
.word -1084642763
.word -1122949134
.word -1088408520
.word 1062865659
.word 1050078353
.word 1062573017
.word 1033593943
.word 1063887111
.word -1096334088
.word -1084735119
.word -1087410833
.word -1102462407
.word 1058498324
.word -1106898849
.word -1090111476
.word 1052140169
.word -1105612390
.word -1083217057
.word -1097159361
.word -1082154633
.word -1091290366
.word -1084104383
.word 1045945133
.word -1082741687
.word -1084553047
.word -1085649765
.word -1088417930
.word 1037691628
.word -1086147830
.word 1009317299
.word -1088670906
.word 1064822293
.word 1058683804
.word -1101158606
.word 1064265720
.word -1094905905
.word -1097588115
.word -1085949099
.word -1095702742
.word 1040894670
.word -1086368197
.word -1084651629
.word -1086502691
.word -1124670468
.word 1052730335
.word 1061334142
.word -1095024059
.word 1039765878
.word -1086840509
.word -1106496676
.word -1103707314
.word -1095999269
.word -1085568820
.word -1112358107
.word -1082960727
.word -1094033313
.word 1059259283
.word -1105573759
.word 1057541766
.word -1095573296
.word -1085742075
.word -1118747589
.word -1083158836
.word 1058926362
.word -1100345233
.word 1047844625
.word 1025514153
.word -1097407571
.word -1084681768
.word -1119565536
.word 1056540195
.word -1085137977
.word 1040435197
.word -1097057684
.word 1051760318
.word -1086084551
.word 1060614149
.word 1059579315
.word 1056288473
.word -1109628347
.word -1095692584
.word 1034448433
.word -1136260918
.word 1056154970
.word -1144852021
.word 1063159220
.word -1098476069
.word 1049328639
.word -1086588770
.word 1065027629
.word 1038229675
.word -1086618563
.word 1055983371
.word 1063627401
.word -1105487405
.word -1088987344
.word -1108884433
.word -1110246292
.word 1046588519
.word -1117160511
.word 1035800581
.word -1090132991
.word 1053107659
.word -1100656594
.word -1117255291
.word 1059252854
.word -1086263473
.word -1086065522
.word 1061836209
.word 1059027357
.word -1111354543
.word 1039835903
.word -1106385352
.word -1089775841
.word 1057558796
.word -1095850594
.word 1049121689
.word 1058979694
.word 1044577989
.word 1064993506
.word -1083375756
.word -1097228641
.word 1064738714
.word -1090498316
.word 1062473834
.word -1088913190
.word -1083988150
.word -1094215291
.word 1059639462
.word -1088279682
.word -1087019184
.word -1086530450
.word 1065105673
.word 1064964890
.word -1084427695
.word -1085723605
.word 1050570243
.word 1042993440
.word -1089631250
.word 1025359064
.word 1055148205
.word 1046734356
.word 1032946559
.word -1094929317
.word 1050837774
.word 1051156403
.word 1063143008
.word -1083844418
.word 1059722183
.word -1094769268
.word -1088844518
.word -1093497453
.word -1108210737
.word 1057718927
.word 1053472458
.word 1051506384
.word -1130353319
.word -1089170430
.word 1033873175
.word -1083763932
.word -1085124252
.word 1063172125
.word 1059416466
.word -1113004626
.word 1059369083
.word -1083742849
.word -1091941897
.word 1057643446
.word -1091608544
.word 1037838258
.word -1107650525
.word -1098002750
.word -1092652649
.word 1033067887
.word -1085570810
.word -1088147669
.word -1083225411
.word -1116075063
.word -1097141911
.word 1049620090
.word 1057928620
.word -1095550367
.word 1060015606
.word -1120273299
.word -1083855060
.word 1022166100
.word 1059721318
.word -1094920891
.word -1089228086
.word -1103076039
.word 1054427409
.word 1048844244
.word -1089384059
.word -1120291980
.word -1095119023
.word 1055290093
.word -1086930893
.word -1082858839
.word -1082635565
.word -1093278698
.word -1100200263
.word -1105393512
.word 1057625101
.word 1058493281
.word 1061647054
.word -1089201596
.word -1089046384
.word -1097194652
.word -1096570396
.word -1095770464
.word 1063812524
.word 1061397485
.word 1029420949
.word -1118241625
.word 1048513323
.word -1084812234
.word -1090016202
.word -1092214807
.word 1055862171
.word -1090517298
.word -1086183968
.word 1052593822
.word 1044492689
.word -1103049390
.word -1092949597
.word -1103150691
.word -1138610824
.word -1085760202
.word -1088397546
.word -1096289872
.word 1061333117
.word -1140600710
.word -1082419009
.word 1053365241
.word 1039220909
.word 1051967983
.word -1098580487
.word 1061603430
.word -1087112267
.word -1095120486
.word -1093158253
.word -1085167630
.word 1064294364
.word 1060543199
.word 1063954144
.word -1105764900
.word 1050826328
.word 1063436909
.word -1083846630
.word 1060075492
.word 1063806867
.word 1031954673
.word -1093102106
.word 1053997244
.word 1063861057
.word -1088542128
.word -1087003483
.word -1085190030
.word -1098825977
.word 1042566830
.word -1104896079
.word -1088472202
.word -1091517031
.word 1061840793
.word -1088032969
.word -1085004455
.word -1128282982
.word -1089464339
.word 1052579042
.word -1093074205
.word 1057311893
.word -1084182917
.word -1086495114
.word 1050271201
.word 1032211082
.word 1064864049
.word -1088267014
.word 1051088557
.word -1091220675
.word -1102503156
.word 1058118256
.word 1060306887
.word 1055144009
.word 1059982307
.word 1037853327
.word -1082449476
.word -1085680170
.word 1032755615
.word 995681081
.word 1053349642
.word 1062055982
.word 1040592053
.word -1084724048
.word -1086244242
.word -1085079731
.word 1057133601
.word -1085326630
.word -1128583660
.word 1064011290
.word 1054987122
.word 1064847330
.word -1102328541
.word 1063450081
.word 1045488830
.word 1056345443
.word -1088208105
.word 1032330851
.word 1038065015
.word -1082924384
.word 1050564001
.word 1063348920
.word -1098257933
.word 1049583059
.word 1062887496
.word -1101173447
.word 1063728851
.word 1062634462
.word 1061134817
.word 1049137552
.word -1087412302
.word 1057063489
.word 1064979453
.word -1087714704
.word -1092137233
.word -1094352438
.word 1060001909
.word 1057805656
.word 1060388507
.word 1057293853
.word 1061824152
.word 1043631812
.word 1060051808
.word -1091555008
.word -1084784351
.word -1083783435
.word -1108269620
.word -1088698158
.word 1045201071
.word -1095571317
.word -1092694618
.word -1094943191
.word 1060304683
.word -1092328666
.word 1045047466
.word 1057382253
.word 1060428696
.word 1063877170
.word -1085142408
.word -1096064168
.word -1084618074
.word -1087127280
.word -1088008255
.word 1053992876
.word -1120694728
.word 1061984879
.word 1060544394
.word 1048657775
.word -1087404213
.word 1033270470
.word -1093856047
.word -1093350949
.word 1047493173
.word 1062481737
.word 1058752682
.word -1098370239
.word -1088520760
.word -1087317054
.word -1090460324
.word -1093546931
.word 1030491330
.word 1057830011
.word 1040699530
.word -1084844509
.word -1109648322
.word -1084222436
.word -1103289825
.word -1096657015
.word -1089161551
.word 1055418291
.word 1060160181
.word 1060535390
.word 1050749881
.word 1061323927
.word -1087648619
.word -1093596733
.word -1085217634
.word 1047089869
.word -1119506126
.word 1064818714
.word 1052733272
.word 1062340629
.word 1062295515
.word -1111043358
.word 1059970584
.word -1089210643
.word -1118407580
.word -1085872923
.word -1089504747
.word 1064141024
.word 1024421583
.word 1062751708
.word 1007360898
.word 1051095574
.word -1084616393
.word 1062589198
.word -1098357425
.word 1037967952
.word -1085186085
.word 1058481267
.word 1060307881
.word 1045273051
.word -1083201559
.word 1046460190
.word -1083969168
.word 1049196638
.word 1063360619
.word 1049561170
.word -1090774041
.word -1083902497
.word 1058392837
.word 1051600437
.word 1055484190
.word -1084461089
.word -1097118488
.word -1089465736
.word -1090082132
.word 1065346202
.word 1048563527
.word -1118034329
.word -1084726887
.word -1084243956
.word 1065315497
.word -1084452103
.word 1059839517
.word -1087365354
.word -1082642774
.word -1092253638
.word 1060539236
.word -1142194623
.word -1092176340
.word -1109838443
.word -1088976185
.word 1058451624
.word -1086235124
.word -1089802394
.word 1061313250
.word 1022616187
.word -1082175006
.word 1058207410
.word -1087218627
.word -1084609643
.word 1063781737
.word -1104155477
.word -1083386523
.word -1129458575
.word -1083131756
.word 1049011043
.word 1063712381
.word -1098402417
.word 1042669285
.word 1016368870
.word 1055889982
.word 1062959976
.word -1083977896
.word 1060804381
.word 1059836662
.word -1097334530
.word -1085601651
.word 1051446982
.word 1032427923
.word -1112569102
.word -1095455874
.word -1107977124
.word 1062234786
.word -1096427630
.word -1096777107
.word 1032678271
.word 1063292228
.word 1061461588
.word 1042463096
.word -1085076264
.word 1005294455
.word -1084329635
.word -1089429066
.word 1045640753
.word -1114683943
.word -1117776087
.word 1062193645
.word -1089462177
.word 1054992010
.word 1063976664
.word 1063936749
.word 1035515978
.word 1058879193
.word 1061334629
.word -1089403263
.word 1007693592
.word 1064944292
.word 1052627300
.word -1127849662
.word 1062482428
.word -1087746759
.word 983666197
.word 1044148162
.word 1062499705
.word -1092268739
.word 1057457125
.word -1082211085
.word -1084751895
.word -1093110604
.word -1094338225
.word 1045645047
.word -1094887237
.word 1049144204
.word 1063551638
.word 1060991453
.word -1091126131
.word 1048459796
.word -1094452601
.word 1064924127
.word -1084155102
.word -1125015049
.word 1059291496
.word -1086070944
.word -1104888297
.word -1086744149
.word 994124807
.word -1087130882
.word -1087013720
.word -1091730569
.word 1056181117
.word -1101857538
.word 1046764845
.word -1098617833
.word 1045645081
.word -1092789437
.word 1064044257
.word -1083063302
.word -1143012508
.word 1050900097
.word -1084875364
.word 1038379867
.word -1083168231
.word -1088215718
.word -1084911900
.word 1048642081
.word -1082619075
.word 1062528980
.word -1092311914
.word -1087849633
.word -1084179447
.word -1083964681
.word 1056213087
.word 1051083781
.word -1105785406
.word -1103162710
.word -1097804888
.word 1061076602
.word 1063935556
.word 1026338502
.word -1091078697
.word 1000673364
.word 1057900657
.word 1040483517
.word -1100293581
.word -1087497443
.word -1084377507
.word 1054876513
.word 1040788569
.word 1058461696
.word -1090584340
.word 1043936340
.word 1057400074
.word -1089155875
.word -1096292588
.word 1056373419
.word -1084349999
.word 1062563719
.word -1088711097
.word -1086181924
.word 1025243206
.word 1060653283
.word 1059502723
.word -1088602777
.word -1099595237
.word -1086593305
.word -1093118107
.word 1064534747
.word 1063383059
.word 1064297165
.word 1044182544
.word -1110101720
.word 1060207265
.word 1062001832
.word -1082160119
.word 1048906029
.word 1058017305
.word 1046592338
.word 1050714625
.word 1051291910
.word -1088793127
.word 1062697010
.word 1061153904
.word 1049137266
.word 1060259302
.word -1092843720
.word -1098009453
.word -1112361898
.word -1086793941
.word -1084859924
.word -1088342375
.word -1103223246
.word -1109226329
.word 1057231049
.word -1109863078
.word -1090289189
.word 1064703022
.word 1059573695
.word -1111702560
.word -1087248733
.word -1084274983
.word 1023122081
.word 1057486726
.word 1064770565
.word -1138776538
.word -1090608872
.word 1060212101
.word 1057751773
.word -1100247175
.word -1096692235
.word 1060055501
.word -1097016426
.word 1063027327
.word 1052901926
.word 1048892884
.word -1084837987
.word -1101904016
.word -1106304859
.word -1102738345
.word 1058682677
.word -1089891445
.word -1084193910
.word 1052318659
.word -1086626219
.word -1090895085
.word 1058853572
.word 1058091795
.word 1044921493
.word -1092902892
.word -1087724121
.word -1087122201
.word -1083902931
.word -1115808187
.word -1089124609
.word -1091117787
.word 1046036093
.word 1038523509
.word 1032590493
.word 1059299600
.word 1059357207
.word -1087019224
.word 1060984340
.word -1090761094
.word -1096954911
.word 1063990037
.word 1044330434
.word 1054898897
.word 1059292775
.word 1064160293
.word 1058305871
.word 1046469356
.word -1090081656
.word -1106269261
.word 1050399609
.word 1056566088
.word 1065138585
.word -1089908384
.word -1089624879
.word 1044166604
.word -1110449974
.word 1049818907
.word 1059618306
.word -1098231799
.word -1130326840
.word 978075218
.word -1119032401
.word -1089034169
.word 1057818846
.word 1060374936
.word 1065056857
.word 1064382378
.word 1060164727
.word 1027542024
.word -1083117297
.word 1039738437
.word 1061627418
.word 1040686033
.word -1108663650
.word -1087262682
.word -1092485408
.word -1103118523
.word -1087629196
.word -1087350342
.word -1114361721
.word 1057866879
.word 1052958549
.word -1094141842
.word -1087005831
.word -1088720787
.word 1060290315
.word -1098139723
.word 1033296777
.word 1060103731
.word -1100225469
.word 1053395787
.word -1084698928
.word 1033175838
.word -1136370587
.word 1055962091
.word -1104163512
.word -1096247827
.word -1092766722
.word -1083078353
.word -1107510374
.word -1112511478
.word -1100329217
.word 1029290248
.word 1063699756
.word 1055982748
.word 1047796433
.word 1050013535
.word -1088548998
.word -1084382167
.word 1058413022
.word 1049167170
.word 1063483815
.word -1129004663
.word -1083029935
.word 1050838780
.word -1097995133
.word -1101771418
.word 1060913758
.word 1064705384
.word -1089444660
.word 1062668983
.word -1098485065
.word -1089573161
.word -1095668644
.word 1007859287
.word -1087240251
.word -1109945494
.word -1087862500
.word -1088319654
.word 1058669843
.word 1063454550
.word -1088831398
.word -1095542272
.word 1050064075
.word 1057901221
.word 1046319173
.word -1087622386
.word -1089307685
.word 1045406880
.word -1090830795
.word 1014213401
.word -1085502129
.word -1100842748
.word 1023710129
.word -1106941204
.word 1058870376
.word 1052694991
.word -1089839514
.word -1086492141
.word 1059529653
.word -1087731373
.word 1056164544
.word -1088303084
.word -1089875768
.word -1098044722
.word 1051360460
.word -1082303918
.word 1046084168
.word -1099646808
.word -1092095898
.word -1085385622
.word -1082999615
.word -1097520845
.word 1057800309
.word 1049956697
.word 1063840004
.word 1033188392
.word 1060953687
.word 1058731779
.word 1049409054
.word 1060496507
.word 1059760868
.word 1057334698
.word -1089623157
.word -1093652678
.word -1083921693
.word 1057796552
.word 1060563289
.word 1049644151
.word 1059527966
.word 1062419950
.word 1052981675
.word -1091003933
.word -1084110786
.word 1050553625
.word -1090107279
.word 1051230639
.word 1054771207
.word -1083896531
.word -1084956917
.word 1059812718
.word -1087588888
.word -1094776430
.word 1055508432
.word 1053199962
.word -1089563009
.word 978893306
.word 1060118285
.word 1027689988
.word 1033722156
.word 1050842839
.word -1085094689
.word 1053431297
.word 1058802655
.word -1121374590
.word -1099303531
.word -1083142451
.word 1053722920
.word -1083244984
.word -1096184709
.word -1126576293
.word 1046847893
.word 1063478729
.word -1107988112
.word -1095308082
.word -1088891628
.word -1090960375
.word -1103522558
.word 1038904444
.word -1088857160
.word 1046105009
.word -1101911553
.word -1094748840
.word -1088662121
.word -1090662057
.word -1098651483
.word 1058369001
.word -1094812426
.word 1064579428
.word -1088294448
.word 1055355665
.word 1042979309
.word 1061554099
.word -1097996498
.word -1089560572
.word -1082378023
.word -1092492944
.word 1057991739
.word -1095484929
.word 1064854806
.word 1062929308
.word -1090047381
.word 1060076022
.word 1050998639
.word 1064568881
.word 1062428511
.word 1043692486
.word -1086689104
.word -1091222650
.word -1142659523
.word 1062864358
.word 1062901490
.word 1057211854
.word -1083078190
.word -1118395820
.word -1113349507
.word -1095370529
.word -1095006141
.word -1089416286
.word -1083278431
.word 1051767673
.word 1059286161
.word 1060513398
.word 1051316213
.word -1082352082
.word 1057320295
.word 1059586734
.word -1092636071
.word 1050424034
.word -1084674909
.word 1052067161
.word 1060163884
.word 1063681404
.word 1056131827
.word 1046502558
.word 1063431185
.word 1054329085
.word -1084145808
.word 1063564283
.word -1089760473
.word 1062010050
.word 1048537202
.word 1033693836
.word -1086396081
.word -1088613565
.word -1087160246
.word 1032729902
.word 1061325898
.word -1111013678
.word -1097276389
.word 1016109085
.word -1098251238
.word -1093690297
.word -1147062471
.word -1123672187
.word -1087362091
.word 1060370625
.word -1111866483
.word 1060964596
.word 1045380140
.word 1051543426
.word -1093579531
.word 1058839902
.word -1086978313
.word 1062693955
.word -1120497485
.word -1107143143
.word -1085841589
.word 1045914773
.word 1049820418
.word -1087101482
.word -1105541620
.word -1085734506
.word 1054547455
.word 1063236168
.word -1095741561
.word -1086228657
.word 1062769749
.word 1040300009
.word 1042985024
.word -1105734405
.word -1085979807
.word -1082145041
.word -1100673100
.word -1087956943
.word 1055892695
.word -1083610481
.word 1057888778
.word 1037365192
.word -1093403986
.word 1064326348
.word 1057224005
.word -1107116578
.word 1057143478
.word 1063648809
.word 1057435982
.word -1092377255
.word -1098038254
.word -1090249349
.word 1038188151
.word -1097460954
.word -1088898002
.word 1042053519
.word -1088961035
.word 1064485754
.word -1089256071
.word -1096811716
.word 1059726091
.word -1103765018
.word -1083266926
.word -1097395190
.word 1060849190
.word 1063011270
.word -1111360282
.word 1037647105
.word -1099888164
.word -1090693953
.word -1089909068
.word -1087484679
.word 1058960753
.word 1058875424
.word -1096941164
.word 1060232634
.word -1092530632
.word 1063821294
.word 1047476236
.word -1102889716
.word -1095726692
.word -1103210850
.word -1089620722
.word -1084486900
.word -1082196789
.word 1025450422
.word 1059489723
.word -1093027793
.word -1089229879
.word 1052895474
.word 1057496674
.word 1057066893
.word 1062916815
.word 1060744560
.word -1093381719
.word 1059551797
.word 1058312962
.word -1178947981
.word -1083851879
.word -1084721417
.word 1058894727
.word 1026687575
.word 1051667002
.word -1087223748
.word -1086940971
.word -1089162318
.word -1097535730
.word -1091422241
.word 1057265629
.word -1084711447
.word -1086905056
.word -1090078258
.word 1038711551
.word -1101766635
.word -1083466240
.word -1097969103
.word -1088228389
.word -1082591273
.word -1087381698
.word 1063218355
.word 1058942179
.word -1084894072
.word -1094435420
.word 1053583451
.word -1102851596
.word 1058981612
.word 1037688168
.word 1065138845
.word 1046497103
.word 1043857514
.word -1082774350
.word 1058142009
.word -1085299790
.word 1064086276
.word 1061066765
.word 1049345619
.word 1032084890
.word 1050723655
.word 1057951673
.word -1096231853
.word -1089780078
.word 1063604521
.word 1061966329
.word 1063297560
.word 1058913505
.word 1054986822
.word -1088128317
.word 1065169666
.word -1094721024
.word 1056322967
.word 1063758402
.word 1054573592
.word -1092851622
.word 1034557776
.word 1060223093
.word -1088791577
.word -1090138654
.word 1060613565
.word -1083506126
.word -1092060021
.word -1094590466
.word 1046662232
.word 1061174314
.word -1088233798
.word -1098755675
.word -1083059501
.word -1086815037
.word -1087589049
.word -1101709849
.word -1082810097
.word -1088506336
.word 1058633717
.word -1111249786
.word -1091922253
.word 1060939374
.word -1103820688
.word 1059928348
.word -1082679457
.word 1050903933
.word -1092967491
.word 1032411355
.word 1061493545
.word 1061459613
.word 1065114818
.word -1101785827
.word 1046504645
.word 1057778531
.word 1064971155
.word -1102388506
.word 1063913124
.word 1043758556
.word -1099539125
.word 1052137088
.word 1055390687
.word -1121693735
.word 1062300785
.word -1084134447
.word 1059171144
.word 1059629372
.word -1103621881
.word -1099723423
.word 1060988365
.word 1060510566
.word 1061575942
.word 1050987364
.word 1055977255
.word 1048977472
.word -1088262821
.word 1055668168
.word 1035208104
.word 1060292427
.word 1031445256
.word 1063987534
.word -1105764658
.word -1101706355
.word 1061585671
.word 1025246663
.word -1082894323
.word -1088498203
.word -1085984968
.word 1061532151
.word 1051141654
.word 1054204369
.word 1036062122
.word 1056500010
.word -1086824653
.word 1015889968
.word -1091846783
.word -1089127643
.word -1092541660
.word -1087258600
.word 1056747057
.word -1082239025
.word -1089466042
.word -1115417261
.word 1061015909
.word -1087690589
.word 1058544756
.word -1088753728
.word 1038184086
.word -1088851405
.word 1060720725
.word 1059963499
.word -1088697210
.word -1084119884
.word -1106332729
.word 1063236401
.word 1050750262
.word -1091961282
.word -1090082777
.word -1093491798
.word -1085615824
.word -1097242145
.word 1009230500
.word 1042665136
.word 1065041613
.word -1088046891
.word -1103382986
.word -1095597453
.word -1102387731
.word 1058472367
.word -1102133805
.word 1024091918
.word -1126005399
.word 1047699790
.word -1091421533
.word 1064587474
.word -1089906345
.word -1088784880
.word 1061599606
.word 1061673339
.word 1049890907
.word -1092533838
.word 1026553159
.word 1055532570
.word 1047690872
.word 1043032359
.word 1059221506
.word 1042161020
.word -1086314855
.word 1063048826
.word 1062000831
.word -1095820254
.word -1110289671
.word -1085531937
.word -1086851549
.word -1086675280
.word -1105455845
.word -1087116932
.word -1129430885
.word 1064703244
.word -1088866736
.word 1044418164
.word -1090317873
.word -1092617874
.word -1095470231
.word 1036718589
.word -1087779616
.word -1084896334
.word 1058434338
.word -1083140906
.word 1058875172
.word -1090118779
.word 1055113829
.word -1097330538
.word -1083563522
.word 1057884752
.word -1085210729
.word 1062395838
.word 1060394292
.word -1085160432
.word 1065336497
.word -1082654694
.word 1023356539
.word 1048432876
.word 1062594386
.word 1043193528
.word -1097161437
.word 1049903058
.word 1059852659
.word 1064465032
.word 1051084334
.word 1061998008
.word -1085730338
.word -1091757462
.word 1059635421
.word 1039288311
.word -1089809408
.word -1096023396
.word 1061910667
.word 1059064001
.word 1047094047
.word 1057527604
.word -1082988119
.word 1044309077
.word 1062997576
.word -1131008758
.word 1064800688
.word -1106199058
.word 1064650376
.word 1049057814
.word -1088315766
.word 1060061649
.word -1090058212
.word 1050074517
.word -1092558473
.word 1053308457
.word 1014959206
.word -1087475917
.word 1041646302
.word -1086217280
.word 1052978077
.word 1055047004
.word 1064749270
.word -1118845588
.word 1058029338
.word 1044615278
.word 1056380720
.word -1098121599
.word 1065028421
.word 1045106377
.word 1059952633
.word 1057474914
.word 1044984594
.word -1146551530
.word 1021313076
.word -1098664432
.word -1089227790
.word -1096188710
.word 1053246043
.word 1032994218
.word 1063930158
.word 1057463543
.word -1112642399
.word -1087294243
.word 1033964427
.word -1107603242
.word -1105307081
.word -1090937222
.word 1026715848
.word 1062953045
.word 1051994327
.word 1060455960
.word -1087143456
.word 1034207716
.word -1113411547
.word 1057698640
.word 1051802070
.word -1087492877
.word -1089306363
.word 1047769466
.word 1032422668
.word 1062876798
.word -1097187550
.word 1057363283
.word 1035295319
.word 1063426662
.word -1096110840
.word -1083570129
.word 1059602326
.word 1045370791
.word -1087823198
.word 1059334753
.word 1061929384
.word -1096134661
.word -1097310617
.word 1054524651
.word 1058674105
.word 1052107546
.word -1093177664
.word 1052104582
.word -1085372903
.word -1087257487
.word -1086840624
.word 1058314968
.word 1064667970
.word -1083105213
.word 1064691671
.word 1039383126
.word -1082575557
.word -1088379361
.word 1051307143
.word -1093363440
.word 1046922120
.word -1101134420
.word 1060597775
.word 1041804563
.word -1101424773
.word 1060012116
.word 1059906639
.word 1030900888
.word -1100811785
.word -1099855300
.word 1043085693
.word -1087000213
.word 1062717354
.word -1096183842
.word 1047326122
.word -1086912122
.word -1090765821
.word 1057844151
.word -1092633392
.word -1096016759
.word 1041037408
.word 1060980191
.word 1056737202
.word 1049704991
.word -1088782214
.word -1091385373
.word 1048530054
.word 1051050194
.word 1064239426
.word -1087976369
.word -1086438331
.word -1088030822
.word 1038861014
.word -1114812602
.word 1025624226
.word 1060869166
.word 1056548019
.word 1062144657
.word 1062461125
.word 1057817339
.word 1063522122
.word 1042066319
.word 1053649371
.word 1044359814
.word 1058246169
.word -1091696670
.word 1060910144
.word -1121892854
.word -1090486709
.word -1084597920
.word 1053098265
.word 1060721989
.word 1063165707
.word 1060288594
.word -1115862827
.word -1098106384
.word -1114074172
.word -1086250780
.word -1084494604
.word -1087012402
.word -1084083375
.word 1051139091
.word 1061271093
.word -1088173290
.word -1089906142
.word -1088894021
.word -1103127589
.word 1061330181
.word 1044642282
.word -1085964966
.word -1094841823
.word 1060711610
.word -1096387241
.word -1087955083
.word -1083761755
.word -1109316879
.word 1063066943
.word 1061369164
.word 1056450260
.word -1094655255
.word -1082781787
.word 1052753653
.word -1098059589
.word 1064479981
.word 1063534743
.word 1047447174
.word 1063150274
.word -1102141476
.word -1087560497
.word 1064717923
.word 1036048615
.word -1112580927
.word 1052772357
.word -1098057280
.word 1031511508
.word -1103388221
.word 1041661424
.word -1096988998
.word -1106348442
.word 1040579323
.word -1115285878
.word 1065164018
.word -1085390498
.word 1061382040
.word 1041740035
.word -1092794596
.word -1088972417
.word -1088944746
.word -1095010801
.word 1062678370
.word 1058173456
.word -1085054994
.word -1082630020
.word -1089606003
.word 1051080777
.word 1027698348
.word 1043079707
.word 1003491936
.word 1062840614
.word 1049804909
.word 1044955022
.word 1049890039
.word 1051421452
.word 1063193766
.word -1086247401
.word 1059042819
.word 1034730502
.word -1086553410
.word 1053626200
.word 1062271667
.word -1090507841
.word 1055390665
.word 1049642970
.word 1059178691
.word 1056040758
.word 1057400627
.word -1107314648
.word -1084094969
.word -1090500753
.word 1059172864
.word -1128276619
.word -1090165145
.word -1121661083
.word -1086106643
.word 1064492818
.word -1089298651
.word -1098537110
.word -1090416559
.word 1058406333
.word -1095134013
.word -1084053520
.word -1084885970
.word 1051503652
.word 1050207357
.word -1086410245
.word -1082468515
.word -1090904280
.word -1180973488
.word -1106433008
.word -1088384857
.word -1082626739
.word -1088816356
.word -1082138355
.word 1039069664
.word -1085715206
.word 1060993124
.word 1062945442
.word -1089593862
.word -1131782274
.word -1085912950
.word -1085774992
.word -1088827144
.word 1063437528
.word 1058257725
.word 1059713219
.word -1095250209
.word -1094209706
.word 1045370921
.word -1130570832
.word -1089404035
.word 1049880716
.word 1064725471
.word 1061697859
.word -1096816818
.word -1086335571
.word 1045601686
.word 1062064957
.word -1086608627
.word -1092995503
.word 1060099808
.word -1093917943
.word -1098310835
.word -1094736622
.word 1059195852
.word -1082596541
.word -1104472265
.word 1058779513
.word -1083211721
.word -1093121132
.word 1056952661
.word -1090819856
.word -1127099793
.word -1105036744
.word 1052283897
.word 1047080475
.word -1106380351
.word -1114578087
.word 1031977702
.word -1104356106
.word -1089249497
.word -1104803579
.word 1057444790
.word 1058328316
.word 1055100013
.word 1062992466
.word -1104243636
.word -1092526410
.word -1103282716
.word 1059917579
.word -1136619012
.word -1100141998
.word -1101589181
.word -1090217877
.word -1085389024
.word 1042330778
.word 1063542550
.word 1053739171
.word 1058173096
.word -1088771762
.word -1096220720
.word 1023465476
.word 1060048051
.word -1085677434
.word 1062589611
.word -1115421012
.word 1064317562
.word -1095722396
.word -1082520997
.word 1063780588
.word -1088033449
.word -1085872003
.word -1097247691
.word -1093079557
.word 1061157430
.word -1087131219
.word -1087747590
.word -1089372161
.word -1082846662
.word 1063911868
.word 1061510445
.word 1035814455
.word 1062746036
.word -1088617565
.word -1087444277
.word 1052218777
.word 1064255939
.word 1047676513
.word -1083875861
.word -1087611509
.word 1055450743
.word -1091393938
.word -1089243961
.word -1088088844
.word -1082462305
.word 1050979181
.word -1085487138
.word 1031661144
.word -1088686034
.word 1042485409
.word -1095895647
.word 1052933547
.word -1083420059
.word -1124718038
.word -1103347881
.word 1039871781
.word 1063468330
.word -1088565358
.word -1083462528
.word 1052027462
.word -1083295134
.word -1094585197
.word 1061585452
.word 1062618157
.word 1027698292
.word 1056459088
.word -1083151239
.word 1048963731
.word 1041435285
.word -1096440803
.word 1056409834
.word -1093097239
.word 1052165211
.word -1084749233
.word 1064445628
.word -1090654858
.word 1064888102
.word 1042069932
.word -1086896925
.word -1088555621
.word -1096145876
.word -1104195350
.word 1062698579
.word -1124277067
.word -1088397057
.word -1086673106
.word -1086433497
.word -1086595371
.word -1092223845
.word 1052343709
.word 1051174344
.word 1058806221
.word -1105786361
.word -1091519120
.word -1100104343
.word 1046903305
.word -1113087200
.word 1061887109
.word 1049167504
.word -1094152939
.word -1084697480
.word -1085884811
.word 1039697696
.word -1102948315
.word -1083902237
.word -1088289947
.word 1064142199
.word -1086619099
.word 1048911936
.word -1086929161
.word 1055950057
.word -1088692081
.word -1087415373
.word -1086399289
.word -1089909889
.word 1058417199
.word 1041851983
.word 1053662072
.word -1086833584
.word 1058955390
.word -1098684854
.word -1084429480
.word 1063572592
.word 1063034618
.word -1087081460
.word 1042144514
.word -1113660898
.word -1098830562
.word 1063169693
.word 1054573767
.word -1085177631
.word -1086507312
.word -1087207586
.word 1044079563
.word 1060144949
.word -1118876184
.word -1087078405
.word 1055383941
.word -1095046545
.word -1083988931
.word 1017095996
.word 1062798776
.word -1115344782
.word -1109458512
.word -1104378025
.word 1063885763
.word 1054553130
.word 1060196789
.word 1040563202
.word 1053986499
.word -1102604711
.word 1058007348
.word 1057028282
.word 1062028065
.word 1061925935
.word -1096291241
.word 1061517768
.word 1047712965
.word -1085589913
.word 1057599200
.word -1113775575
.word 1055103627
.word 1059036142
.word -1090507902
.word -1083969218
.word 1053257808
.word -1083542532
.word 975905896
.word -1107791460
.word 1045667637
.word -1093555258
.word -1119140631
.word -1096783168
.word -1082217013
.word 1051747337
.word 1048603812
.word 1062760101
.word -1086680349
.word 1048553892
.word 1057696121
.word 1013145179
.word -1115113096
.word -1085428475
.word -1100737725
.word 1055686081
.word -1094594656
.word -1091720288
.word -1095110282
.word 1058911951
.word -1096679369
.word 1040638363
.word 1031722174
.word -1084114944
.word 1053636399
.word 1042789708
.word -1090036392
.word 1057855014
.word 1064202182
.word 1053946818
.word -1102873482
.word 1029345763
.word -1083610514
.word 1062395332
.word 1061271923
.word -1084652026
.word 1037646679
.word 1061123520
.word -1089515372
.word 1064953610
.word 1057074063
.word -1114205401
.word 1059239777
.word 1058771988
.word -1094430044
.word -1088156219
.word 1035452777
.word 1060696229
.word -1094920246
.word 1060064876
.word -1123419919
.word 1045208422
.word 1051992606
.word -1092754201
.word 1060477789
.word -1133217136
.word -1089695015
.word -1085921256
.word 1054963984
.word 1060994012
.word -1096481596
.word -1105735179
.word 1060731549
.word -1086422410
.word -1086441649
.word -1138526279
.word 1057804725
.word 1041719165
.word 1061614960
.word -1088414975
.word -1115974380
.word -1093870413
.word 1063080102
.word 1051181718
.word 1061424645
.word -1083704385
.word 1057697038
.word -1090060395
.word 1057718451
.word 1055419983
.word -1093105857
.word 1062055749
.word 1056852244
.word -1098743536
.word -1083121921
.word -1114793013
.word 1015520014
.word 1057135719
.word -1125478408
.word -1106190886
.word 1063205749
.word -1086274487
.word 1043052707
.word -1103492956
.word 1056838318
.word 1062904121
.word 1053217271
.word 1056941803
.word 1043443697
.word 1023992481
.word 1059168257
.word -1084935531
.word -1090119305
.word 1051010632
.word 1020786024
.word 1064497281
.word -1098773709
.word -1104546782
.word 1051317413
.word 1062144269
.word 1042526997
.word -1092593433
.word -1083074157
.word -1082670325
.word 1049025759
.word 1060504294
.word -1098082297
.word 1064172210
.word 1040250694
.word 1060174193
.word -1088707992
.word 1049728676
.word -1093147576
.word -1093556396
.word -1105466512
.word 1059160220
.word 1039938397
.word -1088084570
.word 1052272135
.word 1060049699
.word 1061202513
.word -1089151783
.word -1091555303
.word -1114789280
.word 1043521306
.word 1051974035
.word 1053435196
.word 1060492554
.word -1088529371
.word -1086802108
.word -1082565151
.word 1064339147
.word 1058632381
.word -1095813480
.word -1094306149
.word -1089310612
.word -1088460181
.word -1087550314
.word 1065251767
.word -1085745264
.word 1061809502
.word -1115313350
.word -1082319333
.word 1061141962
.word 1054043668
.word 1045667582
.word 1058191292
.word 1064321385
.word 1061044285
.word 1061254192
.word -1097394478
.word 1046372560
.word 1047244587
.word -1090440949
.word 1056038580
.word -1084349189
.word 1063156241
.word -1083719483
.word -1114693751
.word 1061366602
.word 1059215963
.word -1090569807
.word -1097758153
.word 1046847669
.word 1054043725
.word -1084949261
.word -1094691076
.word 1042113416
.word -1082902233
.word -1089758013
.word 1059274613
.word 1055805616
.word 1033731676
.word 1049150564
.word 1057733718
.word 1061643622
.word -1095101496
.word 1056286361
.word -1088826006
.word -1086511877
.word -1085888744
.word -1087070320
.word -1096876808
.word -1089242599
.word -1123284330
.word -1094263230
.word -1085642217
.word -1104313893
.word 1046550351
.word -1096443021
.word 1062595430
.word -1083263795
.word -1084957712
.word -1103266360
.word 1064448005
.word 1063083942
.word 1063959348
.word -1101991350
.word -1085365358
.word -1091037661
.word 1064920957
.word -1101724928
.word 1059437760
.word 1036313670
.word -1085481538
.word 1052031507
.word 1063965309
.word -1086594275
.word -1100288745
.word -1095267020
.word 1055929675
.word -1084489995
.word -1083174610
.word 1053266118
.word 1055569603
.word 1057685578
.word 1059901011
.word 1064414182
.word -1085921619
.word 1049011699
.word 1062713977
.word 1051906340
.word 1062265185
.word -1100499223
.word 1041486373
.word -1088663677
.word 1057630583
.word 1059577818
.word -1086730658
.word -1102600123
.word -1097025074
.word 1060747226
.word 1059955714
.word 1048595391
.word -1089316572
.word 1038460393
.word -1099819508
.word 1061463805
.word -1085498441
.word 1036929039
.word 1038691779
.word -1125730762
.word -1114303729
.word -1090263212
.word 1061926721
.word 1057057556
.word -1090649085
.word -1095115659
.word -1097160564
.word 1064368558
.word 1030181870
.word 1060874157
.word 1058352658
.word -1105014070
.word 1062461453
.word -1104742058
.word 1052010548
.word 1064017840
.word -1097877810
.word -1093808242
.word -1106869906
.word 1033070205
.word 1061927236
.word -1095612491
.word 1064450344
.word -1103041511
.word 1065006250
.word -1106813379
.word 1058404640
.word -1083896563
.word -1082163215
.word -1086864223
.word -1087056682
.word 1047738330
.word 1061448033
.word -1099170671
.word -1086024628
.word 1041160561
.word -1089753012
.word 1056318871
.word -1095359246
.word -1090736511
.word 1062534830
.word 1039857600
.word 1043835195
.word 1059159155
.word -1084000129
.word 1063027488
.word 1064740305
.word -1146918237
.word 1051659468
.word 1059561856
.word -1085034401
.word 1037026072
.word 1053659971
.word -1084973214
.word 1062537790
.word -1087880755
.word 1022964433
.word -1086853849
.word -1088969772
.word -1095339697
.word 1059886118
.word 1058751224
.word -1087040640
.word 1020153854
.word 1061377434
.word -1098631676
.word 1055501105
.word 1059086641
.word 1042694140
.word 1064753944
.word 1063159801
.word -1115221792
.word -1086947678
.word -1083020157
.word -1084599657
.word 1061855549
.word 1062409324
.word -1094901799
.word 1039297048
.word -1086940815
.word 1057789469
.word -1157379219
.word 1061141382
.word -1104028765
.word 1043553734
.word 1034412411
.word -1085404788
.word 1064899670
.word -1115956740
.word -1097449258
.word 1063439259
.word 1056915325
.word -1085336994
.word 1052412760
.word -1083042833
.word -1097704247
.word -1120699835
.word 1050387318
.word 1052356008
.word -1089794979
.word 1043512751
.word 1041201075
.word -1087093737
.word -1088045039
.word 1062521959
.word -1095050421
.word -1086655417
.word 1011097903
.word 1061936343
.word -1100393978
.word -1083349630
.word 1031188503
.word -1091015509
.word 1045107770
.word -1090020368
.word -1096508713
.word -1084822065
.word -1103080982
.word -1094003925
.word 1052522006
.word -1083428018
.word 1063566592
.word -1090444645
.word 1059702395
.word 1063471045
.word 1049149898
.word 1065090034
.word -1087708599
.word 1033052604
.word -1086603856
.word 989085288
.word -1096675226
.word -1091607891
.word 1058136757
.word -1089571091
.word -1087987414
.word 1058046114
.word 1058395312
.word -1092766998
.word 1062786510
.word -1091791152
.word -1094563402
.word -1137976514
.word 1059551515
.word -1083920916
.word -1087342270
.word -1096115224
.word -1120068323
.word -1091746746
.word -1082212891
.word 1057402083
.word -1114856691
.word -1084547893
.word -1099593877
.word -1090114000
.word 1039452768
.word -1084843870
.word -1091882467
.word -1082551184
.word -1087490456
.word 1057093713
.word 1035758340
.word -1087592089
.word 1057880397
.word 1052195563
.word 1055389295
.word -1082269554
.word 1041511147
.word 1035309058
.word 1060458584
.word 1058295900
.word 1063710702
.word 1009488067
.word 1038533514
.word 1028813057
.word -1088043368
.word 1050990539
.word -1092750066
.word -1091140004
.word 1059509103
.word 1064055488
.word -1086294549
.word -1123439821
.word 1047694997
.word -1120788793
.word 1041919518
.word -1101079992
.word 1051793548
.word -1091460521
.word 1059900638
.word -1082355493
.word -1085742906
.word 1049271497
.word 1058571733
.word -1090989837
.word 1046731022
.word -1084645835
.word -1089257654
.word -1100863162
.word -1086333980
.word 1061042136
.word 1055753051
.word 1046886838
.word 1064269583
.word 1002946718
.word 1062515817
.word 1021144573
.word -1088023197
.word 1056024489
.word -1105905561
.word 1059497082
.word -1098365244
.word -1082761618
.word 1052094362
.word -1103328296
.word -1085056010
.word 1058566751
.word 1055242580
.word -1084820290
.word 1050326161
.word -1086568264
.word -1083958464
.word 1063344960
.word -1097860764
.word 1017103716
.word -1090325842
.word 1055196397
.word 1052780959
.word 1064756664
.word 1043049153
.word 1010977561
.word 1064651711
.word 1050770307
.word 1044472486
.word 1054194712
.word -1089838453
.word -1093112495
.word 1037023288
.word -1099883055
.word -1085384465
.word -1088553525
.word 1051953534
.word -1086516993
.word 1049981698
.word 1051442740
.word 1062535461
.word -1088681267
.word -1092633229
.word -1087409954
.word -1090483678
.word -1083917865
.word -1098496147
.word 1055435097
.word 1046779338
.word 1058731054
.word -1087183720
.word 1063085660
.word 1052392891
.word -1095398812
.word -1089260603
.word 1054382982
.word -1098154027
.word -1108379001
.word 1057754368
.word -1083962127
.word -1084072184
.word -1083979231
.word 1046405742
.word 1042191503
.word -1096113086
.word -1085048203
.word -1082831746
.word 1062838560
.word -1094170070
.word 1064624717
.word 1029560031
.word 1036678280
.word 1062868573
.word 1052332739
.word -1083777651
.word -1117390028
.word 1057335230
.word 1049025090
.word -1104876219
.word -1082403775
.word -1096118307
.word -1089738309
.word 1059099708
.word 1053902149
.word 1061237780
.word 1063168367
.word 1052342246
.word 1062896825
.word -1087181872
.word -1087634277
.word 1062042332
.word 1051552312
.word -1124861668
.word -1084121702
.word -1097340078
.word -1082705891
.word -1086540081
.word 1006883189
.word 1065180695
.word -1084941644
.word 1055439660
.word -1083241055
.word -1088093685
.word 1037437055
.word -1089924687
.word -1083186695
.word 1058640841
.word -1085668589
.word 1062355015
.word 1062300305
.word -1084843199
.word -1104082816
.word -1103217650
.word -1087629064
.word -1093454212
.word 1041346505
.word 1061865849
.word -1086722113
.word -1092331601
.word -1084515794
.word -1085770971
.word 1054910283
.word 1053615646
.word 1043712324
.word -1092687306
.word 1057766823
.word 1028346566
.word -1092459345
.word -1112582516
.word -1127544832
.word -1085837926
.word -1090321029
.word 1050921030
.word 1060685906
.word 1061501560
.word 1062165035
.word -1102518643
.word -1109884112
.word -1097173739
.word 1058870873
.word -1082641847
.word 1013768115
.word -1087686552
.word 1061165253
.word 1060267345
.word -1089453930
.word 1060760052
.word -1100414863
.word 1059741046
.word -1107348358
.word 1056613974
.word -1089190531
.word 1059123623
.word -1097371834
.word 1047928961
.word -1105239894
.word -1084043943
.word 1053226385
.word -1087769889
.word 1052393805
.word -1094837969
.word 1058024252
.word 1037197748
.word -1096528331
.word 1051405605
.word -1093818635
.word 1060768481
.word -1102779154
.word -1109581539
.word 1063644923
.word 1055511107
.word 1063520176
.word -1086446019
.word 1024081100
.word 1061766093
.word 1063868491
.word 1049863959
.word -1098942585
.word -1092802426
.word -1112696381
.word -1091343909
.word -1095125373
.word 1059932678
.word 1000346858
.word -1100405651
.word -1115578191
.word -1082293824
.word -1087021229
.word -1097067302
.word -1091180405
.word -1088954481
.word -1087896158
.word 1058380158
.word -1090744915
.word -1156882489
.word -1091182693
.word 1059017553
.word -1098610857
.word 1064410763
.word -1086884385
.word -1086067755
.word 1051075397
.word 1037927014
.word -1085643863
.word -1088015567
.word 1061182563
.word 1050302550
.word 1058985966
.word 1053978827
.word -1084163096
.word -1085826899
.word 1058919297
.word 1033487843
.word 1051629834
.word -1089623528
.word 1049500797
.word 1057425980
.word -1090866507
.word 1057205428
.word 1047223255
.word 1041138521
.word 1061892969
.word 1062594292
.word 1061899134
.word -1110722224
.word 1038053192
.word 1053042882
.word 1049332619
.word 1060036023
.word 1057347518
.word 1047630017
.word -1098253672
.word -1110144927
.word -1082229686
.word 1061242523
.word 1062103610
.word -1082171648
.word -1149115975
.word -1084248247
.word -1086225621
.word 1060382348
.word -1114453107
.word 1034053221
.word -1108804753
.word 1062470691
.word -1110240652
.word 1027235838
.word 1051282447
.word -1088576056
.word 1062465690
.word -1090392339
.word -1094846059
.word 1060714136
.word 1043145046
.word 1063434120
.word -1090637289
.word 1038764743
.word 1054547410
.word -1120202257
.word 1019875464
.word 1043584182
.word -1095559659
.word -1083145874
.word -1101252321
.word 1063793760
.word -1117601488
.word -1082424635
.word 1053807804
.word 1061258777
.word -1087240394
.word 1052712609
.word 1056424684
.word 1061744376
.word 1064996233
.word -1108790617
.word -1088337718
.word 1057178394
.word -1084997590
.word -1099512807
.word 1009772154
.word -1092576511
.word 1064274945
.word -1082911447
.word -1082395194
.word -1086407329
.word -1091652075
.word 1023779746
.word 1050383832
.word -1102273575
.word 1059889171
.word 1055242558
.word -1087467882
.word 1049361091
.word 1044757637
.word -1095791834
.word -1091016326
.word -1089075075
.word 1053377632
.word -1082426978
.word -1084604175
.word 1061555086
.word -1089004795
.word 1062634509
.word -1088117587
.word -1096828761
.word -1083999605
.word 1050409074
.word -1085316443
.word -1089943722
.word 1063316491
.word 1052357801
.word -1098758409
.word 1058714627
.word -1082511838
.word 1048607134
.word 1057796767
.word -1085550370
.word 1046990439
.word 1013016710
.word 1062328427
.word 1044258393
.word -1092181445
.word 1036212529
.word 1060938662
.word -1089142900
.word -1118442729
.word 1053419527
.word -1091826860
.word 1041193770
.word -1085650814
.word 1060194962
.word -1089166734
.word -1089100681
.word -1082683035
.word -1139723149
.word -1118481123
.word -1082136892
.word -1082703865
.word 1052481401
.word 1023693910
.word 1042848360
.word 1050262446
.word -1095866447
.word -1099702403
.word -1097510242
.word -1085924065
.word -1105988032
.word 1059654493
.word -1088392897
.word -1082214904
.word 1042604520
.word -1096316858
.word 1026054031
.word 1011522663
.word 1061111536
.word -1090989418
.word 1004200102
.word 1059172922
.word -1084960841
.word 1055273682
.word 1061475080
.word 1064151205
.word 1062209971
.word 1052046137
.word -1084274816
.word -1089191449
.word -1083591256
.word -1085830070
.word 1057550415
.word 1051137989
.word 1053455873
.word -1084779489
.word 1044991723
.word -1098527885
.word 1061162109
.word -1110194021
.word -1102165621
.word -1101348155
.word 1058287023
.word -1106906410
.word -1085911869
.word -1128921325
.word 1040320988
.word 1061759211
.word 1025208273
.word 1062620893
.word -1102866538
.word 1037742170
.word 1065190446
.word 1058949985
.word 1055631004
.word 1060594859
.word -1104986301
.word -1089508842
.word -1105802210
.word -1082762905
.word -1096300401
.word -1085922762
.word 1051973040
.word -1087460864
.word 1051669344
.word -1086441519
.word 1060331968
.word 1064005190
.word 1059084296
.word -1105136050
.word 1061693813
.word 1051929885
.word 1052308438
.word 1050698057
.word 1058343447
.word 1057879039
.word 1060508257
.word 1051343347
.word 1042876996
.word -1100360620
.word 1063670977
.word 1059546529
.word -1120304519
.word 1023847891
.word 1061892098
.word -1087099403
.word -1083780490
.word -1102556225
.word -1119829754
.word 1056534631
.word 1043607370
.word 1062300245
.word -1100626366
.word 1063708616
.word -1105402949
.word -1091433472
.word -1089051509
.word 1055365410
.word 1065293554
.word -1084661674
.word -1093746965
.word 1064068549
.word -1118609791
.word -1094534320
.word -1097232789
.word 1061402050
.word 1061552561
.word 1016052607
.word -1093849574
.word 1063882775
.word 1065349300
.word -1090161320
.word -1095023068
.word 1056213405
.word -1118434214
.word -1091214984
.word 1059400012
.word -1087120881
.word 1052258143
.word 1059282060
.word 1038930231
.word -1087592920
.word -1105563173
.word -1085068886
.word -1090445050
.word 1057976569
.word -1104973506
.word 1065313748
.word 1060366657
.word -1083028109
.word -1137468985
.word -1094419525
.word 1063216974
.word -1092078398
.word -1088242050
.word 1064226662
.word -1085473200
.word -1100571053
.word 1048615042
.word -1088872396
.word -1105266797
.word 1064811924
.word -1132408359
.word 1048595157
.word 1045874845
.word -1094511478
.word -1087510878
.word 1042549467
.word -1086328039
.word 1058590606
.word -1112279254
.word 1059353720
.word 1048965734
.word -1109063471
.word 1050259454
.word 1050856587
.word 1030735123
.word -1084769330
.word 1061330169
.word -1082476610
.word 1064358387
.word 1063113258
.word 1057862141
.word 1040339075
.word 1057469705
.word 1060742357
.word 1052157692
.word -1101602627
.word -1104662916
.word -1083995083
.word 1024888231
.word 1062056428
.word -1088926428
.word -1151100864
.word 1038726961
.word -1092939507
.word 1060639178
.word 1051456507
.word 1017757797
.word -1090130699
.word -1105954006
.word 1056648082
.word 1055686341
.word -1083858316
.word -1083879660
.word 1051709900
.word -1087425697
.word -1132701859
.word -1091760970
.word 1063407814
.word 1044725104
.word 1046998760
.word -1085684663
.word -1102898040
.word -1089569214
.word -1106324507
.word 1045004822
.word 1064998279
.word -1097541108
.word -1088978657
.word -1113751676
.word -1091624829
.word 1043313662
.word 1053884832
.word -1085172040
.word -1096285537
.word 1061834620
.word -1082508068
.word -1082471357
.word -1090101705
.word -1098442616
.word 1016338928
.word -1082392314
.word 1064552517
.word -1084623515
.word 1060201930
.word -1105597596
.word 1060522494
.word -1090776194
.word -1092077311
.word -1104968936
.word 1061089029
.word -1086728003
.word -1086822318
.word 1052625159
.word -1084714544
.word -1147990655
.word -1088908878
.word 1064805813
.word 1057181865
.word 1063501335
.word 1065197494
.word -1087796991
.word 1051389415
.word -1093098892
.word 1057797386
.word -1082333838
.word -1085775870
.word 1050081553
.word 1064200362
.word 1055136643
.word -1094263709
.word -1103425870
.word -1085930657
.word 1054910693
.word 1058275018
.word -1094765383
.word -1097162934
.word -1100442779
.word 1060323007
.word -1083624461
.word 1060880618
.word 1056500016
.word -1082565656
.word 1046340829
.word 1041701657
.word -1086908713
.word -1094981886
.word 1058120711
.word -1113200904
.word -1094839044
.word 1048734945
.word -1084328811
.word 1044570441
.word 1055530284
.word 1064364089
.word -1097314794
.word 1048191501
.word -1099570512
.word -1086049847
.word 1061411332
.word -1088702894
.word -1086609067
.word -1098289139
.word 1060883734
.word -1117697975
.word 1049377723
.word -1087840698
.word 1064800117
.word 1053277869
.word 1057279026
.word -1084489517
.word 1057872545
.word 1059462818
.word -1086226070
.word 1062572084
.word -1106456563
.word 1027826674
.word -1084137582
.word 1055580944
.word 1059481801
.word 1056843339
.word -1093252481
.word -1089419093
.word -1100387956
.word -1104609761
.word 1045520197
.word -1087363353
.word -1087518018
.word 1062228709
.word -1089483494
.word -1089247231
.word -1097629325
.word 1064516353
.word 1060485807
.word 1060824495
.word 1060501464
.word -1102777559
.word -1102904229
.word 1063217129
.word 1040800979
.word -1082475307
.word -1110131994
.word -1117206115
.word -1084428573
.word -1127010063
.word -1089211042
.word -1119038782
.word 1044671433
.word -1085488328
.word -1109306915
.word 1062681508
.word 1052118956
.word 1049398126
.word 1061285384
.word 1061520416
.word 1025601784
.word 1039616171
.word 1051070365
.word -1094542662
.word -1085955205
.word 1056091751
.word 1060374536
.word 1060901675
.word -1088937113
.word 1061329346
.word 1059054273
.word -1083119394
.word -1104550579
.word -1119094723
.word -1120768799
.word -1087781579
.word -1089328319
.word 1054543489
.word 1035461628
.word -1091128891
.word -1111978749
.word 1063470316
.word 1061510990
.word 1008618403
.word -1096187748
.word -1097698560
.word -1114692379
.word 1062574780
.word 1063265080
.word -1087869596
.word 1058372065
.word -1093254361
.word -1097825773
.word 1063081195
.word -1083835549
.word 1062262927
.word 1058911795
.word 1040681692
.word -1100847111
.word -1084601342
.word -1098253350
.word 1052294775
.word -1107964292
.word -1122941959
.word -1086855067
.word 1064908453
.word -1102143970
.word 1051890155
.word -1095929680
.word -1098244297
.word 1056928065
.word -1085693094
.word 1057105672
.word -1083737421
.word -1085845327
.word -1087786207
.word -1085695539
.word -1083553696
.word -1093344833
.word 1060853681
.word -1083742351
.word 1035124847
.word -1092112313
.word 1058272267
.word -1102202067
.word 1063107887
.word 1065060496
.word -1096146879
.word 1045332894
.word 1063360751
.word -1125079904
.word 1036391317
.word -1086063464
.word -1103657255
.word -1083279155
.word -1087120038
.word 1054921347
.word -1091547008
.word 1045963009
.word -1099185570
.word 1064285784
.word 1023989658
.word 1033681402
.word 1054182667
.word 1064723518
.word -1103558426
.word -1106973030
.word -1084920576
.word -1085476109
.word 1060930344
.word 1015475448
.word 1045721344
.word 1050272354
.word 1061614484
.word -1113275212
.word -1097903024
.word 1045428716
.word 1055202898
.word 1057104754
.word 1059386128
.word 1063629513
.word -1087569841
.word 1041820638
.word 1051963430
.word 1058647307
.word -1088739008
.word -1093260030
.word 1061872803
.word -1083069521
.word -1083420492
.word 1057115432
.word 1037040525
.word -1085496451
.word -1100316812
.word 1044976817
.word -1088269577
.word 1049161415
.word 1064409762
.word 1051257819
.word -1083837760
.word 1058031521
.word -1082517410
.word -1088677827
.word 1056930706
.word -1109889335
.word -1093849963
.word 1049076602
.word -1096791480
.word -1091680024
.word -1093031464
.word -1088681699
.word 1063953339
.word 1015961475
.word 1041718440
.word 1058544225
.word -1105908371
.word -1092960719
.word 1047466045
.word 1051507358
.word 1052807430
.word 1063680146
.word 1054432847
.word -1086982563
.word 1034775211
.word -1136063696
.word 1039514936
.word -1099593877
.word -1087292766
.word -1086574563
.word 1062035963
.word 1051897286
.word 1063948998
.word -1112823815
.word -1082312717
.word 1062549904
.word -1087140722
.word -1105585787
.word -1086683868
.word -1105994812
.word -1091899578
.word 1060878656
.word -1093686287
.word 1057348330
.word 1055898362
.word -1089258408
.word -1099465706
.word -1090547877
.word -1094022576
.word 1060198341
.word -1107286711
.word -1095813518
.word 1040780714
.word -1089856702
.word -1084009917
.word -1091390318
.word -1084863203
.word 1061551370
.word 1039207287
.word -1091807698
.word -1090038044
.word -1082838438
.word -1091570823
.word -1116294508
.word 1042170708
.word -1093107622
.word -1090648676
.word -1095614113
.word 1030496291
.word 1057670744
.word -1119958031
.word -1097896713
.word -1083796485
.word 1057385895
.word -1082847387
.word 1040958518
.word -1101375790
.word 1060152952
.word 1049227250
.word -1119335725
.word -1084856283
.word -1097594762
.word 1041819834
.word -1087261413
.word -1128473259
.word -1094937713
.word 1051744688
.word 1062989900
.word 1062657732
.word -1090321337
.word -1123076885
.word 1064277091
.word 1062333855
.word -1121883593
.word -1087895873
.word -1084237929
.word -1093007560
.word 1045797703
.word -1106585134
.word 1058079131
.word 1062347425
.word 1060919780
.word -1086064976
.word -1130352837
.word 1058746620
.word 1054818059
.word -1088686405
.word -1082741996
.word -1089256194
.word 1060200486
.word 1041397477
.word 1063510358
.word 1061365260
.word 1059541895
.word -1082847513
.word 1057331949
.word -1088708406
.word -1082855279
.word 1056214119
.word 1061902176
.word 1041177464
.word 1052660459
.word -1085405479
.word 1062619874
.word -1092499019
.word 1058390437
.word 1064521772
.word 1058862264
.word 1059211899
.word -1089155944
.word 1060828236
.word 1058627552
.word 1039529202
.word -1106009820
.word 1064191837
.word -1129591811
.word 1058189272
.word 1064088605
.word -1086293986
.word 1059148948
.word 1057075911
.word 1025463634
.word -1096859445
.word -1086676234
.word -1083492482
.word -1110123495
.word -1172081322
.word 1037218526
.word -1089451387
.word -1096151209
.word 1056028914
.word 1050110012
.word 1048370955
.word -1086942279
.word 1042563738
.word 1038307396
.word 1046151862
.word 1057663564
.word -1084271109
.word 1053223795
.word -1084801169
.word -1082667159
.word 1059815861
.word -1107572313
.word 1058070715
.word -1087240622
.word 1052310506
.word 1058210861
.word 1035183494
.word -1087258957
.word 1051183061
.word 1049909688
.word -1099479662
.word 1058727637
.word 1035882658
.word -1094163059
.word -1088624419
.word 1027691380
.word 1042360961
.word 1058234560
.word 1055302103
.word 1063283295
.word -1091978652
.word 1054847357
.word 1061942986
.word 1061511374
.word -1085741885
.word 1053782732
.word 1064655178
.word 1061786046
.word -1098477278
.word 1061550276
.word 1056365395
.word -1091807277
.word -1105350523
.word -1107009021
.word 1063705905
.word -1109105404
.word -1111011208
.word -1097441460
.word -1102931154
.word -1101941471
.word 1056982835
.word 1061258793
.word -1093005864
.word -1112221653
.word 1061378213
.word -1089574660
.word 1058262669
.word 1027922566
.word -1085579430
.word 1061270413
.word 1058148052
.word 1063215386
.word -1092412430
.word -1119364104
.word 1049716400
.word -1104215233
.word -1096227756
.word -1082427006
.word 1057893130
.word -1095486282
.word 1061598017
.word -1105745875
.word 1063499881
.word -1096861518
.word 1060518692
.word -1088063097
.word 1041569338
.word 1047498875
.word -1085058533
.word -1094872769
.word -1085868487
.word -1100608316
.word 1049021646
.word 1062830961
.word 1049289417
.word -1083541640
.word -1083017200
.word 1047096951
.word 1061737119
.word 1065284134
.word -1082343943
.word 1034046304
.word -1085680432
.word -1088506178
.word 1062017600
.word 1064814405
.word -1085800900
.word -1097205885
.word 1065265118
.word -1102252866
.word -1110396936
.word 1057684595
.word 1053868539
.word -1109951640
.word 1059280972
.word -1089449026
.word 1040804082
.word -1090463330
.word -1122283805
.word 1060716633
.word 1061124492
.word 1064149281
.word -1086544790
.word 1063545352
.word 1055924362
.word -1100625206
.word 1061305786
.word 1065264951
.word -1086327455
.word -1083157578
.word -1088519722
.word 1062465450
.word 1050053508
.word -1094788294
.word -1097473125
.word 1053496085
.word -1082352547
.word -1112774565
.word 1065349203
.word 1013524334
.word -1085143722
.word 1053943779
.word 1047053697
.word -1088145058
.word -1091499232
.word -1090983062
.word -1086188158
.word -1082607916
.word -1082985404
.word -1105830264
.word -1130992263
.word 1053707102
.word 1031671725
.word -1103435632
.word -1094733633
.word 1058081706
.word 1063332343
.word 1062893008
.word -1090261980
.word 1057160778
.word 1051668111
.word 1052759782
.word -1085580281
.word -1088024765
.word 1061346685
.word 1046817210
.word -1095796479
.word 1064776290
.word -1085549746
.word 1046231023
.word -1120127518
.word 1063189755
.word 1059727352
.word -1089742226
.word -1083138559
.word -1101377542
.word 1057963584
.word -1098711529
.word 1057125267
.word -1087180289
.word -1090178166
.word -1083400355
.word -1083408618
.word 1063145356
.word -1089324007
.word 1065097207
.word -1083610473
.word -1098394417
.word 1027902409
.word -1102576620
.word 1061297852
.word -1093264557
.word -1098460584
.word 1019021935
.word 1053025486
.word -1089240464
.word -1086496114
.word 1036246927
.word 1024945694
.word 1033327827
.word 1058464016
.word 1057779750
.word 1065287727
.word -1089274533
.word -1085031895
.word 1058647084
.word -1115335055
.word 1065115936
.word 1065062982
.word 1061622445
.word -1106328833
.word 1064533756
.word 1062105000
.word 1040887539
.word 1048656142
.word 1056479455
.word 1049270205
.word 1063555539
.word 1054956985
.word 1057222715
.word 1058657163
.word 1064480570
.word 1051577138
.word 1053738601
.word -1083187135
.word 1060815474
.word -1094223387
.word -1093179483
.word -1086106570
.word -1115831573
.word 1056516807
.word -1083077726
.word 1055997291
.word 1065300975
.word -1083047873
.word 1047285681
.word -1088485270
.word 1062650980
.word 1040058004
.word 1060950485
.word -1101061971
.word 1026560512
.word 1046810058
.word 1062334558
.word -1094599892
.word -1096032950
.word 1059477688
.word -1091953362
.word -1087754543
.word 1041893945
.word 1064930648
.word 983384075
.word 1041244015
.word -1098819324
.word -1107402858
.word -1094438384
.word -1095335596
.word 1032738172
.word 1044430689
.word -1084569962
.word -1083765214
.word 1055422922
.word 1057546522
.word 1062112483
.word 1049388142
.word -1086065800
.word 1055601124
.word -1083861887
.word 1053035400
.word 1043167054
.word -1103329359
.word 1023705844
.word 1058994912
.word 1041185470
.word 1056325908
.word 1032126101
.word 1062255567
.word 1061360075
.word -1111625955
.word -1089162539
.word 1046000048
.word 1042882482
.word 1050438795
.word 1060752038
.word -1087706343
.word -1088474850
.word -1083148521
.word -1102457122
.word 1063711599
.word -1083980210
.word 1059768303
.word 1064169948
.word 1059649396
.word -1114514176
.word 1054151146
.word -1088804008
.word -1085008347
.word -1082853276
.word 1050193208
.word -1083240011
.word -1102347300
.word 1061143833
.word -1083432908
.word 1061493668
.word 1064874387
.word -1100475503
.word -1088950215
.word -1088243220
.word -1092427355
.word 1051947022
.word 1052937389
.word 1063613130
.word 1007598892
.word 1053670191
.word 1062256521
.word 1046285460
.word 1060021716
.word 1057112577
.word -1082323634
.word 1046338382
.word -1103217521
.word 1057335491
.word 1063578376
.word -1085833149
.word 1041046515
.word -1085171454
.word 1059266685
.word 1044406372
.word 1044212966
.word 1050767889
.word -1124072800
.word 1056916260
.word 1062933576
.word 1064293754
.word -1118387790
.word 1048813809
.word 1062268588
.word -1105806922
.word 1044854489
.word -1087911383
.word -1087995045
.word 1057568847
.word 1020057985
.word -1084422530
.word 1031273208
.word -1082740075
.word 1060137796
.word -1083310472
.word -1096312232
.word 1060540206
.word 1061420420
.word -1096748409
.word 1053944458
.word 1061215583
.word -1086209837
.word 1061339903
.word 1057169511
.word -1087586043
.word 1057984272
.word -1084229163
.word 1064098325
.word -1083683918
.word -1089246717
.word -1099030196
.word -1103073549
.word 1047297643
.word -1089844753
.word 1053303506
.word -1087071126
.word 1036569649
.word 1063339610
.word -1094601740
.word -1088080243
.word 1063396414
.word 1060801906
.word -1102828713
.word -1083103691
.word 1064418929
.word -1094975572
.word -1082564550
.word -1089177756
.word 1057129448
.word 1064548701
.word -1111249698
.word -1146874068
.word -1164837422
.word -1121609727
.word -1098380630
.word 1063103087
.word -1083004265
.word -1085144661
.word 1034734764
.word -1082992789
.word -1091726378
.word 1058655591
.word -1113617678
.word 1061275510
.word -1082878084
.word -1089624036
.word -1093832335
.word 1058132707
.word 1043841817
.word -1102975328
.word -1091620750
.word 1052523497
.word -1086788815
.word 1063069899
.word 1031879682
.word -1082427905
.word -1084851890
.word 1054338324
.word -1087637633
.word 1062978702
.word -1086403619
.word -1087841481
.word 1053717827
.word 1064547707
.word 1047159158
.word -1096167400
.word 1061910362
.word 1059816368
.word 1064977136
.word -1095673035
.word 1060186727
.word -1104987194
.word 1060501389
.word -1089584526
.word 1059072930
.word -1086978237
.word -1087626119
.word -1091361344
.word -1102514708
.word 1063711408
.word -1091870209
.word 1059504885
.word -1087396170
.word -1085431708
.word 1052640135
.word 1049913811
.word -1086811625
.word -1111450314
.word 1044215658
.word 1053660304
.word 1062194424
.word 1046875452
.word 1037696151
.word -1108308398
.word -1093627473
.word 1060049790
.word -1101150264
.word 1060498637
.word 1063135225
.word 1059090005
.word 1038853415
.word 1064963023
.word 1048599517
.word 1049338475
.word 1042531081
.word 1043053831
.word -1092338885
.word -1090870071
.word 1047091612
.word 1059828514
.word 1058816167
.word 1057028394
.word -1087368009
.word -1121355156
.word 1042252265
.word 1064043087
.word -1091616296
.word -1082264909
.word -1090065900
.word 1048452379
.word 1059668187
.word -1082533967
.word -1099414052
.word -1097969591
.word 1042671120
.word 1063498599
.word -1104191831
.word -1115535552
.word 1050633516
.word -1100399392
.word -1089383188
.word -1106767329
.word 1063186387
.word 1054953973
.word -1111875512
.word 1053947311
.word 1063972084
.word 1064938740
.word 1060932659
.word 1059546561
.word -1104510370
.word -1101010479
.word -1114830671
.word -1088898531
.word -1103546655
.word 1047166888
.word -1088042203
.word 1060699483
.word 1061329939
.word 1048685483
.word 1033264332
.word -1083113108
.word 1046839147
.word 1059229381
.word 1057612586
.word -1088984137
.word 1062488558
.word 1054503726
.word -1089471548
.word 1064081137
.word -1087264849
.word -1090175566
.word 1062755383
.word 1042736472
.word -1101455634
.word 1027975369
.word 1062343115
.word 1059919412
.word 1058477483
.word -1091952152
.word -1095509170
.word 1050997378
.word -1087436626
.word -1097913207
.word -1103193688
.word 1064774096
.word -1117693498
.word -1092604621
.word -1092241371
.word -1092568651
.word 1062504535
.word -1135711384
.word 1060885720
.word 1063172189
.word -1102939879
.word -1087561731
.word -1096007440
.word -1097602619
.word -1083597276
.word 1057129927
.word -1087860651
.word -1089464623
.word -1110372180
.word 1063743644
.word 1056070047
.word 1045907409
.word -1112208531
.word 1060670226
.word 1057607431
.word -1084068448
.word 1042592842
.word 1059076248
.word -1083011451
.word 1052355700
.word -1102940000
.word -1109251980
.word -1087725461
.word -1101268061
.word 1063888057
.word -1082568383
.word 1059739119
.word 1041739958
.word 1040289712
.word 993654688
.word 1050679880
.word 1058298745
.word 1059943957
.word -1085828677
.word 1032738235
.word -1097271443
.word 1059568601
.word 1054814074
.word 1050995126
.word 1061407671
.word -1086933132
.word 1065233166
.word -1086561035
.word 1049589507
.word 1058381386
.word 1061946695
.word 1061033219
.word 1033953294
.word -1089472823
.word 1063246811
.word -1085582312
.word -1087855369
.word 1039518425
.word 1059688761
.word -1086839210
.word -1087776397
.word -1088209423
.word 1060423024
.word 1060903744
.word -1092226331
.word -1086188410
.word 1060639814
.word -1100338412
.word -1113568636
.word 1059277020
.word -1103692753
.word -1084675973
.word 1062683666
.word 1064980996
.word 1058063096
.word -1085363152
.word -1110579914
.word -1092660250
.word 1062914876
.word -1089720845
.word -1088475842
.word 1060130260
.word -1087348782
.word -1082148641
.word 1061183967
.word -1102060507
.word -1084121601
.word -1093120149
.word -1096522782
.word -1086167376
.word -1085376772
.word -1090625162
.word 1046367270
.word -1085875082
.word -1092339452
.word 1060491259
.word 1049390600
.word 1059487855
.word -1087005959
.word 1063049093
.word -1083033613
.word 1062444693
.word -1092177054
.word -1085347335
.word -1093392623
.word -1091488153
.word 1065044396
.word 1044737031
.word -1096727286
.word 1060697857
.word -1085554416
.word 1039710588
.word 1027017767
.word 1059510063
.word 1063627313
.word 1049711286
.word 1052588117
.word -1104693505
.word -1085500233
.word 1051533378
.word 1061930525
.word 1058671447
.word -1089568531
.word 1063793681
.word -1094726629
.word 1062237830
.word -1098763518
.word 1055055476
.word -1129130977
.word 1062446206
.word 1061548240
.word 1043335403
.word 1056886442
.word 1064584462
.word 1034685788
.word -1087065263
.word 1041574121
.word -1092659646
.word 1056272031
.word -1086836545
.word -1090130711
.word -1083509138
.word -1088673484
.word -1102782066
.word -1094629218
.word -1098893579
.word 1063233035
.word 1064059688
.word -1083767692
.word 1049778283
.word -1089221010
.word -1088869904
.word -1132867050
.word 1057027119
.word 1064455665
.word 1048948727
.word 1045640590
.word -1084025883
.word 1065171805
.word 1055681624
.word 1050430899
.word 1048171527
.word -1089282483
.word 1038416476
.word -1094760655
.word 1058215598
.word -1086947426
.word -1117157768
.word 1048187401
.word -1086870117
.word -1091293469
.word -1092392385
.word -1098744861
.word -1090423768
.word -1082909750
.word -1123956920
.word 1045103571
.word 1041995186
.word -1126944201
.word -1085491816
.word -1083987520
.word 1051569777
.word 1063755765
.word -1094970676
.word 1063109796
.word 1038545269
.word -1112625417
.word -1097782287
.word -1086577209
.word 1057014451
.word -1089823877
.word 1063365054
.word -1100424037
.word -1088220831
.word -1113339084
.word -1084919136
.word -1100733857
.word 1054721286
.word 1036205562
.word 1064772729
.word 1050553293
.word 1051740733
.word 1039902956
.word -1083833153
.word -1103131311
.word 1060409847
.word -1085187056
.word 1050378360
.word 1060569412
.word -1139979641
.word -1084769222
.word 1062274665
.word 1064088115
.word 1051415334
.word -1101429952
.word -1086185659
.word 1058414254
.word 1063830639
.word -1085478785
.word 1053522960
.word -1093578283
.word -1093474742
.word -1088795967
.word -1083915671
.word 1054201359
.word -1086050216
.word -1104540759
.word 1063394210
.word -1114115741
.word 1038699304
.word -1098295337
.word -1085056618
.word 1063431322
.word -1082188760
.word -1168333078
.word 1064351390
.word -1090043733
.word 1036011619
.word -1082695877
.word 1063540547
.word -1091076560
.word 1048817939
.word -1085146634
.word 1052398314
.word 1024815845
.word 1031641936
.word -1088078829
.word 1057774601
.word -1097581367
.word -1090405289
.word -1083778438
.word -1092603640
.word 1061133951
.word -1090017666
.word 1064079190
.word -1095034385
.word -1098461508
.word -1083353761
.word -1102750437
.word -1092195045
.word -1089788751
.word 1062584588
.word -1092969351
.word -1095181224
.word 1063405047
.word 1059990889
.word -1089619068
.word 1057784126
.word -1095302887
.word 1045921510
.word 1064506161
.word -1088652089
.word 1051755112
.word 1032593997
.word -1084191435
.word -1090150064
.word -1124542466
.word -1088049097
.word 1060205552
.word -1111247591
.word -1086063351
.word -1085128217
.word -1100858060
.word 1042470013
.word 1018591436
.word 1058129591
.word 1063609785
.word 1064911960
.word -1093759091
.word -1082517465
.word -1114401566
.word 1033997450
.word -1092841632
.word 1058313132
.word -1103910836
.word -1098681372
.word -1087219501
.word 1063180114
.word 1041641018
.word 1049506847
.word 1056999422
.word 1053492733
.word -1185202228
.word -1082516242
.word 1055335786
.word 1054297355
.word -1112981785
.word 1055660035
.word 1061777442
.word 1054590797
.word 1063581993
.word -1087661926
.word -1084921315
.word -1083664071
.word 1057238263
.word 1064937711
.word -1089966171
.word 1061583234
.word -1134633980
.word 1059562008
.word 1052384835
.word 1059058053
.word 1019357051
.word -1104103853
.word 1053669826
.word 1065309449
.word -1089613584
.word -1093356900
.word -1086189967
.word -1091097314
.word 1059272722
.word -1086677057
.word 1060317559
.word -1085024367
.word 1063686497
.word -1092829269
.word 1024937818
.word -1094592276
.word 1047741444
.word 1057518599
.word -1097891968
.word -1084411030
.word -1122221760
.word -1089396870
.word 1057631128
.word 1042996525
.word 1062837981
.word 1053095451
.word -1094377958
.word 1050376398
.word -1089171870
.word 1032121839
.word -1104751332
.word -1099912977
.word -1098388604
.word -1107722087
.word 1026205362
.word 1051712720
.word -1098859680
.word -1084343343
.word -1085441644
.word -1089687770
.word -1089344333
.word -1084586041
.word -1089435726
.word 1064614083
.word -1111581146
.word -1104926030
.word -1088155352
.word 1061974865
.word 1057015804
.word 1061414718
.word 1063834489
.word 1059944078
.word -1109223397
.word -1096007027
.word -1087430944
.word 1064720464
.word 1063395377
.word 1065048194
.word -1088886769
.word 1046280407
.word -1084686330
.word 1059982628
.word 1050250423
.word -1087544330
.word -1095607903
.word 1059506196
.word -1106733411
.word 1060627263
.word 1035077452
.word 1042228421
.word -1084326234
.word -1089398774
.word -1118669157
.word -1094945283
.word -1082496586
.word -1100302606
.word 1051750537
.word -1087779192
.word 1054858686
.word 990281706
.word -1112033120
.word 1062577082
.word 1040648588
.word 1038587777
.word -1093249692
.word -1096626180
.word -1086487424
.word 1054395132
.word -1097201974
.word -1091896101
.word 1060197081
.word -1089513341
.word 1015685869
.word 1058116554
.word -1094375942
.word -1095349018
.word -1085579046
.word 1063824310
.word -1097380899
.word 1062008261
.word 1045643873
.word 1060816509
.word -1115272194
.word -1098514826
.word -1085445940
.word 1034313477
.word -1146284227
.word -1086731744
.word 1063995538
.word -1083866921
.word 1063036614
.word -1085414171
.word 1047256574
.word 1050145663
.word -1095556481
.word -1098228829
.word 1024924802
.word 1058329271
.word 1064407326
.word 1060571912
.word 1057441332
.word 1060251552
.word -1088264951
.word -1091063084
.word 1058061922
.word -1090014434
.word 1052368306
.word -1085057108
.word 1063526125
.word -1082286582
.word -1092175240
.word -1088891515
.word -1091714324
.word -1083087960
.word -1084287987
.word 1047390585
.word 1062984052
.word -1090039393
.word -1096399213
.word 1058573209
.word -1082523445
.word -1093075075
.word -1084932391
.word 1045133630
.word -1104394157
.word 1062720314
.word 1035657524
.word 1056480445
.word -1110027142
.word -1088447703
.word -1085356463
.word 1060953940
.word 1055500439
.word -1092844249
.word -1103004376
.word -1085016377
.word 1019854354
.word 1063528284
.word 1063853347
.word 1051771593
.word -1088829870
.word 1062554476
.word 1046143253
.word -1112445665
.word -1088532868
.word 1062996472
.word 1061158556
.word -1096063222
.word 1048048536
.word -1102513520
.word 1058840131
.word 1059566035
.word -1088778243
.word 1058888191
.word 1041472206
.word 1064680955
.word 1056461620
.word -1089441434
.word -1093716235
.word 1026904458
.word 1064170198
.word 1053924117
.word 1057418494
.word 1063660186
.word -1083250147
.word 1049084668
.word -1084507749
.word -1084294787
.word 1052094792
.word 1008518346
.word 1054607106
.word 1059475623
.word -1086416459
.word -1082675693
.word 1057915937
.word 1057554001
.word -1088178579
.word -1088764370
.word 1034143347
.word -1105210862
.word -1095608955
.word 1046417044
.word 1057730360
.word -1097118603
.word -1091417605
.word -1099599667
.word 1036811828
.word -1082755650
.word 1063184660
.word 1055776062
.word 1044181114
.word 1057966708
.word 1032832963
.word 1059191194
.word 1046088324
.word -1092042181
.word -1088964143
.word 1049839324
.word -1091952026
.word -1093086187
.word -1115016952
.word 1048047925
.word 1056581481
.word -1091707949
.word -1094293388
.word -1083563448
.word -1098712926
.word 1064367844
.word 1060156958
.word 1050334162
.word -1103708520
.word -1082981373
.word 1042565744
.word -1082623981
.word -1136410421
.word -1101830893
.word 1046672820
.word -1085153662
.word 1049032823
.word 1058917077
.word -1088894007
.word -1108147262
.word 1055560992
.word -1121711919
.word 1064253722
.word -1084597744
.word 1016921436
.word 1050204557
.word -1084521326
.word -1134078235
.word -1095047971
.word 1055319261
.word 1051977852
.word -1094309350
.word -1082398952
.word 1058819020
.word -1120489173
.word 1046342484
.word -1087552505
.word 1025372957
.word 1044716063
.word -1097605412
.word 1048024000
.word -1092376655
.word 1057557166
.word 1052762692
.word 1044305479
.word 1032829777
.word -1092104380
.word -1095521392
.word -1096123845
.word 1043831528
.word 1064583170
.word -1087365594
.word 1058834497
.word -1087217459
.word -1089653898
.word 1059589148
.word -1088811466
.word -1098382309
.word -1090035497
.word 1042106783
.word 1057211893
.word -1118563302
.word -1087847322
.word -1092094241
.word -1118613871
.word 1064656607
.word 1018522122
.word -1104950087
.word 1062270631
.word 1048256842
.word -1111727593
.word 1064466886
.word 1062782490
.word 1048381729
.word -1085452775
.word -1100586885
.word 1040529642
.word 1056891326
.word 1050526846
.word -1118050413
.word -1090786734
.word 1044478228
.word -1093844484
.word 1050735902
.word 1058954063
.word 1062501949
.word -1100337058
.word 1062196670
.word 1035813131
.word 1049369647
.word -1115704330
.word -1090457015
.word 1057141526
.word 1051657073
.word -1092616630
.word 1012640309
.word 1058874493
.word 1061007005
.word 1040879382
.word 1055784573
.word -1082567263
.word -1090193759
.word 1059170296
.word -1083188446
.word 1045802922
.word -1111376328
.word 1057981093
.word 1047295950
.word -1088213708
.word -1087512979
.word -1093582672
.word -1112833212
.word -1083622416
.word 1065115238
.word -1101671998
.word 1061024137
.word 1042722284
.word 1060617052
.word 1056654832
.word -1084889187
.word -1084168592
.word -1082856418
.word -1141047583
.word 1052106862
.word 1045414447
.word -1092831653
.word 1037762897
.word 1052082238
.word -1088512085
.word 1044755197
.word -1109872822
.word 1041987811
.word -1106216144
.word 1062795863
.word -1087890320
.word -1084131039
.word -1093145881
.word 1060014073
.word 1059207935
.word 1064465036
.word -1082816241
.word -1114804732
.word -1085400942
.word 1046999059
.word -1093380146
.word 1048065897
.word -1084951708
.word 1006698907
.word -1084467630
.word -1094165692
.word -1117733525
.word -1082249204
.word 1036505026
.word 1063585415
.word 1061459557
.word -1098542617
.word 1053859395
.word 1041240240
.word 1060949110
.word -1087986200
.word 1047274978
.word -1110827842
.word 1036791028
.word -1087513015
.word -1086154041
.word -1088609110
.word -1087295493
.word -1111737470
.word 1020567365
.word 1055748723
.word -1084490531
.word 1050206752
.word -1088988352
.word -1082214572
.word -1118131920
.word 1057719234
.word 1059522846
.word 1063634367
.word -1095879653
.word 1057102808
.word -1088640215
.word -1093876078
.word -1086182222
.word -1105688277
.word 1063595492
.word -1084303284
.word -1104090876
.word -1087957110
.word 1061736889
.word -1092918038
.word -1095643935
.word -1112031539
.word 1061338208
.word -1112481626
.word -1092077833
.word 1060540049
.word -1090017160
.word -1106658199
.word -1088993055
.word -1094794430
.word 1059426340
.word -1085326231
.word 1018813130
.word -1101636392
.word -1086539987
.word 1052465519
.word 1059615734
.word 1060890181
.word -1089178102
.word 1064913891
.word 1064243835
.word -1082378148
.word -1110232323
.word -1085514320
.word -1108006893
.word 1045619311
.word 1038320194
.word 1054233227
.word 1050559479
.word 1035023134
.word -1097861619
.word -1105053011
.word 1042312895
.word 1058788142
.word -1107342590
.word -1094811966
.word 1057899952
.word -1091132570
.word 1053978668
.word 1049100674
.word 1042835937
.word 1054524959
.word -1093617262
.word 1027456549
.word 1009974906
.word 1036156898
.word 1046783652
.word 1060465201
.word 1062181104
.word -1097269793
.word 1051838003
.word 1061632452
.word -1082444858
.word -1088350899
.word -1082989658
.word -1118220967
.word -1087750027
.word 1061611793
.word -1088765953
.word -1083701439
.word 1057696378
.word -1090493080
.word 1058168957
.word 1063147205
.word 1061712701
.word 1058170393
.word 1027668914
.word 1053690820
.word 1059671665
.word 1020236266
.word 1060657965
.word -1091230213
.word 1065179388
.word 1057612453
.word -1097806703
.word 1063480878
.word 1039324773
.word 1058047215
.word 1065156858
.word 1057126317
.word -1085523824
.word 1024774536
.word 1064989416
.word -1091077117
.word 1063324029
.word 1059188257
.word 1060700521
.word 1058288654
.word -1098883434
.word 1057542332
.word -1121602029
.word 1006893615
.word 1062689176
.word -1086630559
.word 1060550887
.word 1062505296
.word 1054836038
.word 1058089090
.word 1065083793
.word -1098788578
.word 1059432621
.word 1054783380
.word 1040579154
.word -1085903012
.word 1047563816
.word -1090571726
.word -1098116728
.word 1048406042
.word -1082627093
.word 1064947809
.word -1095622786
.word -1089632257
.word -1084020616
.word -1089289756
.word 1063857744
.word -1085364465
.word -1090116863
.word -1098451658
.word 1058492279
.word -1096553183
.word 1060769611
.word -1086635079
.word -1083099727
.word 1049199210
.word 1052949757
.word -1097748680
.word 1039177845
.word -1085193239
.word 1033271230
.word -1088390334
.word -1084260014
.word -1090037940
.word 1056637637
.word 1053546843
.word -1083618234
.word -1084305594
.word 1062913598
.word 1060929896
.word 1064484707
.word -1163515275
.word 1063770138
.word -1082709236
.word 1034568104
.word -1083930405
.word -1097969533
.word 1050689521
.word 1056436762
.word -1095016658
.word 1043741250
.word 1063906630
.word -1083849464
.word 1056061188
.word 1063896787
.word -1140178390
.word 1064894853
.word -1084545368
.word 1049046004
.word -1106393989
.word -1094337688
.word -1097677613
.word -1100169251
.word 1063966843
.word -1098192350
.word -1098817330
.word 1063570516
.word 1057173703
.word 1065003497
.word -1091449411
.word 1047822203
.word -1087629426
.word -1084700984
.word 1035189051
.word 1056731593
.word -1097598612
.word 1054161601
.word -1113402473
.word -1091301122
.word -1092852013
.word -1087132139
.word 1060734186
.word 1065098237
.word 1061969007
.word 973450365
.word -1112635443
.word -1087000453
.word -1096131517
.word -1086473719
.word 1060816800
.word 1056974306
.word 1057314631
.word 1058066511
.word -1094084482
.word -1089363660
.word 1058166768
.word -1085185547
.word -1085598812
.word 1058892552
.word 1061383984
.word 1055289375
.word -1086535529
.word 1062688756
.word 1063579463
.word -1098026432
.word -1085508969
.word -1097867654
.word 1062353034
.word -1091383012
.word -1102931509
.word 1032309251
.word 1063409778
.word -1104811675
.word -1082748921
.word -1089139729
.word -1096272401
.word -1083163813
.word -1131639615
.word -1086706236
.word 1054277600
.word -1095163234
.word 1056192503
.word -1105876120
.word 1054676794
.word -1094829816
.word -1083127536
.word 1042885421
.word 1061684400
.word 1030740950
.word 1058194371
.word -1094583491
.word 1057352826
.word 1053126169
.word -1099854324
.word 1049777749
.word -1107706789
.word 1059004023
.word -1112517606
.word -1088386692
.word -1096824480
.word -1090703898
.word -1082345393
.word -1113275993
.word 1056843834
.word -1084616628
.word -1085630188
.word -1084342100
.word -1100464931
.word -1096044130
.word -1098009533
.word -1094012861
.word -1086483631
.word -1104424032
.word 1058527058
.word 1051487958
.word 1048501654
.word 1064516373
.word -1085566127
.word -1089265260
.word -1085105207
.word 1064911951
.word 1040198569
.word 1058443525
.word 1040432658
.word -1100974083
.word -1098201225
.word 1040062736
.word -1088535810
.word -1086045902
.word -1091245822
.word -1092301655
.word 1064984443
.word -1088387645
.word 1043161905
.word -1086927376
.word 1053142802
.word -1095209084
.word -1099793638
.word -1096839496
.word 1027983999
.word -1091280634
.word -1092956800
.word 1053285447
.word 1058840142
.word -1088031110
.word -1095690730
.word 1057120646
.word -1133970397
.word -1089340473
.word -1115628785
.word -1086529317
.word 1056889113
.word -1086129280
.word -1085674508
.word -1082222752
.word -1082342760
.word 1059601181
.word -1086094749
.word -1114284179
.word 1027242780
.word -1110394110
.word 1055548753
.word 1010883946
.word -1098098141
.word -1082973675
.word 1061362053
.word 1053781995
.word -1086604406
.word -1086949270
.word -1085620972
.word 1055086362
.word 1000755576
.word -1083796441
.word -1089243043
.word -1082987823
.word -1084937846
.word -1082252000
.word -1115026030
.word 1058130526
.word -1082763452
.word -1090864623
.word 1064893965
.word -1085865033
.word 1038924221
.word 1033214374
.word 1057360290
.word 1059633113
.word 1040804675
.word -1085522231
.word -1104421123
.word -1087795295
.word -1089889150
.word -1088466288
.word -1085657176
.word 1065106593
.word 1063045507
.word 1064903486
.word 1041790171
.word 1049704084
.word 1057107268
.word -1099164856
.word -1098587435
.word -1085854485
.word 1040454393
.word -1083456187
.word -1108460617
.word -1098522698
.word 1061535544
.word -1087218055
.word 1065030739
.word -1100408406
.word -1091441996
.word -1089369468
.word -1105505156
.word -1110249370
.word 1055781886
.word -1084829638
.word -1123735932
.word -1103563736
.word 1012444978
.word -1088066656
.word 1062366601
.word 1059606243
.word 1061768179
.word -1092575319
.word 1060365200
.word 1063003691
.word -1090430433
.word -1099798709
.word -1087189340
.word -1086384816
.word -1101041366
.word -1085339658
.word -1082972418
.word 1043675399
.word 1060722050
.word -1106339704
.word -1094303161
.word -1084312385
.word -1093975850
.word 1020380078
.word -1089410489
.word -1104842450
.word -1086556432
.word -1101887697
.word -1088354839
.word -1126545085
.word -1095749261
.word -1100316679
.word -1091532835
.word 1048852803
.word 1042565927
.word 1029216898
.word 1048977337
.word -1089326691
.word 1053989463
.word -1105940298
.word 1048530670
.word 1042797229
.word 1059479776
.word 1041668979
.word -1100444159
.word 1063128393
.word -1114219830
.word 1028207334
.word 1024701102
.word 1043987104
.word 1030256608
.word -1084529960
.word -1099410213
.word -1088425738
.word -1085600611
.word -1098867096
.word -1084929001
.word 1052541008
.word 1064342058
.word 1050448210
.word -1088860940
.word -1117017158
.word 1052647148
.word -1100392585
.word 1060446544
.word 1061917012
.word 1056154194
.word 1062490378
.word 1053789907
.word 1046111961
.word 1061449813
.word 1057384970
.word 1048892670
.word -1090110639
.word -1086634854
.word -1100040527
.word 1047768837
.word -1083237975
.word 1057585590
.word 1056924996
.word -1093615662
.word 1053032747
.word -1093307591
.word 1033976694
.word -1115644953
.word -1096555303
.word -1084746556
.word 1041074680
.word -1087555086
.word -1082784009
.word 1062539150
.word -1083715361
.word -1108746972
.word -1094656398
.word 1053284463
.word 1064567088
.word 1065075184
.word -1112051759
.word -1087473252
.word 1059936382
.word -1084349792
.word -1085272489
.word -1101423563
.word -1082298165
.word -1114908340
.word 1040476680
.word -1088442922
.word -1097713773
.word 1047611383
.word -1088640441
.word 1057622103
.word 1064850884
.word 1063708115
.word 1043079437
.word -1087722089
.word 1064776294
.word 1059498547
.word 1060110368
.word 1061303436
.word -1084824919
.word -1089633622
.word -1090033478
.word 1043526807
.word 1048145544
.word 1058456323
.word -1096998461
.word 1064036876
.word -1128843305
.word -1110328425
.word 1058853351
.word 1062598549
.word -1092628994
.word 1055465263
.word 1050637434
.word -1088019363
.word 1051824869
.word -1088303102
.word -1088846710
.word -1087938318
.word 1056437981
.word 1061696560
.word 1064698697
.word 1059098153
.word 1064482354
.word -1103251713
.word 1058684104
.word -1084045923
.word -1159011687
.word -1103908839
.word 1027404019
.word -1083841475
.word 1048787757
.word -1086602867
.word -1086490970
.word 1064794946
.word 1051195158
.word -1098308547
.word 1059825892
.word -1095344023
.word 1033206261
.word -1088933078
.word 1057299571
.word 1031894476
.word -1084169956
.word -1090587963
.word 1014549557
.word -1101052658
.word 1057765237
.word -1111785639
.word -1097923023
.word -1100340095
.word 1036889952
.word 1062031740
.word 1043598693
.word 1029818563
.word 1064317178
.word 1059301650
.word -1097516427
.word -1084588242
.word -1088760297
.word 1022286585
.word -1083261630
.word -1088485053
.word 1053711181
.word -1085323210
.word 1064792956
.word -1102313128
.word -1089834392
.word -1134009259
.word 1038788730
.word 1055853598
.word -1105926214
.word -1084702255
.word -1084122941
.word -1093512138
.word -1088208853
.word -1102506962
.word 1044768748
.word -1098619375
.word -1104074781
.word 1056230483
.word 1064578443
.word 1064848490
.word 1040624664
.word -1090524756
.word 1050956780
.word -1100452448
.word 1061442214
.word 1059436067
.word -1085945660
.word 1061538848
.word -1083198174
.word -1087635994
.word -1088923073
.word 1051432575
.word 1059463816
.word -1085596994
.word -1082740062
.word 1063915557
.word -1093952896
.word 1062052132
.word -1097530604
.word -1095890473
.word -1101684546
.word 1049521471
.word -1084929581
.word 1048930157
.word -1089167841
.word 1063986898
.word 1059336377
.word 1062457117
.word -1093464069
.word -1090211757
.word 1054392885
.word 1033842619
.word 1053412113
.word 1058805159
.word 1049068211
.word -1091842571
.word -1112545402
.word -1097841236
.word -1103620185
.word -1147964435
.word 1062059905
.word -1105278022
.word -1157162891
.word 1032291778
.word -1086534297
.word 1058980930
.word 1038811755
.word 1057730707
.word 1059675835
.word -1088970832
.word 1058797351
.word -1082654200
.word -1087699321
.word 1045684652
.word 1036180365
.word 1049199445
.word -1120381080
.word -1083244610
.word 1047674761
.word 1032654210
.word 1064181549
.word 1054815563
.word 1057530997
.word 1052544887
.word -1088802513
.word 1060479714
.word -1104390179
.word 1040567958
.word -1087872667
.word 1038849053
.word 1043457474
.word -1087471100
.word -1089868318
.word 1056342431
.word 1012932633
.word -1089343539
.word 1044427803
.word -1095455927
.word -1082479812
.word 1046811230
.word 1065256252
.word -1105766498
.word 1046457208
.word -1107960523
.word -1135824046
.word -1088084081
.word -1090466650
.word 1057537097
.word 1058973025
.word -1099964730
.word 1065137536
.word 1048954652
.word 1062867287
.word 1061159242
.word -1083369352
.word 1055265281
.word 1061712750
.word -1091887116
.word -1100325134
.word 1049284298
.word -1087564814
.word 1061714480
.word 1059247883
.word -1086255776
.word -1089740810
.word 1025378107
.word -1086006789
.word -1088092639
.word 1007802340
.word -1113435749
.word -1082298528
.word 1058693626
.word 1049610675
.word -1088258869
.word -1086951039
.word -1093064818
.word -1092635528
.word 1055869593
.word 1063805358
.word 1061806799
.word -1105468365
.word -1082750444
.word 1063799534
.word 1062112993
.word 1060307809
.word 1037887921
.word 1040345819
.word -1090474651
.word -1090322006
.word -1107742836
.word -1088899583
.word 1053950755
.word -1084598531
.word 1049548146
.word 1020599998
.word 1065312254
.word -1090544345
.word -1092157527
.word -1084116125
.word 1065134394
.word -1106986999
.word 1064276606
.word -1088018875
.word 1057810795
.word 1049545345
.word 1013037223
.word -1087823511
.word -1093313818
.word -1097132516
.word 1043922500
.word -1083670648
.word 1049584530
.word -1087834253
.word -1085515949
.word 1063701922
.word -1088695307
.word 1050886565
.word 1063239383
.word -1113120533
.word 1065045712
.word -1095913428
.word 1057966509
.word 1053285818
.word -1096915036
.word 1064624467
.word -1088443122
.word -1102489424
.word -1087128767
.word 1050022155
.word -1088553552
.word 1062989600
.word 1059666004
.word 1033443678
.word -1097819914
.word -1087709502
.word -1092162202
.word -1091709596
.word 1058497868
.word 1057847909
.word -1099417252
.word 1041722626
.word -1144619950
.word -1084636137
.word -1087835404
.word -1104580000
.word 1045499080
.word -1087737926
.word -1086892566
.word 1054195946
.word 1055225985
.word 1060887856
.word -1104261038
.word -1095659245
.word 1064616002
.word 1023494034
.word 1057116058
.word -1105764417
.word 1060612374
.word -1105399888
.word -1089072999
.word 1039815345
.word -1084059828
.word -1095057958
.word 1035086798
.word -1085594387
.word 1057530810
.word -1084600804
.word 1050077630
.word 1040976879
.word 1062636562
.word 1061917655
.word -1085854881
.word -1098541074
.word -1097103790
.word 1049372113
.word 1057475924
.word 1035044185
.word 1032506143
.word 1060728634
.word -1082554723
.word 1061860840
.word 1048426230
.word 1065008126
.word -1094310941
.word 1032000624
.word -1147798295
.word 1052651372
.word 1059441764
.word 1049190212
.word -1096544456
.word 1035859026
.word 1048777663
.word 1060997787
.word -1087887144
.word 1062392613
.word -1085143949
.word -1092086022
.word 1061733336
.word 1063890106
.word 1036824943
.word -1101416116
.word 1015775368
.word -1089024821
.word -1104153305
.word -1090100983
.word 1064707768
.word 1037001441
.word 1064370996
.word -1082680285
.word 1058923877
.word -1083576240
.word 1049398380
.word 1064089109
.word -1084373497
.word 1047068863
.word 1035591433
.word -1107128544
.word -1083102313
.word -1108045303
.word 1059888610
.word 1063362239
.word 1048327040
.word 1029721288
.word -1091764483
.word 1063490437
.word 1059759416
.word 1047798692
.word -1097906308
.word 1062924887
.word 1050733780
.word -1103024449
.word -1088685208
.word 1043170642
.word 1049100049
.word -1083079628
.word 1056733709
.word -1094339288
.word 1009402694
.word 1061220616
.word 1052379496
.word -1097678881
.word -1088449856
.word 1044144581
.word -1107393035
.word -1087366780
.word -1090368006
.word -1087066796
.word 1058652163
.word 1062249251
.word 1045150698
.word 1056222955
.word 1061292422
.word 1058940225
.word -1095431749
.word 1054269807
.word -1084469430
.word -1128353426
.word -1085654469
.word -1083922294
.word 1058826820
.word 1062792570
.word -1082305698
.word -1094959910
.word 1061017375
.word -1083412289
.word -1089173940
.word 1058257997
.word -1083625736
.word -1083682340
.word 1060192079
.word 1062177191
.word -1088697096
.word 1061347733
.word 1029684603
.word -1094077272
.word -1108487058
.word -1123012760
.word 1052761653
.word -1083349396
.word 1064334861
.word -1082636572
.word -1119326636
.word -1089064130
.word 1019278491
.word 1053236140
.word -1114295935
.word 1054222555
.word -1089272672
.word -1085822056
.word -1084895473
.word 1063989519
.word -1086058146
.word -1083215739
.word -1113994980
.word -1098698049
.word 1060217139
.word 1058521538
.word 1062614224
.word -1085453101
.word 1031007548
.word 1042427254
.word -1092889165
.word -1092178938
.word -1104322180
.word 1054291815
.word -1083760538
.word -1087923992
.word 1064376819
.word -1093504223
.word -1092016193
.word 1058346568
.word -1098030183
.word 1042823187
.word -1082797514
.word 1058475485
.word -1082211203
.word -1097706072
.word -1085618983
.word -1091991298
.word -1084409295
.word 1061976722
.word -1090222528
.word 1057351936
.word 1053568383
.word 1063821073
.word -1092705213
.word -1098000855
.word 1058236321
.word -1121081701
.word -1096306148
.word -1093833516
.word -1100076850
.word 1058267028
.word -1086605080
.word -1097313821
.word 1042975221
.word -1088055665
.word 1023414542
.word 1061228454
.word -1083665550
.word 1050769762
.word 1052476456
.word 1063137010
.word -1088616639
.word 1006179781
.word 1064571803
.word -1085275302
.word 1060907236
.word 1061691100
.word -1087935778
.word 1058853519
.word -1097318513
.word -1093553731
.word -1106023722
.word -1085236094
.word 1052237856
.word 1052163793
.word -1084270937
.word 1060602745
.word -1094716131
.word -1114647838
.word 1051255101
.word 1036242700
.word -1083178536
.word -1096481881
.word 1061686471
.word -1085315725
.word -1105598732
.word 1062784778
.word -1107086589
.word -1086280919
.word 1062668808
.word -1114601916
.word 968892864
.word 1033986761
.word -1099172513
.word -1105172589
.word -1091835973
.word 1059011787
.word 1060703779
.word -1098643462
.word -1096900751
.word 1061414742
.word -1089624545
.word -1088627530
.word 1052066243
.word 1064066292
.word 1059157322
.word -1105702412
.word -1085120104
.word 1052543743
.word 1053790897
.word -1085431643
.word -1092875281
.word -1086763671
.word -1082735668
.word 1044608717
.word 1056193127
.word -1087813170
.word 1049302233
.word -1083539817
.word 1044990008
.word 1052883015
.word 1058374175
.word -1122318862
.word -1096311334
.word 1062849119
.word 1061990587
.word -1109158271
.word 1057393891
.word -1093723952
.word -1106658928
.word 1035357273
.word -1085224811
.word -1083469824
.word -1095213990
.word -1089575508
.word -1100855275
.word -1089318961
.word 1058194918
.word -1106701520
.word -1082430235
.word -1095467028
.word 1050880651
.word -1085638088
.word 1060171884
.word 1062098676
.word -1082438471
.word 1053850760
.word 1063981677
.word 1061609886
.word -1092607029
.word -1094373856
.word 1010608748
.word 1060105715
.word 1065227804
.word 1055991641
.word -1084252049
.word -1089496920
.word -1086724842
.word -1089865702
.word 1061528976
.word 1062979084
.word -1104353577
.text
.align 2
.global wrap
.type wrap, %function
wrap:
.LFB9:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str x1, [sp, 16]
str x2, [sp, 8]
ldr x0, [sp, 8]
mov w1, w0
ldr x0, [sp, 16]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 44]
ldr x1, [sp, 24]
ldr x0, [sp, 16]
cmp x1, x0
bge .L9
ldrsw x1, [sp, 44]
ldr x2, [sp, 16]
ldr x0, [sp, 24]
sub x2, x2, x0
ldrsw x0, [sp, 44]
sdiv x0, x2, x0
add x0, x0, 1
mul x0, x1, x0
ldr x1, [sp, 24]
add x0, x1, x0
str x0, [sp, 24]
.L9:
ldr x1, [sp, 24]
ldr x0, [sp, 16]
sub x0, x1, x0
ldrsw x1, [sp, 44]
sdiv x2, x0, x1
mul x1, x2, x1
sub x1, x0, x1
ldr x0, [sp, 16]
add x0, x1, x0
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size wrap, .-wrap
.align 2
.global fxp_get_int_part
.type fxp_get_int_part, %function
fxp_get_int_part:
.LFB10:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
cmp x0, 0
bge .L12
ldr x0, [sp, 8]
neg x1, x0
adrp x0, _fxp_imask
add x0, x0, :lo12:_fxp_imask
ldr x0, [x0]
and x0, x1, x0
neg x0, x0
b .L14
.L12:
adrp x0, _fxp_imask
add x0, x0, :lo12:_fxp_imask
ldr x1, [x0]
ldr x0, [sp, 8]
and x0, x1, x0
.L14:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size fxp_get_int_part, .-fxp_get_int_part
.align 2
.global fxp_get_frac_part
.type fxp_get_frac_part, %function
fxp_get_frac_part:
.LFB11:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
cmp x0, 0
bge .L16
ldr x0, [sp, 8]
neg x1, x0
adrp x0, _fxp_fmask
add x0, x0, :lo12:_fxp_fmask
ldr x0, [x0]
and x0, x1, x0
neg x0, x0
b .L18
.L16:
adrp x0, _fxp_fmask
add x0, x0, :lo12:_fxp_fmask
ldr x1, [x0]
ldr x0, [sp, 8]
and x0, x1, x0
.L18:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size fxp_get_frac_part, .-fxp_get_frac_part
.align 2
.global fxp_quantize
.type fxp_quantize, %function
fxp_quantize:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
adrp x0, overflow_mode
add x0, x0, :lo12:overflow_mode
ldr w0, [x0]
cmp w0, 2
bne .L20
adrp x0, _fxp_min
add x0, x0, :lo12:_fxp_min
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bge .L21
adrp x0, _fxp_min
add x0, x0, :lo12:_fxp_min
ldr x0, [x0]
b .L22
.L21:
adrp x0, _fxp_max
add x0, x0, :lo12:_fxp_max
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
ble .L23
adrp x0, _fxp_max
add x0, x0, :lo12:_fxp_max
ldr x0, [x0]
b .L22
.L20:
adrp x0, overflow_mode
add x0, x0, :lo12:overflow_mode
ldr w0, [x0]
cmp w0, 3
bne .L23
adrp x0, _fxp_min
add x0, x0, :lo12:_fxp_min
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
blt .L24
adrp x0, _fxp_max
add x0, x0, :lo12:_fxp_max
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
ble .L23
.L24:
adrp x0, _fxp_min
add x0, x0, :lo12:_fxp_min
ldr x1, [x0]
adrp x0, _fxp_max
add x0, x0, :lo12:_fxp_max
ldr x0, [x0]
mov x2, x0
ldr x0, [sp, 24]
bl wrap
b .L22
.L23:
ldr x0, [sp, 24]
.L22:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size fxp_quantize, .-fxp_quantize
.section .rodata
.align 3
.LC3:
.string "An Overflow Occurred in system's output"
.text
.align 2
.global fxp_verify_overflow
.type fxp_verify_overflow, %function
fxp_verify_overflow:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl fxp_quantize
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
adrp x0, _fxp_max
add x0, x0, :lo12:_fxp_max
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bgt .L26
adrp x0, _fxp_min
add x0, x0, :lo12:_fxp_min
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
blt .L26
mov w0, 1
b .L27
.L26:
mov w0, 0
.L27:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assert
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size fxp_verify_overflow, .-fxp_verify_overflow
.align 2
.global fxp_verify_overflow_node
.type fxp_verify_overflow_node, %function
fxp_verify_overflow_node:
.LFB14:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x1, [sp, 16]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
adrp x0, _fxp_max
add x0, x0, :lo12:_fxp_max
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bgt .L29
adrp x0, _fxp_min
add x0, x0, :lo12:_fxp_min
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
blt .L29
mov w0, 1
b .L30
.L29:
mov w0, 0
.L30:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assert
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size fxp_verify_overflow_node, .-fxp_verify_overflow_node
.align 2
.global fxp_verify_overflow_array
.type fxp_verify_overflow_array, %function
fxp_verify_overflow_array:
.LFB15:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
str wzr, [sp, 44]
str wzr, [sp, 44]
b .L32
.L33:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x0, [x0]
bl fxp_verify_overflow
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L32:
ldr w1, [sp, 44]
ldr w0, [sp, 20]
cmp w1, w0
blt .L33
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size fxp_verify_overflow_array, .-fxp_verify_overflow_array
.align 2
.global fxp_int_to_fxp
.type fxp_int_to_fxp, %function
fxp_int_to_fxp:
.LFB16:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
ldrsw x1, [sp, 12]
adrp x0, _fxp_one
add x0, x0, :lo12:_fxp_one
ldr x0, [x0]
mul x0, x1, x0
str x0, [sp, 24]
ldr x0, [sp, 24]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size fxp_int_to_fxp, .-fxp_int_to_fxp
.align 2
.global fxp_to_int
.type fxp_to_int, %function
fxp_to_int:
.LFB17:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
cmp x0, 0
blt .L37
adrp x0, _fxp_half
add x0, x0, :lo12:_fxp_half
ldr x0, [x0]
ldr x1, [sp, 8]
add x0, x1, x0
str x0, [sp, 8]
b .L38
.L37:
adrp x0, _fxp_half
add x0, x0, :lo12:_fxp_half
ldr x0, [x0]
ldr x1, [sp, 8]
sub x0, x1, x0
str x0, [sp, 8]
.L38:
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
ldr x1, [sp, 8]
asr x0, x1, x0
str x0, [sp, 8]
ldr x0, [sp, 8]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size fxp_to_int, .-fxp_to_int
.align 2
.global fxp_float_to_fxp
.type fxp_float_to_fxp, %function
fxp_float_to_fxp:
.LFB18:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
ldr s0, [sp, 12]
fcvt d1, s0
adrp x0, impl
add x0, x0, :lo12:impl
ldr w1, [x0, 4]
adrp x0, scale_factor
add x0, x0, :lo12:scale_factor
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
fmul d0, d1, d0
str d0, [sp, 24]
ldr s0, [sp, 12]
fcmpe s0, #0.0
bge .L45
b .L46
.L45:
ldr d1, [sp, 24]
fmov d0, 5.0e-1
fadd d0, d1, d0
fcvtzs d0, d0
str d0, [sp, 16]
b .L43
.L46:
ldr d1, [sp, 24]
fmov d0, 5.0e-1
fsub d0, d1, d0
fcvtzs d0, d0
str d0, [sp, 16]
.L43:
ldr x0, [sp, 16]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size fxp_float_to_fxp, .-fxp_float_to_fxp
.align 2
.global fxp_double_to_fxp
.type fxp_double_to_fxp, %function
fxp_double_to_fxp:
.LFB19:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str d0, [sp, 8]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w1, [x0, 4]
adrp x0, scale_factor
add x0, x0, :lo12:scale_factor
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
ldr d1, [sp, 8]
fmul d0, d1, d0
str d0, [sp, 32]
adrp x0, rounding_mode
add x0, x0, :lo12:rounding_mode
ldr w0, [x0]
cmp w0, 0
bne .L48
ldr d0, [sp, 8]
fcmpe d0, #0.0
bge .L55
b .L57
.L55:
ldr d1, [sp, 32]
fmov d0, 5.0e-1
fadd d0, d1, d0
fcvtzs d0, d0
str d0, [sp, 24]
b .L51
.L57:
ldr d1, [sp, 32]
fmov d0, 5.0e-1
fsub d0, d1, d0
fcvtzs d0, d0
str d0, [sp, 24]
b .L51
.L48:
adrp x0, rounding_mode
add x0, x0, :lo12:rounding_mode
ldr w0, [x0]
cmp w0, 1
bne .L52
ldr d0, [sp, 32]
fcvtzs d0, d0
str d0, [sp, 24]
ldr d0, [sp, 24]
scvtf d0, d0
ldr d1, [sp, 32]
fsub d0, d1, d0
str d0, [sp, 40]
ldr d0, [sp, 8]
fcmpe d0, #0.0
bmi .L56
b .L51
.L56:
ldr d0, [sp, 40]
fcmp d0, #0.0
beq .L51
ldr d1, [sp, 32]
fmov d0, 1.0e+0
fsub d0, d1, d0
str d0, [sp, 32]
ldr d0, [sp, 32]
fcvtzs d0, d0
str d0, [sp, 24]
b .L51
.L52:
adrp x0, rounding_mode
add x0, x0, :lo12:rounding_mode
ldr w0, [x0]
cmp w0, 0
bne .L51
ldr d0, [sp, 32]
fcvtzs d0, d0
str d0, [sp, 24]
.L51:
ldr x0, [sp, 24]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE19:
.size fxp_double_to_fxp, .-fxp_double_to_fxp
.align 2
.global fxp_float_to_fxp_array
.type fxp_float_to_fxp_array, %function
fxp_float_to_fxp_array:
.LFB20:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -64
str x0, [sp, 56]
str x1, [sp, 48]
str w2, [sp, 44]
str wzr, [sp, 76]
b .L59
.L60:
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr s0, [x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x19, x1, x0
bl fxp_float_to_fxp
str x0, [x19]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L59:
ldr w1, [sp, 76]
ldr w0, [sp, 44]
cmp w1, w0
blt .L60
nop
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size fxp_float_to_fxp_array, .-fxp_float_to_fxp_array
.align 2
.global fxp_double_to_fxp_array
.type fxp_double_to_fxp_array, %function
fxp_double_to_fxp_array:
.LFB21:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -64
str x0, [sp, 56]
str x1, [sp, 48]
str w2, [sp, 44]
str wzr, [sp, 76]
b .L62
.L63:
ldrsw x0, [sp, 76]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x19, x1, x0
bl fxp_double_to_fxp
str x0, [x19]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L62:
ldr w1, [sp, 76]
ldr w0, [sp, 44]
cmp w1, w0
blt .L63
nop
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size fxp_double_to_fxp_array, .-fxp_double_to_fxp_array
.align 2
.global fxp_to_float
.type fxp_to_float, %function
fxp_to_float:
.LFB22:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
str w0, [sp, 24]
ldr w0, [sp, 24]
scvtf d1, w0
adrp x0, impl
add x0, x0, :lo12:impl
ldr w1, [x0, 4]
adrp x0, scale_factor_inv
add x0, x0, :lo12:scale_factor_inv
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
fmul d0, d1, d0
fcvt s0, d0
str s0, [sp, 28]
ldr s0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE22:
.size fxp_to_float, .-fxp_to_float
.align 2
.global fxp_to_double
.type fxp_to_double, %function
fxp_to_double:
.LFB23:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
str w0, [sp, 20]
ldr w0, [sp, 20]
scvtf d1, w0
adrp x0, impl
add x0, x0, :lo12:impl
ldr w1, [x0, 4]
adrp x0, scale_factor_inv
add x0, x0, :lo12:scale_factor_inv
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
fmul d0, d1, d0
str d0, [sp, 24]
ldr d0, [sp, 24]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE23:
.size fxp_to_double, .-fxp_to_double
.align 2
.global fxp_to_float_array
.type fxp_to_float_array, %function
fxp_to_float_array:
.LFB24:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -64
str x0, [sp, 56]
str x1, [sp, 48]
str w2, [sp, 44]
str wzr, [sp, 76]
b .L69
.L70:
ldrsw x0, [sp, 76]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x19, x1, x0
mov x0, x2
bl fxp_to_float
str s0, [x19]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L69:
ldr w1, [sp, 76]
ldr w0, [sp, 44]
cmp w1, w0
blt .L70
nop
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE24:
.size fxp_to_float_array, .-fxp_to_float_array
.align 2
.global fxp_to_double_array
.type fxp_to_double_array, %function
fxp_to_double_array:
.LFB25:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -64
str x0, [sp, 56]
str x1, [sp, 48]
str w2, [sp, 44]
str wzr, [sp, 76]
b .L72
.L73:
ldrsw x0, [sp, 76]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x19, x1, x0
mov x0, x2
bl fxp_to_double
str d0, [x19]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L72:
ldr w1, [sp, 76]
ldr w0, [sp, 44]
cmp w1, w0
blt .L73
nop
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE25:
.size fxp_to_double_array, .-fxp_to_double_array
.align 2
.global fxp_abs
.type fxp_abs, %function
fxp_abs:
.LFB26:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
csneg x0, x0, x0, ge
str x0, [sp, 40]
ldr x0, [sp, 40]
bl fxp_quantize
str x0, [sp, 40]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE26:
.size fxp_abs, .-fxp_abs
.align 2
.global fxp_add
.type fxp_add, %function
fxp_add:
.LFB27:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x1, [sp, 24]
ldr x0, [sp, 16]
add x0, x1, x0
str x0, [sp, 40]
ldr x0, [sp, 40]
bl fxp_quantize
str x0, [sp, 40]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE27:
.size fxp_add, .-fxp_add
.align 2
.global fxp_sub
.type fxp_sub, %function
fxp_sub:
.LFB28:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x1, [sp, 24]
ldr x0, [sp, 16]
sub x0, x1, x0
str x0, [sp, 40]
ldr x0, [sp, 40]
bl fxp_quantize
str x0, [sp, 40]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE28:
.size fxp_sub, .-fxp_sub
.align 2
.global fxp_mult
.type fxp_mult, %function
fxp_mult:
.LFB29:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x1, [sp, 24]
ldr x0, [sp, 16]
mul x0, x1, x0
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
blt .L81
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
sub w0, w0, #1
mov w1, 1
lsl w0, w1, w0
sxtw x1, w0
ldr x0, [sp, 40]
and x0, x1, x0
lsl x1, x0, 1
ldr x0, [sp, 40]
add x1, x1, x0
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
asr x0, x1, x0
str x0, [sp, 32]
b .L82
.L81:
ldr x0, [sp, 40]
neg x1, x0
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
sub w0, w0, #1
mov w2, 1
lsl w0, w2, w0
sxtw x0, w0
and x0, x1, x0
lsl x1, x0, 1
ldr x0, [sp, 40]
sub x1, x1, x0
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
asr x0, x1, x0
neg x0, x0
str x0, [sp, 32]
.L82:
ldr x0, [sp, 32]
bl fxp_quantize
str x0, [sp, 32]
ldr x0, [sp, 32]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE29:
.size fxp_mult, .-fxp_mult
.align 2
.global fxp_div
.type fxp_div, %function
fxp_div:
.LFB30:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 16]
cmp x0, 0
cset w0, ne
and w0, w0, 255
bl __DSVERIFIER_assume
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
ldr x1, [sp, 24]
lsl x1, x1, x0
ldr x0, [sp, 16]
sdiv x0, x1, x0
str x0, [sp, 40]
ldr x0, [sp, 40]
bl fxp_quantize
str x0, [sp, 40]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE30:
.size fxp_div, .-fxp_div
.align 2
.global fxp_neg
.type fxp_neg, %function
fxp_neg:
.LFB31:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
neg x0, x0
str x0, [sp, 40]
ldr x0, [sp, 40]
bl fxp_quantize
str x0, [sp, 40]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE31:
.size fxp_neg, .-fxp_neg
.align 2
.global fxp_sign
.type fxp_sign, %function
fxp_sign:
.LFB32:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
cmp x0, 0
beq .L89
ldr x0, [sp, 8]
cmp x0, 0
bge .L90
adrp x0, _fxp_minus_one
add x0, x0, :lo12:_fxp_minus_one
ldr x0, [x0]
b .L93
.L90:
adrp x0, _fxp_one
add x0, x0, :lo12:_fxp_one
ldr x0, [x0]
b .L93
.L89:
mov x0, 0
.L93:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE32:
.size fxp_sign, .-fxp_sign
.align 2
.global fxp_shrl
.type fxp_shrl, %function
fxp_shrl:
.LFB33:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
mov w1, w0
ldr w0, [sp, 4]
lsr w0, w1, w0
uxtw x0, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE33:
.size fxp_shrl, .-fxp_shrl
.align 2
.global fxp_square
.type fxp_square, %function
fxp_square:
.LFB34:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x1, [sp, 24]
ldr x0, [sp, 24]
bl fxp_mult
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE34:
.size fxp_square, .-fxp_square
.section .rodata
.align 3
.LC4:
.string "\n%i"
.text
.align 2
.global fxp_print_int
.type fxp_print_int, %function
fxp_print_int:
.LFB35:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE35:
.size fxp_print_int, .-fxp_print_int
.section .rodata
.align 3
.LC5:
.string "\n%f"
.text
.align 2
.global fxp_print_float
.type fxp_print_float, %function
fxp_print_float:
.LFB36:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl fxp_to_float
fcvt d0, s0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE36:
.size fxp_print_float, .-fxp_print_float
.align 2
.global fxp_print_float_array
.type fxp_print_float_array, %function
fxp_print_float_array:
.LFB37:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
str wzr, [sp, 44]
b .L101
.L102:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x0, [x0]
bl fxp_to_float
fcvt d0, s0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L101:
ldr w1, [sp, 44]
ldr w0, [sp, 20]
cmp w1, w0
blt .L102
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE37:
.size fxp_print_float_array, .-fxp_print_float_array
.section .rodata
.align 3
.LC6:
.string "%s = {"
.align 3
.LC7:
.string " %jd "
.align 3
.LC8:
.string "}"
.text
.align 2
.global print_fxp_array_elements
.type print_fxp_array_elements, %function
print_fxp_array_elements:
.LFB38:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
ldr x1, [sp, 40]
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
str wzr, [sp, 60]
b .L104
.L105:
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L104:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
blt .L105
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE38:
.size print_fxp_array_elements, .-print_fxp_array_elements
.align 2
.global initialize_array
.type initialize_array, %function
initialize_array:
.LFB39:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str wzr, [sp, 28]
b .L107
.L108:
ldrsw x0, [sp, 28]
lsl x0, x0, 3
ldr x1, [sp, 8]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L107:
ldr w1, [sp, 28]
ldr w0, [sp, 4]
cmp w1, w0
blt .L108
nop
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE39:
.size initialize_array, .-initialize_array
.align 2
.global revert_array
.type revert_array, %function
revert_array:
.LFB40:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
ldr w1, [sp, 28]
ldr x0, [sp, 32]
bl initialize_array
str wzr, [sp, 60]
b .L110
.L111:
ldr w1, [sp, 28]
ldr w0, [sp, 60]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x2, [sp, 32]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L110:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
blt .L111
nop
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE40:
.size revert_array, .-revert_array
.align 2
.global internal_pow
.type internal_pow, %function
internal_pow:
.LFB41:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str d0, [sp, 8]
str d1, [sp]
fmov d0, 1.0e+0
str d0, [sp, 24]
str wzr, [sp, 20]
b .L113
.L114:
ldr d1, [sp, 24]
ldr d0, [sp, 8]
fmul d0, d1, d0
str d0, [sp, 24]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L113:
ldr w0, [sp, 20]
scvtf d0, w0
ldr d1, [sp]
fcmpe d1, d0
bgt .L114
ldr d0, [sp, 24]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE41:
.size internal_pow, .-internal_pow
.align 2
.global internal_abs
.type internal_abs, %function
internal_abs:
.LFB42:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, 8]
ldr d0, [sp, 8]
fcmpe d0, #0.0
bmi .L121
b .L122
.L121:
ldr d0, [sp, 8]
fneg d0, d0
b .L120
.L122:
ldr d0, [sp, 8]
.L120:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE42:
.size internal_abs, .-internal_abs
.align 2
.global fatorial
.type fatorial, %function
fatorial:
.LFB43:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
beq .L124
ldr w0, [sp, 28]
sub w0, w0, #1
bl fatorial
mov w1, w0
ldr w0, [sp, 28]
mul w0, w1, w0
b .L126
.L124:
mov w0, 1
.L126:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE43:
.size fatorial, .-fatorial
.section .rodata
.align 3
.LC9:
.string "[DEBUG] the first constraint of Jury criteria failed: (F(1) > 0)"
.align 3
.LC10:
.string "[DEBUG] the second constraint of Jury criteria failed: (F(-1)*(-1)^n > 0)"
.align 3
.LC11:
.string "[DEBUG] the third constraint of Jury criteria failed: (abs(a0) < a_{n}*z^{n})"
.text
.align 2
.global check_stability
.type check_stability, %function
check_stability:
.LFB44:
.cfi_startproc
stp x29, x30, [sp, -256]!
.cfi_def_cfa_offset 256
.cfi_offset 29, -256
.cfi_offset 30, -248
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
stp x27, x28, [sp, 80]
str d8, [sp, 96]
sub sp, sp, #16
.cfi_offset 19, -240
.cfi_offset 20, -232
.cfi_offset 21, -224
.cfi_offset 22, -216
.cfi_offset 23, -208
.cfi_offset 24, -200
.cfi_offset 25, -192
.cfi_offset 26, -184
.cfi_offset 27, -176
.cfi_offset 28, -168
.cfi_offset 72, -160
str x0, [x29, 152]
str w1, [x29, 148]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 248]
mov x1, 0
mov x0, sp
str x0, [x29, 120]
ldr w0, [x29, 148]
lsl w0, w0, 1
sub w0, w0, #1
str w0, [x29, 188]
ldr w0, [x29, 148]
str w0, [x29, 172]
ldr w28, [x29, 148]
ldr w30, [x29, 188]
sxtw x0, w28
sub x0, x0, #1
str x0, [x29, 208]
sxtw x0, w28
mov x20, x0
mov x21, 0
lsr x0, x20, 58
lsl x19, x21, 6
orr x19, x0, x19
lsl x18, x20, 6
sxtw x0, w28
lsl x19, x0, 3
sxtw x0, w30
sub x0, x0, #1
str x0, [x29, 216]
sxtw x0, w28
mov x8, x0
mov x9, 0
sxtw x0, w30
mov x6, x0
mov x7, 0
mul x1, x8, x6
umulh x0, x8, x6
madd x0, x9, x6, x0
madd x0, x8, x7, x0
str x1, [x29, 128]
str x0, [x29, 136]
ldp x6, x7, [x29, 128]
mov x0, x6
lsr x0, x0, 58
mov x1, x7
lsl x17, x1, 6
orr x17, x0, x17
mov x0, x6
lsl x16, x0, 6
sxtw x0, w28
mov x4, x0
mov x5, 0
sxtw x0, w30
mov x2, x0
mov x3, 0
mul x1, x4, x2
umulh x0, x4, x2
madd x0, x5, x2, x0
madd x0, x4, x3, x0
mov x26, x1
mov x27, x0
lsr x0, x26, 58
lsl x15, x27, 6
orr x15, x0, x15
lsl x14, x26, 6
sxtw x1, w28
sxtw x0, w30
mul x0, x1, x0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L128:
cmp sp, x1
beq .L129
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L128
.L129:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L130
str xzr, [sp, 1024]
.L130:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 224]
ldr w0, [x29, 148]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 232]
sxtw x1, w0
mov x24, x1
mov x25, 0
lsr x1, x24, 58
lsl x13, x25, 6
orr x13, x1, x13
lsl x12, x24, 6
sxtw x1, w0
mov x22, x1
mov x23, 0
lsr x1, x22, 58
lsl x11, x23, 6
orr x11, x1, x11
lsl x10, x22, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L131:
cmp sp, x1
beq .L132
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L131
.L132:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L133
str xzr, [sp, 1024]
.L133:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 240]
str wzr, [x29, 176]
b .L134
.L135:
ldrsw x0, [x29, 176]
lsl x0, x0, 3
ldr x1, [x29, 152]
add x0, x1, x0
ldr d0, [x0]
ldr x0, [x29, 240]
ldrsw x1, [x29, 176]
str d0, [x0, x1, lsl 3]
ldr w0, [x29, 176]
add w0, w0, 1
str w0, [x29, 176]
.L134:
ldr w1, [x29, 176]
ldr w0, [x29, 148]
cmp w1, w0
blt .L135
str xzr, [x29, 200]
str wzr, [x29, 176]
b .L136
.L137:
ldrsw x0, [x29, 176]
lsl x0, x0, 3
ldr x1, [x29, 152]
add x0, x1, x0
ldr d0, [x0]
ldr d1, [x29, 200]
fadd d0, d1, d0
str d0, [x29, 200]
ldr w0, [x29, 176]
add w0, w0, 1
str w0, [x29, 176]
.L136:
ldr w1, [x29, 176]
ldr w0, [x29, 148]
cmp w1, w0
blt .L137
ldr d0, [x29, 200]
fcmpe d0, #0.0
bls .L166
b .L169
.L166:
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
mov w0, 0
b .L140
.L169:
str xzr, [x29, 200]
str wzr, [x29, 176]
b .L141
.L142:
ldrsw x0, [x29, 176]
lsl x0, x0, 3
ldr x1, [x29, 152]
add x0, x1, x0
ldr d8, [x0]
ldr w0, [x29, 148]
sub w1, w0, #1
ldr w0, [x29, 176]
sub w0, w1, w0
scvtf d0, w0
fmov d1, d0
fmov d0, -1.0e+0
bl internal_pow
fmul d0, d8, d0
ldr d1, [x29, 200]
fadd d0, d1, d0
str d0, [x29, 200]
ldr w0, [x29, 176]
add w0, w0, 1
str w0, [x29, 176]
.L141:
ldr w1, [x29, 176]
ldr w0, [x29, 148]
cmp w1, w0
blt .L142
ldr w0, [x29, 148]
sub w0, w0, #1
scvtf d0, w0
fmov d1, d0
fmov d0, -1.0e+0
bl internal_pow
fmov d1, d0
ldr d0, [x29, 200]
fmul d0, d0, d1
str d0, [x29, 200]
ldr d0, [x29, 200]
fcmpe d0, #0.0
bls .L167
b .L170
.L167:
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
mov w0, 0
b .L140
.L170:
ldrsw x0, [x29, 148]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [x29, 152]
add x0, x1, x0
ldr d0, [x0]
bl internal_abs
fmov d1, d0
ldr x0, [x29, 152]
ldr d0, [x0]
fcmpe d1, d0
bgt .L168
b .L171
.L168:
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
mov w0, 0
b .L140
.L171:
str wzr, [x29, 176]
b .L147
.L150:
str wzr, [x29, 180]
b .L148
.L149:
lsr x1, x19, 3
ldr x0, [x29, 224]
ldrsw x2, [x29, 180]
ldrsw x3, [x29, 176]
mul x1, x3, x1
add x1, x2, x1
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 180]
add w0, w0, 1
str w0, [x29, 180]
.L148:
ldr w1, [x29, 180]
ldr w0, [x29, 172]
cmp w1, w0
blt .L149
ldr w0, [x29, 176]
add w0, w0, 1
str w0, [x29, 176]
.L147:
ldr w1, [x29, 176]
ldr w0, [x29, 188]
cmp w1, w0
blt .L150
str wzr, [x29, 176]
b .L151
.L159:
str wzr, [x29, 180]
b .L152
.L158:
ldr w0, [x29, 176]
cmp w0, 0
bne .L153
ldrsw x0, [x29, 180]
lsl x0, x0, 3
ldr x1, [x29, 152]
add x0, x1, x0
lsr x1, x19, 3
ldr d0, [x0]
ldr x0, [x29, 224]
ldrsw x2, [x29, 180]
ldrsw x3, [x29, 176]
mul x1, x3, x1
add x1, x2, x1
str d0, [x0, x1, lsl 3]
b .L154
.L153:
ldr w0, [x29, 176]
and w0, w0, 1
cmp w0, 0
beq .L155
str wzr, [x29, 184]
b .L156
.L157:
lsr x2, x19, 3
ldr w0, [x29, 176]
sub w4, w0, #1
ldr w1, [x29, 172]
ldr w0, [x29, 184]
sub w0, w1, w0
sub w3, w0, #1
lsr x1, x19, 3
ldr x0, [x29, 224]
sxtw x3, w3
sxtw x4, w4
mul x2, x4, x2
add x2, x3, x2
ldr d0, [x0, x2, lsl 3]
ldr x0, [x29, 224]
ldrsw x2, [x29, 184]
ldrsw x3, [x29, 176]
mul x1, x3, x1
add x1, x2, x1
str d0, [x0, x1, lsl 3]
ldr w0, [x29, 184]
add w0, w0, 1
str w0, [x29, 184]
.L156:
ldr w1, [x29, 184]
ldr w0, [x29, 172]
cmp w1, w0
blt .L157
ldr w0, [x29, 172]
sub w0, w0, #1
str w0, [x29, 172]
ldr w0, [x29, 172]
str w0, [x29, 180]
b .L154
.L155:
lsr x1, x19, 3
ldr w0, [x29, 176]
sub w3, w0, #2
ldr x0, [x29, 224]
ldrsw x2, [x29, 180]
sxtw x3, w3
mul x1, x3, x1
add x1, x2, x1
ldr d1, [x0, x1, lsl 3]
lsr x1, x19, 3
ldr w0, [x29, 176]
sub w3, w0, #2
ldr x0, [x29, 224]
ldrsw x2, [x29, 172]
sxtw x3, w3
mul x1, x3, x1
add x1, x2, x1
ldr d2, [x0, x1, lsl 3]
lsr x1, x19, 3
ldr w0, [x29, 176]
sub w2, w0, #2
ldr x0, [x29, 224]
sxtw x2, w2
mul x1, x2, x1
ldr d0, [x0, x1, lsl 3]
fdiv d2, d2, d0
lsr x1, x19, 3
ldr w0, [x29, 176]
sub w3, w0, #1
ldr x0, [x29, 224]
ldrsw x2, [x29, 180]
sxtw x3, w3
mul x1, x3, x1
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
fmul d0, d2, d0
lsr x1, x19, 3
fsub d0, d1, d0
ldr x0, [x29, 224]
ldrsw x2, [x29, 180]
ldrsw x3, [x29, 176]
mul x1, x3, x1
add x1, x2, x1
str d0, [x0, x1, lsl 3]
.L154:
ldr w0, [x29, 180]
add w0, w0, 1
str w0, [x29, 180]
.L152:
ldr w1, [x29, 180]
ldr w0, [x29, 172]
cmp w1, w0
blt .L158
ldr w0, [x29, 176]
add w0, w0, 1
str w0, [x29, 176]
.L151:
ldr w1, [x29, 176]
ldr w0, [x29, 188]
cmp w1, w0
blt .L159
ldr x0, [x29, 224]
ldr d0, [x0]
fcmpe d0, #0.0
cset w0, ge
and w0, w0, 255
str w0, [x29, 192]
str wzr, [x29, 176]
b .L160
.L163:
ldr w0, [x29, 176]
and w0, w0, 1
cmp w0, 0
bne .L161
lsr x1, x19, 3
ldr x0, [x29, 224]
ldrsw x2, [x29, 176]
mul x1, x2, x1
ldr d0, [x0, x1, lsl 3]
fcmpe d0, #0.0
cset w0, ge
and w0, w0, 255
str w0, [x29, 196]
ldr w1, [x29, 192]
ldr w0, [x29, 196]
cmp w1, w0
beq .L172
mov w0, 0
b .L140
.L172:
nop
.L161:
ldr w0, [x29, 176]
add w0, w0, 1
str w0, [x29, 176]
.L160:
ldr w1, [x29, 176]
ldr w0, [x29, 188]
cmp w1, w0
blt .L163
mov w0, 1
.L140:
ldr x1, [x29, 120]
mov sp, x1
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 248]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L165
bl __stack_chk_fail
.L165:
mov w0, w1
mov sp, x29
ldr d8, [sp, 96]
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldp x27, x28, [sp, 80]
ldp x29, x30, [sp], 256
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 28
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_restore 72
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE44:
.size check_stability, .-check_stability
.align 2
.global poly_sum
.type poly_sum, %function
poly_sum:
.LFB45:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str w3, [sp, 32]
str x4, [sp, 16]
str w5, [sp, 12]
ldr w0, [sp, 36]
ldr w2, [sp, 32]
ldr w1, [sp, 32]
cmp w2, w0
csel w0, w1, w0, ge
str w0, [sp, 12]
str wzr, [sp, 60]
b .L174
.L177:
ldr w1, [sp, 36]
ldr w0, [sp, 32]
cmp w1, w0
ble .L175
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x2, [sp, 16]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w1, [sp, 36]
ldr w0, [sp, 32]
sub w0, w1, w0
ldr w1, [sp, 60]
cmp w1, w0
blt .L176
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [sp, 60]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 32]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
b .L176
.L175:
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x1, x1, x0
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x2, [sp, 16]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w0, w1, w0
ldr w1, [sp, 60]
cmp w1, w0
blt .L176
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [sp, 60]
ldr w0, [sp, 32]
sub w1, w1, w0
ldr w0, [sp, 36]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
.L176:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L174:
ldr w1, [sp, 60]
ldr w0, [sp, 12]
cmp w1, w0
blt .L177
nop
nop
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE45:
.size poly_sum, .-poly_sum
.align 2
.global poly_mult
.type poly_mult, %function
poly_mult:
.LFB46:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str w3, [sp, 32]
str x4, [sp, 16]
str w5, [sp, 12]
ldr w1, [sp, 36]
ldr w0, [sp, 32]
add w0, w1, w0
sub w0, w0, #1
str w0, [sp, 12]
str wzr, [sp, 52]
b .L179
.L182:
str wzr, [sp, 56]
b .L180
.L181:
ldr w1, [sp, 36]
ldr w0, [sp, 32]
add w1, w1, w0
ldr w0, [sp, 52]
sub w1, w1, w0
ldr w0, [sp, 56]
sub w0, w1, w0
sub w0, w0, #2
str w0, [sp, 60]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L180:
ldr w1, [sp, 56]
ldr w0, [sp, 32]
cmp w1, w0
blt .L181
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L179:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L182
str wzr, [sp, 52]
b .L183
.L186:
str wzr, [sp, 56]
b .L184
.L185:
ldr w1, [sp, 36]
ldr w0, [sp, 32]
add w1, w1, w0
ldr w0, [sp, 52]
sub w1, w1, w0
ldr w0, [sp, 56]
sub w0, w1, w0
sub w0, w0, #2
str w0, [sp, 60]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [sp, 36]
ldr w0, [sp, 52]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 40]
add x0, x1, x0
ldr d2, [x0]
ldr w1, [sp, 32]
ldr w0, [sp, 56]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
fmul d0, d2, d0
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L184:
ldr w1, [sp, 56]
ldr w0, [sp, 32]
cmp w1, w0
blt .L185
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L183:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L186
nop
nop
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE46:
.size poly_mult, .-poly_mult
.section .rodata
.align 3
.LC12:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/util.h"
.align 3
.LC13:
.string "!(window_count == window_size)"
.text
.align 2
.global double_check_oscillations
.type double_check_oscillations, %function
double_check_oscillations:
.LFB47:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
ldr x0, [sp, 24]
ldr d1, [x0]
ldrsw x0, [sp, 20]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
fcmp d1, d0
cset w0, ne
and w0, w0, 255
bl __DSVERIFIER_assume
str wzr, [sp, 40]
str wzr, [sp, 44]
mov w0, 2
str w0, [sp, 48]
b .L188
.L195:
ldr w0, [sp, 48]
str w0, [sp, 56]
str wzr, [sp, 52]
b .L189
.L194:
ldr w1, [sp, 40]
ldr w0, [sp, 56]
cmp w1, w0
ble .L190
str wzr, [sp, 40]
str wzr, [sp, 44]
.L190:
ldr w1, [sp, 52]
ldr w0, [sp, 56]
add w0, w1, w0
str w0, [sp, 60]
ldr w1, [sp, 60]
ldr w0, [sp, 20]
cmp w1, w0
bge .L196
ldrsw x0, [sp, 52]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
fcmp d1, d0
bne .L192
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w1, [sp, 44]
ldr w0, [sp, 56]
cmp w1, w0
bne .L192
adrp x0, __PRETTY_FUNCTION__.19
add x3, x0, :lo12:__PRETTY_FUNCTION__.19
mov w2, 209
adrp x0, .LC12
add x1, x0, :lo12:.LC12
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl __assert_fail
.L192:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L189:
ldr w1, [sp, 52]
ldr w0, [sp, 20]
cmp w1, w0
blt .L194
b .L193
.L196:
nop
.L193:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L188:
ldr w1, [sp, 48]
ldr w0, [sp, 20]
cmp w1, w0
blt .L195
nop
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE47:
.size double_check_oscillations, .-double_check_oscillations
.section .rodata
.align 3
.LC14:
.string "window_size %d\n"
.align 3
.LC15:
.string "%.0f == %.0f\n"
.align 3
.LC16:
.string "desired_elements %d\n"
.align 3
.LC17:
.string "found_elements %d\n"
.text
.align 2
.global double_check_limit_cycle
.type double_check_limit_cycle, %function
double_check_limit_cycle:
.LFB48:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
ldrsw x0, [sp, 20]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
str d0, [sp, 56]
str wzr, [sp, 36]
mov w0, 1
str w0, [sp, 40]
ldr w0, [sp, 20]
sub w0, w0, #2
str w0, [sp, 36]
b .L198
.L202:
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
ldr d1, [sp, 56]
fcmp d1, d0
beq .L209
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L198:
ldr w0, [sp, 36]
cmp w0, 0
bge .L202
b .L201
.L209:
nop
.L201:
ldr w1, [sp, 40]
ldr w0, [sp, 20]
cmp w1, w0
beq .L203
ldr w0, [sp, 40]
cmp w0, 1
beq .L203
mov w0, 1
b .L204
.L203:
mov w0, 0
.L204:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr w1, [sp, 40]
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl printf
ldr w0, [sp, 40]
lsl w0, w0, 1
str w0, [sp, 48]
str wzr, [sp, 44]
ldr w0, [sp, 20]
sub w0, w0, #1
str w0, [sp, 36]
b .L205
.L208:
ldr w1, [sp, 20]
ldr w0, [sp, 40]
sub w0, w1, w0
ldr w1, [sp, 36]
cmp w1, w0
blt .L206
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
ldr w1, [sp, 36]
ldr w0, [sp, 40]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr d1, [x0]
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl printf
ldr w1, [sp, 36]
ldr w0, [sp, 40]
sub w0, w1, w0
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
ble .L207
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [sp, 36]
ldr w0, [sp, 40]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
fcmp d1, d0
bne .L207
ldr w0, [sp, 44]
add w0, w0, 2
str w0, [sp, 44]
.L206:
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L205:
ldr w0, [sp, 36]
cmp w0, 0
bge .L208
.L207:
ldr w1, [sp, 48]
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl printf
ldr w1, [sp, 44]
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl printf
ldr w1, [sp, 48]
ldr w0, [sp, 44]
cmp w1, w0
cset w0, ne
and w0, w0, 255
bl __DSVERIFIER_assert
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE48:
.size double_check_limit_cycle, .-double_check_limit_cycle
.align 2
.global double_check_persistent_limit_cycle
.type double_check_persistent_limit_cycle, %function
double_check_persistent_limit_cycle:
.LFB49:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
str x27, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -160
.cfi_offset 20, -152
.cfi_offset 21, -144
.cfi_offset 22, -136
.cfi_offset 23, -128
.cfi_offset 24, -120
.cfi_offset 25, -112
.cfi_offset 26, -104
.cfi_offset 27, -96
str x0, [x29, 104]
str w1, [x29, 100]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 168]
mov x1, 0
mov x0, sp
mov x19, x0
str wzr, [x29, 128]
str wzr, [x29, 132]
str wzr, [x29, 136]
ldr x0, [x29, 104]
ldr d0, [x0]
str d0, [x29, 144]
str wzr, [x29, 128]
b .L211
.L216:
ldrsw x0, [x29, 128]
lsl x0, x0, 3
ldr x1, [x29, 104]
add x0, x1, x0
ldr d0, [x0]
ldr d1, [x29, 144]
fcmp d1, d0
beq .L212
ldr w0, [x29, 136]
add w0, w0, 1
str w0, [x29, 136]
b .L213
.L212:
ldr w0, [x29, 136]
cmp w0, 0
bne .L232
ldr w0, [x29, 132]
add w0, w0, 1
str w0, [x29, 132]
.L213:
ldr w0, [x29, 128]
add w0, w0, 1
str w0, [x29, 128]
.L211:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L216
b .L215
.L232:
nop
.L215:
ldr w1, [x29, 136]
ldr w0, [x29, 132]
add w0, w1, w0
str w0, [x29, 136]
ldr w0, [x29, 136]
cmp w0, 1
ble .L217
ldr w0, [x29, 100]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
mov w1, w0
ldr w0, [x29, 136]
cmp w0, w1
bgt .L217
mov w0, 1
b .L218
.L217:
mov w0, 0
.L218:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr w0, [x29, 136]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 152]
sxtw x1, w0
mov x26, x1
mov x27, 0
lsr x1, x26, 58
lsl x23, x27, 6
orr x23, x1, x23
lsl x22, x26, 6
sxtw x1, w0
mov x24, x1
mov x25, 0
lsr x1, x24, 58
lsl x21, x25, 6
orr x21, x1, x21
lsl x20, x24, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L219:
cmp sp, x1
beq .L220
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L219
.L220:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L221
str xzr, [sp, 1024]
.L221:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 160]
str wzr, [x29, 128]
b .L222
.L224:
ldr w1, [x29, 128]
ldr w0, [x29, 136]
cmp w1, w0
bge .L223
ldrsw x0, [x29, 128]
lsl x0, x0, 3
ldr x1, [x29, 104]
add x0, x1, x0
ldr d0, [x0]
ldr x0, [x29, 160]
ldrsw x1, [x29, 128]
str d0, [x0, x1, lsl 3]
.L223:
ldr w0, [x29, 128]
add w0, w0, 1
str w0, [x29, 128]
.L222:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L224
str wzr, [x29, 128]
str wzr, [x29, 140]
strb wzr, [x29, 127]
b .L225
.L229:
ldr w0, [x29, 128]
add w1, w0, 1
str w1, [x29, 128]
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [x29, 104]
add x0, x1, x0
ldr d1, [x0]
ldr w0, [x29, 140]
add w1, w0, 1
str w1, [x29, 140]
ldr x1, [x29, 160]
sxtw x0, w0
ldr d0, [x1, x0, lsl 3]
fcmp d1, d0
bne .L226
mov w0, 1
strb w0, [x29, 127]
ldr w1, [x29, 140]
ldr w0, [x29, 136]
cmp w1, w0
bne .L225
b .L231
.L226:
strb wzr, [x29, 127]
b .L228
.L231:
str wzr, [x29, 140]
.L225:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L229
.L228:
ldrb w0, [x29, 127]
cmp w0, 0
cset w0, ne
and w0, w0, 255
eor w0, w0, 1
and w0, w0, 255
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assert
mov sp, x19
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 168]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L230
bl __stack_chk_fail
.L230:
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldr x27, [sp, 80]
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE49:
.size double_check_persistent_limit_cycle, .-double_check_persistent_limit_cycle
.section .rodata
.align 3
.LC18:
.string " %.32f "
.text
.align 2
.global print_array_elements
.type print_array_elements, %function
print_array_elements:
.LFB50:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
ldr x1, [sp, 40]
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
str wzr, [sp, 60]
b .L234
.L235:
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr d0, [x0]
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl printf
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L234:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
blt .L235
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE50:
.size print_array_elements, .-print_array_elements
.align 2
.global double_add_matrix
.type double_add_matrix, %function
double_add_matrix:
.LFB51:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, 28]
str w1, [sp, 24]
str x2, [sp, 16]
str x3, [sp, 8]
str x4, [sp]
str wzr, [sp, 40]
b .L237
.L240:
str wzr, [sp, 44]
b .L238
.L239:
ldr w0, [sp, 40]
lsl x0, x0, 5
ldr x1, [sp, 16]
add x0, x1, x0
ldr w1, [sp, 44]
ldr d1, [x0, x1, lsl 3]
ldr w0, [sp, 40]
lsl x0, x0, 5
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [sp, 44]
ldr d0, [x0, x1, lsl 3]
ldr w0, [sp, 40]
lsl x0, x0, 5
ldr x1, [sp]
add x0, x1, x0
fadd d0, d1, d0
ldr w1, [sp, 44]
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L238:
ldr w1, [sp, 44]
ldr w0, [sp, 24]
cmp w1, w0
bcc .L239
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L237:
ldr w1, [sp, 40]
ldr w0, [sp, 28]
cmp w1, w0
bcc .L240
nop
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE51:
.size double_add_matrix, .-double_add_matrix
.align 2
.global double_sub_matrix
.type double_sub_matrix, %function
double_sub_matrix:
.LFB52:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, 28]
str w1, [sp, 24]
str x2, [sp, 16]
str x3, [sp, 8]
str x4, [sp]
str wzr, [sp, 40]
b .L242
.L245:
str wzr, [sp, 44]
b .L243
.L244:
ldr w0, [sp, 40]
lsl x0, x0, 5
ldr x1, [sp, 16]
add x0, x1, x0
ldr w1, [sp, 44]
ldr d1, [x0, x1, lsl 3]
ldr w0, [sp, 40]
lsl x0, x0, 5
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [sp, 44]
ldr d0, [x0, x1, lsl 3]
ldr w0, [sp, 40]
lsl x0, x0, 5
ldr x1, [sp]
add x0, x1, x0
fsub d0, d1, d0
ldr w1, [sp, 44]
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L243:
ldr w1, [sp, 44]
ldr w0, [sp, 24]
cmp w1, w0
bcc .L244
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L242:
ldr w1, [sp, 40]
ldr w0, [sp, 28]
cmp w1, w0
bcc .L245
nop
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE52:
.size double_sub_matrix, .-double_sub_matrix
.section .rodata
.align 3
.LC19:
.string "\nError! Operation invalid, please enter with valid matrices."
.text
.align 2
.global double_matrix_multiplication
.type double_matrix_multiplication, %function
double_matrix_multiplication:
.LFB53:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str w0, [sp, 60]
str w1, [sp, 56]
str w2, [sp, 52]
str w3, [sp, 48]
str x4, [sp, 40]
str x5, [sp, 32]
str x6, [sp, 24]
ldr w1, [sp, 56]
ldr w0, [sp, 52]
cmp w1, w0
bne .L247
str wzr, [sp, 76]
b .L248
.L251:
str wzr, [sp, 80]
b .L249
.L250:
ldr w0, [sp, 76]
lsl x0, x0, 5
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [sp, 80]
str xzr, [x0, x1, lsl 3]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L249:
ldr w1, [sp, 80]
ldr w0, [sp, 48]
cmp w1, w0
bcc .L250
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L248:
ldr w1, [sp, 76]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L251
str wzr, [sp, 76]
b .L252
.L257:
str wzr, [sp, 80]
b .L253
.L256:
str wzr, [sp, 84]
b .L254
.L255:
ldr w0, [sp, 76]
lsl x0, x0, 5
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 84]
ldr d1, [x0, x1, lsl 3]
ldr w0, [sp, 84]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 80]
ldr d0, [x0, x1, lsl 3]
fmul d0, d1, d0
str d0, [sp, 88]
ldr w0, [sp, 76]
lsl x0, x0, 5
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [sp, 80]
ldr d1, [x0, x1, lsl 3]
ldr w0, [sp, 76]
lsl x0, x0, 5
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 84]
ldr d2, [x0, x1, lsl 3]
ldr w0, [sp, 84]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 80]
ldr d0, [x0, x1, lsl 3]
fmul d0, d2, d0
ldr w0, [sp, 76]
lsl x0, x0, 5
ldr x1, [sp, 24]
add x0, x1, x0
fadd d0, d1, d0
ldr w1, [sp, 80]
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L254:
ldr w1, [sp, 84]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L255
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L253:
ldr w1, [sp, 80]
ldr w0, [sp, 48]
cmp w1, w0
bcc .L256
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L252:
ldr w1, [sp, 76]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L257
b .L259
.L247:
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl puts
.L259:
nop
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE53:
.size double_matrix_multiplication, .-double_matrix_multiplication
.align 2
.global fxp_matrix_multiplication
.type fxp_matrix_multiplication, %function
fxp_matrix_multiplication:
.LFB54:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -80
.cfi_offset 20, -72
str w0, [sp, 76]
str w1, [sp, 72]
str w2, [sp, 68]
str w3, [sp, 64]
str x4, [sp, 56]
str x5, [sp, 48]
str x6, [sp, 40]
ldr w1, [sp, 72]
ldr w0, [sp, 68]
cmp w1, w0
bne .L261
str wzr, [sp, 84]
b .L262
.L265:
str wzr, [sp, 88]
b .L263
.L264:
ldr w0, [sp, 84]
lsl x0, x0, 5
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 88]
str xzr, [x0, x1, lsl 3]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L263:
ldr w1, [sp, 88]
ldr w0, [sp, 64]
cmp w1, w0
bcc .L264
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L262:
ldr w1, [sp, 84]
ldr w0, [sp, 76]
cmp w1, w0
bcc .L265
str wzr, [sp, 84]
b .L266
.L271:
str wzr, [sp, 88]
b .L267
.L270:
str wzr, [sp, 92]
b .L268
.L269:
ldr w0, [sp, 84]
lsl x0, x0, 5
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 88]
ldr x20, [x0, x1, lsl 3]
ldr w0, [sp, 84]
lsl x0, x0, 5
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 92]
ldr x2, [x0, x1, lsl 3]
ldr w0, [sp, 92]
lsl x0, x0, 5
ldr x1, [sp, 48]
add x0, x1, x0
ldr w1, [sp, 88]
ldr x0, [x0, x1, lsl 3]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x2, x0
ldr w0, [sp, 84]
lsl x0, x0, 5
ldr x1, [sp, 40]
add x19, x1, x0
mov x1, x2
mov x0, x20
bl fxp_add
mov x1, x0
ldr w0, [sp, 88]
str x1, [x19, x0, lsl 3]
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L268:
ldr w1, [sp, 92]
ldr w0, [sp, 72]
cmp w1, w0
bcc .L269
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L267:
ldr w1, [sp, 88]
ldr w0, [sp, 64]
cmp w1, w0
bcc .L270
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L266:
ldr w1, [sp, 84]
ldr w0, [sp, 76]
cmp w1, w0
bcc .L271
b .L273
.L261:
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl puts
.L273:
nop
ldp x19, x20, [sp, 16]
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE54:
.size fxp_matrix_multiplication, .-fxp_matrix_multiplication
.align 2
.global fxp_exp_matrix
.type fxp_exp_matrix, %function
fxp_exp_matrix:
.LFB55:
.cfi_startproc
stp x29, x30, [sp, -224]!
.cfi_def_cfa_offset 224
.cfi_offset 29, -224
.cfi_offset 30, -216
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -208
.cfi_offset 20, -200
str w0, [sp, 60]
str w1, [sp, 56]
str x2, [sp, 48]
str w3, [sp, 44]
str x4, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 216]
mov x1, 0
ldr w0, [sp, 44]
cmp w0, 0
bne .L275
str wzr, [sp, 72]
b .L276
.L281:
str wzr, [sp, 76]
b .L277
.L280:
ldr w1, [sp, 72]
ldr w0, [sp, 76]
cmp w1, w0
bne .L278
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x19, x1, x0
fmov d0, 1.0e+0
bl fxp_double_to_fxp
mov x1, x0
ldr w0, [sp, 76]
str x1, [x19, x0, lsl 3]
b .L279
.L278:
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 76]
str xzr, [x0, x1, lsl 3]
.L279:
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L277:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L280
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L276:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L281
b .L274
.L275:
str wzr, [sp, 72]
b .L283
.L286:
str wzr, [sp, 76]
b .L284
.L285:
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 48]
add x1, x1, x0
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x2, [sp, 32]
add x0, x2, x0
ldr w2, [sp, 76]
ldr x2, [x1, x2, lsl 3]
ldr w1, [sp, 76]
str x2, [x0, x1, lsl 3]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L284:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L285
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L283:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L286
ldr w0, [sp, 44]
cmp w0, 1
beq .L306
mov w0, 1
str w0, [sp, 80]
b .L288
.L303:
str wzr, [sp, 72]
b .L289
.L292:
str wzr, [sp, 76]
b .L290
.L291:
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 76]
ldr x2, [x0, x1, lsl 3]
ldr w0, [sp, 76]
ldr w1, [sp, 72]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 88
str x2, [x1, x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L290:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L291
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L289:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L292
str wzr, [sp, 72]
b .L293
.L296:
str wzr, [sp, 76]
b .L294
.L295:
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 76]
str xzr, [x0, x1, lsl 3]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L294:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L295
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L293:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L296
str wzr, [sp, 72]
b .L297
.L302:
str wzr, [sp, 76]
b .L298
.L301:
str wzr, [sp, 84]
b .L299
.L300:
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 76]
ldr x20, [x0, x1, lsl 3]
ldr w0, [sp, 84]
ldr w1, [sp, 72]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 88
ldr x2, [x1, x0]
ldr w0, [sp, 84]
lsl x0, x0, 5
ldr x1, [sp, 48]
add x0, x1, x0
ldr w1, [sp, 76]
ldr x0, [x0, x1, lsl 3]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x2, x0
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x19, x1, x0
mov x1, x2
mov x0, x20
bl fxp_add
mov x1, x0
ldr w0, [sp, 76]
str x1, [x19, x0, lsl 3]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L299:
ldr w1, [sp, 84]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L300
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L298:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L301
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L297:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L302
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L288:
ldr w1, [sp, 80]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L303
b .L274
.L306:
nop
.L274:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 216]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L305
bl __stack_chk_fail
.L305:
ldp x19, x20, [sp, 16]
ldp x29, x30, [sp], 224
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE55:
.size fxp_exp_matrix, .-fxp_exp_matrix
.align 2
.global double_exp_matrix
.type double_exp_matrix, %function
double_exp_matrix:
.LFB56:
.cfi_startproc
stp x29, x30, [sp, -208]!
.cfi_def_cfa_offset 208
.cfi_offset 29, -208
.cfi_offset 30, -200
mov x29, sp
str w0, [sp, 44]
str w1, [sp, 40]
str x2, [sp, 32]
str w3, [sp, 28]
str x4, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 200]
mov x1, 0
ldr w0, [sp, 28]
cmp w0, 0
bne .L308
str wzr, [sp, 56]
b .L309
.L314:
str wzr, [sp, 60]
b .L310
.L313:
ldr w1, [sp, 56]
ldr w0, [sp, 60]
cmp w1, w0
bne .L311
ldr w0, [sp, 56]
lsl x0, x0, 5
ldr x1, [sp, 16]
add x0, x1, x0
ldr w1, [sp, 60]
fmov d0, 1.0e+0
str d0, [x0, x1, lsl 3]
b .L312
.L311:
ldr w0, [sp, 56]
lsl x0, x0, 5
ldr x1, [sp, 16]
add x0, x1, x0
ldr w1, [sp, 60]
str xzr, [x0, x1, lsl 3]
.L312:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L310:
ldr w1, [sp, 60]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L313
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L309:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L314
b .L307
.L308:
str wzr, [sp, 56]
b .L316
.L319:
str wzr, [sp, 60]
b .L317
.L318:
ldr w0, [sp, 56]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x1, x1, x0
ldr w0, [sp, 56]
lsl x0, x0, 5
ldr x2, [sp, 16]
add x0, x2, x0
ldr w2, [sp, 60]
ldr d0, [x1, x2, lsl 3]
ldr w1, [sp, 60]
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L317:
ldr w1, [sp, 60]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L318
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L316:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L319
ldr w0, [sp, 28]
cmp w0, 1
beq .L339
mov w0, 1
str w0, [sp, 68]
b .L321
.L336:
str wzr, [sp, 56]
b .L322
.L325:
str wzr, [sp, 60]
b .L323
.L324:
ldr w0, [sp, 56]
lsl x0, x0, 5
ldr x1, [sp, 16]
add x0, x1, x0
ldr w1, [sp, 60]
ldr d0, [x0, x1, lsl 3]
ldr w0, [sp, 60]
ldr w1, [sp, 56]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 72
str d0, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L323:
ldr w1, [sp, 60]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L324
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L322:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L325
str wzr, [sp, 56]
b .L326
.L329:
str wzr, [sp, 60]
b .L327
.L328:
ldr w0, [sp, 56]
lsl x0, x0, 5
ldr x1, [sp, 16]
add x0, x1, x0
ldr w1, [sp, 60]
str xzr, [x0, x1, lsl 3]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L327:
ldr w1, [sp, 60]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L328
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L326:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L329
str wzr, [sp, 56]
b .L330
.L335:
str wzr, [sp, 60]
b .L331
.L334:
str wzr, [sp, 64]
b .L332
.L333:
ldr w0, [sp, 56]
lsl x0, x0, 5
ldr x1, [sp, 16]
add x0, x1, x0
ldr w1, [sp, 60]
ldr d1, [x0, x1, lsl 3]
ldr w0, [sp, 64]
ldr w1, [sp, 56]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 72
ldr d2, [x1, x0]
ldr w0, [sp, 64]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 60]
ldr d0, [x0, x1, lsl 3]
fmul d0, d2, d0
ldr w0, [sp, 56]
lsl x0, x0, 5
ldr x1, [sp, 16]
add x0, x1, x0
fadd d0, d1, d0
ldr w1, [sp, 60]
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L332:
ldr w1, [sp, 64]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L333
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L331:
ldr w1, [sp, 60]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L334
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L330:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L335
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L321:
ldr w1, [sp, 68]
ldr w0, [sp, 28]
cmp w1, w0
bcc .L336
b .L307
.L339:
nop
.L307:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 200]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L338
bl __stack_chk_fail
.L338:
ldp x29, x30, [sp], 208
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE56:
.size double_exp_matrix, .-double_exp_matrix
.align 2
.global fxp_add_matrix
.type fxp_add_matrix, %function
fxp_add_matrix:
.LFB57:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -64
str w0, [sp, 60]
str w1, [sp, 56]
str x2, [sp, 48]
str x3, [sp, 40]
str x4, [sp, 32]
str wzr, [sp, 72]
b .L341
.L344:
str wzr, [sp, 76]
b .L342
.L343:
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 48]
add x0, x1, x0
ldr w1, [sp, 76]
ldr x2, [x0, x1, lsl 3]
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 76]
ldr x3, [x0, x1, lsl 3]
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x19, x1, x0
mov x1, x3
mov x0, x2
bl fxp_add
mov x1, x0
ldr w0, [sp, 76]
str x1, [x19, x0, lsl 3]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L342:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L343
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L341:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L344
nop
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE57:
.size fxp_add_matrix, .-fxp_add_matrix
.align 2
.global fxp_sub_matrix
.type fxp_sub_matrix, %function
fxp_sub_matrix:
.LFB58:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -64
str w0, [sp, 60]
str w1, [sp, 56]
str x2, [sp, 48]
str x3, [sp, 40]
str x4, [sp, 32]
str wzr, [sp, 72]
b .L346
.L349:
str wzr, [sp, 76]
b .L347
.L348:
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 48]
add x0, x1, x0
ldr w1, [sp, 76]
ldr x2, [x0, x1, lsl 3]
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 76]
ldr x3, [x0, x1, lsl 3]
ldr w0, [sp, 72]
lsl x0, x0, 5
ldr x1, [sp, 32]
add x19, x1, x0
mov x1, x3
mov x0, x2
bl fxp_sub
mov x1, x0
ldr w0, [sp, 76]
str x1, [x19, x0, lsl 3]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L347:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L348
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L346:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L349
nop
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE58:
.size fxp_sub_matrix, .-fxp_sub_matrix
.section .rodata
.align 3
.LC20:
.string "\nMatrix\n=====================\n"
.align 3
.LC21:
.string "#matrix[%d][%d]: %2.2f "
.text
.align 2
.global print_matrix
.type print_matrix, %function
print_matrix:
.LFB59:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl puts
str wzr, [sp, 40]
b .L351
.L354:
str wzr, [sp, 44]
b .L352
.L353:
ldr w0, [sp, 40]
lsl x0, x0, 5
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [sp, 44]
ldr d0, [x0, x1, lsl 3]
ldr w2, [sp, 44]
ldr w1, [sp, 40]
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl printf
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L352:
ldr w1, [sp, 44]
ldr w0, [sp, 16]
cmp w1, w0
bcc .L353
mov w0, 10
bl putchar
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L351:
ldr w1, [sp, 40]
ldr w0, [sp, 20]
cmp w1, w0
bcc .L354
mov w0, 10
bl putchar
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE59:
.size print_matrix, .-print_matrix
.align 2
.global determinant
.type determinant, %function
determinant:
.LFB60:
.cfi_startproc
stp x29, x30, [sp, -208]!
.cfi_def_cfa_offset 208
.cfi_offset 29, -208
.cfi_offset 30, -200
mov x29, sp
str d8, [sp, 16]
.cfi_offset 72, -192
str x0, [sp, 40]
str w1, [sp, 36]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 200]
mov x1, 0
str xzr, [sp, 64]
ldr w0, [sp, 36]
cmp w0, 0
ble .L356
ldr w0, [sp, 36]
cmp w0, 1
bne .L357
ldr x0, [sp, 40]
ldr d0, [x0]
str d0, [sp, 64]
b .L356
.L357:
ldr w0, [sp, 36]
cmp w0, 2
bne .L358
ldr x0, [sp, 40]
ldr d1, [x0]
ldr x0, [sp, 40]
add x0, x0, 32
ldr d0, [x0, 8]
fmul d1, d1, d0
ldr x0, [sp, 40]
add x0, x0, 32
ldr d2, [x0]
ldr x0, [sp, 40]
ldr d0, [x0, 8]
fmul d0, d2, d0
fsub d0, d1, d0
str d0, [sp, 64]
b .L356
.L358:
str xzr, [sp, 64]
str wzr, [sp, 56]
b .L359
.L368:
str wzr, [sp, 48]
b .L360
.L367:
mov w0, 1
str w0, [sp, 48]
b .L361
.L366:
str wzr, [sp, 60]
str wzr, [sp, 52]
b .L362
.L365:
ldr w1, [sp, 52]
ldr w0, [sp, 56]
cmp w1, w0
beq .L371
ldrsw x0, [sp, 48]
lsl x0, x0, 5
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 48]
sub w2, w1, #1
ldrsw x1, [sp, 52]
ldr d0, [x0, x1, lsl 3]
ldrsw x0, [sp, 60]
sxtw x1, w2
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 72
str d0, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
b .L364
.L371:
nop
.L364:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L362:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L365
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L361:
ldr w1, [sp, 48]
ldr w0, [sp, 36]
cmp w1, w0
blt .L366
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L360:
ldr w0, [sp, 36]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
blt .L367
ldr w0, [sp, 56]
scvtf d1, w0
fmov d0, 1.0e+0
fadd d1, d1, d0
fmov d0, 1.0e+0
fadd d0, d1, d0
fmov d1, d0
fmov d0, -1.0e+0
bl internal_pow
fmov d1, d0
ldr x0, [sp, 40]
ldrsw x1, [sp, 56]
ldr d0, [x0, x1, lsl 3]
fmul d8, d1, d0
ldr w0, [sp, 36]
sub w1, w0, #1
add x0, sp, 72
bl determinant
fmul d0, d8, d0
ldr d1, [sp, 64]
fadd d0, d1, d0
str d0, [sp, 64]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L359:
ldr w1, [sp, 56]
ldr w0, [sp, 36]
cmp w1, w0
blt .L368
.L356:
ldr d0, [sp, 64]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 200]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L370
bl __stack_chk_fail
.L370:
ldr d8, [sp, 16]
ldp x29, x30, [sp], 208
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE60:
.size determinant, .-determinant
.align 2
.global fxp_determinant
.type fxp_determinant, %function
fxp_determinant:
.LFB61:
.cfi_startproc
stp x29, x30, [sp, -336]!
.cfi_def_cfa_offset 336
.cfi_offset 29, -336
.cfi_offset 30, -328
mov x29, sp
str d8, [sp, 16]
.cfi_offset 72, -320
str x0, [sp, 40]
str w1, [sp, 36]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 328]
mov x1, 0
str wzr, [sp, 48]
b .L373
.L376:
str wzr, [sp, 52]
b .L374
.L375:
ldrsw x0, [sp, 48]
lsl x0, x0, 5
ldr x1, [sp, 40]
add x0, x1, x0
ldrsw x1, [sp, 52]
ldr x0, [x0, x1, lsl 3]
bl fxp_to_double
ldrsw x0, [sp, 52]
ldrsw x1, [sp, 48]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 72
str d0, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L374:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L375
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L373:
ldr w1, [sp, 48]
ldr w0, [sp, 36]
cmp w1, w0
blt .L376
str xzr, [sp, 64]
ldr w0, [sp, 36]
cmp w0, 0
ble .L377
ldr w0, [sp, 36]
cmp w0, 1
bne .L378
ldr d0, [sp, 72]
str d0, [sp, 64]
b .L377
.L378:
ldr w0, [sp, 36]
cmp w0, 2
bne .L379
ldr d1, [sp, 72]
ldr d0, [sp, 112]
fmul d1, d1, d0
ldr d2, [sp, 104]
ldr d0, [sp, 80]
fmul d0, d2, d0
fsub d0, d1, d0
str d0, [sp, 64]
b .L377
.L379:
str xzr, [sp, 64]
str wzr, [sp, 56]
b .L380
.L389:
str wzr, [sp, 48]
b .L381
.L388:
mov w0, 1
str w0, [sp, 48]
b .L382
.L387:
str wzr, [sp, 60]
str wzr, [sp, 52]
b .L383
.L386:
ldr w1, [sp, 52]
ldr w0, [sp, 56]
cmp w1, w0
beq .L392
ldr w0, [sp, 48]
sub w2, w0, #1
ldrsw x0, [sp, 52]
ldrsw x1, [sp, 48]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 72
ldr d0, [x1, x0]
ldrsw x0, [sp, 60]
sxtw x1, w2
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 200
str d0, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
b .L385
.L392:
nop
.L385:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L383:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L386
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L382:
ldr w1, [sp, 48]
ldr w0, [sp, 36]
cmp w1, w0
blt .L387
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L381:
ldr w0, [sp, 36]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
blt .L388
ldr w0, [sp, 56]
scvtf d1, w0
fmov d0, 1.0e+0
fadd d1, d1, d0
fmov d0, 1.0e+0
fadd d0, d1, d0
fmov d1, d0
fmov d0, -1.0e+0
bl internal_pow
fmov d1, d0
ldrsw x0, [sp, 56]
lsl x0, x0, 3
add x1, sp, 72
ldr d0, [x1, x0]
fmul d8, d1, d0
ldr w0, [sp, 36]
sub w1, w0, #1
add x0, sp, 200
bl determinant
fmul d0, d8, d0
ldr d1, [sp, 64]
fadd d0, d1, d0
str d0, [sp, 64]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L380:
ldr w1, [sp, 56]
ldr w0, [sp, 36]
cmp w1, w0
blt .L389
.L377:
ldr d0, [sp, 64]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 328]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L391
bl __stack_chk_fail
.L391:
ldr d8, [sp, 16]
ldp x29, x30, [sp], 336
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE61:
.size fxp_determinant, .-fxp_determinant
.align 2
.global transpose
.type transpose, %function
transpose:
.LFB62:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str x1, [sp, 16]
str w2, [sp, 12]
str w3, [sp, 8]
str wzr, [sp, 40]
b .L394
.L397:
str wzr, [sp, 44]
b .L395
.L396:
ldrsw x0, [sp, 40]
lsl x0, x0, 5
ldr x1, [sp, 24]
add x1, x1, x0
ldrsw x0, [sp, 44]
lsl x0, x0, 5
ldr x2, [sp, 16]
add x0, x2, x0
ldrsw x2, [sp, 44]
ldr d0, [x1, x2, lsl 3]
ldrsw x1, [sp, 40]
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L395:
ldr w1, [sp, 44]
ldr w0, [sp, 8]
cmp w1, w0
blt .L396
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L394:
ldr w1, [sp, 40]
ldr w0, [sp, 12]
cmp w1, w0
blt .L397
nop
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE62:
.size transpose, .-transpose
.align 2
.global fxp_transpose
.type fxp_transpose, %function
fxp_transpose:
.LFB63:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str x1, [sp, 16]
str w2, [sp, 12]
str w3, [sp, 8]
str wzr, [sp, 40]
b .L399
.L402:
str wzr, [sp, 44]
b .L400
.L401:
ldrsw x0, [sp, 40]
lsl x0, x0, 5
ldr x1, [sp, 24]
add x1, x1, x0
ldrsw x0, [sp, 44]
lsl x0, x0, 5
ldr x2, [sp, 16]
add x0, x2, x0
ldrsw x2, [sp, 44]
ldr x2, [x1, x2, lsl 3]
ldrsw x1, [sp, 40]
str x2, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L400:
ldr w1, [sp, 44]
ldr w0, [sp, 8]
cmp w1, w0
blt .L401
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L399:
ldr w1, [sp, 40]
ldr w0, [sp, 12]
cmp w1, w0
blt .L402
nop
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE63:
.size fxp_transpose, .-fxp_transpose
.align 2
.global generic_timing_shift_l_double
.type generic_timing_shift_l_double, %function
generic_timing_shift_l_double:
.LFB64:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str d0, [sp, 24]
str x0, [sp, 16]
str w1, [sp, 12]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 24]
lsl w2, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 28]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 40]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 32]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 36]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
lsl w0, w0, 3
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr x0, [sp, 16]
ldr d0, [x0]
str d0, [sp, 40]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, w1
lsl w0, w0, 2
add w1, w0, w1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 84]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
lsl w0, w0, 2
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 92]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
lsl w1, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 80]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
str wzr, [sp, 36]
b .L404
.L405:
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, w1
lsl w0, w0, 4
add w1, w0, w1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 60]
lsl w0, w0, 2
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 64]
lsl w0, w0, 2
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 68]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 72]
lsl w0, w0, 1
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 84]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
lsl w0, w0, 1
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 92]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 124]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 52]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 88]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 100]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 104]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 128]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldrsw x0, [sp, 36]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 16]
add x1, x1, x0
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x2, [sp, 16]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L404:
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 36]
cmp w1, w0
blt .L405
ldrsw x0, [sp, 12]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 16]
add x0, x1, x0
ldr d0, [sp, 24]
str d0, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 2
mov w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 84]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 60]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 64]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 72]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 68]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 52]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 56]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 124]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 28]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 36]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 40]
mov w0, w1
lsl w0, w0, 1
add w1, w0, w1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 116]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 120]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr d0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE64:
.size generic_timing_shift_l_double, .-generic_timing_shift_l_double
.align 2
.global generic_timing_shift_r_double
.type generic_timing_shift_r_double, %function
generic_timing_shift_r_double:
.LFB65:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str d0, [sp, 24]
str x0, [sp, 16]
str w1, [sp, 12]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 24]
lsl w2, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 28]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 40]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 32]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 36]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
lsl w0, w0, 3
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldrsw x0, [sp, 12]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 16]
add x0, x1, x0
ldr d0, [x0]
str d0, [sp, 40]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, w1
lsl w0, w0, 3
sub w1, w0, w1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 64]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 60]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 84]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
lsl w0, w0, 2
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 68]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 72]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 92]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 52]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 56]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
add w0, w1, w0
lsl w1, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 32]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 80]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr w0, [sp, 12]
sub w0, w0, #1
str w0, [sp, 36]
b .L408
.L409:
ldrsw x0, [sp, 36]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 16]
add x1, x1, x0
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x2, [sp, 16]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, w1
lsl w0, w0, 4
sub w1, w0, w1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 60]
lsl w0, w0, 2
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 64]
lsl w0, w0, 2
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 68]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 72]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 84]
lsl w0, w0, 2
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 52]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 56]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 92]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 124]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 32]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 100]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 104]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 128]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L408:
ldr w0, [sp, 36]
cmp w0, 0
bgt .L409
ldr x0, [sp, 16]
ldr d0, [sp, 24]
str d0, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
mov w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 84]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 40]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 116]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 120]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 120]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 36]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 28]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 124]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr d0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE65:
.size generic_timing_shift_r_double, .-generic_timing_shift_r_double
.align 2
.global shiftL
.type shiftL, %function
shiftL:
.LFB66:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str x1, [sp, 16]
str w2, [sp, 12]
ldr x0, [sp, 16]
ldr x0, [x0]
str x0, [sp, 40]
str wzr, [sp, 36]
b .L412
.L413:
ldrsw x0, [sp, 36]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 16]
add x1, x1, x0
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x2, [sp, 16]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L412:
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 36]
cmp w1, w0
blt .L413
ldrsw x0, [sp, 12]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 16]
add x0, x1, x0
ldr x1, [sp, 24]
str x1, [x0]
ldr x0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE66:
.size shiftL, .-shiftL
.align 2
.global shiftR
.type shiftR, %function
shiftR:
.LFB67:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str x1, [sp, 16]
str w2, [sp, 12]
ldrsw x0, [sp, 12]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 16]
add x0, x1, x0
ldr x0, [x0]
str x0, [sp, 40]
ldr w0, [sp, 12]
sub w0, w0, #1
str w0, [sp, 36]
b .L416
.L417:
ldrsw x0, [sp, 36]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 16]
add x1, x1, x0
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x2, [sp, 16]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L416:
ldr w0, [sp, 36]
cmp w0, 0
bgt .L417
ldr x0, [sp, 16]
ldr x1, [sp, 24]
str x1, [x0]
ldr x0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE67:
.size shiftR, .-shiftR
.align 2
.global shiftLfloat
.type shiftLfloat, %function
shiftLfloat:
.LFB68:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
str x0, [sp]
str w1, [sp, 8]
ldr x0, [sp]
ldr s0, [x0]
str s0, [sp, 28]
str wzr, [sp, 24]
b .L420
.L421:
ldrsw x0, [sp, 24]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp]
add x1, x1, x0
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x2, [sp]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L420:
ldr w0, [sp, 8]
sub w0, w0, #1
ldr w1, [sp, 24]
cmp w1, w0
blt .L421
ldrsw x0, [sp, 8]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp]
add x0, x1, x0
ldr s0, [sp, 12]
str s0, [x0]
ldr s0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE68:
.size shiftLfloat, .-shiftLfloat
.align 2
.global shiftRfloat
.type shiftRfloat, %function
shiftRfloat:
.LFB69:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
str x0, [sp]
str w1, [sp, 8]
ldrsw x0, [sp, 8]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 28]
ldr w0, [sp, 8]
sub w0, w0, #1
str w0, [sp, 24]
b .L424
.L425:
ldrsw x0, [sp, 24]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp]
add x1, x1, x0
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x2, [sp]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
.L424:
ldr w0, [sp, 24]
cmp w0, 0
bgt .L425
ldr x0, [sp]
ldr s0, [sp, 12]
str s0, [x0]
ldr s0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE69:
.size shiftRfloat, .-shiftRfloat
.align 2
.global shiftRDdouble
.type shiftRDdouble, %function
shiftRDdouble:
.LFB70:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str d0, [sp, 24]
str x0, [sp, 16]
str w1, [sp, 12]
ldr x0, [sp, 16]
ldr d0, [x0]
str d0, [sp, 40]
str wzr, [sp, 36]
b .L428
.L429:
ldrsw x0, [sp, 36]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 16]
add x1, x1, x0
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x2, [sp, 16]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L428:
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 36]
cmp w1, w0
blt .L429
ldrsw x0, [sp, 12]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 16]
add x0, x1, x0
ldr d0, [sp, 24]
str d0, [x0]
ldr d0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE70:
.size shiftRDdouble, .-shiftRDdouble
.align 2
.global shiftRdouble
.type shiftRdouble, %function
shiftRdouble:
.LFB71:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str d0, [sp, 24]
str x0, [sp, 16]
str w1, [sp, 12]
ldrsw x0, [sp, 12]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 16]
add x0, x1, x0
ldr d0, [x0]
str d0, [sp, 40]
ldr w0, [sp, 12]
sub w0, w0, #1
str w0, [sp, 36]
b .L432
.L433:
ldrsw x0, [sp, 36]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 16]
add x1, x1, x0
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x2, [sp, 16]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L432:
ldr w0, [sp, 36]
cmp w0, 0
bgt .L433
ldr x0, [sp, 16]
ldr d0, [sp, 24]
str d0, [x0]
ldr d0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE71:
.size shiftRdouble, .-shiftRdouble
.align 2
.global shiftLDouble
.type shiftLDouble, %function
shiftLDouble:
.LFB72:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str d0, [sp, 24]
str x0, [sp, 16]
str w1, [sp, 12]
ldr x0, [sp, 16]
ldr d0, [x0]
str d0, [sp, 40]
str wzr, [sp, 36]
b .L436
.L437:
ldrsw x0, [sp, 36]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 16]
add x1, x1, x0
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x2, [sp, 16]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L436:
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 36]
cmp w1, w0
blt .L437
ldrsw x0, [sp, 12]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 16]
add x0, x1, x0
ldr d0, [sp, 24]
str d0, [x0]
ldr d0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE72:
.size shiftLDouble, .-shiftLDouble
.align 2
.global shiftLboth
.type shiftLboth, %function
shiftLboth:
.LFB73:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str s0, [sp, 28]
str x0, [sp, 16]
str x1, [sp, 8]
str x2, [sp]
str w3, [sp, 24]
ldr x0, [sp]
ldr x0, [x0]
str x0, [sp, 40]
ldr x0, [sp, 16]
ldr s0, [x0]
str s0, [sp, 36]
str wzr, [sp, 32]
b .L440
.L441:
ldrsw x0, [sp, 32]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp]
add x1, x1, x0
ldrsw x0, [sp, 32]
lsl x0, x0, 3
ldr x2, [sp]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldrsw x0, [sp, 32]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 16]
add x1, x1, x0
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x2, [sp, 16]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L440:
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 32]
cmp w1, w0
blt .L441
ldrsw x0, [sp, 24]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp]
add x0, x1, x0
ldr x1, [sp, 8]
str x1, [x0]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 16]
add x0, x1, x0
ldr s0, [sp, 28]
str s0, [x0]
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE73:
.size shiftLboth, .-shiftLboth
.align 2
.global shiftRboth
.type shiftRboth, %function
shiftRboth:
.LFB74:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str s0, [sp, 28]
str x0, [sp, 16]
str x1, [sp, 8]
str x2, [sp]
str w3, [sp, 24]
ldrsw x0, [sp, 24]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp]
add x0, x1, x0
ldr x0, [x0]
str x0, [sp, 40]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 16]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 36]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 32]
b .L443
.L444:
ldrsw x0, [sp, 32]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp]
add x1, x1, x0
ldrsw x0, [sp, 32]
lsl x0, x0, 3
ldr x2, [sp]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldrsw x0, [sp, 32]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 16]
add x1, x1, x0
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x2, [sp, 16]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 32]
sub w0, w0, #1
str w0, [sp, 32]
.L443:
ldr w0, [sp, 32]
cmp w0, 0
bgt .L444
ldr x0, [sp]
ldr x1, [sp, 8]
str x1, [x0]
ldr x0, [sp, 16]
ldr s0, [sp, 28]
str s0, [x0]
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE74:
.size shiftRboth, .-shiftRboth
.align 2
.global order
.type order, %function
order:
.LFB75:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
ldr w1, [sp, 12]
ldr w0, [sp, 8]
cmp w1, w0
ble .L446
ldr w0, [sp, 12]
sub w0, w0, #1
b .L448
.L446:
ldr w0, [sp, 8]
sub w0, w0, #1
.L448:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE75:
.size order, .-order
.align 2
.global fxp_check_limit_cycle
.type fxp_check_limit_cycle, %function
fxp_check_limit_cycle:
.LFB76:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
ldrsw x0, [sp, 20]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr x0, [x0]
str x0, [sp, 56]
str wzr, [sp, 36]
mov w0, 1
str w0, [sp, 40]
ldr w0, [sp, 20]
sub w0, w0, #2
str w0, [sp, 36]
b .L450
.L454:
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x0, [x0]
ldr x1, [sp, 56]
cmp x1, x0
beq .L461
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L450:
ldr w0, [sp, 36]
cmp w0, 0
bge .L454
b .L453
.L461:
nop
.L453:
ldr w1, [sp, 40]
ldr w0, [sp, 20]
cmp w1, w0
beq .L455
ldr w0, [sp, 40]
cmp w0, 1
beq .L455
mov w0, 1
b .L456
.L455:
mov w0, 0
.L456:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr w1, [sp, 40]
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl printf
ldr w0, [sp, 40]
lsl w0, w0, 1
str w0, [sp, 48]
str wzr, [sp, 44]
ldr w0, [sp, 20]
sub w0, w0, #1
str w0, [sp, 36]
b .L457
.L460:
ldr w1, [sp, 20]
ldr w0, [sp, 40]
sub w0, w1, w0
ldr w1, [sp, 36]
cmp w1, w0
blt .L458
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x3, [x0]
ldr w1, [sp, 36]
ldr w0, [sp, 40]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x0, [x0]
mov x2, x0
mov x1, x3
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl printf
ldr w1, [sp, 36]
ldr w0, [sp, 40]
sub w0, w1, w0
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
ble .L459
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [x0]
ldr w2, [sp, 36]
ldr w0, [sp, 40]
sub w0, w2, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x2, [sp, 24]
add x0, x2, x0
ldr x0, [x0]
cmp x1, x0
bne .L459
ldr w0, [sp, 44]
add w0, w0, 2
str w0, [sp, 44]
.L458:
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L457:
ldr w0, [sp, 36]
cmp w0, 0
bge .L460
.L459:
ldr w0, [sp, 44]
cmp w0, 0
cset w0, gt
and w0, w0, 255
bl __DSVERIFIER_assume
ldr w1, [sp, 48]
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl printf
ldr w1, [sp, 44]
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl printf
ldr w1, [sp, 44]
ldr w0, [sp, 48]
cmp w1, w0
cset w0, eq
and w0, w0, 255
bl __DSVERIFIER_assume
mov w0, 0
bl __DSVERIFIER_assert
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE76:
.size fxp_check_limit_cycle, .-fxp_check_limit_cycle
.align 2
.global fxp_check_persistent_limit_cycle
.type fxp_check_persistent_limit_cycle, %function
fxp_check_persistent_limit_cycle:
.LFB77:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
str x27, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -160
.cfi_offset 20, -152
.cfi_offset 21, -144
.cfi_offset 22, -136
.cfi_offset 23, -128
.cfi_offset 24, -120
.cfi_offset 25, -112
.cfi_offset 26, -104
.cfi_offset 27, -96
str x0, [x29, 104]
str w1, [x29, 100]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 168]
mov x1, 0
mov x0, sp
mov x19, x0
str wzr, [x29, 128]
str wzr, [x29, 132]
str wzr, [x29, 136]
ldr x0, [x29, 104]
ldr x0, [x0]
str x0, [x29, 144]
str wzr, [x29, 128]
b .L463
.L468:
ldrsw x0, [x29, 128]
lsl x0, x0, 3
ldr x1, [x29, 104]
add x0, x1, x0
ldr x0, [x0]
ldr x1, [x29, 144]
cmp x1, x0
beq .L464
ldr w0, [x29, 136]
add w0, w0, 1
str w0, [x29, 136]
b .L465
.L464:
ldr w0, [x29, 136]
cmp w0, 0
bne .L484
ldr w0, [x29, 132]
add w0, w0, 1
str w0, [x29, 132]
.L465:
ldr w0, [x29, 128]
add w0, w0, 1
str w0, [x29, 128]
.L463:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L468
b .L467
.L484:
nop
.L467:
ldr w1, [x29, 136]
ldr w0, [x29, 132]
add w0, w1, w0
str w0, [x29, 136]
ldr w0, [x29, 136]
cmp w0, 1
ble .L469
ldr w0, [x29, 100]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
mov w1, w0
ldr w0, [x29, 136]
cmp w0, w1
bgt .L469
mov w0, 1
b .L470
.L469:
mov w0, 0
.L470:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr w0, [x29, 136]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 152]
sxtw x1, w0
mov x26, x1
mov x27, 0
lsr x1, x26, 58
lsl x23, x27, 6
orr x23, x1, x23
lsl x22, x26, 6
sxtw x1, w0
mov x24, x1
mov x25, 0
lsr x1, x24, 58
lsl x21, x25, 6
orr x21, x1, x21
lsl x20, x24, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L471:
cmp sp, x1
beq .L472
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L471
.L472:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L473
str xzr, [sp, 1024]
.L473:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 160]
str wzr, [x29, 128]
b .L474
.L476:
ldr w1, [x29, 128]
ldr w0, [x29, 136]
cmp w1, w0
bge .L475
ldrsw x0, [x29, 128]
lsl x0, x0, 3
ldr x1, [x29, 104]
add x0, x1, x0
ldr x2, [x0]
ldr x0, [x29, 160]
ldrsw x1, [x29, 128]
str x2, [x0, x1, lsl 3]
.L475:
ldr w0, [x29, 128]
add w0, w0, 1
str w0, [x29, 128]
.L474:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L476
str wzr, [x29, 128]
str wzr, [x29, 140]
strb wzr, [x29, 127]
b .L477
.L481:
ldr w0, [x29, 128]
add w1, w0, 1
str w1, [x29, 128]
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [x29, 104]
add x0, x1, x0
ldr x1, [x0]
ldr w0, [x29, 140]
add w2, w0, 1
str w2, [x29, 140]
ldr x2, [x29, 160]
sxtw x0, w0
ldr x0, [x2, x0, lsl 3]
cmp x1, x0
bne .L478
mov w0, 1
strb w0, [x29, 127]
ldr w1, [x29, 140]
ldr w0, [x29, 136]
cmp w1, w0
bne .L477
b .L483
.L478:
strb wzr, [x29, 127]
b .L480
.L483:
str wzr, [x29, 140]
.L477:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L481
.L480:
ldrb w0, [x29, 127]
cmp w0, 0
cset w0, ne
and w0, w0, 255
eor w0, w0, 1
and w0, w0, 255
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assert
mov sp, x19
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 168]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L482
bl __stack_chk_fail
.L482:
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldr x27, [sp, 80]
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE77:
.size fxp_check_persistent_limit_cycle, .-fxp_check_persistent_limit_cycle
.align 2
.global fxp_check_oscillations
.type fxp_check_oscillations, %function
fxp_check_oscillations:
.LFB78:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
ldr x0, [sp, 24]
ldr x1, [x0]
ldrsw x0, [sp, 20]
lsl x0, x0, 3
sub x0, x0, #8
ldr x2, [sp, 24]
add x0, x2, x0
ldr x0, [x0]
cmp x1, x0
beq .L486
ldrsw x0, [sp, 20]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 20]
lsl x0, x0, 3
sub x0, x0, #16
ldr x2, [sp, 24]
add x0, x2, x0
ldr x0, [x0]
cmp x1, x0
beq .L486
mov w0, 1
b .L487
.L486:
mov w0, 0
.L487:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
str wzr, [sp, 40]
str wzr, [sp, 44]
mov w0, 2
str w0, [sp, 48]
b .L488
.L495:
ldr w0, [sp, 48]
str w0, [sp, 56]
str wzr, [sp, 52]
b .L489
.L494:
ldr w1, [sp, 40]
ldr w0, [sp, 56]
cmp w1, w0
ble .L490
str wzr, [sp, 40]
str wzr, [sp, 44]
.L490:
ldr w1, [sp, 52]
ldr w0, [sp, 56]
add w0, w1, w0
str w0, [sp, 60]
ldr w1, [sp, 60]
ldr w0, [sp, 20]
cmp w1, w0
bge .L496
ldrsw x0, [sp, 52]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x2, [sp, 24]
add x0, x2, x0
ldr x0, [x0]
cmp x1, x0
bne .L492
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w1, [sp, 44]
ldr w0, [sp, 56]
cmp w1, w0
cset w0, ne
and w0, w0, 255
bl __DSVERIFIER_assert
.L492:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L489:
ldr w1, [sp, 52]
ldr w0, [sp, 20]
cmp w1, w0
blt .L494
b .L493
.L496:
nop
.L493:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L488:
ldr w1, [sp, 48]
ldr w0, [sp, 20]
cmp w1, w0
blt .L495
nop
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE78:
.size fxp_check_oscillations, .-fxp_check_oscillations
.align 2
.global fxp_ln
.type fxp_ln, %function
fxp_ln:
.LFB79:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, 26031
movk w0, 0xa, lsl 16
str w0, [sp, 24]
ldr w1, [sp, 12]
mov w0, 32767
cmp w1, w0
bgt .L498
ldr w0, [sp, 12]
lsl w0, w0, 16
str w0, [sp, 12]
ldr w1, [sp, 24]
mov w0, 59615
movk w0, 0xfff4, lsl 16
add w0, w1, w0
str w0, [sp, 24]
.L498:
ldr w1, [sp, 12]
mov w0, 8388607
cmp w1, w0
bgt .L499
ldr w0, [sp, 12]
lsl w0, w0, 8
str w0, [sp, 12]
ldr w1, [sp, 24]
mov w0, 29807
movk w0, 0xfffa, lsl 16
add w0, w1, w0
str w0, [sp, 24]
.L499:
ldr w1, [sp, 12]
mov w0, 134217727
cmp w1, w0
bgt .L500
ldr w0, [sp, 12]
lsl w0, w0, 4
str w0, [sp, 12]
ldr w1, [sp, 24]
mov w0, 14904
movk w0, 0xfffd, lsl 16
add w0, w1, w0
str w0, [sp, 24]
.L500:
ldr w1, [sp, 12]
mov w0, 536870911
cmp w1, w0
bgt .L501
ldr w0, [sp, 12]
lsl w0, w0, 2
str w0, [sp, 12]
ldr w1, [sp, 24]
mov w0, 40220
movk w0, 0xfffe, lsl 16
add w0, w1, w0
str w0, [sp, 24]
.L501:
ldr w1, [sp, 12]
mov w0, 1073741823
cmp w1, w0
bgt .L502
ldr w0, [sp, 12]
lsl w0, w0, 1
str w0, [sp, 12]
ldr w1, [sp, 24]
mov w0, -45426
add w0, w1, w0
str w0, [sp, 24]
.L502:
ldr w0, [sp, 12]
asr w0, w0, 1
ldr w1, [sp, 12]
add w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
blt .L503
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w1, [sp, 24]
mov w0, -26573
add w0, w1, w0
str w0, [sp, 24]
.L503:
ldr w0, [sp, 12]
asr w0, w0, 2
ldr w1, [sp, 12]
add w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
blt .L504
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w1, [sp, 24]
mov w0, -14624
add w0, w1, w0
str w0, [sp, 24]
.L504:
ldr w0, [sp, 12]
asr w0, w0, 3
ldr w1, [sp, 12]
add w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
blt .L505
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w1, [sp, 24]
mov w0, -7719
add w0, w1, w0
str w0, [sp, 24]
.L505:
ldr w0, [sp, 12]
asr w0, w0, 4
ldr w1, [sp, 12]
add w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
blt .L506
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w0, [sp, 24]
sub w0, w0, #3973
str w0, [sp, 24]
.L506:
ldr w0, [sp, 12]
asr w0, w0, 5
ldr w1, [sp, 12]
add w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
blt .L507
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w0, [sp, 24]
sub w0, w0, #2017
str w0, [sp, 24]
.L507:
ldr w0, [sp, 12]
asr w0, w0, 6
ldr w1, [sp, 12]
add w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
blt .L508
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w0, [sp, 24]
sub w0, w0, #1016
str w0, [sp, 24]
.L508:
ldr w0, [sp, 12]
asr w0, w0, 7
ldr w1, [sp, 12]
add w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
blt .L509
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w0, [sp, 24]
sub w0, w0, #510
str w0, [sp, 24]
.L509:
ldr w0, [sp, 12]
mov w1, -2147483648
sub w0, w1, w0
str w0, [sp, 12]
ldr w0, [sp, 12]
asr w0, w0, 15
ldr w1, [sp, 24]
sub w0, w1, w0
str w0, [sp, 24]
ldr w0, [sp, 24]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE79:
.size fxp_ln, .-fxp_ln
.align 2
.global fxp_log10_low
.type fxp_log10_low, %function
fxp_log10_low:
.LFB80:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str d0, [sp, 24]
ldr d0, [sp, 24]
mov x0, 4679240012837945344
fmov d1, x0
fmul d1, d0, d1
fmov d0, 5.0e-1
fadd d0, d1, d0
fcvtzs w0, d0
str w0, [sp, 36]
ldr w0, [sp, 36]
bl fxp_ln
str w0, [sp, 40]
mov w0, 655360
bl fxp_ln
str w0, [sp, 44]
ldr w0, [sp, 40]
scvtf d1, w0
ldr w0, [sp, 44]
scvtf d0, w0
fdiv d0, d1, d0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE80:
.size fxp_log10_low, .-fxp_log10_low
.align 2
.global fxp_log10
.type fxp_log10, %function
fxp_log10:
.LFB81:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str d0, [sp, 24]
ldr d0, [sp, 24]
mov x0, 281200098803712
movk x0, 0x40df, lsl 48
fmov d1, x0
fcmpe d0, d1
bgt .L519
b .L521
.L519:
ldr d0, [sp, 24]
adrp x0, .LC22
ldr d1, [x0, #:lo12:.LC22]
fcmpe d0, d1
bgt .L520
b .L522
.L520:
adrp x0, .LC22
ldr d1, [x0, #:lo12:.LC22]
ldr d0, [sp, 24]
fdiv d0, d0, d1
str d0, [sp, 24]
ldr d0, [sp, 24]
bl fxp_log10_low
adrp x0, .LC23
ldr d1, [x0, #:lo12:.LC23]
fadd d0, d0, d1
b .L518
.L522:
mov x0, 281200098803712
movk x0, 0x40df, lsl 48
fmov d1, x0
ldr d0, [sp, 24]
fdiv d0, d0, d1
str d0, [sp, 24]
ldr d0, [sp, 24]
bl fxp_log10_low
adrp x0, .LC24
ldr d1, [x0, #:lo12:.LC24]
fadd d0, d0, d1
b .L518
.L521:
ldr d0, [sp, 24]
bl fxp_log10_low
.L518:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE81:
.size fxp_log10, .-fxp_log10
.section .rodata
.align 3
.LC25:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/functions.h"
.align 3
.LC26:
.string "sv >= nv"
.text
.align 2
.global snrVariance
.type snrVariance, %function
snrVariance:
.LFB82:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
str xzr, [sp, 56]
str xzr, [sp, 64]
str xzr, [sp, 72]
str xzr, [sp, 80]
str wzr, [sp, 52]
b .L524
.L525:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s0, [x0]
fcvt d0, s0
ldr d1, [sp, 56]
fadd d0, d1, d0
str d0, [sp, 56]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr s0, [x0]
fcvt d0, s0
ldr d1, [sp, 64]
fadd d0, d1, d0
str d0, [sp, 64]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L524:
ldr w1, [sp, 52]
ldr w0, [sp, 28]
cmp w1, w0
blt .L525
ldr w0, [sp, 28]
scvtf d0, w0
ldr d1, [sp, 56]
fdiv d0, d1, d0
str d0, [sp, 56]
ldr w0, [sp, 28]
scvtf d0, w0
ldr d1, [sp, 64]
fdiv d0, d1, d0
str d0, [sp, 64]
str wzr, [sp, 52]
b .L526
.L527:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s0, [x0]
fcvt d1, s0
ldr d0, [sp, 56]
fsub d1, d1, d0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s0, [x0]
fcvt d2, s0
ldr d0, [sp, 56]
fsub d0, d2, d0
fmul d0, d1, d0
ldr d1, [sp, 72]
fadd d0, d1, d0
str d0, [sp, 72]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr s0, [x0]
fcvt d1, s0
ldr d0, [sp, 64]
fsub d1, d1, d0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr s0, [x0]
fcvt d2, s0
ldr d0, [sp, 64]
fsub d0, d2, d0
fmul d0, d1, d0
ldr d1, [sp, 80]
fadd d0, d1, d0
str d0, [sp, 80]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L526:
ldr w1, [sp, 52]
ldr w0, [sp, 28]
cmp w1, w0
blt .L527
ldr d0, [sp, 80]
fcmp d0, #0.0
beq .L528
ldr d1, [sp, 72]
ldr d0, [sp, 80]
fcmpe d1, d0
bge .L529
adrp x0, __PRETTY_FUNCTION__.18
add x3, x0, :lo12:__PRETTY_FUNCTION__.18
mov w2, 373
adrp x0, .LC25
add x1, x0, :lo12:.LC25
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl __assert_fail
.L529:
ldr d0, [sp, 80]
ldr d1, [sp, 72]
fdiv d0, d1, d0
str d0, [sp, 88]
ldr d0, [sp, 88]
fcvt s0, d0
b .L530
.L528:
mov w0, 16282
movk w0, 0x461c, lsl 16
fmov s0, w0
.L530:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE82:
.size snrVariance, .-snrVariance
.align 2
.global snrPower
.type snrPower, %function
snrPower:
.LFB83:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
str xzr, [sp, 56]
str xzr, [sp, 64]
str wzr, [sp, 52]
b .L532
.L533:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s1, s0
fcvt d0, s0
ldr d1, [sp, 56]
fadd d0, d1, d0
str d0, [sp, 56]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s1, s0
fcvt d0, s0
ldr d1, [sp, 64]
fadd d0, d1, d0
str d0, [sp, 64]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L532:
ldr w1, [sp, 52]
ldr w0, [sp, 28]
cmp w1, w0
blt .L533
ldr d0, [sp, 64]
fcmp d0, #0.0
beq .L534
ldr d1, [sp, 56]
ldr d0, [sp, 64]
fcmpe d1, d0
bge .L535
adrp x0, __PRETTY_FUNCTION__.17
add x3, x0, :lo12:__PRETTY_FUNCTION__.17
mov w2, 394
adrp x0, .LC25
add x1, x0, :lo12:.LC25
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl __assert_fail
.L535:
ldr d0, [sp, 64]
ldr d1, [sp, 56]
fdiv d0, d1, d0
str d0, [sp, 72]
ldr d0, [sp, 72]
fcvt s0, d0
b .L536
.L534:
mov w0, 16282
movk w0, 0x461c, lsl 16
fmov s0, w0
.L536:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE83:
.size snrPower, .-snrPower
.section .rodata
.align 3
.LC27:
.string "power >= 1.0f"
.text
.align 2
.global snrPoint
.type snrPoint, %function
snrPoint:
.LFB84:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
str xzr, [sp, 64]
str xzr, [sp, 72]
str wzr, [sp, 60]
b .L538
.L544:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr s0, [x0]
fcmp s0, #0.0
beq .L546
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr s0, [x0]
fdiv s0, s1, s0
fcvt d0, s0
str d0, [sp, 64]
ldr d0, [sp, 64]
mov x0, 211106232532992
movk x0, 0x4062, lsl 48
fmov d1, x0
fcmpe d0, d1
bgt .L547
ldr d0, [sp, 64]
mov x0, 211106232532992
movk x0, 0xc062, lsl 48
fmov d1, x0
fcmpe d0, d1
bmi .L547
ldr d0, [sp, 64]
fmul d0, d0, d0
str d0, [sp, 72]
ldr d1, [sp, 72]
fmov d0, 1.0e+0
fcmpe d1, d0
bge .L540
adrp x0, __PRETTY_FUNCTION__.16
add x3, x0, :lo12:__PRETTY_FUNCTION__.16
mov w2, 412
adrp x0, .LC25
add x1, x0, :lo12:.LC25
adrp x0, .LC27
add x0, x0, :lo12:.LC27
bl __assert_fail
.L546:
nop
b .L540
.L547:
nop
.L540:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L538:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
blt .L544
mov w0, 16282
movk w0, 0x461c, lsl 16
fmov s0, w0
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE84:
.size snrPoint, .-snrPoint
.global next
.data
.align 3
.type next, %object
.size next, 8
next:
.xword 1
.text
.align 2
.global rand
.type rand, %function
rand:
.LFB85:
.cfi_startproc
adrp x0, next
add x0, x0, :lo12:next
ldr x1, [x0]
mov x0, 20077
movk x0, 0x41c6, lsl 16
mul x1, x1, x0
mov x0, 12345
add x1, x1, x0
adrp x0, next
add x0, x0, :lo12:next
str x1, [x0]
adrp x0, next
add x0, x0, :lo12:next
ldr x0, [x0]
lsr x0, x0, 16
and w0, w0, 32767
ret
.cfi_endproc
.LFE85:
.size rand, .-rand
.align 2
.global srand
.type srand, %function
srand:
.LFB86:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w1, [sp, 12]
adrp x0, next
add x0, x0, :lo12:next
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE86:
.size srand, .-srand
.section .rodata
.align 3
.LC28:
.string "(double)timer1*CYCLE <= (double)DEADLINE"
.text
.align 2
.global iirIIOutTime
.type iirIIOutTime, %function
iirIIOutTime:
.LFB87:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 56]
str s0, [sp, 52]
str x1, [sp, 40]
str x2, [sp, 32]
str w3, [sp, 48]
str w4, [sp, 28]
str wzr, [sp, 72]
str wzr, [sp, 76]
ldr x0, [sp, 40]
add x0, x0, 4
str x0, [sp, 88]
ldr x0, [sp, 32]
str x0, [sp, 96]
ldr x0, [sp, 56]
add x0, x0, 4
str x0, [sp, 104]
ldr w0, [sp, 72]
add w0, w0, 71
str w0, [sp, 72]
mov w0, 1
str w0, [sp, 84]
b .L552
.L553:
ldr x0, [sp, 88]
add x1, x0, 4
str x1, [sp, 88]
ldr s1, [x0]
ldr x0, [sp, 104]
add x1, x0, 4
str x1, [sp, 104]
ldr s0, [x0]
fmul s0, s1, s0
ldr x0, [sp, 56]
ldr s1, [x0]
fsub s0, s1, s0
ldr x0, [sp, 56]
str s0, [x0]
ldr w0, [sp, 72]
add w0, w0, 54
str w0, [sp, 72]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L552:
ldr w1, [sp, 84]
ldr w0, [sp, 48]
cmp w1, w0
blt .L553
ldr x0, [sp, 56]
ldr s1, [x0]
ldr s0, [sp, 52]
fadd s0, s1, s0
ldr x0, [sp, 56]
str s0, [x0]
ldr x0, [sp, 56]
str x0, [sp, 104]
str wzr, [sp, 80]
b .L554
.L555:
ldr x0, [sp, 96]
add x1, x0, 4
str x1, [sp, 96]
ldr s1, [x0]
ldr x0, [sp, 104]
add x1, x0, 4
str x1, [sp, 104]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 76]
fadd s0, s1, s0
str s0, [sp, 76]
ldr w0, [sp, 72]
add w0, w0, 46
str w0, [sp, 72]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L554:
ldr w1, [sp, 80]
ldr w0, [sp, 28]
cmp w1, w0
blt .L555
ldr w0, [sp, 72]
add w0, w0, 38
str w0, [sp, 72]
ldr w0, [sp, 72]
scvtf d0, w0
mov x0, 145685290680320
movk x0, 0x416e, lsl 48
fmov d1, x0
fdiv d0, d0, d1
adrp x0, .LC29
ldr d1, [x0, #:lo12:.LC29]
fcmpe d0, d1
bls .L556
adrp x0, __PRETTY_FUNCTION__.15
add x3, x0, :lo12:__PRETTY_FUNCTION__.15
mov w2, 450
adrp x0, .LC25
add x1, x0, :lo12:.LC25
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl __assert_fail
.L556:
ldr s0, [sp, 76]
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE87:
.size iirIIOutTime, .-iirIIOutTime
.align 2
.global iirIItOutTime
.type iirIItOutTime, %function
iirIItOutTime:
.LFB88:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 56]
str s0, [sp, 52]
str x1, [sp, 40]
str x2, [sp, 32]
str w3, [sp, 48]
str w4, [sp, 28]
str wzr, [sp, 64]
str wzr, [sp, 72]
ldr x0, [sp, 40]
add x0, x0, 4
str x0, [sp, 80]
ldr x0, [sp, 32]
str x0, [sp, 88]
ldr w0, [sp, 48]
ldr w2, [sp, 28]
ldr w1, [sp, 28]
cmp w2, w0
csel w0, w1, w0, ge
str w0, [sp, 76]
ldr x0, [sp, 88]
add x1, x0, 4
str x1, [sp, 88]
ldr s1, [x0]
ldr s0, [sp, 52]
fmul s1, s1, s0
ldr x0, [sp, 56]
ldr s0, [x0]
fadd s0, s1, s0
str s0, [sp, 72]
ldr w0, [sp, 64]
add w0, w0, 105
str w0, [sp, 64]
str wzr, [sp, 68]
b .L559
.L562:
ldrsw x0, [sp, 68]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 56]
add x1, x1, x0
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x2, [sp, 56]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 48]
sub w0, w0, #1
ldr w1, [sp, 68]
cmp w1, w0
bge .L560
ldr x0, [sp, 80]
add x1, x0, 4
str x1, [sp, 80]
ldr s1, [x0]
ldr s0, [sp, 72]
fmul s0, s1, s0
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
fsub s0, s1, s0
str s0, [x0]
ldr w0, [sp, 64]
add w0, w0, 41
str w0, [sp, 64]
.L560:
ldr w0, [sp, 28]
sub w0, w0, #1
ldr w1, [sp, 68]
cmp w1, w0
bge .L561
ldr x0, [sp, 88]
add x1, x0, 4
str x1, [sp, 88]
ldr s1, [x0]
ldr s0, [sp, 52]
fmul s1, s1, s0
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr s0, [x0]
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
fadd s0, s1, s0
str s0, [x0]
ldr w0, [sp, 64]
add w0, w0, 38
str w0, [sp, 64]
.L561:
ldr w0, [sp, 64]
add w0, w0, 54
str w0, [sp, 64]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L559:
ldr w0, [sp, 76]
sub w0, w0, #1
ldr w1, [sp, 68]
cmp w1, w0
blt .L562
ldr w0, [sp, 64]
add w0, w0, 7
str w0, [sp, 64]
ldr w0, [sp, 64]
scvtf d0, w0
mov x0, 145685290680320
movk x0, 0x416e, lsl 48
fmov d1, x0
fdiv d0, d0, d1
adrp x0, .LC29
ldr d1, [x0, #:lo12:.LC29]
fcmpe d0, d1
bls .L563
adrp x0, __PRETTY_FUNCTION__.14
add x3, x0, :lo12:__PRETTY_FUNCTION__.14
mov w2, 477
adrp x0, .LC25
add x1, x0, :lo12:.LC25
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl __assert_fail
.L563:
ldr s0, [sp, 72]
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE88:
.size iirIItOutTime, .-iirIItOutTime
.align 2
.global iirIItOutTime_double
.type iirIItOutTime_double, %function
iirIItOutTime_double:
.LFB89:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 56]
str d0, [sp, 48]
str x1, [sp, 40]
str x2, [sp, 32]
str w3, [sp, 28]
str w4, [sp, 24]
str wzr, [sp, 76]
str xzr, [sp, 104]
ldr x0, [sp, 40]
add x0, x0, 8
str x0, [sp, 88]
ldr x0, [sp, 32]
str x0, [sp, 96]
ldr w0, [sp, 28]
ldr w2, [sp, 24]
ldr w1, [sp, 24]
cmp w2, w0
csel w0, w1, w0, ge
str w0, [sp, 84]
ldr x0, [sp, 96]
add x1, x0, 8
str x1, [sp, 96]
ldr d1, [x0]
ldr d0, [sp, 48]
fmul d1, d1, d0
ldr x0, [sp, 56]
ldr d0, [x0]
fadd d0, d1, d0
str d0, [sp, 104]
ldr w0, [sp, 76]
add w0, w0, 105
str w0, [sp, 76]
str wzr, [sp, 80]
b .L566
.L569:
ldrsw x0, [sp, 80]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 56]
add x1, x1, x0
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x2, [sp, 56]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w0, [sp, 28]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
bge .L567
ldr x0, [sp, 88]
add x1, x0, 8
str x1, [sp, 88]
ldr d1, [x0]
ldr d0, [sp, 104]
fmul d0, d1, d0
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
fsub d0, d1, d0
str d0, [x0]
ldr w0, [sp, 76]
add w0, w0, 41
str w0, [sp, 76]
.L567:
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
bge .L568
ldr x0, [sp, 96]
add x1, x0, 8
str x1, [sp, 96]
ldr d1, [x0]
ldr d0, [sp, 48]
fmul d1, d1, d0
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 76]
add w0, w0, 38
str w0, [sp, 76]
.L568:
ldr w0, [sp, 76]
add w0, w0, 54
str w0, [sp, 76]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L566:
ldr w0, [sp, 84]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
blt .L569
ldr w0, [sp, 76]
add w0, w0, 7
str w0, [sp, 76]
ldr w0, [sp, 76]
scvtf d0, w0
mov x0, 145685290680320
movk x0, 0x416e, lsl 48
fmov d1, x0
fdiv d0, d0, d1
adrp x0, .LC29
ldr d1, [x0, #:lo12:.LC29]
fcmpe d0, d1
bls .L570
adrp x0, __PRETTY_FUNCTION__.13
add x3, x0, :lo12:__PRETTY_FUNCTION__.13
mov w2, 504
adrp x0, .LC25
add x1, x0, :lo12:.LC25
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl __assert_fail
.L570:
ldr d0, [sp, 104]
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE89:
.size iirIItOutTime_double, .-iirIItOutTime_double
.align 2
.global iirOutBoth
.type iirOutBoth, %function
iirOutBoth:
.LFB90:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
str x0, [sp, 72]
str x1, [sp, 64]
str x2, [sp, 56]
str x3, [sp, 48]
str x4, [sp, 40]
str x5, [sp, 32]
str x6, [sp, 24]
str x7, [sp, 16]
str xzr, [sp, 168]
str wzr, [sp, 92]
ldr x0, [sp, 16]
add x0, x0, 8
str x0, [sp, 104]
ldrsw x0, [sp, 192]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 112]
ldr x0, [sp, 176]
str x0, [sp, 120]
ldrsw x0, [sp, 200]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
str x0, [sp, 128]
ldr x0, [sp, 56]
add x0, x0, 4
str x0, [sp, 136]
ldrsw x0, [sp, 192]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 72]
add x0, x1, x0
str x0, [sp, 144]
ldr x0, [sp, 48]
str x0, [sp, 152]
ldrsw x0, [sp, 200]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 64]
add x0, x1, x0
str x0, [sp, 160]
str wzr, [sp, 96]
b .L573
.L574:
ldr x0, [sp, 120]
add x1, x0, 8
str x1, [sp, 120]
ldr x2, [x0]
ldr x0, [sp, 128]
sub x1, x0, #8
str x1, [sp, 128]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 168]
bl fxp_add
str x0, [sp, 168]
ldr x0, [sp, 152]
add x1, x0, 4
str x1, [sp, 152]
ldr s1, [x0]
ldr x0, [sp, 160]
sub x1, x0, #4
str x1, [sp, 160]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 92]
fadd s0, s1, s0
str s0, [sp, 92]
ldr w0, [sp, 96]
add w0, w0, 1
str w0, [sp, 96]
.L573:
ldr w1, [sp, 96]
ldr w0, [sp, 200]
cmp w1, w0
blt .L574
mov w0, 1
str w0, [sp, 100]
b .L575
.L576:
ldr x0, [sp, 104]
add x1, x0, 8
str x1, [sp, 104]
ldr x2, [x0]
ldr x0, [sp, 112]
sub x1, x0, #8
str x1, [sp, 112]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 168]
bl fxp_sub
str x0, [sp, 168]
ldr x0, [sp, 136]
add x1, x0, 4
str x1, [sp, 136]
ldr s1, [x0]
ldr x0, [sp, 144]
sub x1, x0, #4
str x1, [sp, 144]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 92]
fsub s0, s1, s0
str s0, [sp, 92]
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
.L575:
ldr w1, [sp, 100]
ldr w0, [sp, 192]
cmp w1, w0
blt .L576
ldr x0, [sp, 184]
ldr x1, [sp, 168]
str x1, [x0]
ldr x0, [sp, 40]
ldr s0, [sp, 92]
str s0, [x0]
nop
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE90:
.size iirOutBoth, .-iirOutBoth
.align 2
.global iirOutFixedL
.type iirOutFixedL, %function
iirOutFixedL:
.LFB91:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str x4, [sp, 24]
str w5, [sp, 20]
str w6, [sp, 16]
str xzr, [sp, 104]
ldrsw x0, [sp, 20]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 72]
ldr x0, [sp, 56]
add x0, x0, 8
str x0, [sp, 80]
ldrsw x0, [sp, 16]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
str x0, [sp, 88]
ldr x0, [sp, 48]
str x0, [sp, 96]
str wzr, [sp, 64]
b .L578
.L579:
ldrsw x0, [sp, 64]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 48]
add x1, x1, x0
ldrsw x0, [sp, 64]
lsl x0, x0, 3
ldr x2, [sp, 48]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldr x0, [sp, 88]
sub x1, x0, #8
str x1, [sp, 88]
ldr x2, [x0]
ldr x0, [sp, 96]
add x1, x0, 8
str x1, [sp, 96]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 104]
bl fxp_add
str x0, [sp, 104]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L578:
ldr w0, [sp, 16]
sub w0, w0, #1
ldr w1, [sp, 64]
cmp w1, w0
blt .L579
ldrsw x0, [sp, 16]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 48]
add x0, x1, x0
ldr x1, [sp, 40]
str x1, [x0]
ldr x0, [sp, 88]
sub x1, x0, #8
str x1, [sp, 88]
ldr x2, [x0]
ldr x0, [sp, 96]
add x1, x0, 8
str x1, [sp, 96]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 104]
bl fxp_add
str x0, [sp, 104]
mov w0, 1
str w0, [sp, 68]
b .L580
.L581:
ldr x0, [sp, 72]
sub x1, x0, #8
str x1, [sp, 72]
ldr x2, [x0]
ldr x0, [sp, 80]
add x1, x0, 8
str x1, [sp, 80]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 104]
bl fxp_sub
str x0, [sp, 104]
ldrsw x0, [sp, 68]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 56]
add x1, x1, x0
ldrsw x0, [sp, 68]
lsl x0, x0, 3
ldr x2, [sp, 56]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L580:
ldr w0, [sp, 20]
sub w0, w0, #1
ldr w1, [sp, 68]
cmp w1, w0
blt .L581
ldr w0, [sp, 20]
cmp w0, 1
ble .L582
ldr x0, [sp, 72]
sub x1, x0, #8
str x1, [sp, 72]
ldr x2, [x0]
ldr x0, [sp, 80]
add x1, x0, 8
str x1, [sp, 80]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 104]
bl fxp_sub
str x0, [sp, 104]
.L582:
ldrsw x0, [sp, 20]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 56]
add x0, x1, x0
ldr x1, [sp, 104]
str x1, [x0]
ldr x0, [sp, 104]
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE91:
.size iirOutFixedL, .-iirOutFixedL
.align 2
.global iirOutFloatL
.type iirOutFloatL, %function
iirOutFloatL:
.LFB92:
.cfi_startproc
sub sp, sp, #96
.cfi_def_cfa_offset 96
str x0, [sp, 40]
str x1, [sp, 32]
str s0, [sp, 28]
str x2, [sp, 16]
str x3, [sp, 8]
str w4, [sp, 24]
str w5, [sp, 4]
str wzr, [sp, 52]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 16]
add x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 40]
add x0, x0, 4
str x0, [sp, 72]
ldrsw x0, [sp, 4]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 8]
add x0, x1, x0
str x0, [sp, 80]
ldr x0, [sp, 32]
str x0, [sp, 88]
str wzr, [sp, 56]
b .L585
.L586:
ldrsw x0, [sp, 56]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 32]
add x1, x1, x0
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x2, [sp, 32]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr x0, [sp, 80]
sub x1, x0, #4
str x1, [sp, 80]
ldr s1, [x0]
ldr x0, [sp, 88]
add x1, x0, 4
str x1, [sp, 88]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 52]
fadd s0, s1, s0
str s0, [sp, 52]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L585:
ldr w0, [sp, 4]
sub w0, w0, #1
ldr w1, [sp, 56]
cmp w1, w0
blt .L586
ldrsw x0, [sp, 4]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 32]
add x0, x1, x0
ldr s0, [sp, 28]
str s0, [x0]
ldr x0, [sp, 80]
sub x1, x0, #4
str x1, [sp, 80]
ldr s1, [x0]
ldr x0, [sp, 88]
add x1, x0, 4
str x1, [sp, 88]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 52]
fadd s0, s1, s0
str s0, [sp, 52]
mov w0, 1
str w0, [sp, 60]
b .L587
.L588:
ldr x0, [sp, 64]
sub x1, x0, #4
str x1, [sp, 64]
ldr s1, [x0]
ldr x0, [sp, 72]
add x1, x0, 4
str x1, [sp, 72]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 52]
fsub s0, s1, s0
str s0, [sp, 52]
ldrsw x0, [sp, 60]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x2, [sp, 40]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L587:
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 60]
cmp w1, w0
blt .L588
ldr w0, [sp, 24]
cmp w0, 1
ble .L589
ldr x0, [sp, 64]
sub x1, x0, #4
str x1, [sp, 64]
ldr s1, [x0]
ldr x0, [sp, 72]
add x1, x0, 4
str x1, [sp, 72]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 52]
fsub s0, s1, s0
str s0, [sp, 52]
.L589:
ldrsw x0, [sp, 24]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 40]
add x0, x1, x0
ldr s0, [sp, 52]
str s0, [x0]
ldr s0, [sp, 52]
add sp, sp, 96
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE92:
.size iirOutFloatL, .-iirOutFloatL
.align 2
.global iirOutBothL
.type iirOutBothL, %function
iirOutBothL:
.LFB93:
.cfi_startproc
stp x29, x30, [sp, -192]!
.cfi_def_cfa_offset 192
.cfi_offset 29, -192
.cfi_offset 30, -184
mov x29, sp
str x0, [sp, 88]
str x1, [sp, 80]
str x2, [sp, 72]
str x3, [sp, 64]
str s0, [sp, 60]
str x4, [sp, 48]
str x5, [sp, 40]
str x6, [sp, 32]
str x7, [sp, 24]
str xzr, [sp, 152]
ldrsw x0, [sp, 200]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 120]
ldr x0, [sp, 48]
add x0, x0, 8
str x0, [sp, 128]
ldrsw x0, [sp, 208]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
str x0, [sp, 136]
ldr x0, [sp, 40]
str x0, [sp, 144]
str wzr, [sp, 108]
ldrsw x0, [sp, 200]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 72]
add x0, x1, x0
str x0, [sp, 160]
ldr x0, [sp, 88]
add x0, x0, 4
str x0, [sp, 168]
ldrsw x0, [sp, 208]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 64]
add x0, x1, x0
str x0, [sp, 176]
ldr x0, [sp, 80]
str x0, [sp, 184]
str wzr, [sp, 112]
b .L592
.L593:
ldrsw x0, [sp, 112]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 112]
lsl x0, x0, 3
ldr x2, [sp, 40]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldr x0, [sp, 136]
sub x1, x0, #8
str x1, [sp, 136]
ldr x2, [x0]
ldr x0, [sp, 144]
add x1, x0, 8
str x1, [sp, 144]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 152]
bl fxp_add
str x0, [sp, 152]
ldrsw x0, [sp, 112]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 80]
add x1, x1, x0
ldrsw x0, [sp, 112]
lsl x0, x0, 2
ldr x2, [sp, 80]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr x0, [sp, 176]
sub x1, x0, #4
str x1, [sp, 176]
ldr s1, [x0]
ldr x0, [sp, 184]
add x1, x0, 4
str x1, [sp, 184]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 108]
fadd s0, s1, s0
str s0, [sp, 108]
ldr w0, [sp, 112]
add w0, w0, 1
str w0, [sp, 112]
.L592:
ldr w0, [sp, 208]
sub w0, w0, #1
ldr w1, [sp, 112]
cmp w1, w0
blt .L593
ldrsw x0, [sp, 208]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 40]
add x0, x1, x0
ldr x1, [sp, 192]
str x1, [x0]
ldr x0, [sp, 136]
sub x1, x0, #8
str x1, [sp, 136]
ldr x2, [x0]
ldr x0, [sp, 144]
add x1, x0, 8
str x1, [sp, 144]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 152]
bl fxp_add
str x0, [sp, 152]
ldrsw x0, [sp, 208]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 80]
add x0, x1, x0
ldr s0, [sp, 60]
str s0, [x0]
ldr x0, [sp, 176]
sub x1, x0, #4
str x1, [sp, 176]
ldr s1, [x0]
ldr x0, [sp, 184]
add x1, x0, 4
str x1, [sp, 184]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 108]
fadd s0, s1, s0
str s0, [sp, 108]
mov w0, 1
str w0, [sp, 116]
b .L594
.L595:
ldr x0, [sp, 120]
sub x1, x0, #8
str x1, [sp, 120]
ldr x2, [x0]
ldr x0, [sp, 128]
add x1, x0, 8
str x1, [sp, 128]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 152]
bl fxp_sub
str x0, [sp, 152]
ldrsw x0, [sp, 116]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 48]
add x1, x1, x0
ldrsw x0, [sp, 116]
lsl x0, x0, 3
ldr x2, [sp, 48]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldr x0, [sp, 160]
sub x1, x0, #4
str x1, [sp, 160]
ldr s1, [x0]
ldr x0, [sp, 168]
add x1, x0, 4
str x1, [sp, 168]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 108]
fsub s0, s1, s0
str s0, [sp, 108]
ldrsw x0, [sp, 116]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 88]
add x1, x1, x0
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x2, [sp, 88]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 116]
add w0, w0, 1
str w0, [sp, 116]
.L594:
ldr w0, [sp, 200]
sub w0, w0, #1
ldr w1, [sp, 116]
cmp w1, w0
blt .L595
ldr w0, [sp, 200]
cmp w0, 1
ble .L596
ldr x0, [sp, 120]
sub x1, x0, #8
str x1, [sp, 120]
ldr x2, [x0]
ldr x0, [sp, 128]
add x1, x0, 8
str x1, [sp, 128]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 152]
bl fxp_sub
str x0, [sp, 152]
.L596:
ldrsw x0, [sp, 200]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 48]
add x0, x1, x0
ldr x1, [sp, 152]
str x1, [x0]
ldr w0, [sp, 200]
cmp w0, 1
ble .L597
ldr x0, [sp, 160]
sub x1, x0, #4
str x1, [sp, 160]
ldr s1, [x0]
ldr x0, [sp, 168]
add x1, x0, 4
str x1, [sp, 168]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 108]
fsub s0, s1, s0
str s0, [sp, 108]
.L597:
ldrsw x0, [sp, 200]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 88]
add x0, x1, x0
ldr s0, [sp, 108]
str s0, [x0]
ldr x0, [sp, 152]
bl fxp_to_float
fmov s1, s0
ldr s0, [sp, 108]
fsub s0, s1, s0
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE93:
.size iirOutBothL, .-iirOutBothL
.align 2
.global iirOutBothL2
.type iirOutBothL2, %function
iirOutBothL2:
.LFB94:
.cfi_startproc
stp x29, x30, [sp, -192]!
.cfi_def_cfa_offset 192
.cfi_offset 29, -192
.cfi_offset 30, -184
mov x29, sp
str x0, [sp, 88]
str x1, [sp, 80]
str x2, [sp, 72]
str x3, [sp, 64]
str s0, [sp, 60]
str x4, [sp, 48]
str x5, [sp, 40]
str x6, [sp, 32]
str x7, [sp, 24]
str xzr, [sp, 120]
ldrsw x0, [sp, 200]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 128]
ldr x0, [sp, 48]
add x0, x0, 8
str x0, [sp, 136]
ldrsw x0, [sp, 208]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
str x0, [sp, 144]
ldr x0, [sp, 40]
str x0, [sp, 152]
str wzr, [sp, 108]
ldrsw x0, [sp, 200]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 72]
add x0, x1, x0
str x0, [sp, 160]
ldr x0, [sp, 88]
add x0, x0, 4
str x0, [sp, 168]
ldrsw x0, [sp, 208]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 64]
add x0, x1, x0
str x0, [sp, 176]
ldr x0, [sp, 80]
str x0, [sp, 184]
str wzr, [sp, 112]
mov w0, 1
str w0, [sp, 116]
str wzr, [sp, 112]
b .L600
.L601:
ldrsw x0, [sp, 112]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 112]
lsl x0, x0, 3
ldr x2, [sp, 40]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldr w0, [sp, 208]
sub w1, w0, #1
ldr w0, [sp, 112]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [sp, 112]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 120]
bl fxp_add
str x0, [sp, 120]
ldrsw x0, [sp, 112]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 80]
add x1, x1, x0
ldrsw x0, [sp, 112]
lsl x0, x0, 2
ldr x2, [sp, 80]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 208]
sub w1, w0, #1
ldr w0, [sp, 112]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 64]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 112]
lsl x0, x0, 2
ldr x1, [sp, 80]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 108]
fadd s0, s1, s0
str s0, [sp, 108]
ldr w0, [sp, 112]
add w0, w0, 1
str w0, [sp, 112]
.L600:
ldr w0, [sp, 208]
sub w0, w0, #1
ldr w1, [sp, 112]
cmp w1, w0
blt .L601
ldrsw x0, [sp, 208]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 40]
add x0, x1, x0
ldr x1, [sp, 192]
str x1, [x0]
ldr w0, [sp, 208]
sub w1, w0, #1
ldr w0, [sp, 112]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [sp, 112]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 120]
bl fxp_add
str x0, [sp, 120]
ldrsw x0, [sp, 208]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 80]
add x0, x1, x0
ldr s0, [sp, 60]
str s0, [x0]
ldr w0, [sp, 208]
sub w1, w0, #1
ldr w0, [sp, 112]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 64]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 112]
lsl x0, x0, 2
ldr x1, [sp, 80]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 108]
fadd s0, s1, s0
str s0, [sp, 108]
mov w0, 1
str w0, [sp, 116]
b .L602
.L603:
ldr w1, [sp, 200]
ldr w0, [sp, 116]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [sp, 116]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 120]
bl fxp_sub
str x0, [sp, 120]
ldrsw x0, [sp, 116]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 48]
add x1, x1, x0
ldrsw x0, [sp, 116]
lsl x0, x0, 3
ldr x2, [sp, 48]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldr w1, [sp, 200]
ldr w0, [sp, 116]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 72]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 88]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 108]
fsub s0, s1, s0
str s0, [sp, 108]
ldrsw x0, [sp, 116]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 88]
add x1, x1, x0
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x2, [sp, 88]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 116]
add w0, w0, 1
str w0, [sp, 116]
.L602:
ldr w0, [sp, 200]
sub w0, w0, #1
ldr w1, [sp, 116]
cmp w1, w0
blt .L603
ldr w0, [sp, 200]
cmp w0, 1
ble .L604
ldr w1, [sp, 200]
ldr w0, [sp, 116]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [sp, 116]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 120]
bl fxp_sub
str x0, [sp, 120]
.L604:
ldrsw x0, [sp, 200]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 48]
add x0, x1, x0
ldr x1, [sp, 120]
str x1, [x0]
ldr w0, [sp, 200]
cmp w0, 1
ble .L605
ldr w1, [sp, 200]
ldr w0, [sp, 116]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 72]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 88]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 108]
fsub s0, s1, s0
str s0, [sp, 108]
.L605:
ldrsw x0, [sp, 200]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 88]
add x0, x1, x0
ldr s0, [sp, 108]
str s0, [x0]
ldr x0, [sp, 120]
bl fxp_to_float
fmov s1, s0
ldr s0, [sp, 108]
fsub s0, s1, s0
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE94:
.size iirOutBothL2, .-iirOutBothL2
.section .rodata
.align 3
.LC30:
.string "An Overflow Occurred in the node a0"
.text
.align 2
.global fxp_direct_form_1
.type fxp_direct_form_1, %function
fxp_direct_form_1:
.LFB95:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 28]
str w5, [sp, 24]
str xzr, [sp, 104]
ldr x0, [sp, 40]
add x0, x0, 8
str x0, [sp, 72]
ldrsw x0, [sp, 28]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 80]
ldr x0, [sp, 32]
str x0, [sp, 88]
ldrsw x0, [sp, 24]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 96]
str wzr, [sp, 64]
b .L608
.L609:
ldr x0, [sp, 88]
add x1, x0, 8
str x1, [sp, 88]
ldr x2, [x0]
ldr x0, [sp, 96]
sub x1, x0, #8
str x1, [sp, 96]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 104]
bl fxp_add
str x0, [sp, 104]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L608:
ldr w1, [sp, 64]
ldr w0, [sp, 24]
cmp w1, w0
blt .L609
mov w0, 1
str w0, [sp, 68]
b .L610
.L611:
ldr x0, [sp, 72]
add x1, x0, 8
str x1, [sp, 72]
ldr x2, [x0]
ldr x0, [sp, 80]
sub x1, x0, #8
str x1, [sp, 80]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 104]
bl fxp_sub
str x0, [sp, 104]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L610:
ldr w1, [sp, 68]
ldr w0, [sp, 28]
cmp w1, w0
blt .L611
adrp x0, .LC30
add x1, x0, :lo12:.LC30
ldr x0, [sp, 104]
bl fxp_verify_overflow_node
ldr x0, [sp, 40]
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 104]
bl fxp_div
str x0, [sp, 104]
ldr x0, [sp, 104]
bl fxp_quantize
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE95:
.size fxp_direct_form_1, .-fxp_direct_form_1
.section .rodata
.align 3
.LC31:
.string "An Overflow Occurred in the node b0"
.text
.align 2
.global fxp_direct_form_2
.type fxp_direct_form_2, %function
fxp_direct_form_2:
.LFB96:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -112
str x0, [sp, 72]
str x1, [sp, 64]
str x2, [sp, 56]
str x3, [sp, 48]
str w4, [sp, 44]
str w5, [sp, 40]
str xzr, [sp, 120]
ldr x0, [sp, 56]
add x0, x0, 8
str x0, [sp, 96]
ldr x0, [sp, 48]
str x0, [sp, 104]
ldr x0, [sp, 72]
add x0, x0, 8
str x0, [sp, 112]
mov w0, 1
str w0, [sp, 92]
b .L614
.L615:
ldr x0, [sp, 72]
ldr x19, [x0]
ldr x0, [sp, 96]
add x1, x0, 8
str x1, [sp, 96]
ldr x2, [x0]
ldr x0, [sp, 112]
add x1, x0, 8
str x1, [sp, 112]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
mov x0, x19
bl fxp_sub
mov x1, x0
ldr x0, [sp, 72]
str x1, [x0]
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L614:
ldr w1, [sp, 92]
ldr w0, [sp, 44]
cmp w1, w0
blt .L615
ldr x0, [sp, 72]
ldr x0, [x0]
ldr x1, [sp, 64]
bl fxp_add
mov x1, x0
ldr x0, [sp, 72]
str x1, [x0]
ldr x0, [sp, 72]
ldr x2, [x0]
ldr x0, [sp, 56]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_div
mov x1, x0
ldr x0, [sp, 72]
str x1, [x0]
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC31
add x1, x0, :lo12:.LC31
mov x0, x2
bl fxp_verify_overflow_node
ldr x0, [sp, 72]
str x0, [sp, 112]
str wzr, [sp, 88]
b .L616
.L617:
ldr x0, [sp, 104]
add x1, x0, 8
str x1, [sp, 104]
ldr x2, [x0]
ldr x0, [sp, 112]
add x1, x0, 8
str x1, [sp, 112]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
ldr x0, [sp, 120]
bl fxp_add
str x0, [sp, 120]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L616:
ldr w1, [sp, 88]
ldr w0, [sp, 40]
cmp w1, w0
blt .L617
ldr x0, [sp, 120]
bl fxp_quantize
ldr x19, [sp, 16]
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE96:
.size fxp_direct_form_2, .-fxp_direct_form_2
.align 2
.global fxp_transposed_direct_form_2
.type fxp_transposed_direct_form_2, %function
fxp_transposed_direct_form_2:
.LFB97:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -96
.cfi_offset 20, -88
str x0, [sp, 72]
str x1, [sp, 64]
str x2, [sp, 56]
str x3, [sp, 48]
str w4, [sp, 44]
str w5, [sp, 40]
str xzr, [sp, 104]
ldr x0, [sp, 56]
add x0, x0, 8
str x0, [sp, 88]
ldr x0, [sp, 48]
str x0, [sp, 96]
ldr w0, [sp, 44]
ldr w2, [sp, 40]
ldr w1, [sp, 40]
cmp w2, w0
csel w0, w1, w0, ge
str w0, [sp, 84]
ldr x0, [sp, 96]
add x1, x0, 8
str x1, [sp, 96]
ldr x0, [x0]
ldr x1, [sp, 64]
bl fxp_mult
mov x2, x0
ldr x0, [sp, 72]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_add
str x0, [sp, 104]
ldr x0, [sp, 56]
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 104]
bl fxp_div
str x0, [sp, 104]
str wzr, [sp, 80]
b .L620
.L623:
ldrsw x0, [sp, 80]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 72]
add x1, x1, x0
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x2, [sp, 72]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldr w0, [sp, 44]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
bge .L621
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr x20, [x0]
ldr x0, [sp, 88]
add x1, x0, 8
str x1, [sp, 88]
ldr x0, [x0]
ldr x1, [sp, 104]
bl fxp_mult
mov x2, x0
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x19, x1, x0
mov x1, x2
mov x0, x20
bl fxp_sub
str x0, [x19]
.L621:
ldr w0, [sp, 40]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
bge .L622
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr x20, [x0]
ldr x0, [sp, 96]
add x1, x0, 8
str x1, [sp, 96]
ldr x0, [x0]
ldr x1, [sp, 64]
bl fxp_mult
mov x2, x0
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x19, x1, x0
mov x1, x2
mov x0, x20
bl fxp_add
str x0, [x19]
.L622:
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L620:
ldr w0, [sp, 84]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
blt .L623
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr x2, [x0]
adrp x0, .LC30
add x1, x0, :lo12:.LC30
mov x0, x2
bl fxp_verify_overflow_node
ldr x0, [sp, 104]
bl fxp_quantize
ldp x19, x20, [sp, 16]
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE97:
.size fxp_transposed_direct_form_2, .-fxp_transposed_direct_form_2
.align 2
.global double_direct_form_1
.type double_direct_form_1, %function
double_direct_form_1:
.LFB98:
.cfi_startproc
sub sp, sp, #96
.cfi_def_cfa_offset 96
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
str w4, [sp, 12]
str w5, [sp, 8]
str xzr, [sp, 88]
ldr x0, [sp, 24]
add x0, x0, 8
str x0, [sp, 56]
ldrsw x0, [sp, 12]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 40]
add x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 16]
str x0, [sp, 72]
ldrsw x0, [sp, 8]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 80]
str wzr, [sp, 48]
b .L626
.L627:
ldr x0, [sp, 72]
add x1, x0, 8
str x1, [sp, 72]
ldr d1, [x0]
ldr x0, [sp, 80]
sub x1, x0, #8
str x1, [sp, 80]
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 88]
fadd d0, d1, d0
str d0, [sp, 88]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L626:
ldr w1, [sp, 48]
ldr w0, [sp, 8]
cmp w1, w0
blt .L627
mov w0, 1
str w0, [sp, 52]
b .L628
.L629:
ldr x0, [sp, 56]
add x1, x0, 8
str x1, [sp, 56]
ldr d1, [x0]
ldr x0, [sp, 64]
sub x1, x0, #8
str x1, [sp, 64]
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 88]
fsub d0, d1, d0
str d0, [sp, 88]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L628:
ldr w1, [sp, 52]
ldr w0, [sp, 12]
cmp w1, w0
blt .L629
ldr x0, [sp, 24]
ldr d0, [x0]
ldr d1, [sp, 88]
fdiv d0, d1, d0
str d0, [sp, 88]
ldr d0, [sp, 88]
add sp, sp, 96
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE98:
.size double_direct_form_1, .-double_direct_form_1
.align 2
.global double_direct_form_2
.type double_direct_form_2, %function
double_direct_form_2:
.LFB99:
.cfi_startproc
sub sp, sp, #96
.cfi_def_cfa_offset 96
str x0, [sp, 40]
str d0, [sp, 32]
str x1, [sp, 24]
str x2, [sp, 16]
str w3, [sp, 12]
str w4, [sp, 8]
str xzr, [sp, 88]
ldr x0, [sp, 24]
add x0, x0, 8
str x0, [sp, 64]
ldr x0, [sp, 16]
str x0, [sp, 72]
ldr x0, [sp, 40]
add x0, x0, 8
str x0, [sp, 80]
mov w0, 1
str w0, [sp, 60]
b .L632
.L633:
ldr x0, [sp, 64]
add x1, x0, 8
str x1, [sp, 64]
ldr d1, [x0]
ldr x0, [sp, 80]
add x1, x0, 8
str x1, [sp, 80]
ldr d0, [x0]
fmul d0, d1, d0
ldr x0, [sp, 40]
ldr d1, [x0]
fsub d0, d1, d0
ldr x0, [sp, 40]
str d0, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L632:
ldr w1, [sp, 60]
ldr w0, [sp, 12]
cmp w1, w0
blt .L633
ldr x0, [sp, 40]
ldr d1, [x0]
ldr d0, [sp, 32]
fadd d0, d1, d0
ldr x0, [sp, 40]
str d0, [x0]
ldr x0, [sp, 40]
ldr d1, [x0]
ldr x0, [sp, 24]
ldr d0, [x0]
fdiv d0, d1, d0
ldr x0, [sp, 40]
str d0, [x0]
ldr x0, [sp, 40]
str x0, [sp, 80]
str wzr, [sp, 56]
b .L634
.L635:
ldr x0, [sp, 72]
add x1, x0, 8
str x1, [sp, 72]
ldr d1, [x0]
ldr x0, [sp, 80]
add x1, x0, 8
str x1, [sp, 80]
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 88]
fadd d0, d1, d0
str d0, [sp, 88]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L634:
ldr w1, [sp, 56]
ldr w0, [sp, 8]
cmp w1, w0
blt .L635
ldr d0, [sp, 88]
add sp, sp, 96
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE99:
.size double_direct_form_2, .-double_direct_form_2
.align 2
.global double_transposed_direct_form_2
.type double_transposed_direct_form_2, %function
double_transposed_direct_form_2:
.LFB100:
.cfi_startproc
sub sp, sp, #80
.cfi_def_cfa_offset 80
str x0, [sp, 40]
str d0, [sp, 32]
str x1, [sp, 24]
str x2, [sp, 16]
str w3, [sp, 12]
str w4, [sp, 8]
str xzr, [sp, 72]
ldr x0, [sp, 24]
add x0, x0, 8
str x0, [sp, 56]
ldr x0, [sp, 16]
str x0, [sp, 64]
ldr w0, [sp, 12]
ldr w2, [sp, 8]
ldr w1, [sp, 8]
cmp w2, w0
csel w0, w1, w0, ge
str w0, [sp, 52]
ldr x0, [sp, 64]
add x1, x0, 8
str x1, [sp, 64]
ldr d1, [x0]
ldr d0, [sp, 32]
fmul d1, d1, d0
ldr x0, [sp, 40]
ldr d0, [x0]
fadd d0, d1, d0
str d0, [sp, 72]
ldr x0, [sp, 24]
ldr d0, [x0]
ldr d1, [sp, 72]
fdiv d0, d1, d0
str d0, [sp, 72]
str wzr, [sp, 48]
b .L638
.L641:
ldrsw x0, [sp, 48]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x2, [sp, 40]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
bge .L639
ldr x0, [sp, 56]
add x1, x0, 8
str x1, [sp, 56]
ldr d1, [x0]
ldr d0, [sp, 72]
fmul d0, d1, d0
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
fsub d0, d1, d0
str d0, [x0]
.L639:
ldr w0, [sp, 8]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
bge .L640
ldr x0, [sp, 64]
add x1, x0, 8
str x1, [sp, 64]
ldr d1, [x0]
ldr d0, [sp, 32]
fmul d1, d1, d0
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
.L640:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L638:
ldr w0, [sp, 52]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
blt .L641
ldr d0, [sp, 72]
add sp, sp, 80
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE100:
.size double_transposed_direct_form_2, .-double_transposed_direct_form_2
.align 2
.global float_direct_form_1
.type float_direct_form_1, %function
float_direct_form_1:
.LFB101:
.cfi_startproc
sub sp, sp, #96
.cfi_def_cfa_offset 96
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
str w4, [sp, 12]
str w5, [sp, 8]
str wzr, [sp, 52]
ldr x0, [sp, 24]
add x0, x0, 4
str x0, [sp, 64]
ldrsw x0, [sp, 12]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 40]
add x0, x1, x0
str x0, [sp, 72]
ldr x0, [sp, 16]
str x0, [sp, 80]
ldrsw x0, [sp, 8]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 88]
str wzr, [sp, 56]
b .L644
.L645:
ldr x0, [sp, 80]
add x1, x0, 4
str x1, [sp, 80]
ldr s1, [x0]
ldr x0, [sp, 88]
sub x1, x0, #4
str x1, [sp, 88]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 52]
fadd s0, s1, s0
str s0, [sp, 52]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L644:
ldr w1, [sp, 56]
ldr w0, [sp, 8]
cmp w1, w0
blt .L645
mov w0, 1
str w0, [sp, 60]
b .L646
.L647:
ldr x0, [sp, 64]
add x1, x0, 4
str x1, [sp, 64]
ldr s1, [x0]
ldr x0, [sp, 72]
sub x1, x0, #4
str x1, [sp, 72]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 52]
fsub s0, s1, s0
str s0, [sp, 52]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L646:
ldr w1, [sp, 60]
ldr w0, [sp, 12]
cmp w1, w0
blt .L647
ldr x0, [sp, 24]
ldr s0, [x0]
ldr s1, [sp, 52]
fdiv s0, s1, s0
str s0, [sp, 52]
ldr s0, [sp, 52]
add sp, sp, 96
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE101:
.size float_direct_form_1, .-float_direct_form_1
.align 2
.global float_direct_form_2
.type float_direct_form_2, %function
float_direct_form_2:
.LFB102:
.cfi_startproc
sub sp, sp, #96
.cfi_def_cfa_offset 96
str x0, [sp, 40]
str s0, [sp, 36]
str x1, [sp, 24]
str x2, [sp, 16]
str w3, [sp, 32]
str w4, [sp, 12]
str wzr, [sp, 60]
ldr x0, [sp, 24]
add x0, x0, 4
str x0, [sp, 72]
ldr x0, [sp, 16]
str x0, [sp, 80]
ldr x0, [sp, 40]
add x0, x0, 4
str x0, [sp, 88]
mov w0, 1
str w0, [sp, 68]
b .L650
.L651:
ldr x0, [sp, 72]
add x1, x0, 4
str x1, [sp, 72]
ldr s1, [x0]
ldr x0, [sp, 88]
add x1, x0, 4
str x1, [sp, 88]
ldr s0, [x0]
fmul s0, s1, s0
ldr x0, [sp, 40]
ldr s1, [x0]
fsub s0, s1, s0
ldr x0, [sp, 40]
str s0, [x0]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L650:
ldr w1, [sp, 68]
ldr w0, [sp, 32]
cmp w1, w0
blt .L651
ldr x0, [sp, 40]
ldr s1, [x0]
ldr s0, [sp, 36]
fadd s0, s1, s0
ldr x0, [sp, 40]
str s0, [x0]
ldr x0, [sp, 40]
ldr s1, [x0]
ldr x0, [sp, 24]
ldr s0, [x0]
fdiv s0, s1, s0
ldr x0, [sp, 40]
str s0, [x0]
ldr x0, [sp, 40]
str x0, [sp, 88]
str wzr, [sp, 64]
b .L652
.L653:
ldr x0, [sp, 80]
add x1, x0, 4
str x1, [sp, 80]
ldr s1, [x0]
ldr x0, [sp, 88]
add x1, x0, 4
str x1, [sp, 88]
ldr s0, [x0]
fmul s0, s1, s0
ldr s1, [sp, 60]
fadd s0, s1, s0
str s0, [sp, 60]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L652:
ldr w1, [sp, 64]
ldr w0, [sp, 12]
cmp w1, w0
blt .L653
ldr s0, [sp, 60]
add sp, sp, 96
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE102:
.size float_direct_form_2, .-float_direct_form_2
.align 2
.global float_transposed_direct_form_2
.type float_transposed_direct_form_2, %function
float_transposed_direct_form_2:
.LFB103:
.cfi_startproc
sub sp, sp, #80
.cfi_def_cfa_offset 80
str x0, [sp, 40]
str s0, [sp, 36]
str x1, [sp, 24]
str x2, [sp, 16]
str w3, [sp, 32]
str w4, [sp, 12]
str wzr, [sp, 56]
ldr x0, [sp, 24]
add x0, x0, 4
str x0, [sp, 64]
ldr x0, [sp, 16]
str x0, [sp, 72]
ldr w0, [sp, 32]
ldr w2, [sp, 12]
ldr w1, [sp, 12]
cmp w2, w0
csel w0, w1, w0, ge
str w0, [sp, 60]
ldr x0, [sp, 72]
add x1, x0, 4
str x1, [sp, 72]
ldr s1, [x0]
ldr s0, [sp, 36]
fmul s1, s1, s0
ldr x0, [sp, 40]
ldr s0, [x0]
fadd s0, s1, s0
str s0, [sp, 56]
ldr x0, [sp, 24]
ldr s0, [x0]
ldr s1, [sp, 56]
fdiv s0, s1, s0
str s0, [sp, 56]
str wzr, [sp, 52]
b .L656
.L659:
ldrsw x0, [sp, 52]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x2, [sp, 40]
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 32]
sub w0, w0, #1
ldr w1, [sp, 52]
cmp w1, w0
bge .L657
ldr x0, [sp, 64]
add x1, x0, 4
str x1, [sp, 64]
ldr s1, [x0]
ldr s0, [sp, 56]
fmul s0, s1, s0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
fsub s0, s1, s0
str s0, [x0]
.L657:
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 52]
cmp w1, w0
bge .L658
ldr x0, [sp, 72]
add x1, x0, 4
str x1, [sp, 72]
ldr s1, [x0]
ldr s0, [sp, 36]
fmul s1, s1, s0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s0, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
fadd s0, s1, s0
str s0, [x0]
.L658:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L656:
ldr w0, [sp, 60]
sub w0, w0, #1
ldr w1, [sp, 52]
cmp w1, w0
blt .L659
ldr s0, [sp, 56]
add sp, sp, 80
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE103:
.size float_transposed_direct_form_2, .-float_transposed_direct_form_2
.section .rodata
.align 3
.LC32:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/realizations.h"
.align 3
.LC33:
.string "(double) timer1 * hw.cycle <= ds.sample_time"
.text
.align 2
.global double_direct_form_1_MSP430
.type double_direct_form_1_MSP430, %function
double_direct_form_1_MSP430:
.LFB104:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 28]
str w5, [sp, 24]
str wzr, [sp, 76]
str xzr, [sp, 120]
ldr x0, [sp, 40]
add x0, x0, 8
str x0, [sp, 88]
ldrsw x0, [sp, 28]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 96]
ldr x0, [sp, 32]
str x0, [sp, 104]
ldrsw x0, [sp, 24]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 112]
ldr w0, [sp, 76]
add w0, w0, 91
str w0, [sp, 76]
str wzr, [sp, 80]
b .L662
.L663:
ldr x0, [sp, 104]
add x1, x0, 8
str x1, [sp, 104]
ldr d1, [x0]
ldr x0, [sp, 112]
sub x1, x0, #8
str x1, [sp, 112]
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 120]
fadd d0, d1, d0
str d0, [sp, 120]
ldr w0, [sp, 76]
add w0, w0, 47
str w0, [sp, 76]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L662:
ldr w1, [sp, 80]
ldr w0, [sp, 24]
cmp w1, w0
blt .L663
mov w0, 1
str w0, [sp, 84]
b .L664
.L665:
ldr x0, [sp, 88]
add x1, x0, 8
str x1, [sp, 88]
ldr d1, [x0]
ldr x0, [sp, 96]
sub x1, x0, #8
str x1, [sp, 96]
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 120]
fsub d0, d1, d0
str d0, [sp, 120]
ldr w0, [sp, 76]
add w0, w0, 57
str w0, [sp, 76]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L664:
ldr w1, [sp, 84]
ldr w0, [sp, 28]
cmp w1, w0
blt .L665
ldr w0, [sp, 76]
add w0, w0, 3
str w0, [sp, 76]
ldr w0, [sp, 76]
scvtf d1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr d0, [x0, 16]
fmul d1, d1, d0
adrp x0, ds
add x0, x0, :lo12:ds
ldr d0, [x0, 1616]
fcmpe d1, d0
bls .L666
adrp x0, __PRETTY_FUNCTION__.12
add x3, x0, :lo12:__PRETTY_FUNCTION__.12
mov w2, 235
adrp x0, .LC32
add x1, x0, :lo12:.LC32
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl __assert_fail
.L666:
ldr d0, [sp, 120]
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE104:
.size double_direct_form_1_MSP430, .-double_direct_form_1_MSP430
.align 2
.global double_direct_form_2_MSP430
.type double_direct_form_2_MSP430, %function
double_direct_form_2_MSP430:
.LFB105:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 56]
str d0, [sp, 48]
str x1, [sp, 40]
str x2, [sp, 32]
str w3, [sp, 28]
str w4, [sp, 24]
str wzr, [sp, 68]
str xzr, [sp, 104]
ldr x0, [sp, 40]
add x0, x0, 8
str x0, [sp, 80]
ldr x0, [sp, 32]
str x0, [sp, 88]
ldr x0, [sp, 56]
add x0, x0, 8
str x0, [sp, 96]
ldr w0, [sp, 68]
add w0, w0, 71
str w0, [sp, 68]
mov w0, 1
str w0, [sp, 76]
b .L669
.L670:
ldr x0, [sp, 80]
add x1, x0, 8
str x1, [sp, 80]
ldr d1, [x0]
ldr x0, [sp, 96]
add x1, x0, 8
str x1, [sp, 96]
ldr d0, [x0]
fmul d0, d1, d0
ldr x0, [sp, 56]
ldr d1, [x0]
fsub d0, d1, d0
ldr x0, [sp, 56]
str d0, [x0]
ldr w0, [sp, 68]
add w0, w0, 54
str w0, [sp, 68]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L669:
ldr w1, [sp, 76]
ldr w0, [sp, 28]
cmp w1, w0
blt .L670
ldr x0, [sp, 56]
ldr d1, [x0]
ldr d0, [sp, 48]
fadd d0, d1, d0
ldr x0, [sp, 56]
str d0, [x0]
ldr x0, [sp, 56]
ldr d1, [x0]
ldr x0, [sp, 40]
ldr d0, [x0]
fdiv d0, d1, d0
ldr x0, [sp, 56]
str d0, [x0]
ldr x0, [sp, 56]
str x0, [sp, 96]
str wzr, [sp, 72]
b .L671
.L672:
ldr x0, [sp, 88]
add x1, x0, 8
str x1, [sp, 88]
ldr d1, [x0]
ldr x0, [sp, 96]
add x1, x0, 8
str x1, [sp, 96]
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 104]
fadd d0, d1, d0
str d0, [sp, 104]
ldr w0, [sp, 68]
add w0, w0, 46
str w0, [sp, 68]
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L671:
ldr w1, [sp, 72]
ldr w0, [sp, 24]
cmp w1, w0
blt .L672
ldr w0, [sp, 68]
add w0, w0, 38
str w0, [sp, 68]
ldr w0, [sp, 68]
scvtf d1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr d0, [x0, 16]
fmul d1, d1, d0
adrp x0, ds
add x0, x0, :lo12:ds
ldr d0, [x0, 1616]
fcmpe d1, d0
bls .L673
adrp x0, __PRETTY_FUNCTION__.11
add x3, x0, :lo12:__PRETTY_FUNCTION__.11
mov w2, 262
adrp x0, .LC32
add x1, x0, :lo12:.LC32
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl __assert_fail
.L673:
ldr d0, [sp, 104]
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE105:
.size double_direct_form_2_MSP430, .-double_direct_form_2_MSP430
.align 2
.global double_transposed_direct_form_2_MSP430
.type double_transposed_direct_form_2_MSP430, %function
double_transposed_direct_form_2_MSP430:
.LFB106:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 56]
str d0, [sp, 48]
str x1, [sp, 40]
str x2, [sp, 32]
str w3, [sp, 28]
str w4, [sp, 24]
str wzr, [sp, 76]
str xzr, [sp, 104]
ldr x0, [sp, 40]
add x0, x0, 8
str x0, [sp, 88]
ldr x0, [sp, 32]
str x0, [sp, 96]
ldr w0, [sp, 28]
ldr w2, [sp, 24]
ldr w1, [sp, 24]
cmp w2, w0
csel w0, w1, w0, ge
str w0, [sp, 84]
ldr x0, [sp, 96]
add x1, x0, 8
str x1, [sp, 96]
ldr d1, [x0]
ldr d0, [sp, 48]
fmul d1, d1, d0
ldr x0, [sp, 56]
ldr d0, [x0]
fadd d0, d1, d0
str d0, [sp, 104]
ldr w0, [sp, 76]
add w0, w0, 105
str w0, [sp, 76]
str wzr, [sp, 80]
b .L676
.L679:
ldrsw x0, [sp, 80]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 56]
add x1, x1, x0
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x2, [sp, 56]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w0, [sp, 28]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
bge .L677
ldr x0, [sp, 88]
add x1, x0, 8
str x1, [sp, 88]
ldr d1, [x0]
ldr d0, [sp, 104]
fmul d0, d1, d0
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
fsub d0, d1, d0
str d0, [x0]
ldr w0, [sp, 76]
add w0, w0, 41
str w0, [sp, 76]
.L677:
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
bge .L678
ldr x0, [sp, 96]
add x1, x0, 8
str x1, [sp, 96]
ldr d1, [x0]
ldr d0, [sp, 48]
fmul d1, d1, d0
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 76]
add w0, w0, 38
str w0, [sp, 76]
.L678:
ldr w0, [sp, 76]
add w0, w0, 54
str w0, [sp, 76]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L676:
ldr w0, [sp, 84]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
blt .L679
ldr w0, [sp, 76]
add w0, w0, 7
str w0, [sp, 76]
ldr w0, [sp, 76]
scvtf d1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr d0, [x0, 16]
fmul d1, d1, d0
adrp x0, ds
add x0, x0, :lo12:ds
ldr d0, [x0, 1616]
fcmpe d1, d0
bls .L680
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 291
adrp x0, .LC32
add x1, x0, :lo12:.LC32
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl __assert_fail
.L680:
ldr d0, [sp, 104]
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE106:
.size double_transposed_direct_form_2_MSP430, .-double_transposed_direct_form_2_MSP430
.align 2
.global generic_timing_double_direct_form_1
.type generic_timing_double_direct_form_1, %function
generic_timing_double_direct_form_1:
.LFB107:
.cfi_startproc
sub sp, sp, #96
.cfi_def_cfa_offset 96
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
str w4, [sp, 12]
str w5, [sp, 8]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 24]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 1
mov w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 28]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 32]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 36]
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 40]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 2
add w1, w2, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
str xzr, [sp, 88]
ldr x0, [sp, 24]
add x0, x0, 8
str x0, [sp, 56]
ldrsw x0, [sp, 12]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 40]
add x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 16]
str x0, [sp, 72]
ldrsw x0, [sp, 8]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 80]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 48]
add w1, w1, w0
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 1
mov w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 52]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 56]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 60]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 64]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 68]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 72]
add w0, w1, w0
lsl w1, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
lsl w1, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 80]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
str wzr, [sp, 48]
b .L683
.L684:
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 2
mov w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 84]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 3
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 52]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 56]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 88]
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 92]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 96]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 100]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 104]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 112]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 80]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr x0, [sp, 72]
add x1, x0, 8
str x1, [sp, 72]
ldr d1, [x0]
ldr x0, [sp, 80]
sub x1, x0, #8
str x1, [sp, 80]
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 88]
fadd d0, d1, d0
str d0, [sp, 88]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L683:
ldr w1, [sp, 48]
ldr w0, [sp, 8]
cmp w1, w0
blt .L684
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 108]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
add w0, w1, w0
lsl w1, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 80]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
mov w0, 1
str w0, [sp, 52]
b .L685
.L686:
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, 22
mul w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 84]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 3
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 52]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
lsl w0, w0, 3
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 56]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 92]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 96]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 88]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 100]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 104]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 112]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 80]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr x0, [sp, 56]
add x1, x0, 8
str x1, [sp, 56]
ldr d1, [x0]
ldr x0, [sp, 64]
sub x1, x0, #8
str x1, [sp, 64]
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 88]
fsub d0, d1, d0
str d0, [sp, 88]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L685:
ldr w1, [sp, 52]
ldr w0, [sp, 12]
cmp w1, w0
blt .L686
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 84]
add w0, w1, w0
lsl w1, w0, 2
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 28]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 36]
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 40]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 116]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 120]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr d0, [sp, 88]
add sp, sp, 96
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE107:
.size generic_timing_double_direct_form_1, .-generic_timing_double_direct_form_1
.align 2
.global generic_timing_double_direct_form_2
.type generic_timing_double_direct_form_2, %function
generic_timing_double_direct_form_2:
.LFB108:
.cfi_startproc
sub sp, sp, #96
.cfi_def_cfa_offset 96
str x0, [sp, 40]
str d0, [sp, 32]
str x1, [sp, 24]
str x2, [sp, 16]
str w3, [sp, 12]
str w4, [sp, 8]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 24]
lsl w2, w0, 3
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 3
sub w0, w0, w1
lsl w0, w0, 1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 40]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 28]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 32]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 36]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
str xzr, [sp, 88]
ldr x0, [sp, 24]
add x0, x0, 8
str x0, [sp, 64]
ldr x0, [sp, 16]
str x0, [sp, 72]
ldr x0, [sp, 40]
add x0, x0, 8
str x0, [sp, 80]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
mov w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 108]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
add w0, w1, w0
lsl w1, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 80]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
mov w0, 1
str w0, [sp, 60]
b .L689
.L690:
ldr x0, [sp, 64]
add x1, x0, 8
str x1, [sp, 64]
ldr d1, [x0]
ldr x0, [sp, 80]
add x1, x0, 8
str x1, [sp, 80]
ldr d0, [x0]
fmul d0, d1, d0
ldr x0, [sp, 40]
ldr d1, [x0]
fsub d0, d1, d0
ldr x0, [sp, 40]
str d0, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, 23
mul w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 84]
lsl w0, w0, 5
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 3
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 52]
lsl w0, w0, 1
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 92]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 96]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 56]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 124]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 100]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 104]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 112]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L689:
ldr w1, [sp, 60]
ldr w0, [sp, 12]
cmp w1, w0
blt .L690
ldr x0, [sp, 40]
ldr d1, [x0]
ldr d0, [sp, 32]
fadd d0, d1, d0
ldr x0, [sp, 40]
str d0, [x0]
ldr x0, [sp, 40]
str x0, [sp, 80]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, 13
mul w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 84]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 2
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 124]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 92]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 96]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
lsl w1, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 80]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
str wzr, [sp, 56]
b .L691
.L692:
ldr x0, [sp, 72]
add x1, x0, 8
str x1, [sp, 72]
ldr d1, [x0]
ldr x0, [sp, 80]
add x1, x0, 8
str x1, [sp, 80]
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 88]
fadd d0, d1, d0
str d0, [sp, 88]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 2
mov w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 84]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 3
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 96]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 92]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 52]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 56]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 100]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 104]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 112]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 80]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L691:
ldr w1, [sp, 56]
ldr w0, [sp, 8]
cmp w1, w0
blt .L692
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 84]
add w0, w1, w0
lsl w1, w0, 2
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 28]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 36]
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 40]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 116]
lsl w0, w0, 3
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 120]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr d0, [sp, 88]
add sp, sp, 96
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE108:
.size generic_timing_double_direct_form_2, .-generic_timing_double_direct_form_2
.align 2
.global generic_timing_double_transposed_direct_form_2
.type generic_timing_double_transposed_direct_form_2, %function
generic_timing_double_transposed_direct_form_2:
.LFB109:
.cfi_startproc
sub sp, sp, #80
.cfi_def_cfa_offset 80
str x0, [sp, 40]
str d0, [sp, 32]
str x1, [sp, 24]
str x2, [sp, 16]
str w3, [sp, 12]
str w4, [sp, 8]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 24]
lsl w2, w0, 3
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 3
sub w0, w0, w1
lsl w0, w0, 1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 40]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 28]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 32]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 36]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
str xzr, [sp, 72]
ldr x0, [sp, 24]
add x0, x0, 8
str x0, [sp, 56]
ldr x0, [sp, 16]
str x0, [sp, 64]
ldr w0, [sp, 12]
ldr w2, [sp, 8]
ldr w1, [sp, 8]
cmp w2, w0
csel w0, w1, w0, ge
str w0, [sp, 52]
ldr x0, [sp, 64]
add x1, x0, 8
str x1, [sp, 64]
ldr d1, [x0]
ldr d0, [sp, 32]
fmul d1, d1, d0
ldr x0, [sp, 40]
ldr d0, [x0]
fadd d0, d1, d0
str d0, [sp, 72]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 4
sub w1, w0, w1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w2, [x0, 48]
mov w0, 22
mul w0, w2, w0
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 84]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 3
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 96]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 92]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 100]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 104]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 52]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 56]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 112]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
lsl w1, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 80]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
str wzr, [sp, 48]
b .L695
.L698:
ldrsw x0, [sp, 48]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x2, [sp, 40]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
bge .L696
ldr x0, [sp, 56]
add x1, x0, 8
str x1, [sp, 56]
ldr d1, [x0]
ldr d0, [sp, 72]
fmul d0, d1, d0
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
fsub d0, d1, d0
str d0, [x0]
.L696:
ldr w0, [sp, 8]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
bge .L697
ldr x0, [sp, 64]
add x1, x0, 8
str x1, [sp, 64]
ldr d1, [x0]
ldr d0, [sp, 32]
fmul d1, d1, d0
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
.L697:
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 84]
mov w0, 70
mul w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
mov w0, w1
lsl w0, w0, 6
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 60]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 2
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 64]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 2
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 44]
mov w0, w1
lsl w0, w0, 4
sub w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 68]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 72]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
lsl w0, w0, 1
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 104]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 100]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 92]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 96]
lsl w0, w0, 2
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 52]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
add w2, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 80]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 128]
lsl w0, w0, 1
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 124]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 56]
lsl w0, w0, 1
add w2, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 88]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 112]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L695:
ldr w0, [sp, 52]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
blt .L698
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 48]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 84]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 116]
lsl w0, w0, 1
add w0, w1, w0
lsl w2, w0, 2
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w1, [x0, 40]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w2, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 28]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 36]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 120]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr d0, [sp, 72]
add sp, sp, 80
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE109:
.size generic_timing_double_transposed_direct_form_2, .-generic_timing_double_transposed_direct_form_2
.align 2
.global double_direct_form_1_impl2
.type double_direct_form_1_impl2, %function
double_direct_form_1_impl2:
.LFB110:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
.cfi_def_cfa_register 29
sub sp, sp, #16
str x0, [x29, 56]
str w1, [x29, 52]
str x2, [x29, 40]
str w3, [x29, 48]
str x4, [x29, 32]
str w5, [x29, 28]
str x6, [x29, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 88]
mov x1, 0
mov x0, sp
mov x2, x0
str wzr, [x29, 64]
str wzr, [x29, 68]
ldr w0, [x29, 52]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 72]
sxtw x1, w0
mov x14, x1
mov x15, 0
lsr x1, x14, 58
lsl x11, x15, 6
orr x11, x1, x11
lsl x10, x14, 6
sxtw x1, w0
mov x12, x1
mov x13, 0
lsr x1, x12, 58
lsl x9, x13, 6
orr x9, x1, x9
lsl x8, x12, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L701:
cmp sp, x1
beq .L702
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L701
.L702:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L703
str xzr, [sp, 1024]
.L703:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 80]
str wzr, [x29, 64]
b .L704
.L709:
ldr x0, [x29, 80]
ldrsw x1, [x29, 64]
str xzr, [x0, x1, lsl 3]
str wzr, [x29, 68]
b .L705
.L708:
ldr w1, [x29, 68]
ldr w0, [x29, 64]
cmp w1, w0
bgt .L717
ldr x0, [x29, 80]
ldrsw x1, [x29, 64]
ldr d1, [x0, x1, lsl 3]
ldr w1, [x29, 64]
ldr w0, [x29, 68]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [x29, 56]
add x0, x1, x0
ldr d2, [x0]
ldrsw x0, [x29, 68]
lsl x0, x0, 3
ldr x1, [x29, 40]
add x0, x1, x0
ldr d0, [x0]
fmul d0, d2, d0
fadd d0, d1, d0
ldr x0, [x29, 80]
ldrsw x1, [x29, 64]
str d0, [x0, x1, lsl 3]
ldr w0, [x29, 68]
add w0, w0, 1
str w0, [x29, 68]
.L705:
ldr w1, [x29, 68]
ldr w0, [x29, 48]
cmp w1, w0
blt .L708
b .L707
.L717:
nop
.L707:
ldr w0, [x29, 64]
add w0, w0, 1
str w0, [x29, 64]
.L704:
ldr w1, [x29, 64]
ldr w0, [x29, 52]
cmp w1, w0
blt .L709
ldr x0, [x29, 80]
ldr d0, [x0]
ldr x0, [x29, 16]
str d0, [x0]
mov w0, 1
str w0, [x29, 64]
b .L710
.L715:
ldrsw x0, [x29, 64]
lsl x0, x0, 3
ldr x1, [x29, 16]
add x0, x1, x0
str xzr, [x0]
ldrsw x0, [x29, 64]
lsl x0, x0, 3
ldr x1, [x29, 16]
add x0, x1, x0
ldr d1, [x0]
ldr x0, [x29, 80]
ldrsw x1, [x29, 64]
ldr d0, [x0, x1, lsl 3]
ldrsw x0, [x29, 64]
lsl x0, x0, 3
ldr x1, [x29, 16]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
mov w0, 1
str w0, [x29, 68]
b .L711
.L714:
ldr w1, [x29, 68]
ldr w0, [x29, 64]
cmp w1, w0
bgt .L718
ldrsw x0, [x29, 64]
lsl x0, x0, 3
ldr x1, [x29, 16]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [x29, 64]
ldr w0, [x29, 68]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [x29, 16]
add x0, x1, x0
ldr d2, [x0]
ldrsw x0, [x29, 68]
lsl x0, x0, 3
ldr x1, [x29, 32]
add x0, x1, x0
ldr d0, [x0]
fneg d0, d0
fmul d0, d2, d0
ldrsw x0, [x29, 64]
lsl x0, x0, 3
ldr x1, [x29, 16]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [x29, 68]
add w0, w0, 1
str w0, [x29, 68]
.L711:
ldr w1, [x29, 68]
ldr w0, [x29, 28]
cmp w1, w0
blt .L714
b .L713
.L718:
nop
.L713:
ldr w0, [x29, 64]
add w0, w0, 1
str w0, [x29, 64]
.L710:
ldr w1, [x29, 64]
ldr w0, [x29, 52]
cmp w1, w0
blt .L715
mov sp, x2
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 88]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L716
bl __stack_chk_fail
.L716:
mov sp, x29
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE110:
.size double_direct_form_1_impl2, .-double_direct_form_1_impl2
.align 2
.global fxp_direct_form_1_impl2
.type fxp_direct_form_1_impl2, %function
fxp_direct_form_1_impl2:
.LFB111:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
str x21, [sp, 32]
sub sp, sp, #16
.cfi_offset 19, -112
.cfi_offset 20, -104
.cfi_offset 21, -96
str x0, [x29, 88]
str w1, [x29, 84]
str x2, [x29, 72]
str w3, [x29, 80]
str x4, [x29, 64]
str w5, [x29, 60]
str x6, [x29, 48]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 120]
mov x1, 0
mov x0, sp
mov x21, x0
str wzr, [x29, 96]
str wzr, [x29, 100]
ldr w0, [x29, 84]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 104]
sxtw x1, w0
mov x14, x1
mov x15, 0
lsr x1, x14, 58
lsl x11, x15, 6
orr x11, x1, x11
lsl x10, x14, 6
sxtw x1, w0
mov x12, x1
mov x13, 0
lsr x1, x12, 58
lsl x9, x13, 6
orr x9, x1, x9
lsl x8, x12, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L720:
cmp sp, x1
beq .L721
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L720
.L721:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L722
str xzr, [sp, 1024]
.L722:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 112]
str wzr, [x29, 96]
b .L723
.L728:
ldr x0, [x29, 112]
ldrsw x1, [x29, 96]
str xzr, [x0, x1, lsl 3]
str wzr, [x29, 100]
b .L724
.L727:
ldr w1, [x29, 100]
ldr w0, [x29, 96]
cmp w1, w0
bgt .L736
ldr x0, [x29, 112]
ldrsw x1, [x29, 96]
ldr x19, [x0, x1, lsl 3]
ldr w1, [x29, 96]
ldr w0, [x29, 100]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [x29, 88]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [x29, 100]
lsl x0, x0, 3
ldr x1, [x29, 72]
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl fxp_mult
mov x1, x0
mov x0, x19
bl fxp_add
mov x2, x0
ldr x0, [x29, 112]
ldrsw x1, [x29, 96]
str x2, [x0, x1, lsl 3]
ldr w0, [x29, 100]
add w0, w0, 1
str w0, [x29, 100]
.L724:
ldr w1, [x29, 100]
ldr w0, [x29, 80]
cmp w1, w0
blt .L727
b .L726
.L736:
nop
.L726:
ldr w0, [x29, 96]
add w0, w0, 1
str w0, [x29, 96]
.L723:
ldr w1, [x29, 96]
ldr w0, [x29, 84]
cmp w1, w0
blt .L728
ldr x0, [x29, 112]
ldr x1, [x0]
ldr x0, [x29, 48]
str x1, [x0]
mov w0, 1
str w0, [x29, 96]
b .L729
.L734:
ldrsw x0, [x29, 96]
lsl x0, x0, 3
ldr x1, [x29, 48]
add x0, x1, x0
str xzr, [x0]
ldrsw x0, [x29, 96]
lsl x0, x0, 3
ldr x1, [x29, 48]
add x0, x1, x0
ldr x2, [x0]
ldr x0, [x29, 112]
ldrsw x1, [x29, 96]
ldr x3, [x0, x1, lsl 3]
ldrsw x0, [x29, 96]
lsl x0, x0, 3
ldr x1, [x29, 48]
add x19, x1, x0
mov x1, x3
mov x0, x2
bl fxp_add
str x0, [x19]
mov w0, 1
str w0, [x29, 100]
b .L730
.L733:
ldr w1, [x29, 100]
ldr w0, [x29, 96]
cmp w1, w0
bgt .L737
ldrsw x0, [x29, 96]
lsl x0, x0, 3
ldr x1, [x29, 48]
add x0, x1, x0
ldr x20, [x0]
ldr w1, [x29, 96]
ldr w0, [x29, 100]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [x29, 48]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [x29, 100]
lsl x0, x0, 3
ldr x1, [x29, 64]
add x0, x1, x0
ldr x0, [x0]
neg x0, x0
mov x1, x0
mov x0, x2
bl fxp_mult
mov x2, x0
ldrsw x0, [x29, 96]
lsl x0, x0, 3
ldr x1, [x29, 48]
add x19, x1, x0
mov x1, x2
mov x0, x20
bl fxp_add
str x0, [x19]
ldr w0, [x29, 100]
add w0, w0, 1
str w0, [x29, 100]
.L730:
ldr w1, [x29, 100]
ldr w0, [x29, 60]
cmp w1, w0
blt .L733
b .L732
.L737:
nop
.L732:
ldr w0, [x29, 96]
add w0, w0, 1
str w0, [x29, 96]
.L729:
ldr w1, [x29, 96]
ldr w0, [x29, 84]
cmp w1, w0
blt .L734
mov sp, x21
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 120]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L735
bl __stack_chk_fail
.L735:
mov sp, x29
ldp x19, x20, [sp, 16]
ldr x21, [sp, 32]
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_restore 21
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE111:
.size fxp_direct_form_1_impl2, .-fxp_direct_form_1_impl2
.align 2
.global nchoosek
.type nchoosek, %function
nchoosek:
.LFB112:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
ldr w0, [sp, 24]
cmp w0, 0
bne .L739
mov w0, 1
b .L740
.L739:
ldr w0, [sp, 28]
sub w2, w0, #1
ldr w0, [sp, 24]
sub w0, w0, #1
mov w1, w0
mov w0, w2
bl nchoosek
mov w1, w0
ldr w0, [sp, 28]
mul w1, w1, w0
ldr w0, [sp, 24]
sdiv w0, w1, w0
.L740:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE112:
.size nchoosek, .-nchoosek
.align 2
.global generate_delta_coefficients
.type generate_delta_coefficients, %function
generate_delta_coefficients:
.LFB113:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str d8, [sp, 16]
.cfi_offset 72, -80
str x0, [sp, 56]
str x1, [sp, 48]
str w2, [sp, 44]
str d0, [sp, 32]
ldr w0, [sp, 44]
sub w0, w0, #1
str w0, [sp, 84]
str wzr, [sp, 76]
b .L742
.L745:
str xzr, [sp, 88]
str wzr, [sp, 80]
b .L743
.L744:
ldrsw x0, [sp, 80]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d8, [x0]
ldr w1, [sp, 84]
ldr w0, [sp, 80]
sub w2, w1, w0
ldr w1, [sp, 76]
ldr w0, [sp, 80]
sub w0, w1, w0
mov w1, w0
mov w0, w2
bl nchoosek
scvtf d0, w0
fmul d0, d8, d0
ldr d1, [sp, 88]
fadd d0, d1, d0
str d0, [sp, 88]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L743:
ldr w1, [sp, 80]
ldr w0, [sp, 76]
cmp w1, w0
ble .L744
ldr w1, [sp, 84]
ldr w0, [sp, 76]
sub w0, w1, w0
scvtf d0, w0
fmov d1, d0
ldr d0, [sp, 32]
bl internal_pow
fmov d1, d0
ldrsw x0, [sp, 76]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr d0, [sp, 88]
fmul d0, d1, d0
str d0, [x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L742:
ldr w1, [sp, 76]
ldr w0, [sp, 84]
cmp w1, w0
ble .L745
nop
nop
ldr d8, [sp, 16]
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE113:
.size generate_delta_coefficients, .-generate_delta_coefficients
.align 2
.global get_delta_transfer_function
.type get_delta_transfer_function, %function
get_delta_transfer_function:
.LFB114:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str w2, [sp, 44]
str x3, [sp, 32]
str x4, [sp, 24]
str w5, [sp, 40]
str d0, [sp, 16]
ldr d0, [sp, 16]
ldr w2, [sp, 44]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl generate_delta_coefficients
ldr d0, [sp, 16]
ldr w2, [sp, 40]
ldr x1, [sp, 24]
ldr x0, [sp, 32]
bl generate_delta_coefficients
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE114:
.size get_delta_transfer_function, .-get_delta_transfer_function
.align 2
.global get_delta_transfer_function_with_base
.type get_delta_transfer_function_with_base, %function
get_delta_transfer_function_with_base:
.LFB115:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str d8, [sp, 16]
.cfi_offset 72, -96
str x0, [sp, 72]
str x1, [sp, 64]
str w2, [sp, 60]
str x3, [sp, 48]
str x4, [sp, 40]
str w5, [sp, 56]
str d0, [sp, 32]
ldr w0, [sp, 56]
sub w0, w0, #1
str w0, [sp, 96]
ldr w0, [sp, 60]
sub w0, w0, #1
str w0, [sp, 100]
str wzr, [sp, 88]
b .L748
.L751:
str xzr, [sp, 104]
str wzr, [sp, 92]
b .L749
.L750:
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr d8, [x0]
ldr w1, [sp, 96]
ldr w0, [sp, 92]
sub w2, w1, w0
ldr w1, [sp, 88]
ldr w0, [sp, 92]
sub w0, w1, w0
mov w1, w0
mov w0, w2
bl nchoosek
scvtf d0, w0
fmul d0, d8, d0
ldr d1, [sp, 104]
fadd d0, d1, d0
str d0, [sp, 104]
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L749:
ldr w1, [sp, 92]
ldr w0, [sp, 88]
cmp w1, w0
ble .L750
ldr w1, [sp, 96]
ldr w0, [sp, 88]
sub w0, w1, w0
scvtf d0, w0
fmov d1, d0
ldr d0, [sp, 32]
bl internal_pow
fmov d1, d0
ldrsw x0, [sp, 88]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr d0, [sp, 104]
fmul d0, d1, d0
str d0, [x0]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L748:
ldr w1, [sp, 88]
ldr w0, [sp, 96]
cmp w1, w0
ble .L751
str wzr, [sp, 88]
b .L752
.L755:
str xzr, [sp, 104]
str wzr, [sp, 92]
b .L753
.L754:
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr d8, [x0]
ldr w1, [sp, 100]
ldr w0, [sp, 92]
sub w2, w1, w0
ldr w1, [sp, 88]
ldr w0, [sp, 92]
sub w0, w1, w0
mov w1, w0
mov w0, w2
bl nchoosek
scvtf d0, w0
fmul d0, d8, d0
ldr d1, [sp, 104]
fadd d0, d1, d0
str d0, [sp, 104]
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L753:
ldr w1, [sp, 92]
ldr w0, [sp, 88]
cmp w1, w0
ble .L754
ldr w1, [sp, 100]
ldr w0, [sp, 88]
sub w0, w1, w0
scvtf d0, w0
fmov d1, d0
ldr d0, [sp, 32]
bl internal_pow
fmov d1, d0
ldrsw x0, [sp, 88]
lsl x0, x0, 3
ldr x1, [sp, 64]
add x0, x1, x0
ldr d0, [sp, 104]
fmul d0, d1, d0
str d0, [x0]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L752:
ldr w1, [sp, 88]
ldr w0, [sp, 100]
cmp w1, w0
ble .L755
nop
nop
ldr d8, [sp, 16]
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE115:
.size get_delta_transfer_function_with_base, .-get_delta_transfer_function_with_base
.align 2
.global ft_closedloop_series
.type ft_closedloop_series, %function
ft_closedloop_series:
.LFB116:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
mov x29, sp
.cfi_def_cfa_register 29
str x19, [sp, 16]
sub sp, sp, #16
.cfi_offset 19, -112
str x0, [x29, 88]
str w1, [x29, 84]
str x2, [x29, 72]
str w3, [x29, 80]
str x4, [x29, 64]
str w5, [x29, 60]
str x6, [x29, 48]
str w7, [x29, 56]
ldr x0, [x29, 128]
str x0, [x29, 40]
ldr x0, [x29, 144]
str x0, [x29, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 120]
mov x1, 0
mov x0, sp
mov x19, x0
ldr w1, [x29, 84]
ldr w0, [x29, 60]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 136]
ldr w1, [x29, 80]
ldr w0, [x29, 56]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 152]
ldr w0, [x29, 152]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 104]
sxtw x1, w0
mov x14, x1
mov x15, 0
lsr x1, x14, 58
lsl x11, x15, 6
orr x11, x1, x11
lsl x10, x14, 6
sxtw x1, w0
mov x12, x1
mov x13, 0
lsr x1, x12, 58
lsl x9, x13, 6
orr x9, x1, x9
lsl x8, x12, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L757:
cmp sp, x1
beq .L758
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L757
.L758:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L759
str xzr, [sp, 1024]
.L759:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 112]
ldr w5, [x29, 136]
ldr x4, [x29, 40]
ldr w3, [x29, 60]
ldr x2, [x29, 64]
ldr w1, [x29, 84]
ldr x0, [x29, 88]
bl poly_mult
ldr w5, [x29, 152]
ldr x4, [x29, 112]
ldr w3, [x29, 56]
ldr x2, [x29, 48]
ldr w1, [x29, 80]
ldr x0, [x29, 72]
bl poly_mult
ldr w5, [x29, 152]
ldr x4, [x29, 32]
ldr w3, [x29, 152]
ldr x2, [x29, 112]
ldr w1, [x29, 136]
ldr x0, [x29, 40]
bl poly_sum
mov sp, x19
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 120]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L760
bl __stack_chk_fail
.L760:
mov sp, x29
ldr x19, [sp, 16]
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE116:
.size ft_closedloop_series, .-ft_closedloop_series
.align 2
.global ft_closedloop_sensitivity
.type ft_closedloop_sensitivity, %function
ft_closedloop_sensitivity:
.LFB117:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
mov x29, sp
.cfi_def_cfa_register 29
str x19, [sp, 16]
sub sp, sp, #16
.cfi_offset 19, -112
str x0, [x29, 88]
str w1, [x29, 84]
str x2, [x29, 72]
str w3, [x29, 80]
str x4, [x29, 64]
str w5, [x29, 60]
str x6, [x29, 48]
str w7, [x29, 56]
ldr x0, [x29, 128]
str x0, [x29, 40]
ldr x0, [x29, 144]
str x0, [x29, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 120]
mov x1, 0
mov x0, sp
mov x19, x0
ldr w1, [x29, 84]
ldr w0, [x29, 60]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 100]
ldr w1, [x29, 80]
ldr w0, [x29, 56]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 152]
ldr w1, [x29, 80]
ldr w0, [x29, 56]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 136]
ldr w0, [x29, 100]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 104]
sxtw x1, w0
mov x14, x1
mov x15, 0
lsr x1, x14, 58
lsl x11, x15, 6
orr x11, x1, x11
lsl x10, x14, 6
sxtw x1, w0
mov x12, x1
mov x13, 0
lsr x1, x12, 58
lsl x9, x13, 6
orr x9, x1, x9
lsl x8, x12, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L762:
cmp sp, x1
beq .L763
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L762
.L763:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L764
str xzr, [sp, 1024]
.L764:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 112]
ldr w5, [x29, 136]
ldr x4, [x29, 40]
ldr w3, [x29, 56]
ldr x2, [x29, 48]
ldr w1, [x29, 80]
ldr x0, [x29, 72]
bl poly_mult
ldr w5, [x29, 100]
ldr x4, [x29, 112]
ldr w3, [x29, 60]
ldr x2, [x29, 64]
ldr w1, [x29, 84]
ldr x0, [x29, 88]
bl poly_mult
ldr w5, [x29, 152]
ldr x4, [x29, 32]
ldr w3, [x29, 100]
ldr x2, [x29, 112]
ldr w1, [x29, 136]
ldr x0, [x29, 40]
bl poly_sum
mov sp, x19
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 120]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L765
bl __stack_chk_fail
.L765:
mov sp, x29
ldr x19, [sp, 16]
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE117:
.size ft_closedloop_sensitivity, .-ft_closedloop_sensitivity
.align 2
.global ft_closedloop_feedback
.type ft_closedloop_feedback, %function
ft_closedloop_feedback:
.LFB118:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
sub sp, sp, #16
.cfi_offset 19, -160
.cfi_offset 20, -152
.cfi_offset 21, -144
.cfi_offset 22, -136
.cfi_offset 23, -128
.cfi_offset 24, -120
str x0, [x29, 120]
str w1, [x29, 116]
str x2, [x29, 104]
str w3, [x29, 112]
str x4, [x29, 96]
str w5, [x29, 92]
str x6, [x29, 80]
str w7, [x29, 88]
ldr x0, [x29, 176]
str x0, [x29, 72]
ldr x0, [x29, 192]
str x0, [x29, 64]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 168]
mov x1, 0
mov x0, sp
mov x24, x0
ldr w1, [x29, 112]
ldr w0, [x29, 92]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 184]
ldr w1, [x29, 112]
ldr w0, [x29, 88]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 200]
ldr w1, [x29, 116]
ldr w0, [x29, 92]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 132]
ldr w0, [x29, 200]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 136]
sxtw x1, w0
mov x22, x1
mov x23, 0
lsr x1, x22, 58
lsl x15, x23, 6
orr x15, x1, x15
lsl x14, x22, 6
sxtw x1, w0
mov x20, x1
mov x21, 0
lsr x1, x20, 58
lsl x13, x21, 6
orr x13, x1, x13
lsl x12, x20, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L767:
cmp sp, x1
beq .L768
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L767
.L768:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L769
str xzr, [sp, 1024]
.L769:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 144]
ldr w0, [x29, 132]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 152]
sxtw x1, w0
mov x18, x1
mov x19, 0
lsr x1, x18, 58
lsl x11, x19, 6
orr x11, x1, x11
lsl x10, x18, 6
sxtw x1, w0
mov x16, x1
mov x17, 0
lsr x1, x16, 58
lsl x9, x17, 6
orr x9, x1, x9
lsl x8, x16, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L770:
cmp sp, x1
beq .L771
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L770
.L771:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L772
str xzr, [sp, 1024]
.L772:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 160]
ldr w5, [x29, 132]
ldr x4, [x29, 160]
ldr w3, [x29, 92]
ldr x2, [x29, 96]
ldr w1, [x29, 116]
ldr x0, [x29, 120]
bl poly_mult
ldr w5, [x29, 200]
ldr x4, [x29, 144]
ldr w3, [x29, 88]
ldr x2, [x29, 80]
ldr w1, [x29, 112]
ldr x0, [x29, 104]
bl poly_mult
ldr w5, [x29, 200]
ldr x4, [x29, 64]
ldr w3, [x29, 200]
ldr x2, [x29, 144]
ldr w1, [x29, 132]
ldr x0, [x29, 160]
bl poly_sum
ldr w5, [x29, 184]
ldr x4, [x29, 72]
ldr w3, [x29, 92]
ldr x2, [x29, 96]
ldr w1, [x29, 112]
ldr x0, [x29, 104]
bl poly_mult
mov sp, x24
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 168]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L773
bl __stack_chk_fail
.L773:
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE118:
.size ft_closedloop_feedback, .-ft_closedloop_feedback
.align 2
.global check_stability_closedloop
.type check_stability_closedloop, %function
check_stability_closedloop:
.LFB119:
.cfi_startproc
stp x29, x30, [sp, -224]!
.cfi_def_cfa_offset 224
.cfi_offset 29, -224
.cfi_offset 30, -216
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
str d8, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -208
.cfi_offset 20, -200
.cfi_offset 21, -192
.cfi_offset 22, -184
.cfi_offset 23, -176
.cfi_offset 24, -168
.cfi_offset 25, -160
.cfi_offset 26, -152
.cfi_offset 72, -144
str x0, [x29, 136]
str w1, [x29, 132]
str x2, [x29, 120]
str w3, [x29, 128]
str x4, [x29, 112]
str w5, [x29, 108]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 216]
mov x1, 0
mov x0, sp
mov x26, x0
ldr w0, [x29, 132]
str w0, [x29, 148]
ldr w1, [x29, 132]
ldr w0, [x29, 132]
lsl w0, w0, 1
sub w2, w0, #1
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 176]
sxtw x0, w1
mov x24, x0
mov x25, 0
lsr x0, x24, 58
lsl x19, x25, 6
orr x19, x0, x19
lsl x18, x24, 6
sxtw x0, w1
lsl x19, x0, 3
sxtw x0, w2
sub x0, x0, #1
str x0, [x29, 184]
sxtw x0, w1
mov x12, x0
mov x13, 0
sxtw x0, w2
mov x10, x0
mov x11, 0
mul x3, x12, x10
umulh x0, x12, x10
madd x0, x13, x10, x0
madd x0, x12, x11, x0
mov x22, x3
mov x23, x0
lsr x0, x22, 58
lsl x17, x23, 6
orr x17, x0, x17
lsl x16, x22, 6
sxtw x0, w1
mov x8, x0
mov x9, 0
sxtw x0, w2
mov x6, x0
mov x7, 0
mul x3, x8, x6
umulh x0, x8, x6
madd x0, x9, x6, x0
madd x0, x8, x7, x0
mov x20, x3
mov x21, x0
lsr x0, x20, 58
lsl x15, x21, 6
orr x15, x0, x15
lsl x14, x20, 6
sxtw x1, w1
sxtw x0, w2
mul x0, x1, x0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L775:
cmp sp, x1
beq .L776
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L775
.L776:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L777
str xzr, [sp, 1024]
.L777:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 192]
str wzr, [x29, 164]
ldr x0, [x29, 120]
str x0, [x29, 200]
ldr x0, [x29, 112]
str x0, [x29, 208]
str xzr, [x29, 168]
str wzr, [x29, 152]
b .L778
.L779:
ldrsw x0, [x29, 152]
lsl x0, x0, 3
ldr x1, [x29, 136]
add x0, x1, x0
ldr d0, [x0]
ldr d1, [x29, 168]
fadd d0, d1, d0
str d0, [x29, 168]
ldr w0, [x29, 152]
add w0, w0, 1
str w0, [x29, 152]
.L778:
ldr w1, [x29, 152]
ldr w0, [x29, 132]
cmp w1, w0
blt .L779
ldr d0, [x29, 168]
fcmpe d0, #0.0
cset w0, gt
and w0, w0, 255
bl __DSVERIFIER_assert
str xzr, [x29, 168]
str wzr, [x29, 152]
b .L780
.L781:
ldrsw x0, [x29, 152]
lsl x0, x0, 3
ldr x1, [x29, 136]
add x0, x1, x0
ldr d8, [x0]
ldr w0, [x29, 132]
sub w1, w0, #1
ldr w0, [x29, 152]
sub w0, w1, w0
scvtf d0, w0
fmov d1, d0
fmov d0, -1.0e+0
bl internal_pow
fmul d0, d8, d0
ldr d1, [x29, 168]
fadd d0, d1, d0
str d0, [x29, 168]
ldr w0, [x29, 152]
add w0, w0, 1
str w0, [x29, 152]
.L780:
ldr w1, [x29, 152]
ldr w0, [x29, 132]
cmp w1, w0
blt .L781
ldr w0, [x29, 132]
sub w0, w0, #1
scvtf d0, w0
fmov d1, d0
fmov d0, -1.0e+0
bl internal_pow
fmov d1, d0
ldr d0, [x29, 168]
fmul d0, d0, d1
str d0, [x29, 168]
ldr d0, [x29, 168]
fcmpe d0, #0.0
cset w0, gt
and w0, w0, 255
bl __DSVERIFIER_assert
ldrsw x0, [x29, 132]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [x29, 136]
add x0, x1, x0
ldr d0, [x0]
bl internal_abs
fmov d1, d0
ldr x0, [x29, 136]
ldr d0, [x0]
fcmpe d1, d0
cset w0, mi
and w0, w0, 255
bl __DSVERIFIER_assert
str wzr, [x29, 152]
b .L782
.L794:
str wzr, [x29, 156]
b .L783
.L793:
lsr x1, x19, 3
ldr x0, [x29, 192]
ldrsw x2, [x29, 156]
ldrsw x3, [x29, 152]
mul x1, x3, x1
add x1, x2, x1
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 152]
cmp w0, 0
bne .L784
ldrsw x0, [x29, 156]
lsl x0, x0, 3
ldr x1, [x29, 136]
add x0, x1, x0
lsr x1, x19, 3
ldr d0, [x0]
ldr x0, [x29, 192]
ldrsw x2, [x29, 156]
ldrsw x3, [x29, 152]
mul x1, x3, x1
add x1, x2, x1
str d0, [x0, x1, lsl 3]
b .L785
.L784:
ldr w0, [x29, 152]
and w0, w0, 1
cmp w0, 0
beq .L786
str wzr, [x29, 160]
b .L787
.L788:
lsr x2, x19, 3
ldr w0, [x29, 152]
sub w4, w0, #1
ldr w1, [x29, 148]
ldr w0, [x29, 160]
sub w0, w1, w0
sub w3, w0, #1
lsr x1, x19, 3
ldr x0, [x29, 192]
sxtw x3, w3
sxtw x4, w4
mul x2, x4, x2
add x2, x3, x2
ldr d0, [x0, x2, lsl 3]
ldr x0, [x29, 192]
ldrsw x2, [x29, 160]
ldrsw x3, [x29, 152]
mul x1, x3, x1
add x1, x2, x1
str d0, [x0, x1, lsl 3]
ldr w0, [x29, 160]
add w0, w0, 1
str w0, [x29, 160]
.L787:
ldr w1, [x29, 160]
ldr w0, [x29, 148]
cmp w1, w0
blt .L788
ldr w0, [x29, 148]
sub w0, w0, #1
str w0, [x29, 148]
ldr w0, [x29, 148]
str w0, [x29, 156]
b .L785
.L786:
lsr x1, x19, 3
ldr w0, [x29, 152]
sub w2, w0, #2
ldr x0, [x29, 192]
sxtw x2, w2
mul x1, x2, x1
ldr d0, [x0, x1, lsl 3]
fcmpe d0, #0.0
cset w0, gt
and w0, w0, 255
bl __DSVERIFIER_assert
lsr x1, x19, 3
ldr w0, [x29, 152]
sub w3, w0, #2
ldr x0, [x29, 192]
ldrsw x2, [x29, 156]
sxtw x3, w3
mul x1, x3, x1
add x1, x2, x1
ldr d1, [x0, x1, lsl 3]
lsr x1, x19, 3
ldr w0, [x29, 152]
sub w3, w0, #2
ldr x0, [x29, 192]
ldrsw x2, [x29, 148]
sxtw x3, w3
mul x1, x3, x1
add x1, x2, x1
ldr d2, [x0, x1, lsl 3]
lsr x1, x19, 3
ldr w0, [x29, 152]
sub w2, w0, #2
ldr x0, [x29, 192]
sxtw x2, w2
mul x1, x2, x1
ldr d0, [x0, x1, lsl 3]
fdiv d2, d2, d0
lsr x1, x19, 3
ldr w0, [x29, 152]
sub w3, w0, #1
ldr x0, [x29, 192]
ldrsw x2, [x29, 156]
sxtw x3, w3
mul x1, x3, x1
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
fmul d0, d2, d0
lsr x1, x19, 3
fsub d0, d1, d0
ldr x0, [x29, 192]
ldrsw x2, [x29, 156]
ldrsw x3, [x29, 152]
mul x1, x3, x1
add x1, x2, x1
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 192]
ldr d0, [x0]
fcmpe d0, #0.0
bge .L797
b .L789
.L797:
lsr x1, x19, 3
ldr x0, [x29, 192]
ldrsw x2, [x29, 152]
mul x1, x2, x1
ldr d0, [x0, x1, lsl 3]
fcmpe d0, #0.0
bge .L798
b .L789
.L798:
mov w0, 1
b .L792
.L789:
mov w0, 0
.L792:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assert
.L785:
ldr w0, [x29, 156]
add w0, w0, 1
str w0, [x29, 156]
.L783:
ldr w1, [x29, 156]
ldr w0, [x29, 148]
cmp w1, w0
blt .L793
ldr w0, [x29, 152]
add w0, w0, 1
str w0, [x29, 152]
.L782:
ldr w0, [x29, 132]
lsl w0, w0, 1
sub w0, w0, #1
ldr w1, [x29, 152]
cmp w1, w0
blt .L794
mov w0, 1
mov sp, x26
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 216]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L796
bl __stack_chk_fail
.L796:
mov w0, w1
mov sp, x29
ldr d8, [sp, 80]
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldp x29, x30, [sp], 224
.cfi_restore 30
.cfi_restore 29
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_restore 72
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE119:
.size check_stability_closedloop, .-check_stability_closedloop
.section .rodata
.align 3
.LC34:
.string "impl.frac_bits must be less than word width!"
.align 3
.LC35:
.string "impl.int_bits must be less than word width subtracted by precision!"
.align 3
.LC36:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/core/initialization.h"
.align 3
.LC37:
.string "0"
.text
.align 2
.global initialization
.type initialization, %function
initialization:
.LFB120:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
cmp w0, 31
ble .L800
adrp x0, .LC34
add x0, x0, :lo12:.LC34
bl puts
.L800:
adrp x0, impl
add x0, x0, :lo12:impl
ldr w1, [x0]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
mov w2, 32
sub w0, w2, w0
cmp w1, w0
blt .L801
adrp x0, .LC35
add x0, x0, :lo12:.LC35
bl puts
adrp x0, __PRETTY_FUNCTION__.9
add x3, x0, :lo12:__PRETTY_FUNCTION__.9
mov w2, 33
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC37
add x0, x0, :lo12:.LC37
bl __assert_fail
.L801:
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
cmp w0, 30
ble .L802
adrp x0, _fxp_one
add x0, x0, :lo12:_fxp_one
mov x1, 2147483647
str x1, [x0]
b .L803
.L802:
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
mov w1, 1
lsl w0, w1, w0
sxtw x1, w0
adrp x0, _fxp_one
add x0, x0, :lo12:_fxp_one
str x1, [x0]
.L803:
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
sub w0, w0, #1
mov w1, 1
lsl w0, w1, w0
sxtw x1, w0
adrp x0, _fxp_half
add x0, x0, :lo12:_fxp_half
str x1, [x0]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
mov w1, 1
lsl w0, w1, w0
neg w0, w0
sxtw x1, w0
adrp x0, _fxp_minus_one
add x0, x0, :lo12:_fxp_minus_one
str x1, [x0]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w1, [x0, 4]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0]
add w0, w1, w0
sub w0, w0, #1
mov w1, 1
lsl w0, w1, w0
neg w0, w0
sxtw x1, w0
adrp x0, _fxp_min
add x0, x0, :lo12:_fxp_min
str x1, [x0]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w1, [x0, 4]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0]
add w0, w1, w0
sub w0, w0, #1
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
sxtw x1, w0
adrp x0, _fxp_max
add x0, x0, :lo12:_fxp_max
str x1, [x0]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
sxtw x1, w0
adrp x0, _fxp_fmask
add x0, x0, :lo12:_fxp_fmask
str x1, [x0]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
mov w1, 31
sub w0, w1, w0
mov w1, -2147483648
lsr w0, w1, w0
uxtw x1, w0
adrp x0, _fxp_imask
add x0, x0, :lo12:_fxp_imask
str x1, [x0]
adrp x0, _fxp_min
add x0, x0, :lo12:_fxp_min
ldr d0, [x0]
scvtf d0, d0
adrp x0, _dbl_min
add x0, x0, :lo12:_dbl_min
str d0, [x0]
adrp x0, _dbl_min
add x0, x0, :lo12:_dbl_min
ldr d1, [x0]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
mov w1, 1
lsl w0, w1, w0
scvtf d0, w0
fdiv d0, d1, d0
adrp x0, _dbl_min
add x0, x0, :lo12:_dbl_min
str d0, [x0]
adrp x0, _fxp_max
add x0, x0, :lo12:_fxp_max
ldr d0, [x0]
scvtf d0, d0
adrp x0, _dbl_max
add x0, x0, :lo12:_dbl_max
str d0, [x0]
adrp x0, _dbl_max
add x0, x0, :lo12:_dbl_max
ldr d1, [x0]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
mov w1, 1
lsl w0, w1, w0
scvtf d0, w0
fdiv d0, d1, d0
adrp x0, _dbl_max
add x0, x0, :lo12:_dbl_max
str d0, [x0]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 40]
cmp w0, 0
beq .L804
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 40]
cmp w0, 1
bne .L805
.L804:
adrp x0, impl
add x0, x0, :lo12:impl
mov w1, 1
str w1, [x0, 40]
b .L799
.L805:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
fcmp d0, #0.0
beq .L807
adrp x0, impl
add x0, x0, :lo12:impl
ldr d1, [x0, 16]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 40]
scvtf d0, w0
fdiv d0, d1, d0
adrp x0, impl
add x0, x0, :lo12:impl
str d0, [x0, 16]
.L807:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
fcmp d0, #0.0
beq .L799
adrp x0, impl
add x0, x0, :lo12:impl
ldr d1, [x0, 8]
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 40]
scvtf d0, w0
fdiv d0, d1, d0
adrp x0, impl
add x0, x0, :lo12:impl
str d0, [x0, 8]
.L799:
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE120:
.size initialization, .-initialization
.align 2
.global double_state_space_representation
.type double_state_space_representation, %function
double_state_space_representation:
.LFB121:
.cfi_startproc
stp x29, x30, [sp, -288]!
.cfi_def_cfa_offset 288
.cfi_offset 29, -288
.cfi_offset 30, -280
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 280]
mov x1, 0
str wzr, [sp, 16]
b .L809
.L812:
str wzr, [sp, 20]
b .L810
.L811:
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 24
str xzr, [x1, x0]
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 152
str xzr, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L810:
ldr w0, [sp, 20]
cmp w0, 3
ble .L811
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L809:
ldr w0, [sp, 16]
cmp w0, 3
ble .L812
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
add x0, sp, 24
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 512
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 256
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w2, w0
add x0, sp, 152
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 768
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 384
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w5, w0
add x2, sp, 152
add x1, sp, 24
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 640
mov x3, x2
mov x2, x1
mov w1, 1
mov w0, w5
bl double_add_matrix
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
add x0, sp, 24
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 512
adrp x0, :got:_controller
ldr x4, [x0, #:got_lo12:_controller]
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w2, w0
add x0, sp, 152
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 768
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 128
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w5, w0
add x2, sp, 152
add x1, sp, 24
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 512
mov x3, x2
mov x2, x1
mov w1, 1
mov w0, w5
bl double_add_matrix
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldr d0, [x0, 640]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 280]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L814
bl __stack_chk_fail
.L814:
ldp x29, x30, [sp], 288
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE121:
.size double_state_space_representation, .-double_state_space_representation
.align 2
.global fxp_state_space_representation
.type fxp_state_space_representation, %function
fxp_state_space_representation:
.LFB122:
.cfi_startproc
sub sp, sp, #1184
.cfi_def_cfa_offset 1184
stp x29, x30, [sp]
.cfi_offset 29, -1184
.cfi_offset 30, -1176
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1176]
mov x1, 0
str wzr, [sp, 16]
b .L816
.L819:
str wzr, [sp, 20]
b .L817
.L818:
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 24
str xzr, [x1, x0]
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 152
str xzr, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L817:
ldr w0, [sp, 20]
cmp w0, 3
ble .L818
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L816:
ldr w0, [sp, 16]
cmp w0, 3
ble .L819
str wzr, [sp, 16]
b .L820
.L823:
str wzr, [sp, 20]
b .L821
.L822:
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 280
str xzr, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L821:
ldr w0, [sp, 20]
cmp w0, 3
ble .L822
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L820:
ldr w0, [sp, 16]
cmp w0, 3
ble .L823
str wzr, [sp, 16]
b .L824
.L827:
str wzr, [sp, 20]
b .L825
.L826:
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 408
str xzr, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L825:
ldr w0, [sp, 20]
cmp w0, 3
ble .L826
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L824:
ldr w0, [sp, 16]
cmp w0, 3
ble .L827
str wzr, [sp, 16]
b .L828
.L831:
str wzr, [sp, 20]
b .L829
.L830:
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 536
str xzr, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L829:
ldr w0, [sp, 20]
cmp w0, 3
ble .L830
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L828:
ldr w0, [sp, 16]
cmp w0, 3
ble .L831
str wzr, [sp, 16]
b .L832
.L835:
str wzr, [sp, 20]
b .L833
.L834:
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 664
str xzr, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L833:
ldr w0, [sp, 20]
cmp w0, 3
ble .L834
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L832:
ldr w0, [sp, 16]
cmp w0, 3
ble .L835
str wzr, [sp, 16]
b .L836
.L839:
str wzr, [sp, 20]
b .L837
.L838:
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 792
str xzr, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L837:
ldr w0, [sp, 20]
cmp w0, 3
ble .L838
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L836:
ldr w0, [sp, 16]
cmp w0, 3
ble .L839
str wzr, [sp, 16]
b .L840
.L843:
str wzr, [sp, 20]
b .L841
.L842:
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 920
str xzr, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L841:
ldr w0, [sp, 20]
cmp w0, 3
ble .L842
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L840:
ldr w0, [sp, 16]
cmp w0, 3
ble .L843
str wzr, [sp, 16]
b .L844
.L847:
str wzr, [sp, 20]
b .L845
.L846:
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 1048
str xzr, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L845:
ldr w0, [sp, 20]
cmp w0, 3
ble .L846
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L844:
ldr w0, [sp, 16]
cmp w0, 3
ble .L847
str wzr, [sp, 16]
b .L848
.L851:
str wzr, [sp, 20]
b .L849
.L850:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 20]
ldrsw x2, [sp, 16]
lsl x2, x2, 2
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 280
str x2, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L849:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
blt .L850
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L848:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L851
str wzr, [sp, 16]
b .L852
.L855:
str wzr, [sp, 20]
b .L853
.L854:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 20]
ldrsw x2, [sp, 16]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 16
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 408
str x2, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L853:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
blt .L854
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L852:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L855
str wzr, [sp, 16]
b .L856
.L859:
str wzr, [sp, 20]
b .L857
.L858:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 20]
ldrsw x2, [sp, 16]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 32
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 536
str x2, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L857:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
blt .L858
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L856:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L859
str wzr, [sp, 16]
b .L860
.L863:
str wzr, [sp, 20]
b .L861
.L862:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 20]
ldrsw x2, [sp, 16]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 48
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 664
str x2, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L861:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
blt .L862
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L860:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L863
str wzr, [sp, 16]
b .L864
.L867:
str wzr, [sp, 20]
b .L865
.L866:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 20]
ldrsw x2, [sp, 16]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 64
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 792
str x2, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L865:
ldr w0, [sp, 20]
cmp w0, 0
ble .L866
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L864:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L867
str wzr, [sp, 16]
b .L868
.L871:
str wzr, [sp, 20]
b .L869
.L870:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 20]
ldrsw x2, [sp, 16]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 96
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 920
str x2, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L869:
ldr w0, [sp, 20]
cmp w0, 0
ble .L870
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L868:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L871
str wzr, [sp, 16]
b .L872
.L875:
str wzr, [sp, 20]
b .L873
.L874:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 20]
ldrsw x2, [sp, 16]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 80
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 1048
str x2, [x1, x0]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L873:
ldr w0, [sp, 20]
cmp w0, 0
ble .L874
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L872:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L875
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w9, w0
add x2, sp, 24
add x1, sp, 792
add x0, sp, 536
mov x6, x2
mov x5, x1
mov x4, x0
mov w3, 1
mov w2, w9
mov w1, w8
mov w0, w7
bl fxp_matrix_multiplication
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w8, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w9, w0
add x2, sp, 152
add x1, sp, 920
add x0, sp, 664
mov x6, x2
mov x5, x1
mov x4, x0
mov w3, 1
mov w2, w9
mov w1, w8
mov w0, w7
bl fxp_matrix_multiplication
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w5, w0
add x2, sp, 1048
add x1, sp, 152
add x0, sp, 24
mov x4, x2
mov x3, x1
mov x2, x0
mov w1, 1
mov w0, w5
bl fxp_add_matrix
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w9, w0
add x2, sp, 24
add x1, sp, 792
add x0, sp, 280
mov x6, x2
mov x5, x1
mov x4, x0
mov w3, 1
mov w2, w9
mov w1, w8
mov w0, w7
bl fxp_matrix_multiplication
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w8, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w9, w0
add x2, sp, 152
add x1, sp, 920
add x0, sp, 408
mov x6, x2
mov x5, x1
mov x4, x0
mov w3, 1
mov w2, w9
mov w1, w8
mov w0, w7
bl fxp_matrix_multiplication
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w5, w0
add x2, sp, 792
add x1, sp, 152
add x0, sp, 24
mov x4, x2
mov x3, x1
mov x2, x0
mov w1, 1
mov w0, w5
bl fxp_add_matrix
str wzr, [sp, 16]
b .L876
.L879:
str wzr, [sp, 20]
b .L877
.L878:
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 792
ldr x0, [x1, x0]
bl fxp_to_double
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 20]
ldrsw x2, [sp, 16]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 64
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L877:
ldr w0, [sp, 20]
cmp w0, 0
ble .L878
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L876:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L879
str wzr, [sp, 16]
b .L880
.L883:
str wzr, [sp, 20]
b .L881
.L882:
ldrsw x0, [sp, 20]
ldrsw x1, [sp, 16]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 1048
ldr x0, [x1, x0]
bl fxp_to_double
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 20]
ldrsw x2, [sp, 16]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 80
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L881:
ldr w0, [sp, 20]
cmp w0, 0
ble .L882
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L880:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L883
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldr d0, [x0, 640]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1176]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L885
bl __stack_chk_fail
.L885:
ldp x29, x30, [sp]
add sp, sp, 1184
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE122:
.size fxp_state_space_representation, .-fxp_state_space_representation
.section .rodata
.align 3
.LC38:
.string "Warning: Function sinTyl from bmc/core/filter_functions.h: Precision must be a positive integer. Assuming 0 precision"
.align 3
.LC39:
.string "Warning: Function sinTyl from bmc/core/filter_functions.h: Precision representation exceeded. Assuming maximum precision of 6"
.text
.align 2
.global sinTyl
.type sinTyl, %function
sinTyl:
.LFB123:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str d0, [sp, 24]
str w0, [sp, 20]
ldr d0, [sp, 24]
fmul d0, d0, d0
str d0, [sp, 48]
ldr w0, [sp, 20]
cmp w0, 0
bge .L887
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl puts
str wzr, [sp, 20]
.L887:
ldr w0, [sp, 20]
cmp w0, 0
blt .L888
str xzr, [sp, 56]
ldr d0, [sp, 56]
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 0
ble .L888
ldr d0, [sp, 24]
str d0, [sp, 56]
ldr d1, [sp, 40]
ldr d0, [sp, 56]
fadd d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 1
ble .L888
ldr d1, [sp, 56]
ldr d0, [sp, 48]
fmul d0, d1, d0
str d0, [sp, 56]
fmov d0, 6.0e+0
ldr d1, [sp, 56]
fdiv d0, d1, d0
ldr d1, [sp, 40]
fsub d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 2
ble .L888
ldr d1, [sp, 56]
ldr d0, [sp, 48]
fmul d0, d1, d0
str d0, [sp, 56]
mov x0, 4638144666238189568
fmov d1, x0
ldr d0, [sp, 56]
fdiv d0, d0, d1
ldr d1, [sp, 40]
fadd d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 3
ble .L888
ldr d1, [sp, 56]
ldr d0, [sp, 48]
fmul d0, d1, d0
str d0, [sp, 56]
mov x0, 193514046488576
movk x0, 0x40b3, lsl 48
fmov d1, x0
ldr d0, [sp, 56]
fdiv d0, d0, d1
ldr d1, [sp, 40]
fsub d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 4
ble .L888
ldr d1, [sp, 56]
ldr d0, [sp, 48]
fmul d0, d1, d0
str d0, [sp, 56]
mov x0, 41781441855488
movk x0, 0x4116, lsl 48
fmov d1, x0
ldr d0, [sp, 56]
fdiv d0, d0, d1
ldr d1, [sp, 40]
fadd d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 5
ble .L888
ldr d1, [sp, 56]
ldr d0, [sp, 48]
fmul d0, d1, d0
str d0, [sp, 56]
mov x0, 9517647527936
movk x0, 0x4183, lsl 48
fmov d1, x0
ldr d0, [sp, 56]
fdiv d0, d0, d1
ldr d1, [sp, 40]
fsub d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 6
ble .L888
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl puts
.L888:
ldr d0, [sp, 40]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE123:
.size sinTyl, .-sinTyl
.section .rodata
.align 3
.LC40:
.string "Warning: Function cosTyl from bmc/core/filter_functions.h: Precision must be a positive integer. Assuming 0 precision"
.text
.align 2
.global cosTyl
.type cosTyl, %function
cosTyl:
.LFB124:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str d0, [sp, 24]
str w0, [sp, 20]
ldr d0, [sp, 24]
fmul d0, d0, d0
str d0, [sp, 48]
ldr w0, [sp, 20]
cmp w0, 0
bge .L891
adrp x0, .LC40
add x0, x0, :lo12:.LC40
bl puts
str wzr, [sp, 20]
.L891:
ldr w0, [sp, 20]
cmp w0, 0
blt .L892
str xzr, [sp, 56]
ldr d0, [sp, 56]
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 0
ble .L892
fmov d0, 1.0e+0
str d0, [sp, 56]
fmov d0, 1.0e+0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 1
ble .L892
ldr d0, [sp, 48]
str d0, [sp, 56]
fmov d0, 2.0e+0
ldr d1, [sp, 56]
fdiv d0, d1, d0
ldr d1, [sp, 40]
fsub d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 2
ble .L892
ldr d1, [sp, 56]
ldr d0, [sp, 48]
fmul d0, d1, d0
str d0, [sp, 56]
fmov d0, 2.4e+1
ldr d1, [sp, 56]
fdiv d0, d1, d0
ldr d1, [sp, 40]
fadd d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 3
ble .L892
ldr d1, [sp, 56]
ldr d0, [sp, 48]
fmul d0, d1, d0
str d0, [sp, 56]
mov x0, 140737488355328
movk x0, 0x4086, lsl 48
fmov d1, x0
ldr d0, [sp, 56]
fdiv d0, d0, d1
ldr d1, [sp, 40]
fsub d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 4
ble .L892
ldr d1, [sp, 56]
ldr d0, [sp, 48]
fmul d0, d1, d0
str d0, [sp, 56]
mov x0, 193514046488576
movk x0, 0x40e3, lsl 48
fmov d1, x0
ldr d0, [sp, 56]
fdiv d0, d0, d1
ldr d1, [sp, 40]
fadd d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 5
ble .L892
ldr d1, [sp, 56]
ldr d0, [sp, 48]
fmul d0, d1, d0
str d0, [sp, 56]
mov x0, 192964290674688
movk x0, 0x414b, lsl 48
fmov d1, x0
ldr d0, [sp, 56]
fdiv d0, d0, d1
ldr d1, [sp, 40]
fsub d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 6
ble .L892
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl puts
.L892:
ldr d0, [sp, 40]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE124:
.size cosTyl, .-cosTyl
.section .rodata
.align 3
.LC41:
.string "Warning: Function sinTyl from bmc/core/filter_functions.h: Precision representation exceeded. Assuming maximum precision of 4"
.text
.align 2
.global atanTyl
.type atanTyl, %function
atanTyl:
.LFB125:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str d0, [sp, 24]
str w0, [sp, 20]
ldr d0, [sp, 24]
fmul d0, d0, d0
str d0, [sp, 48]
ldr w0, [sp, 20]
cmp w0, 0
bge .L895
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl puts
str wzr, [sp, 20]
.L895:
ldr w0, [sp, 20]
cmp w0, 0
blt .L896
str xzr, [sp, 56]
ldr d0, [sp, 56]
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 0
ble .L896
ldr d0, [sp, 24]
str d0, [sp, 56]
ldr d0, [sp, 56]
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 1
ble .L896
ldr d0, [sp, 48]
str d0, [sp, 56]
fmov d0, 3.0e+0
ldr d1, [sp, 56]
fdiv d0, d1, d0
ldr d1, [sp, 40]
fsub d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 2
ble .L896
ldr d1, [sp, 56]
ldr d0, [sp, 48]
fmul d0, d1, d0
str d0, [sp, 56]
fmov d0, 5.0e+0
ldr d1, [sp, 56]
fdiv d0, d1, d0
ldr d1, [sp, 40]
fadd d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 3
ble .L896
ldr d1, [sp, 56]
ldr d0, [sp, 48]
fmul d0, d1, d0
str d0, [sp, 56]
fmov d0, 7.0e+0
ldr d1, [sp, 56]
fdiv d0, d1, d0
ldr d1, [sp, 40]
fsub d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 6
ble .L896
adrp x0, .LC41
add x0, x0, :lo12:.LC41
bl puts
.L896:
ldr d0, [sp, 40]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE125:
.size atanTyl, .-atanTyl
.align 2
.global sqrt1
.type sqrt1, %function
sqrt1:
.LFB126:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
ldr s1, [sp, 12]
fmov s0, 5.0e-1
fmul s0, s1, s0
str s0, [sp, 28]
ldr s0, [sp, 12]
str s0, [sp, 24]
ldr w0, [sp, 24]
asr w0, w0, 1
mov w1, 23007
movk w1, 0x5f37, lsl 16
sub w0, w1, w0
str w0, [sp, 24]
ldr s1, [sp, 24]
ldr s0, [sp, 12]
fmul s1, s1, s0
ldr s2, [sp, 24]
ldr s0, [sp, 28]
fmul s2, s2, s0
ldr s0, [sp, 24]
fmul s0, s2, s0
fmov s2, 1.5e+0
fsub s0, s2, s0
fmul s0, s1, s0
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE126:
.size sqrt1, .-sqrt1
.align 2
.global sqrt2
.type sqrt2, %function
sqrt2:
.LFB127:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
ldr s0, [sp, 12]
str s0, [sp, 24]
ldr w0, [sp, 24]
asr w1, w0, 1
mov w0, 532676608
add w0, w1, w0
str w0, [sp, 24]
ldr s0, [sp, 24]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE127:
.size sqrt2, .-sqrt2
.align 2
.global fabsolut
.type fabsolut, %function
fabsolut:
.LFB128:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, 12]
ldr s0, [sp, 12]
fcmpe s0, #0.0
bmi .L906
b .L903
.L906:
ldr s0, [sp, 12]
fneg s0, s0
str s0, [sp, 12]
.L903:
ldr s0, [sp, 12]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE128:
.size fabsolut, .-fabsolut
.align 2
.type sqrt3, %function
sqrt3:
.LFB129:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str s0, [sp, 28]
fmov s0, 1.0e+1
ldr s1, [sp, 28]
fdiv s0, s1, s0
str s0, [sp, 32]
adrp x0, .LC42
ldr d0, [x0, #:lo12:.LC42]
str d0, [sp, 48]
str wzr, [sp, 40]
ldr s0, [sp, 28]
fcmp s0, #0.0
bne .L908
str wzr, [sp, 32]
b .L909
.L908:
mov w0, 1
str w0, [sp, 36]
b .L910
.L914:
ldr w0, [sp, 40]
cmp w0, 0
bne .L912
ldr s0, [sp, 32]
fmul s0, s0, s0
ldr s1, [sp, 28]
fsub s0, s1, s0
fcvt d1, s0
ldr s0, [sp, 32]
fcvt d0, s0
fadd d0, d0, d0
fdiv d0, d1, d0
fcvt s0, d0
str s0, [sp, 44]
ldr s1, [sp, 32]
ldr s0, [sp, 44]
fadd s0, s1, s0
str s0, [sp, 32]
ldr s0, [sp, 32]
fmul s0, s0, s0
ldr s1, [sp, 28]
fsub s0, s1, s0
fcvt d0, s0
str d0, [sp, 56]
ldr d0, [sp, 56]
fcvt s0, d0
bl fabsolut
fcvt d0, s0
ldr d1, [sp, 48]
fcmpe d1, d0
bge .L916
b .L912
.L916:
mov w0, 1
str w0, [sp, 40]
.L912:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L910:
ldr w0, [sp, 36]
cmp w0, 19
ble .L914
.L909:
ldr s0, [sp, 32]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE129:
.size sqrt3, .-sqrt3
.align 2
.global verify_overflow
.type verify_overflow, %function
verify_overflow:
.LFB130:
.cfi_startproc
stp x29, x30, [sp, -496]!
.cfi_def_cfa_offset 496
.cfi_offset 29, -496
.cfi_offset 30, -488
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
str x27, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -480
.cfi_offset 20, -472
.cfi_offset 21, -464
.cfi_offset 22, -456
.cfi_offset 23, -448
.cfi_offset 24, -440
.cfi_offset 25, -432
.cfi_offset 26, -424
.cfi_offset 27, -416
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 488]
mov x1, 0
mov x0, sp
mov x19, x0
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 360]
sxtw x0, w1
mov x4, x0
mov x5, 0
lsr x0, x4, 58
lsl x3, x5, 6
orr x3, x0, x3
lsl x2, x4, 6
sxtw x0, w1
mov x8, x0
mov x9, 0
lsr x0, x8, 58
lsl x7, x9, 6
orr x7, x0, x7
lsl x6, x8, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L918:
cmp sp, x0
beq .L919
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L918
.L919:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L920
str xzr, [sp, 1024]
.L920:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 368]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 376]
sxtw x0, w1
mov x14, x0
mov x15, 0
lsr x0, x14, 58
lsl x11, x15, 6
orr x11, x0, x11
lsl x10, x14, 6
sxtw x0, w1
mov x16, x0
mov x17, 0
lsr x0, x16, 58
lsl x13, x17, 6
orr x13, x0, x13
lsl x12, x16, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L921:
cmp sp, x0
beq .L922
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L921
.L922:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L923
str xzr, [sp, 1024]
.L923:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 384]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 368]
adrp x0, ds
add x0, x0, :lo12:ds
bl fxp_double_to_fxp_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 384]
adrp x0, ds+808
add x0, x0, :lo12:ds+808
bl fxp_double_to_fxp_array
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
bl fxp_double_to_fxp
str x0, [x29, 392]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
bl fxp_double_to_fxp
str x0, [x29, 400]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 408]
sxtw x0, w1
mov x24, x0
mov x25, 0
lsr x0, x24, 58
lsl x21, x25, 6
orr x21, x0, x21
lsl x20, x24, 6
sxtw x0, w1
mov x26, x0
mov x27, 0
lsr x0, x26, 58
lsl x23, x27, 6
orr x23, x0, x23
lsl x22, x26, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L924:
cmp sp, x0
beq .L925
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L924
.L925:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L926
str xzr, [sp, 1024]
.L926:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 416]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 424]
sxtw x0, w1
str x0, [x29, 208]
str xzr, [x29, 216]
ldp x2, x3, [x29, 208]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 344]
ldr x4, [x29, 344]
orr x0, x0, x4
str x0, [x29, 344]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 336]
sxtw x0, w1
str x0, [x29, 192]
str xzr, [x29, 200]
ldp x2, x3, [x29, 192]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 328]
ldr x4, [x29, 328]
orr x0, x0, x4
str x0, [x29, 328]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 320]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L927:
cmp sp, x1
beq .L928
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L927
.L928:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L929
str xzr, [sp, 1024]
.L929:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 432]
str wzr, [x29, 352]
b .L930
.L933:
ldr x0, [x29, 416]
ldrsw x1, [x29, 352]
str xzr, [x0, x1, lsl 3]
bl nondet_int
sxtw x2, w0
ldr x0, [x29, 432]
ldrsw x1, [x29, 352]
str x2, [x0, x1, lsl 3]
ldr x0, [x29, 432]
ldrsw x1, [x29, 352]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 392]
cmp x1, x0
bgt .L931
ldr x0, [x29, 432]
ldrsw x1, [x29, 352]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 400]
cmp x1, x0
blt .L931
mov w0, 1
b .L932
.L931:
mov w0, 0
.L932:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr w0, [x29, 352]
add w0, w0, 1
str w0, [x29, 352]
.L930:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 352]
cmp w1, w0
blt .L933
str wzr, [x29, 356]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
cmp w1, w0
csel w0, w1, w0, ge
str w0, [x29, 356]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 440]
sxtw x1, w0
str x1, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 312]
ldr x4, [x29, 312]
orr x1, x1, x4
str x1, [x29, 312]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 304]
sxtw x1, w0
str x1, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 296]
ldr x4, [x29, 296]
orr x1, x1, x4
str x1, [x29, 296]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 288]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L934:
cmp sp, x1
beq .L935
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L934
.L935:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L936
str xzr, [sp, 1024]
.L936:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 448]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 456]
sxtw x1, w0
str x1, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 280]
ldr x4, [x29, 280]
orr x1, x1, x4
str x1, [x29, 280]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 272]
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 264]
ldr x4, [x29, 264]
orr x1, x1, x4
str x1, [x29, 264]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 256]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L937:
cmp sp, x1
beq .L938
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L937
.L938:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L939
str xzr, [sp, 1024]
.L939:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 464]
ldr w0, [x29, 356]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 472]
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 248]
ldr x4, [x29, 248]
orr x1, x1, x4
str x1, [x29, 248]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 240]
sxtw x1, w0
str x1, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 232]
ldr x4, [x29, 232]
orr x1, x1, x4
str x1, [x29, 232]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 224]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L940:
cmp sp, x1
beq .L941
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L940
.L941:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L942
str xzr, [sp, 1024]
.L942:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 480]
str wzr, [x29, 352]
b .L943
.L944:
ldr x0, [x29, 448]
ldrsw x1, [x29, 352]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 352]
add w0, w0, 1
str w0, [x29, 352]
.L943:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 352]
cmp w1, w0
blt .L944
str wzr, [x29, 352]
b .L945
.L946:
ldr x0, [x29, 464]
ldrsw x1, [x29, 352]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 352]
add w0, w0, 1
str w0, [x29, 352]
.L945:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [x29, 352]
cmp w1, w0
blt .L946
str wzr, [x29, 352]
b .L947
.L948:
ldr x0, [x29, 480]
ldrsw x1, [x29, 352]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 352]
add w0, w0, 1
str w0, [x29, 352]
.L947:
ldr w1, [x29, 352]
ldr w0, [x29, 356]
cmp w1, w0
blt .L948
str wzr, [x29, 352]
b .L949
.L950:
ldr x0, [x29, 432]
ldrsw x1, [x29, 352]
ldr x3, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 464]
mov x0, x3
bl shiftL
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w5, w0
mov w4, w1
ldr x3, [x29, 384]
ldr x2, [x29, 368]
ldr x1, [x29, 464]
ldr x0, [x29, 448]
bl fxp_direct_form_1
mov x2, x0
ldr x0, [x29, 416]
ldrsw x1, [x29, 352]
str x2, [x0, x1, lsl 3]
ldr x0, [x29, 416]
ldrsw x1, [x29, 352]
ldr x3, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 448]
mov x0, x3
bl shiftL
ldr w0, [x29, 352]
add w0, w0, 1
str w0, [x29, 352]
.L949:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 352]
cmp w1, w0
blt .L950
adrp x0, overflow_mode
add x0, x0, :lo12:overflow_mode
mov w1, 1
str w1, [x0]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
mov w1, w0
ldr x0, [x29, 416]
bl fxp_verify_overflow_array
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 488]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L952
bl __stack_chk_fail
.L952:
mov w0, w1
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldr x27, [sp, 80]
ldp x29, x30, [sp], 496
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE130:
.size verify_overflow, .-verify_overflow
.section .rodata
.align 3
.LC43:
.string "#matrix STATES -------------------------------"
.align 3
.LC44:
.string "#matrix OUTPUTS -------------------------------"
.align 3
.LC45:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_limit_cycle.h"
.text
.align 2
.global verify_limit_cycle_state_space
.type verify_limit_cycle_state_space, %function
verify_limit_cycle_state_space:
.LFB131:
.cfi_startproc
sub sp, sp, #560
.cfi_def_cfa_offset 560
stp x29, x30, [sp]
.cfi_offset 29, -560
.cfi_offset 30, -552
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 552]
mov x1, 0
str wzr, [sp, 32]
b .L954
.L957:
str wzr, [sp, 28]
b .L955
.L956:
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 32]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 296
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 32]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 424
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 32]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 40
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 32]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 168
str xzr, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L955:
ldr w0, [sp, 28]
cmp w0, 3
ble .L956
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L954:
ldr w0, [sp, 32]
cmp w0, 3
ble .L957
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
add x0, sp, 296
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 512
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 256
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w2, w0
add x0, sp, 424
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 768
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 384
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w5, w0
add x2, sp, 424
add x1, sp, 296
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 640
mov x3, x2
mov x2, x1
mov w1, 1
mov w0, w5
bl double_add_matrix
str wzr, [sp, 24]
mov w0, 1
str w0, [sp, 32]
b .L958
.L963:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
add x0, sp, 296
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 512
adrp x0, :got:_controller
ldr x4, [x0, #:got_lo12:_controller]
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w2, w0
add x0, sp, 424
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 768
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 128
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w5, w0
add x2, sp, 424
add x1, sp, 296
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 512
mov x3, x2
mov x2, x1
mov w1, 1
mov w0, w5
bl double_add_matrix
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
add x0, sp, 296
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 512
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 256
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w2, w0
add x0, sp, 424
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 768
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 384
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w5, w0
add x2, sp, 424
add x1, sp, 296
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x4, x0, 640
mov x3, x2
mov x2, x1
mov w1, 1
mov w0, w5
bl double_add_matrix
str wzr, [sp, 36]
b .L959
.L960:
adrp x0, :got:_controller
ldr x1, [x0, #:got_lo12:_controller]
ldrsw x0, [sp, 36]
add x0, x0, 16
lsl x0, x0, 5
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 24]
ldrsw x1, [sp, 36]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 40
str d0, [x1, x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L959:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L960
str wzr, [sp, 36]
b .L961
.L962:
adrp x0, :got:_controller
ldr x1, [x0, #:got_lo12:_controller]
ldrsw x0, [sp, 36]
add x0, x0, 20
lsl x0, x0, 5
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 24]
ldrsw x1, [sp, 36]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 40
str d0, [x1, x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L961:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L962
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L958:
ldr w0, [sp, 32]
cmp w0, 0
blt .L963
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl printf
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
add x0, sp, 40
mov w2, 0
bl print_matrix
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl printf
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
add x0, sp, 168
mov w2, 0
bl print_matrix
adrp x0, __PRETTY_FUNCTION__.8
add x3, x0, :lo12:__PRETTY_FUNCTION__.8
mov w2, 93
adrp x0, .LC45
add x1, x0, :lo12:.LC45
adrp x0, .LC37
add x0, x0, :lo12:.LC37
bl __assert_fail
.cfi_endproc
.LFE131:
.size verify_limit_cycle_state_space, .-verify_limit_cycle_state_space
.section .rodata
.align 3
.LC46:
.string "X_SIZE must be at least 2 * ds.a_size"
.text
.align 2
.global verify_limit_cycle
.type verify_limit_cycle, %function
verify_limit_cycle:
.LFB132:
.cfi_startproc
sub sp, sp, #816
.cfi_def_cfa_offset 816
stp x29, x30, [sp, 16]
.cfi_offset 29, -800
.cfi_offset 30, -792
add x29, sp, 16
.cfi_def_cfa 29, 800
stp x19, x20, [sp, 32]
stp x21, x22, [sp, 48]
stp x23, x24, [sp, 64]
stp x25, x26, [sp, 80]
str x27, [sp, 96]
.cfi_offset 19, -784
.cfi_offset 20, -776
.cfi_offset 21, -768
.cfi_offset 22, -760
.cfi_offset 23, -752
.cfi_offset 24, -744
.cfi_offset 25, -736
.cfi_offset 26, -728
.cfi_offset 27, -720
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 792]
mov x1, 0
mov x0, sp
mov x19, x0
adrp x0, overflow_mode
add x1, x0, :lo12:overflow_mode
mov w0, 3
str w0, [x1]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
lsl w0, w0, 1
str w0, [x29, 620]
adrp x0, .LC46
add x0, x0, :lo12:.LC46
bl printf
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
ldr w0, [x29, 620]
cmp w0, w1
cset w0, le
and w0, w0, 255
bl __DSVERIFIER_assert
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 632]
sxtw x0, w1
mov x22, x0
mov x23, 0
lsr x0, x22, 58
lsl x21, x23, 6
orr x21, x0, x21
lsl x20, x22, 6
sxtw x0, w1
mov x26, x0
mov x27, 0
lsr x0, x26, 58
lsl x25, x27, 6
orr x25, x0, x25
lsl x24, x26, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L966:
cmp sp, x0
beq .L967
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L966
.L967:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L968
str xzr, [sp, 1024]
.L968:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 640]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 648]
sxtw x0, w1
str x0, [x29, 336]
str xzr, [x29, 344]
ldp x2, x3, [x29, 336]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 600]
ldr x4, [x29, 600]
orr x0, x0, x4
str x0, [x29, 600]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 592]
sxtw x0, w1
str x0, [x29, 320]
str xzr, [x29, 328]
ldp x2, x3, [x29, 320]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 584]
ldr x4, [x29, 584]
orr x0, x0, x4
str x0, [x29, 584]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 576]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L969:
cmp sp, x0
beq .L970
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L969
.L970:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L971
str xzr, [sp, 1024]
.L971:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 656]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 640]
adrp x0, ds
add x0, x0, :lo12:ds
bl fxp_double_to_fxp_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 656]
adrp x0, ds+808
add x0, x0, :lo12:ds+808
bl fxp_double_to_fxp_array
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 664]
sxtw x0, w1
str x0, [x29, 304]
str xzr, [x29, 312]
ldp x2, x3, [x29, 304]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 568]
ldr x4, [x29, 568]
orr x0, x0, x4
str x0, [x29, 568]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 560]
sxtw x0, w1
str x0, [x29, 288]
str xzr, [x29, 296]
ldp x2, x3, [x29, 288]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 552]
ldr x4, [x29, 552]
orr x0, x0, x4
str x0, [x29, 552]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 544]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L972:
cmp sp, x0
beq .L973
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L972
.L973:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L974
str xzr, [sp, 1024]
.L974:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 672]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 680]
sxtw x0, w1
str x0, [x29, 272]
str xzr, [x29, 280]
ldp x2, x3, [x29, 272]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 536]
ldr x4, [x29, 536]
orr x0, x0, x4
str x0, [x29, 536]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 528]
sxtw x0, w1
str x0, [x29, 256]
str xzr, [x29, 264]
ldp x2, x3, [x29, 256]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 520]
ldr x4, [x29, 520]
orr x0, x0, x4
str x0, [x29, 520]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 512]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L975:
cmp sp, x0
beq .L976
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L975
.L976:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L977
str xzr, [sp, 1024]
.L977:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 688]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
bl fxp_double_to_fxp
str x0, [x29, 696]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
bl fxp_double_to_fxp
str x0, [x29, 704]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 712]
sxtw x0, w1
str x0, [x29, 240]
str xzr, [x29, 248]
ldp x2, x3, [x29, 240]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 504]
ldr x4, [x29, 504]
orr x0, x0, x4
str x0, [x29, 504]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 496]
sxtw x0, w1
str x0, [x29, 224]
str xzr, [x29, 232]
ldp x2, x3, [x29, 224]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 488]
ldr x4, [x29, 488]
orr x0, x0, x4
str x0, [x29, 488]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 480]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L978:
cmp sp, x0
beq .L979
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L978
.L979:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L980
str xzr, [sp, 1024]
.L980:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 720]
bl nondet_int
str w0, [x29, 624]
ldrsw x1, [x29, 624]
ldr x0, [x29, 696]
cmp x0, x1
bgt .L981
ldrsw x1, [x29, 624]
ldr x0, [x29, 704]
cmp x0, x1
blt .L981
mov w0, 1
b .L982
.L981:
mov w0, 0
.L982:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
str wzr, [x29, 616]
b .L983
.L984:
ldrsw x2, [x29, 624]
ldr x1, [x29, 688]
ldrsw x0, [x29, 616]
str x2, [x1, x0, lsl 3]
ldr x1, [x29, 672]
ldrsw x0, [x29, 616]
str xzr, [x1, x0, lsl 3]
ldr w0, [x29, 616]
add w0, w0, 1
str w0, [x29, 616]
.L983:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
ldr w0, [x29, 616]
cmp w0, w1
blt .L984
str wzr, [x29, 616]
b .L985
.L986:
ldrsw x2, [x29, 624]
ldr x1, [x29, 720]
ldrsw x0, [x29, 616]
str x2, [x1, x0, lsl 3]
ldr w0, [x29, 616]
add w0, w0, 1
str w0, [x29, 616]
.L985:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
ldr w0, [x29, 616]
cmp w0, w1
blt .L986
str wzr, [x29, 628]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
cmp w1, w0
csel w0, w1, w0, ge
str w0, [x29, 628]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 728]
sxtw x0, w1
str x0, [x29, 208]
str xzr, [x29, 216]
ldp x2, x3, [x29, 208]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 472]
ldr x4, [x29, 472]
orr x0, x0, x4
str x0, [x29, 472]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 464]
sxtw x0, w1
str x0, [x29, 192]
str xzr, [x29, 200]
ldp x2, x3, [x29, 192]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 456]
ldr x4, [x29, 456]
orr x0, x0, x4
str x0, [x29, 456]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 448]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L987:
cmp sp, x1
beq .L988
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L987
.L988:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L989
str xzr, [sp, 1024]
.L989:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 736]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 744]
sxtw x1, w0
str x1, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 440]
ldr x4, [x29, 440]
orr x1, x1, x4
str x1, [x29, 440]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 432]
sxtw x1, w0
str x1, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 424]
ldr x4, [x29, 424]
orr x1, x1, x4
str x1, [x29, 424]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 416]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L990:
cmp sp, x1
beq .L991
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L990
.L991:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L992
str xzr, [sp, 1024]
.L992:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 752]
ldr w0, [x29, 628]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 760]
sxtw x1, w0
str x1, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 408]
ldr x4, [x29, 408]
orr x1, x1, x4
str x1, [x29, 408]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 400]
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 392]
ldr x4, [x29, 392]
orr x1, x1, x4
str x1, [x29, 392]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 384]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L993:
cmp sp, x1
beq .L994
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L993
.L994:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L995
str xzr, [sp, 1024]
.L995:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 768]
ldr w0, [x29, 628]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 776]
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 376]
ldr x4, [x29, 376]
orr x1, x1, x4
str x1, [x29, 376]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 368]
sxtw x1, w0
str x1, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 360]
ldr x4, [x29, 360]
orr x1, x1, x4
str x1, [x29, 360]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 352]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L996:
cmp sp, x1
beq .L997
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L996
.L997:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L998
str xzr, [sp, 1024]
.L998:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 784]
str wzr, [x29, 616]
b .L999
.L1002:
bl nondet_int
sxtw x2, w0
ldr x0, [x29, 736]
ldrsw x1, [x29, 616]
str x2, [x0, x1, lsl 3]
ldr x0, [x29, 736]
ldrsw x1, [x29, 616]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 696]
cmp x1, x0
bgt .L1000
ldr x0, [x29, 736]
ldrsw x1, [x29, 616]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 704]
cmp x1, x0
blt .L1000
mov w0, 1
b .L1001
.L1000:
mov w0, 0
.L1001:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr x0, [x29, 736]
ldrsw x1, [x29, 616]
ldr x2, [x0, x1, lsl 3]
ldr x0, [x29, 752]
ldrsw x1, [x29, 616]
str x2, [x0, x1, lsl 3]
ldr w0, [x29, 616]
add w0, w0, 1
str w0, [x29, 616]
.L999:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 616]
cmp w1, w0
blt .L1002
str wzr, [x29, 616]
b .L1003
.L1004:
ldr x0, [x29, 688]
ldrsw x1, [x29, 616]
ldr x3, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 720]
mov x0, x3
bl shiftL
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w5, w0
mov w4, w1
ldr x3, [x29, 656]
ldr x2, [x29, 640]
ldr x1, [x29, 720]
ldr x0, [x29, 736]
bl fxp_direct_form_1
mov x2, x0
ldr x0, [x29, 672]
ldrsw x1, [x29, 616]
str x2, [x0, x1, lsl 3]
ldr x0, [x29, 672]
ldrsw x1, [x29, 616]
ldr x3, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 736]
mov x0, x3
bl shiftL
ldr w0, [x29, 616]
add w0, w0, 1
str w0, [x29, 616]
.L1003:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 616]
cmp w1, w0
blt .L1004
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
mov w1, w0
ldr x0, [x29, 672]
bl fxp_check_persistent_limit_cycle
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 792]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1006
bl __stack_chk_fail
.L1006:
mov w0, w1
sub sp, x29, #16
.cfi_def_cfa 31, 816
ldp x19, x20, [sp, 32]
ldp x21, x22, [sp, 48]
ldp x23, x24, [sp, 64]
ldp x25, x26, [sp, 80]
ldr x27, [sp, 96]
ldp x29, x30, [sp, 16]
add sp, sp, 816
.cfi_restore 29
.cfi_restore 30
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE132:
.size verify_limit_cycle, .-verify_limit_cycle
.align 2
.global verify_error
.type verify_error, %function
verify_error:
.LFB133:
.cfi_startproc
sub sp, sp, #1728
.cfi_def_cfa_offset 1728
stp x29, x30, [sp, 16]
.cfi_offset 29, -1712
.cfi_offset 30, -1704
add x29, sp, 16
.cfi_def_cfa 29, 1712
stp x19, x20, [sp, 32]
stp x21, x22, [sp, 48]
stp x23, x24, [sp, 64]
stp x25, x26, [sp, 80]
str x27, [sp, 96]
str d8, [sp, 104]
.cfi_offset 19, -1696
.cfi_offset 20, -1688
.cfi_offset 21, -1680
.cfi_offset 22, -1672
.cfi_offset 23, -1664
.cfi_offset 24, -1656
.cfi_offset 25, -1648
.cfi_offset 26, -1640
.cfi_offset 27, -1632
.cfi_offset 72, -1624
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 1704]
mov x1, 0
mov x0, sp
mov x19, x0
adrp x0, overflow_mode
add x1, x0, :lo12:overflow_mode
mov w0, 2
str w0, [x1]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 688]
sxtw x0, w1
mov x4, x0
mov x5, 0
lsr x0, x4, 58
lsl x3, x5, 6
orr x3, x0, x3
lsl x2, x4, 6
sxtw x0, w1
mov x8, x0
mov x9, 0
lsr x0, x8, 58
lsl x7, x9, 6
orr x7, x0, x7
lsl x6, x8, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1008:
cmp sp, x0
beq .L1009
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1008
.L1009:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1010
str xzr, [sp, 1024]
.L1010:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 696]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 704]
sxtw x0, w1
mov x14, x0
mov x15, 0
lsr x0, x14, 58
lsl x11, x15, 6
orr x11, x0, x11
lsl x10, x14, 6
sxtw x0, w1
mov x16, x0
mov x17, 0
lsr x0, x16, 58
lsl x13, x17, 6
orr x13, x0, x13
lsl x12, x16, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1011:
cmp sp, x0
beq .L1012
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1011
.L1012:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1013
str xzr, [sp, 1024]
.L1013:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 712]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 696]
adrp x0, ds
add x0, x0, :lo12:ds
bl fxp_double_to_fxp_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 712]
adrp x0, ds+808
add x0, x0, :lo12:ds+808
bl fxp_double_to_fxp_array
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
bl fxp_double_to_fxp
str x0, [x29, 720]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
bl fxp_double_to_fxp
str x0, [x29, 728]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 736]
sxtw x0, w1
mov x24, x0
mov x25, 0
lsr x0, x24, 58
lsl x21, x25, 6
orr x21, x0, x21
lsl x20, x24, 6
sxtw x0, w1
mov x26, x0
mov x27, 0
lsr x0, x26, 58
lsl x23, x27, 6
orr x23, x0, x23
lsl x22, x26, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1014:
cmp sp, x0
beq .L1015
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1014
.L1015:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1016
str xzr, [sp, 1024]
.L1016:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 744]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 752]
sxtw x0, w1
str x0, [x29, 368]
str xzr, [x29, 376]
ldp x2, x3, [x29, 368]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 664]
ldr x4, [x29, 664]
orr x0, x0, x4
str x0, [x29, 664]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 656]
sxtw x0, w1
str x0, [x29, 352]
str xzr, [x29, 360]
ldp x2, x3, [x29, 352]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 648]
ldr x4, [x29, 648]
orr x0, x0, x4
str x0, [x29, 648]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 640]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1017:
cmp sp, x0
beq .L1018
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1017
.L1018:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1019
str xzr, [sp, 1024]
.L1019:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 760]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 768]
sxtw x0, w1
str x0, [x29, 336]
str xzr, [x29, 344]
ldp x2, x3, [x29, 336]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 632]
ldr x4, [x29, 632]
orr x0, x0, x4
str x0, [x29, 632]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 624]
sxtw x0, w1
str x0, [x29, 320]
str xzr, [x29, 328]
ldp x2, x3, [x29, 320]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 616]
ldr x4, [x29, 616]
orr x0, x0, x4
str x0, [x29, 616]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 608]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1020:
cmp sp, x0
beq .L1021
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1020
.L1021:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1022
str xzr, [sp, 1024]
.L1022:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 776]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 784]
sxtw x0, w1
str x0, [x29, 304]
str xzr, [x29, 312]
ldp x2, x3, [x29, 304]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 600]
ldr x4, [x29, 600]
orr x0, x0, x4
str x0, [x29, 600]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 592]
sxtw x0, w1
str x0, [x29, 288]
str xzr, [x29, 296]
ldp x2, x3, [x29, 288]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 584]
ldr x4, [x29, 584]
orr x0, x0, x4
str x0, [x29, 584]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 576]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1023:
cmp sp, x0
beq .L1024
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1023
.L1024:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1025
str xzr, [sp, 1024]
.L1025:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 792]
str wzr, [x29, 684]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
cmp w1, w0
csel w0, w1, w0, ge
str w0, [x29, 684]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 800]
sxtw x0, w1
str x0, [x29, 272]
str xzr, [x29, 280]
ldp x2, x3, [x29, 272]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 568]
ldr x4, [x29, 568]
orr x0, x0, x4
str x0, [x29, 568]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 560]
sxtw x0, w1
str x0, [x29, 256]
str xzr, [x29, 264]
ldp x2, x3, [x29, 256]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 552]
ldr x4, [x29, 552]
orr x0, x0, x4
str x0, [x29, 552]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 544]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1026:
cmp sp, x0
beq .L1027
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1026
.L1027:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1028
str xzr, [sp, 1024]
.L1028:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 808]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 816]
sxtw x0, w1
str x0, [x29, 240]
str xzr, [x29, 248]
ldp x2, x3, [x29, 240]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 536]
ldr x4, [x29, 536]
orr x0, x0, x4
str x0, [x29, 536]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 528]
sxtw x0, w1
str x0, [x29, 224]
str xzr, [x29, 232]
ldp x2, x3, [x29, 224]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 520]
ldr x4, [x29, 520]
orr x0, x0, x4
str x0, [x29, 520]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 512]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1029:
cmp sp, x0
beq .L1030
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1029
.L1030:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1031
str xzr, [sp, 1024]
.L1031:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 824]
ldr w1, [x29, 684]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 832]
sxtw x0, w1
str x0, [x29, 208]
str xzr, [x29, 216]
ldp x2, x3, [x29, 208]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 504]
ldr x4, [x29, 504]
orr x0, x0, x4
str x0, [x29, 504]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 496]
sxtw x0, w1
str x0, [x29, 192]
str xzr, [x29, 200]
ldp x2, x3, [x29, 192]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 488]
ldr x4, [x29, 488]
orr x0, x0, x4
str x0, [x29, 488]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 480]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1032:
cmp sp, x1
beq .L1033
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1032
.L1033:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1034
str xzr, [sp, 1024]
.L1034:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 840]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 848]
sxtw x1, w0
str x1, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 472]
ldr x4, [x29, 472]
orr x1, x1, x4
str x1, [x29, 472]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 464]
sxtw x1, w0
str x1, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 456]
ldr x4, [x29, 456]
orr x1, x1, x4
str x1, [x29, 456]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 448]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1035:
cmp sp, x1
beq .L1036
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1035
.L1036:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1037
str xzr, [sp, 1024]
.L1037:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 856]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 864]
sxtw x1, w0
str x1, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 440]
ldr x4, [x29, 440]
orr x1, x1, x4
str x1, [x29, 440]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 432]
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 424]
ldr x4, [x29, 424]
orr x1, x1, x4
str x1, [x29, 424]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 416]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1038:
cmp sp, x1
beq .L1039
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1038
.L1039:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1040
str xzr, [sp, 1024]
.L1040:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 872]
ldr w0, [x29, 684]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 880]
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 408]
ldr x4, [x29, 408]
orr x1, x1, x4
str x1, [x29, 408]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 400]
sxtw x1, w0
str x1, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 392]
ldr x4, [x29, 392]
orr x1, x1, x4
str x1, [x29, 392]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 384]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1041:
cmp sp, x1
beq .L1042
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1041
.L1042:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1043
str xzr, [sp, 1024]
.L1043:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 888]
str wzr, [x29, 680]
b .L1044
.L1045:
ldr x0, [x29, 808]
ldrsw x1, [x29, 680]
str xzr, [x0, x1, lsl 3]
ldr x0, [x29, 856]
ldrsw x1, [x29, 680]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 680]
add w0, w0, 1
str w0, [x29, 680]
.L1044:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 680]
cmp w1, w0
blt .L1045
str wzr, [x29, 680]
b .L1046
.L1047:
ldr x0, [x29, 824]
ldrsw x1, [x29, 680]
str xzr, [x0, x1, lsl 3]
ldr x0, [x29, 872]
ldrsw x1, [x29, 680]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 680]
add w0, w0, 1
str w0, [x29, 680]
.L1046:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [x29, 680]
cmp w1, w0
blt .L1047
str wzr, [x29, 680]
b .L1048
.L1049:
ldr x0, [x29, 840]
ldrsw x1, [x29, 680]
str xzr, [x0, x1, lsl 3]
ldr x0, [x29, 888]
ldrsw x1, [x29, 680]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 680]
add w0, w0, 1
str w0, [x29, 680]
.L1048:
ldr w1, [x29, 680]
ldr w0, [x29, 684]
cmp w1, w0
blt .L1049
str wzr, [x29, 680]
b .L1050
.L1053:
ldr x0, [x29, 744]
ldrsw x1, [x29, 680]
str xzr, [x0, x1, lsl 3]
bl nondet_int
sxtw x2, w0
ldr x0, [x29, 760]
ldrsw x1, [x29, 680]
str x2, [x0, x1, lsl 3]
ldr x0, [x29, 760]
ldrsw x1, [x29, 680]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 720]
cmp x1, x0
bgt .L1051
ldr x0, [x29, 760]
ldrsw x1, [x29, 680]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 728]
cmp x1, x0
blt .L1051
mov w0, 1
b .L1052
.L1051:
mov w0, 0
.L1052:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr x0, [x29, 776]
ldrsw x1, [x29, 680]
str xzr, [x0, x1, lsl 3]
ldr x0, [x29, 760]
ldrsw x1, [x29, 680]
ldr x0, [x0, x1, lsl 3]
bl fxp_to_double
ldr x0, [x29, 792]
ldrsw x1, [x29, 680]
str d0, [x0, x1, lsl 3]
ldr w0, [x29, 680]
add w0, w0, 1
str w0, [x29, 680]
.L1050:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 680]
cmp w1, w0
blt .L1053
str wzr, [x29, 680]
b .L1054
.L1059:
ldr x0, [x29, 760]
ldrsw x1, [x29, 680]
ldr x3, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 824]
mov x0, x3
bl shiftL
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w5, w0
mov w4, w1
ldr x3, [x29, 712]
ldr x2, [x29, 696]
ldr x1, [x29, 824]
ldr x0, [x29, 808]
bl fxp_direct_form_1
mov x2, x0
ldr x0, [x29, 744]
ldrsw x1, [x29, 680]
str x2, [x0, x1, lsl 3]
ldr x0, [x29, 744]
ldrsw x1, [x29, 680]
ldr x3, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 808]
mov x0, x3
bl shiftL
ldr x0, [x29, 792]
ldrsw x1, [x29, 680]
ldr d0, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w1, w0
ldr x0, [x29, 872]
bl shiftLDouble
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w5, w0
mov w4, w1
adrp x0, ds+808
add x3, x0, :lo12:ds+808
adrp x0, ds
add x2, x0, :lo12:ds
ldr x1, [x29, 872]
ldr x0, [x29, 856]
bl double_direct_form_1
ldr x0, [x29, 776]
ldrsw x1, [x29, 680]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 776]
ldrsw x1, [x29, 680]
ldr d0, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w1, w0
ldr x0, [x29, 856]
bl shiftLDouble
ldr x0, [x29, 776]
ldrsw x1, [x29, 680]
ldr d8, [x0, x1, lsl 3]
ldr x0, [x29, 744]
ldrsw x1, [x29, 680]
ldr x0, [x0, x1, lsl 3]
bl fxp_to_double
fsub d0, d8, d0
str d0, [x29, 896]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 48]
ldr d1, [x29, 896]
fcmpe d1, d0
bmi .L1062
b .L1055
.L1062:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 48]
fneg d0, d0
ldr d1, [x29, 896]
fcmpe d1, d0
bgt .L1063
b .L1055
.L1063:
mov w0, 1
b .L1058
.L1055:
mov w0, 0
.L1058:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assert
ldr w0, [x29, 680]
add w0, w0, 1
str w0, [x29, 680]
.L1054:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 680]
cmp w1, w0
blt .L1059
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 1704]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1061
bl __stack_chk_fail
.L1061:
mov w0, w1
sub sp, x29, #16
.cfi_def_cfa 31, 1728
ldr d8, [sp, 104]
ldp x19, x20, [sp, 32]
ldp x21, x22, [sp, 48]
ldp x23, x24, [sp, 64]
ldp x25, x26, [sp, 80]
ldr x27, [sp, 96]
ldp x29, x30, [sp, 16]
add sp, sp, 1728
.cfi_restore 29
.cfi_restore 30
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE133:
.size verify_error, .-verify_error
.section .rodata
.align 3
.LC47:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_zero_input_limit_cycle.h"
.align 3
.LC48:
.string "X_SIZE_VALUE >= Set_xsize_at_least_two_times_Na"
.text
.align 2
.global verify_zero_input_limit_cycle
.type verify_zero_input_limit_cycle, %function
verify_zero_input_limit_cycle:
.LFB134:
.cfi_startproc
sub sp, sp, #816
.cfi_def_cfa_offset 816
stp x29, x30, [sp, 16]
.cfi_offset 29, -800
.cfi_offset 30, -792
add x29, sp, 16
.cfi_def_cfa 29, 800
stp x19, x20, [sp, 32]
stp x21, x22, [sp, 48]
stp x23, x24, [sp, 64]
stp x25, x26, [sp, 80]
str x27, [sp, 96]
.cfi_offset 19, -784
.cfi_offset 20, -776
.cfi_offset 21, -768
.cfi_offset 22, -760
.cfi_offset 23, -752
.cfi_offset 24, -744
.cfi_offset 25, -736
.cfi_offset 26, -728
.cfi_offset 27, -720
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 792]
mov x1, 0
mov x0, sp
mov x19, x0
adrp x0, overflow_mode
add x1, x0, :lo12:overflow_mode
mov w0, 3
str w0, [x1]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
lsl w0, w0, 1
str w0, [x29, 624]
adrp x0, .LC46
add x0, x0, :lo12:.LC46
bl printf
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
ldr w0, [x29, 624]
cmp w0, w1
ble .L1065
adrp x0, __PRETTY_FUNCTION__.7
add x3, x0, :lo12:__PRETTY_FUNCTION__.7
mov w2, 23
adrp x0, .LC47
add x1, x0, :lo12:.LC47
adrp x0, .LC48
add x0, x0, :lo12:.LC48
bl __assert_fail
.L1065:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 632]
sxtw x0, w1
mov x22, x0
mov x23, 0
lsr x0, x22, 58
lsl x21, x23, 6
orr x21, x0, x21
lsl x20, x22, 6
sxtw x0, w1
mov x26, x0
mov x27, 0
lsr x0, x26, 58
lsl x25, x27, 6
orr x25, x0, x25
lsl x24, x26, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1066:
cmp sp, x0
beq .L1067
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1066
.L1067:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1068
str xzr, [sp, 1024]
.L1068:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 640]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 648]
sxtw x0, w1
str x0, [x29, 336]
str xzr, [x29, 344]
ldp x2, x3, [x29, 336]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 600]
ldr x4, [x29, 600]
orr x0, x0, x4
str x0, [x29, 600]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 592]
sxtw x0, w1
str x0, [x29, 320]
str xzr, [x29, 328]
ldp x2, x3, [x29, 320]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 584]
ldr x4, [x29, 584]
orr x0, x0, x4
str x0, [x29, 584]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 576]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1069:
cmp sp, x0
beq .L1070
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1069
.L1070:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1071
str xzr, [sp, 1024]
.L1071:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 656]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 640]
adrp x0, ds
add x0, x0, :lo12:ds
bl fxp_double_to_fxp_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 656]
adrp x0, ds+808
add x0, x0, :lo12:ds+808
bl fxp_double_to_fxp_array
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
bl fxp_double_to_fxp
str x0, [x29, 664]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
bl fxp_double_to_fxp
str x0, [x29, 672]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 680]
sxtw x0, w1
str x0, [x29, 304]
str xzr, [x29, 312]
ldp x2, x3, [x29, 304]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 568]
ldr x4, [x29, 568]
orr x0, x0, x4
str x0, [x29, 568]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 560]
sxtw x0, w1
str x0, [x29, 288]
str xzr, [x29, 296]
ldp x2, x3, [x29, 288]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 552]
ldr x4, [x29, 552]
orr x0, x0, x4
str x0, [x29, 552]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 544]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1072:
cmp sp, x0
beq .L1073
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1072
.L1073:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1074
str xzr, [sp, 1024]
.L1074:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 688]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 696]
sxtw x0, w1
str x0, [x29, 272]
str xzr, [x29, 280]
ldp x2, x3, [x29, 272]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 536]
ldr x4, [x29, 536]
orr x0, x0, x4
str x0, [x29, 536]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 528]
sxtw x0, w1
str x0, [x29, 256]
str xzr, [x29, 264]
ldp x2, x3, [x29, 256]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 520]
ldr x4, [x29, 520]
orr x0, x0, x4
str x0, [x29, 520]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 512]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1075:
cmp sp, x0
beq .L1076
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1075
.L1076:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1077
str xzr, [sp, 1024]
.L1077:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 704]
str wzr, [x29, 620]
b .L1078
.L1079:
ldr x1, [x29, 688]
ldrsw x0, [x29, 620]
str xzr, [x1, x0, lsl 3]
ldr x1, [x29, 704]
ldrsw x0, [x29, 620]
str xzr, [x1, x0, lsl 3]
ldr w0, [x29, 620]
add w0, w0, 1
str w0, [x29, 620]
.L1078:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
ldr w0, [x29, 620]
cmp w0, w1
blt .L1079
str wzr, [x29, 628]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
cmp w1, w0
csel w0, w1, w0, ge
str w0, [x29, 628]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 712]
sxtw x0, w1
str x0, [x29, 240]
str xzr, [x29, 248]
ldp x2, x3, [x29, 240]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 504]
ldr x4, [x29, 504]
orr x0, x0, x4
str x0, [x29, 504]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 496]
sxtw x0, w1
str x0, [x29, 224]
str xzr, [x29, 232]
ldp x2, x3, [x29, 224]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 488]
ldr x4, [x29, 488]
orr x0, x0, x4
str x0, [x29, 488]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 480]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1080:
cmp sp, x0
beq .L1081
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1080
.L1081:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1082
str xzr, [sp, 1024]
.L1082:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 720]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 728]
sxtw x0, w1
str x0, [x29, 208]
str xzr, [x29, 216]
ldp x2, x3, [x29, 208]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 472]
ldr x4, [x29, 472]
orr x0, x0, x4
str x0, [x29, 472]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 464]
sxtw x0, w1
str x0, [x29, 192]
str xzr, [x29, 200]
ldp x2, x3, [x29, 192]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 456]
ldr x4, [x29, 456]
orr x0, x0, x4
str x0, [x29, 456]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 448]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1083:
cmp sp, x1
beq .L1084
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1083
.L1084:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1085
str xzr, [sp, 1024]
.L1085:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 736]
ldr w0, [x29, 628]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 744]
sxtw x1, w0
str x1, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 440]
ldr x4, [x29, 440]
orr x1, x1, x4
str x1, [x29, 440]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 432]
sxtw x1, w0
str x1, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 424]
ldr x4, [x29, 424]
orr x1, x1, x4
str x1, [x29, 424]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 416]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1086:
cmp sp, x1
beq .L1087
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1086
.L1087:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1088
str xzr, [sp, 1024]
.L1088:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 752]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 760]
sxtw x1, w0
str x1, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 408]
ldr x4, [x29, 408]
orr x1, x1, x4
str x1, [x29, 408]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 400]
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 392]
ldr x4, [x29, 392]
orr x1, x1, x4
str x1, [x29, 392]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 384]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1089:
cmp sp, x1
beq .L1090
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1089
.L1090:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1091
str xzr, [sp, 1024]
.L1091:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 768]
ldr w0, [x29, 628]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 776]
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 376]
ldr x4, [x29, 376]
orr x1, x1, x4
str x1, [x29, 376]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 368]
sxtw x1, w0
str x1, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 360]
ldr x4, [x29, 360]
orr x1, x1, x4
str x1, [x29, 360]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 352]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1092:
cmp sp, x1
beq .L1093
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1092
.L1093:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1094
str xzr, [sp, 1024]
.L1094:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 784]
str wzr, [x29, 620]
b .L1095
.L1098:
bl nondet_int
sxtw x2, w0
ldr x0, [x29, 720]
ldrsw x1, [x29, 620]
str x2, [x0, x1, lsl 3]
ldr x0, [x29, 720]
ldrsw x1, [x29, 620]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 664]
cmp x1, x0
bgt .L1096
ldr x0, [x29, 720]
ldrsw x1, [x29, 620]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 672]
cmp x1, x0
blt .L1096
mov w0, 1
b .L1097
.L1096:
mov w0, 0
.L1097:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr x0, [x29, 720]
ldrsw x1, [x29, 620]
ldr x2, [x0, x1, lsl 3]
ldr x0, [x29, 768]
ldrsw x1, [x29, 620]
str x2, [x0, x1, lsl 3]
ldr w0, [x29, 620]
add w0, w0, 1
str w0, [x29, 620]
.L1095:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 620]
cmp w1, w0
blt .L1098
str wzr, [x29, 620]
b .L1099
.L1100:
ldr x0, [x29, 736]
ldrsw x1, [x29, 620]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 620]
add w0, w0, 1
str w0, [x29, 620]
.L1099:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [x29, 620]
cmp w1, w0
blt .L1100
str wzr, [x29, 620]
b .L1101
.L1102:
ldr x0, [x29, 704]
ldrsw x1, [x29, 620]
ldr x3, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 736]
mov x0, x3
bl shiftL
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w5, w0
mov w4, w1
ldr x3, [x29, 656]
ldr x2, [x29, 640]
ldr x1, [x29, 736]
ldr x0, [x29, 720]
bl fxp_direct_form_1
mov x2, x0
ldr x0, [x29, 688]
ldrsw x1, [x29, 620]
str x2, [x0, x1, lsl 3]
ldr x0, [x29, 688]
ldrsw x1, [x29, 620]
ldr x3, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 720]
mov x0, x3
bl shiftL
ldr w0, [x29, 620]
add w0, w0, 1
str w0, [x29, 620]
.L1101:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 620]
cmp w1, w0
blt .L1102
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
mov w1, w0
ldr x0, [x29, 688]
bl fxp_check_persistent_limit_cycle
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 792]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1104
bl __stack_chk_fail
.L1104:
mov w0, w1
sub sp, x29, #16
.cfi_def_cfa 31, 816
ldp x19, x20, [sp, 32]
ldp x21, x22, [sp, 48]
ldp x23, x24, [sp, 64]
ldp x25, x26, [sp, 80]
ldr x27, [sp, 96]
ldp x29, x30, [sp, 16]
add sp, sp, 816
.cfi_restore 29
.cfi_restore 30
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE134:
.size verify_zero_input_limit_cycle, .-verify_zero_input_limit_cycle
.global generic_timer
.bss
.align 2
.type generic_timer, %object
.size generic_timer, 4
generic_timer:
.zero 4
.section .rodata
.align 3
.LC49:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_generic_timing.h"
.align 3
.LC50:
.string "spent_time <= ds.sample_time"
.text
.align 2
.global verify_generic_timing
.type verify_generic_timing, %function
verify_generic_timing:
.LFB135:
.cfi_startproc
stp x29, x30, [sp, -336]!
.cfi_def_cfa_offset 336
.cfi_offset 29, -336
.cfi_offset 30, -328
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
str x27, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -320
.cfi_offset 20, -312
.cfi_offset 21, -304
.cfi_offset 22, -296
.cfi_offset 23, -288
.cfi_offset 24, -280
.cfi_offset 25, -272
.cfi_offset 26, -264
.cfi_offset 27, -256
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 328]
mov x1, 0
mov x0, sp
mov x19, x0
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 232]
sxtw x0, w1
mov x4, x0
mov x5, 0
lsr x0, x4, 58
lsl x3, x5, 6
orr x3, x0, x3
lsl x2, x4, 6
sxtw x0, w1
mov x8, x0
mov x9, 0
lsr x0, x8, 58
lsl x7, x9, 6
orr x7, x0, x7
lsl x6, x8, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1106:
cmp sp, x0
beq .L1107
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1106
.L1107:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1108
str xzr, [sp, 1024]
.L1108:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 240]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 248]
sxtw x0, w1
mov x16, x0
mov x17, 0
lsr x0, x16, 58
lsl x11, x17, 6
orr x11, x0, x11
lsl x10, x16, 6
sxtw x0, w1
mov x14, x0
mov x15, 0
lsr x0, x14, 58
lsl x13, x15, 6
orr x13, x0, x13
lsl x12, x14, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1109:
cmp sp, x1
beq .L1110
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1109
.L1110:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1111
str xzr, [sp, 1024]
.L1111:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 256]
str wzr, [x29, 224]
b .L1112
.L1117:
ldr x0, [x29, 240]
ldrsw x1, [x29, 224]
str xzr, [x0, x1, lsl 3]
bl nondet_float
fcvt d0, s0
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d1, [x0, x1, lsl 3]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
fcmpe d1, d0
bge .L1138
b .L1113
.L1138:
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d1, [x0, x1, lsl 3]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
fcmpe d1, d0
bls .L1139
b .L1113
.L1139:
mov w0, 1
b .L1116
.L1113:
mov w0, 0
.L1116:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1112:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1117
str wzr, [x29, 228]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
cmp w1, w0
csel w0, w1, w0, ge
str w0, [x29, 228]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 264]
sxtw x1, w0
str x1, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 216]
ldr x4, [x29, 216]
orr x1, x1, x4
str x1, [x29, 216]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 208]
sxtw x1, w0
str x1, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 200]
ldr x4, [x29, 200]
orr x1, x1, x4
str x1, [x29, 200]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 192]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1118:
cmp sp, x1
beq .L1119
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1118
.L1119:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1120
str xzr, [sp, 1024]
.L1120:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 272]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 280]
sxtw x1, w0
str x1, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x27, x4, 6
orr x27, x1, x27
mov x1, x2
lsl x26, x1, 6
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x25, x4, 6
orr x25, x1, x25
mov x1, x2
lsl x24, x1, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1121:
cmp sp, x1
beq .L1122
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1121
.L1122:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1123
str xzr, [sp, 1024]
.L1123:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 288]
ldr w0, [x29, 228]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 296]
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x23, x4, 6
orr x23, x1, x23
mov x1, x2
lsl x22, x1, 6
sxtw x1, w0
str x1, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x21, x4, 6
orr x21, x1, x21
mov x1, x2
lsl x20, x1, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1124:
cmp sp, x1
beq .L1125
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1124
.L1125:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1126
str xzr, [sp, 1024]
.L1126:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 304]
str wzr, [x29, 224]
b .L1127
.L1128:
ldr x0, [x29, 272]
ldrsw x1, [x29, 224]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1127:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1128
str wzr, [x29, 224]
b .L1129
.L1130:
ldr x0, [x29, 288]
ldrsw x1, [x29, 224]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1129:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1130
str wzr, [x29, 224]
b .L1131
.L1132:
ldr x0, [x29, 304]
ldrsw x1, [x29, 224]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1131:
ldr w1, [x29, 224]
ldr w0, [x29, 228]
cmp w1, w0
blt .L1132
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
lsl w1, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 80]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
scvtf d0, w0
str d0, [x29, 312]
str wzr, [x29, 224]
b .L1133
.L1135:
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 48]
lsl w1, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 76]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 44]
lsl w0, w0, 1
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 48]
lsl w1, w0, 1
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 132]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 104]
add w1, w1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr w0, [x0, 128]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
add w1, w1, w0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d0, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w1, w0
ldr x0, [x29, 288]
bl generic_timing_shift_l_double
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w5, w0
mov w4, w1
adrp x0, ds+808
add x3, x0, :lo12:ds+808
adrp x0, ds
add x2, x0, :lo12:ds
ldr x1, [x29, 288]
ldr x0, [x29, 272]
bl generic_timing_double_direct_form_1
ldr x0, [x29, 240]
ldrsw x1, [x29, 224]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 240]
ldrsw x1, [x29, 224]
ldr d0, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w1, w0
ldr x0, [x29, 272]
bl generic_timing_shift_l_double
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
ldr w0, [x0]
scvtf d1, w0
adrp x0, :got:hw
ldr x0, [x0, #:got_lo12:hw]
ldr d0, [x0, 16]
fmul d0, d1, d0
str d0, [x29, 320]
adrp x0, ds
add x0, x0, :lo12:ds
ldr d0, [x0, 1616]
ldr d1, [x29, 320]
fcmpe d1, d0
bls .L1134
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 89
adrp x0, .LC49
add x1, x0, :lo12:.LC49
adrp x0, .LC50
add x0, x0, :lo12:.LC50
bl __assert_fail
.L1134:
ldr d0, [x29, 312]
fcvtzs w1, d0
adrp x0, generic_timer
add x0, x0, :lo12:generic_timer
str w1, [x0]
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1133:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1135
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 328]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1137
bl __stack_chk_fail
.L1137:
mov w0, w1
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldr x27, [sp, 80]
ldp x29, x30, [sp], 336
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE135:
.size verify_generic_timing, .-verify_generic_timing
.align 2
.global verify_timing_msp_430
.type verify_timing_msp_430, %function
verify_timing_msp_430:
.LFB136:
.cfi_startproc
stp x29, x30, [sp, -320]!
.cfi_def_cfa_offset 320
.cfi_offset 29, -320
.cfi_offset 30, -312
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
str x27, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -304
.cfi_offset 20, -296
.cfi_offset 21, -288
.cfi_offset 22, -280
.cfi_offset 23, -272
.cfi_offset 24, -264
.cfi_offset 25, -256
.cfi_offset 26, -248
.cfi_offset 27, -240
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 312]
mov x1, 0
mov x0, sp
mov x19, x0
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 232]
sxtw x0, w1
mov x4, x0
mov x5, 0
lsr x0, x4, 58
lsl x3, x5, 6
orr x3, x0, x3
lsl x2, x4, 6
sxtw x0, w1
mov x8, x0
mov x9, 0
lsr x0, x8, 58
lsl x7, x9, 6
orr x7, x0, x7
lsl x6, x8, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1141:
cmp sp, x0
beq .L1142
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1141
.L1142:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1143
str xzr, [sp, 1024]
.L1143:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 240]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 248]
sxtw x0, w1
mov x16, x0
mov x17, 0
lsr x0, x16, 58
lsl x11, x17, 6
orr x11, x0, x11
lsl x10, x16, 6
sxtw x0, w1
mov x14, x0
mov x15, 0
lsr x0, x14, 58
lsl x13, x15, 6
orr x13, x0, x13
lsl x12, x14, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1144:
cmp sp, x1
beq .L1145
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1144
.L1145:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1146
str xzr, [sp, 1024]
.L1146:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 256]
str wzr, [x29, 224]
b .L1147
.L1152:
ldr x0, [x29, 240]
ldrsw x1, [x29, 224]
str xzr, [x0, x1, lsl 3]
bl nondet_float
fcvt d0, s0
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d1, [x0, x1, lsl 3]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
fcmpe d1, d0
bge .L1172
b .L1148
.L1172:
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d1, [x0, x1, lsl 3]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
fcmpe d1, d0
bls .L1173
b .L1148
.L1173:
mov w0, 1
b .L1151
.L1148:
mov w0, 0
.L1151:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1147:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1152
str wzr, [x29, 228]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
cmp w1, w0
csel w0, w1, w0, ge
str w0, [x29, 228]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 264]
sxtw x1, w0
str x1, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 216]
ldr x4, [x29, 216]
orr x1, x1, x4
str x1, [x29, 216]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 208]
sxtw x1, w0
str x1, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 200]
ldr x4, [x29, 200]
orr x1, x1, x4
str x1, [x29, 200]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 192]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1153:
cmp sp, x1
beq .L1154
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1153
.L1154:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1155
str xzr, [sp, 1024]
.L1155:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 272]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 280]
sxtw x1, w0
str x1, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x27, x4, 6
orr x27, x1, x27
mov x1, x2
lsl x26, x1, 6
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x25, x4, 6
orr x25, x1, x25
mov x1, x2
lsl x24, x1, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1156:
cmp sp, x1
beq .L1157
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1156
.L1157:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1158
str xzr, [sp, 1024]
.L1158:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 288]
ldr w0, [x29, 228]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 296]
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x23, x4, 6
orr x23, x1, x23
mov x1, x2
lsl x22, x1, 6
sxtw x1, w0
str x1, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x21, x4, 6
orr x21, x1, x21
mov x1, x2
lsl x20, x1, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1159:
cmp sp, x1
beq .L1160
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1159
.L1160:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1161
str xzr, [sp, 1024]
.L1161:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 304]
str wzr, [x29, 224]
b .L1162
.L1163:
ldr x0, [x29, 272]
ldrsw x1, [x29, 224]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1162:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1163
str wzr, [x29, 224]
b .L1164
.L1165:
ldr x0, [x29, 288]
ldrsw x1, [x29, 224]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1164:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1165
str wzr, [x29, 224]
b .L1166
.L1167:
ldr x0, [x29, 304]
ldrsw x1, [x29, 224]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1166:
ldr w1, [x29, 224]
ldr w0, [x29, 228]
cmp w1, w0
blt .L1167
str wzr, [x29, 224]
b .L1168
.L1169:
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d0, [x0, x1, lsl 3]
fcvtzs x3, d0
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 288]
mov x0, x3
bl shiftL
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w5, w0
mov w4, w1
adrp x0, ds+808
add x3, x0, :lo12:ds+808
adrp x0, ds
add x2, x0, :lo12:ds
ldr x1, [x29, 288]
ldr x0, [x29, 272]
bl double_direct_form_1_MSP430
ldr x0, [x29, 240]
ldrsw x1, [x29, 224]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 240]
ldrsw x1, [x29, 224]
ldr d0, [x0, x1, lsl 3]
fcvtzs x3, d0
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 272]
mov x0, x3
bl shiftL
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1168:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1169
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 312]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1171
bl __stack_chk_fail
.L1171:
mov w0, w1
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldr x27, [sp, 80]
ldp x29, x30, [sp], 320
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE136:
.size verify_timing_msp_430, .-verify_timing_msp_430
.section .rodata
.align 3
.LC51:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_stability.h"
.align 3
.LC52:
.string "check_stability(_a, ds.a_size)"
.text
.align 2
.global verify_stability
.type verify_stability, %function
verify_stability:
.LFB137:
.cfi_startproc
stp x29, x30, [sp, -144]!
.cfi_def_cfa_offset 144
.cfi_offset 29, -144
.cfi_offset 30, -136
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
str x27, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -128
.cfi_offset 20, -120
.cfi_offset 21, -112
.cfi_offset 22, -104
.cfi_offset 23, -96
.cfi_offset 24, -88
.cfi_offset 25, -80
.cfi_offset 26, -72
.cfi_offset 27, -64
adrp x8, :got:__stack_chk_guard
ldr x8, [x8, #:got_lo12:__stack_chk_guard]
ldr x9, [x8]
str x9, [x29, 136]
mov x9, 0
mov x8, sp
mov x19, x8
adrp x8, overflow_mode
add x8, x8, :lo12:overflow_mode
str wzr, [x8]
adrp x8, ds
add x8, x8, :lo12:ds
ldr w8, [x8, 800]
sxtw x9, w8
sub x9, x9, #1
str x9, [x29, 104]
sxtw x9, w8
mov x6, x9
mov x7, 0
lsr x9, x6, 58
lsl x3, x7, 6
orr x3, x9, x3
lsl x2, x6, 6
sxtw x2, w8
mov x4, x2
mov x5, 0
lsr x2, x4, 58
lsl x1, x5, 6
orr x1, x2, x1
lsl x0, x4, 6
sxtw x0, w8
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1175:
cmp sp, x1
beq .L1176
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1175
.L1176:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1177
str xzr, [sp, 1024]
.L1177:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 112]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 112]
adrp x0, ds
add x0, x0, :lo12:ds
bl fxp_double_to_fxp_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 120]
sxtw x1, w0
mov x26, x1
mov x27, 0
lsr x1, x26, 58
lsl x23, x27, 6
orr x23, x1, x23
lsl x22, x26, 6
sxtw x1, w0
mov x24, x1
mov x25, 0
lsr x1, x24, 58
lsl x21, x25, 6
orr x21, x1, x21
lsl x20, x24, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1178:
cmp sp, x1
beq .L1179
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1178
.L1179:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1180
str xzr, [sp, 1024]
.L1180:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 128]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 112]
ldr x0, [x29, 128]
bl fxp_to_double_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w1, w0
ldr x0, [x29, 128]
bl check_stability
cmp w0, 0
bne .L1181
adrp x0, __PRETTY_FUNCTION__.5
add x3, x0, :lo12:__PRETTY_FUNCTION__.5
mov w2, 37
adrp x0, .LC51
add x1, x0, :lo12:.LC51
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl __assert_fail
.L1181:
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 136]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1183
bl __stack_chk_fail
.L1183:
mov w0, w1
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldr x27, [sp, 80]
ldp x29, x30, [sp], 144
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE137:
.size verify_stability, .-verify_stability
.align 2
.global verify_minimum_phase
.type verify_minimum_phase, %function
verify_minimum_phase:
.LFB138:
.cfi_startproc
stp x29, x30, [sp, -144]!
.cfi_def_cfa_offset 144
.cfi_offset 29, -144
.cfi_offset 30, -136
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
str x27, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -128
.cfi_offset 20, -120
.cfi_offset 21, -112
.cfi_offset 22, -104
.cfi_offset 23, -96
.cfi_offset 24, -88
.cfi_offset 25, -80
.cfi_offset 26, -72
.cfi_offset 27, -64
adrp x8, :got:__stack_chk_guard
ldr x8, [x8, #:got_lo12:__stack_chk_guard]
ldr x9, [x8]
str x9, [x29, 136]
mov x9, 0
mov x8, sp
mov x19, x8
adrp x8, overflow_mode
add x8, x8, :lo12:overflow_mode
str wzr, [x8]
adrp x8, ds
add x8, x8, :lo12:ds
ldr w8, [x8, 1608]
sxtw x9, w8
sub x9, x9, #1
str x9, [x29, 104]
sxtw x9, w8
mov x6, x9
mov x7, 0
lsr x9, x6, 58
lsl x3, x7, 6
orr x3, x9, x3
lsl x2, x6, 6
sxtw x2, w8
mov x4, x2
mov x5, 0
lsr x2, x4, 58
lsl x1, x5, 6
orr x1, x2, x1
lsl x0, x4, 6
sxtw x0, w8
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1185:
cmp sp, x1
beq .L1186
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1185
.L1186:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1187
str xzr, [sp, 1024]
.L1187:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 112]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 112]
adrp x0, ds+808
add x0, x0, :lo12:ds+808
bl fxp_double_to_fxp_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 120]
sxtw x1, w0
mov x26, x1
mov x27, 0
lsr x1, x26, 58
lsl x23, x27, 6
orr x23, x1, x23
lsl x22, x26, 6
sxtw x1, w0
mov x24, x1
mov x25, 0
lsr x1, x24, 58
lsl x21, x25, 6
orr x21, x1, x21
lsl x20, x24, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1188:
cmp sp, x1
beq .L1189
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1188
.L1189:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1190
str xzr, [sp, 1024]
.L1190:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 128]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 112]
ldr x0, [x29, 128]
bl fxp_to_double_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w1, w0
ldr x0, [x29, 128]
bl check_stability
cmp w0, 0
cset w0, ne
and w0, w0, 255
bl __DSVERIFIER_assert
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 136]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1192
bl __stack_chk_fail
.L1192:
mov w0, w1
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldr x27, [sp, 80]
ldp x29, x30, [sp], 144
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE138:
.size verify_minimum_phase, .-verify_minimum_phase
.section .rodata
.align 3
.LC53:
.string "Verifying stability for closedloop function"
.text
.align 2
.global verify_stability_closedloop_using_dslib
.type verify_stability_closedloop_using_dslib, %function
verify_stability_closedloop_using_dslib:
.LFB139:
.cfi_startproc
sub sp, sp, #1168
.cfi_def_cfa_offset 1168
stp x29, x30, [sp, 16]
.cfi_offset 29, -1152
.cfi_offset 30, -1144
add x29, sp, 16
.cfi_def_cfa 29, 1152
stp x19, x20, [sp, 32]
stp x21, x22, [sp, 48]
stp x23, x24, [sp, 64]
stp x25, x26, [sp, 80]
str x27, [sp, 96]
.cfi_offset 19, -1136
.cfi_offset 20, -1128
.cfi_offset 21, -1120
.cfi_offset 22, -1112
.cfi_offset 23, -1104
.cfi_offset 24, -1096
.cfi_offset 25, -1088
.cfi_offset 26, -1080
.cfi_offset 27, -1072
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 1144]
mov x1, 0
mov x0, sp
mov x19, x0
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
add x0, x0, 808
str x0, [x29, 248]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 1608]
str w0, [x29, 224]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
str x0, [x29, 256]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 800]
str w0, [x29, 228]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 264]
sxtw x0, w1
mov x8, x0
mov x9, 0
lsr x0, x8, 58
lsl x3, x9, 6
orr x3, x0, x3
lsl x2, x8, 6
sxtw x0, w1
mov x6, x0
mov x7, 0
lsr x0, x6, 58
lsl x5, x7, 6
orr x5, x0, x5
lsl x4, x6, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1194:
cmp sp, x1
beq .L1195
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1194
.L1195:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1196
str xzr, [sp, 1024]
.L1196:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 272]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 272]
ldr x0, [x29, 248]
bl fxp_double_to_fxp_array
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 800]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 280]
sxtw x1, w0
str x1, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 216]
ldr x4, [x29, 216]
orr x1, x1, x4
str x1, [x29, 216]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 208]
sxtw x1, w0
str x1, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 200]
ldr x4, [x29, 200]
orr x1, x1, x4
str x1, [x29, 200]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 192]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1197:
cmp sp, x1
beq .L1198
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1197
.L1198:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1199
str xzr, [sp, 1024]
.L1199:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 288]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 288]
ldr x0, [x29, 256]
bl fxp_double_to_fxp_array
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 1608]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 296]
sxtw x1, w0
str x1, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x27, x4, 6
orr x27, x1, x27
mov x1, x2
lsl x26, x1, 6
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x25, x4, 6
orr x25, x1, x25
mov x1, x2
lsl x24, x1, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1200:
cmp sp, x1
beq .L1201
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1200
.L1201:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1202
str xzr, [sp, 1024]
.L1202:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 304]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 272]
ldr x0, [x29, 304]
bl fxp_to_double_array
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 800]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 312]
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x23, x4, 6
orr x23, x1, x23
mov x1, x2
lsl x22, x1, 6
sxtw x1, w0
str x1, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x21, x4, 6
orr x21, x1, x21
mov x1, x2
lsl x20, x1, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1203:
cmp sp, x1
beq .L1204
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1203
.L1204:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1205
str xzr, [sp, 1024]
.L1205:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 320]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 288]
ldr x0, [x29, 320]
bl fxp_to_double_array
adrp x0, plant_cbmc+808
add x0, x0, :lo12:plant_cbmc+808
str x0, [x29, 328]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 1608]
str w0, [x29, 232]
adrp x0, plant_cbmc
add x0, x0, :lo12:plant_cbmc
str x0, [x29, 336]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 800]
str w0, [x29, 236]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 1608]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 1608]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 240]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 800]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 800]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 244]
adrp x0, .LC53
add x0, x0, :lo12:.LC53
bl puts
add x0, x29, 344
ldr w5, [x29, 236]
ldr x4, [x29, 336]
ldr w3, [x29, 232]
ldr x2, [x29, 328]
ldr w1, [x29, 244]
bl check_stability_closedloop
cmp w0, 0
cset w0, ne
and w0, w0, 255
bl __DSVERIFIER_assert
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 1144]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1207
bl __stack_chk_fail
.L1207:
mov w0, w1
sub sp, x29, #16
.cfi_def_cfa 31, 1168
ldp x19, x20, [sp, 32]
ldp x21, x22, [sp, 48]
ldp x23, x24, [sp, 64]
ldp x25, x26, [sp, 80]
ldr x27, [sp, 96]
ldp x29, x30, [sp, 16]
add sp, sp, 1168
.cfi_restore 29
.cfi_restore 30
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE139:
.size verify_stability_closedloop_using_dslib, .-verify_stability_closedloop_using_dslib
.align 2
.global verify_limit_cycle_closed_loop
.type verify_limit_cycle_closed_loop, %function
verify_limit_cycle_closed_loop:
.LFB140:
.cfi_startproc
sub sp, sp, #2544
.cfi_def_cfa_offset 2544
stp x29, x30, [sp, 16]
.cfi_offset 29, -2528
.cfi_offset 30, -2520
add x29, sp, 16
.cfi_def_cfa 29, 2528
stp x19, x20, [sp, 32]
stp x21, x22, [sp, 48]
stp x23, x24, [sp, 64]
stp x25, x26, [sp, 80]
str x27, [sp, 96]
.cfi_offset 19, -2512
.cfi_offset 20, -2504
.cfi_offset 21, -2496
.cfi_offset 22, -2488
.cfi_offset 23, -2480
.cfi_offset 24, -2472
.cfi_offset 25, -2464
.cfi_offset 26, -2456
.cfi_offset 27, -2448
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 2520]
mov x1, 0
mov x0, sp
mov x19, x0
adrp x0, overflow_mode
add x1, x0, :lo12:overflow_mode
mov w0, 3
str w0, [x1]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
add x0, x0, 808
str x0, [x29, 704]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 1608]
str w0, [x29, 676]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
str x0, [x29, 712]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 800]
str w0, [x29, 680]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 720]
sxtw x0, w1
mov x4, x0
mov x5, 0
lsr x0, x4, 58
lsl x3, x5, 6
orr x3, x0, x3
lsl x2, x4, 6
sxtw x0, w1
mov x8, x0
mov x9, 0
lsr x0, x8, 58
lsl x7, x9, 6
orr x7, x0, x7
lsl x6, x8, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1209:
cmp sp, x0
beq .L1210
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1209
.L1210:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1211
str xzr, [sp, 1024]
.L1211:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 728]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 728]
ldr x0, [x29, 704]
bl fxp_double_to_fxp_array
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 736]
sxtw x0, w1
mov x24, x0
mov x25, 0
lsr x0, x24, 58
lsl x21, x25, 6
orr x21, x0, x21
lsl x20, x24, 6
sxtw x0, w1
mov x26, x0
mov x27, 0
lsr x0, x26, 58
lsl x23, x27, 6
orr x23, x0, x23
lsl x22, x26, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1212:
cmp sp, x0
beq .L1213
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1212
.L1213:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1214
str xzr, [sp, 1024]
.L1214:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 744]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 744]
ldr x0, [x29, 712]
bl fxp_double_to_fxp_array
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 752]
sxtw x0, w1
str x0, [x29, 368]
str xzr, [x29, 376]
ldp x2, x3, [x29, 368]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 664]
ldr x4, [x29, 664]
orr x0, x0, x4
str x0, [x29, 664]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 656]
sxtw x0, w1
str x0, [x29, 352]
str xzr, [x29, 360]
ldp x2, x3, [x29, 352]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 648]
ldr x4, [x29, 648]
orr x0, x0, x4
str x0, [x29, 648]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 640]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1215:
cmp sp, x0
beq .L1216
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1215
.L1216:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1217
str xzr, [sp, 1024]
.L1217:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 760]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 728]
ldr x0, [x29, 760]
bl fxp_to_double_array
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 768]
sxtw x0, w1
str x0, [x29, 336]
str xzr, [x29, 344]
ldp x2, x3, [x29, 336]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 632]
ldr x4, [x29, 632]
orr x0, x0, x4
str x0, [x29, 632]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 624]
sxtw x0, w1
str x0, [x29, 320]
str xzr, [x29, 328]
ldp x2, x3, [x29, 320]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 616]
ldr x4, [x29, 616]
orr x0, x0, x4
str x0, [x29, 616]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 608]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1218:
cmp sp, x0
beq .L1219
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1218
.L1219:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1220
str xzr, [sp, 1024]
.L1220:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 776]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 744]
ldr x0, [x29, 776]
bl fxp_to_double_array
adrp x0, plant_cbmc+808
add x0, x0, :lo12:plant_cbmc+808
str x0, [x29, 784]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 1608]
str w0, [x29, 684]
adrp x0, plant_cbmc
add x0, x0, :lo12:plant_cbmc
str x0, [x29, 792]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 800]
str w0, [x29, 688]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 1608]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 1608]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 692]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 800]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 800]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 696]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 800]
sxtw x0, w1
str x0, [x29, 304]
str xzr, [x29, 312]
ldp x2, x3, [x29, 304]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 600]
ldr x4, [x29, 600]
orr x0, x0, x4
str x0, [x29, 600]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 592]
sxtw x0, w1
str x0, [x29, 288]
str xzr, [x29, 296]
ldp x2, x3, [x29, 288]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 584]
ldr x4, [x29, 584]
orr x0, x0, x4
str x0, [x29, 584]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 576]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1221:
cmp sp, x0
beq .L1222
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1221
.L1222:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1223
str xzr, [sp, 1024]
.L1223:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 808]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 816]
sxtw x0, w1
str x0, [x29, 272]
str xzr, [x29, 280]
ldp x2, x3, [x29, 272]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 568]
ldr x4, [x29, 568]
orr x0, x0, x4
str x0, [x29, 568]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 560]
sxtw x0, w1
str x0, [x29, 256]
str xzr, [x29, 264]
ldp x2, x3, [x29, 256]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 552]
ldr x4, [x29, 552]
orr x0, x0, x4
str x0, [x29, 552]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 544]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1224:
cmp sp, x0
beq .L1225
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1224
.L1225:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1226
str xzr, [sp, 1024]
.L1226:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 824]
ldr w1, [x29, 692]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 832]
sxtw x0, w1
str x0, [x29, 240]
str xzr, [x29, 248]
ldp x2, x3, [x29, 240]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 536]
ldr x4, [x29, 536]
orr x0, x0, x4
str x0, [x29, 536]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 528]
sxtw x0, w1
str x0, [x29, 224]
str xzr, [x29, 232]
ldp x2, x3, [x29, 224]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 520]
ldr x4, [x29, 520]
orr x0, x0, x4
str x0, [x29, 520]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 512]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1227:
cmp sp, x0
beq .L1228
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1227
.L1228:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1229
str xzr, [sp, 1024]
.L1229:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 840]
bl nondet_double
str d0, [x29, 848]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
ldr d1, [x29, 848]
fcmpe d1, d0
bge .L1260
b .L1230
.L1260:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
ldr d1, [x29, 848]
fcmpe d1, d0
bls .L1261
b .L1230
.L1261:
mov w0, 1
b .L1233
.L1230:
mov w0, 0
.L1233:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
str wzr, [x29, 672]
b .L1234
.L1235:
ldr x1, [x29, 824]
ldrsw x0, [x29, 672]
ldr d0, [x29, 848]
str d0, [x1, x0, lsl 3]
ldr x1, [x29, 808]
ldrsw x0, [x29, 672]
str xzr, [x1, x0, lsl 3]
ldr w0, [x29, 672]
add w0, w0, 1
str w0, [x29, 672]
.L1234:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
ldr w0, [x29, 672]
cmp w0, w1
blt .L1235
str wzr, [x29, 672]
b .L1236
.L1237:
ldr x1, [x29, 840]
ldrsw x0, [x29, 672]
ldr d0, [x29, 848]
str d0, [x1, x0, lsl 3]
ldr w0, [x29, 672]
add w0, w0, 1
str w0, [x29, 672]
.L1236:
ldr w1, [x29, 672]
ldr w0, [x29, 692]
cmp w1, w0
blt .L1237
ldr w1, [x29, 696]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 856]
sxtw x0, w1
str x0, [x29, 208]
str xzr, [x29, 216]
ldp x2, x3, [x29, 208]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 504]
ldr x4, [x29, 504]
orr x0, x0, x4
str x0, [x29, 504]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 496]
sxtw x0, w1
str x0, [x29, 192]
str xzr, [x29, 200]
ldp x2, x3, [x29, 192]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 488]
ldr x4, [x29, 488]
orr x0, x0, x4
str x0, [x29, 488]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 480]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1238:
cmp sp, x1
beq .L1239
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1238
.L1239:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1240
str xzr, [sp, 1024]
.L1240:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 864]
ldr w0, [x29, 696]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 872]
sxtw x1, w0
str x1, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 472]
ldr x4, [x29, 472]
orr x1, x1, x4
str x1, [x29, 472]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 464]
sxtw x1, w0
str x1, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 456]
ldr x4, [x29, 456]
orr x1, x1, x4
str x1, [x29, 456]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 448]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1241:
cmp sp, x1
beq .L1242
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1241
.L1242:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1243
str xzr, [sp, 1024]
.L1243:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 880]
ldr w0, [x29, 696]
ldr w2, [x29, 692]
ldr w1, [x29, 692]
cmp w2, w0
csel w0, w1, w0, ge
str w0, [x29, 700]
ldr w0, [x29, 700]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 888]
sxtw x1, w0
str x1, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 440]
ldr x4, [x29, 440]
orr x1, x1, x4
str x1, [x29, 440]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 432]
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 424]
ldr x4, [x29, 424]
orr x1, x1, x4
str x1, [x29, 424]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 416]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1244:
cmp sp, x1
beq .L1245
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1244
.L1245:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1246
str xzr, [sp, 1024]
.L1246:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 896]
ldr w0, [x29, 700]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 904]
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 408]
ldr x4, [x29, 408]
orr x1, x1, x4
str x1, [x29, 408]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 400]
sxtw x1, w0
str x1, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 392]
ldr x4, [x29, 392]
orr x1, x1, x4
str x1, [x29, 392]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 384]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1247:
cmp sp, x1
beq .L1248
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1247
.L1248:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1249
str xzr, [sp, 1024]
.L1249:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 912]
str wzr, [x29, 672]
b .L1250
.L1255:
bl nondet_int
scvtf d0, w0
ldr x0, [x29, 864]
ldrsw x1, [x29, 672]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 864]
ldrsw x1, [x29, 672]
ldr d1, [x0, x1, lsl 3]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
fcmpe d1, d0
bge .L1262
b .L1251
.L1262:
ldr x0, [x29, 864]
ldrsw x1, [x29, 672]
ldr d1, [x0, x1, lsl 3]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
fcmpe d1, d0
bls .L1263
b .L1251
.L1263:
mov w0, 1
b .L1254
.L1251:
mov w0, 0
.L1254:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr x0, [x29, 864]
ldrsw x1, [x29, 672]
ldr d0, [x0, x1, lsl 3]
ldr x0, [x29, 880]
ldrsw x1, [x29, 672]
str d0, [x0, x1, lsl 3]
ldr w0, [x29, 672]
add w0, w0, 1
str w0, [x29, 672]
.L1250:
ldr w1, [x29, 672]
ldr w0, [x29, 696]
cmp w1, w0
blt .L1255
str wzr, [x29, 672]
b .L1256
.L1257:
ldr x0, [x29, 824]
ldrsw x1, [x29, 672]
ldr d0, [x0, x1, lsl 3]
ldr w1, [x29, 692]
ldr x0, [x29, 840]
bl shiftLDouble
add x1, x29, 920
add x0, x29, 1720
ldr w5, [x29, 692]
ldr w4, [x29, 696]
mov x3, x1
mov x2, x0
ldr x1, [x29, 840]
ldr x0, [x29, 864]
bl double_direct_form_1
ldr x0, [x29, 808]
ldrsw x1, [x29, 672]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 808]
ldrsw x1, [x29, 672]
ldr d0, [x0, x1, lsl 3]
ldr w1, [x29, 696]
ldr x0, [x29, 864]
bl shiftLDouble
ldr w0, [x29, 672]
add w0, w0, 1
str w0, [x29, 672]
.L1256:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 672]
cmp w1, w0
blt .L1257
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
mov w1, w0
ldr x0, [x29, 808]
bl double_check_persistent_limit_cycle
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 2520]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1259
bl __stack_chk_fail
.L1259:
mov w0, w1
sub sp, x29, #16
.cfi_def_cfa 31, 2544
ldp x19, x20, [sp, 32]
ldp x21, x22, [sp, 48]
ldp x23, x24, [sp, 64]
ldp x25, x26, [sp, 80]
ldr x27, [sp, 96]
ldp x29, x30, [sp, 16]
add sp, sp, 2544
.cfi_restore 29
.cfi_restore 30
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE140:
.size verify_limit_cycle_closed_loop, .-verify_limit_cycle_closed_loop
.align 2
.global verify_error_closedloop
.type verify_error_closedloop, %function
verify_error_closedloop:
.LFB141:
.cfi_startproc
mov x12, 4800
sub sp, sp, x12
.cfi_def_cfa_offset 4800
stp x29, x30, [sp, 16]
.cfi_offset 29, -4784
.cfi_offset 30, -4776
add x29, sp, 16
.cfi_def_cfa 29, 4784
stp x19, x20, [sp, 32]
stp x21, x22, [sp, 48]
stp x23, x24, [sp, 64]
stp x25, x26, [sp, 80]
str x27, [sp, 96]
str d8, [sp, 104]
.cfi_offset 19, -4768
.cfi_offset 20, -4760
.cfi_offset 21, -4752
.cfi_offset 22, -4744
.cfi_offset 23, -4736
.cfi_offset 24, -4728
.cfi_offset 25, -4720
.cfi_offset 26, -4712
.cfi_offset 27, -4704
.cfi_offset 72, -4696
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 4776]
mov x1, 0
mov x0, sp
mov x19, x0
adrp x0, overflow_mode
add x1, x0, :lo12:overflow_mode
mov w0, 3
str w0, [x1]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
add x0, x0, 808
str x0, [x29, 1224]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 1608]
str w0, [x29, 1196]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
str x0, [x29, 1232]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 800]
str w0, [x29, 1200]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1240]
sxtw x0, w1
mov x4, x0
mov x5, 0
lsr x0, x4, 58
lsl x3, x5, 6
orr x3, x0, x3
lsl x2, x4, 6
sxtw x0, w1
mov x8, x0
mov x9, 0
lsr x0, x8, 58
lsl x7, x9, 6
orr x7, x0, x7
lsl x6, x8, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1265:
cmp sp, x0
beq .L1266
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1265
.L1266:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1267
str xzr, [sp, 1024]
.L1267:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1248]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 1248]
ldr x0, [x29, 1224]
bl fxp_double_to_fxp_array
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1256]
sxtw x0, w1
mov x24, x0
mov x25, 0
lsr x0, x24, 58
lsl x21, x25, 6
orr x21, x0, x21
lsl x20, x24, 6
sxtw x0, w1
mov x26, x0
mov x27, 0
lsr x0, x26, 58
lsl x23, x27, 6
orr x23, x0, x23
lsl x22, x26, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1268:
cmp sp, x0
beq .L1269
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1268
.L1269:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1270
str xzr, [sp, 1024]
.L1270:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1264]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 1264]
ldr x0, [x29, 1232]
bl fxp_double_to_fxp_array
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 1608]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1272]
sxtw x0, w1
str x0, [x29, 624]
str xzr, [x29, 632]
add x0, x29, 512
ldp x2, x3, [x0, 112]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1176]
ldr x4, [x29, 1176]
orr x0, x0, x4
str x0, [x29, 1176]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 1168]
sxtw x0, w1
str x0, [x29, 608]
str xzr, [x29, 616]
add x0, x29, 512
ldp x2, x3, [x0, 96]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1160]
ldr x4, [x29, 1160]
orr x0, x0, x4
str x0, [x29, 1160]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 1152]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1271:
cmp sp, x0
beq .L1272
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1271
.L1272:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1273
str xzr, [sp, 1024]
.L1273:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1280]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 1248]
ldr x0, [x29, 1280]
bl fxp_to_double_array
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1288]
sxtw x0, w1
str x0, [x29, 592]
str xzr, [x29, 600]
add x0, x29, 512
ldp x2, x3, [x0, 80]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1144]
ldr x4, [x29, 1144]
orr x0, x0, x4
str x0, [x29, 1144]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 1136]
sxtw x0, w1
str x0, [x29, 576]
str xzr, [x29, 584]
add x0, x29, 512
ldp x2, x3, [x0, 64]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1128]
ldr x4, [x29, 1128]
orr x0, x0, x4
str x0, [x29, 1128]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 1120]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1274:
cmp sp, x0
beq .L1275
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1274
.L1275:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1276
str xzr, [sp, 1024]
.L1276:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1296]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 1264]
ldr x0, [x29, 1296]
bl fxp_to_double_array
adrp x0, plant_cbmc+808
add x0, x0, :lo12:plant_cbmc+808
str x0, [x29, 1304]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 1608]
str w0, [x29, 1204]
adrp x0, plant_cbmc
add x0, x0, :lo12:plant_cbmc
str x0, [x29, 1312]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 800]
str w0, [x29, 1208]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 1608]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 1608]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 1212]
adrp x0, :got:controller
ldr x0, [x0, #:got_lo12:controller]
ldr w1, [x0, 800]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 800]
add w0, w1, w0
sub w0, w0, #1
str w0, [x29, 1216]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1320]
sxtw x0, w1
str x0, [x29, 560]
str xzr, [x29, 568]
add x0, x29, 512
ldp x2, x3, [x0, 48]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1112]
ldr x4, [x29, 1112]
orr x0, x0, x4
str x0, [x29, 1112]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 1104]
sxtw x0, w1
str x0, [x29, 544]
str xzr, [x29, 552]
add x0, x29, 512
ldp x2, x3, [x0, 32]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1096]
ldr x4, [x29, 1096]
orr x0, x0, x4
str x0, [x29, 1096]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 1088]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1277:
cmp sp, x0
beq .L1278
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1277
.L1278:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1279
str xzr, [sp, 1024]
.L1279:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1328]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1336]
sxtw x0, w1
str x0, [x29, 528]
str xzr, [x29, 536]
add x0, x29, 512
ldp x2, x3, [x0, 16]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1080]
ldr x4, [x29, 1080]
orr x0, x0, x4
str x0, [x29, 1080]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 1072]
sxtw x0, w1
str x0, [x29, 512]
str xzr, [x29, 520]
add x0, x29, 512
ldp x2, x3, [x0]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1064]
ldr x4, [x29, 1064]
orr x0, x0, x4
str x0, [x29, 1064]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 1056]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1280:
cmp sp, x0
beq .L1281
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1280
.L1281:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1282
str xzr, [sp, 1024]
.L1282:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1344]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1352]
sxtw x0, w1
str x0, [x29, 496]
str xzr, [x29, 504]
ldp x2, x3, [x29, 496]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1048]
ldr x4, [x29, 1048]
orr x0, x0, x4
str x0, [x29, 1048]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 1040]
sxtw x0, w1
str x0, [x29, 480]
str xzr, [x29, 488]
ldp x2, x3, [x29, 480]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1032]
ldr x4, [x29, 1032]
orr x0, x0, x4
str x0, [x29, 1032]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 1024]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1283:
cmp sp, x0
beq .L1284
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1283
.L1284:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1285
str xzr, [sp, 1024]
.L1285:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1360]
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1368]
sxtw x0, w1
str x0, [x29, 464]
str xzr, [x29, 472]
ldp x2, x3, [x29, 464]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1016]
ldr x4, [x29, 1016]
orr x0, x0, x4
str x0, [x29, 1016]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 1008]
sxtw x0, w1
str x0, [x29, 448]
str xzr, [x29, 456]
ldp x2, x3, [x29, 448]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 1000]
ldr x4, [x29, 1000]
orr x0, x0, x4
str x0, [x29, 1000]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 992]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1286:
cmp sp, x0
beq .L1287
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1286
.L1287:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1288
str xzr, [sp, 1024]
.L1288:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1376]
ldr w1, [x29, 1212]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1384]
sxtw x0, w1
str x0, [x29, 432]
str xzr, [x29, 440]
ldp x2, x3, [x29, 432]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 984]
ldr x4, [x29, 984]
orr x0, x0, x4
str x0, [x29, 984]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 976]
sxtw x0, w1
str x0, [x29, 416]
str xzr, [x29, 424]
ldp x2, x3, [x29, 416]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 968]
ldr x4, [x29, 968]
orr x0, x0, x4
str x0, [x29, 968]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 960]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1289:
cmp sp, x0
beq .L1290
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1289
.L1290:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1291
str xzr, [sp, 1024]
.L1291:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1392]
ldr w1, [x29, 1212]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1400]
sxtw x0, w1
str x0, [x29, 400]
str xzr, [x29, 408]
ldp x2, x3, [x29, 400]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 952]
ldr x4, [x29, 952]
orr x0, x0, x4
str x0, [x29, 952]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 944]
sxtw x0, w1
str x0, [x29, 384]
str xzr, [x29, 392]
ldp x2, x3, [x29, 384]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 936]
ldr x4, [x29, 936]
orr x0, x0, x4
str x0, [x29, 936]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 928]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1292:
cmp sp, x0
beq .L1293
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1292
.L1293:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1294
str xzr, [sp, 1024]
.L1294:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1408]
ldr w1, [x29, 1212]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1416]
sxtw x0, w1
str x0, [x29, 368]
str xzr, [x29, 376]
ldp x2, x3, [x29, 368]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 920]
ldr x4, [x29, 920]
orr x0, x0, x4
str x0, [x29, 920]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 912]
sxtw x0, w1
str x0, [x29, 352]
str xzr, [x29, 360]
ldp x2, x3, [x29, 352]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 904]
ldr x4, [x29, 904]
orr x0, x0, x4
str x0, [x29, 904]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 896]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1295:
cmp sp, x0
beq .L1296
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1295
.L1296:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1297
str xzr, [sp, 1024]
.L1297:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1424]
bl nondet_double
str d0, [x29, 1432]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
ldr d1, [x29, 1432]
fcmpe d1, d0
bge .L1340
b .L1298
.L1340:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
ldr d1, [x29, 1432]
fcmpe d1, d0
bls .L1341
b .L1298
.L1341:
mov w0, 1
b .L1301
.L1298:
mov w0, 0
.L1301:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
str wzr, [x29, 1192]
b .L1302
.L1303:
ldr x1, [x29, 1360]
ldrsw x0, [x29, 1192]
ldr d0, [x29, 1432]
str d0, [x1, x0, lsl 3]
ldr x1, [x29, 1376]
ldrsw x0, [x29, 1192]
ldr d0, [x29, 1432]
str d0, [x1, x0, lsl 3]
ldr x1, [x29, 1328]
ldrsw x0, [x29, 1192]
str xzr, [x1, x0, lsl 3]
ldr x1, [x29, 1344]
ldrsw x0, [x29, 1192]
str xzr, [x1, x0, lsl 3]
ldr w0, [x29, 1192]
add w0, w0, 1
str w0, [x29, 1192]
.L1302:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
ldr w0, [x29, 1192]
cmp w0, w1
blt .L1303
str wzr, [x29, 1192]
b .L1304
.L1305:
ldr x1, [x29, 1392]
ldrsw x0, [x29, 1192]
ldr d0, [x29, 1432]
str d0, [x1, x0, lsl 3]
ldr x1, [x29, 1408]
ldrsw x0, [x29, 1192]
ldr d0, [x29, 1432]
str d0, [x1, x0, lsl 3]
ldr w0, [x29, 1192]
add w0, w0, 1
str w0, [x29, 1192]
.L1304:
ldr w1, [x29, 1192]
ldr w0, [x29, 1212]
cmp w1, w0
blt .L1305
ldr w1, [x29, 1216]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1440]
sxtw x0, w1
str x0, [x29, 336]
str xzr, [x29, 344]
ldp x2, x3, [x29, 336]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 888]
ldr x4, [x29, 888]
orr x0, x0, x4
str x0, [x29, 888]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 880]
sxtw x0, w1
str x0, [x29, 320]
str xzr, [x29, 328]
ldp x2, x3, [x29, 320]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 872]
ldr x4, [x29, 872]
orr x0, x0, x4
str x0, [x29, 872]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 864]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1306:
cmp sp, x0
beq .L1307
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1306
.L1307:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1308
str xzr, [sp, 1024]
.L1308:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1448]
ldr w1, [x29, 1216]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1456]
sxtw x0, w1
str x0, [x29, 304]
str xzr, [x29, 312]
ldp x2, x3, [x29, 304]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 856]
ldr x4, [x29, 856]
orr x0, x0, x4
str x0, [x29, 856]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 848]
sxtw x0, w1
str x0, [x29, 288]
str xzr, [x29, 296]
ldp x2, x3, [x29, 288]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 840]
ldr x4, [x29, 840]
orr x0, x0, x4
str x0, [x29, 840]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 832]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1309:
cmp sp, x0
beq .L1310
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1309
.L1310:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1311
str xzr, [sp, 1024]
.L1311:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1464]
ldr w1, [x29, 1216]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1472]
sxtw x0, w1
str x0, [x29, 272]
str xzr, [x29, 280]
ldp x2, x3, [x29, 272]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 824]
ldr x4, [x29, 824]
orr x0, x0, x4
str x0, [x29, 824]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 816]
sxtw x0, w1
str x0, [x29, 256]
str xzr, [x29, 264]
ldp x2, x3, [x29, 256]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 808]
ldr x4, [x29, 808]
orr x0, x0, x4
str x0, [x29, 808]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 800]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1312:
cmp sp, x0
beq .L1313
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1312
.L1313:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1314
str xzr, [sp, 1024]
.L1314:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1480]
ldr w1, [x29, 1216]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1488]
sxtw x0, w1
str x0, [x29, 240]
str xzr, [x29, 248]
ldp x2, x3, [x29, 240]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 792]
ldr x4, [x29, 792]
orr x0, x0, x4
str x0, [x29, 792]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 784]
sxtw x0, w1
str x0, [x29, 224]
str xzr, [x29, 232]
ldp x2, x3, [x29, 224]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 776]
ldr x4, [x29, 776]
orr x0, x0, x4
str x0, [x29, 776]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 768]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1315:
cmp sp, x0
beq .L1316
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1315
.L1316:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1317
str xzr, [sp, 1024]
.L1317:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1496]
ldr w2, [x29, 1216]
ldr w1, [x29, 1212]
ldr w0, [x29, 1212]
cmp w1, w2
csel w0, w0, w2, ge
str w0, [x29, 1220]
ldr w1, [x29, 1220]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 1504]
sxtw x0, w1
str x0, [x29, 208]
str xzr, [x29, 216]
ldp x2, x3, [x29, 208]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 760]
ldr x4, [x29, 760]
orr x0, x0, x4
str x0, [x29, 760]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 752]
sxtw x0, w1
str x0, [x29, 192]
str xzr, [x29, 200]
ldp x2, x3, [x29, 192]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 744]
ldr x4, [x29, 744]
orr x0, x0, x4
str x0, [x29, 744]
mov x0, x2
lsl x0, x0, 6
str x0, [x29, 736]
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1318:
cmp sp, x1
beq .L1319
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1318
.L1319:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1320
str xzr, [sp, 1024]
.L1320:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1512]
ldr w0, [x29, 1220]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 1520]
sxtw x1, w0
str x1, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 728]
ldr x4, [x29, 728]
orr x1, x1, x4
str x1, [x29, 728]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 720]
sxtw x1, w0
str x1, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 712]
ldr x4, [x29, 712]
orr x1, x1, x4
str x1, [x29, 712]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 704]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1321:
cmp sp, x1
beq .L1322
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1321
.L1322:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1323
str xzr, [sp, 1024]
.L1323:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1528]
ldr w0, [x29, 1220]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 1536]
sxtw x1, w0
str x1, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 696]
ldr x4, [x29, 696]
orr x1, x1, x4
str x1, [x29, 696]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 688]
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 680]
ldr x4, [x29, 680]
orr x1, x1, x4
str x1, [x29, 680]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 672]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1324:
cmp sp, x1
beq .L1325
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1324
.L1325:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1326
str xzr, [sp, 1024]
.L1326:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1544]
ldr w0, [x29, 1220]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 1552]
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 664]
ldr x4, [x29, 664]
orr x1, x1, x4
str x1, [x29, 664]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 656]
sxtw x1, w0
str x1, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 648]
ldr x4, [x29, 648]
orr x1, x1, x4
str x1, [x29, 648]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 640]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1327:
cmp sp, x1
beq .L1328
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1327
.L1328:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1329
str xzr, [sp, 1024]
.L1329:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 1560]
str wzr, [x29, 1192]
b .L1330
.L1331:
ldr x0, [x29, 1448]
ldrsw x1, [x29, 1192]
str xzr, [x0, x1, lsl 3]
ldr x0, [x29, 1464]
ldrsw x1, [x29, 1192]
str xzr, [x0, x1, lsl 3]
ldr w0, [x29, 1192]
add w0, w0, 1
str w0, [x29, 1192]
.L1330:
ldr w1, [x29, 1192]
ldr w0, [x29, 1216]
cmp w1, w0
blt .L1331
str wzr, [x29, 1192]
b .L1332
.L1337:
ldr x0, [x29, 1360]
ldrsw x1, [x29, 1192]
ldr d0, [x0, x1, lsl 3]
ldr w1, [x29, 1212]
ldr x0, [x29, 1392]
bl shiftLDouble
add x1, x29, 2376
add x0, x29, 3176
ldr w5, [x29, 1212]
ldr w4, [x29, 1216]
mov x3, x1
mov x2, x0
ldr x1, [x29, 1392]
ldr x0, [x29, 1448]
bl double_direct_form_1
ldr x0, [x29, 1328]
ldrsw x1, [x29, 1192]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 1328]
ldrsw x1, [x29, 1192]
ldr d0, [x0, x1, lsl 3]
ldr w1, [x29, 1216]
ldr x0, [x29, 1448]
bl shiftLDouble
ldr x0, [x29, 1376]
ldrsw x1, [x29, 1192]
ldr d0, [x0, x1, lsl 3]
ldr w1, [x29, 1212]
ldr x0, [x29, 1408]
bl shiftLDouble
add x1, x29, 1576
add x0, x29, 3976
ldr w5, [x29, 1212]
ldr w4, [x29, 1216]
mov x3, x1
mov x2, x0
ldr x1, [x29, 1408]
ldr x0, [x29, 1464]
bl double_direct_form_1
ldr x0, [x29, 1344]
ldrsw x1, [x29, 1192]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 1344]
ldrsw x1, [x29, 1192]
ldr d0, [x0, x1, lsl 3]
ldr w1, [x29, 1216]
ldr x0, [x29, 1464]
bl shiftLDouble
ldr x0, [x29, 1344]
ldrsw x1, [x29, 1192]
ldr d8, [x0, x1, lsl 3]
ldr x0, [x29, 1328]
ldrsw x1, [x29, 1192]
ldr d0, [x0, x1, lsl 3]
fcvtzs x0, d0
bl fxp_to_double
fsub d0, d8, d0
str d0, [x29, 1568]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 48]
ldr d1, [x29, 1568]
fcmpe d1, d0
bmi .L1342
b .L1333
.L1342:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 48]
fneg d0, d0
ldr d1, [x29, 1568]
fcmpe d1, d0
bgt .L1343
b .L1333
.L1343:
mov w0, 1
b .L1336
.L1333:
mov w0, 0
.L1336:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assert
ldr w0, [x29, 1192]
add w0, w0, 1
str w0, [x29, 1192]
.L1332:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 1192]
cmp w1, w0
blt .L1337
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 4776]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1339
bl __stack_chk_fail
.L1339:
mov w0, w1
sub sp, x29, #16
.cfi_def_cfa 31, 4800
ldr d8, [sp, 104]
ldp x19, x20, [sp, 32]
ldp x21, x22, [sp, 48]
ldp x23, x24, [sp, 64]
ldp x25, x26, [sp, 80]
ldr x27, [sp, 96]
ldp x29, x30, [sp, 16]
mov x12, 4800
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE141:
.size verify_error_closedloop, .-verify_error_closedloop
.global new_state
.bss
.align 3
.type new_state, %object
.size new_state, 128
new_state:
.zero 128
.global new_stateFWL
.align 3
.type new_stateFWL, %object
.size new_stateFWL, 128
new_stateFWL:
.zero 128
.global _controller_fxp
.align 3
.type _controller_fxp, %object
.size _controller_fxp, 1040
_controller_fxp:
.zero 1040
.global _controller_double
.align 3
.type _controller_double, %object
.size _controller_double, 1040
_controller_double:
.zero 1040
.text
.align 2
.global ss_system_quantization_error
.type ss_system_quantization_error, %function
ss_system_quantization_error:
.LFB142:
.cfi_startproc
sub sp, sp, #1120
.cfi_def_cfa_offset 1120
stp x29, x30, [sp]
.cfi_offset 29, -1120
.cfi_offset 30, -1112
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1112]
mov x1, 0
ldr d0, [sp, 24]
scvtf d0, d0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
str d0, [x0, 768]
str wzr, [sp, 40]
b .L1345
.L1348:
str wzr, [sp, 44]
b .L1346
.L1347:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 72
str d0, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1346:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1347
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1345:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1348
str wzr, [sp, 40]
b .L1349
.L1352:
str wzr, [sp, 44]
b .L1350
.L1351:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 16
ldr d0, [x0, x1, lsl 3]
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 16
lsl x0, x0, 3
add x1, sp, 72
str d0, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1350:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1351
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1349:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1352
str wzr, [sp, 40]
b .L1353
.L1356:
str wzr, [sp, 44]
b .L1354
.L1355:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 32
ldr d0, [x0, x1, lsl 3]
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 32
lsl x0, x0, 3
add x1, sp, 72
str d0, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1354:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1355
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1353:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1356
str wzr, [sp, 40]
b .L1357
.L1360:
str wzr, [sp, 44]
b .L1358
.L1359:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 48
ldr d0, [x0, x1, lsl 3]
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 48
lsl x0, x0, 3
add x1, sp, 72
str d0, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1358:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1359
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1357:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1360
str wzr, [sp, 40]
b .L1361
.L1364:
str wzr, [sp, 44]
b .L1362
.L1363:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 64
ldr d0, [x0, x1, lsl 3]
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 64
lsl x0, x0, 3
add x1, sp, 72
str d0, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1362:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1363
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1361:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1364
str wzr, [sp, 40]
b .L1365
.L1368:
str wzr, [sp, 44]
b .L1366
.L1367:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 96
ldr d0, [x0, x1, lsl 3]
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 96
lsl x0, x0, 3
add x1, sp, 72
str d0, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1366:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1367
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1365:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1368
str wzr, [sp, 40]
b .L1369
.L1372:
str wzr, [sp, 44]
b .L1370
.L1371:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 80
ldr d0, [x0, x1, lsl 3]
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 80
lsl x0, x0, 3
add x1, sp, 72
str d0, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1370:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1371
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1369:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1372
str xzr, [sp, 48]
str wzr, [sp, 40]
b .L1373
.L1376:
str wzr, [sp, 44]
b .L1374
.L1375:
adrp x0, new_state
add x0, x0, :lo12:new_state
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 64
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1374:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1375
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1373:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1376
bl double_state_space_representation
str d0, [sp, 56]
str wzr, [sp, 40]
b .L1377
.L1380:
str wzr, [sp, 44]
b .L1378
.L1379:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 64
ldr d0, [x0, x1, lsl 3]
adrp x0, new_state
add x0, x0, :lo12:new_state
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1378:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1379
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1377:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1380
ldr d0, [sp, 24]
scvtf d0, d0
str d0, [sp, 840]
str wzr, [sp, 40]
b .L1381
.L1384:
str wzr, [sp, 44]
b .L1382
.L1383:
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 72
ldr d0, [x1, x0]
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1382:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1383
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1381:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1384
str wzr, [sp, 40]
b .L1385
.L1388:
str wzr, [sp, 44]
b .L1386
.L1387:
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 16
lsl x0, x0, 3
add x1, sp, 72
ldr d0, [x1, x0]
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 16
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1386:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1387
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1385:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1388
str wzr, [sp, 40]
b .L1389
.L1392:
str wzr, [sp, 44]
b .L1390
.L1391:
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 32
lsl x0, x0, 3
add x1, sp, 72
ldr d0, [x1, x0]
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 32
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1390:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1391
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1389:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1392
str wzr, [sp, 40]
b .L1393
.L1396:
str wzr, [sp, 44]
b .L1394
.L1395:
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 48
lsl x0, x0, 3
add x1, sp, 72
ldr d0, [x1, x0]
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 48
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1394:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1395
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1393:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1396
str wzr, [sp, 40]
b .L1397
.L1400:
str wzr, [sp, 44]
b .L1398
.L1399:
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 64
lsl x0, x0, 3
add x1, sp, 72
ldr d0, [x1, x0]
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 64
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1398:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1399
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1397:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1400
str wzr, [sp, 40]
b .L1401
.L1404:
str wzr, [sp, 44]
b .L1402
.L1403:
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 96
lsl x0, x0, 3
add x1, sp, 72
ldr d0, [x1, x0]
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 96
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1402:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1403
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1401:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1404
str wzr, [sp, 40]
b .L1405
.L1408:
str wzr, [sp, 44]
b .L1406
.L1407:
ldrsw x0, [sp, 44]
ldrsw x1, [sp, 40]
lsl x1, x1, 2
add x0, x1, x0
add x0, x0, 80
lsl x0, x0, 3
add x1, sp, 72
ldr d0, [x1, x0]
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 80
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1406:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1407
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1405:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1408
str wzr, [sp, 40]
b .L1409
.L1412:
str wzr, [sp, 44]
b .L1410
.L1411:
adrp x0, new_stateFWL
add x0, x0, :lo12:new_stateFWL
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 64
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1410:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1411
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1409:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1412
bl fxp_state_space_representation
str d0, [sp, 64]
str wzr, [sp, 40]
b .L1413
.L1416:
str wzr, [sp, 44]
b .L1414
.L1415:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 64
ldr d0, [x0, x1, lsl 3]
adrp x0, new_stateFWL
add x0, x0, :lo12:new_stateFWL
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1414:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1415
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1413:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1416
ldr d1, [sp, 56]
ldr d0, [sp, 64]
fsub d0, d1, d0
str d0, [sp, 48]
ldr d0, [sp, 48]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1112]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1418
bl __stack_chk_fail
.L1418:
ldp x29, x30, [sp]
add sp, sp, 1120
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE142:
.size ss_system_quantization_error, .-ss_system_quantization_error
.align 2
.global fxp_ss_closed_loop_quantization_error
.type fxp_ss_closed_loop_quantization_error, %function
fxp_ss_closed_loop_quantization_error:
.LFB143:
.cfi_startproc
sub sp, sp, #1088
.cfi_def_cfa_offset 1088
stp x29, x30, [sp]
.cfi_offset 29, -1088
.cfi_offset 30, -1080
mov x29, sp
str d0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1080]
mov x1, 0
strh wzr, [sp, 42]
str wzr, [sp, 44]
b .L1420
.L1424:
str wzr, [sp, 48]
b .L1421
.L1423:
adrp x0, _controller_fxp
add x0, x0, :lo12:_controller_fxp
ldr w1, [sp, 48]
ldr w2, [sp, 44]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 48
ldr d0, [x0, x1, lsl 3]
fcmp d0, #0.0
beq .L1422
mov w0, 1
strh w0, [sp, 42]
.L1422:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1421:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
cmp w0, w1
bcc .L1423
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1420:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 44]
cmp w0, w1
bcc .L1424
str wzr, [sp, 44]
b .L1425
.L1428:
str wzr, [sp, 48]
b .L1426
.L1427:
ldr w0, [sp, 48]
ldr w1, [sp, 44]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 56
str xzr, [x1, x0]
ldr w0, [sp, 48]
ldr w1, [sp, 44]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 440
str xzr, [x1, x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1426:
ldr w0, [sp, 48]
cmp w0, 3
bls .L1427
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1425:
ldr w0, [sp, 44]
cmp w0, 3
bls .L1428
str wzr, [sp, 44]
b .L1429
.L1430:
ldr w0, [sp, 44]
lsl x0, x0, 5
add x1, sp, 56
ldr d0, [sp, 24]
str d0, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1429:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 44]
cmp w0, w1
bcc .L1430
str wzr, [sp, 44]
b .L1431
.L1432:
ldr w0, [sp, 44]
lsl x0, x0, 5
add x1, sp, 568
str xzr, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1431:
ldr w0, [sp, 44]
cmp w0, 3
bls .L1432
str wzr, [sp, 44]
b .L1433
.L1434:
adrp x0, _controller_fxp
add x0, x0, :lo12:_controller_fxp
ldr w1, [sp, 44]
add x1, x1, 112
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldr w0, [sp, 44]
lsl x0, x0, 3
add x1, sp, 440
str x2, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1433:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 44]
cmp w0, w1
bcc .L1434
str wzr, [sp, 44]
b .L1435
.L1438:
str wzr, [sp, 48]
b .L1436
.L1437:
ldr w0, [sp, 48]
ldr w1, [sp, 44]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 184
str xzr, [x1, x0]
ldr w0, [sp, 48]
ldr w1, [sp, 44]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 312
str xzr, [x1, x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1436:
ldr w0, [sp, 48]
cmp w0, 3
bls .L1437
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1435:
ldr w0, [sp, 44]
cmp w0, 3
bls .L1438
str wzr, [sp, 52]
b .L1439
.L1440:
adrp x0, _controller_fxp
add x1, x0, :lo12:_controller_fxp
ldr w0, [sp, 52]
add x0, x0, 16
lsl x0, x0, 5
add x0, x1, x0
ldr d0, [x0]
bl fxp_double_to_fxp
mov x2, x0
ldr w0, [sp, 52]
lsl x0, x0, 5
add x1, sp, 568
str x2, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1439:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 52]
cmp w0, w1
bcc .L1440
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w9, w0
add x2, sp, 696
add x1, sp, 568
add x0, sp, 440
mov x6, x2
mov x5, x1
mov x4, x0
mov w3, 1
mov w2, w9
mov w1, w8
mov w0, w7
bl fxp_matrix_multiplication
str wzr, [sp, 52]
b .L1441
.L1442:
ldr w0, [sp, 52]
lsl x0, x0, 5
add x1, sp, 56
ldr d0, [x1, x0]
fcvtzs x0, d0
bl fxp_quantize
scvtf d0, x0
bl fxp_double_to_fxp
mov x2, x0
ldr w0, [sp, 52]
lsl x0, x0, 5
add x1, sp, 824
str x2, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1441:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 52]
cmp w0, w1
bcc .L1442
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w5, w0
add x2, sp, 952
add x1, sp, 696
add x0, sp, 824
mov x4, x2
mov x3, x1
mov x2, x0
mov w1, 1
mov w0, w5
bl fxp_sub_matrix
str wzr, [sp, 52]
b .L1443
.L1444:
ldr w0, [sp, 52]
lsl x0, x0, 5
add x1, sp, 952
ldr x0, [x1, x0]
bl fxp_quantize
bl fxp_to_double
adrp x0, _controller_fxp
add x1, x0, :lo12:_controller_fxp
ldr w0, [sp, 52]
add x0, x0, 24
lsl x0, x0, 5
add x0, x1, x0
str d0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1443:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 52]
cmp w0, w1
bcc .L1444
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
add x0, sp, 184
mov x6, x0
adrp x0, _controller_fxp+512
add x5, x0, :lo12:_controller_fxp+512
adrp x0, _controller_fxp+256
add x4, x0, :lo12:_controller_fxp+256
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
ldrh w0, [sp, 42]
cmp w0, 1
bne .L1445
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w2, w0
add x0, sp, 312
mov x6, x0
adrp x0, _controller_fxp+768
add x5, x0, :lo12:_controller_fxp+768
adrp x0, _controller_fxp+384
add x4, x0, :lo12:_controller_fxp+384
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
.L1445:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w5, w0
add x2, sp, 312
add x1, sp, 184
adrp x0, _controller_fxp+640
add x4, x0, :lo12:_controller_fxp+640
mov x3, x2
mov x2, x1
mov w1, 1
mov w0, w5
bl double_add_matrix
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
add x0, sp, 184
mov x6, x0
adrp x0, _controller_fxp+512
add x5, x0, :lo12:_controller_fxp+512
adrp x0, _controller_fxp
add x4, x0, :lo12:_controller_fxp
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w2, w0
add x0, sp, 312
mov x6, x0
adrp x0, _controller_fxp+768
add x5, x0, :lo12:_controller_fxp+768
adrp x0, _controller_fxp+128
add x4, x0, :lo12:_controller_fxp+128
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w5, w0
add x2, sp, 312
add x1, sp, 184
adrp x0, _controller_fxp+512
add x4, x0, :lo12:_controller_fxp+512
mov x3, x2
mov x2, x1
mov w1, 1
mov w0, w5
bl double_add_matrix
adrp x0, _controller_fxp
add x0, x0, :lo12:_controller_fxp
ldr d0, [x0, 640]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1080]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1447
bl __stack_chk_fail
.L1447:
ldp x29, x30, [sp]
add sp, sp, 1088
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE143:
.size fxp_ss_closed_loop_quantization_error, .-fxp_ss_closed_loop_quantization_error
.align 2
.global ss_closed_loop_quantization_error
.type ss_closed_loop_quantization_error, %function
ss_closed_loop_quantization_error:
.LFB144:
.cfi_startproc
stp x29, x30, [sp, -448]!
.cfi_def_cfa_offset 448
.cfi_offset 29, -448
.cfi_offset 30, -440
mov x29, sp
str d0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 440]
mov x1, 0
strh wzr, [sp, 46]
str wzr, [sp, 48]
b .L1449
.L1453:
str wzr, [sp, 52]
b .L1450
.L1452:
adrp x0, _controller_double
add x0, x0, :lo12:_controller_double
ldr w1, [sp, 52]
ldr w2, [sp, 48]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 48
ldr d0, [x0, x1, lsl 3]
fcmp d0, #0.0
beq .L1451
mov w0, 1
strh w0, [sp, 46]
.L1451:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1450:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 52]
cmp w0, w1
bcc .L1452
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1449:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
cmp w0, w1
bcc .L1453
str wzr, [sp, 48]
b .L1454
.L1457:
str wzr, [sp, 52]
b .L1455
.L1456:
ldr w0, [sp, 52]
ldr w1, [sp, 48]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 56
ldr d0, [sp, 24]
str d0, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1455:
ldr w0, [sp, 52]
cmp w0, 0
beq .L1456
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1454:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
cmp w0, w1
bcc .L1457
str wzr, [sp, 48]
b .L1458
.L1461:
str wzr, [sp, 52]
b .L1459
.L1460:
ldr w0, [sp, 52]
ldr w1, [sp, 48]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 184
str xzr, [x1, x0]
ldr w0, [sp, 52]
ldr w1, [sp, 48]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 312
str xzr, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1459:
ldr w0, [sp, 52]
cmp w0, 3
bls .L1460
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1458:
ldr w0, [sp, 48]
cmp w0, 3
bls .L1461
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
add x0, sp, 184
mov x6, x0
adrp x0, _controller_double+512
add x5, x0, :lo12:_controller_double+512
adrp x0, _controller_double+896
add x4, x0, :lo12:_controller_double+896
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w5, w0
add x2, sp, 184
add x1, sp, 56
adrp x0, _controller_double+768
add x4, x0, :lo12:_controller_double+768
mov x3, x2
mov x2, x1
mov w1, 1
mov w0, w5
bl double_sub_matrix
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
add x0, sp, 184
mov x6, x0
adrp x0, _controller_double+512
add x5, x0, :lo12:_controller_double+512
adrp x0, _controller_double+256
add x4, x0, :lo12:_controller_double+256
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
ldrh w0, [sp, 46]
cmp w0, 1
bne .L1462
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w2, w0
add x0, sp, 312
mov x6, x0
adrp x0, _controller_double+768
add x5, x0, :lo12:_controller_double+768
adrp x0, _controller_double+384
add x4, x0, :lo12:_controller_double+384
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
.L1462:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w5, w0
add x2, sp, 312
add x1, sp, 184
adrp x0, _controller_double+640
add x4, x0, :lo12:_controller_double+640
mov x3, x2
mov x2, x1
mov w1, 1
mov w0, w5
bl double_add_matrix
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
add x0, sp, 184
mov x6, x0
adrp x0, _controller_double+512
add x5, x0, :lo12:_controller_double+512
adrp x0, _controller_double
add x4, x0, :lo12:_controller_double
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w2, w0
add x0, sp, 312
mov x6, x0
adrp x0, _controller_double+768
add x5, x0, :lo12:_controller_double+768
adrp x0, _controller_double+128
add x4, x0, :lo12:_controller_double+128
mov w3, 1
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w5, w0
add x2, sp, 312
add x1, sp, 184
adrp x0, _controller_double+512
add x4, x0, :lo12:_controller_double+512
mov x3, x2
mov x2, x1
mov w1, 1
mov w0, w5
bl double_add_matrix
adrp x0, _controller_double
add x0, x0, :lo12:_controller_double
ldr d0, [x0, 640]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 440]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1464
bl __stack_chk_fail
.L1464:
ldp x29, x30, [sp], 448
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE144:
.size ss_closed_loop_quantization_error, .-ss_closed_loop_quantization_error
.section .rodata
.align 3
.LC54:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_error_state_space.h"
.align 3
.LC55:
.string "__quant_error < error_limit && __quant_error > ((-1)*error_limit)"
.text
.align 2
.global verify_error_state_space
.type verify_error_state_space, %function
verify_error_state_space:
.LFB145:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str d8, [sp, 16]
.cfi_offset 72, -80
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
str wzr, [sp, 40]
b .L1466
.L1469:
str wzr, [sp, 44]
b .L1467
.L1468:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 64
ldr d0, [x0, x1, lsl 3]
adrp x0, new_state
add x0, x0, :lo12:new_state
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1467:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1468
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1466:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1469
str wzr, [sp, 40]
b .L1470
.L1473:
str wzr, [sp, 44]
b .L1471
.L1472:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 64
ldr d0, [x0, x1, lsl 3]
adrp x0, new_stateFWL
add x0, x0, :lo12:new_stateFWL
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 2
add x1, x2, x1
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1471:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1472
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1470:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1473
adrp x0, _controller_fxp
add x1, x0, :lo12:_controller_fxp
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
mov x3, x1
mov x1, x0
mov x0, 1040
mov x2, x0
mov x0, x3
bl memcpy
adrp x0, _controller_double
add x1, x0, :lo12:_controller_double
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
mov x3, x1
mov x1, x0
mov x0, 1040
mov x2, x0
mov x0, x3
bl memcpy
adrp x0, overflow_mode
add x0, x0, :lo12:overflow_mode
str wzr, [x0]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
bl fxp_double_to_fxp
str x0, [sp, 48]
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
bl fxp_double_to_fxp
str x0, [sp, 56]
bl nondet_double
str d0, [sp, 64]
ldr d0, [sp, 48]
scvtf d0, d0
ldr d1, [sp, 64]
fcmpe d1, d0
bge .L1496
b .L1474
.L1496:
ldr d0, [sp, 56]
scvtf d0, d0
ldr d1, [sp, 64]
fcmpe d1, d0
bls .L1497
b .L1474
.L1497:
mov w0, 1
b .L1477
.L1474:
mov w0, 0
.L1477:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
str wzr, [sp, 40]
b .L1478
.L1479:
ldr d0, [sp, 64]
fcvtzs d0, d0
ldrsw x0, [sp, 40]
lsl x0, x0, 3
add x1, sp, 80
str d0, [x1, x0]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1478:
ldr w0, [sp, 40]
cmp w0, 0
blt .L1479
adrp x0, :got:closed_loop
ldr x0, [x0, #:got_lo12:closed_loop]
ldr w0, [x0]
cmp w0, 0
beq .L1480
str wzr, [sp, 40]
b .L1481
.L1486:
ldrsw x0, [sp, 40]
lsl x0, x0, 3
add x1, sp, 80
ldr d0, [x1, x0]
scvtf d0, d0
bl ss_closed_loop_quantization_error
fmov d8, d0
ldrsw x0, [sp, 40]
lsl x0, x0, 3
add x1, sp, 80
ldr d0, [x1, x0]
scvtf d0, d0
bl fxp_ss_closed_loop_quantization_error
fsub d0, d8, d0
str d0, [sp, 72]
adrp x0, :got:error_limit
ldr x0, [x0, #:got_lo12:error_limit]
ldr d0, [x0]
ldr d1, [sp, 72]
fcmpe d1, d0
bmi .L1498
b .L1482
.L1498:
adrp x0, :got:error_limit
ldr x0, [x0, #:got_lo12:error_limit]
ldr d0, [x0]
fneg d0, d0
ldr d1, [sp, 72]
fcmpe d1, d0
bgt .L1485
.L1482:
adrp x0, __PRETTY_FUNCTION__.4
add x3, x0, :lo12:__PRETTY_FUNCTION__.4
mov w2, 354
adrp x0, .LC54
add x1, x0, :lo12:.LC54
adrp x0, .LC55
add x0, x0, :lo12:.LC55
bl __assert_fail
.L1485:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1481:
ldr w0, [sp, 40]
cmp w0, 0
blt .L1486
b .L1487
.L1480:
str wzr, [sp, 40]
b .L1488
.L1493:
ldrsw x0, [sp, 40]
lsl x0, x0, 3
add x1, sp, 80
ldr x0, [x1, x0]
bl ss_system_quantization_error
str d0, [sp, 72]
adrp x0, :got:error_limit
ldr x0, [x0, #:got_lo12:error_limit]
ldr d0, [x0]
ldr d1, [sp, 72]
fcmpe d1, d0
bmi .L1499
b .L1489
.L1499:
adrp x0, :got:error_limit
ldr x0, [x0, #:got_lo12:error_limit]
ldr d0, [x0]
fneg d0, d0
ldr d1, [sp, 72]
fcmpe d1, d0
bgt .L1492
.L1489:
adrp x0, __PRETTY_FUNCTION__.4
add x3, x0, :lo12:__PRETTY_FUNCTION__.4
mov w2, 361
adrp x0, .LC54
add x1, x0, :lo12:.LC54
adrp x0, .LC55
add x0, x0, :lo12:.LC55
bl __assert_fail
.L1492:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1488:
ldr w0, [sp, 40]
cmp w0, 0
blt .L1493
.L1487:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1495
bl __stack_chk_fail
.L1495:
mov w0, w1
ldr d8, [sp, 16]
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE145:
.size verify_error_state_space, .-verify_error_state_space
.align 2
.global fxp_ss_closed_loop_safety
.type fxp_ss_closed_loop_safety, %function
fxp_ss_closed_loop_safety:
.LFB146:
.cfi_startproc
sub sp, sp, #816
.cfi_def_cfa_offset 816
stp x29, x30, [sp]
.cfi_offset 29, -816
.cfi_offset 30, -808
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 808]
mov x1, 0
strh wzr, [sp, 30]
str wzr, [sp, 36]
b .L1501
.L1505:
str wzr, [sp, 32]
b .L1502
.L1504:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldr w1, [sp, 32]
ldr w2, [sp, 36]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 48
ldr d0, [x0, x1, lsl 3]
fcmp d0, #0.0
beq .L1503
mov w0, 1
strh w0, [sp, 30]
.L1503:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L1502:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 32]
cmp w0, w1
bcc .L1504
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1501:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bcc .L1505
str wzr, [sp, 36]
b .L1506
.L1509:
str wzr, [sp, 32]
b .L1507
.L1508:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldr w1, [sp, 32]
ldr w2, [sp, 36]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 96
ldr d0, [x0, x1, lsl 3]
ldr w0, [sp, 32]
ldr w1, [sp, 36]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 40
str d0, [x1, x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L1507:
ldr w0, [sp, 32]
cmp w0, 0
beq .L1508
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1506:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bcc .L1509
str wzr, [sp, 36]
b .L1510
.L1513:
str wzr, [sp, 32]
b .L1511
.L1512:
ldr w0, [sp, 32]
ldr w1, [sp, 36]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 424
str xzr, [x1, x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L1511:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 32]
cmp w0, w1
bcc .L1512
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1510:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bcc .L1513
str wzr, [sp, 36]
b .L1514
.L1517:
str wzr, [sp, 32]
b .L1515
.L1516:
ldr w0, [sp, 32]
ldr w1, [sp, 36]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 552
str xzr, [x1, x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L1515:
ldr w0, [sp, 32]
cmp w0, 0
beq .L1516
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1514:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bcc .L1517
str wzr, [sp, 36]
b .L1518
.L1521:
str wzr, [sp, 32]
b .L1519
.L1520:
ldr w0, [sp, 32]
ldr w1, [sp, 36]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 680
str xzr, [x1, x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L1519:
ldr w0, [sp, 32]
cmp w0, 3
bls .L1520
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1518:
ldr w0, [sp, 36]
cmp w0, 3
bls .L1521
str wzr, [sp, 36]
b .L1522
.L1525:
str wzr, [sp, 32]
b .L1523
.L1524:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldr w1, [sp, 32]
ldr w2, [sp, 36]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 112
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldr w0, [sp, 32]
ldr w1, [sp, 36]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 424
str x2, [x1, x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L1523:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 32]
cmp w0, w1
bcc .L1524
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1522:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bcc .L1525
str wzr, [sp, 36]
b .L1526
.L1529:
str wzr, [sp, 32]
b .L1527
.L1528:
ldr w0, [sp, 32]
ldr w1, [sp, 36]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 168
str xzr, [x1, x0]
ldr w0, [sp, 32]
ldr w1, [sp, 36]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 296
str xzr, [x1, x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L1527:
ldr w0, [sp, 32]
cmp w0, 3
bls .L1528
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1526:
ldr w0, [sp, 36]
cmp w0, 3
bls .L1529
mov w0, 1
str w0, [sp, 36]
nop
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldr d0, [x0, 640]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 808]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1531
bl __stack_chk_fail
.L1531:
ldp x29, x30, [sp]
add sp, sp, 816
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE146:
.size fxp_ss_closed_loop_safety, .-fxp_ss_closed_loop_safety
.section .rodata
.align 3
.LC56:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_safety_state_space.h"
.align 3
.LC57:
.string "output_double <= error_limit"
.text
.align 2
.global verify_safety_state_space
.type verify_safety_state_space, %function
verify_safety_state_space:
.LFB147:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
bl fxp_ss_closed_loop_safety
fcvtzs d0, d0
str d0, [sp, 16]
ldr x0, [sp, 16]
bl fxp_to_double
str d0, [sp, 24]
adrp x0, :got:error_limit
ldr x0, [x0, #:got_lo12:error_limit]
ldr d0, [x0]
ldr d1, [sp, 24]
fcmpe d1, d0
bls .L1533
adrp x0, __PRETTY_FUNCTION__.3
add x3, x0, :lo12:__PRETTY_FUNCTION__.3
mov w2, 140
adrp x0, .LC56
add x1, x0, :lo12:.LC56
adrp x0, .LC57
add x0, x0, :lo12:.LC57
bl __assert_fail
.L1533:
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE147:
.size verify_safety_state_space, .-verify_safety_state_space
.section .rodata
.align 3
.LC58:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_controllability.h"
.align 3
.LC59:
.string "determinant(controllabilityMatrix_double,nStates) != 0"
.text
.align 2
.global verify_controllability
.type verify_controllability, %function
verify_controllability:
.LFB148:
.cfi_startproc
sub sp, sp, #944
.cfi_def_cfa_offset 944
stp x29, x30, [sp]
.cfi_offset 29, -944
.cfi_offset 30, -936
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 936]
mov x1, 0
str wzr, [sp, 24]
b .L1536
.L1539:
str wzr, [sp, 28]
b .L1537
.L1538:
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 40
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 168
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 296
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 424
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 552
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 680
str xzr, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1537:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mul w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
blt .L1538
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1536:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1539
str wzr, [sp, 24]
b .L1540
.L1543:
str wzr, [sp, 28]
b .L1541
.L1542:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 28]
ldrsw x2, [sp, 24]
lsl x2, x2, 2
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 40
str x2, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1541:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1542
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1540:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1543
str wzr, [sp, 24]
b .L1544
.L1547:
str wzr, [sp, 28]
b .L1545
.L1546:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 28]
ldrsw x2, [sp, 24]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 16
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 168
str x2, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1545:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1546
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1544:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1547
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
cmp w0, 1
ble .L1548
str wzr, [sp, 32]
str wzr, [sp, 28]
b .L1549
.L1554:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w5, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w6, w0
ldr w1, [sp, 32]
add x2, sp, 424
add x0, sp, 40
mov x4, x2
mov w3, w1
mov x2, x0
mov w1, w6
mov w0, w5
bl fxp_exp_matrix
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w9, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w3, w0
add x2, sp, 552
add x1, sp, 168
add x0, sp, 424
mov x6, x2
mov x5, x1
mov x4, x0
mov w2, w9
mov w1, w8
mov w0, w7
bl fxp_matrix_multiplication
str wzr, [sp, 36]
b .L1550
.L1553:
str wzr, [sp, 24]
b .L1551
.L1552:
ldrsw x0, [sp, 36]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 552
ldr x2, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 296
str x2, [x1, x0]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1551:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1552
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1550:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L1553
.L1549:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mul w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
blt .L1554
str wzr, [sp, 24]
b .L1555
.L1558:
str wzr, [sp, 28]
b .L1556
.L1557:
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 424
str xzr, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1556:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mul w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
blt .L1557
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1555:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1558
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w2, [x0]
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mul w3, w1, w0
add x1, sp, 424
add x0, sp, 296
bl fxp_transpose
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mul w0, w1, w0
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mul w0, w1, w0
mov w9, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w3, w0
add x2, sp, 808
add x1, sp, 424
add x0, sp, 296
mov x6, x2
mov x5, x1
mov x4, x0
mov w2, w9
mov w1, w8
mov w0, w7
bl fxp_matrix_multiplication
str wzr, [sp, 24]
b .L1559
.L1562:
str wzr, [sp, 28]
b .L1560
.L1561:
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 808
ldr x0, [x1, x0]
bl fxp_to_double
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 680
str d0, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1560:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1561
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1559:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1562
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
add x0, sp, 680
bl determinant
fcmp d0, #0.0
bne .L1564
adrp x0, __PRETTY_FUNCTION__.2
add x3, x0, :lo12:__PRETTY_FUNCTION__.2
mov w2, 91
adrp x0, .LC58
add x1, x0, :lo12:.LC58
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L1548:
str wzr, [sp, 28]
b .L1565
.L1568:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w5, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w6, w0
ldr w1, [sp, 28]
add x2, sp, 424
add x0, sp, 40
mov x4, x2
mov w3, w1
mov x2, x0
mov w1, w6
mov w0, w5
bl fxp_exp_matrix
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w9, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w3, w0
add x2, sp, 552
add x1, sp, 168
add x0, sp, 424
mov x6, x2
mov x5, x1
mov x4, x0
mov w2, w9
mov w1, w8
mov w0, w7
bl fxp_matrix_multiplication
str wzr, [sp, 24]
b .L1566
.L1567:
ldrsw x0, [sp, 24]
lsl x0, x0, 5
add x1, sp, 552
ldr x2, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 296
str x2, [x1, x0]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1566:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1567
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1565:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1568
str wzr, [sp, 24]
b .L1569
.L1572:
str wzr, [sp, 28]
b .L1570
.L1571:
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 296
ldr x0, [x1, x0]
bl fxp_to_double
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 680
str d0, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1570:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1571
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1569:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1572
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
add x0, sp, 680
bl determinant
fcmp d0, #0.0
bne .L1564
adrp x0, __PRETTY_FUNCTION__.2
add x3, x0, :lo12:__PRETTY_FUNCTION__.2
mov w2, 113
adrp x0, .LC58
add x1, x0, :lo12:.LC58
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L1564:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 936]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1574
bl __stack_chk_fail
.L1574:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 944
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE148:
.size verify_controllability, .-verify_controllability
.section .rodata
.align 3
.LC60:
.string "determinant(mimo_controllabilityMatrix_double,nStates) != 0"
.align 3
.LC61:
.string "determinant(controllabilityMatrix,nStates) != 0"
.text
.align 2
.global verify_controllability_double
.type verify_controllability_double, %function
verify_controllability_double:
.LFB149:
.cfi_startproc
sub sp, sp, #560
.cfi_def_cfa_offset 560
stp x29, x30, [sp]
.cfi_offset 29, -560
.cfi_offset 30, -552
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 552]
mov x1, 0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
cmp w0, 1
ble .L1576
str wzr, [sp, 32]
str wzr, [sp, 28]
b .L1577
.L1582:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w5, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w6, w0
ldr w0, [sp, 32]
add x1, sp, 168
mov x4, x1
mov w3, w0
adrp x0, :got:_controller
ldr x2, [x0, #:got_lo12:_controller]
mov w1, w6
mov w0, w5
bl double_exp_matrix
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w3, w0
add x0, sp, 296
add x1, sp, 168
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 128
mov x4, x1
mov w1, w8
mov w0, w7
bl double_matrix_multiplication
str wzr, [sp, 36]
b .L1578
.L1581:
str wzr, [sp, 24]
b .L1579
.L1580:
ldrsw x0, [sp, 36]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 296
ldr d0, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 40
str d0, [x1, x0]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1579:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1580
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1578:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L1581
.L1577:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mul w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
blt .L1582
str wzr, [sp, 24]
b .L1583
.L1586:
str wzr, [sp, 28]
b .L1584
.L1585:
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 168
str xzr, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1584:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mul w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
blt .L1585
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1583:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1586
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w2, [x0]
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mul w3, w1, w0
add x1, sp, 168
add x0, sp, 40
bl transpose
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mul w0, w1, w0
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mul w0, w1, w0
mov w9, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w3, w0
add x2, sp, 424
add x1, sp, 168
add x0, sp, 40
mov x6, x2
mov x5, x1
mov x4, x0
mov w2, w9
mov w1, w8
mov w0, w7
bl double_matrix_multiplication
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
add x0, sp, 424
bl determinant
fcmp d0, #0.0
bne .L1588
adrp x0, __PRETTY_FUNCTION__.1
add x3, x0, :lo12:__PRETTY_FUNCTION__.1
mov w2, 154
adrp x0, .LC58
add x1, x0, :lo12:.LC58
adrp x0, .LC60
add x0, x0, :lo12:.LC60
bl __assert_fail
.L1576:
str wzr, [sp, 28]
b .L1589
.L1592:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w5, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w6, w0
ldr w0, [sp, 28]
add x1, sp, 168
mov x4, x1
mov w3, w0
adrp x0, :got:_controller
ldr x2, [x0, #:got_lo12:_controller]
mov w1, w6
mov w0, w5
bl double_exp_matrix
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w2, w0
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w3, w0
add x0, sp, 296
add x1, sp, 168
mov x6, x0
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
add x5, x0, 128
mov x4, x1
mov w1, w8
mov w0, w7
bl double_matrix_multiplication
str wzr, [sp, 24]
b .L1590
.L1591:
ldrsw x0, [sp, 24]
lsl x0, x0, 5
add x1, sp, 296
ldr d0, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 40
str d0, [x1, x0]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1590:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1591
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1589:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1592
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
add x0, sp, 40
bl determinant
fcmp d0, #0.0
bne .L1588
adrp x0, __PRETTY_FUNCTION__.1
add x3, x0, :lo12:__PRETTY_FUNCTION__.1
mov w2, 163
adrp x0, .LC58
add x1, x0, :lo12:.LC58
adrp x0, .LC61
add x0, x0, :lo12:.LC61
bl __assert_fail
.L1588:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 552]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1594
bl __stack_chk_fail
.L1594:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 560
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE149:
.size verify_controllability_double, .-verify_controllability_double
.section .rodata
.align 3
.LC62:
.string "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/engine/verify_observability.h"
.align 3
.LC63:
.string "determinant(observabilityMatrix_double,nStates) != 0"
.text
.align 2
.global verify_observability
.type verify_observability, %function
verify_observability:
.LFB150:
.cfi_startproc
sub sp, sp, #944
.cfi_def_cfa_offset 944
stp x29, x30, [sp]
.cfi_offset 29, -944
.cfi_offset 30, -936
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 936]
mov x1, 0
str wzr, [sp, 24]
b .L1596
.L1599:
str wzr, [sp, 28]
b .L1597
.L1598:
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 296
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 40
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 168
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 424
str xzr, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 552
str xzr, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1597:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1598
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1596:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1599
str wzr, [sp, 24]
b .L1600
.L1603:
str wzr, [sp, 28]
b .L1601
.L1602:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 28]
ldrsw x2, [sp, 24]
lsl x2, x2, 2
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 40
str x2, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1601:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1602
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1600:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1603
str wzr, [sp, 24]
b .L1604
.L1607:
str wzr, [sp, 28]
b .L1605
.L1606:
adrp x0, :got:_controller
ldr x0, [x0, #:got_lo12:_controller]
ldrsw x1, [sp, 28]
ldrsw x2, [sp, 24]
lsl x2, x2, 2
add x1, x2, x1
add x1, x1, 32
ldr d0, [x0, x1, lsl 3]
bl fxp_double_to_fxp
mov x2, x0
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 168
str x2, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1605:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1606
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1604:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1607
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
cmp w0, 1
ble .L1608
str wzr, [sp, 28]
str wzr, [sp, 32]
b .L1609
.L1614:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w5, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w6, w0
ldr w1, [sp, 32]
add x2, sp, 424
add x0, sp, 40
mov x4, x2
mov w3, w1
mov x2, x0
mov w1, w6
mov w0, w5
bl fxp_exp_matrix
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w9, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w3, w0
add x2, sp, 552
add x1, sp, 424
add x0, sp, 168
mov x6, x2
mov x5, x1
mov x4, x0
mov w2, w9
mov w1, w8
mov w0, w7
bl fxp_matrix_multiplication
str wzr, [sp, 36]
b .L1610
.L1613:
str wzr, [sp, 24]
b .L1611
.L1612:
ldrsw x0, [sp, 24]
ldrsw x1, [sp, 36]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 552
ldr x2, [x1, x0]
ldrsw x0, [sp, 24]
ldrsw x1, [sp, 28]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 296
str x2, [x1, x0]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1611:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1612
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1610:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L1613
.L1609:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 32]
cmp w1, w0
blt .L1614
str wzr, [sp, 24]
b .L1615
.L1618:
str wzr, [sp, 28]
b .L1616
.L1617:
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 424
str xzr, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1616:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mul w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
blt .L1617
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1615:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1618
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mul w2, w1, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w3, [x0]
add x1, sp, 424
add x0, sp, 296
bl fxp_transpose
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mul w0, w1, w0
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mul w0, w1, w0
mov w9, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w3, w0
add x2, sp, 808
add x1, sp, 296
add x0, sp, 424
mov x6, x2
mov x5, x1
mov x4, x0
mov w2, w9
mov w1, w8
mov w0, w7
bl fxp_matrix_multiplication
str wzr, [sp, 24]
b .L1619
.L1622:
str wzr, [sp, 28]
b .L1620
.L1621:
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 808
ldr x0, [x1, x0]
bl fxp_to_double
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 680
str d0, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1620:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1621
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1619:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1622
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
add x0, sp, 680
bl determinant
fcmp d0, #0.0
bne .L1624
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 119
adrp x0, .LC62
add x1, x0, :lo12:.LC62
adrp x0, .LC63
add x0, x0, :lo12:.LC63
bl __assert_fail
.L1608:
str wzr, [sp, 24]
b .L1625
.L1628:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w5, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w6, w0
ldr w1, [sp, 24]
add x2, sp, 424
add x0, sp, 40
mov x4, x2
mov w3, w1
mov x2, x0
mov w1, w6
mov w0, w5
bl fxp_exp_matrix
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w7, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w8, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w9, w0
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w3, w0
add x2, sp, 552
add x1, sp, 424
add x0, sp, 168
mov x6, x2
mov x5, x1
mov x4, x0
mov w2, w9
mov w1, w8
mov w0, w7
bl fxp_matrix_multiplication
str wzr, [sp, 28]
b .L1626
.L1627:
ldrsw x0, [sp, 28]
lsl x0, x0, 3
add x1, sp, 552
ldr x2, [x1, x0]
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 296
str x2, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1626:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1627
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1625:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1628
str wzr, [sp, 24]
b .L1629
.L1632:
str wzr, [sp, 28]
b .L1630
.L1631:
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 296
ldr x0, [x1, x0]
bl fxp_to_double
ldrsw x0, [sp, 28]
ldrsw x1, [sp, 24]
lsl x1, x1, 2
add x0, x1, x0
lsl x0, x0, 3
add x1, sp, 680
str d0, [x1, x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1630:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1631
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1629:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1632
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
add x0, sp, 680
bl determinant
fcmp d0, #0.0
bne .L1624
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 134
adrp x0, .LC62
add x1, x0, :lo12:.LC62
adrp x0, .LC63
add x0, x0, :lo12:.LC63
bl __assert_fail
.L1624:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 936]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1634
bl __stack_chk_fail
.L1634:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 944
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE150:
.size verify_observability, .-verify_observability
.align 2
.global resp_mag
.type resp_mag, %function
resp_mag:
.LFB151:
.cfi_startproc
stp x29, x30, [sp, -352]!
.cfi_def_cfa_offset 352
.cfi_offset 29, -352
.cfi_offset 30, -344
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
stp x27, x28, [sp, 80]
str d8, [sp, 96]
sub sp, sp, #16
.cfi_offset 19, -336
.cfi_offset 20, -328
.cfi_offset 21, -320
.cfi_offset 22, -312
.cfi_offset 23, -304
.cfi_offset 24, -296
.cfi_offset 25, -288
.cfi_offset 26, -280
.cfi_offset 27, -272
.cfi_offset 28, -264
.cfi_offset 72, -256
str x0, [x29, 232]
str w1, [x29, 228]
str x2, [x29, 216]
str w3, [x29, 224]
str x4, [x29, 208]
str w5, [x29, 204]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 344]
mov x1, 0
mov x0, sp
mov x28, x0
ldr w0, [x29, 204]
add w1, w0, 1
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 264]
sxtw x0, w1
str x0, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x7, x4, 6
orr x7, x0, x7
mov x0, x2
lsl x6, x0, 6
sxtw x0, w1
str x0, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x0, x2
lsr x0, x0, 58
mov x4, x3
lsl x21, x4, 6
orr x21, x0, x21
mov x0, x2
lsl x20, x0, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1636:
cmp sp, x1
beq .L1637
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1636
.L1637:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1638
str xzr, [sp, 1024]
.L1638:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 272]
ldr w0, [x29, 204]
add w0, w0, 1
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 280]
sxtw x1, w0
str x1, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x19, x4, 6
orr x19, x1, x19
mov x1, x2
lsl x18, x1, 6
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x17, x4, 6
orr x17, x1, x17
mov x1, x2
lsl x16, x1, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1639:
cmp sp, x1
beq .L1640
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1639
.L1640:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1641
str xzr, [sp, 1024]
.L1641:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 288]
ldr w0, [x29, 204]
add w0, w0, 1
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 296]
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x15, x4, 6
orr x15, x1, x15
mov x1, x2
lsl x14, x1, 6
sxtw x1, w0
mov x26, x1
mov x27, 0
lsr x1, x26, 58
lsl x13, x27, 6
orr x13, x1, x13
lsl x12, x26, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1642:
cmp sp, x1
beq .L1643
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1642
.L1643:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1644
str xzr, [sp, 1024]
.L1644:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 304]
ldr w0, [x29, 204]
add w0, w0, 1
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 312]
sxtw x1, w0
mov x24, x1
mov x25, 0
lsr x1, x24, 58
lsl x11, x25, 6
orr x11, x1, x11
lsl x10, x24, 6
sxtw x1, w0
mov x22, x1
mov x23, 0
lsr x1, x22, 58
lsl x9, x23, 6
orr x9, x1, x9
lsl x8, x22, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1645:
cmp sp, x1
beq .L1646
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1645
.L1646:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1647
str xzr, [sp, 1024]
.L1647:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 320]
str xzr, [x29, 256]
str wzr, [x29, 252]
b .L1648
.L1653:
ldr x0, [x29, 232]
ldr d0, [x0]
ldr x0, [x29, 272]
ldrsw x1, [x29, 252]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 288]
ldrsw x1, [x29, 252]
str xzr, [x0, x1, lsl 3]
mov w0, 1
str w0, [x29, 248]
b .L1649
.L1650:
ldr x0, [x29, 272]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
str d0, [x29, 336]
mov w0, 6
ldr d0, [x29, 256]
bl cosTyl
fmov d1, d0
ldr x0, [x29, 272]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fmul d8, d1, d0
mov w0, 6
ldr d0, [x29, 256]
bl sinTyl
fmov d1, d0
ldr x0, [x29, 288]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fmul d0, d1, d0
fsub d1, d8, d0
ldrsw x0, [x29, 248]
lsl x0, x0, 3
ldr x1, [x29, 232]
add x0, x1, x0
ldr d0, [x0]
fadd d0, d1, d0
ldr x0, [x29, 272]
ldrsw x1, [x29, 252]
str d0, [x0, x1, lsl 3]
mov w0, 6
ldr d0, [x29, 256]
bl sinTyl
fmov d1, d0
ldr d0, [x29, 336]
fmul d8, d1, d0
mov w0, 6
ldr d0, [x29, 256]
bl cosTyl
fmov d1, d0
ldr x0, [x29, 288]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fmul d0, d1, d0
fadd d0, d8, d0
ldr x0, [x29, 288]
ldrsw x1, [x29, 252]
str d0, [x0, x1, lsl 3]
ldr w0, [x29, 248]
add w0, w0, 1
str w0, [x29, 248]
.L1649:
ldr w1, [x29, 248]
ldr w0, [x29, 228]
cmp w1, w0
blt .L1650
ldr x0, [x29, 216]
ldr d0, [x0]
ldr x0, [x29, 304]
ldrsw x1, [x29, 252]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 252]
str xzr, [x0, x1, lsl 3]
mov w0, 1
str w0, [x29, 248]
b .L1651
.L1652:
ldr x0, [x29, 304]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
str d0, [x29, 336]
mov w0, 6
ldr d0, [x29, 256]
bl cosTyl
fmov d1, d0
ldr x0, [x29, 304]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fmul d8, d1, d0
mov w0, 6
ldr d0, [x29, 256]
bl sinTyl
fmov d1, d0
ldr x0, [x29, 320]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fmul d0, d1, d0
fsub d1, d8, d0
ldrsw x0, [x29, 248]
lsl x0, x0, 3
ldr x1, [x29, 216]
add x0, x1, x0
ldr d0, [x0]
fadd d0, d1, d0
ldr x0, [x29, 304]
ldrsw x1, [x29, 252]
str d0, [x0, x1, lsl 3]
mov w0, 6
ldr d0, [x29, 256]
bl sinTyl
fmov d1, d0
ldr d0, [x29, 336]
fmul d8, d1, d0
mov w0, 6
ldr d0, [x29, 256]
bl cosTyl
fmov d1, d0
ldr x0, [x29, 320]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fmul d0, d1, d0
fadd d0, d8, d0
ldr x0, [x29, 320]
ldrsw x1, [x29, 252]
str d0, [x0, x1, lsl 3]
ldr w0, [x29, 248]
add w0, w0, 1
str w0, [x29, 248]
.L1651:
ldr w1, [x29, 248]
ldr w0, [x29, 224]
cmp w1, w0
blt .L1652
ldr x0, [x29, 272]
ldrsw x1, [x29, 252]
ldr d1, [x0, x1, lsl 3]
ldr x0, [x29, 272]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fmul d1, d1, d0
ldr x0, [x29, 288]
ldrsw x1, [x29, 252]
ldr d2, [x0, x1, lsl 3]
ldr x0, [x29, 288]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fmul d0, d2, d0
fadd d0, d1, d0
fcvt s0, d0
bl sqrt3
ldrsw x0, [x29, 252]
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
fcvt d0, s0
str d0, [x0]
ldr x0, [x29, 304]
ldrsw x1, [x29, 252]
ldr d1, [x0, x1, lsl 3]
ldr x0, [x29, 304]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fmul d1, d1, d0
ldr x0, [x29, 320]
ldrsw x1, [x29, 252]
ldr d2, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fmul d0, d2, d0
fadd d0, d1, d0
fcvt s0, d0
bl sqrt3
fcvt d0, s0
str d0, [x29, 328]
ldr d0, [x29, 328]
fcmp d0, #0.0
cset w0, ne
and w0, w0, 255
bl __DSVERIFIER_assume
ldrsw x0, [x29, 252]
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [x29, 252]
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr d0, [x29, 328]
fdiv d0, d1, d0
str d0, [x0]
ldr w0, [x29, 204]
scvtf d0, w0
adrp x0, .LC64
ldr d1, [x0, #:lo12:.LC64]
fdiv d0, d1, d0
ldr d1, [x29, 256]
fadd d0, d1, d0
str d0, [x29, 256]
ldr w0, [x29, 252]
add w0, w0, 1
str w0, [x29, 252]
.L1648:
ldr d0, [x29, 256]
adrp x0, .LC64
ldr d1, [x0, #:lo12:.LC64]
fcmpe d0, d1
bls .L1653
mov sp, x28
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 344]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1654
bl __stack_chk_fail
.L1654:
mov sp, x29
ldr d8, [sp, 96]
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldp x27, x28, [sp, 80]
ldp x29, x30, [sp], 352
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 28
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_restore 72
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE151:
.size resp_mag, .-resp_mag
.section .rodata
.align 3
.LC65:
.string "|----------------Passband Failure-------------|"
.align 3
.LC66:
.string "|-------------Cutoff Frequency Failure--------|"
.align 3
.LC67:
.string "|----------------Stopband Failure-------------|"
.text
.align 2
.global verify_magnitude
.type verify_magnitude, %function
verify_magnitude:
.LFB152:
.cfi_startproc
stp x29, x30, [sp, -336]!
.cfi_def_cfa_offset 336
.cfi_offset 29, -336
.cfi_offset 30, -328
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
str x27, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -320
.cfi_offset 20, -312
.cfi_offset 21, -304
.cfi_offset 22, -296
.cfi_offset 23, -288
.cfi_offset 24, -280
.cfi_offset 25, -272
.cfi_offset 26, -264
.cfi_offset 27, -256
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 328]
mov x1, 0
mov x0, sp
mov x19, x0
mov w0, 100
str w0, [x29, 228]
ldr w0, [x29, 228]
scvtf d0, w0
fmov d1, 1.0e+0
fdiv d0, d1, d0
str d0, [x29, 240]
ldr w0, [x29, 228]
add w1, w0, 1
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 248]
sxtw x0, w1
mov x4, x0
mov x5, 0
lsr x0, x4, 58
lsl x3, x5, 6
orr x3, x0, x3
lsl x2, x4, 6
sxtw x0, w1
mov x8, x0
mov x9, 0
lsr x0, x8, 58
lsl x7, x9, 6
orr x7, x0, x7
lsl x6, x8, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x1, x0, 4
and x0, x1, -65536
sub x0, sp, x0
.L1656:
cmp sp, x0
beq .L1657
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1656
.L1657:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1658
str xzr, [sp, 1024]
.L1658:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 256]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 800]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 264]
sxtw x0, w1
mov x16, x0
mov x17, 0
lsr x0, x16, 58
lsl x11, x17, 6
orr x11, x0, x11
lsl x10, x16, 6
sxtw x0, w1
mov x14, x0
mov x15, 0
lsr x0, x14, 58
lsl x13, x15, 6
orr x13, x0, x13
lsl x12, x14, 6
sxtw x0, w1
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1659:
cmp sp, x1
beq .L1660
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1659
.L1660:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1661
str xzr, [sp, 1024]
.L1661:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 272]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 272]
adrp x0, ds
add x0, x0, :lo12:ds
bl fxp_double_to_fxp_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 280]
sxtw x1, w0
str x1, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 216]
ldr x4, [x29, 216]
orr x1, x1, x4
str x1, [x29, 216]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 208]
sxtw x1, w0
str x1, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x4, x4, 6
str x4, [x29, 200]
ldr x4, [x29, 200]
orr x1, x1, x4
str x1, [x29, 200]
mov x1, x2
lsl x1, x1, 6
str x1, [x29, 192]
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1662:
cmp sp, x1
beq .L1663
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1662
.L1663:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1664
str xzr, [sp, 1024]
.L1664:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 288]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
mov w2, w0
ldr x1, [x29, 272]
ldr x0, [x29, 288]
bl fxp_to_double_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 296]
sxtw x1, w0
str x1, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x27, x4, 6
orr x27, x1, x27
mov x1, x2
lsl x26, x1, 6
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x25, x4, 6
orr x25, x1, x25
mov x1, x2
lsl x24, x1, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1665:
cmp sp, x1
beq .L1666
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1665
.L1666:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1667
str xzr, [sp, 1024]
.L1667:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 304]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 304]
adrp x0, ds+808
add x0, x0, :lo12:ds+808
bl fxp_double_to_fxp_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 312]
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x23, x4, 6
orr x23, x1, x23
mov x1, x2
lsl x22, x1, 6
sxtw x1, w0
str x1, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x21, x4, 6
orr x21, x1, x21
mov x1, x2
lsl x20, x1, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L1668:
cmp sp, x1
beq .L1669
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1668
.L1669:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1670
str xzr, [sp, 1024]
.L1670:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 320]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
mov w2, w0
ldr x1, [x29, 304]
ldr x0, [x29, 320]
bl fxp_to_double_array
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w5, [x29, 228]
ldr x4, [x29, 256]
mov w3, w0
adrp x0, ds
add x2, x0, :lo12:ds
adrp x0, ds+808
add x0, x0, :lo12:ds+808
bl resp_mag
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr w0, [x0, 24]
cmp w0, 1
bne .L1671
str wzr, [x29, 224]
str xzr, [x29, 232]
b .L1672
.L1679:
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0, 12]
fcvt d0, s0
ldr d1, [x29, 232]
fcmpe d1, d0
bls .L1692
b .L1698
.L1692:
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d1, [x0, x1, lsl 3]
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0]
fcvt d0, s0
fcmpe d1, d0
cset w0, ge
and w2, w0, 255
adrp x0, .LC65
add x1, x0, :lo12:.LC65
mov w0, w2
bl __DSVERIFIER_assert_msg
b .L1675
.L1698:
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0, 16]
fcvt d0, s0
ldr d1, [x29, 232]
fcmp d1, d0
bne .L1676
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d1, [x0, x1, lsl 3]
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0, 8]
fcvt d0, s0
fcmpe d1, d0
cset w0, ls
and w2, w0, 255
adrp x0, .LC66
add x1, x0, :lo12:.LC66
mov w0, w2
bl __DSVERIFIER_assert_msg
b .L1675
.L1676:
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0, 20]
fcvt d0, s0
ldr d1, [x29, 232]
fcmpe d1, d0
bge .L1693
b .L1675
.L1693:
ldr d1, [x29, 232]
fmov d0, 1.0e+0
fcmpe d1, d0
bls .L1694
b .L1675
.L1694:
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d1, [x0, x1, lsl 3]
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0, 4]
fcvt d0, s0
fcmpe d1, d0
cset w0, ls
and w2, w0, 255
adrp x0, .LC67
add x1, x0, :lo12:.LC67
mov w0, w2
bl __DSVERIFIER_assert_msg
.L1675:
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
ldr d1, [x29, 232]
ldr d0, [x29, 240]
fadd d0, d1, d0
str d0, [x29, 232]
.L1672:
ldr d1, [x29, 232]
fmov d0, 1.0e+0
fcmpe d1, d0
bls .L1679
b .L1680
.L1671:
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr w0, [x0, 24]
cmp w0, 2
bne .L1681
str wzr, [x29, 224]
str xzr, [x29, 232]
b .L1682
.L1689:
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0, 20]
fcvt d0, s0
ldr d1, [x29, 232]
fcmpe d1, d0
bls .L1695
b .L1699
.L1695:
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d1, [x0, x1, lsl 3]
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0, 4]
fcvt d0, s0
fcmpe d1, d0
cset w0, ls
and w2, w0, 255
adrp x0, .LC67
add x1, x0, :lo12:.LC67
mov w0, w2
bl __DSVERIFIER_assert_msg
b .L1685
.L1699:
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0, 16]
fcvt d0, s0
ldr d1, [x29, 232]
fcmp d1, d0
bne .L1686
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d1, [x0, x1, lsl 3]
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0, 8]
fcvt d0, s0
fcmpe d1, d0
cset w0, ls
and w2, w0, 255
adrp x0, .LC66
add x1, x0, :lo12:.LC66
mov w0, w2
bl __DSVERIFIER_assert_msg
b .L1685
.L1686:
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0, 12]
fcvt d0, s0
ldr d1, [x29, 232]
fcmpe d1, d0
bgt .L1696
b .L1685
.L1696:
ldr d1, [x29, 232]
fmov d0, 1.0e+0
fcmpe d1, d0
bls .L1697
b .L1685
.L1697:
ldr x0, [x29, 256]
ldrsw x1, [x29, 224]
ldr d1, [x0, x1, lsl 3]
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr s0, [x0]
fcvt d0, s0
fcmpe d1, d0
cset w0, ge
and w2, w0, 255
adrp x0, .LC65
add x1, x0, :lo12:.LC65
mov w0, w2
bl __DSVERIFIER_assert_msg
.L1685:
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
ldr d1, [x29, 232]
ldr d0, [x29, 240]
fadd d0, d1, d0
str d0, [x29, 232]
.L1682:
ldr d1, [x29, 232]
fmov d0, 1.0e+0
fcmpe d1, d0
bls .L1689
b .L1680
.L1681:
mov w0, 0
bl __DSVERIFIER_assert
.L1680:
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 328]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1691
bl __stack_chk_fail
.L1691:
mov w0, w1
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldr x27, [sp, 80]
ldp x29, x30, [sp], 336
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE152:
.size verify_magnitude, .-verify_magnitude
.global plant_cbmc
.bss
.align 3
.type plant_cbmc, %object
.size plant_cbmc, 3224
plant_cbmc:
.zero 3224
.text
.align 2
.global main
.type main, %function
main:
.LFB153:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl initialization
bl validation
adrp x0, rounding_mode
add x0, x0, :lo12:rounding_mode
mov w1, 1
str w1, [x0]
adrp x0, verify_overflow
add x0, x0, :lo12:verify_overflow
bl call_verification_task
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE153:
.size main, .-main
.section .rodata
.align 3
.LC68:
.string "\n\n****************************************************************************"
.align 3
.LC69:
.string "* set (ds and impl) parameters to check with DSVerifier *"
.align 3
.LC70:
.string "****************************************************************************"
.text
.align 2
.global validation
.type validation, %function
validation:
.LFB154:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
cmp w0, 0
beq .L1703
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
cmp w0, 0
bne .L1704
.L1703:
adrp x0, .LC68
add x0, x0, :lo12:.LC68
bl puts
adrp x0, .LC69
add x0, x0, :lo12:.LC69
bl puts
adrp x0, .LC70
add x0, x0, :lo12:.LC70
bl puts
mov w0, 0
bl __DSVERIFIER_assert
.L1704:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
mov w1, 5
str w1, [x0]
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE154:
.size validation, .-validation
.align 2
.global call_verification_task
.type call_verification_task, %function
call_verification_task:
.LFB155:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
str wzr, [sp, 40]
strb wzr, [sp, 39]
str wzr, [sp, 44]
str wzr, [sp, 44]
b .L1707
.L1719:
adrp x0, ds
add x1, x0, :lo12:ds
ldrsw x0, [sp, 44]
add x0, x0, 302
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
fcmpe d0, #0.0
bgt .L1733
b .L1708
.L1733:
adrp x0, ds
add x1, x0, :lo12:ds
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
ldr d1, [x0, 8]
adrp x0, ds
add x1, x0, :lo12:ds
ldrsw x0, [sp, 44]
add x0, x0, 302
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
fmul d0, d1, d0
mov x0, 4636737291354636288
fmov d1, x0
fdiv d0, d0, d1
str d0, [sp, 72]
ldr d0, [sp, 72]
fcmpe d0, #0.0
bmi .L1734
b .L1741
.L1734:
ldr d0, [sp, 72]
fneg d0, d0
b .L1712
.L1741:
ldr d0, [sp, 72]
.L1712:
str d0, [sp, 72]
adrp x0, ds
add x1, x0, :lo12:ds
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
ldr d1, [x0, 8]
ldr d0, [sp, 72]
fsub d0, d1, d0
str d0, [sp, 80]
adrp x0, ds
add x1, x0, :lo12:ds
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
ldr d1, [sp, 72]
fadd d0, d1, d0
str d0, [sp, 88]
ldr d0, [sp, 72]
fcmp d0, #0.0
bne .L1713
ldrb w0, [sp, 39]
cmp w0, 0
bne .L1743
.L1713:
ldr d0, [sp, 72]
fcmp d0, #0.0
bne .L1714
ldrb w0, [sp, 39]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L1714
mov w0, 1
strb w0, [sp, 39]
.L1714:
bl nondet_double
adrp x0, ds
add x1, x0, :lo12:ds
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
str d0, [x0, 8]
adrp x0, ds
add x1, x0, :lo12:ds
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
ldr d1, [sp, 80]
fcmpe d1, d0
bls .L1735
b .L1715
.L1735:
adrp x0, ds
add x1, x0, :lo12:ds
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
ldr d1, [sp, 88]
fcmpe d1, d0
bge .L1736
b .L1715
.L1736:
mov w0, 1
b .L1718
.L1715:
mov w0, 0
.L1718:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
b .L1708
.L1743:
nop
.L1708:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1707:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1719
str wzr, [sp, 44]
b .L1720
.L1732:
adrp x0, ds
add x1, x0, :lo12:ds
ldrsw x0, [sp, 44]
add x0, x0, 202
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
fcmpe d0, #0.0
bgt .L1737
b .L1721
.L1737:
adrp x0, ds
add x0, x0, :lo12:ds
ldrsw x1, [sp, 44]
ldr d1, [x0, x1, lsl 3]
adrp x0, ds
add x1, x0, :lo12:ds
ldrsw x0, [sp, 44]
add x0, x0, 202
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
fmul d0, d1, d0
mov x0, 4636737291354636288
fmov d1, x0
fdiv d0, d0, d1
str d0, [sp, 48]
ldr d0, [sp, 48]
fcmpe d0, #0.0
bmi .L1738
b .L1742
.L1738:
ldr d0, [sp, 48]
fneg d0, d0
b .L1725
.L1742:
ldr d0, [sp, 48]
.L1725:
str d0, [sp, 48]
adrp x0, ds
add x0, x0, :lo12:ds
ldrsw x1, [sp, 44]
ldr d1, [x0, x1, lsl 3]
ldr d0, [sp, 48]
fsub d0, d1, d0
str d0, [sp, 56]
adrp x0, ds
add x0, x0, :lo12:ds
ldrsw x1, [sp, 44]
ldr d0, [x0, x1, lsl 3]
ldr d1, [sp, 48]
fadd d0, d1, d0
str d0, [sp, 64]
ldr d0, [sp, 48]
fcmp d0, #0.0
bne .L1726
ldrb w0, [sp, 39]
cmp w0, 0
bne .L1744
.L1726:
ldr d0, [sp, 48]
fcmp d0, #0.0
bne .L1727
ldrb w0, [sp, 39]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L1727
mov w0, 1
strb w0, [sp, 39]
.L1727:
bl nondet_double
adrp x0, ds
add x0, x0, :lo12:ds
ldrsw x1, [sp, 44]
str d0, [x0, x1, lsl 3]
adrp x0, ds
add x0, x0, :lo12:ds
ldrsw x1, [sp, 44]
ldr d0, [x0, x1, lsl 3]
ldr d1, [sp, 56]
fcmpe d1, d0
bls .L1739
b .L1728
.L1739:
adrp x0, ds
add x0, x0, :lo12:ds
ldrsw x1, [sp, 44]
ldr d0, [x0, x1, lsl 3]
ldr d1, [sp, 64]
fcmpe d1, d0
bge .L1740
b .L1728
.L1740:
mov w0, 1
b .L1731
.L1728:
mov w0, 0
.L1731:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
b .L1721
.L1744:
nop
.L1721:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1720:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1732
ldr x0, [sp, 24]
blr x0
nop
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE155:
.size call_verification_task, .-call_verification_task
.align 2
.global call_closedloop_verification_task
.type call_closedloop_verification_task, %function
call_closedloop_verification_task:
.LFB156:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
strb wzr, [sp, 43]
str wzr, [sp, 44]
str wzr, [sp, 44]
b .L1746
.L1759:
adrp x0, :got:plant
ldr x1, [x0, #:got_lo12:plant]
ldrsw x0, [sp, 44]
add x0, x0, 302
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
fcmpe d0, #0.0
bgt .L1774
b .L1782
.L1774:
adrp x0, :got:plant
ldr x1, [x0, #:got_lo12:plant]
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
ldr d1, [x0, 8]
adrp x0, :got:plant
ldr x1, [x0, #:got_lo12:plant]
ldrsw x0, [sp, 44]
add x0, x0, 302
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
fmul d0, d1, d0
mov x0, 4636737291354636288
fmov d1, x0
fdiv d0, d0, d1
str d0, [sp, 72]
ldr d0, [sp, 72]
fcmpe d0, #0.0
bmi .L1775
b .L1783
.L1775:
ldr d0, [sp, 72]
fneg d0, d0
b .L1751
.L1783:
ldr d0, [sp, 72]
.L1751:
str d0, [sp, 72]
adrp x0, :got:plant
ldr x1, [x0, #:got_lo12:plant]
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
ldr d1, [x0, 8]
ldr d0, [sp, 72]
fsub d0, d1, d0
str d0, [sp, 80]
adrp x0, :got:plant
ldr x1, [x0, #:got_lo12:plant]
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
ldr d1, [sp, 72]
fadd d0, d1, d0
str d0, [sp, 88]
ldr d0, [sp, 72]
fcmp d0, #0.0
bne .L1752
ldrb w0, [sp, 43]
cmp w0, 0
bne .L1786
.L1752:
ldr d0, [sp, 72]
fcmp d0, #0.0
bne .L1754
ldrb w0, [sp, 43]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L1754
mov w0, 1
strb w0, [sp, 43]
.L1754:
bl nondet_double
adrp x0, plant_cbmc
add x1, x0, :lo12:plant_cbmc
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
str d0, [x0, 8]
adrp x0, plant_cbmc
add x1, x0, :lo12:plant_cbmc
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
ldr d1, [sp, 80]
fcmpe d1, d0
bls .L1776
b .L1755
.L1776:
adrp x0, plant_cbmc
add x1, x0, :lo12:plant_cbmc
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
ldr d1, [sp, 88]
fcmpe d1, d0
bge .L1777
b .L1755
.L1777:
mov w0, 1
b .L1758
.L1755:
mov w0, 0
.L1758:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
b .L1753
.L1782:
adrp x0, :got:plant
ldr x1, [x0, #:got_lo12:plant]
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
adrp x0, plant_cbmc
add x1, x0, :lo12:plant_cbmc
ldrsw x0, [sp, 44]
add x0, x0, 100
lsl x0, x0, 3
add x0, x1, x0
str d0, [x0, 8]
b .L1753
.L1786:
nop
.L1753:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1746:
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 1608]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1759
str wzr, [sp, 44]
b .L1760
.L1773:
adrp x0, :got:plant
ldr x1, [x0, #:got_lo12:plant]
ldrsw x0, [sp, 44]
add x0, x0, 202
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
fcmpe d0, #0.0
bgt .L1778
b .L1784
.L1778:
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldrsw x1, [sp, 44]
ldr d1, [x0, x1, lsl 3]
adrp x0, :got:plant
ldr x1, [x0, #:got_lo12:plant]
ldrsw x0, [sp, 44]
add x0, x0, 202
lsl x0, x0, 3
add x0, x1, x0
ldr d0, [x0, 8]
fmul d0, d1, d0
mov x0, 4636737291354636288
fmov d1, x0
fdiv d0, d0, d1
str d0, [sp, 48]
ldr d0, [sp, 48]
fcmpe d0, #0.0
bmi .L1779
b .L1785
.L1779:
ldr d0, [sp, 48]
fneg d0, d0
b .L1765
.L1785:
ldr d0, [sp, 48]
.L1765:
str d0, [sp, 48]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldrsw x1, [sp, 44]
ldr d1, [x0, x1, lsl 3]
ldr d0, [sp, 48]
fsub d0, d1, d0
str d0, [sp, 56]
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldrsw x1, [sp, 44]
ldr d0, [x0, x1, lsl 3]
ldr d1, [sp, 48]
fadd d0, d1, d0
str d0, [sp, 64]
ldr d0, [sp, 48]
fcmp d0, #0.0
bne .L1766
ldrb w0, [sp, 43]
cmp w0, 0
bne .L1787
.L1766:
ldr d0, [sp, 48]
fcmp d0, #0.0
bne .L1768
ldrb w0, [sp, 43]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L1768
mov w0, 1
strb w0, [sp, 43]
.L1768:
bl nondet_double
adrp x0, plant_cbmc
add x0, x0, :lo12:plant_cbmc
ldrsw x1, [sp, 44]
str d0, [x0, x1, lsl 3]
adrp x0, plant_cbmc
add x0, x0, :lo12:plant_cbmc
ldrsw x1, [sp, 44]
ldr d0, [x0, x1, lsl 3]
ldr d1, [sp, 56]
fcmpe d1, d0
bls .L1780
b .L1769
.L1780:
adrp x0, plant_cbmc
add x0, x0, :lo12:plant_cbmc
ldrsw x1, [sp, 44]
ldr d0, [x0, x1, lsl 3]
ldr d1, [sp, 64]
fcmpe d1, d0
bge .L1781
b .L1769
.L1781:
mov w0, 1
b .L1772
.L1769:
mov w0, 0
.L1772:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
b .L1767
.L1784:
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldrsw x1, [sp, 44]
ldr d0, [x0, x1, lsl 3]
adrp x0, plant_cbmc
add x0, x0, :lo12:plant_cbmc
ldrsw x1, [sp, 44]
str d0, [x0, x1, lsl 3]
b .L1767
.L1787:
nop
.L1767:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1760:
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 800]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1773
ldr x0, [sp, 24]
blr x0
nop
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE156:
.size call_closedloop_verification_task, .-call_closedloop_verification_task
.global ds
.data
.align 3
.type ds, %object
.size ds, 3224
ds:
.word 1202590843
.word 1066695393
.word 0
.word 0
.zero 784
.word 2
.zero 4
.word 810889825
.word 1065593130
.word -1924145349
.word -1081971049
.zero 784
.word 2
.zero 4
.word 1202590843
.word 1066695393
.zero 1600
.global impl
.align 3
.type impl, %object
.size impl, 56
impl:
.word 3
.word 13
.word 0
.word 1072693248
.word 0
.word -1074790400
.zero 32
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.21, %object
.size __PRETTY_FUNCTION__.21, 20
__PRETTY_FUNCTION__.21:
.string "__DSVERIFIER_assert"
.align 3
.type __PRETTY_FUNCTION__.20, %object
.size __PRETTY_FUNCTION__.20, 24
__PRETTY_FUNCTION__.20:
.string "__DSVERIFIER_assert_msg"
.align 3
.type __PRETTY_FUNCTION__.19, %object
.size __PRETTY_FUNCTION__.19, 26
__PRETTY_FUNCTION__.19:
.string "double_check_oscillations"
.align 3
.type __PRETTY_FUNCTION__.18, %object
.size __PRETTY_FUNCTION__.18, 12
__PRETTY_FUNCTION__.18:
.string "snrVariance"
.align 3
.type __PRETTY_FUNCTION__.17, %object
.size __PRETTY_FUNCTION__.17, 9
__PRETTY_FUNCTION__.17:
.string "snrPower"
.align 3
.type __PRETTY_FUNCTION__.16, %object
.size __PRETTY_FUNCTION__.16, 9
__PRETTY_FUNCTION__.16:
.string "snrPoint"
.align 3
.type __PRETTY_FUNCTION__.15, %object
.size __PRETTY_FUNCTION__.15, 13
__PRETTY_FUNCTION__.15:
.string "iirIIOutTime"
.align 3
.type __PRETTY_FUNCTION__.14, %object
.size __PRETTY_FUNCTION__.14, 14
__PRETTY_FUNCTION__.14:
.string "iirIItOutTime"
.align 3
.type __PRETTY_FUNCTION__.13, %object
.size __PRETTY_FUNCTION__.13, 21
__PRETTY_FUNCTION__.13:
.string "iirIItOutTime_double"
.align 3
.type __PRETTY_FUNCTION__.12, %object
.size __PRETTY_FUNCTION__.12, 28
__PRETTY_FUNCTION__.12:
.string "double_direct_form_1_MSP430"
.align 3
.type __PRETTY_FUNCTION__.11, %object
.size __PRETTY_FUNCTION__.11, 28
__PRETTY_FUNCTION__.11:
.string "double_direct_form_2_MSP430"
.align 3
.type __PRETTY_FUNCTION__.10, %object
.size __PRETTY_FUNCTION__.10, 39
__PRETTY_FUNCTION__.10:
.string "double_transposed_direct_form_2_MSP430"
.align 3
.type __PRETTY_FUNCTION__.9, %object
.size __PRETTY_FUNCTION__.9, 15
__PRETTY_FUNCTION__.9:
.string "initialization"
.align 3
.type __PRETTY_FUNCTION__.8, %object
.size __PRETTY_FUNCTION__.8, 31
__PRETTY_FUNCTION__.8:
.string "verify_limit_cycle_state_space"
.align 3
.type __PRETTY_FUNCTION__.7, %object
.size __PRETTY_FUNCTION__.7, 30
__PRETTY_FUNCTION__.7:
.string "verify_zero_input_limit_cycle"
.align 3
.type __PRETTY_FUNCTION__.6, %object
.size __PRETTY_FUNCTION__.6, 22
__PRETTY_FUNCTION__.6:
.string "verify_generic_timing"
.align 3
.type __PRETTY_FUNCTION__.5, %object
.size __PRETTY_FUNCTION__.5, 17
__PRETTY_FUNCTION__.5:
.string "verify_stability"
.align 3
.type __PRETTY_FUNCTION__.4, %object
.size __PRETTY_FUNCTION__.4, 25
__PRETTY_FUNCTION__.4:
.string "verify_error_state_space"
.align 3
.type __PRETTY_FUNCTION__.3, %object
.size __PRETTY_FUNCTION__.3, 26
__PRETTY_FUNCTION__.3:
.string "verify_safety_state_space"
.align 3
.type __PRETTY_FUNCTION__.2, %object
.size __PRETTY_FUNCTION__.2, 23
__PRETTY_FUNCTION__.2:
.string "verify_controllability"
.align 3
.type __PRETTY_FUNCTION__.1, %object
.size __PRETTY_FUNCTION__.1, 30
__PRETTY_FUNCTION__.1:
.string "verify_controllability_double"
.align 3
.type __PRETTY_FUNCTION__.0, %object
.size __PRETTY_FUNCTION__.0, 21
__PRETTY_FUNCTION__.0:
.string "verify_observability"
.align 3
.LC22:
.word 8388608
.word 1104150400
.align 3
.LC23:
.word -1574947053
.word 1075974094
.align 3
.LC24:
.word -1574947053
.word 1074925518
.align 3
.LC29:
.word 1202590843
.word 1065646817
.align 3
.LC42:
.word -1998362383
.word 1055193269
.align 3
.LC64:
.word 1413754136
.word 1074340347
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Usage: %s database\n"
.text
.align 2
.type usage, %function
usage:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x2, [sp, 24]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x3
bl fprintf
mov w0, 1
bl exit
.cfi_endproc
.LFE6:
.size usage, .-usage
.section .rodata
.align 3
.LC1:
.string "fcntl(%d) failed: errno=%d\n"
.align 3
.LC2:
.string "%s lock held by %d\n"
.text
.align 2
.type isLocked, %function
isLocked:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -96
str w0, [sp, 60]
str w1, [sp, 56]
str w2, [sp, 52]
str w3, [sp, 48]
str x4, [sp, 40]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 104]
mov x1, 0
add x0, sp, 72
mov x2, 32
mov w1, 0
bl memset
ldr w0, [sp, 56]
sxth w0, w0
strh w0, [sp, 72]
strh wzr, [sp, 74]
ldr w0, [sp, 52]
str x0, [sp, 80]
ldr w0, [sp, 48]
str x0, [sp, 88]
add x0, sp, 72
mov x2, x0
mov w1, 5
ldr w0, [sp, 60]
bl fcntl
cmn w0, #1
bne .L3
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl __errno_location
ldr w0, [x0]
mov w3, w0
ldr w2, [sp, 60]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x19
bl fprintf
mov w0, 1
bl exit
.L3:
ldrsh w0, [sp, 72]
cmp w0, 2
bne .L4
mov w0, 0
b .L6
.L4:
ldr w0, [sp, 96]
mov w2, w0
ldr x1, [sp, 40]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 1
.L6:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 104]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size isLocked, .-isLocked
.section .rodata
.align 3
.LC3:
.string "cannot open %s\n"
.align 3
.LC4:
.string "SQLite format 3"
.align 3
.LC5:
.string "not an SQLite database: %s\n"
.align 3
.LC6:
.string "EXCLUSIVE"
.align 3
.LC7:
.string "PENDING"
.align 3
.LC8:
.string "RESERVED"
.align 3
.LC9:
.string "SHARED"
.align 3
.LC10:
.string "out of memory\n"
.align 3
.LC11:
.string "-shm"
.align 3
.LC12:
.string "WAL-RECOVERY"
.align 3
.LC13:
.string "WAL-CHECKPOINT"
.align 3
.LC14:
.string "WAL-WRITE"
.align 3
.LC15:
.string "WAL-READ"
.align 3
.LC16:
.string "file is not locked"
.text
.align 2
.global main
.type main, %function
main:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -192]!
.cfi_def_cfa_offset 192
.cfi_offset 29, -192
.cfi_offset 30, -184
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 184]
mov x1, 0
str wzr, [sp, 40]
ldr w0, [sp, 28]
cmp w0, 2
beq .L9
ldr x0, [sp, 16]
ldr x0, [x0]
bl usage
.L9:
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
mov w2, 0
mov w1, 0
bl open
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 0
bge .L10
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x3
bl fprintf
mov w0, 1
b .L25
.L10:
add x0, sp, 80
mov x2, 100
mov x1, x0
ldr w0, [sp, 48]
bl read
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 100
bne .L12
add x3, sp, 80
mov x2, 16
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov x0, x3
bl memcmp
cmp w0, 0
beq .L13
.L12:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
mov x2, x0
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov x0, x3
bl fprintf
mov w0, 1
bl exit
.L13:
adrp x0, .LC6
add x4, x0, :lo12:.LC6
mov w3, 510
mov w2, 2
movk w2, 0x4000, lsl 16
mov w1, 0
ldr w0, [sp, 48]
bl isLocked
cmp w0, 0
beq .L14
mov w0, 0
b .L25
.L14:
ldrb w0, [sp, 98]
cmp w0, 2
cset w0, eq
and w0, w0, 255
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bne .L15
adrp x0, .LC7
add x4, x0, :lo12:.LC7
mov w3, 1
mov w2, 1073741824
mov w1, 0
ldr w0, [sp, 48]
bl isLocked
cmp w0, 0
beq .L16
mov w0, 0
b .L25
.L16:
adrp x0, .LC8
add x4, x0, :lo12:.LC8
mov w3, 1
mov w2, 1
movk w2, 0x4000, lsl 16
mov w1, 0
ldr w0, [sp, 48]
bl isLocked
cmp w0, 0
beq .L17
mov w0, 0
b .L25
.L17:
adrp x0, .LC9
add x4, x0, :lo12:.LC9
mov w3, 510
mov w2, 2
movk w2, 0x4000, lsl 16
mov w1, 1
ldr w0, [sp, 48]
bl isLocked
cmp w0, 0
beq .L18
mov w0, 0
b .L25
.L15:
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl strlen
str w0, [sp, 56]
ldr w0, [sp, 56]
add w0, w0, 100
sxtw x0, w0
bl malloc
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L19
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 14
mov x1, 1
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl fwrite
mov w0, 1
bl exit
.L19:
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
ldrsw x1, [sp, 56]
mov x2, x1
mov x1, x0
ldr x0, [sp, 72]
bl memcpy
ldrsw x0, [sp, 56]
ldr x1, [sp, 72]
add x3, x1, x0
mov x2, 5
adrp x0, .LC11
add x1, x0, :lo12:.LC11
mov x0, x3
bl memcpy
mov w2, 0
mov w1, 0
ldr x0, [sp, 72]
bl open
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L20
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x2, [sp, 72]
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x3
bl fprintf
mov w0, 1
b .L25
.L20:
adrp x0, .LC12
add x4, x0, :lo12:.LC12
mov w3, 1
mov w2, 122
mov w1, 0
ldr w0, [sp, 60]
bl isLocked
cmp w0, 0
beq .L21
mov w0, 0
b .L25
.L21:
adrp x0, .LC13
add x4, x0, :lo12:.LC13
mov w3, 1
mov w2, 121
mov w1, 0
ldr w0, [sp, 60]
bl isLocked
mov w1, w0
ldr w0, [sp, 40]
add w0, w0, w1
str w0, [sp, 40]
adrp x0, .LC14
add x4, x0, :lo12:.LC14
mov w3, 1
mov w2, 120
mov w1, 0
ldr w0, [sp, 60]
bl isLocked
mov w1, w0
ldr w0, [sp, 40]
add w0, w0, w1
str w0, [sp, 40]
str wzr, [sp, 44]
b .L22
.L23:
ldr w0, [sp, 44]
add w0, w0, 123
mov w1, w0
adrp x0, .LC15
add x4, x0, :lo12:.LC15
mov w3, 1
mov w2, w1
mov w1, 1
ldr w0, [sp, 60]
bl isLocked
mov w1, w0
ldr w0, [sp, 40]
add w0, w0, w1
str w0, [sp, 40]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L22:
ldr w0, [sp, 44]
cmp w0, 4
ble .L23
.L18:
ldr w0, [sp, 40]
cmp w0, 0
bne .L24
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl puts
.L24:
mov w0, 0
.L25:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 184]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L26
bl __stack_chk_fail
.L26:
mov w0, w1
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Please enter the arithmetic expression"
.align 3
.LC1:
.string "%d %c %d"
.align 3
.LC2:
.string "Invalid operator"
.align 3
.LC3:
.string "\nResult is %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
add x2, sp, 32
add x1, sp, 27
add x0, sp, 28
mov x3, x2
mov x2, x1
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldrb w0, [sp, 27]
cmp w0, 47
beq .L2
cmp w0, 47
bgt .L3
cmp w0, 45
beq .L4
cmp w0, 45
bgt .L3
cmp w0, 43
beq .L5
cmp w0, 43
bgt .L3
cmp w0, 37
beq .L6
cmp w0, 42
beq .L7
b .L3
.L5:
ldr w1, [sp, 28]
ldr w0, [sp, 32]
add w0, w1, w0
str w0, [sp, 36]
b .L8
.L4:
ldr w1, [sp, 28]
ldr w0, [sp, 32]
sub w0, w1, w0
str w0, [sp, 36]
b .L8
.L7:
ldr w1, [sp, 28]
ldr w0, [sp, 32]
mul w0, w1, w0
str w0, [sp, 36]
b .L8
.L2:
ldr w1, [sp, 28]
ldr w0, [sp, 32]
sdiv w0, w1, w0
str w0, [sp, 36]
b .L8
.L6:
ldr w0, [sp, 28]
ldr w1, [sp, 32]
sdiv w2, w0, w1
mul w1, w2, w1
sub w0, w0, w1
str w0, [sp, 36]
b .L8
.L3:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
.L8:
ldr w1, [sp, 36]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L9
bl __stack_chk_fail
.L9:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC1:
.string "%d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
add x2, sp, 32
mov x3, x0
ldp x0, x1, [x3]
stp x0, x1, [x2]
ldr w0, [x3, 16]
str w0, [x2, 16]
add x0, sp, 32
mov w1, 5
bl func
str wzr, [sp, 28]
b .L2
.L3:
ldrsw x0, [sp, 28]
lsl x0, x0, 2
add x1, sp, 32
ldr w0, [x1, x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
ldr w0, [sp, 28]
cmp w0, 4
ble .L3
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC0:
.word 10
.word 30
.word 50
.word 70
.word 90
.text
.align 2
.global func
.type func, %function
func:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str wzr, [sp, 28]
b .L7
.L8:
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [x0]
ldr x0, [sp, 8]
add x0, x0, 8
add w1, w1, 5
str w1, [x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L7:
ldr w1, [sp, 28]
ldr w0, [sp, 4]
cmp w1, w0
blt .L8
nop
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size func, .-func
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d %d"
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "%d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x1, sp, 28
add x0, sp, 24
mov x2, x1
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
mov w0, 1
str w0, [sp, 36]
b .L2
.L4:
add x0, sp, 32
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w1, [sp, 28]
ldr w0, [sp, 32]
cmp w1, w0
ble .L3
ldr w0, [sp, 32]
str w0, [sp, 28]
.L3:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L2:
ldr w0, [sp, 24]
ldr w1, [sp, 36]
cmp w1, w0
blt .L4
ldr w0, [sp, 28]
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L6
bl __stack_chk_fail
.L6:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter number of rows:"
.align 3
.LC1:
.string "%d"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 20
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
mov w0, 1
str w0, [sp, 24]
b .L2
.L15:
mov w0, 1
str w0, [sp, 28]
b .L3
.L7:
ldr w0, [sp, 28]
cmp w0, 1
beq .L4
ldr w1, [sp, 28]
ldr w0, [sp, 24]
cmp w1, w0
bne .L5
.L4:
mov w0, 42
bl putchar
b .L6
.L5:
mov w0, 32
bl putchar
.L6:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L3:
ldr w1, [sp, 28]
ldr w0, [sp, 24]
cmp w1, w0
ble .L7
mov w0, 1
str w0, [sp, 32]
b .L8
.L9:
mov w0, 32
bl putchar
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L8:
ldr w1, [sp, 20]
ldr w0, [sp, 24]
sub w0, w1, w0
lsl w0, w0, 1
ldr w1, [sp, 32]
cmp w1, w0
ble .L9
mov w0, 1
str w0, [sp, 36]
b .L10
.L14:
ldr w0, [sp, 36]
cmp w0, 1
beq .L11
ldr w1, [sp, 36]
ldr w0, [sp, 24]
cmp w1, w0
bne .L12
.L11:
mov w0, 42
bl putchar
b .L13
.L12:
mov w0, 32
bl putchar
.L13:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L10:
ldr w1, [sp, 36]
ldr w0, [sp, 24]
cmp w1, w0
ble .L14
mov w0, 10
bl putchar
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L2:
ldr w0, [sp, 20]
ldr w1, [sp, 24]
cmp w1, w0
ble .L15
ldr w0, [sp, 20]
str w0, [sp, 40]
b .L16
.L29:
mov w0, 1
str w0, [sp, 44]
b .L17
.L21:
ldr w0, [sp, 44]
cmp w0, 1
beq .L18
ldr w1, [sp, 44]
ldr w0, [sp, 40]
cmp w1, w0
bne .L19
.L18:
mov w0, 42
bl putchar
b .L20
.L19:
mov w0, 32
bl putchar
.L20:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L17:
ldr w1, [sp, 44]
ldr w0, [sp, 40]
cmp w1, w0
ble .L21
mov w0, 1
str w0, [sp, 48]
b .L22
.L23:
mov w0, 32
bl putchar
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L22:
ldr w1, [sp, 20]
ldr w0, [sp, 40]
sub w0, w1, w0
lsl w0, w0, 1
ldr w1, [sp, 48]
cmp w1, w0
ble .L23
mov w0, 1
str w0, [sp, 52]
b .L24
.L28:
ldr w0, [sp, 52]
cmp w0, 1
beq .L25
ldr w1, [sp, 52]
ldr w0, [sp, 40]
cmp w1, w0
bne .L26
.L25:
mov w0, 42
bl putchar
b .L27
.L26:
mov w0, 32
bl putchar
.L27:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L24:
ldr w1, [sp, 52]
ldr w0, [sp, 40]
cmp w1, w0
ble .L28
mov w0, 10
bl putchar
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 40]
.L16:
ldr w0, [sp, 40]
cmp w0, 0
bgt .L29
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L31
bl __stack_chk_fail
.L31:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.local procid
.comm procid,8,8
.align 2
.type sleep_ms, %function
sleep_ms:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
mov w1, w0
mov w0, 1000
mul w0, w1, w0
bl usleep
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size sleep_ms, .-sleep_ms
.align 2
.type current_time_ms, %function
current_time_ms:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x0, sp, 24
mov x1, x0
mov w0, 1
bl clock_gettime
cmp w0, 0
beq .L3
mov w0, 1
bl exit
.L3:
ldr x0, [sp, 24]
mov x1, x0
mov x0, x1
lsl x0, x0, 5
sub x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 32]
mov x2, x0
mov x0, 13531
movk x0, 0xd7b6, lsl 16
movk x0, 0xde82, lsl 32
movk x0, 0x431b, lsl 48
umulh x0, x2, x0
lsr x0, x0, 18
add x0, x1, x0
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov x0, x1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size current_time_ms, .-current_time_ms
.align 2
.type thread_start, %function
thread_start:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 120]
mov x1, 0
add x0, sp, 56
bl pthread_attr_init
add x0, sp, 56
mov x1, 131072
bl pthread_attr_setstacksize
str wzr, [sp, 44]
b .L7
.L13:
add x1, sp, 56
add x0, sp, 48
ldr x3, [sp, 16]
ldr x2, [sp, 24]
bl pthread_create
cmp w0, 0
bne .L8
add x0, sp, 56
bl pthread_attr_destroy
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 120]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L14
b .L15
.L8:
bl __errno_location
ldr w0, [x0]
cmp w0, 11
bne .L16
mov w0, 50
bl usleep
nop
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L7:
ldr w0, [sp, 44]
cmp w0, 99
ble .L13
b .L12
.L16:
nop
.L12:
mov w0, 1
bl exit
.L15:
bl __stack_chk_fail
.L14:
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size thread_start, .-thread_start
.align 2
.type event_init, %function
event_init:
.LFB9:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
str wzr, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size event_init, .-event_init
.align 2
.type event_reset, %function
event_reset:
.LFB10:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
str wzr, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size event_reset, .-event_reset
.align 2
.type event_set, %function
event_set:
.LFB11:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 0
beq .L20
mov w0, 1
bl exit
.L20:
ldr x0, [sp, 24]
mov w1, 1
stlr w1, [x0]
ldr x0, [sp, 24]
mov w3, 16960
movk w3, 0xf, lsl 16
mov w2, 129
mov x1, x0
mov x0, 98
bl syscall
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size event_set, .-event_set
.align 2
.type event_wait, %function
event_wait:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
b .L22
.L23:
ldr x0, [sp, 24]
mov w4, 0
mov w3, 0
mov w2, 128
mov x1, x0
mov x0, 98
bl syscall
.L22:
ldr x0, [sp, 24]
ldar w0, [x0]
cmp w0, 0
beq .L23
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size event_wait, .-event_wait
.align 2
.type event_isset, %function
event_isset:
.LFB13:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldar w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size event_isset, .-event_isset
.align 2
.type event_timedwait, %function
event_timedwait:
.LFB14:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
bl current_time_ms
str x0, [sp, 40]
ldr x0, [sp, 40]
str x0, [sp, 32]
.L30:
ldr x1, [sp, 40]
ldr x0, [sp, 32]
sub x0, x1, x0
ldr x1, [sp, 16]
add x0, x1, x0
str x0, [sp, 48]
ldr x0, [sp, 48]
lsr x1, x0, 3
mov x0, 63439
movk x0, 0xe353, lsl 16
movk x0, 0x9ba5, lsl 32
movk x0, 0x20c4, lsl 48
umulh x0, x1, x0
lsr x0, x0, 4
str x0, [sp, 56]
ldr x2, [sp, 48]
lsr x1, x2, 3
mov x0, 63439
movk x0, 0xe353, lsl 16
movk x0, 0x9ba5, lsl 32
movk x0, 0x20c4, lsl 48
umulh x0, x1, x0
lsr x1, x0, 4
mov x0, x1
lsl x0, x0, 5
sub x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 3
sub x1, x2, x0
mov x0, 16960
movk x0, 0xf, lsl 16
mul x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 24]
add x1, sp, 56
mov x4, x1
mov w3, 0
mov w2, 128
mov x1, x0
mov x0, 98
bl syscall
ldr x0, [sp, 24]
ldar w0, [x0]
cmp w0, 0
beq .L27
mov w0, 1
b .L31
.L27:
bl current_time_ms
str x0, [sp, 32]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
sub x0, x1, x0
ldr x1, [sp, 16]
cmp x1, x0
bcs .L30
mov w0, 0
.L31:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 72]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L32
bl __stack_chk_fail
.L32:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size event_timedwait, .-event_timedwait
.align 2
.type write_file, %function
write_file:
.LFB15:
.cfi_startproc
sub sp, sp, #1328
.cfi_def_cfa_offset 1328
stp x29, x30, [sp]
.cfi_offset 29, -1328
.cfi_offset 30, -1320
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 1280]
str x3, [sp, 1288]
str x4, [sp, 1296]
str x5, [sp, 1304]
str x6, [sp, 1312]
str x7, [sp, 1320]
add x0, sp, 1024
str q0, [x0, 128]
add x0, sp, 1024
str q1, [x0, 144]
add x0, sp, 1024
str q2, [x0, 160]
add x0, sp, 1024
str q3, [x0, 176]
add x0, sp, 1024
str q4, [x0, 192]
add x0, sp, 1024
str q5, [x0, 208]
add x0, sp, 1024
str q6, [x0, 224]
add x0, sp, 1024
str q7, [x0, 240]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1144]
mov x1, 0
add x0, sp, 1328
str x0, [sp, 88]
add x0, sp, 1328
str x0, [sp, 96]
add x0, sp, 1280
str x0, [sp, 104]
mov w0, -48
str w0, [sp, 112]
mov w0, -128
str w0, [sp, 116]
add x0, sp, 16
add x1, sp, 88
ldp q0, q1, [x1]
stp q0, q1, [x0]
add x1, sp, 16
add x0, sp, 120
mov x3, x1
ldr x2, [sp, 48]
mov x1, 1024
bl vsnprintf
strb wzr, [sp, 1143]
add x0, sp, 120
bl strlen
str w0, [sp, 76]
mov w1, 1
movk w1, 0x8, lsl 16
ldr x0, [sp, 56]
bl open
str w0, [sp, 80]
ldr w0, [sp, 80]
cmn w0, #1
bne .L34
mov w0, 0
b .L37
.L34:
ldrsw x1, [sp, 76]
add x0, sp, 120
mov x2, x1
mov x1, x0
ldr w0, [sp, 80]
bl write
mov x1, x0
ldrsw x0, [sp, 76]
cmp x1, x0
beq .L36
bl __errno_location
ldr w0, [x0]
str w0, [sp, 84]
ldr w0, [sp, 80]
bl close
bl __errno_location
mov x1, x0
ldr w0, [sp, 84]
str w0, [x1]
mov w0, 0
b .L37
.L36:
ldr w0, [sp, 80]
bl close
mov w0, 1
.L37:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1144]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L38
bl __stack_chk_fail
.L38:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 1328
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size write_file, .-write_file
.align 2
.type netlink_init, %function
netlink_init:
.LFB16:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str x3, [sp, 24]
str w4, [sp, 20]
mov x2, 4176
mov w1, 0
ldr x0, [sp, 40]
bl memset
ldr x0, [sp, 40]
add x0, x0, 80
str x0, [sp, 56]
ldr w0, [sp, 36]
and w1, w0, 65535
ldr x0, [sp, 56]
strh w1, [x0, 4]
ldr w0, [sp, 32]
sxth w1, w0
mov w0, 5
orr w0, w1, w0
sxth w0, w0
and w1, w0, 65535
ldr x0, [sp, 56]
strh w1, [x0, 6]
ldr x0, [sp, 56]
add x0, x0, 16
ldrsw x1, [sp, 20]
mov x2, x1
ldr x1, [sp, 24]
bl memcpy
ldr w0, [sp, 20]
add w0, w0, 3
uxtw x0, w0
and x0, x0, 4294967292
add x0, x0, 16
ldr x1, [sp, 56]
add x1, x1, x0
ldr x0, [sp, 40]
str x1, [x0]
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size netlink_init, .-netlink_init
.align 2
.type netlink_attr, %function
netlink_attr:
.LFB17:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str w3, [sp, 32]
ldr x0, [sp, 40]
ldr x0, [x0]
str x0, [sp, 56]
ldr w0, [sp, 32]
and w0, w0, 65535
add w0, w0, 4
and w1, w0, 65535
ldr x0, [sp, 56]
strh w1, [x0]
ldr w0, [sp, 36]
and w1, w0, 65535
ldr x0, [sp, 56]
strh w1, [x0, 2]
ldr w0, [sp, 32]
cmp w0, 0
ble .L41
ldr x0, [sp, 56]
add x0, x0, 4
ldrsw x1, [sp, 32]
mov x2, x1
ldr x1, [sp, 24]
bl memcpy
.L41:
ldr x0, [sp, 40]
ldr x1, [x0]
ldr x0, [sp, 56]
ldrh w0, [x0]
add w0, w0, 3
uxtw x0, w0
and x0, x0, 4294967292
add x1, x1, x0
ldr x0, [sp, 40]
str x1, [x0]
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size netlink_attr, .-netlink_attr
.align 2
.type netlink_send_ext, %function
netlink_send_ext:
.LFB18:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
strh w2, [sp, 34]
str x3, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
ldr x0, [sp, 40]
ldr x1, [x0]
ldr x0, [sp, 40]
add x0, x0, 80
add x0, x0, 4096
cmp x1, x0
bhi .L43
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 0
beq .L44
.L43:
mov w0, 1
bl exit
.L44:
ldr x0, [sp, 40]
add x0, x0, 80
str x0, [sp, 64]
ldr x0, [sp, 40]
ldr x1, [x0]
ldr x0, [sp, 40]
add x0, x0, 80
sub x0, x1, x0
mov w1, w0
ldr x0, [sp, 64]
str w1, [x0]
add x0, sp, 72
mov x2, 12
mov w1, 0
bl memset
mov w0, 16
strh w0, [sp, 72]
ldr x0, [sp, 40]
add x1, x0, 80
ldr x0, [sp, 64]
ldr w0, [x0]
uxtw x0, w0
add x2, sp, 72
mov w5, 12
mov x4, x2
mov w3, 0
mov x2, x0
ldr w0, [sp, 36]
bl sendto
str w0, [sp, 60]
ldr x0, [sp, 64]
ldr w0, [x0]
ldr w1, [sp, 60]
cmp w1, w0
beq .L45
mov w0, 1
bl exit
.L45:
ldr x0, [sp, 40]
add x0, x0, 80
mov w3, 0
mov x2, 4096
mov x1, x0
ldr w0, [sp, 36]
bl recv
str w0, [sp, 60]
ldr x0, [sp, 24]
cmp x0, 0
beq .L46
ldr x0, [sp, 24]
str wzr, [x0]
.L46:
ldr x0, [sp, 64]
ldrh w0, [x0, 4]
cmp w0, 3
bne .L47
mov w0, 0
b .L53
.L47:
ldr w0, [sp, 60]
cmp w0, 15
bhi .L49
mov w0, 1
bl exit
.L49:
ldr x0, [sp, 24]
cmp x0, 0
beq .L50
ldr x0, [sp, 64]
ldrh w0, [x0, 4]
ldrh w1, [sp, 34]
cmp w1, w0
bne .L50
ldr w1, [sp, 60]
ldr x0, [sp, 24]
str w1, [x0]
mov w0, 0
b .L53
.L50:
ldr w0, [sp, 60]
cmp w0, 35
bhi .L51
mov w0, 1
bl exit
.L51:
ldr x0, [sp, 64]
ldrh w0, [x0, 4]
cmp w0, 2
beq .L52
mov w0, 1
bl exit
.L52:
ldr x0, [sp, 64]
add x0, x0, 16
ldr w0, [x0]
.L53:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L54
bl __stack_chk_fail
.L54:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size netlink_send_ext, .-netlink_send_ext
.align 2
.type netlink_send, %function
netlink_send:
.LFB19:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
mov x3, 0
mov w2, 0
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl netlink_send_ext
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE19:
.size netlink_send, .-netlink_send
.align 2
.type netlink_query_family_id, %function
netlink_query_family_id:
.LFB20:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
add x0, sp, 64
mov x2, 4
mov w1, 0
bl memset
mov w0, 3
strb w0, [sp, 64]
add x0, sp, 64
mov w4, 4
mov x3, x0
mov w2, 0
mov w1, 16
ldr x0, [sp, 40]
bl netlink_init
mov x1, 15
ldr x0, [sp, 24]
bl strnlen
add w0, w0, 1
mov w3, w0
ldr x2, [sp, 24]
mov w1, 2
ldr x0, [sp, 40]
bl netlink_attr
str wzr, [sp, 72]
add x0, sp, 72
mov x3, x0
mov w2, 16
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_send_ext
str w0, [sp, 76]
ldr w0, [sp, 76]
cmp w0, 0
bge .L58
mov w0, -1
b .L65
.L58:
strh wzr, [sp, 62]
ldr x0, [sp, 40]
add x0, x0, 80
add x0, x0, 20
str x0, [sp, 80]
b .L60
.L63:
ldr x0, [sp, 80]
ldrh w0, [x0, 2]
cmp w0, 1
bne .L61
ldr x0, [sp, 80]
ldrh w0, [x0, 4]
strh w0, [sp, 62]
b .L62
.L61:
ldr x0, [sp, 80]
ldrh w0, [x0]
add w0, w0, 3
uxtw x0, w0
and x0, x0, 4294967292
ldr x1, [sp, 80]
add x0, x1, x0
str x0, [sp, 80]
.L60:
ldr x0, [sp, 40]
add x1, x0, 80
ldr w0, [sp, 72]
sxtw x0, w0
add x0, x1, x0
ldr x1, [sp, 80]
cmp x1, x0
bcc .L63
.L62:
ldrh w0, [sp, 62]
cmp w0, 0
bne .L64
mov w0, -1
b .L65
.L64:
ldr x0, [sp, 40]
add x0, x0, 80
mov w3, 0
mov x2, 4096
mov x1, x0
ldr w0, [sp, 36]
bl recv
ldrh w0, [sp, 62]
.L65:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L66
bl __stack_chk_fail
.L66:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size netlink_query_family_id, .-netlink_query_family_id
.local nlmsg
.comm nlmsg,4176,8
.align 2
.type set_interface_state, %function
set_interface_state:
.LFB21:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
mov w2, 0
mov w1, 2
mov w0, 2
bl socket
str w0, [sp, 40]
ldr w0, [sp, 40]
cmp w0, 0
bge .L68
mov w0, -1
b .L74
.L68:
add x0, sp, 48
mov x2, 40
mov w1, 0
bl memset
add x0, sp, 48
ldr x1, [sp, 24]
bl strcpy
add x0, sp, 48
mov x2, x0
mov x1, 35091
ldr w0, [sp, 40]
bl ioctl
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bge .L70
ldr w0, [sp, 40]
bl close
mov w0, -1
b .L74
.L70:
ldr w0, [sp, 20]
cmp w0, 0
beq .L71
ldrsh w0, [sp, 64]
orr w0, w0, 1
sxth w0, w0
strh w0, [sp, 64]
b .L72
.L71:
ldrsh w0, [sp, 64]
and w0, w0, -2
sxth w0, w0
strh w0, [sp, 64]
.L72:
add x0, sp, 48
mov x2, x0
mov x1, 35092
ldr w0, [sp, 40]
bl ioctl
str w0, [sp, 44]
ldr w0, [sp, 40]
bl close
ldr w0, [sp, 44]
cmp w0, 0
bge .L73
mov w0, -1
b .L74
.L73:
mov w0, 0
.L74:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L75
bl __stack_chk_fail
.L75:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size set_interface_state, .-set_interface_state
.align 2
.type nl80211_set_interface, %function
nl80211_set_interface:
.LFB22:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
str w4, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
add x0, sp, 48
mov x2, 4
mov w1, 0
bl memset
mov w0, 6
strb w0, [sp, 48]
add x0, sp, 48
mov w4, 4
mov x3, x0
mov w2, 0
ldr w1, [sp, 32]
ldr x0, [sp, 40]
bl netlink_init
add x0, sp, 28
mov w3, 4
mov x2, x0
mov w1, 3
ldr x0, [sp, 40]
bl netlink_attr
add x0, sp, 24
mov w3, 4
mov x2, x0
mov w1, 5
ldr x0, [sp, 40]
bl netlink_attr
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_send
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bge .L77
mov w0, -1
b .L79
.L77:
mov w0, 0
.L79:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L80
bl __stack_chk_fail
.L80:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE22:
.size nl80211_set_interface, .-nl80211_set_interface
.align 2
.type nl80211_join_ibss, %function
nl80211_join_ibss:
.LFB23:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
str x4, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
add x0, sp, 48
mov x2, 4
mov w1, 0
bl memset
mov w0, 43
strb w0, [sp, 48]
add x0, sp, 48
mov w4, 4
mov x3, x0
mov w2, 0
ldr w1, [sp, 32]
ldr x0, [sp, 40]
bl netlink_init
add x0, sp, 28
mov w3, 4
mov x2, x0
mov w1, 3
ldr x0, [sp, 40]
bl netlink_attr
ldr x0, [sp, 16]
ldr x1, [x0, 16]
ldr x0, [sp, 16]
ldr w0, [x0, 24]
mov w3, w0
mov x2, x1
mov w1, 52
ldr x0, [sp, 40]
bl netlink_attr
ldr x0, [sp, 16]
mov w3, 4
mov x2, x0
mov w1, 38
ldr x0, [sp, 40]
bl netlink_attr
ldr x0, [sp, 16]
ldr x0, [x0, 8]
cmp x0, 0
beq .L82
ldr x0, [sp, 16]
ldr x0, [x0, 8]
mov w3, 6
mov x2, x0
mov w1, 6
ldr x0, [sp, 40]
bl netlink_attr
.L82:
ldr x0, [sp, 16]
ldrb w0, [x0, 4]
cmp w0, 0
beq .L83
mov w3, 0
mov x2, 0
mov w1, 60
ldr x0, [sp, 40]
bl netlink_attr
.L83:
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_send
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bge .L84
mov w0, -1
b .L86
.L84:
mov w0, 0
.L86:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L87
bl __stack_chk_fail
.L87:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE23:
.size nl80211_join_ibss, .-nl80211_join_ibss
.align 2
.type get_ifla_operstate, %function
get_ifla_operstate:
.LFB24:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
add x0, sp, 56
mov x2, 16
mov w1, 0
bl memset
strb wzr, [sp, 56]
ldr w0, [sp, 20]
str w0, [sp, 60]
mov w2, 0
mov w1, 3
mov w0, 16
bl socket
str w0, [sp, 40]
ldr w0, [sp, 40]
cmn w0, #1
bne .L89
mov w0, -1
b .L96
.L89:
add x0, sp, 56
mov w4, 16
mov x3, x0
mov w2, 0
mov w1, 18
ldr x0, [sp, 24]
bl netlink_init
add x0, sp, 36
mov x3, x0
mov w2, 16
ldr w1, [sp, 40]
ldr x0, [sp, 24]
bl netlink_send_ext
str w0, [sp, 44]
ldr w0, [sp, 40]
bl close
ldr w0, [sp, 44]
cmp w0, 0
beq .L91
mov w0, -1
b .L96
.L91:
ldr x0, [sp, 24]
add x0, x0, 80
add x0, x0, 32
str x0, [sp, 48]
b .L92
.L95:
ldr x0, [sp, 48]
ldrh w0, [x0, 2]
cmp w0, 16
bne .L93
ldr x0, [sp, 48]
add x0, x0, 4
ldr w0, [x0]
b .L96
.L93:
ldr w0, [sp, 36]
mov w1, w0
ldr x0, [sp, 48]
ldrh w0, [x0]
add w0, w0, 3
and w0, w0, -4
sub w0, w1, w0
str w0, [sp, 36]
ldr x0, [sp, 48]
ldrh w0, [x0]
add w0, w0, 3
uxtw x0, w0
and x0, x0, 4294967292
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
.L92:
ldr w0, [sp, 36]
cmp w0, 3
ble .L94
ldr x0, [sp, 48]
ldrh w0, [x0]
cmp w0, 3
bls .L94
ldr x0, [sp, 48]
ldrh w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w1, w0
ble .L95
.L94:
mov w0, -1
.L96:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 72]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L97
bl __stack_chk_fail
.L97:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE24:
.size get_ifla_operstate, .-get_ifla_operstate
.align 2
.type await_ifla_operstate, %function
await_ifla_operstate:
.LFB25:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
ldr x0, [sp, 32]
bl if_nametoindex
str w0, [sp, 56]
.L102:
mov w0, 1000
bl usleep
ldr w1, [sp, 56]
ldr x0, [sp, 40]
bl get_ifla_operstate
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L99
ldr w0, [sp, 60]
b .L100
.L99:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
bne .L102
mov w0, 0
.L100:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE25:
.size await_ifla_operstate, .-await_ifla_operstate
.align 2
.type nl80211_setup_ibss_interface, %function
nl80211_setup_ibss_interface:
.LFB26:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str x3, [sp, 24]
str x4, [sp, 16]
ldr x0, [sp, 24]
bl if_nametoindex
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bne .L104
mov w0, -1
b .L105
.L104:
ldr w0, [sp, 56]
mov w4, 1
mov w3, w0
ldr w2, [sp, 32]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl nl80211_set_interface
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L106
mov w0, -1
b .L105
.L106:
mov w1, 1
ldr x0, [sp, 24]
bl set_interface_state
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L107
mov w0, -1
b .L105
.L107:
ldr w0, [sp, 56]
ldr x4, [sp, 16]
mov w3, w0
ldr w2, [sp, 32]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl nl80211_join_ibss
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L108
mov w0, -1
b .L105
.L108:
mov w0, 0
.L105:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE26:
.size nl80211_setup_ibss_interface, .-nl80211_setup_ibss_interface
.align 2
.type hwsim80211_create_device, %function
hwsim80211_create_device:
.LFB27:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str x3, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
add x0, sp, 48
mov x2, 4
mov w1, 0
bl memset
mov w0, 4
strb w0, [sp, 48]
add x0, sp, 48
mov w4, 4
mov x3, x0
mov w2, 0
ldr w1, [sp, 32]
ldr x0, [sp, 40]
bl netlink_init
mov w3, 0
mov x2, 0
mov w1, 14
ldr x0, [sp, 40]
bl netlink_attr
mov w3, 6
ldr x2, [sp, 24]
mov w1, 22
ldr x0, [sp, 40]
bl netlink_attr
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_send
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bge .L110
mov w0, -1
b .L112
.L110:
mov w0, 0
.L112:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L113
bl __stack_chk_fail
.L113:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE27:
.size hwsim80211_create_device, .-hwsim80211_create_device
.section .rodata
.align 3
.LC1:
.string "MAC80211_HWSIM"
.align 3
.LC2:
.string "nl80211"
.text
.align 2
.type initialize_wifi_devices, %function
initialize_wifi_devices:
.LFB28:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 120]
mov x1, 0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
add x0, sp, 88
ldr w2, [x1]
str w2, [x0]
ldrh w1, [x1, 4]
strh w1, [x0, 4]
mov w2, 16
mov w1, 3
mov w0, 16
bl socket
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
blt .L125
adrp x0, .LC1
add x2, x0, :lo12:.LC1
ldr w1, [sp, 36]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_query_family_id
str w0, [sp, 40]
adrp x0, .LC2
add x2, x0, :lo12:.LC2
ldr w1, [sp, 36]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_query_family_id
str w0, [sp, 44]
adrp x0, .LC3
add x1, x0, :lo12:.LC3
add x0, sp, 96
ldr w2, [x1]
str w2, [x0]
ldrh w1, [x1, 4]
strh w1, [x0, 4]
adrp x0, .LC4
add x1, x0, :lo12:.LC4
add x0, sp, 104
ldr w2, [x1]
str w2, [x0]
ldrh w1, [x1, 4]
strh w1, [x0, 4]
mov w0, 2412
str w0, [sp, 56]
mov w0, 1
strb w0, [sp, 60]
add x0, sp, 104
str x0, [sp, 64]
add x0, sp, 96
str x0, [sp, 72]
mov w0, 6
str w0, [sp, 80]
str wzr, [sp, 28]
b .L117
.L120:
ldr w0, [sp, 28]
and w0, w0, 255
strb w0, [sp, 93]
add x0, sp, 88
mov x3, x0
ldr w2, [sp, 40]
ldr w1, [sp, 36]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl hwsim80211_create_device
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bge .L118
mov w0, 1
bl exit
.L118:
adrp x0, .LC5
add x1, x0, :lo12:.LC5
add x0, sp, 112
ldr w2, [x1]
str w2, [x0]
ldrh w1, [x1, 4]
strh w1, [x0, 4]
ldrb w1, [sp, 116]
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w1, w0
and w0, w0, 255
strb w0, [sp, 116]
add x1, sp, 56
add x0, sp, 112
mov x4, x1
mov x3, x0
ldr w2, [sp, 44]
ldr w1, [sp, 36]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl nl80211_setup_ibss_interface
cmp w0, 0
bge .L119
mov w0, 1
bl exit
.L119:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L117:
ldr w0, [sp, 28]
cmp w0, 1
ble .L120
str wzr, [sp, 32]
b .L121
.L123:
adrp x0, .LC5
add x1, x0, :lo12:.LC5
add x0, sp, 112
ldr w2, [x1]
str w2, [x0]
ldrh w1, [x1, 4]
strh w1, [x0, 4]
ldrb w1, [sp, 116]
ldr w0, [sp, 32]
and w0, w0, 255
add w0, w1, w0
and w0, w0, 255
strb w0, [sp, 116]
add x0, sp, 112
mov w2, 6
mov x1, x0
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl await_ifla_operstate
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 0
bge .L122
mov w0, 1
bl exit
.L122:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L121:
ldr w0, [sp, 32]
cmp w0, 1
ble .L123
ldr w0, [sp, 36]
bl close
b .L114
.L125:
nop
.L114:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 120]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L124
bl __stack_chk_fail
.L124:
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE28:
.size initialize_wifi_devices, .-initialize_wifi_devices
.section .rodata
.align 3
.LC0:
.string "\b\002\021"
.string ""
.string ""
.align 3
.LC3:
.ascii "\020\020\020\020\020\020"
.align 3
.LC4:
.ascii "PPPPPP"
.align 3
.LC5:
.string "wlan0"
.text
.section .rodata
.align 3
.LC6:
.string "filter"
.align 3
.LC7:
.string "nat"
.align 3
.LC8:
.string "mangle"
.align 3
.LC9:
.string "raw"
.align 3
.LC10:
.string "security"
.section .data.rel.local,"aw"
.align 3
.type ipv4_tables, %object
.size ipv4_tables, 8640
ipv4_tables:
.xword .LC6
.zero 1720
.xword .LC7
.zero 1720
.xword .LC8
.zero 1720
.xword .LC9
.zero 1720
.xword .LC10
.zero 1720
.align 3
.type ipv6_tables, %object
.size ipv6_tables, 8640
ipv6_tables:
.xword .LC6
.zero 1720
.xword .LC7
.zero 1720
.xword .LC8
.zero 1720
.xword .LC9
.zero 1720
.xword .LC10
.zero 1720
.align 3
.type arpt_tables, %object
.size arpt_tables, 1696
arpt_tables:
.xword .LC6
.zero 1688
.text
.align 2
.type checkpoint_iptables, %function
checkpoint_iptables:
.LFB29:
.cfi_startproc
sub sp, sp, #1664
.cfi_def_cfa_offset 1664
stp x29, x30, [sp]
.cfi_offset 29, -1664
.cfi_offset 30, -1656
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1656]
mov x1, 0
mov w2, 6
mov w1, 1
ldr w0, [sp, 32]
bl socket
str w0, [sp, 68]
ldr w0, [sp, 68]
cmn w0, #1
bne .L127
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L142
cmp w0, 97
beq .L142
mov w0, 1
bl exit
.L127:
str wzr, [sp, 64]
b .L131
.L140:
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 2
sub x0, x0, x1
lsl x0, x0, 6
mov x1, x0
ldr x0, [sp, 40]
add x0, x0, x1
str x0, [sp, 72]
ldr x0, [sp, 72]
add x2, x0, 8
ldr x0, [sp, 72]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcpy
ldr x0, [sp, 72]
add x2, x0, 96
ldr x0, [sp, 72]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcpy
mov w0, 84
str w0, [sp, 60]
ldr x0, [sp, 72]
add x0, x0, 8
add x1, sp, 60
mov x4, x1
mov x3, x0
mov w2, 64
ldr w1, [sp, 28]
ldr w0, [sp, 68]
bl getsockopt
cmp w0, 0
beq .L132
bl __errno_location
ldr w0, [x0]
cmp w0, 2
bgt .L133
cmp w0, 0
bgt .L143
b .L135
.L133:
cmp w0, 92
beq .L143
.L135:
mov w0, 1
bl exit
.L132:
ldr x0, [sp, 72]
ldr w0, [x0, 88]
cmp w0, 1536
bls .L137
mov w0, 1
bl exit
.L137:
ldr x0, [sp, 72]
ldr w0, [x0, 84]
cmp w0, 10
bls .L138
mov w0, 1
bl exit
.L138:
add x0, sp, 80
mov x2, 1576
mov w1, 0
bl memset
ldr x0, [sp, 72]
ldr x1, [x0]
add x0, sp, 80
bl strcpy
ldr x0, [sp, 72]
ldr w0, [x0, 88]
str w0, [sp, 112]
ldr x0, [sp, 72]
ldr w0, [x0, 88]
add w0, w0, 40
str w0, [sp, 60]
add x1, sp, 60
add x0, sp, 80
mov x4, x1
mov x3, x0
mov w2, 65
ldr w1, [sp, 28]
ldr w0, [sp, 68]
bl getsockopt
cmp w0, 0
beq .L139
mov w0, 1
bl exit
.L139:
ldr x0, [sp, 72]
ldr w1, [x0, 40]
ldr x0, [sp, 72]
str w1, [x0, 128]
ldr x0, [sp, 72]
ldr w1, [x0, 84]
ldr x0, [sp, 72]
str w1, [x0, 132]
ldr x0, [sp, 72]
ldr w1, [x0, 88]
ldr x0, [sp, 72]
str w1, [x0, 136]
ldr x0, [sp, 72]
add x3, x0, 140
ldr x0, [sp, 72]
add x0, x0, 44
mov x2, 20
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 72]
add x3, x0, 160
ldr x0, [sp, 72]
add x0, x0, 64
mov x2, 20
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 72]
add x3, x0, 192
ldr x0, [sp, 72]
ldr w0, [x0, 88]
uxtw x1, w0
add x0, sp, 80
add x0, x0, 40
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
b .L136
.L143:
nop
.L136:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L131:
ldr w1, [sp, 64]
ldr w0, [sp, 36]
cmp w1, w0
blt .L140
ldr w0, [sp, 68]
bl close
b .L126
.L142:
nop
.L126:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1656]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L141
bl __stack_chk_fail
.L141:
ldp x29, x30, [sp]
add sp, sp, 1664
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE29:
.size checkpoint_iptables, .-checkpoint_iptables
.align 2
.type reset_iptables, %function
reset_iptables:
.LFB30:
.cfi_startproc
sub sp, sp, #1744
.cfi_def_cfa_offset 1744
stp x29, x30, [sp]
.cfi_offset 29, -1744
.cfi_offset 30, -1736
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1736]
mov x1, 0
mov w2, 6
mov w1, 1
ldr w0, [sp, 32]
bl socket
str w0, [sp, 60]
ldr w0, [sp, 60]
cmn w0, #1
bne .L145
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L160
cmp w0, 97
beq .L160
mov w0, 1
bl exit
.L145:
str wzr, [sp, 56]
b .L149
.L158:
ldrsw x1, [sp, 56]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 2
sub x0, x0, x1
lsl x0, x0, 6
mov x1, x0
ldr x0, [sp, 40]
add x0, x0, x1
str x0, [sp, 64]
ldr x0, [sp, 64]
ldr w0, [x0, 40]
cmp w0, 0
beq .L161
add x0, sp, 72
mov x2, 84
mov w1, 0
bl memset
ldr x0, [sp, 64]
ldr x1, [x0]
add x0, sp, 72
bl strcpy
mov w0, 84
str w0, [sp, 52]
add x1, sp, 52
add x0, sp, 72
mov x4, x1
mov x3, x0
mov w2, 64
ldr w1, [sp, 28]
ldr w0, [sp, 60]
bl getsockopt
cmp w0, 0
beq .L152
mov w0, 1
bl exit
.L152:
ldr x0, [sp, 64]
add x0, x0, 8
add x1, sp, 72
mov x2, 84
bl memcmp
cmp w0, 0
bne .L153
add x0, sp, 160
mov x2, 1576
mov w1, 0
bl memset
ldr x0, [sp, 64]
ldr x1, [x0]
add x0, sp, 160
bl strcpy
ldr x0, [sp, 64]
ldr w0, [x0, 88]
str w0, [sp, 192]
ldr w0, [sp, 192]
add w0, w0, 40
str w0, [sp, 52]
add x1, sp, 52
add x0, sp, 160
mov x4, x1
mov x3, x0
mov w2, 65
ldr w1, [sp, 28]
ldr w0, [sp, 60]
bl getsockopt
cmp w0, 0
beq .L154
mov w0, 1
bl exit
.L154:
ldr x0, [sp, 64]
add x3, x0, 192
ldr x0, [sp, 64]
ldr w0, [x0, 88]
uxtw x1, w0
add x0, sp, 160
add x0, x0, 40
mov x2, x1
mov x1, x0
mov x0, x3
bl memcmp
cmp w0, 0
beq .L162
.L153:
ldr w1, [sp, 148]
ldr x0, [sp, 64]
str w1, [x0, 180]
ldr x0, [sp, 64]
add x1, sp, 160
str x1, [x0, 184]
ldr x0, [sp, 64]
ldr w0, [x0, 136]
add w0, w0, 96
str w0, [sp, 52]
ldr x0, [sp, 64]
add x0, x0, 96
ldr w1, [sp, 52]
mov w4, w1
mov x3, x0
mov w2, 64
ldr w1, [sp, 28]
ldr w0, [sp, 60]
bl setsockopt
cmp w0, 0
beq .L157
mov w0, 1
bl exit
.L161:
nop
b .L157
.L162:
nop
.L157:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L149:
ldr w1, [sp, 56]
ldr w0, [sp, 36]
cmp w1, w0
blt .L158
ldr w0, [sp, 60]
bl close
b .L144
.L160:
nop
.L144:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1736]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L159
bl __stack_chk_fail
.L159:
ldp x29, x30, [sp]
add sp, sp, 1744
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE30:
.size reset_iptables, .-reset_iptables
.align 2
.type checkpoint_arptables, %function
checkpoint_arptables:
.LFB31:
.cfi_startproc
sub sp, sp, #1632
.cfi_def_cfa_offset 1632
stp x29, x30, [sp]
.cfi_offset 29, -1632
.cfi_offset 30, -1624
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1624]
mov x1, 0
mov w2, 6
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
bne .L164
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L179
cmp w0, 97
beq .L179
mov w0, 1
bl exit
.L164:
str wzr, [sp, 32]
b .L168
.L177:
ldr w1, [sp, 32]
mov x0, 1696
mul x1, x1, x0
adrp x0, arpt_tables
add x0, x0, :lo12:arpt_tables
add x0, x1, x0
str x0, [sp, 40]
ldr x0, [sp, 40]
add x2, x0, 8
ldr x0, [sp, 40]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcpy
ldr x0, [sp, 40]
add x2, x0, 80
ldr x0, [sp, 40]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcpy
mov w0, 68
str w0, [sp, 28]
ldr x0, [sp, 40]
add x0, x0, 8
add x1, sp, 28
mov x4, x1
mov x3, x0
mov w2, 96
mov w1, 0
ldr w0, [sp, 36]
bl getsockopt
cmp w0, 0
beq .L169
bl __errno_location
ldr w0, [x0]
cmp w0, 2
bgt .L170
cmp w0, 0
bgt .L180
b .L172
.L170:
cmp w0, 92
beq .L180
.L172:
mov w0, 1
bl exit
.L169:
ldr x0, [sp, 40]
ldr w0, [x0, 72]
cmp w0, 1536
bls .L174
mov w0, 1
bl exit
.L174:
ldr x0, [sp, 40]
ldr w0, [x0, 68]
cmp w0, 10
bls .L175
mov w0, 1
bl exit
.L175:
add x0, sp, 48
mov x2, 1576
mov w1, 0
bl memset
ldr x0, [sp, 40]
ldr x1, [x0]
add x0, sp, 48
bl strcpy
ldr x0, [sp, 40]
ldr w0, [x0, 72]
str w0, [sp, 80]
ldr x0, [sp, 40]
ldr w0, [x0, 72]
add w0, w0, 40
str w0, [sp, 28]
add x1, sp, 28
add x0, sp, 48
mov x4, x1
mov x3, x0
mov w2, 97
mov w1, 0
ldr w0, [sp, 36]
bl getsockopt
cmp w0, 0
beq .L176
mov w0, 1
bl exit
.L176:
ldr x0, [sp, 40]
ldr w1, [x0, 40]
ldr x0, [sp, 40]
str w1, [x0, 112]
ldr x0, [sp, 40]
ldr w1, [x0, 68]
ldr x0, [sp, 40]
str w1, [x0, 116]
ldr x0, [sp, 40]
ldr w1, [x0, 72]
ldr x0, [sp, 40]
str w1, [x0, 120]
ldr x0, [sp, 40]
add x3, x0, 124
ldr x0, [sp, 40]
add x0, x0, 44
mov x2, 12
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 40]
add x3, x0, 136
ldr x0, [sp, 40]
add x0, x0, 56
mov x2, 12
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 40]
add x3, x0, 160
ldr x0, [sp, 40]
ldr w0, [x0, 72]
uxtw x1, w0
add x0, sp, 48
add x0, x0, 40
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
b .L173
.L180:
nop
.L173:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L168:
ldr w0, [sp, 32]
cmp w0, 0
beq .L177
ldr w0, [sp, 36]
bl close
b .L163
.L179:
nop
.L163:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1624]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L178
bl __stack_chk_fail
.L178:
ldp x29, x30, [sp]
add sp, sp, 1632
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE31:
.size checkpoint_arptables, .-checkpoint_arptables
.align 2
.type reset_arptables, %function
reset_arptables:
.LFB32:
.cfi_startproc
sub sp, sp, #1696
.cfi_def_cfa_offset 1696
stp x29, x30, [sp]
.cfi_offset 29, -1696
.cfi_offset 30, -1688
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1688]
mov x1, 0
mov w2, 6
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 28]
ldr w0, [sp, 28]
cmn w0, #1
bne .L182
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L197
cmp w0, 97
beq .L197
mov w0, 1
bl exit
.L182:
str wzr, [sp, 24]
b .L186
.L195:
ldr w1, [sp, 24]
mov x0, 1696
mul x1, x1, x0
adrp x0, arpt_tables
add x0, x0, :lo12:arpt_tables
add x0, x1, x0
str x0, [sp, 32]
ldr x0, [sp, 32]
ldr w0, [x0, 40]
cmp w0, 0
beq .L198
add x0, sp, 40
mov x2, 68
mov w1, 0
bl memset
ldr x0, [sp, 32]
ldr x1, [x0]
add x0, sp, 40
bl strcpy
mov w0, 68
str w0, [sp, 20]
add x1, sp, 20
add x0, sp, 40
mov x4, x1
mov x3, x0
mov w2, 96
mov w1, 0
ldr w0, [sp, 28]
bl getsockopt
cmp w0, 0
beq .L189
mov w0, 1
bl exit
.L189:
ldr x0, [sp, 32]
add x0, x0, 8
add x1, sp, 40
mov x2, 68
bl memcmp
cmp w0, 0
bne .L190
add x0, sp, 112
mov x2, 1576
mov w1, 0
bl memset
ldr x0, [sp, 32]
ldr x1, [x0]
add x0, sp, 112
bl strcpy
ldr x0, [sp, 32]
ldr w0, [x0, 72]
str w0, [sp, 144]
ldr w0, [sp, 144]
add w0, w0, 40
str w0, [sp, 20]
add x1, sp, 20
add x0, sp, 112
mov x4, x1
mov x3, x0
mov w2, 97
mov w1, 0
ldr w0, [sp, 28]
bl getsockopt
cmp w0, 0
beq .L191
mov w0, 1
bl exit
.L191:
ldr x0, [sp, 32]
add x3, x0, 160
ldr x0, [sp, 32]
ldr w0, [x0, 72]
uxtw x1, w0
add x0, sp, 112
add x0, x0, 40
mov x2, x1
mov x1, x0
mov x0, x3
bl memcmp
cmp w0, 0
beq .L199
.L190:
ldr w1, [sp, 100]
ldr x0, [sp, 32]
str w1, [x0, 148]
ldr x0, [sp, 32]
add x1, sp, 112
str x1, [x0, 152]
ldr x0, [sp, 32]
ldr w0, [x0, 120]
add w0, w0, 80
str w0, [sp, 20]
ldr x0, [sp, 32]
add x0, x0, 80
ldr w1, [sp, 20]
mov w4, w1
mov x3, x0
mov w2, 96
mov w1, 0
ldr w0, [sp, 28]
bl setsockopt
cmp w0, 0
beq .L194
mov w0, 1
bl exit
.L198:
nop
b .L194
.L199:
nop
.L194:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L186:
ldr w0, [sp, 24]
cmp w0, 0
beq .L195
ldr w0, [sp, 28]
bl close
b .L181
.L197:
nop
.L181:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1688]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L196
bl __stack_chk_fail
.L196:
ldp x29, x30, [sp]
add sp, sp, 1696
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE32:
.size reset_arptables, .-reset_arptables
.section .rodata
.align 3
.LC11:
.string "broute"
.section .data.rel.local
.align 3
.type ebt_tables, %object
.size ebt_tables, 4992
ebt_tables:
.xword .LC6
.zero 1656
.xword .LC7
.zero 1656
.xword .LC11
.zero 1656
.text
.align 2
.type checkpoint_ebtables, %function
checkpoint_ebtables:
.LFB33:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
mov w2, 6
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
bne .L201
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L215
cmp w0, 97
beq .L215
mov w0, 1
bl exit
.L201:
str xzr, [sp, 24]
b .L205
.L213:
ldr x1, [sp, 24]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 7
adrp x1, ebt_tables
add x1, x1, :lo12:ebt_tables
add x0, x0, x1
str x0, [sp, 32]
ldr x0, [sp, 32]
add x2, x0, 8
ldr x0, [sp, 32]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcpy
mov w0, 120
str w0, [sp, 16]
ldr x0, [sp, 32]
add x0, x0, 8
add x1, sp, 16
mov x4, x1
mov x3, x0
mov w2, 130
mov w1, 0
ldr w0, [sp, 20]
bl getsockopt
cmp w0, 0
beq .L206
bl __errno_location
ldr w0, [x0]
cmp w0, 2
bgt .L207
cmp w0, 0
bgt .L216
b .L209
.L207:
cmp w0, 92
beq .L216
.L209:
mov w0, 1
bl exit
.L206:
ldr x0, [sp, 32]
ldr w0, [x0, 48]
cmp w0, 1536
bls .L211
mov w0, 1
bl exit
.L211:
ldr x0, [sp, 32]
str wzr, [x0, 104]
ldr x0, [sp, 32]
add x1, x0, 128
ldr x0, [sp, 32]
str x1, [x0, 120]
ldr x0, [sp, 32]
ldr w0, [x0, 48]
add w0, w0, 120
str w0, [sp, 16]
ldr x0, [sp, 32]
add x0, x0, 8
add x1, sp, 16
mov x4, x1
mov x3, x0
mov w2, 131
mov w1, 0
ldr w0, [sp, 20]
bl getsockopt
cmp w0, 0
beq .L210
mov w0, 1
bl exit
.L216:
nop
.L210:
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
.L205:
ldr x0, [sp, 24]
cmp x0, 2
bls .L213
ldr w0, [sp, 20]
bl close
b .L200
.L215:
nop
.L200:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L214
bl __stack_chk_fail
.L214:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE33:
.size checkpoint_ebtables, .-checkpoint_ebtables
.align 2
.type reset_ebtables, %function
reset_ebtables:
.LFB34:
.cfi_startproc
sub sp, sp, #1712
.cfi_def_cfa_offset 1712
stp x29, x30, [sp]
.cfi_offset 29, -1712
.cfi_offset 30, -1704
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1704]
mov x1, 0
mov w2, 6
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
bne .L218
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L238
cmp w0, 97
beq .L238
mov w0, 1
bl exit
.L218:
str wzr, [sp, 20]
b .L222
.L236:
ldr w1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 7
adrp x1, ebt_tables
add x1, x1, :lo12:ebt_tables
add x0, x0, x1
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0, 40]
cmp w0, 0
beq .L239
add x0, sp, 48
mov x2, 120
mov w1, 0
bl memset
ldr x0, [sp, 40]
ldr x1, [x0]
add x0, sp, 48
bl strcpy
mov w0, 120
str w0, [sp, 16]
add x1, sp, 16
add x0, sp, 48
mov x4, x1
mov x3, x0
mov w2, 128
mov w1, 0
ldr w0, [sp, 36]
bl getsockopt
cmp w0, 0
beq .L225
mov w0, 1
bl exit
.L225:
str wzr, [sp, 144]
ldr x0, [sp, 40]
str xzr, [x0, 120]
str wzr, [sp, 24]
b .L226
.L227:
ldr x1, [sp, 40]
ldr w0, [sp, 24]
add x0, x0, 6
lsl x0, x0, 3
add x0, x1, x0
str xzr, [x0, 8]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L226:
ldr w0, [sp, 24]
cmp w0, 5
bls .L227
ldr x0, [sp, 40]
add x0, x0, 8
add x1, sp, 48
mov x2, 120
bl memcmp
cmp w0, 0
bne .L228
add x0, sp, 168
mov x2, 1536
mov w1, 0
bl memset
add x0, sp, 168
str x0, [sp, 160]
ldr w0, [sp, 88]
add w0, w0, 120
str w0, [sp, 16]
add x1, sp, 16
add x0, sp, 48
mov x4, x1
mov x3, x0
mov w2, 129
mov w1, 0
ldr w0, [sp, 36]
bl getsockopt
cmp w0, 0
beq .L229
mov w0, 1
bl exit
.L229:
ldr x0, [sp, 40]
add x0, x0, 128
ldr w1, [sp, 88]
uxtw x2, w1
add x1, sp, 168
bl memcmp
cmp w0, 0
beq .L240
.L228:
str wzr, [sp, 28]
str wzr, [sp, 32]
b .L231
.L233:
ldr x0, [sp, 40]
ldr w0, [x0, 40]
ldr w1, [sp, 32]
mov w2, 1
lsl w1, w2, w1
and w0, w0, w1
cmp w0, 0
beq .L232
ldr x0, [sp, 40]
add x2, x0, 128
ldr w1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x1, x2, x0
ldr x2, [sp, 40]
ldr w0, [sp, 32]
add x0, x0, 6
lsl x0, x0, 3
add x0, x2, x0
str x1, [x0, 8]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L232:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L231:
ldr w0, [sp, 32]
cmp w0, 5
bls .L233
ldr x0, [sp, 40]
add x1, x0, 128
ldr x0, [sp, 40]
str x1, [x0, 120]
ldr x0, [sp, 40]
ldr w0, [x0, 48]
add w0, w0, 120
str w0, [sp, 16]
ldr x0, [sp, 40]
add x0, x0, 8
ldr w1, [sp, 16]
mov w4, w1
mov x3, x0
mov w2, 128
mov w1, 0
ldr w0, [sp, 36]
bl setsockopt
cmp w0, 0
beq .L235
mov w0, 1
bl exit
.L239:
nop
b .L235
.L240:
nop
.L235:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L222:
ldr w0, [sp, 20]
cmp w0, 2
bls .L236
ldr w0, [sp, 36]
bl close
b .L217
.L238:
nop
.L217:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1704]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L237
bl __stack_chk_fail
.L237:
ldp x29, x30, [sp]
add sp, sp, 1712
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE34:
.size reset_ebtables, .-reset_ebtables
.align 2
.type checkpoint_net_namespace, %function
checkpoint_net_namespace:
.LFB35:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl checkpoint_ebtables
bl checkpoint_arptables
mov w3, 0
mov w2, 2
mov w1, 5
adrp x0, ipv4_tables
add x0, x0, :lo12:ipv4_tables
bl checkpoint_iptables
mov w3, 41
mov w2, 10
mov w1, 5
adrp x0, ipv6_tables
add x0, x0, :lo12:ipv6_tables
bl checkpoint_iptables
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE35:
.size checkpoint_net_namespace, .-checkpoint_net_namespace
.align 2
.type reset_net_namespace, %function
reset_net_namespace:
.LFB36:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl reset_ebtables
bl reset_arptables
mov w3, 0
mov w2, 2
mov w1, 5
adrp x0, ipv4_tables
add x0, x0, :lo12:ipv4_tables
bl reset_iptables
mov w3, 41
mov w2, 10
mov w1, 5
adrp x0, ipv6_tables
add x0, x0, :lo12:ipv6_tables
bl reset_iptables
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE36:
.size reset_net_namespace, .-reset_net_namespace
.section .rodata
.align 3
.LC12:
.string "fusectl"
.align 3
.LC13:
.string "/sys/fs/fuse/connections"
.text
.align 2
.type setup_common, %function
setup_common:
.LFB37:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov x4, 0
mov x3, 0
adrp x0, .LC12
add x2, x0, :lo12:.LC12
adrp x0, .LC13
add x1, x0, :lo12:.LC13
mov x0, 0
bl mount
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE37:
.size setup_common, .-setup_common
.section .rodata
.align 3
.LC14:
.string "/"
.text
.align 2
.type sandbox_common, %function
sandbox_common:
.LFB38:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
mov w4, 0
mov w3, 0
mov w2, 0
mov w1, 9
mov w0, 1
bl prctl
bl setsid
mov x0, 209715200
str x0, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 9
bl setrlimit
mov x0, 33554432
str x0, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 8
bl setrlimit
mov x0, 142606336
str x0, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 1
bl setrlimit
mov x0, 1048576
str x0, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 3
bl setrlimit
str xzr, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 4
bl setrlimit
mov x0, 256
str x0, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 7
bl setrlimit
mov w0, 131072
bl unshare
mov x4, 0
mov x3, 16384
movk x3, 0x4, lsl 16
mov x2, 0
adrp x0, .LC14
add x1, x0, :lo12:.LC14
mov x0, 0
bl mount
mov w0, 134217728
bl unshare
mov w0, 33554432
bl unshare
mov w0, 67108864
bl unshare
mov w0, 262144
bl unshare
str wzr, [sp, 20]
b .L245
.L246:
adrp x0, sysctls.0
add x1, x0, :lo12:sysctls.0
ldr w0, [sp, 20]
lsl x0, x0, 4
add x0, x1, x0
ldr x2, [x0]
adrp x0, sysctls.0
add x1, x0, :lo12:sysctls.0
ldr w0, [sp, 20]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
mov x1, x0
mov x0, x2
bl write_file
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L245:
ldr w0, [sp, 20]
cmp w0, 6
bls .L246
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L247
bl __stack_chk_fail
.L247:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE38:
.size sandbox_common, .-sandbox_common
.align 2
.type wait_for_loop, %function
wait_for_loop:
.LFB39:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
ldr w0, [sp, 28]
cmp w0, 0
bge .L249
mov w0, 1
bl exit
.L249:
str wzr, [sp, 36]
nop
.L250:
add x0, sp, 36
mov w2, 1073741824
mov x1, x0
mov w0, -1
bl waitpid
mov w1, w0
ldr w0, [sp, 28]
cmp w0, w1
bne .L250
ldr w0, [sp, 36]
asr w0, w0, 8
and w0, w0, 255
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L252
bl __stack_chk_fail
.L252:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE39:
.size wait_for_loop, .-wait_for_loop
.align 2
.type drop_caps, %function
drop_caps:
.LFB40:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
str xzr, [sp, 24]
stp xzr, xzr, [sp, 32]
str xzr, [sp, 48]
mov w0, 1314
movk w0, 0x2008, lsl 16
str w0, [sp, 24]
bl getpid
str w0, [sp, 28]
add x1, sp, 32
add x0, sp, 24
mov x2, x1
mov x1, x0
mov x0, 90
bl syscall
cmp x0, 0
beq .L254
mov w0, 1
bl exit
.L254:
mov w0, 8912896
str w0, [sp, 20]
ldr w1, [sp, 32]
ldr w0, [sp, 20]
mvn w0, w0
and w0, w1, w0
str w0, [sp, 32]
ldr w1, [sp, 36]
ldr w0, [sp, 20]
mvn w0, w0
and w0, w1, w0
str w0, [sp, 36]
ldr w1, [sp, 40]
ldr w0, [sp, 20]
mvn w0, w0
and w0, w1, w0
str w0, [sp, 40]
add x1, sp, 32
add x0, sp, 24
mov x2, x1
mov x1, x0
mov x0, 91
bl syscall
cmp x0, 0
beq .L257
mov w0, 1
bl exit
.L257:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L256
bl __stack_chk_fail
.L256:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE40:
.size drop_caps, .-drop_caps
.align 2
.type do_sandbox_none, %function
do_sandbox_none:
.LFB41:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w0, 536870912
bl unshare
bl fork
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
beq .L259
ldr w0, [sp, 28]
bl wait_for_loop
b .L261
.L259:
bl setup_common
bl sandbox_common
bl drop_caps
mov w0, 1073741824
bl unshare
bl initialize_wifi_devices
bl loop
mov w0, 1
bl exit
.L261:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE41:
.size do_sandbox_none, .-do_sandbox_none
.section .rodata
.align 3
.LC15:
.string "."
.align 3
.LC16:
.string ".."
.align 3
.LC17:
.string "/sys/fs/fuse/connections/%s/abort"
.text
.align 2
.type kill_and_wait, %function
kill_and_wait:
.LFB42:
.cfi_startproc
stp x29, x30, [sp, -368]!
.cfi_def_cfa_offset 368
.cfi_offset 29, -368
.cfi_offset 30, -360
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 360]
mov x1, 0
ldr w0, [sp, 28]
neg w0, w0
mov w1, 9
bl kill
mov w1, 9
ldr w0, [sp, 28]
bl kill
str wzr, [sp, 32]
b .L263
.L266:
mov w2, 1
movk w2, 0x4000, lsl 16
ldr x1, [sp, 16]
mov w0, -1
bl waitpid
mov w1, w0
ldr w0, [sp, 28]
cmp w0, w1
beq .L277
mov w0, 1000
bl usleep
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L263:
ldr w0, [sp, 32]
cmp w0, 99
ble .L266
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl opendir
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L280
.L274:
ldr x0, [sp, 40]
bl readdir
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
bne .L268
ldr x0, [sp, 40]
bl closedir
b .L280
.L268:
ldr x0, [sp, 48]
add x2, x0, 19
adrp x0, .LC15
add x1, x0, :lo12:.LC15
mov x0, x2
bl strcmp
cmp w0, 0
beq .L278
ldr x0, [sp, 48]
add x2, x0, 19
adrp x0, .LC16
add x1, x0, :lo12:.LC16
mov x0, x2
bl strcmp
cmp w0, 0
beq .L278
ldr x0, [sp, 48]
add x0, x0, 19
add x4, sp, 56
mov x3, x0
adrp x0, .LC17
add x2, x0, :lo12:.LC17
mov x1, 300
mov x0, x4
bl snprintf
add x0, sp, 56
mov w1, 1
bl open
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
beq .L279
add x0, sp, 56
mov x2, 1
mov x1, x0
ldr w0, [sp, 36]
bl write
ldr w0, [sp, 36]
bl close
b .L274
.L278:
nop
b .L274
.L279:
nop
b .L274
.L280:
nop
.L275:
mov w2, 1073741824
ldr x1, [sp, 16]
mov w0, -1
bl waitpid
mov w1, w0
ldr w0, [sp, 28]
cmp w0, w1
bne .L275
b .L262
.L277:
nop
.L262:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 360]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L276
bl __stack_chk_fail
.L276:
ldp x29, x30, [sp], 368
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE42:
.size kill_and_wait, .-kill_and_wait
.align 2
.type setup_loop, %function
setup_loop:
.LFB43:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl checkpoint_net_namespace
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE43:
.size setup_loop, .-setup_loop
.align 2
.type reset_loop, %function
reset_loop:
.LFB44:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl reset_net_namespace
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE44:
.size reset_loop, .-reset_loop
.section .rodata
.align 3
.LC18:
.string "1000"
.align 3
.LC19:
.string "/proc/self/oom_score_adj"
.text
.align 2
.type setup_test, %function
setup_test:
.LFB45:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w4, 0
mov w3, 0
mov w2, 0
mov w1, 9
mov w0, 1
bl prctl
bl setpgrp
adrp x0, .LC18
add x1, x0, :lo12:.LC18
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl write_file
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE45:
.size setup_test, .-setup_test
.align 2
.type close_fds, %function
close_fds:
.LFB46:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w0, 3
str w0, [sp, 28]
b .L285
.L286:
ldr w0, [sp, 28]
bl close
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L285:
ldr w0, [sp, 28]
cmp w0, 29
ble .L286
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE46:
.size close_fds, .-close_fds
.local threads
.comm threads,256,8
.local running
.comm running,4,4
.global __aarch64_ldadd4_relax
.align 2
.type thr, %function
thr:
.LFB47:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
str x0, [sp, 40]
.L288:
ldr x0, [sp, 40]
add x0, x0, 8
bl event_wait
ldr x0, [sp, 40]
add x0, x0, 8
bl event_reset
ldr x0, [sp, 40]
ldr w0, [x0, 4]
bl execute_call
adrp x0, running
add x1, x0, :lo12:running
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_relax
ldr x0, [sp, 40]
add x0, x0, 12
bl event_set
b .L288
.cfi_endproc
.LFE47:
.size thr, .-thr
.align 2
.type execute_one, %function
execute_one:
.LFB48:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str wzr, [sp, 36]
.L290:
str wzr, [sp, 28]
b .L291
.L299:
str wzr, [sp, 32]
b .L292
.L298:
ldrsw x0, [sp, 32]
lsl x1, x0, 4
adrp x0, threads
add x0, x0, :lo12:threads
add x0, x1, x0
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 0
bne .L293
ldr x0, [sp, 40]
mov w1, 1
str w1, [x0]
ldr x0, [sp, 40]
add x0, x0, 8
bl event_init
ldr x0, [sp, 40]
add x0, x0, 12
bl event_init
ldr x0, [sp, 40]
add x0, x0, 12
bl event_set
ldr x1, [sp, 40]
adrp x0, thr
add x0, x0, :lo12:thr
bl thread_start
.L293:
ldr x0, [sp, 40]
add x0, x0, 12
bl event_isset
cmp w0, 0
beq .L305
ldr x0, [sp, 40]
add x0, x0, 12
bl event_reset
ldr x0, [sp, 40]
ldr w1, [sp, 28]
str w1, [x0, 4]
adrp x0, running
add x0, x0, :lo12:running
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_relax
ldr x0, [sp, 40]
add x0, x0, 8
bl event_set
ldr w0, [sp, 36]
cmp w0, 0
beq .L296
ldr w0, [sp, 28]
and w0, w0, 1
cmp w0, 0
beq .L306
.L296:
ldr x0, [sp, 40]
add x0, x0, 12
mov x1, 45
bl event_timedwait
b .L297
.L305:
nop
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L292:
ldr w0, [sp, 32]
cmp w0, 15
ble .L298
b .L297
.L306:
nop
.L297:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L291:
ldr w0, [sp, 28]
cmp w0, 5
ble .L299
str wzr, [sp, 24]
b .L300
.L302:
mov x0, 1
bl sleep_ms
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L300:
ldr w0, [sp, 24]
cmp w0, 99
bgt .L301
adrp x0, running
add x0, x0, :lo12:running
ldr w0, [x0]
cmp w0, 0
bne .L302
.L301:
bl close_fds
ldr w0, [sp, 36]
cmp w0, 0
bne .L307
mov w0, 1
str w0, [sp, 36]
b .L290
.L307:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE48:
.size execute_one, .-execute_one
.align 2
.type loop, %function
loop:
.LFB49:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
bl setup_loop
str wzr, [sp, 24]
.L316:
bl reset_loop
bl fork
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
bge .L309
mov w0, 1
bl exit
.L309:
ldr w0, [sp, 28]
cmp w0, 0
bne .L310
bl setup_test
bl execute_one
mov w0, 0
bl exit
.L310:
str wzr, [sp, 20]
bl current_time_ms
str x0, [sp, 32]
.L315:
add x0, sp, 20
mov w2, 1
movk w2, 0x4000, lsl 16
mov x1, x0
mov w0, -1
bl waitpid
mov w1, w0
ldr w0, [sp, 28]
cmp w0, w1
beq .L319
mov x0, 1
bl sleep_ms
bl current_time_ms
mov x1, x0
ldr x0, [sp, 32]
sub x1, x1, x0
mov x0, 4999
cmp x1, x0
bls .L320
add x0, sp, 20
mov x1, x0
ldr w0, [sp, 28]
bl kill_and_wait
b .L312
.L320:
nop
b .L315
.L319:
nop
.L312:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
b .L316
.cfi_endproc
.LFE49:
.size loop, .-loop
.global r
.data
.align 3
.type r, %object
.size r, 16
r:
.xword -1
.xword -1
.text
.align 2
.type execute_call, %function
execute_call:
.LFB50:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str xzr, [sp, 40]
ldr w0, [sp, 28]
cmp w0, 5
beq .L322
ldr w0, [sp, 28]
cmp w0, 5
bgt .L331
ldr w0, [sp, 28]
cmp w0, 4
beq .L324
ldr w0, [sp, 28]
cmp w0, 4
bgt .L331
ldr w0, [sp, 28]
cmp w0, 3
beq .L325
ldr w0, [sp, 28]
cmp w0, 3
bgt .L331
ldr w0, [sp, 28]
cmp w0, 2
beq .L326
ldr w0, [sp, 28]
cmp w0, 2
bgt .L331
ldr w0, [sp, 28]
cmp w0, 0
beq .L327
ldr w0, [sp, 28]
cmp w0, 1
beq .L328
b .L331
.L327:
mov x0, 53248
movk x0, 0x2001, lsl 16
mov w1, 1
str w1, [x0]
mov x0, 53252
movk x0, 0x2001, lsl 16
mov w1, 112
str w1, [x0]
mov x0, 53256
movk x0, 0x2001, lsl 16
strb wzr, [x0]
mov x0, 53257
movk x0, 0x2001, lsl 16
strb wzr, [x0]
mov x0, 53258
movk x0, 0x2001, lsl 16
strb wzr, [x0]
mov x0, 53259
movk x0, 0x2001, lsl 16
strb wzr, [x0]
mov x0, 53260
movk x0, 0x2001, lsl 16
str wzr, [x0]
mov x0, 53264
movk x0, 0x2001, lsl 16
mov x1, 1023
str x1, [x0]
mov x0, 53272
movk x0, 0x2001, lsl 16
str xzr, [x0]
mov x0, 53280
movk x0, 0x2001, lsl 16
str xzr, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -2
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -3
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -5
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -9
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -17
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -33
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -65
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -129
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -257
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -513
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -1025
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -2049
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -4097
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -8193
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -16385
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -98305
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -131073
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -262145
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -524289
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -1048577
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -2097153
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -4194305
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -8388609
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -16777217
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -33554433
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -67108865
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -134217729
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, -268435457
str x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
ldr x1, [x0]
mov x0, 53288
movk x0, 0x2001, lsl 16
and x1, x1, 536870911
str x1, [x0]
mov x0, 53296
movk x0, 0x2001, lsl 16
mov w1, -2
str w1, [x0]
mov x0, 53300
movk x0, 0x2001, lsl 16
str wzr, [x0]
mov x0, 53304
movk x0, 0x2001, lsl 16
str xzr, [x0]
mov x0, 53312
movk x0, 0x2001, lsl 16
str xzr, [x0]
mov x0, 53320
movk x0, 0x2001, lsl 16
str xzr, [x0]
mov x0, 53328
movk x0, 0x2001, lsl 16
str xzr, [x0]
mov x0, 53336
movk x0, 0x2001, lsl 16
str wzr, [x0]
mov x0, 53340
movk x0, 0x2001, lsl 16
str wzr, [x0]
mov x0, 53344
movk x0, 0x2001, lsl 16
str xzr, [x0]
mov x0, 53352
movk x0, 0x2001, lsl 16
str wzr, [x0]
mov x0, 53356
movk x0, 0x2001, lsl 16
strh wzr, [x0]
mov x0, 53358
movk x0, 0x2001, lsl 16
strh wzr, [x0]
mov x5, 0
mov w4, -1
mov x3, -1
mov w2, 0
mov x1, 53248
movk x1, 0x2001, lsl 16
mov x0, 241
bl syscall
str x0, [sp, 40]
ldr x0, [sp, 40]
cmn x0, #1
beq .L332
ldr x1, [sp, 40]
adrp x0, r
add x0, x0, :lo12:r
str x1, [x0]
b .L332
.L328:
mov w3, 0
mov x2, 1
mov x1, 10
mov x0, 198
bl syscall
str x0, [sp, 40]
ldr x0, [sp, 40]
cmn x0, #1
beq .L333
ldr x1, [sp, 40]
adrp x0, r
add x0, x0, :lo12:r
str x1, [x0, 8]
b .L333
.L326:
adrp x0, r
add x0, x0, :lo12:r
ldr x0, [x0, 8]
mov w2, 0
mov x1, x0
mov x0, 201
bl syscall
b .L323
.L325:
adrp x0, r
add x0, x0, :lo12:r
ldr x0, [x0]
mov x6, 0
mov x5, x0
mov x4, 17
mov x3, 0
mov x2, 12288
mov x1, 49152
movk x1, 0x20ff, lsl 16
mov x0, 222
bl syscall
b .L323
.L324:
mov x4, 0
mov w3, 0
mov x2, 5
mov x1, 1
mov x0, 199
bl syscall
b .L323
.L322:
mov x4, 0
mov x3, 0
mov x2, 0
mov x1, -100
mov x0, 56
bl syscall
b .L323
.L332:
nop
b .L331
.L333:
nop
.L323:
.L331:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE50:
.size execute_call, .-execute_call
.align 2
.global main
.type main, %function
main:
.LFB51:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov x6, 0
mov w5, -1
mov x4, 50
mov x3, 0
mov x2, 4096
mov x1, 536866816
mov x0, 222
bl syscall
mov x6, 0
mov w5, -1
mov x4, 50
mov x3, 7
mov x2, 16777216
mov x1, 536870912
mov x0, 222
bl syscall
mov x6, 0
mov w5, -1
mov x4, 50
mov x3, 0
mov x2, 4096
mov x1, 553648128
mov x0, 222
bl syscall
adrp x0, procid
add x0, x0, :lo12:procid
str xzr, [x0]
b .L335
.L337:
bl fork
cmp w0, 0
bne .L336
bl do_sandbox_none
.L336:
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x1, x0, 1
adrp x0, procid
add x0, x0, :lo12:procid
str x1, [x0]
.L335:
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
cmp x0, 5
bls .L337
mov w0, 16960
movk w0, 0xf, lsl 16
bl sleep
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE51:
.size main, .-main
.section .rodata
.align 3
.LC20:
.string "/proc/sys/kernel/shmmax"
.align 3
.LC21:
.string "16777216"
.align 3
.LC22:
.string "/proc/sys/kernel/shmall"
.align 3
.LC23:
.string "536870912"
.align 3
.LC24:
.string "/proc/sys/kernel/shmmni"
.align 3
.LC25:
.string "1024"
.align 3
.LC26:
.string "/proc/sys/kernel/msgmax"
.align 3
.LC27:
.string "8192"
.align 3
.LC28:
.string "/proc/sys/kernel/msgmni"
.align 3
.LC29:
.string "/proc/sys/kernel/msgmnb"
.align 3
.LC30:
.string "/proc/sys/kernel/sem"
.align 3
.LC31:
.string "1024 1048576 500 1024"
.section .data.rel.ro.local,"aw"
.align 3
.type sysctls.0, %object
.size sysctls.0, 112
sysctls.0:
.xword .LC20
.xword .LC21
.xword .LC22
.xword .LC23
.xword .LC24
.xword .LC25
.xword .LC26
.xword .LC27
.xword .LC28
.xword .LC25
.xword .LC29
.xword .LC25
.xword .LC30
.xword .LC31
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "OMP dynamic: %d\nOMP nested: %d"
.align 3
.LC1:
.string "%d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -16
mov w0, 1
bl omp_set_dynamic
mov w0, 1
bl omp_set_nested
bl omp_get_dynamic
mov w19, w0
bl omp_get_nested
mov w2, w0
mov w1, w19
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
bl omp_get_num_threads
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w0, 0
ldr x19, [sp, 16]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global gettid
.type gettid, %function
gettid:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov x0, 178
bl syscall
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size gettid, .-gettid
.global cpu_nums
.bss
.align 2
.type cpu_nums, %object
.size cpu_nums, 4
cpu_nums:
.zero 4
.text
.align 2
.global set_cpu
.type set_cpu, %function
set_cpu:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 168]
mov x1, 0
add x0, sp, 40
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
stp q0, q0, [x0, 64]
stp q0, q0, [x0, 96]
ldrsw x0, [sp, 28]
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 1023
bhi .L5
ldr x0, [sp, 32]
lsr x0, x0, 6
lsl x1, x0, 3
add x2, sp, 40
add x1, x2, x1
ldr x2, [x1]
ldr x1, [sp, 32]
and w1, w1, 63
mov x3, 1
lsl x1, x3, x1
lsl x0, x0, 3
add x3, sp, 40
add x0, x3, x0
orr x1, x2, x1
str x1, [x0]
.L5:
bl gettid
mov w3, w0
add x0, sp, 40
mov x2, x0
mov x1, 8
mov w0, w3
bl sched_setaffinity
cmn w0, #1
bne .L6
mov w0, -1
b .L8
.L6:
mov w0, 0
.L8:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L9
bl __stack_chk_fail
.L9:
mov w0, w1
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size set_cpu, .-set_cpu
.align 2
.global addx
.type addx, %function
addx:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
mov w0, 4
bl set_cpu
cmn w0, #1
bne .L11
mov x0, 0
b .L10
.L11:
str xzr, [sp, 40]
b .L13
.L14:
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 40]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L13:
ldr x1, [sp, 40]
mov x0, 57599
movk x0, 0x5f5, lsl 16
cmp x1, x0
ble .L14
.L10:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size addx, .-addx
.align 2
.global addy
.type addy, %function
addy:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
mov w0, 2
bl set_cpu
cmn w0, #1
bne .L16
mov x0, 0
b .L15
.L16:
str xzr, [sp, 40]
b .L18
.L19:
ldr x0, [sp, 24]
ldr x1, [x0, 136]
ldr x0, [sp, 40]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 136]
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L18:
ldr x1, [sp, 40]
mov x0, 57599
movk x0, 0x5f5, lsl 16
cmp x1, x0
ble .L19
.L15:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size addy, .-addy
.align 2
.global Run
.type Run, %function
Run:
.LFB4:
.cfi_startproc
sub x12, sp, #7995392
.cfi_def_cfa 12, 7995392
.LPSRL0:
sub sp, sp, 65536
str xzr, [sp, 1024]
cmp sp, x12
b.ne .LPSRL0
.cfi_def_cfa_register 31
mov x12, 4800
sub sp, sp, x12
.cfi_def_cfa_offset 8000192
stp x29, x30, [sp]
.cfi_offset 29, -8000192
.cfi_offset 30, -8000184
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x1, sp, 7995392
ldr x2, [x0]
str x2, [x1, 4792]
mov x2, 0
add x0, sp, 40
add x4, sp, 24
mov x3, x0
adrp x0, addx
add x2, x0, :lo12:addx
mov x1, 0
mov x0, x4
bl pthread_create
add x0, sp, 40
add x4, sp, 32
mov x3, x0
adrp x0, addy
add x2, x0, :lo12:addy
mov x1, 0
mov x0, x4
bl pthread_create
mov w0, 0
bl set_cpu
cmn w0, #1
beq .L26
str wzr, [sp, 16]
str wzr, [sp, 20]
b .L23
.L24:
ldrsw x0, [sp, 20]
lsl x0, x0, 2
add x1, sp, 184
ldr w1, [x1, x0]
ldrsw x2, [sp, 20]
mov x0, 16960
movk x0, 0xf, lsl 16
add x0, x2, x0
lsl x0, x0, 2
add x2, sp, 184
ldr w0, [x2, x0]
add w0, w1, w0
ldr w1, [sp, 16]
add w0, w1, w0
str w0, [sp, 16]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L23:
ldr w1, [sp, 20]
mov w0, 16959
movk w0, 0xf, lsl 16
cmp w1, w0
ble .L24
ldr x0, [sp, 24]
mov x1, 0
bl pthread_join
ldr x0, [sp, 32]
mov x1, 0
bl pthread_join
b .L20
.L26:
nop
.L20:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x2, sp, 7995392
ldr x3, [x2, 4792]
ldr x1, [x0]
subs x3, x3, x1
mov x1, 0
beq .L25
bl __stack_chk_fail
.L25:
ldp x29, x30, [sp]
.cfi_restore 29
.cfi_restore 30
add sp, sp, 704
.cfi_def_cfa_offset 7999488
add sp, sp, 7999488
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size Run, .-Run
.global e
.data
.align 3
.type e, %object
.size e, 8
e:
.word -1717986918
.word 1071225241
.global T
.bss
.align 3
.type T, %object
.size T, 88
T:
.zero 88
.global avg
.align 3
.type avg, %object
.size avg, 8
avg:
.zero 8
.text
.align 2
.global update
.type update, %function
update:
.LFB5:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str d0, [sp, 8]
adrp x0, e
add x0, x0, :lo12:e
ldr d1, [x0]
fmov d0, 1.0e+0
fadd d1, d1, d0
adrp x0, avg
add x0, x0, :lo12:avg
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 8]
fcmpe d1, d0
bgt .L28
adrp x0, e
add x0, x0, :lo12:e
ldr d0, [x0]
fmov d1, 1.0e+0
fsub d1, d1, d0
adrp x0, avg
add x0, x0, :lo12:avg
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 8]
fcmpe d1, d0
bmi .L28
b .L45
.L28:
mov w0, 1
b .L31
.L45:
mov w0, 1
str w0, [sp, 24]
b .L32
.L38:
adrp x0, T
add x0, x0, :lo12:T
ldrsw x1, [sp, 24]
ldr d0, [x0, x1, lsl 3]
ldr d1, [sp, 8]
fcmpe d1, d0
bmi .L43
b .L46
.L43:
mov w0, 10
str w0, [sp, 28]
b .L35
.L36:
ldr w0, [sp, 28]
sub w1, w0, #1
adrp x0, T
add x0, x0, :lo12:T
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
adrp x0, T
add x0, x0, :lo12:T
ldrsw x1, [sp, 28]
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 28]
.L35:
ldr w1, [sp, 24]
ldr w0, [sp, 28]
cmp w1, w0
blt .L36
adrp x0, T
add x0, x0, :lo12:T
ldrsw x1, [sp, 24]
ldr d0, [sp, 8]
str d0, [x0, x1, lsl 3]
b .L37
.L46:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L32:
ldr w0, [sp, 24]
cmp w0, 10
ble .L38
.L37:
str wzr, [sp, 32]
str xzr, [sp, 40]
mov w0, 1
str w0, [sp, 36]
b .L39
.L42:
adrp x0, T
add x0, x0, :lo12:T
ldrsw x1, [sp, 36]
ldr d0, [x0, x1, lsl 3]
mov x0, 35184372088832
movk x0, 0x408c, lsl 48
fmov d1, x0
fcmpe d0, d1
bmi .L44
b .L40
.L44:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
adrp x0, T
add x0, x0, :lo12:T
ldrsw x1, [sp, 36]
ldr d0, [x0, x1, lsl 3]
ldr d1, [sp, 40]
fadd d0, d1, d0
str d0, [sp, 40]
.L40:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L39:
ldr w0, [sp, 36]
cmp w0, 10
ble .L42
ldr w0, [sp, 32]
scvtf d0, w0
ldr d1, [sp, 40]
fdiv d0, d1, d0
adrp x0, avg
add x0, x0, :lo12:avg
str d0, [x0]
mov w0, 0
.L31:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size update, .-update
.section .rodata
.align 3
.LC0:
.string "%dth run, time = %.4lfs\n"
.align 3
.LC1:
.string "Non convergence!"
.align 3
.LC2:
.string "V[%d] = %.4lfs\n"
.align 3
.LC3:
.string "Avg Time = %.4lfs\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 104]
mov x1, 0
mov w0, 1
str w0, [sp, 36]
b .L48
.L49:
adrp x0, T
add x0, x0, :lo12:T
ldrsw x1, [sp, 36]
mov x2, 61572651155456
movk x2, 0x408f, lsl 48
fmov d0, x2
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L48:
ldr w0, [sp, 36]
cmp w0, 10
ble .L49
mov w0, 1
str w0, [sp, 40]
b .L50
.L54:
add x0, sp, 72
mov x1, 0
bl gettimeofday
bl Run
add x0, sp, 88
mov x1, 0
bl gettimeofday
ldr x0, [sp, 96]
str x0, [sp, 48]
ldr x0, [sp, 80]
str x0, [sp, 56]
ldr x1, [sp, 88]
ldr x0, [sp, 72]
sub x0, x1, x0
fmov d0, x0
scvtf d1, d0
ldr x1, [sp, 96]
ldr x0, [sp, 80]
sub x0, x1, x0
fmov d0, x0
scvtf d0, d0
mov x0, 145685290680320
movk x0, 0x412e, lsl 48
fmov d2, x0
fdiv d0, d0, d2
fadd d0, d1, d0
str d0, [sp, 64]
ldr d0, [sp, 64]
ldr w1, [sp, 40]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w0, [sp, 40]
cmp w0, 1
bne .L51
adrp x0, avg
add x0, x0, :lo12:avg
ldr d0, [sp, 64]
str d0, [x0]
.L51:
ldr d0, [sp, 64]
bl update
cmp w0, 0
beq .L52
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
mov w0, 0
b .L53
.L52:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L50:
ldr w0, [sp, 40]
cmp w0, 200
ble .L54
mov w0, 1
str w0, [sp, 44]
b .L55
.L56:
adrp x0, T
add x0, x0, :lo12:T
ldrsw x1, [sp, 44]
ldr d0, [x0, x1, lsl 3]
ldr w1, [sp, 44]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L55:
ldr w0, [sp, 44]
cmp w0, 10
ble .L56
adrp x0, avg
add x0, x0, :lo12:avg
ldr d0, [x0]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
mov w0, 0
.L53:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 104]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L57
bl __stack_chk_fail
.L57:
mov w0, w1
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
mov w0, 77
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global test_ar_1_SCHAR
.type test_ar_1_SCHAR, %function
test_ar_1_SCHAR:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
strb w1, [sp, 23]
ldrsb w0, [sp, 23]
cmp w0, 126
bne .L2
mov w0, 125
strb w0, [sp, 23]
.L2:
ldrsb x0, [sp, 23]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size test_ar_1_SCHAR, .-test_ar_1_SCHAR
.align 2
.global test_ar_1_UCHAR
.type test_ar_1_UCHAR, %function
test_ar_1_UCHAR:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
strb w1, [sp, 23]
ldrb w0, [sp, 23]
cmp w0, 254
bne .L4
mov w0, -3
strb w0, [sp, 23]
.L4:
ldrb w0, [sp, 23]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size test_ar_1_UCHAR, .-test_ar_1_UCHAR
.align 2
.global test_ar_1_SHRT
.type test_ar_1_SHRT, %function
test_ar_1_SHRT:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
strh w1, [sp, 22]
ldrsh w1, [sp, 22]
mov w0, 32766
cmp w1, w0
bne .L6
mov w0, 32765
strh w0, [sp, 22]
.L6:
ldrsh x0, [sp, 22]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size test_ar_1_SHRT, .-test_ar_1_SHRT
.align 2
.global test_ar_1_USHRT
.type test_ar_1_USHRT, %function
test_ar_1_USHRT:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
strh w1, [sp, 22]
ldrh w1, [sp, 22]
mov w0, 65534
cmp w1, w0
bne .L8
mov w0, -3
strh w0, [sp, 22]
.L8:
ldrh w0, [sp, 22]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size test_ar_1_USHRT, .-test_ar_1_USHRT
.align 2
.global test_ar_1_INT
.type test_ar_1_INT, %function
test_ar_1_INT:
.LFB4:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
ldr w1, [sp, 20]
mov w0, 2147483646
cmp w1, w0
bne .L10
mov w0, 65533
movk w0, 0x7fff, lsl 16
str w0, [sp, 20]
.L10:
ldrsw x0, [sp, 20]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size test_ar_1_INT, .-test_ar_1_INT
.align 2
.global test_ar_1_UINT
.type test_ar_1_UINT, %function
test_ar_1_UINT:
.LFB5:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #2
bne .L12
mov w0, -3
str w0, [sp, 20]
.L12:
ldr w0, [sp, 20]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size test_ar_1_UINT, .-test_ar_1_UINT
.align 2
.global test_ar_1_LONG
.type test_ar_1_LONG, %function
test_ar_1_LONG:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x1, [sp, 16]
mov x0, 9223372036854775806
cmp x1, x0
bne .L14
mov x0, -3
movk x0, 0x7fff, lsl 48
str x0, [sp, 16]
.L14:
ldr x0, [sp, 16]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size test_ar_1_LONG, .-test_ar_1_LONG
.align 2
.global test_ar_1_ULONG
.type test_ar_1_ULONG, %function
test_ar_1_ULONG:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 16]
cmn x0, #2
bne .L16
mov x0, -3
str x0, [sp, 16]
.L16:
ldr x0, [sp, 24]
mov x3, x0
ldr x0, [sp, 16]
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size test_ar_1_ULONG, .-test_ar_1_ULONG
.align 2
.global test_ar_1_PTRDIFF
.type test_ar_1_PTRDIFF, %function
test_ar_1_PTRDIFF:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x1, [sp, 16]
mov x0, 9223372036854775806
cmp x1, x0
bne .L18
mov x0, -3
movk x0, 0x7fff, lsl 48
str x0, [sp, 16]
.L18:
ldr x0, [sp, 16]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size test_ar_1_PTRDIFF, .-test_ar_1_PTRDIFF
.align 2
.global test_ar_1_SIZE
.type test_ar_1_SIZE, %function
test_ar_1_SIZE:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 16]
cmn x0, #2
bne .L20
mov x0, -3
str x0, [sp, 16]
.L20:
ldr x0, [sp, 24]
mov x3, x0
ldr x0, [sp, 16]
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size test_ar_1_SIZE, .-test_ar_1_SIZE
.align 2
.global test_ar_2_SCHAR
.type test_ar_2_SCHAR, %function
test_ar_2_SCHAR:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
strb w1, [sp, 23]
ldrsb w0, [sp, 23]
cmp w0, 124
ble .L22
ldrsb w0, [sp, 23]
cmp w0, 127
beq .L22
mov w0, 124
strb w0, [sp, 23]
.L22:
ldrsb x0, [sp, 23]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size test_ar_2_SCHAR, .-test_ar_2_SCHAR
.align 2
.global test_ar_2_UCHAR
.type test_ar_2_UCHAR, %function
test_ar_2_UCHAR:
.LFB11:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
strb w1, [sp, 23]
ldrb w0, [sp, 23]
cmp w0, 252
bls .L24
ldrb w0, [sp, 23]
cmp w0, 255
beq .L24
mov w0, -4
strb w0, [sp, 23]
.L24:
ldrb w0, [sp, 23]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size test_ar_2_UCHAR, .-test_ar_2_UCHAR
.align 2
.global test_ar_2_SHRT
.type test_ar_2_SHRT, %function
test_ar_2_SHRT:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
strh w1, [sp, 22]
ldrsh w1, [sp, 22]
mov w0, 32764
cmp w1, w0
ble .L26
ldrsh w1, [sp, 22]
mov w0, 32767
cmp w1, w0
beq .L26
mov w0, 32764
strh w0, [sp, 22]
.L26:
ldrsh x0, [sp, 22]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size test_ar_2_SHRT, .-test_ar_2_SHRT
.align 2
.global test_ar_2_USHRT
.type test_ar_2_USHRT, %function
test_ar_2_USHRT:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
strh w1, [sp, 22]
ldrh w1, [sp, 22]
mov w0, 65532
cmp w1, w0
bls .L28
ldrh w1, [sp, 22]
mov w0, 65535
cmp w1, w0
beq .L28
mov w0, -4
strh w0, [sp, 22]
.L28:
ldrh w0, [sp, 22]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size test_ar_2_USHRT, .-test_ar_2_USHRT
.align 2
.global test_ar_2_INT
.type test_ar_2_INT, %function
test_ar_2_INT:
.LFB14:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
ldr w1, [sp, 20]
mov w0, 2147483644
cmp w1, w0
ble .L30
ldr w1, [sp, 20]
mov w0, 2147483647
cmp w1, w0
beq .L30
mov w0, 2147483644
str w0, [sp, 20]
.L30:
ldrsw x0, [sp, 20]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size test_ar_2_INT, .-test_ar_2_INT
.align 2
.global test_ar_2_UINT
.type test_ar_2_UINT, %function
test_ar_2_UINT:
.LFB15:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #4
bls .L32
ldr w0, [sp, 20]
cmn w0, #1
beq .L32
mov w0, -4
str w0, [sp, 20]
.L32:
ldr w0, [sp, 20]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size test_ar_2_UINT, .-test_ar_2_UINT
.align 2
.global test_ar_2_LONG
.type test_ar_2_LONG, %function
test_ar_2_LONG:
.LFB16:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x1, [sp, 16]
mov x0, 9223372036854775804
cmp x1, x0
ble .L34
ldr x1, [sp, 16]
mov x0, 9223372036854775807
cmp x1, x0
beq .L34
mov x0, 9223372036854775804
str x0, [sp, 16]
.L34:
ldr x0, [sp, 16]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size test_ar_2_LONG, .-test_ar_2_LONG
.align 2
.global test_ar_2_ULONG
.type test_ar_2_ULONG, %function
test_ar_2_ULONG:
.LFB17:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 16]
cmn x0, #4
bls .L36
ldr x0, [sp, 16]
cmn x0, #1
beq .L36
mov x0, -4
str x0, [sp, 16]
.L36:
ldr x0, [sp, 24]
mov x3, x0
ldr x0, [sp, 16]
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size test_ar_2_ULONG, .-test_ar_2_ULONG
.align 2
.global test_ar_2_PTRDIFF
.type test_ar_2_PTRDIFF, %function
test_ar_2_PTRDIFF:
.LFB18:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x1, [sp, 16]
mov x0, 9223372036854775804
cmp x1, x0
ble .L38
ldr x1, [sp, 16]
mov x0, 9223372036854775807
cmp x1, x0
beq .L38
mov x0, 9223372036854775804
str x0, [sp, 16]
.L38:
ldr x0, [sp, 16]
ldr x1, [sp, 24]
mov x3, x1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size test_ar_2_PTRDIFF, .-test_ar_2_PTRDIFF
.align 2
.global test_ar_2_SIZE
.type test_ar_2_SIZE, %function
test_ar_2_SIZE:
.LFB19:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 16]
cmn x0, #4
bls .L40
ldr x0, [sp, 16]
cmn x0, #1
beq .L40
mov x0, -4
str x0, [sp, 16]
.L40:
ldr x0, [sp, 24]
mov x3, x0
ldr x0, [sp, 16]
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE19:
.size test_ar_2_SIZE, .-test_ar_2_SIZE
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string " :The num equal %d\n"
.align 3
.LC1:
.string " :The internal block num equal %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w0, 2
str w0, [sp, 24]
str wzr, [sp, 20]
b .L2
.L3:
ldr w1, [sp, 24]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
mov w0, 1
str w0, [sp, 28]
ldr w1, [sp, 28]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L2:
ldr w0, [sp, 20]
cmp w0, 2
ble .L3
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "ele found at loc:%d"
.text
.align 2
.global binary_search
.type binary_search, %function
binary_search:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
str w4, [sp, 24]
ldr w1, [sp, 28]
ldr w0, [sp, 24]
add w0, w1, w0
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 60]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 32]
cmp w1, w0
bne .L2
ldr w1, [sp, 60]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
b .L3
.L2:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 32]
cmp w1, w0
bge .L4
ldr w0, [sp, 60]
sub w0, w0, #1
str w0, [sp, 24]
ldr w4, [sp, 24]
ldr w3, [sp, 28]
ldr w2, [sp, 32]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl binary_search
b .L3
.L4:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 28]
ldr w4, [sp, 24]
ldr w3, [sp, 28]
ldr w2, [sp, 32]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl binary_search
.L3:
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size binary_search, .-binary_search
.section .rodata
.align 3
.LC1:
.string "enter the size of array:"
.align 3
.LC2:
.string "%d"
.align 3
.LC3:
.string "enter the element:"
.align 3
.LC4:
.string "enter the ele which u have to search:"
.text
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 32
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
str wzr, [sp, 36]
b .L6
.L7:
add x1, sp, 48
ldrsw x0, [sp, 36]
lsl x0, x0, 2
add x0, x1, x0
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L6:
ldr w0, [sp, 32]
ldr w1, [sp, 36]
cmp w1, w0
blt .L7
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
add x0, sp, 28
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
str wzr, [sp, 40]
ldr w0, [sp, 32]
sub w0, w0, #1
str w0, [sp, 44]
ldr w1, [sp, 32]
ldr w2, [sp, 28]
add x0, sp, 48
ldr w4, [sp, 44]
ldr w3, [sp, 40]
bl binary_search
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 88]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L8
bl __stack_chk_fail
.L8:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Hello world!"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type breakpt, %function
breakpt:
.LFB6:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE6:
.size breakpt, .-breakpt
.align 2
.type go_child, %function
go_child:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl breakpt
.L3:
mov w0, 1
bl sleep
b .L3
.cfi_endproc
.LFE7:
.size go_child, .-go_child
.align 2
.type go_parent, %function
go_parent:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl breakpt
.L5:
mov w0, 1
bl sleep
b .L5
.cfi_endproc
.LFE8:
.size go_parent, .-go_parent
.align 2
.global main
.type main, %function
main:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
bl fork
str w0, [sp, 28]
ldr w0, [sp, 28]
cmn w0, #1
bne .L7
bl abort
.L7:
ldr w0, [sp, 28]
cmp w0, 0
bne .L8
bl go_child
b .L9
.L8:
bl go_parent
.L9:
mov w0, 0
bl exit
.cfi_endproc
.LFE9:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Digite uma letra: "
.align 3
.LC1:
.string "%c"
.align 3
.LC2:
.string "%c "
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 22
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldrb w0, [sp, 22]
strb w0, [sp, 23]
b .L2
.L3:
ldrb w0, [sp, 23]
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldrb w0, [sp, 23]
add w0, w0, 1
strb w0, [sp, 23]
.L2:
ldrb w0, [sp, 23]
cmp w0, 122
bls .L3
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 24]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "string %s\n"
.align 3
.LC1:
.string "int %d\n"
.text
.align 2
.global foo
.type foo, %function
foo:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -288]!
.cfi_def_cfa_offset 288
.cfi_offset 29, -288
.cfi_offset 30, -280
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 232]
str x2, [sp, 240]
str x3, [sp, 248]
str x4, [sp, 256]
str x5, [sp, 264]
str x6, [sp, 272]
str x7, [sp, 280]
str q0, [sp, 96]
str q1, [sp, 112]
str q2, [sp, 128]
str q3, [sp, 144]
str q4, [sp, 160]
str q5, [sp, 176]
str q6, [sp, 192]
str q7, [sp, 208]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
add x0, sp, 288
str x0, [sp, 56]
add x0, sp, 288
str x0, [sp, 64]
add x0, sp, 224
str x0, [sp, 72]
mov w0, -56
str w0, [sp, 80]
mov w0, -128
str w0, [sp, 84]
b .L2
.L14:
ldr x0, [sp, 24]
add x1, x0, 1
str x1, [sp, 24]
ldrb w0, [x0]
cmp w0, 115
beq .L3
cmp w0, 115
bgt .L2
cmp w0, 99
beq .L4
cmp w0, 100
beq .L5
b .L2
.L3:
ldr w1, [sp, 80]
ldr x0, [sp, 56]
cmp w1, 0
blt .L6
add x1, x0, 15
and x1, x1, -8
str x1, [sp, 56]
b .L7
.L6:
add w2, w1, 8
str w2, [sp, 80]
ldr w2, [sp, 80]
cmp w2, 0
ble .L8
add x1, x0, 15
and x1, x1, -8
str x1, [sp, 56]
b .L7
.L8:
ldr x2, [sp, 64]
sxtw x0, w1
add x0, x2, x0
.L7:
ldr x0, [x0]
str x0, [sp, 48]
ldr x1, [sp, 48]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
b .L2
.L5:
ldr w1, [sp, 80]
ldr x0, [sp, 56]
cmp w1, 0
blt .L10
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L11
.L10:
add w2, w1, 8
str w2, [sp, 80]
ldr w2, [sp, 80]
cmp w2, 0
ble .L12
add x1, x0, 11
and x1, x1, -8
str x1, [sp, 56]
b .L11
.L12:
ldr x2, [sp, 64]
sxtw x0, w1
add x0, x2, x0
.L11:
ldr w0, [x0]
str w0, [sp, 44]
ldr w1, [sp, 44]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L2
.L4:
brk #1000
.L2:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 0
bne .L14
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 88]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L15
bl __stack_chk_fail
.L15:
ldp x29, x30, [sp], 288
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.section .rodata
.align 3
.LC2:
.string "END"
.align 3
.LC3:
.string "world."
.align 3
.LC4:
.string "Hello"
.align 3
.LC5:
.string "ssdcds"
.text
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, .LC2
add x6, x0, :lo12:.LC2
mov w5, 2000
mov w4, 97
mov w3, 50
adrp x0, .LC3
add x2, x0, :lo12:.LC3
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl foo
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global ft_bzero
.type ft_bzero, %function
ft_bzero:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
str xzr, [sp, 24]
b .L2
.L3:
ldr x1, [sp, 8]
ldr x0, [sp, 24]
add x0, x1, x0
strb wzr, [x0]
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
.L2:
ldr x1, [sp, 24]
ldr x0, [sp]
cmp x1, x0
bcc .L3
nop
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ft_bzero, .-ft_bzero
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global nonini1
.bss
.align 2
.type nonini1, %object
.size nonini1, 4
nonini1:
.zero 4
.global ini1
.data
.align 2
.type ini1, %object
.size ini1, 4
ini1:
.word 3
.global ini2
.align 2
.type ini2, %object
.size ini2, 4
ini2:
.word 3
.section .rodata
.align 3
.LC0:
.string "malloc failed: %s\n"
.align 3
.LC1:
.string "addresses:"
.align 3
.LC2:
.string " variable on the heap:\t%p\n"
.align 3
.LC3:
.string " local variable:\t%p\n"
.align 3
.LC4:
.string " noninitialized var:\t%p\n"
.align 3
.LC5:
.string " initialized var 1:\t%p\n"
.align 3
.LC6:
.string " initialized var 2:\t%p\n"
.align 3
.LC7:
.string " readdir:\t%p\n"
.align 3
.LC8:
.string " *readdir:\t%p\n"
.align 3
.LC9:
.string "\n=== pmap %d ===\n"
.align 3
.LC10:
.string "%d"
.align 3
.LC11:
.string "pmap"
.align 3
.LC12:
.string "/usr/bin/pmap"
.align 3
.LC13:
.string "execl() failed on pmap: %s\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -80
str w0, [sp, 44]
str x1, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
str wzr, [sp, 60]
ldr w0, [sp, 44]
cmp w0, 1
ble .L2
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
bl atoi
str w0, [sp, 60]
.L2:
ldr w0, [sp, 60]
cmp w0, 0
ble .L3
ldrsw x0, [sp, 60]
bl malloc
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L3
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x19
bl fprintf
mov w0, 1
b .L7
.L3:
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
ldr w0, [sp, 60]
cmp w0, 0
ble .L5
ldr x1, [sp, 64]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
.L5:
add x0, sp, 72
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
adrp x0, nonini1
add x1, x0, :lo12:nonini1
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
adrp x0, ini1
add x1, x0, :lo12:ini1
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
adrp x0, ini2
add x1, x0, :lo12:ini2
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
adrp x0, :got:readdir
ldr x1, [x0, #:got_lo12:readdir]
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
adrp x0, :got:readdir
ldr x1, [x0, #:got_lo12:readdir]
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
bl getpid
mov w1, w0
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
bl getpid
add x4, sp, 72
mov w3, w0
adrp x0, .LC10
add x2, x0, :lo12:.LC10
mov x1, 16
mov x0, x4
bl snprintf
bl fork
cmp w0, 0
bne .L6
add x0, sp, 72
mov x3, 0
mov x2, x0
adrp x0, .LC11
add x1, x0, :lo12:.LC11
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl execl
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
adrp x0, .LC13
add x1, x0, :lo12:.LC13
mov x0, x19
bl fprintf
mov w0, 1
b .L7
.L6:
mov x0, 0
bl wait
mov w0, 0
.L7:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L8
bl __stack_chk_fail
.L8:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter a number:"
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "Zero is neither odd nor even."
.align 3
.LC3:
.string "%d is a even number.\n"
.align 3
.LC4:
.string "%d is a odd number.\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
add x0, sp, 20
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 20]
cmp w0, 0
bne .L2
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
b .L6
.L2:
ldr w0, [sp, 20]
and w0, w0, 1
cmp w0, 0
bne .L4
ldr w0, [sp, 20]
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
b .L6
.L4:
ldr w0, [sp, 20]
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
.L6:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 24]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L5
bl __stack_chk_fail
.L5:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global primo
.type primo, %function
primo:
.LFB6:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str wzr, [sp, 24]
str wzr, [sp, 28]
nop
ldr w0, [sp, 28]
cmp w0, 4
bgt .L10
str wzr, [sp, 16]
b .L3
.L7:
mov w0, 1
str w0, [sp, 20]
b .L4
.L6:
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 8]
add x0, x0, x1
ldrsw x1, [sp, 16]
ldr w0, [x0, x1, lsl 2]
ldr w1, [sp, 20]
sdiv w2, w0, w1
ldr w1, [sp, 20]
mul w1, w2, w1
sub w0, w0, w1
cmp w0, 0
bne .L5
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L5:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L4:
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 8]
add x0, x0, x1
ldrsw x1, [sp, 16]
ldr w0, [x0, x1, lsl 2]
ldr w1, [sp, 20]
cmp w1, w0
blt .L6
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L3:
ldr w0, [sp, 16]
cmp w0, 4
ble .L7
ldr w0, [sp, 24]
b .L1
.L10:
.L1:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size primo, .-primo
.section .rodata
.align 3
.LC0:
.string "MATRIZ INFORMADA:"
.align 3
.LC1:
.string "[%d]"
.align 3
.LC2:
.string "nessa matriz possui %d numeros primos"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -144]!
.cfi_def_cfa_offset 144
.cfi_offset 29, -144
.cfi_offset 30, -136
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 136]
mov x1, 0
mov x0, 0
bl time
bl srand
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
str wzr, [sp, 24]
b .L12
.L15:
str wzr, [sp, 28]
b .L13
.L14:
bl rand
mov w2, w0
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w2, w0
lsr x0, x0, 32
asr w1, w0, 2
asr w0, w2, 31
sub w1, w1, w0
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
sub w1, w2, w0
add w2, w1, 1
ldrsw x3, [sp, 28]
ldrsw x1, [sp, 24]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
add x0, x0, x3
lsl x0, x0, 2
add x1, sp, 32
str w2, [x1, x0]
ldrsw x2, [sp, 28]
ldrsw x1, [sp, 24]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
add x0, x0, x2
lsl x0, x0, 2
add x1, sp, 32
ldr w0, [x1, x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L13:
ldr w0, [sp, 28]
cmp w0, 4
ble .L14
mov w0, 10
bl putchar
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L12:
ldr w0, [sp, 24]
cmp w0, 4
ble .L15
add x0, sp, 32
bl primo
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 136]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L17
bl __stack_chk_fail
.L17:
mov w0, w1
ldp x29, x30, [sp], 144
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type _get_cycles_for_us_internal, %function
_get_cycles_for_us_internal:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
strb w2, [sp, 7]
ldrb w0, [sp, 7]
cmp w0, 9
beq .L2
cmp w0, 9
bgt .L3
cmp w0, 8
beq .L4
cmp w0, 8
bgt .L3
cmp w0, 7
beq .L5
cmp w0, 7
bgt .L3
cmp w0, 6
beq .L6
cmp w0, 6
bgt .L3
cmp w0, 4
beq .L7
cmp w0, 5
beq .L8
b .L3
.L2:
ldr w1, [sp, 8]
mov w0, 56963
movk w0, 0x431b, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 18
ldr w0, [sp, 12]
mul w0, w1, w0
b .L9
.L4:
ldr w0, [sp, 8]
lsr w1, w0, 5
mov w0, 23237
movk w0, 0xa7c, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 7
ldr w0, [sp, 12]
mul w0, w1, w0
sub w1, w0, #1
mov w0, 52429
movk w0, 0xcccc, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 3
add w0, w0, 1
b .L9
.L5:
ldr w1, [sp, 8]
mov w0, 5977
movk w0, 0xd1b7, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 13
ldr w0, [sp, 12]
mul w0, w1, w0
sub w1, w0, #1
mov w0, 34079
movk w0, 0x51eb, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 5
add w0, w0, 1
b .L9
.L6:
ldr w1, [sp, 8]
mov w0, 19923
movk w0, 0x1062, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 6
ldr w0, [sp, 12]
mul w0, w1, w0
sub w1, w0, #1
mov w0, 19923
movk w0, 0x1062, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 6
add w0, w0, 1
b .L9
.L8:
ldr w1, [sp, 8]
mov w0, 34079
movk w0, 0x51eb, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 5
ldr w0, [sp, 12]
mul w0, w1, w0
sub w1, w0, #1
mov w0, 5977
movk w0, 0xd1b7, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 13
add w0, w0, 1
b .L9
.L7:
ldr w1, [sp, 8]
mov w0, 52429
movk w0, 0xcccc, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 3
ldr w0, [sp, 12]
mul w0, w1, w0
sub w0, w0, #1
lsr w1, w0, 5
mov w0, 23237
movk w0, 0xa7c, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 7
add w0, w0, 1
b .L9
.L3:
ldr w1, [sp, 12]
ldr w0, [sp, 8]
mul w0, w1, w0
sub w1, w0, #1
mov w0, 56963
movk w0, 0x431b, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 18
add w0, w0, 1
.L9:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size _get_cycles_for_us_internal, .-_get_cycles_for_us_internal
.align 2
.global _get_cycles_for_us
.type _get_cycles_for_us, %function
_get_cycles_for_us:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
mov w2, 9
mov w1, 3584
movk w1, 0x727, lsl 16
ldr w0, [sp, 28]
bl _get_cycles_for_us_internal
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size _get_cycles_for_us, .-_get_cycles_for_us
.align 2
.type _get_cycles_for_ms_internal, %function
_get_cycles_for_ms_internal:
.LFB2:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
strb w2, [sp, 7]
ldrb w0, [sp, 7]
cmp w0, 9
beq .L13
cmp w0, 9
bgt .L14
cmp w0, 8
beq .L15
cmp w0, 8
bgt .L14
cmp w0, 7
beq .L16
cmp w0, 7
bgt .L14
cmp w0, 6
beq .L17
cmp w0, 6
bgt .L14
cmp w0, 4
beq .L18
cmp w0, 5
beq .L19
b .L14
.L13:
ldr w1, [sp, 8]
mov w0, 56963
movk w0, 0x431b, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 18
ldr w0, [sp, 12]
mul w1, w1, w0
mov w0, 1000
mul w0, w1, w0
b .L20
.L15:
ldr w0, [sp, 8]
lsr w1, w0, 5
mov w0, 23237
movk w0, 0xa7c, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 7
ldr w0, [sp, 12]
mul w1, w1, w0
mov w0, 100
mul w0, w1, w0
b .L20
.L16:
ldr w1, [sp, 8]
mov w0, 5977
movk w0, 0xd1b7, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 13
ldr w0, [sp, 12]
mul w1, w1, w0
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
b .L20
.L17:
ldr w1, [sp, 8]
mov w0, 19923
movk w0, 0x1062, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 6
ldr w0, [sp, 12]
mul w0, w1, w0
b .L20
.L19:
ldr w1, [sp, 8]
mov w0, 34079
movk w0, 0x51eb, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 5
ldr w0, [sp, 12]
mul w0, w1, w0
sub w1, w0, #1
mov w0, 52429
movk w0, 0xcccc, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 3
add w0, w0, 1
b .L20
.L18:
ldr w1, [sp, 8]
mov w0, 52429
movk w0, 0xcccc, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w1, w0, 3
ldr w0, [sp, 12]
mul w0, w1, w0
sub w1, w0, #1
mov w0, 34079
movk w0, 0x51eb, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 5
add w0, w0, 1
b .L20
.L14:
ldr w1, [sp, 12]
ldr w0, [sp, 8]
mul w0, w1, w0
sub w1, w0, #1
mov w0, 19923
movk w0, 0x1062, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 6
add w0, w0, 1
.L20:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size _get_cycles_for_ms_internal, .-_get_cycles_for_ms_internal
.align 2
.global _get_cycles_for_ms
.type _get_cycles_for_ms, %function
_get_cycles_for_ms:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
mov w2, 9
mov w1, 3584
movk w1, 0x727, lsl 16
ldr w0, [sp, 28]
bl _get_cycles_for_ms_internal
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size _get_cycles_for_ms, .-_get_cycles_for_ms
.align 2
.global _delay_cycles
.type _delay_cycles, %function
_delay_cycles:
.LFB4:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
#APP
// 130 "program.c" 1
.syntax unified
__delay:
subs r1, r1, #1
bhi __delay
.syntax divided
// 0 "" 2
#NO_APP
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size _delay_cycles, .-_delay_cycles
.align 2
.global hal_delay_us
.type hal_delay_us, %function
hal_delay_us:
.LFB5:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
bl _get_cycles_for_us
mov w1, w0
mov x0, 0
bl _delay_cycles
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size hal_delay_us, .-hal_delay_us
.align 2
.global hal_delay_ms
.type hal_delay_ms, %function
hal_delay_ms:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
bl _get_cycles_for_ms
mov w1, w0
mov x0, 0
bl _delay_cycles
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size hal_delay_ms, .-hal_delay_ms
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "quit"
.text
.align 2
.global server
.type server, %function
server:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
.L5:
add x0, sp, 44
mov x2, 4
mov x1, x0
ldr w0, [sp, 28]
bl read
cmp x0, 0
bne .L2
mov w0, 0
b .L6
.L2:
ldr w0, [sp, 44]
sxtw x0, w0
bl malloc
str x0, [sp, 48]
ldr w0, [sp, 44]
sxtw x0, w0
mov x2, x0
ldr x1, [sp, 48]
ldr w0, [sp, 28]
bl read
ldr x0, [sp, 48]
bl puts
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 48]
bl strcmp
cmp w0, 0
bne .L4
ldr x0, [sp, 48]
bl free
mov w0, 1
b .L6
.L4:
ldr x0, [sp, 48]
bl free
b .L5
.L6:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size server, .-server
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -288]!
.cfi_def_cfa_offset 288
.cfi_offset 29, -288
.cfi_offset 30, -280
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 280]
mov x1, 0
ldr x0, [sp, 16]
ldr x0, [x0, 8]
str x0, [sp, 48]
mov w2, 0
mov w1, 1
mov w0, 1
bl socket
str w0, [sp, 36]
mov w0, 1
strh w0, [sp, 56]
add x0, sp, 56
add x0, x0, 2
ldr x1, [sp, 48]
bl strcpy
add x0, sp, 56
add x0, x0, 2
bl strlen
add w1, w0, 2
add x0, sp, 56
mov w2, w1
mov x1, x0
ldr w0, [sp, 36]
bl bind
mov w1, 5
ldr w0, [sp, 36]
bl listen
.L9:
mov w0, 110
str w0, [sp, 32]
add x1, sp, 32
add x0, sp, 168
mov x2, x1
mov x1, x0
ldr w0, [sp, 36]
bl accept
str w0, [sp, 40]
ldr w0, [sp, 44]
cmp w0, 0
beq .L9
ldr w0, [sp, 36]
bl close
ldr x0, [sp, 48]
bl unlink
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 280]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L11
bl __stack_chk_fail
.L11:
mov w0, w1
ldp x29, x30, [sp], 288
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
mov x12, 5328
sub sp, sp, x12
.cfi_def_cfa_offset 5328
stp x29, x30, [sp]
.cfi_offset 29, -5328
.cfi_offset 30, -5320
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 5320]
mov x1, 0
mov x0, 1
str x0, [sp, 16]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
add x0, sp, 4096
add x0, x0, 824
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldp q0, q1, [x1, 32]
stp q0, q1, [x0, 32]
ldp q0, q1, [x1, 64]
stp q0, q1, [x0, 64]
ldp q0, q1, [x1, 96]
stp q0, q1, [x0, 96]
ldp q0, q1, [x1, 128]
stp q0, q1, [x0, 128]
ldp q0, q1, [x1, 160]
stp q0, q1, [x0, 160]
ldr x1, [x1, 192]
str x1, [x0, 192]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
add x0, sp, 120
mov x3, x1
mov x1, 800
mov x2, x1
mov x1, x3
bl memcpy
adrp x0, .LC1
add x1, x0, :lo12:.LC1
add x0, sp, 1720
mov x3, x1
mov x1, 1600
mov x2, x1
mov x1, x3
bl memcpy
add x0, sp, 4096
add x0, x0, 1024
add x1, sp, 4096
add x1, x1, 824
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldp q0, q1, [x1, 32]
stp q0, q1, [x0, 32]
ldp q0, q1, [x1, 64]
stp q0, q1, [x0, 64]
ldp q0, q1, [x1, 96]
stp q0, q1, [x0, 96]
ldp q0, q1, [x1, 128]
stp q0, q1, [x0, 128]
ldp q0, q1, [x1, 160]
stp q0, q1, [x0, 160]
ldr x1, [x1, 192]
str x1, [x0, 192]
add x0, sp, 920
add x1, sp, 120
mov x2, 800
bl memcpy
add x0, sp, 3320
add x1, sp, 1720
mov x2, 1600
bl memcpy
str xzr, [sp, 24]
b .L2
.L5:
ldr x0, [sp, 24]
add x1, sp, 4096
add x1, x1, 824
ldrb w1, [x1, x0]
ldr x0, [sp, 24]
add x2, sp, 4096
add x2, x2, 1024
ldrb w0, [x2, x0]
cmp w1, w0
beq .L3
ldr x0, [sp, 16]
b .L39
.L3:
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L2:
ldr x0, [sp, 24]
cmp x0, 199
bls .L5
str xzr, [sp, 32]
b .L6
.L8:
ldr x0, [sp, 32]
lsl x0, x0, 2
add x1, sp, 120
ldr w1, [x1, x0]
ldr x0, [sp, 32]
lsl x0, x0, 2
add x2, sp, 920
ldr w0, [x2, x0]
cmp w1, w0
beq .L7
ldr x0, [sp, 16]
b .L39
.L7:
ldr x0, [sp, 32]
add x0, x0, 1
str x0, [sp, 32]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L6:
ldr x0, [sp, 32]
cmp x0, 199
bls .L8
str xzr, [sp, 40]
b .L9
.L11:
ldr x0, [sp, 40]
lsl x0, x0, 3
add x1, sp, 1720
ldr x1, [x1, x0]
ldr x0, [sp, 40]
lsl x0, x0, 3
add x2, sp, 3320
ldr x0, [x2, x0]
cmp x1, x0
beq .L10
ldr x0, [sp, 16]
b .L39
.L10:
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L9:
ldr x0, [sp, 40]
cmp x0, 199
bls .L11
add x0, sp, 4096
add x0, x0, 1024
mov x2, 200
mov w1, 0
bl memset
add x0, sp, 920
mov x2, 800
mov w1, 0
bl memset
add x0, sp, 3320
mov x2, 1600
mov w1, 0
bl memset
str xzr, [sp, 48]
b .L12
.L14:
ldr x0, [sp, 48]
add x1, sp, 4096
add x1, x1, 1024
ldrb w0, [x1, x0]
cmp w0, 0
beq .L13
ldr x0, [sp, 16]
b .L39
.L13:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L12:
ldr x0, [sp, 48]
cmp x0, 199
bls .L14
str xzr, [sp, 56]
b .L15
.L17:
ldr x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 920
ldr w0, [x1, x0]
cmp w0, 0
beq .L16
ldr x0, [sp, 16]
b .L39
.L16:
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L15:
ldr x0, [sp, 56]
cmp x0, 199
bls .L17
str xzr, [sp, 64]
b .L18
.L20:
ldr x0, [sp, 64]
lsl x0, x0, 3
add x1, sp, 3320
ldr x0, [x1, x0]
cmp x0, 0
beq .L19
ldr x0, [sp, 16]
b .L39
.L19:
ldr x0, [sp, 64]
add x0, x0, 1
str x0, [sp, 64]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L18:
ldr x0, [sp, 64]
cmp x0, 199
bls .L20
add x0, sp, 4096
add x0, x0, 824
mov x2, 200
mov w1, 0
bl memset
add x0, sp, 120
mov x2, 800
mov w1, 0
bl memset
add x0, sp, 1720
mov x2, 1600
mov w1, 0
bl memset
str xzr, [sp, 72]
b .L21
.L23:
ldr x0, [sp, 72]
add x1, sp, 4096
add x1, x1, 824
ldrb w0, [x1, x0]
cmp w0, 0
beq .L22
ldr x0, [sp, 16]
b .L39
.L22:
ldr x0, [sp, 72]
add x0, x0, 1
str x0, [sp, 72]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L21:
ldr x0, [sp, 72]
cmp x0, 199
bls .L23
str xzr, [sp, 80]
b .L24
.L26:
ldr x0, [sp, 80]
lsl x0, x0, 2
add x1, sp, 120
ldr w0, [x1, x0]
cmp w0, 0
beq .L25
ldr x0, [sp, 16]
b .L39
.L25:
ldr x0, [sp, 80]
add x0, x0, 1
str x0, [sp, 80]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L24:
ldr x0, [sp, 80]
cmp x0, 199
bls .L26
str xzr, [sp, 88]
b .L27
.L29:
ldr x0, [sp, 88]
lsl x0, x0, 3
add x1, sp, 1720
ldr x0, [x1, x0]
cmp x0, 0
beq .L28
ldr x0, [sp, 16]
b .L39
.L28:
ldr x0, [sp, 88]
add x0, x0, 1
str x0, [sp, 88]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L27:
ldr x0, [sp, 88]
cmp x0, 199
bls .L29
str xzr, [sp, 96]
b .L30
.L32:
ldr x0, [sp, 96]
add x1, sp, 4096
add x1, x1, 824
ldrb w1, [x1, x0]
ldr x0, [sp, 96]
add x2, sp, 4096
add x2, x2, 1024
ldrb w0, [x2, x0]
cmp w1, w0
beq .L31
ldr x0, [sp, 16]
b .L39
.L31:
ldr x0, [sp, 96]
add x0, x0, 1
str x0, [sp, 96]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L30:
ldr x0, [sp, 96]
cmp x0, 199
bls .L32
str xzr, [sp, 104]
b .L33
.L35:
ldr x0, [sp, 104]
lsl x0, x0, 2
add x1, sp, 120
ldr w1, [x1, x0]
ldr x0, [sp, 104]
lsl x0, x0, 2
add x2, sp, 920
ldr w0, [x2, x0]
cmp w1, w0
beq .L34
ldr x0, [sp, 16]
b .L39
.L34:
ldr x0, [sp, 104]
add x0, x0, 1
str x0, [sp, 104]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L33:
ldr x0, [sp, 104]
cmp x0, 199
bls .L35
str xzr, [sp, 112]
b .L36
.L38:
ldr x0, [sp, 112]
lsl x0, x0, 3
add x1, sp, 1720
ldr x1, [x1, x0]
ldr x0, [sp, 112]
lsl x0, x0, 3
add x2, sp, 3320
ldr x0, [x2, x0]
cmp x1, x0
beq .L37
ldr x0, [sp, 16]
b .L39
.L37:
ldr x0, [sp, 112]
add x0, x0, 1
str x0, [sp, 112]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L36:
ldr x0, [sp, 112]
cmp x0, 199
bls .L38
mov w0, 0
.L39:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 5320]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L40
bl __stack_chk_fail
.L40:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 5328
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC2:
.string ""
.ascii "\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017\020\021\022"
.ascii "\023\024\025\026\027\030\031\032\033\034\035\036\037 !\"#$%&"
.ascii "'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`a"
.ascii "bcdefghijklmnopqrstuvwxyz{|}~\177\200\201\202\203\204\205\206"
.ascii "\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225"
.ascii "\226\227\230\231\232\233\234\235\236\237\240\241\242\243\244"
.ascii "\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263"
.ascii "\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302"
.ascii "\303\304\305\306\307"
.align 3
.LC0:
.word 0
.word 1
.word 2
.word 3
.word 4
.word 5
.word 6
.word 7
.word 8
.word 9
.word 10
.word 11
.word 12
.word 13
.word 14
.word 15
.word 16
.word 17
.word 18
.word 19
.word 20
.word 21
.word 22
.word 23
.word 24
.word 25
.word 26
.word 27
.word 28
.word 29
.word 30
.word 31
.word 32
.word 33
.word 34
.word 35
.word 36
.word 37
.word 38
.word 39
.word 40
.word 41
.word 42
.word 43
.word 44
.word 45
.word 46
.word 47
.word 48
.word 49
.word 50
.word 51
.word 52
.word 53
.word 54
.word 55
.word 56
.word 57
.word 58
.word 59
.word 60
.word 61
.word 62
.word 63
.word 64
.word 65
.word 66
.word 67
.word 68
.word 69
.word 70
.word 71
.word 72
.word 73
.word 74
.word 75
.word 76
.word 77
.word 78
.word 79
.word 80
.word 81
.word 82
.word 83
.word 84
.word 85
.word 86
.word 87
.word 88
.word 89
.word 90
.word 91
.word 92
.word 93
.word 94
.word 95
.word 96
.word 97
.word 98
.word 99
.word 100
.word 101
.word 102
.word 103
.word 104
.word 105
.word 106
.word 107
.word 108
.word 109
.word 110
.word 111
.word 112
.word 113
.word 114
.word 115
.word 116
.word 117
.word 118
.word 119
.word 120
.word 121
.word 122
.word 123
.word 124
.word 125
.word 126
.word 127
.word 128
.word 129
.word 130
.word 131
.word 132
.word 133
.word 134
.word 135
.word 136
.word 137
.word 138
.word 139
.word 140
.word 141
.word 142
.word 143
.word 144
.word 145
.word 146
.word 147
.word 148
.word 149
.word 150
.word 151
.word 152
.word 153
.word 154
.word 155
.word 156
.word 157
.word 158
.word 159
.word 160
.word 161
.word 162
.word 163
.word 164
.word 165
.word 166
.word 167
.word 168
.word 169
.word 170
.word 171
.word 172
.word 173
.word 174
.word 175
.word 176
.word 177
.word 178
.word 179
.word 180
.word 181
.word 182
.word 183
.word 184
.word 185
.word 186
.word 187
.word 188
.word 189
.word 190
.word 191
.word 192
.word 193
.word 194
.word 195
.word 196
.word 197
.word 198
.word 199
.align 3
.LC1:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 128
.xword 129
.xword 130
.xword 131
.xword 132
.xword 133
.xword 134
.xword 135
.xword 136
.xword 137
.xword 138
.xword 139
.xword 140
.xword 141
.xword 142
.xword 143
.xword 144
.xword 145
.xword 146
.xword 147
.xword 148
.xword 149
.xword 150
.xword 151
.xword 152
.xword 153
.xword 154
.xword 155
.xword 156
.xword 157
.xword 158
.xword 159
.xword 160
.xword 161
.xword 162
.xword 163
.xword 164
.xword 165
.xword 166
.xword 167
.xword 168
.xword 169
.xword 170
.xword 171
.xword 172
.xword 173
.xword 174
.xword 175
.xword 176
.xword 177
.xword 178
.xword 179
.xword 180
.xword 181
.xword 182
.xword 183
.xword 184
.xword 185
.xword 186
.xword 187
.xword 188
.xword 189
.xword 190
.xword 191
.xword 192
.xword 193
.xword 194
.xword 195
.xword 196
.xword 197
.xword 198
.xword 199
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global successful_rtld_next_test
.type successful_rtld_next_test, %function
successful_rtld_next_test:
.LFB0:
.cfi_startproc
mov w0, 42
ret
.cfi_endproc
.LFE0:
.size successful_rtld_next_test, .-successful_rtld_next_test
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global work_place
.type work_place, %function
work_place:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl puts
ldr x0, [sp, 24]
bl strlen
add x0, x0, 1
bl malloc
str x0, [sp, 40]
ldr x1, [sp, 24]
ldr x0, [sp, 40]
bl strcpy
ldr x0, [sp, 24]
bl strlen
mov x1, x0
ldr x0, [sp, 40]
add x0, x0, x1
str x0, [sp, 32]
b .L2
.L3:
ldr x0, [sp, 32]
sub x0, x0, #1
str x0, [sp, 32]
.L2:
ldr x0, [sp, 32]
ldrb w0, [x0]
cmp w0, 47
bne .L3
ldr x0, [sp, 32]
strb wzr, [x0]
ldr x0, [sp, 40]
bl chdir
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size work_place, .-work_place
.section .rodata
.align 3
.LC0:
.string "r"
.align 3
.LC1:
.string "time.data"
.align 3
.LC2:
.string "error\t:\tfiles time.data can not open !"
.align 3
.LC3:
.string "%s\t%d:%d\t%d:%d\n"
.text
.align 2
.global read_data
.type read_data, %function
read_data:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fopen
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L5
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
mov w0, 1
bl exit
.L5:
mov x0, 128
bl malloc
str x0, [sp, 16]
ldr x0, [sp, 16]
str x0, [sp, 32]
ldr x1, [sp, 16]
ldr x0, [sp, 16]
add x2, x0, 100
ldr x0, [sp, 16]
add x3, x0, 104
ldr x0, [sp, 16]
add x4, x0, 108
ldr x0, [sp, 16]
add x0, x0, 112
mov x6, x0
mov x5, x4
mov x4, x3
mov x3, x2
mov x2, x1
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 24]
bl __isoc99_fscanf
b .L6
.L7:
ldr x0, [sp, 16]
str x0, [sp, 40]
mov x0, 128
bl malloc
str x0, [sp, 16]
ldr x1, [sp, 16]
ldr x0, [sp, 16]
add x2, x0, 100
ldr x0, [sp, 16]
add x3, x0, 104
ldr x0, [sp, 16]
add x4, x0, 108
ldr x0, [sp, 16]
add x0, x0, 112
mov x6, x0
mov x5, x4
mov x4, x3
mov x3, x2
mov x2, x1
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 24]
bl __isoc99_fscanf
ldr x0, [sp, 40]
ldr x1, [sp, 16]
str x1, [x0, 120]
.L6:
ldr x0, [sp, 24]
bl feof
cmp w0, 0
beq .L7
ldr x0, [sp, 16]
str xzr, [x0, 120]
ldr x0, [sp, 32]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size read_data, .-read_data
.section .rodata
.align 3
.LC4:
.string "%s %d:%d %d:%d\n"
.text
.align 2
.global put_data
.type put_data, %function
put_data:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
b .L10
.L11:
ldr x1, [sp, 24]
ldr x0, [sp, 24]
ldr w2, [x0, 100]
ldr x0, [sp, 24]
ldr w3, [x0, 104]
ldr x0, [sp, 24]
ldr w4, [x0, 108]
ldr x0, [sp, 24]
ldr w0, [x0, 112]
mov w5, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x0, [sp, 24]
ldr x0, [x0, 120]
str x0, [sp, 24]
.L10:
ldr x0, [sp, 24]
cmp x0, 0
bne .L11
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size put_data, .-put_data
.section .rodata
.align 3
.LC5:
.string "busybox clear"
.text
.align 2
.global fun
.type fun, %function
fun:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 24]
b .L13
.L16:
str wzr, [sp, 28]
b .L14
.L15:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L14:
ldr w1, [sp, 28]
mov w0, 4999
cmp w1, w0
ble .L15
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L13:
ldr w0, [sp, 24]
cmp w0, 1999
ble .L16
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl system
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size fun, .-fun
.section .rodata
.align 3
.LC6:
.string "\350\257\276\351\227\264\344\274\221\346\201\257"
.text
.align 2
.global check_time
.type check_time, %function
check_time:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldr w1, [x0, 100]
mov w0, w1
lsl w0, w0, 4
sub w0, w0, w1
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 104]
add w0, w1, w0
str w0, [sp, 44]
ldr x0, [sp, 24]
ldr w1, [x0, 108]
mov w0, w1
lsl w0, w0, 4
sub w0, w0, w1
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 112]
add w0, w1, w0
str w0, [sp, 48]
ldr x0, [sp, 16]
ldr w1, [x0, 8]
mov w0, w1
lsl w0, w0, 4
sub w0, w0, w1
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 16]
ldr w0, [x0, 4]
add w0, w1, w0
str w0, [sp, 52]
ldr w0, [sp, 48]
str w0, [sp, 56]
ldr x0, [sp, 24]
ldr x0, [x0, 120]
ldr w1, [x0, 100]
mov w0, w1
lsl w0, w0, 4
sub w0, w0, w1
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 24]
ldr x0, [x0, 120]
ldr w0, [x0, 104]
add w0, w1, w0
str w0, [sp, 60]
ldr w1, [sp, 44]
ldr w0, [sp, 52]
cmp w1, w0
bgt .L18
ldr w1, [sp, 52]
ldr w0, [sp, 48]
cmp w1, w0
bge .L18
ldr x0, [sp, 24]
bl puts
mov w0, 0
b .L19
.L18:
ldr w1, [sp, 56]
ldr w0, [sp, 52]
cmp w1, w0
bgt .L20
ldr w1, [sp, 52]
ldr w0, [sp, 60]
cmp w1, w0
bge .L20
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
mov w0, 0
b .L19
.L20:
mov w0, 1
.L19:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size check_time, .-check_time
.section .rodata
.align 3
.LC7:
.string "\345\275\223\345\211\215\346\227\266\351\227\264:%02d:%02d:%02d\n"
.text
.align 2
.global find_time
.type find_time, %function
find_time:
.LFB11:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
.L26:
add x0, sp, 32
bl time
add x0, sp, 32
bl localtime
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr w1, [x0, 8]
ldr x0, [sp, 48]
ldr w2, [x0, 4]
ldr x0, [sp, 48]
ldr w0, [x0]
mov w3, w0
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
ldr x0, [sp, 24]
str x0, [sp, 40]
b .L22
.L24:
ldr x0, [sp, 40]
ldr x0, [x0, 120]
str x0, [sp, 40]
.L22:
ldr x0, [sp, 40]
ldr x0, [x0, 120]
cmp x0, 0
beq .L23
ldr x1, [sp, 48]
ldr x0, [sp, 40]
bl check_time
cmp w0, 0
bne .L24
.L23:
ldr x0, [sp, 40]
ldr x0, [x0, 120]
cmp x0, 0
bne .L25
ldr x0, [sp, 40]
bl puts
.L25:
bl fun
b .L26
.cfi_endproc
.LFE11:
.size find_time, .-find_time
.align 2
.global main
.type main, %function
main:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fopen
cmp x0, 0
bne .L29
ldr x0, [sp, 16]
ldr x0, [x0]
bl work_place
.L29:
bl read_data
str x0, [sp, 40]
ldr x0, [sp, 40]
bl find_time
mov w0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 4
bl malloc
str x0, [sp, 24]
ldr x0, [sp, 24]
mov w1, 4
str w1, [x0]
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "dir"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl system
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "\007 "
.align 3
.LC1:
.string "11p"
.align 3
.LC2:
.string "\b\b"
.align 3
.LC3:
.string "22\f22 "
.align 3
.LC4:
.string "ccc\rddd "
.align 3
.LC5:
.string "6666\t4441 "
.align 3
.LC6:
.string "abcdefg"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
mov w0, 45
bl putchar
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w0, 43
fmov d1, 2.0e+0
fmov d0, 1.0e+0
bl calc
mov w0, 45
fmov d1, 7.0e+0
fmov d0, 1.0e+1
bl calc
mov w0, 42
mov x1, 7378697629483820646
movk x1, 0x4002, lsl 48
fmov d1, x1
fmov d0, 4.0e+0
bl calc
mov w0, 47
movi d1, #0
fmov d0, 5.0e+0
bl calc
mov w0, 37
fmov d1, 2.0e+0
fmov d0, 5.0e+0
bl calc
mov w0, 63
fmov d1, 2.0e+0
fmov d0, 1.0e+0
bl calc
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC0:
.string "%g %c %g = "
.align 3
.LC1:
.string "*** ERROR *** division by %g is undefined.\n"
.align 3
.LC2:
.string "*** ERROR *** unknown operator; operator must be + - * / or %%\n"
.align 3
.LC3:
.string "%g\n"
.text
.align 2
.global calc
.type calc, %function
calc:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str d0, [sp, 40]
str d1, [sp, 32]
strb w0, [sp, 31]
str xzr, [sp, 56]
ldrb w0, [sp, 31]
ldr d1, [sp, 32]
mov w1, w0
ldr d0, [sp, 40]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldrb w0, [sp, 31]
cmp w0, 47
beq .L4
cmp w0, 47
bgt .L5
cmp w0, 45
beq .L6
cmp w0, 45
bgt .L5
cmp w0, 43
beq .L7
cmp w0, 43
bgt .L5
cmp w0, 37
beq .L8
cmp w0, 42
beq .L9
b .L5
.L7:
ldr d1, [sp, 40]
ldr d0, [sp, 32]
fadd d0, d1, d0
str d0, [sp, 56]
b .L10
.L6:
ldr d1, [sp, 40]
ldr d0, [sp, 32]
fsub d0, d1, d0
str d0, [sp, 56]
b .L10
.L9:
ldr d1, [sp, 40]
ldr d0, [sp, 32]
fmul d0, d1, d0
str d0, [sp, 56]
b .L10
.L4:
ldr d0, [sp, 32]
fcmp d0, #0.0
bne .L11
ldr d0, [sp, 32]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr d0, [sp, 56]
b .L12
.L11:
ldr d0, [sp, 32]
ldr d1, [sp, 40]
fdiv d0, d1, d0
str d0, [sp, 56]
b .L10
.L8:
ldr d0, [sp, 40]
fcvtzs w0, d0
ldr d0, [sp, 32]
fcvtzs w1, d0
sdiv w2, w0, w1
mul w1, w2, w1
sub w0, w0, w1
scvtf d0, w0
str d0, [sp, 56]
b .L10
.L5:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldr d0, [sp, 56]
b .L12
.L10:
ldr d0, [sp, 56]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr d0, [sp, 56]
.L12:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size calc, .-calc
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global te
.type te, %function
te:
.LFB0:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE0:
.size te, .-te
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
mov w0, 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global shellcode
.data
.align 3
.type shellcode, %object
.size shellcode, 38
shellcode:
.string "\353\027_H1\322H1\300H\211\346H\211T$\bH\211<$\260;\017\005\350\344\377\377\377/bin/sh"
.section .rodata
.align 3
.LC0:
.string "len:%lu bytes\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, shellcode
add x0, x0, :lo12:shellcode
bl strlen
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
adrp x0, shellcode
add x0, x0, :lo12:shellcode
blr x0
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global swap
.type swap, %function
swap:
.LFB0:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str x1, [sp, 16]
str x2, [sp, 8]
ldr x1, [sp, 24]
ldr x0, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 47]
ldr x1, [sp, 24]
ldr x0, [sp, 8]
add x1, x1, x0
ldr x2, [sp, 24]
ldr x0, [sp, 16]
add x0, x2, x0
ldrb w1, [x1]
strb w1, [x0]
ldr x1, [sp, 24]
ldr x0, [sp, 8]
add x0, x1, x0
ldrb w1, [sp, 47]
strb w1, [x0]
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size swap, .-swap
.section .rodata
.align 3
.LC0:
.string "Permutation: %s\n"
.text
.align 2
.global str_permutations_aux
.type str_permutations_aux, %function
str_permutations_aux:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
ldr x1, [sp, 24]
ldr x0, [sp, 32]
cmp x1, x0
bne .L3
ldr x1, [sp, 40]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
b .L2
.L3:
ldr x0, [sp, 24]
str x0, [sp, 56]
b .L5
.L6:
ldr x2, [sp, 56]
ldr x1, [sp, 24]
ldr x0, [sp, 40]
bl swap
ldr x0, [sp, 24]
add x0, x0, 1
mov x2, x0
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl str_permutations_aux
ldr x2, [sp, 56]
ldr x1, [sp, 24]
ldr x0, [sp, 40]
bl swap
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
.L5:
ldr x1, [sp, 56]
ldr x0, [sp, 32]
cmp x1, x0
bcc .L6
.L2:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size str_permutations_aux, .-str_permutations_aux
.align 2
.global str_permutations
.type str_permutations, %function
str_permutations:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
mov x2, 0
ldr x1, [sp, 16]
ldr x0, [sp, 24]
bl str_permutations_aux
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size str_permutations, .-str_permutations
.local input
.comm input,256,8
.section .rodata
.align 3
.LC1:
.string "Enter a string to generate all permutations."
.align 3
.LC2:
.string "%s"
.text
.align 2
.global main
.type main, %function
main:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
b .L9
.L10:
adrp x0, input
add x0, x0, :lo12:input
bl strlen
mov x1, x0
adrp x0, input
add x0, x0, :lo12:input
bl str_permutations
.L9:
adrp x0, input
add x1, x0, :lo12:input
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
cmp w0, 1
beq .L10
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global GUID_BATTERY_DISCHARGE_FLAGS_1
.section .rodata
.align 3
.type GUID_BATTERY_DISCHARGE_FLAGS_1, %object
.size GUID_BATTERY_DISCHARGE_FLAGS_1, 24
GUID_BATTERY_DISCHARGE_FLAGS_1:
.xword 3168721233
.hword 6267
.hword 19717
.ascii "\274\314\367\345\031`\302X"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global fx
.type fx, %function
fx:
.LFB6:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
fcvt s0, d0
str s0, [sp, 8]
ldr s0, [sp, 8]
fcvt d0, s0
adrp x0, .LC0
ldr d1, [x0, #:lo12:.LC0]
fmul d0, d0, d1
fmov d1, 3.0e+0
fdiv d1, d1, d0
fmov d0, 1.0e+0
fadd d0, d1, d0
fcvt s0, d0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size fx, .-fx
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
bl inita
str s0, [sp, 20]
bl initc
str s0, [sp, 24]
bl f
ldr s0, [sp, 24]
fcvt d0, s0
bl fx
fmov s1, s0
ldr s0, [sp, 20]
fadd s0, s0, s1
str s0, [sp, 28]
bl f
ldr s1, [sp, 20]
fmov s0, 3.0e+0
fcmp s1, s0
bne .L4
ldr s0, [sp, 28]
fcvt d0, s0
adrp x0, .LC1
ldr d1, [x0, #:lo12:.LC1]
fcmpe d0, d1
bmi .L4
ldr s0, [sp, 28]
fcvt d0, s0
adrp x0, .LC2
ldr d1, [x0, #:lo12:.LC2]
fcmpe d0, d1
bgt .L4
ldr s1, [sp, 24]
fmov s0, 4.0e+0
fcmp s1, s0
beq .L5
.L4:
bl abort
.L5:
mov w0, 0
bl exit
.cfi_endproc
.LFE7:
.size main, .-main
.align 2
.global inita
.type inita, %function
inita:
.LFB8:
.cfi_startproc
fmov s0, 3.0e+0
ret
.cfi_endproc
.LFE8:
.size inita, .-inita
.align 2
.global initc
.type initc, %function
initc:
.LFB9:
.cfi_startproc
fmov s0, 4.0e+0
ret
.cfi_endproc
.LFE9:
.size initc, .-initc
.align 2
.global f
.type f, %function
f:
.LFB10:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE10:
.size f, .-f
.section .rodata
.align 3
.LC0:
.word -1145730699
.word 1073900465
.align 3
.LC1:
.word 1291926163
.word 1074875780
.align 3
.LC2:
.word -2082200145
.word 1074875806
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d%f"
.align 3
.LC1:
.string "%.2f"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
add x1, sp, 20
add x0, sp, 16
mov x2, x1
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 16]
scvtf d1, w0
fmov d0, 5.0e-1
fadd d1, d1, d0
ldr s0, [sp, 20]
fcvt d0, s0
fcmpe d1, d0
bgt .L8
b .L9
.L8:
ldr s0, [sp, 20]
fcvt d0, s0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L4
.L9:
ldr w2, [sp, 16]
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w2, w0
lsr x0, x0, 32
asr w1, w0, 1
asr w0, w2, 31
sub w1, w1, w0
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
sub w1, w2, w0
cmp w1, 0
beq .L5
ldr s0, [sp, 20]
fcvt d0, s0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L4
.L5:
ldr s1, [sp, 20]
ldr s0, [sp, 16]
scvtf s0, s0
fsub s0, s1, s0
fcvt d1, s0
fmov d0, 5.0e-1
fsub d0, d1, d0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
.L4:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 24]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global CM_ERASE
.bss
.align 2
.type CM_ERASE, %object
.size CM_ERASE, 4
CM_ERASE:
.zero 4
.global EINVAL
.align 2
.type EINVAL, %object
.size EINVAL, 4
EINVAL:
.zero 4
.global FBINFO_PARTIAL_PAN_OK
.align 2
.type FBINFO_PARTIAL_PAN_OK, %object
.size FBINFO_PARTIAL_PAN_OK, 4
FBINFO_PARTIAL_PAN_OK:
.zero 4
.global FBINFO_READS_FAST
.align 2
.type FBINFO_READS_FAST, %object
.size FBINFO_READS_FAST, 4
FBINFO_READS_FAST:
.zero 4
.global con2fb_map
.align 3
.type con2fb_map, %object
.size con2fb_map, 8
con2fb_map:
.zero 8
.global fb_display
.align 3
.type fb_display, %object
.size fb_display, 8
fb_display:
.zero 8
.global logo_shown
.align 2
.type logo_shown, %object
.size logo_shown, 4
logo_shown:
.zero 4
.global registered_fb
.align 3
.type registered_fb, %object
.size registered_fb, 8
registered_fb:
.zero 8
.global softback_top
.align 2
.type softback_top, %object
.size softback_top, 4
softback_top:
.zero 4
.text
.align 2
.type fbcon_scroll, %function
fbcon_scroll:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
str w4, [sp, 24]
adrp x0, registered_fb
add x0, x0, :lo12:registered_fb
ldr x1, [x0]
adrp x0, con2fb_map
add x0, x0, :lo12:con2fb_map
ldr x2, [x0]
ldr x0, [sp, 40]
ldr x0, [x0]
lsl x0, x0, 3
add x0, x2, x0
ldr x0, [x0]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
str x0, [sp, 64]
adrp x0, fb_display
add x0, x0, :lo12:fb_display
ldr x2, [x0]
ldr x0, [sp, 40]
ldr x1, [x0]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str x0, [sp, 72]
ldr x0, [sp, 64]
ldr w1, [x0]
adrp x0, FBINFO_PARTIAL_PAN_OK
add x0, x0, :lo12:FBINFO_PARTIAL_PAN_OK
ldr w0, [x0]
and w0, w1, w0
str w0, [sp, 60]
ldr x1, [sp, 64]
ldr x0, [sp, 40]
bl fbcon_is_inactive
cmp x0, 0
beq .L2
adrp x0, EINVAL
add x0, x0, :lo12:EINVAL
ldr w0, [x0]
neg w0, w0
b .L3
.L2:
adrp x0, CM_ERASE
add x0, x0, :lo12:CM_ERASE
ldr w0, [x0]
mov w1, w0
ldr x0, [sp, 40]
bl fbcon_cursor
ldr w0, [sp, 28]
cmp w0, 128
beq .L4
ldr w0, [sp, 28]
cmp w0, 129
beq .L5
b .L6
.L4:
ldr x0, [sp, 40]
ldr w0, [x0, 8]
ldr w1, [sp, 24]
cmp w1, w0
ble .L7
ldr x0, [sp, 40]
ldr w0, [x0, 8]
str w0, [sp, 24]
.L7:
adrp x0, softback_top
add x0, x0, :lo12:softback_top
ldr w0, [x0]
cmp w0, 0
beq .L8
ldr w2, [sp, 24]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl fbcon_softback_note
.L8:
adrp x0, logo_shown
add x0, x0, :lo12:logo_shown
ldr w0, [x0]
cmp w0, 0
bge .L57
ldr x0, [sp, 72]
ldr w0, [x0, 8]
cmp w0, 134
beq .L11
cmp w0, 134
bgt .L58
cmp w0, 133
beq .L13
cmp w0, 133
bgt .L58
cmp w0, 132
beq .L14
cmp w0, 132
bgt .L58
cmp w0, 130
beq .L15
cmp w0, 131
beq .L10
b .L58
.L11:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w0, w1, w0
ldr w5, [sp, 24]
mov w4, w0
ldr w3, [sp, 36]
ldr x2, [sp, 72]
ldr x1, [sp, 64]
ldr x0, [sp, 40]
bl fbcon_redraw_blit
ldr w1, [sp, 32]
ldr w0, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr x0, [sp, 40]
bl fbcon_clear
ldr x0, [sp, 40]
ldr w1, [x0, 24]
ldr x0, [sp, 40]
ldr w2, [x0, 16]
ldr w3, [sp, 32]
ldr w0, [sp, 24]
sub w0, w3, w0
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
mov x4, x0
ldr x0, [sp, 40]
ldr w3, [x0, 20]
ldr x0, [sp, 40]
ldr w1, [x0, 16]
ldr w0, [sp, 24]
mul w0, w1, w0
mov w2, w0
mov w1, w3
mov x0, x4
bl scr_memsetw
mov w0, 1
b .L3
.L15:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w2, w1, w0
ldr x0, [sp, 40]
ldr w1, [x0, 8]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
asr w0, w0, 2
cmp w2, w0
ble .L16
ldr w0, [sp, 36]
cmp w0, 0
ble .L17
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
ldr w5, [sp, 36]
mov w4, 0
ldr w3, [sp, 24]
mov w2, 0
mov w1, 0
ldr x0, [sp, 40]
bl fbcon_bmove
.L17:
ldr w1, [sp, 24]
ldr x0, [sp, 40]
bl ywrap_up
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w0, w1, w0
cmp w0, 0
ble .L18
ldr w1, [sp, 32]
ldr w0, [sp, 24]
sub w7, w1, w0
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
mov w5, w1
mov w4, 0
ldr w3, [sp, 32]
mov w2, 0
mov w1, w7
ldr x0, [sp, 40]
bl fbcon_bmove
b .L18
.L16:
ldr x0, [sp, 64]
ldr w1, [x0]
adrp x0, FBINFO_READS_FAST
add x0, x0, :lo12:FBINFO_READS_FAST
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
beq .L59
ldr w1, [sp, 36]
ldr w0, [sp, 24]
add w7, w1, w0
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
mov w5, w1
mov w4, 0
ldr w3, [sp, 36]
mov w2, 0
mov w1, w7
ldr x0, [sp, 40]
bl fbcon_bmove
.L18:
ldr w1, [sp, 32]
ldr w0, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr x0, [sp, 40]
bl fbcon_clear
b .L12
.L14:
ldr x0, [sp, 72]
ldr w1, [x0, 4]
ldr w0, [sp, 24]
add w1, w1, w0
ldr x0, [sp, 72]
ldr w2, [x0]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
sub w0, w2, w0
lsl w0, w0, 1
cmp w1, w0
bgt .L20
ldr w0, [sp, 60]
cmp w0, 0
bne .L21
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w1, w0
beq .L22
.L21:
ldr w0, [sp, 60]
cmp w0, 0
beq .L20
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w2, w1, w0
ldr x0, [sp, 40]
ldr w1, [x0, 8]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
asr w0, w0, 2
cmp w2, w0
ble .L20
.L22:
ldr w0, [sp, 36]
cmp w0, 0
ble .L23
ldr w4, [sp, 24]
ldr w3, [sp, 36]
mov w2, 0
ldr x1, [sp, 72]
ldr x0, [sp, 40]
bl fbcon_redraw_move
.L23:
ldr w2, [sp, 24]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl ypan_up_redraw
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w0, w1, w0
cmp w0, 0
ble .L25
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w0, w1, w0
ldr w4, [sp, 32]
mov w3, w0
ldr w2, [sp, 32]
ldr x1, [sp, 72]
ldr x0, [sp, 40]
bl fbcon_redraw_move
b .L25
.L20:
ldr w1, [sp, 36]
ldr w0, [sp, 24]
add w2, w1, w0
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w0, w1, w0
ldr w4, [sp, 36]
mov w3, w0
ldr x1, [sp, 72]
ldr x0, [sp, 40]
bl fbcon_redraw_move
.L25:
ldr w1, [sp, 32]
ldr w0, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr x0, [sp, 40]
bl fbcon_clear
b .L12
.L13:
ldr x0, [sp, 72]
ldr w1, [x0, 4]
ldr w0, [sp, 24]
add w1, w1, w0
ldr x0, [sp, 72]
ldr w2, [x0]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
sub w0, w2, w0
lsl w0, w0, 1
cmp w1, w0
bgt .L26
ldr w0, [sp, 60]
cmp w0, 0
bne .L27
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w1, w0
beq .L28
.L27:
ldr w0, [sp, 60]
cmp w0, 0
beq .L26
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w2, w1, w0
ldr x0, [sp, 40]
ldr w1, [x0, 8]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
asr w0, w0, 2
cmp w2, w0
ble .L26
.L28:
ldr w0, [sp, 36]
cmp w0, 0
ble .L29
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
ldr w5, [sp, 36]
mov w4, 0
ldr w3, [sp, 24]
mov w2, 0
mov w1, 0
ldr x0, [sp, 40]
bl fbcon_bmove
.L29:
ldr w1, [sp, 24]
ldr x0, [sp, 40]
bl ypan_up
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w0, w1, w0
cmp w0, 0
ble .L31
ldr w1, [sp, 32]
ldr w0, [sp, 24]
sub w7, w1, w0
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
mov w5, w1
mov w4, 0
ldr w3, [sp, 32]
mov w2, 0
mov w1, w7
ldr x0, [sp, 40]
bl fbcon_bmove
b .L31
.L26:
ldr x0, [sp, 64]
ldr w1, [x0]
adrp x0, FBINFO_READS_FAST
add x0, x0, :lo12:FBINFO_READS_FAST
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
beq .L60
ldr w1, [sp, 36]
ldr w0, [sp, 24]
add w7, w1, w0
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
mov w5, w1
mov w4, 0
ldr w3, [sp, 36]
mov w2, 0
mov w1, w7
ldr x0, [sp, 40]
bl fbcon_bmove
.L31:
ldr w1, [sp, 32]
ldr w0, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr x0, [sp, 40]
bl fbcon_clear
b .L12
.L57:
nop
b .L10
.L59:
nop
b .L10
.L60:
nop
.L10:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w2, w1, w0
ldr x0, [sp, 40]
ldr w1, [x0, 12]
ldr w0, [sp, 24]
mul w0, w1, w0
mov w4, w0
mov w3, w2
ldr w2, [sp, 36]
ldr x1, [sp, 72]
ldr x0, [sp, 40]
bl fbcon_redraw
ldr w1, [sp, 32]
ldr w0, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr x0, [sp, 40]
bl fbcon_clear
ldr x0, [sp, 40]
ldr w1, [x0, 24]
ldr x0, [sp, 40]
ldr w2, [x0, 16]
ldr w3, [sp, 32]
ldr w0, [sp, 24]
sub w0, w3, w0
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
mov x4, x0
ldr x0, [sp, 40]
ldr w3, [x0, 20]
ldr x0, [sp, 40]
ldr w1, [x0, 16]
ldr w0, [sp, 24]
mul w0, w1, w0
mov w2, w0
mov w1, w3
mov x0, x4
bl scr_memsetw
mov w0, 1
b .L3
.L12:
b .L58
.L5:
ldr x0, [sp, 40]
ldr w0, [x0, 8]
ldr w1, [sp, 24]
cmp w1, w0
ble .L33
ldr x0, [sp, 40]
ldr w0, [x0, 8]
str w0, [sp, 24]
.L33:
adrp x0, logo_shown
add x0, x0, :lo12:logo_shown
ldr w0, [x0]
cmp w0, 0
bge .L61
ldr x0, [sp, 72]
ldr w0, [x0, 8]
cmp w0, 134
beq .L36
cmp w0, 134
bgt .L6
cmp w0, 133
beq .L37
cmp w0, 133
bgt .L6
cmp w0, 132
beq .L38
cmp w0, 132
bgt .L6
cmp w0, 130
beq .L39
cmp w0, 131
beq .L35
b .L6
.L36:
ldr w0, [sp, 32]
sub w2, w0, #1
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w1, w1, w0
ldr w0, [sp, 24]
neg w0, w0
mov w5, w0
mov w4, w1
mov w3, w2
ldr x2, [sp, 72]
ldr x1, [sp, 64]
ldr x0, [sp, 40]
bl fbcon_redraw_blit
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl fbcon_clear
ldr x0, [sp, 40]
ldr w1, [x0, 24]
ldr x0, [sp, 40]
ldr w2, [x0, 16]
ldr w0, [sp, 36]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
mov x4, x0
ldr x0, [sp, 40]
ldr w3, [x0, 20]
ldr x0, [sp, 40]
ldr w1, [x0, 16]
ldr w0, [sp, 24]
mul w0, w1, w0
mov w2, w0
mov w1, w3
mov x0, x4
bl scr_memsetw
mov w0, 1
b .L3
.L39:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w2, w1, w0
ldr x0, [sp, 40]
ldr w1, [x0, 8]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
asr w0, w0, 2
cmp w2, w0
ble .L40
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w0, w1, w0
cmp w0, 0
ble .L41
ldr w1, [sp, 32]
ldr w0, [sp, 24]
sub w2, w1, w0
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
mov w5, w1
mov w4, 0
mov w3, w2
mov w2, 0
ldr w1, [sp, 32]
ldr x0, [sp, 40]
bl fbcon_bmove
.L41:
ldr w1, [sp, 24]
ldr x0, [sp, 40]
bl ywrap_down
ldr w0, [sp, 36]
cmp w0, 0
ble .L42
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
ldr w5, [sp, 36]
mov w4, 0
mov w3, 0
mov w2, 0
ldr w1, [sp, 24]
ldr x0, [sp, 40]
bl fbcon_bmove
b .L42
.L40:
ldr x0, [sp, 64]
ldr w1, [x0]
adrp x0, FBINFO_READS_FAST
add x0, x0, :lo12:FBINFO_READS_FAST
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
beq .L62
ldr w1, [sp, 36]
ldr w0, [sp, 24]
add w2, w1, w0
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
mov w5, w1
mov w4, 0
mov w3, w2
mov w2, 0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl fbcon_bmove
.L42:
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl fbcon_clear
b .L6
.L37:
ldr x0, [sp, 72]
ldr w0, [x0, 4]
ldr w1, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 72]
ldr w2, [x0]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
sub w0, w2, w0
cmp w1, w0
bgt .L44
ldr w0, [sp, 60]
cmp w0, 0
bne .L45
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w1, w0
beq .L46
.L45:
ldr w0, [sp, 60]
cmp w0, 0
beq .L44
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w2, w1, w0
ldr x0, [sp, 40]
ldr w1, [x0, 8]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
asr w0, w0, 2
cmp w2, w0
ble .L44
.L46:
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w0, w1, w0
cmp w0, 0
ble .L47
ldr w1, [sp, 32]
ldr w0, [sp, 24]
sub w2, w1, w0
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
mov w5, w1
mov w4, 0
mov w3, w2
mov w2, 0
ldr w1, [sp, 32]
ldr x0, [sp, 40]
bl fbcon_bmove
.L47:
ldr w1, [sp, 24]
ldr x0, [sp, 40]
bl ypan_down
ldr w0, [sp, 36]
cmp w0, 0
ble .L49
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
ldr w5, [sp, 36]
mov w4, 0
mov w3, 0
mov w2, 0
ldr w1, [sp, 24]
ldr x0, [sp, 40]
bl fbcon_bmove
b .L49
.L44:
ldr x0, [sp, 64]
ldr w1, [x0]
adrp x0, FBINFO_READS_FAST
add x0, x0, :lo12:FBINFO_READS_FAST
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
beq .L63
ldr w1, [sp, 36]
ldr w0, [sp, 24]
add w2, w1, w0
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w6, w0
mov w5, w1
mov w4, 0
mov w3, w2
mov w2, 0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl fbcon_bmove
.L49:
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl fbcon_clear
b .L6
.L38:
ldr x0, [sp, 72]
ldr w0, [x0, 4]
ldr w1, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 72]
ldr w2, [x0]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
sub w0, w2, w0
cmp w1, w0
bgt .L51
ldr w0, [sp, 60]
cmp w0, 0
bne .L52
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w1, w0
beq .L53
.L52:
ldr w0, [sp, 60]
cmp w0, 0
beq .L51
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w2, w1, w0
ldr x0, [sp, 40]
ldr w1, [x0, 8]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
asr w0, w0, 2
cmp w2, w0
ble .L51
.L53:
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w0, w1, w0
cmp w0, 0
ble .L54
ldr x0, [sp, 40]
ldr w1, [x0, 8]
ldr w0, [sp, 32]
sub w2, w1, w0
ldr w1, [sp, 32]
ldr w0, [sp, 24]
sub w0, w1, w0
mov w4, w0
mov w3, w2
ldr w2, [sp, 32]
ldr x1, [sp, 72]
ldr x0, [sp, 40]
bl fbcon_redraw_move
.L54:
ldr w2, [sp, 24]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl ypan_down_redraw
ldr w0, [sp, 36]
cmp w0, 0
ble .L56
mov w4, 0
ldr w3, [sp, 36]
ldr w2, [sp, 24]
ldr x1, [sp, 72]
ldr x0, [sp, 40]
bl fbcon_redraw_move
b .L56
.L51:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w2, w1, w0
ldr w1, [sp, 36]
ldr w0, [sp, 24]
add w0, w1, w0
mov w4, w0
mov w3, w2
ldr w2, [sp, 36]
ldr x1, [sp, 72]
ldr x0, [sp, 40]
bl fbcon_redraw_move
.L56:
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl fbcon_clear
b .L6
.L61:
nop
b .L35
.L62:
nop
b .L35
.L63:
nop
.L35:
ldr w0, [sp, 32]
sub w2, w0, #1
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 24]
sub w3, w1, w0
ldr w0, [sp, 24]
neg w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mul w0, w1, w0
mov w4, w0
ldr x1, [sp, 72]
ldr x0, [sp, 40]
bl fbcon_redraw
ldr x0, [sp, 40]
ldr w0, [x0, 12]
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl fbcon_clear
ldr x0, [sp, 40]
ldr w1, [x0, 24]
ldr x0, [sp, 40]
ldr w2, [x0, 16]
ldr w0, [sp, 36]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
mov x4, x0
ldr x0, [sp, 40]
ldr w3, [x0, 20]
ldr x0, [sp, 40]
ldr w1, [x0, 16]
ldr w0, [sp, 24]
mul w0, w1, w0
mov w2, w0
mov w1, w3
mov x0, x4
bl scr_memsetw
mov w0, 1
b .L3
.L58:
nop
.L6:
mov w0, 0
.L3:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size fbcon_scroll, .-fbcon_scroll
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global tcgetsid
.type tcgetsid, %function
tcgetsid:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
adrp x0, tiocgsid_does_not_work.0
add x0, x0, :lo12:tiocgsid_does_not_work.0
ldr w0, [x0]
cmp w0, 0
bne .L2
bl __errno_location
ldr w0, [x0]
str w0, [sp, 44]
add x0, sp, 40
mov x2, x0
mov w1, 21545
ldr w0, [sp, 28]
bl __ioctl
cmp w0, 0
bge .L3
bl __errno_location
ldr w0, [x0]
cmp w0, 22
bne .L4
adrp x0, tiocgsid_does_not_work.0
add x0, x0, :lo12:tiocgsid_does_not_work.0
mov w1, 1
str w1, [x0]
ldr w0, [sp, 44]
bl __set_errno
b .L2
.L4:
mov w0, -1
b .L7
.L3:
ldr w0, [sp, 40]
b .L7
.L2:
ldr w0, [sp, 28]
bl tcgetpgrp
str w0, [sp, 48]
ldr w0, [sp, 48]
cmn w0, #1
bne .L8
mov w0, -1
b .L7
.L8:
ldr w0, [sp, 48]
bl getsid
str w0, [sp, 52]
ldr w0, [sp, 52]
cmn w0, #1
bne .L9
bl __errno_location
ldr w0, [x0]
cmp w0, 3
bne .L9
mov w0, 25
bl __set_errno
.L9:
ldr w0, [sp, 52]
.L7:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L10
bl __stack_chk_fail
.L10:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size tcgetsid, .-tcgetsid
.local tiocgsid_does_not_work.0
.comm tiocgsid_does_not_work.0,4,4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
#APP
createsig FiiE
.section .rodata
.align 3
.LC0:
.string "%d\n"
#NO_APP
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:f
ldr x0, [x0, #:got_lo12:f]
cmp x0, 0
beq .L2
mov w0, 42
bl f
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
.L2:
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.weak f
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "0.9"
.align 3
.LC1:
.string "Cell, a divertimento in C.\nV.%s, 2011 Matthew Sorensen\n"
.align 3
.LC2:
.string "usage: %s [-hv] [-r rule]\n"
.align 3
.LC3:
.string "Up/down arrow keys (or i/k) control speed, q (or ctrl-c) exits.\nRules 30, 90, 110, and 165 are particularly interesting..."
.text
.align 2
.global message
.type message, %function
message:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 28]
cmp w0, 1
ble .L2
ldr x1, [sp, 16]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
.L2:
mov w0, 0
bl exit
.cfi_endproc
.LFE6:
.size message, .-message
.section .rodata
.align 3
.LC4:
.string "hvr:"
.text
.align 2
.global parseOpts
.type parseOpts, %function
parseOpts:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
mov w0, 90
strb w0, [sp, 39]
str wzr, [sp, 40]
b .L4
.L8:
ldr w0, [sp, 44]
cmp w0, 118
beq .L5
ldr w0, [sp, 44]
cmp w0, 118
bgt .L4
ldr w0, [sp, 44]
cmp w0, 104
beq .L6
ldr w0, [sp, 44]
cmp w0, 114
beq .L7
b .L4
.L6:
ldr w0, [sp, 40]
orr w0, w0, 2
str w0, [sp, 40]
b .L4
.L5:
ldr w0, [sp, 40]
orr w0, w0, 1
str w0, [sp, 40]
b .L4
.L7:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl atoi
strb w0, [sp, 39]
.L4:
adrp x0, .LC4
add x2, x0, :lo12:.LC4
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl getopt
str w0, [sp, 44]
ldr w0, [sp, 44]
cmn w0, #1
bne .L8
ldr w0, [sp, 40]
cmp w0, 0
beq .L9
ldr x0, [sp, 16]
ldr x0, [x0]
mov x1, x0
ldr w0, [sp, 40]
bl message
.L9:
ldrb w0, [sp, 39]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size parseOpts, .-parseOpts
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global pfilname
.bss
.align 3
.type pfilname, %object
.size pfilname, 40
pfilname:
.zero 40
.section .rodata
.align 3
.LC0:
.string "tfile_%d"
.align 3
.LC1:
.string "open failed"
.align 3
.LC2:
.string "Save test bit cleared, but should not have been"
.align 3
.LC3:
.string "/tmp"
.align 3
.LC4:
.string "directory bit cleared, but should not have been"
.align 3
.LC5:
.string "close #1 failed"
.align 3
.LC6:
.string "can't remove file"
.align 3
.LC7:
.string "close #2 failed"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 168]
mov x1, 0
bl getpid
mov w2, w0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, pfilname
add x0, x0, :lo12:pfilname
bl sprintf
mov w2, 804
mov w1, 66
adrp x0, pfilname
add x0, x0, :lo12:pfilname
bl open
str w0, [sp, 32]
ldr w0, [sp, 32]
cmn w0, #1
bne .L2
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov w0, 1
bl err
.L2:
add x0, sp, 40
mov x1, x0
ldr w0, [sp, 32]
bl fstat
ldr w0, [sp, 56]
strh w0, [sp, 30]
ldrh w0, [sp, 30]
and w0, w0, 512
cmp w0, 0
bne .L3
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov w0, 1
bl errx
.L3:
mov w1, 16384
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl open
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
bne .L4
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov w0, 1
bl err
.L4:
add x0, sp, 40
mov x1, x0
ldr w0, [sp, 36]
bl fstat
ldr w0, [sp, 56]
strh w0, [sp, 30]
ldrh w0, [sp, 30]
and w0, w0, 16384
cmp w0, 0
bne .L5
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov w0, 1
bl errx
.L5:
ldr w0, [sp, 32]
bl close
cmn w0, #1
bne .L6
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov w0, 1
bl err
.L6:
adrp x0, pfilname
add x0, x0, :lo12:pfilname
bl unlink
cmn w0, #1
bne .L7
adrp x0, .LC6
add x1, x0, :lo12:.LC6
mov w0, 1
bl err
.L7:
ldr w0, [sp, 36]
bl close
cmn w0, #1
bne .L8
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov w0, 1
bl err
.L8:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L10
bl __stack_chk_fail
.L10:
mov w0, w1
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.local filename
.comm filename,100,8
.data
.align 2
.type file_d, %object
.size file_d, 4
file_d:
.word -1
.local buffer
.comm buffer,8192,8
.local buff_ptr
.comm buff_ptr,4,4
.section .rodata
.align 3
.LC0:
.string "DUAL_FILENAME"
.align 3
.LC1:
.string "dual_device.met"
.align 3
.LC2:
.string "cdrofs: error opening output file"
.text
.align 2
.global wmetof
.type wmetof, %function
wmetof:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl getenv
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L2
adrp x0, filename
add x2, x0, :lo12:filename
adrp x0, .LC1
add x0, x0, :lo12:.LC1
ldp x0, x1, [x0]
stp x0, x1, [x2]
b .L3
.L2:
ldr x1, [sp, 40]
adrp x0, filename
add x0, x0, :lo12:filename
bl strcpy
.L3:
mov w2, 436
mov w1, 578
adrp x0, filename
add x0, x0, :lo12:filename
bl open
mov w1, w0
adrp x0, file_d
add x0, x0, :lo12:file_d
str w1, [x0]
adrp x0, file_d
add x0, x0, :lo12:file_d
ldr w0, [x0]
cmn w0, #1
bne .L5
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
mov w0, 1
bl exit
.L5:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size wmetof, .-wmetof
.align 2
.global wmetff
.type wmetff, %function
wmetff:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr x0, [sp, 40]
bl wmetof
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size wmetff, .-wmetff
.section .rodata
.align 3
.LC3:
.string "cdrcfs: error writing EOF"
.text
.align 2
.global wmetcf
.type wmetcf, %function
wmetcf:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
ldr x0, [sp, 16]
ldr w0, [x0]
cmp w0, 1
bne .L8
mov w0, -1
strb w0, [sp, 48]
adrp x0, file_d
add x0, x0, :lo12:file_d
ldr w0, [x0]
add x1, sp, 48
mov x2, 4
bl write
str w0, [sp, 44]
ldr w0, [sp, 44]
cmn w0, #1
bne .L8
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
mov w0, 1
bl exit
.L8:
adrp x0, file_d
add x0, x0, :lo12:file_d
ldr w0, [x0]
bl close
adrp x0, file_d
add x0, x0, :lo12:file_d
mov w1, -1
str w1, [x0]
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L9
bl __stack_chk_fail
.L9:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size wmetcf, .-wmetcf
.section .rodata
.align 3
.LC4:
.string "wmetbf: write error"
.text
.align 2
.global wmetbf
.type wmetbf, %function
wmetbf:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 0
bgt .L11
adrp x0, buff_ptr
add x0, x0, :lo12:buff_ptr
ldr w0, [x0]
cmp w0, 0
ble .L11
adrp x0, file_d
add x0, x0, :lo12:file_d
ldr w3, [x0]
adrp x0, buff_ptr
add x0, x0, :lo12:buff_ptr
ldr w0, [x0]
sxtw x0, w0
mov x2, x0
adrp x0, buffer
add x1, x0, :lo12:buffer
mov w0, w3
bl write
str w0, [sp, 44]
ldr w0, [sp, 44]
cmn w0, #1
bne .L12
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
.L12:
adrp x0, buff_ptr
add x0, x0, :lo12:buff_ptr
str wzr, [x0]
b .L13
.L11:
ldr x0, [sp, 24]
ldr w1, [x0]
adrp x0, buff_ptr
add x0, x0, :lo12:buff_ptr
ldr w0, [x0]
add w1, w1, w0
mov w0, 8191
cmp w1, w0
ble .L14
adrp x0, file_d
add x0, x0, :lo12:file_d
ldr w3, [x0]
adrp x0, buff_ptr
add x0, x0, :lo12:buff_ptr
ldr w0, [x0]
sxtw x0, w0
mov x2, x0
adrp x0, buffer
add x1, x0, :lo12:buffer
mov w0, w3
bl write
str w0, [sp, 44]
ldr w0, [sp, 44]
cmn w0, #1
bne .L15
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
.L15:
adrp x0, buff_ptr
add x0, x0, :lo12:buff_ptr
str wzr, [x0]
.L14:
str wzr, [sp, 40]
b .L16
.L17:
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr w1, [x0]
adrp x0, mask1.1
add x0, x0, :lo12:mask1.1
ldr w0, [x0]
and w0, w1, w0
lsr w3, w0, 8
adrp x0, buff_ptr
add x0, x0, :lo12:buff_ptr
ldr w0, [x0]
add w2, w0, 1
adrp x1, buff_ptr
add x1, x1, :lo12:buff_ptr
str w2, [x1]
and w2, w3, 255
adrp x1, buffer
add x1, x1, :lo12:buffer
sxtw x0, w0
strb w2, [x1, x0]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr w0, [x0]
and w2, w0, 255
adrp x0, mask2.0
add x0, x0, :lo12:mask2.0
ldr w0, [x0]
and w1, w0, 255
adrp x0, buff_ptr
add x0, x0, :lo12:buff_ptr
ldr w0, [x0]
add w4, w0, 1
adrp x3, buff_ptr
add x3, x3, :lo12:buff_ptr
str w4, [x3]
and w1, w2, w1
and w2, w1, 255
adrp x1, buffer
add x1, x1, :lo12:buffer
sxtw x0, w0
strb w2, [x1, x0]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L16:
ldr x0, [sp, 24]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L17
nop
.L13:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size wmetbf, .-wmetbf
.data
.align 2
.type mask1.1, %object
.size mask1.1, 4
mask1.1:
.word 65280
.align 2
.type mask2.0, %object
.size mask2.0, 4
mask2.0:
.word 255
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter a value for no 1 : "
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "Enter a value for no 2 : "
.align 3
.LC3:
.string "%d "
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 16
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
add x0, sp, 20
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 16]
ldr w1, [sp, 20]
bl minimum
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr w0, [sp, 16]
ldr w1, [sp, 20]
bl maximum
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr w0, [sp, 16]
ldr w1, [sp, 20]
bl multiply
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 24]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.align 2
.global minimum
.type minimum, %function
minimum:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str w1, [sp, 8]
ldr w1, [sp, 12]
ldr w0, [sp, 8]
cmp w1, w0
bge .L5
ldr w0, [sp, 12]
str w0, [sp, 28]
b .L6
.L5:
ldr w0, [sp, 8]
str w0, [sp, 28]
.L6:
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size minimum, .-minimum
.align 2
.global maximum
.type maximum, %function
maximum:
.LFB2:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str w1, [sp, 8]
ldr w1, [sp, 12]
ldr w0, [sp, 8]
cmp w1, w0
ble .L9
ldr w0, [sp, 12]
str w0, [sp, 28]
b .L10
.L9:
ldr w0, [sp, 8]
str w0, [sp, 28]
.L10:
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size maximum, .-maximum
.align 2
.global multiply
.type multiply, %function
multiply:
.LFB3:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
ldr w1, [sp, 12]
ldr w0, [sp, 8]
mul w0, w1, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size multiply, .-multiply
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC9:
.string "day[%d] = %s\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
adrp x0, .LC8
add x1, x0, :lo12:.LC8
add x0, sp, 32
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr q0, [x1, 32]
str q0, [x0, 32]
ldr x1, [x1, 48]
str x1, [x0, 48]
str wzr, [sp, 28]
b .L2
.L3:
ldrsw x0, [sp, 28]
lsl x0, x0, 3
add x1, sp, 32
ldr x0, [x1, x0]
mov x2, x0
ldr w1, [sp, 28]
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
ldr w0, [sp, 28]
cmp w0, 6
ble .L3
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC0:
.string "Monday"
.align 3
.LC1:
.string "Tuesday"
.align 3
.LC2:
.string "Wednesday"
.align 3
.LC3:
.string "Thursday"
.align 3
.LC4:
.string "Firday"
.align 3
.LC5:
.string "Saturday"
.align 3
.LC6:
.string "Sunday"
.data
.align 3
.LC8:
.xword .LC0
.xword .LC1
.xword .LC2
.xword .LC3
.xword .LC4
.xword .LC5
.xword .LC6
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
mov w0, 1
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global remainderf
.type remainderf, %function
remainderf:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str s0, [sp, 28]
str s1, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x0, sp, 36
ldr s1, [sp, 24]
ldr s0, [sp, 28]
bl remquof
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L3
bl __stack_chk_fail
.L3:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size remainderf, .-remainderf
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global test_vcagef32
.type test_vcagef32, %function
test_vcagef32:
.LFB4340:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
ldr d0, [sp, 8]
str d0, [sp, 32]
ldr d0, [sp, 16]
str d0, [sp, 40]
ldr d0, [sp, 32]
str d0, [sp, 48]
ldr d0, [sp, 48]
fabs v1.2s, v0.2s
ldr d0, [sp, 40]
str d0, [sp, 56]
ldr d0, [sp, 56]
fabs v0.2s, v0.2s
fcmge v0.2s, v1.2s, v0.2s
str d0, [sp, 24]
nop
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4340:
.size test_vcagef32, .-test_vcagef32
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "\nTabuada de mult "
.align 3
.LC1:
.string "\nEntre com um numero para mult:"
.align 3
.LC2:
.string "%d"
.align 3
.LC3:
.string "\n %d x %d = %d"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 28
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
mov w0, 1
str w0, [sp, 32]
b .L2
.L3:
ldr w0, [sp, 28]
ldr w1, [sp, 32]
mul w0, w1, w0
str w0, [sp, 36]
ldr w0, [sp, 28]
ldr w3, [sp, 36]
ldr w2, [sp, 32]
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L2:
ldr w0, [sp, 32]
cmp w0, 10
ble .L3
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global msa_vi
.type msa_vi, %function
msa_vi:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str d8, [sp, 16]
.cfi_offset 72, -48
str d0, [sp, 40]
str d1, [sp, 32]
ldr d1, [sp, 32]
ldr d0, [sp, 40]
fadd d0, d1, d0
fcmp d0, #0.0
bne .L2
fmov d0, -1.0e+0
str d0, [sp, 56]
b .L3
.L2:
ldr d1, [sp, 32]
fmov d0, 1.0e+0
fadd d0, d1, d0
fadd d8, d0, d0
ldr d0, [sp, 32]
fadd d1, d0, d0
fmov d0, 1.0e+0
fadd d1, d1, d0
ldr d0, [sp, 32]
fadd d2, d0, d0
fmov d0, 1.0e+0
fadd d0, d2, d0
fmul d0, d1, d0
bl sqrt
fsub d1, d8, d0
ldr d2, [sp, 32]
ldr d0, [sp, 40]
fsub d2, d2, d0
fmov d0, 8.0e+0
fmul d0, d2, d0
fsub d0, d1, d0
movi d1, #0
fmul d0, d0, d1
str d0, [sp, 56]
.L3:
ldr d0, [sp, 56]
ldr d8, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size msa_vi, .-msa_vi
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.local _n
.comm _n,4,4
.section .rodata
.align 3
.LC0:
.string "<?xml version='1.0'?>"
.align 3
.LC1:
.string "<!DOCTYPE platform SYSTEM \"https://simgrid.org/simgrid.dtd\">"
.align 3
.LC2:
.string "<platform version=\"4.1\">"
.align 3
.LC3:
.string " <zone id=\"AS0\" routing=\"Full\">"
.text
.align 2
.global print_header
.type print_header, %function
print_header:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size print_header, .-print_header
.section .rodata
.align 3
.LC4:
.string " </zone>"
.align 3
.LC5:
.string "</platform>"
.text
.align 2
.global print_footer
.type print_footer, %function
print_footer:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size print_footer, .-print_footer
.section .rodata
.align 3
.LC6:
.string "500Gf"
.align 3
.LC7:
.string " <host id=\"host%d\" speed=\"%s\"/>\n"
.text
.align 2
.global print_hosts
.type print_hosts, %function
print_hosts:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str wzr, [sp, 44]
b .L4
.L5:
adrp x0, .LC6
add x2, x0, :lo12:.LC6
ldr w1, [sp, 44]
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L4:
ldr w1, [sp, 44]
ldr w0, [sp, 28]
cmp w1, w0
blt .L5
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size print_hosts, .-print_hosts
.section .rodata
.align 3
.LC8:
.string "100ns"
.align 3
.LC9:
.string "100Gbps"
.align 3
.LC10:
.string " <link bandwidth=\"%s\" latency=\"%s\" id=\"link%dto%d\"/>\n"
.align 3
.LC11:
.string "600ns"
.text
.align 2
.global print_lines
.type print_lines, %function
print_lines:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
str x2, [sp, 16]
str wzr, [sp, 36]
b .L7
.L13:
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 40]
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr w0, [x0, 4]
str w0, [sp, 44]
ldr w1, [sp, 40]
ldr w0, [sp, 44]
cmp w1, w0
ble .L8
ldr w1, [sp, 40]
ldr w0, [sp, 28]
cmp w1, w0
blt .L9
ldr w1, [sp, 44]
ldr w0, [sp, 28]
cmp w1, w0
blt .L9
ldr w4, [sp, 40]
ldr w3, [sp, 44]
adrp x0, .LC8
add x2, x0, :lo12:.LC8
adrp x0, .LC9
add x1, x0, :lo12:.LC9
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
b .L11
.L9:
ldr w4, [sp, 40]
ldr w3, [sp, 44]
adrp x0, .LC11
add x2, x0, :lo12:.LC11
adrp x0, .LC9
add x1, x0, :lo12:.LC9
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
b .L11
.L8:
ldr w1, [sp, 40]
ldr w0, [sp, 28]
cmp w1, w0
blt .L12
ldr w1, [sp, 44]
ldr w0, [sp, 28]
cmp w1, w0
blt .L12
ldr w4, [sp, 44]
ldr w3, [sp, 40]
adrp x0, .LC8
add x2, x0, :lo12:.LC8
adrp x0, .LC9
add x1, x0, :lo12:.LC9
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
b .L11
.L12:
ldr w4, [sp, 44]
ldr w3, [sp, 40]
adrp x0, .LC11
add x2, x0, :lo12:.LC11
adrp x0, .LC9
add x1, x0, :lo12:.LC9
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
.L11:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L7:
ldr w1, [sp, 36]
ldr w0, [sp, 24]
cmp w1, w0
blt .L13
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size print_lines, .-print_lines
.section .rodata
.align 3
.LC12:
.string "Make Delta small\n"
.align 3
.LC13:
.string "<link_ctn id=\"link%dto%d\"/>"
.text
.align 2
.global print_link_ctn
.type print_link_ctn, %function
print_link_ctn:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -416]!
.cfi_def_cfa_offset 416
.cfi_offset 29, -416
.cfi_offset 30, -408
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
str x27, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -400
.cfi_offset 20, -392
.cfi_offset 21, -384
.cfi_offset 22, -376
.cfi_offset 23, -368
.cfi_offset 24, -360
.cfi_offset 25, -352
.cfi_offset 26, -344
.cfi_offset 27, -336
str w0, [x29, 236]
str w1, [x29, 232]
str w2, [x29, 228]
str w3, [x29, 224]
str x4, [x29, 216]
str x5, [x29, 208]
str x6, [x29, 200]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 408]
mov x1, 0
ldrsw x0, [x29, 228]
sub x0, x0, #1
str x0, [x29, 280]
ldrsw x0, [x29, 228]
str x0, [x29, 176]
str xzr, [x29, 184]
ldp x2, x3, [x29, 176]
mov x0, x2
lsr x0, x0, 58
mov x1, x3
lsl x23, x1, 6
orr x23, x0, x23
mov x0, x2
lsl x22, x0, 6
ldrsw x0, [x29, 228]
sub x0, x0, #1
str x0, [x29, 288]
ldrsw x0, [x29, 228]
str x0, [x29, 160]
str xzr, [x29, 168]
ldp x2, x3, [x29, 160]
mov x0, x2
lsr x0, x0, 59
mov x1, x3
lsl x19, x1, 5
orr x19, x0, x19
mov x0, x2
lsl x18, x0, 5
mov x0, sp
mov x19, x0
ldrsw x0, [x29, 228]
sub x0, x0, #1
str x0, [x29, 296]
ldrsw x0, [x29, 228]
str x0, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x0, x2
lsr x0, x0, 58
mov x1, x3
lsl x21, x1, 6
orr x21, x0, x21
mov x0, x2
lsl x20, x0, 6
ldrsw x0, [x29, 228]
str x0, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x0, x2
lsr x0, x0, 58
mov x1, x3
lsl x17, x1, 6
orr x17, x0, x17
mov x0, x2
lsl x16, x0, 6
ldrsw x0, [x29, 228]
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L15:
cmp sp, x1
beq .L16
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L15
.L16:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L17
str xzr, [sp, 1024]
.L17:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 304]
ldrsw x0, [x29, 228]
sub x0, x0, #1
str x0, [x29, 312]
ldrsw x0, [x29, 228]
str x0, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x0, x2
lsr x0, x0, 59
mov x1, x3
lsl x15, x1, 5
orr x15, x0, x15
mov x0, x2
lsl x14, x0, 5
ldrsw x0, [x29, 228]
str x0, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x0, x2
lsr x0, x0, 59
mov x1, x3
lsl x13, x1, 5
orr x13, x0, x13
mov x0, x2
lsl x12, x0, 5
ldrsw x0, [x29, 228]
lsl x0, x0, 2
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L18:
cmp sp, x1
beq .L19
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L18
.L19:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L20
str xzr, [sp, 1024]
.L20:
add x0, sp, 16
add x0, x0, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 320]
ldrsw x0, [x29, 228]
sub x0, x0, #1
str x0, [x29, 328]
ldrsw x0, [x29, 228]
mov x26, x0
mov x27, 0
lsr x0, x26, 61
lsl x11, x27, 3
orr x11, x0, x11
lsl x10, x26, 3
ldrsw x0, [x29, 228]
mov x24, x0
mov x25, 0
lsr x0, x24, 61
lsl x9, x25, 3
orr x9, x0, x9
lsl x8, x24, 3
ldrsw x0, [x29, 228]
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L21:
cmp sp, x1
beq .L22
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L21
.L22:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L23
str xzr, [sp, 1024]
.L23:
add x0, sp, 16
add x0, x0, 0
str x0, [x29, 336]
str wzr, [x29, 256]
b .L24
.L25:
ldr x0, [x29, 304]
ldrsw x1, [x29, 256]
mov x2, 225833675390976
movk x2, 0x41cd, lsl 48
fmov d0, x2
str d0, [x0, x1, lsl 3]
ldr x1, [x29, 336]
ldrsw x0, [x29, 256]
strb wzr, [x1, x0]
ldr x0, [x29, 320]
ldrsw x1, [x29, 256]
mov w2, -1
str w2, [x0, x1, lsl 2]
ldr w0, [x29, 256]
add w0, w0, 1
str w0, [x29, 256]
.L24:
ldr w1, [x29, 256]
ldr w0, [x29, 228]
cmp w1, w0
blt .L25
ldr x0, [x29, 304]
ldrsw x1, [x29, 236]
str xzr, [x0, x1, lsl 3]
.L36:
mov x0, 225833675390976
movk x0, 0x41cd, lsl 48
fmov d0, x0
str d0, [x29, 272]
str wzr, [x29, 260]
b .L26
.L29:
ldr x1, [x29, 336]
ldrsw x0, [x29, 260]
ldrb w0, [x1, x0]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L27
ldr x0, [x29, 304]
ldrsw x1, [x29, 260]
ldr d0, [x0, x1, lsl 3]
ldr d1, [x29, 272]
fcmpe d1, d0
bgt .L53
b .L27
.L53:
ldr x0, [x29, 304]
ldrsw x1, [x29, 260]
ldr d0, [x0, x1, lsl 3]
str d0, [x29, 272]
ldr w0, [x29, 260]
str w0, [x29, 252]
.L27:
ldr w0, [x29, 260]
add w0, w0, 1
str w0, [x29, 260]
.L26:
ldr w1, [x29, 260]
ldr w0, [x29, 228]
cmp w1, w0
blt .L29
ldr w1, [x29, 252]
ldr w0, [x29, 232]
cmp w1, w0
beq .L65
str wzr, [x29, 264]
b .L32
.L35:
ldr x0, [x29, 304]
ldrsw x1, [x29, 264]
ldr d1, [x0, x1, lsl 3]
ldrsw x1, [x29, 252]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 264]
ldr d2, [x0, x1, lsl 3]
ldr x0, [x29, 304]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fadd d0, d2, d0
fcmpe d1, d0
bgt .L54
b .L33
.L54:
ldrsw x1, [x29, 252]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 264]
ldr d1, [x0, x1, lsl 3]
ldr x0, [x29, 304]
ldrsw x1, [x29, 252]
ldr d0, [x0, x1, lsl 3]
fadd d0, d1, d0
ldr x0, [x29, 304]
ldrsw x1, [x29, 264]
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 264]
ldr w2, [x29, 252]
str w2, [x0, x1, lsl 2]
.L33:
ldr w0, [x29, 264]
add w0, w0, 1
str w0, [x29, 264]
.L32:
ldr w1, [x29, 264]
ldr w0, [x29, 228]
cmp w1, w0
blt .L35
ldr x1, [x29, 336]
ldrsw x0, [x29, 252]
mov w2, 1
strb w2, [x1, x0]
b .L36
.L65:
nop
ldr w0, [x29, 232]
str w0, [x29, 268]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
ldr w1, [x29, 268]
cmp w1, w0
ble .L37
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d1, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d0, [x0, x1, lsl 3]
fcvtzs w0, d0
scvtf d0, w0
fsub d0, d1, d0
adrp x0, .LC14
ldr d1, [x0, #:lo12:.LC14]
fsub d0, d0, d1
str d0, [x29, 360]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d1, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
fcvtzs w0, d0
scvtf d0, w0
fsub d0, d1, d0
adrp x0, .LC14
ldr d1, [x0, #:lo12:.LC14]
fsub d0, d0, d1
str d0, [x29, 368]
ldr d0, [x29, 360]
fabs d2, d0
ldr d0, [x29, 368]
fabs d0, d0
fmov d1, d0
fmov d0, d2
bl fmax
mov x0, 4372995238176751616
fmov d1, x0
fcmpe d0, d1
bls .L55
b .L60
.L55:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 17
mov x1, 1
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl fwrite
mov w0, 1
bl exit
.L60:
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 2
ldr x1, [x29, 200]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr w1, [x0, x1, lsl 2]
add w2, w1, 1
ldrsw x1, [x29, 268]
str w2, [x0, x1, lsl 2]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d0, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
adrp x1, .LC15
ldr d1, [x1, #:lo12:.LC15]
fadd d0, d0, d1
ldrsw x1, [x29, 268]
str d0, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
adrp x2, .LC15
ldr d1, [x2, #:lo12:.LC15]
fadd d0, d0, d1
sxtw x1, w1
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
ldr w2, [x29, 268]
mov w1, w0
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
b .L51
.L37:
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d1, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d0, [x0, x1, lsl 3]
fcvtzs w0, d0
scvtf d0, w0
fsub d0, d1, d0
adrp x0, .LC14
ldr d1, [x0, #:lo12:.LC14]
fsub d0, d0, d1
str d0, [x29, 344]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d1, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
fcvtzs w0, d0
scvtf d0, w0
fsub d0, d1, d0
adrp x0, .LC14
ldr d1, [x0, #:lo12:.LC14]
fsub d0, d0, d1
str d0, [x29, 352]
ldr d0, [x29, 344]
fabs d2, d0
ldr d0, [x29, 352]
fabs d0, d0
fmov d1, d0
fmov d0, d2
bl fmax
mov x0, 4372995238176751616
fmov d1, x0
fcmpe d0, d1
bls .L56
b .L61
.L56:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 17
mov x1, 1
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl fwrite
mov w0, 1
bl exit
.L61:
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 2
ldr x1, [x29, 200]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w3, [x1, x2, lsl 2]
sxtw x1, w3
ldr w1, [x0, x1, lsl 2]
add w2, w1, 1
sxtw x1, w3
str w2, [x0, x1, lsl 2]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d0, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
adrp x1, .LC15
ldr d1, [x1, #:lo12:.LC15]
fadd d0, d0, d1
ldrsw x1, [x29, 268]
str d0, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
adrp x2, .LC15
ldr d1, [x2, #:lo12:.LC15]
fadd d0, d0, d1
sxtw x1, w1
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
mov w2, w0
ldr w1, [x29, 268]
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
.L51:
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
str w0, [x29, 268]
ldr w1, [x29, 268]
ldr w0, [x29, 236]
cmp w1, w0
beq .L66
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
ldr w1, [x29, 268]
cmp w1, w0
ble .L45
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d1, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d0, [x0, x1, lsl 3]
fcvtzs w0, d0
scvtf d0, w0
fsub d0, d1, d0
adrp x0, .LC14
ldr d1, [x0, #:lo12:.LC14]
fsub d0, d0, d1
str d0, [x29, 392]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d1, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
fcvtzs w0, d0
scvtf d0, w0
fsub d0, d1, d0
adrp x0, .LC14
ldr d1, [x0, #:lo12:.LC14]
fsub d0, d0, d1
str d0, [x29, 400]
ldr d0, [x29, 392]
fabs d2, d0
ldr d0, [x29, 400]
fabs d0, d0
fmov d1, d0
fmov d0, d2
bl fmax
mov x0, 4372995238176751616
fmov d1, x0
fcmpe d0, d1
bls .L57
b .L63
.L57:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 17
mov x1, 1
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl fwrite
mov w0, 1
bl exit
.L63:
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 2
ldr x1, [x29, 200]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr w1, [x0, x1, lsl 2]
add w2, w1, 1
ldrsw x1, [x29, 268]
str w2, [x0, x1, lsl 2]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d0, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
adrp x1, .LC15
ldr d1, [x1, #:lo12:.LC15]
fadd d0, d0, d1
ldrsw x1, [x29, 268]
str d0, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
adrp x2, .LC15
ldr d1, [x2, #:lo12:.LC15]
fadd d0, d0, d1
sxtw x1, w1
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
ldr w2, [x29, 268]
mov w1, w0
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
b .L51
.L45:
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d1, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d0, [x0, x1, lsl 3]
fcvtzs w0, d0
scvtf d0, w0
fsub d0, d1, d0
adrp x0, .LC14
ldr d1, [x0, #:lo12:.LC14]
fsub d0, d0, d1
str d0, [x29, 376]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d1, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
fcvtzs w0, d0
scvtf d0, w0
fsub d0, d1, d0
adrp x0, .LC14
ldr d1, [x0, #:lo12:.LC14]
fsub d0, d0, d1
str d0, [x29, 384]
ldr d0, [x29, 376]
fabs d2, d0
ldr d0, [x29, 384]
fabs d0, d0
fmov d1, d0
fmov d0, d2
bl fmax
mov x0, 4372995238176751616
fmov d1, x0
fcmpe d0, d1
bls .L58
b .L64
.L58:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 17
mov x1, 1
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl fwrite
mov w0, 1
bl exit
.L64:
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 2
ldr x1, [x29, 200]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w3, [x1, x2, lsl 2]
sxtw x1, w3
ldr w1, [x0, x1, lsl 2]
add w2, w1, 1
sxtw x1, w3
str w2, [x0, x1, lsl 2]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldrsw x1, [x29, 268]
ldr d0, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
sxtw x1, w0
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
adrp x1, .LC15
ldr d1, [x1, #:lo12:.LC15]
fadd d0, d0, d1
ldrsw x1, [x29, 268]
str d0, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
sxtw x1, w1
ldr d0, [x0, x1, lsl 3]
ldrsw x1, [x29, 268]
ldrsw x0, [x29, 228]
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 208]
add x0, x1, x0
ldr x1, [x29, 320]
ldrsw x2, [x29, 268]
ldr w1, [x1, x2, lsl 2]
adrp x2, .LC15
ldr d1, [x2, #:lo12:.LC15]
fadd d0, d0, d1
sxtw x1, w1
str d0, [x0, x1, lsl 3]
ldr x0, [x29, 320]
ldrsw x1, [x29, 268]
ldr w0, [x0, x1, lsl 2]
mov w2, w0
ldr w1, [x29, 268]
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
b .L51
.L66:
nop
mov sp, x19
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 408]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L52
bl __stack_chk_fail
.L52:
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldr x27, [sp, 80]
ldp x29, x30, [sp], 416
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE10:
.size print_link_ctn, .-print_link_ctn
.section .rodata
.align 3
.LC16:
.string " <route src=\"host%d\" dst=\"host%d\">"
.align 3
.LC17:
.string "</route>"
.align 3
.LC18:
.string "AAA %d\n"
.text
.align 2
.global print_routes
.type print_routes, %function
print_routes:
.LFB11:
.cfi_startproc
stp x29, x30, [sp, -320]!
.cfi_def_cfa_offset 320
.cfi_offset 29, -320
.cfi_offset 30, -312
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
stp x27, x28, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -304
.cfi_offset 20, -296
.cfi_offset 21, -288
.cfi_offset 22, -280
.cfi_offset 23, -272
.cfi_offset 24, -264
.cfi_offset 25, -256
.cfi_offset 26, -248
.cfi_offset 27, -240
.cfi_offset 28, -232
str w0, [x29, 220]
str w1, [x29, 216]
str w2, [x29, 212]
str x3, [x29, 200]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 312]
mov x1, 0
mov x0, sp
mov x28, x0
ldr w1, [x29, 220]
ldr w0, [x29, 216]
add w0, w1, w0
str w0, [x29, 260]
ldr w19, [x29, 260]
sxtw x0, w19
sub x0, x0, #1
str x0, [x29, 272]
sxtw x0, w19
mov x6, x0
mov x7, 0
lsr x0, x6, 58
lsl x5, x7, 6
orr x5, x0, x5
lsl x4, x6, 6
ldrsw x1, [x29, 260]
ldrsw x0, [x29, 260]
mul x0, x1, x0
lsl x0, x0, 3
bl malloc
str x0, [x29, 280]
str wzr, [x29, 224]
b .L68
.L71:
str wzr, [x29, 228]
b .L69
.L70:
ldrsw x1, [x29, 224]
sxtw x0, w19
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 280]
add x0, x1, x0
ldrsw x1, [x29, 228]
mov x2, 225833675390976
movk x2, 0x41cd, lsl 48
fmov d0, x2
str d0, [x0, x1, lsl 3]
ldr w0, [x29, 228]
add w0, w0, 1
str w0, [x29, 228]
.L69:
ldr w1, [x29, 228]
ldr w0, [x29, 260]
cmp w1, w0
blt .L70
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L68:
ldr w1, [x29, 224]
ldr w0, [x29, 260]
cmp w1, w0
blt .L71
str wzr, [x29, 232]
b .L72
.L73:
ldrsw x0, [x29, 232]
lsl x0, x0, 3
ldr x1, [x29, 200]
add x0, x1, x0
ldr w0, [x0]
str w0, [x29, 264]
ldrsw x0, [x29, 232]
lsl x0, x0, 3
ldr x1, [x29, 200]
add x0, x1, x0
ldr w0, [x0, 4]
str w0, [x29, 268]
ldrsw x1, [x29, 268]
sxtw x0, w19
mul x0, x1, x0
lsl x0, x0, 3
ldr x1, [x29, 280]
add x0, x1, x0
ldrsw x1, [x29, 264]
fmov d0, 1.0e+0
str d0, [x0, x1, lsl 3]
ldrsw x2, [x29, 264]
sxtw x1, w19
mul x1, x2, x1
lsl x1, x1, 3
ldr x2, [x29, 280]
add x1, x2, x1
ldrsw x2, [x29, 264]
ldr d0, [x0, x2, lsl 3]
ldrsw x0, [x29, 268]
str d0, [x1, x0, lsl 3]
ldr w0, [x29, 232]
add w0, w0, 1
str w0, [x29, 232]
.L72:
ldr w1, [x29, 232]
ldr w0, [x29, 212]
cmp w1, w0
blt .L73
ldr w1, [x29, 260]
ldr w2, [x29, 260]
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 288]
sxtw x0, w1
str x0, [x29, 128]
str xzr, [x29, 136]
ldp x4, x5, [x29, 128]
mov x0, x4
lsr x0, x0, 59
mov x3, x5
lsl x3, x3, 5
str x3, [x29, 184]
ldr x3, [x29, 184]
orr x0, x0, x3
str x0, [x29, 184]
mov x0, x4
lsl x0, x0, 5
str x0, [x29, 176]
sxtw x0, w1
lsl x19, x0, 2
sxtw x0, w2
sub x0, x0, #1
str x0, [x29, 296]
sxtw x0, w1
mov x26, x0
mov x27, 0
sxtw x0, w2
mov x24, x0
mov x25, 0
mul x3, x26, x24
umulh x0, x26, x24
madd x0, x27, x24, x0
madd x0, x26, x25, x0
str x3, [x29, 112]
str x0, [x29, 120]
ldp x4, x5, [x29, 112]
mov x0, x4
lsr x0, x0, 59
mov x3, x5
lsl x3, x3, 5
str x3, [x29, 168]
ldr x3, [x29, 168]
orr x0, x0, x3
str x0, [x29, 168]
mov x0, x4
lsl x0, x0, 5
str x0, [x29, 160]
sxtw x0, w1
mov x22, x0
mov x23, 0
sxtw x0, w2
mov x20, x0
mov x21, 0
mul x3, x22, x20
umulh x0, x22, x20
madd x0, x23, x20, x0
madd x0, x22, x21, x0
str x3, [x29, 96]
str x0, [x29, 104]
ldp x4, x5, [x29, 96]
mov x0, x4
lsr x0, x0, 59
mov x3, x5
lsl x3, x3, 5
str x3, [x29, 152]
ldr x3, [x29, 152]
orr x0, x0, x3
str x0, [x29, 152]
mov x0, x4
lsl x0, x0, 5
str x0, [x29, 144]
sxtw x1, w1
sxtw x0, w2
mul x0, x1, x0
lsl x0, x0, 2
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L74:
cmp sp, x1
beq .L75
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L74
.L75:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L76
str xzr, [sp, 1024]
.L76:
add x0, sp, 16
add x0, x0, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 304]
str wzr, [x29, 236]
b .L77
.L80:
str wzr, [x29, 240]
b .L78
.L79:
lsr x1, x19, 2
ldr x0, [x29, 304]
ldrsw x2, [x29, 240]
ldrsw x3, [x29, 236]
mul x1, x3, x1
add x1, x2, x1
str wzr, [x0, x1, lsl 2]
ldr w0, [x29, 240]
add w0, w0, 1
str w0, [x29, 240]
.L78:
ldr w1, [x29, 240]
ldr w0, [x29, 260]
cmp w1, w0
blt .L79
ldr w0, [x29, 236]
add w0, w0, 1
str w0, [x29, 236]
.L77:
ldr w1, [x29, 236]
ldr w0, [x29, 260]
cmp w1, w0
blt .L80
str wzr, [x29, 244]
b .L81
.L84:
ldr w0, [x29, 244]
add w0, w0, 1
str w0, [x29, 248]
b .L82
.L83:
ldr w2, [x29, 244]
ldr w1, [x29, 248]
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl printf
ldr x6, [x29, 304]
ldr x5, [x29, 280]
ldr x4, [x29, 200]
ldr w3, [x29, 212]
ldr w2, [x29, 260]
ldr w1, [x29, 248]
ldr w0, [x29, 244]
bl print_link_ctn
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl puts
ldr w0, [x29, 248]
add w0, w0, 1
str w0, [x29, 248]
.L82:
ldr w1, [x29, 248]
ldr w0, [x29, 220]
cmp w1, w0
blt .L83
ldr w0, [x29, 244]
add w0, w0, 1
str w0, [x29, 244]
.L81:
ldr w1, [x29, 244]
ldr w0, [x29, 220]
cmp w1, w0
blt .L84
str wzr, [x29, 252]
b .L85
.L89:
str wzr, [x29, 256]
b .L86
.L88:
lsr x1, x19, 2
ldr x0, [x29, 304]
ldrsw x2, [x29, 256]
ldrsw x3, [x29, 252]
mul x1, x3, x1
add x1, x2, x1
ldr w0, [x0, x1, lsl 2]
cmp w0, 0
beq .L87
lsr x1, x19, 2
ldr x0, [x29, 304]
ldrsw x2, [x29, 256]
ldrsw x3, [x29, 252]
mul x1, x3, x1
add x1, x2, x1
ldr w0, [x0, x1, lsl 2]
mov w1, w0
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl printf
.L87:
ldr w0, [x29, 256]
add w0, w0, 1
str w0, [x29, 256]
.L86:
ldr w1, [x29, 256]
ldr w0, [x29, 220]
cmp w1, w0
blt .L88
ldr w0, [x29, 252]
add w0, w0, 1
str w0, [x29, 252]
.L85:
ldr w1, [x29, 252]
ldr w0, [x29, 220]
cmp w1, w0
blt .L89
ldr x0, [x29, 280]
bl free
mov sp, x28
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 312]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L90
bl __stack_chk_fail
.L90:
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldp x27, x28, [sp, 80]
ldp x29, x30, [sp], 320
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 28
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE11:
.size print_routes, .-print_routes
.section .rodata
.align 3
.LC19:
.string "r"
.align 3
.LC20:
.string "File not found\n"
.align 3
.LC21:
.string "%d %d %d"
.align 3
.LC22:
.string "%d %d"
.text
.align 2
.global read_property
.type read_property, %function
read_property:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str x4, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
adrp x0, .LC19
add x1, x0, :lo12:.LC19
ldr x0, [sp, 56]
bl fopen
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L92
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 15
mov x1, 1
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl fwrite
mov w0, 1
bl exit
.L92:
ldr x4, [sp, 32]
ldr x3, [sp, 40]
ldr x2, [sp, 48]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
ldr x0, [sp, 80]
bl __isoc99_fscanf
ldr x0, [sp, 24]
str wzr, [x0]
b .L93
.L94:
ldr x0, [sp, 24]
ldr w0, [x0]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0]
.L93:
add x1, sp, 76
add x0, sp, 72
mov x3, x1
mov x2, x0
adrp x0, .LC22
add x1, x0, :lo12:.LC22
ldr x0, [sp, 80]
bl __isoc99_fscanf
cmn w0, #1
bne .L94
ldr x0, [sp, 80]
bl fclose
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 88]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L95
bl __stack_chk_fail
.L95:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size read_property, .-read_property
.align 2
.global read_edge
.type read_edge, %function
read_edge:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
adrp x0, .LC19
add x1, x0, :lo12:.LC19
ldr x0, [sp, 24]
bl fopen
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L97
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 15
mov x1, 1
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl fwrite
mov w0, 1
bl exit
.L97:
add x2, sp, 48
add x1, sp, 44
add x0, sp, 40
mov x4, x2
mov x3, x1
mov x2, x0
adrp x0, .LC21
add x1, x0, :lo12:.LC21
ldr x0, [sp, 64]
bl __isoc99_fscanf
str wzr, [sp, 60]
b .L98
.L99:
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr w1, [sp, 52]
str w1, [x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr w1, [sp, 56]
str w1, [x0, 4]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L98:
add x1, sp, 56
add x0, sp, 52
mov x3, x1
mov x2, x0
adrp x0, .LC22
add x1, x0, :lo12:.LC22
ldr x0, [sp, 64]
bl __isoc99_fscanf
cmn w0, #1
bne .L99
ldr x0, [sp, 64]
bl fclose
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 72]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L100
bl __stack_chk_fail
.L100:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size read_edge, .-read_edge
.section .rodata
.align 3
.LC23:
.string "%s filename\n"
.text
.align 2
.global check_args
.type check_args, %function
check_args:
.LFB14:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
ldr w0, [sp, 28]
cmp w0, 2
beq .L103
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 16]
ldr x0, [x0]
mov x2, x0
adrp x0, .LC23
add x1, x0, :lo12:.LC23
mov x0, x3
bl fprintf
mov w0, 1
bl exit
.L103:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size check_args, .-check_args
.align 2
.global dfs
.type dfs, %function
dfs:
.LFB15:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str w0, [sp, 60]
str x1, [sp, 48]
str w2, [sp, 56]
str x3, [sp, 40]
str w4, [sp, 36]
str x5, [sp, 24]
str x6, [sp, 16]
ldrsw x0, [sp, 56]
sub x0, x0, #1
str x0, [sp, 72]
ldrsw x0, [sp, 56]
mov x10, x0
mov x11, 0
lsr x0, x10, 59
lsl x9, x11, 5
orr x9, x0, x9
lsl x8, x10, 5
adrp x0, _n
add x0, x0, :lo12:_n
ldr w0, [x0]
add w2, w0, 1
adrp x1, _n
add x1, x1, :lo12:_n
str w2, [x1]
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr w2, [sp, 60]
ldr w1, [sp, 36]
add w1, w2, w1
str w1, [x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
mov w1, 1
str w1, [x0]
str wzr, [sp, 68]
b .L105
.L107:
ldrsw x1, [sp, 60]
ldrsw x0, [sp, 56]
mul x0, x1, x0
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldrsw x1, [sp, 68]
ldr w0, [x0, x1, lsl 2]
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
cmn w0, #1
bne .L106
ldrsw x1, [sp, 60]
ldrsw x0, [sp, 56]
mul x0, x1, x0
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldrsw x1, [sp, 68]
ldr w0, [x0, x1, lsl 2]
ldr x6, [sp, 16]
ldr x5, [sp, 24]
ldr w4, [sp, 36]
ldr x3, [sp, 40]
ldr w2, [sp, 56]
ldr x1, [sp, 48]
bl dfs
.L106:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L105:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 48]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 68]
cmp w1, w0
blt .L107
nop
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size dfs, .-dfs
.align 2
.global exchange_switch
.type exchange_switch, %function
exchange_switch:
.LFB16:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
stp x20, x21, [sp, 16]
stp x22, x23, [sp, 32]
.cfi_offset 20, -160
.cfi_offset 21, -152
.cfi_offset 22, -144
.cfi_offset 23, -136
str w0, [sp, 76]
str w1, [sp, 72]
str w2, [sp, 68]
str w3, [sp, 64]
str x4, [sp, 56]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
bl malloc
str x0, [sp, 120]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
bl malloc
str x0, [sp, 128]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
bl malloc
str x0, [sp, 136]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
bl malloc
str x0, [sp, 144]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
bl malloc
str x0, [sp, 152]
ldrsw x0, [sp, 68]
sub x0, x0, #1
str x0, [sp, 160]
ldrsw x0, [sp, 68]
mov x22, x0
mov x23, 0
lsr x0, x22, 59
lsl x21, x23, 5
orr x21, x0, x21
lsl x20, x22, 5
ldrsw x1, [sp, 72]
ldrsw x0, [sp, 68]
mul x0, x1, x0
lsl x0, x0, 2
bl malloc
str x0, [sp, 168]
str wzr, [sp, 80]
b .L109
.L112:
ldrsw x0, [sp, 80]
lsl x0, x0, 2
ldr x1, [sp, 128]
add x0, x1, x0
mov w1, -1
str w1, [x0]
ldrsw x1, [sp, 80]
lsl x1, x1, 2
ldr x2, [sp, 120]
add x1, x2, x1
ldr w0, [x0]
str w0, [x1]
ldrsw x0, [sp, 80]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
str wzr, [x0]
ldrsw x1, [sp, 80]
lsl x1, x1, 2
ldr x2, [sp, 144]
add x1, x2, x1
ldr w0, [x0]
str w0, [x1]
str wzr, [sp, 84]
b .L110
.L111:
ldrsw x1, [sp, 80]
ldrsw x0, [sp, 68]
mul x0, x1, x0
lsl x0, x0, 2
ldr x1, [sp, 168]
add x0, x1, x0
ldrsw x1, [sp, 84]
mov w2, -1
str w2, [x0, x1, lsl 2]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L110:
ldr w1, [sp, 84]
ldr w0, [sp, 68]
cmp w1, w0
blt .L111
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L109:
ldr w1, [sp, 80]
ldr w0, [sp, 72]
cmp w1, w0
blt .L112
str wzr, [sp, 88]
b .L113
.L117:
ldrsw x0, [sp, 88]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 112]
ldrsw x0, [sp, 88]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0, 4]
str w0, [sp, 116]
ldr w1, [sp, 112]
ldr w0, [sp, 76]
cmp w1, w0
blt .L114
ldr w1, [sp, 116]
ldr w0, [sp, 76]
cmp w1, w0
blt .L114
ldr w1, [sp, 112]
ldr w0, [sp, 76]
sub w0, w1, w0
sxtw x1, w0
ldrsw x0, [sp, 68]
mul x0, x1, x0
lsl x0, x0, 2
ldr x1, [sp, 168]
add x0, x1, x0
ldr w2, [sp, 112]
ldr w1, [sp, 76]
sub w1, w2, w1
sxtw x1, w1
lsl x1, x1, 2
ldr x2, [sp, 144]
add x1, x2, x1
ldr w3, [x1]
ldr w2, [sp, 116]
ldr w1, [sp, 76]
sub w2, w2, w1
sxtw x1, w3
str w2, [x0, x1, lsl 2]
ldr w1, [sp, 116]
ldr w0, [sp, 76]
sub w0, w1, w0
sxtw x1, w0
ldrsw x0, [sp, 68]
mul x0, x1, x0
lsl x0, x0, 2
ldr x1, [sp, 168]
add x0, x1, x0
ldr w2, [sp, 116]
ldr w1, [sp, 76]
sub w1, w2, w1
sxtw x1, w1
lsl x1, x1, 2
ldr x2, [sp, 144]
add x1, x2, x1
ldr w3, [x1]
ldr w2, [sp, 112]
ldr w1, [sp, 76]
sub w2, w2, w1
sxtw x1, w3
str w2, [x0, x1, lsl 2]
ldr w1, [sp, 112]
ldr w0, [sp, 76]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 144]
add x0, x1, x0
ldr w1, [x0]
add w1, w1, 1
str w1, [x0]
ldr w1, [sp, 116]
ldr w0, [sp, 76]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 144]
add x0, x1, x0
ldr w1, [x0]
add w1, w1, 1
str w1, [x0]
b .L115
.L114:
ldr w1, [sp, 112]
ldr w0, [sp, 76]
cmp w1, w0
blt .L116
ldr w1, [sp, 112]
ldr w0, [sp, 76]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w1, [x0]
add w1, w1, 1
str w1, [x0]
b .L115
.L116:
ldr w1, [sp, 116]
ldr w0, [sp, 76]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w1, [x0]
add w1, w1, 1
str w1, [x0]
.L115:
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L113:
ldr w1, [sp, 88]
ldr w0, [sp, 64]
cmp w1, w0
blt .L117
str wzr, [sp, 92]
b .L118
.L119:
ldrsw x0, [sp, 92]
lsl x0, x0, 2
ldr x1, [sp, 136]
add x0, x1, x0
mov w1, -1
str w1, [x0]
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L118:
ldr w1, [sp, 92]
ldr w0, [sp, 76]
cmp w1, w0
blt .L119
ldr x6, [sp, 128]
ldr x5, [sp, 120]
ldr w4, [sp, 76]
ldr x3, [sp, 168]
ldr w2, [sp, 68]
ldr x1, [sp, 144]
mov w0, 0
bl dfs
str wzr, [sp, 96]
str wzr, [sp, 100]
b .L120
.L123:
str wzr, [sp, 104]
b .L121
.L122:
ldrsw x0, [sp, 100]
lsl x0, x0, 2
ldr x1, [sp, 128]
add x1, x1, x0
ldr w0, [sp, 96]
add w2, w0, 1
str w2, [sp, 96]
sxtw x0, w0
lsl x0, x0, 2
ldr x2, [sp, 136]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w0, [sp, 104]
add w0, w0, 1
str w0, [sp, 104]
.L121:
ldrsw x0, [sp, 100]
lsl x0, x0, 2
ldr x1, [sp, 128]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 76]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 104]
cmp w1, w0
blt .L122
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
.L120:
ldr w1, [sp, 100]
ldr w0, [sp, 72]
cmp w1, w0
blt .L123
str wzr, [sp, 96]
str wzr, [sp, 108]
b .L124
.L127:
ldrsw x0, [sp, 108]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 76]
cmp w1, w0
ble .L125
ldr w0, [sp, 96]
add w1, w0, 1
str w1, [sp, 96]
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 136]
add x1, x1, x0
ldrsw x0, [sp, 108]
lsl x0, x0, 3
ldr x2, [sp, 56]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0, 4]
b .L126
.L125:
ldrsw x0, [sp, 108]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0, 4]
ldr w1, [sp, 76]
cmp w1, w0
ble .L126
ldr w0, [sp, 96]
add w1, w0, 1
str w1, [sp, 96]
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 136]
add x1, x1, x0
ldrsw x0, [sp, 108]
lsl x0, x0, 3
ldr x2, [sp, 56]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
.L126:
ldr w0, [sp, 108]
add w0, w0, 1
str w0, [sp, 108]
.L124:
ldr w1, [sp, 108]
ldr w0, [sp, 64]
cmp w1, w0
blt .L127
ldr x0, [sp, 120]
bl free
ldr x0, [sp, 128]
bl free
ldr x0, [sp, 136]
bl free
ldr x0, [sp, 144]
bl free
ldr x0, [sp, 152]
bl free
ldr x0, [sp, 168]
bl free
nop
ldp x20, x21, [sp, 16]
ldp x22, x23, [sp, 32]
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_restore 22
.cfi_restore 23
.cfi_restore 20
.cfi_restore 21
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size exchange_switch, .-exchange_switch
.section .rodata
.align 3
.LC24:
.string "h = %d s = %d r = %d edges = %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB17:
.cfi_startproc
stp x29, x30, [sp, -320]!
.cfi_def_cfa_offset 320
.cfi_offset 29, -320
.cfi_offset 30, -312
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 312]
mov x1, 0
mov w0, -1
str w0, [sp, 32]
mov w0, -1
str w0, [sp, 36]
mov w0, -1
str w0, [sp, 40]
mov w0, -1
str w0, [sp, 44]
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl check_args
ldr x0, [sp, 16]
add x0, x0, 8
ldr x1, [x0]
add x0, sp, 56
bl strcpy
add x4, sp, 44
add x3, sp, 40
add x2, sp, 36
add x1, sp, 32
add x0, sp, 56
bl read_property
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x6, [x0]
ldr w0, [sp, 32]
ldr w1, [sp, 36]
ldr w2, [sp, 40]
ldr w3, [sp, 44]
mov w5, w3
mov w4, w2
mov w3, w1
mov w2, w0
adrp x0, .LC24
add x1, x0, :lo12:.LC24
mov x0, x6
bl fprintf
ldr w0, [sp, 44]
sxtw x0, w0
lsl x0, x0, 3
bl malloc
str x0, [sp, 48]
add x0, sp, 56
ldr x1, [sp, 48]
bl read_edge
ldr w0, [sp, 32]
ldr w1, [sp, 36]
ldr w2, [sp, 40]
ldr w3, [sp, 44]
ldr x4, [sp, 48]
bl exchange_switch
bl print_header
ldr w0, [sp, 32]
bl print_hosts
ldr w0, [sp, 32]
ldr w1, [sp, 44]
ldr x2, [sp, 48]
bl print_lines
ldr w0, [sp, 32]
ldr w1, [sp, 36]
ldr w2, [sp, 44]
ldr x3, [sp, 48]
bl print_routes
bl print_footer
ldr x0, [sp, 48]
bl free
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 312]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L130
bl __stack_chk_fail
.L130:
mov w0, w1
ldp x29, x30, [sp], 320
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size main, .-main
.section .rodata
.align 3
.LC14:
.word -417264663
.word 1072693245
.align 3
.LC15:
.word -1598689907
.word 1051772663
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "w"
.align 3
.LC1:
.string "upper.txt"
.align 3
.LC2:
.string "r"
.align 3
.LC3:
.string "%c"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
bl getchar
and w0, w0, 255
strb w0, [sp, 31]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fopen
str x0, [sp, 32]
.L4:
ldrb w0, [sp, 31]
bl toupper
ldr x1, [sp, 32]
bl fputc
bl getchar
and w0, w0, 255
strb w0, [sp, 31]
ldrb w0, [sp, 31]
cmp w0, 33
beq .L10
b .L4
.L10:
nop
ldr x0, [sp, 32]
bl fclose
adrp x0, .LC2
add x1, x0, :lo12:.LC2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fopen
str x0, [sp, 32]
b .L5
.L6:
ldrb w0, [sp, 31]
bl putchar
.L5:
add x0, sp, 31
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 32]
bl __isoc99_fscanf
cmn w0, #1
bne .L6
ldr x0, [sp, 32]
bl fclose
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L8
bl __stack_chk_fail
.L8:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |