text
stringlengths 197
24.1M
|
---|
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global adler32
.type adler32, %function
adler32:
.LFB6:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, 24]
str x1, [sp, 16]
str w2, [sp, 12]
ldr x0, [sp, 24]
and x0, x0, 65535
str x0, [sp, 48]
ldr x0, [sp, 24]
lsr x0, x0, 16
and x0, x0, 65535
str x0, [sp, 56]
ldr x0, [sp, 16]
cmp x0, 0
bne .L4
mov x0, 1
b .L3
.L9:
ldr w3, [sp, 12]
mov w2, 5552
ldr w1, [sp, 12]
mov w0, 5552
cmp w3, w2
csel w0, w1, w0, ls
str w0, [sp, 44]
ldr w0, [sp, 44]
ldr w1, [sp, 12]
sub w0, w1, w0
str w0, [sp, 12]
b .L5
.L6:
ldr x0, [sp, 16]
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 1
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 2
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 3
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 4
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 5
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 6
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 7
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 8
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 9
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 10
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 11
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 12
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 13
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 14
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 15
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 16
str x0, [sp, 16]
ldr w0, [sp, 44]
sub w0, w0, #16
str w0, [sp, 44]
.L5:
ldr w0, [sp, 44]
cmp w0, 15
bgt .L6
ldr w0, [sp, 44]
cmp w0, 0
beq .L7
.L8:
ldr x0, [sp, 16]
add x1, x0, 1
str x1, [sp, 16]
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr w0, [sp, 44]
sub w0, w0, #1
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bne .L8
.L7:
ldr x1, [sp, 48]
mov x0, 50637
movk x0, 0xd2f, lsl 16
movk x0, 0xe1, lsl 32
movk x0, 0xf, lsl 48
umulh x0, x1, x0
sub x2, x1, x0
lsr x2, x2, 1
add x0, x0, x2
lsr x2, x0, 15
mov x0, x2
lsl x0, x0, 12
sub x0, x0, x2
lsl x0, x0, 4
add x0, x0, x2
sub x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 56]
mov x0, 50637
movk x0, 0xd2f, lsl 16
movk x0, 0xe1, lsl 32
movk x0, 0xf, lsl 48
umulh x0, x1, x0
sub x2, x1, x0
lsr x2, x2, 1
add x0, x0, x2
lsr x2, x0, 15
mov x0, x2
lsl x0, x0, 12
sub x0, x0, x2
lsl x0, x0, 4
add x0, x0, x2
sub x0, x1, x0
str x0, [sp, 56]
.L4:
ldr w0, [sp, 12]
cmp w0, 0
bne .L9
ldr x0, [sp, 56]
lsl x1, x0, 16
ldr x0, [sp, 48]
orr x0, x1, x0
.L3:
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size adler32, .-adler32
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%s"
.text
.align 2
.global restrict_cases
.type restrict_cases, %function
restrict_cases:
.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 x1, [sp, 32]
str x2, [sp, 24]
ldr x1, [sp, 40]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x1, [sp, 32]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x1, [sp, 24]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size restrict_cases, .-restrict_cases
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.data
.align 3
.type gPadding, %object
.size gPadding, 8
gPadding:
.xword 16
.local gBodyPadding
.comm gBodyPadding,8,8
.local gPadding_is_max
.comm gPadding_is_max,4,4
.text
.align 2
.type read32bitLE, %function
read32bitLE:
.LFB6:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str wzr, [sp, 28]
mov w0, 3
str w0, [sp, 24]
b .L2
.L3:
ldr w0, [sp, 28]
lsl w0, w0, 8
str w0, [sp, 28]
ldrsw x0, [sp, 24]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 28]
orr w0, w0, w1
str w0, [sp, 28]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
.L2:
ldr w0, [sp, 24]
cmp w0, 0
bge .L3
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size read32bitLE, .-read32bitLE
.align 2
.type read16bitLE, %function
read16bitLE:
.LFB7:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str wzr, [sp, 28]
mov w0, 1
str w0, [sp, 24]
b .L6
.L7:
ldr w0, [sp, 28]
lsl w0, w0, 8
str w0, [sp, 28]
ldrsw x0, [sp, 24]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 28]
orr w0, w0, w1
str w0, [sp, 28]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
.L6:
ldr w0, [sp, 24]
cmp w0, 0
bge .L7
ldr w0, [sp, 28]
sxth w0, w0
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size read16bitLE, .-read16bitLE
.section .rodata
.align 3
.LC0:
.string "error seek for copy"
.align 3
.LC1:
.string "error reading for copy: eof\n"
.align 3
.LC2:
.string "reading for copy"
.align 3
.LC3:
.string "error writing for copy: eof\n"
.align 3
.LC4:
.string "writing for copy"
.text
.align 2
.global copy_bytes
.type copy_bytes, %function
copy_bytes:
.LFB9:
.cfi_startproc
sub sp, sp, #2144
.cfi_def_cfa_offset 2144
stp x29, x30, [sp]
.cfi_offset 29, -2144
.cfi_offset 30, -2136
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 2136]
mov x1, 0
mov w2, 0
ldr x1, [sp, 24]
ldr x0, [sp, 40]
bl fseek
str w0, [sp, 60]
ldr w0, [sp, 60]
cmn w0, #1
bne .L11
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl perror
mov w0, 1
bl exit
.L18:
ldr x0, [sp, 16]
mov x1, 2048
cmp x0, 2048
csel x0, x0, x1, ls
str x0, [sp, 72]
ldr x1, [sp, 72]
add x0, sp, 88
ldr x3, [sp, 40]
mov x2, x1
mov x1, 1
bl fread
str x0, [sp, 80]
ldr x0, [sp, 72]
ldr x1, [sp, 80]
cmp x1, x0
beq .L12
bl __errno_location
ldr w0, [x0]
str w0, [sp, 68]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
ldr x0, [sp, 40]
bl feof
cmp w0, 0
beq .L13
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 28
mov x1, 1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fwrite
b .L14
.L13:
bl __errno_location
mov x1, x0
ldr w0, [sp, 68]
str w0, [x1]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl perror
.L14:
mov w0, 1
bl exit
.L12:
ldr x1, [sp, 72]
add x0, sp, 88
ldr x3, [sp, 32]
mov x2, x1
mov x1, 1
bl fwrite
str x0, [sp, 80]
ldr x0, [sp, 72]
ldr x1, [sp, 80]
cmp x1, x0
beq .L15
bl __errno_location
ldr w0, [x0]
str w0, [sp, 64]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
ldr x0, [sp, 32]
bl feof
cmp w0, 0
beq .L16
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 28
mov x1, 1
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl fwrite
b .L17
.L16:
bl __errno_location
mov x1, x0
ldr w0, [sp, 64]
str w0, [x1]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl perror
.L17:
mov w0, 1
bl exit
.L15:
ldr x1, [sp, 16]
ldr x0, [sp, 72]
sub x0, x1, x0
str x0, [sp, 16]
.L11:
ldr x0, [sp, 16]
cmp x0, 0
bgt .L18
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 2136]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L19
bl __stack_chk_fail
.L19:
ldp x29, x30, [sp]
add sp, sp, 2144
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size copy_bytes, .-copy_bytes
.global fsb3headmagic
.section .rodata
.align 3
.type fsb3headmagic, %object
.size fsb3headmagic, 4
fsb3headmagic:
.ascii "FSB3"
.global fsb4headmagic
.align 3
.type fsb4headmagic, %object
.size fsb4headmagic, 4
fsb4headmagic:
.ascii "FSB4"
.global fsb3headsize
.align 2
.type fsb3headsize, %object
.size fsb3headsize, 4
fsb3headsize:
.word 24
.global fsb4headsize
.align 2
.type fsb4headsize, %object
.size fsb4headsize, 4
fsb4headsize:
.word 48
.global maxheadsize
.align 2
.type maxheadsize, %object
.size maxheadsize, 4
maxheadsize:
.word 48
.text
.align 2
.global test_fsb_header
.type test_fsb_header, %function
test_fsb_header:
.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]
mov x2, 4
adrp x0, fsb3headmagic
add x1, x0, :lo12:fsb3headmagic
ldr x0, [sp, 24]
bl memcmp
cmp w0, 0
bne .L21
mov w0, 24
str w0, [sp, 40]
b .L22
.L21:
mov x2, 4
adrp x0, fsb4headmagic
add x1, x0, :lo12:fsb4headmagic
ldr x0, [sp, 24]
bl memcmp
cmp w0, 0
bne .L23
mov w0, 48
str w0, [sp, 40]
b .L22
.L23:
mov w0, 0
b .L24
.L22:
ldr x0, [sp, 24]
add x0, x0, 4
bl read32bitLE
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bgt .L25
mov w0, 0
b .L24
.L25:
ldr x0, [sp, 24]
add x0, x0, 8
bl read32bitLE
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 0
bgt .L26
mov w0, 0
b .L24
.L26:
ldr x0, [sp, 24]
add x0, x0, 12
bl read32bitLE
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bgt .L27
mov w0, 0
b .L24
.L27:
ldrsw x1, [sp, 40]
ldrsw x0, [sp, 48]
add x1, x1, x0
ldrsw x0, [sp, 52]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 56]
mov w1, w0
ldr x0, [sp, 16]
str w1, [x0]
mov w0, 1
.L24:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size test_fsb_header, .-test_fsb_header
.section .rodata
.align 3
.LC5:
.string "error seeking to file end"
.align 3
.LC6:
.string "error getting file size"
.align 3
.LC7:
.string "error seeking to file start"
.align 3
.LC8:
.string "error reading magic: eof\n"
.align 3
.LC9:
.string "reading magic"
.align 3
.LC10:
.string "Type: FSB3"
.align 3
.LC11:
.string "Type: FSB4"
.align 3
.LC12:
.string "error reading header: eof\n"
.align 3
.LC13:
.string "reading header"
.align 3
.LC14:
.string "error bad stream count\n"
.align 3
.LC15:
.string "error bad table size\n"
.align 3
.LC16:
.string "error bad body size\n"
.align 3
.LC17:
.string "Header: 0x%x bytes\n"
.align 3
.LC18:
.string "Table: 0x%x bytes\n"
.align 3
.LC19:
.string "Body: 0x%x bytes\n"
.align 3
.LC20:
.string "------------------"
.align 3
.LC21:
.string "Total: 0x%lx bytes\n"
.align 3
.LC22:
.string "File: 0x%lx bytes\n"
.align 3
.LC23:
.string "error file size less than FSB size, truncated?\n"
.align 3
.LC24:
.string ""
.align 3
.LC25:
.string "s"
.align 3
.LC26:
.string "%d subfile%s\n\n"
.align 3
.LC27:
.string "error seeking to table entry"
.align 3
.LC28:
.string "error reading table entry header: eof\n"
.align 3
.LC29:
.string "reading table entry header"
.align 3
.LC30:
.string "error entry too small\n"
.align 3
.LC31:
.string "error malloc"
.align 3
.LC32:
.string "%0*u_%s"
.align 3
.LC33:
.string "%d: %s header 0x%02x entry 0x%04x (+0x%04x padding) body 0x%08x (+0x%04x padding) (0x%08x)\n"
.align 3
.LC34:
.string "%u channel%s (%d streams), %u samples\n"
.text
.align 2
.global try_multistream_fsb
.type try_multistream_fsb, %function
try_multistream_fsb:
.LFB11:
.cfi_startproc
stp x29, x30, [sp, -304]!
.cfi_def_cfa_offset 304
.cfi_offset 29, -304
.cfi_offset 30, -296
mov x29, sp
.cfi_def_cfa_register 29
str x19, [sp, 16]
sub sp, sp, #16
.cfi_offset 19, -288
str x0, [x29, 40]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 296]
mov x1, 0
mov x0, sp
mov x19, x0
mov w0, 48
sxtw x0, w0
sub x0, x0, #1
str x0, [x29, 136]
mov w0, 48
sxtw x0, w0
mov x8, x0
mov x9, 0
lsr x0, x8, 61
lsl x5, x9, 3
orr x5, x0, x5
lsl x4, x8, 3
mov w0, 48
sxtw x0, w0
mov x6, x0
mov x7, 0
lsr x0, x6, 61
lsl x3, x7, 3
orr x3, x0, x3
lsl x2, x6, 3
mov w0, 48
sxtw x0, w0
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L29:
cmp sp, x1
beq .L30
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L29
.L30:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L31
str xzr, [sp, 1024]
.L31:
add x0, sp, 16
add x0, x0, 0
str x0, [x29, 144]
mov w2, 2
mov x1, 0
ldr x0, [x29, 40]
bl fseek
str w0, [x29, 72]
ldr w0, [x29, 72]
cmn w0, #1
bne .L32
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl perror
mov w0, 1
bl exit
.L32:
ldr x0, [x29, 40]
bl ftell
str x0, [x29, 152]
ldr x0, [x29, 152]
cmn x0, #1
bne .L33
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl perror
mov w0, 1
bl exit
.L33:
mov w2, 0
mov x1, 0
ldr x0, [x29, 40]
bl fseek
str w0, [x29, 72]
ldr w0, [x29, 72]
cmn w0, #1
bne .L34
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl perror
mov w0, 1
bl exit
.L34:
ldr x3, [x29, 40]
mov x2, 4
mov x1, 1
ldr x0, [x29, 144]
bl fread
str x0, [x29, 160]
ldr x0, [x29, 160]
cmp x0, 4
beq .L35
bl __errno_location
ldr w0, [x0]
str w0, [x29, 116]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
ldr x0, [x29, 40]
bl feof
cmp w0, 0
beq .L36
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 25
mov x1, 1
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl fwrite
b .L37
.L36:
bl __errno_location
mov x1, x0
ldr w0, [x29, 116]
str w0, [x1]
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl perror
.L37:
mov w0, 1
bl exit
.L35:
ldr x3, [x29, 144]
mov x2, 4
adrp x0, fsb3headmagic
add x1, x0, :lo12:fsb3headmagic
mov x0, x3
bl memcmp
cmp w0, 0
bne .L38
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl puts
mov w0, 24
str w0, [x29, 64]
str wzr, [x29, 76]
b .L39
.L38:
ldr x3, [x29, 144]
mov x2, 4
adrp x0, fsb4headmagic
add x1, x0, :lo12:fsb4headmagic
mov x0, x3
bl memcmp
cmp w0, 0
bne .L40
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
mov w0, 48
str w0, [x29, 64]
mov w0, 1
str w0, [x29, 76]
b .L39
.L40:
mov w0, 0
b .L41
.L39:
ldr x0, [x29, 144]
add x4, x0, 4
ldr w0, [x29, 64]
sub w0, w0, #4
sxtw x0, w0
ldr x3, [x29, 40]
mov x2, x0
mov x1, 1
mov x0, x4
bl fread
str x0, [x29, 160]
ldr w0, [x29, 64]
sub w0, w0, #4
sxtw x0, w0
ldr x1, [x29, 160]
cmp x1, x0
beq .L42
bl __errno_location
ldr w0, [x0]
str w0, [x29, 112]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
ldr x0, [x29, 40]
bl feof
cmp w0, 0
beq .L43
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 26
mov x1, 1
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl fwrite
b .L44
.L43:
bl __errno_location
mov x1, x0
ldr w0, [x29, 112]
str w0, [x1]
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl perror
.L44:
mov w0, 1
bl exit
.L42:
ldr x0, [x29, 144]
add x0, x0, 4
bl read32bitLE
str w0, [x29, 80]
ldr w0, [x29, 80]
cmp w0, 0
bgt .L45
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 23
mov x1, 1
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl fwrite
mov w0, 1
bl exit
.L45:
ldr x0, [x29, 144]
add x0, x0, 8
bl read32bitLE
str w0, [x29, 84]
ldr w0, [x29, 84]
cmp w0, 0
bgt .L46
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 21
mov x1, 1
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl fwrite
mov w0, 1
bl exit
.L46:
ldr x0, [x29, 144]
add x0, x0, 12
bl read32bitLE
str w0, [x29, 88]
ldr w0, [x29, 88]
cmp w0, 0
bgt .L47
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 20
mov x1, 1
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl fwrite
mov w0, 1
bl exit
.L47:
ldr w0, [x29, 64]
mov w1, w0
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl printf
ldr w0, [x29, 84]
mov w1, w0
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl printf
ldr w0, [x29, 88]
mov w1, w0
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl printf
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl puts
ldrsw x1, [x29, 64]
ldrsw x0, [x29, 84]
add x1, x1, x0
ldrsw x0, [x29, 88]
add x0, x1, x0
str x0, [x29, 168]
ldr x1, [x29, 168]
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl printf
ldr x1, [x29, 152]
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl printf
ldr x0, [x29, 152]
ldr x1, [x29, 168]
cmp x1, x0
bls .L48
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 47
mov x1, 1
adrp x0, .LC23
add x0, x0, :lo12:.LC23
bl fwrite
mov w0, 1
bl exit
.L48:
ldr w0, [x29, 80]
cmp w0, 1
bne .L49
adrp x0, .LC24
add x0, x0, :lo12:.LC24
b .L50
.L49:
adrp x0, .LC25
add x0, x0, :lo12:.LC25
.L50:
mov x2, x0
ldr w1, [x29, 80]
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl printf
ldrsw x0, [x29, 64]
str x0, [x29, 120]
ldr w1, [x29, 64]
ldr w0, [x29, 84]
add w0, w1, w0
sxtw x0, w0
str x0, [x29, 128]
str wzr, [x29, 68]
b .L51
.L62:
mov w0, 64
str w0, [x29, 92]
str xzr, [x29, 176]
mov w2, 0
ldr x1, [x29, 120]
ldr x0, [x29, 40]
bl fseek
str w0, [x29, 72]
ldr w0, [x29, 72]
cmp w0, 0
beq .L52
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC27
add x0, x0, :lo12:.LC27
bl perror
mov w0, 1
bl exit
.L52:
ldrsw x1, [x29, 92]
add x0, x29, 232
ldr x3, [x29, 40]
mov x2, x1
mov x1, 1
bl fread
str x0, [x29, 160]
ldrsw x0, [x29, 92]
ldr x1, [x29, 160]
cmp x1, x0
beq .L53
bl __errno_location
ldr w0, [x0]
str w0, [x29, 108]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
ldr x0, [x29, 40]
bl feof
cmp w0, 0
beq .L54
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 38
mov x1, 1
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl fwrite
b .L55
.L54:
bl __errno_location
mov x1, x0
ldr w0, [x29, 108]
str w0, [x1]
adrp x0, .LC29
add x0, x0, :lo12:.LC29
bl perror
.L55:
mov w0, 1
bl exit
.L53:
add x0, x29, 232
bl read16bitLE
strh w0, [x29, 58]
ldrsh w0, [x29, 58]
ldr w1, [x29, 92]
cmp w1, w0
ble .L56
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 22
mov x1, 1
adrp x0, .LC30
add x0, x0, :lo12:.LC30
bl fwrite
mov w0, 1
bl exit
.L56:
ldrsh w1, [x29, 58]
ldr w0, [x29, 64]
add w0, w1, w0
negs w1, w0
and w0, w0, 15
and w1, w1, 15
csneg w0, w0, w1, mi
and w0, w0, 65535
mov w1, 16
sub w0, w1, w0
and w0, w0, 65535
strh w0, [x29, 60]
add x0, x29, 232
add x0, x0, 36
bl read32bitLE
str w0, [x29, 96]
adrp x0, gBodyPadding
add x0, x0, :lo12:gBodyPadding
ldr x0, [x0]
cmp x0, 0
beq .L57
ldrsw x1, [x29, 96]
adrp x0, gBodyPadding
add x0, x0, :lo12:gBodyPadding
ldr x0, [x0]
add x0, x1, x0
sub x1, x0, #1
adrp x0, gBodyPadding
add x0, x0, :lo12:gBodyPadding
ldr x0, [x0]
sdiv x0, x1, x0
and w1, w0, 65535
adrp x0, gBodyPadding
add x0, x0, :lo12:gBodyPadding
ldr x0, [x0]
and w0, w0, 65535
mul w0, w1, w0
and w1, w0, 65535
ldr w0, [x29, 96]
and w0, w0, 65535
sub w0, w1, w0
and w0, w0, 65535
strh w0, [x29, 56]
b .L58
.L57:
strh wzr, [x29, 56]
.L58:
add x0, x29, 200
mov x2, 31
mov w1, 0
bl memset
add x0, x29, 232
add x0, x0, 2
add x3, x29, 200
mov x2, 30
mov x1, x0
mov x0, x3
bl memcpy
ldr w0, [x29, 80]
add w0, w0, 2
scvtf d0, w0
bl log10
bl ceil
fcvtzu d0, d0
str d0, [x29, 184]
add x0, x29, 200
bl strlen
mov x1, x0
ldr x0, [x29, 184]
add x0, x1, x0
add x0, x0, 2
str x0, [x29, 192]
ldr x0, [x29, 192]
bl malloc
str x0, [x29, 176]
ldr x0, [x29, 176]
cmp x0, 0
bne .L59
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl perror
mov w0, 1
bl exit
.L59:
ldr x0, [x29, 184]
mov w1, w0
ldr w0, [x29, 68]
add w0, w0, 1
mov w2, w0
add x0, x29, 200
mov x5, x0
mov w4, w2
mov w3, w1
adrp x0, .LC32
add x2, x0, :lo12:.LC32
ldr x1, [x29, 192]
ldr x0, [x29, 176]
bl snprintf
ldr w1, [x29, 64]
ldrh w0, [x29, 58]
mov w8, w0
ldrh w0, [x29, 60]
mov w5, w0
ldr w2, [x29, 96]
ldrsh w3, [x29, 56]
ldr x0, [x29, 128]
mov w4, w0
add x0, x29, 200
str w4, [sp]
mov w7, w3
mov w6, w2
mov w4, w8
mov w3, w1
mov x2, x0
ldr w1, [x29, 68]
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl printf
add x0, x29, 232
add x0, x0, 62
bl read16bitLE
sxth w0, w0
strh w0, [x29, 62]
ldrh w0, [x29, 62]
add w0, w0, 1
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [x29, 100]
add x0, x29, 232
add x0, x0, 32
bl read32bitLE
str w0, [x29, 104]
ldrh w1, [x29, 62]
ldrh w0, [x29, 62]
cmp w0, 1
bne .L60
adrp x0, .LC24
add x0, x0, :lo12:.LC24
b .L61
.L60:
adrp x0, .LC25
add x0, x0, :lo12:.LC25
.L61:
ldr w4, [x29, 104]
ldr w3, [x29, 100]
mov x2, x0
adrp x0, .LC34
add x0, x0, :lo12:.LC34
bl printf
ldrsw x1, [x29, 96]
ldr x0, [x29, 128]
add x0, x1, x0
ldr w1, [x29, 104]
mov x5, x1
ldr w4, [x29, 100]
mov x3, x0
ldr x2, [x29, 128]
ldr x1, [x29, 176]
ldr x0, [x29, 40]
bl unpack_mpeg
mov w0, 10
bl putchar
ldr x0, [x29, 176]
bl free
str xzr, [x29, 176]
ldrsh x0, [x29, 58]
ldr x1, [x29, 120]
add x0, x1, x0
str x0, [x29, 120]
ldrsh w1, [x29, 56]
ldr w0, [x29, 96]
add w0, w1, w0
sxtw x0, w0
ldr x1, [x29, 128]
add x0, x1, x0
str x0, [x29, 128]
ldr w0, [x29, 68]
add w0, w0, 1
str w0, [x29, 68]
.L51:
ldr w1, [x29, 68]
ldr w0, [x29, 80]
cmp w1, w0
blt .L62
mov w0, 1
.L41:
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 296]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L64
bl __stack_chk_fail
.L64:
mov w0, w1
mov sp, x29
ldr x19, [sp, 16]
ldp x29, x30, [sp], 304
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE11:
.size try_multistream_fsb, .-try_multistream_fsb
.section .rodata
.align 3
.LC35:
.string "fsb_mpeg 0.12 by hcs\nusage: fsb_mpeg file.fsb [-p N] [-b N]\n -p N: assume up to N bytes of padding per frame\n -b N: assume that streams are padded to N bytes\n"
.text
.align 2
.global usage
.type usage, %function
usage:
.LFB12:
.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:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 158
mov x1, 1
adrp x0, .LC35
add x0, x0, :lo12:.LC35
bl fwrite
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size usage, .-usage
.section .rodata
.align 3
.LC36:
.string "-p"
.align 3
.LC37:
.string "missing value for -p\n"
.align 3
.LC38:
.string "invalid padding value\n"
.align 3
.LC39:
.string "-b"
.align 3
.LC40:
.string "missing value for -b\n"
.align 3
.LC41:
.string "invalid body padding value\n"
.align 3
.LC42:
.string "rb"
.align 3
.LC43:
.string "error opening input"
.align 3
.LC44:
.string "Sorry, couldn't make any sense of this file."
.align 3
.LC45:
.string "error closing input file"
.align 3
.LC46:
.string "Success!"
.text
.align 2
.global main
.type main, %function
main:
.LFB13:
.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]
ldr w0, [sp, 28]
cmp w0, 1
bgt .L67
bl usage
mov w0, 1
bl exit
.L67:
mov w0, 2
str w0, [sp, 32]
b .L68
.L74:
ldrsw x0, [sp, 32]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x2, [x0]
adrp x0, .LC36
add x1, x0, :lo12:.LC36
mov x0, x2
bl strcmp
cmp w0, 0
bne .L69
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
ldr w1, [sp, 32]
ldr w0, [sp, 28]
cmp w1, w0
blt .L70
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 21
mov x1, 1
adrp x0, .LC37
add x0, x0, :lo12:.LC37
bl fwrite
bl usage
mov w0, 1
bl exit
.L70:
ldrsw x0, [sp, 32]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x0, [x0]
mov w2, 10
mov x1, 0
bl strtol
mov x1, x0
adrp x0, gPadding
add x0, x0, :lo12:gPadding
str x1, [x0]
adrp x0, gPadding_is_max
add x0, x0, :lo12:gPadding_is_max
mov w1, 1
str w1, [x0]
adrp x0, gPadding
add x0, x0, :lo12:gPadding
ldr x0, [x0]
cmp x0, 0
bne .L71
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 22
mov x1, 1
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl fwrite
bl usage
mov w0, 1
bl exit
.L69:
ldrsw x0, [sp, 32]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x2, [x0]
adrp x0, .LC39
add x1, x0, :lo12:.LC39
mov x0, x2
bl strcmp
cmp w0, 0
bne .L72
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
ldr w1, [sp, 32]
ldr w0, [sp, 28]
cmp w1, w0
blt .L73
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 21
mov x1, 1
adrp x0, .LC40
add x0, x0, :lo12:.LC40
bl fwrite
bl usage
mov w0, 1
bl exit
.L73:
ldrsw x0, [sp, 32]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x0, [x0]
mov w2, 10
mov x1, 0
bl strtol
mov x1, x0
adrp x0, gBodyPadding
add x0, x0, :lo12:gBodyPadding
str x1, [x0]
adrp x0, gBodyPadding
add x0, x0, :lo12:gBodyPadding
ldr x0, [x0]
cmp x0, 0
bne .L71
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 27
mov x1, 1
adrp x0, .LC41
add x0, x0, :lo12:.LC41
bl fwrite
bl usage
mov w0, 1
bl exit
.L72:
bl usage
mov w0, 1
bl exit
.L71:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L68:
ldr w1, [sp, 32]
ldr w0, [sp, 28]
cmp w1, w0
blt .L74
ldr x0, [sp, 16]
add x0, x0, 8
ldr x2, [x0]
adrp x0, .LC42
add x1, x0, :lo12:.LC42
mov x0, x2
bl fopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L75
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl perror
mov w0, 1
bl exit
.L75:
ldr x0, [sp, 40]
bl try_multistream_fsb
cmp w0, 0
bne .L76
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl puts
mov w0, 1
bl exit
.L76:
ldr x0, [sp, 40]
bl fclose
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
beq .L77
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC45
add x0, x0, :lo12:.LC45
bl perror
mov w0, 1
bl exit
.L77:
adrp x0, .LC46
add x0, x0, :lo12:.LC46
bl puts
mov w0, 0
bl exit
.cfi_endproc
.LFE13:
.size main, .-main
.align 2
.global load_header
.type load_header, %function
load_header:
.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]
mov x2, 4
mov w1, 0
ldr x0, [sp, 24]
bl memset
ldr x0, [sp, 16]
ldrb w0, [x0]
cmp w0, 255
bne .L79
ldr x0, [sp, 16]
add x0, x0, 1
ldrb w0, [x0]
and w0, w0, 224
cmp w0, 224
beq .L80
.L79:
mov w0, -1
b .L81
.L80:
ldr x0, [sp, 16]
add x0, x0, 1
ldrb w0, [x0]
asr w0, w0, 3
and w0, w0, 3
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 0, 2
str w0, [x1]
ldr x0, [sp, 16]
add x0, x0, 1
ldrb w0, [x0]
asr w0, w0, 1
and w0, w0, 3
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 2, 2
str w0, [x1]
ldr x0, [sp, 16]
add x0, x0, 1
ldrb w0, [x0]
and w0, w0, 1
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 4, 1
str w0, [x1]
ldr x0, [sp, 16]
add x0, x0, 2
ldrb w0, [x0]
lsr w0, w0, 4
and w0, w0, 255
and w0, w0, 15
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 5, 4
str w0, [x1]
ldr x0, [sp, 16]
add x0, x0, 2
ldrb w0, [x0]
asr w0, w0, 2
and w0, w0, 3
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 9, 2
str w0, [x1]
ldr x0, [sp, 16]
add x0, x0, 2
ldrb w0, [x0]
asr w0, w0, 1
and w0, w0, 1
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 11, 1
str w0, [x1]
ldr x0, [sp, 16]
add x0, x0, 2
ldrb w0, [x0]
and w0, w0, 1
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 12, 1
str w0, [x1]
ldr x0, [sp, 16]
add x0, x0, 3
ldrb w0, [x0]
lsr w0, w0, 6
and w0, w0, 255
and w0, w0, 3
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 13, 2
str w0, [x1]
ldr x0, [sp, 16]
add x0, x0, 3
ldrb w0, [x0]
asr w0, w0, 4
and w0, w0, 3
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 15, 2
str w0, [x1]
ldr x0, [sp, 16]
add x0, x0, 3
ldrb w0, [x0]
asr w0, w0, 3
and w0, w0, 1
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 17, 1
str w0, [x1]
ldr x0, [sp, 16]
add x0, x0, 3
ldrb w0, [x0]
asr w0, w0, 2
and w0, w0, 1
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 18, 1
str w0, [x1]
ldr x0, [sp, 16]
add x0, x0, 3
ldrb w0, [x0]
and w0, w0, 3
and w2, w0, 255
ldr x1, [sp, 24]
ldr w0, [x1]
bfi w0, w2, 19, 2
str w0, [x1]
mov w0, 0
.L81:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size load_header, .-load_header
.align 2
.global decode_header
.type decode_header, %function
decode_header:
.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 x1, [sp, 16]
mov x2, 32
mov w1, 0
ldr x0, [sp, 24]
bl memset
ldr x0, [sp, 16]
ldr w0, [x0]
and w0, w0, 3
cmp w0, 1
beq .L83
ldr x0, [sp, 16]
ldr w0, [x0]
and w0, w0, 12
cmp w0, 0
bne .L84
.L83:
mov w0, -1
b .L85
.L84:
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 0, 2
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 2, 2
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 4]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L86
cmp w0, 3
bhi .L87
cmp w0, 0
beq .L88
cmp w0, 2
beq .L89
b .L87
.L88:
mov w0, -1
b .L85
.L89:
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 2, 2
and w0, w0, 255
mov w2, w0
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 5, 4
and w0, w0, 255
mov w1, w0
adrp x0, v2_bitrates.6
add x0, x0, :lo12:v2_bitrates.6
sxtw x1, w1
sxtw x2, w2
lsl x2, x2, 4
add x1, x2, x1
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 36]
b .L90
.L86:
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 2, 2
and w0, w0, 255
mov w2, w0
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 5, 4
and w0, w0, 255
mov w1, w0
adrp x0, v1_bitrates.5
add x0, x0, :lo12:v1_bitrates.5
sxtw x1, w1
sxtw x2, w2
lsl x2, x2, 4
add x1, x2, x1
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 36]
b .L90
.L87:
mov w0, -1
b .L85
.L90:
ldr w0, [sp, 36]
cmn w0, #1
beq .L91
ldr w0, [sp, 36]
cmp w0, 0
bne .L92
.L91:
mov w0, -1
b .L85
.L92:
ldr w1, [sp, 36]
ldr x0, [sp, 24]
str w1, [x0, 8]
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 0, 2
and w0, w0, 255
cmp w0, 3
beq .L93
cmp w0, 3
bgt .L94
cmp w0, 0
beq .L95
cmp w0, 2
beq .L96
b .L94
.L95:
mov w0, -1
b .L85
.L96:
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 9, 2
and w0, w0, 255
mov w1, w0
adrp x0, v2_samplerates.4
add x0, x0, :lo12:v2_samplerates.4
sxtw x1, w1
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 40]
b .L97
.L93:
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 9, 2
and w0, w0, 255
mov w1, w0
adrp x0, v1_samplerates.3
add x0, x0, :lo12:v1_samplerates.3
sxtw x1, w1
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 40]
b .L97
.L94:
mov w0, -1
b .L85
.L97:
ldr w0, [sp, 40]
cmn w0, #1
bne .L98
mov w0, -1
b .L85
.L98:
ldr w1, [sp, 40]
ldr x0, [sp, 24]
str w1, [x0, 12]
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 2, 2
and w0, w0, 255
mov w1, w0
adrp x0, frame_sizes.2
add x0, x0, :lo12:frame_sizes.2
sxtw x1, w1
ldr w0, [x0, x1, lsl 2]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 16]
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 2, 2
and w0, w0, 255
cmp w0, 2
bgt .L99
cmp w0, 0
bgt .L100
b .L101
.L99:
cmp w0, 3
bne .L101
ldrsw x1, [sp, 36]
mov x0, 12000
mul x1, x1, x0
ldrsw x0, [sp, 40]
sdiv x1, x1, x0
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 11, 1
and w0, w0, 255
and x0, x0, 255
add x0, x1, x0
lsl w0, w0, 2
str w0, [sp, 44]
b .L102
.L100:
ldrsw x1, [sp, 36]
mov x0, 12928
movk x0, 0x2, lsl 16
mul x1, x1, x0
ldrsw x0, [sp, 40]
sdiv x0, x1, x0
mov w1, w0
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 11, 1
and w0, w0, 255
add w0, w1, w0
str w0, [sp, 44]
b .L102
.L101:
mov w0, -1
b .L85
.L102:
ldr w1, [sp, 44]
ldr x0, [sp, 24]
str w1, [x0, 20]
ldr x0, [sp, 16]
ldr w0, [x0]
and w0, w0, 3
cmp w0, 2
bne .L103
ldr x0, [sp, 16]
ldr w0, [x0]
and w0, w0, 12
cmp w0, 4
bne .L103
ldr x0, [sp, 24]
mov w1, 576
str w1, [x0, 16]
ldrsw x1, [sp, 36]
mov x0, 6464
movk x0, 0x1, lsl 16
mul x1, x1, x0
ldrsw x0, [sp, 40]
sdiv x0, x1, x0
mov w1, w0
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 11, 1
and w0, w0, 255
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 20]
.L103:
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 13, 2
and w0, w0, 255
cmp w0, 3
beq .L104
ldr x0, [sp, 24]
mov w1, 2
str w1, [x0, 24]
b .L105
.L104:
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 24]
nop
.L105:
ldr x0, [sp, 16]
ldr w0, [x0]
and w0, w0, 16
cmp w0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
strb w1, [x0, 28]
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 17, 1
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
strb w1, [x0, 30]
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 12, 1
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
strb w1, [x0, 29]
ldr x0, [sp, 16]
ldr w0, [x0]
ubfx x0, x0, 18, 1
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
strb w1, [x0, 31]
mov w0, 0
.L85:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size decode_header, .-decode_header
.section .rodata
.align 3
.LC47:
.string "stereo"
.align 3
.LC48:
.string "mono"
.align 3
.LC49:
.string "MPEG Version %s Layer %s %u kbps %u Hz %s\n"
.align 3
.LC50:
.string "Frame is %u samples, %u bytes\n"
.align 3
.LC51:
.string "Flags: "
.align 3
.LC52:
.string "%sCRC present"
.align 3
.LC53:
.string ", "
.align 3
.LC54:
.string "%sPrivate Bit Set"
.align 3
.LC55:
.string "%sCopyrighted"
.align 3
.LC56:
.string "%sOriginal"
.text
.align 2
.global describe_header
.type describe_header, %function
describe_header:
.LFB16:
.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 w1, [x0]
adrp x0, version_strs.1
add x0, x0, :lo12:version_strs.1
uxtw x1, w1
ldr x2, [x0, x1, lsl 3]
ldr x0, [sp, 24]
ldr w1, [x0, 4]
adrp x0, layer_strs.0
add x0, x0, :lo12:layer_strs.0
uxtw x1, w1
ldr x1, [x0, x1, lsl 3]
ldr x0, [sp, 24]
ldr w3, [x0, 8]
ldr x0, [sp, 24]
ldr w4, [x0, 12]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 2
bne .L107
adrp x0, .LC47
add x0, x0, :lo12:.LC47
b .L108
.L107:
adrp x0, .LC48
add x0, x0, :lo12:.LC48
.L108:
mov x6, x0
mov w5, w4
mov w4, w3
mov x3, x1
adrp x0, .LC49
add x1, x0, :lo12:.LC49
ldr x0, [sp, 16]
bl fprintf
ldr x0, [sp, 24]
ldr w1, [x0, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 20]
mov w3, w0
mov w2, w1
adrp x0, .LC50
add x1, x0, :lo12:.LC50
ldr x0, [sp, 16]
bl fprintf
adrp x0, .LC51
add x0, x0, :lo12:.LC51
str x0, [sp, 40]
ldr x0, [sp, 24]
ldrb w0, [x0, 28]
cmp w0, 0
beq .L109
ldr x2, [sp, 40]
adrp x0, .LC52
add x1, x0, :lo12:.LC52
ldr x0, [sp, 16]
bl fprintf
adrp x0, .LC53
add x0, x0, :lo12:.LC53
str x0, [sp, 40]
.L109:
ldr x0, [sp, 24]
ldrb w0, [x0, 29]
cmp w0, 0
beq .L110
ldr x2, [sp, 40]
adrp x0, .LC54
add x1, x0, :lo12:.LC54
ldr x0, [sp, 16]
bl fprintf
adrp x0, .LC53
add x0, x0, :lo12:.LC53
str x0, [sp, 40]
.L110:
ldr x0, [sp, 24]
ldrb w0, [x0, 30]
cmp w0, 0
beq .L111
ldr x2, [sp, 40]
adrp x0, .LC55
add x1, x0, :lo12:.LC55
ldr x0, [sp, 16]
bl fprintf
adrp x0, .LC53
add x0, x0, :lo12:.LC53
str x0, [sp, 40]
.L111:
ldr x0, [sp, 24]
ldrb w0, [x0, 31]
cmp w0, 0
beq .L112
ldr x2, [sp, 40]
adrp x0, .LC56
add x1, x0, :lo12:.LC56
ldr x0, [sp, 16]
bl fprintf
adrp x0, .LC53
add x0, x0, :lo12:.LC53
str x0, [sp, 40]
.L112:
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
.LFE16:
.size describe_header, .-describe_header
.section .rodata
.align 3
.LC57:
.string "%s_%0*u.mp3"
.align 3
.LC58:
.string "wb"
.align 3
.LC59:
.string "error fopen"
.align 3
.LC60:
.string "error fseek"
.align 3
.LC61:
.string "error bad read looking for sync: eof\n"
.align 3
.LC62:
.string "bad read looking for sync"
.align 3
.LC63:
.string "didn't find a valid MPEG frame sync"
.align 3
.LC64:
.string "didn't find a valid MPEG frame"
.align 3
.LC65:
.string "error fread: eof\n"
.align 3
.LC66:
.string "fread"
.align 3
.LC67:
.string "lost sync at 0x%lx (file ends at 0x%lx)\n"
.align 3
.LC68:
.string "bad MPEG header at 0x%lx (file ends at 0x%lx)\n"
.align 3
.LC69:
.string "error sample count mismatch\n"
.align 3
.LC70:
.string "error fclose"
.text
.align 2
.global unpack_mpeg
.type unpack_mpeg, %function
unpack_mpeg:
.LFB17:
.cfi_startproc
stp x29, x30, [sp, -256]!
.cfi_def_cfa_offset 256
.cfi_offset 29, -256
.cfi_offset 30, -248
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -240
str x0, [sp, 72]
str x1, [sp, 64]
str x2, [sp, 56]
str x3, [sp, 48]
str w4, [sp, 44]
str x5, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 248]
mov x1, 0
str xzr, [sp, 160]
str xzr, [sp, 168]
ldrsw x0, [sp, 44]
lsl x0, x0, 3
bl malloc
str x0, [sp, 168]
ldr x0, [sp, 168]
cmp x0, 0
bne .L114
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl perror
mov w0, 1
bl exit
.L114:
str wzr, [sp, 92]
b .L115
.L116:
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 168]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L115:
ldr w1, [sp, 92]
ldr w0, [sp, 44]
cmp w1, w0
blt .L116
ldrsw x0, [sp, 44]
lsl x0, x0, 3
bl malloc
str x0, [sp, 176]
ldr x0, [sp, 176]
cmp x0, 0
bne .L117
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl perror
mov w0, 1
bl exit
.L117:
str wzr, [sp, 96]
b .L118
.L119:
ldrsw x0, [sp, 96]
lsl x0, x0, 3
ldr x1, [sp, 176]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 96]
add w0, w0, 1
str w0, [sp, 96]
.L118:
ldr w1, [sp, 96]
ldr w0, [sp, 44]
cmp w1, w0
blt .L119
ldr w0, [sp, 44]
add w0, w0, 2
scvtf d0, w0
bl log10
bl ceil
fcvtzu d0, d0
str d0, [sp, 184]
ldr x0, [sp, 64]
bl strlen
mov x1, x0
ldr x0, [sp, 184]
add x0, x1, x0
add x0, x0, 6
str x0, [sp, 192]
str wzr, [sp, 100]
b .L120
.L123:
ldrsw x0, [sp, 100]
lsl x0, x0, 3
ldr x1, [sp, 176]
add x19, x1, x0
ldr x0, [sp, 192]
bl malloc
str x0, [x19]
ldrsw x0, [sp, 100]
lsl x0, x0, 3
ldr x1, [sp, 176]
add x0, x1, x0
ldr x0, [x0]
cmp x0, 0
bne .L121
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl perror
mov w0, 1
bl exit
.L121:
ldrsw x0, [sp, 100]
lsl x0, x0, 3
ldr x1, [sp, 176]
add x0, x1, x0
ldr x6, [x0]
ldr x0, [sp, 184]
mov w1, w0
ldr w0, [sp, 100]
add w0, w0, 1
mov w5, w0
mov w4, w1
ldr x3, [sp, 64]
adrp x0, .LC57
add x2, x0, :lo12:.LC57
ldr x1, [sp, 192]
mov x0, x6
bl snprintf
ldrsw x0, [sp, 100]
lsl x0, x0, 3
ldr x1, [sp, 176]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [sp, 100]
lsl x0, x0, 3
ldr x1, [sp, 168]
add x19, x1, x0
adrp x0, .LC58
add x1, x0, :lo12:.LC58
mov x0, x2
bl fopen
str x0, [x19]
ldrsw x0, [sp, 100]
lsl x0, x0, 3
ldr x1, [sp, 168]
add x0, x1, x0
ldr x0, [x0]
cmp x0, 0
bne .L122
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl perror
mov w0, 1
bl exit
.L122:
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
.L120:
ldr w1, [sp, 100]
ldr w0, [sp, 44]
cmp w1, w0
blt .L123
ldrsw x0, [sp, 44]
lsl x0, x0, 3
bl malloc
str x0, [sp, 160]
ldr x0, [sp, 160]
cmp x0, 0
bne .L124
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl perror
mov w0, 1
bl exit
.L124:
str wzr, [sp, 104]
b .L125
.L126:
ldrsw x0, [sp, 104]
lsl x0, x0, 3
ldr x1, [sp, 160]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 104]
add w0, w0, 1
str w0, [sp, 104]
.L125:
ldr w1, [sp, 104]
ldr w0, [sp, 44]
cmp w1, w0
blt .L126
mov w2, 0
ldr x1, [sp, 56]
ldr x0, [sp, 72]
bl fseek
cmn w0, #1
bne .L127
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC60
add x0, x0, :lo12:.LC60
bl perror
mov w0, 1
bl exit
.L127:
add x0, sp, 240
ldr x3, [sp, 72]
mov x2, 4
mov x1, 1
bl fread
cmp x0, 4
beq .L128
bl __errno_location
ldr w0, [x0]
str w0, [sp, 140]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
ldr x0, [sp, 72]
bl feof
cmp w0, 0
beq .L129
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 37
mov x1, 1
adrp x0, .LC61
add x0, x0, :lo12:.LC61
bl fwrite
b .L130
.L129:
bl __errno_location
mov x1, x0
ldr w0, [sp, 140]
str w0, [x1]
adrp x0, .LC62
add x0, x0, :lo12:.LC62
bl perror
.L130:
mov w0, 1
bl exit
.L128:
add x1, sp, 240
add x0, sp, 88
bl load_header
cmn w0, #1
bne .L131
adrp x0, .LC63
add x0, x0, :lo12:.LC63
bl puts
b .L132
.L131:
add x1, sp, 88
add x0, sp, 208
bl decode_header
cmn w0, #1
bne .L133
adrp x0, .LC64
add x0, x0, :lo12:.LC64
bl puts
b .L132
.L133:
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x1, [x0]
add x0, sp, 208
bl describe_header
str wzr, [sp, 108]
b .L134
.L135:
ldrsw x0, [sp, 108]
lsl x0, x0, 3
ldr x1, [sp, 176]
add x0, x1, x0
ldr x0, [x0]
bl puts
ldr w0, [sp, 108]
add w0, w0, 1
str w0, [sp, 108]
.L134:
ldr w1, [sp, 108]
ldr w0, [sp, 44]
cmp w1, w0
blt .L135
str wzr, [sp, 112]
ldr x0, [sp, 56]
str x0, [sp, 144]
str xzr, [sp, 152]
b .L136
.L150:
ldr x0, [sp, 144]
str x0, [sp, 200]
b .L137
.L145:
ldr x0, [sp, 144]
add x0, x0, 3
ldr x1, [sp, 48]
cmp x1, x0
ble .L138
mov w2, 0
ldr x1, [sp, 144]
ldr x0, [sp, 72]
bl fseek
cmn w0, #1
bne .L139
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC60
add x0, x0, :lo12:.LC60
bl perror
mov w0, 1
bl exit
.L139:
add x0, sp, 240
ldr x3, [sp, 72]
mov x2, 4
mov x1, 1
bl fread
cmp x0, 4
beq .L140
bl __errno_location
ldr w0, [x0]
str w0, [sp, 132]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
ldr x0, [sp, 72]
bl feof
cmp w0, 0
beq .L141
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 17
mov x1, 1
adrp x0, .LC65
add x0, x0, :lo12:.LC65
bl fwrite
b .L142
.L141:
bl __errno_location
mov x1, x0
ldr w0, [sp, 132]
str w0, [x1]
adrp x0, .LC66
add x0, x0, :lo12:.LC66
bl perror
.L142:
mov w0, 1
bl exit
.L140:
add x1, sp, 240
add x0, sp, 88
bl load_header
str w0, [sp, 116]
b .L143
.L138:
mov w0, -1
str w0, [sp, 116]
.L143:
ldr w0, [sp, 116]
cmp w0, 0
beq .L144
adrp x0, gPadding_is_max
add x0, x0, :lo12:gPadding_is_max
ldr w0, [x0]
cmp w0, 0
beq .L144
ldr x0, [sp, 144]
sub x0, x0, #1
str x0, [sp, 144]
ldr x0, [sp, 152]
sub x0, x0, #1
str x0, [sp, 152]
.L137:
ldr x0, [sp, 152]
cmp x0, 0
bge .L145
.L144:
ldr w0, [sp, 116]
cmn w0, #1
bne .L146
ldr x0, [sp, 200]
str x0, [sp, 144]
.L146:
ldr w0, [sp, 116]
cmn w0, #1
bne .L147
ldr x0, [sp, 144]
ldr x1, [sp, 48]
mov x2, x1
mov x1, x0
adrp x0, .LC67
add x0, x0, :lo12:.LC67
bl printf
b .L148
.L147:
add x1, sp, 88
add x0, sp, 208
bl decode_header
cmn w0, #1
bne .L149
ldr x0, [sp, 144]
ldr x1, [sp, 48]
mov x2, x1
mov x1, x0
adrp x0, .LC68
add x0, x0, :lo12:.LC68
bl printf
b .L148
.L149:
ldr w0, [sp, 228]
uxtw x1, w0
adrp x0, gPadding
add x0, x0, :lo12:gPadding
ldr x0, [x0]
add x0, x1, x0
sub x1, x0, #1
adrp x0, gPadding
add x0, x0, :lo12:gPadding
ldr x0, [x0]
sdiv x0, x1, x0
mov w1, w0
adrp x0, gPadding
add x0, x0, :lo12:gPadding
ldr x0, [x0]
mul w0, w1, w0
str w0, [sp, 136]
ldr w1, [sp, 136]
ldr w0, [sp, 228]
sub w0, w1, w0
uxtw x0, w0
str x0, [sp, 152]
ldrsw x0, [sp, 112]
lsl x0, x0, 3
ldr x1, [sp, 168]
add x0, x1, x0
ldr x0, [x0]
ldr w1, [sp, 228]
uxtw x1, w1
mov x3, x1
ldr x2, [sp, 144]
mov x1, x0
ldr x0, [sp, 72]
bl copy_bytes
ldrsw x0, [sp, 112]
lsl x0, x0, 3
ldr x1, [sp, 160]
add x0, x1, x0
ldr x2, [x0]
ldr w0, [sp, 224]
uxtw x1, w0
ldrsw x0, [sp, 112]
lsl x0, x0, 3
ldr x3, [sp, 160]
add x0, x3, x0
add x1, x2, x1
str x1, [x0]
ldr w0, [sp, 112]
add w0, w0, 1
ldr w1, [sp, 44]
sdiv w2, w0, w1
ldr w1, [sp, 44]
mul w1, w2, w1
sub w0, w0, w1
str w0, [sp, 112]
ldrsw x0, [sp, 136]
ldr x1, [sp, 144]
add x0, x1, x0
str x0, [sp, 144]
.L136:
ldr x1, [sp, 144]
ldr x0, [sp, 48]
cmp x1, x0
blt .L150
.L148:
str wzr, [sp, 120]
b .L151
.L156:
ldrsw x0, [sp, 120]
lsl x0, x0, 3
ldr x1, [sp, 160]
add x0, x1, x0
ldr x0, [x0]
cmp x0, 1152
bne .L152
ldr w0, [sp, 208]
cmp w0, 2
bne .L153
ldr w0, [sp, 212]
cmp w0, 1
bne .L153
ldr x0, [sp, 32]
cmp x0, 1728
beq .L166
.L153:
ldr w0, [sp, 208]
cmp w0, 3
bne .L152
ldr w0, [sp, 212]
cmp w0, 1
bne .L152
ldr x0, [sp, 32]
cmp x0, 2304
beq .L166
.L152:
ldrsw x0, [sp, 120]
lsl x0, x0, 3
ldr x1, [sp, 160]
add x0, x1, x0
ldr x0, [x0]
ldr x1, [sp, 32]
cmp x1, x0
beq .L155
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 28
mov x1, 1
adrp x0, .LC69
add x0, x0, :lo12:.LC69
bl fwrite
mov w0, 1
bl exit
.L166:
nop
.L155:
ldr w0, [sp, 120]
add w0, w0, 1
str w0, [sp, 120]
.L151:
ldr w1, [sp, 120]
ldr w0, [sp, 44]
cmp w1, w0
blt .L156
nop
.L132:
ldr x0, [sp, 176]
cmp x0, 0
beq .L157
str wzr, [sp, 124]
b .L158
.L159:
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 176]
add x0, x1, x0
ldr x0, [x0]
bl free
ldr w0, [sp, 124]
add w0, w0, 1
str w0, [sp, 124]
.L158:
ldr w1, [sp, 124]
ldr w0, [sp, 44]
cmp w1, w0
blt .L159
ldr x0, [sp, 176]
bl free
.L157:
ldr x0, [sp, 168]
cmp x0, 0
beq .L160
str wzr, [sp, 128]
b .L161
.L163:
ldrsw x0, [sp, 128]
lsl x0, x0, 3
ldr x1, [sp, 168]
add x0, x1, x0
ldr x0, [x0]
bl fclose
cmn w0, #1
bne .L162
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, .LC70
add x0, x0, :lo12:.LC70
bl perror
mov w0, 1
bl exit
.L162:
ldr w0, [sp, 128]
add w0, w0, 1
str w0, [sp, 128]
.L161:
ldr w1, [sp, 128]
ldr w0, [sp, 44]
cmp w1, w0
blt .L163
ldr x0, [sp, 168]
bl free
.L160:
ldr x0, [sp, 160]
cmp x0, 0
beq .L167
ldr x0, [sp, 160]
bl free
.L167:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 248]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L165
bl __stack_chk_fail
.L165:
ldr x19, [sp, 16]
ldp x29, x30, [sp], 256
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size unpack_mpeg, .-unpack_mpeg
.section .rodata
.align 3
.type mp3ext.7, %object
.size mp3ext.7, 5
mp3ext.7:
.string ".mp3"
.align 3
.type v2_bitrates.6, %object
.size v2_bitrates.6, 256
v2_bitrates.6:
.zero 64
.word 0
.word 8
.word 16
.word 24
.word 32
.word 40
.word 48
.word 56
.word 64
.word 80
.word 96
.word 112
.word 128
.word 144
.word 160
.word -1
.word 0
.word 8
.word 16
.word 24
.word 32
.word 40
.word 48
.word 56
.word 64
.word 80
.word 96
.word 112
.word 128
.word 144
.word 160
.word -1
.word 0
.word 32
.word 48
.word 56
.word 64
.word 80
.word 96
.word 112
.word 128
.word 144
.word 160
.word 176
.word 192
.word 224
.word 256
.word -1
.align 3
.type v1_bitrates.5, %object
.size v1_bitrates.5, 256
v1_bitrates.5:
.zero 64
.word 0
.word 32
.word 40
.word 48
.word 56
.word 64
.word 80
.word 96
.word 112
.word 128
.word 160
.word 192
.word 224
.word 256
.word 320
.word -1
.word 0
.word 32
.word 48
.word 56
.word 64
.word 80
.word 96
.word 112
.word 128
.word 160
.word 192
.word 224
.word 256
.word 320
.word 384
.word -1
.word 0
.word 32
.word 64
.word 96
.word 128
.word 160
.word 192
.word 224
.word 256
.word 288
.word 320
.word 352
.word 384
.word 416
.word 448
.word -1
.align 3
.type v2_samplerates.4, %object
.size v2_samplerates.4, 16
v2_samplerates.4:
.word 22050
.word 24000
.word 16000
.word -1
.align 3
.type v1_samplerates.3, %object
.size v1_samplerates.3, 16
v1_samplerates.3:
.word 44100
.word 48000
.word 32000
.word -1
.align 3
.type frame_sizes.2, %object
.size frame_sizes.2, 16
frame_sizes.2:
.word -1
.word 1152
.word 1152
.word 384
.align 3
.LC71:
.string "2.5"
.align 3
.LC72:
.string "reserved"
.align 3
.LC73:
.string "2"
.align 3
.LC74:
.string "1"
.section .data.rel.local,"aw"
.align 3
.type version_strs.1, %object
.size version_strs.1, 32
version_strs.1:
.xword .LC71
.xword .LC72
.xword .LC73
.xword .LC74
.section .rodata
.align 3
.LC75:
.string "III"
.align 3
.LC76:
.string "II"
.align 3
.LC77:
.string "I"
.section .data.rel.local
.align 3
.type layer_strs.0, %object
.size layer_strs.0, 32
layer_strs.0:
.xword 0
.xword .LC75
.xword .LC76
.xword .LC77
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
sub sp, sp, #512
.cfi_def_cfa_offset 512
stp x29, x30, [sp]
.cfi_offset 29, -512
.cfi_offset 30, -504
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
.L2:
str wzr, [sp, 92]
.L3:
str wzr, [sp, 96]
.L4:
str wzr, [sp, 100]
.L5:
str wzr, [sp, 104]
.L6:
str wzr, [sp, 108]
.L7:
str wzr, [sp, 112]
.L8:
str wzr, [sp, 116]
.L9:
str wzr, [sp, 120]
.L10:
str wzr, [sp, 124]
.L11:
str wzr, [sp, 128]
.L12:
str wzr, [sp, 132]
.L13:
str wzr, [sp, 136]
.L14:
mov w0, 17536
movk w0, 0xda05, lsl 16
str w0, [sp, 140]
.L15:
mov w0, 53856
movk w0, 0x9d5, lsl 16
str w0, [sp, 144]
.L16:
str wzr, [sp, 148]
.L17:
mov w0, 28847
movk w0, 0x89d, lsl 16
str w0, [sp, 152]
.L18:
mov w0, -1
str w0, [sp, 156]
.L19:
str wzr, [sp, 160]
.L20:
mov w0, 49599
movk w0, 0x2844, lsl 16
str w0, [sp, 164]
.L21:
ldr w0, [sp, 160]
str w0, [sp, 168]
.L22:
mov w0, 56341
movk w0, 0x5d16, lsl 16
str w0, [sp, 172]
.L23:
mov w0, 97
str w0, [sp, 176]
.L24:
mov w0, 31289
movk w0, 0x5674, lsl 16
str w0, [sp, 180]
.L25:
str wzr, [sp, 184]
.L26:
mov w0, 64466
movk w0, 0x401c, lsl 16
str w0, [sp, 188]
.L27:
str wzr, [sp, 192]
.L28:
mov w0, 49216
movk w0, 0x9d5, lsl 16
str w0, [sp, 196]
.L29:
mov w0, 9259
movk w0, 0x4493, lsl 16
str w0, [sp, 200]
.L30:
ldr w0, [sp, 196]
str w0, [sp, 204]
.L31:
mov w0, 26883
movk w0, 0x793d, lsl 16
str w0, [sp, 208]
.L32:
str wzr, [sp, 212]
.L33:
mov w0, -1
str w0, [sp, 216]
.L34:
mov w0, 5
str w0, [sp, 220]
.L35:
mov w0, 72
str w0, [sp, 224]
.L36:
mov w0, 69
str w0, [sp, 228]
.L37:
mov w0, 76
str w0, [sp, 232]
.L38:
mov w0, 76
str w0, [sp, 236]
.L39:
mov w0, 79
str w0, [sp, 240]
.L40:
mov w0, 25201
movk w0, 0x627a, lsl 16
str w0, [sp, 244]
.L41:
mov w0, 83
str w0, [sp, 248]
.L42:
mov w0, 1227
movk w0, 0x50f4, lsl 16
str w0, [sp, 252]
.L43:
mov w0, 1
str w0, [sp, 256]
.L44:
mov w0, 9679
movk w0, 0x374e, lsl 16
str w0, [sp, 260]
.L45:
mov w0, 1
str w0, [sp, 264]
.L46:
mov w0, 50581
movk w0, 0x3e25, lsl 16
str w0, [sp, 268]
.L47:
mov w0, 1
str w0, [sp, 272]
.L48:
mov w0, 44629
movk w0, 0xde5, lsl 16
str w0, [sp, 276]
.L49:
mov w0, 82
str w0, [sp, 280]
.L50:
mov w0, 10520
movk w0, 0x4b82, lsl 16
str w0, [sp, 284]
.L51:
mov w0, 90
str w0, [sp, 288]
.L52:
mov w0, 48116
movk w0, 0x3015, lsl 16
str w0, [sp, 292]
.L53:
mov w0, 1
str w0, [sp, 296]
.L54:
mov w0, 48331
movk w0, 0xe2b, lsl 16
str w0, [sp, 300]
.L55:
mov w0, 1
str w0, [sp, 304]
.L56:
mov w0, 55633
movk w0, 0xe0d, lsl 16
str w0, [sp, 308]
.L57:
mov w0, 2
str w0, [sp, 312]
.L58:
mov w0, 54650
movk w0, 0x75b1, lsl 16
str w0, [sp, 316]
.L59:
mov w0, 2
str w0, [sp, 320]
.L60:
mov w0, 5
str w0, [sp, 324]
.L61:
mov w0, 27543
movk w0, 0x5de9, lsl 16
str w0, [sp, 328]
.L62:
ldr w0, [sp, 264]
str w0, [sp, 332]
.L63:
mov w0, 45831
movk w0, 0x170e, lsl 16
str w0, [sp, 336]
.L64:
ldr w0, [sp, 272]
str w0, [sp, 340]
.L65:
str wzr, [sp, 344]
.L66:
mov w0, 16897
movk w0, 0xf345, lsl 16
str w0, [sp, 348]
.L67:
mov w0, 45523
movk w0, 0x307, lsl 16
str w0, [sp, 352]
.L68:
ldr w0, [sp, 312]
str w0, [sp, 356]
.L69:
mov w0, 39209
movk w0, 0x4b0a, lsl 16
str w0, [sp, 360]
.L70:
ldr w0, [sp, 320]
str w0, [sp, 364]
.L71:
str wzr, [sp, 368]
.L72:
mov w0, 12801
movk w0, 0xf325, lsl 16
str w0, [sp, 372]
.L73:
ldr w1, [sp, 220]
ldr w0, [sp, 340]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L123
ldr w0, [sp, 220]
cmp w0, 0
beq .L123
mov w0, 38832
movk w0, 0xa41, lsl 16
str w0, [sp, 376]
b .L74
.L123:
nop
.L74:
ldr w1, [sp, 220]
ldr w0, [sp, 364]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L124
ldr w0, [sp, 220]
cmp w0, 0
beq .L124
mov w0, 38832
movk w0, 0xa41, lsl 16
str w0, [sp, 380]
b .L75
.L124:
nop
.L75:
ldr w1, [sp, 220]
ldr w0, [sp, 364]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L125
ldr w0, [sp, 220]
cmp w0, 0
beq .L125
ldr w0, [sp, 168]
cmp w0, 0
bne .L125
ldr w0, [sp, 168]
cmp w0, 0
bne .L125
mov w0, 15983
movk w0, 0x7d2, lsl 16
str w0, [sp, 384]
b .L76
.L125:
nop
.L76:
ldr w1, [sp, 220]
ldr w0, [sp, 364]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L126
ldr w0, [sp, 220]
cmp w0, 0
beq .L126
ldr w0, [sp, 168]
cmp w0, 0
bne .L126
ldr w0, [sp, 168]
cmp w0, 0
bne .L126
mov w0, -1
str w0, [sp, 80]
b .L77
.L126:
nop
.L77:
ldr w1, [sp, 220]
ldr w0, [sp, 364]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L127
ldr w0, [sp, 220]
cmp w0, 0
beq .L127
ldr w0, [sp, 168]
cmp w0, 0
bne .L127
ldr w0, [sp, 168]
cmp w0, 0
bne .L127
ldr w0, [sp, 80]
str w0, [sp, 76]
b .L78
.L127:
nop
.L78:
ldr w1, [sp, 220]
ldr w0, [sp, 364]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L128
ldr w0, [sp, 220]
cmp w0, 0
beq .L128
ldr w0, [sp, 168]
cmp w0, 0
bne .L128
ldr w0, [sp, 76]
cmn w0, #1
bne .L128
str wzr, [sp, 388]
b .L79
.L128:
nop
.L79:
ldr w1, [sp, 220]
ldr w0, [sp, 364]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L129
ldr w0, [sp, 220]
cmp w0, 0
beq .L129
mov w0, 57304
movk w0, 0x54c, lsl 16
str w0, [sp, 392]
b .L80
.L129:
nop
.L80:
ldr w1, [sp, 220]
ldr w0, [sp, 364]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L130
ldr w0, [sp, 220]
cmp w0, 0
beq .L130
mov w0, 9
str w0, [sp, 84]
b .L81
.L130:
nop
.L81:
ldr w1, [sp, 220]
ldr w0, [sp, 364]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L131
ldr w0, [sp, 220]
cmp w0, 0
beq .L131
mov w0, 60074
movk w0, 0x79c4, lsl 16
str w0, [sp, 396]
b .L82
.L131:
nop
.L82:
ldr w1, [sp, 220]
ldr w0, [sp, 364]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L132
ldr w0, [sp, 220]
cmp w0, 0
beq .L132
ldr w0, [sp, 84]
str w0, [sp, 400]
b .L83
.L132:
nop
.L83:
ldr w1, [sp, 220]
ldr w0, [sp, 364]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L133
ldr w0, [sp, 220]
cmp w0, 0
beq .L133
str wzr, [sp, 404]
b .L84
.L133:
nop
.L84:
ldr w1, [sp, 220]
ldr w0, [sp, 340]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L134
ldr w0, [sp, 220]
cmp w0, 0
beq .L134
ldr w0, [sp, 168]
cmp w0, 0
bne .L134
ldr w0, [sp, 168]
cmp w0, 0
bne .L134
mov w0, 37480
movk w0, 0x57b9, lsl 16
str w0, [sp, 408]
b .L85
.L134:
nop
.L85:
ldr w1, [sp, 220]
ldr w0, [sp, 340]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L135
ldr w0, [sp, 220]
cmp w0, 0
beq .L135
ldr w0, [sp, 168]
cmp w0, 0
bne .L135
ldr w0, [sp, 168]
cmp w0, 0
bne .L135
mov w0, -1
str w0, [sp, 60]
b .L86
.L135:
nop
.L86:
ldr w1, [sp, 220]
ldr w0, [sp, 340]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L136
ldr w0, [sp, 220]
cmp w0, 0
beq .L136
ldr w0, [sp, 168]
cmp w0, 0
bne .L136
ldr w0, [sp, 168]
cmp w0, 0
bne .L136
ldr w0, [sp, 60]
str w0, [sp, 56]
b .L87
.L136:
nop
.L87:
ldr w1, [sp, 220]
ldr w0, [sp, 340]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L137
ldr w0, [sp, 220]
cmp w0, 0
beq .L137
ldr w0, [sp, 168]
cmp w0, 0
bne .L137
ldr w0, [sp, 56]
cmn w0, #1
bne .L137
str wzr, [sp, 36]
b .L88
.L137:
nop
.L88:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L138
mov w0, 5090
movk w0, 0x636, lsl 16
str w0, [sp, 412]
b .L89
.L138:
nop
.L89:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L139
mov w0, 55040
movk w0, 0xcda, lsl 16
str w0, [sp, 416]
b .L90
.L139:
nop
.L90:
ldr w1, [sp, 220]
ldr w0, [sp, 340]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L140
ldr w0, [sp, 220]
cmp w0, 0
beq .L140
mov w0, 20706
movk w0, 0x58b1, lsl 16
str w0, [sp, 420]
b .L91
.L140:
nop
.L91:
ldr w1, [sp, 220]
ldr w0, [sp, 340]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L141
ldr w0, [sp, 220]
cmp w0, 0
beq .L141
mov w0, 9
str w0, [sp, 64]
b .L92
.L141:
nop
.L92:
ldr w1, [sp, 220]
ldr w0, [sp, 340]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L142
ldr w0, [sp, 220]
cmp w0, 0
beq .L142
mov w0, 36287
movk w0, 0x7281, lsl 16
str w0, [sp, 424]
b .L93
.L142:
nop
.L93:
ldr w1, [sp, 220]
ldr w0, [sp, 340]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L143
ldr w0, [sp, 220]
cmp w0, 0
beq .L143
ldr w0, [sp, 64]
str w0, [sp, 428]
b .L94
.L143:
nop
.L94:
ldr w1, [sp, 220]
ldr w0, [sp, 340]
add w0, w1, w0
ldr w1, [sp, 324]
cmp w1, w0
bge .L144
ldr w0, [sp, 220]
cmp w0, 0
beq .L144
str wzr, [sp, 40]
b .L95
.L144:
nop
.L95:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L145
mov w0, 2996
movk w0, 0x2625, lsl 16
str w0, [sp, 432]
b .L96
.L145:
nop
.L96:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L146
ldr w1, [sp, 36]
ldr w0, [sp, 364]
add w0, w1, w0
str w0, [sp, 88]
b .L97
.L146:
nop
.L97:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L147
str wzr, [sp, 68]
b .L98
.L147:
nop
.L98:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L148
ldr w1, [sp, 68]
ldr w0, [sp, 356]
cmp w1, w0
bge .L148
mov w0, 52569
movk w0, 0x2b06, lsl 16
str w0, [sp, 436]
b .L99
.L148:
nop
.L99:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L149
ldr w1, [sp, 68]
ldr w0, [sp, 356]
cmp w1, w0
bge .L149
mov w0, 55040
movk w0, 0xcda, lsl 16
str w0, [sp, 440]
b .L100
.L149:
nop
.L100:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L150
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 72]
b .L101
.L150:
nop
.L101:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L151
ldr w1, [sp, 72]
ldr w0, [sp, 356]
cmp w1, w0
bge .L151
mov w0, 55040
movk w0, 0xcda, lsl 16
str w0, [sp, 444]
b .L102
.L151:
nop
.L102:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L152
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 448]
b .L103
.L152:
nop
.L103:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L153
mov w0, 45533
movk w0, 0x1970, lsl 16
str w0, [sp, 452]
b .L104
.L153:
nop
.L104:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L154
mov w0, 55040
movk w0, 0xcda, lsl 16
str w0, [sp, 456]
b .L105
.L154:
nop
.L105:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L155
ldr w1, [sp, 40]
ldr w0, [sp, 364]
add w0, w1, w0
str w0, [sp, 44]
b .L106
.L155:
nop
.L106:
ldr w1, [sp, 340]
ldr w0, [sp, 324]
cmp w1, w0
bge .L156
mov w0, 31843
movk w0, 0x2ec2, lsl 16
str w0, [sp, 460]
b .L107
.L156:
nop
.L107:
ldr w1, [sp, 340]
ldr w0, [sp, 324]
cmp w1, w0
bge .L157
mov w0, 50944
movk w0, 0xcba, lsl 16
str w0, [sp, 464]
b .L108
.L157:
nop
.L108:
ldr w1, [sp, 340]
ldr w0, [sp, 324]
cmp w1, w0
bge .L158
mov w0, 36632
movk w0, 0x534b, lsl 16
str w0, [sp, 468]
b .L109
.L158:
nop
.L109:
ldr w1, [sp, 340]
ldr w0, [sp, 324]
cmp w1, w0
bge .L159
ldr w1, [sp, 44]
ldr w0, [sp, 340]
add w0, w1, w0
str w0, [sp, 472]
b .L110
.L159:
nop
.L110:
ldr w1, [sp, 340]
ldr w0, [sp, 324]
cmp w1, w0
bge .L160
str wzr, [sp, 52]
b .L111
.L160:
nop
.L111:
ldr w1, [sp, 340]
ldr w0, [sp, 324]
cmp w1, w0
bge .L161
ldr w1, [sp, 52]
ldr w0, [sp, 332]
cmp w1, w0
bge .L161
mov w0, 36339
movk w0, 0x7687, lsl 16
str w0, [sp, 476]
b .L112
.L161:
nop
.L112:
ldr w1, [sp, 340]
ldr w0, [sp, 324]
cmp w1, w0
bge .L162
ldr w1, [sp, 52]
ldr w0, [sp, 332]
cmp w1, w0
bge .L162
mov w0, 50944
movk w0, 0xcba, lsl 16
str w0, [sp, 480]
b .L113
.L162:
nop
.L113:
ldr w1, [sp, 340]
ldr w0, [sp, 324]
cmp w1, w0
bge .L163
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 484]
b .L114
.L163:
nop
.L114:
ldr w1, [sp, 340]
ldr w0, [sp, 324]
cmp w1, w0
bge .L164
mov w0, 63132
movk w0, 0x536, lsl 16
str w0, [sp, 488]
b .L115
.L164:
nop
.L115:
ldr w1, [sp, 340]
ldr w0, [sp, 324]
cmp w1, w0
bge .L165
mov w0, 50944
movk w0, 0xcba, lsl 16
str w0, [sp, 492]
b .L116
.L165:
nop
.L116:
ldr w1, [sp, 340]
ldr w0, [sp, 324]
cmp w1, w0
bge .L166
ldr w1, [sp, 44]
ldr w0, [sp, 340]
add w0, w1, w0
str w0, [sp, 48]
b .L117
.L166:
nop
.L117:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L167
mov w0, 35562
movk w0, 0x1368, lsl 16
str w0, [sp, 496]
b .L118
.L167:
nop
.L118:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L168
mov w0, 55040
movk w0, 0xcda, lsl 16
str w0, [sp, 500]
b .L119
.L168:
nop
.L119:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L169
mov w0, 45598
movk w0, 0x3b1a, lsl 16
str w0, [sp, 504]
b .L120
.L169:
nop
.L120:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L170
mov w0, 55040
movk w0, 0xcda, lsl 16
str w0, [sp, 508]
b .L121
.L170:
nop
.L121:
ldr w1, [sp, 364]
ldr w0, [sp, 324]
cmp w1, w0
bge .L171
ldr w1, [sp, 48]
ldr w0, [sp, 88]
cmp w1, w0
cset w0, eq
and w0, w0, 255
bl assert
.L171:
nop
ldp x29, x30, [sp]
add sp, sp, 512
.cfi_restore 29
.cfi_restore 30
.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 "Hello Git"
.align 3
.LC1:
.string "Learning Git bash"
.align 3
.LC2:
.string "Sample Code"
.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 printf
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
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
.section .rodata
.align 3
.LC0:
.string "%02x "
.align 3
.LC1:
.string "%d - %.*s\n"
.align 3
.LC2:
.string " %.*s\n"
.text
.align 2
.global printresponse
.type printresponse, %function
printresponse:
.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 x0, [sp, 24]
str w1, [sp, 20]
str wzr, [sp, 44]
b .L2
.L3:
ldrsw x0, [sp, 44]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L2:
ldr w1, [sp, 44]
ldr w0, [sp, 20]
cmp w1, w0
blt .L3
mov w0, 10
bl putchar
ldr x0, [sp, 24]
ldrb w0, [x0]
str w0, [sp, 52]
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 56]
str wzr, [sp, 44]
b .L4
.L8:
str wzr, [sp, 48]
.L5:
ldr w0, [sp, 48]
lsl w1, w0, 7
ldr x0, [sp, 56]
ldrb w0, [x0]
and w0, w0, 127
orr w0, w1, w0
str w0, [sp, 48]
ldr x0, [sp, 56]
add x1, x0, 1
str x1, [sp, 56]
ldrb w0, [x0]
sxtb w0, w0
cmp w0, 0
blt .L5
ldr x3, [sp, 56]
ldr w2, [sp, 48]
ldr w1, [sp, 44]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldrsw x0, [sp, 48]
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 56]
str wzr, [sp, 48]
.L6:
ldr w0, [sp, 48]
lsl w1, w0, 7
ldr x0, [sp, 56]
ldrb w0, [x0]
and w0, w0, 127
orr w0, w1, w0
str w0, [sp, 48]
ldr x0, [sp, 56]
add x1, x0, 1
str x1, [sp, 56]
ldrb w0, [x0]
sxtb w0, w0
cmp w0, 0
blt .L6
ldr x2, [sp, 56]
ldr w1, [sp, 48]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldrsw x0, [sp, 48]
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 56]
str wzr, [sp, 48]
.L7:
ldr w0, [sp, 48]
lsl w1, w0, 7
ldr x0, [sp, 56]
ldrb w0, [x0]
and w0, w0, 127
orr w0, w1, w0
str w0, [sp, 48]
ldr x0, [sp, 56]
add x1, x0, 1
str x1, [sp, 56]
ldrb w0, [x0]
sxtb w0, w0
cmp w0, 0
blt .L7
ldr x2, [sp, 56]
ldr w1, [sp, 48]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldrsw x0, [sp, 48]
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 56]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L4:
ldr w0, [sp, 52]
ldr w1, [sp, 44]
cmp w1, w0
blt .L8
nop
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size printresponse, .-printresponse
.section .rodata
.align 3
.LC5:
.string "/var/run/minissdpd.sock"
.align 3
.LC6:
.string "-s"
.align 3
.LC7:
.string "connecting to %s\n"
.align 3
.LC8:
.string "connect"
.align 3
.LC9:
.string "Connected."
.align 3
.LC10:
.string "Command written type=%u\n"
.align 3
.LC11:
.string "Response received %d bytes\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
sub sp, sp, #2352
.cfi_def_cfa_offset 2352
stp x29, x30, [sp]
.cfi_offset 29, -2352
.cfi_offset 30, -2344
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, 2344]
mov x1, 0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
add x0, sp, 176
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr q0, [x1, 32]
str q0, [x0, 32]
ldr w1, [x1, 48]
str w1, [x0, 48]
adrp x0, .LC4
add x1, x0, :lo12:.LC4
add x0, sp, 232
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr q0, [x1, 32]
str q0, [x0, 32]
ldr q0, [x1, 45]
str q0, [x0, 45]
mov w0, 3
strh w0, [sp, 168]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
str x0, [sp, 40]
str wzr, [sp, 32]
b .L10
.L12:
ldrsw x0, [sp, 32]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x2, [x0]
adrp x0, .LC6
add x1, x0, :lo12:.LC6
mov x0, x2
bl strcmp
cmp w0, 0
bne .L11
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
ldrsw x0, [sp, 32]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x0, [x0]
str x0, [sp, 40]
.L11:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L10:
ldr w0, [sp, 28]
sub w0, w0, #1
ldr w1, [sp, 32]
cmp w1, w0
blt .L12
mov w0, 49
strb w0, [sp, 177]
mov w0, 58
strb w0, [sp, 233]
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
mov x2, 108
ldr x1, [sp, 40]
bl strncpy
add x0, sp, 56
mov w2, 110
mov x1, x0
ldr w0, [sp, 36]
bl connect
cmp w0, 0
bge .L13
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
add x0, sp, 56
add x0, x0, 2
mov x2, x0
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, x3
bl fprintf
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl perror
mov w0, 1
b .L15
.L13:
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl puts
add x0, sp, 176
mov x2, 51
mov x1, x0
ldr w0, [sp, 36]
bl write
ldrb w0, [sp, 176]
mov w1, w0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
add x0, sp, 296
mov x2, 2048
mov x1, x0
ldr w0, [sp, 36]
bl read
str x0, [sp, 48]
ldr x0, [sp, 48]
mov w1, w0
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
ldr x0, [sp, 48]
mov w1, w0
add x0, sp, 296
bl printresponse
add x0, sp, 232
mov x2, 60
mov x1, x0
ldr w0, [sp, 36]
bl write
ldrb w0, [sp, 232]
mov w1, w0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
add x0, sp, 296
mov x2, 2048
mov x1, x0
ldr w0, [sp, 36]
bl read
str x0, [sp, 48]
ldr x0, [sp, 48]
mov w1, w0
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
ldr x0, [sp, 48]
mov w1, w0
add x0, sp, 296
bl printresponse
add x0, sp, 168
mov x2, 2
mov x1, x0
ldr w0, [sp, 36]
bl write
ldrb w0, [sp, 168]
mov w1, w0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
add x0, sp, 296
mov x2, 2048
mov x1, x0
ldr w0, [sp, 36]
bl read
str x0, [sp, 48]
ldr x0, [sp, 48]
mov w1, w0
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
ldr x0, [sp, 48]
mov w1, w0
add x0, sp, 296
bl printresponse
ldr w0, [sp, 36]
bl close
mov w0, 0
.L15:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 2344]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L16
bl __stack_chk_fail
.L16:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 2352
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
.section .rodata
.align 3
.LC3:
.string "\001"
.string "urn:schemas-upnp-org:device:InternetGatewayDevice"
.align 3
.LC4:
.string "\002"
.string "uuid:fc4ec57e-b051-11db-88f8-0060085db3f6::upnp:rootdevice"
.text
``` |
### 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, -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
add x0, sp, 72
sub x0, x0, #48
adrp x1, .LC4
add x1, x1, :lo12:.LC4
ld1 {v0.16b - v1.16b}, [x1]
st1 {v0.16b - v1.16b}, [x0]
add x0, sp, 24
str x0, [sp, 16]
b .L2
.L3:
ldr x0, [sp, 16]
ldr x0, [x0]
bl puts
ldr x0, [sp, 16]
add x0, x0, 8
str x0, [sp, 16]
.L2:
ldr x0, [sp, 16]
ldr x0, [x0]
cmp x0, 0
bne .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:
.string "first"
.align 3
.LC1:
.string "second"
.align 3
.LC2:
.string "third"
.data
.align 3
.LC4:
.xword .LC0
.xword .LC1
.xword .LC2
.xword 0
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "cls"
.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
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl system
mov w0, 1
str w0, [sp, 24]
b .L2
.L7:
mov w0, 1
str w0, [sp, 28]
b .L3
.L6:
mov w1, 6
ldr w0, [sp, 24]
sub w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
blt .L4
mov w0, 42
bl putchar
b .L5
.L4:
mov w0, 32
bl putchar
.L5:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L3:
ldr w0, [sp, 28]
cmp w0, 5
ble .L6
mov w0, 10
bl putchar
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L2:
ldr w0, [sp, 24]
cmp w0, 5
ble .L7
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
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
mov w0, 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "New Lines: %d\nBlanks: %d\nTabs: %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 wzr, [sp, 16]
str wzr, [sp, 20]
str wzr, [sp, 24]
b .L2
.L5:
ldr w0, [sp, 28]
cmp w0, 10
bne .L3
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L3:
ldr w0, [sp, 28]
cmp w0, 9
bne .L4
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L4:
ldr w0, [sp, 28]
cmp w0, 32
bne .L2
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L2:
bl getchar
str w0, [sp, 28]
ldr w0, [sp, 28]
cmn w0, #1
bne .L5
ldr w3, [sp, 24]
ldr w2, [sp, 20]
ldr w1, [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
.section .rodata
.align 3
.LC0:
.string ""
.align 3
.LC1:
.string "yes"
.align 3
.LC2:
.string "no"
.text
.align 2
.global is_ipv4
.type is_ipv4, %function
is_ipv4:
.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 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
adrp x0, .LC0
add x0, x0, :lo12:.LC0
str x0, [sp, 32]
add x0, sp, 40
add x0, x0, 4
mov x2, x0
ldr x1, [sp, 24]
mov w0, 2
bl inet_pton
cmp w0, 0
beq .L2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
b .L3
.L2:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
.L3:
str x0, [sp, 32]
ldr x0, [sp, 32]
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 .L5
bl __stack_chk_fail
.L5:
mov x0, x1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size is_ipv4, .-is_ipv4
.section .rodata
.align 3
.LC3:
.string "r"
.align 3
.LC4:
.string "Error in opening the file!\n"
.align 3
.LC5:
.string "Is '%s' valid IPv4? \n%s\n"
.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]
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 xzr, [sp, 40]
mov x0, 32
str x0, [sp, 48]
ldr x0, [sp, 16]
ldr x0, [x0, 8]
str x0, [sp, 64]
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 64]
bl fopen
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L8
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 27
mov x1, 1
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl fwrite
mov w0, 1
bl exit
.L11:
ldr x1, [sp, 40]
ldr x0, [sp, 80]
sub x0, x0, #1
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 10
bne .L9
ldr x1, [sp, 40]
ldr x0, [sp, 80]
sub x0, x0, #1
add x0, x1, x0
strb wzr, [x0]
ldr x0, [sp, 80]
sub x0, x0, #2
bl malloc
str x0, [sp, 56]
ldr x1, [sp, 40]
ldr x0, [sp, 80]
sub x0, x0, #2
mov x2, x0
ldr x0, [sp, 56]
bl strncpy
b .L10
.L9:
ldr x0, [sp, 80]
bl malloc
str x0, [sp, 56]
ldr x0, [sp, 40]
ldr x1, [sp, 80]
mov x2, x1
mov x1, x0
ldr x0, [sp, 56]
bl strncpy
.L10:
ldr x0, [sp, 56]
bl is_ipv4
mov x2, x0
ldr x1, [sp, 56]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
.L8:
add x1, sp, 48
add x0, sp, 40
ldr x2, [sp, 72]
bl getline
str x0, [sp, 80]
ldr x0, [sp, 80]
cmn x0, #1
bne .L11
ldr x0, [sp, 72]
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, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L13
bl __stack_chk_fail
.L13:
mov w0, w1
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
.global GUID_SYSTEM_COOLING_POLICY
.section .rodata
.align 3
.type GUID_SYSTEM_COOLING_POLICY, %object
.size GUID_SYSTEM_COOLING_POLICY, 24
GUID_SYSTEM_COOLING_POLICY:
.xword 2496898581
.hword -22375
.hword 19141
.ascii "\256+\344\330\36646\177"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global test
.type test, %function
test:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldr w0, [sp, 4]
ubfiz w0, w0, 4, 4
sxtb w0, w0
asr w0, w0, 4
sxtb w2, w0
ldr x1, [sp, 8]
ldr w0, [x1]
bfi w0, w2, 6, 4
str w0, [x1]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size test, .-test
.section .rodata
.align 3
.LC0:
.string "%x\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB1:
.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
mov w0, -1
str w0, [sp, 16]
add x0, sp, 16
mov w1, 0
bl test
ldr w0, [sp, 16]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
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 .L4
bl __stack_chk_fail
.L4:
mov w0, w1
ldp x29, x30, [sp], 32
.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 main
.type main, %function
main:
.LFB0:
.cfi_startproc
mov w0, 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d\n"
.align 3
.LC1:
.string "%s\n%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
add x0, sp, 16
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
b .L2
.L3:
add x1, sp, 56
add x0, sp, 24
mov x2, x1
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
add x1, sp, 56
add x0, sp, 24
bl jogar
str w0, [sp, 20]
ldr w0, [sp, 20]
bl imprimirResultado
.L2:
ldr w0, [sp, 16]
sub w1, w0, #1
str w1, [sp, 16]
cmp w0, 0
bgt .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
.align 2
.global obterAtaque
.type obterAtaque, %function
obterAtaque:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 101
bne .L7
mov w0, 1
b .L8
.L7:
ldr x0, [sp, 8]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 97
bne .L9
mov w0, 2
b .L8
.L9:
ldr x0, [sp, 8]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 116
bne .L10
mov w0, 0
b .L8
.L10:
mov w0, 3
.L8:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size obterAtaque, .-obterAtaque
.align 2
.global jogar
.type jogar, %function
jogar:
.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]
str x1, [sp, 16]
ldr x0, [sp, 24]
bl obterAtaque
str w0, [sp, 40]
ldr x0, [sp, 16]
bl obterAtaque
str w0, [sp, 44]
ldr w0, [sp, 40]
cmp w0, 2
beq .L12
ldr w0, [sp, 40]
cmp w0, 2
bhi .L13
ldr w0, [sp, 40]
cmp w0, 0
beq .L14
ldr w0, [sp, 40]
cmp w0, 1
beq .L15
b .L13
.L14:
ldr w0, [sp, 44]
cmp w0, 2
beq .L16
ldr w0, [sp, 44]
cmp w0, 2
bhi .L17
ldr w0, [sp, 44]
cmp w0, 0
beq .L18
ldr w0, [sp, 44]
cmp w0, 1
beq .L19
b .L17
.L18:
mov w0, 4
b .L20
.L19:
mov w0, 0
b .L20
.L16:
mov w0, 0
b .L20
.L17:
mov w0, 5
b .L20
.L15:
ldr w0, [sp, 44]
cmp w0, 2
beq .L21
ldr w0, [sp, 44]
cmp w0, 2
bhi .L22
ldr w0, [sp, 44]
cmp w0, 0
beq .L23
ldr w0, [sp, 44]
cmp w0, 1
beq .L24
b .L22
.L23:
mov w0, 1
b .L20
.L24:
mov w0, 3
b .L20
.L21:
mov w0, 0
b .L20
.L22:
mov w0, 5
b .L20
.L12:
ldr w0, [sp, 44]
cmp w0, 2
beq .L25
ldr w0, [sp, 44]
cmp w0, 2
bhi .L26
ldr w0, [sp, 44]
cmp w0, 0
beq .L27
ldr w0, [sp, 44]
cmp w0, 1
beq .L28
b .L26
.L27:
mov w0, 1
b .L20
.L28:
mov w0, 1
b .L20
.L25:
mov w0, 2
b .L20
.L26:
mov w0, 5
b .L20
.L13:
mov w0, 5
.L20:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size jogar, .-jogar
.section .rodata
.align 3
.LC2:
.string "Jogador 1 venceu"
.align 3
.LC3:
.string "Jogador 2 venceu"
.align 3
.LC4:
.string "Ambos venceram"
.align 3
.LC5:
.string "Sem ganhador"
.align 3
.LC6:
.string "Aniquilacao mutua"
.align 3
.LC7:
.string "Erro\n"
.text
.align 2
.global imprimirResultado
.type imprimirResultado, %function
imprimirResultado:
.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]
ldr w0, [sp, 28]
cmp w0, 5
beq .L30
ldr w0, [sp, 28]
cmp w0, 5
bhi .L29
ldr w0, [sp, 28]
cmp w0, 4
beq .L32
ldr w0, [sp, 28]
cmp w0, 4
bhi .L29
ldr w0, [sp, 28]
cmp w0, 3
beq .L33
ldr w0, [sp, 28]
cmp w0, 3
bhi .L29
ldr w0, [sp, 28]
cmp w0, 2
beq .L34
ldr w0, [sp, 28]
cmp w0, 2
bhi .L29
ldr w0, [sp, 28]
cmp w0, 0
beq .L35
ldr w0, [sp, 28]
cmp w0, 1
beq .L36
b .L29
.L35:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
b .L29
.L36:
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
b .L29
.L34:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
b .L29
.L33:
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L29
.L32:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
b .L29
.L30:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 5
mov x1, 1
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl fwrite
nop
.L29:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size imprimirResultado, .-imprimirResultado
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "\nPress 1 to create a Circular Linked List"
.align 3
.LC1:
.string "\nPress 2 to display the Circular Linked List"
.align 3
.LC2:
.string "\nPress 3 to insert"
.align 3
.LC3:
.string "\nPress 4 to exit : "
.align 3
.LC4:
.string "%d"
.align 3
.LC5:
.string "Press 1 to insert at start."
.align 3
.LC6:
.string "Press 2 to insert at end."
.align 3
.LC7:
.string "Press 3 to insert at different position. "
.align 3
.LC8:
.string "Press 4 to go to the previous menu."
.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
mov x0, 16
bl malloc
str x0, [sp, 32]
.L12:
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
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 printf
add x0, sp, 24
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __isoc99_scanf
ldr w0, [sp, 24]
cmp w0, 4
beq .L2
cmp w0, 4
bgt .L12
cmp w0, 3
beq .L4
cmp w0, 3
bgt .L12
cmp w0, 1
beq .L5
cmp w0, 2
beq .L6
b .L3
.L5:
ldr x0, [sp, 32]
bl createCLL
b .L3
.L6:
ldr x0, [sp, 32]
bl displayCLL
b .L3
.L4:
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
add x0, sp, 28
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __isoc99_scanf
ldr w0, [sp, 28]
cmp w0, 4
beq .L14
cmp w0, 4
bgt .L15
cmp w0, 3
beq .L9
cmp w0, 3
bgt .L15
cmp w0, 1
beq .L10
cmp w0, 2
beq .L11
b .L15
.L10:
ldr x0, [sp, 32]
bl insertFront
str x0, [sp, 32]
b .L8
.L11:
ldr x0, [sp, 32]
bl insertEnd
b .L8
.L9:
ldr x0, [sp, 32]
bl insertPos
str x0, [sp, 32]
b .L8
.L14:
nop
.L8:
b .L15
.L2:
mov w0, 0
bl exit
.L15:
nop
.L3:
b .L12
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC9:
.string "\nEnter data : "
.align 3
.LC10:
.string "\nAnother node(0/1)"
.text
.align 2
.global createCLL
.type createCLL, %function
createCLL:
.LFB7:
.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
ldr x0, [sp, 24]
str x0, [sp, 48]
.L19:
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
ldr x0, [sp, 48]
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __isoc99_scanf
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
add x0, sp, 44
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __isoc99_scanf
ldr w0, [sp, 44]
cmp w0, 0
bne .L17
ldr x0, [sp, 48]
ldr x1, [sp, 24]
str x1, [x0, 8]
nop
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 .L20
b .L21
.L17:
mov x0, 16
bl malloc
mov x1, x0
ldr x0, [sp, 48]
str x1, [x0, 8]
ldr x0, [sp, 48]
ldr x0, [x0, 8]
str x0, [sp, 48]
b .L19
.L21:
bl __stack_chk_fail
.L20:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size createCLL, .-createCLL
.section .rodata
.align 3
.LC11:
.string "\nPress 1 to traverse, 2 to exit"
.align 3
.LC12:
.string " %d "
.text
.align 2
.global displayCLL
.type displayCLL, %function
displayCLL:
.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 x0, [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
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
.L26:
ldr x0, [sp, 24]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
add x0, sp, 36
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __isoc99_scanf
ldr w0, [sp, 36]
cmp w0, 1
bne .L28
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
b .L26
.L28:
nop
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 .L27
bl __stack_chk_fail
.L27:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size displayCLL, .-displayCLL
.section .rodata
.align 3
.LC13:
.string "Enter data for the new node : "
.text
.align 2
.global insertFront
.type insertFront, %function
insertFront:
.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]
str x0, [sp, 32]
mov x0, 16
bl malloc
str x0, [sp, 40]
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
ldr x0, [sp, 40]
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __isoc99_scanf
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [x0, 8]
b .L30
.L31:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L30:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
ldr x1, [sp, 32]
cmp x1, x0
bne .L31
ldr x0, [sp, 24]
ldr x1, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size insertFront, .-insertFront
.align 2
.global insertEnd
.type insertEnd, %function
insertEnd:
.LFB10:
.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, 32]
b .L34
.L35:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L34:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
ldr x1, [sp, 32]
cmp x1, x0
bne .L35
mov x0, 16
bl malloc
str x0, [sp, 40]
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
ldr x0, [sp, 40]
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __isoc99_scanf
ldr x0, [sp, 24]
ldr x1, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldr x1, [sp, 32]
str x1, [x0, 8]
ldr x0, [sp, 40]
str x0, [sp, 24]
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size insertEnd, .-insertEnd
.section .rodata
.align 3
.LC14:
.string "Enter the data value of a node where the node is to be inserted : "
.text
.align 2
.global insertPos
.type insertPos, %function
insertPos:
.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
ldr x0, [sp, 24]
str x0, [sp, 40]
mov x0, 16
bl malloc
str x0, [sp, 48]
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
ldr x0, [sp, 48]
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __isoc99_scanf
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl printf
add x0, sp, 36
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __isoc99_scanf
b .L37
.L38:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L37:
ldr x0, [sp, 24]
ldr w1, [x0]
ldr w0, [sp, 36]
cmp w1, w0
bne .L38
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 48]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [sp, 48]
str x1, [x0, 8]
ldr x0, [sp, 40]
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 .L40
bl __stack_chk_fail
.L40:
mov x0, x1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size insertPos, .-insertPos
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global isBalanced
.type isBalanced, %function
isBalanced:
.LFB0:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 8]
mov w0, 1
strb w0, [sp, 30]
str xzr, [sp, 32]
ldr x0, [sp, 8]
str x0, [sp, 40]
b .L2
.L15:
ldr x0, [sp, 40]
ldrb w0, [x0]
strb w0, [sp, 31]
ldrb w0, [sp, 31]
cmp w0, 125
beq .L3
cmp w0, 125
bgt .L4
cmp w0, 123
beq .L5
cmp w0, 123
bgt .L4
cmp w0, 93
beq .L6
cmp w0, 93
bgt .L4
cmp w0, 91
beq .L5
cmp w0, 91
bgt .L4
cmp w0, 40
beq .L5
cmp w0, 41
beq .L7
b .L4
.L5:
ldr x0, [sp, 32]
cmp x0, 0
bne .L8
ldr x0, [sp, 8]
str x0, [sp, 32]
b .L4
.L8:
ldr x0, [sp, 32]
add x0, x0, 1
str x0, [sp, 32]
b .L4
.L3:
ldr x0, [sp, 32]
ldrb w0, [x0]
cmp w0, 123
beq .L10
strb wzr, [sp, 30]
.L10:
ldr x0, [sp, 32]
sub x0, x0, #1
str x0, [sp, 32]
b .L4
.L6:
ldr x0, [sp, 32]
ldrb w0, [x0]
cmp w0, 91
beq .L11
strb wzr, [sp, 30]
.L11:
ldr x0, [sp, 32]
sub x0, x0, #1
str x0, [sp, 32]
b .L4
.L7:
ldr x0, [sp, 32]
ldrb w0, [x0]
cmp w0, 40
beq .L12
strb wzr, [sp, 30]
.L12:
ldr x0, [sp, 32]
sub x0, x0, #1
str x0, [sp, 32]
.L4:
ldrb w0, [sp, 30]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
bne .L17
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L2:
ldr x0, [sp, 40]
ldrb w0, [x0]
cmp w0, 0
bne .L15
b .L14
.L17:
nop
.L14:
ldrb w0, [sp, 30]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size isBalanced, .-isBalanced
.section .rodata
.align 3
.LC0:
.string "[\""
.align 3
.LC1:
.string "\"]"
.text
.align 2
.global printCharArray
.type printCharArray, %function
printCharArray:
.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 x0, [sp, 24]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
str wzr, [sp, 44]
b .L19
.L20:
ldrsw x0, [sp, 44]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
bl putchar
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L19:
ldrsw x0, [sp, 44]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L20
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size printCharArray, .-printCharArray
.global test_case_number
.data
.align 2
.type test_case_number, %object
.size test_case_number, 4
test_case_number:
.word 1
.section .rodata
.align 3
.LC2:
.string "\342\234\223"
.align 3
.LC3:
.string "\342\234\227"
.align 3
.LC4:
.string "%s Test #%d\n"
.align 3
.LC5:
.string "%s Test #%d: Expected "
.align 3
.LC6:
.string "true"
.align 3
.LC7:
.string "false"
.align 3
.LC8:
.string "%s"
.align 3
.LC9:
.string " Your output: "
.text
.align 2
.global check
.type check, %function
check:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
strb w0, [sp, 31]
strb w1, [sp, 30]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
str x0, [sp, 32]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
str x0, [sp, 40]
ldrb w1, [sp, 31]
ldrb w0, [sp, 30]
cmp w1, w0
bne .L22
adrp x0, test_case_number
add x0, x0, :lo12:test_case_number
ldr w0, [x0]
mov w2, w0
ldr x1, [sp, 32]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
b .L23
.L22:
adrp x0, test_case_number
add x0, x0, :lo12:test_case_number
ldr w0, [x0]
mov w2, w0
ldr x1, [sp, 40]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
ldrb w0, [sp, 31]
cmp w0, 0
beq .L24
adrp x0, .LC6
add x0, x0, :lo12:.LC6
b .L25
.L24:
adrp x0, .LC7
add x0, x0, :lo12:.LC7
.L25:
mov x1, x0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
ldrb w0, [sp, 30]
cmp w0, 0
beq .L26
adrp x0, .LC6
add x0, x0, :lo12:.LC6
b .L27
.L26:
adrp x0, .LC7
add x0, x0, :lo12:.LC7
.L27:
mov x1, x0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
mov w0, 10
bl putchar
.L23:
adrp x0, test_case_number
add x0, x0, :lo12:test_case_number
ldr w0, [x0]
add w1, w0, 1
adrp x0, test_case_number
add x0, x0, :lo12:test_case_number
str w1, [x0]
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size check, .-check
.align 2
.global main
.type main, %function
main:
.LFB3:
.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, .LC10
add x1, x0, :lo12:.LC10
add x0, sp, 32
ldr w2, [x1]
str w2, [x0]
ldr w1, [x1, 3]
str w1, [x0, 3]
strb wzr, [sp, 28]
add x0, sp, 32
bl isBalanced
strb w0, [sp, 29]
ldrb w1, [sp, 29]
ldrb w0, [sp, 28]
bl check
adrp x0, .LC11
add x1, x0, :lo12:.LC11
add x0, sp, 40
ldr x2, [x1]
str x2, [x0]
ldr x1, [x1, 5]
str x1, [x0, 5]
mov w0, 1
strb w0, [sp, 30]
add x0, sp, 40
bl isBalanced
strb w0, [sp, 31]
ldrb w1, [sp, 31]
ldrb w0, [sp, 30]
bl check
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 .L30
bl __stack_chk_fail
.L30:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size main, .-main
.section .rodata
.align 3
.LC10:
.string "{[(])}"
.align 3
.LC11:
.string "{{[[(())]]}}"
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global blah
.type blah, %function
blah:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr w0, [sp, 8]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size blah, .-blah
.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
bl f
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
.section .rodata
.align 3
.type header, %object
.size header, 2224
header:
.word 69
.word 16
.word 2
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377\377\377\377\377\377\377}\357\367\275\3079"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\367\275\337\377"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\357{\232\326\236\367\377\377\337\377<\347\327\275\bB"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\004!\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\216s"
.string ""
.string "\226\265\377\377\353Z"
.string ""
.string "(B\363\234\337\377\333\336"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\367\275\337\377"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377\377\377\266\265\3479Mk\034\347\377\377\236\367Mk"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "a\b<\347\377\377\377\377}\357E)"
.string ""
.string "\226\265\377\377\353Z"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "8\306\377\377\313Z"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\367\275\337\377"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "q\214\377\377\377\377y\316"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "IJ\337\377\377\377}\357$!"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "4\245\377\377\377\377\377\377\262\224"
.string ""
.string ""
.string ""
.string "\226\265\377\377\353Z"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377,c"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\357{\373\336\337\377\337\377\034\347\357{"
.string ""
.string ""
.string ""
.string "\367\275\377\377\377\377\377\377\377\377\377\377"
.string ""
.string "8\306\276\367Mk\272\326\337\377}\357"
.string ""
.string ""
.string ""
.string "q\214<\347\337\377\337\377\272\326,c"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\034\347\377\377\377\3770\204"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\232\326\377\377\377\377\024\245"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\3479\276\367\377\377\377\377\373\336"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377\353Z"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\272\326\276\367\004!"
.string ""
.string ""
.string ""
.string "\020\204\337\3778\306\313Z\252RY\316\337\377iJ"
.string ""
.string ""
.string ""
.string "\367\275\337\377"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "8\306\377\377\373\336\317{\343\030"
.string ""
.string ""
.string ""
.string "\222\224\377\377\327\275iJ,c\333\336\276\367\212R"
.string ""
.string "\3479\377\377\377\377\377\377\3079"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "u\255\377\377\377\377\232\326"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\030\306\377\377\377\377\377\377\216s"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377\353Za\b\252R\266\265\377\377\262\224"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "<\347\034\347"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "E)\276\367\327\275"
.string ""
.string ""
.string ""
.string "\367\275\337\377"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "8\306\337\377\343\030"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "]\357\373\336"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "(B\337\377\030\306"
.string ""
.string "mk\377\377\377\377\337\377"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\363\234\377\377\377\377\034\347"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "Mk\377\377\377\377\377\3778\306"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377\377\377\377\377\377\377\337\377\357{"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "IJ\377\377u\255"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\373\336\272\326"
.string ""
.string ""
.string ""
.string "\367\275\337\377"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "8\306\276\367"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\212R\377\377\226\265"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\373\336<\347"
.string ""
.string "mk\377\377\377\377\337\377"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\363\234\377\377\377\377\034\347"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\333\336\377\377\377\377\276\367(B"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377\353Z"
.string ""
.string "\323\234\377\377Y\316"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "mk\377\377\377\377\377\377\377\377\377\377\377\377\377\377\034\347"
.string ""
.string ""
.string ""
.string "\367\275\337\377"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "8\306\276\367"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "mk\377\377\024\245"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\272\326\236\367"
.string ""
.string "\3479\377\377\377\377\377\377\2061"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "u\255\377\377\377\377\232\326"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "q\214\377\377\377\377\377\377U\255"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377\353Z"
.string ""
.string ""
.string ""
.string "\030\306\377\3774\245"
.string ""
.string ""
.string ""
.string "\212R\377\377u\255"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\367\275\337\377"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "8\306\276\367"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\212R\377\377\226\265"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\373\336<\347"
.string ""
.string ""
.string ""
.string "\034\347\377\377\377\3770\204"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\272\326\377\377\377\377\024\245"
.string ""
.string ""
.string ""
.string "\004!]\357\377\377\377\377]\357\242\020"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377\353Z"
.string ""
.string ""
.string ""
.string "\343\030\034\347\377\377\357{"
.string ""
.string ""
.string ""
.string "]\357\333\336"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377$!"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "8\306\276\367"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "]\357\373\336"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "(B\337\377\030\306"
.string ""
.string ""
.string ""
.string "q\214\377\377\377\377\232\326"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\212R\377\377\377\377}\357$!"
.string ""
.string ""
.string ""
.string "u\255\377\377\377\377\377\3770\204"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377\353Z"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\212R\236\367\236\367\252R"
.string ""
.string "Q\214\377\377Y\316,cE)Mk\266\265\327\275"
.string ""
.string ""
.string ""
.string "\357{\377\377u\255\343\030"
.string ""
.string ""
.string ""
.string "8\306\276\367"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\262\224\377\377\327\275iJ,c\333\336\276\367\252R"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377\377\377\266\265\bBMk\034\347\377\377\236\367mk"
.string ""
.string ""
.string ""
.string "iJ\276\367\377\377\377\377\272\326"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\377\377\353Z"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\020\204\377\377\034\347$!"
.string ""
.string "\357{\333\336\276\367\377\377\236\367\333\336q\214"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\226\265\236\367\377\377\236\367"
.string ""
.string "8\306\276\367"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\222\224<\347\377\377\337\377\272\326,c"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\357{\232\326\236\367\377\377\337\377]\357\327\275(B"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\262\224\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\327\275"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.zero 3
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "syz_mount_image"
.align 3
.LC1:
.string "/dev/loop%llu"
.align 3
.LC2:
.string "iso9660"
.text
.align 2
.type syz_mount_image, %function
syz_mount_image:
.LFB6:
.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, 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]
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, 88]
mov w0, -1
str w0, [sp, 92]
ldr x0, [sp, 40]
str x0, [sp, 112]
ldr x0, [sp, 48]
cmp x0, 4096
bls .L2
mov x0, 4096
str x0, [sp, 48]
.L2:
str xzr, [sp, 104]
b .L3
.L7:
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x1, [x0, 8]
mov x0, 135266304
cmp x1, x0
bls .L4
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
mov x1, 135266304
str x1, [x0, 8]
.L4:
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x2, [x0, 16]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x3, x0, x1
mov x0, 33023
movk x0, 0xe03f, lsl 16
movk x0, 0xf80f, lsl 32
movk x0, 0xfe03, lsl 48
umulh x0, x2, x0
lsr x1, x0, 27
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 20
sub x1, x2, x0
str x1, [x3, 16]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x2, [x0, 16]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x0, [x0, 8]
mov x1, 135266304
sub x0, x1, x0
cmp x2, x0
bls .L5
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x2, [x0, 8]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
mov x1, 135266304
sub x1, x1, x2
str x1, [x0, 16]
.L5:
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x0, [x0, 16]
lsl x0, x0, 1
ldr x1, [sp, 56]
cmp x1, x0
bcs .L6
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x0, [x0, 16]
lsl x0, x0, 1
str x0, [sp, 56]
.L6:
ldr x0, [sp, 104]
add x0, x0, 1
str x0, [sp, 104]
.L3:
ldr x1, [sp, 104]
ldr x0, [sp, 48]
cmp x1, x0
bcc .L7
ldr x1, [sp, 56]
mov x0, 135266304
cmp x1, x0
bls .L8
mov x0, 135266304
str x0, [sp, 56]
.L8:
mov w2, 0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, 319
bl syscall
str w0, [sp, 96]
ldr w0, [sp, 96]
cmn w0, #1
bne .L9
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L10
.L9:
ldr x0, [sp, 56]
mov x1, x0
ldr w0, [sp, 96]
bl ftruncate
cmp w0, 0
beq .L11
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L12
.L11:
str xzr, [sp, 104]
b .L13
.L14:
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x4, [x0]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x2, [x0, 8]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x0, [x0, 16]
mov x3, x0
mov x1, x4
ldr w0, [sp, 96]
bl pwrite
ldr x0, [sp, 104]
add x0, x0, 1
str x0, [sp, 104]
.L13:
ldr x1, [sp, 104]
ldr x0, [sp, 48]
cmp x1, x0
bcc .L14
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x4, sp, 120
mov x3, x0
adrp x0, .LC1
add x2, x0, :lo12:.LC1
mov x1, 64
mov x0, x4
bl snprintf
add x0, sp, 120
mov w1, 2
bl open
str w0, [sp, 100]
ldr w0, [sp, 100]
cmn w0, #1
bne .L15
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L12
.L15:
ldr w2, [sp, 96]
mov x1, 19456
ldr w0, [sp, 100]
bl ioctl
cmp w0, 0
beq .L16
bl __errno_location
ldr w0, [x0]
cmp w0, 16
beq .L17
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L18
.L17:
mov w2, 0
mov x1, 19457
ldr w0, [sp, 100]
bl ioctl
mov w0, 1000
bl usleep
ldr w2, [sp, 96]
mov x1, 19456
ldr w0, [sp, 100]
bl ioctl
cmp w0, 0
beq .L16
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L18
.L16:
ldr x0, [sp, 64]
mov w1, 511
bl mkdir
ldr x2, [sp, 72]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x2
bl strcmp
cmp w0, 0
bne .L19
ldr x0, [sp, 32]
orr x0, x0, 1
str x0, [sp, 32]
.L19:
ldr x1, [sp, 64]
ldr x2, [sp, 72]
ldr x3, [sp, 24]
add x0, sp, 120
mov x4, x3
ldr x3, [sp, 32]
bl mount
cmp w0, 0
beq .L20
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L21
.L20:
str wzr, [sp, 92]
.L21:
mov w2, 0
mov x1, 19457
ldr w0, [sp, 100]
bl ioctl
.L18:
ldr w0, [sp, 100]
bl close
.L12:
ldr w0, [sp, 96]
bl close
.L10:
bl __errno_location
mov x1, x0
ldr w0, [sp, 88]
str w0, [x1]
ldrsw x0, [sp, 92]
mov x1, x0
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 .L23
bl __stack_chk_fail
.L23:
mov x0, x1
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size syz_mount_image, .-syz_mount_image
.global procid
.bss
.align 3
.type procid, %object
.size procid, 8
procid:
.zero 8
.section .rodata
.align 3
.LC3:
.string "f2fs"
.align 3
.LC4:
.string "./file0"
.align 3
.LC5:
.string "\020 \365\362\001"
.string "\007"
.string "\t"
.string ""
.string ""
.string "\003"
.string ""
.string ""
.string "\f"
.string ""
.string ""
.string "\t"
.string ""
.string ""
.string "\001"
.string ""
.string ""
.string "\001"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "("
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\f"
.string ""
.string ""
.string "\023"
.string ""
.string ""
.string "\002"
.string ""
.string ""
.string "\002"
.string ""
.string ""
.string "\002"
.string ""
.string ""
.string "\001"
.string ""
.string ""
.string "\f"
.string ""
.string ""
.string ""
.string "\002"
.string ""
.string ""
.string "\002"
.string ""
.string ""
.string "\006"
.string ""
.string ""
.string "\n"
.string ""
.string ""
.string "\016"
.string ""
.string ""
.string "\020"
.string ""
.string "\003"
.string ""
.string ""
.string "\001"
.string ""
.string ""
.string "\002"
.string ""
.string ""
.string "\004sn\253S<I\262\211VO\"\277\234\375#s"
.string "y"
.string "z"
.string "0"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.align 3
.LC6:
.string "\r"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\002"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\f"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\n"
.string ""
.string ""
.string "\013"
.string ""
.string ""
.string "\006"
.string ""
.string ""
.string "\013"
.string ""
.string ""
.string "\n"
.string ""
.string ""
.string "\t"
.string ""
.string ""
.string "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\r"
.string "\013"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\b"
.string ""
.string ""
.string "\001"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\t"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "E"
.string ""
.string ""
.string "\006"
.string ""
.string ""
.string "\001"
.string ""
.string ""
.string "\013"
.string ""
.string ""
.string "\013"
.string ""
.string ""
.string "\016"
.string ""
.string ""
.string "@"
.string ""
.string ""
.string "@"
.string ""
.string ""
.string "\374\017"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.align 3
.LC7:
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "}\226\222o\013"
.string "\003"
.string ""
.string ""
.string ""
.string "\003"
.string ""
.string ""
.string "\f&"
.string ""
.string "\004"
.string ""
.string ""
.string ""
.string "\004"
.string ""
.string ""
.string "\001$"
.string ""
.string "\005"
.string ""
.string ""
.string ""
.string "\005"
.string ""
.string ""
.string "\004&"
.string ""
.string "\006"
.string ""
.string ""
.string ""
.string "\006"
.string ""
.string ""
.string "\003$"
.string ""
.string "\007"
.string ""
.string ""
.string ""
.string "\007"
.string ""
.string ""
.string "\004$"
.string ""
.string "\b"
.string ""
.string ""
.string ""
.string "\b"
.string ""
.string ""
.string "\005$"
.string ""
.string "\t"
.string ""
.string ""
.string ""
.string "\t"
.string ""
.string ""
.string "\006$"
.string ""
.string "\n"
.string ""
.string ""
.string ""
.string "\n"
.string ""
.string ""
.string "\007$"
.string ""
.string "\013"
.string ""
.string ""
.string ""
.string "\013"
.string ""
.string ""
.string "\013&"
.string ""
.string "\f"
.string ""
.string ""
.string ""
.string "\f"
.string ""
.string ""
.string "\b$"
.string ""
.string "\r"
.string ""
.string ""
.string ""
.string "\r"
.string ""
.string ""
.string "\n$"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.align 3
.LC8:
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\001"
.string ""
.string ""
.string ""
.string "\r"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\002"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\f"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\n"
.string ""
.string ""
.string "\013"
.string ""
.string ""
.string "\006"
.string ""
.string ""
.string "\013"
.string ""
.string ""
.string "\n"
.string ""
.string ""
.string "\t"
.string ""
.string ""
.string "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\r"
.string "\013"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\b"
.string ""
.string ""
.string "\001"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\t"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "E"
.string ""
.string ""
.string "\006"
.string ""
.string ""
.string "\001"
.string ""
.string ""
.string "\013"
.string ""
.string ""
.string "\013"
.string ""
.string ""
.string "\016"
.string ""
.string ""
.string "@"
.string ""
.string ""
.string "@"
.string ""
.string ""
.string "\374\017"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.align 3
.LC9:
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "}\226\222o"
.align 3
.LC10:
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\013"
.string ""
.string ""
.string "\013"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\t"
.string ""
.string ""
.string ")\333\332\177\f&"
.string ""
.string "\355A"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\004"
.string ""
.string ""
.string ""
.string "\020"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\002"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\246\240\330Z"
.string ""
.string ""
.string ""
.string "\246\240\330Z"
.string ""
.string ""
.string ""
.string "\246\240\330Z"
.string ""
.string ""
.string ""
.string "c\220n\024\226\203\336\032\226\203\336\032"
.string ""
.string ""
.string ""
.string "\001"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.align 3
.LC11:
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\003"
.string ""
.string ""
.string "\003"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\n"
.string ""
.string ""
.string "Z\253\331P\r&"
.string ""
.string ""
.text
.align 2
.global loop
.type loop, %function
loop:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov x2, 5
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, 536870912
bl memcpy
mov x2, 8
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov x0, 256
movk x0, 0x2000, lsl 16
bl memcpy
mov x0, 512
movk x0, 0x2000, lsl 16
mov x1, 536936448
str x1, [x0]
mov x0, 520
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 528
movk x0, 0x2000, lsl 16
mov x1, 1024
str x1, [x0]
mov x0, 536
movk x0, 0x2000, lsl 16
mov x1, 256
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 544
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 552
movk x0, 0x2000, lsl 16
mov x1, 2144
str x1, [x0]
mov x0, 560
movk x0, 0x2000, lsl 16
mov x1, 512
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 568
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 576
movk x0, 0x2000, lsl 16
mov x1, 2688
str x1, [x0]
mov x0, 584
movk x0, 0x2000, lsl 16
mov x1, 768
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 592
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 600
movk x0, 0x2000, lsl 16
mov x1, 2944
str x1, [x0]
mov x0, 608
movk x0, 0x2000, lsl 16
mov x1, 1024
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x2, 160
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov x0, 1024
movk x0, 0x2001, lsl 16
bl memcpy
mov x0, 616
movk x0, 0x2000, lsl 16
mov x1, 160
str x1, [x0]
mov x0, 624
movk x0, 0x2000, lsl 16
mov x1, 5120
str x1, [x0]
mov x0, 632
movk x0, 0x2000, lsl 16
mov x1, 1280
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 640
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 648
movk x0, 0x2000, lsl 16
mov x1, 6240
str x1, [x0]
mov x0, 656
movk x0, 0x2000, lsl 16
mov x1, 1536
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 664
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 672
movk x0, 0x2000, lsl 16
mov x1, 6784
str x1, [x0]
mov x0, 680
movk x0, 0x2000, lsl 16
mov x1, 1792
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 688
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 696
movk x0, 0x2000, lsl 16
mov x1, 7040
str x1, [x0]
mov x0, 704
movk x0, 0x2000, lsl 16
mov x1, 2048
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x2, 192
adrp x0, .LC6
add x1, x0, :lo12:.LC6
mov x0, 2048
movk x0, 0x2001, lsl 16
bl memcpy
mov x0, 712
movk x0, 0x2000, lsl 16
mov x1, 192
str x1, [x0]
mov x0, 720
movk x0, 0x2000, lsl 16
mov x1, 2097152
str x1, [x0]
mov x0, 728
movk x0, 0x2000, lsl 16
mov x1, 2304
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x2, 192
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, 2304
movk x0, 0x2001, lsl 16
bl memcpy
mov x0, 736
movk x0, 0x2000, lsl 16
mov x1, 192
str x1, [x0]
mov x0, 744
movk x0, 0x2000, lsl 16
mov x1, 4064
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 752
movk x0, 0x2000, lsl 16
mov x1, 2560
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 760
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 768
movk x0, 0x2000, lsl 16
mov x1, 4576
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 776
movk x0, 0x2000, lsl 16
mov x1, 2816
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 784
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 792
movk x0, 0x2000, lsl 16
mov x1, 4672
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 800
movk x0, 0x2000, lsl 16
mov x1, 3072
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 808
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 816
movk x0, 0x2000, lsl 16
mov x1, 4736
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 824
movk x0, 0x2000, lsl 16
mov x1, 3328
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 832
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 840
movk x0, 0x2000, lsl 16
mov x1, 4832
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 848
movk x0, 0x2000, lsl 16
mov x1, 3584
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 856
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 864
movk x0, 0x2000, lsl 16
mov x1, 4896
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 872
movk x0, 0x2000, lsl 16
mov x1, 3840
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 880
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 888
movk x0, 0x2000, lsl 16
mov x1, 4992
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 896
movk x0, 0x2000, lsl 16
mov x1, 4096
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 904
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 912
movk x0, 0x2000, lsl 16
mov x1, 5088
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 920
movk x0, 0x2000, lsl 16
mov x1, 4352
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 928
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 936
movk x0, 0x2000, lsl 16
mov x1, 8192
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 944
movk x0, 0x2000, lsl 16
mov x1, 4608
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 952
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 960
movk x0, 0x2000, lsl 16
mov x1, 11776
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 968
movk x0, 0x2000, lsl 16
mov x1, 4864
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 976
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 984
movk x0, 0x2000, lsl 16
mov x1, 12256
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 992
movk x0, 0x2000, lsl 16
mov x1, 5120
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1000
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1008
movk x0, 0x2000, lsl 16
mov x1, 16352
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 1016
movk x0, 0x2000, lsl 16
mov x1, 5376
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x2, 224
adrp x0, .LC8
add x1, x0, :lo12:.LC8
mov x0, 5376
movk x0, 0x2001, lsl 16
bl memcpy
mov x0, 1024
movk x0, 0x2000, lsl 16
mov x1, 224
str x1, [x0]
mov x0, 1032
movk x0, 0x2000, lsl 16
mov x1, 20448
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 1040
movk x0, 0x2000, lsl 16
mov x1, 5632
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x2, 32
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov x0, 5632
movk x0, 0x2001, lsl 16
bl memcpy
mov x0, 1048
movk x0, 0x2000, lsl 16
mov x1, 32
str x1, [x0]
mov x0, 1056
movk x0, 0x2000, lsl 16
mov x1, 24544
movk x1, 0x20, lsl 16
str x1, [x0]
mov x0, 1064
movk x0, 0x2000, lsl 16
mov x1, 5888
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1072
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1080
movk x0, 0x2000, lsl 16
mov x1, 4194304
str x1, [x0]
mov x0, 1088
movk x0, 0x2000, lsl 16
mov x1, 6144
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1096
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1104
movk x0, 0x2000, lsl 16
mov x1, 4064
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1112
movk x0, 0x2000, lsl 16
mov x1, 6400
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1120
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1128
movk x0, 0x2000, lsl 16
mov x1, 4576
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1136
movk x0, 0x2000, lsl 16
mov x1, 6656
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1144
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1152
movk x0, 0x2000, lsl 16
mov x1, 4672
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1160
movk x0, 0x2000, lsl 16
mov x1, 6912
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1168
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1176
movk x0, 0x2000, lsl 16
mov x1, 4736
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1184
movk x0, 0x2000, lsl 16
mov x1, 7168
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1192
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1200
movk x0, 0x2000, lsl 16
mov x1, 4832
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1208
movk x0, 0x2000, lsl 16
mov x1, 7424
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1216
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1224
movk x0, 0x2000, lsl 16
mov x1, 4896
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1232
movk x0, 0x2000, lsl 16
mov x1, 64
movk x1, 0x2000, lsl 16
str x1, [x0]
mov x0, 1240
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1248
movk x0, 0x2000, lsl 16
mov x1, 4992
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1256
movk x0, 0x2000, lsl 16
mov x1, 7936
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1264
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1272
movk x0, 0x2000, lsl 16
mov x1, 5088
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1280
movk x0, 0x2000, lsl 16
mov x1, 8192
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1288
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1296
movk x0, 0x2000, lsl 16
mov x1, 8192
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1304
movk x0, 0x2000, lsl 16
mov x1, 8448
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1312
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1320
movk x0, 0x2000, lsl 16
mov x1, 11776
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1328
movk x0, 0x2000, lsl 16
mov x1, 8704
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1336
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1344
movk x0, 0x2000, lsl 16
mov x1, 12256
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1352
movk x0, 0x2000, lsl 16
mov x1, 8960
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1360
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1368
movk x0, 0x2000, lsl 16
mov x1, 16352
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1376
movk x0, 0x2000, lsl 16
mov x1, 9216
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1384
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1392
movk x0, 0x2000, lsl 16
mov x1, 20448
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1400
movk x0, 0x2000, lsl 16
mov x1, 9472
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1408
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1416
movk x0, 0x2000, lsl 16
mov x1, 24544
movk x1, 0x40, lsl 16
str x1, [x0]
mov x0, 1424
movk x0, 0x2000, lsl 16
mov x1, 9728
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1432
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1440
movk x0, 0x2000, lsl 16
mov x1, 10485760
str x1, [x0]
mov x0, 1448
movk x0, 0x2000, lsl 16
mov x1, 9984
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1456
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1464
movk x0, 0x2000, lsl 16
mov x1, 33554432
str x1, [x0]
mov x0, 1472
movk x0, 0x2000, lsl 16
mov x1, 10240
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1480
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1488
movk x0, 0x2000, lsl 16
mov x1, 2368
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1496
movk x0, 0x2000, lsl 16
mov x1, 10496
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1504
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1512
movk x0, 0x2000, lsl 16
mov x1, 4096
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1520
movk x0, 0x2000, lsl 16
mov x1, 10752
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1528
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1536
movk x0, 0x2000, lsl 16
mov x1, 6464
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1544
movk x0, 0x2000, lsl 16
mov x1, 11008
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1552
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1560
movk x0, 0x2000, lsl 16
mov x1, 8192
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1568
movk x0, 0x2000, lsl 16
mov x1, 11264
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1576
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1584
movk x0, 0x2000, lsl 16
mov x1, 10560
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1592
movk x0, 0x2000, lsl 16
mov x1, 11520
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1600
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1608
movk x0, 0x2000, lsl 16
mov x1, 12288
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1616
movk x0, 0x2000, lsl 16
mov x1, 11776
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1624
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1632
movk x0, 0x2000, lsl 16
mov x1, 14656
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1640
movk x0, 0x2000, lsl 16
mov x1, 12032
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1648
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1656
movk x0, 0x2000, lsl 16
mov x1, 16384
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1664
movk x0, 0x2000, lsl 16
mov x1, 12288
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1672
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1680
movk x0, 0x2000, lsl 16
mov x1, 18752
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1688
movk x0, 0x2000, lsl 16
mov x1, 12544
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1696
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1704
movk x0, 0x2000, lsl 16
mov x1, 20480
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1712
movk x0, 0x2000, lsl 16
mov x1, 12800
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1720
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1728
movk x0, 0x2000, lsl 16
mov x1, 22848
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1736
movk x0, 0x2000, lsl 16
mov x1, 13056
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1744
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1752
movk x0, 0x2000, lsl 16
mov x1, 24576
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1760
movk x0, 0x2000, lsl 16
mov x1, 13312
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1768
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1776
movk x0, 0x2000, lsl 16
mov x1, 26944
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1784
movk x0, 0x2000, lsl 16
mov x1, 13568
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1792
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1800
movk x0, 0x2000, lsl 16
mov x1, 28672
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1808
movk x0, 0x2000, lsl 16
mov x1, 13824
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1816
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1824
movk x0, 0x2000, lsl 16
mov x1, 31040
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1832
movk x0, 0x2000, lsl 16
mov x1, 14080
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1840
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1848
movk x0, 0x2000, lsl 16
mov x1, 32768
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1856
movk x0, 0x2000, lsl 16
mov x1, 14336
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1864
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1872
movk x0, 0x2000, lsl 16
mov x1, 35136
movk x1, 0x200, lsl 16
str x1, [x0]
mov x0, 1880
movk x0, 0x2000, lsl 16
mov x1, 14592
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1888
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1896
movk x0, 0x2000, lsl 16
mov x1, 37748736
str x1, [x0]
mov x0, 1904
movk x0, 0x2000, lsl 16
mov x1, 14848
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1912
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1920
movk x0, 0x2000, lsl 16
mov x1, 352
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 1928
movk x0, 0x2000, lsl 16
mov x1, 15104
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1936
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1944
movk x0, 0x2000, lsl 16
mov x1, 4064
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 1952
movk x0, 0x2000, lsl 16
mov x1, 15360
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1960
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1968
movk x0, 0x2000, lsl 16
mov x1, 4448
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 1976
movk x0, 0x2000, lsl 16
mov x1, 15616
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 1984
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 1992
movk x0, 0x2000, lsl 16
mov x1, 8160
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2000
movk x0, 0x2000, lsl 16
mov x1, 15872
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2008
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2016
movk x0, 0x2000, lsl 16
mov x1, 8544
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2024
movk x0, 0x2000, lsl 16
mov x1, 16128
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2032
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2040
movk x0, 0x2000, lsl 16
mov x1, 12256
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2048
movk x0, 0x2000, lsl 16
mov x1, 16384
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2056
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2064
movk x0, 0x2000, lsl 16
mov x1, 12640
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2072
movk x0, 0x2000, lsl 16
mov x1, 16640
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2080
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2088
movk x0, 0x2000, lsl 16
mov x1, 16352
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2096
movk x0, 0x2000, lsl 16
mov x1, 16896
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2104
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2112
movk x0, 0x2000, lsl 16
mov x1, 20448
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2120
movk x0, 0x2000, lsl 16
mov x1, 17152
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2128
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2136
movk x0, 0x2000, lsl 16
mov x1, 24544
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2144
movk x0, 0x2000, lsl 16
mov x1, 17408
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2152
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2160
movk x0, 0x2000, lsl 16
mov x1, 28640
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2168
movk x0, 0x2000, lsl 16
mov x1, 17664
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2176
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2184
movk x0, 0x2000, lsl 16
mov x1, 32736
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2192
movk x0, 0x2000, lsl 16
mov x1, 17920
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2200
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2208
movk x0, 0x2000, lsl 16
mov x1, 36832
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2216
movk x0, 0x2000, lsl 16
mov x1, 18176
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2224
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2232
movk x0, 0x2000, lsl 16
mov x1, 37216
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2240
movk x0, 0x2000, lsl 16
mov x1, 18432
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2248
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2256
movk x0, 0x2000, lsl 16
mov x1, 40928
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2264
movk x0, 0x2000, lsl 16
mov x1, 18688
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2272
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2280
movk x0, 0x2000, lsl 16
mov x1, 41312
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2288
movk x0, 0x2000, lsl 16
mov x1, 18944
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2296
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2304
movk x0, 0x2000, lsl 16
mov x1, 45024
movk x1, 0x240, lsl 16
str x1, [x0]
mov x0, 2312
movk x0, 0x2000, lsl 16
mov x1, 19200
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2320
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2328
movk x0, 0x2000, lsl 16
mov x1, 39845888
str x1, [x0]
mov x0, 2336
movk x0, 0x2000, lsl 16
mov x1, 19456
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2344
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2352
movk x0, 0x2000, lsl 16
mov x1, 352
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2360
movk x0, 0x2000, lsl 16
mov x1, 19712
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2368
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2376
movk x0, 0x2000, lsl 16
mov x1, 4064
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2384
movk x0, 0x2000, lsl 16
mov x1, 19968
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2392
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2400
movk x0, 0x2000, lsl 16
mov x1, 4448
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2408
movk x0, 0x2000, lsl 16
mov x1, 20224
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2416
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2424
movk x0, 0x2000, lsl 16
mov x1, 8160
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2432
movk x0, 0x2000, lsl 16
mov x1, 20480
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2440
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2448
movk x0, 0x2000, lsl 16
mov x1, 8544
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2456
movk x0, 0x2000, lsl 16
mov x1, 20736
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2464
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2472
movk x0, 0x2000, lsl 16
mov x1, 12256
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2480
movk x0, 0x2000, lsl 16
mov x1, 20992
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2488
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2496
movk x0, 0x2000, lsl 16
mov x1, 12640
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2504
movk x0, 0x2000, lsl 16
mov x1, 21248
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2512
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2520
movk x0, 0x2000, lsl 16
mov x1, 14656
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2528
movk x0, 0x2000, lsl 16
mov x1, 21504
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2536
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2544
movk x0, 0x2000, lsl 16
mov x1, 16352
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2552
movk x0, 0x2000, lsl 16
mov x1, 21760
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2560
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2568
movk x0, 0x2000, lsl 16
mov x1, 16736
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2576
movk x0, 0x2000, lsl 16
mov x1, 22016
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2584
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2592
movk x0, 0x2000, lsl 16
mov x1, 18752
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2600
movk x0, 0x2000, lsl 16
mov x1, 22272
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2608
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2616
movk x0, 0x2000, lsl 16
mov x1, 20448
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2624
movk x0, 0x2000, lsl 16
mov x1, 22528
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2632
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2640
movk x0, 0x2000, lsl 16
mov x1, 20832
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2648
movk x0, 0x2000, lsl 16
mov x1, 22784
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2656
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2664
movk x0, 0x2000, lsl 16
mov x1, 24544
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2672
movk x0, 0x2000, lsl 16
mov x1, 23040
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2680
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2688
movk x0, 0x2000, lsl 16
mov x1, 24928
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2696
movk x0, 0x2000, lsl 16
mov x1, 23296
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2704
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2712
movk x0, 0x2000, lsl 16
mov x1, 28640
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2720
movk x0, 0x2000, lsl 16
mov x1, 23552
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2728
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2736
movk x0, 0x2000, lsl 16
mov x1, 29024
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2744
movk x0, 0x2000, lsl 16
mov x1, 23808
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2752
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2760
movk x0, 0x2000, lsl 16
mov x1, 32736
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2768
movk x0, 0x2000, lsl 16
mov x1, 24064
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2776
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2784
movk x0, 0x2000, lsl 16
mov x1, 33120
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2792
movk x0, 0x2000, lsl 16
mov x1, 24320
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2800
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2808
movk x0, 0x2000, lsl 16
mov x1, 36832
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2816
movk x0, 0x2000, lsl 16
mov x1, 24576
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2824
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2832
movk x0, 0x2000, lsl 16
mov x1, 37216
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2840
movk x0, 0x2000, lsl 16
mov x1, 24832
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2848
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2856
movk x0, 0x2000, lsl 16
mov x1, 40928
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2864
movk x0, 0x2000, lsl 16
mov x1, 25088
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2872
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2880
movk x0, 0x2000, lsl 16
mov x1, 41312
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2888
movk x0, 0x2000, lsl 16
mov x1, 25344
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2896
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2904
movk x0, 0x2000, lsl 16
mov x1, 43328
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2912
movk x0, 0x2000, lsl 16
mov x1, 25600
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2920
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2928
movk x0, 0x2000, lsl 16
mov x1, 45024
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2936
movk x0, 0x2000, lsl 16
mov x1, 25856
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2944
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2952
movk x0, 0x2000, lsl 16
mov x1, 45408
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2960
movk x0, 0x2000, lsl 16
mov x1, 26112
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 2968
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 2976
movk x0, 0x2000, lsl 16
mov x1, 47424
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 2984
movk x0, 0x2000, lsl 16
mov x1, 26368
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x2, 128
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov x0, 26368
movk x0, 0x2001, lsl 16
bl memcpy
mov x0, 2992
movk x0, 0x2000, lsl 16
mov x1, 128
str x1, [x0]
mov x0, 3000
movk x0, 0x2000, lsl 16
mov x1, 49124
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 3008
movk x0, 0x2000, lsl 16
mov x1, 26624
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x0, 3016
movk x0, 0x2000, lsl 16
str xzr, [x0]
mov x0, 3024
movk x0, 0x2000, lsl 16
mov x1, 49504
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 3032
movk x0, 0x2000, lsl 16
mov x1, 26880
movk x1, 0x2001, lsl 16
str x1, [x0]
mov x2, 32
adrp x0, .LC11
add x1, x0, :lo12:.LC11
mov x0, 26880
movk x0, 0x2001, lsl 16
bl memcpy
mov x0, 3040
movk x0, 0x2000, lsl 16
mov x1, 32
str x1, [x0]
mov x0, 3048
movk x0, 0x2000, lsl 16
mov x1, 53216
movk x1, 0x260, lsl 16
str x1, [x0]
mov x0, 27136
movk x0, 0x2001, lsl 16
strb wzr, [x0]
mov x6, 27136
movk x6, 0x2001, lsl 16
mov x5, 0
mov x4, 512
movk x4, 0x2000, lsl 16
mov x3, 106
mov x2, 41943040
mov x1, 256
movk x1, 0x2000, lsl 16
mov x0, 536870912
bl syz_mount_image
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size loop, .-loop
.align 2
.global main
.type main, %function
main:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w6, 0
mov w5, -1
mov w4, 50
mov w3, 3
mov w2, 16777216
mov w1, 536870912
mov x0, 222
bl syscall
bl loop
mov w0, 0
ldp x29, x30, [sp], 16
.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
.global lock
.bss
.align 3
.type lock, %object
.size lock, 48
lock:
.zero 48
.global cond_mutex
.align 3
.type cond_mutex, %object
.size cond_mutex, 48
cond_mutex:
.zero 48
.global cond
.align 3
.type cond, %object
.size cond, 48
cond:
.zero 48
.section .rodata
.align 3
.LC0:
.string "SIGINT %d\n"
.text
.align 2
.global handler
.type handler, %function
handler:
.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 w1, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size handler, .-handler
.align 2
.global thread_main
.type thread_main, %function
thread_main:
.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 x0, [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
ldr x0, [sp, 24]
cmp x0, 0
beq .L3
ldr x0, [sp, 24]
sub x0, x0, #1
add x4, sp, 32
mov x3, x0
adrp x0, thread_main
add x2, x0, :lo12:thread_main
mov x1, 0
mov x0, x4
bl pthread_create
adrp x0, cond_mutex
add x0, x0, :lo12:cond_mutex
bl pthread_mutex_lock
adrp x0, cond_mutex
add x1, x0, :lo12:cond_mutex
adrp x0, cond
add x0, x0, :lo12:cond
bl pthread_cond_wait
adrp x0, cond_mutex
add x0, x0, :lo12:cond_mutex
bl pthread_mutex_unlock
ldr x0, [sp, 32]
mov x1, 0
bl pthread_join
b .L4
.L3:
adrp x0, lock
add x0, x0, :lo12:lock
bl pthread_mutex_unlock
adrp x0, cond_mutex
add x1, x0, :lo12:cond_mutex
adrp x0, cond
add x0, x0, :lo12:cond
bl pthread_cond_wait
.L4:
mov x0, 0
bl pthread_exit
.cfi_endproc
.LFE1:
.size thread_main, .-thread_main
.section .rodata
.align 3
.LC1:
.string "usage: %s NB_THREADS\n"
.align 3
.LC2:
.string "Tous mes descendants sont cr\303\251\303\251s"
.align 3
.LC3:
.string "Tous mes descendants se sont termin\303\251s."
.text
.align 2
.global main
.type main, %function
main:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -336]!
.cfi_def_cfa_offset 336
.cfi_offset 29, -336
.cfi_offset 30, -328
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, 328]
mov x1, 0
ldr w0, [sp, 28]
cmp w0, 2
beq .L7
ldr x0, [sp, 16]
ldr x0, [x0]
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w0, 1
b .L9
.L7:
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl atoi
sxtw x0, w0
str x0, [sp, 40]
add x0, sp, 48
bl sigfillset
add x0, sp, 48
mov x2, 0
mov x1, x0
mov w0, 0
bl sigprocmask
mov x1, 0
adrp x0, cond
add x0, x0, :lo12:cond
bl pthread_cond_init
mov x1, 0
adrp x0, lock
add x0, x0, :lo12:lock
bl pthread_mutex_init
mov x1, 0
adrp x0, cond_mutex
add x0, x0, :lo12:cond_mutex
bl pthread_mutex_init
adrp x0, lock
add x0, x0, :lo12:lock
bl pthread_mutex_lock
ldr x0, [sp, 40]
add x4, sp, 32
mov x3, x0
adrp x0, thread_main
add x2, x0, :lo12:thread_main
mov x1, 0
mov x0, x4
bl pthread_create
adrp x0, lock
add x0, x0, :lo12:lock
bl pthread_mutex_lock
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
adrp x0, handler
add x0, x0, :lo12:handler
str x0, [sp, 176]
add x0, sp, 184
add x1, sp, 48
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]
add x0, sp, 176
mov x2, 0
mov x1, x0
mov w0, 2
bl sigaction
add x0, sp, 48
mov w1, 2
bl sigdelset
add x0, sp, 48
bl sigsuspend
adrp x0, cond
add x0, x0, :lo12:cond
bl pthread_cond_broadcast
ldr x0, [sp, 32]
mov x1, 0
bl pthread_join
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
mov w0, 0
.L9:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 328]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L10
bl __stack_chk_fail
.L10:
mov w0, w1
ldp x29, x30, [sp], 336
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global stdin
.bss
.align 3
.type stdin, %object
.size stdin, 8
stdin:
.zero 8
.global stdout
.align 3
.type stdout, %object
.size stdout, 8
stdout:
.zero 8
.global stderr
.align 3
.type stderr, %object
.size stderr, 8
stderr:
.zero 8
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Usage: ./udpSend ip port "
.align 3
.LC1:
.string "socket"
.align 3
.LC2:
.string "create socket.\n\r"
.align 3
.LC3:
.string "server ip not exist."
.align 3
.LC4:
.string "hello i'm here"
.align 3
.LC5:
.string "\n\rsend error.\n\r"
.align 3
.LC6:
.string "send success.\n\r"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.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, 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, 200]
mov x1, 0
ldr w0, [sp, 28]
cmp w0, 3
beq .L2
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
mov w0, -1
b .L10
.L2:
mov w2, 0
mov w1, 2
mov w0, 2
bl socket
str w0, [sp, 44]
ldr w0, [sp, 44]
cmn w0, #1
bne .L4
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl perror
bl __errno_location
ldr w0, [x0]
bl exit
.L4:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 2
strh w0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 16
ldr x0, [x0]
cmp x0, 0
beq .L5
ldr x0, [sp, 16]
add x0, x0, 16
ldr x0, [x0]
bl atoi
and w0, w0, 65535
bl htons
and w0, w0, 65535
strh w0, [sp, 58]
b .L6
.L5:
mov w0, 1234
bl htons
and w0, w0, 65535
strh w0, [sp, 58]
.L6:
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
cmp x0, 0
beq .L7
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl inet_addr
str w0, [sp, 60]
mov w0, 16
str w0, [sp, 48]
add x2, sp, 72
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov x0, x2
ldr x2, [x1]
str x2, [x0]
ldr x1, [x1, 7]
str x1, [x0, 7]
add x0, sp, 72
bl strlen
mov x6, x0
ldr w2, [sp, 48]
add x1, sp, 56
add x0, sp, 72
mov w5, w2
mov x4, x1
mov w3, 0
mov x2, x6
mov x1, x0
ldr w0, [sp, 44]
bl sendto
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bge .L9
b .L12
.L7:
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
mov w0, 0
bl exit
.L12:
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
mov w0, 3
b .L10
.L9:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
mov w0, 0
.L10:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 200]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L11
bl __stack_chk_fail
.L11:
mov w0, w1
ldp x29, x30, [sp], 208
.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 CCSID_MAPPING
.data
.align 3
.type CCSID_MAPPING, %object
.size CCSID_MAPPING, 26972
CCSID_MAPPING:
.string "ADOBELATIN1ENCODING"
.zero 20
.word 1277
.string "ADOBESTANDARDENCODING"
.zero 18
.word 1276
.string "ARABIC"
.zero 33
.word 1089
.string "ASMO708"
.zero 32
.word 1089
.string "BIG5"
.zero 35
.word 1370
.string "CCSID00858"
.zero 29
.word 858
.string "CCSID01140"
.zero 29
.word 1140
.string "CCSID01141"
.zero 29
.word 1141
.string "CCSID01142"
.zero 29
.word 1142
.string "CCSID01143"
.zero 29
.word 1143
.string "CCSID01144"
.zero 29
.word 1144
.string "CCSID01145"
.zero 29
.word 1145
.string "CCSID01146"
.zero 29
.word 1146
.string "CCSID01147"
.zero 29
.word 1147
.string "CCSID01148"
.zero 29
.word 1148
.string "CCSID01149"
.zero 29
.word 1149
.string "CHINESE"
.zero 32
.word 1383
.string "CP00858"
.zero 32
.word 858
.string "CP01140"
.zero 32
.word 1140
.string "CP01141"
.zero 32
.word 1141
.string "CP01142"
.zero 32
.word 1142
.string "CP01143"
.zero 32
.word 1143
.string "CP01144"
.zero 32
.word 1144
.string "CP01145"
.zero 32
.word 1145
.string "CP01146"
.zero 32
.word 1146
.string "CP01147"
.zero 32
.word 1147
.string "CP01148"
.zero 32
.word 1148
.string "CP01149"
.zero 32
.word 1149
.string "CP037"
.zero 34
.word 37
.string "CP1006"
.zero 33
.word 1006
.string "CP1008"
.zero 33
.word 5104
.string "CP1025"
.zero 33
.word 1025
.string "CP1027"
.zero 33
.word 5123
.string "CP1046"
.zero 33
.word 9238
.string "CP1089"
.zero 33
.word 1089
.string "CP1097"
.zero 33
.word 1097
.string "CP1098"
.zero 33
.word 1098
.string "CP1112"
.zero 33
.word 1112
.string "CP1122"
.zero 33
.word 1122
.string "CP1123"
.zero 33
.word 1123
.string "CP1124"
.zero 33
.word 1124
.string "CP1125"
.zero 33
.word 1125
.string "CP1130"
.zero 33
.word 1164
.string "CP1131"
.zero 33
.word 1131
.string "CP1140"
.zero 33
.word 1140
.string "CP1141"
.zero 33
.word 1141
.string "CP1142"
.zero 33
.word 1142
.string "CP1143"
.zero 33
.word 1143
.string "CP1144"
.zero 33
.word 1144
.string "CP1145"
.zero 33
.word 1145
.string "CP1146"
.zero 33
.word 1146
.string "CP1147"
.zero 33
.word 1147
.string "CP1148"
.zero 33
.word 1148
.string "CP1149"
.zero 33
.word 1149
.string "CP1208"
.zero 33
.word 1208
.string "CP1250"
.zero 33
.word 5346
.string "CP1251"
.zero 33
.word 5347
.string "CP1252"
.zero 33
.word 5348
.string "CP1253"
.zero 33
.word 1253
.string "CP1254"
.zero 33
.word 5350
.string "CP1255"
.zero 33
.word 5351
.string "CP1256"
.zero 33
.word 5352
.string "CP1257"
.zero 33
.word 5353
.string "CP1258"
.zero 33
.word 5354
.string "CP1363"
.zero 33
.word 1363
.string "CP1364"
.zero 33
.word 1364
.string "CP1383"
.zero 33
.word 1383
.string "CP1386"
.zero 33
.word 1386
.string "CP273"
.zero 34
.word 273
.string "CP277"
.zero 34
.word 277
.string "CP278"
.zero 34
.word 278
.string "CP280"
.zero 34
.word 280
.string "CP284"
.zero 34
.word 284
.string "CP285"
.zero 34
.word 285
.string "CP28709"
.zero 32
.word 1159
.string "CP297"
.zero 34
.word 297
.string "CP33722"
.zero 32
.word 33722
.string "CP37"
.zero 35
.word 37
.string "CP420"
.zero 34
.word 420
.string "CP424"
.zero 34
.word 424
.string "CP437"
.zero 34
.word 437
.string "CP500"
.zero 34
.word 500
.string "CP65001"
.zero 32
.word 1208
.string "CP813"
.zero 34
.word 813
.string "CP819"
.zero 34
.word 819
.string "CP838"
.zero 34
.word 9030
.string "CP850"
.zero 34
.word 850
.string "CP851"
.zero 34
.word 851
.string "CP852"
.zero 34
.word 852
.string "CP855"
.zero 34
.word 855
.string "CP856"
.zero 34
.word 856
.string "CP857"
.zero 34
.word 857
.string "CP858"
.zero 34
.word 858
.string "CP859"
.zero 34
.word 859
.string "CP860"
.zero 34
.word 860
.string "CP861"
.zero 34
.word 861
.string "CP862"
.zero 34
.word 862
.string "CP863"
.zero 34
.word 863
.string "CP864"
.zero 34
.word 864
.string "CP865"
.zero 34
.word 865
.string "CP866"
.zero 34
.word 866
.string "CP867"
.zero 34
.word 867
.string "CP868"
.zero 34
.word 868
.string "CP869"
.zero 34
.word 869
.string "CP870"
.zero 34
.word 870
.string "CP871"
.zero 34
.word 871
.string "CP874"
.zero 34
.word 874
.string "CP875"
.zero 34
.word 875
.string "CP878"
.zero 34
.word 878
.string "CP9030"
.zero 33
.word 1160
.string "CP9066"
.zero 33
.word 874
.string "CP912"
.zero 34
.word 912
.string "CP913"
.zero 34
.word 913
.string "CP914"
.zero 34
.word 914
.string "CP915"
.zero 34
.word 915
.string "CP916"
.zero 34
.word 916
.string "CP918"
.zero 34
.word 918
.string "CP920"
.zero 34
.word 920
.string "CP921"
.zero 34
.word 921
.string "CP922"
.zero 34
.word 922
.string "CP923"
.zero 34
.word 923
.string "CP932"
.zero 34
.word 942
.string "CP933"
.zero 34
.word 933
.string "CP935"
.zero 34
.word 935
.string "CP936"
.zero 34
.word 1386
.string "CP937"
.zero 34
.word 937
.string "CP939"
.zero 34
.word 939
.string "CP943"
.zero 34
.word 943
.string "CP943C"
.zero 33
.word 943
.string "CP949"
.zero 34
.word 949
.string "CP949C"
.zero 33
.word 949
.string "CP950"
.zero 34
.word 1370
.string "CPAR"
.zero 35
.word 868
.string "CPGR"
.zero 35
.word 869
.string "CPIBM1047"
.zero 30
.word 1047
.string "CPIBM1123"
.zero 30
.word 1123
.string "CPIBM1140"
.zero 30
.word 1140
.string "CPIBM1141"
.zero 30
.word 1141
.string "CPIBM1142"
.zero 30
.word 1142
.string "CPIBM1143"
.zero 30
.word 1143
.string "CPIBM1144"
.zero 30
.word 1144
.string "CPIBM1145"
.zero 30
.word 1145
.string "CPIBM1146"
.zero 30
.word 1146
.string "CPIBM1147"
.zero 30
.word 1147
.string "CPIBM1148"
.zero 30
.word 1148
.string "CPIBM1149"
.zero 30
.word 1149
.string "CPIBM1153"
.zero 30
.word 1153
.string "CPIBM1154"
.zero 30
.word 1154
.string "CPIBM1156"
.zero 30
.word 1156
.string "CPIBM1157"
.zero 30
.word 1157
.string "CPIBM1158"
.zero 30
.word 1123
.string "CPIBM1160"
.zero 30
.word 1160
.string "CPIBM1164"
.zero 30
.word 1164
.string "CPIBM12712"
.zero 29
.word 12712
.string "CPIBM1371"
.zero 30
.word 1371
.string "CPIBM16804"
.zero 29
.word 16804
.string "CPIBM273"
.zero 31
.word 273
.string "CPIBM277"
.zero 31
.word 277
.string "CPIBM278"
.zero 31
.word 278
.string "CPIBM280"
.zero 31
.word 280
.string "CPIBM284"
.zero 31
.word 284
.string "CPIBM285"
.zero 31
.word 285
.string "CPIBM297"
.zero 31
.word 297
.string "CPIBM37"
.zero 32
.word 37
.string "CPIBM4971"
.zero 30
.word 4971
.string "CPIBM500"
.zero 31
.word 500
.string "CPIBM871"
.zero 31
.word 871
.string "CPIBM933"
.zero 31
.word 933
.string "CPIBM935"
.zero 31
.word 935
.string "CPIBM937"
.zero 31
.word 937
.string "CPIS"
.zero 35
.word 861
.string "CSADOBESTANDARDENCODING"
.zero 16
.word 1276
.string "CSBIG5"
.zero 33
.word 1370
.string "CSEUCKR"
.zero 32
.word 970
.string "CSEUCPKDFMTJAPANESE"
.zero 20
.word 33722
.string "CSGB2312"
.zero 31
.word 1383
.string "CSHALFWIDTHKATAKANA"
.zero 20
.word 897
.string "CSHPROMAN8"
.zero 29
.word 1051
.string "CSIBM037"
.zero 31
.word 37
.string "CSIBM273"
.zero 31
.word 273
.string "CSIBM277"
.zero 31
.word 277
.string "CSIBM278"
.zero 31
.word 278
.string "CSIBM280"
.zero 31
.word 280
.string "CSIBM284"
.zero 31
.word 284
.string "CSIBM285"
.zero 31
.word 285
.string "CSIBM297"
.zero 31
.word 297
.string "CSIBM420"
.zero 31
.word 420
.string "CSIBM424"
.zero 31
.word 424
.string "CSIBM500"
.zero 31
.word 500
.string "CSIBM855"
.zero 31
.word 855
.string "CSIBM857"
.zero 31
.word 857
.string "CSIBM860"
.zero 31
.word 860
.string "CSIBM861"
.zero 31
.word 861
.string "CSIBM863"
.zero 31
.word 863
.string "CSIBM864"
.zero 31
.word 864
.string "CSIBM865"
.zero 31
.word 865
.string "CSIBM866"
.zero 31
.word 866
.string "CSIBM868"
.zero 31
.word 868
.string "CSIBM869"
.zero 31
.word 869
.string "CSIBM870"
.zero 31
.word 870
.string "CSIBM871"
.zero 31
.word 871
.string "CSIBM918"
.zero 31
.word 918
.string "CSIBMTHAI"
.zero 30
.word 9030
.string "CSISO58GB231280"
.zero 24
.word 1383
.string "CSISOLATIN0"
.zero 28
.word 923
.string "CSISOLATIN1"
.zero 28
.word 819
.string "CSISOLATIN2"
.zero 28
.word 912
.string "CSISOLATIN3"
.zero 28
.word 913
.string "CSISOLATIN4"
.zero 28
.word 914
.string "CSISOLATIN5"
.zero 28
.word 920
.string "CSISOLATIN9"
.zero 28
.word 923
.string "CSISOLATINARABIC"
.zero 23
.word 1089
.string "CSISOLATINCYRILLIC"
.zero 21
.word 915
.string "CSISOLATINGREEK"
.zero 24
.word 813
.string "CSISOLATINHEBREW"
.zero 23
.word 916
.string "CSKOI8R"
.zero 32
.word 878
.string "CSKSC56011987"
.zero 26
.word 1363
.string "CSMACINTOSH"
.zero 28
.word 1275
.string "CSPC850MULTILINGUAL"
.zero 20
.word 850
.string "CSPC851"
.zero 32
.word 851
.string "CSPC862LATINHEBREW"
.zero 21
.word 862
.string "CSPC8CODEPAGE437"
.zero 23
.word 437
.string "CSPCP852"
.zero 31
.word 852
.string "CSPCP855"
.zero 31
.word 855
.string "CSSHIFTJIS"
.zero 29
.word 943
.string "CSUNICODE"
.zero 30
.word 1200
.string "CSWINDOWS31J"
.zero 27
.word 943
.string "CYRILLIC"
.zero 31
.word 915
.string "DOS862"
.zero 33
.word 862
.string "EBCDICAR"
.zero 31
.word 16804
.string "EBCDICCPAR1"
.zero 28
.word 420
.string "EBCDICCPAR2"
.zero 28
.word 918
.string "EBCDICCPBE"
.zero 29
.word 500
.string "EBCDICCPCA"
.zero 29
.word 37
.string "EBCDICCPCH"
.zero 29
.word 500
.string "EBCDICCPDK"
.zero 29
.word 277
.string "EBCDICCPES"
.zero 29
.word 284
.string "EBCDICCPFI"
.zero 29
.word 278
.string "EBCDICCPFR"
.zero 29
.word 297
.string "EBCDICCPGB"
.zero 29
.word 285
.string "EBCDICCPHE"
.zero 29
.word 424
.string "EBCDICCPIS"
.zero 29
.word 871
.string "EBCDICCPIT"
.zero 29
.word 280
.string "EBCDICCPNL"
.zero 29
.word 37
.string "EBCDICCPNO"
.zero 29
.word 277
.string "EBCDICCPROECE"
.zero 26
.word 870
.string "EBCDICCPSE"
.zero 29
.word 278
.string "EBCDICCPUS"
.zero 29
.word 37
.string "EBCDICCPWT"
.zero 29
.word 37
.string "EBCDICCPYU"
.zero 29
.word 870
.string "EBCDICDE"
.zero 31
.word 273
.string "EBCDICDK"
.zero 31
.word 277
.string "EBCDICGB"
.zero 31
.word 285
.string "EBCDICHE"
.zero 31
.word 12712
.string "EBCDICIS"
.zero 31
.word 871
.string "EBCDICSV"
.zero 31
.word 278
.string "ECMA114"
.zero 32
.word 1089
.string "ECMA118"
.zero 32
.word 813
.string "ECMA128"
.zero 32
.word 920
.string "ELOT928"
.zero 32
.word 813
.string "EUCCN"
.zero 34
.word 1383
.string "EUCJIS"
.zero 33
.word 33722
.string "EUCJP"
.zero 34
.word 33722
.string "EUCKR"
.zero 34
.word 970
.string "EUCTH"
.zero 34
.word 874
.string "EXTENDEDUNIXCODEPACKEDFORMATFORJAPANESE"
.word 33722
.string "GB"
.zero 37
.word 1383
.string "GB2312"
.zero 33
.word 1383
.string "GB23121980"
.zero 29
.word 1383
.string "GB231280"
.zero 31
.word 1383
.string "GBK"
.zero 36
.word 1386
.string "GREEK"
.zero 34
.word 813
.string "GREEK8"
.zero 33
.word 813
.string "HEBREW"
.zero 33
.word 916
.string "HP15CN"
.zero 33
.word 1383
.string "HPROMAN8"
.zero 31
.word 1051
.string "IBM00858"
.zero 31
.word 858
.string "IBM01140"
.zero 31
.word 1140
.string "IBM01141"
.zero 31
.word 1141
.string "IBM01142"
.zero 31
.word 1142
.string "IBM01143"
.zero 31
.word 1143
.string "IBM01144"
.zero 31
.word 1144
.string "IBM01145"
.zero 31
.word 1145
.string "IBM01146"
.zero 31
.word 1146
.string "IBM01147"
.zero 31
.word 1147
.string "IBM01148"
.zero 31
.word 1148
.string "IBM01149"
.zero 31
.word 1149
.string "IBM037"
.zero 33
.word 37
.string "IBM037S390"
.zero 29
.word 37
.string "IBM1006"
.zero 32
.word 1006
.string "IBM1006VPUA"
.zero 28
.word 1006
.string "IBM1025"
.zero 32
.word 1025
.string "IBM1025STD"
.zero 29
.word 1025
.string "IBM1047"
.zero 32
.word 1047
.string "IBM1047S390"
.zero 28
.word 1047
.string "IBM1051"
.zero 32
.word 1051
.string "IBM1089"
.zero 32
.word 1089
.string "IBM1097"
.zero 32
.word 1097
.string "IBM1097VPUA"
.zero 28
.word 1097
.string "IBM1098"
.zero 32
.word 1098
.string "IBM1098VSUBVPUA"
.zero 24
.word 1098
.string "IBM1112"
.zero 32
.word 1112
.string "IBM1112STD"
.zero 29
.word 1112
.string "IBM1122"
.zero 32
.word 1122
.string "IBM1122STD"
.zero 29
.word 1122
.string "IBM1123"
.zero 32
.word 1123
.string "IBM1123STD"
.zero 29
.word 1123
.string "IBM1124"
.zero 32
.word 1124
.string "IBM1124STD"
.zero 29
.word 1124
.string "IBM1125"
.zero 32
.word 1125
.string "IBM1125VSUB"
.zero 28
.word 1125
.string "IBM1129"
.zero 32
.word 1129
.string "IBM1129STD"
.zero 29
.word 1129
.string "IBM1130"
.zero 32
.word 1130
.string "IBM1130STD"
.zero 29
.word 1130
.string "IBM1131"
.zero 32
.word 1131
.string "IBM1131VSUB"
.zero 28
.word 1131
.string "IBM1132"
.zero 32
.word 1132
.string "IBM1132STD"
.zero 29
.word 1132
.string "IBM1133"
.zero 32
.word 1133
.string "IBM1133STD"
.zero 29
.word 1133
.string "IBM1137"
.zero 32
.word 1137
.string "IBM1137STD"
.zero 29
.word 1137
.string "IBM1140"
.zero 32
.word 1140
.string "IBM1140S390"
.zero 28
.word 1140
.string "IBM1141"
.zero 32
.word 1141
.string "IBM1142"
.zero 32
.word 1142
.string "IBM1142S390"
.zero 28
.word 1142
.string "IBM1143"
.zero 32
.word 1143
.string "IBM1143S390"
.zero 28
.word 1143
.string "IBM1144"
.zero 32
.word 1144
.string "IBM1144S390"
.zero 28
.word 1144
.string "IBM1145"
.zero 32
.word 1145
.string "IBM1145S390"
.zero 28
.word 1145
.string "IBM1146"
.zero 32
.word 1146
.string "IBM1146S390"
.zero 28
.word 1146
.string "IBM1147"
.zero 32
.word 1147
.string "IBM1147S390"
.zero 28
.word 1147
.string "IBM1148"
.zero 32
.word 1148
.string "IBM1148S390"
.zero 28
.word 1148
.string "IBM1149"
.zero 32
.word 1149
.string "IBM1149S390"
.zero 28
.word 1149
.string "IBM1153"
.zero 32
.word 1153
.string "IBM1154"
.zero 32
.word 1154
.string "IBM1156"
.zero 32
.word 1156
.string "IBM1157"
.zero 32
.word 1157
.string "IBM1158"
.zero 32
.word 1123
.string "IBM1159"
.zero 32
.word 1159
.string "IBM1160"
.zero 32
.word 1160
.string "IBM1164"
.zero 32
.word 1164
.string "IBM1208"
.zero 32
.word 1208
.string "IBM1209"
.zero 32
.word 1208
.string "IBM1250"
.zero 32
.word 1250
.string "IBM1251"
.zero 32
.word 1251
.string "IBM1252"
.zero 32
.word 1252
.string "IBM1253"
.zero 32
.word 1253
.string "IBM1254"
.zero 32
.word 1254
.string "IBM1255"
.zero 32
.word 1255
.string "IBM1256"
.zero 32
.word 1256
.string "IBM1257"
.zero 32
.word 1257
.string "IBM1258"
.zero 32
.word 1258
.string "IBM12712"
.zero 31
.word 12712
.string "IBM1275"
.zero 32
.word 1275
.string "IBM1276"
.zero 32
.word 1276
.string "IBM1277"
.zero 32
.word 1277
.string "IBM1280"
.zero 32
.word 1280
.string "IBM1281"
.zero 32
.word 1281
.string "IBM1282"
.zero 32
.word 1282
.string "IBM1283"
.zero 32
.word 1283
.string "IBM1363"
.zero 32
.word 1363
.string "IBM1363VASCIIVSUBVPUA"
.zero 18
.word 1363
.string "IBM1364"
.zero 32
.word 1364
.string "IBM1364VPUA"
.zero 28
.word 1364
.string "IBM1370"
.zero 32
.word 1370
.string "IBM1371"
.zero 32
.word 1371
.string "IBM1381"
.zero 32
.word 1381
.string "IBM1381VSUBVPUA"
.zero 24
.word 1381
.string "IBM1383"
.zero 32
.word 1383
.string "IBM1386"
.zero 32
.word 1386
.string "IBM1386P1002002"
.zero 24
.word 1386
.string "IBM1386VSUBVPUA"
.zero 24
.word 1386
.string "IBM1388"
.zero 32
.word 1388
.string "IBM1388VPUA"
.zero 28
.word 1388
.string "IBM1399"
.zero 32
.word 1399
.string "IBM16804"
.zero 31
.word 16804
.string "IBM17248"
.zero 31
.word 17248
.string "IBM273"
.zero 33
.word 273
.string "IBM277"
.zero 33
.word 277
.string "IBM278"
.zero 33
.word 278
.string "IBM280"
.zero 33
.word 280
.string "IBM284"
.zero 33
.word 284
.string "IBM285"
.zero 33
.word 285
.string "IBM297"
.zero 33
.word 297
.string "IBM33722"
.zero 31
.word 33722
.string "IBM33722VPUA"
.zero 27
.word 33722
.string "IBM367"
.zero 33
.word 367
.string "IBM37"
.zero 34
.word 37
.string "IBM37S390"
.zero 30
.word 37
.string "IBM420"
.zero 33
.word 420
.string "IBM424"
.zero 33
.word 424
.string "IBM437"
.zero 33
.word 437
.string "IBM4909"
.zero 32
.word 4909
.string "IBM4971"
.zero 32
.word 4971
.string "IBM500"
.zero 33
.word 500
.string "IBM5035"
.zero 32
.word 939
.string "IBM5050"
.zero 32
.word 33722
.string "IBM5104"
.zero 32
.word 5104
.string "IBM5123"
.zero 32
.word 5123
.string "IBM5304"
.zero 32
.word 1208
.string "IBM5305"
.zero 32
.word 1208
.string "IBM5346"
.zero 32
.word 5346
.string "IBM5347"
.zero 32
.word 5347
.string "IBM5348"
.zero 32
.word 5348
.string "IBM5349"
.zero 32
.word 5349
.string "IBM5350"
.zero 32
.word 5350
.string "IBM5351"
.zero 32
.word 5351
.string "IBM5352"
.zero 32
.word 5352
.string "IBM5353"
.zero 32
.word 5353
.string "IBM5354"
.zero 32
.word 5354
.string "IBM808"
.zero 33
.word 808
.string "IBM813"
.zero 33
.word 813
.string "IBM819"
.zero 33
.word 819
.string "IBM838"
.zero 33
.word 9030
.string "IBM848"
.zero 33
.word 848
.string "IBM849"
.zero 33
.word 849
.string "IBM850"
.zero 33
.word 850
.string "IBM851"
.zero 33
.word 851
.string "IBM852"
.zero 33
.word 852
.string "IBM855"
.zero 33
.word 855
.string "IBM856"
.zero 33
.word 856
.string "IBM857"
.zero 33
.word 857
.string "IBM858"
.zero 33
.word 858
.string "IBM859"
.zero 33
.word 859
.string "IBM860"
.zero 33
.word 860
.string "IBM861"
.zero 33
.word 861
.string "IBM862"
.zero 33
.word 862
.string "IBM863"
.zero 33
.word 863
.string "IBM864"
.zero 33
.word 864
.string "IBM865"
.zero 33
.word 865
.string "IBM866"
.zero 33
.word 866
.string "IBM867"
.zero 33
.word 867
.string "IBM868"
.zero 33
.word 868
.string "IBM869"
.zero 33
.word 869
.string "IBM870"
.zero 33
.word 870
.string "IBM870STD"
.zero 30
.word 870
.string "IBM871"
.zero 33
.word 871
.string "IBM872"
.zero 33
.word 872
.string "IBM874"
.zero 33
.word 874
.string "IBM875"
.zero 33
.word 875
.string "IBM875STD"
.zero 30
.word 875
.string "IBM878"
.zero 33
.word 878
.string "IBM897"
.zero 33
.word 897
.string "IBM901"
.zero 33
.word 901
.string "IBM902"
.zero 33
.word 902
.string "IBM9030"
.zero 32
.word 9030
.string "IBM9030STD"
.zero 29
.word 9030
.string "IBM9044"
.zero 32
.word 9044
.string "IBM9049"
.zero 32
.word 9049
.string "IBM9061"
.zero 32
.word 9061
.string "IBM9066"
.zero 32
.word 874
.string "IBM912"
.zero 33
.word 912
.string "IBM913"
.zero 33
.word 913
.string "IBM914"
.zero 33
.word 914
.string "IBM915"
.zero 33
.word 915
.string "IBM916"
.zero 33
.word 916
.string "IBM918"
.zero 33
.word 918
.string "IBM918VPUA"
.zero 29
.word 918
.string "IBM920"
.zero 33
.word 920
.string "IBM921"
.zero 33
.word 921
.string "IBM922"
.zero 33
.word 922
.string "IBM923"
.zero 33
.word 923
.string "IBM9238"
.zero 32
.word 9238
.string "IBM931"
.zero 33
.word 939
.string "IBM932"
.zero 33
.word 942
.string "IBM932VSUBVPUA"
.zero 25
.word 942
.string "IBM933"
.zero 33
.word 933
.string "IBM935"
.zero 33
.word 935
.string "IBM937"
.zero 33
.word 937
.string "IBM939"
.zero 33
.word 939
.string "IBM942"
.zero 33
.word 942
.string "IBM942VSUBVPUA"
.zero 25
.word 942
.string "IBM943"
.zero 33
.word 943
.string "IBM943C"
.zero 32
.word 943
.string "IBM943VSUBVPUA"
.zero 25
.word 943
.string "IBM949"
.zero 33
.word 949
.string "IBM949VSUBVPUA"
.zero 25
.word 949
.string "IBM950"
.zero 33
.word 950
.string "IBM9580"
.zero 32
.word 1388
.string "IBM970"
.zero 33
.word 970
.string "IBM970P1102000"
.zero 25
.word 970
.string "IBMEUCCN"
.zero 31
.word 1383
.string "IBMEUCJP"
.zero 31
.word 33722
.string "IBMEUCKR"
.zero 31
.word 970
.string "IBMTHAI"
.zero 32
.word 9030
.string "ISO10646UCS2"
.zero 27
.word 1200
.string "ISO88591"
.zero 31
.word 819
.string "ISO885913"
.zero 30
.word 921
.string "ISO885915"
.zero 30
.word 923
.string "ISO885915FDIS"
.zero 26
.word 923
.string "ISO88592"
.zero 31
.word 912
.string "ISO88593"
.zero 31
.word 913
.string "ISO88594"
.zero 31
.word 914
.string "ISO88595"
.zero 31
.word 915
.string "ISO88596"
.zero 31
.word 1089
.string "ISO88596E"
.zero 30
.word 1089
.string "ISO88596I"
.zero 30
.word 1089
.string "ISO88597"
.zero 31
.word 813
.string "ISO88598"
.zero 31
.word 916
.string "ISO88598E"
.zero 30
.word 916
.string "ISO88598I"
.zero 30
.word 916
.string "ISO88599"
.zero 31
.word 920
.string "ISOIR100"
.zero 31
.word 819
.string "ISOIR101"
.zero 31
.word 912
.string "ISOIR109"
.zero 31
.word 913
.string "ISOIR110"
.zero 31
.word 914
.string "ISOIR126"
.zero 31
.word 813
.string "ISOIR127"
.zero 31
.word 1089
.string "ISOIR138"
.zero 31
.word 916
.string "ISOIR144"
.zero 31
.word 915
.string "ISOIR148"
.zero 31
.word 920
.string "ISOIR149"
.zero 31
.word 1363
.string "ISOIR58"
.zero 32
.word 1383
.string "JISX0201"
.zero 31
.word 897
.string "KOI8"
.zero 35
.word 878
.string "KOI8R"
.zero 34
.word 878
.string "KOREAN"
.zero 33
.word 1363
.string "KSC"
.zero 36
.word 1363
.string "KSC5601"
.zero 32
.word 970
.string "KSC56011987"
.zero 28
.word 970
.string "KSC56011989"
.zero 28
.word 1363
.string "KSC56011992"
.zero 28
.word 949
.string "L1"
.zero 37
.word 819
.string "L2"
.zero 37
.word 912
.string "L3"
.zero 37
.word 913
.string "L4"
.zero 37
.word 914
.string "L5"
.zero 37
.word 920
.string "L9"
.zero 37
.word 923
.string "LATIN0"
.zero 33
.word 923
.string "LATIN1"
.zero 33
.word 819
.string "LATIN2"
.zero 33
.word 912
.string "LATIN3"
.zero 33
.word 913
.string "LATIN4"
.zero 33
.word 914
.string "LATIN5"
.zero 33
.word 920
.string "LATIN9"
.zero 33
.word 923
.string "MAC"
.zero 36
.word 1275
.string "MACCE"
.zero 34
.word 1282
.string "MACCY"
.zero 34
.word 1283
.string "MACGR"
.zero 34
.word 1280
.string "MACINTOSH"
.zero 30
.word 1275
.string "MACTR"
.zero 34
.word 1281
.string "MS932"
.zero 34
.word 943
.string "MSKANJI"
.zero 32
.word 943
.string "PCK"
.zero 36
.word 943
.string "R8"
.zero 37
.word 1051
.string "ROMAN8"
.zero 33
.word 1051
.string "SHIFTJIS"
.zero 31
.word 943
.string "SHIFTJIS78"
.zero 29
.word 942
.string "SJIS"
.zero 35
.word 943
.string "SJIS78"
.zero 33
.word 942
.string "TIS620"
.zero 33
.word 874
.string "TIS620.2533"
.zero 28
.word 874
.string "UCS2"
.zero 35
.word 1200
.string "UNICODE"
.zero 32
.word 1200
.string "UTF8"
.zero 35
.word 1208
.string "WINDOWS10000"
.zero 27
.word 1275
.string "WINDOWS10006"
.zero 27
.word 1280
.string "WINDOWS10007"
.zero 27
.word 1283
.string "WINDOWS10029"
.zero 27
.word 1282
.string "WINDOWS10081"
.zero 27
.word 1281
.string "WINDOWS1250"
.zero 28
.word 1250
.string "WINDOWS1251"
.zero 28
.word 1251
.string "WINDOWS1252"
.zero 28
.word 1252
.string "WINDOWS1253"
.zero 28
.word 1253
.string "WINDOWS1254"
.zero 28
.word 1254
.string "WINDOWS1255"
.zero 28
.word 5351
.string "WINDOWS1256"
.zero 28
.word 5352
.string "WINDOWS1257"
.zero 28
.word 5353
.string "WINDOWS1258"
.zero 28
.word 1258
.string "WINDOWS28592"
.zero 27
.word 912
.string "WINDOWS28593"
.zero 27
.word 913
.string "WINDOWS28594"
.zero 27
.word 914
.string "WINDOWS28595"
.zero 27
.word 915
.string "WINDOWS28596"
.zero 27
.word 1089
.string "WINDOWS28597"
.zero 27
.word 813
.string "WINDOWS28598"
.zero 27
.word 916
.string "WINDOWS28599"
.zero 27
.word 920
.string "WINDOWS28605"
.zero 27
.word 923
.string "WINDOWS31J"
.zero 29
.word 943
.string "WINDOWS437"
.zero 29
.word 437
.string "WINDOWS51932"
.zero 27
.word 33722
.string "WINDOWS51949"
.zero 27
.word 970
.string "WINDOWS65001"
.zero 27
.word 1208
.string "WINDOWS850"
.zero 29
.word 850
.string "WINDOWS852"
.zero 29
.word 852
.string "WINDOWS857"
.zero 29
.word 857
.string "WINDOWS861"
.zero 29
.word 861
.string "WINDOWS862"
.zero 29
.word 862
.string "WINDOWS866"
.zero 29
.word 866
.string "WINDOWS869"
.zero 29
.word 869
.string "WINDOWS936"
.zero 29
.word 1386
.string "WINDOWS949"
.zero 29
.word 1363
.string "X0201"
.zero 34
.word 897
.string "XBIG5"
.zero 34
.word 1370
.string "XEUCJP"
.zero 33
.word 33722
.string "XMACCE"
.zero 33
.word 1282
.string "XMACCENTRALEURROMAN"
.zero 20
.word 1282
.string "XMACCYRILLIC"
.zero 27
.word 1283
.string "XMACGREEK"
.zero 30
.word 1280
.string "XMACTURKISH"
.zero 28
.word 1281
.string "XMSCP932"
.zero 31
.word 943
.string "XSJIS"
.zero 34
.word 943
.string "ZHCN"
.zero 35
.word 1386
.string ""
.zero 39
.word 0
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global r2es
.bss
.align 3
.type r2es, %object
.size r2es, 8
r2es:
.zero 8
.global r3les
.align 3
.type r3les, %object
.size r3les, 8
r3les:
.zero 8
.global r3ies
.align 3
.type r3ies, %object
.size r3ies, 8
r3ies:
.zero 8
.global r4les
.align 3
.type r4les, %object
.size r4les, 8
r4les:
.zero 8
.global r4ies
.align 3
.type r4ies, %object
.size r4ies, 8
r4ies:
.zero 8
.global r5les
.align 3
.type r5les, %object
.size r5les, 8
r5les:
.zero 8
.global r5ies
.align 3
.type r5ies, %object
.size r5ies, 8
r5ies:
.zero 8
.global rvtmp2
.align 3
.type rvtmp2, %object
.size rvtmp2, 8
rvtmp2:
.zero 8
.global rhoh2o
.align 3
.type rhoh2o, %object
.size rhoh2o, 8
rhoh2o:
.zero 8
.global r5alvcp
.align 3
.type r5alvcp, %object
.size r5alvcp, 8
r5alvcp:
.zero 8
.global r5alscp
.align 3
.type r5alscp, %object
.size r5alscp, 8
r5alscp:
.zero 8
.global ralvdcp
.align 3
.type ralvdcp, %object
.size ralvdcp, 8
ralvdcp:
.zero 8
.global ralsdcp
.align 3
.type ralsdcp, %object
.size ralsdcp, 8
ralsdcp:
.zero 8
.global ralfdcp
.align 3
.type ralfdcp, %object
.size ralfdcp, 8
ralfdcp:
.zero 8
.global rtwat
.align 3
.type rtwat, %object
.size rtwat, 8
rtwat:
.zero 8
.global rtber
.align 3
.type rtber, %object
.size rtber, 8
rtber:
.zero 8
.global rtbercu
.align 3
.type rtbercu, %object
.size rtbercu, 8
rtbercu:
.zero 8
.global rtice
.align 3
.type rtice, %object
.size rtice, 8
rtice:
.zero 8
.global rticecu
.align 3
.type rticecu, %object
.size rticecu, 8
rticecu:
.zero 8
.global rtwat_rtice_r
.align 3
.type rtwat_rtice_r, %object
.size rtwat_rtice_r, 8
rtwat_rtice_r:
.zero 8
.global rtwat_rticecu_r
.align 3
.type rtwat_rticecu_r, %object
.size rtwat_rticecu_r, 8
rtwat_rticecu_r:
.zero 8
.global rkoop1
.align 3
.type rkoop1, %object
.size rkoop1, 8
rkoop1:
.zero 8
.global rkoop2
.align 3
.type rkoop2, %object
.size rkoop2, 8
rkoop2:
.zero 8
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.local allocbuf
.comm allocbuf,10000,8
.section .data.rel.local,"aw"
.align 3
.type allocp, %object
.size allocp, 8
allocp:
.xword allocbuf
.text
.align 2
.global alloc
.type alloc, %function
alloc:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
adrp x0, allocbuf+10000
add x1, x0, :lo12:allocbuf+10000
adrp x0, allocp
add x0, x0, :lo12:allocp
ldr x0, [x0]
sub x1, x1, x0
ldrsw x0, [sp, 12]
cmp x1, x0
blt .L2
adrp x0, allocp
add x0, x0, :lo12:allocp
ldr x1, [x0]
ldrsw x0, [sp, 12]
add x1, x1, x0
adrp x0, allocp
add x0, x0, :lo12:allocp
str x1, [x0]
adrp x0, allocp
add x0, x0, :lo12:allocp
ldr x1, [x0]
ldrsw x0, [sp, 12]
neg x0, x0
add x0, x1, x0
b .L3
.L2:
mov x0, 0
.L3:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size alloc, .-alloc
.align 2
.global afree
.type afree, %function
afree:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x1, [sp, 8]
adrp x0, allocbuf
add x0, x0, :lo12:allocbuf
cmp x1, x0
bcc .L6
adrp x0, allocbuf+10000
add x0, x0, :lo12:allocbuf+10000
ldr x1, [sp, 8]
cmp x1, x0
bcs .L6
adrp x0, allocp
add x0, x0, :lo12:allocp
ldr x1, [sp, 8]
str x1, [x0]
.L6:
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size afree, .-afree
.align 2
.global main
.type main, %function
main:
.LFB2:
.cfi_startproc
mov w0, 0
ret
.cfi_endproc
.LFE2:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "/* This file is automatically generated by vdsogen\n"
.align 3
.LC1:
.string " * - DO NOT MODIFY -\n"
.align 3
.LC2:
.string " */\n"
.align 3
.LC3:
.string "const unsigned char vdso_raw[] __attribute__((aligned (%d))) = {"
.text
.align 2
.type write_header, %function
write_header:
.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 x3, [sp, 24]
mov x2, 51
mov x1, 1
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl fwrite
ldr x3, [sp, 24]
mov x2, 21
mov x1, 1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fwrite
ldr x3, [sp, 24]
mov x2, 4
mov x1, 1
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl fwrite
mov w2, 4096
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 24]
bl fprintf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size write_header, .-write_header
.section .rodata
.align 3
.LC4:
.string "};\n"
.align 3
.LC5:
.string "const unsigned long vdso_raw_length = %ld;\n"
.text
.align 2
.type write_footer, %function
write_footer:
.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 x1, [sp, 24]
mov w0, 10
bl fputc
ldr x3, [sp, 24]
mov x2, 3
mov x1, 1
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl fwrite
ldr x2, [sp, 16]
adrp x0, .LC5
add x1, x0, :lo12:.LC5
ldr x0, [sp, 24]
bl fprintf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size write_footer, .-write_footer
.section .rodata
.align 3
.LC6:
.string "usage: %s <vdso.so> <output.c>\n"
.align 3
.LC7:
.string "failed to open %s: %s\n"
.align 3
.LC8:
.string "failed to stat %s: %s\n"
.align 3
.LC9:
.string "w"
.align 3
.LC10:
.string "failed to read %s: %s\n"
.align 3
.LC11:
.string "read %ld bytes instead of %ld\n"
.align 3
.LC12:
.string "\n "
.align 3
.LC13:
.string ""
.align 3
.LC14:
.string " "
.align 3
.LC15:
.string "%s0x%02X,%s"
.align 3
.LC16:
.string "%s0x00,%s"
.text
.align 2
.global main
.type main, %function
main:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -240]!
.cfi_def_cfa_offset 240
.cfi_offset 29, -240
.cfi_offset 30, -232
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -224
.cfi_offset 20, -216
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, 232]
mov x1, 0
ldr w0, [sp, 44]
cmp w0, 3
beq .L4
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 32]
ldr x0, [x0]
mov x2, x0
adrp x0, .LC6
add x1, x0, :lo12:.LC6
mov x0, x3
bl fprintf
mov w0, 1
bl exit
.L4:
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
mov w1, 0
bl open
str w0, [sp, 60]
ldr w0, [sp, 60]
cmn w0, #1
bne .L5
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
ldr x0, [sp, 32]
add x0, x0, 8
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x3, x0
mov x2, x20
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, x19
bl fprintf
mov w0, 1
bl exit
.L5:
add x0, sp, 104
mov x1, x0
ldr w0, [sp, 60]
bl fstat
cmn w0, #1
bne .L6
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
ldr x0, [sp, 32]
add x0, x0, 8
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x3, x0
mov x2, x20
adrp x0, .LC8
add x1, x0, :lo12:.LC8
mov x0, x19
bl fprintf
mov w0, 1
bl exit
.L6:
ldr x0, [sp, 32]
add x0, x0, 16
ldr x2, [x0]
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov x0, x2
bl fopen
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L7
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
ldr x0, [sp, 32]
add x0, x0, 16
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x3, x0
mov x2, x20
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, x19
bl fprintf
mov w0, 1
bl exit
.L7:
ldr x0, [sp, 72]
bl write_header
str xzr, [sp, 64]
.L17:
add x0, sp, 59
mov x2, 1
mov x1, x0
ldr w0, [sp, 60]
bl read
str x0, [sp, 80]
ldr x0, [sp, 80]
cmn x0, #1
bne .L8
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
ldr x0, [sp, 32]
add x0, x0, 8
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x3, x0
mov x2, x20
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov x0, x19
bl fprintf
mov w0, 1
bl exit
.L8:
ldr x0, [sp, 80]
cmp x0, 0
bne .L9
ldr x0, [sp, 64]
and x0, x0, 4095
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
bne .L10
b .L11
.L9:
ldr x0, [sp, 80]
cmp x0, 1
beq .L12
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
mov x3, 1
ldr x2, [sp, 80]
adrp x0, .LC11
add x1, x0, :lo12:.LC11
mov x0, x4
bl fprintf
mov w0, 1
bl exit
.L12:
ldr x0, [sp, 64]
and x0, x0, 7
cmp x0, 0
bne .L13
adrp x0, .LC12
add x0, x0, :lo12:.LC12
b .L14
.L13:
adrp x0, .LC13
add x0, x0, :lo12:.LC13
.L14:
ldrb w1, [sp, 59]
mov w2, w1
ldr x1, [sp, 64]
and x1, x1, 7
cmp x1, 7
beq .L15
adrp x1, .LC14
add x1, x1, :lo12:.LC14
b .L16
.L15:
adrp x1, .LC13
add x1, x1, :lo12:.LC13
.L16:
mov x4, x1
mov w3, w2
mov x2, x0
adrp x0, .LC15
add x1, x0, :lo12:.LC15
ldr x0, [sp, 72]
bl fprintf
ldr x0, [sp, 64]
add x0, x0, 1
str x0, [sp, 64]
b .L17
.L10:
ldr x1, [sp, 64]
ldr x0, [sp, 88]
sub x0, x1, x0
add x0, x0, 4096
str x0, [sp, 96]
b .L18
.L23:
ldr x0, [sp, 64]
and x0, x0, 7
cmp x0, 0
bne .L19
adrp x0, .LC12
add x0, x0, :lo12:.LC12
b .L20
.L19:
adrp x0, .LC13
add x0, x0, :lo12:.LC13
.L20:
ldr x1, [sp, 64]
and x1, x1, 7
cmp x1, 7
beq .L21
adrp x1, .LC14
add x1, x1, :lo12:.LC14
b .L22
.L21:
adrp x1, .LC13
add x1, x1, :lo12:.LC13
.L22:
mov x3, x1
mov x2, x0
adrp x0, .LC16
add x1, x0, :lo12:.LC16
ldr x0, [sp, 72]
bl fprintf
ldr x0, [sp, 64]
add x0, x0, 1
str x0, [sp, 64]
.L18:
ldr x1, [sp, 64]
ldr x0, [sp, 96]
cmp x1, x0
bcc .L23
.L11:
ldr x1, [sp, 64]
ldr x0, [sp, 72]
bl write_footer
ldr x0, [sp, 72]
bl fclose
ldr w0, [sp, 60]
bl close
mov w0, 0
bl exit
.cfi_endproc
.LFE8:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global left
.type left, %function
left:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
str w0, [sp, 20]
ldr x0, [sp, 8]
str x0, [sp, 24]
b .L2
.L3:
ldr x0, [sp, 24]
ldr w1, [x0, 4]
ldr x0, [sp, 24]
str w1, [x0]
ldr x0, [sp, 24]
add x0, x0, 4
str x0, [sp, 24]
.L2:
ldr x0, [sp, 8]
add x0, x0, 36
ldr x1, [sp, 24]
cmp x1, x0
bcc .L3
ldr x0, [sp, 24]
ldr w1, [sp, 20]
str w1, [x0]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size left, .-left
.align 2
.global right
.type right, %function
right:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0, 36]
str w0, [sp, 20]
ldr x0, [sp, 8]
add x0, x0, 36
str x0, [sp, 24]
b .L5
.L6:
ldr x0, [sp, 24]
ldr w1, [x0, -4]
ldr x0, [sp, 24]
str w1, [x0]
ldr x0, [sp, 24]
sub x0, x0, #4
str x0, [sp, 24]
.L5:
ldr x1, [sp, 24]
ldr x0, [sp, 8]
cmp x1, x0
bhi .L6
ldr x0, [sp, 24]
ldr w1, [sp, 20]
str w1, [x0]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size right, .-right
.section .rodata
.align 3
.LC1:
.string "%3d"
.text
.align 2
.global main
.type main, %function
main:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
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, .LC0
add x1, x0, :lo12:.LC0
add x0, sp, 32
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr x1, [x1, 32]
str x1, [x0, 32]
str wzr, [sp, 28]
mov w0, 10
bl putchar
b .L8
.L9:
ldr w0, [sp, 28]
add w1, w0, 1
str w1, [sp, 28]
sxtw x0, w0
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
.L8:
ldr w0, [sp, 28]
cmp w0, 9
ble .L9
add x0, sp, 32
bl left
str wzr, [sp, 28]
mov w0, 10
bl putchar
b .L10
.L11:
ldr w0, [sp, 28]
add w1, w0, 1
str w1, [sp, 28]
sxtw x0, w0
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
.L10:
ldr w0, [sp, 28]
cmp w0, 9
ble .L11
add x0, sp, 32
bl right
str wzr, [sp, 28]
mov w0, 10
bl putchar
b .L12
.L13:
ldr w0, [sp, 28]
add w1, w0, 1
str w1, [sp, 28]
sxtw x0, w0
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
.L12:
ldr w0, [sp, 28]
cmp w0, 9
ble .L13
bl getchar
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 .L15
bl __stack_chk_fail
.L15:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size main, .-main
.section .rodata
.align 3
.LC0:
.word 1
.word 2
.word 3
.word 4
.word 5
.word 6
.word 7
.word 8
.word 9
.word 10
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global liberty_parser_lex
.type liberty_parser_lex, %function
liberty_parser_lex:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl token_q_empty
cmp w0, 0
bne .L2
bl injected_token
b .L3
.L2:
bl liberty_parser2_lex
.L3:
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size liberty_parser_lex, .-liberty_parser_lex
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global mkstemp
.type mkstemp, %function
mkstemp:
.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]
mov w0, 3
str w0, [sp, 32]
.L6:
ldr x0, [sp, 24]
bl mktemp
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L2
mov w0, -1
b .L3
.L2:
mov w2, 384
mov w1, 194
ldr x0, [sp, 24]
bl open
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
bne .L4
bl __errno_location
ldr w0, [x0]
cmp w0, 17
beq .L5
.L4:
ldr w0, [sp, 36]
b .L3
.L5:
ldr w0, [sp, 32]
sub w0, w0, #1
str w0, [sp, 32]
ldr w0, [sp, 32]
cmp w0, 0
bne .L6
bl __errno_location
mov x1, x0
mov w0, 17
str w0, [x1]
mov w0, -1
.L3:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size mkstemp, .-mkstemp
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Hello C"
.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
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
mov w0, 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global lroundf
.type lroundf, %function
lroundf:
.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]
ldr s0, [sp, 28]
fcmpe s0, #0.0
bge .L9
b .L12
.L9:
ldr s0, [sp, 28]
bl ceilf
fcvtzs x0, s0
str x0, [sp, 40]
ldr x0, [sp, 40]
scvtf s1, x0
ldr s0, [sp, 28]
fsub s1, s1, s0
fmov s0, 5.0e-1
fcmpe s1, s0
bgt .L10
b .L4
.L10:
ldr d0, [sp, 40]
scvtf d1, d0
fmov d0, 1.0e+0
fsub d0, d1, d0
fcvtzs d0, d0
str d0, [sp, 40]
.L4:
ldr x0, [sp, 40]
b .L6
.L12:
ldr s0, [sp, 28]
fneg s0, s0
bl ceilf
fcvtzs x0, s0
str x0, [sp, 40]
ldr x0, [sp, 40]
scvtf s1, x0
ldr s0, [sp, 28]
fadd s1, s1, s0
fmov s0, 5.0e-1
fcmpe s1, s0
bgt .L11
b .L7
.L11:
ldr d0, [sp, 40]
scvtf d1, d0
fmov d0, 1.0e+0
fsub d0, d1, d0
fcvtzs d0, d0
str d0, [sp, 40]
.L7:
ldr x0, [sp, 40]
neg x0, x0
.L6:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size lroundf, .-lroundf
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global IID_ID3D10Buffer
.section .rodata
.align 3
.type IID_ID3D10Buffer, %object
.size IID_ID3D10Buffer, 24
IID_ID3D10Buffer:
.xword 2608745474
.hword 13356
.hword 16646
.ascii "\241\237O'\004\366\211\360"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Server is up."
.align 3
.LC1:
.string "\nCLIENT : %s\n"
.align 3
.LC2:
.string "\nEnter Message : "
.align 3
.LC3:
.string "\nMessage sent to Client"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
sub sp, sp, #2096
.cfi_def_cfa_offset 2096
stp x29, x30, [sp]
.cfi_offset 29, -2096
.cfi_offset 30, -2088
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, 2088]
mov x1, 0
mov w0, 2
strh w0, [sp, 56]
mov w0, 0
bl htonl
str w0, [sp, 60]
mov w0, 1254
bl htons
and w0, w0, 65535
strh w0, [sp, 58]
mov w2, 0
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 44]
add x0, sp, 56
mov w2, 16
mov x1, x0
ldr w0, [sp, 44]
bl bind
mov w1, 5
ldr w0, [sp, 44]
bl listen
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
add x1, sp, 40
add x0, sp, 72
mov x2, x1
mov x1, x0
ldr w0, [sp, 44]
bl accept
str w0, [sp, 48]
bl fork
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bne .L2
.L5:
add x0, sp, 88
mov x2, 1000
mov w1, 0
bl memset
add x0, sp, 88
mov w3, 0
mov x2, 1000
mov x1, x0
ldr w0, [sp, 48]
bl recv
ldrb w0, [sp, 88]
cmp w0, 69
bne .L3
ldrb w0, [sp, 89]
cmp w0, 88
bne .L3
ldrb w0, [sp, 90]
cmp w0, 73
bne .L3
ldrb w0, [sp, 91]
cmp w0, 84
beq .L10
.L3:
add x0, sp, 88
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L5
.L2:
add x0, sp, 1088
mov x2, 1000
mov w1, 0
bl memset
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 1088
mov x2, x1
mov w1, 10000
bl fgets
ldrb w0, [sp, 1088]
cmp w0, 69
bne .L7
ldrb w0, [sp, 1089]
cmp w0, 88
bne .L7
ldrb w0, [sp, 1090]
cmp w0, 73
bne .L7
ldrb w0, [sp, 1091]
cmp w0, 84
beq .L11
.L7:
add x0, sp, 1088
bl strlen
add x1, x0, 1
add x0, sp, 1088
mov w3, 0
mov x2, x1
mov x1, x0
ldr w0, [sp, 48]
bl send
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
b .L2
.L10:
nop
b .L6
.L11:
nop
.L6:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 2088]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L9
bl __stack_chk_fail
.L9:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 2096
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global MF_TOPOLOGY_DXVA_MODE
.section .rodata
.align 3
.type MF_TOPOLOGY_DXVA_MODE, %object
.size MF_TOPOLOGY_DXVA_MODE, 24
MF_TOPOLOGY_DXVA_MODE:
.xword 512570614
.hword -2645
.hword 20003
.ascii "\273\210\207J\243\241\247M"
.zero 4
``` |
### 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
bl abort
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "syz_mount_image"
.align 3
.LC1:
.string "/dev/loop%llu"
.align 3
.LC2:
.string "iso9660"
.text
.align 2
.type syz_mount_image, %function
syz_mount_image:
.LFB6:
.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, 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]
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, 88]
mov w0, -1
str w0, [sp, 92]
ldr x0, [sp, 40]
str x0, [sp, 112]
ldr x0, [sp, 48]
cmp x0, 4096
bls .L2
mov x0, 4096
str x0, [sp, 48]
.L2:
str xzr, [sp, 104]
b .L3
.L7:
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x1, [x0, 8]
mov x0, 135266304
cmp x1, x0
bls .L4
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
mov x1, 135266304
str x1, [x0, 8]
.L4:
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x2, [x0, 16]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x3, x0, x1
mov x0, 33023
movk x0, 0xe03f, lsl 16
movk x0, 0xf80f, lsl 32
movk x0, 0xfe03, lsl 48
umulh x0, x2, x0
lsr x1, x0, 27
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 20
sub x1, x2, x0
str x1, [x3, 16]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x2, [x0, 16]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x0, [x0, 8]
mov x1, 135266304
sub x0, x1, x0
cmp x2, x0
bls .L5
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x2, [x0, 8]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
mov x1, 135266304
sub x1, x1, x2
str x1, [x0, 16]
.L5:
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x0, [x0, 16]
lsl x0, x0, 1
ldr x1, [sp, 56]
cmp x1, x0
bcs .L6
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x0, [x0, 16]
lsl x0, x0, 1
str x0, [sp, 56]
.L6:
ldr x0, [sp, 104]
add x0, x0, 1
str x0, [sp, 104]
.L3:
ldr x1, [sp, 104]
ldr x0, [sp, 48]
cmp x1, x0
bcc .L7
ldr x1, [sp, 56]
mov x0, 135266304
cmp x1, x0
bls .L8
mov x0, 135266304
str x0, [sp, 56]
.L8:
mov w2, 0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, 319
bl syscall
str w0, [sp, 96]
ldr w0, [sp, 96]
cmn w0, #1
bne .L9
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L10
.L9:
ldr x0, [sp, 56]
mov x1, x0
ldr w0, [sp, 96]
bl ftruncate
cmp w0, 0
beq .L11
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L12
.L11:
str xzr, [sp, 104]
b .L13
.L14:
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x4, [x0]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x2, [x0, 8]
ldr x1, [sp, 104]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 112]
add x0, x0, x1
ldr x0, [x0, 16]
mov x3, x0
mov x1, x4
ldr w0, [sp, 96]
bl pwrite
ldr x0, [sp, 104]
add x0, x0, 1
str x0, [sp, 104]
.L13:
ldr x1, [sp, 104]
ldr x0, [sp, 48]
cmp x1, x0
bcc .L14
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x4, sp, 120
mov x3, x0
adrp x0, .LC1
add x2, x0, :lo12:.LC1
mov x1, 64
mov x0, x4
bl snprintf
add x0, sp, 120
mov w1, 2
bl open
str w0, [sp, 100]
ldr w0, [sp, 100]
cmn w0, #1
bne .L15
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L12
.L15:
ldr w2, [sp, 96]
mov x1, 19456
ldr w0, [sp, 100]
bl ioctl
cmp w0, 0
beq .L16
bl __errno_location
ldr w0, [x0]
cmp w0, 16
beq .L17
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L18
.L17:
mov w2, 0
mov x1, 19457
ldr w0, [sp, 100]
bl ioctl
mov w0, 1000
bl usleep
ldr w2, [sp, 96]
mov x1, 19456
ldr w0, [sp, 100]
bl ioctl
cmp w0, 0
beq .L16
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L18
.L16:
ldr x0, [sp, 64]
mov w1, 511
bl mkdir
ldr x2, [sp, 72]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x2
bl strcmp
cmp w0, 0
bne .L19
ldr x0, [sp, 32]
orr x0, x0, 1
str x0, [sp, 32]
.L19:
ldr x1, [sp, 64]
ldr x2, [sp, 72]
ldr x3, [sp, 24]
add x0, sp, 120
mov x4, x3
ldr x3, [sp, 32]
bl mount
cmp w0, 0
beq .L20
bl __errno_location
ldr w0, [x0]
str w0, [sp, 88]
b .L21
.L20:
str wzr, [sp, 92]
.L21:
mov w2, 0
mov x1, 19457
ldr w0, [sp, 100]
bl ioctl
.L18:
ldr w0, [sp, 100]
bl close
.L12:
ldr w0, [sp, 96]
bl close
.L10:
bl __errno_location
mov x1, x0
ldr w0, [sp, 88]
str w0, [x1]
ldrsw x0, [sp, 92]
mov x1, x0
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 .L23
bl __stack_chk_fail
.L23:
mov x0, x1
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size syz_mount_image, .-syz_mount_image
.global procid
.bss
.align 3
.type procid, %object
.size procid, 8
procid:
.zero 8
.section .rodata
.align 3
.LC3:
.string "ext4"
.align 3
.LC4:
.string "./file0"
.align 3
.LC5:
.string "\020\004"
.string ""
.string ""
.string "\020"
.string ""
.string "\314"
.string ""
.string ""
.string "I\013"
.string ""
.string "\354\003"
.string "\355"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string " "
.string ""
.string ""
.string " "
.string ""
.string ""
.string "\004"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\351]\276Z"
.string ""
.string "\377\377S\357\001"
.string "\003"
.text
.align 2
.global loop
.type loop, %function
loop:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov x2, 5
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, 1152
movk x0, 0x2000, lsl 16
bl memcpy
mov x2, 8
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov x0, 256
movk x0, 0x2000, lsl 16
bl memcpy
mov x0, 320
movk x0, 0x2000, lsl 16
mov x1, 128
movk x1, 0x2000, lsl 16
str x1, [x0]
mov x2, 61
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov x0, 128
movk x0, 0x2000, lsl 16
bl memcpy
mov x0, 328
movk x0, 0x2000, lsl 16
mov x1, 61
str x1, [x0]
mov x0, 336
movk x0, 0x2000, lsl 16
mov x1, 1024
str x1, [x0]
mov x0, 1088
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x6, 1088
movk x6, 0x2000, lsl 16
mov x5, 0
mov x4, 320
movk x4, 0x2000, lsl 16
mov x3, 1
mov x2, 34084860461056
movk x2, 0xffff, lsl 48
mov x1, 256
movk x1, 0x2000, lsl 16
mov x0, 1152
movk x0, 0x2000, lsl 16
bl syz_mount_image
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size loop, .-loop
.align 2
.global main
.type main, %function
main:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w6, 0
mov w5, -1
mov w4, 50
mov w3, 3
mov w2, 16777216
mov w1, 536870912
mov x0, 222
bl syscall
bl loop
mov w0, 0
ldp x29, x30, [sp], 16
.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
.data
.align 3
.type bitcrush2_8_tableLength, %object
.size bitcrush2_8_tableLength, 8
bitcrush2_8_tableLength:
.xword 600
.align 3
.type bitcrush2_8_waveTable, %object
.size bitcrush2_8_waveTable, 2400
bitcrush2_8_waveTable:
.word 1051695103
.word 1051695103
.word 1051697153
.word 1051697153
.word 1051697153
.word 1051699200
.word 1051699200
.word 1051699200
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051701246
.word 1051699200
.word 1051699200
.word 1051699200
.word 1051699200
.word 1051697153
.word 1051697153
.word 1051697153
.word 1051697153
.word 1051695103
.word 1051695103
.word 1051695103
.word 1051693056
.word 1051693056
.word 1051693056
.word 1051691009
.word 1051691009
.word 1051688959
.word 1051688959
.word 1051688959
.word 1051686912
.word 1051686912
.word 1051684865
.word 1051684865
.word 1051682815
.word 1051682815
.word 1051680768
.word 1051680768
.word 1051678721
.word 1051678721
.word 1051676671
.word 1051676671
.word 1051674624
.word 1051674624
.word 1051672577
.word 1051672577
.word 1051670527
.word 1051670527
.word 1051668480
.word 1051668480
.word 1051666434
.word 1051666434
.word 1051664383
.word 1051662337
.word 1051662337
.word 1051660286
.word 1051660286
.word 1051658240
.word 1051658240
.word 1051656193
.word 1051654143
.word 1051654143
.word 1051652096
.word 1051652096
.word 1051650049
.word 1051647999
.word 1051647999
.word 1051645952
.word 1051645952
.word 1051643905
.word 1051641855
.word 1051641855
.word 1051639808
.word 1051639808
.word 1051637761
.word 1051636735
.word 1051636735
.word 1051634688
.word 1051634688
.word 1051632641
.word 1051630591
.word 1051630591
.word 1051628544
.word 1051626497
.word 1051626497
.word 1051624447
.word 1051624447
.word 1051622400
.word 1051620353
.word 1051620353
.word 1051618303
.word 1051616256
.word 1051616256
.word 1051614210
.word 1051614210
.word 1051612159
.word 1051610113
.word 1051610113
.word 1051608062
.word 1051606016
.word 1051606016
.word 1051603969
.word 1051603969
.word 1051601919
.word 1051599872
.word 1051599872
.word 1051597825
.word 1051595775
.word 1051595775
.word 1051593728
.word 1051591681
.word 1051591681
.word 1051589631
.word 1051589631
.word 1051587584
.word 1051585537
.word 1051585537
.word 1051583487
.word 1051581440
.word 1051581440
.word 1051579393
.word 1051577343
.word 1051577343
.word 1051575296
.word 1051575296
.word 1051573250
.word 1065352704
.word 1065352193
.word 1065351168
.word 1065350144
.word 1065349121
.word 1065348096
.word 1065347072
.word 1065347072
.word 1065345024
.word 1065344000
.word 1065342975
.word 1065341952
.word 1065340928
.word 1065339903
.word 1065338880
.word 1065336831
.word 1065335808
.word 1065334785
.word 1065333759
.word 1065331713
.word 1065330688
.word 1065329664
.word 1065327616
.word 1065326592
.word 1065324544
.word 1051514878
.word 1051510785
.word 1051508735
.word 1051504641
.word 1051502591
.word 1051500544
.word 1051498497
.word 1051494400
.word 1051492353
.word 1051490303
.word 1051488256
.word 1051486209
.word 1051484159
.word 1051482112
.word 1051480066
.word 1051478015
.word 1051473918
.word 1051471872
.word 1051469825
.word 1051467775
.word 1051467775
.word 1051465728
.word 1051463681
.word 1051461631
.word 1051459584
.word 1051457537
.word 1051455487
.word 1051453440
.word 1051451393
.word 1051449343
.word 1051447296
.word 1051447296
.word 1051445250
.word 1051443199
.word 1051441153
.word 1051439102
.word 1051437056
.word 1051437056
.word 1051435009
.word 1051432959
.word 1051430912
.word 1051428865
.word 1051428865
.word 1051426815
.word 1051424768
.word 1051422721
.word 1051422721
.word 1051420671
.word 1051418624
.word 1051416577
.word 1051416577
.word 1051414527
.word 1051412480
.word 1051412480
.word 1051410433
.word 1051409407
.word 1051407360
.word 1051407360
.word 1051405313
.word 1051403263
.word 1051403263
.word 1051401216
.word 1051399169
.word 1051397119
.word 1051397119
.word 1051395072
.word 1051393025
.word 1051393025
.word 1051390975
.word 1051388928
.word 1051388928
.word 1051386882
.word 1051384831
.word 1051384831
.word 1051382785
.word 1051380734
.word 1051380734
.word 1051378688
.word 1051376641
.word 1051376641
.word 1051374591
.word 1051372544
.word 1051372544
.word 1051370497
.word 1051368447
.word 1051368447
.word 1051366400
.word 1051364353
.word 1051364353
.word 1051362303
.word 1051360256
.word 1051360256
.word 1051358209
.word 1051358209
.word 1051356159
.word 1051354112
.word 1051354112
.word 1051352066
.word 1051350015
.word 1051350015
.word 1051347969
.word 1051345918
.word 1051345918
.word 1051343872
.word 1051341825
.word 1051341825
.word 1051339775
.word 1051339775
.word 1051337728
.word 1051335681
.word 1051335681
.word 1051333631
.word 1051331584
.word 1051331584
.word 1051329537
.word 1051327487
.word 1051327487
.word 1051325440
.word 1051325440
.word 1051323393
.word 1051321343
.word 1051321343
.word 1051319296
.word 1051317249
.word 1051317249
.word 1051315199
.word 1051313152
.word 1051313152
.word 1051311106
.word 1051311106
.word 1051309055
.word 1051307009
.word 1051307009
.word 1051304958
.word 1051302912
.word 1051302912
.word -1096243201
.word -1096241151
.word -1096241151
.word -1096239104
.word -1096239104
.word -1096239104
.word -1096237057
.word -1096237057
.word -1096237057
.word -1096237057
.word -1096235007
.word -1096235007
.word -1096235007
.word -1096235007
.word -1096235007
.word -1096235007
.word -1096235007
.word -1096235007
.word -1096235007
.word -1096235007
.word -1096235007
.word -1096235007
.word -1096235007
.word -1096237057
.word -1096237057
.word -1096237057
.word -1096237057
.word -1096237057
.word -1096239104
.word -1096239104
.word -1096239104
.word -1096239104
.word -1096241151
.word -1096241151
.word -1096241151
.word -1096243201
.word -1096243201
.word -1096243201
.word -1096245248
.word -1096245248
.word -1096247295
.word -1096247295
.word -1096247295
.word -1096249345
.word -1096249345
.word -1096251392
.word -1096251392
.word -1096253439
.word -1096253439
.word -1096253439
.word -1096255489
.word -1096255489
.word -1096257536
.word -1096257536
.word -1096259583
.word -1096259583
.word -1096261633
.word -1096261633
.word -1096263680
.word -1096263680
.word -1096265726
.word -1096265726
.word -1096267777
.word -1096267777
.word -1096269823
.word -1096269823
.word -1096271874
.word -1096273920
.word -1096273920
.word -1096275967
.word -1096275967
.word -1096278017
.word -1096278017
.word -1096280064
.word -1096280064
.word -1096282111
.word -1096284161
.word -1096284161
.word -1096286208
.word -1096286208
.word -1096288255
.word -1096288255
.word -1096290305
.word -1096292352
.word -1096292352
.word -1096294399
.word -1096294399
.word -1096296449
.word -1096298496
.word -1096298496
.word -1096300542
.word -1096300542
.word -1096301569
.word -1096301569
.word -1096303616
.word -1096305663
.word -1096305663
.word -1096307713
.word -1096307713
.word -1096309760
.word -1096311807
.word -1096311807
.word -1096313857
.word -1096313857
.word -1096315904
.word -1096317950
.word -1096317950
.word -1096320001
.word -1096320001
.word -1096322047
.word -1096324098
.word -1096324098
.word -1096326144
.word -1096328191
.word -1096328191
.word -1096330241
.word -1096330241
.word -1096332288
.word -1096334335
.word -1096334335
.word -1096336385
.word -1096336385
.word -1096338432
.word -1096340479
.word -1096340479
.word -1096342529
.word -1096342529
.word -1096344576
.word -1096346623
.word -1096346623
.word -1096348673
.word -1096348673
.word -1096350720
.word -1096352767
.word -1096352767
.word -1096354817
.word -1082353151
.word -1082354176
.word -1082355200
.word -1082356225
.word -1082356225
.word -1082357248
.word -1082357760
.word -1082358783
.word -1082359808
.word -1082360832
.word -1082361855
.word -1082362880
.word -1082363904
.word -1082365952
.word -1082366976
.word -1082368001
.word -1082369024
.word -1082371073
.word -1082372096
.word -1082373119
.word -1082374145
.word -1082376191
.word -1082377216
.word -1082379263
.word -1082380288
.word -1082381312
.word -1082383360
.word -1082384384
.word -1082386432
.word -1082387456
.word -1096427519
.word -1096429569
.word -1096433663
.word -1096435713
.word -1096439807
.word -1096441857
.word -1096443904
.word -1096445951
.word -1096450048
.word -1096452094
.word -1096454145
.word -1096456191
.word -1096458242
.word -1096460288
.word -1096462335
.word -1096466432
.word -1096468479
.word -1096470529
.word -1096472576
.word -1096474623
.word -1096476673
.word -1096478720
.word -1096480767
.word -1096482817
.word -1096482817
.word -1096484864
.word -1096486910
.word -1096488961
.word -1096491007
.word -1096493058
.word -1096495104
.word -1096497151
.word -1096497151
.word -1096499201
.word -1096501248
.word -1096503295
.word -1096505345
.word -1096507392
.word -1096507392
.word -1096509439
.word -1096511489
.word -1096513536
.word -1096513536
.word -1096515583
.word -1096517633
.word -1096519680
.word -1096519680
.word -1096521727
.word -1096523777
.word -1096525824
.word -1096525824
.word -1096526847
.word -1096528897
.word -1096528897
.word -1096530944
.word -1096532991
.word -1096532991
.word -1096535041
.word -1096537088
.word -1096539135
.word -1096539135
.word -1096541185
.word -1096543232
.word -1096543232
.word -1096545278
.word -1096547329
.word -1096547329
.word -1096549375
.word -1096551426
.word -1096551426
.word -1096553472
.word -1096555519
.word -1096555519
.word -1096557569
.word -1096557569
.word -1096559616
.word -1096561663
.word -1096561663
.word -1096563713
.word -1096565760
.word -1096565760
.word -1096567807
.word -1096569857
.word -1096569857
.word -1096571904
.word -1096571904
.word -1096573951
.word -1096576001
.word -1096576001
.word -1096578048
.word -1096580094
.word -1096580094
.word -1096582145
.word -1096584191
.word -1096584191
.word -1096586242
.word -1096586242
.word -1096588288
.word -1096590335
.word -1096590335
.word -1096592385
.word -1096592385
.word -1096594432
.word -1096596479
.word -1096596479
.word -1096598529
.word -1096600576
.word -1096600576
.word -1096602623
.word -1096602623
.word -1096604673
.word -1096606720
.word -1096606720
.word -1096608767
.word -1096608767
.word -1096610817
.word -1096612864
.word -1096612864
.word -1096614911
.word -1096616961
.word -1096616961
.word -1096619008
.word -1096619008
.word -1096621054
.word -1096623105
.word -1096623105
.word -1096625151
.word -1096625151
.word -1096627202
.word -1096629248
.word -1096629248
.word -1096631295
.word -1096631295
.word -1096633345
.word -1096635392
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global maze
.section .rodata
.align 3
.type maze, %object
.size maze, 144
maze:
.ascii "############"
.ascii "# # #"
.ascii " # # #### #"
.ascii "### # # #"
.ascii "# ### # "
.ascii "#### # # # #"
.ascii "# # # # # #"
.ascii "## # # # # #"
.ascii "# # #"
.ascii "###### ### #"
.ascii "# # #"
.ascii "############"
.global maze1
.align 3
.type maze1, %object
.size maze1, 144
maze1:
.ascii "######## ###"
.ascii "### # #"
.ascii "# # ##"
.ascii "# ## ##"
.ascii "# # # #"
.ascii "# ### #"
.ascii "## # ##"
.ascii "# # ## ##"
.ascii "## # #"
.ascii "#### ### #"
.ascii "## # #"
.ascii "#### #######"
.global STARTROW
.align 2
.type STARTROW, %object
.size STARTROW, 4
STARTROW:
.word 2
.global STARTCOL
.align 2
.type STARTCOL, %object
.size STARTCOL, 4
STARTCOL:
.zero 4
.global STARTFACING
.align 2
.type STARTFACING, %object
.size STARTFACING, 4
STARTFACING:
.word 1
.global ENDROW
.align 2
.type ENDROW, %object
.size ENDROW, 4
ENDROW:
.word 4
.global ENDCOL
.align 2
.type ENDCOL, %object
.size ENDCOL, 4
ENDCOL:
.word 11
.align 3
.LC0:
.string "cls"
.text
.align 2
.global main
.type main, %function
main:
.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 system
mov w0, 2
mov w2, 0
mov w1, 1
mov w3, w1
mov w1, w0
adrp x0, maze
add x0, x0, :lo12:maze
bl mazeTraverse
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.align 2
.global wait
.type wait, %function
wait:
.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 w0, 300
str w0, [sp, 20]
bl clock
str x0, [sp, 24]
nop
.L4:
bl clock
mov x2, x0
ldrsw x1, [sp, 20]
ldr x0, [sp, 24]
add x0, x1, x0
cmp x2, x0
blt .L4
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size wait, .-wait
.align 2
.global canMoveForwards
.type canMoveForwards, %function
canMoveForwards:
.LFB8:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str w3, [sp, 12]
ldr w0, [sp, 12]
cmp w0, 0
bne .L6
ldr w0, [sp, 20]
cmp w0, 10
bgt .L6
ldrsw x0, [sp, 20]
add x1, x0, 1
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x1, x0, x1
ldrsw x0, [sp, 16]
ldrb w0, [x1, x0]
cmp w0, 32
cset w0, eq
and w0, w0, 255
b .L7
.L6:
ldr w0, [sp, 12]
cmp w0, 1
bne .L8
ldr w0, [sp, 16]
cmp w0, 10
bgt .L8
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x1, x0, x1
ldr w0, [sp, 16]
add w0, w0, 1
sxtw x0, w0
ldrb w0, [x1, x0]
cmp w0, 32
cset w0, eq
and w0, w0, 255
b .L7
.L8:
ldr w0, [sp, 12]
cmp w0, 2
bne .L9
ldr w0, [sp, 20]
cmp w0, 0
ble .L9
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
sub x0, x0, #12
ldr x1, [sp, 24]
add x1, x1, x0
ldrsw x0, [sp, 16]
ldrb w0, [x1, x0]
cmp w0, 32
cset w0, eq
and w0, w0, 255
b .L7
.L9:
ldr w0, [sp, 12]
cmp w0, 3
bne .L10
ldr w0, [sp, 16]
cmp w0, 0
ble .L10
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x1, x0, x1
ldr w0, [sp, 16]
sub w0, w0, #1
sxtw x0, w0
ldrb w0, [x1, x0]
cmp w0, 32
cset w0, eq
and w0, w0, 255
b .L7
.L10:
mov w0, 0
.L7:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size canMoveForwards, .-canMoveForwards
.section .rodata
.align 3
.LC1:
.string "\n---- MAZE SOLVED :) ----"
.align 3
.LC2:
.string "\n---- CANNOT SOLVE MAZE :( ----"
.align 3
.LC3:
.string "\nNo more moves available!"
.text
.align 2
.global mazeTraverse
.type mazeTraverse, %function
mazeTraverse:
.LFB9:
.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 wzr, [sp, 60]
ldr w2, [sp, 32]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl printMaze
mov w0, 4
ldr w1, [sp, 36]
cmp w1, w0
bne .L12
mov w0, 11
ldr w1, [sp, 32]
cmp w1, w0
bne .L12
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
b .L11
.L12:
mov w0, 2
ldr w1, [sp, 36]
cmp w1, w0
bne .L14
mov w1, 0
ldr w0, [sp, 32]
cmp w0, w1
bne .L14
mov w0, 1
ldr w1, [sp, 28]
cmp w1, w0
beq .L14
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
b .L11
.L14:
bl wait
ldr w0, [sp, 28]
add w0, w0, 3
negs w1, w0
and w0, w0, 3
and w1, w1, 3
csneg w0, w0, w1, mi
str w0, [sp, 28]
ldr w3, [sp, 28]
ldr w2, [sp, 32]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl canMoveForwards
cmp w0, 0
bne .L15
ldr w0, [sp, 28]
add w0, w0, 1
negs w1, w0
and w0, w0, 3
and w1, w1, 3
csneg w0, w0, w1, mi
str w0, [sp, 28]
str wzr, [sp, 56]
b .L16
.L19:
ldr w3, [sp, 28]
ldr w2, [sp, 32]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl canMoveForwards
cmp w0, 1
bne .L17
mov w0, 1
str w0, [sp, 60]
b .L20
.L17:
ldr w0, [sp, 28]
add w0, w0, 1
negs w1, w0
and w0, w0, 3
and w1, w1, 3
csneg w0, w0, w1, mi
str w0, [sp, 28]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L16:
ldr w0, [sp, 56]
cmp w0, 3
ble .L19
b .L20
.L15:
mov w0, 1
str w0, [sp, 60]
.L20:
ldr w0, [sp, 60]
cmp w0, 0
bne .L21
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
b .L11
.L21:
ldr w0, [sp, 28]
cmp w0, 0
bne .L22
ldr w0, [sp, 36]
add w0, w0, 1
mov w3, 0
ldr w2, [sp, 32]
mov w1, w0
ldr x0, [sp, 40]
bl mazeTraverse
b .L11
.L22:
ldr w0, [sp, 28]
cmp w0, 1
bne .L23
ldr w0, [sp, 32]
add w0, w0, 1
mov w3, 1
mov w2, w0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl mazeTraverse
b .L11
.L23:
ldr w0, [sp, 28]
cmp w0, 2
bne .L24
ldr w0, [sp, 36]
sub w0, w0, #1
mov w3, 2
ldr w2, [sp, 32]
mov w1, w0
ldr x0, [sp, 40]
bl mazeTraverse
b .L11
.L24:
ldr w0, [sp, 28]
cmp w0, 3
bne .L11
ldr w0, [sp, 32]
sub w0, w0, #1
mov w3, 3
mov w2, w0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl mazeTraverse
.L11:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size mazeTraverse, .-mazeTraverse
.section .rodata
.align 3
.LC4:
.string "X "
.align 3
.LC5:
.string "%c "
.text
.align 2
.global printMaze
.type printMaze, %function
printMaze:
.LFB10:
.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, .LC0
add x0, x0, :lo12:.LC0
bl system
str wzr, [sp, 40]
b .L26
.L31:
str wzr, [sp, 44]
b .L27
.L30:
ldr w1, [sp, 40]
ldr w0, [sp, 20]
cmp w1, w0
bne .L28
ldr w1, [sp, 44]
ldr w0, [sp, 16]
cmp w1, w0
bne .L28
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
b .L29
.L28:
ldrsw x1, [sp, 40]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x1, x0, x1
ldrsw x0, [sp, 44]
ldrb w0, [x1, x0]
mov w1, w0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
.L29:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L27:
ldr w0, [sp, 44]
cmp w0, 11
ble .L30
mov w0, 10
bl putchar
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L26:
ldr w0, [sp, 40]
cmp w0, 11
ble .L31
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size printMaze, .-printMaze
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "surviving genome: %8x "
.align 3
.LC1:
.string "(%d)"
.align 3
.LC2:
.string " *"
.align 3
.LC3:
.string "\nlast round: genome 1 (%x) vs. genome 2 (%x)"
.align 3
.LC4:
.string "\nthe longest surviving genome was %x with %d generations"
.align 3
.LC5:
.string "\nthis game took %d generations to finish.\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
mov x0, 0
bl time
bl srand
mov x0, 15
str x0, [sp, 80]
ldr x0, [sp, 80]
str x0, [sp, 64]
mov x0, 65535
str x0, [sp, 88]
mov x0, 1
str x0, [sp, 72]
str xzr, [sp, 24]
str xzr, [sp, 32]
bl random
mov x1, x0
ldr x0, [sp, 64]
add x0, x0, 1
udiv x2, x1, x0
mul x0, x2, x0
sub x0, x1, x0
str x0, [sp, 40]
bl random
mov x1, x0
ldr x0, [sp, 64]
add x0, x0, 1
udiv x2, x1, x0
mul x0, x2, x0
sub x0, x1, x0
str x0, [sp, 48]
str xzr, [sp, 16]
b .L2
.L7:
ldr x0, [sp, 72]
cmp x0, 1
bne .L3
ldr x2, [sp, 48]
ldr x1, [sp, 40]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
.L3:
ldr x1, [sp, 40]
ldr x0, [sp, 48]
cmp x1, x0
bls .L4
str xzr, [sp, 72]
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
b .L5
.L4:
ldr x1, [sp, 48]
ldr x0, [sp, 40]
cmp x1, x0
bls .L5
ldr x1, [sp, 24]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr x1, [sp, 24]
ldr x0, [sp, 32]
cmp x1, x0
bls .L6
ldr x0, [sp, 24]
str x0, [sp, 32]
ldr x0, [sp, 40]
str x0, [sp, 56]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
.L6:
mov w0, 10
bl putchar
str xzr, [sp, 24]
ldr x0, [sp, 48]
str x0, [sp, 40]
mov x0, 1
str x0, [sp, 72]
ldr x0, [sp, 64]
add x0, x0, 1
str x0, [sp, 64]
.L5:
bl random
mov x1, x0
ldr x0, [sp, 64]
add x0, x0, 1
udiv x2, x1, x0
mul x0, x2, x0
sub x0, x1, x0
str x0, [sp, 48]
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L2:
ldr x1, [sp, 40]
ldr x0, [sp, 88]
cmp x1, x0
bls .L7
ldr x2, [sp, 48]
ldr x1, [sp, 40]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr x2, [sp, 32]
ldr x1, [sp, 56]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x1, [sp, 16]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
mov w0, 0
ldp x29, x30, [sp], 96
.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
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w0, 5
str w0, [sp, 24]
mov w0, 6
str w0, [sp, 28]
mov w0, 1
str w0, [sp, 16]
b .L2
.L7:
mov w0, 1
str w0, [sp, 20]
b .L3
.L6:
ldr w1, [sp, 20]
ldr w0, [sp, 16]
cmp w1, w0
bge .L4
mov w0, 48
bl putchar
b .L5
.L4:
mov w0, 88
bl putchar
.L5:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L3:
ldr w1, [sp, 20]
ldr w0, [sp, 24]
cmp w1, w0
ble .L6
mov w0, 10
bl putchar
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L2:
ldr w1, [sp, 16]
ldr w0, [sp, 28]
cmp w1, w0
ble .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
.section .rodata
.align 3
.LC0:
.string "PushDupStack(S, status, 1): %d\n"
.align 3
.LC1:
.string "PopDupStack(S, status): %d\n"
.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
bl InitDupStack
str x0, [sp, 24]
mov w0, 76
strb w0, [sp, 23]
mov w2, 1
ldrb w1, [sp, 23]
ldr x0, [sp, 24]
bl PushDupStack
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldrb w1, [sp, 23]
ldr x0, [sp, 24]
bl PopDupStack
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldrb w1, [sp, 23]
ldr x0, [sp, 24]
bl PopDupStack
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
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
.align 2
.global InitDupStack
.type InitDupStack, %function
InitDupStack:
.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 x0, 48
bl malloc
str x0, [sp, 24]
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0, 40]
ldr x0, [sp, 24]
mov w1, 9
str w1, [x0, 44]
ldr x0, [sp, 24]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size InitDupStack, .-InitDupStack
.align 2
.global PushDupStack
.type PushDupStack, %function
PushDupStack:
.LFB8:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
strb w1, [sp, 7]
str w2, [sp]
ldr x0, [sp, 8]
ldr w0, [x0, 40]
add w1, w0, 1
ldr x0, [sp, 8]
ldr w0, [x0, 44]
cmp w1, w0
bne .L6
mov w0, 0
b .L7
.L6:
ldrb w0, [sp, 7]
cmp w0, 76
beq .L8
cmp w0, 82
beq .L9
b .L12
.L8:
ldr x0, [sp, 8]
ldr w0, [x0, 40]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 40]
ldr x0, [sp, 8]
ldr w1, [x0, 40]
ldr x0, [sp, 8]
sxtw x1, w1
ldr w2, [sp]
str w2, [x0, x1, lsl 2]
b .L11
.L9:
ldr x0, [sp, 8]
ldr w0, [x0, 44]
sub w1, w0, #1
ldr x0, [sp, 8]
str w1, [x0, 44]
ldr x0, [sp, 8]
ldr w1, [x0, 44]
ldr x0, [sp, 8]
sxtw x1, w1
ldr w2, [sp]
str w2, [x0, x1, lsl 2]
b .L11
.L12:
mov w0, 0
b .L7
.L11:
mov w0, 1
.L7:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size PushDupStack, .-PushDupStack
.align 2
.global PopDupStack
.type PopDupStack, %function
PopDupStack:
.LFB9:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
strb w1, [sp, 7]
ldr x0, [sp, 8]
ldr w0, [x0, 40]
add w1, w0, 1
ldr x0, [sp, 8]
ldr w0, [x0, 44]
cmp w1, w0
bne .L14
mov w0, 0
b .L15
.L14:
ldrb w0, [sp, 7]
cmp w0, 76
beq .L16
cmp w0, 82
beq .L17
b .L21
.L16:
ldr x0, [sp, 8]
ldr w0, [x0, 40]
cmp w0, 0
bge .L19
mov w0, 0
b .L15
.L19:
ldr x0, [sp, 8]
ldr w0, [x0, 40]
sub w2, w0, #1
ldr x1, [sp, 8]
str w2, [x1, 40]
ldr x1, [sp, 8]
sxtw x0, w0
ldr w0, [x1, x0, lsl 2]
b .L15
.L17:
ldr x0, [sp, 8]
ldr w0, [x0, 44]
cmp w0, 9
ble .L20
mov w0, 0
b .L15
.L20:
ldr x0, [sp, 8]
ldr w0, [x0, 44]
add w2, w0, 1
ldr x1, [sp, 8]
str w2, [x1, 44]
ldr x1, [sp, 8]
sxtw x0, w0
ldr w0, [x1, x0, lsl 2]
b .L15
.L21:
mov w0, 0
.L15:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size PopDupStack, .-PopDupStack
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global ue7_32
.type ue7_32, %function
ue7_32:
.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 wzr, [sp, 24]
str wzr, [sp, 20]
b .L2
.L6:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fgetc
str w0, [sp, 28]
ldr w0, [sp, 28]
cmn w0, #1
bne .L3
ldr w0, [sp, 24]
b .L4
.L3:
ldr w0, [sp, 24]
lsl w1, w0, 7
ldr w0, [sp, 28]
and w0, w0, 127
orr w0, w1, w0
str w0, [sp, 24]
ldr w0, [sp, 28]
and w0, w0, 128
cmp w0, 0
bne .L5
ldr w0, [sp, 24]
b .L4
.L5:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L2:
ldr w0, [sp, 20]
cmp w0, 4
ble .L6
ldr w0, [sp, 24]
.L4:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size ue7_32, .-ue7_32
.section .rodata
.align 3
.LC0:
.string "program.c"
.align 3
.LC1:
.string "idx == msps_len"
.text
.align 2
.type build_msps, %function
build_msps:
.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 x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
str w3, [sp, 24]
str w4, [sp, 20]
str w5, [sp, 16]
ldr x0, [sp, 40]
str xzr, [x0]
bl ue7_32
uxtw x0, w0
str x0, [sp, 72]
ldr x0, [sp, 72]
add w0, w0, 10
str w0, [sp, 64]
ldrsw x0, [sp, 64]
bl malloc
str x0, [sp, 80]
str wzr, [sp, 56]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
ldr w1, [sp, 20]
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 28]
asr w2, w0, 24
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr w0, [sp, 28]
asr w2, w0, 16
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr w0, [sp, 28]
asr w2, w0, 8
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
ldr w1, [sp, 28]
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 24]
asr w2, w0, 24
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr w0, [sp, 24]
asr w2, w0, 16
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr w0, [sp, 24]
asr w2, w0, 8
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
ldr w1, [sp, 24]
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 16]
and w1, w0, 255
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sxtw x0, w0
ldr x2, [sp, 80]
add x0, x2, x0
sub w1, w1, #8
and w1, w1, 255
strb w1, [x0]
ldrsw x0, [sp, 56]
ldr x1, [sp, 80]
add x4, x1, x0
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
mov x3, x0
ldr x2, [sp, 72]
mov x1, 1
mov x0, x4
bl fread
ldr x0, [sp, 72]
mov w1, w0
ldr w0, [sp, 56]
add w0, w1, w0
str w0, [sp, 56]
ldr w1, [sp, 56]
ldr w0, [sp, 64]
cmp w1, w0
beq .L8
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 49
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __assert_fail
.L8:
ldr w0, [sp, 64]
add w0, w0, 3
lsl w0, w0, 1
str w0, [sp, 68]
ldrsw x0, [sp, 68]
bl malloc
str x0, [sp, 88]
str wzr, [sp, 56]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
strb wzr, [x0]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
strb wzr, [x0]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
strb wzr, [x0]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
mov w1, 1
strb w1, [x0]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
mov w1, 96
strb w1, [x0]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
mov w1, 1
strb w1, [x0]
str wzr, [sp, 60]
b .L9
.L11:
ldr w0, [sp, 60]
add w0, w0, 1
ldr w1, [sp, 64]
cmp w1, w0
ble .L10
ldrsw x0, [sp, 60]
ldr x1, [sp, 80]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L10
ldrsw x0, [sp, 60]
add x0, x0, 1
ldr x1, [sp, 80]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L10
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
strb wzr, [x0]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
strb wzr, [x0]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
mov w1, 3
strb w1, [x0]
ldr w0, [sp, 60]
add w0, w0, 2
str w0, [sp, 60]
b .L9
.L10:
ldr w0, [sp, 60]
add w1, w0, 1
str w1, [sp, 60]
sxtw x0, w0
ldr x1, [sp, 80]
add x1, x1, x0
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sxtw x0, w0
ldr x2, [sp, 88]
add x0, x2, x0
ldrb w1, [x1]
strb w1, [x0]
.L9:
ldr w1, [sp, 60]
ldr w0, [sp, 64]
cmp w1, w0
blt .L11
ldr w0, [sp, 56]
cmp w0, 0
beq .L12
ldrsw x0, [sp, 56]
sub x0, x0, #1
ldr x1, [sp, 88]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L13
.L12:
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
sxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
mov w1, -128
strb w1, [x0]
.L13:
ldr x0, [sp, 80]
bl free
ldr x0, [sp, 32]
ldr w1, [sp, 56]
str w1, [x0]
ldr x0, [sp, 40]
ldr x1, [sp, 88]
str x1, [x0]
mov w0, 0
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size build_msps, .-build_msps
.section .rodata
.align 3
.LC2:
.string "Usage: bpg2hevc < file.bpg > file.265\n"
.align 3
.LC3:
.string "Should convert a BPG (Better Portable Graphics) file to raw HEVC bitstream losslessly\n"
.align 3
.LC4:
.string "Does not support animation, alpha. Metadata like colour format is lost.\n"
.align 3
.LC5:
.string "BPG\373"
.align 3
.LC6:
.string "BPG signature invalid\n"
.align 3
.LC7:
.string "pixfmt=%d alpha1=%d bit_depth=%d\n"
.align 3
.LC8:
.string "colspc=%d ext=%d alpha2=%d limrange=%d anim=%d\n"
.align 3
.LC9:
.string "width=%u height=%u datalen=%u\n"
.align 3
.LC10:
.string "Alpha channel is not supported\n"
.align 3
.LC11:
.string "Header decoding error\n"
.align 3
.LC12:
.string ""
.string ""
.string ""
.string "\001"
.text
.align 2
.global main
.type main, %function
main:
.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 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
ldr w0, [sp, 28]
cmp w0, 1
beq .L16
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 38
mov x1, 1
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl fwrite
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 86
mov x1, 1
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl fwrite
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 72
mov x1, 1
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl fwrite
mov w0, 1
b .L25
.L16:
str wzr, [sp, 96]
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 96
mov x3, x1
mov x2, 1
mov x1, 4
bl fread
add x3, sp, 96
mov x2, 4
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov x0, x3
bl memcmp
cmp w0, 0
beq .L18
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 22
mov x1, 1
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl fwrite
mov w0, 2
b .L25
.L18:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 96
mov x3, x1
mov x2, 1
mov x1, 2
bl fread
ldrb w0, [sp, 96]
lsr w0, w0, 5
and w0, w0, 255
str w0, [sp, 40]
ldrb w0, [sp, 96]
asr w0, w0, 4
and w0, w0, 1
str w0, [sp, 44]
ldrb w0, [sp, 96]
and w0, w0, 15
add w0, w0, 8
str w0, [sp, 48]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x5, [x0]
ldr w4, [sp, 48]
ldr w3, [sp, 44]
ldr w2, [sp, 40]
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, x5
bl fprintf
ldrb w0, [sp, 97]
lsr w0, w0, 4
and w0, w0, 255
str w0, [sp, 52]
ldrb w0, [sp, 97]
asr w0, w0, 3
and w0, w0, 1
str w0, [sp, 56]
ldrb w0, [sp, 97]
asr w0, w0, 2
and w0, w0, 1
str w0, [sp, 60]
ldrb w0, [sp, 97]
asr w0, w0, 1
and w0, w0, 1
str w0, [sp, 64]
ldrb w0, [sp, 97]
and w0, w0, 1
str w0, [sp, 68]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x7, [x0]
ldr w6, [sp, 68]
ldr w5, [sp, 64]
ldr w4, [sp, 60]
ldr w3, [sp, 56]
ldr w2, [sp, 52]
adrp x0, .LC8
add x1, x0, :lo12:.LC8
mov x0, x7
bl fprintf
bl ue7_32
str w0, [sp, 72]
bl ue7_32
str w0, [sp, 76]
bl ue7_32
str w0, [sp, 80]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x5, [x0]
ldr w4, [sp, 80]
ldr w3, [sp, 76]
ldr w2, [sp, 72]
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov x0, x5
bl fprintf
ldr w0, [sp, 44]
cmp w0, 0
bne .L19
ldr w0, [sp, 60]
cmp w0, 0
beq .L20
.L19:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 31
mov x1, 1
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl fwrite
mov w0, 3
b .L25
.L20:
str xzr, [sp, 88]
str wzr, [sp, 36]
ldr w2, [sp, 72]
ldr w3, [sp, 76]
add x1, sp, 36
add x0, sp, 88
ldr w5, [sp, 48]
ldr w4, [sp, 40]
bl build_msps
ldr x0, [sp, 88]
cmp x0, 0
bne .L21
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 22
mov x1, 1
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl fwrite
mov w0, 4
b .L25
.L21:
ldr x4, [sp, 88]
ldr w0, [sp, 36]
sxtw x1, w0
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
mov x3, x0
mov x2, x1
mov x1, 1
mov x0, x4
bl fwrite
ldr x0, [sp, 88]
bl free
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
mov x3, x0
mov x2, 1
mov x1, 4
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl fwrite
.L24:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fgetc
str w0, [sp, 84]
ldr w0, [sp, 84]
cmn w0, #1
beq .L28
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
mov x1, x0
ldr w0, [sp, 84]
bl fputc
b .L24
.L28:
nop
mov w0, 0
.L25:
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 .L26
bl __stack_chk_fail
.L26:
mov w0, w1
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size main, .-main
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.0, %object
.size __PRETTY_FUNCTION__.0, 11
__PRETTY_FUNCTION__.0:
.string "build_msps"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Usage: %s -d <directory> -p <permissions string> [-h]\n"
.text
.align 2
.global print_usage_message
.type print_usage_message, %function
print_usage_message:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
strb w0, [sp, 31]
str x1, [sp, 16]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
str x0, [sp, 40]
ldrb w0, [sp, 31]
cmp w0, 0
beq .L2
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
ldr x2, [sp, 16]
ldr x1, [sp, 40]
bl fprintf
b .L4
.L2:
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
ldr x2, [sp, 16]
ldr x1, [sp, 40]
bl fprintf
.L4:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size print_usage_message, .-print_usage_message
.align 2
.global validate_permission_string
.type validate_permission_string, %function
validate_permission_string:
.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, 24]
ldr x0, [sp, 24]
bl strlen
cmp x0, 9
beq .L6
mov w0, 0
b .L7
.L6:
str wzr, [sp, 40]
str wzr, [sp, 44]
b .L8
.L13:
ldr w0, [sp, 44]
cmp w0, 0
bne .L9
mov w0, 114
strb w0, [sp, 38]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
b .L10
.L9:
ldr w0, [sp, 44]
cmp w0, 1
bne .L11
mov w0, 119
strb w0, [sp, 38]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
b .L10
.L11:
mov w0, 120
strb w0, [sp, 38]
str wzr, [sp, 44]
.L10:
ldrsw x0, [sp, 40]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 39]
ldrb w1, [sp, 39]
ldrb w0, [sp, 38]
cmp w1, w0
beq .L12
ldrb w0, [sp, 39]
cmp w0, 45
beq .L12
mov w0, 0
b .L7
.L12:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L8:
ldr w0, [sp, 40]
cmp w0, 8
ble .L13
mov w0, 1
.L7:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size validate_permission_string, .-validate_permission_string
.global perms
.section .rodata
.align 3
.type perms, %object
.size perms, 36
perms:
.word 256
.word 128
.word 64
.word 32
.word 16
.word 8
.word 4
.word 2
.word 1
.text
.align 2
.global permission_string
.type permission_string, %function
permission_string:
.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]
mov x0, 10
bl malloc
str x0, [sp, 56]
ldr x0, [sp, 56]
str x0, [sp, 48]
str wzr, [sp, 44]
b .L15
.L21:
ldr x0, [sp, 24]
ldr w1, [x0, 16]
ldr w0, [sp, 44]
add w2, w0, 1
str w2, [sp, 44]
sxtw x0, w0
lsl x2, x0, 2
adrp x0, perms
add x0, x0, :lo12:perms
add x0, x2, x0
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
beq .L16
ldr x0, [sp, 48]
add x1, x0, 1
str x1, [sp, 48]
mov w1, 114
strb w1, [x0]
b .L17
.L16:
ldr x0, [sp, 48]
add x1, x0, 1
str x1, [sp, 48]
mov w1, 45
strb w1, [x0]
.L17:
ldr x0, [sp, 24]
ldr w1, [x0, 16]
ldr w0, [sp, 44]
add w2, w0, 1
str w2, [sp, 44]
sxtw x0, w0
lsl x2, x0, 2
adrp x0, perms
add x0, x0, :lo12:perms
add x0, x2, x0
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
beq .L18
ldr x0, [sp, 48]
add x1, x0, 1
str x1, [sp, 48]
mov w1, 119
strb w1, [x0]
b .L19
.L18:
ldr x0, [sp, 48]
add x1, x0, 1
str x1, [sp, 48]
mov w1, 45
strb w1, [x0]
.L19:
ldr x0, [sp, 24]
ldr w1, [x0, 16]
ldr w0, [sp, 44]
add w2, w0, 1
str w2, [sp, 44]
sxtw x0, w0
lsl x2, x0, 2
adrp x0, perms
add x0, x0, :lo12:perms
add x0, x2, x0
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
beq .L20
ldr x0, [sp, 48]
add x1, x0, 1
str x1, [sp, 48]
mov w1, 120
strb w1, [x0]
b .L15
.L20:
ldr x0, [sp, 48]
add x1, x0, 1
str x1, [sp, 48]
mov w1, 45
strb w1, [x0]
.L15:
ldr w0, [sp, 44]
cmp w0, 8
ble .L21
ldr x0, [sp, 48]
strb wzr, [x0]
ldr x0, [sp, 56]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size permission_string, .-permission_string
.local directory
.comm directory,8,8
.local permissions
.comm permissions,8,8
.section .rodata
.align 3
.LC1:
.string "Error: Cannot stat '%s'. %s.\n"
.align 3
.LC2:
.string "Error: Cannot open directory '%s'. Permission denied.\n"
.align 3
.LC3:
.string "/"
.align 3
.LC4:
.string "."
.align 3
.LC5:
.string ".."
.align 3
.LC6:
.string "Error: Cannot stat file '%s'. %s\n"
.text
.align 2
.global read_directory
.type read_directory, %function
read_directory:
.LFB9:
.cfi_startproc
mov x12, 4320
sub sp, sp, x12
.cfi_def_cfa_offset 4320
stp x29, x30, [sp]
.cfi_offset 29, -4320
.cfi_offset 30, -4312
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -4304
str x0, [sp, 40]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 4312]
mov x1, 0
ldr x0, [sp, 40]
bl opendir
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L24
bl __errno_location
ldr w0, [x0]
cmp w0, 2
bne .L25
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x3, x0
ldr x2, [sp, 40]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x19
bl fprintf
b .L26
.L25:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x2, [sp, 40]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl fprintf
.L26:
mov w0, 1
b .L35
.L24:
strb wzr, [sp, 216]
str xzr, [sp, 64]
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 40]
bl strcmp
cmp w0, 0
beq .L28
add x0, sp, 216
mov x2, 4096
ldr x1, [sp, 40]
bl strncpy
.L28:
add x0, sp, 216
bl strlen
add x0, x0, 1
str x0, [sp, 64]
ldr x0, [sp, 64]
sub x0, x0, #1
add x1, sp, 216
mov w2, 47
strb w2, [x1, x0]
ldr x0, [sp, 64]
add x1, sp, 216
strb wzr, [x1, x0]
b .L29
.L34:
ldr x0, [sp, 72]
add x2, x0, 19
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov x0, x2
bl strcmp
cmp w0, 0
beq .L29
ldr x0, [sp, 72]
add x2, x0, 19
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov x0, x2
bl strcmp
cmp w0, 0
bne .L31
b .L29
.L31:
add x1, sp, 216
ldr x0, [sp, 64]
add x3, x1, x0
ldr x0, [sp, 72]
add x4, x0, 19
mov x1, 4096
ldr x0, [sp, 64]
sub x0, x1, x0
mov x2, x0
mov x1, x4
mov x0, x3
bl strncpy
add x1, sp, 88
add x0, sp, 216
bl lstat
cmp w0, 0
bge .L32
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x1, x0
add x0, sp, 216
mov x3, x1
mov x2, x0
adrp x0, .LC6
add x1, x0, :lo12:.LC6
mov x0, x19
bl fprintf
mov w0, 1
b .L35
.L32:
add x0, sp, 88
bl permission_string
str x0, [sp, 80]
adrp x0, permissions
add x0, x0, :lo12:permissions
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 80]
bl strcmp
cmp w0, 0
bne .L33
add x0, sp, 216
bl puts
.L33:
ldr x0, [sp, 80]
bl free
ldr x0, [sp, 72]
ldrb w0, [x0, 18]
cmp w0, 4
bne .L29
add x0, sp, 216
bl read_directory
.L29:
ldr x0, [sp, 56]
bl readdir
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L34
ldr x0, [sp, 56]
bl closedir
mov w0, 0
.L35:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 4312]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L36
bl __stack_chk_fail
.L36:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp]
mov x12, 4320
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size read_directory, .-read_directory
.section .rodata
.align 3
.LC7:
.string "Error: Unknown option '%c' received.\n"
.align 3
.LC8:
.string ":d:p:h"
.text
.align 2
.global main
.type main, %function
main:
.LFB10:
.cfi_startproc
mov x12, 4144
sub sp, sp, x12
.cfi_def_cfa_offset 4144
stp x29, x30, [sp]
.cfi_offset 29, -4144
.cfi_offset 30, -4136
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, 4136]
mov x1, 0
ldr w0, [sp, 28]
cmp w0, 1
bne .L38
ldr x0, [sp, 16]
ldr x0, [x0]
mov x1, x0
mov w0, 1
bl print_usage_message
mov w0, 1
b .L46
.L38:
strb wzr, [sp, 39]
strb wzr, [sp, 37]
b .L40
.L48:
cmp w0, 112
bgt .L49
cmp w0, 104
beq .L43
cmp w0, 104
bgt .L49
cmp w0, 63
beq .L44
cmp w0, 100
bne .L49
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x1, [x0]
adrp x0, directory
add x0, x0, :lo12:directory
str x1, [x0]
mov w0, 1
strb w0, [sp, 39]
b .L40
.L41:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x1, [x0]
adrp x0, permissions
add x0, x0, :lo12:permissions
str x1, [x0]
mov w0, 1
strb w0, [sp, 37]
b .L40
.L43:
ldr x0, [sp, 16]
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl print_usage_message
mov w0, 0
b .L46
.L44:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldrb w0, [sp, 38]
mov w2, w0
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, x3
bl fprintf
mov w0, 1
b .L46
.L49:
nop
.L40:
adrp x0, .LC8
add x2, x0, :lo12:.LC8
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl getopt
strb w0, [sp, 38]
ldrb w0, [sp, 38]
cmp w0, 112
beq .L41
b .L48
.L46:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 4136]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L47
bl __stack_chk_fail
.L47:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 4144
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
mov x0, 2
str x0, [sp, 8]
mov x0, 4
str x0, [sp, 16]
ldr x0, [sp, 8]
lsl x0, x0, 1
ldr x1, [sp, 16]
add x0, x1, x0
str x0, [sp, 24]
ldr x0, [sp, 24]
add x0, x0, 1
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global r
.bss
.align 2
.type r, %object
.size r, 4
r:
.zero 4
.global n
.align 2
.type n, %object
.size n, 4
n:
.zero 4
.text
.align 2
.global fn1
.type fn1, %function
fn1:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 12]
b .L2
.L4:
ldrh w1, [sp, 10]
adrp x0, n
add x0, x0, :lo12:n
ldr w0, [x0]
cmp w1, w0
bge .L3
adrp x0, n
add x0, x0, :lo12:n
ldr w0, [x0]
mov w1, 1
sdiv w1, w1, w0
adrp x0, r
add x0, x0, :lo12:r
str w1, [x0]
.L3:
ldr w0, [sp, 12]
add w0, w0, 1
str w0, [sp, 12]
.L2:
ldr w0, [sp, 12]
cmp w0, 0
ble .L4
nop
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size fn1, .-fn1
``` |
### 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, 0
bl fesetround
mov w0, 12582912
bl fesetround
cmp w0, 0
blt .L2
mov w0, 1
b .L3
.L2:
mov w0, 4194304
bl fesetround
cmp w0, 0
blt .L4
mov w0, 1
b .L3
.L4:
mov w0, 8388608
bl fesetround
cmp w0, 0
blt .L5
mov w0, 1
b .L3
.L5:
mov w0, 0
.L3:
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
.section .rodata
.align 3
.LC0:
.string "r"
.align 3
.LC1:
.string "circle.in"
.align 3
.LC2:
.string "%d"
.align 3
.LC3:
.string "%c"
.align 3
.LC4:
.string "Game #%d:\n"
.align 3
.LC5:
.string "Eureka! X wins!"
.align 3
.LC6:
.string "Gadzooks! O wins!"
.align 3
.LC7:
.string "Lolcat's game!"
.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
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fopen
str x0, [sp, 48]
add x0, sp, 40
mov x2, x0
adrp x0, .LC2
add x1, x0, :lo12:.LC2
ldr x0, [sp, 48]
bl __isoc99_fscanf
mov w0, 1
str w0, [sp, 44]
b .L2
.L28:
add x0, sp, 31
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
add x0, sp, 32
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
add x0, sp, 33
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
add x0, sp, 34
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
add x0, sp, 35
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
add x0, sp, 36
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
add x0, sp, 37
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
add x0, sp, 38
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
add x0, sp, 39
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 48]
bl __isoc99_fscanf
ldr w1, [sp, 44]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldrb w1, [sp, 31]
ldrb w0, [sp, 32]
cmp w1, w0
bne .L3
ldrb w1, [sp, 32]
ldrb w0, [sp, 33]
cmp w1, w0
bne .L3
ldrb w0, [sp, 31]
cmp w0, 35
beq .L3
ldrb w0, [sp, 31]
cmp w0, 88
bne .L4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L6
.L4:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
b .L6
.L3:
ldrb w1, [sp, 34]
ldrb w0, [sp, 35]
cmp w1, w0
bne .L7
ldrb w1, [sp, 35]
ldrb w0, [sp, 36]
cmp w1, w0
bne .L7
ldrb w0, [sp, 34]
cmp w0, 35
beq .L7
ldrb w0, [sp, 34]
cmp w0, 88
bne .L8
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L6
.L8:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
b .L6
.L7:
ldrb w1, [sp, 37]
ldrb w0, [sp, 38]
cmp w1, w0
bne .L10
ldrb w1, [sp, 38]
ldrb w0, [sp, 39]
cmp w1, w0
bne .L10
ldrb w0, [sp, 37]
cmp w0, 35
beq .L10
ldrb w0, [sp, 37]
cmp w0, 88
bne .L11
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L6
.L11:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
b .L6
.L10:
ldrb w1, [sp, 31]
ldrb w0, [sp, 34]
cmp w1, w0
bne .L13
ldrb w1, [sp, 34]
ldrb w0, [sp, 37]
cmp w1, w0
bne .L13
ldrb w0, [sp, 31]
cmp w0, 35
beq .L13
ldrb w0, [sp, 31]
cmp w0, 88
bne .L14
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L6
.L14:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
b .L6
.L13:
ldrb w1, [sp, 32]
ldrb w0, [sp, 35]
cmp w1, w0
bne .L16
ldrb w1, [sp, 35]
ldrb w0, [sp, 38]
cmp w1, w0
bne .L16
ldrb w0, [sp, 32]
cmp w0, 35
beq .L16
ldrb w0, [sp, 32]
cmp w0, 88
bne .L17
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L6
.L17:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
b .L6
.L16:
ldrb w1, [sp, 33]
ldrb w0, [sp, 36]
cmp w1, w0
bne .L19
ldrb w1, [sp, 36]
ldrb w0, [sp, 39]
cmp w1, w0
bne .L19
ldrb w0, [sp, 33]
cmp w0, 35
beq .L19
ldrb w0, [sp, 33]
cmp w0, 88
bne .L20
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L6
.L20:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
b .L6
.L19:
ldrb w1, [sp, 31]
ldrb w0, [sp, 35]
cmp w1, w0
bne .L22
ldrb w1, [sp, 35]
ldrb w0, [sp, 39]
cmp w1, w0
bne .L22
ldrb w0, [sp, 31]
cmp w0, 35
beq .L22
ldrb w0, [sp, 31]
cmp w0, 88
bne .L23
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L6
.L23:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
b .L6
.L22:
ldrb w1, [sp, 33]
ldrb w0, [sp, 35]
cmp w1, w0
bne .L25
ldrb w1, [sp, 35]
ldrb w0, [sp, 37]
cmp w1, w0
bne .L25
ldrb w0, [sp, 33]
cmp w0, 35
beq .L25
ldrb w0, [sp, 33]
cmp w0, 88
bne .L26
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L6
.L26:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
b .L6
.L25:
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
.L6:
mov w0, 10
bl putchar
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L2:
ldr w0, [sp, 40]
ldr w1, [sp, 44]
cmp w1, w0
ble .L28
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 .L30
bl __stack_chk_fail
.L30:
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
.align 2
.global swap_uint16
.type swap_uint16, %function
swap_uint16:
.LFB6:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strh w0, [sp, 14]
ldrh w0, [sp, 14]
lsl w0, w0, 8
sxth w1, w0
ldrh w0, [sp, 14]
lsr w0, w0, 8
and w0, w0, 65535
sxth w0, w0
orr w0, w1, w0
sxth w0, w0
and w0, w0, 65535
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size swap_uint16, .-swap_uint16
.section .rodata
.align 3
.LC0:
.string "test_in.dat"
.align 3
.LC1:
.string "test_out.dat"
.align 3
.LC2:
.string "fftest: bad option, exiting...\n"
.align 3
.LC3:
.string "s:p:i:o:"
.align 3
.LC4:
.string "ptest: fin=%s fout=%s\n"
.align 3
.LC5:
.string "r"
.align 3
.LC6:
.string "fftest: can't open %s\n"
.align 3
.LC7:
.string "version %d, type %d, sec_head_flag %d, APID %d\n"
.align 3
.LC8:
.string "seq_flags %d, seq_count %d, length %d\n"
.align 3
.LC9:
.string "day %d, ms %d us %d\n"
.align 3
.LC10:
.string "%d packets read\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -160]!
.cfi_def_cfa_offset 160
.cfi_offset 29, -160
.cfi_offset 30, -152
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -144
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, 152]
mov x1, 0
str wzr, [sp, 72]
mov w0, 4
str w0, [sp, 76]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
str x0, [sp, 96]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
str x0, [sp, 104]
b .L4
.L10:
ldr w0, [sp, 56]
cmp w0, 115
beq .L5
cmp w0, 115
bgt .L4
cmp w0, 112
beq .L6
cmp w0, 112
bgt .L4
cmp w0, 111
beq .L7
cmp w0, 111
bgt .L4
cmp w0, 63
beq .L8
cmp w0, 105
beq .L9
b .L4
.L5:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl atoi
str w0, [sp, 72]
b .L4
.L6:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl atoi
str w0, [sp, 76]
b .L4
.L9:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl strlen
bl malloc
str x0, [sp, 96]
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 96]
bl strcpy
b .L4
.L7:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl strlen
bl malloc
str x0, [sp, 104]
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 104]
bl strcpy
b .L4
.L8:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 31
mov x1, 1
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl fwrite
mov w0, 1
bl exit
.L4:
adrp x0, .LC3
add x2, x0, :lo12:.LC3
ldr x1, [sp, 32]
ldr w0, [sp, 44]
bl getopt
str w0, [sp, 56]
ldr w0, [sp, 56]
cmn w0, #1
bne .L10
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x4, [x0]
ldr x3, [sp, 104]
ldr x2, [sp, 96]
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov x0, x4
bl fprintf
adrp x0, .LC5
add x1, x0, :lo12:.LC5
ldr x0, [sp, 96]
bl fopen
str x0, [sp, 112]
ldr x0, [sp, 112]
cmp x0, 0
bne .L11
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x2, [sp, 96]
adrp x0, .LC6
add x1, x0, :lo12:.LC6
mov x0, x3
bl fprintf
mov w0, 1
bl exit
.L11:
str wzr, [sp, 64]
.L21:
add x0, sp, 136
ldr x3, [sp, 112]
mov x2, 3
mov x1, 2
bl fread
ldr x0, [sp, 112]
bl feof
cmp w0, 0
bne .L25
add x0, sp, 88
str x0, [sp, 120]
str wzr, [sp, 60]
b .L14
.L15:
ldrsw x0, [sp, 60]
lsl x0, x0, 1
add x1, sp, 136
ldrh w2, [x1, x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 1
ldr x1, [sp, 120]
add x19, x1, x0
mov w0, w2
bl swap_uint16
and w0, w0, 65535
strh w0, [x19]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L14:
ldr w0, [sp, 60]
cmp w0, 2
ble .L15
ldrh w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 68]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x6, [x0]
ldr x0, [sp, 88]
ubfx x0, x0, 13, 3
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 88]
ubfx x0, x0, 12, 1
and w0, w0, 255
mov w2, w0
ldr x0, [sp, 88]
ubfx x0, x0, 11, 1
and w0, w0, 255
mov w3, w0
ldr x0, [sp, 88]
ubfx x0, x0, 0, 11
and w0, w0, 65535
mov w5, w0
mov w4, w3
mov w3, w2
mov w2, w1
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, x6
bl fprintf
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x5, [x0]
ldr x0, [sp, 88]
lsr w0, w0, 30
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 88]
ubfx x0, x0, 16, 14
and w0, w0, 65535
ldr w4, [sp, 68]
mov w3, w0
mov w2, w1
adrp x0, .LC8
add x1, x0, :lo12:.LC8
mov x0, x5
bl fprintf
ldr w0, [sp, 88]
and w0, w0, 2048
cmp w0, 0
beq .L16
add x0, sp, 144
ldr x3, [sp, 112]
mov x2, 4
mov x1, 2
bl fread
str wzr, [sp, 60]
b .L17
.L18:
ldrsw x0, [sp, 60]
lsl x0, x0, 1
add x1, sp, 144
ldrh w0, [x1, x0]
bl swap_uint16
and w2, w0, 65535
ldrsw x0, [sp, 60]
lsl x0, x0, 1
add x1, sp, 144
strh w2, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L17:
ldr w0, [sp, 60]
cmp w0, 3
ble .L18
ldr w0, [sp, 68]
sub w0, w0, #8
str w0, [sp, 68]
ldrh w0, [sp, 144]
str w0, [sp, 80]
ldrh w0, [sp, 146]
and x0, x0, 65535
lsl x1, x0, 16
ldrh w0, [sp, 148]
and x0, x0, 65535
add x0, x1, x0
str x0, [sp, 128]
ldrh w0, [sp, 150]
str w0, [sp, 84]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x5, [x0]
ldr w4, [sp, 84]
ldr x3, [sp, 128]
ldr w2, [sp, 80]
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov x0, x5
bl fprintf
.L16:
str wzr, [sp, 60]
b .L19
.L20:
add x0, sp, 56
ldr x3, [sp, 112]
mov x2, 1
mov x1, 1
bl fread
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L19:
ldr w1, [sp, 60]
ldr w0, [sp, 68]
cmp w1, w0
blt .L20
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
b .L21
.L25:
nop
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x3, [x0]
ldr w2, [sp, 64]
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov x0, x3
bl fprintf
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 .L23
bl __stack_chk_fail
.L23:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp], 160
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global sprite
.section .rodata
.align 3
.type sprite, %object
.size sprite, 15097
sprite:
.string "\211PNG\r\n\032\n"
.string ""
.string ""
.string "\rIHDR"
.string ""
.string "\001 "
.string ""
.string "\001"
.string "\b\006"
.string ""
.string ""
.string "\023/\253\266"
.string ""
.string ""
.string "\tpHYs"
.string ""
.string "\013\022"
.string ""
.string "\013\022\001\322\335~\374"
.string ""
.string "\nMiCCPPhotoshop ICC profile"
.string ""
.string "x\332\235SwX\223\367\026>\337\367e\017VB\330\360\261\227l\201"
.string "\"#\254\b\310\020Y\242\020\222"
.string "a\204\020\022@\305\205\210\nV\024\025\021\234HU\304\202\325\nH\235\210\342\240(\270gA\212\210Z\213U\\8\356\037\334\247\265}z\357\355\355\373\327\373\274\347\234\347\374\316y\317\017\200\021\022&\221\346\242j"
.string "9R\205<:\330\037\217OH\304\311\275\200\002\025H\340\004 \020\346\313\302g\005\305"
.string ""
.string "\360\003yx~t\260?\374\001\257o"
.string "\002"
.string "p\325.$\022\307\341\377\203\272P&W"
.string " \221"
.string "\340\"\022\347\013\001\220R"
.string "\310.T\310\024"
.string "\310\030"
.string "\260S\263d\n"
.string "\224"
.string ""
.string "ly|B\""
.string "\252\r"
.string "\354\364I>\005"
.string "\330\251\223\334\027"
.string "\330\242\034\251\b"
.string "\215\001"
.string "\231(G$\002@\273"
.string "`U\201R,\002\300\302"
.string "\240\254@\".\004\300\256\001\200Y\2662G\002\200\275\005"
.string "v\216X\220\017@`"
.string "\200\231B,\314"
.string " 8\002"
.string "C\036\023\315\003 L\003\2400\322\277\340\251_p\205\270H\001"
.string "\300\313\225\315\227K\3223\024\270\225\320\032w\362\360\340\342!\342\302l\261Ba\027)\020f\t\344\"\234\227\233#\023H\347\003L\316\f"
.string ""
.string "\032\371\321\301\3768?\220\347\346\344\341\346f\347l\357\364\305\242\376k\360o\">!\361\337\376\274\214\002\004"
.string "\020N\317\357\332_\345\345\326\003p\307\001\260u\277k\251["
.string "\332V"
.string "h\337\371]3\333\t\240Z\n\320z\371\213y8\374@\036\236\241P\310<\035\034\n\013\013\355%b\241\2750\343\213>\3773\341o\340\213~\366\374@\036\376\333z\360"
.string "q\232@\231\255\300\243\203\375qanv\256R\216\347\313\004B1n\367\347#\376\307\205\177\375\216)\321\3424\261\\,\025\212\361X\211\270P\"M\307y\271R\221D!\311\225\342\022\351\1772\361\037\226\375\t\223w\r"
.string "\254\206O\300N\266\007\265\313l\300~\356\001\002\213\016X\322v"
.string "@~\363-\214\032\013\221"
.string "\020g42y\367"
.string ""
.string "\223\277\371\217@+\001"
.string "\315\227\244\343"
.string ""
.string "\274\350\030\\\250\224\027L\306\b"
.string ""
.string "D\240\201*\260A\007\f\301\024\254\300\016\234\301\035\274\300\027\002a\006D@\f$\300<\020B\006\344\200\034\n\241\030\226A\031T\300:\330\004\265\260\003\032\240\021\232\341\020\264\30118\r\347\340\022\\\201\353p\027\006`\030\236\302\030\274\206\t\004A\310\b\023a!:\210\021b\216\330\"\316\b\027\231\216\004\"aH4\222\200\244 \351\210\024Q\"\305\310r\244\002\251Bj\221]H#\362-r\0249\215\\@\372\220\333\310 2\212\374\212\274G1\224\201\262Q\003\324\002u@\271\250\037\032\212\306\240s\321t4\017]\200\226\242k\321\032\264\036=\200\266\242\247\321K\350ut"
.ascii "}\212\216c\200\3211\016f\214\331a\\\214\207E`\211X\032&\307\026"
.ascii "c\345X5V\2175c\035X7v\025\033\300\236a\357\b$\002\213\200\023"
.ascii "\354\b^\204\020\302l\202\220\220GXLXC\250%\354#\264\022\272\b"
.ascii "W\t\203\2041\302'\"\223\250O\264%z\022\371\304xb:\261\220XF\254"
.ascii "&\356!\036!\236%^'\016\023_\223H$\016\311\222\344N\n!%\2202I"
.ascii "\013IkH\333H-\244S\244>\322\020i\234L&\353\220m\311\336\344\b"
.ascii "\262\200\254 \227\221\267\220\017\220O\222\373\311\303\344\267"
.ascii "\024:\305\210\342L\t\242$R\244\224\022J5e?\345\004\245\2372B"
.ascii "\231\240\252Q\315\251\236\324\b\252\210:\237ZIm\240vP/S\207\251"
.ascii "\0234u\232%\315\233\026C\313\244-\243\325\320\232igi\367h/\351"
.ascii "t\272\t\335\203\036E\227\320\227\322k\350\007\351\347\351\203"
.ascii "\364w\f\r\206\r\203\307Hb(\031k\031{\031\247\030\267\031/\231"
.ascii "L\246\005\323\227\231\310T0\3272\033\231g\230\017\230oUX*\366"
.ascii "*|\025\221\312\022\225:\225V\225~\225\347\252TUsU?\325y\252\013"
.ascii "T\253U\017\253^V}\246FU\263P\343\251\t\324\026\253\325\251\035"
.ascii "U\273\2516\256\316RwR\217P\317Q_\243\276_\375\202\372c\r\262"
.ascii "\206\205F\240\206H\243Tc\267\306\031\215!\026\3062e\361XB\326"
.ascii "rV\003\353,k\230Mb[\262\371\354Lv\005\373\033v/{LSCs\252f\254"
.ascii "f\221f\235\346q\315\001\016\306\261\340\3609\331\234J\316!\316"
.ascii "\r\316{-\003-?-\261\326j\255f\255~\2557\332z\332\276\332b\355"
.ascii "r\355\026\355\353\332\357up\235@\235,\235\365:m:\367u\t\2726"
.ascii "\272Q\272\205\272\333u\317\352>\323c\353y\351\t\365\312\365\016"
.ascii "\351\335\321G\365m\364\243\365\027\352\357\326\357\321\03770"
.ascii "4\b6\220\031l18c\360\314\220c\350k\230i\270\321\360\204\341\250"
.ascii "\021\313h\272\221\304h\243\321I\243'\270&\356\207g\3435x\027"
.ascii ">f\254o\034b\2544\336e\334k<abi2\333\244\304\244\305\344\276"
.ascii ")\315\224k\232f\272\321\264\323t\314\314\310,\334\254\330\254"
.ascii "\311\354\2169\325\234k\236a\276\331\274\333\374\215\205\245E"
.ascii "\234\305J\2136\213\307\226\332\226|\313\005\226M\226\367\254"
.ascii "\230V>VyV\365V\327\254I\326\\\353,\353m\326WlP\033W\233\f\233"
.ascii ":\233\313\266\250\255\233\255\304v\233m\337\024\342\024\217)"
.ascii "\322)\365Sn\3321\354\374\354\n\354\232\354\006\3559\366a\366"
.ascii "%\366m\366\317\035\314\034\022\035\326;t;|rtu\314vlp\274\353"
.ascii "\244\3414\303\251\304\251\303\351Wg\033g\241s\235\3635\027\246"
.ascii "K\220\313\022\227v\227\027Sm\247\212\247n\237z\313\225\345\032"
.ascii "\356\272\322\265\323\365\243\233\273\233\334\255\331m\324\335"
.ascii "\314=\305}\253\373M.\233\033\311]\303=\357A\364\360\367X\342"
.ascii "q\314\343\235\247\233\247\302\363\220\347/^v^Y^\373\275\036O"
.ascii "\263\234&\236\3260m\310\333\304[\340\275\313{`:>=e\372\316\351"
.ascii "\003>\306>\002\237z\237\207\276\246\276\"\337=\276#~\326~\231"
.ascii "~\007\374\236\373;\372\313\375\217\370\277\341y\362\026\361N"
.ascii "\005`\001\301\001\345\001\275\201\032\201\263\003k\003\037\004"
.ascii "\231\004\245\0075\005\215\005\273\006/\f>\025B\f\t\rY\037r\223"
.ascii "o\300\027\362\033\371c3\334g,\232\321\025\312\b\235\025Z\033"
.ascii "\3720\314&L\036\326\021\216\206\317\b\337\020~o\246\371L\351"
.ascii "\314\266\b\210\340Gl\210\270\037i\031\231\027\371}\024)*2\252"
.ascii ".\352Q\264Stqt\367,\326\254\344Y\373g\275\216\361\217\251\214"
.ascii "\271;\333j\266rvg\254jlRlc\354\233\270\200\270\252\270\201x\207"
.ascii "\370E\361\227\022t\023$\t\355\211\344\304\330\304=\211\343s\002"
.ascii "\347l\2323\234\344\232T\226tc\256\345\334\242\271\027\346\351"
.ascii "\316\313\236w<Y5Y\220|8\205\230\022\227\262?\345\203 BP/\030"
.ascii "O\345\247nM\035\023\362\204\233\205OE\276\242\215\242Q\261\267"
.ascii "\270J<\222\346\235V\225\3668\335;}C\372h\206OFu\3063\tOR+y\221"
.ascii "\031\222\271"
.ascii "#\363MVD\326\336\254\317\331q\331-9\224\234\224\234\243R\ri\226"
.ascii "\264+\3270\267(\267Of++\223\r\344y\346m\312\033\223\207\312\367"
.ascii "\344#\371s\363\333\025l\205L\321\243\264R\256P\016\026L/\250"
.ascii "+x[\030[x\270H\275HZ\3243\337f\376\352\371#\013\202\026|\275"
.ascii "\220\260P\270\260\263\330\270xY\361\340\"\277E\273\026#\213S"
.ascii "\027w.1]R\272dxi\360\322}\313h\313\262\226\375P\342XRU\362jy"
.ascii "\334\362\216R\203\322\245\245C+\202W4\225\251\224\311\313n\256"
.ascii "\364Z\271c\025a\225dU\357j\227\325[V\177*\027\225_\254p\254\250"
.ascii "\256\370\260F\270\346\342WN_\325|\365ym\332\332\336J\267\312"
.ascii "\355\353H\353\244\353n\254\367Y\277\257J\275jA\325\320\206\360"
.ascii "\r\255\033\361\215\345\033_mJ\336t\241zj\365\216\315\264\315"
.ascii "\312\315\0035a5\355[\314\266\254\333\362\2416\243\366z\235\177"
.ascii "]\313V\375\255\253\267\276\331&\332\326\277\335w{\363\016\203"
.ascii "\035\025;\336\357\224\354\274\265+xWk\275E}\365n\322\356\202"
.ascii "\335\217\032b\033\272\277\346~\335\270GwO\305\236\217{\245{\007"
.ascii "\366E\357\353jtol\334\257\277\277\262\tmR6\215\036H:p\345\233"
.ascii "\200o\332\233\355\232w\265pZ*\016\302A\345\301'\337\246|{\343"
.ascii "P\350\241\316\303\334\303\315\337\231\177\267\365\b\353Hy+\322"
.ascii ":\277u\254-\243m\240=\241\275\357\350\214\243\235\035^\035G\276"
.ascii "\267\377~\3571\343cu\3075\217W\236\240\235(=\361\371\344\202"
.ascii "\223\343\247d\247\236\235N?=\324\231\334y\367L"
.string "\374\231k]Q]\275gC\317\236?\027t\356L\267_\367\311\363\336\347\217]\360\274p\364\"\367b\333%\267K\255=\256=G~p\375\341H\257[o\353e\367\313\355W<\256t\364M\353;\321\357\323\177\372j\300\325s\327\370\327.]\237y\275\357\306\354\033\267n&\335\034\270%\272\365\370v\366\355\027w\n\356L\334]z\217x\257\374\276\332\375\352\007\372\017\352\177\264\376\261e\300m\340\370`\300`\317\303Y\017\357\016\t\207\236\376\224\377\323\207\341\322G\314G\325#F#\215\217\235\037\037\033\r\032\275\362d\316\223\341\247\262\247\023\317\312~V\377y\353s\253\347\337\375\342\373K\317X\374\330\360\013\371\213\317\277\256y\251\363r\357\253\251\257:\307#\307\037\274\316y=\361\246\374\255\316\333}\357\270\357\272\337\307\275\037\231(\374@\376P\363\321\372c\307\247\320O\367>\347|\376\374/\367\204\363\373%\322\2373"
.string ""
.string ""
.string " cHRM"
.string ""
.string "z%"
.string ""
.string "\200\203"
.string ""
.string "\371\377"
.string ""
.string "\200\351"
.string ""
.string "u0"
.string ""
.string "\352`"
.string ""
.string ":\230"
.string ""
.string "\027o\222_\305F"
.string ""
.string "0&IDATx\332\354\235\257o\034K\362\300\207\370\337\260t,\013\006x\331I\213\002\002\036\n~\344\300=\022\022\362@\214-}\025\022b\362\210IHtpI\340\261\220#\306O\326C\306\207\255\223\206\314\027\304\265\251\251\255\376Q\325U\275\263N\225\264J\342\254{\252\273\253>]\375c\272\206y\236\207\370\304'>\3619\305g\371\217\220\220\220\244\214\3438\247>\321:r\t"
.string "\205\204\b\3403\274\3756\337\335M\354' \024"
.string "\n\tq\007\020\375\004\204\002@!!\335\246_9\b\005\200\002@!!\356\020\342`\024"
.string "\n"
.string "\205\204\234lZ\026"
.string "r\006P\254\372\207\204\004\200\272\003\350"
.string "\234\337\207\305\347\334@\024"
.string "\355\327\266\247h\347S<7"
.string "\344\004 hH\f\236\337\376\330\036}"
.string "D\370w\326f@/\005\240k\217\002N\265=\335\253\1779\373\304kA\001 #"
.string "\215\3438\317_\336\315\270c1pR\035\r\277\263\006\003:\005@\177\326\bN\272=mQ\217\236\375[\262\317\210\252;\001\350\b\f\2443$"
.string "\3624\240^"
.string "\2555:\215q\262\306m\354"
.string "V\372\327nO[\r4=\372\367%\016`g\005\240\257\327\257\276w\332\207\341\320\311)\343\201\357\300\357\264\030\020gDR\003\352\005\320\307\333\267\363\343\355\333\242s\326|/\373;\304\001\250\376&\3170\370^q{\332\310\221\275\373\267\367\f "
.string "\224"
.string "\020\007!l4\3234-:\240\025@\226\006\344\t\320\224c\246\326\b,"
.string "\004\340I9\200\005\200\254\364O.\316\0329\362\251\006H\313\001l\215\213\370\253\005\020\355hjH\364\373\247\006\2047@S\006\003\317\244m'5\246\322\364\213\213\026-\236a\245\177\t@\255\216\334c\200\364\036\300\350\363R\013\370\303\333og\001!-@\263\273`\3438\316\377}\377\236u\006\n \370^\255\262=\f\310\013\240\360\214O\277n\347O\277n\027\345\343\017\374\f\177O\272\306A\035\200\266\017\256\203t\n\351\245\177\n@V\216\334k\200\364\034\300R\360\341\326\321\254\001d\035a\265"
.string "\264\n@\360\341"
.string "$\205OO@x\002\224:\3574M\3634M\363\374a8\372\267\324\211\241\276\024B\360\341\326N\346/\357D\016\346\251\177j{\332\322\221{\016\220\036\366\3119o\n>.GR\214\216\r\264\00249\005\003c\343 \204;\241%D\3672 \374\f/\200B\373\200\341M\323\017'\003c\235\246ia\304R"
.string "\321\021\230NYZFxO\375sa\271u\244\342\321\277\275\354\023;0\007\035\2175 \353\203\223\255"
.string "\315\002\bC\bw6]\030m\t\323S\006\204\313o\351\\\017\200\322\221:\265^\222\372\216\244|\f!\f\"\254?\035\255O\255?\007 \257H\305k\200\324"
.string "\356\342\342\242\031@=\016mz"
.string "H\013\320\354\024\f\200\362\346\366\037\363\233\307[\326@\337\334\376\243\t@\236\021\026\205\250\025@\261CBy\270\016\264>\360\247&B)9/\376\331Z\364O\365\201e\244\342\331\277Z\373\f"
.string "\311\365\317\276\013v\200\017|\036o\217?\b@\332i\214\007 \360\367\255\001\212\027|\251S\321\017\376\377\226E\342E?<\353\254u\256\036\372\347"
.string "\324:\320x\367\257\326>\307q\234w\273\335\274&"
.string "y_\037rZ"
.string "\021\207\320\032\246\007 h\031\265"
.string "\325\234\023\301S$\372Y|Gy\322:\331\007\004F\222r{\350\3575\320x\367/;\003 \320?<\373\331nA\357\026"
.string "y.8{]\240\346\016 n\364\245\016\360t?\266\003\3100\302\242\207\347J"
.string "m=C3\177\030\216\316\351\300\337\271\355mi\007\327\264O\313\250\350\251?gG\255\003\215w\377&\355\237k\177b\243\032"
.string "\365Xp\366\272B\266\025\240U"
.string "\302\035\361t?.\300\003\377\326.N\342\362R\235\253)\2375P\006\240"
.string "Oi\371\337\206\341\307\232H\305!\301\257\327\257\346o\303\320\026\001\025\034lm\372\027A\312L+k\006\032\357\376\225.A\340>\220\002\250\307z\217\347-\005\255"
.string "-\002\350\3330\034>\030B\030\034\232\221\005\214\237B\315\"\302\242\316K\365\305\345J\353"
.ascii "\333\325G;C\214\003s\273IRP@\335Sm\203\277#m\033o\375ESya4\347"
.ascii "\325\277\\\373\227\246\300\032\373\354\t\2415\277\342Q\035\001"
.ascii "\001\200\270P\272\245a\270h\2525\302*=\203\226[[\217i\232f\266"
.ascii "l\264~\305\275n\200\237\203\313\250u\334\234\203i\333G\253\277"
.ascii "\266\257K\221.\256Gm\024a\335\277=\333?D1\005\363\240)\035\035"
.ascii "\251\001\265v.\273"
.string "X\211\312\305\321]m\231"
.string "\021\352\304\334\372\0067\262k \224r\260\226\366\321\352o\342\310\b<\330\211\265\323T\313\376\325\264\177"
.string "\350\304"
.string "j\211Pr\006dY~\253\376\360zB\215\361\203\203\341\357H\300\323\273}j\364o\035\004J\203\214\024\026=\354\023O=S\355\337\002\270"
.string "\320\n"
.string "\204\r\217N\373\360\317\327\f\240\332\362i\031/\251}J\213\336\234#\267\276q\357m\237\260X\237;-\036\021\220\023\200$\235\354\261H\366\022\313\227"
.string "\350%\264Oj3\303+\212\266\324\337S\357\220J"
.string "\225:\332{\265>\312\177\331\345[^\t\321\263\334"
.string "Og"
.string "\205\204\204\204\004\200BBB\002@!!!!\001\240\220\220\220"
.string "PHHHH"
.string "($$$"
.string "\024\022\022\022\022"
.string "\n\t\ty\031"
.string "\212CX!!!'\001P*\213\301\321w\032\245\007\344\316\031\242\3470\b\324\234\034\366\250G\f\220/\b@\324XjR\002k\323\347`\343\3412fZA\006'\366k-?\251\277\263Ss\355\277&\375kn\341\263\256\207g\333\004\324N"
.string " \350\314\\6N\270/\030\356\f^\\4\2561Z\346N\342\243\\X\302\362p\244\306Epp\027\262\305K\213-\365\227\324\207\352\257i\037O\375k\357!\266\252\207W\333x\003?\244\002@\213\251\026\002\004\315\232p\224nE\023\245\0208p\200\223\226\215\257\026\255)_\253?\227K\313\352-r\311"
.string "\320\222\375\323J\377\332L\f\255\365\360l\033o\340\207T"
.string "\210sX.C'g\274\322\250\307\003p\251:\320\362\265"
.string "\202\362\271\337oIcC\001\352\335>\036\372W\345\242j\250\207W\333x\003?D\272\006D\326bp.\251\324\250)\205\217\027\340RS1.\347\225\306y\271Q\021\312\200;\177\276^\277\372\221\013]\001\037\nN\253\366\361\326\037\313!\002%"
.string "\322\326\303\253m\274\201\377\222\245\345\272\022\321\215\210\363\227w\311\214\232\222\264\275\251\0355+\300\245\242,\232\214OS>\205\032\347\300\324`5)\215Y\0073h\237\036\372\327"
.string "H;\375\363h\033o\340{:\360\032\340\323\222\372Gt#\342\327\353W\013"
.string "\301h\251I;L;\232\003\034\227\026\246\245s\347/\357\0269\3215"
.string "\3452GP\007\246\206\333\n \313\366\351\241\177U\004\244\254\207G\333x\002\337\333\201O\275\223\327\232\374\260\030\001\341\006\347\234\027\003H\003!\017\300\245:\240\244\277\304\201sQ\004\216$\360}\302\232\350\315\272}z\351\317n4d"
.string "$\251\207u\333x\002\337\333\201k\237\261\326\364\317\325\021\020\205\020\216(pd!n|\002\b\f\211\026\300Q\210\322\362q\246\ni\371%'\246\365i\211\336<\332\247\227\376\251\021x\277\337\037\235\035\223\326\303\272m\264Pk\235>\235C\376v\223M\007-\200RS1j\234\026\347h\250!\265\002.W>\030%-_\262\005\314\035\232\204r\241L\213\221\322\272}z\353\217\237\273\337\357\017"
.string "\312\325CR\227\307\217\037M\332F\n5\253\351S\213\003\257\001@\271\250\316\024@\271T*\226\243d\np\026\323\260\022@5F\003\353\034\324q-\303\364\032\375\265ez\353\317=\023r\300s\365\320\254\231Y\332\216\b\370\016\323'\211\003\377\\"
.string "BY2\301\200\2542C\346"
.string "\007?\263\200\\\n\240\217\267o\347\307\333\267\342\255x\272\223g\235&\246\224\271T\033}\366\322\237{\356\247_\267\207\017\327\317\232\272X\333\216h\3002\236>y\003\b\257\005y/L7/B\247\322\364b\003\222:o\r\340\026\t\354\254\322\003C.r\203:\244\034\030;\002v4\315s8\370\264\226\331S\377\234c\3432i\242\302\265\330Nn\300J\202\331`\372\344\005 \n!\n#\217\205i5\200`\027d\034\277\247\320\255\005PS\016\356\347T\300\013\343$\206\325\322 \024@\364Y\245\362iBA\3568\0016|n\264W\003(\001\241\026(x\353_\353\324\\\032hq\224hl;\370\367S\355\356\005\017\211\003K\001\224\203\220\353\302\264\004@"
.string "\037\310\006\211\363y\347\326\201\2649\2621\344\270\321\021\377\277\326\340)Ds#[\r|\340g\331\374\352\302g\244\332\004\217\344-e\226\f\305R\377\252:\021\270\202}Il\311\303v\270\001\213\033x=\243\027\217\004\213\251\305\362\036\353BM"
.string "\302\006\003 \2420j\315Q\216!\001\243,\214\264\3300\325\321\0172p\374\301e\327\032>\227^\271\344\310\322:\244\300O\373\301\343.\035\013\375\245u\242\360\221"
.string "\b\333\016\354\262\301N\233\266\335\271\350\223\002\271\307\364\3113*Y\303\211\353\354\024\214nK\326\214\216\026\013\304\024@-\206\217\247\222\024\240\034D["
.string "\304A\016?G\275"
.string "]\320\333\3128\255\365\227\324\211\263'\215\355P"
.string "I\341S\003\376\322y\"\313\351\323K\227\252]0\357\235\021\372\f\272\246\3449\315\260\236b\344\034\353\3330\210^\356\224\350m\r!\013\375[\352\244-\023\303G3\355\305\313\016Z\360\307\005f\206"
.string "\222\354"
.string "X\315w\271u%\213;jzl1s\273:\020YI\357\223I\325\337+\214\266\326?\327\0175\365:\205\355H\327\304\002!/\f@)c?'"
.string "q\216\320\342\f5m\342\371V\266V\377\036\375l]f\3116\3603\002@/t\n\326\023\016\275\234\270e}\243\207\336\347\334\017\275\332\234\003\\ \244\003\200J\035\323c\245\376\\\312\367zN\357\335\213s\354\207\336\260\f|t\006PHHHH"
.string "($$$"
.string "\024\022\022\022\022"
.string "\n9\013\2115\224\220"
.string "P\310\311\340Coa\f\020\205\004\200B\272\303\207\273\006$Z)"
.string "\024"
.string "\n\261\205\016\232vA\032lz\0175\275\2139Z."
.string "\024\022\322\f\037.\233\004\227\221\026\003\250\345\312\335\220"
.string "PH\b\013 .\351 \227\233-"
.string "\344\337/gs\035GM\005\316\275\003\302$\375\332\231\246\264\311}h\322\310h\301\237\374B\262\344\234\336y\027\303\375\242\354\330\205i\022\356\036\244\034\200\270\204~\334\207\346\234\373\331\007\230\237\376J\326\222\363z\354bx\002\"va\322@\361"
.string "\020\205\320\327\353W3\374.d\226\300\377\266\202\217\207\375\3248\222\307\355\020q)}\307]\f\017@\234b\027\246\307\bl\375\f\f\224\\\331\022Xq)m\270,\245\030H\226\360\261\032`j\240\3461\265\371\351\323\362\364\330\305\360\004\304)va\274\247xXW\232\307|mSTzy;^\017\302"
.string "jY\367\361\036`j\240\3465\265\371\351\023\023z\357bx\003\242\367.\fv"
.string "l\250\3603\013\003\342\234\301r\212j\251?\\\247\213\323\035\341t\3308\003+\376\236H_\007\373\321@\315bj\023\251\231\031"
.string "y\356b\364"
.string "\234\367.\f5\326\032\007h\205\033\005\304\302!\032#\bK\375\351}\336\370*S\232]\264\224\346\246\227\375h\241\326:\265\361\312\256\332\023@-"
.string "\315\002\310k\027\243\007\340\274\365\007\3359C\267\212\260\250\023\340$\202"
.string "\037\r\200\274\365\247k$4\331!\206\222\026@\326\366\243\205Z\253c{\345\227O\001\310s\301Y\003\320\354\"\264\327.F\217mZo\375k\215\237:\201\364\256\343\232\321Xs\217\262\267\376\360\034.\265M*\317\275\024@\226\366\243\201\232%\200R\013\331\036\327\004{M\2674"
.ascii "-\346\206\367\332\305\350"
.string "\261M\353\245\177\312\001\026S\025\364\367\226\b\253f4\226\002\302[\177l\3644\211\"\376{kZiK\373\321B\315bjs\316\327\276\266\0024\033\001A\310\\\263\213\241\275L\334\023pt\0014\247?\324U\2527v"
.string "\372s\352"
.string "-S\310\334H\254\235\002{\351\017\317(\345\330j\3155om?R\250yNm\316IZ"
.string "Z\314\214\n\241ri\027C;\227\227"
.string "N\263\rL\267\2029\375\265YK\251\003L\323t\230\036Q\343\225N\221p\233P\310S\270j\027\321\275\364\307\213\347\\zo.\317V\313 ci?R\250\305\253=m\222\\\204\306\316\233\333\305\300\213\211\322\216\306k\001%@H#\024\254S\255\376R\200bG\313}ZG\367\322h\334r\230\317K\377\322\310H\373\2436\027\274\227\375\244\312\343\240\326j3!B"
.string "\321N\304\377\306\316]\033JS8\224"
.string "A!WS>\336\n\346t\245\377\326FpP\006\267(\214s\322\257a\212\321[\377\032\020i\362lY\333O\252<\016j\001\237\216"
.string "\242s\364\203#\303\207\t\245\245S\244$ \310\317\244\035\316\206\375DwZ\277\226\362i\304\262\030}\033\246xx\013\234\373\264&\337\363\322\237n\001\347^Uh\231b[\330O\256\274\335n7\177\275~ud\353\001 G"
.string "a\003M\002\bu\b,(J\f\350(B\241\200 \240\220DX\331m\340\f\2004N\3009iK\364\306\225OGwn\r\242\245|\017\3759\370X\276\252`i?\242\362\230#\004\201\021\007"
.string "\321Q\230n\243\322\321F\003\240\005\330\030@`\007\320\354\226\320\365\037nK\270e\007o1j\022\235\361\224U;\275K\255\303Y\035\346\363\324\237\002\310\362-lk\373\251*/\003\241\300\2103\200\270mT:BJ\026\021\361\210\223;'Ba'\001\020\267\r\214\313\304\221\221\t\200\236\353\001\006\212\365\266\002\020\347`\226\345[\352\217\001d\375\026\266\265\375\324\224G\333\036\017^\201\021G"
.string "\325l\243~\033\206\371\376V\277\306\221:'\302M\r\244\273;\024B\334\272\225t\007&5E\302u\240z\267"
.string "\002~\227;G\323r\004\302S\177\016@^\227\327Y\330OMy\034\324\002!\235\246`\271]\f\215\003\327"
.string "\256\005\020\270|\374\f\313S\247\334\032\022\375h\327\230j\333\177\355\372{\277\004ii?\245\362Z\243\346\020\007"
.string "\265:\3008\216\363\375\355\310B\002GV-\345\367r`\\\007\370{\353I_\t \326\250\177\217\267\260-\355'W\236\305\240\030\""
.string "\220\304\211-B\351(\277/\200z\350\357\375\252\202\265\376\236\003V\210\002@\245\216\3616\244s(\237+\317\352\031\265k\027k\327\277\307%X\275\006\226\300\306\t"
.string "\024\022\022\022\022"
.string "\n\t\t\t"
.string "\205\204\204\204\004\200BBB\002@!!!!\001\240\220\220\220"
.string "PHHHH"
.string "($$$"
.ascii "\024\022\022\322_\326~\240Ru\022\272GC\235\3533z\031R\270V\237"
.ascii "6J\225y\016'\245\317!\347X\025\200hnr\353c\373\270|\370X\034"
.ascii "\245\347\236\201\323\032{\032\213\265\023\320\324\314\336\306"
.ascii "\336\253|\313\374\366\326m\224+\263t\315\354\032\006\226s\310"
.ascii "\272Z\274\222\025:\001R\003S\007\306\216-uj.\3650\224\203A\244"
.ascii "i\024\232\\.\225[\235\202\324\252\343q\336\256V'\245\355\343"
.ascii "\rQ+\375{\300\302\243\215reZ_3\273\346\264\311R\37557\036$/\245"
.ascii "_d\334$\271\311"
.string "i\347\342\316\321@\242T\276\346\215\346\032\375\261\341C=,\336*O\245\361\325B\264V\177\253\210\304B\377\036\260\360h\243R\231\326\327\314\366\272\262\204\203\321\331\001\210v\210vJ\303\246\025N\224\217GK\317\3625\020\305\317\243\031*\350\263{\350\337\002OK\375{\300\302\243\215j\312\264\276f\326\033@\271i\331j\001\304A\210vF\353\324+5\312\322\362\351\264L2\212I\312o\t\327\347\017\303\"Y`\312\331j!!\325\277\005\240\036\372\237\002\026\026mT[&u\270\337\376\330\316\247r\340\265\001H\n\344\342\032\020\327\031x\304\324\256\325\224\302}\\\2766\312\252-\277\245\016\207\324\310\004\316)\007\226@T\252\277f\032\354\245\177\017\240Z\267Q\3154\324\033@V\027\367\367\006\220vJ\232\005\020\316=\205;\002\247\255mY<\244\271\255\016FO\222\356i \221\323\2775\251_\316\201\217\352B\246\032\022"
.string "I\333\307\002@V\372\367"
.string "\252G\033\225\312\364\002\220u\352\242\232\205ik"
.string "i\026\345\263"
.string "\302)\2009\b\265n\275s\345\303\317\251\021h\246y\242\362\225u\200$\2018r\310E\017\022"
.string "y\266\217\267\376\275`a\335F\2452\271]\253\326\2651\217\344\215\275\217@h\217%$\027\241i\016r.C'\356\034\r|R\035M3\177J\267\310s\345S\200\266l7\323l\2454\257z+|\274\332\307K\377\322\035\312\226\260\360h\243R\231\3438\316\373\375~^\223\003\257E\264\0073\223"
.string "\302S-\370\023\376\336\002\037j\374\270|\013\270\225\312\247\360\261\030\301\016Q\004\311\331\336r\270\322\273}\254\365\257q\"k\240Z\267Q\312\356\261\315\354\367\373\003\204\326\340\300\347.Y"
.string "\325\344$\267\330\366\265.\237\326\301\243\374\\$\201\235\270\345\254N\215\376V#p\213\376\265\323\bkXX\333\020\235&\322\362h\"\307!\304\017@\271t0\255Y!qG\247r\236[>\303\262|Q\332\026\346\214\213\325\263\016\251\202\205\365\360\320\277v!\325\013\026\2266\304\345"
.string "k\311@\033b"
.string "\240\243\034\345\3179\262[\001\201\235\bw8\374\334\352t/\316q\336R~\252]\270\034\356\255"
.string "\252~\226"
.string "B^\372\327l%\227`\252\035\f<l\210fE\245>\020"
.string "r\006\020v^\332\360\024@\255\257.`CY8\202\001\340J\020\225Ner\016\f:S\007n9c\224}\026\352\007\013"
.string "I\365\237\246iN\001(\007\252\024\360\264\003\202\245\r\035\201\221\330\271E\364\037\242X\003:\312\225\375\334)\220+[;\312<\335\037G(\030v\360\377Z\270\325"
.string "\b\236q8\f\247\234\302\320<\3424\204\267\\\230\304\375"
.string "\317\251m+\255\376\0308\024B\032"
.string "\035\325C1\240Y\332\020N\267\274\310\003\217 /m\353\020\005\200h\216\360Eg\240\017\206OK\230\013\235\t\260"
.string "`\264\302\215\313\355\215\215\376\351~\371\214o\303 \202P\252],\300\223r\264T?H\333J\253?\274\252Q\232\202\325\2344\246\360\201\347j\353\201w\250`\227J\322.`\003,\204\032\332:D\t \334\021\270\361i'\324:m\316\2008"
.string "\265t2\030y\256\016\324\331\244"
.string "\302F\312\031\252\245\221\226\372A\273\020-\325\277\006@5\251\244k@*\205\020\007\240\326\005\372\234\315\004:\034\001T\023\242{L/\270\235\267\326\005\350\232:\340\357\327\224;\177\030\330(\321c\204\264\356\007/\375k\364\250\005)\350\246\351c\f\240\226\243\017\0366\037\322\270\006duP\212\376~j\272\344\001\241\226\362\351)a.Rl\231\226j\365\227:l/\375% \225:\270\207\r\325\266s@\350\205\001(\345\024\036\013\270\226\006\312\351j}@P\322Vk\323?\025y\225`\241\215~Zm\250\207]\206T"
.string "\310#z\360\216Nz"
.string "\250\207\336\275\242\270^\372S"
.ascii "\325@\350"
.string "\224u9U\373\004\200\022\227\322\237\312\301\326\350\274=\333\305\373y\247p\254\336\203\315Z\3552D"
.string "\240\227 aL!!\001\240\220\220\220\220"
.string "PHHH"
.string "($du\262\335nc\252\036"
.string "\n\t9\035\200n>}>d\b\271\371\3649 \024"
.string "\n9\007C\362\372\364\224\253\315f\276\371\364\371p\277\021"
.string "( \024"
.string "\n9#"
.string "\215\343\3700\216\343\3039\001h\273\335\036\256\213\275\371\364\371"
.string "\037\370Y\364r"
.string "(\344\f"
.string "4\216\343\303\335\3354O\323\364\227\005\204N\001 \234\2441"
.string "\024"
.string "\n9\023"
.string "\215\343\370p\363\351\363\377\320\024\346\177\255\020\352)\370\376#\234\r\246\347\263\177\246)_"
.string "(\304\003@\007'z\376\373\003\236\226I\247g\275\2457\b\270\004\234\322,*k\020M\273\005\200B\314"
.string "4\216\343\303\363\264\213F\020\017\3438>\340\373\245\237\357\230\256\002QopP\375=\300\264H?D\322Q\343\017\276\016\327\372\365\2225"
.string "4"
.string "tf\262\326Q\221\002\b\257\235p\216EA\004\277\257\001\220u\004\301M\301\254\313\247\231`1pR\3179\344k[A\204e\005\320"
.string "\320\231\201g\373\307v\336\376\261\276\354\fG\273_\310\301j"
.string "\364\374;\377\307A\250w\004q\024\0019\224\317\001\350\b\f\004\026\022"
.string "y\267\217\025@\003@g\002\037"
.string "\017\375\254\005Bt\027,\007 \356\347\310@\213"
.string "\3129"
.string "\347\004\322\b\202\003\220e\204\202s\232\035\256\001\376}HF)\360\035\370\235\026@X\265\217\025@\003@g\006\240\267\217o\347\267\217oW\017 \352`"
.string "\031\016F\304\301\324"
.string "\262\212 R\t\032-\313\307I\0311\204p\333L\323\264x^+\200\254\365\267"
.string "h"
.string "\350\204;"
.string "Z\370xCH\273\233A\001\304A\210:\030\216\210$"
.string "\362\216 \360\215\210\036\345\323\254\260\37094\342\242\337_C\204e\005\320"
.string "\220\323\024\311\362ZV\n\240i\232\026\020\262\276\300M3\315\313\001(\007!"
.string "\020\372~5\200<#\b|\271\275u\371\270\255\377\373\376}6%6\224\017\337\233\246i\336\355v\363\251#,+\200\256\016@\347x\366\201\213P\254\242\023\\>\006\017\374\335\n@\255\365`^\303H:\030\007 \370\336n\267{\330\355v\017\022"
.string "yD\0204\273\206e\371\024@\360\341"
.string "\304\301G\n o\375["
.string "*\006\220' \306q\234\257\247\353\371z\272v{\306\345\345\345|yyi>E\342\242\023\013@\364"
.string "\020\255\203&\312\242"
.string "\202\354\244\234\203\245\340sqq1\357v\273\371\346f\2321\204,\035@:\005\225\226_\013\b\234\275\225\266\021\206\004}\366s\333\314\275"
.string "QzF+@E"
.string "\002@\fw\203\313\272\003\300g\270\033\\\236qyyy\330\335\260\202Pn\215f\232&S"
.string "\215\343x(\033\376n\t \n\317\226\b\350\323\257\333\177\245 \304\355\210a"
.string "M\323\264\200\220\306\001\260\003K\340\203\001A\365/9\030\001\350\\[>\005\021~\006\374\037\376\276\005 \270\366\251\215\260JQ\234\004\240\325"
.string "\302\360\031\356\006\323(\205\203\217\365{8xk\225;\345j\t!\354\310\360\177-\007\276<\001\204\365\343\242+\315\032\020\216\202\270\221\036C\b;\0308\027\364O\r\200\244\016\320\002\240R\371\f@\213\020:\344H{\274M&\004m\001\220g\204\225\353\337Z\200V\001\350\365\325f\001\007\f \253\365\007\n\037KH`\370`\375-\243,\n!phK"
.string "\341\362\255\316\002Q"
.string "a\260I\312N"
.string "\350_8\ta\215\203\325\002\210Nc$\016\240\201PM\371\f@\213S\261Er\306\307\333\343\017j\037\r <\",\372\375\026\200V\001\350j\2639\212~"
.string "\024\026S\031\034\001yD)\024@\036\323\274\024\200\254\327\201(\204\254\327\177\254"
.string "\204OEg\035\2148Y\r\200Z\035@\003 I\371f"
.string "\"Yc\265\321\211u\204\225\314r\253"
.string "h5\2000|\274"
.string "\204\301c9\315\003\243\2002q$\324\343\314\2165\200,\267\340\271\005hMd\225z\221T\002 \034A\344\326\200X\007\253t"
.string "\315\216l\251|\372\f\t\200\3304\325\244\354\247\373Q<\365\322\266O\r\344\306q\234\037o\337\316\217\267o\363\345\223\310\227+\273\n@\3438\036E?x\235\3062B\361Xg\302"
.string "\302\360\361\004\220e\244\322+\002jy\315#\007\237\247\373\274\221\202\203\341E\334\022\200\340\223-\2338\201\246mj\246H\031\200\212#\t\\\237\247\373\037\365\323f\214\225\264\217$\302b\001\304"
.string "\024\3726\005P1\200\260\023[\003\210\2563Y\001\002\003\310c\nF\r\311\343\235-\355\001AM\271[\305\342m)\372Y8B\302\301j\267\341\361\2419\266\354D\004\241i\033N\357T\371\f@\213"
.string "\2024\325\220\252\232\266\213\006\236\332\366\251\215\260h\364F\365\345\372<U\0071\2000(,\001Dw\301,\027\211a\373\235N!\207\273a\276\332l\232\301\200\327O<@\221+\327\013BP6\256[\353\024\f\f\2253\330g\007~\2509\210\310M_\2702\265\021\004\215\200r\016\226\001\250\350\225\017"
.string "\020\267h\337b3\336\355\303=\203\226\233\253\207z\nf\275HLw\330,#\024\n \374\234\026"
.string "\341\306\245\353'\024J\255\206D\247I\264\374S\327!\007 6L\347w\306\304\367\001\321\2629\300Y;1W>\006\220t\233\274\346\323\322\277^\355C\353\300\365-\216\356\232\001\304m\225[\356\"y\356P\321\255~x\326\353+\033"
.string "\245\256\313h\001\005\267\370\234+_\253?\005On:\246\331\005\3139\026\231\202\210"
.string "\224\334\215Il\373k\332\207\213Lh\371_\257_e\235\314\002@-\375\353\331>\255\372\213\016\"z\035\344\343\"!\257\223\326\036\013\334\251O+$\270\255\375T\371Z\003\342v\2764\016\240\001\020vnM\004D!\226\202\233\247\203\301;Tk\006\320)\333\307\f@x*c\371*C\2512\036\200\263>\305\355\031F\367\b\321-\236Q\230\202\025#\241\334\375\320kn\037\272\210|\256\375{\252\362E\021\220' \316\275|\357g\254\275}J\027\313\323\214\030\334\247\345R\372S\265\217\345%\365?\243\177\255\006@\3649^\345\376\214\271\227z\310KI\315\034\322\337n\242\263CBB\002@!!!\001\240\220\220\220\220"
.string "PHHH"
.string "($$$$"
.string "\024\022\022\022"
.string "\n\t\t\t\t"
.string "\205\204\274$\371\031\317\250\005\200B\302\211W\2427\227.\347\350;g\320>.'\241Cd\r~NN\340\245\177O\030p\371\3169'^K\035h[\323\254\2454\217\273&\275\220g\373\344l\206\352\037"
.string "r6|\270\336`\373\333\217\267\311\267\277mM\356[\361\006\234\227\376\0360\250}\0268\300\374a8d\004\325\276\251\356Q\007p\322T\266Xx\026\326\0372Zl\267\333\371\324\355\203\201\211!I#\270\371\3031D\003@\016\243.8/u`pb\253\013\245\254\001\347\245?\315=\325\n\203*0\023\343\347\034X\222\021C\343\260\265\357\032b\340\034\240\206\236\007\317\241\360\321$X\364h\037Z\207\332\362\271g\004\200\214B\363\224\003\267\204\360\236\200\363\320\2373x\013c/A\302\312\201[\034\026\356\313\032\307q\276\371\364y\276\273K\337\231\225*\037r\270c\310a\335\265\020\365"
.string "\\\252\016\264\374"
.ascii "P\207"
.string "iW\316q1($\260\360\004\234\207\376)\203\267\032\315K\021V\253\003\2678,\206\017"
.string "\b T\363\274\203\356_\336e\365\326\300\307\013p\251\251\030m\253\034|\002@\215"
.string "\002\347\304N\213\035\225\376\177-\200\274\001g\255?g\360\326\306^\263c\244u\340V\207\305"
.string "\302Q\320\315\247\317\325\021\027\350\017u\240\345C\226\213\232;\247\255\333\2476\312\302\345\247@M\365\017"
.string "5L\277\244\016\\\333\311="
.string "g\251?\273"
.string "il\354\245\350\201s`zuj\t@\032\207\375\345j3\377r\265\231\351\225\305\232i\353\327\353WG\372CY\360\363\232\254\033-\355#\271T\237\352?\177yw('\007P\254\377\352"
.string "t\216[\327\271\251\222v\212\344\t8k\375S\323\t\r\f\244\020\222:\260\265\303\376\363\357Wl\004\204\377\236\253\003vT\316y\261\376\240KM\342Cm\373H\322\nQ[*\351\217\333\005\236!\006\220\367\001\246\307\217\037\347\307\217\037\335\236qyy\331|\237u\016\020\2343\237\032\020=\364\247\006\257\205\201\030B\304\001\260\023\244\034\330\322a\271\310G\222\264\201\236\361\001\375qD\201#\013\310\274Z\233\372Y\323>\265\231]1Di\371\024\302P>\325_\004 "
.string "\304\237\203O\326\n\200\317\237\303\340\362\f\253K\365\271)Ri\215\306j\212d\0018/\375\261\301\267\300@\323\037\234\023p\016l\351\260\034|\264\2034\227i\203shI\356yM\373H"
.string "\227+\037\372\230\226O\365\027\335\t\215\341`\031\245p\360\301\241\254\3253\254\322\n\345\316\346\244\234\272u\221\330\032p\336\372\267\302\240eJ\234r\340Z\350\3258l\n>\026;\253\251\364?Z"
.string "I\333\307\253|5\200^_m\026p\300"
.string "\262\n\245)|\2543\257ByX\377?\215S\251\224\"\026i\204\342\r\b/\375w\273]\321\030=\217Fp\t\371$kOX\377\\\035\254m\024\362\265\217\3438\177\372u\273\320\035\236\001\021\212f\235\246\266}4"
.string "\302\317\340l\346\361\366\355\374x\373v\246\372W\001\350j\2639\212~"
.string "\024\026\371\301p\004\344\221\374\220\002\310b\232\307E$8j\241\013\305\226\353?\036\353@\226\372\203\003\247\214\261\244\323\305\305\305\341\243u\340E&P\364\363Z\375on\246l\035<\336\225\243"
.string "\002\b\201\363\342Eb\025\200*\332\247\tp\217\267\305:P\375\253\001\204\341\343\005 \f\036\313i\036"
.string "\b\312\304\221\220\325k\f\264Sit\242y\337\306\013\020=\364O\031bn\021\030\017:\327\327\323|}=UC\b\034\200>\217:\235\306ai=\240\354\375~\337d?p\276\350\351^\016 UtR\321>\032\300-"
.string "J\312\243}\257\332\206\037\307\361(\372\301\3534\326\3533\326\353L\030@\270|\013"
.string "I>_\237\035\375\324\200\300\272x\244\007\306\306\3109n\351\003\207\370nn\246\252\227/\261\023\0379\330s\333\300\377k\035\212\003\203\026@"
.string "\037\310\246\372\346\366\037\363\323\375w\035s\353@\337\206A|NG\332>R\300a\3759h\323\217\352 \"\006\020vb\3175\032\313\2350\f \253)\330\301\220\236\027\356\346/\357\026N\375\365\267\355\341g\324\331\275"
.string "\247)\033\364K\351/\3356?\n\355\021\204\270m\353\324\366\365\335\335\224}\225!\347\004\0201@\324"
.string "\216-)\353P\017\006B\026\351\2661\200p\233\001\210(\214Zs\270\327\266\217\366 \"\224\177\350{T\037\334n4\205\265\030@\3234-\246`\226\213\320\334:\223E\371\260\375N\247\220\177\016\303|\265\3314E@\324Q9\207\206?\245\216L\313\300gOR\377'\005'-\003\353\317\201Ub\354\330\020\271]\220\034\200nndk\200\030\034\324\301\244\213\363\\D\202\035\312\362b0\372\334T\233Y\2547\265\266Oi*I\001\312A\264\031@\030>\226"
.string "\242;l\226\021\020\005\020~N\013\200\250\023O\323tp`z$_\003\tZv\252\374\257\212En\n\026\256|)<\361\b\2272F\311\024\354\217\247'\321\032\020\335q\221:0\325\277\344P\036G\bz\344\236\327\266OM\3315\020U\003\210\333*\267<\247\343\001\037\334@\334Q\202\327Wm"
.string "\242\323+z\242\024\217r\222\323\261\034 R\345K\001\227\323\r\227/-\033\217r\324\020K\323\027\032\001\301nX\253\003\343\251\213\364\335,i\035z\254%Z?C\332>\326u\020\035D\364\330\"OEB^'\255\255\026\270iT@\327TRN\246)\273\246|\315\024/\025q\321\362\245\207\370\222\213\360\327\257\346o\303\217\267\313s\323\022\255\003"
.string ""
.string "\351[\354\032"
.string "\245\0346W\207\265\003\250\265}N\006 <\225\261\332~\257\251\204\007\340,v\327R\021\215U\270\234\273\314*\365s\253\023\271\251\350\244e\001\2353\374\036\366\323\272H\337\243\016\275\247`=\3164\325\226/\212\200<\001q\216\345{\276\265\257\276\207y%\372x:S\257~\356]\207^\203\360\232\374l5"
.string "\262\214 N\251\177HHH\275\304\205d!!!\001\240\220\220\220"
.string "P\264HHHH"
.string "($$$"
.string "\024\022\022R)\261\261\021"
.string "\n\t9\031|r\311\bC\002@\356#\237\225\341\341\376\220~\326Z\247\227\336\377\220\210\360\356n*\346\003\013\t"
.string "\231:(\344\223\202<\331\255\316[\202\3144M\177Y\003\210\352\235\252S\364|\032@\370e\332h\253"
.string "\220\253\301\341L\232\330Q\361\317\264\216[\023\351L\323\364\027\007\"\013\220Bz\032\\\267E\332\342\220E\373q\327\211h\246b\347~HV\243\177"
.string "\250\261\261\271\324\264\251<\331R"
.string "q\200)\375LZ\207#\035\231\272\340|Y\2470\322590w\232\336\002@\251\364\326\236\257Ix\016\312\265\372\007\200\f\032\235\273\306\202\313).\031\025J\221\3168\216\017\360\301\020\222\350\216\263}R}\027\271\273~\267{\363\033GU8J<\225\003X=\243\3455\237TD\215\237\261\346\366i\321?"
.string "d4\242`\207\245\340\2419\305[\246`"
.string "\235\367\357\247\031>\3438\316"
.string "!\t|\270\\\347\240;w/\2205|\216\246\257'p"
.string "\313gH3\242b\033\232?\fG\200\240Qi\313K\265\326\355c\245\177"
.string "\250A...\3304\276\234\203["
.string "\210\202\307\022@G \"\331,%)rrFJ\035"
.string "\214T\032\r\365p`\3113$"
.string "\302S\\.\n\245\321\350\321\264\370\304\355c\251\177"
.string "\250A^_m\216rzs\316\214\177n\001\240/_\276\177\b\204\036j\373\217\352\303A\223\326Izs\244\324H\001@\2657/\366p`\3113Z"
.string "\304\365\005\327G\222K\341<\333\307R\377"
.string "\220\003\200\270\313\327\245;\003t\201\231\302\207BH\002 <2r:z"
.string "\310\322\311\274\035X\373\f\t\200p\304\234\212Fq\331\222\224\326="
.string "g\245\177"
.string "\250\021@\220v\0067\360\327\353WM\327\327r\273[\030@\323\324\016 0$\252'\256\003\030\330\233\307[\025\200\274\234\314\333\201k\236\3019\267\024@t\300J}\350\200p\312\266\267\326\177u"
.string ":\2273\020\273\335\356(\013$t\"\374\311]\364\256\001\020\215~"
.ascii "@\323\324\026\001\321\013\356\261\356x=\013\362cI\363Ey9\231"
.ascii "\267\003\327<\003\257\217ir\305\3432\360\200\005\371\347\271"
.ascii "\001\301Jw\353\366i\321_\f \3573\026"
.string "\220\026\326\353\031\227\227\227&\367Y\357v\273\243l\t\320\370\340\300\360\221tl\t@\3438.@D\026\241\377\255\215R\260\256\360\241\231!j"
.string "\004\211\355`\201^c\244\247t\340\026\3755wO\343\262R\203\202\324~\274\001g\251\277\b@"
.string "\210a\330\273\034d\002\370\f\303\336\345\031\226\227\352\323\314\231\226\367\007\347\026\237\001@\3438.\242\037\3519 :\240\244>4\337w\311y!\255\357\305\305\305\302\211sFJS\fI\243\b+\007\326\352\257\001\020\316\325\216#\316\305q\016\262\023y\n@\324\330M\215\376PW5\2000|\206ao\032\245p\360\221.\334j\326;\2323M\242\224\275\273\335.\231\277]s<=\265\376\003\037"
.string "P\313A\304#\330\020\275\027Q^\302\200\250\363N\323\264h\213\222\221b\340@B\302Z\bI\034\240\026\236R\375\3613p\316\365\032\330\341\254\244_\257_\315\273\335\216\215\234\241\334\332\262=\332\207\226\273\333\355\026:\345\364\3076\245\002\320\353\253\315\002\016\030@V\207\274(|\2543\257ByX\377\226(k\021\001!\b\355\367{\326\231%\271\244R"
.string "\002\bq\333\357\2225\274\\n\362q\034\347\375~\177\004\237R\004\264\333\355\016m\f\316\205\r\024;\302!\275\r2Rx\233|\232\352\336&\307\003"
.string "7\225\244\016P\003\320Z\375\271gH"
.string "\004\317\202\351\036|\340g\270L\250\037\326C\263FY\002D\251},\364\347\332\246\n@W\233\315Q\364\003\240\260XO\301\021\220G\362C\n \213i\036\214\002\037o\367\363\233\307\333\371\343\355~\376x\273?\030/\227\212\370\3330\210\316\001qk@\314!D\025\200hFL\234\367\034\352\205\353\006\365\252u`"
.string "1\030\035v\004"
.string "\0206T\311u\026\264\\\334\316xJA\377?\007\207Z\375\271gh\242\037j\347\024~\024\374\220RYR~- j\332G\254?\321\275\031@\030>^"
.string "\302\025\261\234\346\001\200\240L\034\tY"
.string "\b\303\007\f\027\234\231F\033\255k@\334\326\273f\027\223FeXg\210\200h\3354"
.string "\242;i\271\2279k\247`\324\2409g\245?+\001\242V\177\356\031Z"
.string "m\267\377Y|\340\331x\335\215\002V\022\241H"
.string "g\256\377s\2718\017\275\032@\337\177i\177\024=xD(t\232d\r \\~\353B7@\b>\330\221\3010a\264\327"
.string "\210F@\251\350G\3636<\247\333\233\307\333\0058i\335\244k(G\323U\264hO\027\267%\213\3208\032\310\226-\210 Z\364\327\002b\273\375\317a@\347\034\030>\320'\222\035\332*\3005FX%\375)\200\324k@\030@\330\211=\327h,w\3020\200\254\246`t\241\217\032\ft\200\024>4\002\342^>\265"
.string "\020\205\020\236\206iF^p`\330E\302\317"
.string "\007:rbf\261\376\207\275\345\365\306\206\215\365ME\017\370\373\036\372K Qr`:}\257\331\201l\001\\M\373H\365\247\263\200\246mx\f\240iZN\301,\027\241\271u&\213\362a\373\235N!\207a?\177\237^\332\354\262q;^\332m\370i\232\376\032\307\361\201n\271\343\027P[\246`\334\271\256\326\343\003x\033\233\302\371\351~\\\030&vjl\250\265:c\370\244\312\206\277c'\253\331\311\363\326\277\326\2011 $\203\230\004\020\222\366\221\224\217\0072S"
.string "a\370X\002\210\356\260YF@\024@\3709V"
.string "\262\224i\232\376\375\034\375\260\357}\241\255\370\007\315\"\264\247\300\224\215.v\343\350\220~\260\241j\200\237*;\025a\255A\177:M:D'8\232C\360\271\277\265\005\234\266}$\372\327l\276\210"
.string "\304m\225[\236\323\361\200\0176V\356(\201\364\035'i$\244)\003M\275\330\235/\370\031\374\211!tJ\275%\333\375\234\241J\017\304\321\335\274T\271\322)p/\375\271\255\177\372\321L\341-\001\321\252\277\311\024\214[(\366H?\202#!\257\223\326\036\007)S\323\227\226\223\320\350\306C<\345JM\307\036,\356\204n\325[S>\336\326\226:\002\374\376\375\355\361\261\002\0329\264\354vz\352O70,\373\242\004\210\326\366\261\320_\364*\206\345\253\f\265\035\355\0018\217w\315<^\305\300\327\2562e>XL\301\274\001T\363\254\303\301\304\017C\363E\356\236\3658G\375k\001\3419\300\230\\\311\352m\240\347^\276\365\024,u\377s\n<k\234\202i\236\275\366\376=W\375\327Z\376j"
.string "\304\355\312\234[\204e%kHL\030\022\322\313\326\303\200CBB\002@!!!\001\240\220\220\220\220"
.string "PHHH"
.string "($$$$"
.string "\024\022\022\022"
.string "\n\t\t\t\t"
.string "\375\214\262\346\003\224!a\233\232\373\317\003@\347\004\236\347\374\336\326\357jA\271\326\345\257\331\370\327\252\3779\264\017-\003l\350\267?\266\207\334\363\246'\241CNk\234\303\357\303<\334-;\270\266\223\213\345\"\303\261,\277\227C\234\n\240\226\357S\341~\240\345\265>\303\272}\270\204\207\234\035Q\3731IL\030\322\021:\303\217+!(\200\240\203\361\013\220\222\013\275\260\341P\340p\221\226\365{C\026\016\201\357\334\2066\302u\361\006(W\007U\304\363\373R\177\354\274\264\2174\317\260n\237\355v\273L\353\214\312\247\020\302\365\204\177\007\200\316"
.string ">8o\026\356d\372Y|\247\"\375\363\342{\324\020\231\021\f\376\257Tv\315{v\226\016\201G\341\224\003x"
.string "\264T\207\332\244\2045\016\f\345ag\326D)\326\355C\363\315S\373\314\331U"
.string "\350LBrpx\334\311\251\274\336\007#\020\002(\027>O\323\2640RZ6\2757y\232\226)u\350}Q\226\016\241q"
.string "\213h\250T\007\215\376\334\340\202\365\227\256\251\364h\037Z>\266O<0\326\324!"
.string "\3440*\322\350DS\036\316fI;\233\353\374\332\034\3644\257\325B\317\304\034\036\177\237\346\230\2022\001>"
.string " \232\351\302\322!4\016\320\n\241\332:\324:47\270P\333i\231zy\267\017\327\257\213\347\244\242\354X\003r\230.}\030\222p\320^R\305%\277Ku6\375\276\264l\n!j\370\370\373\370\206=\f .\247W\n@\026\016!q"
.string "M\024\321\342\3249\375\351\005a\251\376\244\016\254]\037\263n\037\254?\266!:\030\322(\333\344F\304\020~\272\005\r\317u\366\321n\201\260|p~\n\243\324\377]\\\\\314\265\200+\355f\320\273\216q\2360.{\004\275\266w\034\307\371\227\253\315\374\313\325f\266v\b\352"
.string "\213\351\021q"
.string "\253E\351\232:\344\364\307\355\226s`\034\375j.\213\347\312\267h\037\252?\224\001}\315E\343f7\"\366v\354sY$\306F\303\001\202v\214$\263\0016F\234V\367\353\365\253\203\223\343\316.\301\347j\263\231\2576e\030`"
.string "\341\237C\206\005\232?+\225X\020\376\374\347\337\257\314\035B\354"
.string "Fk@5u\340\364\307\211\017)t\261\376\234=I\340\243\006D%|\240,\\\337\234\376\370g&"
.string "\362>,\265\037\366\363\336\341Rz\220\313\313\313\346\373\254\351(\205\377\216;\006wt\355\032\rtv.\2677"
.ascii "\tG\032\245\264\272\220j\031R/\247 \204\201\203\377\016\277\303"
.ascii "\001\bC\b\303\007\377\333\322!r\016\300M1%G\024j\007\236R\035"
.ascii "\270\350\007O_9\375\271\351t\316y5\200\320\266\017w\301=\330"
.ascii "=\215\330\270"
.string "\350\332$\002\002@\274\037\336\273\\X\016\360y?\274wy\206\345\245\372\270\003"
.string "\b\\\307\303\277%)[J\271\275\361z\f\206\3178\216\363\337\376\366\267\303'\005 \372;\245\365%\374\335\024\200\350\340\304A\310\322!R\016\240q^\t|j\352\300\351\217\373\024;*\326\037\376\256\321\277\026\020\026\345\347\226\002j\247^b"
.string "a\370\274\037\336\233F)\034|pE\255\236a\231V\b7<\216H\270)\222\026@\251\334\336\334\002\337~\277?D)\037o\367Gp\300\323\272O\277n\017P\341\222\323A\236x\310o\217\277\237\202OM\233\343H\241\305!\350Q\202\026\007\320\016:\251:\344R?{8p\252|\353\366I\001\224;\032\"I\324X\005\240\327W\233\005\0340\200\254B[\n\037\353\314\253P\036\326\2775\312\242\020\242\211\3364\360\241"
.string "\3422[\322\004y\265"
.string "\242\221\n\227d\357\220\367\034\345?\247\321O\r|RS\263\222C\324\202\r~\217\205\247\"Si\313\346"
.string "\256CJ\177<E\332\355v\213\\\354\234\376\332D\204\320\316\326\355C\365\247v\204#e\260#3"
.string "]m6G\321\017\200\302\"?\030\216\200<\222\037R"
.string "YM\363\350H\200\215\n\376\324.&\326\246\326\245\306\205\267\307K\272\027\341\203"
.string "tqqQ]vn\3070\347p\022\270aC\247Q\234\304\[email protected]\370\324\034$L\325\241\004 \250#\266\225\243\210\024E\237Z@X\267\017\325\237\332;W\007\263m\370\253\315f\001\037/"
.string "a\360XN\363"
.string "@P&\216\204Z\316\205\340FO\001\210~\317*\002\302\321\226\364\254\021\227\363\234\205\020\312M\336\nj\210\316\240-\350\024P\352\020\2343-\312\025\224wqq1__O\363\365\365r\001\275t\006\211s:\311.\025gC\024@\022\233\241\200\260j\237\224\3765"
.string "z\272_\2365S\001h\034\307\243\350\007\257\323X\257\317X\2573a"
.string "\341\362-"
.string "\304\031\021g\\\022"
.string "q\353@)\370\340\217\344\024k\022@L\336s\017"
.string "Q\370H\035\016\0337\236\002\340~\200\377/\225\265\335n\277;/9\311\235\373\034\201\2642j\311e*\2450\306Q\256\006\020V\355\303\351\317\245\302\306u\240Qzj\240\024\003\b;\261\347\032\215\345N\030\006\220\365\024,5\242s\377'-\277&\267\267v\301\225\376>\007\036\013\370\244\246-G\021\327\3633k\035\016\276\013N\004\2431\214\310\022\347\205WI\356\356\216# n'\222\356\016\342:\224\236\311\265;\350\212?t\212-\005\204e\373\244\372\222\016b"
.ascii "\035\\\237R\244.\006\3204M\213)\230\345\"4\267\316dQ>l\277\323"
.ascii ")\344\373\341\375|\265\331\314\246N\305,\336j\027\026\251Aq["
.ascii "\335\255\367\272peq\317\262\\\304M"
.string "9\234\324\351p\273R\007\223\2647\200\346\346F\006 \n\356\032\247\306\221k\312yq9\232Wy\254\333G\262\016\306\rb9[RO\301\254\027\211\351\016\233e\004D\001\204\237\323\002 \274%\f\213\315t\004\320\216d/QJ\016'\231\362q\016\300\355,\325\256\001\375\361\364$\232\202\345\240\221\323?W\036\347\274\255\203\213E\373h7\027j\236!\002\020\267UnyN\307\003>\270\241\270\243\004\257\2576&\273`t;\031\214\322\372\032L\3173.\236\327\202\226\034N\342t\245\251\250\246.x\367+e\3335u\250Y\217\253u\334\226\333\024\254\333\307\253\016\242\203\210\036[\344\251H\310\353\244\265\345\002wM\347\326\276\245\336\322\331\236\243\230e\373\317\037\226\013\346\332\347r\337\2077\322\271\362[\246\246\251:\244\016\341i\365\367\004\220u\373\234\004@x*c\265\375^S!\017\300Y\356\256\321]\250s\203Do"
.string "\325@\250W\370\357U\2075\350\337\243}\272M\301z"
.string "\342\\\313\357\355"
.string "\347:\005\363j\253\036\355\356Y\207s\367\253\326g\254\006@\245\360\367\034:\"$$D&\363<\017\377?"
.string "\006f\305\335\306\002&\310"
.string ""
.string ""
.string ""
.ascii "IEND\256B`\202"
.global sprite_size
.align 2
.type sprite_size, %object
.size sprite_size, 4
sprite_size:
.word 15097
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%.8f\n"
.align 3
.LC1:
.string "impossible"
.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
bl get_int
scvtf d0, w0
str d0, [sp, 16]
bl get_int
scvtf d0, w0
str d0, [sp, 24]
bl get_int
scvtf d0, w0
str d0, [sp, 32]
bl get_int
scvtf d0, w0
str d0, [sp, 40]
ldr d1, [sp, 32]
ldr d0, [sp, 16]
fmul d1, d1, d0
ldr d2, [sp, 40]
ldr d0, [sp, 24]
fmul d0, d2, d0
fsub d1, d1, d0
ldr d2, [sp, 16]
ldr d0, [sp, 24]
fsub d0, d2, d0
fdiv d0, d1, d0
adrp x0, .LC2
ldr d1, [x0, #:lo12:.LC2]
fcmpe d0, d1
bgt .L7
b .L2
.L7:
ldr d1, [sp, 32]
ldr d0, [sp, 16]
fmul d1, d1, d0
ldr d2, [sp, 40]
ldr d0, [sp, 24]
fmul d0, d2, d0
fsub d1, d1, d0
ldr d2, [sp, 16]
ldr d0, [sp, 24]
fsub d0, d2, d0
fdiv d0, d1, d0
adrp x0, .LC3
ldr d1, [x0, #:lo12:.LC3]
fcmpe d0, d1
bmi .L8
b .L2
.L8:
ldr d1, [sp, 32]
ldr d0, [sp, 16]
fmul d1, d1, d0
ldr d2, [sp, 40]
ldr d0, [sp, 24]
fmul d0, d2, d0
fsub d1, d1, d0
ldr d2, [sp, 16]
ldr d0, [sp, 24]
fsub d0, d2, d0
fdiv d0, d1, d0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
b .L5
.L2:
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
.L5:
mov w0, 0
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 get_int
.type get_int, %function
get_int:
.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 wzr, [sp, 24]
bl getchar
strb w0, [sp, 23]
.L16:
ldrb w0, [sp, 23]
cmp w0, 47
bls .L10
ldrb w0, [sp, 23]
cmp w0, 57
bhi .L10
mov w0, 1
str w0, [sp, 28]
b .L20
.L10:
ldrb w0, [sp, 23]
cmp w0, 45
bne .L12
bl getchar
strb w0, [sp, 23]
ldrb w0, [sp, 23]
cmp w0, 47
bls .L22
ldrb w0, [sp, 23]
cmp w0, 57
bhi .L22
mov w0, -1
str w0, [sp, 28]
b .L20
.L12:
bl getchar
strb w0, [sp, 23]
b .L16
.L22:
nop
b .L16
.L20:
ldr w1, [sp, 24]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
mov w1, w0
ldrb w0, [sp, 23]
add w0, w1, w0
sub w0, w0, #48
str w0, [sp, 24]
bl getchar
strb w0, [sp, 23]
ldrb w0, [sp, 23]
cmp w0, 47
bls .L17
ldrb w0, [sp, 23]
cmp w0, 57
bls .L20
.L17:
ldr w1, [sp, 28]
ldr w0, [sp, 24]
mul w0, w1, w0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size get_int, .-get_int
.section .rodata
.align 3
.LC2:
.word -400107883
.word -1106170357
.align 3
.LC3:
.word 70369
.word 1079574528
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global __CARDGetDirBlock
.type __CARDGetDirBlock, %function
__CARDGetDirBlock:
.LFB0:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE0:
.size __CARDGetDirBlock, .-__CARDGetDirBlock
.align 2
.global WriteCallback
.type WriteCallback, %function
WriteCallback:
.LFB1:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE1:
.size WriteCallback, .-WriteCallback
.align 2
.global EraseCallback
.type EraseCallback, %function
EraseCallback:
.LFB2:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE2:
.size EraseCallback, .-EraseCallback
.align 2
.global __CARDUpdateDir
.type __CARDUpdateDir, %function
__CARDUpdateDir:
.LFB3:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE3:
.size __CARDUpdateDir, .-__CARDUpdateDir
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global CLSID_MtsGrp
.section .rodata
.align 3
.type CLSID_MtsGrp, %object
.size CLSID_MtsGrp, 24
CLSID_MtsGrp:
.xword 1261344141
.hword 915
.hword 4561
.string "\261\253"
.string "\252"
.ascii "\2722X"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global CLSID_WICWmpEncoder
.section .rodata
.align 3
.type CLSID_WICWmpEncoder, %object
.size CLSID_WICWmpEncoder, 24
CLSID_WICWmpEncoder:
.xword 2890720203
.hword -7743
.hword 17613
.ascii "\202\025Z\026eP\236\302"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
mov w0, 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type error, %function
error:
.LFB6:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
ldr w1, [sp, 4]
str w1, [x0, 156]
ldr x0, [sp, 8]
ldr w0, [x0, 152]
cmp w0, 0
bne .L2
ldr w0, [sp, 4]
cmp w0, 1
beq .L2
ldr x0, [sp, 8]
ldr w1, [sp, 4]
str w1, [x0, 156]
.L2:
mov w0, 0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size error, .-error
.align 2
.type make_block_array, %function
make_block_array:
.LFB7:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 8]
str w1, [sp, 4]
str w2, [sp]
ldr x0, [sp, 8]
str x0, [sp, 40]
ldrsw x0, [sp, 4]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
str x0, [sp, 32]
str wzr, [sp, 28]
b .L5
.L6:
ldrsw x0, [sp, 28]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr x1, [sp, 32]
str x1, [x0]
ldrsw x0, [sp]
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 32]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L5:
ldr w1, [sp, 28]
ldr w0, [sp, 4]
cmp w1, w0
blt .L6
ldr x0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size make_block_array, .-make_block_array
.align 2
.type setup_malloc, %function
setup_malloc:
.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 x0, [sp, 24]
str w1, [sp, 20]
ldr w0, [sp, 20]
add w0, w0, 7
and w0, w0, -8
str w0, [sp, 20]
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr w0, [sp, 20]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0, 128]
cmp x0, 0
beq .L9
ldr x0, [sp, 24]
ldr x1, [x0, 128]
ldr x0, [sp, 24]
ldr w0, [x0, 144]
sxtw x0, w0
add x0, x1, x0
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w1, [x0, 144]
ldr w0, [sp, 20]
add w1, w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 148]
cmp w1, w0
ble .L10
mov x0, 0
b .L11
.L10:
ldr x0, [sp, 24]
ldr w1, [x0, 144]
ldr w0, [sp, 20]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 144]
ldr x0, [sp, 40]
b .L11
.L9:
ldr w0, [sp, 20]
cmp w0, 0
beq .L12
ldrsw x0, [sp, 20]
bl malloc
b .L11
.L12:
mov x0, 0
.L11:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size setup_malloc, .-setup_malloc
.align 2
.type setup_free, %function
setup_free:
.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, 24]
ldr x0, [x0, 128]
cmp x0, 0
bne .L17
ldr x0, [sp, 16]
bl free
b .L14
.L17:
nop
.L14:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size setup_free, .-setup_free
.align 2
.type setup_temp_malloc, %function
setup_temp_malloc:
.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]
str w1, [sp, 20]
ldr w0, [sp, 20]
add w0, w0, 7
and w0, w0, -8
str w0, [sp, 20]
ldr x0, [sp, 24]
ldr x0, [x0, 128]
cmp x0, 0
beq .L19
ldr x0, [sp, 24]
ldr w1, [x0, 148]
ldr w0, [sp, 20]
sub w1, w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 144]
cmp w1, w0
bge .L20
mov x0, 0
b .L21
.L20:
ldr x0, [sp, 24]
ldr w1, [x0, 148]
ldr w0, [sp, 20]
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 148]
ldr x0, [sp, 24]
ldr x1, [x0, 128]
ldr x0, [sp, 24]
ldr w0, [x0, 148]
sxtw x0, w0
add x0, x1, x0
b .L21
.L19:
ldrsw x0, [sp, 20]
bl malloc
.L21:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size setup_temp_malloc, .-setup_temp_malloc
.align 2
.type setup_temp_free, %function
setup_temp_free:
.LFB11:
.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 w2, [sp, 28]
ldr x0, [sp, 40]
ldr x0, [x0, 128]
cmp x0, 0
beq .L23
ldr x0, [sp, 40]
ldr w1, [x0, 148]
ldr w0, [sp, 28]
add w0, w0, 7
and w0, w0, -8
add w1, w1, w0
ldr x0, [sp, 40]
str w1, [x0, 148]
b .L22
.L23:
ldr x0, [sp, 32]
bl free
.L22:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size setup_temp_free, .-setup_temp_free
.local crc_table
.comm crc_table,1024,8
.align 2
.type crc32_init, %function
crc32_init:
.LFB12:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 4]
b .L26
.L31:
ldr w0, [sp, 4]
lsl w0, w0, 24
str w0, [sp, 12]
str wzr, [sp, 8]
b .L27
.L30:
ldr w0, [sp, 12]
lsl w1, w0, 1
ldr w0, [sp, 12]
cmp w0, 0
bge .L28
mov w0, 7607
movk w0, 0x4c1, lsl 16
b .L29
.L28:
mov w0, 0
.L29:
eor w0, w0, w1
str w0, [sp, 12]
ldr w0, [sp, 8]
add w0, w0, 1
str w0, [sp, 8]
.L27:
ldr w0, [sp, 8]
cmp w0, 7
ble .L30
adrp x0, crc_table
add x0, x0, :lo12:crc_table
ldrsw x1, [sp, 4]
ldr w2, [sp, 12]
str w2, [x0, x1, lsl 2]
ldr w0, [sp, 4]
add w0, w0, 1
str w0, [sp, 4]
.L26:
ldr w0, [sp, 4]
cmp w0, 255
ble .L31
nop
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size crc32_init, .-crc32_init
.align 2
.type crc32_update, %function
crc32_update:
.LFB13:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
strb w1, [sp, 11]
ldr w0, [sp, 12]
lsl w1, w0, 8
ldrb w2, [sp, 11]
ldr w0, [sp, 12]
lsr w0, w0, 24
eor w2, w2, w0
adrp x0, crc_table
add x0, x0, :lo12:crc_table
uxtw x2, w2
ldr w0, [x0, x2, lsl 2]
eor w0, w1, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size crc32_update, .-crc32_update
.align 2
.type bit_reverse, %function
bit_reverse:
.LFB14:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
lsr w0, w0, 1
and w1, w0, 1431655765
ldr w0, [sp, 12]
lsl w0, w0, 1
and w0, w0, -1431655766
orr w0, w1, w0
str w0, [sp, 12]
ldr w0, [sp, 12]
lsr w0, w0, 2
and w1, w0, 858993459
ldr w0, [sp, 12]
lsl w0, w0, 2
and w0, w0, -858993460
orr w0, w1, w0
str w0, [sp, 12]
ldr w0, [sp, 12]
lsr w0, w0, 4
and w1, w0, 252645135
ldr w0, [sp, 12]
lsl w0, w0, 4
and w0, w0, -252645136
orr w0, w1, w0
str w0, [sp, 12]
ldr w0, [sp, 12]
lsr w0, w0, 8
and w1, w0, 16711935
ldr w0, [sp, 12]
lsl w0, w0, 8
and w0, w0, -16711936
orr w0, w1, w0
str w0, [sp, 12]
ldr w0, [sp, 12]
ror w0, w0, 16
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size bit_reverse, .-bit_reverse
.align 2
.type square, %function
square:
.LFB15:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, 12]
ldr s0, [sp, 12]
fmul s0, s0, s0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size square, .-square
.align 2
.type ilog, %function
ilog:
.LFB16:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
cmp w0, 0
bge .L39
mov w0, 0
b .L40
.L39:
ldr w1, [sp, 12]
mov w0, 16383
cmp w1, w0
bgt .L41
ldr w0, [sp, 12]
cmp w0, 15
bgt .L42
adrp x0, log2_4.21
add x1, x0, :lo12:log2_4.21
ldrsw x0, [sp, 12]
ldrsb w0, [x1, x0]
b .L40
.L42:
ldr w0, [sp, 12]
cmp w0, 511
bgt .L43
ldr w0, [sp, 12]
asr w2, w0, 5
adrp x0, log2_4.21
add x1, x0, :lo12:log2_4.21
sxtw x0, w2
ldrsb w0, [x1, x0]
add w0, w0, 5
b .L40
.L43:
ldr w0, [sp, 12]
asr w2, w0, 10
adrp x0, log2_4.21
add x1, x0, :lo12:log2_4.21
sxtw x0, w2
ldrsb w0, [x1, x0]
add w0, w0, 10
b .L40
.L41:
ldr w1, [sp, 12]
mov w0, 16777215
cmp w1, w0
bgt .L44
ldr w1, [sp, 12]
mov w0, 524287
cmp w1, w0
bgt .L45
ldr w0, [sp, 12]
asr w2, w0, 15
adrp x0, log2_4.21
add x1, x0, :lo12:log2_4.21
sxtw x0, w2
ldrsb w0, [x1, x0]
add w0, w0, 15
b .L40
.L45:
ldr w0, [sp, 12]
asr w2, w0, 20
adrp x0, log2_4.21
add x1, x0, :lo12:log2_4.21
sxtw x0, w2
ldrsb w0, [x1, x0]
add w0, w0, 20
b .L40
.L44:
ldr w1, [sp, 12]
mov w0, 536870911
cmp w1, w0
bgt .L46
ldr w0, [sp, 12]
asr w2, w0, 25
adrp x0, log2_4.21
add x1, x0, :lo12:log2_4.21
sxtw x0, w2
ldrsb w0, [x1, x0]
add w0, w0, 25
b .L40
.L46:
ldr w0, [sp, 12]
asr w2, w0, 30
adrp x0, log2_4.21
add x1, x0, :lo12:log2_4.21
sxtw x0, w2
ldrsb w0, [x1, x0]
add w0, w0, 30
.L40:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size ilog, .-ilog
.align 2
.type float32_unpack, %function
float32_unpack:
.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 w0, [sp, 28]
ldr w0, [sp, 28]
and w0, w0, 2097151
str w0, [sp, 44]
ldr w0, [sp, 28]
and w0, w0, -2147483648
str w0, [sp, 48]
ldr w0, [sp, 28]
lsr w0, w0, 21
and w0, w0, 1023
str w0, [sp, 52]
ldr w0, [sp, 48]
cmp w0, 0
beq .L48
ldr w0, [sp, 44]
ucvtf d0, w0
fneg d0, d0
b .L49
.L48:
ldr w0, [sp, 44]
ucvtf d0, w0
.L49:
str d0, [sp, 56]
ldr d0, [sp, 56]
fcvt s0, d0
fcvt d0, s0
ldr w0, [sp, 52]
sub w0, w0, #788
bl ldexp
fcvt s0, d0
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size float32_unpack, .-float32_unpack
.align 2
.type add_entry, %function
add_entry:
.LFB18:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str w3, [sp, 12]
str w4, [sp, 8]
str x5, [sp]
ldr x0, [sp, 24]
ldrb w0, [x0, 27]
cmp w0, 0
bne .L52
ldr x0, [sp, 24]
ldr x1, [x0, 40]
ldrsw x0, [sp, 16]
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [sp, 20]
str w1, [x0]
b .L54
.L52:
ldr x0, [sp, 24]
ldr x1, [x0, 40]
ldrsw x0, [sp, 12]
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [sp, 20]
str w1, [x0]
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldrsw x0, [sp, 12]
add x0, x1, x0
ldr w1, [sp, 8]
and w1, w1, 255
strb w1, [x0]
ldrsw x0, [sp, 12]
lsl x0, x0, 2
ldr x1, [sp]
add x0, x1, x0
ldr w1, [sp, 16]
str w1, [x0]
.L54:
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size add_entry, .-add_entry
.section .rodata
.align 3
.LC0:
.string "program.c"
.align 3
.LC1:
.string "c->sorted_entries == 0"
.align 3
.LC2:
.string "len[k] < 32"
.align 3
.LC3:
.string "z < 32"
.align 3
.LC4:
.string "available[y] == 0"
.text
.align 2
.type compute_codewords, %function
compute_codewords:
.LFB19:
.cfi_startproc
stp x29, x30, [sp, -208]!
.cfi_def_cfa_offset 208
.cfi_offset 29, -208
.cfi_offset 30, -200
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
str x3, [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
str wzr, [sp, 56]
add x0, sp, 72
mov x2, 128
mov w1, 0
bl memset
str wzr, [sp, 52]
b .L56
.L59:
ldrsw x0, [sp, 52]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 255
bne .L80
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L56:
ldr w1, [sp, 52]
ldr w0, [sp, 28]
cmp w1, w0
blt .L59
b .L58
.L80:
nop
.L58:
ldr w1, [sp, 52]
ldr w0, [sp, 28]
cmp w1, w0
bne .L60
ldr x0, [sp, 40]
ldr w0, [x0, 2112]
cmp w0, 0
beq .L61
adrp x0, __PRETTY_FUNCTION__.20
add x3, x0, :lo12:__PRETTY_FUNCTION__.20
mov w2, 1094
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __assert_fail
.L61:
mov w0, 1
b .L78
.L60:
ldrsw x0, [sp, 52]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 31
bls .L63
adrp x0, __PRETTY_FUNCTION__.20
add x3, x0, :lo12:__PRETTY_FUNCTION__.20
mov w2, 1095
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __assert_fail
.L63:
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
ldrsw x1, [sp, 52]
ldr x2, [sp, 32]
add x1, x2, x1
ldrb w1, [x1]
ldr x5, [sp, 16]
mov w4, w1
mov w3, w0
ldr w2, [sp, 52]
mov w1, 0
ldr x0, [sp, 40]
bl add_entry
mov w0, 1
str w0, [sp, 48]
b .L64
.L65:
mov w1, 32
ldr w0, [sp, 48]
sub w0, w1, w0
mov w1, 1
lsl w2, w1, w0
ldrsw x0, [sp, 48]
lsl x0, x0, 2
add x1, sp, 72
str w2, [x1, x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L64:
ldrsw x0, [sp, 52]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
cmp w0, w1
ble .L65
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 48]
b .L66
.L77:
ldrsw x0, [sp, 48]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 255
beq .L81
ldr w0, [sp, 60]
cmp w0, 31
ble .L70
adrp x0, __PRETTY_FUNCTION__.20
add x3, x0, :lo12:__PRETTY_FUNCTION__.20
mov w2, 1109
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __assert_fail
.L72:
ldr w0, [sp, 60]
sub w0, w0, #1
str w0, [sp, 60]
.L70:
ldr w0, [sp, 60]
cmp w0, 0
ble .L71
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 72
ldr w0, [x1, x0]
cmp w0, 0
beq .L72
.L71:
ldr w0, [sp, 60]
cmp w0, 0
bne .L73
mov w0, 0
b .L78
.L73:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 72
ldr w0, [x1, x0]
str w0, [sp, 68]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 72
str wzr, [x1, x0]
ldr w0, [sp, 68]
bl bit_reverse
mov w6, w0
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
ldrsw x1, [sp, 48]
ldr x2, [sp, 32]
add x1, x2, x1
ldrb w1, [x1]
ldr x5, [sp, 16]
mov w4, w1
mov w3, w0
ldr w2, [sp, 48]
mov w1, w6
ldr x0, [sp, 40]
bl add_entry
ldrsw x0, [sp, 48]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 60]
cmp w0, w1
beq .L68
ldrsw x0, [sp, 48]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
str w0, [sp, 64]
b .L74
.L76:
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x1, sp, 72
ldr w0, [x1, x0]
cmp w0, 0
beq .L75
adrp x0, __PRETTY_FUNCTION__.20
add x3, x0, :lo12:__PRETTY_FUNCTION__.20
mov w2, 1124
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __assert_fail
.L75:
mov w1, 32
ldr w0, [sp, 64]
sub w0, w1, w0
mov w1, 1
lsl w0, w1, w0
mov w1, w0
ldr w0, [sp, 68]
add w2, w1, w0
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x1, sp, 72
str w2, [x1, x0]
ldr w0, [sp, 64]
sub w0, w0, #1
str w0, [sp, 64]
.L74:
ldr w1, [sp, 64]
ldr w0, [sp, 60]
cmp w1, w0
bgt .L76
b .L68
.L81:
nop
.L68:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L66:
ldr w1, [sp, 48]
ldr w0, [sp, 28]
cmp w1, w0
blt .L77
mov w0, 1
.L78:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 200]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L79
bl __stack_chk_fail
.L79:
mov w0, w1
ldp x29, x30, [sp], 208
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE19:
.size compute_codewords, .-compute_codewords
.align 2
.type compute_accelerated_huffman, %function
compute_accelerated_huffman:
.LFB20:
.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, 36]
b .L83
.L84:
ldr x0, [sp, 24]
ldrsw x1, [sp, 36]
add x1, x1, 24
mov w2, -1
strh w2, [x0, x1, lsl 1]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L83:
ldr w0, [sp, 36]
cmp w0, 1023
ble .L84
ldr x0, [sp, 24]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L85
ldr x0, [sp, 24]
ldr w0, [x0, 2112]
b .L86
.L85:
ldr x0, [sp, 24]
ldr w0, [x0, 4]
.L86:
str w0, [sp, 40]
ldr w1, [sp, 40]
mov w0, 32767
cmp w1, w0
ble .L87
mov w0, 32767
str w0, [sp, 40]
.L87:
str wzr, [sp, 36]
b .L88
.L94:
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldrsw x0, [sp, 36]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 10
bhi .L89
ldr x0, [sp, 24]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L90
ldr x0, [sp, 24]
ldr x1, [x0, 2096]
ldrsw x0, [sp, 36]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
bl bit_reverse
b .L91
.L90:
ldr x0, [sp, 24]
ldr x1, [x0, 40]
ldrsw x0, [sp, 36]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
.L91:
str w0, [sp, 44]
b .L92
.L93:
ldr w0, [sp, 36]
sxth w2, w0
ldr x0, [sp, 24]
ldr w1, [sp, 44]
add x1, x1, 24
strh w2, [x0, x1, lsl 1]
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldrsw x0, [sp, 36]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
mov w0, 1
lsl w0, w0, w1
mov w1, w0
ldr w0, [sp, 44]
add w0, w0, w1
str w0, [sp, 44]
.L92:
ldr w0, [sp, 44]
cmp w0, 1023
bls .L93
.L89:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L88:
ldr w1, [sp, 36]
ldr w0, [sp, 40]
cmp w1, w0
blt .L94
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size compute_accelerated_huffman, .-compute_accelerated_huffman
.align 2
.type uint32_compare, %function
uint32_compare:
.LFB21:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp, 8]
ldr w0, [x0]
str w0, [sp, 24]
ldr x0, [sp]
ldr w0, [x0]
str w0, [sp, 28]
ldr w1, [sp, 24]
ldr w0, [sp, 28]
cmp w1, w0
bcc .L96
ldr w1, [sp, 24]
ldr w0, [sp, 28]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L98
.L96:
mov w0, -1
.L98:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size uint32_compare, .-uint32_compare
.section .rodata
.align 3
.LC5:
.string "len != NO_CODE"
.text
.align 2
.type include_in_sort, %function
include_in_sort:
.LFB22:
.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]
ldr x0, [sp, 24]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L100
ldrb w0, [sp, 23]
cmp w0, 255
bne .L101
adrp x0, __PRETTY_FUNCTION__.19
add x3, x0, :lo12:__PRETTY_FUNCTION__.19
mov w2, 1171
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L101:
mov w0, 1
b .L102
.L100:
ldrb w0, [sp, 23]
cmp w0, 255
bne .L103
mov w0, 0
b .L102
.L103:
ldrb w0, [sp, 23]
cmp w0, 10
bls .L104
mov w0, 1
b .L102
.L104:
mov w0, 0
.L102:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE22:
.size include_in_sort, .-include_in_sort
.section .rodata
.align 3
.LC6:
.string "k == c->sorted_entries"
.align 3
.LC7:
.string "c->sorted_codewords[x] == code"
.text
.align 2
.type compute_sorted_huffman, %function
compute_sorted_huffman:
.LFB23:
.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 x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
ldr x0, [sp, 56]
ldrb w0, [x0, 27]
cmp w0, 0
bne .L106
str wzr, [sp, 68]
str wzr, [sp, 64]
b .L107
.L109:
ldrsw x0, [sp, 64]
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 56]
bl include_in_sort
cmp w0, 0
beq .L108
ldr x0, [sp, 56]
ldr x1, [x0, 40]
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x0, x1, x0
ldr w3, [x0]
ldr x0, [sp, 56]
ldr x1, [x0, 2096]
ldr w0, [sp, 68]
add w2, w0, 1
str w2, [sp, 68]
sxtw x0, w0
lsl x0, x0, 2
add x19, x1, x0
mov w0, w3
bl bit_reverse
str w0, [x19]
.L108:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L107:
ldr x0, [sp, 56]
ldr w0, [x0, 4]
ldr w1, [sp, 64]
cmp w1, w0
blt .L109
ldr x0, [sp, 56]
ldr w0, [x0, 2112]
ldr w1, [sp, 68]
cmp w1, w0
beq .L110
adrp x0, __PRETTY_FUNCTION__.18
add x3, x0, :lo12:__PRETTY_FUNCTION__.18
mov w2, 1191
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __assert_fail
.L106:
str wzr, [sp, 64]
b .L111
.L112:
ldr x0, [sp, 56]
ldr x1, [x0, 40]
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x0, x1, x0
ldr w2, [x0]
ldr x0, [sp, 56]
ldr x1, [x0, 2096]
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x19, x1, x0
mov w0, w2
bl bit_reverse
str w0, [x19]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L111:
ldr x0, [sp, 56]
ldr w0, [x0, 2112]
ldr w1, [sp, 64]
cmp w1, w0
blt .L112
.L110:
ldr x0, [sp, 56]
ldr x4, [x0, 2096]
ldr x0, [sp, 56]
ldr w0, [x0, 2112]
sxtw x1, w0
adrp x0, uint32_compare
add x3, x0, :lo12:uint32_compare
mov x2, 4
mov x0, x4
bl qsort
ldr x0, [sp, 56]
ldr x1, [x0, 2096]
ldr x0, [sp, 56]
ldr w0, [x0, 2112]
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
mov w1, -1
str w1, [x0]
ldr x0, [sp, 56]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L113
ldr x0, [sp, 56]
ldr w0, [x0, 2112]
b .L114
.L113:
ldr x0, [sp, 56]
ldr w0, [x0, 4]
.L114:
str w0, [sp, 80]
str wzr, [sp, 64]
b .L115
.L124:
ldr x0, [sp, 56]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L116
ldrsw x0, [sp, 64]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
uxtw x0, w0
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
b .L117
.L116:
ldrsw x0, [sp, 64]
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
.L117:
str w0, [sp, 84]
ldr w0, [sp, 84]
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 56]
bl include_in_sort
cmp w0, 0
beq .L118
ldr x0, [sp, 56]
ldr x1, [x0, 40]
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
bl bit_reverse
str w0, [sp, 88]
str wzr, [sp, 72]
ldr x0, [sp, 56]
ldr w0, [x0, 2112]
str w0, [sp, 76]
b .L119
.L121:
ldr w0, [sp, 76]
asr w0, w0, 1
ldr w1, [sp, 72]
add w0, w1, w0
str w0, [sp, 92]
ldr x0, [sp, 56]
ldr x1, [x0, 2096]
ldrsw x0, [sp, 92]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 88]
cmp w1, w0
bcc .L120
ldr w0, [sp, 92]
str w0, [sp, 72]
ldr w0, [sp, 76]
asr w0, w0, 1
ldr w1, [sp, 76]
sub w0, w1, w0
str w0, [sp, 76]
b .L119
.L120:
ldr w0, [sp, 76]
asr w0, w0, 1
str w0, [sp, 76]
.L119:
ldr w0, [sp, 76]
cmp w0, 1
bgt .L121
ldr x0, [sp, 56]
ldr x1, [x0, 2096]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 88]
cmp w1, w0
beq .L122
adrp x0, __PRETTY_FUNCTION__.18
add x3, x0, :lo12:__PRETTY_FUNCTION__.18
mov w2, 1221
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl __assert_fail
.L122:
ldr x0, [sp, 56]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L123
ldrsw x0, [sp, 64]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w2, [x0]
ldr x0, [sp, 56]
ldr x1, [x0, 2104]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
add x0, x1, x0
mov w1, w2
str w1, [x0]
ldr x0, [sp, 56]
ldr x1, [x0, 8]
ldrsw x0, [sp, 72]
add x0, x1, x0
ldr w1, [sp, 84]
and w1, w1, 255
strb w1, [x0]
b .L118
.L123:
ldr x0, [sp, 56]
ldr x1, [x0, 2104]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [sp, 64]
str w1, [x0]
.L118:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L115:
ldr w1, [sp, 64]
ldr w0, [sp, 80]
cmp w1, w0
blt .L124
nop
nop
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
.LFE23:
.size compute_sorted_huffman, .-compute_sorted_huffman
.align 2
.type vorbis_validate, %function
vorbis_validate:
.LFB24:
.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]
mov x2, 6
adrp x0, vorbis.17
add x1, x0, :lo12:vorbis.17
ldr x0, [sp, 24]
bl memcmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE24:
.size vorbis_validate, .-vorbis_validate
.align 2
.type lookup1_values, %function
lookup1_values:
.LFB25:
.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]
ldr s0, [sp, 28]
scvtf s0, s0
fcvt d0, s0
bl log
fcvt s1, d0
ldr s0, [sp, 24]
scvtf s0, s0
fdiv s0, s1, s0
fcvt d0, s0
bl exp
frintz d0, d0
fcvtzs w0, d0
str w0, [sp, 44]
ldr s0, [sp, 44]
scvtf s1, s0
fmov s0, 1.0e+0
fadd s0, s1, s0
fcvt d0, s0
ldr w0, [sp, 24]
scvtf d1, w0
bl pow
bl floor
fcvtzs w0, d0
ldr w1, [sp, 28]
cmp w1, w0
blt .L128
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L128:
ldr s0, [sp, 44]
scvtf s1, s0
fmov s0, 1.0e+0
fadd s0, s1, s0
fcvt d0, s0
ldr w0, [sp, 24]
scvtf d1, w0
bl pow
fmov d1, d0
ldr w0, [sp, 28]
scvtf d0, w0
fcmpe d1, d0
bls .L133
b .L134
.L133:
mov w0, -1
b .L131
.L134:
ldr s0, [sp, 44]
scvtf s0, s0
fcvt d0, s0
ldr w0, [sp, 24]
scvtf d1, w0
bl pow
bl floor
fcvtzs w0, d0
ldr w1, [sp, 28]
cmp w1, w0
bge .L132
mov w0, -1
b .L131
.L132:
ldr w0, [sp, 44]
.L131:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE25:
.size lookup1_values, .-lookup1_values
.align 2
.type compute_twiddle_factors, %function
compute_twiddle_factors:
.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 w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr w0, [sp, 44]
asr w0, w0, 2
str w0, [sp, 56]
ldr w0, [sp, 44]
asr w0, w0, 3
str w0, [sp, 60]
str wzr, [sp, 52]
ldr w0, [sp, 52]
str w0, [sp, 48]
b .L136
.L137:
ldr w0, [sp, 48]
lsl w0, w0, 2
scvtf d0, w0
adrp x0, .LC8
ldr d1, [x0, #:lo12:.LC8]
fmul d1, d0, d1
ldr w0, [sp, 44]
scvtf d0, w0
fdiv d0, d1, d0
bl cos
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
fcvt s0, d0
str s0, [x0]
ldr w0, [sp, 48]
lsl w0, w0, 2
scvtf d0, w0
adrp x0, .LC8
ldr d1, [x0, #:lo12:.LC8]
fmul d1, d0, d1
ldr w0, [sp, 44]
scvtf d0, w0
fdiv d0, d1, d0
bl sin
fcvt s0, d0
ldrsw x0, [sp, 52]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
fneg s0, s0
str s0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
scvtf d0, w0
adrp x0, .LC8
ldr d1, [x0, #:lo12:.LC8]
fmul d1, d0, d1
ldr w0, [sp, 44]
scvtf d0, w0
fdiv d1, d1, d0
fmov d0, 2.0e+0
fdiv d0, d1, d0
bl cos
fcvt s1, d0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
fmov s0, 5.0e-1
fmul s0, s1, s0
str s0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
scvtf d0, w0
adrp x0, .LC8
ldr d1, [x0, #:lo12:.LC8]
fmul d1, d0, d1
ldr w0, [sp, 44]
scvtf d0, w0
fdiv d1, d1, d0
fmov d0, 2.0e+0
fdiv d0, d1, d0
bl sin
fcvt s1, d0
ldrsw x0, [sp, 52]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
fmov s0, 5.0e-1
fmul s0, s1, s0
str s0, [x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
ldr w0, [sp, 52]
add w0, w0, 2
str w0, [sp, 52]
.L136:
ldr w1, [sp, 48]
ldr w0, [sp, 56]
cmp w1, w0
blt .L137
str wzr, [sp, 52]
ldr w0, [sp, 52]
str w0, [sp, 48]
b .L138
.L139:
ldr w0, [sp, 52]
add w0, w0, 1
lsl w0, w0, 1
scvtf d0, w0
adrp x0, .LC8
ldr d1, [x0, #:lo12:.LC8]
fmul d1, d0, d1
ldr w0, [sp, 44]
scvtf d0, w0
fdiv d0, d1, d0
bl cos
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
fcvt s0, d0
str s0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
lsl w0, w0, 1
scvtf d0, w0
adrp x0, .LC8
ldr d1, [x0, #:lo12:.LC8]
fmul d1, d0, d1
ldr w0, [sp, 44]
scvtf d0, w0
fdiv d0, d1, d0
bl sin
fcvt s0, d0
ldrsw x0, [sp, 52]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
fneg s0, s0
str s0, [x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
ldr w0, [sp, 52]
add w0, w0, 2
str w0, [sp, 52]
.L138:
ldr w1, [sp, 48]
ldr w0, [sp, 60]
cmp w1, w0
blt .L139
nop
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE26:
.size compute_twiddle_factors, .-compute_twiddle_factors
.align 2
.type compute_window, %function
compute_window:
.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 w0, [sp, 28]
str x1, [sp, 16]
ldr w0, [sp, 28]
asr w0, w0, 1
str w0, [sp, 44]
str wzr, [sp, 40]
b .L141
.L142:
ldr w0, [sp, 40]
scvtf d1, w0
fmov d0, 5.0e-1
fadd d1, d1, d0
ldr w0, [sp, 44]
scvtf d0, w0
fdiv d1, d1, d0
fmov d0, 5.0e-1
fmul d0, d1, d0
adrp x0, .LC8
ldr d1, [x0, #:lo12:.LC8]
fmul d0, d0, d1
bl sin
fcvt s0, d0
bl square
fcvt d0, s0
adrp x0, .LC9
ldr d1, [x0, #:lo12:.LC9]
fmul d0, d0, d1
bl sin
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
fcvt s0, d0
str s0, [x0]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L141:
ldr w1, [sp, 40]
ldr w0, [sp, 44]
cmp w1, w0
blt .L142
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE27:
.size compute_window, .-compute_window
.align 2
.type compute_bitreverse, %function
compute_bitreverse:
.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 w0, [sp, 28]
str x1, [sp, 16]
ldr w0, [sp, 28]
bl ilog
sub w0, w0, #1
str w0, [sp, 40]
ldr w0, [sp, 28]
asr w0, w0, 3
str w0, [sp, 44]
str wzr, [sp, 36]
b .L144
.L145:
ldr w0, [sp, 36]
bl bit_reverse
mov w2, w0
mov w1, 35
ldr w0, [sp, 40]
sub w0, w1, w0
lsr w0, w2, w0
and w1, w0, 65535
ldrsw x0, [sp, 36]
lsl x0, x0, 1
ldr x2, [sp, 16]
add x0, x2, x0
ubfiz w1, w1, 2, 14
and w1, w1, 65535
strh w1, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L144:
ldr w1, [sp, 36]
ldr w0, [sp, 44]
cmp w1, w0
blt .L145
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE28:
.size compute_bitreverse, .-compute_bitreverse
.align 2
.type init_blocksize, %function
init_blocksize:
.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 w1, [sp, 20]
str w2, [sp, 16]
ldr w0, [sp, 16]
asr w0, w0, 1
str w0, [sp, 36]
ldr w0, [sp, 16]
asr w0, w0, 2
str w0, [sp, 40]
ldr w0, [sp, 16]
asr w0, w0, 3
str w0, [sp, 44]
ldrsw x0, [sp, 36]
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 24]
bl setup_malloc
mov x2, x0
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 176
lsl x0, x0, 3
add x0, x1, x0
str x2, [x0, 8]
ldrsw x0, [sp, 36]
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 24]
bl setup_malloc
mov x2, x0
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 178
lsl x0, x0, 3
add x0, x1, x0
str x2, [x0, 8]
ldrsw x0, [sp, 40]
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 24]
bl setup_malloc
mov x2, x0
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 180
lsl x0, x0, 3
add x0, x1, x0
str x2, [x0, 8]
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 176
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
cmp x0, 0
beq .L147
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 178
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
cmp x0, 0
beq .L147
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 180
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
cmp x0, 0
bne .L148
.L147:
mov w1, 3
ldr x0, [sp, 24]
bl error
b .L149
.L148:
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 176
lsl x0, x0, 3
add x0, x1, x0
ldr x4, [x0, 8]
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 178
lsl x0, x0, 3
add x0, x1, x0
ldr x2, [x0, 8]
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 180
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
mov x3, x0
mov x1, x4
ldr w0, [sp, 16]
bl compute_twiddle_factors
ldrsw x0, [sp, 36]
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 24]
bl setup_malloc
mov x2, x0
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 182
lsl x0, x0, 3
add x0, x1, x0
str x2, [x0, 8]
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 182
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
cmp x0, 0
bne .L150
mov w1, 3
ldr x0, [sp, 24]
bl error
b .L149
.L150:
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 182
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
mov x1, x0
ldr w0, [sp, 16]
bl compute_window
ldrsw x0, [sp, 44]
lsl w0, w0, 1
mov w1, w0
ldr x0, [sp, 24]
bl setup_malloc
mov x2, x0
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 184
lsl x0, x0, 3
add x0, x1, x0
str x2, [x0, 8]
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 184
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
cmp x0, 0
bne .L151
mov w1, 3
ldr x0, [sp, 24]
bl error
b .L149
.L151:
ldr x1, [sp, 24]
ldrsw x0, [sp, 20]
add x0, x0, 184
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
mov x1, x0
ldr w0, [sp, 16]
bl compute_bitreverse
mov w0, 1
.L149:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE29:
.size init_blocksize, .-init_blocksize
.align 2
.type neighbors, %function
neighbors:
.LFB30:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str x2, [sp, 8]
str x3, [sp]
mov w0, -1
str w0, [sp, 36]
mov w0, 65536
str w0, [sp, 40]
str wzr, [sp, 44]
b .L153
.L156:
ldrsw x0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bge .L154
ldrsw x0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w1, [x0]
ldrsw x0, [sp, 20]
lsl x0, x0, 1
ldr x2, [sp, 24]
add x0, x2, x0
ldrh w0, [x0]
cmp w1, w0
bcs .L154
ldr x0, [sp, 8]
ldr w1, [sp, 44]
str w1, [x0]
ldrsw x0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
str w0, [sp, 36]
.L154:
ldrsw x0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
mov w1, w0
ldr w0, [sp, 40]
cmp w0, w1
ble .L155
ldrsw x0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w1, [x0]
ldrsw x0, [sp, 20]
lsl x0, x0, 1
ldr x2, [sp, 24]
add x0, x2, x0
ldrh w0, [x0]
cmp w1, w0
bls .L155
ldr x0, [sp]
ldr w1, [sp, 44]
str w1, [x0]
ldrsw x0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
str w0, [sp, 40]
.L155:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L153:
ldr w1, [sp, 44]
ldr w0, [sp, 20]
cmp w1, w0
blt .L156
nop
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE30:
.size neighbors, .-neighbors
.align 2
.type point_compare, %function
point_compare:
.LFB31:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp, 8]
str x0, [sp, 16]
ldr x0, [sp]
str x0, [sp, 24]
ldr x0, [sp, 16]
ldrh w1, [x0]
ldr x0, [sp, 24]
ldrh w0, [x0]
cmp w1, w0
bcc .L158
ldr x0, [sp, 16]
ldrh w1, [x0]
ldr x0, [sp, 24]
ldrh w0, [x0]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L160
.L158:
mov w0, -1
.L160:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE31:
.size point_compare, .-point_compare
.align 2
.type get8, %function
get8:
.LFB32:
.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]
ldr x0, [x0, 64]
cmp x0, 0
beq .L162
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 80]
cmp x1, x0
bcc .L163
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 152]
mov w0, 0
b .L164
.L163:
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
ldrb w0, [x0]
b .L164
.L162:
ldr x0, [sp, 24]
ldr x0, [x0, 48]
bl fgetc
str w0, [sp, 44]
ldr w0, [sp, 44]
cmn w0, #1
bne .L165
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 152]
mov w0, 0
b .L164
.L165:
ldr w0, [sp, 44]
and w0, w0, 255
.L164:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE32:
.size get8, .-get8
.align 2
.type get32, %function
get32:
.LFB33:
.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 get8
and w0, w0, 255
str w0, [sp, 44]
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
lsl w0, w0, 8
mov w1, w0
ldr w0, [sp, 44]
add w0, w0, w1
str w0, [sp, 44]
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
lsl w0, w0, 16
mov w1, w0
ldr w0, [sp, 44]
add w0, w0, w1
str w0, [sp, 44]
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
lsl w0, w0, 24
ldr w1, [sp, 44]
add w0, w1, w0
str w0, [sp, 44]
ldr w0, [sp, 44]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE33:
.size get32, .-get32
.align 2
.type getn, %function
getn:
.LFB34:
.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 w2, [sp, 28]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
cmp x0, 0
beq .L169
ldr x0, [sp, 40]
ldr x1, [x0, 64]
ldrsw x0, [sp, 28]
add x1, x1, x0
ldr x0, [sp, 40]
ldr x0, [x0, 80]
cmp x1, x0
bls .L170
ldr x0, [sp, 40]
mov w1, 1
str w1, [x0, 152]
mov w0, 0
b .L171
.L170:
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldrsw x1, [sp, 28]
mov x2, x1
mov x1, x0
ldr x0, [sp, 32]
bl memcpy
ldr x0, [sp, 40]
ldr x1, [x0, 64]
ldrsw x0, [sp, 28]
add x1, x1, x0
ldr x0, [sp, 40]
str x1, [x0, 64]
mov w0, 1
b .L171
.L169:
ldrsw x1, [sp, 28]
ldr x0, [sp, 40]
ldr x0, [x0, 48]
mov x3, x0
mov x2, 1
ldr x0, [sp, 32]
bl fread
cmp x0, 1
bne .L172
mov w0, 1
b .L171
.L172:
ldr x0, [sp, 40]
mov w1, 1
str w1, [x0, 152]
mov w0, 0
.L171:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE34:
.size getn, .-getn
.align 2
.type skip, %function
skip:
.LFB35:
.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]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
cmp x0, 0
beq .L174
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldrsw x0, [sp, 20]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 64]
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 80]
cmp x1, x0
bcc .L177
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 152]
b .L177
.L174:
ldr x0, [sp, 24]
ldr x0, [x0, 48]
bl ftell
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr x3, [x0, 48]
ldrsw x1, [sp, 20]
ldr x0, [sp, 40]
add x0, x1, x0
mov w2, 0
mov x1, x0
mov x0, x3
bl fseek
b .L173
.L177:
nop
.L173:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE35:
.size skip, .-skip
.align 2
.type set_file_offset, %function
set_file_offset:
.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]
str w1, [sp, 20]
ldr x0, [sp, 24]
ldrb w0, [x0, 92]
cmp w0, 0
beq .L179
mov w0, 0
b .L180
.L179:
ldr x0, [sp, 24]
str wzr, [x0, 152]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
cmp x0, 0
beq .L181
ldr x0, [sp, 24]
ldr x1, [x0, 72]
ldr w0, [sp, 20]
add x1, x1, x0
ldr x0, [sp, 24]
ldr x0, [x0, 80]
cmp x1, x0
bcc .L182
ldr x0, [sp, 24]
ldr x1, [x0, 80]
ldr x0, [sp, 24]
str x1, [x0, 64]
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 152]
mov w0, 0
b .L180
.L182:
ldr x0, [sp, 24]
ldr x1, [x0, 72]
ldr w0, [sp, 20]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 64]
mov w0, 1
b .L180
.L181:
ldr x0, [sp, 24]
ldr w1, [x0, 56]
ldr w0, [sp, 20]
add w0, w1, w0
ldr w1, [sp, 20]
cmp w1, w0
bhi .L183
ldr w0, [sp, 20]
cmp w0, 0
bge .L184
.L183:
mov w0, 2147483647
str w0, [sp, 20]
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 152]
b .L185
.L184:
ldr x0, [sp, 24]
ldr w0, [x0, 56]
ldr w1, [sp, 20]
add w0, w1, w0
str w0, [sp, 20]
.L185:
ldr x0, [sp, 24]
ldr x0, [x0, 48]
ldr w1, [sp, 20]
mov w2, 0
bl fseek
cmp w0, 0
bne .L186
mov w0, 1
b .L180
.L186:
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 152]
ldr x0, [sp, 24]
ldr x3, [x0, 48]
ldr x0, [sp, 24]
ldr w0, [x0, 56]
uxtw x0, w0
mov w2, 2
mov x1, x0
mov x0, x3
bl fseek
mov w0, 0
.L180:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE36:
.size set_file_offset, .-set_file_offset
.data
.align 3
.type ogg_page_header, %object
.size ogg_page_header, 4
ogg_page_header:
.ascii "OggS"
.text
.align 2
.type capture_pattern, %function
capture_pattern:
.LFB37:
.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 get8
and w0, w0, 255
cmp w0, 79
beq .L188
mov w0, 0
b .L189
.L188:
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
cmp w0, 103
beq .L190
mov w0, 0
b .L189
.L190:
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
cmp w0, 103
beq .L191
mov w0, 0
b .L189
.L191:
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
cmp w0, 83
beq .L192
mov w0, 0
b .L189
.L192:
mov w0, 1
.L189:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE37:
.size capture_pattern, .-capture_pattern
.align 2
.type start_page_no_capturepattern, %function
start_page_no_capturepattern:
.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, 24]
ldr x0, [sp, 24]
ldrb w0, [x0, 1765]
cmp w0, 0
beq .L194
ldr x0, [sp, 24]
ldrb w0, [x0, 92]
cmp w0, 0
bne .L194
ldr x0, [sp, 24]
bl stb_vorbis_get_file_offset
sub w1, w0, #4
ldr x0, [sp, 24]
str w1, [x0, 100]
.L194:
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
cmp w0, 0
beq .L195
mov w1, 31
ldr x0, [sp, 24]
bl error
b .L196
.L195:
ldr x0, [sp, 24]
bl get8
and w1, w0, 255
ldr x0, [sp, 24]
strb w1, [x0, 1763]
ldr x0, [sp, 24]
bl get32
str w0, [sp, 52]
ldr x0, [sp, 24]
bl get32
str w0, [sp, 56]
ldr x0, [sp, 24]
bl get32
ldr x0, [sp, 24]
bl get32
str w0, [sp, 60]
ldr w1, [sp, 60]
ldr x0, [sp, 24]
str w1, [x0, 1500]
ldr x0, [sp, 24]
bl get32
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 1504]
ldr x0, [sp, 24]
add x1, x0, 1508
ldr x0, [sp, 24]
ldr w0, [x0, 1504]
mov w2, w0
ldr x0, [sp, 24]
bl getn
cmp w0, 0
bne .L197
mov w1, 10
ldr x0, [sp, 24]
bl error
b .L196
.L197:
ldr x0, [sp, 24]
mov w1, -2
str w1, [x0, 1792]
ldr w0, [sp, 52]
cmn w0, #1
bne .L198
ldr w0, [sp, 56]
cmn w0, #1
beq .L199
.L198:
ldr x0, [sp, 24]
ldr w0, [x0, 1504]
sub w0, w0, #1
str w0, [sp, 40]
b .L200
.L203:
ldr x1, [sp, 24]
ldrsw x0, [sp, 40]
add x0, x1, x0
ldrb w0, [x0, 1508]
cmp w0, 255
bne .L207
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 40]
.L200:
ldr w0, [sp, 40]
cmp w0, 0
bge .L203
b .L202
.L207:
nop
.L202:
ldr w0, [sp, 40]
cmp w0, 0
blt .L199
ldr x0, [sp, 24]
ldr w1, [sp, 40]
str w1, [x0, 1792]
ldr x0, [sp, 24]
ldr w1, [sp, 52]
str w1, [x0, 1796]
.L199:
ldr x0, [sp, 24]
ldrb w0, [x0, 1765]
cmp w0, 0
beq .L204
str wzr, [sp, 48]
str wzr, [sp, 44]
b .L205
.L206:
ldr x1, [sp, 24]
ldrsw x0, [sp, 44]
add x0, x1, x0
ldrb w0, [x0, 1508]
mov w1, w0
ldr w0, [sp, 48]
add w0, w0, w1
str w0, [sp, 48]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L205:
ldr x0, [sp, 24]
ldr w0, [x0, 1504]
ldr w1, [sp, 44]
cmp w1, w0
blt .L206
ldr x0, [sp, 24]
ldr w0, [x0, 1504]
add w0, w0, 27
ldr w1, [sp, 48]
add w0, w1, w0
str w0, [sp, 48]
ldr x0, [sp, 24]
ldr w1, [x0, 100]
ldr w0, [sp, 48]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 104]
ldr x0, [sp, 24]
ldr w1, [sp, 52]
str w1, [x0, 108]
.L204:
ldr x0, [sp, 24]
str wzr, [x0, 1768]
mov w0, 1
.L196:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE38:
.size start_page_no_capturepattern, .-start_page_no_capturepattern
.align 2
.type start_page, %function
start_page:
.LFB39:
.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 capture_pattern
cmp w0, 0
bne .L209
mov w1, 30
ldr x0, [sp, 24]
bl error
b .L210
.L209:
ldr x0, [sp, 24]
bl start_page_no_capturepattern
.L210:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE39:
.size start_page, .-start_page
.align 2
.type start_packet, %function
start_packet:
.LFB40:
.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 .L212
.L215:
ldr x0, [sp, 24]
bl start_page
cmp w0, 0
bne .L213
mov w0, 0
b .L214
.L213:
ldr x0, [sp, 24]
ldrb w0, [x0, 1763]
and w0, w0, 1
cmp w0, 0
beq .L212
mov w1, 32
ldr x0, [sp, 24]
bl error
b .L214
.L212:
ldr x0, [sp, 24]
ldr w0, [x0, 1768]
cmn w0, #1
beq .L215
ldr x0, [sp, 24]
str wzr, [x0, 1772]
ldr x0, [sp, 24]
str wzr, [x0, 1784]
ldr x0, [sp, 24]
str wzr, [x0, 1788]
ldr x0, [sp, 24]
strb wzr, [x0, 1764]
mov w0, 1
.L214:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE40:
.size start_packet, .-start_packet
.align 2
.type maybe_start_packet, %function
maybe_start_packet:
.LFB41:
.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]
ldr w0, [x0, 1768]
cmn w0, #1
bne .L217
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
str w0, [sp, 44]
ldr x0, [sp, 24]
ldr w0, [x0, 152]
cmp w0, 0
beq .L218
mov w0, 0
b .L219
.L218:
ldr w0, [sp, 44]
cmp w0, 79
beq .L220
mov w1, 30
ldr x0, [sp, 24]
bl error
b .L219
.L220:
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
cmp w0, 103
beq .L221
mov w1, 30
ldr x0, [sp, 24]
bl error
b .L219
.L221:
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
cmp w0, 103
beq .L222
mov w1, 30
ldr x0, [sp, 24]
bl error
b .L219
.L222:
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
cmp w0, 83
beq .L223
mov w1, 30
ldr x0, [sp, 24]
bl error
b .L219
.L223:
ldr x0, [sp, 24]
bl start_page_no_capturepattern
cmp w0, 0
bne .L224
mov w0, 0
b .L219
.L224:
ldr x0, [sp, 24]
ldrb w0, [x0, 1763]
and w0, w0, 1
cmp w0, 0
beq .L217
ldr x0, [sp, 24]
str wzr, [x0, 1772]
ldr x0, [sp, 24]
strb wzr, [x0, 1764]
mov w1, 32
ldr x0, [sp, 24]
bl error
b .L219
.L217:
ldr x0, [sp, 24]
bl start_packet
.L219:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE41:
.size maybe_start_packet, .-maybe_start_packet
.section .rodata
.align 3
.LC10:
.string "f->bytes_in_seg == 0"
.text
.align 2
.type next_segment, %function
next_segment:
.LFB42:
.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]
ldr w0, [x0, 1772]
cmp w0, 0
beq .L226
mov w0, 0
b .L227
.L226:
ldr x0, [sp, 24]
ldr w0, [x0, 1768]
cmn w0, #1
bne .L228
ldr x0, [sp, 24]
ldr w0, [x0, 1504]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 1776]
ldr x0, [sp, 24]
bl start_page
cmp w0, 0
bne .L229
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 1772]
mov w0, 0
b .L227
.L229:
ldr x0, [sp, 24]
ldrb w0, [x0, 1763]
and w0, w0, 1
cmp w0, 0
bne .L228
mov w1, 32
ldr x0, [sp, 24]
bl error
b .L227
.L228:
ldr x0, [sp, 24]
ldr w0, [x0, 1768]
add w2, w0, 1
ldr x1, [sp, 24]
str w2, [x1, 1768]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 1508]
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 254
bgt .L230
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 1772]
ldr x0, [sp, 24]
ldr w0, [x0, 1768]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 1776]
.L230:
ldr x0, [sp, 24]
ldr w1, [x0, 1768]
ldr x0, [sp, 24]
ldr w0, [x0, 1504]
cmp w1, w0
blt .L231
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0, 1768]
.L231:
ldr x0, [sp, 24]
ldrb w0, [x0, 1764]
cmp w0, 0
beq .L232
adrp x0, __PRETTY_FUNCTION__.16
add x3, x0, :lo12:__PRETTY_FUNCTION__.16
mov w2, 1555
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl __assert_fail
.L232:
ldr w0, [sp, 44]
and w1, w0, 255
ldr x0, [sp, 24]
strb w1, [x0, 1764]
ldr w0, [sp, 44]
.L227:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE42:
.size next_segment, .-next_segment
.section .rodata
.align 3
.LC11:
.string "f->bytes_in_seg > 0"
.text
.align 2
.type get8_packet_raw, %function
get8_packet_raw:
.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 x0, [sp, 24]
ldr x0, [sp, 24]
ldrb w0, [x0, 1764]
cmp w0, 0
bne .L234
ldr x0, [sp, 24]
ldr w0, [x0, 1772]
cmp w0, 0
beq .L235
mov w0, -1
b .L236
.L235:
ldr x0, [sp, 24]
bl next_segment
cmp w0, 0
bne .L234
mov w0, -1
b .L236
.L234:
ldr x0, [sp, 24]
ldrb w0, [x0, 1764]
cmp w0, 0
bne .L237
adrp x0, __PRETTY_FUNCTION__.15
add x3, x0, :lo12:__PRETTY_FUNCTION__.15
mov w2, 1569
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl __assert_fail
.L237:
ldr x0, [sp, 24]
ldrb w0, [x0, 1764]
sub w0, w0, #1
and w1, w0, 255
ldr x0, [sp, 24]
strb w1, [x0, 1764]
ldr x0, [sp, 24]
ldr w0, [x0, 1788]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1788]
ldr x0, [sp, 24]
bl get8
and w0, w0, 255
.L236:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE43:
.size get8_packet_raw, .-get8_packet_raw
.align 2
.type get8_packet, %function
get8_packet:
.LFB44:
.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 get8_packet_raw
str w0, [sp, 44]
ldr x0, [sp, 24]
str wzr, [x0, 1784]
ldr w0, [sp, 44]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE44:
.size get8_packet, .-get8_packet
.align 2
.type get32_packet, %function
get32_packet:
.LFB45:
.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 get8_packet
str w0, [sp, 44]
ldr x0, [sp, 24]
bl get8_packet
lsl w0, w0, 8
mov w1, w0
ldr w0, [sp, 44]
add w0, w0, w1
str w0, [sp, 44]
ldr x0, [sp, 24]
bl get8_packet
lsl w0, w0, 16
mov w1, w0
ldr w0, [sp, 44]
add w0, w0, w1
str w0, [sp, 44]
ldr x0, [sp, 24]
bl get8_packet
lsl w0, w0, 24
ldr w1, [sp, 44]
add w0, w1, w0
str w0, [sp, 44]
ldr w0, [sp, 44]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE45:
.size get32_packet, .-get32_packet
.align 2
.type flush_packet, %function
flush_packet:
.LFB46:
.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]
nop
.L243:
ldr x0, [sp, 24]
bl get8_packet_raw
cmn w0, #1
bne .L243
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE46:
.size flush_packet, .-flush_packet
.section .rodata
.align 3
.LC12:
.string "f->valid_bits >= n"
.text
.align 2
.type get_bits, %function
get_bits:
.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]
str w1, [sp, 20]
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
cmp w0, 0
bge .L245
mov w0, 0
b .L246
.L245:
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
ldr w1, [sp, 20]
cmp w1, w0
ble .L247
ldr w0, [sp, 20]
cmp w0, 24
ble .L248
mov w1, 24
ldr x0, [sp, 24]
bl get_bits
str w0, [sp, 44]
ldr w0, [sp, 20]
sub w0, w0, #24
mov w1, w0
ldr x0, [sp, 24]
bl get_bits
lsl w0, w0, 24
ldr w1, [sp, 44]
add w0, w1, w0
str w0, [sp, 44]
ldr w0, [sp, 44]
b .L246
.L248:
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
cmp w0, 0
bne .L250
ldr x0, [sp, 24]
str wzr, [x0, 1780]
b .L250
.L252:
ldr x0, [sp, 24]
bl get8_packet_raw
str w0, [sp, 40]
ldr w0, [sp, 40]
cmn w0, #1
bne .L251
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0, 1784]
mov w0, 0
b .L246
.L251:
ldr x0, [sp, 24]
ldr w0, [x0, 1780]
ldr x1, [sp, 24]
ldr w1, [x1, 1784]
ldr w2, [sp, 40]
lsl w1, w2, w1
add w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 1780]
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 1784]
.L250:
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
ldr w1, [sp, 20]
cmp w1, w0
bgt .L252
.L247:
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
ldr w1, [sp, 20]
cmp w1, w0
ble .L253
adrp x0, __PRETTY_FUNCTION__.14
add x3, x0, :lo12:__PRETTY_FUNCTION__.14
mov w2, 1623
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl __assert_fail
.L253:
ldr x0, [sp, 24]
ldr w0, [x0, 1780]
ldr w1, [sp, 20]
mov w2, 1
lsl w1, w2, w1
sub w1, w1, #1
and w0, w0, w1
str w0, [sp, 44]
ldr x0, [sp, 24]
ldr w1, [x0, 1780]
ldr w0, [sp, 20]
lsr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 1780]
ldr x0, [sp, 24]
ldr w1, [x0, 1784]
ldr w0, [sp, 20]
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 1784]
ldr w0, [sp, 44]
.L246:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE47:
.size get_bits, .-get_bits
.align 2
.type prep_huffman, %function
prep_huffman:
.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 x0, [sp, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
cmp w0, 24
bgt .L254
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
cmp w0, 0
bne .L259
ldr x0, [sp, 24]
str wzr, [x0, 1780]
.L259:
ldr x0, [sp, 24]
ldr w0, [x0, 1772]
cmp w0, 0
beq .L257
ldr x0, [sp, 24]
ldrb w0, [x0, 1764]
cmp w0, 0
beq .L260
.L257:
ldr x0, [sp, 24]
bl get8_packet_raw
str w0, [sp, 44]
ldr w0, [sp, 44]
cmn w0, #1
beq .L261
ldr x0, [sp, 24]
ldr w1, [x0, 1780]
ldr w2, [sp, 44]
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
lsl w0, w2, w0
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 1780]
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 1784]
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
cmp w0, 24
ble .L259
b .L254
.L260:
nop
b .L254
.L261:
nop
.L254:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE48:
.size prep_huffman, .-prep_huffman
.section .rodata
.align 3
.LC13:
.string "!c->sparse"
.text
.align 2
.type codebook_decode_scalar_raw, %function
codebook_decode_scalar_raw:
.LFB49:
.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]
bl prep_huffman
ldr x0, [sp, 16]
ldr x0, [x0, 40]
cmp x0, 0
bne .L263
ldr x0, [sp, 16]
ldr x0, [x0, 2096]
cmp x0, 0
bne .L263
mov w0, -1
b .L264
.L263:
ldr x0, [sp, 16]
ldr w0, [x0, 4]
cmp w0, 8
ble .L265
ldr x0, [sp, 16]
ldr x0, [x0, 2096]
cmp x0, 0
cset w0, ne
and w0, w0, 255
b .L266
.L265:
ldr x0, [sp, 16]
ldr x0, [x0, 40]
cmp x0, 0
cset w0, eq
and w0, w0, 255
.L266:
cmp w0, 0
beq .L267
ldr x0, [sp, 24]
ldr w0, [x0, 1780]
bl bit_reverse
str w0, [sp, 52]
str wzr, [sp, 44]
ldr x0, [sp, 16]
ldr w0, [x0, 2112]
str w0, [sp, 48]
b .L268
.L270:
ldr w0, [sp, 48]
asr w0, w0, 1
ldr w1, [sp, 44]
add w0, w1, w0
str w0, [sp, 60]
ldr x0, [sp, 16]
ldr x1, [x0, 2096]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 52]
cmp w1, w0
bcc .L269
ldr w0, [sp, 60]
str w0, [sp, 44]
ldr w0, [sp, 48]
asr w0, w0, 1
ldr w1, [sp, 48]
sub w0, w1, w0
str w0, [sp, 48]
b .L268
.L269:
ldr w0, [sp, 48]
asr w0, w0, 1
str w0, [sp, 48]
.L268:
ldr w0, [sp, 48]
cmp w0, 1
bgt .L270
ldr x0, [sp, 16]
ldrb w0, [x0, 27]
cmp w0, 0
bne .L271
ldr x0, [sp, 16]
ldr x1, [x0, 2104]
ldrsw x0, [sp, 44]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 44]
.L271:
ldr x0, [sp, 16]
ldr x1, [x0, 8]
ldrsw x0, [sp, 44]
add x0, x1, x0
ldrb w0, [x0]
str w0, [sp, 56]
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
ldr w1, [sp, 56]
cmp w1, w0
bgt .L272
ldr x0, [sp, 24]
ldr w1, [x0, 1780]
ldr w0, [sp, 56]
lsr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 1780]
ldr x0, [sp, 24]
ldr w1, [x0, 1784]
ldr w0, [sp, 56]
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 1784]
ldr w0, [sp, 44]
b .L264
.L272:
ldr x0, [sp, 24]
str wzr, [x0, 1784]
mov w0, -1
b .L264
.L267:
ldr x0, [sp, 16]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L273
adrp x0, __PRETTY_FUNCTION__.13
add x3, x0, :lo12:__PRETTY_FUNCTION__.13
mov w2, 1696
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl __assert_fail
.L273:
str wzr, [sp, 40]
b .L274
.L278:
ldr x0, [sp, 16]
ldr x1, [x0, 8]
ldrsw x0, [sp, 40]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 255
beq .L279
ldr x0, [sp, 16]
ldr x1, [x0, 40]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 1780]
ldr x2, [sp, 16]
ldr x3, [x2, 8]
ldrsw x2, [sp, 40]
add x2, x3, x2
ldrb w2, [x2]
mov w3, w2
mov w2, 1
lsl w2, w2, w3
sub w2, w2, #1
and w0, w0, w2
cmp w1, w0
bne .L276
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
ldr x1, [sp, 16]
ldr x2, [x1, 8]
ldrsw x1, [sp, 40]
add x1, x2, x1
ldrb w1, [x1]
cmp w0, w1
blt .L277
ldr x0, [sp, 24]
ldr w0, [x0, 1780]
ldr x1, [sp, 16]
ldr x2, [x1, 8]
ldrsw x1, [sp, 40]
add x1, x2, x1
ldrb w1, [x1]
lsr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 1780]
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
ldr x1, [sp, 16]
ldr x2, [x1, 8]
ldrsw x1, [sp, 40]
add x1, x2, x1
ldrb w1, [x1]
sub w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 1784]
ldr w0, [sp, 40]
b .L264
.L277:
ldr x0, [sp, 24]
str wzr, [x0, 1784]
mov w0, -1
b .L264
.L279:
nop
.L276:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L274:
ldr x0, [sp, 16]
ldr w0, [x0, 4]
ldr w1, [sp, 40]
cmp w1, w0
blt .L278
mov w1, 21
ldr x0, [sp, 24]
bl error
ldr x0, [sp, 24]
str wzr, [x0, 1784]
mov w0, -1
.L264:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE49:
.size codebook_decode_scalar_raw, .-codebook_decode_scalar_raw
.section .rodata
.align 3
.LC14:
.string "z < c->sorted_entries"
.text
.align 2
.type codebook_decode_start, %function
codebook_decode_start:
.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 x0, [sp, 24]
str x1, [sp, 16]
mov w0, -1
str w0, [sp, 40]
ldr x0, [sp, 16]
ldrb w0, [x0, 25]
cmp w0, 0
bne .L281
mov w1, 21
ldr x0, [sp, 24]
bl error
b .L282
.L281:
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
cmp w0, 9
bgt .L283
ldr x0, [sp, 24]
bl prep_huffman
.L283:
ldr x0, [sp, 24]
ldr w0, [x0, 1780]
and w0, w0, 1023
str w0, [sp, 40]
ldr x0, [sp, 16]
ldrsw x1, [sp, 40]
add x1, x1, 24
ldrsh w0, [x0, x1, lsl 1]
str w0, [sp, 40]
ldr w0, [sp, 40]
cmp w0, 0
blt .L284
ldr x0, [sp, 16]
ldr x1, [x0, 8]
ldrsw x0, [sp, 40]
add x0, x1, x0
ldrb w0, [x0]
str w0, [sp, 44]
ldr x0, [sp, 24]
ldr w1, [x0, 1780]
ldr w0, [sp, 44]
lsr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 1780]
ldr x0, [sp, 24]
ldr w1, [x0, 1784]
ldr w0, [sp, 44]
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 1784]
ldr x0, [sp, 24]
ldr w0, [x0, 1784]
cmp w0, 0
bge .L285
ldr x0, [sp, 24]
str wzr, [x0, 1784]
mov w0, -1
str w0, [sp, 40]
b .L285
.L284:
ldr x1, [sp, 16]
ldr x0, [sp, 24]
bl codebook_decode_scalar_raw
str w0, [sp, 40]
.L285:
ldr x0, [sp, 16]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L286
ldr x0, [sp, 16]
ldr w0, [x0, 2112]
ldr w1, [sp, 40]
cmp w1, w0
blt .L286
adrp x0, __PRETTY_FUNCTION__.12
add x3, x0, :lo12:__PRETTY_FUNCTION__.12
mov w2, 1784
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl __assert_fail
.L286:
ldr w0, [sp, 40]
cmp w0, 0
bge .L282
ldr x0, [sp, 24]
ldrb w0, [x0, 1764]
cmp w0, 0
bne .L287
ldr x0, [sp, 24]
ldr w0, [x0, 1772]
cmp w0, 0
beq .L287
ldr w0, [sp, 40]
b .L288
.L287:
mov w1, 21
ldr x0, [sp, 24]
bl error
.L282:
ldr w0, [sp, 40]
.L288:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE50:
.size codebook_decode_start, .-codebook_decode_start
.align 2
.type codebook_decode, %function
codebook_decode:
.LFB51:
.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]
str w3, [sp, 20]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl codebook_decode_start
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
bge .L290
mov w0, 0
b .L291
.L290:
ldr x0, [sp, 32]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
ble .L292
ldr x0, [sp, 32]
ldr w0, [x0]
str w0, [sp, 20]
.L292:
ldr x0, [sp, 32]
ldr w0, [x0]
ldr w1, [sp, 68]
mul w0, w1, w0
str w0, [sp, 68]
ldr x0, [sp, 32]
ldrb w0, [x0, 26]
cmp w0, 0
beq .L293
str wzr, [sp, 64]
str wzr, [sp, 60]
b .L294
.L295:
ldr x0, [sp, 32]
ldr x1, [x0, 32]
ldr w2, [sp, 68]
ldr w0, [sp, 60]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [x0]
ldr s1, [sp, 64]
fadd s0, s1, s0
str s0, [sp, 76]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [sp, 76]
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 32]
ldr s0, [x0, 16]
ldr s1, [sp, 76]
fadd s0, s1, s0
str s0, [sp, 64]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L294:
ldr w1, [sp, 60]
ldr w0, [sp, 20]
cmp w1, w0
blt .L295
b .L296
.L293:
str wzr, [sp, 72]
str wzr, [sp, 60]
b .L297
.L298:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr x0, [sp, 32]
ldr x1, [x0, 32]
ldr w2, [sp, 68]
ldr w0, [sp, 60]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s2, [x0]
ldr s0, [sp, 72]
fadd s0, s2, s0
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
fadd s0, s1, s0
str s0, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L297:
ldr w1, [sp, 60]
ldr w0, [sp, 20]
cmp w1, w0
blt .L298
.L296:
mov w0, 1
.L291:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE51:
.size codebook_decode, .-codebook_decode
.align 2
.type codebook_decode_step, %function
codebook_decode_step:
.LFB52:
.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]
str w3, [sp, 20]
str w4, [sp, 16]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl codebook_decode_start
str w0, [sp, 56]
str wzr, [sp, 52]
ldr w0, [sp, 56]
cmp w0, 0
bge .L300
mov w0, 0
b .L301
.L300:
ldr x0, [sp, 32]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
ble .L302
ldr x0, [sp, 32]
ldr w0, [x0]
str w0, [sp, 20]
.L302:
ldr x0, [sp, 32]
ldr w0, [x0]
ldr w1, [sp, 56]
mul w0, w1, w0
str w0, [sp, 56]
str wzr, [sp, 48]
b .L303
.L305:
ldr x0, [sp, 32]
ldr x1, [x0, 32]
ldr w2, [sp, 56]
ldr w0, [sp, 48]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [x0]
ldr s1, [sp, 52]
fadd s0, s1, s0
str s0, [sp, 60]
ldr w1, [sp, 48]
ldr w0, [sp, 16]
mul w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w1, [sp, 48]
ldr w0, [sp, 16]
mul w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [sp, 60]
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 32]
ldrb w0, [x0, 26]
cmp w0, 0
beq .L304
ldr s0, [sp, 60]
str s0, [sp, 52]
.L304:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L303:
ldr w1, [sp, 48]
ldr w0, [sp, 20]
cmp w1, w0
blt .L305
mov w0, 1
.L301:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE52:
.size codebook_decode_step, .-codebook_decode_step
.section .rodata
.align 3
.LC15:
.string "!c->sparse || z < c->sorted_entries"
.text
.align 2
.type codebook_decode_deinterleave_repeat, %function
codebook_decode_deinterleave_repeat:
.LFB53:
.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, 72]
str x1, [sp, 64]
str x2, [sp, 56]
str w3, [sp, 52]
str x4, [sp, 40]
str x5, [sp, 32]
str w6, [sp, 48]
str w7, [sp, 28]
ldr x0, [sp, 40]
ldr w0, [x0]
str w0, [sp, 92]
ldr x0, [sp, 32]
ldr w0, [x0]
str w0, [sp, 96]
ldr x0, [sp, 64]
ldr w0, [x0]
str w0, [sp, 108]
ldr x0, [sp, 64]
ldrb w0, [x0, 25]
cmp w0, 0
bne .L309
mov w1, 21
ldr x0, [sp, 72]
bl error
b .L308
.L327:
str wzr, [sp, 112]
ldr x0, [sp, 72]
ldr w0, [x0, 1784]
cmp w0, 9
bgt .L310
ldr x0, [sp, 72]
bl prep_huffman
.L310:
ldr x0, [sp, 72]
ldr w0, [x0, 1780]
and w0, w0, 1023
str w0, [sp, 104]
ldr x0, [sp, 64]
ldrsw x1, [sp, 104]
add x1, x1, 24
ldrsh w0, [x0, x1, lsl 1]
str w0, [sp, 104]
ldr w0, [sp, 104]
cmp w0, 0
blt .L311
ldr x0, [sp, 64]
ldr x1, [x0, 8]
ldrsw x0, [sp, 104]
add x0, x1, x0
ldrb w0, [x0]
str w0, [sp, 116]
ldr x0, [sp, 72]
ldr w1, [x0, 1780]
ldr w0, [sp, 116]
lsr w1, w1, w0
ldr x0, [sp, 72]
str w1, [x0, 1780]
ldr x0, [sp, 72]
ldr w1, [x0, 1784]
ldr w0, [sp, 116]
sub w1, w1, w0
ldr x0, [sp, 72]
str w1, [x0, 1784]
ldr x0, [sp, 72]
ldr w0, [x0, 1784]
cmp w0, 0
bge .L312
ldr x0, [sp, 72]
str wzr, [x0, 1784]
mov w0, -1
str w0, [sp, 104]
b .L312
.L311:
ldr x1, [sp, 64]
ldr x0, [sp, 72]
bl codebook_decode_scalar_raw
str w0, [sp, 104]
.L312:
ldr x0, [sp, 64]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L313
ldr x0, [sp, 64]
ldr w0, [x0, 2112]
ldr w1, [sp, 104]
cmp w1, w0
blt .L313
adrp x0, __PRETTY_FUNCTION__.11
add x3, x0, :lo12:__PRETTY_FUNCTION__.11
mov w2, 1878
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl __assert_fail
.L313:
ldr w0, [sp, 104]
cmp w0, 0
bge .L314
ldr x0, [sp, 72]
ldrb w0, [x0, 1764]
cmp w0, 0
bne .L315
ldr x0, [sp, 72]
ldr w0, [x0, 1772]
cmp w0, 0
beq .L315
mov w0, 0
b .L308
.L315:
mov w1, 21
ldr x0, [sp, 72]
bl error
b .L308
.L314:
ldr w1, [sp, 96]
ldr w0, [sp, 52]
mul w1, w1, w0
ldr w0, [sp, 92]
add w1, w1, w0
ldr w0, [sp, 108]
add w1, w1, w0
ldr w2, [sp, 48]
ldr w0, [sp, 52]
mul w0, w2, w0
cmp w1, w0
ble .L316
ldr w1, [sp, 48]
ldr w0, [sp, 52]
mul w1, w1, w0
ldr w2, [sp, 96]
ldr w0, [sp, 52]
mul w2, w2, w0
ldr w0, [sp, 92]
sub w0, w2, w0
sub w0, w1, w0
str w0, [sp, 108]
.L316:
ldr x0, [sp, 64]
ldr w0, [x0]
ldr w1, [sp, 104]
mul w0, w1, w0
str w0, [sp, 104]
ldr x0, [sp, 64]
ldrb w0, [x0, 26]
cmp w0, 0
beq .L317
str wzr, [sp, 100]
b .L318
.L321:
ldr x0, [sp, 64]
ldr x1, [x0, 32]
ldr w2, [sp, 104]
ldr w0, [sp, 100]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [x0]
ldr s1, [sp, 112]
fadd s0, s1, s0
str s0, [sp, 124]
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr x0, [x0]
cmp x0, 0
beq .L319
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 96]
lsl x0, x0, 2
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 96]
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [sp, 124]
fadd s0, s1, s0
str s0, [x0]
.L319:
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
ldr w1, [sp, 92]
ldr w0, [sp, 52]
cmp w1, w0
bne .L320
str wzr, [sp, 92]
ldr w0, [sp, 96]
add w0, w0, 1
str w0, [sp, 96]
.L320:
ldr s0, [sp, 124]
str s0, [sp, 112]
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
.L318:
ldr w1, [sp, 100]
ldr w0, [sp, 108]
cmp w1, w0
blt .L321
b .L322
.L317:
str wzr, [sp, 100]
b .L323
.L326:
ldr x0, [sp, 64]
ldr x1, [x0, 32]
ldr w2, [sp, 104]
ldr w0, [sp, 100]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [x0]
ldr s1, [sp, 112]
fadd s0, s1, s0
str s0, [sp, 120]
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr x0, [x0]
cmp x0, 0
beq .L324
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 96]
lsl x0, x0, 2
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 96]
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [sp, 120]
fadd s0, s1, s0
str s0, [x0]
.L324:
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
ldr w1, [sp, 92]
ldr w0, [sp, 52]
cmp w1, w0
bne .L325
str wzr, [sp, 92]
ldr w0, [sp, 96]
add w0, w0, 1
str w0, [sp, 96]
.L325:
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
.L323:
ldr w1, [sp, 100]
ldr w0, [sp, 108]
cmp w1, w0
blt .L326
.L322:
ldr w1, [sp, 28]
ldr w0, [sp, 108]
sub w0, w1, w0
str w0, [sp, 28]
.L309:
ldr w0, [sp, 28]
cmp w0, 0
bgt .L327
ldr x0, [sp, 40]
ldr w1, [sp, 92]
str w1, [x0]
ldr x0, [sp, 32]
ldr w1, [sp, 96]
str w1, [x0]
mov w0, 1
.L308:
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE53:
.size codebook_decode_deinterleave_repeat, .-codebook_decode_deinterleave_repeat
.align 2
.type predict_point, %function
predict_point:
.LFB54:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, 28]
str w1, [sp, 24]
str w2, [sp, 20]
str w3, [sp, 16]
str w4, [sp, 12]
ldr w1, [sp, 12]
ldr w0, [sp, 16]
sub w0, w1, w0
str w0, [sp, 32]
ldr w1, [sp, 20]
ldr w0, [sp, 24]
sub w0, w1, w0
str w0, [sp, 36]
ldr w0, [sp, 32]
cmp w0, 0
csneg w1, w0, w0, ge
ldr w2, [sp, 28]
ldr w0, [sp, 24]
sub w0, w2, w0
mul w0, w1, w0
str w0, [sp, 40]
ldr w1, [sp, 40]
ldr w0, [sp, 36]
sdiv w0, w1, w0
str w0, [sp, 44]
ldr w0, [sp, 32]
cmp w0, 0
bge .L329
ldr w1, [sp, 16]
ldr w0, [sp, 44]
sub w0, w1, w0
b .L331
.L329:
ldr w1, [sp, 16]
ldr w0, [sp, 44]
add w0, w1, w0
.L331:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE54:
.size predict_point, .-predict_point
.data
.align 3
.type inverse_db_table, %object
.size inverse_db_table, 1024
inverse_db_table:
.word 870626366
.word 871600393
.word 872526475
.word 873078844
.word 873667107
.word 874293600
.word 874960807
.word 875671371
.word 876428112
.word 877234032
.word 878092323
.word 879006392
.word 879979861
.word 880910216
.word 881462268
.word 882050195
.word 882676329
.word 883343154
.word 884053311
.word 884809619
.word 885615076
.word 886472877
.word 887386422
.word 888359334
.word 889293960
.word 889845696
.word 890433286
.word 891059062
.word 891725504
.word 892435255
.word 893191130
.word 893996126
.word 894853435
.word 895766457
.word 896738812
.word 897677706
.word 898229126
.word 898816380
.word 899441797
.word 900107858
.word 900817203
.word 901572645
.word 902377180
.word 903233998
.word 904146497
.word 905118295
.word 906061455
.word 906612559
.word 907199477
.word 907824536
.word 908490216
.word 909199154
.word 909954164
.word 910758238
.word 911614565
.word 912526542
.word 913497784
.word 914445207
.word 914995996
.word 915582578
.word 916207279
.word 916872577
.word 917581109
.word 918335687
.word 919139300
.word 919995137
.word 920906592
.word 921877278
.word 922828962
.word 923379435
.word 923965681
.word 924590025
.word 925254942
.word 925963069
.word 926717214
.word 927520367
.word 928375714
.word 929286647
.word 930256777
.word 931212719
.word 931762878
.word 932348788
.word 932972774
.word 933637310
.word 934345031
.word 935098745
.word 935901438
.word 936756295
.word 937666706
.word 938636280
.word 939596480
.word 940146323
.word 940731897
.word 941355526
.word 942019682
.word 942726998
.word 943480280
.word 944282514
.word 945136882
.word 946046771
.word 947015790
.word 947980243
.word 948529771
.word 949115010
.word 949738282
.word 950402057
.word 951108968
.word 951861819
.word 952663593
.word 953517472
.word 954426841
.word 955395304
.word 956364009
.word 956913222
.word 957498126
.word 958121041
.word 958784437
.word 959490943
.word 960243362
.word 961044677
.word 961898067
.word 962806915
.word 963774824
.word 964747777
.word 965296676
.word 965881245
.word 966503803
.word 967166819
.word 967872921
.word 968624909
.word 969425766
.word 970278667
.word 971186994
.word 972154349
.word 973131549
.word 973680133
.word 974264368
.word 974886569
.word 975549205
.word 976254903
.word 977006460
.word 977806858
.word 978659271
.word 979567078
.word 980533880
.word 981515323
.word 982063593
.word 982647494
.word 983269339
.word 983931595
.word 984636888
.word 985388015
.word 986187955
.word 987039880
.word 987947167
.word 988913415
.word 989899100
.word 990447056
.word 991030622
.word 991652111
.word 992313988
.word 993018877
.word 993769575
.word 994569057
.word 995420493
.word 996327261
.word 997292956
.word 998282879
.word 998830522
.word 999413753
.word 1000034887
.word 1000696385
.word 1001400871
.word 1002151138
.word 1002950162
.word 1003801111
.word 1004707360
.word 1005672501
.word 1006666662
.word 1007213991
.word 1007796888
.word 1008417666
.word 1009078785
.word 1009782868
.word 1010532705
.word 1011331272
.word 1012181733
.word 1013087464
.word 1014052052
.word 1015050447
.word 1015597462
.word 1016180026
.word 1016800448
.word 1017461189
.word 1018164869
.word 1018914277
.word 1019712386
.word 1020562361
.word 1021467572
.word 1022431609
.word 1023434235
.word 1023980937
.word 1024563167
.word 1025183234
.word 1025843597
.word 1026546873
.word 1027295853
.word 1028093504
.word 1028942993
.word 1029847685
.word 1030811170
.word 1031818026
.word 1032364415
.word 1032946312
.word 1033566024
.word 1034226008
.word 1034928882
.word 1035677432
.word 1036474627
.word 1037323629
.word 1038227804
.word 1039190737
.word 1040201819
.word 1040747895
.word 1041329459
.word 1041948816
.word 1042608423
.word 1043310894
.word 1044059015
.word 1044855754
.word 1045704269
.word 1046607927
.word 1047570308
.word 1048585615
.word 1049131379
.word 1049712610
.word 1050331612
.word 1050990841
.word 1051692909
.word 1052440603
.word 1053236885
.word 1054084915
.word 1054988055
.word 1055949885
.word 1056969414
.word 1057514866
.word 1058095763
.word 1058714411
.word 1059373262
.word 1060074929
.word 1060822194
.word 1061618021
.word 1062465565
.word 1063368187
.word 1064329467
.word 1065353216
.text
.align 2
.type draw_line, %function
draw_line:
.LFB55:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str w3, [sp, 12]
str w4, [sp, 8]
str w5, [sp, 4]
ldr w1, [sp, 8]
ldr w0, [sp, 16]
sub w0, w1, w0
str w0, [sp, 48]
ldr w1, [sp, 12]
ldr w0, [sp, 20]
sub w0, w1, w0
str w0, [sp, 52]
ldr w0, [sp, 48]
cmp w0, 0
csneg w0, w0, w0, ge
str w0, [sp, 56]
ldr w0, [sp, 20]
str w0, [sp, 32]
ldr w0, [sp, 16]
str w0, [sp, 36]
str wzr, [sp, 40]
ldr w1, [sp, 48]
ldr w0, [sp, 52]
sdiv w0, w1, w0
str w0, [sp, 60]
ldr w0, [sp, 48]
cmp w0, 0
bge .L333
ldr w0, [sp, 60]
sub w0, w0, #1
str w0, [sp, 44]
b .L334
.L333:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 44]
.L334:
ldr w0, [sp, 60]
cmp w0, 0
csneg w1, w0, w0, ge
ldr w0, [sp, 52]
mul w0, w1, w0
ldr w1, [sp, 56]
sub w0, w1, w0
str w0, [sp, 56]
ldr w1, [sp, 12]
ldr w0, [sp, 4]
cmp w1, w0
ble .L335
ldr w0, [sp, 4]
str w0, [sp, 12]
.L335:
ldr w1, [sp, 32]
ldr w0, [sp, 12]
cmp w1, w0
bge .L341
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w0, [sp, 36]
and w1, w0, 255
adrp x0, inverse_db_table
add x0, x0, :lo12:inverse_db_table
sxtw x1, w1
ldr s0, [x0, x1, lsl 2]
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
fmul s0, s1, s0
str s0, [x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
b .L337
.L340:
ldr w1, [sp, 40]
ldr w0, [sp, 56]
add w0, w1, w0
str w0, [sp, 40]
ldr w1, [sp, 40]
ldr w0, [sp, 52]
cmp w1, w0
blt .L338
ldr w1, [sp, 40]
ldr w0, [sp, 52]
sub w0, w1, w0
str w0, [sp, 40]
ldr w1, [sp, 36]
ldr w0, [sp, 44]
add w0, w1, w0
str w0, [sp, 36]
b .L339
.L338:
ldr w1, [sp, 36]
ldr w0, [sp, 60]
add w0, w1, w0
str w0, [sp, 36]
.L339:
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w0, [sp, 36]
and w1, w0, 255
adrp x0, inverse_db_table
add x0, x0, :lo12:inverse_db_table
sxtw x1, w1
ldr s0, [x0, x1, lsl 2]
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
fmul s0, s1, s0
str s0, [x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L337:
ldr w1, [sp, 32]
ldr w0, [sp, 12]
cmp w1, w0
blt .L340
.L341:
nop
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE55:
.size draw_line, .-draw_line
.align 2
.type residue_decode, %function
residue_decode:
.LFB56:
.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, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str w3, [sp, 36]
str w4, [sp, 32]
str w5, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
bne .L343
ldr x0, [sp, 48]
ldr w0, [x0]
ldr w1, [sp, 32]
sdiv w0, w1, w0
str w0, [sp, 76]
str wzr, [sp, 72]
b .L344
.L347:
ldrsw x1, [sp, 36]
ldrsw x0, [sp, 72]
add x0, x1, x0
lsl x0, x0, 2
ldr x1, [sp, 40]
add x2, x1, x0
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sub w1, w1, w0
ldr w0, [sp, 72]
sub w0, w1, w0
ldr w4, [sp, 76]
mov w3, w0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl codebook_decode_step
cmp w0, 0
bne .L345
mov w0, 0
b .L346
.L345:
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L344:
ldr w1, [sp, 72]
ldr w0, [sp, 76]
cmp w1, w0
blt .L347
b .L348
.L343:
str wzr, [sp, 72]
b .L349
.L351:
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x2, x1, x0
ldr w1, [sp, 32]
ldr w0, [sp, 72]
sub w0, w1, w0
mov w3, w0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl codebook_decode
cmp w0, 0
bne .L350
mov w0, 0
b .L346
.L350:
ldr x0, [sp, 48]
ldr w0, [x0]
ldr w1, [sp, 72]
add w0, w1, w0
str w0, [sp, 72]
ldr x0, [sp, 48]
ldr w0, [x0]
ldr w1, [sp, 36]
add w0, w1, w0
str w0, [sp, 36]
.L349:
ldr w1, [sp, 72]
ldr w0, [sp, 32]
cmp w1, w0
blt .L351
.L348:
mov w0, 1
.L346:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE56:
.size residue_decode, .-residue_decode
.align 2
.type decode_residue, %function
decode_residue:
.LFB57:
.cfi_startproc
stp x29, x30, [sp, -288]!
.cfi_def_cfa_offset 288
.cfi_offset 29, -288
.cfi_offset 30, -280
mov x29, sp
.cfi_def_cfa_register 29
sub sp, sp, #16
str x0, [x29, 56]
str x1, [x29, 48]
str w2, [x29, 44]
str w3, [x29, 40]
str w4, [x29, 36]
str x5, [x29, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 280]
mov x1, 0
ldr x0, [x29, 56]
ldr x1, [x0, 472]
ldrsw x0, [x29, 36]
lsl x0, x0, 5
add x0, x1, x0
str x0, [x29, 208]
ldr x1, [x29, 56]
ldrsw x0, [x29, 36]
add x0, x0, 168
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 4]
str w0, [x29, 112]
ldr x0, [x29, 208]
ldrb w0, [x0, 13]
str w0, [x29, 116]
ldr x0, [x29, 56]
ldr x2, [x0, 184]
ldrsw x1, [x29, 116]
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w0, [x0]
str w0, [x29, 120]
ldr w0, [x29, 112]
cmp w0, 2
bne .L353
ldr w0, [x29, 40]
lsl w0, w0, 1
b .L354
.L353:
ldr w0, [x29, 40]
.L354:
str w0, [x29, 124]
ldr x0, [x29, 208]
ldr w0, [x0]
ldr w2, [x29, 124]
ldr w1, [x29, 124]
cmp w2, w0
csel w0, w1, w0, ls
str w0, [x29, 128]
ldr x0, [x29, 208]
ldr w0, [x0, 4]
ldr w2, [x29, 124]
ldr w1, [x29, 124]
cmp w2, w0
csel w0, w1, w0, ls
str w0, [x29, 132]
ldr w1, [x29, 132]
ldr w0, [x29, 128]
sub w0, w1, w0
str w0, [x29, 136]
ldr w1, [x29, 136]
ldr x0, [x29, 208]
ldr w0, [x0, 8]
udiv w0, w1, w0
str w0, [x29, 140]
ldr x0, [x29, 56]
ldr w0, [x0, 148]
str w0, [x29, 144]
ldr x0, [x29, 56]
ldr x0, [x0, 128]
cmp x0, 0
beq .L355
ldrsw x0, [x29, 140]
add x0, x0, 1
mov w1, w0
ldr x0, [x29, 56]
ldr w0, [x0, 4]
sxtw x0, w0
mul w0, w1, w0
lsl w0, w0, 3
mov w1, w0
ldr x0, [x29, 56]
bl setup_temp_malloc
mov x3, x0
b .L356
.L355:
ldrsw x0, [x29, 140]
add x1, x0, 1
ldr x0, [x29, 56]
ldr w0, [x0, 4]
sxtw x0, w0
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
.L357:
cmp sp, x1
beq .L358
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L357
.L358:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L359
str xzr, [sp, 1024]
.L359:
add x0, sp, 16
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
mov x3, x0
.L356:
ldr x0, [x29, 56]
ldr w0, [x0, 4]
ldrsw x1, [x29, 140]
lsl w1, w1, 3
mov w2, w1
mov w1, w0
mov x0, x3
bl make_block_array
str x0, [x29, 216]
str wzr, [x29, 72]
b .L360
.L362:
ldrsw x0, [x29, 72]
ldr x1, [x29, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L361
ldrsw x0, [x29, 72]
lsl x0, x0, 3
ldr x1, [x29, 48]
add x0, x1, x0
ldr x3, [x0]
ldrsw x0, [x29, 40]
lsl x0, x0, 2
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
.L361:
ldr w0, [x29, 72]
add w0, w0, 1
str w0, [x29, 72]
.L360:
ldr w1, [x29, 72]
ldr w0, [x29, 44]
cmp w1, w0
blt .L362
ldr w0, [x29, 112]
cmp w0, 2
bne .L363
ldr w0, [x29, 44]
cmp w0, 1
beq .L363
str wzr, [x29, 76]
b .L364
.L367:
ldrsw x0, [x29, 76]
ldr x1, [x29, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
beq .L422
ldr w0, [x29, 76]
add w0, w0, 1
str w0, [x29, 76]
.L364:
ldr w1, [x29, 76]
ldr w0, [x29, 44]
cmp w1, w0
blt .L367
b .L366
.L422:
nop
.L366:
ldr w1, [x29, 76]
ldr w0, [x29, 44]
cmp w1, w0
beq .L423
str wzr, [x29, 80]
b .L370
.L401:
str wzr, [x29, 84]
str wzr, [x29, 88]
ldr w0, [x29, 44]
cmp w0, 2
bne .L371
b .L372
.L385:
ldr x0, [x29, 208]
ldr w1, [x0]
ldr x0, [x29, 208]
ldr w2, [x0, 8]
ldr w0, [x29, 84]
mul w0, w2, w0
add w0, w1, w0
str w0, [x29, 168]
ldr w0, [x29, 168]
and w0, w0, 1
str w0, [x29, 64]
ldr w0, [x29, 168]
asr w0, w0, 1
str w0, [x29, 68]
ldr w0, [x29, 80]
cmp w0, 0
bne .L373
ldr x0, [x29, 56]
ldr x2, [x0, 184]
ldr x0, [x29, 208]
ldrb w0, [x0, 13]
and x1, x0, 255
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str x0, [x29, 240]
ldr x0, [x29, 56]
ldr w0, [x0, 1784]
cmp w0, 9
bgt .L374
ldr x0, [x29, 56]
bl prep_huffman
.L374:
ldr x0, [x29, 56]
ldr w0, [x0, 1780]
and w0, w0, 1023
str w0, [x29, 92]
ldr x0, [x29, 240]
ldrsw x1, [x29, 92]
add x1, x1, 24
ldrsh w0, [x0, x1, lsl 1]
str w0, [x29, 92]
ldr w0, [x29, 92]
cmp w0, 0
blt .L375
ldr x0, [x29, 240]
ldr x1, [x0, 8]
ldrsw x0, [x29, 92]
add x0, x1, x0
ldrb w0, [x0]
str w0, [x29, 172]
ldr x0, [x29, 56]
ldr w1, [x0, 1780]
ldr w0, [x29, 172]
lsr w1, w1, w0
ldr x0, [x29, 56]
str w1, [x0, 1780]
ldr x0, [x29, 56]
ldr w1, [x0, 1784]
ldr w0, [x29, 172]
sub w1, w1, w0
ldr x0, [x29, 56]
str w1, [x0, 1784]
ldr x0, [x29, 56]
ldr w0, [x0, 1784]
cmp w0, 0
bge .L376
ldr x0, [x29, 56]
str wzr, [x0, 1784]
mov w0, -1
str w0, [x29, 92]
b .L376
.L375:
ldr x1, [x29, 240]
ldr x0, [x29, 56]
bl codebook_decode_scalar_raw
str w0, [x29, 92]
.L376:
ldr x0, [x29, 240]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L377
ldr x0, [x29, 240]
ldr x1, [x0, 2104]
ldrsw x0, [x29, 92]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
str w0, [x29, 92]
.L377:
ldr w0, [x29, 92]
cmn w0, #1
beq .L424
ldr x0, [x29, 208]
ldr x1, [x0, 16]
ldrsw x0, [x29, 92]
lsl x0, x0, 3
add x1, x1, x0
ldr x0, [x29, 216]
ldr x2, [x0]
ldrsw x0, [x29, 88]
lsl x0, x0, 3
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
.L373:
str wzr, [x29, 72]
b .L380
.L384:
ldr x0, [x29, 208]
ldr w1, [x0]
ldr x0, [x29, 208]
ldr w2, [x0, 8]
ldr w0, [x29, 84]
mul w0, w2, w0
add w0, w1, w0
str w0, [x29, 176]
ldr x0, [x29, 216]
ldr x1, [x0]
ldrsw x0, [x29, 88]
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [x29, 72]
add x0, x1, x0
ldrb w0, [x0]
str w0, [x29, 180]
ldr x0, [x29, 208]
ldr x1, [x0, 24]
ldrsw x0, [x29, 180]
lsl x0, x0, 4
add x0, x1, x0
ldrsw x1, [x29, 80]
ldrsh w0, [x0, x1, lsl 1]
str w0, [x29, 184]
ldr w0, [x29, 184]
cmp w0, 0
blt .L381
ldr x0, [x29, 56]
ldr x2, [x0, 184]
ldrsw x1, [x29, 184]
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str x0, [x29, 248]
ldr x0, [x29, 208]
ldr w0, [x0, 8]
mov w2, w0
add x1, x29, 68
add x0, x29, 64
mov w7, w2
ldr w6, [x29, 40]
mov x5, x1
mov x4, x0
ldr w3, [x29, 44]
ldr x2, [x29, 48]
ldr x1, [x29, 248]
ldr x0, [x29, 56]
bl codebook_decode_deinterleave_repeat
cmp w0, 0
bne .L382
b .L369
.L381:
ldr x0, [x29, 208]
ldr w1, [x0, 8]
ldr w0, [x29, 176]
add w0, w1, w0
str w0, [x29, 176]
ldr w0, [x29, 176]
and w0, w0, 1
str w0, [x29, 64]
ldr w0, [x29, 176]
asr w0, w0, 1
str w0, [x29, 68]
.L382:
ldr w0, [x29, 72]
add w0, w0, 1
str w0, [x29, 72]
ldr w0, [x29, 84]
add w0, w0, 1
str w0, [x29, 84]
.L380:
ldr w1, [x29, 72]
ldr w0, [x29, 120]
cmp w1, w0
bge .L383
ldr w1, [x29, 84]
ldr w0, [x29, 140]
cmp w1, w0
blt .L384
.L383:
ldr w0, [x29, 88]
add w0, w0, 1
str w0, [x29, 88]
.L372:
ldr w1, [x29, 84]
ldr w0, [x29, 140]
cmp w1, w0
blt .L385
b .L386
.L371:
ldr w0, [x29, 44]
cmp w0, 2
ble .L386
b .L387
.L400:
ldr x0, [x29, 208]
ldr w1, [x0]
ldr x0, [x29, 208]
ldr w2, [x0, 8]
ldr w0, [x29, 84]
mul w0, w2, w0
add w0, w1, w0
str w0, [x29, 148]
ldr w0, [x29, 148]
ldr w1, [x29, 44]
sdiv w2, w0, w1
ldr w1, [x29, 44]
mul w1, w2, w1
sub w0, w0, w1
str w0, [x29, 64]
ldr w1, [x29, 148]
ldr w0, [x29, 44]
sdiv w0, w1, w0
str w0, [x29, 68]
ldr w0, [x29, 80]
cmp w0, 0
bne .L388
ldr x0, [x29, 56]
ldr x2, [x0, 184]
ldr x0, [x29, 208]
ldrb w0, [x0, 13]
and x1, x0, 255
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str x0, [x29, 224]
ldr x0, [x29, 56]
ldr w0, [x0, 1784]
cmp w0, 9
bgt .L389
ldr x0, [x29, 56]
bl prep_huffman
.L389:
ldr x0, [x29, 56]
ldr w0, [x0, 1780]
and w0, w0, 1023
str w0, [x29, 96]
ldr x0, [x29, 224]
ldrsw x1, [x29, 96]
add x1, x1, 24
ldrsh w0, [x0, x1, lsl 1]
str w0, [x29, 96]
ldr w0, [x29, 96]
cmp w0, 0
blt .L390
ldr x0, [x29, 224]
ldr x1, [x0, 8]
ldrsw x0, [x29, 96]
add x0, x1, x0
ldrb w0, [x0]
str w0, [x29, 152]
ldr x0, [x29, 56]
ldr w1, [x0, 1780]
ldr w0, [x29, 152]
lsr w1, w1, w0
ldr x0, [x29, 56]
str w1, [x0, 1780]
ldr x0, [x29, 56]
ldr w1, [x0, 1784]
ldr w0, [x29, 152]
sub w1, w1, w0
ldr x0, [x29, 56]
str w1, [x0, 1784]
ldr x0, [x29, 56]
ldr w0, [x0, 1784]
cmp w0, 0
bge .L391
ldr x0, [x29, 56]
str wzr, [x0, 1784]
mov w0, -1
str w0, [x29, 96]
b .L391
.L390:
ldr x1, [x29, 224]
ldr x0, [x29, 56]
bl codebook_decode_scalar_raw
str w0, [x29, 96]
.L391:
ldr x0, [x29, 224]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L392
ldr x0, [x29, 224]
ldr x1, [x0, 2104]
ldrsw x0, [x29, 96]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
str w0, [x29, 96]
.L392:
ldr w0, [x29, 96]
cmn w0, #1
beq .L425
ldr x0, [x29, 208]
ldr x1, [x0, 16]
ldrsw x0, [x29, 96]
lsl x0, x0, 3
add x1, x1, x0
ldr x0, [x29, 216]
ldr x2, [x0]
ldrsw x0, [x29, 88]
lsl x0, x0, 3
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
.L388:
str wzr, [x29, 72]
b .L395
.L399:
ldr x0, [x29, 208]
ldr w1, [x0]
ldr x0, [x29, 208]
ldr w2, [x0, 8]
ldr w0, [x29, 84]
mul w0, w2, w0
add w0, w1, w0
str w0, [x29, 156]
ldr x0, [x29, 216]
ldr x1, [x0]
ldrsw x0, [x29, 88]
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [x29, 72]
add x0, x1, x0
ldrb w0, [x0]
str w0, [x29, 160]
ldr x0, [x29, 208]
ldr x1, [x0, 24]
ldrsw x0, [x29, 160]
lsl x0, x0, 4
add x0, x1, x0
ldrsw x1, [x29, 80]
ldrsh w0, [x0, x1, lsl 1]
str w0, [x29, 164]
ldr w0, [x29, 164]
cmp w0, 0
blt .L396
ldr x0, [x29, 56]
ldr x2, [x0, 184]
ldrsw x1, [x29, 164]
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str x0, [x29, 232]
ldr x0, [x29, 208]
ldr w0, [x0, 8]
mov w2, w0
add x1, x29, 68
add x0, x29, 64
mov w7, w2
ldr w6, [x29, 40]
mov x5, x1
mov x4, x0
ldr w3, [x29, 44]
ldr x2, [x29, 48]
ldr x1, [x29, 232]
ldr x0, [x29, 56]
bl codebook_decode_deinterleave_repeat
cmp w0, 0
bne .L397
b .L369
.L396:
ldr x0, [x29, 208]
ldr w1, [x0, 8]
ldr w0, [x29, 156]
add w0, w1, w0
str w0, [x29, 156]
ldr w0, [x29, 156]
ldr w1, [x29, 44]
sdiv w2, w0, w1
ldr w1, [x29, 44]
mul w1, w2, w1
sub w0, w0, w1
str w0, [x29, 64]
ldr w1, [x29, 156]
ldr w0, [x29, 44]
sdiv w0, w1, w0
str w0, [x29, 68]
.L397:
ldr w0, [x29, 72]
add w0, w0, 1
str w0, [x29, 72]
ldr w0, [x29, 84]
add w0, w0, 1
str w0, [x29, 84]
.L395:
ldr w1, [x29, 72]
ldr w0, [x29, 120]
cmp w1, w0
bge .L398
ldr w1, [x29, 84]
ldr w0, [x29, 140]
cmp w1, w0
blt .L399
.L398:
ldr w0, [x29, 88]
add w0, w0, 1
str w0, [x29, 88]
.L387:
ldr w1, [x29, 84]
ldr w0, [x29, 140]
cmp w1, w0
blt .L400
.L386:
ldr w0, [x29, 80]
add w0, w0, 1
str w0, [x29, 80]
.L370:
ldr w0, [x29, 80]
cmp w0, 7
ble .L401
b .L369
.L363:
str wzr, [x29, 80]
b .L402
.L420:
str wzr, [x29, 100]
str wzr, [x29, 104]
b .L403
.L419:
ldr w0, [x29, 80]
cmp w0, 0
bne .L404
str wzr, [x29, 76]
b .L405
.L412:
ldrsw x0, [x29, 76]
ldr x1, [x29, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L406
ldr x0, [x29, 56]
ldr x2, [x0, 184]
ldr x0, [x29, 208]
ldrb w0, [x0, 13]
and x1, x0, 255
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str x0, [x29, 256]
ldr x0, [x29, 56]
ldr w0, [x0, 1784]
cmp w0, 9
bgt .L407
ldr x0, [x29, 56]
bl prep_huffman
.L407:
ldr x0, [x29, 56]
ldr w0, [x0, 1780]
and w0, w0, 1023
str w0, [x29, 108]
ldr x0, [x29, 256]
ldrsw x1, [x29, 108]
add x1, x1, 24
ldrsh w0, [x0, x1, lsl 1]
str w0, [x29, 108]
ldr w0, [x29, 108]
cmp w0, 0
blt .L408
ldr x0, [x29, 256]
ldr x1, [x0, 8]
ldrsw x0, [x29, 108]
add x0, x1, x0
ldrb w0, [x0]
str w0, [x29, 188]
ldr x0, [x29, 56]
ldr w1, [x0, 1780]
ldr w0, [x29, 188]
lsr w1, w1, w0
ldr x0, [x29, 56]
str w1, [x0, 1780]
ldr x0, [x29, 56]
ldr w1, [x0, 1784]
ldr w0, [x29, 188]
sub w1, w1, w0
ldr x0, [x29, 56]
str w1, [x0, 1784]
ldr x0, [x29, 56]
ldr w0, [x0, 1784]
cmp w0, 0
bge .L409
ldr x0, [x29, 56]
str wzr, [x0, 1784]
mov w0, -1
str w0, [x29, 108]
b .L409
.L408:
ldr x1, [x29, 256]
ldr x0, [x29, 56]
bl codebook_decode_scalar_raw
str w0, [x29, 108]
.L409:
ldr x0, [x29, 256]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L410
ldr x0, [x29, 256]
ldr x1, [x0, 2104]
ldrsw x0, [x29, 108]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
str w0, [x29, 108]
.L410:
ldr w0, [x29, 108]
cmn w0, #1
beq .L426
ldr x0, [x29, 208]
ldr x1, [x0, 16]
ldrsw x0, [x29, 108]
lsl x0, x0, 3
add x1, x1, x0
ldrsw x0, [x29, 76]
lsl x0, x0, 3
ldr x2, [x29, 216]
add x0, x2, x0
ldr x2, [x0]
ldrsw x0, [x29, 104]
lsl x0, x0, 3
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
.L406:
ldr w0, [x29, 76]
add w0, w0, 1
str w0, [x29, 76]
.L405:
ldr w1, [x29, 76]
ldr w0, [x29, 44]
cmp w1, w0
blt .L412
.L404:
str wzr, [x29, 72]
b .L413
.L418:
str wzr, [x29, 76]
b .L414
.L416:
ldrsw x0, [x29, 76]
ldr x1, [x29, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L415
ldrsw x0, [x29, 76]
lsl x0, x0, 3
ldr x1, [x29, 216]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [x29, 104]
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [x29, 72]
add x0, x1, x0
ldrb w0, [x0]
str w0, [x29, 192]
ldr x0, [x29, 208]
ldr x1, [x0, 24]
ldrsw x0, [x29, 192]
lsl x0, x0, 4
add x0, x1, x0
ldrsw x1, [x29, 80]
ldrsh w0, [x0, x1, lsl 1]
str w0, [x29, 196]
ldr w0, [x29, 196]
cmp w0, 0
blt .L415
ldrsw x0, [x29, 76]
lsl x0, x0, 3
ldr x1, [x29, 48]
add x0, x1, x0
ldr x0, [x0]
str x0, [x29, 264]
ldr x0, [x29, 208]
ldr w1, [x0]
ldr x0, [x29, 208]
ldr w2, [x0, 8]
ldr w0, [x29, 100]
mul w0, w2, w0
add w0, w1, w0
str w0, [x29, 200]
ldr x0, [x29, 208]
ldr w0, [x0, 8]
str w0, [x29, 204]
ldr x0, [x29, 56]
ldr x2, [x0, 184]
ldrsw x1, [x29, 196]
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str x0, [x29, 272]
ldr w5, [x29, 112]
ldr w4, [x29, 204]
ldr w3, [x29, 200]
ldr x2, [x29, 264]
ldr x1, [x29, 272]
ldr x0, [x29, 56]
bl residue_decode
cmp w0, 0
beq .L427
.L415:
ldr w0, [x29, 76]
add w0, w0, 1
str w0, [x29, 76]
.L414:
ldr w1, [x29, 76]
ldr w0, [x29, 44]
cmp w1, w0
blt .L416
ldr w0, [x29, 72]
add w0, w0, 1
str w0, [x29, 72]
ldr w0, [x29, 100]
add w0, w0, 1
str w0, [x29, 100]
.L413:
ldr w1, [x29, 72]
ldr w0, [x29, 120]
cmp w1, w0
bge .L417
ldr w1, [x29, 100]
ldr w0, [x29, 140]
cmp w1, w0
blt .L418
.L417:
ldr w0, [x29, 104]
add w0, w0, 1
str w0, [x29, 104]
.L403:
ldr w1, [x29, 100]
ldr w0, [x29, 140]
cmp w1, w0
blt .L419
ldr w0, [x29, 80]
add w0, w0, 1
str w0, [x29, 80]
.L402:
ldr w0, [x29, 80]
cmp w0, 7
ble .L420
b .L369
.L423:
nop
b .L369
.L424:
nop
b .L369
.L425:
nop
b .L369
.L426:
nop
b .L369
.L427:
nop
.L369:
ldr x0, [x29, 56]
ldr w1, [x29, 144]
str w1, [x0, 148]
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 280]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L421
bl __stack_chk_fail
.L421:
mov sp, x29
ldp x29, x30, [sp], 288
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE57:
.size decode_residue, .-decode_residue
.section .rodata
.align 3
.LC16:
.string "(n & 3) == 0"
.text
.align 2
.type imdct_step3_iter0_loop, %function
imdct_step3_iter0_loop:
.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 w0, [sp, 44]
str x1, [sp, 32]
str w2, [sp, 40]
str w3, [sp, 28]
str x4, [sp, 16]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 64]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x1, [sp, 64]
add x0, x1, x0
str x0, [sp, 72]
ldr w0, [sp, 44]
and w0, w0, 3
cmp w0, 0
beq .L429
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 2414
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L429:
ldr w0, [sp, 44]
asr w0, w0, 2
str w0, [sp, 52]
b .L430
.L431:
ldr x0, [sp, 64]
ldr s1, [x0]
ldr x0, [sp, 72]
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 56]
ldr x0, [sp, 64]
sub x0, x0, #4
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #4
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 60]
ldr x0, [sp, 64]
ldr s1, [x0]
ldr x0, [sp, 72]
ldr s0, [x0]
fadd s0, s1, s0
ldr x0, [sp, 64]
str s0, [x0]
ldr x0, [sp, 64]
sub x0, x0, #4
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #4
ldr s0, [x0]
ldr x0, [sp, 64]
sub x0, x0, #4
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 16]
ldr s1, [x0]
ldr s0, [sp, 56]
fmul s1, s1, s0
ldr x0, [sp, 16]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 60]
fmul s0, s2, s0
fsub s0, s1, s0
ldr x0, [sp, 72]
str s0, [x0]
ldr x0, [sp, 16]
ldr s1, [x0]
ldr s0, [sp, 60]
fmul s1, s1, s0
ldr x0, [sp, 16]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 56]
fmul s0, s2, s0
ldr x0, [sp, 72]
sub x0, x0, #4
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 16]
add x0, x0, 32
str x0, [sp, 16]
ldr x0, [sp, 64]
sub x0, x0, #8
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #8
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 56]
ldr x0, [sp, 64]
sub x0, x0, #12
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #12
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 60]
ldr x0, [sp, 64]
sub x0, x0, #8
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #8
ldr s0, [x0]
ldr x0, [sp, 64]
sub x0, x0, #8
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 64]
sub x0, x0, #12
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #12
ldr s0, [x0]
ldr x0, [sp, 64]
sub x0, x0, #12
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 16]
ldr s1, [x0]
ldr s0, [sp, 56]
fmul s1, s1, s0
ldr x0, [sp, 16]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 60]
fmul s0, s2, s0
ldr x0, [sp, 72]
sub x0, x0, #8
fsub s0, s1, s0
str s0, [x0]
ldr x0, [sp, 16]
ldr s1, [x0]
ldr s0, [sp, 60]
fmul s1, s1, s0
ldr x0, [sp, 16]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 56]
fmul s0, s2, s0
ldr x0, [sp, 72]
sub x0, x0, #12
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 16]
add x0, x0, 32
str x0, [sp, 16]
ldr x0, [sp, 64]
sub x0, x0, #16
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #16
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 56]
ldr x0, [sp, 64]
sub x0, x0, #20
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #20
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 60]
ldr x0, [sp, 64]
sub x0, x0, #16
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #16
ldr s0, [x0]
ldr x0, [sp, 64]
sub x0, x0, #16
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 64]
sub x0, x0, #20
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #20
ldr s0, [x0]
ldr x0, [sp, 64]
sub x0, x0, #20
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 16]
ldr s1, [x0]
ldr s0, [sp, 56]
fmul s1, s1, s0
ldr x0, [sp, 16]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 60]
fmul s0, s2, s0
ldr x0, [sp, 72]
sub x0, x0, #16
fsub s0, s1, s0
str s0, [x0]
ldr x0, [sp, 16]
ldr s1, [x0]
ldr s0, [sp, 60]
fmul s1, s1, s0
ldr x0, [sp, 16]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 56]
fmul s0, s2, s0
ldr x0, [sp, 72]
sub x0, x0, #20
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 16]
add x0, x0, 32
str x0, [sp, 16]
ldr x0, [sp, 64]
sub x0, x0, #24
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #24
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 56]
ldr x0, [sp, 64]
sub x0, x0, #28
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #28
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 60]
ldr x0, [sp, 64]
sub x0, x0, #24
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #24
ldr s0, [x0]
ldr x0, [sp, 64]
sub x0, x0, #24
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 64]
sub x0, x0, #28
ldr s1, [x0]
ldr x0, [sp, 72]
sub x0, x0, #28
ldr s0, [x0]
ldr x0, [sp, 64]
sub x0, x0, #28
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 16]
ldr s1, [x0]
ldr s0, [sp, 56]
fmul s1, s1, s0
ldr x0, [sp, 16]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 60]
fmul s0, s2, s0
ldr x0, [sp, 72]
sub x0, x0, #24
fsub s0, s1, s0
str s0, [x0]
ldr x0, [sp, 16]
ldr s1, [x0]
ldr s0, [sp, 60]
fmul s1, s1, s0
ldr x0, [sp, 16]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 56]
fmul s0, s2, s0
ldr x0, [sp, 72]
sub x0, x0, #28
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 16]
add x0, x0, 32
str x0, [sp, 16]
ldr x0, [sp, 64]
sub x0, x0, #32
str x0, [sp, 64]
ldr x0, [sp, 72]
sub x0, x0, #32
str x0, [sp, 72]
ldr w0, [sp, 52]
sub w0, w0, #1
str w0, [sp, 52]
.L430:
ldr w0, [sp, 52]
cmp w0, 0
bgt .L431
nop
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE58:
.size imdct_step3_iter0_loop, .-imdct_step3_iter0_loop
.align 2
.type imdct_step3_inner_r_loop, %function
imdct_step3_inner_r_loop:
.LFB59:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
str w0, [sp, 28]
str x1, [sp, 16]
str w2, [sp, 24]
str w3, [sp, 12]
str x4, [sp]
str w5, [sp, 8]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
str x0, [sp, 48]
ldrsw x0, [sp, 12]
lsl x0, x0, 2
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 56]
ldr w0, [sp, 28]
asr w0, w0, 2
str w0, [sp, 36]
b .L433
.L434:
ldr x0, [sp, 48]
ldr s1, [x0]
ldr x0, [sp, 56]
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 40]
ldr x0, [sp, 48]
sub x0, x0, #4
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #4
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 44]
ldr x0, [sp, 48]
ldr s1, [x0]
ldr x0, [sp, 56]
ldr s0, [x0]
fadd s0, s1, s0
ldr x0, [sp, 48]
str s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #4
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #4
ldr s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #4
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp]
ldr s1, [x0]
ldr s0, [sp, 40]
fmul s1, s1, s0
ldr x0, [sp]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 44]
fmul s0, s2, s0
fsub s0, s1, s0
ldr x0, [sp, 56]
str s0, [x0]
ldr x0, [sp]
ldr s1, [x0]
ldr s0, [sp, 44]
fmul s1, s1, s0
ldr x0, [sp]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 40]
fmul s0, s2, s0
ldr x0, [sp, 56]
sub x0, x0, #4
fadd s0, s1, s0
str s0, [x0]
ldrsw x0, [sp, 8]
lsl x0, x0, 2
ldr x1, [sp]
add x0, x1, x0
str x0, [sp]
ldr x0, [sp, 48]
sub x0, x0, #8
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #8
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 40]
ldr x0, [sp, 48]
sub x0, x0, #12
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #12
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 44]
ldr x0, [sp, 48]
sub x0, x0, #8
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #8
ldr s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #8
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #12
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #12
ldr s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #12
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp]
ldr s1, [x0]
ldr s0, [sp, 40]
fmul s1, s1, s0
ldr x0, [sp]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 44]
fmul s0, s2, s0
ldr x0, [sp, 56]
sub x0, x0, #8
fsub s0, s1, s0
str s0, [x0]
ldr x0, [sp]
ldr s1, [x0]
ldr s0, [sp, 44]
fmul s1, s1, s0
ldr x0, [sp]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 40]
fmul s0, s2, s0
ldr x0, [sp, 56]
sub x0, x0, #12
fadd s0, s1, s0
str s0, [x0]
ldrsw x0, [sp, 8]
lsl x0, x0, 2
ldr x1, [sp]
add x0, x1, x0
str x0, [sp]
ldr x0, [sp, 48]
sub x0, x0, #16
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #16
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 40]
ldr x0, [sp, 48]
sub x0, x0, #20
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #20
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 44]
ldr x0, [sp, 48]
sub x0, x0, #16
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #16
ldr s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #16
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #20
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #20
ldr s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #20
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp]
ldr s1, [x0]
ldr s0, [sp, 40]
fmul s1, s1, s0
ldr x0, [sp]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 44]
fmul s0, s2, s0
ldr x0, [sp, 56]
sub x0, x0, #16
fsub s0, s1, s0
str s0, [x0]
ldr x0, [sp]
ldr s1, [x0]
ldr s0, [sp, 44]
fmul s1, s1, s0
ldr x0, [sp]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 40]
fmul s0, s2, s0
ldr x0, [sp, 56]
sub x0, x0, #20
fadd s0, s1, s0
str s0, [x0]
ldrsw x0, [sp, 8]
lsl x0, x0, 2
ldr x1, [sp]
add x0, x1, x0
str x0, [sp]
ldr x0, [sp, 48]
sub x0, x0, #24
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #24
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 40]
ldr x0, [sp, 48]
sub x0, x0, #28
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #28
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 44]
ldr x0, [sp, 48]
sub x0, x0, #24
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #24
ldr s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #24
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #28
ldr s1, [x0]
ldr x0, [sp, 56]
sub x0, x0, #28
ldr s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #28
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp]
ldr s1, [x0]
ldr s0, [sp, 40]
fmul s1, s1, s0
ldr x0, [sp]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 44]
fmul s0, s2, s0
ldr x0, [sp, 56]
sub x0, x0, #24
fsub s0, s1, s0
str s0, [x0]
ldr x0, [sp]
ldr s1, [x0]
ldr s0, [sp, 44]
fmul s1, s1, s0
ldr x0, [sp]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [sp, 40]
fmul s0, s2, s0
ldr x0, [sp, 56]
sub x0, x0, #28
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 48]
sub x0, x0, #32
str x0, [sp, 48]
ldr x0, [sp, 56]
sub x0, x0, #32
str x0, [sp, 56]
ldrsw x0, [sp, 8]
lsl x0, x0, 2
ldr x1, [sp]
add x0, x1, x0
str x0, [sp]
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L433:
ldr w0, [sp, 36]
cmp w0, 0
bgt .L434
nop
nop
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE59:
.size imdct_step3_inner_r_loop, .-imdct_step3_inner_r_loop
.align 2
.type imdct_step3_inner_s_loop, %function
imdct_step3_inner_s_loop:
.LFB60:
.cfi_startproc
sub sp, sp, #112
.cfi_def_cfa_offset 112
str w0, [sp, 44]
str x1, [sp, 32]
str w2, [sp, 40]
str w3, [sp, 28]
str x4, [sp, 16]
str w5, [sp, 24]
str w6, [sp, 12]
ldr x0, [sp, 16]
ldr s0, [x0]
str s0, [sp, 56]
ldr x0, [sp, 16]
ldr s0, [x0, 4]
str s0, [sp, 60]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 64]
ldrsw x0, [sp, 24]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 68]
ldr w0, [sp, 24]
lsl w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 72]
ldr w0, [sp, 24]
lsl w0, w0, 1
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 76]
ldr w1, [sp, 24]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 80]
ldr w1, [sp, 24]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 84]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 96]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x1, [sp, 96]
add x0, x1, x0
str x0, [sp, 104]
ldr w0, [sp, 44]
str w0, [sp, 52]
b .L436
.L437:
ldr x0, [sp, 96]
ldr s1, [x0]
ldr x0, [sp, 104]
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 88]
ldr x0, [sp, 96]
sub x0, x0, #4
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #4
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 92]
ldr x0, [sp, 96]
ldr s1, [x0]
ldr x0, [sp, 104]
ldr s0, [x0]
fadd s0, s1, s0
ldr x0, [sp, 96]
str s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #4
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #4
ldr s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #4
fadd s0, s1, s0
str s0, [x0]
ldr s1, [sp, 88]
ldr s0, [sp, 56]
fmul s1, s1, s0
ldr s2, [sp, 92]
ldr s0, [sp, 60]
fmul s0, s2, s0
fsub s0, s1, s0
ldr x0, [sp, 104]
str s0, [x0]
ldr s1, [sp, 92]
ldr s0, [sp, 56]
fmul s1, s1, s0
ldr s2, [sp, 88]
ldr s0, [sp, 60]
fmul s0, s2, s0
ldr x0, [sp, 104]
sub x0, x0, #4
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #8
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #8
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 88]
ldr x0, [sp, 96]
sub x0, x0, #12
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #12
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 92]
ldr x0, [sp, 96]
sub x0, x0, #8
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #8
ldr s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #8
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #12
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #12
ldr s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #12
fadd s0, s1, s0
str s0, [x0]
ldr s1, [sp, 88]
ldr s0, [sp, 64]
fmul s1, s1, s0
ldr s2, [sp, 92]
ldr s0, [sp, 68]
fmul s0, s2, s0
ldr x0, [sp, 104]
sub x0, x0, #8
fsub s0, s1, s0
str s0, [x0]
ldr s1, [sp, 92]
ldr s0, [sp, 64]
fmul s1, s1, s0
ldr s2, [sp, 88]
ldr s0, [sp, 68]
fmul s0, s2, s0
ldr x0, [sp, 104]
sub x0, x0, #12
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #16
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #16
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 88]
ldr x0, [sp, 96]
sub x0, x0, #20
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #20
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 92]
ldr x0, [sp, 96]
sub x0, x0, #16
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #16
ldr s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #16
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #20
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #20
ldr s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #20
fadd s0, s1, s0
str s0, [x0]
ldr s1, [sp, 88]
ldr s0, [sp, 72]
fmul s1, s1, s0
ldr s2, [sp, 92]
ldr s0, [sp, 76]
fmul s0, s2, s0
ldr x0, [sp, 104]
sub x0, x0, #16
fsub s0, s1, s0
str s0, [x0]
ldr s1, [sp, 92]
ldr s0, [sp, 72]
fmul s1, s1, s0
ldr s2, [sp, 88]
ldr s0, [sp, 76]
fmul s0, s2, s0
ldr x0, [sp, 104]
sub x0, x0, #20
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #24
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #24
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 88]
ldr x0, [sp, 96]
sub x0, x0, #28
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #28
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 92]
ldr x0, [sp, 96]
sub x0, x0, #24
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #24
ldr s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #24
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #28
ldr s1, [x0]
ldr x0, [sp, 104]
sub x0, x0, #28
ldr s0, [x0]
ldr x0, [sp, 96]
sub x0, x0, #28
fadd s0, s1, s0
str s0, [x0]
ldr s1, [sp, 88]
ldr s0, [sp, 80]
fmul s1, s1, s0
ldr s2, [sp, 92]
ldr s0, [sp, 84]
fmul s0, s2, s0
ldr x0, [sp, 104]
sub x0, x0, #24
fsub s0, s1, s0
str s0, [x0]
ldr s1, [sp, 92]
ldr s0, [sp, 80]
fmul s1, s1, s0
ldr s2, [sp, 88]
ldr s0, [sp, 84]
fmul s0, s2, s0
ldr x0, [sp, 104]
sub x0, x0, #28
fadd s0, s1, s0
str s0, [x0]
ldrsw x0, [sp, 12]
lsl x0, x0, 2
neg x0, x0
ldr x1, [sp, 96]
add x0, x1, x0
str x0, [sp, 96]
ldrsw x0, [sp, 12]
lsl x0, x0, 2
neg x0, x0
ldr x1, [sp, 104]
add x0, x1, x0
str x0, [sp, 104]
ldr w0, [sp, 52]
sub w0, w0, #1
str w0, [sp, 52]
.L436:
ldr w0, [sp, 52]
cmp w0, 0
bgt .L437
nop
nop
add sp, sp, 112
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE60:
.size imdct_step3_inner_s_loop, .-imdct_step3_inner_s_loop
.align 2
.type iter_54, %function
iter_54:
.LFB61:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr s1, [x0]
ldr x0, [sp, 8]
sub x0, x0, #16
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 16]
ldr x0, [sp, 8]
ldr s1, [x0]
ldr x0, [sp, 8]
sub x0, x0, #16
ldr s0, [x0]
fadd s0, s1, s0
str s0, [sp, 20]
ldr x0, [sp, 8]
sub x0, x0, #8
ldr s1, [x0]
ldr x0, [sp, 8]
sub x0, x0, #24
ldr s0, [x0]
fadd s0, s1, s0
str s0, [sp, 24]
ldr x0, [sp, 8]
sub x0, x0, #8
ldr s1, [x0]
ldr x0, [sp, 8]
sub x0, x0, #24
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 28]
ldr s1, [sp, 20]
ldr s0, [sp, 24]
fadd s0, s1, s0
ldr x0, [sp, 8]
str s0, [x0]
ldr x0, [sp, 8]
sub x0, x0, #8
ldr s1, [sp, 20]
ldr s0, [sp, 24]
fsub s0, s1, s0
str s0, [x0]
ldr x0, [sp, 8]
sub x0, x0, #12
ldr s1, [x0]
ldr x0, [sp, 8]
sub x0, x0, #28
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 32]
ldr x0, [sp, 8]
sub x0, x0, #16
ldr s1, [sp, 16]
ldr s0, [sp, 32]
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 8]
sub x0, x0, #24
ldr s1, [sp, 16]
ldr s0, [sp, 32]
fsub s0, s1, s0
str s0, [x0]
ldr x0, [sp, 8]
sub x0, x0, #4
ldr s1, [x0]
ldr x0, [sp, 8]
sub x0, x0, #20
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 36]
ldr x0, [sp, 8]
sub x0, x0, #4
ldr s1, [x0]
ldr x0, [sp, 8]
sub x0, x0, #20
ldr s0, [x0]
fadd s0, s1, s0
str s0, [sp, 40]
ldr x0, [sp, 8]
sub x0, x0, #12
ldr s1, [x0]
ldr x0, [sp, 8]
sub x0, x0, #28
ldr s0, [x0]
fadd s0, s1, s0
str s0, [sp, 44]
ldr x0, [sp, 8]
sub x0, x0, #4
ldr s1, [sp, 40]
ldr s0, [sp, 44]
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 8]
sub x0, x0, #12
ldr s1, [sp, 40]
ldr s0, [sp, 44]
fsub s0, s1, s0
str s0, [x0]
ldr x0, [sp, 8]
sub x0, x0, #20
ldr s1, [sp, 36]
ldr s0, [sp, 28]
fsub s0, s1, s0
str s0, [x0]
ldr x0, [sp, 8]
sub x0, x0, #28
ldr s1, [sp, 36]
ldr s0, [sp, 28]
fadd s0, s1, s0
str s0, [x0]
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE61:
.size iter_54, .-iter_54
.align 2
.type imdct_step3_inner_s_loop_ld654, %function
imdct_step3_inner_s_loop_ld654:
.LFB62:
.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, 44]
str x1, [sp, 32]
str w2, [sp, 40]
str x3, [sp, 24]
str w4, [sp, 20]
ldr w0, [sp, 20]
asr w0, w0, 3
str w0, [sp, 56]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 60]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 80]
ldr w0, [sp, 44]
lsl w0, w0, 4
sxtw x0, w0
lsl x0, x0, 2
neg x0, x0
ldr x1, [sp, 80]
add x0, x1, x0
str x0, [sp, 88]
b .L440
.L441:
ldr x0, [sp, 80]
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #32
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 64]
ldr x0, [sp, 80]
sub x0, x0, #4
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #36
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 68]
ldr x0, [sp, 80]
sub x0, x0, #8
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #40
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 72]
ldr x0, [sp, 80]
sub x0, x0, #12
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #44
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 76]
ldr x0, [sp, 80]
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #32
ldr s0, [x0]
fadd s0, s1, s0
ldr x0, [sp, 80]
str s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #4
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #36
ldr s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #4
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #8
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #40
ldr s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #8
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #12
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #44
ldr s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #12
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #32
ldr s0, [sp, 64]
str s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #36
ldr s0, [sp, 68]
str s0, [x0]
ldr s1, [sp, 72]
ldr s0, [sp, 76]
fadd s1, s1, s0
ldr x0, [sp, 80]
sub x0, x0, #40
ldr s0, [sp, 60]
fmul s0, s1, s0
str s0, [x0]
ldr s1, [sp, 76]
ldr s0, [sp, 72]
fsub s1, s1, s0
ldr x0, [sp, 80]
sub x0, x0, #44
ldr s0, [sp, 60]
fmul s0, s1, s0
str s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #16
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #48
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 64]
ldr x0, [sp, 80]
sub x0, x0, #20
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #52
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 68]
ldr x0, [sp, 80]
sub x0, x0, #24
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #56
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 72]
ldr x0, [sp, 80]
sub x0, x0, #28
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #60
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 76]
ldr x0, [sp, 80]
sub x0, x0, #16
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #48
ldr s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #16
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #20
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #52
ldr s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #20
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #24
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #56
ldr s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #24
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #28
ldr s1, [x0]
ldr x0, [sp, 80]
sub x0, x0, #60
ldr s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #28
fadd s0, s1, s0
str s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #48
ldr s0, [sp, 68]
str s0, [x0]
ldr x0, [sp, 80]
sub x0, x0, #52
ldr s0, [sp, 64]
fneg s0, s0
str s0, [x0]
ldr s1, [sp, 76]
ldr s0, [sp, 72]
fsub s1, s1, s0
ldr x0, [sp, 80]
sub x0, x0, #56
ldr s0, [sp, 60]
fmul s0, s1, s0
str s0, [x0]
ldr s1, [sp, 72]
ldr s0, [sp, 76]
fadd s1, s1, s0
ldr s0, [sp, 60]
fneg s0, s0
ldr x0, [sp, 80]
sub x0, x0, #60
fmul s0, s1, s0
str s0, [x0]
ldr x0, [sp, 80]
bl iter_54
ldr x0, [sp, 80]
sub x0, x0, #32
bl iter_54
ldr x0, [sp, 80]
sub x0, x0, #64
str x0, [sp, 80]
.L440:
ldr x1, [sp, 80]
ldr x0, [sp, 88]
cmp x1, x0
bhi .L441
nop
nop
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE62:
.size imdct_step3_inner_s_loop_ld654, .-imdct_step3_inner_s_loop_ld654
.section .rodata
.align 3
.LC17:
.string "v == buf2"
.text
.align 2
.type inverse_mdct, %function
inverse_mdct:
.LFB63:
.cfi_startproc
stp x29, x30, [sp, -384]!
.cfi_def_cfa_offset 384
.cfi_offset 29, -384
.cfi_offset 30, -376
mov x29, sp
.cfi_def_cfa_register 29
sub sp, sp, #16
str x0, [x29, 40]
str w1, [x29, 36]
str x2, [x29, 24]
str w3, [x29, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 376]
mov x1, 0
ldr w0, [x29, 36]
asr w0, w0, 1
str w0, [x29, 64]
ldr w0, [x29, 36]
asr w0, w0, 2
str w0, [x29, 68]
ldr w0, [x29, 36]
asr w0, w0, 3
str w0, [x29, 72]
ldr x0, [x29, 24]
ldr w0, [x0, 148]
str w0, [x29, 76]
ldr x0, [x29, 24]
ldr x0, [x0, 128]
cmp x0, 0
beq .L443
ldrsw x0, [x29, 64]
lsl w0, w0, 2
mov w1, w0
ldr x0, [x29, 24]
bl setup_temp_malloc
b .L444
.L443:
ldrsw x0, [x29, 64]
lsl x0, x0, 2
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L445:
cmp sp, x1
beq .L446
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L445
.L446:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L447
str xzr, [sp, 1024]
.L447:
add x0, sp, 16
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
.L444:
str x0, [x29, 336]
str xzr, [x29, 344]
str xzr, [x29, 352]
ldr x1, [x29, 24]
ldrsw x0, [x29, 32]
add x0, x0, 176
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
str x0, [x29, 360]
ldrsw x0, [x29, 64]
lsl x0, x0, 2
sub x0, x0, #8
ldr x1, [x29, 336]
add x0, x1, x0
str x0, [x29, 168]
ldr x0, [x29, 360]
str x0, [x29, 184]
ldr x0, [x29, 40]
str x0, [x29, 176]
ldrsw x0, [x29, 64]
lsl x0, x0, 2
ldr x1, [x29, 40]
add x0, x1, x0
str x0, [x29, 368]
b .L448
.L449:
ldr x0, [x29, 176]
ldr s1, [x0]
ldr x0, [x29, 184]
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 176]
add x0, x0, 8
ldr s2, [x0]
ldr x0, [x29, 184]
add x0, x0, 4
ldr s0, [x0]
fmul s0, s2, s0
ldr x0, [x29, 168]
add x0, x0, 4
fsub s0, s1, s0
str s0, [x0]
ldr x0, [x29, 176]
ldr s1, [x0]
ldr x0, [x29, 184]
add x0, x0, 4
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 176]
add x0, x0, 8
ldr s2, [x0]
ldr x0, [x29, 184]
ldr s0, [x0]
fmul s0, s2, s0
fadd s0, s1, s0
ldr x0, [x29, 168]
str s0, [x0]
ldr x0, [x29, 168]
sub x0, x0, #8
str x0, [x29, 168]
ldr x0, [x29, 184]
add x0, x0, 8
str x0, [x29, 184]
ldr x0, [x29, 176]
add x0, x0, 16
str x0, [x29, 176]
.L448:
ldr x1, [x29, 176]
ldr x0, [x29, 368]
cmp x1, x0
bne .L449
ldrsw x0, [x29, 64]
lsl x0, x0, 2
sub x0, x0, #12
ldr x1, [x29, 40]
add x0, x1, x0
str x0, [x29, 176]
b .L450
.L451:
ldr x0, [x29, 176]
add x0, x0, 8
ldr s0, [x0]
fneg s1, s0
ldr x0, [x29, 184]
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 176]
ldr s2, [x0]
ldr x0, [x29, 184]
add x0, x0, 4
ldr s0, [x0]
fmul s0, s2, s0
ldr x0, [x29, 168]
add x0, x0, 4
fadd s0, s1, s0
str s0, [x0]
ldr x0, [x29, 176]
add x0, x0, 8
ldr s0, [x0]
fneg s1, s0
ldr x0, [x29, 184]
add x0, x0, 4
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 176]
ldr s0, [x0]
fneg s2, s0
ldr x0, [x29, 184]
ldr s0, [x0]
fmul s0, s2, s0
fadd s0, s1, s0
ldr x0, [x29, 168]
str s0, [x0]
ldr x0, [x29, 168]
sub x0, x0, #8
str x0, [x29, 168]
ldr x0, [x29, 184]
add x0, x0, 8
str x0, [x29, 184]
ldr x0, [x29, 176]
sub x0, x0, #16
str x0, [x29, 176]
.L450:
ldr x1, [x29, 168]
ldr x0, [x29, 336]
cmp x1, x0
bcs .L451
ldr x0, [x29, 40]
str x0, [x29, 344]
ldr x0, [x29, 336]
str x0, [x29, 352]
ldrsw x0, [x29, 64]
lsl x0, x0, 2
sub x0, x0, #32
ldr x1, [x29, 360]
add x0, x1, x0
str x0, [x29, 192]
ldrsw x0, [x29, 68]
lsl x0, x0, 2
ldr x1, [x29, 352]
add x0, x1, x0
str x0, [x29, 216]
ldr x0, [x29, 352]
str x0, [x29, 224]
ldrsw x0, [x29, 68]
lsl x0, x0, 2
ldr x1, [x29, 344]
add x0, x1, x0
str x0, [x29, 200]
ldr x0, [x29, 344]
str x0, [x29, 208]
b .L452
.L453:
ldr x0, [x29, 216]
add x0, x0, 4
ldr s1, [x0]
ldr x0, [x29, 224]
add x0, x0, 4
ldr s0, [x0]
fsub s0, s1, s0
str s0, [x29, 160]
ldr x0, [x29, 216]
ldr s1, [x0]
ldr x0, [x29, 224]
ldr s0, [x0]
fsub s0, s1, s0
str s0, [x29, 164]
ldr x0, [x29, 216]
add x0, x0, 4
ldr s1, [x0]
ldr x0, [x29, 224]
add x0, x0, 4
ldr s0, [x0]
ldr x0, [x29, 200]
add x0, x0, 4
fadd s0, s1, s0
str s0, [x0]
ldr x0, [x29, 216]
ldr s1, [x0]
ldr x0, [x29, 224]
ldr s0, [x0]
fadd s0, s1, s0
ldr x0, [x29, 200]
str s0, [x0]
ldr x0, [x29, 192]
add x0, x0, 16
ldr s1, [x0]
ldr s0, [x29, 160]
fmul s1, s1, s0
ldr x0, [x29, 192]
add x0, x0, 20
ldr s2, [x0]
ldr s0, [x29, 164]
fmul s0, s2, s0
ldr x0, [x29, 208]
add x0, x0, 4
fsub s0, s1, s0
str s0, [x0]
ldr x0, [x29, 192]
add x0, x0, 16
ldr s1, [x0]
ldr s0, [x29, 164]
fmul s1, s1, s0
ldr x0, [x29, 192]
add x0, x0, 20
ldr s2, [x0]
ldr s0, [x29, 160]
fmul s0, s2, s0
fadd s0, s1, s0
ldr x0, [x29, 208]
str s0, [x0]
ldr x0, [x29, 216]
add x0, x0, 12
ldr s1, [x0]
ldr x0, [x29, 224]
add x0, x0, 12
ldr s0, [x0]
fsub s0, s1, s0
str s0, [x29, 160]
ldr x0, [x29, 216]
add x0, x0, 8
ldr s1, [x0]
ldr x0, [x29, 224]
add x0, x0, 8
ldr s0, [x0]
fsub s0, s1, s0
str s0, [x29, 164]
ldr x0, [x29, 216]
add x0, x0, 12
ldr s1, [x0]
ldr x0, [x29, 224]
add x0, x0, 12
ldr s0, [x0]
ldr x0, [x29, 200]
add x0, x0, 12
fadd s0, s1, s0
str s0, [x0]
ldr x0, [x29, 216]
add x0, x0, 8
ldr s1, [x0]
ldr x0, [x29, 224]
add x0, x0, 8
ldr s0, [x0]
ldr x0, [x29, 200]
add x0, x0, 8
fadd s0, s1, s0
str s0, [x0]
ldr x0, [x29, 192]
ldr s1, [x0]
ldr s0, [x29, 160]
fmul s1, s1, s0
ldr x0, [x29, 192]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [x29, 164]
fmul s0, s2, s0
ldr x0, [x29, 208]
add x0, x0, 12
fsub s0, s1, s0
str s0, [x0]
ldr x0, [x29, 192]
ldr s1, [x0]
ldr s0, [x29, 164]
fmul s1, s1, s0
ldr x0, [x29, 192]
add x0, x0, 4
ldr s2, [x0]
ldr s0, [x29, 160]
fmul s0, s2, s0
ldr x0, [x29, 208]
add x0, x0, 8
fadd s0, s1, s0
str s0, [x0]
ldr x0, [x29, 192]
sub x0, x0, #32
str x0, [x29, 192]
ldr x0, [x29, 200]
add x0, x0, 16
str x0, [x29, 200]
ldr x0, [x29, 208]
add x0, x0, 16
str x0, [x29, 208]
ldr x0, [x29, 216]
add x0, x0, 16
str x0, [x29, 216]
ldr x0, [x29, 224]
add x0, x0, 16
str x0, [x29, 224]
.L452:
ldr x1, [x29, 192]
ldr x0, [x29, 360]
cmp x1, x0
bcs .L453
ldr w0, [x29, 36]
bl ilog
sub w0, w0, #1
str w0, [x29, 80]
ldr w0, [x29, 36]
asr w5, w0, 4
ldr w0, [x29, 64]
sub w1, w0, #1
ldr w0, [x29, 36]
asr w0, w0, 3
neg w0, w0
ldr x4, [x29, 360]
mov w3, w0
mov w2, w1
ldr x1, [x29, 344]
mov w0, w5
bl imdct_step3_iter0_loop
ldr w0, [x29, 36]
asr w5, w0, 4
ldr w0, [x29, 64]
sub w1, w0, #1
ldr w0, [x29, 68]
sub w1, w1, w0
ldr w0, [x29, 36]
asr w0, w0, 3
neg w0, w0
ldr x4, [x29, 360]
mov w3, w0
mov w2, w1
ldr x1, [x29, 344]
mov w0, w5
bl imdct_step3_iter0_loop
ldr w0, [x29, 36]
asr w6, w0, 5
ldr w0, [x29, 64]
sub w1, w0, #1
ldr w0, [x29, 36]
asr w0, w0, 4
neg w0, w0
mov w5, 16
ldr x4, [x29, 360]
mov w3, w0
mov w2, w1
ldr x1, [x29, 344]
mov w0, w6
bl imdct_step3_inner_r_loop
ldr w0, [x29, 36]
asr w6, w0, 5
ldr w0, [x29, 64]
sub w1, w0, #1
ldr w0, [x29, 72]
sub w1, w1, w0
ldr w0, [x29, 36]
asr w0, w0, 4
neg w0, w0
mov w5, 16
ldr x4, [x29, 360]
mov w3, w0
mov w2, w1
ldr x1, [x29, 344]
mov w0, w6
bl imdct_step3_inner_r_loop
ldr w0, [x29, 36]
asr w6, w0, 5
ldr w0, [x29, 64]
sub w1, w0, #1
ldr w0, [x29, 72]
lsl w0, w0, 1
sub w1, w1, w0
ldr w0, [x29, 36]
asr w0, w0, 4
neg w0, w0
mov w5, 16
ldr x4, [x29, 360]
mov w3, w0
mov w2, w1
ldr x1, [x29, 344]
mov w0, w6
bl imdct_step3_inner_r_loop
ldr w0, [x29, 36]
asr w6, w0, 5
ldr w0, [x29, 64]
sub w1, w0, #1
ldr w0, [x29, 72]
mov w2, w0
lsl w0, w0, 2
sub w0, w2, w0
add w1, w1, w0
ldr w0, [x29, 36]
asr w0, w0, 4
neg w0, w0
mov w5, 16
ldr x4, [x29, 360]
mov w3, w0
mov w2, w1
ldr x1, [x29, 344]
mov w0, w6
bl imdct_step3_inner_r_loop
mov w0, 2
str w0, [x29, 48]
b .L454
.L457:
ldr w0, [x29, 48]
add w0, w0, 2
ldr w1, [x29, 36]
asr w0, w1, w0
str w0, [x29, 148]
ldr w0, [x29, 148]
asr w0, w0, 1
str w0, [x29, 152]
ldr w0, [x29, 48]
add w0, w0, 1
mov w1, 1
lsl w0, w1, w0
str w0, [x29, 156]
str wzr, [x29, 52]
b .L455
.L456:
ldr w0, [x29, 48]
add w0, w0, 4
ldr w1, [x29, 36]
asr w6, w1, w0
ldr w0, [x29, 64]
sub w1, w0, #1
ldr w2, [x29, 148]
ldr w0, [x29, 52]
mul w0, w2, w0
sub w2, w1, w0
ldr w0, [x29, 152]
neg w3, w0
ldr w0, [x29, 48]
add w0, w0, 3
mov w1, 1
lsl w0, w1, w0
mov w5, w0
ldr x4, [x29, 360]
ldr x1, [x29, 344]
mov w0, w6
bl imdct_step3_inner_r_loop
ldr w0, [x29, 52]
add w0, w0, 1
str w0, [x29, 52]
.L455:
ldr w1, [x29, 52]
ldr w0, [x29, 156]
cmp w1, w0
blt .L456
ldr w0, [x29, 48]
add w0, w0, 1
str w0, [x29, 48]
.L454:
ldr w0, [x29, 80]
sub w0, w0, #3
asr w0, w0, 1
ldr w1, [x29, 48]
cmp w1, w0
blt .L457
b .L458
.L461:
ldr w0, [x29, 48]
add w0, w0, 2
ldr w1, [x29, 36]
asr w0, w1, w0
str w0, [x29, 128]
ldr w0, [x29, 48]
add w0, w0, 3
mov w1, 1
lsl w0, w1, w0
str w0, [x29, 132]
ldr w0, [x29, 128]
asr w0, w0, 1
str w0, [x29, 136]
ldr w0, [x29, 48]
add w0, w0, 6
ldr w1, [x29, 36]
asr w0, w1, w0
str w0, [x29, 140]
ldr w0, [x29, 48]
add w0, w0, 1
mov w1, 1
lsl w0, w1, w0
str w0, [x29, 144]
ldr x0, [x29, 360]
str x0, [x29, 232]
ldr w0, [x29, 64]
sub w0, w0, #1
str w0, [x29, 60]
ldr w0, [x29, 140]
str w0, [x29, 56]
b .L459
.L460:
ldr w0, [x29, 136]
neg w0, w0
ldr w6, [x29, 128]
ldr w5, [x29, 132]
ldr x4, [x29, 232]
mov w3, w0
ldr w2, [x29, 60]
ldr x1, [x29, 344]
ldr w0, [x29, 144]
bl imdct_step3_inner_s_loop
ldr w0, [x29, 132]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [x29, 232]
add x0, x1, x0
str x0, [x29, 232]
ldr w0, [x29, 60]
sub w0, w0, #8
str w0, [x29, 60]
ldr w0, [x29, 56]
sub w0, w0, #1
str w0, [x29, 56]
.L459:
ldr w0, [x29, 56]
cmp w0, 0
bgt .L460
ldr w0, [x29, 48]
add w0, w0, 1
str w0, [x29, 48]
.L458:
ldr w0, [x29, 80]
sub w0, w0, #6
ldr w1, [x29, 48]
cmp w1, w0
blt .L461
ldr w0, [x29, 36]
asr w5, w0, 5
ldr w0, [x29, 64]
sub w0, w0, #1
ldr w4, [x29, 36]
ldr x3, [x29, 360]
mov w2, w0
ldr x1, [x29, 344]
mov w0, w5
bl imdct_step3_inner_s_loop_ld654
ldr x1, [x29, 24]
ldrsw x0, [x29, 32]
add x0, x0, 184
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
str x0, [x29, 240]
ldrsw x0, [x29, 68]
lsl x0, x0, 2
sub x0, x0, #16
ldr x1, [x29, 352]
add x0, x1, x0
str x0, [x29, 248]
ldrsw x0, [x29, 64]
lsl x0, x0, 2
sub x0, x0, #16
ldr x1, [x29, 352]
add x0, x1, x0
str x0, [x29, 256]
b .L462
.L463:
ldr x0, [x29, 240]
ldrh w0, [x0]
str w0, [x29, 124]
ldrsw x0, [x29, 124]
lsl x0, x0, 2
ldr x1, [x29, 344]
add x1, x1, x0
ldr x0, [x29, 256]
add x0, x0, 12
ldr s0, [x1]
str s0, [x0]
ldrsw x0, [x29, 124]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [x29, 344]
add x1, x1, x0
ldr x0, [x29, 256]
add x0, x0, 8
ldr s0, [x1]
str s0, [x0]
ldrsw x0, [x29, 124]
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [x29, 344]
add x1, x1, x0
ldr x0, [x29, 248]
add x0, x0, 12
ldr s0, [x1]
str s0, [x0]
ldrsw x0, [x29, 124]
add x0, x0, 3
lsl x0, x0, 2
ldr x1, [x29, 344]
add x1, x1, x0
ldr x0, [x29, 248]
add x0, x0, 8
ldr s0, [x1]
str s0, [x0]
ldr x0, [x29, 240]
add x0, x0, 2
ldrh w0, [x0]
str w0, [x29, 124]
ldrsw x0, [x29, 124]
lsl x0, x0, 2
ldr x1, [x29, 344]
add x1, x1, x0
ldr x0, [x29, 256]
add x0, x0, 4
ldr s0, [x1]
str s0, [x0]
ldrsw x0, [x29, 124]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [x29, 344]
add x0, x1, x0
ldr s0, [x0]
ldr x0, [x29, 256]
str s0, [x0]
ldrsw x0, [x29, 124]
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [x29, 344]
add x1, x1, x0
ldr x0, [x29, 248]
add x0, x0, 4
ldr s0, [x1]
str s0, [x0]
ldrsw x0, [x29, 124]
add x0, x0, 3
lsl x0, x0, 2
ldr x1, [x29, 344]
add x0, x1, x0
ldr s0, [x0]
ldr x0, [x29, 248]
str s0, [x0]
ldr x0, [x29, 248]
sub x0, x0, #16
str x0, [x29, 248]
ldr x0, [x29, 256]
sub x0, x0, #16
str x0, [x29, 256]
ldr x0, [x29, 240]
add x0, x0, 4
str x0, [x29, 240]
.L462:
ldr x1, [x29, 248]
ldr x0, [x29, 352]
cmp x1, x0
bcs .L463
ldr x1, [x29, 352]
ldr x0, [x29, 336]
cmp x1, x0
beq .L464
adrp x0, __PRETTY_FUNCTION__.9
add x3, x0, :lo12:__PRETTY_FUNCTION__.9
mov w2, 2816
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl __assert_fail
.L464:
ldr x1, [x29, 24]
ldrsw x0, [x29, 32]
add x0, x0, 180
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
str x0, [x29, 264]
ldr x0, [x29, 352]
str x0, [x29, 272]
ldrsw x0, [x29, 64]
lsl x0, x0, 2
sub x0, x0, #16
ldr x1, [x29, 352]
add x0, x1, x0
str x0, [x29, 280]
b .L465
.L466:
ldr x0, [x29, 272]
ldr s1, [x0]
ldr x0, [x29, 280]
add x0, x0, 8
ldr s0, [x0]
fsub s0, s1, s0
str s0, [x29, 100]
ldr x0, [x29, 272]
add x0, x0, 4
ldr s1, [x0]
ldr x0, [x29, 280]
add x0, x0, 12
ldr s0, [x0]
fadd s0, s1, s0
str s0, [x29, 104]
ldr x0, [x29, 264]
add x0, x0, 4
ldr s1, [x0]
ldr s0, [x29, 100]
fmul s1, s1, s0
ldr x0, [x29, 264]
ldr s2, [x0]
ldr s0, [x29, 104]
fmul s0, s2, s0
fadd s0, s1, s0
str s0, [x29, 108]
ldr x0, [x29, 264]
add x0, x0, 4
ldr s1, [x0]
ldr s0, [x29, 104]
fmul s1, s1, s0
ldr x0, [x29, 264]
ldr s2, [x0]
ldr s0, [x29, 100]
fmul s0, s2, s0
fsub s0, s1, s0
str s0, [x29, 112]
ldr x0, [x29, 272]
ldr s1, [x0]
ldr x0, [x29, 280]
add x0, x0, 8
ldr s0, [x0]
fadd s0, s1, s0
str s0, [x29, 116]
ldr x0, [x29, 272]
add x0, x0, 4
ldr s1, [x0]
ldr x0, [x29, 280]
add x0, x0, 12
ldr s0, [x0]
fsub s0, s1, s0
str s0, [x29, 120]
ldr s1, [x29, 116]
ldr s0, [x29, 108]
fadd s0, s1, s0
ldr x0, [x29, 272]
str s0, [x0]
ldr x0, [x29, 272]
add x0, x0, 4
ldr s1, [x29, 120]
ldr s0, [x29, 112]
fadd s0, s1, s0
str s0, [x0]
ldr x0, [x29, 280]
add x0, x0, 8
ldr s1, [x29, 116]
ldr s0, [x29, 108]
fsub s0, s1, s0
str s0, [x0]
ldr x0, [x29, 280]
add x0, x0, 12
ldr s1, [x29, 112]
ldr s0, [x29, 120]
fsub s0, s1, s0
str s0, [x0]
ldr x0, [x29, 272]
add x0, x0, 8
ldr s1, [x0]
ldr x0, [x29, 280]
ldr s0, [x0]
fsub s0, s1, s0
str s0, [x29, 100]
ldr x0, [x29, 272]
add x0, x0, 12
ldr s1, [x0]
ldr x0, [x29, 280]
add x0, x0, 4
ldr s0, [x0]
fadd s0, s1, s0
str s0, [x29, 104]
ldr x0, [x29, 264]
add x0, x0, 12
ldr s1, [x0]
ldr s0, [x29, 100]
fmul s1, s1, s0
ldr x0, [x29, 264]
add x0, x0, 8
ldr s2, [x0]
ldr s0, [x29, 104]
fmul s0, s2, s0
fadd s0, s1, s0
str s0, [x29, 108]
ldr x0, [x29, 264]
add x0, x0, 12
ldr s1, [x0]
ldr s0, [x29, 104]
fmul s1, s1, s0
ldr x0, [x29, 264]
add x0, x0, 8
ldr s2, [x0]
ldr s0, [x29, 100]
fmul s0, s2, s0
fsub s0, s1, s0
str s0, [x29, 112]
ldr x0, [x29, 272]
add x0, x0, 8
ldr s1, [x0]
ldr x0, [x29, 280]
ldr s0, [x0]
fadd s0, s1, s0
str s0, [x29, 116]
ldr x0, [x29, 272]
add x0, x0, 12
ldr s1, [x0]
ldr x0, [x29, 280]
add x0, x0, 4
ldr s0, [x0]
fsub s0, s1, s0
str s0, [x29, 120]
ldr x0, [x29, 272]
add x0, x0, 8
ldr s1, [x29, 116]
ldr s0, [x29, 108]
fadd s0, s1, s0
str s0, [x0]
ldr x0, [x29, 272]
add x0, x0, 12
ldr s1, [x29, 120]
ldr s0, [x29, 112]
fadd s0, s1, s0
str s0, [x0]
ldr s1, [x29, 116]
ldr s0, [x29, 108]
fsub s0, s1, s0
ldr x0, [x29, 280]
str s0, [x0]
ldr x0, [x29, 280]
add x0, x0, 4
ldr s1, [x29, 112]
ldr s0, [x29, 120]
fsub s0, s1, s0
str s0, [x0]
ldr x0, [x29, 264]
add x0, x0, 16
str x0, [x29, 264]
ldr x0, [x29, 272]
add x0, x0, 16
str x0, [x29, 272]
ldr x0, [x29, 280]
sub x0, x0, #16
str x0, [x29, 280]
.L465:
ldr x1, [x29, 272]
ldr x0, [x29, 280]
cmp x1, x0
bcc .L466
ldr x1, [x29, 24]
ldrsw x0, [x29, 32]
add x0, x0, 178
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0, 8]
ldrsw x0, [x29, 64]
lsl x0, x0, 2
sub x0, x0, #32
add x0, x1, x0
str x0, [x29, 320]
ldrsw x0, [x29, 64]
lsl x0, x0, 2
sub x0, x0, #32
ldr x1, [x29, 336]
add x0, x1, x0
str x0, [x29, 328]
ldr x0, [x29, 40]
str x0, [x29, 288]
ldrsw x0, [x29, 64]
lsl x0, x0, 2
sub x0, x0, #16
ldr x1, [x29, 40]
add x0, x1, x0
str x0, [x29, 296]
ldrsw x0, [x29, 64]
lsl x0, x0, 2
ldr x1, [x29, 40]
add x0, x1, x0
str x0, [x29, 304]
ldrsw x0, [x29, 36]
lsl x0, x0, 2
sub x0, x0, #16
ldr x1, [x29, 40]
add x0, x1, x0
str x0, [x29, 312]
b .L467
.L468:
ldr x0, [x29, 328]
add x0, x0, 24
ldr s1, [x0]
ldr x0, [x29, 320]
add x0, x0, 28
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 328]
add x0, x0, 28
ldr s2, [x0]
ldr x0, [x29, 320]
add x0, x0, 24
ldr s0, [x0]
fmul s0, s2, s0
fsub s0, s1, s0
str s0, [x29, 84]
ldr x0, [x29, 328]
add x0, x0, 24
ldr s0, [x0]
fneg s1, s0
ldr x0, [x29, 320]
add x0, x0, 24
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 328]
add x0, x0, 28
ldr s2, [x0]
ldr x0, [x29, 320]
add x0, x0, 28
ldr s0, [x0]
fmul s0, s2, s0
fsub s0, s1, s0
str s0, [x29, 88]
ldr x0, [x29, 288]
ldr s0, [x29, 84]
str s0, [x0]
ldr x0, [x29, 296]
add x0, x0, 12
ldr s0, [x29, 84]
fneg s0, s0
str s0, [x0]
ldr x0, [x29, 304]
ldr s0, [x29, 88]
str s0, [x0]
ldr x0, [x29, 312]
add x0, x0, 12
ldr s0, [x29, 88]
str s0, [x0]
ldr x0, [x29, 328]
add x0, x0, 16
ldr s1, [x0]
ldr x0, [x29, 320]
add x0, x0, 20
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 328]
add x0, x0, 20
ldr s2, [x0]
ldr x0, [x29, 320]
add x0, x0, 16
ldr s0, [x0]
fmul s0, s2, s0
fsub s0, s1, s0
str s0, [x29, 92]
ldr x0, [x29, 328]
add x0, x0, 16
ldr s0, [x0]
fneg s1, s0
ldr x0, [x29, 320]
add x0, x0, 16
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 328]
add x0, x0, 20
ldr s2, [x0]
ldr x0, [x29, 320]
add x0, x0, 20
ldr s0, [x0]
fmul s0, s2, s0
fsub s0, s1, s0
str s0, [x29, 96]
ldr x0, [x29, 288]
add x0, x0, 4
ldr s0, [x29, 92]
str s0, [x0]
ldr x0, [x29, 296]
add x0, x0, 8
ldr s0, [x29, 92]
fneg s0, s0
str s0, [x0]
ldr x0, [x29, 304]
add x0, x0, 4
ldr s0, [x29, 96]
str s0, [x0]
ldr x0, [x29, 312]
add x0, x0, 8
ldr s0, [x29, 96]
str s0, [x0]
ldr x0, [x29, 328]
add x0, x0, 8
ldr s1, [x0]
ldr x0, [x29, 320]
add x0, x0, 12
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 328]
add x0, x0, 12
ldr s2, [x0]
ldr x0, [x29, 320]
add x0, x0, 8
ldr s0, [x0]
fmul s0, s2, s0
fsub s0, s1, s0
str s0, [x29, 84]
ldr x0, [x29, 328]
add x0, x0, 8
ldr s0, [x0]
fneg s1, s0
ldr x0, [x29, 320]
add x0, x0, 8
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 328]
add x0, x0, 12
ldr s2, [x0]
ldr x0, [x29, 320]
add x0, x0, 12
ldr s0, [x0]
fmul s0, s2, s0
fsub s0, s1, s0
str s0, [x29, 88]
ldr x0, [x29, 288]
add x0, x0, 8
ldr s0, [x29, 84]
str s0, [x0]
ldr x0, [x29, 296]
add x0, x0, 4
ldr s0, [x29, 84]
fneg s0, s0
str s0, [x0]
ldr x0, [x29, 304]
add x0, x0, 8
ldr s0, [x29, 88]
str s0, [x0]
ldr x0, [x29, 312]
add x0, x0, 4
ldr s0, [x29, 88]
str s0, [x0]
ldr x0, [x29, 328]
ldr s1, [x0]
ldr x0, [x29, 320]
add x0, x0, 4
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 328]
add x0, x0, 4
ldr s2, [x0]
ldr x0, [x29, 320]
ldr s0, [x0]
fmul s0, s2, s0
fsub s0, s1, s0
str s0, [x29, 92]
ldr x0, [x29, 328]
ldr s0, [x0]
fneg s1, s0
ldr x0, [x29, 320]
ldr s0, [x0]
fmul s1, s1, s0
ldr x0, [x29, 328]
add x0, x0, 4
ldr s2, [x0]
ldr x0, [x29, 320]
add x0, x0, 4
ldr s0, [x0]
fmul s0, s2, s0
fsub s0, s1, s0
str s0, [x29, 96]
ldr x0, [x29, 288]
add x0, x0, 12
ldr s0, [x29, 92]
str s0, [x0]
ldr s0, [x29, 92]
fneg s0, s0
ldr x0, [x29, 296]
str s0, [x0]
ldr x0, [x29, 304]
add x0, x0, 12
ldr s0, [x29, 96]
str s0, [x0]
ldr x0, [x29, 312]
ldr s0, [x29, 96]
str s0, [x0]
ldr x0, [x29, 320]
sub x0, x0, #32
str x0, [x29, 320]
ldr x0, [x29, 328]
sub x0, x0, #32
str x0, [x29, 328]
ldr x0, [x29, 288]
add x0, x0, 16
str x0, [x29, 288]
ldr x0, [x29, 304]
add x0, x0, 16
str x0, [x29, 304]
ldr x0, [x29, 296]
sub x0, x0, #16
str x0, [x29, 296]
ldr x0, [x29, 312]
sub x0, x0, #16
str x0, [x29, 312]
.L467:
ldr x1, [x29, 328]
ldr x0, [x29, 352]
cmp x1, x0
bcs .L468
ldr x0, [x29, 24]
ldr w1, [x29, 76]
str w1, [x0, 148]
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 376]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L469
bl __stack_chk_fail
.L469:
mov sp, x29
ldp x29, x30, [sp], 384
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE63:
.size inverse_mdct, .-inverse_mdct
.align 2
.type get_window, %function
get_window:
.LFB64:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldr w0, [sp, 4]
lsl w0, w0, 1
str w0, [sp, 4]
ldr x0, [sp, 8]
ldr w0, [x0, 168]
ldr w1, [sp, 4]
cmp w1, w0
bne .L471
ldr x0, [sp, 8]
ldr x0, [x0, 1464]
b .L472
.L471:
ldr x0, [sp, 8]
ldr w0, [x0, 172]
ldr w1, [sp, 4]
cmp w1, w0
bne .L473
ldr x0, [sp, 8]
ldr x0, [x0, 1472]
b .L472
.L473:
mov x0, 0
.L472:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE64:
.size get_window, .-get_window
.align 2
.type do_floor, %function
do_floor:
.LFB65:
.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 w2, [sp, 44]
str w3, [sp, 40]
str x4, [sp, 32]
str x5, [sp, 24]
str x6, [sp, 16]
ldr w0, [sp, 40]
asr w0, w0, 1
str w0, [sp, 84]
ldr x0, [sp, 48]
ldr x2, [x0, 8]
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w0, [x0, 2]
str w0, [sp, 88]
ldr x1, [sp, 48]
ldrsw x0, [sp, 88]
add x0, x1, x0
ldrb w0, [x0, 17]
str w0, [sp, 92]
ldr x1, [sp, 56]
ldrsw x0, [sp, 92]
add x0, x0, 96
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 4]
cmp w0, 0
bne .L475
mov w1, 21
ldr x0, [sp, 56]
bl error
b .L476
.L475:
ldr x0, [sp, 56]
ldr x1, [x0, 328]
ldrsw x2, [sp, 92]
mov x0, 1596
mul x0, x2, x0
add x0, x1, x0
str x0, [sp, 104]
str wzr, [sp, 76]
ldr x0, [sp, 24]
ldrsh w0, [x0]
mov w1, w0
ldr x0, [sp, 104]
ldrb w0, [x0, 1588]
mul w0, w1, w0
str w0, [sp, 80]
mov w0, 1
str w0, [sp, 72]
b .L477
.L480:
ldr x1, [sp, 104]
ldrsw x0, [sp, 72]
add x0, x1, x0
ldrb w0, [x0, 838]
str w0, [sp, 68]
ldrsw x0, [sp, 68]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrsh w0, [x0]
cmp w0, 0
blt .L478
ldrsw x0, [sp, 68]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrsh w0, [x0]
mov w1, w0
ldr x0, [sp, 104]
ldrb w0, [x0, 1588]
mul w0, w1, w0
str w0, [sp, 96]
ldr x1, [sp, 104]
ldrsw x0, [sp, 68]
add x0, x0, 168
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 2]
str w0, [sp, 100]
ldr w1, [sp, 76]
ldr w0, [sp, 100]
cmp w1, w0
beq .L479
ldr w5, [sp, 84]
ldr w4, [sp, 96]
ldr w3, [sp, 100]
ldr w2, [sp, 80]
ldr w1, [sp, 76]
ldr x0, [sp, 32]
bl draw_line
.L479:
ldr w0, [sp, 100]
str w0, [sp, 76]
ldr w0, [sp, 96]
str w0, [sp, 80]
.L478:
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L477:
ldr x0, [sp, 104]
ldr w0, [x0, 1592]
ldr w1, [sp, 72]
cmp w1, w0
blt .L480
ldr w1, [sp, 76]
ldr w0, [sp, 84]
cmp w1, w0
bge .L481
ldr w0, [sp, 76]
str w0, [sp, 68]
b .L482
.L483:
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr s1, [x0]
adrp x0, inverse_db_table
add x0, x0, :lo12:inverse_db_table
ldrsw x1, [sp, 80]
ldr s0, [x0, x1, lsl 2]
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
fmul s0, s1, s0
str s0, [x0]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L482:
ldr w1, [sp, 68]
ldr w0, [sp, 84]
cmp w1, w0
blt .L483
.L481:
mov w0, 1
.L476:
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE65:
.size do_floor, .-do_floor
.section .rodata
.align 3
.LC18:
.string "f->alloc.alloc_buffer_length_in_bytes == f->temp_offset"
.text
.align 2
.type vorbis_decode_initial, %function
vorbis_decode_initial:
.LFB66:
.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]
str x5, [sp, 16]
ldr x0, [sp, 56]
str wzr, [x0, 1896]
ldr x0, [sp, 56]
ldr w1, [x0, 1896]
ldr x0, [sp, 56]
str w1, [x0, 1892]
.L485:
ldr x0, [sp, 56]
ldr w0, [x0, 152]
cmp w0, 0
beq .L486
mov w0, 0
b .L487
.L486:
ldr x0, [sp, 56]
bl maybe_start_packet
cmp w0, 0
bne .L488
mov w0, 0
b .L487
.L488:
mov w1, 1
ldr x0, [sp, 56]
bl get_bits
cmp w0, 0
beq .L489
ldr x0, [sp, 56]
ldrb w0, [x0, 92]
cmp w0, 0
beq .L501
mov w1, 35
ldr x0, [sp, 56]
bl error
b .L487
.L501:
nop
.L491:
ldr x0, [sp, 56]
bl get8_packet
cmn w0, #1
bne .L491
b .L485
.L489:
ldr x0, [sp, 56]
ldr x0, [x0, 128]
cmp x0, 0
beq .L492
ldr x0, [sp, 56]
ldr w1, [x0, 136]
ldr x0, [sp, 56]
ldr w0, [x0, 148]
cmp w1, w0
beq .L492
adrp x0, __PRETTY_FUNCTION__.8
add x3, x0, :lo12:__PRETTY_FUNCTION__.8
mov w2, 3143
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl __assert_fail
.L492:
ldr x0, [sp, 56]
ldr w0, [x0, 496]
sub w0, w0, #1
bl ilog
mov w1, w0
ldr x0, [sp, 56]
bl get_bits
str w0, [sp, 80]
ldr w0, [sp, 80]
cmn w0, #1
bne .L493
mov w0, 0
b .L487
.L493:
ldr x0, [sp, 56]
ldr w0, [x0, 496]
ldr w1, [sp, 80]
cmp w1, w0
blt .L494
mov w0, 0
b .L487
.L494:
ldr x0, [sp, 16]
ldr w1, [sp, 80]
str w1, [x0]
ldr x0, [sp, 56]
add x2, x0, 500
ldrsw x1, [sp, 80]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 1
add x0, x2, x0
str x0, [sp, 88]
ldr x0, [sp, 88]
ldrb w0, [x0]
cmp w0, 0
beq .L495
ldr x0, [sp, 56]
ldr w0, [x0, 172]
str w0, [sp, 68]
mov w1, 1
ldr x0, [sp, 56]
bl get_bits
str w0, [sp, 72]
mov w1, 1
ldr x0, [sp, 56]
bl get_bits
str w0, [sp, 76]
b .L496
.L495:
str wzr, [sp, 76]
ldr w0, [sp, 76]
str w0, [sp, 72]
ldr x0, [sp, 56]
ldr w0, [x0, 168]
str w0, [sp, 68]
.L496:
ldr w0, [sp, 68]
asr w0, w0, 1
str w0, [sp, 84]
ldr x0, [sp, 88]
ldrb w0, [x0]
cmp w0, 0
beq .L497
ldr w0, [sp, 72]
cmp w0, 0
bne .L497
ldr x0, [sp, 56]
ldr w0, [x0, 168]
ldr w1, [sp, 68]
sub w0, w1, w0
asr w1, w0, 2
ldr x0, [sp, 48]
str w1, [x0]
ldr x0, [sp, 56]
ldr w1, [x0, 168]
ldr w0, [sp, 68]
add w0, w1, w0
asr w1, w0, 2
ldr x0, [sp, 40]
str w1, [x0]
b .L498
.L497:
ldr x0, [sp, 48]
str wzr, [x0]
ldr x0, [sp, 40]
ldr w1, [sp, 84]
str w1, [x0]
.L498:
ldr x0, [sp, 88]
ldrb w0, [x0]
cmp w0, 0
beq .L499
ldr w0, [sp, 76]
cmp w0, 0
bne .L499
ldr w1, [sp, 68]
mov w0, w1
lsl w0, w0, 1
add w1, w0, w1
ldr x0, [sp, 56]
ldr w0, [x0, 168]
sub w0, w1, w0
asr w1, w0, 2
ldr x0, [sp, 32]
str w1, [x0]
ldr w1, [sp, 68]
mov w0, w1
lsl w0, w0, 1
add w1, w0, w1
ldr x0, [sp, 56]
ldr w0, [x0, 168]
add w0, w1, w0
asr w1, w0, 2
ldr x0, [sp, 24]
str w1, [x0]
b .L500
.L499:
ldr x0, [sp, 32]
ldr w1, [sp, 84]
str w1, [x0]
ldr x0, [sp, 24]
ldr w1, [sp, 68]
str w1, [x0]
.L500:
mov w0, 1
.L487:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE66:
.size vorbis_decode_initial, .-vorbis_decode_initial
.align 2
.type vorbis_decode_packet_rest, %function
vorbis_decode_packet_rest:
.LFB67:
.cfi_startproc
sub sp, sp, #2688
.cfi_def_cfa_offset 2688
stp x29, x30, [sp]
.cfi_offset 29, -2688
.cfi_offset 30, -2680
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str w3, [sp, 36]
str w4, [sp, 32]
str w5, [sp, 28]
str w6, [sp, 24]
str x7, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 2680]
mov x1, 0
ldr x0, [sp, 40]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 56]
sxtw x1, w1
add x1, x1, 40
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 108]
ldr x0, [sp, 56]
ldr x2, [x0, 488]
ldr x0, [sp, 40]
ldrb w0, [x0, 1]
and x1, x0, 255
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
str x0, [sp, 192]
ldr w0, [sp, 108]
asr w0, w0, 1
str w0, [sp, 112]
str wzr, [sp, 68]
b .L503
.L535:
ldr x0, [sp, 192]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w0, [x0, 2]
str w0, [sp, 128]
ldrsw x0, [sp, 68]
lsl x0, x0, 2
add x1, sp, 376
str wzr, [x1, x0]
ldr x1, [sp, 192]
ldrsw x0, [sp, 128]
add x0, x1, x0
ldrb w0, [x0, 17]
str w0, [sp, 132]
ldr x1, [sp, 56]
ldrsw x0, [sp, 132]
add x0, x0, 96
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 4]
cmp w0, 0
bne .L504
mov w1, 21
ldr x0, [sp, 56]
bl error
b .L577
.L504:
ldr x0, [sp, 56]
ldr x1, [x0, 328]
ldrsw x2, [sp, 132]
mov x0, 1596
mul x0, x2, x0
add x0, x1, x0
str x0, [sp, 216]
mov w1, 1
ldr x0, [sp, 56]
bl get_bits
cmp w0, 0
beq .L585
ldr x0, [sp, 216]
ldrb w0, [x0, 1588]
sub w1, w0, #1
adrp x0, range_list.7
add x0, x0, :lo12:range_list.7
sxtw x1, w1
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 136]
mov w0, 2
str w0, [sp, 80]
ldr x0, [sp, 56]
ldrsw x1, [sp, 68]
add x1, x1, 160
ldr x0, [x0, x1, lsl 3]
str x0, [sp, 224]
ldr w0, [sp, 136]
bl ilog
sub w0, w0, #1
mov w1, w0
ldr x0, [sp, 56]
bl get_bits
sxth w1, w0
ldr x0, [sp, 224]
strh w1, [x0]
ldr w0, [sp, 136]
bl ilog
sub w0, w0, #1
mov w1, w0
ldr x0, [sp, 56]
bl get_bits
mov w1, w0
ldr x0, [sp, 224]
add x0, x0, 2
sxth w1, w1
strh w1, [x0]
str wzr, [sp, 72]
b .L507
.L520:
ldr x1, [sp, 216]
ldrsw x0, [sp, 72]
add x0, x1, x0
ldrb w0, [x0, 1]
str w0, [sp, 164]
ldr x1, [sp, 216]
ldrsw x0, [sp, 164]
add x0, x1, x0
ldrb w0, [x0, 33]
str w0, [sp, 168]
ldr x1, [sp, 216]
ldrsw x0, [sp, 164]
add x0, x1, x0
ldrb w0, [x0, 49]
str w0, [sp, 172]
ldr w0, [sp, 172]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
str w0, [sp, 176]
str wzr, [sp, 84]
ldr w0, [sp, 172]
cmp w0, 0
beq .L508
ldr x0, [sp, 56]
ldr x2, [x0, 184]
ldr x1, [sp, 216]
ldrsw x0, [sp, 164]
add x0, x1, x0
ldrb w0, [x0, 65]
and x1, x0, 255
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str x0, [sp, 232]
ldr x0, [sp, 56]
ldr w0, [x0, 1784]
cmp w0, 9
bgt .L509
ldr x0, [sp, 56]
bl prep_huffman
.L509:
ldr x0, [sp, 56]
ldr w0, [x0, 1780]
and w0, w0, 1023
str w0, [sp, 84]
ldr x0, [sp, 232]
ldrsw x1, [sp, 84]
add x1, x1, 24
ldrsh w0, [x0, x1, lsl 1]
str w0, [sp, 84]
ldr w0, [sp, 84]
cmp w0, 0
blt .L510
ldr x0, [sp, 232]
ldr x1, [x0, 8]
ldrsw x0, [sp, 84]
add x0, x1, x0
ldrb w0, [x0]
str w0, [sp, 180]
ldr x0, [sp, 56]
ldr w1, [x0, 1780]
ldr w0, [sp, 180]
lsr w1, w1, w0
ldr x0, [sp, 56]
str w1, [x0, 1780]
ldr x0, [sp, 56]
ldr w1, [x0, 1784]
ldr w0, [sp, 180]
sub w1, w1, w0
ldr x0, [sp, 56]
str w1, [x0, 1784]
ldr x0, [sp, 56]
ldr w0, [x0, 1784]
cmp w0, 0
bge .L511
ldr x0, [sp, 56]
str wzr, [x0, 1784]
mov w0, -1
str w0, [sp, 84]
b .L511
.L510:
ldr x1, [sp, 232]
ldr x0, [sp, 56]
bl codebook_decode_scalar_raw
str w0, [sp, 84]
.L511:
ldr x0, [sp, 232]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L508
ldr x0, [sp, 232]
ldr x1, [x0, 2104]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 84]
.L508:
str wzr, [sp, 76]
b .L512
.L519:
ldr w1, [sp, 84]
ldr w0, [sp, 176]
and w0, w1, w0
ldr x1, [sp, 216]
sxtw x0, w0
ldrsw x2, [sp, 164]
lsl x2, x2, 3
add x0, x2, x0
add x0, x0, 40
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 2]
str w0, [sp, 184]
ldr w0, [sp, 172]
ldr w1, [sp, 84]
asr w0, w1, w0
str w0, [sp, 84]
ldr w0, [sp, 184]
cmp w0, 0
blt .L513
ldr x0, [sp, 56]
ldr x2, [x0, 184]
ldrsw x1, [sp, 184]
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str x0, [sp, 240]
ldr x0, [sp, 56]
ldr w0, [x0, 1784]
cmp w0, 9
bgt .L514
ldr x0, [sp, 56]
bl prep_huffman
.L514:
ldr x0, [sp, 56]
ldr w0, [x0, 1780]
and w0, w0, 1023
str w0, [sp, 88]
ldr x0, [sp, 240]
ldrsw x1, [sp, 88]
add x1, x1, 24
ldrsh w0, [x0, x1, lsl 1]
str w0, [sp, 88]
ldr w0, [sp, 88]
cmp w0, 0
blt .L515
ldr x0, [sp, 240]
ldr x1, [x0, 8]
ldrsw x0, [sp, 88]
add x0, x1, x0
ldrb w0, [x0]
str w0, [sp, 188]
ldr x0, [sp, 56]
ldr w1, [x0, 1780]
ldr w0, [sp, 188]
lsr w1, w1, w0
ldr x0, [sp, 56]
str w1, [x0, 1780]
ldr x0, [sp, 56]
ldr w1, [x0, 1784]
ldr w0, [sp, 188]
sub w1, w1, w0
ldr x0, [sp, 56]
str w1, [x0, 1784]
ldr x0, [sp, 56]
ldr w0, [x0, 1784]
cmp w0, 0
bge .L516
ldr x0, [sp, 56]
str wzr, [x0, 1784]
mov w0, -1
str w0, [sp, 88]
b .L516
.L515:
ldr x1, [sp, 240]
ldr x0, [sp, 56]
bl codebook_decode_scalar_raw
str w0, [sp, 88]
.L516:
ldr x0, [sp, 240]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L517
ldr x0, [sp, 240]
ldr x1, [x0, 2104]
ldrsw x0, [sp, 88]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 88]
.L517:
ldr w0, [sp, 80]
add w1, w0, 1
str w1, [sp, 80]
sxtw x0, w0
lsl x0, x0, 1
ldr x1, [sp, 224]
add x0, x1, x0
ldr w1, [sp, 88]
sxth w1, w1
strh w1, [x0]
b .L518
.L513:
ldr w0, [sp, 80]
add w1, w0, 1
str w1, [sp, 80]
sxtw x0, w0
lsl x0, x0, 1
ldr x1, [sp, 224]
add x0, x1, x0
strh wzr, [x0]
.L518:
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L512:
ldr w1, [sp, 76]
ldr w0, [sp, 168]
cmp w1, w0
blt .L519
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L507:
ldr x0, [sp, 216]
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 72]
cmp w0, w1
blt .L520
ldr x0, [sp, 56]
ldr w0, [x0, 1784]
cmn w0, #1
beq .L586
mov w0, 1
strb w0, [sp, 2425]
ldrb w0, [sp, 2425]
strb w0, [sp, 2424]
mov w0, 2
str w0, [sp, 72]
b .L522
.L530:
ldr x1, [sp, 216]
ldrsw x0, [sp, 72]
add x0, x0, 544
lsl x0, x0, 1
add x0, x1, x0
ldrb w0, [x0]
str w0, [sp, 140]
ldr x1, [sp, 216]
ldrsw x0, [sp, 72]
lsl x0, x0, 1
add x0, x1, x0
ldrb w0, [x0, 1089]
str w0, [sp, 144]
ldr x1, [sp, 216]
ldrsw x0, [sp, 72]
add x0, x0, 168
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 2]
mov w5, w0
ldr x1, [sp, 216]
ldrsw x0, [sp, 140]
add x0, x0, 168
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 2]
mov w6, w0
ldr x1, [sp, 216]
ldrsw x0, [sp, 144]
add x0, x0, 168
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 2]
mov w2, w0
ldrsw x0, [sp, 140]
lsl x0, x0, 1
ldr x1, [sp, 224]
add x0, x1, x0
ldrsh w0, [x0]
mov w3, w0
ldrsw x0, [sp, 144]
lsl x0, x0, 1
ldr x1, [sp, 224]
add x0, x1, x0
ldrsh w0, [x0]
mov w4, w0
mov w1, w6
mov w0, w5
bl predict_point
str w0, [sp, 148]
ldrsw x0, [sp, 72]
lsl x0, x0, 1
ldr x1, [sp, 224]
add x0, x1, x0
ldrsh w0, [x0]
str w0, [sp, 152]
ldr w1, [sp, 136]
ldr w0, [sp, 148]
sub w0, w1, w0
str w0, [sp, 156]
ldr w0, [sp, 148]
str w0, [sp, 160]
ldr w1, [sp, 156]
ldr w0, [sp, 160]
cmp w1, w0
bge .L523
ldr w0, [sp, 156]
lsl w0, w0, 1
str w0, [sp, 92]
b .L524
.L523:
ldr w0, [sp, 160]
lsl w0, w0, 1
str w0, [sp, 92]
.L524:
ldr w0, [sp, 152]
cmp w0, 0
beq .L525
ldrsw x0, [sp, 144]
add x1, sp, 2424
mov w2, 1
strb w2, [x1, x0]
ldrsw x0, [sp, 144]
add x1, sp, 2424
ldrb w2, [x1, x0]
ldrsw x0, [sp, 140]
add x1, sp, 2424
strb w2, [x1, x0]
ldrsw x0, [sp, 72]
add x1, sp, 2424
mov w2, 1
strb w2, [x1, x0]
ldr w1, [sp, 152]
ldr w0, [sp, 92]
cmp w1, w0
blt .L526
ldr w1, [sp, 156]
ldr w0, [sp, 160]
cmp w1, w0
ble .L527
ldr w0, [sp, 152]
and w1, w0, 65535
ldr w0, [sp, 160]
and w0, w0, 65535
sub w0, w1, w0
and w1, w0, 65535
ldr w0, [sp, 148]
and w0, w0, 65535
add w0, w1, w0
and w2, w0, 65535
ldrsw x0, [sp, 72]
lsl x0, x0, 1
ldr x1, [sp, 224]
add x0, x1, x0
sxth w1, w2
strh w1, [x0]
b .L528
.L527:
ldr w0, [sp, 148]
and w1, w0, 65535
ldr w0, [sp, 152]
and w0, w0, 65535
sub w0, w1, w0
and w1, w0, 65535
ldr w0, [sp, 156]
and w0, w0, 65535
add w0, w1, w0
and w0, w0, 65535
sub w0, w0, #1
and w2, w0, 65535
ldrsw x0, [sp, 72]
lsl x0, x0, 1
ldr x1, [sp, 224]
add x0, x1, x0
sxth w1, w2
strh w1, [x0]
b .L528
.L526:
ldr w0, [sp, 152]
and w0, w0, 1
cmp w0, 0
beq .L529
ldr w0, [sp, 148]
and w1, w0, 65535
ldr w0, [sp, 152]
add w0, w0, 1
asr w0, w0, 1
and w0, w0, 65535
sub w0, w1, w0
and w2, w0, 65535
ldrsw x0, [sp, 72]
lsl x0, x0, 1
ldr x1, [sp, 224]
add x0, x1, x0
sxth w1, w2
strh w1, [x0]
b .L528
.L529:
ldr w0, [sp, 152]
asr w0, w0, 1
and w1, w0, 65535
ldr w0, [sp, 148]
and w0, w0, 65535
add w0, w1, w0
and w2, w0, 65535
ldrsw x0, [sp, 72]
lsl x0, x0, 1
ldr x1, [sp, 224]
add x0, x1, x0
sxth w1, w2
strh w1, [x0]
b .L528
.L525:
ldrsw x0, [sp, 72]
add x1, sp, 2424
strb wzr, [x1, x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 1
ldr x1, [sp, 224]
add x0, x1, x0
ldr w1, [sp, 148]
sxth w1, w1
strh w1, [x0]
.L528:
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L522:
ldr x0, [sp, 216]
ldr w0, [x0, 1592]
ldr w1, [sp, 72]
cmp w1, w0
blt .L530
str wzr, [sp, 72]
b .L531
.L533:
ldrsw x0, [sp, 72]
add x1, sp, 2424
ldrb w0, [x1, x0]
cmp w0, 0
bne .L532
ldrsw x0, [sp, 72]
lsl x0, x0, 1
ldr x1, [sp, 224]
add x0, x1, x0
mov w1, -1
strh w1, [x0]
.L532:
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L531:
ldr x0, [sp, 216]
ldr w0, [x0, 1592]
ldr w1, [sp, 72]
cmp w1, w0
blt .L533
b .L534
.L585:
nop
b .L506
.L586:
nop
.L506:
ldrsw x0, [sp, 68]
lsl x0, x0, 2
add x1, sp, 376
mov w2, 1
str w2, [x1, x0]
.L534:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L503:
ldr x0, [sp, 56]
ldr w0, [x0, 4]
ldr w1, [sp, 68]
cmp w1, w0
blt .L535
ldr x0, [sp, 56]
ldr x0, [x0, 128]
cmp x0, 0
beq .L536
ldr x0, [sp, 56]
ldr w1, [x0, 136]
ldr x0, [sp, 56]
ldr w0, [x0, 148]
cmp w1, w0
beq .L536
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3293
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl __assert_fail
.L536:
ldr x0, [sp, 56]
ldr w0, [x0, 4]
sxtw x0, w0
lsl x2, x0, 2
add x1, sp, 376
add x0, sp, 1400
bl memcpy
str wzr, [sp, 68]
b .L537
.L540:
ldr x0, [sp, 192]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w0, [x0]
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 376
ldr w0, [x1, x0]
cmp w0, 0
beq .L538
ldr x0, [sp, 192]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w0, [x0, 1]
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 376
ldr w0, [x1, x0]
cmp w0, 0
bne .L539
.L538:
ldr x0, [sp, 192]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w0, [x0, 1]
mov w3, w0
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 376
str wzr, [x1, x0]
ldr x0, [sp, 192]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w0, [x0]
mov w4, w0
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 376
ldr w2, [x1, x0]
sxtw x0, w4
lsl x0, x0, 2
add x1, sp, 376
str w2, [x1, x0]
.L539:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L537:
ldr x0, [sp, 192]
ldrh w0, [x0]
mov w1, w0
ldr w0, [sp, 68]
cmp w0, w1
blt .L540
str wzr, [sp, 68]
b .L541
.L547:
str wzr, [sp, 96]
str wzr, [sp, 72]
b .L542
.L546:
ldr x0, [sp, 192]
ldr x2, [x0, 8]
ldrsw x1, [sp, 72]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w0, [x0, 2]
mov w1, w0
ldr w0, [sp, 68]
cmp w0, w1
bne .L543
ldrsw x0, [sp, 72]
lsl x0, x0, 2
add x1, sp, 376
ldr w0, [x1, x0]
cmp w0, 0
beq .L544
ldrsw x0, [sp, 96]
add x1, sp, 2424
mov w2, 1
strb w2, [x1, x0]
ldrsw x0, [sp, 96]
lsl x0, x0, 3
add x1, sp, 248
str xzr, [x1, x0]
b .L545
.L544:
ldrsw x0, [sp, 96]
add x1, sp, 2424
strb wzr, [x1, x0]
ldr x1, [sp, 56]
ldrsw x0, [sp, 72]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x2, [x0, 8]
ldrsw x0, [sp, 96]
lsl x0, x0, 3
add x1, sp, 248
str x2, [x1, x0]
.L545:
ldr w0, [sp, 96]
add w0, w0, 1
str w0, [sp, 96]
.L543:
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L542:
ldr x0, [sp, 56]
ldr w0, [x0, 4]
ldr w1, [sp, 72]
cmp w1, w0
blt .L546
ldr x1, [sp, 192]
ldrsw x0, [sp, 68]
add x0, x1, x0
ldrb w0, [x0, 32]
str w0, [sp, 124]
add x1, sp, 2424
add x0, sp, 248
mov x5, x1
ldr w4, [sp, 124]
ldr w3, [sp, 112]
ldr w2, [sp, 96]
mov x1, x0
ldr x0, [sp, 56]
bl decode_residue
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L541:
ldr x0, [sp, 192]
ldrb w0, [x0, 16]
mov w1, w0
ldr w0, [sp, 68]
cmp w0, w1
blt .L547
ldr x0, [sp, 56]
ldr x0, [x0, 128]
cmp x0, 0
beq .L548
ldr x0, [sp, 56]
ldr w1, [x0, 136]
ldr x0, [sp, 56]
ldr w0, [x0, 148]
cmp w1, w0
beq .L548
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3326
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl __assert_fail
.L548:
ldr x0, [sp, 192]
ldrh w0, [x0]
sub w0, w0, #1
str w0, [sp, 68]
b .L549
.L559:
ldr w0, [sp, 108]
asr w0, w0, 1
str w0, [sp, 120]
ldr x0, [sp, 192]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w0, [x0]
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
str x0, [sp, 200]
ldr x0, [sp, 192]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w0, [x0, 1]
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
str x0, [sp, 208]
str wzr, [sp, 72]
b .L550
.L558:
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 200]
add x0, x1, x0
ldr s0, [x0]
fcmpe s0, #0.0
bgt .L579
b .L582
.L579:
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 208]
add x0, x1, x0
ldr s0, [x0]
fcmpe s0, #0.0
bgt .L580
b .L583
.L580:
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 200]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 104]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 200]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 208]
add x0, x1, x0
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 100]
b .L555
.L583:
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 200]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 100]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 200]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 208]
add x0, x1, x0
ldr s0, [x0]
fadd s0, s1, s0
str s0, [sp, 104]
b .L555
.L582:
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 208]
add x0, x1, x0
ldr s0, [x0]
fcmpe s0, #0.0
bgt .L581
b .L584
.L581:
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 200]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 104]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 200]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 208]
add x0, x1, x0
ldr s0, [x0]
fadd s0, s1, s0
str s0, [sp, 100]
b .L555
.L584:
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 200]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 100]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 200]
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 208]
add x0, x1, x0
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 104]
.L555:
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 200]
add x0, x1, x0
ldr s0, [sp, 104]
str s0, [x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 208]
add x0, x1, x0
ldr s0, [sp, 100]
str s0, [x0]
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L550:
ldr w1, [sp, 72]
ldr w0, [sp, 120]
cmp w1, w0
blt .L558
ldr w0, [sp, 68]
sub w0, w0, #1
str w0, [sp, 68]
.L549:
ldr w0, [sp, 68]
cmp w0, 0
bge .L559
str wzr, [sp, 68]
b .L560
.L563:
ldrsw x0, [sp, 68]
lsl x0, x0, 2
add x1, sp, 1400
ldr w0, [x1, x0]
cmp w0, 0
beq .L561
ldr x1, [sp, 56]
ldrsw x0, [sp, 68]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x3, [x0, 8]
ldrsw x0, [sp, 112]
lsl x0, x0, 2
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
b .L562
.L561:
ldr x1, [sp, 56]
ldrsw x0, [sp, 68]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x2, [x0, 8]
ldr x0, [sp, 56]
ldrsw x1, [sp, 68]
add x1, x1, 160
ldr x0, [x0, x1, lsl 3]
mov x6, 0
mov x5, x0
mov x4, x2
ldr w3, [sp, 108]
ldr w2, [sp, 68]
ldr x1, [sp, 192]
ldr x0, [sp, 56]
bl do_floor
.L562:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L560:
ldr x0, [sp, 56]
ldr w0, [x0, 4]
ldr w1, [sp, 68]
cmp w1, w0
blt .L563
str wzr, [sp, 68]
b .L564
.L565:
ldr x1, [sp, 56]
ldrsw x0, [sp, 68]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x4, [x0, 8]
ldr x0, [sp, 40]
ldrb w0, [x0]
mov w3, w0
ldr x2, [sp, 56]
ldr w1, [sp, 108]
mov x0, x4
bl inverse_mdct
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L564:
ldr x0, [sp, 56]
ldr w0, [x0, 4]
ldr w1, [sp, 68]
cmp w1, w0
blt .L565
ldr x0, [sp, 56]
bl flush_packet
ldr x0, [sp, 56]
ldrb w0, [x0, 1765]
cmp w0, 0
beq .L566
ldr w0, [sp, 112]
neg w1, w0
ldr x0, [sp, 56]
str w1, [x0, 1408]
ldr w1, [sp, 108]
ldr w0, [sp, 24]
sub w1, w1, w0
ldr x0, [sp, 56]
str w1, [x0, 1800]
ldr x0, [sp, 56]
mov w1, 1
str w1, [x0, 1412]
ldr x0, [sp, 56]
strb wzr, [x0, 1765]
b .L567
.L566:
ldr x0, [sp, 56]
ldr w0, [x0, 1800]
cmp w0, 0
beq .L568
ldr x0, [sp, 56]
ldr w1, [x0, 1800]
ldr w2, [sp, 28]
ldr w0, [sp, 36]
sub w0, w2, w0
cmp w1, w0
blt .L569
ldr x0, [sp, 56]
ldr w1, [x0, 1800]
ldr w2, [sp, 28]
ldr w0, [sp, 36]
sub w0, w2, w0
sub w1, w1, w0
ldr x0, [sp, 56]
str w1, [x0, 1800]
ldr w0, [sp, 28]
str w0, [sp, 36]
ldr x0, [sp, 16]
ldr w1, [sp, 36]
str w1, [x0]
b .L567
.L569:
ldr x0, [sp, 56]
ldr w0, [x0, 1800]
ldr w1, [sp, 36]
add w0, w1, w0
str w0, [sp, 36]
ldr x0, [sp, 16]
ldr w1, [sp, 36]
str w1, [x0]
ldr x0, [sp, 56]
str wzr, [x0, 1800]
b .L567
.L568:
ldr x0, [sp, 56]
ldr w0, [x0, 1272]
cmp w0, 0
.L567:
ldr x0, [sp, 56]
ldr w1, [x0, 1776]
ldr x0, [sp, 56]
ldr w0, [x0, 1792]
cmp w1, w0
bne .L570
ldr x0, [sp, 56]
ldr w0, [x0, 1412]
cmp w0, 0
beq .L571
ldr x0, [sp, 56]
ldrb w0, [x0, 1763]
and w0, w0, 4
cmp w0, 0
beq .L571
ldr x0, [sp, 56]
ldr w0, [x0, 1796]
str w0, [sp, 116]
ldr x0, [sp, 56]
ldr w0, [x0, 1408]
ldr w2, [sp, 24]
ldr w1, [sp, 36]
sub w1, w2, w1
add w0, w0, w1
ldr w1, [sp, 116]
cmp w1, w0
bcs .L571
ldr x0, [sp, 56]
ldr w0, [x0, 1408]
ldr w1, [sp, 116]
cmp w1, w0
bcs .L572
ldr x0, [sp, 48]
str wzr, [x0]
b .L573
.L572:
ldr x0, [sp, 56]
ldr w0, [x0, 1408]
ldr w1, [sp, 116]
sub w0, w1, w0
mov w1, w0
ldr x0, [sp, 48]
str w1, [x0]
.L573:
ldr x0, [sp, 48]
ldr w1, [x0]
ldr w0, [sp, 36]
add w1, w1, w0
ldr x0, [sp, 48]
str w1, [x0]
ldr x0, [sp, 48]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
bge .L574
ldr x0, [sp, 48]
ldr w1, [sp, 24]
str w1, [x0]
.L574:
ldr x0, [sp, 56]
ldr w0, [x0, 1408]
ldr x1, [sp, 48]
ldr w1, [x1]
add w1, w0, w1
ldr x0, [sp, 56]
str w1, [x0, 1408]
mov w0, 1
b .L577
.L571:
ldr x0, [sp, 56]
ldr w0, [x0, 1796]
ldr w2, [sp, 112]
ldr w1, [sp, 36]
sub w1, w2, w1
sub w1, w0, w1
ldr x0, [sp, 56]
str w1, [x0, 1408]
ldr x0, [sp, 56]
mov w1, 1
str w1, [x0, 1412]
.L570:
ldr x0, [sp, 56]
ldr w0, [x0, 1412]
cmp w0, 0
beq .L575
ldr x0, [sp, 56]
ldr w0, [x0, 1408]
ldr w2, [sp, 28]
ldr w1, [sp, 36]
sub w1, w2, w1
add w1, w0, w1
ldr x0, [sp, 56]
str w1, [x0, 1408]
.L575:
ldr x0, [sp, 56]
ldr x0, [x0, 128]
cmp x0, 0
beq .L576
ldr x0, [sp, 56]
ldr w1, [x0, 136]
ldr x0, [sp, 56]
ldr w0, [x0, 148]
cmp w1, w0
beq .L576
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3442
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl __assert_fail
.L576:
ldr x0, [sp, 48]
ldr w1, [sp, 24]
str w1, [x0]
mov w0, 1
.L577:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 2680]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L578
bl __stack_chk_fail
.L578:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 2688
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE67:
.size vorbis_decode_packet_rest, .-vorbis_decode_packet_rest
.align 2
.type vorbis_decode_packet, %function
vorbis_decode_packet:
.LFB68:
.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]
str x3, [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
add x2, sp, 60
add x1, sp, 68
add x0, sp, 64
mov x5, x2
mov x4, x1
ldr x3, [sp, 16]
mov x2, x0
ldr x1, [sp, 24]
ldr x0, [sp, 40]
bl vorbis_decode_initial
cmp w0, 0
bne .L588
mov w0, 0
b .L590
.L588:
ldr x0, [sp, 40]
add x2, x0, 500
ldr w0, [sp, 60]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 1
add x1, x2, x0
ldr x0, [sp, 24]
ldr w2, [x0]
ldr w3, [sp, 64]
ldr x0, [sp, 16]
ldr w0, [x0]
ldr w4, [sp, 68]
ldr x7, [sp, 24]
mov w6, w4
mov w5, w0
mov w4, w3
mov w3, w2
mov x2, x1
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl vorbis_decode_packet_rest
.L590:
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 .L591
bl __stack_chk_fail
.L591:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE68:
.size vorbis_decode_packet, .-vorbis_decode_packet
.align 2
.type vorbis_finish_frame, %function
vorbis_finish_frame:
.LFB69:
.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]
ldr x0, [sp, 40]
ldr w0, [x0, 1272]
cmp w0, 0
beq .L593
ldr x0, [sp, 40]
ldr w0, [x0, 1272]
str w0, [sp, 64]
ldr w1, [sp, 64]
ldr x0, [sp, 40]
bl get_window
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L594
mov w0, 0
b .L595
.L594:
str wzr, [sp, 56]
b .L596
.L599:
str wzr, [sp, 60]
b .L597
.L598:
ldr x1, [sp, 40]
ldrsw x0, [sp, 56]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0, 8]
ldr w2, [sp, 32]
ldr w0, [sp, 60]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 72]
add x0, x1, x0
ldr s0, [x0]
fmul s1, s1, s0
ldr x1, [sp, 40]
ldrsw x0, [sp, 56]
add x0, x0, 142
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0, 8]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x0, x1, x0
ldr s2, [x0]
ldr w0, [sp, 64]
sub w1, w0, #1
ldr w0, [sp, 60]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 72]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s2, s0
ldr x1, [sp, 40]
ldrsw x0, [sp, 56]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0, 8]
ldr w2, [sp, 32]
ldr w0, [sp, 60]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
fadd s0, s1, s0
str s0, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L597:
ldr w1, [sp, 60]
ldr w0, [sp, 64]
cmp w1, w0
blt .L598
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L596:
ldr x0, [sp, 40]
ldr w0, [x0, 4]
ldr w1, [sp, 56]
cmp w1, w0
blt .L599
.L593:
ldr x0, [sp, 40]
ldr w0, [x0, 1272]
str w0, [sp, 68]
ldr w1, [sp, 36]
ldr w0, [sp, 28]
sub w1, w1, w0
ldr x0, [sp, 40]
str w1, [x0, 1272]
str wzr, [sp, 48]
b .L600
.L603:
str wzr, [sp, 52]
b .L601
.L602:
ldr x1, [sp, 40]
ldrsw x0, [sp, 48]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0, 8]
ldr w2, [sp, 28]
ldr w0, [sp, 52]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x1, x1, x0
ldr x2, [sp, 40]
ldrsw x0, [sp, 48]
add x0, x0, 142
lsl x0, x0, 3
add x0, x2, x0
ldr x2, [x0, 8]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L601:
ldr w1, [sp, 28]
ldr w0, [sp, 52]
add w0, w1, w0
ldr w1, [sp, 36]
cmp w1, w0
bgt .L602
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L600:
ldr x0, [sp, 40]
ldr w0, [x0, 4]
ldr w1, [sp, 48]
cmp w1, w0
blt .L603
ldr w0, [sp, 68]
cmp w0, 0
bne .L604
mov w0, 0
b .L595
.L604:
ldr w1, [sp, 36]
ldr w0, [sp, 28]
cmp w1, w0
bge .L605
ldr w0, [sp, 36]
str w0, [sp, 28]
.L605:
ldr x0, [sp, 40]
ldr w0, [x0, 1804]
ldr w2, [sp, 28]
ldr w1, [sp, 32]
sub w1, w2, w1
add w1, w0, w1
ldr x0, [sp, 40]
str w1, [x0, 1804]
ldr w1, [sp, 28]
ldr w0, [sp, 32]
sub w0, w1, w0
.L595:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE69:
.size vorbis_finish_frame, .-vorbis_finish_frame
.align 2
.type vorbis_pump_first_frame, %function
vorbis_pump_first_frame:
.LFB70:
.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
add x2, sp, 44
add x1, sp, 48
add x0, sp, 40
mov x3, x2
mov x2, x1
mov x1, x0
ldr x0, [sp, 24]
bl vorbis_decode_packet
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
beq .L607
ldr w0, [sp, 40]
ldr w1, [sp, 48]
ldr w2, [sp, 44]
mov w3, w2
mov w2, w1
mov w1, w0
ldr x0, [sp, 24]
bl vorbis_finish_frame
.L607:
ldr w0, [sp, 52]
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 .L609
bl __stack_chk_fail
.L609:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE70:
.size vorbis_pump_first_frame, .-vorbis_pump_first_frame
.align 2
.type is_whole_packet_present, %function
is_whole_packet_present:
.LFB71:
.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]
ldr x0, [sp, 24]
ldr w0, [x0, 1768]
str w0, [sp, 36]
mov w0, 1
str w0, [sp, 40]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
str x0, [sp, 48]
ldr w0, [sp, 36]
cmn w0, #1
beq .L619
b .L612
.L615:
ldr x1, [sp, 24]
ldrsw x0, [sp, 36]
add x0, x1, x0
ldrb w0, [x0, 1508]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 24]
ldrsw x0, [sp, 36]
add x0, x1, x0
ldrb w0, [x0, 1508]
cmp w0, 255
bne .L633
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L612:
ldr x0, [sp, 24]
ldr w0, [x0, 1504]
ldr w1, [sp, 36]
cmp w1, w0
blt .L615
b .L614
.L633:
nop
.L614:
ldr x0, [sp, 24]
ldr w0, [x0, 1504]
ldr w1, [sp, 36]
cmp w1, w0
bne .L616
mov w0, -1
str w0, [sp, 36]
.L616:
ldr x0, [sp, 24]
ldr x0, [x0, 80]
ldr x1, [sp, 48]
cmp x1, x0
bls .L617
mov w1, 1
ldr x0, [sp, 24]
bl error
b .L618
.L617:
str wzr, [sp, 40]
b .L619
.L632:
ldr x0, [sp, 48]
add x1, x0, 26
ldr x0, [sp, 24]
ldr x0, [x0, 80]
cmp x1, x0
bcc .L620
mov w1, 1
ldr x0, [sp, 24]
bl error
b .L618
.L620:
mov x2, 4
adrp x0, ogg_page_header
add x1, x0, :lo12:ogg_page_header
ldr x0, [sp, 48]
bl memcmp
cmp w0, 0
beq .L621
mov w1, 21
ldr x0, [sp, 24]
bl error
b .L618
.L621:
ldr x0, [sp, 48]
add x0, x0, 4
ldrb w0, [x0]
cmp w0, 0
beq .L622
mov w1, 21
ldr x0, [sp, 24]
bl error
b .L618
.L622:
ldr w0, [sp, 40]
cmp w0, 0
beq .L623
ldr x0, [sp, 24]
ldr w0, [x0, 1272]
cmp w0, 0
beq .L624
ldr x0, [sp, 48]
add x0, x0, 5
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L624
mov w1, 21
ldr x0, [sp, 24]
bl error
b .L618
.L623:
ldr x0, [sp, 48]
add x0, x0, 5
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
bne .L624
mov w1, 21
ldr x0, [sp, 24]
bl error
b .L618
.L624:
ldr x0, [sp, 48]
add x0, x0, 26
ldrb w0, [x0]
str w0, [sp, 44]
ldr x0, [sp, 48]
add x0, x0, 27
str x0, [sp, 56]
ldrsw x0, [sp, 44]
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 48]
ldr x0, [sp, 24]
ldr x0, [x0, 80]
ldr x1, [sp, 48]
cmp x1, x0
bls .L625
mov w1, 1
ldr x0, [sp, 24]
bl error
b .L618
.L625:
str wzr, [sp, 36]
b .L626
.L629:
ldrsw x0, [sp, 36]
ldr x1, [sp, 56]
add x0, x1, x0
ldrb w0, [x0]
and x0, x0, 255
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldrsw x0, [sp, 36]
ldr x1, [sp, 56]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 255
bne .L634
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L626:
ldr w1, [sp, 36]
ldr w0, [sp, 44]
cmp w1, w0
blt .L629
b .L628
.L634:
nop
.L628:
ldr w1, [sp, 36]
ldr w0, [sp, 44]
cmp w1, w0
bne .L630
mov w0, -1
str w0, [sp, 36]
.L630:
ldr x0, [sp, 24]
ldr x0, [x0, 80]
ldr x1, [sp, 48]
cmp x1, x0
bls .L631
mov w1, 1
ldr x0, [sp, 24]
bl error
b .L618
.L631:
str wzr, [sp, 40]
.L619:
ldr w0, [sp, 36]
cmn w0, #1
beq .L632
mov w0, 1
.L618:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE71:
.size is_whole_packet_present, .-is_whole_packet_present
.section .rodata
.align 3
.LC19:
.string "f->temp_offset == f->alloc.alloc_buffer_length_in_bytes"
.text
.align 2
.type start_decoder, %function
start_decoder:
.LFB72:
.cfi_startproc
sub sp, sp, #1392
.cfi_def_cfa_offset 1392
stp x29, x30, [sp]
.cfi_offset 29, -1392
.cfi_offset 30, -1384
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -1376
str x0, [sp, 40]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1384]
mov x1, 0
str wzr, [sp, 72]
str wzr, [sp, 76]
ldr x0, [sp, 40]
mov w1, 1
strb w1, [x0, 1765]
ldr x0, [sp, 40]
bl start_page
cmp w0, 0
bne .L636
mov w0, 0
b .L862
.L636:
ldr x0, [sp, 40]
ldrb w0, [x0, 1763]
and w0, w0, 2
cmp w0, 0
bne .L638
mov w1, 34
ldr x0, [sp, 40]
bl error
b .L862
.L638:
ldr x0, [sp, 40]
ldrb w0, [x0, 1763]
and w0, w0, 4
cmp w0, 0
beq .L639
mov w1, 34
ldr x0, [sp, 40]
bl error
b .L862
.L639:
ldr x0, [sp, 40]
ldrb w0, [x0, 1763]
and w0, w0, 1
cmp w0, 0
beq .L640
mov w1, 34
ldr x0, [sp, 40]
bl error
b .L862
.L640:
ldr x0, [sp, 40]
ldr w0, [x0, 1504]
cmp w0, 1
beq .L641
mov w1, 34
ldr x0, [sp, 40]
bl error
b .L862
.L641:
ldr x0, [sp, 40]
ldrb w0, [x0, 1508]
cmp w0, 30
beq .L642
ldr x0, [sp, 40]
ldrb w0, [x0, 1508]
cmp w0, 64
bne .L643
add x0, sp, 1312
mov w2, 6
mov x1, x0
ldr x0, [sp, 40]
bl getn
cmp w0, 0
beq .L643
ldrb w0, [sp, 1312]
cmp w0, 102
bne .L643
ldrb w0, [sp, 1313]
cmp w0, 105
bne .L643
ldrb w0, [sp, 1314]
cmp w0, 115
bne .L643
ldrb w0, [sp, 1315]
cmp w0, 104
bne .L643
ldrb w0, [sp, 1316]
cmp w0, 101
bne .L643
ldrb w0, [sp, 1317]
cmp w0, 97
bne .L643
ldr x0, [sp, 40]
bl get8
and w0, w0, 255
cmp w0, 100
bne .L643
ldr x0, [sp, 40]
bl get8
and w0, w0, 255
cmp w0, 0
bne .L643
mov w1, 38
ldr x0, [sp, 40]
bl error
b .L862
.L643:
mov w1, 34
ldr x0, [sp, 40]
bl error
b .L862
.L642:
ldr x0, [sp, 40]
bl get8
and w0, w0, 255
cmp w0, 1
beq .L644
mov w1, 34
ldr x0, [sp, 40]
bl error
b .L862
.L644:
add x0, sp, 1312
mov w2, 6
mov x1, x0
ldr x0, [sp, 40]
bl getn
cmp w0, 0
bne .L645
mov w1, 10
ldr x0, [sp, 40]
bl error
b .L862
.L645:
add x0, sp, 1312
bl vorbis_validate
cmp w0, 0
bne .L646
mov w1, 34
ldr x0, [sp, 40]
bl error
b .L862
.L646:
ldr x0, [sp, 40]
bl get32
cmp w0, 0
beq .L647
mov w1, 34
ldr x0, [sp, 40]
bl error
b .L862
.L647:
ldr x0, [sp, 40]
bl get8
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 4]
ldr x0, [sp, 40]
ldr w0, [x0, 4]
cmp w0, 0
bne .L648
mov w1, 34
ldr x0, [sp, 40]
bl error
b .L862
.L648:
ldr x0, [sp, 40]
ldr w0, [x0, 4]
cmp w0, 16
ble .L649
mov w1, 5
ldr x0, [sp, 40]
bl error
b .L862
.L649:
ldr x0, [sp, 40]
bl get32
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 0
bne .L650
mov w1, 34
ldr x0, [sp, 40]
bl error
b .L862
.L650:
ldr x0, [sp, 40]
bl get32
ldr x0, [sp, 40]
bl get32
ldr x0, [sp, 40]
bl get32
ldr x0, [sp, 40]
bl get8
strb w0, [sp, 49]
ldrb w0, [sp, 49]
and w0, w0, 15
str w0, [sp, 124]
ldrb w0, [sp, 49]
lsr w0, w0, 4
and w0, w0, 255
str w0, [sp, 128]
ldr w0, [sp, 124]
mov w1, 1
lsl w1, w1, w0
ldr x0, [sp, 40]
str w1, [x0, 168]
ldr w0, [sp, 128]
mov w1, 1
lsl w1, w1, w0
ldr x0, [sp, 40]
str w1, [x0, 172]
ldr w0, [sp, 124]
cmp w0, 5
ble .L651
ldr w0, [sp, 124]
cmp w0, 13
ble .L652
.L651:
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L652:
ldr w0, [sp, 128]
cmp w0, 5
ble .L653
ldr w0, [sp, 128]
cmp w0, 13
ble .L654
.L653:
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L654:
ldr w1, [sp, 124]
ldr w0, [sp, 128]
cmp w1, w0
ble .L655
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L655:
ldr x0, [sp, 40]
bl get8
strb w0, [sp, 49]
ldrb w0, [sp, 49]
and w0, w0, 1
cmp w0, 0
bne .L656
mov w1, 34
ldr x0, [sp, 40]
bl error
b .L862
.L656:
ldr x0, [sp, 40]
bl start_page
cmp w0, 0
bne .L657
mov w0, 0
b .L862
.L657:
ldr x0, [sp, 40]
bl start_packet
cmp w0, 0
bne .L658
mov w0, 0
b .L862
.L658:
ldr x0, [sp, 40]
bl next_segment
cmp w0, 0
bne .L659
mov w0, 0
b .L862
.L659:
ldr x0, [sp, 40]
bl get8_packet
cmp w0, 3
beq .L660
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L660:
str wzr, [sp, 60]
b .L661
.L662:
ldr x0, [sp, 40]
bl get8_packet
and w2, w0, 255
ldrsw x0, [sp, 60]
add x1, sp, 1312
strb w2, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L661:
ldr w0, [sp, 60]
cmp w0, 5
ble .L662
add x0, sp, 1312
bl vorbis_validate
cmp w0, 0
bne .L663
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L663:
ldr x0, [sp, 40]
bl get32_packet
str w0, [sp, 132]
ldr w0, [sp, 132]
add w0, w0, 1
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 24]
ldr x0, [sp, 40]
ldr x0, [x0, 24]
cmp x0, 0
bne .L664
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L664:
str wzr, [sp, 60]
b .L665
.L666:
ldr x0, [sp, 40]
bl get8_packet
mov w2, w0
ldr x0, [sp, 40]
ldr x1, [x0, 24]
ldrsw x0, [sp, 60]
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L665:
ldr w1, [sp, 60]
ldr w0, [sp, 132]
cmp w1, w0
blt .L666
ldr x0, [sp, 40]
ldr x1, [x0, 24]
ldrsw x0, [sp, 132]
add x0, x1, x0
strb wzr, [x0]
ldr x0, [sp, 40]
bl get32_packet
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 32]
ldr x0, [sp, 40]
str xzr, [x0, 40]
ldr x0, [sp, 40]
ldr w0, [x0, 32]
cmp w0, 0
ble .L667
ldr x0, [sp, 40]
ldr w0, [x0, 32]
sxtw x0, w0
lsl w0, w0, 3
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 40]
ldr x0, [sp, 40]
ldr x0, [x0, 40]
cmp x0, 0
bne .L667
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L667:
str wzr, [sp, 60]
b .L668
.L672:
ldr x0, [sp, 40]
bl get32_packet
str w0, [sp, 132]
ldr w0, [sp, 132]
add w2, w0, 1
ldr x0, [sp, 40]
ldr x1, [x0, 40]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
add x19, x1, x0
mov w1, w2
ldr x0, [sp, 40]
bl setup_malloc
str x0, [x19]
ldr x0, [sp, 40]
ldr x1, [x0, 40]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
cmp x0, 0
bne .L669
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L669:
str wzr, [sp, 64]
b .L670
.L671:
ldr x0, [sp, 40]
bl get8_packet
mov w2, w0
ldr x0, [sp, 40]
ldr x1, [x0, 40]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 64]
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L670:
ldr w1, [sp, 64]
ldr w0, [sp, 132]
cmp w1, w0
blt .L671
ldr x0, [sp, 40]
ldr x1, [x0, 40]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 132]
add x0, x1, x0
strb wzr, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L668:
ldr x0, [sp, 40]
ldr w0, [x0, 32]
ldr w1, [sp, 60]
cmp w1, w0
blt .L672
ldr x0, [sp, 40]
bl get8_packet
strb w0, [sp, 49]
ldrb w0, [sp, 49]
and w0, w0, 1
cmp w0, 0
bne .L673
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L673:
ldr x0, [sp, 40]
ldrb w0, [x0, 1764]
mov w1, w0
ldr x0, [sp, 40]
bl skip
ldr x0, [sp, 40]
strb wzr, [x0, 1764]
.L674:
ldr x0, [sp, 40]
bl next_segment
str w0, [sp, 132]
ldr w1, [sp, 132]
ldr x0, [sp, 40]
bl skip
ldr x0, [sp, 40]
strb wzr, [x0, 1764]
ldr w0, [sp, 132]
cmp w0, 0
bne .L674
ldr x0, [sp, 40]
bl start_packet
cmp w0, 0
bne .L675
mov w0, 0
b .L862
.L675:
ldr x0, [sp, 40]
ldrb w0, [x0, 92]
cmp w0, 0
beq .L676
ldr x0, [sp, 40]
bl is_whole_packet_present
cmp w0, 0
bne .L676
ldr x0, [sp, 40]
ldr w0, [x0, 156]
cmp w0, 21
bne .L677
ldr x0, [sp, 40]
mov w1, 20
str w1, [x0, 156]
.L677:
mov w0, 0
b .L862
.L676:
bl crc32_init
ldr x0, [sp, 40]
bl get8_packet
cmp w0, 5
beq .L678
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L678:
str wzr, [sp, 60]
b .L679
.L680:
ldr x0, [sp, 40]
bl get8_packet
and w2, w0, 255
ldrsw x0, [sp, 60]
add x1, sp, 1312
strb w2, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L679:
ldr w0, [sp, 60]
cmp w0, 5
ble .L680
add x0, sp, 1312
bl vorbis_validate
cmp w0, 0
bne .L681
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L681:
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
add w0, w0, 1
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 176]
ldr x0, [sp, 40]
ldr w0, [x0, 176]
sxtw x0, w0
mov w1, w0
mov w0, 2120
mul w0, w1, w0
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 184]
ldr x0, [sp, 40]
ldr x0, [x0, 184]
cmp x0, 0
bne .L682
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L682:
ldr x0, [sp, 40]
ldr x3, [x0, 184]
ldr x0, [sp, 40]
ldr w0, [x0, 176]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
str wzr, [sp, 60]
b .L683
.L757:
str wzr, [sp, 84]
ldr x0, [sp, 40]
ldr x2, [x0, 184]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str x0, [sp, 296]
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
strb w0, [sp, 49]
ldrb w0, [sp, 49]
cmp w0, 66
beq .L684
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L684:
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
strb w0, [sp, 49]
ldrb w0, [sp, 49]
cmp w0, 67
beq .L685
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L685:
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
strb w0, [sp, 49]
ldrb w0, [sp, 49]
cmp w0, 86
beq .L686
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L686:
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
strb w0, [sp, 49]
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
lsl w1, w0, 8
ldrb w0, [sp, 49]
add w0, w1, w0
mov w1, w0
ldr x0, [sp, 296]
str w1, [x0]
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
strb w0, [sp, 49]
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
strb w0, [sp, 51]
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
lsl w0, w0, 16
ldrb w1, [sp, 51]
lsl w1, w1, 8
add w1, w0, w1
ldrb w0, [sp, 49]
add w0, w1, w0
mov w1, w0
ldr x0, [sp, 296]
str w1, [x0, 4]
mov w1, 1
ldr x0, [sp, 40]
bl get_bits
str w0, [sp, 180]
ldr w0, [sp, 180]
cmp w0, 0
bne .L687
mov w1, 1
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
b .L688
.L687:
mov w1, 0
.L688:
ldr x0, [sp, 296]
strb w1, [x0, 27]
ldr x0, [sp, 296]
ldr w0, [x0]
cmp w0, 0
bne .L689
ldr x0, [sp, 296]
ldr w0, [x0, 4]
cmp w0, 0
beq .L689
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L689:
ldr x0, [sp, 296]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L690
ldr x0, [sp, 296]
ldr w0, [x0, 4]
mov w1, w0
ldr x0, [sp, 40]
bl setup_temp_malloc
str x0, [sp, 240]
b .L691
.L690:
ldr x0, [sp, 296]
ldr w0, [x0, 4]
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 296]
str x1, [x0, 8]
ldr x0, [sp, 296]
ldr x0, [x0, 8]
str x0, [sp, 240]
.L691:
ldr x0, [sp, 240]
cmp x0, 0
bne .L692
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L692:
ldr w0, [sp, 180]
cmp w0, 0
beq .L693
str wzr, [sp, 88]
mov w1, 5
ldr x0, [sp, 40]
bl get_bits
add w0, w0, 1
str w0, [sp, 92]
b .L694
.L697:
ldr x0, [sp, 296]
ldr w1, [x0, 4]
ldr w0, [sp, 88]
sub w0, w1, w0
str w0, [sp, 188]
ldr w0, [sp, 188]
bl ilog
mov w1, w0
ldr x0, [sp, 40]
bl get_bits
str w0, [sp, 192]
ldr w0, [sp, 92]
cmp w0, 31
ble .L695
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L695:
ldr w1, [sp, 88]
ldr w0, [sp, 192]
add w1, w1, w0
ldr x0, [sp, 296]
ldr w0, [x0, 4]
cmp w1, w0
ble .L696
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L696:
ldrsw x0, [sp, 88]
ldr x1, [sp, 240]
add x0, x1, x0
ldrsw x1, [sp, 192]
mov x2, x1
ldr w1, [sp, 92]
bl memset
ldr w1, [sp, 88]
ldr w0, [sp, 192]
add w0, w1, w0
str w0, [sp, 88]
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L694:
ldr x0, [sp, 296]
ldr w0, [x0, 4]
ldr w1, [sp, 88]
cmp w1, w0
blt .L697
b .L698
.L693:
str wzr, [sp, 64]
b .L699
.L704:
ldr x0, [sp, 296]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L700
mov w1, 1
ldr x0, [sp, 40]
bl get_bits
b .L701
.L700:
mov w0, 1
.L701:
str w0, [sp, 184]
ldr w0, [sp, 184]
cmp w0, 0
beq .L702
mov w1, 5
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
ldrsw x0, [sp, 64]
ldr x2, [sp, 240]
add x0, x2, x0
add w1, w1, 1
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
ldrsw x0, [sp, 64]
ldr x1, [sp, 240]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 32
bne .L703
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L702:
ldrsw x0, [sp, 64]
ldr x1, [sp, 240]
add x0, x1, x0
mov w1, -1
strb w1, [x0]
.L703:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L699:
ldr x0, [sp, 296]
ldr w0, [x0, 4]
ldr w1, [sp, 64]
cmp w1, w0
blt .L704
.L698:
ldr x0, [sp, 296]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L705
ldr x0, [sp, 296]
ldr w0, [x0, 4]
asr w0, w0, 2
ldr w1, [sp, 84]
cmp w1, w0
blt .L705
ldr x0, [sp, 296]
ldr w0, [x0, 4]
ldr x1, [sp, 40]
ldr w1, [x1, 16]
cmp w0, w1
ble .L706
ldr x0, [sp, 296]
ldr w0, [x0, 4]
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 16]
.L706:
ldr x0, [sp, 296]
ldr w0, [x0, 4]
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 296]
str x1, [x0, 8]
ldr x0, [sp, 296]
ldr x0, [x0, 8]
cmp x0, 0
bne .L707
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L707:
ldr x0, [sp, 296]
ldr x3, [x0, 8]
ldr x0, [sp, 296]
ldr w0, [x0, 4]
sxtw x0, w0
mov x2, x0
ldr x1, [sp, 240]
mov x0, x3
bl memcpy
ldr x0, [sp, 296]
ldr w0, [x0, 4]
mov w2, w0
ldr x1, [sp, 240]
ldr x0, [sp, 40]
bl setup_temp_free
ldr x0, [sp, 296]
ldr x0, [x0, 8]
str x0, [sp, 240]
ldr x0, [sp, 296]
strb wzr, [x0, 27]
.L705:
ldr x0, [sp, 296]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L708
ldr w0, [sp, 84]
str w0, [sp, 80]
b .L709
.L708:
str wzr, [sp, 80]
str wzr, [sp, 64]
b .L710
.L712:
ldrsw x0, [sp, 64]
ldr x1, [sp, 240]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 10
bls .L711
ldrsw x0, [sp, 64]
ldr x1, [sp, 240]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 255
beq .L711
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L711:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L710:
ldr x0, [sp, 296]
ldr w0, [x0, 4]
ldr w1, [sp, 64]
cmp w1, w0
blt .L712
.L709:
ldr x0, [sp, 296]
ldr w1, [sp, 80]
str w1, [x0, 2112]
str xzr, [sp, 232]
ldr x0, [sp, 296]
ldrb w0, [x0, 27]
cmp w0, 0
bne .L713
ldr x0, [sp, 296]
ldr w0, [x0, 4]
sxtw x0, w0
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 296]
str x1, [x0, 40]
ldr x0, [sp, 296]
ldr x0, [x0, 40]
cmp x0, 0
bne .L714
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L713:
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
cmp w0, 0
beq .L715
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 296]
str x1, [x0, 8]
ldr x0, [sp, 296]
ldr x0, [x0, 8]
cmp x0, 0
bne .L716
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L716:
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
sxtw x0, w0
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 40]
bl setup_temp_malloc
mov x1, x0
ldr x0, [sp, 296]
str x1, [x0, 40]
ldr x0, [sp, 296]
ldr x0, [x0, 40]
cmp x0, 0
bne .L717
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L717:
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
sxtw x0, w0
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 40]
bl setup_temp_malloc
str x0, [sp, 232]
ldr x0, [sp, 232]
cmp x0, 0
bne .L715
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L715:
ldr x0, [sp, 296]
ldr w0, [x0, 4]
mov w1, w0
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
sxtw x0, w0
lsl w0, w0, 3
add w0, w1, w0
str w0, [sp, 196]
ldr x0, [sp, 40]
ldr w0, [x0, 16]
ldr w1, [sp, 196]
cmp w1, w0
bls .L714
ldr x0, [sp, 40]
ldr w1, [sp, 196]
str w1, [x0, 16]
.L714:
ldr x0, [sp, 296]
ldr w0, [x0, 4]
ldr x3, [sp, 232]
mov w2, w0
ldr x1, [sp, 240]
ldr x0, [sp, 296]
bl compute_codewords
cmp w0, 0
bne .L718
ldr x0, [sp, 296]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L719
mov w2, 0
ldr x1, [sp, 232]
ldr x0, [sp, 40]
bl setup_temp_free
.L719:
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L718:
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
cmp w0, 0
beq .L720
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
add w0, w0, 1
sxtw x0, w0
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 296]
str x1, [x0, 2096]
ldr x0, [sp, 296]
ldr x0, [x0, 2096]
cmp x0, 0
bne .L721
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L721:
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
add w0, w0, 1
sxtw x0, w0
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 296]
str x1, [x0, 2104]
ldr x0, [sp, 296]
ldr x0, [x0, 2104]
cmp x0, 0
bne .L722
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L722:
ldr x0, [sp, 296]
ldr x0, [x0, 2104]
add x1, x0, 4
ldr x0, [sp, 296]
str x1, [x0, 2104]
ldr x0, [sp, 296]
ldr x0, [x0, 2104]
sub x0, x0, #4
mov w1, -1
str w1, [x0]
ldr x2, [sp, 232]
ldr x1, [sp, 240]
ldr x0, [sp, 296]
bl compute_sorted_huffman
.L720:
ldr x0, [sp, 296]
ldrb w0, [x0, 27]
cmp w0, 0
beq .L723
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
sxtw x0, w0
lsl w0, w0, 2
mov w2, w0
ldr x1, [sp, 232]
ldr x0, [sp, 40]
bl setup_temp_free
ldr x0, [sp, 296]
ldr x1, [x0, 40]
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
sxtw x0, w0
lsl w0, w0, 2
mov w2, w0
ldr x0, [sp, 40]
bl setup_temp_free
ldr x0, [sp, 296]
ldr w0, [x0, 4]
mov w2, w0
ldr x1, [sp, 240]
ldr x0, [sp, 40]
bl setup_temp_free
ldr x0, [sp, 296]
str xzr, [x0, 40]
.L723:
ldr x0, [sp, 296]
bl compute_accelerated_huffman
mov w1, 4
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
ldr x0, [sp, 296]
strb w1, [x0, 25]
ldr x0, [sp, 296]
ldrb w0, [x0, 25]
cmp w0, 2
bls .L724
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L724:
ldr x0, [sp, 296]
ldrb w0, [x0, 25]
cmp w0, 0
beq .L725
mov w1, 32
ldr x0, [sp, 40]
bl get_bits
bl float32_unpack
ldr x0, [sp, 296]
str s0, [x0, 16]
mov w1, 32
ldr x0, [sp, 40]
bl get_bits
bl float32_unpack
ldr x0, [sp, 296]
str s0, [x0, 20]
mov w1, 4
ldr x0, [sp, 40]
bl get_bits
and w0, w0, 255
add w0, w0, 1
and w1, w0, 255
ldr x0, [sp, 296]
strb w1, [x0, 24]
mov w1, 1
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
ldr x0, [sp, 296]
strb w1, [x0, 26]
ldr x0, [sp, 296]
ldrb w0, [x0, 25]
cmp w0, 1
bne .L726
ldr x0, [sp, 296]
ldr w2, [x0, 4]
ldr x0, [sp, 296]
ldr w0, [x0]
mov w1, w0
mov w0, w2
bl lookup1_values
str w0, [sp, 200]
ldr w0, [sp, 200]
cmp w0, 0
bge .L727
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L727:
ldr w1, [sp, 200]
ldr x0, [sp, 296]
str w1, [x0, 28]
b .L728
.L726:
ldr x0, [sp, 296]
ldr w1, [x0, 4]
ldr x0, [sp, 296]
ldr w0, [x0]
mul w0, w1, w0
mov w1, w0
ldr x0, [sp, 296]
str w1, [x0, 28]
.L728:
ldr x0, [sp, 296]
ldr w0, [x0, 28]
cmp w0, 0
bne .L729
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L729:
ldr x0, [sp, 296]
ldr w0, [x0, 28]
lsl w0, w0, 1
mov w1, w0
ldr x0, [sp, 40]
bl setup_temp_malloc
str x0, [sp, 304]
ldr x0, [sp, 304]
cmp x0, 0
bne .L730
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L730:
str wzr, [sp, 64]
b .L731
.L733:
ldr x0, [sp, 296]
ldrb w0, [x0, 24]
mov w1, w0
ldr x0, [sp, 40]
bl get_bits
str w0, [sp, 228]
ldr w0, [sp, 228]
cmn w0, #1
bne .L732
ldr x0, [sp, 296]
ldr w0, [x0, 28]
lsl w0, w0, 1
mov w2, w0
ldr x1, [sp, 304]
ldr x0, [sp, 40]
bl setup_temp_free
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L732:
ldrsw x0, [sp, 64]
lsl x0, x0, 1
ldr x1, [sp, 304]
add x0, x1, x0
ldr w1, [sp, 228]
and w1, w1, 65535
strh w1, [x0]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L731:
ldr x0, [sp, 296]
ldr w0, [x0, 28]
mov w1, w0
ldr w0, [sp, 64]
cmp w0, w1
blt .L733
ldr x0, [sp, 296]
ldrb w0, [x0, 25]
cmp w0, 1
bne .L734
ldr x0, [sp, 296]
ldrb w0, [x0, 27]
str w0, [sp, 208]
str wzr, [sp, 96]
ldr w0, [sp, 208]
cmp w0, 0
beq .L735
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
cmp w0, 0
beq .L864
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
sxtw x0, w0
mov w1, w0
ldr x0, [sp, 296]
ldr w0, [x0]
sxtw x0, w0
mul w0, w1, w0
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 296]
str x1, [x0, 32]
b .L738
.L735:
ldr x0, [sp, 296]
ldr w0, [x0, 4]
sxtw x0, w0
mov w1, w0
ldr x0, [sp, 296]
ldr w0, [x0]
sxtw x0, w0
mul w0, w1, w0
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 296]
str x1, [x0, 32]
.L738:
ldr x0, [sp, 296]
ldr x0, [x0, 32]
cmp x0, 0
bne .L739
ldr x0, [sp, 296]
ldr w0, [x0, 28]
lsl w0, w0, 1
mov w2, w0
ldr x1, [sp, 304]
ldr x0, [sp, 40]
bl setup_temp_free
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L739:
ldr w0, [sp, 208]
cmp w0, 0
beq .L740
ldr x0, [sp, 296]
ldr w0, [x0, 2112]
b .L741
.L740:
ldr x0, [sp, 296]
ldr w0, [x0, 4]
.L741:
str w0, [sp, 212]
str wzr, [sp, 64]
b .L742
.L752:
ldr w0, [sp, 208]
cmp w0, 0
beq .L743
ldr x0, [sp, 296]
ldr x1, [x0, 2104]
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
b .L744
.L743:
ldr w0, [sp, 64]
.L744:
str w0, [sp, 216]
mov w0, 1
str w0, [sp, 100]
str wzr, [sp, 68]
b .L745
.L751:
ldr w1, [sp, 216]
ldr w0, [sp, 100]
udiv w0, w1, w0
ldr x1, [sp, 296]
ldr w1, [x1, 28]
udiv w2, w0, w1
mul w1, w2, w1
sub w0, w0, w1
str w0, [sp, 220]
ldrsw x0, [sp, 220]
lsl x0, x0, 1
ldr x1, [sp, 304]
add x0, x1, x0
ldrh w0, [x0]
fmov s0, w0
scvtf s1, s0
ldr x0, [sp, 296]
ldr s0, [x0, 20]
fmul s1, s1, s0
ldr x0, [sp, 296]
ldr s0, [x0, 16]
fadd s0, s1, s0
ldr s1, [sp, 96]
fadd s0, s1, s0
str s0, [sp, 224]
ldr x0, [sp, 296]
ldr x1, [x0, 32]
ldr x0, [sp, 296]
ldr w2, [x0]
ldr w0, [sp, 64]
mul w2, w2, w0
ldr w0, [sp, 68]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [sp, 224]
str s0, [x0]
ldr x0, [sp, 296]
ldrb w0, [x0, 26]
cmp w0, 0
beq .L746
ldr s0, [sp, 224]
str s0, [sp, 96]
.L746:
ldr w0, [sp, 68]
add w1, w0, 1
ldr x0, [sp, 296]
ldr w0, [x0]
cmp w1, w0
bge .L747
ldr x0, [sp, 296]
ldr w1, [x0, 28]
mov w2, 0
ldr w0, [sp, 100]
umull x0, w1, w0
lsr x0, x0, 32
cmp w0, 0
beq .L748
mov w2, 1
.L748:
mov w0, w2
cmp w0, 0
beq .L750
ldr x0, [sp, 296]
ldr w0, [x0, 28]
lsl w0, w0, 1
mov w2, w0
ldr x1, [sp, 304]
ldr x0, [sp, 40]
bl setup_temp_free
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L750:
ldr x0, [sp, 296]
ldr w0, [x0, 28]
ldr w1, [sp, 100]
mul w0, w1, w0
str w0, [sp, 100]
.L747:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L745:
ldr x0, [sp, 296]
ldr w0, [x0]
ldr w1, [sp, 68]
cmp w1, w0
blt .L751
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L742:
ldr w1, [sp, 64]
ldr w0, [sp, 212]
cmp w1, w0
blt .L752
ldr x0, [sp, 296]
mov w1, 2
strb w1, [x0, 25]
b .L737
.L734:
str wzr, [sp, 104]
ldr x0, [sp, 296]
ldr w0, [x0, 28]
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 296]
str x1, [x0, 32]
ldr x0, [sp, 296]
ldr x0, [x0, 32]
cmp x0, 0
bne .L753
ldr x0, [sp, 296]
ldr w0, [x0, 28]
lsl w0, w0, 1
mov w2, w0
ldr x1, [sp, 304]
ldr x0, [sp, 40]
bl setup_temp_free
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L753:
str wzr, [sp, 64]
b .L754
.L756:
ldrsw x0, [sp, 64]
lsl x0, x0, 1
ldr x1, [sp, 304]
add x0, x1, x0
ldrh w0, [x0]
fmov s0, w0
scvtf s1, s0
ldr x0, [sp, 296]
ldr s0, [x0, 20]
fmul s1, s1, s0
ldr x0, [sp, 296]
ldr s0, [x0, 16]
fadd s0, s1, s0
ldr s1, [sp, 104]
fadd s0, s1, s0
str s0, [sp, 204]
ldr x0, [sp, 296]
ldr x1, [x0, 32]
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [sp, 204]
str s0, [x0]
ldr x0, [sp, 296]
ldrb w0, [x0, 26]
cmp w0, 0
beq .L755
ldr s0, [sp, 204]
str s0, [sp, 104]
.L755:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L754:
ldr x0, [sp, 296]
ldr w0, [x0, 28]
mov w1, w0
ldr w0, [sp, 64]
cmp w0, w1
blt .L756
b .L737
.L864:
nop
.L737:
ldr x0, [sp, 296]
ldr w0, [x0, 28]
lsl w0, w0, 1
mov w2, w0
ldr x1, [sp, 304]
ldr x0, [sp, 40]
bl setup_temp_free
.L725:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L683:
ldr x0, [sp, 40]
ldr w0, [x0, 176]
ldr w1, [sp, 60]
cmp w1, w0
blt .L757
mov w1, 6
ldr x0, [sp, 40]
bl get_bits
and w0, w0, 255
add w0, w0, 1
strb w0, [sp, 49]
str wzr, [sp, 60]
b .L758
.L760:
mov w1, 16
ldr x0, [sp, 40]
bl get_bits
str w0, [sp, 176]
ldr w0, [sp, 176]
cmp w0, 0
beq .L759
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L759:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L758:
ldrb w0, [sp, 49]
ldr w1, [sp, 60]
cmp w1, w0
blt .L760
mov w1, 6
ldr x0, [sp, 40]
bl get_bits
add w0, w0, 1
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 192]
ldr x0, [sp, 40]
ldr w0, [x0, 192]
sxtw x0, w0
mov w1, w0
mov w0, 1596
mul w0, w1, w0
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 328]
ldr x0, [sp, 40]
ldr x0, [x0, 328]
cmp x0, 0
bne .L761
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L761:
str wzr, [sp, 60]
b .L762
.L791:
mov w1, 16
ldr x0, [sp, 40]
bl get_bits
and w2, w0, 65535
ldr x1, [sp, 40]
ldrsw x0, [sp, 60]
add x0, x0, 96
lsl x0, x0, 1
add x0, x1, x0
mov w1, w2
strh w1, [x0, 4]
ldr x1, [sp, 40]
ldrsw x0, [sp, 60]
add x0, x0, 96
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 4]
cmp w0, 1
bls .L763
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L763:
ldr x1, [sp, 40]
ldrsw x0, [sp, 60]
add x0, x0, 96
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 4]
cmp w0, 0
bne .L764
ldr x0, [sp, 40]
ldr x1, [x0, 328]
ldrsw x2, [sp, 60]
mov x0, 1596
mul x0, x2, x0
add x0, x1, x0
str x0, [sp, 288]
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
ldr x0, [sp, 288]
strb w1, [x0]
mov w1, 16
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 65535
ldr x0, [sp, 288]
strh w1, [x0, 2]
mov w1, 16
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 65535
ldr x0, [sp, 288]
strh w1, [x0, 4]
mov w1, 6
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
ldr x0, [sp, 288]
strb w1, [x0, 6]
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
ldr x0, [sp, 288]
strb w1, [x0, 7]
mov w1, 4
ldr x0, [sp, 40]
bl get_bits
and w0, w0, 255
add w0, w0, 1
and w1, w0, 255
ldr x0, [sp, 288]
strb w1, [x0, 8]
str wzr, [sp, 64]
b .L765
.L766:
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
and w2, w0, 255
ldr x1, [sp, 288]
ldrsw x0, [sp, 64]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 9]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L765:
ldr x0, [sp, 288]
ldrb w0, [x0, 8]
mov w1, w0
ldr w0, [sp, 64]
cmp w0, w1
blt .L766
mov w1, 4
ldr x0, [sp, 40]
bl error
b .L862
.L764:
ldr x0, [sp, 40]
ldr x1, [x0, 328]
ldrsw x2, [sp, 60]
mov x0, 1596
mul x0, x2, x0
add x0, x1, x0
str x0, [sp, 280]
mov w0, -1
str w0, [sp, 108]
mov w1, 5
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
ldr x0, [sp, 280]
strb w1, [x0]
str wzr, [sp, 64]
b .L767
.L769:
mov w1, 4
ldr x0, [sp, 40]
bl get_bits
and w2, w0, 255
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 1]
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x1, x0
ldrb w0, [x0, 1]
mov w1, w0
ldr w0, [sp, 108]
cmp w0, w1
bge .L768
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x1, x0
ldrb w0, [x0, 1]
str w0, [sp, 108]
.L768:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L767:
ldr x0, [sp, 280]
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 64]
cmp w0, w1
blt .L769
str wzr, [sp, 64]
b .L770
.L776:
mov w1, 3
ldr x0, [sp, 40]
bl get_bits
and w0, w0, 255
add w0, w0, 1
and w2, w0, 255
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 33]
mov w1, 2
ldr x0, [sp, 40]
bl get_bits
and w2, w0, 255
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 49]
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x1, x0
ldrb w0, [x0, 49]
cmp w0, 0
beq .L771
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
and w2, w0, 255
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 65]
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x1, x0
ldrb w0, [x0, 65]
mov w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 176]
cmp w1, w0
blt .L771
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L771:
str wzr, [sp, 68]
b .L773
.L775:
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
and w0, w0, 65535
sub w0, w0, #1
and w0, w0, 65535
sxth w3, w0
ldr x1, [sp, 280]
ldrsw x0, [sp, 68]
ldrsw x2, [sp, 64]
lsl x2, x2, 3
add x0, x2, x0
add x0, x0, 40
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 2]
ldr x1, [sp, 280]
ldrsw x0, [sp, 68]
ldrsw x2, [sp, 64]
lsl x2, x2, 3
add x0, x2, x0
add x0, x0, 40
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 2]
mov w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 176]
cmp w1, w0
blt .L774
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L774:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L773:
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x1, x0
ldrb w0, [x0, 49]
mov w1, w0
mov w0, 1
lsl w0, w0, w1
ldr w1, [sp, 68]
cmp w1, w0
blt .L775
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L770:
ldr w1, [sp, 64]
ldr w0, [sp, 108]
cmp w1, w0
ble .L776
mov w1, 2
ldr x0, [sp, 40]
bl get_bits
and w0, w0, 255
add w0, w0, 1
and w1, w0, 255
ldr x0, [sp, 280]
strb w1, [x0, 1588]
mov w1, 4
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
ldr x0, [sp, 280]
strb w1, [x0, 1589]
ldr x0, [sp, 280]
strh wzr, [x0, 338]
ldr x0, [sp, 280]
ldrb w0, [x0, 1589]
mov w1, w0
mov w0, 1
lsl w0, w0, w1
and w1, w0, 65535
ldr x0, [sp, 280]
strh w1, [x0, 340]
ldr x0, [sp, 280]
mov w1, 2
str w1, [x0, 1592]
str wzr, [sp, 64]
b .L777
.L780:
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x1, x0
ldrb w0, [x0, 1]
str w0, [sp, 172]
str wzr, [sp, 68]
b .L778
.L779:
ldr x0, [sp, 280]
ldrb w0, [x0, 1589]
mov w1, w0
ldr x0, [sp, 40]
bl get_bits
mov w1, w0
ldr x0, [sp, 280]
ldr w0, [x0, 1592]
and w2, w1, 65535
ldr x1, [sp, 280]
sxtw x0, w0
add x0, x0, 168
lsl x0, x0, 1
add x0, x1, x0
mov w1, w2
strh w1, [x0, 2]
ldr x0, [sp, 280]
ldr w0, [x0, 1592]
add w1, w0, 1
ldr x0, [sp, 280]
str w1, [x0, 1592]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L778:
ldr x1, [sp, 280]
ldrsw x0, [sp, 172]
add x0, x1, x0
ldrb w0, [x0, 33]
mov w1, w0
ldr w0, [sp, 68]
cmp w0, w1
blt .L779
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L777:
ldr x0, [sp, 280]
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 64]
cmp w0, w1
blt .L780
str wzr, [sp, 64]
b .L781
.L782:
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x0, 168
lsl x0, x0, 1
add x0, x1, x0
ldrh w2, [x0, 2]
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x1, sp, 312
strh w2, [x1, x0]
ldr w0, [sp, 64]
and w2, w0, 65535
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x1, sp, 314
strh w2, [x1, x0]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L781:
ldr x0, [sp, 280]
ldr w0, [x0, 1592]
ldr w1, [sp, 64]
cmp w1, w0
blt .L782
ldr x0, [sp, 280]
ldr w0, [x0, 1592]
sxtw x1, w0
add x4, sp, 312
adrp x0, point_compare
add x3, x0, :lo12:point_compare
mov x2, 4
mov x0, x4
bl qsort
str wzr, [sp, 64]
b .L783
.L785:
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x1, sp, 312
ldrh w1, [x1, x0]
ldr w0, [sp, 64]
add w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 312
ldrh w0, [x2, x0]
cmp w1, w0
bne .L784
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L784:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L783:
ldr x0, [sp, 280]
ldr w0, [x0, 1592]
sub w0, w0, #1
ldr w1, [sp, 64]
cmp w1, w0
blt .L785
str wzr, [sp, 64]
b .L786
.L787:
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x1, sp, 314
ldrh w0, [x1, x0]
and w2, w0, 255
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 838]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L786:
ldr x0, [sp, 280]
ldr w0, [x0, 1592]
ldr w1, [sp, 64]
cmp w1, w0
blt .L787
mov w0, 2
str w0, [sp, 64]
b .L788
.L789:
str wzr, [sp, 52]
str wzr, [sp, 56]
ldr x0, [sp, 280]
add x0, x0, 338
add x2, sp, 56
add x1, sp, 52
mov x3, x2
mov x2, x1
ldr w1, [sp, 64]
bl neighbors
ldr w0, [sp, 52]
and w2, w0, 255
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
add x0, x0, 544
lsl x0, x0, 1
add x0, x1, x0
mov w1, w2
strb w1, [x0]
ldr w0, [sp, 56]
and w2, w0, 255
ldr x1, [sp, 280]
ldrsw x0, [sp, 64]
lsl x0, x0, 1
add x0, x1, x0
mov w1, w2
strb w1, [x0, 1089]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L788:
ldr x0, [sp, 280]
ldr w0, [x0, 1592]
ldr w1, [sp, 64]
cmp w1, w0
blt .L789
ldr x0, [sp, 280]
ldr w0, [x0, 1592]
ldr w1, [sp, 76]
cmp w1, w0
bge .L790
ldr x0, [sp, 280]
ldr w0, [x0, 1592]
str w0, [sp, 76]
.L790:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L762:
ldr x0, [sp, 40]
ldr w0, [x0, 192]
ldr w1, [sp, 60]
cmp w1, w0
blt .L791
mov w1, 6
ldr x0, [sp, 40]
bl get_bits
add w0, w0, 1
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 336]
ldr x0, [sp, 40]
ldr w0, [x0, 336]
sxtw x0, w0
lsl w0, w0, 5
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 472]
ldr x0, [sp, 40]
ldr x0, [x0, 472]
cmp x0, 0
bne .L792
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L792:
ldr x0, [sp, 40]
ldr x3, [x0, 472]
ldr x0, [sp, 40]
ldr w0, [x0, 336]
sxtw x0, w0
lsl x0, x0, 5
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
str wzr, [sp, 60]
b .L793
.L814:
ldr x0, [sp, 40]
ldr x1, [x0, 472]
ldrsw x0, [sp, 60]
lsl x0, x0, 5
add x0, x1, x0
str x0, [sp, 272]
mov w1, 16
ldr x0, [sp, 40]
bl get_bits
and w2, w0, 65535
ldr x1, [sp, 40]
ldrsw x0, [sp, 60]
add x0, x0, 168
lsl x0, x0, 1
add x0, x1, x0
mov w1, w2
strh w1, [x0, 4]
ldr x1, [sp, 40]
ldrsw x0, [sp, 60]
add x0, x0, 168
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 4]
cmp w0, 2
bls .L794
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L794:
mov w1, 24
ldr x0, [sp, 40]
bl get_bits
mov w1, w0
ldr x0, [sp, 272]
str w1, [x0]
mov w1, 24
ldr x0, [sp, 40]
bl get_bits
mov w1, w0
ldr x0, [sp, 272]
str w1, [x0, 4]
ldr x0, [sp, 272]
ldr w1, [x0, 4]
ldr x0, [sp, 272]
ldr w0, [x0]
cmp w1, w0
bcs .L796
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L796:
mov w1, 24
ldr x0, [sp, 40]
bl get_bits
add w1, w0, 1
ldr x0, [sp, 272]
str w1, [x0, 8]
mov w1, 6
ldr x0, [sp, 40]
bl get_bits
and w0, w0, 255
add w0, w0, 1
and w1, w0, 255
ldr x0, [sp, 272]
strb w1, [x0, 12]
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
ldr x0, [sp, 272]
strb w1, [x0, 13]
ldr x0, [sp, 272]
ldrb w0, [x0, 13]
mov w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 176]
cmp w1, w0
blt .L797
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L797:
str wzr, [sp, 64]
b .L798
.L800:
strb wzr, [sp, 48]
mov w1, 3
ldr x0, [sp, 40]
bl get_bits
strb w0, [sp, 50]
mov w1, 1
ldr x0, [sp, 40]
bl get_bits
cmp w0, 0
beq .L799
mov w1, 5
ldr x0, [sp, 40]
bl get_bits
strb w0, [sp, 48]
.L799:
ldrb w0, [sp, 48]
ubfiz w0, w0, 3, 5
and w0, w0, 255
ldrb w1, [sp, 50]
add w0, w0, w1
and w2, w0, 255
ldrsw x0, [sp, 64]
add x1, sp, 1320
strb w2, [x1, x0]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L798:
ldr x0, [sp, 272]
ldrb w0, [x0, 12]
mov w1, w0
ldr w0, [sp, 64]
cmp w0, w1
blt .L800
ldr x0, [sp, 272]
ldrb w0, [x0, 12]
lsl w0, w0, 4
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 272]
str x1, [x0, 24]
ldr x0, [sp, 272]
ldr x0, [x0, 24]
cmp x0, 0
bne .L801
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L801:
str wzr, [sp, 64]
b .L802
.L807:
str wzr, [sp, 68]
b .L803
.L806:
ldrsw x0, [sp, 64]
add x1, sp, 1320
ldrb w0, [x1, x0]
mov w1, w0
ldr w0, [sp, 68]
asr w0, w1, w0
and w0, w0, 1
cmp w0, 0
beq .L804
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
mov w2, w0
ldr x0, [sp, 272]
ldr x1, [x0, 24]
ldrsw x0, [sp, 64]
lsl x0, x0, 4
add x0, x1, x0
sxth w2, w2
ldrsw x1, [sp, 68]
strh w2, [x0, x1, lsl 1]
ldr x0, [sp, 272]
ldr x1, [x0, 24]
ldrsw x0, [sp, 64]
lsl x0, x0, 4
add x0, x1, x0
ldrsw x1, [sp, 68]
ldrsh w0, [x0, x1, lsl 1]
mov w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 176]
cmp w1, w0
blt .L805
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L804:
ldr x0, [sp, 272]
ldr x1, [x0, 24]
ldrsw x0, [sp, 64]
lsl x0, x0, 4
add x0, x1, x0
ldrsw x1, [sp, 68]
mov w2, -1
strh w2, [x0, x1, lsl 1]
.L805:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L803:
ldr w0, [sp, 68]
cmp w0, 7
ble .L806
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L802:
ldr x0, [sp, 272]
ldrb w0, [x0, 12]
mov w1, w0
ldr w0, [sp, 64]
cmp w0, w1
blt .L807
ldr x0, [sp, 40]
ldr x2, [x0, 184]
ldr x0, [sp, 272]
ldrb w0, [x0, 13]
and x1, x0, 255
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w0, [x0, 4]
sxtw x0, w0
lsl w0, w0, 3
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 272]
str x1, [x0, 16]
ldr x0, [sp, 272]
ldr x0, [x0, 16]
cmp x0, 0
bne .L808
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L808:
ldr x0, [sp, 272]
ldr x3, [x0, 16]
ldr x0, [sp, 40]
ldr x2, [x0, 184]
ldr x0, [sp, 272]
ldrb w0, [x0, 13]
and x1, x0, 255
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w0, [x0, 4]
sxtw x0, w0
lsl x0, x0, 3
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
str wzr, [sp, 64]
b .L809
.L813:
ldr x0, [sp, 40]
ldr x2, [x0, 184]
ldr x0, [sp, 272]
ldrb w0, [x0, 13]
and x1, x0, 255
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w0, [x0]
str w0, [sp, 168]
ldr w0, [sp, 64]
str w0, [sp, 112]
ldr x0, [sp, 272]
ldr x1, [x0, 16]
ldrsw x0, [sp, 64]
lsl x0, x0, 3
add x19, x1, x0
ldr w1, [sp, 168]
ldr x0, [sp, 40]
bl setup_malloc
str x0, [x19]
ldr x0, [sp, 272]
ldr x1, [x0, 16]
ldrsw x0, [sp, 64]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
cmp x0, 0
bne .L810
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L810:
ldr w0, [sp, 168]
sub w0, w0, #1
str w0, [sp, 68]
b .L811
.L812:
ldr x0, [sp, 272]
ldrb w0, [x0, 12]
mov w1, w0
ldr w0, [sp, 112]
sdiv w2, w0, w1
mul w1, w2, w1
sub w2, w0, w1
ldr x0, [sp, 272]
ldr x1, [x0, 16]
ldrsw x0, [sp, 64]
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 68]
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr x0, [sp, 272]
ldrb w0, [x0, 12]
mov w1, w0
ldr w0, [sp, 112]
sdiv w0, w0, w1
str w0, [sp, 112]
ldr w0, [sp, 68]
sub w0, w0, #1
str w0, [sp, 68]
.L811:
ldr w0, [sp, 68]
cmp w0, 0
bge .L812
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L809:
ldr x0, [sp, 40]
ldr x2, [x0, 184]
ldr x0, [sp, 272]
ldrb w0, [x0, 13]
and x1, x0, 255
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w0, [x0, 4]
ldr w1, [sp, 64]
cmp w1, w0
blt .L813
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L793:
ldr x0, [sp, 40]
ldr w0, [x0, 336]
ldr w1, [sp, 60]
cmp w1, w0
blt .L814
mov w1, 6
ldr x0, [sp, 40]
bl get_bits
add w0, w0, 1
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 480]
ldr x0, [sp, 40]
ldr w0, [x0, 480]
sxtw x0, w0
mov w1, w0
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 4
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 488]
ldr x0, [sp, 40]
ldr x0, [x0, 488]
cmp x0, 0
bne .L815
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L815:
ldr x0, [sp, 40]
ldr x3, [x0, 488]
ldr x0, [sp, 40]
ldr w0, [x0, 480]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
str wzr, [sp, 60]
b .L816
.L842:
ldr x0, [sp, 40]
ldr x2, [x0, 488]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
str x0, [sp, 264]
mov w1, 16
ldr x0, [sp, 40]
bl get_bits
str w0, [sp, 164]
ldr w0, [sp, 164]
cmp w0, 0
beq .L817
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L817:
ldr x0, [sp, 40]
ldr w0, [x0, 4]
sxtw x0, w0
mov w1, w0
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x1, x0
ldr x0, [sp, 264]
str x1, [x0, 8]
ldr x0, [sp, 264]
ldr x0, [x0, 8]
cmp x0, 0
bne .L818
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L818:
mov w1, 1
ldr x0, [sp, 40]
bl get_bits
cmp w0, 0
beq .L819
mov w1, 4
ldr x0, [sp, 40]
bl get_bits
and w0, w0, 255
add w0, w0, 1
and w1, w0, 255
ldr x0, [sp, 264]
strb w1, [x0, 16]
b .L820
.L819:
ldr x0, [sp, 264]
mov w1, 1
strb w1, [x0, 16]
.L820:
ldr x0, [sp, 264]
ldrb w0, [x0, 16]
mov w1, w0
ldr w0, [sp, 72]
cmp w0, w1
bge .L821
ldr x0, [sp, 264]
ldrb w0, [x0, 16]
str w0, [sp, 72]
.L821:
mov w1, 1
ldr x0, [sp, 40]
bl get_bits
cmp w0, 0
beq .L822
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
and w0, w0, 65535
add w0, w0, 1
and w1, w0, 65535
ldr x0, [sp, 264]
strh w1, [x0]
ldr x0, [sp, 264]
ldrh w0, [x0]
mov w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 4]
cmp w1, w0
ble .L823
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L823:
str wzr, [sp, 68]
b .L824
.L828:
ldr x0, [sp, 40]
ldr w0, [x0, 4]
sub w0, w0, #1
bl ilog
mov w1, w0
ldr x0, [sp, 40]
bl get_bits
mov w3, w0
ldr x0, [sp, 264]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
and w1, w3, 255
strb w1, [x0]
ldr x0, [sp, 40]
ldr w0, [x0, 4]
sub w0, w0, #1
bl ilog
mov w1, w0
ldr x0, [sp, 40]
bl get_bits
mov w3, w0
ldr x0, [sp, 264]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
and w1, w3, 255
strb w1, [x0, 1]
ldr x0, [sp, 264]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 4]
cmp w1, w0
blt .L825
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L825:
ldr x0, [sp, 264]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w0, [x0, 1]
mov w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 4]
cmp w1, w0
blt .L826
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L826:
ldr x0, [sp, 264]
ldr x2, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w2, [x0]
ldr x0, [sp, 264]
ldr x3, [x0, 8]
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x3, x0
ldrb w0, [x0, 1]
cmp w2, w0
bne .L827
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L827:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L824:
ldr x0, [sp, 264]
ldrh w0, [x0]
mov w1, w0
ldr w0, [sp, 68]
cmp w0, w1
blt .L828
b .L829
.L822:
ldr x0, [sp, 264]
strh wzr, [x0]
.L829:
mov w1, 2
ldr x0, [sp, 40]
bl get_bits
cmp w0, 0
beq .L830
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L830:
ldr x0, [sp, 264]
ldrb w0, [x0, 16]
cmp w0, 1
bls .L831
str wzr, [sp, 64]
b .L832
.L834:
mov w1, 4
ldr x0, [sp, 40]
bl get_bits
mov w3, w0
ldr x0, [sp, 264]
ldr x2, [x0, 8]
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
and w1, w3, 255
strb w1, [x0, 2]
ldr x0, [sp, 264]
ldr x2, [x0, 8]
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
ldrb w1, [x0, 2]
ldr x0, [sp, 264]
ldrb w0, [x0, 16]
cmp w1, w0
bcc .L833
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L833:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L832:
ldr x0, [sp, 40]
ldr w0, [x0, 4]
ldr w1, [sp, 64]
cmp w1, w0
blt .L834
b .L835
.L831:
str wzr, [sp, 64]
b .L836
.L837:
ldr x0, [sp, 264]
ldr x2, [x0, 8]
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
add x0, x2, x0
strb wzr, [x0, 2]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L836:
ldr x0, [sp, 40]
ldr w0, [x0, 4]
ldr w1, [sp, 64]
cmp w1, w0
blt .L837
.L835:
str wzr, [sp, 64]
b .L838
.L841:
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
and w2, w0, 255
ldr x1, [sp, 264]
ldrsw x0, [sp, 64]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 17]
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
and w2, w0, 255
ldr x1, [sp, 264]
ldrsw x0, [sp, 64]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 32]
ldr x1, [sp, 264]
ldrsw x0, [sp, 64]
add x0, x1, x0
ldrb w0, [x0, 17]
mov w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 192]
cmp w1, w0
blt .L839
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L839:
ldr x1, [sp, 264]
ldrsw x0, [sp, 64]
add x0, x1, x0
ldrb w0, [x0, 32]
mov w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 336]
cmp w1, w0
blt .L840
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L840:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L838:
ldr x0, [sp, 264]
ldrb w0, [x0, 16]
mov w1, w0
ldr w0, [sp, 64]
cmp w0, w1
blt .L841
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L816:
ldr x0, [sp, 40]
ldr w0, [x0, 480]
ldr w1, [sp, 60]
cmp w1, w0
blt .L842
mov w1, 6
ldr x0, [sp, 40]
bl get_bits
add w0, w0, 1
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 496]
str wzr, [sp, 60]
b .L843
.L847:
ldr x0, [sp, 40]
add x2, x0, 500
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 1
add x0, x2, x0
str x0, [sp, 256]
mov w1, 1
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
ldr x0, [sp, 256]
strb w1, [x0]
mov w1, 16
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 65535
ldr x0, [sp, 256]
strh w1, [x0, 2]
mov w1, 16
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 65535
ldr x0, [sp, 256]
strh w1, [x0, 4]
mov w1, 8
ldr x0, [sp, 40]
bl get_bits
and w1, w0, 255
ldr x0, [sp, 256]
strb w1, [x0, 1]
ldr x0, [sp, 256]
ldrh w0, [x0, 2]
cmp w0, 0
beq .L844
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L844:
ldr x0, [sp, 256]
ldrh w0, [x0, 4]
cmp w0, 0
beq .L845
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L845:
ldr x0, [sp, 256]
ldrb w0, [x0, 1]
mov w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 480]
cmp w1, w0
blt .L846
mov w1, 20
ldr x0, [sp, 40]
bl error
b .L862
.L846:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L843:
ldr x0, [sp, 40]
ldr w0, [x0, 496]
ldr w1, [sp, 60]
cmp w1, w0
blt .L847
ldr x0, [sp, 40]
bl flush_packet
ldr x0, [sp, 40]
str wzr, [x0, 1272]
str wzr, [sp, 60]
b .L848
.L851:
ldr x0, [sp, 40]
ldr w0, [x0, 172]
sxtw x0, w0
lsl w0, w0, 2
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x2, x0
ldr x1, [sp, 40]
ldrsw x0, [sp, 60]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
str x2, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 172]
sxtw x0, w0
lsl x0, x0, 2
lsr x0, x0, 1
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x2, x0
ldr x1, [sp, 40]
ldrsw x0, [sp, 60]
add x0, x0, 142
lsl x0, x0, 3
add x0, x1, x0
str x2, [x0, 8]
ldrsw x0, [sp, 76]
lsl w0, w0, 1
mov w1, w0
ldr x0, [sp, 40]
bl setup_malloc
mov x2, x0
ldr x0, [sp, 40]
ldrsw x1, [sp, 60]
add x1, x1, 160
str x2, [x0, x1, lsl 3]
ldr x1, [sp, 40]
ldrsw x0, [sp, 60]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
cmp x0, 0
beq .L849
ldr x1, [sp, 40]
ldrsw x0, [sp, 60]
add x0, x0, 142
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
cmp x0, 0
beq .L849
ldr x0, [sp, 40]
ldrsw x1, [sp, 60]
add x1, x1, 160
ldr x0, [x0, x1, lsl 3]
cmp x0, 0
bne .L850
.L849:
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L850:
ldr x1, [sp, 40]
ldrsw x0, [sp, 60]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x3, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 172]
sxtw x0, w0
lsl x0, x0, 2
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L848:
ldr x0, [sp, 40]
ldr w0, [x0, 4]
ldr w1, [sp, 60]
cmp w1, w0
blt .L851
ldr x0, [sp, 40]
ldr w0, [x0, 168]
mov w2, w0
mov w1, 0
ldr x0, [sp, 40]
bl init_blocksize
cmp w0, 0
bne .L852
mov w0, 0
b .L862
.L852:
ldr x0, [sp, 40]
ldr w0, [x0, 172]
mov w2, w0
mov w1, 1
ldr x0, [sp, 40]
bl init_blocksize
cmp w0, 0
bne .L853
mov w0, 0
b .L862
.L853:
ldr x0, [sp, 40]
ldr w1, [x0, 168]
ldr x0, [sp, 40]
str w1, [x0, 160]
ldr x0, [sp, 40]
ldr w1, [x0, 172]
ldr x0, [sp, 40]
str w1, [x0, 164]
ldr x0, [sp, 40]
ldr w0, [x0, 172]
sxtw x0, w0
lsl x0, x0, 2
lsr x0, x0, 1
str w0, [sp, 136]
str wzr, [sp, 120]
str wzr, [sp, 116]
b .L854
.L856:
ldr x0, [sp, 40]
ldr x1, [x0, 472]
ldrsw x0, [sp, 116]
lsl x0, x0, 5
add x0, x1, x0
str x0, [sp, 248]
ldr x0, [sp, 40]
ldr w0, [x0, 172]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 144]
ldr x0, [sp, 248]
ldr w0, [x0]
ldr w2, [sp, 144]
ldr w1, [sp, 144]
cmp w2, w0
csel w0, w1, w0, ls
str w0, [sp, 148]
ldr x0, [sp, 248]
ldr w0, [x0, 4]
ldr w2, [sp, 144]
ldr w1, [sp, 144]
cmp w2, w0
csel w0, w1, w0, ls
str w0, [sp, 152]
ldr w1, [sp, 152]
ldr w0, [sp, 148]
sub w0, w1, w0
str w0, [sp, 156]
ldr w1, [sp, 156]
ldr x0, [sp, 248]
ldr w0, [x0, 8]
udiv w0, w1, w0
str w0, [sp, 160]
ldr w1, [sp, 160]
ldr w0, [sp, 120]
cmp w1, w0
ble .L855
ldr w0, [sp, 160]
str w0, [sp, 120]
.L855:
ldr w0, [sp, 116]
add w0, w0, 1
str w0, [sp, 116]
.L854:
ldr x0, [sp, 40]
ldr w0, [x0, 336]
ldr w1, [sp, 116]
cmp w1, w0
blt .L856
ldrsw x0, [sp, 120]
add x0, x0, 1
mov w1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 4]
sxtw x0, w0
mul w0, w1, w0
lsl w0, w0, 3
str w0, [sp, 140]
ldr x0, [sp, 40]
ldr w1, [sp, 140]
str w1, [x0, 12]
ldr x0, [sp, 40]
ldr w0, [x0, 12]
ldr w1, [sp, 136]
cmp w1, w0
bls .L857
ldr x0, [sp, 40]
ldr w1, [sp, 136]
str w1, [x0, 12]
.L857:
ldr x0, [sp, 40]
ldr x0, [x0, 128]
cmp x0, 0
beq .L858
ldr x0, [sp, 40]
ldr w1, [x0, 148]
ldr x0, [sp, 40]
ldr w0, [x0, 136]
cmp w1, w0
beq .L859
adrp x0, __PRETTY_FUNCTION__.5
add x3, x0, :lo12:__PRETTY_FUNCTION__.5
mov w2, 4187
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl __assert_fail
.L859:
ldr x0, [sp, 40]
ldr w0, [x0, 144]
sxtw x1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 12]
uxtw x0, w0
add x0, x1, x0
add x1, x0, 1904
ldr x0, [sp, 40]
ldr w0, [x0, 148]
uxtw x0, w0
cmp x1, x0
bls .L858
mov w1, 3
ldr x0, [sp, 40]
bl error
b .L862
.L858:
ldr x0, [sp, 40]
ldr w0, [x0, 1768]
cmn w0, #1
bne .L860
ldr x0, [sp, 40]
bl stb_vorbis_get_file_offset
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 96]
b .L861
.L860:
ldr x0, [sp, 40]
str wzr, [x0, 96]
.L861:
mov w0, 1
.L862:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1384]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L863
bl __stack_chk_fail
.L863:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp]
add sp, sp, 1392
.cfi_restore 29
.cfi_restore 30
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE72:
.size start_decoder, .-start_decoder
.align 2
.type vorbis_deinit, %function
vorbis_deinit:
.LFB73:
.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]
ldr x0, [sp, 24]
ldr x0, [x0, 24]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
str wzr, [sp, 40]
b .L866
.L867:
ldr x0, [sp, 24]
ldr x1, [x0, 40]
ldrsw x0, [sp, 40]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L866:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
ldr w1, [sp, 40]
cmp w1, w0
blt .L867
ldr x0, [sp, 24]
ldr x0, [x0, 40]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x0, [sp, 24]
ldr x0, [x0, 472]
cmp x0, 0
beq .L868
str wzr, [sp, 40]
b .L869
.L873:
ldr x0, [sp, 24]
ldr x1, [x0, 472]
ldrsw x0, [sp, 40]
lsl x0, x0, 5
add x0, x1, x0
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr x0, [x0, 16]
cmp x0, 0
beq .L870
str wzr, [sp, 44]
b .L871
.L872:
ldr x0, [sp, 48]
ldr x1, [x0, 16]
ldrsw x0, [sp, 44]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L871:
ldr x0, [sp, 24]
ldr x2, [x0, 184]
ldr x0, [sp, 48]
ldrb w0, [x0, 13]
and x1, x0, 255
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w0, [x0, 4]
ldr w1, [sp, 44]
cmp w1, w0
blt .L872
ldr x0, [sp, 48]
ldr x0, [x0, 16]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
.L870:
ldr x0, [sp, 48]
ldr x0, [x0, 24]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L869:
ldr x0, [sp, 24]
ldr w0, [x0, 336]
ldr w1, [sp, 40]
cmp w1, w0
blt .L873
.L868:
ldr x0, [sp, 24]
ldr x0, [x0, 184]
cmp x0, 0
beq .L874
str wzr, [sp, 40]
b .L875
.L878:
ldr x0, [sp, 24]
ldr x2, [x0, 184]
ldrsw x1, [sp, 40]
mov x0, x1
lsl x0, x0, 5
add x0, x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr x0, [x0, 8]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x0, [sp, 56]
ldr x0, [x0, 32]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x0, [sp, 56]
ldr x0, [x0, 40]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x0, [sp, 56]
ldr x0, [x0, 2096]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x0, [sp, 56]
ldr x0, [x0, 2104]
cmp x0, 0
beq .L876
ldr x0, [sp, 56]
ldr x0, [x0, 2104]
sub x0, x0, #4
b .L877
.L876:
mov x0, 0
.L877:
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L875:
ldr x0, [sp, 24]
ldr w0, [x0, 176]
ldr w1, [sp, 40]
cmp w1, w0
blt .L878
ldr x0, [sp, 24]
ldr x0, [x0, 184]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
.L874:
ldr x0, [sp, 24]
ldr x0, [x0, 328]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x0, [sp, 24]
ldr x0, [x0, 472]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x0, [sp, 24]
ldr x0, [x0, 488]
cmp x0, 0
beq .L879
str wzr, [sp, 40]
b .L880
.L881:
ldr x0, [sp, 24]
ldr x2, [x0, 488]
ldrsw x1, [sp, 40]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldr x0, [x0, 8]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L880:
ldr x0, [sp, 24]
ldr w0, [x0, 480]
ldr w1, [sp, 40]
cmp w1, w0
blt .L881
ldr x0, [sp, 24]
ldr x0, [x0, 488]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
.L879:
str wzr, [sp, 40]
b .L882
.L884:
ldr x1, [sp, 24]
ldrsw x0, [sp, 40]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x1, [sp, 24]
ldrsw x0, [sp, 40]
add x0, x0, 142
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x0, [sp, 24]
ldrsw x1, [sp, 40]
add x1, x1, 160
ldr x0, [x0, x1, lsl 3]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L882:
ldr x0, [sp, 24]
ldr w0, [x0, 4]
ldr w1, [sp, 40]
cmp w1, w0
bge .L883
ldr w0, [sp, 40]
cmp w0, 15
ble .L884
.L883:
str wzr, [sp, 40]
b .L885
.L886:
ldr x1, [sp, 24]
ldrsw x0, [sp, 40]
add x0, x0, 176
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x1, [sp, 24]
ldrsw x0, [sp, 40]
add x0, x0, 178
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x1, [sp, 24]
ldrsw x0, [sp, 40]
add x0, x0, 180
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x1, [sp, 24]
ldrsw x0, [sp, 40]
add x0, x0, 182
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr x1, [sp, 24]
ldrsw x0, [sp, 40]
add x0, x0, 184
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0, 8]
mov x1, x0
ldr x0, [sp, 24]
bl setup_free
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L885:
ldr w0, [sp, 40]
cmp w0, 1
ble .L886
ldr x0, [sp, 24]
ldr w0, [x0, 60]
cmp w0, 0
beq .L888
ldr x0, [sp, 24]
ldr x0, [x0, 48]
bl fclose
.L888:
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE73:
.size vorbis_deinit, .-vorbis_deinit
.align 2
.global stb_vorbis_close
.type stb_vorbis_close, %function
stb_vorbis_close:
.LFB74:
.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]
cmp x0, 0
beq .L892
ldr x0, [sp, 24]
bl vorbis_deinit
ldr x1, [sp, 24]
ldr x0, [sp, 24]
bl setup_free
b .L889
.L892:
nop
.L889:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE74:
.size stb_vorbis_close, .-stb_vorbis_close
.align 2
.type vorbis_init, %function
vorbis_init:
.LFB75:
.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, 1904
mov w1, 0
ldr x0, [sp, 24]
bl memset
ldr x0, [sp, 16]
cmp x0, 0
beq .L894
ldr x2, [sp, 24]
ldr x0, [sp, 16]
ldp x0, x1, [x0]
stp x0, x1, [x2, 128]
ldr x0, [sp, 24]
ldr w0, [x0, 136]
and w1, w0, -8
ldr x0, [sp, 24]
str w1, [x0, 136]
ldr x0, [sp, 24]
ldr w1, [x0, 136]
ldr x0, [sp, 24]
str w1, [x0, 148]
.L894:
ldr x0, [sp, 24]
str wzr, [x0, 152]
ldr x0, [sp, 24]
str wzr, [x0, 156]
ldr x0, [sp, 24]
str xzr, [x0, 64]
ldr x0, [sp, 24]
str xzr, [x0, 184]
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0, 1808]
ldr x0, [sp, 24]
str wzr, [x0, 60]
ldr x0, [sp, 24]
str xzr, [x0, 48]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE75:
.size vorbis_init, .-vorbis_init
.align 2
.global stb_vorbis_get_sample_offset
.type stb_vorbis_get_sample_offset, %function
stb_vorbis_get_sample_offset:
.LFB76:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0, 1412]
cmp w0, 0
beq .L896
ldr x0, [sp, 8]
ldr w0, [x0, 1408]
b .L897
.L896:
mov w0, -1
.L897:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE76:
.size stb_vorbis_get_sample_offset, .-stb_vorbis_get_sample_offset
.align 2
.global stb_vorbis_get_info
.type stb_vorbis_get_info, %function
stb_vorbis_get_info:
.LFB77:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
mov x1, x8
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0, 4]
str w0, [sp, 28]
ldr x0, [sp, 8]
ldr w0, [x0]
str w0, [sp, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 8]
str w0, [sp, 32]
ldr x0, [sp, 8]
ldr w0, [x0, 16]
str w0, [sp, 36]
ldr x0, [sp, 8]
ldr w0, [x0, 12]
str w0, [sp, 40]
ldr x0, [sp, 8]
ldr w0, [x0, 172]
asr w0, w0, 1
str w0, [sp, 44]
mov x3, x1
add x2, sp, 24
ldp x0, x1, [x2]
stp x0, x1, [x3]
ldr x0, [x2, 16]
str x0, [x3, 16]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE77:
.size stb_vorbis_get_info, .-stb_vorbis_get_info
.align 2
.global stb_vorbis_get_comment
.type stb_vorbis_get_comment, %function
stb_vorbis_get_comment:
.LFB78:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
mov x1, x8
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr x0, [x0, 24]
str x0, [sp, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 32]
str w0, [sp, 32]
ldr x0, [sp, 8]
ldr x0, [x0, 40]
str x0, [sp, 40]
mov x3, x1
add x2, sp, 24
ldp x0, x1, [x2]
stp x0, x1, [x3]
ldr x0, [x2, 16]
str x0, [x3, 16]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE78:
.size stb_vorbis_get_comment, .-stb_vorbis_get_comment
.align 2
.global stb_vorbis_get_error
.type stb_vorbis_get_error, %function
stb_vorbis_get_error:
.LFB79:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0, 156]
str w0, [sp, 28]
ldr x0, [sp, 8]
str wzr, [x0, 156]
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE79:
.size stb_vorbis_get_error, .-stb_vorbis_get_error
.align 2
.type vorbis_alloc, %function
vorbis_alloc:
.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 x0, [sp, 24]
mov w1, 1904
ldr x0, [sp, 24]
bl setup_malloc
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
.LFE80:
.size vorbis_alloc, .-vorbis_alloc
.align 2
.global stb_vorbis_flush_pushdata
.type stb_vorbis_flush_pushdata, %function
stb_vorbis_flush_pushdata:
.LFB81:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
str wzr, [x0, 1272]
ldr x0, [sp, 8]
str wzr, [x0, 1808]
ldr x0, [sp, 8]
str wzr, [x0, 1800]
ldr x0, [sp, 8]
str wzr, [x0, 1412]
ldr x0, [sp, 8]
strb wzr, [x0, 1765]
ldr x0, [sp, 8]
str wzr, [x0, 1804]
ldr x0, [sp, 8]
str wzr, [x0, 1892]
ldr x0, [sp, 8]
str wzr, [x0, 1896]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE81:
.size stb_vorbis_flush_pushdata, .-stb_vorbis_flush_pushdata
.align 2
.type vorbis_search_for_page_pushdata, %function
vorbis_search_for_page_pushdata:
.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 wzr, [sp, 60]
b .L908
.L909:
ldr x2, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 1824]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L908:
ldr x0, [sp, 40]
ldr w0, [x0, 1808]
ldr w1, [sp, 60]
cmp w1, w0
blt .L909
ldr x0, [sp, 40]
ldr w0, [x0, 1808]
cmp w0, 3
bgt .L910
ldr w0, [sp, 28]
cmp w0, 3
bgt .L911
mov w0, 0
b .L912
.L911:
ldr w0, [sp, 28]
sub w0, w0, #3
str w0, [sp, 28]
str wzr, [sp, 60]
b .L913
.L925:
ldrsw x0, [sp, 60]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 79
bne .L914
ldrsw x0, [sp, 60]
ldr x1, [sp, 32]
add x3, x1, x0
mov x2, 4
adrp x0, ogg_page_header
add x1, x0, :lo12:ogg_page_header
mov x0, x3
bl memcmp
cmp w0, 0
bne .L914
ldr w0, [sp, 60]
add w0, w0, 26
ldr w1, [sp, 28]
cmp w1, w0
ble .L915
ldr w0, [sp, 60]
add w0, w0, 27
ldrsw x1, [sp, 60]
add x1, x1, 26
ldr x2, [sp, 32]
add x1, x2, x1
ldrb w1, [x1]
add w0, w0, w1
ldr w1, [sp, 28]
cmp w1, w0
bgt .L916
.L915:
ldr w0, [sp, 60]
str w0, [sp, 28]
b .L910
.L916:
ldrsw x0, [sp, 60]
add x0, x0, 26
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
add w0, w0, 27
str w0, [sp, 68]
str wzr, [sp, 64]
b .L917
.L918:
ldr w0, [sp, 60]
add w1, w0, 27
ldr w0, [sp, 64]
add w0, w1, w0
sxtw x0, w0
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 68]
add w0, w0, w1
str w0, [sp, 68]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L917:
ldrsw x0, [sp, 60]
add x0, x0, 26
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 64]
cmp w0, w1
blt .L918
str wzr, [sp, 72]
str wzr, [sp, 64]
b .L919
.L920:
ldr w1, [sp, 60]
ldr w0, [sp, 64]
add w0, w1, w0
sxtw x0, w0
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 72]
bl crc32_update
str w0, [sp, 72]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L919:
ldr w0, [sp, 64]
cmp w0, 21
ble .L920
b .L921
.L922:
mov w1, 0
ldr w0, [sp, 72]
bl crc32_update
str w0, [sp, 72]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L921:
ldr w0, [sp, 64]
cmp w0, 25
ble .L922
ldr x0, [sp, 40]
ldr w0, [x0, 1808]
add w2, w0, 1
ldr x1, [sp, 40]
str w2, [x1, 1808]
str w0, [sp, 88]
ldr w1, [sp, 68]
ldr w0, [sp, 64]
sub w2, w1, w0
ldr x3, [sp, 40]
ldrsw x1, [sp, 88]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 1816]
ldr x2, [sp, 40]
ldrsw x1, [sp, 88]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [sp, 72]
str w1, [x0, 1820]
ldrsw x0, [sp, 60]
add x0, x0, 22
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
mov w2, w0
ldrsw x0, [sp, 60]
add x0, x0, 23
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
lsl w0, w0, 8
add w1, w2, w0
ldrsw x0, [sp, 60]
add x0, x0, 24
ldr x2, [sp, 32]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 16
add w1, w1, w0
ldrsw x0, [sp, 60]
add x0, x0, 25
ldr x2, [sp, 32]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 24
add w0, w1, w0
mov w3, w0
ldr x2, [sp, 40]
ldrsw x1, [sp, 88]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str w3, [x0, 1812]
ldr w0, [sp, 60]
add w0, w0, 27
ldrsw x1, [sp, 60]
add x1, x1, 26
ldr x2, [sp, 32]
add x1, x2, x1
ldrb w1, [x1]
add w0, w0, w1
sxtw x0, w0
sub x0, x0, #1
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 255
bne .L923
ldr x2, [sp, 40]
ldrsw x1, [sp, 88]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, -1
str w1, [x0, 1828]
b .L924
.L923:
ldrsw x0, [sp, 60]
add x0, x0, 6
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
mov w2, w0
ldrsw x0, [sp, 60]
add x0, x0, 7
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
lsl w0, w0, 8
add w1, w2, w0
ldrsw x0, [sp, 60]
add x0, x0, 8
ldr x2, [sp, 32]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 16
add w1, w1, w0
ldrsw x0, [sp, 60]
add x0, x0, 9
ldr x2, [sp, 32]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 24
add w0, w1, w0
mov w3, w0
ldr x2, [sp, 40]
ldrsw x1, [sp, 88]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str w3, [x0, 1828]
.L924:
ldr w1, [sp, 60]
ldr w0, [sp, 64]
add w2, w1, w0
ldr x3, [sp, 40]
ldrsw x1, [sp, 88]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 1824]
ldr x0, [sp, 40]
ldr w0, [x0, 1808]
cmp w0, 4
beq .L933
.L914:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L913:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
blt .L925
b .L910
.L933:
nop
.L910:
str wzr, [sp, 60]
b .L926
.L932:
ldr x2, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 1824]
str w0, [sp, 92]
ldr x2, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 1816]
str w0, [sp, 84]
ldr w1, [sp, 28]
ldr w0, [sp, 92]
sub w0, w1, w0
ldr w1, [sp, 84]
cmp w1, w0
ble .L927
ldr w1, [sp, 28]
ldr w0, [sp, 92]
sub w0, w1, w0
str w0, [sp, 84]
.L927:
ldr x2, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 1820]
str w0, [sp, 76]
str wzr, [sp, 80]
b .L928
.L929:
ldr w1, [sp, 92]
ldr w0, [sp, 80]
add w0, w1, w0
sxtw x0, w0
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 76]
bl crc32_update
str w0, [sp, 76]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L928:
ldr w1, [sp, 80]
ldr w0, [sp, 84]
cmp w1, w0
blt .L929
ldr x2, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0, 1816]
ldr w0, [sp, 84]
sub w2, w1, w0
ldr x3, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 1816]
ldr x2, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [sp, 76]
str w1, [x0, 1820]
ldr x2, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 1816]
cmp w0, 0
bne .L930
ldr x2, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0, 1820]
ldr x3, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0, 1812]
cmp w2, w0
bne .L931
ldr w1, [sp, 92]
ldr w0, [sp, 84]
add w0, w1, w0
str w0, [sp, 28]
ldr x0, [sp, 40]
mov w1, -1
str w1, [x0, 1808]
ldr x0, [sp, 40]
str wzr, [x0, 1272]
ldr x0, [sp, 40]
mov w1, -1
str w1, [x0, 1768]
ldr x2, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0, 1828]
ldr x0, [sp, 40]
str w1, [x0, 1408]
ldr x0, [sp, 40]
ldr w0, [x0, 1408]
cmn w0, #1
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 1412]
ldr w0, [sp, 28]
b .L912
.L931:
ldr x0, [sp, 40]
ldr w0, [x0, 1808]
sub w1, w0, #1
ldr x0, [sp, 40]
str w1, [x0, 1808]
ldr x0, [sp, 40]
ldr w4, [x0, 1808]
ldr x2, [sp, 40]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
add x0, x0, 2048
sub x0, x0, #240
add x3, x0, 4
ldr x2, [sp, 40]
sxtw x1, w4
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
add x0, x0, 2048
sub x0, x0, #240
add x0, x0, 4
mov x2, x3
mov x3, x0
ldp x0, x1, [x3]
stp x0, x1, [x2]
ldr w0, [x3, 16]
str w0, [x2, 16]
b .L926
.L930:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L926:
ldr x0, [sp, 40]
ldr w0, [x0, 1808]
ldr w1, [sp, 60]
cmp w1, w0
blt .L932
ldr w0, [sp, 28]
.L912:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE82:
.size vorbis_search_for_page_pushdata, .-vorbis_search_for_page_pushdata
.align 2
.global stb_vorbis_decode_frame_pushdata
.type stb_vorbis_decode_frame_pushdata, %function
stb_vorbis_decode_frame_pushdata:
.LFB83:
.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 w2, [sp, 44]
str x3, [sp, 32]
str x4, [sp, 24]
str x5, [sp, 16]
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, 56]
ldrb w0, [x0, 92]
cmp w0, 0
bne .L935
mov w1, 2
ldr x0, [sp, 56]
bl error
b .L951
.L935:
ldr x0, [sp, 56]
ldr w0, [x0, 1808]
cmp w0, 0
blt .L937
ldr x0, [sp, 16]
str wzr, [x0]
ldr w2, [sp, 44]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl vorbis_search_for_page_pushdata
b .L951
.L937:
ldr x0, [sp, 56]
ldr x1, [sp, 48]
str x1, [x0, 64]
ldrsw x0, [sp, 44]
ldr x1, [sp, 48]
add x1, x1, x0
ldr x0, [sp, 56]
str x1, [x0, 80]
ldr x0, [sp, 56]
str wzr, [x0, 156]
ldr x0, [sp, 56]
bl is_whole_packet_present
cmp w0, 0
bne .L938
ldr x0, [sp, 16]
str wzr, [x0]
mov w0, 0
b .L951
.L938:
add x2, sp, 72
add x1, sp, 76
add x0, sp, 68
mov x3, x2
mov x2, x1
mov x1, x0
ldr x0, [sp, 56]
bl vorbis_decode_packet
cmp w0, 0
bne .L939
ldr x0, [sp, 56]
ldr w0, [x0, 156]
str w0, [sp, 84]
ldr w0, [sp, 84]
cmp w0, 35
bne .L940
ldr x0, [sp, 56]
str wzr, [x0, 156]
b .L941
.L943:
ldr x0, [sp, 56]
ldr w0, [x0, 152]
cmp w0, 0
bne .L953
.L941:
ldr x0, [sp, 56]
bl get8_packet
cmn w0, #1
bne .L943
b .L942
.L953:
nop
.L942:
ldr x0, [sp, 16]
str wzr, [x0]
ldr x0, [sp, 56]
ldr x1, [x0, 64]
ldr x0, [sp, 48]
sub x0, x1, x0
b .L951
.L940:
ldr w0, [sp, 84]
cmp w0, 32
bne .L944
ldr x0, [sp, 56]
ldr w0, [x0, 1272]
cmp w0, 0
bne .L944
ldr x0, [sp, 56]
str wzr, [x0, 156]
b .L945
.L947:
ldr x0, [sp, 56]
ldr w0, [x0, 152]
cmp w0, 0
bne .L954
.L945:
ldr x0, [sp, 56]
bl get8_packet
cmn w0, #1
bne .L947
b .L946
.L954:
nop
.L946:
ldr x0, [sp, 16]
str wzr, [x0]
ldr x0, [sp, 56]
ldr x1, [x0, 64]
ldr x0, [sp, 48]
sub x0, x1, x0
b .L951
.L944:
ldr x0, [sp, 56]
bl stb_vorbis_flush_pushdata
ldr x0, [sp, 56]
ldr w1, [sp, 84]
str w1, [x0, 156]
ldr x0, [sp, 16]
str wzr, [x0]
mov w0, 1
b .L951
.L939:
ldr w0, [sp, 68]
ldr w1, [sp, 76]
ldr w2, [sp, 72]
mov w3, w2
mov w2, w1
mov w1, w0
ldr x0, [sp, 56]
bl vorbis_finish_frame
str w0, [sp, 68]
str wzr, [sp, 80]
b .L948
.L949:
ldr x1, [sp, 56]
ldrsw x0, [sp, 80]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0, 8]
ldr w0, [sp, 76]
sxtw x0, w0
lsl x0, x0, 2
add x1, x1, x0
ldr x2, [sp, 56]
ldrsw x0, [sp, 80]
add x0, x0, 126
lsl x0, x0, 3
add x0, x2, x0
str x1, [x0, 8]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L948:
ldr x0, [sp, 56]
ldr w0, [x0, 4]
ldr w1, [sp, 80]
cmp w1, w0
blt .L949
ldr x0, [sp, 32]
cmp x0, 0
beq .L950
ldr x0, [sp, 56]
ldr w1, [x0, 4]
ldr x0, [sp, 32]
str w1, [x0]
.L950:
ldr w1, [sp, 68]
ldr x0, [sp, 16]
str w1, [x0]
ldr x0, [sp, 56]
add x1, x0, 1016
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 56]
ldr x1, [x0, 64]
ldr x0, [sp, 48]
sub x0, x1, x0
.L951:
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 .L952
bl __stack_chk_fail
.L952:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE83:
.size stb_vorbis_decode_frame_pushdata, .-stb_vorbis_decode_frame_pushdata
.align 2
.global stb_vorbis_open_pushdata
.type stb_vorbis_open_pushdata, %function
stb_vorbis_open_pushdata:
.LFB84:
.cfi_startproc
sub sp, sp, #1984
.cfi_def_cfa_offset 1984
stp x29, x30, [sp]
.cfi_offset 29, -1984
.cfi_offset 30, -1976
mov x29, sp
str x0, [sp, 56]
str w1, [sp, 52]
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, 1976]
mov x1, 0
add x0, sp, 72
ldr x1, [sp, 24]
bl vorbis_init
ldr x0, [sp, 56]
str x0, [sp, 136]
ldrsw x0, [sp, 52]
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 152]
mov w0, 1
strb w0, [sp, 164]
add x0, sp, 72
bl start_decoder
cmp w0, 0
bne .L956
ldr w0, [sp, 224]
cmp w0, 0
beq .L957
ldr x0, [sp, 32]
mov w1, 1
str w1, [x0]
b .L958
.L957:
ldr w0, [sp, 228]
mov w1, w0
ldr x0, [sp, 32]
str w1, [x0]
.L958:
add x0, sp, 72
bl vorbis_deinit
mov x0, 0
b .L961
.L956:
add x0, sp, 72
bl vorbis_alloc
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
beq .L960
ldr x0, [sp, 64]
mov x3, x0
add x0, sp, 72
mov x1, 1904
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 64]
ldr x1, [x0, 64]
ldr x0, [sp, 56]
sub x0, x1, x0
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0]
ldr x0, [sp, 32]
str wzr, [x0]
ldr x0, [sp, 64]
b .L961
.L960:
add x0, sp, 72
bl vorbis_deinit
mov x0, 0
.L961:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1976]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L962
bl __stack_chk_fail
.L962:
mov x0, x1
ldp x29, x30, [sp]
add sp, sp, 1984
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE84:
.size stb_vorbis_open_pushdata, .-stb_vorbis_open_pushdata
.align 2
.global stb_vorbis_get_file_offset
.type stb_vorbis_get_file_offset, %function
stb_vorbis_get_file_offset:
.LFB85:
.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]
ldrb w0, [x0, 92]
cmp w0, 0
beq .L964
mov w0, 0
b .L965
.L964:
ldr x0, [sp, 24]
ldr x0, [x0, 64]
cmp x0, 0
beq .L966
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
sub x0, x1, x0
b .L965
.L966:
ldr x0, [sp, 24]
ldr x0, [x0, 48]
bl ftell
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 56]
sub w0, w1, w0
.L965:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE85:
.size stb_vorbis_get_file_offset, .-stb_vorbis_get_file_offset
.align 2
.type vorbis_find_page, %function
vorbis_find_page:
.LFB86:
.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, 40]
str x1, [sp, 32]
str x2, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 120]
mov x1, 0
.L998:
ldr x0, [sp, 40]
ldr w0, [x0, 152]
cmp w0, 0
beq .L968
mov w0, 0
b .L969
.L968:
ldr x0, [sp, 40]
bl get8
and w0, w0, 255
str w0, [sp, 72]
ldr w0, [sp, 72]
cmp w0, 79
bne .L998
ldr x0, [sp, 40]
bl stb_vorbis_get_file_offset
str w0, [sp, 76]
ldr w0, [sp, 76]
sub w1, w0, #25
ldr x0, [sp, 40]
ldr w0, [x0, 88]
cmp w1, w0
bls .L971
mov w0, 0
b .L969
.L971:
mov w0, 1
str w0, [sp, 56]
b .L972
.L975:
ldr x0, [sp, 40]
bl get8
and w1, w0, 255
adrp x0, ogg_page_header
add x2, x0, :lo12:ogg_page_header
ldrsw x0, [sp, 56]
ldrb w0, [x2, x0]
cmp w1, w0
bne .L1000
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L972:
ldr w0, [sp, 56]
cmp w0, 3
ble .L975
b .L974
.L1000:
nop
.L974:
ldr x0, [sp, 40]
ldr w0, [x0, 152]
cmp w0, 0
beq .L976
mov w0, 0
b .L969
.L976:
ldr w0, [sp, 56]
cmp w0, 4
bne .L1001
str wzr, [sp, 60]
b .L978
.L979:
adrp x0, ogg_page_header
add x1, x0, :lo12:ogg_page_header
ldr w0, [sp, 60]
ldrb w2, [x1, x0]
ldr w0, [sp, 60]
add x1, sp, 88
strb w2, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L978:
ldr w0, [sp, 60]
cmp w0, 3
bls .L979
b .L980
.L981:
ldr x0, [sp, 40]
bl get8
and w2, w0, 255
ldr w0, [sp, 60]
add x1, sp, 88
strb w2, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L980:
ldr w0, [sp, 60]
cmp w0, 26
bls .L981
ldr x0, [sp, 40]
ldr w0, [x0, 152]
cmp w0, 0
beq .L982
mov w0, 0
b .L969
.L982:
ldrb w0, [sp, 92]
cmp w0, 0
bne .L1002
ldrb w0, [sp, 110]
mov w1, w0
ldrb w0, [sp, 111]
lsl w0, w0, 8
add w1, w1, w0
ldrb w0, [sp, 112]
lsl w0, w0, 16
add w0, w1, w0
mov w1, w0
ldrb w0, [sp, 113]
lsl w0, w0, 24
add w0, w1, w0
str w0, [sp, 80]
mov w0, 22
str w0, [sp, 60]
b .L985
.L986:
ldr w0, [sp, 60]
add x1, sp, 88
strb wzr, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L985:
ldr w0, [sp, 60]
cmp w0, 25
bls .L986
str wzr, [sp, 64]
str wzr, [sp, 60]
b .L987
.L988:
ldr w0, [sp, 60]
add x1, sp, 88
ldrb w0, [x1, x0]
mov w1, w0
ldr w0, [sp, 64]
bl crc32_update
str w0, [sp, 64]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L987:
ldr w0, [sp, 60]
cmp w0, 26
bls .L988
str wzr, [sp, 68]
str wzr, [sp, 60]
b .L989
.L990:
ldr x0, [sp, 40]
bl get8
and w0, w0, 255
str w0, [sp, 84]
ldr w0, [sp, 84]
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 64]
bl crc32_update
str w0, [sp, 64]
ldr w0, [sp, 84]
ldr w1, [sp, 68]
add w0, w1, w0
str w0, [sp, 68]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L989:
ldrb w0, [sp, 114]
mov w1, w0
ldr w0, [sp, 60]
cmp w0, w1
bcc .L990
ldr w0, [sp, 68]
cmp w0, 0
beq .L991
ldr x0, [sp, 40]
ldr w0, [x0, 152]
cmp w0, 0
beq .L991
mov w0, 0
b .L969
.L991:
str wzr, [sp, 60]
b .L992
.L993:
ldr x0, [sp, 40]
bl get8
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 64]
bl crc32_update
str w0, [sp, 64]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L992:
ldr w1, [sp, 60]
ldr w0, [sp, 68]
cmp w1, w0
bcc .L993
ldr w1, [sp, 64]
ldr w0, [sp, 80]
cmp w1, w0
bne .L977
ldr x0, [sp, 32]
cmp x0, 0
beq .L995
ldr x0, [sp, 40]
bl stb_vorbis_get_file_offset
mov w1, w0
ldr x0, [sp, 32]
str w1, [x0]
.L995:
ldr x0, [sp, 24]
cmp x0, 0
beq .L996
ldrb w0, [sp, 93]
and w0, w0, 4
cmp w0, 0
beq .L997
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0]
b .L996
.L997:
ldr x0, [sp, 24]
str wzr, [x0]
.L996:
ldr w0, [sp, 76]
sub w0, w0, #1
mov w1, w0
ldr x0, [sp, 40]
bl set_file_offset
mov w0, 1
b .L969
.L1001:
nop
b .L977
.L1002:
nop
.L977:
ldr w1, [sp, 76]
ldr x0, [sp, 40]
bl set_file_offset
b .L998
.L969:
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 .L999
bl __stack_chk_fail
.L999:
mov w0, w1
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE86:
.size vorbis_find_page, .-vorbis_find_page
.align 2
.type get_seek_page_info, %function
get_seek_page_info:
.LFB87:
.cfi_startproc
stp x29, x30, [sp, -336]!
.cfi_def_cfa_offset 336
.cfi_offset 29, -336
.cfi_offset 30, -328
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, 328]
mov x1, 0
ldr x0, [sp, 24]
bl stb_vorbis_get_file_offset
mov w1, w0
ldr x0, [sp, 16]
str w1, [x0]
add x0, sp, 40
mov w2, 27
mov x1, x0
ldr x0, [sp, 24]
bl getn
ldrb w0, [sp, 40]
cmp w0, 79
bne .L1004
ldrb w0, [sp, 41]
cmp w0, 103
bne .L1004
ldrb w0, [sp, 42]
cmp w0, 103
bne .L1004
ldrb w0, [sp, 43]
cmp w0, 83
beq .L1005
.L1004:
mov w0, 0
b .L1009
.L1005:
ldrb w0, [sp, 66]
mov w1, w0
add x0, sp, 72
mov w2, w1
mov x1, x0
ldr x0, [sp, 24]
bl getn
str wzr, [sp, 36]
str wzr, [sp, 32]
b .L1007
.L1008:
ldrsw x0, [sp, 32]
add x1, sp, 72
ldrb w0, [x1, x0]
mov w1, w0
ldr w0, [sp, 36]
add w0, w0, w1
str w0, [sp, 36]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L1007:
ldrb w0, [sp, 66]
mov w1, w0
ldr w0, [sp, 32]
cmp w0, w1
blt .L1008
ldr x0, [sp, 16]
ldr w0, [x0]
ldrb w1, [sp, 66]
add w1, w0, w1
ldr w0, [sp, 36]
add w0, w1, w0
add w1, w0, 27
ldr x0, [sp, 16]
str w1, [x0, 4]
ldrb w0, [sp, 46]
mov w1, w0
ldrb w0, [sp, 47]
lsl w0, w0, 8
add w1, w1, w0
ldrb w0, [sp, 48]
lsl w0, w0, 16
add w1, w1, w0
ldrb w0, [sp, 49]
lsl w0, w0, 24
add w0, w1, w0
mov w1, w0
ldr x0, [sp, 16]
str w1, [x0, 8]
ldr x0, [sp, 16]
ldr w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
bl set_file_offset
mov w0, 1
.L1009:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 328]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1010
bl __stack_chk_fail
.L1010:
mov w0, w1
ldp x29, x30, [sp], 336
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE87:
.size get_seek_page_info, .-get_seek_page_info
.align 2
.type go_to_page_before, %function
go_to_page_before:
.LFB88:
.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]
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, 20]
mov w0, 65535
cmp w1, w0
bls .L1012
ldr w0, [sp, 20]
sub w1, w0, #65536
ldr x0, [sp, 24]
ldr w0, [x0, 96]
cmp w1, w0
bcc .L1012
ldr w0, [sp, 20]
sub w0, w0, #65536
str w0, [sp, 36]
b .L1013
.L1012:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
str w0, [sp, 36]
.L1013:
ldr w1, [sp, 36]
ldr x0, [sp, 24]
bl set_file_offset
b .L1014
.L1017:
ldr w0, [sp, 32]
ldr w1, [sp, 20]
cmp w1, w0
bhi .L1015
ldr x0, [sp, 24]
bl stb_vorbis_get_file_offset
mov w1, w0
ldr w0, [sp, 20]
cmp w0, w1
bls .L1015
mov w0, 1
b .L1018
.L1015:
ldr w0, [sp, 32]
mov w1, w0
ldr x0, [sp, 24]
bl set_file_offset
.L1014:
add x0, sp, 32
mov x2, 0
mov x1, x0
ldr x0, [sp, 24]
bl vorbis_find_page
cmp w0, 0
bne .L1017
mov w0, 0
.L1018:
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 .L1019
bl __stack_chk_fail
.L1019:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE88:
.size go_to_page_before, .-go_to_page_before
.section .rodata
.align 3
.LC20:
.string "right.last_decoded_sample != ~0U"
.align 3
.LC21:
.string "left.page_end < right.page_start"
.align 3
.LC22:
.string "mid.page_start < right.page_start"
.align 3
.LC23:
.string "end_pos >= 0"
.text
.align 2
.type seek_to_sample_coarse, %function
seek_to_sample_coarse:
.LFB89:
.cfi_startproc
stp x29, x30, [sp, -160]!
.cfi_def_cfa_offset 160
.cfi_offset 29, -160
.cfi_offset 30, -152
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, 152]
mov x1, 0
str xzr, [sp, 72]
str xzr, [sp, 80]
str wzr, [sp, 52]
ldr x0, [sp, 24]
bl stb_vorbis_stream_length_in_samples
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bne .L1021
mov w1, 7
ldr x0, [sp, 24]
bl error
b .L1074
.L1021:
ldr w1, [sp, 20]
ldr w0, [sp, 56]
cmp w1, w0
bls .L1023
mov w1, 11
ldr x0, [sp, 24]
bl error
b .L1074
.L1023:
ldr x0, [sp, 24]
ldr w1, [x0, 172]
ldr x0, [sp, 24]
ldr w0, [x0, 168]
sub w0, w1, w0
asr w0, w0, 2
str w0, [sp, 60]
ldr w1, [sp, 20]
ldr w0, [sp, 60]
cmp w1, w0
bcs .L1024
str wzr, [sp, 48]
b .L1025
.L1024:
ldr w1, [sp, 20]
ldr w0, [sp, 60]
sub w0, w1, w0
str w0, [sp, 48]
.L1025:
ldr x0, [sp, 24]
add x1, x0, 100
add x0, sp, 104
ldr x2, [x1]
str x2, [x0]
ldr w1, [x1, 8]
str w1, [x0, 8]
b .L1026
.L1028:
ldr w0, [sp, 108]
mov w1, w0
ldr x0, [sp, 24]
bl set_file_offset
add x0, sp, 104
mov x1, x0
ldr x0, [sp, 24]
bl get_seek_page_info
cmp w0, 0
beq .L1083
.L1026:
ldr w0, [sp, 112]
cmn w0, #1
beq .L1028
ldr x0, [sp, 24]
add x1, x0, 112
add x0, sp, 120
ldr x2, [x1]
str x2, [x0]
ldr w1, [x1, 8]
str w1, [x0, 8]
ldr w0, [sp, 128]
cmn w0, #1
bne .L1029
adrp x0, __PRETTY_FUNCTION__.4
add x3, x0, :lo12:__PRETTY_FUNCTION__.4
mov w2, 4730
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl __assert_fail
.L1029:
ldr w0, [sp, 112]
ldr w1, [sp, 48]
cmp w1, w0
bhi .L1033
ldr x0, [sp, 24]
bl stb_vorbis_seek_start
cmp w0, 0
beq .L1031
ldr x0, [sp, 24]
ldr w0, [x0, 1408]
ldr w1, [sp, 20]
cmp w1, w0
bcs .L1032
mov w1, 37
ldr x0, [sp, 24]
bl error
b .L1074
.L1032:
mov w0, 1
b .L1074
.L1031:
mov w0, 0
b .L1074
.L1060:
ldr w1, [sp, 108]
ldr w0, [sp, 120]
cmp w1, w0
bcc .L1034
adrp x0, __PRETTY_FUNCTION__.4
add x3, x0, :lo12:__PRETTY_FUNCTION__.4
mov w2, 4743
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl __assert_fail
.L1034:
ldr w1, [sp, 120]
ldr w0, [sp, 108]
sub w0, w1, w0
str w0, [sp, 64]
ldr w0, [sp, 64]
cmp w0, 65536
bhi .L1035
ldr w0, [sp, 108]
mov w1, w0
ldr x0, [sp, 24]
bl set_file_offset
b .L1055
.L1035:
ldr w0, [sp, 52]
cmp w0, 1
bgt .L1037
ldr w0, [sp, 52]
cmp w0, 0
bne .L1038
ldr w1, [sp, 124]
ldr w0, [sp, 104]
sub w0, w1, w0
ucvtf d0, w0
str d0, [sp, 96]
ldr w0, [sp, 128]
ucvtf d0, w0
ldr d1, [sp, 96]
fdiv d0, d1, d0
str d0, [sp, 80]
ldr w0, [sp, 104]
ucvtf d1, w0
ldr w0, [sp, 112]
ldr w1, [sp, 48]
sub w0, w1, w0
ucvtf d2, w0
ldr d0, [sp, 80]
fmul d0, d2, d0
fadd d0, d1, d0
str d0, [sp, 72]
b .L1039
.L1038:
ldr w0, [sp, 48]
ucvtf d1, w0
ldr w0, [sp, 144]
ucvtf d0, w0
fsub d0, d1, d0
ldr d1, [sp, 80]
fmul d0, d1, d0
str d0, [sp, 88]
ldr d0, [sp, 88]
fcmpe d0, #0.0
bge .L1076
b .L1040
.L1076:
ldr d0, [sp, 88]
mov x0, 70368744177664
movk x0, 0x40bf, lsl 48
fmov d1, x0
fcmpe d0, d1
bmi .L1077
b .L1040
.L1077:
mov x0, 70368744177664
movk x0, 0x40bf, lsl 48
fmov d0, x0
str d0, [sp, 88]
.L1040:
ldr d0, [sp, 88]
fcmpe d0, #0.0
bmi .L1078
b .L1043
.L1078:
ldr d0, [sp, 88]
mov x0, 70368744177664
movk x0, 0xc0bf, lsl 48
fmov d1, x0
fcmpe d0, d1
bgt .L1079
b .L1043
.L1079:
mov x0, 70368744177664
movk x0, 0xc0bf, lsl 48
fmov d0, x0
str d0, [sp, 88]
.L1043:
ldr d0, [sp, 88]
fadd d0, d0, d0
ldr d1, [sp, 72]
fadd d0, d1, d0
str d0, [sp, 72]
.L1039:
ldr w0, [sp, 108]
ucvtf d0, w0
ldr d1, [sp, 72]
fcmpe d1, d0
bmi .L1080
b .L1046
.L1080:
ldr w0, [sp, 108]
ucvtf d0, w0
str d0, [sp, 72]
.L1046:
ldr w0, [sp, 120]
sub w0, w0, #65536
ucvtf d0, w0
ldr d1, [sp, 72]
fcmpe d1, d0
bgt .L1081
b .L1048
.L1081:
ldr w0, [sp, 120]
sub w0, w0, #65536
ucvtf d0, w0
str d0, [sp, 72]
.L1048:
ldr d0, [sp, 72]
fcvtzu w0, d0
mov w1, w0
ldr x0, [sp, 24]
bl set_file_offset
b .L1050
.L1037:
ldr w1, [sp, 108]
ldr w0, [sp, 64]
lsr w0, w0, 1
add w0, w1, w0
sub w0, w0, #32768
mov w1, w0
ldr x0, [sp, 24]
bl set_file_offset
.L1050:
mov x2, 0
mov x1, 0
ldr x0, [sp, 24]
bl vorbis_find_page
cmp w0, 0
beq .L1084
.L1055:
add x0, sp, 136
mov x1, x0
ldr x0, [sp, 24]
bl get_seek_page_info
cmp w0, 0
beq .L1085
ldr w0, [sp, 144]
cmn w0, #1
bne .L1086
ldr w0, [sp, 140]
mov w1, w0
ldr x0, [sp, 24]
bl set_file_offset
ldr w1, [sp, 136]
ldr w0, [sp, 120]
cmp w1, w0
bcc .L1055
adrp x0, __PRETTY_FUNCTION__.4
add x3, x0, :lo12:__PRETTY_FUNCTION__.4
mov w2, 4785
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl __assert_fail
.L1086:
nop
ldr w1, [sp, 136]
ldr w0, [sp, 120]
cmp w1, w0
bne .L1056
ldr w0, [sp, 52]
cmp w0, 1
bgt .L1057
ldr w0, [sp, 64]
cmp w0, 65536
bls .L1057
b .L1058
.L1056:
ldr w0, [sp, 144]
ldr w1, [sp, 48]
cmp w1, w0
bcs .L1059
add x0, sp, 120
add x1, sp, 136
ldr x2, [x1]
str x2, [x0]
ldr w1, [x1, 8]
str w1, [x0, 8]
b .L1058
.L1059:
add x0, sp, 104
add x1, sp, 136
ldr x2, [x1]
str x2, [x0]
ldr w1, [x1, 8]
str w1, [x0, 8]
.L1058:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1033:
ldr w1, [sp, 108]
ldr w0, [sp, 120]
cmp w1, w0
bne .L1060
.L1057:
ldr w0, [sp, 104]
str w0, [sp, 44]
ldr w0, [sp, 44]
mov w1, w0
ldr x0, [sp, 24]
bl set_file_offset
ldr x0, [sp, 24]
bl start_page
cmp w0, 0
bne .L1061
mov w1, 37
ldr x0, [sp, 24]
bl error
b .L1074
.L1061:
ldr x0, [sp, 24]
ldr w0, [x0, 1792]
str w0, [sp, 40]
ldr w0, [sp, 40]
cmp w0, 0
bge .L1062
adrp x0, __PRETTY_FUNCTION__.4
add x3, x0, :lo12:__PRETTY_FUNCTION__.4
mov w2, 4808
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC23
add x0, x0, :lo12:.LC23
bl __assert_fail
.L1062:
ldr w0, [sp, 40]
str w0, [sp, 36]
b .L1063
.L1066:
ldr w0, [sp, 36]
sub w0, w0, #1
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 1508]
cmp w0, 255
bne .L1087
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L1063:
ldr w0, [sp, 36]
cmp w0, 0
bgt .L1066
b .L1065
.L1087:
nop
.L1065:
ldr w0, [sp, 36]
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
bgt .L1067
ldr x0, [sp, 24]
ldrb w0, [x0, 1763]
and w0, w0, 1
cmp w0, 0
beq .L1067
ldr w0, [sp, 44]
mov w1, w0
ldr x0, [sp, 24]
bl go_to_page_before
cmp w0, 0
beq .L1088
ldr x0, [sp, 24]
bl stb_vorbis_get_file_offset
str w0, [sp, 44]
ldr x0, [sp, 24]
bl start_page
cmp w0, 0
beq .L1089
ldr x0, [sp, 24]
ldr w0, [x0, 1504]
sub w0, w0, #1
str w0, [sp, 40]
b .L1062
.L1067:
ldr x0, [sp, 24]
str wzr, [x0, 1412]
ldr x0, [sp, 24]
str wzr, [x0, 1772]
ldr x0, [sp, 24]
str wzr, [x0, 1784]
ldr x0, [sp, 24]
str wzr, [x0, 1788]
ldr x0, [sp, 24]
strb wzr, [x0, 1764]
ldr x0, [sp, 24]
str wzr, [x0, 1272]
ldr x0, [sp, 24]
ldr w1, [sp, 68]
str w1, [x0, 1768]
str wzr, [sp, 36]
b .L1070
.L1071:
ldr x1, [sp, 24]
ldrsw x0, [sp, 36]
add x0, x1, x0
ldrb w0, [x0, 1508]
mov w1, w0
ldr x0, [sp, 24]
bl skip
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1070:
ldr w1, [sp, 36]
ldr w0, [sp, 68]
cmp w1, w0
blt .L1071
ldr x0, [sp, 24]
bl vorbis_pump_first_frame
cmp w0, 0
bne .L1072
mov w0, 0
b .L1074
.L1072:
ldr x0, [sp, 24]
ldr w0, [x0, 1408]
ldr w1, [sp, 20]
cmp w1, w0
bcs .L1073
mov w1, 37
ldr x0, [sp, 24]
bl error
b .L1074
.L1073:
mov w0, 1
b .L1074
.L1083:
nop
b .L1027
.L1084:
nop
b .L1027
.L1085:
nop
b .L1027
.L1088:
nop
b .L1027
.L1089:
nop
.L1027:
ldr x0, [sp, 24]
bl stb_vorbis_seek_start
mov w1, 37
ldr x0, [sp, 24]
bl error
.L1074:
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 .L1075
bl __stack_chk_fail
.L1075:
mov w0, w1
ldp x29, x30, [sp], 160
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE89:
.size seek_to_sample_coarse, .-seek_to_sample_coarse
.align 2
.type peek_decode_initial, %function
peek_decode_initial:
.LFB90:
.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, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str x4, [sp, 24]
str x5, [sp, 16]
ldr x5, [sp, 16]
ldr x4, [sp, 24]
ldr x3, [sp, 32]
ldr x2, [sp, 40]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl vorbis_decode_initial
cmp w0, 0
bne .L1091
mov w0, 0
b .L1092
.L1091:
ldr x0, [sp, 56]
ldr w0, [x0, 496]
sub w0, w0, #1
bl ilog
add w0, w0, 1
str w0, [sp, 72]
ldr x0, [sp, 16]
ldr w0, [x0]
ldr x2, [sp, 56]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 1
add x0, x2, x0
ldrb w0, [x0, 500]
cmp w0, 0
beq .L1093
ldr w0, [sp, 72]
add w0, w0, 2
str w0, [sp, 72]
.L1093:
ldr w0, [sp, 72]
add w0, w0, 7
add w1, w0, 7
cmp w0, 0
csel w0, w1, w0, lt
asr w0, w0, 3
str w0, [sp, 76]
ldr x0, [sp, 56]
ldrb w1, [x0, 1764]
ldr w0, [sp, 76]
and w0, w0, 255
add w0, w1, w0
and w1, w0, 255
ldr x0, [sp, 56]
strb w1, [x0, 1764]
ldr x0, [sp, 56]
ldr w1, [x0, 1788]
ldr w0, [sp, 76]
sub w1, w1, w0
ldr x0, [sp, 56]
str w1, [x0, 1788]
ldr w0, [sp, 76]
neg w0, w0
mov w1, w0
ldr x0, [sp, 56]
bl skip
ldr x0, [sp, 56]
ldr w0, [x0, 1768]
cmn w0, #1
bne .L1094
ldr x0, [sp, 56]
ldr w0, [x0, 1504]
sub w1, w0, #1
ldr x0, [sp, 56]
str w1, [x0, 1768]
b .L1095
.L1094:
ldr x0, [sp, 56]
ldr w0, [x0, 1768]
sub w1, w0, #1
ldr x0, [sp, 56]
str w1, [x0, 1768]
.L1095:
ldr x0, [sp, 56]
str wzr, [x0, 1784]
mov w0, 1
.L1092:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE90:
.size peek_decode_initial, .-peek_decode_initial
.section .rodata
.align 3
.LC24:
.string "f->current_loc_valid"
.align 3
.LC25:
.string "f->current_loc <= sample_number"
.text
.align 2
.global stb_vorbis_seek_frame
.type stb_vorbis_seek_frame, %function
stb_vorbis_seek_frame:
.LFB91:
.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
ldr x0, [sp, 24]
ldrb w0, [x0, 92]
cmp w0, 0
beq .L1097
mov w1, 2
ldr x0, [sp, 24]
bl error
b .L1098
.L1097:
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl seek_to_sample_coarse
cmp w0, 0
bne .L1099
mov w0, 0
b .L1098
.L1099:
ldr x0, [sp, 24]
ldr w0, [x0, 1412]
cmp w0, 0
bne .L1100
adrp x0, __PRETTY_FUNCTION__.3
add x3, x0, :lo12:__PRETTY_FUNCTION__.3
mov w2, 4890
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl __assert_fail
.L1100:
ldr x0, [sp, 24]
ldr w0, [x0, 1408]
ldr w1, [sp, 20]
cmp w1, w0
bcs .L1101
adrp x0, __PRETTY_FUNCTION__.3
add x3, x0, :lo12:__PRETTY_FUNCTION__.3
mov w2, 4891
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl __assert_fail
.L1101:
ldr x0, [sp, 24]
ldr w1, [x0, 172]
mov w0, w1
lsl w0, w0, 1
add w1, w0, w1
ldr x0, [sp, 24]
ldr w0, [x0, 168]
sub w0, w1, w0
asr w0, w0, 2
str w0, [sp, 64]
b .L1102
.L1108:
add x4, sp, 60
add x3, sp, 56
add x2, sp, 52
add x1, sp, 48
add x0, sp, 44
mov x5, x4
mov x4, x3
mov x3, x2
mov x2, x1
mov x1, x0
ldr x0, [sp, 24]
bl peek_decode_initial
cmp w0, 0
bne .L1103
mov w1, 37
ldr x0, [sp, 24]
bl error
b .L1098
.L1103:
ldr w1, [sp, 52]
ldr w0, [sp, 44]
sub w0, w1, w0
str w0, [sp, 68]
ldr x0, [sp, 24]
ldr w1, [x0, 1408]
ldr w0, [sp, 68]
add w0, w1, w0
ldr w1, [sp, 20]
cmp w1, w0
bcs .L1105
mov w0, 1
b .L1098
.L1105:
ldr x0, [sp, 24]
ldr w1, [x0, 1408]
ldr w0, [sp, 68]
add w1, w1, w0
ldr w0, [sp, 64]
add w0, w1, w0
ldr w1, [sp, 20]
cmp w1, w0
bcs .L1106
ldr x0, [sp, 24]
bl vorbis_pump_first_frame
b .L1102
.L1106:
ldr x0, [sp, 24]
ldr w1, [x0, 1408]
ldr w0, [sp, 68]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 1408]
ldr x0, [sp, 24]
str wzr, [x0, 1272]
ldr x0, [sp, 24]
bl maybe_start_packet
ldr x0, [sp, 24]
bl flush_packet
.L1102:
ldr x0, [sp, 24]
ldr w0, [x0, 1408]
ldr w1, [sp, 20]
cmp w1, w0
bhi .L1108
ldr x0, [sp, 24]
ldr w0, [x0, 1408]
ldr w1, [sp, 20]
cmp w1, w0
beq .L1109
mov w1, 37
ldr x0, [sp, 24]
bl error
b .L1098
.L1109:
mov w0, 1
.L1098:
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 .L1110
bl __stack_chk_fail
.L1110:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE91:
.size stb_vorbis_seek_frame, .-stb_vorbis_seek_frame
.section .rodata
.align 3
.LC26:
.string "sample_number > frame_start"
.align 3
.LC27:
.string "f->channel_buffer_start + (int) (sample_number-frame_start) <= f->channel_buffer_end"
.text
.align 2
.global stb_vorbis_seek
.type stb_vorbis_seek, %function
stb_vorbis_seek:
.LFB92:
.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]
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, 20]
ldr x0, [sp, 24]
bl stb_vorbis_seek_frame
cmp w0, 0
bne .L1112
mov w0, 0
b .L1113
.L1112:
ldr x0, [sp, 24]
ldr w0, [x0, 1408]
ldr w1, [sp, 20]
cmp w1, w0
beq .L1114
ldr x0, [sp, 24]
ldr w0, [x0, 1408]
str w0, [sp, 36]
add x0, sp, 32
mov x2, 0
mov x1, x0
ldr x0, [sp, 24]
bl stb_vorbis_get_frame_float
ldr w1, [sp, 20]
ldr w0, [sp, 36]
cmp w1, w0
bhi .L1115
adrp x0, __PRETTY_FUNCTION__.2
add x3, x0, :lo12:__PRETTY_FUNCTION__.2
mov w2, 4928
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl __assert_fail
.L1115:
ldr x0, [sp, 24]
ldr w0, [x0, 1892]
ldr w2, [sp, 20]
ldr w1, [sp, 36]
sub w1, w2, w1
add w1, w0, w1
ldr x0, [sp, 24]
ldr w0, [x0, 1896]
cmp w1, w0
ble .L1116
adrp x0, __PRETTY_FUNCTION__.2
add x3, x0, :lo12:__PRETTY_FUNCTION__.2
mov w2, 4929
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC27
add x0, x0, :lo12:.LC27
bl __assert_fail
.L1116:
ldr x0, [sp, 24]
ldr w0, [x0, 1892]
mov w2, w0
ldr w1, [sp, 20]
ldr w0, [sp, 36]
sub w0, w1, w0
add w0, w2, w0
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 1892]
.L1114:
mov w0, 1
.L1113:
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 .L1117
bl __stack_chk_fail
.L1117:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE92:
.size stb_vorbis_seek, .-stb_vorbis_seek
.align 2
.global stb_vorbis_seek_start
.type stb_vorbis_seek_start, %function
stb_vorbis_seek_start:
.LFB93:
.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]
ldrb w0, [x0, 92]
cmp w0, 0
beq .L1119
mov w1, 2
ldr x0, [sp, 24]
bl error
b .L1120
.L1119:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
mov w1, w0
ldr x0, [sp, 24]
bl set_file_offset
ldr x0, [sp, 24]
str wzr, [x0, 1272]
ldr x0, [sp, 24]
mov w1, 1
strb w1, [x0, 1765]
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0, 1768]
ldr x0, [sp, 24]
bl vorbis_pump_first_frame
.L1120:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE93:
.size stb_vorbis_seek_start, .-stb_vorbis_seek_start
.align 2
.global stb_vorbis_stream_length_in_samples
.type stb_vorbis_stream_length_in_samples, %function
stb_vorbis_stream_length_in_samples:
.LFB94:
.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]
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 x0, [sp, 24]
ldrb w0, [x0, 92]
cmp w0, 0
beq .L1122
mov w1, 2
ldr x0, [sp, 24]
bl error
b .L1137
.L1122:
ldr x0, [sp, 24]
ldr w0, [x0, 884]
cmp w0, 0
bne .L1124
ldr x0, [sp, 24]
bl stb_vorbis_get_file_offset
str w0, [sp, 56]
ldr x0, [sp, 24]
ldr w1, [x0, 88]
mov w0, 65535
cmp w1, w0
bls .L1125
ldr x0, [sp, 24]
ldr w0, [x0, 88]
sub w1, w0, #65536
ldr x0, [sp, 24]
ldr w0, [x0, 96]
cmp w1, w0
bcc .L1125
ldr x0, [sp, 24]
ldr w0, [x0, 88]
sub w0, w0, #65536
str w0, [sp, 44]
b .L1126
.L1125:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
str w0, [sp, 44]
.L1126:
ldr w1, [sp, 44]
ldr x0, [sp, 24]
bl set_file_offset
add x1, sp, 40
add x0, sp, 36
mov x2, x1
mov x1, x0
ldr x0, [sp, 24]
bl vorbis_find_page
cmp w0, 0
bne .L1127
ldr x0, [sp, 24]
mov w1, 36
str w1, [x0, 156]
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0, 884]
b .L1128
.L1127:
ldr x0, [sp, 24]
bl stb_vorbis_get_file_offset
str w0, [sp, 48]
b .L1129
.L1132:
ldr w0, [sp, 36]
mov w1, w0
ldr x0, [sp, 24]
bl set_file_offset
add x1, sp, 40
add x0, sp, 36
mov x2, x1
mov x1, x0
ldr x0, [sp, 24]
bl vorbis_find_page
cmp w0, 0
beq .L1139
ldr x0, [sp, 24]
bl stb_vorbis_get_file_offset
str w0, [sp, 48]
.L1129:
ldr w0, [sp, 40]
cmp w0, 0
beq .L1132
b .L1131
.L1139:
nop
.L1131:
ldr w1, [sp, 48]
ldr x0, [sp, 24]
bl set_file_offset
add x0, sp, 64
mov w2, 6
mov x1, x0
ldr x0, [sp, 24]
bl getn
ldr x0, [sp, 24]
bl get32
str w0, [sp, 52]
ldr x0, [sp, 24]
bl get32
str w0, [sp, 60]
ldr w0, [sp, 52]
cmn w0, #1
bne .L1133
ldr w0, [sp, 60]
cmn w0, #1
bne .L1133
ldr x0, [sp, 24]
mov w1, 36
str w1, [x0, 156]
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0, 884]
b .L1128
.L1133:
ldr w0, [sp, 60]
cmp w0, 0
beq .L1134
mov w0, -2
str w0, [sp, 52]
.L1134:
ldr x0, [sp, 24]
ldr w1, [sp, 52]
str w1, [x0, 884]
ldr x0, [sp, 24]
ldr w1, [sp, 48]
str w1, [x0, 112]
ldr w1, [sp, 36]
ldr x0, [sp, 24]
str w1, [x0, 116]
ldr x0, [sp, 24]
ldr w1, [sp, 52]
str w1, [x0, 120]
.L1128:
ldr w1, [sp, 56]
ldr x0, [sp, 24]
bl set_file_offset
.L1124:
ldr x0, [sp, 24]
ldr w0, [x0, 884]
cmn w0, #1
beq .L1135
ldr x0, [sp, 24]
ldr w0, [x0, 884]
b .L1137
.L1135:
mov w0, 0
.L1137:
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 .L1138
bl __stack_chk_fail
.L1138:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE94:
.size stb_vorbis_stream_length_in_samples, .-stb_vorbis_stream_length_in_samples
.align 2
.global stb_vorbis_stream_length_in_seconds
.type stb_vorbis_stream_length_in_seconds, %function
stb_vorbis_stream_length_in_seconds:
.LFB95:
.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 stb_vorbis_stream_length_in_samples
ucvtf s1, w0
ldr x0, [sp, 24]
ldr s0, [x0]
ucvtf s0, s0
fdiv s0, s1, s0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE95:
.size stb_vorbis_stream_length_in_seconds, .-stb_vorbis_stream_length_in_seconds
.align 2
.global stb_vorbis_get_frame_float
.type stb_vorbis_get_frame_float, %function
stb_vorbis_get_frame_float:
.LFB96:
.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]
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 x0, [sp, 40]
ldrb w0, [x0, 92]
cmp w0, 0
beq .L1143
mov w1, 2
ldr x0, [sp, 40]
bl error
b .L1150
.L1143:
add x2, sp, 60
add x1, sp, 64
add x0, sp, 56
mov x3, x2
mov x2, x1
mov x1, x0
ldr x0, [sp, 40]
bl vorbis_decode_packet
cmp w0, 0
bne .L1145
ldr x0, [sp, 40]
str wzr, [x0, 1896]
ldr x0, [sp, 40]
ldr w1, [x0, 1896]
ldr x0, [sp, 40]
str w1, [x0, 1892]
mov w0, 0
b .L1150
.L1145:
ldr w0, [sp, 56]
ldr w1, [sp, 64]
ldr w2, [sp, 60]
mov w3, w2
mov w2, w1
mov w1, w0
ldr x0, [sp, 40]
bl vorbis_finish_frame
str w0, [sp, 56]
str wzr, [sp, 68]
b .L1146
.L1147:
ldr x1, [sp, 40]
ldrsw x0, [sp, 68]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0, 8]
ldr w0, [sp, 64]
sxtw x0, w0
lsl x0, x0, 2
add x1, x1, x0
ldr x2, [sp, 40]
ldrsw x0, [sp, 68]
add x0, x0, 126
lsl x0, x0, 3
add x0, x2, x0
str x1, [x0, 8]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L1146:
ldr x0, [sp, 40]
ldr w0, [x0, 4]
ldr w1, [sp, 68]
cmp w1, w0
blt .L1147
ldr w1, [sp, 64]
ldr x0, [sp, 40]
str w1, [x0, 1892]
ldr w1, [sp, 64]
ldr w0, [sp, 56]
add w1, w1, w0
ldr x0, [sp, 40]
str w1, [x0, 1896]
ldr x0, [sp, 32]
cmp x0, 0
beq .L1148
ldr x0, [sp, 40]
ldr w1, [x0, 4]
ldr x0, [sp, 32]
str w1, [x0]
.L1148:
ldr x0, [sp, 24]
cmp x0, 0
beq .L1149
ldr x0, [sp, 40]
add x1, x0, 1016
ldr x0, [sp, 24]
str x1, [x0]
.L1149:
ldr w0, [sp, 56]
.L1150:
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 .L1151
bl __stack_chk_fail
.L1151:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE96:
.size stb_vorbis_get_frame_float, .-stb_vorbis_get_frame_float
.align 2
.global stb_vorbis_open_file_section
.type stb_vorbis_open_file_section, %function
stb_vorbis_open_file_section:
.LFB97:
.cfi_startproc
sub sp, sp, #1968
.cfi_def_cfa_offset 1968
stp x29, x30, [sp]
.cfi_offset 29, -1968
.cfi_offset 30, -1960
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str x3, [sp, 16]
str w4, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1960]
mov x1, 0
add x0, sp, 56
ldr x1, [sp, 16]
bl vorbis_init
ldr x0, [sp, 40]
str x0, [sp, 104]
ldr x0, [sp, 40]
bl ftell
str w0, [sp, 112]
ldr w0, [sp, 32]
str w0, [sp, 144]
ldr w0, [sp, 36]
str w0, [sp, 116]
add x0, sp, 56
bl start_decoder
cmp w0, 0
beq .L1153
add x0, sp, 56
bl vorbis_alloc
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L1153
ldr x0, [sp, 48]
mov x3, x0
add x0, sp, 56
mov x1, 1904
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 48]
bl vorbis_pump_first_frame
ldr x0, [sp, 48]
b .L1156
.L1153:
ldr x0, [sp, 24]
cmp x0, 0
beq .L1155
ldr w0, [sp, 212]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
.L1155:
add x0, sp, 56
bl vorbis_deinit
mov x0, 0
.L1156:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1960]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1157
bl __stack_chk_fail
.L1157:
mov x0, x1
ldp x29, x30, [sp]
add sp, sp, 1968
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE97:
.size stb_vorbis_open_file_section, .-stb_vorbis_open_file_section
.align 2
.global stb_vorbis_open_file
.type stb_vorbis_open_file, %function
stb_vorbis_open_file:
.LFB98:
.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 x3, [sp, 16]
ldr x0, [sp, 40]
bl ftell
str w0, [sp, 56]
mov w2, 2
mov x1, 0
ldr x0, [sp, 40]
bl fseek
ldr x0, [sp, 40]
bl ftell
mov w1, w0
ldr w0, [sp, 56]
sub w0, w1, w0
str w0, [sp, 60]
ldr w0, [sp, 56]
mov w2, 0
mov x1, x0
ldr x0, [sp, 40]
bl fseek
ldr w4, [sp, 60]
ldr x3, [sp, 16]
ldr x2, [sp, 24]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl stb_vorbis_open_file_section
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE98:
.size stb_vorbis_open_file, .-stb_vorbis_open_file
.section .rodata
.align 3
.LC28:
.string "rb"
.text
.align 2
.global stb_vorbis_open_filename
.type stb_vorbis_open_filename, %function
stb_vorbis_open_filename:
.LFB99:
.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]
adrp x0, .LC28
add x1, x0, :lo12:.LC28
ldr x0, [sp, 40]
bl fopen
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L1161
ldr x3, [sp, 24]
ldr x2, [sp, 32]
mov w1, 1
ldr x0, [sp, 56]
bl stb_vorbis_open_file
b .L1162
.L1161:
ldr x0, [sp, 32]
cmp x0, 0
beq .L1163
ldr x0, [sp, 32]
mov w1, 6
str w1, [x0]
.L1163:
mov x0, 0
.L1162:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE99:
.size stb_vorbis_open_filename, .-stb_vorbis_open_filename
.align 2
.global stb_vorbis_open_memory
.type stb_vorbis_open_memory, %function
stb_vorbis_open_memory:
.LFB100:
.cfi_startproc
sub sp, sp, #1968
.cfi_def_cfa_offset 1968
stp x29, x30, [sp]
.cfi_offset 29, -1968
.cfi_offset 30, -1960
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str x3, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1960]
mov x1, 0
ldr x0, [sp, 40]
cmp x0, 0
bne .L1165
ldr x0, [sp, 24]
cmp x0, 0
beq .L1166
ldr x0, [sp, 24]
mov w1, 10
str w1, [x0]
.L1166:
mov x0, 0
b .L1171
.L1165:
add x0, sp, 56
ldr x1, [sp, 16]
bl vorbis_init
ldr x0, [sp, 40]
str x0, [sp, 120]
ldrsw x0, [sp, 36]
ldr x1, [sp, 40]
add x0, x1, x0
str x0, [sp, 136]
ldr x0, [sp, 120]
str x0, [sp, 128]
ldr w0, [sp, 36]
str w0, [sp, 144]
strb wzr, [sp, 148]
add x0, sp, 56
bl start_decoder
cmp w0, 0
beq .L1168
add x0, sp, 56
bl vorbis_alloc
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L1168
ldr x0, [sp, 48]
mov x3, x0
add x0, sp, 56
mov x1, 1904
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 48]
bl vorbis_pump_first_frame
ldr x0, [sp, 24]
cmp x0, 0
beq .L1169
ldr x0, [sp, 24]
str wzr, [x0]
.L1169:
ldr x0, [sp, 48]
b .L1171
.L1168:
ldr x0, [sp, 24]
cmp x0, 0
beq .L1170
ldr w0, [sp, 212]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
.L1170:
add x0, sp, 56
bl vorbis_deinit
mov x0, 0
.L1171:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1960]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1172
bl __stack_chk_fail
.L1172:
mov x0, x1
ldp x29, x30, [sp]
add sp, sp, 1968
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE100:
.size stb_vorbis_open_memory, .-stb_vorbis_open_memory
.data
.align 3
.type channel_position, %object
.size channel_position, 42
channel_position:
.string ""
.string ""
.zero 4
.string "\007"
.zero 4
.string "\003\005"
.zero 3
.string "\003\007\005"
.zero 2
.string "\003\005\003\005"
.zero 1
.string "\003\007\005\003\005"
.ascii "\003\007\005\003\005\007"
.text
.align 2
.type copy_samples, %function
copy_samples:
.LFB101:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str x1, [sp, 16]
str w2, [sp, 12]
str wzr, [sp, 40]
b .L1174
.L1178:
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr s0, [x0]
mov w0, 1136656384
fmov s1, w0
fadd s0, s0, s1
str s0, [sp, 32]
ldr w1, [sp, 32]
mov w0, -1136656384
add w0, w1, w0
str w0, [sp, 44]
ldr w0, [sp, 44]
add w0, w0, 32768
mov w1, w0
mov w0, 65535
cmp w1, w0
bls .L1175
ldr w0, [sp, 44]
cmp w0, 0
bge .L1176
mov w0, -32768
b .L1177
.L1176:
mov w0, 32767
.L1177:
str w0, [sp, 44]
.L1175:
ldrsw x0, [sp, 40]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [sp, 44]
sxth w1, w1
strh w1, [x0]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1174:
ldr w1, [sp, 40]
ldr w0, [sp, 12]
cmp w1, w0
blt .L1178
nop
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE101:
.size copy_samples, .-copy_samples
.align 2
.type compute_samples, %function
compute_samples:
.LFB102:
.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 x1, [sp, 32]
str w2, [sp, 40]
str x3, [sp, 24]
str w4, [sp, 20]
str w5, [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
mov w0, 32
str w0, [sp, 64]
str wzr, [sp, 60]
b .L1180
.L1192:
add x0, sp, 72
mov x2, 128
mov w1, 0
bl memset
ldr w1, [sp, 60]
ldr w0, [sp, 64]
add w0, w1, w0
ldr w1, [sp, 16]
cmp w1, w0
bge .L1181
ldr w1, [sp, 16]
ldr w0, [sp, 60]
sub w0, w1, w0
str w0, [sp, 64]
.L1181:
str wzr, [sp, 56]
b .L1182
.L1186:
adrp x0, channel_position
add x3, x0, :lo12:channel_position
ldrsw x2, [sp, 56]
ldrsw x1, [sp, 40]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
ldrsb w0, [x0]
mov w1, w0
ldr w0, [sp, 44]
and w0, w1, w0
cmp w0, 0
beq .L1183
str wzr, [sp, 52]
b .L1184
.L1185:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 72
ldr s1, [x1, x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [x0]
ldr w2, [sp, 20]
ldr w0, [sp, 60]
add w2, w2, w0
ldr w0, [sp, 52]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [x0]
fadd s0, s1, s0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 72
str s0, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1184:
ldr w1, [sp, 52]
ldr w0, [sp, 64]
cmp w1, w0
blt .L1185
.L1183:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L1182:
ldr w1, [sp, 56]
ldr w0, [sp, 40]
cmp w1, w0
blt .L1186
str wzr, [sp, 52]
b .L1187
.L1191:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 72
ldr s0, [x1, x0]
mov w0, 1136656384
fmov s1, w0
fadd s0, s0, s1
str s0, [sp, 48]
ldr w1, [sp, 48]
mov w0, -1136656384
add w0, w1, w0
str w0, [sp, 68]
ldr w0, [sp, 68]
add w0, w0, 32768
mov w1, w0
mov w0, 65535
cmp w1, w0
bls .L1188
ldr w0, [sp, 68]
cmp w0, 0
bge .L1189
mov w0, -32768
b .L1190
.L1189:
mov w0, 32767
.L1190:
str w0, [sp, 68]
.L1188:
ldr w1, [sp, 60]
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 1
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 68]
sxth w1, w1
strh w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1187:
ldr w1, [sp, 52]
ldr w0, [sp, 64]
cmp w1, w0
blt .L1191
ldr w0, [sp, 60]
add w0, w0, 32
str w0, [sp, 60]
.L1180:
ldr w1, [sp, 60]
ldr w0, [sp, 16]
cmp w1, w0
blt .L1192
nop
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 .L1193
bl __stack_chk_fail
.L1193:
ldp x29, x30, [sp], 208
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE102:
.size compute_samples, .-compute_samples
.align 2
.type compute_stereo_samples, %function
compute_stereo_samples:
.LFB103:
.cfi_startproc
stp x29, x30, [sp, -224]!
.cfi_def_cfa_offset 224
.cfi_offset 29, -224
.cfi_offset 30, -216
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str w3, [sp, 32]
str w4, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 216]
mov x1, 0
mov w0, 16
str w0, [sp, 72]
str wzr, [sp, 68]
b .L1195
.L1213:
ldr w0, [sp, 68]
lsl w0, w0, 1
str w0, [sp, 80]
add x0, sp, 88
mov x2, 128
mov w1, 0
bl memset
ldr w1, [sp, 68]
ldr w0, [sp, 72]
add w0, w1, w0
ldr w1, [sp, 20]
cmp w1, w0
bge .L1196
ldr w1, [sp, 20]
ldr w0, [sp, 68]
sub w0, w1, w0
str w0, [sp, 72]
.L1196:
str wzr, [sp, 64]
b .L1197
.L1207:
adrp x0, channel_position
add x3, x0, :lo12:channel_position
ldrsw x2, [sp, 64]
ldrsw x1, [sp, 36]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
ldrsb w0, [x0]
and w0, w0, 255
and w0, w0, 6
str w0, [sp, 84]
ldr w0, [sp, 84]
cmp w0, 6
bne .L1198
str wzr, [sp, 60]
b .L1199
.L1200:
ldr w0, [sp, 60]
lsl w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr s1, [x1, x0]
ldrsw x0, [sp, 64]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [x0]
ldr w2, [sp, 32]
ldr w0, [sp, 68]
add w2, w2, w0
ldr w0, [sp, 60]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [x0]
ldr w0, [sp, 60]
lsl w0, w0, 1
fadd s0, s1, s0
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
str s0, [x1, x0]
ldr w0, [sp, 60]
lsl w0, w0, 1
add w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr s1, [x1, x0]
ldrsw x0, [sp, 64]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [x0]
ldr w2, [sp, 32]
ldr w0, [sp, 68]
add w2, w2, w0
ldr w0, [sp, 60]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [x0]
ldr w0, [sp, 60]
lsl w0, w0, 1
add w0, w0, 1
fadd s0, s1, s0
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
str s0, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1199:
ldr w1, [sp, 60]
ldr w0, [sp, 72]
cmp w1, w0
blt .L1200
b .L1201
.L1198:
ldr w0, [sp, 84]
cmp w0, 2
bne .L1202
str wzr, [sp, 60]
b .L1203
.L1204:
ldr w0, [sp, 60]
lsl w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr s1, [x1, x0]
ldrsw x0, [sp, 64]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [x0]
ldr w2, [sp, 32]
ldr w0, [sp, 68]
add w2, w2, w0
ldr w0, [sp, 60]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [x0]
ldr w0, [sp, 60]
lsl w0, w0, 1
fadd s0, s1, s0
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
str s0, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1203:
ldr w1, [sp, 60]
ldr w0, [sp, 72]
cmp w1, w0
blt .L1204
b .L1201
.L1202:
ldr w0, [sp, 84]
cmp w0, 4
bne .L1201
str wzr, [sp, 60]
b .L1205
.L1206:
ldr w0, [sp, 60]
lsl w0, w0, 1
add w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr s1, [x1, x0]
ldrsw x0, [sp, 64]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [x0]
ldr w2, [sp, 32]
ldr w0, [sp, 68]
add w2, w2, w0
ldr w0, [sp, 60]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [x0]
ldr w0, [sp, 60]
lsl w0, w0, 1
add w0, w0, 1
fadd s0, s1, s0
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
str s0, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1205:
ldr w1, [sp, 60]
ldr w0, [sp, 72]
cmp w1, w0
blt .L1206
.L1201:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L1197:
ldr w1, [sp, 64]
ldr w0, [sp, 36]
cmp w1, w0
blt .L1207
str wzr, [sp, 60]
b .L1208
.L1212:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 88
ldr s0, [x1, x0]
mov w0, 1136656384
fmov s1, w0
fadd s0, s0, s1
str s0, [sp, 56]
ldr w1, [sp, 56]
mov w0, -1136656384
add w0, w1, w0
str w0, [sp, 76]
ldr w0, [sp, 76]
add w0, w0, 32768
mov w1, w0
mov w0, 65535
cmp w1, w0
bls .L1209
ldr w0, [sp, 76]
cmp w0, 0
bge .L1210
mov w0, -32768
b .L1211
.L1210:
mov w0, 32767
.L1211:
str w0, [sp, 76]
.L1209:
ldr w1, [sp, 80]
ldr w0, [sp, 60]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 1
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 76]
sxth w1, w1
strh w1, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1208:
ldr w0, [sp, 72]
lsl w0, w0, 1
ldr w1, [sp, 60]
cmp w1, w0
blt .L1212
ldr w0, [sp, 68]
add w0, w0, 16
str w0, [sp, 68]
.L1195:
ldr w1, [sp, 68]
ldr w0, [sp, 20]
cmp w1, w0
blt .L1213
nop
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 .L1214
bl __stack_chk_fail
.L1214:
ldp x29, x30, [sp], 224
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE103:
.size compute_stereo_samples, .-compute_stereo_samples
.align 2
.type convert_samples_short, %function
convert_samples_short:
.LFB104:
.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 w3, [sp, 44]
str x4, [sp, 32]
str w5, [sp, 40]
str w6, [sp, 28]
ldr w1, [sp, 60]
ldr w0, [sp, 44]
cmp w1, w0
beq .L1216
ldr w0, [sp, 60]
cmp w0, 2
bgt .L1216
ldr w0, [sp, 44]
cmp w0, 6
bgt .L1216
str wzr, [sp, 72]
b .L1217
.L1218:
adrp x0, channel_selector.1
add x0, x0, :lo12:channel_selector.1
ldrsw x1, [sp, 72]
ldrsw x2, [sp, 60]
lsl x2, x2, 1
add x1, x2, x1
ldr w6, [x0, x1, lsl 2]
ldrsw x0, [sp, 72]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 1
add x0, x1, x0
ldr w5, [sp, 28]
ldr w4, [sp, 40]
ldr x3, [sp, 32]
ldr w2, [sp, 44]
mov x1, x0
mov w0, w6
bl compute_samples
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L1217:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
blt .L1218
b .L1219
.L1216:
ldr w0, [sp, 60]
ldr w2, [sp, 44]
ldr w1, [sp, 44]
cmp w2, w0
csel w0, w1, w0, le
str w0, [sp, 76]
str wzr, [sp, 72]
b .L1220
.L1221:
ldrsw x0, [sp, 72]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 1
add x3, x1, x0
ldrsw x0, [sp, 72]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
add x0, x1, x0
ldr w2, [sp, 28]
mov x1, x0
mov x0, x3
bl copy_samples
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L1220:
ldr w1, [sp, 72]
ldr w0, [sp, 76]
cmp w1, w0
blt .L1221
b .L1222
.L1223:
ldrsw x0, [sp, 72]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 1
add x3, x1, x0
ldrsw x0, [sp, 28]
lsl x0, x0, 1
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L1222:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
blt .L1223
nop
.L1219:
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE104:
.size convert_samples_short, .-convert_samples_short
.align 2
.global stb_vorbis_get_frame_short
.type stb_vorbis_get_frame_short, %function
stb_vorbis_get_frame_short:
.LFB105:
.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 x2, [sp, 24]
str w3, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
str xzr, [sp, 64]
add x0, sp, 64
mov x2, x0
mov x1, 0
ldr x0, [sp, 40]
bl stb_vorbis_get_frame_float
str w0, [sp, 60]
ldr w1, [sp, 60]
ldr w0, [sp, 32]
cmp w1, w0
ble .L1225
ldr w0, [sp, 32]
str w0, [sp, 60]
.L1225:
ldr w0, [sp, 60]
cmp w0, 0
beq .L1226
ldr x0, [sp, 40]
ldr w0, [x0, 4]
ldr x1, [sp, 64]
ldr w6, [sp, 60]
mov w5, 0
mov x4, x1
mov w3, w0
mov w2, 0
ldr x1, [sp, 24]
ldr w0, [sp, 36]
bl convert_samples_short
.L1226:
ldr w0, [sp, 60]
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 .L1228
bl __stack_chk_fail
.L1228:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE105:
.size stb_vorbis_get_frame_short, .-stb_vorbis_get_frame_short
.section .rodata
.align 3
.LC29:
.string "buf_c == 2"
.text
.align 2
.type convert_channels_short_interleaved, %function
convert_channels_short_interleaved:
.LFB106:
.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, 44]
str x1, [sp, 32]
str w2, [sp, 40]
str x3, [sp, 24]
str w4, [sp, 20]
str w5, [sp, 16]
ldr w1, [sp, 44]
ldr w0, [sp, 40]
cmp w1, w0
beq .L1230
ldr w0, [sp, 44]
cmp w0, 2
bgt .L1230
ldr w0, [sp, 40]
cmp w0, 6
bgt .L1230
ldr w0, [sp, 44]
cmp w0, 2
beq .L1231
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 5275
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC29
add x0, x0, :lo12:.LC29
bl __assert_fail
.L1231:
str wzr, [sp, 60]
b .L1232
.L1233:
ldr w4, [sp, 16]
ldr w3, [sp, 20]
ldr x2, [sp, 24]
ldr w1, [sp, 40]
ldr x0, [sp, 32]
bl compute_stereo_samples
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1232:
ldr w1, [sp, 60]
ldr w0, [sp, 44]
cmp w1, w0
blt .L1233
b .L1234
.L1230:
ldr w0, [sp, 44]
ldr w2, [sp, 40]
ldr w1, [sp, 40]
cmp w2, w0
csel w0, w1, w0, le
str w0, [sp, 72]
str wzr, [sp, 64]
b .L1235
.L1243:
str wzr, [sp, 60]
b .L1236
.L1240:
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [x0]
ldr w2, [sp, 20]
ldr w0, [sp, 64]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 76]
ldr s0, [sp, 76]
mov w0, 1136656384
fmov s1, w0
fadd s0, s0, s1
str s0, [sp, 56]
ldr w1, [sp, 56]
mov w0, -1136656384
add w0, w1, w0
str w0, [sp, 68]
ldr w0, [sp, 68]
add w0, w0, 32768
mov w1, w0
mov w0, 65535
cmp w1, w0
bls .L1237
ldr w0, [sp, 68]
cmp w0, 0
bge .L1238
mov w0, -32768
b .L1239
.L1238:
mov w0, 32767
.L1239:
str w0, [sp, 68]
.L1237:
ldr x0, [sp, 32]
add x1, x0, 2
str x1, [sp, 32]
ldr w1, [sp, 68]
sxth w1, w1
strh w1, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1236:
ldr w1, [sp, 60]
ldr w0, [sp, 72]
cmp w1, w0
blt .L1240
b .L1241
.L1242:
ldr x0, [sp, 32]
add x1, x0, 2
str x1, [sp, 32]
strh wzr, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1241:
ldr w1, [sp, 60]
ldr w0, [sp, 44]
cmp w1, w0
blt .L1242
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L1235:
ldr w1, [sp, 64]
ldr w0, [sp, 16]
cmp w1, w0
blt .L1243
nop
.L1234:
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE106:
.size convert_channels_short_interleaved, .-convert_channels_short_interleaved
.align 2
.global stb_vorbis_get_frame_short_interleaved
.type stb_vorbis_get_frame_short_interleaved, %function
stb_vorbis_get_frame_short_interleaved:
.LFB107:
.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 x2, [sp, 24]
str w3, [sp, 32]
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, 36]
cmp w0, 1
bne .L1245
add x0, sp, 24
ldr w3, [sp, 32]
mov x2, x0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl stb_vorbis_get_frame_short
b .L1249
.L1245:
add x0, sp, 64
mov x2, x0
mov x1, 0
ldr x0, [sp, 40]
bl stb_vorbis_get_frame_float
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L1247
ldr w1, [sp, 60]
ldr w0, [sp, 36]
mul w0, w1, w0
ldr w1, [sp, 32]
cmp w1, w0
bge .L1248
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sdiv w0, w1, w0
str w0, [sp, 60]
.L1248:
ldr x1, [sp, 24]
ldr x0, [sp, 40]
ldr w0, [x0, 4]
ldr x2, [sp, 64]
ldr w5, [sp, 60]
mov w4, 0
mov x3, x2
mov w2, w0
ldr w0, [sp, 36]
bl convert_channels_short_interleaved
.L1247:
ldr w0, [sp, 60]
.L1249:
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 .L1250
bl __stack_chk_fail
.L1250:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE107:
.size stb_vorbis_get_frame_short_interleaved, .-stb_vorbis_get_frame_short_interleaved
.align 2
.global stb_vorbis_get_samples_short_interleaved
.type stb_vorbis_get_samples_short_interleaved, %function
stb_vorbis_get_samples_short_interleaved:
.LFB108:
.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 x2, [sp, 24]
str w3, [sp, 32]
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 w1, [sp, 32]
ldr w0, [sp, 36]
sdiv w0, w1, w0
str w0, [sp, 60]
str wzr, [sp, 52]
b .L1252
.L1257:
ldr x0, [sp, 40]
ldr w1, [x0, 1896]
ldr x0, [sp, 40]
ldr w0, [x0, 1892]
sub w0, w1, w0
str w0, [sp, 56]
ldr w1, [sp, 52]
ldr w0, [sp, 56]
add w0, w1, w0
ldr w1, [sp, 60]
cmp w1, w0
bgt .L1253
ldr w1, [sp, 60]
ldr w0, [sp, 52]
sub w0, w1, w0
str w0, [sp, 56]
.L1253:
ldr w0, [sp, 56]
cmp w0, 0
beq .L1254
ldr x0, [sp, 40]
ldr w1, [x0, 4]
ldr x0, [sp, 40]
add x2, x0, 888
ldr x0, [sp, 40]
ldr w0, [x0, 1892]
ldr w5, [sp, 56]
mov w4, w0
mov x3, x2
mov w2, w1
ldr x1, [sp, 24]
ldr w0, [sp, 36]
bl convert_channels_short_interleaved
.L1254:
ldr w1, [sp, 56]
ldr w0, [sp, 36]
mul w0, w1, w0
sxtw x0, w0
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
str x0, [sp, 24]
ldr w1, [sp, 52]
ldr w0, [sp, 56]
add w0, w1, w0
str w0, [sp, 52]
ldr x0, [sp, 40]
ldr w1, [x0, 1892]
ldr w0, [sp, 56]
add w1, w1, w0
ldr x0, [sp, 40]
str w1, [x0, 1892]
ldr w1, [sp, 52]
ldr w0, [sp, 60]
cmp w1, w0
beq .L1260
add x0, sp, 64
mov x2, x0
mov x1, 0
ldr x0, [sp, 40]
bl stb_vorbis_get_frame_float
cmp w0, 0
beq .L1261
.L1252:
ldr w1, [sp, 52]
ldr w0, [sp, 60]
cmp w1, w0
blt .L1257
b .L1256
.L1260:
nop
b .L1256
.L1261:
nop
.L1256:
ldr w0, [sp, 52]
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 .L1259
bl __stack_chk_fail
.L1259:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE108:
.size stb_vorbis_get_samples_short_interleaved, .-stb_vorbis_get_samples_short_interleaved
.align 2
.global stb_vorbis_get_samples_short
.type stb_vorbis_get_samples_short, %function
stb_vorbis_get_samples_short:
.LFB109:
.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 x2, [sp, 24]
str w3, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
str wzr, [sp, 56]
b .L1263
.L1268:
ldr x0, [sp, 40]
ldr w1, [x0, 1896]
ldr x0, [sp, 40]
ldr w0, [x0, 1892]
sub w0, w1, w0
str w0, [sp, 60]
ldr w1, [sp, 56]
ldr w0, [sp, 60]
add w0, w1, w0
ldr w1, [sp, 32]
cmp w1, w0
bgt .L1264
ldr w1, [sp, 32]
ldr w0, [sp, 56]
sub w0, w1, w0
str w0, [sp, 60]
.L1264:
ldr w0, [sp, 60]
cmp w0, 0
beq .L1265
ldr x0, [sp, 40]
ldr w1, [x0, 4]
ldr x0, [sp, 40]
add x2, x0, 888
ldr x0, [sp, 40]
ldr w0, [x0, 1892]
ldr w6, [sp, 60]
mov w5, w0
mov x4, x2
mov w3, w1
ldr w2, [sp, 56]
ldr x1, [sp, 24]
ldr w0, [sp, 36]
bl convert_samples_short
.L1265:
ldr w1, [sp, 56]
ldr w0, [sp, 60]
add w0, w1, w0
str w0, [sp, 56]
ldr x0, [sp, 40]
ldr w1, [x0, 1892]
ldr w0, [sp, 60]
add w1, w1, w0
ldr x0, [sp, 40]
str w1, [x0, 1892]
ldr w1, [sp, 56]
ldr w0, [sp, 32]
cmp w1, w0
beq .L1271
add x0, sp, 64
mov x2, x0
mov x1, 0
ldr x0, [sp, 40]
bl stb_vorbis_get_frame_float
cmp w0, 0
beq .L1272
.L1263:
ldr w1, [sp, 56]
ldr w0, [sp, 32]
cmp w1, w0
blt .L1268
b .L1267
.L1271:
nop
b .L1267
.L1272:
nop
.L1267:
ldr w0, [sp, 56]
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 .L1270
bl __stack_chk_fail
.L1270:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE109:
.size stb_vorbis_get_samples_short, .-stb_vorbis_get_samples_short
.align 2
.global stb_vorbis_decode_filename
.type stb_vorbis_decode_filename, %function
stb_vorbis_decode_filename:
.LFB110:
.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, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [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
add x0, sp, 56
mov x2, 0
mov x1, x0
ldr x0, [sp, 40]
bl stb_vorbis_open_filename
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
bne .L1274
mov w0, -1
b .L1282
.L1274:
ldr x0, [sp, 88]
ldr w0, [x0, 4]
lsl w0, w0, 12
str w0, [sp, 72]
ldr x0, [sp, 88]
ldr w1, [x0, 4]
ldr x0, [sp, 32]
str w1, [x0]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1276
ldr x0, [sp, 88]
ldr w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
.L1276:
str wzr, [sp, 60]
ldr w0, [sp, 60]
str w0, [sp, 64]
ldr w0, [sp, 72]
str w0, [sp, 68]
ldrsw x0, [sp, 68]
lsl x0, x0, 1
bl malloc
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L1277
ldr x0, [sp, 88]
bl stb_vorbis_close
mov w0, -2
b .L1282
.L1277:
ldr x0, [sp, 88]
ldr w4, [x0, 4]
ldrsw x0, [sp, 64]
lsl x0, x0, 1
ldr x1, [sp, 80]
add x2, x1, x0
ldr w1, [sp, 68]
ldr w0, [sp, 64]
sub w0, w1, w0
mov w3, w0
mov w1, w4
ldr x0, [sp, 88]
bl stb_vorbis_get_frame_short_interleaved
str w0, [sp, 76]
ldr w0, [sp, 76]
cmp w0, 0
beq .L1285
ldr w1, [sp, 60]
ldr w0, [sp, 76]
add w0, w1, w0
str w0, [sp, 60]
ldr x0, [sp, 88]
ldr w1, [x0, 4]
ldr w0, [sp, 76]
mul w0, w1, w0
ldr w1, [sp, 64]
add w0, w1, w0
str w0, [sp, 64]
ldr w1, [sp, 64]
ldr w0, [sp, 72]
add w0, w1, w0
ldr w1, [sp, 68]
cmp w1, w0
bge .L1277
ldr w0, [sp, 68]
lsl w0, w0, 1
str w0, [sp, 68]
ldrsw x0, [sp, 68]
lsl x0, x0, 1
mov x1, x0
ldr x0, [sp, 80]
bl realloc
str x0, [sp, 96]
ldr x0, [sp, 96]
cmp x0, 0
bne .L1281
ldr x0, [sp, 80]
bl free
ldr x0, [sp, 88]
bl stb_vorbis_close
mov w0, -2
b .L1282
.L1281:
ldr x0, [sp, 96]
str x0, [sp, 80]
b .L1277
.L1285:
nop
ldr x0, [sp, 16]
ldr x1, [sp, 80]
str x1, [x0]
ldr x0, [sp, 88]
bl stb_vorbis_close
ldr w0, [sp, 60]
.L1282:
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 .L1283
bl __stack_chk_fail
.L1283:
mov w0, w1
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE110:
.size stb_vorbis_decode_filename, .-stb_vorbis_decode_filename
.align 2
.global stb_vorbis_decode_memory
.type stb_vorbis_decode_memory, %function
stb_vorbis_decode_memory:
.LFB111:
.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 w1, [sp, 52]
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, 120]
mov x1, 0
add x0, sp, 72
mov x3, 0
mov x2, x0
ldr w1, [sp, 52]
ldr x0, [sp, 56]
bl stb_vorbis_open_memory
str x0, [sp, 104]
ldr x0, [sp, 104]
cmp x0, 0
bne .L1287
mov w0, -1
b .L1295
.L1287:
ldr x0, [sp, 104]
ldr w0, [x0, 4]
lsl w0, w0, 12
str w0, [sp, 88]
ldr x0, [sp, 104]
ldr w1, [x0, 4]
ldr x0, [sp, 40]
str w1, [x0]
ldr x0, [sp, 32]
cmp x0, 0
beq .L1289
ldr x0, [sp, 104]
ldr w0, [x0]
mov w1, w0
ldr x0, [sp, 32]
str w1, [x0]
.L1289:
str wzr, [sp, 76]
ldr w0, [sp, 76]
str w0, [sp, 80]
ldr w0, [sp, 88]
str w0, [sp, 84]
ldrsw x0, [sp, 84]
lsl x0, x0, 1
bl malloc
str x0, [sp, 96]
ldr x0, [sp, 96]
cmp x0, 0
bne .L1290
ldr x0, [sp, 104]
bl stb_vorbis_close
mov w0, -2
b .L1295
.L1290:
ldr x0, [sp, 104]
ldr w4, [x0, 4]
ldrsw x0, [sp, 80]
lsl x0, x0, 1
ldr x1, [sp, 96]
add x2, x1, x0
ldr w1, [sp, 84]
ldr w0, [sp, 80]
sub w0, w1, w0
mov w3, w0
mov w1, w4
ldr x0, [sp, 104]
bl stb_vorbis_get_frame_short_interleaved
str w0, [sp, 92]
ldr w0, [sp, 92]
cmp w0, 0
beq .L1298
ldr w1, [sp, 76]
ldr w0, [sp, 92]
add w0, w1, w0
str w0, [sp, 76]
ldr x0, [sp, 104]
ldr w1, [x0, 4]
ldr w0, [sp, 92]
mul w0, w1, w0
ldr w1, [sp, 80]
add w0, w1, w0
str w0, [sp, 80]
ldr w1, [sp, 80]
ldr w0, [sp, 88]
add w0, w1, w0
ldr w1, [sp, 84]
cmp w1, w0
bge .L1290
ldr w0, [sp, 84]
lsl w0, w0, 1
str w0, [sp, 84]
ldrsw x0, [sp, 84]
lsl x0, x0, 1
mov x1, x0
ldr x0, [sp, 96]
bl realloc
str x0, [sp, 112]
ldr x0, [sp, 112]
cmp x0, 0
bne .L1294
ldr x0, [sp, 96]
bl free
ldr x0, [sp, 104]
bl stb_vorbis_close
mov w0, -2
b .L1295
.L1294:
ldr x0, [sp, 112]
str x0, [sp, 96]
b .L1290
.L1298:
nop
ldr x0, [sp, 24]
ldr x1, [sp, 96]
str x1, [x0]
ldr x0, [sp, 104]
bl stb_vorbis_close
ldr w0, [sp, 76]
.L1295:
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 .L1296
bl __stack_chk_fail
.L1296:
mov w0, w1
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE111:
.size stb_vorbis_decode_memory, .-stb_vorbis_decode_memory
.align 2
.global stb_vorbis_get_samples_float_interleaved
.type stb_vorbis_get_samples_float_interleaved, %function
stb_vorbis_get_samples_float_interleaved:
.LFB112:
.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]
str w3, [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
ldr w1, [sp, 32]
ldr w0, [sp, 36]
sdiv w0, w1, w0
str w0, [sp, 76]
str wzr, [sp, 56]
ldr x0, [sp, 40]
ldr w0, [x0, 4]
str w0, [sp, 60]
ldr w1, [sp, 60]
ldr w0, [sp, 36]
cmp w1, w0
ble .L1301
ldr w0, [sp, 36]
str w0, [sp, 60]
b .L1301
.L1311:
ldr x0, [sp, 40]
ldr w1, [x0, 1896]
ldr x0, [sp, 40]
ldr w0, [x0, 1892]
sub w0, w1, w0
str w0, [sp, 72]
ldr w1, [sp, 56]
ldr w0, [sp, 72]
add w0, w1, w0
ldr w1, [sp, 76]
cmp w1, w0
bgt .L1302
ldr w1, [sp, 76]
ldr w0, [sp, 56]
sub w0, w1, w0
str w0, [sp, 72]
.L1302:
str wzr, [sp, 68]
b .L1303
.L1308:
str wzr, [sp, 64]
b .L1304
.L1305:
ldr x1, [sp, 40]
ldrsw x0, [sp, 64]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0, 8]
ldr x0, [sp, 40]
ldr w2, [x0, 1892]
ldr w0, [sp, 68]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x1, x1, x0
ldr x0, [sp, 24]
add x2, x0, 4
str x2, [sp, 24]
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L1304:
ldr w1, [sp, 64]
ldr w0, [sp, 60]
cmp w1, w0
blt .L1305
b .L1306
.L1307:
ldr x0, [sp, 24]
add x1, x0, 4
str x1, [sp, 24]
str wzr, [x0]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L1306:
ldr w1, [sp, 64]
ldr w0, [sp, 36]
cmp w1, w0
blt .L1307
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L1303:
ldr w1, [sp, 68]
ldr w0, [sp, 72]
cmp w1, w0
blt .L1308
ldr w1, [sp, 56]
ldr w0, [sp, 72]
add w0, w1, w0
str w0, [sp, 56]
ldr x0, [sp, 40]
ldr w1, [x0, 1892]
ldr w0, [sp, 72]
add w1, w1, w0
ldr x0, [sp, 40]
str w1, [x0, 1892]
ldr w1, [sp, 56]
ldr w0, [sp, 76]
cmp w1, w0
beq .L1314
add x0, sp, 80
mov x2, x0
mov x1, 0
ldr x0, [sp, 40]
bl stb_vorbis_get_frame_float
cmp w0, 0
beq .L1315
.L1301:
ldr w1, [sp, 56]
ldr w0, [sp, 76]
cmp w1, w0
blt .L1311
b .L1310
.L1314:
nop
b .L1310
.L1315:
nop
.L1310:
ldr w0, [sp, 56]
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 .L1313
bl __stack_chk_fail
.L1313:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE112:
.size stb_vorbis_get_samples_float_interleaved, .-stb_vorbis_get_samples_float_interleaved
.align 2
.global stb_vorbis_get_samples_float
.type stb_vorbis_get_samples_float, %function
stb_vorbis_get_samples_float:
.LFB113:
.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 x2, [sp, 24]
str w3, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
str wzr, [sp, 48]
ldr x0, [sp, 40]
ldr w0, [x0, 4]
str w0, [sp, 52]
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
ble .L1318
ldr w0, [sp, 36]
str w0, [sp, 52]
b .L1318
.L1327:
ldr x0, [sp, 40]
ldr w1, [x0, 1896]
ldr x0, [sp, 40]
ldr w0, [x0, 1892]
sub w0, w1, w0
str w0, [sp, 60]
ldr w1, [sp, 48]
ldr w0, [sp, 60]
add w0, w1, w0
ldr w1, [sp, 32]
cmp w1, w0
bgt .L1319
ldr w1, [sp, 32]
ldr w0, [sp, 48]
sub w0, w1, w0
str w0, [sp, 60]
.L1319:
ldr w0, [sp, 60]
cmp w0, 0
beq .L1320
str wzr, [sp, 56]
b .L1321
.L1322:
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 2
add x3, x1, x0
ldr x1, [sp, 40]
ldrsw x0, [sp, 56]
add x0, x0, 110
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 1892]
sxtw x0, w0
lsl x0, x0, 2
add x1, x1, x0
ldrsw x0, [sp, 60]
lsl x0, x0, 2
mov x2, x0
mov x0, x3
bl memcpy
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L1321:
ldr w1, [sp, 56]
ldr w0, [sp, 52]
cmp w1, w0
blt .L1322
b .L1323
.L1324:
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 2
add x3, x1, x0
ldrsw x0, [sp, 60]
lsl x0, x0, 2
mov x2, x0
mov w1, 0
mov x0, x3
bl memset
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L1323:
ldr w1, [sp, 56]
ldr w0, [sp, 36]
cmp w1, w0
blt .L1324
.L1320:
ldr w1, [sp, 48]
ldr w0, [sp, 60]
add w0, w1, w0
str w0, [sp, 48]
ldr x0, [sp, 40]
ldr w1, [x0, 1892]
ldr w0, [sp, 60]
add w1, w1, w0
ldr x0, [sp, 40]
str w1, [x0, 1892]
ldr w1, [sp, 48]
ldr w0, [sp, 32]
cmp w1, w0
beq .L1330
add x0, sp, 64
mov x2, x0
mov x1, 0
ldr x0, [sp, 40]
bl stb_vorbis_get_frame_float
cmp w0, 0
beq .L1331
.L1318:
ldr w1, [sp, 48]
ldr w0, [sp, 32]
cmp w1, w0
blt .L1327
b .L1326
.L1330:
nop
b .L1326
.L1331:
nop
.L1326:
ldr w0, [sp, 48]
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 .L1329
bl __stack_chk_fail
.L1329:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE113:
.size stb_vorbis_get_samples_float, .-stb_vorbis_get_samples_float
.data
.align 3
.type log2_4.21, %object
.size log2_4.21, 16
log2_4.21:
.string ""
.ascii "\001\002\002\003\003\003\003\004\004\004\004\004\004\004\004"
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.20, %object
.size __PRETTY_FUNCTION__.20, 18
__PRETTY_FUNCTION__.20:
.string "compute_codewords"
.align 3
.type __PRETTY_FUNCTION__.19, %object
.size __PRETTY_FUNCTION__.19, 16
__PRETTY_FUNCTION__.19:
.string "include_in_sort"
.align 3
.type __PRETTY_FUNCTION__.18, %object
.size __PRETTY_FUNCTION__.18, 23
__PRETTY_FUNCTION__.18:
.string "compute_sorted_huffman"
.data
.align 3
.type vorbis.17, %object
.size vorbis.17, 6
vorbis.17:
.ascii "vorbis"
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.16, %object
.size __PRETTY_FUNCTION__.16, 13
__PRETTY_FUNCTION__.16:
.string "next_segment"
.align 3
.type __PRETTY_FUNCTION__.15, %object
.size __PRETTY_FUNCTION__.15, 16
__PRETTY_FUNCTION__.15:
.string "get8_packet_raw"
.align 3
.type __PRETTY_FUNCTION__.14, %object
.size __PRETTY_FUNCTION__.14, 9
__PRETTY_FUNCTION__.14:
.string "get_bits"
.align 3
.type __PRETTY_FUNCTION__.13, %object
.size __PRETTY_FUNCTION__.13, 27
__PRETTY_FUNCTION__.13:
.string "codebook_decode_scalar_raw"
.align 3
.type __PRETTY_FUNCTION__.12, %object
.size __PRETTY_FUNCTION__.12, 22
__PRETTY_FUNCTION__.12:
.string "codebook_decode_start"
.align 3
.type __PRETTY_FUNCTION__.11, %object
.size __PRETTY_FUNCTION__.11, 36
__PRETTY_FUNCTION__.11:
.string "codebook_decode_deinterleave_repeat"
.align 3
.type __PRETTY_FUNCTION__.10, %object
.size __PRETTY_FUNCTION__.10, 23
__PRETTY_FUNCTION__.10:
.string "imdct_step3_iter0_loop"
.align 3
.type __PRETTY_FUNCTION__.9, %object
.size __PRETTY_FUNCTION__.9, 13
__PRETTY_FUNCTION__.9:
.string "inverse_mdct"
.align 3
.type __PRETTY_FUNCTION__.8, %object
.size __PRETTY_FUNCTION__.8, 22
__PRETTY_FUNCTION__.8:
.string "vorbis_decode_initial"
.data
.align 3
.type range_list.7, %object
.size range_list.7, 16
range_list.7:
.word 256
.word 128
.word 86
.word 64
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.6, %object
.size __PRETTY_FUNCTION__.6, 26
__PRETTY_FUNCTION__.6:
.string "vorbis_decode_packet_rest"
.align 3
.type __PRETTY_FUNCTION__.5, %object
.size __PRETTY_FUNCTION__.5, 14
__PRETTY_FUNCTION__.5:
.string "start_decoder"
.align 3
.type __PRETTY_FUNCTION__.4, %object
.size __PRETTY_FUNCTION__.4, 22
__PRETTY_FUNCTION__.4:
.string "seek_to_sample_coarse"
.align 3
.type __PRETTY_FUNCTION__.3, %object
.size __PRETTY_FUNCTION__.3, 22
__PRETTY_FUNCTION__.3:
.string "stb_vorbis_seek_frame"
.align 3
.type __PRETTY_FUNCTION__.2, %object
.size __PRETTY_FUNCTION__.2, 16
__PRETTY_FUNCTION__.2:
.string "stb_vorbis_seek"
.data
.align 3
.type channel_selector.1, %object
.size channel_selector.1, 24
channel_selector.1:
.word 0
.zero 4
.word 1
.zero 4
.word 2
.word 4
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.0, %object
.size __PRETTY_FUNCTION__.0, 35
__PRETTY_FUNCTION__.0:
.string "convert_channels_short_interleaved"
.align 3
.LC8:
.word 1413754136
.word 1074340347
.align 3
.LC9:
.word 1413754136
.word 1073291771
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC1:
.string "Hello, my name is %s\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 x1, x0, :lo12:.LC0
add x0, sp, 24
ldr x2, [x1]
str x2, [x0]
ldr w1, [x1, 8]
str w1, [x0, 8]
add x0, sp, 24
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 24
bl strlen
sub w0, w0, #1
str w0, [sp, 20]
b .L2
.L3:
ldrsw x0, [sp, 20]
add x1, sp, 24
ldrb w0, [x1, x0]
bl putchar
ldr w0, [sp, 20]
sub w0, w0, #1
str w0, [sp, 20]
.L2:
ldr w0, [sp, 20]
cmp w0, 0
bge .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
.section .rodata
.align 3
.LC0:
.string "Marti Serra"
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global ft_range
.type ft_range, %function
ft_range:
.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]
str w1, [sp, 24]
str wzr, [sp, 32]
ldr w1, [sp, 24]
ldr w0, [sp, 28]
sub w0, w1, w0
sub w0, w0, #1
str w0, [sp, 36]
ldr w1, [sp, 28]
ldr w0, [sp, 24]
cmp w1, w0
bge .L2
ldrsw x0, [sp, 36]
lsl x0, x0, 2
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L5
.L2:
mov x0, 0
b .L4
.L6:
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w2, [sp, 28]
ldr w1, [sp, 32]
add w1, w2, w1
str w1, [x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L5:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
cmp w1, w0
ble .L6
ldr x0, [sp, 40]
.L4:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size ft_range, .-ft_range
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global f
.type f, %function
f:
.LFB0:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE0:
.size f, .-f
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global test_vbslp8
.type test_vbslp8, %function
test_vbslp8:
.LFB4340:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
ldr d0, [sp, 8]
str d0, [sp, 40]
ldr d0, [sp, 16]
str d0, [sp, 48]
ldr d0, [sp, 24]
str d0, [sp, 56]
ldr d1, [sp, 40]
ldr d2, [sp, 48]
ldr d0, [sp, 56]
bit v0.8b, v2.8b, v1.8b
str d0, [sp, 32]
nop
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4340:
.size test_vbslp8, .-test_vbslp8
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type y.0, %function
y.0:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
.cfi_def_cfa_register 29
str w0, [x29, 28]
mov x0, x18
str x18, [x29, 16]
adrp x1, .L2
add x1, x1, :lo12:.L2
str x1, [x29, 40]
ldr w1, [x29, 28]
cmn w1, #1
beq .L6
ldr w1, [x29, 28]
cmp w1, 0
bne .L2
adrp x1, .L5
add x1, x1, :lo12:.L5
ldr x2, [x0]
ldr x0, [x0, 8]
mov sp, x0
mov x29, x2
br x1
.L6:
nop
.L2:
ldr w1, [x29, 28]
sub w1, w1, #1
mov x18, x0
mov w0, w1
bl y.0
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE1:
.size y.0, .-y.0
.align 2
.global x
.type x, %function
x:
.LFB0:
.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]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
stp x27, x28, [sp, 80]
stp d8, d9, [sp, 96]
stp d10, d11, [sp, 112]
stp d12, d13, [sp, 128]
stp d14, d15, [sp, 144]
.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 27, -144
.cfi_offset 28, -136
.cfi_offset 72, -128
.cfi_offset 73, -120
.cfi_offset 74, -112
.cfi_offset 75, -104
.cfi_offset 76, -96
.cfi_offset 77, -88
.cfi_offset 78, -80
.cfi_offset 79, -72
str w0, [sp, 172]
str x29, [sp, 184]
mov x0, sp
str x0, [sp, 192]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 216]
mov x1, 0
add x0, sp, 224
str x0, [sp, 208]
add x0, sp, 184
mov x18, x0
ldr w0, [sp, 172]
bl y.0
b .L8
.L5:
.L8:
ldr w0, [sp, 172]
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 216]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L10
bl __stack_chk_fail
.L10:
mov w0, w1
ldp d8, d9, [sp, 96]
ldp d10, d11, [sp, 112]
ldp d12, d13, [sp, 128]
ldp d14, d15, [sp, 144]
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], 224
.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 78
.cfi_restore 79
.cfi_restore 76
.cfi_restore 77
.cfi_restore 74
.cfi_restore 75
.cfi_restore 72
.cfi_restore 73
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size x, .-x
.align 2
.global main
.type main, %function
main:
.LFB2:
.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, 1000
bl x
cmp w0, 1000
beq .L12
bl abort
.L12:
mov w0, 0
bl exit
.cfi_endproc
.LFE2:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.type admin_ingame_png, %object
.size admin_ingame_png, 1067
admin_ingame_png:
.string "\211PNG\r\n\032\n"
.string ""
.string ""
.string "\rIHDR"
.string ""
.string ""
.string "\020"
.string ""
.string ""
.string "\020\b\006"
.string ""
.string ""
.string "\037\363\377a"
.string ""
.string ""
.string "\001sRGB"
.string "\256\316\034\351"
.string ""
.string ""
.string "\006bKGD"
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\371C\273\177"
.string ""
.string ""
.string "\tpHYs"
.string ""
.string "\013\023"
.string ""
.string "\013\023\001"
.string "\232\234\030"
.string ""
.string ""
.string "\007tIME\007\330\004\036\023#5\201\205\034\345"
.string ""
.string ""
.string "\031tEXtComment"
.string "Created with GIMPW\201\016\027"
.string ""
.string "\003\206IDAT8\313}\223[L[u"
.string "\207\177\347RNi\213\364~a\305\023\312EX\313\0068-\216\271\351\30493 j$F\353%YL\226\305d\361\0012C$f\027\324\031\0225N\315^\214/\372d|!\n\3015\3632ZFda\262\226A\323\215KK\333\265\244=\034J/\347\364\374}\361i\211\373\236\277\357\361\243\336<\371\356\210\305\261\007\234\232\003\200\037>\035\035Y\303C\370\340\302\307<"
.string "_\251XB:\021\007\235\023\004\f\r\017c`\240\037"
.string "|\377\t\017\215\007\006\37214<\214\234 \200\006\200D\"\t\236o@_\337\t\020B|g\317\217u>\030\237=?\326I\b\361\365\365\235"
.string "\3177 \221H\002"
.ascii "\305\264\354u\257\207n\314\274\306\327;\035\256\246\026<\346"
.ascii "rq\377\204\303\316CG\237[\277~\315/L|3N\361\335\317\360\024E"
.ascii "\275\362\326\033>8\3668\021\213\307q\361\243Q\372h\247'\310<"
.ascii "o\253\032\322\320xu60\323^\310f\332\314&\243\236\34381q?\335"
.ascii "x\354\360\341T\272\004\253\004\342\333\347i\247Z\335n\262\030"
.ascii "\n\341\307/>\351o\324U\325k\n\302\013\254\242\220\367\2644\251"
.ascii "\325r\f}\375\232_[\226%\246}\177\027#\232j\262\353\261\330\263"
.ascii "4d\354knF+\357,%6\326v~\276<\336n\243\313-r:\235\317i4*Vg\262"
.ascii "\254\350\214f\375v&\345\264V\261\332\371\340\214A\3050\332j\216"
.ascii "S\212\331\fe\254sP:\006d\326?U\231\237\233S\314TYG$\031\333\333"
.ascii "9\225V\226r\314\351\223o\363\016\336\225\274"
.string "\023\211\232\267\205%#G\211\224PP1;\371<c\263Z\331\326\3266&\233\315\262s\201\031\226-\255qR9\r\231\252Uj4\352\224^o\230b\f\305\354\345\325\225\345\312N~\271\255\247\273\254q\357\225K\253)\276h\2679\210\335n'\321hT\n\374\371\007\341\324\325Ro\367\035\305f\251\320\341\245\024MK*\251T,Il\255\336\340J\306c\365\340H\r\313\320\305\311\277\237Z?x\244'b6\231\251d&\315-\334\016+\365\256&\306\325\330,M\004\360\310\361\316\271\006\205\020\275\220\023\f*\325\256\227\365tt\315\212\371\274y\267X6\374\036\254\210g\336\377k~\2259\265\374\353U?\265\271q\017\204V\313ZZ\243z\242\251\215\036;r\216\376p\244\306\345\250\343M\271\230\310UWkZX\273\265\356T\231\336|\234\322U\216]<\247\344e\262\225*\306\216W\342\033\203x\347\340O\270t\005"
.string "\006%\333\356\213\220\313\300\370g\342\322\3513Y\215V]\033\362v\367j\231\2428\335Q\226E\317\205\321BNgT\304o?\227\224\257\276\007^\362\206\261\225\001nE\200\227\275a\\\372\032\0206\201'\237\346H\317\201B\371\227\337D},\031^a\332\036\305\353\035\315\200\273\223\220+_J\230\f\002\026\003\026\003\267`\013E\001\275\026\230]\004,z,.D`\333Z\225\261\377"
.string "\260\265\001\304\356\227\354lN\004\026\"\200\364\0350\031\004\314z\334\230\236\207\037\300\304\203?\364vaw2\b/\313"
.string "\241\273@N\004\030\317\241\301\322Z$\354ZY\007\354\006\334\236\276\211\251\377\273\361n\002\367:\\0\334\\\2015+\002f\367\340\325\177\001\232\255\214\322p\220\376\367"
.string ""
.string ""
.string ""
.ascii "IEND\256B`\202"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr w1, [sp]
ldr w0, [sp, 4]
add w0, w1, w0
str w0, [sp, 8]
ldr w1, [sp]
ldr w0, [sp, 4]
sub w0, w1, w0
str w0, [sp, 12]
mov w0, 0
add sp, sp, 16
.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 sad16_sse2
.type sad16_sse2, %function
sad16_sse2:
.LFB0:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str x1, [sp, 16]
str x2, [sp, 8]
str w3, [sp, 4]
str w4, [sp]
ldrsw x3, [sp, 4]
ldr w2, [sp]
ldr x1, [sp, 8]
ldr x0, [sp, 16]
#APP
// 7 "program.c" 1
x2 x1 x0 x3
// 0 "" 2
#NO_APP
str w2, [sp]
str x1, [sp, 8]
str x0, [sp, 16]
ldr x0, [sp, 8]
#APP
// 10 "program.c" 1
set x0 x0
// 0 "" 2
#NO_APP
str w0, [sp, 44]
ldr w0, [sp, 44]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size sad16_sse2, .-sad16_sse2
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "How many Fibonacci numbers do you want (between 1 and 75): "
.align 3
.LC1:
.string "%i"
.align 3
.LC2:
.string "Bad number, sorry!"
.align 3
.LC3:
.string "%llu\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.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]
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, -112
.cfi_offset 20, -104
.cfi_offset 21, -96
.cfi_offset 22, -88
.cfi_offset 23, -80
.cfi_offset 24, -72
.cfi_offset 25, -64
.cfi_offset 26, -56
.cfi_offset 27, -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 x19, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, x29, 96
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [x29, 96]
cmp w0, 0
ble .L2
ldr w0, [x29, 96]
cmp w0, 75
ble .L3
.L2:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
mov w0, 1
b .L4
.L3:
ldr w0, [x29, 96]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 104]
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
.L5:
cmp sp, x1
beq .L6
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L5
.L6:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L7
str xzr, [sp, 1024]
.L7:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 112]
ldr x0, [x29, 112]
str xzr, [x0]
ldr x0, [x29, 112]
mov x1, 1
str x1, [x0, 8]
mov w0, 2
str w0, [x29, 100]
b .L8
.L9:
ldr w0, [x29, 100]
sub w1, w0, #2
ldr x0, [x29, 112]
sxtw x1, w1
ldr x1, [x0, x1, lsl 3]
ldr w0, [x29, 100]
sub w2, w0, #1
ldr x0, [x29, 112]
sxtw x2, w2
ldr x0, [x0, x2, lsl 3]
add x2, x1, x0
ldr x0, [x29, 112]
ldrsw x1, [x29, 100]
str x2, [x0, x1, lsl 3]
ldr w0, [x29, 100]
add w0, w0, 1
str w0, [x29, 100]
.L8:
ldr w0, [x29, 96]
ldr w1, [x29, 100]
cmp w1, w0
blt .L9
str wzr, [x29, 100]
b .L10
.L11:
ldr x0, [x29, 112]
ldrsw x1, [x29, 100]
ldr x0, [x0, x1, lsl 3]
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr w0, [x29, 100]
add w0, w0, 1
str w0, [x29, 100]
.L10:
ldr w0, [x29, 96]
ldr w1, [x29, 100]
cmp w1, w0
blt .L11
mov w0, 0
.L4:
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 120]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L13
bl __stack_chk_fail
.L13:
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], 128
.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
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d \n"
.text
.align 2
.global CountUp
.type CountUp, %function
CountUp:
.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]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w1, [sp, 28]
ldr w0, [sp, 24]
cmp w1, w0
bge .L3
ldr w0, [sp, 28]
add w0, w0, 1
ldr w1, [sp, 24]
bl CountUp
.L3:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size CountUp, .-CountUp
.section .rodata
.align 3
.LC1:
.string "Input: "
.align 3
.LC2:
.string "Enter a number to count up to: "
.align 3
.LC3:
.string "%d"
.align 3
.LC4:
.string "Output: "
.text
.align 2
.global main
.type main, %function
main:
.LFB1:
.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, .LC1
add x0, x0, :lo12:.LC1
bl puts
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
add x0, sp, 20
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
ldr w0, [sp, 20]
mov w1, w0
mov w0, 1
bl CountUp
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 .L6
bl __stack_chk_fail
.L6:
mov w0, w1
ldp x29, x30, [sp], 32
.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 bar
.type bar, %function
bar:
.LFB6:
.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, 3000
bl usleep
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size bar, .-bar
.align 2
.global foo
.type foo, %function
foo:
.LFB7:
.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, 5000
bl usleep
bl bar
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size foo, .-foo
.align 2
.global main
.type main, %function
main:
.LFB8:
.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, 1000
bl usleep
bl foo
mov w0, 0
ldp x29, x30, [sp], 16
.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
.global DBSCHEMA_TRANSLATIONS
.section .rodata
.align 3
.type DBSCHEMA_TRANSLATIONS, %object
.size DBSCHEMA_TRANSLATIONS, 24
DBSCHEMA_TRANSLATIONS:
.xword 3367313962
.hword 23795
.hword 4558
.string "\255\345"
.string "\252"
.ascii "Dw="
.zero 4
``` |
### 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
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str x1, [sp]
nop
add sp, sp, 16
.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 .L30
.L31:
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]
.L30:
ldr w1, [sp, 44]
ldr w0, [sp, 20]
cmp w1, w0
blt .L31
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 .L35
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 .L36
.L35:
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]
.L36:
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 .L43
b .L44
.L43:
ldr d1, [sp, 24]
fmov d0, 5.0e-1
fadd d0, d1, d0
fcvtzs d0, d0
str d0, [sp, 16]
b .L41
.L44:
ldr d1, [sp, 24]
fmov d0, 5.0e-1
fsub d0, d1, d0
fcvtzs d0, d0
str d0, [sp, 16]
.L41:
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 .L46
ldr d0, [sp, 8]
fcmpe d0, #0.0
bge .L53
b .L55
.L53:
ldr d1, [sp, 32]
fmov d0, 5.0e-1
fadd d0, d1, d0
fcvtzs d0, d0
str d0, [sp, 24]
b .L49
.L55:
ldr d1, [sp, 32]
fmov d0, 5.0e-1
fsub d0, d1, d0
fcvtzs d0, d0
str d0, [sp, 24]
b .L49
.L46:
adrp x0, rounding_mode
add x0, x0, :lo12:rounding_mode
ldr w0, [x0]
cmp w0, 1
bne .L50
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 .L54
b .L49
.L54:
ldr d0, [sp, 40]
fcmp d0, #0.0
beq .L49
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 .L49
.L50:
adrp x0, rounding_mode
add x0, x0, :lo12:rounding_mode
ldr w0, [x0]
cmp w0, 0
bne .L49
ldr d0, [sp, 32]
fcvtzs d0, d0
str d0, [sp, 24]
.L49:
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 .L57
.L58:
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]
.L57:
ldr w1, [sp, 76]
ldr w0, [sp, 44]
cmp w1, w0
blt .L58
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 .L60
.L61:
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]
.L60:
ldr w1, [sp, 76]
ldr w0, [sp, 44]
cmp w1, w0
blt .L61
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 .L67
.L68:
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]
.L67:
ldr w1, [sp, 76]
ldr w0, [sp, 44]
cmp w1, w0
blt .L68
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 .L70
.L71:
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]
.L70:
ldr w1, [sp, 76]
ldr w0, [sp, 44]
cmp w1, w0
blt .L71
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 .L79
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 .L80
.L79:
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]
.L80:
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 .L87
ldr x0, [sp, 8]
cmp x0, 0
bge .L88
adrp x0, _fxp_minus_one
add x0, x0, :lo12:_fxp_minus_one
ldr x0, [x0]
b .L91
.L88:
adrp x0, _fxp_one
add x0, x0, :lo12:_fxp_one
ldr x0, [x0]
b .L91
.L87:
mov x0, 0
.L91:
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 .L99
.L100:
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]
.L99:
ldr w1, [sp, 44]
ldr w0, [sp, 20]
cmp w1, w0
blt .L100
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 .L102
.L103:
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]
.L102:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
blt .L103
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 .L105
.L106:
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]
.L105:
ldr w1, [sp, 28]
ldr w0, [sp, 4]
cmp w1, w0
blt .L106
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 .L108
.L109:
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]
.L108:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
blt .L109
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 .L111
.L112:
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]
.L111:
ldr w0, [sp, 20]
scvtf d0, w0
ldr d1, [sp]
fcmpe d1, d0
bgt .L112
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 .L119
b .L120
.L119:
ldr d0, [sp, 8]
fneg d0, d0
b .L118
.L120:
ldr d0, [sp, 8]
.L118:
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 .L122
ldr w0, [sp, 28]
sub w0, w0, #1
bl fatorial
mov w1, w0
ldr w0, [sp, 28]
mul w0, w1, w0
b .L124
.L122:
mov w0, 1
.L124:
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
.L126:
cmp sp, x1
beq .L127
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L126
.L127:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L128
str xzr, [sp, 1024]
.L128:
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
.L129:
cmp sp, x1
beq .L130
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L129
.L130:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L131
str xzr, [sp, 1024]
.L131:
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 .L132
.L133:
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]
.L132:
ldr w1, [x29, 176]
ldr w0, [x29, 148]
cmp w1, w0
blt .L133
str xzr, [x29, 200]
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 d1, [x29, 200]
fadd d0, d1, d0
str d0, [x29, 200]
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
ldr d0, [x29, 200]
fcmpe d0, #0.0
bls .L164
b .L167
.L164:
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
mov w0, 0
b .L138
.L167:
str xzr, [x29, 200]
str wzr, [x29, 176]
b .L139
.L140:
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]
.L139:
ldr w1, [x29, 176]
ldr w0, [x29, 148]
cmp w1, w0
blt .L140
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 .L165
b .L168
.L165:
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
mov w0, 0
b .L138
.L168:
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 .L166
b .L169
.L166:
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
mov w0, 0
b .L138
.L169:
str wzr, [x29, 176]
b .L145
.L148:
str wzr, [x29, 180]
b .L146
.L147:
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]
.L146:
ldr w1, [x29, 180]
ldr w0, [x29, 172]
cmp w1, w0
blt .L147
ldr w0, [x29, 176]
add w0, w0, 1
str w0, [x29, 176]
.L145:
ldr w1, [x29, 176]
ldr w0, [x29, 188]
cmp w1, w0
blt .L148
str wzr, [x29, 176]
b .L149
.L157:
str wzr, [x29, 180]
b .L150
.L156:
ldr w0, [x29, 176]
cmp w0, 0
bne .L151
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 .L152
.L151:
ldr w0, [x29, 176]
and w0, w0, 1
cmp w0, 0
beq .L153
str wzr, [x29, 184]
b .L154
.L155:
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]
.L154:
ldr w1, [x29, 184]
ldr w0, [x29, 172]
cmp w1, w0
blt .L155
ldr w0, [x29, 172]
sub w0, w0, #1
str w0, [x29, 172]
ldr w0, [x29, 172]
str w0, [x29, 180]
b .L152
.L153:
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]
.L152:
ldr w0, [x29, 180]
add w0, w0, 1
str w0, [x29, 180]
.L150:
ldr w1, [x29, 180]
ldr w0, [x29, 172]
cmp w1, w0
blt .L156
ldr w0, [x29, 176]
add w0, w0, 1
str w0, [x29, 176]
.L149:
ldr w1, [x29, 176]
ldr w0, [x29, 188]
cmp w1, w0
blt .L157
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 .L158
.L161:
ldr w0, [x29, 176]
and w0, w0, 1
cmp w0, 0
bne .L159
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 .L170
mov w0, 0
b .L138
.L170:
nop
.L159:
ldr w0, [x29, 176]
add w0, w0, 1
str w0, [x29, 176]
.L158:
ldr w1, [x29, 176]
ldr w0, [x29, 188]
cmp w1, w0
blt .L161
mov w0, 1
.L138:
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 .L163
bl __stack_chk_fail
.L163:
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 .L172
.L175:
ldr w1, [sp, 36]
ldr w0, [sp, 32]
cmp w1, w0
ble .L173
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 .L174
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 .L174
.L173:
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 .L174
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]
.L174:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L172:
ldr w1, [sp, 60]
ldr w0, [sp, 12]
cmp w1, w0
blt .L175
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 .L177
.L180:
str wzr, [sp, 56]
b .L178
.L179:
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]
.L178:
ldr w1, [sp, 56]
ldr w0, [sp, 32]
cmp w1, w0
blt .L179
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L177:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L180
str wzr, [sp, 52]
b .L181
.L184:
str wzr, [sp, 56]
b .L182
.L183:
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]
.L182:
ldr w1, [sp, 56]
ldr w0, [sp, 32]
cmp w1, w0
blt .L183
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L181:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L184
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 .L186
.L193:
ldr w0, [sp, 48]
str w0, [sp, 56]
str wzr, [sp, 52]
b .L187
.L192:
ldr w1, [sp, 40]
ldr w0, [sp, 56]
cmp w1, w0
ble .L188
str wzr, [sp, 40]
str wzr, [sp, 44]
.L188:
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 .L194
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 .L190
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w1, [sp, 44]
ldr w0, [sp, 56]
cmp w1, w0
bne .L190
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
.L190:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L187:
ldr w1, [sp, 52]
ldr w0, [sp, 20]
cmp w1, w0
blt .L192
b .L191
.L194:
nop
.L191:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L186:
ldr w1, [sp, 48]
ldr w0, [sp, 20]
cmp w1, w0
blt .L193
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 .L196
.L200:
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 .L207
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L196:
ldr w0, [sp, 36]
cmp w0, 0
bge .L200
b .L199
.L207:
nop
.L199:
ldr w1, [sp, 40]
ldr w0, [sp, 20]
cmp w1, w0
beq .L201
ldr w0, [sp, 40]
cmp w0, 1
beq .L201
mov w0, 1
b .L202
.L201:
mov w0, 0
.L202:
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 .L203
.L206:
ldr w1, [sp, 20]
ldr w0, [sp, 40]
sub w0, w1, w0
ldr w1, [sp, 36]
cmp w1, w0
blt .L204
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 .L205
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 .L205
ldr w0, [sp, 44]
add w0, w0, 2
str w0, [sp, 44]
.L204:
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L203:
ldr w0, [sp, 36]
cmp w0, 0
bge .L206
.L205:
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 .L209
.L214:
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 .L210
ldr w0, [x29, 136]
add w0, w0, 1
str w0, [x29, 136]
b .L211
.L210:
ldr w0, [x29, 136]
cmp w0, 0
bne .L230
ldr w0, [x29, 132]
add w0, w0, 1
str w0, [x29, 132]
.L211:
ldr w0, [x29, 128]
add w0, w0, 1
str w0, [x29, 128]
.L209:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L214
b .L213
.L230:
nop
.L213:
ldr w1, [x29, 136]
ldr w0, [x29, 132]
add w0, w1, w0
str w0, [x29, 136]
ldr w0, [x29, 136]
cmp w0, 1
ble .L215
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 .L215
mov w0, 1
b .L216
.L215:
mov w0, 0
.L216:
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
.L217:
cmp sp, x1
beq .L218
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L217
.L218:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L219
str xzr, [sp, 1024]
.L219:
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 .L220
.L222:
ldr w1, [x29, 128]
ldr w0, [x29, 136]
cmp w1, w0
bge .L221
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]
.L221:
ldr w0, [x29, 128]
add w0, w0, 1
str w0, [x29, 128]
.L220:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L222
str wzr, [x29, 128]
str wzr, [x29, 140]
strb wzr, [x29, 127]
b .L223
.L227:
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 .L224
mov w0, 1
strb w0, [x29, 127]
ldr w1, [x29, 140]
ldr w0, [x29, 136]
cmp w1, w0
bne .L223
b .L229
.L224:
strb wzr, [x29, 127]
b .L226
.L229:
str wzr, [x29, 140]
.L223:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L227
.L226:
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 .L228
bl __stack_chk_fail
.L228:
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 .L232
.L233:
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]
.L232:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
blt .L233
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 .L235
.L238:
str wzr, [sp, 44]
b .L236
.L237:
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]
.L236:
ldr w1, [sp, 44]
ldr w0, [sp, 24]
cmp w1, w0
bcc .L237
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L235:
ldr w1, [sp, 40]
ldr w0, [sp, 28]
cmp w1, w0
bcc .L238
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 .L240
.L243:
str wzr, [sp, 44]
b .L241
.L242:
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]
.L241:
ldr w1, [sp, 44]
ldr w0, [sp, 24]
cmp w1, w0
bcc .L242
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L240:
ldr w1, [sp, 40]
ldr w0, [sp, 28]
cmp w1, w0
bcc .L243
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 .L245
str wzr, [sp, 76]
b .L246
.L249:
str wzr, [sp, 80]
b .L247
.L248:
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]
.L247:
ldr w1, [sp, 80]
ldr w0, [sp, 48]
cmp w1, w0
bcc .L248
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L246:
ldr w1, [sp, 76]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L249
str wzr, [sp, 76]
b .L250
.L255:
str wzr, [sp, 80]
b .L251
.L254:
str wzr, [sp, 84]
b .L252
.L253:
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]
.L252:
ldr w1, [sp, 84]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L253
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L251:
ldr w1, [sp, 80]
ldr w0, [sp, 48]
cmp w1, w0
bcc .L254
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L250:
ldr w1, [sp, 76]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L255
b .L257
.L245:
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl puts
.L257:
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 .L259
str wzr, [sp, 84]
b .L260
.L263:
str wzr, [sp, 88]
b .L261
.L262:
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]
.L261:
ldr w1, [sp, 88]
ldr w0, [sp, 64]
cmp w1, w0
bcc .L262
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L260:
ldr w1, [sp, 84]
ldr w0, [sp, 76]
cmp w1, w0
bcc .L263
str wzr, [sp, 84]
b .L264
.L269:
str wzr, [sp, 88]
b .L265
.L268:
str wzr, [sp, 92]
b .L266
.L267:
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]
.L266:
ldr w1, [sp, 92]
ldr w0, [sp, 72]
cmp w1, w0
bcc .L267
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L265:
ldr w1, [sp, 88]
ldr w0, [sp, 64]
cmp w1, w0
bcc .L268
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L264:
ldr w1, [sp, 84]
ldr w0, [sp, 76]
cmp w1, w0
bcc .L269
b .L271
.L259:
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl puts
.L271:
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 .L273
str wzr, [sp, 72]
b .L274
.L279:
str wzr, [sp, 76]
b .L275
.L278:
ldr w1, [sp, 72]
ldr w0, [sp, 76]
cmp w1, w0
bne .L276
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 .L277
.L276:
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]
.L277:
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L275:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L278
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L274:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L279
b .L272
.L273:
str wzr, [sp, 72]
b .L281
.L284:
str wzr, [sp, 76]
b .L282
.L283:
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]
.L282:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L283
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L281:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L284
ldr w0, [sp, 44]
cmp w0, 1
beq .L304
mov w0, 1
str w0, [sp, 80]
b .L286
.L301:
str wzr, [sp, 72]
b .L287
.L290:
str wzr, [sp, 76]
b .L288
.L289:
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]
.L288:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L289
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L287:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L290
str wzr, [sp, 72]
b .L291
.L294:
str wzr, [sp, 76]
b .L292
.L293:
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]
.L292:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L293
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L291:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L294
str wzr, [sp, 72]
b .L295
.L300:
str wzr, [sp, 76]
b .L296
.L299:
str wzr, [sp, 84]
b .L297
.L298:
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]
.L297:
ldr w1, [sp, 84]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L298
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L296:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L299
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L295:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L300
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L286:
ldr w1, [sp, 80]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L301
b .L272
.L304:
nop
.L272:
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 .L303
bl __stack_chk_fail
.L303:
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 .L306
str wzr, [sp, 56]
b .L307
.L312:
str wzr, [sp, 60]
b .L308
.L311:
ldr w1, [sp, 56]
ldr w0, [sp, 60]
cmp w1, w0
bne .L309
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 .L310
.L309:
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]
.L310:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L308:
ldr w1, [sp, 60]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L311
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L307:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L312
b .L305
.L306:
str wzr, [sp, 56]
b .L314
.L317:
str wzr, [sp, 60]
b .L315
.L316:
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]
.L315:
ldr w1, [sp, 60]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L316
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L314:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L317
ldr w0, [sp, 28]
cmp w0, 1
beq .L337
mov w0, 1
str w0, [sp, 68]
b .L319
.L334:
str wzr, [sp, 56]
b .L320
.L323:
str wzr, [sp, 60]
b .L321
.L322:
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]
.L321:
ldr w1, [sp, 60]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L322
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L320:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L323
str wzr, [sp, 56]
b .L324
.L327:
str wzr, [sp, 60]
b .L325
.L326:
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]
.L325:
ldr w1, [sp, 60]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L326
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L324:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L327
str wzr, [sp, 56]
b .L328
.L333:
str wzr, [sp, 60]
b .L329
.L332:
str wzr, [sp, 64]
b .L330
.L331:
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]
.L330:
ldr w1, [sp, 64]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L331
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L329:
ldr w1, [sp, 60]
ldr w0, [sp, 40]
cmp w1, w0
bcc .L332
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L328:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L333
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L319:
ldr w1, [sp, 68]
ldr w0, [sp, 28]
cmp w1, w0
bcc .L334
b .L305
.L337:
nop
.L305:
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 .L336
bl __stack_chk_fail
.L336:
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 .L339
.L342:
str wzr, [sp, 76]
b .L340
.L341:
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]
.L340:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L341
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L339:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L342
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 .L344
.L347:
str wzr, [sp, 76]
b .L345
.L346:
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]
.L345:
ldr w1, [sp, 76]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L346
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L344:
ldr w1, [sp, 72]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L347
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 .L349
.L352:
str wzr, [sp, 44]
b .L350
.L351:
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]
.L350:
ldr w1, [sp, 44]
ldr w0, [sp, 16]
cmp w1, w0
bcc .L351
mov w0, 10
bl putchar
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L349:
ldr w1, [sp, 40]
ldr w0, [sp, 20]
cmp w1, w0
bcc .L352
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 .L354
ldr w0, [sp, 36]
cmp w0, 1
bne .L355
ldr x0, [sp, 40]
ldr d0, [x0]
str d0, [sp, 64]
b .L354
.L355:
ldr w0, [sp, 36]
cmp w0, 2
bne .L356
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 .L354
.L356:
str xzr, [sp, 64]
str wzr, [sp, 56]
b .L357
.L366:
str wzr, [sp, 48]
b .L358
.L365:
mov w0, 1
str w0, [sp, 48]
b .L359
.L364:
str wzr, [sp, 60]
str wzr, [sp, 52]
b .L360
.L363:
ldr w1, [sp, 52]
ldr w0, [sp, 56]
cmp w1, w0
beq .L369
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 .L362
.L369:
nop
.L362:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L360:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L363
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L359:
ldr w1, [sp, 48]
ldr w0, [sp, 36]
cmp w1, w0
blt .L364
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L358:
ldr w0, [sp, 36]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
blt .L365
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]
.L357:
ldr w1, [sp, 56]
ldr w0, [sp, 36]
cmp w1, w0
blt .L366
.L354:
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 .L368
bl __stack_chk_fail
.L368:
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 .L371
.L374:
str wzr, [sp, 52]
b .L372
.L373:
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]
.L372:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L373
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L371:
ldr w1, [sp, 48]
ldr w0, [sp, 36]
cmp w1, w0
blt .L374
str xzr, [sp, 64]
ldr w0, [sp, 36]
cmp w0, 0
ble .L375
ldr w0, [sp, 36]
cmp w0, 1
bne .L376
ldr d0, [sp, 72]
str d0, [sp, 64]
b .L375
.L376:
ldr w0, [sp, 36]
cmp w0, 2
bne .L377
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 .L375
.L377:
str xzr, [sp, 64]
str wzr, [sp, 56]
b .L378
.L387:
str wzr, [sp, 48]
b .L379
.L386:
mov w0, 1
str w0, [sp, 48]
b .L380
.L385:
str wzr, [sp, 60]
str wzr, [sp, 52]
b .L381
.L384:
ldr w1, [sp, 52]
ldr w0, [sp, 56]
cmp w1, w0
beq .L390
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 .L383
.L390:
nop
.L383:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L381:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L384
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L380:
ldr w1, [sp, 48]
ldr w0, [sp, 36]
cmp w1, w0
blt .L385
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L379:
ldr w0, [sp, 36]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
blt .L386
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]
.L378:
ldr w1, [sp, 56]
ldr w0, [sp, 36]
cmp w1, w0
blt .L387
.L375:
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 .L389
bl __stack_chk_fail
.L389:
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 .L392
.L395:
str wzr, [sp, 44]
b .L393
.L394:
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]
.L393:
ldr w1, [sp, 44]
ldr w0, [sp, 8]
cmp w1, w0
blt .L394
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L392:
ldr w1, [sp, 40]
ldr w0, [sp, 12]
cmp w1, w0
blt .L395
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 .L397
.L400:
str wzr, [sp, 44]
b .L398
.L399:
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]
.L398:
ldr w1, [sp, 44]
ldr w0, [sp, 8]
cmp w1, w0
blt .L399
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L397:
ldr w1, [sp, 40]
ldr w0, [sp, 12]
cmp w1, w0
blt .L400
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 .L402
.L403:
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]
.L402:
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 36]
cmp w1, w0
blt .L403
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 .L406
.L407:
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]
.L406:
ldr w0, [sp, 36]
cmp w0, 0
bgt .L407
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 .L410
.L411:
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]
.L410:
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 36]
cmp w1, w0
blt .L411
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 .L414
.L415:
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]
.L414:
ldr w0, [sp, 36]
cmp w0, 0
bgt .L415
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 .L418
.L419:
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]
.L418:
ldr w0, [sp, 8]
sub w0, w0, #1
ldr w1, [sp, 24]
cmp w1, w0
blt .L419
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 .L422
.L423:
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]
.L422:
ldr w0, [sp, 24]
cmp w0, 0
bgt .L423
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 .L426
.L427:
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]
.L426:
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 36]
cmp w1, w0
blt .L427
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 .L430
.L431:
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]
.L430:
ldr w0, [sp, 36]
cmp w0, 0
bgt .L431
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 .L434
.L435:
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]
.L434:
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 36]
cmp w1, w0
blt .L435
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 .L438
.L439:
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]
.L438:
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 32]
cmp w1, w0
blt .L439
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 .L441
.L442:
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]
.L441:
ldr w0, [sp, 32]
cmp w0, 0
bgt .L442
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 .L444
ldr w0, [sp, 12]
sub w0, w0, #1
b .L446
.L444:
ldr w0, [sp, 8]
sub w0, w0, #1
.L446:
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 .L448
.L452:
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 .L459
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L448:
ldr w0, [sp, 36]
cmp w0, 0
bge .L452
b .L451
.L459:
nop
.L451:
ldr w1, [sp, 40]
ldr w0, [sp, 20]
cmp w1, w0
beq .L453
ldr w0, [sp, 40]
cmp w0, 1
beq .L453
mov w0, 1
b .L454
.L453:
mov w0, 0
.L454:
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 .L455
.L458:
ldr w1, [sp, 20]
ldr w0, [sp, 40]
sub w0, w1, w0
ldr w1, [sp, 36]
cmp w1, w0
blt .L456
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 .L457
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 .L457
ldr w0, [sp, 44]
add w0, w0, 2
str w0, [sp, 44]
.L456:
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L455:
ldr w0, [sp, 36]
cmp w0, 0
bge .L458
.L457:
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 .L461
.L466:
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 .L462
ldr w0, [x29, 136]
add w0, w0, 1
str w0, [x29, 136]
b .L463
.L462:
ldr w0, [x29, 136]
cmp w0, 0
bne .L482
ldr w0, [x29, 132]
add w0, w0, 1
str w0, [x29, 132]
.L463:
ldr w0, [x29, 128]
add w0, w0, 1
str w0, [x29, 128]
.L461:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L466
b .L465
.L482:
nop
.L465:
ldr w1, [x29, 136]
ldr w0, [x29, 132]
add w0, w1, w0
str w0, [x29, 136]
ldr w0, [x29, 136]
cmp w0, 1
ble .L467
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 .L467
mov w0, 1
b .L468
.L467:
mov w0, 0
.L468:
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
.L469:
cmp sp, x1
beq .L470
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L469
.L470:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L471
str xzr, [sp, 1024]
.L471:
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 .L472
.L474:
ldr w1, [x29, 128]
ldr w0, [x29, 136]
cmp w1, w0
bge .L473
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]
.L473:
ldr w0, [x29, 128]
add w0, w0, 1
str w0, [x29, 128]
.L472:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L474
str wzr, [x29, 128]
str wzr, [x29, 140]
strb wzr, [x29, 127]
b .L475
.L479:
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 .L476
mov w0, 1
strb w0, [x29, 127]
ldr w1, [x29, 140]
ldr w0, [x29, 136]
cmp w1, w0
bne .L475
b .L481
.L476:
strb wzr, [x29, 127]
b .L478
.L481:
str wzr, [x29, 140]
.L475:
ldr w1, [x29, 128]
ldr w0, [x29, 100]
cmp w1, w0
blt .L479
.L478:
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 .L480
bl __stack_chk_fail
.L480:
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 .L484
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 .L484
mov w0, 1
b .L485
.L484:
mov w0, 0
.L485:
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 .L486
.L493:
ldr w0, [sp, 48]
str w0, [sp, 56]
str wzr, [sp, 52]
b .L487
.L492:
ldr w1, [sp, 40]
ldr w0, [sp, 56]
cmp w1, w0
ble .L488
str wzr, [sp, 40]
str wzr, [sp, 44]
.L488:
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 .L494
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 .L490
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
.L490:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L487:
ldr w1, [sp, 52]
ldr w0, [sp, 20]
cmp w1, w0
blt .L492
b .L491
.L494:
nop
.L491:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L486:
ldr w1, [sp, 48]
ldr w0, [sp, 20]
cmp w1, w0
blt .L493
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 .L496
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]
.L496:
ldr w1, [sp, 12]
mov w0, 8388607
cmp w1, w0
bgt .L497
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]
.L497:
ldr w1, [sp, 12]
mov w0, 134217727
cmp w1, w0
bgt .L498
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]
.L498:
ldr w1, [sp, 12]
mov w0, 536870911
cmp w1, w0
bgt .L499
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]
.L499:
ldr w1, [sp, 12]
mov w0, 1073741823
cmp w1, w0
bgt .L500
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]
.L500:
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 .L501
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w1, [sp, 24]
mov w0, -26573
add w0, w1, w0
str w0, [sp, 24]
.L501:
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 .L502
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w1, [sp, 24]
mov w0, -14624
add w0, w1, w0
str w0, [sp, 24]
.L502:
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 .L503
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w1, [sp, 24]
mov w0, -7719
add w0, w1, w0
str w0, [sp, 24]
.L503:
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 .L504
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w0, [sp, 24]
sub w0, w0, #3973
str w0, [sp, 24]
.L504:
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 .L505
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w0, [sp, 24]
sub w0, w0, #2017
str w0, [sp, 24]
.L505:
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 .L506
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w0, [sp, 24]
sub w0, w0, #1016
str w0, [sp, 24]
.L506:
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 .L507
ldr w0, [sp, 28]
str w0, [sp, 12]
ldr w0, [sp, 24]
sub w0, w0, #510
str w0, [sp, 24]
.L507:
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 .L517
b .L519
.L517:
ldr d0, [sp, 24]
adrp x0, .LC22
ldr d1, [x0, #:lo12:.LC22]
fcmpe d0, d1
bgt .L518
b .L520
.L518:
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 .L516
.L520:
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 .L516
.L519:
ldr d0, [sp, 24]
bl fxp_log10_low
.L516:
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 .L522
.L523:
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]
.L522:
ldr w1, [sp, 52]
ldr w0, [sp, 28]
cmp w1, w0
blt .L523
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 .L524
.L525:
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]
.L524:
ldr w1, [sp, 52]
ldr w0, [sp, 28]
cmp w1, w0
blt .L525
ldr d0, [sp, 80]
fcmp d0, #0.0
beq .L526
ldr d1, [sp, 72]
ldr d0, [sp, 80]
fcmpe d1, d0
bge .L527
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
.L527:
ldr d0, [sp, 80]
ldr d1, [sp, 72]
fdiv d0, d1, d0
str d0, [sp, 88]
ldr d0, [sp, 88]
fcvt s0, d0
b .L528
.L526:
mov w0, 16282
movk w0, 0x461c, lsl 16
fmov s0, w0
.L528:
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 .L530
.L531:
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]
.L530:
ldr w1, [sp, 52]
ldr w0, [sp, 28]
cmp w1, w0
blt .L531
ldr d0, [sp, 64]
fcmp d0, #0.0
beq .L532
ldr d1, [sp, 56]
ldr d0, [sp, 64]
fcmpe d1, d0
bge .L533
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
.L533:
ldr d0, [sp, 64]
ldr d1, [sp, 56]
fdiv d0, d1, d0
str d0, [sp, 72]
ldr d0, [sp, 72]
fcvt s0, d0
b .L534
.L532:
mov w0, 16282
movk w0, 0x461c, lsl 16
fmov s0, w0
.L534:
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 .L536
.L542:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr s0, [x0]
fcmp s0, #0.0
beq .L544
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 .L545
ldr d0, [sp, 64]
mov x0, 211106232532992
movk x0, 0xc062, lsl 48
fmov d1, x0
fcmpe d0, d1
bmi .L545
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 .L538
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
.L544:
nop
b .L538
.L545:
nop
.L538:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L536:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
blt .L542
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 .L550
.L551:
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]
.L550:
ldr w1, [sp, 84]
ldr w0, [sp, 48]
cmp w1, w0
blt .L551
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 .L552
.L553:
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]
.L552:
ldr w1, [sp, 80]
ldr w0, [sp, 28]
cmp w1, w0
blt .L553
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 .L554
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
.L554:
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 .L557
.L560:
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 .L558
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]
.L558:
ldr w0, [sp, 28]
sub w0, w0, #1
ldr w1, [sp, 68]
cmp w1, w0
bge .L559
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]
.L559:
ldr w0, [sp, 64]
add w0, w0, 54
str w0, [sp, 64]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L557:
ldr w0, [sp, 76]
sub w0, w0, #1
ldr w1, [sp, 68]
cmp w1, w0
blt .L560
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 .L561
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
.L561:
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 .L564
.L567:
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 .L565
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]
.L565:
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
bge .L566
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]
.L566:
ldr w0, [sp, 76]
add w0, w0, 54
str w0, [sp, 76]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L564:
ldr w0, [sp, 84]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
blt .L567
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 .L568
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
.L568:
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 .L571
.L572:
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]
.L571:
ldr w1, [sp, 96]
ldr w0, [sp, 200]
cmp w1, w0
blt .L572
mov w0, 1
str w0, [sp, 100]
b .L573
.L574:
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]
.L573:
ldr w1, [sp, 100]
ldr w0, [sp, 192]
cmp w1, w0
blt .L574
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 .L576
.L577:
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]
.L576:
ldr w0, [sp, 16]
sub w0, w0, #1
ldr w1, [sp, 64]
cmp w1, w0
blt .L577
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 .L578
.L579:
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]
.L578:
ldr w0, [sp, 20]
sub w0, w0, #1
ldr w1, [sp, 68]
cmp w1, w0
blt .L579
ldr w0, [sp, 20]
cmp w0, 1
ble .L580
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]
.L580:
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 .L583
.L584:
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]
.L583:
ldr w0, [sp, 4]
sub w0, w0, #1
ldr w1, [sp, 56]
cmp w1, w0
blt .L584
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 .L585
.L586:
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]
.L585:
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 60]
cmp w1, w0
blt .L586
ldr w0, [sp, 24]
cmp w0, 1
ble .L587
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]
.L587:
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 .L590
.L591:
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]
.L590:
ldr w0, [sp, 208]
sub w0, w0, #1
ldr w1, [sp, 112]
cmp w1, w0
blt .L591
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 .L592
.L593:
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]
.L592:
ldr w0, [sp, 200]
sub w0, w0, #1
ldr w1, [sp, 116]
cmp w1, w0
blt .L593
ldr w0, [sp, 200]
cmp w0, 1
ble .L594
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]
.L594:
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 .L595
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]
.L595:
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 .L598
.L599:
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]
.L598:
ldr w0, [sp, 208]
sub w0, w0, #1
ldr w1, [sp, 112]
cmp w1, w0
blt .L599
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 .L600
.L601:
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]
.L600:
ldr w0, [sp, 200]
sub w0, w0, #1
ldr w1, [sp, 116]
cmp w1, w0
blt .L601
ldr w0, [sp, 200]
cmp w0, 1
ble .L602
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]
.L602:
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 .L603
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]
.L603:
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 .L606
.L607:
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]
.L606:
ldr w1, [sp, 64]
ldr w0, [sp, 24]
cmp w1, w0
blt .L607
mov w0, 1
str w0, [sp, 68]
b .L608
.L609:
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]
.L608:
ldr w1, [sp, 68]
ldr w0, [sp, 28]
cmp w1, w0
blt .L609
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 .L612
.L613:
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]
.L612:
ldr w1, [sp, 92]
ldr w0, [sp, 44]
cmp w1, w0
blt .L613
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 .L614
.L615:
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]
.L614:
ldr w1, [sp, 88]
ldr w0, [sp, 40]
cmp w1, w0
blt .L615
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 .L618
.L621:
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 .L619
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]
.L619:
ldr w0, [sp, 40]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
bge .L620
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]
.L620:
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L618:
ldr w0, [sp, 84]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
blt .L621
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 .L624
.L625:
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]
.L624:
ldr w1, [sp, 48]
ldr w0, [sp, 8]
cmp w1, w0
blt .L625
mov w0, 1
str w0, [sp, 52]
b .L626
.L627:
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]
.L626:
ldr w1, [sp, 52]
ldr w0, [sp, 12]
cmp w1, w0
blt .L627
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 .L630
.L631:
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]
.L630:
ldr w1, [sp, 60]
ldr w0, [sp, 12]
cmp w1, w0
blt .L631
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 .L632
.L633:
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]
.L632:
ldr w1, [sp, 56]
ldr w0, [sp, 8]
cmp w1, w0
blt .L633
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 .L636
.L639:
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 .L637
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]
.L637:
ldr w0, [sp, 8]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
bge .L638
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]
.L638:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L636:
ldr w0, [sp, 52]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
blt .L639
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 .L642
.L643:
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]
.L642:
ldr w1, [sp, 56]
ldr w0, [sp, 8]
cmp w1, w0
blt .L643
mov w0, 1
str w0, [sp, 60]
b .L644
.L645:
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]
.L644:
ldr w1, [sp, 60]
ldr w0, [sp, 12]
cmp w1, w0
blt .L645
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 .L648
.L649:
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]
.L648:
ldr w1, [sp, 68]
ldr w0, [sp, 32]
cmp w1, w0
blt .L649
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 .L650
.L651:
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]
.L650:
ldr w1, [sp, 64]
ldr w0, [sp, 12]
cmp w1, w0
blt .L651
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 .L654
.L657:
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 .L655
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]
.L655:
ldr w0, [sp, 12]
sub w0, w0, #1
ldr w1, [sp, 52]
cmp w1, w0
bge .L656
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]
.L656:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L654:
ldr w0, [sp, 60]
sub w0, w0, #1
ldr w1, [sp, 52]
cmp w1, w0
blt .L657
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 .L660
.L661:
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]
.L660:
ldr w1, [sp, 80]
ldr w0, [sp, 24]
cmp w1, w0
blt .L661
mov w0, 1
str w0, [sp, 84]
b .L662
.L663:
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]
.L662:
ldr w1, [sp, 84]
ldr w0, [sp, 28]
cmp w1, w0
blt .L663
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 .L664
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
.L664:
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 .L667
.L668:
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]
.L667:
ldr w1, [sp, 76]
ldr w0, [sp, 28]
cmp w1, w0
blt .L668
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 .L669
.L670:
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]
.L669:
ldr w1, [sp, 72]
ldr w0, [sp, 24]
cmp w1, w0
blt .L670
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 .L671
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
.L671:
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 .L674
.L677:
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 .L675
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]
.L675:
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
bge .L676
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]
.L676:
ldr w0, [sp, 76]
add w0, w0, 54
str w0, [sp, 76]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L674:
ldr w0, [sp, 84]
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
blt .L677
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 .L678
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
.L678:
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 .L681
.L682:
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]
.L681:
ldr w1, [sp, 48]
ldr w0, [sp, 8]
cmp w1, w0
blt .L682
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 .L683
.L684:
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]
.L683:
ldr w1, [sp, 52]
ldr w0, [sp, 12]
cmp w1, w0
blt .L684
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 .L687
.L688:
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]
.L687:
ldr w1, [sp, 60]
ldr w0, [sp, 12]
cmp w1, w0
blt .L688
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 .L689
.L690:
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]
.L689:
ldr w1, [sp, 56]
ldr w0, [sp, 8]
cmp w1, w0
blt .L690
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 .L693
.L696:
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 .L694
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]
.L694:
ldr w0, [sp, 8]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
bge .L695
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]
.L695:
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]
.L693:
ldr w0, [sp, 52]
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
blt .L696
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
.L699:
cmp sp, x1
beq .L700
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L699
.L700:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L701
str xzr, [sp, 1024]
.L701:
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 .L702
.L707:
ldr x0, [x29, 80]
ldrsw x1, [x29, 64]
str xzr, [x0, x1, lsl 3]
str wzr, [x29, 68]
b .L703
.L706:
ldr w1, [x29, 68]
ldr w0, [x29, 64]
cmp w1, w0
bgt .L715
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]
.L703:
ldr w1, [x29, 68]
ldr w0, [x29, 48]
cmp w1, w0
blt .L706
b .L705
.L715:
nop
.L705:
ldr w0, [x29, 64]
add w0, w0, 1
str w0, [x29, 64]
.L702:
ldr w1, [x29, 64]
ldr w0, [x29, 52]
cmp w1, w0
blt .L707
ldr x0, [x29, 80]
ldr d0, [x0]
ldr x0, [x29, 16]
str d0, [x0]
mov w0, 1
str w0, [x29, 64]
b .L708
.L713:
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 .L709
.L712:
ldr w1, [x29, 68]
ldr w0, [x29, 64]
cmp w1, w0
bgt .L716
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]
.L709:
ldr w1, [x29, 68]
ldr w0, [x29, 28]
cmp w1, w0
blt .L712
b .L711
.L716:
nop
.L711:
ldr w0, [x29, 64]
add w0, w0, 1
str w0, [x29, 64]
.L708:
ldr w1, [x29, 64]
ldr w0, [x29, 52]
cmp w1, w0
blt .L713
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 .L714
bl __stack_chk_fail
.L714:
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
.L718:
cmp sp, x1
beq .L719
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L718
.L719:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L720
str xzr, [sp, 1024]
.L720:
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 .L721
.L726:
ldr x0, [x29, 112]
ldrsw x1, [x29, 96]
str xzr, [x0, x1, lsl 3]
str wzr, [x29, 100]
b .L722
.L725:
ldr w1, [x29, 100]
ldr w0, [x29, 96]
cmp w1, w0
bgt .L734
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]
.L722:
ldr w1, [x29, 100]
ldr w0, [x29, 80]
cmp w1, w0
blt .L725
b .L724
.L734:
nop
.L724:
ldr w0, [x29, 96]
add w0, w0, 1
str w0, [x29, 96]
.L721:
ldr w1, [x29, 96]
ldr w0, [x29, 84]
cmp w1, w0
blt .L726
ldr x0, [x29, 112]
ldr x1, [x0]
ldr x0, [x29, 48]
str x1, [x0]
mov w0, 1
str w0, [x29, 96]
b .L727
.L732:
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 .L728
.L731:
ldr w1, [x29, 100]
ldr w0, [x29, 96]
cmp w1, w0
bgt .L735
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]
.L728:
ldr w1, [x29, 100]
ldr w0, [x29, 60]
cmp w1, w0
blt .L731
b .L730
.L735:
nop
.L730:
ldr w0, [x29, 96]
add w0, w0, 1
str w0, [x29, 96]
.L727:
ldr w1, [x29, 96]
ldr w0, [x29, 84]
cmp w1, w0
blt .L732
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 .L733
bl __stack_chk_fail
.L733:
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 .L737
mov w0, 1
b .L738
.L737:
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
.L738:
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 .L740
.L743:
str xzr, [sp, 88]
str wzr, [sp, 80]
b .L741
.L742:
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]
.L741:
ldr w1, [sp, 80]
ldr w0, [sp, 76]
cmp w1, w0
ble .L742
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]
.L740:
ldr w1, [sp, 76]
ldr w0, [sp, 84]
cmp w1, w0
ble .L743
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 .L746
.L749:
str xzr, [sp, 104]
str wzr, [sp, 92]
b .L747
.L748:
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]
.L747:
ldr w1, [sp, 92]
ldr w0, [sp, 88]
cmp w1, w0
ble .L748
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]
.L746:
ldr w1, [sp, 88]
ldr w0, [sp, 96]
cmp w1, w0
ble .L749
str wzr, [sp, 88]
b .L750
.L753:
str xzr, [sp, 104]
str wzr, [sp, 92]
b .L751
.L752:
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]
.L751:
ldr w1, [sp, 92]
ldr w0, [sp, 88]
cmp w1, w0
ble .L752
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]
.L750:
ldr w1, [sp, 88]
ldr w0, [sp, 100]
cmp w1, w0
ble .L753
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
.L755:
cmp sp, x1
beq .L756
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L755
.L756:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L757
str xzr, [sp, 1024]
.L757:
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 .L758
bl __stack_chk_fail
.L758:
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
.L760:
cmp sp, x1
beq .L761
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L760
.L761:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L762
str xzr, [sp, 1024]
.L762:
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 .L763
bl __stack_chk_fail
.L763:
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
.L765:
cmp sp, x1
beq .L766
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L765
.L766:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L767
str xzr, [sp, 1024]
.L767:
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
.L768:
cmp sp, x1
beq .L769
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L768
.L769:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L770
str xzr, [sp, 1024]
.L770:
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 .L771
bl __stack_chk_fail
.L771:
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
.L773:
cmp sp, x1
beq .L774
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L773
.L774:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L775
str xzr, [sp, 1024]
.L775:
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 .L776
.L777:
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]
.L776:
ldr w1, [x29, 152]
ldr w0, [x29, 132]
cmp w1, w0
blt .L777
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 .L778
.L779:
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]
.L778:
ldr w1, [x29, 152]
ldr w0, [x29, 132]
cmp w1, w0
blt .L779
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 .L780
.L792:
str wzr, [x29, 156]
b .L781
.L791:
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 .L782
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 .L783
.L782:
ldr w0, [x29, 152]
and w0, w0, 1
cmp w0, 0
beq .L784
str wzr, [x29, 160]
b .L785
.L786:
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]
.L785:
ldr w1, [x29, 160]
ldr w0, [x29, 148]
cmp w1, w0
blt .L786
ldr w0, [x29, 148]
sub w0, w0, #1
str w0, [x29, 148]
ldr w0, [x29, 148]
str w0, [x29, 156]
b .L783
.L784:
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 .L795
b .L787
.L795:
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 .L796
b .L787
.L796:
mov w0, 1
b .L790
.L787:
mov w0, 0
.L790:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assert
.L783:
ldr w0, [x29, 156]
add w0, w0, 1
str w0, [x29, 156]
.L781:
ldr w1, [x29, 156]
ldr w0, [x29, 148]
cmp w1, w0
blt .L791
ldr w0, [x29, 152]
add w0, w0, 1
str w0, [x29, 152]
.L780:
ldr w0, [x29, 132]
lsl w0, w0, 1
sub w0, w0, #1
ldr w1, [x29, 152]
cmp w1, w0
blt .L792
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 .L794
bl __stack_chk_fail
.L794:
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 .L798
adrp x0, .LC34
add x0, x0, :lo12:.LC34
bl puts
.L798:
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 .L799
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
.L799:
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 4]
cmp w0, 30
ble .L800
adrp x0, _fxp_one
add x0, x0, :lo12:_fxp_one
mov x1, 2147483647
str x1, [x0]
b .L801
.L800:
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]
.L801:
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 .L802
adrp x0, impl
add x0, x0, :lo12:impl
ldr w0, [x0, 40]
cmp w0, 1
bne .L803
.L802:
adrp x0, impl
add x0, x0, :lo12:impl
mov w1, 1
str w1, [x0, 40]
b .L797
.L803:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 16]
fcmp d0, #0.0
beq .L805
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]
.L805:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
fcmp d0, #0.0
beq .L797
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]
.L797:
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 .L807
.L810:
str wzr, [sp, 20]
b .L808
.L809:
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]
.L808:
ldr w0, [sp, 20]
cmp w0, 3
ble .L809
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L807:
ldr w0, [sp, 16]
cmp w0, 3
ble .L810
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 .L812
bl __stack_chk_fail
.L812:
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 .L814
.L817:
str wzr, [sp, 20]
b .L815
.L816:
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]
.L815:
ldr w0, [sp, 20]
cmp w0, 3
ble .L816
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L814:
ldr w0, [sp, 16]
cmp w0, 3
ble .L817
str wzr, [sp, 16]
b .L818
.L821:
str wzr, [sp, 20]
b .L819
.L820:
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]
.L819:
ldr w0, [sp, 20]
cmp w0, 3
ble .L820
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L818:
ldr w0, [sp, 16]
cmp w0, 3
ble .L821
str wzr, [sp, 16]
b .L822
.L825:
str wzr, [sp, 20]
b .L823
.L824:
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]
.L823:
ldr w0, [sp, 20]
cmp w0, 3
ble .L824
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L822:
ldr w0, [sp, 16]
cmp w0, 3
ble .L825
str wzr, [sp, 16]
b .L826
.L829:
str wzr, [sp, 20]
b .L827
.L828:
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]
.L827:
ldr w0, [sp, 20]
cmp w0, 3
ble .L828
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L826:
ldr w0, [sp, 16]
cmp w0, 3
ble .L829
str wzr, [sp, 16]
b .L830
.L833:
str wzr, [sp, 20]
b .L831
.L832:
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]
.L831:
ldr w0, [sp, 20]
cmp w0, 3
ble .L832
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L830:
ldr w0, [sp, 16]
cmp w0, 3
ble .L833
str wzr, [sp, 16]
b .L834
.L837:
str wzr, [sp, 20]
b .L835
.L836:
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]
.L835:
ldr w0, [sp, 20]
cmp w0, 3
ble .L836
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L834:
ldr w0, [sp, 16]
cmp w0, 3
ble .L837
str wzr, [sp, 16]
b .L838
.L841:
str wzr, [sp, 20]
b .L839
.L840:
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]
.L839:
ldr w0, [sp, 20]
cmp w0, 3
ble .L840
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L838:
ldr w0, [sp, 16]
cmp w0, 3
ble .L841
str wzr, [sp, 16]
b .L842
.L845:
str wzr, [sp, 20]
b .L843
.L844:
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]
.L843:
ldr w0, [sp, 20]
cmp w0, 3
ble .L844
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L842:
ldr w0, [sp, 16]
cmp w0, 3
ble .L845
str wzr, [sp, 16]
b .L846
.L849:
str wzr, [sp, 20]
b .L847
.L848:
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]
.L847:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
blt .L848
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L846:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L849
str wzr, [sp, 16]
b .L850
.L853:
str wzr, [sp, 20]
b .L851
.L852:
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]
.L851:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
blt .L852
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L850:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L853
str wzr, [sp, 16]
b .L854
.L857:
str wzr, [sp, 20]
b .L855
.L856:
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]
.L855:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
blt .L856
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L854:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L857
str wzr, [sp, 16]
b .L858
.L861:
str wzr, [sp, 20]
b .L859
.L860:
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]
.L859:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
blt .L860
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L858:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L861
str wzr, [sp, 16]
b .L862
.L865:
str wzr, [sp, 20]
b .L863
.L864:
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]
.L863:
ldr w0, [sp, 20]
cmp w0, 0
ble .L864
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L862:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L865
str wzr, [sp, 16]
b .L866
.L869:
str wzr, [sp, 20]
b .L867
.L868:
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]
.L867:
ldr w0, [sp, 20]
cmp w0, 0
ble .L868
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L866:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L869
str wzr, [sp, 16]
b .L870
.L873:
str wzr, [sp, 20]
b .L871
.L872:
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]
.L871:
ldr w0, [sp, 20]
cmp w0, 0
ble .L872
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L870:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L873
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 .L874
.L877:
str wzr, [sp, 20]
b .L875
.L876:
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]
.L875:
ldr w0, [sp, 20]
cmp w0, 0
ble .L876
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L874:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L877
str wzr, [sp, 16]
b .L878
.L881:
str wzr, [sp, 20]
b .L879
.L880:
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]
.L879:
ldr w0, [sp, 20]
cmp w0, 0
ble .L880
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L878:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 16]
cmp w1, w0
blt .L881
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 .L883
bl __stack_chk_fail
.L883:
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 .L885
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl puts
str wzr, [sp, 20]
.L885:
ldr w0, [sp, 20]
cmp w0, 0
blt .L886
str xzr, [sp, 56]
ldr d0, [sp, 56]
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 0
ble .L886
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 .L886
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 .L886
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 .L886
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 .L886
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 .L886
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 .L886
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl puts
.L886:
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 .L889
adrp x0, .LC40
add x0, x0, :lo12:.LC40
bl puts
str wzr, [sp, 20]
.L889:
ldr w0, [sp, 20]
cmp w0, 0
blt .L890
str xzr, [sp, 56]
ldr d0, [sp, 56]
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 0
ble .L890
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 .L890
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 .L890
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 .L890
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 .L890
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 .L890
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 .L890
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl puts
.L890:
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 .L893
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl puts
str wzr, [sp, 20]
.L893:
ldr w0, [sp, 20]
cmp w0, 0
blt .L894
str xzr, [sp, 56]
ldr d0, [sp, 56]
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 0
ble .L894
ldr d0, [sp, 24]
str d0, [sp, 56]
ldr d0, [sp, 56]
str d0, [sp, 40]
ldr w0, [sp, 20]
cmp w0, 1
ble .L894
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 .L894
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 .L894
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 .L894
adrp x0, .LC41
add x0, x0, :lo12:.LC41
bl puts
.L894:
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 .L904
b .L901
.L904:
ldr s0, [sp, 12]
fneg s0, s0
str s0, [sp, 12]
.L901:
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 .L906
str wzr, [sp, 32]
b .L907
.L906:
mov w0, 1
str w0, [sp, 36]
b .L908
.L912:
ldr w0, [sp, 40]
cmp w0, 0
bne .L910
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 .L914
b .L910
.L914:
mov w0, 1
str w0, [sp, 40]
.L910:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L908:
ldr w0, [sp, 36]
cmp w0, 19
ble .L912
.L907:
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
.L916:
cmp sp, x0
beq .L917
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L916
.L917:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L918
str xzr, [sp, 1024]
.L918:
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
.L919:
cmp sp, x0
beq .L920
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L919
.L920:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L921
str xzr, [sp, 1024]
.L921:
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
.L922:
cmp sp, x0
beq .L923
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L922
.L923:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L924
str xzr, [sp, 1024]
.L924:
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
.L925:
cmp sp, x1
beq .L926
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L925
.L926:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L927
str xzr, [sp, 1024]
.L927:
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 .L928
.L931:
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 .L929
ldr x0, [x29, 432]
ldrsw x1, [x29, 352]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 400]
cmp x1, x0
blt .L929
mov w0, 1
b .L930
.L929:
mov w0, 0
.L930:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr w0, [x29, 352]
add w0, w0, 1
str w0, [x29, 352]
.L928:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 352]
cmp w1, w0
blt .L931
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
.L932:
cmp sp, x1
beq .L933
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L932
.L933:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L934
str xzr, [sp, 1024]
.L934:
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
.L935:
cmp sp, x1
beq .L936
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L935
.L936:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L937
str xzr, [sp, 1024]
.L937:
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
.L938:
cmp sp, x1
beq .L939
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L938
.L939:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L940
str xzr, [sp, 1024]
.L940:
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 .L941
.L942:
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]
.L941:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 352]
cmp w1, w0
blt .L942
str wzr, [x29, 352]
b .L943
.L944:
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]
.L943:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [x29, 352]
cmp w1, w0
blt .L944
str wzr, [x29, 352]
b .L945
.L946:
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]
.L945:
ldr w1, [x29, 352]
ldr w0, [x29, 356]
cmp w1, w0
blt .L946
str wzr, [x29, 352]
b .L947
.L948:
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]
.L947:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 352]
cmp w1, w0
blt .L948
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 .L950
bl __stack_chk_fail
.L950:
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 .L952
.L955:
str wzr, [sp, 28]
b .L953
.L954:
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]
.L953:
ldr w0, [sp, 28]
cmp w0, 3
ble .L954
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L952:
ldr w0, [sp, 32]
cmp w0, 3
ble .L955
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 .L956
.L961:
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 .L957
.L958:
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]
.L957:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L958
str wzr, [sp, 36]
b .L959
.L960:
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]
.L959:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L960
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L956:
ldr w0, [sp, 32]
cmp w0, 0
blt .L961
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
.L964:
cmp sp, x0
beq .L965
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L964
.L965:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L966
str xzr, [sp, 1024]
.L966:
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
.L967:
cmp sp, x0
beq .L968
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L967
.L968:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L969
str xzr, [sp, 1024]
.L969:
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
.L970:
cmp sp, x0
beq .L971
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L970
.L971:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L972
str xzr, [sp, 1024]
.L972:
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
.L973:
cmp sp, x0
beq .L974
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L973
.L974:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L975
str xzr, [sp, 1024]
.L975:
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
.L976:
cmp sp, x0
beq .L977
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L976
.L977:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L978
str xzr, [sp, 1024]
.L978:
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 .L979
ldrsw x1, [x29, 624]
ldr x0, [x29, 704]
cmp x0, x1
blt .L979
mov w0, 1
b .L980
.L979:
mov w0, 0
.L980:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
str wzr, [x29, 616]
b .L981
.L982:
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]
.L981:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
ldr w0, [x29, 616]
cmp w0, w1
blt .L982
str wzr, [x29, 616]
b .L983
.L984:
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]
.L983:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w1, [x0, 1608]
ldr w0, [x29, 616]
cmp w0, w1
blt .L984
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
.L985:
cmp sp, x1
beq .L986
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L985
.L986:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L987
str xzr, [sp, 1024]
.L987:
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
.L988:
cmp sp, x1
beq .L989
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L988
.L989:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L990
str xzr, [sp, 1024]
.L990:
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
.L991:
cmp sp, x1
beq .L992
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L991
.L992:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L993
str xzr, [sp, 1024]
.L993:
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
.L994:
cmp sp, x1
beq .L995
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L994
.L995:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L996
str xzr, [sp, 1024]
.L996:
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 .L997
.L1000:
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 .L998
ldr x0, [x29, 736]
ldrsw x1, [x29, 616]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 704]
cmp x1, x0
blt .L998
mov w0, 1
b .L999
.L998:
mov w0, 0
.L999:
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]
.L997:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 616]
cmp w1, w0
blt .L1000
str wzr, [x29, 616]
b .L1001
.L1002:
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]
.L1001:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 616]
cmp w1, w0
blt .L1002
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 .L1004
bl __stack_chk_fail
.L1004:
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
.L1006:
cmp sp, x0
beq .L1007
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1006
.L1007:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1008
str xzr, [sp, 1024]
.L1008:
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
.L1009:
cmp sp, x0
beq .L1010
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1009
.L1010:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1011
str xzr, [sp, 1024]
.L1011:
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
.L1012:
cmp sp, x0
beq .L1013
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1012
.L1013:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1014
str xzr, [sp, 1024]
.L1014:
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
.L1015:
cmp sp, x0
beq .L1016
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1015
.L1016:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1017
str xzr, [sp, 1024]
.L1017:
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
.L1018:
cmp sp, x0
beq .L1019
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1018
.L1019:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1020
str xzr, [sp, 1024]
.L1020:
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
.L1021:
cmp sp, x0
beq .L1022
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1021
.L1022:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1023
str xzr, [sp, 1024]
.L1023:
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
.L1024:
cmp sp, x0
beq .L1025
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1024
.L1025:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1026
str xzr, [sp, 1024]
.L1026:
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
.L1027:
cmp sp, x0
beq .L1028
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1027
.L1028:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1029
str xzr, [sp, 1024]
.L1029:
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
.L1030:
cmp sp, x1
beq .L1031
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1030
.L1031:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1032
str xzr, [sp, 1024]
.L1032:
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
.L1033:
cmp sp, x1
beq .L1034
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1033
.L1034:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1035
str xzr, [sp, 1024]
.L1035:
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
.L1036:
cmp sp, x1
beq .L1037
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1036
.L1037:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1038
str xzr, [sp, 1024]
.L1038:
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
.L1039:
cmp sp, x1
beq .L1040
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1039
.L1040:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1041
str xzr, [sp, 1024]
.L1041:
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 .L1042
.L1043:
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]
.L1042:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 680]
cmp w1, w0
blt .L1043
str wzr, [x29, 680]
b .L1044
.L1045:
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]
.L1044:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [x29, 680]
cmp w1, w0
blt .L1045
str wzr, [x29, 680]
b .L1046
.L1047:
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]
.L1046:
ldr w1, [x29, 680]
ldr w0, [x29, 684]
cmp w1, w0
blt .L1047
str wzr, [x29, 680]
b .L1048
.L1051:
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 .L1049
ldr x0, [x29, 760]
ldrsw x1, [x29, 680]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 728]
cmp x1, x0
blt .L1049
mov w0, 1
b .L1050
.L1049:
mov w0, 0
.L1050:
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]
.L1048:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 680]
cmp w1, w0
blt .L1051
str wzr, [x29, 680]
b .L1052
.L1057:
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 .L1060
b .L1053
.L1060:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 48]
fneg d0, d0
ldr d1, [x29, 896]
fcmpe d1, d0
bgt .L1061
b .L1053
.L1061:
mov w0, 1
b .L1056
.L1053:
mov w0, 0
.L1056:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assert
ldr w0, [x29, 680]
add w0, w0, 1
str w0, [x29, 680]
.L1052:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 680]
cmp w1, w0
blt .L1057
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 .L1059
bl __stack_chk_fail
.L1059:
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 .L1063
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
.L1063:
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
.L1064:
cmp sp, x0
beq .L1065
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1064
.L1065:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1066
str xzr, [sp, 1024]
.L1066:
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
.L1067:
cmp sp, x0
beq .L1068
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1067
.L1068:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1069
str xzr, [sp, 1024]
.L1069:
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
.L1070:
cmp sp, x0
beq .L1071
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1070
.L1071:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1072
str xzr, [sp, 1024]
.L1072:
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
.L1073:
cmp sp, x0
beq .L1074
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1073
.L1074:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1075
str xzr, [sp, 1024]
.L1075:
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 .L1076
.L1077:
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]
.L1076:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
ldr w0, [x29, 620]
cmp w0, w1
blt .L1077
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
.L1078:
cmp sp, x0
beq .L1079
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1078
.L1079:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1080
str xzr, [sp, 1024]
.L1080:
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
.L1081:
cmp sp, x1
beq .L1082
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1081
.L1082:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1083
str xzr, [sp, 1024]
.L1083:
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
.L1084:
cmp sp, x1
beq .L1085
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1084
.L1085:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1086
str xzr, [sp, 1024]
.L1086:
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
.L1087:
cmp sp, x1
beq .L1088
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1087
.L1088:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1089
str xzr, [sp, 1024]
.L1089:
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
.L1090:
cmp sp, x1
beq .L1091
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1090
.L1091:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1092
str xzr, [sp, 1024]
.L1092:
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 .L1093
.L1096:
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 .L1094
ldr x0, [x29, 720]
ldrsw x1, [x29, 620]
ldr x0, [x0, x1, lsl 3]
ldr x1, [x29, 672]
cmp x1, x0
blt .L1094
mov w0, 1
b .L1095
.L1094:
mov w0, 0
.L1095:
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]
.L1093:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 620]
cmp w1, w0
blt .L1096
str wzr, [x29, 620]
b .L1097
.L1098:
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]
.L1097:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [x29, 620]
cmp w1, w0
blt .L1098
str wzr, [x29, 620]
b .L1099
.L1100:
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]
.L1099:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 620]
cmp w1, w0
blt .L1100
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 .L1102
bl __stack_chk_fail
.L1102:
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
.L1104:
cmp sp, x0
beq .L1105
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1104
.L1105:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1106
str xzr, [sp, 1024]
.L1106:
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
.L1107:
cmp sp, x1
beq .L1108
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1107
.L1108:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1109
str xzr, [sp, 1024]
.L1109:
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 .L1110
.L1115:
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 .L1136
b .L1111
.L1136:
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 .L1137
b .L1111
.L1137:
mov w0, 1
b .L1114
.L1111:
mov w0, 0
.L1114:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1110:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1115
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
.L1116:
cmp sp, x1
beq .L1117
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1116
.L1117:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1118
str xzr, [sp, 1024]
.L1118:
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
.L1119:
cmp sp, x1
beq .L1120
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1119
.L1120:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1121
str xzr, [sp, 1024]
.L1121:
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
.L1122:
cmp sp, x1
beq .L1123
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1122
.L1123:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1124
str xzr, [sp, 1024]
.L1124:
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 .L1125
.L1126:
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]
.L1125:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1126
str wzr, [x29, 224]
b .L1127
.L1128:
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]
.L1127:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1128
str wzr, [x29, 224]
b .L1129
.L1130:
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]
.L1129:
ldr w1, [x29, 224]
ldr w0, [x29, 228]
cmp w1, w0
blt .L1130
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 .L1131
.L1133:
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 .L1132
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
.L1132:
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]
.L1131:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1133
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 .L1135
bl __stack_chk_fail
.L1135:
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
.L1139:
cmp sp, x0
beq .L1140
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1139
.L1140:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1141
str xzr, [sp, 1024]
.L1141:
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
.L1142:
cmp sp, x1
beq .L1143
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1142
.L1143:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1144
str xzr, [sp, 1024]
.L1144:
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 .L1145
.L1150:
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 .L1170
b .L1146
.L1170:
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 .L1171
b .L1146
.L1171:
mov w0, 1
b .L1149
.L1146:
mov w0, 0
.L1149:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
.L1145:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1150
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
.L1151:
cmp sp, x1
beq .L1152
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1151
.L1152:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1153
str xzr, [sp, 1024]
.L1153:
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
.L1154:
cmp sp, x1
beq .L1155
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1154
.L1155:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1156
str xzr, [sp, 1024]
.L1156:
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
.L1157:
cmp sp, x1
beq .L1158
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1157
.L1158:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1159
str xzr, [sp, 1024]
.L1159:
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 .L1160
.L1161:
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]
.L1160:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1161
str wzr, [x29, 224]
b .L1162
.L1163:
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]
.L1162:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1163
str wzr, [x29, 224]
b .L1164
.L1165:
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]
.L1164:
ldr w1, [x29, 224]
ldr w0, [x29, 228]
cmp w1, w0
blt .L1165
str wzr, [x29, 224]
b .L1166
.L1167:
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]
.L1166:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 224]
cmp w1, w0
blt .L1167
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 .L1169
bl __stack_chk_fail
.L1169:
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
.L1173:
cmp sp, x1
beq .L1174
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1173
.L1174:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1175
str xzr, [sp, 1024]
.L1175:
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
.L1176:
cmp sp, x1
beq .L1177
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1176
.L1177:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1178
str xzr, [sp, 1024]
.L1178:
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 .L1179
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
.L1179:
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 .L1181
bl __stack_chk_fail
.L1181:
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
.L1183:
cmp sp, x1
beq .L1184
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1183
.L1184:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1185
str xzr, [sp, 1024]
.L1185:
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
.L1186:
cmp sp, x1
beq .L1187
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1186
.L1187:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1188
str xzr, [sp, 1024]
.L1188:
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 .L1190
bl __stack_chk_fail
.L1190:
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
.L1192:
cmp sp, x1
beq .L1193
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1192
.L1193:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1194
str xzr, [sp, 1024]
.L1194:
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
.L1195:
cmp sp, x1
beq .L1196
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1195
.L1196:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1197
str xzr, [sp, 1024]
.L1197:
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
.L1198:
cmp sp, x1
beq .L1199
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1198
.L1199:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1200
str xzr, [sp, 1024]
.L1200:
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
.L1201:
cmp sp, x1
beq .L1202
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1201
.L1202:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1203
str xzr, [sp, 1024]
.L1203:
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 .L1205
bl __stack_chk_fail
.L1205:
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
.L1207:
cmp sp, x0
beq .L1208
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1207
.L1208:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1209
str xzr, [sp, 1024]
.L1209:
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
.L1210:
cmp sp, x0
beq .L1211
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1210
.L1211:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1212
str xzr, [sp, 1024]
.L1212:
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
.L1213:
cmp sp, x0
beq .L1214
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1213
.L1214:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1215
str xzr, [sp, 1024]
.L1215:
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
.L1216:
cmp sp, x0
beq .L1217
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1216
.L1217:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1218
str xzr, [sp, 1024]
.L1218:
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
.L1219:
cmp sp, x0
beq .L1220
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1219
.L1220:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1221
str xzr, [sp, 1024]
.L1221:
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
.L1222:
cmp sp, x0
beq .L1223
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1222
.L1223:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1224
str xzr, [sp, 1024]
.L1224:
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
.L1225:
cmp sp, x0
beq .L1226
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1225
.L1226:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1227
str xzr, [sp, 1024]
.L1227:
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 .L1258
b .L1228
.L1258:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
ldr d1, [x29, 848]
fcmpe d1, d0
bls .L1259
b .L1228
.L1259:
mov w0, 1
b .L1231
.L1228:
mov w0, 0
.L1231:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
str wzr, [x29, 672]
b .L1232
.L1233:
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]
.L1232:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
ldr w0, [x29, 672]
cmp w0, w1
blt .L1233
str wzr, [x29, 672]
b .L1234
.L1235:
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]
.L1234:
ldr w1, [x29, 672]
ldr w0, [x29, 692]
cmp w1, w0
blt .L1235
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
.L1236:
cmp sp, x1
beq .L1237
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1236
.L1237:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1238
str xzr, [sp, 1024]
.L1238:
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
.L1239:
cmp sp, x1
beq .L1240
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1239
.L1240:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1241
str xzr, [sp, 1024]
.L1241:
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
.L1242:
cmp sp, x1
beq .L1243
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1242
.L1243:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1244
str xzr, [sp, 1024]
.L1244:
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
.L1245:
cmp sp, x1
beq .L1246
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1245
.L1246:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1247
str xzr, [sp, 1024]
.L1247:
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 .L1248
.L1253:
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 .L1260
b .L1249
.L1260:
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 .L1261
b .L1249
.L1261:
mov w0, 1
b .L1252
.L1249:
mov w0, 0
.L1252:
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]
.L1248:
ldr w1, [x29, 672]
ldr w0, [x29, 696]
cmp w1, w0
blt .L1253
str wzr, [x29, 672]
b .L1254
.L1255:
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]
.L1254:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 672]
cmp w1, w0
blt .L1255
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 .L1257
bl __stack_chk_fail
.L1257:
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
.L1263:
cmp sp, x0
beq .L1264
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1263
.L1264:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1265
str xzr, [sp, 1024]
.L1265:
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
.L1266:
cmp sp, x0
beq .L1267
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1266
.L1267:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1268
str xzr, [sp, 1024]
.L1268:
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
.L1269:
cmp sp, x0
beq .L1270
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1269
.L1270:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1271
str xzr, [sp, 1024]
.L1271:
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
.L1272:
cmp sp, x0
beq .L1273
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1272
.L1273:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1274
str xzr, [sp, 1024]
.L1274:
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
.L1275:
cmp sp, x0
beq .L1276
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1275
.L1276:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1277
str xzr, [sp, 1024]
.L1277:
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
.L1278:
cmp sp, x0
beq .L1279
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1278
.L1279:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1280
str xzr, [sp, 1024]
.L1280:
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
.L1281:
cmp sp, x0
beq .L1282
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1281
.L1282:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1283
str xzr, [sp, 1024]
.L1283:
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
.L1284:
cmp sp, x0
beq .L1285
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1284
.L1285:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1286
str xzr, [sp, 1024]
.L1286:
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
.L1287:
cmp sp, x0
beq .L1288
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1287
.L1288:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1289
str xzr, [sp, 1024]
.L1289:
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
.L1290:
cmp sp, x0
beq .L1291
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1290
.L1291:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1292
str xzr, [sp, 1024]
.L1292:
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
.L1293:
cmp sp, x0
beq .L1294
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1293
.L1294:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1295
str xzr, [sp, 1024]
.L1295:
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 .L1338
b .L1296
.L1338:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 8]
ldr d1, [x29, 1432]
fcmpe d1, d0
bls .L1339
b .L1296
.L1339:
mov w0, 1
b .L1299
.L1296:
mov w0, 0
.L1299:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
str wzr, [x29, 1192]
b .L1300
.L1301:
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]
.L1300:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w1, [x0]
ldr w0, [x29, 1192]
cmp w0, w1
blt .L1301
str wzr, [x29, 1192]
b .L1302
.L1303:
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]
.L1302:
ldr w1, [x29, 1192]
ldr w0, [x29, 1212]
cmp w1, w0
blt .L1303
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
.L1304:
cmp sp, x0
beq .L1305
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1304
.L1305:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1306
str xzr, [sp, 1024]
.L1306:
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
.L1307:
cmp sp, x0
beq .L1308
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1307
.L1308:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1309
str xzr, [sp, 1024]
.L1309:
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
.L1310:
cmp sp, x0
beq .L1311
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1310
.L1311:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1312
str xzr, [sp, 1024]
.L1312:
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
.L1313:
cmp sp, x0
beq .L1314
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1313
.L1314:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1315
str xzr, [sp, 1024]
.L1315:
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
.L1316:
cmp sp, x1
beq .L1317
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1316
.L1317:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1318
str xzr, [sp, 1024]
.L1318:
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
.L1319:
cmp sp, x1
beq .L1320
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1319
.L1320:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1321
str xzr, [sp, 1024]
.L1321:
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
.L1322:
cmp sp, x1
beq .L1323
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1322
.L1323:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1324
str xzr, [sp, 1024]
.L1324:
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
.L1325:
cmp sp, x1
beq .L1326
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1325
.L1326:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1327
str xzr, [sp, 1024]
.L1327:
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 .L1328
.L1329:
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]
.L1328:
ldr w1, [x29, 1192]
ldr w0, [x29, 1216]
cmp w1, w0
blt .L1329
str wzr, [x29, 1192]
b .L1330
.L1335:
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 .L1340
b .L1331
.L1340:
adrp x0, impl
add x0, x0, :lo12:impl
ldr d0, [x0, 48]
fneg d0, d0
ldr d1, [x29, 1568]
fcmpe d1, d0
bgt .L1341
b .L1331
.L1341:
mov w0, 1
b .L1334
.L1331:
mov w0, 0
.L1334:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assert
ldr w0, [x29, 1192]
add w0, w0, 1
str w0, [x29, 1192]
.L1330:
adrp x0, X_SIZE_VALUE
add x0, x0, :lo12:X_SIZE_VALUE
ldr w0, [x0]
ldr w1, [x29, 1192]
cmp w1, w0
blt .L1335
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 .L1337
bl __stack_chk_fail
.L1337:
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 .L1343
.L1346:
str wzr, [sp, 44]
b .L1344
.L1345:
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]
.L1344:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1345
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1343:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1346
str wzr, [sp, 40]
b .L1347
.L1350:
str wzr, [sp, 44]
b .L1348
.L1349:
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]
.L1348:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1349
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1347:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1350
str wzr, [sp, 40]
b .L1351
.L1354:
str wzr, [sp, 44]
b .L1352
.L1353:
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]
.L1352:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1353
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1351:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1354
str wzr, [sp, 40]
b .L1355
.L1358:
str wzr, [sp, 44]
b .L1356
.L1357:
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]
.L1356:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1357
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1355:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1358
str wzr, [sp, 40]
b .L1359
.L1362:
str wzr, [sp, 44]
b .L1360
.L1361:
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]
.L1360:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1361
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1359:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1362
str wzr, [sp, 40]
b .L1363
.L1366:
str wzr, [sp, 44]
b .L1364
.L1365:
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]
.L1364:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1365
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1363:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1366
str wzr, [sp, 40]
b .L1367
.L1370:
str wzr, [sp, 44]
b .L1368
.L1369:
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]
.L1368:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1369
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1367:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1370
str xzr, [sp, 48]
str wzr, [sp, 40]
b .L1371
.L1374:
str wzr, [sp, 44]
b .L1372
.L1373:
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]
.L1372:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1373
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1371:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1374
bl double_state_space_representation
str d0, [sp, 56]
str wzr, [sp, 40]
b .L1375
.L1378:
str wzr, [sp, 44]
b .L1376
.L1377:
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]
.L1376:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1377
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1375:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1378
ldr d0, [sp, 24]
scvtf d0, d0
str d0, [sp, 840]
str wzr, [sp, 40]
b .L1379
.L1382:
str wzr, [sp, 44]
b .L1380
.L1381:
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]
.L1380:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1381
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1379:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1382
str wzr, [sp, 40]
b .L1383
.L1386:
str wzr, [sp, 44]
b .L1384
.L1385:
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]
.L1384:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1385
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1383:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1386
str wzr, [sp, 40]
b .L1387
.L1390:
str wzr, [sp, 44]
b .L1388
.L1389:
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]
.L1388:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1389
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1387:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1390
str wzr, [sp, 40]
b .L1391
.L1394:
str wzr, [sp, 44]
b .L1392
.L1393:
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]
.L1392:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1393
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1391:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1394
str wzr, [sp, 40]
b .L1395
.L1398:
str wzr, [sp, 44]
b .L1396
.L1397:
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]
.L1396:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1397
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1395:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1398
str wzr, [sp, 40]
b .L1399
.L1402:
str wzr, [sp, 44]
b .L1400
.L1401:
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]
.L1400:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1401
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1399:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1402
str wzr, [sp, 40]
b .L1403
.L1406:
str wzr, [sp, 44]
b .L1404
.L1405:
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]
.L1404:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1405
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1403:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1406
str wzr, [sp, 40]
b .L1407
.L1410:
str wzr, [sp, 44]
b .L1408
.L1409:
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]
.L1408:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1409
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1407:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1410
bl fxp_state_space_representation
str d0, [sp, 64]
str wzr, [sp, 40]
b .L1411
.L1414:
str wzr, [sp, 44]
b .L1412
.L1413:
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]
.L1412:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1413
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1411:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1414
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 .L1416
bl __stack_chk_fail
.L1416:
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 .L1418
.L1422:
str wzr, [sp, 48]
b .L1419
.L1421:
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 .L1420
mov w0, 1
strh w0, [sp, 42]
.L1420:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1419:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
cmp w0, w1
bcc .L1421
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1418:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 44]
cmp w0, w1
bcc .L1422
str wzr, [sp, 44]
b .L1423
.L1426:
str wzr, [sp, 48]
b .L1424
.L1425:
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]
.L1424:
ldr w0, [sp, 48]
cmp w0, 3
bls .L1425
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1423:
ldr w0, [sp, 44]
cmp w0, 3
bls .L1426
str wzr, [sp, 44]
b .L1427
.L1428:
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]
.L1427:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 44]
cmp w0, w1
bcc .L1428
str wzr, [sp, 44]
b .L1429
.L1430:
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]
.L1429:
ldr w0, [sp, 44]
cmp w0, 3
bls .L1430
str wzr, [sp, 44]
b .L1431
.L1432:
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]
.L1431:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 44]
cmp w0, w1
bcc .L1432
str wzr, [sp, 44]
b .L1433
.L1436:
str wzr, [sp, 48]
b .L1434
.L1435:
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]
.L1434:
ldr w0, [sp, 48]
cmp w0, 3
bls .L1435
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1433:
ldr w0, [sp, 44]
cmp w0, 3
bls .L1436
str wzr, [sp, 52]
b .L1437
.L1438:
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]
.L1437:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 52]
cmp w0, w1
bcc .L1438
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 .L1439
.L1440:
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]
.L1439:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 52]
cmp w0, w1
bcc .L1440
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 .L1441
.L1442:
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]
.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: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 .L1443
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
.L1443:
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 .L1445
bl __stack_chk_fail
.L1445:
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 .L1447
.L1451:
str wzr, [sp, 52]
b .L1448
.L1450:
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 .L1449
mov w0, 1
strh w0, [sp, 46]
.L1449:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1448:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 52]
cmp w0, w1
bcc .L1450
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1447:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
cmp w0, w1
bcc .L1451
str wzr, [sp, 48]
b .L1452
.L1455:
str wzr, [sp, 52]
b .L1453
.L1454:
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]
.L1453:
ldr w0, [sp, 52]
cmp w0, 0
beq .L1454
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1452:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
cmp w0, w1
bcc .L1455
str wzr, [sp, 48]
b .L1456
.L1459:
str wzr, [sp, 52]
b .L1457
.L1458:
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]
.L1457:
ldr w0, [sp, 52]
cmp w0, 3
bls .L1458
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1456:
ldr w0, [sp, 48]
cmp w0, 3
bls .L1459
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 .L1460
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
.L1460:
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 .L1462
bl __stack_chk_fail
.L1462:
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 .L1464
.L1467:
str wzr, [sp, 44]
b .L1465
.L1466:
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]
.L1465:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1466
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1464:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1467
str wzr, [sp, 40]
b .L1468
.L1471:
str wzr, [sp, 44]
b .L1469
.L1470:
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]
.L1469:
ldr w0, [sp, 44]
cmp w0, 0
ble .L1470
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1468:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L1471
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 .L1494
b .L1472
.L1494:
ldr d0, [sp, 56]
scvtf d0, d0
ldr d1, [sp, 64]
fcmpe d1, d0
bls .L1495
b .L1472
.L1495:
mov w0, 1
b .L1475
.L1472:
mov w0, 0
.L1475:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
str wzr, [sp, 40]
b .L1476
.L1477:
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]
.L1476:
ldr w0, [sp, 40]
cmp w0, 0
blt .L1477
adrp x0, :got:closed_loop
ldr x0, [x0, #:got_lo12:closed_loop]
ldr w0, [x0]
cmp w0, 0
beq .L1478
str wzr, [sp, 40]
b .L1479
.L1484:
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 .L1496
b .L1480
.L1496:
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 .L1483
.L1480:
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
.L1483:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1479:
ldr w0, [sp, 40]
cmp w0, 0
blt .L1484
b .L1485
.L1478:
str wzr, [sp, 40]
b .L1486
.L1491:
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 .L1497
b .L1487
.L1497:
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 .L1490
.L1487:
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
.L1490:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1486:
ldr w0, [sp, 40]
cmp w0, 0
blt .L1491
.L1485:
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 .L1493
bl __stack_chk_fail
.L1493:
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 .L1499
.L1503:
str wzr, [sp, 32]
b .L1500
.L1502:
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 .L1501
mov w0, 1
strh w0, [sp, 30]
.L1501:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L1500:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 32]
cmp w0, w1
bcc .L1502
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1499:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bcc .L1503
str wzr, [sp, 36]
b .L1504
.L1507:
str wzr, [sp, 32]
b .L1505
.L1506:
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]
.L1505:
ldr w0, [sp, 32]
cmp w0, 0
beq .L1506
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1504:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bcc .L1507
str wzr, [sp, 36]
b .L1508
.L1511:
str wzr, [sp, 32]
b .L1509
.L1510:
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]
.L1509:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 32]
cmp w0, w1
bcc .L1510
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1508:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bcc .L1511
str wzr, [sp, 36]
b .L1512
.L1515:
str wzr, [sp, 32]
b .L1513
.L1514:
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]
.L1513:
ldr w0, [sp, 32]
cmp w0, 0
beq .L1514
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1512:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bcc .L1515
str wzr, [sp, 36]
b .L1516
.L1519:
str wzr, [sp, 32]
b .L1517
.L1518:
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]
.L1517:
ldr w0, [sp, 32]
cmp w0, 3
bls .L1518
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1516:
ldr w0, [sp, 36]
cmp w0, 3
bls .L1519
str wzr, [sp, 36]
b .L1520
.L1523:
str wzr, [sp, 32]
b .L1521
.L1522:
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]
.L1521:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 32]
cmp w0, w1
bcc .L1522
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1520:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bcc .L1523
str wzr, [sp, 36]
b .L1524
.L1527:
str wzr, [sp, 32]
b .L1525
.L1526:
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]
.L1525:
ldr w0, [sp, 32]
cmp w0, 3
bls .L1526
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1524:
ldr w0, [sp, 36]
cmp w0, 3
bls .L1527
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 .L1529
bl __stack_chk_fail
.L1529:
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 .L1531
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
.L1531:
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 .L1534
.L1537:
str wzr, [sp, 28]
b .L1535
.L1536:
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]
.L1535:
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 .L1536
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1534:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1537
str wzr, [sp, 24]
b .L1538
.L1541:
str wzr, [sp, 28]
b .L1539
.L1540:
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]
.L1539:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1540
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1538:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1541
str wzr, [sp, 24]
b .L1542
.L1545:
str wzr, [sp, 28]
b .L1543
.L1544:
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]
.L1543:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1544
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1542:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1545
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
cmp w0, 1
ble .L1546
str wzr, [sp, 32]
str wzr, [sp, 28]
b .L1547
.L1552:
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 .L1548
.L1551:
str wzr, [sp, 24]
b .L1549
.L1550:
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]
.L1549:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1550
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1548:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L1551
.L1547:
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 .L1552
str wzr, [sp, 24]
b .L1553
.L1556:
str wzr, [sp, 28]
b .L1554
.L1555:
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]
.L1554:
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 .L1555
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1553:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1556
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 .L1557
.L1560:
str wzr, [sp, 28]
b .L1558
.L1559:
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]
.L1558:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1559
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1557:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1560
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
add x0, sp, 680
bl determinant
fcmp d0, #0.0
bne .L1562
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
.L1546:
str wzr, [sp, 28]
b .L1563
.L1566:
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 .L1564
.L1565:
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]
.L1564:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1565
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1563:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1566
str wzr, [sp, 24]
b .L1567
.L1570:
str wzr, [sp, 28]
b .L1568
.L1569:
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]
.L1568:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1569
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1567:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1570
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
add x0, sp, 680
bl determinant
fcmp d0, #0.0
bne .L1562
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
.L1562:
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 .L1572
bl __stack_chk_fail
.L1572:
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 .L1574
str wzr, [sp, 32]
str wzr, [sp, 28]
b .L1575
.L1580:
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 .L1576
.L1579:
str wzr, [sp, 24]
b .L1577
.L1578:
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]
.L1577:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1578
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1576:
adrp x0, :got:nInputs
ldr x0, [x0, #:got_lo12:nInputs]
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L1579
.L1575:
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 .L1580
str wzr, [sp, 24]
b .L1581
.L1584:
str wzr, [sp, 28]
b .L1582
.L1583:
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]
.L1582:
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 .L1583
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1581:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1584
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 .L1586
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
.L1574:
str wzr, [sp, 28]
b .L1587
.L1590:
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 .L1588
.L1589:
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]
.L1588:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1589
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1587:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1590
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
add x0, sp, 40
bl determinant
fcmp d0, #0.0
bne .L1586
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
.L1586:
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 .L1592
bl __stack_chk_fail
.L1592:
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 .L1594
.L1597:
str wzr, [sp, 28]
b .L1595
.L1596:
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]
.L1595:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1596
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1594:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1597
str wzr, [sp, 24]
b .L1598
.L1601:
str wzr, [sp, 28]
b .L1599
.L1600:
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]
.L1599:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1600
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1598:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1601
str wzr, [sp, 24]
b .L1602
.L1605:
str wzr, [sp, 28]
b .L1603
.L1604:
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]
.L1603:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1604
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1602:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1605
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
cmp w0, 1
ble .L1606
str wzr, [sp, 28]
str wzr, [sp, 32]
b .L1607
.L1612:
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 .L1608
.L1611:
str wzr, [sp, 24]
b .L1609
.L1610:
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]
.L1609:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1610
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1608:
adrp x0, :got:nOutputs
ldr x0, [x0, #:got_lo12:nOutputs]
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L1611
.L1607:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 32]
cmp w1, w0
blt .L1612
str wzr, [sp, 24]
b .L1613
.L1616:
str wzr, [sp, 28]
b .L1614
.L1615:
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]
.L1614:
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 .L1615
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1613:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .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 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 .L1617
.L1620:
str wzr, [sp, 28]
b .L1618
.L1619:
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]
.L1618:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1619
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1617:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1620
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
add x0, sp, 680
bl determinant
fcmp d0, #0.0
bne .L1622
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
.L1606:
str wzr, [sp, 24]
b .L1623
.L1626:
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 .L1624
.L1625:
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]
.L1624:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1625
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1623:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1626
str wzr, [sp, 24]
b .L1627
.L1630:
str wzr, [sp, 28]
b .L1628
.L1629:
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]
.L1628:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1629
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L1627:
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w0, [x0]
ldr w1, [sp, 24]
cmp w1, w0
blt .L1630
adrp x0, :got:nStates
ldr x0, [x0, #:got_lo12:nStates]
ldr w1, [x0]
add x0, sp, 680
bl determinant
fcmp d0, #0.0
bne .L1622
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
.L1622:
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 .L1632
bl __stack_chk_fail
.L1632:
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
.L1634:
cmp sp, x1
beq .L1635
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1634
.L1635:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1636
str xzr, [sp, 1024]
.L1636:
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
.L1637:
cmp sp, x1
beq .L1638
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1637
.L1638:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1639
str xzr, [sp, 1024]
.L1639:
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
.L1640:
cmp sp, x1
beq .L1641
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1640
.L1641:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1642
str xzr, [sp, 1024]
.L1642:
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
.L1643:
cmp sp, x1
beq .L1644
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1643
.L1644:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1645
str xzr, [sp, 1024]
.L1645:
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 .L1646
.L1651:
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 .L1647
.L1648:
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]
.L1647:
ldr w1, [x29, 248]
ldr w0, [x29, 228]
cmp w1, w0
blt .L1648
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 .L1649
.L1650:
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]
.L1649:
ldr w1, [x29, 248]
ldr w0, [x29, 224]
cmp w1, w0
blt .L1650
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]
.L1646:
ldr d0, [x29, 256]
adrp x0, .LC64
ldr d1, [x0, #:lo12:.LC64]
fcmpe d0, d1
bls .L1651
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 .L1652
bl __stack_chk_fail
.L1652:
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
.L1654:
cmp sp, x0
beq .L1655
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1654
.L1655:
and x0, x1, 65535
sub sp, sp, x0
str xzr, [sp]
and x0, x1, 65535
cmp x0, 1024
bcc .L1656
str xzr, [sp, 1024]
.L1656:
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
.L1657:
cmp sp, x1
beq .L1658
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1657
.L1658:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1659
str xzr, [sp, 1024]
.L1659:
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
.L1660:
cmp sp, x1
beq .L1661
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1660
.L1661:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1662
str xzr, [sp, 1024]
.L1662:
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
.L1663:
cmp sp, x1
beq .L1664
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1663
.L1664:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1665
str xzr, [sp, 1024]
.L1665:
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
.L1666:
cmp sp, x1
beq .L1667
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L1666
.L1667:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L1668
str xzr, [sp, 1024]
.L1668:
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 .L1669
str wzr, [x29, 224]
str xzr, [x29, 232]
b .L1670
.L1677:
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 .L1690
b .L1696
.L1690:
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 .L1673
.L1696:
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 .L1674
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 .L1673
.L1674:
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 .L1691
b .L1673
.L1691:
ldr d1, [x29, 232]
fmov d0, 1.0e+0
fcmpe d1, d0
bls .L1692
b .L1673
.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, 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
.L1673:
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]
.L1670:
ldr d1, [x29, 232]
fmov d0, 1.0e+0
fcmpe d1, d0
bls .L1677
b .L1678
.L1669:
adrp x0, :got:filter
ldr x0, [x0, #:got_lo12:filter]
ldr w0, [x0, 24]
cmp w0, 2
bne .L1679
str wzr, [x29, 224]
str xzr, [x29, 232]
b .L1680
.L1687:
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 .L1693
b .L1697
.L1693:
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 .L1683
.L1697:
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 .L1684
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 .L1683
.L1684:
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 .L1694
b .L1683
.L1694:
ldr d1, [x29, 232]
fmov d0, 1.0e+0
fcmpe d1, d0
bls .L1695
b .L1683
.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]
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
.L1683:
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]
.L1680:
ldr d1, [x29, 232]
fmov d0, 1.0e+0
fcmpe d1, d0
bls .L1687
b .L1678
.L1679:
mov w0, 0
bl __DSVERIFIER_assert
.L1678:
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 .L1689
bl __stack_chk_fail
.L1689:
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_limit_cycle
add x0, x0, :lo12:verify_limit_cycle
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 .L1701
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
cmp w0, 0
bne .L1702
.L1701:
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
.L1702:
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 .L1705
.L1717:
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 .L1731
b .L1706
.L1731:
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 .L1732
b .L1739
.L1732:
ldr d0, [sp, 72]
fneg d0, d0
b .L1710
.L1739:
ldr d0, [sp, 72]
.L1710:
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 .L1711
ldrb w0, [sp, 39]
cmp w0, 0
bne .L1741
.L1711:
ldr d0, [sp, 72]
fcmp d0, #0.0
bne .L1712
ldrb w0, [sp, 39]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L1712
mov w0, 1
strb w0, [sp, 39]
.L1712:
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 .L1733
b .L1713
.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 d0, [x0, 8]
ldr d1, [sp, 88]
fcmpe d1, d0
bge .L1734
b .L1713
.L1734:
mov w0, 1
b .L1716
.L1713:
mov w0, 0
.L1716:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
b .L1706
.L1741:
nop
.L1706:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1705:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 1608]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1717
str wzr, [sp, 44]
b .L1718
.L1730:
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 .L1735
b .L1719
.L1735:
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 .L1736
b .L1740
.L1736:
ldr d0, [sp, 48]
fneg d0, d0
b .L1723
.L1740:
ldr d0, [sp, 48]
.L1723:
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 .L1724
ldrb w0, [sp, 39]
cmp w0, 0
bne .L1742
.L1724:
ldr d0, [sp, 48]
fcmp d0, #0.0
bne .L1725
ldrb w0, [sp, 39]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L1725
mov w0, 1
strb w0, [sp, 39]
.L1725:
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 .L1737
b .L1726
.L1737:
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 .L1738
b .L1726
.L1738:
mov w0, 1
b .L1729
.L1726:
mov w0, 0
.L1729:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
b .L1719
.L1742:
nop
.L1719:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1718:
adrp x0, ds
add x0, x0, :lo12:ds
ldr w0, [x0, 800]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1730
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 .L1744
.L1757:
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 .L1772
b .L1780
.L1772:
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 .L1773
b .L1781
.L1773:
ldr d0, [sp, 72]
fneg d0, d0
b .L1749
.L1781:
ldr d0, [sp, 72]
.L1749:
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 .L1750
ldrb w0, [sp, 43]
cmp w0, 0
bne .L1784
.L1750:
ldr d0, [sp, 72]
fcmp d0, #0.0
bne .L1752
ldrb w0, [sp, 43]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L1752
mov w0, 1
strb w0, [sp, 43]
.L1752:
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 .L1774
b .L1753
.L1774:
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 .L1775
b .L1753
.L1775:
mov w0, 1
b .L1756
.L1753:
mov w0, 0
.L1756:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
b .L1751
.L1780:
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 .L1751
.L1784:
nop
.L1751:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1744:
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 1608]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1757
str wzr, [sp, 44]
b .L1758
.L1771:
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 .L1776
b .L1782
.L1776:
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 .L1777
b .L1783
.L1777:
ldr d0, [sp, 48]
fneg d0, d0
b .L1763
.L1783:
ldr d0, [sp, 48]
.L1763:
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 .L1764
ldrb w0, [sp, 43]
cmp w0, 0
bne .L1785
.L1764:
ldr d0, [sp, 48]
fcmp d0, #0.0
bne .L1766
ldrb w0, [sp, 43]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L1766
mov w0, 1
strb w0, [sp, 43]
.L1766:
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 .L1778
b .L1767
.L1778:
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 .L1779
b .L1767
.L1779:
mov w0, 1
b .L1770
.L1767:
mov w0, 0
.L1770:
and w0, w0, 1
and w0, w0, 255
bl __DSVERIFIER_assume
b .L1765
.L1782:
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 .L1765
.L1785:
nop
.L1765:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1758:
adrp x0, :got:plant
ldr x0, [x0, #:got_lo12:plant]
ldr w0, [x0, 800]
ldr w1, [sp, 44]
cmp w1, w0
blt .L1771
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 0
.word 1072693248
.word 0
.word -1074790400
.zero 784
.word 2
.zero 4
.word -1717986918
.word 1069128089
.word -1717986918
.word -1078355559
.zero 784
.word 2
.zero 4
.word 1202590843
.word 1066695393
.zero 1600
.global impl
.align 3
.type impl, %object
.size impl, 56
impl:
.word 4
.word 12
.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
.align 2
.global delay
.type delay, %function
delay:
.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]
ldr x0, [sp, 24]
bl __delay_cycles
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size delay, .-delay
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global Global
.bss
.align 2
.type Global, %object
.size Global, 4
Global:
.zero 4
.global __aarch64_ldadd4_relax
.text
.align 2
.global Thread1
.type Thread1, %function
Thread1:
.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]
mov w0, 1
bl sleep
adrp x0, Global
add x0, x0, :lo12:Global
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_relax
mov x0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size Thread1, .-Thread1
.align 2
.global Thread2
.type Thread2, %function
Thread2:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, Global
add x0, x0, :lo12:Global
ldr w0, [x0]
add w1, w0, 1
adrp x0, Global
add x0, x0, :lo12:Global
str w1, [x0]
mov x0, 0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size Thread2, .-Thread2
.align 2
.global main
.type main, %function
main:
.LFB2:
.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 x4, sp, 24
mov x3, 0
adrp x0, Thread1
add x2, x0, :lo12:Thread1
mov x1, 0
mov x0, x4
bl pthread_create
add x0, sp, 24
add x4, x0, 8
mov x3, 0
adrp x0, Thread2
add x2, x0, :lo12:Thread2
mov x1, 0
mov x0, x4
bl pthread_create
ldr x0, [sp, 24]
mov x1, 0
bl pthread_join
ldr x0, [sp, 32]
mov x1, 0
bl pthread_join
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 .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.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 "ktype:A"
.align 3
.LC1:
.string "kfun:A.<init>()"
.align 3
.LC2:
.string "ktype:B"
.align 3
.LC3:
.string "kfun:B.<init>(Int)"
.align 3
.LC4:
.string "kfun:B.<get-a>()"
.align 3
.LC5:
.string "ktype:C"
.align 3
.LC6:
.string "kfun:C.<init>(Int;Int)"
.align 3
.LC7:
.string "kfun:C.<get-a>()"
.text
.align 2
.global run_test
.type run_test, %function
run_test:
.LFB0:
.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, .LC0
add x0, x0, :lo12:.LC0
bl resolve_symbol
str x0, [sp, 24]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl resolve_symbol
str x0, [sp, 32]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl resolve_symbol
str x0, [sp, 40]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl resolve_symbol
str x0, [sp, 48]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl resolve_symbol
str x0, [sp, 56]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl resolve_symbol
str x0, [sp, 64]
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl resolve_symbol
str x0, [sp, 72]
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl resolve_symbol
str x0, [sp, 80]
mov w1, 1
ldr x0, [sp, 24]
bl AllocInstance
str x0, [sp, 88]
ldr x0, [sp, 88]
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 24]
cmp x1, x0
beq .L2
mov w0, 1
b .L3
.L2:
mov w1, 1
ldr x0, [sp, 40]
bl AllocInstance
str x0, [sp, 96]
ldr x0, [sp, 96]
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 40]
cmp x1, x0
beq .L4
mov w0, 1
b .L3
.L4:
ldr x2, [sp, 48]
mov w1, 48879
movk w1, 0xdead, lsl 16
ldr x0, [sp, 96]
blr x2
str x0, [sp, 104]
ldr x0, [sp, 96]
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 40]
cmp x1, x0
beq .L5
mov w0, 1
b .L3
.L5:
ldr x1, [sp, 56]
ldr x0, [sp, 104]
blr x1
mov w1, w0
mov w0, 48879
movk w0, 0xdead, lsl 16
cmp w1, w0
beq .L6
mov w0, 1
b .L3
.L6:
mov w1, 1
ldr x0, [sp, 64]
bl AllocInstance
str x0, [sp, 112]
ldr x0, [sp, 112]
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 64]
cmp x1, x0
beq .L7
mov w0, 1
b .L3
.L7:
ldr x3, [sp, 72]
mov w2, 47806
movk w2, 0xabad, lsl 16
mov w1, 47806
movk w1, 0xcafe, lsl 16
ldr x0, [sp, 112]
blr x3
str x0, [sp, 120]
ldr x0, [sp, 112]
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 64]
cmp x1, x0
beq .L8
mov w0, 1
b .L3
.L8:
ldr x1, [sp, 80]
ldr x0, [sp, 120]
blr x1
mov w1, w0
mov w0, 47806
movk w0, 0xcafe, lsl 16
cmp w1, w0
beq .L9
mov w0, 1
b .L3
.L9:
mov w0, 0
.L3:
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size run_test, .-run_test
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Hello %s\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
str w0, [sp, 28]
str x1, [sp, 16]
mov w0, 1
str w0, [sp, 44]
b .L2
.L3:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
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, 0
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 "%u"
.align 3
.LC1:
.string "sum is %d, product is %d"
.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, 24
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
str wzr, [sp, 36]
b .L2
.L3:
ldr w0, [sp, 36]
ldr w1, [sp, 28]
add w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 36]
ldr w1, [sp, 32]
mul w0, w1, w0
str w0, [sp, 32]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L2:
ldr w1, [sp, 36]
ldr w0, [sp, 24]
cmp w1, w0
bcc .L3
ldr w2, [sp, 32]
ldr w1, [sp, 28]
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, 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
.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
sub sp, sp, #560
.cfi_def_cfa_offset 560
stp x29, x30, [sp]
.cfi_offset 29, -560
.cfi_offset 30, -552
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, 552]
mov x1, 0
ldr x0, [sp, 16]
ldr x1, [x0]
add x0, sp, 40
bl strcat
str x0, [sp, 32]
mov w0, 1
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 .L3
bl __stack_chk_fail
.L3:
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
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global init_cfs
.type init_cfs, %function
init_cfs:
.LFB0:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE0:
.size init_cfs, .-init_cfs
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "SIGHUP"
.align 3
.LC1:
.string "SIGINT"
.align 3
.LC2:
.string "SIGQUIT"
.align 3
.LC3:
.string "SIGTERM"
.align 3
.LC4:
.string "unknown"
.align 3
.LC5:
.string "Got signal %s\n"
.text
.align 2
.global sig_interrupt_common
.type sig_interrupt_common, %function
sig_interrupt_common:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
.cfi_def_cfa_register 29
str x19, [sp, 16]
sub sp, sp, #16
.cfi_offset 19, -64
str w0, [x29, 44]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 72]
mov x1, 0
mov x0, sp
mov x19, x0
mov w0, 64
str w0, [x29, 52]
ldrsw x0, [x29, 52]
sub x0, x0, #1
str x0, [x29, 56]
ldrsw x0, [x29, 52]
mov x8, x0
mov x9, 0
lsr x0, x8, 61
lsl x5, x9, 3
orr x5, x0, x5
lsl x4, x8, 3
ldrsw x0, [x29, 52]
mov x6, x0
mov x7, 0
lsr x0, x6, 61
lsl x3, x7, 3
orr x3, x0, x3
lsl x2, x6, 3
ldrsw x0, [x29, 52]
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L2:
cmp sp, x1
beq .L3
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L2
.L3:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L4
str xzr, [sp, 1024]
.L4:
add x0, sp, 16
add x0, x0, 0
str x0, [x29, 64]
ldr w0, [x29, 44]
cmp w0, 15
beq .L5
ldr w0, [x29, 44]
cmp w0, 15
bgt .L6
ldr w0, [x29, 44]
cmp w0, 3
beq .L7
ldr w0, [x29, 44]
cmp w0, 3
bgt .L6
ldr w0, [x29, 44]
cmp w0, 1
beq .L8
ldr w0, [x29, 44]
cmp w0, 2
beq .L9
b .L6
.L8:
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [x29, 64]
bl sprintf
b .L10
.L9:
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [x29, 64]
bl sprintf
b .L10
.L7:
adrp x0, .LC2
add x1, x0, :lo12:.LC2
ldr x0, [x29, 64]
bl sprintf
b .L10
.L5:
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [x29, 64]
bl sprintf
b .L10
.L6:
adrp x0, .LC4
add x1, x0, :lo12:.LC4
ldr x0, [x29, 64]
bl sprintf
.L10:
ldr x1, [x29, 64]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
mov sp, x19
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 72]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L11
bl __stack_chk_fail
.L11:
mov sp, x29
ldr x19, [sp, 16]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE6:
.size sig_interrupt_common, .-sig_interrupt_common
.section .rodata
.align 3
.LC6:
.string "Got signal for aborting, exiting ..."
.text
.align 2
.global sig_interrupt_abort
.type sig_interrupt_abort, %function
sig_interrupt_abort:
.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 w0, [sp, 28]
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
mov w0, 0
bl exit
.cfi_endproc
.LFE7:
.size sig_interrupt_abort, .-sig_interrupt_abort
.section .rodata
.align 3
.LC7:
.string "Alarm triggered!"
.text
.align 2
.global sig_interrupt_alarm
.type sig_interrupt_alarm, %function
sig_interrupt_alarm:
.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 w0, [sp, 28]
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size sig_interrupt_alarm, .-sig_interrupt_alarm
.section .rodata
.align 3
.LC8:
.string "signal_example returned succesful after 90 minutes"
.align 3
.LC9:
.string "--abort"
.align 3
.LC10:
.string "--alarm"
.align 3
.LC11:
.string "Usage: %s [--abort | --alarm N] \n"
.align 3
.LC12:
.string "%s exits main() now!\n"
.text
.align 2
.global main
.type main, %function
main:
.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 x1, [sp, 16]
adrp x0, sig_interrupt_common
add x1, x0, :lo12:sig_interrupt_common
mov w0, 1
bl signal
adrp x0, sig_interrupt_common
add x1, x0, :lo12:sig_interrupt_common
mov w0, 2
bl signal
adrp x0, sig_interrupt_common
add x1, x0, :lo12:sig_interrupt_common
mov w0, 3
bl signal
adrp x0, sig_interrupt_common
add x1, x0, :lo12:sig_interrupt_common
mov w0, 15
bl signal
adrp x0, sig_interrupt_abort
add x1, x0, :lo12:sig_interrupt_abort
mov w0, 6
bl signal
adrp x0, sig_interrupt_alarm
add x1, x0, :lo12:sig_interrupt_alarm
mov w0, 14
bl signal
ldr w0, [sp, 28]
cmp w0, 1
bne .L15
mov w0, 5400
str w0, [sp, 40]
.L18:
ldr w0, [sp, 40]
bl sleep
str w0, [sp, 40]
ldr w0, [sp, 40]
cmp w0, 0
beq .L24
b .L18
.L24:
nop
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
b .L19
.L15:
ldr w0, [sp, 28]
cmp w0, 2
bne .L20
ldr x0, [sp, 16]
add x0, x0, 8
ldr x2, [x0]
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov x0, x2
bl strcmp
cmp w0, 0
bne .L20
mov w0, 6
bl raise
b .L19
.L20:
ldr w0, [sp, 28]
cmp w0, 3
bne .L21
ldr x0, [sp, 16]
add x0, x0, 8
ldr x2, [x0]
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov x0, x2
bl strcmp
cmp w0, 0
bne .L21
ldr x0, [sp, 16]
add x0, x0, 16
ldr x0, [x0]
bl atoi
cmp w0, 0
ble .L21
ldr x0, [sp, 16]
add x0, x0, 16
ldr x0, [x0]
bl atoi
str w0, [sp, 44]
ldr w0, [sp, 44]
bl alarm
bl pause
b .L19
.L21:
ldr x0, [sp, 16]
ldr x0, [x0]
mov x1, x0
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
mov w0, 1
bl exit
.L19:
ldr x0, [sp, 16]
ldr x0, [x0]
mov x1, x0
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
mov w0, 0
ldp x29, x30, [sp], 48
.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 "bar"
.text
.align 2
.global bar
.type bar, %function
bar:
.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
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size bar, .-bar
.section .rodata
.align 3
.LC1:
.string "foo"
.text
.align 2
.global foo
.type foo, %function
foo:
.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]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
bl bar
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size foo, .-foo
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global func2
.type func2, %function
func2:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
ldr w0, [sp, 4]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 24]
b .L2
.L10:
ldr w0, [sp, 24]
str w0, [sp, 16]
b .L3
.L9:
ldrsw x0, [sp, 16]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 28]
ldr w0, [sp, 16]
str w0, [sp, 20]
b .L4
.L8:
ldr w1, [sp, 20]
ldr w0, [sp, 24]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
bge .L12
ldr w1, [sp, 20]
ldr w0, [sp, 24]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 8]
add x1, x1, x0
ldrsw x0, [sp, 20]
lsl x0, x0, 2
ldr x2, [sp, 8]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w1, [sp, 20]
ldr w0, [sp, 24]
sub w0, w1, w0
str w0, [sp, 20]
.L4:
ldr w1, [sp, 20]
ldr w0, [sp, 24]
cmp w1, w0
bge .L8
b .L7
.L12:
nop
.L7:
ldrsw x0, [sp, 20]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [sp, 28]
str w1, [x0]
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L3:
ldr w1, [sp, 16]
ldr w0, [sp, 4]
cmp w1, w0
blt .L9
ldr w0, [sp, 24]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 24]
.L2:
ldr w0, [sp, 24]
cmp w0, 0
bgt .L10
mov w0, 0
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size func2, .-func2
.section .rodata
.align 3
.LC0:
.string "%d"
.text
.align 2
.global main
.type main, %function
main:
.LFB1:
.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 x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 136]
mov x1, 0
mov x0, sp
mov x19, x0
add x0, x29, 108
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [x29, 108]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 120]
sxtw x1, w0
mov x26, x1
mov x27, 0
lsr x1, x26, 59
lsl x23, x27, 5
orr x23, x1, x23
lsl x22, x26, 5
sxtw x1, w0
mov x24, x1
mov x25, 0
lsr x1, x24, 59
lsl x21, x25, 5
orr x21, x1, x21
lsl x20, x24, 5
sxtw x0, w0
lsl x0, x0, 2
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L14:
cmp sp, x1
beq .L15
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L14
.L15:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L16
str xzr, [sp, 1024]
.L16:
add x0, sp, 16
add x0, x0, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 128]
str wzr, [x29, 112]
b .L17
.L18:
ldrsw x0, [x29, 112]
lsl x0, x0, 2
ldr x1, [x29, 128]
add x0, x1, x0
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [x29, 112]
add w0, w0, 1
str w0, [x29, 112]
.L17:
ldr w0, [x29, 108]
ldr w1, [x29, 112]
cmp w1, w0
blt .L18
ldr w0, [x29, 108]
mov w1, w0
ldr x0, [x29, 128]
bl func2
str wzr, [x29, 116]
b .L19
.L22:
ldr w0, [x29, 108]
sub w0, w0, #1
ldr w1, [x29, 116]
cmp w1, w0
beq .L20
ldr x0, [x29, 128]
ldrsw x1, [x29, 116]
ldr w0, [x0, x1, lsl 2]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 32
bl putchar
b .L21
.L20:
ldr x0, [x29, 128]
ldrsw x1, [x29, 116]
ldr w0, [x0, x1, lsl 2]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
.L21:
ldr w0, [x29, 116]
add w0, w0, 1
str w0, [x29, 116]
.L19:
ldr w0, [x29, 108]
ldr w1, [x29, 116]
cmp w1, w0
blt .L22
mov w0, 10
bl putchar
mov sp, x19
mov w0, 0
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 .L24
bl __stack_chk_fail
.L24:
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
.LFE1:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC1:
.string "pipe failed"
.align 3
.LC2:
.string "%s"
.align 3
.LC3:
.string "fork() failed"
.align 3
.LC4:
.string "Concatenated String: %s \n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -304]!
.cfi_def_cfa_offset 304
.cfi_offset 29, -304
.cfi_offset 30, -296
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -288
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 296]
mov x1, 0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
add x0, sp, 72
ldr x2, [x1]
str x2, [x0]
ldrh w1, [x1, 8]
strh w1, [x0, 8]
add x0, sp, 56
bl pipe
cmn w0, #1
bne .L2
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 11
mov x1, 1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fwrite
mov w0, 1
b .L7
.L2:
add x0, sp, 64
bl pipe
cmn w0, #1
bne .L4
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 11
mov x1, 1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fwrite
mov w0, 1
b .L7
.L4:
add x0, sp, 88
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
bl fork
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bge .L5
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 13
mov x1, 1
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl fwrite
mov w0, 1
b .L7
.L5:
ldr w0, [sp, 52]
cmp w0, 0
ble .L6
ldr w0, [sp, 56]
bl close
ldr w19, [sp, 60]
add x0, sp, 88
bl strlen
mov x1, x0
add x0, sp, 88
mov x2, x1
mov x1, x0
mov w0, w19
bl write
ldr w0, [sp, 60]
bl close
mov x0, 0
bl wait
ldr w0, [sp, 68]
bl close
ldr w0, [sp, 64]
add x1, sp, 192
mov x2, 100
bl read
add x0, sp, 192
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr w0, [sp, 60]
bl close
mov w0, 0
b .L7
.L6:
ldr w0, [sp, 60]
bl close
ldr w0, [sp, 56]
add x1, sp, 192
mov x2, 100
bl read
add x0, sp, 192
bl strlen
str w0, [sp, 48]
str wzr, [sp, 44]
b .L8
.L9:
ldr w0, [sp, 48]
add w1, w0, 1
str w1, [sp, 48]
ldrsw x1, [sp, 44]
add x2, sp, 72
ldrb w2, [x2, x1]
sxtw x0, w0
add x1, sp, 192
strb w2, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L8:
ldrsw x19, [sp, 44]
add x0, sp, 72
bl strlen
cmp x19, x0
bcc .L9
ldrsw x0, [sp, 48]
add x1, sp, 192
strb wzr, [x1, x0]
ldr w0, [sp, 56]
bl close
ldr w0, [sp, 64]
bl close
ldr w19, [sp, 68]
add x0, sp, 192
bl strlen
mov x1, x0
add x0, sp, 192
mov x2, x1
mov x1, x0
mov w0, w19
bl write
ldr w0, [sp, 68]
bl close
mov w0, 0
bl exit
.L7:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 296]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L10
bl __stack_chk_fail
.L10:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp], 304
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC0:
.ascii "Lets Study"
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "sigill caught"
.text
.align 2
.type sigill, %function
sigill:
.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]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size sigill, .-sigill
.section .rodata
.align 3
.LC1:
.string "sigsegv caught"
.text
.align 2
.type sigsegv, %function
sigsegv:
.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 w0, [sp, 28]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size sigsegv, .-sigsegv
.section .rodata
.align 3
.LC2:
.string "sigfpe caught"
.text
.align 2
.type sigfpe, %function
sigfpe:
.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 w0, [sp, 28]
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 sigfpe, .-sigfpe
.section .rodata
.align 3
.LC3:
.string "this should generate an error: %s \n"
.align 3
.LC4:
.string "this should generate another error: %s \n"
.text
.align 2
.global main
.type main, %function
main:
.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 x1, [sp, 16]
adrp x0, sigill
add x1, x0, :lo12:sigill
mov w0, 4
bl signal
adrp x0, sigfpe
add x1, x0, :lo12:sigfpe
mov w0, 8
bl signal
adrp x0, sigsegv
add x1, x0, :lo12:sigsegv
mov w0, 11
bl signal
ldr x1, [sp, 40]
mov x0, 10000
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr x1, [sp, 40]
mov x0, 10000
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
mov w0, 0
ldp x29, x30, [sp], 48
.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 "Error Occurred!"
.align 3
.LC1:
.string "\nPress Enter key to continue..."
.text
.align 2
.global raise_error
.type raise_error, %function
raise_error:
.LFB6:
.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
str x0, [sp, 56]
str x1, [sp, 760]
str x2, [sp, 768]
str x3, [sp, 776]
str x4, [sp, 784]
str x5, [sp, 792]
str x6, [sp, 800]
str x7, [sp, 808]
add x0, sp, 512
str q0, [x0, 112]
add x0, sp, 512
str q1, [x0, 128]
add x0, sp, 512
str q2, [x0, 144]
add x0, sp, 512
str q3, [x0, 160]
add x0, sp, 512
str q4, [x0, 176]
add x0, sp, 512
str q5, [x0, 192]
add x0, sp, 512
str q6, [x0, 208]
add x0, sp, 512
str q7, [x0, 224]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 616]
mov x1, 0
str wzr, [sp, 68]
b .L2
.L3:
ldrsw x0, [sp, 68]
add x1, sp, 104
strb wzr, [x1, x0]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L2:
ldr w0, [sp, 68]
cmp w0, 511
ble .L3
add x0, sp, 816
str x0, [sp, 72]
add x0, sp, 816
str x0, [sp, 80]
add x0, sp, 752
str x0, [sp, 88]
mov w0, -56
str w0, [sp, 96]
mov w0, -128
str w0, [sp, 100]
add x0, sp, 16
add x1, sp, 72
ldp q0, q1, [x1]
stp q0, q1, [x0]
add x1, sp, 16
add x0, sp, 104
mov x2, x1
ldr x1, [sp, 56]
bl vsprintf
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
add x0, sp, 16
add x1, sp, 72
ldp q0, q1, [x1]
stp q0, q1, [x0]
add x0, sp, 16
mov x2, x0
ldr x1, [sp, 56]
mov x0, x3
bl vfprintf
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fgetc
mov w0, -1
bl exit
.cfi_endproc
.LFE6:
.size raise_error, .-raise_error
.align 2
.global create_string
.type create_string, %function
create_string:
.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]
ldr x0, [sp, 24]
add x0, x0, 1
bl malloc
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size create_string, .-create_string
.align 2
.global create_string2
.type create_string2, %function
create_string2:
.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 x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 16]
bl create_string
str x0, [sp, 40]
ldr x2, [sp, 16]
ldr x1, [sp, 24]
ldr x0, [sp, 40]
bl strncpy
ldr x1, [sp, 40]
ldr x0, [sp, 16]
add x0, x1, x0
strb wzr, [x0]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size create_string2, .-create_string2
.section .rodata
.align 3
.LC2:
.string ""
.text
.align 2
.global create_string3
.type create_string3, %function
create_string3:
.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]
ldr x0, [sp, 24]
cmp x0, 0
bne .L10
mov x1, 0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl create_string2
b .L11
.L10:
ldr x0, [sp, 24]
bl strlen
mov x1, x0
ldr x0, [sp, 24]
bl create_string2
.L11:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size create_string3, .-create_string3
.align 2
.global destroy_string
.type destroy_string, %function
destroy_string:
.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]
ldr x0, [sp, 24]
bl free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size destroy_string, .-destroy_string
.section .rodata
.align 3
.LC3:
.string "%d"
.text
.align 2
.global create_string_from
.type create_string_from, %function
create_string_from:
.LFB11:
.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 w3, [sp, 28]
adrp x0, .LC3
add x2, x0, :lo12:.LC3
mov x1, 0
mov x0, 0
bl snprintf
sxtw x0, w0
str x0, [sp, 32]
ldr x0, [sp, 32]
bl create_string
str x0, [sp, 40]
ldr w2, [sp, 28]
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 40]
bl sprintf
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size create_string_from, .-create_string_from
.section .rodata
.align 3
.LC4:
.string "%lf"
.text
.align 2
.global create_string_from2
.type create_string_from2, %function
create_string_from2:
.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 d0, [sp, 24]
ldr d0, [sp, 24]
adrp x0, .LC4
add x2, x0, :lo12:.LC4
mov x1, 0
mov x0, 0
bl snprintf
sxtw x0, w0
str x0, [sp, 32]
ldr x0, [sp, 32]
bl create_string
str x0, [sp, 40]
ldr d0, [sp, 24]
adrp x0, .LC4
add x1, x0, :lo12:.LC4
ldr x0, [sp, 40]
bl sprintf
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size create_string_from2, .-create_string_from2
.align 2
.global tol
.type tol, %function
tol:
.LFB13:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, 15]
ldrb w0, [sp, 15]
cmp w0, 64
bls .L18
ldrb w0, [sp, 15]
cmp w0, 90
bhi .L18
ldrb w0, [sp, 15]
add w0, w0, 32
b .L19
.L18:
ldrb w0, [sp, 15]
.L19:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size tol, .-tol
.align 2
.global string_equal_igcase
.type string_equal_igcase, %function
string_equal_igcase:
.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 x19, [sp, 16]
.cfi_offset 19, -64
str x0, [sp, 56]
str x1, [sp, 48]
str w2, [sp, 44]
str wzr, [sp, 76]
.L29:
ldr x0, [sp, 56]
ldrb w0, [x0]
cmp w0, 0
beq .L21
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 0
bne .L22
.L21:
ldr w0, [sp, 44]
cmp w0, 0
bge .L23
ldr x0, [sp, 56]
ldrb w1, [x0]
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w1, w0
beq .L30
mov w0, 0
b .L25
.L23:
ldr x0, [sp, 56]
ldrb w0, [x0]
cmp w0, 0
bne .L26
ldr w1, [sp, 76]
ldr w0, [sp, 44]
cmp w1, w0
beq .L30
.L26:
mov w0, 0
b .L25
.L22:
ldr x0, [sp, 56]
ldrb w0, [x0]
bl tol
mov w19, w0
ldr x0, [sp, 48]
ldrb w0, [x0]
bl tol
cmp w19, w0
beq .L28
mov w0, 0
b .L25
.L28:
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
b .L29
.L30:
nop
mov w0, 1
.L25:
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
.LFE14:
.size string_equal_igcase, .-string_equal_igcase
.align 2
.global clear_value
.type clear_value, %function
clear_value:
.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]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
bne .L34
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl destroy_string
b .L33
.L34:
nop
.L33:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size clear_value, .-clear_value
.align 2
.global search_label
.type search_label, %function
search_label:
.LFB16:
.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 x0, [x0, 24]
ldr x0, [x0]
str x0, [sp, 32]
b .L36
.L39:
ldr x0, [sp, 32]
ldr x0, [x0, 16]
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr x0, [x0]
mov w2, -1
ldr x1, [sp, 16]
bl string_equal_igcase
and w0, w0, 255
cmp w0, 0
beq .L37
ldr x0, [sp, 40]
ldr x0, [x0, 8]
b .L38
.L37:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L36:
ldr x0, [sp, 32]
cmp x0, 0
bne .L39
mov x0, 0
.L38:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size search_label, .-search_label
.align 2
.global command_devterm
.type command_devterm, %function
command_devterm:
.LFB17:
.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 w2, [sp, 28]
ldr x0, [sp, 32]
ldr x0, [x0]
ldrsw x1, [sp, 28]
bl stack_pop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size command_devterm, .-command_devterm
.section .rodata
.align 3
.LC5:
.string "dim: Array variable is one dimension only."
.align 3
.LC6:
.string "dim: Argument should be a variable."
.align 3
.LC7:
.string "dim: Array variables cannot be specified."
.align 3
.LC8:
.string "dim: Invalid value."
.text
.align 2
.global command_dim
.type command_dim, %function
command_dim:
.LFB18:
.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]
ldr w0, [sp, 28]
cmp w0, 2
beq .L42
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl raise_error
.L42:
ldr w0, [sp, 28]
neg w0, w0
str w0, [sp, 56]
ldr x0, [sp, 32]
ldr x0, [x0]
ldr w1, [sp, 56]
bl stack_peek
str x0, [sp, 64]
ldr x0, [sp, 64]
ldr w0, [x0]
cmp w0, 4
beq .L43
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl raise_error
.L43:
ldr x0, [sp, 64]
ldr w0, [x0, 16]
cmp w0, 0
ble .L44
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl raise_error
.L44:
ldr x0, [sp, 32]
ldr x2, [x0]
ldr w0, [sp, 56]
add w0, w0, 1
mov w1, w0
mov x0, x2
bl stack_peek
str x0, [sp, 72]
ldr x0, [sp, 72]
bl value_calc_int
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bgt .L45
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl raise_error
.L45:
ldr x0, [sp, 64]
ldr x0, [x0, 8]
ldr w3, [sp, 60]
mov w2, 64
mov w1, 1
bl prepare_variable
ldr x0, [sp, 32]
ldr x0, [x0]
ldrsw x1, [sp, 28]
bl stack_pop
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size command_dim, .-command_dim
.section .rodata
.align 3
.LC9:
.string "ddim: Array variable is one dimension only."
.align 3
.LC10:
.string "ddim: Argument should be a variable."
.align 3
.LC11:
.string "ddim: Array variables cannot be specified."
.align 3
.LC12:
.string "ddim: Invalid value."
.text
.align 2
.global command_ddim
.type command_ddim, %function
command_ddim:
.LFB19:
.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]
ldr w0, [sp, 28]
cmp w0, 2
beq .L47
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl raise_error
.L47:
ldr w0, [sp, 28]
neg w0, w0
str w0, [sp, 56]
ldr x0, [sp, 32]
ldr x0, [x0]
ldr w1, [sp, 56]
bl stack_peek
str x0, [sp, 64]
ldr x0, [sp, 64]
ldr w0, [x0]
cmp w0, 4
beq .L48
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl raise_error
.L48:
ldr x0, [sp, 64]
ldr w0, [x0, 16]
cmp w0, 0
ble .L49
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl raise_error
.L49:
ldr x0, [sp, 32]
ldr x2, [x0]
ldr w0, [sp, 56]
add w0, w0, 1
mov w1, w0
mov x0, x2
bl stack_peek
str x0, [sp, 72]
ldr x0, [sp, 72]
bl value_calc_int
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bgt .L50
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl raise_error
.L50:
ldr x0, [sp, 64]
ldr x0, [x0, 8]
ldr w3, [sp, 60]
mov w2, 64
mov w1, 2
bl prepare_variable
ldr x0, [sp, 32]
ldr x0, [x0]
ldrsw x1, [sp, 28]
bl stack_pop
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE19:
.size command_ddim, .-command_ddim
.section .rodata
.align 3
.LC13:
.string "sdim: Array variable is one dimension only."
.align 3
.LC14:
.string "sdim: Argument should be a variable."
.text
.align 2
.global command_sdim
.type command_sdim, %function
command_sdim:
.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 x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 1
ble .L52
ldr w0, [sp, 28]
cmp w0, 3
ble .L53
.L52:
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl raise_error
.L53:
ldr w0, [sp, 28]
neg w0, w0
str w0, [sp, 52]
ldr x0, [sp, 32]
ldr x0, [x0]
ldr w1, [sp, 52]
bl stack_peek
str x0, [sp, 64]
ldr x0, [sp, 64]
ldr w0, [x0]
cmp w0, 4
beq .L54
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl raise_error
.L54:
ldr x0, [sp, 64]
ldr w0, [x0, 16]
cmp w0, 0
ble .L55
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl raise_error
.L55:
ldr x0, [sp, 32]
ldr x2, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
mov w1, w0
mov x0, x2
bl stack_peek
str x0, [sp, 72]
ldr x0, [sp, 72]
bl value_calc_int
str w0, [sp, 56]
ldr w0, [sp, 28]
cmp w0, 2
ble .L56
ldr x0, [sp, 32]
ldr x2, [x0]
ldr w0, [sp, 52]
add w0, w0, 2
mov w1, w0
mov x0, x2
bl stack_peek
bl value_calc_int
b .L57
.L56:
mov w0, 1
.L57:
str w0, [sp, 60]
ldr w0, [sp, 56]
cmp w0, 0
ble .L58
ldr w0, [sp, 60]
cmp w0, 0
bgt .L59
.L58:
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl raise_error
.L59:
ldr x0, [sp, 64]
ldr x0, [x0, 8]
ldr w3, [sp, 60]
ldr w2, [sp, 56]
mov w1, 3
bl prepare_variable
ldr x0, [sp, 32]
ldr x0, [x0]
ldrsw x1, [sp, 28]
bl stack_pop
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size command_sdim, .-command_sdim
.section .rodata
.align 3
.LC15:
.string "mes: Invalid argument."
.align 3
.LC16:
.string "mes: Invalid value."
.text
.align 2
.global command_mes
.type command_mes, %function
command_mes:
.LFB21:
.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 w0, [sp, 28]
cmp w0, 1
beq .L61
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl raise_error
.L61:
ldr x0, [sp, 32]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 56]
ldr x0, [sp, 56]
bl value_isolate
ldr x0, [sp, 56]
ldr w0, [x0]
cmp w0, 3
beq .L62
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl raise_error
.L62:
ldr x0, [sp, 56]
ldr x0, [x0, 8]
bl puts
ldr x0, [sp, 32]
ldr x0, [x0]
ldrsw x1, [sp, 28]
bl stack_pop
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size command_mes, .-command_mes
.section .rodata
.align 3
.LC17:
.string "input: Invalid argument."
.align 3
.LC18:
.string "input: Argument should be a variable."
.align 3
.LC19:
.string "input: Array variables cannot be specified."
.text
.align 2
.global command_input
.type command_input, %function
command_input:
.LFB22:
.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, 40]
str x1, [sp, 32]
str w2, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 1
ble .L64
ldr w0, [sp, 28]
cmp w0, 3
ble .L65
.L64:
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl raise_error
.L65:
ldr w0, [sp, 28]
neg w0, w0
str w0, [sp, 68]
ldr x0, [sp, 32]
ldr x0, [x0]
ldr w1, [sp, 68]
bl stack_peek
str x0, [sp, 80]
ldr x0, [sp, 80]
ldr w0, [x0]
cmp w0, 4
beq .L66
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl raise_error
.L66:
ldr x0, [sp, 80]
ldr w0, [x0, 16]
cmp w0, 0
ble .L67
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl raise_error
.L67:
ldr x0, [sp, 32]
ldr x2, [x0]
ldr w0, [sp, 68]
add w0, w0, 1
mov w1, w0
mov x0, x2
bl stack_peek
str x0, [sp, 88]
ldr x0, [sp, 88]
bl value_calc_int
add w0, w0, 1
str w0, [sp, 72]
ldr w0, [sp, 28]
cmp w0, 2
ble .L68
ldr x0, [sp, 32]
ldr x2, [x0]
ldr w0, [sp, 68]
add w0, w0, 2
mov w1, w0
mov x0, x2
bl stack_peek
bl value_calc_int
b .L69
.L68:
mov w0, 0
.L69:
str w0, [sp, 76]
ldrsw x0, [sp, 72]
bl create_string
str x0, [sp, 96]
str wzr, [sp, 64]
.L76:
ldr w1, [sp, 64]
ldr w0, [sp, 72]
cmp w1, w0
bge .L77
bl getchar
strb w0, [sp, 61]
ldrb w0, [sp, 61]
strb w0, [sp, 62]
ldr w0, [sp, 76]
cmp w0, 1
bne .L72
ldrb w0, [sp, 62]
cmp w0, 10
beq .L78
.L72:
ldr w0, [sp, 76]
cmp w0, 2
bne .L73
ldrb w0, [sp, 62]
cmp w0, 13
bne .L74
bl getchar
strb w0, [sp, 63]
ldrb w0, [sp, 63]
cmp w0, 10
beq .L79
ldrb w2, [sp, 63]
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl ungetc
b .L73
.L74:
ldrb w0, [sp, 62]
cmp w0, 10
beq .L80
.L73:
ldrsw x0, [sp, 64]
ldr x1, [sp, 96]
add x0, x1, x0
ldrb w1, [sp, 62]
strb w1, [x0]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
b .L76
.L77:
nop
b .L71
.L78:
nop
b .L71
.L79:
nop
b .L71
.L80:
nop
.L71:
ldrsw x0, [sp, 64]
ldr x1, [sp, 96]
add x0, x1, x0
strb wzr, [x0]
ldr x0, [sp, 96]
bl create_value_move
str x0, [sp, 104]
ldr x0, [sp, 40]
ldr x4, [x0, 32]
ldr x0, [sp, 80]
ldr x0, [x0, 8]
ldr x0, [x0]
mov w3, 0
mov x2, x0
ldr x1, [sp, 104]
mov x0, x4
bl variable_set
ldr x0, [sp, 104]
bl destroy_value
ldr x0, [sp, 32]
ldr w1, [sp, 64]
str w1, [x0, 568]
ldr x0, [sp, 32]
ldr x0, [x0]
ldrsw x1, [sp, 28]
bl stack_pop
nop
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE22:
.size command_input, .-command_input
.section .rodata
.align 3
.LC20:
.string "randomize: Invalid argument."
.text
.align 2
.global command_randomize
.type command_randomize, %function
command_randomize:
.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 x1, [sp, 32]
str w2, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 1
ble .L82
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl raise_error
.L82:
str wzr, [sp, 52]
ldr w0, [sp, 28]
cmp w0, 0
bne .L83
mov x0, 0
bl time
str w0, [sp, 52]
b .L84
.L83:
ldr x0, [sp, 32]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 56]
ldr x0, [sp, 56]
bl value_calc_int
str w0, [sp, 52]
.L84:
ldr w0, [sp, 52]
bl srand
ldr x0, [sp, 32]
ldr x0, [x0]
ldrsw x1, [sp, 28]
bl stack_pop
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE23:
.size command_randomize, .-command_randomize
.section .rodata
.align 3
.LC21:
.string "bload: Invalid argument."
.align 3
.LC22:
.string "bload: Argument should specify a string type."
.align 3
.LC23:
.string "bload: Argument should be a variable."
.align 3
.LC24:
.string "rb"
.align 3
.LC25:
.string "ERROR : cannot read such file %s\n"
.text
.align 2
.global command_bload
.type command_bload, %function
command_bload:
.LFB24:
.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, 40]
str x1, [sp, 32]
str w2, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 2
beq .L86
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl raise_error
.L86:
ldr w0, [sp, 28]
neg w0, w0
str w0, [sp, 60]
ldr x0, [sp, 32]
ldr x0, [x0]
ldr w1, [sp, 60]
bl stack_peek
str x0, [sp, 64]
ldr x0, [sp, 64]
bl value_isolate
ldr x0, [sp, 64]
ldr w0, [x0]
cmp w0, 3
beq .L87
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl raise_error
.L87:
ldr x0, [sp, 64]
ldr x0, [x0, 8]
str x0, [sp, 72]
ldr x0, [sp, 32]
ldr x2, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
mov w1, w0
mov x0, x2
bl stack_peek
str x0, [sp, 80]
ldr x0, [sp, 80]
ldr w0, [x0]
cmp w0, 4
beq .L88
adrp x0, .LC23
add x0, x0, :lo12:.LC23
bl raise_error
.L88:
adrp x0, .LC24
add x1, x0, :lo12:.LC24
ldr x0, [sp, 72]
bl fopen
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
bne .L89
ldr x1, [sp, 72]
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl printf
mov w0, 1
bl exit
.L89:
mov w2, 2
mov x1, 0
ldr x0, [sp, 88]
bl fseek
ldr x0, [sp, 88]
bl ftell
str x0, [sp, 96]
mov w2, 0
mov x1, 0
ldr x0, [sp, 88]
bl fseek
ldr x0, [sp, 96]
mov x1, 1
bl calloc
str x0, [sp, 104]
ldr x0, [sp, 96]
sxtw x0, w0
ldr x3, [sp, 88]
mov x2, x0
mov x1, 1
ldr x0, [sp, 104]
bl fread
ldr x0, [sp, 80]
ldr x0, [x0, 8]
ldr x0, [x0, 24]
str x0, [sp, 112]
ldr x0, [sp, 112]
str x0, [sp, 120]
str wzr, [sp, 56]
b .L90
.L91:
ldrsw x0, [sp, 56]
ldr x1, [sp, 104]
add x1, x1, x0
ldrsw x0, [sp, 56]
ldr x2, [sp, 120]
add x0, x2, x0
ldrb w1, [x1]
strb w1, [x0]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L90:
ldrsw x0, [sp, 56]
ldr x1, [sp, 96]
cmp x1, x0
bgt .L91
ldr x0, [sp, 96]
mov w1, w0
ldr x0, [sp, 32]
str w1, [x0, 568]
ldr x0, [sp, 104]
bl free
ldr x0, [sp, 88]
bl fclose
ldr x0, [sp, 32]
ldr x0, [x0]
ldrsw x1, [sp, 28]
bl stack_pop
nop
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE24:
.size command_bload, .-command_bload
.section .rodata
.align 3
.LC26:
.string "poke: Invalid argument."
.align 3
.LC27:
.string "poke: Argument should be a variable."
.text
.align 2
.global command_poke
.type command_poke, %function
command_poke:
.LFB25:
.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, 40]
str x1, [sp, 32]
str w2, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 3
beq .L93
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl raise_error
.L93:
ldr w0, [sp, 28]
neg w0, w0
str w0, [sp, 60]
ldr x0, [sp, 32]
ldr x0, [x0]
ldr w1, [sp, 60]
bl stack_peek
str x0, [sp, 72]
ldr x0, [sp, 72]
ldr w0, [x0]
cmp w0, 4
beq .L94
adrp x0, .LC27
add x0, x0, :lo12:.LC27
bl raise_error
.L94:
ldr x0, [sp, 32]
ldr x2, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
mov w1, w0
mov x0, x2
bl stack_peek
str x0, [sp, 80]
ldr x0, [sp, 80]
bl value_calc_int
str w0, [sp, 64]
ldr x0, [sp, 32]
ldr x2, [x0]
ldr w0, [sp, 60]
add w0, w0, 2
mov w1, w0
mov x0, x2
bl stack_peek
str x0, [sp, 88]
ldr x0, [sp, 88]
bl value_calc_int
str w0, [sp, 68]
ldr x0, [sp, 72]
ldr x0, [x0, 8]
ldr x0, [x0, 24]
str x0, [sp, 96]
ldr x0, [sp, 96]
str x0, [sp, 104]
ldrsw x0, [sp, 64]
ldr x1, [sp, 104]
add x0, x1, x0
ldr w1, [sp, 68]
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 32]
ldr x0, [x0]
ldrsw x1, [sp, 28]
bl stack_pop
nop
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE25:
.size command_poke, .-command_poke
.section .rodata
.align 3
.LC28:
.string "int: Invalid argument."
.text
.align 2
.global function_int
.type function_int, %function
function_int:
.LFB26:
.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]
ldr w0, [sp, 44]
cmp w0, 1
beq .L96
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl raise_error
.L96:
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 72]
ldr x0, [sp, 72]
bl value_calc_int
str w0, [sp, 68]
ldr x0, [sp, 48]
ldr x0, [x0]
ldrsw x1, [sp, 44]
bl stack_pop
ldr x0, [sp, 48]
ldr x19, [x0]
ldr w0, [sp, 68]
bl create_value
mov x1, x0
mov x0, x19
bl stack_push
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
.LFE26:
.size function_int, .-function_int
.section .rodata
.align 3
.LC29:
.string "double: Invalid argument."
.text
.align 2
.global function_double
.type function_double, %function
function_double:
.LFB27:
.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]
ldr w0, [sp, 44]
cmp w0, 1
beq .L98
adrp x0, .LC29
add x0, x0, :lo12:.LC29
bl raise_error
.L98:
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 72]
ldr x0, [sp, 72]
bl value_calc_double
fcvtzs w0, d0
str w0, [sp, 68]
ldr x0, [sp, 48]
ldr x0, [x0]
ldrsw x1, [sp, 44]
bl stack_pop
ldr x0, [sp, 48]
ldr x19, [x0]
ldr w0, [sp, 68]
scvtf d0, w0
bl create_value2
mov x1, x0
mov x0, x19
bl stack_push
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
.LFE27:
.size function_double, .-function_double
.section .rodata
.align 3
.LC30:
.string "str: Invalid argument."
.text
.align 2
.global function_str
.type function_str, %function
function_str:
.LFB28:
.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]
ldr w0, [sp, 44]
cmp w0, 1
beq .L100
adrp x0, .LC30
add x0, x0, :lo12:.LC30
bl raise_error
.L100:
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 64]
ldr x0, [sp, 64]
bl value_calc_string
str x0, [sp, 72]
ldr x0, [sp, 48]
ldr x0, [x0]
ldrsw x1, [sp, 44]
bl stack_pop
ldr x0, [sp, 48]
ldr x19, [x0]
ldr x0, [sp, 72]
bl create_value_move
mov x1, x0
mov x0, x19
bl stack_push
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
.LFE28:
.size function_str, .-function_str
.section .rodata
.align 3
.LC31:
.string "rnd: Invalid argument."
.align 3
.LC32:
.string "rnd: Please specify 1 or more.@@ %d"
.text
.align 2
.global function_rnd
.type function_rnd, %function
function_rnd:
.LFB29:
.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]
ldr w0, [sp, 44]
cmp w0, 1
beq .L102
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl raise_error
.L102:
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 72]
ldr x0, [sp, 72]
bl value_calc_int
str w0, [sp, 64]
ldr w0, [sp, 64]
cmp w0, 0
bgt .L103
ldr w1, [sp, 64]
adrp x0, .LC32
add x0, x0, :lo12:.LC32
bl raise_error
.L103:
ldr x0, [sp, 48]
ldr x0, [x0]
ldrsw x1, [sp, 44]
bl stack_pop
bl rand
ldr w1, [sp, 64]
sdiv w2, w0, w1
ldr w1, [sp, 64]
mul w1, w2, w1
sub w0, w0, w1
str w0, [sp, 68]
ldr x0, [sp, 48]
ldr x19, [x0]
ldr w0, [sp, 68]
bl create_value
mov x1, x0
mov x0, x19
bl stack_push
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
.LFE29:
.size function_rnd, .-function_rnd
.section .rodata
.align 3
.LC33:
.string "abs: Invalid argument."
.text
.align 2
.global function_abs
.type function_abs, %function
function_abs:
.LFB30:
.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]
ldr w0, [sp, 44]
cmp w0, 1
beq .L105
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl raise_error
.L105:
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 72]
ldr x0, [sp, 72]
bl value_calc_int
str w0, [sp, 64]
ldr x0, [sp, 48]
ldr x0, [x0]
ldrsw x1, [sp, 44]
bl stack_pop
ldr w0, [sp, 64]
cmp w0, 0
csneg w0, w0, w0, ge
str w0, [sp, 68]
ldr x0, [sp, 48]
ldr x19, [x0]
ldr w0, [sp, 68]
bl create_value
mov x1, x0
mov x0, x19
bl stack_push
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
.LFE30:
.size function_abs, .-function_abs
.section .rodata
.align 3
.LC34:
.string "powf: Invalid argument."
.text
.align 2
.global function_powf
.type function_powf, %function
function_powf:
.LFB31:
.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 x0, [sp, 56]
str x1, [sp, 48]
str w2, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 2
beq .L107
adrp x0, .LC34
add x0, x0, :lo12:.LC34
bl raise_error
.L107:
ldr w0, [sp, 44]
neg w0, w0
str w0, [sp, 76]
ldr x0, [sp, 48]
ldr x0, [x0]
ldr w1, [sp, 76]
bl stack_peek
str x0, [sp, 80]
ldr x0, [sp, 80]
bl value_calc_double
str d0, [sp, 88]
ldr x0, [sp, 48]
ldr x2, [x0]
ldr w0, [sp, 76]
add w0, w0, 1
mov w1, w0
mov x0, x2
bl stack_peek
str x0, [sp, 96]
ldr x0, [sp, 96]
bl value_calc_double
str d0, [sp, 104]
ldr x0, [sp, 48]
ldr x0, [x0]
ldrsw x1, [sp, 44]
bl stack_pop
ldr x0, [sp, 48]
ldr x19, [x0]
ldr d0, [sp, 88]
fcvt s2, d0
ldr d0, [sp, 104]
fcvt s0, d0
fmov s1, s0
fmov s0, s2
bl powf
fcvt d0, s0
bl create_value2
mov x1, x0
mov x0, x19
bl stack_push
nop
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
.LFE31:
.size function_powf, .-function_powf
.section .rodata
.align 3
.LC35:
.string "peek: Invalid argument."
.text
.align 2
.global function_peek
.type function_peek, %function
function_peek:
.LFB32:
.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 x0, [sp, 56]
str x1, [sp, 48]
str w2, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 2
beq .L109
adrp x0, .LC35
add x0, x0, :lo12:.LC35
bl raise_error
.L109:
ldr w0, [sp, 44]
neg w0, w0
str w0, [sp, 80]
ldr x0, [sp, 48]
ldr x2, [x0]
ldr w0, [sp, 80]
add w0, w0, 1
mov w1, w0
mov x0, x2
bl stack_peek
str x0, [sp, 88]
ldr x0, [sp, 88]
bl value_calc_int
str w0, [sp, 84]
ldr x0, [sp, 48]
ldr x0, [x0]
ldr w1, [sp, 80]
bl stack_peek
str x0, [sp, 96]
ldr x0, [sp, 96]
bl value_isolate
ldr x0, [sp, 96]
ldr x0, [x0, 8]
str x0, [sp, 104]
ldrsw x0, [sp, 84]
ldr x1, [sp, 104]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 79]
ldr x0, [sp, 48]
ldr x0, [x0]
ldrsw x1, [sp, 44]
bl stack_pop
ldr x0, [sp, 48]
ldr x19, [x0]
ldrb w0, [sp, 79]
bl create_value
mov x1, x0
mov x0, x19
bl stack_push
nop
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
.LFE32:
.size function_peek, .-function_peek
.align 2
.global create_list_node
.type create_list_node, %function
create_list_node:
.LFB33:
.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, 24
bl malloc
str x0, [sp, 24]
ldr x0, [sp, 24]
str xzr, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
str xzr, [x0, 16]
ldr x0, [sp, 24]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE33:
.size create_list_node, .-create_list_node
.align 2
.global destroy_list_node
.type destroy_list_node, %function
destroy_list_node:
.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 x0, [sp, 24]
bl unlink_list_node
ldr x0, [sp, 24]
bl free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE34:
.size destroy_list_node, .-destroy_list_node
.section .rodata
.align 3
.LC36:
.string "program.c"
.align 3
.LC37:
.string "node->prev_ == NULL && node->next_ == NULL"
.text
.align 2
.global link_next
.type link_next, %function
link_next:
.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]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x0, 0
bne .L114
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
beq .L116
.L114:
adrp x0, __PRETTY_FUNCTION__.50
add x3, x0, :lo12:__PRETTY_FUNCTION__.50
mov w2, 923
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC37
add x0, x0, :lo12:.LC37
bl __assert_fail
.L116:
ldr x0, [sp, 24]
ldr x1, [sp, 16]
str x1, [x0]
ldr x0, [sp, 16]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 16]
ldr x1, [sp, 24]
str x1, [x0, 8]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE35:
.size link_next, .-link_next
.align 2
.global link_prev
.type link_prev, %function
link_prev:
.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]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x0, 0
bne .L118
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
beq .L120
.L118:
adrp x0, __PRETTY_FUNCTION__.49
add x3, x0, :lo12:__PRETTY_FUNCTION__.49
mov w2, 932
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC37
add x0, x0, :lo12:.LC37
bl __assert_fail
.L120:
ldr x0, [sp, 16]
ldr x1, [x0]
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
ldr x1, [sp, 16]
str x1, [x0, 8]
ldr x0, [sp, 16]
ldr x1, [sp, 24]
str x1, [x0]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE36:
.size link_prev, .-link_prev
.align 2
.global unlink_list_node
.type unlink_list_node, %function
unlink_list_node:
.LFB37:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr x0, [x0]
cmp x0, 0
bne .L122
ldr x0, [sp, 8]
ldr x0, [x0, 8]
cmp x0, 0
bne .L122
mov w0, 0
b .L123
.L122:
ldr x0, [sp, 8]
ldr x0, [x0]
cmp x0, 0
beq .L124
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x1, [sp, 8]
ldr x1, [x1, 8]
str x1, [x0, 8]
.L124:
ldr x0, [sp, 8]
ldr x0, [x0, 8]
cmp x0, 0
beq .L125
ldr x0, [sp, 8]
ldr x0, [x0, 8]
ldr x1, [sp, 8]
ldr x1, [x1]
str x1, [x0]
.L125:
ldr x0, [sp, 8]
str xzr, [x0, 8]
ldr x0, [sp, 8]
ldr x1, [x0, 8]
ldr x0, [sp, 8]
str x1, [x0]
mov w0, 1
.L123:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE37:
.size unlink_list_node, .-unlink_list_node
.align 2
.global create_list
.type create_list, %function
create_list:
.LFB38:
.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, 16
bl malloc
str x0, [sp, 24]
ldr x0, [sp, 24]
str xzr, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE38:
.size create_list, .-create_list
.align 2
.global destroy_list
.type destroy_list, %function
destroy_list:
.LFB39:
.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 free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE39:
.size destroy_list, .-destroy_list
.section .rodata
.align 3
.LC38:
.string "list->tail_ == NULL"
.text
.align 2
.global list_prepend
.type list_prepend, %function
list_prepend:
.LFB40:
.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, 24]
ldr x0, [x0]
cmp x0, 0
bne .L130
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
beq .L131
adrp x0, __PRETTY_FUNCTION__.48
add x3, x0, :lo12:__PRETTY_FUNCTION__.48
mov w2, 972
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl __assert_fail
.L131:
ldr x0, [sp, 24]
ldr x1, [sp, 16]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
str x1, [x0]
b .L129
.L130:
ldr x0, [sp, 24]
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 16]
bl link_prev
ldr x0, [sp, 24]
ldr x1, [sp, 16]
str x1, [x0]
.L129:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE40:
.size list_prepend, .-list_prepend
.section .rodata
.align 3
.LC39:
.string "list->head_ == NULL"
.text
.align 2
.global list_append
.type list_append, %function
list_append:
.LFB41:
.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, 24]
ldr x0, [x0, 8]
cmp x0, 0
bne .L134
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x0, 0
beq .L135
adrp x0, __PRETTY_FUNCTION__.47
add x3, x0, :lo12:__PRETTY_FUNCTION__.47
mov w2, 984
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl __assert_fail
.L135:
ldr x0, [sp, 24]
ldr x1, [sp, 16]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
str x1, [x0]
b .L133
.L134:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
mov x1, x0
ldr x0, [sp, 16]
bl link_next
ldr x0, [sp, 24]
ldr x1, [sp, 16]
str x1, [x0, 8]
.L133:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE41:
.size list_append, .-list_append
.align 2
.global list_erase
.type list_erase, %function
list_erase:
.LFB42:
.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, 24]
ldr x0, [x0]
ldr x1, [sp, 16]
cmp x1, x0
bne .L138
ldr x0, [sp, 16]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
str x1, [x0]
.L138:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
ldr x1, [sp, 16]
cmp x1, x0
bne .L139
ldr x0, [sp, 16]
ldr x1, [x0]
ldr x0, [sp, 24]
str x1, [x0, 8]
.L139:
ldr x0, [sp, 16]
bl unlink_list_node
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE42:
.size list_erase, .-list_erase
.align 2
.global list_find
.type list_find, %function
list_find:
.LFB43:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp, 8]
ldr x0, [x0]
str x0, [sp, 24]
b .L141
.L144:
ldr x0, [sp, 24]
ldr x0, [x0, 16]
ldr x1, [sp]
cmp x1, x0
bne .L142
ldr x0, [sp, 24]
b .L143
.L142:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L141:
ldr x0, [sp, 24]
cmp x0, 0
bne .L144
mov x0, 0
.L143:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE43:
.size list_find, .-list_find
.align 2
.global list_free_all
.type list_free_all, %function
list_free_all:
.LFB44:
.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]
ldr x0, [x0]
str x0, [sp, 32]
b .L146
.L147:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x1, [sp, 32]
ldr x0, [sp, 24]
bl list_erase
ldr x0, [sp, 32]
bl free
ldr x0, [sp, 40]
str x0, [sp, 32]
.L146:
ldr x0, [sp, 32]
cmp x0, 0
bne .L147
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE44:
.size list_free_all, .-list_free_all
.align 2
.global query_keyword
.type query_keyword, %function
query_keyword:
.LFB45:
.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 .L149
.L152:
adrp x0, table.46
add x1, x0, :lo12:table.46
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
mov w2, -1
mov x1, x0
ldr x0, [sp, 24]
bl string_equal_igcase
and w0, w0, 255
cmp w0, 0
beq .L150
adrp x0, table.46
add x1, x0, :lo12:table.46
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0]
b .L151
.L150:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L149:
adrp x0, table.46
add x1, x0, :lo12:table.46
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0]
cmn w0, #1
bne .L152
mov w0, -1
.L151:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE45:
.size query_keyword, .-query_keyword
.align 2
.global query_token_shadow
.type query_token_shadow, %function
query_token_shadow:
.LFB46:
.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]
str wzr, [sp, 44]
b .L154
.L157:
adrp x0, shadows.45
add x1, x0, :lo12:shadows.45
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
ldr x1, [sp, 16]
mov w2, w1
ldr x1, [sp, 24]
bl string_equal_igcase
and w0, w0, 255
cmp w0, 0
beq .L155
adrp x0, shadows.45
add x1, x0, :lo12:shadows.45
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0]
b .L156
.L155:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L154:
adrp x0, shadows.45
add x1, x0, :lo12:shadows.45
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0]
cmn w0, #1
bne .L157
mov w0, -1
.L156:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE46:
.size query_token_shadow, .-query_token_shadow
.align 2
.global initialize_tokenize_context
.type initialize_tokenize_context, %function
initialize_tokenize_context:
.LFB47:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp, 8]
ldr x1, [sp]
str x1, [x0]
ldr x0, [sp, 8]
str wzr, [x0, 8]
ldr x0, [sp, 8]
str wzr, [x0, 12]
ldr x0, [sp, 8]
ldr x1, [sp]
str x1, [x0, 16]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE47:
.size initialize_tokenize_context, .-initialize_tokenize_context
.align 2
.global uninitialize_tokenize_context
.type uninitialize_tokenize_context, %function
uninitialize_tokenize_context:
.LFB48:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
str xzr, [x0]
ldr x0, [sp, 8]
str wzr, [x0, 8]
ldr x0, [sp, 8]
str wzr, [x0, 12]
ldr x0, [sp, 8]
str xzr, [x0, 16]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE48:
.size uninitialize_tokenize_context, .-uninitialize_tokenize_context
.align 2
.global is_space
.type is_space, %function
is_space:
.LFB49:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, 15]
ldrb w0, [sp, 15]
cmp w0, 32
beq .L161
ldrb w0, [sp, 15]
cmp w0, 9
bne .L162
.L161:
mov w0, 1
b .L163
.L162:
mov w0, 0
.L163:
and w0, w0, 1
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE49:
.size is_space, .-is_space
.align 2
.global is_number
.type is_number, %function
is_number:
.LFB50:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, 15]
ldrb w0, [sp, 15]
cmp w0, 47
bls .L166
ldrb w0, [sp, 15]
cmp w0, 57
bhi .L166
mov w0, 1
b .L167
.L166:
mov w0, 0
.L167:
and w0, w0, 1
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE50:
.size is_number, .-is_number
.align 2
.global is_alpha
.type is_alpha, %function
is_alpha:
.LFB51:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, 15]
ldrb w0, [sp, 15]
cmp w0, 96
bls .L170
ldrb w0, [sp, 15]
cmp w0, 122
bls .L171
.L170:
ldrb w0, [sp, 15]
cmp w0, 64
bls .L172
ldrb w0, [sp, 15]
cmp w0, 90
bhi .L172
.L171:
mov w0, 1
b .L173
.L172:
mov w0, 0
.L173:
and w0, w0, 1
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE51:
.size is_alpha, .-is_alpha
.align 2
.global is_rest_ident
.type is_rest_ident, %function
is_rest_ident:
.LFB52:
.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 is_number
and w0, w0, 255
cmp w0, 0
bne .L176
ldrb w0, [sp, 31]
bl is_alpha
and w0, w0, 255
cmp w0, 0
bne .L176
ldrb w0, [sp, 31]
cmp w0, 95
bne .L177
.L176:
mov w0, 1
b .L178
.L177:
mov w0, 0
.L178:
and w0, w0, 1
and w0, w0, 255
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE52:
.size is_rest_ident, .-is_rest_ident
.section .rodata
.align 3
.LC40:
.string "EOF detected in string.@@ %d Row"
.align 3
.LC41:
.string "Unknown character[%c]@@ %d Row"
.text
.align 2
.global get_token
.type get_token, %function
get_token:
.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 x0, [sp, 24]
mov x0, 32
bl malloc
str x0, [sp, 56]
ldr x0, [sp, 56]
mov w1, -1
str w1, [x0]
ldr x0, [sp, 56]
str xzr, [x0, 8]
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 56]
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 56]
str w1, [x0, 20]
ldr x0, [sp, 56]
strb wzr, [x0, 28]
ldr x0, [sp, 56]
strb wzr, [x0, 29]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
sxtw x0, w0
add x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
sxtw x0, w0
add x0, x1, x0
str x0, [sp, 48]
.L181:
ldr x0, [sp, 48]
str x0, [sp, 72]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [sp, 48]
sub x0, x1, x0
str w0, [sp, 36]
ldr x0, [sp, 24]
ldr w1, [x0, 12]
ldr x0, [sp, 56]
str w1, [x0, 24]
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 125
bhi .L182
adrp x1, .L184
add x1, x1, :lo12:.L184
ldr w0, [x1,w0,uxtw #2]
adr x1, .Lrtx184
add x0, x1, w0, sxtw #2
br x0
.Lrtx184:
.section .rodata
.align 0
.align 2
.L184:
.word (.L205 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L204 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L203 - .Lrtx184) / 4
.word (.L203 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L202 - .Lrtx184) / 4
.word (.L201 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L200 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L199 - .Lrtx184) / 4
.word (.L198 - .Lrtx184) / 4
.word (.L197 - .Lrtx184) / 4
.word (.L196 - .Lrtx184) / 4
.word (.L195 - .Lrtx184) / 4
.word (.L194 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L193 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L192 - .Lrtx184) / 4
.word (.L191 - .Lrtx184) / 4
.word (.L190 - .Lrtx184) / 4
.word (.L189 - .Lrtx184) / 4
.word (.L188 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L187 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L182 - .Lrtx184) / 4
.word (.L186 - .Lrtx184) / 4
.word (.L185 - .Lrtx184) / 4
.word (.L183 - .Lrtx184) / 4
.text
.L205:
ldr x0, [sp, 56]
str wzr, [x0]
b .L206
.L203:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
b .L181
.L204:
ldr x0, [sp, 24]
ldr w0, [x0, 12]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 12]
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 24]
ldr x1, [sp, 48]
str x1, [x0, 16]
ldr x0, [sp, 56]
mov w1, 1
str w1, [x0]
b .L206
.L192:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 2
str w1, [x0]
b .L206
.L186:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 3
str w1, [x0]
b .L206
.L183:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 4
str w1, [x0]
b .L206
.L199:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 5
str w1, [x0]
b .L206
.L198:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 6
str w1, [x0]
b .L206
.L195:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 7
str w1, [x0]
b .L206
.L185:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 11
str w1, [x0]
b .L206
.L200:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 12
str w1, [x0]
b .L206
.L202:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 61
bne .L207
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L207:
ldr x0, [sp, 56]
mov w1, 14
str w1, [x0]
b .L206
.L188:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 61
bne .L208
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 16
str w1, [x0]
b .L206
.L208:
ldr x0, [sp, 56]
mov w1, 15
str w1, [x0]
b .L206
.L190:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 61
bne .L210
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 18
str w1, [x0]
b .L206
.L210:
ldr x0, [sp, 56]
mov w1, 17
str w1, [x0]
b .L206
.L196:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 19
str w1, [x0]
b .L206
.L194:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 20
str w1, [x0]
b .L206
.L197:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 21
str w1, [x0]
b .L206
.L193:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 22
str w1, [x0]
b .L206
.L187:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 23
str w1, [x0]
b .L206
.L189:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 61
bne .L212
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 13
str w1, [x0]
b .L206
.L212:
ldr x0, [sp, 56]
mov w1, 24
str w1, [x0]
b .L206
.L201:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 48]
str x0, [sp, 80]
b .L214
.L217:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 0
bne .L215
ldr x0, [sp, 24]
ldr w0, [x0, 12]
mov w1, w0
adrp x0, .LC40
add x0, x0, :lo12:.LC40
bl raise_error
.L215:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 92
bne .L216
ldr x0, [sp, 48]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 34
bne .L216
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L216:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L214:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 34
bne .L217
ldr x0, [sp, 48]
str x0, [sp, 88]
ldr x1, [sp, 88]
ldr x0, [sp, 80]
sub x0, x1, x0
mov x1, x0
ldr x0, [sp, 80]
bl create_token_string
mov x1, x0
ldr x0, [sp, 56]
str x1, [x0, 8]
ldr x0, [sp, 56]
mov w1, 10
str w1, [x0]
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
b .L206
.L191:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
b .L218
.L220:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L218:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 10
beq .L181
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 0
bne .L220
b .L181
.L182:
ldr x0, [sp, 48]
ldrb w0, [x0]
bl is_space
and w0, w0, 255
cmp w0, 0
beq .L221
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 56]
mov w1, 1
strb w1, [x0, 28]
b .L222
.L223:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L222:
ldr x0, [sp, 48]
ldrb w0, [x0]
bl is_space
and w0, w0, 255
cmp w0, 0
bne .L223
b .L181
.L221:
ldr x0, [sp, 48]
ldrb w0, [x0]
bl is_number
and w0, w0, 255
cmp w0, 0
beq .L224
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 48
bne .L227
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
b .L226
.L228:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L227:
ldr x0, [sp, 48]
ldrb w0, [x0]
bl is_number
and w0, w0, 255
cmp w0, 0
bne .L228
.L226:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 46
bne .L229
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
b .L230
.L231:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L230:
ldr x0, [sp, 48]
ldrb w0, [x0]
bl is_number
and w0, w0, 255
cmp w0, 0
bne .L231
ldr x0, [sp, 56]
mov w1, 9
str w1, [x0]
b .L239
.L229:
ldr x0, [sp, 56]
mov w1, 8
str w1, [x0]
b .L239
.L224:
ldr x0, [sp, 48]
ldrb w0, [x0]
bl is_alpha
and w0, w0, 255
cmp w0, 0
beq .L233
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
b .L234
.L235:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L234:
ldr x0, [sp, 48]
ldrb w0, [x0]
bl is_rest_ident
and w0, w0, 255
cmp w0, 0
bne .L235
ldr x0, [sp, 56]
mov w1, 25
str w1, [x0]
ldr x0, [sp, 24]
ldr x1, [x0]
ldrsw x0, [sp, 36]
add x2, x1, x0
ldr x1, [sp, 48]
ldr x0, [sp, 72]
sub x0, x1, x0
mov x1, x0
mov x0, x2
bl query_token_shadow
str w0, [sp, 40]
ldr w0, [sp, 40]
cmn w0, #1
beq .L239
ldr x0, [sp, 56]
ldr w1, [sp, 40]
str w1, [x0]
b .L239
.L233:
ldr x0, [sp, 48]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 12]
mov w2, w0
adrp x0, .LC41
add x0, x0, :lo12:.LC41
bl raise_error
.L239:
nop
.L206:
ldr x0, [sp, 48]
ldrb w0, [x0]
bl is_space
and w0, w0, 255
cmp w0, 0
beq .L236
ldr x0, [sp, 56]
mov w1, 1
strb w1, [x0, 29]
.L236:
ldr x0, [sp, 24]
ldr w0, [x0, 8]
mov w2, w0
ldr x1, [sp, 48]
ldr x0, [sp, 64]
sub x0, x1, x0
add w0, w2, w0
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
ldr x0, [sp, 56]
ldr w1, [sp, 36]
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 56]
str w1, [x0, 20]
ldr x0, [sp, 56]
ldr x0, [x0, 8]
cmp x0, 0
bne .L237
ldr x0, [sp, 56]
ldr w1, [x0, 20]
ldr x0, [sp, 56]
ldr w0, [x0, 16]
sub w0, w1, w0
str w0, [sp, 44]
ldrsw x0, [sp, 44]
bl create_string
mov x1, x0
ldr x0, [sp, 56]
str x1, [x0, 8]
ldr x0, [sp, 56]
ldr x3, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 56]
ldr w0, [x0, 16]
sxtw x0, w0
add x0, x1, x0
ldrsw x1, [sp, 44]
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 56]
ldr x1, [x0, 8]
ldrsw x0, [sp, 44]
add x0, x1, x0
strb wzr, [x0]
.L237:
ldr x0, [sp, 56]
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE53:
.size get_token, .-get_token
.align 2
.global destroy_token
.type destroy_token, %function
destroy_token:
.LFB54:
.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 x0, [x0, 8]
cmp x0, 0
beq .L242
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl destroy_string
ldr x0, [sp, 24]
str xzr, [x0, 8]
.L242:
ldr x0, [sp, 24]
bl free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE54:
.size destroy_token, .-destroy_token
.section .rodata
.align 3
.LC42:
.string "Unknown escape sequence@@ %c%c"
.text
.align 2
.global create_token_string
.type create_token_string, %function
create_token_string:
.LFB55:
.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, 16]
bl create_string
str x0, [sp, 56]
str xzr, [sp, 40]
str xzr, [sp, 48]
b .L244
.L252:
ldr x1, [sp, 24]
ldr x0, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 92
bne .L245
ldr x0, [sp, 48]
add x0, x0, 1
ldr x1, [sp, 16]
cmp x1, x0
bls .L245
ldr x0, [sp, 48]
add x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 116
beq .L246
cmp w0, 116
bgt .L247
cmp w0, 34
beq .L248
cmp w0, 110
beq .L249
b .L247
.L246:
ldr x1, [sp, 56]
ldr x0, [sp, 40]
add x0, x1, x0
mov w1, 9
strb w1, [x0]
b .L250
.L249:
ldr x1, [sp, 56]
ldr x0, [sp, 40]
add x0, x1, x0
mov w1, 10
strb w1, [x0]
b .L250
.L248:
ldr x1, [sp, 56]
ldr x0, [sp, 40]
add x0, x1, x0
mov w1, 34
strb w1, [x0]
b .L250
.L247:
ldr x1, [sp, 24]
ldr x0, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldr x0, [sp, 48]
add x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
mov w2, w0
mov w1, w3
adrp x0, .LC42
add x0, x0, :lo12:.LC42
bl raise_error
nop
.L250:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
b .L251
.L245:
ldr x1, [sp, 24]
ldr x0, [sp, 48]
add x1, x1, x0
ldr x2, [sp, 56]
ldr x0, [sp, 40]
add x0, x2, x0
ldrb w1, [x1]
strb w1, [x0]
.L251:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L244:
ldr x1, [sp, 48]
ldr x0, [sp, 16]
cmp x1, x0
bcc .L252
ldr x1, [sp, 56]
ldr x0, [sp, 40]
add x0, x1, x0
strb wzr, [x0]
ldr x0, [sp, 56]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE55:
.size create_token_string, .-create_token_string
.align 2
.global create_parse_context
.type create_parse_context, %function
create_parse_context:
.LFB56:
.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, 24
bl malloc
str x0, [sp, 24]
ldr x0, [sp, 24]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE56:
.size create_parse_context, .-create_parse_context
.align 2
.global destroy_parse_context
.type destroy_parse_context, %function
destroy_parse_context:
.LFB57:
.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 free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE57:
.size destroy_parse_context, .-destroy_parse_context
.align 2
.global initialize_parse_context
.type initialize_parse_context, %function
initialize_parse_context:
.LFB58:
.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]
bl create_list
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
str xzr, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [sp, 16]
str x1, [x0, 16]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE58:
.size initialize_parse_context, .-initialize_parse_context
.align 2
.global uninitialize_parse_context
.type uninitialize_parse_context, %function
uninitialize_parse_context:
.LFB59:
.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]
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x0, 0
beq .L259
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x0, [x0]
str x0, [sp, 40]
b .L260
.L261:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 48]
ldr x0, [sp, 40]
ldr x0, [x0, 16]
str x0, [sp, 56]
ldr x0, [sp, 56]
bl destroy_token
ldr x0, [sp, 40]
bl destroy_list_node
ldr x0, [sp, 48]
str x0, [sp, 40]
.L260:
ldr x0, [sp, 40]
cmp x0, 0
bne .L261
ldr x0, [sp, 24]
ldr x0, [x0]
bl destroy_list
.L259:
ldr x0, [sp, 24]
str xzr, [x0]
ldr x0, [sp, 24]
str xzr, [x0, 8]
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE59:
.size uninitialize_parse_context, .-uninitialize_parse_context
.section .rodata
.align 3
.LC43:
.string "c->token_current_ != NULL"
.text
.align 2
.global read_token
.type read_token, %function
read_token:
.LFB60:
.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]
ldr x0, [x0, 8]
cmp x0, 0
bne .L263
bl create_list_node
str x0, [sp, 32]
ldr x0, [sp, 24]
ldr x0, [x0, 16]
bl get_token
mov x1, x0
ldr x0, [sp, 32]
str x1, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [sp, 32]
bl list_append
ldr x0, [sp, 24]
ldr x1, [sp, 32]
str x1, [x0, 8]
.L263:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
bne .L264
adrp x0, __PRETTY_FUNCTION__.44
add x3, x0, :lo12:__PRETTY_FUNCTION__.44
mov w2, 1425
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl __assert_fail
.L264:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldr x0, [x0, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE60:
.size read_token, .-read_token
.align 2
.global unread_token
.type unread_token, %function
unread_token:
.LFB61:
.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]
cmp x0, 0
beq .L273
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
bne .L270
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 16]
sub x0, x0, #1
str x0, [sp, 16]
b .L270
.L272:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
bne .L271
adrp x0, __PRETTY_FUNCTION__.43
add x3, x0, :lo12:__PRETTY_FUNCTION__.43
mov w2, 1442
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl __assert_fail
.L271:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
ldr x1, [x0]
ldr x0, [sp, 24]
str x1, [x0, 8]
.L270:
ldr x0, [sp, 16]
sub x1, x0, #1
str x1, [sp, 16]
cmp x0, 0
bne .L272
b .L266
.L273:
nop
.L266:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE61:
.size unread_token, .-unread_token
.section .rodata
.align 3
.LC44:
.string "current != NULL"
.text
.align 2
.global prev_token
.type prev_token, %function
prev_token:
.LFB62:
.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 x0, [x0, 8]
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L276
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x0, [x0, 8]
str x0, [sp, 40]
b .L276
.L278:
ldr x0, [sp, 40]
cmp x0, 0
bne .L277
adrp x0, __PRETTY_FUNCTION__.42
add x3, x0, :lo12:__PRETTY_FUNCTION__.42
mov w2, 1455
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl __assert_fail
.L277:
ldr x0, [sp, 40]
ldr x0, [x0]
str x0, [sp, 40]
.L276:
ldr x0, [sp, 16]
sub x1, x0, #1
str x1, [sp, 16]
cmp x0, 0
bne .L278
ldr x0, [sp, 40]
ldr x0, [x0, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE62:
.size prev_token, .-prev_token
.align 2
.global create_ast_node
.type create_ast_node, %function
create_ast_node:
.LFB63:
.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, 44]
str x1, [sp, 32]
str x2, [sp, 24]
mov x0, 48
bl malloc
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w1, [sp, 44]
str w1, [x0]
ldr x0, [sp, 56]
str xzr, [x0, 8]
ldr x0, [sp, 56]
ldr x1, [sp, 32]
str x1, [x0, 16]
ldr x0, [sp, 56]
ldr x1, [sp, 24]
str x1, [x0, 24]
ldr x0, [sp, 56]
str wzr, [x0, 32]
ldr x0, [sp, 56]
str xzr, [x0, 40]
ldr x0, [sp, 56]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE63:
.size create_ast_node, .-create_ast_node
.align 2
.global create_ast_node2
.type create_ast_node2, %function
create_ast_node2:
.LFB64:
.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, 44]
str x1, [sp, 32]
str x2, [sp, 24]
mov x0, 48
bl malloc
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w1, [sp, 44]
str w1, [x0]
ldr x0, [sp, 56]
ldr x1, [sp, 32]
str x1, [x0, 8]
ldr x0, [sp, 56]
ldr x1, [sp, 24]
str x1, [x0, 16]
ldr x0, [sp, 56]
str xzr, [x0, 24]
ldr x0, [sp, 56]
str wzr, [x0, 32]
ldr x0, [sp, 56]
str xzr, [x0, 40]
ldr x0, [sp, 56]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE64:
.size create_ast_node2, .-create_ast_node2
.section .rodata
.align 3
.LC45:
.string "node != NULL"
.text
.align 2
.global destroy_ast_node
.type destroy_ast_node, %function
destroy_ast_node:
.LFB65:
.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]
cmp x0, 0
bne .L285
adrp x0, __PRETTY_FUNCTION__.41
add x3, x0, :lo12:__PRETTY_FUNCTION__.41
mov w2, 1490
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC45
add x0, x0, :lo12:.LC45
bl __assert_fail
.L285:
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 0
beq .L286
ldr x0, [sp, 24]
ldr x0, [x0, 16]
bl destroy_ast_node
.L286:
ldr x0, [sp, 24]
ldr x0, [x0, 24]
cmp x0, 0
beq .L287
ldr x0, [sp, 24]
ldr x0, [x0, 24]
bl destroy_ast_node
.L287:
ldr x0, [sp, 24]
bl free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE65:
.size destroy_ast_node, .-destroy_ast_node
.align 2
.global is_eos_like_token
.type is_eos_like_token, %function
is_eos_like_token:
.LFB66:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
cmp w0, 0
beq .L289
ldr w0, [sp, 12]
cmp w0, 1
beq .L289
ldr w0, [sp, 12]
cmp w0, 2
beq .L289
ldr w0, [sp, 12]
cmp w0, 4
bne .L290
.L289:
mov w0, 1
b .L291
.L290:
mov w0, 0
.L291:
and w0, w0, 1
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE66:
.size is_eos_like_token, .-is_eos_like_token
.section .rodata
.align 3
.LC46:
.string "Script couldn't be parsed successfully.@@ %d Row"
.text
.align 2
.global parse_script
.type parse_script, %function
parse_script:
.LFB67:
.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]
bl create_list
str x0, [sp, 32]
.L296:
ldr x0, [sp, 24]
bl parse_statement
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L300
bl create_list_node
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr x1, [sp, 40]
str x1, [x0, 16]
ldr x1, [sp, 48]
ldr x0, [sp, 32]
bl list_append
b .L296
.L300:
nop
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w0, [x0]
cmp w0, 0
beq .L297
ldr x0, [sp, 56]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC46
add x0, x0, :lo12:.LC46
bl raise_error
.L297:
ldr x0, [sp, 32]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE67:
.size parse_script, .-parse_script
.align 2
.global destroy_ast
.type destroy_ast, %function
destroy_ast:
.LFB68:
.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]
ldr x0, [x0]
str x0, [sp, 32]
b .L302
.L303:
ldr x0, [sp, 32]
ldr x0, [x0, 16]
str x0, [sp, 40]
ldr x0, [sp, 40]
bl destroy_ast_node
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L302:
ldr x0, [sp, 32]
cmp x0, 0
bne .L303
ldr x0, [sp, 24]
bl list_free_all
ldr x0, [sp, 24]
bl destroy_list
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE68:
.size destroy_ast, .-destroy_ast
.section .rodata
.align 3
.LC47:
.string "Statement cannot be parsed.@@ %d Row"
.align 3
.LC48:
.string "Statement couldn't be parsed successfully.@@ %d Row"
.text
.align 2
.global parse_statement
.type parse_statement, %function
parse_statement:
.LFB69:
.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]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 0
bne .L305
mov x0, 0
b .L306
.L305:
ldr x0, [sp, 40]
ldr w0, [x0]
bl is_eos_like_token
and w0, w0, 255
cmp w0, 0
beq .L307
mov x2, 0
mov x1, 0
mov w0, 0
bl create_ast_node
b .L306
.L307:
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
str xzr, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
bne .L308
ldr x0, [sp, 24]
bl parse_label_safe
str x0, [sp, 32]
.L308:
ldr x0, [sp, 32]
cmp x0, 0
bne .L309
ldr x0, [sp, 24]
bl parse_control_safe
str x0, [sp, 32]
.L309:
ldr x0, [sp, 32]
cmp x0, 0
bne .L310
ldr x0, [sp, 24]
bl parse_command_safe
str x0, [sp, 32]
.L310:
ldr x0, [sp, 32]
cmp x0, 0
bne .L311
ldr x0, [sp, 24]
bl parse_assign_safe
str x0, [sp, 32]
.L311:
ldr x0, [sp, 32]
cmp x0, 0
bne .L312
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC47
add x0, x0, :lo12:.LC47
bl raise_error
.L312:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w0, [x0]
bl is_eos_like_token
and w0, w0, 255
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L313
ldr x0, [sp, 56]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC48
add x0, x0, :lo12:.LC48
bl raise_error
.L313:
ldr x0, [sp, 32]
.L306:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE69:
.size parse_statement, .-parse_statement
.align 2
.global parse_label_safe
.type parse_label_safe, %function
parse_label_safe:
.LFB70:
.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 read_token
str x0, [sp, 32]
ldr x0, [sp, 32]
ldr w0, [x0]
cmp w0, 21
beq .L315
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
mov x0, 0
b .L316
.L315:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 25
beq .L317
mov x1, 2
ldr x0, [sp, 24]
bl unread_token
mov x0, 0
b .L316
.L317:
mov x2, 0
ldr x1, [sp, 40]
mov w0, 1
bl create_ast_node2
.L316:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE70:
.size parse_label_safe, .-parse_label_safe
.align 2
.global is_else_token
.type is_else_token, %function
is_else_token:
.LFB71:
.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, 25
bne .L319
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl query_keyword
cmp w0, 9
bne .L319
mov w0, 1
b .L320
.L319:
mov w0, 0
.L320:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE71:
.size is_else_token, .-is_else_token
.section .rodata
.align 3
.LC49:
.string "Labels must be specified for goto or gosub.@@ %d Row"
.align 3
.LC50:
.string "if contains statements that cannot be parsed.@@ %d to %d Row"
.align 3
.LC51:
.string "After if conditional, only { or : @@ %d Row"
.align 3
.LC52:
.string "else contains statements that cannot be parsed.@@ %d to %d Row"
.align 3
.LC53:
.string "After else, only { or : @@ %d Row"
.align 3
.LC54:
.string "Detected an unprocessed else.@@ %d Row"
.text
.align 2
.global parse_control_safe
.type parse_control_safe, %function
parse_control_safe:
.LFB72:
.cfi_startproc
stp x29, x30, [sp, -256]!
.cfi_def_cfa_offset 256
.cfi_offset 29, -256
.cfi_offset 30, -248
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 88]
ldr x0, [sp, 88]
ldr w0, [x0]
cmp w0, 25
beq .L322
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
mov x0, 0
b .L323
.L322:
ldr x0, [sp, 88]
ldr x0, [x0, 8]
bl query_keyword
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 0
bge .L324
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
mov x0, 0
b .L323
.L324:
ldr w0, [sp, 48]
cmp w0, 9
beq .L325
ldr w0, [sp, 48]
cmp w0, 9
bgt .L326
ldr w0, [sp, 48]
cmp w0, 8
beq .L327
ldr w0, [sp, 48]
cmp w0, 8
bgt .L326
ldr w0, [sp, 48]
cmp w0, 7
beq .L328
ldr w0, [sp, 48]
cmp w0, 7
bgt .L326
ldr w0, [sp, 48]
cmp w0, 6
beq .L329
ldr w0, [sp, 48]
cmp w0, 6
bgt .L326
ldr w0, [sp, 48]
cmp w0, 5
beq .L330
ldr w0, [sp, 48]
cmp w0, 5
bgt .L326
ldr w0, [sp, 48]
cmp w0, 4
beq .L331
ldr w0, [sp, 48]
cmp w0, 4
bgt .L326
ldr w0, [sp, 48]
cmp w0, 3
bgt .L326
ldr w0, [sp, 48]
cmp w0, 2
bge .L332
ldr w0, [sp, 48]
cmp w0, 0
beq .L333
ldr w0, [sp, 48]
cmp w0, 1
beq .L334
b .L326
.L333:
mov x2, 0
mov x1, 0
mov w0, 24
bl create_ast_node
b .L323
.L334:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 248]
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
str xzr, [sp, 56]
ldr x0, [sp, 248]
ldr w0, [x0]
bl is_eos_like_token
and w0, w0, 255
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L335
ldr x0, [sp, 24]
bl parse_expression
str x0, [sp, 56]
.L335:
mov x2, 0
ldr x1, [sp, 56]
mov w0, 25
bl create_ast_node
b .L323
.L332:
ldr x0, [sp, 24]
bl parse_label_safe
str x0, [sp, 240]
ldr x0, [sp, 240]
cmp x0, 0
bne .L336
ldr x0, [sp, 88]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC49
add x0, x0, :lo12:.LC49
bl raise_error
.L336:
ldr w0, [sp, 48]
cmp w0, 2
bne .L337
mov w0, 26
b .L338
.L337:
mov w0, 27
.L338:
str w0, [sp, 52]
mov x2, 0
ldr x1, [sp, 240]
ldr w0, [sp, 52]
bl create_ast_node
b .L323
.L331:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 232]
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
str xzr, [sp, 64]
ldr x0, [sp, 232]
ldr w0, [x0]
bl is_eos_like_token
and w0, w0, 255
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L339
ldr x0, [sp, 24]
bl parse_expression
str x0, [sp, 64]
.L339:
mov x2, 0
ldr x1, [sp, 64]
mov w0, 28
bl create_ast_node
b .L323
.L330:
mov x2, 0
mov x1, 0
mov w0, 30
bl create_ast_node
b .L323
.L329:
mov x2, 0
mov x1, 0
mov w0, 31
bl create_ast_node
b .L323
.L328:
mov x2, 0
mov x1, 0
mov w0, 32
bl create_ast_node
b .L323
.L327:
ldr x0, [sp, 24]
bl parse_expression
str x0, [sp, 96]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 104]
strb wzr, [sp, 47]
mov x2, 0
mov x1, 0
mov w0, 2
bl create_ast_node
str x0, [sp, 72]
str xzr, [sp, 80]
ldr x0, [sp, 104]
ldr w0, [x0]
cmp w0, 3
bne .L340
.L344:
mov x1, 0
ldr x0, [sp, 24]
bl prev_token
str x0, [sp, 144]
ldr x0, [sp, 144]
ldr w0, [x0]
cmp w0, 4
beq .L365
ldr x0, [sp, 24]
bl parse_statement
str x0, [sp, 152]
ldr x0, [sp, 152]
cmp x0, 0
bne .L343
ldr x0, [sp, 144]
ldr w1, [x0, 24]
ldr x0, [sp, 88]
ldr w0, [x0, 24]
mov w2, w0
adrp x0, .LC50
add x0, x0, :lo12:.LC50
bl raise_error
.L343:
ldr x2, [sp, 152]
ldr x1, [sp, 72]
mov w0, 2
bl create_ast_node
str x0, [sp, 72]
b .L344
.L340:
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 112]
ldr x0, [sp, 112]
ldr w0, [x0]
cmp w0, 2
beq .L350
ldr x0, [sp, 112]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC51
add x0, x0, :lo12:.LC51
bl raise_error
.L350:
mov x1, 0
ldr x0, [sp, 24]
bl prev_token
str x0, [sp, 120]
ldr x0, [sp, 120]
ldr w0, [x0]
cmp w0, 1
bne .L347
mov w0, 1
strb w0, [sp, 47]
b .L345
.L347:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 128]
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
ldr x0, [sp, 128]
bl is_else_token
and w0, w0, 255
cmp w0, 0
bne .L366
ldr x0, [sp, 24]
bl parse_statement
str x0, [sp, 136]
ldr x0, [sp, 136]
cmp x0, 0
bne .L349
ldr x0, [sp, 128]
ldr w1, [x0, 24]
ldr x0, [sp, 88]
ldr w0, [x0, 24]
mov w2, w0
adrp x0, .LC50
add x0, x0, :lo12:.LC50
bl raise_error
.L349:
ldr x2, [sp, 136]
ldr x1, [sp, 72]
mov w0, 2
bl create_ast_node
str x0, [sp, 72]
b .L350
.L365:
nop
b .L345
.L366:
nop
.L345:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 160]
ldr x0, [sp, 160]
bl is_else_token
and w0, w0, 255
cmp w0, 0
beq .L351
strb wzr, [sp, 47]
mov x2, 0
mov x1, 0
mov w0, 2
bl create_ast_node
str x0, [sp, 80]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 168]
ldr x0, [sp, 168]
ldr w0, [x0]
cmp w0, 3
bne .L352
.L356:
mov x1, 0
ldr x0, [sp, 24]
bl prev_token
str x0, [sp, 208]
ldr x0, [sp, 208]
ldr w0, [x0]
cmp w0, 4
beq .L367
ldr x0, [sp, 24]
bl parse_statement
str x0, [sp, 216]
ldr x0, [sp, 216]
cmp x0, 0
bne .L355
ldr x0, [sp, 160]
ldr w1, [x0, 24]
ldr x0, [sp, 88]
ldr w0, [x0, 24]
mov w2, w0
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl raise_error
.L355:
ldr x2, [sp, 216]
ldr x1, [sp, 80]
mov w0, 2
bl create_ast_node
str x0, [sp, 80]
b .L356
.L352:
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 176]
ldr x0, [sp, 176]
ldr w0, [x0]
cmp w0, 2
beq .L362
ldr x0, [sp, 176]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC53
add x0, x0, :lo12:.LC53
bl raise_error
.L362:
mov x1, 0
ldr x0, [sp, 24]
bl prev_token
str x0, [sp, 184]
ldr x0, [sp, 184]
ldr w0, [x0]
cmp w0, 1
bne .L359
mov w0, 1
strb w0, [sp, 47]
b .L363
.L359:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 192]
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
ldr x0, [sp, 192]
bl is_else_token
and w0, w0, 255
cmp w0, 0
bne .L368
ldr x0, [sp, 24]
bl parse_statement
str x0, [sp, 200]
ldr x0, [sp, 200]
cmp x0, 0
bne .L361
ldr x0, [sp, 192]
ldr w1, [x0, 24]
ldr x0, [sp, 88]
ldr w0, [x0, 24]
mov w2, w0
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl raise_error
.L361:
ldr x2, [sp, 200]
ldr x1, [sp, 80]
mov w0, 2
bl create_ast_node
str x0, [sp, 80]
b .L362
.L351:
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
b .L363
.L367:
nop
b .L363
.L368:
nop
.L363:
ldrb w0, [sp, 47]
cmp w0, 0
beq .L364
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
.L364:
ldr x2, [sp, 80]
ldr x1, [sp, 72]
mov w0, 34
bl create_ast_node
str x0, [sp, 224]
ldr x2, [sp, 224]
ldr x1, [sp, 96]
mov w0, 33
bl create_ast_node
b .L323
.L325:
ldr x0, [sp, 88]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC54
add x0, x0, :lo12:.LC54
bl raise_error
nop
.L326:
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
mov x0, 0
.L323:
ldp x29, x30, [sp], 256
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE72:
.size parse_control_safe, .-parse_control_safe
.align 2
.global parse_command_safe
.type parse_command_safe, %function
parse_command_safe:
.LFB73:
.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]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w0, [x0]
cmp w0, 25
beq .L370
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
mov x0, 0
b .L371
.L370:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 64]
strb wzr, [sp, 47]
ldr x0, [sp, 64]
ldr w0, [x0]
cmp w0, 24
bne .L372
mov w0, 1
strb w0, [sp, 47]
.L372:
ldr x0, [sp, 56]
ldrb w0, [x0, 29]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L373
ldr x0, [sp, 64]
ldr w0, [x0]
cmp w0, 5
bne .L373
mov w0, 1
strb w0, [sp, 47]
.L373:
ldrb w0, [sp, 47]
cmp w0, 0
beq .L374
mov x1, 2
ldr x0, [sp, 24]
bl unread_token
mov x0, 0
b .L371
.L374:
str xzr, [sp, 48]
ldr x0, [sp, 64]
ldr w0, [x0]
bl is_eos_like_token
and w0, w0, 255
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L375
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
ldr x0, [sp, 24]
bl parse_arguments
str x0, [sp, 48]
b .L376
.L375:
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
.L376:
ldr x2, [sp, 48]
ldr x1, [sp, 56]
mov w0, 3
bl create_ast_node2
str x0, [sp, 72]
ldr x0, [sp, 72]
.L371:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE73:
.size parse_command_safe, .-parse_command_safe
.align 2
.global parse_arguments
.type parse_arguments, %function
parse_arguments:
.LFB74:
.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]
ldr x0, [sp, 24]
bl parse_expression
str x0, [sp, 48]
mov x2, 0
ldr x1, [sp, 48]
mov w0, 4
bl create_ast_node
str x0, [sp, 56]
ldr x0, [sp, 56]
str x0, [sp, 40]
.L380:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 64]
ldr x0, [sp, 64]
ldr w0, [x0]
cmp w0, 7
beq .L378
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
b .L382
.L378:
ldr x0, [sp, 24]
bl parse_expression
str x0, [sp, 72]
mov x2, 0
ldr x1, [sp, 72]
mov w0, 4
bl create_ast_node
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 24]
ldr x0, [sp, 40]
ldr x0, [x0, 24]
str x0, [sp, 40]
b .L380
.L382:
ldr x0, [sp, 56]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE74:
.size parse_arguments, .-parse_arguments
.section .rodata
.align 3
.LC55:
.string "Value substitution: = is required.@@ %d Row"
.text
.align 2
.global parse_assign_safe
.type parse_assign_safe, %function
parse_assign_safe:
.LFB75:
.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]
ldr x0, [sp, 24]
bl parse_variable_safe
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
bne .L384
mov x0, 0
b .L385
.L384:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 24
beq .L386
ldr x0, [sp, 40]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC55
add x0, x0, :lo12:.LC55
bl raise_error
.L386:
ldr x0, [sp, 24]
bl parse_expression
str x0, [sp, 48]
ldr x2, [sp, 48]
ldr x1, [sp, 32]
mov w0, 5
bl create_ast_node
str x0, [sp, 56]
ldr x0, [sp, 56]
.L385:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE75:
.size parse_assign_safe, .-parse_assign_safe
.section .rodata
.align 3
.LC56:
.string "Array variable is one dimension only.@@ %d Row"
.align 3
.LC57:
.string "Array variable: Parentheses are not closed.@@ %d Row"
.text
.align 2
.global parse_variable_safe
.type parse_variable_safe, %function
parse_variable_safe:
.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]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 32]
ldr x0, [sp, 32]
ldr w0, [x0]
cmp w0, 25
beq .L388
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
mov x0, 0
b .L389
.L388:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 5
beq .L390
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
mov x2, 0
ldr x1, [sp, 32]
mov w0, 6
bl create_ast_node2
b .L389
.L390:
ldr x0, [sp, 24]
bl parse_expression
str x0, [sp, 48]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w0, [x0]
cmp w0, 6
beq .L391
ldr x0, [sp, 56]
ldr w0, [x0]
cmp w0, 7
bne .L392
ldr x0, [sp, 56]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC56
add x0, x0, :lo12:.LC56
bl raise_error
.L392:
ldr x0, [sp, 56]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC57
add x0, x0, :lo12:.LC57
bl raise_error
.L391:
ldr x2, [sp, 48]
ldr x1, [sp, 32]
mov w0, 6
bl create_ast_node2
.L389:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE76:
.size parse_variable_safe, .-parse_variable_safe
.align 2
.global parse_expression
.type parse_expression, %function
parse_expression:
.LFB77:
.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 parse_borand
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE77:
.size parse_expression, .-parse_expression
.section .rodata
.align 3
.LC58:
.string "|,& Operator analysis failed.@@ %d Row"
.align 3
.LC59:
.string "false"
.text
.align 2
.global parse_borand
.type parse_borand, %function
parse_borand:
.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]
ldr x0, [sp, 24]
bl parse_eqneq
str x0, [sp, 40]
.L405:
mov w0, 1
strb w0, [sp, 39]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr w0, [x0]
sub w0, w0, #11
cmp w0, 1
bhi .L396
ldr x0, [sp, 24]
bl parse_eqneq
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L397
ldr x0, [sp, 48]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC58
add x0, x0, :lo12:.LC58
bl raise_error
.L397:
ldr x0, [sp, 48]
ldr w0, [x0]
cmp w0, 11
beq .L398
cmp w0, 12
beq .L399
b .L407
.L398:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 8
bl create_ast_node
str x0, [sp, 40]
b .L401
.L399:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 9
bl create_ast_node
str x0, [sp, 40]
b .L401
.L407:
adrp x0, __PRETTY_FUNCTION__.40
add x3, x0, :lo12:__PRETTY_FUNCTION__.40
mov w2, 1903
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L401:
b .L402
.L396:
strb wzr, [sp, 39]
nop
.L402:
ldrb w0, [sp, 39]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L405
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
nop
ldr x0, [sp, 40]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE78:
.size parse_borand, .-parse_borand
.section .rodata
.align 3
.LC60:
.string "==,!= Operator analysis failed.@@ %d Row"
.text
.align 2
.global parse_eqneq
.type parse_eqneq, %function
parse_eqneq:
.LFB79:
.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]
ldr x0, [sp, 24]
bl parse_gtlt
str x0, [sp, 40]
.L421:
mov w0, 1
strb w0, [sp, 39]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr w0, [x0]
cmp w0, 14
bgt .L410
cmp w0, 13
bge .L411
b .L412
.L410:
cmp w0, 24
bne .L412
.L411:
ldr x0, [sp, 24]
bl parse_gtlt
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L413
ldr x0, [sp, 48]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC60
add x0, x0, :lo12:.LC60
bl raise_error
.L413:
ldr x0, [sp, 48]
ldr w0, [x0]
cmp w0, 24
beq .L414
cmp w0, 24
bgt .L415
cmp w0, 13
beq .L414
cmp w0, 14
beq .L416
b .L415
.L414:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 10
bl create_ast_node
str x0, [sp, 40]
b .L417
.L416:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 11
bl create_ast_node
str x0, [sp, 40]
b .L417
.L415:
adrp x0, __PRETTY_FUNCTION__.39
add x3, x0, :lo12:__PRETTY_FUNCTION__.39
mov w2, 1944
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L417:
b .L418
.L412:
strb wzr, [sp, 39]
nop
.L418:
ldrb w0, [sp, 39]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L421
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
nop
ldr x0, [sp, 40]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE79:
.size parse_eqneq, .-parse_eqneq
.section .rodata
.align 3
.LC61:
.string ">,>=,<,<= Operator analysis failed.@@ %d Row"
.text
.align 2
.global parse_gtlt
.type parse_gtlt, %function
parse_gtlt:
.LFB80:
.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]
ldr x0, [sp, 24]
bl parse_addsub
str x0, [sp, 40]
.L436:
mov w0, 1
strb w0, [sp, 39]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr w0, [x0]
sub w0, w0, #15
cmp w0, 3
bhi .L425
ldr x0, [sp, 24]
bl parse_addsub
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L426
ldr x0, [sp, 48]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC61
add x0, x0, :lo12:.LC61
bl raise_error
.L426:
ldr x0, [sp, 48]
ldr w0, [x0]
cmp w0, 18
beq .L427
cmp w0, 18
bgt .L428
cmp w0, 17
beq .L429
cmp w0, 17
bgt .L428
cmp w0, 15
beq .L430
cmp w0, 16
beq .L431
b .L428
.L430:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 12
bl create_ast_node
str x0, [sp, 40]
b .L432
.L431:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 13
bl create_ast_node
str x0, [sp, 40]
b .L432
.L429:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 14
bl create_ast_node
str x0, [sp, 40]
b .L432
.L427:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 15
bl create_ast_node
str x0, [sp, 40]
b .L432
.L428:
adrp x0, __PRETTY_FUNCTION__.38
add x3, x0, :lo12:__PRETTY_FUNCTION__.38
mov w2, 1991
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L432:
b .L433
.L425:
strb wzr, [sp, 39]
nop
.L433:
ldrb w0, [sp, 39]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L436
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
nop
ldr x0, [sp, 40]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE80:
.size parse_gtlt, .-parse_gtlt
.section .rodata
.align 3
.LC62:
.string "+- Operator analysis failed.@@ %d Row"
.text
.align 2
.global parse_addsub
.type parse_addsub, %function
parse_addsub:
.LFB81:
.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]
ldr x0, [sp, 24]
bl parse_muldivmod
str x0, [sp, 40]
.L449:
mov w0, 1
strb w0, [sp, 39]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr w0, [x0]
sub w0, w0, #19
cmp w0, 1
bhi .L440
ldr x0, [sp, 24]
bl parse_muldivmod
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L441
ldr x0, [sp, 48]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC62
add x0, x0, :lo12:.LC62
bl raise_error
.L441:
ldr x0, [sp, 48]
ldr w0, [x0]
cmp w0, 19
beq .L442
cmp w0, 20
beq .L443
b .L451
.L442:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 16
bl create_ast_node
str x0, [sp, 40]
b .L445
.L443:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 17
bl create_ast_node
str x0, [sp, 40]
b .L445
.L451:
adrp x0, __PRETTY_FUNCTION__.37
add x3, x0, :lo12:__PRETTY_FUNCTION__.37
mov w2, 2030
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L445:
b .L446
.L440:
strb wzr, [sp, 39]
nop
.L446:
ldrb w0, [sp, 39]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L449
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
nop
ldr x0, [sp, 40]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE81:
.size parse_addsub, .-parse_addsub
.section .rodata
.align 3
.LC63:
.string "*/\\ Operator analysis failed.@@ %d Row"
.text
.align 2
.global parse_muldivmod
.type parse_muldivmod, %function
parse_muldivmod:
.LFB82:
.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]
ldr x0, [sp, 24]
bl parse_term
str x0, [sp, 40]
.L464:
mov w0, 1
strb w0, [sp, 39]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr w0, [x0]
sub w0, w0, #21
cmp w0, 2
bhi .L454
ldr x0, [sp, 24]
bl parse_term
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L455
ldr x0, [sp, 48]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC63
add x0, x0, :lo12:.LC63
bl raise_error
.L455:
ldr x0, [sp, 48]
ldr w0, [x0]
cmp w0, 23
beq .L456
cmp w0, 23
bgt .L457
cmp w0, 21
beq .L458
cmp w0, 22
beq .L459
b .L457
.L458:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 18
bl create_ast_node
str x0, [sp, 40]
b .L460
.L459:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 19
bl create_ast_node
str x0, [sp, 40]
b .L460
.L456:
ldr x2, [sp, 56]
ldr x1, [sp, 40]
mov w0, 20
bl create_ast_node
str x0, [sp, 40]
b .L460
.L457:
adrp x0, __PRETTY_FUNCTION__.36
add x3, x0, :lo12:__PRETTY_FUNCTION__.36
mov w2, 2073
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L460:
b .L461
.L454:
strb wzr, [sp, 39]
nop
.L461:
ldrb w0, [sp, 39]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L464
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
nop
ldr x0, [sp, 40]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE82:
.size parse_muldivmod, .-parse_muldivmod
.align 2
.global parse_term
.type parse_term, %function
parse_term:
.LFB83:
.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 read_token
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 20
bne .L471
ldr x0, [sp, 24]
bl parse_primitive
mov x2, 0
mov x1, x0
mov w0, 21
bl create_ast_node
b .L469
.L471:
nop
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
ldr x0, [sp, 24]
bl parse_primitive
.L469:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE83:
.size parse_term, .-parse_term
.section .rodata
.align 3
.LC64:
.string "Parentheses are not closed.@@ %d Row"
.align 3
.LC65:
.string "Label cannot be parsed.@@ %d Row"
.align 3
.LC66:
.string "Labels cannot be used for expressions.@@ %d Row"
.align 3
.LC67:
.string "Function or Variable cannot be parsed.@@ %d Row"
.align 3
.LC68:
.string "Primitive values cannot be acquired.@@ %d Row[%s]"
.text
.align 2
.global parse_primitive
.type parse_primitive, %function
parse_primitive:
.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, 24]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 25
beq .L473
cmp w0, 25
bgt .L484
cmp w0, 21
beq .L475
cmp w0, 21
bgt .L484
cmp w0, 5
beq .L476
cmp w0, 5
blt .L484
sub w0, w0, #8
cmp w0, 2
bhi .L484
b .L483
.L476:
ldr x0, [sp, 24]
bl parse_expression
str x0, [sp, 64]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 72]
ldr x0, [sp, 72]
ldr w0, [x0]
cmp w0, 6
beq .L478
ldr x0, [sp, 40]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC64
add x0, x0, :lo12:.LC64
bl raise_error
.L478:
mov x2, 0
ldr x1, [sp, 64]
mov w0, 7
bl create_ast_node
b .L479
.L483:
mov x2, 0
ldr x1, [sp, 40]
mov w0, 22
bl create_ast_node2
b .L479
.L475:
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
ldr x0, [sp, 24]
bl parse_label_safe
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L480
ldr x0, [sp, 40]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC65
add x0, x0, :lo12:.LC65
bl raise_error
.L480:
ldr x0, [sp, 40]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC66
add x0, x0, :lo12:.LC66
bl raise_error
ldr x0, [sp, 56]
b .L479
.L473:
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
ldr x0, [sp, 24]
bl parse_identifier_expression
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
bne .L481
ldr x0, [sp, 40]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC67
add x0, x0, :lo12:.LC67
bl raise_error
.L481:
ldr x0, [sp, 48]
b .L479
.L484:
nop
ldr x0, [sp, 40]
ldr w1, [x0, 24]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
mov x2, x0
adrp x0, .LC68
add x0, x0, :lo12:.LC68
bl raise_error
mov x0, 0
.L479:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE84:
.size parse_primitive, .-parse_primitive
.section .rodata
.align 3
.LC69:
.string "Function or Array variable: Parentheses are not closed.@@ %d Row"
.text
.align 2
.global parse_identifier_expression
.type parse_identifier_expression, %function
parse_identifier_expression:
.LFB85:
.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]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 25
beq .L486
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
mov x0, 0
b .L487
.L486:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr w0, [x0]
cmp w0, 5
beq .L488
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
mov x2, 0
ldr x1, [sp, 40]
mov w0, 23
bl create_ast_node2
b .L487
.L488:
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w0, [x0]
cmp w0, 6
bne .L489
mov x2, 0
mov x1, 0
mov w0, 4
bl create_ast_node
mov x2, x0
ldr x1, [sp, 40]
mov w0, 23
bl create_ast_node2
b .L487
.L489:
mov x1, 1
ldr x0, [sp, 24]
bl unread_token
ldr x0, [sp, 24]
bl parse_arguments
str x0, [sp, 64]
ldr x0, [sp, 24]
bl read_token
str x0, [sp, 72]
ldr x0, [sp, 72]
ldr w0, [x0]
cmp w0, 6
beq .L490
ldr x0, [sp, 72]
ldr w0, [x0, 24]
mov w1, w0
adrp x0, .LC69
add x0, x0, :lo12:.LC69
bl raise_error
.L490:
ldr x2, [sp, 64]
ldr x1, [sp, 40]
mov w0, 23
bl create_ast_node2
.L487:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE85:
.size parse_identifier_expression, .-parse_identifier_expression
.align 2
.global create_variable
.type create_variable, %function
create_variable:
.LFB86:
.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 x0, 32
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 24]
bl create_string3
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0]
ldr x0, [sp, 40]
str wzr, [x0, 8]
ldr x0, [sp, 40]
str wzr, [x0, 12]
ldr x0, [sp, 40]
str wzr, [x0, 16]
ldr x0, [sp, 40]
str xzr, [x0, 24]
mov w3, 16
mov w2, 64
mov w1, 1
ldr x0, [sp, 40]
bl prepare_variable
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE86:
.size create_variable, .-create_variable
.align 2
.global destroy_variable
.type destroy_variable, %function
destroy_variable:
.LFB87:
.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 x0, [x0]
bl free
ldr x0, [sp, 24]
ldr x0, [x0, 24]
bl free
ldr x0, [sp, 24]
bl free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE87:
.size destroy_variable, .-destroy_variable
.section .rodata
.align 3
.LC70:
.string "areasize > 0"
.text
.align 2
.global prepare_variable
.type prepare_variable, %function
prepare_variable:
.LFB88:
.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]
ldr x0, [sp, 40]
ldr x0, [x0, 24]
cmp x0, 0
beq .L495
ldr x0, [sp, 40]
ldr x0, [x0, 24]
bl free
ldr x0, [sp, 40]
str xzr, [x0, 24]
.L495:
ldr x0, [sp, 40]
ldr w1, [sp, 36]
str w1, [x0, 8]
ldr x0, [sp, 40]
ldr w1, [sp, 32]
str w1, [x0, 12]
ldr x0, [sp, 40]
ldr w1, [sp, 28]
str w1, [x0, 16]
str xzr, [sp, 56]
ldr w0, [sp, 36]
cmp w0, 3
beq .L496
ldr w0, [sp, 36]
cmp w0, 3
bhi .L497
ldr w0, [sp, 36]
cmp w0, 1
beq .L498
ldr w0, [sp, 36]
cmp w0, 2
beq .L499
b .L497
.L498:
ldr x0, [sp, 40]
ldr w0, [x0, 16]
sxtw x0, w0
lsl x0, x0, 2
str x0, [sp, 56]
b .L500
.L499:
ldr x0, [sp, 40]
ldr w0, [x0, 16]
sxtw x0, w0
lsl x0, x0, 3
str x0, [sp, 56]
b .L500
.L496:
ldr x0, [sp, 40]
ldr w0, [x0, 12]
sxtw x1, w0
ldr x0, [sp, 40]
ldr w0, [x0, 16]
sxtw x0, w0
mul x0, x1, x0
str x0, [sp, 56]
b .L500
.L497:
adrp x0, __PRETTY_FUNCTION__.35
add x3, x0, :lo12:__PRETTY_FUNCTION__.35
mov w2, 2219
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L500:
ldr x0, [sp, 56]
cmp x0, 0
bne .L501
adrp x0, __PRETTY_FUNCTION__.35
add x3, x0, :lo12:__PRETTY_FUNCTION__.35
mov w2, 2222
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC70
add x0, x0, :lo12:.LC70
bl __assert_fail
.L501:
ldr x0, [sp, 56]
bl malloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 24]
ldr x0, [sp, 40]
ldr x0, [x0, 24]
ldr x2, [sp, 56]
mov w1, 0
bl memset
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE88:
.size prepare_variable, .-prepare_variable
.align 2
.global create_variable_table
.type create_variable_table, %function
create_variable_table:
.LFB89:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl create_list
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE89:
.size create_variable_table, .-create_variable_table
.align 2
.global destroy_variable_table
.type destroy_variable_table, %function
destroy_variable_table:
.LFB90:
.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]
ldr x0, [x0]
str x0, [sp, 32]
b .L505
.L506:
ldr x0, [sp, 32]
ldr x0, [x0, 16]
str x0, [sp, 40]
ldr x0, [sp, 40]
bl destroy_variable
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L505:
ldr x0, [sp, 32]
cmp x0, 0
bne .L506
ldr x0, [sp, 24]
bl list_free_all
ldr x0, [sp, 24]
bl destroy_list
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE90:
.size destroy_variable_table, .-destroy_variable_table
.align 2
.global search_variable
.type search_variable, %function
search_variable:
.LFB91:
.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 x0, [x0]
str x0, [sp, 32]
b .L508
.L512:
ldr x0, [sp, 32]
ldr x0, [x0, 16]
str x0, [sp, 40]
ldr x0, [sp, 16]
cmp x0, 0
bne .L509
ldr x0, [sp, 40]
ldr x3, [x0]
mov w2, -1
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl string_equal_igcase
and w0, w0, 255
cmp w0, 0
beq .L510
ldr x0, [sp, 40]
b .L511
.L509:
ldr x0, [sp, 40]
ldr x0, [x0]
mov w2, -1
ldr x1, [sp, 16]
bl string_equal_igcase
and w0, w0, 255
cmp w0, 0
beq .L510
ldr x0, [sp, 40]
b .L511
.L510:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L508:
ldr x0, [sp, 32]
cmp x0, 0
bne .L512
mov x0, 0
.L511:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE91:
.size search_variable, .-search_variable
.section .rodata
.align 3
.LC71:
.string "var != NULL"
.align 3
.LC72:
.string "Variable type is different.@@ %s(%d)"
.align 3
.LC73:
.string "Invalid value.@@ %s(%d)"
.align 3
.LC74:
.string "var->type_ == v->type_"
.text
.align 2
.global variable_set
.type variable_set, %function
variable_set:
.LFB92:
.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, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
ldr x1, [sp, 24]
ldr x0, [sp, 40]
bl search_variable
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L514
ldr x0, [sp, 24]
bl create_variable
str x0, [sp, 64]
bl create_list_node
str x0, [sp, 72]
ldr x0, [sp, 72]
ldr x1, [sp, 64]
str x1, [x0, 16]
ldr x1, [sp, 72]
ldr x0, [sp, 40]
bl list_append
.L514:
ldr x0, [sp, 64]
cmp x0, 0
bne .L515
adrp x0, __PRETTY_FUNCTION__.34
add x3, x0, :lo12:__PRETTY_FUNCTION__.34
mov w2, 2277
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC71
add x0, x0, :lo12:.LC71
bl __assert_fail
.L515:
ldr x0, [sp, 64]
ldr w1, [x0, 8]
ldr x0, [sp, 32]
ldr w0, [x0]
cmp w1, w0
beq .L516
ldr w0, [sp, 20]
cmp w0, 0
ble .L517
ldr w2, [sp, 20]
ldr x1, [sp, 24]
adrp x0, .LC72
add x0, x0, :lo12:.LC72
bl raise_error
.L517:
ldr x0, [sp, 32]
ldr w0, [x0]
mov w3, 16
mov w2, 64
mov w1, w0
ldr x0, [sp, 64]
bl prepare_variable
.L516:
strb wzr, [sp, 55]
str wzr, [sp, 56]
ldr x0, [sp, 32]
ldr w0, [x0]
cmp w0, 3
bne .L518
ldr x0, [sp, 32]
ldr x0, [x0, 8]
bl strlen
add w0, w0, 1
str w0, [sp, 56]
.L518:
ldr x0, [sp, 64]
ldr w0, [x0, 12]
ldr w1, [sp, 56]
cmp w1, w0
ble .L519
mov w0, 1
strb w0, [sp, 55]
.L519:
ldr x0, [sp, 64]
ldr w0, [x0, 16]
str w0, [sp, 60]
ldr w0, [sp, 20]
cmp w0, 0
blt .L520
ldr w1, [sp, 60]
ldr w0, [sp, 20]
cmp w1, w0
bgt .L521
.L520:
ldr w2, [sp, 20]
ldr x1, [sp, 24]
adrp x0, .LC73
add x0, x0, :lo12:.LC73
bl raise_error
.L521:
ldrb w0, [sp, 55]
cmp w0, 0
beq .L522
ldr x0, [sp, 32]
ldr w0, [x0]
ldr w3, [sp, 60]
ldr w2, [sp, 56]
mov w1, w0
ldr x0, [sp, 64]
bl prepare_variable
.L522:
ldr x0, [sp, 64]
ldr w1, [x0, 8]
ldr x0, [sp, 32]
ldr w0, [x0]
cmp w1, w0
beq .L523
adrp x0, __PRETTY_FUNCTION__.34
add x3, x0, :lo12:__PRETTY_FUNCTION__.34
mov w2, 2299
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC74
add x0, x0, :lo12:.LC74
bl __assert_fail
.L523:
ldr w1, [sp, 20]
ldr x0, [sp, 64]
bl variable_data_ptr
str x0, [sp, 80]
ldr x0, [sp, 64]
ldr w0, [x0, 8]
cmp w0, 3
beq .L524
cmp w0, 3
bhi .L525
cmp w0, 1
beq .L526
cmp w0, 2
beq .L527
b .L525
.L526:
ldr x0, [sp, 80]
str x0, [sp, 104]
ldr x0, [sp, 32]
ldr w1, [x0, 8]
ldr x0, [sp, 104]
str w1, [x0]
b .L528
.L527:
ldr x0, [sp, 80]
str x0, [sp, 96]
ldr x0, [sp, 32]
ldr d0, [x0, 8]
ldr x0, [sp, 96]
str d0, [x0]
b .L528
.L524:
ldr x0, [sp, 80]
str x0, [sp, 88]
ldr x0, [sp, 32]
ldr x0, [x0, 8]
mov x1, x0
ldr x0, [sp, 88]
bl strcpy
b .L528
.L525:
adrp x0, __PRETTY_FUNCTION__.34
add x3, x0, :lo12:__PRETTY_FUNCTION__.34
mov w2, 2318
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L528:
nop
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE92:
.size variable_set, .-variable_set
.section .rodata
.align 3
.LC75:
.string "???"
.align 3
.LC76:
.string "Variable is out of range.@@ %s(%d)"
.text
.align 2
.global variable_data_ptr
.type variable_data_ptr, %function
variable_data_ptr:
.LFB93:
.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 x0, [sp, 24]
cmp x0, 0
bne .L530
ldr w0, [sp, 20]
cmp w0, 0
blt .L531
ldr w0, [sp, 20]
cmp w0, 0
blt .L532
.L531:
ldr w2, [sp, 20]
adrp x0, .LC75
add x1, x0, :lo12:.LC75
adrp x0, .LC76
add x0, x0, :lo12:.LC76
bl raise_error
b .L532
.L530:
ldr w0, [sp, 20]
cmp w0, 0
blt .L533
ldr x0, [sp, 24]
ldr w0, [x0, 16]
ldr w1, [sp, 20]
cmp w1, w0
blt .L532
.L533:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w2, [sp, 20]
mov x1, x0
adrp x0, .LC76
add x0, x0, :lo12:.LC76
bl raise_error
.L532:
ldr x0, [sp, 24]
ldr w0, [x0, 8]
cmp w0, 3
beq .L534
cmp w0, 3
bhi .L535
cmp w0, 1
beq .L536
cmp w0, 2
beq .L537
b .L535
.L536:
ldr x0, [sp, 24]
ldr x1, [x0, 24]
ldrsw x0, [sp, 20]
lsl x0, x0, 2
add x0, x1, x0
b .L538
.L537:
ldr x0, [sp, 24]
ldr x1, [x0, 24]
ldrsw x0, [sp, 20]
lsl x0, x0, 3
add x0, x1, x0
b .L538
.L534:
ldr x0, [sp, 24]
ldr x1, [x0, 24]
ldr x0, [sp, 24]
ldr w2, [x0, 12]
ldr w0, [sp, 20]
mul w0, w2, w0
sxtw x0, w0
add x0, x1, x0
b .L538
.L535:
adrp x0, __PRETTY_FUNCTION__.33
add x3, x0, :lo12:__PRETTY_FUNCTION__.33
mov w2, 2347
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L538:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE93:
.size variable_data_ptr, .-variable_data_ptr
.align 2
.global variable_calc_int
.type variable_calc_int, %function
variable_calc_int:
.LFB94:
.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]
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl variable_data_ptr
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
cmp w0, 3
beq .L540
cmp w0, 3
bhi .L541
cmp w0, 1
beq .L542
cmp w0, 2
beq .L543
b .L541
.L542:
ldr x0, [sp, 40]
ldr w0, [x0]
b .L544
.L543:
ldr x0, [sp, 40]
ldr d0, [x0]
fcvtzs w0, d0
b .L544
.L540:
ldr x0, [sp, 40]
bl atoi
b .L544
.L541:
adrp x0, __PRETTY_FUNCTION__.32
add x3, x0, :lo12:__PRETTY_FUNCTION__.32
mov w2, 2365
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L544:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE94:
.size variable_calc_int, .-variable_calc_int
.align 2
.global variable_calc_double
.type variable_calc_double, %function
variable_calc_double:
.LFB95:
.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]
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl variable_data_ptr
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
cmp w0, 3
beq .L546
cmp w0, 3
bhi .L547
cmp w0, 1
beq .L548
cmp w0, 2
beq .L549
b .L547
.L548:
ldr x0, [sp, 40]
ldr w0, [x0]
scvtf d0, w0
b .L550
.L549:
ldr x0, [sp, 40]
ldr d0, [x0]
b .L550
.L546:
ldr x0, [sp, 40]
bl atof
b .L550
.L547:
adrp x0, __PRETTY_FUNCTION__.31
add x3, x0, :lo12:__PRETTY_FUNCTION__.31
mov w2, 2383
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L550:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE95:
.size variable_calc_double, .-variable_calc_double
.align 2
.global variable_calc_string
.type variable_calc_string, %function
variable_calc_string:
.LFB96:
.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]
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl variable_data_ptr
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
cmp w0, 3
beq .L552
cmp w0, 3
bhi .L553
cmp w0, 1
beq .L554
cmp w0, 2
beq .L555
b .L553
.L554:
ldr x0, [sp, 40]
ldr w0, [x0]
bl create_string_from
b .L556
.L555:
ldr x0, [sp, 40]
ldr d0, [x0]
fcvtzs w0, d0
bl create_string_from
b .L556
.L552:
ldr x0, [sp, 40]
bl create_string3
b .L556
.L553:
adrp x0, __PRETTY_FUNCTION__.30
add x3, x0, :lo12:__PRETTY_FUNCTION__.30
mov w2, 2401
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L556:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE96:
.size variable_calc_string, .-variable_calc_string
.align 2
.type alloc_value, %function
alloc_value:
.LFB97:
.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, 24
bl malloc
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE97:
.size alloc_value, .-alloc_value
.align 2
.global create_value
.type create_value, %function
create_value:
.LFB98:
.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]
bl alloc_value
str x0, [sp, 40]
ldr x0, [sp, 40]
mov w1, 1
str w1, [x0]
ldr x0, [sp, 40]
ldr w1, [sp, 28]
str w1, [x0, 8]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE98:
.size create_value, .-create_value
.align 2
.global create_value2
.type create_value2, %function
create_value2:
.LFB99:
.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]
bl alloc_value
str x0, [sp, 40]
ldr x0, [sp, 40]
mov w1, 2
str w1, [x0]
ldr x0, [sp, 40]
ldr d0, [sp, 24]
str d0, [x0, 8]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE99:
.size create_value2, .-create_value2
.align 2
.global create_value3
.type create_value3, %function
create_value3:
.LFB100:
.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]
bl alloc_value
str x0, [sp, 40]
ldr x0, [sp, 40]
mov w1, 3
str w1, [x0]
ldr x0, [sp, 24]
bl create_string3
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE100:
.size create_value3, .-create_value3
.align 2
.global create_value4
.type create_value4, %function
create_value4:
.LFB101:
.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]
bl alloc_value
str x0, [sp, 40]
ldr x0, [sp, 40]
mov w1, 4
str w1, [x0]
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldr w1, [sp, 20]
str w1, [x0, 16]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE101:
.size create_value4, .-create_value4
.section .rodata
.align 3
.LC77:
.string "Copying an empty value and failed.@@ ptr=%p"
.text
.align 2
.global create_value5
.type create_value5, %function
create_value5:
.LFB102:
.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]
bl alloc_value
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w1, [x0]
ldr x0, [sp, 40]
str w1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 4
beq .L568
cmp w0, 4
bhi .L569
cmp w0, 3
beq .L570
cmp w0, 3
bhi .L569
cmp w0, 1
beq .L571
cmp w0, 2
beq .L572
b .L569
.L571:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
str w1, [x0, 8]
b .L573
.L572:
ldr x0, [sp, 24]
ldr d0, [x0, 8]
ldr x0, [sp, 40]
str d0, [x0, 8]
b .L573
.L570:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl create_string3
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 8]
b .L573
.L568:
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldr w1, [x0, 16]
ldr x0, [sp, 40]
str w1, [x0, 16]
b .L573
.L569:
add x0, sp, 24
mov x1, x0
adrp x0, .LC77
add x0, x0, :lo12:.LC77
bl raise_error
.L573:
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE102:
.size create_value5, .-create_value5
.align 2
.global create_value_move
.type create_value_move, %function
create_value_move:
.LFB103:
.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]
bl alloc_value
str x0, [sp, 40]
ldr x0, [sp, 40]
mov w1, 3
str w1, [x0]
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE103:
.size create_value_move, .-create_value_move
.align 2
.global destroy_value
.type destroy_value, %function
destroy_value:
.LFB104:
.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 clear_value
ldr x0, [sp, 24]
str wzr, [x0]
ldr x0, [sp, 24]
str xzr, [x0, 8]
ldr x0, [sp, 24]
bl free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE104:
.size destroy_value, .-destroy_value
.align 2
.global value_set
.type value_set, %function
value_set:
.LFB105:
.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 x0, [sp, 24]
bl clear_value
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0]
ldr x0, [sp, 24]
ldr w1, [sp, 20]
str w1, [x0, 8]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE105:
.size value_set, .-value_set
.align 2
.global value_set2
.type value_set2, %function
value_set2:
.LFB106:
.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 d0, [sp, 16]
ldr x0, [sp, 24]
bl clear_value
ldr x0, [sp, 24]
mov w1, 2
str w1, [x0]
ldr x0, [sp, 24]
ldr d0, [sp, 16]
str d0, [x0, 8]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE106:
.size value_set2, .-value_set2
.align 2
.global value_set3
.type value_set3, %function
value_set3:
.LFB107:
.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, 24]
bl clear_value
ldr x0, [sp, 24]
mov w1, 3
str w1, [x0]
ldr x0, [sp, 16]
bl create_string3
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 8]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE107:
.size value_set3, .-value_set3
.align 2
.global value_move
.type value_move, %function
value_move:
.LFB108:
.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, 24]
bl clear_value
ldr x0, [sp, 24]
mov w1, 3
str w1, [x0]
ldr x0, [sp, 24]
ldr x1, [sp, 16]
str x1, [x0, 8]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE108:
.size value_move, .-value_move
.align 2
.global value_move2
.type value_move2, %function
value_move2:
.LFB109:
.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, 24]
bl clear_value
ldr x0, [sp, 16]
ldr w1, [x0]
ldr x0, [sp, 24]
str w1, [x0]
ldr x0, [sp, 16]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 16]
str wzr, [x0]
ldr x0, [sp, 16]
str xzr, [x0, 8]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE109:
.size value_move2, .-value_move2
.align 2
.global value_get_primitive_tag
.type value_get_primitive_tag, %function
value_get_primitive_tag:
.LFB110:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
cmp w0, 4
bne .L584
ldr x0, [sp, 8]
ldr x0, [x0, 8]
ldr w0, [x0, 8]
b .L585
.L584:
ldr x0, [sp, 8]
ldr w0, [x0]
.L585:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE110:
.size value_get_primitive_tag, .-value_get_primitive_tag
.align 2
.global value_calc_boolean
.type value_calc_boolean, %function
value_calc_boolean:
.LFB111:
.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 value_get_primitive_tag
cmp w0, 3
beq .L587
cmp w0, 3
bhi .L588
cmp w0, 1
beq .L589
cmp w0, 2
beq .L590
b .L588
.L589:
ldr x0, [sp, 24]
bl value_calc_int
cmp w0, 0
cset w0, ne
and w0, w0, 255
b .L591
.L590:
ldr x0, [sp, 24]
bl value_calc_double
fcmp d0, #0.0
cset w0, ne
and w0, w0, 255
b .L591
.L587:
ldr x0, [sp, 24]
bl value_calc_int
cmp w0, 0
cset w0, ne
and w0, w0, 255
b .L591
.L588:
adrp x0, __PRETTY_FUNCTION__.29
add x3, x0, :lo12:__PRETTY_FUNCTION__.29
mov w2, 2556
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L591:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE111:
.size value_calc_boolean, .-value_calc_boolean
.align 2
.global value_calc_int
.type value_calc_int, %function
value_calc_int:
.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 x0, [sp, 24]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 4
beq .L593
cmp w0, 4
bhi .L594
cmp w0, 3
beq .L595
cmp w0, 3
bhi .L594
cmp w0, 1
beq .L596
cmp w0, 2
beq .L597
b .L594
.L596:
ldr x0, [sp, 24]
ldr w0, [x0, 8]
b .L598
.L597:
ldr x0, [sp, 24]
ldr d0, [x0, 8]
fcvtzs w0, d0
b .L598
.L595:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl atoi
b .L598
.L593:
ldr x0, [sp, 24]
ldr x2, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
mov w1, w0
mov x0, x2
bl variable_calc_int
b .L598
.L594:
adrp x0, __PRETTY_FUNCTION__.28
add x3, x0, :lo12:__PRETTY_FUNCTION__.28
mov w2, 2576
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L598:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE112:
.size value_calc_int, .-value_calc_int
.align 2
.global value_calc_double
.type value_calc_double, %function
value_calc_double:
.LFB113:
.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, 4
beq .L600
cmp w0, 4
bhi .L601
cmp w0, 3
beq .L602
cmp w0, 3
bhi .L601
cmp w0, 1
beq .L603
cmp w0, 2
beq .L604
b .L601
.L603:
ldr x0, [sp, 24]
ldr w0, [x0, 8]
scvtf d0, w0
b .L605
.L604:
ldr x0, [sp, 24]
ldr d0, [x0, 8]
b .L605
.L602:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl atof
b .L605
.L600:
ldr x0, [sp, 24]
ldr x2, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
mov w1, w0
mov x0, x2
bl variable_calc_double
b .L605
.L601:
adrp x0, __PRETTY_FUNCTION__.27
add x3, x0, :lo12:__PRETTY_FUNCTION__.27
mov w2, 2596
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L605:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE113:
.size value_calc_double, .-value_calc_double
.align 2
.global value_calc_string
.type value_calc_string, %function
value_calc_string:
.LFB114:
.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 xzr, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 4
beq .L607
cmp w0, 4
bhi .L608
cmp w0, 3
beq .L609
cmp w0, 3
bhi .L608
cmp w0, 1
beq .L610
cmp w0, 2
beq .L611
b .L608
.L610:
ldr x0, [sp, 24]
ldr w0, [x0, 8]
bl create_string_from
str x0, [sp, 40]
b .L612
.L611:
ldr x0, [sp, 24]
ldr d0, [x0, 8]
bl create_string_from2
str x0, [sp, 40]
b .L612
.L609:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl create_string3
str x0, [sp, 40]
b .L612
.L607:
ldr x0, [sp, 24]
ldr x2, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
mov w1, w0
mov x0, x2
bl variable_calc_string
str x0, [sp, 40]
b .L612
.L608:
adrp x0, __PRETTY_FUNCTION__.26
add x3, x0, :lo12:__PRETTY_FUNCTION__.26
mov w2, 2620
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L612:
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE114:
.size value_calc_string, .-value_calc_string
.align 2
.global value_convert_type
.type value_convert_type, %function
value_convert_type:
.LFB115:
.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]
ldr x0, [sp, 16]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
bne .L615
ldr x0, [sp, 16]
bl create_value5
b .L616
.L615:
ldr w0, [sp, 28]
cmp w0, 3
beq .L617
ldr w0, [sp, 28]
cmp w0, 3
bhi .L618
ldr w0, [sp, 28]
cmp w0, 1
beq .L619
ldr w0, [sp, 28]
cmp w0, 2
beq .L620
b .L618
.L619:
ldr x0, [sp, 16]
bl value_calc_int
bl create_value
b .L616
.L620:
ldr x0, [sp, 16]
bl value_calc_double
bl create_value2
b .L616
.L617:
ldr x0, [sp, 16]
bl value_calc_string
str x0, [sp, 32]
ldr x0, [sp, 32]
bl create_value_move
str x0, [sp, 40]
ldr x0, [sp, 40]
b .L616
.L618:
adrp x0, __PRETTY_FUNCTION__.25
add x3, x0, :lo12:__PRETTY_FUNCTION__.25
mov w2, 2643
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L616:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE115:
.size value_convert_type, .-value_convert_type
.align 2
.global value_isolate
.type value_isolate, %function
value_isolate:
.LFB116:
.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, 4
bne .L628
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
beq .L621
ldr x0, [sp, 24]
ldr x0, [x0, 8]
ldr w0, [x0, 8]
cmp w0, 3
beq .L624
cmp w0, 3
bhi .L625
cmp w0, 1
beq .L626
cmp w0, 2
beq .L627
b .L625
.L626:
ldr x0, [sp, 24]
ldr x2, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
mov w1, w0
mov x0, x2
bl variable_calc_int
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L621
.L627:
ldr x0, [sp, 24]
ldr x2, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
mov w1, w0
mov x0, x2
bl variable_calc_double
ldr x0, [sp, 24]
bl value_set2
b .L621
.L624:
ldr x0, [sp, 24]
ldr x2, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
mov w1, w0
mov x0, x2
bl variable_calc_string
mov x1, x0
ldr x0, [sp, 24]
bl value_move
b .L621
.L625:
adrp x0, __PRETTY_FUNCTION__.24
add x3, x0, :lo12:__PRETTY_FUNCTION__.24
mov w2, 2667
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L628:
nop
.L621:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE116:
.size value_isolate, .-value_isolate
.section .rodata
.align 3
.LC78:
.string "| operator for the floating point is not defined."
.align 3
.LC79:
.string "| operator for the string is not defined."
.text
.align 2
.global value_bor
.type value_bor, %function
value_bor:
.LFB117:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L630
cmp w0, 3
bhi .L631
cmp w0, 1
beq .L632
cmp w0, 2
beq .L633
b .L631
.L632:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
orr w0, w1, w0
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L634
.L633:
adrp x0, .LC78
add x0, x0, :lo12:.LC78
bl raise_error
b .L634
.L630:
adrp x0, .LC79
add x0, x0, :lo12:.LC79
bl raise_error
b .L634
.L631:
adrp x0, __PRETTY_FUNCTION__.23
add x3, x0, :lo12:__PRETTY_FUNCTION__.23
mov w2, 2690
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L634:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE117:
.size value_bor, .-value_bor
.section .rodata
.align 3
.LC80:
.string "& operator for the floating point is not defined."
.align 3
.LC81:
.string "& operator for the string is not defined."
.text
.align 2
.global value_band
.type value_band, %function
value_band:
.LFB118:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L636
cmp w0, 3
bhi .L637
cmp w0, 1
beq .L638
cmp w0, 2
beq .L639
b .L637
.L638:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
and w0, w1, w0
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L640
.L639:
adrp x0, .LC80
add x0, x0, :lo12:.LC80
bl raise_error
b .L640
.L636:
adrp x0, .LC81
add x0, x0, :lo12:.LC81
bl raise_error
b .L640
.L637:
adrp x0, __PRETTY_FUNCTION__.22
add x3, x0, :lo12:__PRETTY_FUNCTION__.22
mov w2, 2713
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L640:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE118:
.size value_band, .-value_band
.align 2
.global value_eq
.type value_eq, %function
value_eq:
.LFB119:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L642
cmp w0, 3
bhi .L643
cmp w0, 1
beq .L644
cmp w0, 2
beq .L645
b .L643
.L644:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w1, w0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L646
.L645:
ldr x0, [sp, 24]
ldr d1, [x0, 8]
ldr x0, [sp, 40]
ldr d0, [x0, 8]
fcmp d1, d0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L646
.L642:
ldr x0, [sp, 24]
ldr x2, [x0, 8]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
mov x1, x0
mov x0, x2
bl strcmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L646
.L643:
adrp x0, __PRETTY_FUNCTION__.21
add x3, x0, :lo12:__PRETTY_FUNCTION__.21
mov w2, 2734
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L646:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE119:
.size value_eq, .-value_eq
.align 2
.global value_neq
.type value_neq, %function
value_neq:
.LFB120:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L648
cmp w0, 3
bhi .L649
cmp w0, 1
beq .L650
cmp w0, 2
beq .L651
b .L649
.L650:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w1, w0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L652
.L651:
ldr x0, [sp, 24]
ldr d1, [x0, 8]
ldr x0, [sp, 40]
ldr d0, [x0, 8]
fcmp d1, d0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L652
.L648:
ldr x0, [sp, 24]
ldr x2, [x0, 8]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
mov x1, x0
mov x0, x2
bl strcmp
cmp w0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L652
.L649:
adrp x0, __PRETTY_FUNCTION__.20
add x3, x0, :lo12:__PRETTY_FUNCTION__.20
mov w2, 2755
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L652:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE120:
.size value_neq, .-value_neq
.section .rodata
.align 3
.LC82:
.string "> operator for the string is not defined."
.text
.align 2
.global value_gt
.type value_gt, %function
value_gt:
.LFB121:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L654
cmp w0, 3
bhi .L655
cmp w0, 1
beq .L656
cmp w0, 2
beq .L657
b .L655
.L656:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w1, w0
cset w0, gt
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L658
.L657:
ldr x0, [sp, 24]
ldr d1, [x0, 8]
ldr x0, [sp, 40]
ldr d0, [x0, 8]
fcmpe d1, d0
cset w0, gt
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L658
.L654:
adrp x0, .LC82
add x0, x0, :lo12:.LC82
bl raise_error
b .L658
.L655:
adrp x0, __PRETTY_FUNCTION__.19
add x3, x0, :lo12:__PRETTY_FUNCTION__.19
mov w2, 2777
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L658:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE121:
.size value_gt, .-value_gt
.section .rodata
.align 3
.LC83:
.string ">= operator for the string is not defined."
.text
.align 2
.global value_gtoe
.type value_gtoe, %function
value_gtoe:
.LFB122:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L660
cmp w0, 3
bhi .L661
cmp w0, 1
beq .L662
cmp w0, 2
beq .L663
b .L661
.L662:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w1, w0
cset w0, ge
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L664
.L663:
ldr x0, [sp, 24]
ldr d1, [x0, 8]
ldr x0, [sp, 40]
ldr d0, [x0, 8]
fcmpe d1, d0
cset w0, ge
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L664
.L660:
adrp x0, .LC83
add x0, x0, :lo12:.LC83
bl raise_error
b .L664
.L661:
adrp x0, __PRETTY_FUNCTION__.18
add x3, x0, :lo12:__PRETTY_FUNCTION__.18
mov w2, 2799
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L664:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE122:
.size value_gtoe, .-value_gtoe
.section .rodata
.align 3
.LC84:
.string "< operator for the string is not defined."
.text
.align 2
.global value_lt
.type value_lt, %function
value_lt:
.LFB123:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L666
cmp w0, 3
bhi .L667
cmp w0, 1
beq .L668
cmp w0, 2
beq .L669
b .L667
.L668:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w1, w0
cset w0, lt
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L670
.L669:
ldr x0, [sp, 24]
ldr d1, [x0, 8]
ldr x0, [sp, 40]
ldr d0, [x0, 8]
fcmpe d1, d0
cset w0, mi
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L670
.L666:
adrp x0, .LC84
add x0, x0, :lo12:.LC84
bl raise_error
b .L670
.L667:
adrp x0, __PRETTY_FUNCTION__.17
add x3, x0, :lo12:__PRETTY_FUNCTION__.17
mov w2, 2821
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L670:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE123:
.size value_lt, .-value_lt
.section .rodata
.align 3
.LC85:
.string "<= operator for the string is not defined."
.text
.align 2
.global value_ltoe
.type value_ltoe, %function
value_ltoe:
.LFB124:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L672
cmp w0, 3
bhi .L673
cmp w0, 1
beq .L674
cmp w0, 2
beq .L675
b .L673
.L674:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w1, w0
cset w0, le
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L676
.L675:
ldr x0, [sp, 24]
ldr d1, [x0, 8]
ldr x0, [sp, 40]
ldr d0, [x0, 8]
fcmpe d1, d0
cset w0, ls
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl value_set
b .L676
.L672:
adrp x0, .LC85
add x0, x0, :lo12:.LC85
bl raise_error
b .L676
.L673:
adrp x0, __PRETTY_FUNCTION__.16
add x3, x0, :lo12:__PRETTY_FUNCTION__.16
mov w2, 2843
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L676:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE124:
.size value_ltoe, .-value_ltoe
.section .rodata
.align 3
.LC86:
.string "%s%s"
.text
.align 2
.global value_add
.type value_add, %function
value_add:
.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 x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldr w0, [x0]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 48]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L678
cmp w0, 3
bhi .L679
cmp w0, 1
beq .L680
cmp w0, 2
beq .L681
b .L679
.L680:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 48]
ldr w0, [x0, 8]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
b .L682
.L681:
ldr x0, [sp, 24]
ldr d1, [x0, 8]
ldr x0, [sp, 48]
ldr d0, [x0, 8]
fadd d0, d1, d0
ldr x0, [sp, 24]
str d0, [x0, 8]
b .L682
.L678:
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 48]
ldr x0, [x0, 8]
mov x4, x0
mov x3, x1
adrp x0, .LC86
add x2, x0, :lo12:.LC86
mov x1, 0
mov x0, 0
bl snprintf
str w0, [sp, 44]
ldrsw x0, [sp, 44]
bl create_string
str x0, [sp, 56]
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 48]
ldr x0, [x0, 8]
mov x3, x0
mov x2, x1
adrp x0, .LC86
add x1, x0, :lo12:.LC86
ldr x0, [sp, 56]
bl sprintf
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl destroy_string
ldr x0, [sp, 24]
ldr x1, [sp, 56]
str x1, [x0, 8]
b .L682
.L679:
adrp x0, __PRETTY_FUNCTION__.15
add x3, x0, :lo12:__PRETTY_FUNCTION__.15
mov w2, 2870
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L682:
ldr x0, [sp, 48]
bl destroy_value
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE125:
.size value_add, .-value_add
.section .rodata
.align 3
.LC87:
.string "- operator for the string is not defined."
.text
.align 2
.global value_sub
.type value_sub, %function
value_sub:
.LFB126:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L684
cmp w0, 3
bhi .L685
cmp w0, 1
beq .L686
cmp w0, 2
beq .L687
b .L685
.L686:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
b .L688
.L687:
ldr x0, [sp, 24]
ldr d1, [x0, 8]
ldr x0, [sp, 40]
ldr d0, [x0, 8]
fsub d0, d1, d0
ldr x0, [sp, 24]
str d0, [x0, 8]
b .L688
.L684:
adrp x0, .LC87
add x0, x0, :lo12:.LC87
bl raise_error
b .L688
.L685:
adrp x0, __PRETTY_FUNCTION__.14
add x3, x0, :lo12:__PRETTY_FUNCTION__.14
mov w2, 2892
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L688:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE126:
.size value_sub, .-value_sub
.section .rodata
.align 3
.LC88:
.string "* operator for the string is not defined."
.text
.align 2
.global value_mul
.type value_mul, %function
value_mul:
.LFB127:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L690
cmp w0, 3
bhi .L691
cmp w0, 1
beq .L692
cmp w0, 2
beq .L693
b .L691
.L692:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
mul w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
b .L694
.L693:
ldr x0, [sp, 24]
ldr d1, [x0, 8]
ldr x0, [sp, 40]
ldr d0, [x0, 8]
fmul d0, d1, d0
ldr x0, [sp, 24]
str d0, [x0, 8]
b .L694
.L690:
adrp x0, .LC88
add x0, x0, :lo12:.LC88
bl raise_error
b .L694
.L691:
adrp x0, __PRETTY_FUNCTION__.13
add x3, x0, :lo12:__PRETTY_FUNCTION__.13
mov w2, 2914
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L694:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE127:
.size value_mul, .-value_mul
.section .rodata
.align 3
.LC89:
.string "/ operator for the string is not defined."
.text
.align 2
.global value_div
.type value_div, %function
value_div:
.LFB128:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L696
cmp w0, 3
bhi .L697
cmp w0, 1
beq .L698
cmp w0, 2
beq .L699
b .L697
.L698:
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
sdiv w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
b .L700
.L699:
ldr x0, [sp, 24]
ldr d1, [x0, 8]
ldr x0, [sp, 40]
ldr d0, [x0, 8]
fdiv d0, d1, d0
ldr x0, [sp, 24]
str d0, [x0, 8]
b .L700
.L696:
adrp x0, .LC89
add x0, x0, :lo12:.LC89
bl raise_error
b .L700
.L697:
adrp x0, __PRETTY_FUNCTION__.12
add x3, x0, :lo12:__PRETTY_FUNCTION__.12
mov w2, 2936
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L700:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE128:
.size value_div, .-value_div
.section .rodata
.align 3
.LC90:
.string "\\ operator for the double is not defined."
.align 3
.LC91:
.string "\\ operator for the string is not defined."
.text
.align 2
.global value_mod
.type value_mod, %function
value_mod:
.LFB129:
.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]
ldr x1, [sp, 16]
bl value_convert_type
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 3
beq .L702
cmp w0, 3
bhi .L703
cmp w0, 1
beq .L704
cmp w0, 2
beq .L705
b .L703
.L704:
ldr x0, [sp, 24]
ldr w0, [x0, 8]
ldr x1, [sp, 40]
ldr w1, [x1, 8]
sdiv w2, w0, w1
mul w1, w2, w1
sub w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 8]
b .L706
.L705:
adrp x0, .LC90
add x0, x0, :lo12:.LC90
bl raise_error
b .L706
.L702:
adrp x0, .LC91
add x0, x0, :lo12:.LC91
bl raise_error
b .L706
.L703:
adrp x0, __PRETTY_FUNCTION__.11
add x3, x0, :lo12:__PRETTY_FUNCTION__.11
mov w2, 2959
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L706:
ldr x0, [sp, 40]
bl destroy_value
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE129:
.size value_mod, .-value_mod
.align 2
.global create_value_stack
.type create_value_stack, %function
create_value_stack:
.LFB130:
.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, 16
bl malloc
str x0, [sp, 24]
ldr x0, [sp, 24]
bl initialize_value_stack
ldr x0, [sp, 24]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE130:
.size create_value_stack, .-create_value_stack
.align 2
.global destroy_value_stack
.type destroy_value_stack, %function
destroy_value_stack:
.LFB131:
.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 uninitialize_value_stack
ldr x0, [sp, 24]
bl free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE131:
.size destroy_value_stack, .-destroy_value_stack
.align 2
.global initialize_value_stack
.type initialize_value_stack, %function
initialize_value_stack:
.LFB132:
.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, 16
str w0, [sp, 44]
ldrsw x0, [sp, 44]
lsl x0, x0, 3
bl malloc
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
str wzr, [x0, 8]
ldr x0, [sp, 24]
ldr w1, [sp, 44]
str w1, [x0, 12]
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE132:
.size initialize_value_stack, .-initialize_value_stack
.align 2
.global uninitialize_value_stack
.type uninitialize_value_stack, %function
uninitialize_value_stack:
.LFB133:
.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, 8]
sxtw x0, w0
mov x1, x0
ldr x0, [sp, 24]
bl stack_pop
ldr x0, [sp, 24]
ldr x0, [x0]
bl free
ldr x0, [sp, 24]
str xzr, [x0]
ldr x0, [sp, 24]
str wzr, [x0, 8]
ldr x0, [sp, 24]
str wzr, [x0, 12]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE133:
.size uninitialize_value_stack, .-uninitialize_value_stack
.align 2
.global stack_push
.type stack_push, %function
stack_push:
.LFB134:
.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, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0, 12]
cmp w1, w0
blt .L713
ldr x0, [sp, 24]
ldr w0, [x0, 12]
lsl w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x2, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 12]
sxtw x0, w0
lsl x0, x0, 3
mov x1, x0
mov x0, x2
bl realloc
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0]
.L713:
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
sxtw x0, w0
lsl x0, x0, 3
add x0, x1, x0
ldr x1, [sp, 16]
str x1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 8]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE134:
.size stack_push, .-stack_push
.align 2
.global stack_push2
.type stack_push2, %function
stack_push2:
.LFB135:
.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]
bl create_value5
str x0, [sp, 40]
ldr x1, [sp, 40]
ldr x0, [sp, 24]
bl stack_push
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE135:
.size stack_push2, .-stack_push2
.section .rodata
.align 3
.LC92:
.string "idx >= 0 && idx < st->top_"
.text
.align 2
.global stack_peek
.type stack_peek, %function
stack_peek:
.LFB136:
.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]
ldr w0, [sp, 20]
cmp w0, 0
bge .L716
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr w0, [sp, 20]
add w0, w1, w0
b .L717
.L716:
ldr w0, [sp, 20]
.L717:
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
blt .L718
ldr x0, [sp, 24]
ldr w0, [x0, 8]
ldr w1, [sp, 44]
cmp w1, w0
blt .L721
.L718:
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3022
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC92
add x0, x0, :lo12:.LC92
bl __assert_fail
.L721:
ldr x0, [sp, 24]
ldr x1, [x0]
ldrsw x0, [sp, 44]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE136:
.size stack_peek, .-stack_peek
.section .rodata
.align 3
.LC93:
.string "n <= (size_t)st->top_"
.align 3
.LC94:
.string "st->stack_[st->top_] != NULL"
.text
.align 2
.global stack_pop
.type stack_pop, %function
stack_pop:
.LFB137:
.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, 24]
ldr w0, [x0, 8]
sxtw x0, w0
ldr x1, [sp, 16]
cmp x1, x0
bls .L724
adrp x0, __PRETTY_FUNCTION__.9
add x3, x0, :lo12:__PRETTY_FUNCTION__.9
mov w2, 3029
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC93
add x0, x0, :lo12:.LC93
bl __assert_fail
.L726:
ldr x0, [sp, 24]
ldr w0, [x0, 8]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
sxtw x0, w0
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
cmp x0, 0
bne .L725
adrp x0, __PRETTY_FUNCTION__.9
add x3, x0, :lo12:__PRETTY_FUNCTION__.9
mov w2, 3032
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC94
add x0, x0, :lo12:.LC94
bl __assert_fail
.L725:
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
sxtw x0, w0
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
bl destroy_value
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
sxtw x0, w0
lsl x0, x0, 3
add x0, x1, x0
str xzr, [x0]
.L724:
ldr x0, [sp, 16]
sub x1, x0, #1
str x1, [sp, 16]
cmp x0, 0
bne .L726
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE137:
.size stack_pop, .-stack_pop
.align 2
.global query_sysvar
.type query_sysvar, %function
query_sysvar:
.LFB138:
.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 .L728
.L731:
adrp x0, table.8
add x1, x0, :lo12:table.8
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
mov w2, -1
mov x1, x0
ldr x0, [sp, 24]
bl string_equal_igcase
and w0, w0, 255
cmp w0, 0
beq .L729
adrp x0, table.8
add x1, x0, :lo12:table.8
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0]
b .L730
.L729:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L728:
adrp x0, table.8
add x1, x0, :lo12:table.8
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0]
cmn w0, #1
bne .L731
mov w0, -1
.L730:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE138:
.size query_sysvar, .-query_sysvar
.align 2
.global create_execute_environment
.type create_execute_environment, %function
create_execute_environment:
.LFB139:
.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, 40
bl malloc
str x0, [sp, 24]
bl create_list
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0]
bl create_list
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 8]
bl create_list
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 16]
bl create_list
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 24]
bl create_variable_table
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 32]
ldr x0, [sp, 24]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE139:
.size create_execute_environment, .-create_execute_environment
.align 2
.global destroy_execute_environment
.type destroy_execute_environment, %function
destroy_execute_environment:
.LFB140:
.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]
ldr x0, [sp, 24]
ldr x0, [x0, 16]
ldr x0, [x0]
str x0, [sp, 32]
b .L735
.L737:
ldr x0, [sp, 32]
ldr x0, [x0, 16]
str x0, [sp, 88]
ldr x0, [sp, 88]
ldr w0, [x0, 32]
and w0, w0, 1
cmp w0, 0
beq .L736
ldr x0, [sp, 88]
bl destroy_ast_node
.L736:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L735:
ldr x0, [sp, 32]
cmp x0, 0
bne .L737
ldr x0, [sp, 24]
ldr x0, [x0, 16]
bl list_free_all
ldr x0, [sp, 24]
ldr x0, [x0, 16]
bl destroy_list
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x0, [x0]
str x0, [sp, 40]
b .L738
.L739:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
str x0, [sp, 80]
ldr x0, [sp, 80]
bl uninitialize_parse_context
ldr x0, [sp, 80]
bl destroy_parse_context
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
.L738:
ldr x0, [sp, 40]
cmp x0, 0
bne .L739
ldr x0, [sp, 24]
ldr x0, [x0]
bl list_free_all
ldr x0, [sp, 24]
ldr x0, [x0]
bl destroy_list
ldr x0, [sp, 24]
ldr x0, [x0, 8]
ldr x0, [x0]
str x0, [sp, 48]
b .L740
.L741:
ldr x0, [sp, 48]
ldr x0, [x0, 16]
str x0, [sp, 72]
ldr x0, [sp, 72]
bl destroy_ast
ldr x0, [sp, 48]
ldr x0, [x0, 8]
str x0, [sp, 48]
.L740:
ldr x0, [sp, 48]
cmp x0, 0
bne .L741
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl list_free_all
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl destroy_list
ldr x0, [sp, 24]
ldr x0, [x0, 24]
ldr x0, [x0]
str x0, [sp, 56]
b .L742
.L743:
ldr x0, [sp, 56]
ldr x0, [x0, 16]
str x0, [sp, 64]
ldr x0, [sp, 64]
ldr x0, [x0]
bl free
ldr x0, [sp, 64]
bl free
ldr x0, [sp, 56]
str xzr, [x0, 16]
ldr x0, [sp, 56]
ldr x0, [x0, 8]
str x0, [sp, 56]
.L742:
ldr x0, [sp, 56]
cmp x0, 0
bne .L743
ldr x0, [sp, 24]
ldr x0, [x0, 24]
bl list_free_all
ldr x0, [sp, 24]
ldr x0, [x0, 24]
bl destroy_list
ldr x0, [sp, 24]
ldr x0, [x0, 32]
bl destroy_variable_table
ldr x0, [sp, 24]
bl free
nop
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE140:
.size destroy_execute_environment, .-destroy_execute_environment
.align 2
.global initialize_execute_status
.type initialize_execute_status, %function
initialize_execute_status:
.LFB141:
.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]
bl create_value_stack
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
str xzr, [x0, 8]
ldr x0, [sp, 24]
str wzr, [x0, 144]
ldr x0, [sp, 24]
str xzr, [x0, 16]
ldr x0, [sp, 24]
str wzr, [x0, 536]
ldr x0, [sp, 24]
str wzr, [x0, 160]
ldr x0, [sp, 24]
str wzr, [x0, 164]
ldr x0, [sp, 24]
str wzr, [x0, 168]
ldr x0, [sp, 24]
strb wzr, [x0, 540]
ldr x0, [sp, 24]
str wzr, [x0, 544]
ldr x0, [sp, 24]
str xzr, [x0, 552]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl create_string3
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 560]
ldr x0, [sp, 24]
str wzr, [x0, 568]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE141:
.size initialize_execute_status, .-initialize_execute_status
.align 2
.global uninitialize_execute_status
.type uninitialize_execute_status, %function
uninitialize_execute_status:
.LFB142:
.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 x0, [x0]
bl destroy_value_stack
ldr x0, [sp, 24]
ldr x0, [x0, 560]
bl destroy_string
ldr x0, [sp, 24]
str xzr, [x0, 560]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE142:
.size uninitialize_execute_status, .-uninitialize_execute_status
.align 2
.global _cl
.type _cl, %function
_cl:
.LFB143:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x2, 0
mov x1, 0
mov w0, 36
bl create_ast_node
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 32]
orr w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE143:
.size _cl, .-_cl
.align 2
.global _cj
.type _cj, %function
_cj:
.LFB144:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x2, 0
mov x1, 0
mov w0, 37
bl create_ast_node
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 32]
orr w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE144:
.size _cj, .-_cj
.align 2
.global _aj
.type _aj, %function
_aj:
.LFB145:
.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]
bl _cj
str x0, [sp, 32]
ldr x0, [sp, 32]
ldr x1, [sp, 24]
str x1, [x0, 40]
bl create_list_node
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr x1, [sp, 32]
str x1, [x0, 16]
ldr x0, [sp, 16]
ldr x0, [x0, 16]
ldr x1, [sp, 40]
bl list_append
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE145:
.size _aj, .-_aj
.section .rodata
.align 3
.LC95:
.string "dispatcher->tag_ == NODE_IF_DISPATCHER"
.text
.align 2
.type flatten, %function
flatten:
.LFB146:
.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]
mov w0, 1
strb w0, [sp, 39]
ldr x0, [sp, 16]
ldr w0, [x0]
cmp w0, 2
bne .L752
ldr x0, [sp, 16]
ldr x0, [x0, 16]
cmp x0, 0
beq .L753
ldr x0, [sp, 16]
ldr x0, [x0, 16]
mov x1, x0
ldr x0, [sp, 24]
bl flatten
.L753:
ldr x0, [sp, 16]
ldr x0, [x0, 24]
cmp x0, 0
beq .L754
ldr x0, [sp, 16]
ldr x0, [x0, 24]
mov x1, x0
ldr x0, [sp, 24]
bl flatten
.L754:
strb wzr, [sp, 39]
b .L755
.L752:
ldr x0, [sp, 16]
ldr w0, [x0]
cmp w0, 33
bne .L755
bl create_list_node
str x0, [sp, 40]
mov x2, 0
mov x1, 0
mov w0, 35
bl create_ast_node
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr w0, [x0, 32]
orr w1, w0, 1
ldr x0, [sp, 48]
str w1, [x0, 32]
ldr x0, [sp, 16]
ldr x1, [x0, 16]
ldr x0, [sp, 48]
str x1, [x0, 40]
ldr x0, [sp, 40]
ldr x1, [sp, 48]
str x1, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0, 16]
ldr x1, [sp, 40]
bl list_append
ldr x0, [sp, 16]
ldr x0, [x0, 24]
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w0, [x0]
cmp w0, 34
beq .L756
adrp x0, __PRETTY_FUNCTION__.7
add x3, x0, :lo12:__PRETTY_FUNCTION__.7
mov w2, 3209
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC95
add x0, x0, :lo12:.LC95
bl __assert_fail
.L756:
bl create_list_node
str x0, [sp, 64]
bl _cl
mov x1, x0
ldr x0, [sp, 64]
str x1, [x0, 16]
bl create_list_node
str x0, [sp, 72]
bl _cl
mov x1, x0
ldr x0, [sp, 72]
str x1, [x0, 16]
bl create_list_node
str x0, [sp, 80]
bl _cl
mov x1, x0
ldr x0, [sp, 80]
str x1, [x0, 16]
ldr x1, [sp, 24]
ldr x0, [sp, 64]
bl _aj
ldr x1, [sp, 24]
ldr x0, [sp, 72]
bl _aj
ldr x0, [sp, 24]
ldr x0, [x0, 16]
ldr x1, [sp, 64]
bl list_append
ldr x0, [sp, 56]
ldr x0, [x0, 16]
mov x1, x0
ldr x0, [sp, 24]
bl flatten
ldr x1, [sp, 24]
ldr x0, [sp, 80]
bl _aj
ldr x0, [sp, 24]
ldr x0, [x0, 16]
ldr x1, [sp, 72]
bl list_append
ldr x0, [sp, 56]
ldr x0, [x0, 24]
cmp x0, 0
beq .L757
ldr x0, [sp, 56]
ldr x0, [x0, 24]
mov x1, x0
ldr x0, [sp, 24]
bl flatten
ldr x1, [sp, 24]
ldr x0, [sp, 80]
bl _aj
.L757:
ldr x0, [sp, 24]
ldr x0, [x0, 16]
ldr x1, [sp, 80]
bl list_append
strb wzr, [sp, 39]
.L755:
ldrb w0, [sp, 39]
cmp w0, 0
beq .L760
bl create_list_node
str x0, [sp, 88]
ldr x0, [sp, 88]
ldr x1, [sp, 16]
str x1, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0, 16]
ldr x1, [sp, 88]
bl list_append
ldr x0, [sp, 16]
ldr w0, [x0]
cmp w0, 1
bne .L759
bl create_list_node
str x0, [sp, 112]
mov x0, 16
bl malloc
str x0, [sp, 120]
ldr x0, [sp, 16]
ldr x0, [x0, 8]
ldr x0, [x0, 8]
bl create_string3
mov x1, x0
ldr x0, [sp, 120]
str x1, [x0]
ldr x0, [sp, 120]
ldr x1, [sp, 88]
str x1, [x0, 8]
ldr x0, [sp, 112]
ldr x1, [sp, 120]
str x1, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0, 24]
ldr x1, [sp, 112]
bl list_append
b .L760
.L759:
ldr x0, [sp, 16]
ldr w0, [x0]
cmp w0, 28
bne .L760
bl create_list_node
str x0, [sp, 96]
mov x2, 0
mov x1, 0
mov w0, 29
bl create_ast_node
str x0, [sp, 104]
ldr x0, [sp, 104]
ldr w0, [x0, 32]
orr w1, w0, 1
ldr x0, [sp, 104]
str w1, [x0, 32]
ldr x0, [sp, 96]
ldr x1, [sp, 104]
str x1, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0, 16]
ldr x1, [sp, 96]
bl list_append
.L760:
nop
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE146:
.size flatten, .-flatten
.align 2
.type walk, %function
walk:
.LFB147:
.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]
ldr w0, [x0]
cmp w0, 6
beq .L762
ldr x0, [sp, 16]
ldr w0, [x0]
cmp w0, 23
bne .L763
.L762:
ldr x0, [sp, 16]
ldr x0, [x0, 8]
ldr x0, [x0, 8]
str x0, [sp, 32]
ldr x0, [sp, 24]
ldr x0, [x0, 32]
ldr x1, [sp, 32]
bl search_variable
cmp x0, 0
bne .L763
mov x1, 24
mov x0, 1
bl calloc
str x0, [sp, 40]
mov x1, 32
mov x0, 1
bl calloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 40]
mov w1, 1
str w1, [x0]
ldr x0, [sp, 40]
str wzr, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0, 32]
mov w3, 0
ldr x2, [sp, 32]
ldr x1, [sp, 40]
bl variable_set
.L763:
ldr x0, [sp, 16]
ldr x0, [x0, 16]
cmp x0, 0
beq .L764
ldr x0, [sp, 16]
ldr x0, [x0, 16]
mov x1, x0
ldr x0, [sp, 24]
bl walk
.L764:
ldr x0, [sp, 16]
ldr x0, [x0, 24]
cmp x0, 0
beq .L766
ldr x0, [sp, 16]
ldr x0, [x0, 24]
mov x1, x0
ldr x0, [sp, 24]
bl walk
.L766:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE147:
.size walk, .-walk
.align 2
.global load_script
.type load_script, %function
load_script:
.LFB148:
.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, 96
ldr x1, [sp, 16]
bl initialize_tokenize_context
bl create_parse_context
str x0, [sp, 48]
add x0, sp, 96
mov x1, x0
ldr x0, [sp, 48]
bl initialize_parse_context
ldr x0, [sp, 48]
bl parse_script
str x0, [sp, 56]
add x0, sp, 96
bl uninitialize_tokenize_context
ldr x0, [sp, 56]
ldr x0, [x0]
str x0, [sp, 32]
b .L768
.L769:
ldr x0, [sp, 32]
ldr x0, [x0, 16]
str x0, [sp, 88]
ldr x1, [sp, 88]
ldr x0, [sp, 24]
bl flatten
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L768:
ldr x0, [sp, 32]
cmp x0, 0
bne .L769
ldr x0, [sp, 56]
ldr x0, [x0]
str x0, [sp, 40]
b .L770
.L771:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
str x0, [sp, 80]
ldr x1, [sp, 80]
ldr x0, [sp, 24]
bl walk
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
.L770:
ldr x0, [sp, 40]
cmp x0, 0
bne .L771
bl create_list_node
str x0, [sp, 64]
ldr x0, [sp, 64]
ldr x1, [sp, 48]
str x1, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [sp, 64]
bl list_append
bl create_list_node
str x0, [sp, 72]
ldr x0, [sp, 72]
ldr x1, [sp, 56]
str x1, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
ldr x1, [sp, 72]
bl list_append
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 .L772
bl __stack_chk_fail
.L772:
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE148:
.size load_script, .-load_script
.section .rodata
.align 3
.LC96:
.string "n->token_->tag_ == TOKEN_IDENTIFIER"
.align 3
.LC97:
.string "Command not found:%s"
.align 3
.LC98:
.string "delegate != NULL"
.align 3
.LC99:
.string "s->stack_->top_ == top"
.align 3
.LC100:
.string "Substitution: Please specify a variable."
.align 3
.LC101:
.string "n->left_ != NULL"
.align 3
.LC102:
.string "no minus value in the string.[%s]"
.align 3
.LC103:
.string "s->stack_->top_ == top + 1"
.align 3
.LC104:
.string "cannot arrays in the system variable."
.align 3
.LC105:
.string "System variable(cnt): cannot refer outside the repeat-loop."
.align 3
.LC106:
.string "Function not found, Array variable is one dimension only.@@ %s"
.align 3
.LC107:
.string "Return from outside the subroutine is invalid."
.align 3
.LC108:
.string "label_node != NULL"
.align 3
.LC109:
.string "label_node->tag_ == NODE_LABEL"
.align 3
.LC110:
.string "goto: Label not found.@@ %s"
.align 3
.LC111:
.string "gosub: Label not found.@@ %s"
.align 3
.LC112:
.string "gosub: Nesting is too deep."
.align 3
.LC113:
.string "repeat: Nesting is too deep."
.align 3
.LC114:
.string "s->current_loop_frame_ > 0"
.align 3
.LC115:
.string "s->node_cur_ != NULL"
.align 3
.LC116:
.string "loop,continue: is not in repeat-loop."
.align 3
.LC117:
.string "break: is not in repeat-loop."
.align 3
.LC118:
.string "break: couldn't repeat-loop in goto, and break."
.align 3
.LC119:
.string "n->right_ != NULL"
.align 3
.LC120:
.string "n->ext_ != NULL"
.text
.align 2
.global evaluate
.type evaluate, %function
evaluate:
.LFB149:
.cfi_startproc
stp x29, x30, [sp, -368]!
.cfi_def_cfa_offset 368
.cfi_offset 29, -368
.cfi_offset 30, -360
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -352
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
ldr x0, [sp, 48]
ldrb w0, [x0, 540]
cmp w0, 0
bne .L903
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 37
bhi .L901
adrp x1, .L778
add x1, x1, :lo12:.L778
ldr w0, [x1,w0,uxtw #2]
adr x1, .Lrtx778
add x0, x1, w0, sxtw #2
br x0
.Lrtx778:
.section .rodata
.align 0
.align 2
.L778:
.word (.L904 - .Lrtx778) / 4
.word (.L904 - .Lrtx778) / 4
.word (.L800 - .Lrtx778) / 4
.word (.L799 - .Lrtx778) / 4
.word (.L798 - .Lrtx778) / 4
.word (.L797 - .Lrtx778) / 4
.word (.L796 - .Lrtx778) / 4
.word (.L795 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L794 - .Lrtx778) / 4
.word (.L793 - .Lrtx778) / 4
.word (.L792 - .Lrtx778) / 4
.word (.L791 - .Lrtx778) / 4
.word (.L790 - .Lrtx778) / 4
.word (.L789 - .Lrtx778) / 4
.word (.L788 - .Lrtx778) / 4
.word (.L787 - .Lrtx778) / 4
.word (.L786 - .Lrtx778) / 4
.word (.L785 - .Lrtx778) / 4
.word (.L784 - .Lrtx778) / 4
.word (.L784 - .Lrtx778) / 4
.word (.L783 - .Lrtx778) / 4
.word (.L782 - .Lrtx778) / 4
.word (.L902 - .Lrtx778) / 4
.word (.L780 - .Lrtx778) / 4
.word (.L904 - .Lrtx778) / 4
.word (.L777 - .Lrtx778) / 4
.text
.L800:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
cmp x0, 0
beq .L803
ldr x0, [sp, 40]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
.L803:
ldr x0, [sp, 40]
ldr x0, [x0, 24]
cmp x0, 0
beq .L905
ldr x0, [sp, 40]
ldr x0, [x0, 24]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
b .L905
.L799:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr w0, [x0]
cmp w0, 25
beq .L805
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3343
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC96
add x0, x0, :lo12:.LC96
bl __assert_fail
.L805:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr x0, [x0, 8]
str x0, [sp, 352]
ldr x0, [sp, 352]
bl query_command
str w0, [sp, 108]
ldr w0, [sp, 108]
cmn w0, #1
bne .L806
ldr x1, [sp, 352]
adrp x0, .LC97
add x0, x0, :lo12:.LC97
bl raise_error
.L806:
ldr w0, [sp, 108]
bl get_command_delegate
str x0, [sp, 360]
ldr x0, [sp, 360]
cmp x0, 0
bne .L807
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3350
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC98
add x0, x0, :lo12:.LC98
bl __assert_fail
.L807:
ldr x0, [sp, 48]
ldr x0, [x0]
ldr w0, [x0, 8]
str w0, [sp, 112]
ldr x0, [sp, 40]
ldr x0, [x0, 16]
cmp x0, 0
beq .L808
ldr x0, [sp, 40]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
.L808:
ldr x0, [sp, 48]
ldr x0, [x0]
ldr w1, [x0, 8]
ldr w0, [sp, 112]
sub w0, w1, w0
str w0, [sp, 116]
ldr x3, [sp, 360]
ldr w2, [sp, 116]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
blr x3
ldr x0, [sp, 48]
ldr x0, [x0]
ldr w0, [x0, 8]
ldr w1, [sp, 112]
cmp w1, w0
beq .L906
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3357
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC99
add x0, x0, :lo12:.LC99
bl __assert_fail
.L798:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
cmp x0, 0
beq .L810
ldr x0, [sp, 40]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
.L810:
ldr x0, [sp, 40]
ldr x0, [x0, 24]
cmp x0, 0
beq .L907
ldr x0, [sp, 40]
ldr x0, [x0, 24]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
b .L907
.L797:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
ldr x0, [sp, 40]
ldr x0, [x0, 24]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -2
bl stack_peek
str x0, [sp, 336]
ldr x0, [sp, 336]
ldr w0, [x0]
cmp w0, 4
beq .L812
adrp x0, .LC100
add x0, x0, :lo12:.LC100
bl raise_error
.L812:
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 344]
ldr x0, [sp, 344]
bl value_isolate
ldr x0, [sp, 336]
ldr x0, [x0, 8]
cmp x0, 0
bne .L813
ldr x0, [sp, 56]
ldr x4, [x0, 32]
ldr x0, [sp, 336]
ldr w0, [x0, 16]
mov w3, w0
mov x2, 0
ldr x1, [sp, 344]
mov x0, x4
bl variable_set
b .L814
.L813:
ldr x0, [sp, 56]
ldr x4, [x0, 32]
ldr x0, [sp, 336]
ldr x0, [x0, 8]
ldr x1, [x0]
ldr x0, [sp, 336]
ldr w0, [x0, 16]
mov w3, w0
mov x2, x1
ldr x1, [sp, 344]
mov x0, x4
bl variable_set
.L814:
ldr x0, [sp, 48]
ldr x0, [x0]
mov x1, 2
bl stack_pop
b .L802
.L796:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr x0, [x0, 8]
str x0, [sp, 296]
ldr x0, [sp, 56]
ldr x0, [x0, 32]
ldr x1, [sp, 296]
bl search_variable
str x0, [sp, 304]
ldr x0, [sp, 304]
cmp x0, 0
bne .L815
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3391
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC71
add x0, x0, :lo12:.LC71
bl __assert_fail
.L815:
str wzr, [sp, 72]
ldr x0, [sp, 40]
ldr x0, [x0, 16]
str x0, [sp, 312]
ldr x0, [sp, 312]
cmp x0, 0
beq .L816
ldr x2, [sp, 312]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 320]
ldr x0, [sp, 320]
bl value_calc_int
str w0, [sp, 72]
ldr x0, [sp, 48]
ldr x0, [x0]
mov x1, 1
bl stack_pop
.L816:
ldr w1, [sp, 72]
ldr x0, [sp, 304]
bl create_value4
str x0, [sp, 328]
ldr x0, [sp, 48]
ldr x0, [x0]
ldr x1, [sp, 328]
bl stack_push
b .L802
.L795:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
b .L802
.L794:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
ldr x0, [sp, 40]
ldr x0, [x0, 24]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -2
bl stack_peek
str x0, [sp, 280]
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 288]
ldr x0, [sp, 280]
bl value_isolate
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 20
beq .L817
cmp w0, 20
bhi .L818
cmp w0, 19
beq .L819
cmp w0, 19
bhi .L818
cmp w0, 18
beq .L820
cmp w0, 18
bhi .L818
cmp w0, 17
beq .L821
cmp w0, 17
bhi .L818
cmp w0, 16
beq .L822
cmp w0, 16
bhi .L818
cmp w0, 15
beq .L823
cmp w0, 15
bhi .L818
cmp w0, 14
beq .L824
cmp w0, 14
bhi .L818
cmp w0, 13
beq .L825
cmp w0, 13
bhi .L818
cmp w0, 12
beq .L826
cmp w0, 12
bhi .L818
cmp w0, 11
beq .L827
cmp w0, 11
bhi .L818
cmp w0, 10
beq .L828
cmp w0, 10
bhi .L818
cmp w0, 8
beq .L829
cmp w0, 9
beq .L830
b .L818
.L829:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_bor
b .L831
.L830:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_band
b .L831
.L828:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_eq
b .L831
.L827:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_neq
b .L831
.L826:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_gt
b .L831
.L825:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_gtoe
b .L831
.L824:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_lt
b .L831
.L823:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_ltoe
b .L831
.L822:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_add
b .L831
.L821:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_sub
b .L831
.L820:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_mul
b .L831
.L819:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_div
b .L831
.L817:
ldr x1, [sp, 288]
ldr x0, [sp, 280]
bl value_mod
b .L831
.L818:
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3466
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L831:
ldr x0, [sp, 48]
ldr x0, [x0]
mov x1, 1
bl stack_pop
b .L802
.L793:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
cmp x0, 0
bne .L832
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3473
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC101
add x0, x0, :lo12:.LC101
bl __assert_fail
.L832:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 272]
ldr x0, [sp, 272]
bl value_isolate
ldr x0, [sp, 272]
ldr w0, [x0]
cmp w0, 3
beq .L833
cmp w0, 3
bhi .L834
cmp w0, 1
beq .L835
cmp w0, 2
beq .L836
b .L834
.L835:
ldr x0, [sp, 272]
ldr w0, [x0, 8]
neg w1, w0
ldr x0, [sp, 272]
str w1, [x0, 8]
b .L837
.L836:
ldr x0, [sp, 272]
ldr d0, [x0, 8]
fneg d0, d0
ldr x0, [sp, 272]
str d0, [x0, 8]
b .L837
.L833:
ldr x0, [sp, 272]
ldr x0, [x0, 8]
mov x1, x0
adrp x0, .LC102
add x0, x0, :lo12:.LC102
bl raise_error
b .L837
.L834:
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3488
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L837:
b .L802
.L792:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr w0, [x0]
cmp w0, 10
beq .L838
cmp w0, 10
bgt .L839
cmp w0, 8
beq .L840
cmp w0, 9
beq .L841
b .L839
.L840:
ldr x0, [sp, 48]
ldr x19, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr x0, [x0, 8]
bl atoi
bl create_value
mov x1, x0
mov x0, x19
bl stack_push
b .L842
.L841:
ldr x0, [sp, 48]
ldr x19, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr x0, [x0, 8]
bl atof
bl create_value2
mov x1, x0
mov x0, x19
bl stack_push
b .L842
.L838:
ldr x0, [sp, 48]
ldr x19, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr x0, [x0, 8]
bl create_value3
mov x1, x0
mov x0, x19
bl stack_push
b .L842
.L839:
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3505
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L842:
b .L802
.L791:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr w0, [x0]
cmp w0, 25
beq .L843
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3511
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC96
add x0, x0, :lo12:.LC96
bl __assert_fail
.L843:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr x0, [x0, 8]
str x0, [sp, 232]
ldr x0, [sp, 48]
ldr x0, [x0]
ldr w0, [x0, 8]
str w0, [sp, 92]
ldr x0, [sp, 40]
ldr x0, [x0, 16]
cmp x0, 0
beq .L844
ldr x0, [sp, 40]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
.L844:
ldr x0, [sp, 48]
ldr x0, [x0]
ldr w1, [x0, 8]
ldr w0, [sp, 92]
sub w0, w1, w0
str w0, [sp, 96]
ldr x0, [sp, 232]
bl query_function
str w0, [sp, 100]
ldr w0, [sp, 100]
cmp w0, 0
blt .L845
ldr w0, [sp, 100]
bl get_function_delegate
str x0, [sp, 264]
ldr x0, [sp, 264]
cmp x0, 0
bne .L846
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3522
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC98
add x0, x0, :lo12:.LC98
bl __assert_fail
.L846:
ldr x3, [sp, 264]
ldr w2, [sp, 96]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
blr x3
ldr x0, [sp, 48]
ldr x0, [x0]
ldr w1, [x0, 8]
ldr w0, [sp, 92]
add w0, w0, 1
cmp w1, w0
beq .L908
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3524
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC103
add x0, x0, :lo12:.LC103
bl __assert_fail
.L845:
ldr x0, [sp, 232]
bl query_sysvar
str w0, [sp, 104]
ldr w0, [sp, 104]
cmp w0, 0
blt .L848
ldr w0, [sp, 96]
cmp w0, 0
ble .L849
ldr x1, [sp, 232]
adrp x0, .LC104
add x0, x0, :lo12:.LC104
bl raise_error
.L849:
ldr x0, [sp, 48]
ldr x0, [x0]
ldrsw x1, [sp, 96]
bl stack_pop
ldr w0, [sp, 104]
cmp w0, 4
beq .L850
ldr w0, [sp, 104]
cmp w0, 4
bgt .L851
ldr w0, [sp, 104]
cmp w0, 3
beq .L852
ldr w0, [sp, 104]
cmp w0, 3
bgt .L851
ldr w0, [sp, 104]
cmp w0, 2
beq .L853
ldr w0, [sp, 104]
cmp w0, 2
bgt .L851
ldr w0, [sp, 104]
cmp w0, 0
beq .L854
ldr w0, [sp, 104]
cmp w0, 1
beq .L855
b .L851
.L854:
ldr x0, [sp, 48]
ldr w0, [x0, 536]
cmp w0, 0
bgt .L856
adrp x0, .LC105
add x0, x0, :lo12:.LC105
bl raise_error
.L856:
ldr x0, [sp, 48]
ldr x19, [x0]
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w0, w0, #1
ldr x2, [sp, 48]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w0, [x0, 168]
bl create_value
mov x1, x0
mov x0, x19
bl stack_push
b .L847
.L855:
ldr x0, [sp, 48]
ldr x19, [x0]
ldr x0, [sp, 48]
ldr w0, [x0, 544]
bl create_value
mov x1, x0
mov x0, x19
bl stack_push
b .L847
.L853:
ldr x0, [sp, 48]
ldr x19, [x0]
ldr x0, [sp, 48]
ldr d0, [x0, 552]
bl create_value2
mov x1, x0
mov x0, x19
bl stack_push
b .L847
.L852:
ldr x0, [sp, 48]
ldr x19, [x0]
ldr x0, [sp, 48]
ldr x0, [x0, 560]
bl create_value3
mov x1, x0
mov x0, x19
bl stack_push
b .L847
.L850:
ldr x0, [sp, 48]
ldr x19, [x0]
ldr x0, [sp, 48]
ldr w0, [x0, 568]
bl create_value
mov x1, x0
mov x0, x19
bl stack_push
b .L847
.L851:
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3555
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L848:
ldr w0, [sp, 96]
cmp w0, 1
ble .L858
ldr x1, [sp, 232]
adrp x0, .LC106
add x0, x0, :lo12:.LC106
bl raise_error
.L858:
ldr x0, [sp, 56]
ldr x0, [x0, 32]
ldr x1, [sp, 232]
bl search_variable
str x0, [sp, 240]
ldr x0, [sp, 240]
cmp x0, 0
bne .L859
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3566
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC71
add x0, x0, :lo12:.LC71
bl __assert_fail
.L859:
str wzr, [sp, 76]
ldr w0, [sp, 96]
cmp w0, 0
ble .L860
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 248]
ldr x0, [sp, 248]
bl value_calc_int
str w0, [sp, 76]
.L860:
ldr w1, [sp, 76]
ldr x0, [sp, 240]
bl create_value4
str x0, [sp, 256]
ldr x0, [sp, 48]
ldr x0, [x0]
ldrsw x1, [sp, 96]
bl stack_pop
ldr x0, [sp, 48]
ldr x0, [x0]
ldr x1, [sp, 256]
bl stack_push
b .L908
.L847:
b .L908
.L790:
ldr x0, [sp, 48]
mov w1, 1
strb w1, [x0, 540]
b .L802
.L789:
ldr x0, [sp, 48]
ldr w0, [x0, 144]
cmp w0, 0
bgt .L861
adrp x0, .LC107
add x0, x0, :lo12:.LC107
bl raise_error
.L861:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
cmp x0, 0
beq .L862
ldr x0, [sp, 40]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 224]
ldr x0, [sp, 224]
bl value_get_primitive_tag
cmp w0, 3
beq .L863
cmp w0, 3
bhi .L864
cmp w0, 1
beq .L865
cmp w0, 2
beq .L866
b .L864
.L865:
ldr x0, [sp, 224]
bl value_calc_int
mov w1, w0
ldr x0, [sp, 48]
str w1, [x0, 544]
b .L867
.L866:
ldr x0, [sp, 224]
bl value_calc_double
ldr x0, [sp, 48]
str d0, [x0, 552]
b .L867
.L863:
ldr x0, [sp, 48]
ldr x0, [x0, 560]
bl destroy_string
ldr x0, [sp, 224]
bl value_calc_string
mov x1, x0
ldr x0, [sp, 48]
str x1, [x0, 560]
b .L867
.L864:
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3601
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L867:
ldr x0, [sp, 48]
ldr x0, [x0]
mov x1, 1
bl stack_pop
.L862:
ldr x0, [sp, 48]
ldr w0, [x0, 144]
sub w1, w0, #1
ldr x0, [sp, 48]
str w1, [x0, 144]
ldr x0, [sp, 48]
ldr w1, [x0, 144]
ldr x0, [sp, 48]
sxtw x1, w1
add x1, x1, 2
ldr x1, [x0, x1, lsl 3]
ldr x0, [sp, 48]
str x1, [x0, 8]
b .L802
.L788:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
str x0, [sp, 200]
ldr x0, [sp, 200]
cmp x0, 0
bne .L868
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3612
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC108
add x0, x0, :lo12:.LC108
bl __assert_fail
.L868:
ldr x0, [sp, 200]
ldr w0, [x0]
cmp w0, 1
beq .L869
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3613
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC109
add x0, x0, :lo12:.LC109
bl __assert_fail
.L869:
ldr x0, [sp, 200]
ldr x0, [x0, 8]
ldr x0, [x0, 8]
str x0, [sp, 208]
ldr x1, [sp, 208]
ldr x0, [sp, 56]
bl search_label
str x0, [sp, 216]
ldr x0, [sp, 216]
cmp x0, 0
bne .L870
ldr x1, [sp, 208]
adrp x0, .LC110
add x0, x0, :lo12:.LC110
bl raise_error
.L870:
ldr x0, [sp, 48]
ldr x1, [sp, 216]
str x1, [x0, 8]
b .L802
.L787:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
str x0, [sp, 176]
ldr x0, [sp, 176]
cmp x0, 0
bne .L871
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3624
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC108
add x0, x0, :lo12:.LC108
bl __assert_fail
.L871:
ldr x0, [sp, 176]
ldr w0, [x0]
cmp w0, 1
beq .L872
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3625
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC109
add x0, x0, :lo12:.LC109
bl __assert_fail
.L872:
ldr x0, [sp, 176]
ldr x0, [x0, 8]
ldr x0, [x0, 8]
str x0, [sp, 184]
ldr x1, [sp, 184]
ldr x0, [sp, 56]
bl search_label
str x0, [sp, 192]
ldr x0, [sp, 192]
cmp x0, 0
bne .L873
ldr x1, [sp, 184]
adrp x0, .LC111
add x0, x0, :lo12:.LC111
bl raise_error
.L873:
ldr x0, [sp, 48]
ldr w0, [x0, 144]
cmp w0, 14
ble .L874
adrp x0, .LC112
add x0, x0, :lo12:.LC112
bl raise_error
.L874:
ldr x0, [sp, 48]
ldr w0, [x0, 144]
add w1, w0, 1
ldr x0, [sp, 48]
str w1, [x0, 144]
ldr x0, [sp, 48]
ldr w0, [x0, 144]
sub w1, w0, #1
ldr x0, [sp, 48]
ldr x2, [x0, 8]
ldr x0, [sp, 48]
sxtw x1, w1
add x1, x1, 2
str x2, [x0, x1, lsl 3]
ldr x0, [sp, 48]
ldr x1, [sp, 192]
str x1, [x0, 8]
b .L802
.L786:
ldr x0, [sp, 48]
ldr w0, [x0, 536]
cmp w0, 14
ble .L875
adrp x0, .LC113
add x0, x0, :lo12:.LC113
bl raise_error
.L875:
ldr x0, [sp, 48]
ldr w0, [x0, 536]
add w1, w0, 1
ldr x0, [sp, 48]
str w1, [x0, 536]
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w1, w0, #1
ldr x0, [sp, 48]
ldr x2, [x0, 8]
ldr x3, [sp, 48]
sxtw x1, w1
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x3, x0
str x2, [x0, 152]
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w0, w0, #1
ldr x2, [sp, 48]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str wzr, [x0, 168]
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w0, w0, #1
ldr x2, [sp, 48]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str wzr, [x0, 160]
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w0, w0, #1
ldr x2, [sp, 48]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
str wzr, [x0, 164]
mov w0, -1
str w0, [sp, 80]
ldr x0, [sp, 40]
ldr x0, [x0, 16]
cmp x0, 0
beq .L876
ldr x0, [sp, 40]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 168]
ldr x0, [sp, 168]
bl value_calc_int
str w0, [sp, 80]
ldr x0, [sp, 48]
ldr x0, [x0]
mov x1, 1
bl stack_pop
.L876:
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w0, w0, #1
ldr x2, [sp, 48]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w1, [sp, 80]
str w1, [x0, 164]
b .L802
.L785:
ldr x0, [sp, 48]
ldr w0, [x0, 536]
cmp w0, 0
bgt .L877
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3659
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC114
add x0, x0, :lo12:.LC114
bl __assert_fail
.L877:
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w0, w0, #1
ldr x2, [sp, 48]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w0, [x0, 164]
cmp w0, 0
blt .L909
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w0, w0, #1
ldr x2, [sp, 48]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w2, [x0, 160]
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w0, w0, #1
ldr x3, [sp, 48]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x3, x0
ldr w0, [x0, 164]
cmp w2, w0
blt .L909
str wzr, [sp, 84]
b .L879
.L883:
ldr x0, [sp, 48]
ldr x0, [x0, 8]
ldr x0, [x0, 16]
str x0, [sp, 160]
ldr x0, [sp, 160]
ldr w0, [x0]
cmp w0, 28
bne .L880
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
b .L881
.L880:
ldr x0, [sp, 160]
ldr w0, [x0]
cmp w0, 30
bne .L881
ldr w0, [sp, 84]
sub w1, w0, #1
str w1, [sp, 84]
cmp w0, 0
beq .L910
.L881:
ldr x0, [sp, 48]
ldr x0, [x0, 8]
ldr x1, [x0, 8]
ldr x0, [sp, 48]
str x1, [x0, 8]
.L879:
ldr x0, [sp, 48]
ldr x0, [x0, 8]
cmp x0, 0
bne .L883
b .L882
.L910:
nop
.L882:
ldr x0, [sp, 48]
ldr x0, [x0, 8]
cmp x0, 0
bne .L884
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3675
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC115
add x0, x0, :lo12:.LC115
bl __assert_fail
.L884:
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w1, w0, #1
ldr x0, [sp, 48]
str w1, [x0, 536]
b .L909
.L784:
ldr x0, [sp, 48]
ldr w0, [x0, 536]
cmp w0, 0
bgt .L885
adrp x0, .LC116
add x0, x0, :lo12:.LC116
bl raise_error
.L885:
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w4, w0, #1
ldr x2, [sp, 48]
sxtw x1, w4
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w0, [x0, 160]
add w2, w0, 1
ldr x3, [sp, 48]
sxtw x1, w4
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x3, x0
str w2, [x0, 160]
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w4, w0, #1
ldr x2, [sp, 48]
sxtw x1, w4
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr w0, [x0, 168]
add w2, w0, 1
ldr x3, [sp, 48]
sxtw x1, w4
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x3, x0
str w2, [x0, 168]
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w0, w0, #1
ldr x2, [sp, 48]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr x1, [x0, 152]
ldr x0, [sp, 48]
str x1, [x0, 8]
b .L802
.L783:
ldr x0, [sp, 48]
ldr w0, [x0, 536]
cmp w0, 0
bgt .L886
adrp x0, .LC117
add x0, x0, :lo12:.LC117
bl raise_error
.L886:
str wzr, [sp, 88]
b .L887
.L891:
ldr x0, [sp, 48]
ldr x0, [x0, 8]
ldr x0, [x0, 16]
str x0, [sp, 152]
ldr x0, [sp, 152]
ldr w0, [x0]
cmp w0, 28
bne .L888
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
b .L889
.L888:
ldr x0, [sp, 152]
ldr w0, [x0]
cmp w0, 30
bne .L889
ldr w0, [sp, 88]
sub w1, w0, #1
str w1, [sp, 88]
cmp w0, 0
beq .L911
.L889:
ldr x0, [sp, 48]
ldr x0, [x0, 8]
ldr x1, [x0, 8]
ldr x0, [sp, 48]
str x1, [x0, 8]
.L887:
ldr x0, [sp, 48]
ldr x0, [x0, 8]
cmp x0, 0
bne .L891
b .L890
.L911:
nop
.L890:
ldr x0, [sp, 48]
ldr x0, [x0, 8]
cmp x0, 0
bne .L892
adrp x0, .LC118
add x0, x0, :lo12:.LC118
bl raise_error
.L892:
ldr x0, [sp, 48]
ldr w0, [x0, 536]
sub w1, w0, #1
ldr x0, [sp, 48]
str w1, [x0, 536]
b .L802
.L782:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
cmp x0, 0
bne .L893
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3714
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC101
add x0, x0, :lo12:.LC101
bl __assert_fail
.L893:
ldr x0, [sp, 40]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
ldr x0, [sp, 40]
ldr x0, [x0, 24]
cmp x0, 0
bne .L894
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3716
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC119
add x0, x0, :lo12:.LC119
bl __assert_fail
.L894:
ldr x0, [sp, 40]
ldr x0, [x0, 24]
str x0, [sp, 136]
ldr x0, [sp, 136]
ldr w0, [x0]
cmp w0, 34
beq .L895
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3718
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC95
add x0, x0, :lo12:.LC95
bl __assert_fail
.L895:
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 144]
ldr x0, [sp, 144]
bl value_calc_boolean
strb w0, [sp, 71]
ldr x0, [sp, 48]
ldr x0, [x0]
mov x1, 1
bl stack_pop
ldrb w0, [sp, 71]
cmp w0, 0
beq .L896
ldr x0, [sp, 136]
ldr x0, [x0, 16]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
b .L912
.L896:
ldr x0, [sp, 136]
ldr x0, [x0, 24]
cmp x0, 0
beq .L912
ldr x0, [sp, 136]
ldr x0, [x0, 24]
mov x2, x0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
b .L912
.L902:
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3733
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L780:
ldr x0, [sp, 40]
ldr x0, [x0, 40]
cmp x0, 0
bne .L898
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3736
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC120
add x0, x0, :lo12:.LC120
bl __assert_fail
.L898:
ldr x0, [sp, 40]
ldr x0, [x0, 40]
str x0, [sp, 120]
ldr x2, [sp, 120]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl evaluate
ldr x0, [sp, 48]
ldr x0, [x0]
mov w1, -1
bl stack_peek
str x0, [sp, 128]
ldr x0, [sp, 128]
bl value_calc_boolean
strb w0, [sp, 70]
ldr x0, [sp, 48]
ldr x0, [x0]
mov x1, 1
bl stack_pop
ldrb w0, [sp, 70]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L913
ldr x0, [sp, 48]
ldr x0, [x0, 8]
ldr x1, [x0, 8]
ldr x0, [sp, 48]
str x1, [x0, 8]
b .L913
.L777:
ldr x0, [sp, 40]
ldr x0, [x0, 40]
cmp x0, 0
bne .L900
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3750
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC120
add x0, x0, :lo12:.LC120
bl __assert_fail
.L900:
ldr x0, [sp, 40]
ldr x1, [x0, 40]
ldr x0, [sp, 48]
str x1, [x0, 8]
b .L802
.L901:
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3754
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl __assert_fail
.L904:
nop
b .L773
.L905:
nop
b .L773
.L906:
nop
b .L773
.L907:
nop
b .L773
.L908:
nop
b .L773
.L909:
nop
b .L773
.L912:
nop
b .L773
.L913:
nop
.L802:
b .L773
.L903:
nop
.L773:
ldr x19, [sp, 16]
ldp x29, x30, [sp], 368
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE149:
.size evaluate, .-evaluate
.section .rodata
.align 3
.LC121:
.string "No executable node.@@ [%p]"
.align 3
.LC122:
.string "top == s.stack_->top_"
.text
.align 2
.global execute
.type execute, %function
execute:
.LFB150:
.cfi_startproc
sub sp, sp, #640
.cfi_def_cfa_offset 640
stp x29, x30, [sp]
.cfi_offset 29, -640
.cfi_offset 30, -632
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, 632]
mov x1, 0
add x0, sp, 56
bl initialize_execute_status
ldr x0, [sp, 24]
ldr x0, [x0, 16]
ldr x0, [x0]
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L920
ldr x1, [sp, 24]
adrp x0, .LC121
add x0, x0, :lo12:.LC121
bl raise_error
.L920:
ldr x0, [sp, 64]
ldr x0, [x0, 16]
str x0, [sp, 48]
ldr x0, [sp, 56]
ldr w0, [x0, 8]
str w0, [sp, 44]
add x0, sp, 56
ldr x2, [sp, 48]
mov x1, x0
ldr x0, [sp, 24]
bl evaluate
ldr x0, [sp, 56]
ldr w0, [x0, 8]
ldr w1, [sp, 44]
cmp w1, w0
beq .L916
adrp x0, __PRETTY_FUNCTION__.5
add x3, x0, :lo12:__PRETTY_FUNCTION__.5
mov w2, 3773
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC122
add x0, x0, :lo12:.LC122
bl __assert_fail
.L916:
ldrb w0, [sp, 596]
cmp w0, 0
bne .L922
ldr x0, [sp, 64]
ldr x0, [x0, 8]
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
beq .L923
b .L920
.L922:
nop
b .L918
.L923:
nop
.L918:
add x0, sp, 56
bl uninitialize_execute_status
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 632]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L921
bl __stack_chk_fail
.L921:
ldp x29, x30, [sp]
add sp, sp, 640
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE150:
.size execute, .-execute
.align 2
.global query_command
.type query_command, %function
query_command:
.LFB151:
.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 .L925
.L928:
adrp x0, table.4
add x1, x0, :lo12:table.4
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
mov w2, -1
mov x1, x0
ldr x0, [sp, 24]
bl string_equal_igcase
and w0, w0, 255
cmp w0, 0
beq .L926
adrp x0, table.4
add x1, x0, :lo12:table.4
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0]
b .L927
.L926:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L925:
adrp x0, table.4
add x1, x0, :lo12:table.4
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0]
cmn w0, #1
bne .L928
mov w0, -1
.L927:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE151:
.size query_command, .-query_command
.align 2
.global get_command_delegate
.type get_command_delegate, %function
get_command_delegate:
.LFB152:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
adrp x0, commands.3
add x0, x0, :lo12:commands.3
ldr w1, [sp, 12]
ldr x0, [x0, x1, lsl 3]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE152:
.size get_command_delegate, .-get_command_delegate
.align 2
.global query_function
.type query_function, %function
query_function:
.LFB153:
.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 .L932
.L935:
adrp x0, table.2
add x1, x0, :lo12:table.2
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
mov w2, -1
mov x1, x0
ldr x0, [sp, 24]
bl string_equal_igcase
and w0, w0, 255
cmp w0, 0
beq .L933
adrp x0, table.2
add x1, x0, :lo12:table.2
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0]
b .L934
.L933:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L932:
adrp x0, table.2
add x1, x0, :lo12:table.2
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0]
cmn w0, #1
bne .L935
mov w0, -1
.L934:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE153:
.size query_function, .-query_function
.align 2
.global get_function_delegate
.type get_function_delegate, %function
get_function_delegate:
.LFB154:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
adrp x0, functions.1
add x0, x0, :lo12:functions.1
ldr w1, [sp, 12]
ldr x0, [x0, x1, lsl 3]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE154:
.size get_function_delegate, .-get_function_delegate
.section .rodata
.align 3
.LC123:
.string "start.hsp"
.align 3
.LC124:
.string "r"
.align 3
.LC125:
.string "script != NULL"
.text
.align 2
.global main
.type main, %function
main:
.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 w0, [sp, 28]
str x1, [sp, 16]
str xzr, [sp, 40]
strb wzr, [sp, 34]
ldr w0, [sp, 28]
cmp w0, 1
ble .L939
ldr x0, [sp, 16]
ldr x0, [x0, 8]
str x0, [sp, 40]
b .L940
.L939:
adrp x0, .LC123
add x0, x0, :lo12:.LC123
str x0, [sp, 40]
.L940:
str xzr, [sp, 48]
str xzr, [sp, 56]
adrp x0, .LC124
add x1, x0, :lo12:.LC124
ldr x0, [sp, 40]
bl fopen
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L941
ldr x1, [sp, 40]
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl raise_error
mov w0, -1
b .L942
.L941:
mov w2, 2
mov x1, 0
ldr x0, [sp, 72]
bl fseek
ldr x0, [sp, 72]
bl ftell
str x0, [sp, 80]
ldr x0, [sp, 80]
add x0, x0, 4
str x0, [sp, 64]
ldr x0, [sp, 64]
add x0, x0, 1
bl malloc
str x0, [sp, 56]
mov w2, 0
mov x1, 0
ldr x0, [sp, 72]
bl fseek
.L946:
ldr x0, [sp, 72]
bl fgetc
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
beq .L949
ldr w0, [sp, 36]
strb w0, [sp, 35]
ldr x1, [sp, 64]
ldr x0, [sp, 48]
cmp x1, x0
bhi .L945
ldr x0, [sp, 64]
lsl x0, x0, 1
str x0, [sp, 64]
ldr x1, [sp, 64]
ldr x0, [sp, 56]
bl realloc
str x0, [sp, 56]
.L945:
ldr x0, [sp, 48]
add x1, x0, 1
str x1, [sp, 48]
ldr x1, [sp, 56]
add x0, x1, x0
ldrb w1, [sp, 35]
strb w1, [x0]
b .L946
.L949:
nop
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
strb wzr, [x0]
ldr x0, [sp, 72]
bl fclose
ldr x0, [sp, 56]
cmp x0, 0
bne .L947
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 3913
adrp x0, .LC36
add x1, x0, :lo12:.LC36
adrp x0, .LC125
add x0, x0, :lo12:.LC125
bl __assert_fail
.L947:
bl create_execute_environment
str x0, [sp, 88]
ldr x1, [sp, 56]
ldr x0, [sp, 88]
bl load_script
ldr x0, [sp, 88]
bl execute
ldr x0, [sp, 88]
bl destroy_execute_environment
ldr x0, [sp, 56]
bl free
mov w0, 0
.L942:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE155:
.size main, .-main
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.50, %object
.size __PRETTY_FUNCTION__.50, 10
__PRETTY_FUNCTION__.50:
.string "link_next"
.align 3
.type __PRETTY_FUNCTION__.49, %object
.size __PRETTY_FUNCTION__.49, 10
__PRETTY_FUNCTION__.49:
.string "link_prev"
.align 3
.type __PRETTY_FUNCTION__.48, %object
.size __PRETTY_FUNCTION__.48, 13
__PRETTY_FUNCTION__.48:
.string "list_prepend"
.align 3
.type __PRETTY_FUNCTION__.47, %object
.size __PRETTY_FUNCTION__.47, 12
__PRETTY_FUNCTION__.47:
.string "list_append"
.align 3
.LC126:
.string "end"
.align 3
.LC127:
.string "return"
.align 3
.LC128:
.string "goto"
.align 3
.LC129:
.string "gosub"
.align 3
.LC130:
.string "repeat"
.align 3
.LC131:
.string "loop"
.align 3
.LC132:
.string "continue"
.align 3
.LC133:
.string "break"
.align 3
.LC134:
.string "if"
.align 3
.LC135:
.string "else"
.section .data.rel.ro.local,"aw"
.align 3
.type table.46, %object
.size table.46, 176
table.46:
.word 0
.zero 4
.xword .LC126
.word 1
.zero 4
.xword .LC127
.word 2
.zero 4
.xword .LC128
.word 3
.zero 4
.xword .LC129
.word 4
.zero 4
.xword .LC130
.word 5
.zero 4
.xword .LC131
.word 6
.zero 4
.xword .LC132
.word 7
.zero 4
.xword .LC133
.word 8
.zero 4
.xword .LC134
.word 9
.zero 4
.xword .LC135
.word -1
.zero 4
.xword 0
.section .rodata
.align 3
.LC136:
.string "and"
.align 3
.LC137:
.string "or"
.section .data.rel.ro.local
.align 3
.type shadows.45, %object
.size shadows.45, 48
shadows.45:
.word 12
.zero 4
.xword .LC136
.word 11
.zero 4
.xword .LC137
.word -1
.zero 4
.xword 0
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.44, %object
.size __PRETTY_FUNCTION__.44, 11
__PRETTY_FUNCTION__.44:
.string "read_token"
.align 3
.type __PRETTY_FUNCTION__.43, %object
.size __PRETTY_FUNCTION__.43, 13
__PRETTY_FUNCTION__.43:
.string "unread_token"
.align 3
.type __PRETTY_FUNCTION__.42, %object
.size __PRETTY_FUNCTION__.42, 11
__PRETTY_FUNCTION__.42:
.string "prev_token"
.align 3
.type __PRETTY_FUNCTION__.41, %object
.size __PRETTY_FUNCTION__.41, 17
__PRETTY_FUNCTION__.41:
.string "destroy_ast_node"
.align 3
.type __PRETTY_FUNCTION__.40, %object
.size __PRETTY_FUNCTION__.40, 13
__PRETTY_FUNCTION__.40:
.string "parse_borand"
.align 3
.type __PRETTY_FUNCTION__.39, %object
.size __PRETTY_FUNCTION__.39, 12
__PRETTY_FUNCTION__.39:
.string "parse_eqneq"
.align 3
.type __PRETTY_FUNCTION__.38, %object
.size __PRETTY_FUNCTION__.38, 11
__PRETTY_FUNCTION__.38:
.string "parse_gtlt"
.align 3
.type __PRETTY_FUNCTION__.37, %object
.size __PRETTY_FUNCTION__.37, 13
__PRETTY_FUNCTION__.37:
.string "parse_addsub"
.align 3
.type __PRETTY_FUNCTION__.36, %object
.size __PRETTY_FUNCTION__.36, 16
__PRETTY_FUNCTION__.36:
.string "parse_muldivmod"
.align 3
.type __PRETTY_FUNCTION__.35, %object
.size __PRETTY_FUNCTION__.35, 17
__PRETTY_FUNCTION__.35:
.string "prepare_variable"
.align 3
.type __PRETTY_FUNCTION__.34, %object
.size __PRETTY_FUNCTION__.34, 13
__PRETTY_FUNCTION__.34:
.string "variable_set"
.align 3
.type __PRETTY_FUNCTION__.33, %object
.size __PRETTY_FUNCTION__.33, 18
__PRETTY_FUNCTION__.33:
.string "variable_data_ptr"
.align 3
.type __PRETTY_FUNCTION__.32, %object
.size __PRETTY_FUNCTION__.32, 18
__PRETTY_FUNCTION__.32:
.string "variable_calc_int"
.align 3
.type __PRETTY_FUNCTION__.31, %object
.size __PRETTY_FUNCTION__.31, 21
__PRETTY_FUNCTION__.31:
.string "variable_calc_double"
.align 3
.type __PRETTY_FUNCTION__.30, %object
.size __PRETTY_FUNCTION__.30, 21
__PRETTY_FUNCTION__.30:
.string "variable_calc_string"
.align 3
.type __PRETTY_FUNCTION__.29, %object
.size __PRETTY_FUNCTION__.29, 19
__PRETTY_FUNCTION__.29:
.string "value_calc_boolean"
.align 3
.type __PRETTY_FUNCTION__.28, %object
.size __PRETTY_FUNCTION__.28, 15
__PRETTY_FUNCTION__.28:
.string "value_calc_int"
.align 3
.type __PRETTY_FUNCTION__.27, %object
.size __PRETTY_FUNCTION__.27, 18
__PRETTY_FUNCTION__.27:
.string "value_calc_double"
.align 3
.type __PRETTY_FUNCTION__.26, %object
.size __PRETTY_FUNCTION__.26, 18
__PRETTY_FUNCTION__.26:
.string "value_calc_string"
.align 3
.type __PRETTY_FUNCTION__.25, %object
.size __PRETTY_FUNCTION__.25, 19
__PRETTY_FUNCTION__.25:
.string "value_convert_type"
.align 3
.type __PRETTY_FUNCTION__.24, %object
.size __PRETTY_FUNCTION__.24, 14
__PRETTY_FUNCTION__.24:
.string "value_isolate"
.align 3
.type __PRETTY_FUNCTION__.23, %object
.size __PRETTY_FUNCTION__.23, 10
__PRETTY_FUNCTION__.23:
.string "value_bor"
.align 3
.type __PRETTY_FUNCTION__.22, %object
.size __PRETTY_FUNCTION__.22, 11
__PRETTY_FUNCTION__.22:
.string "value_band"
.align 3
.type __PRETTY_FUNCTION__.21, %object
.size __PRETTY_FUNCTION__.21, 9
__PRETTY_FUNCTION__.21:
.string "value_eq"
.align 3
.type __PRETTY_FUNCTION__.20, %object
.size __PRETTY_FUNCTION__.20, 10
__PRETTY_FUNCTION__.20:
.string "value_neq"
.align 3
.type __PRETTY_FUNCTION__.19, %object
.size __PRETTY_FUNCTION__.19, 9
__PRETTY_FUNCTION__.19:
.string "value_gt"
.align 3
.type __PRETTY_FUNCTION__.18, %object
.size __PRETTY_FUNCTION__.18, 11
__PRETTY_FUNCTION__.18:
.string "value_gtoe"
.align 3
.type __PRETTY_FUNCTION__.17, %object
.size __PRETTY_FUNCTION__.17, 9
__PRETTY_FUNCTION__.17:
.string "value_lt"
.align 3
.type __PRETTY_FUNCTION__.16, %object
.size __PRETTY_FUNCTION__.16, 11
__PRETTY_FUNCTION__.16:
.string "value_ltoe"
.align 3
.type __PRETTY_FUNCTION__.15, %object
.size __PRETTY_FUNCTION__.15, 10
__PRETTY_FUNCTION__.15:
.string "value_add"
.align 3
.type __PRETTY_FUNCTION__.14, %object
.size __PRETTY_FUNCTION__.14, 10
__PRETTY_FUNCTION__.14:
.string "value_sub"
.align 3
.type __PRETTY_FUNCTION__.13, %object
.size __PRETTY_FUNCTION__.13, 10
__PRETTY_FUNCTION__.13:
.string "value_mul"
.align 3
.type __PRETTY_FUNCTION__.12, %object
.size __PRETTY_FUNCTION__.12, 10
__PRETTY_FUNCTION__.12:
.string "value_div"
.align 3
.type __PRETTY_FUNCTION__.11, %object
.size __PRETTY_FUNCTION__.11, 10
__PRETTY_FUNCTION__.11:
.string "value_mod"
.align 3
.type __PRETTY_FUNCTION__.10, %object
.size __PRETTY_FUNCTION__.10, 11
__PRETTY_FUNCTION__.10:
.string "stack_peek"
.align 3
.type __PRETTY_FUNCTION__.9, %object
.size __PRETTY_FUNCTION__.9, 10
__PRETTY_FUNCTION__.9:
.string "stack_pop"
.align 3
.LC138:
.string "cnt"
.align 3
.LC139:
.string "stat"
.align 3
.LC140:
.string "refdval"
.align 3
.LC141:
.string "refstr"
.align 3
.LC142:
.string "strsize"
.section .data.rel.ro.local
.align 3
.type table.8, %object
.size table.8, 96
table.8:
.word 0
.zero 4
.xword .LC138
.word 1
.zero 4
.xword .LC139
.word 2
.zero 4
.xword .LC140
.word 3
.zero 4
.xword .LC141
.word 4
.zero 4
.xword .LC142
.word -1
.zero 4
.xword 0
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.7, %object
.size __PRETTY_FUNCTION__.7, 8
__PRETTY_FUNCTION__.7:
.string "flatten"
.align 3
.type __PRETTY_FUNCTION__.6, %object
.size __PRETTY_FUNCTION__.6, 9
__PRETTY_FUNCTION__.6:
.string "evaluate"
.align 3
.type __PRETTY_FUNCTION__.5, %object
.size __PRETTY_FUNCTION__.5, 8
__PRETTY_FUNCTION__.5:
.string "execute"
.align 3
.LC143:
.string "devterm"
.align 3
.LC144:
.string "dim"
.align 3
.LC145:
.string "ddim"
.align 3
.LC146:
.string "sdim"
.align 3
.LC147:
.string "randomize"
.align 3
.LC148:
.string "bload"
.align 3
.LC149:
.string "poke"
.align 3
.LC150:
.string "input"
.align 3
.LC151:
.string "mes"
.section .data.rel.ro.local
.align 3
.type table.4, %object
.size table.4, 160
table.4:
.word 0
.zero 4
.xword .LC143
.word 1
.zero 4
.xword .LC144
.word 2
.zero 4
.xword .LC145
.word 3
.zero 4
.xword .LC146
.word 4
.zero 4
.xword .LC147
.word 5
.zero 4
.xword .LC148
.word 6
.zero 4
.xword .LC149
.word 7
.zero 4
.xword .LC150
.word 8
.zero 4
.xword .LC151
.word -1
.zero 4
.xword 0
.align 3
.type commands.3, %object
.size commands.3, 80
commands.3:
.xword command_devterm
.xword command_dim
.xword command_ddim
.xword command_sdim
.xword command_randomize
.xword command_bload
.xword command_poke
.xword command_input
.xword command_mes
.xword 0
.section .rodata
.align 3
.LC152:
.string "int"
.align 3
.LC153:
.string "double"
.align 3
.LC154:
.string "str"
.align 3
.LC155:
.string "rnd"
.align 3
.LC156:
.string "abs"
.align 3
.LC157:
.string "powf"
.align 3
.LC158:
.string "peek"
.section .data.rel.ro.local
.align 3
.type table.2, %object
.size table.2, 128
table.2:
.word 0
.zero 4
.xword .LC152
.word 1
.zero 4
.xword .LC153
.word 2
.zero 4
.xword .LC154
.word 3
.zero 4
.xword .LC155
.word 4
.zero 4
.xword .LC156
.word 5
.zero 4
.xword .LC157
.word 6
.zero 4
.xword .LC158
.word -1
.zero 4
.xword 0
.align 3
.type functions.1, %object
.size functions.1, 64
functions.1:
.xword function_int
.xword function_double
.xword function_str
.xword function_rnd
.xword function_abs
.xword function_powf
.xword function_peek
.xword 0
.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 2
.type SpvMagicNumber, %object
.size SpvMagicNumber, 4
SpvMagicNumber:
.word 119734787
.align 2
.type SpvVersion, %object
.size SpvVersion, 4
SpvVersion:
.word 66304
.align 2
.type SpvRevision, %object
.size SpvRevision, 4
SpvRevision:
.word 7
.align 2
.type SpvOpCodeMask, %object
.size SpvOpCodeMask, 4
SpvOpCodeMask:
.word 65535
.align 2
.type SpvWordCountShift, %object
.size SpvWordCountShift, 4
SpvWordCountShift:
.word 16
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global color
.data
.align 2
.type color, %object
.size color, 4
color:
.word 200
.global cspeed
.type cspeed, %object
.size cspeed, 1
cspeed:
.byte 20
.global tspeed
.type tspeed, %object
.size tspeed, 1
tspeed:
.byte 30
.global set_new_speed
.bss
.type set_new_speed, %object
.size set_new_speed, 1
set_new_speed:
.zero 1
.global autonom
.type autonom, %object
.size autonom, 1
autonom:
.zero 1
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string " %d "
.text
.align 2
.global print
.type print, %function
print:
.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]
str x0, [sp, 40]
b .L2
.L3:
ldr x0, [sp, 40]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
.L2:
ldr x0, [sp, 40]
cmp x0, 0
bne .L3
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size print, .-print
.section .rodata
.align 3
.LC1:
.string "\nENTER NUMBER OF NODES="
.align 3
.LC2:
.string "%d"
.align 3
.LC3:
.string "\nENTER ELEMENTS: "
.text
.align 2
.global create
.type create, %function
create:
.LFB7:
.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
ldr x0, [sp, 24]
cmp x0, 0
bne .L5
mov w0, 2
str w0, [sp, 44]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 40
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
mov x0, 16
bl malloc
str x0, [sp, 24]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr x0, [sp, 24]
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
ldr x0, [sp, 24]
str x0, [sp, 48]
ldr x0, [sp, 48]
str xzr, [x0, 8]
b .L6
.L7:
mov x0, 16
bl malloc
mov x1, x0
ldr x0, [sp, 48]
str x1, [x0, 8]
ldr x0, [sp, 48]
ldr x0, [x0, 8]
str x0, [sp, 48]
ldr x0, [sp, 48]
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L6:
ldr w0, [sp, 40]
ldr w1, [sp, 44]
cmp w1, w0
ble .L7
ldr x0, [sp, 48]
str xzr, [x0, 8]
.L5:
mov w0, 10
bl putchar
ldr x0, [sp, 24]
bl print
ldr x0, [sp, 24]
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 .L9
bl __stack_chk_fail
.L9:
mov x0, x1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size create, .-create
.section .rodata
.align 3
.LC4:
.string "\nDUPLICATE LinkedList Is"
.text
.align 2
.global copy
.type copy, %function
copy:
.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 xzr, [sp, 32]
ldr x0, [sp, 32]
bl create
str x0, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 16]
mov x0, 16
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
str x0, [sp, 24]
ldr x0, [sp, 16]
ldr w1, [x0]
ldr x0, [sp, 24]
str w1, [x0]
b .L11
.L12:
ldr x0, [sp, 16]
ldr x0, [x0, 8]
str x0, [sp, 16]
mov x0, 16
bl malloc
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
ldr x0, [sp, 16]
ldr w1, [x0]
ldr x0, [sp, 24]
str w1, [x0]
.L11:
ldr x0, [sp, 16]
ldr x0, [x0, 8]
cmp x0, 0
bne .L12
ldr x0, [sp, 24]
str xzr, [x0, 8]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
ldr x0, [sp, 40]
bl print
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size copy, .-copy
.section .rodata
.align 3
.LC5:
.string "\nCONCAT"
.text
.align 2
.global concat
.type concat, %function
concat:
.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 xzr, [sp, 32]
str xzr, [sp, 40]
ldr x0, [sp, 32]
bl create
str x0, [sp, 32]
ldr x0, [sp, 40]
bl create
str x0, [sp, 40]
ldr x0, [sp, 32]
str x0, [sp, 24]
b .L14
.L15:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L14:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
bne .L15
ldr x0, [sp, 24]
ldr x1, [sp, 40]
str x1, [x0, 8]
str xzr, [sp, 40]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
ldr x0, [sp, 32]
bl print
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size concat, .-concat
.section .rodata
.align 3
.LC6:
.string "\nENTER POSITION TO SPLIT="
.align 3
.LC7:
.string "\nll 1."
.align 3
.LC8:
.string "\nll 2."
.text
.align 2
.global split
.type split, %function
split:
.LFB10:
.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
mov w0, 1
str w0, [sp, 28]
str xzr, [sp, 40]
ldr x0, [sp, 40]
bl create
str x0, [sp, 40]
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
add x0, sp, 24
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
ldr x0, [sp, 40]
str x0, [sp, 32]
b .L17
.L18:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L17:
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 28]
cmp w1, w0
blt .L18
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 48]
ldr x0, [sp, 32]
str xzr, [x0, 8]
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
ldr x0, [sp, 40]
bl print
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
ldr x0, [sp, 48]
bl print
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 .L19
bl __stack_chk_fail
.L19:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size split, .-split
.align 2
.global reverseR
.type reverseR, %function
reverseR:
.LFB11:
.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
bne .L21
mov x0, 0
b .L22
.L21:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
bne .L23
ldr x0, [sp, 24]
b .L22
.L23:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl reverseR
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
ldr x1, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 24]
str xzr, [x0, 8]
ldr x0, [sp, 40]
.L22:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size reverseR, .-reverseR
.section .rodata
.align 3
.LC9:
.string "\nREVERSE"
.text
.align 2
.global reverse
.type reverse, %function
reverse:
.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 xzr, [sp, 16]
ldr x0, [sp, 16]
bl create
str x0, [sp, 16]
ldr x0, [sp, 16]
bl reverseR
str x0, [sp, 24]
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl puts
ldr x0, [sp, 24]
bl print
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size reverse, .-reverse
.section .rodata
.align 3
.LC10:
.string "\nNUMBER OF NODES=%d"
.text
.align 2
.global noOfNodes
.type noOfNodes, %function
noOfNodes:
.LFB13:
.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, 28]
str xzr, [sp, 40]
ldr x0, [sp, 40]
bl create
str x0, [sp, 40]
ldr x0, [sp, 40]
str x0, [sp, 32]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
b .L26
.L27:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L26:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
cmp x0, 0
bne .L27
ldr w1, [sp, 28]
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size noOfNodes, .-noOfNodes
.section .rodata
.align 3
.LC11:
.string "\nSELECT AN OPTION\n1.COPY\t2.CONCATENATE\t3.SPLIT\t4.REVERSE\t5.NO OF NODES\t6.Exit"
.text
.align 2
.global main
.type main, %function
main:
.LFB14:
.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
.L36:
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
add x0, sp, 20
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
ldr w0, [sp, 20]
cmp w0, 6
beq .L29
cmp w0, 6
bgt .L36
cmp w0, 5
beq .L31
cmp w0, 5
bgt .L36
cmp w0, 4
beq .L32
cmp w0, 4
bgt .L36
cmp w0, 3
beq .L33
cmp w0, 3
bgt .L36
cmp w0, 1
beq .L34
cmp w0, 2
beq .L35
b .L30
.L34:
bl copy
b .L30
.L35:
bl concat
b .L30
.L33:
bl split
b .L30
.L32:
bl reverse
b .L30
.L31:
bl noOfNodes
b .L30
.L29:
mov w0, 0
bl exit
.L30:
b .L36
.cfi_endproc
.LFE14:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
stp xzr, xzr, [sp]
mov w0, 1
strb w0, [sp]
ldr x0, [sp]
add sp, sp, 16
.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 the inductance in millihenrys:"
.align 3
.LC1:
.string "%lf"
.align 3
.LC2:
.string "Enter the capacitance in microfarads:"
.align 3
.LC3:
.string "Resonant frequency :%.2f\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
bl printf
add x0, sp, 24
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, 32
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr d0, [sp, 24]
mov x0, 70368744177664
movk x0, 0x408f, lsl 48
fmov d1, x0
fdiv d1, d0, d1
ldr d0, [sp, 32]
mov x0, 145685290680320
movk x0, 0x412e, lsl 48
fmov d2, x0
fdiv d0, d0, d2
fmul d0, d1, d0
bl sqrt
fmov d1, d0
fmov d0, 1.0e+0
fdiv d0, d0, d1
str d0, [sp, 40]
adrp x0, .LC4
ldr d1, [x0, #:lo12:.LC4]
ldr d0, [sp, 40]
fdiv d0, d0, d1
str d0, [sp, 48]
ldr d0, [sp, 48]
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, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
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
.LC4:
.word 1413754136
.word 1075388923
``` |
### 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, -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
b .L2
.L8:
ldr w0, [sp, 16]
cmp w0, 0
beq .L11
mov w0, 1
str w0, [sp, 20]
b .L5
.L7:
ldr w0, [sp, 20]
mov w1, 9363
movk w1, 0x9249, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
add w1, w0, w1
asr w2, w1, 2
asr w1, w0, 31
sub w2, w2, w1
mov w1, w2
lsl w1, w1, 3
sub w1, w1, w2
sub w2, w0, w1
cmp w2, 0
beq .L6
ldr w1, [sp, 20]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
.L6:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L5:
ldr w0, [sp, 16]
ldr w1, [sp, 20]
cmp w1, w0
blt .L7
mov w0, 10
bl putchar
.L2:
add x0, sp, 16
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
cmp w0, 0
bne .L8
b .L4
.L11:
nop
.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 .L10
bl __stack_chk_fail
.L10:
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
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
mov w0, 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global max
.type max, %function
max:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
ldr w0, [sp, 12]
ldr w2, [sp, 8]
ldr w1, [sp, 8]
cmp w2, w0
csel w0, w1, w0, ge
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size max, .-max
.align 2
.global knapSack
.type knapSack, %function
knapSack:
.LFB1:
.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]
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
str w0, [x29, 92]
str x1, [x29, 80]
str x2, [x29, 72]
str w3, [x29, 88]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 136]
mov x1, 0
mov x0, sp
mov x24, x0
ldr w0, [x29, 92]
add w1, w0, 1
ldr w0, [x29, 88]
add w2, w0, 1
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 112]
sxtw x0, w1
mov x18, x0
mov x19, 0
lsr x0, x18, 59
lsl x17, x19, 5
orr x17, x0, x17
lsl x16, x18, 5
sxtw x0, w1
lsl x19, x0, 2
sxtw x0, w2
sub x0, x0, #1
str x0, [x29, 120]
sxtw x0, w1
mov x10, x0
mov x11, 0
sxtw x0, w2
mov x8, x0
mov x9, 0
mul x3, x10, x8
umulh x0, x10, x8
madd x0, x11, x8, x0
madd x0, x10, x9, x0
mov x22, x3
mov x23, x0
lsr x0, x22, 59
lsl x15, x23, 5
orr x15, x0, x15
lsl x14, x22, 5
sxtw x0, w1
mov x6, x0
mov x7, 0
sxtw x0, w2
mov x4, x0
mov x5, 0
mul x3, x6, x4
umulh x0, x6, x4
madd x0, x7, x4, x0
madd x0, x6, x5, x0
mov x20, x3
mov x21, x0
lsr x0, x20, 59
lsl x13, x21, 5
orr x13, x0, x13
lsl x12, x20, 5
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
.L4:
cmp sp, x1
beq .L5
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L4
.L5:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L6
str xzr, [sp, 1024]
.L6:
add x0, sp, 16
add x0, x0, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 128]
str wzr, [x29, 104]
b .L7
.L14:
str wzr, [x29, 108]
b .L8
.L13:
ldr w0, [x29, 104]
cmp w0, 0
beq .L9
ldr w0, [x29, 108]
cmp w0, 0
bne .L10
.L9:
lsr x1, x19, 2
ldr x0, [x29, 128]
ldrsw x2, [x29, 108]
ldrsw x3, [x29, 104]
mul x1, x3, x1
add x1, x2, x1
str wzr, [x0, x1, lsl 2]
b .L11
.L10:
ldrsw x0, [x29, 104]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [x29, 80]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [x29, 108]
cmp w1, w0
blt .L12
ldrsw x0, [x29, 104]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [x29, 72]
add x0, x1, x0
ldr w1, [x0]
lsr x2, x19, 2
ldr w0, [x29, 104]
sub w4, w0, #1
ldrsw x0, [x29, 104]
lsl x0, x0, 2
sub x0, x0, #4
ldr x3, [x29, 80]
add x0, x3, x0
ldr w0, [x0]
ldr w3, [x29, 108]
sub w3, w3, w0
ldr x0, [x29, 128]
sxtw x3, w3
sxtw x4, w4
mul x2, x4, x2
add x2, x3, x2
ldr w0, [x0, x2, lsl 2]
add w4, w1, w0
lsr x1, x19, 2
ldr w0, [x29, 104]
sub w3, w0, #1
ldr x0, [x29, 128]
ldrsw x2, [x29, 108]
sxtw x3, w3
mul x1, x3, x1
add x1, x2, x1
ldr w0, [x0, x1, lsl 2]
lsr x20, x19, 2
mov w1, w0
mov w0, w4
bl max
mov w3, w0
ldr x0, [x29, 128]
ldrsw x2, [x29, 108]
ldrsw x1, [x29, 104]
mul x1, x1, x20
add x1, x2, x1
str w3, [x0, x1, lsl 2]
b .L11
.L12:
lsr x2, x19, 2
ldr w0, [x29, 104]
sub w4, w0, #1
lsr x1, x19, 2
ldr x0, [x29, 128]
ldrsw x3, [x29, 108]
sxtw x4, w4
mul x2, x4, x2
add x2, x3, x2
ldr w2, [x0, x2, lsl 2]
ldr x0, [x29, 128]
ldrsw x3, [x29, 108]
ldrsw x4, [x29, 104]
mul x1, x4, x1
add x1, x3, x1
str w2, [x0, x1, lsl 2]
.L11:
ldr w0, [x29, 108]
add w0, w0, 1
str w0, [x29, 108]
.L8:
ldr w1, [x29, 108]
ldr w0, [x29, 92]
cmp w1, w0
ble .L13
ldr w0, [x29, 104]
add w0, w0, 1
str w0, [x29, 104]
.L7:
ldr w1, [x29, 104]
ldr w0, [x29, 88]
cmp w1, w0
ble .L14
lsr x1, x19, 2
ldr x0, [x29, 128]
ldrsw x2, [x29, 92]
ldrsw x3, [x29, 88]
mul x1, x3, x1
add x1, x2, x1
ldr w0, [x0, x1, lsl 2]
mov sp, x24
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 .L16
bl __stack_chk_fail
.L16:
mov w0, w1
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x29, x30, [sp], 144
.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
.LFE1:
.size knapSack, .-knapSack
.section .rodata
.align 3
.LC2:
.string "%d"
.text
.align 2
.global main
.type main, %function
main:
.LFB2:
.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, 24
ldr x2, [x1]
str x2, [x0]
ldr w1, [x1, 8]
str w1, [x0, 8]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
add x0, sp, 40
ldr x2, [x1]
str x2, [x0]
ldr w1, [x1, 8]
str w1, [x0, 8]
mov w0, 50
str w0, [sp, 16]
mov w0, 3
str w0, [sp, 20]
add x1, sp, 24
add x0, sp, 40
ldr w3, [sp, 20]
mov x2, x1
mov x1, x0
ldr w0, [sp, 16]
bl knapSack
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, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L19
bl __stack_chk_fail
.L19:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size main, .-main
.section .rodata
.align 3
.LC0:
.word 60
.word 100
.word 120
.align 3
.LC1:
.word 10
.word 20
.word 30
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global empty_void_function_int_param
.type empty_void_function_int_param, %function
empty_void_function_int_param:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size empty_void_function_int_param, .-empty_void_function_int_param
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "\n Enter two numbers:"
.align 3
.LC1:
.string "%d %d"
.align 3
.LC2:
.string "GCD is %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 printf
add x1, sp, 28
add x0, sp, 24
mov x2, x1
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
b .L2
.L3:
ldr w0, [sp, 28]
str w0, [sp, 36]
ldr w0, [sp, 24]
ldr w1, [sp, 28]
sdiv w2, w0, w1
mul w1, w2, w1
sub w0, w0, w1
str w0, [sp, 28]
ldr w0, [sp, 36]
str w0, [sp, 24]
.L2:
ldr w0, [sp, 28]
cmp w0, 0
bne .L3
ldr w0, [sp, 24]
str w0, [sp, 32]
ldr w1, [sp, 32]
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 .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
.section .rodata
.align 3
.LC8:
.string "%d"
.align 3
.LC9:
.string "/proc/%d/environ"
.align 3
.LC10:
.string "Unable to fetch environment from %s\n"
.align 3
.LC12:
.string "/proc/%d/ns/%s"
.align 3
.LC13:
.string "Unable to open %s\n"
.align 3
.LC14:
.string "/proc/%d/root"
.align 3
.LC15:
.string "fchdir failed\n"
.align 3
.LC16:
.string "."
.align 3
.LC17:
.string "chroot failed\n"
.align 3
.LC18:
.string "Change of %s namespace failed with %d\n"
.align 3
.LC19:
.string "(Warning) change of %s namespace failed with %d\n"
.align 3
.LC20:
.string "Unable to switch to group %d\n"
.align 3
.LC21:
.string "Unable to switch to user %d\n"
.align 3
.LC22:
.string "DOCKERCOREHELPER_FALLBACK_CORE"
.align 3
.LC23:
.string "Failed to execv %s with %d ... will write core file instead\n"
.align 3
.LC24:
.string "/tmp/core.%d.%d.%d"
.align 3
.LC25:
.string "Unable to open %s for writing\n"
.align 3
.LC26:
.string "Unable to write %ld bytes to %s due to %d\n"
.align 3
.LC27:
.string "Failed to execv %s with %d and %s not set ... will NOT write core file\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
mov x12, 4592
sub sp, sp, x12
.cfi_def_cfa_offset 4592
stp x29, x30, [sp]
.cfi_offset 29, -4592
.cfi_offset 30, -4584
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -4576
.cfi_offset 20, -4568
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, 4584]
mov x1, 0
str xzr, [sp, 112]
str xzr, [sp, 120]
ldr x0, [sp, 32]
add x0, x0, 8
ldr x3, [x0]
add x0, sp, 52
mov x2, x0
adrp x0, .LC8
add x1, x0, :lo12:.LC8
mov x0, x3
bl __isoc99_sscanf
ldr x0, [sp, 32]
add x0, x0, 16
ldr x3, [x0]
add x0, sp, 56
mov x2, x0
adrp x0, .LC8
add x1, x0, :lo12:.LC8
mov x0, x3
bl __isoc99_sscanf
ldr x0, [sp, 32]
add x0, x0, 24
ldr x3, [x0]
add x0, sp, 60
mov x2, x0
adrp x0, .LC8
add x1, x0, :lo12:.LC8
mov x0, x3
bl __isoc99_sscanf
str xzr, [sp, 96]
ldr w0, [sp, 52]
add x3, sp, 232
mov w2, w0
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov x0, x3
bl sprintf
add x0, sp, 232
mov w1, 0
bl open
str w0, [sp, 80]
ldr w0, [sp, 80]
cmn w0, #1
bne .L3
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
add x0, sp, 232
mov x2, x0
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov x0, x3
bl fprintf
b .L3
.L4:
ldr x1, [sp, 96]
ldr x0, [sp, 128]
add x0, x1, x0
str x0, [sp, 96]
.L3:
add x0, sp, 488
mov x2, 4096
mov x1, x0
ldr w0, [sp, 80]
bl read
str x0, [sp, 128]
ldr x0, [sp, 128]
cmp x0, 0
bgt .L4
mov w2, 0
mov x1, 0
ldr w0, [sp, 80]
bl lseek
ldr x0, [sp, 96]
mov x1, x0
mov x0, 1
bl calloc
str x0, [sp, 112]
ldr x0, [sp, 96]
mov x1, x0
mov x0, 1
bl calloc
str x0, [sp, 120]
str xzr, [sp, 104]
b .L5
.L6:
ldr x0, [sp, 104]
ldr x1, [sp, 112]
add x3, x1, x0
ldr x1, [sp, 96]
ldr x0, [sp, 104]
sub x0, x1, x0
mov x2, x0
mov x1, x3
ldr w0, [sp, 80]
bl read
mov x1, x0
ldr x0, [sp, 104]
add x0, x0, x1
str x0, [sp, 104]
.L5:
ldr x1, [sp, 104]
ldr x0, [sp, 96]
cmp x1, x0
blt .L6
ldr w0, [sp, 80]
bl close
str wzr, [sp, 64]
str wzr, [sp, 68]
b .L7
.L14:
ldrsw x1, [sp, 68]
ldrsw x0, [sp, 64]
lsl x0, x0, 3
ldr x2, [sp, 120]
add x0, x2, x0
ldr x2, [sp, 112]
add x1, x2, x1
str x1, [x0]
b .L8
.L9:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L8:
ldrsw x0, [sp, 68]
ldr x1, [sp, 112]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L9
b .L10
.L12:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L10:
ldrsw x0, [sp, 68]
ldr x1, [sp, 96]
cmp x1, x0
ble .L11
ldrsw x0, [sp, 68]
ldr x1, [sp, 112]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
beq .L12
.L11:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L7:
ldrsw x0, [sp, 64]
ldr x1, [sp, 96]
cmp x1, x0
ble .L13
ldrsw x0, [sp, 68]
ldr x1, [sp, 96]
cmp x1, x0
bgt .L14
.L13:
adrp x0, .LC11
add x1, x0, :lo12:.LC11
add x0, sp, 176
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, 72]
b .L15
.L17:
ldr w2, [sp, 52]
ldrsw x0, [sp, 72]
lsl x0, x0, 3
add x1, sp, 176
ldr x0, [x1, x0]
add x4, sp, 488
mov x3, x0
adrp x0, .LC12
add x1, x0, :lo12:.LC12
mov x0, x4
bl sprintf
add x0, sp, 488
mov w1, 0
bl open
mov w2, w0
ldrsw x0, [sp, 72]
lsl x0, x0, 2
add x1, sp, 144
str w2, [x1, x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
add x1, sp, 144
ldr w0, [x1, x0]
cmn w0, #1
bne .L16
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 3
add x1, sp, 176
ldr x0, [x1, x0]
mov x2, x0
adrp x0, .LC13
add x1, x0, :lo12:.LC13
mov x0, x3
bl fprintf
.L16:
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L15:
ldr w0, [sp, 72]
cmp w0, 6
ble .L17
ldr w0, [sp, 52]
add x3, sp, 488
mov w2, w0
adrp x0, .LC14
add x1, x0, :lo12:.LC14
mov x0, x3
bl sprintf
add x0, sp, 488
mov w1, 0
bl open
str w0, [sp, 84]
ldr w0, [sp, 84]
cmn w0, #1
bne .L18
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
add x0, sp, 488
mov x2, x0
adrp x0, .LC13
add x1, x0, :lo12:.LC13
mov x0, x3
bl fprintf
.L18:
ldr w0, [sp, 84]
bl fchdir
cmp w0, 0
beq .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, .LC15
add x0, x0, :lo12:.LC15
bl fwrite
.L19:
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl chroot
cmp w0, 0
beq .L20
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 14
mov x1, 1
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl fwrite
.L20:
mov x1, 0
mov x0, 0
bl setgroups
mov w0, 512
bl unshare
str wzr, [sp, 76]
b .L21
.L24:
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 144
ldr w0, [x1, x0]
mov w1, 0
bl setns
str w0, [sp, 92]
ldr w0, [sp, 92]
cmp w0, 0
beq .L22
ldr w0, [sp, 76]
cmp w0, 6
beq .L22
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 3
add x1, sp, 176
ldr x20, [x1, x0]
bl __errno_location
ldr w0, [x0]
mov w3, w0
mov x2, x20
adrp x0, .LC18
add x1, x0, :lo12:.LC18
mov x0, x19
bl fprintf
b .L23
.L22:
ldr w0, [sp, 92]
cmp w0, 0
beq .L23
ldr w0, [sp, 76]
cmp w0, 6
bne .L23
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 3
add x1, sp, 176
ldr x20, [x1, x0]
bl __errno_location
ldr w0, [x0]
mov w3, w0
mov x2, x20
adrp x0, .LC19
add x1, x0, :lo12:.LC19
mov x0, x19
bl fprintf
.L23:
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 144
ldr w0, [x1, x0]
bl close
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L21:
ldr w0, [sp, 76]
cmp w0, 6
ble .L24
ldr w0, [sp, 60]
ldr w1, [sp, 60]
bl setregid
cmp w0, 0
beq .L25
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr w0, [sp, 60]
mov w2, w0
adrp x0, .LC20
add x1, x0, :lo12:.LC20
mov x0, x3
bl fprintf
.L25:
ldr w0, [sp, 56]
ldr w1, [sp, 56]
bl setreuid
cmp w0, 0
beq .L26
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr w0, [sp, 56]
mov w2, w0
adrp x0, .LC21
add x1, x0, :lo12:.LC21
mov x0, x3
bl fprintf
.L26:
ldr x0, [sp, 32]
add x0, x0, 32
ldr x3, [x0]
ldr x0, [sp, 32]
add x0, x0, 32
ldr x2, [sp, 120]
mov x1, x0
mov x0, x3
bl execve
cmn w0, #1
bne .L27
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl getenv
cmp x0, 0
bne .L27
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
ldr x0, [sp, 32]
add x0, x0, 32
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
mov w3, w0
mov x2, x20
adrp x0, .LC23
add x1, x0, :lo12:.LC23
mov x0, x19
bl fprintf
mov x0, -1
str x0, [sp, 136]
ldr w0, [sp, 52]
ldr w1, [sp, 56]
ldr w2, [sp, 60]
add x5, sp, 232
mov w4, w2
mov w3, w1
mov w2, w0
adrp x0, .LC24
add x1, x0, :lo12:.LC24
mov x0, x5
bl sprintf
add x0, sp, 232
mov w2, 432
mov w1, 4161
movk w1, 0x10, lsl 16
bl open
str w0, [sp, 88]
ldr w0, [sp, 88]
cmn w0, #1
bne .L29
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
add x0, sp, 232
mov x2, x0
adrp x0, .LC25
add x1, x0, :lo12:.LC25
mov x0, x3
bl fprintf
b .L29
.L30:
ldr x1, [sp, 136]
add x0, sp, 488
mov x2, x1
mov x1, x0
ldr w0, [sp, 88]
bl write
cmn x0, #1
bne .L29
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl __errno_location
ldr w1, [x0]
add x0, sp, 232
mov w4, w1
mov x3, x0
ldr x2, [sp, 136]
adrp x0, .LC26
add x1, x0, :lo12:.LC26
mov x0, x19
bl fprintf
.L29:
add x0, sp, 488
mov x2, 4096
mov x1, x0
mov w0, 0
bl read
str x0, [sp, 136]
ldr x0, [sp, 136]
cmp x0, 0
bgt .L30
ldr w0, [sp, 88]
bl close
b .L31
.L27:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
ldr x0, [sp, 32]
add x0, x0, 32
ldr x20, [x0]
bl __errno_location
ldr w1, [x0]
adrp x0, .LC22
add x4, x0, :lo12:.LC22
mov w3, w1
mov x2, x20
adrp x0, .LC27
add x1, x0, :lo12:.LC27
mov x0, x19
bl fprintf
.L31:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 4584]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L33
bl __stack_chk_fail
.L33:
mov w0, w1
ldp x19, x20, [sp, 16]
ldp x29, x30, [sp]
mov x12, 4592
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC0:
.string "cgroup"
.align 3
.LC1:
.string "ipc"
.align 3
.LC2:
.string "uts"
.align 3
.LC3:
.string "net"
.align 3
.LC4:
.string "pid"
.align 3
.LC5:
.string "mnt"
.align 3
.LC6:
.string "user"
.data
.align 3
.LC11:
.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
.section .rodata
.align 3
.LC0:
.string "P1 LABORAT\303\223RIO DE ESTURUDA DE DADOS"
.align 3
.LC1:
.string "MATHEUS CORR\303\212A RA:202010270"
.align 3
.LC2:
.string "cls"
.align 3
.LC3:
.string "1 A) -> Criar Lista (20 Elementos)"
.align 3
.LC4:
.string "2 B) -> Capturar Maior Menor"
.align 3
.LC5:
.string "3 C) -> Imprimir Maior Menor"
.align 3
.LC6:
.string "4 D) -> Inverter Lista"
.align 3
.LC7:
.string "5 E) -> Analise Recursiva"
.align 3
.LC8:
.string "6 F) -> Imprimir Lista"
.align 3
.LC9:
.string "7 G)-> Fechar"
.align 3
.LC10:
.string "\n\nOpcoes: "
.align 3
.LC11:
.string "%d"
.align 3
.LC12:
.string "\nNumero: "
.align 3
.LC13:
.string "Letra: "
.align 3
.LC14:
.string "%c"
.align 3
.LC15:
.string "\n-> Buscando NUMEROS mais e menos frequentes na lista"
.align 3
.LC16:
.string "\n-> Invertendo lista"
.align 3
.LC17:
.string "\n-> Fazendo analise recursiva"
.align 3
.LC18:
.string "\n-> Resultado: %d"
.align 3
.LC19:
.string "\n\n Opcao nao valida"
.align 3
.LC20:
.string "\n"
.align 3
.LC21:
.string "pause"
.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
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, .LC0
add x0, x0, :lo12:.LC0
bl printf
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
.L13:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl system
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 puts
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl puts
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
add x0, sp, 36
mov x1, x0
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl __isoc99_scanf
ldr w0, [sp, 36]
cmp w0, 7
beq .L16
cmp w0, 7
bgt .L3
cmp w0, 6
beq .L4
cmp w0, 6
bgt .L3
cmp w0, 5
beq .L5
cmp w0, 5
bgt .L3
cmp w0, 4
beq .L6
cmp w0, 4
bgt .L3
cmp w0, 3
beq .L7
cmp w0, 3
bgt .L3
cmp w0, 1
beq .L8
cmp w0, 2
beq .L9
b .L3
.L8:
add x0, sp, 48
bl inicializar
str wzr, [sp, 40]
b .L10
.L11:
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
add x0, sp, 32
mov x1, x0
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl __isoc99_scanf
bl getchar
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
add x0, sp, 31
mov x1, x0
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl __isoc99_scanf
ldr w0, [sp, 32]
ldrb w3, [sp, 31]
add x1, sp, 48
mov x2, x1
mov w1, w3
bl adicionar
ldr x0, [sp, 48]
bl imprimeLista
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L10:
ldr w0, [sp, 40]
cmp w0, 4
ble .L11
b .L12
.L9:
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl puts
ldr x0, [sp, 48]
add x1, sp, 64
bl capturarOcorrencia
b .L12
.L7:
ldr x0, [sp, 64]
bl imprimeOcorrencia
b .L12
.L6:
add x0, sp, 56
bl inicializar
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl puts
ldr x0, [sp, 48]
add x1, sp, 56
bl inverterLista
ldr x0, [sp, 56]
bl imprimeLista
b .L12
.L5:
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl puts
ldr x0, [sp, 48]
bl analiseRecursiva
str w0, [sp, 44]
ldr w1, [sp, 44]
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl printf
b .L12
.L4:
ldr x0, [sp, 48]
bl imprimeLista
b .L12
.L3:
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl puts
b .L12
.L16:
nop
.L12:
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl puts
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl system
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl system
ldr w0, [sp, 36]
cmp w0, 7
bne .L13
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 .L15
bl __stack_chk_fail
.L15:
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 inicializar
.type inicializar, %function
inicializar:
.LFB7:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
str xzr, [x0]
mov w0, 0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size inicializar, .-inicializar
.align 2
.global adicionar
.type adicionar, %function
adicionar:
.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 w0, [sp, 28]
strb w1, [sp, 27]
str x2, [sp, 16]
mov x0, 16
bl malloc
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w1, [sp, 28]
str w1, [x0]
ldr x0, [sp, 56]
ldrb w1, [sp, 27]
strb w1, [x0, 4]
ldr x0, [sp, 16]
ldr x0, [x0]
cmp x0, 0
bne .L20
ldr x0, [sp, 56]
str xzr, [x0, 8]
ldr x0, [sp, 16]
ldr x1, [sp, 56]
str x1, [x0]
b .L19
.L20:
ldr x0, [sp, 16]
ldr x0, [x0]
str x0, [sp, 40]
ldr x0, [sp, 16]
ldr x0, [x0]
str x0, [sp, 48]
b .L22
.L24:
ldr x0, [sp, 40]
str x0, [sp, 48]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
.L22:
ldr x0, [sp, 56]
ldr w1, [x0]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w1, w0
ble .L23
ldr x0, [sp, 40]
cmp x0, 0
bne .L24
.L23:
ldr x0, [sp, 16]
ldr x0, [x0]
ldr x1, [sp, 40]
cmp x1, x0
bne .L25
ldr x0, [sp, 16]
ldr x1, [x0]
ldr x0, [sp, 56]
str x1, [x0, 8]
ldr x0, [sp, 16]
ldr x1, [sp, 56]
str x1, [x0]
b .L26
.L25:
ldr x0, [sp, 48]
ldr x1, [x0, 8]
ldr x0, [sp, 56]
str x1, [x0, 8]
ldr x0, [sp, 48]
ldr x1, [sp, 56]
str x1, [x0, 8]
.L26:
mov w0, 0
.L19:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size adicionar, .-adicionar
.section .rodata
.align 3
.LC22:
.string "\n %d == %d"
.align 3
.LC23:
.string "\n contador == %d"
.text
.align 2
.global capturarOcorrencia
.type capturarOcorrencia, %function
capturarOcorrencia:
.LFB9:
.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]
str wzr, [sp, 32]
str wzr, [sp, 36]
str wzr, [sp, 40]
str wzr, [sp, 44]
str wzr, [sp, 48]
str wzr, [sp, 52]
ldr x0, [sp, 24]
str x0, [sp, 56]
ldr x0, [sp, 24]
str x0, [sp, 64]
ldr x0, [sp, 56]
ldr w0, [x0]
str w0, [sp, 32]
ldr x0, [sp, 56]
ldr w0, [x0]
str w0, [sp, 40]
b .L29
.L35:
ldr x0, [sp, 56]
ldr w0, [x0]
str w0, [sp, 52]
str wzr, [sp, 48]
ldr x0, [sp, 24]
str x0, [sp, 64]
b .L30
.L32:
ldr x0, [sp, 64]
ldr w0, [x0]
mov w2, w0
ldr w1, [sp, 52]
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl printf
ldr x0, [sp, 64]
ldr w0, [x0]
ldr w1, [sp, 52]
cmp w1, w0
bne .L31
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
ldr w0, [sp, 48]
add w1, w0, 1
str w1, [sp, 48]
mov w1, w0
adrp x0, .LC23
add x0, x0, :lo12:.LC23
bl printf
.L31:
ldr x0, [sp, 64]
ldr x0, [x0, 8]
str x0, [sp, 64]
.L30:
ldr x0, [sp, 64]
cmp x0, 0
bne .L32
ldr w1, [sp, 36]
ldr w0, [sp, 48]
cmp w1, w0
bge .L33
ldr w0, [sp, 48]
str w0, [sp, 36]
ldr w0, [sp, 52]
str w0, [sp, 32]
.L33:
ldr w1, [sp, 44]
ldr w0, [sp, 48]
cmp w1, w0
ble .L34
ldr w0, [sp, 48]
cmp w0, 0
bne .L34
ldr w0, [sp, 48]
str w0, [sp, 44]
ldr w0, [sp, 52]
str w0, [sp, 40]
.L34:
ldr x0, [sp, 56]
ldr x0, [x0, 8]
str x0, [sp, 56]
.L29:
ldr x0, [sp, 56]
cmp x0, 0
bne .L35
mov x0, 16
bl malloc
str x0, [sp, 72]
ldr x0, [sp, 72]
ldr w1, [sp, 32]
str w1, [x0]
ldr x0, [sp, 72]
ldr w1, [sp, 36]
str w1, [x0, 4]
ldr x0, [sp, 72]
ldr w1, [sp, 40]
str w1, [x0, 8]
ldr x0, [sp, 72]
ldr w1, [sp, 44]
str w1, [x0, 12]
ldr x0, [sp, 16]
ldr x1, [sp, 72]
str x1, [x0]
mov w0, 0
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size capturarOcorrencia, .-capturarOcorrencia
.section .rodata
.align 3
.LC24:
.string "-%c "
.text
.align 2
.global imprimeLista
.type imprimeLista, %function
imprimeLista:
.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]
ldr x0, [sp, 24]
cmp x0, 0
bne .L38
mov w0, 1
b .L39
.L38:
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl puts
b .L40
.L41:
ldr x0, [sp, 24]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
ldr x0, [sp, 24]
ldrb w0, [x0, 4]
mov w1, w0
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl printf
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L40:
ldr x0, [sp, 24]
cmp x0, 0
bne .L41
mov w0, 10
bl putchar
mov w0, 0
.L39:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size imprimeLista, .-imprimeLista
.section .rodata
.align 3
.LC25:
.string "\nMais Frequente: %d [%d]"
.align 3
.LC26:
.string "\nMenos Frequente: %d [%d]"
.text
.align 2
.global imprimeOcorrencia
.type imprimeOcorrencia, %function
imprimeOcorrencia:
.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 w1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 4]
mov w2, w0
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl printf
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0, 12]
mov w2, w0
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size imprimeOcorrencia, .-imprimeOcorrencia
.align 2
.global inverterLista
.type inverterLista, %function
inverterLista:
.LFB12:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp, 8]
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
bne .L44
mov w0, 1
b .L45
.L44:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
cmp x0, 0
bne .L46
mov w0, 0
b .L45
.L46:
ldr x0, [sp, 8]
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 16]
ldr x0, [sp, 16]
ldr x0, [x0, 8]
str x0, [sp, 24]
ldr x0, [sp, 40]
str xzr, [x0, 8]
ldr x0, [sp, 16]
ldr x1, [sp, 40]
str x1, [x0, 8]
b .L47
.L48:
ldr x0, [sp, 16]
str x0, [sp, 40]
ldr x0, [sp, 24]
str x0, [sp, 16]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
ldr x0, [sp, 16]
ldr x1, [sp, 40]
str x1, [x0, 8]
.L47:
ldr x0, [sp, 24]
cmp x0, 0
bne .L48
ldr x0, [sp]
ldr x1, [sp, 16]
str x1, [x0]
mov w0, 0
.L45:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size inverterLista, .-inverterLista
.section .rodata
.align 3
.LC27:
.string "\nPegou o resto = %d"
.align 3
.LC28:
.string "\ncontador++"
.align 3
.LC29:
.string "\navancou percorre"
.align 3
.LC30:
.string "\nchegou pra chamar a recursiva"
.text
.align 2
.global recursiva
.type recursiva, %function
recursiva:
.LFB13:
.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 x0, [sp, 40]
ldr x0, [x0, 8]
cmp x0, 0
beq .L50
str wzr, [sp, 52]
str wzr, [sp, 56]
b .L51
.L54:
ldrsw x0, [sp, 56]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w1, [x0]
ldr x0, [sp, 40]
ldrb w0, [x0, 4]
cmp w1, w0
bne .L52
mov w0, 1
str w0, [sp, 52]
b .L53
.L52:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L51:
ldr w0, [sp, 56]
cmp w0, 9
ble .L54
.L53:
ldr x0, [sp, 40]
ldr w1, [x0]
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, 60]
ldr w1, [sp, 60]
adrp x0, .LC27
add x0, x0, :lo12:.LC27
bl printf
ldr w0, [sp, 60]
cmp w0, 0
bne .L55
ldr w0, [sp, 52]
cmp w0, 1
bne .L55
ldr x0, [sp, 24]
add x0, x0, 4
str x0, [sp, 24]
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl printf
.L55:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
adrp x0, .LC29
add x0, x0, :lo12:.LC29
bl printf
ldr x0, [sp, 40]
ldr x0, [x0, 8]
cmp x0, 0
beq .L50
adrp x0, .LC30
add x0, x0, :lo12:.LC30
bl printf
ldr x2, [sp, 24]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl recursiva
.L50:
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size recursiva, .-recursiva
.align 2
.global analiseRecursiva
.type analiseRecursiva, %function
analiseRecursiva:
.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]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
str xzr, [sp, 40]
adrp x0, .LC31
add x1, x0, :lo12:.LC31
add x0, sp, 56
ldr x2, [x1]
str x2, [x0]
ldrh w1, [x1, 8]
strh w1, [x0, 8]
ldr x0, [sp, 24]
str x0, [sp, 48]
add x0, sp, 56
ldr x2, [sp, 40]
mov x1, x0
ldr x0, [sp, 48]
bl recursiva
ldr x0, [sp, 40]
ldr w0, [x0]
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 .L58
bl __stack_chk_fail
.L58:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size analiseRecursiva, .-analiseRecursiva
.section .rodata
.align 3
.LC31:
.ascii "aeiouAEIOU"
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global voice_speaker
.section .rodata
.align 3
.LC0:
.string "incall_nb-speaker"
.align 3
.LC1:
.string "incall_nb-speaker-mic"
.section .data.rel.ro.local,"aw"
.align 3
.type voice_speaker, %object
.size voice_speaker, 16
voice_speaker:
.xword .LC0
.xword .LC1
.global voice_speaker_wb
.section .rodata
.align 3
.LC2:
.string "incall_wb-speaker"
.align 3
.LC3:
.string "incall_wb-speaker-mic"
.section .data.rel.ro.local
.align 3
.type voice_speaker_wb, %object
.size voice_speaker_wb, 16
voice_speaker_wb:
.xword .LC2
.xword .LC3
.global voice_earpiece
.section .rodata
.align 3
.LC4:
.string "incall_nb-handset"
.align 3
.LC5:
.string "incall_nb-handset-mic"
.section .data.rel.ro.local
.align 3
.type voice_earpiece, %object
.size voice_earpiece, 16
voice_earpiece:
.xword .LC4
.xword .LC5
.global voice_earpiece_wb
.section .rodata
.align 3
.LC6:
.string "incall_wb-handset"
.align 3
.LC7:
.string "incall_wb-handset-mic"
.section .data.rel.ro.local
.align 3
.type voice_earpiece_wb, %object
.size voice_earpiece_wb, 16
voice_earpiece_wb:
.xword .LC6
.xword .LC7
.global voice_headphones
.section .rodata
.align 3
.LC8:
.string "incall_nb-headphone"
.align 3
.LC9:
.string "incall_nb-headphone-mic"
.section .data.rel.ro.local
.align 3
.type voice_headphones, %object
.size voice_headphones, 16
voice_headphones:
.xword .LC8
.xword .LC9
.global voice_headphones_wb
.section .rodata
.align 3
.LC10:
.string "incall_wb-headphone"
.align 3
.LC11:
.string "incall_wb-headphone-mic"
.section .data.rel.ro.local
.align 3
.type voice_headphones_wb, %object
.size voice_headphones_wb, 16
voice_headphones_wb:
.xword .LC10
.xword .LC11
.global voice_headset
.section .rodata
.align 3
.LC12:
.string "incall_nb-headset"
.align 3
.LC13:
.string "incall_nb-headset-mic"
.section .data.rel.ro.local
.align 3
.type voice_headset, %object
.size voice_headset, 16
voice_headset:
.xword .LC12
.xword .LC13
.global voice_headset_wb
.section .rodata
.align 3
.LC14:
.string "incall_wb-headset"
.align 3
.LC15:
.string "incall_wb-headset-mic"
.section .data.rel.ro.local
.align 3
.type voice_headset_wb, %object
.size voice_headset_wb, 16
voice_headset_wb:
.xword .LC14
.xword .LC15
.global voice_bt_sco
.section .rodata
.align 3
.LC16:
.string "incall_nb-bt-sco-headset"
.align 3
.LC17:
.string "incall_nb-bt-sco-headset-in"
.section .data.rel.ro.local
.align 3
.type voice_bt_sco, %object
.size voice_bt_sco, 16
voice_bt_sco:
.xword .LC16
.xword .LC17
.global voice_bt_sco_wb
.section .rodata
.align 3
.LC18:
.string "incall_wb-bt-sco-headset"
.align 3
.LC19:
.string "incall_wb-bt-sco-headset-in"
.section .data.rel.ro.local
.align 3
.type voice_bt_sco_wb, %object
.size voice_bt_sco_wb, 16
voice_bt_sco_wb:
.xword .LC18
.xword .LC19
.global voice_bt_sco_headset_out
.align 3
.type voice_bt_sco_headset_out, %object
.size voice_bt_sco_headset_out, 16
voice_bt_sco_headset_out:
.xword .LC16
.xword .LC17
.global voice_bt_sco_headset_out_wb
.align 3
.type voice_bt_sco_headset_out_wb, %object
.size voice_bt_sco_headset_out_wb, 16
voice_bt_sco_headset_out_wb:
.xword .LC18
.xword .LC19
.global media_speaker
.section .rodata
.align 3
.LC20:
.string "media-speaker"
.align 3
.LC21:
.string "media-mic"
.section .data.rel.ro.local
.align 3
.type media_speaker, %object
.size media_speaker, 16
media_speaker:
.xword .LC20
.xword .LC21
.global media_earpiece
.section .rodata
.align 3
.LC22:
.string "media-handset"
.section .data.rel.ro.local
.align 3
.type media_earpiece, %object
.size media_earpiece, 16
media_earpiece:
.xword .LC22
.xword .LC21
.global media_headphones
.section .rodata
.align 3
.LC23:
.string "media-headset"
.align 3
.LC24:
.string "media-headphone-mic"
.section .data.rel.ro.local
.align 3
.type media_headphones, %object
.size media_headphones, 16
media_headphones:
.xword .LC23
.xword .LC24
.global media_headset
.section .rodata
.align 3
.LC25:
.string "media-headset-mic"
.section .data.rel.ro.local
.align 3
.type media_headset, %object
.size media_headset, 16
media_headset:
.xword .LC23
.xword .LC25
.global media_bt_sco
.section .rodata
.align 3
.LC26:
.string "media-bt-sco-headset"
.align 3
.LC27:
.string "media-bt-sco-headset-in"
.section .data.rel.ro.local
.align 3
.type media_bt_sco, %object
.size media_bt_sco, 16
media_bt_sco:
.xword .LC26
.xword .LC27
.global media_bt_sco_headset_out
.align 3
.type media_bt_sco_headset_out, %object
.size media_bt_sco_headset_out, 16
media_bt_sco_headset_out:
.xword .LC26
.xword .LC27
.global camcorder_speaker
.section .rodata
.align 3
.LC28:
.string "camcorder-mic"
.section .data.rel.ro.local
.align 3
.type camcorder_speaker, %object
.size camcorder_speaker, 16
camcorder_speaker:
.xword .LC20
.xword .LC28
.global camcorder_headphones
.section .rodata
.align 3
.LC29:
.string "camcorder-headset-mic"
.section .data.rel.ro.local
.align 3
.type camcorder_headphones, %object
.size camcorder_headphones, 16
camcorder_headphones:
.xword .LC23
.xword .LC29
.global camcorder_headset
.align 3
.type camcorder_headset, %object
.size camcorder_headset, 16
camcorder_headset:
.xword .LC23
.xword .LC29
.global voice_rec_speaker
.section .rodata
.align 3
.LC30:
.string "recording-mic"
.section .data.rel.ro.local
.align 3
.type voice_rec_speaker, %object
.size voice_rec_speaker, 16
voice_rec_speaker:
.xword .LC20
.xword .LC30
.global voice_rec_headphones
.section .rodata
.align 3
.LC31:
.string "recording-headphone-mic"
.section .data.rel.ro.local
.align 3
.type voice_rec_headphones, %object
.size voice_rec_headphones, 16
voice_rec_headphones:
.xword .LC23
.xword .LC31
.global voice_rec_headset
.section .rodata
.align 3
.LC32:
.string "recording-headset-mic"
.section .data.rel.ro.local
.align 3
.type voice_rec_headset, %object
.size voice_rec_headset, 16
voice_rec_headset:
.xword .LC23
.xword .LC32
.global communication_speaker
.section .rodata
.align 3
.LC33:
.string "communication-speaker"
.align 3
.LC34:
.string "communication-speaker-mic"
.section .data.rel.ro.local
.align 3
.type communication_speaker, %object
.size communication_speaker, 16
communication_speaker:
.xword .LC33
.xword .LC34
.global communication_earpiece
.section .rodata
.align 3
.LC35:
.string "communication-handset"
.align 3
.LC36:
.string "communication-handset-mic"
.section .data.rel.ro.local
.align 3
.type communication_earpiece, %object
.size communication_earpiece, 16
communication_earpiece:
.xword .LC35
.xword .LC36
.global communication_headphones
.section .rodata
.align 3
.LC37:
.string "communication-headphone"
.align 3
.LC38:
.string "communication-headphone-mic"
.section .data.rel.ro.local
.align 3
.type communication_headphones, %object
.size communication_headphones, 16
communication_headphones:
.xword .LC37
.xword .LC38
.global communication_headset
.section .rodata
.align 3
.LC39:
.string "communication-headset"
.align 3
.LC40:
.string "communication-headset-mic"
.section .data.rel.ro.local
.align 3
.type communication_headset, %object
.size communication_headset, 16
communication_headset:
.xword .LC39
.xword .LC40
.global speaker_and_headphones
.section .rodata
.align 3
.LC41:
.string "media-speaker-headset"
.section .data.rel.ro.local
.align 3
.type speaker_and_headphones, %object
.size speaker_and_headphones, 16
speaker_and_headphones:
.xword .LC41
.xword .LC21
.global bt_sco_carkit
.align 3
.type bt_sco_carkit, %object
.size bt_sco_carkit, 16
bt_sco_carkit:
.xword .LC26
.xword .LC27
.global none
.section .rodata
.align 3
.LC42:
.string "none"
.section .data.rel.ro.local
.align 3
.type none, %object
.size none, 16
none:
.xword .LC42
.xword .LC42
.global route_configs
.align 3
.type route_configs, %object
.size route_configs, 432
route_configs:
.xword media_speaker
.xword media_earpiece
.xword media_headset
.xword media_headphones
.xword media_bt_sco
.xword media_bt_sco_headset_out
.xword bt_sco_carkit
.xword speaker_and_headphones
.xword media_speaker
.xword camcorder_speaker
.xword none
.xword camcorder_headset
.xword camcorder_headphones
.xword media_bt_sco
.xword media_bt_sco_headset_out
.xword bt_sco_carkit
.xword speaker_and_headphones
.xword camcorder_speaker
.xword voice_rec_speaker
.xword none
.xword voice_rec_headset
.xword voice_rec_headphones
.xword media_bt_sco
.xword media_bt_sco_headset_out
.xword bt_sco_carkit
.xword speaker_and_headphones
.xword voice_rec_speaker
.xword communication_speaker
.xword communication_earpiece
.xword communication_headset
.xword communication_headphones
.xword media_bt_sco
.xword media_bt_sco_headset_out
.xword bt_sco_carkit
.xword speaker_and_headphones
.xword communication_earpiece
.xword voice_speaker
.xword voice_earpiece
.xword voice_headset
.xword voice_headphones
.xword voice_bt_sco
.xword voice_bt_sco_headset_out
.xword bt_sco_carkit
.xword voice_headphones
.xword voice_earpiece
.xword voice_speaker_wb
.xword voice_earpiece_wb
.xword voice_headset_wb
.xword voice_headphones_wb
.xword voice_bt_sco_wb
.xword voice_bt_sco_headset_out_wb
.xword bt_sco_carkit
.xword voice_headphones_wb
.xword voice_earpiece_wb
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global MIN_SIZE
.section .rodata
.align 2
.type MIN_SIZE, %object
.size MIN_SIZE, 4
MIN_SIZE:
.word 16
.global MAX_LEN
.align 2
.type MAX_LEN, %object
.size MAX_LEN, 4
MAX_LEN:
.word 128
.global MAX_PATH_LEN
.align 2
.type MAX_PATH_LEN, %object
.size MAX_PATH_LEN, 4
MAX_PATH_LEN:
.word 1024
.text
.align 2
.global push
.type push, %function
push:
.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 x0, [sp, 40]
str x1, [sp, 32]
ldr x0, [sp, 40]
ldr w1, [x0]
ldr x0, [sp, 40]
ldr w0, [x0, 4]
cmp w1, w0
bne .L2
ldr x0, [sp, 40]
ldr x2, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 4]
sxtw x0, w0
lsl x0, x0, 4
mov x1, x0
mov x0, x2
bl realloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0, 4]
lsl w1, w0, 1
ldr x0, [sp, 40]
str w1, [x0, 4]
.L2:
ldr x0, [sp, 40]
ldr x1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 3
add x0, x1, x0
ldr x20, [x0]
ldr x0, [sp, 32]
bl strlen
mov x2, x0
ldr x0, [sp, 40]
ldr x1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 3
add x19, x1, x0
mov x1, x2
mov x0, x20
bl realloc
str x0, [x19]
ldr x0, [sp, 40]
ldr x1, [x0, 8]
ldr x0, [sp, 40]
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
ldr x1, [sp, 32]
bl strcpy
ldr x0, [sp, 40]
ldr w0, [x0]
add w1, w0, 1
ldr x0, [sp, 40]
str w1, [x0]
nop
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 push, .-push
.align 2
.global pop
.type pop, %function
pop:
.LFB7:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
cmp w0, 0
bne .L4
mov x0, 0
b .L5
.L4:
ldr x0, [sp, 8]
ldr x1, [x0, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
sub w3, w0, #1
ldr x2, [sp, 8]
str w3, [x2]
sxtw x0, w0
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
.L5:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size pop, .-pop
.align 2
.global init
.type init, %function
init:
.LFB8:
.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, 16
bl malloc
str x0, [sp, 24]
ldr x0, [sp, 24]
str wzr, [x0]
mov w1, 16
ldr x0, [sp, 24]
str w1, [x0, 4]
mov w0, 16
sxtw x0, w0
lsl x0, x0, 3
bl malloc
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size init, .-init
.align 2
.global destroy
.type destroy, %function
destroy:
.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 wzr, [sp, 44]
b .L9
.L11:
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldrsw x0, [sp, 44]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
cmp x0, 0
beq .L10
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldrsw x0, [sp, 44]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
bl free
.L10:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L9:
ldr x0, [sp, 24]
ldr w0, [x0, 4]
ldr w1, [sp, 44]
cmp w1, w0
blt .L11
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl free
ldr x0, [sp, 24]
str wzr, [x0, 4]
ldr x0, [sp, 24]
ldr w1, [x0, 4]
ldr x0, [sp, 24]
str w1, [x0]
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size destroy, .-destroy
.align 2
.global print_stack
.type print_stack, %function
print_stack:
.LFB10:
.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 .L13
.L14:
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldrsw x0, [sp, 44]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
bl puts
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L13:
ldr x0, [sp, 24]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L14
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size print_stack, .-print_stack
.section .rodata
.align 3
.LC0:
.string "ERROR: %s path is not absolute\n"
.align 3
.LC1:
.string "ERROR"
.text
.align 2
.global check_abs
.type check_abs, %function
check_abs:
.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]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 47
beq .L16
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x2, [sp, 16]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x3
bl fprintf
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
mov w0, -1
b .L17
.L16:
mov w0, 0
.L17:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size check_abs, .-check_abs
.section .rodata
.align 3
.LC2:
.string "ERROR: %s is incorrect\n"
.text
.align 2
.global check_path
.type check_path, %function
check_path:
.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]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 126
bne .L19
ldr x0, [sp, 24]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 47
beq .L20
ldr x0, [sp, 24]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 0
bne .L19
.L20:
mov w0, 0
b .L21
.L19:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 46
bne .L22
ldr x0, [sp, 24]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 47
beq .L23
ldr x0, [sp, 24]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 0
bne .L22
.L23:
mov w0, 0
b .L21
.L22:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 47
bne .L24
mov w0, 0
b .L21
.L24:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x2, [sp, 16]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl fprintf
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
mov w0, -1
.L21:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size check_path, .-check_path
.align 2
.global push_path
.type push_path, %function
push_path:
.LFB13:
.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]
bl strlen
str w0, [sp, 44]
str wzr, [sp, 36]
b .L26
.L36:
ldrsw x0, [sp, 36]
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
beq .L37
ldrsw x0, [sp, 36]
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 46
bne .L29
ldrsw x0, [sp, 36]
add x0, x0, 1
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
beq .L38
ldrsw x0, [sp, 36]
add x0, x0, 1
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
beq .L38
.L29:
ldrsw x0, [sp, 36]
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 46
bne .L31
ldrsw x0, [sp, 36]
add x0, x0, 1
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 46
bne .L31
ldrsw x0, [sp, 36]
add x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
beq .L32
ldrsw x0, [sp, 36]
add x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L31
.L32:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
ldr x0, [sp, 24]
bl pop
b .L28
.L31:
ldr w0, [sp, 36]
str w0, [sp, 40]
b .L33
.L35:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L33:
ldrsw x0, [sp, 40]
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
beq .L34
ldrsw x0, [sp, 40]
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
bne .L35
.L34:
ldrsw x0, [sp, 40]
ldr x1, [sp, 16]
add x0, x1, x0
strb wzr, [x0]
ldrsw x0, [sp, 36]
ldr x1, [sp, 16]
add x0, x1, x0
mov x1, x0
ldr x0, [sp, 24]
bl push
ldrsw x0, [sp, 40]
ldr x1, [sp, 16]
add x0, x1, x0
mov w1, 47
strb w1, [x0]
ldr w0, [sp, 40]
str w0, [sp, 36]
b .L28
.L37:
nop
b .L28
.L38:
nop
.L28:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L26:
ldr w1, [sp, 36]
ldr w0, [sp, 44]
cmp w1, w0
blt .L36
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size push_path, .-push_path
.align 2
.global process
.type process, %function
process:
.LFB14:
.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, 32]
ldrb w0, [x0]
cmp w0, 47
bne .L40
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl push_path
b .L39
.L40:
ldr x0, [sp, 32]
ldrb w0, [x0]
cmp w0, 126
bne .L42
ldr x0, [sp, 32]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 47
beq .L43
ldr x0, [sp, 32]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 0
bne .L42
.L43:
ldr x1, [sp, 16]
ldr x0, [sp, 40]
bl push_path
ldr x0, [sp, 32]
add x0, x0, 1
mov x1, x0
ldr x0, [sp, 40]
bl push_path
b .L39
.L42:
ldr x0, [sp, 32]
ldrb w0, [x0]
cmp w0, 46
bne .L44
ldr x0, [sp, 32]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 47
beq .L45
ldr x0, [sp, 32]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 0
bne .L44
.L45:
ldr x1, [sp, 24]
ldr x0, [sp, 40]
bl push_path
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl push_path
b .L39
.L44:
mov w0, -1
bl exit
.L39:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size process, .-process
.align 2
.global chomp
.type chomp, %function
chomp:
.LFB15:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
b .L47
.L48:
ldr x0, [sp, 8]
add x0, x0, 1
str x0, [sp, 8]
.L47:
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 10
bne .L48
ldr x0, [sp, 8]
strb wzr, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size chomp, .-chomp
.section .rodata
.align 3
.LC3:
.string "home"
.align 3
.LC4:
.string "current directory"
.align 3
.LC5:
.string "path 1"
.align 3
.LC6:
.string "path 2"
.align 3
.LC7:
.string "NO"
.align 3
.LC8:
.string "YES"
.text
.align 2
.global main
.type main, %function
main:
.LFB16:
.cfi_startproc
stp x29, x30, [sp, -240]!
.cfi_def_cfa_offset 240
.cfi_offset 29, -240
.cfi_offset 30, -232
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, -224
.cfi_offset 20, -216
.cfi_offset 21, -208
.cfi_offset 22, -200
.cfi_offset 23, -192
.cfi_offset 24, -184
.cfi_offset 25, -176
.cfi_offset 26, -168
.cfi_offset 27, -160
.cfi_offset 28, -152
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 232]
mov x1, 0
mov x0, sp
mov x28, x0
mov w0, 128
sxtw x0, w0
sub x0, x0, #1
str x0, [x29, 152]
mov w0, 128
sxtw x0, w0
str x0, [x29, 128]
str xzr, [x29, 136]
ldr x0, [x29, 128]
lsr x0, x0, 61
ldr x1, [x29, 136]
lsl x17, x1, 3
orr x17, x0, x17
ldr x0, [x29, 128]
lsl x16, x0, 3
mov w0, 128
sxtw x0, w0
str x0, [x29, 112]
str xzr, [x29, 120]
ldp x16, x17, [x29, 112]
mov x0, x16
lsr x0, x0, 61
mov x1, x17
lsl x15, x1, 3
orr x15, x0, x15
mov x0, x16
lsl x14, x0, 3
mov w0, 128
sxtw x0, w0
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L50:
cmp sp, x1
beq .L51
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L50
.L51:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L52
str xzr, [sp, 1024]
.L52:
add x0, sp, 16
add x0, x0, 0
str x0, [x29, 160]
mov w0, 128
sxtw x0, w0
sub x0, x0, #1
str x0, [x29, 168]
mov w0, 128
sxtw x0, w0
str x0, [x29, 96]
str xzr, [x29, 104]
ldp x14, x15, [x29, 96]
mov x0, x14
lsr x0, x0, 61
mov x1, x15
lsl x13, x1, 3
orr x13, x0, x13
mov x0, x14
lsl x12, x0, 3
mov w0, 128
sxtw x0, w0
mov x26, x0
mov x27, 0
lsr x0, x26, 61
lsl x11, x27, 3
orr x11, x0, x11
lsl x10, x26, 3
mov w0, 128
sxtw x0, w0
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L53:
cmp sp, x1
beq .L54
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L53
.L54:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L55
str xzr, [sp, 1024]
.L55:
add x0, sp, 16
add x0, x0, 0
str x0, [x29, 176]
mov w0, 1024
sxtw x0, w0
sub x0, x0, #1
str x0, [x29, 184]
mov w0, 1024
sxtw x0, w0
mov x24, x0
mov x25, 0
lsr x0, x24, 61
lsl x9, x25, 3
orr x9, x0, x9
lsl x8, x24, 3
mov w0, 1024
sxtw x0, w0
mov x22, x0
mov x23, 0
lsr x0, x22, 61
lsl x7, x23, 3
orr x7, x0, x7
lsl x6, x22, 3
mov w0, 1024
sxtw x0, w0
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L56:
cmp sp, x1
beq .L57
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L56
.L57:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L58
str xzr, [sp, 1024]
.L58:
add x0, sp, 16
add x0, x0, 0
str x0, [x29, 192]
mov w0, 1024
sxtw x0, w0
sub x0, x0, #1
str x0, [x29, 200]
mov w0, 1024
sxtw x0, w0
mov x20, x0
mov x21, 0
lsr x0, x20, 61
lsl x5, x21, 3
orr x5, x0, x5
lsl x4, x20, 3
mov w0, 1024
sxtw x0, w0
mov x18, x0
mov x19, 0
lsr x0, x18, 61
lsl x3, x19, 3
orr x3, x0, x3
lsl x2, x18, 3
mov w0, 1024
sxtw x0, w0
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L59:
cmp sp, x1
beq .L60
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L59
.L60:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L61
str xzr, [sp, 1024]
.L61:
add x0, sp, 16
add x0, x0, 0
str x0, [x29, 208]
bl init
str x0, [x29, 216]
bl init
str x0, [x29, 224]
mov w1, 128
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
mov x2, x0
ldr x0, [x29, 160]
bl fgets
cmp x0, 0
bne .L62
mov w0, 0
b .L63
.L62:
mov w1, 128
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
mov x2, x0
ldr x0, [x29, 176]
bl fgets
cmp x0, 0
bne .L64
mov w0, 0
b .L63
.L64:
mov w1, 1024
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
mov x2, x0
ldr x0, [x29, 192]
bl fgets
cmp x0, 0
bne .L65
mov w0, 0
b .L63
.L65:
mov w1, 1024
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
mov x2, x0
ldr x0, [x29, 208]
bl fgets
cmp x0, 0
bne .L66
mov w0, 0
b .L63
.L66:
ldr x0, [x29, 160]
bl chomp
ldr x0, [x29, 176]
bl chomp
ldr x0, [x29, 192]
bl chomp
ldr x0, [x29, 208]
bl chomp
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [x29, 160]
bl check_abs
cmp w0, 0
bne .L67
adrp x0, .LC4
add x1, x0, :lo12:.LC4
ldr x0, [x29, 176]
bl check_abs
cmp w0, 0
beq .L68
.L67:
mov w0, 0
b .L63
.L68:
adrp x0, .LC5
add x1, x0, :lo12:.LC5
ldr x0, [x29, 192]
bl check_path
cmp w0, 0
bne .L69
adrp x0, .LC6
add x1, x0, :lo12:.LC6
ldr x0, [x29, 208]
bl check_path
cmp w0, 0
beq .L70
.L69:
mov w0, 0
b .L63
.L70:
ldr x3, [x29, 160]
ldr x2, [x29, 176]
ldr x1, [x29, 192]
ldr x0, [x29, 216]
bl process
ldr x3, [x29, 160]
ldr x2, [x29, 176]
ldr x1, [x29, 208]
ldr x0, [x29, 224]
bl process
ldr x0, [x29, 216]
ldr w1, [x0]
ldr x0, [x29, 224]
ldr w0, [x0]
cmp w1, w0
beq .L71
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
mov w0, 0
b .L63
.L71:
str wzr, [x29, 148]
b .L72
.L74:
ldr x0, [x29, 216]
ldr x1, [x0, 8]
ldrsw x0, [x29, 148]
lsl x0, x0, 3
add x0, x1, x0
ldr x2, [x0]
ldr x0, [x29, 224]
ldr x1, [x0, 8]
ldrsw x0, [x29, 148]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcmp
cmp w0, 0
beq .L73
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
mov w0, 0
b .L63
.L73:
ldr w0, [x29, 148]
add w0, w0, 1
str w0, [x29, 148]
.L72:
ldr x0, [x29, 216]
ldr w0, [x0]
ldr w1, [x29, 148]
cmp w1, w0
blt .L74
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
ldr x0, [x29, 216]
bl destroy
ldr x0, [x29, 224]
bl destroy
mov w0, 0
.L63:
mov sp, x28
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 232]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L76
bl __stack_chk_fail
.L76:
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]
ldp x27, x28, [sp, 80]
ldp x29, x30, [sp], 240
.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
.LFE16:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "w"
.align 3
.LC1:
.string "bc"
.align 3
.LC2:
.string "popen"
.align 3
.LC3:
.string "expr: "
.align 3
.LC4:
.string "%s\n"
.align 3
.LC5:
.string "(abnormal exit)"
.text
.align 2
.global main
.type main, %function
main:
.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
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl popen
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
bne .L2
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl perror
mov w0, 1
b .L5
.L2:
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 40
mov x2, x1
mov w1, 1024
bl fgets
add x0, sp, 40
mov x2, x0
adrp x0, .LC4
add x1, x0, :lo12:.LC4
ldr x0, [sp, 32]
bl fprintf
ldr x0, [sp, 32]
bl fflush
ldr x0, [sp, 32]
bl pclose
str w0, [sp, 28]
ldr w0, [sp, 28]
and w0, w0, 127
cmp w0, 0
beq .L4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
.L4:
mov w0, 0
.L5:
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 main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global foo
.type foo, %function
foo:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 12]
mov w0, 2
str w0, [sp, 12]
ldr w0, [sp, 12]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global ttyname_r
.type ttyname_r, %function
ttyname_r:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -352]!
.cfi_def_cfa_offset 352
.cfi_offset 29, -352
.cfi_offset 30, -344
mov x29, sp
str w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 344]
mov x1, 0
ldr w0, [sp, 44]
bl isatty
cmp w0, 0
bne .L2
mov w0, 25
b .L10
.L2:
ldr w1, [sp, 44]
add x0, sp, 312
bl __procfdname
add x0, sp, 312
ldr x2, [sp, 24]
ldr x1, [sp, 32]
bl readlink
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
bge .L4
bl __errno_location
ldr w0, [x0]
b .L10
.L4:
ldr x0, [sp, 24]
ldr x1, [sp, 48]
cmp x1, x0
bne .L5
mov w0, 34
b .L10
.L5:
ldr x0, [sp, 48]
ldr x1, [sp, 32]
add x0, x1, x0
strb wzr, [x0]
add x0, sp, 56
mov x1, x0
ldr x0, [sp, 32]
bl stat
cmp w0, 0
bne .L6
add x0, sp, 184
mov x1, x0
ldr w0, [sp, 44]
bl fstat
cmp w0, 0
beq .L7
.L6:
bl __errno_location
ldr w0, [x0]
b .L10
.L7:
ldr x1, [sp, 56]
ldr x0, [sp, 184]
cmp x1, x0
bne .L8
ldr x1, [sp, 64]
ldr x0, [sp, 192]
cmp x1, x0
beq .L9
.L8:
mov w0, 19
b .L10
.L9:
mov w0, 0
.L10:
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 .L11
bl __stack_chk_fail
.L11:
mov w0, w1
ldp x29, x30, [sp], 352
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ttyname_r, .-ttyname_r
``` |