text
stringlengths 197
24.1M
|
---|
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%f\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w0, 1110704128
fmov s0, w0
bl Fib
str s0, [sp, 28]
ldr s0, [sp, 28]
fcvt d0, s0
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
.align 2
.global Fib
.type Fib, %function
Fib:
.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 d8, [sp, 16]
.cfi_offset 72, -32
str s0, [sp, 44]
ldr s1, [sp, 44]
fmov s0, 2.0e+0
fcmpe s1, s0
bmi .L7
b .L8
.L7:
fmov s0, 1.0e+0
b .L6
.L8:
ldr s1, [sp, 44]
fmov s0, 1.0e+0
fsub s0, s1, s0
bl Fib
fmov s8, s0
ldr s1, [sp, 44]
fmov s0, 2.0e+0
fsub s0, s1, s0
bl Fib
fadd s0, s8, s0
.L6:
ldr d8, [sp, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size Fib, .-Fib
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.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
str wzr, [sp, 20]
add x0, sp, 20
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 20]
bl convertSeconds
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 24]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC1:
.string "%d:%d:%d\n"
.text
.align 2
.global convertSeconds
.type convertSeconds, %function
convertSeconds:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
mov w0, 60
str w0, [sp, 40]
ldr w1, [sp, 40]
mov w0, w1
lsl w0, w0, 4
sub w0, w0, w1
lsl w0, w0, 2
str w0, [sp, 44]
str wzr, [sp, 32]
str wzr, [sp, 36]
ldr w1, [sp, 28]
ldr w0, [sp, 44]
cmp w1, w0
blt .L5
ldr w1, [sp, 28]
ldr w0, [sp, 44]
sdiv w0, w1, w0
str w0, [sp, 32]
ldr w1, [sp, 32]
ldr w0, [sp, 44]
mul w0, w1, w0
ldr w1, [sp, 28]
sub w0, w1, w0
str w0, [sp, 28]
.L5:
ldr w1, [sp, 28]
ldr w0, [sp, 40]
cmp w1, w0
blt .L6
ldr w1, [sp, 28]
ldr w0, [sp, 40]
sdiv w0, w1, w0
str w0, [sp, 36]
ldr w1, [sp, 36]
ldr w0, [sp, 40]
mul w0, w1, w0
ldr w1, [sp, 28]
sub w0, w1, w0
str w0, [sp, 28]
.L6:
ldr w3, [sp, 28]
ldr w2, [sp, 36]
ldr w1, [sp, 32]
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 convertSeconds, .-convertSeconds
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global cnf
.bss
.align 3
.type cnf, %object
.size cnf, 352
cnf:
.zero 352
.global count
.align 3
.type count, %object
.size count, 40
count:
.zero 40
.global m
.align 2
.type m, %object
.size m, 4
m:
.zero 4
.global n
.align 2
.type n, %object
.size n, 4
n:
.zero 4
.global k
.align 2
.type k, %object
.size k, 4
k:
.zero 4
.text
.align 2
.global pick_interval
.type pick_interval, %function
pick_interval:
.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 d8, [sp, 16]
.cfi_offset 72, -32
str w0, [sp, 44]
str w1, [sp, 40]
ldr w0, [sp, 44]
scvtf d8, w0
bl rand
scvtf d0, w0
mov x0, 281474972516352
movk x0, 0x41df, lsl 48
fmov d1, x0
fdiv d1, d0, d1
ldr w1, [sp, 40]
ldr w0, [sp, 44]
sub w0, w1, w0
scvtf d0, w0
fmul d1, d1, d0
fmov d0, 5.0e-1
fadd d0, d1, d0
fadd d0, d8, d0
fcvtzs w0, d0
ldr d8, [sp, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size pick_interval, .-pick_interval
.align 2
.global pick_variable
.type pick_variable, %function
pick_variable:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, m
add x0, x0, :lo12:m
ldr w0, [x0]
mov w1, w0
mov w0, 1
bl pick_interval
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size pick_variable, .-pick_variable
.align 2
.global pick_bool
.type pick_bool, %function
pick_bool:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl rand
scvtf d0, w0
mov x0, 281474972516352
movk x0, 0x41df, lsl 48
fmov d1, x0
fdiv d1, d0, d1
fmov d0, 5.0e-1
fcmpe d1, d0
cset w0, gt
and w0, w0, 255
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size pick_bool, .-pick_bool
.align 2
.global pick_sign
.type pick_sign, %function
pick_sign:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl pick_bool
cmp w0, 0
beq .L8
mov w0, -1
b .L10
.L8:
mov w0, 1
.L10:
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size pick_sign, .-pick_sign
.align 2
.global pick_literal
.type pick_literal, %function
pick_literal:
.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 x19, [sp, 16]
.cfi_offset 19, -16
bl pick_sign
mov w19, w0
bl pick_variable
mul w0, w19, w0
ldr x19, [sp, 16]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size pick_literal, .-pick_literal
.align 2
.global pick_clause
.type pick_clause, %function
pick_clause:
.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 x19, [sp, 16]
.cfi_offset 19, -48
str x0, [sp, 40]
str wzr, [sp, 52]
b .L14
.L20:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x19, x1, x0
ldr w0, [sp, 52]
bl pick_literal
str w0, [x19]
str wzr, [sp, 56]
str wzr, [sp, 60]
b .L15
.L17:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
csneg w1, w0, w0, ge
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x2, [sp, 40]
add x0, x2, x0
ldr w0, [x0]
cmp w0, 0
csneg w0, w0, w0, ge
cmp w1, w0
cset w0, eq
and w0, w0, 255
str w0, [sp, 56]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L15:
ldr w0, [sp, 56]
cmp w0, 0
bne .L16
ldr w1, [sp, 60]
ldr w0, [sp, 52]
cmp w1, w0
blt .L17
.L16:
ldr w0, [sp, 56]
cmp w0, 0
beq .L22
b .L20
.L22:
nop
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L14:
adrp x0, k
add x0, x0, :lo12:k
ldr w0, [x0]
ldr w1, [sp, 52]
cmp w1, w0
blt .L20
nop
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size pick_clause, .-pick_clause
.align 2
.global generate
.type generate, %function
generate:
.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 wzr, [sp, 28]
b .L24
.L25:
ldrsw x0, [sp, 28]
lsl x1, x0, 5
adrp x0, cnf
add x0, x0, :lo12:cnf
add x0, x1, x0
bl pick_clause
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L24:
adrp x0, n
add x0, x0, :lo12:n
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L25
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size generate, .-generate
.section .rodata
.align 3
.LC0:
.string "p cnf %d %d\n"
.align 3
.LC1:
.string "%d "
.align 3
.LC2:
.string "0\n"
.text
.align 2
.global print
.type print, %function
print:
.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]
adrp x0, m
add x0, x0, :lo12:m
ldr w1, [x0]
adrp x0, n
add x0, x0, :lo12:n
ldr w0, [x0]
mov w3, w0
mov w2, w1
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 24]
bl fprintf
str wzr, [sp, 40]
b .L27
.L30:
str wzr, [sp, 44]
b .L28
.L29:
adrp x0, cnf
add x0, x0, :lo12:cnf
ldrsw x1, [sp, 44]
ldrsw x2, [sp, 40]
lsl x2, x2, 3
add x1, x2, x1
ldr w0, [x0, x1, lsl 2]
mov w2, w0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 24]
bl fprintf
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L28:
adrp x0, k
add x0, x0, :lo12:k
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L29
ldr x3, [sp, 24]
mov x2, 2
mov x1, 1
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl fwrite
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L27:
adrp x0, n
add x0, x0, :lo12:n
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L30
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size print, .-print
.section .rodata
.align 3
.LC3:
.string "w"
.align 3
.LC4:
.string "tmp.cnf"
.align 3
.LC5:
.string "r"
.align 3
.LC6:
.string "dualiza tmp.cnf|tail -1"
.align 3
.LC7:
.string "%d"
.text
.align 2
.global solutions
.type solutions, %function
solutions:
.LFB14:
.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, .LC3
add x1, x0, :lo12:.LC3
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl fopen
str x0, [sp, 24]
ldr x0, [sp, 24]
bl print
ldr x0, [sp, 24]
bl fclose
adrp x0, .LC5
add x1, x0, :lo12:.LC5
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl popen
str x0, [sp, 32]
str wzr, [sp, 20]
add x0, sp, 20
mov x2, x0
adrp x0, .LC7
add x1, x0, :lo12:.LC7
ldr x0, [sp, 32]
bl __isoc99_fscanf
ldr x0, [sp, 32]
bl fclose
ldr w0, [sp, 20]
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 .L33
bl __stack_chk_fail
.L33:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size solutions, .-solutions
.global all
.bss
.align 2
.type all, %object
.size all, 4
all:
.zero 4
.section .rodata
.align 3
.LC8:
.string "program.c"
.align 3
.LC9:
.string "0 <= res"
.align 3
.LC10:
.string "res < 10"
.align 3
.LC11:
.string "%s.cnf"
.align 3
.LC12:
.string "cnf %s\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB15:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str d8, [sp, 16]
.cfi_offset 72, -64
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
mov w0, 42
bl srand
.L45:
adrp x0, m
add x0, x0, :lo12:m
mov w1, 5
str w1, [x0]
adrp x0, m
add x0, x0, :lo12:m
ldr w0, [x0]
scvtf d8, w0
mov w1, 400
mov w0, 320
bl pick_interval
scvtf d0, w0
mov x0, 4636737291354636288
fmov d1, x0
fdiv d0, d0, d1
fmul d0, d8, d0
fcvtzs w1, d0
adrp x0, n
add x0, x0, :lo12:n
str w1, [x0]
adrp x0, k
add x0, x0, :lo12:k
mov w1, 4
str w1, [x0]
bl generate
bl solutions
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 4
ble .L48
ldr w0, [sp, 36]
cmp w0, 14
bgt .L49
ldr w0, [sp, 36]
sub w0, w0, #5
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
bge .L38
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 84
adrp x0, .LC8
add x1, x0, :lo12:.LC8
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl __assert_fail
.L38:
ldr w0, [sp, 36]
cmp w0, 9
ble .L39
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 84
adrp x0, .LC8
add x1, x0, :lo12:.LC8
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl __assert_fail
.L39:
adrp x0, count
add x0, x0, :lo12:count
ldrsw x1, [sp, 36]
ldr w0, [x0, x1, lsl 2]
cmp w0, 10
beq .L50
adrp x0, count
add x0, x0, :lo12:count
ldrsw x1, [sp, 36]
ldr w0, [x0, x1, lsl 2]
and w0, w0, 255
add w0, w0, 48
and w0, w0, 255
strb w0, [sp, 48]
ldr w0, [sp, 36]
add w1, w0, 5
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 w2, w1, w0
and w0, w2, 255
add w0, w0, 48
and w0, w0, 255
strb w0, [sp, 49]
strb wzr, [sp, 50]
add x0, sp, 48
add x3, sp, 56
mov x2, x0
adrp x0, .LC11
add x1, x0, :lo12:.LC11
mov x0, x3
bl sprintf
add x0, sp, 56
bl puts
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
add x2, sp, 56
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x2
bl fopen
str x0, [sp, 40]
add x0, sp, 48
mov x2, x0
adrp x0, .LC12
add x1, x0, :lo12:.LC12
ldr x0, [sp, 40]
bl fprintf
ldr x0, [sp, 40]
bl print
ldr x0, [sp, 40]
bl fclose
adrp x0, count
add x0, x0, :lo12:count
ldrsw x1, [sp, 36]
ldr w0, [x0, x1, lsl 2]
add w2, w0, 1
adrp x0, count
add x0, x0, :lo12:count
ldrsw x1, [sp, 36]
str w2, [x0, x1, lsl 2]
adrp x0, count
add x0, x0, :lo12:count
ldrsw x1, [sp, 36]
ldr w0, [x0, x1, lsl 2]
cmp w0, 9
ble .L51
adrp x0, all
add x0, x0, :lo12:all
ldr w0, [x0]
add w1, w0, 1
adrp x0, all
add x0, x0, :lo12:all
str w1, [x0]
adrp x0, all
add x0, x0, :lo12:all
ldr w0, [x0]
cmp w0, 10
bne .L45
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 .L46
b .L47
.L48:
nop
b .L45
.L49:
nop
b .L45
.L50:
nop
b .L45
.L51:
nop
b .L45
.L47:
bl __stack_chk_fail
.L46:
mov w0, w1
ldr d8, [sp, 16]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size main, .-main
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.0, %object
.size __PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
.string "main"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "[BEGIN] dylib-static-weak-link present"
.align 3
.LC1:
.string "[PASS] dylib-static-weak-link present"
.align 3
.LC2:
.string "[FAIL] dylib-static-weak-link present, wrong value"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, :got:foo
ldr x0, [x0, #:got_lo12:foo]
ldr w0, [x0]
cmp w0, 42
bne .L2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
b .L3
.L2:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
.L3:
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
.global IID_IDispError
.section .rodata
.align 3
.type IID_IDispError, %object
.size IID_IDispError, 24
IID_IDispError:
.xword 2800719969
.hword -14560
.hword 4560
.string "\2237"
.ascii "\240\311\r\312\251"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global procid
.bss
.align 3
.type procid, %object
.size procid, 8
procid:
.zero 8
.text
.align 2
.type sleep_ms, %function
sleep_ms:
.LFB52:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
mov w1, w0
mov w0, 1000
mul w0, w1, w0
bl usleep
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE52:
.size sleep_ms, .-sleep_ms
.align 2
.type current_time_ms, %function
current_time_ms:
.LFB53:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x0, sp, 24
mov x1, x0
mov w0, 1
bl clock_gettime
cmp w0, 0
beq .L3
mov w0, 1
bl exit
.L3:
ldr x0, [sp, 24]
mov x1, x0
mov x0, x1
lsl x0, x0, 5
sub x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 32]
mov x2, x0
mov x0, 13531
movk x0, 0xd7b6, lsl 16
movk x0, 0xde82, lsl 32
movk x0, 0x431b, lsl 48
umulh x0, x2, x0
lsr x0, x0, 18
add x0, x1, x0
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov x0, x1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE53:
.size current_time_ms, .-current_time_ms
.align 2
.type write_file, %function
write_file:
.LFB54:
.cfi_startproc
sub sp, sp, #1328
.cfi_def_cfa_offset 1328
stp x29, x30, [sp]
.cfi_offset 29, -1328
.cfi_offset 30, -1320
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 1280]
str x3, [sp, 1288]
str x4, [sp, 1296]
str x5, [sp, 1304]
str x6, [sp, 1312]
str x7, [sp, 1320]
add x0, sp, 1024
str q0, [x0, 128]
add x0, sp, 1024
str q1, [x0, 144]
add x0, sp, 1024
str q2, [x0, 160]
add x0, sp, 1024
str q3, [x0, 176]
add x0, sp, 1024
str q4, [x0, 192]
add x0, sp, 1024
str q5, [x0, 208]
add x0, sp, 1024
str q6, [x0, 224]
add x0, sp, 1024
str q7, [x0, 240]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1144]
mov x1, 0
add x0, sp, 1328
str x0, [sp, 88]
add x0, sp, 1328
str x0, [sp, 96]
add x0, sp, 1280
str x0, [sp, 104]
mov w0, -48
str w0, [sp, 112]
mov w0, -128
str w0, [sp, 116]
add x0, sp, 16
add x1, sp, 88
ldp q0, q1, [x1]
stp q0, q1, [x0]
add x1, sp, 16
add x0, sp, 120
mov x3, x1
ldr x2, [sp, 48]
mov x1, 1024
bl vsnprintf
strb wzr, [sp, 1143]
add x0, sp, 120
bl strlen
str w0, [sp, 76]
mov w1, 1
movk w1, 0x8, lsl 16
ldr x0, [sp, 56]
bl open
str w0, [sp, 80]
ldr w0, [sp, 80]
cmn w0, #1
bne .L7
mov w0, 0
b .L10
.L7:
ldrsw x1, [sp, 76]
add x0, sp, 120
mov x2, x1
mov x1, x0
ldr w0, [sp, 80]
bl write
mov x1, x0
ldrsw x0, [sp, 76]
cmp x1, x0
beq .L9
bl __errno_location
ldr w0, [x0]
str w0, [sp, 84]
ldr w0, [sp, 80]
bl close
bl __errno_location
mov x1, x0
ldr w0, [sp, 84]
str w0, [x1]
mov w0, 0
b .L10
.L9:
ldr w0, [sp, 80]
bl close
mov w0, 1
.L10:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1144]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L11
bl __stack_chk_fail
.L11:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 1328
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE54:
.size write_file, .-write_file
.align 2
.type parse_usb_descriptor, %function
parse_usb_descriptor:
.LFB55:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
ldr x0, [sp, 32]
cmp x0, 26
bhi .L13
mov w0, 0
b .L14
.L13:
mov x2, 1248
mov w1, 0
ldr x0, [sp, 24]
bl memset
ldr x0, [sp, 24]
ldr x1, [sp, 40]
str x1, [x0]
ldr x0, [sp, 40]
add x1, x0, 18
ldr x0, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldrb w1, [x0, 4]
ldr x0, [sp, 24]
strb w1, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
ldrb w1, [x0, 8]
ldr x0, [sp, 24]
strb w1, [x0, 17]
ldr x0, [sp, 32]
sub w0, w0, #18
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 20]
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0, 1244]
str xzr, [sp, 56]
.L21:
ldr x0, [sp, 56]
add x0, x0, 1
ldr x1, [sp, 32]
cmp x1, x0
bls .L22
ldr x1, [sp, 40]
ldr x0, [sp, 56]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr x0, [sp, 56]
add x0, x0, 1
ldr x1, [sp, 40]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w0, [sp, 54]
cmp w0, 2
bls .L23
ldrb w1, [sp, 54]
ldr x0, [sp, 56]
add x0, x1, x0
ldr x1, [sp, 32]
cmp x1, x0
bcc .L24
ldrb w0, [sp, 55]
cmp w0, 4
bne .L19
ldr x0, [sp, 24]
ldr w0, [x0, 1240]
cmp w0, 3
bgt .L19
ldr x1, [sp, 40]
ldr x0, [sp, 56]
add x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 24]
ldr w0, [x0, 1240]
ldr x2, [sp, 24]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
sub x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldr x1, [sp, 64]
str x1, [x0, 24]
ldr x0, [sp, 24]
ldr w1, [x0, 1240]
ldr x0, [sp, 64]
ldrb w3, [x0, 2]
ldr x2, [sp, 24]
sxtw x1, w1
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
sub x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
mov w1, w3
strb w1, [x0, 32]
ldr x0, [sp, 24]
ldr w1, [x0, 1240]
ldr x0, [sp, 64]
ldrb w3, [x0, 3]
ldr x2, [sp, 24]
sxtw x1, w1
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
sub x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
mov w1, w3
strb w1, [x0, 33]
ldr x0, [sp, 24]
ldr w1, [x0, 1240]
ldr x0, [sp, 64]
ldrb w3, [x0, 5]
ldr x2, [sp, 24]
sxtw x1, w1
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
sub x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
mov w1, w3
strb w1, [x0, 34]
ldr x0, [sp, 24]
ldr w0, [x0, 1240]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1240]
.L19:
ldrb w0, [sp, 55]
cmp w0, 5
bne .L20
ldr x0, [sp, 24]
ldr w0, [x0, 1240]
cmp w0, 0
ble .L20
ldr x0, [sp, 24]
ldr w0, [x0, 1240]
sub w0, w0, #1
sxtw x1, w0
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
sub x0, x0, x1
lsl x0, x0, 4
add x0, x0, 16
ldr x1, [sp, 24]
add x0, x1, x0
add x0, x0, 8
str x0, [sp, 72]
ldr x0, [sp, 72]
ldr w0, [x0, 300]
cmp w0, 31
bgt .L20
ldr x0, [sp, 72]
ldr w0, [x0, 300]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
ldr x1, [sp, 72]
add x0, x1, x0
add x3, x0, 11
ldr x1, [sp, 40]
ldr x0, [sp, 56]
add x0, x1, x0
mov x2, 9
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 72]
ldr w0, [x0, 300]
add w1, w0, 1
ldr x0, [sp, 72]
str w1, [x0, 300]
.L20:
ldrb w0, [sp, 54]
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 56]
b .L21
.L22:
nop
b .L16
.L23:
nop
b .L16
.L24:
nop
.L16:
mov w0, 1
.L14:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE55:
.size parse_usb_descriptor, .-parse_usb_descriptor
.section .rodata
.align 3
.LC0:
.string "/dev/raw-gadget"
.text
.align 2
.type usb_raw_open, %function
usb_raw_open:
.LFB56:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w1, 2
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl open
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE56:
.size usb_raw_open, .-usb_raw_open
.align 2
.type usb_raw_init, %function
usb_raw_init:
.LFB57:
.cfi_startproc
stp x29, x30, [sp, -320]!
.cfi_def_cfa_offset 320
.cfi_offset 29, -320
.cfi_offset 30, -312
mov x29, sp
str w0, [sp, 44]
str w1, [sp, 40]
str x2, [sp, 32]
str x3, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 312]
mov x1, 0
add x0, sp, 48
mov x2, 128
ldr x1, [sp, 32]
bl strncpy
add x0, sp, 48
add x0, x0, 128
mov x2, 128
ldr x1, [sp, 24]
bl strncpy
ldr w0, [sp, 40]
and w0, w0, 255
strb w0, [sp, 304]
add x0, sp, 48
mov x2, x0
mov x1, 21760
movk x1, 0x4101, lsl 16
ldr w0, [sp, 44]
bl ioctl
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 312]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L29
bl __stack_chk_fail
.L29:
mov w0, w1
ldp x29, x30, [sp], 320
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE57:
.size usb_raw_init, .-usb_raw_init
.align 2
.type usb_raw_run, %function
usb_raw_run:
.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 w0, [sp, 28]
mov w2, 0
mov x1, 21761
ldr w0, [sp, 28]
bl ioctl
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE58:
.size usb_raw_run, .-usb_raw_run
.align 2
.type usb_raw_event_fetch, %function
usb_raw_event_fetch:
.LFB59:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
ldr x2, [sp, 16]
mov x1, 21762
movk x1, 0x8008, lsl 16
ldr w0, [sp, 28]
bl ioctl
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE59:
.size usb_raw_event_fetch, .-usb_raw_event_fetch
.align 2
.type usb_raw_ep0_write, %function
usb_raw_ep0_write:
.LFB60:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
ldr x2, [sp, 16]
mov x1, 21763
movk x1, 0x4008, lsl 16
ldr w0, [sp, 28]
bl ioctl
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE60:
.size usb_raw_ep0_write, .-usb_raw_ep0_write
.align 2
.type usb_raw_ep0_read, %function
usb_raw_ep0_read:
.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 w0, [sp, 28]
str x1, [sp, 16]
ldr x2, [sp, 16]
mov x1, 21764
movk x1, 0xc008, lsl 16
ldr w0, [sp, 28]
bl ioctl
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE61:
.size usb_raw_ep0_read, .-usb_raw_ep0_read
.align 2
.type usb_raw_ep_enable, %function
usb_raw_ep_enable:
.LFB62:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
ldr x2, [sp, 16]
mov x1, 21765
movk x1, 0x4009, lsl 16
ldr w0, [sp, 28]
bl ioctl
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE62:
.size usb_raw_ep_enable, .-usb_raw_ep_enable
.align 2
.type usb_raw_ep_disable, %function
usb_raw_ep_disable:
.LFB63:
.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 w2, [sp, 24]
mov x1, 21766
movk x1, 0x4004, lsl 16
ldr w0, [sp, 28]
bl ioctl
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE63:
.size usb_raw_ep_disable, .-usb_raw_ep_disable
.align 2
.type usb_raw_configure, %function
usb_raw_configure:
.LFB64:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
mov w2, 0
mov x1, 21769
ldr w0, [sp, 28]
bl ioctl
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE64:
.size usb_raw_configure, .-usb_raw_configure
.align 2
.type usb_raw_vbus_draw, %function
usb_raw_vbus_draw:
.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 w0, [sp, 28]
str w1, [sp, 24]
ldr w2, [sp, 24]
mov x1, 21770
movk x1, 0x4004, lsl 16
ldr w0, [sp, 28]
bl ioctl
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE65:
.size usb_raw_vbus_draw, .-usb_raw_vbus_draw
.local usb_devices
.comm usb_devices,7536,8
.local usb_devices_num
.comm usb_devices_num,4,4
.global __aarch64_ldadd4_relax
.align 2
.type add_usb_index, %function
add_usb_index:
.LFB66:
.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]
adrp x0, usb_devices_num
add x0, x0, :lo12:usb_devices_num
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_relax
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 5
ble .L47
mov x0, 0
b .L48
.L47:
str wzr, [sp, 60]
ldrsw x1, [sp, 56]
mov x0, 1256
mul x1, x1, x0
adrp x0, usb_devices
add x0, x0, :lo12:usb_devices
add x0, x1, x0
add x0, x0, 8
mov x2, x0
ldr x1, [sp, 24]
ldr x0, [sp, 32]
bl parse_usb_descriptor
and w0, w0, 255
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bne .L49
mov x0, 0
b .L48
.L49:
ldrsw x1, [sp, 56]
mov x0, 1256
mul x1, x1, x0
adrp x0, usb_devices
add x0, x0, :lo12:usb_devices
add x0, x1, x0
ldr w1, [sp, 44]
stlr w1, [x0]
ldrsw x1, [sp, 56]
mov x0, 1256
mul x1, x1, x0
adrp x0, usb_devices
add x0, x0, :lo12:usb_devices
add x0, x1, x0
add x0, x0, 8
.L48:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE66:
.size add_usb_index, .-add_usb_index
.align 2
.type lookup_usb_index, %function
lookup_usb_index:
.LFB67:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str wzr, [sp, 28]
b .L51
.L54:
ldrsw x1, [sp, 28]
mov x0, 1256
mul x1, x1, x0
adrp x0, usb_devices
add x0, x0, :lo12:usb_devices
add x0, x1, x0
ldar w0, [x0]
mov w1, w0
ldr w0, [sp, 12]
cmp w0, w1
bne .L52
ldrsw x1, [sp, 28]
mov x0, 1256
mul x1, x1, x0
adrp x0, usb_devices
add x0, x0, :lo12:usb_devices
add x0, x1, x0
add x0, x0, 8
b .L53
.L52:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L51:
ldr w0, [sp, 28]
cmp w0, 5
ble .L54
mov x0, 0
.L53:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE67:
.size lookup_usb_index, .-lookup_usb_index
.align 2
.type set_interface, %function
set_interface:
.LFB68:
.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]
str w1, [sp, 24]
ldr w0, [sp, 28]
bl lookup_usb_index
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L63
ldr x0, [sp, 56]
ldr w0, [x0, 1244]
cmp w0, 0
blt .L58
ldr x0, [sp, 56]
ldr w1, [x0, 1244]
ldr x0, [sp, 56]
ldr w0, [x0, 1240]
cmp w1, w0
bge .L58
str wzr, [sp, 44]
b .L59
.L60:
ldr w1, [sp, 44]
ldr w0, [sp, 28]
bl usb_raw_ep_disable
str w0, [sp, 48]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L59:
ldr x0, [sp, 56]
ldr w0, [x0, 1244]
ldr x2, [sp, 56]
sxtw x0, w0
add x1, x0, 1
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
sub x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldr w0, [x0, 20]
ldr w1, [sp, 44]
cmp w1, w0
blt .L60
.L58:
ldr w0, [sp, 24]
cmp w0, 0
blt .L55
ldr x0, [sp, 56]
ldr w0, [x0, 1240]
ldr w1, [sp, 24]
cmp w1, w0
bge .L55
str wzr, [sp, 44]
b .L61
.L62:
ldrsw x0, [sp, 44]
mov x1, x0
lsl x1, x1, 3
add x1, x1, x0
ldrsw x2, [sp, 24]
mov x0, x2
lsl x0, x0, 2
add x0, x0, x2
lsl x0, x0, 2
sub x0, x0, x2
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 16
ldr x1, [sp, 56]
add x0, x1, x0
add x0, x0, 19
mov x1, x0
ldr w0, [sp, 28]
bl usb_raw_ep_enable
str w0, [sp, 52]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L61:
ldr x2, [sp, 56]
ldrsw x0, [sp, 24]
add x1, x0, 1
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
sub x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldr w0, [x0, 20]
ldr w1, [sp, 44]
cmp w1, w0
blt .L62
ldr x0, [sp, 56]
ldr w1, [sp, 24]
str w1, [x0, 1244]
b .L55
.L63:
nop
.L55:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE68:
.size set_interface, .-set_interface
.align 2
.type configure_device, %function
configure_device:
.LFB69:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
bl lookup_usb_index
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L65
mov w0, -1
b .L66
.L65:
ldr x0, [sp, 40]
ldrb w0, [x0, 17]
mov w1, w0
ldr w0, [sp, 28]
bl usb_raw_vbus_draw
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
bge .L67
ldr w0, [sp, 36]
b .L66
.L67:
ldr w0, [sp, 28]
bl usb_raw_configure
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
bge .L68
ldr w0, [sp, 36]
b .L66
.L68:
mov w1, 0
ldr w0, [sp, 28]
bl set_interface
mov w0, 0
.L66:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE69:
.size configure_device, .-configure_device
.section .rodata
.align 3
.type default_string, %object
.size default_string, 8
default_string:
.string "\b\003s"
.string "y"
.string "z"
.align 3
.type default_lang_id, %object
.size default_lang_id, 4
default_lang_id:
.ascii "\004\003\t\004"
.text
.align 2
.type lookup_connect_response, %function
lookup_connect_response:
.LFB70:
.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 x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str x4, [sp, 24]
ldr w0, [sp, 60]
bl lookup_usb_index
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L70
mov w0, 0
b .L71
.L70:
ldr x0, [sp, 40]
ldrb w0, [x0]
and w0, w0, 96
cmp w0, 0
bne .L72
ldr x0, [sp, 40]
ldrb w0, [x0, 1]
cmp w0, 6
bne .L73
ldr x0, [sp, 40]
ldrh w0, [x0, 2]
lsr w0, w0, 8
and w0, w0, 65535
cmp w0, 15
beq .L74
cmp w0, 15
bgt .L75
cmp w0, 6
beq .L76
cmp w0, 6
bgt .L75
cmp w0, 3
beq .L77
cmp w0, 3
bgt .L75
cmp w0, 1
beq .L78
cmp w0, 2
beq .L79
b .L75
.L78:
ldr x0, [sp, 80]
ldr x1, [x0]
ldr x0, [sp, 32]
str x1, [x0]
ldr x0, [sp, 24]
mov w1, 18
str w1, [x0]
mov w0, 1
b .L71
.L79:
ldr x0, [sp, 80]
ldr x1, [x0, 8]
ldr x0, [sp, 32]
str x1, [x0]
ldr x0, [sp, 80]
ldr w0, [x0, 20]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
mov w0, 1
b .L71
.L77:
ldr x0, [sp, 40]
ldrh w0, [x0, 2]
strb w0, [sp, 79]
ldr x0, [sp, 48]
cmp x0, 0
beq .L80
ldrb w1, [sp, 79]
ldr x0, [sp, 48]
ldr w0, [x0, 24]
cmp w1, w0
bcs .L80
ldrb w0, [sp, 79]
ldr x2, [sp, 48]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr x1, [x0, 32]
ldr x0, [sp, 32]
str x1, [x0]
ldrb w0, [sp, 79]
ldr x2, [sp, 48]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0, 28]
ldr x0, [sp, 24]
str w1, [x0]
mov w0, 1
b .L71
.L80:
ldrb w0, [sp, 79]
cmp w0, 0
bne .L81
ldr x0, [sp, 32]
adrp x1, default_lang_id
add x1, x1, :lo12:default_lang_id
str x1, [x0]
mov w0, 4
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
mov w0, 1
b .L71
.L81:
ldr x0, [sp, 32]
adrp x1, default_string
add x1, x1, :lo12:default_string
str x1, [x0]
mov w0, 8
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
mov w0, 1
b .L71
.L74:
ldr x0, [sp, 48]
ldr x1, [x0, 16]
ldr x0, [sp, 32]
str x1, [x0]
ldr x0, [sp, 48]
ldr w1, [x0, 12]
ldr x0, [sp, 24]
str w1, [x0]
mov w0, 1
b .L71
.L76:
ldr x0, [sp, 48]
ldr x0, [x0, 4]
cmp x0, 0
bne .L82
ldr x0, [sp, 32]
str x0, [sp, 88]
ldr x0, [sp, 88]
mov w1, 10
strb w1, [x0]
ldr x0, [sp, 88]
mov w1, 6
strb w1, [x0, 1]
ldr x0, [sp, 80]
ldr x0, [x0]
ldrh w1, [x0, 2]
ldr x0, [sp, 88]
strh w1, [x0, 2]
ldr x0, [sp, 80]
ldr x0, [x0]
ldrb w1, [x0, 4]
ldr x0, [sp, 88]
strb w1, [x0, 4]
ldr x0, [sp, 80]
ldr x0, [x0]
ldrb w1, [x0, 5]
ldr x0, [sp, 88]
strb w1, [x0, 5]
ldr x0, [sp, 80]
ldr x0, [x0]
ldrb w1, [x0, 6]
ldr x0, [sp, 88]
strb w1, [x0, 6]
ldr x0, [sp, 80]
ldr x0, [x0]
ldrb w1, [x0, 7]
ldr x0, [sp, 88]
strb w1, [x0, 7]
ldr x0, [sp, 80]
ldr x0, [x0]
ldrb w1, [x0, 17]
ldr x0, [sp, 88]
strb w1, [x0, 8]
ldr x0, [sp, 88]
strb wzr, [x0, 9]
ldr x0, [sp, 24]
mov w1, 10
str w1, [x0]
mov w0, 1
b .L71
.L82:
ldr x0, [sp, 48]
ldr x1, [x0, 4]
ldr x0, [sp, 32]
str x1, [x0]
ldr x0, [sp, 48]
ldr w1, [x0]
ldr x0, [sp, 24]
str w1, [x0]
mov w0, 1
b .L71
.L75:
mov w0, 1
bl exit
.L73:
mov w0, 1
bl exit
.L72:
mov w0, 1
bl exit
.L71:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE70:
.size lookup_connect_response, .-lookup_connect_response
.section .rodata
.align 3
.LC1:
.string "dummy_udc.%llu"
.align 3
.LC2:
.string "dummy_udc"
.text
.align 2
.type syz_usb_connect, %function
syz_usb_connect:
.LFB71:
.cfi_startproc
sub sp, sp, #2224
.cfi_def_cfa_offset 2224
stp x29, x30, [sp]
.cfi_offset 29, -2224
.cfi_offset 30, -2216
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, 2216]
mov x1, 0
ldr x0, [sp, 40]
str x0, [sp, 72]
ldr x0, [sp, 32]
str x0, [sp, 80]
ldr x0, [sp, 24]
str x0, [sp, 88]
ldr x0, [sp, 16]
str x0, [sp, 96]
ldr x0, [sp, 88]
cmp x0, 0
bne .L84
mov x0, -1
b .L108
.L84:
bl usb_raw_open
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L86
ldrsw x0, [sp, 60]
b .L108
.L86:
ldr w0, [sp, 60]
cmp w0, 29
ble .L87
ldr w0, [sp, 60]
bl close
mov x0, -1
b .L108
.L87:
ldr x2, [sp, 80]
ldr x1, [sp, 88]
ldr w0, [sp, 60]
bl add_usb_index
str x0, [sp, 104]
ldr x0, [sp, 104]
cmp x0, 0
bne .L88
mov x0, -1
b .L108
.L88:
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x3, sp, 2184
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x3
bl sprintf
ldr x0, [sp, 72]
mov w1, w0
add x0, sp, 2184
mov x3, x0
adrp x0, .LC2
add x2, x0, :lo12:.LC2
ldr w0, [sp, 60]
bl usb_raw_init
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bge .L89
ldrsw x0, [sp, 56]
b .L108
.L89:
ldr w0, [sp, 60]
bl usb_raw_run
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bge .L90
ldrsw x0, [sp, 56]
b .L108
.L90:
strb wzr, [sp, 50]
b .L91
.L107:
str wzr, [sp, 1144]
mov w0, 8
str w0, [sp, 1148]
add x0, sp, 1144
mov x1, x0
ldr w0, [sp, 60]
bl usb_raw_event_fetch
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bge .L92
ldrsw x0, [sp, 56]
b .L108
.L92:
ldr w0, [sp, 1144]
cmp w0, 2
beq .L94
b .L91
.L94:
strb wzr, [sp, 51]
str xzr, [sp, 64]
str wzr, [sp, 52]
ldrb w0, [sp, 1152]
sxtb w0, w0
cmp w0, 0
bge .L95
add x2, sp, 52
add x1, sp, 64
add x0, sp, 1144
add x0, x0, 8
mov x4, x2
mov x3, x1
mov x2, x0
ldr x1, [sp, 96]
ldr w0, [sp, 60]
bl lookup_connect_response
strb w0, [sp, 51]
ldrb w0, [sp, 51]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L96
mov x0, -1
b .L108
.L95:
ldrb w0, [sp, 1152]
and w0, w0, 96
cmp w0, 0
bne .L97
ldrb w0, [sp, 1153]
cmp w0, 9
beq .L98
.L97:
mov w0, 1
bl exit
.L98:
mov w0, 1
strb w0, [sp, 50]
.L96:
ldrb w0, [sp, 50]
cmp w0, 0
beq .L99
ldr w0, [sp, 60]
bl configure_device
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bge .L99
ldrsw x0, [sp, 56]
b .L108
.L99:
strh wzr, [sp, 112]
strh wzr, [sp, 114]
ldr w0, [sp, 52]
cmp w0, 1024
bls .L100
str wzr, [sp, 52]
.L100:
ldrh w0, [sp, 1158]
mov w1, w0
ldr w0, [sp, 52]
cmp w1, w0
bcs .L101
ldrh w0, [sp, 1158]
str w0, [sp, 52]
.L101:
ldr w0, [sp, 52]
str w0, [sp, 116]
ldr x0, [sp, 64]
cmp x0, 0
beq .L102
ldr x1, [sp, 64]
ldr w0, [sp, 52]
uxtw x2, w0
add x0, sp, 112
add x0, x0, 8
bl memcpy
b .L103
.L102:
ldr w0, [sp, 52]
uxtw x1, w0
add x0, sp, 112
add x0, x0, 8
mov x2, x1
mov w1, 0
bl memset
.L103:
ldrb w0, [sp, 1152]
sxtb w0, w0
cmp w0, 0
bge .L104
add x0, sp, 112
mov x1, x0
ldr w0, [sp, 60]
bl usb_raw_ep0_write
str w0, [sp, 56]
b .L105
.L104:
add x0, sp, 112
mov x1, x0
ldr w0, [sp, 60]
bl usb_raw_ep0_read
str w0, [sp, 56]
.L105:
ldr w0, [sp, 56]
cmp w0, 0
bge .L91
ldrsw x0, [sp, 56]
b .L108
.L91:
ldrb w0, [sp, 50]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
bne .L107
mov x0, 200
bl sleep_ms
ldrsw x0, [sp, 60]
.L108:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 2216]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L109
bl __stack_chk_fail
.L109:
mov x0, x1
ldp x29, x30, [sp]
add sp, sp, 2224
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE71:
.size syz_usb_connect, .-syz_usb_connect
.section .rodata
.align 3
.LC3:
.string "/sys/fs/fuse/connections"
.align 3
.LC4:
.string "."
.align 3
.LC5:
.string ".."
.align 3
.LC6:
.string "/sys/fs/fuse/connections/%s/abort"
.text
.align 2
.type kill_and_wait, %function
kill_and_wait:
.LFB72:
.cfi_startproc
stp x29, x30, [sp, -368]!
.cfi_def_cfa_offset 368
.cfi_offset 29, -368
.cfi_offset 30, -360
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 360]
mov x1, 0
ldr w0, [sp, 28]
neg w0, w0
mov w1, 9
bl kill
mov w1, 9
ldr w0, [sp, 28]
bl kill
str wzr, [sp, 32]
b .L111
.L114:
mov w2, 1
movk w2, 0x4000, lsl 16
ldr x1, [sp, 16]
mov w0, -1
bl waitpid
mov w1, w0
ldr w0, [sp, 28]
cmp w0, w1
beq .L125
mov w0, 1000
bl usleep
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L111:
ldr w0, [sp, 32]
cmp w0, 99
ble .L114
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl opendir
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L128
.L122:
ldr x0, [sp, 40]
bl readdir
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
bne .L116
ldr x0, [sp, 40]
bl closedir
b .L128
.L116:
ldr x0, [sp, 48]
add x2, x0, 19
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov x0, x2
bl strcmp
cmp w0, 0
beq .L126
ldr x0, [sp, 48]
add x2, x0, 19
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov x0, x2
bl strcmp
cmp w0, 0
beq .L126
ldr x0, [sp, 48]
add x0, x0, 19
add x4, sp, 56
mov x3, x0
adrp x0, .LC6
add x2, x0, :lo12:.LC6
mov x1, 300
mov x0, x4
bl snprintf
add x0, sp, 56
mov w1, 1
bl open
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
beq .L127
add x0, sp, 56
mov x2, 1
mov x1, x0
ldr w0, [sp, 36]
bl write
ldr w0, [sp, 36]
bl close
b .L122
.L126:
nop
b .L122
.L127:
nop
b .L122
.L128:
nop
.L123:
mov w2, 1073741824
ldr x1, [sp, 16]
mov w0, -1
bl waitpid
mov w1, w0
ldr w0, [sp, 28]
cmp w0, w1
bne .L123
b .L110
.L125:
nop
.L110:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 360]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L124
bl __stack_chk_fail
.L124:
ldp x29, x30, [sp], 368
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE72:
.size kill_and_wait, .-kill_and_wait
.section .rodata
.align 3
.LC7:
.string "1000"
.align 3
.LC8:
.string "/proc/self/oom_score_adj"
.text
.align 2
.type setup_test, %function
setup_test:
.LFB73:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w4, 0
mov w3, 0
mov w2, 0
mov w1, 9
mov w0, 1
bl prctl
bl setpgrp
adrp x0, .LC7
add x1, x0, :lo12:.LC7
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl write_file
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE73:
.size setup_test, .-setup_test
.align 2
.type loop, %function
loop:
.LFB74:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 24]
.L138:
bl fork
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
bge .L131
mov w0, 1
bl exit
.L131:
ldr w0, [sp, 28]
cmp w0, 0
bne .L132
bl setup_test
bl execute_one
mov w0, 0
bl exit
.L132:
str wzr, [sp, 20]
bl current_time_ms
str x0, [sp, 32]
.L137:
add x0, sp, 20
mov w2, 1
movk w2, 0x4000, lsl 16
mov x1, x0
mov w0, -1
bl waitpid
mov w1, w0
ldr w0, [sp, 28]
cmp w0, w1
beq .L141
mov x0, 1
bl sleep_ms
bl current_time_ms
mov x1, x0
ldr x0, [sp, 32]
sub x1, x1, x0
mov x0, 4999
cmp x1, x0
bls .L142
add x0, sp, 20
mov x1, x0
ldr w0, [sp, 28]
bl kill_and_wait
b .L134
.L142:
nop
b .L137
.L141:
nop
.L134:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
b .L138
.cfi_endproc
.LFE74:
.size loop, .-loop
.align 2
.type execute_one, %function
execute_one:
.LFB75:
.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, 6464
movk x0, 0x2000, lsl 16
mov w1, 18
strb w1, [x0]
mov x0, 6465
movk x0, 0x2000, lsl 16
mov w1, 1
strb w1, [x0]
mov x0, 6466
movk x0, 0x2000, lsl 16
strh wzr, [x0]
mov x0, 6468
movk x0, 0x2000, lsl 16
mov w1, -113
strb w1, [x0]
mov x0, 6469
movk x0, 0x2000, lsl 16
mov w1, -61
strb w1, [x0]
mov x0, 6470
movk x0, 0x2000, lsl 16
mov w1, 61
strb w1, [x0]
mov x0, 6471
movk x0, 0x2000, lsl 16
mov w1, 32
strb w1, [x0]
mov x0, 6472
movk x0, 0x2000, lsl 16
mov w1, -5350
strh w1, [x0]
mov x0, 6474
movk x0, 0x2000, lsl 16
mov w1, -7421
strh w1, [x0]
mov x0, 6476
movk x0, 0x2000, lsl 16
mov w1, 10557
strh w1, [x0]
mov x0, 6478
movk x0, 0x2000, lsl 16
mov w1, 1
strb w1, [x0]
mov x0, 6479
movk x0, 0x2000, lsl 16
mov w1, 2
strb w1, [x0]
mov x0, 6480
movk x0, 0x2000, lsl 16
mov w1, 3
strb w1, [x0]
mov x0, 6481
movk x0, 0x2000, lsl 16
mov w1, 1
strb w1, [x0]
mov x0, 6482
movk x0, 0x2000, lsl 16
mov w1, 9
strb w1, [x0]
mov x0, 6483
movk x0, 0x2000, lsl 16
mov w1, 2
strb w1, [x0]
mov x0, 6484
movk x0, 0x2000, lsl 16
mov w1, 27
strh w1, [x0]
mov x0, 6486
movk x0, 0x2000, lsl 16
mov w1, 1
strb w1, [x0]
mov x0, 6487
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 6488
movk x0, 0x2000, lsl 16
mov w1, 2
strb w1, [x0]
mov x0, 6489
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 6490
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 6491
movk x0, 0x2000, lsl 16
mov w1, 9
strb w1, [x0]
mov x0, 6492
movk x0, 0x2000, lsl 16
mov w1, 4
strb w1, [x0]
mov x0, 6493
movk x0, 0x2000, lsl 16
mov w1, -2
strb w1, [x0]
mov x0, 6494
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 6495
movk x0, 0x2000, lsl 16
mov w1, 1
strb w1, [x0]
mov x0, 6496
movk x0, 0x2000, lsl 16
mov w1, -17
strb w1, [x0]
mov x0, 6497
movk x0, 0x2000, lsl 16
mov w1, -7
strb w1, [x0]
mov x0, 6498
movk x0, 0x2000, lsl 16
mov w1, -44
strb w1, [x0]
mov x0, 6499
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 6500
movk x0, 0x2000, lsl 16
mov w1, 9
strb w1, [x0]
mov x0, 6501
movk x0, 0x2000, lsl 16
mov w1, 5
strb w1, [x0]
mov x0, 6502
movk x0, 0x2000, lsl 16
mov w1, -126
strb w1, [x0]
mov x0, 6503
movk x0, 0x2000, lsl 16
mov w1, 3
strb w1, [x0]
mov x0, 6504
movk x0, 0x2000, lsl 16
mov w1, 1023
strh w1, [x0]
mov x0, 6506
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 6507
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 6508
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x3, 0
mov x2, 6464
movk x2, 0x2000, lsl 16
mov x1, 45
mov x0, 0
bl syz_usb_connect
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE75:
.size execute_one, .-execute_one
.align 2
.global main
.type main, %function
main:
.LFB76:
.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 x4, 50
mov x3, 3
mov x2, 16777216
mov x1, 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
.LFE76:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global inicializarLista
.type inicializarLista, %function
inicializarLista:
.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 x0, 16
bl malloc
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [sp, 24]
ldr x1, [x1]
str x1, [x0, 8]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size inicializarLista, .-inicializarLista
.section .rodata
.align 3
.LC0:
.string "Lista: \" "
.align 3
.LC1:
.string "%d "
.align 3
.LC2:
.string "\""
.text
.align 2
.global exibirLista
.type exibirLista, %function
exibirLista:
.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]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x0, [x0, 8]
str x0, [sp, 40]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
b .L3
.L4:
ldr x0, [sp, 40]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
.L3:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [sp, 40]
cmp x1, x0
bne .L4
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size exibirLista, .-exibirLista
.align 2
.global tamanho
.type tamanho, %function
tamanho:
.LFB2:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x0, [x0, 8]
str x0, [sp, 24]
str wzr, [sp, 20]
b .L6
.L7:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L6:
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L7
ldr w0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size tamanho, .-tamanho
.align 2
.global tamanhoEmBytes
.type tamanhoEmBytes, %function
tamanhoEmBytes:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl tamanho
add w0, w0, 1
sxtw x0, w0
lsl w0, w0, 4
add w0, w0, 8
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size tamanhoEmBytes, .-tamanhoEmBytes
.align 2
.global buscaSentinela
.type buscaSentinela, %function
buscaSentinela:
.LFB4:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x0, [x0, 8]
str x0, [sp, 24]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w1, [sp, 4]
str w1, [x0]
b .L12
.L13:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L12:
ldr x0, [sp, 24]
ldr w0, [x0]
ldr w1, [sp, 4]
cmp w1, w0
bne .L13
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
beq .L14
ldr x0, [sp, 24]
b .L15
.L14:
mov x0, 0
.L15:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size buscaSentinela, .-buscaSentinela
.align 2
.global buscaSentinelaOrd
.type buscaSentinelaOrd, %function
buscaSentinelaOrd:
.LFB5:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x0, [x0, 8]
str x0, [sp, 24]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w1, [sp, 4]
str w1, [x0]
b .L17
.L18:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L17:
ldr x0, [sp, 24]
ldr w0, [x0]
ldr w1, [sp, 4]
cmp w1, w0
bgt .L18
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
beq .L19
ldr x0, [sp, 24]
ldr w0, [x0]
ldr w1, [sp, 4]
cmp w1, w0
bne .L19
ldr x0, [sp, 24]
b .L20
.L19:
mov x0, 0
.L20:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size buscaSentinelaOrd, .-buscaSentinelaOrd
.align 2
.global buscaSeqExc
.type buscaSeqExc, %function
buscaSeqExc:
.LFB6:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str x2, [sp, 8]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 8]
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [sp, 20]
str w1, [x0]
b .L22
.L23:
ldr x0, [sp, 8]
ldr x1, [sp, 40]
str x1, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
.L22:
ldr x0, [sp, 40]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
bgt .L23
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [sp, 40]
cmp x1, x0
beq .L24
ldr x0, [sp, 40]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
bne .L24
ldr x0, [sp, 40]
b .L25
.L24:
mov x0, 0
.L25:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size buscaSeqExc, .-buscaSeqExc
.align 2
.global excluirElemLista
.type excluirElemLista, %function
excluirElemLista:
.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]
str w1, [sp, 20]
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, 40
mov x2, x0
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl buscaSeqExc
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
bne .L27
mov w0, 0
b .L29
.L27:
ldr x0, [sp, 40]
ldr x1, [sp, 48]
ldr x1, [x1, 8]
str x1, [x0, 8]
ldr x0, [sp, 48]
bl free
mov w0, 1
.L29:
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
.LFE7:
.size excluirElemLista, .-excluirElemLista
.align 2
.global reinicializarLista
.type reinicializarLista, %function
reinicializarLista:
.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]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x0, [x0, 8]
str x0, [sp, 32]
b .L32
.L33:
ldr x0, [sp, 32]
str x0, [sp, 40]
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
ldr x0, [sp, 40]
bl free
.L32:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [sp, 32]
cmp x1, x0
bne .L33
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [sp, 24]
ldr x1, [x1]
str x1, [x0, 8]
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size reinicializarLista, .-reinicializarLista
.align 2
.global inserirElemListaOrd
.type inserirElemListaOrd, %function
inserirElemListaOrd:
.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, 24]
str w1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
ldr w0, [sp, 16]
add x1, sp, 40
mov x2, x1
mov w1, w0
ldr x0, [sp, 24]
bl buscaSeqExc
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L35
mov w0, 0
b .L37
.L35:
mov x0, 16
bl malloc
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr w1, [sp, 16]
str w1, [x0]
ldr x0, [sp, 40]
ldr x1, [x0, 8]
ldr x0, [sp, 48]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldr x1, [sp, 48]
str x1, [x0, 8]
mov w0, 1
.L37:
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 .L38
bl __stack_chk_fail
.L38:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size inserirElemListaOrd, .-inserirElemListaOrd
.align 2
.global retornarPrimeiro
.type retornarPrimeiro, %function
retornarPrimeiro:
.LFB10:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x1, [x0, 8]
ldr x0, [sp, 8]
ldr x0, [x0]
cmp x1, x0
beq .L40
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x0, [x0, 8]
ldr w1, [x0]
ldr x0, [sp]
str w1, [x0]
.L40:
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x0, [x0, 8]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size retornarPrimeiro, .-retornarPrimeiro
.align 2
.global retornarUltimo
.type retornarUltimo, %function
retornarUltimo:
.LFB11:
.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]
ldr x0, [x0, 8]
str x0, [sp, 24]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L45
mov x0, 0
b .L44
.L46:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L45:
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 8]
ldr x0, [x0]
cmp x1, x0
bne .L46
ldr x0, [sp, 24]
ldr w1, [x0]
ldr x0, [sp]
str w1, [x0]
ldr x0, [sp, 24]
.L44:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size retornarUltimo, .-retornarUltimo
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "\345\271\263\346\226\271\346\240\271\343\202\222\346\261\202\343\202\201\343\201\237\343\201\204\345\240\264\345\220\210\343\201\257's'\343\202\222\343\200\201\351\233\273\345\215\223\346\251\237\350\203\275\343\202\222\344\275\277\343\201\204\343\201\237\343\201\204\345\240\264\345\220\210\343\201\257\343\201\235\343\202\214\344\273\245\345\244\226\343\202\222\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202"
.align 3
.LC1:
.string "%c"
.align 3
.LC2:
.string "\345\271\263\346\226\271\346\240\271\343\202\222\346\261\202\343\202\201\343\201\237\343\201\204\346\225\260\343\202\222\346\225\264\346\225\260\343\201\247\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202"
.align 3
.LC3:
.string "%d"
.align 3
.LC4:
.ascii "\357"
.string "\274\221\343\201\244\343\202\201\343\201\256\346\225\260\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202\344\270\211\350\247\222\351\226\242\346\225\260\343\202\222\344\275\277\347\224\250\343\201\227\343\201\237\343\201\204\345\240\264\345\220\210\343\201\257\344\275\277\343\201\204\343\201\237\343\201\204\351\226\242\346\225\260\343\201\256\351\240\255\346\226\207\345\255\227\343\202\222\345\205\245\345\212\233\343\201\227\343\201\237\343\201\204\350\247\222\345\272\246\343\201\256\345\205\210\351\240\255\343\201\253\343\201\244\343\201\221\343\201\246\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202\n\344\275\277\343\202\217\343\201\252\343\201\204\345\240\264\345\220\210\343\201\257\346\225\260\343\201\256\345\205\210\351\240\255\343\201\253\343\200\200n\343\200\200\343\202\222\343\201\244\343\201\221\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202"
.align 3
.LC5:
.string "%1c"
.align 3
.LC6:
.string "%lf"
.align 3
.LC7:
.string "\343\202\202\343\201\206\344\270\200\345\272\246\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202"
.align 3
.LC8:
.string "s c t n \343\201\256\343\201\251\343\202\214\343\201\213\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202"
.align 3
.LC9:
.string "\346\274\224\347\256\227\345\255\220\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202\357\274\210+ - * /\357\274\211"
.align 3
.LC10:
.string "+ - * /\343\201\256\343\201\251\343\202\214\343\201\213\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202"
.align 3
.LC11:
.string "\357\274\221\343\201\244\347\233\256\343\201\250\345\220\214\346\247\230\343\201\253\343\201\227\343\201\2462\343\201\244\347\233\256\343\201\256\346\225\260\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202"
.align 3
.LC12:
.string "qwertyuiop"
.align 3
.LC13:
.string "\343\202\202\343\201\206\344\270\200\345\272\246\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202\ns c t n \343\201\256\343\201\251\343\202\214\343\201\213\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202"
.align 3
.LC14:
.string "0\343\201\247\345\211\262\343\202\212\347\256\227\343\201\257\343\201\247\343\201\215\343\201\276\343\201\233\343\202\223\343\200\202\343\202\202\343\201\206\344\270\200\345\272\246\345\247\213\343\202\201\343\201\213\343\202\211\343\202\204\343\202\212\347\233\264\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202"
.align 3
.LC15:
.string "%lf %c %lf =%lf\n\345\271\263\346\226\271\346\240\271\343\202\222\346\261\202\343\202\201\343\201\237\343\201\204\345\240\264\345\220\210\343\201\2572\343\202\222\n\350\250\210\347\256\227\343\202\222\347\266\232\343\201\221\343\202\213\345\240\264\345\220\210\343\201\257\357\274\221\343\202\222\n\343\202\204\343\202\201\343\202\213\345\240\264\345\220\210\343\201\257\357\274\220\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202\n"
.align 3
.LC16:
.string "%1d"
.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
mov w0, 1
str w0, [sp, 24]
mov w0, 1
str w0, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
add x0, sp, 23
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldrb w0, [sp, 23]
cmp w0, 10
bne .L2
add x0, sp, 23
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
.L2:
ldrb w0, [sp, 23]
cmp w0, 115
bne .L3
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
add x0, sp, 40
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 40]
bl sqr
mov w0, 0
b .L26
.L3:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
add x0, sp, 22
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
add x0, sp, 19
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
add x0, sp, 32
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __isoc99_scanf
b .L5
.L6:
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
add x0, sp, 19
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
add x0, sp, 32
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __isoc99_scanf
.L5:
ldrb w0, [sp, 19]
cmp w0, 10
beq .L6
b .L7
.L9:
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
add x0, sp, 22
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
add x0, sp, 19
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
add x0, sp, 32
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __isoc99_scanf
.L7:
ldrb w0, [sp, 19]
cmp w0, 115
beq .L8
ldrb w0, [sp, 19]
cmp w0, 99
beq .L8
ldrb w0, [sp, 19]
cmp w0, 116
beq .L8
ldrb w0, [sp, 19]
cmp w0, 110
bne .L9
.L8:
ldrb w0, [sp, 19]
ldr d0, [sp, 32]
bl tfun
str d0, [sp, 32]
str xzr, [sp, 40]
b .L10
.L25:
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl puts
add x0, sp, 20
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
b .L11
.L13:
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl puts
add x0, sp, 20
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
.L11:
ldrb w0, [sp, 20]
cmp w0, 43
beq .L12
ldrb w0, [sp, 20]
cmp w0, 45
beq .L12
ldrb w0, [sp, 20]
cmp w0, 42
beq .L12
ldrb w0, [sp, 20]
cmp w0, 47
bne .L13
.L12:
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
add x0, sp, 22
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
add x0, sp, 21
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
add x0, sp, 40
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __isoc99_scanf
b .L14
.L15:
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl puts
add x0, sp, 21
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
add x0, sp, 40
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __isoc99_scanf
add x0, sp, 22
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
.L14:
ldrb w0, [sp, 21]
cmp w0, 10
beq .L15
b .L16
.L18:
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl puts
add x0, sp, 21
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
add x0, sp, 40
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __isoc99_scanf
add x0, sp, 22
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
.L16:
ldrb w0, [sp, 21]
cmp w0, 115
beq .L17
ldrb w0, [sp, 21]
cmp w0, 99
beq .L17
ldrb w0, [sp, 21]
cmp w0, 116
beq .L17
ldrb w0, [sp, 21]
cmp w0, 110
bne .L18
.L17:
ldrb w0, [sp, 21]
ldr d0, [sp, 40]
bl tfun
str d0, [sp, 40]
ldrb w0, [sp, 20]
cmp w0, 47
beq .L19
cmp w0, 47
bgt .L20
cmp w0, 45
beq .L21
cmp w0, 45
bgt .L20
cmp w0, 42
beq .L22
cmp w0, 43
bne .L20
ldr d1, [sp, 32]
ldr d0, [sp, 40]
fadd d0, d1, d0
str d0, [sp, 48]
b .L20
.L21:
ldr d1, [sp, 32]
ldr d0, [sp, 40]
fsub d0, d1, d0
str d0, [sp, 48]
b .L20
.L22:
ldr d1, [sp, 32]
ldr d0, [sp, 40]
fmul d0, d1, d0
str d0, [sp, 48]
b .L20
.L19:
ldr d0, [sp, 40]
fcmp d0, #0.0
bne .L23
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl puts
str wzr, [sp, 24]
str wzr, [sp, 28]
b .L20
.L23:
ldr d1, [sp, 32]
ldr d0, [sp, 40]
fdiv d0, d1, d0
str d0, [sp, 48]
nop
.L20:
ldr w0, [sp, 28]
cmp w0, 0
beq .L10
ldr d0, [sp, 32]
ldrb w0, [sp, 20]
ldr d1, [sp, 40]
ldr d2, [sp, 48]
mov w1, w0
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl printf
add x0, sp, 24
mov x1, x0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __isoc99_scanf
ldr w0, [sp, 24]
cmp w0, 1
bne .L24
ldr d0, [sp, 48]
str d0, [sp, 32]
.L24:
ldr w0, [sp, 24]
cmp w0, 2
bne .L10
bl cange
.L10:
ldr w0, [sp, 24]
cmp w0, 1
beq .L25
mov w0, 0
.L26:
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 .L27
bl __stack_chk_fail
.L27:
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
.align 2
.global tfun
.type tfun, %function
tfun:
.LFB1:
.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 d0, [sp, 16]
ldrb w0, [sp, 31]
cmp w0, 116
beq .L29
cmp w0, 116
bgt .L30
cmp w0, 99
beq .L31
cmp w0, 115
bne .L30
ldr d0, [sp, 16]
adrp x0, .LC17
ldr d1, [x0, #:lo12:.LC17]
fmul d0, d0, d1
mov x0, 140737488355328
movk x0, 0x4066, lsl 48
fmov d1, x0
fdiv d0, d0, d1
str d0, [sp, 16]
ldr d0, [sp, 16]
bl sin
str d0, [sp, 16]
b .L30
.L31:
ldr d0, [sp, 16]
adrp x0, .LC17
ldr d1, [x0, #:lo12:.LC17]
fmul d0, d0, d1
mov x0, 140737488355328
movk x0, 0x4066, lsl 48
fmov d1, x0
fdiv d0, d0, d1
str d0, [sp, 16]
ldr d0, [sp, 16]
bl cos
str d0, [sp, 16]
b .L30
.L29:
ldr d0, [sp, 16]
adrp x0, .LC17
ldr d1, [x0, #:lo12:.LC17]
fmul d0, d0, d1
mov x0, 140737488355328
movk x0, 0x4066, lsl 48
fmov d1, x0
fdiv d0, d0, d1
str d0, [sp, 16]
ldr d0, [sp, 16]
bl tan
str d0, [sp, 16]
nop
.L30:
ldr d0, [sp, 16]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size tfun, .-tfun
.section .rodata
.align 3
.LC18:
.string "%d\343\201\256\345\271\263\346\226\271\346\240\271\343\201\257%lf\343\201\247\343\201\231\343\200\202\n"
.align 3
.LC19:
.string "\351\233\273\345\215\223\343\202\222\344\275\277\347\224\250\343\201\227\343\201\237\343\201\204\345\240\264\345\220\210\343\201\257\357\274\221\343\202\222\343\200\201\347\265\202\344\272\206\343\201\231\343\202\213\345\240\264\345\220\210\343\201\257\357\274\220\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\343\200\202"
.text
.align 2
.global sqr
.type sqr, %function
sqr:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
ldr w0, [sp, 28]
scvtf d0, w0
bl sqrt
str d0, [sp, 48]
ldr d0, [sp, 48]
ldr w1, [sp, 28]
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl printf
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl puts
add x0, sp, 44
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 44]
cmp w0, 1
bne .L34
bl main
.L34:
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 .L36
bl __stack_chk_fail
.L36:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size sqr, .-sqr
.align 2
.global cange
.type cange, %function
cange:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl main
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size cange, .-cange
.section .rodata
.align 3
.LC17:
.word 1413754136
.word 1074340347
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.data
.align 3
.type junk, %object
.size junk, 30
junk:
.string "\n@(#)LIBF77 VERSION 19990503\n"
.text
.align 2
.type spow_ui, %function
spow_ui:
.LFB10:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
str w0, [sp, 8]
fmov s0, 1.0e+0
str s0, [sp, 20]
ldr w0, [sp, 8]
cmp w0, 0
beq .L2
ldr w0, [sp, 8]
cmp w0, 0
bge .L3
ldr w0, [sp, 8]
neg w0, w0
str w0, [sp, 8]
ldr s0, [sp, 12]
fmov s1, 1.0e+0
fdiv s0, s1, s0
str s0, [sp, 12]
.L3:
ldrsw x0, [sp, 8]
str x0, [sp, 24]
.L7:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L4
ldr s1, [sp, 20]
ldr s0, [sp, 12]
fmul s0, s1, s0
str s0, [sp, 20]
.L4:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L9
ldr s0, [sp, 12]
fmul s0, s0, s0
str s0, [sp, 12]
b .L7
.L9:
nop
.L2:
ldr s0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size spow_ui, .-spow_ui
.align 2
.type dpow_ui, %function
dpow_ui:
.LFB11:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str d0, [sp, 8]
str w0, [sp, 4]
fmov d0, 1.0e+0
str d0, [sp, 16]
ldr w0, [sp, 4]
cmp w0, 0
beq .L11
ldr w0, [sp, 4]
cmp w0, 0
bge .L12
ldr w0, [sp, 4]
neg w0, w0
str w0, [sp, 4]
ldr d0, [sp, 8]
fmov d1, 1.0e+0
fdiv d0, d1, d0
str d0, [sp, 8]
.L12:
ldrsw x0, [sp, 4]
str x0, [sp, 24]
.L16:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L13
ldr d1, [sp, 16]
ldr d0, [sp, 8]
fmul d0, d1, d0
str d0, [sp, 16]
.L13:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L18
ldr d0, [sp, 8]
fmul d0, d0, d0
str d0, [sp, 8]
b .L16
.L18:
nop
.L11:
ldr d0, [sp, 16]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size dpow_ui, .-dpow_ui
.align 2
.type cpow_ui, %function
cpow_ui:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
fmov s2, s0
fmov s0, s1
fmov s1, s2
str s1, [sp, 24]
str s0, [sp, 28]
str w0, [sp, 20]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
fmov s0, 1.0e+0
str s0, [sp, 56]
str wzr, [sp, 60]
ldr w0, [sp, 20]
cmp w0, 0
beq .L27
ldr w0, [sp, 20]
cmp w0, 0
bge .L21
ldr w0, [sp, 20]
neg w0, w0
str w0, [sp, 20]
ldr s3, [sp, 36]
ldr s2, [sp, 32]
movi v1.2s, #0
fmov s0, 1.0e+0
bl __divsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 24]
str s0, [sp, 28]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
.L21:
ldrsw x0, [sp, 20]
str x0, [sp, 48]
str wzr, [sp, 44]
fmov s0, 1.0e+0
str s0, [sp, 40]
.L25:
ldr x0, [sp, 48]
and x0, x0, 1
cmp x0, 0
beq .L22
ldr s3, [sp, 36]
ldr s2, [sp, 32]
ldr s1, [sp, 44]
ldr s0, [sp, 40]
bl __mulsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 56]
str s0, [sp, 60]
ldr s0, [sp, 56]
str s0, [sp, 40]
ldr s0, [sp, 60]
str s0, [sp, 44]
.L22:
ldr x0, [sp, 48]
lsr x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L28
ldr s3, [sp, 36]
ldr s2, [sp, 32]
ldr s1, [sp, 36]
ldr s0, [sp, 32]
bl __mulsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 24]
str s0, [sp, 28]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
b .L25
.L27:
str wzr, [sp, 44]
fmov s0, 1.0e+0
str s0, [sp, 40]
b .L20
.L28:
nop
.L20:
ldr s1, [sp, 40]
ldr s0, [sp, 44]
fmov s2, s1
fmov s1, s0
fmov s0, s2
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size cpow_ui, .-cpow_ui
.align 2
.type zpow_ui, %function
zpow_ui:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
fmov d2, d0
fmov d0, d1
fmov d1, d2
str d1, [sp, 32]
str d0, [sp, 40]
str w0, [sp, 28]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
fmov d0, 1.0e+0
str d0, [sp, 96]
str xzr, [sp, 104]
ldr w0, [sp, 28]
cmp w0, 0
beq .L37
ldr w0, [sp, 28]
cmp w0, 0
bge .L31
ldr w0, [sp, 28]
neg w0, w0
str w0, [sp, 28]
ldr d3, [sp, 72]
ldr d2, [sp, 64]
movi d1, #0
fmov d0, 1.0e+0
bl __divdc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 32]
str d0, [sp, 40]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
.L31:
ldrsw x0, [sp, 28]
str x0, [sp, 56]
str xzr, [sp, 88]
fmov d0, 1.0e+0
str d0, [sp, 80]
.L35:
ldr x0, [sp, 56]
and x0, x0, 1
cmp x0, 0
beq .L32
ldr d3, [sp, 72]
ldr d2, [sp, 64]
ldr d1, [sp, 88]
ldr d0, [sp, 80]
bl __muldc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 96]
str d0, [sp, 104]
ldr d0, [sp, 96]
str d0, [sp, 80]
ldr d0, [sp, 104]
str d0, [sp, 88]
.L32:
ldr x0, [sp, 56]
lsr x0, x0, 1
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L38
ldr d3, [sp, 72]
ldr d2, [sp, 64]
ldr d1, [sp, 72]
ldr d0, [sp, 64]
bl __muldc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 32]
str d0, [sp, 40]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
b .L35
.L37:
str xzr, [sp, 88]
fmov d0, 1.0e+0
str d0, [sp, 80]
b .L30
.L38:
nop
.L30:
ldr d1, [sp, 80]
ldr d0, [sp, 88]
fmov d2, d1
fmov d1, d0
fmov d0, d2
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size zpow_ui, .-zpow_ui
.align 2
.type pow_ii, %function
pow_ii:
.LFB14:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str w1, [sp, 8]
ldr w0, [sp, 8]
cmp w0, 0
bgt .L40
ldr w0, [sp, 8]
cmp w0, 0
beq .L41
ldr w0, [sp, 12]
cmp w0, 1
bne .L42
.L41:
mov w0, 1
str w0, [sp, 20]
b .L40
.L42:
ldr w0, [sp, 12]
cmn w0, #1
beq .L43
ldr w0, [sp, 12]
cmp w0, 0
bne .L44
mov w1, 1
ldr w0, [sp, 12]
sdiv w0, w1, w0
b .L45
.L44:
mov w0, 0
.L45:
str w0, [sp, 20]
b .L40
.L43:
ldr w0, [sp, 8]
neg w0, w0
str w0, [sp, 8]
.L40:
ldr w0, [sp, 8]
cmp w0, 0
bgt .L46
ldr w0, [sp, 8]
cmp w0, 0
beq .L47
ldr w0, [sp, 12]
cmp w0, 1
beq .L47
ldr w0, [sp, 12]
cmn w0, #1
bne .L47
.L46:
ldrsw x0, [sp, 8]
str x0, [sp, 24]
mov w0, 1
str w0, [sp, 20]
.L51:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L48
ldr w1, [sp, 20]
ldr w0, [sp, 12]
mul w0, w1, w0
str w0, [sp, 20]
.L48:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L53
ldr w0, [sp, 12]
mul w0, w0, w0
str w0, [sp, 12]
b .L51
.L53:
nop
.L47:
ldr w0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size pow_ii, .-pow_ii
.align 2
.type dmaxloc_, %function
dmaxloc_:
.LFB15:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str x3, [sp, 8]
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, 40]
ldr w0, [sp, 20]
str w0, [sp, 36]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 32]
b .L55
.L58:
ldrsw x0, [sp, 32]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
ldr d1, [sp, 40]
fcmpe d1, d0
bmi .L60
b .L56
.L60:
ldr w0, [sp, 32]
str w0, [sp, 36]
ldrsw x0, [sp, 32]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
str d0, [sp, 40]
.L56:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L55:
ldr w1, [sp, 32]
ldr w0, [sp, 16]
cmp w1, w0
ble .L58
ldr w1, [sp, 36]
ldr w0, [sp, 20]
sub w0, w1, w0
add w0, w0, 1
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size dmaxloc_, .-dmaxloc_
.align 2
.type smaxloc_, %function
smaxloc_:
.LFB16:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str x3, [sp, 8]
ldrsw x0, [sp, 20]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 36]
ldr w0, [sp, 20]
str w0, [sp, 44]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 40]
b .L62
.L65:
ldrsw x0, [sp, 40]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
ldr s1, [sp, 36]
fcmpe s1, s0
bmi .L67
b .L63
.L67:
ldr w0, [sp, 40]
str w0, [sp, 44]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 36]
.L63:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L62:
ldr w1, [sp, 40]
ldr w0, [sp, 16]
cmp w1, w0
ble .L65
ldr w1, [sp, 44]
ldr w0, [sp, 20]
sub w0, w1, w0
add w0, w0, 1
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size smaxloc_, .-smaxloc_
.data
.align 2
.type c__1, %object
.size c__1, 4
c__1:
.word 1
.align 2
.type c_n1, %object
.size c_n1, 4
c_n1:
.word -1
.align 2
.type c__2, %object
.size c__2, 4
c__2:
.word 2
.align 2
.type c_b18, %object
.size c_b18, 4
c_b18:
.word 1065353216
.align 2
.type c_b22, %object
.size c_b22, 4
c_b22:
.word -1082130432
.section .rodata
.align 3
.LC0:
.string "U"
.align 3
.LC1:
.string "N"
.align 3
.LC2:
.string "L"
.align 3
.LC3:
.string "STRTRI"
.align 3
.LC4:
.string "No transpose"
.align 3
.LC5:
.string "Upper"
.align 3
.LC6:
.string "Left"
.align 3
.LC7:
.string "Right"
.align 3
.LC8:
.string "Lower"
.text
.align 2
.global strtri_
.type strtri_, %function
strtri_:
.LFB21:
.cfi_startproc
sub sp, sp, #224
.cfi_def_cfa_offset 224
stp x29, x30, [sp, 32]
.cfi_offset 29, -192
.cfi_offset 30, -184
add x29, sp, 32
str x0, [sp, 88]
str x1, [sp, 80]
str x2, [sp, 72]
str x3, [sp, 64]
str x4, [sp, 56]
str x5, [sp, 48]
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 x0, [sp, 56]
ldr w0, [x0]
str w0, [sp, 136]
ldr w0, [sp, 136]
add w0, w0, 1
str w0, [sp, 140]
ldrsw x0, [sp, 140]
lsl x0, x0, 2
neg x0, x0
ldr x1, [sp, 64]
add x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 48]
str wzr, [x0]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 88]
bl lsame_
str w0, [sp, 144]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 80]
bl lsame_
str w0, [sp, 148]
ldr w0, [sp, 144]
cmp w0, 0
bne .L69
adrp x0, .LC2
add x1, x0, :lo12:.LC2
ldr x0, [sp, 88]
bl lsame_
cmp w0, 0
bne .L69
ldr x0, [sp, 48]
mov w1, -1
str w1, [x0]
b .L70
.L69:
ldr w0, [sp, 148]
cmp w0, 0
bne .L71
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 80]
bl lsame_
cmp w0, 0
bne .L71
ldr x0, [sp, 48]
mov w1, -2
str w1, [x0]
b .L70
.L71:
ldr x0, [sp, 72]
ldr w0, [x0]
cmp w0, 0
bge .L72
ldr x0, [sp, 48]
mov w1, -3
str w1, [x0]
b .L70
.L72:
ldr x0, [sp, 56]
ldr w1, [x0]
ldr x0, [sp, 72]
ldr w0, [x0]
mov w2, 1
cmp w0, 0
csel w0, w0, w2, gt
cmp w1, w0
bge .L70
ldr x0, [sp, 48]
mov w1, -5
str w1, [x0]
.L70:
ldr x0, [sp, 48]
ldr w0, [x0]
cmp w0, 0
beq .L73
ldr x0, [sp, 48]
ldr w0, [x0]
neg w0, w0
str w0, [sp, 108]
add x0, sp, 108
mov w2, 6
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl xerbla_
mov w0, 0
b .L100
.L73:
ldr x0, [sp, 72]
ldr w0, [x0]
cmp w0, 0
bne .L75
mov w0, 0
b .L100
.L75:
ldr w0, [sp, 148]
cmp w0, 0
beq .L76
ldr x0, [sp, 72]
ldr w0, [x0]
str w0, [sp, 108]
ldr x0, [sp, 48]
mov w1, 1
str w1, [x0]
b .L77
.L79:
ldr x0, [sp, 48]
ldr w1, [x0]
ldr x0, [sp, 48]
ldr w2, [x0]
ldr w0, [sp, 136]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 64]
add x0, x1, x0
ldr s0, [x0]
fcmp s0, #0.0
bne .L78
mov w0, 0
b .L100
.L78:
ldr x0, [sp, 48]
ldr w0, [x0]
add w1, w0, 1
ldr x0, [sp, 48]
str w1, [x0]
.L77:
ldr x0, [sp, 48]
ldr w1, [x0]
ldr w0, [sp, 108]
cmp w1, w0
ble .L79
ldr x0, [sp, 48]
str wzr, [x0]
.L76:
mov w0, 1
str w0, [sp, 184]
ldr x0, [sp, 88]
str x0, [sp, 192]
mov w0, 1
str w0, [sp, 188]
ldr x0, [sp, 80]
str x0, [sp, 200]
mov w0, 2
str w0, [sp, 132]
add x0, sp, 208
str x0, [sp, 176]
str wzr, [sp, 124]
b .L80
.L84:
ldr w0, [sp, 132]
str w0, [sp, 128]
ldrsw x0, [sp, 124]
lsl x0, x0, 2
add x1, sp, 184
ldr w0, [x1, x0]
ldr w1, [sp, 128]
cmp w1, w0
ble .L81
ldrsw x0, [sp, 124]
lsl x0, x0, 2
add x1, sp, 184
ldr w0, [x1, x0]
str w0, [sp, 128]
.L81:
ldr w1, [sp, 132]
ldr w0, [sp, 128]
sub w0, w1, w0
str w0, [sp, 132]
ldrsw x0, [sp, 124]
lsl x0, x0, 3
add x1, sp, 192
ldr x0, [x1, x0]
str x0, [sp, 168]
b .L82
.L83:
ldr x1, [sp, 168]
add x0, x1, 1
str x0, [sp, 168]
ldr x0, [sp, 176]
add x2, x0, 1
str x2, [sp, 176]
ldrb w1, [x1]
strb w1, [x0]
.L82:
ldr w0, [sp, 128]
sub w0, w0, #1
str w0, [sp, 128]
ldr w0, [sp, 128]
cmp w0, 0
bge .L83
ldr w0, [sp, 124]
add w0, w0, 1
str w0, [sp, 124]
.L80:
adrp x0, c__2
add x0, x0, :lo12:c__2
ldr w0, [x0]
ldr w1, [sp, 124]
cmp w1, w0
blt .L84
b .L85
.L86:
ldr x0, [sp, 176]
add x1, x0, 1
str x1, [sp, 176]
mov w1, 32
strb w1, [x0]
.L85:
ldr w0, [sp, 132]
sub w0, w0, #1
str w0, [sp, 132]
ldr w0, [sp, 132]
cmp w0, 0
bge .L86
add x1, sp, 208
mov w0, 2
str w0, [sp]
mov w7, 6
adrp x0, c_n1
add x6, x0, :lo12:c_n1
adrp x0, c_n1
add x5, x0, :lo12:c_n1
adrp x0, c_n1
add x4, x0, :lo12:c_n1
ldr x3, [sp, 72]
mov x2, x1
adrp x0, .LC3
add x1, x0, :lo12:.LC3
adrp x0, c__1
add x0, x0, :lo12:c__1
bl ilaenv_
str w0, [sp, 152]
ldr w0, [sp, 152]
cmp w0, 1
ble .L87
ldr x0, [sp, 72]
ldr w0, [x0]
ldr w1, [sp, 152]
cmp w1, w0
blt .L88
.L87:
ldrsw x0, [sp, 140]
lsl x0, x0, 2
ldr x1, [sp, 64]
add x0, x1, x0
ldr x5, [sp, 48]
ldr x4, [sp, 56]
mov x3, x0
ldr x2, [sp, 72]
ldr x1, [sp, 80]
ldr x0, [sp, 88]
bl strti2_
b .L89
.L88:
ldr w0, [sp, 144]
cmp w0, 0
beq .L90
ldr x0, [sp, 72]
ldr w0, [x0]
str w0, [sp, 108]
ldr w0, [sp, 152]
str w0, [sp, 160]
mov w0, 1
str w0, [sp, 120]
b .L91
.L94:
ldr w0, [sp, 152]
str w0, [sp, 112]
ldr x0, [sp, 72]
ldr w1, [x0]
ldr w0, [sp, 120]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 164]
ldr w0, [sp, 112]
ldr w2, [sp, 164]
ldr w1, [sp, 164]
cmp w2, w0
csel w0, w1, w0, le
str w0, [sp, 116]
ldr w0, [sp, 120]
sub w0, w0, #1
str w0, [sp, 112]
ldrsw x0, [sp, 140]
lsl x0, x0, 2
ldr x1, [sp, 64]
add x4, x1, x0
ldr w1, [sp, 120]
ldr w0, [sp, 136]
mul w0, w1, w0
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 64]
add x0, x1, x0
add x3, sp, 116
add x2, sp, 112
ldr x1, [sp, 56]
str x1, [sp, 16]
str x0, [sp, 8]
ldr x0, [sp, 56]
str x0, [sp]
mov x7, x4
adrp x0, c_b18
add x6, x0, :lo12:c_b18
mov x5, x3
mov x4, x2
ldr x3, [sp, 80]
adrp x0, .LC4
add x2, x0, :lo12:.LC4
adrp x0, .LC5
add x1, x0, :lo12:.LC5
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl strmm_
ldr w0, [sp, 120]
sub w0, w0, #1
str w0, [sp, 112]
ldr w1, [sp, 120]
ldr w0, [sp, 136]
mul w1, w1, w0
ldr w0, [sp, 120]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 64]
add x4, x1, x0
ldr w1, [sp, 120]
ldr w0, [sp, 136]
mul w0, w1, w0
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 64]
add x0, x1, x0
add x3, sp, 116
add x2, sp, 112
ldr x1, [sp, 56]
str x1, [sp, 16]
str x0, [sp, 8]
ldr x0, [sp, 56]
str x0, [sp]
mov x7, x4
adrp x0, c_b22
add x6, x0, :lo12:c_b22
mov x5, x3
mov x4, x2
ldr x3, [sp, 80]
adrp x0, .LC4
add x2, x0, :lo12:.LC4
adrp x0, .LC5
add x1, x0, :lo12:.LC5
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl strsm_
ldr w1, [sp, 120]
ldr w0, [sp, 136]
mul w1, w1, w0
ldr w0, [sp, 120]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 64]
add x1, x1, x0
add x0, sp, 116
ldr x5, [sp, 48]
ldr x4, [sp, 56]
mov x3, x1
mov x2, x0
ldr x1, [sp, 80]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl strti2_
ldr w1, [sp, 120]
ldr w0, [sp, 160]
add w0, w1, w0
str w0, [sp, 120]
.L91:
ldr w0, [sp, 160]
cmp w0, 0
bge .L92
ldr w0, [sp, 108]
ldr w1, [sp, 120]
cmp w1, w0
cset w0, ge
and w0, w0, 255
b .L93
.L92:
ldr w0, [sp, 108]
ldr w1, [sp, 120]
cmp w1, w0
cset w0, le
and w0, w0, 255
.L93:
cmp w0, 0
bne .L94
b .L89
.L90:
ldr x0, [sp, 72]
ldr w0, [x0]
sub w1, w0, #1
ldr w0, [sp, 152]
sdiv w1, w1, w0
ldr w0, [sp, 152]
mul w0, w1, w0
add w0, w0, 1
str w0, [sp, 156]
ldr w0, [sp, 152]
neg w0, w0
str w0, [sp, 160]
ldr w0, [sp, 156]
str w0, [sp, 120]
b .L95
.L99:
ldr w0, [sp, 152]
str w0, [sp, 108]
ldr x0, [sp, 72]
ldr w1, [x0]
ldr w0, [sp, 120]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 112]
ldr w1, [sp, 108]
ldr w0, [sp, 112]
cmp w1, w0
csel w0, w1, w0, le
str w0, [sp, 116]
ldr w1, [sp, 116]
ldr w0, [sp, 120]
add w1, w1, w0
ldr x0, [sp, 72]
ldr w0, [x0]
cmp w1, w0
bgt .L96
ldr x0, [sp, 72]
ldr w1, [x0]
ldr w0, [sp, 120]
sub w1, w1, w0
ldr w0, [sp, 116]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 108]
ldr w1, [sp, 116]
ldr w0, [sp, 120]
add w1, w1, w0
ldr w2, [sp, 116]
ldr w0, [sp, 120]
add w2, w2, w0
ldr w0, [sp, 136]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 64]
add x4, x1, x0
ldr w1, [sp, 116]
ldr w0, [sp, 120]
add w1, w1, w0
ldr w2, [sp, 120]
ldr w0, [sp, 136]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 64]
add x0, x1, x0
add x3, sp, 116
add x2, sp, 108
ldr x1, [sp, 56]
str x1, [sp, 16]
str x0, [sp, 8]
ldr x0, [sp, 56]
str x0, [sp]
mov x7, x4
adrp x0, c_b18
add x6, x0, :lo12:c_b18
mov x5, x3
mov x4, x2
ldr x3, [sp, 80]
adrp x0, .LC4
add x2, x0, :lo12:.LC4
adrp x0, .LC8
add x1, x0, :lo12:.LC8
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl strmm_
ldr x0, [sp, 72]
ldr w1, [x0]
ldr w0, [sp, 120]
sub w1, w1, w0
ldr w0, [sp, 116]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 108]
ldr w1, [sp, 120]
ldr w0, [sp, 136]
mul w1, w1, w0
ldr w0, [sp, 120]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 64]
add x4, x1, x0
ldr w1, [sp, 116]
ldr w0, [sp, 120]
add w1, w1, w0
ldr w2, [sp, 120]
ldr w0, [sp, 136]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 64]
add x0, x1, x0
add x3, sp, 116
add x2, sp, 108
ldr x1, [sp, 56]
str x1, [sp, 16]
str x0, [sp, 8]
ldr x0, [sp, 56]
str x0, [sp]
mov x7, x4
adrp x0, c_b22
add x6, x0, :lo12:c_b22
mov x5, x3
mov x4, x2
ldr x3, [sp, 80]
adrp x0, .LC4
add x2, x0, :lo12:.LC4
adrp x0, .LC8
add x1, x0, :lo12:.LC8
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl strsm_
.L96:
ldr w1, [sp, 120]
ldr w0, [sp, 136]
mul w1, w1, w0
ldr w0, [sp, 120]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 64]
add x1, x1, x0
add x0, sp, 116
ldr x5, [sp, 48]
ldr x4, [sp, 56]
mov x3, x1
mov x2, x0
ldr x1, [sp, 80]
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl strti2_
ldr w1, [sp, 120]
ldr w0, [sp, 160]
add w0, w1, w0
str w0, [sp, 120]
.L95:
ldr w0, [sp, 160]
cmp w0, 0
bge .L97
ldr w0, [sp, 120]
cmp w0, 0
cset w0, gt
and w0, w0, 255
b .L98
.L97:
ldr w0, [sp, 120]
cmp w0, 1
cset w0, le
and w0, w0, 255
.L98:
cmp w0, 0
bne .L99
.L89:
mov w0, 0
.L100:
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 .L101
bl __stack_chk_fail
.L101:
mov w0, w1
ldp x29, x30, [sp, 32]
add sp, sp, 224
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size strtri_, .-strtri_
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global randomDoor
.type randomDoor, %function
randomDoor:
.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]
bl rand
ldr w1, [sp, 28]
sdiv w2, w0, w1
ldr w1, [sp, 28]
mul w1, w2, w1
sub w0, w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size randomDoor, .-randomDoor
.align 2
.global setupGame
.type setupGame, %function
setupGame:
.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]
mov w1, 3
str w1, [x0]
str wzr, [sp, 44]
b .L4
.L5:
ldr x1, [sp, 24]
ldrsw x0, [sp, 44]
lsl x0, x0, 2
add x0, x1, x0
mov w1, 1
str w1, [x0, 4]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L4:
ldr w0, [sp, 44]
cmp w0, 2
ble .L5
mov w0, 3
bl randomDoor
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 16]
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size setupGame, .-setupGame
.align 2
.global removeDoor
.type removeDoor, %function
removeDoor:
.LFB8:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str x1, [sp]
ldr x1, [sp]
ldrsw x0, [sp, 12]
lsl x0, x0, 2
add x0, x1, x0
str wzr, [x0, 4]
ldr x0, [sp]
ldr w0, [x0]
sub w1, w0, #1
ldr x0, [sp]
str w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size removeDoor, .-removeDoor
.align 2
.global addDoor
.type addDoor, %function
addDoor:
.LFB9:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str x1, [sp]
ldr x1, [sp]
ldrsw x0, [sp, 12]
lsl x0, x0, 2
add x0, x1, x0
mov w1, 1
str w1, [x0, 4]
ldr x0, [sp]
ldr w0, [x0]
add w1, w0, 1
ldr x0, [sp]
str w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size addDoor, .-addDoor
.section .rodata
.align 3
.LC0:
.string "\nNo Available Doors!\n"
.text
.align 2
.global getFirstAvilableDoor
.type getFirstAvilableDoor, %function
getFirstAvilableDoor:
.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 .L9
.L12:
ldr x1, [sp, 24]
ldrsw x0, [sp, 44]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 4]
cmp w0, 1
bne .L10
ldr w0, [sp, 44]
b .L11
.L10:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L9:
ldr w0, [sp, 44]
cmp w0, 2
ble .L12
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 21
mov x1, 1
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl fwrite
mov w0, -1
.L11:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size getFirstAvilableDoor, .-getFirstAvilableDoor
.section .rodata
.align 3
.LC1:
.string "\nNo Zonk Available!!!\n"
.align 3
.LC2:
.string "number of doors: %d\n"
.text
.align 2
.global getFirstAvilableZonk
.type getFirstAvilableZonk, %function
getFirstAvilableZonk:
.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]
str wzr, [sp, 44]
b .L14
.L17:
ldr x1, [sp, 24]
ldrsw x0, [sp, 44]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 4]
cmp w0, 1
bne .L15
ldr x0, [sp, 24]
ldr w0, [x0, 16]
ldr w1, [sp, 44]
cmp w1, w0
beq .L15
ldr w0, [sp, 44]
b .L16
.L15:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L14:
ldr w0, [sp, 44]
cmp w0, 2
ble .L17
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 22
mov x1, 1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fwrite
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 24]
ldr w0, [x0]
mov w2, w0
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl fprintf
mov w0, -1
.L16:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size getFirstAvilableZonk, .-getFirstAvilableZonk
.align 2
.global revealOneZonk
.type revealOneZonk, %function
revealOneZonk:
.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 x0, [sp, 24]
ldr x0, [sp, 24]
bl getFirstAvilableZonk
str w0, [sp, 44]
ldr x1, [sp, 24]
ldr w0, [sp, 44]
bl removeDoor
ldr w0, [sp, 44]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size revealOneZonk, .-revealOneZonk
.section .rodata
.align 3
.LC3:
.string "player selects %d\n"
.text
.align 2
.global pickDoor
.type pickDoor, %function
pickDoor:
.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]
str x1, [sp, 16]
mov w0, 3
bl randomDoor
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0]
ldr x1, [sp, 16]
bl removeDoor
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x3, [x0]
ldr x0, [sp, 24]
ldr w0, [x0]
mov w2, w0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x3
bl fprintf
ldr x0, [sp, 24]
ldr w0, [x0]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size pickDoor, .-pickDoor
.section .rodata
.align 3
.LC4:
.string "player switches to %d\n"
.text
.align 2
.global switchDoor
.type switchDoor, %function
switchDoor:
.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, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldr w0, [x0]
str w0, [sp, 44]
ldr x0, [sp, 16]
bl getFirstAvilableDoor
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0]
ldr x1, [sp, 16]
bl removeDoor
ldr x1, [sp, 16]
ldr w0, [sp, 44]
bl addDoor
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x3, [x0]
ldr x0, [sp, 24]
ldr w0, [x0]
mov w2, w0
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov x0, x3
bl fprintf
ldr x0, [sp, 24]
ldr w0, [x0]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size switchDoor, .-switchDoor
.section .rodata
.align 3
.LC5:
.string "player wins\n"
.align 3
.LC6:
.string "player looses\n"
.text
.align 2
.global outcome
.type outcome, %function
outcome:
.LFB15:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldr w1, [x0]
ldr x0, [sp, 16]
ldr w0, [x0, 16]
cmp w1, w0
bne .L25
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
mov x3, x0
mov x2, 12
mov x1, 1
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl fwrite
mov w0, 1
b .L26
.L25:
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
mov x3, x0
mov x2, 14
mov x1, 1
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl fwrite
mov w0, 0
.L26:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size outcome, .-outcome
.align 2
.global playGame
.type playGame, %function
playGame:
.LFB16:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 16]
bl setupGame
ldr x1, [sp, 16]
ldr x0, [sp, 24]
bl pickDoor
ldr x0, [sp, 16]
bl revealOneZonk
ldr x0, [sp, 24]
ldr w0, [x0, 4]
cmp w0, 1
bne .L28
ldr x1, [sp, 16]
ldr x0, [sp, 24]
bl switchDoor
.L28:
ldr x1, [sp, 16]
ldr x0, [sp, 24]
bl outcome
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 8]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0, 12]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 12]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size playGame, .-playGame
.section .rodata
.align 3
.LC7:
.string "Player Won %d of %d games\n"
.align 3
.LC8:
.string "Player Won %f precent of his games\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB17:
.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
mov w0, 1
str w0, [sp, 36]
str wzr, [sp, 40]
str wzr, [sp, 44]
mov x0, 0
bl time
bl srand
str wzr, [sp, 24]
b .L30
.L31:
add x1, sp, 48
add x0, sp, 32
bl playGame
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L30:
ldr w1, [sp, 24]
mov w0, 9999
cmp w1, w0
ble .L31
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x4, [x0]
ldr w0, [sp, 40]
ldr w1, [sp, 44]
mov w3, w1
mov w2, w0
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, x4
bl fprintf
ldr s0, [sp, 40]
scvtf s1, s0
ldr s0, [sp, 44]
scvtf s0, s0
fdiv s0, s1, s0
mov w0, 1120403456
fmov s1, w0
fmul s0, s0, s1
str s0, [sp, 28]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x2, [x0]
ldr s0, [sp, 28]
fcvt d0, s0
adrp x0, .LC8
add x1, x0, :lo12:.LC8
mov x0, x2
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, 72]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L33
bl __stack_chk_fail
.L33:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl f
bl g
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 "%f"
.text
.align 2
.global bprint
.type bprint, %function
bprint:
.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]
ldr d0, [x0]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x0, [sp, 24]
add x0, x0, 8
ldr d0, [x0]
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 bprint, .-bprint
.align 2
.global bchange
.type bchange, %function
bchange:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
fmov d0, 6.0e+0
str d0, [x0]
ldr x0, [sp, 8]
add x0, x0, 8
fmov d0, 9.0e+0
str d0, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size bchange, .-bchange
.align 2
.global bruh
.type bruh, %function
bruh:
.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
fmov d0, 1.0e+0
str d0, [sp, 24]
fmov d0, 2.0e+0
str d0, [sp, 32]
add x0, sp, 24
bl bchange
add x0, sp, 24
bl bprint
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L4
bl __stack_chk_fail
.L4:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size bruh, .-bruh
.align 2
.global main
.type main, %function
main:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl bruh
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Username: "
.align 3
.LC1:
.string "12"
.align 3
.LC2:
.string "1x"
.align 3
.LC3:
.string "x3"
.align 3
.LC4:
.string "xx"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
strb wzr, [sp, 48]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
add x0, sp, 40
mov x2, 8
mov x1, x0
mov w0, 0
bl read
ldrb w0, [sp, 40]
cmp w0, 49
bne .L2
ldrb w0, [sp, 41]
cmp w0, 50
bne .L3
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
b .L4
.L3:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
b .L4
.L2:
ldrb w0, [sp, 41]
cmp w0, 51
bne .L5
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
b .L4
.L5:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
.L4:
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 .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global myStackCreate
.type myStackCreate, %function
myStackCreate:
.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 x0, 16
bl malloc
str x0, [sp, 24]
ldr x0, [sp, 24]
str xzr, [x0, 8]
ldr x0, [sp, 24]
str xzr, [x0]
ldr x0, [sp, 24]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size myStackCreate, .-myStackCreate
.align 2
.global myStackPush
.type myStackPush, %function
myStackPush:
.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]
str w1, [sp, 20]
mov x0, 16
bl malloc
str x0, [sp, 32]
ldr x0, [sp, 32]
ldr w1, [sp, 20]
str w1, [x0]
ldr x0, [sp, 32]
str xzr, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
beq .L4
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr x1, [sp, 32]
str x1, [x0, 8]
.L4:
ldr x0, [sp, 24]
ldr x1, [sp, 32]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x0, 0
bne .L6
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
str x1, [x0]
.L6:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size myStackPush, .-myStackPush
.align 2
.global myStackPop
.type myStackPop, %function
myStackPop:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x1, x0
bne .L8
ldr x0, [sp, 24]
ldr x0, [x0]
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w0, [x0]
str w0, [sp, 36]
ldr x0, [sp, 56]
str xzr, [x0, 8]
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 24]
str xzr, [x0]
ldr x0, [sp, 24]
str xzr, [x0, 8]
ldr w0, [sp, 36]
b .L9
.L8:
ldr x0, [sp, 24]
ldr x0, [x0]
str x0, [sp, 40]
b .L10
.L11:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
.L10:
ldr x0, [sp, 40]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x1, x0
bne .L11
ldr x0, [sp, 24]
ldr x1, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0]
str w0, [sp, 32]
ldr x0, [sp, 40]
str xzr, [x0, 8]
ldr x0, [sp, 40]
bl free
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 48]
ldr x0, [sp, 48]
str xzr, [x0, 8]
ldr w0, [sp, 32]
.L9:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size myStackPop, .-myStackPop
.align 2
.global myStackTop
.type myStackTop, %function
myStackTop:
.LFB3:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr x0, [x0, 8]
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr w0, [x0]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size myStackTop, .-myStackTop
.align 2
.global myStackEmpty
.type myStackEmpty, %function
myStackEmpty:
.LFB4:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr x1, [x0]
ldr x0, [sp, 8]
ldr x0, [x0, 8]
cmp x1, x0
bne .L15
ldr x0, [sp, 8]
ldr x0, [x0]
cmp x0, 0
bne .L15
mov w0, 1
b .L16
.L15:
mov w0, 0
.L16:
and w0, w0, 1
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size myStackEmpty, .-myStackEmpty
.align 2
.global myStackFree
.type myStackFree, %function
myStackFree:
.LFB5:
.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
beq .L23
ldr x0, [sp, 24]
ldr x0, [x0]
str x0, [sp, 32]
b .L21
.L22:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x0, [sp, 32]
bl free
ldr x0, [sp, 40]
str x0, [sp, 32]
.L21:
ldr x0, [sp, 32]
cmp x0, 0
bne .L22
ldr x0, [sp, 24]
bl free
b .L18
.L23:
nop
.L18:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size myStackFree, .-myStackFree
.section .rodata
.align 3
.LC0:
.string "%d"
.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 myStackCreate
str x0, [sp, 24]
mov w1, 1
ldr x0, [sp, 24]
bl myStackPush
mov w1, 2
ldr x0, [sp, 24]
bl myStackPush
ldr x0, [sp, 24]
bl myStackTop
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x0, [sp, 24]
bl myStackPop
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x0, [sp, 24]
bl myStackEmpty
and w0, w0, 255
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x0, [sp, 24]
bl myStackFree
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global carray1
.bss
.align 3
.type carray1, %object
.size carray1, 40
carray1:
.zero 40
.global carray2
.align 3
.type carray2, %object
.size carray2, 400
carray2:
.zero 400
.global carray3
.align 3
.type carray3, %object
.size carray3, 4000
carray3:
.zero 4000
.global sorted1
.align 3
.type sorted1, %object
.size sorted1, 40
sorted1:
.zero 40
.global sorted2
.align 3
.type sorted2, %object
.size sorted2, 400
sorted2:
.zero 400
.global sorted3
.align 3
.type sorted3, %object
.size sorted3, 4000
sorted3:
.zero 4000
.global bst_array1
.align 3
.type bst_array1, %object
.size bst_array1, 200
bst_array1:
.zero 200
.global bst_array2
.align 3
.type bst_array2, %object
.size bst_array2, 4000000
bst_array2:
.zero 4000000
.global bst_array3
.align 3
.type bst_array3, %object
.size bst_array3, 200000000
bst_array3:
.zero 200000000
.global indeks
.align 2
.type indeks, %object
.size indeks, 4
indeks:
.zero 4
.global rfilename10
.data
.align 3
.type rfilename10, %object
.size rfilename10, 14
rfilename10:
.string "numbers10.txt"
.global rfilename100
.align 3
.type rfilename100, %object
.size rfilename100, 15
rfilename100:
.string "numbers100.txt"
.global rfilename1000
.align 3
.type rfilename1000, %object
.size rfilename1000, 16
rfilename1000:
.string "numbers1000.txt"
.global wfilename10
.align 3
.type wfilename10, %object
.size wfilename10, 19
wfilename10:
.string "numberSorted10.txt"
.global wfilename100
.align 3
.type wfilename100, %object
.size wfilename100, 20
wfilename100:
.string "numberSorted100.txt"
.global wfilename1000
.align 3
.type wfilename1000, %object
.size wfilename1000, 21
wfilename1000:
.string "numberSorted1000.txt"
.text
.align 2
.global root
.type root, %function
root:
.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 w0, [x0]
cmp w0, 0
beq .L2
mov w0, -1
b .L3
.L2:
ldr x0, [sp, 8]
ldr w1, [sp, 4]
str w1, [x0]
mov w0, 1
.L3:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size root, .-root
.align 2
.global set_right
.type set_right, %function
set_right:
.LFB7:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
str w2, [sp]
ldrsw x0, [sp]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
bne .L5
mov w0, -1
b .L6
.L5:
ldr w0, [sp]
lsl w0, w0, 1
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
bne .L7
ldr w0, [sp]
lsl w0, w0, 1
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [sp, 4]
str w1, [x0]
mov w0, 1
b .L6
.L7:
mov w0, -1
.L6:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size set_right, .-set_right
.align 2
.global set_left
.type set_left, %function
set_left:
.LFB8:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
str w2, [sp]
ldrsw x0, [sp]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
bne .L9
mov w0, -1
b .L10
.L9:
ldr w0, [sp]
lsl w0, w0, 1
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
bne .L11
ldr w0, [sp]
lsl w0, w0, 1
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [sp, 4]
str w1, [x0]
mov w0, 1
b .L10
.L11:
mov w0, -1
.L10:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size set_left, .-set_left
.align 2
.global constructBST
.type constructBST, %function
constructBST:
.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, 40]
str x1, [sp, 32]
str w2, [sp, 28]
str w3, [sp, 24]
str w4, [sp, 20]
ldr w1, [sp, 24]
ldr w0, [sp, 20]
cmp w1, w0
beq .L17
ldrsw x0, [sp, 20]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x2, [sp, 40]
add x0, x2, x0
ldr w0, [x0]
cmp w1, w0
bge .L14
ldrsw x0, [sp, 20]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
ldr w2, [sp, 28]
mov w1, w0
ldr x0, [sp, 40]
bl set_left
cmn w0, #1
beq .L15
ldrsw x0, [sp, 20]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
ldr w2, [sp, 28]
mov w1, w0
ldr x0, [sp, 40]
bl set_left
ldr w0, [sp, 20]
add w0, w0, 1
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl constructBST
b .L17
.L15:
ldr w0, [sp, 28]
lsl w0, w0, 1
add w0, w0, 1
ldr w4, [sp, 20]
ldr w3, [sp, 24]
mov w2, w0
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl constructBST
b .L17
.L14:
ldrsw x0, [sp, 20]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
ldr w2, [sp, 28]
mov w1, w0
ldr x0, [sp, 40]
bl set_right
cmn w0, #1
beq .L16
ldrsw x0, [sp, 20]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
ldr w2, [sp, 28]
mov w1, w0
ldr x0, [sp, 40]
bl set_right
ldr w0, [sp, 20]
add w0, w0, 1
mov w4, w0
ldr w3, [sp, 24]
mov w2, 0
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl constructBST
b .L17
.L16:
ldr w0, [sp, 28]
add w0, w0, 1
lsl w0, w0, 1
ldr w4, [sp, 20]
ldr w3, [sp, 24]
mov w2, w0
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl constructBST
.L17:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size constructBST, .-constructBST
.section .rodata
.align 3
.LC0:
.string "r"
.align 3
.LC1:
.string " "
.text
.align 2
.global file_read
.type file_read, %function
file_read:
.LFB10:
.cfi_startproc
sub x12, sp, #983040
.cfi_def_cfa 12, 983040
.LPSRL0:
sub sp, sp, 65536
str xzr, [sp, 1024]
cmp sp, x12
b.ne .LPSRL0
.cfi_def_cfa_register 31
mov x12, 17040
sub sp, sp, x12
.cfi_def_cfa_offset 1000080
stp x29, x30, [sp]
.cfi_offset 29, -1000080
.cfi_offset 30, -1000072
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x1, sp, 999424
ldr x2, [x0]
str x2, [x1, 648]
mov x2, 0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 24]
bl fopen
str x0, [sp, 64]
add x0, sp, 72
ldr x2, [sp, 64]
mov w1, 16960
movk w1, 0xf, lsl 16
bl fgets
ldr x0, [sp, 64]
bl fclose
add x2, sp, 72
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x2
bl strtok
str x0, [sp, 56]
str wzr, [sp, 48]
b .L19
.L20:
ldr w1, [sp, 48]
ldr w0, [sp, 36]
cmp w1, w0
beq .L19
ldr x0, [sp, 56]
bl atoi
str w0, [sp, 52]
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 52]
str w1, [x0]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, 0
bl strtok
str x0, [sp, 56]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L19:
ldr x0, [sp, 56]
cmp x0, 0
bne .L20
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x2, sp, 999424
ldr x3, [x2, 648]
ldr x1, [x0]
subs x3, x3, x1
mov x1, 0
beq .L21
bl __stack_chk_fail
.L21:
ldp x29, x30, [sp]
.cfi_restore 29
.cfi_restore 30
add sp, sp, 656
.cfi_def_cfa_offset 999424
add sp, sp, 999424
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size file_read, .-file_read
.section .rodata
.align 3
.LC2:
.string "w"
.align 3
.LC3:
.string "%d "
.text
.align 2
.global file_write
.type file_write, %function
file_write:
.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, 40]
str w1, [sp, 36]
str x2, [sp, 24]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
ldr x0, [sp, 24]
bl fopen
str x0, [sp, 56]
str wzr, [sp, 52]
b .L23
.L24:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 56]
bl fprintf
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L23:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L24
ldr x0, [sp, 56]
bl fclose
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size file_write, .-file_write
.align 2
.global inorderTraversel
.type inorderTraversel, %function
inorderTraversel:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
ldrsw x0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
beq .L28
ldr w0, [sp, 44]
lsl w0, w0, 1
add w0, w0, 1
ldr x2, [sp, 24]
ldr x1, [sp, 32]
bl inorderTraversel
ldrsw x0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x1, x1, x0
adrp x0, indeks
add x0, x0, :lo12:indeks
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 2
ldr x2, [sp, 24]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
adrp x0, indeks
add x0, x0, :lo12:indeks
ldr w0, [x0]
add w1, w0, 1
adrp x0, indeks
add x0, x0, :lo12:indeks
str w1, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
lsl w0, w0, 1
ldr x2, [sp, 24]
ldr x1, [sp, 32]
bl inorderTraversel
b .L25
.L28:
nop
.L25:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size inorderTraversel, .-inorderTraversel
.section .rodata
.align 3
.LC4:
.string "Sample size 10 and range is 0-10000 %lf seconds.\n"
.align 3
.LC5:
.string "Sample size 100 and range is 0-10000 %lf seconds.\n"
.align 3
.LC6:
.string "Sample size 1000 and range is 0-10000 %lf seconds.\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str xzr, [sp, 24]
str xzr, [sp, 32]
str xzr, [sp, 40]
str wzr, [sp, 16]
b .L30
.L38:
str wzr, [sp, 20]
b .L31
.L34:
ldr w0, [sp, 20]
cmp w0, 49
bgt .L32
adrp x0, bst_array1
add x0, x0, :lo12:bst_array1
ldrsw x1, [sp, 20]
str wzr, [x0, x1, lsl 2]
.L32:
ldr w1, [sp, 20]
mov w0, 16959
movk w0, 0xf, lsl 16
cmp w1, w0
bgt .L33
adrp x0, bst_array2
add x0, x0, :lo12:bst_array2
ldrsw x1, [sp, 20]
str wzr, [x0, x1, lsl 2]
.L33:
adrp x0, bst_array3
add x0, x0, :lo12:bst_array3
ldrsw x1, [sp, 20]
str wzr, [x0, x1, lsl 2]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L31:
ldr w1, [sp, 20]
mov w0, 61567
movk w0, 0x2fa, lsl 16
cmp w1, w0
ble .L34
adrp x0, rfilename10
add x2, x0, :lo12:rfilename10
mov w1, 10
adrp x0, carray1
add x0, x0, :lo12:carray1
bl file_read
adrp x0, rfilename100
add x2, x0, :lo12:rfilename100
mov w1, 100
adrp x0, carray2
add x0, x0, :lo12:carray2
bl file_read
adrp x0, rfilename1000
add x2, x0, :lo12:rfilename1000
mov w1, 1000
adrp x0, carray3
add x0, x0, :lo12:carray3
bl file_read
bl clock
str x0, [sp, 48]
adrp x0, carray1
add x0, x0, :lo12:carray1
ldr w0, [x0]
mov w1, w0
adrp x0, bst_array1
add x0, x0, :lo12:bst_array1
bl root
mov w4, 1
mov w3, 10
mov w2, 0
adrp x0, carray1
add x1, x0, :lo12:carray1
adrp x0, bst_array1
add x0, x0, :lo12:bst_array1
bl constructBST
bl clock
str x0, [sp, 56]
ldr w0, [sp, 16]
cmp w0, 0
bne .L35
adrp x0, sorted1
add x2, x0, :lo12:sorted1
adrp x0, bst_array1
add x1, x0, :lo12:bst_array1
mov w0, 0
bl inorderTraversel
adrp x0, indeks
add x0, x0, :lo12:indeks
str wzr, [x0]
adrp x0, wfilename10
add x2, x0, :lo12:wfilename10
mov w1, 10
adrp x0, sorted1
add x0, x0, :lo12:sorted1
bl file_write
.L35:
bl clock
str x0, [sp, 64]
adrp x0, carray2
add x0, x0, :lo12:carray2
ldr w0, [x0]
mov w1, w0
adrp x0, bst_array2
add x0, x0, :lo12:bst_array2
bl root
mov w4, 1
mov w3, 100
mov w2, 0
adrp x0, carray2
add x1, x0, :lo12:carray2
adrp x0, bst_array2
add x0, x0, :lo12:bst_array2
bl constructBST
bl clock
str x0, [sp, 72]
ldr w0, [sp, 16]
cmp w0, 0
bne .L36
adrp x0, sorted2
add x2, x0, :lo12:sorted2
adrp x0, bst_array2
add x1, x0, :lo12:bst_array2
mov w0, 0
bl inorderTraversel
adrp x0, indeks
add x0, x0, :lo12:indeks
str wzr, [x0]
adrp x0, wfilename100
add x2, x0, :lo12:wfilename100
mov w1, 100
adrp x0, sorted2
add x0, x0, :lo12:sorted2
bl file_write
.L36:
bl clock
str x0, [sp, 80]
adrp x0, carray3
add x0, x0, :lo12:carray3
ldr w0, [x0]
mov w1, w0
adrp x0, bst_array3
add x0, x0, :lo12:bst_array3
bl root
mov w4, 1
mov w3, 1000
mov w2, 0
adrp x0, carray3
add x1, x0, :lo12:carray3
adrp x0, bst_array3
add x0, x0, :lo12:bst_array3
bl constructBST
bl clock
str x0, [sp, 88]
ldr w0, [sp, 16]
cmp w0, 0
bne .L37
adrp x0, sorted3
add x2, x0, :lo12:sorted3
adrp x0, bst_array3
add x1, x0, :lo12:bst_array3
mov w0, 0
bl inorderTraversel
adrp x0, indeks
add x0, x0, :lo12:indeks
str wzr, [x0]
adrp x0, wfilename1000
add x2, x0, :lo12:wfilename1000
mov w1, 1000
adrp x0, sorted3
add x0, x0, :lo12:sorted3
bl file_write
.L37:
ldr x1, [sp, 56]
ldr x0, [sp, 48]
sub x0, x1, x0
fmov d0, x0
scvtf d0, d0
mov x0, 145685290680320
movk x0, 0x412e, lsl 48
fmov d1, x0
fdiv d0, d0, d1
ldr d1, [sp, 24]
fadd d0, d1, d0
str d0, [sp, 24]
ldr x1, [sp, 72]
ldr x0, [sp, 64]
sub x0, x1, x0
fmov d0, x0
scvtf d0, d0
mov x0, 145685290680320
movk x0, 0x412e, lsl 48
fmov d1, x0
fdiv d0, d0, d1
ldr d1, [sp, 32]
fadd d0, d1, d0
str d0, [sp, 32]
ldr x1, [sp, 88]
ldr x0, [sp, 80]
sub x0, x1, x0
fmov d0, x0
scvtf d0, d0
mov x0, 145685290680320
movk x0, 0x412e, lsl 48
fmov d1, x0
fdiv d0, d0, d1
ldr d1, [sp, 40]
fadd d0, d1, d0
str d0, [sp, 40]
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L30:
ldr w0, [sp, 16]
cmp w0, 99
ble .L38
mov x0, 4636737291354636288
fmov d1, x0
ldr d0, [sp, 24]
fdiv d0, d0, d1
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
mov x0, 4636737291354636288
fmov d1, x0
ldr d0, [sp, 32]
fdiv d0, d0, d1
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
mov x0, 4636737291354636288
fmov d1, x0
ldr d0, [sp, 40]
fdiv d0, d0, d1
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
mov w0, 0
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%c \n"
.align 3
.LC1:
.string "%d \n"
.align 3
.LC2:
.string "%f \n"
.align 3
.LC3:
.string "Letra %c, inteiro %d \n"
.align 3
.LC4:
.string "pause"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w0, 97
strb w0, [sp, 23]
mov w0, 10
str w0, [sp, 24]
fmov s0, 5.25e+0
str s0, [sp, 28]
ldrb w0, [sp, 23]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldrb w0, [sp, 23]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w1, [sp, 24]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr s0, [sp, 28]
fcvt d0, s0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldrb w0, [sp, 23]
ldr w2, [sp, 24]
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldrb w1, [sp, 23]
ldr w0, [sp, 24]
add w0, w0, 1
mov w2, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Hello World"
.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 puts
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
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%04d "
.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
str w0, [sp, 28]
str x1, [sp, 16]
mov w0, 8192
bl random_serial_number
str x0, [sp, 40]
str wzr, [sp, 36]
b .L2
.L4:
ldr w0, [sp, 36]
cmp w0, 0
beq .L3
ldr w0, [sp, 36]
and w0, w0, 7
cmp w0, 0
bne .L3
mov w0, 10
bl putchar
.L3:
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L2:
ldr w1, [sp, 36]
mov w0, 8191
cmp w1, w0
ble .L4
ldr x0, [sp, 40]
bl free
mov w0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.align 2
.global random_serial_number
.type random_serial_number, %function
random_serial_number:
.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 w0, [sp, 28]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
bl malloc
str x0, [sp, 56]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
mov x2, x0
mov w1, 0
ldr x0, [sp, 56]
bl memset
mov x0, 0
bl time
bl srand
str wzr, [sp, 40]
b .L7
.L12:
str wzr, [sp, 44]
bl rand
ldr w1, [sp, 28]
sdiv w2, w0, w1
ldr w1, [sp, 28]
mul w1, w2, w1
sub w0, w0, w1
add w0, w0, 1
str w0, [sp, 52]
str wzr, [sp, 48]
b .L8
.L11:
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 52]
cmp w1, w0
bne .L9
mov w0, 1
str w0, [sp, 44]
b .L10
.L9:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L8:
ldr w1, [sp, 48]
ldr w0, [sp, 40]
cmp w1, w0
blt .L11
.L10:
ldr w0, [sp, 44]
cmp w0, 0
bne .L12
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 52]
str w1, [x0]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L7:
ldr w1, [sp, 40]
ldr w0, [sp, 28]
cmp w1, w0
blt .L12
ldr x0, [sp, 56]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size random_serial_number, .-random_serial_number
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global __extenddftf2
.global __multf3
.global __divtf3
.global __addtf3
.global __trunctfdf2
.section .rodata
.align 3
.LC0:
.string "%.17g\n"
.text
.align 2
.global compute
.type compute, %function
compute:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str d0, [sp, 72]
str d1, [sp, 64]
str d2, [sp, 56]
str d3, [sp, 48]
ldr d0, [sp, 64]
adrp x0, .LC1
ldr d1, [x0, #:lo12:.LC1]
fadd d0, d0, d1
ldr d1, [sp, 72]
fcmpe d1, d0
bge .L4
b .L2
.L4:
adrp x0, .LC2
ldr d0, [x0, #:lo12:.LC2]
str d0, [sp, 80]
adrp x0, .LC3
ldr d0, [x0, #:lo12:.LC3]
str d0, [sp, 88]
ldr d0, [sp, 72]
bl __extenddftf2
str q0, [sp, 96]
ldr d0, [sp, 88]
bl __extenddftf2
str q0, [sp, 16]
ldr d0, [sp, 80]
bl __extenddftf2
mov v1.16b, v0.16b
ldr q0, [sp, 16]
bl __multf3
str q0, [sp, 16]
ldr d0, [sp, 56]
bl __extenddftf2
str q0, [sp, 32]
ldr d0, [sp, 48]
bl __extenddftf2
mov v1.16b, v0.16b
ldr q0, [sp, 32]
bl __divtf3
mov v1.16b, v0.16b
ldr q0, [sp, 16]
bl __addtf3
mov v1.16b, v0.16b
ldr q0, [sp, 96]
bl __addtf3
str q0, [sp, 96]
ldr q0, [sp, 96]
bl __trunctfdf2
str d0, [sp, 72]
.L2:
ldr d0, [sp, 72]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
nop
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size compute, .-compute
.align 2
.global initPointer
.type initPointer, %function
initPointer:
.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 d0, [sp, 24]
mov x0, 80
bl malloc
str x0, [sp, 40]
str wzr, [sp, 36]
b .L6
.L7:
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr d0, [sp, 24]
str d0, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L6:
ldr w0, [sp, 36]
cmp w0, 9
ble .L7
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size initPointer, .-initPointer
.align 2
.global main
.type main, %function
main:
.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]
str x1, [sp, 16]
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl atof
str d0, [sp, 32]
ldr x0, [sp, 16]
add x0, x0, 16
ldr x0, [x0]
bl atof
str d0, [sp, 40]
ldr x0, [sp, 16]
add x0, x0, 24
ldr x0, [x0]
bl atof
str d0, [sp, 48]
ldr x0, [sp, 16]
add x0, x0, 32
ldr x0, [x0]
bl atof
str d0, [sp, 56]
ldr d3, [sp, 56]
ldr d2, [sp, 48]
ldr d1, [sp, 40]
ldr d0, [sp, 32]
bl compute
mov w0, 0
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size main, .-main
.section .rodata
.align 3
.LC1:
.word -679949324
.word 742652012
.align 3
.LC2:
.word -800296036
.word 2138829921
.align 3
.LC3:
.word 2108662098
.word 693719575
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global nameOfPeripheral
.section .rodata
.align 3
.LC0:
.string "nanosense"
.section .data.rel.local,"aw"
.align 3
.type nameOfPeripheral, %object
.size nameOfPeripheral, 8
nameOfPeripheral:
.xword .LC0
.global uuidOfService
.section .rodata
.align 3
.LC1:
.string "00001101-0000-1000-8000-00805f9b34fb"
.section .data.rel.local
.align 3
.type uuidOfService, %object
.size uuidOfService, 8
uuidOfService:
.xword .LC1
.global uuidOfRxChar
.section .rodata
.align 3
.LC2:
.string "00001142-0000-1000-8000-00805f9b34fb"
.section .data.rel.local
.align 3
.type uuidOfRxChar, %object
.size uuidOfRxChar, 8
uuidOfRxChar:
.xword .LC2
.global uuidOfTxChar
.section .rodata
.align 3
.LC3:
.string "00001143-0000-1000-8000-00805f9b34fb"
.section .data.rel.local
.align 3
.type uuidOfTxChar, %object
.size uuidOfTxChar, 8
uuidOfTxChar:
.xword .LC3
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.type u_property_deprecated, %object
.size u_property_deprecated, 832
u_property_deprecated:
.word 15
.word 32
.word -1
.word -1
.word -1
.word -1
.word -1
.word -1
.word -1
.word -1
.word -1
.word -1
.word -1
.word -1
.word -1
.word 160
.hword -1
.hword 144
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword 160
.hword -1
.hword -1
.hword -1
.hword -1
.hword 176
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword 192
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.hword -1
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 3
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 8
.word 524288
.word 0
.word 0
.word 0
.word 0
.word 64512
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 2
.word -1
.word -1
.word -1
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global ar
.type ar, %function
ar:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
ldr s0, [sp, 12]
fcvt d0, s0
adrp x0, .LC0
ldr d1, [x0, #:lo12:.LC0]
fmul d1, d0, d1
ldr s0, [sp, 12]
fcvt d0, s0
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
.LFE0:
.size ar, .-ar
.align 2
.global area_rect
.type area_rect, %function
area_rect:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
str s1, [sp, 8]
ldr s1, [sp, 12]
ldr s0, [sp, 8]
fmul s0, s1, s0
str s0, [sp, 28]
ldr s0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size area_rect, .-area_rect
.align 2
.global perimeter_square
.type perimeter_square, %function
perimeter_square:
.LFB2:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
ldr w0, [sp, 12]
fmov s0, w0
shl v0.2s, v0.2s, 2
scvtf s0, s0
str s0, [sp, 28]
ldr s0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size perimeter_square, .-perimeter_square
.section .rodata
.align 3
.LC1:
.string "\n Enter the radius of the circle :"
.align 3
.LC2:
.string "%f"
.align 3
.LC3:
.string " \nthe area of the circle is :%f"
.align 3
.LC4:
.string "\nenter the length of the rectangle :"
.align 3
.LC5:
.string " enter the breadth of the rectangle :"
.align 3
.LC6:
.string " the area of the rectangle is :%f"
.align 3
.LC7:
.string " \nenter the side of the square :"
.align 3
.LC8:
.string " \nperimeter of the square is :%f"
.text
.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, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 28
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
ldr s0, [sp, 28]
bl ar
str s0, [sp, 44]
ldr s0, [sp, 44]
fcvt d0, s0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
add x0, sp, 32
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
add x0, sp, 36
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
ldr s0, [sp, 32]
ldr s1, [sp, 36]
bl area_rect
str s0, [sp, 48]
ldr s0, [sp, 48]
fcvt d0, s0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
add x0, sp, 40
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
ldr s0, [sp, 40]
fcvtzs w0, s0
bl perimeter_square
str s0, [sp, 52]
ldr s0, [sp, 52]
fcvt d0, s0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
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 .L9
bl __stack_chk_fail
.L9:
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
.LC0:
.word 1374389535
.word 1074339512
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "num: %lld\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -432]!
.cfi_def_cfa_offset 432
.cfi_offset 29, -432
.cfi_offset 30, -424
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 424]
mov x1, 0
add x0, sp, 24
bl readRules
add x0, sp, 24
bl DAY16_2
mov x1, x0
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, 424]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 432
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC1:
.string "r"
.align 3
.LC2:
.string "/Users/matteoblack/Desktop/AoC/AoC_16/AoC/AoC/nearby.txt"
.align 3
.LC3:
.string "%d,"
.align 3
.LC4:
.string "Inizializza Array a: %d"
.text
.align 2
.global DAY16_1
.type DAY16_1, %function
DAY16_1:
.LFB1:
.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, 56]
str wzr, [sp, 44]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl fopen
str x0, [sp, 64]
b .L5
.L11:
str wzr, [sp, 48]
str wzr, [sp, 52]
b .L6
.L10:
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w1, [x0, 4]
ldr w0, [sp, 40]
cmp w1, w0
bgt .L7
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w1, [x0, 12]
ldr w0, [sp, 40]
cmp w1, w0
bge .L8
.L7:
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w1, [x0, 8]
ldr w0, [sp, 40]
cmp w1, w0
bgt .L9
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w1, [x0, 16]
ldr w0, [sp, 40]
cmp w1, w0
blt .L9
.L8:
mov w0, 1
str w0, [sp, 48]
.L9:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L6:
ldr w0, [sp, 52]
cmp w0, 19
ble .L10
ldr w0, [sp, 48]
cmp w0, 0
bne .L5
ldr w0, [sp, 40]
sxtw x0, w0
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 56]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L5:
add x0, sp, 40
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 64]
bl __isoc99_fscanf
cmn w0, #1
bne .L11
ldr w1, [sp, 44]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x0, [sp, 56]
mov x1, x0
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 .L13
bl __stack_chk_fail
.L13:
mov x0, x1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size DAY16_1, .-DAY16_1
.section .rodata
.align 3
.LC5:
.string "/Users/matteoblack/Desktop/AoC/AoC_16/AoC/AoC/ticket.txt"
.text
.align 2
.global DAY16_2
.type DAY16_2, %function
DAY16_2:
.LFB2:
.cfi_startproc
mov x12, 15712
sub sp, sp, x12
.cfi_def_cfa_offset 15712
stp x29, x30, [sp]
.cfi_offset 29, -15712
.cfi_offset 30, -15704
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, 15704]
mov x1, 0
str wzr, [sp, 44]
str wzr, [sp, 52]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl fopen
str x0, [sp, 120]
b .L15
.L21:
str wzr, [sp, 52]
str wzr, [sp, 68]
b .L16
.L20:
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w1, [x0, 4]
ldr w0, [sp, 40]
cmp w1, w0
bgt .L17
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w1, [x0, 12]
ldr w0, [sp, 40]
cmp w1, w0
bge .L18
.L17:
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w1, [x0, 8]
ldr w0, [sp, 40]
cmp w1, w0
bgt .L19
ldrsw x1, [sp, 68]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w1, [x0, 16]
ldr w0, [sp, 40]
cmp w1, w0
blt .L19
.L18:
mov w0, 1
str w0, [sp, 52]
.L19:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L16:
ldr w0, [sp, 68]
cmp w0, 19
ble .L20
ldr w0, [sp, 52]
cmp w0, 0
bne .L15
ldr w2, [sp, 40]
ldrsw x0, [sp, 44]
lsl x0, x0, 2
add x1, sp, 296
str w2, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L15:
add x0, sp, 40
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 120]
bl __isoc99_fscanf
cmn w0, #1
bne .L21
str wzr, [sp, 44]
str wzr, [sp, 56]
str wzr, [sp, 64]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl fopen
str x0, [sp, 120]
b .L22
.L28:
ldr w0, [sp, 56]
cmp w0, 20
bne .L23
ldr w0, [sp, 64]
cmp w0, 0
bne .L24
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L24:
str wzr, [sp, 56]
str wzr, [sp, 64]
.L23:
str wzr, [sp, 72]
b .L25
.L27:
ldrsw x0, [sp, 72]
lsl x0, x0, 2
add x1, sp, 296
ldr w1, [x1, x0]
ldr w0, [sp, 40]
cmp w1, w0
bne .L26
mov w0, 1
str w0, [sp, 64]
.L26:
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L25:
ldr w0, [sp, 72]
cmp w0, 50
ble .L27
ldr w2, [sp, 40]
ldrsw x3, [sp, 56]
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x3
lsl x0, x0, 2
add x1, sp, 504
str w2, [x1, x0]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L22:
add x0, sp, 40
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 120]
bl __isoc99_fscanf
cmn w0, #1
bne .L28
adrp x0, .LC1
add x1, x0, :lo12:.LC1
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl fopen
str x0, [sp, 128]
str wzr, [sp, 44]
str wzr, [sp, 48]
b .L29
.L30:
ldr w2, [sp, 40]
ldrsw x0, [sp, 44]
lsl x0, x0, 2
add x1, sp, 216
str w2, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L29:
add x0, sp, 40
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 128]
bl __isoc99_fscanf
cmn w0, #1
bne .L30
str wzr, [sp, 76]
b .L31
.L32:
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 136
str wzr, [x1, x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L31:
ldr w0, [sp, 76]
cmp w0, 19
ble .L32
str wzr, [sp, 80]
b .L33
.L42:
str wzr, [sp, 48]
str wzr, [sp, 84]
b .L34
.L41:
str wzr, [sp, 48]
str wzr, [sp, 88]
b .L35
.L39:
ldrsw x1, [sp, 80]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w2, [x0, 4]
ldrsw x3, [sp, 84]
ldrsw x1, [sp, 88]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x3
lsl x0, x0, 2
add x1, sp, 504
ldr w0, [x1, x0]
cmp w2, w0
bgt .L36
ldrsw x1, [sp, 80]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w2, [x0, 12]
ldrsw x3, [sp, 84]
ldrsw x1, [sp, 88]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x3
lsl x0, x0, 2
add x1, sp, 504
ldr w0, [x1, x0]
cmp w2, w0
bge .L37
.L36:
ldrsw x1, [sp, 80]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w2, [x0, 8]
ldrsw x3, [sp, 84]
ldrsw x1, [sp, 88]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x3
lsl x0, x0, 2
add x1, sp, 504
ldr w0, [x1, x0]
cmp w2, w0
bgt .L38
ldrsw x1, [sp, 80]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w2, [x0, 16]
ldrsw x3, [sp, 84]
ldrsw x1, [sp, 88]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x3
lsl x0, x0, 2
add x1, sp, 504
ldr w0, [x1, x0]
cmp w2, w0
blt .L38
.L37:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L38:
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L35:
ldr w0, [sp, 88]
cmp w0, 189
ble .L39
ldr w0, [sp, 48]
cmp w0, 190
bne .L40
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 136
ldr w0, [x1, x0]
add w2, w0, 1
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 136
str w2, [x1, x0]
.L40:
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L34:
ldr w0, [sp, 84]
cmp w0, 19
ble .L41
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L33:
ldr w0, [sp, 80]
cmp w0, 19
ble .L42
str wzr, [sp, 92]
b .L43
.L44:
ldrsw x1, [sp, 92]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
mov w1, -1
str w1, [x0]
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L43:
ldr w0, [sp, 92]
cmp w0, 19
ble .L44
mov w0, 1
str w0, [sp, 60]
b .L45
.L57:
str wzr, [sp, 96]
b .L46
.L56:
ldrsw x0, [sp, 96]
lsl x0, x0, 2
add x1, sp, 136
ldr w0, [x1, x0]
ldr w1, [sp, 60]
cmp w1, w0
bne .L47
str wzr, [sp, 100]
b .L48
.L55:
str wzr, [sp, 48]
str wzr, [sp, 104]
b .L49
.L53:
ldrsw x1, [sp, 100]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w2, [x0, 4]
ldrsw x3, [sp, 96]
ldrsw x1, [sp, 104]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x3
lsl x0, x0, 2
add x1, sp, 504
ldr w0, [x1, x0]
cmp w2, w0
bgt .L50
ldrsw x1, [sp, 100]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w2, [x0, 12]
ldrsw x3, [sp, 96]
ldrsw x1, [sp, 104]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x3
lsl x0, x0, 2
add x1, sp, 504
ldr w0, [x1, x0]
cmp w2, w0
bge .L51
.L50:
ldrsw x1, [sp, 100]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w2, [x0, 8]
ldrsw x3, [sp, 96]
ldrsw x1, [sp, 104]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x3
lsl x0, x0, 2
add x1, sp, 504
ldr w0, [x1, x0]
cmp w2, w0
bgt .L52
ldrsw x1, [sp, 100]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w2, [x0, 16]
ldrsw x3, [sp, 96]
ldrsw x1, [sp, 104]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x3
lsl x0, x0, 2
add x1, sp, 504
ldr w0, [x1, x0]
cmp w2, w0
blt .L52
.L51:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L52:
ldr w0, [sp, 104]
add w0, w0, 1
str w0, [sp, 104]
.L49:
ldr w0, [sp, 104]
cmp w0, 189
ble .L53
ldr w0, [sp, 48]
cmp w0, 190
bne .L54
ldrsw x1, [sp, 100]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w0, [x0]
cmn w0, #1
bne .L54
ldrsw x1, [sp, 100]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w1, [sp, 96]
str w1, [x0]
.L54:
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
.L48:
ldr w0, [sp, 100]
cmp w0, 19
ble .L55
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L47:
ldr w0, [sp, 96]
add w0, w0, 1
str w0, [sp, 96]
.L46:
ldr w0, [sp, 96]
cmp w0, 19
ble .L56
.L45:
ldr w0, [sp, 60]
cmp w0, 21
bne .L57
mov x0, 1
str x0, [sp, 112]
str wzr, [sp, 108]
b .L58
.L59:
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 216
ldr w0, [x1, x0]
sxtw x0, w0
ldr x1, [sp, 112]
mul x0, x1, x0
str x0, [sp, 112]
ldr w0, [sp, 108]
add w0, w0, 1
str w0, [sp, 108]
.L58:
ldr w0, [sp, 108]
cmp w0, 5
ble .L59
ldr x0, [sp, 112]
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 15704]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L61
bl __stack_chk_fail
.L61:
mov x0, x1
ldp x29, x30, [sp]
mov x12, 15712
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size DAY16_2, .-DAY16_2
.section .rodata
.align 3
.LC6:
.string "/Users/matteoblack/Desktop/AoC/AoC_16/AoC/AoC/rules.txt"
.align 3
.LC7:
.string " %d-%d or %d-%d"
.align 3
.LC8:
.string "%c"
.text
.align 2
.global readRules
.type readRules, %function
readRules:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str 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
str wzr, [sp, 44]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl fopen
str x0, [sp, 48]
b .L63
.L64:
ldrb w0, [sp, 43]
cmp w0, 58
bne .L63
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
add x2, x0, 4
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
add x3, x0, 12
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
add x4, x0, 8
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 2
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
add x0, x0, 16
mov x5, x0
adrp x0, .LC7
add x1, x0, :lo12:.LC7
ldr x0, [sp, 48]
bl __isoc99_fscanf
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L63:
add x0, sp, 43
mov x2, x0
adrp x0, .LC8
add x1, x0, :lo12:.LC8
ldr x0, [sp, 48]
bl __isoc99_fscanf
cmn w0, #1
bne .L64
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 .L65
bl __stack_chk_fail
.L65:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size readRules, .-readRules
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.type critical_freq, %object
.size critical_freq, 56
critical_freq:
.hword 100
.hword 200
.hword 300
.hword 400
.hword 510
.hword 630
.hword 770
.hword 920
.hword 1080
.hword 1270
.hword 1480
.hword 1720
.hword 2000
.hword 2320
.hword 2700
.hword 3150
.hword 3700
.hword 4400
.hword 5300
.hword 6400
.hword 7700
.hword 9500
.hword 12000
.hword 15500
.hword 20675
.hword 28575
.hword -24161
.hword -1661
.align 3
.type scale_huffcodes, %object
.size scale_huffcodes, 242
scale_huffcodes:
.hword -6599
.hword -6462
.hword -6463
.hword -6464
.hword -6593
.hword -6594
.hword -6595
.hword -6596
.hword -6597
.hword -6598
.hword -6600
.hword -6601
.hword -6602
.hword -6603
.hword -6604
.hword -6606
.hword -6605
.hword -6624
.hword 29563
.hword -6640
.hword -6639
.hword -6638
.hword -6637
.hword -6636
.hword -6635
.hword -6634
.hword -6633
.hword -6632
.hword -6631
.hword -6630
.hword -6629
.hword -6628
.hword -6627
.hword -6626
.hword -6625
.hword -6461
.hword -6623
.hword -6622
.hword -6621
.hword -6620
.hword -6619
.hword -6618
.hword -6617
.hword -6616
.hword -6615
.hword -6614
.hword -6613
.hword -6612
.hword -6611
.hword -6610
.hword -6609
.hword -6608
.hword -6607
.hword 7391
.hword 3680
.hword 921
.hword 231
.hword 29
.hword 0
.hword 1
.hword 1
.hword 1
.hword 2
.hword 6
.hword 2
.hword 7
.hword 6
.hword 15
.hword 56
.hword 114
.hword 922
.hword -6460
.hword -6459
.hword -6458
.hword -6457
.hword -6456
.hword -6455
.hword -6454
.hword -6453
.hword -6452
.hword -6451
.hword -6450
.hword -6449
.hword -6448
.hword -6447
.hword -6446
.hword -6445
.hword -6444
.hword -6443
.hword -6442
.hword -6441
.hword -6440
.hword -6439
.hword -6438
.hword -6437
.hword -6436
.hword -6435
.hword -6434
.hword -6433
.hword -6432
.hword -6431
.hword -6430
.hword -6429
.hword -6428
.hword -6427
.hword -6426
.hword -6425
.hword -6424
.hword -6423
.hword -6422
.hword -6421
.hword -6420
.hword -6419
.hword -6418
.hword -6417
.hword -6416
.hword -6415
.hword -6414
.hword -6413
.hword -6412
.hword -6411
.align 3
.type scale_huffbits, %object
.size scale_huffbits, 121
scale_huffbits:
.ascii "\023\023\023\023\023\023\023\023\023\023\023\023\023\023\023"
.ascii "\023\023\023\022\023\023\023\023\023\023\023\023\023\023\023"
.ascii "\023\023\023\023\023\023\023\023\023\023\023\023\023\023\023"
.ascii "\023\023\023\023\023\023\023\023\020\017\r\013\b\005\002\001"
.ascii "\003\005\006\006\007\007\007\t\n\r\023\023\023\023\023\023\023"
.ascii "\023\023\023\023\023\023\023\023\023\023\023\023\023\023\023"
.ascii "\023\023\023\023\023\023\023\023\023\023\023\023\023\023\023"
.ascii "\023\023\023\023\023\023\023\023\023\023\023\023\023"
.align 3
.type scale_rl_huffcodes, %object
.size scale_rl_huffcodes, 480
scale_rl_huffcodes:
.word 268
.word 1
.word 1113642
.word 3
.word 3
.word 1
.word 19
.word 32
.word 41
.word 20
.word 22
.word 69
.word 73
.word 47
.word 66
.word 142
.word 143
.word 297
.word 9
.word 13
.word 1196
.word 44
.word 1377
.word 742
.word 2172
.word 738
.word 2396
.word 24
.word 1
.word 22
.word 68
.word 42
.word 7
.word 345
.word 323
.word 296
.word 346
.word 301
.word 43
.word 160
.word 322
.word 298
.word 751
.word 1199
.word 2173
.word 19177
.word 17401
.word 103
.word 409
.word 11013
.word 5507
.word 8702
.word 1113644
.word 4
.word 46
.word 269
.word 10
.word 580
.word 23
.word 581
.word 17
.word 270
.word 300
.word 42
.word 47
.word 289
.word 70
.word 2174
.word 186
.word 50
.word 34800
.word 22236
.word 748
.word 17402
.word 11119
.word 19176
.word 695
.word 1113643
.word 1
.word 81
.word 16
.word 750
.word 2972
.word 9590
.word 408
.word 22237
.word 205
.word 2752
.word 368
.word 19183
.word 45
.word 1197
.word 8703
.word 1487
.word 11012
.word 1113641
.word 1113640
.word 749
.word 11892
.word 139204
.word 19182
.word 69603
.word 556823
.word 0
.word 151
.word 739
.word 2778
.word 9589
.word 5947
.word 17403
.word 11893
.word 1113645
.word 5558
.word 1388
.word 87
.word 291
.word 288
.word 542
.word 370
.word 689
.align 3
.type scale_rl_huffbits, %object
.size scale_rl_huffbits, 120
scale_rl_huffbits:
.ascii "\t\002\025\002\004\005\005\006\006\007\007\007\007\006\007\b"
.ascii "\b\t\n\n\013\f\013\f\f\f\f\013\004\005\007\b\t\t\t\t\t\t\b\b"
.ascii "\t\t\f\013\f\017\017\r\017\016\r\016\025\005\006\t\n\n\013\n"
.ascii "\013\t\t\006\b\t\007\f\n\f\020\017\f\017\016\017\n\025\006\007"
.ascii "\013\f\016\016\017\017\016\f\013\017\f\013\016\r\016\025\025"
.ascii "\f\020\022\017\021\024\007\b\f\f\016\017\017\020\025\r\013\007"
.ascii "\t\t\n\013\n"
.align 3
.type scale_rl_run, %object
.size scale_rl_run, 120
scale_rl_run:
.string ""
.string ""
.string ""
.string ""
.string "\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030"
.string "\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030"
.string "\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030"
.string "\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030"
.string "\001\002\003\004\005\006\007\b\t\n"
.string "\001"
.string "\001"
.ascii "\001"
.align 3
.type scale_rl_level, %object
.size scale_rl_level, 120
scale_rl_level:
.string ""
.string ""
.ascii "\001\002\002\002\002\002\002\002\002\002\002\002\002\002\002"
.ascii "\002\002\002\002\002\002\002\002\002\002\002\003\003\003\003"
.ascii "\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003"
.ascii "\003\003\003\003\003\003\004\004\004\004\004\004\004\004\004"
.ascii "\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004"
.ascii "\004\005\005\005\005\005\005\005\005\005\005\005\005\005\005"
.ascii "\005\005\005\005\005\005\005\005\005\005\005\006\006\006\006"
.ascii "\006\006\006\006\006\006\006\007\007\b\b\t\t"
.align 3
.type coef0_huffcodes, %object
.size coef0_huffcodes, 1088
coef0_huffcodes:
.word 74
.word 43
.word 0
.word 3
.word 6
.word 9
.word 15
.word 16
.word 22
.word 17
.word 22
.word 40
.word 47
.word 38
.word 41
.word 69
.word 85
.word 93
.word 66
.word 78
.word 81
.word 94
.word 141
.word 168
.word 173
.word 128
.word 150
.word 159
.word 170
.word 190
.word 284
.word 339
.word 344
.word 368
.word 260
.word 269
.word 261
.word 259
.word 303
.word 375
.word 373
.word 343
.word 372
.word 549
.word 571
.word 525
.word 543
.word 641
.word 635
.word 642
.word 684
.word 765
.word 1103
.word 1144
.word 1101
.word 748
.word 1102
.word 1380
.word 1033
.word 1035
.word 1281
.word 1349
.word 1267
.word 1345
.word 1083
.word 1265
.word 1268
.word 2301
.word 2708
.word 2065
.word 2952
.word 2961
.word 2963
.word 2282
.word 2201
.word 2954
.word 2418
.word 2533
.word 2703
.word 2692
.word 2702
.word 2560
.word 2096
.word 2280
.word 2965
.word 2161
.word 2106
.word 2068
.word 2163
.word 3070
.word 5928
.word 5525
.word 5906
.word 4138
.word 4129
.word 5929
.word 5422
.word 5059
.word 5921
.word 5527
.word 5403
.word 4338
.word 5123
.word 5891
.word 5379
.word 5896
.word 5057
.word 5902
.word 5900
.word 4321
.word 4586
.word 4128
.word 5376
.word 6138
.word 5892
.word 5893
.word 6128
.word 6139
.word 8678
.word 11053
.word 8390
.word 11049
.word 11850
.word 9132
.word 5401
.word 9203
.word 11052
.word 8640
.word 6142
.word 9175
.word 6137
.word 4839
.word 5056
.word 8801
.word 9171
.word 8279
.word 8278
.word 8658
.word 8391
.word 9170
.word 8428
.word 17600
.word 12258
.word 18267
.word 10755
.word 12259
.word 8674
.word 8656
.word 10801
.word 11795
.word 11781
.word 18405
.word 14
.word 36
.word 136
.word 185
.word 268
.word 548
.word 691
.word 643
.word 749
.word 1147
.word 1054
.word 1085
.word 1269
.word 1533
.word 2706
.word 2966
.word 2104
.word 2417
.word 2947
.word 2944
.word 3065
.word 4563
.word 4584
.word 4567
.word 5415
.word 4600
.word 4211
.word 4336
.word 4324
.word 6136
.word 4194
.word 5122
.word 6115
.word 5402
.word 4215
.word 5419
.word 5901
.word 8659
.word 11841
.word 5058
.word 41
.word 169
.word 605
.word 1049
.word 1348
.word 2955
.word 2532
.word 4562
.word 5414
.word 5924
.word 4838
.word 5387
.word 6143
.word 11814
.word 11851
.word 11048
.word 8675
.word 10772
.word 18266
.word 11794
.word 87
.word 574
.word 2704
.word 3056
.word 4210
.word 5378
.word 9174
.word 8429
.word 10800
.word 17607
.word 140
.word 1151
.word 5418
.word 8802
.word 11780
.word 161
.word 1529
.word 371
.word 2165
.word 369
.word 5421
.word 739
.word 6114
.word 685
.word 8641
.word 1145
.word 8679
.word 1055
.word 23630
.word 1347
.word 23631
.word 2705
.word 35213
.word 2967
.word 34630
.word 2416
.word 34629
.word 2949
.word 43094
.word 5423
.word 69262
.word 4325
.word 43095
.word 5903
.word 138513
.word 10840
.word 69263
.word 11840
.word 138515
.word 10841
.word 277029
.word 10754
.word 277025
.word 17601
.word 554056
.word 18404
.word 277024
.word 21546
.word 554057
.word 35212
.align 3
.type coef0_huffbits, %object
.size coef0_huffbits, 272
coef0_huffbits:
.ascii "\b\007\002\003\003\004\004\005\005\006\006\006\006\007\007\007"
.ascii "\007\007\b\b\b\b\b\b\b\t\t\t\t\t\t\t\t\t\n\n\n\n\n\n\n\n\n\n"
.ascii "\n\013\013\013\013\013\013\013\013\013\013\013\013\013\f\f\f"
.ascii "\f\f\f\f\f\f\f\f\r\f\f\f\f\f\f\r\r\r\r\r\r\r\f\f\r\r\r\r\r\r"
.ascii "\r\r\016\016\r\r\016\r\r\016\016\016\016\016\016\016\016\016"
.ascii "\016\r\016\016\016\016\016\016\016\017\016\017\016\016\016\016"
.ascii "\016\016\017\016\016\016\016\016\016\016\017\017\017\017\016"
.ascii "\017\017\017\017\017\017\017\017\017\017\017\017\004\007\b\t"
.ascii "\n\n\n\013\013\013\f\f\f\f\f\f\r\r\r\r\r\r\r\r\r\r\016\016\016"
.ascii "\016\016\016\016\016\016\r\016\017\016\016\006\t\013\f\f\f\r"
.ascii "\r\r\r\016\016\016\016\016\016\017\017\017\017\007\n\f\r\016"
.ascii "\016\016\017\017\017\b\013\r\016\017\t\f\t\r\n\r\n\016\013\017"
.ascii "\013\017\f\017\f\017\f\020\f\021\r\021\r\021\r\022\016\021\016"
.ascii "\023\016\022\016\023\016\024\017\024\017\025\017\024\020\025"
.ascii "\020"
.align 3
.type coef1_huffcodes, %object
.size coef1_huffcodes, 976
coef1_huffcodes:
.word 482
.word 127
.word 0
.word 2
.word 8
.word 14
.word 25
.word 47
.word 55
.word 96
.word 108
.word 149
.word 198
.word 240
.word 302
.word 393
.word 421
.word 504
.word 595
.word 778
.word 836
.word 845
.word 1010
.word 1213
.word 1495
.word 1578
.word 1675
.word 1683
.word 1943
.word 2429
.word 2987
.word 3154
.word 3166
.word 3361
.word 3360
.word 3866
.word 4046
.word 4049
.word 4849
.word 5977
.word 6316
.word 6311
.word 6335
.word 6699
.word 7762
.word 7760
.word 7729
.word 8120
.word 9702
.word 9703
.word 11956
.word 11959
.word 12649
.word 12635
.word 12668
.word 12652
.word 13514
.word 13453
.word 16192
.word 15522
.word 16246
.word 19395
.word 19429
.word 16243
.word 19448
.word 19449
.word 24881
.word 25227
.word 25225
.word 25306
.word 25226
.word 25300
.word 27031
.word 25268
.word 26904
.word 31053
.word 32379
.word 32391
.word 32490
.word 31054
.word 27037
.word 31079
.word 27039
.word 25307
.word 32378
.word 32491
.word 47808
.word 38857
.word 50487
.word 50603
.word 53811
.word 54072
.word 47809
.word 53821
.word 77713
.word 54073
.word 64968
.word 53820
.word 64988
.word 64969
.word 64989
.word 54076
.word 3
.word 22
.word 62
.word 195
.word 417
.word 839
.word 1582
.word 2986
.word 3885
.word 6698
.word 7768
.word 12443
.word 15523
.word 23914
.word 25242
.word 27030
.word 31055
.word 32485
.word 47831
.word 50602
.word 50676
.word 64991
.word 64990
.word 100896
.word 100973
.word 108155
.word 107620
.word 155425
.word 129506
.word 129507
.word 10
.word 61
.word 296
.word 967
.word 3108
.word 6307
.word 11953
.word 15538
.word 26911
.word 32377
.word 19
.word 187
.word 846
.word 3348
.word 9725
.word 19431
.word 36
.word 392
.word 2031
.word 53
.word 776
.word 4850
.word 92
.word 1014
.word 9696
.word 109
.word 1688
.word 150
.word 3109
.word 199
.word 3867
.word 243
.word 4863
.word 372
.word 6758
.word 416
.word 12441
.word 484
.word 12651
.word 594
.word 16177
.word 779
.word 19430
.word 838
.word 25339
.word 847
.word 31078
.word 1013
.word 32390
.word 1492
.word 50449
.word 1580
.word 50677
.word 1682
.word 62105
.word 1941
.word 62104
.word 2025
.word 100897
.word 2430
.word 95661
.word 3111
.word 108154
.word 3159
.word 191321
.word 3362
.word 201945
.word 3865
.word 259010
.word 4045
.word 215243
.word 4856
.word 310849
.word 6304
.word 259009
.word 6305
.word 310848
.word 6327
.word 403888
.word 6756
.word 860969
.word 7728
.word 259011
.word 8095
.word 765282
.word 8089
.word 1036032
.word 12442
.word 403889
.word 11958
.word 1530563
.word 12620
.word 430485
.word 12648
.word 765283
.word 13454
.word 1530561
.word 16176
.word 518017
.word 16193
.word 860968
.word 16194
.word 2072067
.word 19394
.word 1530562
.word 16244
.word 1530560
.word 23905
.word 4144133
.word 24880
.word 4144132
.word 25269
.align 3
.type coef1_huffbits, %object
.size coef1_huffbits, 244
coef1_huffbits:
.ascii "\t\007\002\003\004\004\005\006\006\007\007\b\b\b\t\t\t\t\n\n"
.ascii "\n\n\n\013\013\013\013\013\013\f\f\f\f\f\f\f\f\f\r\r\r\r\r\r"
.ascii "\r\r\r\r\016\016\016\016\016\016\016\016\016\016\016\016\016"
.ascii "\017\017\016\017\017\017\017\017\017\017\017\017\017\017\017"
.ascii "\017\017\017\017\017\017\017\017\017\017\020\020\020\020\020"
.ascii "\020\020\020\021\020\020\020\020\020\020\020\003\005\006\b\t"
.ascii "\n\013\f\f\r\r\016\016\017\017\017\017\017\020\020\020\020\020"
.ascii "\021\021\021\021\022\021\021\004\006\t\n\f\r\016\016\017\017"
.ascii "\005\b\n\f\016\017\006\t\013\006\n\r\007\n\016\007\013\b\f\b"
.ascii "\f\b\r\t\r\t\016\t\016\n\016\n\017\n\017\n\017\n\017\013\020"
.ascii "\013\020\013\020\013\020\013\021\f\021\f\021\f\022\f\022\f\022"
.ascii "\f\022\r\023\r\022\r\023\r\023\r\024\r\022\r\024\r\024\016\023"
.ascii "\016\025\016\023\016\024\016\025\016\023\016\024\016\025\017"
.ascii "\025\016\025\017\026\017\026\017"
.align 3
.type coef0_run, %object
.size coef0_run, 544
coef0_run:
.hword 0
.hword 0
.hword 0
.hword 1
.hword 2
.hword 3
.hword 4
.hword 5
.hword 6
.hword 7
.hword 8
.hword 9
.hword 10
.hword 11
.hword 12
.hword 13
.hword 14
.hword 15
.hword 16
.hword 17
.hword 18
.hword 19
.hword 20
.hword 21
.hword 22
.hword 23
.hword 24
.hword 25
.hword 26
.hword 27
.hword 28
.hword 29
.hword 30
.hword 31
.hword 32
.hword 33
.hword 34
.hword 35
.hword 36
.hword 37
.hword 38
.hword 39
.hword 40
.hword 41
.hword 42
.hword 43
.hword 44
.hword 45
.hword 46
.hword 47
.hword 48
.hword 49
.hword 50
.hword 51
.hword 52
.hword 53
.hword 54
.hword 55
.hword 56
.hword 57
.hword 58
.hword 59
.hword 60
.hword 61
.hword 62
.hword 63
.hword 64
.hword 65
.hword 66
.hword 67
.hword 68
.hword 69
.hword 70
.hword 71
.hword 72
.hword 73
.hword 74
.hword 75
.hword 76
.hword 77
.hword 78
.hword 79
.hword 80
.hword 81
.hword 82
.hword 83
.hword 84
.hword 85
.hword 86
.hword 87
.hword 88
.hword 89
.hword 90
.hword 91
.hword 92
.hword 93
.hword 94
.hword 95
.hword 96
.hword 97
.hword 98
.hword 99
.hword 100
.hword 101
.hword 102
.hword 103
.hword 104
.hword 105
.hword 106
.hword 107
.hword 108
.hword 109
.hword 110
.hword 111
.hword 112
.hword 113
.hword 114
.hword 115
.hword 116
.hword 117
.hword 118
.hword 119
.hword 120
.hword 121
.hword 122
.hword 123
.hword 124
.hword 125
.hword 126
.hword 127
.hword 128
.hword 129
.hword 130
.hword 131
.hword 132
.hword 133
.hword 134
.hword 135
.hword 136
.hword 137
.hword 138
.hword 139
.hword 140
.hword 141
.hword 142
.hword 143
.hword 144
.hword 145
.hword 146
.hword 147
.hword 148
.hword 149
.hword 0
.hword 1
.hword 2
.hword 3
.hword 4
.hword 5
.hword 6
.hword 7
.hword 8
.hword 9
.hword 10
.hword 11
.hword 12
.hword 13
.hword 14
.hword 15
.hword 16
.hword 17
.hword 18
.hword 19
.hword 20
.hword 21
.hword 22
.hword 23
.hword 24
.hword 25
.hword 26
.hword 27
.hword 28
.hword 29
.hword 30
.hword 31
.hword 32
.hword 33
.hword 34
.hword 35
.hword 36
.hword 37
.hword 38
.hword 39
.hword 0
.hword 1
.hword 2
.hword 3
.hword 4
.hword 5
.hword 6
.hword 7
.hword 8
.hword 9
.hword 10
.hword 11
.hword 12
.hword 13
.hword 14
.hword 15
.hword 16
.hword 17
.hword 18
.hword 19
.hword 0
.hword 1
.hword 2
.hword 3
.hword 4
.hword 5
.hword 6
.hword 7
.hword 8
.hword 9
.hword 0
.hword 1
.hword 2
.hword 3
.hword 4
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.align 3
.type coef0_level, %object
.size coef0_level, 1088
coef0_level:
.word 0
.word 0
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1082130432
.word 1082130432
.word 1082130432
.word 1082130432
.word 1082130432
.word 1082130432
.word 1082130432
.word 1082130432
.word 1082130432
.word 1082130432
.word 1084227584
.word 1084227584
.word 1084227584
.word 1084227584
.word 1084227584
.word 1086324736
.word 1086324736
.word 1088421888
.word 1088421888
.word 1090519040
.word 1090519040
.word 1091567616
.word 1091567616
.word 1092616192
.word 1092616192
.word 1093664768
.word 1093664768
.word 1094713344
.word 1094713344
.word 1095761920
.word 1095761920
.word 1096810496
.word 1096810496
.word 1097859072
.word 1097859072
.word 1098907648
.word 1098907648
.word 1099431936
.word 1099431936
.word 1099956224
.word 1099956224
.word 1100480512
.word 1100480512
.word 1101004800
.word 1101004800
.word 1101529088
.word 1101529088
.word 1102053376
.word 1102053376
.word 1102577664
.word 1102577664
.word 1103101952
.word 1103101952
.word 1103626240
.word 1103626240
.word 1104150528
.word 1104150528
.word 1104674816
.word 1104674816
.word 1105199104
.align 3
.type coef1_run, %object
.size coef1_run, 488
coef1_run:
.hword 0
.hword 0
.hword 0
.hword 1
.hword 2
.hword 3
.hword 4
.hword 5
.hword 6
.hword 7
.hword 8
.hword 9
.hword 10
.hword 11
.hword 12
.hword 13
.hword 14
.hword 15
.hword 16
.hword 17
.hword 18
.hword 19
.hword 20
.hword 21
.hword 22
.hword 23
.hword 24
.hword 25
.hword 26
.hword 27
.hword 28
.hword 29
.hword 30
.hword 31
.hword 32
.hword 33
.hword 34
.hword 35
.hword 36
.hword 37
.hword 38
.hword 39
.hword 40
.hword 41
.hword 42
.hword 43
.hword 44
.hword 45
.hword 46
.hword 47
.hword 48
.hword 49
.hword 50
.hword 51
.hword 52
.hword 53
.hword 54
.hword 55
.hword 56
.hword 57
.hword 58
.hword 59
.hword 60
.hword 61
.hword 62
.hword 63
.hword 64
.hword 65
.hword 66
.hword 67
.hword 68
.hword 69
.hword 70
.hword 71
.hword 72
.hword 73
.hword 74
.hword 75
.hword 76
.hword 77
.hword 78
.hword 79
.hword 80
.hword 81
.hword 82
.hword 83
.hword 84
.hword 85
.hword 86
.hword 87
.hword 88
.hword 89
.hword 90
.hword 91
.hword 92
.hword 93
.hword 94
.hword 95
.hword 96
.hword 97
.hword 98
.hword 99
.hword 0
.hword 1
.hword 2
.hword 3
.hword 4
.hword 5
.hword 6
.hword 7
.hword 8
.hword 9
.hword 10
.hword 11
.hword 12
.hword 13
.hword 14
.hword 15
.hword 16
.hword 17
.hword 18
.hword 19
.hword 20
.hword 21
.hword 22
.hword 23
.hword 24
.hword 25
.hword 26
.hword 27
.hword 28
.hword 29
.hword 0
.hword 1
.hword 2
.hword 3
.hword 4
.hword 5
.hword 6
.hword 7
.hword 8
.hword 9
.hword 0
.hword 1
.hword 2
.hword 3
.hword 4
.hword 5
.hword 0
.hword 1
.hword 2
.hword 0
.hword 1
.hword 2
.hword 0
.hword 1
.hword 2
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 1
.hword 0
.hword 0
.hword 0
.align 3
.type coef1_level, %object
.size coef1_level, 976
coef1_level:
.word 0
.word 0
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1065353216
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1073741824
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1077936128
.word 1082130432
.word 1082130432
.word 1082130432
.word 1082130432
.word 1082130432
.word 1082130432
.word 1084227584
.word 1084227584
.word 1084227584
.word 1086324736
.word 1086324736
.word 1086324736
.word 1088421888
.word 1088421888
.word 1088421888
.word 1090519040
.word 1090519040
.word 1091567616
.word 1091567616
.word 1092616192
.word 1092616192
.word 1093664768
.word 1093664768
.word 1094713344
.word 1094713344
.word 1095761920
.word 1095761920
.word 1096810496
.word 1096810496
.word 1097859072
.word 1097859072
.word 1098907648
.word 1098907648
.word 1099431936
.word 1099431936
.word 1099956224
.word 1099956224
.word 1100480512
.word 1100480512
.word 1101004800
.word 1101004800
.word 1101529088
.word 1101529088
.word 1102053376
.word 1102053376
.word 1102577664
.word 1102577664
.word 1103101952
.word 1103101952
.word 1103626240
.word 1103626240
.word 1104150528
.word 1104150528
.word 1104674816
.word 1104674816
.word 1105199104
.word 1105199104
.word 1105723392
.word 1105723392
.word 1106247680
.word 1106247680
.word 1106771968
.word 1106771968
.word 1107296256
.word 1107296256
.word 1107558400
.word 1107558400
.word 1107820544
.word 1107820544
.word 1108082688
.word 1108082688
.word 1108344832
.word 1108344832
.word 1108606976
.word 1108606976
.word 1108869120
.word 1108869120
.word 1109131264
.word 1109131264
.word 1109393408
.word 1109393408
.word 1109655552
.word 1109655552
.word 1109917696
.word 1109917696
.word 1110179840
.word 1110179840
.word 1110441984
.word 1110441984
.word 1110704128
.word 1110704128
.word 1110966272
.word 1110966272
.word 1111228416
.word 1111228416
.word 1111490560
.word 1111490560
.word 1111752704
.word 1111752704
.word 1112014848
.word 1112276992
.word 1112539136
.align 3
.type vec4_huffcodes, %object
.size vec4_huffcodes, 254
vec4_huffcodes:
.hword 25
.hword 39
.hword 242
.hword 954
.hword 2352
.hword 4711
.hword 49
.hword 48
.hword 151
.hword 545
.hword 1419
.hword 292
.hword 235
.hword 468
.hword 984
.hword 1412
.hword 868
.hword 1119
.hword 3942
.hword 2353
.hword 9421
.hword 47
.hword 57
.hword 232
.hword 707
.hword 1930
.hword 55
.hword 41
.hword 132
.hword 433
.hword 237
.hword 134
.hword 249
.hword 939
.hword 491
.hword 2236
.hword 286
.hword 243
.hword 544
.hword 1418
.hword 236
.hword 142
.hword 299
.hword 490
.hword 281
.hword 1200
.hword 1201
.hword 952
.hword 1681
.hword 869
.hword 493
.hword 1178
.hword 3753
.hword 3752
.hword 2237
.hword 9420
.hword 38
.hword 53
.hword 219
.hword 708
.hword 1970
.hword 56
.hword 43
.hword 127
.hword 435
.hword 244
.hword 145
.hword 278
.hword 955
.hword 533
.hword 2354
.hword 45
.hword 42
.hword 138
.hword 478
.hword 40
.hword 32
.hword 92
.hword 144
.hword 104
.hword 494
.hword 233
.hword 141
.hword 298
.hword 135
.hword 93
.hword 280
.hword 841
.hword 495
.hword 483
.hword 2233
.hword 240
.hword 211
.hword 532
.hword 1179
.hword 218
.hword 137
.hword 293
.hword 535
.hword 301
.hword 1680
.hword 148
.hword 125
.hword 287
.hword 126
.hword 89
.hword 295
.hword 421
.hword 273
.hword 248
.hword 1117
.hword 953
.hword 601
.hword 1408
.hword 705
.hword 479
.hword 1413
.hword 534
.hword 355
.hword 432
.hword 964
.hword 2232
.hword 1931
.hword 1877
.hword 1409
.hword 3943
.hword 0
.align 3
.type vec4_huffbits, %object
.size vec4_huffbits, 127
vec4_huffbits:
.ascii "\005\006\b\n\f\r\006\006\b\n\013\t\b\t\n\013\n\013\f\f\016\006"
.ascii "\006\b\n\013\006\006\b\t\b\b\b\n\t\f\t\b\n\013\b\b\t\t\t\013"
.ascii "\013\n\013\n\t\013\f\f\f\016\006\006\b\n\013\006\006\007\t\b"
.ascii "\b\t\n\n\f\006\006\b\t\006\006\007\b\007\t\b\b\t\b\007\t\n\t"
.ascii "\t\f\b\b\n\013\b\b\t\n\t\013\b\007\t\007\007\t\t\t\b\013\n\n"
.ascii "\013\n\t\013\n\t\t\n\f\013\013\013\f\001"
.align 3
.type vec2_huffcodes, %object
.size vec2_huffcodes, 274
vec2_huffcodes:
.hword 85
.hword 28
.hword 26
.hword 43
.hword 40
.hword 103
.hword 139
.hword 57
.hword 368
.hword 269
.hword 677
.hword 71
.hword 1124
.hword 1687
.hword 1315
.hword 2251
.hword 27
.hword 14
.hword 0
.hword 16
.hword 18
.hword 54
.hword 72
.hword 76
.hword 194
.hword 155
.hword 369
.hword 59
.hword 548
.hword 842
.hword 726
.hword 25
.hword 15
.hword 2
.hword 20
.hword 23
.hword 6
.hword 93
.hword 84
.hword 199
.hword 180
.hword 402
.hword 270
.hword 563
.hword 67
.hword 44
.hword 15
.hword 19
.hword 6
.hword 47
.hword 44
.hword 104
.hword 119
.hword 223
.hword 273
.hword 420
.hword 362
.hword 676
.hword 39
.hword 17
.hword 24
.hword 45
.hword 15
.hword 74
.hword 64
.hword 151
.hword 31
.hword 283
.hword 34
.hword 365
.hword 102
.hword 53
.hword 5
.hword 43
.hword 73
.hword 9
.hword 117
.hword 203
.hword 170
.hword 391
.hword 262
.hword 138
.hword 71
.hword 96
.hword 110
.hword 29
.hword 116
.hword 196
.hword 30
.hword 280
.hword 423
.hword 56
.hword 66
.hword 83
.hword 118
.hword 168
.hword 202
.hword 130
.hword 272
.hword 397
.hword 301
.hword 185
.hword 200
.hword 222
.hword 28
.hword 171
.hword 275
.hword 396
.hword 271
.hword 154
.hword 165
.hword 183
.hword 282
.hword 390
.hword 422
.hword 601
.hword 339
.hword 394
.hword 403
.hword 32
.hword 268
.hword 70
.hword 58
.hword 263
.hword 329
.hword 364
.hword 727
.hword 549
.hword 600
.hword 790
.hword 1686
.hword 791
.hword 66
.hword 1314
.hword 656
.hword 2250
.hword 1
.align 3
.type vec2_huffbits, %object
.size vec2_huffbits, 137
vec2_huffbits:
.ascii "\007\006\006\006\007\007\b\t\t\n\n\013\013\013\f\f\006\004\005"
.ascii "\005\006\006\007\b\b\t\t\n\n\n\013\006\004\005\005\006\007\007"
.ascii "\b\b\t\t\n\n\013\006\005\005\006\006\007\007\b\b\t\t\n\n\007"
.ascii "\006\006\006\007\007\b\b\t\t\n\n\007\006\007\007\007\b\b\b\t"
.ascii "\t\n\b\007\007\007\b\b\b\t\t\t\t\b\b\b\b\b\t\t\t\t\b\b\b\t\t"
.ascii "\t\t\n\t\t\t\t\t\t\n\t\t\t\n\n\013\n\n\n\n\013\n\n\n\013\n\013"
.ascii "\f\013\f\003"
.align 3
.type vec1_huffcodes, %object
.size vec1_huffcodes, 202
vec1_huffcodes:
.hword 26
.hword 3
.hword 23
.hword 16
.hword 12
.hword 9
.hword 5
.hword 0
.hword 13
.hword 10
.hword 9
.hword 12
.hword 15
.hword 2
.hword 4
.hword 7
.hword 11
.hword 15
.hword 28
.hword 6
.hword 16
.hword 21
.hword 28
.hword 34
.hword 59
.hword 14
.hword 25
.hword 35
.hword 52
.hword 54
.hword 58
.hword 71
.hword 8
.hword 10
.hword 30
.hword 49
.hword 55
.hword 80
.hword 83
.hword 107
.hword 111
.hword 140
.hword 232
.hword 234
.hword 235
.hword 22
.hword 62
.hword 63
.hword 108
.hword 137
.hword 138
.hword 163
.hword 164
.hword 212
.hword 221
.hword 236
.hword 238
.hword 282
.hword 466
.hword 36
.hword 37
.hword 46
.hword 39
.hword 194
.hword 192
.hword 218
.hword 219
.hword 273
.hword 324
.hword 278
.hword 330
.hword 325
.hword 440
.hword 427
.hword 474
.hword 478
.hword 475
.hword 479
.hword 566
.hword 567
.hword 934
.hword 935
.hword 77
.hword 76
.hword 94
.hword 95
.hword 387
.hword 386
.hword 390
.hword 545
.hword 391
.hword 544
.hword 558
.hword 559
.hword 662
.hword 852
.hword 663
.hword 853
.hword 882
.hword 883
.hword 22
.align 3
.type vec1_huffbits, %object
.size vec1_huffbits, 101
vec1_huffbits:
.ascii "\007\006\005\005\005\005\005\005\004\004\004\004\004\005\005"
.ascii "\005\005\005\005\006\006\006\006\006\006\007\007\007\007\007"
.ascii "\007\007\b\b\b\b\b\b\b\b\b\b\b\b\b\t\t\t\t\t\t\t\t\t\t\t\t\t"
.ascii "\t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\013\013\013"
.ascii "\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013"
.ascii "\005"
.align 3
.type symbol_to_vec4, %object
.size symbol_to_vec4, 254
symbol_to_vec4:
.hword 0
.hword 1
.hword 2
.hword 3
.hword 4
.hword 5
.hword 16
.hword 17
.hword 18
.hword 19
.hword 20
.hword 32
.hword 33
.hword 34
.hword 35
.hword 48
.hword 49
.hword 50
.hword 64
.hword 65
.hword 80
.hword 256
.hword 257
.hword 258
.hword 259
.hword 260
.hword 272
.hword 273
.hword 274
.hword 275
.hword 288
.hword 289
.hword 290
.hword 304
.hword 305
.hword 320
.hword 512
.hword 513
.hword 514
.hword 515
.hword 528
.hword 529
.hword 530
.hword 544
.hword 545
.hword 560
.hword 768
.hword 769
.hword 770
.hword 784
.hword 785
.hword 800
.hword 1024
.hword 1025
.hword 1040
.hword 1280
.hword 4096
.hword 4097
.hword 4098
.hword 4099
.hword 4100
.hword 4112
.hword 4113
.hword 4114
.hword 4115
.hword 4128
.hword 4129
.hword 4130
.hword 4144
.hword 4145
.hword 4160
.hword 4352
.hword 4353
.hword 4354
.hword 4355
.hword 4368
.hword 4369
.hword 4370
.hword 4384
.hword 4385
.hword 4400
.hword 4608
.hword 4609
.hword 4610
.hword 4624
.hword 4625
.hword 4640
.hword 4864
.hword 4865
.hword 4880
.hword 5120
.hword 8192
.hword 8193
.hword 8194
.hword 8195
.hword 8208
.hword 8209
.hword 8210
.hword 8224
.hword 8225
.hword 8240
.hword 8448
.hword 8449
.hword 8450
.hword 8464
.hword 8465
.hword 8480
.hword 8704
.hword 8705
.hword 8720
.hword 8960
.hword 12288
.hword 12289
.hword 12290
.hword 12304
.hword 12305
.hword 12320
.hword 12544
.hword 12545
.hword 12560
.hword 12800
.hword 16384
.hword 16385
.hword 16400
.hword 16640
.hword 20480
.hword 0
.align 3
.type symbol_to_vec2, %object
.size symbol_to_vec2, 137
symbol_to_vec2:
.string ""
.string "\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036 !\"#$%&'()*+,-0123456789:;<@ABCDEFGHIJKPQRSTUVWXYZ`abcdefghipqrstuvwx\200\201\202\203\204\205\206\207\220\221\222\223\224\225\226\240\241\242\243\244\245\260\261\262\263\264\300\301\302\303\320\321\322\340\341\360"
.align 3
.type default_decorrelation_matrices, %object
.size default_decorrelation_matrices, 364
default_decorrelation_matrices:
.word 1065353216
.word 1060438012
.word -1087045636
.word 1060438012
.word 1060438012
.word 1058275328
.word 1060438012
.word 1053949944
.word 1058275328
.word -1087045636
.word 1053949944
.word 1058275328
.word 0
.word -1085210628
.word 1056964608
.word 1059520516
.word 1056964608
.word 1049231352
.word 1056964608
.word 1049231352
.word -1090519040
.word -1087963132
.word 1056964608
.word -1098252296
.word -1090519040
.word 1059520516
.word 1056964608
.word -1087963132
.word 1056964608
.word -1098252296
.word 1055129583
.word 1058668536
.word 1057161220
.word 1052639240
.word 1044905950
.word 1055129583
.word 1052639240
.word -1102577698
.word -1088815112
.word -1090322428
.word 1055129583
.word 0
.word -1088290824
.word 0
.word 1059192824
.word 1055129583
.word -1094844408
.word -1102577698
.word 1058668536
.word -1090322428
.word 1055129583
.word -1088815112
.word 1057161220
.word -1094844408
.word 1044905950
.word 1053949944
.word 1057947652
.word 1056964608
.word 1053949944
.word 1049886703
.word 1041760290
.word 1053949944
.word 1053949944
.word 0
.word -1093533704
.word -1089208320
.word -1093533704
.word 1053949944
.word 1041760290
.word -1090519040
.word -1093533704
.word 1049886703
.word 1057947652
.word 1053949944
.word -1105723358
.word -1090519040
.word 1053949944
.word 1049886703
.word -1089535996
.word 1053949944
.word -1093533704
.word 0
.word 1053949944
.word -1089208320
.word 1053949944
.word 1053949944
.word -1089535996
.word 1056964608
.word -1093533704
.word 1049886703
.word -1105723358
.section .data.rel.ro.local,"aw"
.align 3
.type default_decorrelation, %object
.size default_decorrelation, 56
default_decorrelation:
.xword 0
.xword default_decorrelation_matrices
.xword default_decorrelation_matrices+4
.xword default_decorrelation_matrices+20
.xword default_decorrelation_matrices+56
.xword default_decorrelation_matrices+120
.xword default_decorrelation_matrices+220
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global putchard
.type putchard, %function
putchard:
.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 d0, [sp, 24]
ldr d0, [sp, 24]
fcvtzu w0, d0
and w0, w0, 255
bl putchar
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
movi d0, #0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size putchard, .-putchard
.section .rodata
.align 3
.LC0:
.string "%f\n"
.text
.align 2
.global printd
.type printd, %function
printd:
.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 d0, [sp, 24]
ldr d0, [sp, 24]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
movi d0, #0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size printd, .-printd
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter first word: "
.align 3
.LC1:
.string "Enter second word: "
.align 3
.LC2:
.string "The words are anagrams."
.align 3
.LC3:
.string "The words are not anagrams."
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -240]!
.cfi_def_cfa_offset 240
.cfi_offset 29, -240
.cfi_offset 30, -232
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 232]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 24
bl gets
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 128
bl gets
add x1, sp, 128
add x0, sp, 24
bl are_anagrams
and w0, w0, 255
cmp w0, 0
beq .L2
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
b .L3
.L2:
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
.L3:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 232]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 240
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.align 2
.global are_anagrams
.type are_anagrams, %function
are_anagrams:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
str 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, 168]
mov x1, 0
add x0, sp, 64
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
stp q0, q0, [x0, 64]
fmov x1, d0
str x1, [x0, 96]
ldr x0, [sp, 24]
str x0, [sp, 40]
b .L7
.L9:
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 40]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 1024
cmp w0, 0
beq .L8
ldr x0, [sp, 40]
ldrb w0, [x0]
bl toupper
sub w3, w0, #65
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 64
ldr w0, [x1, x0]
add w2, w0, 1
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 64
str w2, [x1, x0]
.L8:
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L7:
ldr x0, [sp, 40]
ldrb w0, [x0]
cmp w0, 0
bne .L9
ldr x0, [sp, 16]
str x0, [sp, 48]
b .L10
.L12:
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 48]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 1024
cmp w0, 0
beq .L11
ldr x0, [sp, 48]
ldrb w0, [x0]
bl toupper
sub w3, w0, #65
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 64
ldr w0, [x1, x0]
sub w2, w0, #1
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 64
str w2, [x1, x0]
.L11:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L10:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 0
bne .L12
str wzr, [sp, 36]
str xzr, [sp, 56]
b .L13
.L16:
ldr x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 64
ldr w0, [x1, x0]
cmp w0, 0
beq .L14
mov w0, 1
str w0, [sp, 36]
b .L15
.L14:
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
.L13:
ldr x0, [sp, 56]
cmp x0, 26
bne .L16
.L15:
ldr w0, [sp, 36]
cmp w0, 0
bne .L17
mov w0, 1
b .L19
.L17:
mov w0, 0
.L19:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L20
bl __stack_chk_fail
.L20:
mov w0, w1
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size are_anagrams, .-are_anagrams
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global charset2
.section .rodata
.align 3
.LC0:
.string ""
.align 3
.LC1:
.string "4\2656\272"
.align 3
.LC2:
.string ")\252I\312"
.align 3
.LC3:
.string "Y\332\312\270\265\244\224\225\246\304\325(\310'\307"
.align 3
.LC4:
.string "4\272Y\251\230\247\307\326\305\225"
.align 3
.LC5:
.string "\024\332)\250\270\271\2516\265\305\306\266"
.align 3
.LC6:
.string "T\230\231\252\271\270\226\225\244\264\326"
.align 3
.LC7:
.string "*\315"
.align 3
.LC8:
.string "Z\270\266\324"
.align 3
.LC9:
.string "\024\266\270\232"
.align 3
.LC10:
.string "\005\351e\211:\264"
.align 3
.LC11:
.string "5\271\027\327"
.align 3
.LC12:
.string "4\244\245\265\263\242"
.align 3
.LC13:
.string "\027\327"
.align 3
.LC14:
.string "4\244\245\265\264"
.align 3
.LC15:
.string "\352"
.align 3
.LC16:
.string "\025\244\304\325\331\312\252\231\225"
.align 3
.LC17:
.string "$\3044\272\251"
.align 3
.LC18:
.string "\031\252\312\331\330\225\224\324"
.align 3
.LC19:
.string "\025\244\304\325\326\307\267\332\232"
.align 3
.LC20:
.string "J\227\226\326G\304"
.align 3
.LC21:
.string "Z\232\230\310\327\325\304\244\225"
.align 3
.LC22:
.string "Z\272\230\225\244\304\325\326\307\227"
.align 3
.LC23:
.string "\032\332\331\226\224"
.align 3
.LC24:
.string "G\330\331\312\252\231\230\247\307\326\325\304\244\225\226\247"
.align 3
.LC25:
.string "$\264\326\331\312\252\231\230\247\327"
.align 3
.LC26:
.string "'\250\270\267\247%\265\264\244\245"
.align 3
.LC27:
.string "&\247\267\266\2464\244\245\265\263\242"
.align 3
.LC28:
.string "J\227\304"
.align 3
.LC29:
.string "\030\330\026\326"
.align 3
.LC30:
.string "\032\307\224"
.align 3
.LC31:
.string "\031\252\312\331\330\307\267\2665\264"
.align 3
.LC32:
.string "C\243\224\230\252\312\331\326\305\266\267\310\330"
.align 3
.LC33:
.string "\024\231\252\312\331\324\026\326"
.align 3
.LC34:
.string "\024\232\312\331\330\307\227\024\304\325\326\307"
.align 3
.LC35:
.string "U\304\244\225\231\252\312\331"
.align 3
.LC36:
.string "\024\232\312\331\325\304\224"
.align 3
.LC37:
.string "T\224\232\332\027\307"
.align 3
.LC38:
.string "\024\232\332\027\307"
.align 3
.LC39:
.string "Y\312\252\231\225\244\304\325\327\247"
.align 3
.LC40:
.string "\024\232T\332\027\327"
.align 3
.LC41:
.string "\024\3244\272\032\332"
.align 3
.LC42:
.string "\025\244\304\325\332\232"
.align 3
.LC43:
.string "\024\232\027\247\324'\332"
.align 3
.LC44:
.string "\032\224\324"
.align 3
.LC45:
.string "\024\232\270\332\324"
.align 3
.LC46:
.string "\024\232\324\332"
.align 3
.LC47:
.string "$\225\231\252\312\331\325\304\244"
.align 3
.LC48:
.string "\024\232\312\331\330\307\227"
.align 3
.LC49:
.string "$\225\231\252\312\331\326\264\2446\324"
.align 3
.LC50:
.string "\024\232\312\331\330\307\227\247\324"
.align 3
.LC51:
.string "\025\244\304\325\326\307\247\230\231\252\312\331"
.align 3
.LC52:
.string "4\272\232\332"
.align 3
.LC53:
.string "\032\225\244\304\325\332"
.align 3
.LC54:
.string "\032\230\264\330\332"
.align 3
.LC55:
.string "\032\224\267\324\332"
.align 3
.LC56:
.string "\024\332T\232"
.align 3
.LC57:
.string "\032\231\266\2646\331\332"
.align 3
.LC58:
.string "\032\332\224\324"
.align 3
.LC59:
.string "T\264\272\332"
.align 3
.LC60:
.string "U\304\264\245\247\270\310\3274\243"
.align 3
.LC61:
.string "\024\264\272\232"
.align 3
.LC62:
.string "\030\272\330"
.align 3
.LC63:
.string "\023\323"
.align 3
.LC64:
.string "+\310"
.align 3
.LC65:
.string "T\244\225\227\250\310\304"
.align 3
.LC66:
.string "\024\304\325\327\310\250*\244"
.align 3
.LC67:
.string "U\304\264\245\247\270\310\327"
.align 3
.LC68:
.string "J\304\244\225\227\250\310D\324"
.align 3
.LC69:
.string "\026\306\327\310\250\227\225\244\324"
.align 3
.LC70:
.string "4\271\312\332'\307"
.align 3
.LC71:
.string "\022\262\303\310\250\227\225\244\304"
.align 3
.LC72:
.string "\032\224\030\270\307\304"
.align 3
.LC73:
.string ":\271(\270\264$\304"
.align 3
.LC74:
.string ":\271(\270\263\242\222"
.align 3
.LC75:
.string "\024\232D\226\310"
.align 3
.LC76:
.string "*\272\264$\304"
.align 3
.LC77:
.string "\024\230\027\250\267\2647\310\327\324"
.align 3
.LC78:
.string "\024\230\027\250\270\307\304"
.align 3
.LC79:
.string "$\225\227\250\270\307\305\264\244"
.align 3
.LC80:
.string "\022\230\270\307\305\264\224"
.align 3
.LC81:
.string "D\244\225\227\250\310\302"
.align 3
.LC82:
.string "\030\224\026\270\310"
.align 3
.LC83:
.string "H\250\227\246\266\305\264\224"
.align 3
.LC84:
.string "*\244\304\030\310"
.align 3
.LC85:
.string "\030\225\244\304\310"
.align 3
.LC86:
.string "\030\226\264\326\330"
.align 3
.LC87:
.string "\030\225\244\265\2675\304\325\330"
.align 3
.LC88:
.string "\030\324\024\330"
.align 3
.LC89:
.string "\022\326\330\030\226\264"
.align 3
.LC90:
.string "\030\310\224\304"
.align 3
.LC91:
.string ",\253L\313"
.align 3
.LC92:
.string ":\253\274\313\272"
.align 3
.LC93:
.string "*\251J\311"
.align 3
.LC94:
.string "I\312"
.section .data.rel.local,"aw"
.align 3
.type charset2, %object
.size charset2, 1024
charset2:
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC0
.xword .LC1
.xword .LC2
.xword .LC3
.xword .LC4
.xword .LC5
.xword .LC6
.xword .LC7
.xword .LC8
.xword .LC9
.xword .LC10
.xword .LC11
.xword .LC12
.xword .LC13
.xword .LC14
.xword .LC15
.xword .LC16
.xword .LC17
.xword .LC18
.xword .LC19
.xword .LC20
.xword .LC21
.xword .LC22
.xword .LC23
.xword .LC24
.xword .LC25
.xword .LC26
.xword .LC27
.xword .LC28
.xword .LC29
.xword .LC30
.xword .LC31
.xword .LC32
.xword .LC33
.xword .LC34
.xword .LC35
.xword .LC36
.xword .LC37
.xword .LC38
.xword .LC39
.xword .LC40
.xword .LC41
.xword .LC42
.xword .LC43
.xword .LC44
.xword .LC45
.xword .LC46
.xword .LC47
.xword .LC48
.xword .LC49
.xword .LC50
.xword .LC51
.xword .LC52
.xword .LC53
.xword .LC54
.xword .LC55
.xword .LC56
.xword .LC57
.xword .LC58
.xword .LC59
.xword .LC60
.xword .LC61
.xword .LC62
.xword .LC63
.xword .LC64
.xword .LC65
.xword .LC66
.xword .LC67
.xword .LC68
.xword .LC69
.xword .LC70
.xword .LC71
.xword .LC72
.xword .LC73
.xword .LC74
.xword .LC75
.xword .LC76
.xword .LC77
.xword .LC78
.xword .LC79
.xword .LC80
.xword .LC81
.xword .LC82
.xword .LC83
.xword .LC84
.xword .LC85
.xword .LC86
.xword .LC87
.xword .LC88
.xword .LC89
.xword .LC90
.xword .LC91
.xword .LC92
.xword .LC93
.xword .LC94
.zero 8
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d"
.text
.align 2
.type read_list, %function
read_list:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
str wzr, [sp, 40]
str xzr, [sp, 48]
add x0, sp, 40
str x0, [sp, 32]
str wzr, [sp, 28]
add x0, sp, 28
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
b .L2
.L4:
mov x1, 16
mov x0, 1
bl calloc
mov x1, x0
ldr x0, [sp, 32]
str x1, [x0, 8]
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
bne .L3
bl abort
.L3:
ldr x0, [sp, 32]
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 28]
.L2:
ldr w0, [sp, 28]
cmp w0, 0
bgt .L4
ldr x0, [sp, 48]
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 .L6
bl __stack_chk_fail
.L6:
mov x0, x1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size read_list, .-read_list
.section .rodata
.align 3
.LC1:
.string " %d"
.text
.align 2
.type write_list, %function
write_list:
.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]
cmp x0, 0
beq .L8
ldr x0, [sp, 24]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
b .L9
.L10:
ldr x0, [sp, 24]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
.L9:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L10
.L8:
mov w0, 10
bl putchar
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size write_list, .-write_list
.align 2
.type delete_list, %function
delete_list:
.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]
b .L12
.L13:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x0, [sp, 24]
bl free
ldr x0, [sp, 40]
str x0, [sp, 24]
.L12:
ldr x0, [sp, 24]
cmp x0, 0
bne .L13
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size delete_list, .-delete_list
.align 2
.type segregate_even_odd, %function
segregate_even_odd:
.LFB9:
.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]
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, 56]
str xzr, [sp, 64]
add x0, sp, 56
str x0, [sp, 40]
str wzr, [sp, 72]
str xzr, [sp, 80]
add x0, sp, 72
str x0, [sp, 48]
b .L15
.L18:
ldr x0, [sp, 24]
ldr w0, [x0]
and w0, w0, 1
cmp w0, 0
bne .L16
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
b .L17
.L16:
ldr x0, [sp, 48]
ldr x1, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 48]
ldr x0, [x0, 8]
str x0, [sp, 48]
.L17:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L15:
ldr x0, [sp, 24]
cmp x0, 0
bne .L18
ldr x1, [sp, 80]
ldr x0, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 48]
str xzr, [x0, 8]
ldr x0, [sp, 64]
mov x1, x0
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 .L20
bl __stack_chk_fail
.L20:
mov x0, x1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size segregate_even_odd, .-segregate_even_odd
.align 2
.global main
.type main, %function
main:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 28]
add x0, sp, 28
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
b .L22
.L23:
bl read_list
bl segregate_even_odd
str x0, [sp, 32]
ldr x0, [sp, 32]
bl write_list
ldr x0, [sp, 32]
bl delete_list
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 28]
.L22:
ldr w0, [sp, 28]
cmp w0, 0
bgt .L23
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 .L25
bl __stack_chk_fail
.L25:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Simple calculator!"
.align 3
.LC1:
.string "Enter your name: "
.align 3
.LC2:
.string "Enter two integers: "
.align 3
.LC3:
.string "%d%d"
.align 3
.LC4:
.string "Hey %s, here are the results: \n"
.align 3
.LC5:
.string "%d+%d=%d\n"
.align 3
.LC6:
.string "%d-%d=%d\n"
.align 3
.LC7:
.string "%d*%d=%d\n"
.align 3
.LC8:
.string "%d/%d=%f\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -160]!
.cfi_def_cfa_offset 160
.cfi_offset 29, -160
.cfi_offset 30, -152
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 152]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 48
bl gets
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
add x1, sp, 28
add x0, sp, 24
mov x2, x1
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w1, [sp, 24]
ldr w0, [sp, 28]
add w0, w1, w0
str w0, [sp, 32]
ldr w1, [sp, 24]
ldr w0, [sp, 28]
sub w0, w1, w0
str w0, [sp, 36]
ldr w1, [sp, 24]
ldr w0, [sp, 28]
mul w0, w1, w0
str w0, [sp, 40]
ldr s0, [sp, 24]
scvtf s1, s0
ldr s0, [sp, 28]
scvtf s0, s0
fdiv s0, s1, s0
str s0, [sp, 44]
add x0, sp, 48
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr w0, [sp, 24]
ldr w1, [sp, 28]
ldr w3, [sp, 32]
mov w2, w1
mov w1, w0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
ldr w0, [sp, 24]
ldr w1, [sp, 28]
ldr w3, [sp, 36]
mov w2, w1
mov w1, w0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
ldr w0, [sp, 24]
ldr w1, [sp, 28]
ldr w3, [sp, 40]
mov w2, w1
mov w1, w0
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
ldr w0, [sp, 24]
ldr w1, [sp, 28]
ldr s0, [sp, 44]
fcvt d0, s0
mov w2, w1
mov w1, w0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
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, 152]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 160
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "\nEnter your operation'+' '-' '*' '/' "
.align 3
.LC1:
.string "%s"
.align 3
.LC2:
.string "\nEnter num1 and num2"
.align 3
.LC3:
.string "%d%d"
.align 3
.LC4:
.string "\nThe add value is::%d\n"
.align 3
.LC5:
.string "\nThe entered number is ivalid"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 36]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
add x0, sp, 27
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
add x1, sp, 32
add x0, sp, 28
mov x2, x1
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldrb w0, [sp, 27]
cmp w0, 47
beq .L2
cmp w0, 47
bgt .L3
cmp w0, 45
beq .L4
cmp w0, 45
bgt .L3
cmp w0, 42
beq .L5
cmp w0, 43
bne .L3
ldr w1, [sp, 28]
ldr w0, [sp, 32]
add w0, w1, w0
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
b .L6
.L4:
ldr w1, [sp, 28]
ldr w0, [sp, 32]
sub w0, w1, w0
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
b .L6
.L5:
ldr w1, [sp, 28]
ldr w0, [sp, 32]
mul w0, w1, w0
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
b .L6
.L2:
ldr w1, [sp, 28]
ldr w0, [sp, 32]
sdiv w0, w1, w0
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
b .L6
.L3:
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
.L6:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L8
bl __stack_chk_fail
.L8:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.data
.align 3
.type junk, %object
.size junk, 30
junk:
.string "\n@(#)LIBF77 VERSION 19990503\n"
.text
.align 2
.type spow_ui, %function
spow_ui:
.LFB10:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
str w0, [sp, 8]
fmov s0, 1.0e+0
str s0, [sp, 20]
ldr w0, [sp, 8]
cmp w0, 0
beq .L2
ldr w0, [sp, 8]
cmp w0, 0
bge .L3
ldr w0, [sp, 8]
neg w0, w0
str w0, [sp, 8]
ldr s0, [sp, 12]
fmov s1, 1.0e+0
fdiv s0, s1, s0
str s0, [sp, 12]
.L3:
ldrsw x0, [sp, 8]
str x0, [sp, 24]
.L7:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L4
ldr s1, [sp, 20]
ldr s0, [sp, 12]
fmul s0, s1, s0
str s0, [sp, 20]
.L4:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L9
ldr s0, [sp, 12]
fmul s0, s0, s0
str s0, [sp, 12]
b .L7
.L9:
nop
.L2:
ldr s0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size spow_ui, .-spow_ui
.align 2
.type dpow_ui, %function
dpow_ui:
.LFB11:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str d0, [sp, 8]
str w0, [sp, 4]
fmov d0, 1.0e+0
str d0, [sp, 16]
ldr w0, [sp, 4]
cmp w0, 0
beq .L11
ldr w0, [sp, 4]
cmp w0, 0
bge .L12
ldr w0, [sp, 4]
neg w0, w0
str w0, [sp, 4]
ldr d0, [sp, 8]
fmov d1, 1.0e+0
fdiv d0, d1, d0
str d0, [sp, 8]
.L12:
ldrsw x0, [sp, 4]
str x0, [sp, 24]
.L16:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L13
ldr d1, [sp, 16]
ldr d0, [sp, 8]
fmul d0, d1, d0
str d0, [sp, 16]
.L13:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L18
ldr d0, [sp, 8]
fmul d0, d0, d0
str d0, [sp, 8]
b .L16
.L18:
nop
.L11:
ldr d0, [sp, 16]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size dpow_ui, .-dpow_ui
.align 2
.type cpow_ui, %function
cpow_ui:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
fmov s2, s0
fmov s0, s1
fmov s1, s2
str s1, [sp, 24]
str s0, [sp, 28]
str w0, [sp, 20]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
fmov s0, 1.0e+0
str s0, [sp, 56]
str wzr, [sp, 60]
ldr w0, [sp, 20]
cmp w0, 0
beq .L27
ldr w0, [sp, 20]
cmp w0, 0
bge .L21
ldr w0, [sp, 20]
neg w0, w0
str w0, [sp, 20]
ldr s3, [sp, 36]
ldr s2, [sp, 32]
movi v1.2s, #0
fmov s0, 1.0e+0
bl __divsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 24]
str s0, [sp, 28]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
.L21:
ldrsw x0, [sp, 20]
str x0, [sp, 48]
str wzr, [sp, 44]
fmov s0, 1.0e+0
str s0, [sp, 40]
.L25:
ldr x0, [sp, 48]
and x0, x0, 1
cmp x0, 0
beq .L22
ldr s3, [sp, 36]
ldr s2, [sp, 32]
ldr s1, [sp, 44]
ldr s0, [sp, 40]
bl __mulsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 56]
str s0, [sp, 60]
ldr s0, [sp, 56]
str s0, [sp, 40]
ldr s0, [sp, 60]
str s0, [sp, 44]
.L22:
ldr x0, [sp, 48]
lsr x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L28
ldr s3, [sp, 36]
ldr s2, [sp, 32]
ldr s1, [sp, 36]
ldr s0, [sp, 32]
bl __mulsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 24]
str s0, [sp, 28]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
b .L25
.L27:
str wzr, [sp, 44]
fmov s0, 1.0e+0
str s0, [sp, 40]
b .L20
.L28:
nop
.L20:
ldr s1, [sp, 40]
ldr s0, [sp, 44]
fmov s2, s1
fmov s1, s0
fmov s0, s2
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size cpow_ui, .-cpow_ui
.align 2
.type zpow_ui, %function
zpow_ui:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
fmov d2, d0
fmov d0, d1
fmov d1, d2
str d1, [sp, 32]
str d0, [sp, 40]
str w0, [sp, 28]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
fmov d0, 1.0e+0
str d0, [sp, 96]
str xzr, [sp, 104]
ldr w0, [sp, 28]
cmp w0, 0
beq .L37
ldr w0, [sp, 28]
cmp w0, 0
bge .L31
ldr w0, [sp, 28]
neg w0, w0
str w0, [sp, 28]
ldr d3, [sp, 72]
ldr d2, [sp, 64]
movi d1, #0
fmov d0, 1.0e+0
bl __divdc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 32]
str d0, [sp, 40]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
.L31:
ldrsw x0, [sp, 28]
str x0, [sp, 56]
str xzr, [sp, 88]
fmov d0, 1.0e+0
str d0, [sp, 80]
.L35:
ldr x0, [sp, 56]
and x0, x0, 1
cmp x0, 0
beq .L32
ldr d3, [sp, 72]
ldr d2, [sp, 64]
ldr d1, [sp, 88]
ldr d0, [sp, 80]
bl __muldc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 96]
str d0, [sp, 104]
ldr d0, [sp, 96]
str d0, [sp, 80]
ldr d0, [sp, 104]
str d0, [sp, 88]
.L32:
ldr x0, [sp, 56]
lsr x0, x0, 1
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L38
ldr d3, [sp, 72]
ldr d2, [sp, 64]
ldr d1, [sp, 72]
ldr d0, [sp, 64]
bl __muldc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 32]
str d0, [sp, 40]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
b .L35
.L37:
str xzr, [sp, 88]
fmov d0, 1.0e+0
str d0, [sp, 80]
b .L30
.L38:
nop
.L30:
ldr d1, [sp, 80]
ldr d0, [sp, 88]
fmov d2, d1
fmov d1, d0
fmov d0, d2
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size zpow_ui, .-zpow_ui
.align 2
.type pow_ii, %function
pow_ii:
.LFB14:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str w1, [sp, 8]
ldr w0, [sp, 8]
cmp w0, 0
bgt .L40
ldr w0, [sp, 8]
cmp w0, 0
beq .L41
ldr w0, [sp, 12]
cmp w0, 1
bne .L42
.L41:
mov w0, 1
str w0, [sp, 20]
b .L40
.L42:
ldr w0, [sp, 12]
cmn w0, #1
beq .L43
ldr w0, [sp, 12]
cmp w0, 0
bne .L44
mov w1, 1
ldr w0, [sp, 12]
sdiv w0, w1, w0
b .L45
.L44:
mov w0, 0
.L45:
str w0, [sp, 20]
b .L40
.L43:
ldr w0, [sp, 8]
neg w0, w0
str w0, [sp, 8]
.L40:
ldr w0, [sp, 8]
cmp w0, 0
bgt .L46
ldr w0, [sp, 8]
cmp w0, 0
beq .L47
ldr w0, [sp, 12]
cmp w0, 1
beq .L47
ldr w0, [sp, 12]
cmn w0, #1
bne .L47
.L46:
ldrsw x0, [sp, 8]
str x0, [sp, 24]
mov w0, 1
str w0, [sp, 20]
.L51:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L48
ldr w1, [sp, 20]
ldr w0, [sp, 12]
mul w0, w1, w0
str w0, [sp, 20]
.L48:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L53
ldr w0, [sp, 12]
mul w0, w0, w0
str w0, [sp, 12]
b .L51
.L53:
nop
.L47:
ldr w0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size pow_ii, .-pow_ii
.align 2
.type dmaxloc_, %function
dmaxloc_:
.LFB15:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str x3, [sp, 8]
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, 40]
ldr w0, [sp, 20]
str w0, [sp, 36]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 32]
b .L55
.L58:
ldrsw x0, [sp, 32]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
ldr d1, [sp, 40]
fcmpe d1, d0
bmi .L60
b .L56
.L60:
ldr w0, [sp, 32]
str w0, [sp, 36]
ldrsw x0, [sp, 32]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
str d0, [sp, 40]
.L56:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L55:
ldr w1, [sp, 32]
ldr w0, [sp, 16]
cmp w1, w0
ble .L58
ldr w1, [sp, 36]
ldr w0, [sp, 20]
sub w0, w1, w0
add w0, w0, 1
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size dmaxloc_, .-dmaxloc_
.align 2
.type smaxloc_, %function
smaxloc_:
.LFB16:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str x3, [sp, 8]
ldrsw x0, [sp, 20]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 36]
ldr w0, [sp, 20]
str w0, [sp, 44]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 40]
b .L62
.L65:
ldrsw x0, [sp, 40]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
ldr s1, [sp, 36]
fcmpe s1, s0
bmi .L67
b .L63
.L67:
ldr w0, [sp, 40]
str w0, [sp, 44]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 36]
.L63:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L62:
ldr w1, [sp, 40]
ldr w0, [sp, 16]
cmp w1, w0
ble .L65
ldr w1, [sp, 44]
ldr w0, [sp, 20]
sub w0, w1, w0
add w0, w0, 1
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size smaxloc_, .-smaxloc_
.data
.align 2
.type c__1, %object
.size c__1, 4
c__1:
.word 1
.section .rodata
.align 3
.LC0:
.string "U"
.align 3
.LC1:
.string "L"
.align 3
.LC2:
.string "DSYCON"
.text
.align 2
.global dsycon_
.type dsycon_, %function
dsycon_:
.LFB21:
.cfi_startproc
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, 16]
.cfi_offset 29, -160
.cfi_offset 30, -152
add x29, sp, 16
str x0, [sp, 104]
str x1, [sp, 96]
str x2, [sp, 88]
str x3, [sp, 80]
str x4, [sp, 72]
str x5, [sp, 64]
str x6, [sp, 56]
str x7, [sp, 48]
ldr x0, [sp, 176]
str x0, [sp, 40]
ldr x0, [sp, 184]
str x0, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 168]
mov x1, 0
ldr x0, [sp, 80]
ldr w0, [x0]
str w0, [sp, 132]
ldr w0, [sp, 132]
add w0, w0, 1
str w0, [sp, 136]
ldrsw x0, [sp, 136]
lsl x0, x0, 3
neg x0, x0
ldr x1, [sp, 88]
add x0, x1, x0
str x0, [sp, 88]
ldr x0, [sp, 72]
sub x0, x0, #4
str x0, [sp, 72]
ldr x0, [sp, 48]
sub x0, x0, #8
str x0, [sp, 48]
ldr x0, [sp, 40]
sub x0, x0, #4
str x0, [sp, 40]
ldr x0, [sp, 32]
str wzr, [x0]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 104]
bl lsame_
str w0, [sp, 140]
ldr w0, [sp, 140]
cmp w0, 0
bne .L69
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 104]
bl lsame_
cmp w0, 0
bne .L69
ldr x0, [sp, 32]
mov w1, -1
str w1, [x0]
b .L70
.L69:
ldr x0, [sp, 96]
ldr w0, [x0]
cmp w0, 0
bge .L71
ldr x0, [sp, 32]
mov w1, -2
str w1, [x0]
b .L70
.L71:
ldr x0, [sp, 80]
ldr w1, [x0]
ldr x0, [sp, 96]
ldr w0, [x0]
mov w2, 1
cmp w0, 0
csel w0, w0, w2, gt
cmp w1, w0
bge .L72
ldr x0, [sp, 32]
mov w1, -4
str w1, [x0]
b .L70
.L72:
ldr x0, [sp, 64]
ldr d0, [x0]
fcmpe d0, #0.0
bmi .L92
b .L70
.L92:
ldr x0, [sp, 32]
mov w1, -6
str w1, [x0]
.L70:
ldr x0, [sp, 32]
ldr w0, [x0]
cmp w0, 0
beq .L74
ldr x0, [sp, 32]
ldr w0, [x0]
neg w0, w0
str w0, [sp, 120]
add x0, sp, 120
mov w2, 6
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl xerbla_
mov w0, 0
b .L90
.L74:
ldr x0, [sp, 56]
str xzr, [x0]
ldr x0, [sp, 96]
ldr w0, [x0]
cmp w0, 0
bne .L76
ldr x0, [sp, 56]
fmov d0, 1.0e+0
str d0, [x0]
mov w0, 0
b .L90
.L76:
ldr x0, [sp, 64]
ldr d0, [x0]
fcmpe d0, #0.0
bls .L93
b .L94
.L93:
mov w0, 0
b .L90
.L94:
ldr w0, [sp, 140]
cmp w0, 0
beq .L79
ldr x0, [sp, 96]
ldr w0, [x0]
str w0, [sp, 128]
b .L80
.L82:
ldrsw x0, [sp, 128]
lsl x0, x0, 2
ldr x1, [sp, 72]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
ble .L81
ldr w1, [sp, 128]
ldr w0, [sp, 132]
mul w1, w1, w0
ldr w0, [sp, 128]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
ldr d0, [x0]
fcmp d0, #0.0
bne .L81
mov w0, 0
b .L90
.L81:
ldr w0, [sp, 128]
sub w0, w0, #1
str w0, [sp, 128]
.L80:
ldr w0, [sp, 128]
cmp w0, 0
bgt .L82
b .L83
.L79:
ldr x0, [sp, 96]
ldr w0, [x0]
str w0, [sp, 120]
mov w0, 1
str w0, [sp, 128]
b .L84
.L86:
ldrsw x0, [sp, 128]
lsl x0, x0, 2
ldr x1, [sp, 72]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
ble .L85
ldr w1, [sp, 128]
ldr w0, [sp, 132]
mul w1, w1, w0
ldr w0, [sp, 128]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
ldr d0, [x0]
fcmp d0, #0.0
bne .L85
mov w0, 0
b .L90
.L85:
ldr w0, [sp, 128]
add w0, w0, 1
str w0, [sp, 128]
.L84:
ldr w0, [sp, 120]
ldr w1, [sp, 128]
cmp w1, w0
ble .L86
.L83:
str wzr, [sp, 124]
.L87:
ldr x0, [sp, 96]
ldr w0, [x0]
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 48]
add x1, x1, x0
ldr x0, [sp, 48]
add x2, x0, 8
ldr x0, [sp, 40]
add x0, x0, 4
add x5, sp, 152
add x4, sp, 124
add x3, sp, 144
mov x6, x5
mov x5, x4
mov x4, x3
mov x3, x0
ldr x0, [sp, 96]
bl dlacn2_
ldr w0, [sp, 124]
cmp w0, 0
beq .L88
ldrsw x0, [sp, 136]
lsl x0, x0, 3
ldr x1, [sp, 88]
add x1, x1, x0
ldr x0, [sp, 72]
add x2, x0, 4
ldr x0, [sp, 48]
add x3, x0, 8
ldr x0, [sp, 32]
str x0, [sp]
ldr x7, [sp, 96]
mov x6, x3
mov x5, x2
ldr x4, [sp, 80]
mov x3, x1
adrp x0, c__1
add x2, x0, :lo12:c__1
ldr x1, [sp, 96]
ldr x0, [sp, 104]
bl dsytrs_
b .L87
.L88:
ldr d0, [sp, 144]
fcmp d0, #0.0
beq .L89
ldr d0, [sp, 144]
fmov d1, 1.0e+0
fdiv d1, d1, d0
ldr x0, [sp, 64]
ldr d0, [x0]
fdiv d0, d1, d0
ldr x0, [sp, 56]
str d0, [x0]
.L89:
mov w0, 0
.L90:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L91
bl __stack_chk_fail
.L91:
mov w0, w1
ldp x29, x30, [sp, 16]
add sp, sp, 176
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size dsycon_, .-dsycon_
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global rotateRight
.type rotateRight, %function
rotateRight:
.LFB6:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
cmp x0, 0
beq .L2
ldr w0, [sp, 4]
cmp w0, 0
bne .L3
.L2:
ldr x0, [sp, 8]
b .L4
.L3:
add x0, sp, 8
str x0, [sp, 32]
str xzr, [sp, 40]
str wzr, [sp, 28]
b .L5
.L6:
ldr x0, [sp, 32]
ldr x0, [x0]
add x0, x0, 8
str x0, [sp, 32]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L5:
ldr x0, [sp, 32]
ldr x0, [x0]
cmp x0, 0
bne .L6
ldr w0, [sp, 4]
ldr w1, [sp, 28]
sdiv w2, w0, w1
ldr w1, [sp, 28]
mul w1, w2, w1
sub w0, w0, w1
str w0, [sp, 4]
ldr w0, [sp, 4]
cmp w0, 0
bne .L7
ldr x0, [sp, 8]
b .L4
.L7:
ldr x1, [sp, 8]
ldr x0, [sp, 32]
str x1, [x0]
add x0, sp, 8
str x0, [sp, 32]
b .L8
.L9:
ldr x0, [sp, 32]
ldr x0, [x0]
add x0, x0, 8
str x0, [sp, 32]
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 28]
.L8:
ldr w1, [sp, 28]
ldr w0, [sp, 4]
cmp w1, w0
bgt .L9
ldr x0, [sp, 32]
ldr x0, [x0]
str x0, [sp, 40]
ldr x0, [sp, 32]
str xzr, [x0]
ldr x0, [sp, 40]
.L4:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size rotateRight, .-rotateRight
.section .rodata
.align 3
.LC0:
.string "List: "
.align 3
.LC1:
.string "%d->"
.align 3
.LC2:
.string "N"
.align 3
.LC3:
.string "Rotate right by %d.\n"
.align 3
.LC4:
.string "Result: "
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.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 x1, 16
mov x0, 5
bl calloc
str x0, [sp, 24]
add x0, sp, 24
str x0, [sp, 32]
mov w0, 1
str w0, [sp, 16]
b .L11
.L12:
ldr x0, [sp, 32]
ldr x0, [x0]
ldr w1, [sp, 16]
str w1, [x0]
ldr x0, [sp, 32]
ldr x1, [x0]
ldr x0, [sp, 32]
ldr x0, [x0]
add x1, x1, 16
str x1, [x0, 8]
ldr x0, [sp, 32]
ldr x0, [x0]
add x0, x0, 8
str x0, [sp, 32]
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L11:
ldr w0, [sp, 16]
cmp w0, 5
ble .L12
ldr x0, [sp, 32]
str xzr, [x0]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x0, [sp, 24]
str x0, [sp, 40]
b .L13
.L14:
ldr x0, [sp, 40]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
.L13:
ldr x0, [sp, 40]
cmp x0, 0
bne .L14
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
mov w0, 2
str w0, [sp, 20]
ldr w1, [sp, 20]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr x0, [sp, 24]
ldr w1, [sp, 20]
bl rotateRight
str x0, [sp, 48]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x0, [sp, 48]
str x0, [sp, 40]
b .L15
.L16:
ldr x0, [sp, 40]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
.L15:
ldr x0, [sp, 40]
cmp x0, 0
bne .L16
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L18
bl __stack_chk_fail
.L18:
mov w0, w1
ldp x29, x30, [sp], 64
.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
.section .rodata
.align 3
.LC0:
.string "%d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
mov w0, 100
str w0, [sp, 32]
mov w0, 200
str w0, [sp, 36]
mov w0, 30
str w0, [sp, 40]
ldr w1, [sp, 36]
ldr w0, [sp, 32]
cmp w1, w0
cset w0, lt
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 40]
cmp w0, w1
cset w0, gt
and w0, w0, 255
str w0, [sp, 44]
ldr w1, [sp, 44]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
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
.LC1:
.string "Goosebumps"
.align 3
.LC2:
.string "Limitless"
.align 3
.LC3:
.string "Paranormal"
.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, 7]
str w1, [x0, 7]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
str x0, [sp, 16]
add x0, sp, 24
bl puts
ldr x0, [sp, 16]
bl puts
adrp x0, .LC2
add x0, x0, :lo12:.LC2
str x0, [sp, 16]
ldr x0, [sp, 16]
bl puts
adrp x0, .LC3
add x0, x0, :lo12:.LC3
str x0, [sp, 16]
ldr x0, [sp, 16]
bl puts
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC0:
.string "Divergence"
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global d
.bss
.align 3
.type d, %object
.size d, 8192
d:
.zero 8192
.global e
.align 3
.type e, %object
.size e, 8192
e:
.zero 8192
.global f
.align 3
.type f, %object
.size f, 4096
f:
.zero 4096
.global g
.align 3
.type g, %object
.size g, 4096
g:
.zero 4096
.text
.align 2
.global foo
.type foo, %function
foo:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str xzr, [sp, 8]
str wzr, [sp, 4]
b .L2
.L3:
adrp x0, d
add x0, x0, :lo12:d
ldrsw x1, [sp, 4]
ldr d1, [x0, x1, lsl 3]
adrp x0, e
add x0, x0, :lo12:e
ldrsw x1, [sp, 4]
ldr d0, [x0, x1, lsl 3]
fsub d0, d1, d0
ldr d1, [sp, 8]
fadd d0, d1, d0
str d0, [sp, 8]
ldr w0, [sp, 4]
add w0, w0, 1
str w0, [sp, 4]
.L2:
ldr w0, [sp, 4]
cmp w0, 1023
ble .L3
ldr d0, [sp, 8]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.align 2
.global bar
.type bar, %function
bar:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 8]
str wzr, [sp, 12]
b .L6
.L7:
adrp x0, f
add x0, x0, :lo12:f
ldrsw x1, [sp, 12]
ldr w1, [x0, x1, lsl 2]
adrp x0, g
add x0, x0, :lo12:g
ldrsw x2, [sp, 12]
ldr w0, [x0, x2, lsl 2]
sub w0, w1, w0
ldr w1, [sp, 8]
add w0, w1, w0
str w0, [sp, 8]
ldr w0, [sp, 12]
add w0, w0, 1
str w0, [sp, 12]
.L6:
ldr w0, [sp, 12]
cmp w0, 1023
ble .L7
ldr w0, [sp, 8]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size bar, .-bar
.align 2
.global main
.type main, %function
main:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 28]
b .L10
.L11:
ldr w0, [sp, 28]
lsl w0, w0, 1
scvtf d0, w0
adrp x0, d
add x0, x0, :lo12:d
ldrsw x1, [sp, 28]
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 28]
scvtf d0, w0
adrp x0, e
add x0, x0, :lo12:e
ldrsw x1, [sp, 28]
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 28]
lsl w2, w0, 1
adrp x0, f
add x0, x0, :lo12:f
ldrsw x1, [sp, 28]
str w2, [x0, x1, lsl 2]
adrp x0, g
add x0, x0, :lo12:g
ldrsw x1, [sp, 28]
ldr w2, [sp, 28]
str w2, [x0, x1, lsl 2]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L10:
ldr w0, [sp, 28]
cmp w0, 1023
ble .L11
bl foo
mov x0, 272678883688448
movk x0, 0x411f, lsl 48
fmov d1, x0
fcmp d0, d1
beq .L12
bl abort
.L12:
bl bar
mov w1, w0
mov w0, 523776
cmp w1, w0
beq .L13
bl abort
.L13:
mov w0, 0
ldp x29, x30, [sp], 32
.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 subst_table
.bss
.align 3
.type subst_table, %object
.size subst_table, 8
subst_table:
.zero 8
.text
.align 2
.type add_subst, %function
add_subst:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
str xzr, [sp, 40]
mov x0, 24
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L8
ldr x0, [sp, 24]
bl strlen
add x0, x0, 1
bl malloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0]
ldr x0, [sp, 40]
ldr x0, [x0]
cmp x0, 0
beq .L9
ldr x0, [sp, 16]
bl strlen
add x0, x0, 1
bl malloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
cmp x0, 0
beq .L10
ldr x0, [sp, 40]
ldr x0, [x0]
ldr x1, [sp, 24]
bl strcpy
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr x1, [sp, 16]
bl strcpy
adrp x0, subst_table
add x0, x0, :lo12:subst_table
ldr x1, [x0]
ldr x0, [sp, 40]
str x1, [x0, 16]
adrp x0, subst_table
add x0, x0, :lo12:subst_table
ldr x1, [sp, 40]
str x1, [x0]
mov w0, 0
b .L6
.L8:
nop
b .L3
.L9:
nop
b .L3
.L10:
nop
.L3:
ldr x0, [sp, 40]
cmp x0, 0
beq .L7
ldr x0, [sp, 40]
ldr x0, [x0]
bl free
ldr x0, [sp, 40]
bl free
.L7:
mov w0, 12
.L6:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size add_subst, .-add_subst
.align 2
.type fetch_subst_entry, %function
fetch_subst_entry:
.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]
adrp x0, subst_table
add x0, x0, :lo12:subst_table
ldr x0, [x0]
str x0, [sp, 40]
b .L12
.L15:
ldr x0, [sp, 40]
ldr x0, [x0]
mov x1, x0
ldr x0, [sp, 24]
bl strcmp
cmp w0, 0
beq .L17
ldr x0, [sp, 40]
ldr x0, [x0, 16]
str x0, [sp, 40]
.L12:
ldr x0, [sp, 40]
cmp x0, 0
bne .L15
b .L14
.L17:
nop
.L14:
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size fetch_subst_entry, .-fetch_subst_entry
.align 2
.type get_subst_symbol, %function
get_subst_symbol:
.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, 40]
str x1, [sp, 32]
strb w2, [sp, 31]
adrp x0, replace_name.0
add x0, x0, :lo12:replace_name.0
str x0, [sp, 56]
ldrb w0, [sp, 31]
cmp w0, 0
beq .L19
ldr x0, [sp, 56]
add x1, x0, 1
str x1, [sp, 56]
ldrb w1, [sp, 31]
strb w1, [x0]
.L19:
ldr x0, [sp, 32]
cmp x0, 126
bls .L20
mov x0, 0
b .L21
.L20:
ldr x2, [sp, 32]
ldr x1, [sp, 40]
ldr x0, [sp, 56]
bl memcpy
ldr x1, [sp, 56]
ldr x0, [sp, 32]
add x0, x1, x0
strb wzr, [x0]
ldr x0, [sp, 56]
str x0, [sp, 48]
b .L22
.L27:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 96
bls .L23
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 122
bls .L24
.L23:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 64
bls .L25
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 90
bls .L24
.L25:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 47
bls .L26
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 57
bls .L24
.L26:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 95
beq .L24
mov x0, 0
b .L21
.L24:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L22:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 0
bne .L27
adrp x0, replace_name.0
add x0, x0, :lo12:replace_name.0
.L21:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size get_subst_symbol, .-get_subst_symbol
.align 2
.type replace_string, %function
replace_string:
.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 x19, [sp, 16]
.cfi_offset 19, -64
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
ldr x0, [sp, 40]
bl strlen
str w0, [sp, 72]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
sub x0, x1, x0
str w0, [sp, 76]
ldr w0, [sp, 72]
cmp w0, 0
bne .L29
ldr x0, [sp, 48]
add x19, x0, 1
ldr x0, [sp, 48]
bl strlen
add x0, x0, 1
mov x2, x0
mov x1, x19
ldr x0, [sp, 56]
bl memmove
b .L30
.L29:
ldr w0, [sp, 76]
add w0, w0, 1
ldr w1, [sp, 72]
cmp w1, w0
beq .L30
ldr w1, [sp, 72]
ldr w0, [sp, 76]
sub w0, w1, w0
sxtw x0, w0
sub x0, x0, #1
ldr x1, [sp, 48]
add x19, x1, x0
ldr x0, [sp, 48]
bl strlen
add x0, x0, 1
mov x2, x0
ldr x1, [sp, 48]
mov x0, x19
bl memmove
.L30:
ldrsw x0, [sp, 72]
mov x2, x0
ldr x1, [sp, 40]
ldr x0, [sp, 56]
bl memcpy
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
.LFE9:
.size replace_string, .-replace_string
.section .rodata
.align 3
.LC0:
.string "Unfound expansion: '%s'\n"
.text
.align 2
.type substitute_line, %function
substitute_line:
.LFB10:
.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, 40]
ldr x0, [sp, 40]
str x0, [sp, 48]
b .L32
.L39:
mov w1, 64
ldr x0, [sp, 48]
bl strchr
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L48
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
ldr x0, [sp, 56]
ldrb w0, [x0]
cmp w0, 64
bne .L35
ldr x0, [sp, 56]
sub x19, x0, #1
ldr x0, [sp, 56]
bl strlen
add x0, x0, 1
mov x2, x0
ldr x1, [sp, 56]
mov x0, x19
bl memmove
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 48]
b .L32
.L35:
mov w1, 64
ldr x0, [sp, 56]
bl strchr
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
beq .L49
ldr x1, [sp, 64]
ldr x0, [sp, 56]
sub x0, x1, x0
str x0, [sp, 72]
mov w2, 0
ldr x1, [sp, 72]
ldr x0, [sp, 56]
bl get_subst_symbol
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L37
ldr x0, [sp, 56]
str x0, [sp, 48]
b .L32
.L37:
ldr x0, [sp, 80]
bl fetch_subst_entry
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
bne .L38
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x2, [sp, 80]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x3
bl fprintf
ldr x0, [sp, 64]
add x0, x0, 1
str x0, [sp, 48]
b .L32
.L38:
ldr x0, [sp, 56]
sub x0, x0, #1
str x0, [sp, 48]
ldr x0, [sp, 88]
ldr x0, [x0, 8]
mov x2, x0
ldr x1, [sp, 64]
ldr x0, [sp, 48]
bl replace_string
ldr x0, [sp, 88]
ldr x0, [x0, 8]
ldrb w0, [x0]
cmp w0, 64
bne .L32
ldr x0, [sp, 80]
bl strlen
mov x19, x0
ldr x0, [sp, 88]
ldr x0, [x0, 8]
bl strlen
sub x0, x0, #2
cmp x19, x0
bne .L32
ldr x0, [sp, 88]
ldr x0, [x0, 8]
add x19, x0, 1
ldr x0, [sp, 88]
ldr x0, [x0, 8]
bl strlen
sub x0, x0, #2
mov x2, x0
mov x1, x19
ldr x0, [sp, 80]
bl strncmp
cmp w0, 0
bne .L32
ldr x0, [sp, 88]
ldr x0, [x0, 8]
bl strlen
mov x1, x0
ldr x0, [sp, 48]
add x0, x0, x1
str x0, [sp, 48]
.L32:
ldr x0, [sp, 48]
cmp x0, 0
bne .L39
b .L34
.L48:
nop
b .L34
.L49:
nop
.L34:
ldr x0, [sp, 40]
str x0, [sp, 48]
b .L40
.L47:
mov w1, 36
ldr x0, [sp, 48]
bl strchr
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L50
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
ldr x0, [sp, 56]
ldrb w0, [x0]
cmp w0, 123
beq .L43
ldr x0, [sp, 56]
str x0, [sp, 48]
b .L40
.L43:
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
mov w1, 125
ldr x0, [sp, 56]
bl strchr
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
beq .L51
ldr x1, [sp, 64]
ldr x0, [sp, 56]
sub x0, x1, x0
str x0, [sp, 72]
mov w2, 36
ldr x1, [sp, 72]
ldr x0, [sp, 56]
bl get_subst_symbol
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L45
ldr x0, [sp, 56]
str x0, [sp, 48]
b .L40
.L45:
ldr x0, [sp, 80]
bl fetch_subst_entry
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
bne .L46
ldr x0, [sp, 64]
add x0, x0, 1
str x0, [sp, 48]
b .L40
.L46:
ldr x0, [sp, 56]
sub x0, x0, #2
str x0, [sp, 48]
ldr x0, [sp, 88]
ldr x0, [x0, 8]
mov x2, x0
ldr x1, [sp, 64]
ldr x0, [sp, 48]
bl replace_string
.L40:
ldr x0, [sp, 48]
cmp x0, 0
bne .L47
b .L52
.L50:
nop
b .L52
.L51:
nop
.L52:
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
.LFE10:
.size substitute_line, .-substitute_line
.align 2
.type parse_config_file, %function
parse_config_file:
.LFB11:
.cfi_startproc
sub sp, sp, #2112
.cfi_def_cfa_offset 2112
stp x29, x30, [sp]
.cfi_offset 29, -2112
.cfi_offset 30, -2104
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, 2104]
mov x1, 0
b .L54
.L76:
add x0, sp, 56
mov x2, 2048
mov w1, 0
bl memset
add x0, sp, 56
ldr x2, [sp, 24]
mov w1, 2048
bl fgets
cmp x0, 0
beq .L78
add x0, sp, 56
mov w1, 10
bl strchr
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L57
ldr x0, [sp, 40]
strb wzr, [x0]
.L57:
add x0, sp, 56
mov w1, 35
bl strchr
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L58
ldr x0, [sp, 40]
strb wzr, [x0]
.L58:
add x0, sp, 56
bl strlen
sub x0, x0, #1
add x1, sp, 56
add x0, x1, x0
str x0, [sp, 40]
b .L59
.L62:
ldr x0, [sp, 40]
ldrb w0, [x0]
cmp w0, 32
beq .L60
ldr x0, [sp, 40]
ldrb w0, [x0]
cmp w0, 9
bne .L61
.L60:
ldr x0, [sp, 40]
strb wzr, [x0]
ldr x0, [sp, 40]
sub x0, x0, #1
str x0, [sp, 40]
.L59:
add x0, sp, 56
ldr x1, [sp, 40]
cmp x1, x0
bcs .L62
.L61:
add x0, sp, 56
str x0, [sp, 40]
b .L63
.L65:
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L63:
ldr x0, [sp, 40]
ldrb w0, [x0]
cmp w0, 0
beq .L64
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 40]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
bne .L65
.L64:
ldr x0, [sp, 40]
str x0, [sp, 48]
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 0
bne .L66
b .L54
.L66:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 64
bne .L67
b .L54
.L67:
ldr x0, [sp, 48]
str x0, [sp, 40]
b .L68
.L71:
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 40]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
bne .L79
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L68:
ldr x0, [sp, 40]
ldrb w0, [x0]
cmp w0, 0
bne .L71
b .L70
.L79:
nop
.L70:
ldr x0, [sp, 40]
strb wzr, [x0]
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
b .L72
.L75:
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 40]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
beq .L80
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L72:
ldr x0, [sp, 40]
ldrb w0, [x0]
cmp w0, 0
bne .L75
b .L74
.L80:
nop
.L74:
ldr x1, [sp, 40]
ldr x0, [sp, 48]
bl add_subst
.L54:
ldr x0, [sp, 24]
bl feof
cmp w0, 0
beq .L76
b .L56
.L78:
nop
.L56:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 2104]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L77
bl __stack_chk_fail
.L77:
ldp x29, x30, [sp]
add sp, sp, 2112
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size parse_config_file, .-parse_config_file
.section .rodata
.align 3
.LC1:
.string "r"
.text
.align 2
.type compare_file, %function
compare_file:
.LFB12:
.cfi_startproc
mov x12, 4176
sub sp, sp, x12
.cfi_def_cfa_offset 4176
stp x29, x30, [sp]
.cfi_offset 29, -4176
.cfi_offset 30, -4168
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, 4168]
mov x1, 0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 24]
bl fopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L82
mov w0, 0
b .L89
.L82:
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 16]
bl fopen
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
bne .L84
ldr x0, [sp, 40]
bl fclose
mov w0, 0
b .L89
.L84:
add x0, sp, 72
ldr x2, [sp, 40]
mov w1, 2048
bl fgets
str x0, [sp, 56]
add x0, sp, 2120
ldr x2, [sp, 48]
mov w1, 2048
bl fgets
str x0, [sp, 64]
ldr x0, [sp, 56]
cmp x0, 0
bne .L85
ldr x0, [sp, 64]
cmp x0, 0
bne .L85
mov w0, 1
str w0, [sp, 36]
b .L86
.L85:
ldr x0, [sp, 56]
cmp x0, 0
beq .L87
ldr x0, [sp, 64]
cmp x0, 0
beq .L87
add x1, sp, 2120
add x0, sp, 72
bl strcmp
cmp w0, 0
beq .L84
.L87:
str wzr, [sp, 36]
.L86:
ldr x0, [sp, 40]
bl fclose
ldr x0, [sp, 48]
bl fclose
ldr w0, [sp, 36]
.L89:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 4168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L90
bl __stack_chk_fail
.L90:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 4176
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size compare_file, .-compare_file
.section .rodata
.align 3
.LC2:
.string "%s: [-f config-file] [file]\n"
.align 3
.LC3:
.string "f:tv"
.align 3
.LC4:
.string "Memory error! Exiting.\n"
.align 3
.LC5:
.string ".new"
.align 3
.LC6:
.string "w"
.align 3
.LC7:
.string "No change, keeping %s.\n"
.align 3
.LC8:
.string "Updating modtime for %s\n"
.align 3
.LC9:
.string "utime"
.align 3
.LC10:
.string "Creating or replacing %s.\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB13:
.cfi_startproc
sub sp, sp, #2416
.cfi_def_cfa_offset 2416
stp x29, x30, [sp]
.cfi_offset 29, -2416
.cfi_offset 30, -2408
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, 2408]
mov x1, 0
str xzr, [sp, 72]
str xzr, [sp, 80]
str wzr, [sp, 44]
str wzr, [sp, 48]
b .L92
.L98:
ldr w0, [sp, 52]
cmp w0, 118
beq .L93
ldr w0, [sp, 52]
cmp w0, 118
bgt .L94
ldr w0, [sp, 52]
cmp w0, 102
beq .L95
ldr w0, [sp, 52]
cmp w0, 116
beq .L96
b .L94
.L95:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x2, [x0]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x2
bl fopen
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L97
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl perror
mov w0, 1
bl exit
.L97:
ldr x0, [sp, 56]
bl parse_config_file
ldr x0, [sp, 56]
bl fclose
b .L92
.L96:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
b .L92
.L93:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
b .L92
.L94:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 16]
ldr x0, [x0]
mov x2, x0
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl fprintf
nop
.L92:
adrp x0, .LC3
add x2, x0, :lo12:.LC3
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl getopt
str w0, [sp, 52]
ldr w0, [sp, 52]
cmn w0, #1
bne .L98
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
ble .L99
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x2, [x0]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x2
bl fopen
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L100
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x0, [x0]
bl perror
mov w0, 1
bl exit
.L100:
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
add w1, w0, 1
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
str w1, [x0]
b .L101
.L99:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
str x0, [sp, 56]
.L101:
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
ble .L102
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x0, [x0]
str x0, [sp, 72]
ldr x0, [sp, 72]
bl strlen
add x0, x0, 20
bl malloc
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L103
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 24
mov x1, 1
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl fwrite
mov w0, 1
bl exit
.L103:
ldr x1, [sp, 72]
ldr x0, [sp, 80]
bl strcpy
ldr x0, [sp, 80]
bl strlen
mov x1, x0
ldr x0, [sp, 80]
add x2, x0, x1
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov x0, x2
ldr w2, [x1]
str w2, [x0]
ldrb w1, [x1, 4]
strb w1, [x0, 4]
adrp x0, .LC6
add x1, x0, :lo12:.LC6
ldr x0, [sp, 80]
bl fopen
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L105
ldr x0, [sp, 80]
bl perror
mov w0, 1
bl exit
.L102:
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
str x0, [sp, 64]
str xzr, [sp, 72]
b .L105
.L108:
add x0, sp, 360
ldr x2, [sp, 56]
mov w1, 2048
bl fgets
cmp x0, 0
beq .L119
add x0, sp, 360
bl substitute_line
add x0, sp, 360
ldr x1, [sp, 64]
bl fputs
.L105:
ldr x0, [sp, 56]
bl feof
cmp w0, 0
beq .L108
b .L107
.L119:
nop
.L107:
ldr x0, [sp, 56]
bl fclose
ldr x0, [sp, 64]
bl fclose
ldr x0, [sp, 72]
cmp x0, 0
beq .L109
ldr x1, [sp, 80]
ldr x0, [sp, 72]
bl compare_file
cmp w0, 0
beq .L110
ldr w0, [sp, 44]
cmp w0, 0
beq .L111
ldr x1, [sp, 72]
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
.L111:
ldr w0, [sp, 48]
cmp w0, 0
beq .L112
add x0, sp, 104
mov x1, x0
ldr x0, [sp, 72]
bl stat
cmp w0, 0
bne .L112
ldr w0, [sp, 44]
cmp w0, 0
beq .L113
ldr x1, [sp, 72]
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
.L113:
ldr x0, [sp, 176]
str x0, [sp, 88]
mov x0, 0
bl time
str x0, [sp, 96]
add x0, sp, 88
mov x1, x0
ldr x0, [sp, 72]
bl utime
cmp w0, 0
bge .L112
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl perror
.L112:
ldr x0, [sp, 80]
bl unlink
b .L114
.L110:
ldr w0, [sp, 44]
cmp w0, 0
beq .L115
ldr x1, [sp, 72]
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
.L115:
ldr x1, [sp, 72]
ldr x0, [sp, 80]
bl rename
.L114:
add x0, sp, 232
mov x1, x0
ldr x0, [sp, 72]
bl stat
cmp w0, 0
bne .L109
ldr w1, [sp, 248]
mov w0, -147
and w0, w1, w0
mov w1, w0
ldr x0, [sp, 72]
bl chmod
.L109:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 2408]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L118
bl __stack_chk_fail
.L118:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 2416
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size main, .-main
.local replace_name.0
.comm replace_name.0,128,8
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global sigprocmask
.type sigprocmask, %function
sigprocmask:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
bl __errno_location
mov x1, x0
mov w0, 38
str w0, [x1]
mov w0, -1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size sigprocmask, .-sigprocmask
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global port_data
.bss
.align 3
.type port_data, %object
.size port_data, 8
port_data:
.zero 8
.section .rodata
.align 3
.LC0:
.string "Unknown error %d"
.text
.align 2
.global strerror
.type strerror, %function
strerror:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
bne .L2
adrp x0, msgstr.0
add x0, x0, :lo12:msgstr.0
strb wzr, [x0]
b .L3
.L2:
ldr w0, [sp, 28]
cmp w0, 0
ble .L4
adrp x0, :got:sys_nerr
ldr x0, [x0, #:got_lo12:sys_nerr]
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
bge .L4
adrp x0, :got:sys_errlist
ldr x0, [x0, #:got_lo12:sys_errlist]
ldrsw x1, [sp, 28]
ldr x0, [x0, x1, lsl 3]
mov x1, x0
adrp x0, msgstr.0
add x0, x0, :lo12:msgstr.0
bl strcpy
b .L3
.L4:
ldr w2, [sp, 28]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, msgstr.0
add x0, x0, :lo12:msgstr.0
bl sprintf
.L3:
adrp x0, msgstr.0
add x0, x0, :lo12:msgstr.0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size strerror, .-strerror
.section .rodata
.align 3
.LC1:
.string "Couldn't malloc for port_data"
.align 3
.LC2:
.string "%s: missing header size for -h\n"
.align 3
.LC3:
.string "%s: illegal packet header size: %c\n"
.align 3
.LC4:
.string "Unrecognized switch: %s\n"
.text
.align 2
.global main
.type main, %function
main:
.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 x19, [sp, 16]
.cfi_offset 19, -48
str w0, [sp, 44]
str x1, [sp, 32]
mov x0, 72
bl malloc
mov x1, x0
adrp x0, port_data
add x0, x0, :lo12:port_data
str x1, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
cmp x0, 0
bne .L7
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 29
mov x1, 1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fwrite
mov w0, 1
bl exit
.L7:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
str wzr, [x0, 8]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
str wzr, [x0, 32]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
str wzr, [x0, 36]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
str wzr, [x0, 40]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
str wzr, [x0, 44]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
str wzr, [x0, 48]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
str xzr, [x0, 56]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
str wzr, [x0, 64]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x1, [sp, 32]
ldr x1, [x1]
str x1, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
str wzr, [x0, 12]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
mov w1, 1
str w1, [x0, 16]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
str wzr, [x0, 68]
b .L8
.L30:
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 115
beq .L9
cmp w0, 115
bgt .L10
cmp w0, 114
beq .L11
cmp w0, 114
bgt .L10
cmp w0, 113
beq .L12
cmp w0, 113
bgt .L10
cmp w0, 111
beq .L13
cmp w0, 111
bgt .L10
cmp w0, 110
beq .L14
cmp w0, 110
bgt .L10
cmp w0, 108
beq .L15
cmp w0, 108
bgt .L10
cmp w0, 104
beq .L16
cmp w0, 104
bgt .L10
cmp w0, 101
beq .L17
cmp w0, 101
bgt .L10
cmp w0, 100
beq .L18
cmp w0, 100
bgt .L10
cmp w0, 98
beq .L19
cmp w0, 99
beq .L20
b .L10
.L19:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
mov w1, 1
str w1, [x0, 40]
b .L21
.L20:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 16]
bl close
b .L21
.L18:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
mov w1, 1
str w1, [x0, 36]
b .L21
.L14:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
mov w1, 1
str w1, [x0, 64]
b .L21
.L13:
ldr x0, [sp, 32]
add x0, x0, 8
ldr x1, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
add x1, x1, 2
str x1, [x0, 56]
b .L21
.L12:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
mov w1, 1
str w1, [x0, 44]
b .L21
.L11:
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 2
bl generate_reply
b .L21
.L9:
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
add x1, x0, 2
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x19, [x0]
mov x0, x1
bl atoi
str w0, [x19, 48]
b .L21
.L16:
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 2
ldrb w0, [x0]
cmp w0, 52
beq .L22
cmp w0, 52
bgt .L23
cmp w0, 50
beq .L24
cmp w0, 50
bgt .L23
cmp w0, 49
beq .L25
cmp w0, 49
bgt .L23
cmp w0, 0
beq .L26
cmp w0, 48
bne .L23
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
str wzr, [x0, 8]
b .L27
.L25:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
mov w1, 1
str w1, [x0, 8]
b .L27
.L24:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
mov w1, 2
str w1, [x0, 8]
b .L27
.L22:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
mov w1, 4
str w1, [x0, 8]
b .L27
.L26:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0]
mov x2, x0
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl fprintf
mov w0, 1
b .L28
.L23:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x1, [x0]
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
add x0, x0, 2
ldrb w0, [x0]
mov w3, w0
mov x2, x1
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x4
bl fprintf
mov w0, 1
b .L28
.L27:
b .L21
.L17:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
mov w1, 2
str w1, [x0, 16]
b .L21
.L15:
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
add x1, x0, 2
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x19, [x0]
mov x0, x1
bl atoi
str w0, [x19, 68]
b .L21
.L10:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
mov x2, x0
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov x0, x3
bl fprintf
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
bl free
mov w0, 1
bl exit
.L21:
ldr w0, [sp, 44]
sub w0, w0, #1
str w0, [sp, 44]
ldr x0, [sp, 32]
add x0, x0, 8
str x0, [sp, 32]
.L8:
ldr w0, [sp, 44]
cmp w0, 1
ble .L29
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 45
beq .L30
.L29:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 64]
cmp w0, 0
beq .L31
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
bl free
mov w0, 0
bl exit
.L31:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 56]
cmp x0, 0
beq .L32
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 56]
bl replace_stdout
.L32:
bl packet_loop
str w0, [sp, 60]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 32]
cmp w0, 0
ble .L33
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 24]
bl free
.L33:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
bl free
ldr w0, [sp, 60]
.L28:
ldr x19, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
.section .rodata
.align 3
.LC5:
.string "Error reading %d bytes: %s\n"
.align 3
.LC6:
.string "%s: couldn't read packet of length %d\r\n"
.align 3
.LC7:
.string "%s: bad packet of length %d received: "
.align 3
.LC8:
.string "\r\n"
.text
.align 2
.type packet_loop, %function
packet_loop:
.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 x19, [sp, 16]
.cfi_offset 19, -32
str wzr, [sp, 32]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x19, [x0]
mov x0, 1
bl malloc
str x0, [x19, 24]
.L54:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L35
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 68]
cmp w0, 0
beq .L36
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w1, [x0, 68]
ldr w0, [sp, 32]
sub w0, w1, w0
cmp w0, 4095
bgt .L36
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w1, [x0, 68]
ldr w0, [sp, 32]
sub w0, w1, w0
str w0, [sp, 36]
b .L38
.L36:
mov w0, 4096
str w0, [sp, 36]
b .L38
.L35:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
bl ensure_buf_big_enough
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w3, [x0, 12]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x1, [x0, 24]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
mov w2, w0
mov w0, w3
bl readn
mov w1, w0
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w1, w0
beq .L39
mov w0, 1
b .L40
.L39:
str wzr, [sp, 36]
str wzr, [sp, 40]
b .L41
.L42:
ldr w0, [sp, 36]
lsl w0, w0, 8
adrp x1, port_data
add x1, x1, :lo12:port_data
ldr x1, [x1]
ldr x2, [x1, 24]
ldrsw x1, [sp, 40]
add x1, x2, x1
ldrb w1, [x1]
orr w0, w0, w1
str w0, [sp, 36]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L41:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
ldr w1, [sp, 40]
cmp w1, w0
blt .L42
.L38:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 36]
cmp w0, 0
beq .L43
mov w0, 5000
bl delay
.L43:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 44]
cmp w0, 0
beq .L44
mov w0, 1
b .L40
.L44:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 40]
cmp w0, 0
beq .L45
mov w0, 0
bl close
mov w0, 32000
bl delay
mov w0, 1
b .L40
.L45:
ldr w0, [sp, 36]
add w0, w0, 5
bl ensure_buf_big_enough
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 24]
add x0, x0, 4
strb wzr, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L46
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w3, [x0, 12]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 24]
add x0, x0, 4
ldrsw x1, [sp, 36]
mov x2, x1
mov x1, x0
mov w0, w3
bl read
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bne .L47
mov w0, 1
b .L40
.L47:
ldr w0, [sp, 44]
cmp w0, 0
bge .L48
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 w2, [sp, 36]
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov x0, x19
bl fprintf
mov w0, 1
b .L40
.L48:
ldr w1, [sp, 32]
ldr w0, [sp, 44]
add w0, w1, w0
str w0, [sp, 32]
b .L49
.L46:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w3, [x0, 12]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 24]
add x0, x0, 4
ldr w2, [sp, 36]
mov x1, x0
mov w0, w3
bl readn
str w0, [sp, 44]
ldr w1, [sp, 44]
ldr w0, [sp, 36]
cmp w1, w0
beq .L49
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0]
ldr w3, [sp, 36]
mov x2, x0
adrp x0, .LC6
add x1, x0, :lo12:.LC6
mov x0, x4
bl fprintf
mov w0, 1
b .L40
.L49:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L50
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 24]
add x0, x0, 4
ldr w1, [sp, 44]
bl reply
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 68]
cmp w0, 0
beq .L54
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 68]
ldr w1, [sp, 32]
cmp w1, w0
blt .L54
mov w0, 5000
bl delay
mov w0, 0
b .L40
.L50:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 24]
add x0, x0, 4
ldrb w0, [x0]
cmp w0, 101
beq .L52
cmp w0, 112
bne .L53
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 24]
add x0, x0, 4
mov w1, 80
strb w1, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 24]
add x0, x0, 4
ldr w1, [sp, 44]
bl reply
b .L51
.L52:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 24]
add x0, x0, 4
ldr w1, [sp, 44]
bl reply
b .L51
.L53:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0]
ldr w3, [sp, 44]
mov x2, x0
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, x4
bl fprintf
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 24]
add x0, x0, 4
mov w2, 10
ldr w1, [sp, 44]
bl dump
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 2
mov x1, 1
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl fwrite
mov w0, 1
b .L40
.L51:
b .L54
.L40:
ldr x19, [sp, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size packet_loop, .-packet_loop
.align 2
.type reply, %function
reply:
.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 w1, [sp, 20]
ldr w0, [sp, 20]
str w0, [sp, 40]
str wzr, [sp, 44]
b .L56
.L57:
ldr x0, [sp, 24]
sub x0, x0, #1
str x0, [sp, 24]
ldr w0, [sp, 40]
and w1, w0, 255
ldr x0, [sp, 24]
strb w1, [x0]
ldr w0, [sp, 40]
asr w0, w0, 8
str w0, [sp, 40]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L56:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
ldr w1, [sp, 44]
cmp w1, w0
blt .L57
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
ldr w1, [sp, 20]
add w0, w1, w0
str w0, [sp, 20]
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl write_reply
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size reply, .-reply
.align 2
.type write_reply, %function
write_reply:
.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]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 48]
cmp w0, 0
bgt .L61
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 16]
ldrsw x1, [sp, 20]
mov x2, x1
ldr x1, [sp, 24]
bl write
b .L63
.L62:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 48]
ldr w2, [sp, 20]
ldr w1, [sp, 20]
cmp w2, w0
csel w0, w1, w0, le
str w0, [sp, 44]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 16]
ldrsw x1, [sp, 44]
mov x2, x1
ldr x1, [sp, 24]
bl write
ldr w1, [sp, 20]
ldr w0, [sp, 44]
sub w0, w1, w0
str w0, [sp, 20]
ldrsw x0, [sp, 44]
ldr x1, [sp, 24]
add x0, x1, x0
str x0, [sp, 24]
ldr w0, [sp, 20]
cmp w0, 0
beq .L61
mov w0, 500
bl delay
.L61:
ldr w0, [sp, 20]
cmp w0, 0
bgt .L62
.L63:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size write_reply, .-write_reply
.section .rodata
.align 3
.LC9:
.string "%s: insufficient memory for i/o buffer of size %d\n"
.text
.align 2
.type ensure_buf_big_enough, %function
ensure_buf_big_enough:
.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 x19, [sp, 16]
.cfi_offset 19, -32
str w0, [sp, 44]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 32]
ldr w1, [sp, 44]
cmp w1, w0
ble .L68
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x2, [x0, 24]
ldrsw x1, [sp, 44]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x19, [x0]
mov x0, x2
bl realloc
str x0, [x19, 24]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0, 24]
cmp x0, 0
bne .L67
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0]
ldr w3, [sp, 44]
mov x2, x0
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov x0, x4
bl fprintf
mov w0, 1
bl exit
.L67:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w1, [sp, 44]
str w1, [x0, 32]
b .L64
.L68:
nop
.L64:
ldr x19, [sp, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size ensure_buf_big_enough, .-ensure_buf_big_enough
.align 2
.type readn, %function
readn:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
str w2, [sp, 24]
str wzr, [sp, 40]
.L72:
ldrsw x0, [sp, 40]
ldr x1, [sp, 16]
add x3, x1, x0
ldr w1, [sp, 24]
ldr w0, [sp, 40]
sub w0, w1, w0
sxtw x0, w0
mov x2, x0
mov x1, x3
ldr w0, [sp, 28]
bl read
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bgt .L70
ldr w0, [sp, 44]
b .L71
.L70:
ldr w1, [sp, 40]
ldr w0, [sp, 44]
add w0, w1, w0
str w0, [sp, 40]
ldr w1, [sp, 40]
ldr w0, [sp, 24]
cmp w1, w0
blt .L72
ldr w0, [sp, 40]
.L71:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size readn, .-readn
.section .rodata
.align 3
.LC10:
.string "%s: failed to open %s for writing: %d\n"
.align 3
.LC11:
.string "%s: failed to duplicate handle %d to 1: %d\n"
.text
.align 2
.type replace_stdout, %function
replace_stdout:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -48
.cfi_offset 20, -40
str x0, [sp, 40]
mov w2, 438
mov w1, 577
ldr x0, [sp, 40]
bl open
str w0, [sp, 60]
ldr w0, [sp, 60]
cmn w0, #1
bne .L74
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
mov w4, w0
ldr x3, [sp, 40]
mov x2, x20
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov x0, x19
bl fprintf
mov w0, 1
bl exit
.L74:
mov w1, 1
ldr w0, [sp, 60]
bl dup2
cmn w0, #1
bne .L76
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
mov w4, w0
ldr w3, [sp, 60]
mov x2, x20
adrp x0, .LC11
add x1, x0, :lo12:.LC11
mov x0, x19
bl fprintf
mov w0, 1
bl exit
.L76:
nop
ldp x19, x20, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size replace_stdout, .-replace_stdout
.section .rodata
.align 3
.LC12:
.string ",..."
.align 3
.LC13:
.string "%u%s"
.align 3
.LC14:
.string "%c%s"
.text
.align 2
.type dump, %function
dump:
.LFB14:
.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 w2, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
mov w0, 44
strb w0, [sp, 48]
strb wzr, [sp, 49]
ldr w0, [sp, 20]
cmp w0, 0
beq .L90
ldr w1, [sp, 20]
ldr w0, [sp, 16]
cmp w1, w0
ble .L80
ldr w0, [sp, 16]
str w0, [sp, 44]
b .L81
.L80:
ldr w0, [sp, 20]
str w0, [sp, 44]
.L81:
str wzr, [sp, 40]
b .L82
.L88:
ldr w0, [sp, 44]
sub w0, w0, #1
ldr w1, [sp, 40]
cmp w1, w0
bne .L83
ldr w1, [sp, 20]
ldr w0, [sp, 16]
cmp w1, w0
ble .L84
adrp x0, .LC12
add x1, x0, :lo12:.LC12
add x0, sp, 48
ldr w2, [x1]
str w2, [x0]
ldrb w1, [x1, 4]
strb w1, [x0, 4]
b .L83
.L84:
strb wzr, [sp, 48]
.L83:
ldrsw x0, [sp, 40]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
sub w0, w0, #48
cmp w0, 9
bhi .L85
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldrsw x0, [sp, 40]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
add x0, sp, 48
mov x3, x0
mov w2, w1
adrp x0, .LC13
add x1, x0, :lo12:.LC13
mov x0, x4
bl fprintf
b .L86
.L85:
ldrsw x0, [sp, 40]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
bl isalpha
cmp w0, 0
beq .L87
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldrsw x0, [sp, 40]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
add x0, sp, 48
mov x3, x0
mov w2, w1
adrp x0, .LC14
add x1, x0, :lo12:.LC14
mov x0, x4
bl fprintf
b .L86
.L87:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldrsw x0, [sp, 40]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
add x0, sp, 48
mov x3, x0
mov w2, w1
adrp x0, .LC13
add x1, x0, :lo12:.LC13
mov x0, x4
bl fprintf
.L86:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L82:
ldr w1, [sp, 40]
ldr w0, [sp, 44]
cmp w1, w0
blt .L88
b .L77
.L90:
nop
.L77:
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 .L89
bl __stack_chk_fail
.L89:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size dump, .-dump
.align 2
.type delay, %function
delay:
.LFB15:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
ldr w1, [sp, 28]
mov w0, 19923
movk w0, 0x1062, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 6
uxtw x0, w0
str x0, [sp, 40]
ldr w1, [sp, 28]
mov w0, 19923
movk w0, 0x1062, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 6
mov w2, 1000
mul w0, w0, w2
sub w0, w1, w0
mov w1, 1000
mul w0, w0, w1
uxtw x0, w0
str x0, [sp, 48]
add x0, sp, 40
mov x4, x0
mov x3, 0
mov x2, 0
mov x1, 0
mov w0, 0
bl select
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 .L92
bl __stack_chk_fail
.L92:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size delay, .-delay
.section .rodata
.align 3
.LC15:
.string "%s: insufficent memory for reply buffer of size %d\n"
.text
.align 2
.type generate_reply, %function
generate_reply:
.LFB16:
.cfi_startproc
mov x12, 4192
sub sp, sp, x12
.cfi_def_cfa_offset 4192
stp x29, x30, [sp]
.cfi_offset 29, -4192
.cfi_offset 30, -4184
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, 4184]
mov x1, 0
str xzr, [sp, 48]
str wzr, [sp, 32]
b .L94
.L96:
ldrsw x0, [sp, 32]
lsl x0, x0, 4
add x1, sp, 92
mov w2, 1
str w2, [x1, x0]
ldr x0, [sp, 24]
add x1, x0, 1
str x1, [sp, 24]
ldrb w0, [x0]
mov w2, w0
ldrsw x0, [sp, 32]
lsl x0, x0, 4
add x1, sp, 88
str w2, [x1, x0]
ldr x0, [sp, 24]
bl atoi
sxtw x2, w0
ldrsw x0, [sp, 32]
lsl x0, x0, 4
add x1, sp, 96
str x2, [x1, x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
sxtw x1, w0
ldrsw x0, [sp, 32]
lsl x0, x0, 4
add x2, sp, 96
ldr x0, [x2, x0]
add x0, x1, x0
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
mov w1, 58
ldr x0, [sp, 24]
bl strchr
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L95
ldr x0, [sp, 24]
bl strlen
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
str x0, [sp, 24]
b .L94
.L95:
ldr x0, [sp, 80]
strb wzr, [x0]
ldr x0, [sp, 80]
add x0, x0, 1
str x0, [sp, 24]
.L94:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 0
bne .L96
ldr x0, [sp, 48]
bl malloc
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L97
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr x0, [x0]
ldr x3, [sp, 48]
mov x2, x0
adrp x0, .LC15
add x1, x0, :lo12:.LC15
mov x0, x4
bl fprintf
mov w0, 1
bl exit
.L97:
ldr x0, [sp, 72]
str x0, [sp, 56]
str wzr, [sp, 36]
b .L98
.L104:
ldrsw x0, [sp, 36]
lsl x0, x0, 4
add x1, sp, 96
ldr x0, [x1, x0]
str x0, [sp, 64]
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
sxtw x0, w0
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 56]
str wzr, [sp, 44]
b .L99
.L100:
ldr x0, [sp, 56]
sub x0, x0, #1
str x0, [sp, 56]
ldr x0, [sp, 64]
and w1, w0, 255
ldr x0, [sp, 56]
strb w1, [x0]
ldr x0, [sp, 64]
lsr x0, x0, 8
str x0, [sp, 64]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L99:
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
ldr w1, [sp, 44]
cmp w1, w0
blt .L100
adrp x0, port_data
add x0, x0, :lo12:port_data
ldr x0, [x0]
ldr w0, [x0, 8]
sxtw x0, w0
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 56]
ldrsw x0, [sp, 36]
lsl x0, x0, 4
add x1, sp, 88
ldr w0, [x1, x0]
str w0, [sp, 40]
str wzr, [sp, 44]
b .L101
.L103:
ldr x0, [sp, 56]
add x1, x0, 1
str x1, [sp, 56]
ldr w1, [sp, 40]
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 40]
cmp w0, 126
ble .L102
mov w0, 33
str w0, [sp, 40]
.L102:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L101:
ldrsw x1, [sp, 44]
ldrsw x0, [sp, 36]
lsl x0, x0, 4
add x2, sp, 96
ldr x0, [x2, x0]
cmp x1, x0
bcc .L103
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L98:
ldr w1, [sp, 36]
ldr w0, [sp, 32]
cmp w1, w0
blt .L104
ldr x1, [sp, 56]
ldr x0, [sp, 72]
sub x0, x1, x0
mov x1, x0
ldr x0, [sp, 72]
bl write_reply
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 4184]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L105
bl __stack_chk_fail
.L105:
ldp x29, x30, [sp]
mov x12, 4192
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size generate_reply, .-generate_reply
.local msgstr.0
.comm msgstr.0,1024,8
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global concat
.type concat, %function
concat:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -64
str x0, [sp, 56]
str x1, [sp, 48]
strb w2, [sp, 47]
strb w3, [sp, 46]
ldr x0, [sp, 56]
cmp x0, 0
beq .L2
ldr x0, [sp, 48]
cmp x0, 0
bne .L3
.L2:
ldrb w0, [sp, 47]
cmp w0, 0
beq .L4
ldr x0, [sp, 56]
bl free
.L4:
ldrb w0, [sp, 46]
cmp w0, 0
beq .L5
ldr x0, [sp, 48]
bl free
.L5:
mov x0, 0
b .L6
.L3:
ldr x0, [sp, 56]
bl strlen
mov x19, x0
ldr x0, [sp, 48]
bl strlen
add x0, x19, x0
add x0, x0, 1
bl malloc
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
beq .L7
ldr x1, [sp, 56]
ldr x0, [sp, 72]
bl strcpy
ldr x1, [sp, 48]
ldr x0, [sp, 72]
bl strcat
.L7:
ldrb w0, [sp, 47]
cmp w0, 0
beq .L8
ldr x0, [sp, 56]
bl free
.L8:
ldrb w0, [sp, 46]
cmp w0, 0
beq .L9
ldr x0, [sp, 48]
bl free
.L9:
ldr x0, [sp, 72]
.L6:
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
.LFE6:
.size concat, .-concat
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 2
.type PROTOCOL_VERSION, %object
.size PROTOCOL_VERSION, 4
PROTOCOL_VERSION:
.word 70206
.align 2
.type INIT_PROTO_VERSION, %object
.size INIT_PROTO_VERSION, 4
INIT_PROTO_VERSION:
.word 209
.align 2
.type GETHEADERS_VERSION, %object
.size GETHEADERS_VERSION, 4
GETHEADERS_VERSION:
.word 70077
.align 2
.type MIN_PEER_PROTO_VERSION, %object
.size MIN_PEER_PROTO_VERSION, 4
MIN_PEER_PROTO_VERSION:
.word 70206
.align 2
.type CADDR_TIME_VERSION, %object
.size CADDR_TIME_VERSION, 4
CADDR_TIME_VERSION:
.word 31402
.align 2
.type NOBLKS_VERSION_START, %object
.size NOBLKS_VERSION_START, 4
NOBLKS_VERSION_START:
.word 32000
.align 2
.type NOBLKS_VERSION_END, %object
.size NOBLKS_VERSION_END, 4
NOBLKS_VERSION_END:
.word 32400
.align 2
.type BIP0031_VERSION, %object
.size BIP0031_VERSION, 4
BIP0031_VERSION:
.word 60000
.align 2
.type MEMPOOL_GD_VERSION, %object
.size MEMPOOL_GD_VERSION, 4
MEMPOOL_GD_VERSION:
.word 60002
.align 2
.type NO_BLOOM_VERSION, %object
.size NO_BLOOM_VERSION, 4
NO_BLOOM_VERSION:
.word 70201
.align 2
.type SENDHEADERS_VERSION, %object
.size SENDHEADERS_VERSION, 4
SENDHEADERS_VERSION:
.word 70201
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
mov w0, 4096
str w0, [sp, 28]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
str x0, [sp, 32]
ldr x0, [sp, 32]
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 32]
bl malloc
str x0, [sp, 48]
ldr x0, [sp, 32]
bl malloc
str x0, [sp, 56]
str wzr, [sp, 24]
b .L2
.L3:
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w2, [x0]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 48]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x3, [sp, 56]
add x0, x3, x0
add w1, w2, w1
str w1, [x0]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L2:
ldr w1, [sp, 24]
ldr w0, [sp, 28]
cmp w1, w0
blt .L3
ldr x0, [sp, 40]
bl free
ldr x0, [sp, 48]
bl free
ldr x0, [sp, 56]
bl free
mov w0, 0
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Inside bar %d\n"
.text
.align 2
.global bar
.type bar, %function
bar:
.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]
str w1, [sp, 20]
ldr w1, [sp, 20]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl longjmp
.cfi_endproc
.LFE0:
.size bar, .-bar
.section .rodata
.align 3
.LC1:
.string "returning from bar == %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -352]!
.cfi_def_cfa_offset 352
.cfi_offset 29, -352
.cfi_offset 30, -344
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 344]
mov x1, 0
add x0, sp, 32
bl _setjmp
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
beq .L4
ldr w1, [sp, 28]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 32
bl _setjmp
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
beq .L5
ldr w1, [sp, 28]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L6
.L5:
add x0, sp, 32
mov w1, 927
bl bar
b .L6
.L4:
add x0, sp, 32
mov w1, 37
bl bar
.L6:
mov w0, 0
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 .L8
bl __stack_chk_fail
.L8:
mov w0, w1
ldp x29, x30, [sp], 352
.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 scmp
.type scmp, %function
scmp:
.LFB6:
.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]
sub w0, w1, w0
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size scmp, .-scmp
.align 2
.global med
.type med, %function
med:
.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 x19, [sp, 16]
.cfi_offset 19, -80
str x0, [sp, 56]
str w1, [sp, 52]
str w2, [sp, 48]
str w3, [sp, 44]
ldr w1, [sp, 44]
ldr w0, [sp, 48]
cmp w1, w0
blt .L4
ldr w1, [sp, 44]
ldr w0, [sp, 52]
sub w0, w1, w0
cmp w0, 5
bgt .L5
.L4:
ldr w1, [sp, 44]
ldr w0, [sp, 52]
sub w0, w1, w0
str w0, [sp, 84]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x4, x1, x0
ldrsw x1, [sp, 84]
adrp x0, scmp
add x3, x0, :lo12:scmp
mov x2, 4
mov x0, x4
bl qsort
ldr w0, [sp, 84]
sub w0, w0, #1
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
mov w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
b .L6
.L5:
ldr w1, [sp, 48]
ldr w0, [sp, 52]
sub w0, w1, w0
cmp w0, 5
bne .L7
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x4, x1, x0
adrp x0, scmp
add x3, x0, :lo12:scmp
mov x2, 4
mov x1, 5
mov x0, x4
bl qsort
ldrsw x0, [sp, 52]
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
b .L6
.L7:
ldr w1, [sp, 44]
ldr w0, [sp, 52]
sub w0, w1, w0
add w0, w0, 4
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 1
asr w0, w0, 31
sub w0, w1, w0
str w0, [sp, 80]
ldrsw x0, [sp, 80]
lsl x0, x0, 2
bl malloc
str x0, [sp, 88]
str wzr, [sp, 76]
b .L8
.L9:
ldr w1, [sp, 76]
mov w0, w1
lsl w0, w0, 2
add w1, w0, w1
ldr w0, [sp, 52]
add w4, w1, w0
ldr w1, [sp, 76]
mov w0, w1
lsl w0, w0, 2
add w1, w0, w1
ldr w0, [sp, 52]
add w0, w1, w0
add w2, w0, 5
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 88]
add x19, x1, x0
ldr w3, [sp, 44]
mov w1, w4
ldr x0, [sp, 56]
bl med
str w0, [x19]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L8:
ldr w1, [sp, 76]
ldr w0, [sp, 80]
cmp w1, w0
blt .L9
ldr w3, [sp, 80]
mov w2, 0
mov w1, 0
ldr x0, [sp, 88]
bl med
.L6:
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
.LFE7:
.size med, .-med
.align 2
.global part
.type part, %function
part:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
ldr w1, [sp, 20]
ldr w0, [sp, 16]
cmp w1, w0
bne .L11
ldr w0, [sp, 20]
b .L12
.L11:
ldr w3, [sp, 16]
ldr w2, [sp, 20]
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl med
str w0, [sp, 56]
ldr w1, [sp, 16]
ldr w0, [sp, 20]
sub w0, w1, w0
str w0, [sp, 60]
str wzr, [sp, 48]
str wzr, [sp, 52]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
bl malloc
str x0, [sp, 64]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
bl malloc
str x0, [sp, 72]
str wzr, [sp, 44]
b .L13
.L16:
ldr w1, [sp, 20]
ldr w0, [sp, 44]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 56]
cmp w1, w0
ble .L14
ldr w1, [sp, 20]
ldr w0, [sp, 44]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x1, x1, x0
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x2, [sp, 64]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
b .L15
.L14:
ldr w1, [sp, 20]
ldr w0, [sp, 44]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 56]
cmp w1, w0
bge .L15
ldr w1, [sp, 20]
ldr w0, [sp, 44]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x1, x1, x0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x2, [sp, 72]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L15:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L13:
ldr w1, [sp, 44]
ldr w0, [sp, 60]
cmp w1, w0
blt .L16
str wzr, [sp, 44]
b .L17
.L18:
ldrsw x0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 64]
add x1, x1, x0
ldr w2, [sp, 20]
ldr w0, [sp, 44]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x2, [sp, 24]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L17:
ldr w1, [sp, 44]
ldr w0, [sp, 48]
cmp w1, w0
blt .L18
ldr w1, [sp, 20]
ldr w0, [sp, 44]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [sp, 56]
str w1, [x0]
ldr w1, [sp, 20]
ldr w0, [sp, 44]
add w0, w1, w0
str w0, [sp, 56]
str wzr, [sp, 44]
b .L19
.L20:
ldrsw x0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 72]
add x1, x1, x0
ldr w2, [sp, 20]
ldr w0, [sp, 44]
add w2, w2, w0
ldr w0, [sp, 48]
add w0, w2, w0
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x2, [sp, 24]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L19:
ldr w1, [sp, 44]
ldr w0, [sp, 52]
cmp w1, w0
blt .L20
ldr w0, [sp, 56]
.L12:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size part, .-part
.align 2
.global ksel
.type ksel, %function
ksel:
.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]
ldr w2, [sp, 32]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl part
str w0, [sp, 60]
ldr w0, [sp, 28]
sub w0, w0, #1
ldr w1, [sp, 60]
cmp w1, w0
bge .L22
ldr w0, [sp, 60]
add w0, w0, 1
ldr w3, [sp, 28]
ldr w2, [sp, 32]
mov w1, w0
ldr x0, [sp, 40]
bl ksel
b .L23
.L22:
ldr w1, [sp, 28]
ldr w0, [sp, 60]
cmp w1, w0
bgt .L24
ldr w3, [sp, 28]
ldr w2, [sp, 60]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl ksel
b .L23
.L24:
ldr w0, [sp, 60]
.L23:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size ksel, .-ksel
.align 2
.global tksl
.type tksl, %function
tksl:
.LFB10:
.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 w2, [sp, 44]
str w3, [sp, 40]
str w4, [sp, 36]
str w5, [sp, 32]
str w6, [sp, 28]
ldr w1, [sp, 40]
ldr w0, [sp, 44]
cmp w1, w0
bne .L26
ldr w1, [sp, 36]
ldr w0, [sp, 32]
cmp w1, w0
beq .L26
ldr w3, [sp, 28]
ldr w2, [sp, 32]
ldr w1, [sp, 36]
ldr x0, [sp, 48]
bl ksel
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 48]
add x0, x1, x0
ldr w0, [x0]
b .L25
.L26:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
cmp w1, w0
bne .L28
ldr w1, [sp, 44]
ldr w0, [sp, 40]
cmp w1, w0
beq .L28
ldr w3, [sp, 28]
ldr w2, [sp, 40]
ldr w1, [sp, 44]
ldr x0, [sp, 56]
bl ksel
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
b .L25
.L28:
ldr w0, [sp, 28]
cmp w0, 1
bgt .L29
ldrsw x0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x2, [sp, 48]
add x0, x2, x0
ldr w0, [x0]
cmp w1, w0
ble .L30
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x1, [sp, 48]
add x0, x1, x0
ldr w0, [x0]
b .L25
.L30:
ldrsw x0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
b .L25
.L29:
ldr w0, [sp, 28]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
mov w3, w0
ldr w2, [sp, 40]
ldr w1, [sp, 44]
ldr x0, [sp, 56]
bl ksel
str w0, [sp, 72]
ldr w0, [sp, 28]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
mov w3, w0
ldr w2, [sp, 32]
ldr w1, [sp, 36]
ldr x0, [sp, 48]
bl ksel
str w0, [sp, 76]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x2, [sp, 48]
add x0, x2, x0
ldr w0, [x0]
cmp w1, w0
ble .L31
ldr w1, [sp, 44]
ldr w0, [sp, 72]
add w2, w1, w0
ldr w1, [sp, 36]
ldr w0, [sp, 76]
add w0, w1, w0
add w3, w0, 1
ldr w1, [sp, 28]
ldr w0, [sp, 76]
sub w0, w1, w0
mov w6, w0
mov w5, w3
ldr w4, [sp, 36]
ldr w3, [sp, 40]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl tksl
b .L25
.L31:
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x2, [sp, 48]
add x0, x2, x0
ldr w0, [x0]
cmp w1, w0
bge .L32
ldr w1, [sp, 44]
ldr w0, [sp, 72]
add w0, w1, w0
add w2, w0, 1
ldr w1, [sp, 36]
ldr w0, [sp, 76]
add w3, w1, w0
ldr w1, [sp, 28]
ldr w0, [sp, 72]
sub w0, w1, w0
mov w6, w0
ldr w5, [sp, 32]
mov w4, w3
mov w3, w2
ldr w2, [sp, 44]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl tksl
b .L25
.L32:
.L25:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size tksl, .-tksl
.section .rodata
.align 3
.LC0:
.string "List 1 :"
.align 3
.LC1:
.string "%d\n"
.align 3
.LC2:
.string "List 2 :"
.align 3
.LC3:
.string "%d th largest element : %d"
.text
.align 2
.global main
.type main, %function
main:
.LFB11:
.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 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, 120]
mov x1, 0
add x0, sp, 80
bl time
bl srand
ldr w0, [sp, 44]
cmp w0, 2
beq .L34
ldr w0, [sp, 44]
cmp w0, 1
bne .L35
.L34:
str wzr, [sp, 52]
str wzr, [sp, 56]
b .L36
.L37:
ldr w1, [sp, 52]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
mov w2, w0
ldr x0, [sp, 32]
add x0, x0, 8
ldr x1, [x0]
ldrsw x0, [sp, 56]
add x0, x1, x0
ldrb w0, [x0]
sub w0, w0, #48
add w0, w2, w0
str w0, [sp, 52]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L36:
ldrsw x19, [sp, 56]
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
bl strlen
cmp x19, x0
bcc .L37
ldrsw x0, [sp, 52]
lsl x0, x0, 2
bl malloc
str x0, [sp, 104]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
bl malloc
str x0, [sp, 112]
str wzr, [sp, 56]
b .L38
.L39:
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 104]
add x19, x1, x0
bl rand
str w0, [x19]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 112]
add x19, x1, x0
bl rand
str w0, [x19]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L38:
ldr w1, [sp, 56]
ldr w0, [sp, 52]
cmp w1, w0
blt .L39
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
str wzr, [sp, 56]
b .L40
.L41:
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 104]
add x0, x1, x0
ldr w0, [x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L40:
ldr w1, [sp, 56]
ldr w0, [sp, 52]
cmp w1, w0
blt .L41
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
str wzr, [sp, 56]
b .L42
.L43:
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 112]
add x0, x1, x0
ldr w0, [x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L42:
ldr w1, [sp, 56]
ldr w0, [sp, 52]
cmp w1, w0
blt .L43
bl rand
mov w1, w0
ldr w0, [sp, 52]
lsl w0, w0, 1
sdiv w2, w1, w0
mul w0, w2, w0
sub w0, w1, w0
str w0, [sp, 56]
ldr w6, [sp, 56]
ldr w5, [sp, 52]
mov w4, 0
ldr w3, [sp, 52]
mov w2, 0
ldr x1, [sp, 112]
ldr x0, [sp, 104]
bl tksl
mov w2, w0
ldr w1, [sp, 56]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
mov w0, 1
b .L44
.L35:
str wzr, [sp, 60]
str wzr, [sp, 64]
str wzr, [sp, 68]
b .L45
.L46:
ldr w1, [sp, 60]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
mov w2, w0
ldr x0, [sp, 32]
add x0, x0, 8
ldr x1, [x0]
ldrsw x0, [sp, 68]
add x0, x1, x0
ldrb w0, [x0]
sub w0, w0, #48
add w0, w2, w0
str w0, [sp, 60]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L45:
ldrsw x19, [sp, 68]
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
bl strlen
cmp x19, x0
bcc .L46
str wzr, [sp, 68]
b .L47
.L48:
ldr w1, [sp, 64]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
mov w2, w0
ldr x0, [sp, 32]
add x0, x0, 16
ldr x1, [x0]
ldrsw x0, [sp, 68]
add x0, x1, x0
ldrb w0, [x0]
sub w0, w0, #48
add w0, w2, w0
str w0, [sp, 64]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L47:
ldrsw x19, [sp, 68]
ldr x0, [sp, 32]
add x0, x0, 16
ldr x0, [x0]
bl strlen
cmp x19, x0
bcc .L48
ldrsw x0, [sp, 64]
lsl x0, x0, 2
bl malloc
str x0, [sp, 88]
ldrsw x0, [sp, 64]
lsl x0, x0, 2
bl malloc
str x0, [sp, 96]
str wzr, [sp, 68]
b .L49
.L52:
str wzr, [sp, 72]
str wzr, [sp, 76]
b .L50
.L51:
ldr w1, [sp, 72]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
mov w2, w0
ldrsw x0, [sp, 68]
add x0, x0, 3
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 76]
add x0, x1, x0
ldrb w0, [x0]
sub w0, w0, #48
add w0, w2, w0
str w0, [sp, 72]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L50:
ldrsw x19, [sp, 76]
ldrsw x0, [sp, 68]
add x0, x0, 3
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
bl strlen
cmp x19, x0
bcc .L51
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 88]
add x0, x1, x0
ldr w1, [sp, 72]
str w1, [x0]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L49:
ldr w1, [sp, 68]
ldr w0, [sp, 64]
cmp w1, w0
blt .L52
str wzr, [sp, 68]
b .L53
.L56:
str wzr, [sp, 72]
str wzr, [sp, 76]
b .L54
.L55:
ldr w1, [sp, 72]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
mov w2, w0
ldr w1, [sp, 68]
ldr w0, [sp, 64]
add w0, w1, w0
sxtw x0, w0
add x0, x0, 3
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 76]
add x0, x1, x0
ldrb w0, [x0]
sub w0, w0, #48
add w0, w2, w0
str w0, [sp, 72]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L54:
ldrsw x19, [sp, 76]
ldr w1, [sp, 68]
ldr w0, [sp, 64]
add w0, w1, w0
sxtw x0, w0
add x0, x0, 3
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
bl strlen
cmp x19, x0
bcc .L55
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 96]
add x0, x1, x0
ldr w1, [sp, 72]
str w1, [x0]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L53:
ldr w1, [sp, 68]
ldr w0, [sp, 64]
cmp w1, w0
blt .L56
ldr w6, [sp, 60]
ldr w5, [sp, 64]
mov w4, 0
ldr w3, [sp, 64]
mov w2, 0
ldr x1, [sp, 96]
ldr x0, [sp, 88]
bl tksl
mov w2, w0
ldr w1, [sp, 60]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
mov w0, 0
.L44:
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 .L57
bl __stack_chk_fail
.L57:
mov w0, w1
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
.LFE11:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "cub of %.0f = %.0f"
.text
.align 2
.global cubic
.type cubic, %function
cubic:
.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 s0, [sp, 28]
ldr s0, [sp, 28]
fmul s0, s0, s0
ldr s1, [sp, 28]
fmul s0, s1, s0
str s0, [sp, 44]
ldr s0, [sp, 28]
fcvt d2, s0
ldr s0, [sp, 44]
fcvt d0, s0
fmov d1, d0
fmov d0, d2
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
.LFE6:
.size cubic, .-cubic
.section .rodata
.align 3
.LC1:
.string "%f"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
add x0, sp, 20
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr s0, [sp, 20]
bl cubic
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
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global feholdexcept
.type feholdexcept, %function
feholdexcept:
.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 fegetenv
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size feholdexcept, .-feholdexcept
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global f
.type f, %function
f:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
ble .L2
ldr w0, [sp, 28]
sub w0, w0, #1
bl f
str w0, [sp, 28]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
ldr w0, [sp, 28]
cmp w0, 0
bge .L3
str wzr, [sp, 28]
.L3:
ldr w0, [sp, 28]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size f, .-f
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global FD_CLR
.type FD_CLR, %function
FD_CLR:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str x1, [sp]
ldr w0, [sp, 12]
add w1, w0, 63
cmp w0, 0
csel w0, w1, w0, lt
asr w0, w0, 6
mov w3, w0
ldr x0, [sp]
sxtw x1, w3
ldr x1, [x0, x1, lsl 3]
ldr w0, [sp, 12]
and w0, w0, 63
mov x2, 1
lsl x0, x2, x0
mvn x0, x0
and x2, x1, x0
ldr x0, [sp]
sxtw x1, w3
str x2, [x0, x1, lsl 3]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size FD_CLR, .-FD_CLR
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global test_vshrn_ns32
.type test_vshrn_ns32, %function
test_vshrn_ns32:
.LFB4340:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
ldr q0, [sp, 16]
str q0, [sp, 32]
ldr q0, [sp, 32]
shrn v0.4h, v0.4s, 1
str d0, [sp, 8]
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4340:
.size test_vshrn_ns32, .-test_vshrn_ns32
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.data
.align 3
.type junk, %object
.size junk, 30
junk:
.string "\n@(#)LIBF77 VERSION 19990503\n"
.text
.align 2
.type spow_ui, %function
spow_ui:
.LFB10:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
str w0, [sp, 8]
fmov s0, 1.0e+0
str s0, [sp, 20]
ldr w0, [sp, 8]
cmp w0, 0
beq .L2
ldr w0, [sp, 8]
cmp w0, 0
bge .L3
ldr w0, [sp, 8]
neg w0, w0
str w0, [sp, 8]
ldr s0, [sp, 12]
fmov s1, 1.0e+0
fdiv s0, s1, s0
str s0, [sp, 12]
.L3:
ldrsw x0, [sp, 8]
str x0, [sp, 24]
.L7:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L4
ldr s1, [sp, 20]
ldr s0, [sp, 12]
fmul s0, s1, s0
str s0, [sp, 20]
.L4:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L9
ldr s0, [sp, 12]
fmul s0, s0, s0
str s0, [sp, 12]
b .L7
.L9:
nop
.L2:
ldr s0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size spow_ui, .-spow_ui
.align 2
.type dpow_ui, %function
dpow_ui:
.LFB11:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str d0, [sp, 8]
str w0, [sp, 4]
fmov d0, 1.0e+0
str d0, [sp, 16]
ldr w0, [sp, 4]
cmp w0, 0
beq .L11
ldr w0, [sp, 4]
cmp w0, 0
bge .L12
ldr w0, [sp, 4]
neg w0, w0
str w0, [sp, 4]
ldr d0, [sp, 8]
fmov d1, 1.0e+0
fdiv d0, d1, d0
str d0, [sp, 8]
.L12:
ldrsw x0, [sp, 4]
str x0, [sp, 24]
.L16:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L13
ldr d1, [sp, 16]
ldr d0, [sp, 8]
fmul d0, d1, d0
str d0, [sp, 16]
.L13:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L18
ldr d0, [sp, 8]
fmul d0, d0, d0
str d0, [sp, 8]
b .L16
.L18:
nop
.L11:
ldr d0, [sp, 16]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size dpow_ui, .-dpow_ui
.align 2
.type cpow_ui, %function
cpow_ui:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
fmov s2, s0
fmov s0, s1
fmov s1, s2
str s1, [sp, 24]
str s0, [sp, 28]
str w0, [sp, 20]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
fmov s0, 1.0e+0
str s0, [sp, 56]
str wzr, [sp, 60]
ldr w0, [sp, 20]
cmp w0, 0
beq .L27
ldr w0, [sp, 20]
cmp w0, 0
bge .L21
ldr w0, [sp, 20]
neg w0, w0
str w0, [sp, 20]
ldr s3, [sp, 36]
ldr s2, [sp, 32]
movi v1.2s, #0
fmov s0, 1.0e+0
bl __divsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 24]
str s0, [sp, 28]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
.L21:
ldrsw x0, [sp, 20]
str x0, [sp, 48]
str wzr, [sp, 44]
fmov s0, 1.0e+0
str s0, [sp, 40]
.L25:
ldr x0, [sp, 48]
and x0, x0, 1
cmp x0, 0
beq .L22
ldr s3, [sp, 36]
ldr s2, [sp, 32]
ldr s1, [sp, 44]
ldr s0, [sp, 40]
bl __mulsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 56]
str s0, [sp, 60]
ldr s0, [sp, 56]
str s0, [sp, 40]
ldr s0, [sp, 60]
str s0, [sp, 44]
.L22:
ldr x0, [sp, 48]
lsr x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L28
ldr s3, [sp, 36]
ldr s2, [sp, 32]
ldr s1, [sp, 36]
ldr s0, [sp, 32]
bl __mulsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 24]
str s0, [sp, 28]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
b .L25
.L27:
str wzr, [sp, 44]
fmov s0, 1.0e+0
str s0, [sp, 40]
b .L20
.L28:
nop
.L20:
ldr s1, [sp, 40]
ldr s0, [sp, 44]
fmov s2, s1
fmov s1, s0
fmov s0, s2
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size cpow_ui, .-cpow_ui
.align 2
.type zpow_ui, %function
zpow_ui:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
fmov d2, d0
fmov d0, d1
fmov d1, d2
str d1, [sp, 32]
str d0, [sp, 40]
str w0, [sp, 28]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
fmov d0, 1.0e+0
str d0, [sp, 96]
str xzr, [sp, 104]
ldr w0, [sp, 28]
cmp w0, 0
beq .L37
ldr w0, [sp, 28]
cmp w0, 0
bge .L31
ldr w0, [sp, 28]
neg w0, w0
str w0, [sp, 28]
ldr d3, [sp, 72]
ldr d2, [sp, 64]
movi d1, #0
fmov d0, 1.0e+0
bl __divdc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 32]
str d0, [sp, 40]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
.L31:
ldrsw x0, [sp, 28]
str x0, [sp, 56]
str xzr, [sp, 88]
fmov d0, 1.0e+0
str d0, [sp, 80]
.L35:
ldr x0, [sp, 56]
and x0, x0, 1
cmp x0, 0
beq .L32
ldr d3, [sp, 72]
ldr d2, [sp, 64]
ldr d1, [sp, 88]
ldr d0, [sp, 80]
bl __muldc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 96]
str d0, [sp, 104]
ldr d0, [sp, 96]
str d0, [sp, 80]
ldr d0, [sp, 104]
str d0, [sp, 88]
.L32:
ldr x0, [sp, 56]
lsr x0, x0, 1
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L38
ldr d3, [sp, 72]
ldr d2, [sp, 64]
ldr d1, [sp, 72]
ldr d0, [sp, 64]
bl __muldc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 32]
str d0, [sp, 40]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
b .L35
.L37:
str xzr, [sp, 88]
fmov d0, 1.0e+0
str d0, [sp, 80]
b .L30
.L38:
nop
.L30:
ldr d1, [sp, 80]
ldr d0, [sp, 88]
fmov d2, d1
fmov d1, d0
fmov d0, d2
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size zpow_ui, .-zpow_ui
.align 2
.type pow_ii, %function
pow_ii:
.LFB14:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str w1, [sp, 8]
ldr w0, [sp, 8]
cmp w0, 0
bgt .L40
ldr w0, [sp, 8]
cmp w0, 0
beq .L41
ldr w0, [sp, 12]
cmp w0, 1
bne .L42
.L41:
mov w0, 1
str w0, [sp, 20]
b .L40
.L42:
ldr w0, [sp, 12]
cmn w0, #1
beq .L43
ldr w0, [sp, 12]
cmp w0, 0
bne .L44
mov w1, 1
ldr w0, [sp, 12]
sdiv w0, w1, w0
b .L45
.L44:
mov w0, 0
.L45:
str w0, [sp, 20]
b .L40
.L43:
ldr w0, [sp, 8]
neg w0, w0
str w0, [sp, 8]
.L40:
ldr w0, [sp, 8]
cmp w0, 0
bgt .L46
ldr w0, [sp, 8]
cmp w0, 0
beq .L47
ldr w0, [sp, 12]
cmp w0, 1
beq .L47
ldr w0, [sp, 12]
cmn w0, #1
bne .L47
.L46:
ldrsw x0, [sp, 8]
str x0, [sp, 24]
mov w0, 1
str w0, [sp, 20]
.L51:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L48
ldr w1, [sp, 20]
ldr w0, [sp, 12]
mul w0, w1, w0
str w0, [sp, 20]
.L48:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L53
ldr w0, [sp, 12]
mul w0, w0, w0
str w0, [sp, 12]
b .L51
.L53:
nop
.L47:
ldr w0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size pow_ii, .-pow_ii
.align 2
.type dmaxloc_, %function
dmaxloc_:
.LFB15:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str x3, [sp, 8]
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, 40]
ldr w0, [sp, 20]
str w0, [sp, 36]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 32]
b .L55
.L58:
ldrsw x0, [sp, 32]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
ldr d1, [sp, 40]
fcmpe d1, d0
bmi .L60
b .L56
.L60:
ldr w0, [sp, 32]
str w0, [sp, 36]
ldrsw x0, [sp, 32]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
str d0, [sp, 40]
.L56:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L55:
ldr w1, [sp, 32]
ldr w0, [sp, 16]
cmp w1, w0
ble .L58
ldr w1, [sp, 36]
ldr w0, [sp, 20]
sub w0, w1, w0
add w0, w0, 1
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size dmaxloc_, .-dmaxloc_
.align 2
.type smaxloc_, %function
smaxloc_:
.LFB16:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str x3, [sp, 8]
ldrsw x0, [sp, 20]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 36]
ldr w0, [sp, 20]
str w0, [sp, 44]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 40]
b .L62
.L65:
ldrsw x0, [sp, 40]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
ldr s1, [sp, 36]
fcmpe s1, s0
bmi .L67
b .L63
.L67:
ldr w0, [sp, 40]
str w0, [sp, 44]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 36]
.L63:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L62:
ldr w1, [sp, 40]
ldr w0, [sp, 16]
cmp w1, w0
ble .L65
ldr w1, [sp, 44]
ldr w0, [sp, 20]
sub w0, w1, w0
add w0, w0, 1
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size smaxloc_, .-smaxloc_
.data
.align 2
.type c__1, %object
.size c__1, 4
c__1:
.word 1
.section .rodata
.align 3
.LC0:
.string "DGEBD2"
.align 3
.LC1:
.string "Left"
.align 3
.LC2:
.string "Right"
.text
.align 2
.global dgebd2_
.type dgebd2_, %function
dgebd2_:
.LFB21:
.cfi_startproc
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, 16]
.cfi_offset 29, -128
.cfi_offset 30, -120
add x29, sp, 16
str x0, [sp, 104]
str x1, [sp, 96]
str x2, [sp, 88]
str x3, [sp, 80]
str x4, [sp, 72]
str x5, [sp, 64]
str x6, [sp, 56]
str x7, [sp, 48]
ldr x0, [sp, 144]
str x0, [sp, 40]
ldr x0, [sp, 152]
str x0, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 136]
mov x1, 0
ldr x0, [sp, 80]
ldr w0, [x0]
str w0, [sp, 128]
ldr w0, [sp, 128]
add w0, w0, 1
str w0, [sp, 132]
ldrsw x0, [sp, 132]
lsl x0, x0, 3
neg x0, x0
ldr x1, [sp, 88]
add x0, x1, x0
str x0, [sp, 88]
ldr x0, [sp, 72]
sub x0, x0, #8
str x0, [sp, 72]
ldr x0, [sp, 64]
sub x0, x0, #8
str x0, [sp, 64]
ldr x0, [sp, 56]
sub x0, x0, #8
str x0, [sp, 56]
ldr x0, [sp, 48]
sub x0, x0, #8
str x0, [sp, 48]
ldr x0, [sp, 40]
sub x0, x0, #8
str x0, [sp, 40]
ldr x0, [sp, 32]
str wzr, [x0]
ldr x0, [sp, 104]
ldr w0, [x0]
cmp w0, 0
bge .L69
ldr x0, [sp, 32]
mov w1, -1
str w1, [x0]
b .L70
.L69:
ldr x0, [sp, 96]
ldr w0, [x0]
cmp w0, 0
bge .L71
ldr x0, [sp, 32]
mov w1, -2
str w1, [x0]
b .L70
.L71:
ldr x0, [sp, 80]
ldr w1, [x0]
ldr x0, [sp, 104]
ldr w0, [x0]
mov w2, 1
cmp w0, 0
csel w0, w0, w2, gt
cmp w1, w0
bge .L70
ldr x0, [sp, 32]
mov w1, -4
str w1, [x0]
.L70:
ldr x0, [sp, 32]
ldr w0, [x0]
cmp w0, 0
bge .L72
ldr x0, [sp, 32]
ldr w0, [x0]
neg w0, w0
str w0, [sp, 112]
add x0, sp, 112
mov w2, 6
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl xerbla_
mov w0, 0
b .L86
.L72:
ldr x0, [sp, 104]
ldr w1, [x0]
ldr x0, [sp, 96]
ldr w0, [x0]
cmp w1, w0
blt .L74
ldr x0, [sp, 96]
ldr w0, [x0]
str w0, [sp, 112]
mov w0, 1
str w0, [sp, 124]
b .L75
.L79:
ldr x0, [sp, 104]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 116]
ldr w0, [sp, 124]
add w0, w0, 1
str w0, [sp, 120]
ldr w1, [sp, 124]
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x6, x1, x0
ldr x0, [sp, 104]
ldr w1, [x0]
ldr w0, [sp, 120]
cmp w1, w0
csel w1, w1, w0, le
ldr w2, [sp, 124]
ldr w0, [sp, 128]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x2, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
add x5, sp, 116
mov x4, x0
adrp x0, c__1
add x3, x0, :lo12:c__1
mov x1, x6
mov x0, x5
bl dlarfg_
ldr w1, [sp, 124]
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x1, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x2, [sp, 72]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w1, [sp, 124]
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
fmov d0, 1.0e+0
str d0, [x0]
ldr x0, [sp, 96]
ldr w0, [x0]
ldr w1, [sp, 124]
cmp w1, w0
bge .L76
ldr x0, [sp, 104]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 116]
ldr x0, [sp, 96]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
str w0, [sp, 120]
ldr w1, [sp, 124]
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x3, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x4, x1, x0
ldr w0, [sp, 124]
add w1, w0, 1
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x5, x1, x0
ldr x0, [sp, 40]
add x0, x0, 8
add x2, sp, 120
add x1, sp, 116
str x0, [sp]
ldr x7, [sp, 80]
mov x6, x5
mov x5, x4
adrp x0, c__1
add x4, x0, :lo12:c__1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl dlarf_
.L76:
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x1, x1, x0
ldr w2, [sp, 124]
ldr w0, [sp, 128]
mul w2, w2, w0
ldr w0, [sp, 124]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x2, [sp, 88]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr x0, [sp, 96]
ldr w0, [x0]
ldr w1, [sp, 124]
cmp w1, w0
bge .L77
ldr x0, [sp, 96]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
str w0, [sp, 116]
ldr w0, [sp, 124]
add w0, w0, 2
str w0, [sp, 120]
ldr w0, [sp, 124]
add w1, w0, 1
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x5, x1, x0
ldr x0, [sp, 96]
ldr w1, [x0]
ldr w0, [sp, 120]
cmp w1, w0
csel w1, w1, w0, le
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x2, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x1, x1, x0
add x0, sp, 116
mov x4, x1
ldr x3, [sp, 80]
mov x1, x5
bl dlarfg_
ldr w0, [sp, 124]
add w1, w0, 1
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x1, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x2, [sp, 64]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w0, [sp, 124]
add w1, w0, 1
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
fmov d0, 1.0e+0
str d0, [x0]
ldr x0, [sp, 104]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
str w0, [sp, 116]
ldr x0, [sp, 96]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
str w0, [sp, 120]
ldr w0, [sp, 124]
add w1, w0, 1
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x3, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x4, x1, x0
ldr w0, [sp, 124]
add w1, w0, 1
ldr w0, [sp, 124]
add w2, w0, 1
ldr w0, [sp, 128]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x5, x1, x0
ldr x0, [sp, 40]
add x0, x0, 8
add x2, sp, 120
add x1, sp, 116
str x0, [sp]
ldr x7, [sp, 80]
mov x6, x5
mov x5, x4
ldr x4, [sp, 80]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl dlarf_
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 64]
add x1, x1, x0
ldr w0, [sp, 124]
add w2, w0, 1
ldr w0, [sp, 128]
mul w2, w2, w0
ldr w0, [sp, 124]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x2, [sp, 88]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
b .L78
.L77:
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
str xzr, [x0]
.L78:
ldr w0, [sp, 124]
add w0, w0, 1
str w0, [sp, 124]
.L75:
ldr w0, [sp, 112]
ldr w1, [sp, 124]
cmp w1, w0
ble .L79
b .L80
.L74:
ldr x0, [sp, 104]
ldr w0, [x0]
str w0, [sp, 112]
mov w0, 1
str w0, [sp, 124]
b .L81
.L85:
ldr x0, [sp, 96]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 116]
ldr w0, [sp, 124]
add w0, w0, 1
str w0, [sp, 120]
ldr w1, [sp, 124]
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x5, x1, x0
ldr x0, [sp, 96]
ldr w1, [x0]
ldr w0, [sp, 120]
cmp w1, w0
csel w1, w1, w0, le
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x2, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x1, x1, x0
add x0, sp, 116
mov x4, x1
ldr x3, [sp, 80]
mov x1, x5
bl dlarfg_
ldr w1, [sp, 124]
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x1, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x2, [sp, 72]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w1, [sp, 124]
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
fmov d0, 1.0e+0
str d0, [x0]
ldr x0, [sp, 104]
ldr w0, [x0]
ldr w1, [sp, 124]
cmp w1, w0
bge .L82
ldr x0, [sp, 104]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
str w0, [sp, 116]
ldr x0, [sp, 96]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 120]
ldr w1, [sp, 124]
ldr w0, [sp, 128]
mul w1, w1, w0
ldr w0, [sp, 124]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x3, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x4, x1, x0
ldr w0, [sp, 124]
add w1, w0, 1
ldr w2, [sp, 124]
ldr w0, [sp, 128]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x5, x1, x0
ldr x0, [sp, 40]
add x0, x0, 8
add x2, sp, 120
add x1, sp, 116
str x0, [sp]
ldr x7, [sp, 80]
mov x6, x5
mov x5, x4
ldr x4, [sp, 80]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl dlarf_
.L82:
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x1, x1, x0
ldr w2, [sp, 124]
ldr w0, [sp, 128]
mul w2, w2, w0
ldr w0, [sp, 124]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x2, [sp, 88]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr x0, [sp, 104]
ldr w0, [x0]
ldr w1, [sp, 124]
cmp w1, w0
bge .L83
ldr x0, [sp, 104]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
str w0, [sp, 116]
ldr w0, [sp, 124]
add w0, w0, 2
str w0, [sp, 120]
ldr w0, [sp, 124]
add w1, w0, 1
ldr w2, [sp, 124]
ldr w0, [sp, 128]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x6, x1, x0
ldr x0, [sp, 104]
ldr w1, [x0]
ldr w0, [sp, 120]
cmp w1, w0
csel w1, w1, w0, le
ldr w2, [sp, 124]
ldr w0, [sp, 128]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x2, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
add x5, sp, 116
mov x4, x0
adrp x0, c__1
add x3, x0, :lo12:c__1
mov x1, x6
mov x0, x5
bl dlarfg_
ldr w0, [sp, 124]
add w1, w0, 1
ldr w2, [sp, 124]
ldr w0, [sp, 128]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x1, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x2, [sp, 64]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
ldr w0, [sp, 124]
add w1, w0, 1
ldr w2, [sp, 124]
ldr w0, [sp, 128]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
fmov d0, 1.0e+0
str d0, [x0]
ldr x0, [sp, 104]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
str w0, [sp, 116]
ldr x0, [sp, 96]
ldr w1, [x0]
ldr w0, [sp, 124]
sub w0, w1, w0
str w0, [sp, 120]
ldr w0, [sp, 124]
add w1, w0, 1
ldr w2, [sp, 124]
ldr w0, [sp, 128]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x3, x1, x0
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x4, x1, x0
ldr w0, [sp, 124]
add w1, w0, 1
ldr w0, [sp, 124]
add w2, w0, 1
ldr w0, [sp, 128]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 88]
add x5, x1, x0
ldr x0, [sp, 40]
add x0, x0, 8
add x2, sp, 120
add x1, sp, 116
str x0, [sp]
ldr x7, [sp, 80]
mov x6, x5
mov x5, x4
adrp x0, c__1
add x4, x0, :lo12:c__1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl dlarf_
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 64]
add x1, x1, x0
ldr w0, [sp, 124]
add w2, w0, 1
ldr w3, [sp, 124]
ldr w0, [sp, 128]
mul w0, w3, w0
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x2, [sp, 88]
add x0, x2, x0
ldr d0, [x1]
str d0, [x0]
b .L84
.L83:
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
str xzr, [x0]
.L84:
ldr w0, [sp, 124]
add w0, w0, 1
str w0, [sp, 124]
.L81:
ldr w0, [sp, 112]
ldr w1, [sp, 124]
cmp w1, w0
ble .L85
.L80:
mov w0, 0
.L86:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 136]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L87
bl __stack_chk_fail
.L87:
mov w0, w1
ldp x29, x30, [sp, 16]
add sp, sp, 144
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size dgebd2_, .-dgebd2_
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global icon_S
.section .textqspi,"a"
.align 3
.type icon_S, %object
.size icon_S, 30800
icon_S:
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\037\377/\377/\377/\377/"
.ascii "\377/\377/\377/\377/\377/\377/\377/\377/\377/\377/\377/\377/"
.ascii "\377/\377/\377/\377\037\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\037\377/\377/\377/\377.\356-\355<\355\213"
.ascii "\335\272\334\331\334\330\334\330\334\330\333\330\313\330\313"
.ascii "\327\313\327\313\327\313\327\313\327\313\327\333\330\333\330"
.ascii "\333\330\334\331\334\331\335\312\355\233\355[\356<\356-\376-"
.ascii "\377.\377/\377/\377/\377/\377/\377/\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377/\377/\377.\356L\335\252\334"
.ascii "\310\313\327\312\326\312\326\312\326\312\326\312\346\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\346\312\346\312\326\312\326\312"
.ascii "\326\312\326\312\326\313\327\313\330\334\330\334\311\335\252"
.ascii "\355[\356<\376-\377.\377/\377/\377/\377/\377\037\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377/\377/\356M\334\272\313\327\312\326\312\326\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\346\312\326\312\326\312\326\312\326\313\326\313\330"
.ascii "\334\311\335\252\355L\356-\377.\377/\377/\377/\377/\377\037\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\037\377"
.ascii "/\376M\334\271\313\327\312\326\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\326\312\326\312\326\312\326\313"
.ascii "\327\334\330\334\312\355k\356=\377.\377/\377/\377/\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377?\334"
.ascii "\232\313\310\312\326\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\346\312\326\312\326"
.ascii "\312\326\313\330\334\271\377/\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377/\356L\313\267\313\367\227"
.ascii "\361\230\363\272\366\313\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\313\366\313\367"
.ascii "\271\365\272\325\377/\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377N\334"
.ascii "\270\312\326\312\366\312\366\313\367\207\361\207\361\227\362"
.ascii "\271\365\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\313\367\312\366\271\364\271\364\272\325\377/\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377/\355[\313\306\312\366\312\366\312\366\312\366\312"
.ascii "\366\272\366\207\361\207\361\207\361\207\361\250\364\272\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\313\367\313\367\271\364\271\364\271\364"
.ascii "\271\364\312\326\377/\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377?\335\252\312\326\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\313\366\251\365\207\361"
.ascii "\207\361\207\361\207\361\207\361\230\363\272\366\313\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\313\366\313\367\271\365"
.ascii "\271\364\271\364\271\364\271\364\271\364\312\326\377/\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377?\334"
.ascii "\271\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\313\367\230\363\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\227\361\251\365\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\313\367\312\366\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\313\326\377/\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377?\334\271\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\313"
.ascii "\367\227\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\250\364\272\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\313\367\313\367\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\313\327\377/\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\037\355\213\312"
.ascii "\346\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\313\367\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\230\363\272\366\313\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\313\367\271\365"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\313\327\377/\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\356L\312\326\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\272\366\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\227"
.ascii "\361\251\365\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\313\367\312\366\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\313\330"
.ascii "\377/\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377>\313\266\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\313\366"
.ascii "\251\365\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\250\364"
.ascii "\272\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\313\367\313\367\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\313\330\377/\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377/\334\271\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\313\367\230\363\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\230\362\272\366\313"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\313\367\272\365\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\334"
.ascii "\330\377/\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\376M\312\326\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\313\367\227\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\227\361\251\365\313\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\313"
.ascii "\367\272\366\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\334\331\377/\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377/\334\270\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\313\370"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\250\364\272\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\313\367\313\367\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\334\331\377/\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\376M\312\326\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\272\366\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\230\362\272\366\313\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\313\367\272\365\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\334\331\377/\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "/\334\271\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\313\366\251\365\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\227\361\251\365\313\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\313\367"
.ascii "\312\366\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\334\332\377/\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377>\312\326\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\313\367\230\363"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\250"
.ascii "\364\272\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\313\367\313\367\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\335\272\377/\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\037"
.ascii "\355k\312\346\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\313\367\227\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\230\362\272\366"
.ascii "\312\366\312\366\312\366\312\366\313\367\272\365\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\344\355\233\377\037\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377/\334\310\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\313\367\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\227\362\272\365\313\367"
.ascii "\312\366\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\344\355k\377\037\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377/\312\326\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\272\366\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\230\362\272\366\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\324\355K\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\356L\312\326\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366"
.ascii "\312\366\313\366\251\365\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\227\361\272\366\271\365\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\324\355<\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377/\335\272\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\313\367\230"
.ascii "\363\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\251\364\272\366\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\324\356,\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377/\313\330\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\313\367\227\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\230\362"
.ascii "\272\366\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\324\356,\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377/\312\326"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\313\370\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\227\361\272\366\271\365\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\324\356-\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377.\312\326\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\367\207"
.ascii "\361\207\361\207\361\207\361\207\361\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\251\364\312\366\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\324\376-\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\356<\312"
.ascii "\326\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\313\366\271\365\207\361\207\361\207\361"
.ascii "\207\361\207\361\207\361\207\361\207\361\207\361\230\362\312"
.ascii "\366\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\324\376.\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\037\355{\312\346\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\313\367\230\363\207\361\207\361\207\361\207\361\207\361\207"
.ascii "\361\227\361\272\366\272\365\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\324\377.\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377/\335\312"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\313\367\227\361\207"
.ascii "\361\207\361\207\361\207\361\251\364\312\366\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\324\377.\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377/\334\331\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\313\367\207\361\207\361\227\322\313\330"
.ascii "\334\331\334\312\335\272\335\272\335\272\335\272\335\272\335"
.ascii "\312\334\331\334\331\334\331\334\331\334\330\313\330\313\327"
.ascii "\313\327\313\326\312\326\272\325\272\325\271\324\271\324\271"
.ascii "\324\271\324\271\324\271\324\271\344\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\324\377/\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377/\334"
.ascii "\330\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\272\347"
.ascii "\334\272\377O\377/\377/\377/\377/\377/\377/\377/\377/\377/\377"
.ascii "/\377/\377/\377/\377/\377/\377/\377/\377/\377/\377/\377/\377"
.ascii "/\377/\377.\376-\356,\355<\355k\335\252\334\312\334\331\334\330"
.ascii "\313\327\312\326\272\325\271\324\271\324\271\324\271\324\271"
.ascii "\344\271\364\271\364\271\364\271\364\271\324\377/\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377/\313\330\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\335\252"
.ascii "\377?\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\037\377/\377/\377/\377/\377/\377/\377/\377.\376-\356<\355k\334"
.ascii "\272\334\331\313\330\313\327\312\266\377/\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377/\313\327\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\346\355k\377\037\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\037\377/\377/\377/\377/\377/\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377/\313"
.ascii "\327\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\334\271\377/\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377/\313\327\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\346\355k\377/\377\037\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377/\313"
.ascii "\326\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\346\313\307\355k\377?\377/\377/\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377/\312\326\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\313\347\313"
.ascii "\327\273\272\254\276\316O\377/\377/\377/\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377/\312\326\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\313\366\313\367\312"
.ascii "\366\271\365\271\364\271\364\253\371I\374I\334I\335z\335\234"
.ascii "\276\316O\377/\377/\377/\377\037\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377/\312"
.ascii "\326\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\313\367\313\367\312\366\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\253\371I\374I\374I\374"
.ascii "I\374I\374I\334I\334Z\335\213\315\275\216\336?\377/\377/\377"
.ascii "/\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377/\313\326"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\313\367\313\367\272\365\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\253\372I\374I\374I\374I"
.ascii "\374I\374"
.ascii "I\374I\374I\374I\374I\354I\334Z\335{\335\254\256\336O\377/\377"
.ascii "/\377/\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377/\313\327\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\313\367\313\367\272\365\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\253\372I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\334I\335j\335\254\276\336O\377/\377"
.ascii "/\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377/\313"
.ascii "\327\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\313\367\313\367\312\366\271\365\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\253\372I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\334Z\335\214\276\315^\377/\377/\377\037\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377/\334\330\312\366\312\366\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\312\366\313\367\313\367\312\366\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\253\372I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\334"
.ascii "I\334{\315\275\216\357?\377/\377\037\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377/\334\331\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\313\367\313\367\272\365\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\253\372I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\354I\335{\315\275n\377?\377/\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377/\335\272\312\366\312\366"
.ascii "\312\366\312\366\312\366\312\366\312\366\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\313\366\313\367\313\367\272\365"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\233\372I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\354Y\335\234\276\336"
.ascii "O\377/\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\355k\312\346\312\366\312"
.ascii "\366\312\366\312\366\312\366\312\366\312\366\312\366\312\366"
.ascii "\313\367\313\367\313\366\271\365\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\233\372I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\334{"
.ascii "\275\316O\377/\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\356=\312\326\312\366\312\366\312"
.ascii "\366\312\366\312\366\312\366\313\367\313\367\312\366\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\233\372I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\334"
.ascii "{\275\336O\377/\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377.\312\326\312\366\312\366\313\366\313\367\313"
.ascii "\367\272\365\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\233\372"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\335\234\276"
.ascii "\377O\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "/\313\327\313\367\313\367\272\365\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\233\372I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374j\275\336O\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377/\313\310\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\233\372I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\315\275^\377\037\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\037\355{\271\344\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\233\372"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\334\275\216\377/\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii ">\271\324\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\233\373I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\334\275~"
.ascii "\377\037\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377/\313\307\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\232\373I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\315\336O\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\037"
.ascii "\355k\271\344\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\212\373I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374Z\275"
.ascii "\377O\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377?\272\305\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\212\373I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374\234\276\377/\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\037\355"
.ascii "\213\271\344\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\212\373I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\335\357"
.ascii "O\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377?\312\266\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\212\373I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374\214\276\377/\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\356M\271"
.ascii "\324\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\212\373I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\335\357?\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377/\334\271\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\212\373I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\354\275\216"
.ascii "\377\037\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377O\313\267\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\212\373I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374{\315\377/\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377N\312"
.ascii "\266\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\212\373I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374Z\335\377/\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377N\312\266\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "z\373I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374j\3759\334\315N\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377O\313\270\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364z\373I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374Z\375j\3759\3749\374"
.ascii "\234\276\377/\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "O\334\271\271\324\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364z\373I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374j\375I\3759"
.ascii "\3749\3749\374k\335\377/\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377/\356M\312\266\271\344\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364z\373I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\375j\3759\374"
.ascii "9\3749\3749\3749\374I\335\377/\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377/\355k\272\305\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364z\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374Z\375Z\3759\374"
.ascii "9\3749\3749\3749\3749\3749\334\377/\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "?\335\252\272\325\271\344\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364j\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374{\375I\3749\3749\3749\3749\3749\3749\3749\3749\334\336/"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\037\377/\355[\313\267\271"
.ascii "\324\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364j\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "Z\375j\3759\3749\3749\3749\3749\3749\3749\3749\3749\3749\334"
.ascii "\316?\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377/\377N\334\272\312\326\271\324\271\364\271\364\271\364\271"
.ascii "\364\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364j\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "j\375I\3759\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\354\275^\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377/\377/\376M\334\272\313\327\271\324\271"
.ascii "\324\271\364\271\364\271\364\271\364\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364j\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\375j\375"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\374\255\256\377\037\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377/\377/\377"
.ascii "/\355L\334\271\313\326\271\324\271\324\271\364\271\364\271\364"
.ascii "\271\364\271\364\271\364\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364j\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374Z\375Z\3759\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\374\234\316\377/\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377/\377/\377/\356M\335\232\334\310\312\326"
.ascii "\271\324\271\324\271\344\271\364\271\364\271\364\271\364\271"
.ascii "\364\271\364j\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374j\3759\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\374\234\336\377/\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\037\377"
.ascii "/\377/\377/\376-\355[\334\271\313\327\272\325\271\324\271\324"
.ascii "\271\344Z\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374Z\375j\3759\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "\234\336\377/\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377/\377/\377/\377/\356=\355"
.ascii "{\234\316{\335Z\335I\334I\334I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374j\375I\3759\3749\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374\214"
.ascii "\336\377/\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\037\377/\377/\377/\357/\316O\234\276j\335I\334I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\375k\3759\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749"
.ascii "\3749\3749\374\214\336\377/\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377/\377/\357O\213\275I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374Z\375Z\375"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\374\234\336\377/\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377OZ\335I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374j\3759\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\374\234\336\377/\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\336/\315.\336.\377/\377/\377"
.ascii "/\377/\377/\377/\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377/j\335I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374Y\375j\3759\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\374\254\336\377"
.ascii "/\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377/\214\276I\334Y\334Y\333"
.ascii "H\332X\332i\333\213\334\254\275\275m\336>\357/\377/\377/\377"
.ascii "/\377/\377/\377/\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377OI\335I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374j\375I\3759\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\374\255\276\377/\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377/\213\335I\374I\374I\374I\374Y\374"
.ascii "X\372&\371&\370&\350&\330&\330'\331H\331Y\332z\333\213\334\254"
.ascii "\275\275m\315>\356.\377/\377/\377/\377/\377/\377/\377/\377/\377"
.ascii "\037\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\037\377O\213\276I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\375j\3759\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\354\275\216\377"
.ascii "\037\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377/{\335I\374I\374I\374"
.ascii "I\374I\374I\374I\374Y\3737\371&\370&\370&\370&\370&\370&\370"
.ascii "&\370&\370&\350&\330&\330&\330'\3317\331X\332i\332z\333\212\334"
.ascii "\233\314\254\235\275m\315>\336.\356.\357/\377/\377/\377/\377"
.ascii "/\377/\377/\377/\377/\377/\377/\377/\336O\254\256j\335I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374Z\375Z\3759\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749"
.ascii "\3749\334\275^\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377/z\335"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374Y\374X\372'\371"
.ascii "&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370"
.ascii "&\370&\370&\370&\370&\370&\350&\330&\330&\330&\330&\330&\330"
.ascii "&\330'\3317\3317\331j\335Z\335Y\335I\334I\334I\334I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374j\3759\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\334\336?\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377/j\335I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374Y\374j\374H\372&\370&\370&\370&\370&\370&\370&\370&\370"
.ascii "&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370"
.ascii "&\370&\370&\370&\370&\370'\371I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374Y\375j\3759\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\334\377/\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377/Z\335I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374Z\374Y\373'\371&\370&\370&\370&\370"
.ascii "&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370"
.ascii "&\370&\370&\370&\370&\370&\370'\371I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374j\375I\3759\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\374I\334\377/\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377/Y\335I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374Y\374j\374H\372&\370"
.ascii "&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370"
.ascii "&\370&\370&\370&\370&\370&\370&\370'\371I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\375j\3759\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\374Z\335\377/\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377/I\334I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374Z\374Y\373'\371&\370&\370&\370&\370&\370"
.ascii "&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370"
.ascii "'\371I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374Z\375"
.ascii "Z\3759\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374{\335"
.ascii "\377/\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377/I\334I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374Y\374j\374H\372&\370&"
.ascii "\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&\370&"
.ascii "\370&\3707\371I\374I\374I\374I\374I\374I\374I\374I\374I\374j"
.ascii "\3759\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749"
.ascii "\374\255\256\377/\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\357"
.ascii "/I\334I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374Z\374Y\373'\371&\370&\370&\370&\370&\370&\370&\370&\370"
.ascii "&\370&\370&\370&\3707\371I\374I\374I\374I\374I\374I\374I\374"
.ascii "Y\375j\3759\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\334\336O\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\336/I\334I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374Y\374j\374H\372&\370&\370&\370&\370"
.ascii "&\370&\370&\370&\370&\370&\3707\371I\374I\374I\374I\374I\374"
.ascii "I\374j\375I\3759\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\374I\335\377/\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\336/I\334I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374Z\374Y\373"
.ascii "'\371&\370&\370&\370&\370&\370&\370&\3707\371I\374I\374I\374"
.ascii "I\374I\375j\3759\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\374{\315\377/\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\316/I\334I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374j\374H\372&\370&\370&\370&\370&\3708\372I\374"
.ascii "I\374I\374Z\375Z\3759\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\354\255\236\377\037\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\275NI\334I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374Y\374i\3737\371&"
.ascii "\370&\3708\372I\374I\374j\3759\3749\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\334\377"
.ascii "?\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\037\275"
.ascii "~I\354I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374j\374X\372H\372Y\375j\3759\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\374\213\275\377/\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377/\255\256I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374Y\374j\3759\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\334\316O\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017"
.ascii "\377\017\377/\254\316I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\375j\375"
.ascii "Z\3759\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\374Z\275\377/\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377/\234\336I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374Z\375j\375I\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\334\315^\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377/\213\336I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\375j\375"
.ascii "Z\3759\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\374j\275\377/"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377/\213\335I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374Z\375j\375I\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\334\336O\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377/{\335I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\375j"
.ascii "\375Z\3759\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749"
.ascii "\3749\3749\3749\3749\374\234\276\377/\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377/j\335I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374Z\375j\3759\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\374Z\315\377O\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377/j\335I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\375j\375Z\3759\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374J\315"
.ascii "\357O\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377/Z\335I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374Z\375j\375I\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\3749\374"
.ascii "9\3749\3749\374I\314\336O\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377/I\335I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\375j\375Z\3759\3749\3749\3749\3749\374"
.ascii "9\3749\3749\3749\3749\3749\3749\3749\3749\314\336O\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377/I\334I\374I\374I\374I\374"
.ascii "I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374Z\375j\375"
.ascii "I\3749\3749\3749\3749\3749\3749\3749\3749\3749\374J\315\336O"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377/I\334"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\375j\375Z\3759\3749\374"
.ascii "9\3749\3749\3749\354k\275\357O\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\357/I\334I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374Z\375k\375I\3759\374I\314\275n\377/"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\357/{\275Y\335I\334I\354I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\335\234\276\357O\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377/\377/\336?\255\236\213\315j\335I\334I\334I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\334{\275\336O\377/\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\037\377/\377/\377/\316O\254"
.ascii "\256\213\335j\335I\335I\334I\354I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\354Y\335\234\276\336O\377/\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377/\377/\377/\377/\336?\275n\234"
.ascii "\316{\335Z\335I\334I\334I\354I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I"
.ascii "\374I\374I\374I\334I\335\213\315\275~\377?\377/\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\037\377/\377/\377"
.ascii "/\377/\336?\275n\234\316\213\335j\335Z\335I\334I\334I\334I\354"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374I\374"
.ascii "I\374I\374I\374I\374I\374I\374I\374I\374I\354I\334I\335j\335"
.ascii "\234\276\316O\377/\377/\377\037\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377/\377/\377/\377/\377"
.ascii "/\356/\316?\275~\254\316\214\336\213\335{\335j\335Z\335I\334"
.ascii "I\334I\334I\334I\334I\334I\334I\334I\354I\354I\374I\374I\374"
.ascii "I\374I\354I\354I\334I\334I\334I\334I\334I\334Y\335j\335{\335"
.ascii "\234\316\275~\336?\377/\377/\377/\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\037\377/\377/\377/\377/\377/\377/\377/\357/"
.ascii "\356/\336/\316/\316/\315>\275N\275n\275\216\254\256\254\276\254"
.ascii "\276\254\276\275\216\275~\275N\315?\316/\336/\356/\377/\377/"
.ascii "\377/\377/\377/\377\037\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\037\377\037\377/\377/\377/\377"
.ascii "/\377\037\377\037\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017\377\017\377\017\377\017\377\017\377\017"
.ascii "\377\017\377\017\377\017\377\017\377\017\377\017\377\017\377"
.ascii "\017\377\017\377\017"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global pixel_buffer_start
.bss
.align 2
.type pixel_buffer_start, %object
.size pixel_buffer_start, 4
pixel_buffer_start:
.zero 4
.global SCREEN_WIDTH
.section .rodata
.align 2
.type SCREEN_WIDTH, %object
.size SCREEN_WIDTH, 4
SCREEN_WIDTH:
.word 320
.global SCREEN_HEIGHT
.align 2
.type SCREEN_HEIGHT, %object
.size SCREEN_HEIGHT, 4
SCREEN_HEIGHT:
.word 240
.global BANNER_HEIGHT
.align 2
.type BANNER_HEIGHT, %object
.size BANNER_HEIGHT, 4
BANNER_HEIGHT:
.word 36
.global BORDER_OFFSET
.align 2
.type BORDER_OFFSET, %object
.size BORDER_OFFSET, 4
BORDER_OFFSET:
.word 5
.global BOX_WIDTH
.align 2
.type BOX_WIDTH, %object
.size BOX_WIDTH, 4
BOX_WIDTH:
.word 5
.global NUM_BOXES
.align 2
.type NUM_BOXES, %object
.size NUM_BOXES, 4
NUM_BOXES:
.word 50
.global INITIAL_SICK
.align 2
.type INITIAL_SICK, %object
.size INITIAL_SICK, 4
INITIAL_SICK:
.word 3
.global SIMU_WIDHT
.align 2
.type SIMU_WIDHT, %object
.size SIMU_WIDHT, 4
SIMU_WIDHT:
.word 308
.global SIMU_HEIGHT
.align 2
.type SIMU_HEIGHT, %object
.size SIMU_HEIGHT, 4
SIMU_HEIGHT:
.word 192
.global SICK_DURATION
.data
.align 3
.type SICK_DURATION, %object
.size SICK_DURATION, 8
SICK_DURATION:
.word 0
.word 1079574528
.global STATIONARY_COUNT
.align 2
.type STATIONARY_COUNT, %object
.size STATIONARY_COUNT, 4
STATIONARY_COUNT:
.word 5
.section .rodata
.align 3
.LC0:
.string "WELCOME TO OUR VIRUS SIMULATOR!"
.align 3
.LC1:
.string "CLICK AND RELEASE ANY OF THE KEYS TO INITIALIZE THE SCREEN"
.align 3
.LC2:
.string "------------------------------------------------------------------"
.align 3
.LC3:
.string "YOU CAN NOW SET THE NUMBER OF STATIONARY PEOPLE:"
.align 3
.LC4:
.string "YOU WILL USE SW[9:5] TO DO THIS. SET ONLY ONE OF THESE SWITCHES TO HIGH AND THEN PRESS AND RELEASE ANY KEY"
.align 3
.LC5:
.string "REMEMBER: ALL OTHER SWITCHES MUST BE LOW"
.align 3
.LC6:
.string "SW9 = 0 STATIONARY PEOPLE"
.align 3
.LC7:
.string "SW8 = 5 STATIONARY PEOPLE"
.align 3
.LC8:
.string "SW7 = 10 STATIONARY PEOPLE"
.align 3
.LC9:
.string "SW6 = 15 STATIONARY PEOPLE"
.align 3
.LC10:
.string "SW5 = 20 STATIONARY PEOPLE"
.align 3
.LC11:
.string "NOW, USE SW[9:6] TO SET THE DURATION OF THE DISEASE"
.align 3
.LC12:
.string "SW9 IS THE SHORTEST AND SW6 IS THE LONGEST"
.align 3
.LC13:
.string "PRESS AND RELEASE ANY KEY WHEN YOU HAVE CHOSEN THE DURATION"
.align 3
.LC14:
.string "YOU'RE NOW IN CONTROL OF THE TURQUOISE BAR AT THE BOTTOM"
.align 3
.LC15:
.string "USE SW0 TO MOVE THE BAR UP, AND SW1 TO MOVE IT DOWN"
.align 3
.LC16:
.string "ONCE YOU'RE HAPPY WITH THE BAR'S POSITION, SET SW2 TO HIGH TO START THE SIMULATION"
.align 3
.LC17:
.string "HERE WE GO! HAVE FUN!"
.align 3
.LC18:
.string "THE SIMULATION IS NOW OVER. CHECK OUT THE GRAPH TO STUDY THE OUTCOME."
.align 3
.LC19:
.string "FEEL FREE TO RUN THE SIMULATION AGAIN. THERE ARE NUMEROUS VARIABLES, SO THE OUTCOME WILL MOST LIKELY NOT BE THE SAME!"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -432]!
.cfi_def_cfa_offset 432
.cfi_offset 29, -432
.cfi_offset 30, -424
mov x29, sp
.cfi_def_cfa_register 29
stp x20, x21, [sp, 16]
stp x22, x23, [sp, 32]
stp x24, x25, [sp, 48]
stp x26, x27, [sp, 64]
str d8, [sp, 80]
sub sp, sp, #16
.cfi_offset 20, -416
.cfi_offset 21, -408
.cfi_offset 22, -400
.cfi_offset 23, -392
.cfi_offset 24, -384
.cfi_offset 25, -376
.cfi_offset 26, -368
.cfi_offset 27, -360
.cfi_offset 72, -352
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 424]
mov x1, 0
mov x0, 50688
movk x0, 0xfffe, lsl 16
str x0, [x29, 336]
mov x0, 50696
movk x0, 0xfffe, lsl 16
str x0, [x29, 344]
mov x0, 50700
movk x0, 0xfffe, lsl 16
str x0, [x29, 352]
ldr x0, [x29, 336]
mov w1, 33920
movk w1, 0x1e, lsl 16
str w1, [x0]
ldr x0, [x29, 344]
mov w1, 3
str w1, [x0]
mov x0, 32
movk x0, 0xff20, lsl 16
str x0, [x29, 360]
mov x0, 12320
movk x0, 0xff20, lsl 16
str x0, [x29, 368]
ldr x0, [x29, 368]
ldr w1, [x0]
adrp x0, pixel_buffer_start
add x0, x0, :lo12:pixel_buffer_start
str w1, [x0]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
mov x0, 80
movk x0, 0xff20, lsl 16
str x0, [x29, 376]
ldr x0, [x29, 376]
ldr w0, [x0]
str w0, [x29, 248]
b .L2
.L3:
ldr x0, [x29, 376]
ldr w0, [x0]
str w0, [x29, 248]
.L2:
ldr w0, [x29, 248]
cmp w0, 0
beq .L3
b .L4
.L5:
ldr x0, [x29, 376]
ldr w0, [x0]
str w0, [x29, 248]
.L4:
ldr w0, [x29, 248]
cmp w0, 0
bne .L5
mov w0, 50
sxtw x0, w0
sub x0, x0, #1
str x0, [x29, 384]
mov w0, 50
sxtw x0, w0
str x0, [x29, 176]
str xzr, [x29, 184]
ldp x4, x5, [x29, 176]
mov x0, x4
mov x1, x5
lsr x2, x0, 61
lsl x27, x1, 3
orr x27, x2, x27
lsl x26, x0, 3
mov x0, x26
mov x1, x27
mov x2, x4
adds x2, x0, x2
mov x3, x5
adc x0, x1, x3
str x2, [x29, 112]
str x0, [x29, 120]
ldp x2, x3, [x29, 112]
mov x0, x2
lsr x0, x0, 59
mov x1, x3
lsl x25, x1, 5
orr x25, x0, x25
mov x0, x2
lsl x24, x0, 5
mov w0, 50
sxtw x0, w0
str x0, [x29, 160]
str xzr, [x29, 168]
ldp x4, x5, [x29, 160]
mov x0, x4
mov x1, x5
lsr x2, x0, 61
lsl x23, x1, 3
orr x23, x2, x23
lsl x22, x0, 3
mov x0, x22
mov x1, x23
mov x2, x4
adds x2, x0, x2
mov x3, x5
adc x0, x1, x3
str x2, [x29, 96]
str x0, [x29, 104]
ldp x2, x3, [x29, 96]
mov x0, x2
lsr x0, x0, 59
mov x1, x3
lsl x21, x1, 5
orr x21, x0, x21
mov x0, x2
lsl x20, x0, 5
mov w0, 50
sxtw x1, w0
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L6:
cmp sp, x1
beq .L7
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L6
.L7:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L8
str xzr, [sp, 1024]
.L8:
add x0, sp, 16
add x0, x0, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 392]
str wzr, [x29, 224]
str wzr, [x29, 228]
str wzr, [x29, 232]
str wzr, [x29, 236]
str wzr, [x29, 240]
str wzr, [x29, 244]
str wzr, [x29, 328]
str wzr, [x29, 332]
str wzr, [x29, 252]
str wzr, [x29, 256]
str wzr, [x29, 260]
str wzr, [x29, 264]
mov x0, 0
bl time
bl srand
mov w0, 3
sxtw x0, w0
sub x0, x0, #1
str x0, [x29, 400]
mov w0, 3
sxtw x0, w0
str x0, [x29, 144]
str xzr, [x29, 152]
ldp x2, x3, [x29, 144]
mov x0, x2
lsr x0, x0, 59
mov x1, x3
lsl x1, x1, 5
str x1, [x29, 216]
ldr x1, [x29, 216]
orr x0, x0, x1
str x0, [x29, 216]
mov x0, x2
lsl x0, x0, 5
str x0, [x29, 208]
mov w0, 3
sxtw x0, w0
str x0, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x0, x2
lsr x0, x0, 59
mov x1, x3
lsl x1, x1, 5
str x1, [x29, 200]
ldr x1, [x29, 200]
orr x0, x0, x1
str x0, [x29, 200]
mov x0, x2
lsl x0, x0, 5
str x0, [x29, 192]
mov w0, 3
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
.L9:
cmp sp, x1
beq .L10
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L9
.L10:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L11
str xzr, [sp, 1024]
.L11:
add x0, sp, 16
add x0, x0, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 408]
str wzr, [x29, 268]
b .L12
.L13:
bl rand
mov w1, w0
mov w0, 50
sdiv w2, w1, w0
mul w0, w2, w0
sub w2, w1, w0
ldr x0, [x29, 408]
ldrsw x1, [x29, 268]
str w2, [x0, x1, lsl 2]
ldr w0, [x29, 268]
add w0, w0, 1
str w0, [x29, 268]
.L12:
mov w0, 3
ldr w1, [x29, 268]
cmp w1, w0
blt .L13
bl clear_screen
bl wait_for_vsync
bl draw_banner
bl draw_border
bl wait_for_vsync
bl draw_banner_text
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
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 puts
str wzr, [x29, 272]
b .L14
.L15:
ldr x2, [x29, 392]
ldrsw x1, [x29, 272]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
strb wzr, [x0, 34]
ldr w0, [x29, 272]
add w0, w0, 1
str w0, [x29, 272]
.L14:
mov w0, 50
ldr w1, [x29, 272]
cmp w1, w0
blt .L15
mov x0, 64
movk x0, 0xff20, lsl 16
str x0, [x29, 416]
ldr x0, [x29, 416]
ldr w0, [x0]
str w0, [x29, 276]
ldr x0, [x29, 376]
ldr w0, [x0]
str w0, [x29, 248]
b .L16
.L22:
ldr w0, [x29, 276]
cmp w0, 512
bne .L17
adrp x0, STATIONARY_COUNT
add x0, x0, :lo12:STATIONARY_COUNT
str wzr, [x0]
b .L18
.L17:
ldr w0, [x29, 276]
cmp w0, 256
bne .L19
adrp x0, STATIONARY_COUNT
add x0, x0, :lo12:STATIONARY_COUNT
mov w1, 5
str w1, [x0]
b .L18
.L19:
ldr w0, [x29, 276]
cmp w0, 128
bne .L20
adrp x0, STATIONARY_COUNT
add x0, x0, :lo12:STATIONARY_COUNT
mov w1, 10
str w1, [x0]
b .L18
.L20:
ldr w0, [x29, 276]
cmp w0, 64
bne .L21
adrp x0, STATIONARY_COUNT
add x0, x0, :lo12:STATIONARY_COUNT
mov w1, 15
str w1, [x0]
b .L18
.L21:
ldr w0, [x29, 276]
cmp w0, 32
bne .L18
adrp x0, STATIONARY_COUNT
add x0, x0, :lo12:STATIONARY_COUNT
mov w1, 20
str w1, [x0]
.L18:
ldr x0, [x29, 416]
ldr w0, [x0]
str w0, [x29, 276]
ldr x0, [x29, 376]
ldr w0, [x0]
str w0, [x29, 248]
.L16:
ldr w0, [x29, 248]
cmp w0, 0
beq .L22
b .L23
.L24:
ldr x0, [x29, 376]
ldr w0, [x0]
str w0, [x29, 248]
.L23:
ldr w0, [x29, 248]
cmp w0, 0
bne .L24
adrp x0, STATIONARY_COUNT
add x0, x0, :lo12:STATIONARY_COUNT
ldr w0, [x0]
str w0, [x29, 280]
str wzr, [x29, 284]
b .L25
.L28:
bl rand
mov w1, w0
mov w0, 50
sdiv w2, w1, w0
mul w0, w2, w0
sub w0, w1, w0
str w0, [x29, 324]
ldr x2, [x29, 392]
ldrsw x1, [x29, 324]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 34]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L26
ldr x2, [x29, 392]
ldrsw x1, [x29, 324]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
strb w1, [x0, 34]
b .L27
.L26:
ldr w0, [x29, 280]
add w0, w0, 1
str w0, [x29, 280]
.L27:
ldr w0, [x29, 284]
add w0, w0, 1
str w0, [x29, 284]
.L25:
ldr w1, [x29, 284]
ldr w0, [x29, 280]
cmp w1, w0
blt .L28
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl puts
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl puts
ldr x0, [x29, 416]
ldr w0, [x0]
str w0, [x29, 276]
b .L29
.L34:
ldr w0, [x29, 276]
cmp w0, 512
bne .L30
adrp x0, SICK_DURATION
add x0, x0, :lo12:SICK_DURATION
mov x1, 4632233691727265792
fmov d0, x1
str d0, [x0]
b .L31
.L30:
ldr w0, [x29, 276]
cmp w0, 256
bne .L32
adrp x0, SICK_DURATION
add x0, x0, :lo12:SICK_DURATION
mov x1, 4636737291354636288
fmov d0, x1
str d0, [x0]
b .L31
.L32:
ldr w0, [x29, 276]
cmp w0, 128
bne .L33
adrp x0, SICK_DURATION
add x0, x0, :lo12:SICK_DURATION
mov x1, 211106232532992
movk x1, 0x4062, lsl 48
fmov d0, x1
str d0, [x0]
b .L31
.L33:
ldr w0, [x29, 276]
cmp w0, 64
bne .L31
adrp x0, SICK_DURATION
add x0, x0, :lo12:SICK_DURATION
mov x1, 4641240890982006784
fmov d0, x1
str d0, [x0]
.L31:
ldr x0, [x29, 416]
ldr w0, [x0]
str w0, [x29, 276]
ldr x0, [x29, 376]
ldr w0, [x0]
str w0, [x29, 248]
.L29:
ldr w0, [x29, 248]
cmp w0, 0
beq .L34
b .L35
.L36:
ldr x0, [x29, 376]
ldr w0, [x0]
str w0, [x29, 248]
.L35:
ldr w0, [x29, 248]
cmp w0, 0
bne .L36
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl puts
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl puts
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl puts
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
ldr x0, [x29, 416]
ldr w0, [x0]
str w0, [x29, 276]
b .L37
.L43:
ldr w0, [x29, 328]
bl erase_mobile_boundary
ldr x0, [x29, 416]
ldr w0, [x0]
str w0, [x29, 276]
ldr w0, [x29, 276]
cmp w0, 1
bne .L38
mov w0, 1
str w0, [x29, 332]
.L38:
ldr w0, [x29, 276]
cmp w0, 2
bne .L39
mov w0, -1
str w0, [x29, 332]
.L39:
ldr w0, [x29, 276]
cmp w0, 0
beq .L40
ldr w0, [x29, 276]
cmp w0, 2
bgt .L40
ldr w1, [x29, 328]
mov w0, 240
lsr w2, w0, 31
add w0, w2, w0
asr w0, w0, 1
cmp w1, w0
blt .L41
ldr w0, [x29, 332]
cmp w0, 1
beq .L40
.L41:
ldr w0, [x29, 328]
cmp w0, 0
bgt .L42
ldr w0, [x29, 332]
cmn w0, #1
bne .L42
.L40:
str wzr, [x29, 332]
.L42:
ldr w1, [x29, 328]
ldr w0, [x29, 332]
add w0, w1, w0
str w0, [x29, 328]
ldr w0, [x29, 328]
bl draw_mobile_boundary
bl wait_for_vsync
.L37:
ldr w0, [x29, 276]
cmp w0, 4
bne .L43
mov w0, 240
sub w1, w0, #1
mov w0, 5
sub w1, w1, w0
ldr w0, [x29, 328]
sub w1, w1, w0
mov w2, 36
mov w0, 5
add w0, w2, w0
sub w0, w1, w0
str w0, [x29, 320]
str wzr, [x29, 288]
b .L44
.L52:
ldr w2, [x29, 288]
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w2, w0
lsr x0, x0, 32
asr w1, w0, 2
asr w0, w2, 31
sub w1, w1, w0
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
sub w1, w2, w0
add w1, w1, 1
mov w0, w1
lsl w0, w0, 4
sub w0, w0, w1
lsl w0, w0, 1
mov w3, w0
ldr x2, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str w3, [x0]
ldr w0, [x29, 288]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 2
asr w0, w0, 31
sub w1, w1, w0
ldr w0, [x29, 320]
mul w0, w1, w0
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 1
asr w0, w0, 31
sub w0, w1, w0
add w2, w0, 48
ldr x3, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 4]
bl rand
cmp w0, 0
and w0, w0, 1
csneg w0, w0, w0, ge
lsl w0, w0, 1
sub w2, w0, #1
ldr x3, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 16]
bl rand
cmp w0, 0
and w0, w0, 1
csneg w0, w0, w0, ge
lsl w0, w0, 1
sub w2, w0, #1
ldr x3, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 20]
ldr x2, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 34]
cmp w0, 0
beq .L45
ldr x2, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 16]
ldr x2, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 20]
.L45:
adrp x0, SICK_DURATION
add x0, x0, :lo12:SICK_DURATION
ldr d0, [x0]
fcvtzs w2, d0
ldr x3, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 28]
ldr x2, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 24]
str wzr, [x29, 292]
b .L46
.L48:
ldr x0, [x29, 408]
ldrsw x1, [x29, 292]
ldr w0, [x0, x1, lsl 2]
ldr w1, [x29, 288]
cmp w1, w0
bne .L47
ldr x2, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
str w1, [x0, 24]
.L47:
ldr w0, [x29, 292]
add w0, w0, 1
str w0, [x29, 292]
.L46:
mov w0, 3
ldr w1, [x29, 292]
cmp w1, w0
blt .L48
ldr x2, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 24]
cmp w0, 0
bne .L49
ldr w0, [x29, 224]
add w0, w0, 1
str w0, [x29, 224]
ldr w0, [x29, 236]
add w0, w0, 1
str w0, [x29, 236]
b .L50
.L49:
ldr x2, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 24]
cmp w0, 1
bne .L51
ldr w0, [x29, 228]
add w0, w0, 1
str w0, [x29, 228]
ldr w0, [x29, 240]
add w0, w0, 1
str w0, [x29, 240]
b .L50
.L51:
ldr x2, [x29, 392]
ldrsw x1, [x29, 288]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 24]
cmp w0, 2
bne .L50
ldr w0, [x29, 232]
add w0, w0, 1
str w0, [x29, 232]
ldr w0, [x29, 244]
add w0, w0, 1
str w0, [x29, 244]
.L50:
ldr w0, [x29, 288]
add w0, w0, 1
str w0, [x29, 288]
.L44:
mov w0, 50
ldr w1, [x29, 288]
cmp w1, w0
blt .L52
ldr w0, [x29, 224]
ldr w1, [x29, 228]
ldr w2, [x29, 232]
bl init_banner_graph
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl puts
b .L53
.L121:
ldr x0, [x29, 352]
ldr w0, [x0]
cmp w0, 0
beq .L54
ldr w0, [x29, 252]
add w0, w0, 1
str w0, [x29, 252]
ldr w0, [x29, 252]
cmp w0, 10
bne .L55
ldr w0, [x29, 256]
add w0, w0, 1
str w0, [x29, 256]
str wzr, [x29, 252]
.L55:
ldr w0, [x29, 256]
cmp w0, 10
bne .L56
ldr w0, [x29, 260]
add w0, w0, 1
str w0, [x29, 260]
str wzr, [x29, 256]
.L56:
ldr w0, [x29, 260]
cmp w0, 10
bne .L57
ldr w0, [x29, 264]
add w0, w0, 1
str w0, [x29, 264]
str wzr, [x29, 260]
.L57:
ldr w0, [x29, 264]
cmp w0, 10
bne .L58
ldr x0, [x29, 344]
str wzr, [x0]
.L58:
ldr x0, [x29, 352]
mov w1, 1
str w1, [x0]
.L54:
ldr w0, [x29, 264]
bl get_seg7_code
scvtf d0, w0
mov x0, 4715268809856909312
fmov d1, x0
fmul d8, d0, d1
ldr w0, [x29, 260]
bl get_seg7_code
scvtf d0, w0
mov x0, 4679240012837945344
fmov d1, x0
fmul d0, d0, d1
fadd d8, d8, d0
ldr w0, [x29, 256]
bl get_seg7_code
scvtf d0, w0
mov x0, 4643211215818981376
fmov d1, x0
fmul d0, d0, d1
fadd d8, d8, d0
ldr w0, [x29, 252]
bl get_seg7_code
scvtf d0, w0
fadd d0, d8, d0
fcvtzs w1, d0
ldr x0, [x29, 360]
str w1, [x0]
str wzr, [x29, 296]
b .L59
.L60:
ldr x2, [x29, 392]
ldrsw x1, [x29, 296]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w3, [x0]
ldr x2, [x29, 392]
ldrsw x1, [x29, 296]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 4]
mov w1, w0
mov w0, w3
bl clear_boxes
ldr w0, [x29, 296]
add w0, w0, 1
str w0, [x29, 296]
.L59:
mov w0, 50
ldr w1, [x29, 296]
cmp w1, w0
blt .L60
str wzr, [x29, 300]
b .L61
.L111:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0]
ldr x3, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0, 16]
add w2, w2, w0
ldr x3, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0]
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0, 4]
ldr x3, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0, 20]
add w2, w2, w0
ldr x3, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 4]
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0]
mov w0, 320
sub w2, w0, #1
mov w0, 5
sub w2, w2, w0
mov w0, 5
sub w0, w2, w0
cmp w1, w0
bge .L62
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0]
mov w0, 5
add w0, w0, 1
cmp w1, w0
bgt .L63
.L62:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 16]
neg w2, w0
ldr x3, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 16]
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
strb w1, [x0, 32]
b .L64
.L63:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
strb wzr, [x0, 32]
.L64:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0, 4]
mov w0, 240
sub w2, w0, #1
mov w0, 5
sub w2, w2, w0
mov w0, 5
sub w2, w2, w0
ldr w0, [x29, 328]
sub w0, w2, w0
cmp w1, w0
bge .L65
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0, 4]
mov w0, 36
add w2, w0, 1
mov w0, 5
add w0, w2, w0
cmp w1, w0
bgt .L66
.L65:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 20]
neg w2, w0
ldr x3, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 20]
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
strb w1, [x0, 33]
b .L67
.L66:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
strb wzr, [x0, 33]
.L67:
str wzr, [x29, 304]
b .L68
.L108:
ldr w1, [x29, 300]
ldr w0, [x29, 304]
cmp w1, w0
beq .L69
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0]
ldr x3, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0]
sub w0, w2, w0
scvtf d0, w0
fmov d1, 2.0e+0
bl pow
fmov d8, d0
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0, 4]
ldr x3, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0, 4]
sub w0, w2, w0
scvtf d0, w0
fmov d1, 2.0e+0
bl pow
fadd d0, d8, d0
bl sqrt
fmov d1, d0
fmov d0, 5.0e+0
fcmpe d1, d0
bls .L124
b .L69
.L124:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0]
ldr x3, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0]
cmp w2, w0
bgt .L71
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0, 4]
ldr x3, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0, 4]
cmp w2, w0
blt .L71
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 34]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L72
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 32]
cmp w0, 0
beq .L73
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 16]
b .L74
.L73:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, -1
str w1, [x0, 16]
.L74:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 0
beq .L75
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 20]
b .L72
.L75:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
str w1, [x0, 20]
.L72:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 34]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L80
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 32]
cmp w0, 0
beq .L77
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 16]
b .L78
.L77:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
str w1, [x0, 16]
.L78:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 0
beq .L79
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 20]
b .L80
.L79:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, -1
str w1, [x0, 20]
b .L80
.L71:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0]
ldr x3, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0]
cmp w2, w0
blt .L81
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0, 4]
ldr x3, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0, 4]
cmp w2, w0
blt .L81
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 34]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L82
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 32]
cmp w0, 0
beq .L83
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 16]
b .L84
.L83:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
str w1, [x0, 16]
.L84:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 0
beq .L85
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 20]
b .L82
.L85:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
str w1, [x0, 20]
.L82:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 34]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L80
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 32]
cmp w0, 0
beq .L87
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 16]
b .L88
.L87:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, -1
str w1, [x0, 16]
.L88:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 0
beq .L89
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 20]
b .L80
.L89:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, -1
str w1, [x0, 20]
b .L80
.L81:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0]
ldr x3, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0]
cmp w2, w0
blt .L90
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0, 4]
ldr x3, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0, 4]
cmp w2, w0
bgt .L90
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 34]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L91
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 32]
cmp w0, 0
beq .L92
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 16]
b .L93
.L92:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
str w1, [x0, 16]
.L93:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 0
beq .L94
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 20]
b .L91
.L94:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, -1
str w1, [x0, 20]
.L91:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 34]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L80
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 32]
cmp w0, 0
beq .L96
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 16]
b .L97
.L96:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, -1
str w1, [x0, 16]
.L97:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 0
beq .L98
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 20]
b .L80
.L98:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
str w1, [x0, 20]
b .L80
.L90:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0]
ldr x3, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0]
cmp w2, w0
bgt .L80
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0, 4]
ldr x3, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0, 4]
cmp w2, w0
bgt .L80
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 34]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L99
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 32]
cmp w0, 0
beq .L100
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 16]
b .L101
.L100:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, -1
str w1, [x0, 16]
.L101:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 0
beq .L102
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 20]
b .L99
.L102:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, -1
str w1, [x0, 20]
.L99:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 34]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L80
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 32]
cmp w0, 0
beq .L103
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 16]
b .L104
.L103:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
str w1, [x0, 16]
.L104:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 0
beq .L105
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 20]
b .L80
.L105:
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
str w1, [x0, 20]
.L80:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 24]
cmp w0, 0
bne .L106
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 24]
cmp w0, 1
beq .L107
.L106:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 24]
cmp w0, 1
bne .L69
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 24]
cmp w0, 0
bne .L69
.L107:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
str w1, [x0, 24]
ldr x2, [x29, 392]
ldrsw x1, [x29, 304]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 1
str w1, [x0, 24]
ldr w0, [x29, 228]
add w0, w0, 1
str w0, [x29, 228]
ldr w0, [x29, 224]
sub w0, w0, #1
str w0, [x29, 224]
.L69:
ldr w0, [x29, 304]
add w0, w0, 1
str w0, [x29, 304]
.L68:
mov w0, 50
ldr w1, [x29, 304]
cmp w1, w0
blt .L108
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 24]
cmp w0, 1
bne .L109
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 28]
sub w2, w0, #1
ldr x3, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 28]
.L109:
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 28]
cmp w0, 0
bne .L110
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, -1
str w1, [x0, 28]
ldr x2, [x29, 392]
ldrsw x1, [x29, 300]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
mov w1, 2
str w1, [x0, 24]
ldr w0, [x29, 228]
sub w0, w0, #1
str w0, [x29, 228]
ldr w0, [x29, 232]
add w0, w0, 1
str w0, [x29, 232]
.L110:
ldr w0, [x29, 300]
add w0, w0, 1
str w0, [x29, 300]
.L61:
mov w0, 50
ldr w1, [x29, 300]
cmp w1, w0
blt .L111
str wzr, [x29, 308]
b .L112
.L120:
str wzr, [x29, 312]
b .L113
.L119:
str wzr, [x29, 316]
b .L114
.L118:
ldr x2, [x29, 392]
ldrsw x1, [x29, 308]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 24]
cmp w0, 0
bne .L115
ldr x2, [x29, 392]
ldrsw x1, [x29, 308]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0]
ldr w0, [x29, 312]
add w3, w1, w0
ldr x2, [x29, 392]
ldrsw x1, [x29, 308]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0, 4]
ldr w0, [x29, 316]
add w0, w1, w0
mov w2, -12679
mov w1, w0
mov w0, w3
bl plot_pixel
b .L116
.L115:
ldr x2, [x29, 392]
ldrsw x1, [x29, 308]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 24]
cmp w0, 1
bne .L117
ldr x2, [x29, 392]
ldrsw x1, [x29, 308]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0]
ldr w0, [x29, 312]
add w3, w1, w0
ldr x2, [x29, 392]
ldrsw x1, [x29, 308]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0, 4]
ldr w0, [x29, 316]
add w0, w1, w0
mov w2, -2048
mov w1, w0
mov w0, w3
bl plot_pixel
b .L116
.L117:
ldr x2, [x29, 392]
ldrsw x1, [x29, 308]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 24]
cmp w0, 2
bne .L116
ldr x2, [x29, 392]
ldrsw x1, [x29, 308]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0]
ldr w0, [x29, 312]
add w3, w1, w0
ldr x2, [x29, 392]
ldrsw x1, [x29, 308]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w1, [x0, 4]
ldr w0, [x29, 316]
add w0, w1, w0
mov w2, 2024
mov w1, w0
mov w0, w3
bl plot_pixel
.L116:
ldr w0, [x29, 316]
add w0, w0, 1
str w0, [x29, 316]
.L114:
mov w0, 5
ldr w1, [x29, 316]
cmp w1, w0
blt .L118
ldr w0, [x29, 312]
add w0, w0, 1
str w0, [x29, 312]
.L113:
mov w0, 5
ldr w1, [x29, 312]
cmp w1, w0
blt .L119
ldr w0, [x29, 308]
add w0, w0, 1
str w0, [x29, 308]
.L112:
mov w0, 50
ldr w1, [x29, 308]
cmp w1, w0
blt .L120
ldr w0, [x29, 224]
ldr w1, [x29, 228]
ldr w2, [x29, 232]
bl update_banner_data
ldr w0, [x29, 224]
ldr w1, [x29, 236]
ldr w2, [x29, 228]
ldr w3, [x29, 240]
ldr w4, [x29, 232]
ldr w5, [x29, 244]
bl extend_banner_graph
add x5, x29, 244
add x4, x29, 232
add x3, x29, 240
add x2, x29, 228
add x1, x29, 236
add x0, x29, 224
bl reduce_banner_graph
ldr w0, [x29, 224]
str w0, [x29, 236]
ldr w0, [x29, 228]
str w0, [x29, 240]
ldr w0, [x29, 232]
str w0, [x29, 244]
bl wait_for_vsync
.L53:
ldr w0, [x29, 228]
cmp w0, 0
bgt .L121
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl puts
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl puts
.L122:
b .L122
.cfi_endproc
.LFE6:
.size main, .-main
.align 2
.global wait_for_vsync
.type wait_for_vsync, %function
wait_for_vsync:
.LFB7:
.cfi_startproc
str x19, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 19, -32
mov x0, 12320
movk x0, 0xff20, lsl 16
str x0, [sp, 24]
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0]
ldr x0, [sp, 24]
add x0, x0, 12
ldr w19, [x0]
b .L126
.L127:
ldr x0, [sp, 24]
add x0, x0, 12
ldr w19, [x0]
.L126:
and w0, w19, 1
cmp w0, 0
bne .L127
nop
nop
ldr x19, [sp], 32
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size wait_for_vsync, .-wait_for_vsync
.align 2
.global draw_line
.type draw_line, %function
draw_line:
.LFB8:
.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 w1, [sp, 40]
str w2, [sp, 36]
str w3, [sp, 32]
strh w4, [sp, 30]
ldr w1, [sp, 32]
ldr w0, [sp, 40]
sub w0, w1, w0
cmp w0, 0
csneg w1, w0, w0, ge
ldr w2, [sp, 36]
ldr w0, [sp, 44]
sub w0, w2, w0
cmp w0, 0
csneg w0, w0, w0, ge
cmp w1, w0
cset w0, gt
strb w0, [sp, 55]
ldrb w0, [sp, 55]
cmp w0, 0
beq .L129
add x1, sp, 40
add x0, sp, 44
bl swap
add x1, sp, 32
add x0, sp, 36
bl swap
.L129:
ldr w1, [sp, 44]
ldr w0, [sp, 36]
cmp w1, w0
ble .L130
add x1, sp, 36
add x0, sp, 44
bl swap
add x1, sp, 32
add x0, sp, 40
bl swap
.L130:
ldr w1, [sp, 36]
ldr w0, [sp, 44]
sub w0, w1, w0
str w0, [sp, 68]
ldr w1, [sp, 32]
ldr w0, [sp, 40]
sub w0, w1, w0
cmp w0, 0
csneg w0, w0, w0, ge
str w0, [sp, 72]
ldr w0, [sp, 68]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
neg w0, w0
str w0, [sp, 56]
ldr w0, [sp, 40]
str w0, [sp, 60]
ldr w1, [sp, 40]
ldr w0, [sp, 32]
cmp w1, w0
bge .L131
mov w0, 1
b .L132
.L131:
mov w0, -1
.L132:
str w0, [sp, 76]
ldr w0, [sp, 44]
str w0, [sp, 64]
b .L133
.L137:
ldrb w0, [sp, 55]
cmp w0, 0
beq .L134
ldrh w2, [sp, 30]
ldr w1, [sp, 64]
ldr w0, [sp, 60]
bl plot_pixel
b .L135
.L134:
ldrh w2, [sp, 30]
ldr w1, [sp, 60]
ldr w0, [sp, 64]
bl plot_pixel
.L135:
ldr w1, [sp, 56]
ldr w0, [sp, 72]
add w0, w1, w0
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
blt .L136
ldr w1, [sp, 60]
ldr w0, [sp, 76]
add w0, w1, w0
str w0, [sp, 60]
ldr w1, [sp, 56]
ldr w0, [sp, 68]
sub w0, w1, w0
str w0, [sp, 56]
.L136:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L133:
ldr w0, [sp, 36]
ldr w1, [sp, 64]
cmp w1, w0
ble .L137
nop
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size draw_line, .-draw_line
.align 2
.global swap
.type swap, %function
swap:
.LFB9:
.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, 28]
ldr x0, [sp]
ldr w1, [x0]
ldr x0, [sp, 8]
str w1, [x0]
ldr x0, [sp]
ldr w1, [sp, 28]
str w1, [x0]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size swap, .-swap
.align 2
.global plot_pixel
.type plot_pixel, %function
plot_pixel:
.LFB10:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
strh w2, [sp, 6]
ldr w0, [sp, 8]
lsl w1, w0, 10
adrp x0, pixel_buffer_start
add x0, x0, :lo12:pixel_buffer_start
ldr w0, [x0]
add w1, w1, w0
ldr w0, [sp, 12]
lsl w0, w0, 1
add w0, w1, w0
sxtw x0, w0
mov x1, x0
ldrh w0, [sp, 6]
strh w0, [x1]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size plot_pixel, .-plot_pixel
.align 2
.global plot_char
.type plot_char, %function
plot_char:
.LFB11:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
strb w2, [sp, 7]
ldr w0, [sp, 8]
lsl w0, w0, 7
mov w1, w0
ldr w0, [sp, 12]
add w1, w1, w0
mov w0, -922746880
add w0, w1, w0
uxtw x0, w0
mov x1, x0
ldrb w0, [sp, 7]
strb w0, [x1]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size plot_char, .-plot_char
.align 2
.global clear_screen
.type clear_screen, %function
clear_screen:
.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 wzr, [sp, 24]
b .L142
.L145:
str wzr, [sp, 28]
b .L143
.L144:
mov w2, 0
ldr w1, [sp, 28]
ldr w0, [sp, 24]
bl plot_pixel
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L143:
mov w0, 240
ldr w1, [sp, 28]
cmp w1, w0
blt .L144
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L142:
mov w0, 320
ldr w1, [sp, 24]
cmp w1, w0
blt .L145
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size clear_screen, .-clear_screen
.align 2
.global clear_boxes
.type clear_boxes, %function
clear_boxes:
.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 w1, [sp, 24]
str wzr, [sp, 40]
b .L147
.L150:
str wzr, [sp, 44]
b .L148
.L149:
ldr w1, [sp, 28]
ldr w0, [sp, 40]
add w3, w1, w0
ldr w1, [sp, 24]
ldr w0, [sp, 44]
add w0, w1, w0
mov w2, 0
mov w1, w0
mov w0, w3
bl plot_pixel
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L148:
mov w0, 5
ldr w1, [sp, 44]
cmp w1, w0
blt .L149
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L147:
mov w0, 5
ldr w1, [sp, 40]
cmp w1, w0
blt .L150
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size clear_boxes, .-clear_boxes
.align 2
.global draw_banner
.type draw_banner, %function
draw_banner:
.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 wzr, [sp, 24]
b .L152
.L155:
str wzr, [sp, 28]
b .L153
.L154:
mov w2, -29583
ldr w1, [sp, 28]
ldr w0, [sp, 24]
bl plot_pixel
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L153:
mov w0, 36
ldr w1, [sp, 28]
cmp w1, w0
blt .L154
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L152:
mov w0, 320
ldr w1, [sp, 24]
cmp w1, w0
blt .L155
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size draw_banner, .-draw_banner
.align 2
.global draw_border
.type draw_border, %function
draw_border:
.LFB15:
.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]
b .L157
.L158:
mov w1, 36
mov w0, 5
add w0, w1, w0
mov w2, -6340
mov w1, w0
ldr w0, [sp, 24]
bl plot_pixel
mov w0, 240
sub w1, w0, #1
mov w0, 5
sub w0, w1, w0
mov w2, -6340
mov w1, w0
ldr w0, [sp, 24]
bl plot_pixel
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L157:
mov w1, 320
mov w0, 5
sub w0, w1, w0
ldr w1, [sp, 24]
cmp w1, w0
blt .L158
mov w1, 36
mov w0, 5
add w0, w1, w0
str w0, [sp, 28]
b .L159
.L160:
mov w0, 5
mov w2, -6340
ldr w1, [sp, 28]
bl plot_pixel
mov w0, 320
sub w1, w0, #1
mov w0, 5
sub w0, w1, w0
mov w2, -6340
ldr w1, [sp, 28]
bl plot_pixel
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L159:
mov w1, 240
mov w0, 5
sub w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
blt .L160
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size draw_border, .-draw_border
.align 2
.global draw_mobile_boundary
.type draw_mobile_boundary, %function
draw_mobile_boundary:
.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 w0, [sp, 28]
mov w0, 5
add w0, w0, 1
str w0, [sp, 44]
b .L162
.L163:
mov w0, 240
sub w1, w0, #1
mov w0, 5
sub w1, w1, w0
ldr w0, [sp, 28]
sub w0, w1, w0
mov w2, 3903
mov w1, w0
ldr w0, [sp, 44]
bl plot_pixel
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L162:
mov w0, 320
sub w1, w0, #1
mov w0, 5
sub w0, w1, w0
ldr w1, [sp, 44]
cmp w1, w0
blt .L163
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size draw_mobile_boundary, .-draw_mobile_boundary
.align 2
.global erase_mobile_boundary
.type erase_mobile_boundary, %function
erase_mobile_boundary:
.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 w0, [sp, 28]
mov w0, 5
add w0, w0, 1
str w0, [sp, 44]
b .L165
.L166:
mov w0, 240
sub w1, w0, #1
mov w0, 5
sub w1, w1, w0
ldr w0, [sp, 28]
sub w0, w1, w0
mov w2, 0
mov w1, w0
ldr w0, [sp, 44]
bl plot_pixel
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L165:
mov w0, 320
sub w1, w0, #1
mov w0, 5
sub w0, w1, w0
ldr w1, [sp, 44]
cmp w1, w0
blt .L166
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size erase_mobile_boundary, .-erase_mobile_boundary
.align 2
.global draw_banner_text
.type draw_banner_text, %function
draw_banner_text:
.LFB18:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w2, 67
mov w1, 1
mov w0, 3
bl plot_char
mov w2, 79
mov w1, 1
mov w0, 4
bl plot_char
mov w2, 85
mov w1, 1
mov w0, 5
bl plot_char
mov w2, 78
mov w1, 1
mov w0, 6
bl plot_char
mov w2, 84
mov w1, 1
mov w0, 7
bl plot_char
mov w2, 72
mov w1, 3
mov w0, 3
bl plot_char
mov w2, 101
mov w1, 3
mov w0, 4
bl plot_char
mov w2, 97
mov w1, 3
mov w0, 5
bl plot_char
mov w2, 108
mov w1, 3
mov w0, 6
bl plot_char
mov w2, 116
mov w1, 3
mov w0, 7
bl plot_char
mov w2, 104
mov w1, 3
mov w0, 8
bl plot_char
mov w2, 121
mov w1, 3
mov w0, 9
bl plot_char
mov w2, 58
mov w1, 3
mov w0, 10
bl plot_char
mov w2, 83
mov w1, 5
mov w0, 3
bl plot_char
mov w2, 105
mov w1, 5
mov w0, 4
bl plot_char
mov w2, 99
mov w1, 5
mov w0, 5
bl plot_char
mov w2, 107
mov w1, 5
mov w0, 6
bl plot_char
mov w2, 58
mov w1, 5
mov w0, 7
bl plot_char
mov w2, 82
mov w1, 7
mov w0, 3
bl plot_char
mov w2, 101
mov w1, 7
mov w0, 4
bl plot_char
mov w2, 99
mov w1, 7
mov w0, 5
bl plot_char
mov w2, 111
mov w1, 7
mov w0, 6
bl plot_char
mov w2, 118
mov w1, 7
mov w0, 7
bl plot_char
mov w2, 101
mov w1, 7
mov w0, 8
bl plot_char
mov w2, 114
mov w1, 7
mov w0, 9
bl plot_char
mov w2, 101
mov w1, 7
mov w0, 10
bl plot_char
mov w2, 100
mov w1, 7
mov w0, 11
bl plot_char
mov w2, 58
mov w1, 7
mov w0, 12
bl plot_char
mov w2, 71
mov w1, 1
mov w0, 30
bl plot_char
mov w2, 82
mov w1, 1
mov w0, 31
bl plot_char
mov w2, 65
mov w1, 1
mov w0, 32
bl plot_char
mov w2, 80
mov w1, 1
mov w0, 33
bl plot_char
mov w2, 72
mov w1, 1
mov w0, 34
bl plot_char
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size draw_banner_text, .-draw_banner_text
.align 2
.global update_banner_data
.type update_banner_data, %function
update_banner_data:
.LFB19:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
str w2, [sp, 20]
ldr w0, [sp, 28]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 2
asr w0, w0, 31
sub w0, w1, w0
and w0, w0, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 3
mov w0, 12
bl plot_char
ldr w1, [sp, 28]
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 2
asr w0, w1, 31
sub w2, w2, w0
mov w0, w2
lsl w0, w0, 2
add w0, w0, w2
lsl w0, w0, 1
sub w2, w1, w0
and w0, w2, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 3
mov w0, 13
bl plot_char
ldr w0, [sp, 28]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 2
asr w0, w0, 31
sub w0, w1, w0
and w0, w0, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 3
mov w0, 30
bl plot_char
ldr w1, [sp, 28]
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 2
asr w0, w1, 31
sub w2, w2, w0
mov w0, w2
lsl w0, w0, 2
add w0, w0, w2
lsl w0, w0, 1
sub w2, w1, w0
and w0, w2, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 3
mov w0, 31
bl plot_char
ldr w0, [sp, 24]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 2
asr w0, w0, 31
sub w0, w1, w0
and w0, w0, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 5
mov w0, 9
bl plot_char
ldr w1, [sp, 24]
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 w2, w1, w0
and w0, w2, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 5
mov w0, 10
bl plot_char
ldr w0, [sp, 24]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 2
asr w0, w0, 31
sub w0, w1, w0
and w0, w0, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 5
mov w0, 30
bl plot_char
ldr w1, [sp, 24]
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 w2, w1, w0
and w0, w2, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 5
mov w0, 31
bl plot_char
ldr w0, [sp, 20]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 2
asr w0, w0, 31
sub w0, w1, w0
and w0, w0, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 7
mov w0, 14
bl plot_char
ldr w1, [sp, 20]
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 w2, w1, w0
and w0, w2, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 7
mov w0, 15
bl plot_char
ldr w0, [sp, 20]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 2
asr w0, w0, 31
sub w0, w1, w0
and w0, w0, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 7
mov w0, 30
bl plot_char
ldr w1, [sp, 20]
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 w2, w1, w0
and w0, w2, 255
add w0, w0, 48
and w0, w0, 255
mov w2, w0
mov w1, 7
mov w0, 31
bl plot_char
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE19:
.size update_banner_data, .-update_banner_data
.align 2
.global init_banner_graph
.type init_banner_graph, %function
init_banner_graph:
.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 w0, [sp, 28]
str w1, [sp, 24]
str w2, [sp, 20]
mov w0, 135
str w0, [sp, 36]
b .L170
.L171:
mov w2, -1
mov w1, 13
ldr w0, [sp, 36]
bl plot_pixel
mov w2, -1
mov w1, 14
ldr w0, [sp, 36]
bl plot_pixel
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L170:
ldr w0, [sp, 28]
add w0, w0, 134
ldr w1, [sp, 36]
cmp w1, w0
ble .L171
mov w0, 135
str w0, [sp, 40]
b .L172
.L173:
mov w2, -2048
mov w1, 21
ldr w0, [sp, 40]
bl plot_pixel
mov w2, -2048
mov w1, 22
ldr w0, [sp, 40]
bl plot_pixel
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L172:
ldr w0, [sp, 24]
add w0, w0, 134
ldr w1, [sp, 40]
cmp w1, w0
ble .L173
mov w0, 135
str w0, [sp, 44]
b .L174
.L175:
mov w2, 2024
mov w1, 29
ldr w0, [sp, 44]
bl plot_pixel
mov w2, 2024
mov w1, 30
ldr w0, [sp, 44]
bl plot_pixel
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L174:
ldr w0, [sp, 20]
add w0, w0, 134
ldr w1, [sp, 44]
cmp w1, w0
ble .L175
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size init_banner_graph, .-init_banner_graph
.align 2
.global reduce_banner_graph
.type reduce_banner_graph, %function
reduce_banner_graph:
.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 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, 48]
ldr w1, [x0]
ldr x0, [sp, 56]
ldr w0, [x0]
cmp w1, w0
ble .L177
ldr x0, [sp, 56]
ldr w0, [x0]
add w0, w0, 135
str w0, [sp, 68]
b .L178
.L179:
mov w2, -29583
mov w1, 13
ldr w0, [sp, 68]
bl plot_pixel
mov w2, -29583
mov w1, 14
ldr w0, [sp, 68]
bl plot_pixel
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L178:
ldr x0, [sp, 48]
ldr w0, [x0]
add w0, w0, 134
ldr w1, [sp, 68]
cmp w1, w0
ble .L179
.L177:
ldr x0, [sp, 32]
ldr w1, [x0]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w1, w0
ble .L180
ldr x0, [sp, 40]
ldr w0, [x0]
add w0, w0, 135
str w0, [sp, 72]
b .L181
.L182:
mov w2, -29583
mov w1, 21
ldr w0, [sp, 72]
bl plot_pixel
mov w2, -29583
mov w1, 22
ldr w0, [sp, 72]
bl plot_pixel
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L181:
ldr x0, [sp, 32]
ldr w0, [x0]
add w0, w0, 134
ldr w1, [sp, 72]
cmp w1, w0
ble .L182
.L180:
ldr x0, [sp, 16]
ldr w1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w1, w0
ble .L186
ldr x0, [sp, 24]
ldr w0, [x0]
add w0, w0, 135
str w0, [sp, 76]
b .L184
.L185:
mov w2, -29583
mov w1, 29
ldr w0, [sp, 76]
bl plot_pixel
mov w2, -29583
mov w1, 30
ldr w0, [sp, 76]
bl plot_pixel
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L184:
ldr x0, [sp, 16]
ldr w0, [x0]
add w0, w0, 134
ldr w1, [sp, 76]
cmp w1, w0
ble .L185
.L186:
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size reduce_banner_graph, .-reduce_banner_graph
.align 2
.global extend_banner_graph
.type extend_banner_graph, %function
extend_banner_graph:
.LFB22:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 44]
str w1, [sp, 40]
str w2, [sp, 36]
str w3, [sp, 32]
str w4, [sp, 28]
str w5, [sp, 24]
ldr w1, [sp, 44]
ldr w0, [sp, 40]
cmp w1, w0
ble .L188
ldr w0, [sp, 40]
add w0, w0, 135
str w0, [sp, 52]
b .L189
.L190:
mov w2, -1
mov w1, 13
ldr w0, [sp, 52]
bl plot_pixel
mov w2, -1
mov w1, 14
ldr w0, [sp, 52]
bl plot_pixel
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L189:
ldr w0, [sp, 44]
add w0, w0, 134
ldr w1, [sp, 52]
cmp w1, w0
ble .L190
.L188:
ldr w1, [sp, 36]
ldr w0, [sp, 32]
cmp w1, w0
ble .L191
ldr w0, [sp, 32]
add w0, w0, 135
str w0, [sp, 56]
b .L192
.L193:
mov w2, -2048
mov w1, 21
ldr w0, [sp, 56]
bl plot_pixel
mov w2, -2048
mov w1, 22
ldr w0, [sp, 56]
bl plot_pixel
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L192:
ldr w0, [sp, 36]
add w0, w0, 134
ldr w1, [sp, 56]
cmp w1, w0
ble .L193
.L191:
ldr w1, [sp, 28]
ldr w0, [sp, 24]
cmp w1, w0
ble .L197
ldr w0, [sp, 24]
add w0, w0, 135
str w0, [sp, 60]
b .L195
.L196:
mov w2, 2024
mov w1, 29
ldr w0, [sp, 60]
bl plot_pixel
mov w2, 2024
mov w1, 30
ldr w0, [sp, 60]
bl plot_pixel
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L195:
ldr w0, [sp, 28]
add w0, w0, 134
ldr w1, [sp, 60]
cmp w1, w0
ble .L196
.L197:
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE22:
.size extend_banner_graph, .-extend_banner_graph
.align 2
.global get_seg7_code
.type get_seg7_code, %function
get_seg7_code:
.LFB23:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
cmp w0, 9
beq .L199
ldr w0, [sp, 12]
cmp w0, 9
bgt .L200
ldr w0, [sp, 12]
cmp w0, 8
beq .L201
ldr w0, [sp, 12]
cmp w0, 8
bgt .L200
ldr w0, [sp, 12]
cmp w0, 7
beq .L202
ldr w0, [sp, 12]
cmp w0, 7
bgt .L200
ldr w0, [sp, 12]
cmp w0, 6
beq .L203
ldr w0, [sp, 12]
cmp w0, 6
bgt .L200
ldr w0, [sp, 12]
cmp w0, 5
beq .L204
ldr w0, [sp, 12]
cmp w0, 5
bgt .L200
ldr w0, [sp, 12]
cmp w0, 4
beq .L205
ldr w0, [sp, 12]
cmp w0, 4
bgt .L200
ldr w0, [sp, 12]
cmp w0, 3
beq .L206
ldr w0, [sp, 12]
cmp w0, 3
bgt .L200
ldr w0, [sp, 12]
cmp w0, 2
beq .L207
ldr w0, [sp, 12]
cmp w0, 2
bgt .L200
ldr w0, [sp, 12]
cmp w0, 0
beq .L208
ldr w0, [sp, 12]
cmp w0, 1
beq .L209
b .L200
.L208:
mov w0, 63
b .L210
.L209:
mov w0, 6
b .L210
.L207:
mov w0, 91
b .L210
.L206:
mov w0, 79
b .L210
.L205:
mov w0, 102
b .L210
.L204:
mov w0, 109
b .L210
.L203:
mov w0, 125
b .L210
.L202:
mov w0, 7
b .L210
.L201:
mov w0, 127
b .L210
.L199:
mov w0, 111
b .L210
.L200:
mov w0, 63
.L210:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE23:
.size get_seg7_code, .-get_seg7_code
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global GENERATIONS
.section .rodata
.align 2
.type GENERATIONS, %object
.size GENERATIONS, 4
GENERATIONS:
.word 3
.global INDENT_LENGTH
.align 2
.type INDENT_LENGTH, %object
.size INDENT_LENGTH, 4
INDENT_LENGTH:
.word 4
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 0
bl time
bl srand
mov w0, 3
bl create_family
str x0, [sp, 24]
mov w1, 0
ldr x0, [sp, 24]
bl print_family
ldr x0, [sp, 24]
bl free_family
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 create_family
.type create_family, %function
create_family:
.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 x19, [sp, 16]
.cfi_offset 19, -48
str w0, [sp, 44]
mov x0, 24
bl malloc
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L4
mov x0, 0
b .L5
.L4:
ldr w0, [sp, 44]
cmp w0, 1
ble .L6
ldr w0, [sp, 44]
sub w0, w0, #1
bl create_family
mov x1, x0
ldr x0, [sp, 56]
str x1, [x0]
ldr w0, [sp, 44]
sub w0, w0, #1
bl create_family
mov x1, x0
ldr x0, [sp, 56]
str x1, [x0, 8]
ldr x0, [sp, 56]
ldr x19, [x0]
bl rand
cmp w0, 0
and w0, w0, 1
csneg w0, w0, w0, ge
sxtw x0, w0
add x0, x19, x0
ldrb w1, [x0, 16]
ldr x0, [sp, 56]
strb w1, [x0, 16]
ldr x0, [sp, 56]
ldr x19, [x0, 8]
bl rand
cmp w0, 0
and w0, w0, 1
csneg w0, w0, w0, ge
sxtw x0, w0
add x0, x19, x0
ldrb w1, [x0, 16]
ldr x0, [sp, 56]
strb w1, [x0, 17]
b .L7
.L6:
ldr x0, [sp, 56]
str xzr, [x0]
ldr x0, [sp, 56]
str xzr, [x0, 8]
bl random_allele
and w1, w0, 255
ldr x0, [sp, 56]
strb w1, [x0, 16]
bl random_allele
and w1, w0, 255
ldr x0, [sp, 56]
strb w1, [x0, 17]
.L7:
ldr x0, [sp, 56]
.L5:
ldr x19, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size create_family, .-create_family
.align 2
.global free_family
.type free_family, %function
free_family:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L11
ldr x0, [sp, 24]
ldr x0, [x0]
bl free_family
ldr x0, [sp, 24]
ldr x0, [x0, 8]
bl free_family
ldr x0, [sp, 24]
bl free
b .L8
.L11:
nop
.L8:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size free_family, .-free_family
.section .rodata
.align 3
.LC0:
.string "Generation %i, blood type %c%c\n"
.text
.align 2
.global print_family
.type print_family, %function
print_family:
.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 w1, [sp, 20]
ldr x0, [sp, 24]
cmp x0, 0
beq .L17
str wzr, [sp, 44]
b .L15
.L16:
mov w0, 32
bl putchar
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L15:
mov w1, 4
ldr w0, [sp, 20]
mul w0, w1, w0
ldr w1, [sp, 44]
cmp w1, w0
blt .L16
ldr x0, [sp, 24]
ldrb w0, [x0, 16]
mov w1, w0
ldr x0, [sp, 24]
ldrb w0, [x0, 17]
mov w3, w0
mov w2, w1
ldr w1, [sp, 20]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x0, [sp, 24]
ldr x2, [x0]
ldr w0, [sp, 20]
add w0, w0, 1
mov w1, w0
mov x0, x2
bl print_family
ldr x0, [sp, 24]
ldr x2, [x0, 8]
ldr w0, [sp, 20]
add w0, w0, 1
mov w1, w0
mov x0, x2
bl print_family
b .L12
.L17:
nop
.L12:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size print_family, .-print_family
.align 2
.global random_allele
.type random_allele, %function
random_allele:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
bl rand
mov w1, w0
mov w0, 21846
movk w0, 0x5555, lsl 16
smull x0, w1, w0
lsr x2, x0, 32
asr w0, w1, 31
sub w2, w2, w0
mov w0, w2
lsl w0, w0, 1
add w0, w0, w2
sub w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
bne .L19
mov w0, 65
b .L20
.L19:
ldr w0, [sp, 28]
cmp w0, 1
bne .L21
mov w0, 66
b .L20
.L21:
mov w0, 79
.L20:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size random_allele, .-random_allele
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global f
.type f, %function
f:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, 12]
str s1, [sp, 8]
ldr s1, [sp, 12]
ldr s0, [sp, 8]
fadd s0, s1, s0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size f, .-f
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "\ndigite tam: "
.align 3
.LC1:
.string "%d"
.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, 100
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [x29, 100]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 104]
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
.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, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 112]
ldr x0, [x29, 112]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
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, 120]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L6
bl __stack_chk_fail
.L6:
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"
.align 3
.LC1:
.string "positivo\n"
.align 3
.LC2:
.string "negativo\n"
.align 3
.LC3:
.string "nulo\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
add x0, sp, 20
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 20]
cmp w0, 0
ble .L2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L3
.L2:
ldr w0, [sp, 20]
cmp w0, 0
bge .L4
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
b .L3
.L4:
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
.L3:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 24]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .stack,"aw"
.align 3
.type stack, %object
.size stack, 1024
stack:
.zero 1024
.section .heap,"aw"
.align 3
.type heap, %object
.size heap, 3072
heap:
.zero 3072
.global __Vectors
.section .vectors,"aw"
.align 3
.type __Vectors, %object
.size __Vectors, 384
__Vectors:
.xword __StackTop
.xword Reset_Handler
.xword NMI_Handler
.xword HardFault_Handler
.xword 0
.xword 0
.xword 0
.xword 0
.xword 0
.xword 0
.xword 0
.xword SVC_Handler
.xword 0
.xword 0
.xword PendSV_Handler
.xword SysTick_Handler
.xword WDT_IRQHandler
.xword RTC_IRQHandler
.xword TIM0_IRQHandler
.xword TIM2_IRQHandler
.xword MCIA_IRQHandler
.xword MCIB_IRQHandler
.xword UART0_IRQHandler
.xword UART1_IRQHandler
.xword UART2_IRQHandler
.xword UART4_IRQHandler
.xword AACI_IRQHandler
.xword CLCD_IRQHandler
.xword ENET_IRQHandler
.xword USBDC_IRQHandler
.xword USBHC_IRQHandler
.xword CHLCD_IRQHandler
.xword FLEXRAY_IRQHandler
.xword CAN_IRQHandler
.xword LIN_IRQHandler
.xword I2C_IRQHandler
.xword 0
.xword 0
.xword 0
.xword 0
.xword 0
.xword 0
.xword 0
.xword 0
.xword CPU_CLCD_IRQHandler
.xword 0
.xword UART3_IRQHandler
.xword SPI_IRQHandler
.text
.align 2
.global Reset_Handler
.type Reset_Handler, %function
Reset_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
adrp x0, :got:__etext
ldr x0, [x0, #:got_lo12:__etext]
str x0, [sp, 16]
adrp x0, :got:__data_start__
ldr x0, [x0, #:got_lo12:__data_start__]
str x0, [sp, 24]
b .L2
.L3:
ldr x1, [sp, 16]
add x0, x1, 4
str x0, [sp, 16]
ldr x0, [sp, 24]
add x2, x0, 4
str x2, [sp, 24]
ldr w1, [x1]
str w1, [x0]
.L2:
ldr x1, [sp, 24]
adrp x0, :got:__data_end__
ldr x0, [x0, #:got_lo12:__data_end__]
cmp x1, x0
bcc .L3
bl SystemInit
bl _start
.cfi_endproc
.LFE0:
.size Reset_Handler, .-Reset_Handler
.align 2
.global Default_Handler
.type Default_Handler, %function
Default_Handler:
.LFB1:
.cfi_startproc
.L5:
b .L5
.cfi_endproc
.LFE1:
.size Default_Handler, .-Default_Handler
.weak SPI_IRQHandler
.set SPI_IRQHandler,Default_Handler
.weak UART3_IRQHandler
.set UART3_IRQHandler,Default_Handler
.weak CPU_CLCD_IRQHandler
.set CPU_CLCD_IRQHandler,Default_Handler
.weak I2C_IRQHandler
.set I2C_IRQHandler,Default_Handler
.weak LIN_IRQHandler
.set LIN_IRQHandler,Default_Handler
.weak CAN_IRQHandler
.set CAN_IRQHandler,Default_Handler
.weak FLEXRAY_IRQHandler
.set FLEXRAY_IRQHandler,Default_Handler
.weak CHLCD_IRQHandler
.set CHLCD_IRQHandler,Default_Handler
.weak USBHC_IRQHandler
.set USBHC_IRQHandler,Default_Handler
.weak USBDC_IRQHandler
.set USBDC_IRQHandler,Default_Handler
.weak ENET_IRQHandler
.set ENET_IRQHandler,Default_Handler
.weak CLCD_IRQHandler
.set CLCD_IRQHandler,Default_Handler
.weak AACI_IRQHandler
.set AACI_IRQHandler,Default_Handler
.weak UART4_IRQHandler
.set UART4_IRQHandler,Default_Handler
.weak UART2_IRQHandler
.set UART2_IRQHandler,Default_Handler
.weak UART1_IRQHandler
.set UART1_IRQHandler,Default_Handler
.weak UART0_IRQHandler
.set UART0_IRQHandler,Default_Handler
.weak MCIB_IRQHandler
.set MCIB_IRQHandler,Default_Handler
.weak MCIA_IRQHandler
.set MCIA_IRQHandler,Default_Handler
.weak TIM2_IRQHandler
.set TIM2_IRQHandler,Default_Handler
.weak TIM0_IRQHandler
.set TIM0_IRQHandler,Default_Handler
.weak RTC_IRQHandler
.set RTC_IRQHandler,Default_Handler
.weak WDT_IRQHandler
.set WDT_IRQHandler,Default_Handler
.weak SysTick_Handler
.set SysTick_Handler,Default_Handler
.weak PendSV_Handler
.set PendSV_Handler,Default_Handler
.weak SVC_Handler
.set SVC_Handler,Default_Handler
.weak HardFault_Handler
.set HardFault_Handler,Default_Handler
.weak NMI_Handler
.set NMI_Handler,Default_Handler
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
sub sp, sp, #1568
.cfi_def_cfa_offset 1568
stp x29, x30, [sp]
.cfi_offset 29, -1568
.cfi_offset 30, -1560
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1560]
mov x1, 0
b .L2
.L22:
add x0, sp, 296
bl gets
add x0, sp, 40
bl strlen
strh w0, [sp, 30]
add x0, sp, 296
bl strlen
strh w0, [sp, 32]
strh wzr, [sp, 22]
b .L3
.L4:
ldrsh w0, [sp, 22]
sxtw x0, w0
add x1, sp, 552
strb wzr, [x1, x0]
ldrsh w0, [sp, 22]
sxtw x0, w0
add x1, sp, 1056
strb wzr, [x1, x0]
ldrsh w0, [sp, 22]
and w0, w0, 65535
add w0, w0, 1
and w0, w0, 65535
strh w0, [sp, 22]
.L3:
ldrsh w1, [sp, 22]
ldrsh w2, [sp, 30]
ldrsh w0, [sp, 32]
add w0, w2, w0
cmp w1, w0
blt .L4
strh wzr, [sp, 28]
ldrh w0, [sp, 32]
sub w0, w0, #1
and w0, w0, 65535
strh w0, [sp, 22]
b .L5
.L16:
strh wzr, [sp, 26]
strh wzr, [sp, 28]
ldrh w0, [sp, 30]
sub w0, w0, #1
and w0, w0, 65535
strh w0, [sp, 24]
b .L6
.L9:
ldrsh w0, [sp, 22]
sxtw x0, w0
add x1, sp, 296
ldrb w0, [x1, x0]
sub w0, w0, #48
and w1, w0, 65535
ldrsh w0, [sp, 24]
sxtw x0, w0
add x2, sp, 40
ldrb w0, [x2, x0]
sub w0, w0, #48
and w0, w0, 65535
mul w0, w1, w0
and w1, w0, 65535
ldrh w0, [sp, 26]
add w0, w1, w0
and w0, w0, 65535
strh w0, [sp, 38]
ldrsh w0, [sp, 38]
cmp w0, 10
bne .L7
ldrsh w0, [sp, 28]
sxtw x0, w0
add x1, sp, 552
strb wzr, [x1, x0]
mov w0, 1
strh w0, [sp, 26]
b .L8
.L7:
ldrsh w1, [sp, 38]
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
sxth w1, w0
ldrsh w0, [sp, 28]
and w2, w1, 255
sxtw x0, w0
add x1, sp, 552
strb w2, [x1, x0]
ldrsh w0, [sp, 38]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 2
asr w0, w0, 31
sub w0, w1, w0
strh w0, [sp, 26]
.L8:
ldrsh w0, [sp, 28]
and w0, w0, 65535
add w0, w0, 1
and w0, w0, 65535
strh w0, [sp, 28]
ldrsh w0, [sp, 24]
and w0, w0, 65535
sub w0, w0, #1
and w0, w0, 65535
strh w0, [sp, 24]
.L6:
ldrsh w0, [sp, 24]
cmp w0, 0
bge .L9
ldrsh w0, [sp, 26]
cmp w0, 0
beq .L10
ldrsh w1, [sp, 28]
and w0, w1, 65535
add w0, w0, 1
and w0, w0, 65535
strh w0, [sp, 28]
ldrh w0, [sp, 26]
and w2, w0, 255
sxtw x0, w1
add x1, sp, 552
strb w2, [x1, x0]
strh wzr, [sp, 26]
.L10:
ldrh w1, [sp, 32]
ldrh w0, [sp, 22]
sub w0, w1, w0
and w0, w0, 65535
sub w0, w0, #1
and w0, w0, 65535
strh w0, [sp, 34]
ldrh w0, [sp, 34]
strh w0, [sp, 24]
b .L11
.L14:
ldrsh w0, [sp, 24]
sxtw x0, w0
add x1, sp, 1056
ldrb w0, [x1, x0]
and w1, w0, 65535
ldrsh w2, [sp, 24]
ldrsh w0, [sp, 34]
sub w0, w2, w0
sxtw x0, w0
add x2, sp, 552
ldrb w0, [x2, x0]
and w0, w0, 65535
add w0, w1, w0
and w1, w0, 65535
ldrh w0, [sp, 26]
add w0, w1, w0
and w0, w0, 65535
strh w0, [sp, 36]
ldrsh w0, [sp, 36]
cmp w0, 9
ble .L12
ldrh w0, [sp, 36]
and w0, w0, 255
ldrsh w1, [sp, 24]
sub w0, w0, #10
and w2, w0, 255
sxtw x0, w1
add x1, sp, 1056
strb w2, [x1, x0]
mov w0, 1
strh w0, [sp, 26]
b .L13
.L12:
ldrsh w0, [sp, 24]
ldrh w1, [sp, 36]
and w2, w1, 255
sxtw x0, w0
add x1, sp, 1056
strb w2, [x1, x0]
strh wzr, [sp, 26]
.L13:
ldrsh w0, [sp, 24]
and w0, w0, 65535
add w0, w0, 1
and w0, w0, 65535
strh w0, [sp, 24]
.L11:
ldrsh w1, [sp, 24]
ldrsh w2, [sp, 28]
ldrsh w0, [sp, 34]
add w0, w2, w0
cmp w1, w0
blt .L14
ldrsh w0, [sp, 26]
cmp w0, 0
beq .L15
ldrsh w1, [sp, 24]
and w0, w1, 65535
add w0, w0, 1
and w0, w0, 65535
strh w0, [sp, 24]
ldrh w0, [sp, 26]
and w2, w0, 255
sxtw x0, w1
add x1, sp, 1056
strb w2, [x1, x0]
.L15:
ldrsh w0, [sp, 22]
and w0, w0, 65535
sub w0, w0, #1
and w0, w0, 65535
strh w0, [sp, 22]
.L5:
ldrsh w0, [sp, 22]
cmp w0, 0
bge .L16
strh wzr, [sp, 28]
ldrh w0, [sp, 24]
sub w0, w0, #1
and w0, w0, 65535
strh w0, [sp, 22]
b .L17
.L20:
ldrsh w0, [sp, 22]
sxtw x0, w0
add x1, sp, 1056
ldrb w0, [x1, x0]
cmp w0, 0
beq .L18
mov w0, 1
strh w0, [sp, 28]
.L18:
ldrsh w0, [sp, 28]
cmp w0, 0
beq .L19
ldrsh w0, [sp, 22]
sxtw x0, w0
add x1, sp, 1056
ldrb w0, [x1, x0]
add w0, w0, 48
bl putchar
.L19:
ldrsh w0, [sp, 22]
and w0, w0, 65535
sub w0, w0, #1
and w0, w0, 65535
strh w0, [sp, 22]
.L17:
ldrsh w0, [sp, 22]
cmp w0, 0
bge .L20
ldrsh w0, [sp, 28]
cmp w0, 0
bne .L21
mov w0, 48
bl putchar
.L21:
mov w0, 10
bl putchar
.L2:
add x0, sp, 40
bl gets
cmp w0, 0
bne .L22
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1560]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L23
bl __stack_chk_fail
.L23:
ldp x29, x30, [sp]
add sp, sp, 1568
.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
.global G
.bss
.align 3
.type G, %object
.size G, 160
G:
.zero 160
.global visited
.align 3
.type visited, %object
.size visited, 80
visited:
.zero 80
.global n
.align 2
.type n, %object
.size n, 4
n:
.zero 4
.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 read_graph
str wzr, [sp, 28]
b .L2
.L3:
adrp x0, visited
add x0, x0, :lo12:visited
ldrsw x1, [sp, 28]
str wzr, [x0, x1, lsl 2]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
adrp x0, n
add x0, x0, :lo12:n
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L3
mov w0, 0
bl DFS
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC0:
.string "\n%d"
.text
.align 2
.global DFS
.type DFS, %function
DFS:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
ldr w1, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
adrp x0, G
add x0, x0, :lo12:G
ldrsw x1, [sp, 28]
ldr x0, [x0, x1, lsl 3]
str x0, [sp, 40]
adrp x0, visited
add x0, x0, :lo12:visited
ldrsw x1, [sp, 28]
mov w2, 1
str w2, [x0, x1, lsl 2]
b .L5
.L7:
ldr x0, [sp, 40]
ldr w0, [x0, 8]
str w0, [sp, 28]
adrp x0, visited
add x0, x0, :lo12:visited
ldrsw x1, [sp, 28]
ldr w0, [x0, x1, lsl 2]
cmp w0, 0
bne .L6
ldr w0, [sp, 28]
bl DFS
.L6:
ldr x0, [sp, 40]
ldr x0, [x0]
str x0, [sp, 40]
.L5:
ldr x0, [sp, 40]
cmp x0, 0
bne .L7
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size DFS, .-DFS
.section .rodata
.align 3
.LC1:
.string "Enter number of vertices:"
.align 3
.LC2:
.string "%d"
.align 3
.LC3:
.string "Enter number of edges:"
.align 3
.LC4:
.string "Enter an edge(u,v):"
.align 3
.LC5:
.string "%d%d"
.text
.align 2
.global read_graph
.type read_graph, %function
read_graph:
.LFB8:
.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, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, n
add x1, x0, :lo12:n
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
str wzr, [sp, 36]
b .L9
.L12:
adrp x0, G
add x0, x0, :lo12:G
ldrsw x1, [sp, 36]
str xzr, [x0, x1, lsl 3]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
add x0, sp, 32
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
str wzr, [sp, 36]
b .L10
.L11:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
add x1, sp, 28
add x0, sp, 24
mov x2, x1
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
ldr w0, [sp, 24]
ldr w1, [sp, 28]
bl insert
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L10:
ldr w0, [sp, 32]
ldr w1, [sp, 36]
cmp w1, w0
blt .L11
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L9:
adrp x0, n
add x0, x0, :lo12:n
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L12
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 .L13
bl __stack_chk_fail
.L13:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size read_graph, .-read_graph
.align 2
.global insert
.type insert, %function
insert:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
mov x0, 16
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w1, [sp, 24]
str w1, [x0, 8]
ldr x0, [sp, 40]
str xzr, [x0]
adrp x0, G
add x0, x0, :lo12:G
ldrsw x1, [sp, 28]
ldr x0, [x0, x1, lsl 3]
cmp x0, 0
bne .L15
adrp x0, G
add x0, x0, :lo12:G
ldrsw x1, [sp, 28]
ldr x2, [sp, 40]
str x2, [x0, x1, lsl 3]
b .L19
.L15:
adrp x0, G
add x0, x0, :lo12:G
ldrsw x1, [sp, 28]
ldr x0, [x0, x1, lsl 3]
str x0, [sp, 32]
b .L17
.L18:
ldr x0, [sp, 32]
ldr x0, [x0]
str x0, [sp, 32]
.L17:
ldr x0, [sp, 32]
ldr x0, [x0]
cmp x0, 0
bne .L18
ldr x0, [sp, 32]
ldr x1, [sp, 40]
str x1, [x0]
.L19:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size insert, .-insert
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "/dev/hello"
.align 3
.LC1:
.string "open fail\n"
.align 3
.LC2:
.string "open ok"
.align 3
.LC3:
.string "close"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w1, 2
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl open
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
bge .L2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl perror
nop
b .L1
.L2:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
mov w0, 10
bl sleep
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
ldr w0, [sp, 28]
bl close
mov w0, 0
.L1:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d%d"
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "%d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -144]!
.cfi_def_cfa_offset 144
.cfi_offset 29, -144
.cfi_offset 30, -136
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 136]
mov x1, 0
.L10:
str wzr, [sp, 44]
add x0, sp, 48
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
add x1, sp, 32
add x0, sp, 28
mov x2, x1
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 28]
cmp w0, 0
bne .L2
ldr w0, [sp, 32]
cmp w0, 0
bne .L2
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 136]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L11
b .L12
.L2:
str wzr, [sp, 40]
b .L4
.L5:
add x0, sp, 36
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w3, [sp, 36]
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 48
ldr w0, [x1, x0]
add w2, w0, 1
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 48
str w2, [x1, x0]
ldr w0, [sp, 36]
ldr w1, [sp, 44]
add w0, w1, w0
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L4:
ldr w0, [sp, 28]
ldr w1, [sp, 40]
cmp w1, w0
blt .L5
str wzr, [sp, 40]
b .L6
.L9:
add x0, sp, 36
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 36]
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 48
ldr w0, [x1, x0]
cmp w0, 0
bgt .L7
ldr w0, [sp, 36]
ldr w1, [sp, 44]
add w0, w1, w0
str w0, [sp, 44]
b .L8
.L7:
ldr w3, [sp, 36]
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 48
ldr w0, [x1, x0]
sub w2, w0, #1
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 48
str w2, [x1, x0]
.L8:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L6:
ldr w0, [sp, 32]
ldr w1, [sp, 40]
cmp w1, w0
blt .L9
ldr w1, [sp, 44]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
b .L10
.L12:
bl __stack_chk_fail
.L11:
mov w0, w1
ldp x29, x30, [sp], 144
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global i
.bss
.align 2
.type i, %object
.size i, 4
i:
.zero 4
.global head
.align 3
.type head, %object
.size head, 8
head:
.zero 8
.section .rodata
.align 3
.LC0:
.string "\nInsertion successful"
.text
.align 2
.global insertAtEnd
.type insertAtEnd, %function
insertAtEnd:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
mov x0, 24
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w1, [sp, 28]
str w1, [x0]
ldr x0, [sp, 40]
str xzr, [x0, 16]
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L2
ldr x0, [sp, 40]
str xzr, [x0, 8]
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [sp, 40]
str x1, [x0]
b .L3
.L2:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 32]
b .L4
.L5:
ldr x0, [sp, 32]
ldr x0, [x0, 16]
str x0, [sp, 32]
.L4:
ldr x0, [sp, 32]
ldr x0, [x0, 16]
cmp x0, 0
bne .L5
ldr x0, [sp, 32]
ldr x1, [sp, 40]
str x1, [x0, 16]
ldr x0, [sp, 40]
ldr x1, [sp, 32]
str x1, [x0, 8]
.L3:
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
.LFE6:
.size insertAtEnd, .-insertAtEnd
.align 2
.global insertAtBeginning
.type insertAtBeginning, %function
insertAtBeginning:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
mov x0, 24
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w1, [sp, 28]
str w1, [x0]
ldr x0, [sp, 40]
str xzr, [x0, 8]
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L7
ldr x0, [sp, 40]
str xzr, [x0, 16]
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [sp, 40]
str x1, [x0]
b .L8
.L7:
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [x0]
ldr x0, [sp, 40]
str x1, [x0, 16]
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
ldr x1, [sp, 40]
str x1, [x0, 8]
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [sp, 40]
str x1, [x0]
.L8:
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
.LFE7:
.size insertAtBeginning, .-insertAtBeginning
.section .rodata
.align 3
.LC1:
.string "List is Empty"
.align 3
.LC2:
.string "\nDeletion successful"
.text
.align 2
.global deleteEnd
.type deleteEnd, %function
deleteEnd:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L10
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L16
.L10:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x1, x0
bne .L14
adrp x0, head
add x0, x0, :lo12:head
str xzr, [x0]
ldr x0, [sp, 24]
bl free
b .L13
.L15:
ldr x0, [sp, 24]
ldr x0, [x0, 16]
str x0, [sp, 24]
.L14:
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 0
bne .L15
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str xzr, [x0, 16]
ldr x0, [sp, 24]
bl free
.L13:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
.L16:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size deleteEnd, .-deleteEnd
.align 2
.global deleteBeginning
.type deleteBeginning, %function
deleteBeginning:
.LFB9:
.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, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L18
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L22
.L18:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x1, x0
bne .L20
adrp x0, head
add x0, x0, :lo12:head
str xzr, [x0]
ldr x0, [sp, 24]
bl free
b .L21
.L20:
ldr x0, [sp, 24]
ldr x1, [x0, 16]
adrp x0, head
add x0, x0, :lo12:head
str x1, [x0]
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str xzr, [x0, 8]
ldr x0, [sp, 24]
bl free
.L21:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
.L22:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size deleteBeginning, .-deleteBeginning
.section .rodata
.align 3
.LC3:
.string "\n[ "
.align 3
.LC4:
.string "(%d) "
.align 3
.LC5:
.string " ]"
.text
.align 2
.global traverse
.type traverse, %function
traverse:
.LFB10:
.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, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 24]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
b .L24
.L25:
ldr x0, [sp, 24]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x0, [sp, 24]
ldr x0, [x0, 16]
str x0, [sp, 24]
.L24:
ldr x0, [sp, 24]
cmp x0, 0
bne .L25
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
.LFE10:
.size traverse, .-traverse
.section .rodata
.align 3
.LC6:
.string "\n*********Main Menu*********"
.align 3
.LC7:
.string "\nChoose one option from the following list ..."
.align 3
.LC8:
.string "\n==============================================="
.align 3
.LC9:
.string "\n1.Insert in beginning\n2.Insert at last\n3.Delete from Beginning\n4.Delete from last\n5.Show\n9.Exit"
.align 3
.LC10:
.string "\nEnter your choice?"
.align 3
.LC11:
.string "\n%d"
.align 3
.LC12:
.string "\n Specify value of node:"
.align 3
.LC13:
.string "%d"
.align 3
.LC14:
.string "Please enter valid choice.."
.text
.align 2
.global main
.type main, %function
main:
.LFB11:
.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
str wzr, [sp, 16]
str wzr, [sp, 20]
b .L27
.L37:
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 puts
add x0, sp, 16
mov x1, x0
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl __isoc99_scanf
ldr w0, [sp, 16]
cmp w0, 1
beq .L28
ldr w0, [sp, 16]
cmp w0, 2
bne .L29
.L28:
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
add x0, sp, 20
mov x1, x0
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl __isoc99_scanf
.L29:
ldr w0, [sp, 16]
cmp w0, 9
beq .L30
cmp w0, 9
bgt .L31
cmp w0, 5
beq .L32
cmp w0, 5
bgt .L31
cmp w0, 4
beq .L33
cmp w0, 4
bgt .L31
cmp w0, 3
beq .L34
cmp w0, 3
bgt .L31
cmp w0, 1
beq .L35
cmp w0, 2
beq .L36
b .L31
.L35:
ldr w0, [sp, 20]
bl insertAtBeginning
b .L27
.L36:
ldr w0, [sp, 20]
bl insertAtEnd
b .L27
.L34:
bl deleteBeginning
b .L27
.L33:
bl deleteEnd
b .L27
.L32:
bl traverse
b .L27
.L30:
mov w0, 0
bl exit
.L31:
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl printf
.L27:
ldr w0, [sp, 16]
cmp w0, 9
bne .L37
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 .L39
bl __stack_chk_fail
.L39:
mov w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "input a grade"
.align 3
.LC1:
.string "%lf"
.text
.align 2
.global askPoints
.type askPoints, %function
askPoints:
.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, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
add x0, sp, 16
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl scanf_s
ldr d0, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 24]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L3
bl __stack_chk_fail
.L3:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size askPoints, .-askPoints
.align 2
.global avgPoints
.type avgPoints, %function
avgPoints:
.LFB7:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str d0, [sp, 24]
str d1, [sp, 16]
str d2, [sp, 8]
ldr d1, [sp, 24]
ldr d0, [sp, 16]
fadd d1, d1, d0
ldr d0, [sp, 8]
fadd d1, d1, d0
fmov d0, 3.0e+0
fdiv d0, d1, d0
str d0, [sp, 40]
ldr d0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size avgPoints, .-avgPoints
.section .rodata
.align 3
.LC2:
.string "the average is %.2lf, the percentage is%.2lf\n"
.text
.align 2
.global display
.type display, %function
display:
.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 d0, [sp, 24]
str d1, [sp, 16]
ldr d1, [sp, 16]
ldr d0, [sp, 24]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size display, .-display
.align 2
.global percentPoints
.type percentPoints, %function
percentPoints:
.LFB9:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str d0, [sp, 24]
str d1, [sp, 16]
str d2, [sp, 8]
ldr d1, [sp, 24]
ldr d0, [sp, 16]
fadd d1, d1, d0
ldr d0, [sp, 8]
fadd d1, d1, d0
fmov d0, 3.0e+0
fdiv d0, d1, d0
str d0, [sp, 40]
ldr d0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size percentPoints, .-percentPoints
.section .rodata
.align 3
.LC3:
.string "pause"
.text
.align 2
.global main
.type main, %function
main:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
bl askPoints
str d0, [sp, 24]
bl askPoints
str d0, [sp, 32]
bl askPoints
str d0, [sp, 40]
ldr d2, [sp, 40]
ldr d1, [sp, 32]
ldr d0, [sp, 24]
bl avgPoints
str d0, [sp, 48]
ldr d2, [sp, 40]
ldr d1, [sp, 32]
ldr d0, [sp, 24]
bl percentPoints
str d0, [sp, 56]
ldr d1, [sp, 56]
ldr d0, [sp, 48]
bl display
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl system
mov w0, 0
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global message
.data
.align 3
.type message, %object
.size message, 38
message:
.string "CHAO0029 OPERATING SYSTEM STARTING..."
.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, message
add x0, x0, :lo12:message
ldrb w0, [x0]
bl print_to_screen
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.global screen
.data
.align 3
.type screen, %object
.size screen, 8
screen:
.xword 1024
.text
.align 2
.global print_to_screen
.type print_to_screen, %function
print_to_screen:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
b .L3
.L4:
ldr x1, [sp, 8]
add x0, x1, 1
str x0, [sp, 8]
adrp x0, screen
add x0, x0, :lo12:screen
ldr x0, [x0]
add x3, x0, 1
adrp x2, screen
add x2, x2, :lo12:screen
str x3, [x2]
ldrb w1, [x1]
strb w1, [x0]
.L3:
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 0
bne .L4
nop
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size print_to_screen, .-print_to_screen
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global f
.type f, %function
f:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
str w2, [sp, 4]
ldr w0, [sp, 12]
cmp w0, 0
bne .L2
ldr w1, [sp, 8]
ldr w0, [sp, 4]
cmp w1, w0
ble .L2
mov w0, 0
b .L3
.L2:
ldr w0, [sp, 12]
.L3:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size f, .-f
.align 2
.global g
.type g, %function
g:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
str w2, [sp, 4]
ldr w0, [sp, 12]
cmp w0, 42
bne .L5
ldr w1, [sp, 8]
ldr w0, [sp, 4]
cmp w1, w0
ble .L5
mov w0, 42
b .L6
.L5:
ldr w0, [sp, 12]
.L6:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size g, .-g
.align 2
.global h
.type h, %function
h:
.LFB2:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
str w2, [sp, 4]
str w3, [sp]
ldr w1, [sp, 12]
ldr w0, [sp]
cmp w1, w0
bne .L8
ldr w1, [sp, 8]
ldr w0, [sp, 4]
cmp w1, w0
ble .L8
ldr w0, [sp]
b .L9
.L8:
ldr w0, [sp, 12]
.L9:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size h, .-h
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global g
.bss
.align 2
.type g, %object
.size g, 4
g:
.zero 4
.text
.align 2
.global f
.type f, %function
f:
.LFB0:
.cfi_startproc
sub sp, sp, #80
.cfi_def_cfa_offset 80
str w0, [sp, 12]
str w1, [sp, 8]
ldr w0, [sp, 12]
str w0, [sp, 44]
ldr w0, [sp, 48]
str w0, [sp, 44]
ldr w0, [sp, 8]
str w0, [sp, 48]
adrp x0, g
add x0, x0, :lo12:g
ldr w0, [x0]
str w0, [sp, 52]
adrp x0, g
add x0, x0, :lo12:g
ldr w0, [x0]
ldr w1, [sp, 52]
cmp w1, w0
bne .L2
mov w0, 3
str w0, [sp, 28]
b .L3
.L2:
mov w0, 4
str w0, [sp, 28]
.L3:
ldr w0, [sp, 28]
str w0, [sp, 44]
adrp x0, g
add x0, x0, :lo12:g
ldr w0, [x0]
ldr w1, [sp, 52]
cmp w1, w0
bne .L4
mov w0, 3
str w0, [sp, 32]
b .L5
.L4:
mov w0, 4
str w0, [sp, 36]
.L5:
ldr w0, [sp, 32]
str w0, [sp, 44]
ldr w0, [sp, 36]
str w0, [sp, 44]
adrp x0, g
add x0, x0, :lo12:g
ldr w0, [x0]
ldr w1, [sp, 52]
cmp w1, w0
bne .L6
mov w0, 4
str w0, [sp, 40]
.L6:
ldr w0, [sp, 40]
str w0, [sp, 44]
adrp x0, g
add x0, x0, :lo12:g
ldr w0, [x0]
ldr w1, [sp, 52]
cmp w1, w0
bne .L7
ldr w0, [sp, 44]
str w0, [sp, 72]
ldr w0, [sp, 76]
str w0, [sp, 72]
ldr w0, [sp, 72]
str w0, [sp, 28]
ldr w0, [sp, 72]
str w0, [sp, 32]
b .L8
.L7:
ldr w0, [sp, 56]
str w0, [sp, 60]
ldr w0, [sp, 64]
str w0, [sp, 56]
ldr w0, [sp, 60]
str w0, [sp, 32]
ldr w0, [sp, 44]
str w0, [sp, 68]
.L8:
ldr w0, [sp, 64]
str w0, [sp, 44]
ldr w0, [sp, 32]
str w0, [sp, 44]
ldr w1, [sp, 44]
ldr w0, [sp, 32]
cmp w1, w0
bne .L9
mov w0, 7
str w0, [sp, 36]
.L9:
ldr w0, [sp, 36]
str w0, [sp, 44]
mov w0, 5
add sp, sp, 80
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size f, .-f
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type UT_strncasecmp, %function
UT_strncasecmp:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -64
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L4
mov w0, 0
b .L3
.L7:
ldr x0, [sp, 40]
sub x0, x0, #1
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L5
mov w0, 0
b .L3
.L5:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L4:
ldr x0, [sp, 56]
ldrb w0, [x0]
bl tolower
and w0, w0, 255
mov w19, w0
ldr x0, [sp, 48]
ldrb w0, [x0]
bl tolower
and w0, w0, 255
sub w0, w19, w0
str w0, [sp, 76]
ldr w0, [sp, 76]
cmp w0, 0
bne .L6
ldr x0, [sp, 56]
add x1, x0, 1
str x1, [sp, 56]
ldrb w0, [x0]
cmp w0, 0
bne .L7
.L6:
ldr w0, [sp, 76]
.L3:
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
.LFE0:
.size UT_strncasecmp, .-UT_strncasecmp
.align 2
.type my_localtime_r, %function
my_localtime_r:
.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]
str x1, [sp, 16]
ldr x0, [sp, 24]
bl localtime
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L9
mov x0, 0
b .L10
.L9:
ldr x0, [sp, 16]
ldr x1, [sp, 40]
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr q0, [x1, 32]
str q0, [x0, 32]
ldr x1, [x1, 48]
str x1, [x0, 48]
ldr x0, [sp, 16]
.L10:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size my_localtime_r, .-my_localtime_r
.section .rodata
.align 3
.type weekday_name, %object
.size weekday_name, 70
weekday_name:
.string "Sunday"
.zero 3
.string "Monday"
.zero 3
.string "Tuesday"
.zero 2
.string "Wednesday"
.string "Thursday"
.zero 1
.string "Friday"
.zero 3
.string "Saturday"
.zero 1
.align 3
.type ab_weekday_name, %object
.size ab_weekday_name, 28
ab_weekday_name:
.string "Sun"
.string "Mon"
.string "Tue"
.string "Wed"
.string "Thu"
.string "Fri"
.string "Sat"
.align 3
.type month_name, %object
.size month_name, 120
month_name:
.string "January"
.zero 2
.string "February"
.zero 1
.string "March"
.zero 4
.string "April"
.zero 4
.string "May"
.zero 6
.string "June"
.zero 5
.string "July"
.zero 5
.string "August"
.zero 3
.string "September"
.string "October"
.zero 2
.string "November"
.zero 1
.string "December"
.zero 1
.align 3
.type ab_month_name, %object
.size ab_month_name, 48
ab_month_name:
.string "Jan"
.string "Feb"
.string "Mar"
.string "Apr"
.string "May"
.string "Jun"
.string "Jul"
.string "Aug"
.string "Sep"
.string "Oct"
.string "Nov"
.string "Dec"
.global __mon_yday
.align 3
.type __mon_yday, %object
.size __mon_yday, 338
__mon_yday:
.hword 0
.hword 31
.hword 59
.hword 90
.hword 120
.hword 151
.hword 181
.hword 212
.hword 243
.hword 273
.hword 304
.hword 334
.hword 365
.hword 0
.hword 31
.hword 60
.hword 91
.hword 121
.hword 152
.hword 182
.hword 213
.hword 244
.hword 274
.hword 305
.hword 335
.hword 366
.zero 286
.text
.align 2
.type day_of_the_week, %function
day_of_the_week:
.LFB2:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0, 20]
add w0, w0, 1900
ldr x1, [sp, 8]
ldr w1, [x1, 16]
cmp w1, 1
cset w1, le
and w1, w1, 255
sub w0, w0, w1
str w0, [sp, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 20]
sub w1, w0, #70
mov w0, 365
mul w0, w1, w0
sub w1, w0, #473
ldr w0, [sp, 24]
add w2, w0, 3
cmp w0, 0
csel w0, w2, w0, lt
asr w0, w0, 2
add w1, w1, w0
ldr w0, [sp, 24]
mov w2, 34079
movk w2, 0x51eb, lsl 16
smull x2, w0, w2
lsr x2, x2, 32
asr w2, w2, 5
asr w0, w0, 31
sub w0, w0, w2
add w2, w1, w0
ldr w0, [sp, 24]
add w1, w0, 3
cmp w0, 0
csel w0, w1, w0, lt
asr w0, w0, 2
mov w1, w0
mov w0, 34079
movk w0, 0x51eb, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w3, w0, 3
asr w0, w1, 31
sub w0, w3, w0
mov w3, 25
mul w0, w0, w3
sub w0, w1, w0
lsr w0, w0, 31
and w0, w0, 255
add w1, w2, w0
ldr w0, [sp, 24]
mov w2, 34079
movk w2, 0x51eb, lsl 16
smull x2, w0, w2
lsr x2, x2, 32
asr w2, w2, 7
asr w0, w0, 31
sub w0, w2, w0
add w0, w1, w0
ldr x1, [sp, 8]
ldr w2, [x1, 16]
adrp x1, __mon_yday
add x1, x1, :lo12:__mon_yday
sxtw x2, w2
ldrh w1, [x1, x2, lsl 1]
add w1, w0, w1
ldr x0, [sp, 8]
ldr w0, [x0, 12]
add w0, w1, w0
sub w0, w0, #1
str w0, [sp, 28]
ldr w0, [sp, 28]
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
ldr x0, [sp, 8]
str w2, [x0, 24]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size day_of_the_week, .-day_of_the_week
.align 2
.type day_of_the_year, %function
day_of_the_year:
.LFB3:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0, 20]
add w0, w0, 1900
and w0, w0, 3
cmp w0, 0
bne .L13
ldr x0, [sp, 8]
ldr w0, [x0, 20]
add w1, w0, 1900
mov w0, 34079
movk w0, 0x51eb, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 5
asr w0, w1, 31
sub w0, w2, w0
mov w2, 100
mul w0, w0, w2
sub w0, w1, w0
cmp w0, 0
bne .L14
ldr x0, [sp, 8]
ldr w0, [x0, 20]
add w1, w0, 1900
mov w0, 34079
movk w0, 0x51eb, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 7
asr w0, w1, 31
sub w0, w2, w0
mov w2, 400
mul w0, w0, w2
sub w0, w1, w0
cmp w0, 0
bne .L13
.L14:
mov w1, 1
b .L15
.L13:
mov w1, 0
.L15:
ldr x0, [sp, 8]
ldr w3, [x0, 16]
adrp x0, __mon_yday
add x2, x0, :lo12:__mon_yday
sxtw x3, w3
sxtw x1, w1
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
add x0, x0, x3
ldrh w0, [x2, x0, lsl 1]
mov w1, w0
ldr x0, [sp, 8]
ldr w0, [x0, 12]
sub w0, w0, #1
add w1, w1, w0
ldr x0, [sp, 8]
str w1, [x0, 28]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size day_of_the_year, .-day_of_the_year
.section .rodata
.align 3
.LC0:
.string "%a %b %e %H:%M:%S %Y"
.align 3
.LC1:
.string "%Y-%m-%d"
.align 3
.LC2:
.string "%m/%d/%y"
.align 3
.LC3:
.string "AM"
.align 3
.LC4:
.string "PM"
.align 3
.LC5:
.string "%I:%M:%S %p"
.align 3
.LC6:
.string "%H:%M"
.align 3
.LC7:
.string "%H:%M:%S"
.text
.align 2
.type UT_strptime_internal, %function
UT_strptime_internal:
.LFB4:
.cfi_startproc
stp x29, x30, [sp, -304]!
.cfi_def_cfa_offset 304
.cfi_offset 29, -304
.cfi_offset 30, -296
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, 296]
mov x1, 0
ldr x0, [sp, 40]
str x0, [sp, 224]
ldr x0, [sp, 32]
str x0, [sp, 232]
str wzr, [sp, 64]
ldr w0, [sp, 64]
str w0, [sp, 60]
mov w0, -1
str w0, [sp, 68]
str wzr, [sp, 72]
str wzr, [sp, 92]
ldr w0, [sp, 92]
str w0, [sp, 88]
ldr w0, [sp, 88]
str w0, [sp, 84]
ldr w0, [sp, 84]
str w0, [sp, 80]
ldr w0, [sp, 80]
str w0, [sp, 76]
b .L17
.L262:
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 232]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
beq .L18
b .L19
.L20:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L19:
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 224]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
bne .L20
ldr x0, [sp, 232]
add x0, x0, 1
str x0, [sp, 232]
b .L17
.L18:
ldr x0, [sp, 232]
ldrb w0, [x0]
cmp w0, 37
beq .L21
ldr x0, [sp, 232]
add x1, x0, 1
str x1, [sp, 232]
ldrb w1, [x0]
ldr x0, [sp, 224]
add x2, x0, 1
str x2, [sp, 224]
ldrb w0, [x0]
cmp w1, w0
beq .L17
mov x0, 0
b .L23
.L21:
ldr x0, [sp, 232]
add x0, x0, 1
str x0, [sp, 232]
.L24:
ldr x0, [sp, 232]
add x1, x0, 1
str x1, [sp, 232]
ldrb w0, [x0]
sub w0, w0, #37
cmp w0, 84
bhi .L25
adrp x1, .L27
add x1, x1, :lo12:.L27
ldr w0, [x1,w0,uxtw #2]
adr x1, .Lrtx27
add x0, x1, w0, sxtw #2
br x0
.Lrtx27:
.section .rodata
.align 0
.align 2
.L27:
.word (.L56 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L42 - .Lrtx27) / 4
.word (.L38 - .Lrtx27) / 4
.word (.L55 - .Lrtx27) / 4
.word (.L28 - .Lrtx27) / 4
.word (.L54 - .Lrtx27) / 4
.word (.L53 - .Lrtx27) / 4
.word (.L52 - .Lrtx27) / 4
.word (.L36 - .Lrtx27) / 4
.word (.L51 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L50 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L49 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L48 - .Lrtx27) / 4
.word (.L47 - .Lrtx27) / 4
.word (.L45 - .Lrtx27) / 4
.word (.L46 - .Lrtx27) / 4
.word (.L46 - .Lrtx27) / 4
.word (.L46 - .Lrtx27) / 4
.word (.L45 - .Lrtx27) / 4
.word (.L44 - .Lrtx27) / 4
.word (.L17 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L42 - .Lrtx27) / 4
.word (.L38 - .Lrtx27) / 4
.word (.L41 - .Lrtx27) / 4
.word (.L40 - .Lrtx27) / 4
.word (.L40 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L39 - .Lrtx27) / 4
.word (.L38 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L37 - .Lrtx27) / 4
.word (.L36 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L35 - .Lrtx27) / 4
.word (.L126 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L34 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L33 - .Lrtx27) / 4
.word (.L32 - .Lrtx27) / 4
.word (.L126 - .Lrtx27) / 4
.word (.L30 - .Lrtx27) / 4
.word (.L25 - .Lrtx27) / 4
.word (.L29 - .Lrtx27) / 4
.word (.L28 - .Lrtx27) / 4
.word (.L26 - .Lrtx27) / 4
.text
.L56:
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
cmp w0, 37
beq .L17
mov x0, 0
b .L23
.L42:
str wzr, [sp, 56]
b .L58
.L64:
ldr x0, [sp, 16]
ldr w0, [x0]
cmp w0, 1
beq .L59
ldrsw x1, [sp, 56]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
adrp x1, weekday_name
add x1, x1, :lo12:weekday_name
add x0, x0, x1
bl strlen
str x0, [sp, 280]
ldrsw x1, [sp, 56]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
adrp x1, weekday_name
add x1, x1, :lo12:weekday_name
add x0, x0, x1
ldr x2, [sp, 280]
ldr x1, [sp, 224]
bl UT_strncasecmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
str w0, [sp, 208]
ldr w0, [sp, 208]
cmp w0, 0
beq .L60
ldr x1, [sp, 224]
ldr x0, [sp, 280]
add x0, x1, x0
str x0, [sp, 224]
.L60:
ldr w0, [sp, 208]
cmp w0, 0
bne .L61
ldrsw x0, [sp, 56]
lsl x1, x0, 2
adrp x0, ab_weekday_name
add x0, x0, :lo12:ab_weekday_name
add x0, x1, x0
bl strlen
str x0, [sp, 288]
ldrsw x0, [sp, 56]
lsl x1, x0, 2
adrp x0, ab_weekday_name
add x0, x0, :lo12:ab_weekday_name
add x0, x1, x0
ldr x2, [sp, 288]
ldr x1, [sp, 224]
bl UT_strncasecmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
str w0, [sp, 212]
ldr w0, [sp, 212]
cmp w0, 0
beq .L62
ldr x1, [sp, 224]
ldr x0, [sp, 288]
add x0, x1, x0
str x0, [sp, 224]
.L62:
ldr w0, [sp, 212]
cmp w0, 0
beq .L59
.L61:
ldr x0, [sp, 16]
mov w1, 2
str w1, [x0]
b .L63
.L59:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L58:
ldr w0, [sp, 56]
cmp w0, 6
ble .L64
.L63:
ldr w0, [sp, 56]
cmp w0, 7
bne .L65
mov x0, 0
b .L23
.L65:
ldr x0, [sp, 24]
ldr w1, [sp, 56]
str w1, [x0, 24]
mov w0, 1
str w0, [sp, 76]
b .L17
.L38:
str wzr, [sp, 56]
b .L66
.L72:
ldrsw x1, [sp, 56]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
adrp x1, month_name
add x1, x1, :lo12:month_name
add x0, x0, x1
bl strlen
str x0, [sp, 264]
ldrsw x1, [sp, 56]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
adrp x1, month_name
add x1, x1, :lo12:month_name
add x0, x0, x1
ldr x2, [sp, 264]
ldr x1, [sp, 224]
bl UT_strncasecmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
str w0, [sp, 200]
ldr w0, [sp, 200]
cmp w0, 0
beq .L67
ldr x1, [sp, 224]
ldr x0, [sp, 264]
add x0, x1, x0
str x0, [sp, 224]
.L67:
ldr w0, [sp, 200]
cmp w0, 0
bne .L68
ldrsw x0, [sp, 56]
lsl x1, x0, 2
adrp x0, ab_month_name
add x0, x0, :lo12:ab_month_name
add x0, x1, x0
bl strlen
str x0, [sp, 272]
ldrsw x0, [sp, 56]
lsl x1, x0, 2
adrp x0, ab_month_name
add x0, x0, :lo12:ab_month_name
add x0, x1, x0
ldr x2, [sp, 272]
ldr x1, [sp, 224]
bl UT_strncasecmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
str w0, [sp, 204]
ldr w0, [sp, 204]
cmp w0, 0
beq .L69
ldr x1, [sp, 224]
ldr x0, [sp, 272]
add x0, x1, x0
str x0, [sp, 224]
.L69:
ldr w0, [sp, 204]
cmp w0, 0
beq .L70
.L68:
ldr x0, [sp, 16]
mov w1, 2
str w1, [x0]
b .L71
.L70:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L66:
ldr w0, [sp, 56]
cmp w0, 11
ble .L72
.L71:
ldr w0, [sp, 56]
cmp w0, 12
bne .L73
mov x0, 0
b .L23
.L73:
ldr x0, [sp, 24]
ldr w1, [sp, 56]
str w1, [x0, 16]
mov w0, 1
str w0, [sp, 80]
b .L17
.L41:
mov w0, 37
cmp w0, 0
beq .L74
ldr x3, [sp, 16]
ldr x2, [sp, 24]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 224]
bl UT_strptime_internal
str x0, [sp, 224]
ldr x0, [sp, 224]
cmp x0, 0
bne .L75
.L74:
mov x0, 0
b .L23
.L75:
mov w0, 1
str w0, [sp, 80]
b .L17
.L55:
mov w0, 2
str w0, [sp, 96]
str xzr, [sp, 240]
b .L76
.L77:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L76:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L77
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L78
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L79
.L78:
mov x0, 0
b .L23
.L79:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 96]
sub w0, w0, #1
str w0, [sp, 96]
ldr w0, [sp, 96]
cmp w0, 0
ble .L80
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 99
bhi .L80
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L80
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L79
.L80:
ldr x0, [sp, 240]
cmp x0, 99
bls .L81
mov x0, 0
b .L23
.L81:
ldr x0, [sp, 240]
str w0, [sp, 68]
mov w0, 1
str w0, [sp, 80]
b .L17
.L40:
mov w0, 2
str w0, [sp, 100]
str xzr, [sp, 240]
b .L82
.L83:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L82:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L83
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L84
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L85
.L84:
mov x0, 0
b .L23
.L85:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 100]
sub w0, w0, #1
str w0, [sp, 100]
ldr w0, [sp, 100]
cmp w0, 0
ble .L86
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 31
bhi .L86
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L86
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L85
.L86:
ldr x0, [sp, 240]
cmp x0, 0
beq .L87
ldr x0, [sp, 240]
cmp x0, 31
bls .L88
.L87:
mov x0, 0
b .L23
.L88:
ldr x0, [sp, 240]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 12]
mov w0, 1
str w0, [sp, 92]
mov w0, 1
str w0, [sp, 80]
b .L17
.L53:
mov w0, 37
cmp w0, 0
beq .L89
ldr x3, [sp, 16]
ldr x2, [sp, 24]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 224]
bl UT_strptime_internal
str x0, [sp, 224]
ldr x0, [sp, 224]
cmp x0, 0
bne .L90
.L89:
mov x0, 0
b .L23
.L90:
mov w0, 1
str w0, [sp, 80]
b .L17
.L28:
mov w0, 37
cmp w0, 0
beq .L91
ldr x3, [sp, 16]
ldr x2, [sp, 24]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
ldr x0, [sp, 224]
bl UT_strptime_internal
str x0, [sp, 224]
ldr x0, [sp, 224]
cmp x0, 0
bne .L92
.L91:
mov x0, 0
b .L23
.L92:
mov w0, 1
str w0, [sp, 80]
b .L17
.L36:
mov w0, 2
str w0, [sp, 104]
str xzr, [sp, 240]
b .L93
.L94:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L93:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L94
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L95
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L96
.L95:
mov x0, 0
b .L23
.L96:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 104]
sub w0, w0, #1
str w0, [sp, 104]
ldr w0, [sp, 104]
cmp w0, 0
ble .L97
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 23
bhi .L97
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L97
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L96
.L97:
ldr x0, [sp, 240]
cmp x0, 23
bls .L98
mov x0, 0
b .L23
.L98:
ldr x0, [sp, 240]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
str wzr, [sp, 60]
b .L17
.L51:
mov w0, 2
str w0, [sp, 108]
str xzr, [sp, 240]
b .L99
.L100:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L99:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L100
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L101
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L102
.L101:
mov x0, 0
b .L23
.L102:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 108]
sub w0, w0, #1
str w0, [sp, 108]
ldr w0, [sp, 108]
cmp w0, 0
ble .L103
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 12
bhi .L103
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L103
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L102
.L103:
ldr x0, [sp, 240]
cmp x0, 0
beq .L104
ldr x0, [sp, 240]
cmp x0, 12
bls .L105
.L104:
mov x0, 0
b .L23
.L105:
ldr x2, [sp, 240]
mov x0, -6148914691236517206
movk x0, 0xaaab, lsl 0
umulh x0, x2, x0
lsr x1, x0, 3
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
sub x1, x2, x0
ldr x0, [sp, 24]
str w1, [x0, 8]
mov w0, 1
str w0, [sp, 60]
b .L17
.L37:
mov w0, 3
str w0, [sp, 112]
str xzr, [sp, 240]
b .L106
.L107:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L106:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L107
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L108
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L109
.L108:
mov x0, 0
b .L23
.L109:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 112]
sub w0, w0, #1
str w0, [sp, 112]
ldr w0, [sp, 112]
cmp w0, 0
ble .L110
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 366
bhi .L110
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L110
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L109
.L110:
ldr x0, [sp, 240]
cmp x0, 0
beq .L111
ldr x0, [sp, 240]
cmp x0, 366
bls .L112
.L111:
mov x0, 0
b .L23
.L112:
ldr x0, [sp, 240]
sub w0, w0, #1
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 28]
mov w0, 1
str w0, [sp, 84]
b .L17
.L35:
mov w0, 2
str w0, [sp, 116]
str xzr, [sp, 240]
b .L113
.L114:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L113:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L114
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L115
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L116
.L115:
mov x0, 0
b .L23
.L116:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 116]
sub w0, w0, #1
str w0, [sp, 116]
ldr w0, [sp, 116]
cmp w0, 0
ble .L117
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 12
bhi .L117
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L117
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L116
.L117:
ldr x0, [sp, 240]
cmp x0, 0
beq .L118
ldr x0, [sp, 240]
cmp x0, 12
bls .L119
.L118:
mov x0, 0
b .L23
.L119:
ldr x0, [sp, 240]
sub w0, w0, #1
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 16]
mov w0, 1
str w0, [sp, 88]
mov w0, 1
str w0, [sp, 80]
b .L17
.L50:
mov w0, 2
str w0, [sp, 120]
str xzr, [sp, 240]
b .L120
.L121:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L120:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L121
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L122
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L123
.L122:
mov x0, 0
b .L23
.L123:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 120]
sub w0, w0, #1
str w0, [sp, 120]
ldr w0, [sp, 120]
cmp w0, 0
ble .L124
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 59
bhi .L124
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L124
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L123
.L124:
ldr x0, [sp, 240]
cmp x0, 59
bls .L125
mov x0, 0
b .L23
.L125:
ldr x0, [sp, 240]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 4]
b .L17
.L127:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L126:
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 224]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
bne .L127
b .L17
.L34:
mov x0, 2
str x0, [sp, 248]
ldr x2, [sp, 248]
ldr x1, [sp, 224]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl UT_strncasecmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
str w0, [sp, 192]
ldr w0, [sp, 192]
cmp w0, 0
beq .L128
ldr x1, [sp, 224]
ldr x0, [sp, 248]
add x0, x1, x0
str x0, [sp, 224]
.L128:
ldr w0, [sp, 192]
cmp w0, 0
bne .L17
mov x0, 2
str x0, [sp, 256]
ldr x2, [sp, 256]
ldr x1, [sp, 224]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl UT_strncasecmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
str w0, [sp, 196]
ldr w0, [sp, 196]
cmp w0, 0
beq .L130
ldr x1, [sp, 224]
ldr x0, [sp, 256]
add x0, x1, x0
str x0, [sp, 224]
.L130:
ldr w0, [sp, 196]
cmp w0, 0
beq .L131
mov w0, 1
str w0, [sp, 64]
b .L17
.L131:
mov x0, 0
b .L23
.L33:
mov w0, 37
cmp w0, 0
beq .L132
ldr x3, [sp, 16]
ldr x2, [sp, 24]
adrp x0, .LC5
add x1, x0, :lo12:.LC5
ldr x0, [sp, 224]
bl UT_strptime_internal
str x0, [sp, 224]
ldr x0, [sp, 224]
cmp x0, 0
bne .L17
.L132:
mov x0, 0
b .L23
.L48:
mov w0, 37
cmp w0, 0
beq .L134
ldr x3, [sp, 16]
ldr x2, [sp, 24]
adrp x0, .LC6
add x1, x0, :lo12:.LC6
ldr x0, [sp, 224]
bl UT_strptime_internal
str x0, [sp, 224]
ldr x0, [sp, 224]
cmp x0, 0
bne .L17
.L134:
mov x0, 0
b .L23
.L32:
str xzr, [sp, 216]
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L136
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L137
.L136:
mov x0, 0
b .L23
.L137:
ldr x1, [sp, 216]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 216]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x1, w0
ldr x0, [sp, 216]
add x0, x1, x0
str x0, [sp, 216]
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L139
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L137
.L139:
add x0, sp, 216
ldr x1, [sp, 24]
bl my_localtime_r
cmp x0, 0
bne .L17
mov x0, 0
b .L23
.L47:
mov w0, 2
str w0, [sp, 124]
str xzr, [sp, 240]
b .L141
.L142:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L141:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L142
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L143
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L144
.L143:
mov x0, 0
b .L23
.L144:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 124]
sub w0, w0, #1
str w0, [sp, 124]
ldr w0, [sp, 124]
cmp w0, 0
ble .L145
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 61
bhi .L145
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L145
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L144
.L145:
ldr x0, [sp, 240]
cmp x0, 61
bls .L146
mov x0, 0
b .L23
.L146:
ldr x0, [sp, 240]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
b .L17
.L45:
mov w0, 37
cmp w0, 0
beq .L147
ldr x3, [sp, 16]
ldr x2, [sp, 24]
adrp x0, .LC7
add x1, x0, :lo12:.LC7
ldr x0, [sp, 224]
bl UT_strptime_internal
str x0, [sp, 224]
ldr x0, [sp, 224]
cmp x0, 0
bne .L17
.L147:
mov x0, 0
b .L23
.L30:
mov w0, 1
str w0, [sp, 128]
str xzr, [sp, 240]
b .L149
.L150:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L149:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L150
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L151
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L152
.L151:
mov x0, 0
b .L23
.L152:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 128]
sub w0, w0, #1
str w0, [sp, 128]
ldr w0, [sp, 128]
cmp w0, 0
ble .L153
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 7
bhi .L153
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L153
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L152
.L153:
ldr x0, [sp, 240]
cmp x0, 0
beq .L154
ldr x0, [sp, 240]
cmp x0, 7
bls .L155
.L154:
mov x0, 0
b .L23
.L155:
ldr x1, [sp, 240]
mov x0, 9363
movk x0, 0x9249, lsl 16
movk x0, 0x4924, lsl 32
movk x0, 0x2492, lsl 48
umulh x0, x1, x0
sub x2, x1, x0
lsr x2, x2, 1
add x0, x0, x2
lsr x2, x0, 2
mov x0, x2
lsl x0, x0, 3
sub x0, x0, x2
sub x2, x1, x0
mov w1, w2
ldr x0, [sp, 24]
str w1, [x0, 24]
mov w0, 1
str w0, [sp, 76]
b .L17
.L39:
mov w0, 2
str w0, [sp, 132]
str xzr, [sp, 240]
b .L156
.L157:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L156:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L157
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L158
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L159
.L158:
mov x0, 0
b .L23
.L159:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 132]
sub w0, w0, #1
str w0, [sp, 132]
ldr w0, [sp, 132]
cmp w0, 0
ble .L160
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 99
bhi .L160
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L160
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L159
.L160:
ldr x0, [sp, 240]
cmp x0, 99
bls .L17
mov x0, 0
b .L23
.L52:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L162
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L163
.L162:
mov x0, 0
b .L23
.L163:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L17
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L163
b .L17
.L46:
mov w0, 2
str w0, [sp, 136]
str xzr, [sp, 240]
b .L165
.L166:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L165:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L166
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L167
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L168
.L167:
mov x0, 0
b .L23
.L168:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 136]
sub w0, w0, #1
str w0, [sp, 136]
ldr w0, [sp, 136]
cmp w0, 0
ble .L169
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 53
bhi .L169
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L169
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L168
.L169:
ldr x0, [sp, 240]
cmp x0, 53
bls .L17
mov x0, 0
b .L23
.L29:
mov w0, 1
str w0, [sp, 140]
str xzr, [sp, 240]
b .L171
.L172:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L171:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L172
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L173
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L174
.L173:
mov x0, 0
b .L23
.L174:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 140]
sub w0, w0, #1
str w0, [sp, 140]
ldr w0, [sp, 140]
cmp w0, 0
ble .L175
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 6
bhi .L175
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L175
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L174
.L175:
ldr x0, [sp, 240]
cmp x0, 6
bls .L176
mov x0, 0
b .L23
.L176:
ldr x0, [sp, 240]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 24]
mov w0, 1
str w0, [sp, 76]
b .L17
.L26:
mov w0, 2
str w0, [sp, 144]
str xzr, [sp, 240]
b .L177
.L178:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L177:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L178
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L179
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L180
.L179:
mov x0, 0
b .L23
.L180:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 144]
sub w0, w0, #1
str w0, [sp, 144]
ldr w0, [sp, 144]
cmp w0, 0
ble .L181
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 99
bhi .L181
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L181
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L180
.L181:
ldr x0, [sp, 240]
cmp x0, 99
bls .L182
mov x0, 0
b .L23
.L182:
ldr x0, [sp, 240]
cmp x0, 68
bhi .L183
ldr x0, [sp, 240]
add w0, w0, 100
mov w1, w0
b .L184
.L183:
ldr x0, [sp, 240]
mov w1, w0
.L184:
ldr x0, [sp, 24]
str w1, [x0, 20]
mov w0, 1
str w0, [sp, 72]
mov w0, 1
str w0, [sp, 80]
b .L17
.L44:
mov w0, 4
str w0, [sp, 148]
str xzr, [sp, 240]
b .L185
.L186:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L185:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L186
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L187
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L188
.L187:
mov x0, 0
b .L23
.L188:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 148]
sub w0, w0, #1
str w0, [sp, 148]
ldr w0, [sp, 148]
cmp w0, 0
ble .L189
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
mov x1, x0
mov x0, 9999
cmp x1, x0
bhi .L189
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L189
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L188
.L189:
ldr x1, [sp, 240]
mov x0, 9999
cmp x1, x0
bls .L190
mov x0, 0
b .L23
.L190:
ldr x0, [sp, 240]
sub w0, w0, #1900
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 20]
str wzr, [sp, 72]
mov w0, 1
str w0, [sp, 80]
b .L17
.L54:
ldr x0, [sp, 232]
ldrb w0, [x0]
cmp w0, 99
beq .L24
ldr x0, [sp, 232]
ldrb w0, [x0]
cmp w0, 67
beq .L24
ldr x0, [sp, 232]
ldrb w0, [x0]
cmp w0, 121
beq .L24
ldr x0, [sp, 232]
ldrb w0, [x0]
cmp w0, 89
beq .L24
ldr x0, [sp, 232]
ldrb w0, [x0]
cmp w0, 120
beq .L24
ldr x0, [sp, 232]
ldrb w0, [x0]
cmp w0, 88
beq .L24
mov x0, 0
b .L23
.L49:
ldr x0, [sp, 232]
add x1, x0, 1
str x1, [sp, 232]
ldrb w0, [x0]
cmp w0, 121
beq .L192
cmp w0, 121
bgt .L193
cmp w0, 119
beq .L194
cmp w0, 119
bgt .L193
cmp w0, 109
beq .L195
cmp w0, 109
bgt .L193
cmp w0, 101
bgt .L193
cmp w0, 100
bge .L196
cmp w0, 87
bgt .L193
cmp w0, 85
bge .L197
cmp w0, 83
beq .L198
cmp w0, 83
bgt .L193
cmp w0, 77
beq .L199
cmp w0, 77
bgt .L193
cmp w0, 72
beq .L200
cmp w0, 73
beq .L201
b .L193
.L196:
mov w0, 2
str w0, [sp, 152]
str xzr, [sp, 240]
b .L202
.L203:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L202:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L203
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L204
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L205
.L204:
mov x0, 0
b .L23
.L205:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 152]
sub w0, w0, #1
str w0, [sp, 152]
ldr w0, [sp, 152]
cmp w0, 0
ble .L206
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 31
bhi .L206
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L206
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L205
.L206:
ldr x0, [sp, 240]
cmp x0, 0
beq .L207
ldr x0, [sp, 240]
cmp x0, 31
bls .L208
.L207:
mov x0, 0
b .L23
.L208:
ldr x0, [sp, 240]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 12]
mov w0, 1
str w0, [sp, 92]
mov w0, 1
str w0, [sp, 80]
b .L209
.L200:
mov w0, 2
str w0, [sp, 156]
str xzr, [sp, 240]
b .L210
.L211:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L210:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L211
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L212
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L213
.L212:
mov x0, 0
b .L23
.L213:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 156]
sub w0, w0, #1
str w0, [sp, 156]
ldr w0, [sp, 156]
cmp w0, 0
ble .L214
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 23
bhi .L214
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L214
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L213
.L214:
ldr x0, [sp, 240]
cmp x0, 23
bls .L215
mov x0, 0
b .L23
.L215:
ldr x0, [sp, 240]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
str wzr, [sp, 60]
b .L209
.L201:
mov w0, 2
str w0, [sp, 160]
str xzr, [sp, 240]
b .L216
.L217:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L216:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L217
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L218
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L219
.L218:
mov x0, 0
b .L23
.L219:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 160]
sub w0, w0, #1
str w0, [sp, 160]
ldr w0, [sp, 160]
cmp w0, 0
ble .L220
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 12
bhi .L220
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L220
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L219
.L220:
ldr x0, [sp, 240]
cmp x0, 0
beq .L221
ldr x0, [sp, 240]
cmp x0, 12
bls .L222
.L221:
mov x0, 0
b .L23
.L222:
ldr x0, [sp, 240]
sub w0, w0, #1
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
mov w0, 1
str w0, [sp, 60]
b .L209
.L195:
mov w0, 2
str w0, [sp, 164]
str xzr, [sp, 240]
b .L223
.L224:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L223:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L224
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L225
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L226
.L225:
mov x0, 0
b .L23
.L226:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 164]
sub w0, w0, #1
str w0, [sp, 164]
ldr w0, [sp, 164]
cmp w0, 0
ble .L227
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 12
bhi .L227
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L227
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L226
.L227:
ldr x0, [sp, 240]
cmp x0, 0
beq .L228
ldr x0, [sp, 240]
cmp x0, 12
bls .L229
.L228:
mov x0, 0
b .L23
.L229:
ldr x0, [sp, 240]
sub w0, w0, #1
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 16]
mov w0, 1
str w0, [sp, 88]
mov w0, 1
str w0, [sp, 80]
b .L209
.L199:
mov w0, 2
str w0, [sp, 168]
str xzr, [sp, 240]
b .L230
.L231:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L230:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L231
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L232
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L233
.L232:
mov x0, 0
b .L23
.L233:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 168]
sub w0, w0, #1
str w0, [sp, 168]
ldr w0, [sp, 168]
cmp w0, 0
ble .L234
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 59
bhi .L234
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L234
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L233
.L234:
ldr x0, [sp, 240]
cmp x0, 59
bls .L235
mov x0, 0
b .L23
.L235:
ldr x0, [sp, 240]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 4]
b .L209
.L198:
mov w0, 2
str w0, [sp, 172]
str xzr, [sp, 240]
b .L236
.L237:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L236:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L237
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L238
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L239
.L238:
mov x0, 0
b .L23
.L239:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 172]
sub w0, w0, #1
str w0, [sp, 172]
ldr w0, [sp, 172]
cmp w0, 0
ble .L240
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 61
bhi .L240
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L240
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L239
.L240:
ldr x0, [sp, 240]
cmp x0, 61
bls .L241
mov x0, 0
b .L23
.L241:
ldr x0, [sp, 240]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
b .L209
.L197:
mov w0, 2
str w0, [sp, 176]
str xzr, [sp, 240]
b .L242
.L243:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L242:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L243
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L244
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L245
.L244:
mov x0, 0
b .L23
.L245:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 176]
sub w0, w0, #1
str w0, [sp, 176]
ldr w0, [sp, 176]
cmp w0, 0
ble .L246
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 53
bhi .L246
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L246
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L245
.L246:
ldr x0, [sp, 240]
cmp x0, 53
bls .L279
mov x0, 0
b .L23
.L194:
mov w0, 1
str w0, [sp, 180]
str xzr, [sp, 240]
b .L248
.L249:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L248:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L249
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L250
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L251
.L250:
mov x0, 0
b .L23
.L251:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 180]
sub w0, w0, #1
str w0, [sp, 180]
ldr w0, [sp, 180]
cmp w0, 0
ble .L252
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 6
bhi .L252
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L252
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L251
.L252:
ldr x0, [sp, 240]
cmp x0, 6
bls .L253
mov x0, 0
b .L23
.L253:
ldr x0, [sp, 240]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 24]
mov w0, 1
str w0, [sp, 76]
b .L209
.L192:
mov w0, 2
str w0, [sp, 184]
str xzr, [sp, 240]
b .L254
.L255:
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L254:
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 32
beq .L255
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L256
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L257
.L256:
mov x0, 0
b .L23
.L257:
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
str x0, [sp, 240]
ldr x0, [sp, 224]
add x1, x0, 1
str x1, [sp, 224]
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w0, [sp, 184]
sub w0, w0, #1
str w0, [sp, 184]
ldr w0, [sp, 184]
cmp w0, 0
ble .L258
ldr x1, [sp, 240]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
cmp x0, 99
bhi .L258
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 47
bls .L258
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 57
bls .L257
.L258:
ldr x0, [sp, 240]
cmp x0, 99
bls .L259
mov x0, 0
b .L23
.L259:
ldr x0, [sp, 240]
cmp x0, 68
bhi .L260
ldr x0, [sp, 240]
add w0, w0, 100
mov w1, w0
b .L261
.L260:
ldr x0, [sp, 240]
mov w1, w0
.L261:
ldr x0, [sp, 24]
str w1, [x0, 20]
mov w0, 1
str w0, [sp, 80]
b .L209
.L193:
mov x0, 0
b .L23
.L279:
nop
.L209:
b .L17
.L25:
mov x0, 0
b .L23
.L17:
ldr x0, [sp, 232]
ldrb w0, [x0]
cmp w0, 0
bne .L262
ldr w0, [sp, 60]
cmp w0, 0
beq .L263
ldr w0, [sp, 64]
cmp w0, 0
beq .L263
ldr x0, [sp, 24]
ldr w0, [x0, 8]
add w1, w0, 12
ldr x0, [sp, 24]
str w1, [x0, 8]
.L263:
ldr w0, [sp, 72]
cmp w0, 0
beq .L264
ldr w0, [sp, 68]
cmn w0, #1
beq .L264
ldr x0, [sp, 24]
ldr w1, [x0, 20]
mov w0, 34079
movk w0, 0x51eb, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 5
asr w0, w1, 31
sub w0, w2, w0
mov w2, 100
mul w0, w0, w2
sub w0, w1, w0
ldr w1, [sp, 68]
sub w2, w1, #19
mov w1, 100
mul w1, w2, w1
add w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 20]
.L264:
ldr w0, [sp, 80]
cmp w0, 0
beq .L265
ldr w0, [sp, 76]
cmp w0, 0
bne .L265
ldr w0, [sp, 88]
cmp w0, 0
beq .L266
ldr w0, [sp, 92]
cmp w0, 0
bne .L267
.L266:
ldr w0, [sp, 84]
cmp w0, 0
beq .L267
str wzr, [sp, 188]
b .L268
.L272:
ldr w0, [sp, 188]
add w0, w0, 1
str w0, [sp, 188]
.L268:
ldr x0, [sp, 24]
ldr w0, [x0, 20]
add w0, w0, 1900
and w0, w0, 3
cmp w0, 0
bne .L269
ldr x0, [sp, 24]
ldr w0, [x0, 20]
add w1, w0, 1900
mov w0, 34079
movk w0, 0x51eb, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 5
asr w0, w1, 31
sub w0, w2, w0
mov w2, 100
mul w0, w0, w2
sub w0, w1, w0
cmp w0, 0
bne .L270
ldr x0, [sp, 24]
ldr w0, [x0, 20]
add w1, w0, 1900
mov w0, 34079
movk w0, 0x51eb, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 7
asr w0, w1, 31
sub w0, w2, w0
mov w2, 400
mul w0, w0, w2
sub w0, w1, w0
cmp w0, 0
bne .L269
.L270:
mov w1, 1
b .L271
.L269:
mov w1, 0
.L271:
adrp x0, __mon_yday
add x2, x0, :lo12:__mon_yday
ldrsw x3, [sp, 188]
sxtw x1, w1
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
add x0, x0, x3
ldrh w0, [x2, x0, lsl 1]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 28]
cmp w1, w0
ble .L272
ldr w0, [sp, 88]
cmp w0, 0
bne .L273
ldr w0, [sp, 188]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 16]
.L273:
ldr w0, [sp, 92]
cmp w0, 0
bne .L267
ldr x0, [sp, 24]
ldr w2, [x0, 28]
ldr x0, [sp, 24]
ldr w0, [x0, 20]
add w0, w0, 1900
and w0, w0, 3
cmp w0, 0
bne .L274
ldr x0, [sp, 24]
ldr w0, [x0, 20]
add w1, w0, 1900
mov w0, 34079
movk w0, 0x51eb, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w3, w0, 5
asr w0, w1, 31
sub w0, w3, w0
mov w3, 100
mul w0, w0, w3
sub w0, w1, w0
cmp w0, 0
bne .L275
ldr x0, [sp, 24]
ldr w0, [x0, 20]
add w1, w0, 1900
mov w0, 34079
movk w0, 0x51eb, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w3, w0, 7
asr w0, w1, 31
sub w0, w3, w0
mov w3, 400
mul w0, w0, w3
sub w0, w1, w0
cmp w0, 0
bne .L274
.L275:
mov w1, 1
b .L276
.L274:
mov w1, 0
.L276:
ldr w0, [sp, 188]
sub w4, w0, #1
adrp x0, __mon_yday
add x3, x0, :lo12:__mon_yday
sxtw x4, w4
sxtw x1, w1
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
add x0, x0, x4
ldrh w0, [x3, x0, lsl 1]
sub w0, w2, w0
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 12]
.L267:
ldr x0, [sp, 24]
bl day_of_the_week
.L265:
ldr w0, [sp, 80]
cmp w0, 0
beq .L277
ldr w0, [sp, 84]
cmp w0, 0
bne .L277
ldr x0, [sp, 24]
bl day_of_the_year
.L277:
ldr x0, [sp, 224]
.L23:
mov x1, x0
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 .L278
bl __stack_chk_fail
.L278:
mov x0, x1
ldp x29, x30, [sp], 304
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size UT_strptime_internal, .-UT_strptime_internal
.align 2
.global UT_strptime
.type UT_strptime, %function
UT_strptime:
.LFB5:
.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, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
mov w0, 2
str w0, [sp, 52]
add x0, sp, 52
mov x3, x0
ldr x2, [sp, 24]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl UT_strptime_internal
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 .L283
bl __stack_chk_fail
.L283:
mov x0, x1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size UT_strptime, .-UT_strptime
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global bad_guy
.type bad_guy, %function
bad_guy:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
mov w1, 9
str w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size bad_guy, .-bad_guy
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Introduce your first number: "
.align 3
.LC1:
.string "%i"
.align 3
.LC2:
.string "Introduce your second number: "
.align 3
.LC3:
.string "%i + "
.align 3
.LC4:
.string "%i = %i"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 28]
str wzr, [sp, 32]
str wzr, [sp, 36]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 28
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl scanf_s
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 scanf_s
ldr w0, [sp, 32]
str w0, [sp, 36]
b .L2
.L5:
ldr w0, [sp, 36]
cmp w0, 1
beq .L3
ldr w0, [sp, 28]
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
b .L4
.L3:
ldr w3, [sp, 28]
ldr w1, [sp, 28]
ldr w0, [sp, 32]
mul w0, w1, w0
mov w2, w0
mov w1, w3
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
.L4:
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L2:
ldr w0, [sp, 36]
cmp w0, 0
bgt .L5
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
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global c_true
.data
.align 1
.type c_true, %object
.size c_true, 2
c_true:
.hword 111
.global c_false
.align 1
.type c_false, %object
.size c_false, 2
c_false:
.hword 47
.global c_null
.align 1
.type c_null, %object
.size c_null, 2
c_null:
.hword 63
.section .rodata
.align 3
.LC0:
.string "mmap(): Failed: errno %d(%s)\n"
.align 3
.LC1:
.string "mprotect(): Failed on lowmem page: errno %d(%s)\n"
.align 3
.LC2:
.string "mprotect(): Failed on highmem page: errno %d(%s)\n"
.text
.align 2
.type allocate_protected_space, %function
allocate_protected_space:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -64
str w0, [sp, 44]
bl getpagesize
str w0, [sp, 60]
ldr w1, [sp, 44]
ldr w0, [sp, 60]
add w0, w1, w0
sub w1, w0, #1
ldr w0, [sp, 60]
sdiv w0, w1, w0
ldr w1, [sp, 60]
mul w0, w1, w0
str w0, [sp, 64]
ldr w0, [sp, 60]
lsl w1, w0, 1
ldr w0, [sp, 64]
add w0, w1, w0
sxtw x0, w0
mov x5, 0
mov w4, -1
mov w3, 34
mov w2, 3
mov x1, x0
mov x0, 0
bl mmap
str x0, [sp, 72]
ldr x0, [sp, 72]
cmn x0, #1
bne .L2
bl __errno_location
ldr w19, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
mov w1, w19
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 1
bl exit
.L2:
ldrsw x0, [sp, 60]
mov w2, 0
mov x1, x0
ldr x0, [sp, 72]
bl mprotect
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
bge .L3
bl __errno_location
ldr w19, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
mov w1, w19
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w0, 1
bl exit
.L3:
ldrsw x1, [sp, 60]
ldrsw x0, [sp, 64]
add x0, x1, x0
ldr x1, [sp, 72]
add x0, x1, x0
ldrsw x1, [sp, 60]
mov w2, 0
bl mprotect
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
bge .L4
bl __errno_location
ldr w19, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
mov w1, w19
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 1
bl exit
.L4:
ldrsw x0, [sp, 60]
ldr x1, [sp, 72]
add x0, x1, x0
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
.LFE6:
.size allocate_protected_space, .-allocate_protected_space
.section .rodata
.align 3
.LC3:
.string "munmap(): Failed: errno %d(%s)\n"
.text
.align 2
.type deallocate_protected_space, %function
deallocate_protected_space:
.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 x19, [sp, 16]
.cfi_offset 19, -48
str x0, [sp, 40]
str w1, [sp, 36]
bl getpagesize
str w0, [sp, 52]
ldr w1, [sp, 36]
ldr w0, [sp, 52]
add w0, w1, w0
sub w1, w0, #1
ldr w0, [sp, 52]
sdiv w0, w1, w0
ldr w1, [sp, 52]
mul w0, w1, w0
str w0, [sp, 56]
ldrsw x0, [sp, 52]
neg x0, x0
ldr x1, [sp, 40]
add x2, x1, x0
ldr w0, [sp, 52]
lsl w1, w0, 1
ldr w0, [sp, 56]
add w0, w1, w0
sxtw x0, w0
mov x1, x0
mov x0, x2
bl munmap
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L8
bl __errno_location
ldr w19, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x2, x0
mov w1, w19
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
mov w0, 1
bl exit
.L8:
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size deallocate_protected_space, .-deallocate_protected_space
.section .rodata
.align 3
.LC4:
.string "INC-SCHEME> "
.align 3
.LC5:
.string "%ld ;; fixnum (0x%016lx)"
.align 3
.LC6:
.string "#t ;; boolean"
.align 3
.LC7:
.string "#f ;; boolean"
.align 3
.LC8:
.string "%c ;; character"
.align 3
.LC9:
.string "() ;; null"
.align 3
.LC10:
.string "#<unknown 0x%016lx> ;; FIXME\n"
.text
.align 2
.type print_ptr, %function
print_ptr:
.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, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x0, [sp, 24]
and x0, x0, 3
cmp x0, 0
bne .L10
ldr x0, [sp, 24]
asr x0, x0, 2
str x0, [sp, 40]
ldr x2, [sp, 40]
ldr x1, [sp, 40]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
b .L11
.L10:
ldr x0, [sp, 24]
cmp x0, 111
bne .L12
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
b .L11
.L12:
ldr x0, [sp, 24]
cmp x0, 47
bne .L13
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
b .L11
.L13:
ldr x0, [sp, 24]
and x0, x0, 255
cmp x0, 15
bne .L14
ldr x0, [sp, 24]
lsr x0, x0, 8
and w0, w0, 255
mov w1, w0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
b .L11
.L14:
ldr x0, [sp, 24]
cmp x0, 63
bne .L15
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
b .L11
.L15:
ldr x1, [sp, 24]
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
.L11:
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
.LFE8:
.size print_ptr, .-print_ptr
.align 2
.type debug, %function
debug:
.LFB9:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE9:
.size debug, .-debug
.section .rodata
.align 3
.LC11:
.string "Stack size is %d bytes, or %d ptr cells.\n"
.align 3
.LC12:
.string "Explore %%rax = 0x%016lx (%ld)\n"
.align 3
.LC13:
.string "Executing scheme_entry..."
.align 3
.LC14:
.string "Good bye!"
.text
.align 2
.global main
.type main, %function
main:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
bl debug
mov w0, 131072
str w0, [sp, 28]
ldr w0, [sp, 28]
add w1, w0, 7
cmp w0, 0
csel w0, w1, w0, lt
asr w0, w0, 3
mov w2, w0
ldr w1, [sp, 28]
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
ldr w0, [sp, 28]
bl allocate_protected_space
str x0, [sp, 32]
ldrsw x0, [sp, 28]
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 40]
mov x0, 30
bl explore
str x0, [sp, 48]
ldr x2, [sp, 48]
ldr x1, [sp, 48]
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl puts
ldr x0, [sp, 40]
bl scheme_entry
str x0, [sp, 56]
ldr x0, [sp, 56]
bl print_ptr
ldr w1, [sp, 28]
ldr x0, [sp, 32]
bl deallocate_protected_space
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl puts
mov w0, 0
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.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 test_vqsubu32
.type test_vqsubu32, %function
test_vqsubu32:
.LFB4340:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
ldr d0, [sp, 8]
str d0, [sp, 32]
ldr d0, [sp, 16]
str d0, [sp, 40]
ldr d1, [sp, 32]
ldr d0, [sp, 40]
uqsub v0.2s, v1.2s, v0.2s
str d0, [sp, 24]
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4340:
.size test_vqsubu32, .-test_vqsubu32
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global bad
.type bad, %function
bad:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
cmp w0, 0
cset w0, eq
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size bad, .-bad
.align 2
.global bads
.type bads, %function
bads:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str wzr, [sp, 44]
b .L4
.L7:
ldr w0, [sp, 44]
bl bad
cmp w0, 0
beq .L5
mov w0, 1
b .L6
.L5:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L4:
ldr w1, [sp, 44]
ldr w0, [sp, 28]
cmp w1, w0
bcc .L7
mov w0, 0
.L6:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size bads, .-bads
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global myname
.section .rodata
.align 3
.LC0:
.string "nroff"
.section .data.rel.local,"aw"
.align 3
.type myname, %object
.size myname, 8
myname:
.xword .LC0
.global version
.section .rodata
.align 3
.LC1:
.string "nroff v0.99 BETA 02/25/90 wjr"
.section .data.rel.local
.align 3
.type version, %object
.size version, 8
version:
.xword .LC1
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "%s"
.text
.align 2
.global scilab_rt_Matplot_i2s0_
.type scilab_rt_Matplot_i2s0_, %function
scilab_rt_Matplot_i2s0_:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str w0, [sp, 44]
str w1, [sp, 40]
str x2, [sp, 32]
str x3, [sp, 24]
ldr w0, [sp, 40]
sxtw x1, w0
sub x1, x1, #1
str x1, [sp, 72]
sxtw x1, w0
mov x6, x1
mov x7, 0
lsr x1, x6, 59
lsl x5, x7, 5
orr x5, x1, x5
lsl x4, x6, 5
str wzr, [sp, 68]
str wzr, [sp, 60]
b .L2
.L5:
str wzr, [sp, 64]
b .L3
.L4:
ldrsw x2, [sp, 60]
sxtw x1, w0
mul x1, x2, x1
lsl x1, x1, 2
ldr x2, [sp, 32]
add x1, x2, x1
ldrsw x2, [sp, 64]
ldr w1, [x1, x2, lsl 2]
ldr w2, [sp, 68]
add w1, w2, w1
str w1, [sp, 68]
ldr w1, [sp, 64]
add w1, w1, 1
str w1, [sp, 64]
.L3:
ldr w2, [sp, 64]
ldr w1, [sp, 40]
cmp w2, w1
blt .L4
ldr w1, [sp, 60]
add w1, w1, 1
str w1, [sp, 60]
.L2:
ldr w2, [sp, 60]
ldr w1, [sp, 44]
cmp w2, w1
blt .L5
ldr w1, [sp, 68]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x1, [sp, 24]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size scilab_rt_Matplot_i2s0_, .-scilab_rt_Matplot_i2s0_
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "enter marks 1 : "
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "enter marks 2 : "
.align 3
.LC3:
.string "average is %.1f"
.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 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, 28
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w1, [sp, 24]
ldr w0, [sp, 28]
add w0, w1, w0
str w0, [sp, 32]
ldr w0, [sp, 32]
scvtf d1, w0
fmov d0, 2.0e+0
fdiv d0, d1, d0
fcvt s0, d0
str s0, [sp, 36]
ldr s0, [sp, 36]
fcvt d0, s0
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, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global vRegTest1Task
.type vRegTest1Task, %function
vRegTest1Task:
.LFB0:
.cfi_startproc
#APP
// 42 "program.c" 1
.extern ulRegTest1LoopCounter
/* Fill the core registers with known values. */
movs r1, #101
movs r2, #102
movs r3, #103
movs r4, #104
movs r5, #105
movs r6, #106
movs r7, #107
movs r0, #108
mov r8, r0
movs r0, #109
mov r9, r0
movs r0, #110
mov r10, r0
movs r0, #111
mov r11, r0
movs r0, #112
mov r12, r0
movs r0, #100
reg1_loop:
cmp r0, #100
bne reg1_error_loop
cmp r1, #101
bne reg1_error_loop
cmp r2, #102
bne reg1_error_loop
cmp r3, #103
bne reg1_error_loop
cmp r4, #104
bne reg1_error_loop
cmp r5, #105
bne reg1_error_loop
cmp r6, #106
bne reg1_error_loop
cmp r7, #107
bne reg1_error_loop
movs r0, #108
cmp r8, r0
bne reg1_error_loop
movs r0, #109
cmp r9, r0
bne reg1_error_loop
movs r0, #110
cmp r10, r0
bne reg1_error_loop
movs r0, #111
cmp r11, r0
bne reg1_error_loop
movs r0, #112
cmp r12, r0
bne reg1_error_loop
/* Everything passed, increment the loop counter. */
push { r1 }
ldr r0, =ulRegTest1LoopCounter
ldr r1, [r0]
add r1, r1, #1
str r1, [r0]
/* Yield to increase test coverage. */
movs r0, #0x01
ldr r1, =0xe000ed04
lsl r0, #28
str r0, [r1]
dsb
pop { r1 }
/* Start again. */
movs r0, #100
b reg1_loop
reg1_error_loop:
/* If this line is hit then there was an error in a core register value.
The loop ensures the loop counter stops incrementing. */
b reg1_error_loop
nop
// 0 "" 2
#NO_APP
nop
ret
.cfi_endproc
.LFE0:
.size vRegTest1Task, .-vRegTest1Task
.align 2
.global vRegTest2Task
.type vRegTest2Task, %function
vRegTest2Task:
.LFB1:
.cfi_startproc
#APP
// 130 "program.c" 1
.extern ulRegTest2LoopCounter
/* Fill the core registers with known values. */
movs r1, #1
movs r2, #2
movs r3, #3
movs r4, #4
movs r5, #5
movs r6, #6
movs r7, #7
movs r0, #8
movs r8, r0
movs r0, #9
mov r9, r0
movs r0, #10
mov r10, r0
movs r0, #11
mov r11, r0
movs r0, #12
mov r12, r0
movs r0, #10
reg2_loop:
cmp r0, #10
bne reg2_error_loop
cmp r1, #1
bne reg2_error_loop
cmp r2, #2
bne reg2_error_loop
cmp r3, #3
bne reg2_error_loop
cmp r4, #4
bne reg2_error_loop
cmp r5, #5
bne reg2_error_loop
cmp r6, #6
bne reg2_error_loop
cmp r7, #7
bne reg2_error_loop
movs r0, #8
cmp r8, r0
bne reg2_error_loop
movs r0, #9
cmp r9, r0
bne reg2_error_loop
movs r0, #10
cmp r10, r0
bne reg2_error_loop
movs r0, #11
cmp r11, r0
bne reg2_error_loop
movs r0, #12
cmp r12, r0
bne reg2_error_loop
/* Everything passed, increment the loop counter. */
push { r1 }
ldr r0, =ulRegTest2LoopCounter
ldr r1, [r0]
add r1, r1, #1
str r1, [r0]
pop { r1 }
/* Start again. */
movs r0, #10
b reg2_loop
reg2_error_loop:
/* If this line is hit then there was an error in a core register value.
The loop ensures the loop counter stops incrementing. */
b reg2_error_loop
nop
// 0 "" 2
#NO_APP
nop
ret
.cfi_endproc
.LFE1:
.size vRegTest2Task, .-vRegTest2Task
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "a=%d b=%d"
.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, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
add x0, sp, 16
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
add x0, sp, 20
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 16]
ldr w1, [sp, 20]
mov w2, w1
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w1, [sp, 16]
ldr w0, [sp, 20]
mul w0, w1, w0
str w0, [sp, 16]
ldr w1, [sp, 16]
ldr w0, [sp, 20]
sdiv w0, w1, w0
str w0, [sp, 20]
ldr w1, [sp, 16]
ldr w0, [sp, 20]
sdiv w0, w1, w0
str w0, [sp, 16]
ldr w0, [sp, 16]
ldr w1, [sp, 20]
mov w2, w1
mov w1, w0
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, 24]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Hello World"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -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
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 "rb"
.text
.align 2
.global read_buffer
.type read_buffer, %function
read_buffer:
.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 x1, [sp, 16]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 24]
bl fopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L2
mov x0, 0
b .L3
.L2:
mov w2, 2
mov x1, 0
ldr x0, [sp, 40]
bl fseek
ldr x0, [sp, 40]
bl ftell
str x0, [sp, 48]
mov w2, 0
mov x1, 0
ldr x0, [sp, 40]
bl fseek
ldr x0, [sp, 48]
add x0, x0, 1
bl malloc
str x0, [sp, 56]
ldr x3, [sp, 40]
ldr x2, [sp, 48]
mov x1, 1
ldr x0, [sp, 56]
bl fread
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
strb wzr, [x0]
ldr x0, [sp, 16]
cmp x0, 0
beq .L4
ldr x0, [sp, 16]
ldr x1, [sp, 48]
str x1, [x0]
.L4:
ldr x0, [sp, 56]
.L3:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size read_buffer, .-read_buffer
.section .rodata
.align 3
.LC1:
.string "w+"
.text
.align 2
.global write_buffer
.type write_buffer, %function
write_buffer:
.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, 40]
str x1, [sp, 32]
str x2, [sp, 24]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 40]
bl fopen
str x0, [sp, 56]
ldr x0, [sp, 32]
cmp x0, 0
beq .L6
ldr x3, [sp, 56]
ldr x2, [sp, 24]
mov x1, 1
ldr x0, [sp, 32]
bl fwrite
.L6:
ldr x0, [sp, 56]
bl fclose
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size write_buffer, .-write_buffer
.section .rodata
.align 3
.LC2:
.string "error: call to 'clGetPlatformIDs' failed"
.align 3
.LC3:
.string "Number of platforms: %d\n"
.align 3
.LC4:
.string "platform=%p\n"
.align 3
.LC5:
.string "error: call to 'clGetPlatformInfo' failed"
.align 3
.LC6:
.string "platform.name='%s'\n\n"
.align 3
.LC7:
.string "error: call to 'clGetDeviceIDs' failed"
.align 3
.LC8:
.string "Number of devices: %d\n"
.align 3
.LC9:
.string "device=%p\n"
.align 3
.LC10:
.string "error: call to 'clGetDeviceInfo' failed"
.align 3
.LC11:
.string "device.name='%s'\n"
.align 3
.LC12:
.string "error: call to 'clCreateContext' failed"
.align 3
.LC13:
.string "context=%p\n"
.align 3
.LC14:
.string "error: call to 'clCreateCommandQueue' failed"
.align 3
.LC15:
.string "command_queue=%p\n"
.align 3
.LC16:
.string "error: No binary specified"
.align 3
.LC17:
.string "error: call to 'clCreateProgramWithBinary' failed"
.align 3
.LC18:
.string "error: Invalid binary for device"
.align 3
.LC19:
.string "program=%p\n"
.align 3
.LC20:
.string "program binary loaded"
.align 3
.LC21:
.string "error: call to 'clBuildProgram' failed:\n%s\n"
.align 3
.LC22:
.string "program built"
.align 3
.LC23:
.string "divide_ulong2ulong2"
.align 3
.LC24:
.string "error: call to 'clCreateKernel' failed"
.align 3
.LC25:
.string "error: could not create source buffer"
.align 3
.LC26:
.string "error: call to 'clEnqueueWriteBuffer' failed"
.align 3
.LC27:
.string "error: could not create dst buffer"
.align 3
.LC28:
.string "error: call to 'clSetKernelArg' failed"
.align 3
.LC29:
.string "error: call to 'clEnqueueNDRangeKernel' failed"
.align 3
.LC30:
.string "error: call to 'clEnqueueReadBuffer' failed"
.align 3
.LC31:
.string "%s.result"
.align 3
.LC32:
.string "Result dumped to %s\n"
.align 3
.LC33:
.string "error: call to 'clReleaseMemObject' failed"
.align 3
.LC34:
.string "error: call to 'clReleaseKernel' failed"
.align 3
.LC35:
.string "error: call to 'clReleaseProgram' failed"
.align 3
.LC36:
.string "error: call to 'clReleaseCommandQueue' failed"
.align 3
.LC37:
.string "error: call to 'clReleaseContext' failed"
.text
.align 2
.global main
.type main, %function
main:
.LFB8:
.cfi_startproc
sub sp, sp, #544
.cfi_def_cfa_offset 544
stp x29, x30, [sp, 16]
.cfi_offset 29, -528
.cfi_offset 30, -520
add x29, sp, 16
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, 536]
mov x1, 0
add x1, sp, 56
add x0, sp, 80
mov x2, x1
mov x1, x0
mov w0, 1
bl clGetPlatformIDs
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L8
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
mov w0, 1
bl exit
.L8:
ldr w0, [sp, 56]
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr x0, [sp, 80]
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x0, [sp, 80]
add x1, sp, 224
mov x4, 0
mov x3, x1
mov x2, 100
mov w1, 2306
bl clGetPlatformInfo
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L9
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
mov w0, 1
bl exit
.L9:
add x0, sp, 224
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
ldr x0, [sp, 80]
add x2, sp, 64
add x1, sp, 88
mov x4, x2
mov x3, x1
mov w2, 1
mov x1, 4
bl clGetDeviceIDs
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L10
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
mov w0, 1
bl exit
.L10:
ldr w0, [sp, 64]
mov w1, w0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
ldr x0, [sp, 88]
mov x1, x0
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
ldr x0, [sp, 88]
add x1, sp, 328
mov x4, 0
mov x3, x1
mov x2, 100
mov w1, 4139
bl clGetDeviceInfo
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L11
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl puts
mov w0, 1
bl exit
.L11:
add x0, sp, 328
mov x1, x0
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
mov w0, 10
bl putchar
add x1, sp, 60
add x0, sp, 88
mov x5, x1
mov x4, 0
mov x3, 0
mov x2, x0
mov w1, 1
mov x0, 0
bl clCreateContext
str x0, [sp, 152]
ldr w0, [sp, 60]
cmp w0, 0
beq .L12
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl puts
mov w0, 1
bl exit
.L12:
ldr x1, [sp, 152]
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
ldr x0, [sp, 88]
add x1, sp, 60
mov x3, x1
mov x2, 0
mov x1, x0
ldr x0, [sp, 152]
bl clCreateCommandQueue
str x0, [sp, 160]
ldr w0, [sp, 60]
cmp w0, 0
beq .L13
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl puts
mov w0, 1
bl exit
.L13:
ldr x1, [sp, 160]
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl printf
mov w0, 10
bl putchar
ldr w0, [sp, 44]
cmp w0, 2
bne .L14
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
add x1, sp, 104
bl read_buffer
str x0, [sp, 96]
add x4, sp, 60
add x3, sp, 68
add x2, sp, 96
add x1, sp, 104
add x0, sp, 88
mov x6, x4
mov x5, x3
mov x4, x2
mov x3, x1
mov x2, x0
mov w1, 1
ldr x0, [sp, 152]
bl clCreateProgramWithBinary
str x0, [sp, 168]
ldr w0, [sp, 60]
cmp w0, 0
beq .L16
b .L41
.L14:
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl puts
mov w0, 1
bl exit
.L41:
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl puts
mov w0, 1
bl exit
.L16:
ldr w0, [sp, 68]
cmp w0, 0
beq .L17
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl puts
mov w0, 1
bl exit
.L17:
ldr x1, [sp, 168]
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl printf
ldr x0, [sp, 96]
bl free
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl puts
mov w0, 10
bl putchar
add x0, sp, 88
mov x5, 0
mov x4, 0
mov x3, 0
mov x2, x0
mov w1, 1
ldr x0, [sp, 168]
bl clBuildProgram
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L18
ldr x0, [sp, 88]
add x1, sp, 144
mov x5, x1
mov x4, 0
mov x3, 0
mov w2, 4483
mov x1, x0
ldr x0, [sp, 168]
bl clGetProgramBuildInfo
ldr x0, [sp, 144]
bl malloc
str x0, [sp, 216]
ldr x0, [sp, 88]
ldr x1, [sp, 144]
mov x5, 0
ldr x4, [sp, 216]
mov x3, x1
mov w2, 4483
mov x1, x0
ldr x0, [sp, 168]
bl clGetProgramBuildInfo
ldr x1, [sp, 216]
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl printf
ldr x0, [sp, 216]
bl free
mov w0, 1
bl exit
.L18:
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl puts
mov w0, 10
bl putchar
add x0, sp, 60
mov x2, x0
adrp x0, .LC23
add x1, x0, :lo12:.LC23
ldr x0, [sp, 168]
bl clCreateKernel
str x0, [sp, 176]
ldr w0, [sp, 60]
cmp w0, 0
beq .L19
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl puts
mov w0, 1
bl exit
.L19:
mov x0, 10
str x0, [sp, 184]
ldr x0, [sp, 184]
lsl x0, x0, 4
bl malloc
str x0, [sp, 192]
str wzr, [sp, 72]
b .L20
.L21:
ldrsw x0, [sp, 72]
lsl x0, x0, 4
ldr x1, [sp, 192]
add x0, x1, x0
mov x1, 2
str x1, [x0]
mov x1, 2
str x1, [x0, 8]
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L20:
ldrsw x0, [sp, 72]
ldr x1, [sp, 184]
cmp x1, x0
bhi .L21
ldr x0, [sp, 184]
lsl x0, x0, 4
add x1, sp, 60
mov x4, x1
mov x3, 0
mov x2, x0
mov x1, 4
ldr x0, [sp, 152]
bl clCreateBuffer
str x0, [sp, 112]
ldr w0, [sp, 60]
cmp w0, 0
beq .L22
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl puts
mov w0, 1
bl exit
.L22:
ldr x1, [sp, 112]
ldr x0, [sp, 184]
lsl x0, x0, 4
str xzr, [sp]
mov x7, 0
mov w6, 0
ldr x5, [sp, 192]
mov x4, x0
mov x3, 0
mov w2, 1
ldr x0, [sp, 160]
bl clEnqueueWriteBuffer
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L23
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl puts
mov w0, 1
bl exit
.L23:
ldr x0, [sp, 184]
lsl x0, x0, 4
bl malloc
str x0, [sp, 200]
str wzr, [sp, 76]
b .L24
.L25:
ldrsw x0, [sp, 76]
lsl x0, x0, 4
ldr x1, [sp, 200]
add x0, x1, x0
mov x1, 2
str x1, [x0]
mov x1, 2
str x1, [x0, 8]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L24:
ldrsw x0, [sp, 76]
ldr x1, [sp, 184]
cmp x1, x0
bhi .L25
ldr x0, [sp, 184]
lsl x0, x0, 4
add x1, sp, 60
mov x4, x1
mov x3, 0
mov x2, x0
mov x1, 4
ldr x0, [sp, 152]
bl clCreateBuffer
str x0, [sp, 120]
ldr w0, [sp, 60]
cmp w0, 0
beq .L26
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl puts
mov w0, 1
bl exit
.L26:
ldr x1, [sp, 120]
ldr x0, [sp, 184]
lsl x0, x0, 4
str xzr, [sp]
mov x7, 0
mov w6, 0
ldr x5, [sp, 200]
mov x4, x0
mov x3, 0
mov w2, 1
ldr x0, [sp, 160]
bl clEnqueueWriteBuffer
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L27
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl puts
mov w0, 1
bl exit
.L27:
ldr x0, [sp, 184]
lsl x0, x0, 3
bl malloc
str x0, [sp, 208]
ldr x0, [sp, 184]
lsl x0, x0, 3
mov x2, x0
mov w1, 1
ldr x0, [sp, 208]
bl memset
ldr x0, [sp, 184]
lsl x0, x0, 3
add x1, sp, 60
mov x4, x1
mov x3, 0
mov x2, x0
mov x1, 2
ldr x0, [sp, 152]
bl clCreateBuffer
str x0, [sp, 128]
ldr w0, [sp, 60]
cmp w0, 0
beq .L28
adrp x0, .LC27
add x0, x0, :lo12:.LC27
bl puts
mov w0, 1
bl exit
.L28:
str wzr, [sp, 60]
add x0, sp, 112
mov x3, x0
mov x2, 8
mov w1, 0
ldr x0, [sp, 176]
bl clSetKernelArg
mov w1, w0
ldr w0, [sp, 60]
orr w0, w1, w0
str w0, [sp, 60]
add x0, sp, 120
mov x3, x0
mov x2, 8
mov w1, 1
ldr x0, [sp, 176]
bl clSetKernelArg
mov w1, w0
ldr w0, [sp, 60]
orr w0, w1, w0
str w0, [sp, 60]
add x0, sp, 128
mov x3, x0
mov x2, 8
mov w1, 2
ldr x0, [sp, 176]
bl clSetKernelArg
mov w1, w0
ldr w0, [sp, 60]
orr w0, w1, w0
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L29
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl puts
mov w0, 1
bl exit
.L29:
ldr x0, [sp, 184]
str x0, [sp, 136]
ldr x0, [sp, 184]
str x0, [sp, 144]
add x1, sp, 144
add x0, sp, 136
str xzr, [sp]
mov x7, 0
mov w6, 0
mov x5, x1
mov x4, x0
mov x3, 0
mov w2, 1
ldr x1, [sp, 176]
ldr x0, [sp, 160]
bl clEnqueueNDRangeKernel
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L30
adrp x0, .LC29
add x0, x0, :lo12:.LC29
bl puts
mov w0, 1
bl exit
.L30:
ldr x0, [sp, 160]
bl clFinish
ldr x1, [sp, 128]
ldr x0, [sp, 184]
lsl x0, x0, 3
str xzr, [sp]
mov x7, 0
mov w6, 0
ldr x5, [sp, 208]
mov x4, x0
mov x3, 0
mov w2, 1
ldr x0, [sp, 160]
bl clEnqueueReadBuffer
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L31
adrp x0, .LC30
add x0, x0, :lo12:.LC30
bl puts
mov w0, 1
bl exit
.L31:
ldr x0, [sp, 32]
ldr x0, [x0]
add x3, sp, 432
mov x2, x0
adrp x0, .LC31
add x1, x0, :lo12:.LC31
mov x0, x3
bl sprintf
ldr x0, [sp, 184]
lsl x1, x0, 3
add x0, sp, 432
mov x2, x1
ldr x1, [sp, 208]
bl write_buffer
add x0, sp, 432
mov x1, x0
adrp x0, .LC32
add x0, x0, :lo12:.LC32
bl printf
ldr x0, [sp, 208]
bl free
ldr x0, [sp, 128]
bl clReleaseMemObject
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L32
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl puts
mov w0, 1
bl exit
.L32:
ldr x0, [sp, 192]
bl free
ldr x0, [sp, 112]
bl clReleaseMemObject
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L33
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl puts
mov w0, 1
bl exit
.L33:
ldr x0, [sp, 200]
bl free
ldr x0, [sp, 120]
bl clReleaseMemObject
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L34
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl puts
mov w0, 1
bl exit
.L34:
ldr x0, [sp, 176]
bl clReleaseKernel
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L35
adrp x0, .LC34
add x0, x0, :lo12:.LC34
bl puts
mov w0, 1
bl exit
.L35:
ldr x0, [sp, 168]
bl clReleaseProgram
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L36
adrp x0, .LC35
add x0, x0, :lo12:.LC35
bl puts
mov w0, 1
bl exit
.L36:
ldr x0, [sp, 160]
bl clReleaseCommandQueue
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L37
adrp x0, .LC36
add x0, x0, :lo12:.LC36
bl puts
mov w0, 1
bl exit
.L37:
ldr x0, [sp, 152]
bl clReleaseContext
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L38
adrp x0, .LC37
add x0, x0, :lo12:.LC37
bl puts
mov w0, 1
bl exit
.L38:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 536]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L40
bl __stack_chk_fail
.L40:
mov w0, w1
ldp x29, x30, [sp, 16]
add sp, sp, 544
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Usage: %s num\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
str w0, [sp, 28]
str x1, [sp, 16]
ldr w0, [sp, 28]
cmp w0, 2
beq .L2
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 16]
ldr x0, [x0]
mov x2, x0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x3
bl fprintf
mov w0, 1
bl exit
.L2:
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
mov w2, 10
mov x1, 0
bl strtol
bl printBufs
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global fieldCount
.bss
.align 2
.type fieldCount, %object
.size fieldCount, 4
fieldCount:
.zero 4
.global field
.align 3
.type field, %object
.size field, 10404
field:
.zero 10404
.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
nop
.L2:
bl ProcessField
cmp w0, 0
bne .L2
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC0:
.string "%lu %lu\n"
.align 3
.LC1:
.string "Field #%d:\n"
.align 3
.LC2:
.string "%d"
.text
.align 2
.global ProcessField
.type ProcessField, %function
ProcessField:
.LFB1:
.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, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x4, [x0]
add x1, sp, 32
add x0, sp, 24
mov x3, x1
mov x2, x0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x4
bl __isoc99_fscanf
ldr x0, [sp, 24]
cmp x0, 0
bne .L5
ldr x0, [sp, 32]
cmp x0, 0
bne .L5
mov w0, 0
b .L16
.L5:
adrp x0, fieldCount
add x0, x0, :lo12:fieldCount
ldr w0, [x0]
add w1, w0, 1
adrp x0, fieldCount
add x0, x0, :lo12:fieldCount
str w1, [x0]
mov x2, 10404
mov w1, 0
adrp x0, field
add x0, x0, :lo12:field
bl memset
str xzr, [sp, 40]
b .L7
.L8:
ldr x0, [sp, 40]
add x1, x0, 1
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x1, x0, 4
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, 1
adrp x0, field
add x0, x0, :lo12:field
add x3, x1, x0
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
mov x2, x0
mov w1, 102
mov x0, x3
bl fgets
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L7:
ldr x0, [sp, 24]
ldr x1, [sp, 40]
cmp x1, x0
bcc .L8
adrp x0, fieldCount
add x0, x0, :lo12:fieldCount
ldr w0, [x0]
cmp w0, 1
ble .L9
mov w0, 10
bl putchar
.L9:
adrp x0, fieldCount
add x0, x0, :lo12:fieldCount
ldr w0, [x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov x0, 1
str x0, [sp, 40]
b .L10
.L15:
mov x0, 1
str x0, [sp, 48]
b .L11
.L14:
adrp x0, field
add x2, x0, :lo12:field
ldr x1, [sp, 40]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x1, x0, 4
add x0, x0, x1
lsl x0, x0, 1
add x1, x2, x0
ldr x0, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 19]
ldrb w0, [sp, 19]
cmp w0, 42
bne .L12
mov w0, 42
bl putchar
b .L13
.L12:
ldr x0, [sp, 40]
sub x1, x0, #1
ldr x0, [sp, 48]
sub x2, x0, #1
adrp x0, field
add x3, x0, :lo12:field
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x1, x0, 4
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
ldrb w0, [x0]
cmp w0, 42
cset w0, eq
and w0, w0, 255
mov w3, w0
ldr x0, [sp, 40]
sub x1, x0, #1
adrp x0, field
add x2, x0, :lo12:field
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x1, x0, 4
add x0, x0, x1
lsl x0, x0, 1
add x1, x2, x0
ldr x0, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 42
cset w0, eq
and w0, w0, 255
add w2, w3, w0
ldr x0, [sp, 40]
sub x1, x0, #1
ldr x0, [sp, 48]
add x3, x0, 1
adrp x0, field
add x4, x0, :lo12:field
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x1, x0, 4
add x0, x0, x1
lsl x0, x0, 1
add x0, x4, x0
add x0, x0, x3
ldrb w0, [x0]
cmp w0, 42
cset w0, eq
and w0, w0, 255
add w2, w2, w0
ldr x0, [sp, 48]
sub x3, x0, #1
adrp x0, field
add x4, x0, :lo12:field
ldr x1, [sp, 40]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x1, x0, 4
add x0, x0, x1
lsl x0, x0, 1
add x0, x4, x0
add x0, x0, x3
ldrb w0, [x0]
cmp w0, 42
cset w0, eq
and w0, w0, 255
add w2, w2, w0
ldr x0, [sp, 48]
add x3, x0, 1
adrp x0, field
add x4, x0, :lo12:field
ldr x1, [sp, 40]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x1, x0, 4
add x0, x0, x1
lsl x0, x0, 1
add x0, x4, x0
add x0, x0, x3
ldrb w0, [x0]
cmp w0, 42
cset w0, eq
and w0, w0, 255
add w2, w2, w0
ldr x0, [sp, 40]
add x1, x0, 1
ldr x0, [sp, 48]
sub x3, x0, #1
adrp x0, field
add x4, x0, :lo12:field
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x1, x0, 4
add x0, x0, x1
lsl x0, x0, 1
add x0, x4, x0
add x0, x0, x3
ldrb w0, [x0]
cmp w0, 42
cset w0, eq
and w0, w0, 255
add w2, w2, w0
ldr x0, [sp, 40]
add x1, x0, 1
adrp x0, field
add x3, x0, :lo12:field
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x1, x0, 4
add x0, x0, x1
lsl x0, x0, 1
add x1, x3, x0
ldr x0, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 42
cset w0, eq
and w0, w0, 255
add w2, w2, w0
ldr x0, [sp, 40]
add x1, x0, 1
ldr x0, [sp, 48]
add x3, x0, 1
adrp x0, field
add x4, x0, :lo12:field
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x1, x0, 4
add x0, x0, x1
lsl x0, x0, 1
add x0, x4, x0
add x0, x0, x3
ldrb w0, [x0]
cmp w0, 42
cset w0, eq
and w0, w0, 255
add w0, w2, w0
str w0, [sp, 20]
ldr w1, [sp, 20]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
.L13:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L11:
ldr x0, [sp, 32]
ldr x1, [sp, 48]
cmp x1, x0
bls .L14
mov w0, 10
bl putchar
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L10:
ldr x0, [sp, 24]
ldr x1, [sp, 40]
cmp x1, x0
bls .L15
mov w0, 1
.L16:
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 .L17
bl __stack_chk_fail
.L17:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size ProcessField, .-ProcessField
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "replace_byte(0x12345678, 2, 0xab): %0x\n"
.align 3
.LC1:
.string "replace_byte(0x12345678, 0, 0xab): %0x\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w2, -85
mov w1, 2
mov w0, 22136
movk w0, 0x1234, lsl 16
bl replace_byte
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w2, -85
mov w1, 0
mov w0, 22136
movk w0, 0x1234, lsl 16
bl replace_byte
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
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
.align 2
.global replace_byte
.type replace_byte, %function
replace_byte:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
strb w2, [sp, 7]
ldr w0, [sp, 8]
cmp w0, 0
blt .L4
ldr w0, [sp, 8]
cmp w0, 4
bls .L5
.L4:
ldr w0, [sp, 12]
b .L6
.L5:
ldr w0, [sp, 8]
lsl w0, w0, 2
str w0, [sp, 8]
ldr w0, [sp, 8]
mov w1, 255
lsl w0, w1, w0
mvn w0, w0
mov w1, w0
ldr w0, [sp, 12]
and w1, w1, w0
ldrb w2, [sp, 7]
ldr w0, [sp, 8]
lsl w0, w2, w0
orr w0, w1, w0
.L6:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size replace_byte, .-replace_byte
``` |
### 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, 1
str w0, [sp, 28]
bl func_nofb
bl func_loopfb
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 "Usage: %s -l [image_file]\n -l => list image header information.\n\n"
.align 3
.LC1:
.string " %s -f [fit_source].its [fit_image].itb\n -f => Generate a flattened image tree from an its file.\n"
.text
.align 2
.global usage
.type usage, %function
usage:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 16]
ldr x0, [x0]
mov x2, x0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x3
bl fprintf
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 16]
ldr x0, [x0]
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x3
bl fprintf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size usage, .-usage
.section .rodata
.align 3
.LC2:
.string "Invalid commandline argument -%c."
.align 3
.LC3:
.string "lf"
.text
.align 2
.global main
.type main, %function
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 w0, [sp, 28]
str x1, [sp, 16]
str wzr, [sp, 36]
str wzr, [sp, 40]
b .L3
.L7:
ldr w0, [sp, 44]
cmp w0, 102
beq .L4
ldr w0, [sp, 44]
cmp w0, 108
bne .L5
mov w0, 1
str w0, [sp, 40]
b .L3
.L4:
mov w0, 1
str w0, [sp, 36]
b .L3
.L5:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, :got:optopt
ldr x0, [x0, #:got_lo12:optopt]
ldr w0, [x0]
mov w2, w0
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl fprintf
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl usage
mov w0, -1
b .L6
.L3:
adrp x0, .LC3
add x2, x0, :lo12:.LC3
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl getopt
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bge .L7
ldr w0, [sp, 40]
cmp w0, 0
beq .L8
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl fit_list_image
b .L6
.L8:
ldr w0, [sp, 36]
cmp w0, 0
beq .L9
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl fit_image
b .L6
.L9:
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl usage
mov w0, 0
.L6:
ldp x29, x30, [sp], 48
.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 f00
.type f00, %function
f00:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size f00, .-f00
.align 2
.global f01
.type f01, %function
f01:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, 49152
str w0, [sp, 24]
mov w0, -49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, lt
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size f01, .-f01
.align 2
.global f02
.type f02, %function
f02:
.LFB2:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size f02, .-f02
.align 2
.global f03
.type f03, %function
f03:
.LFB3:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, 49152
str w0, [sp, 24]
mov w0, -49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, le
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size f03, .-f03
.align 2
.global f04
.type f04, %function
f04:
.LFB4:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size f04, .-f04
.align 2
.global f05
.type f05, %function
f05:
.LFB5:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, 49152
str w0, [sp, 24]
mov w0, 49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, gt
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size f05, .-f05
.align 2
.global f06
.type f06, %function
f06:
.LFB6:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size f06, .-f06
.align 2
.global f07
.type f07, %function
f07:
.LFB7:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, 49152
str w0, [sp, 24]
mov w0, 49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, ge
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size f07, .-f07
.align 2
.global f08
.type f08, %function
f08:
.LFB8:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size f08, .-f08
.align 2
.global f09
.type f09, %function
f09:
.LFB9:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, 46340
str w0, [sp, 24]
mov w0, -46341
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, le
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size f09, .-f09
.align 2
.global f10
.type f10, %function
f10:
.LFB10:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size f10, .-f10
.align 2
.global f11
.type f11, %function
f11:
.LFB11:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, 46340
str w0, [sp, 24]
mov w0, 46341
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, ge
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size f11, .-f11
.align 2
.global f12
.type f12, %function
f12:
.LFB12:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size f12, .-f12
.align 2
.global f13
.type f13, %function
f13:
.LFB13:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, 49152
str w0, [sp, 24]
mov w0, -49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, ne
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size f13, .-f13
.align 2
.global f14
.type f14, %function
f14:
.LFB14:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size f14, .-f14
.align 2
.global f15
.type f15, %function
f15:
.LFB15:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, 49152
str w0, [sp, 24]
mov w0, 49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, ne
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size f15, .-f15
.align 2
.global f16
.type f16, %function
f16:
.LFB16:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size f16, .-f16
.align 2
.global f17
.type f17, %function
f17:
.LFB17:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, -49152
str w0, [sp, 24]
mov w0, -49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, lt
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size f17, .-f17
.align 2
.global f18
.type f18, %function
f18:
.LFB18:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size f18, .-f18
.align 2
.global f19
.type f19, %function
f19:
.LFB19:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, -49152
str w0, [sp, 24]
mov w0, -49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, le
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE19:
.size f19, .-f19
.align 2
.global f20
.type f20, %function
f20:
.LFB20:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size f20, .-f20
.align 2
.global f21
.type f21, %function
f21:
.LFB21:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, -49152
str w0, [sp, 24]
mov w0, 49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, gt
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size f21, .-f21
.align 2
.global f22
.type f22, %function
f22:
.LFB22:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE22:
.size f22, .-f22
.align 2
.global f23
.type f23, %function
f23:
.LFB23:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, -49152
str w0, [sp, 24]
mov w0, 49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, ge
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE23:
.size f23, .-f23
.align 2
.global f24
.type f24, %function
f24:
.LFB24:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE24:
.size f24, .-f24
.align 2
.global f25
.type f25, %function
f25:
.LFB25:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, -46340
str w0, [sp, 24]
mov w0, -46341
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, le
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE25:
.size f25, .-f25
.align 2
.global f26
.type f26, %function
f26:
.LFB26:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE26:
.size f26, .-f26
.align 2
.global f27
.type f27, %function
f27:
.LFB27:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, -46340
str w0, [sp, 24]
mov w0, 46341
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, ge
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE27:
.size f27, .-f27
.align 2
.global f28
.type f28, %function
f28:
.LFB28:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE28:
.size f28, .-f28
.align 2
.global f29
.type f29, %function
f29:
.LFB29:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, -49152
str w0, [sp, 24]
mov w0, 49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, ne
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE29:
.size f29, .-f29
.align 2
.global f30
.type f30, %function
f30:
.LFB30:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE30:
.size f30, .-f30
.align 2
.global f31
.type f31, %function
f31:
.LFB31:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, -49152
str w0, [sp, 24]
mov w0, -49152
str w0, [sp, 28]
ldr w1, [sp, 12]
ldr w0, [sp, 24]
sdiv w0, w1, w0
ldr w1, [sp, 28]
cmp w1, w0
cset w0, ne
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE31:
.size f31, .-f31
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.data
.align 3
.type junk, %object
.size junk, 30
junk:
.string "\n@(#)LIBF77 VERSION 19990503\n"
.text
.align 2
.type spow_ui, %function
spow_ui:
.LFB10:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
str w0, [sp, 8]
fmov s0, 1.0e+0
str s0, [sp, 20]
ldr w0, [sp, 8]
cmp w0, 0
beq .L2
ldr w0, [sp, 8]
cmp w0, 0
bge .L3
ldr w0, [sp, 8]
neg w0, w0
str w0, [sp, 8]
ldr s0, [sp, 12]
fmov s1, 1.0e+0
fdiv s0, s1, s0
str s0, [sp, 12]
.L3:
ldrsw x0, [sp, 8]
str x0, [sp, 24]
.L7:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L4
ldr s1, [sp, 20]
ldr s0, [sp, 12]
fmul s0, s1, s0
str s0, [sp, 20]
.L4:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L9
ldr s0, [sp, 12]
fmul s0, s0, s0
str s0, [sp, 12]
b .L7
.L9:
nop
.L2:
ldr s0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size spow_ui, .-spow_ui
.align 2
.type dpow_ui, %function
dpow_ui:
.LFB11:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str d0, [sp, 8]
str w0, [sp, 4]
fmov d0, 1.0e+0
str d0, [sp, 16]
ldr w0, [sp, 4]
cmp w0, 0
beq .L11
ldr w0, [sp, 4]
cmp w0, 0
bge .L12
ldr w0, [sp, 4]
neg w0, w0
str w0, [sp, 4]
ldr d0, [sp, 8]
fmov d1, 1.0e+0
fdiv d0, d1, d0
str d0, [sp, 8]
.L12:
ldrsw x0, [sp, 4]
str x0, [sp, 24]
.L16:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L13
ldr d1, [sp, 16]
ldr d0, [sp, 8]
fmul d0, d1, d0
str d0, [sp, 16]
.L13:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L18
ldr d0, [sp, 8]
fmul d0, d0, d0
str d0, [sp, 8]
b .L16
.L18:
nop
.L11:
ldr d0, [sp, 16]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size dpow_ui, .-dpow_ui
.align 2
.type cpow_ui, %function
cpow_ui:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
fmov s2, s0
fmov s0, s1
fmov s1, s2
str s1, [sp, 24]
str s0, [sp, 28]
str w0, [sp, 20]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
fmov s0, 1.0e+0
str s0, [sp, 56]
str wzr, [sp, 60]
ldr w0, [sp, 20]
cmp w0, 0
beq .L27
ldr w0, [sp, 20]
cmp w0, 0
bge .L21
ldr w0, [sp, 20]
neg w0, w0
str w0, [sp, 20]
ldr s3, [sp, 36]
ldr s2, [sp, 32]
movi v1.2s, #0
fmov s0, 1.0e+0
bl __divsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 24]
str s0, [sp, 28]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
.L21:
ldrsw x0, [sp, 20]
str x0, [sp, 48]
str wzr, [sp, 44]
fmov s0, 1.0e+0
str s0, [sp, 40]
.L25:
ldr x0, [sp, 48]
and x0, x0, 1
cmp x0, 0
beq .L22
ldr s3, [sp, 36]
ldr s2, [sp, 32]
ldr s1, [sp, 44]
ldr s0, [sp, 40]
bl __mulsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 56]
str s0, [sp, 60]
ldr s0, [sp, 56]
str s0, [sp, 40]
ldr s0, [sp, 60]
str s0, [sp, 44]
.L22:
ldr x0, [sp, 48]
lsr x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L28
ldr s3, [sp, 36]
ldr s2, [sp, 32]
ldr s1, [sp, 36]
ldr s0, [sp, 32]
bl __mulsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 24]
str s0, [sp, 28]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
b .L25
.L27:
str wzr, [sp, 44]
fmov s0, 1.0e+0
str s0, [sp, 40]
b .L20
.L28:
nop
.L20:
ldr s1, [sp, 40]
ldr s0, [sp, 44]
fmov s2, s1
fmov s1, s0
fmov s0, s2
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size cpow_ui, .-cpow_ui
.align 2
.type zpow_ui, %function
zpow_ui:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
fmov d2, d0
fmov d0, d1
fmov d1, d2
str d1, [sp, 32]
str d0, [sp, 40]
str w0, [sp, 28]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
fmov d0, 1.0e+0
str d0, [sp, 96]
str xzr, [sp, 104]
ldr w0, [sp, 28]
cmp w0, 0
beq .L37
ldr w0, [sp, 28]
cmp w0, 0
bge .L31
ldr w0, [sp, 28]
neg w0, w0
str w0, [sp, 28]
ldr d3, [sp, 72]
ldr d2, [sp, 64]
movi d1, #0
fmov d0, 1.0e+0
bl __divdc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 32]
str d0, [sp, 40]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
.L31:
ldrsw x0, [sp, 28]
str x0, [sp, 56]
str xzr, [sp, 88]
fmov d0, 1.0e+0
str d0, [sp, 80]
.L35:
ldr x0, [sp, 56]
and x0, x0, 1
cmp x0, 0
beq .L32
ldr d3, [sp, 72]
ldr d2, [sp, 64]
ldr d1, [sp, 88]
ldr d0, [sp, 80]
bl __muldc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 96]
str d0, [sp, 104]
ldr d0, [sp, 96]
str d0, [sp, 80]
ldr d0, [sp, 104]
str d0, [sp, 88]
.L32:
ldr x0, [sp, 56]
lsr x0, x0, 1
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L38
ldr d3, [sp, 72]
ldr d2, [sp, 64]
ldr d1, [sp, 72]
ldr d0, [sp, 64]
bl __muldc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 32]
str d0, [sp, 40]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
b .L35
.L37:
str xzr, [sp, 88]
fmov d0, 1.0e+0
str d0, [sp, 80]
b .L30
.L38:
nop
.L30:
ldr d1, [sp, 80]
ldr d0, [sp, 88]
fmov d2, d1
fmov d1, d0
fmov d0, d2
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size zpow_ui, .-zpow_ui
.align 2
.type pow_ii, %function
pow_ii:
.LFB14:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str w1, [sp, 8]
ldr w0, [sp, 8]
cmp w0, 0
bgt .L40
ldr w0, [sp, 8]
cmp w0, 0
beq .L41
ldr w0, [sp, 12]
cmp w0, 1
bne .L42
.L41:
mov w0, 1
str w0, [sp, 20]
b .L40
.L42:
ldr w0, [sp, 12]
cmn w0, #1
beq .L43
ldr w0, [sp, 12]
cmp w0, 0
bne .L44
mov w1, 1
ldr w0, [sp, 12]
sdiv w0, w1, w0
b .L45
.L44:
mov w0, 0
.L45:
str w0, [sp, 20]
b .L40
.L43:
ldr w0, [sp, 8]
neg w0, w0
str w0, [sp, 8]
.L40:
ldr w0, [sp, 8]
cmp w0, 0
bgt .L46
ldr w0, [sp, 8]
cmp w0, 0
beq .L47
ldr w0, [sp, 12]
cmp w0, 1
beq .L47
ldr w0, [sp, 12]
cmn w0, #1
bne .L47
.L46:
ldrsw x0, [sp, 8]
str x0, [sp, 24]
mov w0, 1
str w0, [sp, 20]
.L51:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L48
ldr w1, [sp, 20]
ldr w0, [sp, 12]
mul w0, w1, w0
str w0, [sp, 20]
.L48:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L53
ldr w0, [sp, 12]
mul w0, w0, w0
str w0, [sp, 12]
b .L51
.L53:
nop
.L47:
ldr w0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size pow_ii, .-pow_ii
.align 2
.type dmaxloc_, %function
dmaxloc_:
.LFB15:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str x3, [sp, 8]
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, 40]
ldr w0, [sp, 20]
str w0, [sp, 36]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 32]
b .L55
.L58:
ldrsw x0, [sp, 32]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
ldr d1, [sp, 40]
fcmpe d1, d0
bmi .L60
b .L56
.L60:
ldr w0, [sp, 32]
str w0, [sp, 36]
ldrsw x0, [sp, 32]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
str d0, [sp, 40]
.L56:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L55:
ldr w1, [sp, 32]
ldr w0, [sp, 16]
cmp w1, w0
ble .L58
ldr w1, [sp, 36]
ldr w0, [sp, 20]
sub w0, w1, w0
add w0, w0, 1
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size dmaxloc_, .-dmaxloc_
.align 2
.type smaxloc_, %function
smaxloc_:
.LFB16:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str x3, [sp, 8]
ldrsw x0, [sp, 20]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 36]
ldr w0, [sp, 20]
str w0, [sp, 44]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 40]
b .L62
.L65:
ldrsw x0, [sp, 40]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
ldr s1, [sp, 36]
fcmpe s1, s0
bmi .L67
b .L63
.L67:
ldr w0, [sp, 40]
str w0, [sp, 44]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 36]
.L63:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L62:
ldr w1, [sp, 40]
ldr w0, [sp, 16]
cmp w1, w0
ble .L65
ldr w1, [sp, 44]
ldr w0, [sp, 20]
sub w0, w1, w0
add w0, w0, 1
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size smaxloc_, .-smaxloc_
.data
.align 2
.type c_n1, %object
.size c_n1, 4
c_n1:
.word -1
.section .rodata
.align 3
.LC0:
.string "U"
.align 3
.LC1:
.string "L"
.align 3
.LC2:
.string "CSYSV_RK "
.text
.align 2
.global csysv_rk_
.type csysv_rk_, %function
csysv_rk_:
.LFB21:
.cfi_startproc
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, 16]
.cfi_offset 29, -160
.cfi_offset 30, -152
add x29, sp, 16
str x0, [sp, 120]
str x1, [sp, 112]
str x2, [sp, 104]
str x3, [sp, 96]
str x4, [sp, 88]
str x5, [sp, 80]
str x6, [sp, 72]
str x7, [sp, 64]
ldr x0, [sp, 176]
str x0, [sp, 56]
ldr x0, [sp, 184]
str x0, [sp, 48]
ldr x0, [sp, 192]
str x0, [sp, 40]
ldr x0, [sp, 200]
str x0, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 168]
mov x1, 0
ldr x0, [sp, 88]
ldr w0, [x0]
str w0, [sp, 148]
ldr w0, [sp, 148]
add w0, w0, 1
str w0, [sp, 152]
ldrsw x0, [sp, 152]
lsl x0, x0, 3
neg x0, x0
ldr x1, [sp, 96]
add x0, x1, x0
str x0, [sp, 96]
ldr x0, [sp, 80]
sub x0, x0, #8
str x0, [sp, 80]
ldr x0, [sp, 72]
sub x0, x0, #4
str x0, [sp, 72]
ldr x0, [sp, 56]
ldr w0, [x0]
str w0, [sp, 156]
ldr w0, [sp, 156]
add w0, w0, 1
str w0, [sp, 160]
ldrsw x0, [sp, 160]
lsl x0, x0, 3
neg x0, x0
ldr x1, [sp, 64]
add x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 48]
sub x0, x0, #8
str x0, [sp, 48]
ldr x0, [sp, 32]
str wzr, [x0]
ldr x0, [sp, 40]
ldr w0, [x0]
cmn w0, #1
cset w0, eq
and w0, w0, 255
str w0, [sp, 164]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 120]
bl lsame_
cmp w0, 0
bne .L69
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 120]
bl lsame_
cmp w0, 0
bne .L69
ldr x0, [sp, 32]
mov w1, -1
str w1, [x0]
b .L70
.L69:
ldr x0, [sp, 112]
ldr w0, [x0]
cmp w0, 0
bge .L71
ldr x0, [sp, 32]
mov w1, -2
str w1, [x0]
b .L70
.L71:
ldr x0, [sp, 104]
ldr w0, [x0]
cmp w0, 0
bge .L72
ldr x0, [sp, 32]
mov w1, -3
str w1, [x0]
b .L70
.L72:
ldr x0, [sp, 88]
ldr w1, [x0]
ldr x0, [sp, 112]
ldr w0, [x0]
mov w2, 1
cmp w0, 0
csel w0, w0, w2, gt
cmp w1, w0
bge .L73
ldr x0, [sp, 32]
mov w1, -5
str w1, [x0]
b .L70
.L73:
ldr x0, [sp, 56]
ldr w1, [x0]
ldr x0, [sp, 112]
ldr w0, [x0]
mov w2, 1
cmp w0, 0
csel w0, w0, w2, gt
cmp w1, w0
bge .L74
ldr x0, [sp, 32]
mov w1, -9
str w1, [x0]
b .L70
.L74:
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 0
bgt .L70
ldr w0, [sp, 164]
cmp w0, 0
bne .L70
ldr x0, [sp, 32]
mov w1, -11
str w1, [x0]
.L70:
ldr x0, [sp, 32]
ldr w0, [x0]
cmp w0, 0
bne .L75
ldr x0, [sp, 112]
ldr w0, [x0]
cmp w0, 0
bne .L76
mov w0, 1
str w0, [sp, 144]
b .L77
.L76:
ldrsw x0, [sp, 152]
lsl x0, x0, 3
ldr x1, [sp, 96]
add x1, x1, x0
ldr x0, [sp, 80]
add x2, x0, 8
ldr x0, [sp, 72]
add x3, x0, 4
ldr x0, [sp, 48]
add x4, x0, 8
ldr x0, [sp, 32]
str x0, [sp]
adrp x0, c_n1
add x7, x0, :lo12:c_n1
mov x6, x4
mov x5, x3
mov x4, x2
ldr x3, [sp, 88]
mov x2, x1
ldr x1, [sp, 112]
ldr x0, [sp, 120]
bl csytrf_rk_
ldr x0, [sp, 48]
add x0, x0, 8
ldr s0, [x0]
fcvtzs s0, s0
str s0, [sp, 144]
.L77:
ldr x0, [sp, 48]
add x0, x0, 8
ldr s0, [sp, 144]
scvtf s0, s0
str s0, [x0]
ldr x0, [sp, 48]
add x0, x0, 8
str wzr, [x0, 4]
.L75:
ldr x0, [sp, 32]
ldr w0, [x0]
cmp w0, 0
beq .L78
ldr x0, [sp, 32]
ldr w0, [x0]
neg w0, w0
str w0, [sp, 140]
add x0, sp, 140
mov w2, 9
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl xerbla_
mov w0, 0
b .L82
.L78:
ldr w0, [sp, 164]
cmp w0, 0
beq .L80
mov w0, 0
b .L82
.L80:
ldrsw x0, [sp, 152]
lsl x0, x0, 3
ldr x1, [sp, 96]
add x1, x1, x0
ldr x0, [sp, 80]
add x2, x0, 8
ldr x0, [sp, 72]
add x3, x0, 4
ldr x0, [sp, 48]
add x4, x0, 8
ldr x0, [sp, 32]
str x0, [sp]
ldr x7, [sp, 40]
mov x6, x4
mov x5, x3
mov x4, x2
ldr x3, [sp, 88]
mov x2, x1
ldr x1, [sp, 112]
ldr x0, [sp, 120]
bl csytrf_rk_
ldr x0, [sp, 32]
ldr w0, [x0]
cmp w0, 0
bne .L81
ldrsw x0, [sp, 152]
lsl x0, x0, 3
ldr x1, [sp, 96]
add x2, x1, x0
ldr x0, [sp, 80]
add x3, x0, 8
ldr x0, [sp, 72]
add x4, x0, 4
ldrsw x0, [sp, 160]
lsl x0, x0, 3
ldr x1, [sp, 64]
add x1, x1, x0
ldr x0, [sp, 32]
str x0, [sp, 8]
ldr x0, [sp, 56]
str x0, [sp]
mov x7, x1
mov x6, x4
mov x5, x3
ldr x4, [sp, 88]
mov x3, x2
ldr x2, [sp, 104]
ldr x1, [sp, 112]
ldr x0, [sp, 120]
bl csytrs_3_
.L81:
ldr x0, [sp, 48]
add x0, x0, 8
ldr s0, [sp, 144]
scvtf s0, s0
str s0, [x0]
ldr x0, [sp, 48]
add x0, x0, 8
str wzr, [x0, 4]
mov w0, 0
.L82:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L83
bl __stack_chk_fail
.L83:
mov w0, w1
ldp x29, x30, [sp, 16]
add sp, sp, 176
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size csysv_rk_, .-csysv_rk_
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global x3
.type x3, %function
x3:
.LFB0:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE0:
.size x3, .-x3
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "0\n1\n"
.align 3
.LC1:
.string "%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
str wzr, [sp, 16]
mov w0, 1
str w0, [sp, 20]
ldr w1, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 1
str w0, [sp, 24]
b .L2
.L3:
ldr w1, [sp, 16]
ldr w0, [sp, 20]
add w0, w1, w0
str w0, [sp, 28]
ldr w1, [sp, 28]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 20]
str w0, [sp, 16]
ldr w0, [sp, 28]
str w0, [sp, 20]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L2:
ldr w0, [sp, 24]
cmp w0, 20
ble .L3
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.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
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, 56]
mov x1, 0
mov w0, 1
str w0, [sp, 36]
str wzr, [sp, 32]
.L4:
mov w0, 65
strb w0, [sp, 49]
ldr w0, [sp, 32]
cmp w0, 8
bgt .L7
ldr w1, [sp, 32]
ldr w0, [sp, 36]
add w0, w1, w0
str w0, [sp, 32]
ldr w0, [sp, 32]
cmp w0, 0
bne .L4
b .L3
.L7:
nop
.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 .L6
bl __stack_chk_fail
.L6:
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
.section .rodata
.align 3
.LC0:
.string "Fahr\tCelsius"
.align 3
.LC1:
.string "%4.0f\t%6.1f\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 wzr, [sp, 32]
mov w0, 300
str w0, [sp, 36]
mov w0, 20
str w0, [sp, 40]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
ldr s0, [sp, 32]
scvtf s0, s0
str s0, [sp, 28]
b .L2
.L3:
ldr s1, [sp, 28]
movi v0.2s, 0x42, lsl 24
fsub s0, s1, s0
fcvt d0, s0
adrp x0, .LC2
ldr d1, [x0, #:lo12:.LC2]
fmul d0, d0, d1
fcvt s0, d0
str s0, [sp, 44]
ldr s0, [sp, 28]
fcvt d2, s0
ldr s0, [sp, 44]
fcvt d0, s0
fmov d1, d0
fmov d0, d2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr s0, [sp, 40]
scvtf s0, s0
ldr s1, [sp, 28]
fadd s0, s1, s0
str s0, [sp, 28]
.L2:
ldr s0, [sp, 36]
scvtf s0, s0
ldr s1, [sp, 28]
fcmpe s1, s0
bls .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
.section .rodata
.align 3
.LC2:
.word 1908874354
.word 1071761180
``` |
### 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
.global PADTHICKNESS
.section .rodata
.align 2
.type PADTHICKNESS, %object
.size PADTHICKNESS, 4
PADTHICKNESS:
.word 1
.global EPSILON
.align 2
.type EPSILON, %object
.size EPSILON, 4
EPSILON:
.word 897988541
.global RGBCHANNELS
.align 2
.type RGBCHANNELS, %object
.size RGBCHANNELS, 4
RGBCHANNELS:
.word 3
.global DRVCHANNELS
.align 2
.type DRVCHANNELS, %object
.size DRVCHANNELS, 4
DRVCHANNELS:
.word 2
.global NBINS
.align 2
.type NBINS, %object
.size NBINS, 4
NBINS:
.word 9
.global ANGLERANGE
.align 2
.type ANGLERANGE, %object
.size ANGLERANGE, 4
ANGLERANGE:
.word 180
.global CELLSIZEX
.align 2
.type CELLSIZEX, %object
.size CELLSIZEX, 4
CELLSIZEX:
.word 8
.global CELLSIZEY
.align 2
.type CELLSIZEY, %object
.size CELLSIZEY, 4
CELLSIZEY:
.word 8
.global BLOCKSIZEX
.align 2
.type BLOCKSIZEX, %object
.size BLOCKSIZEX, 4
BLOCKSIZEX:
.word 2
.global BLOCKSIZEY
.align 2
.type BLOCKSIZEY, %object
.size BLOCKSIZEY, 4
BLOCKSIZEY:
.word 2
.global BLOCKSTRIDEX
.align 2
.type BLOCKSTRIDEX, %object
.size BLOCKSTRIDEX, 4
BLOCKSTRIDEX:
.word 16
.global BLOCKSTRIDEY
.align 2
.type BLOCKSTRIDEY, %object
.size BLOCKSTRIDEY, 4
BLOCKSTRIDEY:
.word 16
.global WINDOWSIZEX
.align 2
.type WINDOWSIZEX, %object
.size WINDOWSIZEX, 4
WINDOWSIZEX:
.word 64
.global WINDOWSIZEY
.align 2
.type WINDOWSIZEY, %object
.size WINDOWSIZEY, 4
WINDOWSIZEY:
.word 128
.global WINDOWSTRIDEX
.align 2
.type WINDOWSTRIDEX, %object
.size WINDOWSTRIDEX, 4
WINDOWSTRIDEX:
.word 8
.global WINDOWSTRIDEY
.align 2
.type WINDOWSTRIDEY, %object
.size WINDOWSTRIDEY, 4
WINDOWSTRIDEY:
.word 16
.global NUMCELLSX
.align 2
.type NUMCELLSX, %object
.size NUMCELLSX, 4
NUMCELLSX:
.word 8
.global NUMCELLSY
.align 2
.type NUMCELLSY, %object
.size NUMCELLSY, 4
NUMCELLSY:
.word 16
.global START_SCALE
.align 3
.type START_SCALE, %object
.size START_SCALE, 8
START_SCALE:
.word -695990860
.word 1071912899
.global START_ITER
.align 3
.type START_ITER, %object
.size START_ITER, 8
START_ITER:
.zero 8
.global SCALE_RATE
.align 3
.type SCALE_RATE, %object
.size SCALE_RATE, 8
SCALE_RATE:
.word -2130303779
.word 1072645013
.global NUMBLOCKSX
.align 2
.type NUMBLOCKSX, %object
.size NUMBLOCKSX, 4
NUMBLOCKSX:
.word 4
.global NUMBLOCKSY
.align 2
.type NUMBLOCKSY, %object
.size NUMBLOCKSY, 4
NUMBLOCKSY:
.word 8
.global HISTOGRAMSIZE
.align 2
.type HISTOGRAMSIZE, %object
.size HISTOGRAMSIZE, 4
HISTOGRAMSIZE:
.word 1152
.global NUMHIST
.align 2
.type NUMHIST, %object
.size NUMHIST, 4
NUMHIST:
.word 128
.global L2THRESHOLD
.align 2
.type L2THRESHOLD, %object
.size L2THRESHOLD, 4
L2THRESHOLD:
.word 1045220557
.align 2
.type BORDERTHICKNESS, %object
.size BORDERTHICKNESS, 4
BORDERTHICKNESS:
.word 8
.global ITERS
.align 2
.type ITERS, %object
.size ITERS, 4
ITERS:
.word 12
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global ESP_WM_MARK
.section .rodata
.align 3
.type ESP_WM_MARK, %object
.size ESP_WM_MARK, 6
ESP_WM_MARK:
.string "[WM] "
.global ESP_WM_SP
.align 3
.type ESP_WM_SP, %object
.size ESP_WM_SP, 2
ESP_WM_SP:
.string " "
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
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, 56]
mov x1, 0
add x4, sp, 40
mov x3, 0
adrp x0, thread_print_odd
add x2, x0, :lo12:thread_print_odd
mov x1, 0
mov x0, x4
bl pthread_create
cmp w0, 0
beq .L2
mov w0, 1
b .L7
.L2:
add x4, sp, 48
mov x3, 0
adrp x0, thread_print_even
add x2, x0, :lo12:thread_print_even
mov x1, 0
mov x0, x4
bl pthread_create
cmp w0, 0
beq .L4
mov w0, 1
b .L7
.L4:
ldr x0, [sp, 40]
mov x1, 0
bl pthread_join
cmp w0, 0
beq .L5
mov w0, 1
b .L7
.L5:
ldr x0, [sp, 48]
mov x1, 0
bl pthread_join
cmp w0, 0
beq .L6
mov w0, 1
b .L7
.L6:
mov w0, 0
.L7:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L8
bl __stack_chk_fail
.L8:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC0:
.string "%d\n"
.text
.align 2
.type thread_print_odd, %function
thread_print_odd:
.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]
mov w0, 1
str w0, [sp, 44]
b .L10
.L11:
ldr w1, [sp, 44]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 5000
bl usleep
ldr w0, [sp, 44]
add w0, w0, 2
str w0, [sp, 44]
.L10:
ldr w0, [sp, 44]
cmp w0, 1000
ble .L11
mov x0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size thread_print_odd, .-thread_print_odd
.align 2
.type thread_print_even, %function
thread_print_even:
.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]
mov w0, 2
str w0, [sp, 44]
b .L14
.L15:
ldr w1, [sp, 44]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 5000
bl usleep
ldr w0, [sp, 44]
add w0, w0, 2
str w0, [sp, 44]
.L14:
ldr w0, [sp, 44]
cmp w0, 1000
ble .L15
mov x0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size thread_print_even, .-thread_print_even
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter the card_name: "
.align 3
.LC1:
.string "%2s"
.align 3
.LC2:
.string "I don't understand that value!"
.align 3
.LC3:
.string "Current count: %i\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 24]
.L11:
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
add x0, sp, 32
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
str wzr, [sp, 28]
ldrb w0, [sp, 32]
cmp w0, 88
beq .L14
cmp w0, 88
bgt .L3
cmp w0, 81
beq .L4
cmp w0, 81
bgt .L3
cmp w0, 65
beq .L5
cmp w0, 65
blt .L3
sub w0, w0, #74
cmp w0, 1
bhi .L3
.L4:
mov w0, 10
str w0, [sp, 28]
b .L6
.L5:
mov w0, 11
str w0, [sp, 28]
b .L6
.L3:
add x0, sp, 32
bl atoi
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
ble .L8
ldr w0, [sp, 28]
cmp w0, 10
ble .L6
.L8:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
b .L7
.L6:
ldr w0, [sp, 28]
cmp w0, 2
ble .L9
ldr w0, [sp, 28]
cmp w0, 6
bgt .L9
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
b .L10
.L9:
ldr w0, [sp, 28]
cmp w0, 10
bne .L10
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
.L10:
ldr w1, [sp, 24]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
b .L7
.L14:
nop
.L7:
ldrb w0, [sp, 32]
cmp w0, 88
bne .L11
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 .L13
bl __stack_chk_fail
.L13:
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
.type fallbackSimpleSort, %function
fallbackSimpleSort:
.LFB6:
.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]
ldr w1, [sp, 12]
ldr w0, [sp, 8]
cmp w1, w0
beq .L15
ldr w1, [sp, 8]
ldr w0, [sp, 12]
sub w0, w1, w0
cmp w0, 3
ble .L4
ldr w0, [sp, 8]
sub w0, w0, #4
str w0, [sp, 32]
b .L5
.L9:
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 40]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 44]
ldr w0, [sp, 32]
add w0, w0, 4
str w0, [sp, 36]
b .L6
.L8:
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x1, x1, x0
ldrsw x0, [sp, 36]
lsl x0, x0, 2
sub x0, x0, #16
ldr x2, [sp, 24]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w0, [sp, 36]
add w0, w0, 4
str w0, [sp, 36]
.L6:
ldr w1, [sp, 36]
ldr w0, [sp, 8]
cmp w1, w0
bgt .L7
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
uxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
bhi .L8
.L7:
ldrsw x0, [sp, 36]
lsl x0, x0, 2
sub x0, x0, #16
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [sp, 40]
str w1, [x0]
ldr w0, [sp, 32]
sub w0, w0, #1
str w0, [sp, 32]
.L5:
ldr w1, [sp, 32]
ldr w0, [sp, 12]
cmp w1, w0
bge .L9
.L4:
ldr w0, [sp, 8]
sub w0, w0, #1
str w0, [sp, 32]
b .L10
.L14:
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 40]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 44]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 36]
b .L11
.L13:
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x1, x1, x0
ldrsw x0, [sp, 36]
lsl x0, x0, 2
sub x0, x0, #4
ldr x2, [sp, 24]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L11:
ldr w1, [sp, 36]
ldr w0, [sp, 8]
cmp w1, w0
bgt .L12
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
uxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
bhi .L13
.L12:
ldrsw x0, [sp, 36]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [sp, 40]
str w1, [x0]
ldr w0, [sp, 32]
sub w0, w0, #1
str w0, [sp, 32]
.L10:
ldr w1, [sp, 32]
ldr w0, [sp, 12]
cmp w1, w0
bge .L14
b .L1
.L15:
nop
.L1:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size fallbackSimpleSort, .-fallbackSimpleSort
.align 2
.type fallbackQSort3, %function
fallbackQSort3:
.LFB7:
.cfi_startproc
sub sp, sp, #960
.cfi_def_cfa_offset 960
stp x29, x30, [sp]
.cfi_offset 29, -960
.cfi_offset 30, -952
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
str w3, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 952]
mov x1, 0
str wzr, [sp, 84]
str wzr, [sp, 76]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 152
ldr w2, [sp, 28]
str w2, [x1, x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 552
ldr w2, [sp, 24]
str w2, [x1, x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
b .L17
.L43:
ldr w0, [sp, 76]
cmp w0, 99
ble .L18
mov w0, 1004
bl BZ2_bz__AssertH__fail
.L18:
ldr w0, [sp, 76]
sub w0, w0, #1
str w0, [sp, 76]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 152
ldr w0, [x1, x0]
str w0, [sp, 112]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 552
ldr w0, [x1, x0]
str w0, [sp, 116]
ldr w1, [sp, 116]
ldr w0, [sp, 112]
sub w0, w1, w0
cmp w0, 9
bgt .L19
ldr w3, [sp, 116]
ldr w2, [sp, 112]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl fallbackSimpleSort
b .L17
.L19:
ldr w1, [sp, 84]
mov w0, 7621
mul w0, w1, w0
add w0, w0, 1
and w0, w0, 32767
str w0, [sp, 84]
ldr w1, [sp, 84]
mov w0, 43691
movk w0, 0xaaaa, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w2, w0, 1
mov w0, w2
lsl w0, w0, 1
add w0, w0, w2
sub w0, w1, w0
str w0, [sp, 120]
ldr w0, [sp, 120]
cmp w0, 0
bne .L20
ldrsw x0, [sp, 112]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
uxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 80]
b .L21
.L20:
ldr w0, [sp, 120]
cmp w0, 1
bne .L22
ldr w1, [sp, 112]
ldr w0, [sp, 116]
add w0, w1, w0
asr w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
uxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 80]
b .L21
.L22:
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
uxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 80]
.L21:
ldr w0, [sp, 112]
str w0, [sp, 68]
ldr w0, [sp, 68]
str w0, [sp, 60]
ldr w0, [sp, 116]
str w0, [sp, 72]
ldr w0, [sp, 72]
str w0, [sp, 64]
.L28:
ldr w1, [sp, 60]
ldr w0, [sp, 64]
cmp w1, w0
bgt .L46
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
uxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 80]
sub w0, w1, w0
str w0, [sp, 124]
ldr w0, [sp, 124]
cmp w0, 0
bne .L25
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 128]
ldrsw x0, [sp, 68]
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 w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 128]
str w1, [x0]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
b .L26
.L25:
ldr w0, [sp, 124]
cmp w0, 0
bgt .L47
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L26:
b .L28
.L46:
nop
b .L34
.L47:
nop
.L34:
ldr w1, [sp, 60]
ldr w0, [sp, 64]
cmp w1, w0
bgt .L48
ldrsw x0, [sp, 64]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
uxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 80]
sub w0, w1, w0
str w0, [sp, 124]
ldr w0, [sp, 124]
cmp w0, 0
bne .L31
ldrsw x0, [sp, 64]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 132]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 64]
lsl x0, x0, 2
ldr x2, [sp, 40]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 132]
str w1, [x0]
ldr w0, [sp, 72]
sub w0, w0, #1
str w0, [sp, 72]
ldr w0, [sp, 64]
sub w0, w0, #1
str w0, [sp, 64]
b .L32
.L31:
ldr w0, [sp, 124]
cmp w0, 0
blt .L49
ldr w0, [sp, 64]
sub w0, w0, #1
str w0, [sp, 64]
.L32:
b .L34
.L48:
nop
b .L30
.L49:
nop
.L30:
ldr w1, [sp, 60]
ldr w0, [sp, 64]
cmp w1, w0
bgt .L50
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 136]
ldrsw x0, [sp, 64]
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 w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 64]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 136]
str w1, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
ldr w0, [sp, 64]
sub w0, w0, #1
str w0, [sp, 64]
b .L28
.L50:
nop
ldr w1, [sp, 72]
ldr w0, [sp, 68]
cmp w1, w0
bge .L37
b .L17
.L37:
ldr w1, [sp, 60]
ldr w0, [sp, 68]
sub w1, w1, w0
ldr w2, [sp, 68]
ldr w0, [sp, 112]
sub w0, w2, w0
cmp w1, w0
csel w0, w1, w0, le
str w0, [sp, 124]
ldr w0, [sp, 112]
str w0, [sp, 88]
ldr w1, [sp, 60]
ldr w0, [sp, 124]
sub w0, w1, w0
str w0, [sp, 92]
ldr w0, [sp, 124]
str w0, [sp, 96]
b .L38
.L39:
ldrsw x0, [sp, 88]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 148]
ldrsw x0, [sp, 92]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 88]
lsl x0, x0, 2
ldr x2, [sp, 40]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 92]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 148]
str w1, [x0]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
ldr w0, [sp, 96]
sub w0, w0, #1
str w0, [sp, 96]
.L38:
ldr w0, [sp, 96]
cmp w0, 0
bgt .L39
ldr w1, [sp, 72]
ldr w0, [sp, 64]
sub w1, w1, w0
ldr w2, [sp, 116]
ldr w0, [sp, 72]
sub w0, w2, w0
cmp w1, w0
csel w0, w1, w0, le
str w0, [sp, 140]
ldr w0, [sp, 60]
str w0, [sp, 100]
ldr w1, [sp, 116]
ldr w0, [sp, 140]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 104]
ldr w0, [sp, 140]
str w0, [sp, 108]
b .L40
.L41:
ldrsw x0, [sp, 100]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 144]
ldrsw x0, [sp, 104]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 100]
lsl x0, x0, 2
ldr x2, [sp, 40]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 104]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 144]
str w1, [x0]
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
ldr w0, [sp, 104]
add w0, w0, 1
str w0, [sp, 104]
ldr w0, [sp, 108]
sub w0, w0, #1
str w0, [sp, 108]
.L40:
ldr w0, [sp, 108]
cmp w0, 0
bgt .L41
ldr w1, [sp, 112]
ldr w0, [sp, 60]
add w1, w1, w0
ldr w0, [sp, 68]
sub w0, w1, w0
sub w0, w0, #1
str w0, [sp, 124]
ldr w1, [sp, 72]
ldr w0, [sp, 64]
sub w0, w1, w0
ldr w1, [sp, 116]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 140]
ldr w1, [sp, 124]
ldr w0, [sp, 112]
sub w1, w1, w0
ldr w2, [sp, 116]
ldr w0, [sp, 140]
sub w0, w2, w0
cmp w1, w0
ble .L42
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 152
ldr w2, [sp, 112]
str w2, [x1, x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 552
ldr w2, [sp, 124]
str w2, [x1, x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 152
ldr w2, [sp, 140]
str w2, [x1, x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 552
ldr w2, [sp, 116]
str w2, [x1, x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
b .L17
.L42:
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 152
ldr w2, [sp, 140]
str w2, [x1, x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 552
ldr w2, [sp, 116]
str w2, [x1, x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 152
ldr w2, [sp, 112]
str w2, [x1, x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 552
ldr w2, [sp, 124]
str w2, [x1, x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L17:
ldr w0, [sp, 76]
cmp w0, 0
bgt .L43
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 952]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L44
bl __stack_chk_fail
.L44:
ldp x29, x30, [sp]
add sp, sp, 960
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size fallbackQSort3, .-fallbackQSort3
.section .rodata
.align 3
.LC0:
.string " bucket sorting ...\n"
.align 3
.LC1:
.string " depth %6d has "
.align 3
.LC2:
.string "%6d unresolved strings\n"
.align 3
.LC3:
.string " reconstructing block ...\n"
.text
.align 2
.type fallbackSort, %function
fallbackSort:
.LFB8:
.cfi_startproc
sub sp, sp, #2160
.cfi_def_cfa_offset 2160
stp x29, x30, [sp]
.cfi_offset 29, -2160
.cfi_offset 30, -2152
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
str w4, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 2152]
mov x1, 0
ldr x0, [sp, 32]
str x0, [sp, 88]
ldr w0, [sp, 16]
cmp w0, 3
ble .L52
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 27
mov x1, 1
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl fwrite
.L52:
str wzr, [sp, 52]
b .L53
.L54:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 1120
str wzr, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L53:
ldr w0, [sp, 52]
cmp w0, 256
ble .L54
str wzr, [sp, 52]
b .L55
.L56:
ldrsw x0, [sp, 52]
ldr x1, [sp, 88]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 1120
ldr w0, [x1, x0]
add w2, w0, 1
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 1120
str w2, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L55:
ldr w1, [sp, 52]
ldr w0, [sp, 20]
cmp w1, w0
blt .L56
str wzr, [sp, 52]
b .L57
.L58:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 1120
ldr w2, [x1, x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 96
str w2, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L57:
ldr w0, [sp, 52]
cmp w0, 255
ble .L58
mov w0, 1
str w0, [sp, 52]
b .L59
.L60:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 1120
ldr w1, [x1, x0]
ldr w0, [sp, 52]
sub w0, w0, #1
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 1120
ldr w0, [x2, x0]
add w2, w1, w0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 1120
str w2, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L59:
ldr w0, [sp, 52]
cmp w0, 256
ble .L60
str wzr, [sp, 52]
b .L61
.L62:
ldrsw x0, [sp, 52]
ldr x1, [sp, 88]
add x0, x1, x0
ldrb w0, [x0]
str w0, [sp, 56]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 1120
ldr w0, [x1, x0]
sub w0, w0, #1
str w0, [sp, 60]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 1120
ldr w2, [sp, 60]
str w2, [x1, x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 52]
str w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L61:
ldr w1, [sp, 52]
ldr w0, [sp, 20]
cmp w1, w0
blt .L62
ldr w0, [sp, 20]
add w1, w0, 31
cmp w0, 0
csel w0, w1, w0, lt
asr w0, w0, 5
add w0, w0, 2
str w0, [sp, 76]
str wzr, [sp, 52]
b .L63
.L64:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
str wzr, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L63:
ldr w1, [sp, 52]
ldr w0, [sp, 76]
cmp w1, w0
blt .L64
str wzr, [sp, 52]
b .L65
.L66:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 1120
ldr w0, [x1, x0]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x2, sp, 1120
ldr w0, [x2, x0]
and w0, w0, 31
mov w2, 1
lsl w0, w2, w0
mov w3, w0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x2, sp, 1120
ldr w0, [x2, x0]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x2, [sp, 24]
add x0, x2, x0
orr w1, w1, w3
str w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L65:
ldr w0, [sp, 52]
cmp w0, 255
ble .L66
str wzr, [sp, 52]
b .L67
.L68:
ldr w0, [sp, 52]
lsl w1, w0, 1
ldr w0, [sp, 20]
add w0, w1, w0
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 52]
lsl w2, w0, 1
ldr w0, [sp, 20]
add w0, w2, w0
and w0, w0, 31
mov w2, 1
lsl w0, w2, w0
mov w3, w0
ldr w0, [sp, 52]
lsl w2, w0, 1
ldr w0, [sp, 20]
add w0, w2, w0
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x2, [sp, 24]
add x0, x2, x0
orr w1, w1, w3
str w1, [x0]
ldr w0, [sp, 52]
lsl w1, w0, 1
ldr w0, [sp, 20]
add w0, w1, w0
add w0, w0, 1
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 52]
lsl w2, w0, 1
ldr w0, [sp, 20]
add w0, w2, w0
add w0, w0, 1
and w0, w0, 31
mov w2, 1
lsl w0, w2, w0
mvn w0, w0
mov w3, w0
ldr w0, [sp, 52]
lsl w2, w0, 1
ldr w0, [sp, 20]
add w0, w2, w0
add w0, w0, 1
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x2, [sp, 24]
add x0, x2, x0
and w1, w1, w3
str w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L67:
ldr w0, [sp, 52]
cmp w0, 31
ble .L68
mov w0, 1
str w0, [sp, 48]
.L100:
ldr w0, [sp, 16]
cmp w0, 3
ble .L69
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr w2, [sp, 48]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x3
bl fprintf
.L69:
str wzr, [sp, 56]
str wzr, [sp, 52]
b .L70
.L73:
ldr w0, [sp, 52]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 52]
and w1, w1, 31
mov w2, 1
lsl w1, w2, w1
and w0, w0, w1
cmp w0, 0
beq .L71
ldr w0, [sp, 52]
str w0, [sp, 56]
.L71:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 48]
sub w0, w1, w0
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L72
ldr w1, [sp, 60]
ldr w0, [sp, 20]
add w0, w1, w0
str w0, [sp, 60]
.L72:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 56]
str w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L70:
ldr w1, [sp, 52]
ldr w0, [sp, 20]
cmp w1, w0
blt .L73
str wzr, [sp, 72]
mov w0, -1
str w0, [sp, 64]
.L97:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 60]
b .L74
.L76:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L74:
ldr w0, [sp, 60]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 60]
and w1, w1, 31
mov w2, 1
lsl w1, w2, w1
and w0, w0, w1
cmp w0, 0
beq .L75
ldr w0, [sp, 60]
and w0, w0, 31
cmp w0, 0
bne .L76
.L75:
ldr w0, [sp, 60]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 60]
and w1, w1, 31
mov w2, 1
lsl w1, w2, w1
and w0, w0, w1
cmp w0, 0
beq .L77
b .L78
.L79:
ldr w0, [sp, 60]
add w0, w0, 32
str w0, [sp, 60]
.L78:
ldr w0, [sp, 60]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
cmn w0, #1
beq .L79
b .L80
.L81:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L80:
ldr w0, [sp, 60]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 60]
and w1, w1, 31
mov w2, 1
lsl w1, w2, w1
and w0, w0, w1
cmp w0, 0
bne .L81
.L77:
ldr w0, [sp, 60]
sub w0, w0, #1
str w0, [sp, 80]
ldr w1, [sp, 80]
ldr w0, [sp, 20]
cmp w1, w0
bge .L108
b .L84
.L86:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L84:
ldr w0, [sp, 60]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 60]
and w1, w1, 31
mov w2, 1
lsl w1, w2, w1
and w0, w0, w1
cmp w0, 0
bne .L85
ldr w0, [sp, 60]
and w0, w0, 31
cmp w0, 0
bne .L86
.L85:
ldr w0, [sp, 60]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 60]
and w1, w1, 31
mov w2, 1
lsl w1, w2, w1
and w0, w0, w1
cmp w0, 0
bne .L87
b .L88
.L89:
ldr w0, [sp, 60]
add w0, w0, 32
str w0, [sp, 60]
.L88:
ldr w0, [sp, 60]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
beq .L89
b .L90
.L91:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L90:
ldr w0, [sp, 60]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 60]
and w1, w1, 31
mov w2, 1
lsl w1, w2, w1
and w0, w0, w1
cmp w0, 0
beq .L91
.L87:
ldr w0, [sp, 60]
sub w0, w0, #1
str w0, [sp, 64]
ldr w1, [sp, 64]
ldr w0, [sp, 20]
cmp w1, w0
bge .L109
ldr w1, [sp, 64]
ldr w0, [sp, 80]
cmp w1, w0
ble .L97
ldr w1, [sp, 64]
ldr w0, [sp, 80]
sub w0, w1, w0
add w0, w0, 1
ldr w1, [sp, 72]
add w0, w1, w0
str w0, [sp, 72]
ldr w3, [sp, 64]
ldr w2, [sp, 80]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl fallbackQSort3
mov w0, -1
str w0, [sp, 68]
ldr w0, [sp, 80]
str w0, [sp, 52]
b .L94
.L96:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
uxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 84]
ldr w1, [sp, 68]
ldr w0, [sp, 84]
cmp w1, w0
beq .L95
ldr w0, [sp, 52]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 52]
and w0, w0, 31
mov w2, 1
lsl w0, w2, w0
mov w3, w0
ldr w0, [sp, 52]
asr w0, w0, 5
sxtw x0, w0
lsl x0, x0, 2
ldr x2, [sp, 24]
add x0, x2, x0
orr w1, w1, w3
str w1, [x0]
ldr w0, [sp, 84]
str w0, [sp, 68]
.L95:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L94:
ldr w1, [sp, 52]
ldr w0, [sp, 64]
cmp w1, w0
ble .L96
b .L97
.L108:
nop
b .L83
.L109:
nop
.L83:
ldr w0, [sp, 16]
cmp w0, 3
ble .L98
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr w2, [sp, 72]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl fprintf
.L98:
ldr w0, [sp, 48]
lsl w0, w0, 1
str w0, [sp, 48]
ldr w1, [sp, 48]
ldr w0, [sp, 20]
cmp w1, w0
bgt .L99
ldr w0, [sp, 72]
cmp w0, 0
beq .L99
b .L100
.L99:
ldr w0, [sp, 16]
cmp w0, 3
ble .L101
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 33
mov x1, 1
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl fwrite
.L101:
str wzr, [sp, 56]
str wzr, [sp, 52]
b .L102
.L104:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L103:
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 96
ldr w0, [x1, x0]
cmp w0, 0
beq .L104
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 96
ldr w0, [x1, x0]
sub w2, w0, #1
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 96
str w2, [x1, x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
uxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
ldr w1, [sp, 56]
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L102:
ldr w1, [sp, 52]
ldr w0, [sp, 20]
cmp w1, w0
blt .L103
ldr w0, [sp, 56]
cmp w0, 255
ble .L110
mov w0, 1005
bl BZ2_bz__AssertH__fail
.L110:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 2152]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L107
bl __stack_chk_fail
.L107:
ldp x29, x30, [sp]
add sp, sp, 2160
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size fallbackSort, .-fallbackSort
.align 2
.type mainGtU, %function
mainGtU:
.LFB9:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
str w0, [sp, 44]
str w1, [sp, 40]
str x2, [sp, 32]
str x3, [sp, 24]
str w4, [sp, 20]
str x5, [sp, 8]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L112
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L112:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L114
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L114:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L115
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L115:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L116
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L116:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L117
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L117:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L118
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L118:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L119
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L119:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L120
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L120:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L121
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L121:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L122
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L122:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L123
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L123:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L124
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L124:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 20]
add w0, w0, 8
str w0, [sp, 60]
.L143:
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L125
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L125:
ldr w0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 56]
ldr w0, [sp, 40]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 58]
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
beq .L126
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L126:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L127
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L127:
ldr w0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 56]
ldr w0, [sp, 40]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 58]
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
beq .L128
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L128:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L129
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L129:
ldr w0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 56]
ldr w0, [sp, 40]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 58]
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
beq .L130
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L130:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L131
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L131:
ldr w0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 56]
ldr w0, [sp, 40]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 58]
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
beq .L132
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L132:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L133
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L133:
ldr w0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 56]
ldr w0, [sp, 40]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 58]
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
beq .L134
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L134:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L135
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L135:
ldr w0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 56]
ldr w0, [sp, 40]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 58]
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
beq .L136
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L136:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L137
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L137:
ldr w0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 56]
ldr w0, [sp, 40]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 58]
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
beq .L138
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L138:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 54]
ldr w0, [sp, 40]
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 55]
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
beq .L139
ldrb w1, [sp, 54]
ldrb w0, [sp, 55]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L139:
ldr w0, [sp, 44]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 56]
ldr w0, [sp, 40]
lsl x0, x0, 1
ldr x1, [sp, 24]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 58]
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
beq .L140
ldrh w1, [sp, 56]
ldrh w0, [sp, 58]
cmp w1, w0
cset w0, hi
and w0, w0, 255
b .L113
.L140:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w1, [sp, 44]
ldr w0, [sp, 20]
cmp w1, w0
bcc .L141
ldr w1, [sp, 44]
ldr w0, [sp, 20]
sub w0, w1, w0
str w0, [sp, 44]
.L141:
ldr w1, [sp, 40]
ldr w0, [sp, 20]
cmp w1, w0
bcc .L142
ldr w1, [sp, 40]
ldr w0, [sp, 20]
sub w0, w1, w0
str w0, [sp, 40]
.L142:
ldr w0, [sp, 60]
sub w0, w0, #8
str w0, [sp, 60]
ldr x0, [sp, 8]
ldr w0, [x0]
sub w1, w0, #1
ldr x0, [sp, 8]
str w1, [x0]
ldr w0, [sp, 60]
cmp w0, 0
bge .L143
mov w0, 0
.L113:
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size mainGtU, .-mainGtU
.data
.align 3
.type incs, %object
.size incs, 56
incs:
.word 1
.word 4
.word 13
.word 40
.word 121
.word 364
.word 1093
.word 3280
.word 9841
.word 29524
.word 88573
.word 265720
.word 797161
.word 2391484
.text
.align 2
.type mainSimpleSort, %function
mainSimpleSort:
.LFB10:
.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 w3, [sp, 36]
str w4, [sp, 32]
str w5, [sp, 28]
str w6, [sp, 24]
str x7, [sp, 16]
ldr w1, [sp, 28]
ldr w0, [sp, 32]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 84]
ldr w0, [sp, 84]
cmp w0, 1
ble .L166
str wzr, [sp, 80]
b .L147
.L148:
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L147:
adrp x0, incs
add x0, x0, :lo12:incs
ldrsw x1, [sp, 80]
ldr w0, [x0, x1, lsl 2]
ldr w1, [sp, 84]
cmp w1, w0
bgt .L148
ldr w0, [sp, 80]
sub w0, w0, #1
str w0, [sp, 80]
b .L149
.L165:
adrp x0, incs
add x0, x0, :lo12:incs
ldrsw x1, [sp, 80]
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 88]
ldr w1, [sp, 32]
ldr w0, [sp, 88]
add w0, w1, w0
str w0, [sp, 72]
.L164:
ldr w1, [sp, 72]
ldr w0, [sp, 28]
cmp w1, w0
bgt .L167
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 92]
ldr w0, [sp, 72]
str w0, [sp, 76]
b .L152
.L154:
ldr w1, [sp, 76]
ldr w0, [sp, 88]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x1, x1, x0
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x2, [sp, 56]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w1, [sp, 76]
ldr w0, [sp, 88]
sub w0, w1, w0
str w0, [sp, 76]
ldr w1, [sp, 32]
ldr w0, [sp, 88]
add w0, w1, w0
ldr w1, [sp, 76]
cmp w1, w0
blt .L168
.L152:
ldr w1, [sp, 76]
ldr w0, [sp, 88]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 24]
add w6, w1, w0
ldr w1, [sp, 24]
ldr w0, [sp, 92]
add w0, w1, w0
ldr w1, [sp, 36]
ldr x5, [sp, 16]
mov w4, w1
ldr x3, [sp, 40]
ldr x2, [sp, 48]
mov w1, w0
mov w0, w6
bl mainGtU
and w0, w0, 255
cmp w0, 0
bne .L154
b .L153
.L168:
nop
.L153:
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 92]
str w1, [x0]
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
ldr w1, [sp, 72]
ldr w0, [sp, 28]
cmp w1, w0
bgt .L169
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 92]
ldr w0, [sp, 72]
str w0, [sp, 76]
b .L156
.L158:
ldr w1, [sp, 76]
ldr w0, [sp, 88]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x1, x1, x0
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x2, [sp, 56]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w1, [sp, 76]
ldr w0, [sp, 88]
sub w0, w1, w0
str w0, [sp, 76]
ldr w1, [sp, 32]
ldr w0, [sp, 88]
add w0, w1, w0
ldr w1, [sp, 76]
cmp w1, w0
blt .L170
.L156:
ldr w1, [sp, 76]
ldr w0, [sp, 88]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 24]
add w6, w1, w0
ldr w1, [sp, 24]
ldr w0, [sp, 92]
add w0, w1, w0
ldr w1, [sp, 36]
ldr x5, [sp, 16]
mov w4, w1
ldr x3, [sp, 40]
ldr x2, [sp, 48]
mov w1, w0
mov w0, w6
bl mainGtU
and w0, w0, 255
cmp w0, 0
bne .L158
b .L157
.L170:
nop
.L157:
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 92]
str w1, [x0]
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
ldr w1, [sp, 72]
ldr w0, [sp, 28]
cmp w1, w0
bgt .L171
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 92]
ldr w0, [sp, 72]
str w0, [sp, 76]
b .L160
.L162:
ldr w1, [sp, 76]
ldr w0, [sp, 88]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x1, x1, x0
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x2, [sp, 56]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w1, [sp, 76]
ldr w0, [sp, 88]
sub w0, w1, w0
str w0, [sp, 76]
ldr w1, [sp, 32]
ldr w0, [sp, 88]
add w0, w1, w0
ldr w1, [sp, 76]
cmp w1, w0
blt .L172
.L160:
ldr w1, [sp, 76]
ldr w0, [sp, 88]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 24]
add w6, w1, w0
ldr w1, [sp, 24]
ldr w0, [sp, 92]
add w0, w1, w0
ldr w1, [sp, 36]
ldr x5, [sp, 16]
mov w4, w1
ldr x3, [sp, 40]
ldr x2, [sp, 48]
mov w1, w0
mov w0, w6
bl mainGtU
and w0, w0, 255
cmp w0, 0
bne .L162
b .L161
.L172:
nop
.L161:
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 92]
str w1, [x0]
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
ldr x0, [sp, 16]
ldr w0, [x0]
cmp w0, 0
blt .L173
b .L164
.L167:
nop
b .L151
.L169:
nop
b .L151
.L171:
nop
.L151:
ldr w0, [sp, 80]
sub w0, w0, #1
str w0, [sp, 80]
.L149:
ldr w0, [sp, 80]
cmp w0, 0
bge .L165
b .L144
.L166:
nop
b .L144
.L173:
nop
.L144:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size mainSimpleSort, .-mainSimpleSort
.align 2
.type mmed3, %function
mmed3:
.LFB11:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
strb w0, [sp, 15]
strb w1, [sp, 14]
strb w2, [sp, 13]
ldrb w1, [sp, 15]
ldrb w0, [sp, 14]
cmp w1, w0
bls .L175
ldrb w0, [sp, 15]
strb w0, [sp, 31]
ldrb w0, [sp, 14]
strb w0, [sp, 15]
ldrb w0, [sp, 31]
strb w0, [sp, 14]
.L175:
ldrb w1, [sp, 14]
ldrb w0, [sp, 13]
cmp w1, w0
bls .L176
ldrb w0, [sp, 13]
strb w0, [sp, 14]
ldrb w1, [sp, 15]
ldrb w0, [sp, 14]
cmp w1, w0
bls .L176
ldrb w0, [sp, 15]
strb w0, [sp, 14]
.L176:
ldrb w0, [sp, 14]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size mmed3, .-mmed3
.align 2
.type mainQSort3, %function
mainQSort3:
.LFB12:
.cfi_startproc
sub sp, sp, #1424
.cfi_def_cfa_offset 1424
stp x29, x30, [sp]
.cfi_offset 29, -1424
.cfi_offset 30, -1416
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, 1416]
mov x1, 0
str wzr, [sp, 84]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 216
ldr w2, [sp, 32]
str w2, [x1, x0]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 616
ldr w2, [sp, 28]
str w2, [x1, x0]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 1016
ldr w2, [sp, 24]
str w2, [x1, x0]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
b .L179
.L207:
ldr w0, [sp, 84]
cmp w0, 99
ble .L180
mov w0, 1001
bl BZ2_bz__AssertH__fail
.L180:
ldr w0, [sp, 84]
sub w0, w0, #1
str w0, [sp, 84]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 216
ldr w0, [x1, x0]
str w0, [sp, 112]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 616
ldr w0, [x1, x0]
str w0, [sp, 116]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 1016
ldr w0, [x1, x0]
str w0, [sp, 120]
ldr w1, [sp, 116]
ldr w0, [sp, 112]
sub w0, w1, w0
cmp w0, 19
ble .L181
ldr w0, [sp, 120]
cmp w0, 14
ble .L182
.L181:
ldr x7, [sp, 16]
ldr w6, [sp, 120]
ldr w5, [sp, 116]
ldr w4, [sp, 112]
ldr w3, [sp, 36]
ldr x2, [sp, 40]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl mainSimpleSort
ldr x0, [sp, 16]
ldr w0, [x0]
cmp w0, 0
blt .L210
b .L179
.L182:
ldrsw x0, [sp, 112]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 120]
add w0, w1, w0
uxtw x0, w0
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w3, [x0]
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 120]
add w0, w1, w0
uxtw x0, w0
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w4, [x0]
ldr w1, [sp, 112]
ldr w0, [sp, 116]
add w0, w1, w0
asr w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 120]
add w0, w1, w0
uxtw x0, w0
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
mov w2, w0
mov w1, w4
mov w0, w3
bl mmed3
and w0, w0, 255
str w0, [sp, 124]
ldr w0, [sp, 112]
str w0, [sp, 76]
ldr w0, [sp, 76]
str w0, [sp, 68]
ldr w0, [sp, 116]
str w0, [sp, 80]
ldr w0, [sp, 80]
str w0, [sp, 72]
.L190:
ldr w1, [sp, 68]
ldr w0, [sp, 72]
cmp w1, w0
bgt .L211
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 120]
add w0, w1, w0
uxtw x0, w0
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 124]
sub w0, w1, w0
str w0, [sp, 128]
ldr w0, [sp, 128]
cmp w0, 0
bne .L187
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 132]
ldrsw x0, [sp, 76]
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 w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 132]
str w1, [x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
b .L188
.L187:
ldr w0, [sp, 128]
cmp w0, 0
bgt .L212
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L188:
b .L190
.L211:
nop
b .L196
.L212:
nop
.L196:
ldr w1, [sp, 68]
ldr w0, [sp, 72]
cmp w1, w0
bgt .L213
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 120]
add w0, w1, w0
uxtw x0, w0
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 124]
sub w0, w1, w0
str w0, [sp, 128]
ldr w0, [sp, 128]
cmp w0, 0
bne .L193
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 136]
ldrsw x0, [sp, 80]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x1, x1, x0
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x2, [sp, 56]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 136]
str w1, [x0]
ldr w0, [sp, 80]
sub w0, w0, #1
str w0, [sp, 80]
ldr w0, [sp, 72]
sub w0, w0, #1
str w0, [sp, 72]
b .L194
.L193:
ldr w0, [sp, 128]
cmp w0, 0
blt .L214
ldr w0, [sp, 72]
sub w0, w0, #1
str w0, [sp, 72]
.L194:
b .L196
.L213:
nop
b .L192
.L214:
nop
.L192:
ldr w1, [sp, 68]
ldr w0, [sp, 72]
cmp w1, w0
bgt .L215
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 140]
ldrsw x0, [sp, 72]
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 w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 140]
str w1, [x0]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
ldr w0, [sp, 72]
sub w0, w0, #1
str w0, [sp, 72]
b .L190
.L215:
nop
ldr w1, [sp, 80]
ldr w0, [sp, 76]
cmp w1, w0
bge .L199
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 216
ldr w2, [sp, 112]
str w2, [x1, x0]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 616
ldr w2, [sp, 116]
str w2, [x1, x0]
ldr w0, [sp, 120]
add w2, w0, 1
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 1016
str w2, [x1, x0]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
b .L179
.L199:
ldr w1, [sp, 68]
ldr w0, [sp, 76]
sub w1, w1, w0
ldr w2, [sp, 76]
ldr w0, [sp, 112]
sub w0, w2, w0
cmp w1, w0
csel w0, w1, w0, le
str w0, [sp, 128]
ldr w0, [sp, 112]
str w0, [sp, 88]
ldr w1, [sp, 68]
ldr w0, [sp, 128]
sub w0, w1, w0
str w0, [sp, 92]
ldr w0, [sp, 128]
str w0, [sp, 96]
b .L200
.L201:
ldrsw x0, [sp, 88]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 164]
ldrsw x0, [sp, 92]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x1, x1, x0
ldrsw x0, [sp, 88]
lsl x0, x0, 2
ldr x2, [sp, 56]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 92]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 164]
str w1, [x0]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
ldr w0, [sp, 96]
sub w0, w0, #1
str w0, [sp, 96]
.L200:
ldr w0, [sp, 96]
cmp w0, 0
bgt .L201
ldr w1, [sp, 80]
ldr w0, [sp, 72]
sub w1, w1, w0
ldr w2, [sp, 116]
ldr w0, [sp, 80]
sub w0, w2, w0
cmp w1, w0
csel w0, w1, w0, le
str w0, [sp, 144]
ldr w0, [sp, 68]
str w0, [sp, 100]
ldr w1, [sp, 116]
ldr w0, [sp, 144]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 104]
ldr w0, [sp, 144]
str w0, [sp, 108]
b .L202
.L203:
ldrsw x0, [sp, 100]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 160]
ldrsw x0, [sp, 104]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x1, x1, x0
ldrsw x0, [sp, 100]
lsl x0, x0, 2
ldr x2, [sp, 56]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 104]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 160]
str w1, [x0]
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
ldr w0, [sp, 104]
add w0, w0, 1
str w0, [sp, 104]
ldr w0, [sp, 108]
sub w0, w0, #1
str w0, [sp, 108]
.L202:
ldr w0, [sp, 108]
cmp w0, 0
bgt .L203
ldr w1, [sp, 112]
ldr w0, [sp, 68]
add w1, w1, w0
ldr w0, [sp, 76]
sub w0, w1, w0
sub w0, w0, #1
str w0, [sp, 128]
ldr w1, [sp, 80]
ldr w0, [sp, 72]
sub w0, w1, w0
ldr w1, [sp, 116]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 144]
ldr w0, [sp, 112]
str w0, [sp, 168]
ldr w0, [sp, 128]
str w0, [sp, 184]
ldr w0, [sp, 120]
str w0, [sp, 200]
ldr w0, [sp, 144]
str w0, [sp, 172]
ldr w0, [sp, 116]
str w0, [sp, 188]
ldr w0, [sp, 120]
str w0, [sp, 204]
ldr w0, [sp, 128]
add w0, w0, 1
str w0, [sp, 176]
ldr w0, [sp, 144]
sub w0, w0, #1
str w0, [sp, 192]
ldr w0, [sp, 120]
add w0, w0, 1
str w0, [sp, 208]
ldr w1, [sp, 184]
ldr w0, [sp, 168]
sub w1, w1, w0
ldr w2, [sp, 188]
ldr w0, [sp, 172]
sub w0, w2, w0
cmp w1, w0
bge .L204
ldr w0, [sp, 168]
str w0, [sp, 148]
ldr w0, [sp, 172]
str w0, [sp, 168]
ldr w0, [sp, 148]
str w0, [sp, 172]
ldr w0, [sp, 184]
str w0, [sp, 148]
ldr w0, [sp, 188]
str w0, [sp, 184]
ldr w0, [sp, 148]
str w0, [sp, 188]
ldr w0, [sp, 200]
str w0, [sp, 148]
ldr w0, [sp, 204]
str w0, [sp, 200]
ldr w0, [sp, 148]
str w0, [sp, 204]
.L204:
ldr w1, [sp, 188]
ldr w0, [sp, 172]
sub w1, w1, w0
ldr w2, [sp, 192]
ldr w0, [sp, 176]
sub w0, w2, w0
cmp w1, w0
bge .L205
ldr w0, [sp, 172]
str w0, [sp, 152]
ldr w0, [sp, 176]
str w0, [sp, 172]
ldr w0, [sp, 152]
str w0, [sp, 176]
ldr w0, [sp, 188]
str w0, [sp, 152]
ldr w0, [sp, 192]
str w0, [sp, 188]
ldr w0, [sp, 152]
str w0, [sp, 192]
ldr w0, [sp, 204]
str w0, [sp, 152]
ldr w0, [sp, 208]
str w0, [sp, 204]
ldr w0, [sp, 152]
str w0, [sp, 208]
.L205:
ldr w1, [sp, 184]
ldr w0, [sp, 168]
sub w1, w1, w0
ldr w2, [sp, 188]
ldr w0, [sp, 172]
sub w0, w2, w0
cmp w1, w0
bge .L206
ldr w0, [sp, 168]
str w0, [sp, 156]
ldr w0, [sp, 172]
str w0, [sp, 168]
ldr w0, [sp, 156]
str w0, [sp, 172]
ldr w0, [sp, 184]
str w0, [sp, 156]
ldr w0, [sp, 188]
str w0, [sp, 184]
ldr w0, [sp, 156]
str w0, [sp, 188]
ldr w0, [sp, 200]
str w0, [sp, 156]
ldr w0, [sp, 204]
str w0, [sp, 200]
ldr w0, [sp, 156]
str w0, [sp, 204]
.L206:
ldr w2, [sp, 168]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 216
str w2, [x1, x0]
ldr w2, [sp, 184]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 616
str w2, [x1, x0]
ldr w2, [sp, 200]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 1016
str w2, [x1, x0]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
ldr w2, [sp, 172]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 216
str w2, [x1, x0]
ldr w2, [sp, 188]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 616
str w2, [x1, x0]
ldr w2, [sp, 204]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 1016
str w2, [x1, x0]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
ldr w2, [sp, 176]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 216
str w2, [x1, x0]
ldr w2, [sp, 192]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 616
str w2, [x1, x0]
ldr w2, [sp, 208]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 1016
str w2, [x1, x0]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L179:
ldr w0, [sp, 84]
cmp w0, 0
bgt .L207
b .L178
.L210:
nop
.L178:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1416]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L208
bl __stack_chk_fail
.L208:
ldp x29, x30, [sp]
add sp, sp, 1424
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size mainQSort3, .-mainQSort3
.section .rodata
.align 3
.LC4:
.string " main sort initialise ...\n"
.align 3
.LC5:
.string " qsort [0x%x, 0x%x] done %d this %d\n"
.align 3
.LC6:
.string " %d pointers, %d sorted, %d scanned\n"
.text
.align 2
.type mainSort, %function
mainSort:
.LFB13:
.cfi_startproc
sub sp, sp, #3472
.cfi_def_cfa_offset 3472
stp x29, x30, [sp]
.cfi_offset 29, -3472
.cfi_offset 30, -3464
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 x6, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 3464]
mov x1, 0
ldr w0, [sp, 24]
cmp w0, 3
ble .L217
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 33
mov x1, 1
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl fwrite
.L217:
mov w0, 65536
str w0, [sp, 80]
b .L218
.L219:
ldrsw x0, [sp, 80]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
str wzr, [x0]
ldr w0, [sp, 80]
sub w0, w0, #1
str w0, [sp, 80]
.L218:
ldr w0, [sp, 80]
cmp w0, 0
bge .L219
ldr x0, [sp, 48]
ldrb w0, [x0]
lsl w0, w0, 8
str w0, [sp, 84]
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 80]
b .L220
.L221:
ldrsw x0, [sp, 80]
lsl x0, x0, 1
ldr x1, [sp, 40]
add x0, x1, x0
strh wzr, [x0]
ldr w0, [sp, 84]
asr w1, w0, 8
ldrsw x0, [sp, 80]
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 84]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
add w1, w1, 1
str w1, [x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 1
sub x0, x0, #2
ldr x1, [sp, 40]
add x0, x1, x0
strh wzr, [x0]
ldr w0, [sp, 84]
asr w1, w0, 8
ldrsw x0, [sp, 80]
sub x0, x0, #1
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 84]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
add w1, w1, 1
str w1, [x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 1
sub x0, x0, #4
ldr x1, [sp, 40]
add x0, x1, x0
strh wzr, [x0]
ldr w0, [sp, 84]
asr w1, w0, 8
ldrsw x0, [sp, 80]
sub x0, x0, #2
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 84]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
add w1, w1, 1
str w1, [x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 1
sub x0, x0, #6
ldr x1, [sp, 40]
add x0, x1, x0
strh wzr, [x0]
ldr w0, [sp, 84]
asr w1, w0, 8
ldrsw x0, [sp, 80]
sub x0, x0, #3
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 84]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
add w1, w1, 1
str w1, [x0]
ldr w0, [sp, 80]
sub w0, w0, #4
str w0, [sp, 80]
.L220:
ldr w0, [sp, 80]
cmp w0, 2
bgt .L221
b .L222
.L223:
ldrsw x0, [sp, 80]
lsl x0, x0, 1
ldr x1, [sp, 40]
add x0, x1, x0
strh wzr, [x0]
ldr w0, [sp, 84]
asr w1, w0, 8
ldrsw x0, [sp, 80]
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 84]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
add w1, w1, 1
str w1, [x0]
ldr w0, [sp, 80]
sub w0, w0, #1
str w0, [sp, 80]
.L222:
ldr w0, [sp, 80]
cmp w0, 0
bge .L223
str wzr, [sp, 80]
b .L224
.L225:
ldrsw x0, [sp, 80]
ldr x1, [sp, 48]
add x1, x1, x0
ldr w2, [sp, 28]
ldr w0, [sp, 80]
add w0, w2, w0
sxtw x0, w0
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w1, [x1]
strb w1, [x0]
ldr w1, [sp, 28]
ldr w0, [sp, 80]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 1
ldr x1, [sp, 40]
add x0, x1, x0
strh wzr, [x0]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L224:
ldr w0, [sp, 80]
cmp w0, 33
ble .L225
ldr w0, [sp, 24]
cmp w0, 3
ble .L226
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 27
mov x1, 1
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl fwrite
.L226:
mov w0, 1
str w0, [sp, 80]
b .L227
.L228:
ldrsw x0, [sp, 80]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w2, [x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 2
ldr x3, [sp, 32]
add x0, x3, x0
add w1, w2, w1
str w1, [x0]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L227:
ldr w0, [sp, 80]
cmp w0, 65536
ble .L228
ldr x0, [sp, 48]
ldrb w0, [x0]
and w0, w0, 65535
ubfiz w0, w0, 8, 8
strh w0, [sp, 76]
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 80]
b .L229
.L230:
ldrh w0, [sp, 76]
lsr w0, w0, 8
and w0, w0, 65535
sxth w1, w0
ldrsw x0, [sp, 80]
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 8
sxth w0, w0
orr w0, w1, w0
sxth w0, w0
strh w0, [sp, 76]
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
sub w0, w0, #1
str w0, [sp, 84]
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 84]
str w1, [x0]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 80]
str w1, [x0]
ldrh w0, [sp, 76]
lsr w0, w0, 8
and w0, w0, 65535
sxth w1, w0
ldrsw x0, [sp, 80]
sub x0, x0, #1
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 8
sxth w0, w0
orr w0, w1, w0
sxth w0, w0
strh w0, [sp, 76]
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
sub w0, w0, #1
str w0, [sp, 84]
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 84]
str w1, [x0]
ldr w0, [sp, 80]
sub w2, w0, #1
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
mov w1, w2
str w1, [x0]
ldrh w0, [sp, 76]
lsr w0, w0, 8
and w0, w0, 65535
sxth w1, w0
ldrsw x0, [sp, 80]
sub x0, x0, #2
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 8
sxth w0, w0
orr w0, w1, w0
sxth w0, w0
strh w0, [sp, 76]
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
sub w0, w0, #1
str w0, [sp, 84]
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 84]
str w1, [x0]
ldr w0, [sp, 80]
sub w2, w0, #2
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
mov w1, w2
str w1, [x0]
ldrh w0, [sp, 76]
lsr w0, w0, 8
and w0, w0, 65535
sxth w1, w0
ldrsw x0, [sp, 80]
sub x0, x0, #3
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 8
sxth w0, w0
orr w0, w1, w0
sxth w0, w0
strh w0, [sp, 76]
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
sub w0, w0, #1
str w0, [sp, 84]
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 84]
str w1, [x0]
ldr w0, [sp, 80]
sub w2, w0, #3
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
mov w1, w2
str w1, [x0]
ldr w0, [sp, 80]
sub w0, w0, #4
str w0, [sp, 80]
.L229:
ldr w0, [sp, 80]
cmp w0, 2
bgt .L230
b .L231
.L232:
ldrh w0, [sp, 76]
lsr w0, w0, 8
and w0, w0, 65535
sxth w1, w0
ldrsw x0, [sp, 80]
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 8
sxth w0, w0
orr w0, w1, w0
sxth w0, w0
strh w0, [sp, 76]
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
sub w0, w0, #1
str w0, [sp, 84]
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [sp, 84]
str w1, [x0]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 80]
str w1, [x0]
ldr w0, [sp, 80]
sub w0, w0, #1
str w0, [sp, 80]
.L231:
ldr w0, [sp, 80]
cmp w0, 0
bge .L232
str wzr, [sp, 80]
b .L233
.L234:
ldrsw x0, [sp, 80]
add x1, sp, 3208
strb wzr, [x1, x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 2
add x1, sp, 136
ldr w2, [sp, 80]
str w2, [x1, x0]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L233:
ldr w0, [sp, 80]
cmp w0, 255
ble .L234
mov w0, 1
str w0, [sp, 96]
.L235:
ldr w1, [sp, 96]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w0, w0, 1
str w0, [sp, 96]
ldr w0, [sp, 96]
cmp w0, 256
ble .L235
.L241:
ldr w0, [sp, 96]
mov w1, 21846
movk w1, 0x5555, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w0, w0, 31
sub w0, w1, w0
str w0, [sp, 96]
ldr w0, [sp, 96]
str w0, [sp, 80]
b .L236
.L240:
ldrsw x0, [sp, 80]
lsl x0, x0, 2
add x1, sp, 136
ldr w0, [x1, x0]
str w0, [sp, 132]
ldr w0, [sp, 80]
str w0, [sp, 84]
b .L237
.L239:
ldr w1, [sp, 84]
ldr w0, [sp, 96]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 136
ldr w2, [x1, x0]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 136
str w2, [x1, x0]
ldr w1, [sp, 84]
ldr w0, [sp, 96]
sub w0, w1, w0
str w0, [sp, 84]
ldr w1, [sp, 96]
ldr w0, [sp, 84]
cmp w1, w0
bgt .L273
.L237:
ldr w1, [sp, 84]
ldr w0, [sp, 96]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 136
ldr w0, [x1, x0]
add w0, w0, 1
lsl w0, w0, 8
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
ldr w2, [sp, 84]
ldr w0, [sp, 96]
sub w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 136
ldr w0, [x2, x0]
lsl w0, w0, 8
sxtw x0, w0
lsl x0, x0, 2
ldr x2, [sp, 32]
add x0, x2, x0
ldr w0, [x0]
sub w1, w1, w0
ldr w0, [sp, 132]
add w0, w0, 1
lsl w0, w0, 8
sxtw x0, w0
lsl x0, x0, 2
ldr x2, [sp, 32]
add x0, x2, x0
ldr w2, [x0]
ldr w0, [sp, 132]
lsl w0, w0, 8
sxtw x0, w0
lsl x0, x0, 2
ldr x3, [sp, 32]
add x0, x3, x0
ldr w0, [x0]
sub w0, w2, w0
cmp w1, w0
bhi .L239
b .L238
.L273:
nop
.L238:
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 136
ldr w2, [sp, 132]
str w2, [x1, x0]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L236:
ldr w0, [sp, 80]
cmp w0, 255
ble .L240
ldr w0, [sp, 96]
cmp w0, 1
bne .L241
str wzr, [sp, 92]
str wzr, [sp, 80]
b .L242
.L270:
ldrsw x0, [sp, 80]
lsl x0, x0, 2
add x1, sp, 136
ldr w0, [x1, x0]
str w0, [sp, 104]
str wzr, [sp, 84]
b .L243
.L248:
ldr w1, [sp, 84]
ldr w0, [sp, 104]
cmp w1, w0
beq .L244
ldr w0, [sp, 104]
lsl w0, w0, 8
ldr w1, [sp, 84]
add w0, w1, w0
str w0, [sp, 120]
ldrsw x0, [sp, 120]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
and w0, w0, 2097152
cmp w0, 0
bne .L245
ldrsw x0, [sp, 120]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
and w0, w0, -2097153
str w0, [sp, 124]
ldrsw x0, [sp, 120]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
and w0, w0, -2097153
sub w0, w0, #1
str w0, [sp, 128]
ldr w1, [sp, 128]
ldr w0, [sp, 124]
cmp w1, w0
ble .L245
ldr w0, [sp, 24]
cmp w0, 3
ble .L246
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x6, [x0]
ldr w1, [sp, 128]
ldr w0, [sp, 124]
sub w0, w1, w0
add w0, w0, 1
mov w5, w0
ldr w4, [sp, 92]
ldr w3, [sp, 84]
ldr w2, [sp, 104]
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov x0, x6
bl fprintf
.L246:
ldr x7, [sp, 16]
mov w6, 2
ldr w5, [sp, 128]
ldr w4, [sp, 124]
ldr w3, [sp, 28]
ldr x2, [sp, 40]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl mainQSort3
ldr w1, [sp, 128]
ldr w0, [sp, 124]
sub w0, w1, w0
add w0, w0, 1
ldr w1, [sp, 92]
add w0, w1, w0
str w0, [sp, 92]
ldr x0, [sp, 16]
ldr w0, [x0]
cmp w0, 0
blt .L274
.L245:
ldrsw x0, [sp, 120]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 120]
lsl x0, x0, 2
ldr x2, [sp, 32]
add x0, x2, x0
orr w1, w1, 2097152
str w1, [x0]
.L244:
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L243:
ldr w0, [sp, 84]
cmp w0, 255
ble .L248
ldrsw x0, [sp, 104]
add x1, sp, 3208
ldrb w0, [x1, x0]
cmp w0, 0
beq .L249
mov w0, 1006
bl BZ2_bz__AssertH__fail
.L249:
str wzr, [sp, 84]
b .L250
.L251:
ldr w0, [sp, 84]
lsl w1, w0, 8
ldr w0, [sp, 104]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
and w2, w0, -2097153
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 1160
str w2, [x1, x0]
ldr w0, [sp, 84]
lsl w1, w0, 8
ldr w0, [sp, 104]
add w0, w1, w0
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
and w0, w0, -2097153
sub w0, w0, #1
mov w2, w0
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 2184
str w2, [x1, x0]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L250:
ldr w0, [sp, 84]
cmp w0, 255
ble .L251
ldr w0, [sp, 104]
lsl w0, w0, 8
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
and w0, w0, -2097153
str w0, [sp, 84]
b .L252
.L255:
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
sub w0, w0, #1
str w0, [sp, 88]
ldr w0, [sp, 88]
cmp w0, 0
bge .L253
ldr w1, [sp, 88]
ldr w0, [sp, 28]
add w0, w1, w0
str w0, [sp, 88]
.L253:
ldrsw x0, [sp, 88]
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 75]
ldrb w0, [sp, 75]
sxtw x0, w0
add x1, sp, 3208
ldrb w0, [x1, x0]
cmp w0, 0
bne .L254
ldrb w2, [sp, 75]
sxtw x0, w2
lsl x0, x0, 2
add x1, sp, 1160
ldr w0, [x1, x0]
add w3, w0, 1
sxtw x1, w2
lsl x1, x1, 2
add x2, sp, 1160
str w3, [x2, x1]
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 88]
str w1, [x0]
.L254:
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L252:
ldrsw x0, [sp, 104]
lsl x0, x0, 2
add x1, sp, 1160
ldr w0, [x1, x0]
ldr w1, [sp, 84]
cmp w1, w0
blt .L255
ldr w0, [sp, 104]
add w0, w0, 1
lsl w0, w0, 8
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
and w0, w0, -2097153
sub w0, w0, #1
str w0, [sp, 84]
b .L256
.L259:
ldrsw x0, [sp, 84]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
sub w0, w0, #1
str w0, [sp, 88]
ldr w0, [sp, 88]
cmp w0, 0
bge .L257
ldr w1, [sp, 88]
ldr w0, [sp, 28]
add w0, w1, w0
str w0, [sp, 88]
.L257:
ldrsw x0, [sp, 88]
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 75]
ldrb w0, [sp, 75]
sxtw x0, w0
add x1, sp, 3208
ldrb w0, [x1, x0]
cmp w0, 0
bne .L258
ldrb w2, [sp, 75]
sxtw x0, w2
lsl x0, x0, 2
add x1, sp, 2184
ldr w0, [x1, x0]
sub w3, w0, #1
sxtw x1, w2
lsl x1, x1, 2
add x2, sp, 2184
str w3, [x2, x1]
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [sp, 88]
str w1, [x0]
.L258:
ldr w0, [sp, 84]
sub w0, w0, #1
str w0, [sp, 84]
.L256:
ldrsw x0, [sp, 104]
lsl x0, x0, 2
add x1, sp, 2184
ldr w0, [x1, x0]
ldr w1, [sp, 84]
cmp w1, w0
bgt .L259
ldrsw x0, [sp, 104]
lsl x0, x0, 2
add x1, sp, 1160
ldr w0, [x1, x0]
sub w1, w0, #1
ldrsw x0, [sp, 104]
lsl x0, x0, 2
add x2, sp, 2184
ldr w0, [x2, x0]
cmp w1, w0
beq .L260
ldrsw x0, [sp, 104]
lsl x0, x0, 2
add x1, sp, 1160
ldr w0, [x1, x0]
cmp w0, 0
bne .L261
ldrsw x0, [sp, 104]
lsl x0, x0, 2
add x1, sp, 2184
ldr w1, [x1, x0]
ldr w0, [sp, 28]
sub w0, w0, #1
cmp w1, w0
beq .L260
.L261:
mov w0, 1007
bl BZ2_bz__AssertH__fail
.L260:
str wzr, [sp, 84]
b .L262
.L263:
ldr w0, [sp, 84]
lsl w1, w0, 8
ldr w0, [sp, 104]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 84]
lsl w2, w0, 8
ldr w0, [sp, 104]
add w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x2, [sp, 32]
add x0, x2, x0
orr w1, w1, 2097152
str w1, [x0]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L262:
ldr w0, [sp, 84]
cmp w0, 255
ble .L263
ldrsw x0, [sp, 104]
add x1, sp, 3208
mov w2, 1
strb w2, [x1, x0]
ldr w0, [sp, 80]
cmp w0, 254
bgt .L264
ldr w0, [sp, 104]
lsl w0, w0, 8
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
and w0, w0, -2097153
str w0, [sp, 108]
ldr w0, [sp, 104]
add w0, w0, 1
lsl w0, w0, 8
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
and w1, w0, -2097153
ldr w0, [sp, 108]
sub w0, w1, w0
str w0, [sp, 112]
str wzr, [sp, 100]
b .L265
.L266:
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
.L265:
ldr w0, [sp, 100]
ldr w1, [sp, 112]
asr w1, w1, w0
mov w0, 65534
cmp w1, w0
bgt .L266
ldr w0, [sp, 112]
sub w0, w0, #1
str w0, [sp, 84]
b .L267
.L269:
ldr w1, [sp, 108]
ldr w0, [sp, 84]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 116]
ldr w0, [sp, 100]
ldr w1, [sp, 84]
asr w0, w1, w0
strh w0, [sp, 78]
ldrsw x0, [sp, 116]
lsl x0, x0, 1
ldr x1, [sp, 40]
add x0, x1, x0
ldrh w1, [sp, 78]
strh w1, [x0]
ldr w0, [sp, 116]
cmp w0, 33
bgt .L268
ldr w1, [sp, 116]
ldr w0, [sp, 28]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 1
ldr x1, [sp, 40]
add x0, x1, x0
ldrh w1, [sp, 78]
strh w1, [x0]
.L268:
ldr w0, [sp, 84]
sub w0, w0, #1
str w0, [sp, 84]
.L267:
ldr w0, [sp, 84]
cmp w0, 0
bge .L269
ldr w0, [sp, 112]
sub w1, w0, #1
ldr w0, [sp, 100]
asr w1, w1, w0
mov w0, 65535
cmp w1, w0
ble .L264
mov w0, 1002
bl BZ2_bz__AssertH__fail
.L264:
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L242:
ldr w0, [sp, 80]
cmp w0, 255
ble .L270
ldr w0, [sp, 24]
cmp w0, 3
ble .L216
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x5, [x0]
ldr w1, [sp, 28]
ldr w0, [sp, 92]
sub w0, w1, w0
mov w4, w0
ldr w3, [sp, 92]
ldr w2, [sp, 28]
adrp x0, .LC6
add x1, x0, :lo12:.LC6
mov x0, x5
bl fprintf
b .L216
.L274:
nop
.L216:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 3464]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L272
bl __stack_chk_fail
.L272:
ldp x29, x30, [sp]
add sp, sp, 3472
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size mainSort, .-mainSort
.section .rodata
.align 3
.LC7:
.string " %d work, %d block, ratio %5.2f\n"
.align 3
.LC8:
.string " too repetitive; using fallback sorting algorithm\n"
.text
.align 2
.global BZ2_blockSort
.type BZ2_blockSort, %function
BZ2_blockSort:
.LFB14:
.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]
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, 24]
ldr x0, [x0, 56]
str x0, [sp, 56]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
str x0, [sp, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 40]
str x0, [sp, 72]
ldr x0, [sp, 24]
ldr w0, [x0, 108]
str w0, [sp, 44]
ldr x0, [sp, 24]
ldr w0, [x0, 656]
str w0, [sp, 48]
ldr x0, [sp, 24]
ldr w0, [x0, 88]
str w0, [sp, 36]
ldr w1, [sp, 44]
mov w0, 9999
cmp w1, w0
bgt .L276
ldr x0, [sp, 24]
ldr x5, [x0, 24]
ldr x0, [sp, 24]
ldr x0, [x0, 32]
ldr w4, [sp, 48]
ldr w3, [sp, 44]
ldr x2, [sp, 72]
mov x1, x0
mov x0, x5
bl fallbackSort
b .L277
.L276:
ldr w0, [sp, 44]
add w0, w0, 34
str w0, [sp, 40]
ldr w0, [sp, 40]
and w0, w0, 1
cmp w0, 0
beq .L278
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L278:
ldrsw x0, [sp, 40]
ldr x1, [sp, 64]
add x0, x1, x0
str x0, [sp, 80]
ldr w0, [sp, 36]
cmp w0, 0
bgt .L279
mov w0, 1
str w0, [sp, 36]
.L279:
ldr w0, [sp, 36]
cmp w0, 100
ble .L280
mov w0, 100
str w0, [sp, 36]
.L280:
ldr w0, [sp, 36]
sub w0, w0, #1
mov w1, 21846
movk w1, 0x5555, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w0, w0, 31
sub w0, w1, w0
ldr w1, [sp, 44]
mul w0, w1, w0
str w0, [sp, 52]
ldr w0, [sp, 52]
str w0, [sp, 32]
add x0, sp, 32
mov x6, x0
ldr w5, [sp, 48]
ldr w4, [sp, 44]
ldr x3, [sp, 72]
ldr x2, [sp, 80]
ldr x1, [sp, 64]
ldr x0, [sp, 56]
bl mainSort
ldr w0, [sp, 48]
cmp w0, 2
ble .L281
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldr w0, [sp, 32]
ldr w1, [sp, 52]
sub w2, w1, w0
ldr w0, [sp, 32]
ldr w1, [sp, 52]
sub w0, w1, w0
scvtf s1, w0
ldr w0, [sp, 44]
cmp w0, 0
beq .L282
ldr s0, [sp, 44]
scvtf s0, s0
b .L283
.L282:
fmov s0, 1.0e+0
.L283:
fdiv s0, s1, s0
fcvt d0, s0
ldr w3, [sp, 44]
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, x4
bl fprintf
.L281:
ldr w0, [sp, 32]
cmp w0, 0
bge .L277
ldr w0, [sp, 48]
cmp w0, 1
ble .L284
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 53
mov x1, 1
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl fwrite
.L284:
ldr x0, [sp, 24]
ldr x5, [x0, 24]
ldr x0, [sp, 24]
ldr x0, [x0, 32]
ldr w4, [sp, 48]
ldr w3, [sp, 44]
ldr x2, [sp, 72]
mov x1, x0
mov x0, x5
bl fallbackSort
.L277:
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0, 48]
str wzr, [sp, 40]
b .L285
.L288:
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
bne .L286
ldr x0, [sp, 24]
ldr w1, [sp, 40]
str w1, [x0, 48]
b .L287
.L286:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L285:
ldr x0, [sp, 24]
ldr w0, [x0, 108]
ldr w1, [sp, 40]
cmp w1, w0
blt .L288
.L287:
ldr x0, [sp, 24]
ldr w0, [x0, 48]
cmn w0, #1
bne .L291
mov w0, 1003
bl BZ2_bz__AssertH__fail
.L291:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 88]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L290
bl __stack_chk_fail
.L290:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size BZ2_blockSort, .-BZ2_blockSort
.align 2
.global BZ2_hbMakeCodeLengths
.type BZ2_hbMakeCodeLengths, %function
BZ2_hbMakeCodeLengths:
.LFB15:
.cfi_startproc
mov x12, 5296
sub sp, sp, x12
.cfi_def_cfa_offset 5296
stp x29, x30, [sp]
.cfi_offset 29, -5296
.cfi_offset 30, -5288
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
str w3, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 5288]
mov x1, 0
str wzr, [sp, 60]
b .L293
.L296:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
beq .L294
ldrsw x0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w0, [x0]
lsl w0, w0, 8
b .L295
.L294:
mov w0, 256
.L295:
ldr w1, [sp, 60]
add w1, w1, 1
sxtw x1, w1
lsl x1, x1, 2
add x2, sp, 1160
str w0, [x2, x1]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L293:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
blt .L296
.L326:
ldr w0, [sp, 28]
str w0, [sp, 52]
str wzr, [sp, 56]
str wzr, [sp, 120]
str wzr, [sp, 1160]
mov w0, -2
str w0, [sp, 3224]
mov w0, 1
str w0, [sp, 60]
b .L297
.L300:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 3224
mov w2, -1
str w2, [x1, x0]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 120
ldr w2, [sp, 60]
str w2, [x1, x0]
ldr w0, [sp, 56]
str w0, [sp, 72]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
add x1, sp, 120
ldr w0, [x1, x0]
str w0, [sp, 116]
b .L298
.L299:
ldr w0, [sp, 72]
asr w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 120
ldr w2, [x1, x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 2
add x1, sp, 120
str w2, [x1, x0]
ldr w0, [sp, 72]
asr w0, w0, 1
str w0, [sp, 72]
.L298:
ldrsw x0, [sp, 116]
lsl x0, x0, 2
add x1, sp, 1160
ldr w1, [x1, x0]
ldr w0, [sp, 72]
asr w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 120
ldr w0, [x2, x0]
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 1160
ldr w0, [x2, x0]
cmp w1, w0
blt .L299
ldrsw x0, [sp, 72]
lsl x0, x0, 2
add x1, sp, 120
ldr w2, [sp, 116]
str w2, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L297:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
ble .L300
ldr w0, [sp, 56]
cmp w0, 259
ble .L302
mov w0, 2001
bl BZ2_bz__AssertH__fail
b .L302
.L315:
ldr w0, [sp, 124]
str w0, [sp, 96]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 120
ldr w0, [x1, x0]
str w0, [sp, 124]
ldr w0, [sp, 56]
sub w0, w0, #1
str w0, [sp, 56]
mov w0, 1
str w0, [sp, 76]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 120
ldr w0, [x1, x0]
str w0, [sp, 100]
.L307:
ldr w0, [sp, 76]
lsl w0, w0, 1
str w0, [sp, 80]
ldr w1, [sp, 80]
ldr w0, [sp, 56]
cmp w1, w0
bgt .L304
ldr w1, [sp, 80]
ldr w0, [sp, 56]
cmp w1, w0
bge .L305
ldr w0, [sp, 80]
add w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 120
ldr w0, [x1, x0]
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 1160
ldr w1, [x1, x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 2
add x2, sp, 120
ldr w0, [x2, x0]
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 1160
ldr w0, [x2, x0]
cmp w1, w0
bge .L305
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L305:
ldrsw x0, [sp, 100]
lsl x0, x0, 2
add x1, sp, 1160
ldr w1, [x1, x0]
ldrsw x0, [sp, 80]
lsl x0, x0, 2
add x2, sp, 120
ldr w0, [x2, x0]
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 1160
ldr w0, [x2, x0]
cmp w1, w0
blt .L304
ldrsw x0, [sp, 80]
lsl x0, x0, 2
add x1, sp, 120
ldr w2, [x1, x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 120
str w2, [x1, x0]
ldr w0, [sp, 80]
str w0, [sp, 76]
b .L307
.L304:
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 120
ldr w2, [sp, 100]
str w2, [x1, x0]
ldr w0, [sp, 124]
str w0, [sp, 104]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 120
ldr w0, [x1, x0]
str w0, [sp, 124]
ldr w0, [sp, 56]
sub w0, w0, #1
str w0, [sp, 56]
mov w0, 1
str w0, [sp, 84]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 120
ldr w0, [x1, x0]
str w0, [sp, 108]
.L312:
ldr w0, [sp, 84]
lsl w0, w0, 1
str w0, [sp, 88]
ldr w1, [sp, 88]
ldr w0, [sp, 56]
cmp w1, w0
bgt .L309
ldr w1, [sp, 88]
ldr w0, [sp, 56]
cmp w1, w0
bge .L310
ldr w0, [sp, 88]
add w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 120
ldr w0, [x1, x0]
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 1160
ldr w1, [x1, x0]
ldrsw x0, [sp, 88]
lsl x0, x0, 2
add x2, sp, 120
ldr w0, [x2, x0]
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 1160
ldr w0, [x2, x0]
cmp w1, w0
bge .L310
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L310:
ldrsw x0, [sp, 108]
lsl x0, x0, 2
add x1, sp, 1160
ldr w1, [x1, x0]
ldrsw x0, [sp, 88]
lsl x0, x0, 2
add x2, sp, 120
ldr w0, [x2, x0]
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 1160
ldr w0, [x2, x0]
cmp w1, w0
blt .L309
ldrsw x0, [sp, 88]
lsl x0, x0, 2
add x1, sp, 120
ldr w2, [x1, x0]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 120
str w2, [x1, x0]
ldr w0, [sp, 88]
str w0, [sp, 84]
b .L312
.L309:
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 120
ldr w2, [sp, 108]
str w2, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
ldrsw x0, [sp, 104]
lsl x0, x0, 2
add x1, sp, 3224
ldr w2, [sp, 52]
str w2, [x1, x0]
ldrsw x0, [sp, 104]
lsl x0, x0, 2
add x1, sp, 3224
ldr w2, [x1, x0]
ldrsw x0, [sp, 96]
lsl x0, x0, 2
add x1, sp, 3224
str w2, [x1, x0]
ldrsw x0, [sp, 96]
lsl x0, x0, 2
add x1, sp, 1160
ldr w0, [x1, x0]
and w1, w0, -256
ldrsw x0, [sp, 104]
lsl x0, x0, 2
add x2, sp, 1160
ldr w0, [x2, x0]
and w0, w0, -256
add w2, w1, w0
ldrsw x0, [sp, 104]
lsl x0, x0, 2
add x1, sp, 1160
ldr w0, [x1, x0]
and w1, w0, 255
ldrsw x0, [sp, 96]
lsl x0, x0, 2
add x3, sp, 1160
ldr w0, [x3, x0]
and w0, w0, 255
cmp w1, w0
csel w0, w1, w0, ge
add w0, w0, 1
orr w0, w2, w0
mov w2, w0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 1160
str w2, [x1, x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 3224
mov w2, -1
str w2, [x1, x0]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 120
ldr w2, [sp, 52]
str w2, [x1, x0]
ldr w0, [sp, 56]
str w0, [sp, 92]
ldrsw x0, [sp, 92]
lsl x0, x0, 2
add x1, sp, 120
ldr w0, [x1, x0]
str w0, [sp, 112]
b .L313
.L314:
ldr w0, [sp, 92]
asr w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 120
ldr w2, [x1, x0]
ldrsw x0, [sp, 92]
lsl x0, x0, 2
add x1, sp, 120
str w2, [x1, x0]
ldr w0, [sp, 92]
asr w0, w0, 1
str w0, [sp, 92]
.L313:
ldrsw x0, [sp, 112]
lsl x0, x0, 2
add x1, sp, 1160
ldr w1, [x1, x0]
ldr w0, [sp, 92]
asr w0, w0, 1
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 120
ldr w0, [x2, x0]
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 1160
ldr w0, [x2, x0]
cmp w1, w0
blt .L314
ldrsw x0, [sp, 92]
lsl x0, x0, 2
add x1, sp, 120
ldr w2, [sp, 112]
str w2, [x1, x0]
.L302:
ldr w0, [sp, 56]
cmp w0, 1
bgt .L315
ldr w0, [sp, 52]
cmp w0, 515
ble .L316
mov w0, 2002
bl BZ2_bz__AssertH__fail
.L316:
strb wzr, [sp, 51]
mov w0, 1
str w0, [sp, 60]
b .L317
.L321:
str wzr, [sp, 64]
ldr w0, [sp, 60]
str w0, [sp, 68]
b .L318
.L319:
ldrsw x0, [sp, 68]
lsl x0, x0, 2
add x1, sp, 3224
ldr w0, [x1, x0]
str w0, [sp, 68]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L318:
ldrsw x0, [sp, 68]
lsl x0, x0, 2
add x1, sp, 3224
ldr w0, [x1, x0]
cmp w0, 0
bge .L319
ldrsw x0, [sp, 60]
sub x0, x0, #1
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 64]
and w1, w1, 255
strb w1, [x0]
ldr w1, [sp, 64]
ldr w0, [sp, 24]
cmp w1, w0
ble .L320
mov w0, 1
strb w0, [sp, 51]
.L320:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L317:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
ble .L321
ldrb w0, [sp, 51]
cmp w0, 0
beq .L329
mov w0, 1
str w0, [sp, 60]
b .L324
.L325:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 1160
ldr w0, [x1, x0]
asr w0, w0, 8
str w0, [sp, 64]
ldr w0, [sp, 64]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
add w0, w0, 1
str w0, [sp, 64]
ldr w0, [sp, 64]
lsl w2, w0, 8
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 1160
str w2, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L324:
ldr w1, [sp, 60]
ldr w0, [sp, 28]
cmp w1, w0
blt .L325
b .L326
.L329:
nop
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 5288]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L327
bl __stack_chk_fail
.L327:
ldp x29, x30, [sp]
mov x12, 5296
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size BZ2_hbMakeCodeLengths, .-BZ2_hbMakeCodeLengths
.align 2
.global BZ2_hbAssignCodes
.type BZ2_hbAssignCodes, %function
BZ2_hbAssignCodes:
.LFB16:
.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 w4, [sp, 4]
str wzr, [sp, 40]
ldr w0, [sp, 12]
str w0, [sp, 36]
b .L331
.L335:
str wzr, [sp, 44]
b .L332
.L334:
ldrsw x0, [sp, 44]
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bne .L333
ldrsw x0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [sp, 40]
str w1, [x0]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L333:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L332:
ldr w1, [sp, 44]
ldr w0, [sp, 4]
cmp w1, w0
blt .L334
ldr w0, [sp, 40]
lsl w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L331:
ldr w1, [sp, 36]
ldr w0, [sp, 8]
cmp w1, w0
ble .L335
nop
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size BZ2_hbAssignCodes, .-BZ2_hbAssignCodes
.align 2
.global BZ2_hbCreateDecodeTables
.type BZ2_hbCreateDecodeTables, %function
BZ2_hbCreateDecodeTables:
.LFB17:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
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 w6, [sp, 4]
str wzr, [sp, 48]
ldr w0, [sp, 12]
str w0, [sp, 52]
b .L337
.L341:
str wzr, [sp, 56]
b .L338
.L340:
ldrsw x0, [sp, 56]
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 52]
cmp w0, w1
bne .L339
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [sp, 56]
str w1, [x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L339:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L338:
ldr w1, [sp, 56]
ldr w0, [sp, 4]
cmp w1, w0
blt .L340
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L337:
ldr w1, [sp, 52]
ldr w0, [sp, 8]
cmp w1, w0
ble .L341
str wzr, [sp, 52]
b .L342
.L343:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
str wzr, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L342:
ldr w0, [sp, 52]
cmp w0, 22
ble .L343
str wzr, [sp, 52]
b .L344
.L345:
ldrsw x0, [sp, 52]
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w0, [x0]
and x0, x0, 255
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
add w1, w1, 1
str w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L344:
ldr w1, [sp, 52]
ldr w0, [sp, 4]
cmp w1, w0
blt .L345
mov w0, 1
str w0, [sp, 52]
b .L346
.L347:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w2, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x3, [sp, 32]
add x0, x3, x0
add w1, w2, w1
str w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L346:
ldr w0, [sp, 52]
cmp w0, 22
ble .L347
str wzr, [sp, 52]
b .L348
.L349:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
str wzr, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L348:
ldr w0, [sp, 52]
cmp w0, 22
ble .L349
str wzr, [sp, 60]
ldr w0, [sp, 12]
str w0, [sp, 52]
b .L350
.L351:
ldrsw x0, [sp, 52]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x2, [sp, 32]
add x0, x2, x0
ldr w0, [x0]
sub w0, w1, w0
ldr w1, [sp, 60]
add w0, w1, w0
str w0, [sp, 60]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 60]
sub w1, w1, #1
str w1, [x0]
ldr w0, [sp, 60]
lsl w0, w0, 1
str w0, [sp, 60]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L350:
ldr w1, [sp, 52]
ldr w0, [sp, 8]
cmp w1, w0
ble .L351
ldr w0, [sp, 12]
add w0, w0, 1
str w0, [sp, 52]
b .L352
.L353:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
add w0, w0, 1
lsl w2, w0, 1
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x3, [sp, 32]
add x0, x3, x0
sub w1, w2, w1
str w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L352:
ldr w1, [sp, 52]
ldr w0, [sp, 8]
cmp w1, w0
ble .L353
nop
nop
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size BZ2_hbCreateDecodeTables, .-BZ2_hbCreateDecodeTables
.global BZ2_crc32Table
.data
.align 3
.type BZ2_crc32Table, %object
.size BZ2_crc32Table, 1024
BZ2_crc32Table:
.word 0
.word 79764919
.word 159529838
.word 222504665
.word 319059676
.word 398814059
.word 445009330
.word 507990021
.word 638119352
.word 583659535
.word 797628118
.word 726387553
.word 890018660
.word 835552979
.word 1015980042
.word 944750013
.word 1276238704
.word 1221641927
.word 1167319070
.word 1095957929
.word 1595256236
.word 1540665371
.word 1452775106
.word 1381403509
.word 1780037320
.word 1859660671
.word 1671105958
.word 1733955601
.word 2031960084
.word 2111593891
.word 1889500026
.word 1952343757
.word -1742489888
.word -1662866601
.word -1851683442
.word -1788833735
.word -1960329156
.word -1880695413
.word -2103051438
.word -2040207643
.word -1104454824
.word -1159051537
.word -1213636554
.word -1284997759
.word -1389417084
.word -1444007885
.word -1532160278
.word -1603531939
.word -734892656
.word -789352409
.word -575645954
.word -646886583
.word -952755380
.word -1007220997
.word -827056094
.word -898286187
.word -231047128
.word -151282273
.word -71779514
.word -8804623
.word -515967244
.word -436212925
.word -390279782
.word -327299027
.word 881225847
.word 809987520
.word 1023691545
.word 969234094
.word 662832811
.word 591600412
.word 771767749
.word 717299826
.word 311336399
.word 374308984
.word 453813921
.word 533576470
.word 25881363
.word 88864420
.word 134795389
.word 214552010
.word 2023205639
.word 2086057648
.word 1897238633
.word 1976864222
.word 1804852699
.word 1867694188
.word 1645340341
.word 1724971778
.word 1587496639
.word 1516133128
.word 1461550545
.word 1406951526
.word 1302016099
.word 1230646740
.word 1142491917
.word 1087903418
.word -1398421865
.word -1469785312
.word -1524105735
.word -1578704818
.word -1079922613
.word -1151291908
.word -1239184603
.word -1293773166
.word -1968362705
.word -1905510760
.word -2094067647
.word -2014441994
.word -1716953613
.word -1654112188
.word -1876203875
.word -1796572374
.word -525066777
.word -462094256
.word -382327159
.word -302564546
.word -206542021
.word -143559028
.word -97365931
.word -17609246
.word -960696225
.word -1031934488
.word -817968335
.word -872425850
.word -709327229
.word -780559564
.word -600130067
.word -654598054
.word 1762451694
.word 1842216281
.word 1619975040
.word 1682949687
.word 2047383090
.word 2127137669
.word 1938468188
.word 2001449195
.word 1325665622
.word 1271206113
.word 1183200824
.word 1111960463
.word 1543535498
.word 1489069629
.word 1434599652
.word 1363369299
.word 622672798
.word 568075817
.word 748617968
.word 677256519
.word 907627842
.word 853037301
.word 1067152940
.word 995781531
.word 51762726
.word 131386257
.word 177728840
.word 240578815
.word 269590778
.word 349224269
.word 429104020
.word 491947555
.word -248556018
.word -168932423
.word -122852000
.word -60002089
.word -500490030
.word -420856475
.word -341238852
.word -278395381
.word -685261898
.word -739858943
.word -559578920
.word -630940305
.word -1004286614
.word -1058877219
.word -845023740
.word -916395085
.word -1119974018
.word -1174433591
.word -1262701040
.word -1333941337
.word -1371866206
.word -1426332139
.word -1481064244
.word -1552294533
.word -1690935098
.word -1611170447
.word -1833673816
.word -1770699233
.word -2009983462
.word -1930228819
.word -2119160460
.word -2056179517
.word 1569362073
.word 1498123566
.word 1409854455
.word 1355396672
.word 1317987909
.word 1246755826
.word 1192025387
.word 1137557660
.word 2072149281
.word 2135122070
.word 1912620623
.word 1992383480
.word 1753615357
.word 1816598090
.word 1627664531
.word 1707420964
.word 295390185
.word 358241886
.word 404320391
.word 483945776
.word 43990325
.word 106832002
.word 186451547
.word 266083308
.word 932423249
.word 861060070
.word 1041341759
.word 986742920
.word 613929101
.word 542559546
.word 756411363
.word 701822548
.word -978770311
.word -1050133554
.word -869589737
.word -924188512
.word -693284699
.word -764654318
.word -550540341
.word -605129092
.word -475935807
.word -413084042
.word -366743377
.word -287118056
.word -257573603
.word -194731862
.word -114850189
.word -35218492
.word -1984365303
.word -1921392450
.word -2143631769
.word -2063868976
.word -1698919467
.word -1635936670
.word -1824608069
.word -1744851700
.word -1347415887
.word -1418654458
.word -1506661409
.word -1561119128
.word -1129027987
.word -1200260134
.word -1254728445
.word -1309196108
.global BZ2_rNums
.align 3
.type BZ2_rNums, %object
.size BZ2_rNums, 2048
BZ2_rNums:
.word 619
.word 720
.word 127
.word 481
.word 931
.word 816
.word 813
.word 233
.word 566
.word 247
.word 985
.word 724
.word 205
.word 454
.word 863
.word 491
.word 741
.word 242
.word 949
.word 214
.word 733
.word 859
.word 335
.word 708
.word 621
.word 574
.word 73
.word 654
.word 730
.word 472
.word 419
.word 436
.word 278
.word 496
.word 867
.word 210
.word 399
.word 680
.word 480
.word 51
.word 878
.word 465
.word 811
.word 169
.word 869
.word 675
.word 611
.word 697
.word 867
.word 561
.word 862
.word 687
.word 507
.word 283
.word 482
.word 129
.word 807
.word 591
.word 733
.word 623
.word 150
.word 238
.word 59
.word 379
.word 684
.word 877
.word 625
.word 169
.word 643
.word 105
.word 170
.word 607
.word 520
.word 932
.word 727
.word 476
.word 693
.word 425
.word 174
.word 647
.word 73
.word 122
.word 335
.word 530
.word 442
.word 853
.word 695
.word 249
.word 445
.word 515
.word 909
.word 545
.word 703
.word 919
.word 874
.word 474
.word 882
.word 500
.word 594
.word 612
.word 641
.word 801
.word 220
.word 162
.word 819
.word 984
.word 589
.word 513
.word 495
.word 799
.word 161
.word 604
.word 958
.word 533
.word 221
.word 400
.word 386
.word 867
.word 600
.word 782
.word 382
.word 596
.word 414
.word 171
.word 516
.word 375
.word 682
.word 485
.word 911
.word 276
.word 98
.word 553
.word 163
.word 354
.word 666
.word 933
.word 424
.word 341
.word 533
.word 870
.word 227
.word 730
.word 475
.word 186
.word 263
.word 647
.word 537
.word 686
.word 600
.word 224
.word 469
.word 68
.word 770
.word 919
.word 190
.word 373
.word 294
.word 822
.word 808
.word 206
.word 184
.word 943
.word 795
.word 384
.word 383
.word 461
.word 404
.word 758
.word 839
.word 887
.word 715
.word 67
.word 618
.word 276
.word 204
.word 918
.word 873
.word 777
.word 604
.word 560
.word 951
.word 160
.word 578
.word 722
.word 79
.word 804
.word 96
.word 409
.word 713
.word 940
.word 652
.word 934
.word 970
.word 447
.word 318
.word 353
.word 859
.word 672
.word 112
.word 785
.word 645
.word 863
.word 803
.word 350
.word 139
.word 93
.word 354
.word 99
.word 820
.word 908
.word 609
.word 772
.word 154
.word 274
.word 580
.word 184
.word 79
.word 626
.word 630
.word 742
.word 653
.word 282
.word 762
.word 623
.word 680
.word 81
.word 927
.word 626
.word 789
.word 125
.word 411
.word 521
.word 938
.word 300
.word 821
.word 78
.word 343
.word 175
.word 128
.word 250
.word 170
.word 774
.word 972
.word 275
.word 999
.word 639
.word 495
.word 78
.word 352
.word 126
.word 857
.word 956
.word 358
.word 619
.word 580
.word 124
.word 737
.word 594
.word 701
.word 612
.word 669
.word 112
.word 134
.word 694
.word 363
.word 992
.word 809
.word 743
.word 168
.word 974
.word 944
.word 375
.word 748
.word 52
.word 600
.word 747
.word 642
.word 182
.word 862
.word 81
.word 344
.word 805
.word 988
.word 739
.word 511
.word 655
.word 814
.word 334
.word 249
.word 515
.word 897
.word 955
.word 664
.word 981
.word 649
.word 113
.word 974
.word 459
.word 893
.word 228
.word 433
.word 837
.word 553
.word 268
.word 926
.word 240
.word 102
.word 654
.word 459
.word 51
.word 686
.word 754
.word 806
.word 760
.word 493
.word 403
.word 415
.word 394
.word 687
.word 700
.word 946
.word 670
.word 656
.word 610
.word 738
.word 392
.word 760
.word 799
.word 887
.word 653
.word 978
.word 321
.word 576
.word 617
.word 626
.word 502
.word 894
.word 679
.word 243
.word 440
.word 680
.word 879
.word 194
.word 572
.word 640
.word 724
.word 926
.word 56
.word 204
.word 700
.word 707
.word 151
.word 457
.word 449
.word 797
.word 195
.word 791
.word 558
.word 945
.word 679
.word 297
.word 59
.word 87
.word 824
.word 713
.word 663
.word 412
.word 693
.word 342
.word 606
.word 134
.word 108
.word 571
.word 364
.word 631
.word 212
.word 174
.word 643
.word 304
.word 329
.word 343
.word 97
.word 430
.word 751
.word 497
.word 314
.word 983
.word 374
.word 822
.word 928
.word 140
.word 206
.word 73
.word 263
.word 980
.word 736
.word 876
.word 478
.word 430
.word 305
.word 170
.word 514
.word 364
.word 692
.word 829
.word 82
.word 855
.word 953
.word 676
.word 246
.word 369
.word 970
.word 294
.word 750
.word 807
.word 827
.word 150
.word 790
.word 288
.word 923
.word 804
.word 378
.word 215
.word 828
.word 592
.word 281
.word 565
.word 555
.word 710
.word 82
.word 896
.word 831
.word 547
.word 261
.word 524
.word 462
.word 293
.word 465
.word 502
.word 56
.word 661
.word 821
.word 976
.word 991
.word 658
.word 869
.word 905
.word 758
.word 745
.word 193
.word 768
.word 550
.word 608
.word 933
.word 378
.word 286
.word 215
.word 979
.word 792
.word 961
.word 61
.word 688
.word 793
.word 644
.word 986
.word 403
.word 106
.word 366
.word 905
.word 644
.word 372
.word 567
.word 466
.word 434
.word 645
.word 210
.word 389
.word 550
.word 919
.word 135
.word 780
.word 773
.word 635
.word 389
.word 707
.word 100
.word 626
.word 958
.word 165
.word 504
.word 920
.word 176
.word 193
.word 713
.word 857
.word 265
.word 203
.word 50
.word 668
.word 108
.word 645
.word 990
.word 626
.word 197
.word 510
.word 357
.word 358
.word 850
.word 858
.word 364
.word 936
.word 638
.text
.align 2
.global BZ2_bsInitWrite
.type BZ2_bsInitWrite, %function
BZ2_bsInitWrite:
.LFB18:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
str wzr, [x0, 644]
ldr x0, [sp, 8]
str wzr, [x0, 640]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size BZ2_bsInitWrite, .-BZ2_bsInitWrite
.align 2
.type bsFinishWrite, %function
bsFinishWrite:
.LFB19:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
b .L356
.L357:
ldr x0, [sp, 8]
ldr w0, [x0, 640]
lsr w2, w0, 24
ldr x0, [sp, 8]
ldr x1, [x0, 80]
ldr x0, [sp, 8]
ldr w0, [x0, 116]
sxtw x0, w0
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 116]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 116]
ldr x0, [sp, 8]
ldr w0, [x0, 640]
lsl w1, w0, 8
ldr x0, [sp, 8]
str w1, [x0, 640]
ldr x0, [sp, 8]
ldr w0, [x0, 644]
sub w1, w0, #8
ldr x0, [sp, 8]
str w1, [x0, 644]
.L356:
ldr x0, [sp, 8]
ldr w0, [x0, 644]
cmp w0, 0
bgt .L357
nop
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE19:
.size bsFinishWrite, .-bsFinishWrite
.align 2
.type bsW, %function
bsW:
.LFB20:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
str w2, [sp]
b .L359
.L360:
ldr x0, [sp, 8]
ldr w0, [x0, 640]
lsr w2, w0, 24
ldr x0, [sp, 8]
ldr x1, [x0, 80]
ldr x0, [sp, 8]
ldr w0, [x0, 116]
sxtw x0, w0
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 116]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 116]
ldr x0, [sp, 8]
ldr w0, [x0, 640]
lsl w1, w0, 8
ldr x0, [sp, 8]
str w1, [x0, 640]
ldr x0, [sp, 8]
ldr w0, [x0, 644]
sub w1, w0, #8
ldr x0, [sp, 8]
str w1, [x0, 644]
.L359:
ldr x0, [sp, 8]
ldr w0, [x0, 644]
cmp w0, 7
bgt .L360
ldr x0, [sp, 8]
ldr w1, [x0, 640]
ldr x0, [sp, 8]
ldr w0, [x0, 644]
mov w2, 32
sub w2, w2, w0
ldr w0, [sp, 4]
sub w0, w2, w0
ldr w2, [sp]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 8]
str w1, [x0, 640]
ldr x0, [sp, 8]
ldr w1, [x0, 644]
ldr w0, [sp, 4]
add w1, w1, w0
ldr x0, [sp, 8]
str w1, [x0, 644]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size bsW, .-bsW
.align 2
.type bsPutUInt32, %function
bsPutUInt32:
.LFB21:
.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]
lsr w0, w0, 24
mov w2, w0
mov w1, 8
ldr x0, [sp, 24]
bl bsW
ldr w0, [sp, 20]
lsr w0, w0, 16
and w0, w0, 255
mov w2, w0
mov w1, 8
ldr x0, [sp, 24]
bl bsW
ldr w0, [sp, 20]
lsr w0, w0, 8
and w0, w0, 255
mov w2, w0
mov w1, 8
ldr x0, [sp, 24]
bl bsW
ldr w0, [sp, 20]
and w0, w0, 255
mov w2, w0
mov w1, 8
ldr x0, [sp, 24]
bl bsW
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size bsPutUInt32, .-bsPutUInt32
.align 2
.type bsPutUChar, %function
bsPutUChar:
.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]
ldrb w0, [sp, 23]
mov w2, w0
mov w1, 8
ldr x0, [sp, 24]
bl bsW
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE22:
.size bsPutUChar, .-bsPutUChar
.align 2
.type makeMaps_e, %function
makeMaps_e:
.LFB23:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
str wzr, [x0, 124]
str wzr, [sp, 28]
b .L364
.L366:
ldr x1, [sp, 8]
ldrsw x0, [sp, 28]
add x0, x1, x0
ldrb w0, [x0, 128]
cmp w0, 0
beq .L365
ldr x0, [sp, 8]
ldr w0, [x0, 124]
and w2, w0, 255
ldr x1, [sp, 8]
ldrsw x0, [sp, 28]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 384]
ldr x0, [sp, 8]
ldr w0, [x0, 124]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 124]
.L365:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L364:
ldr w0, [sp, 28]
cmp w0, 255
ble .L366
nop
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE23:
.size makeMaps_e, .-makeMaps_e
.align 2
.type generateMTFValues, %function
generateMTFValues:
.LFB24:
.cfi_startproc
stp x29, x30, [sp, -384]!
.cfi_def_cfa_offset 384
.cfi_offset 29, -384
.cfi_offset 30, -376
mov x29, sp
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
.cfi_offset 19, -368
.cfi_offset 20, -360
.cfi_offset 21, -352
.cfi_offset 22, -344
str x0, [sp, 56]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 376]
mov x1, 0
ldr x0, [sp, 56]
ldr x0, [x0, 56]
str x0, [sp, 96]
ldr x0, [sp, 56]
ldr x0, [x0, 64]
str x0, [sp, 104]
ldr x0, [sp, 56]
ldr x0, [x0, 72]
str x0, [sp, 112]
ldr x0, [sp, 56]
bl makeMaps_e
ldr x0, [sp, 56]
ldr w0, [x0, 124]
add w0, w0, 1
str w0, [sp, 92]
str wzr, [sp, 76]
b .L368
.L369:
ldr x0, [sp, 56]
ldrsw x1, [sp, 76]
add x1, x1, 168
str wzr, [x0, x1, lsl 2]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L368:
ldr w1, [sp, 76]
ldr w0, [sp, 92]
cmp w1, w0
ble .L369
str wzr, [sp, 88]
str wzr, [sp, 84]
str wzr, [sp, 76]
b .L370
.L371:
ldr w0, [sp, 76]
and w2, w0, 255
ldrsw x0, [sp, 76]
add x1, sp, 120
strb w2, [x1, x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L370:
ldr x0, [sp, 56]
ldr w0, [x0, 124]
ldr w1, [sp, 76]
cmp w1, w0
blt .L371
str wzr, [sp, 76]
b .L372
.L384:
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 96]
add x0, x1, x0
ldr w0, [x0]
sub w0, w0, #1
str w0, [sp, 80]
ldr w0, [sp, 80]
cmp w0, 0
bge .L373
ldr x0, [sp, 56]
ldr w0, [x0, 108]
ldr w1, [sp, 80]
add w0, w1, w0
str w0, [sp, 80]
.L373:
ldrsw x0, [sp, 80]
ldr x1, [sp, 104]
add x0, x1, x0
ldrb w0, [x0]
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 384]
strb w0, [sp, 75]
ldrb w0, [sp, 120]
ldrb w1, [sp, 75]
cmp w1, w0
bne .L374
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
b .L375
.L374:
ldr w0, [sp, 84]
cmp w0, 0
ble .L376
ldr w0, [sp, 84]
sub w0, w0, #1
str w0, [sp, 84]
.L381:
ldr w0, [sp, 84]
and w0, w0, 1
cmp w0, 0
beq .L377
ldrsw x0, [sp, 88]
lsl x0, x0, 1
ldr x1, [sp, 112]
add x0, x1, x0
mov w1, 1
strh w1, [x0]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
ldr x0, [sp, 56]
ldr w0, [x0, 676]
add w1, w0, 1
ldr x0, [sp, 56]
str w1, [x0, 676]
b .L378
.L377:
ldrsw x0, [sp, 88]
lsl x0, x0, 1
ldr x1, [sp, 112]
add x0, x1, x0
strh wzr, [x0]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
ldr x0, [sp, 56]
ldr w0, [x0, 672]
add w1, w0, 1
ldr x0, [sp, 56]
str w1, [x0, 672]
.L378:
ldr w0, [sp, 84]
cmp w0, 1
ble .L394
ldr w0, [sp, 84]
sub w0, w0, #2
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 84]
b .L381
.L394:
nop
str wzr, [sp, 84]
.L376:
ldrb w20, [sp, 121]
ldrb w0, [sp, 120]
strb w0, [sp, 121]
add x0, sp, 120
add x19, x0, 1
ldrb w21, [sp, 75]
b .L382
.L383:
add x19, x19, 1
mov w22, w20
ldrb w20, [x19]
mov w0, w22
strb w0, [x19]
.L382:
cmp w21, w20
bne .L383
mov w0, w20
strb w0, [sp, 120]
add x0, sp, 120
sub x0, x19, x0
str w0, [sp, 80]
ldr w0, [sp, 80]
and w1, w0, 65535
ldrsw x0, [sp, 88]
lsl x0, x0, 1
ldr x2, [sp, 112]
add x0, x2, x0
add w1, w1, 1
and w1, w1, 65535
strh w1, [x0]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
ldr w0, [sp, 80]
add w3, w0, 1
ldr x0, [sp, 56]
sxtw x1, w3
add x1, x1, 168
ldr w0, [x0, x1, lsl 2]
add w2, w0, 1
ldr x0, [sp, 56]
sxtw x1, w3
add x1, x1, 168
str w2, [x0, x1, lsl 2]
.L375:
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L372:
ldr x0, [sp, 56]
ldr w0, [x0, 108]
ldr w1, [sp, 76]
cmp w1, w0
blt .L384
ldr w0, [sp, 84]
cmp w0, 0
ble .L385
ldr w0, [sp, 84]
sub w0, w0, #1
str w0, [sp, 84]
.L390:
ldr w0, [sp, 84]
and w0, w0, 1
cmp w0, 0
beq .L386
ldrsw x0, [sp, 88]
lsl x0, x0, 1
ldr x1, [sp, 112]
add x0, x1, x0
mov w1, 1
strh w1, [x0]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
ldr x0, [sp, 56]
ldr w0, [x0, 676]
add w1, w0, 1
ldr x0, [sp, 56]
str w1, [x0, 676]
b .L387
.L386:
ldrsw x0, [sp, 88]
lsl x0, x0, 1
ldr x1, [sp, 112]
add x0, x1, x0
strh wzr, [x0]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
ldr x0, [sp, 56]
ldr w0, [x0, 672]
add w1, w0, 1
ldr x0, [sp, 56]
str w1, [x0, 672]
.L387:
ldr w0, [sp, 84]
cmp w0, 1
ble .L395
ldr w0, [sp, 84]
sub w0, w0, #2
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 84]
b .L390
.L395:
nop
str wzr, [sp, 84]
.L385:
ldrsw x0, [sp, 88]
lsl x0, x0, 1
ldr x1, [sp, 112]
add x0, x1, x0
ldr w1, [sp, 92]
and w1, w1, 65535
strh w1, [x0]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
ldr x0, [sp, 56]
ldrsw x1, [sp, 92]
add x1, x1, 168
ldr w0, [x0, x1, lsl 2]
add w2, w0, 1
ldr x0, [sp, 56]
ldrsw x1, [sp, 92]
add x1, x1, 168
str w2, [x0, x1, lsl 2]
ldr x0, [sp, 56]
ldr w1, [sp, 88]
str w1, [x0, 668]
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 376]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L391
bl __stack_chk_fail
.L391:
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x29, x30, [sp], 384
.cfi_restore 30
.cfi_restore 29
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE24:
.size generateMTFValues, .-generateMTFValues
.section .rodata
.align 3
.LC9:
.string " %d in block, %d after MTF & 1-2 coding, %d+2 syms in use\n"
.align 3
.LC10:
.string " initial group %d, [%d .. %d], has %d syms (%4.1f%%)\n"
.align 3
.LC11:
.string " pass %d: size is %d, grp uses are "
.align 3
.LC12:
.string "%d "
.align 3
.LC13:
.string " bytes: mapping %d, "
.align 3
.LC14:
.string "selectors %d, "
.align 3
.LC15:
.string "code lengths %d, "
.align 3
.LC16:
.string "codes %d\n"
.text
.align 2
.type sendMTFValues, %function
sendMTFValues:
.LFB25:
.cfi_startproc
stp x29, x30, [sp, -256]!
.cfi_def_cfa_offset 256
.cfi_offset 29, -256
.cfi_offset 30, -248
mov x29, sp
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
.cfi_offset 19, -240
.cfi_offset 20, -232
.cfi_offset 21, -224
.cfi_offset 22, -216
str x0, [sp, 56]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 248]
mov x1, 0
ldr x0, [sp, 56]
ldr x0, [x0, 72]
str x0, [sp, 168]
ldr x0, [sp, 56]
ldr w0, [x0, 656]
cmp w0, 2
ble .L397
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x5, [x0]
ldr x0, [sp, 56]
ldr w1, [x0, 108]
ldr x0, [sp, 56]
ldr w2, [x0, 668]
ldr x0, [sp, 56]
ldr w0, [x0, 124]
mov w4, w0
mov w3, w2
mov w2, w1
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov x0, x5
bl fprintf
.L397:
ldr x0, [sp, 56]
ldr w0, [x0, 124]
add w0, w0, 2
str w0, [sp, 156]
str wzr, [sp, 84]
b .L398
.L401:
str wzr, [sp, 80]
b .L399
.L400:
ldr x3, [sp, 56]
ldrsw x2, [sp, 80]
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 36864
mov w1, 15
strb w1, [x0, 844]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L399:
ldr w1, [sp, 80]
ldr w0, [sp, 156]
cmp w1, w0
blt .L400
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L398:
ldr w0, [sp, 84]
cmp w0, 5
ble .L401
ldr x0, [sp, 56]
ldr w0, [x0, 668]
cmp w0, 0
bgt .L402
mov w0, 3001
bl BZ2_bz__AssertH__fail
.L402:
ldr x0, [sp, 56]
ldr w0, [x0, 668]
cmp w0, 199
bgt .L403
mov w0, 2
str w0, [sp, 136]
b .L404
.L403:
ldr x0, [sp, 56]
ldr w0, [x0, 668]
cmp w0, 599
bgt .L405
mov w0, 3
str w0, [sp, 136]
b .L404
.L405:
ldr x0, [sp, 56]
ldr w0, [x0, 668]
cmp w0, 1199
bgt .L406
mov w0, 4
str w0, [sp, 136]
b .L404
.L406:
ldr x0, [sp, 56]
ldr w0, [x0, 668]
cmp w0, 2399
bgt .L407
mov w0, 5
str w0, [sp, 136]
b .L404
.L407:
mov w0, 6
str w0, [sp, 136]
.L404:
ldr w0, [sp, 136]
str w0, [sp, 140]
ldr x0, [sp, 56]
ldr w0, [x0, 668]
str w0, [sp, 144]
str wzr, [sp, 96]
b .L408
.L418:
ldr w1, [sp, 144]
ldr w0, [sp, 140]
sdiv w0, w1, w0
str w0, [sp, 164]
ldr w0, [sp, 96]
sub w0, w0, #1
str w0, [sp, 100]
str wzr, [sp, 148]
b .L409
.L411:
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
ldr x0, [sp, 56]
ldrsw x1, [sp, 100]
add x1, x1, 168
ldr w0, [x0, x1, lsl 2]
ldr w1, [sp, 148]
add w0, w1, w0
str w0, [sp, 148]
.L409:
ldr w1, [sp, 148]
ldr w0, [sp, 164]
cmp w1, w0
bge .L410
ldr w0, [sp, 156]
sub w0, w0, #1
ldr w1, [sp, 100]
cmp w1, w0
blt .L411
.L410:
ldr w1, [sp, 100]
ldr w0, [sp, 96]
cmp w1, w0
ble .L412
ldr w1, [sp, 140]
ldr w0, [sp, 136]
cmp w1, w0
beq .L412
ldr w0, [sp, 140]
cmp w0, 1
beq .L412
ldr w1, [sp, 136]
ldr w0, [sp, 140]
sub w0, w1, w0
cmp w0, 0
and w0, w0, 1
csneg w0, w0, w0, ge
cmp w0, 1
bne .L412
ldr x0, [sp, 56]
ldrsw x1, [sp, 100]
add x1, x1, 168
ldr w0, [x0, x1, lsl 2]
ldr w1, [sp, 148]
sub w0, w1, w0
str w0, [sp, 148]
ldr w0, [sp, 100]
sub w0, w0, #1
str w0, [sp, 100]
.L412:
ldr x0, [sp, 56]
ldr w0, [x0, 656]
cmp w0, 2
ble .L413
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x6, [x0]
ldr s0, [sp, 148]
scvtf s0, s0
fcvt d0, s0
mov x0, 4636737291354636288
fmov d1, x0
fmul d1, d0, d1
ldr x0, [sp, 56]
ldr s0, [x0, 668]
scvtf s0, s0
fcvt d0, s0
fdiv d0, d1, d0
ldr w5, [sp, 148]
ldr w4, [sp, 100]
ldr w3, [sp, 96]
ldr w2, [sp, 140]
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov x0, x6
bl fprintf
.L413:
str wzr, [sp, 80]
b .L414
.L417:
ldr w1, [sp, 80]
ldr w0, [sp, 96]
cmp w1, w0
blt .L415
ldr w1, [sp, 80]
ldr w0, [sp, 100]
cmp w1, w0
bgt .L415
ldr w0, [sp, 140]
sub w0, w0, #1
ldr x3, [sp, 56]
ldrsw x2, [sp, 80]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 36864
strb wzr, [x0, 844]
b .L416
.L415:
ldr w0, [sp, 140]
sub w0, w0, #1
ldr x3, [sp, 56]
ldrsw x2, [sp, 80]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 36864
mov w1, 15
strb w1, [x0, 844]
.L416:
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L414:
ldr w1, [sp, 80]
ldr w0, [sp, 156]
cmp w1, w0
blt .L417
ldr w0, [sp, 140]
sub w0, w0, #1
str w0, [sp, 140]
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 96]
ldr w1, [sp, 144]
ldr w0, [sp, 148]
sub w0, w1, w0
str w0, [sp, 144]
.L408:
ldr w0, [sp, 140]
cmp w0, 0
bgt .L418
str wzr, [sp, 116]
b .L419
.L453:
str wzr, [sp, 84]
b .L420
.L421:
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 208
str wzr, [x1, x0]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L420:
ldr w1, [sp, 84]
ldr w0, [sp, 136]
cmp w1, w0
blt .L421
str wzr, [sp, 84]
b .L422
.L425:
str wzr, [sp, 80]
b .L423
.L424:
ldr x2, [sp, 56]
ldrsw x3, [sp, 80]
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
str wzr, [x0, 8]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L423:
ldr w1, [sp, 80]
ldr w0, [sp, 156]
cmp w1, w0
blt .L424
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L422:
ldr w1, [sp, 84]
ldr w0, [sp, 136]
cmp w1, w0
blt .L425
ldr w0, [sp, 136]
cmp w0, 6
bne .L426
str wzr, [sp, 80]
b .L427
.L428:
ldr x1, [sp, 56]
ldrsw x0, [sp, 80]
add x0, x1, x0
add x0, x0, 36864
ldrb w0, [x0, 1102]
lsl w0, w0, 16
ldr x2, [sp, 56]
ldrsw x1, [sp, 80]
add x1, x2, x1
add x1, x1, 36864
ldrb w1, [x1, 844]
orr w0, w0, w1
mov w2, w0
ldr x1, [sp, 56]
ldrsw x0, [sp, 80]
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
str w2, [x0, 8]
ldr x1, [sp, 56]
ldrsw x0, [sp, 80]
add x0, x1, x0
add x0, x0, 36864
ldrb w0, [x0, 1618]
lsl w0, w0, 16
ldr x2, [sp, 56]
ldrsw x1, [sp, 80]
add x1, x2, x1
add x1, x1, 36864
ldrb w1, [x1, 1360]
orr w0, w0, w1
mov w2, w0
ldr x1, [sp, 56]
ldrsw x0, [sp, 80]
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
str w2, [x0, 2492]
ldr x1, [sp, 56]
ldrsw x0, [sp, 80]
add x0, x1, x0
add x0, x0, 36864
ldrb w0, [x0, 2134]
lsl w0, w0, 16
ldr x2, [sp, 56]
ldrsw x1, [sp, 80]
add x1, x2, x1
add x1, x1, 36864
ldrb w1, [x1, 1876]
orr w0, w0, w1
mov w2, w0
ldr x1, [sp, 56]
ldrsw x0, [sp, 80]
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
str w2, [x0, 2496]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
.L427:
ldr w1, [sp, 80]
ldr w0, [sp, 156]
cmp w1, w0
blt .L428
.L426:
str wzr, [sp, 120]
str wzr, [sp, 104]
str wzr, [sp, 96]
.L447:
ldr x0, [sp, 56]
ldr w0, [x0, 668]
ldr w1, [sp, 96]
cmp w1, w0
bge .L516
ldr w0, [sp, 96]
add w0, w0, 49
str w0, [sp, 100]
ldr x0, [sp, 56]
ldr w0, [x0, 668]
ldr w1, [sp, 100]
cmp w1, w0
blt .L431
ldr x0, [sp, 56]
ldr w0, [x0, 668]
sub w0, w0, #1
str w0, [sp, 100]
.L431:
str wzr, [sp, 84]
b .L432
.L433:
ldrsw x0, [sp, 84]
lsl x0, x0, 1
add x1, sp, 192
strh wzr, [x1, x0]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L432:
ldr w1, [sp, 84]
ldr w0, [sp, 136]
cmp w1, w0
blt .L433
ldr w0, [sp, 136]
cmp w0, 6
bne .L434
ldr w1, [sp, 100]
ldr w0, [sp, 96]
sub w0, w1, w0
cmp w0, 49
bne .L434
mov w19, 0
mov w20, w19
mov w21, w20
ldrsw x0, [sp, 96]
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 1
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 2
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 3
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 4
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 5
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 6
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 7
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 8
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 9
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 10
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 11
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 12
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 13
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 14
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 15
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 16
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 17
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 18
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 19
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 20
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 21
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 22
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 23
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 24
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 25
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 26
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 27
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 28
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 29
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 30
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 31
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 32
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 33
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 34
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 35
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 36
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 37
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 38
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 39
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 40
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 41
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 42
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 43
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 44
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 45
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 46
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 47
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 48
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
ldrsw x0, [sp, 96]
add x0, x0, 49
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w22, [x0]
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x0, 3227
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0, 8]
add w21, w21, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2492]
add w20, w20, w0
mov w0, w22
ldr x1, [sp, 56]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
add x0, x0, 49152
ldr w0, [x0, 2496]
add w19, w19, w0
and w0, w21, 65535
strh w0, [sp, 192]
lsr w0, w21, 16
and w0, w0, 65535
strh w0, [sp, 194]
and w0, w20, 65535
strh w0, [sp, 196]
lsr w0, w20, 16
and w0, w0, 65535
strh w0, [sp, 198]
and w0, w19, 65535
strh w0, [sp, 200]
lsr w0, w19, 16
and w0, w0, 65535
strh w0, [sp, 202]
b .L435
.L434:
ldr w0, [sp, 96]
str w0, [sp, 88]
b .L436
.L439:
ldrsw x0, [sp, 88]
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 78]
str wzr, [sp, 84]
b .L437
.L438:
ldrsw x0, [sp, 84]
lsl x0, x0, 1
add x1, sp, 192
ldrh w2, [x1, x0]
ldrh w0, [sp, 78]
ldr x4, [sp, 56]
sxtw x3, w0
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x4, x0
add x0, x0, x3
add x0, x0, 36864
ldrb w0, [x0, 844]
and w0, w0, 65535
add w0, w2, w0
and w2, w0, 65535
ldrsw x0, [sp, 84]
lsl x0, x0, 1
add x1, sp, 192
strh w2, [x1, x0]
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L437:
ldr w1, [sp, 84]
ldr w0, [sp, 136]
cmp w1, w0
blt .L438
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L436:
ldr w1, [sp, 88]
ldr w0, [sp, 100]
cmp w1, w0
ble .L439
.L435:
mov w0, 51711
movk w0, 0x3b9a, lsl 16
str w0, [sp, 112]
mov w0, -1
str w0, [sp, 108]
str wzr, [sp, 84]
b .L440
.L442:
ldrsw x0, [sp, 84]
lsl x0, x0, 1
add x1, sp, 192
ldrh w0, [x1, x0]
mov w1, w0
ldr w0, [sp, 112]
cmp w0, w1
ble .L441
ldrsw x0, [sp, 84]
lsl x0, x0, 1
add x1, sp, 192
ldrh w0, [x1, x0]
str w0, [sp, 112]
ldr w0, [sp, 84]
str w0, [sp, 108]
.L441:
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L440:
ldr w1, [sp, 84]
ldr w0, [sp, 136]
cmp w1, w0
blt .L442
ldr w1, [sp, 104]
ldr w0, [sp, 112]
add w0, w1, w0
str w0, [sp, 104]
ldrsw x0, [sp, 108]
lsl x0, x0, 2
add x1, sp, 208
ldr w0, [x1, x0]
add w2, w0, 1
ldrsw x0, [sp, 108]
lsl x0, x0, 2
add x1, sp, 208
str w2, [x1, x0]
ldr w0, [sp, 108]
and w2, w0, 255
ldr x1, [sp, 56]
ldrsw x0, [sp, 120]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 1704]
ldr w0, [sp, 120]
add w0, w0, 1
str w0, [sp, 120]
ldr w0, [sp, 136]
cmp w0, 6
bne .L443
ldr w1, [sp, 100]
ldr w0, [sp, 96]
sub w0, w1, w0
cmp w0, 49
bne .L443
ldrsw x0, [sp, 96]
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 1
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 2
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 3
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 4
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 5
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 6
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 7
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 8
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 9
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 10
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 11
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 12
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 13
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 14
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 15
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 16
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 17
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 18
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 19
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 20
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 21
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 22
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 23
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 24
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 25
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 26
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 27
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 28
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 29
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 30
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 31
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 32
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 33
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 34
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 35
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 36
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 37
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 38
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 39
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 40
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 41
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 42
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 43
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 44
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 45
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 46
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 47
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 48
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldrsw x0, [sp, 96]
add x0, x0, 49
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
b .L444
.L443:
ldr w0, [sp, 96]
str w0, [sp, 88]
b .L445
.L446:
ldrsw x0, [sp, 88]
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
mov w4, w0
ldr x2, [sp, 56]
sxtw x3, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w2, w0, 1
ldr x3, [sp, 56]
sxtw x4, w4
ldrsw x1, [sp, 108]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x4
mov x0, 11360
add x0, x1, x0
lsl x0, x0, 2
add x0, x3, x0
str w2, [x0, 8]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L445:
ldr w1, [sp, 88]
ldr w0, [sp, 100]
cmp w1, w0
ble .L446
.L444:
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 96]
b .L447
.L516:
nop
ldr x0, [sp, 56]
ldr w0, [x0, 656]
cmp w0, 2
ble .L448
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldr w0, [sp, 116]
add w2, w0, 1
ldr w0, [sp, 104]
add w1, w0, 7
cmp w0, 0
csel w0, w1, w0, lt
asr w0, w0, 3
mov w3, w0
adrp x0, .LC11
add x1, x0, :lo12:.LC11
mov x0, x4
bl fprintf
str wzr, [sp, 84]
b .L449
.L450:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldrsw x0, [sp, 84]
lsl x0, x0, 2
add x1, sp, 208
ldr w0, [x1, x0]
mov w2, w0
adrp x0, .LC12
add x1, x0, :lo12:.LC12
mov x0, x3
bl fprintf
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L449:
ldr w1, [sp, 84]
ldr w0, [sp, 136]
cmp w1, w0
blt .L450
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x1, x0
mov w0, 10
bl fputc
.L448:
str wzr, [sp, 84]
b .L451
.L452:
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
mov x1, 37696
add x0, x0, x1
ldr x1, [sp, 56]
add x0, x1, x0
add x4, x0, 12
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 45440
add x0, x0, x1
ldr x1, [sp, 56]
add x0, x1, x0
add x0, x0, 8
mov w3, 20
ldr w2, [sp, 156]
mov x1, x0
mov x0, x4
bl BZ2_hbMakeCodeLengths
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L451:
ldr w1, [sp, 84]
ldr w0, [sp, 136]
cmp w1, w0
blt .L452
ldr w0, [sp, 116]
add w0, w0, 1
str w0, [sp, 116]
.L419:
ldr w0, [sp, 116]
cmp w0, 3
ble .L453
ldr w0, [sp, 136]
cmp w0, 7
ble .L454
mov w0, 3002
bl BZ2_bz__AssertH__fail
.L454:
ldr w1, [sp, 120]
mov w0, 32767
cmp w1, w0
bgt .L455
ldr w1, [sp, 120]
mov w0, 18002
cmp w1, w0
ble .L456
.L455:
mov w0, 3003
bl BZ2_bz__AssertH__fail
.L456:
str wzr, [sp, 88]
b .L457
.L458:
ldr w0, [sp, 88]
and w2, w0, 255
ldrsw x0, [sp, 88]
add x1, sp, 232
strb w2, [x1, x0]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L457:
ldr w1, [sp, 88]
ldr w0, [sp, 136]
cmp w1, w0
blt .L458
str wzr, [sp, 88]
b .L459
.L462:
ldr x1, [sp, 56]
ldrsw x0, [sp, 88]
add x0, x1, x0
ldrb w0, [x0, 1704]
strb w0, [sp, 74]
str wzr, [sp, 92]
ldrsw x0, [sp, 92]
add x1, sp, 232
ldrb w0, [x1, x0]
strb w0, [sp, 73]
b .L460
.L461:
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
ldrb w0, [sp, 73]
strb w0, [sp, 75]
ldrsw x0, [sp, 92]
add x1, sp, 232
ldrb w0, [x1, x0]
strb w0, [sp, 73]
ldrsw x0, [sp, 92]
add x1, sp, 232
ldrb w2, [sp, 75]
strb w2, [x1, x0]
.L460:
ldrb w1, [sp, 74]
ldrb w0, [sp, 73]
cmp w1, w0
bne .L461
ldrb w0, [sp, 73]
strb w0, [sp, 232]
ldr w0, [sp, 92]
and w2, w0, 255
ldr x1, [sp, 56]
ldrsw x0, [sp, 88]
add x0, x1, x0
add x0, x0, 16384
mov w1, w2
strb w1, [x0, 3322]
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L459:
ldr w1, [sp, 88]
ldr w0, [sp, 120]
cmp w1, w0
blt .L462
str wzr, [sp, 84]
b .L463
.L470:
mov w0, 32
str w0, [sp, 124]
str wzr, [sp, 128]
str wzr, [sp, 88]
b .L464
.L467:
ldr x3, [sp, 56]
ldrsw x2, [sp, 88]
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 36864
ldrb w0, [x0, 844]
mov w1, w0
ldr w0, [sp, 128]
cmp w0, w1
bge .L465
ldr x3, [sp, 56]
ldrsw x2, [sp, 88]
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 36864
ldrb w0, [x0, 844]
str w0, [sp, 128]
.L465:
ldr x3, [sp, 56]
ldrsw x2, [sp, 88]
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 36864
ldrb w0, [x0, 844]
mov w1, w0
ldr w0, [sp, 124]
cmp w0, w1
ble .L466
ldr x3, [sp, 56]
ldrsw x2, [sp, 88]
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 36864
ldrb w0, [x0, 844]
str w0, [sp, 124]
.L466:
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L464:
ldr w1, [sp, 88]
ldr w0, [sp, 156]
cmp w1, w0
blt .L467
ldr w0, [sp, 128]
cmp w0, 20
ble .L468
mov w0, 3004
bl BZ2_bz__AssertH__fail
.L468:
ldr w0, [sp, 124]
cmp w0, 0
bgt .L469
mov w0, 3005
bl BZ2_bz__AssertH__fail
.L469:
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 39248
add x0, x0, x1
ldr x1, [sp, 56]
add x0, x1, x0
add x5, x0, 8
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
mov x1, 37696
add x0, x0, x1
ldr x1, [sp, 56]
add x0, x1, x0
add x0, x0, 12
ldr w4, [sp, 156]
ldr w3, [sp, 128]
ldr w2, [sp, 124]
mov x1, x0
mov x0, x5
bl BZ2_hbAssignCodes
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L463:
ldr w1, [sp, 84]
ldr w0, [sp, 136]
cmp w1, w0
blt .L470
str wzr, [sp, 88]
b .L471
.L475:
ldrsw x0, [sp, 88]
add x1, sp, 232
strb wzr, [x1, x0]
str wzr, [sp, 92]
b .L472
.L474:
ldr w0, [sp, 88]
lsl w1, w0, 4
ldr w0, [sp, 92]
add w0, w1, w0
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 128]
cmp w0, 0
beq .L473
ldrsw x0, [sp, 88]
add x1, sp, 232
mov w2, 1
strb w2, [x1, x0]
.L473:
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L472:
ldr w0, [sp, 92]
cmp w0, 15
ble .L474
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L471:
ldr w0, [sp, 88]
cmp w0, 15
ble .L475
ldr x0, [sp, 56]
ldr w0, [x0, 116]
str w0, [sp, 160]
str wzr, [sp, 88]
b .L476
.L479:
ldrsw x0, [sp, 88]
add x1, sp, 232
ldrb w0, [x1, x0]
cmp w0, 0
beq .L477
mov w2, 1
mov w1, 1
ldr x0, [sp, 56]
bl bsW
b .L478
.L477:
mov w2, 0
mov w1, 1
ldr x0, [sp, 56]
bl bsW
.L478:
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L476:
ldr w0, [sp, 88]
cmp w0, 15
ble .L479
str wzr, [sp, 88]
b .L480
.L486:
ldrsw x0, [sp, 88]
add x1, sp, 232
ldrb w0, [x1, x0]
cmp w0, 0
beq .L481
str wzr, [sp, 92]
b .L482
.L485:
ldr w0, [sp, 88]
lsl w1, w0, 4
ldr w0, [sp, 92]
add w0, w1, w0
ldr x1, [sp, 56]
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 128]
cmp w0, 0
beq .L483
mov w2, 1
mov w1, 1
ldr x0, [sp, 56]
bl bsW
b .L484
.L483:
mov w2, 0
mov w1, 1
ldr x0, [sp, 56]
bl bsW
.L484:
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L482:
ldr w0, [sp, 92]
cmp w0, 15
ble .L485
.L481:
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L480:
ldr w0, [sp, 88]
cmp w0, 15
ble .L486
ldr x0, [sp, 56]
ldr w0, [x0, 656]
cmp w0, 2
ble .L487
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 56]
ldr w1, [x0, 116]
ldr w0, [sp, 160]
sub w0, w1, w0
mov w2, w0
adrp x0, .LC13
add x1, x0, :lo12:.LC13
mov x0, x3
bl fprintf
.L487:
ldr x0, [sp, 56]
ldr w0, [x0, 116]
str w0, [sp, 160]
ldr w0, [sp, 136]
mov w2, w0
mov w1, 3
ldr x0, [sp, 56]
bl bsW
ldr w0, [sp, 120]
mov w2, w0
mov w1, 15
ldr x0, [sp, 56]
bl bsW
str wzr, [sp, 88]
b .L488
.L491:
str wzr, [sp, 92]
b .L489
.L490:
mov w2, 1
mov w1, 1
ldr x0, [sp, 56]
bl bsW
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L489:
ldr x1, [sp, 56]
ldrsw x0, [sp, 88]
add x0, x1, x0
add x0, x0, 16384
ldrb w0, [x0, 3322]
mov w1, w0
ldr w0, [sp, 92]
cmp w0, w1
blt .L490
mov w2, 0
mov w1, 1
ldr x0, [sp, 56]
bl bsW
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L488:
ldr w1, [sp, 88]
ldr w0, [sp, 120]
cmp w1, w0
blt .L491
ldr x0, [sp, 56]
ldr w0, [x0, 656]
cmp w0, 2
ble .L492
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 56]
ldr w1, [x0, 116]
ldr w0, [sp, 160]
sub w0, w1, w0
mov w2, w0
adrp x0, .LC14
add x1, x0, :lo12:.LC14
mov x0, x3
bl fprintf
.L492:
ldr x0, [sp, 56]
ldr w0, [x0, 116]
str w0, [sp, 160]
str wzr, [sp, 84]
b .L493
.L500:
ldr x2, [sp, 56]
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x2, x0
add x0, x0, 36864
ldrb w0, [x0, 844]
str w0, [sp, 152]
ldr w0, [sp, 152]
mov w2, w0
mov w1, 5
ldr x0, [sp, 56]
bl bsW
str wzr, [sp, 88]
b .L494
.L496:
mov w2, 2
mov w1, 2
ldr x0, [sp, 56]
bl bsW
ldr w0, [sp, 152]
add w0, w0, 1
str w0, [sp, 152]
.L495:
ldr x3, [sp, 56]
ldrsw x2, [sp, 88]
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 36864
ldrb w0, [x0, 844]
mov w1, w0
ldr w0, [sp, 152]
cmp w0, w1
blt .L496
b .L497
.L498:
mov w2, 3
mov w1, 2
ldr x0, [sp, 56]
bl bsW
ldr w0, [sp, 152]
sub w0, w0, #1
str w0, [sp, 152]
.L497:
ldr x3, [sp, 56]
ldrsw x2, [sp, 88]
ldrsw x1, [sp, 84]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 36864
ldrb w0, [x0, 844]
mov w1, w0
ldr w0, [sp, 152]
cmp w0, w1
bgt .L498
mov w2, 0
mov w1, 1
ldr x0, [sp, 56]
bl bsW
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L494:
ldr w1, [sp, 88]
ldr w0, [sp, 156]
cmp w1, w0
blt .L495
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L493:
ldr w1, [sp, 84]
ldr w0, [sp, 136]
cmp w1, w0
blt .L500
ldr x0, [sp, 56]
ldr w0, [x0, 656]
cmp w0, 2
ble .L501
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 56]
ldr w1, [x0, 116]
ldr w0, [sp, 160]
sub w0, w1, w0
mov w2, w0
adrp x0, .LC15
add x1, x0, :lo12:.LC15
mov x0, x3
bl fprintf
.L501:
ldr x0, [sp, 56]
ldr w0, [x0, 116]
str w0, [sp, 160]
str wzr, [sp, 132]
str wzr, [sp, 96]
.L510:
ldr x0, [sp, 56]
ldr w0, [x0, 668]
ldr w1, [sp, 96]
cmp w1, w0
bge .L517
ldr w0, [sp, 96]
add w0, w0, 49
str w0, [sp, 100]
ldr x0, [sp, 56]
ldr w0, [x0, 668]
ldr w1, [sp, 100]
cmp w1, w0
blt .L504
ldr x0, [sp, 56]
ldr w0, [x0, 668]
sub w0, w0, #1
str w0, [sp, 100]
.L504:
ldr x1, [sp, 56]
ldrsw x0, [sp, 132]
add x0, x1, x0
ldrb w0, [x0, 1704]
mov w1, w0
ldr w0, [sp, 136]
cmp w0, w1
bgt .L505
mov w0, 3006
bl BZ2_bz__AssertH__fail
.L505:
ldr w0, [sp, 136]
cmp w0, 6
bne .L506
ldr w1, [sp, 100]
ldr w0, [sp, 96]
sub w0, w1, w0
cmp w0, 49
bne .L506
ldr x1, [sp, 56]
ldrsw x0, [sp, 132]
add x0, x1, x0
ldrb w0, [x0, 1704]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
mov x1, 37696
add x0, x0, x1
ldr x1, [sp, 56]
add x0, x1, x0
add x0, x0, 12
str x0, [sp, 176]
ldr x1, [sp, 56]
ldrsw x0, [sp, 132]
add x0, x1, x0
ldrb w0, [x0, 1704]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 39248
add x0, x0, x1
ldr x1, [sp, 56]
add x0, x1, x0
add x0, x0, 8
str x0, [sp, 184]
ldrsw x0, [sp, 96]
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 1
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 2
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 3
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 4
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 5
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 6
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 7
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 8
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 9
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 10
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 11
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 12
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 13
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 14
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 15
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 16
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 17
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 18
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 19
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 20
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 21
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 22
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 23
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 24
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 25
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 26
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 27
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 28
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 29
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 30
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 31
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 32
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 33
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 34
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 35
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 36
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 37
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 38
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 39
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 40
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 41
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 42
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 43
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 44
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 45
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 46
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 47
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 48
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
ldrsw x0, [sp, 96]
add x0, x0, 49
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
strh w0, [sp, 76]
ldrh w0, [sp, 76]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
mov w3, w0
ldrh w0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 184]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
mov w1, w3
ldr x0, [sp, 56]
bl bsW
b .L507
.L506:
ldr w0, [sp, 96]
str w0, [sp, 88]
b .L508
.L509:
ldr x1, [sp, 56]
ldrsw x0, [sp, 132]
add x0, x1, x0
ldrb w0, [x0, 1704]
mov w4, w0
ldrsw x0, [sp, 88]
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
ldr x3, [sp, 56]
sxtw x2, w0
sxtw x1, w4
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 36864
ldrb w0, [x0, 844]
mov w4, w0
ldr x1, [sp, 56]
ldrsw x0, [sp, 132]
add x0, x1, x0
ldrb w0, [x0, 1704]
mov w5, w0
ldrsw x0, [sp, 88]
lsl x0, x0, 1
ldr x1, [sp, 168]
add x0, x1, x0
ldrh w0, [x0]
ldr x2, [sp, 56]
sxtw x3, w0
sxtw x1, w5
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x1, x0, x3
mov x0, 9812
add x0, x1, x0
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
mov w2, w0
mov w1, w4
ldr x0, [sp, 56]
bl bsW
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L508:
ldr w1, [sp, 88]
ldr w0, [sp, 100]
cmp w1, w0
ble .L509
.L507:
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 96]
ldr w0, [sp, 132]
add w0, w0, 1
str w0, [sp, 132]
b .L510
.L517:
nop
ldr w1, [sp, 132]
ldr w0, [sp, 120]
cmp w1, w0
beq .L511
mov w0, 3007
bl BZ2_bz__AssertH__fail
.L511:
ldr x0, [sp, 56]
ldr w0, [x0, 656]
cmp w0, 2
ble .L518
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 56]
ldr w1, [x0, 116]
ldr w0, [sp, 160]
sub w0, w1, w0
mov w2, w0
adrp x0, .LC16
add x1, x0, :lo12:.LC16
mov x0, x3
bl fprintf
.L518:
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 .L513
bl __stack_chk_fail
.L513:
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x29, x30, [sp], 256
.cfi_restore 30
.cfi_restore 29
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE25:
.size sendMTFValues, .-sendMTFValues
.section .rodata
.align 3
.LC17:
.string " block %d: crc = 0x%8x, combined CRC = 0x%8x, size = %d\n"
.align 3
.LC18:
.string " final combined CRC = 0x%x\n "
.text
.align 2
.global BZ2_compressBlock
.type BZ2_compressBlock, %function
BZ2_compressBlock:
.LFB26:
.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]
ldr w0, [x0, 108]
cmp w0, 0
ble .L520
ldr x0, [sp, 24]
ldr w0, [x0, 648]
mvn w1, w0
ldr x0, [sp, 24]
str w1, [x0, 648]
ldr x0, [sp, 24]
ldr w0, [x0, 652]
ror w1, w0, 31
ldr x0, [sp, 24]
str w1, [x0, 652]
ldr x0, [sp, 24]
ldr w1, [x0, 652]
ldr x0, [sp, 24]
ldr w0, [x0, 648]
eor w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 652]
ldr x0, [sp, 24]
ldr w0, [x0, 660]
cmp w0, 1
ble .L521
ldr x0, [sp, 24]
str wzr, [x0, 116]
.L521:
ldr x0, [sp, 24]
ldr w0, [x0, 656]
cmp w0, 1
ble .L522
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x6, [x0]
ldr x0, [sp, 24]
ldr w1, [x0, 660]
ldr x0, [sp, 24]
ldr w2, [x0, 648]
ldr x0, [sp, 24]
ldr w3, [x0, 652]
ldr x0, [sp, 24]
ldr w0, [x0, 108]
mov w5, w0
mov w4, w3
mov w3, w2
mov w2, w1
adrp x0, .LC17
add x1, x0, :lo12:.LC17
mov x0, x6
bl fprintf
.L522:
ldr x0, [sp, 24]
bl BZ2_blockSort
.L520:
ldr x0, [sp, 24]
ldr x1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 108]
sxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 80]
ldr x0, [sp, 24]
ldr w0, [x0, 660]
cmp w0, 1
bne .L523
ldr x0, [sp, 24]
bl BZ2_bsInitWrite
mov w1, 66
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, 90
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, 104
ldr x0, [sp, 24]
bl bsPutUChar
ldr x0, [sp, 24]
ldr w0, [x0, 664]
and w0, w0, 255
add w0, w0, 48
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
bl bsPutUChar
.L523:
ldr x0, [sp, 24]
ldr w0, [x0, 108]
cmp w0, 0
ble .L524
mov w1, 49
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, 65
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, 89
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, 38
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, 83
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, 89
ldr x0, [sp, 24]
bl bsPutUChar
ldr x0, [sp, 24]
ldr w0, [x0, 648]
mov w1, w0
ldr x0, [sp, 24]
bl bsPutUInt32
mov w2, 0
mov w1, 1
ldr x0, [sp, 24]
bl bsW
ldr x0, [sp, 24]
ldr w0, [x0, 48]
mov w2, w0
mov w1, 24
ldr x0, [sp, 24]
bl bsW
ldr x0, [sp, 24]
bl generateMTFValues
ldr x0, [sp, 24]
bl sendMTFValues
.L524:
ldrb w0, [sp, 23]
cmp w0, 0
beq .L527
mov w1, 23
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, 114
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, 69
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, 56
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, 80
ldr x0, [sp, 24]
bl bsPutUChar
mov w1, -112
ldr x0, [sp, 24]
bl bsPutUChar
ldr x0, [sp, 24]
ldr w0, [x0, 652]
mov w1, w0
ldr x0, [sp, 24]
bl bsPutUInt32
ldr x0, [sp, 24]
ldr w0, [x0, 656]
cmp w0, 1
ble .L526
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 652]
mov w2, w0
adrp x0, .LC18
add x1, x0, :lo12:.LC18
mov x0, x3
bl fprintf
.L526:
ldr x0, [sp, 24]
bl bsFinishWrite
.L527:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE26:
.size BZ2_compressBlock, .-BZ2_compressBlock
.align 2
.type makeMaps_d, %function
makeMaps_d:
.LFB27:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
str wzr, [x0, 3192]
str wzr, [sp, 28]
b .L529
.L531:
ldr x1, [sp, 8]
ldrsw x0, [sp, 28]
add x0, x1, x0
ldrb w0, [x0, 3196]
cmp w0, 0
beq .L530
ldr x0, [sp, 8]
ldr w0, [x0, 3192]
ldr w1, [sp, 28]
and w2, w1, 255
ldr x1, [sp, 8]
sxtw x0, w0
add x0, x1, x0
mov w1, w2
strb w1, [x0, 3468]
ldr x0, [sp, 8]
ldr w0, [x0, 3192]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 3192]
.L530:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L529:
ldr w0, [sp, 28]
cmp w0, 255
ble .L531
nop
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE27:
.size makeMaps_d, .-makeMaps_d
.section .rodata
.align 3
.LC19:
.string "\n [%d: huff+mtf "
.align 3
.LC20:
.string "rt+rld"
.text
.align 2
.global BZ2_decompress
.type BZ2_decompress, %function
BZ2_decompress:
.LFB28:
.cfi_startproc
stp x29, x30, [sp, -400]!
.cfi_def_cfa_offset 400
.cfi_offset 29, -400
.cfi_offset 30, -392
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, 392]
mov x1, 0
ldr x0, [sp, 24]
ldr x0, [x0]
str x0, [sp, 376]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
cmp w0, 10
bne .L533
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14884]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14888]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14892]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14896]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14900]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14904]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14908]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14912]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14916]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14920]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14924]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14928]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14932]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14936]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14940]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14944]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14948]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14952]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14956]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14960]
ldr x0, [sp, 24]
add x0, x0, 49152
str wzr, [x0, 14964]
ldr x0, [sp, 24]
add x0, x0, 32768
str xzr, [x0, 31352]
ldr x0, [sp, 24]
add x0, x0, 32768
str xzr, [x0, 31360]
ldr x0, [sp, 24]
add x0, x0, 32768
str xzr, [x0, 31368]
.L533:
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14884]
str w0, [sp, 56]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14888]
str w0, [sp, 60]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14892]
str w0, [sp, 64]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14896]
str w0, [sp, 68]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14900]
str w0, [sp, 72]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14904]
str w0, [sp, 76]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14908]
str w0, [sp, 80]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14912]
str w0, [sp, 84]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14916]
str w0, [sp, 88]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14920]
str w0, [sp, 92]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14924]
str w0, [sp, 96]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14928]
str w0, [sp, 100]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14932]
str w0, [sp, 104]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14936]
str w0, [sp, 108]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14940]
str w0, [sp, 112]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14944]
str w0, [sp, 172]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14948]
str w0, [sp, 116]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14952]
str w0, [sp, 120]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14956]
str w0, [sp, 124]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14960]
str w0, [sp, 128]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14964]
str w0, [sp, 132]
ldr x0, [sp, 24]
add x0, x0, 32768
ldr x0, [x0, 31352]
str x0, [sp, 352]
ldr x0, [sp, 24]
add x0, x0, 32768
ldr x0, [x0, 31360]
str x0, [sp, 360]
ldr x0, [sp, 24]
add x0, x0, 32768
ldr x0, [x0, 31368]
str x0, [sp, 368]
str wzr, [sp, 44]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
sub w0, w0, #10
cmp w0, 40
bhi .L919
adrp x1, .L536
add x1, x1, :lo12:.L536
ldr w0, [x1,w0,uxtw #2]
adr x1, .Lrtx536
add x0, x1, w0, sxtw #2
br x0
.Lrtx536:
.section .rodata
.align 0
.align 2
.L536:
.word (.L576 - .Lrtx536) / 4
.word (.L575 - .Lrtx536) / 4
.word (.L574 - .Lrtx536) / 4
.word (.L573 - .Lrtx536) / 4
.word (.L572 - .Lrtx536) / 4
.word (.L571 - .Lrtx536) / 4
.word (.L570 - .Lrtx536) / 4
.word (.L569 - .Lrtx536) / 4
.word (.L568 - .Lrtx536) / 4
.word (.L567 - .Lrtx536) / 4
.word (.L566 - .Lrtx536) / 4
.word (.L565 - .Lrtx536) / 4
.word (.L564 - .Lrtx536) / 4
.word (.L563 - .Lrtx536) / 4
.word (.L562 - .Lrtx536) / 4
.word (.L561 - .Lrtx536) / 4
.word (.L560 - .Lrtx536) / 4
.word (.L559 - .Lrtx536) / 4
.word (.L558 - .Lrtx536) / 4
.word (.L557 - .Lrtx536) / 4
.word (.L556 - .Lrtx536) / 4
.word (.L555 - .Lrtx536) / 4
.word (.L720 - .Lrtx536) / 4
.word (.L553 - .Lrtx536) / 4
.word (.L552 - .Lrtx536) / 4
.word (.L551 - .Lrtx536) / 4
.word (.L550 - .Lrtx536) / 4
.word (.L549 - .Lrtx536) / 4
.word (.L548 - .Lrtx536) / 4
.word (.L547 - .Lrtx536) / 4
.word (.L546 - .Lrtx536) / 4
.word (.L545 - .Lrtx536) / 4
.word (.L544 - .Lrtx536) / 4
.word (.L543 - .Lrtx536) / 4
.word (.L542 - .Lrtx536) / 4
.word (.L541 - .Lrtx536) / 4
.word (.L540 - .Lrtx536) / 4
.word (.L539 - .Lrtx536) / 4
.word (.L538 - .Lrtx536) / 4
.word (.L537 - .Lrtx536) / 4
.word (.L535 - .Lrtx536) / 4
.text
.L576:
ldr x0, [sp, 24]
mov w1, 10
str w1, [x0, 8]
.L582:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L577
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 176]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 176]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 66
beq .L575
b .L920
.L577:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L579
str wzr, [sp, 44]
b .L580
.L579:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L582
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L582
.L920:
mov w0, -5
str w0, [sp, 44]
b .L580
.L575:
ldr x0, [sp, 24]
mov w1, 11
str w1, [x0, 8]
.L587:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L583
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 180]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 180]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 90
beq .L574
b .L921
.L583:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L585
str wzr, [sp, 44]
b .L580
.L585:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L587
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L587
.L921:
mov w0, -5
str w0, [sp, 44]
b .L580
.L574:
ldr x0, [sp, 24]
mov w1, 12
str w1, [x0, 8]
.L592:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L588
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 184]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 184]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 104
beq .L573
b .L922
.L588:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L590
str wzr, [sp, 44]
b .L580
.L590:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L592
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L592
.L922:
mov w0, -5
str w0, [sp, 44]
b .L580
.L573:
ldr x0, [sp, 24]
mov w1, 13
str w1, [x0, 8]
.L597:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L593
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 188]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w1, [sp, 188]
ldr x0, [sp, 24]
str w1, [x0, 40]
ldr x0, [sp, 24]
ldr w0, [x0, 40]
cmp w0, 48
ble .L598
b .L923
.L593:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L595
str wzr, [sp, 44]
b .L580
.L595:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L597
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L597
.L923:
ldr x0, [sp, 24]
ldr w0, [x0, 40]
cmp w0, 57
ble .L599
.L598:
mov w0, -5
str w0, [sp, 44]
b .L580
.L599:
ldr x0, [sp, 24]
ldr w0, [x0, 40]
sub w1, w0, #48
ldr x0, [sp, 24]
str w1, [x0, 40]
ldr x0, [sp, 24]
ldrb w0, [x0, 44]
cmp w0, 0
beq .L600
ldr x0, [sp, 376]
ldr x3, [x0, 56]
ldr x0, [sp, 376]
ldr x4, [x0, 72]
ldr x0, [sp, 24]
ldr w1, [x0, 40]
mov w0, 34464
movk w0, 0x1, lsl 16
mul w0, w1, w0
sxtw x0, w0
lsl w0, w0, 1
mov w2, 1
mov w1, w0
mov x0, x4
blr x3
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 3160]
ldr x0, [sp, 376]
ldr x3, [x0, 56]
ldr x0, [sp, 376]
ldr x4, [x0, 72]
ldr x0, [sp, 24]
ldr w1, [x0, 40]
mov w0, 34464
movk w0, 0x1, lsl 16
mul w0, w1, w0
add w0, w0, 1
asr w0, w0, 1
mov w2, 1
mov w1, w0
mov x0, x4
blr x3
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 3168]
ldr x0, [sp, 24]
ldr x0, [x0, 3160]
cmp x0, 0
beq .L601
ldr x0, [sp, 24]
ldr x0, [x0, 3168]
cmp x0, 0
bne .L572
.L601:
mov w0, -3
str w0, [sp, 44]
b .L580
.L600:
ldr x0, [sp, 376]
ldr x3, [x0, 56]
ldr x0, [sp, 376]
ldr x4, [x0, 72]
ldr x0, [sp, 24]
ldr w1, [x0, 40]
mov w0, 34464
movk w0, 0x1, lsl 16
mul w0, w1, w0
sxtw x0, w0
lsl w0, w0, 2
mov w2, 1
mov w1, w0
mov x0, x4
blr x3
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 3152]
ldr x0, [sp, 24]
ldr x0, [x0, 3152]
cmp x0, 0
bne .L572
mov w0, -3
str w0, [sp, 44]
b .L580
.L572:
ldr x0, [sp, 24]
mov w1, 14
str w1, [x0, 8]
.L606:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L602
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 192]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 192]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 23
bne .L607
b .L544
.L602:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L604
str wzr, [sp, 44]
b .L580
.L604:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L606
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L606
.L607:
ldrb w0, [sp, 41]
cmp w0, 49
beq .L571
mov w0, -4
str w0, [sp, 44]
b .L580
.L571:
ldr x0, [sp, 24]
mov w1, 15
str w1, [x0, 8]
.L613:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L609
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 196]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 196]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 65
beq .L570
b .L924
.L609:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L611
str wzr, [sp, 44]
b .L580
.L611:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L613
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L613
.L924:
mov w0, -4
str w0, [sp, 44]
b .L580
.L570:
ldr x0, [sp, 24]
mov w1, 16
str w1, [x0, 8]
.L618:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L614
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 200]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 200]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 89
beq .L569
b .L925
.L614:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L616
str wzr, [sp, 44]
b .L580
.L616:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L618
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L618
.L925:
mov w0, -4
str w0, [sp, 44]
b .L580
.L569:
ldr x0, [sp, 24]
mov w1, 17
str w1, [x0, 8]
.L623:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L619
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 204]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 204]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 38
beq .L568
b .L926
.L619:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L621
str wzr, [sp, 44]
b .L580
.L621:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L623
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L623
.L926:
mov w0, -4
str w0, [sp, 44]
b .L580
.L568:
ldr x0, [sp, 24]
mov w1, 18
str w1, [x0, 8]
.L628:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L624
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 208]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 208]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 83
beq .L567
b .L927
.L624:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L626
str wzr, [sp, 44]
b .L580
.L626:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L628
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L628
.L927:
mov w0, -4
str w0, [sp, 44]
b .L580
.L567:
ldr x0, [sp, 24]
mov w1, 19
str w1, [x0, 8]
.L633:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L629
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 212]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 212]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 89
beq .L634
b .L928
.L629:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L631
str wzr, [sp, 44]
b .L580
.L631:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L633
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L633
.L928:
mov w0, -4
str w0, [sp, 44]
b .L580
.L634:
ldr x0, [sp, 24]
ldr w0, [x0, 48]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 48]
ldr x0, [sp, 24]
ldr w0, [x0, 52]
cmp w0, 1
ble .L635
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 48]
mov w2, w0
adrp x0, .LC19
add x1, x0, :lo12:.LC19
mov x0, x3
bl fprintf
.L635:
ldr x0, [sp, 24]
str wzr, [x0, 3176]
.L566:
ldr x0, [sp, 24]
mov w1, 20
str w1, [x0, 8]
.L640:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L636
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 216]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 216]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr w0, [x0, 3176]
lsl w1, w0, 8
ldrb w0, [sp, 41]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 3176]
b .L565
.L636:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L638
str wzr, [sp, 44]
b .L580
.L638:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L640
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L640
.L565:
ldr x0, [sp, 24]
mov w1, 21
str w1, [x0, 8]
.L645:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L641
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 220]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 220]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr w0, [x0, 3176]
lsl w1, w0, 8
ldrb w0, [sp, 41]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 3176]
b .L564
.L641:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L643
str wzr, [sp, 44]
b .L580
.L643:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L645
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L645
.L564:
ldr x0, [sp, 24]
mov w1, 22
str w1, [x0, 8]
.L650:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L646
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 224]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 224]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr w0, [x0, 3176]
lsl w1, w0, 8
ldrb w0, [sp, 41]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 3176]
b .L563
.L646:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L648
str wzr, [sp, 44]
b .L580
.L648:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L650
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L650
.L563:
ldr x0, [sp, 24]
mov w1, 23
str w1, [x0, 8]
.L655:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L651
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 228]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 228]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr w0, [x0, 3176]
lsl w1, w0, 8
ldrb w0, [sp, 41]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 3176]
b .L562
.L651:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L653
str wzr, [sp, 44]
b .L580
.L653:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L655
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L655
.L562:
ldr x0, [sp, 24]
mov w1, 24
str w1, [x0, 8]
.L660:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 0
ble .L656
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #1
lsr w0, w1, w0
and w0, w0, 1
str w0, [sp, 232]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 232]
and w1, w0, 255
ldr x0, [sp, 24]
strb w1, [x0, 20]
ldr x0, [sp, 24]
str wzr, [x0, 56]
b .L561
.L656:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L658
str wzr, [sp, 44]
b .L580
.L658:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L660
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L660
.L561:
ldr x0, [sp, 24]
mov w1, 25
str w1, [x0, 8]
.L665:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L661
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 236]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 236]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr w0, [x0, 56]
lsl w1, w0, 8
ldrb w0, [sp, 41]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 56]
b .L560
.L661:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L663
str wzr, [sp, 44]
b .L580
.L663:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L665
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L665
.L560:
ldr x0, [sp, 24]
mov w1, 26
str w1, [x0, 8]
.L670:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L666
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 240]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 240]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr w0, [x0, 56]
lsl w1, w0, 8
ldrb w0, [sp, 41]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 56]
b .L559
.L666:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L668
str wzr, [sp, 44]
b .L580
.L668:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L670
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L670
.L559:
ldr x0, [sp, 24]
mov w1, 27
str w1, [x0, 8]
.L675:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L671
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 244]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 244]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr w0, [x0, 56]
lsl w1, w0, 8
ldrb w0, [sp, 41]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 56]
ldr x0, [sp, 24]
ldr w0, [x0, 56]
cmp w0, 0
bge .L676
b .L929
.L671:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L673
str wzr, [sp, 44]
b .L580
.L673:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L675
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L675
.L929:
mov w0, -4
str w0, [sp, 44]
b .L580
.L676:
ldr x0, [sp, 24]
ldr w1, [x0, 56]
ldr x0, [sp, 24]
ldr w2, [x0, 40]
mov w0, 34464
movk w0, 0x1, lsl 16
mul w0, w2, w0
add w0, w0, 10
cmp w1, w0
ble .L677
mov w0, -4
str w0, [sp, 44]
b .L580
.L677:
str wzr, [sp, 56]
b .L678
.L558:
ldr x0, [sp, 24]
mov w1, 28
str w1, [x0, 8]
.L683:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 0
ble .L679
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #1
lsr w0, w1, w0
and w0, w0, 1
str w0, [sp, 312]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 312]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 1
bne .L684
b .L930
.L679:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L681
str wzr, [sp, 44]
b .L580
.L681:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L683
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L683
.L930:
ldr x1, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x1, x0
mov w1, 1
strb w1, [x0, 3452]
b .L685
.L684:
ldr x1, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x1, x0
strb wzr, [x0, 3452]
.L685:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L678:
ldr w0, [sp, 56]
cmp w0, 15
ble .L558
str wzr, [sp, 56]
b .L686
.L687:
ldr x1, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x1, x0
strb wzr, [x0, 3196]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L686:
ldr w0, [sp, 56]
cmp w0, 255
ble .L687
str wzr, [sp, 56]
b .L688
.L697:
ldr x1, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x1, x0
ldrb w0, [x0, 3452]
cmp w0, 0
beq .L689
str wzr, [sp, 60]
b .L690
.L557:
ldr x0, [sp, 24]
mov w1, 29
str w1, [x0, 8]
.L695:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 0
ble .L691
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #1
lsr w0, w1, w0
and w0, w0, 1
str w0, [sp, 308]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 308]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 1
bne .L696
b .L931
.L691:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L693
str wzr, [sp, 44]
b .L580
.L693:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L695
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L695
.L931:
ldr w0, [sp, 56]
lsl w1, w0, 4
ldr w0, [sp, 60]
add w0, w1, w0
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
mov w1, 1
strb w1, [x0, 3196]
.L696:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L690:
ldr w0, [sp, 60]
cmp w0, 15
ble .L557
.L689:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L688:
ldr w0, [sp, 56]
cmp w0, 15
ble .L697
ldr x0, [sp, 24]
bl makeMaps_d
ldr x0, [sp, 24]
ldr w0, [x0, 3192]
cmp w0, 0
bne .L698
mov w0, -4
str w0, [sp, 44]
b .L580
.L698:
ldr x0, [sp, 24]
ldr w0, [x0, 3192]
add w0, w0, 2
str w0, [sp, 68]
.L556:
ldr x0, [sp, 24]
mov w1, 30
str w1, [x0, 8]
.L703:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 2
ble .L699
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #3
lsr w0, w1, w0
and w0, w0, 7
str w0, [sp, 248]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #3
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 248]
str w0, [sp, 72]
ldr w0, [sp, 72]
cmp w0, 1
ble .L704
b .L932
.L699:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L701
str wzr, [sp, 44]
b .L580
.L701:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L703
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L703
.L932:
ldr w0, [sp, 72]
cmp w0, 6
ble .L555
.L704:
mov w0, -4
str w0, [sp, 44]
b .L580
.L555:
ldr x0, [sp, 24]
mov w1, 31
str w1, [x0, 8]
.L709:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 14
ble .L705
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #15
lsr w0, w1, w0
and w0, w0, 32767
str w0, [sp, 252]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #15
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 252]
str w0, [sp, 76]
ldr w0, [sp, 76]
cmp w0, 0
bgt .L710
b .L933
.L705:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L707
str wzr, [sp, 44]
b .L580
.L707:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L709
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L709
.L933:
mov w0, -4
str w0, [sp, 44]
b .L580
.L710:
str wzr, [sp, 56]
b .L711
.L721:
str wzr, [sp, 60]
.L720:
ldr x0, [sp, 24]
mov w1, 32
str w1, [x0, 8]
.L716:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 0
ble .L712
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #1
lsr w0, w1, w0
and w0, w0, 1
str w0, [sp, 304]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 304]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 0
bne .L717
b .L934
.L712:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L714
str wzr, [sp, 44]
b .L580
.L714:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L716
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L716
.L717:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
ldr w1, [sp, 60]
ldr w0, [sp, 72]
cmp w1, w0
blt .L720
mov w0, -4
str w0, [sp, 44]
b .L580
.L934:
ldr w0, [sp, 60]
and w2, w0, 255
ldr x1, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x1, x0
add x0, x0, 24576
mov w1, w2
strb w1, [x0, 1310]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L711:
ldr w1, [sp, 56]
ldr w0, [sp, 76]
cmp w1, w0
blt .L721
strb wzr, [sp, 42]
b .L722
.L723:
ldrb w0, [sp, 42]
sxtw x0, w0
add x1, sp, 384
ldrb w2, [sp, 42]
strb w2, [x1, x0]
ldrb w0, [sp, 42]
add w0, w0, 1
strb w0, [sp, 42]
.L722:
ldrb w0, [sp, 42]
ldr w1, [sp, 72]
cmp w1, w0
bgt .L723
str wzr, [sp, 56]
b .L724
.L727:
ldr x1, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x1, x0
add x0, x0, 24576
ldrb w0, [x0, 1310]
strb w0, [sp, 42]
ldrb w0, [sp, 42]
sxtw x0, w0
add x1, sp, 384
ldrb w0, [x1, x0]
strb w0, [sp, 43]
b .L725
.L726:
ldrb w0, [sp, 42]
sub w0, w0, #1
ldrb w3, [sp, 42]
sxtw x0, w0
add x1, sp, 384
ldrb w2, [x1, x0]
sxtw x0, w3
add x1, sp, 384
strb w2, [x1, x0]
ldrb w0, [sp, 42]
sub w0, w0, #1
strb w0, [sp, 42]
.L725:
ldrb w0, [sp, 42]
cmp w0, 0
bne .L726
ldrb w0, [sp, 43]
strb w0, [sp, 384]
ldr x1, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x1, x0
add x0, x0, 4096
ldrb w1, [sp, 43]
strb w1, [x0, 3788]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L724:
ldr w1, [sp, 56]
ldr w0, [sp, 76]
cmp w1, w0
blt .L727
str wzr, [sp, 64]
b .L728
.L553:
ldr x0, [sp, 24]
mov w1, 33
str w1, [x0, 8]
.L733:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 4
ble .L729
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #5
lsr w0, w1, w0
and w0, w0, 31
str w0, [sp, 292]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #5
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 292]
str w0, [sp, 112]
str wzr, [sp, 56]
b .L734
.L729:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L731
str wzr, [sp, 44]
b .L580
.L731:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L733
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L733
.L749:
ldr w0, [sp, 112]
cmp w0, 0
ble .L735
ldr w0, [sp, 112]
cmp w0, 20
ble .L552
.L735:
mov w0, -4
str w0, [sp, 44]
b .L580
.L552:
ldr x0, [sp, 24]
mov w1, 34
str w1, [x0, 8]
.L740:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 0
ble .L736
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #1
lsr w0, w1, w0
and w0, w0, 1
str w0, [sp, 296]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 296]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 0
bne .L551
b .L935
.L736:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L738
str wzr, [sp, 44]
b .L580
.L738:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L740
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L740
.L551:
ldr x0, [sp, 24]
mov w1, 35
str w1, [x0, 8]
.L746:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 0
ble .L742
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #1
lsr w0, w1, w0
and w0, w0, 1
str w0, [sp, 300]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 300]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 0
bne .L747
b .L936
.L742:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L744
str wzr, [sp, 44]
b .L580
.L744:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L746
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L746
.L936:
ldr w0, [sp, 112]
add w0, w0, 1
str w0, [sp, 112]
b .L749
.L747:
ldr w0, [sp, 112]
sub w0, w0, #1
str w0, [sp, 112]
b .L749
.L935:
ldr w0, [sp, 112]
and w4, w0, 255
ldr x3, [sp, 24]
ldrsw x2, [sp, 56]
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 40960
mov w1, w4
strb w1, [x0, 2928]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L734:
ldr w1, [sp, 56]
ldr w0, [sp, 68]
cmp w1, w0
blt .L749
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L728:
ldr w1, [sp, 64]
ldr w0, [sp, 72]
cmp w1, w0
blt .L553
str wzr, [sp, 64]
b .L750
.L755:
mov w0, 32
str w0, [sp, 48]
str wzr, [sp, 52]
str wzr, [sp, 56]
b .L751
.L754:
ldr x3, [sp, 24]
ldrsw x2, [sp, 56]
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 40960
ldrb w0, [x0, 2928]
mov w1, w0
ldr w0, [sp, 52]
cmp w0, w1
bge .L752
ldr x3, [sp, 24]
ldrsw x2, [sp, 56]
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 40960
ldrb w0, [x0, 2928]
str w0, [sp, 52]
.L752:
ldr x3, [sp, 24]
ldrsw x2, [sp, 56]
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 40960
ldrb w0, [x0, 2928]
mov w1, w0
ldr w0, [sp, 48]
cmp w0, w1
ble .L753
ldr x3, [sp, 24]
ldrsw x2, [sp, 56]
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
add x0, x3, x0
add x0, x0, x2
add x0, x0, 40960
ldrb w0, [x0, 2928]
str w0, [sp, 48]
.L753:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L751:
ldr w1, [sp, 56]
ldr w0, [sp, 68]
cmp w1, w0
blt .L754
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 45424
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x7, x0, 12
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 51616
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x8, x0, 12
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 57808
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x2, x0, 12
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 1
mov x1, 43888
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
ldr w6, [sp, 68]
ldr w5, [sp, 52]
ldr w4, [sp, 48]
mov x3, x0
mov x1, x8
mov x0, x7
bl BZ2_hbCreateDecodeTables
ldr x1, [sp, 24]
ldrsw x2, [sp, 64]
mov x0, 16000
add x0, x2, x0
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [sp, 48]
str w1, [x0, 12]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L750:
ldr w1, [sp, 64]
ldr w0, [sp, 72]
cmp w1, w0
blt .L755
ldr x0, [sp, 24]
ldr w0, [x0, 3192]
add w0, w0, 1
str w0, [sp, 80]
ldr x0, [sp, 24]
ldr w1, [x0, 40]
mov w0, 34464
movk w0, 0x1, lsl 16
mul w0, w1, w0
str w0, [sp, 96]
mov w0, -1
str w0, [sp, 84]
str wzr, [sp, 88]
str wzr, [sp, 56]
b .L756
.L757:
ldr x1, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x0, 16
lsl x0, x0, 2
add x0, x1, x0
str wzr, [x0, 4]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L756:
ldr w0, [sp, 56]
cmp w0, 255
ble .L757
mov w0, 4095
str w0, [sp, 144]
mov w0, 15
str w0, [sp, 136]
b .L758
.L761:
mov w0, 15
str w0, [sp, 140]
b .L759
.L760:
ldr w0, [sp, 136]
and w0, w0, 255
ubfiz w0, w0, 4, 4
and w1, w0, 255
ldr w0, [sp, 140]
and w0, w0, 255
add w0, w1, w0
and w2, w0, 255
ldr x1, [sp, 24]
ldrsw x0, [sp, 144]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 3724]
ldr w0, [sp, 144]
sub w0, w0, #1
str w0, [sp, 144]
ldr w0, [sp, 140]
sub w0, w0, #1
str w0, [sp, 140]
.L759:
ldr w0, [sp, 140]
cmp w0, 0
bge .L760
ldr w0, [sp, 144]
add w1, w0, 1
ldr x2, [sp, 24]
ldrsw x0, [sp, 136]
add x0, x0, 1952
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 12]
ldr w0, [sp, 136]
sub w0, w0, #1
str w0, [sp, 136]
.L758:
ldr w0, [sp, 136]
cmp w0, 0
bge .L761
str wzr, [sp, 100]
ldr w0, [sp, 88]
cmp w0, 0
bne .L762
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
ldr w1, [sp, 84]
ldr w0, [sp, 76]
cmp w1, w0
blt .L763
mov w0, -4
str w0, [sp, 44]
b .L580
.L763:
mov w0, 50
str w0, [sp, 88]
ldr x1, [sp, 24]
ldrsw x0, [sp, 84]
add x0, x1, x0
add x0, x0, 4096
ldrb w0, [x0, 3788]
str w0, [sp, 128]
ldr x1, [sp, 24]
ldrsw x2, [sp, 128]
mov x0, 16000
add x0, x2, x0
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
str w0, [sp, 132]
ldrsw x1, [sp, 128]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 45424
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x0, x0, 12
str x0, [sp, 352]
ldrsw x1, [sp, 128]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 57808
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x0, x0, 12
str x0, [sp, 368]
ldrsw x1, [sp, 128]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 51616
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x0, x0, 12
str x0, [sp, 360]
.L762:
ldr w0, [sp, 88]
sub w0, w0, #1
str w0, [sp, 88]
ldr w0, [sp, 132]
str w0, [sp, 116]
.L550:
ldr x0, [sp, 24]
mov w1, 36
str w1, [x0, 8]
.L768:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
ldr w1, [sp, 116]
cmp w1, w0
bgt .L764
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w2, [x0, 36]
ldr w0, [sp, 116]
sub w0, w2, w0
lsr w0, w1, w0
ldr w1, [sp, 116]
mov w2, 1
lsl w1, w2, w1
sub w1, w1, #1
and w0, w0, w1
str w0, [sp, 256]
ldr x0, [sp, 24]
ldr w1, [x0, 36]
ldr w0, [sp, 116]
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 256]
str w0, [sp, 120]
b .L765
.L764:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L766
str wzr, [sp, 44]
b .L580
.L766:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L768
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L768
.L765:
ldr w0, [sp, 116]
cmp w0, 20
ble .L769
mov w0, -4
str w0, [sp, 44]
b .L580
.L769:
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 352]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
cmp w1, w0
ble .L937
ldr w0, [sp, 116]
add w0, w0, 1
str w0, [sp, 116]
.L549:
ldr x0, [sp, 24]
mov w1, 37
str w1, [x0, 8]
.L776:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 0
ble .L772
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #1
lsr w0, w1, w0
and w0, w0, 1
str w0, [sp, 260]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 260]
str w0, [sp, 124]
ldr w0, [sp, 120]
lsl w0, w0, 1
ldr w1, [sp, 124]
orr w0, w1, w0
str w0, [sp, 120]
b .L765
.L772:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L774
str wzr, [sp, 44]
b .L580
.L774:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L776
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L776
.L937:
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 360]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
sub w0, w1, w0
cmp w0, 0
blt .L777
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 360]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
sub w0, w1, w0
cmp w0, 257
ble .L778
.L777:
mov w0, -4
str w0, [sp, 44]
b .L580
.L778:
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 360]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 368]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 92]
.L846:
ldr w1, [sp, 92]
ldr w0, [sp, 80]
cmp w1, w0
beq .L946
ldr w0, [sp, 92]
cmp w0, 0
beq .L781
ldr w0, [sp, 92]
cmp w0, 1
bne .L782
.L781:
mov w0, -1
str w0, [sp, 104]
mov w0, 1
str w0, [sp, 108]
.L802:
ldr w0, [sp, 92]
cmp w0, 0
bne .L783
ldr w1, [sp, 104]
ldr w0, [sp, 108]
add w0, w1, w0
str w0, [sp, 104]
b .L784
.L783:
ldr w0, [sp, 92]
cmp w0, 1
bne .L784
ldr w0, [sp, 108]
lsl w0, w0, 1
ldr w1, [sp, 104]
add w0, w1, w0
str w0, [sp, 104]
.L784:
ldr w0, [sp, 108]
lsl w0, w0, 1
str w0, [sp, 108]
ldr w0, [sp, 88]
cmp w0, 0
bne .L785
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
ldr w1, [sp, 84]
ldr w0, [sp, 76]
cmp w1, w0
blt .L786
mov w0, -4
str w0, [sp, 44]
b .L580
.L786:
mov w0, 50
str w0, [sp, 88]
ldr x1, [sp, 24]
ldrsw x0, [sp, 84]
add x0, x1, x0
add x0, x0, 4096
ldrb w0, [x0, 3788]
str w0, [sp, 128]
ldr x1, [sp, 24]
ldrsw x2, [sp, 128]
mov x0, 16000
add x0, x2, x0
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
str w0, [sp, 132]
ldrsw x1, [sp, 128]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 45424
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x0, x0, 12
str x0, [sp, 352]
ldrsw x1, [sp, 128]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 57808
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x0, x0, 12
str x0, [sp, 368]
ldrsw x1, [sp, 128]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 51616
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x0, x0, 12
str x0, [sp, 360]
.L785:
ldr w0, [sp, 88]
sub w0, w0, #1
str w0, [sp, 88]
ldr w0, [sp, 132]
str w0, [sp, 116]
.L548:
ldr x0, [sp, 24]
mov w1, 38
str w1, [x0, 8]
.L791:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
ldr w1, [sp, 116]
cmp w1, w0
bgt .L787
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w2, [x0, 36]
ldr w0, [sp, 116]
sub w0, w2, w0
lsr w0, w1, w0
ldr w1, [sp, 116]
mov w2, 1
lsl w1, w2, w1
sub w1, w1, #1
and w0, w0, w1
str w0, [sp, 284]
ldr x0, [sp, 24]
ldr w1, [x0, 36]
ldr w0, [sp, 116]
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 284]
str w0, [sp, 120]
b .L788
.L787:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L789
str wzr, [sp, 44]
b .L580
.L789:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L791
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L791
.L788:
ldr w0, [sp, 116]
cmp w0, 20
ble .L792
mov w0, -4
str w0, [sp, 44]
b .L580
.L792:
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 352]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
cmp w1, w0
ble .L939
ldr w0, [sp, 116]
add w0, w0, 1
str w0, [sp, 116]
.L547:
ldr x0, [sp, 24]
mov w1, 39
str w1, [x0, 8]
.L799:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 0
ble .L795
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #1
lsr w0, w1, w0
and w0, w0, 1
str w0, [sp, 288]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 288]
str w0, [sp, 124]
ldr w0, [sp, 120]
lsl w0, w0, 1
ldr w1, [sp, 124]
orr w0, w1, w0
str w0, [sp, 120]
b .L788
.L795:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L797
str wzr, [sp, 44]
b .L580
.L797:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L799
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L799
.L939:
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 360]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
sub w0, w1, w0
cmp w0, 0
blt .L800
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 360]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
sub w0, w1, w0
cmp w0, 257
ble .L801
.L800:
mov w0, -4
str w0, [sp, 44]
b .L580
.L801:
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 360]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 368]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 92]
ldr w0, [sp, 92]
cmp w0, 0
beq .L802
ldr w0, [sp, 92]
cmp w0, 1
beq .L802
ldr w0, [sp, 104]
add w0, w0, 1
str w0, [sp, 104]
ldr x0, [sp, 24]
ldr w0, [x0, 7820]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 3724]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 3468]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x0, 16
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0, 4]
ldrb w3, [sp, 41]
ldr w0, [sp, 104]
add w1, w1, w0
ldr x2, [sp, 24]
sxtw x0, w3
add x0, x0, 16
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 4]
ldr x0, [sp, 24]
ldrb w0, [x0, 44]
cmp w0, 0
beq .L808
b .L804
.L806:
ldr w1, [sp, 100]
ldr w0, [sp, 96]
cmp w1, w0
blt .L805
mov w0, -4
str w0, [sp, 44]
b .L580
.L805:
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldrsw x0, [sp, 100]
lsl x0, x0, 1
add x0, x1, x0
ldrb w1, [sp, 41]
and w1, w1, 65535
strh w1, [x0]
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
ldr w0, [sp, 104]
sub w0, w0, #1
str w0, [sp, 104]
.L804:
ldr w0, [sp, 104]
cmp w0, 0
bgt .L806
b .L811
.L810:
ldr w1, [sp, 100]
ldr w0, [sp, 96]
cmp w1, w0
blt .L809
mov w0, -4
str w0, [sp, 44]
b .L580
.L809:
ldr x0, [sp, 24]
ldr x1, [x0, 3152]
ldrsw x0, [sp, 100]
lsl x0, x0, 2
add x0, x1, x0
ldrb w1, [sp, 41]
str w1, [x0]
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
ldr w0, [sp, 104]
sub w0, w0, #1
str w0, [sp, 104]
.L808:
ldr w0, [sp, 104]
cmp w0, 0
bgt .L810
b .L811
.L782:
ldr w1, [sp, 100]
ldr w0, [sp, 96]
cmp w1, w0
blt .L812
mov w0, -4
str w0, [sp, 44]
b .L580
.L812:
ldr w0, [sp, 92]
sub w0, w0, #1
str w0, [sp, 168]
ldr w0, [sp, 168]
cmp w0, 15
bhi .L813
ldr x0, [sp, 24]
ldr w0, [x0, 7820]
str w0, [sp, 160]
ldr w1, [sp, 160]
ldr w0, [sp, 168]
add w0, w1, w0
ldr x1, [sp, 24]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 3724]
strb w0, [sp, 41]
b .L814
.L815:
ldr w1, [sp, 160]
ldr w0, [sp, 168]
add w0, w1, w0
str w0, [sp, 268]
ldr w0, [sp, 268]
sub w0, w0, #1
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
ldrb w2, [x0, 3724]
ldr x1, [sp, 24]
ldrsw x0, [sp, 268]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 3724]
ldr w0, [sp, 268]
sub w2, w0, #2
ldr w0, [sp, 268]
sub w3, w0, #1
ldr x1, [sp, 24]
sxtw x0, w2
add x0, x1, x0
ldrb w2, [x0, 3724]
ldr x1, [sp, 24]
sxtw x0, w3
add x0, x1, x0
mov w1, w2
strb w1, [x0, 3724]
ldr w0, [sp, 268]
sub w2, w0, #3
ldr w0, [sp, 268]
sub w3, w0, #2
ldr x1, [sp, 24]
sxtw x0, w2
add x0, x1, x0
ldrb w2, [x0, 3724]
ldr x1, [sp, 24]
sxtw x0, w3
add x0, x1, x0
mov w1, w2
strb w1, [x0, 3724]
ldr w0, [sp, 268]
sub w2, w0, #4
ldr w0, [sp, 268]
sub w3, w0, #3
ldr x1, [sp, 24]
sxtw x0, w2
add x0, x1, x0
ldrb w2, [x0, 3724]
ldr x1, [sp, 24]
sxtw x0, w3
add x0, x1, x0
mov w1, w2
strb w1, [x0, 3724]
ldr w0, [sp, 168]
sub w0, w0, #4
str w0, [sp, 168]
.L814:
ldr w0, [sp, 168]
cmp w0, 3
bhi .L815
b .L816
.L817:
ldr w1, [sp, 160]
ldr w0, [sp, 168]
add w0, w1, w0
sub w2, w0, #1
ldr w1, [sp, 160]
ldr w0, [sp, 168]
add w3, w1, w0
ldr x1, [sp, 24]
uxtw x0, w2
add x0, x1, x0
ldrb w2, [x0, 3724]
ldr x1, [sp, 24]
uxtw x0, w3
add x0, x1, x0
mov w1, w2
strb w1, [x0, 3724]
ldr w0, [sp, 168]
sub w0, w0, #1
str w0, [sp, 168]
.L816:
ldr w0, [sp, 168]
cmp w0, 0
bne .L817
ldr x1, [sp, 24]
ldrsw x0, [sp, 160]
add x0, x1, x0
ldrb w1, [sp, 41]
strb w1, [x0, 3724]
b .L818
.L813:
ldr w0, [sp, 168]
lsr w0, w0, 4
str w0, [sp, 164]
ldr w0, [sp, 168]
and w0, w0, 15
str w0, [sp, 264]
ldr x1, [sp, 24]
ldrsw x0, [sp, 164]
add x0, x0, 1952
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
ldr w1, [sp, 264]
add w0, w1, w0
str w0, [sp, 160]
ldr x1, [sp, 24]
ldrsw x0, [sp, 160]
add x0, x1, x0
ldrb w0, [x0, 3724]
strb w0, [sp, 41]
b .L819
.L820:
ldr w0, [sp, 160]
sub w0, w0, #1
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
ldrb w2, [x0, 3724]
ldr x1, [sp, 24]
ldrsw x0, [sp, 160]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 3724]
ldr w0, [sp, 160]
sub w0, w0, #1
str w0, [sp, 160]
.L819:
ldr x1, [sp, 24]
ldrsw x0, [sp, 164]
add x0, x0, 1952
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
ldr w1, [sp, 160]
cmp w1, w0
bgt .L820
ldr x1, [sp, 24]
ldrsw x0, [sp, 164]
add x0, x0, 1952
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
add w1, w0, 1
ldr x2, [sp, 24]
ldrsw x0, [sp, 164]
add x0, x0, 1952
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 12]
b .L821
.L822:
ldr x1, [sp, 24]
ldrsw x0, [sp, 164]
add x0, x0, 1952
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
sub w1, w0, #1
ldr x2, [sp, 24]
ldrsw x0, [sp, 164]
add x0, x0, 1952
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 12]
ldr w0, [sp, 164]
sub w0, w0, #1
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x0, 1952
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
add w2, w0, 15
ldr x1, [sp, 24]
ldrsw x0, [sp, 164]
add x0, x0, 1952
lsl x0, x0, 2
add x0, x1, x0
ldr w3, [x0, 12]
ldr x1, [sp, 24]
sxtw x0, w2
add x0, x1, x0
ldrb w2, [x0, 3724]
ldr x1, [sp, 24]
sxtw x0, w3
add x0, x1, x0
mov w1, w2
strb w1, [x0, 3724]
ldr w0, [sp, 164]
sub w0, w0, #1
str w0, [sp, 164]
.L821:
ldr w0, [sp, 164]
cmp w0, 0
bgt .L822
ldr x0, [sp, 24]
ldr w0, [x0, 7820]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 7820]
ldr x0, [sp, 24]
ldr w0, [x0, 7820]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 41]
strb w1, [x0, 3724]
ldr x0, [sp, 24]
ldr w0, [x0, 7820]
cmp w0, 0
bne .L818
mov w0, 4095
str w0, [sp, 156]
mov w0, 15
str w0, [sp, 148]
b .L823
.L826:
mov w0, 15
str w0, [sp, 152]
b .L824
.L825:
ldr x1, [sp, 24]
ldrsw x0, [sp, 148]
add x0, x0, 1952
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0, 12]
ldr w0, [sp, 152]
add w0, w1, w0
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
ldrb w2, [x0, 3724]
ldr x1, [sp, 24]
ldrsw x0, [sp, 156]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 3724]
ldr w0, [sp, 156]
sub w0, w0, #1
str w0, [sp, 156]
ldr w0, [sp, 152]
sub w0, w0, #1
str w0, [sp, 152]
.L824:
ldr w0, [sp, 152]
cmp w0, 0
bge .L825
ldr w0, [sp, 156]
add w1, w0, 1
ldr x2, [sp, 24]
ldrsw x0, [sp, 148]
add x0, x0, 1952
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 12]
ldr w0, [sp, 148]
sub w0, w0, #1
str w0, [sp, 148]
.L823:
ldr w0, [sp, 148]
cmp w0, 0
bge .L826
.L818:
ldrb w0, [sp, 41]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 3468]
mov w3, w0
ldr x1, [sp, 24]
sxtw x0, w3
add x0, x0, 16
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 4]
add w1, w0, 1
ldr x2, [sp, 24]
sxtw x0, w3
add x0, x0, 16
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 4]
ldr x0, [sp, 24]
ldrb w0, [x0, 44]
cmp w0, 0
beq .L827
ldrb w0, [sp, 41]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
ldrb w2, [x0, 3468]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldrsw x0, [sp, 100]
lsl x0, x0, 1
add x0, x1, x0
and w1, w2, 65535
strh w1, [x0]
b .L828
.L827:
ldrb w0, [sp, 41]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
ldrb w2, [x0, 3468]
ldr x0, [sp, 24]
ldr x1, [x0, 3152]
ldrsw x0, [sp, 100]
lsl x0, x0, 2
add x0, x1, x0
mov w1, w2
str w1, [x0]
.L828:
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
ldr w0, [sp, 88]
cmp w0, 0
bne .L829
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
ldr w1, [sp, 84]
ldr w0, [sp, 76]
cmp w1, w0
blt .L830
mov w0, -4
str w0, [sp, 44]
b .L580
.L830:
mov w0, 50
str w0, [sp, 88]
ldr x1, [sp, 24]
ldrsw x0, [sp, 84]
add x0, x1, x0
add x0, x0, 4096
ldrb w0, [x0, 3788]
str w0, [sp, 128]
ldr x1, [sp, 24]
ldrsw x2, [sp, 128]
mov x0, 16000
add x0, x2, x0
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
str w0, [sp, 132]
ldrsw x1, [sp, 128]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 45424
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x0, x0, 12
str x0, [sp, 352]
ldrsw x1, [sp, 128]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 57808
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x0, x0, 12
str x0, [sp, 368]
ldrsw x1, [sp, 128]
mov x0, x1
lsl x0, x0, 7
add x0, x0, x1
lsl x0, x0, 3
mov x1, 51616
add x0, x0, x1
ldr x1, [sp, 24]
add x0, x1, x0
add x0, x0, 12
str x0, [sp, 360]
.L829:
ldr w0, [sp, 88]
sub w0, w0, #1
str w0, [sp, 88]
ldr w0, [sp, 132]
str w0, [sp, 116]
.L546:
ldr x0, [sp, 24]
mov w1, 40
str w1, [x0, 8]
.L835:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
ldr w1, [sp, 116]
cmp w1, w0
bgt .L831
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w2, [x0, 36]
ldr w0, [sp, 116]
sub w0, w2, w0
lsr w0, w1, w0
ldr w1, [sp, 116]
mov w2, 1
lsl w1, w2, w1
sub w1, w1, #1
and w0, w0, w1
str w0, [sp, 276]
ldr x0, [sp, 24]
ldr w1, [x0, 36]
ldr w0, [sp, 116]
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 276]
str w0, [sp, 120]
b .L832
.L831:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L833
str wzr, [sp, 44]
b .L580
.L833:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L835
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L835
.L832:
ldr w0, [sp, 116]
cmp w0, 20
ble .L836
mov w0, -4
str w0, [sp, 44]
b .L580
.L836:
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 352]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
cmp w1, w0
ble .L940
ldr w0, [sp, 116]
add w0, w0, 1
str w0, [sp, 116]
.L545:
ldr x0, [sp, 24]
mov w1, 41
str w1, [x0, 8]
.L843:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 0
ble .L839
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #1
lsr w0, w1, w0
and w0, w0, 1
str w0, [sp, 280]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 280]
str w0, [sp, 124]
ldr w0, [sp, 120]
lsl w0, w0, 1
ldr w1, [sp, 124]
orr w0, w1, w0
str w0, [sp, 120]
b .L832
.L839:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L841
str wzr, [sp, 44]
b .L580
.L841:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L843
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L843
.L940:
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 360]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
sub w0, w1, w0
cmp w0, 0
blt .L844
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 360]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
sub w0, w1, w0
cmp w0, 257
ble .L845
.L844:
mov w0, -4
str w0, [sp, 44]
b .L580
.L845:
ldrsw x0, [sp, 116]
lsl x0, x0, 2
ldr x1, [sp, 360]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 120]
sub w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 368]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 92]
nop
.L811:
b .L846
.L946:
nop
ldr x0, [sp, 24]
ldr w0, [x0, 56]
cmp w0, 0
blt .L847
ldr x0, [sp, 24]
ldr w0, [x0, 56]
ldr w1, [sp, 100]
cmp w1, w0
bgt .L848
.L847:
mov w0, -4
str w0, [sp, 44]
b .L580
.L848:
ldr x0, [sp, 24]
str wzr, [x0, 16]
ldr x0, [sp, 24]
strb wzr, [x0, 12]
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0, 3184]
ldr x0, [sp, 24]
mov w1, 2
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0, 52]
cmp w0, 1
ble .L849
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 6
mov x1, 1
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl fwrite
.L849:
ldr x0, [sp, 24]
str wzr, [x0, 1096]
mov w0, 1
str w0, [sp, 56]
b .L850
.L851:
ldr w0, [sp, 56]
sub w0, w0, #1
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x0, 16
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0, 4]
ldr x2, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x0, 272
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 8]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L850:
ldr w0, [sp, 56]
cmp w0, 256
ble .L851
mov w0, 1
str w0, [sp, 56]
b .L852
.L853:
ldr x1, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x0, 272
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0, 8]
ldr w0, [sp, 56]
sub w0, w0, #1
ldr x2, [sp, 24]
sxtw x0, w0
add x0, x0, 272
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w1, w1, w0
ldr x2, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x0, 272
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 8]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L852:
ldr w0, [sp, 56]
cmp w0, 256
ble .L853
ldr x0, [sp, 24]
ldrb w0, [x0, 44]
cmp w0, 0
beq .L854
str wzr, [sp, 56]
b .L855
.L856:
ldr x1, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x0, 272
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0, 8]
ldr x2, [sp, 24]
ldrsw x0, [sp, 56]
add x0, x0, 528
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 12]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L855:
ldr w0, [sp, 56]
cmp w0, 256
ble .L856
str wzr, [sp, 56]
b .L857
.L860:
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldrsw x0, [sp, 56]
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x0, 528
lsl x0, x0, 2
add x0, x1, x0
ldr w2, [x0, 12]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldrsw x0, [sp, 56]
lsl x0, x0, 1
add x0, x1, x0
and w1, w2, 65535
strh w1, [x0]
ldr w0, [sp, 56]
and w0, w0, 1
cmp w0, 0
bne .L858
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr w0, [sp, 56]
asr w0, w0, 1
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
sxtb w0, w0
and w0, w0, -16
sxtb w1, w0
ldrb w0, [sp, 41]
ldr x2, [sp, 24]
sxtw x0, w0
add x0, x0, 528
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 12]
asr w0, w0, 16
sxtb w0, w0
orr w0, w1, w0
sxtb w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr w0, [sp, 56]
asr w0, w0, 1
sxtw x0, w0
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
b .L859
.L858:
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr w0, [sp, 56]
asr w0, w0, 1
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
sxtb w0, w0
and w0, w0, 15
sxtb w1, w0
ldrb w0, [sp, 41]
ldr x2, [sp, 24]
sxtw x0, w0
add x0, x0, 528
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 12]
asr w0, w0, 16
lsl w0, w0, 4
sxtb w0, w0
orr w0, w1, w0
sxtb w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr w0, [sp, 56]
asr w0, w0, 1
sxtw x0, w0
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
.L859:
ldrb w3, [sp, 41]
ldr x1, [sp, 24]
sxtw x0, w3
add x0, x0, 528
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
add w1, w0, 1
ldr x2, [sp, 24]
sxtw x0, w3
add x0, x0, 528
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 12]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L857:
ldr w1, [sp, 56]
ldr w0, [sp, 100]
cmp w1, w0
blt .L860
ldr x0, [sp, 24]
ldr w0, [x0, 56]
str w0, [sp, 56]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldrsw x0, [sp, 56]
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr w0, [sp, 56]
asr w0, w0, 1
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 56]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w0, w2, w0
str w0, [sp, 60]
.L863:
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldrsw x0, [sp, 60]
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr w0, [sp, 60]
asr w0, w0, 1
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w0, w2, w0
str w0, [sp, 272]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldrsw x0, [sp, 60]
lsl x0, x0, 1
add x0, x1, x0
ldr w1, [sp, 56]
and w1, w1, 65535
strh w1, [x0]
ldr w0, [sp, 60]
and w0, w0, 1
cmp w0, 0
bne .L861
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr w0, [sp, 60]
asr w0, w0, 1
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
sxtb w0, w0
and w0, w0, -16
sxtb w1, w0
ldr w0, [sp, 56]
asr w0, w0, 16
sxtb w0, w0
orr w0, w1, w0
sxtb w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr w0, [sp, 60]
asr w0, w0, 1
sxtw x0, w0
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
b .L862
.L861:
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr w0, [sp, 60]
asr w0, w0, 1
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
sxtb w0, w0
and w0, w0, 15
sxtb w1, w0
ldr w0, [sp, 56]
asr w0, w0, 16
lsl w0, w0, 4
sxtb w0, w0
orr w0, w1, w0
sxtb w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr w0, [sp, 60]
asr w0, w0, 1
sxtw x0, w0
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
.L862:
ldr w0, [sp, 60]
str w0, [sp, 56]
ldr w0, [sp, 272]
str w0, [sp, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 56]
ldr w1, [sp, 56]
cmp w1, w0
bne .L863
ldr x0, [sp, 24]
ldr w0, [x0, 56]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
str wzr, [x0, 1092]
ldr x0, [sp, 24]
ldrb w0, [x0, 20]
cmp w0, 0
beq .L864
ldr x0, [sp, 24]
str wzr, [x0, 24]
ldr x0, [sp, 24]
str wzr, [x0, 28]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 64]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 0
bne .L865
ldr x0, [sp, 24]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 28]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
cmp w0, 512
bne .L865
ldr x0, [sp, 24]
str wzr, [x0, 28]
.L865:
ldr x0, [sp, 24]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 64]
ldr x1, [sp, 24]
ldr w1, [x1, 24]
cmp w1, 1
cset w1, eq
and w1, w1, 255
eor w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 64]
b .L866
.L864:
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 64]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
b .L866
.L854:
str wzr, [sp, 56]
b .L867
.L868:
ldr x0, [sp, 24]
ldr x1, [x0, 3152]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr x1, [x0, 3152]
ldrb w0, [sp, 41]
ldr x2, [sp, 24]
sxtw x0, w0
add x0, x0, 272
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 56]
lsl w0, w0, 8
mov w4, w0
ldr x0, [sp, 24]
ldr x2, [x0, 3152]
ldrb w0, [sp, 41]
ldr x3, [sp, 24]
sxtw x0, w0
add x0, x0, 272
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0, 8]
sxtw x0, w0
lsl x0, x0, 2
add x0, x2, x0
orr w1, w1, w4
str w1, [x0]
ldrb w3, [sp, 41]
ldr x1, [sp, 24]
sxtw x0, w3
add x0, x0, 272
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 8]
add w1, w0, 1
ldr x2, [sp, 24]
sxtw x0, w3
add x0, x0, 272
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 8]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L867:
ldr w1, [sp, 56]
ldr w0, [sp, 100]
cmp w1, w0
blt .L868
ldr x0, [sp, 24]
ldr x1, [x0, 3152]
ldr x0, [sp, 24]
ldr w0, [x0, 56]
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
str wzr, [x0, 1092]
ldr x0, [sp, 24]
ldrb w0, [x0, 20]
cmp w0, 0
beq .L869
ldr x0, [sp, 24]
str wzr, [x0, 24]
ldr x0, [sp, 24]
str wzr, [x0, 28]
ldr x0, [sp, 24]
ldr x1, [x0, 3152]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0]
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 64]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 0
bne .L870
ldr x0, [sp, 24]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 28]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
cmp w0, 512
bne .L870
ldr x0, [sp, 24]
str wzr, [x0, 28]
.L870:
ldr x0, [sp, 24]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 64]
ldr x1, [sp, 24]
ldr w1, [x1, 24]
cmp w1, 1
cset w1, eq
and w1, w1, 255
eor w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 64]
b .L866
.L869:
ldr x0, [sp, 24]
ldr x1, [x0, 3152]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0]
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 64]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
.L866:
str wzr, [sp, 44]
b .L580
.L608:
.L544:
ldr x0, [sp, 24]
mov w1, 42
str w1, [x0, 8]
.L875:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L871
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 316]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 316]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 114
beq .L543
b .L941
.L871:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L873
str wzr, [sp, 44]
b .L580
.L873:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L875
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L875
.L941:
mov w0, -4
str w0, [sp, 44]
b .L580
.L543:
ldr x0, [sp, 24]
mov w1, 43
str w1, [x0, 8]
.L880:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L876
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 320]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 320]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 69
beq .L542
b .L942
.L876:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L878
str wzr, [sp, 44]
b .L580
.L878:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L880
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L880
.L942:
mov w0, -4
str w0, [sp, 44]
b .L580
.L542:
ldr x0, [sp, 24]
mov w1, 44
str w1, [x0, 8]
.L885:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L881
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 324]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 324]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 56
beq .L541
b .L943
.L881:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L883
str wzr, [sp, 44]
b .L580
.L883:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L885
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L885
.L943:
mov w0, -4
str w0, [sp, 44]
b .L580
.L541:
ldr x0, [sp, 24]
mov w1, 45
str w1, [x0, 8]
.L890:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L886
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 328]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 328]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 80
beq .L540
b .L944
.L886:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L888
str wzr, [sp, 44]
b .L580
.L888:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L890
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L890
.L944:
mov w0, -4
str w0, [sp, 44]
b .L580
.L540:
ldr x0, [sp, 24]
mov w1, 46
str w1, [x0, 8]
.L895:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L891
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 332]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 332]
strb w0, [sp, 41]
ldrb w0, [sp, 41]
cmp w0, 144
beq .L896
b .L945
.L891:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L893
str wzr, [sp, 44]
b .L580
.L893:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L895
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L895
.L945:
mov w0, -4
str w0, [sp, 44]
b .L580
.L896:
ldr x0, [sp, 24]
str wzr, [x0, 3180]
.L539:
ldr x0, [sp, 24]
mov w1, 47
str w1, [x0, 8]
.L901:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L897
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 336]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 336]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr w0, [x0, 3180]
lsl w1, w0, 8
ldrb w0, [sp, 41]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 3180]
b .L538
.L897:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L899
str wzr, [sp, 44]
b .L580
.L899:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L901
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L901
.L538:
ldr x0, [sp, 24]
mov w1, 48
str w1, [x0, 8]
.L906:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L902
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 340]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 340]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr w0, [x0, 3180]
lsl w1, w0, 8
ldrb w0, [sp, 41]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 3180]
b .L537
.L902:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L904
str wzr, [sp, 44]
b .L580
.L904:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L906
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L906
.L537:
ldr x0, [sp, 24]
mov w1, 49
str w1, [x0, 8]
.L911:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L907
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 344]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 344]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr w0, [x0, 3180]
lsl w1, w0, 8
ldrb w0, [sp, 41]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 3180]
b .L535
.L907:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L909
str wzr, [sp, 44]
b .L580
.L909:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L911
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L911
.L535:
ldr x0, [sp, 24]
mov w1, 50
str w1, [x0, 8]
.L916:
ldr x0, [sp, 24]
ldr w0, [x0, 36]
cmp w0, 7
ble .L912
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w0, w0, #8
lsr w0, w1, w0
and w0, w0, 255
str w0, [sp, 348]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr w0, [sp, 348]
strb w0, [sp, 41]
ldr x0, [sp, 24]
ldr w0, [x0, 3180]
lsl w1, w0, 8
ldrb w0, [sp, 41]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 3180]
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 8]
mov w0, 4
str w0, [sp, 44]
b .L580
.L912:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
bne .L914
str wzr, [sp, 44]
b .L580
.L914:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
lsl w0, w0, 8
ldr x1, [sp, 24]
ldr x1, [x1]
ldr x1, [x1]
ldrb w1, [x1]
orr w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
add w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L916
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L916
.L919:
mov w0, 4001
bl BZ2_bz__AssertH__fail
mov w0, 4002
bl BZ2_bz__AssertH__fail
.L580:
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 56]
str w1, [x0, 14884]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 60]
str w1, [x0, 14888]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 64]
str w1, [x0, 14892]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 68]
str w1, [x0, 14896]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 72]
str w1, [x0, 14900]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 76]
str w1, [x0, 14904]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 80]
str w1, [x0, 14908]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 84]
str w1, [x0, 14912]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 88]
str w1, [x0, 14916]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 92]
str w1, [x0, 14920]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 96]
str w1, [x0, 14924]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 100]
str w1, [x0, 14928]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 104]
str w1, [x0, 14932]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 108]
str w1, [x0, 14936]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 112]
str w1, [x0, 14940]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 172]
str w1, [x0, 14944]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 116]
str w1, [x0, 14948]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 120]
str w1, [x0, 14952]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 124]
str w1, [x0, 14956]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 128]
str w1, [x0, 14960]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w1, [sp, 132]
str w1, [x0, 14964]
ldr x0, [sp, 24]
add x0, x0, 32768
ldr x1, [sp, 352]
str x1, [x0, 31352]
ldr x0, [sp, 24]
add x0, x0, 32768
ldr x1, [sp, 360]
str x1, [x0, 31360]
ldr x0, [sp, 24]
add x0, x0, 32768
ldr x1, [sp, 368]
str x1, [x0, 31368]
ldr w0, [sp, 44]
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 392]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L918
bl __stack_chk_fail
.L918:
mov w0, w1
ldp x29, x30, [sp], 400
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE28:
.size BZ2_decompress, .-BZ2_decompress
.section .rodata
.align 3
.LC21:
.ascii "\n\nbzip2/libbzip2: internal error number %d.\nThis is a bug"
.ascii " in bzip2/libbzip2, %s.\nPlease report it to me at: jseward@"
.ascii "acm.org. If this happened\nwhen you were using some program"
.ascii " which use"
.string "s libbzip2 as a\ncomponent, you should also report this bug to the author(s)\nof that program. Please make an effort to report this bug;\ntimely and accurate bug reports eventually lead to higher\nquality software. Thanks. Julian Seward, 30 December 2001.\n\n"
.align 3
.LC22:
.ascii "\n*** A special note about internal error number 1007 ***\n\n"
.ascii "Experience suggests that a common cause of i.e. 1007\nis unr"
.ascii "eliable memory or other hardware. The 1007 assertion\njust "
.ascii "happens to cross-check the results of huge numbers of\nmemor"
.ascii "y reads/writes, and so acts (unintendedly) as a stress\ntest"
.ascii " of your memory system.\n\nI suggest the following: try comp"
.ascii "ressing the file again,\npossibly monitoring progress in det"
.ascii "ail with the -vv flag.\n\n* If the error cannot be reproduce"
.ascii "d, and/or happens at different\n points in compression, you"
.ascii " may have a flaky memory system.\n Try a memory-test progra"
.ascii "m. I have used Memtest86\n (www.memtest86.com). At the ti"
.ascii "me of writing it is free (GPLd).\n Memtest86 tests memory m"
.ascii "uch more thorougly than your BIOSs\n power-on test, and may"
.ascii " find failures that the BIOS doesn't"
.string ".\n\n* If the error can be repeatably reproduced, this is a bug in\n bzip2, and I would very much like to hear about it. Please\n let me know, and, ideally, save a copy of the file causing the\n problem -- without which I will be unable to investigate it.\n\n"
.text
.align 2
.global BZ2_bz__AssertH__fail
.type BZ2_bz__AssertH__fail, %function
BZ2_bz__AssertH__fail:
.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 x19, [sp, 16]
.cfi_offset 19, -32
str w0, [sp, 44]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl BZ2_bzlibVersion
mov x3, x0
ldr w2, [sp, 44]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
mov x0, x19
bl fprintf
ldr w0, [sp, 44]
cmp w0, 1007
bne .L988
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 1056
mov x1, 1
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl fwrite
.L988:
mov w0, 3
bl exit
.cfi_endproc
.LFE29:
.size BZ2_bz__AssertH__fail, .-BZ2_bz__AssertH__fail
.align 2
.type bz_config_ok, %function
bz_config_ok:
.LFB30:
.cfi_startproc
mov w0, 1
ret
.cfi_endproc
.LFE30:
.size bz_config_ok, .-bz_config_ok
.align 2
.type default_bzalloc, %function
default_bzalloc:
.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]
str w1, [sp, 20]
str w2, [sp, 16]
ldr w1, [sp, 20]
ldr w0, [sp, 16]
mul w0, w1, w0
sxtw x0, w0
bl 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
.LFE31:
.size default_bzalloc, .-default_bzalloc
.align 2
.type default_bzfree, %function
default_bzfree:
.LFB32:
.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 .L995
ldr x0, [sp, 16]
bl free
.L995:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE32:
.size default_bzfree, .-default_bzfree
.align 2
.type prepare_new_block, %function
prepare_new_block:
.LFB33:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
str wzr, [x0, 108]
ldr x0, [sp, 8]
str wzr, [x0, 116]
ldr x0, [sp, 8]
str wzr, [x0, 120]
ldr x0, [sp, 8]
mov w1, -1
str w1, [x0, 648]
str wzr, [sp, 28]
b .L997
.L998:
ldr x1, [sp, 8]
ldrsw x0, [sp, 28]
add x0, x1, x0
strb wzr, [x0, 128]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L997:
ldr w0, [sp, 28]
cmp w0, 255
ble .L998
ldr x0, [sp, 8]
ldr w0, [x0, 660]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 660]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE33:
.size prepare_new_block, .-prepare_new_block
.align 2
.type init_RL, %function
init_RL:
.LFB34:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
mov w1, 256
str w1, [x0, 92]
ldr x0, [sp, 8]
str wzr, [x0, 96]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE34:
.size init_RL, .-init_RL
.align 2
.type isempty_RL, %function
isempty_RL:
.LFB35:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0, 92]
cmp w0, 255
bhi .L1001
ldr x0, [sp, 8]
ldr w0, [x0, 96]
cmp w0, 0
ble .L1001
mov w0, 0
b .L1002
.L1001:
mov w0, 1
.L1002:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE35:
.size isempty_RL, .-isempty_RL
.align 2
.global BZ2_bzCompressInit
.type BZ2_bzCompressInit, %function
BZ2_bzCompressInit:
.LFB36:
.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]
bl bz_config_ok
cmp w0, 0
bne .L1004
mov w0, -9
b .L1005
.L1004:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1006
ldr w0, [sp, 36]
cmp w0, 0
ble .L1006
ldr w0, [sp, 36]
cmp w0, 9
bgt .L1006
ldr w0, [sp, 28]
cmp w0, 0
blt .L1006
ldr w0, [sp, 28]
cmp w0, 250
ble .L1007
.L1006:
mov w0, -2
b .L1005
.L1007:
ldr w0, [sp, 28]
cmp w0, 0
bne .L1008
mov w0, 30
str w0, [sp, 28]
.L1008:
ldr x0, [sp, 40]
ldr x0, [x0, 56]
cmp x0, 0
bne .L1009
ldr x0, [sp, 40]
adrp x1, default_bzalloc
add x1, x1, :lo12:default_bzalloc
str x1, [x0, 56]
.L1009:
ldr x0, [sp, 40]
ldr x0, [x0, 64]
cmp x0, 0
bne .L1010
ldr x0, [sp, 40]
adrp x1, default_bzfree
add x1, x1, :lo12:default_bzfree
str x1, [x0, 64]
.L1010:
ldr x0, [sp, 40]
ldr x3, [x0, 56]
ldr x0, [sp, 40]
ldr x0, [x0, 72]
mov w2, 1
mov w1, 55768
blr x3
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L1011
mov w0, -3
b .L1005
.L1011:
ldr x0, [sp, 56]
ldr x1, [sp, 40]
str x1, [x0]
ldr x0, [sp, 56]
str xzr, [x0, 24]
ldr x0, [sp, 56]
str xzr, [x0, 32]
ldr x0, [sp, 56]
str xzr, [x0, 40]
ldr w1, [sp, 36]
mov w0, 34464
movk w0, 0x1, lsl 16
mul w0, w1, w0
str w0, [sp, 52]
ldr x0, [sp, 40]
ldr x3, [x0, 56]
ldr x0, [sp, 40]
ldr x0, [x0, 72]
ldrsw x1, [sp, 52]
lsl w1, w1, 2
mov w2, 1
blr x3
mov x1, x0
ldr x0, [sp, 56]
str x1, [x0, 24]
ldr x0, [sp, 40]
ldr x3, [x0, 56]
ldr x0, [sp, 40]
ldr x4, [x0, 72]
ldr w0, [sp, 52]
add w0, w0, 34
sxtw x0, w0
lsl w0, w0, 2
mov w2, 1
mov w1, w0
mov x0, x4
blr x3
mov x1, x0
ldr x0, [sp, 56]
str x1, [x0, 32]
ldr x0, [sp, 40]
ldr x3, [x0, 56]
ldr x0, [sp, 40]
ldr x0, [x0, 72]
mov w2, 1
mov w1, 262148
blr x3
mov x1, x0
ldr x0, [sp, 56]
str x1, [x0, 40]
ldr x0, [sp, 56]
ldr x0, [x0, 24]
cmp x0, 0
beq .L1012
ldr x0, [sp, 56]
ldr x0, [x0, 32]
cmp x0, 0
beq .L1012
ldr x0, [sp, 56]
ldr x0, [x0, 40]
cmp x0, 0
bne .L1013
.L1012:
ldr x0, [sp, 56]
ldr x0, [x0, 24]
cmp x0, 0
beq .L1014
ldr x0, [sp, 40]
ldr x2, [x0, 64]
ldr x0, [sp, 40]
ldr x3, [x0, 72]
ldr x0, [sp, 56]
ldr x0, [x0, 24]
mov x1, x0
mov x0, x3
blr x2
.L1014:
ldr x0, [sp, 56]
ldr x0, [x0, 32]
cmp x0, 0
beq .L1015
ldr x0, [sp, 40]
ldr x2, [x0, 64]
ldr x0, [sp, 40]
ldr x3, [x0, 72]
ldr x0, [sp, 56]
ldr x0, [x0, 32]
mov x1, x0
mov x0, x3
blr x2
.L1015:
ldr x0, [sp, 56]
ldr x0, [x0, 40]
cmp x0, 0
beq .L1016
ldr x0, [sp, 40]
ldr x2, [x0, 64]
ldr x0, [sp, 40]
ldr x3, [x0, 72]
ldr x0, [sp, 56]
ldr x0, [x0, 40]
mov x1, x0
mov x0, x3
blr x2
.L1016:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1017
ldr x0, [sp, 40]
ldr x2, [x0, 64]
ldr x0, [sp, 40]
ldr x0, [x0, 72]
ldr x1, [sp, 56]
blr x2
.L1017:
mov w0, -3
b .L1005
.L1013:
ldr x0, [sp, 56]
str wzr, [x0, 660]
ldr x0, [sp, 56]
mov w1, 2
str w1, [x0, 12]
ldr x0, [sp, 56]
mov w1, 2
str w1, [x0, 8]
ldr x0, [sp, 56]
str wzr, [x0, 652]
ldr x0, [sp, 56]
ldr w1, [sp, 36]
str w1, [x0, 664]
ldr w1, [sp, 36]
mov w0, 34464
movk w0, 0x1, lsl 16
mul w0, w1, w0
sub w1, w0, #19
ldr x0, [sp, 56]
str w1, [x0, 112]
ldr x0, [sp, 56]
ldr w1, [sp, 32]
str w1, [x0, 656]
ldr x0, [sp, 56]
ldr w1, [sp, 28]
str w1, [x0, 88]
ldr x0, [sp, 56]
ldr x1, [x0, 32]
ldr x0, [sp, 56]
str x1, [x0, 64]
ldr x0, [sp, 56]
ldr x1, [x0, 24]
ldr x0, [sp, 56]
str x1, [x0, 72]
ldr x0, [sp, 56]
str xzr, [x0, 80]
ldr x0, [sp, 56]
ldr x1, [x0, 24]
ldr x0, [sp, 56]
str x1, [x0, 56]
ldr x0, [sp, 40]
ldr x1, [sp, 56]
str x1, [x0, 48]
ldr x0, [sp, 40]
str wzr, [x0, 12]
ldr x0, [sp, 40]
str wzr, [x0, 16]
ldr x0, [sp, 40]
str wzr, [x0, 36]
ldr x0, [sp, 40]
str wzr, [x0, 40]
ldr x0, [sp, 56]
bl init_RL
ldr x0, [sp, 56]
bl prepare_new_block
mov w0, 0
.L1005:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE36:
.size BZ2_bzCompressInit, .-BZ2_bzCompressInit
.align 2
.type add_pair_to_block, %function
add_pair_to_block:
.LFB37:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0, 92]
strb w0, [sp, 27]
str wzr, [sp, 28]
b .L1019
.L1020:
ldr x0, [sp, 8]
ldr w0, [x0, 648]
lsl w1, w0, 8
ldr x0, [sp, 8]
ldr w0, [x0, 648]
lsr w2, w0, 24
ldrb w0, [sp, 27]
eor w2, w2, w0
adrp x0, BZ2_crc32Table
add x0, x0, :lo12:BZ2_crc32Table
uxtw x2, w2
ldr w0, [x0, x2, lsl 2]
eor w1, w1, w0
ldr x0, [sp, 8]
str w1, [x0, 648]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1019:
ldr x0, [sp, 8]
ldr w0, [x0, 96]
ldr w1, [sp, 28]
cmp w1, w0
blt .L1020
ldr x0, [sp, 8]
ldr w0, [x0, 92]
ldr x1, [sp, 8]
uxtw x0, w0
add x0, x1, x0
mov w1, 1
strb w1, [x0, 128]
ldr x0, [sp, 8]
ldr w0, [x0, 96]
cmp w0, 3
beq .L1021
cmp w0, 3
bgt .L1022
cmp w0, 1
beq .L1023
cmp w0, 2
beq .L1024
b .L1022
.L1023:
ldr x0, [sp, 8]
ldr x1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 27]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 108]
b .L1025
.L1024:
ldr x0, [sp, 8]
ldr x1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 27]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 108]
ldr x0, [sp, 8]
ldr x1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 27]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 108]
b .L1025
.L1021:
ldr x0, [sp, 8]
ldr x1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 27]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 108]
ldr x0, [sp, 8]
ldr x1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 27]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 108]
ldr x0, [sp, 8]
ldr x1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 27]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 108]
b .L1025
.L1022:
ldr x0, [sp, 8]
ldr w0, [x0, 96]
sub w0, w0, #4
ldr x1, [sp, 8]
sxtw x0, w0
add x0, x1, x0
mov w1, 1
strb w1, [x0, 128]
ldr x0, [sp, 8]
ldr x1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 27]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 108]
ldr x0, [sp, 8]
ldr x1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 27]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 108]
ldr x0, [sp, 8]
ldr x1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 27]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 108]
ldr x0, [sp, 8]
ldr x1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 27]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 108]
ldr x0, [sp, 8]
ldr w0, [x0, 96]
and w1, w0, 255
ldr x0, [sp, 8]
ldr x2, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x2, x0
sub w1, w1, #4
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 108]
nop
.L1025:
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE37:
.size add_pair_to_block, .-add_pair_to_block
.align 2
.type flush_RL, %function
flush_RL:
.LFB38:
.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, 92]
cmp w0, 255
bhi .L1027
ldr x0, [sp, 24]
bl add_pair_to_block
.L1027:
ldr x0, [sp, 24]
bl init_RL
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE38:
.size flush_RL, .-flush_RL
.align 2
.type copy_input_until_stop, %function
copy_input_until_stop:
.LFB39:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
strb wzr, [sp, 37]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
cmp w0, 2
bne .L1029
.L1039:
ldr x0, [sp, 24]
ldr w1, [x0, 108]
ldr x0, [sp, 24]
ldr w0, [x0, 112]
cmp w1, w0
bge .L1051
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
beq .L1052
mov w0, 1
strb w0, [sp, 37]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x0, [x0]
ldrb w0, [x0]
str w0, [sp, 44]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w1, [sp, 44]
cmp w1, w0
beq .L1033
ldr x0, [sp, 24]
ldr w0, [x0, 96]
cmp w0, 1
bne .L1033
ldr x0, [sp, 24]
ldr w0, [x0, 92]
strb w0, [sp, 39]
ldr x0, [sp, 24]
ldr w0, [x0, 648]
lsl w1, w0, 8
ldr x0, [sp, 24]
ldr w0, [x0, 648]
lsr w2, w0, 24
ldrb w0, [sp, 39]
eor w2, w2, w0
adrp x0, BZ2_crc32Table
add x0, x0, :lo12:BZ2_crc32Table
uxtw x2, w2
ldr w0, [x0, x2, lsl 2]
eor w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 648]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr x1, [sp, 24]
uxtw x0, w0
add x0, x1, x0
mov w1, 1
strb w1, [x0, 128]
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 39]
strb w1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 108]
ldr x0, [sp, 24]
ldr w1, [sp, 44]
str w1, [x0, 92]
b .L1034
.L1033:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w1, [sp, 44]
cmp w1, w0
bne .L1035
ldr x0, [sp, 24]
ldr w0, [x0, 96]
cmp w0, 255
bne .L1036
.L1035:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 255
bhi .L1037
ldr x0, [sp, 24]
bl add_pair_to_block
.L1037:
ldr x0, [sp, 24]
ldr w1, [sp, 44]
str w1, [x0, 92]
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 96]
b .L1034
.L1036:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 96]
.L1034:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L1039
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
b .L1039
.L1029:
ldr x0, [sp, 24]
ldr w1, [x0, 108]
ldr x0, [sp, 24]
ldr w0, [x0, 112]
cmp w1, w0
bge .L1053
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
beq .L1054
ldr x0, [sp, 24]
ldr w0, [x0, 16]
cmp w0, 0
beq .L1055
mov w0, 1
strb w0, [sp, 37]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x0, [x0]
ldrb w0, [x0]
str w0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w1, [sp, 40]
cmp w1, w0
beq .L1044
ldr x0, [sp, 24]
ldr w0, [x0, 96]
cmp w0, 1
bne .L1044
ldr x0, [sp, 24]
ldr w0, [x0, 92]
strb w0, [sp, 38]
ldr x0, [sp, 24]
ldr w0, [x0, 648]
lsl w1, w0, 8
ldr x0, [sp, 24]
ldr w0, [x0, 648]
lsr w2, w0, 24
ldrb w0, [sp, 38]
eor w2, w2, w0
adrp x0, BZ2_crc32Table
add x0, x0, :lo12:BZ2_crc32Table
uxtw x2, w2
ldr w0, [x0, x2, lsl 2]
eor w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 648]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr x1, [sp, 24]
uxtw x0, w0
add x0, x1, x0
mov w1, 1
strb w1, [x0, 128]
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr w0, [x0, 108]
sxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 38]
strb w1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 108]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 108]
ldr x0, [sp, 24]
ldr w1, [sp, 40]
str w1, [x0, 92]
b .L1045
.L1044:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w1, [sp, 40]
cmp w1, w0
bne .L1046
ldr x0, [sp, 24]
ldr w0, [x0, 96]
cmp w0, 255
bne .L1047
.L1046:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 255
bhi .L1048
ldr x0, [sp, 24]
bl add_pair_to_block
.L1048:
ldr x0, [sp, 24]
ldr w1, [sp, 40]
str w1, [x0, 92]
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 96]
b .L1045
.L1047:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 96]
.L1045:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0]
add x1, x1, 1
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 8]
sub w1, w1, #1
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 12]
add w1, w1, 1
str w1, [x0, 12]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 12]
cmp w0, 0
bne .L1049
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 16]
add w1, w1, 1
str w1, [x0, 16]
.L1049:
ldr x0, [sp, 24]
ldr w0, [x0, 16]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 16]
b .L1029
.L1051:
nop
b .L1040
.L1052:
nop
b .L1040
.L1053:
nop
b .L1040
.L1054:
nop
b .L1040
.L1055:
nop
.L1040:
ldrb w0, [sp, 37]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE39:
.size copy_input_until_stop, .-copy_input_until_stop
.align 2
.type copy_output_until_stop, %function
copy_output_until_stop:
.LFB40:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
strb wzr, [sp, 31]
.L1061:
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w0, [x0, 32]
cmp w0, 0
beq .L1063
ldr x0, [sp, 8]
ldr w1, [x0, 120]
ldr x0, [sp, 8]
ldr w0, [x0, 116]
cmp w1, w0
bge .L1064
mov w0, 1
strb w0, [sp, 31]
ldr x0, [sp, 8]
ldr x1, [x0, 80]
ldr x0, [sp, 8]
ldr w0, [x0, 120]
sxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x0, [x0, 24]
ldrb w1, [x1]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 120]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 120]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w1, [x0, 32]
sub w1, w1, #1
str w1, [x0, 32]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x1, [x0, 24]
add x1, x1, 1
str x1, [x0, 24]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w1, [x0, 36]
add w1, w1, 1
str w1, [x0, 36]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w0, [x0, 36]
cmp w0, 0
bne .L1061
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w1, [x0, 40]
add w1, w1, 1
str w1, [x0, 40]
b .L1061
.L1063:
nop
b .L1058
.L1064:
nop
.L1058:
ldrb w0, [sp, 31]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE40:
.size copy_output_until_stop, .-copy_output_until_stop
.align 2
.type handle_compress, %function
handle_compress:
.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]
strb wzr, [sp, 38]
strb wzr, [sp, 39]
ldr x0, [sp, 24]
ldr x0, [x0, 48]
str x0, [sp, 40]
.L1073:
ldr x0, [sp, 40]
ldr w0, [x0, 12]
cmp w0, 1
bne .L1066
ldr x0, [sp, 40]
bl copy_output_until_stop
and w1, w0, 255
ldrb w0, [sp, 39]
orr w0, w1, w0
strb w0, [sp, 39]
ldr x0, [sp, 40]
ldr w1, [x0, 120]
ldr x0, [sp, 40]
ldr w0, [x0, 116]
cmp w1, w0
blt .L1078
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 4
bne .L1069
ldr x0, [sp, 40]
ldr w0, [x0, 16]
cmp w0, 0
bne .L1069
ldr x0, [sp, 40]
bl isempty_RL
and w0, w0, 255
cmp w0, 0
bne .L1079
.L1069:
ldr x0, [sp, 40]
bl prepare_new_block
ldr x0, [sp, 40]
mov w1, 2
str w1, [x0, 12]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 3
bne .L1066
ldr x0, [sp, 40]
ldr w0, [x0, 16]
cmp w0, 0
bne .L1066
ldr x0, [sp, 40]
bl isempty_RL
and w0, w0, 255
cmp w0, 0
bne .L1080
.L1066:
ldr x0, [sp, 40]
ldr w0, [x0, 12]
cmp w0, 2
bne .L1073
ldr x0, [sp, 40]
bl copy_input_until_stop
and w1, w0, 255
ldrb w0, [sp, 38]
orr w0, w1, w0
strb w0, [sp, 38]
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 2
beq .L1071
ldr x0, [sp, 40]
ldr w0, [x0, 16]
cmp w0, 0
bne .L1071
ldr x0, [sp, 40]
bl flush_RL
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 4
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 40]
bl BZ2_compressBlock
ldr x0, [sp, 40]
mov w1, 1
str w1, [x0, 12]
b .L1070
.L1071:
ldr x0, [sp, 40]
ldr w1, [x0, 108]
ldr x0, [sp, 40]
ldr w0, [x0, 112]
cmp w1, w0
blt .L1072
mov w1, 0
ldr x0, [sp, 40]
bl BZ2_compressBlock
ldr x0, [sp, 40]
mov w1, 1
str w1, [x0, 12]
b .L1073
.L1072:
ldr x0, [sp, 40]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w0, 0
beq .L1081
.L1070:
b .L1073
.L1078:
nop
b .L1068
.L1079:
nop
b .L1068
.L1080:
nop
b .L1068
.L1081:
nop
.L1068:
ldrb w0, [sp, 38]
cmp w0, 0
bne .L1074
ldrb w0, [sp, 39]
cmp w0, 0
beq .L1075
.L1074:
mov w0, 1
b .L1076
.L1075:
mov w0, 0
.L1076:
and w0, w0, 255
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE41:
.size handle_compress, .-handle_compress
.align 2
.global BZ2_bzCompress
.type BZ2_bzCompress, %function
BZ2_bzCompress:
.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]
str w1, [sp, 20]
ldr x0, [sp, 24]
cmp x0, 0
bne .L1083
mov w0, -2
b .L1084
.L1083:
ldr x0, [sp, 24]
ldr x0, [x0, 48]
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1085
mov w0, -2
b .L1084
.L1085:
ldr x0, [sp, 40]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
beq .L1106
mov w0, -2
b .L1084
.L1106:
nop
.L1086:
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 4
beq .L1087
cmp w0, 4
bgt .L1088
cmp w0, 3
beq .L1089
cmp w0, 3
bgt .L1088
cmp w0, 1
beq .L1090
cmp w0, 2
beq .L1091
b .L1088
.L1090:
mov w0, -1
b .L1084
.L1091:
ldr w0, [sp, 20]
cmp w0, 0
bne .L1092
ldr x0, [sp, 24]
bl handle_compress
strb w0, [sp, 39]
ldrb w0, [sp, 39]
cmp w0, 0
beq .L1093
mov w0, 1
b .L1084
.L1093:
mov w0, -2
b .L1084
.L1092:
ldr w0, [sp, 20]
cmp w0, 1
bne .L1095
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
str w1, [x0, 16]
ldr x0, [sp, 40]
mov w1, 3
str w1, [x0, 8]
b .L1086
.L1095:
ldr w0, [sp, 20]
cmp w0, 2
bne .L1096
ldr x0, [sp, 24]
ldr w1, [x0, 8]
ldr x0, [sp, 40]
str w1, [x0, 16]
ldr x0, [sp, 40]
mov w1, 4
str w1, [x0, 8]
b .L1086
.L1096:
mov w0, -2
b .L1084
.L1089:
ldr w0, [sp, 20]
cmp w0, 1
beq .L1097
mov w0, -1
b .L1084
.L1097:
ldr x0, [sp, 40]
ldr w1, [x0, 16]
ldr x0, [sp, 40]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w1, w0
beq .L1098
mov w0, -1
b .L1084
.L1098:
ldr x0, [sp, 24]
bl handle_compress
strb w0, [sp, 39]
ldr x0, [sp, 40]
ldr w0, [x0, 16]
cmp w0, 0
bne .L1099
ldr x0, [sp, 40]
bl isempty_RL
and w0, w0, 255
cmp w0, 0
beq .L1099
ldr x0, [sp, 40]
ldr w1, [x0, 120]
ldr x0, [sp, 40]
ldr w0, [x0, 116]
cmp w1, w0
bge .L1100
.L1099:
mov w0, 2
b .L1084
.L1100:
ldr x0, [sp, 40]
mov w1, 2
str w1, [x0, 8]
mov w0, 1
b .L1084
.L1087:
ldr w0, [sp, 20]
cmp w0, 2
beq .L1101
mov w0, -1
b .L1084
.L1101:
ldr x0, [sp, 40]
ldr w1, [x0, 16]
ldr x0, [sp, 40]
ldr x0, [x0]
ldr w0, [x0, 8]
cmp w1, w0
beq .L1102
mov w0, -1
b .L1084
.L1102:
ldr x0, [sp, 24]
bl handle_compress
strb w0, [sp, 39]
ldrb w0, [sp, 39]
cmp w0, 0
bne .L1103
mov w0, -1
b .L1084
.L1103:
ldr x0, [sp, 40]
ldr w0, [x0, 16]
cmp w0, 0
bne .L1104
ldr x0, [sp, 40]
bl isempty_RL
and w0, w0, 255
cmp w0, 0
beq .L1104
ldr x0, [sp, 40]
ldr w1, [x0, 120]
ldr x0, [sp, 40]
ldr w0, [x0, 116]
cmp w1, w0
bge .L1105
.L1104:
mov w0, 3
b .L1084
.L1105:
ldr x0, [sp, 40]
mov w1, 1
str w1, [x0, 8]
mov w0, 4
b .L1084
.L1088:
mov w0, 0
.L1084:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE42:
.size BZ2_bzCompress, .-BZ2_bzCompress
.align 2
.global BZ2_bzCompressEnd
.type BZ2_bzCompressEnd, %function
BZ2_bzCompressEnd:
.LFB43:
.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 .L1108
mov w0, -2
b .L1109
.L1108:
ldr x0, [sp, 24]
ldr x0, [x0, 48]
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1110
mov w0, -2
b .L1109
.L1110:
ldr x0, [sp, 40]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
beq .L1111
mov w0, -2
b .L1109
.L1111:
ldr x0, [sp, 40]
ldr x0, [x0, 24]
cmp x0, 0
beq .L1112
ldr x0, [sp, 24]
ldr x2, [x0, 64]
ldr x0, [sp, 24]
ldr x3, [x0, 72]
ldr x0, [sp, 40]
ldr x0, [x0, 24]
mov x1, x0
mov x0, x3
blr x2
.L1112:
ldr x0, [sp, 40]
ldr x0, [x0, 32]
cmp x0, 0
beq .L1113
ldr x0, [sp, 24]
ldr x2, [x0, 64]
ldr x0, [sp, 24]
ldr x3, [x0, 72]
ldr x0, [sp, 40]
ldr x0, [x0, 32]
mov x1, x0
mov x0, x3
blr x2
.L1113:
ldr x0, [sp, 40]
ldr x0, [x0, 40]
cmp x0, 0
beq .L1114
ldr x0, [sp, 24]
ldr x2, [x0, 64]
ldr x0, [sp, 24]
ldr x3, [x0, 72]
ldr x0, [sp, 40]
ldr x0, [x0, 40]
mov x1, x0
mov x0, x3
blr x2
.L1114:
ldr x0, [sp, 24]
ldr x2, [x0, 64]
ldr x0, [sp, 24]
ldr x3, [x0, 72]
ldr x0, [sp, 24]
ldr x0, [x0, 48]
mov x1, x0
mov x0, x3
blr x2
ldr x0, [sp, 24]
str xzr, [x0, 48]
mov w0, 0
.L1109:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE43:
.size BZ2_bzCompressEnd, .-BZ2_bzCompressEnd
.align 2
.global BZ2_bzDecompressInit
.type BZ2_bzDecompressInit, %function
BZ2_bzDecompressInit:
.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]
str w1, [sp, 20]
str w2, [sp, 16]
bl bz_config_ok
cmp w0, 0
bne .L1116
mov w0, -9
b .L1117
.L1116:
ldr x0, [sp, 24]
cmp x0, 0
bne .L1118
mov w0, -2
b .L1117
.L1118:
ldr w0, [sp, 16]
cmp w0, 0
beq .L1119
ldr w0, [sp, 16]
cmp w0, 1
beq .L1119
mov w0, -2
b .L1117
.L1119:
ldr w0, [sp, 20]
cmp w0, 0
blt .L1120
ldr w0, [sp, 20]
cmp w0, 4
ble .L1121
.L1120:
mov w0, -2
b .L1117
.L1121:
ldr x0, [sp, 24]
ldr x0, [x0, 56]
cmp x0, 0
bne .L1122
ldr x0, [sp, 24]
adrp x1, default_bzalloc
add x1, x1, :lo12:default_bzalloc
str x1, [x0, 56]
.L1122:
ldr x0, [sp, 24]
ldr x0, [x0, 64]
cmp x0, 0
bne .L1123
ldr x0, [sp, 24]
adrp x1, default_bzfree
add x1, x1, :lo12:default_bzfree
str x1, [x0, 64]
.L1123:
ldr x0, [sp, 24]
ldr x3, [x0, 56]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
mov w2, 1
mov w1, 64144
blr x3
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1124
mov w0, -3
b .L1117
.L1124:
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
ldr x1, [sp, 40]
str x1, [x0, 48]
ldr x0, [sp, 40]
mov w1, 10
str w1, [x0, 8]
ldr x0, [sp, 40]
str wzr, [x0, 36]
ldr x0, [sp, 40]
str wzr, [x0, 32]
ldr x0, [sp, 40]
str wzr, [x0, 3188]
ldr x0, [sp, 24]
str wzr, [x0, 12]
ldr x0, [sp, 24]
str wzr, [x0, 16]
ldr x0, [sp, 24]
str wzr, [x0, 36]
ldr x0, [sp, 24]
str wzr, [x0, 40]
ldr w0, [sp, 16]
and w1, w0, 255
ldr x0, [sp, 40]
strb w1, [x0, 44]
ldr x0, [sp, 40]
str xzr, [x0, 3168]
ldr x0, [sp, 40]
str xzr, [x0, 3160]
ldr x0, [sp, 40]
str xzr, [x0, 3152]
ldr x0, [sp, 40]
str wzr, [x0, 48]
ldr x0, [sp, 40]
ldr w1, [sp, 20]
str w1, [x0, 52]
mov w0, 0
.L1117:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE44:
.size BZ2_bzDecompressInit, .-BZ2_bzDecompressInit
.align 2
.type unRLE_obuf_to_output_FAST, %function
unRLE_obuf_to_output_FAST:
.LFB45:
.cfi_startproc
sub sp, sp, #80
.cfi_def_cfa_offset 80
str x0, [sp, 8]
ldr x0, [sp, 8]
ldrb w0, [x0, 20]
cmp w0, 0
beq .L1126
.L1132:
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w0, [x0, 32]
cmp w0, 0
beq .L1164
ldr x0, [sp, 8]
ldr w0, [x0, 16]
cmp w0, 0
beq .L1165
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x0, [x0, 24]
ldr x1, [sp, 8]
ldrb w1, [x1, 12]
strb w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 3184]
lsl w1, w0, 8
ldr x0, [sp, 8]
ldr w0, [x0, 3184]
lsr w0, w0, 24
ldr x2, [sp, 8]
ldrb w2, [x2, 12]
eor w2, w0, w2
adrp x0, BZ2_crc32Table
add x0, x0, :lo12:BZ2_crc32Table
uxtw x2, w2
ldr w0, [x0, x2, lsl 2]
eor w1, w1, w0
ldr x0, [sp, 8]
str w1, [x0, 3184]
ldr x0, [sp, 8]
ldr w0, [x0, 16]
sub w1, w0, #1
ldr x0, [sp, 8]
str w1, [x0, 16]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x1, [x0, 24]
add x1, x1, 1
str x1, [x0, 24]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w1, [x0, 32]
sub w1, w1, #1
str w1, [x0, 32]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w1, [x0, 36]
add w1, w1, 1
str w1, [x0, 36]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w0, [x0, 36]
cmp w0, 0
bne .L1132
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w1, [x0, 40]
add w1, w1, 1
str w1, [x0, 40]
b .L1132
.L1165:
nop
ldr x0, [sp, 8]
ldr w1, [x0, 1092]
ldr x0, [sp, 8]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1166
ldr x0, [sp, 8]
mov w1, 1
str w1, [x0, 16]
ldr x0, [sp, 8]
ldr w0, [x0, 64]
and w1, w0, 255
ldr x0, [sp, 8]
strb w1, [x0, 12]
ldr x0, [sp, 8]
ldr x1, [x0, 3152]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0]
ldr x0, [sp, 8]
str w1, [x0, 60]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
strb w0, [sp, 27]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
lsr w1, w0, 8
ldr x0, [sp, 8]
str w1, [x0, 60]
ldr x0, [sp, 8]
ldr w0, [x0, 24]
cmp w0, 0
bne .L1134
ldr x0, [sp, 8]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 8]
str w1, [x0, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 28]
ldr x0, [sp, 8]
ldr w0, [x0, 28]
cmp w0, 512
bne .L1134
ldr x0, [sp, 8]
str wzr, [x0, 28]
.L1134:
ldr x0, [sp, 8]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 8]
str w1, [x0, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 24]
cmp w0, 1
cset w0, eq
and w0, w0, 255
sxtb w1, w0
ldrsb w0, [sp, 27]
eor w0, w1, w0
sxtb w0, w0
strb w0, [sp, 27]
ldr x0, [sp, 8]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 1092]
ldr x0, [sp, 8]
ldr w1, [x0, 1092]
ldr x0, [sp, 8]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1167
ldrb w1, [sp, 27]
ldr x0, [sp, 8]
ldr w0, [x0, 64]
cmp w1, w0
beq .L1137
ldrb w1, [sp, 27]
ldr x0, [sp, 8]
str w1, [x0, 64]
b .L1136
.L1137:
ldr x0, [sp, 8]
mov w1, 2
str w1, [x0, 16]
ldr x0, [sp, 8]
ldr x1, [x0, 3152]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0]
ldr x0, [sp, 8]
str w1, [x0, 60]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
strb w0, [sp, 27]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
lsr w1, w0, 8
ldr x0, [sp, 8]
str w1, [x0, 60]
ldr x0, [sp, 8]
ldr w0, [x0, 24]
cmp w0, 0
bne .L1138
ldr x0, [sp, 8]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 8]
str w1, [x0, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 28]
ldr x0, [sp, 8]
ldr w0, [x0, 28]
cmp w0, 512
bne .L1138
ldr x0, [sp, 8]
str wzr, [x0, 28]
.L1138:
ldr x0, [sp, 8]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 8]
str w1, [x0, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 24]
cmp w0, 1
cset w0, eq
and w0, w0, 255
sxtb w1, w0
ldrsb w0, [sp, 27]
eor w0, w1, w0
sxtb w0, w0
strb w0, [sp, 27]
ldr x0, [sp, 8]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 1092]
ldr x0, [sp, 8]
ldr w1, [x0, 1092]
ldr x0, [sp, 8]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1168
ldrb w1, [sp, 27]
ldr x0, [sp, 8]
ldr w0, [x0, 64]
cmp w1, w0
beq .L1140
ldrb w1, [sp, 27]
ldr x0, [sp, 8]
str w1, [x0, 64]
b .L1136
.L1140:
ldr x0, [sp, 8]
mov w1, 3
str w1, [x0, 16]
ldr x0, [sp, 8]
ldr x1, [x0, 3152]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0]
ldr x0, [sp, 8]
str w1, [x0, 60]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
strb w0, [sp, 27]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
lsr w1, w0, 8
ldr x0, [sp, 8]
str w1, [x0, 60]
ldr x0, [sp, 8]
ldr w0, [x0, 24]
cmp w0, 0
bne .L1141
ldr x0, [sp, 8]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 8]
str w1, [x0, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 28]
ldr x0, [sp, 8]
ldr w0, [x0, 28]
cmp w0, 512
bne .L1141
ldr x0, [sp, 8]
str wzr, [x0, 28]
.L1141:
ldr x0, [sp, 8]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 8]
str w1, [x0, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 24]
cmp w0, 1
cset w0, eq
and w0, w0, 255
sxtb w1, w0
ldrsb w0, [sp, 27]
eor w0, w1, w0
sxtb w0, w0
strb w0, [sp, 27]
ldr x0, [sp, 8]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 1092]
ldr x0, [sp, 8]
ldr w1, [x0, 1092]
ldr x0, [sp, 8]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1169
ldrb w1, [sp, 27]
ldr x0, [sp, 8]
ldr w0, [x0, 64]
cmp w1, w0
beq .L1143
ldrb w1, [sp, 27]
ldr x0, [sp, 8]
str w1, [x0, 64]
b .L1136
.L1143:
ldr x0, [sp, 8]
ldr x1, [x0, 3152]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0]
ldr x0, [sp, 8]
str w1, [x0, 60]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
strb w0, [sp, 27]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
lsr w1, w0, 8
ldr x0, [sp, 8]
str w1, [x0, 60]
ldr x0, [sp, 8]
ldr w0, [x0, 24]
cmp w0, 0
bne .L1144
ldr x0, [sp, 8]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 8]
str w1, [x0, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 28]
ldr x0, [sp, 8]
ldr w0, [x0, 28]
cmp w0, 512
bne .L1144
ldr x0, [sp, 8]
str wzr, [x0, 28]
.L1144:
ldr x0, [sp, 8]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 8]
str w1, [x0, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 24]
cmp w0, 1
cset w0, eq
and w0, w0, 255
sxtb w1, w0
ldrsb w0, [sp, 27]
eor w0, w1, w0
sxtb w0, w0
strb w0, [sp, 27]
ldr x0, [sp, 8]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 1092]
ldrb w0, [sp, 27]
add w1, w0, 4
ldr x0, [sp, 8]
str w1, [x0, 16]
ldr x0, [sp, 8]
ldr x1, [x0, 3152]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0]
ldr x0, [sp, 8]
str w1, [x0, 60]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 8]
str w1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
lsr w1, w0, 8
ldr x0, [sp, 8]
str w1, [x0, 60]
ldr x0, [sp, 8]
ldr w0, [x0, 24]
cmp w0, 0
bne .L1145
ldr x0, [sp, 8]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 8]
str w1, [x0, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 28]
ldr x0, [sp, 8]
ldr w0, [x0, 28]
cmp w0, 512
bne .L1145
ldr x0, [sp, 8]
str wzr, [x0, 28]
.L1145:
ldr x0, [sp, 8]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 8]
str w1, [x0, 24]
ldr x0, [sp, 8]
ldr w0, [x0, 64]
ldr x1, [sp, 8]
ldr w1, [x1, 24]
cmp w1, 1
cset w1, eq
and w1, w1, 255
eor w1, w0, w1
ldr x0, [sp, 8]
str w1, [x0, 64]
ldr x0, [sp, 8]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 8]
str w1, [x0, 1092]
b .L1132
.L1167:
nop
b .L1132
.L1168:
nop
b .L1132
.L1169:
nop
.L1136:
b .L1132
.L1126:
ldr x0, [sp, 8]
ldr w0, [x0, 3184]
str w0, [sp, 28]
ldr x0, [sp, 8]
ldrb w0, [x0, 12]
strb w0, [sp, 26]
ldr x0, [sp, 8]
ldr w0, [x0, 16]
str w0, [sp, 32]
ldr x0, [sp, 8]
ldr w0, [x0, 1092]
str w0, [sp, 36]
ldr x0, [sp, 8]
ldr w0, [x0, 64]
str w0, [sp, 40]
ldr x0, [sp, 8]
ldr x0, [x0, 3152]
str x0, [sp, 72]
ldr x0, [sp, 8]
ldr w0, [x0, 60]
str w0, [sp, 44]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x0, [x0, 24]
str x0, [sp, 64]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w0, [x0, 32]
str w0, [sp, 48]
ldr w0, [sp, 48]
str w0, [sp, 52]
ldr x0, [sp, 8]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
str w0, [sp, 56]
.L1161:
ldr w0, [sp, 32]
cmp w0, 0
ble .L1146
.L1151:
ldr w0, [sp, 48]
cmp w0, 0
beq .L1170
ldr w0, [sp, 32]
cmp w0, 1
beq .L1171
ldr x0, [sp, 64]
ldrb w1, [sp, 26]
strb w1, [x0]
ldr w0, [sp, 28]
lsl w1, w0, 8
ldr w0, [sp, 28]
lsr w2, w0, 24
ldrb w0, [sp, 26]
eor w2, w2, w0
adrp x0, BZ2_crc32Table
add x0, x0, :lo12:BZ2_crc32Table
uxtw x2, w2
ldr w0, [x0, x2, lsl 2]
eor w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 32]
sub w0, w0, #1
str w0, [sp, 32]
ldr x0, [sp, 64]
add x0, x0, 1
str x0, [sp, 64]
ldr w0, [sp, 48]
sub w0, w0, #1
str w0, [sp, 48]
b .L1151
.L1171:
nop
b .L1150
.L1172:
nop
.L1150:
ldr w0, [sp, 48]
cmp w0, 0
bne .L1152
mov w0, 1
str w0, [sp, 32]
b .L1148
.L1152:
ldr x0, [sp, 64]
ldrb w1, [sp, 26]
strb w1, [x0]
ldr w0, [sp, 28]
lsl w1, w0, 8
ldr w0, [sp, 28]
lsr w2, w0, 24
ldrb w0, [sp, 26]
eor w2, w2, w0
adrp x0, BZ2_crc32Table
add x0, x0, :lo12:BZ2_crc32Table
uxtw x2, w2
ldr w0, [x0, x2, lsl 2]
eor w0, w1, w0
str w0, [sp, 28]
ldr x0, [sp, 64]
add x0, x0, 1
str x0, [sp, 64]
ldr w0, [sp, 48]
sub w0, w0, #1
str w0, [sp, 48]
.L1146:
ldr w1, [sp, 36]
ldr w0, [sp, 56]
cmp w1, w0
bne .L1153
str wzr, [sp, 32]
b .L1148
.L1153:
ldr w0, [sp, 40]
strb w0, [sp, 26]
ldr w0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 72]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 44]
ldr w0, [sp, 44]
strb w0, [sp, 27]
ldr w0, [sp, 44]
lsr w0, w0, 8
str w0, [sp, 44]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
ldrb w0, [sp, 27]
ldr w1, [sp, 40]
cmp w1, w0
beq .L1154
ldrb w0, [sp, 27]
str w0, [sp, 40]
b .L1150
.L1154:
ldr w1, [sp, 36]
ldr w0, [sp, 56]
cmp w1, w0
beq .L1172
mov w0, 2
str w0, [sp, 32]
ldr w0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 72]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 44]
ldr w0, [sp, 44]
strb w0, [sp, 27]
ldr w0, [sp, 44]
lsr w0, w0, 8
str w0, [sp, 44]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
ldr w1, [sp, 36]
ldr w0, [sp, 56]
cmp w1, w0
beq .L1173
ldrb w0, [sp, 27]
ldr w1, [sp, 40]
cmp w1, w0
beq .L1158
ldrb w0, [sp, 27]
str w0, [sp, 40]
b .L1157
.L1158:
mov w0, 3
str w0, [sp, 32]
ldr w0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 72]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 44]
ldr w0, [sp, 44]
strb w0, [sp, 27]
ldr w0, [sp, 44]
lsr w0, w0, 8
str w0, [sp, 44]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
ldr w1, [sp, 36]
ldr w0, [sp, 56]
cmp w1, w0
beq .L1174
ldrb w0, [sp, 27]
ldr w1, [sp, 40]
cmp w1, w0
beq .L1160
ldrb w0, [sp, 27]
str w0, [sp, 40]
b .L1157
.L1160:
ldr w0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 72]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 44]
ldr w0, [sp, 44]
strb w0, [sp, 27]
ldr w0, [sp, 44]
lsr w0, w0, 8
str w0, [sp, 44]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
ldrb w0, [sp, 27]
add w0, w0, 4
str w0, [sp, 32]
ldr w0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 72]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 44]
ldr w0, [sp, 44]
and w0, w0, 255
str w0, [sp, 40]
ldr w0, [sp, 44]
lsr w0, w0, 8
str w0, [sp, 44]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
b .L1161
.L1173:
nop
b .L1161
.L1174:
nop
.L1157:
b .L1161
.L1170:
nop
.L1148:
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w0, [x0, 36]
str w0, [sp, 60]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w2, [x0, 36]
ldr w1, [sp, 52]
ldr w0, [sp, 48]
sub w1, w1, w0
ldr x0, [sp, 8]
ldr x0, [x0]
add w1, w2, w1
str w1, [x0, 36]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w0, [x0, 36]
ldr w1, [sp, 60]
cmp w1, w0
bls .L1162
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w1, [x0, 40]
add w1, w1, 1
str w1, [x0, 40]
.L1162:
ldr x0, [sp, 8]
ldr w1, [sp, 28]
str w1, [x0, 3184]
ldr x0, [sp, 8]
ldrb w1, [sp, 26]
strb w1, [x0, 12]
ldr x0, [sp, 8]
ldr w1, [sp, 32]
str w1, [x0, 16]
ldr x0, [sp, 8]
ldr w1, [sp, 36]
str w1, [x0, 1092]
ldr x0, [sp, 8]
ldr w1, [sp, 40]
str w1, [x0, 64]
ldr x0, [sp, 8]
ldr x1, [sp, 72]
str x1, [x0, 3152]
ldr x0, [sp, 8]
ldr w1, [sp, 44]
str w1, [x0, 60]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr x1, [sp, 64]
str x1, [x0, 24]
ldr x0, [sp, 8]
ldr x0, [x0]
ldr w1, [sp, 48]
str w1, [x0, 32]
b .L1125
.L1164:
nop
b .L1125
.L1166:
nop
.L1125:
add sp, sp, 80
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE45:
.size unRLE_obuf_to_output_FAST, .-unRLE_obuf_to_output_FAST
.align 2
.global BZ2_indexIntoF
.type BZ2_indexIntoF, %function
BZ2_indexIntoF:
.LFB46:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str x1, [sp]
str wzr, [sp, 20]
mov w0, 256
str w0, [sp, 24]
.L1178:
ldr w1, [sp, 20]
ldr w0, [sp, 24]
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 28]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x1, [sp]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 12]
cmp w1, w0
blt .L1176
ldr w0, [sp, 28]
str w0, [sp, 20]
b .L1177
.L1176:
ldr w0, [sp, 28]
str w0, [sp, 24]
.L1177:
ldr w1, [sp, 24]
ldr w0, [sp, 20]
sub w0, w1, w0
cmp w0, 1
bne .L1178
ldr w0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE46:
.size BZ2_indexIntoF, .-BZ2_indexIntoF
.align 2
.type unRLE_obuf_to_output_SMALL, %function
unRLE_obuf_to_output_SMALL:
.LFB47:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
ldrb w0, [x0, 20]
cmp w0, 0
beq .L1181
.L1187:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 32]
cmp w0, 0
beq .L1215
ldr x0, [sp, 24]
ldr w0, [x0, 16]
cmp w0, 0
beq .L1216
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x0, [x0, 24]
ldr x1, [sp, 24]
ldrb w1, [x1, 12]
strb w1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 3184]
lsl w1, w0, 8
ldr x0, [sp, 24]
ldr w0, [x0, 3184]
lsr w0, w0, 24
ldr x2, [sp, 24]
ldrb w2, [x2, 12]
eor w2, w0, w2
adrp x0, BZ2_crc32Table
add x0, x0, :lo12:BZ2_crc32Table
uxtw x2, w2
ldr w0, [x0, x2, lsl 2]
eor w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 3184]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0, 24]
add x1, x1, 1
str x1, [x0, 24]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 32]
sub w1, w1, #1
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 36]
add w1, w1, 1
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 36]
cmp w0, 0
bne .L1187
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 40]
add w1, w1, 1
str w1, [x0, 40]
b .L1187
.L1216:
nop
ldr x0, [sp, 24]
ldr w1, [x0, 1092]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1217
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 64]
and w1, w0, 255
ldr x0, [sp, 24]
strb w1, [x0, 12]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 0
bne .L1189
ldr x0, [sp, 24]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 28]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
cmp w0, 512
bne .L1189
ldr x0, [sp, 24]
str wzr, [x0, 28]
.L1189:
ldr x0, [sp, 24]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 1
cset w0, eq
and w0, w0, 255
sxtb w1, w0
ldrsb w0, [sp, 47]
eor w0, w1, w0
sxtb w0, w0
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
ldr x0, [sp, 24]
ldr w1, [x0, 1092]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1218
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
ldr w0, [x0, 64]
cmp w1, w0
beq .L1192
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
str w1, [x0, 64]
b .L1191
.L1192:
ldr x0, [sp, 24]
mov w1, 2
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 0
bne .L1193
ldr x0, [sp, 24]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 28]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
cmp w0, 512
bne .L1193
ldr x0, [sp, 24]
str wzr, [x0, 28]
.L1193:
ldr x0, [sp, 24]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 1
cset w0, eq
and w0, w0, 255
sxtb w1, w0
ldrsb w0, [sp, 47]
eor w0, w1, w0
sxtb w0, w0
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
ldr x0, [sp, 24]
ldr w1, [x0, 1092]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1219
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
ldr w0, [x0, 64]
cmp w1, w0
beq .L1195
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
str w1, [x0, 64]
b .L1191
.L1195:
ldr x0, [sp, 24]
mov w1, 3
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 0
bne .L1196
ldr x0, [sp, 24]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 28]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
cmp w0, 512
bne .L1196
ldr x0, [sp, 24]
str wzr, [x0, 28]
.L1196:
ldr x0, [sp, 24]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 1
cset w0, eq
and w0, w0, 255
sxtb w1, w0
ldrsb w0, [sp, 47]
eor w0, w1, w0
sxtb w0, w0
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
ldr x0, [sp, 24]
ldr w1, [x0, 1092]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1220
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
ldr w0, [x0, 64]
cmp w1, w0
beq .L1198
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
str w1, [x0, 64]
b .L1191
.L1198:
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 0
bne .L1199
ldr x0, [sp, 24]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 28]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
cmp w0, 512
bne .L1199
ldr x0, [sp, 24]
str wzr, [x0, 28]
.L1199:
ldr x0, [sp, 24]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 1
cset w0, eq
and w0, w0, 255
sxtb w1, w0
ldrsb w0, [sp, 47]
eor w0, w1, w0
sxtb w0, w0
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
ldrb w0, [sp, 47]
add w1, w0, 4
ldr x0, [sp, 24]
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 64]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 0
bne .L1200
ldr x0, [sp, 24]
ldr w1, [x0, 28]
adrp x0, BZ2_rNums
add x0, x0, :lo12:BZ2_rNums
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 28]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
cmp w0, 512
bne .L1200
ldr x0, [sp, 24]
str wzr, [x0, 28]
.L1200:
ldr x0, [sp, 24]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 64]
ldr x1, [sp, 24]
ldr w1, [x1, 24]
cmp w1, 1
cset w1, eq
and w1, w1, 255
eor w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 64]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
b .L1187
.L1218:
nop
b .L1187
.L1219:
nop
b .L1187
.L1220:
nop
.L1191:
b .L1187
.L1181:
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 32]
cmp w0, 0
beq .L1221
ldr x0, [sp, 24]
ldr w0, [x0, 16]
cmp w0, 0
beq .L1222
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x0, [x0, 24]
ldr x1, [sp, 24]
ldrb w1, [x1, 12]
strb w1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 3184]
lsl w1, w0, 8
ldr x0, [sp, 24]
ldr w0, [x0, 3184]
lsr w0, w0, 24
ldr x2, [sp, 24]
ldrb w2, [x2, 12]
eor w2, w0, w2
adrp x0, BZ2_crc32Table
add x0, x0, :lo12:BZ2_crc32Table
uxtw x2, w2
ldr w0, [x0, x2, lsl 2]
eor w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 3184]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [x0, 24]
add x1, x1, 1
str x1, [x0, 24]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 32]
sub w1, w1, #1
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 36]
add w1, w1, 1
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w0, [x0, 36]
cmp w0, 0
bne .L1181
ldr x0, [sp, 24]
ldr x0, [x0]
ldr w1, [x0, 40]
add w1, w1, 1
str w1, [x0, 40]
b .L1181
.L1222:
nop
ldr x0, [sp, 24]
ldr w1, [x0, 1092]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1223
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 64]
and w1, w0, 255
ldr x0, [sp, 24]
strb w1, [x0, 12]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
ldr x0, [sp, 24]
ldr w1, [x0, 1092]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1224
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
ldr w0, [x0, 64]
cmp w1, w0
beq .L1208
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
str w1, [x0, 64]
b .L1207
.L1208:
ldr x0, [sp, 24]
mov w1, 2
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
ldr x0, [sp, 24]
ldr w1, [x0, 1092]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1225
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
ldr w0, [x0, 64]
cmp w1, w0
beq .L1210
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
str w1, [x0, 64]
b .L1207
.L1210:
ldr x0, [sp, 24]
mov w1, 3
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
ldr x0, [sp, 24]
ldr w1, [x0, 1092]
ldr x0, [sp, 24]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
beq .L1226
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
ldr w0, [x0, 64]
cmp w1, w0
beq .L1212
ldrb w1, [sp, 47]
ldr x0, [sp, 24]
str w1, [x0, 64]
b .L1207
.L1212:
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
strb w0, [sp, 47]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
ldrb w0, [sp, 47]
add w1, w0, 4
ldr x0, [sp, 24]
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
mov w2, w0
ldr x0, [sp, 24]
add x0, x0, 1096
mov x1, x0
mov w0, w2
bl BZ2_indexIntoF
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 64]
ldr x0, [sp, 24]
ldr x1, [x0, 3160]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
uxtw x0, w0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 3168]
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsr w0, w0, 1
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 60]
lsl w0, w0, 2
and w0, w0, 4
lsr w0, w1, w0
lsl w0, w0, 16
and w0, w0, 983040
orr w1, w2, w0
ldr x0, [sp, 24]
str w1, [x0, 60]
ldr x0, [sp, 24]
ldr w0, [x0, 1092]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 1092]
b .L1181
.L1224:
nop
b .L1181
.L1225:
nop
b .L1181
.L1226:
nop
.L1207:
b .L1181
.L1215:
nop
b .L1180
.L1217:
nop
b .L1180
.L1221:
nop
b .L1180
.L1223:
nop
.L1180:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE47:
.size unRLE_obuf_to_output_SMALL, .-unRLE_obuf_to_output_SMALL
.section .rodata
.align 3
.LC23:
.string " {0x%x, 0x%x}"
.align 3
.LC24:
.string "\n combined CRCs: stored = 0x%x, computed = 0x%x"
.text
.align 2
.global BZ2_bzDecompress
.type BZ2_bzDecompress, %function
BZ2_bzDecompress:
.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]
cmp x0, 0
bne .L1228
mov w0, -2
b .L1229
.L1228:
ldr x0, [sp, 24]
ldr x0, [x0, 48]
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1230
mov w0, -2
b .L1229
.L1230:
ldr x0, [sp, 40]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
beq .L1231
mov w0, -2
b .L1229
.L1231:
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 1
bne .L1232
mov w0, -1
b .L1229
.L1232:
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 2
bne .L1233
ldr x0, [sp, 40]
ldrb w0, [x0, 44]
cmp w0, 0
beq .L1234
ldr x0, [sp, 40]
bl unRLE_obuf_to_output_SMALL
b .L1235
.L1234:
ldr x0, [sp, 40]
bl unRLE_obuf_to_output_FAST
.L1235:
ldr x0, [sp, 40]
ldr w1, [x0, 1092]
ldr x0, [sp, 40]
add x0, x0, 49152
ldr w0, [x0, 14928]
add w0, w0, 1
cmp w1, w0
bne .L1236
ldr x0, [sp, 40]
ldr w0, [x0, 16]
cmp w0, 0
bne .L1236
ldr x0, [sp, 40]
ldr w0, [x0, 3184]
mvn w1, w0
ldr x0, [sp, 40]
str w1, [x0, 3184]
ldr x0, [sp, 40]
ldr w0, [x0, 52]
cmp w0, 2
ble .L1237
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldr x0, [sp, 40]
ldr w1, [x0, 3176]
ldr x0, [sp, 40]
ldr w0, [x0, 3184]
mov w3, w0
mov w2, w1
adrp x0, .LC23
add x1, x0, :lo12:.LC23
mov x0, x4
bl fprintf
.L1237:
ldr x0, [sp, 40]
ldr w0, [x0, 52]
cmp w0, 1
ble .L1238
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x1, x0
mov w0, 93
bl fputc
.L1238:
ldr x0, [sp, 40]
ldr w1, [x0, 3184]
ldr x0, [sp, 40]
ldr w0, [x0, 3176]
cmp w1, w0
beq .L1239
mov w0, -4
b .L1229
.L1239:
ldr x0, [sp, 40]
ldr w0, [x0, 3188]
ror w1, w0, 31
ldr x0, [sp, 40]
str w1, [x0, 3188]
ldr x0, [sp, 40]
ldr w1, [x0, 3188]
ldr x0, [sp, 40]
ldr w0, [x0, 3184]
eor w1, w1, w0
ldr x0, [sp, 40]
str w1, [x0, 3188]
ldr x0, [sp, 40]
mov w1, 14
str w1, [x0, 8]
b .L1233
.L1236:
mov w0, 0
b .L1229
.L1233:
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 9
ble .L1231
ldr x0, [sp, 40]
bl BZ2_decompress
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 4
bne .L1241
ldr x0, [sp, 40]
ldr w0, [x0, 52]
cmp w0, 2
ble .L1242
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldr x0, [sp, 40]
ldr w1, [x0, 3180]
ldr x0, [sp, 40]
ldr w0, [x0, 3188]
mov w3, w0
mov w2, w1
adrp x0, .LC24
add x1, x0, :lo12:.LC24
mov x0, x4
bl fprintf
.L1242:
ldr x0, [sp, 40]
ldr w1, [x0, 3188]
ldr x0, [sp, 40]
ldr w0, [x0, 3180]
cmp w1, w0
beq .L1243
mov w0, -4
b .L1229
.L1243:
ldr w0, [sp, 36]
b .L1229
.L1241:
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 2
beq .L1231
ldr w0, [sp, 36]
.L1229:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE48:
.size BZ2_bzDecompress, .-BZ2_bzDecompress
.align 2
.global BZ2_bzDecompressEnd
.type BZ2_bzDecompressEnd, %function
BZ2_bzDecompressEnd:
.LFB49:
.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 .L1245
mov w0, -2
b .L1246
.L1245:
ldr x0, [sp, 24]
ldr x0, [x0, 48]
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1247
mov w0, -2
b .L1246
.L1247:
ldr x0, [sp, 40]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
beq .L1248
mov w0, -2
b .L1246
.L1248:
ldr x0, [sp, 40]
ldr x0, [x0, 3152]
cmp x0, 0
beq .L1249
ldr x0, [sp, 24]
ldr x2, [x0, 64]
ldr x0, [sp, 24]
ldr x3, [x0, 72]
ldr x0, [sp, 40]
ldr x0, [x0, 3152]
mov x1, x0
mov x0, x3
blr x2
.L1249:
ldr x0, [sp, 40]
ldr x0, [x0, 3160]
cmp x0, 0
beq .L1250
ldr x0, [sp, 24]
ldr x2, [x0, 64]
ldr x0, [sp, 24]
ldr x3, [x0, 72]
ldr x0, [sp, 40]
ldr x0, [x0, 3160]
mov x1, x0
mov x0, x3
blr x2
.L1250:
ldr x0, [sp, 40]
ldr x0, [x0, 3168]
cmp x0, 0
beq .L1251
ldr x0, [sp, 24]
ldr x2, [x0, 64]
ldr x0, [sp, 24]
ldr x3, [x0, 72]
ldr x0, [sp, 40]
ldr x0, [x0, 3168]
mov x1, x0
mov x0, x3
blr x2
.L1251:
ldr x0, [sp, 24]
ldr x2, [x0, 64]
ldr x0, [sp, 24]
ldr x3, [x0, 72]
ldr x0, [sp, 24]
ldr x0, [x0, 48]
mov x1, x0
mov x0, x3
blr x2
ldr x0, [sp, 24]
str xzr, [x0, 48]
mov w0, 0
.L1246:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE49:
.size BZ2_bzDecompressEnd, .-BZ2_bzDecompressEnd
.align 2
.type myfeof, %function
myfeof:
.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]
ldr x0, [sp, 24]
bl fgetc
str w0, [sp, 44]
ldr w0, [sp, 44]
cmn w0, #1
bne .L1253
mov w0, 1
b .L1254
.L1253:
ldr x1, [sp, 24]
ldr w0, [sp, 44]
bl ungetc
mov w0, 0
.L1254:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE50:
.size myfeof, .-myfeof
.align 2
.global BZ2_bzWriteOpen
.type BZ2_bzWriteOpen, %function
BZ2_bzWriteOpen:
.LFB51:
.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]
str w3, [sp, 24]
str w4, [sp, 20]
str xzr, [sp, 56]
ldr x0, [sp, 40]
cmp x0, 0
beq .L1256
ldr x0, [sp, 40]
str wzr, [x0]
.L1256:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1257
ldr x0, [sp, 56]
str wzr, [x0, 5096]
.L1257:
ldr x0, [sp, 32]
cmp x0, 0
beq .L1258
ldr w0, [sp, 28]
cmp w0, 0
ble .L1258
ldr w0, [sp, 28]
cmp w0, 9
bgt .L1258
ldr w0, [sp, 20]
cmp w0, 0
blt .L1258
ldr w0, [sp, 20]
cmp w0, 250
bgt .L1258
ldr w0, [sp, 24]
cmp w0, 0
blt .L1258
ldr w0, [sp, 24]
cmp w0, 4
ble .L1259
.L1258:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1260
ldr x0, [sp, 40]
mov w1, -2
str w1, [x0]
.L1260:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1261
ldr x0, [sp, 56]
mov w1, -2
str w1, [x0, 5096]
.L1261:
mov x0, 0
b .L1262
.L1259:
ldr x0, [sp, 32]
bl ferror
cmp w0, 0
beq .L1263
ldr x0, [sp, 40]
cmp x0, 0
beq .L1264
ldr x0, [sp, 40]
mov w1, -6
str w1, [x0]
.L1264:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1265
ldr x0, [sp, 56]
mov w1, -6
str w1, [x0, 5096]
.L1265:
mov x0, 0
b .L1262
.L1263:
mov x0, 5104
bl malloc
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L1266
ldr x0, [sp, 40]
cmp x0, 0
beq .L1267
ldr x0, [sp, 40]
mov w1, -3
str w1, [x0]
.L1267:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1268
ldr x0, [sp, 56]
mov w1, -3
str w1, [x0, 5096]
.L1268:
mov x0, 0
b .L1262
.L1266:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1269
ldr x0, [sp, 40]
str wzr, [x0]
.L1269:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1270
ldr x0, [sp, 56]
str wzr, [x0, 5096]
.L1270:
ldr x0, [sp, 56]
add x0, x0, 4096
strb wzr, [x0, 1004]
ldr x0, [sp, 56]
str wzr, [x0, 5008]
ldr x0, [sp, 56]
ldr x1, [sp, 32]
str x1, [x0]
ldr x0, [sp, 56]
add x0, x0, 4096
mov w1, 1
strb w1, [x0, 916]
ldr x0, [sp, 56]
str xzr, [x0, 5072]
ldr x0, [sp, 56]
str xzr, [x0, 5080]
ldr x0, [sp, 56]
str xzr, [x0, 5088]
ldr w0, [sp, 20]
cmp w0, 0
bne .L1271
mov w0, 30
str w0, [sp, 20]
.L1271:
ldr x1, [sp, 56]
mov x0, 5016
add x0, x1, x0
ldr w3, [sp, 20]
ldr w2, [sp, 24]
ldr w1, [sp, 28]
bl BZ2_bzCompressInit
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
beq .L1272
ldr x0, [sp, 40]
cmp x0, 0
beq .L1273
ldr x0, [sp, 40]
ldr w1, [sp, 52]
str w1, [x0]
.L1273:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1274
ldr x0, [sp, 56]
ldr w1, [sp, 52]
str w1, [x0, 5096]
.L1274:
ldr x0, [sp, 56]
bl free
mov x0, 0
b .L1262
.L1272:
ldr x0, [sp, 56]
str wzr, [x0, 5024]
ldr x0, [sp, 56]
add x0, x0, 4096
mov w1, 1
strb w1, [x0, 1004]
ldr x0, [sp, 56]
.L1262:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE51:
.size BZ2_bzWriteOpen, .-BZ2_bzWriteOpen
.align 2
.global BZ2_bzWrite
.type BZ2_bzWrite, %function
BZ2_bzWrite:
.LFB52:
.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 x0, [sp, 32]
str x0, [sp, 72]
ldr x0, [sp, 40]
cmp x0, 0
beq .L1276
ldr x0, [sp, 40]
str wzr, [x0]
.L1276:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1277
ldr x0, [sp, 72]
str wzr, [x0, 5096]
.L1277:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1278
ldr x0, [sp, 24]
cmp x0, 0
beq .L1278
ldr w0, [sp, 20]
cmp w0, 0
bge .L1279
.L1278:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1280
ldr x0, [sp, 40]
mov w1, -2
str w1, [x0]
.L1280:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1303
ldr x0, [sp, 72]
mov w1, -2
str w1, [x0, 5096]
b .L1303
.L1279:
ldr x0, [sp, 72]
add x0, x0, 4096
ldrb w0, [x0, 916]
cmp w0, 0
bne .L1283
ldr x0, [sp, 40]
cmp x0, 0
beq .L1284
ldr x0, [sp, 40]
mov w1, -1
str w1, [x0]
.L1284:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1304
ldr x0, [sp, 72]
mov w1, -1
str w1, [x0, 5096]
b .L1304
.L1283:
ldr x0, [sp, 72]
ldr x0, [x0]
bl ferror
cmp w0, 0
beq .L1286
ldr x0, [sp, 40]
cmp x0, 0
beq .L1287
ldr x0, [sp, 40]
mov w1, -6
str w1, [x0]
.L1287:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1305
ldr x0, [sp, 72]
mov w1, -6
str w1, [x0, 5096]
b .L1305
.L1286:
ldr w0, [sp, 20]
cmp w0, 0
bne .L1289
ldr x0, [sp, 40]
cmp x0, 0
beq .L1290
ldr x0, [sp, 40]
str wzr, [x0]
.L1290:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1306
ldr x0, [sp, 72]
str wzr, [x0, 5096]
b .L1306
.L1289:
ldr w1, [sp, 20]
ldr x0, [sp, 72]
str w1, [x0, 5024]
ldr x0, [sp, 72]
ldr x1, [sp, 24]
str x1, [x0, 5016]
.L1302:
ldr x0, [sp, 72]
mov w1, 5000
str w1, [x0, 5048]
ldr x0, [sp, 72]
add x1, x0, 8
ldr x0, [sp, 72]
str x1, [x0, 5040]
ldr x1, [sp, 72]
mov x0, 5016
add x0, x1, x0
mov w1, 0
bl BZ2_bzCompress
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 1
beq .L1292
ldr x0, [sp, 40]
cmp x0, 0
beq .L1293
ldr x0, [sp, 40]
ldr w1, [sp, 60]
str w1, [x0]
.L1293:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1307
ldr x0, [sp, 72]
ldr w1, [sp, 60]
str w1, [x0, 5096]
b .L1307
.L1292:
ldr x0, [sp, 72]
ldr w1, [x0, 5048]
mov w0, 4999
cmp w1, w0
bhi .L1295
ldr x0, [sp, 72]
ldr w0, [x0, 5048]
mov w1, 5000
sub w0, w1, w0
str w0, [sp, 64]
ldr x0, [sp, 72]
add x4, x0, 8
ldrsw x1, [sp, 64]
ldr x0, [sp, 72]
ldr x0, [x0]
mov x3, x0
mov x2, x1
mov x1, 1
mov x0, x4
bl fwrite
str w0, [sp, 68]
ldr w1, [sp, 64]
ldr w0, [sp, 68]
cmp w1, w0
bne .L1296
ldr x0, [sp, 72]
ldr x0, [x0]
bl ferror
cmp w0, 0
beq .L1295
.L1296:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1297
ldr x0, [sp, 40]
mov w1, -6
str w1, [x0]
.L1297:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1308
ldr x0, [sp, 72]
mov w1, -6
str w1, [x0, 5096]
b .L1308
.L1295:
ldr x0, [sp, 72]
ldr w0, [x0, 5024]
cmp w0, 0
bne .L1302
ldr x0, [sp, 40]
cmp x0, 0
beq .L1300
ldr x0, [sp, 40]
str wzr, [x0]
.L1300:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1309
ldr x0, [sp, 72]
str wzr, [x0, 5096]
b .L1309
.L1303:
nop
b .L1275
.L1304:
nop
b .L1275
.L1305:
nop
b .L1275
.L1306:
nop
b .L1275
.L1307:
nop
b .L1275
.L1308:
nop
b .L1275
.L1309:
nop
.L1275:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE52:
.size BZ2_bzWrite, .-BZ2_bzWrite
.align 2
.global BZ2_bzWriteClose
.type BZ2_bzWriteClose, %function
BZ2_bzWriteClose:
.LFB53:
.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]
mov x6, 0
ldr x5, [sp, 24]
mov x4, 0
ldr x3, [sp, 32]
ldr w2, [sp, 44]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl BZ2_bzWriteClose64
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE53:
.size BZ2_bzWriteClose, .-BZ2_bzWriteClose
.align 2
.global BZ2_bzWriteClose64
.type BZ2_bzWriteClose64, %function
BZ2_bzWriteClose64:
.LFB54:
.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, 72]
str x1, [sp, 64]
str w2, [sp, 60]
str x3, [sp, 48]
str x4, [sp, 40]
str x5, [sp, 32]
str x6, [sp, 24]
ldr x0, [sp, 64]
str x0, [sp, 104]
ldr x0, [sp, 104]
cmp x0, 0
bne .L1312
ldr x0, [sp, 72]
cmp x0, 0
beq .L1313
ldr x0, [sp, 72]
str wzr, [x0]
.L1313:
ldr x0, [sp, 104]
cmp x0, 0
beq .L1345
ldr x0, [sp, 104]
str wzr, [x0, 5096]
b .L1345
.L1312:
ldr x0, [sp, 104]
add x0, x0, 4096
ldrb w0, [x0, 916]
cmp w0, 0
bne .L1316
ldr x0, [sp, 72]
cmp x0, 0
beq .L1317
ldr x0, [sp, 72]
mov w1, -1
str w1, [x0]
.L1317:
ldr x0, [sp, 104]
cmp x0, 0
beq .L1346
ldr x0, [sp, 104]
mov w1, -1
str w1, [x0, 5096]
b .L1346
.L1316:
ldr x0, [sp, 104]
ldr x0, [x0]
bl ferror
cmp w0, 0
beq .L1319
ldr x0, [sp, 72]
cmp x0, 0
beq .L1320
ldr x0, [sp, 72]
mov w1, -6
str w1, [x0]
.L1320:
ldr x0, [sp, 104]
cmp x0, 0
beq .L1347
ldr x0, [sp, 104]
mov w1, -6
str w1, [x0, 5096]
b .L1347
.L1319:
ldr x0, [sp, 48]
cmp x0, 0
beq .L1322
ldr x0, [sp, 48]
str wzr, [x0]
.L1322:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1323
ldr x0, [sp, 40]
str wzr, [x0]
.L1323:
ldr x0, [sp, 32]
cmp x0, 0
beq .L1324
ldr x0, [sp, 32]
str wzr, [x0]
.L1324:
ldr x0, [sp, 24]
cmp x0, 0
beq .L1325
ldr x0, [sp, 24]
str wzr, [x0]
.L1325:
ldr w0, [sp, 60]
cmp w0, 0
bne .L1326
ldr x0, [sp, 104]
ldr w0, [x0, 5096]
cmp w0, 0
bne .L1326
.L1335:
ldr x0, [sp, 104]
mov w1, 5000
str w1, [x0, 5048]
ldr x0, [sp, 104]
add x1, x0, 8
ldr x0, [sp, 104]
str x1, [x0, 5040]
ldr x1, [sp, 104]
mov x0, 5016
add x0, x1, x0
mov w1, 2
bl BZ2_bzCompress
str w0, [sp, 92]
ldr w0, [sp, 92]
cmp w0, 3
beq .L1327
ldr w0, [sp, 92]
cmp w0, 4
beq .L1327
ldr x0, [sp, 72]
cmp x0, 0
beq .L1328
ldr x0, [sp, 72]
ldr w1, [sp, 92]
str w1, [x0]
.L1328:
ldr x0, [sp, 104]
cmp x0, 0
beq .L1348
ldr x0, [sp, 104]
ldr w1, [sp, 92]
str w1, [x0, 5096]
b .L1348
.L1327:
ldr x0, [sp, 104]
ldr w1, [x0, 5048]
mov w0, 4999
cmp w1, w0
bhi .L1330
ldr x0, [sp, 104]
ldr w0, [x0, 5048]
mov w1, 5000
sub w0, w1, w0
str w0, [sp, 96]
ldr x0, [sp, 104]
add x4, x0, 8
ldrsw x1, [sp, 96]
ldr x0, [sp, 104]
ldr x0, [x0]
mov x3, x0
mov x2, x1
mov x1, 1
mov x0, x4
bl fwrite
str w0, [sp, 100]
ldr w1, [sp, 96]
ldr w0, [sp, 100]
cmp w1, w0
bne .L1331
ldr x0, [sp, 104]
ldr x0, [x0]
bl ferror
cmp w0, 0
beq .L1330
.L1331:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1332
ldr x0, [sp, 72]
mov w1, -6
str w1, [x0]
.L1332:
ldr x0, [sp, 104]
cmp x0, 0
beq .L1349
ldr x0, [sp, 104]
mov w1, -6
str w1, [x0, 5096]
b .L1349
.L1330:
ldr w0, [sp, 92]
cmp w0, 4
beq .L1350
b .L1335
.L1350:
nop
.L1326:
ldr w0, [sp, 60]
cmp w0, 0
bne .L1336
ldr x0, [sp, 104]
ldr x0, [x0]
bl ferror
cmp w0, 0
bne .L1336
ldr x0, [sp, 104]
ldr x0, [x0]
bl fflush
ldr x0, [sp, 104]
ldr x0, [x0]
bl ferror
cmp w0, 0
beq .L1336
ldr x0, [sp, 72]
cmp x0, 0
beq .L1337
ldr x0, [sp, 72]
mov w1, -6
str w1, [x0]
.L1337:
ldr x0, [sp, 104]
cmp x0, 0
beq .L1351
ldr x0, [sp, 104]
mov w1, -6
str w1, [x0, 5096]
b .L1351
.L1336:
ldr x0, [sp, 48]
cmp x0, 0
beq .L1339
ldr x0, [sp, 104]
ldr w1, [x0, 5028]
ldr x0, [sp, 48]
str w1, [x0]
.L1339:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1340
ldr x0, [sp, 104]
ldr w1, [x0, 5032]
ldr x0, [sp, 40]
str w1, [x0]
.L1340:
ldr x0, [sp, 32]
cmp x0, 0
beq .L1341
ldr x0, [sp, 104]
ldr w1, [x0, 5052]
ldr x0, [sp, 32]
str w1, [x0]
.L1341:
ldr x0, [sp, 24]
cmp x0, 0
beq .L1342
ldr x0, [sp, 104]
ldr w1, [x0, 5056]
ldr x0, [sp, 24]
str w1, [x0]
.L1342:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1343
ldr x0, [sp, 72]
str wzr, [x0]
.L1343:
ldr x0, [sp, 104]
cmp x0, 0
beq .L1344
ldr x0, [sp, 104]
str wzr, [x0, 5096]
.L1344:
ldr x1, [sp, 104]
mov x0, 5016
add x0, x1, x0
bl BZ2_bzCompressEnd
ldr x0, [sp, 104]
bl free
b .L1311
.L1345:
nop
b .L1311
.L1346:
nop
b .L1311
.L1347:
nop
b .L1311
.L1348:
nop
b .L1311
.L1349:
nop
b .L1311
.L1351:
nop
.L1311:
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE54:
.size BZ2_bzWriteClose64, .-BZ2_bzWriteClose64
.align 2
.global BZ2_bzReadOpen
.type BZ2_bzReadOpen, %function
BZ2_bzReadOpen:
.LFB55:
.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 w2, [sp, 44]
str w3, [sp, 40]
str x4, [sp, 32]
str w5, [sp, 28]
str xzr, [sp, 72]
ldr x0, [sp, 56]
cmp x0, 0
beq .L1353
ldr x0, [sp, 56]
str wzr, [x0]
.L1353:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1354
ldr x0, [sp, 72]
str wzr, [x0, 5096]
.L1354:
ldr x0, [sp, 48]
cmp x0, 0
beq .L1355
ldr w0, [sp, 40]
cmp w0, 0
beq .L1356
ldr w0, [sp, 40]
cmp w0, 1
bne .L1355
.L1356:
ldr w0, [sp, 44]
cmp w0, 0
blt .L1355
ldr w0, [sp, 44]
cmp w0, 4
bgt .L1355
ldr x0, [sp, 32]
cmp x0, 0
bne .L1357
ldr w0, [sp, 28]
cmp w0, 0
bne .L1355
.L1357:
ldr x0, [sp, 32]
cmp x0, 0
beq .L1358
ldr w0, [sp, 28]
cmp w0, 0
blt .L1355
ldr w1, [sp, 28]
mov w0, 5000
cmp w1, w0
ble .L1358
.L1355:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1359
ldr x0, [sp, 56]
mov w1, -2
str w1, [x0]
.L1359:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1360
ldr x0, [sp, 72]
mov w1, -2
str w1, [x0, 5096]
.L1360:
mov x0, 0
b .L1361
.L1358:
ldr x0, [sp, 48]
bl ferror
cmp w0, 0
beq .L1362
ldr x0, [sp, 56]
cmp x0, 0
beq .L1363
ldr x0, [sp, 56]
mov w1, -6
str w1, [x0]
.L1363:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1364
ldr x0, [sp, 72]
mov w1, -6
str w1, [x0, 5096]
.L1364:
mov x0, 0
b .L1361
.L1362:
mov x0, 5104
bl malloc
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L1365
ldr x0, [sp, 56]
cmp x0, 0
beq .L1366
ldr x0, [sp, 56]
mov w1, -3
str w1, [x0]
.L1366:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1367
ldr x0, [sp, 72]
mov w1, -3
str w1, [x0, 5096]
.L1367:
mov x0, 0
b .L1361
.L1365:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1368
ldr x0, [sp, 56]
str wzr, [x0]
.L1368:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1369
ldr x0, [sp, 72]
str wzr, [x0, 5096]
.L1369:
ldr x0, [sp, 72]
add x0, x0, 4096
strb wzr, [x0, 1004]
ldr x0, [sp, 72]
ldr x1, [sp, 48]
str x1, [x0]
ldr x0, [sp, 72]
str wzr, [x0, 5008]
ldr x0, [sp, 72]
add x0, x0, 4096
strb wzr, [x0, 916]
ldr x0, [sp, 72]
str xzr, [x0, 5072]
ldr x0, [sp, 72]
str xzr, [x0, 5080]
ldr x0, [sp, 72]
str xzr, [x0, 5088]
b .L1370
.L1371:
ldr x0, [sp, 72]
ldr w3, [x0, 5008]
ldr x0, [sp, 32]
ldrb w2, [x0]
ldr x1, [sp, 72]
sxtw x0, w3
add x0, x1, x0
mov w1, w2
strb w1, [x0, 8]
ldr x0, [sp, 72]
ldr w0, [x0, 5008]
add w1, w0, 1
ldr x0, [sp, 72]
str w1, [x0, 5008]
ldr x0, [sp, 32]
add x0, x0, 1
str x0, [sp, 32]
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 28]
.L1370:
ldr w0, [sp, 28]
cmp w0, 0
bgt .L1371
ldr x1, [sp, 72]
mov x0, 5016
add x0, x1, x0
ldr w2, [sp, 40]
ldr w1, [sp, 44]
bl BZ2_bzDecompressInit
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
beq .L1372
ldr x0, [sp, 56]
cmp x0, 0
beq .L1373
ldr x0, [sp, 56]
ldr w1, [sp, 68]
str w1, [x0]
.L1373:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1374
ldr x0, [sp, 72]
ldr w1, [sp, 68]
str w1, [x0, 5096]
.L1374:
ldr x0, [sp, 72]
bl free
mov x0, 0
b .L1361
.L1372:
ldr x0, [sp, 72]
ldr w0, [x0, 5008]
mov w1, w0
ldr x0, [sp, 72]
str w1, [x0, 5024]
ldr x0, [sp, 72]
add x1, x0, 8
ldr x0, [sp, 72]
str x1, [x0, 5016]
ldr x0, [sp, 72]
add x0, x0, 4096
mov w1, 1
strb w1, [x0, 1004]
ldr x0, [sp, 72]
.L1361:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE55:
.size BZ2_bzReadOpen, .-BZ2_bzReadOpen
.align 2
.global BZ2_bzReadClose
.type BZ2_bzReadClose, %function
BZ2_bzReadClose:
.LFB56:
.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]
str x0, [sp, 40]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1376
ldr x0, [sp, 24]
str wzr, [x0]
.L1376:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1377
ldr x0, [sp, 40]
str wzr, [x0, 5096]
.L1377:
ldr x0, [sp, 40]
cmp x0, 0
bne .L1378
ldr x0, [sp, 24]
cmp x0, 0
beq .L1379
ldr x0, [sp, 24]
str wzr, [x0]
.L1379:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1386
ldr x0, [sp, 40]
str wzr, [x0, 5096]
b .L1386
.L1378:
ldr x0, [sp, 40]
add x0, x0, 4096
ldrb w0, [x0, 916]
cmp w0, 0
beq .L1382
ldr x0, [sp, 24]
cmp x0, 0
beq .L1383
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0]
.L1383:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1387
ldr x0, [sp, 40]
mov w1, -1
str w1, [x0, 5096]
b .L1387
.L1382:
ldr x0, [sp, 40]
add x0, x0, 4096
ldrb w0, [x0, 1004]
cmp w0, 0
beq .L1385
ldr x1, [sp, 40]
mov x0, 5016
add x0, x1, x0
bl BZ2_bzDecompressEnd
.L1385:
ldr x0, [sp, 40]
bl free
b .L1375
.L1386:
nop
b .L1375
.L1387:
nop
.L1375:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE56:
.size BZ2_bzReadClose, .-BZ2_bzReadClose
.align 2
.global BZ2_bzRead
.type BZ2_bzRead, %function
BZ2_bzRead:
.LFB57:
.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]
ldr x0, [sp, 32]
str x0, [sp, 56]
ldr x0, [sp, 40]
cmp x0, 0
beq .L1389
ldr x0, [sp, 40]
str wzr, [x0]
.L1389:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1390
ldr x0, [sp, 56]
str wzr, [x0, 5096]
.L1390:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1391
ldr x0, [sp, 24]
cmp x0, 0
beq .L1391
ldr w0, [sp, 20]
cmp w0, 0
bge .L1392
.L1391:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1393
ldr x0, [sp, 40]
mov w1, -2
str w1, [x0]
.L1393:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1394
ldr x0, [sp, 56]
mov w1, -2
str w1, [x0, 5096]
.L1394:
mov w0, 0
b .L1395
.L1392:
ldr x0, [sp, 56]
add x0, x0, 4096
ldrb w0, [x0, 916]
cmp w0, 0
beq .L1396
ldr x0, [sp, 40]
cmp x0, 0
beq .L1397
ldr x0, [sp, 40]
mov w1, -1
str w1, [x0]
.L1397:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1398
ldr x0, [sp, 56]
mov w1, -1
str w1, [x0, 5096]
.L1398:
mov w0, 0
b .L1395
.L1396:
ldr w0, [sp, 20]
cmp w0, 0
bne .L1399
ldr x0, [sp, 40]
cmp x0, 0
beq .L1400
ldr x0, [sp, 40]
str wzr, [x0]
.L1400:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1401
ldr x0, [sp, 56]
str wzr, [x0, 5096]
.L1401:
mov w0, 0
b .L1395
.L1399:
ldr w1, [sp, 20]
ldr x0, [sp, 56]
str w1, [x0, 5048]
ldr x0, [sp, 56]
ldr x1, [sp, 24]
str x1, [x0, 5040]
.L1421:
ldr x0, [sp, 56]
ldr x0, [x0]
bl ferror
cmp w0, 0
beq .L1402
ldr x0, [sp, 40]
cmp x0, 0
beq .L1403
ldr x0, [sp, 40]
mov w1, -6
str w1, [x0]
.L1403:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1404
ldr x0, [sp, 56]
mov w1, -6
str w1, [x0, 5096]
.L1404:
mov w0, 0
b .L1395
.L1402:
ldr x0, [sp, 56]
ldr w0, [x0, 5024]
cmp w0, 0
bne .L1405
ldr x0, [sp, 56]
ldr x0, [x0]
bl myfeof
and w0, w0, 255
cmp w0, 0
bne .L1405
ldr x0, [sp, 56]
add x4, x0, 8
ldr x0, [sp, 56]
ldr x0, [x0]
mov x3, x0
mov x2, 5000
mov x1, 1
mov x0, x4
bl fread
str w0, [sp, 48]
ldr x0, [sp, 56]
ldr x0, [x0]
bl ferror
cmp w0, 0
beq .L1406
ldr x0, [sp, 40]
cmp x0, 0
beq .L1407
ldr x0, [sp, 40]
mov w1, -6
str w1, [x0]
.L1407:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1408
ldr x0, [sp, 56]
mov w1, -6
str w1, [x0, 5096]
.L1408:
mov w0, 0
b .L1395
.L1406:
ldr x0, [sp, 56]
ldr w1, [sp, 48]
str w1, [x0, 5008]
ldr x0, [sp, 56]
ldr w0, [x0, 5008]
mov w1, w0
ldr x0, [sp, 56]
str w1, [x0, 5024]
ldr x0, [sp, 56]
add x1, x0, 8
ldr x0, [sp, 56]
str x1, [x0, 5016]
.L1405:
ldr x1, [sp, 56]
mov x0, 5016
add x0, x1, x0
bl BZ2_bzDecompress
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
beq .L1409
ldr w0, [sp, 52]
cmp w0, 4
beq .L1409
ldr x0, [sp, 40]
cmp x0, 0
beq .L1410
ldr x0, [sp, 40]
ldr w1, [sp, 52]
str w1, [x0]
.L1410:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1411
ldr x0, [sp, 56]
ldr w1, [sp, 52]
str w1, [x0, 5096]
.L1411:
mov w0, 0
b .L1395
.L1409:
ldr w0, [sp, 52]
cmp w0, 0
bne .L1412
ldr x0, [sp, 56]
ldr x0, [x0]
bl myfeof
and w0, w0, 255
cmp w0, 0
beq .L1412
ldr x0, [sp, 56]
ldr w0, [x0, 5024]
cmp w0, 0
bne .L1412
ldr x0, [sp, 56]
ldr w0, [x0, 5048]
cmp w0, 0
beq .L1412
ldr x0, [sp, 40]
cmp x0, 0
beq .L1413
ldr x0, [sp, 40]
mov w1, -7
str w1, [x0]
.L1413:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1414
ldr x0, [sp, 56]
mov w1, -7
str w1, [x0, 5096]
.L1414:
mov w0, 0
b .L1395
.L1412:
ldr w0, [sp, 52]
cmp w0, 4
bne .L1415
ldr x0, [sp, 40]
cmp x0, 0
beq .L1416
ldr x0, [sp, 40]
mov w1, 4
str w1, [x0]
.L1416:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1417
ldr x0, [sp, 56]
mov w1, 4
str w1, [x0, 5096]
.L1417:
ldr w1, [sp, 20]
ldr x0, [sp, 56]
ldr w0, [x0, 5048]
sub w0, w1, w0
b .L1395
.L1415:
ldr x0, [sp, 56]
ldr w0, [x0, 5048]
cmp w0, 0
bne .L1421
ldr x0, [sp, 40]
cmp x0, 0
beq .L1419
ldr x0, [sp, 40]
str wzr, [x0]
.L1419:
ldr x0, [sp, 56]
cmp x0, 0
beq .L1420
ldr x0, [sp, 56]
str wzr, [x0, 5096]
.L1420:
ldr w0, [sp, 20]
.L1395:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE57:
.size BZ2_bzRead, .-BZ2_bzRead
.align 2
.global BZ2_bzReadGetUnused
.type BZ2_bzReadGetUnused, %function
BZ2_bzReadGetUnused:
.LFB58:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str x1, [sp, 16]
str x2, [sp, 8]
str x3, [sp]
ldr x0, [sp, 16]
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1423
ldr x0, [sp, 24]
cmp x0, 0
beq .L1424
ldr x0, [sp, 24]
mov w1, -2
str w1, [x0]
.L1424:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1436
ldr x0, [sp, 40]
mov w1, -2
str w1, [x0, 5096]
b .L1436
.L1423:
ldr x0, [sp, 40]
ldr w0, [x0, 5096]
cmp w0, 4
beq .L1427
ldr x0, [sp, 24]
cmp x0, 0
beq .L1428
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0]
.L1428:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1437
ldr x0, [sp, 40]
mov w1, -1
str w1, [x0, 5096]
b .L1437
.L1427:
ldr x0, [sp, 8]
cmp x0, 0
beq .L1430
ldr x0, [sp]
cmp x0, 0
bne .L1431
.L1430:
ldr x0, [sp, 24]
cmp x0, 0
beq .L1432
ldr x0, [sp, 24]
mov w1, -2
str w1, [x0]
.L1432:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1438
ldr x0, [sp, 40]
mov w1, -2
str w1, [x0, 5096]
b .L1438
.L1431:
ldr x0, [sp, 24]
cmp x0, 0
beq .L1434
ldr x0, [sp, 24]
str wzr, [x0]
.L1434:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1435
ldr x0, [sp, 40]
str wzr, [x0, 5096]
.L1435:
ldr x0, [sp, 40]
ldr w0, [x0, 5024]
mov w1, w0
ldr x0, [sp]
str w1, [x0]
ldr x0, [sp, 40]
ldr x1, [x0, 5016]
ldr x0, [sp, 8]
str x1, [x0]
b .L1422
.L1436:
nop
b .L1422
.L1437:
nop
b .L1422
.L1438:
nop
.L1422:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE58:
.size BZ2_bzReadGetUnused, .-BZ2_bzReadGetUnused
.align 2
.global BZ2_bzBuffToBuffCompress
.type BZ2_bzBuffToBuffCompress, %function
BZ2_bzBuffToBuffCompress:
.LFB59:
.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, 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]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 152]
mov x1, 0
ldr x0, [sp, 56]
cmp x0, 0
beq .L1440
ldr x0, [sp, 48]
cmp x0, 0
beq .L1440
ldr x0, [sp, 40]
cmp x0, 0
beq .L1440
ldr w0, [sp, 32]
cmp w0, 0
ble .L1440
ldr w0, [sp, 32]
cmp w0, 9
bgt .L1440
ldr w0, [sp, 28]
cmp w0, 0
blt .L1440
ldr w0, [sp, 28]
cmp w0, 4
bgt .L1440
ldr w0, [sp, 24]
cmp w0, 0
blt .L1440
ldr w0, [sp, 24]
cmp w0, 250
ble .L1441
.L1440:
mov w0, -2
b .L1449
.L1441:
ldr w0, [sp, 24]
cmp w0, 0
bne .L1443
mov w0, 30
str w0, [sp, 24]
.L1443:
str xzr, [sp, 128]
str xzr, [sp, 136]
str xzr, [sp, 144]
add x0, sp, 72
ldr w3, [sp, 24]
ldr w2, [sp, 28]
ldr w1, [sp, 32]
bl BZ2_bzCompressInit
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
beq .L1444
ldr w0, [sp, 68]
b .L1449
.L1444:
ldr x0, [sp, 40]
str x0, [sp, 72]
ldr x0, [sp, 56]
str x0, [sp, 96]
ldr w0, [sp, 36]
str w0, [sp, 80]
ldr x0, [sp, 48]
ldr w0, [x0]
str w0, [sp, 104]
add x0, sp, 72
mov w1, 2
bl BZ2_bzCompress
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 3
beq .L1453
ldr w0, [sp, 68]
cmp w0, 4
bne .L1454
ldr x0, [sp, 48]
ldr w1, [x0]
ldr w0, [sp, 104]
sub w1, w1, w0
ldr x0, [sp, 48]
str w1, [x0]
add x0, sp, 72
bl BZ2_bzCompressEnd
mov w0, 0
b .L1449
.L1453:
nop
.L1446:
add x0, sp, 72
bl BZ2_bzCompressEnd
mov w0, -8
b .L1449
.L1454:
nop
.L1448:
add x0, sp, 72
bl BZ2_bzCompressEnd
ldr w0, [sp, 68]
.L1449:
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 .L1450
bl __stack_chk_fail
.L1450:
mov w0, w1
ldp x29, x30, [sp], 160
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE59:
.size BZ2_bzBuffToBuffCompress, .-BZ2_bzBuffToBuffCompress
.align 2
.global BZ2_bzBuffToBuffDecompress
.type BZ2_bzBuffToBuffDecompress, %function
BZ2_bzBuffToBuffDecompress:
.LFB60:
.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, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str w3, [sp, 36]
str w4, [sp, 32]
str w5, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 152]
mov x1, 0
ldr x0, [sp, 56]
cmp x0, 0
beq .L1456
ldr x0, [sp, 48]
cmp x0, 0
beq .L1456
ldr x0, [sp, 40]
cmp x0, 0
beq .L1456
ldr w0, [sp, 32]
cmp w0, 0
beq .L1457
ldr w0, [sp, 32]
cmp w0, 1
bne .L1456
.L1457:
ldr w0, [sp, 28]
cmp w0, 0
blt .L1456
ldr w0, [sp, 28]
cmp w0, 4
ble .L1458
.L1456:
mov w0, -2
b .L1466
.L1458:
str xzr, [sp, 128]
str xzr, [sp, 136]
str xzr, [sp, 144]
add x0, sp, 72
ldr w2, [sp, 32]
ldr w1, [sp, 28]
bl BZ2_bzDecompressInit
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
beq .L1460
ldr w0, [sp, 68]
b .L1466
.L1460:
ldr x0, [sp, 40]
str x0, [sp, 72]
ldr x0, [sp, 56]
str x0, [sp, 96]
ldr w0, [sp, 36]
str w0, [sp, 80]
ldr x0, [sp, 48]
ldr w0, [x0]
str w0, [sp, 104]
add x0, sp, 72
bl BZ2_bzDecompress
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
beq .L1470
ldr w0, [sp, 68]
cmp w0, 4
bne .L1471
ldr x0, [sp, 48]
ldr w1, [x0]
ldr w0, [sp, 104]
sub w1, w1, w0
ldr x0, [sp, 48]
str w1, [x0]
add x0, sp, 72
bl BZ2_bzDecompressEnd
mov w0, 0
b .L1466
.L1470:
nop
.L1462:
ldr w0, [sp, 104]
cmp w0, 0
beq .L1465
add x0, sp, 72
bl BZ2_bzDecompressEnd
mov w0, -7
b .L1466
.L1465:
add x0, sp, 72
bl BZ2_bzDecompressEnd
mov w0, -8
b .L1466
.L1471:
nop
.L1464:
add x0, sp, 72
bl BZ2_bzDecompressEnd
ldr w0, [sp, 68]
.L1466:
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 .L1467
bl __stack_chk_fail
.L1467:
mov w0, w1
ldp x29, x30, [sp], 160
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE60:
.size BZ2_bzBuffToBuffDecompress, .-BZ2_bzBuffToBuffDecompress
.section .rodata
.align 3
.LC25:
.string "1.0.2, 30-Dec-2001"
.text
.align 2
.global BZ2_bzlibVersion
.type BZ2_bzlibVersion, %function
BZ2_bzlibVersion:
.LFB61:
.cfi_startproc
adrp x0, .LC25
add x0, x0, :lo12:.LC25
ret
.cfi_endproc
.LFE61:
.size BZ2_bzlibVersion, .-BZ2_bzlibVersion
.section .rodata
.align 3
.LC27:
.string "w"
.align 3
.LC28:
.string "r"
.text
.align 2
.type bzopen_or_bzdopen, %function
bzopen_or_bzdopen:
.LFB62:
.cfi_startproc
mov x12, 5120
sub sp, sp, x12
.cfi_def_cfa_offset 5120
stp x29, x30, [sp]
.cfi_offset 29, -5120
.cfi_offset 30, -5112
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, 5112]
mov x1, 0
mov w0, 9
str w0, [sp, 56]
str wzr, [sp, 60]
adrp x0, .LC26
add x0, x0, :lo12:.LC26
ldrb w0, [x0]
strb w0, [sp, 96]
str xzr, [sp, 97]
strb wzr, [sp, 105]
str xzr, [sp, 80]
str xzr, [sp, 88]
str wzr, [sp, 68]
mov w0, 30
str w0, [sp, 72]
str wzr, [sp, 64]
str wzr, [sp, 76]
ldr x0, [sp, 24]
cmp x0, 0
bne .L1477
mov x0, 0
b .L1500
.L1483:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 119
beq .L1478
cmp w0, 119
bgt .L1479
cmp w0, 114
beq .L1480
cmp w0, 115
beq .L1481
b .L1479
.L1480:
str wzr, [sp, 60]
b .L1482
.L1478:
mov w0, 1
str w0, [sp, 60]
b .L1482
.L1481:
mov w0, 1
str w0, [sp, 64]
b .L1482
.L1479:
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 24]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 2048
cmp w0, 0
beq .L1482
ldr x0, [sp, 24]
ldrb w0, [x0]
sub w0, w0, #48
str w0, [sp, 56]
.L1482:
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
.L1477:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 0
bne .L1483
ldr w0, [sp, 60]
cmp w0, 0
beq .L1484
adrp x0, .LC27
add x0, x0, :lo12:.LC27
b .L1485
.L1484:
adrp x0, .LC28
add x0, x0, :lo12:.LC28
.L1485:
add x2, sp, 96
mov x1, x0
mov x0, x2
bl strcat
add x0, sp, 96
bl strlen
mov x1, x0
add x0, sp, 96
add x0, x0, x1
mov w1, 98
strh w1, [x0]
ldr w0, [sp, 32]
cmp w0, 0
bne .L1486
ldr x0, [sp, 40]
cmp x0, 0
beq .L1487
ldr x0, [sp, 40]
ldrb w0, [x0]
cmp w0, 0
bne .L1488
.L1487:
ldr w0, [sp, 60]
cmp w0, 0
beq .L1489
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
b .L1490
.L1489:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
.L1490:
str x0, [sp, 80]
b .L1492
.L1488:
add x0, sp, 96
mov x1, x0
ldr x0, [sp, 40]
bl fopen
str x0, [sp, 80]
b .L1492
.L1486:
add x0, sp, 96
mov x1, x0
ldr w0, [sp, 36]
bl fdopen
str x0, [sp, 80]
.L1492:
ldr x0, [sp, 80]
cmp x0, 0
bne .L1493
mov x0, 0
b .L1500
.L1493:
ldr w0, [sp, 60]
cmp w0, 0
beq .L1494
ldr w0, [sp, 56]
cmp w0, 0
bgt .L1495
mov w0, 1
str w0, [sp, 56]
.L1495:
ldr w0, [sp, 56]
cmp w0, 9
ble .L1496
mov w0, 9
str w0, [sp, 56]
.L1496:
add x0, sp, 52
ldr w4, [sp, 72]
ldr w3, [sp, 68]
ldr w2, [sp, 56]
ldr x1, [sp, 80]
bl BZ2_bzWriteOpen
str x0, [sp, 88]
b .L1497
.L1494:
add x1, sp, 112
add x0, sp, 52
ldr w5, [sp, 76]
mov x4, x1
ldr w3, [sp, 64]
ldr w2, [sp, 68]
ldr x1, [sp, 80]
bl BZ2_bzReadOpen
str x0, [sp, 88]
.L1497:
ldr x0, [sp, 88]
cmp x0, 0
bne .L1498
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
ldr x1, [sp, 80]
cmp x1, x0
beq .L1499
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
ldr x1, [sp, 80]
cmp x1, x0
beq .L1499
ldr x0, [sp, 80]
bl fclose
.L1499:
mov x0, 0
b .L1500
.L1498:
ldr x0, [sp, 88]
.L1500:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 5112]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1501
bl __stack_chk_fail
.L1501:
mov x0, x1
ldp x29, x30, [sp]
mov x12, 5120
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE62:
.size bzopen_or_bzdopen, .-bzopen_or_bzdopen
.section .rodata
.align 3
.LC26:
.string ""
.zero 9
.text
.align 2
.global BZ2_bzopen
.type BZ2_bzopen, %function
BZ2_bzopen:
.LFB63:
.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 w3, 0
ldr x2, [sp, 16]
mov w1, -1
ldr x0, [sp, 24]
bl bzopen_or_bzdopen
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE63:
.size BZ2_bzopen, .-BZ2_bzopen
.align 2
.global BZ2_bzdopen
.type BZ2_bzdopen, %function
BZ2_bzdopen:
.LFB64:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
mov w3, 1
ldr x2, [sp, 16]
ldr w1, [sp, 28]
mov x0, 0
bl bzopen_or_bzdopen
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE64:
.size BZ2_bzdopen, .-BZ2_bzdopen
.align 2
.global BZ2_bzread
.type BZ2_bzread, %function
BZ2_bzread:
.LFB65:
.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]
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, 40]
ldr w0, [x0, 5096]
cmp w0, 4
bne .L1507
mov w0, 0
b .L1511
.L1507:
add x0, sp, 48
ldr w3, [sp, 28]
ldr x2, [sp, 32]
ldr x1, [sp, 40]
bl BZ2_bzRead
str w0, [sp, 52]
ldr w0, [sp, 48]
cmp w0, 0
beq .L1509
ldr w0, [sp, 48]
cmp w0, 4
bne .L1510
.L1509:
ldr w0, [sp, 52]
b .L1511
.L1510:
mov w0, -1
.L1511:
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 .L1512
bl __stack_chk_fail
.L1512:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE65:
.size BZ2_bzread, .-BZ2_bzread
.align 2
.global BZ2_bzwrite
.type BZ2_bzwrite, %function
BZ2_bzwrite:
.LFB66:
.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]
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, 52
ldr w3, [sp, 28]
ldr x2, [sp, 32]
ldr x1, [sp, 40]
bl BZ2_bzWrite
ldr w0, [sp, 52]
cmp w0, 0
bne .L1514
ldr w0, [sp, 28]
b .L1516
.L1514:
mov w0, -1
.L1516:
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 .L1517
bl __stack_chk_fail
.L1517:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE66:
.size BZ2_bzwrite, .-BZ2_bzwrite
.align 2
.global BZ2_bzflush
.type BZ2_bzflush, %function
BZ2_bzflush:
.LFB67:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
mov w0, 0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE67:
.size BZ2_bzflush, .-BZ2_bzflush
.align 2
.global BZ2_bzclose
.type BZ2_bzclose, %function
BZ2_bzclose:
.LFB68:
.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]
ldr x0, [x0]
str x0, [sp, 48]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1527
ldr x0, [sp, 24]
add x0, x0, 4096
ldrb w0, [x0, 916]
cmp w0, 0
beq .L1523
add x0, sp, 44
mov x4, 0
mov x3, 0
mov w2, 0
ldr x1, [sp, 24]
bl BZ2_bzWriteClose
ldr w0, [sp, 44]
cmp w0, 0
beq .L1524
mov x4, 0
mov x3, 0
mov w2, 1
ldr x1, [sp, 24]
mov x0, 0
bl BZ2_bzWriteClose
b .L1524
.L1523:
add x0, sp, 44
ldr x1, [sp, 24]
bl BZ2_bzReadClose
.L1524:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
ldr x1, [sp, 48]
cmp x1, x0
beq .L1520
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
ldr x1, [sp, 48]
cmp x1, x0
beq .L1520
ldr x0, [sp, 48]
bl fclose
b .L1520
.L1527:
nop
.L1520:
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 .L1526
bl __stack_chk_fail
.L1526:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE68:
.size BZ2_bzclose, .-BZ2_bzclose
.section .rodata
.align 3
.LC29:
.string "OK"
.align 3
.LC30:
.string "SEQUENCE_ERROR"
.align 3
.LC31:
.string "PARAM_ERROR"
.align 3
.LC32:
.string "MEM_ERROR"
.align 3
.LC33:
.string "DATA_ERROR"
.align 3
.LC34:
.string "DATA_ERROR_MAGIC"
.align 3
.LC35:
.string "IO_ERROR"
.align 3
.LC36:
.string "UNEXPECTED_EOF"
.align 3
.LC37:
.string "OUTBUFF_FULL"
.align 3
.LC38:
.string "CONFIG_ERROR"
.align 3
.LC39:
.string "???"
.section .data.rel.local,"aw"
.align 3
.type bzerrorstrings, %object
.size bzerrorstrings, 128
bzerrorstrings:
.xword .LC29
.xword .LC30
.xword .LC31
.xword .LC32
.xword .LC33
.xword .LC34
.xword .LC35
.xword .LC36
.xword .LC37
.xword .LC38
.xword .LC39
.xword .LC39
.xword .LC39
.xword .LC39
.xword .LC39
.xword .LC39
.text
.align 2
.global BZ2_bzerror
.type BZ2_bzerror, %function
BZ2_bzerror:
.LFB69:
.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, 5096]
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
ble .L1529
str wzr, [sp, 28]
.L1529:
ldr x0, [sp]
ldr w1, [sp, 28]
str w1, [x0]
ldr w0, [sp, 28]
neg w1, w0
adrp x0, bzerrorstrings
add x0, x0, :lo12:bzerrorstrings
sxtw x1, w1
ldr x0, [x0, x1, lsl 3]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE69:
.size BZ2_bzerror, .-BZ2_bzerror
.global verbosity
.bss
.align 2
.type verbosity, %object
.size verbosity, 4
verbosity:
.zero 4
.global keepInputFiles
.type keepInputFiles, %object
.size keepInputFiles, 1
keepInputFiles:
.zero 1
.global smallMode
.type smallMode, %object
.size smallMode, 1
smallMode:
.zero 1
.global deleteOutputOnInterrupt
.type deleteOutputOnInterrupt, %object
.size deleteOutputOnInterrupt, 1
deleteOutputOnInterrupt:
.zero 1
.global forceOverwrite
.type forceOverwrite, %object
.size forceOverwrite, 1
forceOverwrite:
.zero 1
.global testFailsExist
.type testFailsExist, %object
.size testFailsExist, 1
testFailsExist:
.zero 1
.global unzFailsExist
.type unzFailsExist, %object
.size unzFailsExist, 1
unzFailsExist:
.zero 1
.global noisy
.type noisy, %object
.size noisy, 1
noisy:
.zero 1
.global numFileNames
.align 2
.type numFileNames, %object
.size numFileNames, 4
numFileNames:
.zero 4
.global numFilesProcessed
.align 2
.type numFilesProcessed, %object
.size numFilesProcessed, 4
numFilesProcessed:
.zero 4
.global blockSize100k
.align 2
.type blockSize100k, %object
.size blockSize100k, 4
blockSize100k:
.zero 4
.global exitValue
.align 2
.type exitValue, %object
.size exitValue, 4
exitValue:
.zero 4
.global opMode
.align 2
.type opMode, %object
.size opMode, 4
opMode:
.zero 4
.global srcMode
.align 2
.type srcMode, %object
.size srcMode, 4
srcMode:
.zero 4
.global longestFileName
.align 2
.type longestFileName, %object
.size longestFileName, 4
longestFileName:
.zero 4
.global inName
.align 3
.type inName, %object
.size inName, 1034
inName:
.zero 1034
.global outName
.align 3
.type outName, %object
.size outName, 1034
outName:
.zero 1034
.global tmpName
.align 3
.type tmpName, %object
.size tmpName, 1034
tmpName:
.zero 1034
.global progName
.align 3
.type progName, %object
.size progName, 8
progName:
.zero 8
.global progNameReally
.align 3
.type progNameReally, %object
.size progNameReally, 1034
progNameReally:
.zero 1034
.global outputHandleJustInCase
.align 3
.type outputHandleJustInCase, %object
.size outputHandleJustInCase, 8
outputHandleJustInCase:
.zero 8
.global workFactor
.align 2
.type workFactor, %object
.size workFactor, 4
workFactor:
.zero 4
.text
.align 2
.type uInt64_from_UInt32s, %function
uInt64_from_UInt32s:
.LFB70:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
str w2, [sp]
ldr w0, [sp]
lsr w0, w0, 24
and w1, w0, 255
ldr x0, [sp, 8]
strb w1, [x0, 7]
ldr w0, [sp]
lsr w0, w0, 16
and w1, w0, 255
ldr x0, [sp, 8]
strb w1, [x0, 6]
ldr w0, [sp]
lsr w0, w0, 8
and w1, w0, 255
ldr x0, [sp, 8]
strb w1, [x0, 5]
ldr w0, [sp]
and w1, w0, 255
ldr x0, [sp, 8]
strb w1, [x0, 4]
ldr w0, [sp, 4]
lsr w0, w0, 24
and w1, w0, 255
ldr x0, [sp, 8]
strb w1, [x0, 3]
ldr w0, [sp, 4]
lsr w0, w0, 16
and w1, w0, 255
ldr x0, [sp, 8]
strb w1, [x0, 2]
ldr w0, [sp, 4]
lsr w0, w0, 8
and w1, w0, 255
ldr x0, [sp, 8]
strb w1, [x0, 1]
ldr w0, [sp, 4]
and w1, w0, 255
ldr x0, [sp, 8]
strb w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE70:
.size uInt64_from_UInt32s, .-uInt64_from_UInt32s
.align 2
.type uInt64_to_double, %function
uInt64_to_double:
.LFB71:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 8]
fmov d0, 1.0e+0
str d0, [sp, 32]
str xzr, [sp, 40]
str wzr, [sp, 28]
b .L1533
.L1534:
ldr x1, [sp, 8]
ldrsw x0, [sp, 28]
ldrb w0, [x1, x0]
ucvtf d1, w0
ldr d0, [sp, 32]
fmul d0, d1, d0
ldr d1, [sp, 40]
fadd d0, d1, d0
str d0, [sp, 40]
ldr d0, [sp, 32]
mov x0, 4643211215818981376
fmov d1, x0
fmul d0, d0, d1
str d0, [sp, 32]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1533:
ldr w0, [sp, 28]
cmp w0, 7
ble .L1534
ldr d0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE71:
.size uInt64_to_double, .-uInt64_to_double
.align 2
.type uInt64_isZero, %function
uInt64_isZero:
.LFB72:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str wzr, [sp, 28]
b .L1537
.L1540:
ldr x1, [sp, 8]
ldrsw x0, [sp, 28]
ldrb w0, [x1, x0]
cmp w0, 0
beq .L1538
mov w0, 0
b .L1539
.L1538:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1537:
ldr w0, [sp, 28]
cmp w0, 7
ble .L1540
mov w0, 1
.L1539:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE72:
.size uInt64_isZero, .-uInt64_isZero
.align 2
.type uInt64_qrm10, %function
uInt64_qrm10:
.LFB73:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str wzr, [sp, 20]
mov w0, 7
str w0, [sp, 24]
b .L1542
.L1543:
ldr w0, [sp, 20]
lsl w0, w0, 8
ldr x2, [sp, 8]
ldrsw x1, [sp, 24]
ldrb w1, [x2, x1]
add w0, w0, w1
str w0, [sp, 28]
ldr w1, [sp, 28]
mov w0, 52429
movk w0, 0xcccc, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w0, w0, 3
and w2, w0, 255
ldr x1, [sp, 8]
ldrsw x0, [sp, 24]
strb w2, [x1, x0]
ldr w1, [sp, 28]
mov w0, 52429
movk w0, 0xcccc, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w2, w0, 3
mov w0, w2
lsl w0, w0, 2
add w0, w0, w2
lsl w0, w0, 1
sub w0, w1, w0
str w0, [sp, 20]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
.L1542:
ldr w0, [sp, 24]
cmp w0, 0
bge .L1543
ldr w0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE73:
.size uInt64_qrm10, .-uInt64_qrm10
.align 2
.type uInt64_toAscii, %function
uInt64_toAscii:
.LFB74:
.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 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 wzr, [sp, 40]
ldr x0, [sp, 16]
ldr x0, [x0]
str x0, [sp, 48]
.L1546:
add x0, sp, 48
bl uInt64_qrm10
str w0, [sp, 44]
ldr w0, [sp, 44]
and w0, w0, 255
add w0, w0, 48
and w2, w0, 255
ldrsw x0, [sp, 40]
add x1, sp, 56
strb w2, [x1, x0]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
add x0, sp, 48
bl uInt64_isZero
and w0, w0, 255
cmp w0, 0
beq .L1546
ldrsw x0, [sp, 40]
ldr x1, [sp, 24]
add x0, x1, x0
strb wzr, [x0]
str wzr, [sp, 36]
b .L1547
.L1548:
ldr w1, [sp, 40]
ldr w0, [sp, 36]
sub w0, w1, w0
sub w2, w0, #1
ldrsw x0, [sp, 36]
ldr x1, [sp, 24]
add x0, x1, x0
sxtw x1, w2
add x2, sp, 56
ldrb w1, [x2, x1]
strb w1, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1547:
ldr w1, [sp, 36]
ldr w0, [sp, 40]
cmp w1, w0
blt .L1548
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 88]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1549
bl __stack_chk_fail
.L1549:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE74:
.size uInt64_toAscii, .-uInt64_toAscii
.section .rodata
.align 3
.LC40:
.string " no data compressed.\n"
.align 3
.LC41:
.string "%6.3f:1, %6.3f bits/byte, %5.2f%% saved, %s in, %s out.\n"
.align 3
.LC42:
.string "compress:unexpected error"
.text
.align 2
.type compressStream, %function
compressStream:
.LFB75:
.cfi_startproc
mov x12, 5184
sub sp, sp, x12
.cfi_def_cfa_offset 5184
stp x29, x30, [sp]
.cfi_offset 29, -5184
.cfi_offset 30, -5176
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, 5176]
mov x1, 0
str xzr, [sp, 72]
ldr x0, [sp, 24]
bl ferror
cmp w0, 0
bne .L1578
ldr x0, [sp, 16]
bl ferror
cmp w0, 0
bne .L1579
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
ldr w1, [x0]
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w2, [x0]
adrp x0, workFactor
add x0, x0, :lo12:workFactor
ldr w3, [x0]
add x0, sp, 56
mov w4, w3
mov w3, w2
mov w2, w1
ldr x1, [sp, 16]
bl BZ2_bzWriteOpen
str x0, [sp, 72]
ldr w0, [sp, 56]
cmp w0, 0
bne .L1580
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 1
ble .L1562
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x1, x0
mov w0, 10
bl fputc
.L1562:
ldr x0, [sp, 24]
bl myfeof
and w0, w0, 255
cmp w0, 0
bne .L1581
add x0, sp, 176
ldr x3, [sp, 24]
mov x2, 5000
mov x1, 1
bl fread
str w0, [sp, 64]
ldr x0, [sp, 24]
bl ferror
cmp w0, 0
bne .L1582
ldr w0, [sp, 64]
cmp w0, 0
ble .L1560
add x1, sp, 176
add x0, sp, 56
ldr w3, [sp, 64]
mov x2, x1
ldr x1, [sp, 72]
bl BZ2_bzWrite
.L1560:
ldr w0, [sp, 56]
cmp w0, 0
bne .L1583
b .L1562
.L1581:
nop
add x4, sp, 52
add x3, sp, 48
add x2, sp, 44
add x1, sp, 40
add x0, sp, 56
mov x6, x4
mov x5, x3
mov x4, x2
mov x3, x1
mov w2, 0
ldr x1, [sp, 72]
bl BZ2_bzWriteClose64
ldr w0, [sp, 56]
cmp w0, 0
bne .L1584
ldr x0, [sp, 16]
bl ferror
cmp w0, 0
bne .L1585
ldr x0, [sp, 16]
bl fflush
str w0, [sp, 68]
ldr w0, [sp, 68]
cmn w0, #1
beq .L1586
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
ldr x1, [sp, 16]
cmp x1, x0
beq .L1566
ldr x0, [sp, 16]
bl fclose
str w0, [sp, 68]
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
str xzr, [x0]
ldr w0, [sp, 68]
cmn w0, #1
beq .L1587
.L1566:
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
str xzr, [x0]
ldr x0, [sp, 24]
bl ferror
cmp w0, 0
bne .L1588
ldr x0, [sp, 24]
bl fclose
str w0, [sp, 68]
ldr w0, [sp, 68]
cmn w0, #1
beq .L1589
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 0
ble .L1590
ldr w0, [sp, 40]
cmp w0, 0
bne .L1570
ldr w0, [sp, 44]
cmp w0, 0
bne .L1570
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
b .L1590
.L1570:
ldr w1, [sp, 40]
ldr w2, [sp, 44]
add x0, sp, 96
bl uInt64_from_UInt32s
ldr w1, [sp, 48]
ldr w2, [sp, 52]
add x0, sp, 104
bl uInt64_from_UInt32s
add x0, sp, 96
bl uInt64_to_double
str d0, [sp, 80]
add x0, sp, 104
bl uInt64_to_double
str d0, [sp, 88]
add x1, sp, 96
add x0, sp, 112
bl uInt64_toAscii
add x1, sp, 104
add x0, sp, 144
bl uInt64_toAscii
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldr d0, [sp, 88]
ldr d1, [sp, 80]
fdiv d3, d1, d0
ldr d1, [sp, 88]
fmov d0, 8.0e+0
fmul d1, d1, d0
ldr d0, [sp, 80]
fdiv d4, d1, d0
ldr d0, [sp, 80]
ldr d1, [sp, 88]
fdiv d0, d1, d0
fmov d1, 1.0e+0
fsub d0, d1, d0
mov x0, 4636737291354636288
fmov d1, x0
fmul d0, d0, d1
add x1, sp, 144
add x0, sp, 112
mov x3, x1
mov x2, x0
fmov d2, d0
fmov d1, d4
fmov d0, d3
adrp x0, .LC41
add x1, x0, :lo12:.LC41
mov x0, x4
bl fprintf
b .L1590
.L1580:
nop
b .L1555
.L1583:
nop
b .L1555
.L1584:
nop
.L1555:
add x4, sp, 52
add x3, sp, 48
add x2, sp, 44
add x1, sp, 40
add x0, sp, 60
mov x6, x4
mov x5, x3
mov x4, x2
mov x3, x1
mov w2, 1
ldr x1, [sp, 72]
bl BZ2_bzWriteClose64
ldr w0, [sp, 56]
cmn w0, #3
beq .L1572
cmn w0, #3
bgt .L1573
cmn w0, #9
beq .L1574
cmn w0, #6
beq .L1552
b .L1573
.L1574:
bl configError
.L1572:
bl outOfMemory
.L1578:
nop
b .L1552
.L1579:
nop
b .L1552
.L1582:
nop
b .L1552
.L1585:
nop
b .L1552
.L1586:
nop
b .L1552
.L1587:
nop
b .L1552
.L1588:
nop
b .L1552
.L1589:
nop
.L1552:
bl ioError
.L1573:
adrp x0, .LC42
add x0, x0, :lo12:.LC42
bl panic
.L1590:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 5176]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1576
bl __stack_chk_fail
.L1576:
ldp x29, x30, [sp]
mov x12, 5184
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE75:
.size compressStream, .-compressStream
.section .rodata
.align 3
.LC43:
.string "decompress:bzReadGetUnused"
.align 3
.LC44:
.string "\n "
.align 3
.LC45:
.string "\n%s: %s: trailing garbage after EOF ignored\n"
.align 3
.LC46:
.string "decompress:unexpected error"
.text
.align 2
.type uncompressStream, %function
uncompressStream:
.LFB76:
.cfi_startproc
mov x12, 10096
sub sp, sp, x12
.cfi_def_cfa_offset 10096
stp x29, x30, [sp]
.cfi_offset 29, -10096
.cfi_offset 30, -10088
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, 10088]
mov x1, 0
str xzr, [sp, 80]
str wzr, [sp, 52]
str wzr, [sp, 56]
ldr x0, [sp, 16]
bl ferror
cmp w0, 0
bne .L1638
ldr x0, [sp, 24]
bl ferror
cmp w0, 0
bne .L1639
.L1594:
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w1, [x0]
adrp x0, smallMode
add x0, x0, :lo12:smallMode
ldrb w0, [x0]
mov w6, w0
ldr w3, [sp, 52]
add x2, sp, 4096
add x2, x2, 992
add x0, sp, 44
mov w5, w3
mov x4, x2
mov w3, w6
mov w2, w1
ldr x1, [sp, 24]
bl BZ2_bzReadOpen
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
beq .L1640
ldr w0, [sp, 44]
cmp w0, 0
bne .L1640
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
b .L1598
.L1603:
add x1, sp, 88
add x0, sp, 44
mov w3, 5000
mov x2, x1
ldr x1, [sp, 80]
bl BZ2_bzRead
str w0, [sp, 64]
ldr w0, [sp, 44]
cmn w0, #5
beq .L1641
ldr w0, [sp, 44]
cmp w0, 0
beq .L1601
ldr w0, [sp, 44]
cmp w0, 4
bne .L1602
.L1601:
ldr w0, [sp, 64]
cmp w0, 0
ble .L1602
ldrsw x1, [sp, 64]
add x0, sp, 88
ldr x3, [sp, 16]
mov x2, x1
mov x1, 1
bl fwrite
.L1602:
ldr x0, [sp, 16]
bl ferror
cmp w0, 0
bne .L1642
.L1598:
ldr w0, [sp, 44]
cmp w0, 0
beq .L1603
ldr w0, [sp, 44]
cmp w0, 4
bne .L1643
add x2, sp, 52
add x1, sp, 72
add x0, sp, 44
mov x3, x2
mov x2, x1
ldr x1, [sp, 80]
bl BZ2_bzReadGetUnused
ldr w0, [sp, 44]
cmp w0, 0
beq .L1605
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl panic
.L1605:
str wzr, [sp, 60]
b .L1606
.L1607:
ldr x1, [sp, 72]
ldrsw x0, [sp, 60]
add x0, x1, x0
ldrb w2, [x0]
ldrsw x0, [sp, 60]
add x1, sp, 4096
add x1, x1, 992
strb w2, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1606:
ldr w0, [sp, 52]
ldr w1, [sp, 60]
cmp w1, w0
blt .L1607
add x0, sp, 44
ldr x1, [sp, 80]
bl BZ2_bzReadClose
ldr w0, [sp, 44]
cmp w0, 0
beq .L1608
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl panic
.L1608:
ldr w0, [sp, 52]
cmp w0, 0
bne .L1594
ldr x0, [sp, 24]
bl myfeof
and w0, w0, 255
cmp w0, 0
bne .L1644
b .L1594
.L1644:
nop
.L1610:
ldr x0, [sp, 24]
bl ferror
cmp w0, 0
bne .L1645
ldr x0, [sp, 24]
bl fclose
str w0, [sp, 68]
ldr w0, [sp, 68]
cmn w0, #1
beq .L1646
ldr x0, [sp, 16]
bl ferror
cmp w0, 0
bne .L1647
ldr x0, [sp, 16]
bl fflush
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
bne .L1648
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
ldr x1, [sp, 16]
cmp x1, x0
beq .L1615
ldr x0, [sp, 16]
bl fclose
str w0, [sp, 68]
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
str xzr, [x0]
ldr w0, [sp, 68]
cmn w0, #1
beq .L1649
.L1615:
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
str xzr, [x0]
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 1
ble .L1616
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 5
mov x1, 1
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl fwrite
.L1616:
mov w0, 1
b .L1634
.L1641:
nop
.L1600:
adrp x0, forceOverwrite
add x0, x0, :lo12:forceOverwrite
ldrb w0, [x0]
cmp w0, 0
beq .L1650
ldr x0, [sp, 24]
bl rewind
.L1623:
ldr x0, [sp, 24]
bl myfeof
and w0, w0, 255
cmp w0, 0
bne .L1651
add x0, sp, 88
ldr x3, [sp, 24]
mov x2, 5000
mov x1, 1
bl fread
str w0, [sp, 64]
ldr x0, [sp, 24]
bl ferror
cmp w0, 0
bne .L1652
ldr w0, [sp, 64]
cmp w0, 0
ble .L1621
ldrsw x1, [sp, 64]
add x0, sp, 88
ldr x3, [sp, 16]
mov x2, x1
mov x1, 1
bl fwrite
.L1621:
ldr x0, [sp, 16]
bl ferror
cmp w0, 0
bne .L1653
b .L1623
.L1651:
nop
b .L1610
.L1640:
nop
b .L1597
.L1643:
nop
b .L1597
.L1650:
nop
.L1597:
add x0, sp, 48
ldr x1, [sp, 80]
bl BZ2_bzReadClose
ldr w0, [sp, 44]
cmn w0, #3
beq .L1624
cmn w0, #3
bgt .L1625
cmn w0, #4
beq .L1626
cmn w0, #4
bgt .L1625
cmn w0, #5
beq .L1627
cmn w0, #5
bgt .L1625
cmn w0, #6
beq .L1593
cmn w0, #6
bgt .L1625
cmn w0, #9
beq .L1628
cmn w0, #7
beq .L1629
b .L1625
.L1628:
bl configError
.L1638:
nop
b .L1593
.L1639:
nop
b .L1593
.L1642:
nop
b .L1593
.L1645:
nop
b .L1593
.L1646:
nop
b .L1593
.L1647:
nop
b .L1593
.L1648:
nop
b .L1593
.L1649:
nop
b .L1593
.L1652:
nop
b .L1593
.L1653:
nop
.L1593:
bl ioError
.L1626:
bl crcError
.L1624:
bl outOfMemory
.L1629:
bl compressedStreamEOF
.L1627:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
beq .L1630
ldr x0, [sp, 24]
bl fclose
.L1630:
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
ldr x1, [sp, 16]
cmp x1, x0
beq .L1631
ldr x0, [sp, 16]
bl fclose
.L1631:
ldr w0, [sp, 56]
cmp w0, 1
bne .L1632
mov w0, 0
b .L1634
.L1632:
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1633
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC45
add x1, x0, :lo12:.LC45
mov x0, x4
bl fprintf
.L1633:
mov w0, 1
b .L1634
.L1625:
adrp x0, .LC46
add x0, x0, :lo12:.LC46
bl panic
.L1634:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 10088]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1635
bl __stack_chk_fail
.L1635:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 10096
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE76:
.size uncompressStream, .-uncompressStream
.section .rodata
.align 3
.LC47:
.string "test:bzReadGetUnused"
.align 3
.LC48:
.string "%s: %s: "
.align 3
.LC49:
.string "data integrity (CRC) error in data\n"
.align 3
.LC50:
.string "file ends unexpectedly\n"
.align 3
.LC51:
.string "bad magic number (file not created by bzip2)\n"
.align 3
.LC52:
.string "trailing garbage after EOF ignored\n"
.align 3
.LC53:
.string "test:unexpected error"
.text
.align 2
.type testStream, %function
testStream:
.LFB77:
.cfi_startproc
mov x12, 10096
sub sp, sp, x12
.cfi_def_cfa_offset 10096
stp x29, x30, [sp]
.cfi_offset 29, -10096
.cfi_offset 30, -10088
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, 10088]
mov x1, 0
str xzr, [sp, 80]
str wzr, [sp, 52]
str wzr, [sp, 56]
ldr x0, [sp, 24]
bl ferror
cmp w0, 0
bne .L1686
.L1655:
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w1, [x0]
adrp x0, smallMode
add x0, x0, :lo12:smallMode
ldrb w0, [x0]
mov w6, w0
ldr w3, [sp, 52]
add x2, sp, 4096
add x2, x2, 992
add x0, sp, 44
mov w5, w3
mov x4, x2
mov w3, w6
mov w2, w1
ldr x1, [sp, 24]
bl BZ2_bzReadOpen
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
beq .L1687
ldr w0, [sp, 44]
cmp w0, 0
bne .L1687
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
b .L1660
.L1661:
add x1, sp, 88
add x0, sp, 44
mov w3, 5000
mov x2, x1
ldr x1, [sp, 80]
bl BZ2_bzRead
str w0, [sp, 68]
ldr w0, [sp, 44]
cmn w0, #5
beq .L1688
.L1660:
ldr w0, [sp, 44]
cmp w0, 0
beq .L1661
ldr w0, [sp, 44]
cmp w0, 4
bne .L1689
add x2, sp, 52
add x1, sp, 72
add x0, sp, 44
mov x3, x2
mov x2, x1
ldr x1, [sp, 80]
bl BZ2_bzReadGetUnused
ldr w0, [sp, 44]
cmp w0, 0
beq .L1663
adrp x0, .LC47
add x0, x0, :lo12:.LC47
bl panic
.L1663:
str wzr, [sp, 60]
b .L1664
.L1665:
ldr x1, [sp, 72]
ldrsw x0, [sp, 60]
add x0, x1, x0
ldrb w2, [x0]
ldrsw x0, [sp, 60]
add x1, sp, 4096
add x1, x1, 992
strb w2, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1664:
ldr w0, [sp, 52]
ldr w1, [sp, 60]
cmp w1, w0
blt .L1665
add x0, sp, 44
ldr x1, [sp, 80]
bl BZ2_bzReadClose
ldr w0, [sp, 44]
cmp w0, 0
beq .L1666
adrp x0, .LC47
add x0, x0, :lo12:.LC47
bl panic
.L1666:
ldr w0, [sp, 52]
cmp w0, 0
bne .L1655
ldr x0, [sp, 24]
bl myfeof
and w0, w0, 255
cmp w0, 0
bne .L1690
b .L1655
.L1690:
nop
ldr x0, [sp, 24]
bl ferror
cmp w0, 0
bne .L1691
ldr x0, [sp, 24]
bl fclose
str w0, [sp, 64]
ldr w0, [sp, 64]
cmn w0, #1
beq .L1692
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 1
ble .L1671
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 5
mov x1, 1
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl fwrite
.L1671:
mov w0, 1
b .L1683
.L1687:
nop
b .L1659
.L1688:
nop
b .L1659
.L1689:
nop
.L1659:
add x0, sp, 48
ldr x1, [sp, 80]
bl BZ2_bzReadClose
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 0
bne .L1673
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC48
add x1, x0, :lo12:.LC48
mov x0, x4
bl fprintf
.L1673:
ldr w0, [sp, 44]
cmn w0, #3
beq .L1674
cmn w0, #3
bgt .L1675
cmn w0, #4
beq .L1676
cmn w0, #4
bgt .L1675
cmn w0, #5
beq .L1677
cmn w0, #5
bgt .L1675
cmn w0, #6
beq .L1656
cmn w0, #6
bgt .L1675
cmn w0, #9
beq .L1678
cmn w0, #7
beq .L1679
b .L1675
.L1678:
bl configError
.L1686:
nop
b .L1656
.L1691:
nop
b .L1656
.L1692:
nop
.L1656:
bl ioError
.L1676:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 35
mov x1, 1
adrp x0, .LC49
add x0, x0, :lo12:.LC49
bl fwrite
mov w0, 0
b .L1683
.L1674:
bl outOfMemory
.L1679:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 23
mov x1, 1
adrp x0, .LC50
add x0, x0, :lo12:.LC50
bl fwrite
mov w0, 0
b .L1683
.L1677:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
beq .L1680
ldr x0, [sp, 24]
bl fclose
.L1680:
ldr w0, [sp, 56]
cmp w0, 1
bne .L1681
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 45
mov x1, 1
adrp x0, .LC51
add x0, x0, :lo12:.LC51
bl fwrite
mov w0, 0
b .L1683
.L1681:
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1682
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 35
mov x1, 1
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl fwrite
.L1682:
mov w0, 1
b .L1683
.L1675:
adrp x0, .LC53
add x0, x0, :lo12:.LC53
bl panic
.L1683:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 10088]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1684
bl __stack_chk_fail
.L1684:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 10096
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE77:
.size testStream, .-testStream
.align 2
.type setExit, %function
setExit:
.LFB78:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
adrp x0, exitValue
add x0, x0, :lo12:exitValue
ldr w0, [x0]
ldr w1, [sp, 12]
cmp w1, w0
ble .L1695
adrp x0, exitValue
add x0, x0, :lo12:exitValue
ldr w1, [sp, 12]
str w1, [x0]
.L1695:
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE78:
.size setExit, .-setExit
.section .rodata
.align 3
.LC54:
.string "\nIt is possible that the compressed file(s) have become corrupted.\nYou can use the -tvv option to test integrity of such files.\n\nYou can use the `bzip2recover' program to attempt to recover\ndata from undamaged sections of corrupted files.\n\n"
.text
.align 2
.type cadvise, %function
cadvise:
.LFB79:
.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, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1698
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 240
mov x1, 1
adrp x0, .LC54
add x0, x0, :lo12:.LC54
bl fwrite
.L1698:
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE79:
.size cadvise, .-cadvise
.section .rodata
.align 3
.LC55:
.string "\tInput file = %s, output file = %s\n"
.text
.align 2
.type showFileNames, %function
showFileNames:
.LFB80:
.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, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1701
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, outName
add x3, x0, :lo12:outName
adrp x0, inName
add x2, x0, :lo12:inName
adrp x0, .LC55
add x1, x0, :lo12:.LC55
mov x0, x4
bl fprintf
.L1701:
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE80:
.size showFileNames, .-showFileNames
.section .rodata
.align 3
.LC56:
.string "%s: Deleting output file %s, if it exists.\n"
.align 3
.LC57:
.string "%s: WARNING: deletion of output file (apparently) failed.\n"
.align 3
.LC58:
.string "%s: WARNING: deletion of output file suppressed\n"
.align 3
.LC59:
.string "%s: since input file no longer exists. Output file\n"
.align 3
.LC60:
.string "%s: `%s' may be incomplete.\n"
.align 3
.LC61:
.string "%s: I suggest doing an integrity test (bzip2 -tv) of it.\n"
.align 3
.LC62:
.string "%s: WARNING: some files have not been processed:\n%s: %d specified on command line, %d not processed yet.\n\n"
.text
.align 2
.type cleanUpAndFail, %function
cleanUpAndFail:
.LFB81:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 168]
mov x1, 0
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1703
adrp x0, opMode
add x0, x0, :lo12:opMode
ldr w0, [x0]
cmp w0, 3
beq .L1703
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
ldrb w0, [x0]
cmp w0, 0
beq .L1703
add x0, sp, 40
mov x1, x0
adrp x0, inName
add x0, x0, :lo12:inName
bl stat
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
bne .L1704
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1705
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, outName
add x3, x0, :lo12:outName
mov x2, x1
adrp x0, .LC56
add x1, x0, :lo12:.LC56
mov x0, x4
bl fprintf
.L1705:
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
ldr x0, [x0]
cmp x0, 0
beq .L1706
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
ldr x0, [x0]
bl fclose
.L1706:
adrp x0, outName
add x0, x0, :lo12:outName
bl remove
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
beq .L1703
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC57
add x1, x0, :lo12:.LC57
mov x0, x3
bl fprintf
b .L1703
.L1704:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC58
add x1, x0, :lo12:.LC58
mov x0, x3
bl fprintf
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC59
add x1, x0, :lo12:.LC59
mov x0, x3
bl fprintf
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, outName
add x3, x0, :lo12:outName
mov x2, x1
adrp x0, .LC60
add x1, x0, :lo12:.LC60
mov x0, x4
bl fprintf
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC61
add x1, x0, :lo12:.LC61
mov x0, x3
bl fprintf
.L1703:
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1707
adrp x0, numFileNames
add x0, x0, :lo12:numFileNames
ldr w0, [x0]
cmp w0, 0
ble .L1707
adrp x0, numFilesProcessed
add x0, x0, :lo12:numFilesProcessed
ldr w1, [x0]
adrp x0, numFileNames
add x0, x0, :lo12:numFileNames
ldr w0, [x0]
cmp w1, w0
bge .L1707
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x6, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x2, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x3, [x0]
adrp x0, numFileNames
add x0, x0, :lo12:numFileNames
ldr w4, [x0]
adrp x0, numFileNames
add x0, x0, :lo12:numFileNames
ldr w1, [x0]
adrp x0, numFilesProcessed
add x0, x0, :lo12:numFilesProcessed
ldr w0, [x0]
sub w0, w1, w0
mov w5, w0
adrp x0, .LC62
add x1, x0, :lo12:.LC62
mov x0, x6
bl fprintf
.L1707:
ldr w0, [sp, 28]
bl setExit
adrp x0, exitValue
add x0, x0, :lo12:exitValue
ldr w0, [x0]
bl exit
.cfi_endproc
.LFE81:
.size cleanUpAndFail, .-cleanUpAndFail
.section .rodata
.align 3
.LC63:
.string "\n%s: PANIC -- internal consistency error:\n\t%s\n\tThis is a BUG. Please report it to me at:\n\[email protected]\n"
.text
.align 2
.type panic, %function
panic:
.LFB82:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
ldr x3, [sp, 24]
mov x2, x0
adrp x0, .LC63
add x1, x0, :lo12:.LC63
mov x0, x4
bl fprintf
bl showFileNames
mov w0, 3
bl cleanUpAndFail
.cfi_endproc
.LFE82:
.size panic, .-panic
.section .rodata
.align 3
.LC64:
.string "\n%s: Data integrity error when decompressing.\n"
.text
.align 2
.type crcError, %function
crcError:
.LFB83:
.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 x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC64
add x1, x0, :lo12:.LC64
mov x0, x3
bl fprintf
bl showFileNames
bl cadvise
mov w0, 2
bl cleanUpAndFail
.cfi_endproc
.LFE83:
.size crcError, .-crcError
.section .rodata
.align 3
.LC65:
.string "\n%s: Compressed file ends unexpectedly;\n\tperhaps it is corrupted? *Possible* reason follows.\n"
.text
.align 2
.type compressedStreamEOF, %function
compressedStreamEOF:
.LFB84:
.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, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1712
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC65
add x1, x0, :lo12:.LC65
mov x0, x3
bl fprintf
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
bl perror
bl showFileNames
bl cadvise
.L1712:
mov w0, 2
bl cleanUpAndFail
.cfi_endproc
.LFE84:
.size compressedStreamEOF, .-compressedStreamEOF
.section .rodata
.align 3
.LC66:
.string "\n%s: I/O or other error, bailing out. Possible reason follows.\n"
.text
.align 2
.type ioError, %function
ioError:
.LFB85:
.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 x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC66
add x1, x0, :lo12:.LC66
mov x0, x3
bl fprintf
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
bl perror
bl showFileNames
mov w0, 1
bl cleanUpAndFail
.cfi_endproc
.LFE85:
.size ioError, .-ioError
.section .rodata
.align 3
.LC67:
.string "\n%s: Control-C or similar caught, quitting.\n"
.text
.align 2
.type mySignalCatcher, %function
mySignalCatcher:
.LFB86:
.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, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC67
add x1, x0, :lo12:.LC67
mov x0, x3
bl fprintf
mov w0, 1
bl cleanUpAndFail
.cfi_endproc
.LFE86:
.size mySignalCatcher, .-mySignalCatcher
.section .rodata
.align 3
.LC68:
.ascii "\n%s: Caught a SIGSEGV or SIGBUS whilst compressing.\n\n P"
.ascii "ossible causes are (most likely first):\n (1) This compute"
.ascii "r has unreliable memory or cache hardware\n (a surpris"
.ascii "ingly common problem; try a different machine.)\n (2) A bu"
.ascii "g in the compiler used to create this executable\n (un"
.ascii "likely, if you didn't compile bzip2 yourself.)\n (3) A rea"
.ascii "l bug in bzip2 -- I hope this should never be the case.\n "
.ascii "The user's manual, Section 4.3, has more info on (1) and (2)"
.ascii ".\n \n If you suspect this is a bug in bzip2, or are uns"
.ascii "ure about (1)\n or (2), feel free to report it to me at: j"
.ascii "[email protected].\n Sect"
.string "ion 4.3 of the user's manual describes the info a useful\n bug report should have. If the manual is available on your\n system, please try and read it before mailing me. If you don't\n have the manual or can't be bothered to read it, mail me anyway.\n\n"
.align 3
.LC69:
.ascii "\n%s: Caught a SIGSEGV or SIGBUS whilst decompressing.\n\n "
.ascii " Possible causes are (most likely first):\n (1) The compre"
.ascii "ssed data is corrupted, and bzip2's usual checks\n fai"
.ascii "led to detect this. Try bzip2 -tvv my_file.bz2.\n (2) Thi"
.ascii "s computer has unreliable memory or cache hardware\n ("
.ascii "a surprisingly common problem; try a different machine.)\n "
.ascii " (3) A bug in the compiler used to create this executable\n "
.ascii " (unlikely, if you didn't compile bzip2 yourself.)\n "
.ascii "(4) A real bug in bzip2 -- I hope this should never be the c"
.ascii "ase.\n The user's manual, Section 4.3, has more info on (2"
.ascii ") and (3).\n \n If you suspect this is a bug in bzip2, o"
.ascii "r are unsure about (2)\n or (3), feel free to report it to"
.ascii " me at: [email protected].\n Sect"
.string "ion 4.3 of the user's manual describes the info a useful\n bug report should have. If the manual is available on your\n system, please try and read it before mailing me. If you don't\n have the manual or can't be bothered to read it, mail me anyway.\n\n"
.text
.align 2
.type mySIGSEGVorSIGBUScatcher, %function
mySIGSEGVorSIGBUScatcher:
.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 w0, [sp, 28]
adrp x0, opMode
add x0, x0, :lo12:opMode
ldr w0, [x0]
cmp w0, 1
bne .L1716
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC68
add x1, x0, :lo12:.LC68
mov x0, x3
bl fprintf
b .L1717
.L1716:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC69
add x1, x0, :lo12:.LC69
mov x0, x3
bl fprintf
.L1717:
bl showFileNames
adrp x0, opMode
add x0, x0, :lo12:opMode
ldr w0, [x0]
cmp w0, 1
bne .L1718
mov w0, 3
bl cleanUpAndFail
.L1718:
bl cadvise
mov w0, 2
bl cleanUpAndFail
.cfi_endproc
.LFE87:
.size mySIGSEGVorSIGBUScatcher, .-mySIGSEGVorSIGBUScatcher
.section .rodata
.align 3
.LC70:
.string "\n%s: couldn't allocate enough memory\n"
.text
.align 2
.type outOfMemory, %function
outOfMemory:
.LFB88:
.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 x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC70
add x1, x0, :lo12:.LC70
mov x0, x3
bl fprintf
bl showFileNames
mov w0, 1
bl cleanUpAndFail
.cfi_endproc
.LFE88:
.size outOfMemory, .-outOfMemory
.section .rodata
.align 3
.LC71:
.string "bzip2: I'm not configured correctly for this platform!\n\tI require Int32, Int16 and Char to have sizes\n\tof 4, 2 and 1 bytes to run properly, and they don't.\n\tProbably you can fix this by defining them correctly,\n\tand recompiling. Bye!\n"
.text
.align 2
.type configError, %function
configError:
.LFB89:
.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, 235
mov x1, 1
adrp x0, .LC71
add x0, x0, :lo12:.LC71
bl fwrite
mov w0, 3
bl setExit
adrp x0, exitValue
add x0, x0, :lo12:exitValue
ldr w0, [x0]
bl exit
.cfi_endproc
.LFE89:
.size configError, .-configError
.align 2
.type pad, %function
pad:
.LFB90:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -48
str x0, [sp, 40]
ldr x0, [sp, 40]
bl strlen
mov w1, w0
adrp x0, longestFileName
add x0, x0, :lo12:longestFileName
ldr w0, [x0]
cmp w1, w0
bge .L1726
mov w0, 1
str w0, [sp, 60]
b .L1724
.L1725:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x1, x0
mov w0, 32
bl fputc
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1724:
adrp x0, longestFileName
add x0, x0, :lo12:longestFileName
ldr w19, [x0]
ldr x0, [sp, 40]
bl strlen
sub w0, w19, w0
ldr w1, [sp, 60]
cmp w1, w0
ble .L1725
b .L1721
.L1726:
nop
.L1721:
ldr x19, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE90:
.size pad, .-pad
.section .rodata
.align 3
.LC72:
.string "bzip2: file name\n`%s'\nis suspiciously (more than %d chars) long.\nTry using a reasonable file name instead. Sorry! :-)\n"
.text
.align 2
.type copyFileName, %function
copyFileName:
.LFB91:
.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]
bl strlen
cmp x0, 1024
bls .L1728
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
mov w3, 1024
ldr x2, [sp, 16]
adrp x0, .LC72
add x1, x0, :lo12:.LC72
mov x0, x4
bl fprintf
mov w0, 1
bl setExit
adrp x0, exitValue
add x0, x0, :lo12:exitValue
ldr w0, [x0]
bl exit
.L1728:
mov x2, 1024
ldr x1, [sp, 16]
ldr x0, [sp, 24]
bl strncpy
ldr x0, [sp, 24]
add x0, x0, 1024
strb wzr, [x0]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE91:
.size copyFileName, .-copyFileName
.section .rodata
.align 3
.LC73:
.string "rb"
.text
.align 2
.type fileExists, %function
fileExists:
.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]
adrp x0, .LC73
add x1, x0, :lo12:.LC73
ldr x0, [sp, 24]
bl fopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
cset w0, ne
and w0, w0, 255
strb w0, [sp, 39]
ldr x0, [sp, 40]
cmp x0, 0
beq .L1730
ldr x0, [sp, 40]
bl fclose
.L1730:
ldrb w0, [sp, 39]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE92:
.size fileExists, .-fileExists
.align 2
.global fopen_output_safely
.type fopen_output_safely, %function
fopen_output_safely:
.LFB93:
.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 w2, 384
mov w1, 193
ldr x0, [sp, 24]
bl open
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
bne .L1733
mov x0, 0
b .L1734
.L1733:
ldr x1, [sp, 16]
ldr w0, [sp, 36]
bl fdopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1735
ldr w0, [sp, 36]
bl close
.L1735:
ldr x0, [sp, 40]
.L1734:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE93:
.size fopen_output_safely, .-fopen_output_safely
.align 2
.type notAStandardFile, %function
notAStandardFile:
.LFB94:
.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, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 168]
mov x1, 0
add x0, sp, 40
mov x1, x0
ldr x0, [sp, 24]
bl lstat
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
beq .L1737
mov w0, 1
b .L1740
.L1737:
ldr w0, [sp, 56]
and w0, w0, 61440
cmp w0, 32768
bne .L1739
mov w0, 0
b .L1740
.L1739:
mov w0, 1
.L1740:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1741
bl __stack_chk_fail
.L1741:
mov w0, w1
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE94:
.size notAStandardFile, .-notAStandardFile
.align 2
.type countHardLinks, %function
countHardLinks:
.LFB95:
.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, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 168]
mov x1, 0
add x0, sp, 40
mov x1, x0
ldr x0, [sp, 24]
bl lstat
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
beq .L1743
mov w0, 0
b .L1745
.L1743:
ldr w0, [sp, 60]
sub w0, w0, #1
.L1745:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1746
bl __stack_chk_fail
.L1746:
mov w0, w1
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE95:
.size countHardLinks, .-countHardLinks
.local fileMetaInfo
.comm fileMetaInfo,128,8
.align 2
.type saveInputFileMetaInfo, %function
saveInputFileMetaInfo:
.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]
adrp x0, fileMetaInfo
add x1, x0, :lo12:fileMetaInfo
ldr x0, [sp, 24]
bl stat
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
beq .L1749
bl ioError
.L1749:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE96:
.size saveInputFileMetaInfo, .-saveInputFileMetaInfo
.align 2
.type applySavedMetaInfoToOutputFile, %function
applySavedMetaInfoToOutputFile:
.LFB97:
.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, fileMetaInfo
add x0, x0, :lo12:fileMetaInfo
ldr x0, [x0, 72]
str x0, [sp, 40]
adrp x0, fileMetaInfo
add x0, x0, :lo12:fileMetaInfo
ldr x0, [x0, 88]
str x0, [sp, 48]
adrp x0, fileMetaInfo
add x0, x0, :lo12:fileMetaInfo
ldr w0, [x0, 16]
mov w1, w0
ldr x0, [sp, 24]
bl chmod
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
beq .L1751
bl ioError
.L1751:
add x0, sp, 40
mov x1, x0
ldr x0, [sp, 24]
bl utime
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
beq .L1752
bl ioError
.L1752:
adrp x0, fileMetaInfo
add x0, x0, :lo12:fileMetaInfo
ldr w1, [x0, 24]
adrp x0, fileMetaInfo
add x0, x0, :lo12:fileMetaInfo
ldr w0, [x0, 28]
mov w2, w0
ldr x0, [sp, 24]
bl chown
str w0, [sp, 36]
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 .L1753
bl __stack_chk_fail
.L1753:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE97:
.size applySavedMetaInfoToOutputFile, .-applySavedMetaInfoToOutputFile
.align 2
.type containsDubiousChars, %function
containsDubiousChars:
.LFB98:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
mov w0, 0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE98:
.size containsDubiousChars, .-containsDubiousChars
.global zSuffix
.section .rodata
.align 3
.LC74:
.string ".bz2"
.align 3
.LC75:
.string ".bz"
.align 3
.LC76:
.string ".tbz2"
.align 3
.LC77:
.string ".tbz"
.section .data.rel.local
.align 3
.type zSuffix, %object
.size zSuffix, 32
zSuffix:
.xword .LC74
.xword .LC75
.xword .LC76
.xword .LC77
.global unzSuffix
.section .rodata
.align 3
.LC78:
.string ""
.align 3
.LC79:
.string ".tar"
.section .data.rel.local
.align 3
.type unzSuffix, %object
.size unzSuffix, 32
unzSuffix:
.xword .LC78
.xword .LC78
.xword .LC79
.xword .LC79
.text
.align 2
.type hasSuffix, %function
hasSuffix:
.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 x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
bl strlen
str w0, [sp, 40]
ldr x0, [sp, 16]
bl strlen
str w0, [sp, 44]
ldr w1, [sp, 40]
ldr w0, [sp, 44]
cmp w1, w0
bge .L1757
mov w0, 0
b .L1758
.L1757:
ldrsw x1, [sp, 40]
ldrsw x0, [sp, 44]
sub x0, x1, x0
ldr x1, [sp, 24]
add x0, x1, x0
ldr x1, [sp, 16]
bl strcmp
cmp w0, 0
bne .L1759
mov w0, 1
b .L1758
.L1759:
mov w0, 0
.L1758:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE99:
.size hasSuffix, .-hasSuffix
.align 2
.type mapSuffix, %function
mapSuffix:
.LFB100:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -48
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl hasSuffix
and w0, w0, 255
cmp w0, 0
bne .L1761
mov w0, 0
b .L1762
.L1761:
ldr x0, [sp, 56]
bl strlen
mov x19, x0
ldr x0, [sp, 48]
bl strlen
sub x0, x19, x0
ldr x1, [sp, 56]
add x0, x1, x0
strb wzr, [x0]
ldr x1, [sp, 40]
ldr x0, [sp, 56]
bl strcat
mov w0, 1
.L1762:
ldr x19, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE100:
.size mapSuffix, .-mapSuffix
.section .rodata
.align 3
.LC80:
.string "compress: bad modes\n"
.align 3
.LC81:
.string "(stdin)"
.align 3
.LC82:
.string "(stdout)"
.align 3
.LC83:
.string "%s: There are no files matching `%s'.\n"
.align 3
.LC84:
.string "%s: Can't open input file %s: %s.\n"
.align 3
.LC85:
.string "%s: Input file %s already has %s suffix.\n"
.align 3
.LC86:
.string "%s: Input file %s is a directory.\n"
.align 3
.LC87:
.string "%s: Input file %s is not a normal file.\n"
.align 3
.LC88:
.string "%s: Output file %s already exists.\n"
.align 3
.LC89:
.string "s"
.align 3
.LC90:
.string "%s: Input file %s has %d other link%s.\n"
.align 3
.LC91:
.string "%s: I won't write compressed data to a terminal.\n"
.align 3
.LC92:
.string "%s: For help, type: `%s --help'.\n"
.align 3
.LC93:
.string "wb"
.align 3
.LC94:
.string "%s: Can't create output file %s: %s.\n"
.align 3
.LC95:
.string "compress: bad srcMode"
.align 3
.LC96:
.string " %s: "
.text
.align 2
.type compress, %function
compress:
.LFB101:
.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 x0, [sp, 40]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 216]
mov x1, 0
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
strb wzr, [x0]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1764
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
beq .L1764
adrp x0, .LC80
add x0, x0, :lo12:.LC80
bl panic
.L1764:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
beq .L1765
cmp w0, 3
bgt .L1766
cmp w0, 1
beq .L1767
cmp w0, 2
beq .L1768
b .L1766
.L1767:
adrp x0, .LC81
add x1, x0, :lo12:.LC81
adrp x0, inName
add x0, x0, :lo12:inName
bl copyFileName
adrp x0, .LC82
add x1, x0, :lo12:.LC82
adrp x0, outName
add x0, x0, :lo12:outName
bl copyFileName
b .L1766
.L1765:
ldr x1, [sp, 40]
adrp x0, inName
add x0, x0, :lo12:inName
bl copyFileName
ldr x1, [sp, 40]
adrp x0, outName
add x0, x0, :lo12:outName
bl copyFileName
adrp x0, outName
add x0, x0, :lo12:outName
bl strlen
mov x1, x0
adrp x0, outName
add x0, x0, :lo12:outName
add x2, x1, x0
adrp x0, .LC74
add x1, x0, :lo12:.LC74
mov x0, x2
ldr w2, [x1]
str w2, [x0]
ldrb w1, [x1, 4]
strb w1, [x0, 4]
b .L1766
.L1768:
ldr x1, [sp, 40]
adrp x0, inName
add x0, x0, :lo12:inName
bl copyFileName
adrp x0, .LC82
add x1, x0, :lo12:.LC82
adrp x0, outName
add x0, x0, :lo12:outName
bl copyFileName
nop
.L1766:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
beq .L1769
adrp x0, inName
add x0, x0, :lo12:inName
bl containsDubiousChars
and w0, w0, 255
cmp w0, 0
beq .L1769
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1770
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC83
add x1, x0, :lo12:.LC83
mov x0, x4
bl fprintf
.L1770:
mov w0, 1
bl setExit
b .L1763
.L1769:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
beq .L1772
adrp x0, inName
add x0, x0, :lo12:inName
bl fileExists
and w0, w0, 255
cmp w0, 0
bne .L1772
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x20
adrp x0, .LC84
add x1, x0, :lo12:.LC84
mov x0, x19
bl fprintf
mov w0, 1
bl setExit
b .L1763
.L1772:
str wzr, [sp, 60]
b .L1773
.L1776:
adrp x0, zSuffix
add x0, x0, :lo12:zSuffix
ldrsw x1, [sp, 60]
ldr x0, [x0, x1, lsl 3]
mov x1, x0
adrp x0, inName
add x0, x0, :lo12:inName
bl hasSuffix
and w0, w0, 255
cmp w0, 0
beq .L1774
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1775
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x5, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x2, [x0]
adrp x0, zSuffix
add x0, x0, :lo12:zSuffix
ldrsw x1, [sp, 60]
ldr x0, [x0, x1, lsl 3]
mov x4, x0
adrp x0, inName
add x3, x0, :lo12:inName
adrp x0, .LC85
add x1, x0, :lo12:.LC85
mov x0, x5
bl fprintf
.L1775:
mov w0, 1
bl setExit
b .L1763
.L1774:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1773:
ldr w0, [sp, 60]
cmp w0, 3
ble .L1776
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
beq .L1777
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 2
bne .L1778
.L1777:
add x0, sp, 88
mov x1, x0
adrp x0, inName
add x0, x0, :lo12:inName
bl stat
ldr w0, [sp, 104]
and w0, w0, 61440
cmp w0, 16384
bne .L1778
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC86
add x1, x0, :lo12:.LC86
mov x0, x4
bl fprintf
mov w0, 1
bl setExit
b .L1763
.L1778:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1779
adrp x0, forceOverwrite
add x0, x0, :lo12:forceOverwrite
ldrb w0, [x0]
cmp w0, 0
bne .L1779
adrp x0, inName
add x0, x0, :lo12:inName
bl notAStandardFile
and w0, w0, 255
cmp w0, 0
beq .L1779
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1780
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC87
add x1, x0, :lo12:.LC87
mov x0, x4
bl fprintf
.L1780:
mov w0, 1
bl setExit
b .L1763
.L1779:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1781
adrp x0, outName
add x0, x0, :lo12:outName
bl fileExists
and w0, w0, 255
cmp w0, 0
beq .L1781
adrp x0, forceOverwrite
add x0, x0, :lo12:forceOverwrite
ldrb w0, [x0]
cmp w0, 0
beq .L1782
adrp x0, outName
add x0, x0, :lo12:outName
bl remove
b .L1781
.L1782:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, outName
add x3, x0, :lo12:outName
mov x2, x1
adrp x0, .LC88
add x1, x0, :lo12:.LC88
mov x0, x4
bl fprintf
mov w0, 1
bl setExit
b .L1763
.L1781:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1783
adrp x0, forceOverwrite
add x0, x0, :lo12:forceOverwrite
ldrb w0, [x0]
cmp w0, 0
bne .L1783
adrp x0, inName
add x0, x0, :lo12:inName
bl countHardLinks
str w0, [sp, 64]
ldr w0, [sp, 64]
cmp w0, 0
ble .L1783
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x6, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
ldr w0, [sp, 64]
cmp w0, 1
ble .L1784
adrp x0, .LC89
add x0, x0, :lo12:.LC89
b .L1785
.L1784:
adrp x0, .LC78
add x0, x0, :lo12:.LC78
.L1785:
mov x5, x0
ldr w4, [sp, 64]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC90
add x1, x0, :lo12:.LC90
mov x0, x6
bl fprintf
mov w0, 1
bl setExit
b .L1763
.L1783:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1786
adrp x0, inName
add x0, x0, :lo12:inName
bl saveInputFileMetaInfo
.L1786:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
beq .L1787
cmp w0, 3
bgt .L1788
cmp w0, 1
beq .L1789
cmp w0, 2
beq .L1790
b .L1788
.L1789:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
str x0, [sp, 72]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
str x0, [sp, 80]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fileno
bl isatty
cmp w0, 0
beq .L1804
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC91
add x1, x0, :lo12:.LC91
mov x0, x3
bl fprintf
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x3, x0
mov x2, x1
adrp x0, .LC92
add x1, x0, :lo12:.LC92
mov x0, x4
bl fprintf
mov w0, 1
bl setExit
b .L1763
.L1790:
adrp x0, .LC73
add x1, x0, :lo12:.LC73
adrp x0, inName
add x0, x0, :lo12:inName
bl fopen
str x0, [sp, 72]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
str x0, [sp, 80]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fileno
bl isatty
cmp w0, 0
beq .L1793
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC91
add x1, x0, :lo12:.LC91
mov x0, x3
bl fprintf
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x3, x0
mov x2, x1
adrp x0, .LC92
add x1, x0, :lo12:.LC92
mov x0, x4
bl fprintf
ldr x0, [sp, 72]
cmp x0, 0
beq .L1794
ldr x0, [sp, 72]
bl fclose
.L1794:
mov w0, 1
bl setExit
b .L1763
.L1793:
ldr x0, [sp, 72]
cmp x0, 0
bne .L1805
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x20
adrp x0, .LC84
add x1, x0, :lo12:.LC84
mov x0, x19
bl fprintf
mov w0, 1
bl setExit
b .L1763
.L1787:
adrp x0, .LC73
add x1, x0, :lo12:.LC73
adrp x0, inName
add x0, x0, :lo12:inName
bl fopen
str x0, [sp, 72]
adrp x0, .LC93
add x1, x0, :lo12:.LC93
adrp x0, outName
add x0, x0, :lo12:outName
bl fopen_output_safely
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L1796
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
adrp x0, outName
add x3, x0, :lo12:outName
mov x2, x20
adrp x0, .LC94
add x1, x0, :lo12:.LC94
mov x0, x19
bl fprintf
ldr x0, [sp, 72]
cmp x0, 0
beq .L1797
ldr x0, [sp, 72]
bl fclose
.L1797:
mov w0, 1
bl setExit
b .L1763
.L1796:
ldr x0, [sp, 72]
cmp x0, 0
bne .L1806
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x20
adrp x0, .LC84
add x1, x0, :lo12:.LC84
mov x0, x19
bl fprintf
ldr x0, [sp, 80]
cmp x0, 0
beq .L1799
ldr x0, [sp, 80]
bl fclose
.L1799:
mov w0, 1
bl setExit
b .L1763
.L1788:
adrp x0, .LC95
add x0, x0, :lo12:.LC95
bl panic
.L1804:
nop
b .L1792
.L1805:
nop
b .L1792
.L1806:
nop
.L1792:
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 0
ble .L1800
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, inName
add x2, x0, :lo12:inName
adrp x0, .LC96
add x1, x0, :lo12:.LC96
mov x0, x3
bl fprintf
adrp x0, inName
add x0, x0, :lo12:inName
bl pad
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
bl fflush
.L1800:
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
ldr x1, [sp, 80]
str x1, [x0]
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
mov w1, 1
strb w1, [x0]
ldr x1, [sp, 80]
ldr x0, [sp, 72]
bl compressStream
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
str xzr, [x0]
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1801
adrp x0, outName
add x0, x0, :lo12:outName
bl applySavedMetaInfoToOutputFile
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
strb wzr, [x0]
adrp x0, keepInputFiles
add x0, x0, :lo12:keepInputFiles
ldrb w0, [x0]
cmp w0, 0
bne .L1801
adrp x0, inName
add x0, x0, :lo12:inName
bl remove
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
beq .L1801
bl ioError
.L1801:
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
strb wzr, [x0]
.L1763:
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 .L1803
bl __stack_chk_fail
.L1803:
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
.LFE101:
.size compress, .-compress
.section .rodata
.align 3
.LC97:
.string "uncompress: bad modes\n"
.align 3
.LC98:
.string ".out"
.align 3
.LC99:
.string "%s: Can't guess original name for %s -- using %s\n"
.align 3
.LC100:
.string "%s: I won't read compressed data from a terminal.\n"
.align 3
.LC101:
.string "%s: Can't open input file %s:%s.\n"
.align 3
.LC102:
.string "uncompress: bad srcMode"
.align 3
.LC103:
.string "done\n"
.align 3
.LC104:
.string "not a bzip2 file.\n"
.align 3
.LC105:
.string "%s: %s is not a bzip2 file.\n"
.text
.align 2
.type uncompress, %function
uncompress:
.LFB102:
.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 x0, [sp, 40]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 216]
mov x1, 0
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
strb wzr, [x0]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1808
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
beq .L1808
adrp x0, .LC97
add x0, x0, :lo12:.LC97
bl panic
.L1808:
strb wzr, [sp, 54]
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
beq .L1809
cmp w0, 3
bgt .L1810
cmp w0, 1
beq .L1811
cmp w0, 2
beq .L1812
b .L1810
.L1811:
adrp x0, .LC81
add x1, x0, :lo12:.LC81
adrp x0, inName
add x0, x0, :lo12:inName
bl copyFileName
adrp x0, .LC82
add x1, x0, :lo12:.LC82
adrp x0, outName
add x0, x0, :lo12:outName
bl copyFileName
b .L1810
.L1809:
ldr x1, [sp, 40]
adrp x0, inName
add x0, x0, :lo12:inName
bl copyFileName
ldr x1, [sp, 40]
adrp x0, outName
add x0, x0, :lo12:outName
bl copyFileName
str wzr, [sp, 56]
b .L1813
.L1815:
adrp x0, zSuffix
add x0, x0, :lo12:zSuffix
ldrsw x1, [sp, 56]
ldr x3, [x0, x1, lsl 3]
adrp x0, unzSuffix
add x0, x0, :lo12:unzSuffix
ldrsw x1, [sp, 56]
ldr x0, [x0, x1, lsl 3]
mov x2, x0
mov x1, x3
adrp x0, outName
add x0, x0, :lo12:outName
bl mapSuffix
and w0, w0, 255
cmp w0, 0
bne .L1851
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L1813:
ldr w0, [sp, 56]
cmp w0, 3
ble .L1815
mov w0, 1
strb w0, [sp, 54]
adrp x0, outName
add x0, x0, :lo12:outName
bl strlen
mov x1, x0
adrp x0, outName
add x0, x0, :lo12:outName
add x2, x1, x0
adrp x0, .LC98
add x1, x0, :lo12:.LC98
mov x0, x2
ldr w2, [x1]
str w2, [x0]
ldrb w1, [x1, 4]
strb w1, [x0, 4]
b .L1810
.L1812:
ldr x1, [sp, 40]
adrp x0, inName
add x0, x0, :lo12:inName
bl copyFileName
adrp x0, .LC82
add x1, x0, :lo12:.LC82
adrp x0, outName
add x0, x0, :lo12:outName
bl copyFileName
b .L1810
.L1851:
nop
.L1810:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
beq .L1816
adrp x0, inName
add x0, x0, :lo12:inName
bl containsDubiousChars
and w0, w0, 255
cmp w0, 0
beq .L1816
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1817
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC83
add x1, x0, :lo12:.LC83
mov x0, x4
bl fprintf
.L1817:
mov w0, 1
bl setExit
b .L1807
.L1816:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
beq .L1819
adrp x0, inName
add x0, x0, :lo12:inName
bl fileExists
and w0, w0, 255
cmp w0, 0
bne .L1819
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x20
adrp x0, .LC84
add x1, x0, :lo12:.LC84
mov x0, x19
bl fprintf
mov w0, 1
bl setExit
b .L1807
.L1819:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
beq .L1820
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 2
bne .L1821
.L1820:
add x0, sp, 88
mov x1, x0
adrp x0, inName
add x0, x0, :lo12:inName
bl stat
ldr w0, [sp, 104]
and w0, w0, 61440
cmp w0, 16384
bne .L1821
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC86
add x1, x0, :lo12:.LC86
mov x0, x4
bl fprintf
mov w0, 1
bl setExit
b .L1807
.L1821:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1822
adrp x0, forceOverwrite
add x0, x0, :lo12:forceOverwrite
ldrb w0, [x0]
cmp w0, 0
bne .L1822
adrp x0, inName
add x0, x0, :lo12:inName
bl notAStandardFile
and w0, w0, 255
cmp w0, 0
beq .L1822
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1823
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC87
add x1, x0, :lo12:.LC87
mov x0, x4
bl fprintf
.L1823:
mov w0, 1
bl setExit
b .L1807
.L1822:
ldrb w0, [sp, 54]
cmp w0, 0
beq .L1824
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1824
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x5, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, outName
add x4, x0, :lo12:outName
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC99
add x1, x0, :lo12:.LC99
mov x0, x5
bl fprintf
.L1824:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1825
adrp x0, outName
add x0, x0, :lo12:outName
bl fileExists
and w0, w0, 255
cmp w0, 0
beq .L1825
adrp x0, forceOverwrite
add x0, x0, :lo12:forceOverwrite
ldrb w0, [x0]
cmp w0, 0
beq .L1826
adrp x0, outName
add x0, x0, :lo12:outName
bl remove
b .L1825
.L1826:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, outName
add x3, x0, :lo12:outName
mov x2, x1
adrp x0, .LC88
add x1, x0, :lo12:.LC88
mov x0, x4
bl fprintf
mov w0, 1
bl setExit
b .L1807
.L1825:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1827
adrp x0, forceOverwrite
add x0, x0, :lo12:forceOverwrite
ldrb w0, [x0]
cmp w0, 0
bne .L1827
adrp x0, inName
add x0, x0, :lo12:inName
bl countHardLinks
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
ble .L1827
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x6, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
ldr w0, [sp, 60]
cmp w0, 1
ble .L1828
adrp x0, .LC89
add x0, x0, :lo12:.LC89
b .L1829
.L1828:
adrp x0, .LC78
add x0, x0, :lo12:.LC78
.L1829:
mov x5, x0
ldr w4, [sp, 60]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC90
add x1, x0, :lo12:.LC90
mov x0, x6
bl fprintf
mov w0, 1
bl setExit
b .L1807
.L1827:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1830
adrp x0, inName
add x0, x0, :lo12:inName
bl saveInputFileMetaInfo
.L1830:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
beq .L1831
cmp w0, 3
bgt .L1832
cmp w0, 1
beq .L1833
cmp w0, 2
beq .L1834
b .L1832
.L1833:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
str x0, [sp, 72]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
str x0, [sp, 80]
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fileno
bl isatty
cmp w0, 0
beq .L1852
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC100
add x1, x0, :lo12:.LC100
mov x0, x3
bl fprintf
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x3, x0
mov x2, x1
adrp x0, .LC92
add x1, x0, :lo12:.LC92
mov x0, x4
bl fprintf
mov w0, 1
bl setExit
b .L1807
.L1834:
adrp x0, .LC73
add x1, x0, :lo12:.LC73
adrp x0, inName
add x0, x0, :lo12:inName
bl fopen
str x0, [sp, 72]
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
str x0, [sp, 80]
ldr x0, [sp, 72]
cmp x0, 0
bne .L1853
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x20
adrp x0, .LC101
add x1, x0, :lo12:.LC101
mov x0, x19
bl fprintf
ldr x0, [sp, 72]
cmp x0, 0
beq .L1838
ldr x0, [sp, 72]
bl fclose
.L1838:
mov w0, 1
bl setExit
b .L1807
.L1831:
adrp x0, .LC73
add x1, x0, :lo12:.LC73
adrp x0, inName
add x0, x0, :lo12:inName
bl fopen
str x0, [sp, 72]
adrp x0, .LC93
add x1, x0, :lo12:.LC93
adrp x0, outName
add x0, x0, :lo12:outName
bl fopen_output_safely
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L1839
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
adrp x0, outName
add x3, x0, :lo12:outName
mov x2, x20
adrp x0, .LC94
add x1, x0, :lo12:.LC94
mov x0, x19
bl fprintf
ldr x0, [sp, 72]
cmp x0, 0
beq .L1840
ldr x0, [sp, 72]
bl fclose
.L1840:
mov w0, 1
bl setExit
b .L1807
.L1839:
ldr x0, [sp, 72]
cmp x0, 0
bne .L1854
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x20
adrp x0, .LC84
add x1, x0, :lo12:.LC84
mov x0, x19
bl fprintf
ldr x0, [sp, 80]
cmp x0, 0
beq .L1842
ldr x0, [sp, 80]
bl fclose
.L1842:
mov w0, 1
bl setExit
b .L1807
.L1832:
adrp x0, .LC102
add x0, x0, :lo12:.LC102
bl panic
.L1852:
nop
b .L1836
.L1853:
nop
b .L1836
.L1854:
nop
.L1836:
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 0
ble .L1843
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, inName
add x2, x0, :lo12:inName
adrp x0, .LC96
add x1, x0, :lo12:.LC96
mov x0, x3
bl fprintf
adrp x0, inName
add x0, x0, :lo12:inName
bl pad
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
bl fflush
.L1843:
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
ldr x1, [sp, 80]
str x1, [x0]
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
mov w1, 1
strb w1, [x0]
ldr x1, [sp, 80]
ldr x0, [sp, 72]
bl uncompressStream
strb w0, [sp, 55]
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
str xzr, [x0]
ldrb w0, [sp, 55]
cmp w0, 0
beq .L1844
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1845
adrp x0, outName
add x0, x0, :lo12:outName
bl applySavedMetaInfoToOutputFile
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
strb wzr, [x0]
adrp x0, keepInputFiles
add x0, x0, :lo12:keepInputFiles
ldrb w0, [x0]
cmp w0, 0
bne .L1845
adrp x0, inName
add x0, x0, :lo12:inName
bl remove
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
beq .L1845
bl ioError
.L1844:
adrp x0, unzFailsExist
add x0, x0, :lo12:unzFailsExist
mov w1, 1
strb w1, [x0]
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
strb wzr, [x0]
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1845
adrp x0, outName
add x0, x0, :lo12:outName
bl remove
str w0, [sp, 64]
ldr w0, [sp, 64]
cmp w0, 0
beq .L1845
bl ioError
.L1845:
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
strb wzr, [x0]
ldrb w0, [sp, 55]
cmp w0, 0
beq .L1846
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 0
ble .L1807
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 5
mov x1, 1
adrp x0, .LC103
add x0, x0, :lo12:.LC103
bl fwrite
b .L1807
.L1846:
mov w0, 2
bl setExit
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 0
ble .L1848
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 18
mov x1, 1
adrp x0, .LC104
add x0, x0, :lo12:.LC104
bl fwrite
b .L1807
.L1848:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC105
add x1, x0, :lo12:.LC105
mov x0, x4
bl fprintf
.L1807:
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 .L1850
bl __stack_chk_fail
.L1850:
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
.LFE102:
.size uncompress, .-uncompress
.section .rodata
.align 3
.LC106:
.string "testf: bad modes\n"
.align 3
.LC107:
.string "(none)"
.align 3
.LC108:
.string "%s: Can't open input %s: %s.\n"
.align 3
.LC109:
.string "testf: bad srcMode"
.align 3
.LC110:
.string "ok\n"
.text
.align 2
.type testf, %function
testf:
.LFB103:
.cfi_startproc
stp x29, x30, [sp, -208]!
.cfi_def_cfa_offset 208
.cfi_offset 29, -208
.cfi_offset 30, -200
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -192
.cfi_offset 20, -184
str x0, [sp, 40]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 200]
mov x1, 0
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
strb wzr, [x0]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1856
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
beq .L1856
adrp x0, .LC106
add x0, x0, :lo12:.LC106
bl panic
.L1856:
adrp x0, .LC107
add x1, x0, :lo12:.LC107
adrp x0, outName
add x0, x0, :lo12:outName
bl copyFileName
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
beq .L1857
cmp w0, 3
bgt .L1858
cmp w0, 1
beq .L1859
cmp w0, 2
beq .L1860
b .L1858
.L1859:
adrp x0, .LC81
add x1, x0, :lo12:.LC81
adrp x0, inName
add x0, x0, :lo12:inName
bl copyFileName
b .L1858
.L1857:
ldr x1, [sp, 40]
adrp x0, inName
add x0, x0, :lo12:inName
bl copyFileName
b .L1858
.L1860:
ldr x1, [sp, 40]
adrp x0, inName
add x0, x0, :lo12:inName
bl copyFileName
nop
.L1858:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
beq .L1861
adrp x0, inName
add x0, x0, :lo12:inName
bl containsDubiousChars
and w0, w0, 255
cmp w0, 0
beq .L1861
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1862
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC83
add x1, x0, :lo12:.LC83
mov x0, x4
bl fprintf
.L1862:
mov w0, 1
bl setExit
b .L1855
.L1861:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
beq .L1864
adrp x0, inName
add x0, x0, :lo12:inName
bl fileExists
and w0, w0, 255
cmp w0, 0
bne .L1864
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x20
adrp x0, .LC108
add x1, x0, :lo12:.LC108
mov x0, x19
bl fprintf
mov w0, 1
bl setExit
b .L1855
.L1864:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
beq .L1865
add x0, sp, 72
mov x1, x0
adrp x0, inName
add x0, x0, :lo12:inName
bl stat
ldr w0, [sp, 88]
and w0, w0, 61440
cmp w0, 16384
bne .L1865
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x1
adrp x0, .LC86
add x1, x0, :lo12:.LC86
mov x0, x4
bl fprintf
mov w0, 1
bl setExit
b .L1855
.L1865:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
beq .L1866
cmp w0, 0
ble .L1867
sub w0, w0, #2
cmp w0, 1
bhi .L1867
b .L1877
.L1866:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fileno
bl isatty
cmp w0, 0
beq .L1869
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC100
add x1, x0, :lo12:.LC100
mov x0, x3
bl fprintf
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x3, x0
mov x2, x1
adrp x0, .LC92
add x1, x0, :lo12:.LC92
mov x0, x4
bl fprintf
mov w0, 1
bl setExit
b .L1855
.L1869:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
str x0, [sp, 64]
b .L1870
.L1877:
adrp x0, .LC73
add x1, x0, :lo12:.LC73
adrp x0, inName
add x0, x0, :lo12:inName
bl fopen
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L1878
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x20, [x0]
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
adrp x0, inName
add x3, x0, :lo12:inName
mov x2, x20
adrp x0, .LC101
add x1, x0, :lo12:.LC101
mov x0, x19
bl fprintf
mov w0, 1
bl setExit
b .L1855
.L1867:
adrp x0, .LC109
add x0, x0, :lo12:.LC109
bl panic
.L1878:
nop
.L1870:
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 0
ble .L1872
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, inName
add x2, x0, :lo12:inName
adrp x0, .LC96
add x1, x0, :lo12:.LC96
mov x0, x3
bl fprintf
adrp x0, inName
add x0, x0, :lo12:inName
bl pad
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
bl fflush
.L1872:
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
str xzr, [x0]
ldr x0, [sp, 64]
bl testStream
strb w0, [sp, 63]
ldrb w0, [sp, 63]
cmp w0, 0
beq .L1873
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 0
ble .L1873
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 3
mov x1, 1
adrp x0, .LC110
add x0, x0, :lo12:.LC110
bl fwrite
.L1873:
ldrb w0, [sp, 63]
cmp w0, 0
bne .L1855
adrp x0, testFailsExist
add x0, x0, :lo12:testFailsExist
mov w1, 1
strb w1, [x0]
.L1855:
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 .L1876
bl __stack_chk_fail
.L1876:
ldp x19, x20, [sp, 16]
ldp x29, x30, [sp], 208
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE103:
.size testf, .-testf
.section .rodata
.align 3
.LC111:
.ascii "bzip2, a block-sorting file compressor. Version %s.\n \n "
.ascii " Copyright (C) 1996-2002 by Julian Seward.\n \n This pr"
.ascii "ogram is free software; you can redistribute it and/or modif"
.ascii "y\n it under the terms set out in the LICENSE file, which "
.ascii "is included\n in the bzip2-1.0 sourc"
.string "e distribution.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n LICENSE file for more details.\n \n"
.text
.align 2
.type license, %function
license:
.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 x19, [sp, 16]
.cfi_offset 19, -16
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl BZ2_bzlibVersion
mov x2, x0
adrp x0, .LC111
add x1, x0, :lo12:.LC111
mov x0, x19
bl fprintf
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE104:
.size license, .-license
.section .rodata
.align 3
.LC112:
.ascii "bzip2, a block-sorting file compressor. Version %s.\n\n u"
.ascii "sage: %s [flags and input files in any order]\n\n -h --hel"
.ascii "p print this message\n -d --decompress force"
.ascii " decompression\n -z --compress force compression\n "
.ascii " -k --keep keep (don't delete) input files\n -f "
.ascii "--force overwrite existing output files\n -t --te"
.ascii "st test compressed file integrity\n -c --stdout "
.ascii " output to standard out\n -q --quiet suppr"
.ascii "ess noncritical error messages\n -v --verbose be ve"
.ascii "rbose (a 2nd -v gives more)\n -L --license display "
.ascii "software version & license\n -V --version display s"
.ascii "oftware version & license\n -s --small use less m"
.ascii "emory (at most 2500k)\n -1 .. -9 set block size"
.ascii " to 100k .. 900k\n --fast alias for -1\n --"
.ascii "best alias for -9\n\n If invoked as `bzip2', "
.ascii "default action is to compress.\n as `bunzip2', "
.ascii " default action is to decompress.\n"
.string " as `bzcat', default action is to decompress to stdout.\n\n If no file names are given, bzip2 compresses or decompresses\n from standard input to standard output. You can combine\n short flags, so `-v -4' means the same as -v4 or -4v, &c.\n\n"
.text
.align 2
.type usage, %function
usage:
.LFB105:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -32
str x0, [sp, 40]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl BZ2_bzlibVersion
ldr x3, [sp, 40]
mov x2, x0
adrp x0, .LC112
add x1, x0, :lo12:.LC112
mov x0, x19
bl fprintf
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE105:
.size usage, .-usage
.section .rodata
.align 3
.LC113:
.string "%s: %s is redundant in versions 0.9.5 and above\n"
.text
.align 2
.type redundant, %function
redundant:
.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]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
ldr x3, [sp, 24]
mov x2, x0
adrp x0, .LC113
add x1, x0, :lo12:.LC113
mov x0, x4
bl fprintf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE106:
.size redundant, .-redundant
.align 2
.type myMalloc, %function
myMalloc:
.LFB107:
.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]
ldrsw x0, [sp, 28]
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1883
bl outOfMemory
.L1883:
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE107:
.size myMalloc, .-myMalloc
.align 2
.type mkCell, %function
mkCell:
.LFB108:
.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, 16
bl myMalloc
str x0, [sp, 24]
ldr x0, [sp, 24]
str xzr, [x0]
ldr x0, [sp, 24]
str xzr, [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
.LFE108:
.size mkCell, .-mkCell
.align 2
.type snocString, %function
snocString:
.LFB109:
.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]
cmp x0, 0
bne .L1888
bl mkCell
str x0, [sp, 40]
ldr x0, [sp, 16]
bl strlen
add w0, w0, 5
bl myMalloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0]
ldr x0, [sp, 40]
ldr x0, [x0]
ldr x1, [sp, 16]
bl strcpy
ldr x0, [sp, 40]
b .L1889
.L1888:
ldr x0, [sp, 24]
str x0, [sp, 32]
b .L1890
.L1891:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L1890:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
cmp x0, 0
bne .L1891
ldr x0, [sp, 32]
ldr x0, [x0, 8]
ldr x1, [sp, 16]
bl snocString
mov x1, x0
ldr x0, [sp, 32]
str x1, [x0, 8]
ldr x0, [sp, 24]
.L1889:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE109:
.size snocString, .-snocString
.align 2
.type addFlagsFromEnvVar, %function
addFlagsFromEnvVar:
.LFB110:
.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 getenv
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L1906
ldr x0, [sp, 56]
str x0, [sp, 48]
str wzr, [sp, 36]
.L1904:
ldrsw x0, [sp, 36]
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
beq .L1907
ldrsw x0, [sp, 36]
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 48]
str wzr, [sp, 36]
b .L1895
.L1896:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L1895:
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 48]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
bne .L1896
b .L1897
.L1899:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1897:
ldrsw x0, [sp, 36]
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
beq .L1898
bl __ctype_b_loc
ldr x1, [x0]
ldrsw x0, [sp, 36]
ldr x2, [sp, 48]
add x0, x2, x0
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
beq .L1899
.L1898:
ldr w0, [sp, 36]
cmp w0, 0
ble .L1904
ldr w0, [sp, 36]
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 1024
ble .L1901
mov w0, 1024
str w0, [sp, 44]
.L1901:
str wzr, [sp, 40]
b .L1902
.L1903:
ldrsw x0, [sp, 40]
ldr x1, [sp, 48]
add x0, x1, x0
ldrb w2, [x0]
adrp x0, tmpName
add x1, x0, :lo12:tmpName
ldrsw x0, [sp, 40]
strb w2, [x1, x0]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L1902:
ldr w1, [sp, 40]
ldr w0, [sp, 44]
cmp w1, w0
blt .L1903
adrp x0, tmpName
add x1, x0, :lo12:tmpName
ldrsw x0, [sp, 44]
strb wzr, [x1, x0]
ldr x0, [sp, 24]
ldr x2, [x0]
adrp x0, tmpName
add x1, x0, :lo12:tmpName
mov x0, x2
bl snocString
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0]
b .L1904
.L1907:
nop
.L1906:
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE110:
.size addFlagsFromEnvVar, .-addFlagsFromEnvVar
.section .rodata
.align 3
.LC114:
.string "BZIP2"
.align 3
.LC115:
.string "BZIP"
.align 3
.LC116:
.string "--"
.align 3
.LC117:
.string "unzip"
.align 3
.LC118:
.string "UNZIP"
.align 3
.LC119:
.string "z2cat"
.align 3
.LC120:
.string "Z2CAT"
.align 3
.LC121:
.string "zcat"
.align 3
.LC122:
.string "ZCAT"
.align 3
.LC123:
.string "%s: Bad flag `%s'\n"
.align 3
.LC124:
.string "--stdout"
.align 3
.LC125:
.string "--decompress"
.align 3
.LC126:
.string "--compress"
.align 3
.LC127:
.string "--force"
.align 3
.LC128:
.string "--test"
.align 3
.LC129:
.string "--keep"
.align 3
.LC130:
.string "--small"
.align 3
.LC131:
.string "--quiet"
.align 3
.LC132:
.string "--version"
.align 3
.LC133:
.string "--license"
.align 3
.LC134:
.string "--exponential"
.align 3
.LC135:
.string "--repetitive-best"
.align 3
.LC136:
.string "--repetitive-fast"
.align 3
.LC137:
.string "--fast"
.align 3
.LC138:
.string "--best"
.align 3
.LC139:
.string "--verbose"
.align 3
.LC140:
.string "--help"
.align 3
.LC141:
.string "%s: -c and -t cannot be used together.\n"
.align 3
.LC142:
.string "\nYou can use the `bzip2recover' program to attempt to recover\ndata from undamaged sections of corrupted files.\n\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB111:
.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
adrp x0, outputHandleJustInCase
add x0, x0, :lo12:outputHandleJustInCase
str xzr, [x0]
adrp x0, smallMode
add x0, x0, :lo12:smallMode
strb wzr, [x0]
adrp x0, keepInputFiles
add x0, x0, :lo12:keepInputFiles
strb wzr, [x0]
adrp x0, forceOverwrite
add x0, x0, :lo12:forceOverwrite
strb wzr, [x0]
adrp x0, noisy
add x0, x0, :lo12:noisy
mov w1, 1
strb w1, [x0]
adrp x0, verbosity
add x0, x0, :lo12:verbosity
str wzr, [x0]
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 9
str w1, [x0]
adrp x0, testFailsExist
add x0, x0, :lo12:testFailsExist
strb wzr, [x0]
adrp x0, unzFailsExist
add x0, x0, :lo12:unzFailsExist
strb wzr, [x0]
adrp x0, numFileNames
add x0, x0, :lo12:numFileNames
str wzr, [x0]
adrp x0, numFilesProcessed
add x0, x0, :lo12:numFilesProcessed
str wzr, [x0]
adrp x0, workFactor
add x0, x0, :lo12:workFactor
mov w1, 30
str w1, [x0]
adrp x0, deleteOutputOnInterrupt
add x0, x0, :lo12:deleteOutputOnInterrupt
strb wzr, [x0]
adrp x0, exitValue
add x0, x0, :lo12:exitValue
str wzr, [x0]
str wzr, [sp, 52]
ldr w0, [sp, 52]
str w0, [sp, 48]
adrp x0, mySIGSEGVorSIGBUScatcher
add x1, x0, :lo12:mySIGSEGVorSIGBUScatcher
mov w0, 11
bl signal
adrp x0, mySIGSEGVorSIGBUScatcher
add x1, x0, :lo12:mySIGSEGVorSIGBUScatcher
mov w0, 7
bl signal
adrp x0, .LC107
add x1, x0, :lo12:.LC107
adrp x0, inName
add x0, x0, :lo12:inName
bl copyFileName
adrp x0, .LC107
add x1, x0, :lo12:.LC107
adrp x0, outName
add x0, x0, :lo12:outName
bl copyFileName
ldr x0, [sp, 16]
ldr x0, [x0]
mov x1, x0
adrp x0, progNameReally
add x0, x0, :lo12:progNameReally
bl copyFileName
adrp x0, progName
add x0, x0, :lo12:progName
adrp x1, progNameReally
add x1, x1, :lo12:progNameReally
str x1, [x0]
adrp x0, progNameReally
add x0, x0, :lo12:progNameReally
str x0, [sp, 64]
b .L1909
.L1911:
ldr x0, [sp, 64]
ldrb w0, [x0]
cmp w0, 47
bne .L1910
ldr x0, [sp, 64]
add x1, x0, 1
adrp x0, progName
add x0, x0, :lo12:progName
str x1, [x0]
.L1910:
ldr x0, [sp, 64]
add x0, x0, 1
str x0, [sp, 64]
.L1909:
ldr x0, [sp, 64]
ldrb w0, [x0]
cmp w0, 0
bne .L1911
str xzr, [sp, 56]
add x2, sp, 56
adrp x0, .LC114
add x1, x0, :lo12:.LC114
mov x0, x2
bl addFlagsFromEnvVar
add x2, sp, 56
adrp x0, .LC115
add x1, x0, :lo12:.LC115
mov x0, x2
bl addFlagsFromEnvVar
mov w0, 1
str w0, [sp, 48]
b .L1912
.L1913:
ldr x2, [sp, 56]
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl snocString
str x0, [sp, 56]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1912:
ldr w1, [sp, 28]
ldr w0, [sp, 48]
cmp w1, w0
bgt .L1913
adrp x0, longestFileName
add x0, x0, :lo12:longestFileName
mov w1, 7
str w1, [x0]
adrp x0, numFileNames
add x0, x0, :lo12:numFileNames
str wzr, [x0]
mov w0, 1
strb w0, [sp, 47]
ldr x0, [sp, 56]
str x0, [sp, 72]
b .L1914
.L1918:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC116
add x1, x0, :lo12:.LC116
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1915
strb wzr, [sp, 47]
b .L1916
.L1915:
ldr x0, [sp, 72]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 45
bne .L1917
ldrb w0, [sp, 47]
cmp w0, 0
bne .L2013
.L1917:
adrp x0, numFileNames
add x0, x0, :lo12:numFileNames
ldr w0, [x0]
add w1, w0, 1
adrp x0, numFileNames
add x0, x0, :lo12:numFileNames
str w1, [x0]
ldr x0, [sp, 72]
ldr x0, [x0]
bl strlen
mov w1, w0
adrp x0, longestFileName
add x0, x0, :lo12:longestFileName
ldr w0, [x0]
cmp w1, w0
ble .L1916
ldr x0, [sp, 72]
ldr x0, [x0]
bl strlen
mov w1, w0
adrp x0, longestFileName
add x0, x0, :lo12:longestFileName
str w1, [x0]
b .L1916
.L2013:
nop
.L1916:
ldr x0, [sp, 72]
ldr x0, [x0, 8]
str x0, [sp, 72]
.L1914:
ldr x0, [sp, 72]
cmp x0, 0
bne .L1918
adrp x0, numFileNames
add x0, x0, :lo12:numFileNames
ldr w0, [x0]
cmp w0, 0
bne .L1919
adrp x0, srcMode
add x0, x0, :lo12:srcMode
mov w1, 1
str w1, [x0]
b .L1920
.L1919:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
mov w1, 3
str w1, [x0]
.L1920:
adrp x0, opMode
add x0, x0, :lo12:opMode
mov w1, 1
str w1, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x2, [x0]
adrp x0, .LC117
add x1, x0, :lo12:.LC117
mov x0, x2
bl strstr
cmp x0, 0
bne .L1921
adrp x0, progName
add x0, x0, :lo12:progName
ldr x2, [x0]
adrp x0, .LC118
add x1, x0, :lo12:.LC118
mov x0, x2
bl strstr
cmp x0, 0
beq .L1922
.L1921:
adrp x0, opMode
add x0, x0, :lo12:opMode
mov w1, 2
str w1, [x0]
.L1922:
adrp x0, progName
add x0, x0, :lo12:progName
ldr x2, [x0]
adrp x0, .LC119
add x1, x0, :lo12:.LC119
mov x0, x2
bl strstr
cmp x0, 0
bne .L1923
adrp x0, progName
add x0, x0, :lo12:progName
ldr x2, [x0]
adrp x0, .LC120
add x1, x0, :lo12:.LC120
mov x0, x2
bl strstr
cmp x0, 0
bne .L1923
adrp x0, progName
add x0, x0, :lo12:progName
ldr x2, [x0]
adrp x0, .LC121
add x1, x0, :lo12:.LC121
mov x0, x2
bl strstr
cmp x0, 0
bne .L1923
adrp x0, progName
add x0, x0, :lo12:progName
ldr x2, [x0]
adrp x0, .LC122
add x1, x0, :lo12:.LC122
mov x0, x2
bl strstr
cmp x0, 0
beq .L1924
.L1923:
adrp x0, opMode
add x0, x0, :lo12:opMode
mov w1, 2
str w1, [x0]
adrp x0, numFileNames
add x0, x0, :lo12:numFileNames
ldr w0, [x0]
cmp w0, 0
bne .L1925
mov w0, 1
b .L1926
.L1925:
mov w0, 2
.L1926:
adrp x1, srcMode
add x1, x1, :lo12:srcMode
str w0, [x1]
.L1924:
ldr x0, [sp, 56]
str x0, [sp, 72]
b .L1927
.L1956:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC116
add x1, x0, :lo12:.LC116
mov x0, x2
bl strcmp
cmp w0, 0
beq .L2014
ldr x0, [sp, 72]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 45
bne .L1930
ldr x0, [sp, 72]
ldr x0, [x0]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 45
beq .L1930
mov w0, 1
str w0, [sp, 52]
b .L1931
.L1955:
ldr x0, [sp, 72]
ldr x1, [x0]
ldrsw x0, [sp, 52]
add x0, x1, x0
ldrb w0, [x0]
sub w0, w0, #49
cmp w0, 73
bhi .L1932
adrp x1, .L1934
add x1, x1, :lo12:.L1934
ldr w0, [x1,w0,uxtw #2]
adr x1, .Lrtx1934
add x0, x1, w0, sxtw #2
br x0
.Lrtx1934:
.section .rodata
.align 0
.align 2
.L1934:
.word (.L1953 - .Lrtx1934) / 4
.word (.L1952 - .Lrtx1934) / 4
.word (.L1951 - .Lrtx1934) / 4
.word (.L1950 - .Lrtx1934) / 4
.word (.L1949 - .Lrtx1934) / 4
.word (.L1948 - .Lrtx1934) / 4
.word (.L1947 - .Lrtx1934) / 4
.word (.L1946 - .Lrtx1934) / 4
.word (.L1945 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1944 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1944 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1943 - .Lrtx1934) / 4
.word (.L1942 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1941 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1940 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1939 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1938 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1937 - .Lrtx1934) / 4
.word (.L1936 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1935 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1932 - .Lrtx1934) / 4
.word (.L1933 - .Lrtx1934) / 4
.text
.L1943:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
mov w1, 2
str w1, [x0]
b .L1954
.L1942:
adrp x0, opMode
add x0, x0, :lo12:opMode
mov w1, 2
str w1, [x0]
b .L1954
.L1933:
adrp x0, opMode
add x0, x0, :lo12:opMode
mov w1, 1
str w1, [x0]
b .L1954
.L1941:
adrp x0, forceOverwrite
add x0, x0, :lo12:forceOverwrite
mov w1, 1
strb w1, [x0]
b .L1954
.L1936:
adrp x0, opMode
add x0, x0, :lo12:opMode
mov w1, 3
str w1, [x0]
b .L1954
.L1939:
adrp x0, keepInputFiles
add x0, x0, :lo12:keepInputFiles
mov w1, 1
strb w1, [x0]
b .L1954
.L1937:
adrp x0, smallMode
add x0, x0, :lo12:smallMode
mov w1, 1
strb w1, [x0]
b .L1954
.L1938:
adrp x0, noisy
add x0, x0, :lo12:noisy
strb wzr, [x0]
b .L1954
.L1953:
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 1
str w1, [x0]
b .L1954
.L1952:
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 2
str w1, [x0]
b .L1954
.L1951:
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 3
str w1, [x0]
b .L1954
.L1950:
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 4
str w1, [x0]
b .L1954
.L1949:
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 5
str w1, [x0]
b .L1954
.L1948:
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 6
str w1, [x0]
b .L1954
.L1947:
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 7
str w1, [x0]
b .L1954
.L1946:
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 8
str w1, [x0]
b .L1954
.L1945:
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 9
str w1, [x0]
b .L1954
.L1944:
bl license
b .L1954
.L1935:
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
add w1, w0, 1
adrp x0, verbosity
add x0, x0, :lo12:verbosity
str w1, [x0]
b .L1954
.L1940:
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
bl usage
mov w0, 0
bl exit
.L1932:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
ldr x0, [sp, 72]
ldr x0, [x0]
mov x3, x0
mov x2, x1
adrp x0, .LC123
add x1, x0, :lo12:.LC123
mov x0, x4
bl fprintf
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
bl usage
mov w0, 1
bl exit
.L1954:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1931:
ldr x0, [sp, 72]
ldr x1, [x0]
ldrsw x0, [sp, 52]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L1955
.L1930:
ldr x0, [sp, 72]
ldr x0, [x0, 8]
str x0, [sp, 72]
.L1927:
ldr x0, [sp, 72]
cmp x0, 0
bne .L1956
b .L1929
.L2014:
nop
.L1929:
ldr x0, [sp, 56]
str x0, [sp, 72]
b .L1957
.L1978:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC116
add x1, x0, :lo12:.LC116
mov x0, x2
bl strcmp
cmp w0, 0
beq .L2015
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC124
add x1, x0, :lo12:.LC124
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1960
adrp x0, srcMode
add x0, x0, :lo12:srcMode
mov w1, 2
str w1, [x0]
b .L1961
.L1960:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC125
add x1, x0, :lo12:.LC125
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1962
adrp x0, opMode
add x0, x0, :lo12:opMode
mov w1, 2
str w1, [x0]
b .L1961
.L1962:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC126
add x1, x0, :lo12:.LC126
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1963
adrp x0, opMode
add x0, x0, :lo12:opMode
mov w1, 1
str w1, [x0]
b .L1961
.L1963:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC127
add x1, x0, :lo12:.LC127
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1964
adrp x0, forceOverwrite
add x0, x0, :lo12:forceOverwrite
mov w1, 1
strb w1, [x0]
b .L1961
.L1964:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC128
add x1, x0, :lo12:.LC128
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1965
adrp x0, opMode
add x0, x0, :lo12:opMode
mov w1, 3
str w1, [x0]
b .L1961
.L1965:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC129
add x1, x0, :lo12:.LC129
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1966
adrp x0, keepInputFiles
add x0, x0, :lo12:keepInputFiles
mov w1, 1
strb w1, [x0]
b .L1961
.L1966:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC130
add x1, x0, :lo12:.LC130
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1967
adrp x0, smallMode
add x0, x0, :lo12:smallMode
mov w1, 1
strb w1, [x0]
b .L1961
.L1967:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC131
add x1, x0, :lo12:.LC131
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1968
adrp x0, noisy
add x0, x0, :lo12:noisy
strb wzr, [x0]
b .L1961
.L1968:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC132
add x1, x0, :lo12:.LC132
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1969
bl license
b .L1961
.L1969:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC133
add x1, x0, :lo12:.LC133
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1970
bl license
b .L1961
.L1970:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC134
add x1, x0, :lo12:.LC134
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1971
adrp x0, workFactor
add x0, x0, :lo12:workFactor
mov w1, 1
str w1, [x0]
b .L1961
.L1971:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC135
add x1, x0, :lo12:.LC135
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1972
ldr x0, [sp, 72]
ldr x0, [x0]
bl redundant
b .L1961
.L1972:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC136
add x1, x0, :lo12:.LC136
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1973
ldr x0, [sp, 72]
ldr x0, [x0]
bl redundant
b .L1961
.L1973:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC137
add x1, x0, :lo12:.LC137
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1974
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 1
str w1, [x0]
b .L1961
.L1974:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC138
add x1, x0, :lo12:.LC138
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1975
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 9
str w1, [x0]
b .L1961
.L1975:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC139
add x1, x0, :lo12:.LC139
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1976
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
add w1, w0, 1
adrp x0, verbosity
add x0, x0, :lo12:verbosity
str w1, [x0]
b .L1961
.L1976:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC140
add x1, x0, :lo12:.LC140
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1977
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
bl usage
mov w0, 0
bl exit
.L1977:
ldr x0, [sp, 72]
ldr x3, [x0]
mov x2, 2
adrp x0, .LC116
add x1, x0, :lo12:.LC116
mov x0, x3
bl strncmp
cmp w0, 0
bne .L1961
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x1, [x0]
ldr x0, [sp, 72]
ldr x0, [x0]
mov x3, x0
mov x2, x1
adrp x0, .LC123
add x1, x0, :lo12:.LC123
mov x0, x4
bl fprintf
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
bl usage
mov w0, 1
bl exit
.L1961:
ldr x0, [sp, 72]
ldr x0, [x0, 8]
str x0, [sp, 72]
.L1957:
ldr x0, [sp, 72]
cmp x0, 0
bne .L1978
b .L1959
.L2015:
nop
.L1959:
adrp x0, verbosity
add x0, x0, :lo12:verbosity
ldr w0, [x0]
cmp w0, 4
ble .L1979
adrp x0, verbosity
add x0, x0, :lo12:verbosity
mov w1, 4
str w1, [x0]
.L1979:
adrp x0, opMode
add x0, x0, :lo12:opMode
ldr w0, [x0]
cmp w0, 1
bne .L1980
adrp x0, smallMode
add x0, x0, :lo12:smallMode
ldrb w0, [x0]
cmp w0, 0
beq .L1980
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
ldr w0, [x0]
cmp w0, 2
ble .L1980
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
mov w1, 2
str w1, [x0]
.L1980:
adrp x0, opMode
add x0, x0, :lo12:opMode
ldr w0, [x0]
cmp w0, 3
bne .L1981
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 2
bne .L1981
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progName
add x0, x0, :lo12:progName
ldr x0, [x0]
mov x2, x0
adrp x0, .LC141
add x1, x0, :lo12:.LC141
mov x0, x3
bl fprintf
mov w0, 1
bl exit
.L1981:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 2
bne .L1982
adrp x0, numFileNames
add x0, x0, :lo12:numFileNames
ldr w0, [x0]
cmp w0, 0
bne .L1982
adrp x0, srcMode
add x0, x0, :lo12:srcMode
mov w1, 1
str w1, [x0]
.L1982:
adrp x0, opMode
add x0, x0, :lo12:opMode
ldr w0, [x0]
cmp w0, 1
beq .L1983
adrp x0, blockSize100k
add x0, x0, :lo12:blockSize100k
str wzr, [x0]
.L1983:
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 3
bne .L1984
adrp x0, mySignalCatcher
add x1, x0, :lo12:mySignalCatcher
mov w0, 2
bl signal
adrp x0, mySignalCatcher
add x1, x0, :lo12:mySignalCatcher
mov w0, 15
bl signal
adrp x0, mySignalCatcher
add x1, x0, :lo12:mySignalCatcher
mov w0, 1
bl signal
.L1984:
adrp x0, opMode
add x0, x0, :lo12:opMode
ldr w0, [x0]
cmp w0, 1
bne .L1985
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
bne .L1986
mov x0, 0
bl compress
b .L1987
.L1986:
mov w0, 1
strb w0, [sp, 47]
ldr x0, [sp, 56]
str x0, [sp, 72]
b .L1988
.L1992:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC116
add x1, x0, :lo12:.LC116
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1989
strb wzr, [sp, 47]
b .L1990
.L1989:
ldr x0, [sp, 72]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 45
bne .L1991
ldrb w0, [sp, 47]
cmp w0, 0
bne .L2016
.L1991:
adrp x0, numFilesProcessed
add x0, x0, :lo12:numFilesProcessed
ldr w0, [x0]
add w1, w0, 1
adrp x0, numFilesProcessed
add x0, x0, :lo12:numFilesProcessed
str w1, [x0]
ldr x0, [sp, 72]
ldr x0, [x0]
bl compress
b .L1990
.L2016:
nop
.L1990:
ldr x0, [sp, 72]
ldr x0, [x0, 8]
str x0, [sp, 72]
.L1988:
ldr x0, [sp, 72]
cmp x0, 0
bne .L1992
b .L1987
.L1985:
adrp x0, opMode
add x0, x0, :lo12:opMode
ldr w0, [x0]
cmp w0, 2
bne .L1993
adrp x0, unzFailsExist
add x0, x0, :lo12:unzFailsExist
strb wzr, [x0]
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
bne .L1994
mov x0, 0
bl uncompress
b .L1995
.L1994:
mov w0, 1
strb w0, [sp, 47]
ldr x0, [sp, 56]
str x0, [sp, 72]
b .L1996
.L2000:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC116
add x1, x0, :lo12:.LC116
mov x0, x2
bl strcmp
cmp w0, 0
bne .L1997
strb wzr, [sp, 47]
b .L1998
.L1997:
ldr x0, [sp, 72]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 45
bne .L1999
ldrb w0, [sp, 47]
cmp w0, 0
bne .L2017
.L1999:
adrp x0, numFilesProcessed
add x0, x0, :lo12:numFilesProcessed
ldr w0, [x0]
add w1, w0, 1
adrp x0, numFilesProcessed
add x0, x0, :lo12:numFilesProcessed
str w1, [x0]
ldr x0, [sp, 72]
ldr x0, [x0]
bl uncompress
b .L1998
.L2017:
nop
.L1998:
ldr x0, [sp, 72]
ldr x0, [x0, 8]
str x0, [sp, 72]
.L1996:
ldr x0, [sp, 72]
cmp x0, 0
bne .L2000
.L1995:
adrp x0, unzFailsExist
add x0, x0, :lo12:unzFailsExist
ldrb w0, [x0]
cmp w0, 0
beq .L1987
mov w0, 2
bl setExit
adrp x0, exitValue
add x0, x0, :lo12:exitValue
ldr w0, [x0]
bl exit
.L1993:
adrp x0, testFailsExist
add x0, x0, :lo12:testFailsExist
strb wzr, [x0]
adrp x0, srcMode
add x0, x0, :lo12:srcMode
ldr w0, [x0]
cmp w0, 1
bne .L2001
mov x0, 0
bl testf
b .L2002
.L2001:
mov w0, 1
strb w0, [sp, 47]
ldr x0, [sp, 56]
str x0, [sp, 72]
b .L2003
.L2007:
ldr x0, [sp, 72]
ldr x2, [x0]
adrp x0, .LC116
add x1, x0, :lo12:.LC116
mov x0, x2
bl strcmp
cmp w0, 0
bne .L2004
strb wzr, [sp, 47]
b .L2005
.L2004:
ldr x0, [sp, 72]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 45
bne .L2006
ldrb w0, [sp, 47]
cmp w0, 0
bne .L2018
.L2006:
adrp x0, numFilesProcessed
add x0, x0, :lo12:numFilesProcessed
ldr w0, [x0]
add w1, w0, 1
adrp x0, numFilesProcessed
add x0, x0, :lo12:numFilesProcessed
str w1, [x0]
ldr x0, [sp, 72]
ldr x0, [x0]
bl testf
b .L2005
.L2018:
nop
.L2005:
ldr x0, [sp, 72]
ldr x0, [x0, 8]
str x0, [sp, 72]
.L2003:
ldr x0, [sp, 72]
cmp x0, 0
bne .L2007
.L2002:
adrp x0, testFailsExist
add x0, x0, :lo12:testFailsExist
ldrb w0, [x0]
cmp w0, 0
beq .L1987
adrp x0, noisy
add x0, x0, :lo12:noisy
ldrb w0, [x0]
cmp w0, 0
beq .L1987
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 112
mov x1, 1
adrp x0, .LC142
add x0, x0, :lo12:.LC142
bl fwrite
mov w0, 2
bl setExit
adrp x0, exitValue
add x0, x0, :lo12:exitValue
ldr w0, [x0]
bl exit
.L1987:
ldr x0, [sp, 56]
str x0, [sp, 72]
b .L2008
.L2010:
ldr x0, [sp, 72]
ldr x0, [x0, 8]
str x0, [sp, 80]
ldr x0, [sp, 72]
ldr x0, [x0]
cmp x0, 0
beq .L2009
ldr x0, [sp, 72]
ldr x0, [x0]
bl free
.L2009:
ldr x0, [sp, 72]
bl free
ldr x0, [sp, 80]
str x0, [sp, 72]
.L2008:
ldr x0, [sp, 72]
cmp x0, 0
bne .L2010
adrp x0, exitValue
add x0, x0, :lo12:exitValue
ldr w0, [x0]
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 .L2012
bl __stack_chk_fail
.L2012:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE111:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global vars
.bss
.align 3
.type vars, %object
.size vars, 12
vars:
.zero 12
.global atom_1_r1_1
.align 2
.type atom_1_r1_1, %object
.size atom_1_r1_1, 4
atom_1_r1_1:
.zero 4
.text
.align 2
.global t0
.type t0, %function
t0:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
.L2:
adrp x0, vars
add x0, x0, :lo12:vars
str x0, [sp, 40]
mov w0, 2
str w0, [sp, 36]
ldr w0, [sp, 36]
mov w1, w0
ldr x0, [sp, 40]
stlr w1, [x0]
adrp x0, vars+4
add x0, x0, :lo12:vars+4
str x0, [sp, 48]
mov w0, 1
str w0, [sp, 36]
ldr w0, [sp, 36]
mov w1, w0
ldr x0, [sp, 48]
stlr w1, [x0]
mov x0, 0
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L4
bl __stack_chk_fail
.L4:
mov x0, x1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size t0, .-t0
.align 2
.global t1
.type t1, %function
t1:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
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, 120]
mov x1, 0
.L6:
adrp x0, vars+4
add x0, x0, :lo12:vars+4
str x0, [sp, 72]
ldr x0, [sp, 72]
ldar w0, [x0]
str w0, [sp, 36]
ldr w0, [sp, 36]
str w0, [sp, 40]
adrp x0, vars+4
add x0, x0, :lo12:vars+4
str x0, [sp, 80]
ldr x0, [sp, 80]
ldar w0, [x0]
str w0, [sp, 36]
ldr w0, [sp, 36]
str w0, [sp, 44]
str wzr, [sp, 48]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 52]
adrp x0, vars+8
add x0, x0, :lo12:vars+8
str x0, [sp, 88]
ldr w0, [sp, 52]
str w0, [sp, 36]
ldr w0, [sp, 36]
mov w1, w0
ldr x0, [sp, 88]
stlr w1, [x0]
adrp x0, vars+8
add x0, x0, :lo12:vars+8
str x0, [sp, 96]
ldr x0, [sp, 96]
ldar w0, [x0]
str w0, [sp, 36]
ldr w0, [sp, 36]
str w0, [sp, 56]
str wzr, [sp, 60]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 64]
adrp x0, vars
add x0, x0, :lo12:vars
str x0, [sp, 104]
ldr w0, [sp, 64]
str w0, [sp, 36]
ldr w0, [sp, 36]
mov w1, w0
ldr x0, [sp, 104]
stlr w1, [x0]
ldr w0, [sp, 40]
cmp w0, 1
cset w0, eq
and w0, w0, 255
str w0, [sp, 68]
adrp x0, atom_1_r1_1
add x0, x0, :lo12:atom_1_r1_1
str x0, [sp, 112]
ldr w0, [sp, 68]
str w0, [sp, 36]
ldr w0, [sp, 36]
mov w1, w0
ldr x0, [sp, 112]
stlr w1, [x0]
mov x0, 0
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 120]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L8
bl __stack_chk_fail
.L8:
mov x0, x1
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size t1, .-t1
.section .rodata
.align 3
.LC0:
.string "program.c"
.align 3
.LC1:
.string "0"
.text
.align 2
.global main
.type main, %function
main:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
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, 120]
mov x1, 0
adrp x0, vars
add x0, x0, :lo12:vars
str x0, [sp, 72]
str wzr, [sp, 64]
ldr w0, [sp, 64]
mov w1, w0
ldr x0, [sp, 72]
str w1, [x0]
adrp x0, vars+4
add x0, x0, :lo12:vars+4
str x0, [sp, 80]
str wzr, [sp, 64]
ldr w0, [sp, 64]
mov w1, w0
ldr x0, [sp, 80]
str w1, [x0]
adrp x0, vars+8
add x0, x0, :lo12:vars+8
str x0, [sp, 88]
str wzr, [sp, 64]
ldr w0, [sp, 64]
mov w1, w0
ldr x0, [sp, 88]
str w1, [x0]
adrp x0, atom_1_r1_1
add x0, x0, :lo12:atom_1_r1_1
str x0, [sp, 96]
str wzr, [sp, 64]
ldr w0, [sp, 64]
mov w1, w0
ldr x0, [sp, 96]
str w1, [x0]
add x4, sp, 56
mov x3, 0
adrp x0, t0
add x2, x0, :lo12:t0
mov x1, 0
mov x0, x4
bl pthread_create
add x4, sp, 64
mov x3, 0
adrp x0, t1
add x2, x0, :lo12:t1
mov x1, 0
mov x0, x4
bl pthread_create
ldr x0, [sp, 56]
mov x1, 0
bl pthread_join
ldr x0, [sp, 64]
mov x1, 0
bl pthread_join
adrp x0, vars
add x0, x0, :lo12:vars
str x0, [sp, 104]
ldr x0, [sp, 104]
ldar w0, [x0]
str w0, [sp, 36]
ldr w0, [sp, 36]
str w0, [sp, 40]
ldr w0, [sp, 40]
cmp w0, 2
cset w0, eq
and w0, w0, 255
str w0, [sp, 44]
adrp x0, atom_1_r1_1
add x0, x0, :lo12:atom_1_r1_1
str x0, [sp, 112]
ldr x0, [sp, 112]
ldar w0, [x0]
str w0, [sp, 36]
ldr w0, [sp, 36]
str w0, [sp, 48]
ldr w1, [sp, 44]
ldr w0, [sp, 48]
and w0, w1, w0
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 1
bne .L10
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 55
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __assert_fail
.L10:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 120]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L12
bl __stack_chk_fail
.L12:
mov w0, w1
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size main, .-main
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.0, %object
.size __PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
.string "main"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global loop_which_iterates_limit_times_not_widened
.type loop_which_iterates_limit_times_not_widened, %function
loop_which_iterates_limit_times_not_widened:
.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, 1
str w0, [sp, 28]
str wzr, [sp, 24]
b .L2
.L3:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L2:
ldr w0, [sp, 24]
cmp w0, 0
ble .L3
ldr w0, [sp, 28]
cmp w0, 1
cset w0, eq
and w0, w0, 255
bl clang_analyzer_eval
str wzr, [sp, 24]
b .L4
.L5:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L4:
ldr w0, [sp, 24]
cmp w0, 1
ble .L5
ldr w0, [sp, 28]
cmp w0, 1
cset w0, eq
and w0, w0, 255
bl clang_analyzer_eval
str wzr, [sp, 24]
b .L6
.L7:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L6:
ldr w0, [sp, 24]
cmp w0, 2
ble .L7
ldr w0, [sp, 28]
cmp w0, 1
cset w0, eq
and w0, w0, 255
bl clang_analyzer_eval
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size loop_which_iterates_limit_times_not_widened, .-loop_which_iterates_limit_times_not_widened
.global a_global
.bss
.align 2
.type a_global, %object
.size a_global, 4
a_global:
.zero 4
.text
.align 2
.global loop_evaluated_before_widening
.type loop_evaluated_before_widening, %function
loop_evaluated_before_widening:
.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, a_global
add x0, x0, :lo12:a_global
mov w1, 1
str w1, [x0]
str wzr, [sp, 28]
b .L9
.L11:
ldr w0, [sp, 28]
cmp w0, 2
bne .L10
adrp x0, a_global
add x0, x0, :lo12:a_global
ldr w0, [x0]
cmp w0, 1
cset w0, eq
and w0, w0, 255
bl clang_analyzer_eval
.L10:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L9:
ldr w0, [sp, 28]
cmp w0, 9
ble .L11
bl clang_analyzer_warnIfReached
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size loop_evaluated_before_widening, .-loop_evaluated_before_widening
.align 2
.global warnings_after_loop
.type warnings_after_loop, %function
warnings_after_loop:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 20]
b .L13
.L14:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L13:
ldr w0, [sp, 20]
cmp w0, 9
ble .L14
mov x0, 12
bl malloc
str x0, [sp, 24]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size warnings_after_loop, .-warnings_after_loop
.align 2
.global for_loop_exits
.type for_loop_exits, %function
for_loop_exits:
.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 wzr, [sp, 28]
b .L16
.L17:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L16:
ldr w0, [sp, 28]
cmp w0, 9
ble .L17
bl clang_analyzer_warnIfReached
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size for_loop_exits, .-for_loop_exits
.align 2
.global while_loop_exits
.type while_loop_exits, %function
while_loop_exits:
.LFB4:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 28]
b .L19
.L20:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L19:
ldr w0, [sp, 28]
cmp w0, 9
ble .L20
bl clang_analyzer_warnIfReached
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size while_loop_exits, .-while_loop_exits
.align 2
.global do_while_loop_exits
.type do_while_loop_exits, %function
do_while_loop_exits:
.LFB5:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 28]
.L22:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 9
ble .L22
bl clang_analyzer_warnIfReached
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size do_while_loop_exits, .-do_while_loop_exits
.align 2
.global loop_body_is_widened
.type loop_body_is_widened, %function
loop_body_is_widened:
.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, 28]
b .L24
.L26:
ldr w0, [sp, 28]
cmp w0, 10
ble .L25
bl clang_analyzer_warnIfReached
.L25:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L24:
ldr w0, [sp, 28]
cmp w0, 99
ble .L26
bl clang_analyzer_warnIfReached
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size loop_body_is_widened, .-loop_body_is_widened
.align 2
.global invariably_infinite_loop
.type invariably_infinite_loop, %function
invariably_infinite_loop:
.LFB7:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 12]
.L28:
ldr w0, [sp, 12]
add w0, w0, 1
str w0, [sp, 12]
b .L28
.cfi_endproc
.LFE7:
.size invariably_infinite_loop, .-invariably_infinite_loop
.align 2
.global invariably_infinite_break_loop
.type invariably_infinite_break_loop, %function
invariably_infinite_break_loop:
.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 wzr, [sp, 24]
.L32:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
mov w0, 1
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
beq .L34
b .L32
.L34:
nop
bl clang_analyzer_warnIfReached
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size invariably_infinite_break_loop, .-invariably_infinite_break_loop
.align 2
.global reachable_break_loop
.type reachable_break_loop, %function
reachable_break_loop:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 28]
.L38:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 100
beq .L40
b .L38
.L40:
nop
bl clang_analyzer_warnIfReached
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size reachable_break_loop, .-reachable_break_loop
.align 2
.global condition_constrained_true_in_loop
.type condition_constrained_true_in_loop, %function
condition_constrained_true_in_loop:
.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 wzr, [sp, 28]
b .L42
.L43:
ldr w0, [sp, 28]
cmp w0, 49
cset w0, le
and w0, w0, 255
bl clang_analyzer_eval
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L42:
ldr w0, [sp, 28]
cmp w0, 49
ble .L43
bl clang_analyzer_warnIfReached
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size condition_constrained_true_in_loop, .-condition_constrained_true_in_loop
.align 2
.global condition_constrained_false_after_loop
.type condition_constrained_false_after_loop, %function
condition_constrained_false_after_loop:
.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 wzr, [sp, 28]
b .L45
.L46:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L45:
ldr w0, [sp, 28]
cmp w0, 49
ble .L46
ldr w0, [sp, 28]
cmp w0, 49
cset w0, gt
and w0, w0, 255
bl clang_analyzer_eval
bl clang_analyzer_warnIfReached
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size condition_constrained_false_after_loop, .-condition_constrained_false_after_loop
.align 2
.global multiple_exit_test
.type multiple_exit_test, %function
multiple_exit_test:
.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 wzr, [sp, 28]
str wzr, [sp, 24]
b .L48
.L51:
ldr w0, [sp, 28]
cmp w0, 0
beq .L49
mov w0, 10
str w0, [sp, 24]
b .L50
.L49:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L48:
ldr w0, [sp, 24]
cmp w0, 49
ble .L51
.L50:
ldr w0, [sp, 24]
cmp w0, 50
bne .L52
bl clang_analyzer_warnIfReached
.L52:
ldr w0, [sp, 24]
cmp w0, 10
bne .L53
bl clang_analyzer_warnIfReached
.L53:
ldr w0, [sp, 24]
cmp w0, 9
bgt .L54
bl clang_analyzer_warnIfReached
.L54:
ldr w0, [sp, 24]
cmp w0, 10
ble .L56
ldr w0, [sp, 24]
cmp w0, 49
bgt .L56
bl clang_analyzer_warnIfReached
.L56:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size multiple_exit_test, .-multiple_exit_test
.align 2
.global pointer_doesnt_leak_from_loop
.type pointer_doesnt_leak_from_loop, %function
pointer_doesnt_leak_from_loop:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 4
bl malloc
str x0, [sp, 24]
str wzr, [sp, 16]
b .L58
.L59:
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L58:
ldr w0, [sp, 16]
cmp w0, 1
ble .L59
str wzr, [sp, 20]
b .L60
.L61:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L60:
ldr w0, [sp, 20]
cmp w0, 9
ble .L61
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
.LFE13:
.size pointer_doesnt_leak_from_loop, .-pointer_doesnt_leak_from_loop
.global g_global
.bss
.align 2
.type g_global, %object
.size g_global, 4
g_global:
.zero 4
.text
.align 2
.global unknown_after_loop
.type unknown_after_loop, %function
unknown_after_loop:
.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 w0, [sp, 28]
adrp x0, g_global
add x0, x0, :lo12:g_global
str wzr, [x0]
mov w0, 1
str w0, [sp, 28]
mov w0, 2
str w0, [sp, 36]
mov x0, 4
bl malloc
str x0, [sp, 40]
str wzr, [sp, 32]
b .L63
.L64:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L63:
ldr w0, [sp, 32]
cmp w0, 9
ble .L64
adrp x0, g_global
add x0, x0, :lo12:g_global
ldr w0, [x0]
bl clang_analyzer_eval
ldr w0, [sp, 28]
bl clang_analyzer_eval
ldr w0, [sp, 36]
bl clang_analyzer_eval
ldr x0, [sp, 40]
cmp x0, 0
cset w0, eq
and w0, w0, 255
bl clang_analyzer_eval
ldr x0, [sp, 40]
bl free
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size unknown_after_loop, .-unknown_after_loop
.align 2
.global variable_bound_exiting_loops_widened
.type variable_bound_exiting_loops_widened, %function
variable_bound_exiting_loops_widened:
.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 w0, [sp, 28]
str wzr, [sp, 40]
mov w0, 1
str w0, [sp, 44]
b .L66
.L67:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L66:
ldr w1, [sp, 40]
ldr w0, [sp, 28]
cmp w1, w0
blt .L67
ldr w0, [sp, 44]
cmp w0, 1
cset w0, eq
and w0, w0, 255
bl clang_analyzer_eval
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size variable_bound_exiting_loops_widened, .-variable_bound_exiting_loops_widened
.align 2
.global nested_loop_outer_widen
.type nested_loop_outer_widen, %function
nested_loop_outer_widen:
.LFB16:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 24]
str wzr, [sp, 28]
str wzr, [sp, 24]
b .L69
.L72:
ldr w0, [sp, 24]
cmp w0, 9
cset w0, le
and w0, w0, 255
bl clang_analyzer_eval
str wzr, [sp, 28]
b .L70
.L71:
ldr w0, [sp, 28]
cmp w0, 1
cset w0, le
and w0, w0, 255
bl clang_analyzer_eval
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L70:
ldr w0, [sp, 28]
cmp w0, 1
ble .L71
ldr w0, [sp, 28]
cmp w0, 1
cset w0, gt
and w0, w0, 255
bl clang_analyzer_eval
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L69:
ldr w0, [sp, 24]
cmp w0, 9
ble .L72
ldr w0, [sp, 24]
cmp w0, 9
cset w0, gt
and w0, w0, 255
bl clang_analyzer_eval
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size nested_loop_outer_widen, .-nested_loop_outer_widen
.align 2
.global nested_loop_inner_widen
.type nested_loop_inner_widen, %function
nested_loop_inner_widen:
.LFB17:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 24]
str wzr, [sp, 28]
str wzr, [sp, 24]
b .L74
.L77:
ldr w0, [sp, 24]
cmp w0, 1
cset w0, le
and w0, w0, 255
bl clang_analyzer_eval
str wzr, [sp, 28]
b .L75
.L76:
ldr w0, [sp, 28]
cmp w0, 9
cset w0, le
and w0, w0, 255
bl clang_analyzer_eval
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L75:
ldr w0, [sp, 28]
cmp w0, 9
ble .L76
ldr w0, [sp, 28]
cmp w0, 9
cset w0, gt
and w0, w0, 255
bl clang_analyzer_eval
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L74:
ldr w0, [sp, 24]
cmp w0, 1
ble .L77
ldr w0, [sp, 24]
cmp w0, 1
cset w0, gt
and w0, w0, 255
bl clang_analyzer_eval
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size nested_loop_inner_widen, .-nested_loop_inner_widen
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global input
.bss
.align 3
.type input, %object
.size input, 16777216
input:
.zero 16777216
.global output
.align 3
.type output, %object
.size output, 16777216
output:
.zero 16777216
.global golden
.align 3
.type golden, %object
.size golden, 16777216
golden:
.zero 16777216
.section .rodata
.align 3
.LC0:
.string "r"
.align 3
.LC1:
.string "input.grey"
.align 3
.LC2:
.string "File input.grey not found"
.align 3
.LC3:
.string "wb"
.align 3
.LC4:
.string "output_sobel.grey"
.align 3
.LC5:
.string "File output_sobel.grey could not be created"
.align 3
.LC6:
.string "golden.grey"
.align 3
.LC7:
.string "File golden.grey not found"
.align 3
.LC8:
.string "Total time = %10g seconds\n"
.text
.align 2
.global sobel
.type sobel, %function
sobel:
.LFB6:
.cfi_startproc
mov x12, 65216
sub sp, sp, x12
.cfi_def_cfa_offset 65216
str xzr, [sp, 1024]
stp x29, x30, [sp]
.cfi_offset 29, -65216
.cfi_offset 30, -65208
mov x29, sp
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
str x23, [sp, 48]
str d8, [sp, 56]
.cfi_offset 19, -65200
.cfi_offset 20, -65192
.cfi_offset 21, -65184
.cfi_offset 22, -65176
.cfi_offset 23, -65168
.cfi_offset 72, -65160
str x0, [sp, 88]
str x1, [sp, 80]
str x2, [sp, 72]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x1, sp, 49152
ldr x2, [x0]
str x2, [x1, 16056]
mov x2, 0
movi d8, #0
mov w0, 4097
str w0, [sp, 108]
mov w0, 4095
str w0, [sp, 112]
ldr w0, [sp, 112]
lsl w0, w0, 12
str w0, [sp, 116]
mov w19, 0
b .L2
.L3:
ucvtf d0, w19
bl sqrt
fcvtzs w0, d0
and w2, w0, 255
uxtw x0, w19
add x1, sp, 176
strb w2, [x1, x0]
add w19, w19, 1
.L2:
mov w0, 65024
cmp w19, w0
bls .L3
mov x2, 4096
mov w1, 0
ldr x0, [sp, 80]
bl memset
ldr x0, [sp, 80]
add x0, x0, 16773120
mov x2, 4096
mov w1, 0
bl memset
mov w19, 1
b .L4
.L5:
lsl w0, w19, 12
uxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
strb wzr, [x0]
add w0, w19, 1
lsl w0, w0, 12
sub w0, w0, #1
uxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
strb wzr, [x0]
add w19, w19, 1
.L4:
cmp w19, 4094
bls .L5
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fopen
str x0, [sp, 120]
ldr x0, [sp, 120]
cmp x0, 0
bne .L6
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
mov w0, 1
bl exit
.L6:
adrp x0, .LC3
add x1, x0, :lo12:.LC3
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl fopen
str x0, [sp, 128]
ldr x0, [sp, 128]
cmp x0, 0
bne .L7
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
ldr x0, [sp, 120]
bl fclose
mov w0, 1
bl exit
.L7:
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl fopen
str x0, [sp, 136]
ldr x0, [sp, 136]
cmp x0, 0
bne .L8
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
ldr x0, [sp, 120]
bl fclose
ldr x0, [sp, 128]
bl fclose
mov w0, 1
bl exit
.L8:
ldr x3, [sp, 120]
mov x2, 16777216
mov x1, 1
ldr x0, [sp, 88]
bl fread
ldr x3, [sp, 136]
mov x2, 16777216
mov x1, 1
ldr x0, [sp, 72]
bl fread
ldr x0, [sp, 120]
bl fclose
ldr x0, [sp, 136]
bl fclose
add x0, sp, 144
mov x1, x0
mov w0, 4
bl clock_gettime
mov w20, 1
b .L9
.L14:
mov w19, 4096
b .L10
.L13:
add w1, w19, w20
ldr w0, [sp, 108]
sub w0, w1, w0
uxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
ldrb w0, [x0]
mov w2, w0
add w1, w19, w20
ldr w0, [sp, 108]
add w0, w1, w0
uxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
ldrb w0, [x0]
sub w23, w2, w0
add w1, w19, w20
ldr w0, [sp, 112]
sub w0, w1, w0
uxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
ldrb w0, [x0]
mov w2, w0
add w1, w19, w20
ldr w0, [sp, 112]
add w0, w1, w0
uxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
ldrb w0, [x0]
sub w21, w2, w0
sub w1, w21, w23
add w0, w19, w20
sub w0, w0, #1
uxtw x0, w0
ldr x2, [sp, 88]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 1
sub w1, w1, w0
add w0, w19, w20
add w0, w0, 1
uxtw x0, w0
ldr x2, [sp, 88]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 1
add w22, w1, w0
add w1, w23, w21
add w0, w19, w20
sub w0, w0, #4096
uxtw x0, w0
ldr x2, [sp, 88]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 1
add w1, w1, w0
add w0, w19, w20
add w0, w0, 4096
uxtw x0, w0
ldr x2, [sp, 88]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 1
sub w21, w1, w0
mul w1, w22, w22
mul w0, w21, w21
add w0, w1, w0
mov w21, w0
mov w0, 65025
cmp w21, w0
bls .L11
add w0, w19, w20
uxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
mov w1, -1
strb w1, [x0]
b .L12
.L11:
add w0, w19, w20
uxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
uxtw x1, w21
add x2, sp, 176
ldrb w1, [x2, x1]
strb w1, [x0]
.L12:
add w19, w19, 4096
.L10:
ldr w0, [sp, 116]
cmp w19, w0
bcc .L13
add w20, w20, 1
.L9:
ldr w0, [sp, 112]
cmp w20, w0
bcc .L14
mov w19, 4096
b .L15
.L18:
mov w20, 1
b .L16
.L17:
add w0, w19, w20
uxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
ldrb w0, [x0]
mov w2, w0
add w0, w19, w20
uxtw x0, w0
ldr x1, [sp, 72]
add x0, x1, x0
ldrb w0, [x0]
sub w21, w2, w0
mul w0, w21, w21
scvtf d0, w0
fadd d8, d8, d0
add w20, w20, 1
.L16:
ldr w0, [sp, 112]
cmp w20, w0
bcc .L17
add w19, w19, 4096
.L15:
ldr w0, [sp, 116]
cmp w19, w0
bcc .L18
mov x0, 4715268809856909312
fmov d0, x0
fdiv d0, d0, d8
bl log10
fmov d8, d0
mov x0, 4631952216750555136
fmov d0, x0
fadd d0, d8, d0
fadd d0, d8, d0
fadd d0, d8, d0
fadd d0, d8, d0
fadd d0, d8, d0
fadd d0, d8, d0
fadd d0, d8, d0
fadd d0, d8, d0
fadd d0, d8, d0
fadd d8, d8, d0
add x0, sp, 160
mov x1, x0
mov w0, 4
bl clock_gettime
ldr x1, [sp, 168]
ldr x0, [sp, 152]
sub x0, x1, x0
fmov d0, x0
scvtf d0, d0
mov x0, 225833675390976
movk x0, 0x41cd, lsl 48
fmov d1, x0
fdiv d1, d0, d1
ldr x1, [sp, 160]
ldr x0, [sp, 144]
sub x0, x1, x0
fmov d0, x0
scvtf d0, d0
fadd d0, d1, d0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
ldr x3, [sp, 128]
mov x2, 16777216
mov x1, 1
ldr x0, [sp, 80]
bl fwrite
ldr x0, [sp, 128]
bl fclose
fmov d0, d8
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x2, sp, 49152
ldr x3, [x2, 16056]
ldr x1, [x0]
subs x3, x3, x1
mov x1, 0
beq .L20
bl __stack_chk_fail
.L20:
ldr d8, [sp, 56]
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldr x23, [sp, 48]
ldp x29, x30, [sp]
mov x12, 65216
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_restore 23
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size sobel, .-sobel
.section .rodata
.align 3
.LC9:
.string "PSNR of original Sobel and computed Sobel image: %g\n"
.align 3
.LC10:
.string "A visualization of the sobel filter can be found at output_sobel.grey, or you can run 'make image' to get the jpg"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, golden
add x2, x0, :lo12:golden
adrp x0, output
add x1, x0, :lo12:output
adrp x0, input
add x0, x0, :lo12:input
bl sobel
str d0, [sp, 40]
ldr d0, [sp, 40]
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl puts
mov w0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global f
.type f, %function
f:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
cmp w0, 0
cset w0, gt
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 12]
lsr w0, w0, 31
and w0, w0, 255
sub w0, w1, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size f, .-f
.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
mov w0, -1
bl f
cmn w0, #1
beq .L4
bl abort
.L4:
mov w0, 1
bl f
cmp w0, 1
beq .L5
bl abort
.L5:
mov w0, 0
bl f
cmp w0, 0
beq .L6
bl abort
.L6:
mov w0, 0
bl exit
.cfi_endproc
.LFE1:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global test
.type test, %function
test:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
ldr w0, [sp, 28]
cmp w0, 0
bge .L2
ldr w0, [sp, 24]
cmp w0, 0
ble .L2
mov w0, 1
bl hash
mov w0, 0
bl hash
.L2:
ldr w0, [sp, 28]
cmp w0, 0
blt .L3
ldr w0, [sp, 24]
cmp w0, 0
ble .L3
mov w0, 1
bl hash
mov w0, 0
bl hash
.L3:
ldr w0, [sp, 28]
cmp w0, 0
ble .L4
ldr w0, [sp, 24]
cmp w0, 1
ble .L4
str wzr, [sp, 44]
b .L5
.L6:
mov w0, 2
bl hash
mov w0, 0
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L5:
ldr w1, [sp, 28]
ldr w0, [sp, 44]
cmp w1, w0
bgt .L6
mov w0, 3
bl hash
mov w0, 0
bl hash
str wzr, [sp, 44]
b .L7
.L8:
mov w0, 4
bl hash
mov w0, 0
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L7:
ldr w1, [sp, 28]
ldr w0, [sp, 44]
cmp w1, w0
bgt .L8
mov w0, 10
bl hash
mov w0, 0
bl hash
mov w0, 1
bl hash
mov w0, 1
bl hash
mov w0, 5
bl hash
mov w0, 0
bl hash
.L4:
ldr w0, [sp, 28]
cmp w0, 0
bgt .L9
ldr w0, [sp, 24]
cmp w0, 1
ble .L9
mov w0, 3
bl hash
mov w0, 0
bl hash
mov w0, 10
bl hash
mov w0, 0
bl hash
mov w0, 1
bl hash
mov w0, 1
bl hash
mov w0, 5
bl hash
mov w0, 0
bl hash
.L9:
ldr w0, [sp, 28]
cmp w0, 0
ble .L10
ldr w0, [sp, 24]
cmp w0, 1
bne .L10
str wzr, [sp, 44]
b .L11
.L12:
mov w0, 2
bl hash
mov w0, 0
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L11:
ldr w1, [sp, 28]
ldr w0, [sp, 44]
cmp w1, w0
bgt .L12
mov w0, 3
bl hash
mov w0, 0
bl hash
str wzr, [sp, 44]
b .L13
.L14:
mov w0, 4
bl hash
mov w0, 0
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L13:
ldr w1, [sp, 28]
ldr w0, [sp, 44]
cmp w1, w0
bgt .L14
mov w0, 10
bl hash
mov w0, 0
bl hash
mov w0, 5
bl hash
mov w0, 0
bl hash
.L10:
ldr w0, [sp, 28]
cmp w0, 0
bgt .L15
ldr w0, [sp, 24]
cmp w0, 1
bne .L15
mov w0, 3
bl hash
mov w0, 0
bl hash
mov w0, 10
bl hash
mov w0, 0
bl hash
mov w0, 5
bl hash
mov w0, 0
bl hash
.L15:
mov w0, 2
str w0, [sp, 40]
b .L16
.L29:
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 44]
b .L17
.L22:
ldr w0, [sp, 40]
sub w0, w0, #2
str w0, [sp, 52]
mov w0, 6
bl hash
ldr w0, [sp, 40]
sub w0, w0, #2
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 40]
sub w0, w0, #2
str w0, [sp, 48]
b .L18
.L19:
ldr w0, [sp, 40]
sub w0, w0, #2
str w0, [sp, 52]
mov w0, 7
bl hash
ldr w0, [sp, 40]
sub w0, w0, #2
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 48]
bl hash
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L18:
ldr w1, [sp, 28]
ldr w0, [sp, 48]
cmp w1, w0
bgt .L19
ldr w0, [sp, 40]
sub w0, w0, #2
str w0, [sp, 52]
mov w0, 8
bl hash
ldr w0, [sp, 40]
sub w0, w0, #2
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 40]
sub w0, w0, #2
str w0, [sp, 48]
b .L20
.L21:
ldr w0, [sp, 40]
sub w0, w0, #2
str w0, [sp, 52]
mov w0, 9
bl hash
ldr w0, [sp, 40]
sub w0, w0, #2
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 48]
bl hash
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L20:
ldr w1, [sp, 28]
ldr w0, [sp, 48]
cmp w1, w0
bgt .L21
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L17:
ldr w1, [sp, 24]
ldr w0, [sp, 44]
cmp w1, w0
bgt .L22
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 44]
b .L23
.L24:
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 2
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L23:
ldr w1, [sp, 28]
ldr w0, [sp, 44]
cmp w1, w0
bgt .L24
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 3
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 44]
b .L25
.L26:
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 4
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L25:
ldr w1, [sp, 28]
ldr w0, [sp, 44]
cmp w1, w0
bgt .L26
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 10
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
bl hash
mov w0, 1
bl hash
ldr w0, [sp, 40]
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 5
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
bl hash
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L16:
ldr w1, [sp, 24]
ldr w0, [sp, 28]
cmp w1, w0
bgt .L27
ldr w0, [sp, 24]
sub w0, w0, #1
b .L28
.L27:
ldr w0, [sp, 28]
.L28:
ldr w1, [sp, 40]
cmp w0, w1
bge .L29
ldr w0, [sp, 28]
cmp w0, 0
ble .L30
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 28]
cmp w1, w0
bge .L30
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 28]
str w0, [sp, 44]
b .L31
.L32:
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 6
bl hash
ldr w0, [sp, 28]
sub w0, w0, #1
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 48]
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 52]
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 56]
mov w0, 7
bl hash
ldr w0, [sp, 28]
sub w0, w0, #1
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 28]
sub w0, w0, #1
bl hash
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 8
bl hash
ldr w0, [sp, 28]
sub w0, w0, #1
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 48]
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 52]
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 56]
mov w0, 9
bl hash
ldr w0, [sp, 28]
sub w0, w0, #1
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 28]
sub w0, w0, #1
bl hash
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L31:
ldr w1, [sp, 24]
ldr w0, [sp, 44]
cmp w1, w0
bgt .L32
mov w0, 3
bl hash
ldr w0, [sp, 28]
bl hash
mov w0, 10
bl hash
ldr w0, [sp, 28]
bl hash
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 52]
mov w0, 1
bl hash
ldr w0, [sp, 28]
add w0, w0, 1
bl hash
mov w0, 5
bl hash
ldr w0, [sp, 28]
bl hash
.L30:
ldr w1, [sp, 28]
ldr w0, [sp, 24]
cmp w1, w0
blt .L33
ldr w0, [sp, 24]
cmp w0, 1
ble .L33
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 44]
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 52]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 60]
mov w0, 6
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 48]
b .L34
.L35:
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 52]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 60]
mov w0, 7
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 48]
bl hash
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L34:
ldr w1, [sp, 28]
ldr w0, [sp, 48]
cmp w1, w0
bgt .L35
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 52]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 60]
mov w0, 8
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 48]
b .L36
.L37:
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 52]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 60]
mov w0, 9
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 48]
bl hash
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L36:
ldr w1, [sp, 28]
ldr w0, [sp, 48]
cmp w1, w0
bgt .L37
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 44]
b .L38
.L39:
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L38:
ldr w1, [sp, 28]
ldr w0, [sp, 44]
cmp w1, w0
bgt .L39
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 3
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 44]
b .L40
.L41:
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 4
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L40:
ldr w1, [sp, 28]
ldr w0, [sp, 44]
cmp w1, w0
bgt .L41
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 10
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 5
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
.L33:
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 28]
cmp w1, w0
bne .L42
ldr w0, [sp, 24]
cmp w0, 1
ble .L42
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 44]
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 52]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 60]
mov w0, 6
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 48]
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 52]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 60]
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 56]
mov w0, 7
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 52]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 60]
mov w0, 8
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 48]
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 52]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 60]
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 56]
mov w0, 9
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 3
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 10
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 5
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
.L42:
ldr w1, [sp, 28]
ldr w0, [sp, 28]
mov w2, 0
cmp w1, 0
csel w0, w0, w2, ge
add w0, w0, 2
str w0, [sp, 40]
b .L43
.L46:
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 44]
b .L44
.L45:
ldr w0, [sp, 40]
sub w0, w0, #2
str w0, [sp, 52]
mov w0, 6
bl hash
ldr w0, [sp, 40]
sub w0, w0, #2
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 40]
sub w0, w0, #2
str w0, [sp, 52]
mov w0, 8
bl hash
ldr w0, [sp, 40]
sub w0, w0, #2
bl hash
ldr w0, [sp, 44]
bl hash
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L44:
ldr w1, [sp, 24]
ldr w0, [sp, 44]
cmp w1, w0
bgt .L45
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 3
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 10
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
bl hash
mov w0, 1
bl hash
ldr w0, [sp, 40]
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 5
bl hash
ldr w0, [sp, 40]
sub w0, w0, #1
bl hash
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L43:
ldr w1, [sp, 24]
ldr w0, [sp, 40]
cmp w1, w0
bgt .L46
ldr w0, [sp, 24]
sub w0, w0, #1
ldr w1, [sp, 28]
cmp w1, w0
bge .L48
ldr w0, [sp, 24]
cmp w0, 1
ble .L48
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 44]
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 52]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 60]
mov w0, 6
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
str w0, [sp, 52]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 60]
mov w0, 8
bl hash
ldr w0, [sp, 24]
sub w0, w0, #2
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 3
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 10
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 52]
mov w0, 5
bl hash
ldr w0, [sp, 24]
sub w0, w0, #1
bl hash
.L48:
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size test, .-test
``` |