text
stringlengths
197
24.1M
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global re2post .type re2post, %function re2post: .LFB6: .cfi_startproc sub sp, sp, #864 .cfi_def_cfa_offset 864 stp x29, x30, [sp] .cfi_offset 29, -864 .cfi_offset 30, -856 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, 856] mov x1, 0 add x0, sp, 56 str x0, [sp, 48] adrp x0, buf.0 add x0, x0, :lo12:buf.0 str x0, [sp, 40] str wzr, [sp, 32] str wzr, [sp, 36] ldr x0, [sp, 24] bl strlen cmp x0, 3999 bls .L4 mov x0, 0 b .L30 .L24: ldr x0, [sp, 24] ldrb w0, [x0] cmp w0, 124 beq .L5 cmp w0, 124 bgt .L6 cmp w0, 63 beq .L7 cmp w0, 63 bgt .L6 cmp w0, 43 bgt .L6 cmp w0, 42 bge .L7 cmp w0, 40 beq .L8 cmp w0, 41 beq .L9 b .L6 .L8: ldr w0, [sp, 36] cmp w0, 1 ble .L10 ldr w0, [sp, 36] sub w0, w0, #1 str w0, [sp, 36] ldr x0, [sp, 40] add x1, x0, 1 str x1, [sp, 40] mov w1, 46 strb w1, [x0] .L10: add x0, sp, 56 add x0, x0, 800 ldr x1, [sp, 48] cmp x1, x0 bcc .L11 mov x0, 0 b .L30 .L11: ldr x0, [sp, 48] ldr w1, [sp, 32] str w1, [x0] ldr x0, [sp, 48] ldr w1, [sp, 36] str w1, [x0, 4] ldr x0, [sp, 48] add x0, x0, 8 str x0, [sp, 48] str wzr, [sp, 32] str wzr, [sp, 36] b .L12 .L5: ldr w0, [sp, 36] cmp w0, 0 bne .L14 mov x0, 0 b .L30 .L15: ldr x0, [sp, 40] add x1, x0, 1 str x1, [sp, 40] mov w1, 46 strb w1, [x0] .L14: ldr w0, [sp, 36] sub w0, w0, #1 str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 0 bgt .L15 ldr w0, [sp, 32] add w0, w0, 1 str w0, [sp, 32] b .L12 .L9: add x0, sp, 56 ldr x1, [sp, 48] cmp x1, x0 bne .L16 mov x0, 0 b .L30 .L16: ldr w0, [sp, 36] cmp w0, 0 bne .L18 mov x0, 0 b .L30 .L19: ldr x0, [sp, 40] add x1, x0, 1 str x1, [sp, 40] mov w1, 46 strb w1, [x0] .L18: ldr w0, [sp, 36] sub w0, w0, #1 str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 0 bgt .L19 b .L20 .L21: ldr x0, [sp, 40] add x1, x0, 1 str x1, [sp, 40] mov w1, 124 strb w1, [x0] ldr w0, [sp, 32] sub w0, w0, #1 str w0, [sp, 32] .L20: ldr w0, [sp, 32] cmp w0, 0 bgt .L21 ldr x0, [sp, 48] sub x0, x0, #8 str x0, [sp, 48] ldr x0, [sp, 48] ldr w0, [x0] str w0, [sp, 32] ldr x0, [sp, 48] ldr w0, [x0, 4] str w0, [sp, 36] ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] b .L12 .L7: ldr w0, [sp, 36] cmp w0, 0 bne .L22 mov x0, 0 b .L30 .L22: ldr x0, [sp, 40] add x1, x0, 1 str x1, [sp, 40] ldr x1, [sp, 24] ldrb w1, [x1] strb w1, [x0] b .L12 .L6: ldr w0, [sp, 36] cmp w0, 1 ble .L23 ldr w0, [sp, 36] sub w0, w0, #1 str w0, [sp, 36] ldr x0, [sp, 40] add x1, x0, 1 str x1, [sp, 40] mov w1, 46 strb w1, [x0] .L23: ldr x0, [sp, 40] add x1, x0, 1 str x1, [sp, 40] ldr x1, [sp, 24] ldrb w1, [x1] strb w1, [x0] ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] nop .L12: ldr x0, [sp, 24] add x0, x0, 1 str x0, [sp, 24] .L4: ldr x0, [sp, 24] ldrb w0, [x0] cmp w0, 0 bne .L24 add x0, sp, 56 ldr x1, [sp, 48] cmp x1, x0 beq .L26 mov x0, 0 b .L30 .L27: ldr x0, [sp, 40] add x1, x0, 1 str x1, [sp, 40] mov w1, 46 strb w1, [x0] .L26: ldr w0, [sp, 36] sub w0, w0, #1 str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 0 bgt .L27 b .L28 .L29: ldr x0, [sp, 40] add x1, x0, 1 str x1, [sp, 40] mov w1, 124 strb w1, [x0] ldr w0, [sp, 32] sub w0, w0, #1 str w0, [sp, 32] .L28: ldr w0, [sp, 32] cmp w0, 0 bgt .L29 ldr x0, [sp, 40] strb wzr, [x0] adrp x0, buf.0 add x0, x0, :lo12:buf.0 .L30: mov x1, x0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 856] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L31 bl __stack_chk_fail .L31: mov x0, x1 ldp x29, x30, [sp] add sp, sp, 864 .cfi_restore 29 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size re2post, .-re2post .global matchstate .data .align 3 .type matchstate, %object .size matchstate, 32 matchstate: .word 256 .zero 28 .global nstate .bss .align 2 .type nstate, %object .size nstate, 4 nstate: .zero 4 .text .align 2 .global state .type state, %function state: .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, 44] str x1, [sp, 32] str x2, [sp, 24] adrp x0, nstate add x0, x0, :lo12:nstate ldr w0, [x0] add w1, w0, 1 adrp x0, nstate add x0, x0, :lo12:nstate str w1, [x0] mov x0, 32 bl malloc str x0, [sp, 56] ldr x0, [sp, 56] str wzr, [x0, 24] ldr x0, [sp, 56] ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 56] ldr x1, [sp, 32] str x1, [x0, 8] ldr x0, [sp, 56] ldr x1, [sp, 24] str x1, [x0, 16] ldr x0, [sp, 56] ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size state, .-state .align 2 .global frag .type frag, %function frag: .LFB8: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str x1, [sp] ldr x0, [sp, 8] str x0, [sp, 16] ldr x0, [sp] str x0, [sp, 24] ldp x0, x1, [sp, 16] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE8: .size frag, .-frag .align 2 .global list1 .type list1, %function list1: .LFB9: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] ldr x0, [sp, 8] str x0, [sp, 24] ldr x0, [sp, 24] str xzr, [x0] ldr x0, [sp, 24] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size list1, .-list1 .align 2 .global patch .type patch, %function patch: .LFB10: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str x1, [sp] b .L39 .L40: ldr x0, [sp, 8] ldr x0, [x0] str x0, [sp, 24] ldr x0, [sp, 8] ldr x1, [sp] str x1, [x0] ldr x0, [sp, 24] str x0, [sp, 8] .L39: ldr x0, [sp, 8] cmp x0, 0 bne .L40 nop nop add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE10: .size patch, .-patch .align 2 .global append .type append, %function append: .LFB11: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str x1, [sp] ldr x0, [sp, 8] str x0, [sp, 24] b .L42 .L43: ldr x0, [sp, 8] ldr x0, [x0] str x0, [sp, 8] .L42: ldr x0, [sp, 8] ldr x0, [x0] cmp x0, 0 bne .L43 ldr x0, [sp, 8] ldr x1, [sp] str x1, [x0] ldr x0, [sp, 24] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE11: .size append, .-append .align 2 .global post2nfa .type post2nfa, %function post2nfa: .LFB12: .cfi_startproc mov x12, 16128 sub sp, sp, x12 .cfi_def_cfa_offset 16128 stp x29, x30, [sp] .cfi_offset 29, -16128 .cfi_offset 30, -16120 mov x29, sp stp x19, x20, [sp, 16] .cfi_offset 19, -16112 .cfi_offset 20, -16104 str x0, [sp, 40] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 16120] mov x1, 0 ldr x0, [sp, 40] cmp x0, 0 bne .L46 mov x0, 0 b .L58 .L46: add x0, sp, 120 str x0, [sp, 56] ldr x0, [sp, 40] str x0, [sp, 48] b .L48 .L56: ldr x0, [sp, 48] ldrb w0, [x0] cmp w0, 124 beq .L49 cmp w0, 124 bgt .L50 cmp w0, 63 beq .L51 cmp w0, 63 bgt .L50 cmp w0, 46 beq .L52 cmp w0, 46 bgt .L50 cmp w0, 42 beq .L53 cmp w0, 43 beq .L54 .L50: ldr x0, [sp, 48] ldrb w0, [x0] mov x2, 0 mov x1, 0 bl state str x0, [sp, 64] ldr x0, [sp, 64] add x0, x0, 8 bl list1 mov x1, x0 ldr x19, [sp, 56] add x0, x19, 16 str x0, [sp, 56] ldr x0, [sp, 64] bl frag stp x0, x1, [x19] b .L55 .L52: ldr x0, [sp, 56] sub x0, x0, #16 str x0, [sp, 56] ldr x0, [sp, 56] ldp x0, x1, [x0] stp x0, x1, [sp, 88] ldr x0, [sp, 56] sub x0, x0, #16 str x0, [sp, 56] ldr x0, [sp, 56] ldp x0, x1, [x0] stp x0, x1, [sp, 72] ldr x0, [sp, 80] ldr x1, [sp, 88] bl patch ldr x2, [sp, 72] ldr x1, [sp, 96] ldr x19, [sp, 56] add x0, x19, 16 str x0, [sp, 56] mov x0, x2 bl frag stp x0, x1, [x19] b .L55 .L49: ldr x0, [sp, 56] sub x0, x0, #16 str x0, [sp, 56] ldr x0, [sp, 56] ldp x0, x1, [x0] stp x0, x1, [sp, 88] ldr x0, [sp, 56] sub x0, x0, #16 str x0, [sp, 56] ldr x0, [sp, 56] ldp x0, x1, [x0] stp x0, x1, [sp, 72] ldr x0, [sp, 72] ldr x1, [sp, 88] mov x2, x1 mov x1, x0 mov w0, 257 bl state str x0, [sp, 64] ldr x0, [sp, 80] ldr x1, [sp, 96] bl append mov x1, x0 ldr x19, [sp, 56] add x0, x19, 16 str x0, [sp, 56] ldr x0, [sp, 64] bl frag stp x0, x1, [x19] b .L55 .L51: ldr x0, [sp, 56] sub x0, x0, #16 str x0, [sp, 56] ldr x0, [sp, 56] ldp x0, x1, [x0] stp x0, x1, [sp, 104] ldr x0, [sp, 104] mov x2, 0 mov x1, x0 mov w0, 257 bl state str x0, [sp, 64] ldr x19, [sp, 112] ldr x0, [sp, 64] add x0, x0, 16 bl list1 mov x1, x0 mov x0, x19 bl append mov x1, x0 ldr x19, [sp, 56] add x0, x19, 16 str x0, [sp, 56] ldr x0, [sp, 64] bl frag stp x0, x1, [x19] b .L55 .L53: ldr x0, [sp, 56] sub x0, x0, #16 str x0, [sp, 56] ldr x0, [sp, 56] ldp x0, x1, [x0] stp x0, x1, [sp, 104] ldr x0, [sp, 104] mov x2, 0 mov x1, x0 mov w0, 257 bl state str x0, [sp, 64] ldr x0, [sp, 112] ldr x1, [sp, 64] bl patch ldr x0, [sp, 64] add x0, x0, 16 bl list1 mov x1, x0 ldr x19, [sp, 56] add x0, x19, 16 str x0, [sp, 56] ldr x0, [sp, 64] bl frag stp x0, x1, [x19] b .L55 .L54: ldr x0, [sp, 56] sub x0, x0, #16 str x0, [sp, 56] ldr x0, [sp, 56] ldp x0, x1, [x0] stp x0, x1, [sp, 104] ldr x0, [sp, 104] mov x2, 0 mov x1, x0 mov w0, 257 bl state str x0, [sp, 64] ldr x0, [sp, 112] ldr x1, [sp, 64] bl patch ldr x20, [sp, 104] ldr x0, [sp, 64] add x0, x0, 16 bl list1 mov x1, x0 ldr x19, [sp, 56] add x0, x19, 16 str x0, [sp, 56] mov x0, x20 bl frag stp x0, x1, [x19] nop .L55: ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] .L48: ldr x0, [sp, 48] ldrb w0, [x0] cmp w0, 0 bne .L56 ldr x0, [sp, 56] sub x0, x0, #16 str x0, [sp, 56] ldr x0, [sp, 56] ldp x0, x1, [x0] stp x0, x1, [sp, 104] add x0, sp, 120 ldr x1, [sp, 56] cmp x1, x0 beq .L57 mov x0, 0 b .L58 .L57: ldr x2, [sp, 112] adrp x0, matchstate add x1, x0, :lo12:matchstate mov x0, x2 bl patch ldr x0, [sp, 104] .L58: mov x1, x0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 16120] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L59 bl __stack_chk_fail .L59: mov x0, x1 ldp x19, x20, [sp, 16] ldp x29, x30, [sp] mov x12, 16128 add sp, sp, x12 .cfi_restore 29 .cfi_restore 30 .cfi_restore 19 .cfi_restore 20 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE12: .size post2nfa, .-post2nfa .global l1 .bss .align 3 .type l1, %object .size l1, 16 l1: .zero 16 .global l2 .align 3 .type l2, %object .size l2, 16 l2: .zero 16 .local listid .comm listid,4,4 .text .align 2 .global startlist .type startlist, %function startlist: .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] ldr x0, [sp, 16] str wzr, [x0, 8] adrp x0, listid add x0, x0, :lo12:listid ldr w0, [x0] add w1, w0, 1 adrp x0, listid add x0, x0, :lo12:listid str w1, [x0] ldr x1, [sp, 24] ldr x0, [sp, 16] bl addstate ldr x0, [sp, 16] ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE13: .size startlist, .-startlist .align 2 .global ismatch .type ismatch, %function ismatch: .LFB14: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str wzr, [sp, 28] b .L63 .L66: ldr x0, [sp, 8] ldr x1, [x0] ldrsw x0, [sp, 28] lsl x0, x0, 3 add x0, x1, x0 ldr x1, [x0] adrp x0, matchstate add x0, x0, :lo12:matchstate cmp x1, x0 bne .L64 mov w0, 1 b .L65 .L64: ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L63: ldr x0, [sp, 8] ldr w0, [x0, 8] ldr w1, [sp, 28] cmp w1, w0 blt .L66 mov w0, 0 .L65: add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE14: .size ismatch, .-ismatch .align 2 .global addstate .type addstate, %function addstate: .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, 16] cmp x0, 0 beq .L72 ldr x0, [sp, 16] ldr w1, [x0, 24] adrp x0, listid add x0, x0, :lo12:listid ldr w0, [x0] cmp w1, w0 beq .L72 adrp x0, listid add x0, x0, :lo12:listid ldr w1, [x0] ldr x0, [sp, 16] str w1, [x0, 24] ldr x0, [sp, 16] ldr w0, [x0] cmp w0, 257 bne .L71 ldr x0, [sp, 16] ldr x0, [x0, 8] mov x1, x0 ldr x0, [sp, 24] bl addstate ldr x0, [sp, 16] ldr x0, [x0, 16] mov x1, x0 ldr x0, [sp, 24] bl addstate b .L67 .L71: ldr x0, [sp, 24] ldr x1, [x0] ldr x0, [sp, 24] ldr w0, [x0, 8] add w3, w0, 1 ldr x2, [sp, 24] str w3, [x2, 8] sxtw x0, w0 lsl x0, x0, 3 add x0, x1, x0 ldr x1, [sp, 16] str x1, [x0] b .L67 .L72: nop .L67: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE15: .size addstate, .-addstate .align 2 .global step .type step, %function step: .LFB16: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] adrp x0, listid add x0, x0, :lo12:listid ldr w0, [x0] add w1, w0, 1 adrp x0, listid add x0, x0, :lo12:listid str w1, [x0] ldr x0, [sp, 24] str wzr, [x0, 8] str wzr, [sp, 52] b .L74 .L76: ldr x0, [sp, 40] ldr x1, [x0] ldrsw x0, [sp, 52] lsl x0, x0, 3 add x0, x1, x0 ldr x0, [x0] str x0, [sp, 56] ldr x0, [sp, 56] ldr w0, [x0] ldr w1, [sp, 36] cmp w1, w0 bne .L75 ldr x0, [sp, 56] ldr x0, [x0, 8] mov x1, x0 ldr x0, [sp, 24] bl addstate .L75: ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L74: ldr x0, [sp, 40] ldr w0, [x0, 8] ldr w1, [sp, 52] cmp w1, w0 blt .L76 nop nop ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE16: .size step, .-step .align 2 .global match .type match, %function match: .LFB17: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] adrp x0, l1 add x1, x0, :lo12:l1 ldr x0, [sp, 24] bl startlist str x0, [sp, 40] adrp x0, l2 add x0, x0, :lo12:l2 str x0, [sp, 48] b .L78 .L79: ldr x0, [sp, 16] ldrb w0, [x0] str w0, [sp, 36] ldr x2, [sp, 48] ldr w1, [sp, 36] ldr x0, [sp, 40] bl step ldr x0, [sp, 40] str x0, [sp, 56] ldr x0, [sp, 48] str x0, [sp, 40] ldr x0, [sp, 56] str x0, [sp, 48] ldr x0, [sp, 16] add x0, x0, 1 str x0, [sp, 16] .L78: ldr x0, [sp, 16] ldrb w0, [x0] cmp w0, 0 bne .L79 ldr x0, [sp, 40] bl ismatch ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE17: .size match, .-match .section .rodata .align 3 .LC0: .string "usage: nfa regexp string...\n" .align 3 .LC1: .string "Error> bad regexp %s\n" .align 3 .LC2: .string "Error> error in post2nfa %s\n" .align 3 .LC3: .string "\033[32m%s\033[0m\n" .text .align 2 .global main .type main, %function main: .LFB18: .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 w0, [sp, 28] cmp w0, 2 bgt .L82 adrp x0, :got:stderr ldr x0, [x0, #:got_lo12:stderr] ldr x0, [x0] mov x3, x0 mov x2, 28 mov x1, 1 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl fwrite mov w0, 1 b .L83 .L82: ldr x0, [sp, 16] add x0, x0, 8 ldr x0, [x0] bl re2post str x0, [sp, 48] ldr x0, [sp, 48] cmp x0, 0 bne .L84 adrp x0, :got:stdout ldr x0, [x0, #:got_lo12:stdout] ldr x3, [x0] ldr x0, [sp, 16] add x0, x0, 8 ldr x0, [x0] mov x2, x0 adrp x0, .LC1 add x1, x0, :lo12:.LC1 mov x0, x3 bl fprintf mov w0, 1 b .L83 .L84: ldr x0, [sp, 48] bl puts ldr x0, [sp, 48] bl post2nfa str x0, [sp, 56] ldr x0, [sp, 56] cmp x0, 0 bne .L85 adrp x0, :got:stdout ldr x0, [x0, #:got_lo12:stdout] ldr x3, [x0] ldr x2, [sp, 48] adrp x0, .LC2 add x1, x0, :lo12:.LC2 mov x0, x3 bl fprintf mov w0, 1 b .L83 .L85: adrp x0, nstate add x0, x0, :lo12:nstate ldr w0, [x0] sxtw x0, w0 lsl x0, x0, 3 bl malloc mov x1, x0 adrp x0, l1 add x0, x0, :lo12:l1 str x1, [x0] adrp x0, nstate add x0, x0, :lo12:nstate ldr w0, [x0] sxtw x0, w0 lsl x0, x0, 3 bl malloc mov x1, x0 adrp x0, l2 add x0, x0, :lo12:l2 str x1, [x0] mov w0, 2 str w0, [sp, 44] b .L86 .L88: ldrsw x0, [sp, 44] lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr x0, [x0] mov x1, x0 ldr x0, [sp, 56] bl match cmp w0, 0 beq .L87 ldrsw x0, [sp, 44] lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr x0, [x0] mov x1, x0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf .L87: ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L86: ldr w1, [sp, 44] ldr w0, [sp, 28] cmp w1, w0 blt .L88 mov w0, 0 .L83: ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE18: .size main, .-main .local buf.0 .comm buf.0,8000,8 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "I am a Custom Thread Function Created By Programmer." .align 3 .LC1: .string "My JOB is Done. I am now being terminated by programmer." .text .align 2 .global customThreadFunction .type customThreadFunction, %function customThreadFunction: .LFB0: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str wzr, [sp, 28] b .L2 .L4: adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl puts mov w0, 1 bl sleep ldr w0, [sp, 28] cmp w0, 3 bne .L3 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl puts mov x0, 0 bl pthread_exit .L3: ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L2: ldr w0, [sp, 28] cmp w0, 4 ble .L4 mov x0, 0 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size customThreadFunction, .-customThreadFunction .section .rodata .align 3 .LC2: .string "I am the process thread created by compiler By default." .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 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 add x4, sp, 32 mov x3, 0 adrp x0, customThreadFunction add x2, x0, :lo12:customThreadFunction mov x1, 0 mov x0, x4 bl pthread_create str wzr, [sp, 28] b .L7 .L8: adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl puts mov w0, 1 bl sleep ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L7: ldr w0, [sp, 28] cmp w0, 4 ble .L8 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 .L10 bl __stack_chk_fail .L10: mov w0, w1 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 .global a .bss .align 3 .type a, %object .size a, 8 a: .zero 8 .section .data.rel.local,"aw" .align 3 .type b, %object .size b, 8 b: .xword a .align 3 .type c, %object .size c, 8 c: .xword a+4 .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, c add x0, x0, :lo12:c ldr x0, [x0] mov w1, 1 str w1, [x0] adrp x0, b add x0, x0, :lo12:b ldr x0, [x0] str wzr, [x0] adrp x0, a add x0, x0, :lo12:a ldr w0, [x0, 4] cmp w0, 1 beq .L2 bl abort .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 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global CLSID_WICPngIccpMetadataWriter .section .rodata .align 3 .type CLSID_WICPngIccpMetadataWriter, %object .size CLSID_WICPngIccpMetadataWriter, 24 CLSID_WICPngIccpMetadataWriter: .xword 375856735 .hword 3302 .hword 19652 .ascii "\227h\350\237\345\001\212\336" .zero 4 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -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, 1026 str w0, [sp, 36] ldr w0, [sp, 36] lsl w0, w0, 2 sxtw x0, w0 add x0, x0, 1 add x1, sp, 40 add x0, x1, x0 mov w1, 65 strb w1, [x0] mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 56] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L3 bl __stack_chk_fail .L3: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .type resolve_path, %function resolve_path: .LFB6: .cfi_startproc mov x12, 4288 sub sp, sp, x12 .cfi_def_cfa_offset 4288 stp x29, x30, [sp] .cfi_offset 29, -4288 .cfi_offset 30, -4280 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, 4280] mov x1, 0 ldr x0, [sp, 40] ldrb w0, [x0] cmp w0, 47 bne .L2 ldr x0, [sp, 32] mov w1, 47 strb w1, [x0] ldr x0, [sp, 32] add x0, x0, 1 str x0, [sp, 24] ldr x0, [sp, 40] add x0, x0, 1 str x0, [sp, 40] .L2: ldr x0, [sp, 24] strb wzr, [x0] ldr x0, [sp, 40] ldrb w0, [x0] cmp w0, 0 bne .L3 mov w0, 0 b .L4 .L3: ldr x0, [sp, 40] ldrb w0, [x0] cmp w0, 0 beq .L5 mov w1, 47 ldr x0, [sp, 40] bl strchr b .L6 .L5: mov x0, 0 .L6: str x0, [sp, 48] ldr x0, [sp, 48] cmp x0, 0 beq .L7 ldr x0, [sp, 48] strb wzr, [x0] .L7: ldr x0, [sp, 40] ldrb w0, [x0] cmp w0, 0 beq .L8 ldr x0, [sp, 40] ldrb w0, [x0] cmp w0, 46 bne .L9 ldr x0, [sp, 40] add x0, x0, 1 ldrb w0, [x0] cmp w0, 0 beq .L8 ldr x0, [sp, 40] add x0, x0, 1 ldrb w0, [x0] cmp w0, 46 bne .L9 ldr x0, [sp, 40] add x0, x0, 2 ldrb w0, [x0] cmp w0, 0 bne .L9 .L8: ldr x0, [sp, 24] sub x0, x0, #1 str x0, [sp, 24] ldr x1, [sp, 24] ldr x0, [sp, 32] cmp x1, x0 beq .L23 ldr x0, [sp, 40] ldrb w0, [x0] cmp w0, 0 beq .L23 ldr x0, [sp, 40] add x0, x0, 1 ldrb w0, [x0] cmp w0, 0 beq .L23 nop .L11: ldr x0, [sp, 24] sub x0, x0, #1 str x0, [sp, 24] ldr x0, [sp, 24] ldrb w0, [x0] cmp w0, 47 bne .L11 b .L23 .L9: ldr x1, [sp, 40] ldr x0, [sp, 24] bl strcpy add x0, sp, 56 mov x1, x0 ldr x0, [sp, 32] bl lstat cmp w0, 0 bge .L13 mov w0, -1 b .L4 .L13: ldr w0, [sp, 72] and w0, w0, 61440 cmp w0, 40960 bne .L15 add x0, sp, 184 mov x2, 4096 mov x1, x0 ldr x0, [sp, 32] bl readlink cmp x0, 0 bge .L16 mov w0, -1 b .L4 .L16: ldr x0, [sp, 24] strb wzr, [x0] ldr x0, [sp, 48] cmp x0, 0 beq .L17 ldr x0, [sp, 48] mov w1, 47 strb w1, [x0] add x0, sp, 184 ldr x1, [sp, 48] bl strcat .L17: add x0, sp, 184 mov x1, x0 ldr x0, [sp, 40] bl strcpy ldr x0, [sp, 40] ldrb w0, [x0] cmp w0, 47 bne .L18 ldr x0, [sp, 32] add x0, x0, 1 strb wzr, [x0] .L18: ldr x0, [sp, 32] bl strlen mov x1, x0 ldr x0, [sp, 32] add x0, x0, x1 str x0, [sp, 24] b .L3 .L15: ldr x0, [sp, 32] bl strlen mov x1, x0 ldr x0, [sp, 32] add x0, x0, x1 str x0, [sp, 24] b .L12 .L23: nop .L12: ldr x0, [sp, 48] cmp x0, 0 beq .L20 ldr x0, [sp, 24] add x1, x0, 1 str x1, [sp, 24] mov w1, 47 strb w1, [x0] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 40] .L20: ldr x0, [sp, 24] strb wzr, [x0] ldr x0, [sp, 48] cmp x0, 0 bne .L3 mov w0, 0 .L4: mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 4280] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L22 bl __stack_chk_fail .L22: mov w0, w1 ldp x29, x30, [sp] mov x12, 4288 add sp, sp, x12 .cfi_restore 29 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size resolve_path, .-resolve_path .align 2 .global realpath .type realpath, %function realpath: .LFB7: .cfi_startproc mov x12, 4160 sub sp, sp, x12 .cfi_def_cfa_offset 4160 stp x29, x30, [sp] .cfi_offset 29, -4160 .cfi_offset 30, -4152 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, 4152] mov x1, 0 ldr x0, [sp, 24] ldrb w0, [x0] cmp w0, 0 bne .L25 bl __errno_location mov x1, x0 mov w0, 2 str w0, [x1] mov x0, 0 b .L31 .L25: add x0, sp, 56 mov x1, 4096 bl getcwd cmp x0, 0 bne .L27 mov x0, 0 b .L31 .L27: ldr x0, [sp, 16] mov w1, 47 strh w1, [x0] add x0, sp, 56 ldr x2, [sp, 16] ldr x1, [sp, 16] bl resolve_path cmp w0, 0 beq .L28 mov x0, 0 b .L31 .L28: ldr x0, [sp, 16] bl strlen mov x1, x0 ldr x0, [sp, 16] add x0, x0, x1 mov w1, 47 strh w1, [x0] ldr x0, [sp, 24] bl strdup str x0, [sp, 48] ldr x0, [sp, 48] cmp x0, 0 bne .L29 mov x0, 0 b .L31 .L29: ldr x0, [sp, 16] bl strlen mov x1, x0 ldr x0, [sp, 16] add x0, x0, x1 mov x2, x0 ldr x1, [sp, 16] ldr x0, [sp, 48] bl resolve_path str w0, [sp, 44] ldr x0, [sp, 48] bl free ldr w0, [sp, 44] cmp w0, 0 beq .L30 mov x0, 0 b .L31 .L30: ldr x0, [sp, 16] .L31: mov x1, x0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 4152] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L32 bl __stack_chk_fail .L32: mov x0, x1 ldp x29, x30, [sp] mov x12, 4160 add sp, sp, x12 .cfi_restore 29 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size realpath, .-realpath ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .data.rel.local,"aw" .align 3 .type sn_cases, %object .size sn_cases, 1680 sn_cases: .word 1 .word 1 .word 3 .word 3 .word 3 .word 2 .word 2 .word 2 .word 1 .word 1 .word 1 .zero 4 .xword sn_do_setup_sched .xword sn_do_setup_schedvalue .xword sn_do_sched_tests .xword sn_do_assert_tests .word 1 .word 1 .word 3 .word 3 .word 3 .word 1 .word 2 .word 1 .word 2 .word 1 .word 2 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_setup_schedvalue .xword sn_do_sched_tests .xword sn_do_assert_tests .word 1 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_sched_tests .xword sn_do_prio_assert_tests .word 1 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_stress_sched_tests .xword sn_do_prio_stress_assert_tests .word 1 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_small_sched_tests .xword sn_do_prio_small_assert_tests .word 1 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_fuzz_sched_tests .xword sn_do_prio_fuzz_assert_tests .word 1 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_fuzzb_sched_tests .xword sn_do_prio_fuzz_assert_tests .word 2 .word 1 .word 1 .word 2 .word 3 .word 1 .word 2 .word 3 .word 1 .word 2 .word 3 .zero 4 .xword sn_do_setup_sched .xword sn_do_rr_setup_schedvalue .xword sn_do_sched_tests .xword sn_do_assert_tests .word 2 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_rr_setup_schedvalue .xword sn_do_prio_sched_tests .xword sn_do_prio_assert_tests .word 2 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_stress_sched_tests .xword sn_do_prio_stress_assert_tests .word 2 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_small_sched_tests .xword sn_do_prio_small_assert_tests .word 2 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_fuzz_sched_tests .xword sn_do_prio_fuzz_assert_tests .word 2 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_fuzzb_sched_tests .xword sn_do_prio_fuzz_assert_tests .word 0 .word 1 .word 1 .word 1 .word 1 .word 2 .word 2 .word 2 .word 3 .word 3 .word 3 .zero 4 .xword sn_do_setup_sched .xword sn_do_rr_setup_schedvalue .xword sn_do_sched_tests .xword sn_do_assert_tests .word 0 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_rr_setup_schedvalue .xword sn_do_prio_sched_tests .xword sn_do_prio_assert_tests .word 0 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_stress_sched_tests .xword sn_do_prio_stress_assert_tests .word 0 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_small_sched_tests .xword sn_do_prio_small_assert_tests .word 0 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_fuzz_sched_tests .xword sn_do_prio_fuzz_assert_tests .word 0 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_prio_stress_setup_schedvalue .xword sn_do_prio_fuzz_sched_tests .xword sn_do_prio_fuzz_assert_tests .word 0 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_rr_setup_schedvalue .xword sn_do_prio_sched_tests_x .xword sn_do_prio_assert_tests .word 0 .word 0 .word 0 .zero 32 .zero 4 .xword sn_do_setup_sched .xword sn_do_rr_setup_schedvalue .xword sn_do_prio_sched_tests_y .xword sn_do_prio_assert_tests .section .rodata .align 3 .LC0: .string "setsockopt" .align 3 .LC1: .string "getsockopt" .align 3 .LC2: .string "ss sched: %d, expected: %d\n" .text .align 2 .type sn_do_setup_sched, %function sn_do_setup_sched: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 56] mov x1, 0 ldr x0, [sp, 24] ldr w1, [x0, 4] adrp x0, sn_cases add x2, x0, :lo12:sn_cases sxtw x1, w1 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr w0, [x0] str w0, [sp, 44] ldr x0, [sp, 24] ldr w0, [x0, 40] str w0, [sp, 48] ldr w0, [sp, 44] str w0, [sp, 52] mov w0, 8 str w0, [sp, 40] ldr x0, [sp, 24] ldr w0, [x0] add x1, sp, 48 mov w4, 8 mov x3, x1 mov w2, 123 mov w1, 132 bl setsockopt cmp w0, 0 beq .L2 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl perror mov w0, -1 bl exit .L2: ldr x0, [sp, 24] ldr w0, [x0] add x2, sp, 40 add x1, sp, 48 mov x4, x2 mov x3, x1 mov w2, 123 mov w1, 132 bl getsockopt cmp w0, 0 beq .L3 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl perror mov w0, -1 bl exit .L3: ldr w0, [sp, 52] ldr w2, [sp, 44] mov w1, w0 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 56] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L5 bl __stack_chk_fail .L5: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size sn_do_setup_sched, .-sn_do_setup_sched .section .rodata .align 3 .LC3: .string "ss schedvalue: %d, expected: %d\n" .text .align 2 .type sn_do_setup_schedvalue, %function sn_do_setup_schedvalue: .LFB7: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 56] mov x1, 0 mov w0, 1 str w0, [sp, 44] b .L7 .L10: ldr x0, [sp, 24] ldr w0, [x0, 40] str w0, [sp, 48] ldr w0, [sp, 44] and w0, w0, 65535 strh w0, [sp, 52] ldr w0, [sp, 44] and w0, w0, 65535 mov w1, 10 sub w0, w1, w0 and w0, w0, 65535 strh w0, [sp, 54] mov w0, 8 str w0, [sp, 40] ldr x0, [sp, 24] ldr w0, [x0] add x1, sp, 48 mov w4, 8 mov x3, x1 mov w2, 124 mov w1, 132 bl setsockopt cmp w0, 0 beq .L8 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl perror mov w0, -1 bl exit .L8: ldr x0, [sp, 24] ldr w0, [x0] add x2, sp, 40 add x1, sp, 48 mov x4, x2 mov x3, x1 mov w2, 124 mov w1, 132 bl getsockopt cmp w0, 0 beq .L9 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl perror mov w0, -1 bl exit .L9: ldrh w0, [sp, 54] mov w3, w0 mov w1, 10 ldr w0, [sp, 44] sub w0, w1, w0 mov w2, w0 mov w1, w3 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L7: ldr w0, [sp, 44] cmp w0, 3 ble .L10 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 .L12 bl __stack_chk_fail .L12: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size sn_do_setup_schedvalue, .-sn_do_setup_schedvalue .align 2 .type sn_do_sched_tests, %function sn_do_sched_tests: .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, 1 str w0, [sp, 40] b .L14 .L17: str wzr, [sp, 44] b .L15 .L16: mov w3, 0 ldr w2, [sp, 40] mov w1, 1024 ldr x0, [sp, 24] bl sn_send_asoc_msg ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L15: ldr w0, [sp, 44] cmp w0, 2 ble .L16 ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L14: ldr w0, [sp, 40] cmp w0, 3 ble .L17 nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE8: .size sn_do_sched_tests, .-sn_do_sched_tests .section .rodata .align 3 .LC4: .string "unexpected sid packet !!!" .align 3 .LC5: .string "sid: %d, expected: %d\n" .text .align 2 .type sn_do_assert_tests, %function sn_do_assert_tests: .LFB9: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] ldr w0, [x0, 4] sxtw x1, w0 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 adrp x1, sn_cases add x1, x1, :lo12:sn_cases add x0, x0, x1 add x0, x0, 8 str x0, [sp, 40] ldr x0, [sp, 24] ldr x0, [x0, 48] ldrh w0, [x0] mov w2, w0 ldr x0, [sp, 24] ldr x0, [x0, 8] lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] cmp w2, w0 beq .L19 ldr x0, [sp, 24] mov x1, 1 str x1, [x0, 16] adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl puts .L19: ldr x0, [sp, 24] ldr x0, [x0, 48] ldrh w0, [x0] mov w3, w0 ldr x0, [sp, 24] ldr x0, [x0, 8] lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] mov w2, w0 mov w1, w3 adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl printf ldr x0, [sp, 24] ldr x0, [x0, 8] add x1, x0, 1 ldr x0, [sp, 24] str x1, [x0, 8] nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size sn_do_assert_tests, .-sn_do_assert_tests .align 2 .type sn_do_prio_setup_schedvalue, %function sn_do_prio_setup_schedvalue: .LFB10: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] 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, 40] b .L21 .L24: mov w1, 10 ldr w0, [sp, 40] sub w0, w1, w0 add w1, w0, 7 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 3 add w0, w0, 8 str w0, [sp, 44] ldr x0, [sp, 24] ldr w0, [x0, 40] str w0, [sp, 48] ldr w0, [sp, 40] and w0, w0, 65535 strh w0, [sp, 52] ldr w0, [sp, 44] and w0, w0, 65535 strh w0, [sp, 54] mov w0, 8 str w0, [sp, 36] ldr x0, [sp, 24] ldr w0, [x0] add x1, sp, 48 mov w4, 8 mov x3, x1 mov w2, 124 mov w1, 132 bl setsockopt cmp w0, 0 beq .L22 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl perror mov w0, -1 bl exit .L22: ldr x0, [sp, 24] ldr w0, [x0] add x2, sp, 36 add x1, sp, 48 mov x4, x2 mov x3, x1 mov w2, 124 mov w1, 132 bl getsockopt cmp w0, 0 beq .L23 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl perror mov w0, -1 bl exit .L23: ldrh w0, [sp, 54] ldr w2, [sp, 44] mov w1, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L21: ldr w0, [sp, 40] cmp w0, 3 ble .L24 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 .L26 bl __stack_chk_fail .L26: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE10: .size sn_do_prio_setup_schedvalue, .-sn_do_prio_setup_schedvalue .align 2 .type sn_do_prio_stress_setup_schedvalue, %function sn_do_prio_stress_setup_schedvalue: .LFB11: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 56] mov x1, 0 str wzr, [sp, 40] b .L28 .L31: mov w1, 10 ldr w0, [sp, 40] sub w0, w1, w0 str w0, [sp, 44] ldr x0, [sp, 24] ldr w0, [x0, 40] str w0, [sp, 48] ldr w0, [sp, 40] and w0, w0, 65535 strh w0, [sp, 52] ldr w0, [sp, 44] and w0, w0, 65535 strh w0, [sp, 54] mov w0, 8 str w0, [sp, 36] ldr x0, [sp, 24] ldr w0, [x0] add x1, sp, 48 mov w4, 8 mov x3, x1 mov w2, 124 mov w1, 132 bl setsockopt cmp w0, 0 beq .L29 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl perror mov w0, -1 bl exit .L29: ldr x0, [sp, 24] ldr w0, [x0] add x2, sp, 36 add x1, sp, 48 mov x4, x2 mov x3, x1 mov w2, 124 mov w1, 132 bl getsockopt cmp w0, 0 beq .L30 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl perror mov w0, -1 bl exit .L30: ldrh w0, [sp, 54] ldr w2, [sp, 44] mov w1, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L28: ldr w0, [sp, 40] cmp w0, 9 ble .L31 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 .L33 bl __stack_chk_fail .L33: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE11: .size sn_do_prio_stress_setup_schedvalue, .-sn_do_prio_stress_setup_schedvalue .align 2 .type sn_do_prio_sched_tests, %function sn_do_prio_sched_tests: .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] str wzr, [sp, 44] b .L35 .L40: str wzr, [sp, 36] b .L36 .L39: str wzr, [sp, 40] b .L37 .L38: mov w3, 0 ldr w2, [sp, 36] mov w1, 1024 ldr x0, [sp, 24] bl sn_send_asoc_msg ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L37: ldr w0, [sp, 40] cmp w0, 9 ble .L38 ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L36: ldr w0, [sp, 36] cmp w0, 9 ble .L39 ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L35: ldr w1, [sp, 44] mov w0, 9999 cmp w1, w0 ble .L40 mov w0, 10 bl sleep nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE12: .size sn_do_prio_sched_tests, .-sn_do_prio_sched_tests .align 2 .type sn_do_prio_sched_tests_x, %function sn_do_prio_sched_tests_x: .LFB13: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str wzr, [sp, 44] b .L42 .L47: str wzr, [sp, 36] b .L43 .L46: str wzr, [sp, 40] b .L44 .L45: mov w3, 1 ldr w2, [sp, 36] mov w1, 1024 ldr x0, [sp, 24] bl sn_send_asoc_msg ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L44: ldr w0, [sp, 40] cmp w0, 9 ble .L45 ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L43: ldr w0, [sp, 36] cmp w0, 9 ble .L46 ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L42: ldr w1, [sp, 44] mov w0, 9999 cmp w1, w0 ble .L47 mov w0, 10 bl sleep nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE13: .size sn_do_prio_sched_tests_x, .-sn_do_prio_sched_tests_x .align 2 .type sn_do_prio_sched_tests_y, %function sn_do_prio_sched_tests_y: .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 wzr, [sp, 44] b .L49 .L54: str wzr, [sp, 36] b .L50 .L53: str wzr, [sp, 40] b .L51 .L52: mov w3, 0 ldr w2, [sp, 36] mov w1, 1024 ldr x0, [sp, 24] bl sn_send_asoc_msg mov w3, 1 ldr w2, [sp, 36] mov w1, 1024 ldr x0, [sp, 24] bl sn_send_asoc_msg ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L51: ldr w0, [sp, 40] cmp w0, 4 ble .L52 ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L50: ldr w0, [sp, 36] cmp w0, 9 ble .L53 ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L49: ldr w1, [sp, 44] mov w0, 9999 cmp w1, w0 ble .L54 mov w0, 10 bl sleep nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE14: .size sn_do_prio_sched_tests_y, .-sn_do_prio_sched_tests_y .section .rodata .align 3 .LC6: .string "PERF: %lf mb/s\n" .text .align 2 .type sn_do_prio_assert_tests, %function sn_do_prio_assert_tests: .LFB15: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 ldr x0, [sp, 24] ldr x0, [x0, 8] add x1, x0, 1 ldr x0, [sp, 24] str x1, [x0, 8] ldr x0, [sp, 24] ldr x0, [x0, 8] cmp x0, 1 bne .L56 ldr x0, [sp, 24] add x0, x0, 32 bl time b .L57 .L56: ldr x0, [sp, 24] ldr x1, [x0, 8] mov x0, 16960 movk x0, 0xf, lsl 16 cmp x1, x0 bne .L57 add x0, sp, 32 bl time ldr x1, [sp, 32] ldr x0, [sp, 24] ldr x0, [x0, 32] sub x0, x1, x0 fmov d0, x0 scvtf d0, d0 mov x0, 70368744177664 movk x0, 0x40bf, lsl 48 fmov d1, x0 fdiv d0, d1, d0 adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl printf .L57: nop 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 .L58 bl __stack_chk_fail .L58: mov w0, w1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE15: .size sn_do_prio_assert_tests, .-sn_do_prio_assert_tests .align 2 .type sn_do_prio_stress_sched_tests, %function sn_do_prio_stress_sched_tests: .LFB16: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str wzr, [sp, 44] b .L60 .L65: str wzr, [sp, 36] b .L61 .L64: str wzr, [sp, 40] b .L62 .L63: mov w3, 0 ldr w2, [sp, 36] mov w1, 10240 ldr x0, [sp, 24] bl sn_send_asoc_msg ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L62: ldr w0, [sp, 40] cmp w0, 9 ble .L63 ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L61: ldr w0, [sp, 36] cmp w0, 9 ble .L64 ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L60: ldr w0, [sp, 44] cmp w0, 999 ble .L65 mov w0, 10 bl sleep nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE16: .size sn_do_prio_stress_sched_tests, .-sn_do_prio_stress_sched_tests .align 2 .type sn_do_prio_stress_assert_tests, %function sn_do_prio_stress_assert_tests: .LFB17: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 ldr x0, [sp, 24] ldr x1, [x0, 8] ldr x0, [sp, 24] ldr x0, [x0, 24] add x1, x1, x0 ldr x0, [sp, 24] str x1, [x0, 8] ldr x0, [sp, 24] ldr x0, [x0, 32] cmp x0, 0 bne .L67 ldr x0, [sp, 24] add x0, x0, 32 bl time b .L68 .L67: ldr x0, [sp, 24] ldr x1, [x0, 8] mov x0, 1024000000 cmp x1, x0 bne .L68 add x0, sp, 32 bl time ldr x1, [sp, 32] ldr x0, [sp, 24] ldr x0, [x0, 32] sub x0, x1, x0 fmov d0, x0 scvtf d0, d0 mov x0, 70368744177664 movk x0, 0x40bf, lsl 48 fmov d1, x0 fdiv d0, d1, d0 adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl printf .L68: nop 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 .L69 bl __stack_chk_fail .L69: mov w0, w1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE17: .size sn_do_prio_stress_assert_tests, .-sn_do_prio_stress_assert_tests .align 2 .type sn_do_prio_small_sched_tests, %function sn_do_prio_small_sched_tests: .LFB18: .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 .L71 .L76: str wzr, [sp, 36] b .L72 .L75: str wzr, [sp, 40] b .L73 .L74: mov w3, 0 ldr w2, [sp, 36] mov w1, 64 ldr x0, [sp, 24] bl sn_send_asoc_msg ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L73: ldr w0, [sp, 40] cmp w0, 9 ble .L74 ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L72: ldr w0, [sp, 36] cmp w0, 9 ble .L75 ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L71: ldr w0, [sp, 44] cmp w0, 999 ble .L76 mov w0, 10 bl sleep nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE18: .size sn_do_prio_small_sched_tests, .-sn_do_prio_small_sched_tests .align 2 .type sn_do_prio_small_assert_tests, %function sn_do_prio_small_assert_tests: .LFB19: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 ldr x0, [sp, 24] ldr x1, [x0, 8] ldr x0, [sp, 24] ldr x0, [x0, 24] add x1, x1, x0 ldr x0, [sp, 24] str x1, [x0, 8] ldr x0, [sp, 24] ldr x0, [x0, 32] cmp x0, 0 bne .L78 ldr x0, [sp, 24] add x0, x0, 32 bl time b .L79 .L78: ldr x0, [sp, 24] ldr x1, [x0, 8] mov x0, 43008 movk x0, 0x61, lsl 16 cmp x1, x0 bne .L79 add x0, sp, 32 bl time ldr x1, [sp, 32] ldr x0, [sp, 24] ldr x0, [x0, 32] sub x0, x1, x0 fmov d0, x0 scvtf d0, d0 mov x0, 4632233691727265792 fmov d1, x0 fdiv d0, d1, d0 adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl printf .L79: nop 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 .L80 bl __stack_chk_fail .L80: mov w0, w1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE19: .size sn_do_prio_small_assert_tests, .-sn_do_prio_small_assert_tests .align 2 .type sn_do_prio_fuzz_sched_tests, %function sn_do_prio_fuzz_sched_tests: .LFB20: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] mov x0, 0 bl time bl srand str wzr, [sp, 40] b .L82 .L87: str wzr, [sp, 32] b .L83 .L86: str wzr, [sp, 36] b .L84 .L85: bl rand mov w1, w0 mov w0, 6641 movk w0, 0x576, lsl 16 smull x0, w1, w0 lsr x0, x0, 32 asr w2, w0, 5 asr w0, w1, 31 sub w0, w2, w0 mov w2, 1500 mul w0, w0, w2 sub w0, w1, w0 add w0, w0, 20 str w0, [sp, 44] mov w3, 0 ldr w2, [sp, 32] ldr w1, [sp, 44] ldr x0, [sp, 24] bl sn_send_asoc_msg ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L84: ldr w0, [sp, 36] cmp w0, 9 ble .L85 ldr w0, [sp, 32] add w0, w0, 1 str w0, [sp, 32] .L83: ldr w0, [sp, 32] cmp w0, 9 ble .L86 ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L82: ldr w1, [sp, 40] mov w0, 9999 cmp w1, w0 ble .L87 mov w0, 10 bl sleep nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE20: .size sn_do_prio_fuzz_sched_tests, .-sn_do_prio_fuzz_sched_tests .section .rodata .align 3 .LC7: .string "sid: %d, len: %d, total_len: %d\n" .text .align 2 .type sn_do_prio_fuzz_assert_tests, %function sn_do_prio_fuzz_assert_tests: .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] ldr x0, [sp, 24] ldr x1, [x0, 8] ldr x0, [sp, 24] ldr x0, [x0, 24] add x1, x1, x0 ldr x0, [sp, 24] str x1, [x0, 8] ldr x0, [sp, 24] ldr x0, [x0, 48] ldrh w0, [x0] mov w4, w0 ldr x0, [sp, 24] ldr x1, [x0, 24] ldr x0, [sp, 24] ldr x0, [x0, 8] mov x3, x0 mov x2, x1 mov w1, w4 adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl printf nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE21: .size sn_do_prio_fuzz_assert_tests, .-sn_do_prio_fuzz_assert_tests .align 2 .type sn_do_prio_fuzzb_sched_tests, %function sn_do_prio_fuzzb_sched_tests: .LFB22: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] mov x0, 0 bl time bl srand str wzr, [sp, 40] b .L90 .L95: bl rand mov w1, w0 mov w0, 3121 movk w0, 0x30c3, lsl 16 smull x0, w1, w0 lsr x0, x0, 32 asr w2, w0, 2 asr w0, w1, 31 sub w0, w2, w0 mov w2, 21 mul w0, w0, w2 sub w0, w1, w0 ldr x1, [sp, 24] str w0, [x1, 4] ldr x0, [sp, 24] ldr w1, [x0, 4] adrp x0, sn_cases add x2, x0, :lo12:sn_cases sxtw x1, w1 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x1, [x0, 48] ldr x0, [sp, 24] blr x1 ldr x0, [sp, 24] ldr w1, [x0, 4] adrp x0, sn_cases add x2, x0, :lo12:sn_cases sxtw x1, w1 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x1, [x0, 56] ldr x0, [sp, 24] blr x1 str wzr, [sp, 32] b .L91 .L94: str wzr, [sp, 36] b .L92 .L93: bl rand mov w1, w0 mov w0, 6641 movk w0, 0x576, lsl 16 smull x0, w1, w0 lsr x0, x0, 32 asr w2, w0, 6 asr w0, w1, 31 sub w0, w2, w0 mov w2, 3000 mul w0, w0, w2 sub w0, w1, w0 add w0, w0, 20 str w0, [sp, 44] mov w3, 0 ldr w2, [sp, 32] ldr w1, [sp, 44] ldr x0, [sp, 24] bl sn_send_asoc_msg ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L92: ldr w0, [sp, 36] cmp w0, 9 ble .L93 ldr w0, [sp, 32] add w0, w0, 1 str w0, [sp, 32] .L91: ldr w0, [sp, 32] cmp w0, 9 ble .L94 ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L90: ldr w1, [sp, 40] mov w0, 9999 cmp w1, w0 ble .L95 mov w0, 10 bl sleep nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE22: .size sn_do_prio_fuzzb_sched_tests, .-sn_do_prio_fuzzb_sched_tests .align 2 .type sn_do_rr_setup_schedvalue, %function sn_do_rr_setup_schedvalue: .LFB23: .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 .LFE23: .size sn_do_rr_setup_schedvalue, .-sn_do_rr_setup_schedvalue .align 2 .type sn_get_asoc_id, %function sn_get_asoc_id: .LFB24: .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 mov w0, 8 str w0, [sp, 44] ldr w0, [sp, 44] sxtw x0, w0 bl malloc str x0, [sp, 48] add x0, sp, 44 mov x4, x0 ldr x3, [sp, 48] mov w2, 29 mov w1, 132 ldr w0, [sp, 28] bl getsockopt cmp w0, 0 beq .L99 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl perror mov w0, -1 bl exit .L99: ldr x0, [sp, 48] ldr w0, [x0, 4] 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 .L101 bl __stack_chk_fail .L101: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE24: .size sn_get_asoc_id, .-sn_get_asoc_id .align 2 .type sn_enable_asoc_strreset, %function sn_enable_asoc_strreset: .LFB25: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 ldr x0, [sp, 24] ldr w0, [x0] bl sn_get_asoc_id mov w1, w0 ldr x0, [sp, 24] str w1, [x0, 40] ldr x0, [sp, 24] ldr w0, [x0, 40] str w0, [sp, 32] mov w0, 1 str w0, [sp, 36] ldr x0, [sp, 24] ldr w0, [x0] add x1, sp, 32 mov w4, 8 mov x3, x1 mov w2, 118 mov w1, 132 bl setsockopt cmp w0, 0 beq .L103 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl perror mov w0, -1 bl exit .L103: 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 .L105 bl __stack_chk_fail .L105: mov w0, w1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE25: .size sn_enable_asoc_strreset, .-sn_enable_asoc_strreset .align 2 .type sn_enable_sk_recvinfo, %function sn_enable_sk_recvinfo: .LFB26: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 56] mov x1, 0 add x0, sp, 40 mov x2, 14 mov w1, 0 bl memset mov w0, 1 strb w0, [sp, 40] ldr x0, [sp, 24] ldr w0, [x0] add x1, sp, 40 mov w4, 14 mov x3, x1 mov w2, 11 mov w1, 132 bl setsockopt cmp w0, 0 beq .L107 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl perror mov w0, -1 bl exit .L107: 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 .L109 bl __stack_chk_fail .L109: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE26: .size sn_enable_sk_recvinfo, .-sn_enable_sk_recvinfo .align 2 .type sn_do_setup_frag_interleave, %function sn_do_setup_frag_interleave: .LFB27: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 mov w0, 1 str w0, [sp, 32] mov w0, 4 str w0, [sp, 36] ldr x0, [sp, 24] ldr w0, [x0] add x1, sp, 32 mov w4, 4 mov x3, x1 mov w2, 18 mov w1, 132 bl setsockopt cmp w0, 0 beq .L111 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl perror mov w0, -1 bl exit .L111: 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 .L113 bl __stack_chk_fail .L113: mov w0, w1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE27: .size sn_do_setup_frag_interleave, .-sn_do_setup_frag_interleave .align 2 .type sn_do_setup_strm_interleave, %function sn_do_setup_strm_interleave: .LFB28: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 ldr x0, [sp, 24] ldr w0, [x0, 40] str w0, [sp, 32] mov w0, 8 str w0, [sp, 36] ldr x0, [sp, 24] ldr w0, [x0] add x1, sp, 32 mov w4, 8 mov x3, x1 mov w2, 125 mov w1, 132 bl setsockopt cmp w0, 0 beq .L115 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl perror .L115: 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 .L117 bl __stack_chk_fail .L117: mov w0, w1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE28: .size sn_do_setup_strm_interleave, .-sn_do_setup_strm_interleave .section .rodata .align 3 .LC8: .string "getaddrinfo" .align 3 .LC9: .string "connect" .text .align 2 .type sn_create_asoc_sk, %function sn_create_asoc_sk: .LFB29: .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 add x0, sp, 48 mov x3, x0 mov x2, 0 ldr x1, [sp, 24] ldr x0, [sp, 32] bl getaddrinfo cmp w0, 0 beq .L119 adrp x0, .LC8 add x0, x0, :lo12:.LC8 bl perror mov w0, -1 bl exit .L119: ldr x0, [sp, 40] ldr x3, [x0, 56] ldr x0, [sp, 48] ldr x1, [x0, 24] ldr x0, [sp, 48] ldr w0, [x0, 16] uxtw x0, w0 mov x2, x0 mov x0, x3 bl memcpy mov w2, 132 mov w1, 5 mov w0, 2 bl socket mov w1, w0 ldr x0, [sp, 40] str w1, [x0] ldr x0, [sp, 40] bl sn_do_setup_frag_interleave ldr x0, [sp, 40] bl sn_do_setup_strm_interleave ldr x0, [sp, 40] ldr w3, [x0] ldr x0, [sp, 40] ldr x0, [x0, 56] mov w2, 128 mov x1, x0 mov w0, w3 bl connect cmp w0, 0 beq .L120 adrp x0, .LC9 add x0, x0, :lo12:.LC9 bl perror mov w0, -1 bl exit .L120: ldr x0, [sp, 40] ldr w0, [x0] bl sn_get_asoc_id mov w1, w0 ldr x0, [sp, 40] str w1, [x0, 40] 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 .L122 bl __stack_chk_fail .L122: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE29: .size sn_create_asoc_sk, .-sn_create_asoc_sk .section .rodata .align 3 .LC10: .string "bind" .align 3 .LC11: .string "listen" .text .align 2 .type sn_create_listen_sk, %function sn_create_listen_sk: .LFB30: .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 add x0, sp, 48 mov x3, x0 mov x2, 0 ldr x1, [sp, 24] ldr x0, [sp, 32] bl getaddrinfo cmp w0, 0 beq .L124 adrp x0, .LC8 add x0, x0, :lo12:.LC8 bl perror mov w0, -1 bl exit .L124: mov w2, 132 mov w1, 5 mov w0, 2 bl socket mov w1, w0 ldr x0, [sp, 40] str w1, [x0] ldr x0, [sp, 40] bl sn_do_setup_frag_interleave ldr x0, [sp, 40] bl sn_do_setup_strm_interleave ldr x0, [sp, 40] ldr w3, [x0] ldr x0, [sp, 48] ldr x1, [x0, 24] ldr x0, [sp, 48] ldr w0, [x0, 16] mov w2, w0 mov w0, w3 bl bind cmp w0, 0 beq .L125 adrp x0, .LC10 add x0, x0, :lo12:.LC10 bl perror mov w0, -1 bl exit .L125: ldr x0, [sp, 40] ldr w0, [x0] mov w1, 10 bl listen cmp w0, 0 beq .L126 adrp x0, .LC11 add x0, x0, :lo12:.LC11 bl perror mov w0, -1 bl exit .L126: 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 .L128 bl __stack_chk_fail .L128: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE30: .size sn_create_listen_sk, .-sn_create_listen_sk .section .rodata .align 3 .LC12: .string "closed asoc done" .text .align 2 .type sn_close_asoc_sk, %function sn_close_asoc_sk: .LFB31: .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 w1, 12 ldr x0, [sp, 24] bl sn_send_asoc_cmd ldr x0, [sp, 24] ldr w0, [x0] bl close adrp x0, .LC12 add x0, x0, :lo12:.LC12 bl puts mov w0, 5 bl sleep nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE31: .size sn_close_asoc_sk, .-sn_close_asoc_sk .section .rodata .align 3 .LC13: .string "iptables -A INPUT -p sctp -j DROP" .align 3 .LC14: .string "iptables -F" .align 3 .LC15: .string "all stream are closed" .text .align 2 .type sn_close_asoc_streams, %function sn_close_asoc_streams: .LFB32: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 ldr x0, [sp, 24] ldr w1, [x0, 4] adrp x0, sn_cases add x2, x0, :lo12:sn_cases sxtw x1, w1 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr w0, [x0, 4] cmp w0, 0 beq .L137 adrp x0, .LC13 add x0, x0, :lo12:.LC13 bl system ldr x0, [sp, 24] ldr w0, [x0, 40] str w0, [sp, 32] mov w0, 2 strh w0, [sp, 36] strh wzr, [sp, 38] ldr x0, [sp, 24] ldr w0, [x0] add x1, sp, 32 mov w4, 8 mov x3, x1 mov w2, 119 mov w1, 132 bl setsockopt cmp w0, 0 beq .L133 adrp x0, .LC14 add x0, x0, :lo12:.LC14 bl system adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl perror mov w0, -1 bl exit .L133: adrp x0, .LC15 add x0, x0, :lo12:.LC15 bl puts mov w0, 0 mov w1, w0 b .L130 .L137: nop nop .L130: 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 .L135 bl __stack_chk_fail .L135: mov w0, w1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE32: .size sn_close_asoc_streams, .-sn_close_asoc_streams .section .rodata .align 3 .LC16: .string "all stream are reopened" .text .align 2 .type sn_reopen_asoc_streams, %function sn_reopen_asoc_streams: .LFB33: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] ldr w1, [x0, 4] adrp x0, sn_cases add x2, x0, :lo12:sn_cases sxtw x1, w1 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr w0, [x0, 4] cmp w0, 0 beq .L143 adrp x0, .LC14 add x0, x0, :lo12:.LC14 bl system adrp x0, .LC16 add x0, x0, :lo12:.LC16 bl puts mov w0, 10 bl sleep mov w0, 0 b .L138 .L143: nop nop .L138: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE33: .size sn_reopen_asoc_streams, .-sn_reopen_asoc_streams .section .rodata .align 3 .LC17: .string "sendmsg" .align 3 .LC18: .string "recvmsg" .align 3 .LC19: .string "recv_len: %d, expected: %d\n" .text .align 2 .type sn_send_asoc_cmd, %function sn_send_asoc_cmd: .LFB34: .cfi_startproc sub sp, sp, #1264 .cfi_def_cfa_offset 1264 stp x29, x30, [sp, 16] .cfi_offset 29, -1248 .cfi_offset 30, -1240 add x29, sp, 16 str x0, [sp, 40] str w1, [sp, 36] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 1256] mov x1, 0 str wzr, [sp, 64] add x0, sp, 104 mov x2, 128 mov w1, 0 bl memset mov w0, 128 str w0, [sp, 60] ldr x0, [sp, 40] ldr w8, [x0] ldr x0, [sp, 40] ldr x1, [x0, 56] add x0, sp, 232 str wzr, [sp, 8] str wzr, [sp] mov w7, 0 mov w6, 0 mov w5, 0 mov x4, 128 mov x3, x1 ldr w2, [sp, 36] mov x1, x0 mov w0, w8 bl sctp_sendmsg cmn w0, #1 bne .L145 adrp x0, .LC17 add x0, x0, :lo12:.LC17 bl perror mov w0, -1 bl exit .L145: ldr x0, [sp, 40] ldr w0, [x0] add x5, sp, 64 add x4, sp, 72 add x3, sp, 60 add x2, sp, 104 add x1, sp, 232 mov x6, x5 mov x5, x4 mov x4, x3 mov x3, x2 mov x2, 1024 bl sctp_recvmsg str w0, [sp, 68] ldr w0, [sp, 68] cmn w0, #1 bne .L146 adrp x0, .LC18 add x0, x0, :lo12:.LC18 bl perror mov w0, -1 bl exit .L146: ldr w2, [sp, 36] ldr w1, [sp, 68] adrp x0, .LC19 add x0, x0, :lo12:.LC19 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, 1256] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L148 bl __stack_chk_fail .L148: mov w0, w1 ldp x29, x30, [sp, 16] add sp, sp, 1264 .cfi_restore 29 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE34: .size sn_send_asoc_cmd, .-sn_send_asoc_cmd .align 2 .type sn_get_peer_cmd, %function sn_get_peer_cmd: .LFB35: .cfi_startproc mov x12, 20544 sub sp, sp, x12 .cfi_def_cfa_offset 20544 stp x29, x30, [sp] .cfi_offset 29, -20544 .cfi_offset 30, -20536 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, 20536] mov x1, 0 str wzr, [sp, 48] mov w0, 128 str w0, [sp, 44] ldr x0, [sp, 24] ldr x0, [x0, 56] ldr w1, [sp, 44] sxtw x1, w1 mov x2, x1 mov w1, 0 bl memset ldr x0, [sp, 24] ldr w7, [x0] ldr x0, [sp, 24] ldr x1, [x0, 56] ldr x0, [sp, 24] ldr x3, [x0, 48] add x4, sp, 48 add x2, sp, 44 add x0, sp, 56 mov x6, x4 mov x5, x3 mov x4, x2 mov x3, x1 mov x2, 20480 mov x1, x0 mov w0, w7 bl sctp_recvmsg str w0, [sp, 52] ldr w0, [sp, 52] cmn w0, #1 bne .L150 adrp x0, .LC18 add x0, x0, :lo12:.LC18 bl perror mov w0, -1 bl exit .L150: ldr w0, [sp, 52] mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 20536] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L152 bl __stack_chk_fail .L152: mov w0, w1 ldp x29, x30, [sp] mov x12, 20544 add sp, sp, x12 .cfi_restore 29 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE35: .size sn_get_peer_cmd, .-sn_get_peer_cmd .align 2 .type sn_enable_peer_strreset, %function sn_enable_peer_strreset: .LFB36: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] mov w1, 11 ldr x0, [sp, 24] bl sn_send_asoc_cmd nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE36: .size sn_enable_peer_strreset, .-sn_enable_peer_strreset .align 2 .type sn_send_asoc_msg, %function sn_send_asoc_msg: .LFB37: .cfi_startproc mov x12, 10320 sub sp, sp, x12 .cfi_def_cfa_offset 10320 stp x29, x30, [sp, 16] .cfi_offset 29, -10304 .cfi_offset 30, -10296 add x29, sp, 16 str x0, [sp, 56] str w1, [sp, 52] str w2, [sp, 48] str w3, [sp, 44] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 10312] mov x1, 0 ldr x0, [sp, 56] ldr w8, [x0] ldr x0, [sp, 56] ldr x1, [x0, 56] add x0, sp, 72 str wzr, [sp, 8] str wzr, [sp] ldr w7, [sp, 48] ldr w6, [sp, 44] mov w5, 0 mov x4, 128 mov x3, x1 ldr w2, [sp, 52] mov x1, x0 mov w0, w8 bl sctp_sendmsg cmn w0, #1 bne .L155 adrp x0, .LC17 add x0, x0, :lo12:.LC17 bl perror mov w0, -1 bl exit .L155: mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 10312] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L157 bl __stack_chk_fail .L157: mov w0, w1 ldp x29, x30, [sp, 16] mov x12, 10320 add sp, sp, x12 .cfi_restore 29 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE37: .size sn_send_asoc_msg, .-sn_send_asoc_msg .align 2 .type sn_send_peer_ack, %function sn_send_peer_ack: .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] mov w3, 0 mov w2, 0 mov w1, 13 ldr x0, [sp, 24] bl sn_send_asoc_msg nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE38: .size sn_send_peer_ack, .-sn_send_peer_ack .align 2 .global do_client .type do_client, %function do_client: .LFB39: .cfi_startproc stp x29, x30, [sp, -240]! .cfi_def_cfa_offset 240 .cfi_offset 29, -240 .cfi_offset 30, -232 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, 232] mov x1, 0 mov w0, 3 bl sleep add x0, sp, 40 mov x2, 64 mov w1, 0 bl memset add x0, sp, 104 str x0, [sp, 96] ldr x0, [sp, 24] add x0, x0, 24 ldr x0, [x0] bl atoi str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 8 ldr x1, [x0] ldr x0, [sp, 24] add x0, x0, 16 ldr x2, [x0] add x0, sp, 40 bl sn_create_asoc_sk ldr w1, [sp, 44] adrp x0, sn_cases add x2, x0, :lo12:sn_cases sxtw x1, w1 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x1, [x0, 48] add x0, sp, 40 blr x1 ldr w1, [sp, 44] adrp x0, sn_cases add x2, x0, :lo12:sn_cases sxtw x1, w1 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x1, [x0, 56] add x0, sp, 40 blr x1 add x0, sp, 40 bl sn_enable_asoc_strreset add x0, sp, 40 bl sn_enable_peer_strreset add x0, sp, 40 bl sn_close_asoc_streams ldr w1, [sp, 44] adrp x0, sn_cases add x2, x0, :lo12:sn_cases sxtw x1, w1 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x1, [x0, 64] add x0, sp, 40 blr x1 add x0, sp, 40 bl sn_reopen_asoc_streams add x0, sp, 40 bl sn_close_asoc_sk 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 .L161 bl __stack_chk_fail .L161: mov w0, w1 ldp x29, x30, [sp], 240 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE39: .size do_client, .-do_client .align 2 .global do_server .type do_server, %function do_server: .LFB40: .cfi_startproc stp x29, x30, [sp, -272]! .cfi_def_cfa_offset 272 .cfi_offset 29, -272 .cfi_offset 30, -264 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, 264] mov x1, 0 str wzr, [sp, 36] add x0, sp, 72 mov x2, 64 mov w1, 0 bl memset add x0, sp, 40 str x0, [sp, 120] add x0, sp, 136 str x0, [sp, 128] ldr x0, [sp, 24] add x0, x0, 24 ldr x0, [x0] bl atoi str w0, [sp, 76] ldr x0, [sp, 24] add x0, x0, 8 ldr x1, [x0] ldr x0, [sp, 24] add x0, x0, 16 ldr x2, [x0] add x0, sp, 72 bl sn_create_listen_sk add x0, sp, 72 bl sn_enable_sk_recvinfo b .L163 .L167: add x0, sp, 72 bl sn_get_peer_cmd str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 11 beq .L164 ldr w0, [sp, 36] cmp w0, 12 beq .L165 b .L170 .L164: add x0, sp, 72 bl sn_enable_asoc_strreset add x0, sp, 72 bl sn_send_peer_ack b .L163 .L165: mov w0, -1 str w0, [sp, 36] add x0, sp, 72 bl sn_send_peer_ack b .L163 .L170: ldrsw x0, [sp, 36] str x0, [sp, 96] ldr w1, [sp, 76] adrp x0, sn_cases add x2, x0, :lo12:sn_cases sxtw x1, w1 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x1, [x0, 72] add x0, sp, 72 blr x1 nop .L163: ldr w0, [sp, 36] cmp w0, 0 bge .L167 ldr x0, [sp, 88] mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 264] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L169 bl __stack_chk_fail .L169: mov w0, w1 ldp x29, x30, [sp], 272 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE40: .size do_server, .-do_server .section .rodata .align 3 .LC20: .string "\n usage: %s ip port [0-4] [-l | -s]\n\n" .text .align 2 .global do_help .type do_help, %function do_help: .LFB41: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] ldr x0, [x0] mov x1, x0 adrp x0, .LC20 add x0, x0, :lo12:.LC20 bl printf nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE41: .size do_help, .-do_help .section .rodata .align 3 .LC21: .string "-l" .align 3 .LC22: .string "-s" .text .align 2 .global main .type main, %function main: .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 w0, [sp, 28] str x1, [sp, 16] ldr x0, [sp, 16] ldr x0, [x0, 32] str x0, [sp, 40] ldr w0, [sp, 28] cmp w0, 5 beq .L173 ldr x0, [sp, 16] bl do_help b .L174 .L173: adrp x0, .LC21 add x1, x0, :lo12:.LC21 ldr x0, [sp, 40] bl strcmp cmp w0, 0 bne .L175 ldr x0, [sp, 16] bl do_server b .L174 .L175: adrp x0, .LC22 add x1, x0, :lo12:.LC22 ldr x0, [sp, 40] bl strcmp cmp w0, 0 bne .L176 ldr x0, [sp, 16] bl do_client b .L174 .L176: ldr x0, [sp, 16] bl do_help .L174: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE42: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global _init .type _init, %function _init: .LFB0: .cfi_startproc nop ret .cfi_endproc .LFE0: .size _init, .-_init ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global Pods_TMPlayer_ExampleVersionString .section .rodata .align 3 .type Pods_TMPlayer_ExampleVersionString, %object .size Pods_TMPlayer_ExampleVersionString, 51 Pods_TMPlayer_ExampleVersionString: .string "@(#)PROGRAM:Pods_TMPlayer_Example PROJECT:Pods-1\n" .global Pods_TMPlayer_ExampleVersionNumber .align 3 .type Pods_TMPlayer_ExampleVersionNumber, %object .size Pods_TMPlayer_ExampleVersionNumber, 8 Pods_TMPlayer_ExampleVersionNumber: .word 0 .word 1072693248 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "rb" .align 3 .LC1: .string "st err" .align 3 .LC2: .string "input fail " .align 3 .LC3: .string "hey, you hit it2 " .align 3 .LC4: .string "hey, you hit it " .text .align 2 .global main .type main, %function main: .LFB6: .cfi_startproc stp x29, x30, [sp, -336]! .cfi_def_cfa_offset 336 .cfi_offset 29, -336 .cfi_offset 30, -328 mov x29, sp str w0, [sp, 28] str x1, [sp, 16] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 328] mov x1, 0 ldr w0, [sp, 28] cmp w0, 1 bgt .L2 mov w0, 0 b .L8 .L2: ldr x0, [sp, 16] add x0, x0, 8 ldr x2, [x0] adrp x0, .LC0 add x1, x0, :lo12:.LC0 mov x0, x2 bl fopen str x0, [sp, 56] ldr x0, [sp, 56] cmp x0, 0 bne .L4 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl puts mov w0, 0 b .L8 .L4: mov w0, 20 str w0, [sp, 44] ldrsw x1, [sp, 44] add x0, sp, 72 ldr x3, [sp, 56] mov x2, x1 mov x1, 1 bl fread str x0, [sp, 64] ldr x0, [sp, 56] bl fclose ldrsw x0, [sp, 44] ldr x1, [sp, 64] cmp x1, x0 bcs .L5 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl puts mov w0, 0 b .L8 .L5: str xzr, [sp, 48] str wzr, [sp, 40] ldr x0, [sp, 72] str x0, [sp, 48] add x0, sp, 72 add x0, x0, 10 ldr w0, [x0] str w0, [sp, 40] ldr d0, [sp, 48] mov x0, 3689348814741910323 movk x0, 0x3ff3, lsl 48 fmov d1, x0 fcmp d0, d1 bne .L6 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl puts .L6: ldr s0, [sp, 40] mov w0, 26214 movk w0, 0x4006, lsl 16 fmov s1, w0 fcmp s0, s1 bne .L7 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl puts bl abort .L7: mov w0, 0 .L8: mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 328] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L9 bl __stack_chk_fail .L9: mov w0, w1 ldp x29, x30, [sp], 336 .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 .type crc32_table, %object .size crc32_table, 1024 crc32_table: .word 0 .word 1996959894 .word -301047508 .word -1727442502 .word 124634137 .word 1886057615 .word -379345611 .word -1637575261 .word 249268274 .word 2044508324 .word -522852066 .word -1747789432 .word 162941995 .word 2125561021 .word -407360249 .word -1866523247 .word 498536548 .word 1789927666 .word -205950648 .word -2067906082 .word 450548861 .word 1843258603 .word -187386543 .word -2083289657 .word 325883990 .word 1684777152 .word -43845254 .word -1973040660 .word 335633487 .word 1661365465 .word -99664541 .word -1928851979 .word 997073096 .word 1281953886 .word -715111964 .word -1570279054 .word 1006888145 .word 1258607687 .word -770865667 .word -1526024853 .word 901097722 .word 1119000684 .word -608450090 .word -1396901568 .word 853044451 .word 1172266101 .word -589951537 .word -1412350631 .word 651767980 .word 1373503546 .word -925412992 .word -1076862698 .word 565507253 .word 1454621731 .word -809855591 .word -1195530993 .word 671266974 .word 1594198024 .word -972236366 .word -1324619484 .word 795835527 .word 1483230225 .word -1050600021 .word -1234817731 .word 1994146192 .word 31158534 .word -1731059524 .word -271249366 .word 1907459465 .word 112637215 .word -1614814043 .word -390540237 .word 2013776290 .word 251722036 .word -1777751922 .word -519137256 .word 2137656763 .word 141376813 .word -1855689577 .word -429695999 .word 1802195444 .word 476864866 .word -2056965928 .word -228458418 .word 1812370925 .word 453092731 .word -2113342271 .word -183516073 .word 1706088902 .word 314042704 .word -1950435094 .word -54949764 .word 1658658271 .word 366619977 .word -1932296973 .word -69972891 .word 1303535960 .word 984961486 .word -1547960204 .word -725929758 .word 1256170817 .word 1037604311 .word -1529756563 .word -740887301 .word 1131014506 .word 879679996 .word -1385723834 .word -631195440 .word 1141124467 .word 855842277 .word -1442165665 .word -586318647 .word 1342533948 .word 654459306 .word -1106571248 .word -921952122 .word 1466479909 .word 544179635 .word -1184443383 .word -832445281 .word 1591671054 .word 702138776 .word -1328506846 .word -942167884 .word 1504918807 .word 783551873 .word -1212326853 .word -1061524307 .word -306674912 .word -1698712650 .word 62317068 .word 1957810842 .word -355121351 .word -1647151185 .word 81470997 .word 1943803523 .word -480048366 .word -1805370492 .word 225274430 .word 2053790376 .word -468791541 .word -1828061283 .word 167816743 .word 2097651377 .word -267414716 .word -2029476910 .word 503444072 .word 1762050814 .word -144550051 .word -2140837941 .word 426522225 .word 1852507879 .word -19653770 .word -1982649376 .word 282753626 .word 1742555852 .word -105259153 .word -1900089351 .word 397917763 .word 1622183637 .word -690576408 .word -1580100738 .word 953729732 .word 1340076626 .word -776247311 .word -1497606297 .word 1068828381 .word 1219638859 .word -670225446 .word -1358292148 .word 906185462 .word 1090812512 .word -547295293 .word -1469587627 .word 829329135 .word 1181335161 .word -882789492 .word -1134132454 .word 628085408 .word 1382605366 .word -871598187 .word -1156888829 .word 570562233 .word 1426400815 .word -977650754 .word -1296233688 .word 733239954 .word 1555261956 .word -1026031705 .word -1244606671 .word 752459403 .word 1541320221 .word -1687895376 .word -328994266 .word 1969922972 .word 40735498 .word -1677130071 .word -351390145 .word 1913087877 .word 83908371 .word -1782625662 .word -491226604 .word 2075208622 .word 213261112 .word -1831694693 .word -438977011 .word 2094854071 .word 198958881 .word -2032938284 .word -237706686 .word 1759359992 .word 534414190 .word -2118248755 .word -155638181 .word 1873836001 .word 414664567 .word -2012718362 .word -15766928 .word 1711684554 .word 285281116 .word -1889165569 .word -127750551 .word 1634467795 .word 376229701 .word -1609899400 .word -686959890 .word 1308918612 .word 956543938 .word -1486412191 .word -799009033 .word 1231636301 .word 1047427035 .word -1362007478 .word -640263460 .word 1088359270 .word 936918000 .word -1447252397 .word -558129467 .word 1202900863 .word 817233897 .word -1111625188 .word -893730166 .word 1404277552 .word 615818150 .word -1160759803 .word -841546093 .word 1423857449 .word 601450431 .word -1285129682 .word -1000256840 .word 1567103746 .word 711928724 .word -1274298825 .word -1022587231 .word 1510334235 .word 755167117 .text .align 2 .global encoding_crc32 .type encoding_crc32, %function encoding_crc32: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 28] str x1, [sp, 16] str x2, [sp, 8] ldr w0, [sp, 28] mvn w0, w0 str w0, [sp, 28] b .L2 .L3: ldr x0, [sp, 16] add x1, x0, 1 str x1, [sp, 16] ldrb w0, [x0] mov w1, w0 ldr w0, [sp, 28] eor w0, w1, w0 and w1, w0, 255 adrp x0, crc32_table add x0, x0, :lo12:crc32_table uxtw x1, w1 ldr w1, [x0, x1, lsl 2] ldr w0, [sp, 28] lsr w0, w0, 8 eor w0, w1, w0 str w0, [sp, 28] .L2: ldr x0, [sp, 8] sub x1, x0, #1 str x1, [sp, 8] cmp x0, 0 bne .L3 ldr w0, [sp, 28] mvn w0, w0 add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size encoding_crc32, .-encoding_crc32 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global __VERIFIER_assert .type __VERIFIER_assert, %function __VERIFIER_assert: .LFB0: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, 12] ldr w0, [sp, 12] cmp w0, 0 bne .L5 nop .L3: b .L3 .L5: nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size __VERIFIER_assert, .-__VERIFIER_assert .align 2 .global main .type main, %function main: .LFB1: .cfi_startproc stp x29, x30, [sp, -144]! .cfi_def_cfa_offset 144 .cfi_offset 29, -144 .cfi_offset 30, -136 mov x29, sp .cfi_def_cfa_register 29 stp x19, x20, [sp, 16] stp x21, x22, [sp, 32] stp x23, x24, [sp, 48] stp x25, x26, [sp, 64] str x27, [sp, 80] sub sp, sp, #16 .cfi_offset 19, -128 .cfi_offset 20, -120 .cfi_offset 21, -112 .cfi_offset 22, -104 .cfi_offset 23, -96 .cfi_offset 24, -88 .cfi_offset 25, -80 .cfi_offset 26, -72 .cfi_offset 27, -64 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [x29, 136] mov x1, 0 mov x0, sp mov x19, x0 bl __VERIFIER_nondet_int str w0, [x29, 112] ldr w0, [x29, 112] cmp w0, 9 bls .L8 ldr w0, [x29, 112] uxtw x1, w0 sub x1, x1, #1 str x1, [x29, 120] uxtw x1, w0 mov x26, x1 mov x27, 0 lsr x1, x26, 59 lsl x23, x27, 5 orr x23, x1, x23 lsl x22, x26, 5 uxtw x1, w0 mov x24, x1 mov x25, 0 lsr x1, x24, 59 lsl x21, x25, 5 orr x21, x1, x21 lsl x20, x24, 5 uxtw 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, 128] str wzr, [x29, 108] b .L12 .L14: bl __VERIFIER_nondet_int str w0, [x29, 116] ldr w0, [x29, 116] cmp w0, 0 beq .L13 ldr w0, [x29, 116] cmp w0, 3 bne .L21 .L13: ldr w2, [x29, 116] ldr x0, [x29, 128] ldr w1, [x29, 108] str w2, [x0, x1, lsl 2] ldr w0, [x29, 108] add w0, w0, 1 str w0, [x29, 108] .L12: ldr w1, [x29, 108] ldr w0, [x29, 112] cmp w1, w0 bcc .L14 ldr x0, [x29, 128] ldr w0, [x0, 16] cmp w0, 0 beq .L15 ldr x0, [x29, 128] ldr w0, [x0, 16] cmp w0, 3 bne .L16 .L15: mov w0, 1 b .L17 .L16: mov w0, 0 .L17: bl __VERIFIER_assert mov sp, x19 mov w0, 0 mov w1, w0 b .L6 .L21: nop .L8: mov sp, x19 .L6: adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [x29, 136] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L20 bl __stack_chk_fail .L20: mov w0, w1 mov sp, x29 ldp x19, x20, [sp, 16] ldp x21, x22, [sp, 32] ldp x23, x24, [sp, 48] ldp x25, x26, [sp, 64] ldr x27, [sp, 80] ldp x29, x30, [sp], 144 .cfi_restore 30 .cfi_restore 29 .cfi_restore 27 .cfi_restore 25 .cfi_restore 26 .cfi_restore 23 .cfi_restore 24 .cfi_restore 21 .cfi_restore 22 .cfi_restore 19 .cfi_restore 20 .cfi_def_cfa 31, 0 ret .cfi_endproc .LFE1: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global length_longest_increasing_subsequence .type length_longest_increasing_subsequence, %function length_longest_increasing_subsequence: .LFB0: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp .cfi_def_cfa_register 29 sub sp, sp, #16 str x0, [x29, 24] str w1, [x29, 20] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [x29, 72] mov x1, 0 mov x0, sp mov x10, x0 ldr w0, [x29, 20] sxtw x1, w0 sub x1, x1, #1 str x1, [x29, 56] sxtw x1, w0 mov x8, x1 mov x9, 0 lsr x1, x8, 59 lsl x5, x9, 5 orr x5, x1, x5 lsl x4, x8, 5 sxtw x1, w0 mov x6, x1 mov x7, 0 lsr x1, x6, 59 lsl x3, x7, 5 orr x3, x1, x3 lsl x2, x6, 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, 64] str wzr, [x29, 36] str wzr, [x29, 40] b .L5 .L6: ldr x0, [x29, 64] ldrsw x1, [x29, 40] mov w2, 1 str w2, [x0, x1, lsl 2] ldr w0, [x29, 40] add w0, w0, 1 str w0, [x29, 40] .L5: ldr w1, [x29, 40] ldr w0, [x29, 20] cmp w1, w0 blt .L6 mov w0, 1 str w0, [x29, 44] b .L7 .L11: str wzr, [x29, 48] b .L8 .L10: ldrsw x0, [x29, 44] lsl x0, x0, 2 ldr x1, [x29, 24] add x0, x1, x0 ldr w1, [x0] ldrsw x0, [x29, 48] lsl x0, x0, 2 ldr x2, [x29, 24] add x0, x2, x0 ldr w0, [x0] cmp w1, w0 ble .L9 ldr x0, [x29, 64] ldrsw x1, [x29, 48] ldr w1, [x0, x1, lsl 2] ldr x0, [x29, 64] ldrsw x2, [x29, 44] ldr w0, [x0, x2, lsl 2] cmp w1, w0 blt .L9 ldr x0, [x29, 64] ldrsw x1, [x29, 48] ldr w0, [x0, x1, lsl 2] add w2, w0, 1 ldr x0, [x29, 64] ldrsw x1, [x29, 44] str w2, [x0, x1, lsl 2] .L9: ldr w0, [x29, 48] add w0, w0, 1 str w0, [x29, 48] .L8: ldr w1, [x29, 48] ldr w0, [x29, 44] cmp w1, w0 blt .L10 ldr w0, [x29, 44] add w0, w0, 1 str w0, [x29, 44] .L7: ldr w1, [x29, 44] ldr w0, [x29, 20] cmp w1, w0 blt .L11 str wzr, [x29, 52] b .L12 .L14: ldr x0, [x29, 64] ldrsw x1, [x29, 52] ldr w0, [x0, x1, lsl 2] ldr w1, [x29, 36] cmp w1, w0 bge .L13 ldr x0, [x29, 64] ldrsw x1, [x29, 52] ldr w0, [x0, x1, lsl 2] str w0, [x29, 36] .L13: ldr w0, [x29, 52] add w0, w0, 1 str w0, [x29, 52] .L12: ldr w1, [x29, 52] ldr w0, [x29, 20] cmp w1, w0 blt .L14 ldr w0, [x29, 36] mov sp, x10 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [x29, 72] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L16 bl __stack_chk_fail .L16: mov w0, w1 mov sp, x29 ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa 31, 0 ret .cfi_endproc .LFE0: .size length_longest_increasing_subsequence, .-length_longest_increasing_subsequence .section .rodata .align 3 .LC0: .string "\nWhat is the length of the array? " .align 3 .LC1: .string "%d" .align 3 .LC2: .string "Enter the numbers: " .align 3 .LC3: .string "The length of the longest increasing subsequence of the given array is %d" .text .align 2 .global main .type main, %function main: .LFB1: .cfi_startproc stp x29, x30, [sp, -144]! .cfi_def_cfa_offset 144 .cfi_offset 29, -144 .cfi_offset 30, -136 mov x29, sp .cfi_def_cfa_register 29 stp x19, x20, [sp, 16] stp x21, x22, [sp, 32] stp x23, x24, [sp, 48] stp x25, x26, [sp, 64] str x27, [sp, 80] sub sp, sp, #16 .cfi_offset 19, -128 .cfi_offset 20, -120 .cfi_offset 21, -112 .cfi_offset 22, -104 .cfi_offset 23, -96 .cfi_offset 24, -88 .cfi_offset 25, -80 .cfi_offset 26, -72 .cfi_offset 27, -64 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [x29, 136] mov x1, 0 mov x0, sp mov x19, x0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf add x0, x29, 108 mov x1, x0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl __isoc99_scanf ldr w0, [x29, 108] sxtw x1, w0 sub x1, x1, #1 str x1, [x29, 120] sxtw x1, w0 mov x26, x1 mov x27, 0 lsr x1, x26, 59 lsl x23, x27, 5 orr x23, x1, x23 lsl x22, x26, 5 sxtw x1, w0 mov x24, x1 mov x25, 0 lsr x1, x24, 59 lsl x21, x25, 5 orr x21, x1, x21 lsl x20, x24, 5 sxtw x0, w0 lsl x0, x0, 2 add x0, x0, 15 lsr x0, x0, 4 lsl x0, x0, 4 and x1, x0, -65536 sub x1, sp, x1 .L18: cmp sp, x1 beq .L19 sub sp, sp, #65536 str xzr, [sp, 1024] b .L18 .L19: and x1, x0, 65535 sub sp, sp, x1 str xzr, [sp] and x0, x0, 65535 cmp x0, 1024 bcc .L20 str xzr, [sp, 1024] .L20: add x0, sp, 16 add x0, x0, 3 lsr x0, x0, 2 lsl x0, x0, 2 str x0, [x29, 128] adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf str wzr, [x29, 112] b .L21 .L22: ldrsw x0, [x29, 112] lsl x0, x0, 2 ldr x1, [x29, 128] add x0, x1, x0 mov x1, x0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl __isoc99_scanf ldr w0, [x29, 112] add w0, w0, 1 str w0, [x29, 112] .L21: ldr w0, [x29, 108] ldr w1, [x29, 112] cmp w1, w0 blt .L22 ldr w0, [x29, 108] mov w1, w0 ldr x0, [x29, 128] bl length_longest_increasing_subsequence str w0, [x29, 116] ldr w1, [x29, 116] adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf mov w0, 0 mov sp, x19 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [x29, 136] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L24 bl __stack_chk_fail .L24: mov w0, w1 mov sp, x29 ldp x19, x20, [sp, 16] ldp x21, x22, [sp, 32] ldp x23, x24, [sp, 48] ldp x25, x26, [sp, 64] ldr x27, [sp, 80] ldp x29, x30, [sp], 144 .cfi_restore 30 .cfi_restore 29 .cfi_restore 27 .cfi_restore 25 .cfi_restore 26 .cfi_restore 23 .cfi_restore 24 .cfi_restore 21 .cfi_restore 22 .cfi_restore 19 .cfi_restore 20 .cfi_def_cfa 31, 0 ret .cfi_endproc .LFE1: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "%d%d" .align 3 .LC1: .string "%d" .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -208]! .cfi_def_cfa_offset 208 .cfi_offset 29, -208 .cfi_offset 30, -200 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 200] mov x1, 0 mov w0, 1 str w0, [sp, 32] mov w0, 1 str w0, [sp, 36] add x1, sp, 20 add x0, sp, 24 mov x2, x1 mov x1, x0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl __isoc99_scanf mov w0, 1 str w0, [sp, 28] b .L2 .L3: ldr w0, [sp, 24] add w1, w0, 1 ldr w0, [sp, 28] sub w2, w1, w0 ldrsw x0, [sp, 28] lsl x0, x0, 2 add x1, sp, 40 str w2, [x1, x0] ldrsw x0, [sp, 28] lsl x0, x0, 2 add x1, sp, 40 ldr w0, [x1, x0] ldr w1, [sp, 32] mul w0, w1, w0 str w0, [sp, 32] ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L2: ldr w0, [sp, 20] ldr w1, [sp, 28] cmp w1, w0 ble .L3 mov w0, 1 str w0, [sp, 28] b .L4 .L5: ldrsw x0, [sp, 28] lsl x0, x0, 2 add x1, sp, 120 ldr w2, [sp, 28] str w2, [x1, x0] ldrsw x0, [sp, 28] lsl x0, x0, 2 add x1, sp, 120 ldr w0, [x1, x0] ldr w1, [sp, 36] mul w0, w1, w0 str w0, [sp, 36] ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L4: ldr w0, [sp, 20] ldr w1, [sp, 28] cmp w1, w0 ble .L5 ldr w1, [sp, 32] ldr w0, [sp, 36] sdiv w0, w1, w0 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, 200] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L7 bl __stack_chk_fail .L7: mov w0, w1 ldp x29, x30, [sp], 208 .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 size .type size, %function size: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] strb wzr, [sp, 31] ldr w0, [sp, 12] cmp w0, 0 bne .L2 mov w0, 88 strb w0, [sp, 31] b .L3 .L2: ldr w0, [sp, 12] cmp w0, 37 bgt .L4 mov w0, 83 strb w0, [sp, 31] b .L3 .L4: ldr w0, [sp, 12] cmp w0, 37 ble .L5 ldr w0, [sp, 12] cmp w0, 42 bgt .L5 mov w0, 77 strb w0, [sp, 31] b .L3 .L5: ldr w0, [sp, 12] cmp w0, 42 ble .L3 mov w0, 76 strb w0, [sp, 31] .L3: ldrb w0, [sp, 31] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size size, .-size .section .rodata .align 3 .LC0: .string "program.c" .align 3 .LC1: .string "size(37) == 'S'" .align 3 .LC2: .string "(size(38) == 'S') || (size(38) == 'M')" .align 3 .LC3: .string "size(40) == 'M'" .align 3 .LC4: .string "(size(42) == 'M') || (size(42) == 'L')" .align 3 .LC5: .string "size(43) == 'L'" .align 3 .LC6: .string "size(0) == 'X'" .align 3 .LC7: .string "All is well (maybe!)" .text .align 2 .global main .type main, %function main: .LFB1: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp mov w0, 37 bl size and w0, w0, 255 cmp w0, 83 beq .L8 adrp x0, __PRETTY_FUNCTION__.0 add x3, x0, :lo12:__PRETTY_FUNCTION__.0 mov w2, 19 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl __assert_fail .L8: mov w0, 38 bl size and w0, w0, 255 cmp w0, 83 beq .L9 mov w0, 38 bl size and w0, w0, 255 cmp w0, 77 beq .L9 adrp x0, __PRETTY_FUNCTION__.0 add x3, x0, :lo12:__PRETTY_FUNCTION__.0 mov w2, 20 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl __assert_fail .L9: mov w0, 40 bl size and w0, w0, 255 cmp w0, 77 beq .L10 adrp x0, __PRETTY_FUNCTION__.0 add x3, x0, :lo12:__PRETTY_FUNCTION__.0 mov w2, 21 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl __assert_fail .L10: mov w0, 42 bl size and w0, w0, 255 cmp w0, 77 beq .L11 mov w0, 42 bl size and w0, w0, 255 cmp w0, 76 beq .L11 adrp x0, __PRETTY_FUNCTION__.0 add x3, x0, :lo12:__PRETTY_FUNCTION__.0 mov w2, 22 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl __assert_fail .L11: mov w0, 43 bl size and w0, w0, 255 cmp w0, 76 beq .L12 adrp x0, __PRETTY_FUNCTION__.0 add x3, x0, :lo12:__PRETTY_FUNCTION__.0 mov w2, 23 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl __assert_fail .L12: mov w0, 0 bl size and w0, w0, 255 cmp w0, 88 beq .L13 adrp x0, __PRETTY_FUNCTION__.0 add x3, x0, :lo12:__PRETTY_FUNCTION__.0 mov w2, 24 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl __assert_fail .L13: adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl puts mov w0, 0 ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size main, .-main .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 "C08_P00430" .align 3 .LC1: .string "C%d_P%d" .align 3 .LC2: .string "i1 is %i and i2 is %i\n" .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 adrp x0, .LC0 add x0, x0, :lo12:.LC0 str x0, [sp, 48] add x1, sp, 44 add x0, sp, 40 mov x3, x1 mov x2, x0 adrp x0, .LC1 add x1, x0, :lo12:.LC1 ldr x0, [sp, 48] bl __isoc99_sscanf ldr w0, [sp, 40] ldr w1, [sp, 44] mov w2, w1 mov w1, w0 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 56] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L3 bl __stack_chk_fail .L3: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "Usage: HXF2IHFS <hxf_img> <ihfs_img> [ihfs_size]\n" .text .align 2 .global usage .type usage, %function usage: .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, :got:stderr ldr x0, [x0, #:got_lo12:stderr] ldr x0, [x0] mov x3, x0 mov x2, 49 mov x1, 1 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl fwrite mov w0, 1 bl exit .cfi_endproc .LFE6: .size usage, .-usage .section .rodata .align 3 .LC1: .string "Starting sanity check for HXF image..." .align 3 .LC2: .string " Checking for HXF signature..." .align 3 .LC3: .string " Checking for unknown value 1..." .align 3 .LC4: .string "0100" .align 3 .LC5: .string " Checking for length..." .align 3 .LC6: .string " Checking for unknown value 3..." .align 3 .LC7: .string " Checking for id..." .align 3 .LC8: .string "Chinachip PMP firmware V1.0" .string "" .string "" .string "" .string "" .string "" .align 3 .LC9: .string " Checking for file completeness..." .text .align 2 .global hxf_sanity .type hxf_sanity, %function hxf_sanity: .LFB7: .cfi_startproc stp x29, x30, [sp, -256]! .cfi_def_cfa_offset 256 .cfi_offset 29, -256 .cfi_offset 30, -248 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, 248] mov x1, 0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl puts mov w2, 0 mov x1, 0 ldr w0, [sp, 28] bl lseek add x0, sp, 56 mov x2, 64 mov x1, x0 ldr w0, [sp, 28] bl read adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl puts ldr w1, [sp, 56] mov w0, 16727 movk w0, 0x4644, lsl 16 cmp w1, w0 beq .L3 mov w0, 1 b .L18 .L3: adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl puts add x0, sp, 56 add x3, x0, 4 mov x2, 4 adrp x0, .LC4 add x1, x0, :lo12:.LC4 mov x0, x3 bl strncmp cmp w0, 0 beq .L5 mov w0, 1 b .L18 .L5: adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl puts add x0, sp, 120 mov x1, x0 ldr w0, [sp, 28] bl fstat ldr w0, [sp, 76] uxtw x1, w0 ldr x0, [sp, 168] cmp x1, x0 beq .L6 mov w0, 1 b .L18 .L6: adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl puts ldr w0, [sp, 84] cmp w0, 0 beq .L7 mov w0, 1 b .L18 .L7: adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl puts add x0, sp, 56 add x3, x0, 32 mov x2, 32 adrp x0, .LC8 add x1, x0, :lo12:.LC8 mov x0, x3 bl memcmp cmp w0, 0 beq .L8 mov w0, 1 b .L18 .L8: adrp x0, .LC9 add x0, x0, :lo12:.LC9 bl puts .L16: add x0, sp, 40 mov x2, 4 mov x1, x0 ldr w0, [sp, 28] bl read str w0, [sp, 48] ldr w0, [sp, 48] cmp w0, 4 beq .L9 mov w0, 1 b .L18 .L9: ldr w0, [sp, 40] cmp w0, 0 beq .L21 ldr w0, [sp, 40] add w0, w0, 1 sxtw x0, w0 mov w2, 1 mov x1, x0 ldr w0, [sp, 28] bl lseek str w0, [sp, 48] ldr w0, [sp, 48] cmp w0, 0 bge .L12 mov w0, 1 b .L18 .L12: add x0, sp, 44 mov x2, 4 mov x1, x0 ldr w0, [sp, 28] bl read str w0, [sp, 48] ldr w0, [sp, 48] cmp w0, 4 beq .L13 mov w0, 1 b .L18 .L13: ldr w0, [sp, 44] cmp w0, 0 bgt .L14 mov w0, 1 b .L18 .L14: ldr w0, [sp, 44] sxtw x0, w0 mov w2, 1 mov x1, x0 ldr w0, [sp, 28] bl lseek str w0, [sp, 48] ldr w0, [sp, 48] cmp w0, 0 bge .L16 mov w0, 1 b .L18 .L21: nop mov w2, 1 mov x1, 0 ldr w0, [sp, 28] bl lseek str w0, [sp, 52] ldrsw x1, [sp, 52] ldr x0, [sp, 168] cmp x1, x0 beq .L17 mov w0, 1 b .L18 .L17: mov w0, 0 .L18: mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 248] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L19 bl __stack_chk_fail .L19: mov w0, w1 ldp x29, x30, [sp], 256 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size hxf_sanity, .-hxf_sanity .align 2 .global hxf_ihfs_compatible .type hxf_ihfs_compatible, %function hxf_ihfs_compatible: .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] 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 w2, 0 mov x1, 64 ldr w0, [sp, 28] bl lseek str wzr, [sp, 52] .L27: add x0, sp, 44 mov x2, 4 mov x1, x0 ldr w0, [sp, 28] bl read ldr w0, [sp, 44] cmp w0, 0 beq .L32 ldr w0, [sp, 44] cmp w0, 56 ble .L25 mov w0, 1 b .L29 .L25: ldr w0, [sp, 44] add w0, w0, 1 sxtw x0, w0 mov w2, 1 mov x1, x0 ldr w0, [sp, 28] bl lseek add x0, sp, 48 mov x2, 4 mov x1, x0 ldr w0, [sp, 28] bl read ldr w0, [sp, 48] sxtw x0, w0 mov w2, 1 mov x1, x0 ldr w0, [sp, 28] bl lseek ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] b .L27 .L32: nop ldr w0, [sp, 52] cmp w0, 2048 ble .L28 mov w0, 1 b .L29 .L28: mov w0, 0 .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 .LFE8: .size hxf_ihfs_compatible, .-hxf_ihfs_compatible .align 2 .global hxf_to_ihfs .type hxf_to_ihfs, %function hxf_to_ihfs: .LFB9: .cfi_startproc sub sp, sp, #1088 .cfi_def_cfa_offset 1088 stp x29, x30, [sp] .cfi_offset 29, -1088 .cfi_offset 30, -1080 mov x29, sp str w0, [sp, 28] str w1, [sp, 24] str w2, [sp, 20] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 1080] mov x1, 0 ldr w0, [sp, 20] add w1, w0, 511 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 9 str w0, [sp, 48] ldr w0, [sp, 20] negs w1, w0 and w0, w0, 511 and w1, w1, 511 csneg w0, w0, w1, mi str w0, [sp, 52] str wzr, [sp, 44] b .L34 .L35: add x0, sp, 56 mov x2, 512 mov x1, x0 ldr w0, [sp, 28] bl read add x0, sp, 56 mov x2, 512 mov x1, x0 ldr w0, [sp, 24] bl write ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L34: ldr w1, [sp, 44] ldr w0, [sp, 48] cmp w1, w0 blt .L35 ldr w0, [sp, 52] cmp w0, 0 ble .L38 ldrsw x1, [sp, 52] add x0, sp, 56 mov x2, x1 mov x1, x0 ldr w0, [sp, 28] bl read ldrsw x1, [sp, 52] add x0, sp, 56 mov x2, x1 mov x1, x0 ldr w0, [sp, 24] bl write mov w1, 512 ldr w0, [sp, 52] sub w0, w1, w0 sxtw x1, w0 add x0, sp, 568 mov x2, x1 mov w1, 255 bl memset mov w1, 512 ldr w0, [sp, 52] sub w0, w1, w0 sxtw x1, w0 add x0, sp, 568 mov x2, x1 mov x1, x0 ldr w0, [sp, 24] bl write .L38: nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 1080] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L37 bl __stack_chk_fail .L37: ldp x29, x30, [sp] add sp, sp, 1088 .cfi_restore 29 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size hxf_to_ihfs, .-hxf_to_ihfs .section .rodata .align 3 .LC10: .string "Non-HXF format!" .align 3 .LC11: .string "Sanity check OK" .align 3 .LC12: .string "HXF info:" .align 3 .LC13: .string " Signature: 0x%08x\n" .align 3 .LC14: .string " Unknown1: %s\n" .align 3 .LC15: .string " Timestamp: %s\n" .align 3 .LC16: .string " File size: %d bytes\n" .align 3 .LC17: .string " Unknown2: 0x%08x\n" .align 3 .LC18: .string " Unknown3: 0x%08x\n" .align 3 .LC19: .string " Identifier: %s\n" .align 3 .LC20: .string "This HXF image can't be converted into IHFS" .align 3 .LC21: .string "HXF can be converted into IHFS" .align 3 .LC22: .string "Something wrong happened during IHFS image creation at %d\n" .align 3 .LC23: .string "Done!" .text .align 2 .global main .type main, %function main: .LFB10: .cfi_startproc sub sp, sp, #65536 .cfi_def_cfa_offset 65536 str xzr, [sp, 1024] sub sp, sp, #65536 .cfi_def_cfa_offset 131072 str xzr, [sp, 1024] sub sp, sp, #1856 .cfi_def_cfa_offset 132928 stp x29, x30, [sp] .cfi_offset 29, -132928 .cfi_offset 30, -132920 mov x29, sp str w0, [sp, 28] str x1, [sp, 16] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] add x1, sp, 131072 ldr x2, [x0] str x2, [x1, 1848] mov x2, 0 ldr w0, [sp, 28] cmp w0, 3 beq .L40 ldr w0, [sp, 28] cmp w0, 4 beq .L40 bl usage .L40: ldr x0, [sp, 16] add x0, x0, 8 ldr x0, [x0] add x1, sp, 152 bl stat ldr w0, [sp, 168] and w0, w0, 61440 cmp w0, 32768 beq .L41 bl usage .L41: ldr w0, [sp, 28] cmp w0, 3 bne .L42 mov w0, 65273856 str w0, [sp, 60] b .L43 .L42: bl __errno_location str wzr, [x0] ldr x0, [sp, 16] add x0, x0, 24 ldr x0, [x0] mov w2, 10 mov x1, 0 bl strtol str w0, [sp, 60] bl __errno_location ldr w0, [x0] cmp w0, 0 bne .L44 ldr w0, [sp, 60] cmp w0, 0 blt .L44 ldr w0, [sp, 60] and w0, w0, 511 cmp w0, 0 beq .L43 .L44: bl usage .L43: ldr x0, [sp, 16] add x0, x0, 8 ldr x0, [x0] mov w1, 0 bl open str w0, [sp, 68] ldr w0, [sp, 68] bl hxf_sanity cmp w0, 0 beq .L45 adrp x0, .LC10 add x0, x0, :lo12:.LC10 bl puts mov w0, 1 b .L61 .L45: adrp x0, .LC11 add x0, x0, :lo12:.LC11 bl puts mov w2, 0 mov x1, 0 ldr w0, [sp, 68] bl lseek add x0, sp, 88 mov x2, 64 mov x1, x0 ldr w0, [sp, 68] bl read adrp x0, .LC12 add x0, x0, :lo12:.LC12 bl puts ldr w0, [sp, 88] mov w1, w0 adrp x0, .LC13 add x0, x0, :lo12:.LC13 bl printf add x0, sp, 88 add x1, x0, 4 add x0, sp, 131072 add x0, x0, 792 mov x2, 4 bl strncpy add x0, sp, 131072 strb wzr, [x0, 796] add x0, sp, 131072 add x0, x0, 792 mov x1, x0 adrp x0, .LC14 add x0, x0, :lo12:.LC14 bl printf add x0, sp, 88 add x1, x0, 8 add x0, sp, 131072 add x0, x0, 792 mov x2, 12 bl strncpy add x0, sp, 131072 strb wzr, [x0, 804] add x0, sp, 131072 add x0, x0, 792 mov x1, x0 adrp x0, .LC15 add x0, x0, :lo12:.LC15 bl printf ldr w0, [sp, 108] mov w1, w0 adrp x0, .LC16 add x0, x0, :lo12:.LC16 bl printf ldr w0, [sp, 112] mov w1, w0 adrp x0, .LC17 add x0, x0, :lo12:.LC17 bl printf ldr w0, [sp, 116] mov w1, w0 adrp x0, .LC18 add x0, x0, :lo12:.LC18 bl printf add x0, sp, 88 add x0, x0, 32 mov x1, x0 adrp x0, .LC19 add x0, x0, :lo12:.LC19 bl printf ldr w0, [sp, 68] bl hxf_ihfs_compatible cmp w0, 0 beq .L47 adrp x0, .LC20 add x0, x0, :lo12:.LC20 bl puts mov w0, 1 b .L61 .L47: adrp x0, .LC21 add x0, x0, :lo12:.LC21 bl puts mov w0, 18003 movk w0, 0x4948, lsl 16 str w0, [sp, 280] ldr w0, [sp, 60] add w1, w0, 511 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 9 str w0, [sp, 284] mov w0, 4 str w0, [sp, 288] mov w0, -4096 str w0, [sp, 292] add x0, sp, 296 add x1, sp, 96 ldr x2, [x1] str x2, [x0] ldr w1, [x1, 8] str w1, [x0, 8] str wzr, [sp, 308] add x0, sp, 280 add x0, x0, 32 mov x2, 476 mov w1, 0 bl memset mov w0, 21930 movk w0, 0x55aa, lsl 16 str w0, [sp, 788] add x0, sp, 792 mov x2, 131072 mov w1, 0 bl memset mov w2, 0 mov x1, 64 ldr w0, [sp, 68] bl lseek ldr x0, [sp, 16] add x0, x0, 16 ldr x0, [x0] mov w2, 420 mov w1, 577 bl open str w0, [sp, 72] mov w2, 0 mov x1, 2048 movk x1, 0x2, lsl 16 ldr w0, [sp, 72] bl lseek str wzr, [sp, 56] b .L48 .L51: add x0, sp, 48 mov x2, 4 mov x1, x0 ldr w0, [sp, 68] bl read ldr w0, [sp, 48] cmp w0, 0 beq .L63 ldr w0, [sp, 48] add w0, w0, 1 sxtw x0, w0 bl malloc str x0, [sp, 80] ldr w0, [sp, 48] sxtw x0, w0 mov x2, x0 ldr x1, [sp, 80] ldr w0, [sp, 68] bl read ldr w0, [sp, 48] sxtw x0, w0 ldr x1, [sp, 80] add x0, x1, x0 strb wzr, [x0] add x0, sp, 47 mov x2, 1 mov x1, x0 ldr w0, [sp, 68] bl read add x0, sp, 52 mov x2, 4 mov x1, x0 ldr w0, [sp, 68] bl read add x1, sp, 792 ldrsw x0, [sp, 56] lsl x0, x0, 6 add x0, x1, x0 mov x2, 56 ldr x1, [sp, 80] bl strncpy mov w2, 1 mov x1, 0 ldr w0, [sp, 72] bl lseek add x1, x0, 511 cmp x0, 0 csel x0, x1, x0, lt asr x0, x0, 9 mov w2, w0 ldrsw x0, [sp, 56] lsl x0, x0, 6 add x1, sp, 848 str w2, [x1, x0] ldr w0, [sp, 52] mov w2, w0 ldrsw x0, [sp, 56] lsl x0, x0, 6 add x1, sp, 852 str w2, [x1, x0] ldr w0, [sp, 52] mov w2, w0 ldr w1, [sp, 72] ldr w0, [sp, 68] bl hxf_to_ihfs ldr x0, [sp, 80] bl free ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L48: mov w2, 1 mov x1, 0 ldr w0, [sp, 68] bl lseek mov x1, x0 ldr w0, [sp, 108] uxtw x0, w0 cmp x1, x0 blt .L51 b .L50 .L63: nop .L50: ldr w0, [sp, 56] str w0, [sp, 308] mov w2, 1 mov x1, 0 ldr w0, [sp, 72] bl lseek str w0, [sp, 64] ldr w0, [sp, 64] and w0, w0, 511 cmp w0, 0 beq .L52 ldr w1, [sp, 64] adrp x0, .LC22 add x0, x0, :lo12:.LC22 bl printf mov w0, 1 b .L61 .L52: ldr w1, [sp, 64] ldr w0, [sp, 60] cmp w1, w0 bge .L53 ldr w1, [sp, 64] mov w0, 34865151 cmp w1, w0 bgt .L53 add x0, sp, 131072 add x0, x0, 1336 mov x2, 512 mov w1, 255 bl memset mov w1, 34865152 ldr w0, [sp, 64] sub w0, w1, w0 add w1, w0, 511 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 9 str w0, [sp, 76] str wzr, [sp, 56] b .L54 .L55: add x0, sp, 131072 add x0, x0, 1336 mov x2, 512 mov x1, x0 ldr w0, [sp, 72] bl write ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L54: ldr w1, [sp, 56] ldr w0, [sp, 76] cmp w1, w0 blt .L55 mov w0, 34865152 str w0, [sp, 64] .L53: ldr w1, [sp, 64] ldr w0, [sp, 60] cmp w1, w0 bge .L56 str wzr, [sp, 56] b .L57 .L58: ldrsw x0, [sp, 56] add x1, sp, 131072 add x1, x1, 824 mov w2, -34 strb w2, [x1, x0] ldr w0, [sp, 56] add w0, w0, 1 sxtw x0, w0 add x1, sp, 131072 add x1, x1, 824 mov w2, -83 strb w2, [x1, x0] ldr w0, [sp, 56] add w0, w0, 2 sxtw x0, w0 add x1, sp, 131072 add x1, x1, 824 mov w2, -6 strb w2, [x1, x0] ldr w0, [sp, 56] add w0, w0, 3 sxtw x0, w0 add x1, sp, 131072 add x1, x1, 824 mov w2, -50 strb w2, [x1, x0] ldr w0, [sp, 56] add w0, w0, 4 str w0, [sp, 56] .L57: ldr w0, [sp, 56] cmp w0, 511 ble .L58 ldr w1, [sp, 60] ldr w0, [sp, 64] sub w0, w1, w0 add w1, w0, 511 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 9 str w0, [sp, 76] str wzr, [sp, 56] b .L59 .L60: add x0, sp, 131072 add x0, x0, 824 mov x2, 512 mov x1, x0 ldr w0, [sp, 72] bl write ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L59: ldr w1, [sp, 56] ldr w0, [sp, 76] cmp w1, w0 blt .L60 .L56: mov w2, 0 mov x1, 0 ldr w0, [sp, 72] bl lseek add x0, sp, 280 mov x2, 512 mov x1, x0 ldr w0, [sp, 72] bl write add x0, sp, 131072 add x0, x0, 1336 mov x2, 512 mov w1, 255 bl memset add x0, sp, 131072 add x0, x0, 1336 mov x2, 512 mov x1, x0 ldr w0, [sp, 72] bl write add x0, sp, 131072 add x0, x0, 1336 mov x2, 512 mov x1, x0 ldr w0, [sp, 72] bl write add x0, sp, 131072 add x0, x0, 1336 mov x2, 512 mov x1, x0 ldr w0, [sp, 72] bl write add x0, sp, 792 mov x2, 131072 mov x1, x0 ldr w0, [sp, 72] bl write ldr w0, [sp, 68] bl close ldr w0, [sp, 72] bl close adrp x0, .LC23 add x0, x0, :lo12:.LC23 bl puts mov w0, 0 .L61: mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] add x3, sp, 131072 ldr x4, [x3, 1848] ldr x2, [x0] subs x4, x4, x2 mov x2, 0 beq .L62 bl __stack_chk_fail .L62: mov w0, w1 ldp x29, x30, [sp] .cfi_restore 29 .cfi_restore 30 add sp, sp, 1856 .cfi_def_cfa_offset 131072 add sp, sp, 131072 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE10: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .local nlmsg .comm nlmsg,1104,8 .align 2 .type netlink_init, %function netlink_init: .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, 40] str w1, [sp, 36] str w2, [sp, 32] str x3, [sp, 24] str w4, [sp, 20] mov x2, 1104 mov w1, 0 ldr x0, [sp, 40] bl memset ldr x0, [sp, 40] add x0, x0, 80 str x0, [sp, 56] ldr w0, [sp, 36] and w1, w0, 65535 ldr x0, [sp, 56] strh w1, [x0, 4] ldr w0, [sp, 32] sxth w1, w0 mov w0, 5 orr w0, w1, w0 sxth w0, w0 and w1, w0, 65535 ldr x0, [sp, 56] strh w1, [x0, 6] ldr x0, [sp, 56] add x0, x0, 16 ldrsw x1, [sp, 20] mov x2, x1 ldr x1, [sp, 24] bl memcpy ldr w0, [sp, 20] add w0, w0, 3 uxtw x0, w0 and x0, x0, 4294967292 add x0, x0, 16 ldr x1, [sp, 56] add x1, x1, x0 ldr x0, [sp, 40] str x1, [x0] nop ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size netlink_init, .-netlink_init .align 2 .type netlink_attr, %function netlink_attr: .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 w1, [sp, 36] str x2, [sp, 24] str w3, [sp, 32] ldr x0, [sp, 40] ldr x0, [x0] str x0, [sp, 56] ldr w0, [sp, 32] and w0, w0, 65535 add w0, w0, 4 and w1, w0, 65535 ldr x0, [sp, 56] strh w1, [x0] ldr w0, [sp, 36] and w1, w0, 65535 ldr x0, [sp, 56] strh w1, [x0, 2] ldr x0, [sp, 56] add x0, x0, 4 ldrsw x1, [sp, 32] mov x2, x1 ldr x1, [sp, 24] bl memcpy ldr x0, [sp, 40] ldr x1, [x0] ldr x0, [sp, 56] ldrh w0, [x0] add w0, w0, 3 uxtw x0, w0 and x0, x0, 4294967292 add x1, x1, x0 ldr x0, [sp, 40] str x1, [x0] nop ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size netlink_attr, .-netlink_attr .align 2 .type netlink_send_ext, %function netlink_send_ext: .LFB8: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] strh w2, [sp, 34] str x3, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 88] mov x1, 0 ldr x0, [sp, 40] ldr x1, [x0] ldr x0, [sp, 40] add x0, x0, 80 add x0, x0, 1024 cmp x1, x0 bhi .L4 ldr x0, [sp, 40] ldr w0, [x0, 8] cmp w0, 0 beq .L5 .L4: mov w0, 1 bl exit .L5: ldr x0, [sp, 40] add x0, x0, 80 str x0, [sp, 64] ldr x0, [sp, 40] ldr x1, [x0] ldr x0, [sp, 40] add x0, x0, 80 sub x0, x1, x0 mov w1, w0 ldr x0, [sp, 64] str w1, [x0] add x0, sp, 72 mov x2, 12 mov w1, 0 bl memset mov w0, 16 strh w0, [sp, 72] ldr x0, [sp, 40] add x1, x0, 80 ldr x0, [sp, 64] ldr w0, [x0] uxtw x0, w0 add x2, sp, 72 mov w5, 12 mov x4, x2 mov w3, 0 mov x2, x0 ldr w0, [sp, 36] bl sendto str w0, [sp, 60] ldr x0, [sp, 64] ldr w0, [x0] ldr w1, [sp, 60] cmp w1, w0 beq .L6 mov w0, 1 bl exit .L6: ldr x0, [sp, 40] add x0, x0, 80 mov w3, 0 mov x2, 1024 mov x1, x0 ldr w0, [sp, 36] bl recv str w0, [sp, 60] ldr x0, [sp, 64] ldrh w0, [x0, 4] cmp w0, 3 bne .L7 ldr x0, [sp, 24] str wzr, [x0] mov w0, 0 b .L13 .L7: ldr w0, [sp, 60] cmp w0, 15 bhi .L9 mov w0, 1 bl exit .L9: ldr x0, [sp, 24] cmp x0, 0 beq .L10 ldr x0, [sp, 64] ldrh w0, [x0, 4] ldrh w1, [sp, 34] cmp w1, w0 bne .L10 ldr w1, [sp, 60] ldr x0, [sp, 24] str w1, [x0] mov w0, 0 b .L13 .L10: ldr w0, [sp, 60] cmp w0, 35 bhi .L11 mov w0, 1 bl exit .L11: ldr x0, [sp, 64] ldrh w0, [x0, 4] cmp w0, 2 beq .L12 mov w0, 1 bl exit .L12: ldr x0, [sp, 64] add x0, x0, 16 ldr w0, [x0] neg w0, w0 .L13: 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 .L14 bl __stack_chk_fail .L14: mov w0, w1 ldp x29, x30, [sp], 96 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE8: .size netlink_send_ext, .-netlink_send_ext .align 2 .type netlink_send, %function netlink_send: .LFB9: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] mov x3, 0 mov w2, 0 ldr w1, [sp, 20] ldr x0, [sp, 24] bl netlink_send_ext ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size netlink_send, .-netlink_send .align 2 .type netlink_next_msg, %function netlink_next_msg: .LFB10: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str w2, [sp] ldr x0, [sp, 8] add x1, x0, 80 ldr w0, [sp, 4] add x0, x1, x0 str x0, [sp, 24] ldr w1, [sp, 4] ldr w0, [sp] cmp w1, w0 beq .L18 ldr x0, [sp, 24] ldr w1, [x0] ldr w0, [sp, 4] add w0, w1, w0 ldr w1, [sp] cmp w1, w0 bcs .L19 .L18: mov w0, -1 b .L20 .L19: ldr x0, [sp, 24] ldr w0, [x0] .L20: add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE10: .size netlink_next_msg, .-netlink_next_msg .align 2 .type netlink_device_change, %function netlink_device_change: .LFB11: .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 w1, [sp, 68] str x2, [sp, 56] strb w3, [sp, 67] str x4, [sp, 48] str x5, [sp, 40] str w6, [sp, 36] str x7, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 104] mov x1, 0 add x0, sp, 88 mov x2, 16 mov w1, 0 bl memset ldrb w0, [sp, 67] cmp w0, 0 beq .L22 mov w0, 1 str w0, [sp, 100] ldr w0, [sp, 100] str w0, [sp, 96] .L22: ldr x0, [sp, 56] bl if_nametoindex str w0, [sp, 92] add x0, sp, 88 mov w4, 16 mov x3, x0 mov w2, 0 mov w1, 16 ldr x0, [sp, 72] bl netlink_init ldr x0, [sp, 24] cmp x0, 0 beq .L23 ldr x0, [sp, 24] bl strlen mov w3, w0 ldr x2, [sp, 24] mov w1, 3 ldr x0, [sp, 72] bl netlink_attr .L23: ldr x0, [sp, 48] cmp x0, 0 beq .L24 ldr x0, [sp, 48] bl if_nametoindex str w0, [sp, 80] add x0, sp, 80 mov w3, 4 mov x2, x0 mov w1, 10 ldr x0, [sp, 72] bl netlink_attr .L24: ldr w0, [sp, 36] cmp w0, 0 beq .L25 ldr w3, [sp, 36] ldr x2, [sp, 40] mov w1, 1 ldr x0, [sp, 72] bl netlink_attr .L25: ldr w1, [sp, 68] ldr x0, [sp, 72] bl netlink_send str w0, [sp, 84] nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 104] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L26 bl __stack_chk_fail .L26: ldp x29, x30, [sp], 112 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE11: .size netlink_device_change, .-netlink_device_change .global kInitNetNsFd .section .rodata .align 2 .type kInitNetNsFd, %object .size kInitNetNsFd, 4 kInitNetNsFd: .word 239 .align 3 .LC0: .string "devlink" .text .align 2 .type netlink_devlink_id_get, %function netlink_devlink_id_get: .LFB12: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 72] mov x1, 0 strh wzr, [sp, 46] add x0, sp, 48 mov x2, 4 mov w1, 0 bl memset mov w0, 3 strb w0, [sp, 48] add x0, sp, 48 mov w4, 4 mov x3, x0 mov w2, 0 mov w1, 16 ldr x0, [sp, 24] bl netlink_init mov w3, 8 adrp x0, .LC0 add x2, x0, :lo12:.LC0 mov w1, 2 ldr x0, [sp, 24] bl netlink_attr add x0, sp, 56 mov x3, x0 mov w2, 16 ldr w1, [sp, 20] ldr x0, [sp, 24] bl netlink_send_ext str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L28 mov w0, -1 b .L35 .L28: ldr x0, [sp, 24] add x0, x0, 80 add x0, x0, 20 str x0, [sp, 64] b .L30 .L33: ldr x0, [sp, 64] ldrh w0, [x0, 2] cmp w0, 1 bne .L31 ldr x0, [sp, 64] ldrh w0, [x0, 4] strh w0, [sp, 46] b .L32 .L31: ldr x0, [sp, 64] ldrh w0, [x0] add w0, w0, 3 uxtw x0, w0 and x0, x0, 4294967292 ldr x1, [sp, 64] add x0, x1, x0 str x0, [sp, 64] .L30: ldr x0, [sp, 24] add x1, x0, 80 ldr w0, [sp, 56] sxtw x0, w0 add x0, x1, x0 ldr x1, [sp, 64] cmp x1, x0 bcc .L33 .L32: ldrh w0, [sp, 46] cmp w0, 0 bne .L34 mov w0, -1 b .L35 .L34: ldr x0, [sp, 24] add x0, x0, 80 mov w3, 0 mov x2, 1024 mov x1, x0 ldr w0, [sp, 20] bl recv ldrh w0, [sp, 46] .L35: 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 .L36 bl __stack_chk_fail .L36: mov w0, w1 ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE12: .size netlink_devlink_id_get, .-netlink_devlink_id_get .align 2 .type netlink_devlink_netns_move, %function netlink_devlink_netns_move: .LFB13: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 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, 72] mov x1, 0 mov w2, 16 mov w1, 3 mov w0, 16 bl socket str w0, [sp, 60] ldr w0, [sp, 60] cmn w0, #1 bne .L38 mov w0, 1 bl exit .L38: ldr w1, [sp, 60] adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_devlink_id_get str w0, [sp, 64] ldr w0, [sp, 64] cmn w0, #1 beq .L42 add x0, sp, 56 mov x2, 4 mov w1, 0 bl memset mov w0, 37 strb w0, [sp, 56] add x0, sp, 56 mov w4, 4 mov x3, x0 mov w2, 0 ldr w1, [sp, 64] adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_init ldr x0, [sp, 40] bl strlen add w0, w0, 1 mov w3, w0 ldr x2, [sp, 40] mov w1, 1 adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_attr ldr x0, [sp, 32] bl strlen add w0, w0, 1 mov w3, w0 ldr x2, [sp, 32] mov w1, 2 adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_attr add x0, sp, 28 mov w3, 4 mov x2, x0 mov w1, 138 adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_attr ldr w1, [sp, 60] adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_send str w0, [sp, 68] b .L40 .L42: nop .L40: ldr w0, [sp, 60] bl close nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 72] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L41 bl __stack_chk_fail .L41: ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE13: .size netlink_devlink_netns_move, .-netlink_devlink_netns_move .local nlmsg2 .comm nlmsg2,1104,8 .section .rodata .align 3 .LC1: .string "%s%d" .text .align 2 .type initialize_devlink_ports, %function initialize_devlink_ports: .LFB14: .cfi_startproc stp x29, x30, [sp, -128]! .cfi_def_cfa_offset 128 .cfi_offset 29, -128 .cfi_offset 30, -120 mov x29, sp str x0, [sp, 40] str x1, [sp, 32] str x2, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 120] mov x1, 0 mov w2, 16 mov w1, 3 mov w0, 16 bl socket str w0, [sp, 68] ldr w0, [sp, 68] cmn w0, #1 bne .L44 mov w0, 1 bl exit .L44: mov w2, 0 mov w1, 3 mov w0, 16 bl socket str w0, [sp, 72] ldr w0, [sp, 72] cmn w0, #1 bne .L45 mov w0, 1 bl exit .L45: ldr w1, [sp, 68] adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_devlink_id_get str w0, [sp, 76] ldr w0, [sp, 76] cmn w0, #1 beq .L56 add x0, sp, 56 mov x2, 4 mov w1, 0 bl memset mov w0, 5 strb w0, [sp, 56] add x0, sp, 56 mov w4, 4 mov x3, x0 mov w2, 768 ldr w1, [sp, 76] adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_init ldr x0, [sp, 40] bl strlen add w0, w0, 1 mov w3, w0 ldr x2, [sp, 40] mov w1, 1 adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_attr ldr x0, [sp, 32] bl strlen add w0, w0, 1 mov w3, w0 ldr x2, [sp, 32] mov w1, 2 adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_attr ldr w0, [sp, 76] and w1, w0, 65535 add x0, sp, 60 mov x3, x0 mov w2, w1 ldr w1, [sp, 68] adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_send_ext str w0, [sp, 80] ldr w0, [sp, 80] cmp w0, 0 bne .L57 str wzr, [sp, 64] strh wzr, [sp, 54] b .L49 .L54: ldrsw x0, [sp, 64] add x1, x0, 20 adrp x0, nlmsg+80 add x0, x0, :lo12:nlmsg+80 add x0, x1, x0 str x0, [sp, 88] b .L50 .L53: ldr x0, [sp, 88] ldrh w0, [x0, 2] cmp w0, 7 bne .L51 ldr x0, [sp, 88] add x0, x0, 4 str x0, [sp, 96] ldrh w0, [sp, 54] add x5, sp, 104 mov w4, w0 ldr x3, [sp, 24] adrp x0, .LC1 add x2, x0, :lo12:.LC1 mov x1, 16 mov x0, x5 bl snprintf add x0, sp, 104 mov x7, x0 mov w6, 0 mov x5, 0 mov x4, 0 mov w3, 1 ldr x2, [sp, 96] ldr w1, [sp, 72] adrp x0, nlmsg2 add x0, x0, :lo12:nlmsg2 bl netlink_device_change b .L52 .L51: ldr x0, [sp, 88] ldrh w0, [x0] add w0, w0, 3 uxtw x0, w0 and x0, x0, 4294967292 ldr x1, [sp, 88] add x0, x1, x0 str x0, [sp, 88] .L50: ldrsw x1, [sp, 64] ldrsw x0, [sp, 84] add x1, x1, x0 adrp x0, nlmsg+80 add x0, x0, :lo12:nlmsg+80 add x0, x1, x0 ldr x1, [sp, 88] cmp x1, x0 bcc .L53 .L52: ldr w1, [sp, 64] ldr w0, [sp, 84] add w0, w1, w0 str w0, [sp, 64] ldrh w0, [sp, 54] add w0, w0, 1 strh w0, [sp, 54] .L49: ldr w0, [sp, 64] ldr w1, [sp, 60] mov w2, w1 mov w1, w0 adrp x0, nlmsg add x0, x0, :lo12:nlmsg bl netlink_next_msg str w0, [sp, 84] ldr w0, [sp, 84] cmn w0, #1 bne .L54 b .L47 .L56: nop b .L47 .L57: nop .L47: ldr w0, [sp, 72] bl close ldr w0, [sp, 68] bl close nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 120] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L55 bl __stack_chk_fail .L55: ldp x29, x30, [sp], 128 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE14: .size initialize_devlink_ports, .-initialize_devlink_ports .section .rodata .align 3 .LC2: .string "/proc/self/ns/net" .align 3 .LC3: .string "0000:00:10.0" .align 3 .LC4: .string "pci" .align 3 .LC5: .string "netpci" .text .align 2 .type initialize_devlink_pci, %function initialize_devlink_pci: .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 w1, 0 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl open str w0, [sp, 24] ldr w0, [sp, 24] cmn w0, #1 bne .L59 mov w0, 1 bl exit .L59: mov w0, 239 mov w1, 0 bl setns str w0, [sp, 28] ldr w0, [sp, 28] cmn w0, #1 bne .L60 mov w0, 1 bl exit .L60: ldr w2, [sp, 24] adrp x0, .LC3 add x1, x0, :lo12:.LC3 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl netlink_devlink_netns_move mov w1, 0 ldr w0, [sp, 24] bl setns str w0, [sp, 28] ldr w0, [sp, 28] cmn w0, #1 bne .L61 mov w0, 1 bl exit .L61: ldr w0, [sp, 24] bl close adrp x0, .LC5 add x2, x0, :lo12:.LC5 adrp x0, .LC3 add x1, x0, :lo12:.LC3 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl initialize_devlink_ports nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE15: .size initialize_devlink_pci, .-initialize_devlink_pci .align 2 .type syz_init_net_socket, %function syz_init_net_socket: .LFB16: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 40] str x1, [sp, 32] str x2, [sp, 24] ldr x0, [sp, 40] ldr x1, [sp, 32] ldr x2, [sp, 24] mov x3, x2 mov x2, x1 mov x1, x0 mov x0, 198 bl syscall ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE16: .size syz_init_net_socket, .-syz_init_net_socket .global r .data .align 3 .type r, %object .size r, 16 r: .xword -1 .xword -1 .section .rodata .align 3 .LC6: .string "\210\021\347\207T\245\003\323\234+\326\244\017\003\310\252\002M" .string "" .string "" .string "" .string "\377\377\377\377\377\377\177&\036!\314\366~\035" .string "" .string "\345e\252\232\2352\307b\177\376zT\315\275w\263" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .text .align 2 .global main .type main, %function main: .LFB17: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 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 str xzr, [sp, 24] mov x2, 1 mov x1, 1 mov x0, 39 bl syz_init_net_socket str x0, [sp, 24] ldr x0, [sp, 24] cmn x0, #1 beq .L65 ldr x1, [sp, 24] adrp x0, r add x0, x0, :lo12:r str x1, [x0] .L65: mov x0, 256 movk x0, 0x2000, lsl 16 mov w1, 39 strh w1, [x0] mov x0, 260 movk x0, 0x2000, lsl 16 str wzr, [x0] mov x0, 264 movk x0, 0x2000, lsl 16 str wzr, [x0] mov x0, 268 movk x0, 0x2000, lsl 16 str wzr, [x0] mov x0, 272 movk x0, 0x2000, lsl 16 strb wzr, [x0] mov x0, 273 movk x0, 0x2000, lsl 16 strb wzr, [x0] mov x2, 63 adrp x0, .LC6 add x1, x0, :lo12:.LC6 mov x0, 274 movk x0, 0x2000, lsl 16 bl memcpy mov x0, 344 movk x0, 0x2000, lsl 16 mov x1, 43 str x1, [x0] adrp x0, r add x0, x0, :lo12:r ldr x0, [x0] mov x3, 96 mov x2, 256 movk x2, 0x2000, lsl 16 mov x1, x0 mov x0, 200 bl syscall adrp x0, r add x0, x0, :lo12:r ldr x0, [x0] mov w2, 0 mov x1, x0 mov x0, 201 bl syscall mov x2, 1 mov x1, 1 mov x0, 39 bl syz_init_net_socket str x0, [sp, 24] ldr x0, [sp, 24] cmn x0, #1 beq .L66 ldr x1, [sp, 24] adrp x0, r add x0, x0, :lo12:r str x1, [x0, 8] .L66: mov x0, 256 movk x0, 0x2000, lsl 16 mov w1, 39 strh w1, [x0] mov x0, 260 movk x0, 0x2000, lsl 16 str wzr, [x0] mov x0, 264 movk x0, 0x2000, lsl 16 str wzr, [x0] mov x0, 268 movk x0, 0x2000, lsl 16 str wzr, [x0] mov x0, 272 movk x0, 0x2000, lsl 16 strb wzr, [x0] mov x0, 273 movk x0, 0x2000, lsl 16 strb wzr, [x0] mov x2, 63 adrp x0, .LC6 add x1, x0, :lo12:.LC6 mov x0, 274 movk x0, 0x2000, lsl 16 bl memcpy mov x0, 344 movk x0, 0x2000, lsl 16 mov x1, 43 str x1, [x0] adrp x0, r add x0, x0, :lo12:r ldr x0, [x0, 8] mov x3, 96 mov x2, 256 movk x2, 0x2000, lsl 16 mov x1, x0 mov x0, 200 bl syscall adrp x0, r add x0, x0, :lo12:r ldr x0, [x0, 8] mov x3, 0 mov x2, 0 mov x1, x0 mov x0, 205 bl syscall mov w0, 0 ldp x29, x30, [sp], 32 .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 .section .rodata .align 3 .LC0: .string "%d" .align 3 .LC1: .string "EVEN POSITIVE" .align 3 .LC2: .string "EVEN NEGATIVE" .align 3 .LC3: .string "ODD POSITIVE" .align 3 .LC4: .string "ODD NEGATIVE" .align 3 .LC5: .string "NULL" .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 add x0, sp, 28 mov x1, x0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl __isoc99_scanf str wzr, [sp, 36] b .L2 .L8: add x0, sp, 32 mov x1, x0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl __isoc99_scanf ldr w0, [sp, 32] and w0, w0, 1 cmp w0, 0 bne .L3 ldr w0, [sp, 32] cmp w0, 0 ble .L3 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl puts .L3: ldr w0, [sp, 32] and w0, w0, 1 cmp w0, 0 bne .L4 ldr w0, [sp, 32] cmp w0, 0 bge .L4 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl puts .L4: ldr w0, [sp, 32] and w0, w0, 1 cmp w0, 0 beq .L5 ldr w0, [sp, 32] cmp w0, 0 ble .L5 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl puts .L5: ldr w0, [sp, 32] and w0, w0, 1 cmp w0, 0 beq .L6 ldr w0, [sp, 32] cmp w0, 0 bge .L6 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl puts .L6: ldr w0, [sp, 32] cmp w0, 0 bne .L7 adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl puts .L7: ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L2: ldr w0, [sp, 28] ldr w1, [sp, 36] cmp w1, w0 blt .L8 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 .L10 bl __stack_chk_fail .L10: mov w0, w1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "%d" .align 3 .LC1: .string "%d %d" .align 3 .LC2: .string "%d %d\n" .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 add x0, sp, 28 mov x1, x0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl __isoc99_scanf b .L2 .L3: add x1, sp, 36 add x0, sp, 32 mov x2, x1 mov x1, x0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl __isoc99_scanf ldr w3, [sp, 32] ldr w0, [sp, 36] add w1, w0, 1 ldr w0, [sp, 36] mul w0, w1, w0 lsr w1, w0, 31 add w0, w1, w0 asr w0, w0, 1 mov w1, w0 ldr w0, [sp, 36] add w0, w1, w0 mov w2, w0 mov w1, w3 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf .L2: ldr w0, [sp, 28] sub w1, w0, #1 str w1, [sp, 28] cmp w0, 0 bne .L3 mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 40] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L5 bl __stack_chk_fail .L5: mov w0, w1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global queue_create .type queue_create, %function queue_create: .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 x1, 16 mov x0, 1 bl calloc str x0, [sp, 24] ldr x0, [sp, 24] ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size queue_create, .-queue_create .align 2 .global queue_insert .type queue_insert, %function queue_insert: .LFB7: .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] cmp x0, 0 bne .L4 ldr x0, [sp, 8] ldr x1, [sp] str x1, [x0, 8] b .L5 .L4: ldr x0, [sp, 8] ldr x0, [x0] ldr x1, [sp] str x1, [x0, 8] .L5: ldr x0, [sp, 8] ldr x1, [sp] str x1, [x0] nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size queue_insert, .-queue_insert .align 2 .global ipow .type ipow, %function ipow: .LFB8: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] str w1, [sp, 8] mov w0, 1 str w0, [sp, 28] b .L7 .L9: ldr w0, [sp, 8] and w0, w0, 1 cmp w0, 0 beq .L8 ldr w0, [sp, 12] ldr w1, [sp, 28] mul w0, w1, w0 str w0, [sp, 28] .L8: ldr w0, [sp, 8] asr w0, w0, 1 str w0, [sp, 8] ldr w0, [sp, 12] mul w0, w0, w0 str w0, [sp, 12] .L7: ldr w0, [sp, 8] cmp w0, 0 bne .L9 ldr w0, [sp, 28] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE8: .size ipow, .-ipow .align 2 .global queue_hookup .type queue_hookup, %function queue_hookup: .LFB9: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str xzr, [sp, 24] str wzr, [sp, 20] .L20: ldrsw x0, [sp, 20] lsl x0, x0, 3 ldr x1, [sp, 8] add x0, x1, x0 ldr x0, [x0] ldr x0, [x0] str x0, [sp, 24] .L19: ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] ldr w1, [sp, 20] ldr w0, [sp, 4] cmp w1, w0 bne .L12 ldr x0, [sp, 24] cmp x0, 0 beq .L21 ldr x0, [sp, 24] str xzr, [x0, 8] b .L21 .L12: ldrsw x0, [sp, 20] lsl x0, x0, 3 ldr x1, [sp, 8] add x0, x1, x0 ldr x0, [x0] ldr x0, [x0, 8] cmp x0, 0 beq .L19 ldr x0, [sp, 24] cmp x0, 0 beq .L16 ldrsw x0, [sp, 20] lsl x0, x0, 3 ldr x1, [sp, 8] add x0, x1, x0 ldr x0, [x0] ldr x1, [x0, 8] ldr x0, [sp, 24] str x1, [x0, 8] b .L18 .L16: ldrsw x0, [sp, 20] lsl x0, x0, 3 ldr x1, [sp, 8] add x0, x1, x0 ldr x1, [x0] ldr x0, [sp, 8] ldr x0, [x0] ldr x1, [x1, 8] str x1, [x0, 8] .L18: b .L20 .L21: nop add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size queue_hookup, .-queue_hookup .align 2 .global radix_sort .type radix_sort, %function radix_sort: .LFB10: .cfi_startproc stp x29, x30, [sp, -128]! .cfi_def_cfa_offset 128 .cfi_offset 29, -128 .cfi_offset 30, -120 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -112 str x0, [sp, 56] str w1, [sp, 52] str w2, [sp, 48] str w3, [sp, 44] ldrsw x0, [sp, 48] mov x1, 8 bl calloc str x0, [sp, 112] str wzr, [sp, 76] b .L23 .L24: ldrsw x0, [sp, 76] lsl x0, x0, 3 ldr x1, [sp, 112] add x19, x1, x0 bl queue_create str x0, [x19] ldr w0, [sp, 76] add w0, w0, 1 str w0, [sp, 76] .L23: ldr w1, [sp, 76] ldr w0, [sp, 48] cmp w1, w0 blt .L24 str xzr, [sp, 104] str wzr, [sp, 80] b .L25 .L34: ldr w0, [sp, 80] cmp w0, 0 bne .L26 str wzr, [sp, 84] b .L27 .L28: mov x1, 16 mov x0, 1 bl calloc str x0, [sp, 120] ldrsw x0, [sp, 84] lsl x0, x0, 2 ldr x1, [sp, 56] add x0, x1, x0 ldr w1, [x0] ldr x0, [sp, 120] str w1, [x0] ldrsw x0, [sp, 84] lsl x0, x0, 2 ldr x1, [sp, 56] add x0, x1, x0 ldr w0, [x0] ldr w1, [sp, 48] udiv w2, w0, w1 mul w1, w2, w1 sub w0, w0, w1 str w0, [sp, 100] ldr w0, [sp, 100] lsl x0, x0, 3 ldr x1, [sp, 112] add x0, x1, x0 ldr x0, [x0] ldr x1, [sp, 120] bl queue_insert ldr w0, [sp, 84] add w0, w0, 1 str w0, [sp, 84] .L27: ldr w1, [sp, 84] ldr w0, [sp, 52] cmp w1, w0 blt .L28 b .L29 .L26: str wzr, [sp, 88] b .L30 .L31: ldrsw x0, [sp, 88] lsl x0, x0, 3 ldr x1, [sp, 112] add x0, x1, x0 ldr x0, [x0] str xzr, [x0, 8] ldrsw x0, [sp, 88] lsl x0, x0, 3 ldr x1, [sp, 112] add x0, x1, x0 ldr x0, [x0] str xzr, [x0] ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 88] .L30: ldr w1, [sp, 88] ldr w0, [sp, 48] cmp w1, w0 blt .L31 b .L32 .L33: ldr x0, [sp, 104] ldr w19, [x0] ldr w1, [sp, 80] ldr w0, [sp, 48] bl ipow udiv w0, w19, w0 ldr w1, [sp, 48] udiv w2, w0, w1 mul w1, w2, w1 sub w0, w0, w1 str w0, [sp, 96] ldr w0, [sp, 96] lsl x0, x0, 3 ldr x1, [sp, 112] add x0, x1, x0 ldr x0, [x0] ldr x1, [sp, 104] bl queue_insert ldr x0, [sp, 104] ldr x0, [x0, 8] str x0, [sp, 104] .L32: ldr x0, [sp, 104] cmp x0, 0 bne .L33 .L29: ldr w1, [sp, 48] ldr x0, [sp, 112] bl queue_hookup ldr x0, [sp, 112] ldr x0, [x0] ldr x0, [x0, 8] str x0, [sp, 104] ldr w0, [sp, 80] add w0, w0, 1 str w0, [sp, 80] .L25: ldr w1, [sp, 80] ldr w0, [sp, 44] cmp w1, w0 blt .L34 str wzr, [sp, 92] b .L35 .L36: ldrsw x0, [sp, 92] lsl x0, x0, 3 ldr x1, [sp, 112] add x0, x1, x0 ldr x0, [x0] bl free ldr w0, [sp, 92] add w0, w0, 1 str w0, [sp, 92] .L35: ldr w1, [sp, 92] ldr w0, [sp, 48] cmp w1, w0 blt .L36 ldr x0, [sp, 112] bl free ldr x0, [sp, 104] 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 .LFE10: .size radix_sort, .-radix_sort .align 2 .global rand_range .type rand_range, %function rand_range: .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 w0, [sp, 28] str w1, [sp, 24] bl rand mov w1, w0 ldr w0, [sp, 24] sub w2, w0, #1 ldr w0, [sp, 28] sub w0, w2, w0 sdiv w2, w1, w0 mul w0, w2, w0 sub w1, w1, w0 ldr w0, [sp, 28] add w0, w1, w0 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE11: .size rand_range, .-rand_range .align 2 .global int_compare .type int_compare, %function int_compare: .LFB12: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] str x1, [sp] ldr x0, [sp, 8] ldr w1, [x0] ldr x0, [sp] ldr w0, [x0] cmp w1, w0 cset w0, lt and w0, w0, 255 add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE12: .size int_compare, .-int_compare .section .rodata .align 3 .LC0: .string "hr:n:l:" .align 3 .LC1: .string "Usage: radix [-h] [-l base-10 number length] [-n number of elements] [-r radix]" .align 3 .LC2: .string "radix: %d\nn: %d\nrange: [%d, %d)\n" .align 3 .LC3: .string "%u\n" .align 3 .LC4: .string "length in base-%d: %d\n" .global __floatditf .align 3 .LC5: .string "radix sort time: %Lfms\n" .align 3 .LC6: .string "qsort time: %Lfms\n" .text .align 2 .global main .type main, %function main: .LFB13: .cfi_startproc stp x29, x30, [sp, -144]! .cfi_def_cfa_offset 144 .cfi_offset 29, -144 .cfi_offset 30, -136 mov x29, sp str x19, [sp, 16] str d8, [sp, 24] .cfi_offset 19, -128 .cfi_offset 72, -120 str w0, [sp, 44] str x1, [sp, 32] mov w0, 10 str w0, [sp, 60] mov w0, 34464 movk w0, 0x1, lsl 16 str w0, [sp, 64] mov w0, 5 str w0, [sp, 68] .L52: adrp x0, .LC0 add x2, x0, :lo12:.LC0 ldr x1, [sp, 32] ldr w0, [sp, 44] bl getopt str w0, [sp, 76] ldr w0, [sp, 76] cmn w0, #1 beq .L61 ldr w0, [sp, 76] cmp w0, 114 beq .L45 ldr w0, [sp, 76] cmp w0, 114 bgt .L46 ldr w0, [sp, 76] cmp w0, 110 beq .L47 ldr w0, [sp, 76] cmp w0, 110 bgt .L46 ldr w0, [sp, 76] cmp w0, 108 beq .L48 ldr w0, [sp, 76] cmp w0, 108 bgt .L46 ldr w0, [sp, 76] cmp w0, 63 beq .L62 ldr w0, [sp, 76] cmp w0, 104 bne .L46 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl puts mov w0, 1 bl exit .L45: adrp x0, :got:optarg ldr x0, [x0, #:got_lo12:optarg] ldr x0, [x0] bl atoi str w0, [sp, 60] b .L50 .L47: adrp x0, :got:optarg ldr x0, [x0, #:got_lo12:optarg] ldr x0, [x0] bl atoi str w0, [sp, 64] b .L50 .L48: adrp x0, :got:optarg ldr x0, [x0, #:got_lo12:optarg] ldr x0, [x0] bl atoi str w0, [sp, 68] b .L50 .L46: mov w0, 1 b .L51 .L62: nop .L50: b .L52 .L61: nop ldrsw x0, [sp, 64] mov x1, 4 bl calloc str x0, [sp, 96] ldr w1, [sp, 68] mov w0, 10 bl ipow str w0, [sp, 80] ldr w4, [sp, 80] mov w3, 0 ldr w2, [sp, 64] ldr w1, [sp, 60] adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf mov x0, 0 bl time bl srand str wzr, [sp, 72] b .L53 .L55: ldrsw x0, [sp, 72] lsl x0, x0, 2 ldr x1, [sp, 96] add x19, x1, x0 ldr w1, [sp, 80] mov w0, 0 bl rand_range str w0, [x19] ldr w0, [sp, 64] cmp w0, 20 bgt .L54 ldrsw x0, [sp, 72] lsl x0, x0, 2 ldr x1, [sp, 96] add x0, x1, x0 ldr w0, [x0] mov w1, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf .L54: ldr w0, [sp, 72] add w0, w0, 1 str w0, [sp, 72] .L53: ldr w1, [sp, 72] ldr w0, [sp, 64] cmp w1, w0 blt .L55 ldr w0, [sp, 80] sub w0, w0, #1 scvtf d0, w0 bl log fmov d8, d0 ldr w0, [sp, 60] scvtf d0, w0 bl log fdiv d0, d8, d0 bl floor fcvtzs w0, d0 add w0, w0, 1 str w0, [sp, 84] ldr w2, [sp, 84] ldr w1, [sp, 60] adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl printf bl clock str x0, [sp, 104] ldr w3, [sp, 84] ldr w2, [sp, 60] ldr w1, [sp, 64] ldr x0, [sp, 96] bl radix_sort str x0, [sp, 88] bl clock mov x1, x0 ldr x0, [sp, 104] sub x0, x1, x0 str x0, [sp, 112] bl clock str x0, [sp, 120] ldrsw x1, [sp, 64] adrp x0, int_compare add x3, x0, :lo12:int_compare mov x2, 4 ldr x0, [sp, 96] bl qsort bl clock mov x1, x0 ldr x0, [sp, 120] sub x0, x1, x0 str x0, [sp, 128] ldr w0, [sp, 64] cmp w0, 20 bgt .L57 mov w0, 10 bl putchar b .L57 .L59: ldr w0, [sp, 64] cmp w0, 20 bgt .L58 ldr x0, [sp, 88] ldr w0, [x0] mov w1, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf .L58: ldr x0, [sp, 88] str x0, [sp, 136] ldr x0, [sp, 88] ldr x0, [x0, 8] str x0, [sp, 88] ldr x0, [sp, 136] bl free .L57: ldr x0, [sp, 88] cmp x0, 0 bne .L59 ldr x0, [sp, 96] bl free ldr x0, [sp, 112] mov x1, 63439 movk x1, 0xe353, lsl 16 movk x1, 0x9ba5, lsl 32 movk x1, 0x20c4, lsl 48 smulh x1, x0, x1 asr x1, x1, 7 asr x0, x0, 63 sub x0, x1, x0 bl __floatditf adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl printf ldr x0, [sp, 128] mov x1, 63439 movk x1, 0xe353, lsl 16 movk x1, 0x9ba5, lsl 32 movk x1, 0x20c4, lsl 48 smulh x1, x0, x1 asr x1, x1, 7 asr x0, x0, 63 sub x0, x1, x0 bl __floatditf adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl printf mov w0, 0 .L51: ldr d8, [sp, 24] ldr x19, [sp, 16] ldp x29, x30, [sp], 144 .cfi_restore 30 .cfi_restore 29 .cfi_restore 19 .cfi_restore 72 .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 "Creating the Ramdisk..." .align 3 .LC1: .string "wb" .align 3 .LC2: .string "initrd.img" .align 3 .LC3: .string "initrd/" .align 3 .LC4: .string "Reading Directory..." .align 3 .LC5: .string "rb" .align 3 .LC6: .string "File %s is not Readable\n" .align 3 .LC7: .string "Packing Files to the Ramdisk..." .align 3 .LC8: .string "Packing File %s...\n" .align 3 .LC9: .string "----------------------------------" .align 3 .LC10: .string "File Count %d\n" .align 3 .LC11: .string "Buffer Size %d\n" .align 3 .LC12: .string "Successfully Created Ramdisk." .align 3 .LC13: .string "Size of Ramdisk %d.\n" .text .align 2 .global main .type main, %function main: .LFB6: .cfi_startproc mov x12, 4656 sub sp, sp, x12 .cfi_def_cfa_offset 4656 stp x29, x30, [sp] .cfi_offset 29, -4656 .cfi_offset 30, -4648 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, 4648] mov x1, 0 str wzr, [sp, 40] adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl puts adrp x0, .LC1 add x1, x0, :lo12:.LC1 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl fopen str x0, [sp, 88] ldr x0, [sp, 88] cmp x0, 0 bne .L2 mov w0, 1 b .L13 .L2: adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl opendir str x0, [sp, 96] str xzr, [sp, 72] ldr x0, [sp, 96] cmp x0, 0 beq .L4 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl puts b .L5 .L9: ldr x0, [sp, 64] ldrb w0, [x0, 18] cmp w0, 8 bne .L5 ldr w0, [sp, 40] cmp w0, 32 bgt .L15 mov w0, 7 str w0, [sp, 48] ldr x0, [sp, 64] add x0, x0, 19 bl strlen str w0, [sp, 52] ldr w1, [sp, 48] ldr w0, [sp, 52] add w0, w1, w0 add w0, w0, 1 sxtw x0, w0 bl malloc str x0, [sp, 104] ldrsw x0, [sp, 48] mov x2, x0 adrp x0, .LC3 add x1, x0, :lo12:.LC3 ldr x0, [sp, 104] bl memcpy ldrsw x0, [sp, 48] ldr x1, [sp, 104] add x3, x1, x0 ldr x0, [sp, 64] add x0, x0, 19 ldrsw x1, [sp, 52] mov x2, x1 mov x1, x0 mov x0, x3 bl memcpy ldr w1, [sp, 48] ldr w0, [sp, 52] add w0, w1, w0 sxtw x0, w0 ldr x1, [sp, 104] add x0, x1, x0 strb wzr, [x0] adrp x0, .LC5 add x1, x0, :lo12:.LC5 ldr x0, [sp, 104] bl fopen str x0, [sp, 112] ldr x0, [sp, 112] cmp x0, 0 bne .L8 ldr x0, [sp, 64] add x0, x0, 19 mov x1, x0 adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl printf mov w0, 1 b .L13 .L8: ldr x0, [sp, 104] bl free ldr x0, [sp, 64] add x1, x0, 19 add x0, sp, 160 mov x2, 128 bl strncpy mov w2, 2 mov x1, 0 ldr x0, [sp, 112] bl fseek ldr x0, [sp, 112] bl ftell str w0, [sp, 292] ldr w0, [sp, 292] uxtw x0, w0 ldr x1, [sp, 72] add x0, x1, x0 str x0, [sp, 72] ldr x0, [sp, 112] bl fclose ldr w0, [sp, 40] sxtw x1, w0 mov x0, x1 lsl x0, x0, 4 add x0, x0, x1 lsl x0, x0, 3 add x1, sp, 296 add x0, x1, x0 add x1, sp, 160 ldp q0, q1, [x1] stp q0, q1, [x0] ldp q0, q1, [x1, 32] stp q0, q1, [x0, 32] ldp q0, q1, [x1, 64] stp q0, q1, [x0, 64] ldp q0, q1, [x1, 96] stp q0, q1, [x0, 96] ldr x1, [x1, 128] str x1, [x0, 128] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L5: ldr x0, [sp, 96] bl readdir str x0, [sp, 64] ldr x0, [sp, 64] cmp x0, 0 bne .L9 b .L7 .L15: nop .L7: ldr x0, [sp, 96] bl closedir .L4: ldr x0, [sp, 72] bl malloc str x0, [sp, 120] str xzr, [sp, 80] adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl puts str wzr, [sp, 44] b .L10 .L12: add x2, sp, 296 ldrsw x1, [sp, 44] mov x0, x1 lsl x0, x0, 4 add x0, x0, x1 lsl x0, x0, 3 add x0, x2, x0 str x0, [sp, 128] mov w0, 7 str w0, [sp, 56] ldr x0, [sp, 128] bl strlen str w0, [sp, 60] ldr x0, [sp, 128] mov x1, x0 adrp x0, .LC8 add x0, x0, :lo12:.LC8 bl printf ldr w1, [sp, 56] ldr w0, [sp, 60] add w0, w1, w0 add w0, w0, 1 sxtw x0, w0 bl malloc str x0, [sp, 136] ldrsw x0, [sp, 56] mov x2, x0 adrp x0, .LC3 add x1, x0, :lo12:.LC3 ldr x0, [sp, 136] bl memcpy ldrsw x0, [sp, 56] ldr x1, [sp, 136] add x0, x1, x0 ldr x1, [sp, 128] ldrsw x2, [sp, 60] bl memcpy ldr w1, [sp, 56] ldr w0, [sp, 60] add w0, w1, w0 sxtw x0, w0 ldr x1, [sp, 136] add x0, x1, x0 strb wzr, [x0] adrp x0, .LC5 add x1, x0, :lo12:.LC5 ldr x0, [sp, 136] bl fopen str x0, [sp, 144] ldr x0, [sp, 144] cmp x0, 0 bne .L11 ldr x0, [sp, 64] add x0, x0, 19 mov x1, x0 adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl printf mov w0, 1 b .L13 .L11: ldr x0, [sp, 80] mov w1, w0 ldr x0, [sp, 128] str w1, [x0, 128] ldr x0, [sp, 128] ldr w0, [x0, 132] uxtw x0, w0 bl malloc str x0, [sp, 152] ldr x0, [sp, 128] ldr w0, [x0, 132] uxtw x0, w0 ldr x3, [sp, 144] mov x2, 1 mov x1, x0 ldr x0, [sp, 152] bl fread ldr x1, [sp, 120] ldr x0, [sp, 80] add x3, x1, x0 ldr x0, [sp, 128] ldr w0, [x0, 132] uxtw x0, w0 mov x2, x0 ldr x1, [sp, 152] mov x0, x3 bl memcpy ldr x0, [sp, 128] ldr w0, [x0, 132] uxtw x0, w0 ldr x1, [sp, 80] add x0, x1, x0 str x0, [sp, 80] ldr x0, [sp, 152] bl free ldr x0, [sp, 144] bl fclose ldr x0, [sp, 136] bl free ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L10: ldr w0, [sp, 40] ldr w1, [sp, 44] cmp w1, w0 blt .L12 adrp x0, .LC9 add x0, x0, :lo12:.LC9 bl puts ldr w0, [sp, 40] mov w1, w0 adrp x0, .LC10 add x0, x0, :lo12:.LC10 bl printf add x0, sp, 40 ldr x3, [sp, 88] mov x2, 1 mov x1, 4 bl fwrite ldr w0, [sp, 40] sxtw x1, w0 add x0, sp, 296 ldr x3, [sp, 88] mov x2, x1 mov x1, 136 bl fwrite ldr x3, [sp, 88] mov x2, 1 ldr x1, [sp, 72] ldr x0, [sp, 120] bl fwrite ldr x0, [sp, 72] mov w1, w0 adrp x0, .LC11 add x0, x0, :lo12:.LC11 bl printf adrp x0, .LC9 add x0, x0, :lo12:.LC9 bl puts adrp x0, .LC12 add x0, x0, :lo12:.LC12 bl puts ldr x0, [sp, 88] bl ftell mov w1, w0 adrp x0, .LC13 add x0, x0, :lo12:.LC13 bl printf adrp x0, .LC9 add x0, x0, :lo12:.LC9 bl puts ldr x0, [sp, 120] bl free ldr x0, [sp, 88] bl fclose mov w0, 0 .L13: mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 4648] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L14 bl __stack_chk_fail .L14: mov w0, w1 ldp x29, x30, [sp] mov x12, 4656 add sp, sp, x12 .cfi_restore 29 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global z1 .bss .align 3 .type z1, %object .size z1, 4 z1: .zero 4 .global z2 .align 3 .type z2, %object .size z2, 3 z2: .zero 3 .global z3 .align 3 .type z3, %object .size z3, 4 z3: .zero 4 .global z4 .align 3 .type z4, %object .size z4, 24 z4: .zero 24 .global z5 .align 3 .type z5, %object .size z5, 8 z5: .zero 8 .global some_array__LINE__ .align 3 .type some_array__LINE__, %object .size some_array__LINE__, 4 some_array__LINE__: .zero 4 .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 v .bss .align 2 .type v, %object .size v, 4 v: .zero 4 .text .align 2 .global foo .type foo, %function foo: .LFB0: .cfi_startproc mov w1, w14 adrp x0, v add x0, x0, :lo12:v ldr w0, [x0] add w0, w1, w0 ret .cfi_endproc .LFE0: .size foo, .-foo ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global adler32 .type adler32, %function adler32: .LFB6: .cfi_startproc sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, 24] str x1, [sp, 16] str w2, [sp, 12] ldr x0, [sp, 24] and x0, x0, 65535 str x0, [sp, 48] ldr x0, [sp, 24] lsr x0, x0, 16 and x0, x0, 65535 str x0, [sp, 56] ldr x0, [sp, 16] cmp x0, 0 bne .L4 mov x0, 1 b .L3 .L9: ldr w3, [sp, 12] mov w2, 5552 ldr w1, [sp, 12] mov w0, 5552 cmp w3, w2 csel w0, w1, w0, ls str w0, [sp, 44] ldr w0, [sp, 44] ldr w1, [sp, 12] sub w0, w1, w0 str w0, [sp, 12] b .L5 .L6: ldr x0, [sp, 16] ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 1 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 2 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 3 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 4 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 5 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 6 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 7 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 8 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 9 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 10 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 11 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 12 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 13 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 14 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 15 ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr x0, [sp, 16] add x0, x0, 16 str x0, [sp, 16] ldr w0, [sp, 44] sub w0, w0, #16 str w0, [sp, 44] .L5: ldr w0, [sp, 44] cmp w0, 15 bgt .L6 ldr w0, [sp, 44] cmp w0, 0 beq .L7 .L8: ldr x0, [sp, 16] add x1, x0, 1 str x1, [sp, 16] ldrb w0, [x0] and x0, x0, 255 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 48] add x0, x1, x0 str x0, [sp, 56] ldr w0, [sp, 44] sub w0, w0, #1 str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 bne .L8 .L7: ldr x1, [sp, 48] mov x0, 50637 movk x0, 0xd2f, lsl 16 movk x0, 0xe1, lsl 32 movk x0, 0xf, lsl 48 umulh x0, x1, x0 sub x2, x1, x0 lsr x2, x2, 1 add x0, x0, x2 lsr x2, x0, 15 mov x0, x2 lsl x0, x0, 12 sub x0, x0, x2 lsl x0, x0, 4 add x0, x0, x2 sub x0, x1, x0 str x0, [sp, 48] ldr x1, [sp, 56] mov x0, 50637 movk x0, 0xd2f, lsl 16 movk x0, 0xe1, lsl 32 movk x0, 0xf, lsl 48 umulh x0, x1, x0 sub x2, x1, x0 lsr x2, x2, 1 add x0, x0, x2 lsr x2, x0, 15 mov x0, x2 lsl x0, x0, 12 sub x0, x0, x2 lsl x0, x0, 4 add x0, x0, x2 sub x0, x1, x0 str x0, [sp, 56] .L4: ldr w0, [sp, 12] cmp w0, 0 bne .L9 ldr x0, [sp, 56] lsl x1, x0, 16 ldr x0, [sp, 48] orr x0, x1, x0 .L3: add sp, sp, 64 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size adler32, .-adler32 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "Pogadjajte broj: " .align 3 .LC1: .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 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 24] mov x1, 0 mov x0, 0 bl time bl srand bl rand mov w1, 41121 movk w1, 0xa0a0, lsl 16 smull x1, w0, w1 lsr x1, x1, 32 add w1, w0, w1 asr w2, w1, 5 asr w1, w0, 31 sub w2, w2, w1 mov w1, 51 mul w1, w2, w1 sub w0, w0, w1 str w0, [sp, 20] .L2: adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf add x0, sp, 16 mov x1, x0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl __isoc99_scanf ldr w0, [sp, 16] ldr w1, [sp, 20] cmp w1, w0 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, 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 .LFE6: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "_SC_PAGE_SIZE is %ld.\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] mov w0, 30 bl sysconf mov x1, x0 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 .LFE6: .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 "mad_sat_uchar4uchar4uchar4.cl" .align 3 .LC17: .string "error: call to 'clCreateProgramWithSource' failed" .align 3 .LC18: .string "program=%p\n" .align 3 .LC19: .string "error: call to 'clBuildProgram' failed:\n%s\n" .align 3 .LC20: .string "program built" .align 3 .LC21: .string "mad_sat_uchar4uchar4uchar4" .align 3 .LC22: .string "error: call to 'clCreateKernel' failed" .align 3 .LC23: .string "error: could not create source buffer" .align 3 .LC24: .string "error: call to 'clEnqueueWriteBuffer' failed" .align 3 .LC25: .string "error: could not create dst buffer" .align 3 .LC26: .string "error: call to 'clSetKernelArg' failed" .align 3 .LC27: .string "error: call to 'clEnqueueNDRangeKernel' failed" .align 3 .LC28: .string "error: call to 'clEnqueueReadBuffer' failed" .align 3 .LC29: .string "%s.result" .align 3 .LC30: .string "Result dumped to %s\n" .align 3 .LC31: .string "error: call to 'clReleaseMemObject' failed" .align 3 .LC32: .string "error: call to 'clReleaseKernel' failed" .align 3 .LC33: .string "error: call to 'clReleaseProgram' failed" .align 3 .LC34: .string "error: call to 'clReleaseCommandQueue' failed" .align 3 .LC35: .string "error: call to 'clReleaseContext' failed" .text .align 2 .global main .type main, %function main: .LFB8: .cfi_startproc sub sp, sp, #560 .cfi_def_cfa_offset 560 stp x29, x30, [sp, 16] .cfi_offset 29, -544 .cfi_offset 30, -536 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, 552] 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, 240 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, 240 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, 344 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, 344 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, 160] 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, 160] 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, 160] bl clCreateCommandQueue str x0, [sp, 168] 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, 168] adrp x0, .LC15 add x0, x0, :lo12:.LC15 bl printf mov w0, 10 bl putchar add x0, sp, 104 mov x1, x0 adrp x0, .LC16 add x0, x0, :lo12:.LC16 bl read_buffer str x0, [sp, 96] add x2, sp, 60 add x1, sp, 104 add x0, sp, 96 mov x4, x2 mov x3, x1 mov x2, x0 mov w1, 1 ldr x0, [sp, 160] bl clCreateProgramWithSource str x0, [sp, 176] ldr w0, [sp, 60] cmp w0, 0 beq .L14 adrp x0, .LC17 add x0, x0, :lo12:.LC17 bl puts mov w0, 1 bl exit .L14: ldr x1, [sp, 176] adrp x0, .LC18 add x0, x0, :lo12:.LC18 bl printf add x0, sp, 88 mov x5, 0 mov x4, 0 mov x3, 0 mov x2, x0 mov w1, 1 ldr x0, [sp, 176] bl clBuildProgram str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L15 ldr x0, [sp, 88] add x1, sp, 152 mov x5, x1 mov x4, 0 mov x3, 0 mov w2, 4483 mov x1, x0 ldr x0, [sp, 176] bl clGetProgramBuildInfo ldr x0, [sp, 152] bl malloc str x0, [sp, 232] ldr x0, [sp, 88] ldr x1, [sp, 152] mov x5, 0 ldr x4, [sp, 232] mov x3, x1 mov w2, 4483 mov x1, x0 ldr x0, [sp, 176] bl clGetProgramBuildInfo ldr x1, [sp, 232] adrp x0, .LC19 add x0, x0, :lo12:.LC19 bl printf ldr x0, [sp, 232] bl free mov w0, 1 bl exit .L15: adrp x0, .LC20 add x0, x0, :lo12:.LC20 bl puts mov w0, 10 bl putchar add x0, sp, 60 mov x2, x0 adrp x0, .LC21 add x1, x0, :lo12:.LC21 ldr x0, [sp, 176] bl clCreateKernel str x0, [sp, 184] ldr w0, [sp, 60] cmp w0, 0 beq .L16 adrp x0, .LC22 add x0, x0, :lo12:.LC22 bl puts mov w0, 1 bl exit .L16: mov x0, 10 str x0, [sp, 192] ldr x0, [sp, 192] lsl x0, x0, 2 bl malloc str x0, [sp, 200] str wzr, [sp, 68] b .L17 .L18: ldrsw x0, [sp, 68] lsl x0, x0, 2 ldr x1, [sp, 200] add x0, x1, x0 mov w1, 2 strb w1, [x0] mov w1, 2 strb w1, [x0, 1] mov w1, 2 strb w1, [x0, 2] mov w1, 2 strb w1, [x0, 3] ldr w0, [sp, 68] add w0, w0, 1 str w0, [sp, 68] .L17: ldrsw x0, [sp, 68] ldr x1, [sp, 192] cmp x1, x0 bhi .L18 ldr x0, [sp, 192] lsl x0, x0, 2 add x1, sp, 60 mov x4, x1 mov x3, 0 mov x2, x0 mov x1, 4 ldr x0, [sp, 160] bl clCreateBuffer str x0, [sp, 112] ldr w0, [sp, 60] cmp w0, 0 beq .L19 adrp x0, .LC23 add x0, x0, :lo12:.LC23 bl puts mov w0, 1 bl exit .L19: ldr x1, [sp, 112] ldr x0, [sp, 192] lsl x0, x0, 2 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, 168] bl clEnqueueWriteBuffer str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L20 adrp x0, .LC24 add x0, x0, :lo12:.LC24 bl puts mov w0, 1 bl exit .L20: ldr x0, [sp, 192] lsl x0, x0, 2 bl malloc str x0, [sp, 208] str wzr, [sp, 72] b .L21 .L22: ldrsw x0, [sp, 72] lsl x0, x0, 2 ldr x1, [sp, 208] add x0, x1, x0 mov w1, 2 strb w1, [x0] mov w1, 2 strb w1, [x0, 1] mov w1, 2 strb w1, [x0, 2] mov w1, 2 strb w1, [x0, 3] ldr w0, [sp, 72] add w0, w0, 1 str w0, [sp, 72] .L21: ldrsw x0, [sp, 72] ldr x1, [sp, 192] cmp x1, x0 bhi .L22 ldr x0, [sp, 192] lsl x0, x0, 2 add x1, sp, 60 mov x4, x1 mov x3, 0 mov x2, x0 mov x1, 4 ldr x0, [sp, 160] bl clCreateBuffer str x0, [sp, 120] ldr w0, [sp, 60] cmp w0, 0 beq .L23 adrp x0, .LC23 add x0, x0, :lo12:.LC23 bl puts mov w0, 1 bl exit .L23: ldr x1, [sp, 120] ldr x0, [sp, 192] lsl x0, x0, 2 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, 168] bl clEnqueueWriteBuffer str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L24 adrp x0, .LC24 add x0, x0, :lo12:.LC24 bl puts mov w0, 1 bl exit .L24: ldr x0, [sp, 192] lsl x0, x0, 2 bl malloc str x0, [sp, 216] str wzr, [sp, 76] b .L25 .L26: ldrsw x0, [sp, 76] lsl x0, x0, 2 ldr x1, [sp, 216] add x0, x1, x0 mov w1, 2 strb w1, [x0] mov w1, 2 strb w1, [x0, 1] mov w1, 2 strb w1, [x0, 2] mov w1, 2 strb w1, [x0, 3] ldr w0, [sp, 76] add w0, w0, 1 str w0, [sp, 76] .L25: ldrsw x0, [sp, 76] ldr x1, [sp, 192] cmp x1, x0 bhi .L26 ldr x0, [sp, 192] lsl x0, x0, 2 add x1, sp, 60 mov x4, x1 mov x3, 0 mov x2, x0 mov x1, 4 ldr x0, [sp, 160] bl clCreateBuffer str x0, [sp, 128] ldr w0, [sp, 60] cmp w0, 0 beq .L27 adrp x0, .LC23 add x0, x0, :lo12:.LC23 bl puts mov w0, 1 bl exit .L27: ldr x1, [sp, 128] ldr x0, [sp, 192] lsl x0, x0, 2 str xzr, [sp] mov x7, 0 mov w6, 0 ldr x5, [sp, 216] mov x4, x0 mov x3, 0 mov w2, 1 ldr x0, [sp, 168] bl clEnqueueWriteBuffer str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L28 adrp x0, .LC24 add x0, x0, :lo12:.LC24 bl puts mov w0, 1 bl exit .L28: ldr x0, [sp, 192] lsl x0, x0, 2 bl malloc str x0, [sp, 224] ldr x0, [sp, 192] lsl x0, x0, 2 mov x2, x0 mov w1, 1 ldr x0, [sp, 224] bl memset ldr x0, [sp, 192] lsl x0, x0, 2 add x1, sp, 60 mov x4, x1 mov x3, 0 mov x2, x0 mov x1, 2 ldr x0, [sp, 160] bl clCreateBuffer str x0, [sp, 136] ldr w0, [sp, 60] cmp w0, 0 beq .L29 adrp x0, .LC25 add x0, x0, :lo12:.LC25 bl puts mov w0, 1 bl exit .L29: str wzr, [sp, 60] add x0, sp, 112 mov x3, x0 mov x2, 8 mov w1, 0 ldr x0, [sp, 184] 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, 184] 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, 184] bl clSetKernelArg mov w1, w0 ldr w0, [sp, 60] orr w0, w1, w0 str w0, [sp, 60] add x0, sp, 136 mov x3, x0 mov x2, 8 mov w1, 3 ldr x0, [sp, 184] 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 .L30 adrp x0, .LC26 add x0, x0, :lo12:.LC26 bl puts mov w0, 1 bl exit .L30: ldr x0, [sp, 192] str x0, [sp, 144] ldr x0, [sp, 192] str x0, [sp, 152] add x1, sp, 152 add x0, sp, 144 str xzr, [sp] mov x7, 0 mov w6, 0 mov x5, x1 mov x4, x0 mov x3, 0 mov w2, 1 ldr x1, [sp, 184] ldr x0, [sp, 168] bl clEnqueueNDRangeKernel str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L31 adrp x0, .LC27 add x0, x0, :lo12:.LC27 bl puts mov w0, 1 bl exit .L31: ldr x0, [sp, 168] bl clFinish ldr x1, [sp, 136] ldr x0, [sp, 192] lsl x0, x0, 2 str xzr, [sp] mov x7, 0 mov w6, 0 ldr x5, [sp, 224] mov x4, x0 mov x3, 0 mov w2, 1 ldr x0, [sp, 168] bl clEnqueueReadBuffer str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L32 adrp x0, .LC28 add x0, x0, :lo12:.LC28 bl puts mov w0, 1 bl exit .L32: ldr x0, [sp, 32] ldr x0, [x0] add x3, sp, 448 mov x2, x0 adrp x0, .LC29 add x1, x0, :lo12:.LC29 mov x0, x3 bl sprintf ldr x0, [sp, 192] lsl x1, x0, 2 add x0, sp, 448 mov x2, x1 ldr x1, [sp, 224] bl write_buffer add x0, sp, 448 mov x1, x0 adrp x0, .LC30 add x0, x0, :lo12:.LC30 bl printf ldr x0, [sp, 224] bl free ldr x0, [sp, 136] bl clReleaseMemObject str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L33 adrp x0, .LC31 add x0, x0, :lo12:.LC31 bl puts mov w0, 1 bl exit .L33: ldr x0, [sp, 200] bl free ldr x0, [sp, 112] bl clReleaseMemObject str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L34 adrp x0, .LC31 add x0, x0, :lo12:.LC31 bl puts mov w0, 1 bl exit .L34: ldr x0, [sp, 208] bl free ldr x0, [sp, 120] bl clReleaseMemObject str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L35 adrp x0, .LC31 add x0, x0, :lo12:.LC31 bl puts mov w0, 1 bl exit .L35: ldr x0, [sp, 216] bl free ldr x0, [sp, 128] bl clReleaseMemObject str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L36 adrp x0, .LC31 add x0, x0, :lo12:.LC31 bl puts mov w0, 1 bl exit .L36: ldr x0, [sp, 184] bl clReleaseKernel str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L37 adrp x0, .LC32 add x0, x0, :lo12:.LC32 bl puts mov w0, 1 bl exit .L37: ldr x0, [sp, 176] bl clReleaseProgram str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L38 adrp x0, .LC33 add x0, x0, :lo12:.LC33 bl puts mov w0, 1 bl exit .L38: ldr x0, [sp, 168] bl clReleaseCommandQueue str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L39 adrp x0, .LC34 add x0, x0, :lo12:.LC34 bl puts mov w0, 1 bl exit .L39: ldr x0, [sp, 160] bl clReleaseContext str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L40 adrp x0, .LC35 add x0, x0, :lo12:.LC35 bl puts mov w0, 1 bl exit .L40: mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 552] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L42 bl __stack_chk_fail .L42: mov w0, w1 ldp x29, x30, [sp, 16] add sp, sp, 560 .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 .global error_perm .data .align 2 .type error_perm, %object .size error_perm, 4 error_perm: .word 1 .global error_noent .align 2 .type error_noent, %object .size error_noent, 4 error_noent: .word 2 .global error_intr .align 2 .type error_intr, %object .size error_intr, 4 error_intr: .word 4 .global error_nomem .align 2 .type error_nomem, %object .size error_nomem, 4 error_nomem: .word 12 .global error_acces .align 2 .type error_acces, %object .size error_acces, 4 error_acces: .word 13 .global error_isdir .align 2 .type error_isdir, %object .size error_isdir, 4 error_isdir: .word 21 .global error_inval .align 2 .type error_inval, %object .size error_inval, 4 error_inval: .word 22 .global error_loop .align 2 .type error_loop, %object .size error_loop, 4 error_loop: .word 40 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "Obssess with code you must - Yoda" .text .align 2 .global printMessage .type printMessage, %function printMessage: .LFB0: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl puts nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size printMessage, .-printMessage .section .rodata .align 3 .LC1: .string "May the force be with you" .text .align 2 .global main .type main, %function main: .LFB1: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp bl printMessage adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl puts bl printMessage mov w0, 0 ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "Unknown errno %d" .text .align 2 .global strerror .type strerror, %function strerror: .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 blt .L2 adrp x0, :got:sys_nerr ldr x0, [x0, #:got_lo12:sys_nerr] ldr w0, [x0] ldr w1, [sp, 28] cmp w1, w0 bge .L2 adrp x0, :got:sys_errlist ldr x0, [x0, #:got_lo12:sys_errlist] ldrsw x1, [sp, 28] ldr x0, [x0, x1, lsl 3] b .L3 .L2: ldr w2, [sp, 28] adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, buf.0 add x0, x0, :lo12:buf.0 bl sprintf adrp x0, buf.0 add x0, x0, :lo12:buf.0 .L3: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size strerror, .-strerror .local buf.0 .comm buf.0,20,8 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .type mean_lsf, %object .size mean_lsf, 40 mean_lsf: .word 1050158125 .word 1055364330 .word 1061418003 .word 1066484026 .word 1068885869 .word 1071844505 .word 1073948071 .word 1075318522 .word 1076195899 .word 1033577974 .align 3 .type lsf_cb1, %object .size lsf_cb1, 512 lsf_cb1: .word 1006148702 .word -1145080157 .word 1026339612 .word -1125792533 .word -1131644962 .word -1116166706 .word 1013032998 .word -1122232542 .word -1121305097 .word -1113527851 .word -1113748371 .word -1108055526 .word 1011831481 .word 1043610280 .word 1031057097 .word 1042326084 .word 1043325872 .word 1047357102 .word 1038715024 .word 1048042283 .word 1043138639 .word 1049686685 .word 1041610771 .word 1053540747 .word 1048538822 .word 1049194106 .word 1040997664 .word 1044329620 .word -1116963691 .word -1106582352 .word -1109354619 .word -1107348467 .word -1129450771 .word -1124114274 .word -1134217648 .word -1111749734 .word -1121712314 .word -1109118127 .word -1131815151 .word 1029882423 .word 1030541164 .word 1033020971 .word 1031307547 .word 1038769516 .word 1037730536 .word 1041250262 .word 1035973090 .word 1035864642 .word 1025649733 .word 1003045589 .word -1115136048 .word -1111663298 .word -1110304210 .word -1104183747 .word -1116457690 .word -1118860187 .word 1042947647 .word 1041178791 .word 1046097603 .word 1044600538 .word 1031616248 .word 1025131116 .word 1040957198 .word 1035600233 .word -1130226550 .word 1012755973 .word 1018594444 .word 1034076861 .word 1046246047 .word 1055688164 .word 1045656563 .word 1051598483 .word 1011396616 .word -1115269326 .word 1035670294 .word 1044607920 .word 1017105164 .word 1025025084 .word -1118851866 .word -1135041208 .word -1117071602 .word 1022171615 .word 1049968912 .word 1052650011 .word -1118109641 .word 1034705940 .word 1020254449 .word 1052780706 .word 1049246921 .word 1058080628 .word -1111288025 .word -1135975363 .word 1028571921 .word 1046085791 .word 1036995560 .word 1028260805 .word 1033131029 .word 1049695443 .word -1112783614 .word -1105582161 .word -1124010390 .word 1041524335 .word 1011895906 .word 1048807861 .word -1139008684 .word 1037203463 .word -1121839552 .word 1045553887 .word -1110812760 .word 1029795719 .word 1017756388 .word 1040414690 .word -1120232429 .word -1103714455 .word -1113022253 .word 1040988202 .word -1116820346 .word 1050012331 .word 1034716946 .word 1057050373 .word 1039761251 .word 1051139089 .word -1110294948 .word -1114766681 .word 1033030232 .word 1000043406 .word -1108267590 .word -1102088071 .align 3 .type lsf_cb2, %object .size lsf_cb2, 1024 lsf_cb2: .word 1020275924 .word 1002944657 .word -1114704672 .word 1009679702 .word -1103876590 .word -1103216037 .word -1106336733 .word -1119573688 .word -1105205815 .word -1106981650 .word -1104912348 .word 1032539934 .word 1045199283 .word 1048910940 .word 1048845711 .word 1047646341 .word 1052504855 .word 1050411964 .word 1048635190 .word 1050450116 .word 1053418374 .word 1053010319 .word 1055239206 .word 1051509932 .word 1051035070 .word 1054466917 .word 1014746690 .word 1040029015 .word -1126478654 .word 1034668493 .word -1109019477 .word -1110921074 .word -1100796964 .word -1104859466 .word -1119036549 .word -1111609745 .word -1101259143 .word -1093924882 .word -1108764330 .word -1099486059 .word 1041056452 .word 1041116984 .word 1023485069 .word 1032230831 .word 1045806686 .word 1034786471 .word 1042392723 .word 1030466002 .word 1040153838 .word 1011045502 .word -1123005904 .word -1105323457 .word -1109910415 .word -1097517589 .word -1114210080 .word -1102132363 .word -1100640130 .word -1098126165 .word -1104409300 .word -1099558805 .word -1098183174 .word -1094388470 .word -1107325247 .word 1013548394 .word 998896650 .word -1109253419 .word 1033378527 .word -1133914853 .word 1029264216 .word -1114856472 .word -1111980723 .word -1105952804 .word 1050361566 .word 1045913322 .word 1054060237 .word 1049314265 .word 1052163103 .word 1047277175 .word -1123016910 .word -1125507454 .word -1108295104 .word 1038859308 .word -1104999455 .word 1046454353 .word -1100237880 .word 1043401974 .word -1101179417 .word -1109283349 .word 1050570610 .word 1037034349 .word 1048592408 .word 1039293233 .word 1050029712 .word 1041945980 .word -1128162281 .word 1023902487 .word 1033705749 .word 1038714218 .word 1039934928 .word 1035181608 .word -1116284817 .word 1040290941 .word -1100668182 .word -1129091604 .word -1099445391 .word -1096287416 .word 1045596232 .word 1041725863 .word -1112395187 .word 1032080775 .word -1097636203 .word -1097696367 .word -1103642111 .word -1095525999 .word -1100949637 .word 1026783336 .word -1101104591 .word 1048277366 .word -1097674758 .word -1103539435 .word 1043385733 .word 1038525777 .word -1109923971 .word 1043667389 .word 1003118603 .word -1118640070 .word 1036805374 .word 1043631553 .word -1103161008 .word -1114815133 .word 1042850876 .word 1044215132 .word 1057298089 .word 1052807583 .word 1057332717 .word 1057530520 .word 1056071221 .word 1054935706 .word 1046175851 .word 1045386718 .word 1058293615 .word 1055856272 .word 1050603157 .word 1049282556 .word 1048825981 .word 1030842885 .word 1019483502 .word -1104312327 .word -1098276254 .word -1115412268 .word -1103995708 .word -1185964488 .word -1098290079 .word -1099945889 .word -1097346629 .word 1048384069 .word 1038972722 .word -1114383757 .word -1097106916 .word 1041803642 .word -1095627300 .word -1137425988 .word -1100663954 .word -1101314373 .word -1097935979 .word -1091929165 .word 1040892035 .word 1047801966 .word 1050680870 .word 1051688509 .word 1033040835 .word -1107235053 .word 1056492766 .word 1048925939 .word 1025097561 .word 1043863012 .word 1053323717 .word 1042330715 .word 1053519239 .word 1056442702 .word -1096940352 .word -1095806615 .word -1098250015 .word -1107064529 .word -1112439077 .word -1120687696 .word 1054317667 .word 1046127936 .word 1034471998 .word 1028176516 .word -1112279358 .word 1047779149 .word 1051558955 .word 1042947647 .word -1104478489 .word 1041670833 .word -1104463322 .word -1097428736 .word 1058452848 .word 1051203413 .word 1045708438 .word 1016120006 .word -1106178357 .word 1049956664 .word -1106232581 .word 1052747521 .word 1021761982 .word 1051009032 .word -1100259355 .word 1051194454 .word -1116156505 .word -1098541368 .word -1137287476 .word 1048337227 .word -1116852290 .word 1050614767 .word -1107126068 .word -1103173624 .word -1107059831 .word -1096059414 .word -1097770186 .word 1033842786 .word -1123980862 .word 1043946495 .word -1096245775 .word -1109493400 .word -1101206865 .word 1037832945 .word 1043592093 .word 1051164188 .word 1048770649 .word 1043615111 .word 1047117389 .word 1053503770 .word -1094850615 .word -1103264288 .word -1095379802 .word -1097216337 .word 1031575714 .word 1048080468 .word 1037434452 .word 1050521989 .word -1096558133 .word -1099981256 .word 1033791783 .word 1054155632 .word -1095905499 .word -1093619168 .word -1130443982 .word -1101249009 .word 1043088441 .word -1123750544 .word -1121687081 .word 1053597689 .word -1098064056 .word 1007068362 .align 3 .type lsf_cb3, %object .size lsf_cb3, 1024 lsf_cb3: .word 1019844279 .word 1003165848 .word -1101148010 .word -1093935921 .word -1112047429 .word -1102171152 .word -1107715284 .word -1097052725 .word 1025198761 .word 1030945159 .word 1048248911 .word 1048179320 .word 1049141493 .word 1044044541 .word 1050903403 .word 1045454163 .word 1051929598 .word 1048664718 .word 1053402771 .word 1049558205 .word 1055142837 .word 1048846549 .word 1053183728 .word 1045277935 .word -1122041952 .word 1040496294 .word -1139028011 .word 1033669913 .word -1128023768 .word -1125711465 .word -1108352013 .word -1105887641 .word -1103163357 .word -1118265602 .word -1123268166 .word -1112725766 .word -1112337071 .word -1111265611 .word -1092085294 .word -1103974837 .word -1095083282 .word -1105740270 .word -1096075218 .word -1102096728 .word -1100832800 .word -1103516685 .word -1106883805 .word -1118876293 .word -1110020071 .word 1038863871 .word 1044735024 .word 1049428853 .word 1013474306 .word 1044834748 .word 1042147977 .word 1047029074 .word 1034688626 .word 1046680779 .word 1044511753 .word 1042842621 .word 1040572396 .word 1043271850 .word -1115105715 .word 1031859719 .word -1103794784 .word -1105942872 .word -1099068172 .word -1106976348 .word -1103076048 .word -1097440648 .word -1099307885 .word -1095731553 .word -1102057537 .word -1099917838 .word -1097474370 .word -1105053411 .word 1032132986 .word -1125730256 .word 1041708347 .word 1034952230 .word 1037902604 .word 991143697 .word 1032978021 .word 1021414627 .word 1017916376 .word -1119092115 .word -1098167571 .word -1101064728 .word -1115269326 .word 1007236940 .word -1105563639 .word -1102564142 .word -1135530834 .word -1105565720 .word 1047807000 .word 1040966257 .word 1049976596 .word 1038714218 .word 1045400207 .word 1037328689 .word 1041260127 .word 1025157422 .word -1098661124 .word -1092452346 .word -1096536491 .word -1096567495 .word -1090897366 .word -1088779914 .word -1096586688 .word -1091532183 .word 1014318267 .word -1110507549 .word 1037128436 .word 1032374578 .word -1113845813 .word -1120413623 .word 1033324571 .word 1042037248 .word 1032906751 .word -1111811609 .word -1131857563 .word 1021244439 .word 1032966612 .word 1036426745 .word -1116094228 .word -1105911263 .word 1038731935 .word 1039192436 .word -1097741397 .word -1125227208 .word -1098806817 .word -1114189007 .word -1101992777 .word -1110854100 .word -1108704468 .word 983549658 .word -1100566311 .word -1136356542 .word -1099869318 .word 1034728757 .word 1042665118 .word 1040411133 .word 1020439669 .word 1039443289 .word -1098730078 .word -1097851656 .word -1094115974 .word -1111214206 .word 1025552023 .word -1105476935 .word -1096864015 .word -1110754644 .word -1098277731 .word 1023694181 .word -1095882716 .word 1012341508 .word -1095723668 .word -1120340340 .word -1103040011 .word 1049099550 .word -1104394804 .word -1166713370 .word 972175511 .word 1050153058 .word 1049034823 .word 1052643267 .word -1105833484 .word -1110889936 .word -1094325555 .word -1097819612 .word -1114552066 .word -1098721421 .word 1050027498 .word 1048669449 .word 1053888740 .word 1053198157 .word -1094481349 .word -1095252966 .word -1091739717 .word -1096707819 .word -1096435324 .word -1098623610 .word 1048577845 .word 1032965807 .word -1093698121 .word -1092876105 .word -1106574970 .word -1098864900 .word 1044336532 .word 1031175208 .word 1039079022 .word -1118093804 .word -1093763049 .word -1100898164 .word -1093399889 .word -1129518417 .word -1093308185 .word 1028492733 .word -1091522888 .word -1113394573 .word -1096708021 .word 1046510188 .word -1098129756 .word 1041089134 .word 1048684414 .word 1050467598 .word 1043730874 .word 1051807225 .word 1045915670 .word 1045737094 .word -1096442068 .word 1033814600 .word -1102723726 .word 1027952104 .word 1038777032 .word 1050011391 .word -1106909306 .word 1030235684 .word -1104170862 .word -1095576800 .word -1094878566 .word -1089908484 .word -1096857170 .word -1094211605 .word 1051425711 .word 1052524149 .word 1051973252 .word 1054906513 .word 1057280070 .word 1051302398 .word 1054852726 .word 1051168315 .word 1050888102 .word 1050501655 .word -1126907077 .word -1101809569 .word 1052712523 .word 1051107279 .word 1056075013 .word 1053254864 .word 1056244966 .word 1056226075 .word 1051353737 .word 1042121805 .word 1046032440 .word 1055365270 .word 1042638342 .word -1137200503 .word 1045849233 .word 1017739209 .word -1112495582 .word 1045522077 .word -1094255561 .word 1040767213 .word -1103805521 .word 1040818484 .align 3 .type lsf_cb4, %object .size lsf_cb4, 1024 lsf_cb4: .word -1150580400 .word -1128799547 .word 1032892793 .word 1021844660 .word -1097552921 .word -1131000717 .word -1100619260 .word -1094870647 .word -1098251491 .word -1106878369 .word -1107603078 .word -1098312627 .word 1043430428 .word 1041106649 .word 1042666796 .word 1017739209 .word 1038403102 .word 1018717924 .word 1036514927 .word 1030067107 .word 1041177516 .word 1031106221 .word 1030201325 .word -1118883004 .word 1024766043 .word 1018176221 .word -1115168528 .word 1011477146 .word -1115084642 .word 1036313331 .word -1107959023 .word -1112772205 .word 1010297104 .word 1027752120 .word -1135446009 .word -1115028539 .word -1108477238 .word 1039902045 .word -1125915476 .word 1024538410 .word -1127566891 .word 1033185924 .word -1123318900 .word -1163152306 .word 1033807889 .word 1034363551 .word 1040412005 .word 1041166108 .word 1044107623 .word 1035028465 .word -1105226686 .word -1118026963 .word -1102907135 .word -1130843951 .word -1102092098 .word -1115639096 .word -1094755857 .word -1098065633 .word -1094067086 .word -1103168188 .word -1091669957 .word -1100918834 .word 1032053798 .word -1111212058 .word -1098503216 .word -1102274030 .word -1104462047 .word -1111403050 .word 1028067531 .word 1030474592 .word -1142333525 .word 1043107030 .word 1028695133 .word 1042298033 .word -1116133688 .word 1041669357 .word -1104149588 .word 1044940176 .word -1100992452 .word 1041088731 .word -1098218708 .word 1044937022 .word -1093679264 .word 1033562808 .word -1092526031 .word 1044776766 .word -1091023430 .word 1042375611 .word -1091171338 .word 1032433634 .word -1092641123 .word -1109061622 .word -1121528435 .word -1121627220 .word -1102107466 .word -1104245688 .word -1105047102 .word -1106655299 .word -1095327088 .word -1094594259 .word -1098276154 .word -1097571141 .word -1103035783 .word -1097588757 .word -1105743424 .word -1103765256 .word -1114464691 .word -1102858481 .word -1118430959 .word -1105579007 .word -1129821749 .word -1108474688 .word 1025647317 .word -1135718739 .word -1098296085 .word 1026484836 .word -1101608444 .word 1032727973 .word -1104345882 .word 1040120820 .word -1095107944 .word 1044433101 .word -1090100700 .word -1127423546 .word -1109860620 .word -1154424395 .word -1098846243 .word -1115814250 .word -1096878276 .word -1113023998 .word 1013976817 .word 1034567293 .word -1106523699 .word 1023911077 .word -1114174243 .word -1127302214 .word 1038276937 .word 1036288904 .word 993828052 .word 1010955308 .word -1114010229 .word -1099270975 .word -1119839440 .word -1113156336 .word -1103387232 .word 1022484074 .word 1049026804 .word 1045685890 .word -1105167496 .word -1100250295 .word -1109011022 .word -1101663071 .word -1108432543 .word -1107539056 .word -1114142971 .word -1109085647 .word 1022462062 .word -1106452496 .word -1138714479 .word -1104834367 .word -1128356091 .word 1038716768 .word -1096134341 .word 1028194233 .word -1094075508 .word 1016623054 .word -1092748967 .word -1122981477 .word -1094932824 .word -1109574736 .word -1095544991 .word -1122364343 .word -1096520586 .word -1103703449 .word 1017535198 .word -1119446450 .word -1101557643 .word -1100097220 .word -1113048828 .word -1115289861 .word 1034410795 .word -1139210547 .word 1041649963 .word 1037096760 .word 1046160014 .word 1040145382 .word 1036861074 .word -1117941064 .word -1108717488 .word -1121348047 .word -1110969661 .word 1024970054 .word -1110698541 .word -1105083140 .word -1101203442 .word -1108430396 .word -1109698753 .word 1033650989 .word 1034772109 .word 1040260406 .word 1048337025 .word 1035683313 .word 1042541370 .word 1044451221 .word 1049377951 .word 1049555454 .word 1050938802 .word 1047404950 .word 1040704801 .word -1130656583 .word 1016806664 .word -1111768256 .word -1123852550 .word -1102068073 .word 1046078812 .word 1043756778 .word 1045796351 .word 1047886524 .word 1028287648 .word 1036810474 .word -1105907438 .word -1137837232 .word -1106791262 .word -1096469583 .word 1017191063 .word 1040294968 .word 1048938690 .word 1041712575 .word -1100062256 .word -1165042091 .word -1119087015 .word 1046964515 .word -1105298157 .word 1033693133 .word 1027109753 .word 1046656485 .word 1050958834 .word 1042645724 .word -1115717345 .word 1029405950 .word 1040674065 .word 1048352863 .word 1053361768 .word 1049311010 .word -1098418257 .word 1037146555 .word -1096317246 .word 1039734273 .word -1093886496 .word 1040112901 .word -1109532994 .word 1043822746 .word 1036882146 .word 1044061654 .word 1045479060 .word 1028310465 .align 3 .type lsf_cb5, %object .size lsf_cb5, 256 lsf_cb5: .word -1119656367 .word 1006836434 .word 1010411994 .word 1032138086 .word -1129149050 .word -1123126700 .word -1105793420 .word -1163745011 .word -1160858793 .word 1017691964 .word -1112822403 .word -1125294853 .word -1103759149 .word 1032274720 .word -1120854662 .word -1104602238 .word 1029335083 .word 1036364737 .word -1110962011 .word 1037702217 .word -1128292204 .word 1038339751 .word -1105836840 .word -1104990395 .word 1021257861 .word -1136562700 .word -1120877479 .word 1030501435 .word 1017110533 .word -1115787943 .word 1020586235 .word 1042706189 .word 1035743175 .word 1008681123 .word -1110851549 .word 1024796377 .word 1012978237 .word -1108435496 .word 1029740689 .word -1103539837 .word 1039448792 .word 1040440661 .word 1039298602 .word -1107229348 .word 1032252708 .word -1124244197 .word 1039594284 .word -1121734325 .word -1118889715 .word -1112184868 .word 1028479311 .word 1023932015 .word -1106983931 .word -1113992110 .word -1100562955 .word -1121661848 .word 1032889840 .word -1112738114 .word 1036229043 .word 1031939444 .word 1041899608 .word 1024246621 .word 1044287207 .word -1114775942 .section .data.rel.ro.local,"aw" .align 3 .type lsf_codebooks, %object .size lsf_codebooks, 40 lsf_codebooks: .xword lsf_cb1 .xword lsf_cb2 .xword lsf_cb3 .xword lsf_cb4 .xword lsf_cb5 .section .rodata .align 3 .type gain_cb, %object .size gain_cb, 1024 gain_cb: .word 1024478549 .word 1042639550 .word 1028234766 .word 1055231824 .word 1030441306 .word 1062149489 .word 1033132103 .word 1071731125 .word 1038374245 .word 1058078917 .word 1038552620 .word 1066179695 .word 1041428436 .word 1060770620 .word 1041518832 .word 1051857623 .word 1043901264 .word 1065772730 .word 1044426726 .word 1074569176 .word 1044534100 .word 1048809103 .word 1045103787 .word 1056450487 .word 1045933387 .word 1061256639 .word 1046609308 .word 1058487778 .word 1047707746 .word 1068056143 .word 1048749644 .word 1051552614 .word 1050219496 .word 1063995117 .word 1050744522 .word 1057316275 .word 1051498792 .word 1069294713 .word 1051643613 .word 1077116335 .word 1052376274 .word 1060927756 .word 1052397212 .word 1052523343 .word 1052597499 .word 1073221177 .word 1052607095 .word 1065984048 .word 1053513602 .word 1057793570 .word 1054500270 .word 1063273093 .word 1055309905 .word 1046266650 .word 1055894758 .word 1059847739 .word 1055974584 .word 1067383544 .word 1056098233 .word 1071559486 .word 1056457097 .word 1056647988 .word 1056928269 .word 1064870670 .word 1057484635 .word 1061758949 .word 1057631804 .word 1074289973 .word 1057736712 .word 1058466907 .word 1057746963 .word 1078149392 .word 1057842660 .word 1053266071 .word 1057909199 .word 1068709523 .word 1057966006 .word 1066237551 .word 1058208471 .word 1059775010 .word 1058567621 .word 1062483356 .word 1058604933 .word 1056861562 .word 1058928868 .word 1072593214 .word 1058972119 .word 1067213079 .word 1058997537 .word 1064518969 .word 1059119239 .word 1059158497 .word 1059123651 .word 1082638287 .word 1059328501 .word 1069797886 .word 1059410944 .word 1051298170 .word 1059532462 .word 1061128176 .word 1059697767 .word 1066002813 .word 1059808430 .word 1076388908 .word 1060010847 .word 1072393758 .word 1060116107 .word 1063732537 .word 1060129798 .word 1067625103 .word 1060237340 .word 1058277039 .word 1060285255 .word 1054563453 .word 1060579326 .word 1062205055 .word 1060823049 .word 1069877670 .word 1060948090 .word 1066248826 .word 1060995183 .word 1073881805 .word 1061005753 .word 1058113176 .word 1061204026 .word 1060294231 .word 1061269424 .word 1063559363 .word 1061457496 .word 1056939308 .word 1061469559 .word 1080924293 .word 1061547355 .word 1068141254 .word 1061764989 .word 1065713893 .word 1061809734 .word 1047796732 .word 1061844446 .word 1074887829 .word 1061919557 .word 1070241820 .word 1062159186 .word 1058566849 .word 1062350631 .word 1061267293 .word 1062410325 .word 1064060112 .word 1062434299 .word 1066920149 .word 1062457905 .word 1072777772 .word 1062502431 .word 1086510682 .word 1062619000 .word 1077181124 .word 1062762160 .word 1069468860 .word 1062808498 .word 1053959339 .word 1062946055 .word 1060818754 .word 1063048631 .word 1064797555 .word 1063248699 .word 1071071395 .word 1063251886 .word 1066843284 .word 1063328021 .word 1075005568 .word 1063451871 .word 1058861574 .word 1063620616 .word 1061680633 .word 1063755639 .word 1079966637 .word 1063777802 .word 1068128939 .word 1063997315 .word 1072711728 .word 1064009378 .word 1058130809 .word 1064040768 .word 1065639486 .word 1064051958 .word 1052803858 .word 1064249628 .word 1069423486 .word 1064327155 .word 1063157666 .word 1064332591 .word 1075328504 .word 1064664226 .word 1066382683 .word 1064666055 .word 1060221032 .word 1064698821 .word 1071589559 .word 1064862701 .word 1077453351 .word 1065066007 .word 1062241143 .word 1065187809 .word 1068121641 .word 1065293607 .word 1072260236 .word 1065353325 .word 1064807923 .word 1065359449 .word 1056313551 .word 1065420493 .word 1084427287 .word 1065469675 .word 1074184050 .word 1065574994 .word 1060174291 .word 1065582737 .word 1070035477 .word 1065605906 .word 1080396196 .word 1065637724 .word 1066343374 .word 1065683014 .word 1076020841 .word 1065928641 .word 1062608128 .word 1066032886 .word 1068027236 .word 1066134615 .word 1074865239 .word 1066155226 .word 1071329118 .word 1066215699 .word 1065666396 .word 1066219180 .word 1080185500 .word 1066253481 .word 1057109144 .word 1066611507 .word 1090516943 .word 1066667971 .word 1067339403 .word 1066766092 .word 1074866250 .word 1066897810 .word 1061592418 .word 1067119932 .word 1069646841 .word 1067204271 .word 1082897325 .word 1067232398 .word 1065071006 .word 1067469125 .word 1077007236 .word 1067879663 .word 1073096958 .align 3 .type pred, %object .size pred, 16 pred: .word 1045220557 .word 1051394572 .word 1057031717 .word 1060169056 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "Hello World! Thread ID, %ld\n" .text .align 2 .global PrintHello .type PrintHello, %function PrintHello: .LFB6: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] str x0, [sp, 40] ldr x1, [sp, 40] adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf mov x0, 0 bl pthread_exit .cfi_endproc .LFE6: .size PrintHello, .-PrintHello .section .rodata .align 3 .LC1: .string "main() : creating thread, %d\n" .align 3 .LC2: .string "Error:unable to create thread\n, %d\n" .text .align 2 .global main .type main, %function main: .LFB7: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp 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, 16] b .L3 .L5: ldr w0, [sp, 16] mov w1, w0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf ldr w0, [sp, 16] add x1, sp, 24 sxtw x0, w0 lsl x0, x0, 3 add x4, x1, x0 add x0, sp, 16 mov x3, x0 adrp x0, PrintHello add x2, x0, :lo12:PrintHello mov x1, 0 mov x0, x4 bl pthread_create str w0, [sp, 20] ldr w0, [sp, 20] cmp w0, 0 beq .L4 ldr w1, [sp, 20] adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf mov w0, -1 bl exit .L4: ldr w0, [sp, 16] add w0, w0, 1 str w0, [sp, 16] .L3: ldr w0, [sp, 16] cmp w0, 7 ble .L5 mov x0, 0 bl pthread_exit .cfi_endproc .LFE7: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .local lib_initialized .comm lib_initialized,4,4 .local cmdStr .comm cmdStr,256,8 .local cmdStrHead .comm cmdStrHead,8,8 .local cmdStrTail .comm cmdStrTail,8,8 .local cursorPos .comm cursorPos,8,8 .local initial_settings .comm initial_settings,60,8 .local CmdHistory .comm CmdHistory,264,8 .data .align 3 .type escapeTable, %object .size escapeTable, 80 escapeTable: .word 1 .string "[A" .string "" .zero 6 .zero 2 .word 2 .string "[B" .string "" .zero 6 .zero 2 .word 5 .string "[3~" .string "" .zero 5 .zero 2 .word 3 .string "[C" .string "" .zero 6 .zero 2 .word 4 .string "[D" .string "" .zero 6 .zero 2 .text .align 2 .type interpHistoryInit, %function interpHistoryInit: .LFB6: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory str x0, [sp, 8] str wzr, [sp, 4] b .L2 .L3: ldr w0, [sp, 4] lsl x0, x0, 2 ldr x1, [sp, 8] add x0, x1, x0 str wzr, [x0] ldr w0, [sp, 4] add w0, w0, 1 str w0, [sp, 4] .L2: ldr w0, [sp, 4] cmp w0, 65 bls .L3 nop nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size interpHistoryInit, .-interpHistoryInit .align 2 .type interpInit, %function interpInit: .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, cmdStrHead add x0, x0, :lo12:cmdStrHead adrp x1, cmdStr add x1, x1, :lo12:cmdStr str x1, [x0] adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail adrp x1, cmdStr add x1, x1, :lo12:cmdStr str x1, [x0] adrp x0, cursorPos add x0, x0, :lo12:cursorPos adrp x1, cmdStr add x1, x1, :lo12:cmdStr str x1, [x0] bl interpHistoryInit nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size interpInit, .-interpInit .align 2 .type interpHistoryInc, %function interpHistoryInc: .LFB8: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, 12] ldr w0, [sp, 12] add w0, w0, 1 negs w1, w0 and w0, w0, 31 and w1, w1, 31 csneg w0, w0, w1, mi add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE8: .size interpHistoryInc, .-interpHistoryInc .align 2 .type interpHistoryDec, %function interpHistoryDec: .LFB9: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, 12] ldr w0, [sp, 12] cmp w0, 0 beq .L8 ldr w0, [sp, 12] sub w0, w0, #1 b .L9 .L8: mov w0, 31 .L9: add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size interpHistoryDec, .-interpHistoryDec .align 2 .type interpHistPushCmd, %function interpHistPushCmd: .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 x19, [sp, 16] .cfi_offset 19, -32 str x0, [sp, 40] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w1, [x0, 256] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory sxtw x1, w1 ldr x0, [x0, x1, lsl 3] cmp x0, 0 bne .L11 adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w19, [x0, 256] mov x0, 256 bl malloc mov x2, x0 adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory sxtw x1, w19 str x2, [x0, x1, lsl 3] .L11: adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w1, [x0, 256] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory sxtw x1, w1 ldr x0, [x0, x1, lsl 3] ldr x1, [sp, 40] bl strcpy adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w0, [x0, 256] bl interpHistoryInc mov w1, w0 adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory str w1, [x0, 256] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w1, [x0, 256] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory str w1, [x0, 260] mov w0, 0 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 .LFE10: .size interpHistPushCmd, .-interpHistPushCmd .section .rodata .align 3 .LC0: .string "%c %c" .text .align 2 .type interpHistPopCmd, %function interpHistPopCmd: .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] ldr w0, [sp, 44] cmp w0, 2 bne .L14 adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w1, [x0, 260] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w0, [x0, 256] cmp w1, w0 bne .L15 mov w0, 1 b .L16 .L15: adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w0, [x0, 260] bl interpHistoryInc mov w1, w0 adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory str w1, [x0, 260] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w1, [x0, 260] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w0, [x0, 256] cmp w1, w0 bne .L22 b .L18 .L19: adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] sub x1, x0, #1 adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail str x1, [x0] mov w2, 8 mov w1, 8 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf .L18: adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x1, [x0] adrp x0, cmdStrHead add x0, x0, :lo12:cmdStrHead ldr x0, [x0] cmp x1, x0 bhi .L19 mov w0, 1 b .L16 .L14: ldr w0, [sp, 44] cmp w0, 1 bne .L20 adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w0, [x0, 260] bl interpHistoryDec mov w1, w0 adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory str w1, [x0, 260] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w1, [x0, 260] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory sxtw x1, w1 ldr x0, [x0, x1, lsl 3] cmp x0, 0 beq .L21 adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w1, [x0, 260] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w0, [x0, 256] cmp w1, w0 bne .L22 .L21: adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w0, [x0, 260] bl interpHistoryInc mov w1, w0 adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory str w1, [x0, 260] mov w0, 2 b .L16 .L20: mov w0, 3 b .L16 .L23: adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] sub x1, x0, #1 adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail str x1, [x0] mov w2, 8 mov w1, 8 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf .L22: adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x1, [x0] adrp x0, cmdStrHead add x0, x0, :lo12:cmdStrHead ldr x0, [x0] cmp x1, x0 bhi .L23 adrp x0, cmdStrHead add x0, x0, :lo12:cmdStrHead ldr x2, [x0] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory ldr w1, [x0, 260] adrp x0, CmdHistory add x0, x0, :lo12:CmdHistory sxtw x1, w1 ldr x0, [x0, x1, lsl 3] mov x1, x0 mov x0, x2 bl strcpy adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x19, [x0] adrp x0, cmdStrHead add x0, x0, :lo12:cmdStrHead ldr x0, [x0] bl strlen add x1, x19, x0 adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail str x1, [x0] adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x1, [x0] adrp x0, cursorPos add x0, x0, :lo12:cursorPos str x1, [x0] mov w0, 0 .L16: 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 interpHistPopCmd, .-interpHistPopCmd .align 2 .type getEscapeAction, %function getEscapeAction: .LFB12: .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, 20] str wzr, [sp, 24] add x0, sp, 32 mov x2, 20 mov w1, 1 bl memset b .L25 .L32: mov w0, 1 str w0, [sp, 24] adrp x0, :got:stdin ldr x0, [x0, #:got_lo12:stdin] ldr x0, [x0] bl fgetc strb w0, [sp, 19] str wzr, [sp, 28] b .L26 .L31: ldr w0, [sp, 28] lsl x0, x0, 2 add x1, sp, 32 ldr w0, [x1, x0] cmp w0, 0 beq .L27 adrp x0, escapeTable add x2, x0, :lo12:escapeTable ldr w0, [sp, 20] ldr w1, [sp, 28] lsl x1, x1, 4 add x1, x2, x1 add x0, x1, x0 ldrb w0, [x0, 4] mov w1, w0 ldrsb w0, [sp, 19] cmp w1, w0 bne .L28 ldr w0, [sp, 20] add w1, w0, 1 adrp x0, escapeTable add x2, x0, :lo12:escapeTable uxtw x0, w1 ldr w1, [sp, 28] lsl x1, x1, 4 add x1, x2, x1 add x0, x1, x0 ldrb w0, [x0, 4] cmp w0, 0 bne .L29 adrp x0, escapeTable add x1, x0, :lo12:escapeTable ldr w0, [sp, 28] lsl x0, x0, 4 add x0, x1, x0 ldr w0, [x0] b .L33 .L29: ldr w0, [sp, 28] lsl x0, x0, 2 add x1, sp, 32 mov w2, 1 str w2, [x1, x0] str wzr, [sp, 24] b .L27 .L28: ldr w0, [sp, 28] lsl x0, x0, 2 add x1, sp, 32 str wzr, [x1, x0] .L27: ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L26: ldr w0, [sp, 28] cmp w0, 4 bls .L31 ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] .L25: ldr w0, [sp, 24] cmp w0, 0 beq .L32 mov w0, 0 .L33: 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 .L34 bl __stack_chk_fail .L34: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE12: .size getEscapeAction, .-getEscapeAction .align 2 .type deleteCmdChar, %function deleteCmdChar: .LFB13: .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, cursorPos add x0, x0, :lo12:cursorPos ldr x1, [x0] adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] cmp x1, x0 bne .L36 adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] sub x1, x0, #1 adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail str x1, [x0] adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] sub x1, x0, #1 adrp x0, cursorPos add x0, x0, :lo12:cursorPos str x1, [x0] mov w2, 8 mov w1, 8 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf b .L42 .L36: adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x1, [x0] adrp x0, cmdStrHead add x0, x0, :lo12:cmdStrHead ldr x0, [x0] cmp x1, x0 beq .L42 mov w0, 8 bl putchar adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] str x0, [sp, 24] b .L38 .L39: ldr x0, [sp, 24] sub x0, x0, #1 ldr x1, [sp, 24] ldrb w1, [x1] strb w1, [x0] ldr x0, [sp, 24] sub x0, x0, #1 ldrb w0, [x0] bl putchar ldr x0, [sp, 24] add x0, x0, 1 str x0, [sp, 24] .L38: adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] ldr x1, [sp, 24] cmp x1, x0 bcc .L39 mov w0, 32 bl putchar adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] sub x1, x0, #1 adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail str x1, [x0] adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] sub x1, x0, #1 adrp x0, cursorPos add x0, x0, :lo12:cursorPos str x1, [x0] adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] add x0, x0, 1 str x0, [sp, 24] b .L40 .L41: mov w0, 8 bl putchar ldr x0, [sp, 24] sub x0, x0, #1 str x0, [sp, 24] .L40: adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] ldr x1, [sp, 24] cmp x1, x0 bhi .L41 .L42: nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE13: .size deleteCmdChar, .-deleteCmdChar .section .rodata .align 3 .LC1: .string "%s" .text .align 2 .type addCmdChar, %function addCmdChar: .LFB14: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp strb w0, [sp, 31] adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x1, [x0] adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] cmp x1, x0 bne .L44 adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] ldrb w1, [sp, 31] strb w1, [x0] adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] ldrb w0, [x0] bl putchar adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] add x1, x0, 1 adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail str x1, [x0] adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] add x1, x0, 1 adrp x0, cursorPos add x0, x0, :lo12:cursorPos str x1, [x0] b .L50 .L44: adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] str x0, [sp, 40] b .L46 .L47: ldr x0, [sp, 40] ldrb w1, [x0, -1] ldr x0, [sp, 40] strb w1, [x0] ldr x0, [sp, 40] sub x0, x0, #1 str x0, [sp, 40] .L46: adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] ldr x1, [sp, 40] cmp x1, x0 bhi .L47 adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] ldrb w1, [sp, 31] strb w1, [x0] adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] add x1, x0, 1 adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail str x1, [x0] adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] strb wzr, [x0] adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] mov x1, x0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] add x1, x0, 1 adrp x0, cursorPos add x0, x0, :lo12:cursorPos str x1, [x0] adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] str x0, [sp, 40] b .L48 .L49: mov w0, 8 bl putchar ldr x0, [sp, 40] sub x0, x0, #1 str x0, [sp, 40] .L48: adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] ldr x1, [sp, 40] cmp x1, x0 bhi .L49 .L50: nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE14: .size addCmdChar, .-addCmdChar .align 2 .type interpBuildCmd, %function interpBuildCmd: .LFB15: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp strb w0, [sp, 31] ldrb w0, [sp, 31] cmp w0, 10 beq .L52 ldrb w0, [sp, 31] cmp w0, 27 bne .L53 bl getEscapeAction str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 5 beq .L54 ldr w0, [sp, 44] cmp w0, 5 bhi .L70 ldr w0, [sp, 44] cmp w0, 4 beq .L56 ldr w0, [sp, 44] cmp w0, 4 bhi .L70 ldr w0, [sp, 44] cmp w0, 3 beq .L57 ldr w0, [sp, 44] cmp w0, 3 bhi .L70 ldr w0, [sp, 44] cmp w0, 1 beq .L58 ldr w0, [sp, 44] cmp w0, 2 beq .L59 b .L70 .L58: mov w0, 1 bl interpHistPopCmd cmp w0, 0 bne .L71 adrp x0, cmdStrHead add x0, x0, :lo12:cmdStrHead ldr x0, [x0] bl printf b .L71 .L59: mov w0, 2 bl interpHistPopCmd cmp w0, 0 bne .L72 adrp x0, cmdStrHead add x0, x0, :lo12:cmdStrHead ldr x0, [x0] bl printf b .L72 .L57: adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x1, [x0] adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] cmp x1, x0 bcs .L73 adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] ldrb w0, [x0] bl putchar adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] add x1, x0, 1 adrp x0, cursorPos add x0, x0, :lo12:cursorPos str x1, [x0] b .L73 .L56: adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x1, [x0] adrp x0, cmdStrHead add x0, x0, :lo12:cmdStrHead ldr x0, [x0] cmp x1, x0 bls .L74 mov w0, 8 bl putchar adrp x0, cursorPos add x0, x0, :lo12:cursorPos ldr x0, [x0] sub x1, x0, #1 adrp x0, cursorPos add x0, x0, :lo12:cursorPos str x1, [x0] b .L74 .L54: adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x1, [x0] adrp x0, cmdStrHead add x0, x0, :lo12:cmdStrHead ldr x0, [x0] cmp x1, x0 beq .L75 bl deleteCmdChar b .L75 .L53: ldrb w0, [sp, 31] cmp w0, 4 bne .L67 adrp x0, cmdStr add x0, x0, :lo12:cmdStr mov w1, -1 strb w1, [x0] adrp x0, cmdStr add x0, x0, :lo12:cmdStr strb wzr, [x0, 1] mov w0, 1 b .L68 .L67: ldrb w0, [sp, 31] cmp w0, 127 bne .L69 adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x1, [x0] adrp x0, cmdStrHead add x0, x0, :lo12:cmdStrHead ldr x0, [x0] cmp x1, x0 beq .L66 bl deleteCmdChar b .L66 .L69: ldrsb w0, [sp, 31] bl addCmdChar b .L66 .L70: nop b .L66 .L71: nop b .L66 .L72: nop b .L66 .L73: nop b .L66 .L74: nop b .L66 .L75: nop .L66: mov w0, 0 b .L68 .L52: adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail ldr x0, [x0] strb wzr, [x0] mov w0, 10 bl putchar mov w0, 1 .L68: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE15: .size interpBuildCmd, .-interpBuildCmd .align 2 .global cli_restore_terminal .type cli_restore_terminal, %function cli_restore_terminal: .LFB16: .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:stdin ldr x0, [x0, #:got_lo12:stdin] ldr x0, [x0] bl fileno mov w3, w0 adrp x0, initial_settings add x2, x0, :lo12:initial_settings mov w1, 0 mov w0, w3 bl tcsetattr nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE16: .size cli_restore_terminal, .-cli_restore_terminal .section .rodata .align 3 .LC2: .string "Unable to open /dev/tty\n" .align 3 .LC3: .string "GOT EOF..." .text .align 2 .global readline_lite .type readline_lite, %function readline_lite: .LFB17: .cfi_startproc stp x29, x30, [sp, -112]! .cfi_def_cfa_offset 112 .cfi_offset 29, -112 .cfi_offset 30, -104 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 104] mov x1, 0 adrp x0, lib_initialized add x0, x0, :lo12:lib_initialized ldr w0, [x0] cmp w0, 0 bne .L78 bl interpInit adrp x0, lib_initialized add x0, x0, :lo12:lib_initialized mov w1, 1 str w1, [x0] .L78: adrp x0, :got:stdin ldr x0, [x0, #:got_lo12:stdin] ldr x0, [x0] bl fileno mov w2, w0 adrp x0, initial_settings add x1, x0, :lo12:initial_settings mov w0, w2 bl tcgetattr adrp x0, initial_settings add x1, x0, :lo12:initial_settings add x0, sp, 40 ldp q0, q1, [x1] stp q0, q1, [x0] ldr q0, [x1, 32] str q0, [x0, 32] ldr q0, [x1, 44] str q0, [x0, 44] ldr w0, [sp, 52] and w0, w0, -3 str w0, [sp, 52] ldr w0, [sp, 52] and w0, w0, -9 str w0, [sp, 52] mov w0, 1 strb w0, [sp, 63] strb wzr, [sp, 62] adrp x0, :got:stdin ldr x0, [x0, #:got_lo12:stdin] ldr x0, [x0] bl fileno mov w3, w0 add x0, sp, 40 mov x2, x0 mov w1, 0 mov w0, w3 bl tcsetattr cmp w0, 0 beq .L79 adrp x0, :got:stderr ldr x0, [x0, #:got_lo12:stderr] ldr x0, [x0] mov x3, x0 mov x2, 24 mov x1, 1 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl fwrite mov x0, 0 b .L88 .L79: ldr x0, [sp, 24] cmp x0, 0 beq .L81 ldr x1, [sp, 24] adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf b .L82 .L81: mov w0, 62 bl putchar .L82: adrp x0, cmdStrHead add x0, x0, :lo12:cmdStrHead adrp x1, cmdStr add x1, x1, :lo12:cmdStr str x1, [x0] adrp x0, cmdStrTail add x0, x0, :lo12:cmdStrTail adrp x1, cmdStr add x1, x1, :lo12:cmdStr str x1, [x0] adrp x0, cursorPos add x0, x0, :lo12:cursorPos adrp x1, cmdStr add x1, x1, :lo12:cmdStr str x1, [x0] b .L83 .L85: ldrb w0, [sp, 39] bl interpBuildCmd cmp w0, 0 bne .L90 .L83: adrp x0, :got:stdin ldr x0, [x0, #:got_lo12:stdin] ldr x0, [x0] bl fgetc strb w0, [sp, 39] ldrsb w0, [sp, 39] cmn w0, #1 bne .L85 b .L84 .L90: nop .L84: adrp x0, :got:stdin ldr x0, [x0, #:got_lo12:stdin] ldr x0, [x0] bl fileno mov w3, w0 adrp x0, initial_settings add x2, x0, :lo12:initial_settings mov w1, 0 mov w0, w3 bl tcsetattr ldrsb w0, [sp, 39] cmn w0, #1 bne .L86 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl puts mov x0, 0 b .L88 .L86: adrp x0, cmdStr add x0, x0, :lo12:cmdStr ldrb w0, [x0] cmp w0, 0 beq .L87 adrp x0, cmdStr add x0, x0, :lo12:cmdStr bl interpHistPushCmd .L87: adrp x0, cmdStr add x0, x0, :lo12:cmdStr .L88: mov x1, x0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 104] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L89 bl __stack_chk_fail .L89: mov x0, x1 ldp x29, x30, [sp], 112 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE17: .size readline_lite, .-readline_lite ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global strend .type strend, %function strend: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str x1, [sp] ldr x0, [sp, 8] str x0, [sp, 16] ldr x0, [sp] str x0, [sp, 24] b .L2 .L3: ldr x0, [sp, 8] add x0, x0, 1 str x0, [sp, 8] .L2: ldr x0, [sp, 8] ldrb w0, [x0] cmp w0, 0 bne .L3 b .L4 .L5: ldr x0, [sp] add x0, x0, 1 str x0, [sp] .L4: ldr x0, [sp] ldrb w0, [x0] cmp w0, 0 bne .L5 b .L6 .L8: ldr x1, [sp] ldr x0, [sp, 24] cmp x1, x0 beq .L7 ldr x1, [sp, 8] ldr x0, [sp, 16] cmp x1, x0 beq .L7 ldr x0, [sp, 8] sub x0, x0, #1 str x0, [sp, 8] ldr x0, [sp] sub x0, x0, #1 str x0, [sp] .L6: ldr x0, [sp, 8] ldrb w1, [x0] ldr x0, [sp] ldrb w0, [x0] cmp w1, w0 beq .L8 .L7: ldr x0, [sp, 8] ldrb w1, [x0] ldr x0, [sp] ldrb w0, [x0] cmp w1, w0 bne .L9 ldr x1, [sp] ldr x0, [sp, 24] cmp x1, x0 bne .L9 ldr x0, [sp, 8] cmp x0, 0 beq .L9 mov w0, 1 b .L10 .L9: mov w0, 0 .L10: add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size strend, .-strend ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "usage: sgski <input file>" .align 3 .LC1: .string "r" .align 3 .LC2: .string "Unable to open input file %s\n" .align 3 .LC3: .string "Ski Path: %s; Distance: %d; Drop: %d\n" .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str w0, [sp, 28] str x1, [sp, 16] ldr w0, [sp, 28] cmp w0, 2 beq .L2 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl puts mov w0, 1 bl exit .L2: ldr x0, [sp, 16] ldr x0, [x0, 8] str x0, [sp, 32] adrp x0, .LC1 add x1, x0, :lo12:.LC1 ldr x0, [sp, 32] bl fopen str x0, [sp, 40] ldr x0, [sp, 40] cmp x0, 0 bne .L3 ldr x1, [sp, 32] adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf mov w0, 1 bl exit .L3: mov x0, 16 bl malloc str x0, [sp, 48] mov x0, 100 bl malloc mov x1, x0 ldr x0, [sp, 48] str x1, [x0] ldr x0, [sp, 48] str wzr, [x0, 8] ldr x0, [sp, 48] str wzr, [x0, 12] mov x0, 16 bl malloc str x0, [sp, 56] ldr x1, [sp, 40] ldr x0, [sp, 56] bl readfile ldr x0, [sp, 40] bl fclose ldr x1, [sp, 48] ldr x0, [sp, 56] bl findSkiPath ldr x0, [sp, 48] ldr x1, [x0] ldr x0, [sp, 48] ldr w2, [x0, 8] ldr x0, [sp, 48] ldr w0, [x0, 12] mov w3, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf 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 .LFE0: .size main, .-main .section .rodata .align 3 .LC4: .string "%d " .text .align 2 .global findSkiPath .type findSkiPath, %function findSkiPath: .LFB1: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] str wzr, [sp, 36] b .L6 .L9: str wzr, [sp, 40] b .L7 .L8: ldr x0, [sp, 24] ldr x1, [x0] ldrsw x0, [sp, 36] lsl x0, x0, 3 add x0, x1, x0 ldr x1, [x0] ldrsw x0, [sp, 40] lsl x0, x0, 2 add x0, x1, x0 ldr w0, [x0] str w0, [sp, 44] mov x0, 6 bl malloc str x0, [sp, 56] ldr w2, [sp, 44] adrp x0, .LC4 add x1, x0, :lo12:.LC4 ldr x0, [sp, 56] bl sprintf ldr w0, [sp, 36] str w0, [sp, 48] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 52] ldr w4, [sp, 44] ldr x3, [sp, 16] ldr x2, [sp, 48] ldr x1, [sp, 24] ldr x0, [sp, 56] bl checkAdjacentCells ldr w0, [sp, 36] str w0, [sp, 48] ldr w0, [sp, 40] sub w0, w0, #1 str w0, [sp, 52] ldr w4, [sp, 44] ldr x3, [sp, 16] ldr x2, [sp, 48] ldr x1, [sp, 24] ldr x0, [sp, 56] bl checkAdjacentCells ldr w0, [sp, 36] sub w0, w0, #1 str w0, [sp, 48] ldr w0, [sp, 40] str w0, [sp, 52] ldr w4, [sp, 44] ldr x3, [sp, 16] ldr x2, [sp, 48] ldr x1, [sp, 24] ldr x0, [sp, 56] bl checkAdjacentCells ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 48] ldr w0, [sp, 40] str w0, [sp, 52] ldr w4, [sp, 44] ldr x3, [sp, 16] ldr x2, [sp, 48] ldr x1, [sp, 24] ldr x0, [sp, 56] bl checkAdjacentCells ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L7: ldr x0, [sp, 24] ldr w0, [x0, 12] ldr w1, [sp, 40] cmp w1, w0 blt .L8 ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L6: ldr x0, [sp, 24] ldr w0, [x0, 8] ldr w1, [sp, 36] cmp w1, w0 blt .L9 nop nop ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size findSkiPath, .-findSkiPath .section .rodata .align 3 .LC5: .string "Unable to allocate memory" .text .align 2 .global checkAdjacentCells .type checkAdjacentCells, %function checkAdjacentCells: .LFB2: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp str x0, [sp, 56] str x1, [sp, 48] str x2, [sp, 40] str x3, [sp, 32] str w4, [sp, 28] ldr w0, [sp, 40] cmp w0, 0 blt .L11 ldr x0, [sp, 48] ldr w1, [x0, 8] ldr w0, [sp, 40] cmp w1, w0 ble .L11 ldr w0, [sp, 44] cmp w0, 0 blt .L11 ldr x0, [sp, 48] ldr w1, [x0, 12] ldr w0, [sp, 44] cmp w1, w0 bgt .L12 .L11: ldr x1, [sp, 56] ldr x0, [sp, 32] bl evaluateSolution b .L10 .L12: ldr x0, [sp, 48] ldr x1, [x0] ldr w0, [sp, 40] sxtw x0, w0 lsl x0, x0, 3 add x0, x1, x0 ldr x1, [x0] ldr w0, [sp, 44] sxtw x0, w0 lsl x0, x0, 2 add x0, x1, x0 ldr w0, [x0] str w0, [sp, 68] ldr w1, [sp, 68] ldr w0, [sp, 28] cmp w1, w0 bge .L14 ldr x0, [sp, 56] bl strlen add x0, x0, 6 bl malloc str x0, [sp, 80] ldr x1, [sp, 56] ldr x0, [sp, 80] bl strcpy mov x0, 6 bl malloc str x0, [sp, 88] ldr x0, [sp, 88] cmp x0, 0 bne .L15 adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl puts mov w0, 1 bl exit .L15: ldr w2, [sp, 68] adrp x0, .LC4 add x1, x0, :lo12:.LC4 ldr x0, [sp, 88] bl sprintf ldr x1, [sp, 88] ldr x0, [sp, 80] bl strcat ldr x0, [sp, 88] bl free ldr w0, [sp, 40] str w0, [sp, 72] ldr w0, [sp, 44] str w0, [sp, 76] ldr w0, [sp, 72] str w0, [sp, 40] ldr w0, [sp, 76] add w0, w0, 1 str w0, [sp, 44] ldr w4, [sp, 68] ldr x3, [sp, 32] ldr x2, [sp, 40] ldr x1, [sp, 48] ldr x0, [sp, 80] bl checkAdjacentCells ldr w0, [sp, 72] str w0, [sp, 40] ldr w0, [sp, 76] sub w0, w0, #1 str w0, [sp, 44] ldr w4, [sp, 68] ldr x3, [sp, 32] ldr x2, [sp, 40] ldr x1, [sp, 48] ldr x0, [sp, 80] bl checkAdjacentCells ldr w0, [sp, 72] sub w0, w0, #1 str w0, [sp, 40] ldr w0, [sp, 76] str w0, [sp, 44] ldr w4, [sp, 68] ldr x3, [sp, 32] ldr x2, [sp, 40] ldr x1, [sp, 48] ldr x0, [sp, 80] bl checkAdjacentCells ldr w0, [sp, 72] add w0, w0, 1 str w0, [sp, 40] ldr w0, [sp, 76] str w0, [sp, 44] ldr w4, [sp, 68] ldr x3, [sp, 32] ldr x2, [sp, 40] ldr x1, [sp, 48] ldr x0, [sp, 80] bl checkAdjacentCells ldr x0, [sp, 80] bl free .L14: ldr x1, [sp, 56] ldr x0, [sp, 32] bl evaluateSolution nop .L10: ldp x29, x30, [sp], 96 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE2: .size checkAdjacentCells, .-checkAdjacentCells .section .rodata .align 3 .LC6: .string " " .text .align 2 .global evaluateSolution .type evaluateSolution, %function evaluateSolution: .LFB3: .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] str x1, [sp, 32] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 88] mov x1, 0 mov w0, 1 str w0, [sp, 56] ldr x0, [sp, 32] bl strdup mov x2, x0 adrp x0, .LC6 add x1, x0, :lo12:.LC6 mov x0, x2 bl strtok str x0, [sp, 72] ldr x0, [sp, 72] bl strdup str x0, [sp, 80] ldr x0, [sp, 80] str x0, [sp, 64] b .L17 .L18: ldr x0, [sp, 64] str x0, [sp, 80] ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L17: adrp x0, .LC6 add x1, x0, :lo12:.LC6 mov x0, 0 bl strtok str x0, [sp, 64] ldr x0, [sp, 64] cmp x0, 0 bne .L18 ldr x0, [sp, 40] ldr w0, [x0, 8] ldr w1, [sp, 56] cmp w1, w0 blt .L24 ldr x0, [sp, 72] bl atoi mov w19, w0 ldr x0, [sp, 80] bl atoi sub w0, w19, w0 str w0, [sp, 60] ldr x0, [sp, 40] ldr w0, [x0, 8] ldr w1, [sp, 56] cmp w1, w0 bgt .L21 ldr x0, [sp, 40] ldr w0, [x0, 12] ldr w1, [sp, 60] cmp w1, w0 ble .L16 .L21: ldr x0, [sp, 40] ldr x0, [x0] ldr x1, [sp, 32] bl strcpy ldr x0, [sp, 40] ldr w1, [sp, 56] str w1, [x0, 8] ldr x0, [sp, 40] ldr w1, [sp, 60] str w1, [x0, 12] b .L16 .L24: nop .L16: 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 .L23 bl __stack_chk_fail .L23: 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 .LFE3: .size evaluateSolution, .-evaluateSolution .align 2 .global readfile .type readfile, %function readfile: .LFB4: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 72] mov x1, 0 str wzr, [sp, 44] str xzr, [sp, 48] mov x0, -1 str x0, [sp, 64] b .L26 .L29: ldr w0, [sp, 44] cmp w0, 0 bne .L27 ldr x0, [sp, 56] mov x1, x0 ldr x0, [sp, 24] bl initMatrix b .L28 .L27: ldr x0, [sp, 56] ldr w2, [sp, 44] mov x1, x0 ldr x0, [sp, 24] bl readline .L28: ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L26: add x1, sp, 48 add x0, sp, 56 ldr x2, [sp, 16] bl getline cmn x0, #1 cset w0, ne and w0, w0, 255 and x0, x0, 255 str x0, [sp, 64] ldr x0, [sp, 64] cmp x0, 0 bne .L29 nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 72] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L30 bl __stack_chk_fail .L30: ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE4: .size readfile, .-readfile .align 2 .global initMatrix .type initMatrix, %function initMatrix: .LFB5: .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, 40] str x1, [sp, 32] adrp x0, .LC6 add x1, x0, :lo12:.LC6 ldr x0, [sp, 32] bl strtok str x0, [sp, 64] ldr x0, [sp, 64] bl atoi mov w1, w0 ldr x0, [sp, 40] str w1, [x0, 8] adrp x0, .LC6 add x1, x0, :lo12:.LC6 mov x0, 0 bl strtok str x0, [sp, 64] ldr x0, [sp, 64] bl atoi mov w1, w0 ldr x0, [sp, 40] str w1, [x0, 12] ldr x0, [sp, 40] ldr w0, [x0, 8] sxtw x0, w0 lsl x0, x0, 3 bl malloc str x0, [sp, 72] str wzr, [sp, 60] b .L32 .L33: ldr x0, [sp, 40] ldr w0, [x0, 12] sxtw x0, w0 lsl x2, x0, 2 ldrsw x0, [sp, 60] lsl x0, x0, 3 ldr x1, [sp, 72] add x19, x1, x0 mov x0, x2 bl malloc str x0, [x19] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L32: ldr x0, [sp, 40] ldr w0, [x0, 8] ldr w1, [sp, 60] cmp w1, w0 blt .L33 ldr x0, [sp, 40] ldr x1, [sp, 72] str x1, [x0] 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 .LFE5: .size initMatrix, .-initMatrix .section .rodata .align 3 .LC7: .string "Invalid input file. Cannot have value greater than 9999" .text .align 2 .global readline .type readline, %function readline: .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] str w2, [sp, 44] str wzr, [sp, 64] adrp x0, .LC6 add x1, x0, :lo12:.LC6 ldr x0, [sp, 48] bl strtok str x0, [sp, 72] b .L35 .L37: ldr x0, [sp, 72] bl atoi str w0, [sp, 68] ldr w1, [sp, 68] mov w0, 9999 cmp w1, w0 ble .L36 adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl puts mov w0, 1 bl exit .L36: ldr x0, [sp, 56] ldr x1, [x0] ldrsw x0, [sp, 44] lsl x0, x0, 3 sub x0, x0, #8 add x0, x1, x0 ldr x1, [x0] ldrsw x0, [sp, 64] lsl x0, x0, 2 add x19, x1, x0 ldr x0, [sp, 72] bl atoi str w0, [x19] adrp x0, .LC6 add x1, x0, :lo12:.LC6 mov x0, 0 bl strtok str x0, [sp, 72] ldr w0, [sp, 64] add w0, w0, 1 str w0, [sp, 64] .L35: ldr x0, [sp, 72] cmp x0, 0 bne .L37 nop nop ldr x19, [sp, 16] ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_restore 19 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size readline, .-readline .align 2 .global showContents .type showContents, %function showContents: .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] str wzr, [sp, 40] b .L39 .L42: str wzr, [sp, 44] b .L40 .L41: ldr x0, [sp, 24] ldr x1, [x0] ldrsw x0, [sp, 40] lsl x0, x0, 3 add x0, x1, x0 ldr x1, [x0] ldrsw x0, [sp, 44] lsl x0, x0, 2 add x0, x1, x0 ldr w0, [x0] mov w1, w0 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl printf ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L40: ldr x0, [sp, 24] ldr w0, [x0, 12] ldr w1, [sp, 44] cmp w1, w0 blt .L41 mov w0, 10 bl putchar ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L39: ldr x0, [sp, 24] ldr w0, [x0, 8] ldr w1, [sp, 40] cmp w1, w0 blt .L42 nop nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size showContents, .-showContents ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global test_vrev32Qu8 .type test_vrev32Qu8, %function test_vrev32Qu8: .LFB4340: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 ldr q0, [sp] str q0, [sp, 32] ldr q0, [sp, 32] rev32 v0.16b, v0.16b str q0, [sp, 16] nop add sp, sp, 48 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE4340: .size test_vrev32Qu8, .-test_vrev32Qu8 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC1: .string "%d\n" .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 56] mov x1, 0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 add x2, sp, 32 mov x3, x0 ldp x0, x1, [x3] stp x0, x1, [x2] ldr w0, [x3, 16] str w0, [x2, 16] add x0, sp, 32 str x0, [sp, 24] ldr x0, [sp, 24] add x0, x0, 8 mov w1, 3 str w1, [x0] ldr x0, [sp, 24] add x0, x0, 8 mov w1, 4 str w1, [x0] ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] mov w1, w0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] mov w1, w0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 56] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L2 bl __stack_chk_fail .L2: ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main .section .rodata .align 3 .LC0: .word 1 .word 2 .word 3 .word 4 .word 5 .text ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global dup2 .type dup2, %function dup2: .LFB0: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str w0, [sp, 28] str w1, [sp, 24] ldr w1, [sp, 28] ldr w0, [sp, 24] cmp w1, w0 beq .L2 mov w1, 3 ldr w0, [sp, 28] bl fcntl cmp w0, 0 bge .L3 mov w0, -1 b .L4 .L3: mov w1, 3 ldr w0, [sp, 24] bl fcntl cmp w0, 0 blt .L5 ldr w0, [sp, 24] bl close .L5: ldr w2, [sp, 24] mov w1, 0 ldr w0, [sp, 28] bl fcntl cmp w0, 0 bge .L2 mov w0, -1 b .L4 .L2: ldr w0, [sp, 24] .L4: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size dup2, .-dup2 ```
### 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 70025 .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 31800 .align 2 .type ASSETDATA_VERSION, %object .size ASSETDATA_VERSION, 4 ASSETDATA_VERSION: .word 70017 .align 2 .type MIN_PEER_PROTO_VERSION, %object .size MIN_PEER_PROTO_VERSION, 4 MIN_PEER_PROTO_VERSION: .word 70017 .align 2 .type CADDR_TIME_VERSION, %object .size CADDR_TIME_VERSION, 4 CADDR_TIME_VERSION: .word 31402 .align 2 .type BIP0031_VERSION, %object .size BIP0031_VERSION, 4 BIP0031_VERSION: .word 60000 .align 2 .type NO_BLOOM_VERSION, %object .size NO_BLOOM_VERSION, 4 NO_BLOOM_VERSION: .word 70011 .align 2 .type SENDHEADERS_VERSION, %object .size SENDHEADERS_VERSION, 4 SENDHEADERS_VERSION: .word 70012 .align 2 .type FEEFILTER_VERSION, %object .size FEEFILTER_VERSION, 4 FEEFILTER_VERSION: .word 70013 .align 2 .type SHORT_IDS_BLOCKS_VERSION, %object .size SHORT_IDS_BLOCKS_VERSION, 4 SHORT_IDS_BLOCKS_VERSION: .word 70014 .align 2 .type INVALID_CB_NO_BAN_VERSION, %object .size INVALID_CB_NO_BAN_VERSION, 4 INVALID_CB_NO_BAN_VERSION: .word 70015 .align 2 .type ASSETDATA_VERSION_UPDATED, %object .size ASSETDATA_VERSION_UPDATED, 4 ASSETDATA_VERSION_UPDATED: .word 70020 .align 2 .type X16RV2_VERSION, %object .size X16RV2_VERSION, 4 X16RV2_VERSION: .word 70025 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global bodyMassIndex .type bodyMassIndex, %function bodyMassIndex: .LFB0: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] ldr s0, [sp, 12] scvtf s1, s0 ldr s2, [sp, 8] ldr s0, [sp, 8] fmul s0, s2, s0 fdiv s0, s1, s0 add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size bodyMassIndex, .-bodyMassIndex .section .rodata .align 3 .LC0: .string "person weights %i kilograms \n" .align 3 .LC1: .string "person is %.2f meters tall\n" .align 3 .LC2: .string "person has a BMI of %.2f.\n" .align 3 .LC3: .string "4\347\231\276\344\270\207\347\247\222\346\230\257 %4d-%02d-%02d %02d:%02d:%2d\n" .text .align 2 .global main .type main, %function main: .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 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 mov w0, 74 str w0, [sp, 44] mov w0, 47186 movk w0, 0x3fde, lsl 16 fmov s0, w0 str s0, [sp, 40] ldr w0, [sp, 44] mov w1, w0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf ldr s0, [sp, 40] fcvt d0, s0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf ldr x0, [sp, 40] bl bodyMassIndex str s0, [sp, 36] ldr s0, [sp, 36] fcvt d0, s0 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf mov x0, 0 bl time str x0, [sp, 56] ldr d0, [sp, 56] scvtf d0, d0 mov x0, 20684562497536 movk x0, 0x4183, lsl 48 fmov d1, x0 fadd d0, d0, d1 fcvtzs d0, d0 str d0, [sp, 48] add x1, sp, 64 add x0, sp, 48 bl localtime_r ldr w0, [sp, 84] add w1, w0, 1900 ldr w0, [sp, 80] add w0, w0, 1 ldr w2, [sp, 76] ldr w3, [sp, 72] ldr w4, [sp, 68] ldr w5, [sp, 64] mov w6, w5 mov w5, w4 mov w4, w3 mov w3, w2 mov w2, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 120] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L5 bl __stack_chk_fail .L5: mov w0, w1 ldp x29, x30, [sp], 128 .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 .weak xxx .bss .align 2 .type xxx, %object .size xxx, 4 xxx: .zero 4 .text .align 2 .global foo .type foo, %function foo: .LFB0: .cfi_startproc adrp x0, xxx add x0, x0, :lo12:xxx ldr w0, [x0] ret .cfi_endproc .LFE0: .size foo, .-foo ```
### 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 "sub_sat_int4int4.cl" .align 3 .LC17: .string "error: call to 'clCreateProgramWithSource' failed" .align 3 .LC18: .string "program=%p\n" .align 3 .LC19: .string "error: call to 'clBuildProgram' failed:\n%s\n" .align 3 .LC20: .string "program built" .align 3 .LC21: .string "sub_sat_int4int4" .align 3 .LC22: .string "error: call to 'clCreateKernel' failed" .align 3 .LC23: .string "error: could not create source buffer" .align 3 .LC24: .string "error: call to 'clEnqueueWriteBuffer' failed" .align 3 .LC25: .string "error: could not create dst buffer" .align 3 .LC26: .string "error: call to 'clSetKernelArg' failed" .align 3 .LC27: .string "error: call to 'clEnqueueNDRangeKernel' failed" .align 3 .LC28: .string "error: call to 'clEnqueueReadBuffer' failed" .align 3 .LC29: .string "%s.result" .align 3 .LC30: .string "Result dumped to %s\n" .align 3 .LC31: .string "error: call to 'clReleaseMemObject' failed" .align 3 .LC32: .string "error: call to 'clReleaseKernel' failed" .align 3 .LC33: .string "error: call to 'clReleaseProgram' failed" .align 3 .LC34: .string "error: call to 'clReleaseCommandQueue' failed" .align 3 .LC35: .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, 60 add x0, sp, 80 mov x2, x1 mov x1, x0 mov w0, 1 bl clGetPlatformIDs str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L8 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl puts mov w0, 1 bl exit .L8: ldr w0, [sp, 60] 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, 64] ldr w0, [sp, 64] 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, 68 add x1, sp, 88 mov x4, x2 mov x3, x1 mov w2, 1 mov x1, 4 bl clGetDeviceIDs str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L10 adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl puts mov w0, 1 bl exit .L10: ldr w0, [sp, 68] 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, 64] ldr w0, [sp, 64] 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, 64 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, 64] 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, 64 mov x3, x1 mov x2, 0 mov x1, x0 ldr x0, [sp, 152] bl clCreateCommandQueue str x0, [sp, 160] ldr w0, [sp, 64] 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 add x0, sp, 104 mov x1, x0 adrp x0, .LC16 add x0, x0, :lo12:.LC16 bl read_buffer str x0, [sp, 96] add x2, sp, 64 add x1, sp, 104 add x0, sp, 96 mov x4, x2 mov x3, x1 mov x2, x0 mov w1, 1 ldr x0, [sp, 152] bl clCreateProgramWithSource str x0, [sp, 168] ldr w0, [sp, 64] cmp w0, 0 beq .L14 adrp x0, .LC17 add x0, x0, :lo12:.LC17 bl puts mov w0, 1 bl exit .L14: ldr x1, [sp, 168] adrp x0, .LC18 add x0, x0, :lo12:.LC18 bl printf 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, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L15 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, .LC19 add x0, x0, :lo12:.LC19 bl printf ldr x0, [sp, 216] bl free mov w0, 1 bl exit .L15: adrp x0, .LC20 add x0, x0, :lo12:.LC20 bl puts mov w0, 10 bl putchar add x0, sp, 64 mov x2, x0 adrp x0, .LC21 add x1, x0, :lo12:.LC21 ldr x0, [sp, 168] bl clCreateKernel str x0, [sp, 176] ldr w0, [sp, 64] cmp w0, 0 beq .L16 adrp x0, .LC22 add x0, x0, :lo12:.LC22 bl puts mov w0, 1 bl exit .L16: 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 .L17 .L18: ldrsw x0, [sp, 72] lsl x0, x0, 4 ldr x1, [sp, 192] add x0, x1, x0 mov w1, 2 str w1, [x0] mov w1, 2 str w1, [x0, 4] mov w1, 2 str w1, [x0, 8] mov w1, 2 str w1, [x0, 12] ldr w0, [sp, 72] add w0, w0, 1 str w0, [sp, 72] .L17: ldrsw x0, [sp, 72] ldr x1, [sp, 184] cmp x1, x0 bhi .L18 ldr x0, [sp, 184] lsl x0, x0, 4 add x1, sp, 64 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, 64] cmp w0, 0 beq .L19 adrp x0, .LC23 add x0, x0, :lo12:.LC23 bl puts mov w0, 1 bl exit .L19: 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, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L20 adrp x0, .LC24 add x0, x0, :lo12:.LC24 bl puts mov w0, 1 bl exit .L20: ldr x0, [sp, 184] lsl x0, x0, 4 bl malloc str x0, [sp, 200] str wzr, [sp, 76] b .L21 .L22: ldrsw x0, [sp, 76] lsl x0, x0, 4 ldr x1, [sp, 200] add x0, x1, x0 mov w1, 2 str w1, [x0] mov w1, 2 str w1, [x0, 4] mov w1, 2 str w1, [x0, 8] mov w1, 2 str w1, [x0, 12] ldr w0, [sp, 76] add w0, w0, 1 str w0, [sp, 76] .L21: ldrsw x0, [sp, 76] ldr x1, [sp, 184] cmp x1, x0 bhi .L22 ldr x0, [sp, 184] lsl x0, x0, 4 add x1, sp, 64 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, 64] cmp w0, 0 beq .L23 adrp x0, .LC23 add x0, x0, :lo12:.LC23 bl puts mov w0, 1 bl exit .L23: 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, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L24 adrp x0, .LC24 add x0, x0, :lo12:.LC24 bl puts mov w0, 1 bl exit .L24: ldr x0, [sp, 184] lsl x0, x0, 4 bl malloc str x0, [sp, 208] ldr x0, [sp, 184] lsl x0, x0, 4 mov x2, x0 mov w1, 1 ldr x0, [sp, 208] bl memset ldr x0, [sp, 184] lsl x0, x0, 4 add x1, sp, 64 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, 64] cmp w0, 0 beq .L25 adrp x0, .LC25 add x0, x0, :lo12:.LC25 bl puts mov w0, 1 bl exit .L25: str wzr, [sp, 64] 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, 64] orr w0, w1, w0 str w0, [sp, 64] 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, 64] orr w0, w1, w0 str w0, [sp, 64] 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, 64] orr w0, w1, w0 str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L26 adrp x0, .LC26 add x0, x0, :lo12:.LC26 bl puts mov w0, 1 bl exit .L26: 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, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L27 adrp x0, .LC27 add x0, x0, :lo12:.LC27 bl puts mov w0, 1 bl exit .L27: ldr x0, [sp, 160] bl clFinish ldr x1, [sp, 128] ldr x0, [sp, 184] lsl x0, x0, 4 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, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L28 adrp x0, .LC28 add x0, x0, :lo12:.LC28 bl puts mov w0, 1 bl exit .L28: ldr x0, [sp, 32] ldr x0, [x0] add x3, sp, 432 mov x2, x0 adrp x0, .LC29 add x1, x0, :lo12:.LC29 mov x0, x3 bl sprintf ldr x0, [sp, 184] lsl x1, x0, 4 add x0, sp, 432 mov x2, x1 ldr x1, [sp, 208] bl write_buffer add x0, sp, 432 mov x1, x0 adrp x0, .LC30 add x0, x0, :lo12:.LC30 bl printf ldr x0, [sp, 208] bl free ldr x0, [sp, 128] bl clReleaseMemObject str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L29 adrp x0, .LC31 add x0, x0, :lo12:.LC31 bl puts mov w0, 1 bl exit .L29: ldr x0, [sp, 192] bl free ldr x0, [sp, 112] bl clReleaseMemObject str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L30 adrp x0, .LC31 add x0, x0, :lo12:.LC31 bl puts mov w0, 1 bl exit .L30: ldr x0, [sp, 200] bl free ldr x0, [sp, 120] bl clReleaseMemObject str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L31 adrp x0, .LC31 add x0, x0, :lo12:.LC31 bl puts mov w0, 1 bl exit .L31: ldr x0, [sp, 176] bl clReleaseKernel str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L32 adrp x0, .LC32 add x0, x0, :lo12:.LC32 bl puts mov w0, 1 bl exit .L32: ldr x0, [sp, 168] bl clReleaseProgram str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L33 adrp x0, .LC33 add x0, x0, :lo12:.LC33 bl puts mov w0, 1 bl exit .L33: ldr x0, [sp, 160] bl clReleaseCommandQueue str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L34 adrp x0, .LC34 add x0, x0, :lo12:.LC34 bl puts mov w0, 1 bl exit .L34: ldr x0, [sp, 152] bl clReleaseContext str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L35 adrp x0, .LC35 add x0, x0, :lo12:.LC35 bl puts mov w0, 1 bl exit .L35: 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 .L37 bl __stack_chk_fail .L37: 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 .align 2 .global e .type e, %function e: .LFB0: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str wzr, [sp, 8] b .L2 .L5: str wzr, [sp, 12] b .L3 .L4: ldr w0, [sp, 12] add w0, w0, 1 str w0, [sp, 12] .L3: ldr w1, [sp, 12] mov w0, 16959 movk w0, 0xf, lsl 16 cmp w1, w0 ble .L4 ldr w0, [sp, 8] add w0, w0, 1 str w0, [sp, 8] .L2: ldr w0, [sp, 8] cmp w0, 9 ble .L5 nop nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size e, .-e .align 2 .global d .type d, %function d: .LFB1: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str wzr, [sp, 8] b .L7 .L10: str wzr, [sp, 12] b .L8 .L9: ldr w0, [sp, 12] add w0, w0, 1 str w0, [sp, 12] .L8: ldr w1, [sp, 12] mov w0, 16959 movk w0, 0xf, lsl 16 cmp w1, w0 ble .L9 ldr w0, [sp, 8] add w0, w0, 1 str w0, [sp, 8] .L7: ldr w0, [sp, 8] cmp w0, 4 ble .L10 nop nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size d, .-d .align 2 .global c .type c, %function c: .LFB2: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp bl d bl e nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE2: .size c, .-c .align 2 .global b .type b, %function b: .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 c nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE3: .size b, .-b .align 2 .global a .type a, %function a: .LFB4: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp bl b nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE4: .size a, .-a .align 2 .global main .type main, %function main: .LFB5: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp .L15: bl a b .L15 .cfi_endproc .LFE5: .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\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 x1, sp, 20 add x0, sp, 16 mov x2, x1 mov x1, x0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl __isoc99_scanf ldr w1, [sp, 16] ldr w0, [sp, 20] mul w0, w1, w0 lsr w1, w0, 31 add w0, w1, w0 asr w0, w0, 1 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 .LFE0: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "/home/shahram/Desktop/Research/3_Tagging/GetTargetHalo/merger.bin" .align 3 .LC1: .string "copied filename" .align 3 .LC2: .string "after read" .align 3 .LC3: .string "Halo:%d,Subhalo:%d\n" .text .align 2 .global main .type main, %function main: .LFB6: .cfi_startproc sub sp, sp, #560 .cfi_def_cfa_offset 560 stp x29, x30, [sp] .cfi_offset 29, -560 .cfi_offset 30, -552 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 552] mov x1, 0 mov w0, 100 str w0, [sp, 28] str xzr, [sp, 32] mov x0, 4 bl malloc str x0, [sp, 40] ldr x0, [sp, 40] mov w1, -1 str w1, [x0] mov x0, 4 bl malloc str x0, [sp, 32] ldr x0, [sp, 32] mov w1, -1 str w1, [x0] add x2, sp, 48 adrp x0, .LC0 add x1, x0, :lo12:.LC0 mov x0, x2 bl sprintf adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl puts add x0, sp, 48 ldr x3, [sp, 32] ldr x2, [sp, 40] ldr w1, [sp, 28] bl ReadTargetHalo adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl puts ldr x0, [sp, 40] ldr w1, [x0] ldr x0, [sp, 32] ldr w0, [x0] mov w2, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf ldr x0, [sp, 40] bl free ldr x0, [sp, 32] bl free mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 552] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L3 bl __stack_chk_fail .L3: mov w0, w1 ldp x29, x30, [sp] add sp, sp, 560 .cfi_restore 29 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size main, .-main .section .rodata .align 3 .LC4: .string "rb" .align 3 .LC5: .string "opened the file" .align 3 .LC6: .string "read:s=%d\n" .align 3 .LC7: .string "read h=%d\n" .align 3 .LC8: .string "read:sub=%d\n" .text .align 2 .global ReadTargetHalo .type ReadTargetHalo, %function ReadTargetHalo: .LFB7: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] str x3, [sp, 16] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 72] mov x1, 0 mov w0, -1 str w0, [sp, 60] adrp x0, .LC4 add x1, x0, :lo12:.LC4 ldr x0, [sp, 40] bl fopen str x0, [sp, 64] adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl puts ldr x0, [sp, 64] cmp x0, 0 beq .L5 .L8: add x0, sp, 48 ldr x3, [sp, 64] mov x2, 1 mov x1, 4 bl fread str w0, [sp, 60] ldr w0, [sp, 48] mov w1, w0 adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl printf add x0, sp, 52 ldr x3, [sp, 64] mov x2, 1 mov x1, 4 bl fread ldr w0, [sp, 52] mov w1, w0 adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl printf add x0, sp, 56 ldr x3, [sp, 64] mov x2, 1 mov x1, 4 bl fread ldr w0, [sp, 56] mov w1, w0 adrp x0, .LC8 add x0, x0, :lo12:.LC8 bl printf ldr w0, [sp, 48] ldr w1, [sp, 36] cmp w1, w0 bne .L6 ldr w1, [sp, 52] ldr x0, [sp, 24] str w1, [x0] ldr w1, [sp, 56] ldr x0, [sp, 16] str w1, [x0] b .L4 .L6: ldr w0, [sp, 60] cmp w0, 1 beq .L8 .L5: ldr x0, [sp, 64] bl fclose .L4: adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 72] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L9 bl __stack_chk_fail .L9: ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size ReadTargetHalo, .-ReadTargetHalo ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "Hello from server" .align 3 .LC1: .string "socket failed" .align 3 .LC2: .string "SERVER: Socket created..." .align 3 .LC3: .string "setsockopt" .align 3 .LC4: .string "bind failed" .align 3 .LC5: .string "SERVER: Socket binded successfully..." .align 3 .LC6: .string "listen" .align 3 .LC7: .string "SERVER: Server started listening for client at port number: 8080 ..." .align 3 .LC8: .string "accept" .align 3 .LC9: .string "SERVER: Accepted the connection from client..." .align 3 .LC10: .string "SERVER: Paragraph received from client: \n%s\n\n" .align 3 .LC11: .string "SERVER: Sending the below information to the client:\n" .align 3 .LC12: .string "Number of characters in the given paragraph: %d\n" .align 3 .LC13: .string "Number of words in the given paragraph: %d\n" .align 3 .LC14: .string "Number of sentences in the given paragraph: %d\n\n" .align 3 .LC15: .string "%d" .align 3 .LC19: .string "SERVER: Paragraph analysis sent to client." .align 3 .LC20: .string "SERVER: Connection closed" .text .align 2 .global main .type main, %function main: .LFB6: .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 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, 1320] mov x1, 0 mov w0, 1 str w0, [sp, 36] mov w0, 16 str w0, [sp, 40] add x0, sp, 512 stp xzr, xzr, [x0, -216] add x0, sp, 312 mov x1, 1008 mov x2, x1 mov w1, 0 bl memset adrp x0, .LC0 add x0, x0, :lo12:.LC0 str x0, [sp, 72] mov w2, 0 mov w1, 1 mov w0, 2 bl socket str w0, [sp, 56] ldr w0, [sp, 56] cmp w0, 0 bne .L2 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl perror mov w0, 1 bl exit .L2: adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl puts add x0, sp, 36 mov w4, 4 mov x3, x0 mov w2, 15 mov w1, 1 ldr w0, [sp, 56] bl setsockopt cmp w0, 0 beq .L3 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl perror mov w0, 1 bl exit .L3: mov w0, 2 strh w0, [sp, 80] str wzr, [sp, 84] mov w0, 8080 bl htons and w0, w0, 65535 strh w0, [sp, 82] add x0, sp, 80 mov w2, 16 mov x1, x0 ldr w0, [sp, 56] bl bind cmp w0, 0 bge .L4 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl perror mov w0, 1 bl exit .L4: adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl puts mov w1, 3 ldr w0, [sp, 56] bl listen cmp w0, 0 bge .L5 adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl perror mov w0, 1 bl exit .L5: adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl puts add x1, sp, 40 add x0, sp, 80 mov x2, x1 mov x1, x0 ldr w0, [sp, 56] bl accept str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 bge .L6 adrp x0, .LC8 add x0, x0, :lo12:.LC8 bl perror mov w0, 1 bl exit .L6: adrp x0, .LC9 add x0, x0, :lo12:.LC9 bl puts add x0, sp, 296 mov x2, 1024 mov x1, x0 ldr w0, [sp, 60] bl read str w0, [sp, 64] str wzr, [sp, 68] str wzr, [sp, 44] str wzr, [sp, 48] str wzr, [sp, 52] b .L7 .L10: ldrsw x0, [sp, 52] add x1, sp, 296 ldrb w0, [x1, x0] cmp w0, 46 bne .L8 ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L8: ldrsw x0, [sp, 52] add x1, sp, 296 ldrb w0, [x1, x0] cmp w0, 32 bne .L9 ldr w0, [sp, 52] add w0, w0, 1 sxtw x0, w0 add x1, sp, 296 ldrb w0, [x1, x0] cmp w0, 32 beq .L9 ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L9: ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L7: ldrsw x0, [sp, 52] add x1, sp, 296 ldrb w0, [x1, x0] cmp w0, 0 bne .L10 add x0, sp, 296 bl strlen str w0, [sp, 68] add x0, sp, 296 mov x1, x0 adrp x0, .LC10 add x0, x0, :lo12:.LC10 bl printf adrp x0, .LC11 add x0, x0, :lo12:.LC11 bl puts ldr w1, [sp, 68] adrp x0, .LC12 add x0, x0, :lo12:.LC12 bl printf ldr w0, [sp, 44] add w0, w0, 1 mov w1, w0 adrp x0, .LC13 add x0, x0, :lo12:.LC13 bl printf ldr w1, [sp, 48] adrp x0, .LC14 add x0, x0, :lo12:.LC14 bl printf add x3, sp, 240 ldr w2, [sp, 68] adrp x0, .LC15 add x1, x0, :lo12:.LC15 mov x0, x3 bl sprintf adrp x0, .LC16 add x1, x0, :lo12:.LC16 add x0, sp, 192 ldp q0, q1, [x1] stp q0, q1, [x0] ldr q0, [x1, 30] str q0, [x0, 30] add x1, sp, 240 add x0, sp, 192 bl strcat add x0, sp, 192 bl strlen mov x1, x0 add x0, sp, 192 add x0, x0, x1 mov w1, 10 strh w1, [x0] add x0, sp, 192 bl strlen mov x1, x0 add x0, sp, 192 mov w3, 0 mov x2, x1 mov x1, x0 ldr w0, [sp, 60] bl send ldr w0, [sp, 44] add w0, w0, 1 add x3, sp, 240 mov w2, w0 adrp x0, .LC15 add x1, x0, :lo12:.LC15 mov x0, x3 bl sprintf adrp x0, .LC17 add x1, x0, :lo12:.LC17 add x0, sp, 96 ldp q0, q1, [x1] stp q0, q1, [x0] ldr q0, [x1, 25] str q0, [x0, 25] add x1, sp, 240 add x0, sp, 96 bl strcat add x0, sp, 96 bl strlen mov x1, x0 add x0, sp, 96 add x0, x0, x1 mov w1, 10 strh w1, [x0] add x0, sp, 96 bl strlen mov x1, x0 add x0, sp, 96 mov w3, 0 mov x2, x1 mov x1, x0 ldr w0, [sp, 60] bl send add x3, sp, 240 ldr w2, [sp, 48] adrp x0, .LC15 add x1, x0, :lo12:.LC15 mov x0, x3 bl sprintf adrp x0, .LC18 add x1, x0, :lo12:.LC18 add x0, sp, 144 ldp q0, q1, [x1] stp q0, q1, [x0] ldr q0, [x1, 29] str q0, [x0, 29] add x1, sp, 240 add x0, sp, 144 bl strcat add x0, sp, 144 bl strlen mov x1, x0 add x0, sp, 144 add x0, x0, x1 mov w1, 10 strh w1, [x0] add x0, sp, 144 bl strlen mov x1, x0 add x0, sp, 144 mov w3, 0 mov x2, x1 mov x1, x0 ldr w0, [sp, 60] bl send adrp x0, .LC19 add x0, x0, :lo12:.LC19 bl puts ldr w0, [sp, 60] bl close adrp x0, .LC20 add x0, x0, :lo12:.LC20 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, 1320] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L12 bl __stack_chk_fail .L12: 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 .LFE6: .size main, .-main .section .rodata .align 3 .LC16: .string "Number of characters in the given paragraph: " .align 3 .LC17: .string "Number of words in the given paragraph: " .align 3 .LC18: .string "Number of sentences in the given paragraph: " .text ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global getAutoType .type getAutoType, %function getAutoType: .LFB0: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp bl getAutoTypeImpl str w0, [sp, 28] 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 getAutoType, .-getAutoType ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global vars .bss .align 3 .type vars, %object .size vars, 8 vars: .zero 8 .global atom_1_r1_1 .align 2 .type atom_1_r1_1, %object .size atom_1_r1_1, 4 atom_1_r1_1: .zero 4 .global atom_1_r6_1 .align 2 .type atom_1_r6_1, %object .size atom_1_r6_1, 4 atom_1_r6_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, 44] ldr w0, [sp, 44] str w0, [sp, 48] mov w0, 1 str w0, [sp, 52] ldr w0, [sp, 52] cmp w0, 0 nop .L8: adrp x0, vars add x0, x0, :lo12:vars str x0, [sp, 80] mov w0, 1 str w0, [sp, 44] ldr w0, [sp, 44] mov w1, w0 ldr x0, [sp, 80] stlr w1, [x0] adrp x0, vars add x0, x0, :lo12:vars str x0, [sp, 88] ldr x0, [sp, 88] ldar w0, [x0] str w0, [sp, 44] ldr w0, [sp, 44] str w0, [sp, 56] adrp x0, vars add x0, x0, :lo12:vars str x0, [sp, 96] ldr x0, [sp, 96] ldar w0, [x0] str w0, [sp, 44] ldr w0, [sp, 44] str w0, [sp, 60] ldr w0, [sp, 48] cmp w0, 1 cset w0, eq and w0, w0, 255 str w0, [sp, 64] adrp x0, atom_1_r1_1 add x0, x0, :lo12:atom_1_r1_1 str x0, [sp, 104] ldr w0, [sp, 64] str w0, [sp, 44] ldr w0, [sp, 44] mov w1, w0 ldr x0, [sp, 104] stlr w1, [x0] ldr w0, [sp, 60] cmp w0, 1 cset w0, eq and w0, w0, 255 str w0, [sp, 68] adrp x0, atom_1_r6_1 add x0, x0, :lo12:atom_1_r6_1 str x0, [sp, 112] ldr w0, [sp, 68] str w0, [sp, 44] ldr w0, [sp, 44] 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 .L10 bl __stack_chk_fail .L10: 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, -144]! .cfi_def_cfa_offset 144 .cfi_offset 29, -144 .cfi_offset 30, -136 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, 136] mov x1, 0 adrp x0, vars add x0, x0, :lo12:vars str x0, [sp, 80] str wzr, [sp, 72] ldr w0, [sp, 72] mov w1, w0 ldr x0, [sp, 80] str w1, [x0] adrp x0, vars+4 add x0, x0, :lo12:vars+4 str x0, [sp, 88] str wzr, [sp, 72] ldr w0, [sp, 72] 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, 72] ldr w0, [sp, 72] mov w1, w0 ldr x0, [sp, 96] str w1, [x0] adrp x0, atom_1_r6_1 add x0, x0, :lo12:atom_1_r6_1 str x0, [sp, 104] str wzr, [sp, 72] ldr w0, [sp, 72] mov w1, w0 ldr x0, [sp, 104] str w1, [x0] add x4, sp, 64 mov x3, 0 adrp x0, t0 add x2, x0, :lo12:t0 mov x1, 0 mov x0, x4 bl pthread_create add x4, sp, 72 mov x3, 0 adrp x0, t1 add x2, x0, :lo12:t1 mov x1, 0 mov x0, x4 bl pthread_create ldr x0, [sp, 64] mov x1, 0 bl pthread_join ldr x0, [sp, 72] mov x1, 0 bl pthread_join adrp x0, vars add x0, x0, :lo12:vars str x0, [sp, 112] ldr x0, [sp, 112] 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, 120] ldr x0, [sp, 120] ldar w0, [x0] str w0, [sp, 36] ldr w0, [sp, 36] str w0, [sp, 48] adrp x0, atom_1_r6_1 add x0, x0, :lo12:atom_1_r6_1 str x0, [sp, 128] ldr x0, [sp, 128] ldar w0, [x0] str w0, [sp, 36] ldr w0, [sp, 36] str w0, [sp, 52] ldr w1, [sp, 48] ldr w0, [sp, 52] and w0, w1, w0 str w0, [sp, 56] ldr w1, [sp, 44] ldr w0, [sp, 56] and w0, w1, w0 str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 1 bne .L12 adrp x0, __PRETTY_FUNCTION__.0 add x3, x0, :lo12:__PRETTY_FUNCTION__.0 mov w2, 58 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl __assert_fail .L12: 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 .L14 bl __stack_chk_fail .L14: mov w0, w1 ldp x29, x30, [sp], 144 .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 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 strh w0, [sp, 30] ldrh w1, [sp, 30] mov w0, 16383 cmp w1, w0 bls .L3 ldrh w1, [sp, 30] mov w0, 49151 cmp w1, w0 bhi .L3 bl abort .L3: nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .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, -256 bl f mov w0, 0 ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global caCert1_BASE64 .section .rodata .align 3 .LC0: .ascii "MIIB0DCCATmgAwIBAgIJAI75TJGxEsCoMA0GCSqGSIb3DQEBCwUAMCExHzAd" .ascii "BgNVBAMTFlBheW1lbnRSZXF1ZXN0IFRlc3QgQ0EwHhcNMTIxMjEwMTYzNzI0" .ascii "WhcNMjIxMjA4MTYzNzI0WjAhMR8wHQYDVQQDExZQYXltZW50UmVxdWVzdCBU" .ascii "ZXN0IENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCvua59nX9radoq" .ascii "DYyplcns5qdVDTN17tmcGixmMYOYU3UYMU55VSsJs0dWKnMm3COQDY+N63c0" .ascii "XSbRqarBcsLTkaNASuPXFCv1VWuEKSyy5xe4zeoDU7CVSzlxtQD9wbZW/s3I" .ascii "SjgaXBpw" .string "n6eVmntb0JwYxxPcM1u/hrMD8BDbSQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4GBADSaRgK5xe47XxycXBhHhr0Wgl4pAsFsufqA9aB9r8KNEHJ0yUvvbD/jaJJMRtQcf0AJ9olzUMY4syehxbzUJP6aeXhZEYiMvdvcv9D55clq6+WLLlNT3jBgAaVnp3waRjPD4bUX3nv+ojz5s4puw7Qq5QUZlhGsMzPvwDGCmZkL" .section .data.rel.local,"aw" .align 3 .type caCert1_BASE64, %object .size caCert1_BASE64, 8 caCert1_BASE64: .xword .LC0 .global caCert2_BASE64 .section .rodata .align 3 .LC1: .ascii "MIIC1TCCAb2gAwIBAgIJAPDal+Q412QWMA0GCSqGSIb3DQEBCwUAMCExHzAd" .ascii "BgNVBAMMFlBheW1lbnRSZXF1ZXN0IFRlc3QgQ0EwHhcNMTUwMTExMTgyMTA2" .ascii "WhcNMjUwMTA4MTgyMTA2WjAhMR8wHQYDVQQDDBZQYXltZW50UmVxdWVzdCBU" .ascii "ZXN0IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1S9wVLfT" .ascii "plJuT/1OaaBgl/MbI392v8S9kHbzYz7B4OTMslaO7piz0v3SO3TKMh0dswji" .ascii "RdHrIgpO7XdIUQiU/uggxDw0kuNehfz1ycaGedlFFtFHTNXqLyIUF3dlwHhQ" .ascii "waomM6RXoJmxLny5BhYHEcmkyWwr3Cdjd9gAZpblugVJB9C1e40uyL8ao4PH" .ascii "dLzOqO27iSe6riP8SwwisJZEbMazAZpgNEEMbIXPJEFvm5HTRXSMtQCOTSZY" .ascii "MFF0M2yrtmlECnz7hWP19b9bcoDzZQB4ylIsFG/7q2jV7MC/e2STZv+niJiH" .ascii "L08RUdoFpAgzaxMgqj63C7B55HgNDNHJYQIDAQABoxAwDjAMBgNVHRMEBTAD" .ascii "AQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBGejPxLxj9+crv6gUeEBMZPiUx7pUg" .ascii "cI22Wm5yymP96B4fwI3Y0DBehq20d76vbWGPN17Z6pH3ge7PVY1SYqXt" .string "S6hXTo4olCm/BZADli+2Bs2xCiaa+Ltve4ufVej+bKJXN/YnrhvOKq+klQkuuHywU+GJV/NQeBqToIrSOBgi477NgLFCCCmmx2QWsxHoCFGfuRCBVseTz2k/tMuALCDXGeZBRPTsGHu1y4cj84swAeoDK5QSQcI+Ub7GKc+zkoj02sdDLiMo3wokYPcIy47oclhmb4xubHc+y7nF610yZBoC/zgbhbawnZ65hDDWkdQ/SVAnWZD79PFfmNnYPTQH" .section .data.rel.local .align 3 .type caCert2_BASE64, %object .size caCert2_BASE64, 8 caCert2_BASE64: .xword .LC1 .global paymentrequest1_cert1_BASE64 .section .rodata .align 3 .LC2: .ascii "Egt4NTA5K3NoYTI1NhrxAwruAzCCAeowggFToAMCAQICAQEwDQYJKoZIhvcN" .ascii "AQELBQAwITEfMB0GA1UEAxMWUGF5bWVudFJlcXVlc3QgVGVzdCBDQTAeFw0x" .ascii "MjEyMTAxNjM3MjRaFw0yMjEyMDgxNjM3MjRaMEMxGTAXBgNVBAMMEHRlc3Rt" .ascii "ZXJjaGFudC5vcmcxJjAkBgNVBAoMHVBheW1lbnQgUmVxdWVzdCBUZXN0IE1l" .ascii "cmNoYW50MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHkMy8W1u6HsWl" .ascii "SqdWTmMKf54gICxNfxbY+rcMtAftr62hCYx2d2QiSRd1pCUzmo12IiSX3WxS" .ascii "HwaTnT3MFD6jRx6+zM6XdGarI2zpYle11ANzu4gAthN17uRQHV2O5QxVtzNa" .ascii "MdKeJLXT2L9tfEdyL++9ZUqoQmdAYG9ix330hQIDAQABoxAwDjAMBgNVHRME" .ascii "BTADAQH/MA0GCSqGSIb3DQEBCwUAA4GBAIkyO99KC68bi9PFRyQQ7nvn5GlQ" .ascii "Eb3Ca1bRG5+AKN9N5vc8rZ9G2hejtM8wEXnieGBP+chVMsbTPEHKLrwREn7I" .ascii "vcyCcbAStaklPC3w0B/2idQSHskb6P3X13OR2bTHa2+6wuhsOZRUrVNr24rM" .ascii "95DKx/eCC6JN1VW+" .string "qRPU6fqzIjQSHwiw2wYSGXapFJVgigPI+6XpExtNLO/i1WFV8ZmoiKwYsuHFiwUqC1VuaXRUZXN0T25lKoABS0j59iMUUc9MdIfwsO1BskIET0eJSGNZ7eXb9N62u+qf831PMpEHkmlGpk8rHy92nPcgua/UYt8oZMn3QaTZ5A6HjJbc3A73eLylp1a0SwCl+KDMEvDQhqMn1jAVu2v92AH3uB7nSiWVbw0tX/68iSQEGGfh9n6ee/8Myb3ICdw=" .section .data.rel.local .align 3 .type paymentrequest1_cert1_BASE64, %object .size paymentrequest1_cert1_BASE64, 8 paymentrequest1_cert1_BASE64: .xword .LC2 .global paymentrequest2_cert1_BASE64 .section .rodata .align 3 .LC3: .ascii "Egt4NTA5K3NoYTI1NhrsAwrpAzCCAeUwggFOoAMCAQICAQMwDQYJKoZIhvcN" .ascii "AQELBQAwITEfMB0GA1UEAxMWUGF5bWVudFJlcXVlc3QgVGVzdCBDQTAeFw0x" .ascii "MzAyMjMyMTI2NDNaFw0xMzAyMjQyMTI2NDNaMD4xHDAaBgNVBAMME2V4cGly" .ascii "ZWRtZXJjaGFudC5vcmcxHjAcBgNVBAoMFUV4cGlyZWQgVGVzdCBNZXJjaGFu" .ascii "dDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAx5DMvFtbuh7FpUqnVk5j" .ascii "Cn+eICAsTX8W2Pq3DLQH7a+toQmMdndkIkkXdaQlM5qNdiIkl91sUh8Gk509" .ascii "zBQ+o0cevszOl3RmqyNs6WJXtdQDc7uIALYTde7kUB1djuUMVbczWjHSniS1" .ascii "09i/bXxHci/vvWVKqEJnQGBvYsd99IUCAwEAAaMQMA4wDAYDVR0TBAUwAwEB" .ascii "/zANBgkqhkiG9w0BAQsFAAOBgQAaU137j53rvSjlmYZpZ4RWTP7EdD6fl5Zx" .ascii "BeXHytN6DQL33H0eD7OFHt+ofc7E6D7keublUfCu+jOvt/MvvPUmtCI9yXZ0" .ascii "dNC4sjyETv+wQpxO0UNZwOM4uegdCzlo6Bi3pD4/KKLdMkWuUfuPBmoammny" .ascii "74lZaOVr" .string "5deKXztTuCI0Eh8IsNsGEhl2qRSVYIoDyPul6RMbTSzv4tVhVfGZqIisGLLhxYsFKgtVbml0VGVzdFR3byqAAXHuo4nZEPniLpkdy30TkwBxVgprWJ18a9z/7Py35Qss/JMbOXbnBhJtmJCdIowHRI0aa+zqt3KKKAXimm+V4seMgxTcxMS+eDDkiTcB/RtWWSyRcS2ANjFeY0T4SLMwiCL9qWPi03hr8j96tejrSPOBNSJ3Mi/q5u2Yl4gJZY2b" .section .data.rel.local .align 3 .type paymentrequest2_cert1_BASE64, %object .size paymentrequest2_cert1_BASE64, 8 paymentrequest2_cert1_BASE64: .xword .LC3 .global paymentrequest3_cert1_BASE64 .section .rodata .align 3 .LC4: .ascii "Egt4NTA5K3NoYTI1Nhq8JAr/AzCCAfswggFkoAMCAQICAQEwDQYJKoZIhvcN" .ascii "AQELBQAwPzEUMBIGA1UEAwwLdGVzdGNhOC5vcmcxJzAlBgNVBAoMHlBheW1l" .ascii "bnQgUmVxdWVzdCBJbnRlcm1lZGlhdGUgODAeFw0xMzAyMjMyMjQyMzFaFw0y" .ascii "MzAyMjEyMjQyMzFaMDYxGjAYBgNVBAMMEXRlc3RtZXJjaGFudDgub3JnMRgw" .ascii "FgYDVQQKDA9UZXN0IE1lcmNoYW50IDgwgZ8wDQYJKoZIhvcNAQEBBQADgY0A" .ascii "MIGJAoGBAMMCHA3hiHbSTKZ5K9jHRwE8NxkGp3IOx56PDB2diNkldG8XweTc" .ascii "Rq7bBm7pdiBt4IVggtfs+6hEhDYIOecyoAnVzPFTdvQ7KQdQ/fD9YLe6lk+o" .ascii "0edOqutPMyrxLFjSluXxEQyk7fdtURloMMYfp3p1/hFCboA1rAsQ2RW38hR5" .ascii "AgMBAAGjEDAOMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADgYEAPsdF" .ascii "atnc2RJSpvZsw+nCiPVsllycw5ELglq9vfJznJJucRxgzmqI2iuas1ugwbXn" .ascii "0BEIRLK7vMF/qBzQR6M/nTxttah+KEu+okjps9vJcIyhfTyGPC5xkHaHZ7sG" .ascii "+UHOFhPw0/kXn0x+pbVgBZ5315axqcp1R+DTSj/whMArn0AKiAQwggIEMIIB" .ascii "baADAgECAgECMA0GCSqGSIb3DQEBCwUAMD8xFDASBgNVBAMMC3Rlc3RjYTcu" .ascii "b3JnMScwJQYDVQQKDB5QYXltZW50IFJlcXVlc3QgSW50ZXJtZWRpYXRlIDcw" .ascii "HhcNMTMwMjIzMjI0MjMxWhcNMjMwMjIxMjI0MjMxWjA/MRQwEgYDVQQDDAt0" .ascii "ZXN0Y2E4Lm9yZzEnMCUGA1UECgweUGF5bWVudCBSZXF1ZXN0IEludGVybWVk" .ascii "aWF0ZSA4MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDexUFfxb1sThva" .ascii "bp7udZz59ciThGmmAW0nP4tjrgEACgvWIInr2dZpTHbiQNF34ycsk0le1JD9" .ascii "3D7Qb8rd25OrpaO8XS2Li2zjR9cleixXjSLwV/zv8zJ8yPl/27XL++PDTKBX" .ascii "VpJ8/Syp+9TyplV1BqDhqtIHb/QSHEkTQXjeYQIDAQABoxAwDjAMBgNVHRME" .ascii "BTADAQH/MA0GCSqGSIb3DQEBCwUAA4GBACMooQVbkbIZ2DaPwHDc4ULwguG3" .ascii "VI2Kzj50UdExmHtzm2S4MQei+n+HEPjtJAx5OY520+10nfuP+12H2DRLQmWm" .ascii "dvDpeQ/Cv0yavlw4ZRejRFo7KS83C0wo5rd+qTvvOmAN4UTArWkzYcEUulPd" .ascii "iXnRamb0WQHTeVdIbHVkMormCogEMIICBDCCAW2gAwIBAgIBAjANBgkqhkiG" .ascii "9w0BAQsFADA/MRQwEgYDVQQDDAt0ZXN0Y2E2Lm9yZzEnMCUGA1UECgweUGF5" .ascii "bWVudCBSZXF1ZXN0IEludGVybWVkaWF0ZSA2MB4XDTEzMDIyMzIyNDIzMVoX" .ascii "DTIzMDIyMTIyNDIzMVowPzEUMBIGA1UEAwwLdGVzdGNhNy5vcmcxJzAlBgNV" .ascii "BAoMHlBheW1lbnQgUmVxdWVzdCBJbnRlcm1lZGlhdGUgNzCBnzANBgkqhkiG" .ascii "9w0BAQEFAAOBjQAwgYkCgYEAtjBRazrkebXAhXsbjimrMIRmW/f9SwAHwXfc" .ascii "042keNtl0t2z6XE6UPcR2v/KrssXuCZgodeYxz6IM6lWosCM1xotC3ChKKFB" .ascii "fVO30reuKBRUxXfKAFqxaG0YOAEzdZkkY9AGhqWloeSmgxpIfhInU0EFJjCw" .ascii "rJ6IkijBatGoAAECAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0B" .ascii "AQsFAAOBgQDBRTi1MolmOA0niHYX0A2lN5QWHkCfX0A7GwyoMA3dvM45m/NY" .ascii "d4WBX+HwfnfYcI6X9jOg" .ascii "No5OWmc4GGsld0HlxwMYEKISBS9PbSHPBrb3TBOlw5ztQpXZ91+bOhLux52F" .ascii "r03sK7v9qExmBM12M8UR2ltpzAMiUgLLMHyPfiWkvQqIBDCCAgQwggFtoAMC" .ascii "AQICAQIwDQYJKoZIhvcNAQELBQAwPzEUMBIGA1UEAwwLdGVzdGNhNS5vcmcx" .ascii "JzAlBgNVBAoMHlBheW1lbnQgUmVxdWVzdCBJbnRlcm1lZGlhdGUgNTAeFw0x" .ascii "MzAyMjMyMjQyMzBaFw0yMzAyMjEyMjQyMzBaMD8xFDASBgNVBAMMC3Rlc3Rj" .ascii "YTYub3JnMScwJQYDVQQKDB5QYXltZW50IFJlcXVlc3QgSW50ZXJtZWRpYXRl" .ascii "IDYwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANJSH3xivX1t9olIdHsz" .ascii "nI1aE9SD7t9iSZJsIB0otoETHZRVv9M9LvyzBNK98ZV+kTOlST7PJgC0d9BQ" .ascii "M9sgYApSRq5oqKDM9FXbOm/yaReAbU3mkFNFw5roTlJ5ThEy0yOGT/DS0YBR" .ascii "aGIvRPRj2DiqDVdCZZ+w4jo1IYHkZt4FAgMBAAGjEDAOMAwGA1UdEwQFMAMB" .ascii "Af8wDQYJKoZIhvcNAQELBQADgYEATm6+J1OmbrothO60xALKonWMBKr6hudb" .ascii "4amkFBqKbA9wMeM3jl+I/yKfz/UfxWuJ071IhiNv6Gxx5YwNvhUe1xMhUqHv" .ascii "0gpyK1Z47bD+kYS2se5sWNPNo3Y9qZDGIXiGQxwHmrzaFk79Uy1xsmvsEz42" .ascii "w6hr25Yaw7HkIgrFveoKiAQwggIEMIIBbaADAgECAgECMA0GCSqGSIb3DQEB" .ascii "CwUAMD8xFDASBgNVBAMMC3Rlc3RjYTQub3JnMScwJQYDVQQKDB5QYXltZW50" .ascii "IFJlcXVlc3QgSW50ZXJtZWRpYXRlIDQwHhcNMTMwMjIzMjI0MjMwWhcNMjMw" .ascii "MjIxMjI0MjMwWjA/MRQwEgYDVQQDDAt0ZXN0Y2E1Lm9yZzEnMCUGA1UECgwe" .ascii "UGF5bWVudCBSZXF1ZXN0IEludGVybWVkaWF0ZSA1MIGfMA0GCSqGSIb3DQEB" .ascii "AQUAA4GNADCBiQKBgQC7vVUFpxHzz2Tr/xij3k58s8d/BPA0R6D5RXTVvmhA" .ascii "zc1Zuin4zUKRFs/aCj/0yED8Wu/COfNGF4tVlRNMdl9EcFsxa8XGEL4eAZa+" .ascii "H/rOHH+7/1EINrrVWhZlUecyhilN8jmCZmqEM3ecuD0NAViqyMrgmaiFmsLo" .ascii "QZpEGepDUQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA" .ascii "A4GBAEdJSs8jWiooja3WZzHXeF95QkBJNjIlpDLGcpl4opOYLSuEl9Uxp//L" .ascii "aQQiXuzpj4/IpkWGQmMy5HOyH1lqDyiMgXpcG8PE0jEQAoEUGZ0QEqB1mZ6B" .ascii "CrYvmUuf/5aSVd8Y6lKMR3WzFDYU9Zy0nzuHB/3nvp6MeDRQeRMtYvz4CogE" .ascii "MIICBDCCAW2gAwIBAgIBAjANBgkqhkiG9w0BAQsFADA/MRQwEgYDVQQDDAt0" .ascii "ZXN0Y2EzLm9yZzEnMCUGA1UECgweUGF5bWVudCBSZXF1ZXN0IEludGVybWVk" .ascii "aWF0ZSAzMB4XDTEzMDIyMzIyNDIyOVoXDTIzMDIyMTIyNDIyOVowPzEUMBIG" .ascii "A1UEAwwLdGVzdGNhNC5vcmcxJzAlBgNVBAoMHlBheW1lbnQgUmVxdWVzdCBJ" .ascii "bnRlcm1lZGlhdGUgNDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxYYo" .ascii "3w2UXiYg6O8b4QgwN/vgreTkiW122Ep/z2TiDrhVMhfOOiKdwYESPflfnXnV" .ascii "aQQzCGexYTQqsvqvzHSyna5hL0zPTRJxSKmTVrXRsWtpdCRhjxCGipS3tlQB" .ascii "Di7vb+7SNRIBK4dBjjGzALNk7gMCpy+yM8f6I043jTlmGb0CAwEAAaMQMA4w" .ascii "DAYDVR0TBAUwAwEB/zAN" .ascii "BgkqhkiG9w0BAQsFAAOBgQDU+IQxt3OhKqaUYWC23+cB2gekvWqwMBnrCNrX" .ascii "/Dp+kjoJKUoR2Fs3qw53raHES4SIhpGT9l9lrppNQgFe/JMHeYqOZMZO+6ku" .ascii "U0olJanBJ14tPIc7zlMTQ9OfmZ6v07IpyFbsQDtRhpe80DpuvSFPfJ4fh0Wr" .ascii "Qf6kn3KDVpGDnAqIBDCCAgQwggFtoAMCAQICAQIwDQYJKoZIhvcNAQELBQAw" .ascii "PzEUMBIGA1UEAwwLdGVzdGNhMi5vcmcxJzAlBgNVBAoMHlBheW1lbnQgUmVx" .ascii "dWVzdCBJbnRlcm1lZGlhdGUgMjAeFw0xMzAyMjMyMjQyMjlaFw0yMzAyMjEy" .ascii "MjQyMjlaMD8xFDASBgNVBAMMC3Rlc3RjYTMub3JnMScwJQYDVQQKDB5QYXlt" .ascii "ZW50IFJlcXVlc3QgSW50ZXJtZWRpYXRlIDMwgZ8wDQYJKoZIhvcNAQEBBQAD" .ascii "gY0AMIGJAoGBANzgVP99Qg98e6NsKEz1v5KqRB7NTBRRsYnBvb/TSWipvMQa" .ascii "CYuEyk1xG57x++QuASKeR3QHRQJOoAhQaj9JLUhSSv9GQ5PrFLLsOFv7L1tp" .ascii "zXHh2dOBIW92X2yFRW2s39q+Q21yvN+N8uoKdqXhzRA+dDoXh3cavaVeHX1G" .ascii "+IrlAgMBAAGjEDAOMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADgYEA" .ascii "STwg84cX+1UhOG9sejFV3m34QuI1hPZ+qhqVJlRYUtego8Wng1BburDSwqVA" .ascii "v4ch2wi3c2s4e8J7AXyLtzSbSQG4RN0oZi0mR8EtTTN+Mix/hBIk79dMZg85" .ascii "+I29uFA6Zj2d9oAhQv2qkHhc6tcaheNvkQRlCyH68k3iF1Fqf+4KiAQwggIE" .ascii "MIIBbaADAgECAgECMA0GCSqGSIb3DQEBCwUAMD8xFDASBgNVBAMMC3Rlc3Rj" .ascii "YTEub3JnMScwJQYDVQQKDB5QYXltZW50IFJlcXVlc3QgSW50ZXJtZWRpYXRl" .ascii "IDEwHhcNMTMwMjIzMjI0MjI5WhcNMjMwMjIxMjI0MjI5WjA/MRQwEgYDVQQD" .ascii "DAt0ZXN0Y2EyLm9yZzEnMCUGA1UECgweUGF5bWVudCBSZXF1ZXN0IEludGVy" .ascii "bWVkaWF0ZSAyMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDaV8zhfyQu" .ascii "Sf/f+fauMfgs3g/RnWy9yxxUkvQneQQPH3uZzCyk3A6q72ipTtwNqiibG945" .ascii "5L9A7SaUjGtnpUz0NKT/VWUdqbfCl1PqXjEZbDobbAQ5hxLGOTyLRQhLIcge" .ascii "q2/BnmeCqHsC4md04nUp+nBo1HwKyygvK+9sMbCp/wIDAQABoxAwDjAMBgNV" .ascii "HRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4GBACvYyE+PPmWFkbjyRu9LAt8D" .ascii "crtyYYLRClKSg6tVvutwukLG2l//kDOohYkJtgTqr6LnCIIIwYdXN+4wxugm" .ascii "w4cnPIZmP6kovxjhhVM95okilor1zniTAo3RN7JDIfTGNgxLdGu1btt7DOFL" .ascii "4zTbeSJMb8M1JpPftehH+x/VLyuUCuoDMIIB5jCCAU+gAwIBAgIBBTANBgkq" .ascii "hkiG9w0BAQsFADAhMR8wHQYDVQQDExZQYXltZW50UmVxdWVzdCBUZXN0IENB" .ascii "MB4XDTEzMDIyMzIyNDIyOFoXDTIzMDIyMTIyNDIyOFowPzEUMBIGA1UEAwwL" .ascii "dGVzdGNhMS5vcmcxJzAlBgNVBAoMHlBheW1lbnQgUmVxdWVzdCBJbnRlcm1l" .ascii "ZGlhdGUgMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAo5Vy9H3nA/OO" .ascii "kF5Ap89yfVNSiTay/LYCaB0eALpcU690U75O9Q3w2M+2AN8wpbbHsJHZMIjE" .ascii "eBRoQfjlYXW1ucQTxWKyT+liu0D25mGXX27CBXBd4iXTxVII/iX+u3lcjORj" .ascii "oHOBy7QgeIDIIS9y0vYu" .ascii "8eArpjh7m4thrVgIRtMCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG" .ascii "9w0BAQsFAAOBgQB9LKcVJK9sjASNzpQlpUp7nCiw5FSjVY+XMRIKK/kavzlK" .ascii "jZ+InsmmyRVGjDoZi9GrqG9PVHgLBxi2VtVjmokZoNPqao3OfhqORAubC+JR" .ascii "/JLepM7aDaxDdTHVhSUk4lgNAvi26dGY7nZMsnHlPQ2tPp/HvRRiMq1oDjly" .string "lc8VTCI2Eh8IsNsGEhl2qRSVYIoDyPul6RMbTSzv4tVhVfGZqIisGLLhxYsFKg1Vbml0VGVzdFRocmVlKoABn2HTsUQtMNI4yNvkfkFNka3pRvTUTydJrvyfmEeLzImfM1BWddZjnywku9RToNFZZNgow5QnljmFchhR/aHOuEMTxmc12K4rNlgYtHCsxLP9zd+6u0cva3TucZ6EzS8PKEib/+r12/52664NuWA9WtsK7QCFrK2K95PnVCRmWl0=" .section .data.rel.local .align 3 .type paymentrequest3_cert1_BASE64, %object .size paymentrequest3_cert1_BASE64, 8 paymentrequest3_cert1_BASE64: .xword .LC4 .global paymentrequest4_cert1_BASE64 .section .rodata .align 3 .LC5: .ascii "Egt4NTA5K3NoYTI1NhqeJAr/AzCCAfswggFkoAMCAQICAQEwDQYJKoZIhvcN" .ascii "AQELBQAwPzEUMBIGA1UEAwwLdGVzdGNhOC5vcmcxJzAlBgNVBAoMHlBheW1l" .ascii "bnQgUmVxdWVzdCBJbnRlcm1lZGlhdGUgODAeFw0xMzAyMjMyMjQyMzFaFw0y" .ascii "MzAyMjEyMjQyMzFaMDYxGjAYBgNVBAMMEXRlc3RtZXJjaGFudDgub3JnMRgw" .ascii "FgYDVQQKDA9UZXN0IE1lcmNoYW50IDgwgZ8wDQYJKoZIhvcNAQEBBQADgY0A" .ascii "MIGJAoGBAMMCHA3hiHbSTKZ5K9jHRwE8NxkGp3IOx56PDB2diNkldG8XweTc" .ascii "Rq7bBm7pdiBt4IVggtfs+6hEhDYIOecyoAnVzPFTdvQ7KQdQ/fD9YLe6lk+o" .ascii "0edOqutPMyrxLFjSluXxEQyk7fdtURloMMYfp3p1/hFCboA1rAsQ2RW38hR5" .ascii "AgMBAAGjEDAOMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADgYEAPsdF" .ascii "atnc2RJSpvZsw+nCiPVsllycw5ELglq9vfJznJJucRxgzmqI2iuas1ugwbXn" .ascii "0BEIRLK7vMF/qBzQR6M/nTxttah+KEu+okjps9vJcIyhfTyGPC5xkHaHZ7sG" .ascii "+UHOFhPw0/kXn0x+pbVgBZ5315axqcp1R+DTSj/whMArn0AKiAQwggIEMIIB" .ascii "baADAgECAgECMA0GCSqGSIb3DQEBCwUAMD8xFDASBgNVBAMMC3Rlc3RjYTcu" .ascii "b3JnMScwJQYDVQQKDB5QYXltZW50IFJlcXVlc3QgSW50ZXJtZWRpYXRlIDcw" .ascii "HhcNMTMwMjIzMjI0MjMxWhcNMjMwMjIxMjI0MjMxWjA/MRQwEgYDVQQDDAt0" .ascii "ZXN0Y2E4Lm9yZzEnMCUGA1UECgweUGF5bWVudCBSZXF1ZXN0IEludGVybWVk" .ascii "aWF0ZSA4MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDexUFfxb1sThva" .ascii "bp7udZz59ciThGmmAW0nP4tjrgEACgvWIInr2dZpTHbiQNF34ycsk0le1JD9" .ascii "3D7Qb8rd25OrpaO8XS2Li2zjR9cleixXjSLwV/zv8zJ8yPl/27XL++PDTKBX" .ascii "VpJ8/Syp+9TyplV1BqDhqtIHb/QSHEkTQXjeYQIDAQABoxAwDjAMBgNVHRME" .ascii "BTADAQH/MA0GCSqGSIb3DQEBCwUAA4GBACMooQVbkbIZ2DaPwHDc4ULwguG3" .ascii "VI2Kzj50UdExmHtzm2S4MQei+n+HEPjtJAx5OY520+10nfuP+12H2DRLQmWm" .ascii "dvDpeQ/Cv0yavlw4ZRejRFo7KS83C0wo5rd+qTvvOmAN4UTArWkzYcEUulPd" .ascii "iXnRamb0WQHTeVdIbHVkMormCogEMIICBDCCAW2gAwIBAgIBAjANBgkqhkiG" .ascii "9w0BAQsFADA/MRQwEgYDVQQDDAt0ZXN0Y2E2Lm9yZzEnMCUGA1UECgweUGF5" .ascii "bWVudCBSZXF1ZXN0IEludGVybWVkaWF0ZSA2MB4XDTEzMDIyMzIyNDIzMVoX" .ascii "DTIzMDIyMTIyNDIzMVowPzEUMBIGA1UEAwwLdGVzdGNhNy5vcmcxJzAlBgNV" .ascii "BAoMHlBheW1lbnQgUmVxdWVzdCBJbnRlcm1lZGlhdGUgNzCBnzANBgkqhkiG" .ascii "9w0BAQEFAAOBjQAwgYkCgYEAtjBRazrkebXAhXsbjimrMIRmW/f9SwAHwXfc" .ascii "042keNtl0t2z6XE6UPcR2v/KrssXuCZgodeYxz6IM6lWosCM1xotC3ChKKFB" .ascii "fVO30reuKBRUxXfKAFqxaG0YOAEzdZkkY9AGhqWloeSmgxpIfhInU0EFJjCw" .ascii "rJ6IkijBatGoAAECAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0B" .ascii "AQsFAAOBgQDBRTi1MolmOA0niHYX0A2lN5QWHkCfX0A7GwyoMA3dvM45m/NY" .ascii "d4WBX+HwfnfYcI6X9jOg" .ascii "No5OWmc4GGsld0HlxwMYEKISBS9PbSHPBrb3TBOlw5ztQpXZ91+bOhLux52F" .ascii "r03sK7v9qExmBM12M8UR2ltpzAMiUgLLMHyPfiWkvQqIBDCCAgQwggFtoAMC" .ascii "AQICAQIwDQYJKoZIhvcNAQELBQAwPzEUMBIGA1UEAwwLdGVzdGNhNS5vcmcx" .ascii "JzAlBgNVBAoMHlBheW1lbnQgUmVxdWVzdCBJbnRlcm1lZGlhdGUgNTAeFw0x" .ascii "MzAyMjMyMjQyMzBaFw0yMzAyMjEyMjQyMzBaMD8xFDASBgNVBAMMC3Rlc3Rj" .ascii "YTYub3JnMScwJQYDVQQKDB5QYXltZW50IFJlcXVlc3QgSW50ZXJtZWRpYXRl" .ascii "IDYwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANJSH3xivX1t9olIdHsz" .ascii "nI1aE9SD7t9iSZJsIB0otoETHZRVv9M9LvyzBNK98ZV+kTOlST7PJgC0d9BQ" .ascii "M9sgYApSRq5oqKDM9FXbOm/yaReAbU3mkFNFw5roTlJ5ThEy0yOGT/DS0YBR" .ascii "aGIvRPRj2DiqDVdCZZ+w4jo1IYHkZt4FAgMBAAGjEDAOMAwGA1UdEwQFMAMB" .ascii "Af8wDQYJKoZIhvcNAQELBQADgYEATm6+J1OmbrothO60xALKonWMBKr6hudb" .ascii "4amkFBqKbA9wMeM3jl+I/yKfz/UfxWuJ071IhiNv6Gxx5YwNvhUe1xMhUqHv" .ascii "0gpyK1Z47bD+kYS2se5sWNPNo3Y9qZDGIXiGQxwHmrzaFk79Uy1xsmvsEz42" .ascii "w6hr25Yaw7HkIgrFveoK6gMwggHmMIIBT6ADAgECAgEGMA0GCSqGSIb3DQEB" .ascii "CwUAMCExHzAdBgNVBAMTFlBheW1lbnRSZXF1ZXN0IFRlc3QgQ0EwHhcNMTMw" .ascii "MjIzMjI1OTUxWhcNMTMwMjI0MjI1OTUxWjA/MRQwEgYDVQQDDAt0ZXN0Y2E1" .ascii "Lm9yZzEnMCUGA1UECgweUGF5bWVudCBSZXF1ZXN0IEludGVybWVkaWF0ZSA1" .ascii "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC7vVUFpxHzz2Tr/xij3k58" .ascii "s8d/BPA0R6D5RXTVvmhAzc1Zuin4zUKRFs/aCj/0yED8Wu/COfNGF4tVlRNM" .ascii "dl9EcFsxa8XGEL4eAZa+H/rOHH+7/1EINrrVWhZlUecyhilN8jmCZmqEM3ec" .ascii "uD0NAViqyMrgmaiFmsLoQZpEGepDUQIDAQABoxAwDjAMBgNVHRMEBTADAQH/" .ascii "MA0GCSqGSIb3DQEBCwUAA4GBAEmcUEnhua/oiXy1fwScLgMqt+jk9mHRpE6S" .ascii "VsIop23QCY2JfpG6RxhMMzzzhGklEGN6cxG0HCi6B3HJx6PYrFEfTB0rW4K6" .ascii "m0Tvx3WpS9mNuoEuJHLy18ausI/sYAPDHCL+SfBVcqorpaIG2sSpZouRBjRH" .ascii "AyqFAYlwlW87uq5nCogEMIICBDCCAW2gAwIBAgIBAjANBgkqhkiG9w0BAQsF" .ascii "ADA/MRQwEgYDVQQDDAt0ZXN0Y2EzLm9yZzEnMCUGA1UECgweUGF5bWVudCBS" .ascii "ZXF1ZXN0IEludGVybWVkaWF0ZSAzMB4XDTEzMDIyMzIyNDIyOVoXDTIzMDIy" .ascii "MTIyNDIyOVowPzEUMBIGA1UEAwwLdGVzdGNhNC5vcmcxJzAlBgNVBAoMHlBh" .ascii "eW1lbnQgUmVxdWVzdCBJbnRlcm1lZGlhdGUgNDCBnzANBgkqhkiG9w0BAQEF" .ascii "AAOBjQAwgYkCgYEAxYYo3w2UXiYg6O8b4QgwN/vgreTkiW122Ep/z2TiDrhV" .ascii "MhfOOiKdwYESPflfnXnVaQQzCGexYTQqsvqvzHSyna5hL0zPTRJxSKmTVrXR" .ascii "sWtpdCRhjxCGipS3tlQBDi7vb+7SNRIBK4dBjjGzALNk7gMCpy+yM8f6I043" .ascii "jTlmGb0CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOB" .ascii "gQDU+IQxt3OhKqaUYWC2" .ascii "3+cB2gekvWqwMBnrCNrX/Dp+kjoJKUoR2Fs3qw53raHES4SIhpGT9l9lrppN" .ascii "QgFe/JMHeYqOZMZO+6kuU0olJanBJ14tPIc7zlMTQ9OfmZ6v07IpyFbsQDtR" .ascii "hpe80DpuvSFPfJ4fh0WrQf6kn3KDVpGDnAqIBDCCAgQwggFtoAMCAQICAQIw" .ascii "DQYJKoZIhvcNAQELBQAwPzEUMBIGA1UEAwwLdGVzdGNhMi5vcmcxJzAlBgNV" .ascii "BAoMHlBheW1lbnQgUmVxdWVzdCBJbnRlcm1lZGlhdGUgMjAeFw0xMzAyMjMy" .ascii "MjQyMjlaFw0yMzAyMjEyMjQyMjlaMD8xFDASBgNVBAMMC3Rlc3RjYTMub3Jn" .ascii "MScwJQYDVQQKDB5QYXltZW50IFJlcXVlc3QgSW50ZXJtZWRpYXRlIDMwgZ8w" .ascii "DQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANzgVP99Qg98e6NsKEz1v5KqRB7N" .ascii "TBRRsYnBvb/TSWipvMQaCYuEyk1xG57x++QuASKeR3QHRQJOoAhQaj9JLUhS" .ascii "Sv9GQ5PrFLLsOFv7L1tpzXHh2dOBIW92X2yFRW2s39q+Q21yvN+N8uoKdqXh" .ascii "zRA+dDoXh3cavaVeHX1G+IrlAgMBAAGjEDAOMAwGA1UdEwQFMAMBAf8wDQYJ" .ascii "KoZIhvcNAQELBQADgYEASTwg84cX+1UhOG9sejFV3m34QuI1hPZ+qhqVJlRY" .ascii "Utego8Wng1BburDSwqVAv4ch2wi3c2s4e8J7AXyLtzSbSQG4RN0oZi0mR8Et" .ascii "TTN+Mix/hBIk79dMZg85+I29uFA6Zj2d9oAhQv2qkHhc6tcaheNvkQRlCyH6" .ascii "8k3iF1Fqf+4KiAQwggIEMIIBbaADAgECAgECMA0GCSqGSIb3DQEBCwUAMD8x" .ascii "FDASBgNVBAMMC3Rlc3RjYTEub3JnMScwJQYDVQQKDB5QYXltZW50IFJlcXVl" .ascii "c3QgSW50ZXJtZWRpYXRlIDEwHhcNMTMwMjIzMjI0MjI5WhcNMjMwMjIxMjI0" .ascii "MjI5WjA/MRQwEgYDVQQDDAt0ZXN0Y2EyLm9yZzEnMCUGA1UECgweUGF5bWVu" .ascii "dCBSZXF1ZXN0IEludGVybWVkaWF0ZSAyMIGfMA0GCSqGSIb3DQEBAQUAA4GN" .ascii "ADCBiQKBgQDaV8zhfyQuSf/f+fauMfgs3g/RnWy9yxxUkvQneQQPH3uZzCyk" .ascii "3A6q72ipTtwNqiibG9455L9A7SaUjGtnpUz0NKT/VWUdqbfCl1PqXjEZbDob" .ascii "bAQ5hxLGOTyLRQhLIcgeq2/BnmeCqHsC4md04nUp+nBo1HwKyygvK+9sMbCp" .ascii "/wIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4GBACvY" .ascii "yE+PPmWFkbjyRu9LAt8DcrtyYYLRClKSg6tVvutwukLG2l//kDOohYkJtgTq" .ascii "r6LnCIIIwYdXN+4wxugmw4cnPIZmP6kovxjhhVM95okilor1zniTAo3RN7JD" .ascii "IfTGNgxLdGu1btt7DOFL4zTbeSJMb8M1JpPftehH+x/VLyuUCuoDMIIB5jCC" .ascii "AU+gAwIBAgIBBTANBgkqhkiG9w0BAQsFADAhMR8wHQYDVQQDExZQYXltZW50" .ascii "UmVxdWVzdCBUZXN0IENBMB4XDTEzMDIyMzIyNDIyOFoXDTIzMDIyMTIyNDIy" .ascii "OFowPzEUMBIGA1UEAwwLdGVzdGNhMS5vcmcxJzAlBgNVBAoMHlBheW1lbnQg" .ascii "UmVxdWVzdCBJbnRlcm1lZGlhdGUgMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAw" .ascii "gYkCgYEAo5Vy9H3nA/OOkF5Ap89yfVNSiTay/LYCaB0eALpcU690U75O9Q3w" .ascii "2M+2AN8wpbbHsJHZMIjEeBRoQfjlYXW1ucQTxWKyT+liu0D25mGXX27CBXBd" .ascii "4iXTxVII/iX+u3lcjORjoHOBy7QgeIDIIS9y0vYu8eArpjh7m4thrVgIRtMC" .ascii "AwEAAaMQMA4wDAYDVR0T" .ascii "BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQB9LKcVJK9sjASNzpQlpUp7nCiw" .ascii "5FSjVY+XMRIKK/kavzlKjZ+InsmmyRVGjDoZi9GrqG9PVHgLBxi2VtVjmokZ" .ascii "oNPqao3OfhqORAubC+JR/JLepM7aDaxDdTHVhSUk4lgNAvi26dGY7nZMsnHl" .ascii "PQ2tPp/HvRRiMq1oDjly" .string "lc8VTCI1Eh8IsNsGEhl2qRSVYIoDyPul6RMbTSzv4tVhVfGZqIisGLLhxYsFKgxVbml0VGVzdEZvdXIqgAEBE1PP93Tkpif35F+dYmXn9kLA/1djcPjCs2o2rwRMM4Uk356O5dguHXQjsfdR58qZQS9CS5DAtRUf0R8+43/wijO/hb49VNaNXmY+/cPHMkahP2aV3tZiFAyZblLik9A7ZvF+UsjeFQiHB5wzWQvbqk5wQ4yabHIXoYv/E0q+eQ==" .section .data.rel.local .align 3 .type paymentrequest4_cert1_BASE64, %object .size paymentrequest4_cert1_BASE64, 8 paymentrequest4_cert1_BASE64: .xword .LC5 .global paymentrequest5_cert1_BASE64 .section .rodata .align 3 .LC6: .ascii "Egt4NTA5K3NoYTI1NhrxAwruAzCCAeowggFToAMCAQICAQEwDQYJKoZIhvcN" .ascii "AQELBQAwITEfMB0GA1UEAxMWUGF5bWVudFJlcXVlc3QgVGVzdCBDQTAeFw0x" .ascii "MzA0MTkxNzIwMDZaFw0yMzA0MTcxNzIwMDZaMEMxGTAXBgNVBAMMEHRlc3Rt" .ascii "ZXJjaGFudC5vcmcxJjAkBgNVBAoMHVBheW1lbnQgUmVxdWVzdCBUZXN0IE1l" .ascii "cmNoYW50MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDhV6Yn47aEEmbl" .ascii "50YLvXoqGEJA51I/40wrZ6VQGdXYaRqYktagrWDlgYY9h0JQ1bQhm8HgW7ju" .ascii "0R4NaDTXUqxg4HjprF0z3Mfm/6mmebkLOOptfkVD7ceAteNI7cyuqWGIAZA7" .ascii "D9mV97mXoCAtTlBUycvkmoiClCCSh0EpF/UTaQIDAQABoxAwDjAMBgNVHRME" .ascii "BTADAQH/MA0GCSqGSIb3DQEBCwUAA4GBAGIRwW7I0QvLga+RnJoJSZNZQbtu" .ascii "4rQW3xmoz8WfZMBYXX3QBYg5ftycbdK+/IbPqozfjGW2AS6DNArvpveSPDTK" .ascii "9+GJBNo1paiNtVqwXkC3Ddscv5AIms1eZGiIOQNCmUvdLkpoXo48WAer3EGs" .ascii "Z3B15GyNEELc0q9W" .string "5yUebba1IjUSHwiw2wYSGXapFJVgigPI+6XpExtNLO/i1WFV8ZmoiKwYuPvFiwUqDFVuaXRUZXN0Rml2ZSqAAXdsMgdGssymvca1S/1KeM3n8Ydi2fi1JUzAAr59xPvNJRUeqCLP9upHn5z7br3P12Oz9A205/4wL4ClPRPVnOHgij0bEg+y0tGESqmF1rfOfXDszlo2U92wCxS07kq79YAZJ1ZoXYh860/Q4wvc7lfiTe+dXBzPKAKhMy91yETY" .section .data.rel.local .align 3 .type paymentrequest5_cert1_BASE64, %object .size paymentrequest5_cert1_BASE64, 8 paymentrequest5_cert1_BASE64: .xword .LC6 .global paymentrequest1_cert2_BASE64 .section .rodata .align 3 .LC7: .ascii "Egt4NTA5K3NoYTI1NhrQBArNBDCCAkkwggExoAMCAQICAQEwDQYJKoZIhvcN" .ascii "AQELBQAwITEfMB0GA1UEAwwWUGF5bWVudFJlcXVlc3QgVGVzdCBDQTAeFw0x" .ascii "NTAxMTExODIxMDhaFw0yNTAxMDgxODIxMDhaMCExHzAdBgNVBAMMFlBheW1l" .ascii "bnRSZXF1ZXN0IFRlc3QgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB" .ascii "AMsZqzkzeBGo+i2NmUak3Ciodr1V7S062VOy7N0OQYNDQHYkgDFAUET7cEb5" .ascii "VJaHPv5m3ppTBpU9xBcfwbHHUt4VjA+mhRmYrl1khjvZM+X8kEqvWn20BtcM" .ascii "9R6r0yIYec8UERDDHBleL/P8RkxEnVLjYTV9zigCXfMsgYb3EQShAgMBAAGj" .ascii "EDAOMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBABUJpl3QCqso" .ascii "DSxAsQdV6zKT4VGV76AzoGj7etQsQY+r+S26VfWh/fMobEzuxFChr0USgLJ6" .ascii "FoK78hAtoZvt1lrye9yqFv/ig3WLWsJKWHHb3RT6oR03CIwZXFSUasi08QDV" .ascii "LxafwsU5OMcPLucF3a1lRL1ccYrNgVCCx1+X7BostIgDGRQQ4AyoHTcfVd2h" .ascii "EGeUv7k14mOxFsAp6851yosHq9Q2kwmdH+rHEJbjof87yyKLagc4owyXBZYk" .ascii "QmkeHWCNqnuRmO5vUsfVb0UUrkD64o7Th/NjwooA7SCiUXl6dfygT1b7ggpx" .ascii "7GC+sP2DsIM47IAZ55drjqX5u2f+Ba0iPQoE" .string "dGVzdBIhCIDWwowEEhl2qRQErGqUUwSsaMpDvWIaGnJGNQqi8oisGNeMy6UFKgxKdXN0IFRlc3RpbmcqgAFwThsozZxkZxzCn4R8WxNiLFV6m0ye9fEtSbolfaW+EjBMpO03lr/dwNnrclhgew+A05xfZztrAt16XKEY7qKJ/eY2nLd0fVAIu/nIt+7/VYVXT83zLrWc150aRS7WAdJbL3JOJLs6Eyp5zrPbfI8faRttFAdONKDrJgIpuW1E3g==" .section .data.rel.local .align 3 .type paymentrequest1_cert2_BASE64, %object .size paymentrequest1_cert2_BASE64, 8 paymentrequest1_cert2_BASE64: .xword .LC7 .global paymentrequest2_cert2_BASE64 .section .rodata .align 3 .LC8: .ascii "Egt4NTA5K3NoYTI1NhrQBArNBDCCAkkwggExoAMCAQICAQEwDQYJKoZIhvcN" .ascii "AQELBQAwITEfMB0GA1UEAwwWUGF5bWVudFJlcXVlc3QgVGVzdCBDQTAeFw0x" .ascii "NTAxMTExODIxMDhaFw0yNTAxMDgxODIxMDhaMCExHzAdBgNVBAMMFlBheW1l" .ascii "bnRSZXF1ZXN0IFRlc3QgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB" .ascii "AMsZqzkzeBGo+i2NmUak3Ciodr1V7S062VOy7N0OQYNDQHYkgDFAUET7cEb5" .ascii "VJaHPv5m3ppTBpU9xBcfwbHHUt4VjA+mhRmYrl1khjvZM+X8kEqvWn20BtcM" .ascii "9R6r0yIYec8UERDDHBleL/P8RkxEnVLjYTV9zigCXfMsgYb3EQShAgMBAAGj" .ascii "EDAOMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBABUJpl3QCqso" .ascii "DSxAsQdV6zKT4VGV76AzoGj7etQsQY+r+S26VfWh/fMobEzuxFChr0USgLJ6" .ascii "FoK78hAtoZvt1lrye9yqFv/ig3WLWsJKWHHb3RT6oR03CIwZXFSUasi08QDV" .ascii "LxafwsU5OMcPLucF3a1lRL1ccYrNgVCCx1+X7BostIgDGRQQ4AyoHTcfVd2h" .ascii "EGeUv7k14mOxFsAp6851yosHq9Q2kwmdH+rHEJbjof87yyKLagc4owyXBZYk" .ascii "QmkeHWCNqnuRmO5vUsfVb0UUrkD64o7Th/NjwooA7SCiUXl6dfygT1b7ggpx" .ascii "7GC+sP2DsIM47IAZ55drjqX5u2f+Ba0iQgoEdGVz" .string "dBIgCICt4gQSGXapFASsapRTBKxoykO9YhoackY1CqLyiKwYiNLUpQUgASoQVGVzdGluZyB0ZXN0bmV0ISqAATXq9A5nmJgtmee/bQTeHeif4w1YYFPBlKghwx6qbVgXTWnwBJtOQhhVsZdzbTl95ENR7/Y7VJupW9kDWobCK7zUUhLAzUlwmLlcx6itHw8LTUF5HK+AwsZmZs85lISGvOS0NZW/ENa6l+oQRnL87oqVZr/EDGiuqjz6T0ThQi0l" .section .data.rel.local .align 3 .type paymentrequest2_cert2_BASE64, %object .size paymentrequest2_cert2_BASE64, 8 paymentrequest2_cert2_BASE64: .xword .LC8 .global paymentrequest3_cert2_BASE64 .section .rodata .align 3 .LC9: .ascii "Egt4NTA5K3NoYTI1NhrQBArNBDCCAkkwggExoAMCAQICAQEwDQYJKoZIhvcN" .ascii "AQELBQAwITEfMB0GA1UEAwwWUGF5bWVudFJlcXVlc3QgVGVzdCBDQTAeFw0x" .ascii "NTAxMTExODIxMDhaFw0yNTAxMDgxODIxMDhaMCExHzAdBgNVBAMMFlBheW1l" .ascii "bnRSZXF1ZXN0IFRlc3QgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB" .ascii "AMsZqzkzeBGo+i2NmUak3Ciodr1V7S062VOy7N0OQYNDQHYkgDFAUET7cEb5" .ascii "VJaHPv5m3ppTBpU9xBcfwbHHUt4VjA+mhRmYrl1khjvZM+X8kEqvWn20BtcM" .ascii "9R6r0yIYec8UERDDHBleL/P8RkxEnVLjYTV9zigCXfMsgYb3EQShAgMBAAGj" .ascii "EDAOMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBABUJpl3QCqso" .ascii "DSxAsQdV6zKT4VGV76AzoGj7etQsQY+r+S26VfWh/fMobEzuxFChr0USgLJ6" .ascii "FoK78hAtoZvt1lrye9yqFv/ig3WLWsJKWHHb3RT6oR03CIwZXFSUasi08QDV" .ascii "LxafwsU5OMcPLucF3a1lRL1ccYrNgVCCx1+X7BostIgDGRQQ4AyoHTcfVd2h" .ascii "EGeUv7k14mOxFsAp6851yosHq9Q2kwmdH+rHEJbjof87yyKLagc4owyXBZYk" .ascii "QmkeHWCNqnuRmO5vUsfVb0UUrkD64o7Th/NjwooA7SCiUXl6dfygT1b7ggpx" .ascii "7GC+sP2DsIM47IAZ55drjqX5u2f+Ba0iSgoEdGVzdBIgCICt4gQS" .string "GXapFASsapRTBKxoykO9YhoackY1CqLyiKwYyNfZpQUg//////////9/KhBUZXN0aW5nIHRlc3RuZXQhKoABNwi8WnMW4aMvbmvorTiiWJLFhofLFnsoWCJnj3rWLnLhn3w6q/fZ26p50ERL/noxdTUfeFsKnlECkUu/fOcOrqyYDiwvxI0SZ034DleVyFU1Z3T+X0zcL8oe7bX01Yf+s2V+5JXQXarKnKBrZCGgv2ARjFNSZe7E7vGg5K4Q6Q8=" .section .data.rel.local .align 3 .type paymentrequest3_cert2_BASE64, %object .size paymentrequest3_cert2_BASE64, 8 paymentrequest3_cert2_BASE64: .xword .LC9 .global paymentrequest4_cert2_BASE64 .section .rodata .align 3 .LC10: .ascii "Egt4NTA5K3NoYTI1NhrQBArNBDCCAkkwggExoAMCAQICAQEwDQYJKoZIhvcN" .ascii "AQELBQAwITEfMB0GA1UEAwwWUGF5bWVudFJlcXVlc3QgVGVzdCBDQTAeFw0x" .ascii "NTAxMTExODIxMDhaFw0yNTAxMDgxODIxMDhaMCExHzAdBgNVBAMMFlBheW1l" .ascii "bnRSZXF1ZXN0IFRlc3QgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB" .ascii "AMsZqzkzeBGo+i2NmUak3Ciodr1V7S062VOy7N0OQYNDQHYkgDFAUET7cEb5" .ascii "VJaHPv5m3ppTBpU9xBcfwbHHUt4VjA+mhRmYrl1khjvZM+X8kEqvWn20BtcM" .ascii "9R6r0yIYec8UERDDHBleL/P8RkxEnVLjYTV9zigCXfMsgYb3EQShAgMBAAGj" .ascii "EDAOMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBABUJpl3QCqso" .ascii "DSxAsQdV6zKT4VGV76AzoGj7etQsQY+r+S26VfWh/fMobEzuxFChr0USgLJ6" .ascii "FoK78hAtoZvt1lrye9yqFv/ig3WLWsJKWHHb3RT6oR03CIwZXFSUasi08QDV" .ascii "LxafwsU5OMcPLucF3a1lRL1ccYrNgVCCx1+X7BostIgDGRQQ4AyoHTcfVd2h" .ascii "EGeUv7k14mOxFsAp6851yosHq9Q2kwmdH+rHEJbjof87yyKLagc4owyXBZYk" .ascii "QmkeHWCNqnuRmO5vUsfVb0UUrkD64o7Th/NjwooA7SCiUXl6dfygT1b7ggpx" .ascii "7GC+sP2DsIM47IAZ55drjqX5u2f+Ba0iSwoEdGVzdBIgCICt4gQS" .string "GXapFASsapRTBKxoykO9YhoackY1CqLyiKwYt+HZpQUggICAgICAgICAASoQVGVzdGluZyB0ZXN0bmV0ISqAAXSQG8+GFA18VaKarlYrOz293rNMIub0swKGcQm8jAGXHSLaRgHfUDeEPr4hydy4dtfu59KNwe2xsHOHu/SpO4L8SrA4Dm9A7SlNBVWdcLbwd2hj739GDLz0b5KuJ2SG6VknMRQM976w/m2qlq0ccVGaaZ2zMIGfpzL3p6adwx/5" .section .data.rel.local .align 3 .type paymentrequest4_cert2_BASE64, %object .size paymentrequest4_cert2_BASE64, 8 paymentrequest4_cert2_BASE64: .xword .LC10 .global paymentrequest5_cert2_BASE64 .section .rodata .align 3 .LC11: .ascii "Egt4NTA5K3NoYTI1NhryBArvBDCCAmswggFToAMCAQICAQEwDQYJKoZIhvcN" .ascii "AQELBQAwITEfMB0GA1UEAwwWUGF5bWVudFJlcXVlc3QgVGVzdCBDQTAeFw0x" .ascii "NjExMTYwMDU1NTFaFw0yNjExMTQwMDU1NTFaMEMxGTAXBgNVBAMMEHRlc3Rt" .ascii "ZXJjaGFudC5vcmcxJjAkBgNVBAoMHVBheW1lbnQgUmVxdWVzdCBUZXN0IE1l" .ascii "cmNoYW50MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDQsHxApsShFxVB" .ascii "sS8EKqCSwQFIPV8fTdTb6a+apXmbiXPuqs8Ga5KmOe+AuYs7bolSoFGqe9tj" .ascii "FU+W9VEUMmx8y6EDsOrTZuqCZH2Sl4nSW358F6McO2aJftCg7NKpW9Hca/qf" .ascii "5IZXJ1TDuyEVLmXtJI3RFhgC/likY5u5IjSFbwIDAQABoxAwDjAMBgNVHRME" .ascii "BTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQCyGrRABBP+ONSFjcoQoCx4nVSl" .ascii "S+YjgR5HR41Mkgy67K7BWexhklz0RLRUtxLF5XOYCfL1ZBB0ZCf22+QBVlhK" .ascii "lzZldMVRaGvlWIwF3u7Q0hnRTetkBfUunY/7bEF+OIuLAW2C0mvxli+ZQUUx" .ascii "TWZnNrSn67ZylCpNCt5ssOK2vZqJIcxE2mNlPWqIa9GzUz0lls2Nlx3fYSw9" .ascii "VlWgoesYl8Un9kyhr9/zPRJ3nVlFcrd0GlfaF3wexhZWViK83tP0AAx3j3wg" .ascii "8jpDSM24R0xX15EGTB9qFLysaYFeG/YkLa2SNaU9sy/RclHeTFpSprYZy5/E" .ascii "0R3Zpfg81R2LkJ+IIkYSJAiAwsvwlvj1" .string "DhIZdqkUcqXt94tkwh5sokNvETxkJlR7FJGIrBj+ia/BBSoYVGVzdGluZyBhbW91bnQgb3ZlcmZsb3chKoABcG6Js7WGhoR2oeePOiH8WF9rNnZYfNR9t26afph2vTTHPMQQoS6o7HeKA9RcPxbdl4414Mt8Ii0Fds+15AUPAfCjQ6YFuYfxO+HuMyhzJh6sFJbpZU7GrBNvqjn5kx52F6nnKuPIpNvaauPm/XqqdoQfqtj+AlQWLZF8pQeTbEU=" .section .data.rel.local .align 3 .type paymentrequest5_cert2_BASE64, %object .size paymentrequest5_cert2_BASE64, 8 paymentrequest5_cert2_BASE64: .xword .LC11 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global fib .type fib, %function fib: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] mov w0, 1 str w0, [sp, 20] mov w0, 1 str w0, [sp, 24] b .L2 .L3: ldr w1, [sp, 20] ldr w0, [sp, 24] add w0, w1, w0 str w0, [sp, 28] ldr w0, [sp, 24] str w0, [sp, 20] ldr w0, [sp, 28] str w0, [sp, 24] ldr w0, [sp, 12] sub w0, w0, #1 str w0, [sp, 12] .L2: ldr w0, [sp, 12] cmp w0, 1 bgt .L3 ldr w0, [sp, 24] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size fib, .-fib .section .rodata .align 3 .LC0: .string "%d\n" .text .align 2 .global main .type main, %function main: .LFB1: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str w0, [sp, 28] str x1, [sp, 16] mov w0, 10 bl fib mov w1, w0 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 .LFE1: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "Get-up stand-up, stand-up for your rights, by: " .align 3 .LC1: .string "Bob Marley.\n" .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 printf adrp x0, :got:stdout ldr x0, [x0, #:got_lo12:stdout] ldr x0, [x0] bl __fpurge mov x2, 12 adrp x0, .LC1 add x1, x0, :lo12:.LC1 mov w0, 1 bl write 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 .type fm_exp2_q, %object .size fm_exp2_q, 16 fm_exp2_q: .word 268131388 .word 1080894949 .word 804064174 .word 1085345846 .align 3 .type fm_exp2_p, %object .size fm_exp2_p, 24 fm_exp2_p: .word 1419438803 .word 1066902984 .word -1822336034 .word 1077162938 .word -1870956909 .word 1083680672 .text .align 2 .type fm_exp2, %function fm_exp2: .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 d0, [sp, 24] ldr d1, [sp, 24] fmov d0, 5.0e-1 fadd d0, d1, d0 bl floor str d0, [sp, 48] ldr d1, [sp, 24] ldr d0, [sp, 48] fsub d0, d1, d0 str d0, [sp, 56] str wzr, [sp, 40] ldr d0, [sp, 48] fcvtzs w0, d0 add w0, w0, 1023 lsl w0, w0, 20 str w0, [sp, 44] ldr d0, [sp, 56] fmul d0, d0, d0 str d0, [sp, 24] adrp x0, .LC0 ldr d0, [x0, #:lo12:.LC0] str d0, [sp, 64] ldr d1, [sp, 64] ldr d0, [sp, 24] fmul d0, d1, d0 adrp x0, .LC1 ldr d1, [x0, #:lo12:.LC1] fadd d0, d0, d1 str d0, [sp, 64] adrp x0, .LC2 ldr d1, [x0, #:lo12:.LC2] ldr d0, [sp, 24] fadd d0, d0, d1 str d0, [sp, 72] ldr d1, [sp, 64] ldr d0, [sp, 24] fmul d0, d1, d0 adrp x0, .LC3 ldr d1, [x0, #:lo12:.LC3] fadd d0, d0, d1 str d0, [sp, 64] ldr d1, [sp, 72] ldr d0, [sp, 24] fmul d0, d1, d0 adrp x0, .LC4 ldr d1, [x0, #:lo12:.LC4] fadd d0, d0, d1 str d0, [sp, 72] ldr d1, [sp, 64] ldr d0, [sp, 56] fmul d0, d1, d0 str d0, [sp, 64] ldr d1, [sp, 72] ldr d0, [sp, 64] fsub d0, d1, d0 ldr d1, [sp, 64] fdiv d0, d1, d0 fadd d1, d0, d0 fmov d0, 1.0e+0 fadd d0, d1, d0 str d0, [sp, 24] ldr d1, [sp, 40] ldr d0, [sp, 24] fmul d0, d1, d0 ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size fm_exp2, .-fm_exp2 .align 2 .global fm_exp_ .type fm_exp_, %function fm_exp_: .LFB1: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] ldr d0, [x0] adrp x0, .LC5 ldr d1, [x0, #:lo12:.LC5] fmul d0, d0, d1 bl fm_exp2 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size fm_exp_, .-fm_exp_ .section .rodata .align 3 .LC0: .word 1419438803 .word 1066902984 .align 3 .LC1: .word -1822336034 .word 1077162938 .align 3 .LC2: .word 268131388 .word 1080894949 .align 3 .LC3: .word -1870956909 .word 1083680672 .align 3 .LC4: .word 804064174 .word 1085345846 .align 3 .LC5: .word 1697350398 .word 1073157447 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "%lf%lf" .align 3 .LC1: .string "%.4lf\n" .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 56] mov x1, 0 add x1, sp, 24 add x0, sp, 16 mov x2, x1 mov x1, x0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl __isoc99_scanf add x1, sp, 40 add x0, sp, 32 mov x2, x1 mov x1, x0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl __isoc99_scanf ldr d1, [sp, 32] ldr d0, [sp, 16] fsub d1, d1, d0 ldr d2, [sp, 32] ldr d0, [sp, 16] fsub d0, d2, d0 fmul d1, d1, d0 ldr d2, [sp, 40] ldr d0, [sp, 24] fsub d2, d2, d0 ldr d3, [sp, 40] ldr d0, [sp, 24] fsub d0, d3, d0 fmul d0, d2, d0 fadd d0, d1, d0 str d0, [sp, 48] ldr d0, [sp, 48] bl sqrt str d0, [sp, 48] ldr d0, [sp, 48] 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, 56] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L3 bl __stack_chk_fail .L3: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global getNewNode .type getNewNode, %function getNewNode: .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] ldr x0, [sp, 40] ldr x1, [x0, 16] ldr x0, [sp, 40] str x1, [x0, 8] ldr x0, [sp, 40] ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size getNewNode, .-getNewNode .align 2 .global incert .type incert, %function incert: .LFB7: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] ldr x0, [sp, 24] cmp x0, 0 bne .L4 ldr w0, [sp, 20] bl getNewNode str x0, [sp, 24] b .L5 .L4: ldrsw x0, [sp, 20] mov x1, x0 ldr x0, [sp, 24] cmp x0, x1 bhi .L6 ldr x0, [sp, 24] ldr x0, [x0, 8] ldr w1, [sp, 20] bl incert mov x1, x0 ldr x0, [sp, 24] str x1, [x0, 8] b .L5 .L6: ldr x0, [sp, 24] ldr x0, [x0, 16] ldr w1, [sp, 20] bl incert mov x1, x0 ldr x0, [sp, 24] str x1, [x0, 16] .L5: ldr x0, [sp, 24] ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size incert, .-incert .section .rodata .align 3 .LC0: .string "%d\t" .text .align 2 .global print .type print, %function print: .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, 8] bl print ldr x0, [sp, 24] ldr w0, [x0] mov w1, w0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf ldr x0, [sp, 24] ldr x0, [x0, 16] bl print 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 print, .-print .align 2 .global main .type main, %function main: .LFB9: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str xzr, [sp, 24] mov w1, 5 ldr x0, [sp, 24] bl incert str x0, [sp, 24] mov w1, 2 ldr x0, [sp, 24] bl incert str x0, [sp, 24] mov w1, 8 ldr x0, [sp, 24] bl incert str x0, [sp, 24] ldr x0, [sp, 24] bl print mov w0, 0 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global _reset_handler .type _reset_handler, %function _reset_handler: .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, 28] adrp x0, :got:_bss ldr x0, [x0, #:got_lo12:_bss] str x0, [sp, 40] b .L2 .L3: ldr x0, [sp, 40] add x1, x0, 4 str x1, [sp, 40] str wzr, [x0] .L2: ldr x1, [sp, 40] adrp x0, :got:_ebss ldr x0, [x0, #:got_lo12:_ebss] cmp x1, x0 bcc .L3 adrp x0, :got:_ramtext ldr x1, [x0, #:got_lo12:_ramtext] adrp x0, :got:_ramtext_loadaddr ldr x0, [x0, #:got_lo12:_ramtext_loadaddr] cmp x1, x0 beq .L4 adrp x0, :got:_ramtext_loadaddr ldr x0, [x0, #:got_lo12:_ramtext_loadaddr] str x0, [sp, 48] adrp x0, :got:_ramtext ldr x0, [x0, #:got_lo12:_ramtext] str x0, [sp, 56] b .L5 .L6: ldr x1, [sp, 48] add x0, x1, 4 str x0, [sp, 48] ldr x0, [sp, 56] add x2, x0, 4 str x2, [sp, 56] ldr w1, [x1] str w1, [x0] .L5: ldr x1, [sp, 56] adrp x0, :got:_eramtext ldr x0, [x0, #:got_lo12:_eramtext] cmp x1, x0 bcc .L6 .L4: adrp x0, :got:_data ldr x1, [x0, #:got_lo12:_data] adrp x0, :got:_data_loadaddr ldr x0, [x0, #:got_lo12:_data_loadaddr] cmp x1, x0 beq .L7 adrp x0, :got:_data_loadaddr ldr x0, [x0, #:got_lo12:_data_loadaddr] str x0, [sp, 64] adrp x0, :got:_data ldr x0, [x0, #:got_lo12:_data] str x0, [sp, 72] b .L8 .L9: ldr x1, [sp, 64] add x0, x1, 4 str x0, [sp, 64] ldr x0, [sp, 72] add x2, x0, 4 str x2, [sp, 72] ldr w1, [x1] str w1, [x0] .L8: ldr x1, [sp, 72] adrp x0, :got:_edata ldr x0, [x0, #:got_lo12:_edata] cmp x1, x0 bcc .L9 .L7: ldr w0, [sp, 28] bl main .L10: b .L10 .cfi_endproc .LFE0: .size _reset_handler, .-_reset_handler ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "hello from funcA" .text .align 2 .global funcA .type funcA, %function funcA: .LFB0: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str w0, [sp, 28] str w1, [sp, 24] adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl puts ldr w1, [sp, 24] ldr w0, [sp, 28] bl funcB ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size funcA, .-funcA ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global DB_PROPERTY_PRIMARY .section .rodata .align 3 .type DB_PROPERTY_PRIMARY, %object .size DB_PROPERTY_PRIMARY, 24 DB_PROPERTY_PRIMARY: .xword 3367313916 .hword 23795 .hword 4558 .string "\255\345" .string "\252" .ascii "Dw=" .zero 4 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global cupboard .bss .align 3 .type cupboard, %object .size cupboard, 400 cupboard: .zero 400 .global prisoners .align 3 .type prisoners, %object .size prisoners, 20000 prisoners: .zero 20000 .text .align 2 .global init_cupboard .type init_cupboard, %function init_cupboard: .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, 20] str wzr, [sp, 24] str wzr, [sp, 28] str wzr, [sp, 20] b .L2 .L3: adrp x0, cupboard add x0, x0, :lo12:cupboard ldrsw x1, [sp, 20] ldr w2, [sp, 20] str w2, [x0, x1, lsl 2] ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] .L2: ldr w0, [sp, 20] cmp w0, 99 ble .L3 str wzr, [sp, 20] b .L4 .L5: bl rand mov w2, w0 mov w1, 100 ldr w0, [sp, 20] sub w0, w1, w0 mov w1, 2147483647 sdiv w0, w1, w0 add w0, w0, 1 sdiv w0, w2, w0 str w0, [sp, 24] adrp x0, cupboard add x0, x0, :lo12:cupboard ldrsw x1, [sp, 20] ldr w0, [x0, x1, lsl 2] str w0, [sp, 28] ldr w1, [sp, 20] ldr w0, [sp, 24] add w1, w1, w0 adrp x0, cupboard add x0, x0, :lo12:cupboard sxtw x1, w1 ldr w2, [x0, x1, lsl 2] adrp x0, cupboard add x0, x0, :lo12:cupboard ldrsw x1, [sp, 20] str w2, [x0, x1, lsl 2] ldr w1, [sp, 20] ldr w0, [sp, 24] add w1, w1, w0 adrp x0, cupboard add x0, x0, :lo12:cupboard sxtw x1, w1 ldr w2, [sp, 28] str w2, [x0, x1, lsl 2] ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] .L4: ldr w0, [sp, 20] cmp w0, 98 ble .L5 str wzr, [sp, 20] b .L6 .L7: adrp x0, cupboard add x0, x0, :lo12:cupboard ldrsw x1, [sp, 20] ldr w0, [x0, x1, lsl 2] add w2, w0, 1 adrp x0, cupboard add x0, x0, :lo12:cupboard ldrsw x1, [sp, 20] str w2, [x0, x1, lsl 2] ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] .L6: ldr w0, [sp, 20] cmp w0, 99 ble .L7 mov w0, 0 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size init_cupboard, .-init_cupboard .section .rodata .align 3 .LC0: .string "\n D R A W E R S" .align 3 .LC1: .string "\n + 1 ++ 2 ++ 3 ++ 4 ++ 5 ++ 6 ++ 7 ++ 8 ++ 9 ++ 0 +" .align 3 .LC2: .string "\n +-----++-----++-----++-----++-----++-----++-----++-----++-----++-----+" .align 3 .LC3: .string "%3d " .align 3 .LC4: .string "| %3d |" .text .align 2 .global print_cupboard .type print_cupboard, %function print_cupboard: .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, .LC0 add x0, x0, :lo12:.LC0 bl printf adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf str wzr, [sp, 28] b .L10 .L12: ldr w2, [sp, 28] 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 cmp w1, 0 bne .L11 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl puts 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 w1, w1, w0 mov w0, w1 lsl w0, w0, 2 add w0, w0, w1 lsl w0, w0, 1 mov w1, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf .L11: adrp x0, cupboard add x0, x0, :lo12:cupboard ldrsw x1, [sp, 28] ldr w0, [x0, x1, lsl 2] mov w1, w0 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl printf ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L10: ldr w0, [sp, 28] cmp w0, 99 ble .L12 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl puts nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size print_cupboard, .-print_cupboard .section .rodata .align 3 .LC5: .string "\nprisoner %3d : " .align 3 .LC6: .string "--> %d " .text .align 2 .global print_attempt_for_a_prisoner .type print_attempt_for_a_prisoner, %function print_attempt_for_a_prisoner: .LFB8: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str w0, [sp, 28] str x1, [sp, 16] str wzr, [sp, 44] ldr w1, [sp, 28] adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl printf str wzr, [sp, 44] b .L15 .L17: ldrsw x0, [sp, 44] lsl x0, x0, 2 ldr x1, [sp, 16] add x0, x1, x0 ldr w0, [x0] mov w1, w0 adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl printf ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L15: ldr w0, [sp, 44] cmp w0, 49 bgt .L16 ldrsw x0, [sp, 44] lsl x0, x0, 2 ldr x1, [sp, 16] add x0, x1, x0 ldr w0, [x0] cmp w0, 0 bne .L17 .L16: 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_attempt_for_a_prisoner, .-print_attempt_for_a_prisoner .align 2 .global attemp_to_survive .type attemp_to_survive, %function attemp_to_survive: .LFB9: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str wzr, [sp] str wzr, [sp, 4] str wzr, [sp, 8] str wzr, [sp, 12] str wzr, [sp] b .L19 .L25: str wzr, [sp, 12] ldr w0, [sp] str w0, [sp, 8] str wzr, [sp, 4] b .L20 .L24: adrp x0, cupboard add x0, x0, :lo12:cupboard ldrsw x1, [sp, 8] ldr w3, [x0, x1, lsl 2] adrp x0, prisoners add x2, x0, :lo12:prisoners ldrsw x4, [sp, 4] ldrsw x1, [sp] mov x0, x1 lsl x0, x0, 1 add x0, x0, x1 lsl x0, x0, 3 add x0, x0, x1 lsl x0, x0, 1 add x0, x0, x4 str w3, [x2, x0, lsl 2] adrp x0, cupboard add x0, x0, :lo12:cupboard ldrsw x1, [sp, 8] ldr w1, [x0, x1, lsl 2] ldr w0, [sp] add w0, w0, 1 cmp w1, w0 bne .L21 mov w0, 1 str w0, [sp, 12] b .L22 .L21: adrp x0, cupboard add x0, x0, :lo12:cupboard ldrsw x1, [sp, 8] ldr w0, [x0, x1, lsl 2] sub w0, w0, #1 str w0, [sp, 8] .L22: ldr w0, [sp, 4] add w0, w0, 1 str w0, [sp, 4] .L20: ldr w0, [sp, 4] cmp w0, 49 bgt .L23 ldr w0, [sp, 12] cmp w0, 0 beq .L24 .L23: ldr w0, [sp] add w0, w0, 1 str w0, [sp] .L19: ldr w0, [sp] cmp w0, 99 ble .L25 ldr w0, [sp, 12] add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size attemp_to_survive, .-attemp_to_survive .align 2 .global check_probablity .type check_probablity, %function check_probablity: .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 w0, [sp, 28] str wzr, [sp, 40] str wzr, [sp, 44] str wzr, [sp, 40] b .L28 .L29: bl init_cupboard bl attemp_to_survive mov w1, w0 ldr w0, [sp, 44] add w0, w0, w1 str w0, [sp, 44] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L28: ldr w1, [sp, 40] ldr w0, [sp, 28] cmp w1, w0 blt .L29 ldr s0, [sp, 44] scvtf s1, s0 ldr s0, [sp, 28] scvtf s0, s0 fdiv s0, s1, s0 mov w0, 1120403456 fmov s1, w0 fmul s0, s0, s1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE10: .size check_probablity, .-check_probablity .section .rodata .align 3 .LC7: .string "probablity = %2f%\n" .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 str wzr, [sp, 28] mov x0, 0 bl time bl srand mov w0, 32000 bl check_probablity fcvt d0, s0 adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl printf mov w0, 0 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 .global a .bss .align 3 .type a, %object .size a, 4 a: .zero 4 .global b .data .align 4 .type b, %object .size b, 16 b: .xword -1 .xword -1 .global i .bss .align 4 .type i, %object .size i, 16 i: .zero 16 .global u .data .align 4 .type u, %object .size u, 16 u: .xword -1 .xword -1 ```
### 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 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 xzr, [sp, 16] add x0, sp, 16 mov w1, 0 bl node_delete mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 24] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L3 bl __stack_chk_fail .L3: mov w0, w1 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main .align 2 .global node_delete .type node_delete, %function node_delete: .LFB1: .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] str x0, [sp, 24] b .L5 .L6: ldr x0, [sp, 24] ldr x0, [x0, 8] str x0, [sp, 24] .L5: ldr x0, [sp, 24] ldr w0, [x0] ldr w1, [sp, 4] cmp w1, w0 bne .L6 nop nop add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size node_delete, .-node_delete ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global ctest1 .type ctest1, %function ctest1: .LFB0: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] ldr x0, [sp, 8] mov w1, 100 str w1, [x0] nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size ctest1, .-ctest1 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "a" .text .align 2 .global f0 .type f0, %function f0: .LFB0: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl puts nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size f0, .-f0 .align 2 .global f1 .type f1, %function f1: .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 exit .cfi_endproc .LFE1: .size f1, .-f1 .align 2 .global f2 .type f2, %function f2: .LFB2: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] ldr x1, [sp, 16] ldr x0, [sp, 24] bl strstr ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE2: .size f2, .-f2 .global __extenddftf2 .align 2 .global f3 .type f3, %function f3: .LFB3: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str d0, [sp, 40] 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 d0, [sp, 40] bl frexp ldr d0, [sp, 40] fcvt s0, d0 add x0, sp, 52 bl frexpf ldr d0, [sp, 40] bl __extenddftf2 add x0, sp, 52 bl frexpl add x0, sp, 52 ldr d0, [sp, 40] bl modf ldr d0, [sp, 40] fcvt s0, d0 add x0, sp, 52 bl modff ldr d0, [sp, 40] bl __extenddftf2 add x0, sp, 52 bl modfl add x0, sp, 52 ldr d1, [sp, 40] ldr d0, [sp, 40] bl remquo ldr d0, [sp, 40] fcvt s2, d0 ldr d0, [sp, 40] fcvt s0, d0 add x0, sp, 52 fmov s1, s0 fmov s0, s2 bl remquof ldr d0, [sp, 40] bl __extenddftf2 str q0, [sp, 16] ldr d0, [sp, 40] bl __extenddftf2 add x0, sp, 52 mov v1.16b, v0.16b ldr q0, [sp, 16] bl remquol ldr w0, [sp, 52] mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 56] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .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 .LFE3: .size f3, .-f3 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "%f" .align 3 .LC1: .string "%d %d/%d" .align 3 .LC2: .string "%d" .text .align 2 .global price_to_str .type price_to_str, %function price_to_str: .LFB6: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp str s0, [sp, 60] str x0, [sp, 48] str x1, [sp, 40] str x2, [sp, 32] str x3, [sp, 24] ldr s0, [sp, 60] fcvtzs s0, s0 str s0, [sp, 84] ldr s0, [sp, 60] fcvtzs s0, s0 scvtf s0, s0 ldr s1, [sp, 60] fsub s0, s1, s0 str s0, [sp, 88] ldr x0, [sp, 24] cmp x0, 0 beq .L2 ldr s0, [sp, 60] fcvt d0, s0 ldr x1, [sp, 24] adrp x0, rtn.0 add x0, x0, :lo12:rtn.0 bl sprintf ldr x0, [sp, 32] str wzr, [x0] ldr x0, [sp, 32] ldr w1, [x0] ldr x0, [sp, 40] str w1, [x0] ldr x0, [sp, 40] ldr w1, [x0] ldr x0, [sp, 48] str w1, [x0] adrp x0, rtn.0 add x0, x0, :lo12:rtn.0 b .L3 .L2: ldr s0, [sp, 88] mov w0, 1132462080 fmov s1, w0 fmul s0, s0, s1 str s0, [sp, 76] ldr s0, [sp, 76] fcvtzs s0, s0 scvtf s0, s0 ldr s1, [sp, 76] fsub s0, s1, s0 str s0, [sp, 92] ldr s1, [sp, 92] movi v0.2s, 0x3b, lsl 24 fcmpe s1, s0 bmi .L4 fmov s1, 1.0e+0 ldr s0, [sp, 92] fsub s1, s1, s0 movi v0.2s, 0x3b, lsl 24 fcmpe s1, s0 bmi .L13 b .L15 .L13: ldr s1, [sp, 76] fmov s0, 1.0e+0 fadd s0, s1, s0 str s0, [sp, 76] b .L4 .L15: ldr s0, [sp, 60] fcvt d0, s0 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, rtn.0 add x0, x0, :lo12:rtn.0 bl sprintf ldr x0, [sp, 32] str wzr, [x0] ldr x0, [sp, 32] ldr w1, [x0] ldr x0, [sp, 40] str w1, [x0] ldr x0, [sp, 40] ldr w1, [x0] ldr x0, [sp, 48] str w1, [x0] adrp x0, rtn.0 add x0, x0, :lo12:rtn.0 b .L3 .L4: ldr s0, [sp, 76] fcmp s0, #0.0 beq .L7 mov w0, 8 str w0, [sp, 80] b .L8 .L9: fmov s0, 2.0e+0 ldr s1, [sp, 76] fdiv s0, s1, s0 str s0, [sp, 76] ldr w0, [sp, 80] sub w0, w0, #1 str w0, [sp, 80] .L8: ldr s0, [sp, 76] fcvt d1, s0 fmov d0, 2.0e+0 fdiv d1, d1, d0 fmov s0, 2.0e+0 ldr s2, [sp, 76] fdiv s0, s2, s0 fcvtzs s0, s0 scvtf s0, s0 fcvt d0, s0 fcmp d1, d0 beq .L9 ldr w0, [sp, 84] cmp w0, 0 bge .L10 ldr s0, [sp, 76] fcmpe s0, #0.0 bmi .L14 b .L10 .L14: ldr s0, [sp, 76] fneg s0, s0 str s0, [sp, 76] .L10: ldr s0, [sp, 76] fcvtzs s0, s0 ldr x0, [sp, 48] str s0, [x0] ldr s0, [sp, 80] scvtf s0, s0 fcvt d0, s0 fmov d1, d0 fmov d0, 2.0e+0 bl pow fcvtzs w1, d0 ldr x0, [sp, 40] str w1, [x0] ldr x0, [sp, 32] ldr w1, [sp, 84] str w1, [x0] ldr s0, [sp, 76] fcvtzs w1, s0 ldr x0, [sp, 40] ldr w0, [x0] mov w4, w0 mov w3, w1 ldr w2, [sp, 84] adrp x0, .LC1 add x1, x0, :lo12:.LC1 adrp x0, rtn.0 add x0, x0, :lo12:rtn.0 bl sprintf b .L12 .L7: ldr x0, [sp, 40] str wzr, [x0] ldr x0, [sp, 40] ldr w1, [x0] ldr x0, [sp, 48] str w1, [x0] ldr x0, [sp, 32] ldr w1, [sp, 84] str w1, [x0] ldr w2, [sp, 84] adrp x0, .LC2 add x1, x0, :lo12:.LC2 adrp x0, rtn.0 add x0, x0, :lo12:rtn.0 bl sprintf .L12: adrp x0, rtn.0 add x0, x0, :lo12:rtn.0 .L3: ldp x29, x30, [sp], 96 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size price_to_str, .-price_to_str .local rtn.0 .comm rtn.0,64,8 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC1: .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, .LC1 add x1, x0, :lo12:.LC1 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 .LC2: .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, .LC2 add x1, x0, :lo12:.LC2 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 .LC3: .string "error: call to 'clGetPlatformIDs' failed" .align 3 .LC4: .string "Number of platforms: %d\n" .align 3 .LC5: .string "platform=%p\n" .align 3 .LC6: .string "error: call to 'clGetPlatformInfo' failed" .align 3 .LC7: .string "platform.name='%s'\n\n" .align 3 .LC8: .string "error: call to 'clGetDeviceIDs' failed" .align 3 .LC9: .string "Number of devices: %d\n" .align 3 .LC10: .string "device=%p\n" .align 3 .LC11: .string "error: call to 'clGetDeviceInfo' failed" .align 3 .LC12: .string "device.name='%s'\n" .align 3 .LC13: .string "error: call to 'clCreateContext' failed" .align 3 .LC14: .string "context=%p\n" .align 3 .LC15: .string "error: call to 'clCreateCommandQueue' failed" .align 3 .LC16: .string "command_queue=%p\n" .align 3 .LC17: .string "error: No binary specified" .align 3 .LC18: .string "error: call to 'clCreateProgramWithBinary' failed" .align 3 .LC19: .string "error: Invalid binary for device" .align 3 .LC20: .string "program=%p\n" .align 3 .LC21: .string "program binary loaded" .align 3 .LC22: .string "error: call to 'clBuildProgram' failed:\n%s\n" .align 3 .LC23: .string "program built" .align 3 .LC24: .string "remainder_short16short16" .align 3 .LC25: .string "error: call to 'clCreateKernel' failed" .align 3 .LC26: .string "error: could not create source buffer" .align 3 .LC27: .string "error: call to 'clEnqueueWriteBuffer' failed" .align 3 .LC28: .string "error: could not create dst buffer" .align 3 .LC29: .string "error: call to 'clSetKernelArg' failed" .align 3 .LC30: .string "error: call to 'clEnqueueNDRangeKernel' failed" .align 3 .LC31: .string "error: call to 'clEnqueueReadBuffer' failed" .align 3 .LC32: .string "%s.result" .align 3 .LC33: .string "Result dumped to %s\n" .align 3 .LC34: .string "error: call to 'clReleaseMemObject' failed" .align 3 .LC35: .string "error: call to 'clReleaseKernel' failed" .align 3 .LC36: .string "error: call to 'clReleaseProgram' failed" .align 3 .LC37: .string "error: call to 'clReleaseCommandQueue' failed" .align 3 .LC38: .string "error: call to 'clReleaseContext' failed" .text .align 2 .global main .type main, %function main: .LFB8: .cfi_startproc sub sp, sp, #592 .cfi_def_cfa_offset 592 stp x29, x30, [sp, 16] .cfi_offset 29, -576 .cfi_offset 30, -568 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, 584] 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, .LC3 add x0, x0, :lo12:.LC3 bl puts mov w0, 1 bl exit .L8: ldr w0, [sp, 56] mov w1, w0 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl printf ldr x0, [sp, 80] mov x1, x0 adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl printf ldr x0, [sp, 80] add x1, sp, 272 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, .LC6 add x0, x0, :lo12:.LC6 bl puts mov w0, 1 bl exit .L9: add x0, sp, 272 mov x1, x0 adrp x0, .LC7 add x0, x0, :lo12:.LC7 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, .LC8 add x0, x0, :lo12:.LC8 bl puts mov w0, 1 bl exit .L10: ldr w0, [sp, 64] mov w1, w0 adrp x0, .LC9 add x0, x0, :lo12:.LC9 bl printf ldr x0, [sp, 88] mov x1, x0 adrp x0, .LC10 add x0, x0, :lo12:.LC10 bl printf ldr x0, [sp, 88] add x1, sp, 376 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, .LC11 add x0, x0, :lo12:.LC11 bl puts mov w0, 1 bl exit .L11: add x0, sp, 376 mov x1, x0 adrp x0, .LC12 add x0, x0, :lo12:.LC12 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, .LC13 add x0, x0, :lo12:.LC13 bl puts mov w0, 1 bl exit .L12: ldr x1, [sp, 152] adrp x0, .LC14 add x0, x0, :lo12:.LC14 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, .LC15 add x0, x0, :lo12:.LC15 bl puts mov w0, 1 bl exit .L13: ldr x1, [sp, 160] adrp x0, .LC16 add x0, x0, :lo12:.LC16 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, .LC17 add x0, x0, :lo12:.LC17 bl puts mov w0, 1 bl exit .L41: adrp x0, .LC18 add x0, x0, :lo12:.LC18 bl puts mov w0, 1 bl exit .L16: ldr w0, [sp, 68] cmp w0, 0 beq .L17 adrp x0, .LC19 add x0, x0, :lo12:.LC19 bl puts mov w0, 1 bl exit .L17: ldr x1, [sp, 168] adrp x0, .LC20 add x0, x0, :lo12:.LC20 bl printf ldr x0, [sp, 96] bl free adrp x0, .LC21 add x0, x0, :lo12:.LC21 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, .LC22 add x0, x0, :lo12:.LC22 bl printf ldr x0, [sp, 216] bl free mov w0, 1 bl exit .L18: adrp x0, .LC23 add x0, x0, :lo12:.LC23 bl puts mov w0, 10 bl putchar add x0, sp, 60 mov x2, x0 adrp x0, .LC24 add x1, x0, :lo12:.LC24 ldr x0, [sp, 168] bl clCreateKernel str x0, [sp, 176] ldr w0, [sp, 60] cmp w0, 0 beq .L19 adrp x0, .LC25 add x0, x0, :lo12:.LC25 bl puts mov w0, 1 bl exit .L19: mov x0, 10 str x0, [sp, 184] ldr x0, [sp, 184] lsl x0, x0, 5 bl malloc str x0, [sp, 192] str wzr, [sp, 72] b .L20 .L21: ldrsw x0, [sp, 72] lsl x0, x0, 5 ldr x1, [sp, 192] add x2, x1, x0 adrp x0, .LC0 add x1, x0, :lo12:.LC0 mov x0, x2 ldp q0, q1, [x1] stp q0, q1, [x0] 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, 5 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, .LC26 add x0, x0, :lo12:.LC26 bl puts mov w0, 1 bl exit .L22: ldr x1, [sp, 112] ldr x0, [sp, 184] lsl x0, x0, 5 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, .LC27 add x0, x0, :lo12:.LC27 bl puts mov w0, 1 bl exit .L23: ldr x0, [sp, 184] lsl x0, x0, 5 bl malloc str x0, [sp, 200] str wzr, [sp, 76] b .L24 .L25: ldrsw x0, [sp, 76] lsl x0, x0, 5 ldr x1, [sp, 200] add x2, x1, x0 adrp x0, .LC0 add x1, x0, :lo12:.LC0 mov x0, x2 ldp q0, q1, [x1] stp q0, q1, [x0] 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, 5 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, .LC26 add x0, x0, :lo12:.LC26 bl puts mov w0, 1 bl exit .L26: ldr x1, [sp, 120] ldr x0, [sp, 184] lsl x0, x0, 5 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, .LC27 add x0, x0, :lo12:.LC27 bl puts mov w0, 1 bl exit .L27: ldr x0, [sp, 184] lsl x0, x0, 5 bl malloc str x0, [sp, 208] ldr x0, [sp, 184] lsl x0, x0, 5 mov x2, x0 mov w1, 1 ldr x0, [sp, 208] bl memset ldr x0, [sp, 184] lsl x0, x0, 5 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, .LC28 add x0, x0, :lo12:.LC28 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, .LC29 add x0, x0, :lo12:.LC29 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, .LC30 add x0, x0, :lo12:.LC30 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, 5 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, .LC31 add x0, x0, :lo12:.LC31 bl puts mov w0, 1 bl exit .L31: ldr x0, [sp, 32] ldr x0, [x0] add x3, sp, 480 mov x2, x0 adrp x0, .LC32 add x1, x0, :lo12:.LC32 mov x0, x3 bl sprintf ldr x0, [sp, 184] lsl x1, x0, 5 add x0, sp, 480 mov x2, x1 ldr x1, [sp, 208] bl write_buffer add x0, sp, 480 mov x1, x0 adrp x0, .LC33 add x0, x0, :lo12:.LC33 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, .LC34 add x0, x0, :lo12:.LC34 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, .LC34 add x0, x0, :lo12:.LC34 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, .LC34 add x0, x0, :lo12:.LC34 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, .LC35 add x0, x0, :lo12:.LC35 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, .LC36 add x0, x0, :lo12:.LC36 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, .LC37 add x0, x0, :lo12:.LC37 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, .LC38 add x0, x0, :lo12:.LC38 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, 584] 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, 592 .cfi_restore 29 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE8: .size main, .-main .section .rodata .align 5 .LC0: .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .hword 2 .text ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc mov w0, 77 ret .cfi_endproc .LFE0: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global w .bss .align 3 .type w, %object .size w, 8 w: .zero 8 .global sample_tch .data .align 3 .type sample_tch, %object .size sample_tch, 24 sample_tch: .word 0 .word 1 .word 2 .word 3 .word 4 .word 5 .global sample_test .align 3 .type sample_test, %object .size sample_test, 24 sample_test: .word 0 .word 1 .word 2 .word 3 .word 4 .word 5 .global n_sample_tch .align 2 .type n_sample_tch, %object .size n_sample_tch, 4 n_sample_tch: .word 6 .global n_sample_test .align 2 .type n_sample_test, %object .size n_sample_test, 4 n_sample_test: .word 6 .section .rodata .align 3 .LC0: .string "shuku_gyou=%d shuku_retu=%d n_shuku=%d\n" .align 3 .LC1: .string "./alllist.txt" .align 3 .LC2: .string "Number of ID for kl henkan = %d\n" .align 3 .LC3: .string "./halflist1.txt" .align 3 .LC4: .string "Number of ID for tch = %d\n" .align 3 .LC5: .string "./halflist2.txt" .align 3 .LC6: .string "Number of ID for test = %d\n" .align 3 .LC7: .string "sigma=%d\n" .align 3 .LC8: .string "/home/takahiro/work/PatternRecognition/Mae" .align 3 .LC9: .string "%s/%s/SIGMA%d/%smae-%1d-%1d.pgm" .align 3 .LC10: .string "Dimensions are wrong." .align 3 .LC11: .string "%d,%f," .align 3 .LC12: .string "Number = %d\n" .align 3 .LC13: .string "Can't calculate Inverse matrix!\n" .align 3 .LC14: .string "%2d " .align 3 .LC15: .string " " .align 3 .LC16: .string "%1d " .align 3 .LC17: .string "%ld/%ld (%6.2f%%)\n" .align 3 .LC18: .string "ID=%s %ld/%ld (%6.2f%%)\n\n" .align 3 .LC19: .string "%6.2f\n" .align 3 .LC20: .string "Best ID = %s (%6.2f%%)\n" .align 3 .LC21: .string "Worst ID = %s (%6.2f%%)\n\n" .text .align 2 .global main .type main, %function main: .LFB6: .cfi_startproc mov x12, 25648 sub sp, sp, x12 .cfi_def_cfa_offset 25648 stp x29, x30, [sp, 16] .cfi_offset 29, -25632 .cfi_offset 30, -25624 add x29, sp, 16 .cfi_def_cfa 29, 25632 stp x19, x20, [sp, 32] stp x21, x22, [sp, 48] stp x23, x24, [sp, 64] stp x25, x26, [sp, 80] stp x27, x28, [sp, 96] .cfi_offset 19, -25616 .cfi_offset 20, -25608 .cfi_offset 21, -25600 .cfi_offset 22, -25592 .cfi_offset 23, -25584 .cfi_offset 24, -25576 .cfi_offset 25, -25568 .cfi_offset 26, -25560 .cfi_offset 27, -25552 .cfi_offset 28, -25544 str w0, [x29, 1228] str x1, [x29, 1216] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [x29, 25624] mov x1, 0 str wzr, [x29, 1268] str xzr, [x29, 1384] str wzr, [x29, 1272] str xzr, [x29, 1392] str wzr, [x29, 1276] mov w0, 6 str w0, [x29, 1304] ldr w0, [x29, 1304] add w0, w0, 1 str w0, [x29, 1304] mov w0, 6 str w0, [x29, 1308] ldr w0, [x29, 1308] add w0, w0, 1 str w0, [x29, 1308] ldr w1, [x29, 1304] ldr w0, [x29, 1308] mul w0, w1, w0 str w0, [x29, 1312] ldr w3, [x29, 1312] ldr w2, [x29, 1308] ldr w1, [x29, 1304] adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf add x2, x29, 1776 adrp x0, .LC1 add x1, x0, :lo12:.LC1 mov x0, x2 bl read_id_list str w0, [x29, 1316] ldr w1, [x29, 1316] adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf add x2, x29, 2992 adrp x0, .LC3 add x1, x0, :lo12:.LC3 mov x0, x2 bl read_id_list str w0, [x29, 1320] ldr w1, [x29, 1320] adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl printf add x2, x29, 4096 add x2, x2, 112 adrp x0, .LC5 add x1, x0, :lo12:.LC5 mov x0, x2 bl read_id_list str w0, [x29, 1324] ldr w1, [x29, 1324] adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl printf mov w0, 6 str w0, [x29, 1280] b .L2 .L89: mov x0, sp str x0, [x29, 96] ldr w4, [x29, 1312] sxtw x0, w4 sub x0, x0, #1 str x0, [x29, 1400] sxtw x0, w4 str x0, [x29, 672] str xzr, [x29, 680] add x0, x29, 512 ldp x2, x3, [x0, 160] mov x0, x2 lsr x0, x0, 61 mov x1, x3 lsl x1, x1, 3 str x1, [x29, 1080] ldr x1, [x29, 1080] orr x0, x0, x1 str x0, [x29, 1080] mov x0, x2 lsl x0, x0, 3 str x0, [x29, 1072] sxtw x28, w4 sxtw x0, w4 str x0, [x29, 656] str xzr, [x29, 664] mov x0, 5808 mov x1, 0 add x2, x29, 512 ldp x6, x7, [x2, 144] mov x2, x6 mul x3, x2, x0 mov x2, x6 umulh x2, x2, x0 mov x5, x7 madd x2, x5, x0, x2 mov x5, x6 madd x2, x5, x1, x2 str x3, [x29, 192] str x2, [x29, 200] sxtw x1, w4 mov x0, 726 mul x19, x1, x0 sxtw x0, w4 str x0, [x29, 640] str xzr, [x29, 648] mov x0, 58080 mov x1, 0 add x2, x29, 512 ldp x6, x7, [x2, 128] mov x2, x6 mul x3, x2, x0 mov x2, x6 umulh x2, x2, x0 mov x5, x7 madd x2, x5, x0, x2 mov x5, x6 madd x2, x5, x1, x2 str x3, [x29, 176] str x2, [x29, 184] sxtw x0, w4 mov x20, x0 mov x21, 0 mov x0, 58080 mov x1, 0 mul x3, x20, x0 umulh x2, x20, x0 madd x2, x21, x0, x2 madd x2, x20, x1, x2 str x3, [x29, 160] str x2, [x29, 168] sxtw x1, w4 mov x0, 7260 mul x0, x1, x0 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L3: cmp sp, x0 beq .L4 sub sp, sp, #65536 str xzr, [sp, 1024] b .L3 .L4: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L5 str xzr, [sp, 1024] .L5: add x0, sp, 16 add x0, x0, 0 str x0, [x29, 1408] ldr w1, [x29, 1312] sxtw x0, w1 sub x0, x0, #1 str x0, [x29, 1416] sxtw x0, w1 str x0, [x29, 624] str xzr, [x29, 632] add x0, x29, 512 ldp x2, x3, [x0, 112] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 1064] ldr x4, [x29, 1064] orr x0, x0, x4 str x0, [x29, 1064] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 1056] sxtw x0, w1 str x0, [x29, 608] str xzr, [x29, 616] add x0, x29, 512 ldp x2, x3, [x0, 96] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 1048] ldr x4, [x29, 1048] orr x0, x0, x4 str x0, [x29, 1048] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 1040] sxtw x0, w1 lsl x0, x0, 3 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L6: cmp sp, x0 beq .L7 sub sp, sp, #65536 str xzr, [sp, 1024] b .L6 .L7: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L8 str xzr, [sp, 1024] .L8: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 1424] ldr w4, [x29, 1312] sxtw x0, w4 sub x0, x0, #1 str x0, [x29, 1432] sxtw x0, w4 str x0, [x29, 592] str xzr, [x29, 600] add x0, x29, 512 ldp x2, x3, [x0, 80] mov x0, x2 lsr x0, x0, 58 mov x1, x3 lsl x1, x1, 6 str x1, [x29, 1032] ldr x1, [x29, 1032] orr x0, x0, x1 str x0, [x29, 1032] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 1024] sxtw x0, w4 lsl x0, x0, 3 str x0, [x29, 152] sxtw x0, w4 str x0, [x29, 576] str xzr, [x29, 584] mov x0, 46464 mov x1, 0 add x2, x29, 512 ldp x6, x7, [x2, 64] mov x2, x6 mul x3, x2, x0 mov x2, x6 umulh x2, x2, x0 mov x5, x7 madd x2, x5, x0, x2 mov x5, x6 madd x2, x5, x1, x2 str x3, [x29, 128] str x2, [x29, 136] sxtw x0, w4 mov x22, x0 mov x23, 0 mov x0, 46464 mov x1, 0 mul x3, x22, x0 umulh x2, x22, x0 madd x2, x23, x0, x2 madd x2, x22, x1, x2 str x3, [x29, 112] str x2, [x29, 120] sxtw x1, w4 mov x0, 5808 mul x0, x1, x0 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L9: cmp sp, x0 beq .L10 sub sp, sp, #65536 str xzr, [sp, 1024] b .L9 .L10: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L11 str xzr, [sp, 1024] .L11: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 1440] ldr w4, [x29, 1312] sxtw x0, w4 sub x0, x0, #1 str x0, [x29, 1448] sxtw x0, w4 str x0, [x29, 560] str xzr, [x29, 568] add x0, x29, 512 ldp x2, x3, [x0, 48] mov x0, x2 lsr x0, x0, 58 mov x1, x3 lsl x1, x1, 6 str x1, [x29, 1016] ldr x1, [x29, 1016] orr x0, x0, x1 str x0, [x29, 1016] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 1008] sxtw x0, w4 lsl x0, x0, 3 str x0, [x29, 144] sxtw x0, w4 str x0, [x29, 544] str xzr, [x29, 552] add x0, x29, 512 ldp x6, x7, [x0, 32] mov x0, x6 mov x1, x7 lsr x2, x0, 62 lsl x3, x1, 2 str x3, [x29, 1208] ldr x3, [x29, 1208] orr x2, x2, x3 str x2, [x29, 1208] lsl x0, x0, 2 str x0, [x29, 1200] add x0, x29, 1024 ldp x0, x1, [x0, 176] mov x2, x6 adds x3, x0, x2 mov x2, x7 adc x0, x1, x2 str x3, [x29, 736] str x0, [x29, 744] add x0, x29, 512 ldp x2, x3, [x0, 224] mov x0, x2 lsr x0, x0, 57 mov x1, x3 lsl x1, x1, 7 str x1, [x29, 1192] ldr x1, [x29, 1192] orr x0, x0, x1 str x0, [x29, 1192] mov x0, x2 lsl x0, x0, 7 str x0, [x29, 1184] add x0, x29, 1024 ldp x0, x1, [x0, 160] add x2, x29, 512 stp x0, x1, [x2, 224] sxtw x0, w4 str x0, [x29, 528] str xzr, [x29, 536] add x0, x29, 512 ldp x6, x7, [x0, 16] mov x0, x6 mov x1, x7 lsr x2, x0, 62 lsl x3, x1, 2 str x3, [x29, 1176] ldr x3, [x29, 1176] orr x2, x2, x3 str x2, [x29, 1176] lsl x0, x0, 2 str x0, [x29, 1168] add x0, x29, 1024 ldp x0, x1, [x0, 144] mov x2, x6 adds x3, x0, x2 mov x2, x7 adc x0, x1, x2 str x3, [x29, 720] str x0, [x29, 728] add x0, x29, 512 ldp x2, x3, [x0, 208] mov x0, x2 lsr x0, x0, 57 mov x1, x3 lsl x1, x1, 7 str x1, [x29, 1160] ldr x1, [x29, 1160] orr x0, x0, x1 str x0, [x29, 1160] mov x0, x2 lsl x0, x0, 7 str x0, [x29, 1152] add x0, x29, 1024 ldp x0, x1, [x0, 128] add x2, x29, 512 stp x0, x1, [x2, 208] sxtw x1, w4 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L12: cmp sp, x0 beq .L13 sub sp, sp, #65536 str xzr, [sp, 1024] b .L12 .L13: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L14 str xzr, [sp, 1024] .L14: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 1456] ldr w1, [x29, 1312] sxtw x0, w1 sub x0, x0, #1 str x0, [x29, 1464] sxtw x0, w1 str x0, [x29, 512] str xzr, [x29, 520] add x0, x29, 512 ldp x2, x3, [x0] mov x0, x2 lsr x0, x0, 61 mov x4, x3 lsl x4, x4, 3 str x4, [x29, 1000] ldr x4, [x29, 1000] orr x0, x0, x4 str x0, [x29, 1000] mov x0, x2 lsl x0, x0, 3 str x0, [x29, 992] sxtw x0, w1 str x0, [x29, 496] str xzr, [x29, 504] ldp x2, x3, [x29, 496] mov x0, x2 lsr x0, x0, 61 mov x4, x3 lsl x4, x4, 3 str x4, [x29, 984] ldr x4, [x29, 984] orr x0, x0, x4 str x0, [x29, 984] mov x0, x2 lsl x0, x0, 3 str x0, [x29, 976] sxtw x0, w1 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L15: cmp sp, x0 beq .L16 sub sp, sp, #65536 str xzr, [sp, 1024] b .L15 .L16: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L17 str xzr, [sp, 1024] .L17: add x0, sp, 16 add x0, x0, 0 str x0, [x29, 1472] ldr w1, [x29, 1312] sxtw x0, w1 sub x0, x0, #1 str x0, [x29, 1480] sxtw x0, w1 str x0, [x29, 480] str xzr, [x29, 488] ldp x2, x3, [x29, 480] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 968] ldr x4, [x29, 968] orr x0, x0, x4 str x0, [x29, 968] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 960] sxtw x0, w1 str x0, [x29, 464] str xzr, [x29, 472] ldp x2, x3, [x29, 464] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 952] ldr x4, [x29, 952] orr x0, x0, x4 str x0, [x29, 952] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 944] sxtw x0, w1 lsl x0, x0, 3 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L18: cmp sp, x0 beq .L19 sub sp, sp, #65536 str xzr, [sp, 1024] b .L18 .L19: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L20 str xzr, [sp, 1024] .L20: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 1488] ldr w1, [x29, 1312] sxtw x0, w1 sub x0, x0, #1 str x0, [x29, 1496] sxtw x0, w1 str x0, [x29, 448] str xzr, [x29, 456] ldp x2, x3, [x29, 448] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 936] ldr x4, [x29, 936] orr x0, x0, x4 str x0, [x29, 936] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 928] sxtw x0, w1 str x0, [x29, 432] str xzr, [x29, 440] ldp x2, x3, [x29, 432] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 920] ldr x4, [x29, 920] orr x0, x0, x4 str x0, [x29, 920] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 912] sxtw x0, w1 lsl x0, x0, 3 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L21: cmp sp, x0 beq .L22 sub sp, sp, #65536 str xzr, [sp, 1024] b .L21 .L22: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L23 str xzr, [sp, 1024] .L23: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 1504] ldr w1, [x29, 1312] sxtw x0, w1 sub x0, x0, #1 str x0, [x29, 1512] sxtw x0, w1 str x0, [x29, 416] str xzr, [x29, 424] ldp x2, x3, [x29, 416] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 904] ldr x4, [x29, 904] orr x0, x0, x4 str x0, [x29, 904] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 896] sxtw x0, w1 str x0, [x29, 400] str xzr, [x29, 408] ldp x2, x3, [x29, 400] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 888] ldr x4, [x29, 888] orr x0, x0, x4 str x0, [x29, 888] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 880] sxtw x0, w1 lsl x0, x0, 3 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L24: cmp sp, x0 beq .L25 sub sp, sp, #65536 str xzr, [sp, 1024] b .L24 .L25: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L26 str xzr, [sp, 1024] .L26: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 1520] ldr w0, [x29, 1312] mul w1, w0, w0 sxtw x0, w1 sub x0, x0, #1 str x0, [x29, 1528] sxtw x0, w1 str x0, [x29, 384] str xzr, [x29, 392] ldp x2, x3, [x29, 384] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 872] ldr x4, [x29, 872] orr x0, x0, x4 str x0, [x29, 872] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 864] sxtw x0, w1 str x0, [x29, 368] str xzr, [x29, 376] ldp x2, x3, [x29, 368] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 856] ldr x4, [x29, 856] orr x0, x0, x4 str x0, [x29, 856] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 848] sxtw x0, w1 lsl x0, x0, 3 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L27: cmp sp, x0 beq .L28 sub sp, sp, #65536 str xzr, [sp, 1024] b .L27 .L28: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L29 str xzr, [sp, 1024] .L29: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 1536] ldr w2, [x29, 1312] ldr w3, [x29, 1312] sxtw x0, w2 sub x0, x0, #1 str x0, [x29, 1544] sxtw x0, w2 str x0, [x29, 352] str xzr, [x29, 360] ldp x4, x5, [x29, 352] mov x0, x4 lsr x0, x0, 58 mov x1, x5 lsl x1, x1, 6 str x1, [x29, 840] ldr x1, [x29, 840] orr x0, x0, x1 str x0, [x29, 840] mov x0, x4 lsl x0, x0, 6 str x0, [x29, 832] sxtw x0, w3 sub x0, x0, #1 str x0, [x29, 1552] sxtw x0, w2 str x0, [x29, 336] str xzr, [x29, 344] sxtw x0, w3 str x0, [x29, 320] str xzr, [x29, 328] ldp x6, x7, [x29, 336] mov x0, x6 ldp x4, x5, [x29, 320] mov x1, x4 mul x1, x0, x1 mov x0, x6 mov x8, x4 umulh x0, x0, x8 mov x8, x7 mov x9, x4 madd x0, x8, x9, x0 mov x4, x5 madd x0, x6, x4, x0 str x1, [x29, 304] str x0, [x29, 312] ldp x4, x5, [x29, 304] mov x0, x4 lsr x0, x0, 58 mov x1, x5 lsl x1, x1, 6 str x1, [x29, 824] ldr x1, [x29, 824] orr x0, x0, x1 str x0, [x29, 824] mov x0, x4 lsl x0, x0, 6 str x0, [x29, 816] sxtw x0, w2 mov x26, x0 mov x27, 0 sxtw x0, w3 mov x24, x0 mov x25, 0 mul x1, x26, x24 umulh x0, x26, x24 madd x0, x27, x24, x0 madd x0, x26, x25, x0 str x1, [x29, 288] str x0, [x29, 296] ldp x4, x5, [x29, 288] mov x0, x4 lsr x0, x0, 58 mov x1, x5 lsl x1, x1, 6 str x1, [x29, 808] ldr x1, [x29, 808] orr x0, x0, x1 str x0, [x29, 808] mov x0, x4 lsl x0, x0, 6 str x0, [x29, 800] sxtw x1, w2 sxtw x0, w3 mul x0, x1, x0 lsl x0, x0, 3 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L30: cmp sp, x0 beq .L31 sub sp, sp, #65536 str xzr, [sp, 1024] b .L30 .L31: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L32 str xzr, [sp, 1024] .L32: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 1560] ldr w1, [x29, 1312] sxtw x0, w1 sub x0, x0, #1 str x0, [x29, 1568] sxtw x0, w1 str x0, [x29, 272] str xzr, [x29, 280] ldp x2, x3, [x29, 272] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 792] ldr x4, [x29, 792] orr x0, x0, x4 str x0, [x29, 792] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 784] sxtw x0, w1 str x0, [x29, 256] str xzr, [x29, 264] ldp x2, x3, [x29, 256] mov x0, x2 lsr x0, x0, 58 mov x4, x3 lsl x4, x4, 6 str x4, [x29, 776] ldr x4, [x29, 776] orr x0, x0, x4 str x0, [x29, 776] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 768] sxtw x0, w1 lsl x0, x0, 3 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L33: cmp sp, x0 beq .L34 sub sp, sp, #65536 str xzr, [sp, 1024] b .L33 .L34: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L35 str xzr, [sp, 1024] .L35: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 1576] ldr w0, [x29, 1312] mul w4, w0, w0 sxtw x0, w4 sub x0, x0, #1 str x0, [x29, 1584] sxtw x0, w4 str x0, [x29, 240] str xzr, [x29, 248] ldp x2, x3, [x29, 240] mov x0, x2 lsr x0, x0, 58 mov x1, x3 lsl x1, x1, 6 str x1, [x29, 760] ldr x1, [x29, 760] orr x0, x0, x1 str x0, [x29, 760] mov x0, x2 lsl x0, x0, 6 str x0, [x29, 752] sxtw x0, w4 lsl x0, x0, 3 str x0, [x29, 104] sxtw x0, w4 str x0, [x29, 224] str xzr, [x29, 232] ldp x6, x7, [x29, 224] mov x0, x6 mov x1, x7 lsr x2, x0, 62 lsl x3, x1, 2 str x3, [x29, 1144] ldr x3, [x29, 1144] orr x2, x2, x3 str x2, [x29, 1144] lsl x0, x0, 2 str x0, [x29, 1136] add x0, x29, 1024 ldp x0, x1, [x0, 112] mov x2, x6 adds x3, x0, x2 mov x2, x7 adc x0, x1, x2 str x3, [x29, 704] str x0, [x29, 712] add x0, x29, 512 ldp x2, x3, [x0, 192] mov x0, x2 lsr x0, x0, 57 mov x1, x3 lsl x1, x1, 7 str x1, [x29, 1128] ldr x1, [x29, 1128] orr x0, x0, x1 str x0, [x29, 1128] mov x0, x2 lsl x0, x0, 7 str x0, [x29, 1120] add x0, x29, 1024 ldp x0, x1, [x0, 96] add x2, x29, 512 stp x0, x1, [x2, 192] sxtw x0, w4 str x0, [x29, 208] str xzr, [x29, 216] ldp x6, x7, [x29, 208] mov x0, x6 mov x1, x7 lsr x2, x0, 62 lsl x3, x1, 2 str x3, [x29, 1112] ldr x3, [x29, 1112] orr x2, x2, x3 str x2, [x29, 1112] lsl x0, x0, 2 str x0, [x29, 1104] add x0, x29, 1024 ldp x0, x1, [x0, 80] mov x2, x6 adds x3, x0, x2 mov x2, x7 adc x0, x1, x2 str x3, [x29, 688] str x0, [x29, 696] add x0, x29, 512 ldp x2, x3, [x0, 176] mov x0, x2 lsr x0, x0, 57 mov x1, x3 lsl x1, x1, 7 str x1, [x29, 1096] ldr x1, [x29, 1096] orr x0, x0, x1 str x0, [x29, 1096] mov x0, x2 lsl x0, x0, 7 str x0, [x29, 1088] add x0, x29, 1024 ldp x0, x1, [x0, 64] add x2, x29, 512 stp x0, x1, [x2, 176] sxtw x1, w4 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 4 add x0, x0, 15 lsr x0, x0, 4 lsl x1, x0, 4 and x0, x1, -65536 sub x0, sp, x0 .L36: cmp sp, x0 beq .L37 sub sp, sp, #65536 str xzr, [sp, 1024] b .L36 .L37: and x0, x1, 65535 sub sp, sp, x0 str xzr, [sp] and x0, x1, 65535 cmp x0, 1024 bcc .L38 str xzr, [sp, 1024] .L38: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 1592] ldr w1, [x29, 1280] adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl printf str wzr, [x29, 1292] str wzr, [x29, 1248] b .L39 .L46: str wzr, [x29, 1284] str wzr, [x29, 1264] b .L40 .L45: str wzr, [x29, 1252] b .L41 .L44: add x2, x29, 1776 ldrsw x1, [x29, 1264] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 add x3, x2, x0 add x2, x29, 1776 ldrsw x1, [x29, 1264] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 add x0, x2, x0 add x8, x29, 24576 add x8, x8, 848 ldr w7, [x29, 1252] ldr w6, [x29, 1248] mov x5, x0 ldr w4, [x29, 1280] adrp x0, .LC8 add x2, x0, :lo12:.LC8 adrp x0, .LC9 add x1, x0, :lo12:.LC9 mov x0, x8 bl sprintf add x3, x29, 1244 add x2, x29, 1240 add x1, x29, 24576 add x1, x1, 848 add x0, x29, 4096 add x0, x0, 1328 bl read_pgm ldr w0, [x29, 1240] cmp w0, 100 bne .L42 ldr w0, [x29, 1244] cmp w0, 100 beq .L43 .L42: adrp x0, .LC10 add x0, x0, :lo12:.LC10 bl error1 .L43: ldr w1, [x29, 1244] ldr w0, [x29, 1240] mul w2, w1, w0 add x1, x29, 4096 add x1, x1, 1328 add x0, x29, 4096 add x0, x0, 1328 bl hanten ldr w1, [x29, 1240] ldr w0, [x29, 1244] mul w0, w1, w0 add x2, x29, 4096 add x2, x2, 1328 mov w1, w0 fmov d0, 2.0e+1 mov x0, x2 bl average_adjustment ldrsw x0, [x29, 1284] mul x1, x0, x28 ldrsw x0, [x29, 1248] mul x0, x0, x19 add x1, x1, x0 ldr x0, [x29, 1408] add x7, x0, x1 ldr w2, [x29, 1244] ldr w0, [x29, 1240] add x1, x29, 4096 add x1, x1, 1328 mov w6, 15 mov w5, w0 mov w4, w2 mov x3, x1 ldr w2, [x29, 1308] ldr w1, [x29, 1304] mov x0, x7 bl shukushou ldr w0, [x29, 1284] add w0, w0, 1 str w0, [x29, 1284] ldr w0, [x29, 1292] add w0, w0, 1 str w0, [x29, 1292] ldr w0, [x29, 1252] add w0, w0, 1 str w0, [x29, 1252] .L41: ldr w0, [x29, 1252] cmp w0, 5 ble .L44 ldr w0, [x29, 1264] add w0, w0, 1 str w0, [x29, 1264] .L40: ldr w1, [x29, 1264] ldr w0, [x29, 1316] cmp w1, w0 blt .L45 ldr w0, [x29, 1248] add w0, w0, 1 str w0, [x29, 1248] .L39: ldr w0, [x29, 1248] cmp w0, 9 ble .L46 ldr w5, [x29, 1312] ldr w4, [x29, 1284] mov w3, 10 ldr x2, [x29, 1408] ldr x1, [x29, 1536] ldr x0, [x29, 1520] bl calc_av_and_cvmat ldr w3, [x29, 1312] ldr x2, [x29, 1576] ldr x1, [x29, 1536] ldr x0, [x29, 1560] bl calc_eigen_vector str wzr, [x29, 1296] str wzr, [x29, 1248] b .L47 .L54: str wzr, [x29, 1288] str wzr, [x29, 1264] b .L48 .L53: str wzr, [x29, 1252] b .L49 .L52: add x2, x29, 2992 ldrsw x1, [x29, 1264] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 add x3, x2, x0 add x2, x29, 2992 ldrsw x1, [x29, 1264] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 add x2, x2, x0 adrp x0, sample_tch add x1, x0, :lo12:sample_tch ldrsw x0, [x29, 1252] ldr w0, [x1, x0, lsl 2] add x8, x29, 24576 add x8, x8, 848 mov w7, w0 ldr w6, [x29, 1248] mov x5, x2 ldr w4, [x29, 1280] adrp x0, .LC8 add x2, x0, :lo12:.LC8 adrp x0, .LC9 add x1, x0, :lo12:.LC9 mov x0, x8 bl sprintf add x3, x29, 1244 add x2, x29, 1240 add x1, x29, 24576 add x1, x1, 848 add x0, x29, 4096 add x0, x0, 1328 bl read_pgm ldr w0, [x29, 1240] cmp w0, 100 bne .L50 ldr w0, [x29, 1244] cmp w0, 100 beq .L51 .L50: adrp x0, .LC10 add x0, x0, :lo12:.LC10 bl error1 .L51: ldr w1, [x29, 1244] ldr w0, [x29, 1240] mul w2, w1, w0 add x1, x29, 4096 add x1, x1, 1328 add x0, x29, 4096 add x0, x0, 1328 bl hanten ldr w1, [x29, 1240] ldr w0, [x29, 1244] mul w0, w1, w0 add x2, x29, 4096 add x2, x2, 1328 mov w1, w0 fmov d0, 2.0e+1 mov x0, x2 bl average_adjustment ldrsw x0, [x29, 1288] mul x1, x0, x28 ldrsw x0, [x29, 1248] mul x0, x0, x19 add x1, x1, x0 ldr x0, [x29, 1408] add x7, x0, x1 ldr w2, [x29, 1244] ldr w0, [x29, 1240] add x1, x29, 4096 add x1, x1, 1328 mov w6, 15 mov w5, w0 mov w4, w2 mov x3, x1 ldr w2, [x29, 1308] ldr w1, [x29, 1304] mov x0, x7 bl shukushou ldr w0, [x29, 1288] add w0, w0, 1 str w0, [x29, 1288] ldr w0, [x29, 1296] add w0, w0, 1 str w0, [x29, 1296] ldr w0, [x29, 1252] add w0, w0, 1 str w0, [x29, 1252] .L49: adrp x0, n_sample_tch add x0, x0, :lo12:n_sample_tch ldr w1, [x0] ldr w0, [x29, 1252] cmp w0, w1 blt .L52 ldr w0, [x29, 1264] add w0, w0, 1 str w0, [x29, 1264] .L48: ldr w1, [x29, 1264] ldr w0, [x29, 1320] cmp w1, w0 blt .L53 ldr w0, [x29, 1248] add w0, w0, 1 str w0, [x29, 1248] .L47: ldr w0, [x29, 1248] cmp w0, 9 ble .L54 mov w0, 24 str w0, [x29, 1300] b .L55 .L88: ldr w2, [x29, 1300] ldr w1, [x29, 1312] ldr x0, [x29, 1576] bl calc_chujitudo ldr w1, [x29, 1300] adrp x0, .LC11 add x0, x0, :lo12:.LC11 bl printf str wzr, [x29, 1248] b .L56 .L63: str wzr, [x29, 1260] b .L57 .L60: str wzr, [x29, 1256] b .L58 .L59: ldr x4, [x29, 1408] ldrsw x3, [x29, 1256] ldrsw x0, [x29, 1248] mul x2, x0, x19 ldrsw x0, [x29, 1260] mul x1, x0, x28 add x0, x4, x3 add x0, x0, x2 add x0, x0, x1 ldrb w0, [x0] ucvtf d0, w0 ldr x1, [x29, 1424] ldrsw x0, [x29, 1256] str d0, [x1, x0, lsl 3] ldr w0, [x29, 1256] add w0, w0, 1 str w0, [x29, 1256] .L58: ldr w1, [x29, 1256] ldr w0, [x29, 1312] cmp w1, w0 blt .L59 ldr x0, [x29, 152] lsr x1, x0, 3 ldrsw x0, [x29, 1260] mul x0, x0, x1 lsl x1, x0, 3 ldr x0, [x29, 1440] add x0, x0, x1 ldr w4, [x29, 1312] ldr x3, [x29, 1560] ldr x2, [x29, 1424] ldr w1, [x29, 1312] bl calc_kl_component ldr w0, [x29, 1260] add w0, w0, 1 str w0, [x29, 1260] .L57: ldr w1, [x29, 1260] ldr w0, [x29, 1288] cmp w1, w0 blt .L60 ldr x0, [x29, 144] lsr x1, x0, 3 ldrsw x0, [x29, 1248] mul x0, x0, x1 lsl x1, x0, 3 ldr x0, [x29, 1456] add x0, x0, x1 ldr w5, [x29, 1312] ldr w4, [x29, 1300] ldr w3, [x29, 1288] ldr x2, [x29, 1440] ldr x1, [x29, 1536] bl calc_av_and_cvmat_double ldr x0, [x29, 104] lsr x1, x0, 3 ldrsw x0, [x29, 1248] mul x0, x0, x1 lsl x1, x0, 3 ldr x0, [x29, 1592] add x0, x0, x1 ldr w2, [x29, 1300] ldr x1, [x29, 1536] bl calc_gyakugyouretu ldrsw x0, [x29, 1248] lsl x1, x0, 3 add x0, x29, 1616 str d0, [x0, x1] ldrsw x0, [x29, 1248] lsl x1, x0, 3 add x0, x29, 1616 ldr d0, [x0, x1] adrp x0, .LC22 ldr d1, [x0, #:lo12:.LC22] fcmpe d0, d1 bls .L92 b .L61 .L92: ldr w1, [x29, 1248] adrp x0, .LC12 add x0, x0, :lo12:.LC12 bl printf adrp x0, .LC13 add x0, x0, :lo12:.LC13 bl error1 .L61: ldrsw x0, [x29, 1248] lsl x1, x0, 3 add x0, x29, 1616 ldr d0, [x0, x1] bl log ldrsw x0, [x29, 1248] lsl x1, x0, 3 add x0, x29, 1696 str d0, [x0, x1] ldr w0, [x29, 1248] add w0, w0, 1 str w0, [x29, 1248] .L56: ldr w0, [x29, 1248] cmp w0, 9 ble .L63 fmov d0, -1.0e+0 str d0, [x29, 1384] mov x0, 70368744177664 movk x0, 0x4059, lsl 48 fmov d0, x0 str d0, [x29, 1392] str xzr, [x29, 1376] str xzr, [x29, 1368] str wzr, [x29, 1264] b .L64 .L87: str xzr, [x29, 1360] str xzr, [x29, 1352] str wzr, [x29, 1248] b .L65 .L82: ldr w1, [x29, 1248] adrp x0, .LC14 add x0, x0, :lo12:.LC14 bl printf str xzr, [x29, 1344] str xzr, [x29, 1336] str wzr, [x29, 1252] b .L66 .L81: str wzr, [x29, 1252] b .L67 .L80: add x2, x29, 4096 add x2, x2, 112 ldrsw x1, [x29, 1264] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 add x3, x2, x0 add x2, x29, 4096 add x2, x2, 112 ldrsw x1, [x29, 1264] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 add x2, x2, x0 adrp x0, sample_test add x1, x0, :lo12:sample_test ldrsw x0, [x29, 1252] ldr w0, [x1, x0, lsl 2] add x8, x29, 24576 add x8, x8, 848 mov w7, w0 ldr w6, [x29, 1248] mov x5, x2 ldr w4, [x29, 1280] adrp x0, .LC8 add x2, x0, :lo12:.LC8 adrp x0, .LC9 add x1, x0, :lo12:.LC9 mov x0, x8 bl sprintf add x3, x29, 1244 add x2, x29, 1240 add x1, x29, 24576 add x1, x1, 848 add x0, x29, 12288 add x0, x0, 3136 bl read_pgm ldr w0, [x29, 1240] cmp w0, 100 bne .L68 ldr w0, [x29, 1244] cmp w0, 100 beq .L69 .L68: adrp x0, .LC10 add x0, x0, :lo12:.LC10 bl error1 .L69: ldr w1, [x29, 1244] ldr w0, [x29, 1240] mul w2, w1, w0 add x1, x29, 12288 add x1, x1, 3136 add x0, x29, 12288 add x0, x0, 3136 bl hanten ldr w1, [x29, 1240] ldr w0, [x29, 1244] mul w0, w1, w0 add x2, x29, 12288 add x2, x2, 3136 mov w1, w0 fmov d0, 2.0e+1 mov x0, x2 bl average_adjustment ldr w2, [x29, 1244] ldr w0, [x29, 1240] add x1, x29, 12288 add x1, x1, 3136 mov w6, 15 mov w5, w0 mov w4, w2 mov x3, x1 ldr w2, [x29, 1308] ldr w1, [x29, 1304] ldr x0, [x29, 1472] bl shukushou str wzr, [x29, 1260] b .L70 .L71: ldr x1, [x29, 1472] ldrsw x0, [x29, 1260] ldrb w0, [x1, x0] ucvtf d0, w0 ldr x1, [x29, 1488] ldrsw x0, [x29, 1260] str d0, [x1, x0, lsl 3] ldr w0, [x29, 1260] add w0, w0, 1 str w0, [x29, 1260] .L70: ldr w1, [x29, 1260] ldr w0, [x29, 1312] cmp w1, w0 blt .L71 ldr w4, [x29, 1312] ldr x3, [x29, 1560] ldr x2, [x29, 1488] ldr w1, [x29, 1300] ldr x0, [x29, 1504] bl calc_kl_component adrp x0, .LC23 ldr d0, [x0, #:lo12:.LC23] str d0, [x29, 1328] str wzr, [x29, 1256] b .L72 .L75: ldr d1, [x29, 1608] ldr d0, [x29, 1328] fcmpe d1, d0 bgt .L93 b .L73 .L93: ldr d0, [x29, 1608] str d0, [x29, 1328] ldr w0, [x29, 1256] str w0, [x29, 1268] .L73: ldr w0, [x29, 1256] add w0, w0, 1 str w0, [x29, 1256] .L72: ldr w0, [x29, 1256] cmp w0, 9 ble .L75 ldr w1, [x29, 1268] ldr w0, [x29, 1248] cmp w1, w0 bne .L76 adrp x0, .LC15 add x0, x0, :lo12:.LC15 bl printf ldr x0, [x29, 1344] add x0, x0, 1 str x0, [x29, 1344] b .L77 .L76: ldr w1, [x29, 1268] adrp x0, .LC16 add x0, x0, :lo12:.LC16 bl printf .L77: ldr x0, [x29, 1336] add x0, x0, 1 str x0, [x29, 1336] ldr w1, [x29, 1248] lsr w0, w1, 31 add w0, w0, w1 asr w0, w0, 1 mov w2, w0 ldr w0, [x29, 1248] add w1, w0, 1 lsr w0, w1, 31 add w0, w0, w1 asr w0, w0, 1 cmp w2, w0 beq .L78 mov w1, 6 b .L79 .L78: mov w1, 1 .L79: ldr w0, [x29, 1252] add w0, w0, w1 str w0, [x29, 1252] .L67: adrp x0, n_sample_test add x0, x0, :lo12:n_sample_test ldr w1, [x0] ldr w0, [x29, 1252] cmp w0, w1 blt .L80 ldr w0, [x29, 1252] add w0, w0, 1 str w0, [x29, 1252] .L66: adrp x0, n_sample_test add x0, x0, :lo12:n_sample_test ldr w1, [x0] ldr w0, [x29, 1252] cmp w0, w1 blt .L81 ldr d0, [x29, 1344] scvtf d1, d0 ldr d0, [x29, 1336] scvtf d0, d0 fdiv d0, d1, d0 mov x0, 4636737291354636288 fmov d1, x0 fmul d0, d0, d1 ldr x2, [x29, 1336] ldr x1, [x29, 1344] adrp x0, .LC17 add x0, x0, :lo12:.LC17 bl printf ldr x1, [x29, 1360] ldr x0, [x29, 1344] add x0, x1, x0 str x0, [x29, 1360] ldr x1, [x29, 1352] ldr x0, [x29, 1336] add x0, x1, x0 str x0, [x29, 1352] ldr w0, [x29, 1248] add w0, w0, 1 str w0, [x29, 1248] .L65: ldr w0, [x29, 1248] cmp w0, 9 ble .L82 ldr d0, [x29, 1360] scvtf d1, d0 ldr d0, [x29, 1352] scvtf d0, d0 fdiv d0, d1, d0 mov x0, 4636737291354636288 fmov d1, x0 fmul d0, d0, d1 str d0, [x29, 1600] add x2, x29, 4096 add x2, x2, 112 ldrsw x1, [x29, 1264] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 add x0, x2, x0 ldr d0, [x29, 1600] ldr x3, [x29, 1352] ldr x2, [x29, 1360] mov x1, x0 adrp x0, .LC18 add x0, x0, :lo12:.LC18 bl printf ldr d1, [x29, 1600] ldr d0, [x29, 1384] fcmpe d1, d0 bgt .L94 b .L83 .L94: ldr d0, [x29, 1600] str d0, [x29, 1384] ldr w0, [x29, 1264] str w0, [x29, 1272] .L83: ldr d1, [x29, 1600] ldr d0, [x29, 1392] fcmpe d1, d0 bmi .L95 b .L85 .L95: ldr d0, [x29, 1600] str d0, [x29, 1392] ldr w0, [x29, 1264] str w0, [x29, 1276] .L85: ldr x1, [x29, 1376] ldr x0, [x29, 1360] add x0, x1, x0 str x0, [x29, 1376] ldr x1, [x29, 1368] ldr x0, [x29, 1352] add x0, x1, x0 str x0, [x29, 1368] ldr w0, [x29, 1264] add w0, w0, 1 str w0, [x29, 1264] .L64: ldr w1, [x29, 1264] ldr w0, [x29, 1324] cmp w1, w0 blt .L87 ldr d0, [x29, 1376] scvtf d1, d0 ldr d0, [x29, 1368] scvtf d0, d0 fdiv d0, d1, d0 mov x0, 4636737291354636288 fmov d1, x0 fmul d0, d0, d1 adrp x0, .LC19 add x0, x0, :lo12:.LC19 bl printf add x2, x29, 4096 add x2, x2, 112 ldrsw x1, [x29, 1272] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 add x0, x2, x0 ldr d0, [x29, 1384] mov x1, x0 adrp x0, .LC20 add x0, x0, :lo12:.LC20 bl printf add x2, x29, 4096 add x2, x2, 112 ldrsw x1, [x29, 1276] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 add x0, x2, x0 ldr d0, [x29, 1392] mov x1, x0 adrp x0, .LC21 add x0, x0, :lo12:.LC21 bl printf ldr w0, [x29, 1300] add w0, w0, 1 str w0, [x29, 1300] .L55: ldr w0, [x29, 1300] cmp w0, 24 ble .L88 ldr x0, [x29, 96] mov sp, x0 ldr w0, [x29, 1280] add w0, w0, 1 str w0, [x29, 1280] .L2: ldr w0, [x29, 1280] cmp w0, 6 ble .L89 mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [x29, 25624] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L91 bl __stack_chk_fail .L91: mov w0, w1 sub sp, x29, #16 .cfi_def_cfa 31, 25648 ldp x19, x20, [sp, 32] ldp x21, x22, [sp, 48] ldp x23, x24, [sp, 64] ldp x25, x26, [sp, 80] ldp x27, x28, [sp, 96] ldp x29, x30, [sp, 16] mov x12, 25648 add sp, sp, x12 .cfi_restore 29 .cfi_restore 30 .cfi_restore 27 .cfi_restore 28 .cfi_restore 25 .cfi_restore 26 .cfi_restore 23 .cfi_restore 24 .cfi_restore 21 .cfi_restore 22 .cfi_restore 19 .cfi_restore 20 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size main, .-main .align 2 .global calc_mahalanobis2 .type calc_mahalanobis2, %function calc_mahalanobis2: .LFB7: .cfi_startproc sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, 24] str x1, [sp, 16] str x2, [sp, 8] str w3, [sp, 4] str xzr, [sp, 48] str wzr, [sp, 40] b .L97 .L100: str xzr, [sp, 56] str wzr, [sp, 44] b .L98 .L99: ldr w1, [sp, 40] ldr w0, [sp, 4] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 44] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 8] add x0, x1, x0 ldr d1, [x0] ldrsw x0, [sp, 44] lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d2, [x0] ldrsw x0, [sp, 44] lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr d0, [x0] fsub d0, d2, d0 fmul d0, d1, d0 ldr d1, [sp, 56] fadd d0, d1, d0 str d0, [sp, 56] ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L98: ldr w1, [sp, 44] ldr w0, [sp, 4] cmp w1, w0 blt .L99 ldrsw x0, [sp, 40] lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d1, [x0] ldrsw x0, [sp, 40] lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr d0, [x0] fsub d1, d1, d0 ldr d0, [sp, 56] fmul d0, d1, d0 ldr d1, [sp, 48] fadd d0, d1, d0 str d0, [sp, 48] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L97: ldr w1, [sp, 40] ldr w0, [sp, 4] cmp w1, w0 blt .L100 ldr d0, [sp, 48] add sp, sp, 64 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size calc_mahalanobis2, .-calc_mahalanobis2 .align 2 .global calc_av_and_cvmat .type calc_av_and_cvmat, %function calc_av_and_cvmat: .LFB8: .cfi_startproc sub sp, sp, #80 .cfi_def_cfa_offset 80 str x0, [sp, 40] str x1, [sp, 32] str x2, [sp, 24] str w3, [sp, 20] str w4, [sp, 16] str w5, [sp, 12] ldr w1, [sp, 20] ldr w0, [sp, 16] mul w0, w1, w0 str w0, [sp, 76] str wzr, [sp, 64] b .L103 .L104: ldrsw x0, [sp, 64] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 str xzr, [x0] ldr w0, [sp, 64] add w0, w0, 1 str w0, [sp, 64] .L103: ldr w1, [sp, 64] ldr w0, [sp, 12] cmp w1, w0 blt .L104 str wzr, [sp, 56] b .L105 .L110: str wzr, [sp, 60] b .L106 .L109: str wzr, [sp, 64] b .L107 .L108: ldrsw x0, [sp, 64] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d1, [x0] ldr w1, [sp, 56] mov w0, 726 mul w1, w1, w0 ldr w0, [sp, 60] add w1, w1, w0 ldr w0, [sp, 12] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 64] add x0, x1, x0 ldr x1, [sp, 24] add x0, x1, x0 ldrb w0, [x0] scvtf d0, w0 ldrsw x0, [sp, 64] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w0, [sp, 64] add w0, w0, 1 str w0, [sp, 64] .L107: ldr w1, [sp, 64] ldr w0, [sp, 12] cmp w1, w0 blt .L108 ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L106: ldr w1, [sp, 60] ldr w0, [sp, 16] cmp w1, w0 blt .L109 ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L105: ldr w0, [sp, 56] cmp w0, 9 ble .L110 str wzr, [sp, 64] b .L111 .L112: ldrsw x0, [sp, 64] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d1, [x0] ldr w0, [sp, 76] scvtf d0, w0 ldrsw x0, [sp, 64] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 fdiv d0, d1, d0 str d0, [x0] ldr w0, [sp, 64] add w0, w0, 1 str w0, [sp, 64] .L111: ldr w1, [sp, 64] ldr w0, [sp, 12] cmp w1, w0 blt .L112 str wzr, [sp, 68] b .L113 .L116: str wzr, [sp, 72] b .L114 .L115: ldr w1, [sp, 68] ldr w0, [sp, 12] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 32] add x0, x1, x0 str xzr, [x0] ldr w0, [sp, 72] add w0, w0, 1 str w0, [sp, 72] .L114: ldr w1, [sp, 72] ldr w0, [sp, 12] cmp w1, w0 blt .L115 ldr w0, [sp, 68] add w0, w0, 1 str w0, [sp, 68] .L113: ldr w1, [sp, 68] ldr w0, [sp, 12] cmp w1, w0 blt .L116 str wzr, [sp, 56] b .L117 .L124: str wzr, [sp, 60] b .L118 .L123: str wzr, [sp, 68] b .L119 .L122: ldr w0, [sp, 68] str w0, [sp, 72] b .L120 .L121: ldr w1, [sp, 68] ldr w0, [sp, 12] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 32] add x0, x1, x0 ldr d1, [x0] ldr w1, [sp, 56] mov w0, 726 mul w1, w1, w0 ldr w0, [sp, 60] add w1, w1, w0 ldr w0, [sp, 12] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 68] add x0, x1, x0 ldr x1, [sp, 24] add x0, x1, x0 ldrb w0, [x0] ucvtf d2, w0 ldrsw x0, [sp, 68] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] fsub d2, d2, d0 ldr w1, [sp, 56] mov w0, 726 mul w1, w1, w0 ldr w0, [sp, 60] add w1, w1, w0 ldr w0, [sp, 12] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 ldr x1, [sp, 24] add x0, x1, x0 ldrb w0, [x0] ucvtf d3, w0 ldrsw x0, [sp, 72] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] fsub d0, d3, d0 fmul d0, d2, d0 ldr w1, [sp, 68] ldr w0, [sp, 12] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 32] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w0, [sp, 72] add w0, w0, 1 str w0, [sp, 72] .L120: ldr w1, [sp, 72] ldr w0, [sp, 12] cmp w1, w0 blt .L121 ldr w0, [sp, 68] add w0, w0, 1 str w0, [sp, 68] .L119: ldr w1, [sp, 68] ldr w0, [sp, 12] cmp w1, w0 blt .L122 ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L118: ldr w1, [sp, 60] ldr w0, [sp, 16] cmp w1, w0 blt .L123 ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L117: ldr w0, [sp, 56] cmp w0, 9 ble .L124 str wzr, [sp, 68] b .L125 .L128: ldr w0, [sp, 68] str w0, [sp, 72] b .L126 .L127: ldr w1, [sp, 68] ldr w0, [sp, 12] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 32] add x0, x1, x0 ldr d1, [x0] ldr w0, [sp, 76] scvtf d0, w0 ldr w1, [sp, 72] ldr w0, [sp, 12] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 68] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 32] add x0, x1, x0 fdiv d0, d1, d0 str d0, [x0] ldr w2, [sp, 68] ldr w1, [sp, 12] mul w1, w2, w1 sxtw x2, w1 ldrsw x1, [sp, 72] add x1, x2, x1 lsl x1, x1, 3 ldr x2, [sp, 32] add x1, x2, x1 ldr d0, [x0] str d0, [x1] ldr w0, [sp, 72] add w0, w0, 1 str w0, [sp, 72] .L126: ldr w1, [sp, 72] ldr w0, [sp, 12] cmp w1, w0 blt .L127 ldr w0, [sp, 68] add w0, w0, 1 str w0, [sp, 68] .L125: ldr w1, [sp, 68] ldr w0, [sp, 12] cmp w1, w0 blt .L128 nop nop add sp, sp, 80 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE8: .size calc_av_and_cvmat, .-calc_av_and_cvmat .align 2 .global calc_av_and_cvmat_double .type calc_av_and_cvmat_double, %function calc_av_and_cvmat_double: .LFB9: .cfi_startproc sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, 40] str x1, [sp, 32] str x2, [sp, 24] str w3, [sp, 20] str w4, [sp, 16] str w5, [sp, 12] str wzr, [sp, 52] b .L130 .L131: ldrsw x0, [sp, 52] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 str xzr, [x0] ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L130: ldr w1, [sp, 52] ldr w0, [sp, 16] cmp w1, w0 blt .L131 str wzr, [sp, 48] b .L132 .L135: str wzr, [sp, 52] b .L133 .L134: ldrsw x0, [sp, 52] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d1, [x0] ldr w1, [sp, 48] ldr w0, [sp, 12] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 52] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d0, [x0] ldrsw x0, [sp, 52] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L133: ldr w1, [sp, 52] ldr w0, [sp, 16] cmp w1, w0 blt .L134 ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L132: ldr w1, [sp, 48] ldr w0, [sp, 20] cmp w1, w0 blt .L135 str wzr, [sp, 52] b .L136 .L137: ldrsw x0, [sp, 52] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d1, [x0] ldr w0, [sp, 20] scvtf d0, w0 ldrsw x0, [sp, 52] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 fdiv d0, d1, d0 str d0, [x0] ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L136: ldr w1, [sp, 52] ldr w0, [sp, 16] cmp w1, w0 blt .L137 str wzr, [sp, 56] b .L138 .L141: str wzr, [sp, 60] b .L139 .L140: ldr w1, [sp, 56] ldr w0, [sp, 16] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 32] add x0, x1, x0 str xzr, [x0] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L139: ldr w1, [sp, 60] ldr w0, [sp, 16] cmp w1, w0 blt .L140 ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L138: ldr w1, [sp, 56] ldr w0, [sp, 16] cmp w1, w0 blt .L141 str wzr, [sp, 48] b .L142 .L147: str wzr, [sp, 56] b .L143 .L146: ldr w0, [sp, 56] str w0, [sp, 60] b .L144 .L145: ldr w1, [sp, 56] ldr w0, [sp, 16] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 32] add x0, x1, x0 ldr d1, [x0] ldr w1, [sp, 48] ldr w0, [sp, 12] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 56] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d2, [x0] ldrsw x0, [sp, 56] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] fsub d2, d2, d0 ldr w1, [sp, 48] ldr w0, [sp, 12] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d3, [x0] ldrsw x0, [sp, 60] lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] fsub d0, d3, d0 fmul d0, d2, d0 ldr w1, [sp, 56] ldr w0, [sp, 16] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 32] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L144: ldr w1, [sp, 60] ldr w0, [sp, 16] cmp w1, w0 blt .L145 ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L143: ldr w1, [sp, 56] ldr w0, [sp, 16] cmp w1, w0 blt .L146 ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L142: ldr w1, [sp, 48] ldr w0, [sp, 20] cmp w1, w0 blt .L147 str wzr, [sp, 56] b .L148 .L151: ldr w0, [sp, 56] str w0, [sp, 60] b .L149 .L150: ldr w1, [sp, 56] ldr w0, [sp, 16] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 32] add x0, x1, x0 ldr d1, [x0] ldr w0, [sp, 20] scvtf d0, w0 ldr w1, [sp, 60] ldr w0, [sp, 16] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 56] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 32] add x0, x1, x0 fdiv d0, d1, d0 str d0, [x0] ldr w2, [sp, 56] ldr w1, [sp, 16] mul w1, w2, w1 sxtw x2, w1 ldrsw x1, [sp, 60] add x1, x2, x1 lsl x1, x1, 3 ldr x2, [sp, 32] add x1, x2, x1 ldr d0, [x0] str d0, [x1] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L149: ldr w1, [sp, 60] ldr w0, [sp, 16] cmp w1, w0 blt .L150 ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L148: ldr w1, [sp, 56] ldr w0, [sp, 16] cmp w1, w0 blt .L151 nop nop add sp, sp, 64 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size calc_av_and_cvmat_double, .-calc_av_and_cvmat_double .align 2 .global calc_kl_component .type calc_kl_component, %function calc_kl_component: .LFB10: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp .cfi_def_cfa_register 29 str x19, [sp, 16] sub sp, sp, #16 .cfi_offset 19, -80 str x0, [x29, 56] str w1, [x29, 52] str x2, [x29, 40] str x3, [x29, 32] str w4, [x29, 48] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [x29, 88] mov x1, 0 mov x0, sp mov x19, x0 ldr w0, [x29, 52] sxtw x1, w0 sub x1, x1, #1 str x1, [x29, 72] sxtw x1, w0 mov x12, x1 mov x13, 0 lsr x1, x12, 58 lsl x9, x13, 6 orr x9, x1, x9 lsl x8, x12, 6 sxtw x1, w0 mov x10, x1 mov x11, 0 lsr x1, x10, 58 lsl x7, x11, 6 orr x7, x1, x7 lsl x6, x10, 6 sxtw x0, w0 lsl x0, x0, 3 add x0, x0, 15 lsr x0, x0, 4 lsl x0, x0, 4 and x1, x0, -65536 sub x1, sp, x1 .L153: cmp sp, x1 beq .L154 sub sp, sp, #65536 str xzr, [sp, 1024] b .L153 .L154: and x1, x0, 65535 sub sp, sp, x1 str xzr, [sp] and x0, x0, 65535 cmp x0, 1024 bcc .L155 str xzr, [sp, 1024] .L155: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 80] str wzr, [x29, 68] b .L156 .L157: ldr w1, [x29, 68] ldr w0, [x29, 48] mul w0, w1, w0 sxtw x0, w0 lsl x0, x0, 3 ldr x1, [x29, 32] add x0, x1, x0 ldr w2, [x29, 48] mov x1, x0 ldr x0, [x29, 40] bl naiseki_double ldr x0, [x29, 80] ldrsw x1, [x29, 68] str d0, [x0, x1, lsl 3] ldr w0, [x29, 68] add w0, w0, 1 str w0, [x29, 68] .L156: ldr w1, [x29, 68] ldr w0, [x29, 52] cmp w1, w0 blt .L157 str wzr, [x29, 68] b .L158 .L159: ldrsw x0, [x29, 68] lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr x1, [x29, 80] ldrsw x2, [x29, 68] ldr d0, [x1, x2, lsl 3] str d0, [x0] ldr w0, [x29, 68] add w0, w0, 1 str w0, [x29, 68] .L158: ldr w1, [x29, 68] ldr w0, [x29, 52] cmp w1, w0 blt .L159 mov sp, x19 nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [x29, 88] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L160 bl __stack_chk_fail .L160: mov sp, x29 ldr x19, [sp, 16] ldp x29, x30, [sp], 96 .cfi_restore 30 .cfi_restore 29 .cfi_restore 19 .cfi_def_cfa 31, 0 ret .cfi_endproc .LFE10: .size calc_kl_component, .-calc_kl_component .align 2 .global naiseki_double .type naiseki_double, %function naiseki_double: .LFB11: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 24] str x1, [sp, 16] str w2, [sp, 12] str xzr, [sp, 40] str wzr, [sp, 36] b .L162 .L163: ldrsw x0, [sp, 36] lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d1, [x0] ldrsw x0, [sp, 36] lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr d0, [x0] fmul d0, d1, d0 ldr d1, [sp, 40] fadd d0, d1, d0 str d0, [sp, 40] ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L162: ldr w1, [sp, 36] ldr w0, [sp, 12] cmp w1, w0 blt .L163 ldr d0, [sp, 40] add sp, sp, 48 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE11: .size naiseki_double, .-naiseki_double .align 2 .global calc_inverse_kl .type calc_inverse_kl, %function calc_inverse_kl: .LFB12: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 24] str x1, [sp, 16] str x2, [sp, 8] str w3, [sp, 4] str w4, [sp] str wzr, [sp, 40] b .L166 .L167: ldrsw x0, [sp, 40] lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 str xzr, [x0] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L166: ldr w1, [sp, 40] ldr w0, [sp, 4] cmp w1, w0 blt .L167 str wzr, [sp, 44] b .L168 .L171: str wzr, [sp, 40] b .L169 .L170: ldrsw x0, [sp, 40] lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d1, [x0] ldrsw x0, [sp, 44] lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr d2, [x0] ldr w1, [sp, 44] ldr w0, [sp, 4] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 40] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 8] add x0, x1, x0 ldr d0, [x0] fmul d0, d2, d0 ldrsw x0, [sp, 40] lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L169: ldr w1, [sp, 40] ldr w0, [sp, 4] cmp w1, w0 blt .L170 ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L168: ldr w1, [sp, 44] ldr w0, [sp] cmp w1, w0 blt .L171 nop nop add sp, sp, 48 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE12: .size calc_inverse_kl, .-calc_inverse_kl .align 2 .global calc_norm2_double .type calc_norm2_double, %function calc_norm2_double: .LFB13: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str xzr, [sp, 24] str wzr, [sp, 20] b .L173 .L174: ldrsw x0, [sp, 20] lsl x0, x0, 3 ldr x1, [sp, 8] add x0, x1, x0 ldr d1, [x0] ldrsw x0, [sp, 20] lsl x0, x0, 3 ldr x1, [sp, 8] add x0, x1, x0 ldr d0, [x0] fmul d0, d1, d0 ldr d1, [sp, 24] fadd d0, d1, d0 str d0, [sp, 24] ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] .L173: ldr w1, [sp, 20] ldr w0, [sp, 4] cmp w1, w0 blt .L174 ldr d0, [sp, 24] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE13: .size calc_norm2_double, .-calc_norm2_double .align 2 .global shukushou .type shukushou, %function shukushou: .LFB14: .cfi_startproc stp x29, x30, [sp, -384]! .cfi_def_cfa_offset 384 .cfi_offset 29, -384 .cfi_offset 30, -376 mov x29, sp .cfi_def_cfa_register 29 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, -368 .cfi_offset 20, -360 .cfi_offset 21, -352 .cfi_offset 22, -344 .cfi_offset 23, -336 .cfi_offset 24, -328 .cfi_offset 25, -320 .cfi_offset 26, -312 .cfi_offset 27, -304 str x0, [x29, 296] str w1, [x29, 292] str w2, [x29, 288] str x3, [x29, 280] str w4, [x29, 276] str w5, [x29, 272] str w6, [x29, 268] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [x29, 376] mov x1, 0 mov x0, sp mov x7, x0 ldr w2, [x29, 288] ldr w3, [x29, 292] sxtw x0, w2 sub x0, x0, #1 str x0, [x29, 328] sxtw x0, w2 mov x10, x0 mov x11, 0 lsr x0, x10, 59 lsl x9, x11, 5 orr x9, x0, x9 lsl x8, x10, 5 sxtw x0, w2 lsl x6, x0, 2 sxtw x0, w3 sub x0, x0, #1 str x0, [x29, 336] sxtw x0, w2 mov x14, x0 mov x15, 0 sxtw x0, w3 mov x12, x0 mov x13, 0 mul x1, x14, x12 umulh x0, x14, x12 madd x0, x15, x12, x0 madd x0, x14, x13, x0 str x1, [x29, 176] str x0, [x29, 184] ldp x4, x5, [x29, 176] mov x0, x4 lsr x0, x0, 59 mov x1, x5 lsl x17, x1, 5 orr x17, x0, x17 mov x0, x4 lsl x16, x0, 5 sxtw x0, w2 str x0, [x29, 160] str xzr, [x29, 168] sxtw x0, w3 mov x26, x0 mov x27, 0 ldp x4, x5, [x29, 160] mov x0, x4 mul x1, x0, x26 mov x0, x4 umulh x0, x0, x26 mov x8, x5 madd x0, x8, x26, x0 madd x0, x4, x27, x0 str x1, [x29, 144] str x0, [x29, 152] ldp x4, x5, [x29, 144] mov x0, x4 lsr x0, x0, 59 mov x1, x5 lsl x1, x1, 5 str x1, [x29, 248] ldr x1, [x29, 248] orr x0, x0, x1 str x0, [x29, 248] mov x0, x4 lsl x0, x0, 5 str x0, [x29, 240] sxtw x1, w2 sxtw x0, w3 mul x0, x1, x0 lsl x0, x0, 2 add x0, x0, 15 lsr x0, x0, 4 lsl x0, x0, 4 and x1, x0, -65536 sub x1, sp, x1 .L177: cmp sp, x1 beq .L178 sub sp, sp, #65536 str xzr, [sp, 1024] b .L177 .L178: and x1, x0, 65535 sub sp, sp, x1 str xzr, [sp] and x0, x0, 65535 cmp x0, 1024 bcc .L179 str xzr, [sp, 1024] .L179: add x0, sp, 16 add x0, x0, 3 lsr x0, x0, 2 lsl x0, x0, 2 str x0, [x29, 344] ldr w2, [x29, 288] ldr w3, [x29, 292] sxtw x0, w2 sub x0, x0, #1 str x0, [x29, 352] sxtw x0, w2 str x0, [x29, 128] str xzr, [x29, 136] ldp x4, x5, [x29, 128] mov x0, x4 lsr x0, x0, 59 mov x1, x5 lsl x1, x1, 5 str x1, [x29, 232] ldr x1, [x29, 232] orr x0, x0, x1 str x0, [x29, 232] mov x0, x4 lsl x0, x0, 5 str x0, [x29, 224] sxtw x0, w2 lsl x1, x0, 2 sxtw x0, w3 sub x0, x0, #1 str x0, [x29, 360] sxtw x0, w2 mov x24, x0 mov x25, 0 sxtw x0, w3 mov x22, x0 mov x23, 0 mul x4, x24, x22 umulh x0, x24, x22 madd x0, x25, x22, x0 madd x0, x24, x23, x0 str x4, [x29, 112] str x0, [x29, 120] ldp x4, x5, [x29, 112] mov x0, x4 lsr x0, x0, 59 mov x8, x5 lsl x8, x8, 5 str x8, [x29, 216] ldr x8, [x29, 216] orr x0, x0, x8 str x0, [x29, 216] mov x0, x4 lsl x0, x0, 5 str x0, [x29, 208] sxtw x0, w2 mov x20, x0 mov x21, 0 sxtw x0, w3 mov x18, x0 mov x19, 0 mul x4, x20, x18 umulh x0, x20, x18 madd x0, x21, x18, x0 madd x0, x20, x19, x0 str x4, [x29, 96] str x0, [x29, 104] ldp x4, x5, [x29, 96] mov x0, x4 lsr x0, x0, 59 mov x8, x5 lsl x8, x8, 5 str x8, [x29, 200] ldr x8, [x29, 200] orr x0, x0, x8 str x0, [x29, 200] mov x0, x4 lsl x0, x0, 5 str x0, [x29, 192] sxtw x2, w2 sxtw x0, w3 mul x0, x2, x0 lsl x0, x0, 2 add x0, x0, 15 lsr x0, x0, 4 lsl x0, x0, 4 and x2, x0, -65536 sub x2, sp, x2 .L180: cmp sp, x2 beq .L181 sub sp, sp, #65536 str xzr, [sp, 1024] b .L180 .L181: and x2, x0, 65535 sub sp, sp, x2 str xzr, [sp] and x0, x0, 65535 cmp x0, 1024 bcc .L182 str xzr, [sp, 1024] .L182: add x0, sp, 16 add x0, x0, 3 lsr x0, x0, 2 lsl x0, x0, 2 str x0, [x29, 368] str wzr, [x29, 312] b .L183 .L186: str wzr, [x29, 316] b .L184 .L185: lsr x2, x6, 2 ldr x0, [x29, 344] ldrsw x3, [x29, 316] ldrsw x4, [x29, 312] mul x2, x4, x2 add x2, x3, x2 str wzr, [x0, x2, lsl 2] lsr x2, x1, 2 ldr x0, [x29, 368] ldrsw x3, [x29, 316] ldrsw x4, [x29, 312] mul x2, x4, x2 add x2, x3, x2 str wzr, [x0, x2, lsl 2] ldr w0, [x29, 316] add w0, w0, 1 str w0, [x29, 316] .L184: ldr w2, [x29, 316] ldr w0, [x29, 288] cmp w2, w0 blt .L185 ldr w0, [x29, 312] add w0, w0, 1 str w0, [x29, 312] .L183: ldr w2, [x29, 312] ldr w0, [x29, 292] cmp w2, w0 blt .L186 str wzr, [x29, 312] b .L187 .L190: ldr w2, [x29, 312] ldr w0, [x29, 268] sdiv w0, w2, w0 str w0, [x29, 320] str wzr, [x29, 316] b .L188 .L189: ldr w2, [x29, 316] ldr w0, [x29, 268] sdiv w0, w2, w0 str w0, [x29, 324] lsr x2, x6, 2 ldr x0, [x29, 344] ldrsw x3, [x29, 324] ldrsw x4, [x29, 320] mul x2, x4, x2 add x2, x3, x2 ldr w3, [x0, x2, lsl 2] ldrsw x2, [x29, 312] mov x0, x2 lsl x0, x0, 1 add x0, x0, x2 lsl x0, x0, 3 add x0, x0, x2 lsl x0, x0, 2 mov x2, x0 ldr x0, [x29, 280] add x2, x0, x2 ldrsw x0, [x29, 316] ldrb w0, [x2, x0] lsr x2, x6, 2 add w3, w3, w0 ldr x0, [x29, 344] ldrsw x4, [x29, 324] ldrsw x5, [x29, 320] mul x2, x5, x2 add x2, x4, x2 str w3, [x0, x2, lsl 2] lsr x0, x1, 2 ldr x2, [x29, 368] ldrsw x4, [x29, 324] ldrsw x3, [x29, 320] mul x3, x3, x0 add x3, x4, x3 ldr w2, [x2, x3, lsl 2] add w3, w2, 1 ldr x2, [x29, 368] ldrsw x4, [x29, 324] ldrsw x5, [x29, 320] mul x0, x5, x0 add x0, x4, x0 str w3, [x2, x0, lsl 2] ldr w0, [x29, 316] add w0, w0, 1 str w0, [x29, 316] .L188: ldr w2, [x29, 316] ldr w0, [x29, 272] cmp w2, w0 blt .L189 ldr w0, [x29, 312] add w0, w0, 1 str w0, [x29, 312] .L187: ldr w2, [x29, 312] ldr w0, [x29, 276] cmp w2, w0 blt .L190 str wzr, [x29, 312] b .L191 .L194: str wzr, [x29, 316] b .L192 .L193: lsr x2, x6, 2 ldr x0, [x29, 344] ldrsw x3, [x29, 316] ldrsw x4, [x29, 312] mul x2, x4, x2 add x2, x3, x2 ldr w0, [x0, x2, lsl 2] scvtf d1, w0 lsr x2, x1, 2 ldr x0, [x29, 368] ldrsw x3, [x29, 316] ldrsw x4, [x29, 312] mul x2, x4, x2 add x2, x3, x2 ldr w0, [x0, x2, lsl 2] scvtf d0, w0 fdiv d0, d1, d0 adrp x0, .LC24 ldr d1, [x0, #:lo12:.LC24] fadd d0, d0, d1 ldr w2, [x29, 312] ldr w0, [x29, 288] mul w0, w2, w0 sxtw x2, w0 ldrsw x0, [x29, 316] add x0, x2, x0 ldr x2, [x29, 296] add x0, x2, x0 fcvtzu w2, d0 and w2, w2, 255 strb w2, [x0] ldr w0, [x29, 316] add w0, w0, 1 str w0, [x29, 316] .L192: ldr w2, [x29, 316] ldr w0, [x29, 288] cmp w2, w0 blt .L193 ldr w0, [x29, 312] add w0, w0, 1 str w0, [x29, 312] .L191: ldr w2, [x29, 312] ldr w0, [x29, 292] cmp w2, w0 blt .L194 mov sp, x7 nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [x29, 376] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L195 bl __stack_chk_fail .L195: 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], 384 .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 .LFE14: .size shukushou, .-shukushou .align 2 .global kakudai .type kakudai, %function kakudai: .LFB15: .cfi_startproc sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, 40] str w1, [sp, 36] str w2, [sp, 32] str x3, [sp, 24] str w4, [sp, 20] str w5, [sp, 16] str w6, [sp, 12] str wzr, [sp, 48] b .L197 .L200: ldr w1, [sp, 48] ldr w0, [sp, 12] sdiv w0, w1, w0 str w0, [sp, 56] str wzr, [sp, 52] b .L198 .L199: ldr w1, [sp, 52] ldr w0, [sp, 12] sdiv w0, w1, w0 str w0, [sp, 60] ldr w1, [sp, 56] ldr w0, [sp, 16] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 ldr x1, [sp, 24] add x2, x1, x0 ldrsw x1, [sp, 48] mov x0, x1 lsl x0, x0, 1 add x0, x0, x1 lsl x0, x0, 3 add x0, x0, x1 lsl x0, x0, 2 mov x1, x0 ldr x0, [sp, 40] add x1, x0, x1 ldrb w2, [x2] ldrsw x0, [sp, 52] strb w2, [x1, x0] ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L198: ldr w1, [sp, 52] ldr w0, [sp, 32] cmp w1, w0 blt .L199 ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L197: ldr w1, [sp, 48] ldr w0, [sp, 36] cmp w1, w0 blt .L200 nop nop add sp, sp, 64 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE15: .size kakudai, .-kakudai .align 2 .global calc_norm2 .type calc_norm2, %function calc_norm2: .LFB16: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str xzr, [sp, 24] str wzr, [sp, 20] b .L202 .L203: ldrsw x0, [sp, 20] ldr x1, [sp, 8] add x0, x1, x0 ldrb w0, [x0] mov w2, w0 ldrsw x0, [sp, 20] ldr x1, [sp, 8] add x0, x1, x0 ldrb w0, [x0] mul w0, w2, w0 scvtf d0, w0 ldr d1, [sp, 24] fadd d0, d1, d0 str d0, [sp, 24] ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] .L202: ldr w1, [sp, 20] ldr w0, [sp, 4] cmp w1, w0 blt .L203 ldr d0, [sp, 24] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE16: .size calc_norm2, .-calc_norm2 .align 2 .global naiseki .type naiseki, %function naiseki: .LFB17: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 24] str x1, [sp, 16] str w2, [sp, 12] str xzr, [sp, 40] str wzr, [sp, 36] b .L206 .L207: ldrsw x0, [sp, 36] ldr x1, [sp, 24] add x0, x1, x0 ldrb w0, [x0] mov w2, w0 ldrsw x0, [sp, 36] ldr x1, [sp, 16] add x0, x1, x0 ldrb w0, [x0] mul w0, w2, w0 scvtf d0, w0 ldr d1, [sp, 40] fadd d0, d1, d0 str d0, [sp, 40] ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L206: ldr w1, [sp, 36] ldr w0, [sp, 12] cmp w1, w0 blt .L207 ldr d0, [sp, 40] add sp, sp, 48 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE17: .size naiseki, .-naiseki .align 2 .global hanten .type hanten, %function hanten: .LFB18: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 24] str x1, [sp, 16] str w2, [sp, 12] str wzr, [sp, 44] b .L210 .L211: ldrsw x0, [sp, 44] ldr x1, [sp, 16] add x0, x1, x0 ldrb w1, [x0] ldrsw x0, [sp, 44] ldr x2, [sp, 24] add x0, x2, x0 mvn w1, w1 and w1, w1, 255 strb w1, [x0] ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L210: ldr w1, [sp, 44] ldr w0, [sp, 12] cmp w1, w0 blt .L211 nop nop add sp, sp, 48 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE18: .size hanten, .-hanten .align 2 .global average_adjustment .type average_adjustment, %function average_adjustment: .LFB19: .cfi_startproc sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, 24] str d0, [sp, 16] str w1, [sp, 12] str xzr, [sp, 48] str wzr, [sp, 40] b .L213 .L214: ldrsw x0, [sp, 40] ldr x1, [sp, 24] add x0, x1, x0 ldrb w0, [x0] scvtf d0, w0 ldr d1, [sp, 48] fadd d0, d1, d0 str d0, [sp, 48] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L213: ldr w1, [sp, 40] ldr w0, [sp, 12] cmp w1, w0 blt .L214 ldr w0, [sp, 12] scvtf d0, w0 ldr d1, [sp, 48] fdiv d0, d1, d0 ldr d1, [sp, 16] fdiv d0, d1, d0 str d0, [sp, 56] str wzr, [sp, 40] b .L215 .L218: ldrsw x0, [sp, 40] ldr x1, [sp, 24] add x0, x1, x0 ldrb w0, [x0] ucvtf d1, w0 ldr d0, [sp, 56] fmul d1, d1, d0 fmov d0, 5.0e-1 fadd d0, d1, d0 fcvtzs w0, d0 str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 255 ble .L216 ldrsw x0, [sp, 40] ldr x1, [sp, 24] add x0, x1, x0 mov w1, -1 strb w1, [x0] b .L217 .L216: ldrsw x0, [sp, 40] ldr x1, [sp, 24] add x0, x1, x0 ldr w1, [sp, 44] and w1, w1, 255 strb w1, [x0] .L217: ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L215: ldr w1, [sp, 40] ldr w0, [sp, 12] cmp w1, w0 blt .L218 nop nop add sp, sp, 64 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE19: .size average_adjustment, .-average_adjustment .section .rodata .align 3 .LC25: .string "rb" .align 3 .LC26: .string "Can't open idlist.txt" .align 3 .LC27: .string "$END" .align 3 .LC28: .string "Number of ID is too large" .text .align 2 .global read_id_list .type read_id_list, %function read_id_list: .LFB20: .cfi_startproc stp x29, x30, [sp, -256]! .cfi_def_cfa_offset 256 .cfi_offset 29, -256 .cfi_offset 30, -248 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 248] mov x1, 0 str wzr, [sp, 36] adrp x0, .LC25 add x1, x0, :lo12:.LC25 ldr x0, [sp, 16] bl fopen str x0, [sp, 40] ldr x0, [sp, 40] cmp x0, 0 bne .L220 adrp x0, .LC26 add x0, x0, :lo12:.LC26 bl error1 .L220: str wzr, [sp, 36] b .L221 .L227: ldrb w0, [sp, 48] cmp w0, 35 bne .L222 b .L221 .L222: ldrb w0, [sp, 48] cmp w0, 10 bne .L223 b .L221 .L223: add x3, sp, 48 mov x2, 4 adrp x0, .LC27 add x1, x0, :lo12:.LC27 mov x0, x3 bl strncmp cmp w0, 0 beq .L230 add x0, sp, 48 bl strlen sub x0, x0, #1 add x1, sp, 48 ldrb w0, [x1, x0] cmp w0, 10 bne .L226 add x0, sp, 48 bl strlen sub x0, x0, #1 add x1, sp, 48 strb wzr, [x1, x0] .L226: ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 mov x1, x0 ldr x0, [sp, 24] add x0, x0, x1 add x1, sp, 48 bl strcpy ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 120 ble .L221 adrp x0, .LC28 add x0, x0, :lo12:.LC28 bl error1 .L221: add x0, sp, 48 ldr x2, [sp, 40] mov w1, 200 bl fgets cmp x0, 0 bne .L227 b .L225 .L230: nop .L225: ldr w0, [sp, 36] mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 248] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L229 bl __stack_chk_fail .L229: mov w0, w1 ldp x29, x30, [sp], 256 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE20: .size read_id_list, .-read_id_list .section .rodata .align 3 .LC29: .string "file(%s) can't open.\n" .align 3 .LC30: .string "P5" .align 3 .LC31: .string "read_ppm: ERROR: magic number(%s) not match.\n" .align 3 .LC32: .string "Memory allocation failed in read_pgm." .text .align 2 .global read_pgm .type read_pgm, %function read_pgm: .LFB21: .cfi_startproc stp x29, x30, [sp, -256]! .cfi_def_cfa_offset 256 .cfi_offset 29, -256 .cfi_offset 30, -248 mov x29, sp str x0, [sp, 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, 248] mov x1, 0 mov w0, 48 str w0, [sp, 64] str wzr, [sp, 68] str wzr, [sp, 72] str wzr, [sp, 76] adrp x0, .LC25 add x1, x0, :lo12:.LC25 ldr x0, [sp, 32] bl fopen str x0, [sp, 96] ldr x0, [sp, 96] cmp x0, 0 bne .L232 adrp x0, :got:stderr ldr x0, [x0, #:got_lo12:stderr] ldr x3, [x0] ldr x2, [sp, 32] adrp x0, .LC29 add x1, x0, :lo12:.LC29 mov x0, x3 bl fprintf mov w0, -1 bl exit .L232: str wzr, [sp, 52] .L249: ldr x0, [sp, 96] bl getc str w0, [sp, 80] ldr w0, [sp, 72] cmp w0, 0 beq .L233 ldr w0, [sp, 80] cmp w0, 10 bne .L234 ldr w0, [sp, 72] sub w0, w0, #1 str w0, [sp, 72] b .L234 .L233: ldr w0, [sp, 80] cmp w0, 35 bne .L235 ldr w0, [sp, 72] add w0, w0, 1 str w0, [sp, 72] b .L236 .L235: ldr w0, [sp, 68] cmp w0, 0 bne .L237 ldr w0, [sp, 80] cmp w0, 32 beq .L238 ldr w0, [sp, 80] cmp w0, 9 beq .L238 ldr w0, [sp, 80] cmp w0, 10 bne .L239 .L238: ldr w0, [sp, 52] cmp w0, 0 ble .L239 ldr w0, [sp, 68] add w0, w0, 1 str w0, [sp, 68] b .L237 .L239: ldr w0, [sp, 80] cmp w0, 32 beq .L240 ldr w0, [sp, 80] cmp w0, 9 beq .L240 ldr w0, [sp, 80] cmp w0, 10 bne .L241 .L240: ldr w0, [sp, 52] cmp w0, 0 beq .L237 .L241: ldr w0, [sp, 52] add w1, w0, 1 str w1, [sp, 52] ldr w1, [sp, 80] and w2, w1, 255 sxtw x0, w0 add x1, sp, 120 strb w2, [x1, x0] .L237: ldr w0, [sp, 68] cmp w0, 0 beq .L234 ldrsw x0, [sp, 52] add x1, sp, 120 strb wzr, [x1, x0] str wzr, [sp, 52] ldr w0, [sp, 64] cmp w0, 51 beq .L242 ldr w0, [sp, 64] cmp w0, 51 bgt .L243 ldr w0, [sp, 64] cmp w0, 50 beq .L244 ldr w0, [sp, 64] cmp w0, 50 bgt .L243 ldr w0, [sp, 64] cmp w0, 48 beq .L245 ldr w0, [sp, 64] cmp w0, 49 beq .L246 b .L243 .L245: add x1, sp, 120 add x0, sp, 112 bl strcpy add x2, sp, 112 adrp x0, .LC30 add x1, x0, :lo12:.LC30 mov x0, x2 bl strcmp cmp w0, 0 beq .L247 adrp x0, :got:stderr ldr x0, [x0, #:got_lo12:stderr] ldr x3, [x0] add x0, sp, 112 mov x2, x0 adrp x0, .LC31 add x1, x0, :lo12:.LC31 mov x0, x3 bl fprintf mov w0, -1 bl exit .L247: ldr w0, [sp, 64] add w0, w0, 1 str w0, [sp, 64] b .L243 .L246: add x0, sp, 120 bl atoi mov w1, w0 ldr x0, [sp, 24] str w1, [x0] ldr w0, [sp, 64] add w0, w0, 1 str w0, [sp, 64] b .L243 .L244: add x0, sp, 120 bl atoi mov w1, w0 ldr x0, [sp, 16] str w1, [x0] ldr w0, [sp, 64] add w0, w0, 1 str w0, [sp, 64] b .L243 .L242: add x0, sp, 120 bl atoi str w0, [sp, 84] ldr w0, [sp, 76] add w0, w0, 1 str w0, [sp, 76] nop .L243: ldr w0, [sp, 68] sub w0, w0, #1 str w0, [sp, 68] .L234: ldr w0, [sp, 76] cmp w0, 0 bne .L257 .L236: b .L249 .L257: nop ldr x0, [sp, 24] ldr w1, [x0] ldr x0, [sp, 16] ldr w0, [x0] mul w0, w1, w0 sxtw x0, w0 bl malloc str x0, [sp, 104] ldr x0, [sp, 104] cmp x0, 0 bne .L250 adrp x0, .LC32 add x0, x0, :lo12:.LC32 bl error1 .L250: str xzr, [sp, 88] ldr x0, [sp, 24] ldr w1, [x0] ldr x0, [sp, 16] ldr w0, [x0] mul w0, w1, w0 sxtw x0, w0 ldr x3, [sp, 96] mov x2, x0 mov x1, 1 ldr x0, [sp, 104] bl fread str wzr, [sp, 56] b .L251 .L254: str wzr, [sp, 60] b .L252 .L253: ldr x0, [sp, 88] add x1, x0, 1 str x1, [sp, 88] mov x1, x0 ldr x0, [sp, 104] add x1, x0, x1 ldr x0, [sp, 24] ldr w2, [x0] ldr w0, [sp, 56] mul w2, w2, w0 ldr w0, [sp, 60] add w0, w2, w0 sxtw x0, w0 ldr x2, [sp, 40] add x0, x2, x0 ldrb w1, [x1] strb w1, [x0] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L252: ldr x0, [sp, 24] ldr w0, [x0] ldr w1, [sp, 60] cmp w1, w0 blt .L253 ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L251: ldr x0, [sp, 16] ldr w0, [x0] ldr w1, [sp, 56] cmp w1, w0 blt .L254 ldr x0, [sp, 104] bl free ldr x0, [sp, 96] bl fclose 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 .L255 bl __stack_chk_fail .L255: ldp x29, x30, [sp], 256 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE21: .size read_pgm, .-read_pgm .section .rodata .align 3 .LC33: .string "Memory allocation failed in write_pgm." .align 3 .LC34: .string "wb" .align 3 .LC35: .string "file(%s) can't open\n" .align 3 .LC36: .string "P5\n" .align 3 .LC37: .string "%d %d\n" .align 3 .LC38: .string "255\n" .text .align 2 .global write_pgm .type write_pgm, %function write_pgm: .LFB22: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 40] str x1, [sp, 32] str w2, [sp, 28] str w3, [sp, 24] ldr w1, [sp, 28] ldr w0, [sp, 24] mul w0, w1, w0 sxtw x0, w0 bl malloc str x0, [sp, 64] ldr x0, [sp, 64] cmp x0, 0 bne .L259 adrp x0, .LC33 add x0, x0, :lo12:.LC33 bl error1 .L259: adrp x0, .LC34 add x1, x0, :lo12:.LC34 ldr x0, [sp, 32] bl fopen str x0, [sp, 72] ldr x0, [sp, 72] cmp x0, 0 bne .L260 adrp x0, :got:stderr ldr x0, [x0, #:got_lo12:stderr] ldr x3, [x0] ldr x2, [sp, 32] adrp x0, .LC35 add x1, x0, :lo12:.LC35 mov x0, x3 bl fprintf mov w0, 1 bl exit .L260: ldr x3, [sp, 72] mov x2, 3 mov x1, 1 adrp x0, .LC36 add x0, x0, :lo12:.LC36 bl fwrite ldr w3, [sp, 24] ldr w2, [sp, 28] adrp x0, .LC37 add x1, x0, :lo12:.LC37 ldr x0, [sp, 72] bl fprintf ldr x3, [sp, 72] mov x2, 4 mov x1, 1 adrp x0, .LC38 add x0, x0, :lo12:.LC38 bl fwrite str wzr, [sp, 52] str wzr, [sp, 56] b .L261 .L264: str wzr, [sp, 60] b .L262 .L263: ldr w1, [sp, 56] ldr w0, [sp, 28] mul w1, w1, w0 ldr w0, [sp, 60] add w0, w1, w0 sxtw x0, w0 ldr x1, [sp, 40] add x1, x1, x0 ldr w0, [sp, 52] add w2, w0, 1 str w2, [sp, 52] sxtw x0, w0 ldr x2, [sp, 64] add x0, x2, x0 ldrb w1, [x1] strb w1, [x0] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L262: ldr w1, [sp, 60] ldr w0, [sp, 28] cmp w1, w0 blt .L263 ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L261: ldr w1, [sp, 56] ldr w0, [sp, 24] cmp w1, w0 blt .L264 ldr w1, [sp, 28] ldr w0, [sp, 24] mul w0, w1, w0 sxtw x0, w0 ldr x3, [sp, 72] mov x2, x0 mov x1, 1 ldr x0, [sp, 64] bl fwrite ldr x0, [sp, 72] bl fclose ldr x0, [sp, 64] bl free nop ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE22: .size write_pgm, .-write_pgm .align 2 .global error1 .type error1, %function error1: .LFB23: .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 puts mov w0, 1 bl exit .cfi_endproc .LFE23: .size error1, .-error1 .align 2 .global calc_eigen_vector .type calc_eigen_vector, %function calc_eigen_vector: .LFB24: .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 w3, [sp, 20] ldr x2, [sp, 40] ldr x1, [sp, 24] ldr x0, [sp, 32] bl jac ldr w3, [sp, 20] ldr x2, [sp, 40] ldr x1, [sp, 24] ldr x0, [sp, 32] bl sortev str wzr, [sp, 56] b .L267 .L270: ldr w0, [sp, 56] str w0, [sp, 60] b .L268 .L269: ldr w1, [sp, 56] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] adrp x0, w add x0, x0, :lo12:w str d0, [x0] ldr w1, [sp, 60] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 56] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x1, x1, x0 ldr w2, [sp, 56] ldr w0, [sp, 20] mul w0, w2, w0 sxtw x2, w0 ldrsw x0, [sp, 60] add x0, x2, x0 lsl x0, x0, 3 ldr x2, [sp, 40] add x0, x2, x0 ldr d0, [x1] str d0, [x0] ldr w1, [sp, 60] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 56] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 adrp x1, w add x1, x1, :lo12:w ldr d0, [x1] str d0, [x0] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L268: ldr w1, [sp, 60] ldr w0, [sp, 20] cmp w1, w0 blt .L269 ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L267: ldr w1, [sp, 56] ldr w0, [sp, 20] cmp w1, w0 blt .L270 nop nop ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE24: .size calc_eigen_vector, .-calc_eigen_vector .align 2 .global jac .type jac, %function jac: .LFB25: .cfi_startproc stp x29, x30, [sp, -192]! .cfi_def_cfa_offset 192 .cfi_offset 29, -192 .cfi_offset 30, -184 mov x29, sp str x0, [sp, 40] str x1, [sp, 32] str x2, [sp, 24] str w3, [sp, 20] ldr w0, [sp, 20] str w0, [sp, 76] str xzr, [sp, 112] str wzr, [sp, 56] b .L272 .L277: str xzr, [sp, 96] str wzr, [sp, 60] b .L273 .L274: ldr w1, [sp, 56] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] fabs d0, d0 ldr d1, [sp, 96] fadd d0, d1, d0 str d0, [sp, 96] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L273: ldr w1, [sp, 60] ldr w0, [sp, 20] cmp w1, w0 blt .L274 ldr d1, [sp, 96] ldr d0, [sp, 112] fcmpe d1, d0 bgt .L313 b .L275 .L313: ldr d0, [sp, 96] str d0, [sp, 112] .L275: ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L272: ldr w1, [sp, 56] ldr w0, [sp, 20] cmp w1, w0 blt .L277 ldr d0, [sp, 112] adrp x0, .LC39 ldr d1, [x0, #:lo12:.LC39] fmul d0, d0, d1 str d0, [sp, 80] ldr d0, [sp, 80] adrp x0, .LC40 ldr d1, [x0, #:lo12:.LC40] fmul d0, d0, d1 str d0, [sp, 120] str wzr, [sp, 56] b .L278 .L281: str wzr, [sp, 60] b .L279 .L280: ldr w1, [sp, 56] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 str xzr, [x0] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L279: ldr w1, [sp, 60] ldr w0, [sp, 20] cmp w1, w0 blt .L280 ldr w1, [sp, 56] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 56] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 fmov d0, 1.0e+0 str d0, [x0] ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L278: ldr w1, [sp, 56] ldr w0, [sp, 20] cmp w1, w0 blt .L281 mov w0, 1 str w0, [sp, 64] b .L282 .L310: str xzr, [sp, 104] str wzr, [sp, 68] b .L283 .L288: ldr w0, [sp, 68] add w0, w0, 1 str w0, [sp, 72] b .L284 .L287: ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] fabs d0, d0 str d0, [sp, 128] ldr d1, [sp, 128] ldr d0, [sp, 104] fcmpe d1, d0 bgt .L314 b .L285 .L314: ldr d0, [sp, 128] str d0, [sp, 104] .L285: ldr w0, [sp, 72] add w0, w0, 1 str w0, [sp, 72] .L284: ldr w1, [sp, 72] ldr w0, [sp, 20] cmp w1, w0 blt .L287 ldr w0, [sp, 68] add w0, w0, 1 str w0, [sp, 68] .L283: ldr w0, [sp, 20] sub w0, w0, #1 ldr w1, [sp, 68] cmp w1, w0 blt .L288 ldr d1, [sp, 104] ldr d0, [sp, 80] fcmpe d1, d0 bmi .L317 str wzr, [sp, 68] b .L292 .L309: ldr w0, [sp, 68] add w0, w0, 1 str w0, [sp, 72] b .L293 .L308: ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 128] ldr d0, [sp, 128] fabs d0, d0 ldr d1, [sp, 80] fcmpe d1, d0 bgt .L318 ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 68] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d1, [x0] ldr w1, [sp, 72] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] fadd d1, d1, d0 fmov d0, 5.0e-1 fmul d0, d1, d0 str d0, [sp, 136] ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 68] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d1, [x0] ldr w1, [sp, 72] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] fsub d1, d1, d0 fmov d0, 5.0e-1 fmul d0, d1, d0 str d0, [sp, 144] ldr d0, [sp, 144] fmul d1, d0, d0 ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d2, [x0] ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] fmul d0, d2, d0 fadd d0, d1, d0 bl sqrt str d0, [sp, 152] ldr d0, [sp, 144] fcmpe d0, #0.0 bgt .L315 b .L316 .L315: ldr d0, [sp, 152] ldr d1, [sp, 144] fdiv d1, d1, d0 fmov d0, 1.0e+0 fadd d0, d1, d0 bl sqrt adrp x0, .LC41 ldr d1, [x0, #:lo12:.LC41] fdiv d0, d0, d1 str d0, [sp, 88] ldr d0, [sp, 88] fadd d1, d0, d0 ldr d0, [sp, 152] fmul d0, d1, d0 ldr d1, [sp, 128] fdiv d0, d1, d0 str d0, [sp, 96] ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 68] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d1, [sp, 136] ldr d0, [sp, 152] fadd d0, d1, d0 str d0, [x0] ldr w1, [sp, 72] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d1, [sp, 136] ldr d0, [sp, 152] fsub d0, d1, d0 str d0, [x0] b .L299 .L316: ldr d0, [sp, 152] ldr d1, [sp, 144] fdiv d0, d1, d0 fmov d1, 1.0e+0 fsub d0, d1, d0 bl sqrt adrp x0, .LC41 ldr d1, [x0, #:lo12:.LC41] fdiv d0, d0, d1 str d0, [sp, 88] ldr d0, [sp, 128] fneg d1, d0 ldr d0, [sp, 88] fadd d2, d0, d0 ldr d0, [sp, 152] fmul d0, d2, d0 fdiv d0, d1, d0 str d0, [sp, 96] ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 68] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d1, [sp, 136] ldr d0, [sp, 152] fsub d0, d1, d0 str d0, [x0] ldr w1, [sp, 72] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d1, [sp, 136] ldr d0, [sp, 152] fadd d0, d1, d0 str d0, [x0] .L299: ldr w1, [sp, 72] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 68] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 str xzr, [x0] ldr w2, [sp, 68] ldr w1, [sp, 20] mul w1, w2, w1 sxtw x2, w1 ldrsw x1, [sp, 72] add x1, x2, x1 lsl x1, x1, 3 ldr x2, [sp, 40] add x1, x2, x1 ldr d0, [x0] str d0, [x1] str wzr, [sp, 60] b .L300 .L301: ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 176] ldr w1, [sp, 72] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 184] ldr d1, [sp, 176] ldr d0, [sp, 88] fmul d1, d1, d0 ldr d2, [sp, 184] ldr d0, [sp, 96] fmul d0, d2, d0 ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w2, [sp, 60] ldr w1, [sp, 20] mul w1, w2, w1 sxtw x2, w1 ldrsw x1, [sp, 68] add x1, x2, x1 lsl x1, x1, 3 ldr x2, [sp, 40] add x1, x2, x1 ldr d0, [x0] str d0, [x1] ldr d0, [sp, 176] fneg d1, d0 ldr d0, [sp, 96] fmul d1, d1, d0 ldr d2, [sp, 184] ldr d0, [sp, 88] fmul d0, d2, d0 ldr w1, [sp, 72] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w2, [sp, 60] ldr w1, [sp, 20] mul w1, w2, w1 sxtw x2, w1 ldrsw x1, [sp, 72] add x1, x2, x1 lsl x1, x1, 3 ldr x2, [sp, 40] add x1, x2, x1 ldr d0, [x0] str d0, [x1] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L300: ldr w1, [sp, 60] ldr w0, [sp, 68] cmp w1, w0 blt .L301 ldr w0, [sp, 68] add w0, w0, 1 str w0, [sp, 60] b .L302 .L303: ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 176] ldr w1, [sp, 72] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 184] ldr d1, [sp, 176] ldr d0, [sp, 88] fmul d1, d1, d0 ldr d2, [sp, 184] ldr d0, [sp, 96] fmul d0, d2, d0 ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w2, [sp, 60] ldr w1, [sp, 20] mul w1, w2, w1 sxtw x2, w1 ldrsw x1, [sp, 68] add x1, x2, x1 lsl x1, x1, 3 ldr x2, [sp, 40] add x1, x2, x1 ldr d0, [x0] str d0, [x1] ldr d0, [sp, 176] fneg d1, d0 ldr d0, [sp, 96] fmul d1, d1, d0 ldr d2, [sp, 184] ldr d0, [sp, 88] fmul d0, d2, d0 ldr w1, [sp, 72] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w2, [sp, 60] ldr w1, [sp, 20] mul w1, w2, w1 sxtw x2, w1 ldrsw x1, [sp, 72] add x1, x2, x1 lsl x1, x1, 3 ldr x2, [sp, 40] add x1, x2, x1 ldr d0, [x0] str d0, [x1] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L302: ldr w1, [sp, 60] ldr w0, [sp, 72] cmp w1, w0 blt .L303 ldr w0, [sp, 72] add w0, w0, 1 str w0, [sp, 60] b .L304 .L305: ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 176] ldr w1, [sp, 72] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 184] ldr d1, [sp, 176] ldr d0, [sp, 88] fmul d1, d1, d0 ldr d2, [sp, 184] ldr d0, [sp, 96] fmul d0, d2, d0 ldr w1, [sp, 68] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w2, [sp, 60] ldr w1, [sp, 20] mul w1, w2, w1 sxtw x2, w1 ldrsw x1, [sp, 68] add x1, x2, x1 lsl x1, x1, 3 ldr x2, [sp, 40] add x1, x2, x1 ldr d0, [x0] str d0, [x1] ldr d0, [sp, 176] fneg d1, d0 ldr d0, [sp, 96] fmul d1, d1, d0 ldr d2, [sp, 184] ldr d0, [sp, 88] fmul d0, d2, d0 ldr w1, [sp, 72] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 60] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w2, [sp, 60] ldr w1, [sp, 20] mul w1, w2, w1 sxtw x2, w1 ldrsw x1, [sp, 72] add x1, x2, x1 lsl x1, x1, 3 ldr x2, [sp, 40] add x1, x2, x1 ldr d0, [x0] str d0, [x1] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L304: ldr w1, [sp, 60] ldr w0, [sp, 20] cmp w1, w0 blt .L305 str wzr, [sp, 56] b .L306 .L307: ldr w1, [sp, 56] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 68] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 160] ldr w1, [sp, 56] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 168] ldr d1, [sp, 160] ldr d0, [sp, 88] fmul d1, d1, d0 ldr d2, [sp, 168] ldr d0, [sp, 96] fmul d0, d2, d0 ldr w1, [sp, 56] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 68] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr d0, [sp, 160] fneg d1, d0 ldr d0, [sp, 96] fmul d1, d1, d0 ldr d2, [sp, 168] ldr d0, [sp, 88] fmul d0, d2, d0 ldr w1, [sp, 56] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 72] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 fadd d0, d1, d0 str d0, [x0] ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L306: ldr w1, [sp, 56] ldr w0, [sp, 20] cmp w1, w0 blt .L307 ldr w0, [sp, 72] add w0, w0, 1 str w0, [sp, 72] .L293: ldr w1, [sp, 72] ldr w0, [sp, 20] cmp w1, w0 blt .L308 b .L296 .L318: nop .L296: ldr w0, [sp, 68] add w0, w0, 1 str w0, [sp, 68] .L292: ldr w0, [sp, 20] sub w0, w0, #1 ldr w1, [sp, 68] cmp w1, w0 blt .L309 ldr d0, [sp, 80] adrp x0, .LC42 ldr d1, [x0, #:lo12:.LC42] fmul d0, d0, d1 str d0, [sp, 80] ldr w0, [sp, 64] add w0, w0, 1 str w0, [sp, 64] .L282: ldr w1, [sp, 64] ldr w0, [sp, 76] cmp w1, w0 ble .L310 b .L291 .L317: nop .L291: str wzr, [sp, 56] b .L311 .L312: ldr w1, [sp, 56] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 56] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 40] add x1, x1, x0 ldrsw x0, [sp, 56] lsl x0, x0, 3 ldr x2, [sp, 32] add x0, x2, x0 ldr d0, [x1] str d0, [x0] ldr w0, [sp, 56] add w0, w0, 1 str w0, [sp, 56] .L311: ldr w1, [sp, 56] ldr w0, [sp, 20] cmp w1, w0 blt .L312 nop nop ldp x29, x30, [sp], 192 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE25: .size jac, .-jac .align 2 .global sortev .type sortev, %function sortev: .LFB26: .cfi_startproc sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, 24] str x1, [sp, 16] str x2, [sp, 8] str w3, [sp, 4] str wzr, [sp, 44] b .L320 .L328: ldr w0, [sp, 44] str w0, [sp, 52] ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 48] b .L321 .L324: ldrsw x0, [sp, 48] lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr d0, [x0] fabs d1, d0 ldrsw x0, [sp, 52] lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr d0, [x0] fabs d0, d0 fcmpe d1, d0 bgt .L329 b .L322 .L329: ldr w0, [sp, 48] str w0, [sp, 52] .L322: ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L321: ldr w1, [sp, 48] ldr w0, [sp, 4] cmp w1, w0 blt .L324 ldr w1, [sp, 52] ldr w0, [sp, 44] cmp w1, w0 beq .L325 ldrsw x0, [sp, 44] lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 56] ldrsw x0, [sp, 52] lsl x0, x0, 3 ldr x1, [sp, 16] add x1, x1, x0 ldrsw x0, [sp, 44] lsl x0, x0, 3 ldr x2, [sp, 16] add x0, x2, x0 ldr d0, [x1] str d0, [x0] ldrsw x0, [sp, 52] lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr d0, [sp, 56] str d0, [x0] str wzr, [sp, 48] b .L326 .L327: ldr w1, [sp, 48] ldr w0, [sp, 4] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 44] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 8] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 56] ldr w1, [sp, 48] ldr w0, [sp, 4] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 52] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 8] add x1, x1, x0 ldr w2, [sp, 48] ldr w0, [sp, 4] mul w0, w2, w0 sxtw x2, w0 ldrsw x0, [sp, 44] add x0, x2, x0 lsl x0, x0, 3 ldr x2, [sp, 8] add x0, x2, x0 ldr d0, [x1] str d0, [x0] ldr w1, [sp, 48] ldr w0, [sp, 4] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 52] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 8] add x0, x1, x0 ldr d0, [sp, 56] str d0, [x0] ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L326: ldr w1, [sp, 48] ldr w0, [sp, 4] cmp w1, w0 blt .L327 .L325: ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L320: ldr w0, [sp, 4] sub w0, w0, #1 ldr w1, [sp, 44] cmp w1, w0 blt .L328 nop nop add sp, sp, 64 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE26: .size sortev, .-sortev .align 2 .global calc_gyakugyouretu .type calc_gyakugyouretu, %function calc_gyakugyouretu: .LFB27: .cfi_startproc stp x29, x30, [sp, -304]! .cfi_def_cfa_offset 304 .cfi_offset 29, -304 .cfi_offset 30, -296 mov x29, sp .cfi_def_cfa_register 29 stp x19, x20, [sp, 16] stp x21, x22, [sp, 32] stp x23, x24, [sp, 48] stp x25, x26, [sp, 64] stp x27, x28, [sp, 80] sub sp, sp, #16 .cfi_offset 19, -288 .cfi_offset 20, -280 .cfi_offset 21, -272 .cfi_offset 22, -264 .cfi_offset 23, -256 .cfi_offset 24, -248 .cfi_offset 25, -240 .cfi_offset 26, -232 .cfi_offset 27, -224 .cfi_offset 28, -216 str x0, [x29, 216] str x1, [x29, 208] str w2, [x29, 204] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [x29, 296] mov x1, 0 mov x0, sp str x0, [x29, 192] ldr w2, [x29, 204] ldr w3, [x29, 204] sxtw x0, w2 sub x0, x0, #1 str x0, [x29, 240] sxtw x0, w2 mov x6, x0 mov x7, 0 lsr x0, x6, 58 lsl x5, x7, 6 orr x5, x0, x5 lsl x4, x6, 6 sxtw x0, w2 lsl x28, x0, 3 sxtw x0, w3 sub x0, x0, #1 str x0, [x29, 248] sxtw x0, w2 mov x14, x0 mov x15, 0 sxtw x0, w3 mov x8, x0 mov x9, 0 mul x1, x14, x8 umulh x0, x14, x8 madd x0, x15, x8, x0 madd x0, x14, x9, x0 str x1, [x29, 176] str x0, [x29, 184] ldp x4, x5, [x29, 176] mov x0, x4 lsr x0, x0, 58 mov x1, x5 lsl x27, x1, 6 orr x27, x0, x27 mov x0, x4 lsl x26, x0, 6 sxtw x0, w2 mov x12, x0 mov x13, 0 sxtw x0, w3 mov x10, x0 mov x11, 0 mul x1, x12, x10 umulh x0, x12, x10 madd x0, x13, x10, x0 madd x0, x12, x11, x0 str x1, [x29, 160] str x0, [x29, 168] ldp x4, x5, [x29, 160] mov x0, x4 lsr x0, x0, 58 mov x1, x5 lsl x25, x1, 6 orr x25, x0, x25 mov x0, x4 lsl x24, x0, 6 sxtw x1, w2 sxtw x0, w3 mul x0, x1, x0 lsl x0, x0, 3 add x0, x0, 15 lsr x0, x0, 4 lsl x0, x0, 4 and x1, x0, -65536 sub x1, sp, x1 .L331: cmp sp, x1 beq .L332 sub sp, sp, #65536 str xzr, [sp, 1024] b .L331 .L332: and x1, x0, 65535 sub sp, sp, x1 str xzr, [sp] and x0, x0, 65535 cmp x0, 1024 bcc .L333 str xzr, [sp, 1024] .L333: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 256] ldr w0, [x29, 204] sxtw x1, w0 sub x1, x1, #1 str x1, [x29, 264] sxtw x1, w0 str x1, [x29, 144] str xzr, [x29, 152] ldp x2, x3, [x29, 144] mov x1, x2 lsr x1, x1, 58 mov x4, x3 lsl x23, x4, 6 orr x23, x1, x23 mov x1, x2 lsl x22, x1, 6 sxtw x1, w0 str x1, [x29, 128] str xzr, [x29, 136] ldp x2, x3, [x29, 128] mov x1, x2 lsr x1, x1, 58 mov x4, x3 lsl x21, x4, 6 orr x21, x1, x21 mov x1, x2 lsl x20, x1, 6 sxtw x0, w0 lsl x0, x0, 3 add x0, x0, 15 lsr x0, x0, 4 lsl x0, x0, 4 and x1, x0, -65536 sub x1, sp, x1 .L334: cmp sp, x1 beq .L335 sub sp, sp, #65536 str xzr, [sp, 1024] b .L334 .L335: and x1, x0, 65535 sub sp, sp, x1 str xzr, [sp] and x0, x0, 65535 cmp x0, 1024 bcc .L336 str xzr, [sp, 1024] .L336: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 272] ldr w0, [x29, 204] sxtw x1, w0 sub x1, x1, #1 str x1, [x29, 280] sxtw x1, w0 str x1, [x29, 112] str xzr, [x29, 120] ldp x2, x3, [x29, 112] mov x1, x2 lsr x1, x1, 59 mov x4, x3 lsl x19, x4, 5 orr x19, x1, x19 mov x1, x2 lsl x18, x1, 5 sxtw x1, w0 str x1, [x29, 96] str xzr, [x29, 104] ldp x2, x3, [x29, 96] mov x1, x2 lsr x1, x1, 59 mov x4, x3 lsl x17, x4, 5 orr x17, x1, x17 mov x1, x2 lsl x16, x1, 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 .L337: cmp sp, x1 beq .L338 sub sp, sp, #65536 str xzr, [sp, 1024] b .L337 .L338: and x1, x0, 65535 sub sp, sp, x1 str xzr, [sp] and x0, x0, 65535 cmp x0, 1024 bcc .L339 str xzr, [sp, 1024] .L339: add x0, sp, 16 add x0, x0, 3 lsr x0, x0, 2 lsl x0, x0, 2 str x0, [x29, 288] add x0, x29, 232 mov x3, x0 ldr x2, [x29, 288] ldr w1, [x29, 204] ldr x0, [x29, 208] bl ludcmp str wzr, [x29, 228] b .L340 .L341: ldr w1, [x29, 228] ldr w0, [x29, 204] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 228] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 208] add x0, x1, x0 ldr d1, [x0] ldr d0, [x29, 232] fmul d0, d1, d0 str d0, [x29, 232] ldr w0, [x29, 228] add w0, w0, 1 str w0, [x29, 228] .L340: ldr w1, [x29, 228] ldr w0, [x29, 204] cmp w1, w0 blt .L341 str wzr, [x29, 228] b .L342 .L347: str wzr, [x29, 224] b .L343 .L344: ldr x0, [x29, 272] ldrsw x1, [x29, 224] str xzr, [x0, x1, lsl 3] ldr w0, [x29, 224] add w0, w0, 1 str w0, [x29, 224] .L343: ldr w1, [x29, 224] ldr w0, [x29, 204] cmp w1, w0 blt .L344 ldr x0, [x29, 272] ldrsw x1, [x29, 228] fmov d0, 1.0e+0 str d0, [x0, x1, lsl 3] ldr x3, [x29, 272] ldr x2, [x29, 288] ldr w1, [x29, 204] ldr x0, [x29, 208] bl lubksb str wzr, [x29, 224] b .L345 .L346: lsr x1, x28, 3 ldr x0, [x29, 272] ldrsw x2, [x29, 224] ldr d0, [x0, x2, lsl 3] ldr x0, [x29, 256] ldrsw x2, [x29, 228] ldrsw x3, [x29, 224] mul x1, x3, x1 add x1, x2, x1 str d0, [x0, x1, lsl 3] ldr w0, [x29, 224] add w0, w0, 1 str w0, [x29, 224] .L345: ldr w1, [x29, 224] ldr w0, [x29, 204] cmp w1, w0 blt .L346 ldr w0, [x29, 228] add w0, w0, 1 str w0, [x29, 228] .L342: ldr w1, [x29, 228] ldr w0, [x29, 204] cmp w1, w0 blt .L347 str wzr, [x29, 224] b .L348 .L351: str wzr, [x29, 228] b .L349 .L350: lsr x2, x28, 3 ldr w1, [x29, 224] ldr w0, [x29, 204] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 228] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 216] add x0, x1, x0 ldr x1, [x29, 256] ldrsw x3, [x29, 228] ldrsw x4, [x29, 224] mul x2, x4, x2 add x2, x3, x2 ldr d0, [x1, x2, lsl 3] str d0, [x0] ldr w0, [x29, 228] add w0, w0, 1 str w0, [x29, 228] .L349: ldr w1, [x29, 228] ldr w0, [x29, 204] cmp w1, w0 blt .L350 ldr w0, [x29, 224] add w0, w0, 1 str w0, [x29, 224] .L348: ldr w1, [x29, 224] ldr w0, [x29, 204] cmp w1, w0 blt .L351 ldr d0, [x29, 232] ldr x0, [x29, 192] mov sp, x0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [x29, 296] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L353 bl __stack_chk_fail .L353: mov sp, x29 ldp x19, x20, [sp, 16] ldp x21, x22, [sp, 32] ldp x23, x24, [sp, 48] ldp x25, x26, [sp, 64] ldp x27, x28, [sp, 80] ldp x29, x30, [sp], 304 .cfi_restore 30 .cfi_restore 29 .cfi_restore 27 .cfi_restore 28 .cfi_restore 25 .cfi_restore 26 .cfi_restore 23 .cfi_restore 24 .cfi_restore 21 .cfi_restore 22 .cfi_restore 19 .cfi_restore 20 .cfi_def_cfa 31, 0 ret .cfi_endproc .LFE27: .size calc_gyakugyouretu, .-calc_gyakugyouretu .section .rodata .align 3 .LC43: .string "Singular matrix in routine ludcmp" .text .align 2 .global ludcmp .type ludcmp, %function ludcmp: .LFB28: .cfi_startproc stp x29, x30, [sp, -144]! .cfi_def_cfa_offset 144 .cfi_offset 29, -144 .cfi_offset 30, -136 mov x29, sp .cfi_def_cfa_register 29 str x19, [sp, 16] sub sp, sp, #16 .cfi_offset 19, -128 str x0, [x29, 56] str w1, [x29, 52] str x2, [x29, 40] str x3, [x29, 32] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [x29, 136] mov x1, 0 mov x0, sp mov x19, x0 str wzr, [x29, 76] ldr w0, [x29, 52] sxtw x1, w0 sub x1, x1, #1 str x1, [x29, 104] sxtw x1, w0 mov x10, x1 mov x11, 0 lsr x1, x10, 58 lsl x7, x11, 6 orr x7, x1, x7 lsl x6, x10, 6 sxtw x1, w0 mov x8, x1 mov x9, 0 lsr x1, x8, 58 lsl x5, x9, 6 orr x5, x1, x5 lsl x4, x8, 6 sxtw x0, w0 lsl x0, x0, 3 add x0, x0, 15 lsr x0, x0, 4 lsl x0, x0, 4 and x1, x0, -65536 sub x1, sp, x1 .L355: cmp sp, x1 beq .L356 sub sp, sp, #65536 str xzr, [sp, 1024] b .L355 .L356: and x1, x0, 65535 sub sp, sp, x1 str xzr, [sp] and x0, x0, 65535 cmp x0, 1024 bcc .L357 str xzr, [sp, 1024] .L357: add x0, sp, 16 add x0, x0, 7 lsr x0, x0, 3 lsl x0, x0, 3 str x0, [x29, 112] ldr x0, [x29, 32] fmov d0, 1.0e+0 str d0, [x0] str wzr, [x29, 72] b .L358 .L364: str xzr, [x29, 88] str wzr, [x29, 80] b .L359 .L362: ldr w1, [x29, 72] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x0] fabs d0, d0 str d0, [x29, 128] ldr d1, [x29, 128] ldr d0, [x29, 88] fcmpe d1, d0 bgt .L386 b .L360 .L386: ldr d0, [x29, 128] str d0, [x29, 88] .L360: ldr w0, [x29, 80] add w0, w0, 1 str w0, [x29, 80] .L359: ldr w1, [x29, 80] ldr w0, [x29, 52] cmp w1, w0 blt .L362 ldr d0, [x29, 88] fcmp d0, #0.0 bne .L363 adrp x0, .LC43 add x0, x0, :lo12:.LC43 bl error1 .L363: ldr d0, [x29, 88] fmov d1, 1.0e+0 fdiv d0, d1, d0 ldr x0, [x29, 112] ldrsw x1, [x29, 72] str d0, [x0, x1, lsl 3] ldr w0, [x29, 72] add w0, w0, 1 str w0, [x29, 72] .L358: ldr w1, [x29, 72] ldr w0, [x29, 52] cmp w1, w0 blt .L364 str wzr, [x29, 80] b .L365 .L384: str wzr, [x29, 72] b .L366 .L369: ldr w1, [x29, 72] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x0] str d0, [x29, 96] str wzr, [x29, 84] b .L367 .L368: ldr w1, [x29, 72] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 84] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d1, [x0] ldr w1, [x29, 84] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x0] fmul d0, d1, d0 ldr d1, [x29, 96] fsub d0, d1, d0 str d0, [x29, 96] ldr w0, [x29, 84] add w0, w0, 1 str w0, [x29, 84] .L367: ldr w1, [x29, 84] ldr w0, [x29, 72] cmp w1, w0 blt .L368 ldr w1, [x29, 72] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x29, 96] str d0, [x0] ldr w0, [x29, 72] add w0, w0, 1 str w0, [x29, 72] .L366: ldr w1, [x29, 72] ldr w0, [x29, 80] cmp w1, w0 blt .L369 str xzr, [x29, 88] ldr w0, [x29, 80] str w0, [x29, 72] b .L370 .L375: ldr w1, [x29, 72] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x0] str d0, [x29, 96] str wzr, [x29, 84] b .L371 .L372: ldr w1, [x29, 72] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 84] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d1, [x0] ldr w1, [x29, 84] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x0] fmul d0, d1, d0 ldr d1, [x29, 96] fsub d0, d1, d0 str d0, [x29, 96] ldr w0, [x29, 84] add w0, w0, 1 str w0, [x29, 84] .L371: ldr w1, [x29, 84] ldr w0, [x29, 80] cmp w1, w0 blt .L372 ldr w1, [x29, 72] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x29, 96] str d0, [x0] ldr x0, [x29, 112] ldrsw x1, [x29, 72] ldr d1, [x0, x1, lsl 3] ldr d0, [x29, 96] fabs d0, d0 fmul d0, d1, d0 str d0, [x29, 120] ldr d1, [x29, 120] ldr d0, [x29, 88] fcmpe d1, d0 bge .L387 b .L373 .L387: ldr d0, [x29, 120] str d0, [x29, 88] ldr w0, [x29, 72] str w0, [x29, 76] .L373: ldr w0, [x29, 72] add w0, w0, 1 str w0, [x29, 72] .L370: ldr w1, [x29, 72] ldr w0, [x29, 52] cmp w1, w0 blt .L375 ldr w1, [x29, 80] ldr w0, [x29, 76] cmp w1, w0 beq .L376 str wzr, [x29, 84] b .L377 .L378: ldr w1, [x29, 76] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 84] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x0] str d0, [x29, 120] ldr w1, [x29, 80] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 84] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x1, x1, x0 ldr w2, [x29, 76] ldr w0, [x29, 52] mul w0, w2, w0 sxtw x2, w0 ldrsw x0, [x29, 84] add x0, x2, x0 lsl x0, x0, 3 ldr x2, [x29, 56] add x0, x2, x0 ldr d0, [x1] str d0, [x0] ldr w1, [x29, 80] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 84] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x29, 120] str d0, [x0] ldr w0, [x29, 84] add w0, w0, 1 str w0, [x29, 84] .L377: ldr w1, [x29, 84] ldr w0, [x29, 52] cmp w1, w0 blt .L378 ldr x0, [x29, 32] ldr d0, [x0] fneg d0, d0 ldr x0, [x29, 32] str d0, [x0] ldr x0, [x29, 112] ldrsw x1, [x29, 80] ldr d0, [x0, x1, lsl 3] ldr x0, [x29, 112] ldrsw x1, [x29, 76] str d0, [x0, x1, lsl 3] .L376: ldrsw x0, [x29, 80] lsl x0, x0, 2 ldr x1, [x29, 40] add x0, x1, x0 ldr w1, [x29, 76] str w1, [x0] ldr w1, [x29, 80] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x0] fabs d0, d0 adrp x0, .LC44 ldr d1, [x0, #:lo12:.LC44] fcmpe d0, d1 bmi .L388 b .L379 .L388: ldr w1, [x29, 80] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 adrp x1, .LC44 ldr d0, [x1, #:lo12:.LC44] str d0, [x0] .L379: ldr w0, [x29, 52] sub w0, w0, #1 ldr w1, [x29, 80] cmp w1, w0 beq .L381 ldr w1, [x29, 80] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x0] fmov d1, 1.0e+0 fdiv d0, d1, d0 str d0, [x29, 120] ldr w0, [x29, 80] add w0, w0, 1 str w0, [x29, 72] b .L382 .L383: ldr w1, [x29, 72] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d1, [x0] ldr w1, [x29, 72] ldr w0, [x29, 52] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [x29, 80] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [x29, 56] add x0, x1, x0 ldr d0, [x29, 120] fmul d0, d1, d0 str d0, [x0] ldr w0, [x29, 72] add w0, w0, 1 str w0, [x29, 72] .L382: ldr w1, [x29, 72] ldr w0, [x29, 52] cmp w1, w0 blt .L383 .L381: ldr w0, [x29, 80] add w0, w0, 1 str w0, [x29, 80] .L365: ldr w1, [x29, 80] ldr w0, [x29, 52] cmp w1, w0 blt .L384 mov sp, x19 nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [x29, 136] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L385 bl __stack_chk_fail .L385: mov sp, x29 ldr x19, [sp, 16] ldp x29, x30, [sp], 144 .cfi_restore 30 .cfi_restore 29 .cfi_restore 19 .cfi_def_cfa 31, 0 ret .cfi_endproc .LFE28: .size ludcmp, .-ludcmp .align 2 .global lubksb .type lubksb, %function lubksb: .LFB29: .cfi_startproc sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, 24] str w1, [sp, 20] str x2, [sp, 8] str x3, [sp] mov w0, -1 str w0, [sp, 44] str wzr, [sp, 40] b .L390 .L395: ldrsw x0, [sp, 40] lsl x0, x0, 2 ldr x1, [sp, 8] add x0, x1, x0 ldr w0, [x0] str w0, [sp, 52] ldrsw x0, [sp, 52] lsl x0, x0, 3 ldr x1, [sp] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 56] ldrsw x0, [sp, 40] lsl x0, x0, 3 ldr x1, [sp] add x1, x1, x0 ldrsw x0, [sp, 52] lsl x0, x0, 3 ldr x2, [sp] add x0, x2, x0 ldr d0, [x1] str d0, [x0] ldr w0, [sp, 44] cmp w0, 0 blt .L391 ldr w0, [sp, 44] str w0, [sp, 48] b .L392 .L393: ldr w1, [sp, 40] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 48] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d1, [x0] ldrsw x0, [sp, 48] lsl x0, x0, 3 ldr x1, [sp] add x0, x1, x0 ldr d0, [x0] fmul d0, d1, d0 ldr d1, [sp, 56] fsub d0, d1, d0 str d0, [sp, 56] ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L392: ldr w1, [sp, 40] ldr w0, [sp, 48] cmp w1, w0 bgt .L393 b .L394 .L391: ldr d0, [sp, 56] fcmp d0, #0.0 beq .L394 ldr w0, [sp, 40] str w0, [sp, 44] .L394: ldrsw x0, [sp, 40] lsl x0, x0, 3 ldr x1, [sp] add x0, x1, x0 ldr d0, [sp, 56] str d0, [x0] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L390: ldr w1, [sp, 40] ldr w0, [sp, 20] cmp w1, w0 blt .L395 ldr w0, [sp, 20] sub w0, w0, #1 str w0, [sp, 40] b .L396 .L399: ldrsw x0, [sp, 40] lsl x0, x0, 3 ldr x1, [sp] add x0, x1, x0 ldr d0, [x0] str d0, [sp, 56] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 48] b .L397 .L398: ldr w1, [sp, 40] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 48] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d1, [x0] ldrsw x0, [sp, 48] lsl x0, x0, 3 ldr x1, [sp] add x0, x1, x0 ldr d0, [x0] fmul d0, d1, d0 ldr d1, [sp, 56] fsub d0, d1, d0 str d0, [sp, 56] ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L397: ldr w1, [sp, 48] ldr w0, [sp, 20] cmp w1, w0 blt .L398 ldr w1, [sp, 40] ldr w0, [sp, 20] mul w0, w1, w0 sxtw x1, w0 ldrsw x0, [sp, 40] add x0, x1, x0 lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d0, [x0] ldrsw x0, [sp, 40] lsl x0, x0, 3 ldr x1, [sp] add x0, x1, x0 ldr d1, [sp, 56] fdiv d0, d1, d0 str d0, [x0] ldr w0, [sp, 40] sub w0, w0, #1 str w0, [sp, 40] .L396: ldr w0, [sp, 40] cmp w0, 0 bge .L399 nop nop add sp, sp, 64 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE29: .size lubksb, .-lubksb .section .rodata .align 3 .LC45: .string "Irregal max_dim in calc_chujitudo()" .text .align 2 .global calc_chujitudo .type calc_chujitudo, %function calc_chujitudo: .LFB30: .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] str xzr, [sp, 48] str xzr, [sp, 56] ldr w1, [sp, 16] ldr w0, [sp, 20] cmp w1, w0 ble .L401 adrp x0, .LC45 add x0, x0, :lo12:.LC45 bl error1 .L401: str wzr, [sp, 44] b .L402 .L403: ldrsw x0, [sp, 44] lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d0, [x0] ldr d1, [sp, 56] fadd d0, d1, d0 str d0, [sp, 56] ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L402: ldr w1, [sp, 44] ldr w0, [sp, 20] cmp w1, w0 blt .L403 str wzr, [sp, 44] b .L404 .L405: ldrsw x0, [sp, 44] lsl x0, x0, 3 ldr x1, [sp, 24] add x0, x1, x0 ldr d0, [x0] ldr d1, [sp, 48] fadd d0, d1, d0 str d0, [sp, 48] ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L404: ldr w1, [sp, 44] ldr w0, [sp, 16] cmp w1, w0 blt .L405 ldr d0, [sp, 56] ldr d1, [sp, 48] fdiv d0, d1, d0 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE30: .size calc_chujitudo, .-calc_chujitudo .section .rodata .align 3 .LC22: .word -400107883 .word 1041313291 .align 3 .LC23: .word -2004877312 .word -1044160253 .align 3 .LC24: .word -1848553924 .word 1071644252 .align 3 .LC39: .word -1598689907 .word 1051772663 .align 3 .LC40: .word -755914244 .word 1062232653 .align 3 .LC41: .word 1708926943 .word 1073127582 .align 3 .LC42: .word -858993459 .word 1072745676 .align 3 .LC44: .word 210911779 .word 1002937505 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "Hello message 1" .align 3 .LC1: .string "Hello message 2" .align 3 .LC2: .string "Hello message 3" .align 3 .LC3: .string "Hello message 4" .align 3 .LC4: .string "Hello message 5" .align 3 .LC5: .string "Hello message 6" .align 3 .LC6: .string "Hello message 7" .align 3 .LC7: .string "Hello message 8" .align 3 .LC8: .string "Hello message 9" .align 3 .LC9: .string "Hello message 10" .section .data.rel.local,"aw" .align 3 .type msg, %object .size msg, 80 msg: .xword .LC0 .xword .LC1 .xword .LC2 .xword .LC3 .xword .LC4 .xword .LC5 .xword .LC6 .xword .LC7 .xword .LC8 .xword .LC9 .section .rodata .align 3 .LC10: .string "/mq" .align 3 .LC11: .string "Message queue create failed" .align 3 .LC12: .string "Message queue created" .align 3 .LC13: .string "Get attribute failed" .align 3 .LC14: .string "Send message failed" .align 3 .LC15: .string "Send message: %s\n" .align 3 .LC16: .string "Message queue close failed" .align 3 .LC17: .string "Message queue closed" .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 str x19, [sp, 16] .cfi_offset 19, -144 str w0, [sp, 44] str x1, [sp, 32] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 152] mov x1, 0 mov w0, 2114 str w0, [sp, 60] mov x0, 10 str x0, [sp, 80] mov w0, 384 str w0, [sp, 64] str wzr, [sp, 68] mov x3, 0 ldr w2, [sp, 64] ldr w1, [sp, 60] adrp x0, .LC10 add x0, x0, :lo12:.LC10 bl mq_open str w0, [sp, 68] ldr w0, [sp, 68] cmn w0, #1 bne .L2 adrp x0, .LC11 add x0, x0, :lo12:.LC11 bl perror mov w0, 1 bl exit .L2: adrp x0, .LC12 add x0, x0, :lo12:.LC12 bl puts add x0, sp, 88 mov x1, x0 ldr w0, [sp, 68] bl mq_getattr cmn w0, #1 bne .L3 adrp x0, .LC13 add x0, x0, :lo12:.LC13 bl perror mov w0, 1 bl exit .L3: str xzr, [sp, 72] b .L4 .L6: adrp x0, msg add x0, x0, :lo12:msg ldr x1, [sp, 72] ldr x19, [x0, x1, lsl 3] adrp x0, msg add x0, x0, :lo12:msg ldr x1, [sp, 72] ldr x0, [x0, x1, lsl 3] bl strlen add x0, x0, 1 mov w3, 0 mov x2, x0 mov x1, x19 ldr w0, [sp, 68] bl mq_send cmn w0, #1 bne .L5 adrp x0, .LC14 add x0, x0, :lo12:.LC14 bl perror mov w0, 1 bl exit .L5: adrp x0, msg add x0, x0, :lo12:msg ldr x1, [sp, 72] ldr x0, [x0, x1, lsl 3] mov x1, x0 adrp x0, .LC15 add x0, x0, :lo12:.LC15 bl printf ldr x0, [sp, 72] add x0, x0, 1 str x0, [sp, 72] .L4: ldr x1, [sp, 72] ldr x0, [sp, 80] cmp x1, x0 bne .L6 ldr w0, [sp, 68] bl mq_close cmn w0, #1 bne .L7 adrp x0, .LC16 add x0, x0, :lo12:.LC16 bl perror mov w0, 1 bl exit .L7: adrp x0, .LC17 add x0, x0, :lo12:.LC17 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, 152] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L9 bl __stack_chk_fail .L9: mov w0, w1 ldr x19, [sp, 16] ldp x29, x30, [sp], 160 .cfi_restore 30 .cfi_restore 29 .cfi_restore 19 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global current_execution_context .bss .align 2 .type current_execution_context, %object .size current_execution_context, 4 current_execution_context: .zero 4 .global _ddv_module_init .align 3 .type _ddv_module_init, %object .size _ddv_module_init, 8 _ddv_module_init: .zero 8 .global _ddv_module_exit .align 3 .type _ddv_module_exit, %object .size _ddv_module_exit, 8 _ddv_module_exit: .zero 8 .text .align 2 .global pthread_create .type pthread_create, %function pthread_create: .LFB0: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 40] str x1, [sp, 32] str x2, [sp, 24] str x3, [sp, 16] bl nondet_pthread_t mov w1, w0 ldr x0, [sp, 40] str w1, [x0] ldr x1, [sp, 24] ldr x0, [sp, 16] blr x1 mov w0, 0 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size pthread_create, .-pthread_create .global jiffies .bss .align 3 .type jiffies, %object .size jiffies, 8 jiffies: .zero 8 .global fixed_cdev .align 3 .type fixed_cdev, %object .size fixed_cdev, 240 fixed_cdev: .zero 240 .global fixed_cdev_used .align 2 .type fixed_cdev_used, %object .size fixed_cdev_used, 4 fixed_cdev_used: .zero 4 .global number_cdev_registered .align 1 .type number_cdev_registered, %object .size number_cdev_registered, 2 number_cdev_registered: .zero 2 .global cdev_registered .align 3 .type cdev_registered, %object .size cdev_registered, 1120 cdev_registered: .zero 1120 .text .align 2 .global call_cdev_functions .type call_cdev_functions, %function call_cdev_functions: .LFB1: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 72] mov x1, 0 adrp x0, number_cdev_registered add x0, x0, :lo12:number_cdev_registered ldrsh w0, [x0] cmp w0, 0 beq .L47 bl nondet_ushort strh w0, [sp, 28] ldrh w0, [sp, 28] str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 0 blt .L6 adrp x0, number_cdev_registered add x0, x0, :lo12:number_cdev_registered ldrsh w0, [x0] mov w1, w0 ldr w0, [sp, 36] cmp w0, w1 bge .L7 mov w0, 1 str w0, [sp, 32] b .L8 .L7: str wzr, [sp, 32] b .L8 .L6: str wzr, [sp, 32] .L8: ldr w0, [sp, 32] bl __CPROVER_assume bl nondet_ushort strh w0, [sp, 30] ldrh w0, [sp, 30] cmp w0, 26 bhi .L48 adrp x1, .L11 add x1, x1, :lo12:.L11 ldr w0, [x1,w0,uxtw #2] adr x1, .Lrtx11 add x0, x1, w0, sxtw #2 br x0 .Lrtx11: .section .rodata .align 0 .align 2 .L11: .word (.L37 - .Lrtx11) / 4 .word (.L36 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L34 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L30 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L26 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L24 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .word (.L49 - .Lrtx11) / 4 .text .L37: adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x0, [x0, 8] cmp x0, 0 beq .L50 bl nondet_loff_t str x0, [sp, 56] bl nondet_int str w0, [sp, 52] adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x3, [x0, 8] ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 adrp x1, cdev_registered add x1, x1, :lo12:cdev_registered add x0, x0, x1 add x0, x0, 8 ldr x1, [sp, 56] ldr w2, [sp, 52] blr x3 b .L50 .L36: adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x0, [x0, 16] cmp x0, 0 beq .L51 bl nondet_char and w0, w0, 255 strb w0, [sp, 27] bl nondet_size_t str w0, [sp, 48] adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x4, [x0, 16] ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 adrp x1, cdev_registered add x1, x1, :lo12:cdev_registered add x0, x0, x1 add x0, x0, 8 add x2, sp, 56 add x1, sp, 27 mov x3, x2 ldr w2, [sp, 48] blr x4 b .L51 .L34: adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x0, [x0, 24] cmp x0, 0 beq .L52 bl nondet_char and w0, w0, 255 strb w0, [sp, 27] bl nondet_size_t str w0, [sp, 48] adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x4, [x0, 24] ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 adrp x1, cdev_registered add x1, x1, :lo12:cdev_registered add x0, x0, x1 add x0, x0, 8 add x2, sp, 56 add x1, sp, 27 mov x3, x2 ldr w2, [sp, 48] blr x4 b .L52 .L30: adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x0, [x0, 48] cmp x0, 0 beq .L53 bl nondet_uint str w0, [sp, 44] bl nondet_ulong str x0, [sp, 64] adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x4, [x0, 48] ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x1, x0, 64 adrp x0, cdev_registered add x0, x0, :lo12:cdev_registered add x5, x1, x0 ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 adrp x1, cdev_registered add x1, x1, :lo12:cdev_registered add x0, x0, x1 add x0, x0, 8 ldr x3, [sp, 64] ldr w2, [sp, 44] mov x1, x0 mov x0, x5 blr x4 b .L53 .L26: adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x0, [x0, 80] cmp x0, 0 beq .L54 adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr w0, [x0, 104] cmp w0, 0 bne .L54 adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x2, [x0, 80] ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x1, x0, 64 adrp x0, cdev_registered add x0, x0, :lo12:cdev_registered add x3, x1, x0 ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 adrp x1, cdev_registered add x1, x1, :lo12:cdev_registered add x0, x0, x1 add x0, x0, 8 mov x1, x0 mov x0, x3 blr x2 str w0, [sp, 40] ldr w0, [sp, 40] cmp w0, 0 bne .L54 adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 mov w1, 1 str w1, [x0, 104] b .L54 .L24: adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x0, [x0, 96] cmp x0, 0 beq .L55 adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr w0, [x0, 104] cmp w0, 0 beq .L55 adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 8] ldr x2, [x0, 96] ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x1, x0, 64 adrp x0, cdev_registered add x0, x0, :lo12:cdev_registered add x3, x1, x0 ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 adrp x1, cdev_registered add x1, x1, :lo12:cdev_registered add x0, x0, x1 add x0, x0, 8 mov x1, x0 mov x0, x3 blr x2 str w0, [sp, 40] ldr w0, [sp, 40] cmp w0, 0 bne .L55 adrp x0, cdev_registered add x2, x0, :lo12:cdev_registered ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 3 sub x0, x0, x1 lsl x0, x0, 4 add x0, x2, x0 str wzr, [x0, 104] b .L55 .L48: nop b .L3 .L49: nop b .L3 .L50: nop b .L3 .L51: nop b .L3 .L52: nop b .L3 .L53: nop b .L3 .L54: nop b .L3 .L55: nop b .L3 .L47: nop .L3: adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 72] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L46 bl __stack_chk_fail .L46: ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size call_cdev_functions, .-call_cdev_functions .align 2 .global pthread_mutex_init .type pthread_mutex_init, %function pthread_mutex_init: .LFB10: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str x1, [sp] strb wzr, [sp, 24] ldr x0, [sp, 8] ldrb w1, [sp, 24] strb w1, [x0] mov w0, 0 add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE10: .size pthread_mutex_init, .-pthread_mutex_init .align 2 .global pthread_mutex_destroy .type pthread_mutex_destroy, %function pthread_mutex_destroy: .LFB11: .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 .LFE11: .size pthread_mutex_destroy, .-pthread_mutex_destroy .align 2 .global pthread_mutex_lock .type pthread_mutex_lock, %function pthread_mutex_lock: .LFB12: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] bl __CPROVER_atomic_begin ldr x0, [sp, 24] ldrb w0, [x0] eor w0, w0, 1 and w0, w0, 255 bl __CPROVER_assume ldr x0, [sp, 24] mov w1, 1 strb w1, [x0] bl __CPROVER_atomic_end mov w0, 0 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE12: .size pthread_mutex_lock, .-pthread_mutex_lock .section .rodata .align 3 .LC0: .string "pthread_mutex_unlock without lock" .text .align 2 .global pthread_mutex_unlock .type pthread_mutex_unlock, %function pthread_mutex_unlock: .LFB13: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] ldrb w0, [x0] mov w2, w0 adrp x0, .LC0 add x1, x0, :lo12:.LC0 mov w0, w2 bl __CPROVER_assert ldr x0, [sp, 24] strb wzr, [x0] mov w0, 0 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE13: .size pthread_mutex_unlock, .-pthread_mutex_unlock .global number_genhd_registered .bss .align 1 .type number_genhd_registered, %object .size number_genhd_registered, 2 number_genhd_registered: .zero 2 .global number_fixed_genhd_used .align 1 .type number_fixed_genhd_used, %object .size number_fixed_genhd_used, 2 number_fixed_genhd_used: .zero 2 .global fixed_gendisk .align 3 .type fixed_gendisk, %object .size fixed_gendisk, 1520 fixed_gendisk: .zero 1520 .global genhd_registered .align 3 .type genhd_registered, %object .size genhd_registered, 2480 genhd_registered: .zero 2480 .global registered_pci_driver .align 3 .type registered_pci_driver, %object .size registered_pci_driver, 448 registered_pci_driver: .zero 448 .global registered_irq .align 3 .type registered_irq, %object .size registered_irq, 256 registered_irq: .zero 256 .global number_tasklet_registered .align 1 .type number_tasklet_registered, %object .size number_tasklet_registered, 2 number_tasklet_registered: .zero 2 .global tasklet_registered .align 3 .type tasklet_registered, %object .size tasklet_registered, 160 tasklet_registered: .zero 160 .global number_timer_registered .align 1 .type number_timer_registered, %object .size number_timer_registered, 2 number_timer_registered: .zero 2 .global timer_registered .align 3 .type timer_registered, %object .size timer_registered, 40 timer_registered: .zero 40 .global shared_workqueue .align 3 .type shared_workqueue, %object .size shared_workqueue, 80 shared_workqueue: .zero 80 .global kernel_lock .align 3 .type kernel_lock, %object .size kernel_lock, 8 kernel_lock: .zero 8 .text .align 2 .global init_kernel .type init_kernel, %function init_kernel: .LFB14: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp adrp x0, kernel_lock add x0, x0, :lo12:kernel_lock bl spin_lock_init str wzr, [sp, 28] b .L65 .L66: adrp x0, shared_workqueue add x0, x0, :lo12:shared_workqueue ldrsw x1, [sp, 28] str xzr, [x0, x1, lsl 3] ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L65: ldr w0, [sp, 28] cmp w0, 9 ble .L66 str wzr, [sp, 28] b .L67 .L68: adrp x0, tasklet_registered add x1, x0, :lo12:tasklet_registered ldrsw x0, [sp, 28] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0] adrp x0, tasklet_registered add x1, x0, :lo12:tasklet_registered ldrsw x0, [sp, 28] lsl x0, x0, 4 add x0, x1, x0 strh wzr, [x0, 8] ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L67: ldr w0, [sp, 28] cmp w0, 9 ble .L68 nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE14: .size init_kernel, .-init_kernel .align 2 .type ddv_2, %function ddv_2: .LFB15: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] .L80: bl nondet_ushort strh w0, [sp, 46] ldrh w0, [sp, 46] cmp w0, 5 beq .L71 cmp w0, 5 bgt .L83 cmp w0, 4 beq .L73 cmp w0, 4 bgt .L83 cmp w0, 3 beq .L74 cmp w0, 3 bgt .L83 cmp w0, 1 beq .L75 cmp w0, 2 beq .L76 b .L83 .L75: adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 2 str w1, [x0] bl call_timer_functions adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 1 str w1, [x0] b .L77 .L76: adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 2 str w1, [x0] bl call_interrupt_handler adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 1 str w1, [x0] b .L77 .L74: adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 1 str w1, [x0] bl call_shared_workqueue_functions adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 1 str w1, [x0] b .L77 .L73: adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 2 str w1, [x0] bl call_tasklet_functions adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 1 str w1, [x0] b .L77 .L71: adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 1 str w1, [x0] bl call_pci_functions adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 1 str w1, [x0] b .L77 .L83: nop .L77: ldrh w0, [sp, 46] cmp w0, 0 beq .L84 b .L80 .L84: nop mov x0, 0 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE15: .size ddv_2, .-ddv_2 .align 2 .global ddv .type ddv, %function ddv: .LFB16: .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 x4, sp, 16 mov x3, 0 adrp x0, ddv_2 add x2, x0, :lo12:ddv_2 mov x1, 0 mov x0, x4 bl pthread_create .L88: adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 1 str w1, [x0] bl call_cdev_functions bl nondet_int str w0, [sp, 20] ldr w0, [sp, 20] cmp w0, 0 beq .L92 b .L88 .L92: nop nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 24] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L90 bl __stack_chk_fail .L90: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE16: .size ddv, .-ddv .align 2 .global call_ddv .type call_ddv, %function call_ddv: .LFB17: .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, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 1 str w1, [x0] bl init_kernel adrp x0, _ddv_module_init add x0, x0, :lo12:_ddv_module_init ldr x0, [x0] blr x0 str w0, [sp, 28] ldr w0, [sp, 28] cmp w0, 0 beq .L94 mov w0, -1 b .L95 .L94: bl ddv adrp x0, current_execution_context add x0, x0, :lo12:current_execution_context mov w1, 1 str w1, [x0] adrp x0, _ddv_module_exit add x0, x0, :lo12:_ddv_module_exit ldr x0, [x0] blr x0 mov w0, 0 .L95: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE17: .size call_ddv, .-call_ddv .align 2 .global register_blkdev .type register_blkdev, %function register_blkdev: .LFB18: .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] bl nondet_int str w0, [sp, 40] ldr w0, [sp, 40] str w0, [sp, 44] ldr w0, [sp, 44] ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE18: .size register_blkdev, .-register_blkdev .align 2 .global unregister_blkdev .type unregister_blkdev, %function unregister_blkdev: .LFB19: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, 12] str x1, [sp] mov w0, 0 add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE19: .size unregister_blkdev, .-unregister_blkdev .align 2 .global alloc_disk .type alloc_disk, %function alloc_disk: .LFB20: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] adrp x0, number_fixed_genhd_used add x0, x0, :lo12:number_fixed_genhd_used ldrsh w0, [x0] cmp w0, 9 bgt .L101 adrp x0, number_fixed_genhd_used add x0, x0, :lo12:number_fixed_genhd_used ldrsh w0, [x0] 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, 3 adrp x1, fixed_gendisk add x1, x1, :lo12:fixed_gendisk add x0, x0, x1 str x0, [sp, 24] ldr x0, [sp, 24] ldr w1, [sp, 12] str w1, [x0, 8] adrp x0, number_fixed_genhd_used add x0, x0, :lo12:number_fixed_genhd_used ldrsh w0, [x0] and w0, w0, 65535 add w0, w0, 1 and w0, w0, 65535 sxth w1, w0 adrp x0, number_fixed_genhd_used add x0, x0, :lo12:number_fixed_genhd_used strh w1, [x0] ldr x0, [sp, 24] b .L102 .L101: mov x0, 0 .L102: add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE20: .size alloc_disk, .-alloc_disk .align 2 .global add_disk .type add_disk, %function add_disk: .LFB21: .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, number_genhd_registered add x0, x0, :lo12:number_genhd_registered ldrsh w0, [x0] cmp w0, 9 bgt .L106 adrp x0, number_genhd_registered add x0, x0, :lo12:number_genhd_registered ldrsh w0, [x0] mov w1, w0 adrp x0, genhd_registered add x2, x0, :lo12:genhd_registered sxtw x1, w1 mov x0, x1 lsl x0, x0, 5 sub x0, x0, x1 lsl x0, x0, 3 add x0, x2, x0 ldr x1, [sp, 24] str x1, [x0] mov w0, 32 bl malloc str x0, [sp, 40] adrp x0, number_genhd_registered add x0, x0, :lo12:number_genhd_registered ldrsh w0, [x0] mov w1, w0 adrp x0, genhd_registered add x2, x0, :lo12:genhd_registered sxtw x1, w1 mov x0, x1 lsl x0, x0, 5 sub x0, x0, x1 lsl x0, x0, 3 add x0, x2, x0 ldr x1, [sp, 40] str x1, [x0, 16] adrp x0, number_genhd_registered add x0, x0, :lo12:number_genhd_registered ldrsh w0, [x0] mov w1, w0 adrp x0, genhd_registered add x2, x0, :lo12:genhd_registered sxtw x1, w1 mov x0, x1 lsl x0, x0, 5 sub x0, x0, x1 lsl x0, x0, 3 add x0, x2, x0 ldr x0, [x0, 16] ldr x1, [sp, 24] str x1, [x0, 8] adrp x0, number_genhd_registered add x0, x0, :lo12:number_genhd_registered ldrsh w0, [x0] and w0, w0, 65535 add w0, w0, 1 and w0, w0, 65535 sxth w1, w0 adrp x0, number_genhd_registered add x0, x0, :lo12:number_genhd_registered strh w1, [x0] nop .L106: nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE21: .size add_disk, .-add_disk .align 2 .global del_gendisk .type del_gendisk, %function del_gendisk: .LFB22: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str wzr, [sp, 28] b .L108 .L110: adrp x0, genhd_registered add x2, x0, :lo12:genhd_registered ldrsw x1, [sp, 28] mov x0, x1 lsl x0, x0, 5 sub x0, x0, x1 lsl x0, x0, 3 add x0, x2, x0 ldr x0, [x0] mov x1, x0 ldr x0, [sp, 8] cmp x1, x0 bne .L109 adrp x0, genhd_registered add x2, x0, :lo12:genhd_registered ldrsw x1, [sp, 28] mov x0, x1 lsl x0, x0, 5 sub x0, x0, x1 lsl x0, x0, 3 add x0, x2, x0 str xzr, [x0] .L109: ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L108: adrp x0, number_genhd_registered add x0, x0, :lo12:number_genhd_registered ldrsh w0, [x0] mov w1, w0 ldr w0, [sp, 28] cmp w0, w1 blt .L110 nop add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE22: .size del_gendisk, .-del_gendisk .align 2 .global call_interrupt_handler .type call_interrupt_handler, %function call_interrupt_handler: .LFB23: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 bl nondet_int str w0, [sp, 36] ldr w0, [sp, 36] strh w0, [sp, 30] ldrh w0, [sp, 30] cmp w0, 15 cset w0, ls and w0, w0, 255 bl __CPROVER_assume ldrh w2, [sp, 30] adrp x0, registered_irq add x1, x0, :lo12:registered_irq sxtw x0, w2 lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] cmp x0, 0 beq .L116 ldrh w2, [sp, 30] adrp x0, registered_irq add x1, x0, :lo12:registered_irq sxtw x0, w2 lsl x0, x0, 4 add x0, x1, x0 ldr x3, [x0] ldrh w4, [sp, 30] ldrh w2, [sp, 30] adrp x0, registered_irq add x1, x0, :lo12:registered_irq sxtw x0, w2 lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0, 8] add x1, sp, 32 mov x2, x1 mov x1, x0 mov w0, w4 blr x3 nop .L116: 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 .L115 bl __stack_chk_fail .L115: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE23: .size call_interrupt_handler, .-call_interrupt_handler .global fixed_request_queue .bss .align 3 .type fixed_request_queue, %object .size fixed_request_queue, 880 fixed_request_queue: .zero 880 .global number_request_queue_used .align 2 .type number_request_queue_used, %object .size number_request_queue_used, 4 number_request_queue_used: .zero 4 .text .align 2 .global get_fixed_request_queue .type get_fixed_request_queue, %function get_fixed_request_queue: .LFB24: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 adrp x0, number_request_queue_used add x0, x0, :lo12:number_request_queue_used ldr w0, [x0] cmp w0, 9 bgt .L118 adrp x0, number_request_queue_used add x0, x0, :lo12:number_request_queue_used ldr w0, [x0] str w0, [sp, 12] adrp x0, number_request_queue_used add x0, x0, :lo12:number_request_queue_used ldr w0, [x0] add w1, w0, 1 adrp x0, number_request_queue_used add x0, x0, :lo12:number_request_queue_used str w1, [x0] ldrsw x1, [sp, 12] mov x0, x1 lsl x0, x0, 1 add x0, x0, x1 lsl x0, x0, 2 sub x0, x0, x1 lsl x0, x0, 3 adrp x1, fixed_request_queue add x1, x1, :lo12:fixed_request_queue add x0, x0, x1 b .L119 .L118: mov x0, 0 .L119: add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE24: .size get_fixed_request_queue, .-get_fixed_request_queue .align 2 .global blk_init_queue .type blk_init_queue, %function blk_init_queue: .LFB25: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] bl nondet_int str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 0 beq .L121 bl get_fixed_request_queue str x0, [sp, 40] ldr x0, [sp, 40] ldr x1, [sp, 16] str x1, [x0, 64] ldr x0, [sp, 40] ldr x1, [sp, 24] str x1, [x0] ldr x0, [sp, 40] str xzr, [x0, 8] ldr x0, [sp, 40] mov w1, 1 str w1, [x0, 80] ldr x0, [sp, 40] b .L122 .L121: mov x0, 0 .L122: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE25: .size blk_init_queue, .-blk_init_queue .align 2 .global blk_alloc_queue .type blk_alloc_queue, %function blk_alloc_queue: .LFB26: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str w0, [sp, 28] bl nondet_int str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 0 beq .L124 bl get_fixed_request_queue str x0, [sp, 40] ldr x0, [sp, 40] str xzr, [x0] ldr x0, [sp, 40] str xzr, [x0, 8] ldr x0, [sp, 40] mov w1, 1 str w1, [x0, 80] ldr x0, [sp, 40] b .L125 .L124: mov x0, 0 .L125: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE26: .size blk_alloc_queue, .-blk_alloc_queue .align 2 .global blk_queue_make_request .type blk_queue_make_request, %function blk_queue_make_request: .LFB27: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] str x1, [sp] ldr x0, [sp, 8] ldr x1, [sp] str x1, [x0, 8] nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE27: .size blk_queue_make_request, .-blk_queue_make_request .align 2 .global end_request .type end_request, %function end_request: .LFB28: .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, 72] ldr x0, [x0, 56] ldr w0, [x0, 76] str w0, [sp, 28] adrp x0, genhd_registered add x2, x0, :lo12:genhd_registered ldrsw x1, [sp, 28] mov x0, x1 lsl x0, x0, 5 sub x0, x0, x1 lsl x0, x0, 3 add x0, x2, x0 str wzr, [x0, 240] nop add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE28: .size end_request, .-end_request .align 2 .global blk_queue_hardsect_size .type blk_queue_hardsect_size, %function blk_queue_hardsect_size: .LFB29: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] strh w1, [sp, 6] ldr x0, [sp, 8] ldrh w1, [sp, 6] strh w1, [x0, 72] nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE29: .size blk_queue_hardsect_size, .-blk_queue_hardsect_size .align 2 .global blk_cleanup_queue .type blk_cleanup_queue, %function blk_cleanup_queue: .LFB30: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] ldr x0, [sp, 8] str wzr, [x0, 80] nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE30: .size blk_cleanup_queue, .-blk_cleanup_queue .local cdu31a_addresses .comm cdu31a_addresses,4,8 .local sony_next_block .comm sony_next_block,4,4 .local sony_blocks_left .comm sony_blocks_left,4,4 .local cdu31a_port .comm cdu31a_port,4,4 .local sony_cd_cmd_reg .comm sony_cd_cmd_reg,2,2 .local sony_cd_param_reg .comm sony_cd_param_reg,2,2 .local sony_cd_write_reg .comm sony_cd_write_reg,2,2 .local sony_cd_control_reg .comm sony_cd_control_reg,2,2 .local sony_cd_status_reg .comm sony_cd_status_reg,2,2 .local sony_cd_result_reg .comm sony_cd_result_reg,2,2 .local sony_cd_read_reg .comm sony_cd_read_reg,2,2 .local sony_cd_fifost_reg .comm sony_cd_fifost_reg,2,2 .local cdu31a_queue .comm cdu31a_queue,8,8 .data .align 3 .type cdu31a_lock, %object .size cdu31a_lock, 8 cdu31a_lock: .word 1 .word 0 .local sony_spun_up .comm sony_spun_up,4,4 .local sony_speed .comm sony_speed,4,4 .local sony_xa_mode .comm sony_xa_mode,4,4 .align 2 .type sony_raw_data_mode, %object .size sony_raw_data_mode, 4 sony_raw_data_mode: .word 1 .local sony_usage .comm sony_usage,4,4 .local sony_pas_init .comm sony_pas_init,4,4 .local single_toc .comm single_toc,588,8 .local sony_toc .comm sony_toc,524,8 .local sony_toc_read .comm sony_toc_read,4,4 .local last_sony_subcode .comm last_sony_subcode,12,8 .align 3 .type sony_sem, %object .size sony_sem, 8 sony_sem: .word 1 .word 0 .local is_double_speed .comm is_double_speed,4,4 .align 2 .type is_auto_eject, %object .size is_auto_eject, 4 is_auto_eject: .word 1 .align 2 .type sony_audio_status, %object .size sony_audio_status, 4 sony_audio_status: .word 21 .local cur_pos_msf .comm cur_pos_msf,3,8 .local final_pos_msf .comm final_pos_msf,3,8 .local cdu31a_irq .comm cdu31a_irq,4,4 .align 3 .type cdu31a_irq_wait, %object .size cdu31a_irq_wait, 12 cdu31a_irq_wait: .word 0 .word 0 .word 1 .local irq_flag .comm irq_flag,4,4 .local curr_control_reg .comm curr_control_reg,4,4 .local disk_changed .comm disk_changed,1,1 .local audio_buffer .comm audio_buffer,2352,8 .local cdu31a_abort_timer .comm cdu31a_abort_timer,32,8 .local abort_read_started .comm abort_read_started,4,4 .text .align 2 .type scd_media_changed, %function scd_media_changed: .LFB31: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] adrp x0, disk_changed add x0, x0, :lo12:disk_changed ldrb w0, [x0] str w0, [sp, 28] adrp x0, disk_changed add x0, x0, :lo12:disk_changed strb wzr, [x0] ldr w0, [sp, 28] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE31: .size scd_media_changed, .-scd_media_changed .align 2 .type scd_drive_status, %function scd_drive_status: .LFB32: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] ldr w1, [sp, 20] mov w0, 2147483647 cmp w1, w0 beq .L137 mov w0, -22 b .L138 .L137: adrp x0, sony_spun_up add x0, x0, :lo12:sony_spun_up ldr w0, [x0] cmp w0, 0 beq .L139 mov w0, 4 b .L138 .L139: adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_interruptible str w0, [sp, 40] ldr w0, [sp, 40] cmp w0, 0 beq .L140 mov w0, -512 b .L138 .L140: bl scd_spinup str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 bne .L141 adrp x0, sony_spun_up add x0, x0, :lo12:sony_spun_up mov w1, 1 str w1, [x0] .L141: adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up adrp x0, sony_spun_up add x0, x0, :lo12:sony_spun_up ldr w0, [x0] cmp w0, 0 beq .L142 mov w0, 4 str w0, [sp, 36] b .L143 .L142: mov w0, 3 str w0, [sp, 36] .L143: ldr w0, [sp, 36] .L138: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE32: .size scd_drive_status, .-scd_drive_status .align 2 .type enable_interrupts, %function enable_interrupts: .LFB33: .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, curr_control_reg add x0, x0, :lo12:curr_control_reg ldr w0, [x0] orr w1, w0, 56 adrp x0, curr_control_reg add x0, x0, :lo12:curr_control_reg str w1, [x0] adrp x0, curr_control_reg add x0, x0, :lo12:curr_control_reg ldr w0, [x0] and w2, w0, 255 adrp x0, sony_cd_control_reg add x0, x0, :lo12:sony_cd_control_reg ldrh w0, [x0] and w0, w0, 65535 mov w1, w0 mov w0, w2 bl outb nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE33: .size enable_interrupts, .-enable_interrupts .align 2 .type disable_interrupts, %function disable_interrupts: .LFB34: .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, curr_control_reg add x0, x0, :lo12:curr_control_reg ldr w0, [x0] and w1, w0, -57 adrp x0, curr_control_reg add x0, x0, :lo12:curr_control_reg str w1, [x0] adrp x0, curr_control_reg add x0, x0, :lo12:curr_control_reg ldr w0, [x0] and w2, w0, 255 adrp x0, sony_cd_control_reg add x0, x0, :lo12:sony_cd_control_reg ldrh w0, [x0] and w0, w0, 65535 mov w1, w0 mov w0, w2 bl outb nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE34: .size disable_interrupts, .-disable_interrupts .align 2 .type sony_sleep, %function sony_sleep: .LFB35: .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, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] cmp w0, 0 bgt .L149 bl yield b .L148 .L149: mov w0, 1 str w0, [sp, 24] .L157: add x0, sp, 16 mov w2, 1 mov x1, x0 adrp x0, cdu31a_irq_wait add x0, x0, :lo12:cdu31a_irq_wait bl prepare_to_wait ldr w0, [sp, 24] cmp w0, 0 beq .L151 bl enable_interrupts str wzr, [sp, 24] .L151: adrp x0, irq_flag add x0, x0, :lo12:irq_flag ldr w0, [x0] cmp w0, 0 bne .L160 bl get_current str x0, [sp, 32] ldr x0, [sp, 32] bl signal_pending str w0, [sp, 28] ldr w0, [sp, 28] cmp w0, 0 beq .L154 bl disable_interrupts b .L153 .L154: bl schedule nop b .L157 .L160: nop .L153: add x0, sp, 16 mov x1, x0 adrp x0, cdu31a_irq_wait add x0, x0, :lo12:cdu31a_irq_wait bl finish_wait adrp x0, irq_flag add x0, x0, :lo12:irq_flag str wzr, [x0] nop .L148: 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 .L159 bl __stack_chk_fail .L159: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE35: .size sony_sleep, .-sony_sleep .align 2 .type is_attention, %function is_attention: .LFB36: .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, sony_cd_status_reg add x0, x0, :lo12:sony_cd_status_reg ldrh w0, [x0] and w0, w0, 65535 bl inb strb w0, [sp, 31] ldrb w0, [sp, 31] and w0, w0, 1 cmp w0, 0 cset w0, ne and w0, w0, 255 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE36: .size is_attention, .-is_attention .align 2 .type is_busy, %function is_busy: .LFB37: .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, sony_cd_status_reg add x0, x0, :lo12:sony_cd_status_reg ldrh w0, [x0] and w0, w0, 65535 bl inb strb w0, [sp, 31] ldrsb w0, [sp, 31] and w0, w0, 255 lsr w0, w0, 7 and w0, w0, 255 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE37: .size is_busy, .-is_busy .align 2 .type is_data_ready, %function is_data_ready: .LFB38: .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, sony_cd_status_reg add x0, x0, :lo12:sony_cd_status_reg ldrh w0, [x0] and w0, w0, 65535 bl inb strb w0, [sp, 31] ldrb w0, [sp, 31] and w0, w0, 4 cmp w0, 0 cset w0, ne and w0, w0, 255 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE38: .size is_data_ready, .-is_data_ready .align 2 .type is_data_requested, %function is_data_requested: .LFB39: .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, sony_cd_status_reg add x0, x0, :lo12:sony_cd_status_reg ldrh w0, [x0] and w0, w0, 65535 bl inb strb w0, [sp, 31] ldrb w0, [sp, 31] and w0, w0, 64 cmp w0, 0 cset w0, ne and w0, w0, 255 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE39: .size is_data_requested, .-is_data_requested .align 2 .type is_result_ready, %function is_result_ready: .LFB40: .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, sony_cd_status_reg add x0, x0, :lo12:sony_cd_status_reg ldrh w0, [x0] and w0, w0, 65535 bl inb strb w0, [sp, 31] ldrb w0, [sp, 31] and w0, w0, 2 cmp w0, 0 cset w0, ne and w0, w0, 255 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE40: .size is_result_ready, .-is_result_ready .align 2 .type is_param_write_rdy, %function is_param_write_rdy: .LFB41: .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, sony_cd_fifost_reg add x0, x0, :lo12:sony_cd_fifost_reg ldrh w0, [x0] and w0, w0, 65535 bl inb strb w0, [sp, 31] ldrb w0, [sp, 31] and w0, w0, 1 cmp w0, 0 cset w0, ne and w0, w0, 255 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE41: .size is_param_write_rdy, .-is_param_write_rdy .align 2 .type is_result_reg_not_empty, %function is_result_reg_not_empty: .LFB42: .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, sony_cd_fifost_reg add x0, x0, :lo12:sony_cd_fifost_reg ldrh w0, [x0] and w0, w0, 65535 bl inb strb w0, [sp, 31] ldrb w0, [sp, 31] and w0, w0, 4 cmp w0, 0 cset w0, ne and w0, w0, 255 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE42: .size is_result_reg_not_empty, .-is_result_reg_not_empty .align 2 .type reset_drive, %function reset_drive: .LFB43: .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, curr_control_reg add x0, x0, :lo12:curr_control_reg str wzr, [x0] adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read str wzr, [x0] adrp x0, sony_cd_control_reg add x0, x0, :lo12:sony_cd_control_reg ldrh w0, [x0] and w0, w0, 65535 mov w1, w0 mov w0, -128 bl outb nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE43: .size reset_drive, .-reset_drive .align 2 .type scd_reset, %function scd_reset: .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] adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_interruptible str w0, [sp, 32] ldr w0, [sp, 32] cmp w0, 0 beq .L178 mov w0, -512 b .L179 .L178: bl reset_drive adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] add x0, x0, 100 str x0, [sp, 40] .L183: adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] mov x1, x0 ldr x0, [sp, 40] sub x0, x1, x0 cmp x0, 0 bge .L184 bl is_attention str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 0 bne .L185 bl sony_sleep b .L183 .L184: nop b .L182 .L185: nop .L182: adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up mov w0, 0 .L179: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE44: .size scd_reset, .-scd_reset .align 2 .type clear_attention, %function clear_attention: .LFB45: .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, curr_control_reg add x0, x0, :lo12:curr_control_reg ldr w0, [x0] sxtb w0, w0 orr w0, w0, 1 sxtb w0, w0 and w2, w0, 255 adrp x0, sony_cd_control_reg add x0, x0, :lo12:sony_cd_control_reg ldrh w0, [x0] and w0, w0, 65535 mov w1, w0 mov w0, w2 bl outb nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE45: .size clear_attention, .-clear_attention .align 2 .type clear_result_ready, %function clear_result_ready: .LFB46: .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, curr_control_reg add x0, x0, :lo12:curr_control_reg ldr w0, [x0] sxtb w0, w0 orr w0, w0, 2 sxtb w0, w0 and w2, w0, 255 adrp x0, sony_cd_control_reg add x0, x0, :lo12:sony_cd_control_reg ldrh w0, [x0] and w0, w0, 65535 mov w1, w0 mov w0, w2 bl outb nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE46: .size clear_result_ready, .-clear_result_ready .align 2 .type clear_data_ready, %function clear_data_ready: .LFB47: .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, curr_control_reg add x0, x0, :lo12:curr_control_reg ldr w0, [x0] sxtb w0, w0 orr w0, w0, 4 sxtb w0, w0 and w2, w0, 255 adrp x0, sony_cd_control_reg add x0, x0, :lo12:sony_cd_control_reg ldrh w0, [x0] and w0, w0, 65535 mov w1, w0 mov w0, w2 bl outb nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE47: .size clear_data_ready, .-clear_data_ready .align 2 .type clear_param_reg, %function clear_param_reg: .LFB48: .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, curr_control_reg add x0, x0, :lo12:curr_control_reg ldr w0, [x0] sxtb w0, w0 orr w0, w0, 64 sxtb w0, w0 and w2, w0, 255 adrp x0, sony_cd_control_reg add x0, x0, :lo12:sony_cd_control_reg ldrh w0, [x0] and w0, w0, 65535 mov w1, w0 mov w0, w2 bl outb nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE48: .size clear_param_reg, .-clear_param_reg .align 2 .type read_status_register, %function read_status_register: .LFB49: .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, sony_cd_status_reg add x0, x0, :lo12:sony_cd_status_reg ldrh w0, [x0] and w0, w0, 65535 bl inb strb w0, [sp, 31] ldrb w0, [sp, 31] ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE49: .size read_status_register, .-read_status_register .align 2 .type read_result_register, %function read_result_register: .LFB50: .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, sony_cd_result_reg add x0, x0, :lo12:sony_cd_result_reg ldrh w0, [x0] and w0, w0, 65535 bl inb strb w0, [sp, 31] ldrb w0, [sp, 31] ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE50: .size read_result_register, .-read_result_register .align 2 .type read_data_register, %function read_data_register: .LFB51: .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, sony_cd_read_reg add x0, x0, :lo12:sony_cd_read_reg ldrh w0, [x0] and w0, w0, 65535 bl inb strb w0, [sp, 31] ldrb w0, [sp, 31] ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE51: .size read_data_register, .-read_data_register .align 2 .type write_param, %function write_param: .LFB52: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp strb w0, [sp, 31] adrp x0, sony_cd_param_reg add x0, x0, :lo12:sony_cd_param_reg ldrh w0, [x0] and w0, w0, 65535 mov w1, w0 ldrb w0, [sp, 31] bl outb nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE52: .size write_param, .-write_param .align 2 .type write_cmd, %function write_cmd: .LFB53: .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] adrp x0, curr_control_reg add x0, x0, :lo12:curr_control_reg ldr w0, [x0] sxtb w0, w0 orr w0, w0, 16 sxtb w0, w0 and w2, w0, 255 adrp x0, sony_cd_control_reg add x0, x0, :lo12:sony_cd_control_reg ldrh w0, [x0] and w0, w0, 65535 mov w1, w0 mov w0, w2 bl outb adrp x0, sony_cd_cmd_reg add x0, x0, :lo12:sony_cd_cmd_reg ldrh w0, [x0] and w0, w0, 65535 mov w1, w0 ldrb w0, [sp, 31] bl outb nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE53: .size write_cmd, .-write_cmd .section .rodata .align 3 .LC1: .string "<5>CDU31A: Got an interrupt but nothing was waiting\n" .text .align 2 .type cdu31a_interrupt, %function cdu31a_interrupt: .LFB54: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str w0, [sp, 44] str x1, [sp, 32] str x2, [sp, 24] adrp x0, abort_read_started add x0, x0, :lo12:abort_read_started ldr w0, [x0] cmp w0, 0 beq .L205 .L208: bl is_result_reg_not_empty str w0, [sp, 68] ldr w0, [sp, 68] cmp w0, 0 beq .L217 bl read_result_register strb w0, [sp, 63] b .L208 .L217: nop bl clear_data_ready bl clear_result_ready .L211: bl is_data_requested str w0, [sp, 72] ldr w0, [sp, 72] cmp w0, 0 beq .L218 bl read_data_register strb w0, [sp, 63] b .L211 .L218: nop adrp x0, abort_read_started add x0, x0, :lo12:abort_read_started str wzr, [x0] adrp x0, cdu31a_irq_wait add x0, x0, :lo12:cdu31a_irq_wait bl waitqueue_active str w0, [sp, 76] ldr w0, [sp, 76] cmp w0, 0 beq .L212 bl disable_interrupts adrp x0, irq_flag add x0, x0, :lo12:irq_flag mov w1, 1 str w1, [x0] adrp x0, cdu31a_irq_wait add x0, x0, :lo12:cdu31a_irq_wait bl wake_up_interruptible b .L212 .L205: adrp x0, cdu31a_irq_wait add x0, x0, :lo12:cdu31a_irq_wait bl waitqueue_active str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L213 bl disable_interrupts adrp x0, irq_flag add x0, x0, :lo12:irq_flag mov w1, 1 str w1, [x0] adrp x0, cdu31a_irq_wait add x0, x0, :lo12:cdu31a_irq_wait bl wake_up_interruptible b .L212 .L213: bl disable_interrupts adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printk .L212: mov w0, 1 ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE54: .size cdu31a_interrupt, .-cdu31a_interrupt .local errbuf .comm errbuf,80,8 .section .rodata .align 3 .LC2: .string "illegal command " .align 3 .LC3: .string "illegal parameter " .align 3 .LC4: .string "not loaded " .align 3 .LC5: .string "no disc " .align 3 .LC6: .string "not spinning " .align 3 .LC7: .string "spinning " .align 3 .LC8: .string "spindle servo " .align 3 .LC9: .string "focus servo " .align 3 .LC10: .string "eject mechanism " .align 3 .LC11: .string "audio playing " .align 3 .LC12: .string "emergency eject " .align 3 .LC13: .string "focus " .align 3 .LC14: .string "frame sync " .align 3 .LC15: .string "subcode address " .align 3 .LC16: .string "block sync " .align 3 .LC17: .string "header address " .align 3 .LC18: .string "illegal track read " .align 3 .LC19: .string "mode 0 read " .align 3 .LC20: .string "illegal mode read " .align 3 .LC21: .string "illegal block size read " .align 3 .LC22: .string "mode read " .align 3 .LC23: .string "form read " .align 3 .LC24: .string "leadout read " .align 3 .LC25: .string "buffer overrun " .align 3 .LC26: .string "unrecoverable CIRC " .align 3 .LC27: .string "unrecoverable LECC " .align 3 .LC28: .string "no TOC " .align 3 .LC29: .string "invalid subcode data " .align 3 .LC30: .string "focus on TOC read " .align 3 .LC31: .string "frame sync on TOC read " .align 3 .LC32: .string "TOC data " .align 3 .LC33: .string "hardware failure " .align 3 .LC34: .string "leadin " .align 3 .LC35: .string "leadout " .align 3 .LC36: .string "data track " .align 3 .LC37: .string "unknown 0x%02x " .text .align 2 .type translate_error, %function translate_error: .LFB55: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp strb w0, [sp, 31] ldrb w0, [sp, 31] sub w0, w0, #16 cmp w0, 131 bhi .L220 adrp x1, .L222 add x1, x1, :lo12:.L222 ldr w0, [x1,w0,uxtw #2] adr x1, .Lrtx222 add x0, x1, w0, sxtw #2 br x0 .Lrtx222: .section .rodata .align 0 .align 2 .L222: .word (.L256 - .Lrtx222) / 4 .word (.L255 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L254 - .Lrtx222) / 4 .word (.L253 - .Lrtx222) / 4 .word (.L252 - .Lrtx222) / 4 .word (.L251 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L250 - .Lrtx222) / 4 .word (.L249 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L248 - .Lrtx222) / 4 .word (.L247 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L246 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L245 - .Lrtx222) / 4 .word (.L244 - .Lrtx222) / 4 .word (.L243 - .Lrtx222) / 4 .word (.L242 - .Lrtx222) / 4 .word (.L241 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L240 - .Lrtx222) / 4 .word (.L239 - .Lrtx222) / 4 .word (.L238 - .Lrtx222) / 4 .word (.L237 - .Lrtx222) / 4 .word (.L236 - .Lrtx222) / 4 .word (.L235 - .Lrtx222) / 4 .word (.L234 - .Lrtx222) / 4 .word (.L233 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L232 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L231 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L230 - .Lrtx222) / 4 .word (.L229 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L228 - .Lrtx222) / 4 .word (.L227 - .Lrtx222) / 4 .word (.L226 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L225 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L220 - .Lrtx222) / 4 .word (.L224 - .Lrtx222) / 4 .word (.L223 - .Lrtx222) / 4 .word (.L221 - .Lrtx222) / 4 .text .L256: adrp x0, .LC2 add x0, x0, :lo12:.LC2 b .L257 .L255: adrp x0, .LC3 add x0, x0, :lo12:.LC3 b .L257 .L254: adrp x0, .LC4 add x0, x0, :lo12:.LC4 b .L257 .L253: adrp x0, .LC5 add x0, x0, :lo12:.LC5 b .L257 .L252: adrp x0, .LC6 add x0, x0, :lo12:.LC6 b .L257 .L251: adrp x0, .LC7 add x0, x0, :lo12:.LC7 b .L257 .L250: adrp x0, .LC8 add x0, x0, :lo12:.LC8 b .L257 .L249: adrp x0, .LC9 add x0, x0, :lo12:.LC9 b .L257 .L248: adrp x0, .LC10 add x0, x0, :lo12:.LC10 b .L257 .L247: adrp x0, .LC11 add x0, x0, :lo12:.LC11 b .L257 .L246: adrp x0, .LC12 add x0, x0, :lo12:.LC12 b .L257 .L245: adrp x0, .LC13 add x0, x0, :lo12:.LC13 b .L257 .L244: adrp x0, .LC14 add x0, x0, :lo12:.LC14 b .L257 .L243: adrp x0, .LC15 add x0, x0, :lo12:.LC15 b .L257 .L242: adrp x0, .LC16 add x0, x0, :lo12:.LC16 b .L257 .L241: adrp x0, .LC17 add x0, x0, :lo12:.LC17 b .L257 .L240: adrp x0, .LC18 add x0, x0, :lo12:.LC18 b .L257 .L239: adrp x0, .LC19 add x0, x0, :lo12:.LC19 b .L257 .L238: adrp x0, .LC20 add x0, x0, :lo12:.LC20 b .L257 .L237: adrp x0, .LC21 add x0, x0, :lo12:.LC21 b .L257 .L236: adrp x0, .LC22 add x0, x0, :lo12:.LC22 b .L257 .L235: adrp x0, .LC23 add x0, x0, :lo12:.LC23 b .L257 .L234: adrp x0, .LC24 add x0, x0, :lo12:.LC24 b .L257 .L233: adrp x0, .LC25 add x0, x0, :lo12:.LC25 b .L257 .L232: adrp x0, .LC26 add x0, x0, :lo12:.LC26 b .L257 .L231: adrp x0, .LC27 add x0, x0, :lo12:.LC27 b .L257 .L230: adrp x0, .LC28 add x0, x0, :lo12:.LC28 b .L257 .L229: adrp x0, .LC29 add x0, x0, :lo12:.LC29 b .L257 .L228: adrp x0, .LC30 add x0, x0, :lo12:.LC30 b .L257 .L227: adrp x0, .LC31 add x0, x0, :lo12:.LC31 b .L257 .L226: adrp x0, .LC32 add x0, x0, :lo12:.LC32 b .L257 .L225: adrp x0, .LC33 add x0, x0, :lo12:.LC33 b .L257 .L224: adrp x0, .LC34 add x0, x0, :lo12:.LC34 b .L257 .L223: adrp x0, .LC35 add x0, x0, :lo12:.LC35 b .L257 .L221: adrp x0, .LC36 add x0, x0, :lo12:.LC36 b .L257 .L220: ldrb w0, [sp, 31] mov w2, w0 adrp x0, .LC37 add x1, x0, :lo12:.LC37 adrp x0, errbuf add x0, x0, :lo12:errbuf bl sprintf adrp x0, errbuf add x0, x0, :lo12:errbuf .L257: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE55: .size translate_error, .-translate_error .section .rodata .align 3 .LC38: .string "<5>CDU31A: Unable to set spin-down time: 0x%2.2x\n" .align 3 .LC39: .string "<5>CDU31A: Unable to set mechanical parameters: 0x%2.2x\n" .text .align 2 .type set_drive_params, %function set_drive_params: .LFB56: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str w0, [sp, 28] 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, 6 strb w0, [sp, 48] strb wzr, [sp, 49] add x2, sp, 44 add x1, sp, 56 add x0, sp, 48 mov x4, x2 mov x3, x1 mov w2, 2 mov x1, x0 mov w0, 16 bl do_sony_cd_cmd ldr w0, [sp, 44] cmp w0, 1 bhi .L260 ldrb w0, [sp, 57] mov w1, w0 adrp x0, .LC38 add x0, x0, :lo12:.LC38 bl printk b .L261 .L260: ldrb w0, [sp, 56] and w0, w0, 240 cmp w0, 32 bne .L261 ldrb w0, [sp, 57] mov w1, w0 adrp x0, .LC38 add x0, x0, :lo12:.LC38 bl printk .L261: mov w0, 5 strb w0, [sp, 48] mov w0, 1 strb w0, [sp, 49] adrp x0, is_auto_eject add x0, x0, :lo12:is_auto_eject ldr w0, [x0] cmp w0, 0 beq .L262 ldrb w0, [sp, 49] orr w0, w0, 2 and w0, w0, 255 strb w0, [sp, 49] .L262: adrp x0, is_double_speed add x0, x0, :lo12:is_double_speed ldr w0, [x0] cmp w0, 0 beq .L263 ldr w0, [sp, 28] cmp w0, 0 beq .L263 ldrb w0, [sp, 49] orr w0, w0, 4 and w0, w0, 255 strb w0, [sp, 49] .L263: add x2, sp, 44 add x1, sp, 56 add x0, sp, 48 mov x4, x2 mov x3, x1 mov w2, 2 mov x1, x0 mov w0, 16 bl do_sony_cd_cmd ldr w0, [sp, 44] cmp w0, 1 bhi .L264 ldrb w0, [sp, 57] mov w1, w0 adrp x0, .LC39 add x0, x0, :lo12:.LC39 bl printk b .L268 .L264: ldrb w0, [sp, 56] and w0, w0, 240 cmp w0, 32 bne .L268 ldrb w0, [sp, 57] mov w1, w0 adrp x0, .LC39 add x0, x0, :lo12:.LC39 bl printk nop .L268: nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 72] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L267 bl __stack_chk_fail .L267: ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE56: .size set_drive_params, .-set_drive_params .align 2 .type scd_select_speed, %function scd_select_speed: .LFB57: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] ldr w0, [sp, 20] cmp w0, 0 bne .L270 adrp x0, sony_speed add x0, x0, :lo12:sony_speed mov w1, 1 str w1, [x0] b .L271 .L270: ldr w0, [sp, 20] sub w1, w0, #1 adrp x0, sony_speed add x0, x0, :lo12:sony_speed str w1, [x0] .L271: adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_interruptible str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 beq .L272 mov w0, -512 b .L273 .L272: adrp x0, sony_speed add x0, x0, :lo12:sony_speed ldr w0, [x0] bl set_drive_params adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up mov w0, 0 .L273: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE57: .size scd_select_speed, .-scd_select_speed .align 2 .type scd_lock_door, %function scd_lock_door: .LFB58: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] ldr w0, [sp, 20] cmp w0, 0 bne .L275 adrp x0, is_auto_eject add x0, x0, :lo12:is_auto_eject mov w1, 1 str w1, [x0] b .L276 .L275: adrp x0, is_auto_eject add x0, x0, :lo12:is_auto_eject str wzr, [x0] .L276: adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_interruptible str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 beq .L277 mov w0, -512 b .L278 .L277: adrp x0, sony_speed add x0, x0, :lo12:sony_speed ldr w0, [x0] bl set_drive_params adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up mov w0, 0 .L278: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE58: .size scd_lock_door, .-scd_lock_door .section .rodata .align 3 .LC40: .string "<5>CDU31A: Resetting drive on error\n" .align 3 .LC41: .string "<5>CDU31A: Unable to spin up drive: 0x%2.2x\n" .text .align 2 .type restart_on_error, %function restart_on_error: .LFB59: .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, .LC40 add x0, x0, :lo12:.LC40 bl printk bl reset_drive adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] add x0, x0, 100 str x0, [sp, 32] .L283: adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] mov x1, x0 ldr x0, [sp, 32] sub x0, x1, x0 cmp x0, 0 bge .L288 bl is_attention str w0, [sp, 28] ldr w0, [sp, 28] cmp w0, 0 bne .L289 bl sony_sleep b .L283 .L288: nop b .L282 .L289: nop .L282: adrp x0, sony_speed add x0, x0, :lo12:sony_speed ldr w0, [x0] bl set_drive_params add x1, sp, 24 add x0, sp, 40 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 81 bl do_sony_cd_cmd ldr w0, [sp, 24] cmp w0, 1 bhi .L284 ldrb w0, [sp, 41] mov w1, w0 adrp x0, .LC41 add x0, x0, :lo12:.LC41 bl printk b .L285 .L284: ldrb w0, [sp, 40] and w0, w0, 240 cmp w0, 32 bne .L285 ldrb w0, [sp, 41] mov w1, w0 adrp x0, .LC41 add x0, x0, :lo12:.LC41 bl printk .L285: mov w0, 2000 bl msleep bl sony_get_toc 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 .L287 bl __stack_chk_fail .L287: ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE59: .size restart_on_error, .-restart_on_error .align 2 .type write_params, %function write_params: .LFB60: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] mov w0, 20000 str w0, [sp, 36] .L294: ldr w0, [sp, 36] cmp w0, 0 beq .L299 bl is_param_write_rdy str w0, [sp, 40] ldr w0, [sp, 40] cmp w0, 0 bne .L300 ldr w0, [sp, 36] sub w0, w0, #1 str w0, [sp, 36] b .L294 .L299: nop b .L293 .L300: nop .L293: bl is_param_write_rdy str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 bne .L297 mov w0, -5 b .L296 .L298: ldr x0, [sp, 24] ldrb w0, [x0] bl write_param ldr x0, [sp, 24] add x0, x0, 1 str x0, [sp, 24] ldr w0, [sp, 20] sub w0, w0, #1 str w0, [sp, 20] .L297: ldr w0, [sp, 20] cmp w0, 0 bgt .L298 mov w0, 0 .L296: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE60: .size write_params, .-write_params .align 2 .type get_result, %function get_result: .LFB61: .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] .L304: bl handle_sony_cd_attention str w0, [sp, 48] ldr w0, [sp, 48] cmp w0, 0 beq .L338 b .L304 .L338: nop adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] add x0, x0, 1000 str x0, [sp, 88] .L311: adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] mov x1, x0 ldr x0, [sp, 88] sub x0, x1, x0 cmp x0, 0 bge .L339 bl is_busy str w0, [sp, 52] ldr w0, [sp, 52] cmp w0, 0 bne .L306 bl is_result_ready str w0, [sp, 56] ldr w0, [sp, 56] cmp w0, 0 bne .L340 .L306: bl sony_sleep .L310: bl handle_sony_cd_attention str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L341 b .L310 .L341: nop b .L311 .L339: nop b .L307 .L340: nop .L307: bl is_busy str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 bne .L342 bl is_result_ready str w0, [sp, 68] ldr w0, [sp, 68] cmp w0, 0 bne .L314 b .L313 .L342: nop .L313: nop ldr x0, [sp, 24] mov w1, 32 strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 mov w1, 1 strb w1, [x0] ldr x0, [sp, 16] mov w1, 2 str w1, [x0] b .L301 .L314: bl clear_result_ready bl read_result_register strb w0, [sp, 43] ldr x0, [sp, 24] ldrb w1, [sp, 43] strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 str x0, [sp, 24] ldrb w0, [sp, 43] and w0, w0, 240 cmp w0, 80 bne .L316 ldr x0, [sp, 16] mov w1, 1 str w1, [x0] b .L301 .L316: bl read_result_register strb w0, [sp, 42] ldr x0, [sp, 24] ldrb w1, [sp, 42] strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 str x0, [sp, 24] ldr x0, [sp, 16] mov w1, 2 str w1, [x0] ldrb w0, [sp, 43] and w0, w0, 240 cmp w0, 32 beq .L343 ldrb w0, [sp, 42] cmp w0, 8 bls .L334 str wzr, [sp, 44] b .L319 .L320: bl read_result_register and w1, w0, 255 ldr x0, [sp, 24] strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 str x0, [sp, 24] ldr x0, [sp, 16] ldr w0, [x0] add w1, w0, 1 ldr x0, [sp, 16] str w1, [x0] ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L319: ldr w0, [sp, 44] cmp w0, 7 ble .L320 ldrb w0, [sp, 42] sub w0, w0, #8 strb w0, [sp, 42] b .L321 .L329: mov x0, 20000 str x0, [sp, 88] .L325: ldr x0, [sp, 88] cmp x0, 0 beq .L344 bl is_result_ready str w0, [sp, 80] ldr w0, [sp, 80] cmp w0, 0 bne .L345 ldr x0, [sp, 88] sub x0, x0, #1 str x0, [sp, 88] b .L325 .L344: nop b .L324 .L345: nop .L324: bl is_result_ready str w0, [sp, 84] ldr w0, [sp, 84] cmp w0, 0 bne .L326 nop ldr x0, [sp, 24] mov w1, 32 strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 mov w1, 1 strb w1, [x0] ldr x0, [sp, 16] mov w1, 2 str w1, [x0] b .L301 .L326: bl clear_result_ready str wzr, [sp, 44] b .L327 .L328: bl read_result_register and w1, w0, 255 ldr x0, [sp, 24] strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 str x0, [sp, 24] ldr x0, [sp, 16] ldr w0, [x0] add w1, w0, 1 ldr x0, [sp, 16] str w1, [x0] ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L327: ldr w0, [sp, 44] cmp w0, 9 ble .L328 ldrb w0, [sp, 42] sub w0, w0, #10 strb w0, [sp, 42] .L321: ldrb w0, [sp, 42] cmp w0, 10 bhi .L329 ldrb w0, [sp, 42] cmp w0, 0 beq .L334 mov x0, 20000 str x0, [sp, 88] .L333: ldr x0, [sp, 88] cmp x0, 0 beq .L346 bl is_result_ready str w0, [sp, 72] ldr w0, [sp, 72] cmp w0, 0 bne .L347 ldr x0, [sp, 88] sub x0, x0, #1 str x0, [sp, 88] b .L333 .L346: nop b .L332 .L347: nop .L332: bl is_result_ready str w0, [sp, 76] ldr w0, [sp, 76] cmp w0, 0 bne .L334 nop ldr x0, [sp, 24] mov w1, 32 strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 mov w1, 1 strb w1, [x0] ldr x0, [sp, 16] mov w1, 2 str w1, [x0] b .L301 .L335: bl read_result_register and w1, w0, 255 ldr x0, [sp, 24] strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 str x0, [sp, 24] ldr x0, [sp, 16] ldr w0, [x0] add w1, w0, 1 ldr x0, [sp, 16] str w1, [x0] ldrb w0, [sp, 42] sub w0, w0, #1 strb w0, [sp, 42] .L334: ldrb w0, [sp, 42] cmp w0, 0 bne .L335 .L343: nop .L301: ldp x29, x30, [sp], 96 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE61: .size get_result, .-get_result .align 2 .type do_sony_cd_cmd, %function do_sony_cd_cmd: .LFB62: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp strb w0, [sp, 47] str x1, [sp, 32] str w2, [sp, 40] str x3, [sp, 24] str x4, [sp, 16] str wzr, [sp, 52] .L349: .L352: bl handle_sony_cd_attention str w0, [sp, 56] ldr w0, [sp, 56] cmp w0, 0 beq .L366 b .L352 .L366: nop adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] add x0, x0, 1000 str x0, [sp, 72] .L359: adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] mov x1, x0 ldr x0, [sp, 72] sub x0, x1, x0 cmp x0, 0 bge .L367 bl is_busy str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L368 bl sony_sleep .L358: bl handle_sony_cd_attention str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L369 b .L358 .L369: nop b .L359 .L367: nop b .L355 .L368: nop .L355: bl is_busy str w0, [sp, 68] ldr w0, [sp, 68] cmp w0, 0 beq .L360 nop ldr x0, [sp, 24] mov w1, 32 strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 mov w1, 1 strb w1, [x0] ldr x0, [sp, 16] mov w1, 2 str w1, [x0] b .L361 .L360: bl clear_result_ready bl clear_param_reg ldr w0, [sp, 40] mov w1, w0 ldr x0, [sp, 32] bl write_params ldrb w0, [sp, 47] bl write_cmd ldr x1, [sp, 16] ldr x0, [sp, 24] bl get_result .L361: ldr x0, [sp, 24] ldrb w0, [x0] and w0, w0, 240 cmp w0, 32 bne .L370 ldr w0, [sp, 52] cmp w0, 2 bgt .L370 ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] mov w0, 100 bl msleep b .L352 .L370: nop ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE62: .size do_sony_cd_cmd, .-do_sony_cd_cmd .local num_consecutive_attentions .comm num_consecutive_attentions,4,4 .section .rodata .align 3 .LC42: .string "<5>CDU31A: Too many consecutive attentions: %d\n" .text .align 2 .type handle_sony_cd_attention, %function handle_sony_cd_attention: .LFB63: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp bl is_attention str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 0 beq .L372 adrp x0, num_consecutive_attentions add x0, x0, :lo12:num_consecutive_attentions ldr w0, [x0] cmp w0, 10 ble .L373 adrp x0, num_consecutive_attentions add x0, x0, :lo12:num_consecutive_attentions ldr w0, [x0] mov w1, w0 adrp x0, .LC42 add x0, x0, :lo12:.LC42 bl printk adrp x0, num_consecutive_attentions add x0, x0, :lo12:num_consecutive_attentions str wzr, [x0] nop mov w0, 0 b .L374 .L373: bl clear_attention bl read_result_register strb w0, [sp, 31] ldrb w0, [sp, 31] cmp w0, 148 bgt .L375 cmp w0, 145 bge .L376 cmp w0, 144 beq .L377 cmp w0, 144 bgt .L375 cmp w0, 129 beq .L378 cmp w0, 129 bgt .L375 cmp w0, 39 beq .L379 cmp w0, 128 bne .L375 adrp x0, disk_changed add x0, x0, :lo12:disk_changed mov w1, 1 strb w1, [x0] adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read str wzr, [x0] adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status mov w1, 21 str w1, [x0] adrp x0, sony_blocks_left add x0, x0, :lo12:sony_blocks_left str wzr, [x0] b .L375 .L379: adrp x0, sony_spun_up add x0, x0, :lo12:sony_spun_up str wzr, [x0] b .L375 .L377: adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status mov w1, 19 str w1, [x0] bl read_subcode b .L375 .L378: adrp x0, is_auto_eject add x0, x0, :lo12:is_auto_eject ldr w0, [x0] cmp w0, 0 beq .L390 adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status str wzr, [x0] b .L390 .L376: adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status mov w1, 20 str w1, [x0] b .L375 .L390: nop .L375: adrp x0, num_consecutive_attentions add x0, x0, :lo12:num_consecutive_attentions ldr w0, [x0] add w1, w0, 1 adrp x0, num_consecutive_attentions add x0, x0, :lo12:num_consecutive_attentions str w1, [x0] nop mov w0, 1 b .L374 .L372: adrp x0, abort_read_started add x0, x0, :lo12:abort_read_started ldr w0, [x0] cmp w0, 0 beq .L381 .L384: bl is_result_reg_not_empty str w0, [sp, 40] ldr w0, [sp, 40] cmp w0, 0 beq .L391 bl read_result_register strb w0, [sp, 29] ldrb w0, [sp, 29] str w0, [sp, 32] b .L384 .L391: nop bl clear_data_ready bl clear_result_ready .L387: bl is_data_requested str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 beq .L392 bl read_data_register strb w0, [sp, 30] ldrb w0, [sp, 30] str w0, [sp, 32] b .L387 .L392: nop adrp x0, abort_read_started add x0, x0, :lo12:abort_read_started str wzr, [x0] nop mov w0, 1 b .L374 .L381: adrp x0, num_consecutive_attentions add x0, x0, :lo12:num_consecutive_attentions str wzr, [x0] mov w0, 0 .L374: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE63: .size handle_sony_cd_attention, .-handle_sony_cd_attention .align 2 .type int_to_bcd, %function int_to_bcd: .LFB64: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] ldr w1, [sp, 12] mov w0, 52429 movk w0, 0xcccc, lsl 16 umull x0, w1, w0 lsr x0, x0, 32 lsr w0, w0, 3 lsl w0, w0, 4 str w0, [sp, 28] ldr w2, [sp, 12] mov w0, 52429 movk w0, 0xcccc, lsl 16 umull x0, w2, w0 lsr x0, x0, 32 lsr w1, w0, 3 mov w0, w1 lsl w0, w0, 2 add w0, w0, w1 lsl w0, w0, 1 sub w1, w2, w0 ldr w0, [sp, 28] orr w0, w1, w0 str w0, [sp, 28] ldr w0, [sp, 28] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE64: .size int_to_bcd, .-int_to_bcd .align 2 .type bcd_to_int, %function bcd_to_int: .LFB65: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, 12] ldr w0, [sp, 12] lsr w0, w0, 4 and w1, w0, 15 mov w0, w1 lsl w0, w0, 2 add w0, w0, w1 lsl w0, w0, 1 mov w1, w0 ldr w0, [sp, 12] and w0, w0, 15 add w0, w1, w0 add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE65: .size bcd_to_int, .-bcd_to_int .align 2 .type log_to_msf, %function log_to_msf: .LFB66: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str w0, [sp, 28] str x1, [sp, 16] ldr w0, [sp, 28] add w0, w0, 150 str w0, [sp, 28] ldr w1, [sp, 28] mov w0, 21205 movk w0, 0xe904, lsl 16 umull x0, w1, w0 lsr x0, x0, 32 lsr w0, w0, 12 bl int_to_bcd str w0, [sp, 36] ldr w0, [sp, 36] and w1, w0, 255 ldr x0, [sp, 16] strb w1, [x0] ldr w0, [sp, 28] mov w1, 21205 movk w1, 0xe904, lsl 16 umull x1, w0, w1 lsr x1, x1, 32 lsr w2, w1, 12 mov w1, 4500 mul w1, w2, w1 sub w0, w0, w1 str w0, [sp, 28] ldr w1, [sp, 28] mov w0, 33205 movk w0, 0x1b4e, lsl 16 umull x0, w1, w0 lsr x0, x0, 32 lsr w0, w0, 3 bl int_to_bcd str w0, [sp, 40] ldr x0, [sp, 16] add x0, x0, 1 ldr w1, [sp, 40] and w1, w1, 255 strb w1, [x0] ldr w1, [sp, 28] mov w0, 33205 movk w0, 0x1b4e, lsl 16 umull x0, w1, w0 lsr x0, x0, 32 lsr w0, w0, 3 mov w2, 75 mul w0, w0, w2 sub w0, w1, w0 bl int_to_bcd str w0, [sp, 44] ldr x0, [sp, 16] add x0, x0, 2 ldr w1, [sp, 44] and w1, w1, 255 strb w1, [x0] nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE66: .size log_to_msf, .-log_to_msf .align 2 .type msf_to_log, %function msf_to_log: .LFB67: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] ldr x0, [sp, 8] add x0, x0, 2 ldrb w0, [x0] str w0, [sp, 28] ldr x0, [sp, 8] add x0, x0, 1 ldrb w0, [x0] mov w1, w0 mov w0, 75 mul w0, w1, w0 mov w1, w0 ldr w0, [sp, 28] add w0, w0, w1 str w0, [sp, 28] ldr x0, [sp, 8] ldrb w0, [x0] mov w1, w0 mov w0, 4500 mul w0, w1, w0 mov w1, w0 ldr w0, [sp, 28] add w0, w0, w1 str w0, [sp, 28] ldr w0, [sp, 28] sub w0, w0, #150 str w0, [sp, 28] ldr w0, [sp, 28] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE67: .size msf_to_log, .-msf_to_log .align 2 .type size_to_buf, %function size_to_buf: .LFB68: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, 12] str x1, [sp] ldr w0, [sp, 12] lsr w0, w0, 16 and w1, w0, 255 ldr x0, [sp] strb w1, [x0] ldr w0, [sp, 12] and w0, w0, 65535 str w0, [sp, 12] ldr w0, [sp, 12] lsr w1, w0, 8 ldr x0, [sp] add x0, x0, 1 and w1, w1, 255 strb w1, [x0] ldr x0, [sp] add x0, x0, 2 ldr w1, [sp, 12] and w1, w1, 255 strb w1, [x0] nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE68: .size size_to_buf, .-size_to_buf .section .rodata .align 3 .LC43: .string "<5>CDU31A: Timeout while waiting to issue command\n" .text .align 2 .type start_request, %function start_request: .LFB69: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str w0, [sp, 28] str w1, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 72] mov x1, 0 nop add x0, sp, 64 mov x1, x0 ldr w0, [sp, 28] bl log_to_msf add x0, sp, 64 add x0, x0, 3 mov x1, x0 ldr w0, [sp, 24] bl size_to_buf .L406: bl handle_sony_cd_attention str w0, [sp, 40] ldr w0, [sp, 40] cmp w0, 0 beq .L420 b .L406 .L420: nop adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] add x0, x0, 1000 str x0, [sp, 56] .L413: adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] mov x1, x0 ldr x0, [sp, 56] sub x0, x1, x0 cmp x0, 0 bge .L421 bl is_busy str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 beq .L422 bl sony_sleep .L412: bl handle_sony_cd_attention str w0, [sp, 48] ldr w0, [sp, 48] cmp w0, 0 beq .L423 b .L412 .L423: nop b .L413 .L421: nop b .L409 .L422: nop .L409: bl is_busy str w0, [sp, 52] ldr w0, [sp, 52] cmp w0, 0 beq .L414 adrp x0, .LC43 add x0, x0, :lo12:.LC43 bl printk nop mov w0, 1 b .L416 .L414: bl clear_result_ready bl clear_param_reg add x0, sp, 64 mov w1, 6 bl write_params mov w0, 52 bl write_cmd ldr w0, [sp, 24] lsl w1, w0, 2 adrp x0, sony_blocks_left add x0, x0, :lo12:sony_blocks_left str w1, [x0] ldr w0, [sp, 28] lsl w1, w0, 2 adrp x0, sony_next_block add x0, x0, :lo12:sony_next_block str w1, [x0] nop mov w0, 0 .L416: 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 .L417 bl __stack_chk_fail .L417: mov w0, w1 ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE69: .size start_request, .-start_request .section .rodata .align 3 .LC44: .string "<3>CDU31A: Aborting read, %s error\n" .text .align 2 .type abort_read, %function abort_read: .LFB70: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 56] mov x1, 0 add x1, sp, 24 add x0, sp, 48 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 53 bl do_sony_cd_cmd ldrb w0, [sp, 48] and w0, w0, 240 cmp w0, 32 bne .L428 ldrb w0, [sp, 49] bl translate_error str x0, [sp, 40] ldr x1, [sp, 40] adrp x0, .LC44 add x0, x0, :lo12:.LC44 bl printk .L428: bl is_result_reg_not_empty str w0, [sp, 32] ldr w0, [sp, 32] cmp w0, 0 beq .L436 bl read_result_register strb w0, [sp, 22] ldrb w0, [sp, 22] str w0, [sp, 28] b .L428 .L436: nop bl clear_data_ready bl clear_result_ready .L431: bl is_data_requested str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 0 beq .L437 bl read_data_register strb w0, [sp, 23] ldrb w0, [sp, 23] str w0, [sp, 28] b .L431 .L437: nop adrp x0, sony_blocks_left add x0, x0, :lo12:sony_blocks_left str wzr, [x0] nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 56] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L433 bl __stack_chk_fail .L433: ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE70: .size abort_read, .-abort_read .align 2 .type handle_abort_timeout, %function handle_abort_timeout: .LFB71: .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] nop adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_trylock str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 bne .L442 bl clear_result_ready bl clear_param_reg mov w0, 53 bl write_cmd adrp x0, sony_blocks_left add x0, x0, :lo12:sony_blocks_left str wzr, [x0] adrp x0, abort_read_started add x0, x0, :lo12:abort_read_started mov w1, 1 str w1, [x0] adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up .L442: nop nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE71: .size handle_abort_timeout, .-handle_abort_timeout .align 2 .type input_data_sector, %function input_data_sector: .LFB72: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] nop adrp x0, sony_xa_mode add x0, x0, :lo12:sony_xa_mode ldr w0, [x0] cmp w0, 0 beq .L444 adrp x0, sony_cd_read_reg add x0, x0, :lo12:sony_cd_read_reg ldrh w0, [x0] and w0, w0, 65535 mov w3, w0 mov x2, 12 adrp x0, audio_buffer add x1, x0, :lo12:audio_buffer mov w0, w3 bl insb .L444: bl clear_data_ready adrp x0, sony_cd_read_reg add x0, x0, :lo12:sony_cd_read_reg ldrh w0, [x0] and w0, w0, 65535 mov x2, 2048 ldr x1, [sp, 24] bl insb adrp x0, sony_xa_mode add x0, x0, :lo12:sony_xa_mode ldr w0, [x0] cmp w0, 0 beq .L448 adrp x0, sony_cd_read_reg add x0, x0, :lo12:sony_cd_read_reg ldrh w0, [x0] and w0, w0, 65535 mov w3, w0 mov x2, 280 adrp x0, audio_buffer add x1, x0, :lo12:audio_buffer mov w0, w3 bl insb .L448: nop nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE72: .size input_data_sector, .-input_data_sector .section .rodata .align 3 .LC45: .string "<3>CDU31A: Data block error: 0x%x\n" .align 3 .LC46: .string "<3>CDU31A: Invalid block status: 0x%x\n" .align 3 .LC47: .string "<5>CDU31A: Got result that should have been error: %d\n" .text .align 2 .type read_data_block, %function read_data_block: .LFB73: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str w2, [sp, 32] str x3, [sp, 24] str x4, [sp, 16] nop ldr x0, [sp, 24] strb wzr, [x0] ldr x0, [sp, 24] add x0, x0, 1 strb wzr, [x0] ldr x0, [sp, 16] str wzr, [x0] adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] add x0, x0, 1000 str x0, [sp, 88] .L455: adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] mov x1, x0 ldr x0, [sp, 88] sub x0, x1, x0 cmp x0, 0 bge .L475 bl is_data_ready str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 bne .L476 .L451: bl handle_sony_cd_attention str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L477 b .L451 .L477: nop bl sony_sleep b .L455 .L475: nop b .L452 .L476: nop .L452: bl is_data_ready str w0, [sp, 68] ldr w0, [sp, 68] cmp w0, 0 beq .L456 ldr x0, [sp, 40] bl input_data_sector adrp x0, sony_blocks_left add x0, x0, :lo12:sony_blocks_left ldr w1, [x0] ldr w0, [sp, 32] sub w1, w1, w0 adrp x0, sony_blocks_left add x0, x0, :lo12:sony_blocks_left str w1, [x0] adrp x0, sony_next_block add x0, x0, :lo12:sony_next_block ldr w1, [x0] ldr w0, [sp, 32] add w1, w1, w0 adrp x0, sony_next_block add x0, x0, :lo12:sony_next_block str w1, [x0] adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] add x0, x0, 1000 str x0, [sp, 88] .L462: adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] mov x1, x0 ldr x0, [sp, 88] sub x0, x1, x0 cmp x0, 0 bge .L478 bl is_result_ready str w0, [sp, 76] ldr w0, [sp, 76] cmp w0, 0 bne .L479 .L458: bl handle_sony_cd_attention str w0, [sp, 80] ldr w0, [sp, 80] cmp w0, 0 beq .L480 b .L458 .L480: nop bl sony_sleep b .L462 .L478: nop b .L459 .L479: nop .L459: bl is_result_ready str w0, [sp, 84] ldr w0, [sp, 84] cmp w0, 0 beq .L481 ldr x1, [sp, 16] ldr x0, [sp, 24] bl get_result ldr x0, [sp, 24] ldrb w0, [x0] and w0, w0, 240 cmp w0, 80 bne .L464 ldr x0, [sp, 24] ldrb w0, [x0] cmp w0, 80 beq .L465 ldr x0, [sp, 24] ldrb w0, [x0] cmp w0, 84 beq .L465 ldr x0, [sp, 24] ldrb w0, [x0] cmp w0, 85 beq .L465 ldr x0, [sp, 24] ldrb w0, [x0] mov w1, w0 adrp x0, .LC45 add x0, x0, :lo12:.LC45 bl printk ldr x0, [sp, 24] mov w1, 32 strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 mov w1, 3 strb w1, [x0] ldr x0, [sp, 16] mov w1, 2 str w1, [x0] .L465: adrp x0, sony_blocks_left add x0, x0, :lo12:sony_blocks_left ldr w0, [x0] cmp w0, 0 bne .L482 ldr x1, [sp, 16] ldr x0, [sp, 24] bl get_result b .L482 .L464: ldr x0, [sp, 24] ldrb w0, [x0] and w0, w0, 240 cmp w0, 32 beq .L482 ldr x0, [sp, 24] ldrb w0, [x0] mov w1, w0 adrp x0, .LC46 add x0, x0, :lo12:.LC46 bl printk bl restart_on_error ldr x0, [sp, 24] mov w1, 32 strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 mov w1, 3 strb w1, [x0] ldr x0, [sp, 16] mov w1, 2 str w1, [x0] b .L482 .L481: nop ldr x0, [sp, 24] mov w1, 32 strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 mov w1, 1 strb w1, [x0] ldr x0, [sp, 16] mov w1, 2 str w1, [x0] bl abort_read b .L482 .L456: bl is_result_ready str w0, [sp, 72] ldr w0, [sp, 72] cmp w0, 0 beq .L483 ldr x1, [sp, 16] ldr x0, [sp, 24] bl get_result ldr x0, [sp, 24] ldrb w0, [x0] and w0, w0, 240 cmp w0, 32 beq .L468 ldr x0, [sp, 24] ldrb w0, [x0] mov w1, w0 adrp x0, .LC47 add x0, x0, :lo12:.LC47 bl printk ldr x0, [sp, 24] mov w1, 32 strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 mov w1, 3 strb w1, [x0] ldr x0, [sp, 16] mov w1, 2 str w1, [x0] .L468: bl abort_read b .L482 .L483: nop ldr x0, [sp, 24] mov w1, 32 strb w1, [x0] ldr x0, [sp, 24] add x0, x0, 1 mov w1, 1 strb w1, [x0] ldr x0, [sp, 16] mov w1, 2 str w1, [x0] bl abort_read .L482: nop nop ldp x29, x30, [sp], 96 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE73: .size read_data_block, .-read_data_block .section .rodata .align 3 .LC48: .string "<5>CDU31A: TOC not read\n" .align 3 .LC49: .string "<5>CDU31A: Request past end of media\n" .align 3 .LC50: .string "<5>CDU31A: start request failed\n" .align 3 .LC51: .string "<5>CDU31A: %s error for block %d, nblock %d\n" .text .align 2 .type do_cdu31a_request, %function do_cdu31a_request: .LFB74: .cfi_startproc stp x29, x30, [sp, -112]! .cfi_def_cfa_offset 112 .cfi_offset 29, -112 .cfi_offset 30, -104 mov x29, sp str x0, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 104] mov x1, 0 nop ldr x0, [sp, 24] ldr x0, [x0, 64] bl spin_unlock_irq adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_interruptible str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 beq .L485 ldr x0, [sp, 24] ldr x0, [x0, 64] bl spin_lock_irq b .L484 .L485: bl handle_sony_cd_attention str w0, [sp, 48] ldr w0, [sp, 48] cmp w0, 0 beq .L516 b .L485 .L516: nop bl sony_get_toc adrp x0, cdu31a_abort_timer add x0, x0, :lo12:cdu31a_abort_timer bl del_timer .L510: ldr x0, [sp, 24] bl elv_next_request str x0, [sp, 72] ldr x0, [sp, 72] cmp x0, 0 beq .L517 adrp x0, sony_spun_up add x0, x0, :lo12:sony_spun_up ldr w0, [x0] cmp w0, 0 bne .L491 bl scd_spinup .L491: ldr x0, [sp, 72] ldr x0, [x0, 80] str w0, [sp, 52] ldr x0, [sp, 72] ldr x0, [x0, 88] str w0, [sp, 36] nop adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read ldr w0, [x0] cmp w0, 0 bne .L492 adrp x0, .LC48 add x0, x0, :lo12:.LC48 bl printk mov w1, 0 ldr x0, [sp, 72] bl end_request b .L493 .L492: ldr x0, [sp, 72] ldr w0, [x0, 48] and w0, w0, 1 cmp w0, 0 beq .L494 mov w1, 0 ldr x0, [sp, 72] bl end_request b .L493 .L494: ldr w1, [sp, 52] ldr w0, [sp, 36] add w0, w1, w0 add w1, w0, 3 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 2 mov w1, w0 adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldr w0, [x0, 520] cmp w1, w0 bcc .L495 adrp x0, .LC49 add x0, x0, :lo12:.LC49 bl printk mov w1, 0 ldr x0, [sp, 72] bl end_request b .L493 .L495: ldr w0, [sp, 36] cmp w0, 4 ble .L496 mov w0, 4 str w0, [sp, 36] .L496: str wzr, [sp, 40] .L497: .L500: bl handle_sony_cd_attention str w0, [sp, 56] ldr w0, [sp, 56] cmp w0, 0 beq .L518 b .L500 .L518: nop adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read ldr w0, [x0] cmp w0, 0 bne .L501 adrp x0, .LC48 add x0, x0, :lo12:.LC48 bl printk mov w1, 0 ldr x0, [sp, 72] bl end_request b .L493 .L501: adrp x0, sony_blocks_left add x0, x0, :lo12:sony_blocks_left ldr w0, [x0] cmp w0, 0 bne .L502 ldr w0, [sp, 52] add w1, w0, 3 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 2 mov w2, w0 ldr w0, [sp, 36] add w1, w0, 3 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 2 mov w1, w0 mov w0, w2 bl start_request str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L503 mov w1, 0 ldr x0, [sp, 72] bl end_request b .L493 .L502: ldr w1, [sp, 52] adrp x0, sony_next_block add x0, x0, :lo12:sony_next_block ldr w0, [x0] cmp w1, w0 beq .L503 nop bl abort_read adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read ldr w0, [x0] cmp w0, 0 bne .L504 adrp x0, .LC48 add x0, x0, :lo12:.LC48 bl printk mov w1, 0 ldr x0, [sp, 72] bl end_request b .L493 .L504: ldr w0, [sp, 52] add w1, w0, 3 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 2 mov w2, w0 ldr w0, [sp, 36] add w1, w0, 3 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 2 mov w1, w0 mov w0, w2 bl start_request str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L503 adrp x0, .LC50 add x0, x0, :lo12:.LC50 bl printk mov w1, 0 ldr x0, [sp, 72] bl end_request b .L493 .L503: ldr x0, [sp, 72] ldr x0, [x0, 104] ldr w1, [sp, 52] ldr w2, [sp, 36] add x4, sp, 32 add x3, sp, 88 bl read_data_block ldrb w0, [sp, 88] cmp w0, 32 beq .L505 ldr w2, [sp, 36] mov w1, 1 ldr x0, [sp, 72] bl end_that_request_first str w0, [sp, 68] ldr w0, [sp, 68] cmp w0, 0 bne .L519 ldr x0, [sp, 24] ldr x0, [x0, 64] bl spin_lock_irq ldr x0, [sp, 72] bl blkdev_dequeue_request mov w1, 1 ldr x0, [sp, 72] bl end_that_request_last ldr x0, [sp, 24] ldr x0, [x0, 64] bl spin_unlock_irq b .L519 .L505: ldr w0, [sp, 40] cmp w0, 3 ble .L507 mov w1, 0 ldr x0, [sp, 72] bl end_request b .L493 .L507: ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] ldrb w0, [sp, 89] cmp w0, 34 bne .L508 add x1, sp, 32 add x0, sp, 88 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 81 bl do_sony_cd_cmd b .L500 .L508: ldrb w0, [sp, 89] bl translate_error str x0, [sp, 80] ldr w3, [sp, 36] ldr w2, [sp, 52] ldr x1, [sp, 80] adrp x0, .LC51 add x0, x0, :lo12:.LC51 bl printk b .L500 .L519: nop .L493: b .L510 .L517: nop .L490: adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] add x1, x0, 200 adrp x0, cdu31a_abort_timer add x0, x0, :lo12:cdu31a_abort_timer str x1, [x0] adrp x0, cdu31a_abort_timer add x0, x0, :lo12:cdu31a_abort_timer bl add_timer adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up ldr x0, [sp, 24] ldr x0, [x0, 64] bl spin_lock_irq nop nop .L484: adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 104] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L512 bl __stack_chk_fail .L512: ldp x29, x30, [sp], 112 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE74: .size do_cdu31a_request, .-do_cdu31a_request .section .rodata .align 3 .LC52: .string "cdu31a: Error reading TOC: %x %s\n" .align 3 .LC53: .string "Yikes! Couldn't read any sessions!" .align 3 .LC54: .string "<3>CDU31A: Error reading session %d: %x %s\n" .align 3 .LC55: .string "<5>CDU31A: too many sessions: %d\n" .text .align 2 .type sony_get_toc, %function sony_get_toc: .LFB75: .cfi_startproc stp x29, x30, [sp, -144]! .cfi_def_cfa_offset 144 .cfi_offset 29, -144 .cfi_offset 30, -136 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 136] mov x1, 0 str wzr, [sp, 40] mov w0, 99 str w0, [sp, 44] str wzr, [sp, 48] nop str wzr, [sp, 36] adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read ldr w0, [x0] cmp w0, 0 bne .L568 nop .L522: add x1, sp, 28 add x0, sp, 128 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 81 bl do_sony_cd_cmd add x1, sp, 28 add x0, sp, 128 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 48 bl do_sony_cd_cmd ldr w0, [sp, 28] cmp w0, 1 bls .L569 ldrb w0, [sp, 128] cmp w0, 0 beq .L570 ldrb w0, [sp, 129] cmp w0, 0 beq .L570 b .L524 .L569: nop .L524: ldrb w0, [sp, 129] cmp w0, 42 beq .L571 ldrb w0, [sp, 129] cmp w0, 0 beq .L572 ldrb w0, [sp, 129] cmp w0, 34 bne .L528 ldr w0, [sp, 36] cmp w0, 2 bgt .L528 ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] b .L522 .L528: ldrb w0, [sp, 129] bl translate_error str x0, [sp, 104] ldrb w0, [sp, 128] ldr x2, [sp, 104] mov w1, w0 adrp x0, .LC52 add x0, x0, :lo12:.LC52 bl printk b .L520 .L570: nop b .L525 .L571: nop b .L525 .L572: nop .L525: mov w2, 524 mov w1, 14 adrp x0, sony_toc add x0, x0, :lo12:sony_toc bl memset mov w2, 588 mov w1, 15 adrp x0, single_toc add x0, x0, :lo12:single_toc bl memset mov w0, 1 str w0, [sp, 32] .L562: nop ldr w0, [sp, 32] and w0, w0, 255 strb w0, [sp, 120] add x2, sp, 28 add x1, sp, 128 add x0, sp, 120 mov x4, x2 mov x3, x1 mov w2, 1 mov x1, x0 mov w0, 54 bl do_sony_cd_cmd nop ldr w0, [sp, 28] cmp w0, 1 bls .L573 ldrb w0, [sp, 128] and w0, w0, 240 cmp w0, 32 bne .L574 b .L531 .L573: nop .L531: ldr w0, [sp, 32] cmp w0, 1 bne .L575 adrp x0, .LC53 add x0, x0, :lo12:.LC53 bl printk b .L575 .L574: nop ldr w0, [sp, 32] and w0, w0, 255 strb w0, [sp, 120] add x0, sp, 28 add x1, sp, 120 mov x4, x0 adrp x0, single_toc add x3, x0, :lo12:single_toc mov w2, 1 mov w0, 36 bl do_sony_cd_cmd ldr w0, [sp, 28] cmp w0, 1 bhi .L535 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 1] bl translate_error str x0, [sp, 112] adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0] ldr x3, [sp, 112] mov w2, w0 ldr w1, [sp, 32] adrp x0, .LC54 add x0, x0, :lo12:.LC54 bl printk b .L520 .L535: adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0] and w0, w0, 240 cmp w0, 32 bne .L576 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 1] bl translate_error str x0, [sp, 112] adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0] ldr x3, [sp, 112] mov w2, w0 ldr w1, [sp, 32] adrp x0, .LC54 add x0, x0, :lo12:.LC54 bl printk b .L520 .L576: nop nop nop ldr w0, [sp, 28] cmp w0, 18 bls .L537 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 19] cmp w0, 175 .L537: ldr w0, [sp, 28] cmp w0, 27 bls .L538 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 28] cmp w0, 175 .L538: ldr w0, [sp, 28] cmp w0, 36 bls .L539 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 37] cmp w0, 175 .L539: ldr w0, [sp, 28] cmp w0, 45 bls .L540 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 46] cmp w0, 175 .L540: ldr w0, [sp, 28] cmp w0, 54 bls .L541 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 55] cmp w0, 175 .L541: ldr w0, [sp, 28] cmp w0, 63 bls .L542 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 64] cmp w0, 175 .L542: adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 15] bl bcd_to_int str w0, [sp, 56] ldr w0, [sp, 56] and w1, w0, 255 adrp x0, sony_toc add x0, x0, :lo12:sony_toc strb w1, [x0, 11] adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 16] bl bcd_to_int str w0, [sp, 60] ldr w0, [sp, 60] and w1, w0, 255 adrp x0, sony_toc add x0, x0, :lo12:sony_toc strb w1, [x0, 12] adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 17] bl bcd_to_int str w0, [sp, 64] ldr w0, [sp, 64] and w1, w0, 255 adrp x0, sony_toc add x0, x0, :lo12:sony_toc strb w1, [x0, 13] adrp x0, sony_toc+11 add x0, x0, :lo12:sony_toc+11 bl msf_to_log mov w1, w0 adrp x0, single_toc add x0, x0, :lo12:single_toc str w1, [x0, 576] adrp x0, single_toc add x0, x0, :lo12:single_toc ldr w1, [x0, 576] adrp x0, sony_toc add x0, x0, :lo12:sony_toc str w1, [x0, 520] adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 19] cmp w0, 176 beq .L543 adrp x0, single_toc+27 add x3, x0, :lo12:single_toc+27 adrp x0, single_toc+18 add x1, x0, :lo12:single_toc+18 ldr w0, [sp, 28] sub w0, w0, #18 mov w2, w0 mov x0, x3 bl memmove ldr w0, [sp, 28] add w0, w0, 9 str w0, [sp, 28] b .L544 .L543: ldr w0, [sp, 28] cmp w0, 18 bls .L544 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 24] bl bcd_to_int str w0, [sp, 68] ldr w0, [sp, 68] and w1, w0, 255 adrp x0, sony_toc add x0, x0, :lo12:sony_toc strb w1, [x0, 11] adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 25] bl bcd_to_int str w0, [sp, 72] ldr w0, [sp, 72] and w1, w0, 255 adrp x0, sony_toc add x0, x0, :lo12:sony_toc strb w1, [x0, 12] adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 26] bl bcd_to_int str w0, [sp, 76] ldr w0, [sp, 76] and w1, w0, 255 adrp x0, sony_toc add x0, x0, :lo12:sony_toc strb w1, [x0, 13] adrp x0, sony_toc+11 add x0, x0, :lo12:sony_toc+11 bl msf_to_log mov w1, w0 adrp x0, sony_toc add x0, x0, :lo12:sony_toc str w1, [x0, 520] .L544: adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 28] cmp w0, 177 beq .L545 adrp x0, single_toc+36 add x3, x0, :lo12:single_toc+36 adrp x0, single_toc+27 add x1, x0, :lo12:single_toc+27 ldr w0, [sp, 28] sub w0, w0, #27 mov w2, w0 mov x0, x3 bl memmove ldr w0, [sp, 28] add w0, w0, 9 str w0, [sp, 28] .L545: adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 37] cmp w0, 178 beq .L546 adrp x0, single_toc+45 add x3, x0, :lo12:single_toc+45 adrp x0, single_toc+36 add x1, x0, :lo12:single_toc+36 ldr w0, [sp, 28] sub w0, w0, #36 mov w2, w0 mov x0, x3 bl memmove ldr w0, [sp, 28] add w0, w0, 9 str w0, [sp, 28] .L546: adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 46] cmp w0, 179 beq .L547 adrp x0, single_toc+54 add x3, x0, :lo12:single_toc+54 adrp x0, single_toc+45 add x1, x0, :lo12:single_toc+45 ldr w0, [sp, 28] sub w0, w0, #45 mov w2, w0 mov x0, x3 bl memmove ldr w0, [sp, 28] add w0, w0, 9 str w0, [sp, 28] .L547: adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 55] cmp w0, 180 beq .L548 adrp x0, single_toc+63 add x3, x0, :lo12:single_toc+63 adrp x0, single_toc+54 add x1, x0, :lo12:single_toc+54 ldr w0, [sp, 28] sub w0, w0, #54 mov w2, w0 mov x0, x3 bl memmove ldr w0, [sp, 28] add w0, w0, 9 str w0, [sp, 28] .L548: adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 64] cmp w0, 192 beq .L549 adrp x0, single_toc+72 add x3, x0, :lo12:single_toc+72 adrp x0, single_toc+63 add x1, x0, :lo12:single_toc+63 ldr w0, [sp, 28] sub w0, w0, #63 mov w2, w0 mov x0, x3 bl memmove ldr w0, [sp, 28] add w0, w0, 9 str w0, [sp, 28] .L549: adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 6] cmp w0, 16 bne .L577 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 5] cmp w0, 2 bne .L578 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 10] cmp w0, 2 bne .L579 adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x1, x2, x0 ldrb w0, [x1, 14] mov w2, 1 bfi w0, w2, 0, 4 strb w0, [x1, 14] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x1, x2, x0 ldrb w0, [x1, 14] mov w2, 4 bfi w0, w2, 4, 4 strb w0, [x1, 14] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 mov w1, 1 strb w1, [x0, 15] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 strb wzr, [x0, 16] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 mov w1, 2 strb w1, [x0, 17] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 strb wzr, [x0, 18] mov w0, 1 str w0, [sp, 48] ldr w0, [sp, 48] str w0, [sp, 44] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] b .L553 .L577: nop b .L550 .L578: nop b .L550 .L579: nop .L550: str wzr, [sp, 52] .L558: adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 10] bl bcd_to_int str w0, [sp, 80] adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 5] bl bcd_to_int str w0, [sp, 84] ldr w1, [sp, 80] ldr w0, [sp, 84] sub w0, w1, w0 add w1, w0, 1 ldr w0, [sp, 52] cmp w1, w0 bls .L580 adrp x0, single_toc add x2, x0, :lo12:single_toc ldrsw x1, [sp, 52] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 add x0, x0, 64 ldrb w0, [x0, 8] ubfx x0, x0, 0, 4 and w2, w0, 255 adrp x0, sony_toc add x3, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x1, x3, x0 ldrb w0, [x1, 14] bfi w0, w2, 0, 4 strb w0, [x1, 14] adrp x0, single_toc add x2, x0, :lo12:single_toc ldrsw x1, [sp, 52] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 add x0, x0, 64 ldrb w0, [x0, 8] ubfx x0, x0, 4, 4 and w2, w0, 255 adrp x0, sony_toc add x3, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x1, x3, x0 ldrb w0, [x1, 14] bfi w0, w2, 4, 4 strb w0, [x1, 14] adrp x0, single_toc add x2, x0, :lo12:single_toc ldrsw x1, [sp, 52] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 73] bl bcd_to_int str w0, [sp, 88] ldr w0, [sp, 88] and w3, w0, 255 adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 mov w1, w3 strb w1, [x0, 15] adrp x0, single_toc add x2, x0, :lo12:single_toc ldrsw x1, [sp, 52] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 74] bl bcd_to_int str w0, [sp, 92] ldr w0, [sp, 92] and w3, w0, 255 adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 mov w1, w3 strb w1, [x0, 16] adrp x0, single_toc add x2, x0, :lo12:single_toc ldrsw x1, [sp, 52] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 75] bl bcd_to_int str w0, [sp, 96] ldr w0, [sp, 96] and w3, w0, 255 adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 mov w1, w3 strb w1, [x0, 17] adrp x0, single_toc add x2, x0, :lo12:single_toc ldrsw x1, [sp, 52] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 76] bl bcd_to_int str w0, [sp, 100] ldr w0, [sp, 100] and w3, w0, 255 adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 mov w1, w3 strb w1, [x0, 18] ldr w0, [sp, 52] cmp w0, 0 bne .L555 ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 adrp x1, sony_toc add x1, x1, :lo12:sony_toc add x0, x0, x1 add x0, x0, 16 bl msf_to_log mov w1, w0 adrp x0, single_toc add x0, x0, :lo12:single_toc str w1, [x0, 572] .L555: adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 15] mov w1, w0 ldr w0, [sp, 44] cmp w0, w1 ble .L556 adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 15] str w0, [sp, 44] .L556: adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 15] mov w1, w0 ldr w0, [sp, 48] cmp w0, w1 bge .L557 adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 15] str w0, [sp, 48] .L557: ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] b .L558 .L580: nop .L553: ldr w0, [sp, 44] and w1, w0, 255 adrp x0, sony_toc add x0, x0, :lo12:sony_toc strb w1, [x0, 8] ldr w0, [sp, 48] and w1, w0, 255 adrp x0, sony_toc add x0, x0, :lo12:sony_toc strb w1, [x0, 9] adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w1, [x0, 6] adrp x0, sony_toc add x0, x0, :lo12:sony_toc strb w1, [x0, 10] ldr w0, [sp, 32] and w1, w0, 255 adrp x0, sony_toc add x0, x0, :lo12:sony_toc strb w1, [x0] ldr w0, [sp, 32] cmp w0, 1 bne .L559 adrp x0, single_toc add x0, x0, :lo12:single_toc str wzr, [x0, 572] .L559: adrp x0, single_toc add x0, x0, :lo12:single_toc ldr w1, [x0, 572] adrp x0, sony_toc add x0, x0, :lo12:sony_toc str w1, [x0, 516] ldr w0, [sp, 32] cmp w0, 1 ble .L560 adrp x0, single_toc add x0, x0, :lo12:single_toc ldrb w0, [x0, 19] cmp w0, 176 bne .L560 adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldr w1, [x0, 520] adrp x0, single_toc add x0, x0, :lo12:single_toc ldr w0, [x0, 576] cmp w1, w0 beq .L581 .L560: ldr w0, [sp, 32] cmp w0, 40 ble .L561 ldr w1, [sp, 32] adrp x0, .LC55 add x0, x0, :lo12:.LC55 bl printk b .L534 .L561: ldr w0, [sp, 32] add w0, w0, 1 str w0, [sp, 32] b .L562 .L575: nop b .L534 .L581: nop .L534: ldr w1, [sp, 40] adrp x0, sony_toc add x0, x0, :lo12:sony_toc str w1, [x0, 4] adrp x0, single_toc add x0, x0, :lo12:single_toc ldr x0, [x0, 8] ubfx x0, x0, 40, 4 and w2, w0, 255 adrp x0, sony_toc add x3, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x1, x3, x0 ldrb w0, [x1, 14] bfi w0, w2, 0, 4 strb w0, [x1, 14] adrp x0, single_toc add x0, x0, :lo12:single_toc ldr x0, [x0, 8] ubfx x0, x0, 44, 4 and w2, w0, 255 adrp x0, sony_toc add x3, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x1, x3, x0 ldrb w0, [x1, 14] bfi w0, w2, 4, 4 strb w0, [x1, 14] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 mov w1, -86 strb w1, [x0, 15] adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldrb w3, [x0, 11] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 mov w1, w3 strb w1, [x0, 16] adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldrb w3, [x0, 12] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 mov w1, w3 strb w1, [x0, 17] adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldrb w3, [x0, 13] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 mov w1, w3 strb w1, [x0, 18] adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read mov w1, 1 str w1, [x0] nop .L568: nop nop .L520: adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 136] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L564 bl __stack_chk_fail .L564: ldp x29, x30, [sp], 144 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE75: .size sony_get_toc, .-sony_get_toc .align 2 .type scd_get_last_session, %function scd_get_last_session: .LFB76: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] ldr x0, [sp, 16] cmp x0, 0 bne .L583 mov w0, 1 b .L584 .L583: adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read ldr w0, [x0] cmp w0, 0 bne .L585 adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_interruptible str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 beq .L586 mov w0, -512 b .L584 .L586: bl sony_get_toc adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up .L585: ldr x0, [sp, 16] mov w1, 1 strb w1, [x0, 5] adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldr w0, [x0, 516] mov w1, w0 ldr x0, [sp, 16] str w1, [x0] adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldrb w0, [x0, 10] cmp w0, 32 bne .L587 mov w0, 1 str w0, [sp, 40] b .L588 .L587: adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldrb w0, [x0, 10] cmp w0, 16 bne .L589 mov w0, 1 str w0, [sp, 40] b .L588 .L589: str wzr, [sp, 40] .L588: ldr w0, [sp, 40] and w1, w0, 255 ldr x0, [sp, 16] strb w1, [x0, 4] mov w0, 0 .L584: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE76: .size scd_get_last_session, .-scd_get_last_session .align 2 .type find_track, %function find_track: .LFB77: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] str wzr, [sp, 28] b .L591 .L594: adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 28] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 15] mov w1, w0 ldr w0, [sp, 12] cmp w0, w1 bne .L592 ldr w0, [sp, 28] b .L593 .L592: ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L591: adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldr w1, [x0, 4] ldr w0, [sp, 28] cmp w1, w0 bcs .L594 mov w0, -1 .L593: add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE77: .size find_track, .-find_track .section .rodata .align 3 .LC56: .string "<3>CDU31A: Sony CDROM error %s (read_subcode)\n" .text .align 2 .type read_subcode, %function read_subcode: .LFB78: .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 add x0, sp, 28 mov x4, x0 adrp x0, last_sony_subcode add x3, x0, :lo12:last_sony_subcode mov w2, 0 mov x1, 0 mov w0, 33 bl do_sony_cd_cmd ldr w0, [sp, 28] cmp w0, 1 bhi .L596 adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w0, [x0, 1] bl translate_error str x0, [sp, 64] ldr x1, [sp, 64] adrp x0, .LC56 add x0, x0, :lo12:.LC56 bl printk mov w0, -5 b .L599 .L596: adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w0, [x0] and w0, w0, 240 cmp w0, 32 bne .L598 adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w0, [x0, 1] bl translate_error str x0, [sp, 64] ldr x1, [sp, 64] adrp x0, .LC56 add x0, x0, :lo12:.LC56 bl printk mov w0, -5 b .L599 .L598: adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w0, [x0, 3] bl bcd_to_int str w0, [sp, 32] ldr w0, [sp, 32] and w1, w0, 255 adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode strb w1, [x0, 3] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w0, [x0, 4] bl bcd_to_int str w0, [sp, 36] ldr w0, [sp, 36] and w1, w0, 255 adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode strb w1, [x0, 4] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w0, [x0, 9] bl bcd_to_int str w0, [sp, 40] ldr w0, [sp, 40] and w1, w0, 255 adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode strb w1, [x0, 9] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w0, [x0, 10] bl bcd_to_int str w0, [sp, 44] ldr w0, [sp, 44] and w1, w0, 255 adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode strb w1, [x0, 10] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w0, [x0, 11] bl bcd_to_int str w0, [sp, 48] ldr w0, [sp, 48] and w1, w0, 255 adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode strb w1, [x0, 11] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w0, [x0, 5] bl bcd_to_int str w0, [sp, 52] ldr w0, [sp, 52] and w1, w0, 255 adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode strb w1, [x0, 5] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w0, [x0, 6] bl bcd_to_int str w0, [sp, 56] ldr w0, [sp, 56] and w1, w0, 255 adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode strb w1, [x0, 6] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w0, [x0, 7] bl bcd_to_int str w0, [sp, 60] ldr w0, [sp, 60] and w1, w0, 255 adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode strb w1, [x0, 7] mov w0, 0 .L599: 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 .L600 bl __stack_chk_fail .L600: mov w0, w1 ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE78: .size read_subcode, .-read_subcode .align 2 .type scd_get_mcn, %function scd_get_mcn: .LFB79: .cfi_startproc stp x29, x30, [sp, -240]! .cfi_def_cfa_offset 240 .cfi_offset 29, -240 .cfi_offset 30, -232 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, 232] mov x1, 0 ldr x0, [sp, 16] str x0, [sp, 48] add x0, sp, 216 add x0, x0, 3 str x0, [sp, 56] ldr x0, [sp, 16] mov w2, 14 mov w1, 0 bl memset adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_interruptible str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 beq .L602 mov w0, -512 b .L605 .L602: add x1, sp, 40 add x0, sp, 216 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 34 bl do_sony_cd_cmd adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up ldr w0, [sp, 40] cmp w0, 1 bls .L604 ldrb w0, [sp, 216] and w0, w0, 240 cmp w0, 32 beq .L604 ldr x0, [sp, 48] str x0, [sp, 64] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] ldrb w0, [x0] lsr w0, w0, 4 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 64] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 72] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] str x0, [sp, 80] ldr x0, [sp, 56] add x0, x0, 1 str x0, [sp, 56] ldr x0, [sp, 80] ldrb w0, [x0] and w0, w0, 15 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 72] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 88] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] ldrb w0, [x0] lsr w0, w0, 4 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 88] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 96] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] str x0, [sp, 104] ldr x0, [sp, 56] add x0, x0, 1 str x0, [sp, 56] ldr x0, [sp, 104] ldrb w0, [x0] and w0, w0, 15 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 96] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 112] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] ldrb w0, [x0] lsr w0, w0, 4 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 112] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 120] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] str x0, [sp, 128] ldr x0, [sp, 56] add x0, x0, 1 str x0, [sp, 56] ldr x0, [sp, 128] ldrb w0, [x0] and w0, w0, 15 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 120] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 136] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] ldrb w0, [x0] lsr w0, w0, 4 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 136] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 144] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] str x0, [sp, 152] ldr x0, [sp, 56] add x0, x0, 1 str x0, [sp, 56] ldr x0, [sp, 152] ldrb w0, [x0] and w0, w0, 15 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 144] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 160] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] ldrb w0, [x0] lsr w0, w0, 4 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 160] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 168] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] str x0, [sp, 176] ldr x0, [sp, 56] add x0, x0, 1 str x0, [sp, 56] ldr x0, [sp, 176] ldrb w0, [x0] and w0, w0, 15 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 168] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 184] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] ldrb w0, [x0] lsr w0, w0, 4 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 184] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 192] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] str x0, [sp, 200] ldr x0, [sp, 56] add x0, x0, 1 str x0, [sp, 56] ldr x0, [sp, 200] ldrb w0, [x0] and w0, w0, 15 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 192] strb w1, [x0] ldr x0, [sp, 48] str x0, [sp, 208] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 56] ldrb w0, [x0] lsr w0, w0, 4 and w0, w0, 255 add w0, w0, 48 and w1, w0, 255 ldr x0, [sp, 208] strb w1, [x0] .L604: ldr x0, [sp, 48] strb wzr, [x0] mov w0, 0 .L605: 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 .L606 bl __stack_chk_fail .L606: mov w0, w1 ldp x29, x30, [sp], 240 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE79: .size scd_get_mcn, .-scd_get_mcn .align 2 .type sony_get_subchnl_info, %function sony_get_subchnl_info: .LFB80: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] .L610: bl handle_sony_cd_attention str w0, [sp, 32] ldr w0, [sp, 32] cmp w0, 0 beq .L621 b .L610 .L621: nop bl sony_get_toc adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read ldr w0, [x0] cmp w0, 0 bne .L611 mov w0, -5 b .L612 .L611: adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status ldr w0, [x0] cmp w0, 21 beq .L613 cmp w0, 21 bgt .L614 cmp w0, 17 beq .L613 cmp w0, 17 blt .L614 sub w0, w0, #18 cmp w0, 1 bhi .L614 b .L617 .L613: bl read_subcode str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 0 bge .L622 mov w0, -5 b .L612 .L614: mov w0, -5 b .L612 .L622: nop .L617: adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status ldr w0, [x0] and w1, w0, 255 ldr x0, [sp, 24] strb w1, [x0, 1] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldr x0, [x0] ubfx x0, x0, 16, 4 and w2, w0, 255 ldr x1, [sp, 24] ldrb w0, [x1, 2] bfi w0, w2, 0, 4 strb w0, [x1, 2] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldr x0, [x0] ubfx x0, x0, 20, 4 and w2, w0, 255 ldr x1, [sp, 24] ldrb w0, [x1, 2] bfi w0, w2, 4, 4 strb w0, [x1, 2] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w1, [x0, 3] ldr x0, [sp, 24] strb w1, [x0, 3] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w1, [x0, 4] ldr x0, [sp, 24] strb w1, [x0, 4] ldr x0, [sp, 24] ldrb w0, [x0] cmp w0, 2 bne .L618 adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w1, [x0, 9] ldr x0, [sp, 24] strb w1, [x0, 8] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w1, [x0, 10] ldr x0, [sp, 24] strb w1, [x0, 9] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w1, [x0, 11] ldr x0, [sp, 24] strb w1, [x0, 10] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w1, [x0, 5] ldr x0, [sp, 24] strb w1, [x0, 12] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w1, [x0, 6] ldr x0, [sp, 24] strb w1, [x0, 13] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w1, [x0, 7] ldr x0, [sp, 24] strb w1, [x0, 14] b .L619 .L618: ldr x0, [sp, 24] ldrb w0, [x0] cmp w0, 1 bne .L619 adrp x0, last_sony_subcode+9 add x0, x0, :lo12:last_sony_subcode+9 bl msf_to_log str w0, [sp, 40] ldr w1, [sp, 40] ldr x0, [sp, 24] str w1, [x0, 8] adrp x0, last_sony_subcode+5 add x0, x0, :lo12:last_sony_subcode+5 bl msf_to_log str w0, [sp, 44] ldr w1, [sp, 44] ldr x0, [sp, 24] str w1, [x0, 12] .L619: mov w0, 0 .L612: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE80: .size sony_get_subchnl_info, .-sony_get_subchnl_info .section .rodata .align 3 .LC57: .string "<5>CDU31A: Invalid block status: 0x%x\n" .align 3 .LC58: .string "<4>CDU31A: Got result that should have been error: %d\n" .text .align 2 .type read_audio_data, %function read_audio_data: .LFB81: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp str x0, [sp, 40] str x1, [sp, 32] str x2, [sp, 24] ldr x0, [sp, 32] strb wzr, [x0] ldr x0, [sp, 32] add x0, x0, 1 strb wzr, [x0] ldr x0, [sp, 24] str wzr, [x0] str wzr, [sp, 52] adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] add x0, x0, 1000 str x0, [sp, 88] .L624: .L632: adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] mov x1, x0 ldr x0, [sp, 88] sub x0, x1, x0 cmp x0, 0 bge .L654 bl is_data_ready str w0, [sp, 56] ldr w0, [sp, 56] cmp w0, 0 bne .L655 bl is_result_ready str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 bne .L656 ldr w0, [sp, 52] cmp w0, 0 bne .L657 .L629: bl handle_sony_cd_attention str w0, [sp, 64] ldr w0, [sp, 64] cmp w0, 0 beq .L658 b .L629 .L658: nop bl sony_sleep b .L632 .L654: nop b .L627 .L655: nop b .L627 .L656: nop b .L627 .L657: nop .L627: bl is_data_ready str w0, [sp, 68] ldr w0, [sp, 68] cmp w0, 0 beq .L633 bl clear_data_ready adrp x0, sony_raw_data_mode add x0, x0, :lo12:sony_raw_data_mode ldr w0, [x0] cmp w0, 0 beq .L634 adrp x0, sony_cd_read_reg add x0, x0, :lo12:sony_cd_read_reg ldrh w0, [x0] and w0, w0, 65535 mov w3, w0 ldr x0, [sp, 40] add x0, x0, 12 mov x2, 2340 mov x1, x0 mov w0, w3 bl insb b .L635 .L634: adrp x0, sony_cd_read_reg add x0, x0, :lo12:sony_cd_read_reg ldrh w0, [x0] and w0, w0, 65535 mov x2, 2352 ldr x1, [sp, 40] bl insb .L635: ldr w0, [sp, 52] cmp w0, 0 bne .L636 adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] add x0, x0, 1000 str x0, [sp, 88] .L642: adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] mov x1, x0 ldr x0, [sp, 88] sub x0, x1, x0 cmp x0, 0 bge .L659 bl is_result_ready str w0, [sp, 76] ldr w0, [sp, 76] cmp w0, 0 bne .L660 .L638: bl handle_sony_cd_attention str w0, [sp, 80] ldr w0, [sp, 80] cmp w0, 0 beq .L661 b .L638 .L661: nop bl sony_sleep b .L642 .L659: nop b .L639 .L660: nop .L639: bl is_result_ready str w0, [sp, 84] ldr w0, [sp, 84] cmp w0, 0 beq .L662 ldr x1, [sp, 24] ldr x0, [sp, 32] bl get_result b .L636 .L662: nop ldr x0, [sp, 32] mov w1, 32 strb w1, [x0] ldr x0, [sp, 32] add x0, x0, 1 mov w1, 1 strb w1, [x0] ldr x0, [sp, 24] mov w1, 2 str w1, [x0] bl abort_read b .L623 .L636: ldr x0, [sp, 32] ldrb w0, [x0] and w0, w0, 240 cmp w0, 80 bne .L645 ldr x0, [sp, 32] ldrb w0, [x0] cmp w0, 80 beq .L663 ldr x0, [sp, 32] ldrb w0, [x0] cmp w0, 84 beq .L663 ldr x0, [sp, 32] ldrb w0, [x0] cmp w0, 85 beq .L663 ldr x0, [sp, 32] ldrb w0, [x0] cmp w0, 89 beq .L663 ldr x0, [sp, 32] ldrb w0, [x0] mov w1, w0 adrp x0, .LC45 add x0, x0, :lo12:.LC45 bl printk ldr x0, [sp, 32] mov w1, 32 strb w1, [x0] ldr x0, [sp, 32] add x0, x0, 1 mov w1, 3 strb w1, [x0] ldr x0, [sp, 24] mov w1, 2 str w1, [x0] b .L663 .L645: ldr x0, [sp, 32] ldrb w0, [x0] and w0, w0, 240 cmp w0, 32 beq .L663 ldr x0, [sp, 32] ldrb w0, [x0] mov w1, w0 adrp x0, .LC57 add x0, x0, :lo12:.LC57 bl printk bl restart_on_error ldr x0, [sp, 32] mov w1, 32 strb w1, [x0] ldr x0, [sp, 32] add x0, x0, 1 mov w1, 3 strb w1, [x0] ldr x0, [sp, 24] mov w1, 2 str w1, [x0] b .L663 .L633: bl is_result_ready str w0, [sp, 72] ldr w0, [sp, 72] cmp w0, 0 beq .L664 ldr w0, [sp, 52] cmp w0, 0 bne .L665 ldr x1, [sp, 24] ldr x0, [sp, 32] bl get_result ldr x0, [sp, 32] ldrb w0, [x0] and w0, w0, 240 cmp w0, 80 bne .L649 mov w0, 1 str w0, [sp, 52] b .L632 .L649: ldr x0, [sp, 32] ldrb w0, [x0] and w0, w0, 240 cmp w0, 32 beq .L650 ldr x0, [sp, 32] ldrb w0, [x0] mov w1, w0 adrp x0, .LC58 add x0, x0, :lo12:.LC58 bl printk ldr x0, [sp, 32] mov w1, 32 strb w1, [x0] ldr x0, [sp, 32] add x0, x0, 1 mov w1, 3 strb w1, [x0] ldr x0, [sp, 24] mov w1, 2 str w1, [x0] .L650: bl abort_read b .L663 .L664: nop b .L647 .L665: nop .L647: nop ldr x0, [sp, 32] mov w1, 32 strb w1, [x0] ldr x0, [sp, 32] add x0, x0, 1 mov w1, 1 strb w1, [x0] ldr x0, [sp, 24] mov w1, 2 str w1, [x0] bl abort_read .L663: nop .L623: ldp x29, x30, [sp], 96 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE81: .size read_audio_data, .-read_audio_data .section .rodata .align 3 .LC59: .string "<3>CDU31A: Unable to set decode params: 0x%2.2x\n" .align 3 .LC60: .string "<3>CDU31A: Data error on audio sector %d\n" .align 3 .LC61: .string "<3>CDU31A: Error reading audio data on sector %d: %s\n" .align 3 .LC62: .string "<3>CDU31A: Error return from audio read: %s\n" .align 3 .LC63: .string "<3>CDU31A: Unable to reset decode params: 0x%2.2x\n" .text .align 2 .type read_audio, %function read_audio: .LFB82: .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 adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_interruptible str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 beq .L667 mov w0, -512 b .L691 .L667: adrp x0, sony_spun_up add x0, x0, :lo12:sony_spun_up ldr w0, [x0] cmp w0, 0 bne .L669 bl scd_spinup .L669: strb wzr, [sp, 96] adrp x0, sony_raw_data_mode add x0, x0, :lo12:sony_raw_data_mode ldr w0, [x0] sxtb w0, w0 orr w0, w0, 6 sxtb w0, w0 and w0, w0, 255 strb w0, [sp, 97] add x2, sp, 32 add x1, sp, 104 add x0, sp, 96 mov x4, x2 mov x3, x1 mov w2, 2 mov x1, x0 mov w0, 16 bl do_sony_cd_cmd ldr w0, [sp, 32] cmp w0, 1 bhi .L670 ldrb w0, [sp, 105] mov w1, w0 adrp x0, .LC59 add x0, x0, :lo12:.LC59 bl printk mov w0, -5 str w0, [sp, 36] b .L671 .L670: ldrb w0, [sp, 104] and w0, w0, 240 cmp w0, 32 bne .L672 ldrb w0, [sp, 105] mov w1, w0 adrp x0, .LC59 add x0, x0, :lo12:.LC59 bl printk mov w0, -5 str w0, [sp, 36] b .L671 .L672: str wzr, [sp, 36] ldr x0, [sp, 24] ldr w0, [x0] mov w2, w0 ldr x0, [sp, 24] ldr w0, [x0, 8] mov w1, w0 mov w0, w2 bl start_request str w0, [sp, 48] ldr w0, [sp, 48] cmp w0, 0 beq .L673 mov w0, -5 str w0, [sp, 36] b .L674 .L673: str wzr, [sp, 40] b .L675 .L687: add x1, sp, 32 add x0, sp, 104 mov x2, x1 mov x1, x0 adrp x0, audio_buffer add x0, x0, :lo12:audio_buffer bl read_audio_data ldrb w0, [sp, 104] and w0, w0, 240 cmp w0, 32 bne .L676 ldrb w0, [sp, 105] cmp w0, 3 bne .L677 ldr x0, [sp, 24] ldr w0, [x0] mov w1, w0 ldr w0, [sp, 40] add w0, w1, w0 mov w1, w0 adrp x0, .LC60 add x0, x0, :lo12:.LC60 bl printk b .L678 .L677: ldrb w0, [sp, 105] cmp w0, 64 bne .L679 adrp x0, sony_raw_data_mode add x0, x0, :lo12:sony_raw_data_mode ldr w0, [x0] cmp w0, 0 beq .L680 adrp x0, sony_raw_data_mode add x0, x0, :lo12:sony_raw_data_mode str wzr, [x0] b .L681 .L680: adrp x0, sony_raw_data_mode add x0, x0, :lo12:sony_raw_data_mode mov w1, 1 str w1, [x0] .L681: strb wzr, [sp, 96] adrp x0, sony_raw_data_mode add x0, x0, :lo12:sony_raw_data_mode ldr w0, [x0] sxtb w0, w0 orr w0, w0, 6 sxtb w0, w0 and w0, w0, 255 strb w0, [sp, 97] add x2, sp, 32 add x1, sp, 104 add x0, sp, 96 mov x4, x2 mov x3, x1 mov w2, 2 mov x1, x0 mov w0, 16 bl do_sony_cd_cmd ldr w0, [sp, 32] cmp w0, 1 bhi .L682 ldrb w0, [sp, 105] mov w1, w0 adrp x0, .LC59 add x0, x0, :lo12:.LC59 bl printk mov w0, -5 str w0, [sp, 36] b .L674 .L682: ldrb w0, [sp, 104] and w0, w0, 240 cmp w0, 32 bne .L683 ldrb w0, [sp, 105] mov w1, w0 adrp x0, .LC59 add x0, x0, :lo12:.LC59 bl printk mov w0, -5 str w0, [sp, 36] b .L674 .L683: ldr x0, [sp, 24] ldr w0, [x0] mov w1, w0 ldr w0, [sp, 40] add w2, w1, w0 ldr x0, [sp, 24] ldr w0, [x0, 8] mov w1, w0 ldr w0, [sp, 40] sub w0, w1, w0 mov w1, w0 mov w0, w2 bl start_request str w0, [sp, 52] ldr w0, [sp, 52] cmp w0, 0 beq .L684 mov w0, -5 str w0, [sp, 36] b .L674 .L684: add x1, sp, 32 add x0, sp, 104 mov x2, x1 mov x1, x0 adrp x0, audio_buffer add x0, x0, :lo12:audio_buffer bl read_audio_data ldrb w0, [sp, 104] and w0, w0, 240 cmp w0, 32 bne .L685 ldrb w0, [sp, 105] cmp w0, 3 bne .L686 ldr x0, [sp, 24] ldr w0, [x0] mov w1, w0 ldr w0, [sp, 40] add w0, w1, w0 mov w1, w0 adrp x0, .LC60 add x0, x0, :lo12:.LC60 bl printk b .L678 .L686: ldrb w0, [sp, 105] bl translate_error str x0, [sp, 88] ldr x0, [sp, 24] ldr w0, [x0] mov w1, w0 ldr w0, [sp, 40] add w0, w1, w0 ldr x2, [sp, 88] mov w1, w0 adrp x0, .LC61 add x0, x0, :lo12:.LC61 bl printk mov w0, -5 str w0, [sp, 36] b .L674 .L685: ldr x0, [sp, 24] ldr x1, [x0, 16] ldr w2, [sp, 40] mov w0, 2352 mul w0, w2, w0 uxtw x0, w0 add x3, x1, x0 mov x2, 2352 adrp x0, audio_buffer add x1, x0, :lo12:audio_buffer mov x0, x3 bl copy_to_user str x0, [sp, 80] ldr x0, [sp, 80] cmp x0, 0 beq .L678 mov w0, -14 str w0, [sp, 36] b .L674 .L679: ldrb w0, [sp, 105] bl translate_error str x0, [sp, 72] ldr x0, [sp, 24] ldr w0, [x0] mov w1, w0 ldr w0, [sp, 40] add w0, w1, w0 ldr x2, [sp, 72] mov w1, w0 adrp x0, .LC61 add x0, x0, :lo12:.LC61 bl printk mov w0, -5 str w0, [sp, 36] b .L674 .L676: ldr x0, [sp, 24] ldr x1, [x0, 16] ldr w2, [sp, 40] mov w0, 2352 mul w0, w2, w0 uxtw x0, w0 add x3, x1, x0 mov x2, 2352 adrp x0, audio_buffer add x1, x0, :lo12:audio_buffer mov x0, x3 bl copy_to_user str x0, [sp, 64] ldr x0, [sp, 64] cmp x0, 0 beq .L678 mov w0, -14 str w0, [sp, 36] b .L674 .L678: ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L675: ldr x0, [sp, 24] ldr w0, [x0, 8] mov w1, w0 ldr w0, [sp, 40] cmp w0, w1 bcc .L687 add x1, sp, 32 add x0, sp, 104 bl get_result ldrb w0, [sp, 104] and w0, w0, 240 cmp w0, 32 bne .L693 ldrb w0, [sp, 105] bl translate_error str x0, [sp, 56] ldr x1, [sp, 56] adrp x0, .LC62 add x0, x0, :lo12:.LC62 bl printk mov w0, -5 str w0, [sp, 36] b .L674 .L693: nop .L674: strb wzr, [sp, 96] adrp x0, sony_xa_mode add x0, x0, :lo12:sony_xa_mode ldr w0, [x0] cmp w0, 0 bne .L688 mov w0, 15 strb w0, [sp, 97] b .L689 .L688: mov w0, 7 strb w0, [sp, 97] .L689: add x2, sp, 32 add x1, sp, 104 add x0, sp, 96 mov x4, x2 mov x3, x1 mov w2, 2 mov x1, x0 mov w0, 16 bl do_sony_cd_cmd ldr w0, [sp, 32] cmp w0, 1 bhi .L690 ldrb w0, [sp, 105] mov w1, w0 adrp x0, .LC63 add x0, x0, :lo12:.LC63 bl printk mov w0, -5 str w0, [sp, 36] b .L671 .L690: ldrb w0, [sp, 104] and w0, w0, 240 cmp w0, 32 bne .L694 ldrb w0, [sp, 105] mov w1, w0 adrp x0, .LC63 add x0, x0, :lo12:.LC63 bl printk mov w0, -5 str w0, [sp, 36] b .L671 .L694: nop .L671: adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up ldr w0, [sp, 36] .L691: 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 .L692 bl __stack_chk_fail .L692: mov w0, w1 ldp x29, x30, [sp], 128 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE82: .size read_audio, .-read_audio .section .rodata .align 3 .LC64: .string "<3>CDU31A: Error %s (CDROM%s)\n" .text .align 2 .type do_sony_cd_cmd_chk, %function do_sony_cd_cmd_chk: .LFB83: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 56] strb w1, [sp, 55] str x2, [sp, 40] str w3, [sp, 48] str x4, [sp, 32] str x5, [sp, 24] ldr x4, [sp, 24] ldr x3, [sp, 32] ldr w2, [sp, 48] ldr x1, [sp, 40] ldrb w0, [sp, 55] bl do_sony_cd_cmd ldr x0, [sp, 24] ldr w0, [x0] cmp w0, 1 bhi .L696 ldr x0, [sp, 32] add x0, x0, 1 ldrb w0, [x0] bl translate_error str x0, [sp, 72] ldr x2, [sp, 56] ldr x1, [sp, 72] adrp x0, .LC64 add x0, x0, :lo12:.LC64 bl printk mov w0, -5 b .L697 .L696: ldr x0, [sp, 32] ldrb w0, [x0] and w0, w0, 240 cmp w0, 32 bne .L698 ldr x0, [sp, 32] add x0, x0, 1 ldrb w0, [x0] bl translate_error str x0, [sp, 72] ldr x2, [sp, 56] ldr x1, [sp, 72] adrp x0, .LC64 add x0, x0, :lo12:.LC64 bl printk mov w0, -5 b .L697 .L698: mov w0, 0 .L697: ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE83: .size do_sony_cd_cmd_chk, .-do_sony_cd_cmd_chk .section .rodata .align 3 .LC65: .string "EJECT" .text .align 2 .type scd_tray_move, %function scd_tray_move: .LFB84: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 72] mov x1, 0 adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_interruptible str w0, [sp, 48] ldr w0, [sp, 48] cmp w0, 0 beq .L700 mov w0, -512 b .L705 .L700: ldr w0, [sp, 20] cmp w0, 1 bne .L702 add x1, sp, 40 add x0, sp, 56 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 65 bl do_sony_cd_cmd add x1, sp, 40 add x0, sp, 56 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 82 bl do_sony_cd_cmd adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status str wzr, [x0] add x1, sp, 40 add x0, sp, 56 mov x5, x1 mov x4, x0 mov w3, 0 mov x2, 0 mov w1, 80 adrp x0, .LC65 add x0, x0, :lo12:.LC65 bl do_sony_cd_cmd_chk str w0, [sp, 44] b .L703 .L702: bl scd_spinup str w0, [sp, 52] ldr w0, [sp, 52] cmp w0, 0 bne .L704 adrp x0, sony_spun_up add x0, x0, :lo12:sony_spun_up mov w1, 1 str w1, [x0] .L704: str wzr, [sp, 44] .L703: adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up ldr w0, [sp, 44] .L705: 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 .L706 bl __stack_chk_fail .L706: mov w0, w1 ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE84: .size scd_tray_move, .-scd_tray_move .section .rodata .align 3 .LC66: .string "START" .align 3 .LC67: .string "STOP" .align 3 .LC68: .string "PAUSE" .align 3 .LC69: .string "RESUME" .align 3 .LC70: .string "PLAYMSF" .align 3 .LC71: .string "<3>CDU31A: Params: %x %x %x %x %x %x %x\n" .align 3 .LC72: .string "<3>CDU31A: Error %s (CDROMPLAYTRKIND)\n" .align 3 .LC73: .string "VOLCTRL" .text .align 2 .type scd_audio_ioctl, %function scd_audio_ioctl: .LFB85: .cfi_startproc stp x29, x30, [sp, -256]! .cfi_def_cfa_offset 256 .cfi_offset 29, -256 .cfi_offset 30, -248 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 248] mov x1, 0 adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_interruptible str w0, [sp, 72] ldr w0, [sp, 72] cmp w0, 0 beq .L708 mov w0, -512 b .L744 .L708: ldr w1, [sp, 36] mov w0, 21259 cmp w1, w0 beq .L710 ldr w1, [sp, 36] mov w0, 21259 cmp w1, w0 bhi .L711 ldr w1, [sp, 36] mov w0, 21258 cmp w1, w0 beq .L712 ldr w1, [sp, 36] mov w0, 21258 cmp w1, w0 bhi .L711 ldr w1, [sp, 36] mov w0, 21256 cmp w1, w0 beq .L713 ldr w1, [sp, 36] mov w0, 21256 cmp w1, w0 bhi .L711 ldr w1, [sp, 36] mov w0, 21255 cmp w1, w0 beq .L714 ldr w1, [sp, 36] mov w0, 21255 cmp w1, w0 bhi .L711 ldr w1, [sp, 36] mov w0, 21254 cmp w1, w0 beq .L715 ldr w1, [sp, 36] mov w0, 21254 cmp w1, w0 bhi .L711 ldr w1, [sp, 36] mov w0, 21253 cmp w1, w0 beq .L716 ldr w1, [sp, 36] mov w0, 21253 cmp w1, w0 bhi .L711 ldr w1, [sp, 36] mov w0, 21252 cmp w1, w0 beq .L717 ldr w1, [sp, 36] mov w0, 21252 cmp w1, w0 bhi .L711 ldr w1, [sp, 36] mov w0, 21251 cmp w1, w0 beq .L718 ldr w1, [sp, 36] mov w0, 21251 cmp w1, w0 bhi .L711 ldr w1, [sp, 36] mov w0, 21249 cmp w1, w0 beq .L719 ldr w1, [sp, 36] mov w0, 21250 cmp w1, w0 beq .L720 b .L711 .L713: add x1, sp, 56 add x0, sp, 232 mov x5, x1 mov x4, x0 mov w3, 0 mov x2, 0 mov w1, 81 adrp x0, .LC66 add x0, x0, :lo12:.LC66 bl do_sony_cd_cmd_chk str w0, [sp, 64] b .L721 .L714: add x1, sp, 56 add x0, sp, 232 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 65 bl do_sony_cd_cmd adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status mov w1, 21 str w1, [x0] add x1, sp, 56 add x0, sp, 232 mov x5, x1 mov x4, x0 mov w3, 0 mov x2, 0 mov w1, 82 adrp x0, .LC67 add x0, x0, :lo12:.LC67 bl do_sony_cd_cmd_chk str w0, [sp, 64] b .L721 .L719: add x1, sp, 56 add x0, sp, 232 mov x5, x1 mov x4, x0 mov w3, 0 mov x2, 0 mov w1, 65 adrp x0, .LC68 add x0, x0, :lo12:.LC68 bl do_sony_cd_cmd_chk str w0, [sp, 168] ldr w0, [sp, 168] cmp w0, 0 beq .L722 mov w0, -5 str w0, [sp, 64] b .L721 .L722: bl read_subcode str w0, [sp, 172] ldr w0, [sp, 172] cmp w0, 0 bge .L723 mov w0, -5 str w0, [sp, 64] b .L721 .L723: adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w1, [x0, 9] adrp x0, cur_pos_msf add x0, x0, :lo12:cur_pos_msf strb w1, [x0] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w1, [x0, 10] adrp x0, cur_pos_msf add x0, x0, :lo12:cur_pos_msf strb w1, [x0, 1] adrp x0, last_sony_subcode add x0, x0, :lo12:last_sony_subcode ldrb w1, [x0, 11] adrp x0, cur_pos_msf add x0, x0, :lo12:cur_pos_msf strb w1, [x0, 2] adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status mov w1, 18 str w1, [x0] str wzr, [sp, 64] b .L721 .L720: adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status ldr w0, [x0] cmp w0, 18 beq .L724 mov w0, -22 str w0, [sp, 64] b .L721 .L724: add x1, sp, 56 add x0, sp, 232 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 81 bl do_sony_cd_cmd adrp x0, cur_pos_msf add x0, x0, :lo12:cur_pos_msf ldrb w0, [x0] and w0, w0, 255 bl int_to_bcd str w0, [sp, 140] ldr w0, [sp, 140] and w0, w0, 255 strb w0, [sp, 225] adrp x0, cur_pos_msf add x0, x0, :lo12:cur_pos_msf ldrb w0, [x0, 1] and w0, w0, 255 bl int_to_bcd str w0, [sp, 144] ldr w0, [sp, 144] and w0, w0, 255 strb w0, [sp, 226] adrp x0, cur_pos_msf add x0, x0, :lo12:cur_pos_msf ldrb w0, [x0, 2] and w0, w0, 255 bl int_to_bcd str w0, [sp, 148] ldr w0, [sp, 148] and w0, w0, 255 strb w0, [sp, 227] adrp x0, final_pos_msf add x0, x0, :lo12:final_pos_msf ldrb w0, [x0] and w0, w0, 255 bl int_to_bcd str w0, [sp, 152] ldr w0, [sp, 152] and w0, w0, 255 strb w0, [sp, 228] adrp x0, final_pos_msf add x0, x0, :lo12:final_pos_msf ldrb w0, [x0, 1] and w0, w0, 255 bl int_to_bcd str w0, [sp, 156] ldr w0, [sp, 156] and w0, w0, 255 strb w0, [sp, 229] adrp x0, final_pos_msf add x0, x0, :lo12:final_pos_msf ldrb w0, [x0, 2] and w0, w0, 255 bl int_to_bcd str w0, [sp, 160] ldr w0, [sp, 160] and w0, w0, 255 strb w0, [sp, 230] mov w0, 3 strb w0, [sp, 224] add x2, sp, 56 add x1, sp, 232 add x0, sp, 224 mov x5, x2 mov x4, x1 mov w3, 7 mov x2, x0 mov w1, 64 adrp x0, .LC69 add x0, x0, :lo12:.LC69 bl do_sony_cd_cmd_chk str w0, [sp, 164] ldr w0, [sp, 164] cmp w0, 0 bge .L725 mov w0, -5 str w0, [sp, 64] b .L721 .L725: adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status mov w1, 17 str w1, [x0] str wzr, [sp, 64] b .L721 .L718: add x1, sp, 56 add x0, sp, 232 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 81 bl do_sony_cd_cmd mov w0, 1 str w0, [sp, 60] b .L726 .L727: ldrsw x0, [sp, 60] sub x0, x0, #1 ldr x1, [sp, 24] add x0, x1, x0 ldrb w0, [x0] bl int_to_bcd str w0, [sp, 136] ldr w0, [sp, 136] and w2, w0, 255 ldrsw x0, [sp, 60] add x1, sp, 224 strb w2, [x1, x0] ldr w0, [sp, 60] add w0, w0, 1 str w0, [sp, 60] .L726: ldr w0, [sp, 60] cmp w0, 6 ble .L727 mov w0, 3 strb w0, [sp, 224] add x2, sp, 56 add x1, sp, 232 add x0, sp, 224 mov x5, x2 mov x4, x1 mov w3, 7 mov x2, x0 mov w1, 64 adrp x0, .LC70 add x0, x0, :lo12:.LC70 bl do_sony_cd_cmd_chk str w0, [sp, 120] ldr w0, [sp, 120] cmp w0, 0 bge .L728 mov w0, -5 str w0, [sp, 64] b .L721 .L728: ldrb w0, [sp, 228] bl bcd_to_int str w0, [sp, 124] ldr w0, [sp, 124] and w1, w0, 255 adrp x0, final_pos_msf add x0, x0, :lo12:final_pos_msf strb w1, [x0] ldrb w0, [sp, 229] bl bcd_to_int str w0, [sp, 128] ldr w0, [sp, 128] and w1, w0, 255 adrp x0, final_pos_msf add x0, x0, :lo12:final_pos_msf strb w1, [x0, 1] ldrb w0, [sp, 230] bl bcd_to_int str w0, [sp, 132] ldr w0, [sp, 132] and w1, w0, 255 adrp x0, final_pos_msf add x0, x0, :lo12:final_pos_msf strb w1, [x0, 2] adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status mov w1, 17 str w1, [x0] str wzr, [sp, 64] b .L721 .L716: bl sony_get_toc adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read ldr w0, [x0] cmp w0, 0 bne .L729 mov w0, -5 str w0, [sp, 64] b .L721 .L729: ldr x0, [sp, 24] str x0, [sp, 200] adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldrb w1, [x0, 8] ldr x0, [sp, 200] strb w1, [x0] adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldrb w1, [x0, 9] ldr x0, [sp, 200] strb w1, [x0, 1] str wzr, [sp, 64] b .L721 .L715: str xzr, [sp, 184] bl sony_get_toc adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read ldr w0, [x0] cmp w0, 0 bne .L730 mov w0, -5 str w0, [sp, 64] b .L721 .L730: ldr x0, [sp, 24] str x0, [sp, 192] ldr x0, [sp, 192] ldrb w0, [x0] bl find_track str w0, [sp, 76] ldr w0, [sp, 76] cmp w0, 0 bge .L731 mov w0, -22 str w0, [sp, 64] b .L721 .L731: adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 76] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 14] ubfx x0, x0, 0, 4 and w2, w0, 255 ldr x1, [sp, 192] ldrb w0, [x1, 1] bfi w0, w2, 0, 4 strb w0, [x1, 1] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 76] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 14] ubfx x0, x0, 4, 4 and w2, w0, 255 ldr x1, [sp, 192] ldrb w0, [x1, 1] bfi w0, w2, 4, 4 strb w0, [x1, 1] ldrsw x1, [sp, 76] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 adrp x1, sony_toc add x1, x1, :lo12:sony_toc add x0, x0, x1 add x0, x0, 16 str x0, [sp, 184] ldr x0, [sp, 192] ldrb w0, [x0, 2] cmp w0, 1 bne .L732 ldr x0, [sp, 184] bl msf_to_log str w0, [sp, 80] ldr w1, [sp, 80] ldr x0, [sp, 192] str w1, [x0, 4] b .L733 .L732: ldr x0, [sp, 192] ldrb w0, [x0, 2] cmp w0, 2 bne .L733 ldr x0, [sp, 184] ldrb w1, [x0] ldr x0, [sp, 192] strb w1, [x0, 4] ldr x0, [sp, 184] ldrb w1, [x0, 1] ldr x0, [sp, 192] strb w1, [x0, 5] ldr x0, [sp, 184] ldrb w1, [x0, 2] ldr x0, [sp, 192] strb w1, [x0, 6] .L733: str wzr, [sp, 64] b .L721 .L717: ldr x0, [sp, 24] str x0, [sp, 208] bl sony_get_toc adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read ldr w0, [x0] cmp w0, 0 bne .L734 mov w0, -5 str w0, [sp, 64] b .L721 .L734: ldr x0, [sp, 208] ldrb w1, [x0] adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldrb w0, [x0, 8] cmp w1, w0 bcs .L735 mov w0, -22 str w0, [sp, 64] b .L721 .L735: ldr x0, [sp, 208] ldrb w1, [x0] adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldrb w0, [x0, 9] cmp w1, w0 bls .L736 mov w0, -22 str w0, [sp, 64] b .L721 .L736: ldr x0, [sp, 208] ldrb w1, [x0, 2] ldr x0, [sp, 208] ldrb w0, [x0] cmp w1, w0 bcs .L737 mov w0, -22 str w0, [sp, 64] b .L721 .L737: ldr x0, [sp, 208] ldrb w0, [x0] bl find_track str w0, [sp, 68] ldr w0, [sp, 68] cmp w0, 0 bge .L738 mov w0, -22 str w0, [sp, 64] b .L721 .L738: adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 68] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 16] bl int_to_bcd str w0, [sp, 84] ldr w0, [sp, 84] and w0, w0, 255 strb w0, [sp, 225] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 68] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 17] bl int_to_bcd str w0, [sp, 88] ldr w0, [sp, 88] and w0, w0, 255 strb w0, [sp, 226] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 68] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 18] bl int_to_bcd str w0, [sp, 92] ldr w0, [sp, 92] and w0, w0, 255 strb w0, [sp, 227] ldr x0, [sp, 208] ldrb w1, [x0, 2] adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldrb w0, [x0, 9] cmp w1, w0 bcc .L739 mov w0, 170 bl find_track str w0, [sp, 68] b .L740 .L739: ldr x0, [sp, 208] ldrb w0, [x0, 2] add w0, w0, 1 bl find_track str w0, [sp, 68] .L740: ldr w0, [sp, 68] cmp w0, 0 bge .L741 mov w0, -22 str w0, [sp, 64] b .L721 .L741: adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 68] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 16] bl int_to_bcd str w0, [sp, 96] ldr w0, [sp, 96] and w0, w0, 255 strb w0, [sp, 228] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 68] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 17] bl int_to_bcd str w0, [sp, 100] ldr w0, [sp, 100] and w0, w0, 255 strb w0, [sp, 229] adrp x0, sony_toc add x2, x0, :lo12:sony_toc ldrsw x1, [sp, 68] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 add x0, x2, x0 ldrb w0, [x0, 18] bl int_to_bcd str w0, [sp, 104] ldr w0, [sp, 104] and w0, w0, 255 strb w0, [sp, 230] mov w0, 3 strb w0, [sp, 224] add x1, sp, 56 add x0, sp, 232 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 81 bl do_sony_cd_cmd add x2, sp, 56 add x1, sp, 232 add x0, sp, 224 mov x4, x2 mov x3, x1 mov w2, 7 mov x1, x0 mov w0, 64 bl do_sony_cd_cmd ldr w0, [sp, 56] cmp w0, 1 bhi .L742 ldrb w0, [sp, 224] mov w1, w0 ldrb w0, [sp, 225] mov w2, w0 ldrb w0, [sp, 226] mov w3, w0 ldrb w0, [sp, 227] mov w4, w0 ldrb w0, [sp, 228] mov w5, w0 ldrb w0, [sp, 229] mov w6, w0 ldrb w0, [sp, 230] mov w7, w0 adrp x0, .LC71 add x0, x0, :lo12:.LC71 bl printk ldrb w0, [sp, 233] bl translate_error str x0, [sp, 216] ldr x1, [sp, 216] adrp x0, .LC72 add x0, x0, :lo12:.LC72 bl printk mov w0, -5 str w0, [sp, 64] b .L721 .L742: ldrb w0, [sp, 232] and w0, w0, 240 cmp w0, 32 bne .L743 ldrb w0, [sp, 224] mov w1, w0 ldrb w0, [sp, 225] mov w2, w0 ldrb w0, [sp, 226] mov w3, w0 ldrb w0, [sp, 227] mov w4, w0 ldrb w0, [sp, 228] mov w5, w0 ldrb w0, [sp, 229] mov w6, w0 ldrb w0, [sp, 230] mov w7, w0 adrp x0, .LC71 add x0, x0, :lo12:.LC71 bl printk ldrb w0, [sp, 233] bl translate_error str x0, [sp, 216] ldr x1, [sp, 216] adrp x0, .LC72 add x0, x0, :lo12:.LC72 bl printk mov w0, -5 str w0, [sp, 64] b .L721 .L743: ldrb w0, [sp, 228] bl bcd_to_int str w0, [sp, 108] ldr w0, [sp, 108] and w1, w0, 255 adrp x0, final_pos_msf add x0, x0, :lo12:final_pos_msf strb w1, [x0] ldrb w0, [sp, 229] bl bcd_to_int str w0, [sp, 112] ldr w0, [sp, 112] and w1, w0, 255 adrp x0, final_pos_msf add x0, x0, :lo12:final_pos_msf strb w1, [x0, 1] ldrb w0, [sp, 230] bl bcd_to_int str w0, [sp, 116] ldr w0, [sp, 116] and w1, w0, 255 adrp x0, final_pos_msf add x0, x0, :lo12:final_pos_msf strb w1, [x0, 2] adrp x0, sony_audio_status add x0, x0, :lo12:sony_audio_status mov w1, 17 str w1, [x0] str wzr, [sp, 64] b .L721 .L712: ldr x0, [sp, 24] str x0, [sp, 176] mov w0, 4 strb w0, [sp, 224] ldr x0, [sp, 176] ldrb w0, [x0] strb w0, [sp, 225] ldr x0, [sp, 176] ldrb w0, [x0, 1] strb w0, [sp, 226] add x2, sp, 56 add x1, sp, 232 add x0, sp, 224 mov x5, x2 mov x4, x1 mov w3, 3 mov x2, x0 mov w1, 16 adrp x0, .LC73 add x0, x0, :lo12:.LC73 bl do_sony_cd_cmd_chk str w0, [sp, 64] b .L721 .L710: ldr x0, [sp, 24] bl sony_get_subchnl_info str w0, [sp, 64] b .L721 .L711: mov w0, -22 str w0, [sp, 64] nop .L721: adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up ldr w0, [sp, 64] .L744: mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 248] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L745 bl __stack_chk_fail .L745: mov w0, w1 ldp x29, x30, [sp], 256 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE85: .size scd_audio_ioctl, .-scd_audio_ioctl .align 2 .type scd_dev_ioctl, %function scd_dev_ioctl: .LFB86: .cfi_startproc stp x29, x30, [sp, -112]! .cfi_def_cfa_offset 112 .cfi_offset 29, -112 .cfi_offset 30, -104 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 104] mov x1, 0 ldr x0, [sp, 24] str x0, [sp, 64] adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl down_interruptible str w0, [sp, 56] ldr w0, [sp, 56] cmp w0, 0 beq .L747 mov w0, -512 b .L764 .L747: ldr w1, [sp, 36] mov w0, 21262 cmp w1, w0 bne .L749 bl sony_get_toc adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read ldr w0, [x0] cmp w0, 0 bne .L750 mov w0, -5 str w0, [sp, 52] b .L751 .L750: add x0, sp, 80 mov x2, 24 ldr x1, [sp, 64] bl copy_from_user str x0, [sp, 72] ldr x0, [sp, 72] cmp x0, 0 beq .L752 mov w0, -14 str w0, [sp, 52] b .L751 .L752: ldr w0, [sp, 88] cmp w0, 0 bne .L753 str wzr, [sp, 52] b .L751 .L753: ldr x3, [sp, 96] ldr w1, [sp, 88] mov w0, 2352 mul w0, w1, w0 sxtw x0, w0 mov x2, x0 mov x1, x3 mov w0, 1 bl access_ok str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 bne .L754 mov w0, -14 b .L764 .L754: ldrb w0, [sp, 84] cmp w0, 1 bne .L755 ldr w0, [sp, 80] mov w1, w0 adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldr w0, [x0, 520] cmp w1, w0 bcc .L756 mov w0, -22 str w0, [sp, 52] b .L751 .L756: ldr w1, [sp, 80] ldr w0, [sp, 88] add w0, w1, w0 mov w1, w0 adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldr w0, [x0, 520] cmp w1, w0 bcc .L757 mov w0, -22 str w0, [sp, 52] b .L751 .L755: ldrb w0, [sp, 84] cmp w0, 2 bne .L758 ldrb w0, [sp, 80] cmp w0, 74 bls .L759 mov w0, -22 str w0, [sp, 52] b .L751 .L759: ldrb w0, [sp, 81] cmp w0, 59 bls .L760 mov w0, -22 str w0, [sp, 52] b .L751 .L760: ldrb w0, [sp, 82] cmp w0, 74 bls .L761 mov w0, -22 str w0, [sp, 52] b .L751 .L761: ldrb w0, [sp, 80] mov w1, w0 mov w0, 4500 mul w1, w1, w0 ldrb w0, [sp, 81] mov w2, w0 mov w0, 75 mul w0, w2, w0 add w0, w1, w0 ldrb w1, [sp, 82] add w0, w0, w1 str w0, [sp, 80] ldr w0, [sp, 80] mov w1, w0 adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldr w0, [x0, 520] cmp w1, w0 bcc .L762 mov w0, -22 str w0, [sp, 52] b .L751 .L762: ldr w1, [sp, 80] ldr w0, [sp, 88] add w0, w1, w0 mov w1, w0 adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldr w0, [x0, 520] cmp w1, w0 bcc .L763 mov w0, -22 str w0, [sp, 52] b .L751 .L763: ldr w0, [sp, 80] sub w0, w0, #150 str w0, [sp, 80] b .L757 .L758: mov w0, -22 str w0, [sp, 52] b .L751 .L757: add x0, sp, 80 bl read_audio str w0, [sp, 52] b .L751 .L749: mov w0, -22 str w0, [sp, 52] .L751: adrp x0, sony_sem add x0, x0, :lo12:sony_sem bl up ldr w0, [sp, 52] .L764: mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 104] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L765 bl __stack_chk_fail .L765: mov w0, w1 ldp x29, x30, [sp], 112 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE86: .size scd_dev_ioctl, .-scd_dev_ioctl .section .rodata .align 3 .LC74: .string "<3>CDU31A: %s error (scd_open, spin up)\n" .align 3 .LC75: .string "<3>CDU31A: Error %s (scd_open, read toc)\n" .text .align 2 .type scd_spinup, %function scd_spinup: .LFB87: .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, 20] .L767: add x1, sp, 16 add x0, sp, 40 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 81 bl do_sony_cd_cmd ldr w0, [sp, 16] cmp w0, 1 bhi .L768 ldrb w0, [sp, 41] bl translate_error str x0, [sp, 24] ldr x1, [sp, 24] adrp x0, .LC74 add x0, x0, :lo12:.LC74 bl printk mov w0, 1 b .L777 .L768: ldrb w0, [sp, 40] cmp w0, 0 beq .L770 ldrb w0, [sp, 41] cmp w0, 0 beq .L770 ldrb w0, [sp, 41] bl translate_error str x0, [sp, 24] ldr x1, [sp, 24] adrp x0, .LC74 add x0, x0, :lo12:.LC74 bl printk mov w0, 1 b .L777 .L770: add x1, sp, 16 add x0, sp, 40 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 48 bl do_sony_cd_cmd ldr w0, [sp, 16] cmp w0, 1 bls .L779 ldrb w0, [sp, 40] cmp w0, 0 beq .L773 ldrb w0, [sp, 41] cmp w0, 0 beq .L773 b .L772 .L779: nop .L772: ldrb w0, [sp, 41] cmp w0, 42 bne .L774 mov w0, 0 b .L777 .L774: ldrb w0, [sp, 41] cmp w0, 0 bne .L775 mov w0, 0 b .L777 .L775: ldrb w0, [sp, 41] cmp w0, 34 bne .L776 ldr w0, [sp, 20] cmp w0, 2 bgt .L776 ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] b .L767 .L776: ldrb w0, [sp, 41] bl translate_error str x0, [sp, 32] ldr x1, [sp, 32] adrp x0, .LC75 add x0, x0, :lo12:.LC75 bl printk add x1, sp, 16 add x0, sp, 40 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 82 bl do_sony_cd_cmd mov w0, 1 b .L777 .L773: mov w0, 0 .L777: 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 .L778 bl __stack_chk_fail .L778: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE87: .size scd_spinup, .-scd_spinup .section .rodata .align 3 .LC76: .string "<4>CDU31A: Unable to set XA params: 0x%2.2x\n" .align 3 .LC77: .string "<4>CDU31A: Unable to reset XA params: 0x%2.2x\n" .text .align 2 .type scd_open, %function scd_open: .LFB88: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 72] mov x1, 0 ldr w0, [sp, 20] cmp w0, 1 bne .L781 adrp x0, sony_usage add x0, x0, :lo12:sony_usage ldr w0, [x0] add w1, w0, 1 adrp x0, sony_usage add x0, x0, :lo12:sony_usage str w1, [x0] mov w0, 0 b .L793 .L781: adrp x0, sony_usage add x0, x0, :lo12:sony_usage ldr w0, [x0] cmp w0, 0 bne .L783 bl scd_spinup str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 beq .L784 mov w0, -5 b .L793 .L784: bl sony_get_toc adrp x0, sony_toc_read add x0, x0, :lo12:sony_toc_read ldr w0, [x0] cmp w0, 0 bne .L785 add x1, sp, 40 add x0, sp, 56 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 82 bl do_sony_cd_cmd mov w0, -5 b .L793 .L785: adrp x0, sony_toc add x0, x0, :lo12:sony_toc ldrb w0, [x0, 10] cmp w0, 0 beq .L795 adrp x0, is_double_speed add x0, x0, :lo12:is_double_speed ldr w0, [x0] cmp w0, 0 bne .L796 strb wzr, [sp, 48] mov w0, 7 strb w0, [sp, 49] add x2, sp, 40 add x1, sp, 56 add x0, sp, 48 mov x4, x2 mov x3, x1 mov w2, 2 mov x1, x0 mov w0, 16 bl do_sony_cd_cmd ldr w0, [sp, 40] cmp w0, 1 bhi .L788 ldrb w0, [sp, 57] mov w1, w0 adrp x0, .LC76 add x0, x0, :lo12:.LC76 bl printk b .L789 .L788: ldrb w0, [sp, 56] and w0, w0, 240 cmp w0, 32 bne .L789 ldrb w0, [sp, 57] mov w1, w0 adrp x0, .LC76 add x0, x0, :lo12:.LC76 bl printk .L789: adrp x0, sony_xa_mode add x0, x0, :lo12:sony_xa_mode mov w1, 1 str w1, [x0] b .L790 .L795: nop b .L786 .L796: nop .L786: adrp x0, sony_xa_mode add x0, x0, :lo12:sony_xa_mode ldr w0, [x0] cmp w0, 0 beq .L790 strb wzr, [sp, 48] mov w0, 15 strb w0, [sp, 49] add x2, sp, 40 add x1, sp, 56 add x0, sp, 48 mov x4, x2 mov x3, x1 mov w2, 2 mov x1, x0 mov w0, 16 bl do_sony_cd_cmd ldr w0, [sp, 40] cmp w0, 1 bhi .L791 ldrb w0, [sp, 57] mov w1, w0 adrp x0, .LC77 add x0, x0, :lo12:.LC77 bl printk b .L792 .L791: ldrb w0, [sp, 56] and w0, w0, 240 cmp w0, 32 bne .L792 ldrb w0, [sp, 57] mov w1, w0 adrp x0, .LC77 add x0, x0, :lo12:.LC77 bl printk .L792: adrp x0, sony_xa_mode add x0, x0, :lo12:sony_xa_mode str wzr, [x0] .L790: adrp x0, sony_spun_up add x0, x0, :lo12:sony_spun_up mov w1, 1 str w1, [x0] .L783: adrp x0, sony_usage add x0, x0, :lo12:sony_usage ldr w0, [x0] add w1, w0, 1 adrp x0, sony_usage add x0, x0, :lo12:sony_usage str w1, [x0] mov w0, 0 .L793: 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 .L794 bl __stack_chk_fail .L794: mov w0, w1 ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE88: .size scd_open, .-scd_open .align 2 .type scd_release, %function scd_release: .LFB89: .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, sony_usage add x0, x0, :lo12:sony_usage ldr w0, [x0] cmp w0, 1 bne .L798 add x1, sp, 36 add x0, sp, 40 mov x4, x1 mov x3, x0 mov w2, 0 mov x1, 0 mov w0, 82 bl do_sony_cd_cmd adrp x0, sony_spun_up add x0, x0, :lo12:sony_spun_up str wzr, [x0] .L798: adrp x0, sony_usage add x0, x0, :lo12:sony_usage ldr w0, [x0] sub w1, w0, #1 adrp x0, sony_usage add x0, x0, :lo12:sony_usage str w1, [x0] nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 56] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L800 bl __stack_chk_fail .L800: ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE89: .size scd_release, .-scd_release .section .data.rel.local,"aw" .align 3 .type scd_dops, %object .size scd_dops, 120 scd_dops: .xword scd_open .xword scd_release .xword scd_drive_status .xword scd_media_changed .xword scd_tray_move .xword scd_lock_door .xword scd_select_speed .xword 0 .xword scd_get_last_session .xword scd_get_mcn .xword scd_reset .xword scd_audio_ioctl .xword scd_dev_ioctl .word 4079 .word 1 .xword 0 .align 3 .type scd_info, %object .size scd_info, 104 scd_info: .xword scd_dops .xword 0 .xword 0 .xword 0 .word 0 .word 2 .word 1 .byte 0 .byte 0 .byte 0 .byte 0 .word 0 .string "cdu31a" .string "" .zero 12 .byte 0 .zero 3 .word 0 .byte 0 .byte 0 .hword 0 .word 0 .xword 0 .word 0 .zero 4 .text .align 2 .type scd_block_open, %function scd_block_open: .LFB90: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] ldr x2, [sp, 16] ldr x1, [sp, 24] adrp x0, scd_info add x0, x0, :lo12:scd_info bl cdrom_open str w0, [sp, 44] ldr w0, [sp, 44] ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE90: .size scd_block_open, .-scd_block_open .align 2 .type scd_block_release, %function scd_block_release: .LFB91: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] ldr x1, [sp, 16] adrp x0, scd_info add x0, x0, :lo12:scd_info bl cdrom_release str w0, [sp, 44] ldr w0, [sp, 44] ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE91: .size scd_block_release, .-scd_block_release .align 2 .type scd_block_ioctl, %function scd_block_ioctl: .LFB92: .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 x3, [sp, 16] ldr w1, [sp, 28] mov w0, 21257 cmp w1, w0 beq .L806 ldr w1, [sp, 28] mov w0, 21273 cmp w1, w0 beq .L807 b .L811 .L806: mov w1, 0 adrp x0, scd_info add x0, x0, :lo12:scd_info bl scd_lock_door mov w1, 1 adrp x0, scd_info add x0, x0, :lo12:scd_info bl scd_tray_move str w0, [sp, 60] b .L809 .L807: mov w1, 0 adrp x0, scd_info add x0, x0, :lo12:scd_info bl scd_tray_move str w0, [sp, 60] b .L809 .L811: ldr x4, [sp, 16] ldr w3, [sp, 28] ldr x2, [sp, 40] adrp x0, scd_info add x1, x0, :lo12:scd_info ldr x0, [sp, 32] bl cdrom_ioctl str w0, [sp, 60] .L809: ldr w0, [sp, 60] ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE92: .size scd_block_ioctl, .-scd_block_ioctl .align 2 .type scd_block_media_changed, %function scd_block_media_changed: .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] adrp x0, scd_info add x0, x0, :lo12:scd_info bl cdrom_media_changed str w0, [sp, 44] ldr w0, [sp, 44] ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE93: .size scd_block_media_changed, .-scd_block_media_changed .section .data.rel.local .align 3 .type scd_bdops, %object .size scd_bdops, 80 scd_bdops: .xword scd_block_open .xword scd_block_release .xword scd_block_ioctl .xword 0 .xword 0 .xword 0 .xword scd_block_media_changed .xword 0 .xword 0 .xword 0 .local scd_gendisk .comm scd_gendisk,8,8 .section .rodata .align 3 .LC78: .string "caddy" .align 3 .LC79: .string "tray" .align 3 .LC80: .string "pop-up" .align 3 .LC81: .string "unknown" .section .data.rel.local .align 3 .type load_mech, %object .size load_mech, 32 load_mech: .xword .LC78 .xword .LC79 .xword .LC80 .xword .LC81 .section .rodata .align 3 .LC82: .string "cdu31a" .text .align 2 .type get_drive_configuration, %function get_drive_configuration: .LFB94: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp strh w0, [sp, 46] str x1, [sp, 32] str x2, [sp, 24] ldrh w3, [sp, 46] adrp x0, .LC82 add x2, x0, :lo12:.LC82 mov x1, 4 mov x0, x3 bl request_region str x0, [sp, 64] ldr x0, [sp, 64] cmp x0, 0 bne .L815 mov w0, 0 b .L816 .L815: ldrh w1, [sp, 46] adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port str w1, [x0] adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] and w1, w0, 65535 adrp x0, sony_cd_cmd_reg add x0, x0, :lo12:sony_cd_cmd_reg strh w1, [x0] adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] and w0, w0, 65535 add w0, w0, 1 and w1, w0, 65535 adrp x0, sony_cd_param_reg add x0, x0, :lo12:sony_cd_param_reg strh w1, [x0] adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] and w0, w0, 65535 add w0, w0, 2 and w1, w0, 65535 adrp x0, sony_cd_write_reg add x0, x0, :lo12:sony_cd_write_reg strh w1, [x0] adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] and w0, w0, 65535 add w0, w0, 3 and w1, w0, 65535 adrp x0, sony_cd_control_reg add x0, x0, :lo12:sony_cd_control_reg strh w1, [x0] adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] and w1, w0, 65535 adrp x0, sony_cd_status_reg add x0, x0, :lo12:sony_cd_status_reg strh w1, [x0] adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] and w0, w0, 65535 add w0, w0, 1 and w1, w0, 65535 adrp x0, sony_cd_result_reg add x0, x0, :lo12:sony_cd_result_reg strh w1, [x0] adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] and w0, w0, 65535 add w0, w0, 2 and w1, w0, 65535 adrp x0, sony_cd_read_reg add x0, x0, :lo12:sony_cd_read_reg strh w1, [x0] adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] and w0, w0, 65535 add w0, w0, 3 and w1, w0, 65535 adrp x0, sony_cd_fifost_reg add x0, x0, :lo12:sony_cd_fifost_reg strh w1, [x0] bl read_status_register strb w0, [sp, 59] ldrb w0, [sp, 59] cmp w0, 255 beq .L817 bl reset_drive adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] add x0, x0, 100 str x0, [sp, 72] .L821: adrp x0, jiffies add x0, x0, :lo12:jiffies ldr x0, [x0] mov x1, x0 ldr x0, [sp, 72] sub x0, x1, x0 cmp x0, 0 bge .L825 bl is_attention str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 bne .L826 bl sony_sleep b .L821 .L825: nop b .L820 .L826: nop .L820: ldr x4, [sp, 24] ldr x3, [sp, 32] mov w2, 0 mov x1, 0 mov w0, 0 bl do_sony_cd_cmd ldr x0, [sp, 24] ldr w0, [x0] cmp w0, 2 bls .L827 ldr x0, [sp, 32] ldrb w0, [x0] and w0, w0, 240 cmp w0, 0 bne .L828 mov w0, 1 b .L816 .L817: ldr x0, [sp, 32] mov w1, 32 strb w1, [x0] b .L823 .L827: nop b .L823 .L828: nop .L823: adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] uxtw x0, w0 mov x1, 4 bl release_region adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port str wzr, [x0] mov w0, 0 .L816: ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE94: .size get_drive_configuration, .-get_drive_configuration .section .rodata .align 3 .LC83: .string "<4>CDU31A: Unable to grab IRQ%d for the CDU31A driver\n" .align 3 .LC84: .string "Sony I/F CDROM : %8.8s %16.16s %8.8s\n" .align 3 .LC85: .string " Capabilities: %s" .align 3 .LC86: .string ", LED" .align 3 .LC87: .string ", elec. Vol" .align 3 .LC88: .string ", sep. Vol" .align 3 .LC89: .string ", double speed" .align 3 .LC90: .string ", irq %d" .align 3 .LC91: .string "<6>CDU31A: %s" .align 3 .LC92: .string "<3>CDU31A: Unable to register with Uniform cdrom driver\n" .align 3 .LC93: .string "<4>CDU31A: Can't unregister block device\n" .text .align 2 .global cdu31a_init .type cdu31a_init, %function cdu31a_init: .LFB95: .cfi_startproc stp x29, x30, [sp, -416]! .cfi_def_cfa_offset 416 .cfi_offset 29, -416 .cfi_offset 30, -408 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 408] mov x1, 0 str wzr, [sp, 28] adrp x0, sony_pas_init add x0, x0, :lo12:sony_pas_init ldr w0, [x0] cmp w0, 0 beq .L830 mov w1, 39425 mov w0, -68 bl outb mov w1, 39425 mov w0, -30 bl outb .L830: adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w1, [x0] mov w0, 65535 cmp w1, w0 beq .L865 adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] cmp w0, 0 beq .L833 adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] str w0, [sp, 40] adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq str wzr, [x0] adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] and w3, w0, 65535 add x1, sp, 24 add x0, sp, 72 mov x2, x1 mov x1, x0 mov w0, w3 bl get_drive_configuration str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 beq .L866 adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w1, [sp, 40] str w1, [x0] b .L835 .L833: adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq str wzr, [x0] str wzr, [sp, 32] b .L836 .L839: adrp x0, cdu31a_addresses add x1, x0, :lo12:cdu31a_addresses ldrsw x0, [sp, 32] lsl x0, x0, 2 add x0, x1, x0 ldrh w3, [x0] add x1, sp, 24 add x0, sp, 72 mov x2, x1 mov x1, x0 mov w0, w3 bl get_drive_configuration str w0, [sp, 36] ldr w0, [sp, 36] cmp w0, 0 beq .L837 adrp x0, cdu31a_addresses add x1, x0, :lo12:cdu31a_addresses ldrsw x0, [sp, 32] lsl x0, x0, 2 add x0, x1, x0 ldrsh w0, [x0, 2] mov w1, w0 adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq str w1, [x0] b .L838 .L837: ldr w0, [sp, 32] add w0, w0, 1 str w0, [sp, 32] .L836: adrp x0, cdu31a_addresses add x1, x0, :lo12:cdu31a_addresses ldrsw x0, [sp, 32] lsl x0, x0, 2 add x0, x1, x0 ldrh w0, [x0] cmp w0, 0 bne .L839 .L838: adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] cmp w0, 0 beq .L867 .L835: adrp x0, .LC82 add x1, x0, :lo12:.LC82 mov w0, 15 bl register_blkdev str w0, [sp, 48] ldr w0, [sp, 48] cmp w0, 0 bne .L868 mov w0, 1 bl alloc_disk str x0, [sp, 64] ldr x0, [sp, 64] cmp x0, 0 beq .L869 ldr x0, [sp, 64] mov w1, 15 str w1, [x0] ldr x0, [sp, 64] str wzr, [x0, 4] ldr x0, [sp, 64] add x2, x0, 12 adrp x0, .LC82 add x1, x0, :lo12:.LC82 mov x0, x2 bl sprintf ldr x0, [sp, 64] adrp x1, scd_bdops add x1, x1, :lo12:scd_bdops str x1, [x0, 48] ldr x0, [sp, 64] mov w1, 8 str w1, [x0, 72] ldrb w0, [sp, 106] and w0, w0, 16 cmp w0, 0 beq .L844 adrp x0, is_double_speed add x0, x0, :lo12:is_double_speed mov w1, 1 str w1, [x0] .L844: adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] str w0, [sp, 40] adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq str wzr, [x0] adrp x0, is_double_speed add x0, x0, :lo12:is_double_speed ldr w1, [x0] adrp x0, sony_speed add x0, x0, :lo12:sony_speed str w1, [x0] adrp x0, sony_speed add x0, x0, :lo12:sony_speed ldr w0, [x0] bl set_drive_params adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w1, [sp, 40] str w1, [x0] adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] cmp w0, 0 ble .L845 adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] mov w5, w0 mov x4, 0 adrp x0, .LC82 add x3, x0, :lo12:.LC82 mov x2, 536870912 adrp x0, cdu31a_interrupt add x1, x0, :lo12:cdu31a_interrupt mov w0, w5 bl request_irq str w0, [sp, 52] ldr w0, [sp, 52] cmp w0, 0 beq .L845 adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] mov w1, w0 adrp x0, .LC83 add x0, x0, :lo12:.LC83 bl printk adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq str wzr, [x0] .L845: add x0, sp, 72 add x2, x0, 26 add x0, sp, 72 add x1, x0, 10 add x0, sp, 72 add x0, x0, 2 add x5, sp, 152 mov x4, x2 mov x3, x1 mov x2, x0 adrp x0, .LC84 add x1, x0, :lo12:.LC84 mov x0, x5 bl sprintf ldrb w0, [sp, 106] and w1, w0, 3 adrp x0, load_mech add x0, x0, :lo12:load_mech sxtw x1, w1 ldr x0, [x0, x1, lsl 3] add x3, sp, 112 mov x2, x0 adrp x0, .LC85 add x1, x0, :lo12:.LC85 mov x0, x3 bl sprintf add x1, sp, 112 add x0, sp, 152 bl strcat ldrb w0, [sp, 107] and w0, w0, 1 cmp w0, 0 beq .L846 add x0, sp, 152 bl strlen mov x1, x0 add x0, sp, 152 add x0, x0, x1 mov x1, 8236 movk x1, 0x7561, lsl 16 movk x1, 0x6964, lsl 32 movk x1, 0x6f, lsl 48 str x1, [x0] b .L847 .L846: ldr w0, [sp, 28] orr w0, w0, 256 str w0, [sp, 28] .L847: ldrb w0, [sp, 106] and w0, w0, 4 cmp w0, 0 beq .L848 add x0, sp, 152 bl strlen mov x1, x0 add x0, sp, 152 add x0, x0, x1 mov x1, 8236 movk x1, 0x6a65, lsl 16 movk x1, 0x6365, lsl 32 movk x1, 0x74, lsl 48 str x1, [x0] b .L849 .L848: ldr w0, [sp, 28] orr w0, w0, 2 str w0, [sp, 28] .L849: ldrb w0, [sp, 106] and w0, w0, 8 cmp w0, 0 beq .L850 add x0, sp, 152 bl strlen mov x1, x0 add x0, sp, 152 add x2, x0, x1 adrp x0, .LC86 add x1, x0, :lo12:.LC86 mov x0, x2 ldr w2, [x1] str w2, [x0] ldrh w1, [x1, 4] strh w1, [x0, 4] .L850: ldrb w0, [sp, 107] and w0, w0, 2 cmp w0, 0 beq .L851 add x0, sp, 152 bl strlen mov x1, x0 add x0, sp, 152 add x2, x0, x1 adrp x0, .LC87 add x1, x0, :lo12:.LC87 mov x0, x2 ldr x2, [x1] str x2, [x0] ldr w1, [x1, 8] str w1, [x0, 8] .L851: ldrb w0, [sp, 107] and w0, w0, 4 cmp w0, 0 beq .L852 add x0, sp, 152 bl strlen mov x1, x0 add x0, sp, 152 add x2, x0, x1 adrp x0, .LC88 add x1, x0, :lo12:.LC88 mov x0, x2 ldr x2, [x1] str x2, [x0] ldr w1, [x1, 7] str w1, [x0, 7] .L852: adrp x0, is_double_speed add x0, x0, :lo12:is_double_speed ldr w0, [x0] cmp w0, 0 beq .L853 add x0, sp, 152 bl strlen mov x1, x0 add x0, sp, 152 add x2, x0, x1 adrp x0, .LC89 add x1, x0, :lo12:.LC89 mov x0, x2 ldr x2, [x1] str x2, [x0] ldr x1, [x1, 7] str x1, [x0, 7] b .L854 .L853: ldr w0, [sp, 28] orr w0, w0, 8 str w0, [sp, 28] .L854: adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] cmp w0, 0 ble .L855 adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] add x3, sp, 112 mov w2, w0 adrp x0, .LC90 add x1, x0, :lo12:.LC90 mov x0, x3 bl sprintf add x1, sp, 112 add x0, sp, 152 bl strcat .L855: add x0, sp, 152 bl strlen mov x1, x0 add x0, sp, 152 add x0, x0, x1 mov w1, 10 strh w1, [x0] add x0, sp, 152 mov x1, x0 adrp x0, .LC91 add x0, x0, :lo12:.LC91 bl printk adrp x0, cdu31a_lock add x1, x0, :lo12:cdu31a_lock adrp x0, do_cdu31a_request add x0, x0, :lo12:do_cdu31a_request bl blk_init_queue mov x1, x0 adrp x0, cdu31a_queue add x0, x0, :lo12:cdu31a_queue str x1, [x0] adrp x0, cdu31a_queue add x0, x0, :lo12:cdu31a_queue ldr x0, [x0] cmp x0, 0 beq .L870 adrp x0, cdu31a_queue add x0, x0, :lo12:cdu31a_queue ldr x0, [x0] mov w1, 2048 bl blk_queue_hardsect_size adrp x0, cdu31a_abort_timer add x0, x0, :lo12:cdu31a_abort_timer bl init_timer adrp x0, cdu31a_abort_timer add x0, x0, :lo12:cdu31a_abort_timer adrp x1, handle_abort_timeout add x1, x1, :lo12:handle_abort_timeout str x1, [x0, 8] adrp x0, scd_info add x0, x0, :lo12:scd_info ldr w1, [sp, 28] str w1, [x0, 32] adrp x0, scd_gendisk add x0, x0, :lo12:scd_gendisk ldr x1, [sp, 64] str x1, [x0] adrp x0, scd_info add x0, x0, :lo12:scd_info bl register_cdrom str w0, [sp, 56] ldr w0, [sp, 56] cmp w0, 0 bne .L871 adrp x0, cdu31a_queue add x0, x0, :lo12:cdu31a_queue ldr x1, [x0] ldr x0, [sp, 64] str x1, [x0, 56] ldr x0, [sp, 64] bl add_disk adrp x0, disk_changed add x0, x0, :lo12:disk_changed mov w1, 1 strb w1, [x0] mov w0, 0 b .L862 .L871: nop .L859: adrp x0, cdu31a_queue add x0, x0, :lo12:cdu31a_queue ldr x0, [x0] bl blk_cleanup_queue b .L857 .L870: nop .L857: adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] cmp w0, 0 beq .L861 adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] mov x1, 0 bl free_irq .L861: adrp x0, .LC92 add x0, x0, :lo12:.LC92 bl printk ldr x0, [sp, 64] bl put_disk b .L843 .L869: nop .L843: adrp x0, .LC82 add x1, x0, :lo12:.LC82 mov w0, 15 bl unregister_blkdev str w0, [sp, 60] ldr w0, [sp, 60] cmp w0, 0 beq .L872 adrp x0, .LC93 add x0, x0, :lo12:.LC93 bl printk b .L841 .L868: nop b .L841 .L872: nop .L841: adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] uxtw x0, w0 mov x1, 4 bl release_region b .L832 .L865: nop b .L832 .L866: nop b .L832 .L867: nop .L832: mov w0, -5 .L862: mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 408] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L863 bl __stack_chk_fail .L863: mov w0, w1 ldp x29, x30, [sp], 416 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE95: .size cdu31a_init, .-cdu31a_init .section .rodata .align 3 .LC94: .string "<4>CDU31A: Can't unregister from Uniform cdrom driver\n" .align 3 .LC95: .string "<4>CDU31A: Can't unregister\n" .align 3 .LC96: .string "<6>CDU31A: module released.\n" .text .align 2 .type cdu31a_exit, %function cdu31a_exit: .LFB96: .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, scd_gendisk add x0, x0, :lo12:scd_gendisk ldr x0, [x0] bl del_gendisk adrp x0, scd_gendisk add x0, x0, :lo12:scd_gendisk ldr x0, [x0] bl put_disk adrp x0, scd_info add x0, x0, :lo12:scd_info bl unregister_cdrom str w0, [sp, 24] ldr w0, [sp, 24] cmp w0, 0 beq .L874 adrp x0, .LC94 add x0, x0, :lo12:.LC94 bl printk b .L873 .L874: adrp x0, .LC82 add x1, x0, :lo12:.LC82 mov w0, 15 bl unregister_blkdev str w0, [sp, 28] ldr w0, [sp, 28] cmn w0, #22 bne .L876 adrp x0, .LC95 add x0, x0, :lo12:.LC95 bl printk b .L873 .L876: adrp x0, cdu31a_queue add x0, x0, :lo12:cdu31a_queue ldr x0, [x0] bl blk_cleanup_queue adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] cmp w0, 0 ble .L877 adrp x0, cdu31a_irq add x0, x0, :lo12:cdu31a_irq ldr w0, [x0] mov x1, 0 bl free_irq .L877: adrp x0, cdu31a_port add x0, x0, :lo12:cdu31a_port ldr w0, [x0] uxtw x0, w0 mov x1, 4 bl release_region adrp x0, .LC96 add x0, x0, :lo12:.LC96 bl printk nop .L873: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE96: .size cdu31a_exit, .-cdu31a_exit .global _ddv_tmp_init .section .data.rel.local .align 3 .type _ddv_tmp_init, %object .size _ddv_tmp_init, 8 _ddv_tmp_init: .xword cdu31a_init .global _ddv_tmp_exit .align 3 .type _ddv_tmp_exit, %object .size _ddv_tmp_exit, 8 _ddv_tmp_exit: .xword cdu31a_exit .global _ddv_module_license .data .align 3 .type _ddv_module_license, %object .size _ddv_module_license, 4 _ddv_module_license: .string "GPL" .global _ddv_module_param_major .align 2 .type _ddv_module_param_major, %object .size _ddv_module_param_major, 4 _ddv_module_param_major: .word 15 .text .align 2 .global main .type main, %function main: .LFB97: .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, _ddv_module_init add x0, x0, :lo12:_ddv_module_init adrp x1, cdu31a_init add x1, x1, :lo12:cdu31a_init str x1, [x0] adrp x0, _ddv_module_exit add x0, x0, :lo12:_ddv_module_exit adrp x1, cdu31a_exit add x1, x1, :lo12:cdu31a_exit str x1, [x0] bl call_ddv mov w0, 0 ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE97: .size main, .-main .align 2 .global request_irq .type request_irq, %function request_irq: .LFB98: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str w0, [sp, 60] str x1, [sp, 48] str x2, [sp, 40] str x3, [sp, 32] str x4, [sp, 24] bl nondet_int str w0, [sp, 76] ldr w0, [sp, 76] cmp w0, 0 beq .L881 adrp x0, registered_irq add x1, x0, :lo12:registered_irq ldr w0, [sp, 60] lsl x0, x0, 4 add x0, x1, x0 ldr x1, [sp, 48] str x1, [x0] adrp x0, registered_irq add x1, x0, :lo12:registered_irq ldr w0, [sp, 60] lsl x0, x0, 4 add x0, x1, x0 ldr x1, [sp, 24] str x1, [x0, 8] mov w0, 0 b .L882 .L881: mov w0, -1 .L882: ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE98: .size request_irq, .-request_irq .align 2 .global free_irq .type free_irq, %function free_irq: .LFB99: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, 12] str x1, [sp] adrp x0, registered_irq add x1, x0, :lo12:registered_irq ldr w0, [sp, 12] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0] adrp x0, registered_irq add x1, x0, :lo12:registered_irq ldr w0, [sp, 12] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0, 8] nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE99: .size free_irq, .-free_irq .global proc_root_driver .bss .align 3 .type proc_root_driver, %object .size proc_root_driver, 8 proc_root_driver: .zero 8 .text .align 2 .global misc_register .type misc_register, %function misc_register: .LFB100: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] adrp x0, fixed_cdev_used add x0, x0, :lo12:fixed_cdev_used ldr w0, [x0] cmp w0, 9 bgt .L886 adrp x0, fixed_cdev_used add x0, x0, :lo12:fixed_cdev_used ldr w0, [x0] str w0, [sp, 36] adrp x0, fixed_cdev_used add x0, x0, :lo12:fixed_cdev_used ldr w0, [x0] add w1, w0, 1 adrp x0, fixed_cdev_used add x0, x0, :lo12:fixed_cdev_used str w1, [x0] adrp x0, fixed_cdev add x2, x0, :lo12:fixed_cdev ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 1 add x0, x0, x1 lsl x0, x0, 3 add x0, x2, x0 str xzr, [x0] ldr x0, [sp, 24] ldr x2, [x0, 16] adrp x0, fixed_cdev add x3, x0, :lo12:fixed_cdev ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 1 add x0, x0, x1 lsl x0, x0, 3 add x0, x3, x0 str x2, [x0, 8] ldr x0, [sp, 24] ldr w1, [x0] mov w0, 10485760 orr w0, w1, w0 str w0, [sp, 40] ldrsw x1, [sp, 36] mov x0, x1 lsl x0, x0, 1 add x0, x0, x1 lsl x0, x0, 3 adrp x1, fixed_cdev add x1, x1, :lo12:fixed_cdev add x0, x0, x1 mov w2, 0 ldr w1, [sp, 40] bl cdev_add str w0, [sp, 44] ldr w0, [sp, 44] b .L887 .L886: mov w0, -1 .L887: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE100: .size misc_register, .-misc_register .align 2 .type assert_context_process, %function assert_context_process: .LFB101: .cfi_startproc mov w0, 0 ret .cfi_endproc .LFE101: .size assert_context_process, .-assert_context_process .global ddv_ioport_request_start .bss .align 2 .type ddv_ioport_request_start, %object .size ddv_ioport_request_start, 4 ddv_ioport_request_start: .zero 4 .global ddv_ioport_request_len .align 2 .type ddv_ioport_request_len, %object .size ddv_ioport_request_len, 4 ddv_ioport_request_len: .zero 4 .text .align 2 .global request_region .type request_region, %function request_region: .LFB117: .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] mov w0, 32 bl malloc str x0, [sp, 48] ldr x0, [sp, 48] str x0, [sp, 56] ldr x0, [sp, 40] mov w1, w0 adrp x0, ddv_ioport_request_start add x0, x0, :lo12:ddv_ioport_request_start str w1, [x0] ldr x0, [sp, 32] mov w1, w0 adrp x0, ddv_ioport_request_len add x0, x0, :lo12:ddv_ioport_request_len str w1, [x0] ldr x0, [sp, 56] ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE117: .size request_region, .-request_region .align 2 .global release_region .type release_region, %function release_region: .LFB118: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str x1, [sp] str wzr, [sp, 28] adrp x0, ddv_ioport_request_start add x0, x0, :lo12:ddv_ioport_request_start str wzr, [x0] adrp x0, ddv_ioport_request_len add x0, x0, :lo12:ddv_ioport_request_len str wzr, [x0] nop add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE118: .size release_region, .-release_region .section .rodata .align 3 .LC97: .string "I/O port is requested" .text .align 2 .global inb .type inb, %function inb: .LFB119: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str w0, [sp, 28] adrp x0, ddv_ioport_request_start add x0, x0, :lo12:ddv_ioport_request_start ldr w0, [x0] mov w1, w0 ldr w0, [sp, 28] cmp w0, w1 bcc .L895 adrp x0, ddv_ioport_request_start add x0, x0, :lo12:ddv_ioport_request_start ldr w1, [x0] adrp x0, ddv_ioport_request_len add x0, x0, :lo12:ddv_ioport_request_len ldr w0, [x0] add w0, w1, w0 mov w1, w0 ldr w0, [sp, 28] cmp w0, w1 bcs .L896 mov w0, 1 str w0, [sp, 44] b .L897 .L896: str wzr, [sp, 44] b .L897 .L895: str wzr, [sp, 44] .L897: adrp x0, .LC97 add x1, x0, :lo12:.LC97 ldr w0, [sp, 44] bl __CPROVER_assert bl nondet_uchar strb w0, [sp, 43] ldrb w0, [sp, 43] ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE119: .size inb, .-inb .align 2 .global outb .type outb, %function outb: .LFB120: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp strb w0, [sp, 31] str w1, [sp, 24] adrp x0, ddv_ioport_request_start add x0, x0, :lo12:ddv_ioport_request_start ldr w0, [x0] mov w1, w0 ldr w0, [sp, 24] cmp w0, w1 bcc .L900 adrp x0, ddv_ioport_request_start add x0, x0, :lo12:ddv_ioport_request_start ldr w1, [x0] adrp x0, ddv_ioport_request_len add x0, x0, :lo12:ddv_ioport_request_len ldr w0, [x0] add w0, w1, w0 mov w1, w0 ldr w0, [sp, 24] cmp w0, w1 bcs .L901 mov w0, 1 str w0, [sp, 44] b .L902 .L901: str wzr, [sp, 44] b .L902 .L900: str wzr, [sp, 44] .L902: adrp x0, .LC97 add x1, x0, :lo12:.LC97 ldr w0, [sp, 44] bl __CPROVER_assert nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE120: .size outb, .-outb .align 2 .global schedule .type schedule, %function schedule: .LFB127: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp bl assert_context_process nop ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE127: .size schedule, .-schedule .align 2 .global schedule_timeout .type schedule_timeout, %function schedule_timeout: .LFB128: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] bl assert_context_process bl nondet_long 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 .LFE128: .size schedule_timeout, .-schedule_timeout .align 2 .global down_interruptible .type down_interruptible, %function down_interruptible: .LFB133: .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] .L912: bl __CPROVER_atomic_begin ldr x0, [sp, 24] ldr w0, [x0, 4] cmp w0, 0 bne .L909 ldr x0, [sp, 24] mov w1, 1 str w1, [x0, 4] bl __CPROVER_atomic_end mov w0, 0 b .L910 .L909: bl nondet_int str w0, [sp, 44] ldr w0, [sp, 44] cmp w0, 0 beq .L911 bl __CPROVER_atomic_end mov w0, -1 b .L910 .L911: bl __CPROVER_atomic_end b .L912 .L910: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE133: .size down_interruptible, .-down_interruptible .align 2 .global down_trylock .type down_trylock, %function down_trylock: .LFB134: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] bl __CPROVER_atomic_begin ldr x0, [sp, 24] ldr w0, [x0, 4] cmp w0, 0 bne .L914 ldr x0, [sp, 24] mov w1, 1 str w1, [x0, 4] bl __CPROVER_atomic_end mov w0, -1 b .L915 .L914: bl __CPROVER_atomic_end mov w0, 0 .L915: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE134: .size down_trylock, .-down_trylock .align 2 .global up .type up, %function up: .LFB135: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] bl __CPROVER_atomic_begin bl assert_context_process ldr x0, [sp, 24] str wzr, [x0, 4] bl __CPROVER_atomic_end nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE135: .size up, .-up .align 2 .global kmalloc .type kmalloc, %function kmalloc: .LFB136: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str w0, [sp, 28] str w1, [sp, 24] ldr w0, [sp, 24] and w0, w0, 16 cmp w0, 0 beq .L919 bl assert_context_process .L919: ldr w0, [sp, 28] 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 .LFE136: .size kmalloc, .-kmalloc .align 2 .global kzalloc .type kzalloc, %function kzalloc: .LFB137: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str w0, [sp, 28] str w1, [sp, 24] ldr w0, [sp, 24] and w0, w0, 16 cmp w0, 0 beq .L922 bl assert_context_process .L922: ldr w0, [sp, 28] 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 .LFE137: .size kzalloc, .-kzalloc .align 2 .global spin_lock_init .type spin_lock_init, %function spin_lock_init: .LFB140: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] ldr x0, [sp, 8] mov w1, 1 str w1, [x0] ldr x0, [sp, 8] str wzr, [x0, 4] nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE140: .size spin_lock_init, .-spin_lock_init .align 2 .global spin_lock_irq .type spin_lock_irq, %function spin_lock_irq: .LFB143: .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] .L929: bl __CPROVER_atomic_begin ldr x0, [sp, 24] ldr w0, [x0, 4] cmp w0, 0 bne .L927 ldr x0, [sp, 24] mov w1, 1 str w1, [x0, 4] bl __CPROVER_atomic_end b .L930 .L927: bl __CPROVER_atomic_end b .L929 .L930: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE143: .size spin_lock_irq, .-spin_lock_irq .align 2 .global spin_unlock_irq .type spin_unlock_irq, %function spin_unlock_irq: .LFB146: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] bl __CPROVER_atomic_begin ldr x0, [sp, 24] str wzr, [x0, 4] bl __CPROVER_atomic_end nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE146: .size spin_unlock_irq, .-spin_unlock_irq .align 2 .global call_tasklet_functions .type call_tasklet_functions, %function call_tasklet_functions: .LFB147: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp ldr w0, [sp, 28] cmp w0, 9 cset w0, ls and w0, w0, 255 bl __CPROVER_assume adrp x0, tasklet_registered add x1, x0, :lo12:tasklet_registered ldr w0, [sp, 28] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] cmp x0, 0 beq .L936 adrp x0, tasklet_registered add x1, x0, :lo12:tasklet_registered ldr w0, [sp, 28] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] ldr w0, [x0] cmp w0, 0 bne .L936 adrp x0, tasklet_registered add x1, x0, :lo12:tasklet_registered ldr w0, [sp, 28] lsl x0, x0, 4 add x0, x1, x0 mov w1, 1 strh w1, [x0, 8] adrp x0, tasklet_registered add x1, x0, :lo12:tasklet_registered ldr w0, [sp, 28] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] ldr x1, [x0, 8] adrp x0, tasklet_registered add x2, x0, :lo12:tasklet_registered ldr w0, [sp, 28] lsl x0, x0, 4 add x0, x2, x0 ldr x0, [x0] ldr x0, [x0, 16] blr x1 adrp x0, tasklet_registered add x1, x0, :lo12:tasklet_registered ldr w0, [sp, 28] lsl x0, x0, 4 add x0, x1, x0 strh wzr, [x0, 8] adrp x0, tasklet_registered add x1, x0, :lo12:tasklet_registered ldr w0, [sp, 28] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0] nop .L936: nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE147: .size call_tasklet_functions, .-call_tasklet_functions .align 2 .global init_timer .type init_timer, %function init_timer: .LFB148: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] adrp x0, number_timer_registered add x0, x0, :lo12:number_timer_registered ldrsh w0, [x0] cmp w0, 4 bgt .L940 ldr x0, [sp, 8] strh wzr, [x0, 24] ldr x0, [sp, 8] mov w1, 1 strh w1, [x0, 26] adrp x0, number_timer_registered add x0, x0, :lo12:number_timer_registered ldrsh w0, [x0] mov w1, w0 adrp x0, timer_registered add x0, x0, :lo12:timer_registered sxtw x1, w1 ldr x2, [sp, 8] str x2, [x0, x1, lsl 3] adrp x0, number_timer_registered add x0, x0, :lo12:number_timer_registered ldrsh w0, [x0] and w0, w0, 65535 add w0, w0, 1 and w0, w0, 65535 sxth w1, w0 adrp x0, number_timer_registered add x0, x0, :lo12:number_timer_registered strh w1, [x0] nop .L940: nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE148: .size init_timer, .-init_timer .align 2 .global add_timer .type add_timer, %function add_timer: .LFB149: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] ldr x0, [sp, 8] mov w1, 1 strh w1, [x0, 24] nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE149: .size add_timer, .-add_timer .align 2 .global del_timer .type del_timer, %function del_timer: .LFB151: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] ldr x0, [sp, 8] strh wzr, [x0, 24] mov w0, 0 add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE151: .size del_timer, .-del_timer .global global_tty_driver .bss .align 3 .type global_tty_driver, %object .size global_tty_driver, 328 global_tty_driver: .zero 328 .text .align 2 .global alloc_tty_driver .type alloc_tty_driver, %function alloc_tty_driver: .LFB153: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, 12] adrp x0, global_tty_driver add x0, x0, :lo12:global_tty_driver ldrh w0, [x0, 320] cmp w0, 0 bne .L946 adrp x0, global_tty_driver add x0, x0, :lo12:global_tty_driver mov w1, 21506 str w1, [x0] adrp x0, global_tty_driver add x0, x0, :lo12:global_tty_driver ldr w1, [sp, 12] str w1, [x0, 72] mov x0, 0 b .L948 .L946: mov x0, 0 .L948: add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE153: .size alloc_tty_driver, .-alloc_tty_driver .align 2 .global tty_set_operations .type tty_set_operations, %function tty_set_operations: .LFB154: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] str x1, [sp] ldr x0, [sp] ldr x1, [x0] ldr x0, [sp, 8] str x1, [x0, 136] ldr x0, [sp] ldr x1, [x0, 8] ldr x0, [sp, 8] str x1, [x0, 144] ldr x0, [sp] ldr x1, [x0, 16] ldr x0, [sp, 8] str x1, [x0, 152] ldr x0, [sp] ldr x1, [x0, 24] ldr x0, [sp, 8] str x1, [x0, 160] ldr x0, [sp] ldr x1, [x0, 32] ldr x0, [sp, 8] str x1, [x0, 168] ldr x0, [sp] ldr x1, [x0, 40] ldr x0, [sp, 8] str x1, [x0, 176] ldr x0, [sp] ldr x1, [x0, 48] ldr x0, [sp, 8] str x1, [x0, 184] ldr x0, [sp] ldr x1, [x0, 56] ldr x0, [sp, 8] str x1, [x0, 192] ldr x0, [sp] ldr x1, [x0, 64] ldr x0, [sp, 8] str x1, [x0, 200] ldr x0, [sp] ldr x1, [x0, 72] ldr x0, [sp, 8] str x1, [x0, 208] ldr x0, [sp] ldr x1, [x0, 80] ldr x0, [sp, 8] str x1, [x0, 216] ldr x0, [sp] ldr x1, [x0, 88] ldr x0, [sp, 8] str x1, [x0, 224] ldr x0, [sp] ldr x1, [x0, 96] ldr x0, [sp, 8] str x1, [x0, 232] ldr x0, [sp] ldr x1, [x0, 104] ldr x0, [sp, 8] str x1, [x0, 240] ldr x0, [sp] ldr x1, [x0, 112] ldr x0, [sp, 8] str x1, [x0, 248] ldr x0, [sp] ldr x1, [x0, 120] ldr x0, [sp, 8] str x1, [x0, 256] ldr x0, [sp] ldr x1, [x0, 128] ldr x0, [sp, 8] str x1, [x0, 264] ldr x0, [sp] ldr x1, [x0, 136] ldr x0, [sp, 8] str x1, [x0, 272] ldr x0, [sp] ldr x1, [x0, 144] ldr x0, [sp, 8] str x1, [x0, 280] ldr x0, [sp] ldr x1, [x0, 152] ldr x0, [sp, 8] str x1, [x0, 288] ldr x0, [sp] ldr x1, [x0, 160] ldr x0, [sp, 8] str x1, [x0, 296] ldr x0, [sp] ldr x1, [x0, 168] ldr x0, [sp, 8] str x1, [x0, 304] ldr x0, [sp] ldr x1, [x0, 176] ldr x0, [sp, 8] str x1, [x0, 312] nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE154: .size tty_set_operations, .-tty_set_operations .align 2 .global copy_to_user .type copy_to_user, %function copy_to_user: .LFB156: .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] bl assert_context_process bl nondet_ulong str x0, [sp, 56] ldr x0, [sp, 56] ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE156: .size copy_to_user, .-copy_to_user .align 2 .global copy_from_user .type copy_from_user, %function copy_from_user: .LFB157: .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] bl assert_context_process bl nondet_ulong str x0, [sp, 56] ldr x0, [sp, 56] ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE157: .size copy_from_user, .-copy_from_user .align 2 .global vmalloc .type vmalloc, %function vmalloc: .LFB158: .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 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 .LFE158: .size vmalloc, .-vmalloc .align 2 .global wake_up_interruptible .type wake_up_interruptible, %function wake_up_interruptible: .LFB161: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] nop add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE161: .size wake_up_interruptible, .-wake_up_interruptible .align 2 .global call_shared_workqueue_functions .type call_shared_workqueue_functions, %function call_shared_workqueue_functions: .LFB163: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp bl nondet_ushort strh w0, [sp, 28] ldrh w0, [sp, 28] strh w0, [sp, 30] ldrh w0, [sp, 30] cmp w0, 9 cset w0, ls and w0, w0, 255 bl __CPROVER_assume ldrh w1, [sp, 30] adrp x0, shared_workqueue add x0, x0, :lo12:shared_workqueue sxtw x1, w1 ldr x0, [x0, x1, lsl 3] cmp x0, 0 beq .L962 ldrh w1, [sp, 30] adrp x0, shared_workqueue add x0, x0, :lo12:shared_workqueue sxtw x1, w1 ldr x0, [x0, x1, lsl 3] ldr x1, [x0, 8] ldrh w2, [sp, 30] adrp x0, shared_workqueue add x0, x0, :lo12:shared_workqueue sxtw x2, w2 ldr x0, [x0, x2, lsl 3] ldr x0, [x0, 16] blr x1 ldrh w1, [sp, 30] adrp x0, shared_workqueue add x0, x0, :lo12:shared_workqueue sxtw x1, w1 str xzr, [x0, x1, lsl 3] nop .L962: nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE163: .size call_shared_workqueue_functions, .-call_shared_workqueue_functions ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global _exit .type _exit, %function _exit: .LFB6: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str w0, [sp, 28] ldr w0, [sp, 28] bl sys_exit .cfi_endproc .LFE6: .size _exit, .-_exit .align 2 .global _Exit .type _Exit, %function _Exit: .LFB7: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str w0, [sp, 28] ldr w0, [sp, 28] bl sys_exit .cfi_endproc .LFE7: .size _Exit, .-_Exit .align 2 .global exit .type exit, %function exit: .LFB8: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str w0, [sp, 28] mov x0, 0 bl fflush bl _atexit_call bl _fini_array ldr w0, [sp, 28] bl _exit .cfi_endproc .LFE8: .size exit, .-exit ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "program.c" .align 3 .LC1: .string "compare_fn != NULL" .align 3 .LC2: .string "memory allocation failure\n" .text .align 2 .type cap_lp_hash_table_init, %function cap_lp_hash_table_init: .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, 40] str x1, [sp, 32] str x2, [sp, 24] ldr x0, [sp, 32] cmp x0, 0 bne .L2 adrp x0, __PRETTY_FUNCTION__.6 add x3, x0, :lo12:__PRETTY_FUNCTION__.6 mov w2, 142 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl __assert_fail .L2: mov x1, 48 mov x0, 1 bl calloc str x0, [sp, 56] ldr x0, [sp, 56] cmp x0, 0 bne .L3 adrp x0, :got:stderr ldr x0, [x0, #:got_lo12:stderr] ldr x0, [x0] mov x3, x0 mov x2, 26 mov x1, 1 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl fwrite mov x0, 0 b .L4 .L3: ldr x0, [sp, 56] str xzr, [x0] ldr x0, [sp, 56] mov x1, 5 str x1, [x0, 8] ldr x0, [sp, 56] ldr x1, [sp, 40] str x1, [x0, 16] ldr x0, [sp, 56] ldr x1, [sp, 32] str x1, [x0, 24] ldr x0, [sp, 24] cmp x0, 0 beq .L5 ldr x0, [sp, 56] ldr x1, [sp, 24] str x1, [x0, 32] b .L6 .L5: ldr x0, [sp, 56] adrp x1, _hash_fn_defaut_hash_lp add x1, x1, :lo12:_hash_fn_defaut_hash_lp str x1, [x0, 32] .L6: ldr x0, [sp, 56] ldr x0, [x0, 8] mov x1, 16 bl calloc mov x1, x0 ldr x0, [sp, 56] str x1, [x0, 40] ldr x0, [sp, 56] ldr x0, [x0, 40] cmp x0, 0 bne .L7 adrp x0, :got:stderr ldr x0, [x0, #:got_lo12:stderr] ldr x0, [x0] mov x3, x0 mov x2, 26 mov x1, 1 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl fwrite ldr x0, [sp, 56] bl free mov x0, 0 b .L4 .L7: ldr x0, [sp, 56] .L4: ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size cap_lp_hash_table_init, .-cap_lp_hash_table_init .section .rodata .align 3 .LC3: .string "table != NULL && key != NULL" .text .align 2 .type cap_lp_hash_table_erase, %function cap_lp_hash_table_erase: .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 x1, [sp, 16] ldr x0, [sp, 24] cmp x0, 0 beq .L9 ldr x0, [sp, 16] cmp x0, 0 bne .L18 .L9: adrp x0, __PRETTY_FUNCTION__.5 add x3, x0, :lo12:__PRETTY_FUNCTION__.5 mov w2, 168 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl __assert_fail .L18: ldr x0, [sp, 24] ldr x2, [x0, 32] ldr x0, [sp, 24] ldr x0, [x0, 16] mov x1, x0 ldr x0, [sp, 16] blr x2 mov x1, x0 ldr x0, [sp, 24] ldr x0, [x0, 8] udiv x2, x1, x0 mul x0, x2, x0 sub x0, x1, x0 str x0, [sp, 40] strb wzr, [sp, 39] b .L11 .L13: ldr x0, [sp, 24] ldr x2, [x0, 24] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0, 8] ldr x1, [sp, 16] blr x2 and w0, w0, 255 cmp w0, 0 beq .L11 mov w0, 1 strb w0, [sp, 39] b .L12 .L11: ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] cmp x0, 0 bne .L13 .L12: ldrb w0, [sp, 39] cmp w0, 0 beq .L14 ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0, 8] ldr x0, [sp, 24] ldr x0, [x0] sub x1, x0, #1 ldr x0, [sp, 24] str x1, [x0] ldr x0, [sp, 40] add x0, x0, 1 ldr x1, [sp, 24] ldr x1, [x1, 8] udiv x2, x0, x1 mul x1, x2, x1 sub x0, x0, x1 str x0, [sp, 40] b .L15 .L16: ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] str x0, [sp, 48] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0, 8] str x0, [sp, 56] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0, 8] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0] ldr x0, [sp, 24] ldr x0, [x0] sub x1, x0, #1 ldr x0, [sp, 24] str x1, [x0] ldr x2, [sp, 48] ldr x1, [sp, 56] ldr x0, [sp, 24] bl cap_lp_hash_table_insert ldr x0, [sp, 40] add x0, x0, 1 ldr x1, [sp, 24] ldr x1, [x1, 8] udiv x2, x0, x1 mul x1, x2, x1 sub x0, x0, x1 str x0, [sp, 40] .L15: ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] cmp x0, 0 bne .L16 .L14: ldrb w0, [sp, 39] ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size cap_lp_hash_table_erase, .-cap_lp_hash_table_erase .align 2 .type cap_lp_hash_table_deep_erase, %function cap_lp_hash_table_deep_erase: .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 x1, [sp, 16] ldr x0, [sp, 24] cmp x0, 0 beq .L20 ldr x0, [sp, 16] cmp x0, 0 bne .L29 .L20: adrp x0, __PRETTY_FUNCTION__.4 add x3, x0, :lo12:__PRETTY_FUNCTION__.4 mov w2, 197 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl __assert_fail .L29: ldr x0, [sp, 24] ldr x2, [x0, 32] ldr x0, [sp, 24] ldr x0, [x0, 16] mov x1, x0 ldr x0, [sp, 16] blr x2 mov x1, x0 ldr x0, [sp, 24] ldr x0, [x0, 8] udiv x2, x1, x0 mul x0, x2, x0 sub x0, x1, x0 str x0, [sp, 40] strb wzr, [sp, 39] b .L22 .L24: ldr x0, [sp, 24] ldr x2, [x0, 24] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0, 8] ldr x1, [sp, 16] blr x2 and w0, w0, 255 cmp w0, 0 beq .L22 mov w0, 1 strb w0, [sp, 39] b .L23 .L22: ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] cmp x0, 0 bne .L24 .L23: ldrb w0, [sp, 39] cmp w0, 0 beq .L25 ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] str x0, [sp, 48] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0, 8] str x0, [sp, 56] ldr x0, [sp, 48] bl free ldr x0, [sp, 56] bl free ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0, 8] ldr x0, [sp, 24] ldr x0, [x0] sub x1, x0, #1 ldr x0, [sp, 24] str x1, [x0] ldr x0, [sp, 40] add x0, x0, 1 ldr x1, [sp, 24] ldr x1, [x1, 8] udiv x2, x0, x1 mul x1, x2, x1 sub x0, x0, x1 str x0, [sp, 40] b .L26 .L27: ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] str x0, [sp, 64] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0, 8] str x0, [sp, 72] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0, 8] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 str xzr, [x0] ldr x0, [sp, 24] ldr x0, [x0] sub x1, x0, #1 ldr x0, [sp, 24] str x1, [x0] ldr x2, [sp, 64] ldr x1, [sp, 72] ldr x0, [sp, 24] bl cap_lp_hash_table_insert ldr x0, [sp, 40] add x0, x0, 1 ldr x1, [sp, 24] ldr x1, [x1, 8] udiv x2, x0, x1 mul x1, x2, x1 sub x0, x0, x1 str x0, [sp, 40] .L26: ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] cmp x0, 0 bne .L27 .L25: ldrb w0, [sp, 39] ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE8: .size cap_lp_hash_table_deep_erase, .-cap_lp_hash_table_deep_erase .section .rodata .align 3 .LC4: .string "table != NULL && key != NULL && value != NULL" .text .align 2 .type cap_lp_hash_table_insert, %function cap_lp_hash_table_insert: .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 x1, [sp, 32] str x2, [sp, 24] ldr x0, [sp, 40] cmp x0, 0 beq .L31 ldr x0, [sp, 32] cmp x0, 0 beq .L31 ldr x0, [sp, 24] cmp x0, 0 bne .L38 .L31: adrp x0, __PRETTY_FUNCTION__.3 add x3, x0, :lo12:__PRETTY_FUNCTION__.3 mov w2, 231 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl __assert_fail .L38: ldr x0, [sp, 40] ldr x0, [x0] cmp x0, 0 beq .L33 ldr x0, [sp, 40] ldr x0, [x0] ucvtf s1, x0 ldr x0, [sp, 40] ldr x0, [x0, 8] ucvtf s0, x0 fdiv s1, s1, s0 fmov s0, 5.0e-1 fcmpe s1, s0 bgt .L37 b .L33 .L37: ldr x0, [sp, 40] bl _cap_lp_hash_table_rehash .L33: ldr x0, [sp, 40] ldr x2, [x0, 32] ldr x0, [sp, 40] ldr x0, [x0, 16] mov x1, x0 ldr x0, [sp, 32] blr x2 mov x1, x0 ldr x0, [sp, 40] ldr x0, [x0, 8] udiv x2, x1, x0 mul x0, x2, x0 sub x0, x1, x0 str x0, [sp, 56] b .L35 .L36: ldr x0, [sp, 56] add x0, x0, 1 ldr x1, [sp, 40] ldr x1, [x1, 8] udiv x2, x0, x1 mul x1, x2, x1 sub x0, x0, x1 str x0, [sp, 56] .L35: ldr x0, [sp, 40] ldr x1, [x0, 40] ldr x0, [sp, 56] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] cmp x0, 0 bne .L36 ldr x0, [sp, 40] ldr x1, [x0, 40] ldr x0, [sp, 56] lsl x0, x0, 4 add x0, x1, x0 ldr x1, [sp, 24] str x1, [x0] ldr x0, [sp, 40] ldr x1, [x0, 40] ldr x0, [sp, 56] lsl x0, x0, 4 add x0, x1, x0 ldr x1, [sp, 32] str x1, [x0, 8] ldr x0, [sp, 40] ldr x0, [x0] add x1, x0, 1 ldr x0, [sp, 40] str x1, [x0] nop ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size cap_lp_hash_table_insert, .-cap_lp_hash_table_insert .section .rodata .align 3 .LC5: .string "memory allocation falure on rehash\n" .align 3 .LC6: .string "false" .text .align 2 .type _cap_lp_hash_table_rehash, %function _cap_lp_hash_table_rehash: .LFB10: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] ldr x0, [x0, 40] str x0, [sp, 48] ldr x0, [sp, 24] ldr x0, [x0, 8] str x0, [sp, 56] ldr x0, [sp, 24] ldr x0, [x0, 8] lsl x0, x0, 1 mov x1, 16 bl calloc mov x1, x0 ldr x0, [sp, 24] str x1, [x0, 40] ldr x0, [sp, 24] ldr x0, [x0, 40] cmp x0, 0 bne .L40 adrp x0, :got:stderr ldr x0, [x0, #:got_lo12:stderr] ldr x0, [x0] mov x3, x0 mov x2, 35 mov x1, 1 adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl fwrite adrp x0, __PRETTY_FUNCTION__.2 add x3, x0, :lo12:__PRETTY_FUNCTION__.2 mov w2, 253 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC6 add x0, x0, :lo12:.LC6 bl __assert_fail .L40: ldr x0, [sp, 24] ldr x0, [x0, 8] lsl x1, x0, 1 ldr x0, [sp, 24] str x1, [x0, 8] ldr x0, [sp, 24] str xzr, [x0] str xzr, [sp, 40] b .L41 .L44: ldr x0, [sp, 40] lsl x0, x0, 4 ldr x1, [sp, 48] add x0, x1, x0 ldr x0, [x0] cmp x0, 0 beq .L45 ldr x0, [sp, 40] lsl x0, x0, 4 ldr x1, [sp, 48] add x0, x1, x0 ldr x3, [x0, 8] ldr x0, [sp, 40] lsl x0, x0, 4 ldr x1, [sp, 48] add x0, x1, x0 ldr x0, [x0] mov x2, x0 mov x1, x3 ldr x0, [sp, 24] bl cap_lp_hash_table_insert b .L43 .L45: nop .L43: ldr x0, [sp, 40] add x0, x0, 1 str x0, [sp, 40] .L41: ldr x1, [sp, 40] ldr x0, [sp, 56] cmp x1, x0 bcc .L44 nop nop ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE10: .size _cap_lp_hash_table_rehash, .-_cap_lp_hash_table_rehash .align 2 .type cap_lp_hash_table_contains, %function cap_lp_hash_table_contains: .LFB11: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] ldr x1, [sp, 16] ldr x0, [sp, 24] bl cap_lp_hash_table_lookup cmp x0, 0 cset w0, ne and w0, w0, 255 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE11: .size cap_lp_hash_table_contains, .-cap_lp_hash_table_contains .align 2 .type cap_lp_hash_table_lookup, %function cap_lp_hash_table_lookup: .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] str x1, [sp, 16] ldr x0, [sp, 24] cmp x0, 0 beq .L49 ldr x0, [sp, 16] cmp x0, 0 bne .L56 .L49: adrp x0, __PRETTY_FUNCTION__.1 add x3, x0, :lo12:__PRETTY_FUNCTION__.1 mov w2, 269 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl __assert_fail .L56: ldr x0, [sp, 24] ldr x2, [x0, 32] ldr x0, [sp, 24] ldr x0, [x0, 16] mov x1, x0 ldr x0, [sp, 16] blr x2 mov x1, x0 ldr x0, [sp, 24] ldr x0, [x0, 8] udiv x2, x1, x0 mul x0, x2, x0 sub x0, x1, x0 str x0, [sp, 32] str xzr, [sp, 40] b .L51 .L54: ldr x0, [sp, 24] ldr x2, [x0, 24] ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 32] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0, 8] mov x1, x0 ldr x0, [sp, 16] blr x2 and w0, w0, 255 cmp w0, 0 beq .L52 ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 32] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] str x0, [sp, 40] b .L53 .L52: ldr x0, [sp, 32] add x0, x0, 1 ldr x1, [sp, 24] ldr x1, [x1, 8] udiv x2, x0, x1 mul x1, x2, x1 sub x0, x0, x1 str x0, [sp, 32] .L51: ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 32] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0, 8] cmp x0, 0 bne .L54 .L53: ldr x0, [sp, 40] ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE12: .size cap_lp_hash_table_lookup, .-cap_lp_hash_table_lookup .align 2 .type cap_lp_hash_table_empty, %function cap_lp_hash_table_empty: .LFB13: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] bl cap_lp_hash_table_size cmp x0, 0 cset w0, eq and w0, w0, 255 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE13: .size cap_lp_hash_table_empty, .-cap_lp_hash_table_empty .section .rodata .align 3 .LC7: .string "table != NULL" .text .align 2 .type cap_lp_hash_table_size, %function cap_lp_hash_table_size: .LFB14: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] cmp x0, 0 bne .L60 adrp x0, __PRETTY_FUNCTION__.0 add x3, x0, :lo12:__PRETTY_FUNCTION__.0 mov w2, 289 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl __assert_fail .L60: ldr x0, [sp, 24] ldr x0, [x0] ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE14: .size cap_lp_hash_table_size, .-cap_lp_hash_table_size .align 2 .type cap_lp_hash_table_free, %function cap_lp_hash_table_free: .LFB15: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] cmp x0, 0 beq .L64 ldr x0, [sp, 24] ldr x0, [x0, 40] bl free ldr x0, [sp, 24] bl free .L64: nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE15: .size cap_lp_hash_table_free, .-cap_lp_hash_table_free .align 2 .type cap_lp_hash_table_deep_free, %function cap_lp_hash_table_deep_free: .LFB16: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] cmp x0, 0 beq .L70 str xzr, [sp, 40] b .L67 .L69: ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0, 8] cmp x0, 0 beq .L68 ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] cmp x0, 0 beq .L68 ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0, 8] bl free ldr x0, [sp, 24] ldr x1, [x0, 40] ldr x0, [sp, 40] lsl x0, x0, 4 add x0, x1, x0 ldr x0, [x0] bl free .L68: ldr x0, [sp, 40] add x0, x0, 1 str x0, [sp, 40] .L67: ldr x0, [sp, 24] ldr x0, [x0, 8] ldr x1, [sp, 40] cmp x1, x0 bcc .L69 .L70: nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE16: .size cap_lp_hash_table_deep_free, .-cap_lp_hash_table_deep_free .align 2 .type _hash_fn_defaut_hash_lp, %function _hash_fn_defaut_hash_lp: .LFB17: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str x1, [sp] mov x0, 5381 str x0, [sp, 24] strb wzr, [sp, 23] b .L72 .L73: ldr x0, [sp, 24] lsl x1, x0, 5 ldr x0, [sp, 24] add x1, x1, x0 ldrb w0, [sp, 23] ldr x2, [sp, 8] add x0, x2, x0 ldrb w0, [x0] and x0, x0, 255 eor x0, x1, x0 str x0, [sp, 24] ldrb w0, [sp, 23] add w0, w0, 1 strb w0, [sp, 23] .L72: ldrb w0, [sp, 23] ldr x1, [sp] cmp x1, x0 bhi .L73 ldr x0, [sp, 24] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE17: .size _hash_fn_defaut_hash_lp, .-_hash_fn_defaut_hash_lp .section .rodata .align 3 .type __PRETTY_FUNCTION__.6, %object .size __PRETTY_FUNCTION__.6, 23 __PRETTY_FUNCTION__.6: .string "cap_lp_hash_table_init" .align 3 .type __PRETTY_FUNCTION__.5, %object .size __PRETTY_FUNCTION__.5, 24 __PRETTY_FUNCTION__.5: .string "cap_lp_hash_table_erase" .align 3 .type __PRETTY_FUNCTION__.4, %object .size __PRETTY_FUNCTION__.4, 29 __PRETTY_FUNCTION__.4: .string "cap_lp_hash_table_deep_erase" .align 3 .type __PRETTY_FUNCTION__.3, %object .size __PRETTY_FUNCTION__.3, 25 __PRETTY_FUNCTION__.3: .string "cap_lp_hash_table_insert" .align 3 .type __PRETTY_FUNCTION__.2, %object .size __PRETTY_FUNCTION__.2, 26 __PRETTY_FUNCTION__.2: .string "_cap_lp_hash_table_rehash" .align 3 .type __PRETTY_FUNCTION__.1, %object .size __PRETTY_FUNCTION__.1, 25 __PRETTY_FUNCTION__.1: .string "cap_lp_hash_table_lookup" .align 3 .type __PRETTY_FUNCTION__.0, %object .size __PRETTY_FUNCTION__.0, 23 __PRETTY_FUNCTION__.0: .string "cap_lp_hash_table_size" ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global left_most_point .type left_most_point, %function left_most_point: .LFB0: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 8] str x1, [sp] ldr x0, [sp, 8] ldp x0, x1, [x0] stp x0, x1, [sp, 32] str xzr, [sp, 24] b .L2 .L7: ldr x0, [sp, 24] lsl x0, x0, 4 ldr x1, [sp, 8] add x0, x1, x0 ldr d1, [x0] ldr d0, [sp, 32] fcmpe d1, d0 bmi .L9 b .L11 .L9: ldr x0, [sp, 24] lsl x0, x0, 4 ldr x1, [sp, 8] add x0, x1, x0 ldp x0, x1, [x0] stp x0, x1, [sp, 32] b .L5 .L11: ldr x0, [sp, 24] lsl x0, x0, 4 ldr x1, [sp, 8] add x0, x1, x0 ldr d1, [x0] ldr d0, [sp, 32] fcmp d1, d0 bne .L5 ldr x0, [sp, 24] lsl x0, x0, 4 ldr x1, [sp, 8] add x0, x1, x0 ldr d1, [x0, 8] ldr d0, [sp, 40] fcmpe d1, d0 bmi .L10 b .L5 .L10: ldr x0, [sp, 24] lsl x0, x0, 4 ldr x1, [sp, 8] add x0, x1, x0 ldp x0, x1, [x0] stp x0, x1, [sp, 32] .L5: ldr x0, [sp, 24] add x0, x0, 1 str x0, [sp, 24] .L2: ldr x1, [sp, 24] ldr x0, [sp] cmp x1, x0 bcc .L7 ldp x0, x1, [sp, 32] mov x2, x0 mov x3, x1 fmov d0, x2 fmov d1, x1 add sp, sp, 48 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size left_most_point, .-left_most_point .align 2 .global equal .type equal, %function equal: .LFB1: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 fmov d4, d0 fmov d0, d1 mov x0, 0 mov x1, 0 fmov x0, d4 fmov x1, d0 stp x0, x1, [sp, 16] fmov d1, d2 fmov d0, d3 mov x0, 0 mov x1, 0 fmov x0, d1 fmov x1, d0 stp x0, x1, [sp] ldr d1, [sp, 16] ldr d0, [sp] fcmp d1, d0 bne .L13 ldr d1, [sp, 24] ldr d0, [sp, 8] fcmp d1, d0 bne .L13 mov w0, 1 b .L14 .L13: mov w0, 0 .L14: and w0, w0, 1 and w0, w0, 255 add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size equal, .-equal .align 2 .global winding .type winding, %function winding: .LFB2: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 fmov d6, d0 fmov d0, d1 mov x0, 0 mov x1, 0 fmov x0, d6 fmov x1, d0 stp x0, x1, [sp, 32] fmov d1, d2 fmov d0, d3 mov x0, 0 mov x1, 0 fmov x0, d1 fmov x1, d0 stp x0, x1, [sp, 16] fmov d1, d4 fmov d0, d5 mov x0, 0 mov x1, 0 fmov x0, d1 fmov x1, d0 stp x0, x1, [sp] ldr d1, [sp, 16] ldr d0, [sp, 32] fsub d1, d1, d0 ldr d2, [sp, 8] ldr d0, [sp, 40] fsub d0, d2, d0 fmul d1, d1, d0 ldr d2, [sp, 24] ldr d0, [sp, 40] fsub d2, d2, d0 ldr d3, [sp] ldr d0, [sp, 32] fsub d0, d3, d0 fmul d0, d2, d0 fsub d0, d1, d0 add sp, sp, 48 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE2: .size winding, .-winding .align 2 .global jarvis_march .type jarvis_march, %function jarvis_march: .LFB3: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp str x0, [sp, 40] str x1, [sp, 32] str x2, [sp, 24] ldr x1, [sp, 24] ldr x0, [sp, 40] bl left_most_point fmov d2, d0 fmov d0, d1 str d2, [sp, 64] str d0, [sp, 72] str xzr, [sp, 48] .L24: ldr x0, [sp, 48] lsl x0, x0, 4 ldr x1, [sp, 32] add x2, x1, x0 ldp x0, x1, [sp, 64] stp x0, x1, [x2] ldr x0, [sp, 40] ldp x0, x1, [x0] stp x0, x1, [sp, 80] mov x0, 1 str x0, [sp, 56] b .L19 .L23: ldr d2, [sp, 64] ldr d3, [sp, 72] ldr d0, [sp, 80] ldr d1, [sp, 88] bl equal and w0, w0, 255 cmp w0, 0 bne .L20 ldr x0, [sp, 48] lsl x0, x0, 4 ldr x1, [sp, 32] add x0, x1, x0 ldr x1, [sp, 56] lsl x1, x1, 4 ldr x2, [sp, 40] add x1, x2, x1 ldr d4, [x1] ldr d5, [x1, 8] ldr d2, [sp, 80] ldr d3, [sp, 88] ldr d0, [x0] ldr d1, [x0, 8] bl winding fcmpe d0, #0.0 bgt .L20 b .L21 .L20: ldr x0, [sp, 56] lsl x0, x0, 4 ldr x1, [sp, 40] add x0, x1, x0 ldp x0, x1, [x0] stp x0, x1, [sp, 80] .L21: ldr x0, [sp, 56] add x0, x0, 1 str x0, [sp, 56] .L19: ldr x1, [sp, 56] ldr x0, [sp, 24] cmp x1, x0 bcc .L23 ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] ldp x0, x1, [sp, 80] stp x0, x1, [sp, 64] ldr x0, [sp, 32] ldr d2, [x0] ldr d3, [x0, 8] ldr d0, [sp, 80] ldr d1, [sp, 88] bl equal and w0, w0, 255 eor w0, w0, 1 and w0, w0, 255 cmp w0, 0 bne .L24 ldr x0, [sp, 48] ldp x29, x30, [sp], 96 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE3: .size jarvis_march, .-jarvis_march .section .rodata .align 3 .LC1: .string "The Hull points are:" .align 3 .LC2: .string "x=%f y=%f\n" .text .align 2 .global main .type main, %function main: .LFB4: .cfi_startproc sub sp, sp, #528 .cfi_def_cfa_offset 528 stp x29, x30, [sp] .cfi_offset 29, -528 .cfi_offset 30, -520 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 520] mov x1, 0 adrp x0, .LC0 add x1, x0, :lo12:.LC0 add x0, sp, 40 ldp q0, q1, [x1] stp q0, q1, [x0] ldp q0, q1, [x1, 32] stp q0, q1, [x0, 32] ldp q0, q1, [x1, 64] stp q0, q1, [x0, 64] ldp q0, q1, [x1, 96] stp q0, q1, [x0, 96] ldp q0, q1, [x1, 128] stp q0, q1, [x0, 128] ldp q0, q1, [x1, 160] stp q0, q1, [x0, 160] ldp q0, q1, [x1, 192] stp q0, q1, [x0, 192] ldr q0, [x1, 224] str q0, [x0, 224] add x1, sp, 280 add x0, sp, 40 mov x2, 15 bl jarvis_march str x0, [sp, 32] adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl puts str xzr, [sp, 24] b .L27 .L28: ldr x0, [sp, 24] lsl x0, x0, 4 add x1, sp, 280 ldr d0, [x1, x0] ldr x0, [sp, 24] lsl x0, x0, 4 add x1, sp, 288 ldr d1, [x1, x0] adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf ldr x0, [sp, 24] add x0, x0, 1 str x0, [sp, 24] .L27: ldr x1, [sp, 24] ldr x0, [sp, 32] cmp x1, x0 bcc .L28 mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 520] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L30 bl __stack_chk_fail .L30: mov w0, w1 ldp x29, x30, [sp] add sp, sp, 528 .cfi_restore 29 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE4: .size main, .-main .section .rodata .align 3 .LC0: .word 0 .word -1072431104 .word 0 .word 1073741824 .word 0 .word 1075052544 .word 0 .word 1075576832 .word 0 .word -1072168960 .word 0 .word -1071120384 .word 0 .word -1070858240 .word 0 .word -1070858240 .word 0 .word 1075970048 .word 0 .word 1075970048 .word 0 .word -1074790400 .word 0 .word -1074790400 .word 0 .word -1071382528 .word 0 .word 1076232192 .word 0 .word -1072168960 .word 0 .word 1076756480 .word 0 .word -1072168960 .word 0 .word -1071644672 .word 0 .word 1076756480 .word 0 .word -1071513600 .word 0 .word 1075576832 .word 0 .word -1071906816 .word 0 .word -1073741824 .word 0 .word -1071513600 .word 0 .word 1075314688 .word 0 .word -1072431104 .word 0 .word 0 .word 0 .word 1076625408 .word 0 .word 1073741824 .word 0 .word 1075838976 .text ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "\344\270\211\350\247\222\345\275\242\345\261\202\346\225\260: " .align 3 .LC1: .string "%d" .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 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 __isoc99_scanf str wzr, [sp, 32] b .L2 .L7: str wzr, [sp, 36] b .L3 .L4: mov w0, 32 bl putchar ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L3: ldr w1, [sp, 28] ldr w0, [sp, 32] sub w0, w1, w0 ldr w1, [sp, 36] cmp w1, w0 blt .L4 str wzr, [sp, 36] b .L5 .L6: mov w0, 42 bl putchar ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L5: ldr w0, [sp, 32] lsl w0, w0, 1 ldr w1, [sp, 36] cmp w1, w0 ble .L6 mov w0, 10 bl putchar ldr w0, [sp, 32] add w0, w0, 1 str w0, [sp, 32] .L2: ldr w0, [sp, 28] ldr w1, [sp, 32] cmp w1, w0 blt .L7 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 .L9 bl __stack_chk_fail .L9: mov w0, w1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "WARNING: runbench not implemented for platform yet\n" .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str w0, [sp, 28] str x1, [sp, 16] adrp x0, :got:stderr ldr x0, [x0, #:got_lo12:stderr] ldr x0, [x0] mov x3, x0 mov x2, 51 mov x1, 1 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl fwrite mov w0, 77 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 "Call this program with %i arguments\n" .align 3 .LC1: .string "You win!" .align 3 .LC2: .string "%u\n" .text .align 2 .global main .type main, %function main: .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, 28] str x1, [sp, 16] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 72] mov x1, 0 bl megaInit ldr w0, [sp, 28] cmp w0, 2 beq .L2 mov w1, 1 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf mov w0, -1 bl exit .L2: str wzr, [sp, 48] b .L3 .L4: ldrsw x0, [sp, 48] add x0, x0, 1 lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr x0, [x0] mov w2, 10 mov x1, 0 bl strtoul strb w0, [sp, 47] ldrsw x0, [sp, 48] add x1, sp, 56 ldrb w2, [sp, 47] strb w2, [x1, x0] ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L3: ldr w0, [sp, 48] cmp w0, 0 ble .L4 add x1, sp, 64 add x0, sp, 56 bl RandomFunc ldrb w0, [sp, 64] cmp w0, 59 bne .L5 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl puts .L5: str wzr, [sp, 52] b .L6 .L7: ldrsw x0, [sp, 52] add x1, sp, 64 ldrb w0, [x1, x0] mov w1, w0 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L6: ldr w0, [sp, 52] cmp w0, 0 ble .L7 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 .L9 bl __stack_chk_fail .L9: mov w0, w1 ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main .align 2 .global RandomFunc .type RandomFunc, %function RandomFunc: .LFB1: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 56] mov x1, 0 ldr x0, [sp, 24] ldrb w0, [x0] sub w0, w0, #77 and w0, w0, 255 strb w0, [sp, 48] strb wzr, [sp, 47] b .L11 .L16: ldrb w0, [sp, 48] ldrb w1, [sp, 47] cmp w1, w0 bls .L12 ldrb w1, [sp, 48] ldrb w0, [sp, 47] sxtw x0, w0 add x2, sp, 48 ldrb w0, [x2, x0] ldrb w3, [sp, 47] add w0, w1, w0 and w2, w0, 255 sxtw x0, w3 add x1, sp, 48 strb w2, [x1, x0] ldrb w0, [sp, 47] sxtw x0, w0 add x1, sp, 48 ldrb w1, [x1, x0] ldrb w0, [sp, 48] sub w0, w1, w0 and w0, w0, 255 strb w0, [sp, 48] b .L13 .L12: ldrb w1, [sp, 48] ldrb w0, [sp, 47] sxtw x0, w0 add x2, sp, 48 ldrb w0, [x2, x0] ldrb w3, [sp, 47] add w0, w1, w0 and w2, w0, 255 sxtw x0, w3 add x1, sp, 48 strb w2, [x1, x0] ldrb w0, [sp, 47] sxtw x0, w0 add x1, sp, 48 ldrb w0, [x1, x0] ldrb w1, [sp, 47] ubfiz w0, w0, 1, 7 and w2, w0, 255 sxtw x0, w1 add x1, sp, 48 strb w2, [x1, x0] .L13: ldrb w0, [sp, 48] ldrb w1, [sp, 47] cmp w1, w0 bne .L14 ldrb w1, [sp, 48] ldrb w0, [sp, 47] sxtw x0, w0 add x2, sp, 48 ldrb w0, [x2, x0] add w0, w1, w0 and w0, w0, 255 strb w0, [sp, 48] ldrb w0, [sp, 48] ubfiz w0, w0, 1, 7 and w0, w0, 255 strb w0, [sp, 48] b .L15 .L14: ldrb w1, [sp, 48] ldrb w0, [sp, 47] sxtw x0, w0 add x2, sp, 48 ldrb w0, [x2, x0] sub w0, w1, w0 and w0, w0, 255 strb w0, [sp, 48] ldrb w0, [sp, 47] sxtw x0, w0 add x1, sp, 48 ldrb w1, [x1, x0] ldrb w0, [sp, 48] ldrb w3, [sp, 47] add w0, w1, w0 and w2, w0, 255 sxtw x0, w3 add x1, sp, 48 strb w2, [x1, x0] .L15: ldrb w0, [sp, 47] add w0, w0, 1 strb w0, [sp, 47] .L11: ldr x0, [sp, 24] add x0, x0, 1 ldrb w0, [x0] ldrb w1, [sp, 47] cmp w1, w0 bcc .L16 ldrb w0, [sp, 48] add w0, w0, 79 and w1, w0, 255 ldr x0, [sp, 16] strb w1, [x0] nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 56] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L17 bl __stack_chk_fail .L17: ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size RandomFunc, .-RandomFunc .align 2 .global megaInit .type megaInit, %function megaInit: .LFB2: .cfi_startproc nop ret .cfi_endproc .LFE2: .size megaInit, .-megaInit ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global name .bss .align 3 .type name, %object .size name, 40 name: .zero 40 .global state .align 3 .type state, %object .size state, 40 state: .zero 40 .global eat_count .align 3 .type eat_count, %object .size eat_count, 40 eat_count: .zero 40 .global eat_count_unit .align 3 .type eat_count_unit, %object .size eat_count_unit, 40 eat_count_unit: .zero 40 .global forks .align 3 .type forks, %object .size forks, 320 forks: .zero 320 .global print_mutex .align 3 .type print_mutex, %object .size print_mutex, 48 print_mutex: .zero 48 .global mutex .align 3 .type mutex, %object .size mutex, 48 mutex: .zero 48 .section .rodata .align 3 .LC0: .string "\n" .align 3 .LC1: .string "=========================" .align 3 .LC2: .string "== Unit Eat Count ==" .align 3 .LC3: .string "|PHIL[%d]|" .align 3 .LC4: .string "== Total Eat Count ==" .text .align 2 .global print_eat_count .type print_eat_count, %function print_eat_count: .LFB6: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl puts str wzr, [sp, 16] b .L2 .L3: adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf ldr w0, [sp, 16] add w0, w0, 1 str w0, [sp, 16] .L2: ldr w0, [sp, 16] cmp w0, 9 ble .L3 mov w0, 10 bl putchar adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl puts str wzr, [sp, 20] b .L4 .L5: adrp x0, eat_count_unit add x0, x0, :lo12:eat_count_unit ldrsw x1, [sp, 20] ldr w0, [x0, x1, lsl 2] mov w1, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] .L4: ldr w0, [sp, 20] cmp w0, 9 ble .L5 mov w0, 10 bl putchar adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl puts str wzr, [sp, 24] b .L6 .L7: adrp x0, eat_count add x0, x0, :lo12:eat_count ldrsw x1, [sp, 24] ldr w0, [x0, x1, lsl 2] mov w1, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf ldr w0, [sp, 24] add w0, w0, 1 str w0, [sp, 24] .L6: ldr w0, [sp, 24] cmp w0, 9 ble .L7 mov w0, 10 bl putchar str wzr, [sp, 28] b .L8 .L9: adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L8: ldr w0, [sp, 28] cmp w0, 9 ble .L9 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl puts nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size print_eat_count, .-print_eat_count .align 2 .global evaluate_time_unit .type evaluate_time_unit, %function evaluate_time_unit: .LFB7: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp mov w0, 5 str w0, [sp, 20] fmov s0, 1.0e+1 str s0, [sp, 24] ldr s0, [sp, 20] scvtf s0, s0 str s0, [sp, 28] ldr s0, [sp, 28] ldr s1, [sp, 24] fdiv s0, s1, s0 fcvt d0, s0 bl ceil fmov d1, d0 fmov d0, 2.0e+0 fadd d0, d1, d0 fcvtzs w0, d0 ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size evaluate_time_unit, .-evaluate_time_unit .section .rodata .align 3 .LC5: .string "\033[0m" .align 3 .LC6: .string "\033[31m" .align 3 .LC7: .string "%s\n\n**** Failed to Satisfy the Time Unit ****\n\n%s" .text .align 2 .global testing_solution .type testing_solution, %function testing_solution: .LFB8: .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 bl evaluate_time_unit str w0, [sp, 52] .L20: str wzr, [sp, 44] b .L13 .L14: adrp x0, eat_count_unit add x0, x0, :lo12:eat_count_unit ldrsw x1, [sp, 44] str wzr, [x0, x1, lsl 2] ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L13: ldr w0, [sp, 44] cmp w0, 9 ble .L14 add x0, sp, 56 mov x1, 0 bl gettimeofday b .L15 .L16: add x0, sp, 72 mov x1, 0 bl gettimeofday .L15: ldr x1, [sp, 72] ldr x0, [sp, 56] sub x1, x1, x0 ldrsw x0, [sp, 52] cmp x1, x0 blt .L16 str wzr, [sp, 48] b .L17 .L19: adrp x0, eat_count_unit add x0, x0, :lo12:eat_count_unit ldrsw x1, [sp, 48] ldr w0, [x0, x1, lsl 2] cmp w0, 0 bne .L18 adrp x0, .LC5 add x2, x0, :lo12:.LC5 adrp x0, .LC6 add x1, x0, :lo12:.LC6 adrp x0, .LC7 add x0, x0, :lo12:.LC7 bl printf mov w0, 0 bl exit .L18: ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L17: ldr w0, [sp, 48] cmp w0, 9 ble .L19 bl print_eat_count b .L20 .cfi_endproc .LFE8: .size testing_solution, .-testing_solution .section .rodata .align 3 .LC8: .string "|\tPHIL[%d]\t\t|" .text .align 2 .global print_table_index .type print_table_index, %function print_table_index: .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, 20] b .L23 .L24: adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] .L23: ldr w0, [sp, 20] cmp w0, 9 ble .L24 mov w0, 10 bl putchar str wzr, [sp, 24] b .L25 .L26: ldr w1, [sp, 24] adrp x0, .LC8 add x0, x0, :lo12:.LC8 bl printf ldr w0, [sp, 24] add w0, w0, 1 str w0, [sp, 24] .L25: ldr w0, [sp, 24] cmp w0, 9 ble .L26 mov w0, 10 bl putchar str wzr, [sp, 28] b .L27 .L28: adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L27: ldr w0, [sp, 28] cmp w0, 9 ble .L28 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 .LFE9: .size print_table_index, .-print_table_index .section .rodata .align 3 .LC9: .string "\tPHIL[%d] %s %d th fork.\n" .text .align 2 .global print_fork .type print_fork, %function print_fork: .LFB10: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str w0, [sp, 28] str w1, [sp, 24] str x2, [sp, 16] adrp x0, print_mutex add x0, x0, :lo12:print_mutex bl pthread_mutex_lock ldr w3, [sp, 24] ldr x2, [sp, 16] ldr w1, [sp, 28] adrp x0, .LC9 add x0, x0, :lo12:.LC9 bl printf adrp x0, print_mutex add x0, x0, :lo12:print_mutex bl pthread_mutex_unlock nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE10: .size print_fork, .-print_fork .section .rodata .align 3 .LC10: .string "The waiter %s PHIL[%d]\n" .text .align 2 .global print_arbitrator .type print_arbitrator, %function print_arbitrator: .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 w0, [sp, 28] str x1, [sp, 16] adrp x0, print_mutex add x0, x0, :lo12:print_mutex bl pthread_mutex_lock ldr w2, [sp, 28] ldr x1, [sp, 16] adrp x0, .LC10 add x0, x0, :lo12:.LC10 bl printf adrp x0, print_mutex add x0, x0, :lo12:print_mutex bl pthread_mutex_unlock nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE11: .size print_arbitrator, .-print_arbitrator .section .rodata .align 3 .LC11: .string "|\tINIT\t\t|" .align 3 .LC12: .string "\033[34m" .align 3 .LC13: .string "|%s\tTHINKING\t%s|" .align 3 .LC14: .string "\033[32m" .align 3 .LC15: .string "|%s\tEATING\t\t%s|" .text .align 2 .global update_state .type update_state, %function update_state: .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 w1, [sp, 24] adrp x0, print_mutex add x0, x0, :lo12:print_mutex bl pthread_mutex_lock adrp x0, state add x0, x0, :lo12:state ldrsw x1, [sp, 28] ldr w2, [sp, 24] str w2, [x0, x1, lsl 2] str wzr, [sp, 44] b .L32 .L36: adrp x0, state add x0, x0, :lo12:state ldrsw x1, [sp, 44] ldr w0, [x0, x1, lsl 2] cmp w0, 0 bne .L33 adrp x0, .LC11 add x0, x0, :lo12:.LC11 bl printf b .L34 .L33: adrp x0, state add x0, x0, :lo12:state ldrsw x1, [sp, 44] ldr w0, [x0, x1, lsl 2] cmp w0, 2 bne .L35 adrp x0, .LC5 add x2, x0, :lo12:.LC5 adrp x0, .LC12 add x1, x0, :lo12:.LC12 adrp x0, .LC13 add x0, x0, :lo12:.LC13 bl printf b .L34 .L35: adrp x0, state add x0, x0, :lo12:state ldrsw x1, [sp, 44] ldr w0, [x0, x1, lsl 2] cmp w0, 1 bne .L34 adrp x0, .LC5 add x2, x0, :lo12:.LC5 adrp x0, .LC14 add x1, x0, :lo12:.LC14 adrp x0, .LC15 add x0, x0, :lo12:.LC15 bl printf .L34: ldr w0, [sp, 44] add w0, w0, 1 str w0, [sp, 44] .L32: ldr w0, [sp, 44] cmp w0, 9 ble .L36 mov w0, 10 bl putchar adrp x0, print_mutex add x0, x0, :lo12:print_mutex bl pthread_mutex_unlock nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE12: .size update_state, .-update_state .section .rodata .align 3 .LC16: .string "serves" .align 3 .LC17: .string "take" .align 3 .LC18: .string "leaves" .align 3 .LC19: .string "put" .text .align 2 .global philosopher .type philosopher, %function philosopher: .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] ldr x0, [sp, 24] ldr w0, [x0] str w0, [sp, 44] .L38: adrp x0, mutex add x0, x0, :lo12:mutex bl pthread_mutex_lock adrp x0, .LC16 add x1, x0, :lo12:.LC16 ldr w0, [sp, 44] bl print_arbitrator ldr w0, [sp, 44] add w1, w0, 1 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 sxtw x0, w2 lsl x1, x0, 5 adrp x0, forks add x0, x0, :lo12:forks add x0, x1, x0 bl sem_wait ldr w0, [sp, 44] add w2, w0, 1 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 adrp x0, .LC17 add x2, x0, :lo12:.LC17 ldr w0, [sp, 44] bl print_fork ldrsw x0, [sp, 44] lsl x1, x0, 5 adrp x0, forks add x0, x0, :lo12:forks add x0, x1, x0 bl sem_wait adrp x0, .LC17 add x2, x0, :lo12:.LC17 ldr w1, [sp, 44] ldr w0, [sp, 44] bl print_fork adrp x0, mutex add x0, x0, :lo12:mutex bl pthread_mutex_unlock adrp x0, .LC18 add x1, x0, :lo12:.LC18 ldr w0, [sp, 44] bl print_arbitrator mov w1, 1 ldr w0, [sp, 44] bl update_state adrp x0, eat_count add x0, x0, :lo12:eat_count ldrsw x1, [sp, 44] ldr w0, [x0, x1, lsl 2] add w2, w0, 1 adrp x0, eat_count add x0, x0, :lo12:eat_count ldrsw x1, [sp, 44] str w2, [x0, x1, lsl 2] adrp x0, eat_count_unit add x0, x0, :lo12:eat_count_unit ldrsw x1, [sp, 44] ldr w0, [x0, x1, lsl 2] add w2, w0, 1 adrp x0, eat_count_unit add x0, x0, :lo12:eat_count_unit ldrsw x1, [sp, 44] str w2, [x0, x1, lsl 2] mov w0, 1 bl sleep mov w1, 2 ldr w0, [sp, 44] bl update_state ldr w0, [sp, 44] add w1, w0, 1 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 sxtw x0, w2 lsl x1, x0, 5 adrp x0, forks add x0, x0, :lo12:forks add x0, x1, x0 bl sem_post ldr w0, [sp, 44] add w2, w0, 1 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 adrp x0, .LC19 add x2, x0, :lo12:.LC19 ldr w0, [sp, 44] bl print_fork ldrsw x0, [sp, 44] lsl x1, x0, 5 adrp x0, forks add x0, x0, :lo12:forks add x0, x1, x0 bl sem_post adrp x0, .LC19 add x2, x0, :lo12:.LC19 ldr w1, [sp, 44] ldr w0, [sp, 44] bl print_fork mov w0, 1 bl sleep b .L38 .cfi_endproc .LFE13: .size philosopher, .-philosopher .align 2 .global main .type main, %function main: .LFB14: .cfi_startproc stp x29, x30, [sp, -128]! .cfi_def_cfa_offset 128 .cfi_offset 29, -128 .cfi_offset 30, -120 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 120] mov x1, 0 mov x1, 0 adrp x0, print_mutex add x0, x0, :lo12:print_mutex bl pthread_mutex_init mov x1, 0 adrp x0, mutex add x0, x0, :lo12:mutex bl pthread_mutex_init str wzr, [sp, 16] b .L40 .L41: ldrsw x0, [sp, 16] lsl x1, x0, 5 adrp x0, forks add x0, x0, :lo12:forks add x0, x1, x0 mov w2, 1 mov w1, 0 bl sem_init adrp x0, state add x0, x0, :lo12:state ldrsw x1, [sp, 16] str wzr, [x0, x1, lsl 2] ldr w0, [sp, 16] add w0, w0, 1 str w0, [sp, 16] .L40: ldr w0, [sp, 16] cmp w0, 9 ble .L41 bl print_table_index str wzr, [sp, 20] b .L42 .L43: adrp x0, name add x0, x0, :lo12:name ldrsw x1, [sp, 20] ldr w2, [sp, 20] str w2, [x0, x1, lsl 2] add x1, sp, 40 ldrsw x0, [sp, 20] lsl x0, x0, 3 add x4, x1, x0 ldrsw x0, [sp, 20] lsl x1, x0, 2 adrp x0, name add x0, x0, :lo12:name add x0, x1, x0 mov x3, x0 adrp x0, philosopher add x2, x0, :lo12:philosopher mov x1, 0 mov x0, x4 bl pthread_create ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] .L42: ldr w0, [sp, 20] cmp w0, 9 ble .L43 add x4, sp, 32 mov x3, 0 adrp x0, testing_solution add x2, x0, :lo12:testing_solution mov x1, 0 mov x0, x4 bl pthread_create str wzr, [sp, 24] b .L44 .L45: ldrsw x0, [sp, 24] lsl x0, x0, 3 add x1, sp, 40 ldr x0, [x1, x0] mov x1, 0 bl pthread_join ldr w0, [sp, 24] add w0, w0, 1 str w0, [sp, 24] .L44: ldr w0, [sp, 24] cmp w0, 9 ble .L45 ldr x0, [sp, 32] mov x1, 0 bl pthread_join str wzr, [sp, 28] b .L46 .L47: ldrsw x0, [sp, 28] lsl x1, x0, 5 adrp x0, forks add x0, x0, :lo12:forks add x0, x1, x0 bl sem_destroy ldr w0, [sp, 28] add w0, w0, 1 str w0, [sp, 28] .L46: ldr w0, [sp, 28] cmp w0, 9 ble .L47 adrp x0, print_mutex add x0, x0, :lo12:print_mutex bl pthread_mutex_destroy adrp x0, mutex add x0, x0, :lo12:mutex bl pthread_mutex_destroy 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 .L49 bl __stack_chk_fail .L49: mov w0, w1 ldp x29, x30, [sp], 128 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE14: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global v .bss .align 3 .type v, %object .size v, 144 v: .zero 144 .text .align 2 .global foo .type foo, %function foo: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] ldr x0, [sp, 8] ldr w0, [x0] str w0, [sp, 28] ldr x0, [sp, 8] ldr w0, [x0] str w0, [sp, 28] ldr x0, [sp, 8] ldr w0, [x0] str w0, [sp, 28] ldr x0, [sp, 8] ldr w0, [x0] str w0, [sp, 28] ldr x0, [sp, 8] ldr w0, [x0] add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size foo, .-foo .align 2 .global main .type main, %function main: .LFB1: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp adrp x0, v+81 add x0, x0, :lo12:v+81 bl foo cmp w0, 0 beq .L4 bl abort .L4: mov w0, 0 ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC2: .string "%d" .align 3 .LC3: .string "%d\n" .align 3 .LC4: .string "%d. %s %d" .align 3 .LC5: .string "%d %s %d\n" .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -464]! .cfi_def_cfa_offset 464 .cfi_offset 29, -464 .cfi_offset 30, -456 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 456] mov x1, 0 adrp x0, .LC0 add x1, x0, :lo12:.LC0 add x0, sp, 48 ldp q0, q1, [x1] stp q0, q1, [x0] ldp q0, q1, [x1, 32] stp q0, q1, [x0, 32] ldp q0, q1, [x1, 64] stp q0, q1, [x0, 64] ldp q0, q1, [x1, 96] stp q0, q1, [x0, 96] ldp q0, q1, [x1, 128] stp q0, q1, [x0, 128] ldr q0, [x1, 160] str q0, [x0, 160] ldr q0, [x1, 174] str q0, [x0, 174] adrp x0, .LC1 add x1, x0, :lo12:.LC1 add x0, sp, 240 ldp q0, q1, [x1] stp q0, q1, [x0] ldp q0, q1, [x1, 32] stp q0, q1, [x0, 32] ldp q0, q1, [x1, 64] stp q0, q1, [x0, 64] ldp q0, q1, [x1, 96] stp q0, q1, [x0, 96] ldp q0, q1, [x1, 128] stp q0, q1, [x0, 128] ldp q0, q1, [x1, 160] stp q0, q1, [x0, 160] ldr x1, [x1, 192] str x1, [x0, 192] add x0, sp, 28 mov x1, x0 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl __isoc99_scanf ldr w0, [sp, 28] mov w1, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf b .L2 .L7: add x2, sp, 36 add x1, sp, 440 add x0, sp, 32 mov x3, x2 mov x2, x1 mov x1, x0 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl __isoc99_scanf str wzr, [sp, 40] b .L3 .L6: add x2, sp, 48 ldrsw x1, [sp, 40] mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 add x0, x2, x0 add x1, sp, 440 bl strcmp cmp w0, 0 beq .L10 ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L3: ldr w0, [sp, 40] cmp w0, 18 ble .L6 b .L5 .L10: nop .L5: ldr w1, [sp, 36] mov w0, 365 mul w2, w1, w0 ldr w1, [sp, 40] mov w0, w1 lsl w0, w0, 2 add w0, w0, w1 lsl w0, w0, 2 add w1, w2, w0 ldr w0, [sp, 32] add w0, w1, w0 str w0, [sp, 44] ldr w1, [sp, 44] mov w0, 60495 movk w0, 0x4ec4, lsl 16 smull x0, w1, w0 lsr x0, x0, 32 asr w2, w0, 2 asr w0, w1, 31 sub w0, w2, w0 mov w2, 13 mul w0, w0, w2 sub w0, w1, w0 add w4, w0, 1 ldr w1, [sp, 44] mov w0, 26215 movk w0, 0x6666, lsl 16 smull x0, w1, w0 lsr x0, x0, 32 asr w2, w0, 3 asr w0, w1, 31 sub w2, w2, w0 mov w0, w2 lsl w0, w0, 2 add w0, w0, w2 lsl w0, w0, 2 sub w2, w1, w0 add x3, sp, 240 sxtw x1, w2 mov x0, x1 lsl x0, x0, 2 add x0, x0, x1 lsl x0, x0, 1 add x2, x3, x0 ldr w0, [sp, 44] mov w1, 57471 movk w1, 0x7e07, lsl 16 smull x1, w0, w1 lsr x1, x1, 32 asr w1, w1, 7 asr w0, w0, 31 sub w0, w1, w0 mov w3, w0 mov w1, w4 adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl printf .L2: ldr w0, [sp, 28] sub w1, w0, #1 str w1, [sp, 28] cmp w0, 0 bne .L7 mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 456] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L9 bl __stack_chk_fail .L9: mov w0, w1 ldp x29, x30, [sp], 464 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main .section .rodata .align 3 .LC0: .string "pop" .zero 6 .string "no" .zero 7 .string "zip" .zero 6 .string "zotz" .zero 5 .string "tzec" .zero 5 .string "xul" .zero 6 .string "yoxkin" .zero 3 .string "mol" .zero 6 .string "chen" .zero 5 .string "yax" .zero 6 .string "zac" .zero 6 .string "ceh" .zero 6 .string "mac" .zero 6 .string "kankin" .zero 3 .string "muan" .zero 5 .string "pax" .zero 6 .string "koyab" .zero 4 .string "cumhu" .zero 4 .string "uayet" .zero 4 .align 3 .LC1: .string "imix" .zero 5 .string "ik" .zero 7 .string "akbal" .zero 4 .string "kan" .zero 6 .string "chicchan" .zero 1 .string "cimi" .zero 5 .string "manik" .zero 4 .string "lamat" .zero 4 .string "muluk" .zero 4 .string "ok" .zero 7 .string "chuen" .zero 4 .string "eb" .zero 7 .string "ben" .zero 6 .string "ix" .zero 7 .string "mem" .zero 6 .string "cib" .zero 6 .string "caban" .zero 4 .string "eznab" .zero 4 .string "canac" .zero 4 .string "ahau" .zero 5 .text ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global foo .type foo, %function foo: .LFB0: .cfi_startproc mov w0, 5 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 w0, [sp, 12] ldr w0, [sp, 12] 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 sub sp, sp, #32 .cfi_def_cfa_offset 32 mov w0, 5 str w0, [sp, 12] ldr w0, [sp, 12] str w0, [sp, 16] ldr w0, [sp, 16] str w0, [sp, 20] mov w0, 5 str w0, [sp, 24] ldr w1, [sp, 20] ldr w0, [sp, 24] add w0, w1, w0 str w0, [sp, 28] mov w0, 0 add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE2: .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_ .section .rodata .align 3 .LC0: .string "U" .align 3 .LC1: .string "C" .align 3 .LC2: .string "L" .align 3 .LC3: .string "R" .align 3 .LC4: .string "SSYCONV" .text .align 2 .global ssyconv_ .type ssyconv_, %function ssyconv_: .LFB21: .cfi_startproc stp x29, x30, [sp, -128]! .cfi_def_cfa_offset 128 .cfi_offset 29, -128 .cfi_offset 30, -120 mov x29, sp str x0, [sp, 72] str x1, [sp, 64] str x2, [sp, 56] str x3, [sp, 48] str x4, [sp, 40] str x5, [sp, 32] str x6, [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, 120] mov x1, 0 ldr x0, [sp, 40] ldr w0, [x0] str w0, [sp, 96] ldr w0, [sp, 96] add w0, w0, 1 str w0, [sp, 100] ldrsw x0, [sp, 100] lsl x0, x0, 2 neg x0, x0 ldr x1, [sp, 48] add x0, x1, x0 str x0, [sp, 48] ldr x0, [sp, 32] sub x0, x0, #4 str x0, [sp, 32] ldr x0, [sp, 24] sub x0, x0, #4 str x0, [sp, 24] ldr x0, [sp, 16] str wzr, [x0] adrp x0, .LC0 add x1, x0, :lo12:.LC0 ldr x0, [sp, 72] bl lsame_ str w0, [sp, 104] adrp x0, .LC1 add x1, x0, :lo12:.LC1 ldr x0, [sp, 64] bl lsame_ str w0, [sp, 108] ldr w0, [sp, 104] cmp w0, 0 bne .L69 adrp x0, .LC2 add x1, x0, :lo12:.LC2 ldr x0, [sp, 72] bl lsame_ cmp w0, 0 bne .L69 ldr x0, [sp, 16] mov w1, -1 str w1, [x0] b .L70 .L69: ldr w0, [sp, 108] cmp w0, 0 bne .L71 adrp x0, .LC3 add x1, x0, :lo12:.LC3 ldr x0, [sp, 64] bl lsame_ cmp w0, 0 bne .L71 ldr x0, [sp, 16] mov w1, -2 str w1, [x0] b .L70 .L71: ldr x0, [sp, 56] ldr w0, [x0] cmp w0, 0 bge .L72 ldr x0, [sp, 16] mov w1, -3 str w1, [x0] b .L70 .L72: ldr x0, [sp, 40] ldr w1, [x0] ldr x0, [sp, 56] ldr w0, [x0] mov w2, 1 cmp w0, 0 csel w0, w0, w2, gt cmp w1, w0 bge .L70 ldr x0, [sp, 16] mov w1, -5 str w1, [x0] .L70: ldr x0, [sp, 16] ldr w0, [x0] cmp w0, 0 beq .L73 ldr x0, [sp, 16] ldr w0, [x0] neg w0, w0 str w0, [sp, 84] add x0, sp, 84 mov w2, 7 mov x1, x0 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl xerbla_ mov w0, 0 b .L128 .L73: ldr x0, [sp, 56] ldr w0, [x0] cmp w0, 0 bne .L75 mov w0, 0 b .L128 .L75: ldr w0, [sp, 104] cmp w0, 0 beq .L76 ldr w0, [sp, 108] cmp w0, 0 beq .L77 ldr x0, [sp, 56] ldr w0, [x0] str w0, [sp, 88] ldr x0, [sp, 24] add x0, x0, 4 str wzr, [x0] b .L78 .L81: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] cmp w0, 0 bge .L79 ldr w0, [sp, 88] sub w1, w0, #1 ldr w2, [sp, 88] ldr w0, [sp, 96] mul w0, w2, w0 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x1, x1, x0 ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x2, [sp, 24] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldrsw x0, [sp, 88] lsl x0, x0, 2 sub x0, x0, #4 ldr x1, [sp, 24] add x0, x1, x0 str wzr, [x0] ldr w0, [sp, 88] sub w1, w0, #1 ldr w2, [sp, 88] ldr w0, [sp, 96] mul w0, w2, w0 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 str wzr, [x0] ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 88] b .L80 .L79: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 24] add x0, x1, x0 str wzr, [x0] .L80: ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 88] .L78: ldr w0, [sp, 88] cmp w0, 1 bgt .L81 ldr x0, [sp, 56] ldr w0, [x0] str w0, [sp, 88] b .L82 .L90: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] cmp w0, 0 ble .L83 ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] str w0, [sp, 112] ldr x0, [sp, 56] ldr w0, [x0] ldr w1, [sp, 88] cmp w1, w0 bge .L84 ldr x0, [sp, 56] ldr w0, [x0] str w0, [sp, 84] ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 92] b .L85 .L86: ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 112] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [x0] str s0, [sp, 116] ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 88] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x1, x1, x0 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w2, w2, w0 ldr w0, [sp, 112] add w0, w2, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 48] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 88] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [sp, 116] str s0, [x0] ldr w0, [sp, 92] add w0, w0, 1 str w0, [sp, 92] .L85: ldr w0, [sp, 84] ldr w1, [sp, 92] cmp w1, w0 ble .L86 b .L84 .L83: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] neg w0, w0 str w0, [sp, 112] ldr x0, [sp, 56] ldr w0, [x0] ldr w1, [sp, 88] cmp w1, w0 bge .L87 ldr x0, [sp, 56] ldr w0, [x0] str w0, [sp, 84] ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 92] b .L88 .L89: ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 112] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [x0] str s0, [sp, 116] ldr w0, [sp, 88] sub w1, w0, #1 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w0, w2, w0 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x1, x1, x0 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w2, w2, w0 ldr w0, [sp, 112] add w0, w2, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 48] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldr w0, [sp, 88] sub w1, w0, #1 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w0, w2, w0 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [sp, 116] str s0, [x0] ldr w0, [sp, 92] add w0, w0, 1 str w0, [sp, 92] .L88: ldr w0, [sp, 84] ldr w1, [sp, 92] cmp w1, w0 ble .L89 .L87: ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 88] .L84: ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 88] .L82: ldr w0, [sp, 88] cmp w0, 0 bgt .L90 b .L91 .L77: mov w0, 1 str w0, [sp, 88] b .L92 .L99: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] cmp w0, 0 ble .L93 ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] str w0, [sp, 112] ldr x0, [sp, 56] ldr w0, [x0] ldr w1, [sp, 88] cmp w1, w0 bge .L94 ldr x0, [sp, 56] ldr w0, [x0] str w0, [sp, 84] ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 92] b .L95 .L96: ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 112] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [x0] str s0, [sp, 116] ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 88] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x1, x1, x0 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w2, w2, w0 ldr w0, [sp, 112] add w0, w2, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 48] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 88] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [sp, 116] str s0, [x0] ldr w0, [sp, 92] add w0, w0, 1 str w0, [sp, 92] .L95: ldr w0, [sp, 84] ldr w1, [sp, 92] cmp w1, w0 ble .L96 b .L94 .L93: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] neg w0, w0 str w0, [sp, 112] ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 88] ldr x0, [sp, 56] ldr w0, [x0] ldr w1, [sp, 88] cmp w1, w0 bge .L94 ldr x0, [sp, 56] ldr w0, [x0] str w0, [sp, 84] ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 92] b .L97 .L98: ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 112] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [x0] str s0, [sp, 116] ldr w0, [sp, 88] sub w1, w0, #1 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w0, w2, w0 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x1, x1, x0 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w2, w2, w0 ldr w0, [sp, 112] add w0, w2, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 48] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldr w0, [sp, 88] sub w1, w0, #1 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w0, w2, w0 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [sp, 116] str s0, [x0] ldr w0, [sp, 92] add w0, w0, 1 str w0, [sp, 92] .L97: ldr w0, [sp, 84] ldr w1, [sp, 92] cmp w1, w0 ble .L98 .L94: ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 88] .L92: ldr x0, [sp, 56] ldr w0, [x0] ldr w1, [sp, 88] cmp w1, w0 ble .L99 ldr x0, [sp, 56] ldr w0, [x0] str w0, [sp, 88] b .L100 .L102: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] cmp w0, 0 bge .L101 ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 24] add x1, x1, x0 ldr w0, [sp, 88] sub w2, w0, #1 ldr w3, [sp, 88] ldr w0, [sp, 96] mul w0, w3, w0 add w0, w2, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 48] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 88] .L101: ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 88] .L100: ldr w0, [sp, 88] cmp w0, 1 bgt .L102 b .L91 .L76: ldr w0, [sp, 108] cmp w0, 0 beq .L103 mov w0, 1 str w0, [sp, 88] ldr x0, [sp, 56] ldr w0, [x0] sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 24] add x0, x1, x0 str wzr, [x0] b .L104 .L107: ldr x0, [sp, 56] ldr w0, [x0] ldr w1, [sp, 88] cmp w1, w0 bge .L105 ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] cmp w0, 0 bge .L105 ldr w0, [sp, 88] add w1, w0, 1 ldr w2, [sp, 88] ldr w0, [sp, 96] mul w0, w2, w0 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x1, x1, x0 ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x2, [sp, 24] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldrsw x0, [sp, 88] add x0, x0, 1 lsl x0, x0, 2 ldr x1, [sp, 24] add x0, x1, x0 str wzr, [x0] ldr w0, [sp, 88] add w1, w0, 1 ldr w2, [sp, 88] ldr w0, [sp, 96] mul w0, w2, w0 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 str wzr, [x0] ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 88] b .L106 .L105: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 24] add x0, x1, x0 str wzr, [x0] .L106: ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 88] .L104: ldr x0, [sp, 56] ldr w0, [x0] ldr w1, [sp, 88] cmp w1, w0 ble .L107 mov w0, 1 str w0, [sp, 88] b .L108 .L116: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] cmp w0, 0 ble .L109 ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] str w0, [sp, 112] ldr w0, [sp, 88] cmp w0, 1 ble .L110 ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 84] mov w0, 1 str w0, [sp, 92] b .L111 .L112: ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 112] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [x0] str s0, [sp, 116] ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 88] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x1, x1, x0 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w2, w2, w0 ldr w0, [sp, 112] add w0, w2, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 48] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 88] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [sp, 116] str s0, [x0] ldr w0, [sp, 92] add w0, w0, 1 str w0, [sp, 92] .L111: ldr w0, [sp, 84] ldr w1, [sp, 92] cmp w1, w0 ble .L112 b .L110 .L109: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] neg w0, w0 str w0, [sp, 112] ldr w0, [sp, 88] cmp w0, 1 ble .L113 ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 84] mov w0, 1 str w0, [sp, 92] b .L114 .L115: ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 112] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [x0] str s0, [sp, 116] ldr w0, [sp, 88] add w1, w0, 1 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w0, w2, w0 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x1, x1, x0 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w2, w2, w0 ldr w0, [sp, 112] add w0, w2, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 48] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldr w0, [sp, 88] add w1, w0, 1 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w0, w2, w0 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [sp, 116] str s0, [x0] ldr w0, [sp, 92] add w0, w0, 1 str w0, [sp, 92] .L114: ldr w0, [sp, 84] ldr w1, [sp, 92] cmp w1, w0 ble .L115 .L113: ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 88] .L110: ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 88] .L108: ldr x0, [sp, 56] ldr w0, [x0] ldr w1, [sp, 88] cmp w1, w0 ble .L116 b .L91 .L103: ldr x0, [sp, 56] ldr w0, [x0] str w0, [sp, 88] b .L117 .L124: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] cmp w0, 0 ble .L118 ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] str w0, [sp, 112] ldr w0, [sp, 88] cmp w0, 1 ble .L119 ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 84] mov w0, 1 str w0, [sp, 92] b .L120 .L121: ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 88] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [x0] str s0, [sp, 116] ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 112] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x1, x1, x0 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w2, w2, w0 ldr w0, [sp, 88] add w0, w2, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 48] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 112] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [sp, 116] str s0, [x0] ldr w0, [sp, 92] add w0, w0, 1 str w0, [sp, 92] .L120: ldr w0, [sp, 84] ldr w1, [sp, 92] cmp w1, w0 ble .L121 b .L119 .L118: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] neg w0, w0 str w0, [sp, 112] ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 88] ldr w0, [sp, 88] cmp w0, 1 ble .L119 ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 84] mov w0, 1 str w0, [sp, 92] b .L122 .L123: ldr w0, [sp, 88] add w1, w0, 1 ldr w2, [sp, 92] ldr w0, [sp, 96] mul w0, w2, w0 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [x0] str s0, [sp, 116] ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 112] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x1, x1, x0 ldr w0, [sp, 88] add w2, w0, 1 ldr w3, [sp, 92] ldr w0, [sp, 96] mul w0, w3, w0 add w0, w2, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 48] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldr w1, [sp, 92] ldr w0, [sp, 96] mul w1, w1, w0 ldr w0, [sp, 112] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 48] add x0, x1, x0 ldr s0, [sp, 116] str s0, [x0] ldr w0, [sp, 92] add w0, w0, 1 str w0, [sp, 92] .L122: ldr w0, [sp, 84] ldr w1, [sp, 92] cmp w1, w0 ble .L123 .L119: ldr w0, [sp, 88] sub w0, w0, #1 str w0, [sp, 88] .L117: ldr w0, [sp, 88] cmp w0, 0 bgt .L124 mov w0, 1 str w0, [sp, 88] b .L125 .L127: ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 32] add x0, x1, x0 ldr w0, [x0] cmp w0, 0 bge .L126 ldrsw x0, [sp, 88] lsl x0, x0, 2 ldr x1, [sp, 24] add x1, x1, x0 ldr w0, [sp, 88] add w2, w0, 1 ldr w3, [sp, 88] ldr w0, [sp, 96] mul w0, w3, w0 add w0, w2, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 48] add x0, x2, x0 ldr s0, [x1] str s0, [x0] ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 88] .L126: ldr w0, [sp, 88] add w0, w0, 1 str w0, [sp, 88] .L125: ldr x0, [sp, 56] ldr w0, [x0] ldr w1, [sp, 88] cmp w1, w0 blt .L127 .L91: mov w0, 0 .L128: 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 .L129 bl __stack_chk_fail .L129: mov w0, w1 ldp x29, x30, [sp], 128 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE21: .size ssyconv_, .-ssyconv_ ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global reach_error .type reach_error, %function reach_error: .LFB0: .cfi_startproc nop ret .cfi_endproc .LFE0: .size reach_error, .-reach_error .align 2 .global __VERIFIER_assert .type __VERIFIER_assert, %function __VERIFIER_assert: .LFB1: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str w0, [sp, 28] ldr w0, [sp, 28] cmp w0, 0 bne .L6 nop .L4: bl reach_error bl abort .L6: nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size __VERIFIER_assert, .-__VERIFIER_assert .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] bl __VERIFIER_nondet_ushort strh w0, [sp, 26] b .L8 .L9: ldr w0, [sp, 28] add w0, w0, 2 str w0, [sp, 28] .L8: ldrh w0, [sp, 26] ldr w1, [sp, 28] cmp w1, w0 bcc .L9 ldr w0, [sp, 28] and w0, w0, 1 bl __VERIFIER_assert 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 .align 2 .global foo .type foo, %function foo: .LFB0: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 mov w0, 1 str w0, [sp, 8] ldr w0, [sp, 8] orr w0, w0, 2 str w0, [sp, 12] ldr w0, [sp, 12] add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size foo, .-foo ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global xmalloc .type xmalloc, %function xmalloc: .LFB0: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] bl malloc str x0, [sp, 40] ldr x0, [sp, 40] cmp x0, 0 beq .L2 ldr x0, [sp, 40] b .L4 .L2: bl abort .L4: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size xmalloc, .-xmalloc ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "program.c" .align 3 .LC1: .string "argc >= 2 && \"At least one parameter is required\"" .align 3 .LC2: .string "execvp" .align 3 .LC3: .string "fork" .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, 44] str x1, [sp, 32] str x2, [sp, 24] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 56] mov x1, 0 ldr w0, [sp, 44] cmp w0, 1 bgt .L2 adrp x0, __PRETTY_FUNCTION__.0 add x3, x0, :lo12:__PRETTY_FUNCTION__.0 mov w2, 9 adrp x0, .LC0 add x1, x0, :lo12:.LC0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl __assert_fail .L2: bl fork str w0, [sp, 52] ldr w0, [sp, 52] cmp w0, 0 bne .L3 ldr x0, [sp, 32] add x0, x0, 8 ldr x3, [x0] ldr x0, [sp, 32] add x0, x0, 8 ldr x2, [sp, 24] mov x1, x0 mov x0, x3 bl execvpe adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl perror mov w0, 1 bl exit .L3: ldr w0, [sp, 52] cmp w0, 0 bge .L4 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl perror mov w0, 1 bl exit .L4: add x0, sp, 48 mov w2, 0 mov x1, x0 ldr w0, [sp, 52] bl waitpid ldr w0, [sp, 48] 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 .LFE6: .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 .global LR388K5_fFFF1102A_p1028_150601_ext_h_bin .section .rodata .align 3 .type LR388K5_fFFF1102A_p1028_150601_ext_h_bin, %object .size LR388K5_fFFF1102A_p1028_150601_ext_h_bin, 45056 LR388K5_fFFF1102A_p1028_150601_ext_h_bin: .string "L" .string "\377\363\257\f" .string "" .string "\352\006" .string "" .string "\352\005" .string "" .string "\352\004" .string "" .string "\352\003" .string "" .string "\352" .string "" .string "\240\341\002" .string "" .string "\352" .string "" .string "" .string "\3528" .string "" .string "" .string "\376\377\377\352\004\340N\342\017P-\351\036\026" .string "\353\017\220\375\350\322" .string "\240\343" .string "\360!\341\034\320\237\345\323" .string "\240\343" .string "\360!\341\024\320\237\345\031\026" .string "\353\020\320\237\345\004" .string "" .string "\352\020\377/\341\020\200\275\350H\255" .string "" .string "\200\367" .string "" .string "\310\254" .string "" .string "\241\300\217\342\034\377/\341\177H\200IHapG\020\265\t\032\005\360\336\372\020\274\b\274\030G\020\264{L\240\202!\203R\036\342\202\030\001\002" .string " !\bC\001" .string "\340t\020" .string "!\"\020C\340t\341t |\001\006\374\324" .string "(\002\320" .string " \020\274pG\001 \373\347\377\265\006" .string "\f" .string "\025" .string "\201\260\006\320kO ?8} !\bC8u\017\340\001 \005\260\360\274\b\274\030G\004\233\001\"!" .string "0" .string "\377\367\315\377" .string "(\004\320v\034d\034m\036\240\007\362\321\004\233*" .string "!" .string "0" .string "\377\367\300\3779}\337\"\021@9u\343\347\005\360\334\373YIZH\377\367\256\377YIZH" .string "#\n\032YI@\035\377\367\310\377XIYH" .string "#\n\032XI@\035\377\367\300\377WIXH" .string "#\n\032WI@\035\377\367\270\377VIWH\377\367\222\377\006\360\264\377\003 \004\360T\376ENSL\335%@6" .string "\360\352\373" .string "\360W\370" .string "\360\352\372" .string "(\367\321\005\360\251\373" .string "\360&\373" .string "(\004\321 h\200y" .string "(" .string "\3205r\005\360\252\373\351\347\370\265\001\"\005!\r \022\003I\003" .string "\003\005\360\030\372CLDIL\" " .string "\005\360\246\371@MAN45)i\350h\0306B\032=H\361jL0@\032<I\247\032L1\t\0328" .string "\005\360\224\371/a\353h8H\342\0326I\200\032\211\032\305\032\005\360\212\371" .string " !h@\034I\031\002\304\021(\371\323/I\360jL1\b\032-I\001\"\3501\t\032\3779\37795 \0029R\002\200\002\005\360s\371\370\274\b\274\030Gp\265(H" .string "x" .string "(!\320\004(\037\320\n(\035\320\f(\033\320$H" .string "x\004(\027\320\n(\025\320\f(\023\320" .string "(\021\320\032H" .string "h\200y\001(\f\321\035L\036M x)x\210B\006\320}!\034H\311" .string "" .string "\360'\372(x pp\274\b\274\030G\377\377\377" .string "" .string "\021\004" .string " \034\004" .string "\325o" .string "" .string "\220Y" .string "" .string "\220^" .string "" .string "\330\\" .string "" .string "\310p" .string "" .string "T\237" .string "" .string "p\221" .string "" .string "" .string "\300" .string "" .string "X\237" .string "" .string "T\237" .string "" .string "\344\315" .string "" .string "\370\315" .string "" .string "\350\315" .string "" .string "\314[" .string "" .string "\f\257" .string "" .string "\250\337" .string "" .string "\377\377" .string "" .string "\221g" .string "" .string "\204Y" .string "" .string "\220Y" .string "" .string "\226Y" .string "" .string "k\301" .string "" .string "\370\265\317N\317H5x" .string "'\207p\006 " .string "\360\021\372\315H\315J\001x\004)\n\321\022 \020^\024#\323^\026$\024_\203B\002\332@B\204B\020\334\307H\307L" .string "x\001(\002\320" .string "(\004\320\006\340 x\001(#\320\002\340 x\001(\004\320\301H\220\200\370\274\b\274\030G\004)\026\320\007)\024\3200x" .string "(&\320\002).\320\t),\320\272H\b)\f\320\t)\n\320\n)\b\320\f)\006\320\r)\004\320\003\360S\377\001\340\264H\220\200\005 " .string "\360\317\371" .string "(\334\320\262H\f!" .string "\360s\371\261H" .string "\"\001h\001 " .string "\360\215\372\257H'p\005p\316\347\002)\004\320\t)\002\320\247H" .string "\035\326\347\245H\b8\323\347\244H\f8\320\347\360\264\247M(|\233I\211\035\bph|Hp\250|\210p\350|\310p\241H 8\002~\nqB~\237N\3406Jq\362{\212q*}\312qj}\nr\252}Jr\352}\212r*~Juj~\212u\252~\312u\352~\nv*\177\312rj\177\ns\252\177Js\352\177\212s\220J 2\023x\313sSx\013t\223xKt\322x\212t\362z\312tr{\nu\211\037\nx" .string "*\001\321\001\"\np" .string "!I\034F)\374\323\205I)a\377!\001v?!Av\002$\364s\341\036ia\251a\201K\032~Y}\200'\037v\fC\\uC}\020'Gu\021$DuGuCu" .string "#K'\377" .string "[\034\273B\374\323xK\353a+b" .string "#\363rssC}\020%EuDuEuCu" .string " @\034\270B\374\323oH\002vAu\360\274pG_H\020\264" .string "xiJ :\001(8\321\\HfI\200\035\003x\013tCxKt\203x\213t\303x\313t\003y\023vCySv\204y_K\3403\334s\304y\fu\004zLuDz\214u\204z\314uD}\fv\204}Lv\304}\214v\004~\314v\304z\fw\004{LwD{\214w\204{\314w\304{QI 1\fp\004|LpD|\214p\204|\314p\301|\331r" .string "}XsP}\020!Qu\021#SuQuPu\020\274pG\370\265IHD|@}\204C\340\007\002\320" .string " " .string "\360\342\371\240\007\005\325\f " .string "\360\340\370\001 " .string "\360\332\371`\007\002\325\002 " .string "\360\325\3710O/M`\006\001&" .string "(\026\332(y@\034(q\256p9x\004)\017\3209H" .string "x\004(\013\320" .string ")\t\320" .string "(\007\320\b(\005\320\n)\003\320\n(\001\320\377\367\203\377\240\006\002\325\r " .string "\360\266\370 \007\022\3259x\004)\017\320,H" .string "x\004(\013\320" .string ")\t\320" .string "(\007\320\b(\005\320\n)\003\320\n(\001\320\377\367\357\376#O|t\274|\270}\204C\240\007\004\325hy@\034hq\377\367{\376\240\006\001\325\013\360'\375\274t<|\340\007\003\320" .string " \350p\rH\006p\340\006\001\325\357 \004@\240\006\006\325\002 np" .string "\360\177\370" .string "(" .string "\321hp<t\211\346\320d" .string "" .string "\221Y" .string "" .string "\221g" .string "" .string "`\022\004" .string "\200Y" .string "" .string "\017c" .string "" .string "\200\367" .string "" .string "<\257" .string "" .string "`\266" .string "" .string "\215>" .string "" .string "\210Y" .string "" .string "\016c" .string "" .string "@\035\004" .string "\377\377\377\017" .string "\034\004" .string "\377\377\377\037" .string "\021\004" .string "\204Y" .string "" .string "p\265\215M\004" .string "(h\016" .string "" .string "hih\210B\037\320\005\360-\371\003" .string "hh\350`(h\t\340\021y\261B\004\321\221h\241B\016\320" .string ")\t\320\021h\351`\352h\202B\362\321\204`\006q" .string "h(`\002\340" .string " \224`\020q" .string "+\001\321\005\360\033\371p\274\b\274\030G\370\265\004" .string "\r" .string "\005\360\007\371uI\006" .string "HhtO\310`\013h\007\340\220h\240B\002\321\020y\001(\r\320\020h\310`\002" .string "\230B\364\321\001 \234`\030q8h(\030\330`\030h\b`\002\3408h(\030\320`" .string ".\001\321\005\360\361\370\370\274\b\274\030G\370\265\005" .string "" .string "$\005\360\335\370`K\006" .string "Xh" .string "'\330`\032h\t\340\by\250B\004\321\210h" .string "(\001\320\001$\017q\bh\330`\001" .string "\220B\362\321" .string ".\001\321\005\360\321\370 " .string "\335\347\370\265" .string "'\005\360\277\370QLQMbh\"a\342`+h&h\020" .string "!\340\001y" .string ")\004\320\001)\031\321\301h\231B\026\330\220B\006\320\001h#i\031`\241h\b`\002`\001\340\021ha`\240``a\005\360\253\370`i\200h\005\360\231\370\005\360\231\370\001'\004\340 a" .string "h\340`\260B\333\321\003\314\201B\002\321" .string " (`\006\340(h\001!\t\004\210B\001\331" .ascii "\360L\370\005" .string "\360\217\3708" .string "\233\347p\265" .string "$\005\360}\3700M\006" .string "hh\350`/H+h" .string "h\351h\013\340\ny" .string "*\004\320\001*\004\321\312h\202B\001\330\001$\003\340\th\351`\231B\361\321" .string ".\001\321\005\360n\370 " .string "P\347p\265\004" .string "\005\360\\\370\037JPh\020a\320`\026h\023\340\210h\240B\026\321Ph\201B\b\320\rh\023i\035`\225h)`\221`\b`\030h\003\340\bh\023\035\003\303\020a\320`\001" .string "\260B\350\321\005\360I\370,\347\021a\bh\365\347p\265\005\3606\370\fL\rN`h" .string "%\340`2h#h\013\340\001y\001)\006\321\301h\221B\002\331\211\032\301`" .string "\340\305`" .string "h\340`\230B\361\3215`\005\360)\370\f\347\260Y" .string "" .string "\310[" .string "" .string "\020\264" .string "#\034" .string "" .string "(\004\320\001(\005\320\002(\013\321\006\340(K\034\035\007\340'K[\034\334\035\003\340%K$L\233\034\f4\030x\300\007\001\320" .string " \030p!`P" .string "@\034\030p\020\274\001 pG" .string "!" .string "(\004\320\001(\004\320\002(\007\321\004\340\031I\004\340\030II\034\001\340\026I\211\034" .string " \bppG\025K" .string "!\032h" .string "(\004\320\001(\005\320\002(\016\321\005\340\017I\222\034\t\340\rII\034\007\340\016H\013I" .string "x\211\034\004(\001\321\0362\032`\bx\200\007\001\324" .string " \bppG\bH" .string "h\200y" .string "(\003\320\002I\006H 1H\200pG" .string "" .string " \021\004" .string "\310[" .string "" .string "\221g" .string "" .string "\314[" .string "" .string "\245\245" .string "" .string "0\264" .string "#\021\340\030$DCd\030\345{\b-\t\320e{\225B\003\320\024+\003\335" .string " \300C0\274pG[\034\022 VD\034\353\321\367\3470\264" .string "#\017\340\304" .string "d\030ey\b-\b\320%y\225B\354\320\024+\002\335" .string " \300C\347\347[\034\006 VD\034\355\321\341\3470\264" .string "#\f\340\304" .string "d\030%y\225B\331\320\024+\002\335" .string " \300C\324\347[\034\006 VD\034\360\321\316\347\200\032\002" .string "BC\310\032\001" .string "ACP\030pG\370\265\204F\370H\370J" .string "h\022x\3400A\211\b\005" .string "\r\b*\002\321\t\013\211\001\b\030\001" .string "AC" .string "\221\362I\001 \bV1\340\030!HC\360IE\030\350{\b((\320h|\300\007%\320\250{\300\007\"\321F\036\351H" .string "$\004W\033\340 " .string "\030!HC\343I\347K\th\307\030\3401:{Ix\212B\r\323\031" .string "\nZ{\210\351\210\250\210\377\367\275\377" .string "\231\210B\003\322p\034`F\013\320\006U\022$<W`\034\341\321\022 (VA\034\313\321\370\274\b\274\030G\006W\362\3470\264" .string "#\324L\002" .string "\007\340\212B\b\320\023" .string "\030%jC\025\031\022\"\252VU\034\365\321g\347" .string "-\374\320\202B\006\321\030 BC\020\031\200|\307I\bp\\\347\030 AC\b\031\030!KC\200|\031\031\210tS\347\360\265\004" .string "\276H\277J" .string "h\022x\3400\001\211\205\260\b\005" .string "\r\b*\002\321\t\013\211\001\b\030\001" .string "AC\270H" .string "'" .string "\221\307WB\3408" .string "\030!HC\266I\001\220F\030p|" .string "\006\002\325" .string " pt4\340\260{\300\0071\321\022%uW,\340(" .string "\030!HC\255IB\030\224F\222{\322\007 \321aFK\210\251I\nZp\210\206F\001\230\bZqF\377\367H\377" .string "\231\210B\022\322aF0{\t{\210B" .string "\331\b" .string "\234I\th\3401Ix\210B\006\323`W\341W\210B" .string "\335\b" .string "\340U`U\022%`FEWh\034\320\321\022'\367Wx\034\272\321\223H" .string "!AV\214Fa\340\001 " .string "\220\030 aFAC\220H\002\221\r\030\251\210\003\221\351\210\001\221){O\006\251h\177\016\016\0046\f\022!iV)\340\030 \n" .string "BC\207H\022\030\022 \020V\004\220`FcV V\203B\033\321\220\210\003\233\300\030\003\220\320\210\001\233\300\030\001\220\020{@\006@\016\300\031\007\004\220h?\f\260B" .string "\331\006" .string "wJ6\004" .string " \020V6\f\377\367@\377" .string "\230@\034" .string "\220\004\231H\034\323\321" .string "\230\001(\032\335\001" .string "\003\230\004\360'\376oJ\002\231PR" .string "\231\001\230\004\360 \376h\200kJ\002\231\177/QZ\251\200\350\200" .string "\331\177'/s\256`h|\001!\bChtiu\022 (V\204F`F@\034\232\321\005\260\360\274\b\274\030G\377\265" .string "%\206F)\340" .string "!l" .string "\031S\002\230[J@\031\300\001\202\030\224FZJ\207\030\n" .string "\024\340V" .string "`F\200_A\030WH\201B\004\334@B\201B\001\333\b\004" .string "\024\366\031p\200\036_\206B" .string "\335\030SR\034\022\004\022\024rE\350\333\030[@Bm\034-\004-\024\030S\001\230\205B\322\333\377\274\b\274\030G\360\265U}?K\211\260\006\225\033h\034" .string "\2004\2403" .string "-\030\320e\210\002\225\345\210\004\225e\212\003\225\345\212\b\225e\211" .string "\225\345\211\005\225e\213\001\225\345\213\007\225\225\210\002\236\265B\254F(\330\006\235" .string "-\020\320\034\340]\210\002\225\335\210\004\225]\212\003\225\335\212\b\225]\211" .string "\225\335\211\005\225]\213\001\225\335\213\345\347\237\210\274E\t\330]\210^\212\355\033uCfF\276\033\237\212~Cu\031\004\340\002\235fF\255\033\003\236\035\340-\002-\f\034\340\004\235E\033\254E%\333\006\235" .string "-\016\321\035\211F\033\264E\n\333\336\210\337\212v\033~CgF?\032}\031\037\213}C\255\031\346\347eF.\032\004\235u\031\b\236uC\337\347\rN\003\2256h\325\210" .string "\237\3006\275B\b\226(\330\006\236" .string ".\002\320\036\340" .string "%\360\347\236\211\265B\007\226\030\330_\211\276\033_\213~C\007\237\266F\236\213\177\033,\340\314[" .string "" .string "\221g" .string "" .string "lY" .string "" .string "\320]" .string "" .string "\360[" .string "" .string "\020\004\001" .string "\020\004\003" .string "\377\177" .string "" .string "~\033\001\237!\3406\0026\f \340\005\236\216\033\265B%\333\006\236" .string ".\023\321\036\212\001\226\216\033\265B\016\333\337\211\001\236\276\033\337\213~C\001\237\266Fn\032\367\031\b\2366\210wCvF\276\031\341\347\005\236o\032\276\031\007\237~C\333\347\001\226\002\236\264E\t\330\003\237\276B\003\322" .string "&\002\340" .string "&\364\347\366\033\226\200\f\340\004\236\206\033\264E\b\333\003\237\366\0316\0046\f\206B\226\200\001\323F\036\360\347" .string "\236\265B\b\3305" .string "\001\236\265B\001\322" .string "%" .string "\340\255\033\325\200\f\340\005\236\216\033\265B\b\333\001\235u\031-\004-\f\215B\325\200\001\323M\036\360\347\006\235" .string "-\025\320\245\210\002\225%\211\004\225\246\211\245\212'\213" .string "\226&\212\005\226\244\213\001\224\034\210\007\224\224\210\002\236\264B$\330\006\236" .string ".\017\320\032\340\234\210\002\224\034\211\004\224\234\211\235\212\037\213" .string "\224\034\212\005\224\234\213\001\224\b\234$\210\347\347\236\210\264B\b\330]\210_\212\255\033}C\237\2126\033~Cu\031\036\340\002\2366\033nC5\002-\f\032\340\004\235E\033\254B\037\333\006\235" .string "-\r\321\035\211F\033\264B\t\333\336\210\337\212v\033~C'\032}\031\037\213}C\255\031\003\340\004\235&\032u\031}C-\002\342\347\254F\325\210" .string "\236\265B\027\330\006\236" .string ".\002\320\017\340" .string "%\364\347\236\211\265B\003\226\t\330_\211\276\033_\213\233\213~C\003\237\177\033_C\273\031!\340" .string "\233\001\236[\033\034\340\005\236\216\033\265B\034\333\006\236" .string ".\021\321\036\212\001\226\216\033\265B\f\333\337\211\001\236\333\213\277\033n\032_C\001\233\363\030\b\2366\210sC\333\031\004\340\005\233n\032\363\030\007\236sC\033\002\033\f" .string "\340" .string "#\002\236\264B\007\330fEdF\001\322" .string " " .string "\3400\033\220\200\f\340\004\236\206\033\264B\b\333dF4\031$\004$\f\204B\224\200\001\323@\036\360\347" .string "\230\205B\007\330\230B\001\322" .string " " .string "\340\300\032\320\200\t\260$\346\005\230\b\032\205B\371\333\300\030" .string "\004" .string "\f\210B\320\200\363\323I\036\321\200\360\347\377\265" .string " \237\260\027\220\030\220\024\220\001 \031\220" .string " \032\220\033\220!\230" .string "(\001\320 \230" .string "\340\037\230!\231" .string "\n@\036" .string "\004" .string "\f" .string ")\001\320\037\231" .string "\340 \231\n\n!\231" .string ")\"\231Y\320\311\210\3779\0019\t\022\022\221!\231" .string ")\"\231R\320\211\210\3779\0019\t\022\023\221(\231" .string ")\017\320\022\231\003)~\333\013" .string "\037\231\311\036\213By\334\023\231\003)v\333\013" .string " \231\311\036\213Bq\334\022\231\311\036\r\004-\024" .string "\325" .string "%\022\231\311\034\t\004\t\024\201B\025\221\002\335\001\004\t\024\025\221\023\231\311\036\016\0046\024" .string "\325" .string "&\023\231R\036\311\034\t\004\t\024\221B\021\221\002\335\021\004\t\024\021\221\371I\th\3401\tx\211\006\025\324\021\2312\004\211\033I\034\t\004\022\f\t\f\r\253\377\367\251\375\"\230\200hA" .string "@\030\n!\004\360\250\373\004\340\211\210\244\347\311\210\253\347" .string " \034\220" .string " " .string "\"iF\nT@\034" .string "\004" .string "\024\007(\367\3331" .string "X\340\261B\001\321" .string " \003\340\210\033@\036" .string "\006" .string "\016\035\220\210\033\340J" .string "\006" .string "\016\313\001\232\030," .string "\026\222@\340" .string ",\032\320\026\233b" .string "\233Z\224FG" .string "\r\252\322[\026\237\233\030bF\273R\026\232c" .string "\323^\034\232\223B\026\335\324J\022x" .string "\340\322\340" .string "*2\320" .string ",\007\320b\036\006\340C" .string "\r\252\323Z\026\232\023\200\351\347" .string "\"\314K\222" .string "\232X\312@\322\007!\320\303" .string "\037\032kF" .string "\"\373\030g\033\332U\022\232\224B\t\321\023\232\221B\006\321\302" .string "\023\032jF\232\030c\033\322\\\036\222d\034$\004$\024\025\232\224B\273\335I\034\t\004\t\024\021\230\201B\243\3351" .string "m\340\035\232g\033\323" .string "\233\032jF\233\030\333]\276F" .string "+\025\320\307" .string "?\032\272\030wF\323Uc\036\b\340[\033\327\\" .string "/\002\320wF\327]\327TcF[\036\033\004\033\024\253B\234F\361\332\304\347" .string ",\n\335\303" .string "\033\032\233\030\337\031 ?\377\177" .string "/\002\320rF\237T\267\347\307" .string "?\032\031\233\272\030wF\323U\031\232R\034\022\006\022\016\031\222\253\347\232H\312\001\020\030\206F(" .string "(\340C" .string "\214\033rF\322^\343" .string "\244F\034\033kF\344\030C\033\347\\\036\234\247B\027\321\004" .string "TC\027\237\344\031\027\224\f" .string "TC\030\237\344\031\030\224\024\234\242\030\001$\024\222\"" .string "\232@\032\233\032C\032\222bF\224@\033\232\024C\033\224@\034" .string "\004" .string "\024\025\232\220B\323\335I\034\t\004\t\024\021\230\201B\307\335(\230" .string "(+\320" .string "!\n" .string "(" .string "\001#\t\340G\033\034" .string "\274@\032\237<B" .string "\320I\034@\034" .string "\004" .string "\024\025\234\240B\362\3350" .string "\t\340\205\033\034" .string "\254@\033\235,B" .string "\320R\034@\034" .string "\004" .string "\024\021\234\240B\362\335\005)\001\332\005*\004\333\"\230\"\231@|\030CHt#\260\216\344\024\230" .string "(\372\320\027\230\024\231" .string "\002\004\360\220\372\004" .string "\030\230\024\231" .string "\002\004\360\212\372!\231" .string ") \320\001\004\t\f\"\232\221\200!\232" .string "*\034\320 \004" .string "\f\"\232\3771\2011\221\200\"\231\3770\2010\310\200 \230\"\232\3770\3770\0020\001\004\037\230\t\f\3770\3770\0020" .string "\004" .string "\f\377\367\225\374\313\347!\004\t\f\335\347" .string "\004" .string "\f\341\347\377\265\001!\216FHI\205\260\rh\204F\3775A5l\210\016\230" .string ",~\320\3778\3778\0028" .string "\004\377;" .string "\f\377;\016\220\002;\037\004cFZ\210aF\006\233\224F\007\232.\210\022\210\t\210\033\210" .string "\222bF\377:\001:\224F" .string "\232?\f\270\033" .string "\004\3779\377;\377:" .string "\024\0019\001;\001:\216B\005\333\236B\003\333\226B\001\333\001&\007\340\201BU\333\203BS\333\202BQ\333" .string "&\366C`F" .string "\022\204F\016\230" .string "\n\001.\002\220\f\3209\n\211\036" .string "\221`F\307\001\003\227/y" .string "#\032" .string "\001\227\177\034\004\227\023\340" .string "!" .string "\221\362\347\003\237H" .string "8\030A'\277\002\300\031\020'\307_" .string "/" .string "\332\177B\247B" .string "\333[\034\004\237\211\031R\034\227B\354\334my" .string "\230" .string "&iBG" .string "\023\340`FB\030\017\324\002\230\202B\f\332\322\001\320\031A\"\222\002\200\030\020\"\202^" .string "*" .string "\332RB\242B" .string "\333v\034I\034\215B\351\332\001\230\230B\005\333" .string "\340\003\340\265B\001\334" .string " \206FpF\234\345" .string "" .string "\314[" .string "" .string "\020\004\003" .string "\370b" .string "" .string "\220d" .string "" .string "\377\265\204F\376H\006h\3406\263\211\330\007l\320X\005\003\325`F@}\001(R\320`FeF\004\210m\210O\210\b\210\351\033\025\210$\032E\033P\210:\032\363H\237\007" .string "h\206F\b\325" .string ",\002\333" .string "-\004\333\026\340" .string "-\024\333" .string ",\022\332_\007\005\325g\033" .string "\325/\033\360\211\207B\b\335\037\007\"\325\217\032" .string "\325W\0320\212@\b\207B\033\334\237\007\b\325" .string ")\002\333" .string "*\004\333$\340" .string "*\"\333" .string ") \332_\007\005\325\217\032" .string "\325W\0320\212\207B\030\335\030\007\006\325`\033" .string "\325(\033\361\211I\b\210B\017\335\003\230" .string "(\007\321bFS{\001\"\323H\232@qF\021C\001`" .string " \004\260\360\274\b\274\030G`FD{\001 \314J\240@qF\201C\021`\331\006\005\325\221h\001B\002\320\003\230" .string "(\353\320\001 \351\347\376\265\030 AC\304H\303L\r\030\030!QCh{\f4\b\236\f\031\227" .string "`s\363Q(|A\006I\016\177)" .string "\322@\034 ta|" .string ")\004\321(}\377(" .string "\322@\034 u }\024(\002\331" .string " `t\002\340h|\001Cat\264K\002 j{\262I\030V\377\367\223\371\n\251\006\311kF\006\303\030!HC\255I\363YB\030!" .string "(" .string "\001\360\003\370\376\274\b\274\030G\361\265\250L\003! i\202\260\004\360\b\371\204F\001 V\213\340\030!HC\240I\242KE\030j{\241I\020\001F\030\002\230\321" .string "\f\030\002 \234I\030V\377\367g\371qh\262h\t\022\022\022C\034X\320\030'xC\226O\253\210\307\031\270\210\030\032\206F\350\210\373\210wF\300\032sF{C\007" .string "GC\330\031\013" .string "\027" .string "KCWC\333\031\215O\277\211?\002\237B\r\330\212O{\211\033\002\203B\b\3318i\001" .string "ACa`\270y" .string "!\n" .string "\360s)\340\363{" .string "+\t\320\202H[\036\363s" .string "i\001" .string "ACa`" .string "!\n" .string "\034\340gFcF{C{O\236F\377y{C\233\t\203B" .string "\227\n\322wKgF\033i\001\223{C" .string "\237\236F{C\233\t\203B\002\331pF``\003\340\001\230\003" .ascii "CCc`0{\003(\250\210\004\323\351\210\005\340`FcF\364\347@\030" .ascii "\351\210\211" .string "\030" .string "(\001\332" .string " \004\340\001\"\022\004\220B" .string "\333P\036" .string ")\001\332" .string "!\004\340\001\"\022\004\221B" .string "\333Q\036 \200\022 a\200(VA\034" .string "\320p\347a\347\377\265[H\001&\206W\205\260\272\340\b\230\003(\017\320\030 1" .string "ACSH\b\030\300{\b(~\320\005(|\320" .string "%QH\355C" .string "'\304WH\340\030 pCLI@\030\300{\005(o\321\361\347\b\230\003(\007\321\030 `CEI\f1@\030@{\377(.\321\030 1" .string "ACBH\b\030" .string "\220@{\020\231\300" .string "A\030K\210\020\231\nZ\030 !" .string "AC:H\f0\b\030\301\210\204F\200\210\377\367\345\370i\034\001\320\270B\022\322" .string "\231I{\312" .string "\020\231Q\030Ih\201B\n\323aFI{\377)\004\320\006\231\242" .string "\211X\201B\001\331%" .string "\007" .string "\030 DC*H\f0 \030\022$\004W`\034\274\321h\034G\320\030 1" .string "AC%H\f\030`}\001(\002\320" .string "(\t\320!\340\030 hC\037I\f1@\030@}" .string "(\b\320\030\340\030 hC\032I\f1@\030@}\001(\020\321\032K\002 b{\030I\030V\377\367_\370\030!HC\025I@\030@}a}" .string "\340\034\340\210B\032\320\030 )" .string "AC\rH\f0\b\030@{\377(\004\320\006\230\251" .string "@X\270B\f\331\016\252\005\250\f\312\003\310\001\254\r\304" .string "\221\007\230;" .string "*" .string "1" .string "\377\367y\376\030 \013\340\314[" .string "" .string "\344[" .string "" .string "\320]" .string "" .string "\260_" .string "" .string "lY" .string "" .string "\fe" .string "" .string "FC\376H0\030\022&\206Wp\034" .string "\320A\347\340\345\373I" .string " \bVB\034\031\320\030\"PC\370J\200\030\022\"\202VR\034\020\321\302{\005*\r\321\365K\202h\033h\233\215\232B\007\331\003\210\360J :S\201@\210\220\201" .string " \brpG\bz@\034\372\347\360\265\351N" .string " 0V\351O" .string "%A\034 ?" .string ")-\320\030!AC\345J\214\030\022!aVI\034\035\320i\036\023\340\030\"\003" .string "SC\337J\232\030\324{#" .string "\003\360\254\377\t\006\006\t\t\t\006\006\t\006\t" .string "I\034\022\321\001" .string "\022 \020VB\034\351\321H\034\013\320\030 AC\324H\f\030\323H\341{ 8\203\211B\211\006)\002\320]\340}p\360\345\317I\240h\th\211\215\210BU\331`{\314I" .string "\001@\030\204F\341\210\240\210\376\367\371\377\001!\211\003\210BS\330\001 xp\240\210\006\"\006#A" .string "x\211PC\b\030A\003\001 \300\003\t\030\r\f\341\210J" .string "\271\211YCQ\030I\003\b\030\007\f\001 b{\266I0V\376\367\230\377A\034\005\320\030!HC\262I@\030\205\200\307\200\002 b{\264I0V\376\367\212\377A\034\005\320\030!HC\260I@\030\205\200\307\200\003 b{\256I0V\376\367\224\377A\034\004\320\253I\300" .string "\rR@\030G\200\245\200\347\200 |\200!\bC t\002!`F\001s\224\345xx\001(\237\321\341\210\240\210\376\367\245\377\001!\211\003\210B\002\331X 0r\223\347\240\210\006\"\006%A" .string "x\211PC\342\210\b\030\001!S" .string "\272\211@\003\311\003jC@\030\232\030" .string "\fR\003Q\030\t\f\240\200\341\200o\345\030!HC\214I\b\"@\030" .string "!\302s\001t\211IC{\f9\001 \nh\230@\202C\n`pG\363\265\201\260\205O\001\232\030$8hbC\3400\001}\200K\324\030\377)\t\320\"|R\006R\016\212B\004\331\341{" .string ")9\320\001)7\320\200\211\200\0064\325\002\230\030!HCtIuNE\030\002 j{wI0V\376\367\017\377\030!HCtI\001#B\030)" .string " " .string "\377\367\316\374" .string "(\035\3218h\3400\201\211I\006\024\324\352{\005!\005*\b\320\341s\200\211" .string "\006 |\020\325\300\t\300\001@\034\021\340(|@\006@\016\001(\002\320\341s |\b\340\001\250\003\310\377\367\240\377^\345qy\300\t\300\001@\030@\036 tW\345\377\265ZH\006h\t \3406\263\211\300\002\003B~\320TL" .string " !V\002" .string "\216F\f\340\030$aCQL\t\031L}" .string ",\017\320@\034" .string "\006" .string "\016\022$\fW!" .string "L\034\360\321\031\005i\325" .string "\231" .string ")\006\320\001)\007\320\b\340R\034\022\006\022\016\356\347\002(]\323\001\340" .string "(Z\320" .string "*X\320sFR\340\030 XC?MA\031H}" .string "(I\321" .string "\232\001*\020\321\212\210\001\234\242B\003\323\002\234\242B" .string "\322\001 \312\210\003\234\242B\004\323\t\234\242B\001\322\002\"\020CrF+\340\223B#\320\003(+\320\030$\025" .string "eC.L,\031e}\001-\031\321\305\007\013\321\245\210\217\210\254F\355\033\001\325eF}\033\367\212\275B\001\332\001%(C\205\007\t\324\345\210\314\210/\033" .string "\325g\033\364\212\247B\001\332\002$ C\030$bC\035L\024\031\022\"\242VT\034\321\321\003(\003\321\210{\021\"\020C\210s\022#\313VX\034" .string "\340" .string "\340\250\321\377\274\b\274\030G\377\265\023H\207\260" .string "h\3400\200\211" .string "\004~\325\b\022\rK\023M" .string "!\b\220XVj^\004" .string "\001\222\013\340\030\"PC\tJ\001\235\200\030\202h\252B" .string "\335I\034\022\"\202V\020" .string "B\034\361\321\002)d\333\017\340\320]" .string "" .string "lY" .string "" .string "\360[" .string "" .string "\314[" .string "" .string "\fe" .string "" .string "\260_" .string "" .string "\220a" .string "" .string "\036c" .string "" .string "\376I\002\224\210^@B\004\220r\340" .string " \005" .string "\005\220 " .string "\030!HC\371I\nZ@\030\206F@\210\2002\022\n\2000\007\n\002*\001\332\001%\004\340\b\230\300\036\202B" .string "\335\002%" .string "!\016" .string "\001-" .string "\221\003\221P\333\001\233" .string " [\020\006\223\373\001\234F\001-gFO\320\023\032[" .string "\377\030A#\233\002\373\030\033\212[B\033\004\033\024\003\237\311\030\271B" .string "\332\003\221" .string "\237\271B" .string "\335" .string "\221" .string "+" .string "\332[B\006\237\273B?\332v\034\002.\007\333kF\210\313\273B\b\332\003\253\210\313\273B\004\335@\034\f(" .string "\340%\340\323\333" .string "!\017" .string "" .string "(" .string "\221\023\333\001-*\320\026\032v" .string "A#\233\002fD\366\030\020#\363^\311\030\271B" .string "\332\017" .string "" .string "\233\231B" .string "\335" .string "\221@\036\353\325\004\230\207B \333\005\230\001(\035\320\002\224\022$pF\004W`\034\212\321\013\260\330\345\023\030[" .string "\377\030A#\233\002\377\030\020#\373^\260\347" .string "&\310\347\026\030v" .string "A#\233\002fD\363\030\033\212[B\033\004\033\024\321\347\267H" .string "!AV\214B\b\321\022$qF\fW\004p" .string " \300C\002\224\210t\r\340pF\202|\002\230\030#XC\254I@\030" .string "!\311C\202trF\022$\221t\004W\007\230\007\231" .string "h@\036\b`\303\3470\265\004" .string "\211\260\245I\030\"hF\003\360\227\373\243I\006\252\b9\003\311\003\302" .string "!\006\250J" .string "\202^\242B\002\334I\034\003)\370\333\006 ACkF\310\030\004%E_\002\"\202^`\033YZBC\t\2600\274\020\022\b\274\b\030" .string "\004" .string "\024\030Gp\265\005" .string "" .string "$" .string ")/\320(\006\377&" .string "\016\0016" .string ")\r\335\200(\003\3330\032" .string "\004" .string "\024\001$\002)\001\321\377\367\302\377" .string ",\030\3200\032\024\340\200(\004\3320\032" .string "\004" .string "\024\200(\003\333\2008" .string "\004" .ascii "\024\001$\211\034\001" .string "\321\377\367\257\377" .string ",\001\320\2000\001\340\200!\b\032" .string "\004" .string "\024)\n\t\002\b\030" .string "\004" .string "\fp\274\b\274\030G\377\265" .string " \303\260\006" .string ".\251\003\220\202" .string "" .string "'@\034\024(\217P\371\333oL\340W\022\340\030!HClIE\030h}" .string "(\t\321(\210\002!\377\367\256\377(\200h\210\002!\377\367\251\377h\200\022 (VA\034\352\321aV\036\340\030 AC`J\210\030C}\001+\025\321QZ" .string ")\n\320C\232\222\036\221B\006\332A\210" .string ")\003\320D\232\222\036\221B\007\333ZI\202h\th\3001I\210\212B" .string "\322Gu\022!AVH\034\336\321D\252\f\312C\231\377:\3779\377:\3779\002:\0029F\250\004\222\005\221\377\367b\376" .string " V\032\340\030!HCGI\nZE\030\3772\2012\nRj\210\3772\2012j\200\bZ\250\200\352\200\350{\005(\006\320\b(\004\320C\250\003\310*" .string "\376\367Q\376\022 (VA\034\342\321\002 V\032\340\030!HC;IE\030\350{\b(\021\321\3771\003 j{ V\3411\376\367\260\374A\034\005\320\301" .string "5H\b\030\001y(1\001qh{(0hs\022 (VA\034\342\321\002 V/O\204F\034\340\001" .string "\030 AC*H\t\030\310{\013(\022\321\001 VJ{\007\340\030#CC\333\031]{\225B\004\320\022 \030VC\034\365\321\001\340@\034\001\321(2Js\022 \bVA\034\340\321\030M" .string " =(a\001 V\001!\r\340\030\"PC\031J\202\030P{((\004\322\013" .string "\203@(i\003C+a\022 \020VB\034\357\321`F\r\340\030!HC\016IA\030H{((\004\322\001\"\202@(i\002C*a\022 \bVA\034\357\321(\211" .string "\220\353\210\252\210\017\340\036c" .string "" .string "\360[" .string "" .string "lY" .string "" .string "$Y" .string "" .string "\314[" .string "" .string "\260_" .string "" .string "\220a" .string "" .string "\320]" .string "" .string "i\210(x\377\367.\375\376O8h\3400" .string "x@\007\002\325\374H\376\367L\374\372H\005!" .string "h\3400" .string "x\bB\006\320" .string " V@\034\021\320\365H\376\367\261\374" .string " VA\034\n\320\363I\001&" .string "\340v\034\030\"PCB\030\022 \020VB\034\367\321\006\250\377\367`\372C\250\003\310\006\257jF\203\302E\232" .string "#0" .string ".\251\377\367\360\372C\250\003\310jF\203\302E\232\003#0" .string ".\251\377\367\346\372" .string " \342IF\220\bV\006'T\340\030!HC\335ID\030`{\377(D\321E\230" .string "(\020\321\001.\016\321`|" .string "(\013\321\001 " .string "\220\004\230#" .string "\001\004\005\230\t\f" .string "\004" .string "\f" .string "\"\376\367\030\377)i" .string " \001#\032" .string "\202@\nB\026\320@\034((\370\333\377 \001\006\t\016\314J\013\001" .string " \232\030asP`\220`\020sPs\220s\320s`}" .string "(\013\320\001(\017\321\003\340\203@\013C+a\350\347\301H" .string "y\005\340\347s\005\340\273H" .string "h@0" .string "x\001(\367\331\377)\001\321\001 \003\220F\230@\034\024(F\220\001\331\001 \003\220\022 VA\034\250\321\264H\001!AV#\340\030 \n" .string "BC\262H\025\030\350{\b(\031\320\013(\027\320\255J" .string " \020V\252O\204F\b\340\030\"BC\322\031S{l{\243B\004\320\022 \020VB\034\364\321\023\340B\034\021\320\001.\001\320\377\367\026\374\022!iVH\034\331\321\234M(h\3400" .string "x\300\006o\325\234I" .string " \bV\214\340" .string "$\030 `C\300\031@{\377(\002\320d\034\024,\366\333\024,\r\321\001 " .string "$\003\220\030 `C\300\031\300{\013($\320d\034\024,\366\333\024,$\320\030 `C\307\031\030\")" .string "8" .string "\003\360Q\371\211K\031x\271t\034px{\001\001\207H\t\030\270\210Jh" .string "\002\2000\020\030\212h\371\210" .string "\022\t\002\2001Q\030\t\022" .string "(\t\332" .string " \r\340!" .string "`F\376\367\227\373\330\347\001 \003\220\257\347C\232R\036\220B\001\335\272\200" .string "\340\270\200" .string ")\001\332" .string " \003\340D\230@\036\201B\001\335\370\200" .string "\340\371\200\350{\005(\007\320\005 \370s8|\301\tXy\311\001\b\030\t\340(|A\006\n\320@\006@\016\001(\006\320\005 \370s8|@\0368t\205\347!\340\b \370s" .string " \370\347\030!HC_ID\030`|" .string "(\022\320\340{\005(\017\320\b(\r\320" .string " " .string "\220\004\230E\232\001\004\005\230\022\004" .string "\004\t\f" .string "\f#" .string "\022\024\376\367\035\376\022 VA\034\341\321" .string " C\036" .string "\223\001\223F\220k\340" .string " \300C:" .string "MN\021" .string "@\340D\0346\320\030$LC\244\031\244F\344{\b,\006\320" .string ",\013\320\001,\t\320\005,\007\320\016\340\030$DC\244\031\344{\b,\"\321\025\340\030%EC\255\031\355{\006-\033\320\013-\031\320\006,\005\321\030%EC\255\031\355{\013-\021\320\030%EC\255\031\355{\254B\r\321\030%EC\255\031dF$|-|d\006m\006d\016m\016\254B\001\331\b" .string "\023" .string "\n" .string "\030$aC\214\031\022!aVL\034\274\321+J\270B\005\321\030!AC\211\031\211|\021p\007\340\030!AC\211\031\212|\030!YC\211\031\212t" .string "\231I\034\"\320\001\231\030\"QC\211\031\210t\030\"BC" .string "!\311C\222\031\221t\001\220\002\230@\034F\220\026H" .string "hA|F\230\201B\002\220\004\331\026I" .string "'\317Wx\034\207\321\023L" .string "\230 p\377\367*\372" .string "%eWX\340" .string "\220\337\347\030 EC\fH,\030\341{\013)M\320\013O\001 b{\013I8V\376\367\030\372\006" .string "\002 b{\tI8V\376\367\021\372\030!2" .string "\r\340\314[" .string "" .string "0b" .string "" .string "\360[" .string "" .string "lY" .string "" .string "\fe" .string "" .string "\320]" .string "" .string "\260_" .string "" .string "JCYIQ\030\214F\030!\002" .string "JCWIW\030WI\th@1\311|" .string ")\032\320@\034\030\320v\034\026\320TK\003 b{QI\030V\376\367\376\371A\034\003\320\301" .string "NH\b\030" .string "\340" .string " \001\220C\250" .string "\227\003\310\"" .string "cF\001\360\241\377\004\340\241\210IHAS\340\210`\200\022%eWh\034\246\321\377\367\250\371\003\230G\260\360\274\b\274\030Gp\265@H" .string "$\201x\344C;N\301pAx;M\201p\001xAp" .string "!\004p\030 HC\200\031\203\210\312" .string "I\034\253R\303\210R\031\024)S\200C{\023q\303{SqC}\323q\200|\220q\353\333\377%+I\3415*" .string "H\031\002\360\323\377-I*" .string "H\031\002\360\316\377*H)" .string "\003\360 \370" .string " (K\005" .string "\f\"\377&\030!AC\311\030\312sNs@\034\315t\024(\214t\365\333" .string " w\344\377\265\006" .string "\300{\201\260\013\237\f" .string "\013(\003\320" .string " \310s\005\260\255\347`}\001(\024\320\025H" .string "h@0" .string "x!|\013%I\006I\016\201B\030\333\003)\030\323\003\232" .string "#1" .string " " .string "\376\367*\377\001(\003\320\013\340\rH" .string "y\353\347" .string "\227\n\233\003\2321" .string " " .string "\376\367\201\376\001(\003\320\001 t\345s\325\347\006 \340s\322\347\320]" .string "" .string "\260_" .string "" .string "\314[" .string "" .string "\220a" .string "" .string "lY" .string "" .string "\360[" .string "" .string "xG\300F \001\237\345" .string "" .string "\220\345\201" .string "\200\340\372\003\320\341\036\377/\341\320" .ascii "\323" .string "\341\f!\237\345\001\020A\342\200" .string "\200\340\002" .string "\200\340\001\020\300\345" .string "" .string "\323\345\001" .string "\200\342" .string "" .string "\303\345\036\377/\341\004@-\345\3200\322\341\340\300\237\345\001@@\342\2030\203\340\f0\203\340\001@\303\345" .string "0\322\345\0010\203\342\003<\240\341C<\240\341" .string "0\302\345\2030\203\340\003" .string "\314\347\001\003\200\340\002\b\200\342\002\f\200\342\330" .string "\320\341\002\020\200\342\004" .string "Q\343\002" .string "" .string "\212" .string "" .string "P\343\t" .string "" .string "\032\001" .string "" .string "\352\037" .string "p\343\006" .string "" .string "\n\001\020\240\343\320" .string "\322\341\200" .string "\200\340\f" .string "\200\340\002\020\300\345\004@\235\344\036\377/\341" .string "\020\240\343\367\377\377\352\320 \323\341\202\300\202\340T \237\345\f" .string "\302\347\001\003\200\340\002\b\200\342\002\f\200\342\330" .string "\320\341\002\020\200\342\004" .string "Q\343\002" .string "" .string "\212" .string "" .string "P\343\b" .string "" .string "\032\001" .string "" .string "\352\037" .string "p\343\005" .string "" .string "\n\001\020\240\343\320" .string "\323\341\200" .string "\200\340\002" .string "\200\340\002\020\300\345\036\377/\341" .string "\020\240\343\370\377\377\352\314[" .string "" .string "\304b" .string "" .string "\020\265\373L ~" .string "(\004\320\b \002\360\221\372" .string " v\020\274\b\274\030G\366H\020\265" .string "x\006(\367\320K!\364H\311" .string "\002\360\033\377K!\362H\t\001\002\360\026\377\354\347\360\265\360H\205\260" .string "h" .string "%\3000\201\210" .string "'\b&\003\221\301\210\001\221\001\211\002\221@\211" .string "\220\352HEWe\340\030 )" .string "AC\350H\f\030\340{\013(\007\320\002\232\003\231 " .string "\001\360\344\372\004\220\240\034\006\340\002\232\003\231 \035\001\360\334\372\004\220\240\035" .string "\232\001\231\001\360\326\372\004\231\001)\001\320\001(C\321\340{\003" .string "\003\360\032\370\f\007\007@@@@:@@@@:@\326K" .string " b{\323I\030V\376\367D\370\030!HC\320I@\030\301{\005)\031\320\321K" .string " b{\316I\030V\376\3676\370\030!HC\313I@\030\300{\005(\023\320\005 \340s\303H" .string "h 0\200\177@\036 t\240{0C\240s\020\340" .string "|\001(\004\320\005 \340s |\200\036\362\347\346s't\360\347\271J" .string " \020V)" .string "\376\367\252\370\022%eWh\034\227\321\005\260\360\274\b\274\030G\377\265\005" .string "" .string " \377\260\272\260\f\220\r\220%\220&\220\251J-\220\001\220\004\220\002\220\b\220\001" .string "\013\220\005\220\007\220\t\220\003\220Px\300\007\001\320x \006\340\241H" .string "x\b(\001\320\n(\367\321< \006\220h\b\321c,\220\302\233\230B\004\330\001 " .string "$\037\220 \220\004\340" .string " \300Cl\036\037\220 \220" .string " \001" .string "(\220$\220\222H\222JAc" .string "!\201c\b" .string "*!Q^'\221\321|*\221\t\006\t\026\013\037\t\035)\223+\221\021y\n\221\215I\th\3771A1" .string "\221r\341" .string "!\"\221\214F!\221#\221\016\221\216I\242" .string "\213X\017\251\213P" .string "!\244\253\231P\264\253\031U\212Ka" .string "\311\030.\221" .string "!w\340.\233\316\001\233_}&\366" .string "\237\031\205N\267B\r\323oF\276\211v\034\276\201\341&\202O\366" .string "\236\031\276B\003\323oF\376\211v\034\376\201" .string "(\b\320n\036\260B\005\320" .string ")\003\320\272\236v\036\261B\r\321" .string "+\001\332^B" .string "\340\036" .string "}'\377" .string "\276B\004\335\001&\002\237\246@>C\002\226" .string "+\003\335fF\366\030\264F\002\340!\236\366\032!\226'\236\263B\003\335\"\236\366\030\"\226\005\340vB\263B\002\332#\236\366\032#\226" .string "+\001\332^B" .string "\340\036" .string "\310.\004\335\001&\016\237\216@>C\016\226" .string "(B\320\216" .string "M\257/\226\277Y\266F \236sC\373\030vFM\257\273Q0\257\276Y\236B\001\332/\236\273Q\216" .string "M\253\233YVN\236\031SK\236B\t\323\001#\244\257\276X\213@\036C\276P\264\2563][\0343UI\034\272\233\231B\204\333!\231cFY\032\203" .string "\207\256!\223\361P\"\233" .string "+\b\320#\233" .string "+\005\3207O\002#\376k\203@3C\373c \233(\236KC\233\031" .string ")(\223\006\332NB\005\340\216" .string "M\257\273Q0\257\307\347\016" .string "\310.\004\332\001'\002\236\247@\276C\002\226" .string ")\001\332NB" .string "\340\016" .string "\310.\b\332}&\366" .string "\264E\004\335\002\237" .string "/\001\321\263B\b\333" .string ")\003\332NB\002\340" .string "\"\026\340\016" .string "\310.\006\332\007\236" .string ".\367\321\016\236\017\257\276P\r\340\037\236#O\001.\r\320n\036\264B\004\332\326\031wh\017\256\222\031W`\001\"\007\222" .string ")\013\332JB\n\340" .string ",\367\320\326\031@>\017\257\366k\322\031@:\326c\357\347\n" .string "\377&\2216\262B\005\335\bJ\001&Wk\246@>CVc\310))\335\b\231I\034\b\221\003I\b\232\216k\226B#\322\212c!\340\364b" .string "" .string "\221g" .string "" .string "X\257" .string "" .string "\260\261" .string "" .string "\314[" .string "" .string "lY" .string "" .string "\360[" .string "" .string "\320]" .string "" .string "mY" .string "" .string "\260_" .string "" .string "nY" .string "" .string "\220d" .string "" .string "\020\004\001" .string "\321\007" .string "" .string "\021\016" .string "" .string "\334\005" .string "" .string "" .string "!\b\221" .string "\231\311\210\231B\002\334$\231I\034$\221" .string "\231I\212\231B\004\332%\231I\034\t\004\t\024%\221" .string "\231\t\211\231B\001\334\001!-\221\302\232,\231\221B\017\330!\232j\251\213P\n\231\002)\034\321*\231\377)\031\320)\231\201B\032\334+\231\201B\023\332\026\340)\032\216" .string "j\252\262\030@:\323c\n\232\002*\t\321*\232\377*\006\320)\232I\036\221B\006\333+\232\221B\003\334\001\231\231B" .string "\332\001\223\037\231d\030@\034\250B" .string "\332\211\346" .string "!\b" .string "\207\253\007\221\025\340\302\234,\232\242B\006\330*\032\222" .string "\322\030@:\322k\211\032\002\340\202" .string "\232XQ\030" .string "\232\322\210\212B\002\334\007\232R\034\007\222@\034\250B\347\333" .string " \017\256\b\340\203" .string "\361XJ" .string "L\bT@\242C\nC@\034\362P\250B\364\333\373L\017\230 `" .string " \257\036\013\340\201" .string "\017\253ZX\313\030\236h[hV@\262C\032C\t\031@\034J`\270B\361\333\250" .string "\017\251A\030@9\311k" .string "\031\357O@8\301cxk\264\252A" .string "C\bK@\231C\001Cyc" .string "!\b" .string "\244\253\t\340\204" .string "\034Y\026\\!C\t\2344\031$\004$\f@\034\t\224\250B\363\333" .string ");\320" .string " \003\340\023\\" .string "+\002\321@\034\250B\371\333\003\006\033\016h\036\004\324\024\\" .string ",\001\321@\036\372\325\002\006\022\016" .string " \004\340\f" .string "\304@\344\007\003\321@\034\272\234\240B\367\333\004\006\272\230$\016\003\340\016" .string "\306@\366\007\001\321@\036\371\325" .string "\006" .string "\016\321\032" .string "\033I\034@\034AC\t\230" .string "\004\002\360=\375\b\220hF\201\211" .string ")\007\320\300\211" .string "\004\002\360r\374\004\340" .string " \300C\362\347" .string " \300C\003\220\300I" .string " \t};" .string "\"\340\n\037\f\035\n\236\022\006$\006\022\026$\026\002.\005\321\377)\003\320\202B\b\334\204B\006\333\204" .string "0\252\022Y\004\234\242B" .string "\335\004\222\204" .string "0\252\024Y" .string "\232\222\212\224B\004\335&\232R\034\022\004\022\024&\222@\034\272\232\220B\331\333\002\230" .string "(H\321\n\230" .string "(\023\320\302\007\247H\200|A\034\t\006\t\016" .string "*2\320" .string "\232\224}%\232\224B\004\335" .string "\232\324}&\232\224B\031\334\002 H\340" .string "\230\301\211\001\230\201B\020\335" .ascii "\230\001\212\004\230\201B\013\332\006\230A\bX|\201B\002\331@" .ascii "\034xt\037" .string "\340" .string " Xt\001 2\340" .string " \367\347" .string "\232\324\211\001\232\224B\024\335" .string "\232\024\212\004\232\224B\017\335\n(\037\323" .string " \230t!\340\213L" .string "\"\242VR\034\003\321\211L\242VR\034\017\320" .string " \270t\204I" .string "$\b|\001&j\257\200\007\200\017\bt\002\220\001\230A" .string "@\030\001\220\031\340\006\232\222\b\202B\001\331\271t\353\347" .string " \230t\003 8q\346\347\001\230\005!\002\360\327\373\241" .string "yX\210B\005\332a\0340" .string "\210@\013\231\bC\013\220d\034\254B\356\333" .string " \016\3401" .string "\013\232\201@\021B\b\321B\0341" .string "\221@\013\232\021B\002\320\r\231I\034\r\221@\034\250B\356\333\004\230" .string "%," .string "A" .string "@\0300\257\001\220\021\340\001\230\005!\002\360\253\373\241" .string "yX\210B\b\332a\0340" .string "\210@\f\231m\034\bC-\004-\024\f\220d\034\272\230\204B\352\333" .string " 2" .string "\016\340\026" .string "\f\231\206@\016B\b\321A\034\026" .string "\216@\f\231\016B\002\320\005\231I\034\005\221@\034\272\231\210B\355\333'\234\274\231LHNK\241B\017\333" .string "\231L\211\274\231\214B\n\333" .string "\231$\234\t{\241B\013\335\007\234\241B\b\335-\234\001,\005\320\002\231\311\007\031\320" .string "!\001t\031\340\002\234\344\007\023\321\r\234\001,\004\321\005\234\001,\001\321\251B\013\334\002\231\021C\001t\r\234\001,\002\321\005\234\001,\002\320\002$!C\001t\001|" .string ")\r\321\t\231d)" .string "\331\002t()\004\331\b\231\231B\001\331\002t\002\340\001|" .string ")\037\320\b\232\001$" .string "!\244\003\242B" .string "\322\001!+L\003\232\242B" .string "\331\001!\b\232\232B\004\330" .string ")\002\320" .string "!\201u\b\340\201}\376)\001\322I\034\201u\t\006\t\016\b)\004\322" .string "!\001t\001\340" .string "!\201u\377!\301t\001u\005\231\001)\001\331\001!" .string "\340" .string "!\032J\021p" .string "|\177\260>\2608\344\370\265\003" .string "" .string "'\210B\003\321" .string " \370\274\b\274\030G" .string " \231B\n\323\001*\006\320\034" .string "\204@\214B\n\333\007\006?\016\n\340" .string "'\b\340" .string "*\373\320\f" .string "\204@\234B\364\332@\034\b(\351\323\231B\017\323\273@\016\340\220d" .string "" .string "\364b" .string "" .string "mY" .string "" .string "nY" .string "" .string "3\263" .string "" .string "\314L" .string "" .string "Kb" .string "" .string "\271@\210\002\031" .string "\002\360\233\373" .string "&" .string "\220\025\340" .string ".\023\320\337$$\002" .string "% h" .string "\232\301\027" .string "#\002\360\273\371\212\005\200\n\020C\375K\212\022" .string "!\033\032\221A\004\332\372H\t\340k$d\002\352\347\001!\311\007\313\027A\032\232A" .string "\332\330\007\001\304\t -\035" .string "\002\205B\336\323v\034\002.\326\3238" .string "\240\347\360I\210y\202" .string "\200\030\300\035" .string "\006" .string "\016\210qpG\360\265\004" .string "" .string " \207\260\003\220\004\220\351H\350M" .string "h" .string "&\3400A~\n\007\022\017\t\t" .string "\222\001\221\001~\005\221\200~\t\t\312" .string "\002\220\257x)" .string "\310\214\211z;" .string "\002\360\202\373\005\004\t\026'3\r" .string "\002,\026\323\001#\253p4\340" .string ",\003\321<)\001\323\256p\r\340\005\233\233\007$\324&\340\002 \250p\006\340" .string ",\002\320\001,\t\320\001\340<)\357\322\356\204\250x" .string "(:\320" .string ",0\320-\340\003!\251p&\340" .string ",\006\320\002,\347\322\n(\032\323\004#\253p\t\340<)\332\322\367\347" .string ",\001\321<)\325\322S" .string "\203B\330\331\001,\007\320\002,\337\323S" .string "\203B\334\331\200\030\350\204\331\347" .string "(\327\320@\036\371\347\001,\003\320\002,\324\323\356\204\003\340\n(\001\322@\034\350\204\256r\003\340<)\001\322I\034\251r\250x\002(\002\3209\340\256r7\340\005\230" .string "\007A\324\254I\352z\b\215\311\213" .string "*\006\320\001\232\211\032\201B\013\320@\036(\205\t\340" .string "\232\211\030\201B\001\320@\034\367\347\001 \350r" .string "\340\356r(\215\031!HC\310(" .string "\220\t\331\237I\200\001@\030}!\311" .string "\002\360\301\372" .string "\004" .string "\f\003\220\233I" .string "\230\210B\t\331\232I\200\001@\030}!\311" .string "\002\360\263\372" .string "\004" .string "\f\004\220np\250x" .string "(\001\320\200!\fC" .string "/\023\320" .string "(\023\320\002(\021\320\025\340\377\3674\377iF\006\311\211\030AC\b\002\001!\311\003@\030\351\213" .string "\fA\030\210\032\271\347" .string "(o\320\207J\221x\376#\031@\221p\205I\205K\205J\3401 3" .string "/\004\320" .string "(E\320\002(`\320h\340" .string "(v\320\b{\350\203H{\357\213" .string "\0028C\350\203\027\177o\204R\177?\004\022\002?\f:Cj\204\232x\252\204\332x\253\214\022\002\032C\252\204\n\177*\204J\177+\214\022\002\032C*\204qJ\023\177pO@7\353q{z+rS~(\205\002\230@\036\020w\002\230[\034XC>\"PC\bw" .string "\nHwaH" .string "\"" .string "h 0AyirFq\350y\002\231@\034\377\367p\376)z\b\030xr-\340\350\213\210\201\310\201^N0\201h\214\220\203\250\214X\200(\214\210\203\351y1w*zXH@0BrQHjz" .string "hI\034 0Bq\002\230\001\"\377\367Q\376\013\340\030\340(\215\210\201\310\201OI\b\201\003\230\220\203\004\230X\200" .string "/\005\320\250x" .string "(\005\320\002(\003\320\007\340\250x" .string "(\004\320EI\210x\001\"\020C\210p " .string "\007\260\360\274\b\274\030G\361\265" .string "!BN\013" .string "pV\f" .string "\r" .string "\n" .string "\214F\206F\017\340\030'\006" .string "~C=O\367\031\376{\b.\005\320\013.\003\320~}\001.\007\320d\034\022 8VF\034\355\321\001+\003\320t\340[\034\001" .string "\365\347" .string ",o\321\030 HC0N\200\031\303{\001+h\321" .string "|d(e\323" .string "#pF\013\340\030$`C\204\031\340{\013(\003\321`}\001(" .string "\321[\034\022 VD\034\361\321\001+R\333$L" .string " V#O\017\340\030$DC\344\031\346{\b.\007\320\013.\f\320f}\001.\016\320`F@\034\204F\022 VD\034\355\321\001-\b\3208\340`}\001(\365\321R\034\363\347m\034\001" .string "\360\347`F" .string "(-\321\030 AC\310\031\301{\001)'\321" .string "|d($\323\002+\034\333\001*\036\332\033\340\377\377\377\177\364b" .string "" .string "\314[" .string "" .string "" .string "\316\377\377\334\005" .string "" .string "" .string "\211\376\377 \021\004" .string "" .string "\035\004" .string " \022\004" .string "lY" .string "" .string "\360[" .string "" .string "nY" .string "" .string "\260_" .string "" .string "\001+\003\333\002*\001\333\005 " .string "\220" .string "\230\237\345\377\265\374J\370#\022h\210\260\233\\\372L" .string " \007\223\333\007\032\320*#\343^%" .string "\013\236\003\223/{\236B\004\227m{\005\225}\335\002\220\001\220" .string "\220\204F\030" .string "\036#XCR\216\342#ZC\200\030" .string "\002" .string "\f" .string "#\006\220}\340" .string " `s s\340s\240s\f\2608\347\021\232\021\234\346M" .string "&\260\036R" .string "\244" .string "@5/Y\034\030\003\325A$\244\002\024\031\013\340\214B\004\333\337M\314\001\244\030d\031\004\340\344\001\245\030A$\244\002,\031\020%e_" .string "(H\320\001(H\320D\034F\320\001$\355\033-\004-\024eC@\034" .string "\004\256\031" .string "\024\002(\332\335\335\001\343 \255\030FCA\"\222\002\001$\255\030\244\002\020\"\252^0\031\314N\013\235\300\022uC,\031\226F\022\032\344\n" .string "*" .string "\332RB\242B\004\335bFR\034\022\006\022\016\224F" .string "(" .ascii "\332@B\003\232\220" .string "B\004\335\002\230@\034" .string "\006" .string "\016\002\220pF\300\033" .string "\004" .string "\024" .string "\325@B" .string "\004" .string "\024\220B\n\333\001\230@\034" .string "\006" .string "\016\001\220\f\340f\340\003$\271\347\002$\267\347\006\232\220B\004\333" .string "\230@\034" .string "\006" .string "\016" .string "\220[\034\033\004\033\024\213B\206\333\252L\n\232\243{\022\006" .string " \022\016\335\t\252B&\321\004\235\355\t\252B\"\320\001\232U" .string "" .string "\232\225B\035\322d\"QC\t\004\n\016" .string "\231\212B\026\322\004\231I\006\r\016\005\231\215B\020\322\b\231d%I\034iC\t\004\r\016\005\231\215B\007\322Y\006\013\016\341{\213B\002\322\212B" .string "\322\001 aF\n)\002\322\002\231\f)\001\323\004 \007\340aF\006)\001\323\003 \002\340\001(\006\320\001 \007\231I\007\006\325\001(\002\320\003\340\002 \367\347\377\367y\376!{\241sa{\341s\n\231\001\232\311\001\021C!s" .string "\231as.\347\247s\345s\n\231\311\001!s" .string "!\366\347\377\265\016" .string "" .string "%\201\260R\340" .string "'9" .string "<" .string ";" .string ":" .string "2\340\320\001o" .string "\300\031A'\277\002\307\031\020 8^\004\237\270B\001\321\n\237=p}'\377" .string "\270B\001\335\t\030\003\340pO\270B" .string "\332$\030J0\224(" .string "\330[\034\n+\001\333" .string "'\020\340" .string ")\002\320" .string ",\004\320\005\340" .string ",\003\320'" .string "\007\340\017" .string "\005\340`" .string " \030\307\0178\030@\020G\030R\034\022\004\022\024\262B\312\333\003\230\001\006(\006\t\016" .string "\016\376\367V\377xCXJ" .string "\022\251" .string "@2PP@:R~t#ZCSK\2643\322\030m\034-\004-\024PP\001\230\205B\251\333\005\260\005\3460\264\005xKL" .string "-!\320\001%\035\200#h\033|[\036\013p#h\333{\023p\tx\374#\022x\314\034\034@A#\033\003\034uYu\232uI\034\031wYw\232wCL!qaq\242q" .string "x" .string "(\f\320AH\030\2020\274pG" .string "%\035\200#h\333{[\036\013p#h\033|\334\347;H\361\347\360\265;I\207\260\bx:O" .string "\006\013\3258x\004(\006\320\013(\004\3207H" .string "!\374\367\270\376\301\345" .string " \bp*N0h\200{\002(\"\320" .string " 2I\bp'H\201~Av.H\005!\374\367\246\376+H" .string "x\007(\026\320!H\002\253\0310\003\252\004\251\377\367\241\377\t\"#I(H\322\001\001\360\345\375\032H" .string "h\3770A0" .string "~" .string "(I\320T\340\001 \333\3470h" .string "$" .string "\220\300{\001\"\037K\200\036\204F\026\340" .string "\230\001!\005|V" .string "m\036\r\340\310\001\207\031A \200\002?\030\020 8^\240B" .string "\335\004" .string "\230B" .string "\332\003" .string "I\034\215B\357\334R\034\224E\346\334\fH\004I\b8\004\200\200\034\003\200\001 \310vj\345\314[" .string "" .string "\364b" .string "" .string "\200\003\001" .string "\252\002" .string "" .string "\030\374\377\377 \020\004" .string "\340\272" .string "" .string "`\266" .string "" .string "`\277" .string "" .string "\221g" .string "" .string "\3258" .string "" .string "\200Y" .string "" .string "\240g" .string "" .string "\377\177" .string "" .string "hF" .string "\211" .string "(\f\320\376IhF\003{\002|\375H@~\b\360h\373\373O8y\300\007\030\321\001\340\372I\361\347hF" .string "\211" .string "(\370H" .string "h\001\320\200\215" .string "\340@\215\366I" .string "\004" .string "\024x\205\tx\b)\005\321\201" .string "@\030\301\017\b\030@\020x\205\361H\024!A^" .string ")\360IA^" .string "\332IB\026\"\202^" .string "*\355J\202^" .string "\332RB\221B\002\335\024&\206_\001\340\026&\206_\005\250" .string "\220hF\b\"\202^\001{" .string "|3" .string "\377\367\244\376" .string "." .string "\332vB0\004" .string "\024\001\220\332H\300x" .string "(~\321nF0}\b\"\001\233" .string "\220\262^1{0|\377\367\215\3751\211\t\006\t\016\377\367\220\373\006\220\320H\300x" .string "(\352\321\b iF\b^\376\367\230\375\316H" .string "x\004(J\320\013(H\320\317H" .string "x" .string "(\006\320\310H" .string "h\3770A0@~\002(<\320hF" .string "}\001\233" .string "\220hF" .string "\211\002\006hF\001{" .string "|\022\016\376\3676\377\274O\006" .string "8w8y\002(\024\320hF\b\"\202^\001{" .string "|\001\233\001\360\336\376\004" .string "\267H\b!" .string "h\3770A0\300\210" .string "(\t\320" .string ".\007\320yq\020\340p\007\001\325\001$\357\347" .string "$\355\347xy" .string "(\f\320" .string ",\362\321\261K\032WR\034\356\321@\036xq\257I" .string " \300C\bp" .string "$\256H" .string "x" .string "(.\320\001\360\256\373\004" .string "hF\001{" .string "|\001\360?\373" .string "($\320\t\"\337!k#\022\002\t\002[\002\036'" .string "," .string "\340\303\340\016\320\227H@}" .string "(\025\320\030" .string "\001\360%\375\224H\235J" .string "!\307b\021p\001!\001p\016\340\220Np}" .string "(\360\321\030" .string "\001\360\026\375\001 \367b0p\003\340\212H\300j" .string "(\003\320\210H\301jI\036\301b\210N0h\3770A0" .string "~\001(\013\321hF" .string "\211" .string "(\026\320\200IhF\003{\002|\177H@~\b\360k\372\200H" .string "x\006(\f\320 " .string "\001\360\027\371{H\006h\264F@6\260z" .string "(\004\320^\340vI\347\347(" .string "\361\347|K" .string "!YV" .string "\221\034\340" .string "\233\231B\006\321\030 \n" .string "BCyH\200^\002" .string "\f\340\030'\013" .string "{CuO\377Z\207B\001\335sH\300^\227B\001\332qJ\322^\030#YCoK\313\030\022!YVK\034\340\321aJmH\021ymKmO\002)\005\320Qx\311\007\b\3201\212\001`\023\340\001!\311\002\001`\n \030p\f\340[I\tx\b)4\320\n)2\320\261\211\001``F 0\301\177\031p\200\1778p`F" .string "|\b\"nF" .string "\002\3770\3770\0020\001\004`F\300{\262^\t\f" .string "\002\3770\3770\0020" .string "\004" .string "\f#" .string "\376\367K\371\376\367\310\375GH" .string "h@0\200|" .string "(\021\320EH" .string "x\002(\n\320\t(\b\320\003(\006\320\b(\004\320\r(\002\320\004\340\361\211\313\347EH\005\360\217\373<H" .string "x\n(\001\321\005\360\205\374EJ5NPxDI\002\340" .string "(\006\320Px\300\007\bx\371\321\001(" .string "\320" .string " " .string "\006" .string "\016\360p#\321/H" .string "h\3770!0" .string "|" .string "(\003\321,H" .string "x\n(\006\3200J" .string " 1I\020V" .string "\360I\371\005" .string "'Huu" .string "x\b(\027\320(" .string " C\007\3200~" .string "(\004\320\031!/HI\001\374\367\245\374" .string " \360up~" .string "([\320\030H\376\367^\375\037H" .string "x\001(V\320`\340" .string "-\362\320\035H" .string "'7c\301W\035K\020\340\030 AC\310\030\301{\006)\003\320" .string ")\001\320\001)\004\321\201h2k\221B" .string "\3311c\022!AVH\034\354\3210k}!I\001\210B\324\331\003 " .string "\360\302\377\001 \031!\367uI\0010v&\340" .string "" .string "\340\272" .string "" .string "\364b" .string "" .string "`\266" .string "" .string "\314[" .string "" .string "\221g" .string "" .string "`\022\004" .string "\024" .string "" .string "" .string "\026" .string "" .string "" .string "\342d" .string "" .string "mY" .string "" .string "lY" .string "" .string "\231g" .string "" .string "\360[" .string "" .string "|Y" .string "" .string "pY" .string "" .string "qY" .string "" .string " \021\004" .string "\224Y" .string "" .string "%(" .string "" .string "\024H\374\367E\374\240\347\023H\242\347\023H" .string "h\3770A0@~" .string "(\003\321" .string "\360" .string "\372" .string "\360\013\372\360x" .string "(\005\321\006\230\300\tA\031 " .string "\001\360\030\370\001 \360vF\345\003\210\213B\001\322\001\200\002\340\223B\002\331\002\200\001 pG" .string " pG" .string "" .string "%(" .string "" .string "`\266" .string "" .string "\314[" .string "" .string "\020\265\001 \374\367)\375\315I\bx\002\006\023\325@\006@\016\bp\313I\nh\002C\b\320\312J\022x\004*\004\320\001\"\223\004\032p\307K\032p\b`\020\274\b\274\030G\305H" .string "!\374\367\314\373\367\347\020\264\004\004\t\004$\024\t\024\214B\n\335@\032PC\001!\t\004@\030D\024X\036\204B\002\335\\\036" .string "\340" .string "$ \004" .string "\f\020\274pG\370\265\270N\004" .string "0h\224FB}\r" .string "J'\301|\003}?\\\001*;\320" .string "/6\321 \210\3778\0018 \200(\210\3778\0018" .string ")(\200\006\3200h!\210\300{" .string "\002@\032@\036 \200" .string "+\006\3200h)\210" .string "|" .string "\002@\032@\036(\200" .string "!a^" .string " " .string ")" .string "\332 \200" .string "!i^" .string ")" .string "\332(\2000h" .string "!\300{a^" .string "\002@\036\201B" .string "\333 \2000h" .string "!" .string "|i^" .string "\002@\036\201B" .string "\333(\200\370\274\b\274\030G" .string "/\372\321bF\001*\300\321" .string ")\007\320\300{!\210" .string "\002@\032\3770\3770\0010 \200" .string "+\b\3200h)\210" .string "|" .string "\002@\032\3770\3770\0010(\2000h\303\213B\213\301\212 \210\377\367\177\377 \2000h\003\214\202\213\001\213(\210\377\367w\377\321\347\363\265\f%\177I" .string "&\207\260\005\226\210Wv\340{I\thI|\261B\007\330\030\"PC\b\232" .string "!\311C\200\030\201tk\340\030!HC\b\231" .string "\220D\030`{" .string "\006" .string "\026" .string "\360\303\370\007" .string "\340{\003" .string "\001\360k\374\f\024\024\030\030\030\024\007\030\026\030\030Y\030kHlI" .string "h\th\bC\004\320\001 t\013 \340sF\340\006%\f\340" .string "%\033\340\b%\024\340\231!d\240\b\360'\370\006-\002\320\b-\f\320\020\340" .string " \300C" .string "\360\231\370\007" .string "\017(\t\320a{TH" .string "\035\301U\004\340\001 \005\231\270@\bC\005\220TH" .string "h@0\200|" .string "(\t\320NH" .string "x\002(+\320\t()\320\003('\320\b(%\320\b\231" .string "\230\bZ\006\220c\210\241h`}\"{\t\004\003\220\001\222\t\f" .string "\2230\006\004\225\002\221a{\006\233" .string "\016:" .string "" .string "\3609\370v\034\022 VA\034\206\321\005\230:J\003\004=L" .string " \033\024\001%A\036$h\022\035\020\340`{\005\360p\373\006\220`{\005\360p\373\003" .string "\325\347/" .string "\207@\037B" .string "\320\021T@\034" .string "\006" .string "\016g|\207B\364\3300" .string "\200!\bC(I\bp6H@x\300\007\001\320" .string ".\004\321(H\374\367k\373\377\367\245\3760" .string "\t\260\360\274\b\274\030G\376\265$I\007" .string "\th\b\250A\310\214|iF\213\200\025" .string "\b\200\001\"\001\250\377\367\311\376\030H\371" .string "\b\030Fr" .string ",jF\002\320" .string "!Q^\001\340\004!Q^A\201" .string ",\002\320\004!Q^\001\340" .string "!Q^\201\201\n\231\301\201\f\231\t\001)C\001r\376\274\b\274\030G\016I\020\264\tJ\th\003" .string "" .string " I|\022\035\005\340\024V\234B\005\320@\034" .string "\006" .string "\016\201B\367\330\017 \225\346`\277" .string "" .string "\324d" .string "" .string "\221g" .string "" .string "\224Y" .string "" .string "\215>" .string "" .string "\314[" .string "" .string "lY" .string "" .string "\360b" .string "" .string " c" .string "" .string "./../../src/tpc_coord.c" .string " \021\004" .string "p\264" .string "h\026\340\005" .string "\331\036\f\006@\034\001xBx$\016\t\002\211\030\001\"\200\034\222\004\211\030" .string "\"\004\340\006x@\034\016pI\034R\034\242B\370\323\350\030\003x\377+\345\321p\274pG\tJ" .string "#Sq\001 \020q\030" .string "\377!-1@\034\210B\374\323\023qpG\002H\001!Aq" .string "!AqpG \022\004" .string "\020\265" .string " Hp\f" .string "\022H\211\034\001\360.\372\241\035" .string " \001\360*\372\017H!" .string "@i\n1\001\360$\372\rH" .string "hA}\001)\r\320\301{\t\002I\036\341\201\001|\t\002I\036!\202@|\240t\020\274\b\274" .string " \030G\301\213I\036\341\201\001\214\362\347*\020\361\377@\257" .string "" .string "\314[" .string "" .string "\377\265" .string "%\254F\256F\376N\t\2507h\023\310`7\375}\355\006^\325\276~\025\210\3776\0016\265B\006\323\377~" .string "\236\366\033\377>\001>\265B\016\335\026\200G{\364N\003%\365U\025\210\205\200\025\210\215\200\025\210\245\200\025\210\f\232\025\200\013\340\001\"R\002\225B\007\323" .string "\232\377:\377:\002:\225B\001\334\001\"\224F\346M\032\210-h`5.\177\3776\0016\262B\001\322\036\200\007\340n\177\001\235\255\033\377=\001=\252B\016\335\035\200F{\335M\003\"\252U\032\210\302\200\032\210\312\200\031\210\341\200\032\210\f\231J\200\013\340\001!I\002\212B\007\323\001\231\3779\3779\0029\212B\001\334\001!\216FaF" .string ")\006\320qF" .string ")\003\320B{\315H" .string "!\201T\377\274\b\274\030G\370\265\204F" .string " \206F" .string "\220\307H\005h`5\350}\200\006\200\017m\320\303L\320{$h\2004\006(\024\321\220\210f\210\260B\f\331\346\210gF\276\033\260B\007\332\320\210f\211\260B\003\331\346\211\216\033\260B\003\333P{\270N\003'7T\350}\300\006R\325T{\265H" .string "]" .string "(J\320\254~\220\210\001&\3774\0014v\002\240B\006\323\354~gF<\033\377<\001<\240B\t\331 \004" .string "\f\220\200\324{\006,\f\321\230\200\006\234\240\200\b\340\260B\006\323\374\037\377<\372<\240B\001\334\001 \206F,\177\320\210\3774\0014\240B\005\323l\177\f\033\377<\001<\240B\t\331 \004" .string "\f\320\200\321{\006)\f\321\330\200\006\231\310\200\b\340\260B\006\323\3779\3779\0029\210B\001\334\001 " .string "\220pF" .string "(\006\320" .string "\230" .string "(\003\320R{\217H" .string "!\201T\370\274\b\274\030GP{\213M" .string "\220(\\\206F\300\007\020\320\220\210f\210\260B\004\331\346\210gF\276\033\260B\002\333\230\210\220\200\004\340\002&pF0@" .string "\236\250UP{\177M-\\\256\007\337\325\326\210g\211\276B\003\331\344\211\t\033\216B\002\333\330\210\320\200\324\347xI\352\007\322\017\nT\317\347\377\265Q{\024" .string "tJ\b\001(2\205\030qJ\037" .string "\022h |`2\223}\200\"\215\260\230B\001\323\020C t8\210jF\020\202x\210\220\202\027\230" .string "(}\320`}\001(\t\321\026\250\003\310nF\003\306\r\250\003\310;" .string "\"" .string "\377\367.\377\242\210\270\210\021\030\026\230\203\210\027\230" .string "\210\030\030\b\030\200\001\2000" .string "\n\001\220\343\210\370\210\031\030\026\230\306\210\027\230@\2100\030\b\030\200\001\2000" .string "\n\006\220\001\230" .string "\004" .string "\f\n\220\204F \200\006\230\001\004\t\f\013\221a\200\026\230\276h\200h0\030\246hv" .string "\200\031\200\001\2000" .string "\n\240`\026\230\200\210\020\032\002\220\026\230\300\210\030\032\007\220\027\230\272\210" .string "\210\020\032\003\220\027\230\372\210@\210\020\032jF\b\220\020\212\002\002hh\023\030jF" .string "\223\222\212\023\002\252h\233\030\t\223" .string "\233" .string "+\001\332" .string "#" .string "\223\t\233" .string "+\001\332" .string "#\t\223\2000\003\022\2002\020\022\032" .string "ZC\003" .string "CC\326\030k\210*\210`F\374\367\351\371!\210\002()\200\f\221a\210i\200~\334" .string "(}\320\315\340\377\347)J" .string " PT\243\210\270\210\001!\311\003\030\030\300\003@\030" .string "\f \200\340\210\001\220\372\210\200\030\300\003@\030" .string "\f`\200\036H\001hS @\\\200\007~\325" .string " " .string "\220\272\210\230\032\002\220\026\230\200\210\036\032\001#\022\032[\002\230B\023\322`1\214F\211\177\002\233\231B2\334aF\311\177\221B\005\335\377!\0011\210B\001\3312.(\333" .string " \200\001 #\340\r\233\377;\377;\002;\230B\036\335`1\214F\211\177\002\233IB\231B\027\333aF\311\177IB\221B\r\332\r\231\3779\0029\003\340\314[" .string "" .string "\344d" .string "" .string "\210B\003\3321 \300C\206B\004\334\r\230@\036 \200\002 " .string "\220\371\210\001\230\001#B\032\026\230[\002\300\210\016\032\001\231\t\032\230B\025\322\375K\033h\2003\234F\033x\223B0\334bFRx\262B\b\335\377\"\0012\220B\001\340\\\340N\340\001\3312)#\333" .string " \037\340\016\233\377;\377;\002;\230B\033\335\357K\033h\2003\234F\033x[B\223B\023\333bFRxRB\262B\n\332\016\232\377:\002:" .string "\340\024\340\220B\003\3321 \300C\201B\003\334\016\230@\036`\200\002\340" .string "\230" .string "(\007\320 \210(\200`\210h\200\021\260\360\274\b\274\030G`}\001(\t\321\026\250\003\310nF\003\306\r\250\003\310;" .string "\"" .string "\377\367\001\376\240\210\271\210@\030\301\003\001 \300\003\t\030\t\f!\200\341\210\372\210\211\030\311\003\b\030" .string "\f\325\347\001 " .string "\001\260B\b\322h{@\034" .string "\006" .string "\016\003(hs\003\323\200 l\340" .string " hs`}" .string "(\007\320\304H" .string "h\001" .string "@1\212\212\262B4\323K\340\300H\241\210" .string "h\002" .string "\2402\224FR\210\221B\020\331bF\323\210\r\232\322\032\221B\n\332bF\341\210R\211\221B\005\331bF\323\211\016\232\322\032\221B\024\333@0\201\212\261B\025\323\301\212\261B\001\322c <\340\001\213\261B\001\322= 7\340\200\213\260B\001\322\034 2\340\007 0\340\001" .string "@1\212\212\262B\002\322\377 \0010(\340\312\212\262B\002\322`0@z\"\340\n\213\262B\002\322`0\200z\034\340\211\213\261B\002\322`0\300z\026\340`0" .string "{\023\340\312\212\262B\002\322`0" .string "x\r\340\n\213\262B\002\322`0@x\007\340\311\213\261B\002\322`0\200x\001\340`0\300x\377\"\0012" .string "\233\022\032\224FZC\f\233CC\031\002\2001Q\030\t\f!\200\t\231bFJCi\210AC\b\002\2000\020\030" .string "\f`\200`}" .string "(\t\320\203H" .string "h\001" .string "@1\212\212\262BR\322\377 \0010i\340~H\241\210" .string "h\002" .string "\2402\224FR\210\221B\020\331bF\323\210\r\232\322\032\221B\n\332bF\341\210R\211\221B\005\331bF\323\211\016\232\322\032\221B\025\333@0\201\212\261B\336\323\301\212\261B\001\322J F\340\001\213\261B\001\322\027 A\340A\213\261B\001\322\t <\340\200\213\004 9\340\001" .string "@1\212\212\262B\307\323\312\212\262B\002\322`0@{.\340\n\213\262B\002\322`0\200{(\340J\213\262B\002\322`0\300{\"\340\211\213\261B\002\322`0" .string "|\034\340`0@|\031\340\312\212\262B\002\322`0" .string "y\023\340\n\213\262B\002\322`0@y\r\340J\213\262B\002\322`0\200y\007\340\211\213\261B\002\322`0\300y\001\340`0" .string "z\341{\013)$\320!|\004)\030\323\002\253H\313\377!\233\031jh\0011CC\t\032JC\233\001\2003\322\030\022\022j`\252hJC\007\251\n\311\311\030AC\210\001\2000\020\030" .string "\022\250` |\300\t\004\320\340{" .string "(\005\320\005(\003\320\264\340" .string " h`\362\347`|" .string "(2H" .string "h\013\320`0@\212\001" .string "AC0HAC\001 \300\005\204F.H" .string "\221\b\340`0A\212\n" .string "JC" .string "\222\200\212\204F(Hz0\002\220hh\006" .string "\2000\002\022\023" .string "\250hSC\001" .string "\2001\t\022\n" .string "JC){\232\030\003)\003\221A\322\001#\033\004Y\036\236B\002\323r\030\212BH\322\230B\002\323B\030\212BC\3221" .string "\n" .string "\001" .string "ACrC" .string "\230Q\030\201B:\330\003\230@\034" .string "\006" .string "\016\003((sv\323\340{" .string "(\001\321\001 \340s |@\006@\016\020(\020\322\n\230iF\b\202\013\230nF\210\202\026\250\003\310\220\306\002\256\003\306\r\250\003\310\005\253\004\252\377\367\354\373" .string " \250sJ\340" .string "" .string "\314[" .string "" .string "\220\026" .string "" .string "\372?\002" .string "bE\f\330hF\201\212k\210*\210" .string "\212\373\367h\377a}" .string ")\005\320\002\231\210B\004\331" .string " (s?\340YI\370\347\340{" .string "(\001\321\001 \340s({\377(\001\322@\034(s" .string "\006" .string "\016\007(!\321 |@\006@\016\024(\037\322iF\t\212\001\230nF\b\030@\034\300\003" .string "\fiF\b\202\211\212\006\230\005\253\b\030@\034\300\003" .string "\fiF\210\202\026\250\003\310\220\306\002\256\003\306\r\250\003\310\004\252\377\367\236\373({\003(\n\323\340{\001(\001\320\005(\005\321hF" .string "\212 \200hF\200\212`\200 \210\377(\030\330:\210\021\032" .string "\325\201\032`\210}\210\323\037@\033\371;\003\325\377#\0013\232\032\001\340\377:\001:PC" .string "\360\222\375@\031`\200\377 \0010 \200\317\345\r\235\377=\002=\250B\031\335:\210\021\032" .string "\325\201\032`\210~\210\r\233\323\032\200\033\337\035\3727\004\325\r\233\233\032\377;\002;\001\340\3773\0023XC" .string "\360q\375\200\031`\200%\200\260\345c\210\377+\027\330z\210\321\032" .string "\325\231\032=\210\323\037@\033\371;\003\325\377#\0013\232\032\001\340\377:\001:PC" .string "\360X\375@\031 \200\377 \0010`\200\225\345\016\235\377=\002=\253B\277\335z\210\321\032" .string "\325\231\032>\210\016\233\323\032\200\033\337\035\3727\004\325\016\233\233\032\377;\002;\001\340\3773\0023XC" .string "\3608\375\200\031 \200e\200w\345\217\002" .string "" .string "\204H\020\265" .string "h\300y\001(\b\321\202H@x\002(\007\320\t(\002\321\006 " .string "\360L\370\020\274\b\274\030G\003 \370\347\370\265\007" .string "\016" .string "" .string "\360\001\376\005" .string "xHyI@x" .string "$\003(\002\320\002(\007\321\003\340\bx\002(\003\321\b\340\bx\003(\005\320rH\357!At\020!\001t\004t8" .string "\377\367\203\372kHnI" .string "h\200{" .string "(\002\320\001(\004\321\001\340\fp\001\340\001 \bp0" .string "\377\367s\372hH\201x\204p\201p" .string "-\001\321" .string "\360\333\375\370\274\b\274\030GcH\020\265" .string "x" .string "(\004\320bH\001!\373\367\267\374\266\347\007\360\245\376\263\347\370\265XN\004" .string "0x\240BS\320\377(\001\320" .string " \345\347" .string "\360\263\375\007" .string "XH\373\367O\375\004,\004\321SH" .string "!\201p\003!\201pLMhx\003(\002\320\002(\005\321\002\340\002,\002\321 \340\003,\036\320\001!\r \007\360.\371hx\003(\002\320\002(\005\321\002\340\002,\002\321\021\340\003,\017\320\377\367S\372hx\003(\002\320\002(\003\320\004\340\002,\005\320\001\340\003,\002\320@H\r!\005\340<H" .string "x\001(\007\320" .string "!=H\373\367=\374" .string "/4p\002\320\003\340\006!\366\347" .string "\360y\375" .string ",\005\3218H\373\367\b\3757H\373\367\005\375\001 \223\347\020\265*L!x\377)\001\320" .ascii " P" .string "\347 p\007\360[\373\377 p\001 I\347p\265!M\004" .string "(h\300y\001((\321\037Npx\003(\f\321)H" .string "x\300\007 \321" .string ",\036\320\002 \377\367\202\377(h\300y\001(\027\321px\006(\b\321\002,\022\321\t \377\367v\377(h\300y\001(\013\321px\004(\b\321" .string ",\006\320\n \377\367j\377\032I" .string " \300C\bpp\274\b\274\030G\bH\020\265" .string "h\302y\001*\t\321\006JRx\002*\005\321" .string ")\003\320\001\211\rH\373\367\006\374\005\347" .string "" .string "\314[" .string "" .string "\220g" .string "" .string "\204Y" .string "" .string "" .string "\034\004" .string "\320d" .string "" .string " \021\004" .string "\223Y" .string "" .string "=M" .string "" .string "k\301" .string "" .string "\201\312" .string "" .string "\237\312" .string "" .string "\241L" .string "" .string "\3258" .string "" .string "\365b" .string "" .string "lY" .string "" .string "\377\265" .string "%\017" .string "." .string "" .string ")\201\260`\320\372I\002 \210t\004\230\002(\004\320\004(\007\320\007(\005\321,\340" .string "-'\320\364H\377\367w\371\377\367\224\371\377\367\237\371\360I" .string "$\210|\200\007\004\324\001 d\034" .string "\005\204B\367\323\355J" .string "-\032\320\354I\355H" .string "\360J\373\001 " .string "\005\204B\024\321\013 \373\367\335\373\351H" .string "!\373\367\203\373" .string " \005\260\360\274\b\274\030G\340H" .string "\035\325\347\344Ip" .string "\bZ\321\347\343I\343\347\003\230\001(\f\321\341I\210z\312z\333KA!\t\003\013\202\303\034\374$#@\013uHu\212u\001\230\001(\003\320\004\230\007(\006\320\t\340" .string "-\001\320" .string "%\005\340\001%\003\340v\034\003." .string "\321" .string "&\177\036\236\321\311I\002 \210t\001 \312\347\317I\001 \210spG\315I\312{\022\007\022\017" .string "\001\020C\310s\021 \210spGp\265\307L\016" .string "\345{\023" .string "" .string "\006-\t" .string "\016\377\367\354\377\304H" .string "\"" .string "x1" .string "\377\367u\377\001 \240s\340{\001\007\t\017(\001\bC\340s\013 \373\367z\373p\274\b\274\030G\363\265" .string "!\n" .string "\203\260\206F\f\340uF" .string " m\034\266K\216\001\003\3404\030\344\030@\034\"r\250B\371\333I\034\004\230\201B\357\333\252I" .string " \b9\003" .string "HpL\340" .string "\"pF@\034\204FD\340\330\001Q" .string "F\030\301 \200\0027\030\020!y^\247H\201B8\332\245L\230\001\205\030,\031 z" .string "(1\321\022 8^\210B-\335\241O\366\031\016'\367_\217B'\335\020'\367_\217B#\335\022'\367_\217B\037\335\222O\b?~x .~\3228" .string "\230O\266" .string "\272U\366\031spq\200\222N\001!@>\256\031\361q1rqr\002&\341q&rar\215L@4,\031\341q!rarAxI\034ApR\034bE\270\333[\034\004\230\203B\257\333" .string " \210K\003$\020\340\210MB" .string "\251VU\031\001\"\252V" .string ")\007\333\222\001R\030~IQ\030\nz" .string "*" .string "\321\fr@\034" .string "!Y^\210B\352\333" .string "$T\340|I`" .string "\nV@\030\001#\303V" .string "*K\333\330\001Q" .string "A\030\301 \200\002\t\030\020%M_P\034" .string "\220X\034\001\220\230\001\206\030lHY\0360\030\002\220\032\340\316\001P\036\264F\216\001\266F\020\340G" .string "\301&\266\002gD\276\031\020'\367_\257B\006\335vF7\030aN\277\031?z\003/\024\320@\034" .string "\237\270B\353\331I\034\001\230\201B\341\331\001 " .string "\004\201B\026\322SO\b?xx (" .string "\340" .string "\340\007\323" .string " \321\346\002\231" .string " \br\001!\t\004\350\347TN\201" .string "rT\211\031Kp@\034M\200xpd\034QH" .string "!A^\214B\245\333\001 \273\346\360\264" .string " KN\001" .string "K\340\215" .string "\253\031\002$\034__x" .string ",K\335u]\377\001\344" .string "m" .string "\177\031\301%\255\002}\031\020'\357_}B\n'}C\254B\016\3326LP\036\b<\201B\006\320\222" .string "\222\031\022\037\025\210\035\200R\210Z\200I\036`p\001 :J\022x" .string "*!\320\212" .string "\223\031\\x\262\\\344\001R" .string "\244\030\301\"\222\002\244\030\020\"\242^3L\3772,2\242B\020\322$L\b<`x\002" .string "@\036\201B\006\320\222" .string "\222\031\022\037\025\210\035\200R\210Z\200I\036`p\001 I\034\033J\b:Rx\221B\256\333\360\274pGu]\377\001m" .string "\177\031\301%\255\002}\031\020'\357_}B\347" .string "<\033\n'}C\254B\262\334\300\347\377\265" .string " \204F\001\220" .string "\220\032H" .string "\"\202V\242\340\020" .string "\030!HC\030IA\030\313{\013+|\321\006L" .string "#\b<dx\003\224t\340" .string "\021\004" .string "0\257" .string "" .string "\200\004" .string "" .string "\340\272" .string "" .string "\240g" .string "" .string "k\301" .string "" .string "DY" .string "" .string "`\266" .string "" .string "`\022\004" .string "\200Y" .string "" .string "" .string "\002\002" .string "p\376\377\377\200\004\003" .string " l" .string "" .string "Lb" .string "" .string "" .string "\221" .string "" .string "\364b" .string "" .string "W\002" .string "" .string "lY" .string "" .string "\360[" .string "" .string "9M\234" .string "e\031\002&\256_" .string ".\002\226\037\3326N7Z4N6]6\002\266F\377>\377>\002>\267B\024\335vF\3776\3776\0026\267B\016\322nxO\2106\002\266F\377>\377>\002>\267B\005\335vF\3776\3776\0026\267B)\323'N6x" .string ".\036\320\002\236#O" .string ".\032\335<]\"N$\0026Z\347\037\377?\372?\276B\021\335\3774\3774\0024\246B\f\322mxL\210-\002\356\037\377>\372>\264B\004\335\3775\3775\0025\254B\006\323\003\234[\034\243B\260\333" .string "\230" .string "(\024\320\023H" .string "#\303V\232B\003\321\022\"\212V\002p\b\340\001\230\030$`C\013J\213|\200\030\022\"\203t\212V" .string " " .string "\220\005\340\001\222\022\"\212V`F@\034\204FP\034" .string "\320Y\347`F\004\260\241\345" .string "" .string " l" .string "" .string "\360[" .string "" .string "\364b" .string "" .string "lY" .string "" .string "\006H" .string "!\201p\201\201\301\201\201\200\301\200\001\201A\201\003I\377 HppG" .string "" .string "\240l" .string "" .string "\214Y" .string "" .string "\376\265\002\"\202^" .string "#\303^" .string "\222\212" .string "\022\030 :\034$\024_\236F\345\032\036#\323^" .string "\232\232\032\224F+" .string "dFkCTC\032\031\001\222" .string "$\001\"I\036\002\221%\340\223" .string "\301^vF\033\030\211\033\002&\236_" .string "\233\363\032\016" .string "\037" .string "NC_C\367\031n\0321" .string "qCfF\363\032\036" .string "^C\001\233\211\031y\030\311\032\214B" .string "\332\f" .string "\003#\333\003\231B\003\335" .string " \376\274\b\274\030G\002\231R\034\212B\327\323\001 \366\347" .string "" .string "xG\300F" .string "@-\351" .string "\340\240\341\222\016\214\340\222\301!\340\223\036!\340" .string "@\275\350\036\377/\341xG\300F\003" .string "R\343*" .string "" .string "\232\003\300\020\342\b" .string "" .string "\n\0010\321\344\002" .string "\\\343\f \202\340\001\300\321\224\0010\300\344\0010\3214\001\300\300\224\004 B\342\0010\3004\0030\021\342&" .string "" .string "\n\004 R\342\033" .string "" .string ":\003\3001\347\002" .string "S\343\b" .string "" .string "\n\017" .string "" .string "\212,4\240\341\004\300\261\345\004 R\342\f<\203\341\0040\200\344\371\377\377*\001\020\201\342\017" .string "" .string "\352,8\240\341\004\300\261\345\004 R\342\f8\203\341\0040\200\344\371\377\377*\002\020\201\342\007" .string "" .string "\352,<\240\341\004\300\261\345\004 R\342\f4\203\341\0040\200\344\371\377\377*\003\020\201\342" .string "" .string "\240\341\202/\260\341\0010\321$\001\300\321$\001 \321D\0010\300$\001\300\300$\001 \300D\036\377/\341xG\300F\020@-\351 R\342\005" .string "" .string ":\030P\261\350 R\342\030P\240\350\030P\261\350\030P\240\350\371\377\377*\002\316\260\341\030P\261(\030P\240(\030" .string "\261H\030" .string "\240H\020@\275\350\002\317\260\341\0040\221$\0040\200$\036\377/\001\202/\260\341\2620\321 \001 \321D\2620\300 \001 \300D\036\377/\341xG\300F" .string " \240\343\004" .string "Q\343\007" .string "" .string ":\003\300\020\342\f" .string "" .string "\n\004\300l\342\002" .string "\\\343\001 \300\024\f\020A\340\262 \300\240\006" .string "" .string "\352\201\317\260\341\001 \300$\001 \300$\001 \300D\036\377/\341xG\300F" .string " \240\343" .string "@-\351\0020\240\341\002\300\240\341\002\340\240\341 \020Q\342\fP\240(\fP\240( \020Q\"\373\377\377*\001\036\260\341\fP\240(\f" .string "\240H" .string "@\275\350\001\021\260\341\004 \200$\036\377/\001\262 \300@\001\001\021\343\001 \300\024\036\377/\341xG\300F $\240\341" .string "" .string "\301\345\001 \301\345 (\240\341\002 \301\345 ,\240\341\003 \301\345\036\377/\341xG\300F\0010\220\341!" .string "" .string "J" .string " \260\343\2400q\340\032" .string "" .string ": 2q\340\017" .string "" .string ": 4q\340\001" .string "" .string ":" .string "\300\240\343 " .string "" .string "\352\2403q\340\201\003@ \002 \262\340 3q\340\001\003@ \002 \262\340\2402q\340\201\002@ \002 \262\340 2q\340\001\002@ \002 \262\340\2401q\340\201\001@ \002 \262\340 1q\340\001\001@ \002 \262\340\2400q\340\201" .string "@ \002 \262\340\001\020P\340" .string "\020\2401\002" .string "\242\340\036\377/\341\002!\021\342" .string "\020aB@\3002\340" .string "" .string "`\" 2q\340\035" .string "" .string ": 4q\340\017" .string "" .string ":\001\023\240\341 4q\340?#\202\343\013" .string "" .string ":\001\023\240\341 4q\340?&\202\343\007" .string "" .string ":\001\023\240\341 4q\340?)\202\343\001\023\240!?,\202#" .string "0q\342\035" .string "" .string "*!\023\240!\2403q\340\201\003@ \002 \262\340 3q\340\001\003@ \002 \262\340\2402q\340\201\002@ \002 \262\340 2q\340\001\002@ \002 \262\340\2401q\340\201\001@ \002 \262\340 1q\340\001\001@ \002 \262\340\353\377\377*\2400q\340\201" .string "@ \002 \262\340\001\020P\340" .string "\020\2401\002" .string "\242\340\314\317\260\341" .string "" .string "`B" .string "\020a\"\036\377/\341\314\317\260\341" .string "" .string "`B\001@-\351" .string "" .string "\260\343" .string "" .string "\240\341\002@\275\350\036\377/\341xG\300F" .string " \260\343 1q\340\270\377\377:\2402q\340\255\377\377: 4q\340\242\377\377:" .string "\300\240\343\301\377\377\352" .string "\300\237\345\034\377/\3413\005" .string "" .string "" .string "\300\237\345\034\377/\341\233\001" .string "" .string "xG\300F\027\013" .string "\352" .string "G" .string "" .string "xG\300F" .string "" .string "\017\341\200\020\200\343\001\360!\341\200" .string "" .string "\342\036\377/\341xG\300F" .string "" .string "\017\341\200" .string "\300\343" .string "\360!\341\036\377/\341xG\300F\001\300^\345\f" .string "S\341\f0\336'\0030\3367\203\300\216\340\034\377/\341\022" .string " " .string "@" .string "" .string "" .string "" .string "" .string "" .string "\002" .string "" .string "$" .string "\212\001\022" .string "9" .string "" .string "\001 " .string "Z" .string "\230" .string "@" .string "4\2570\257@\257<\257\030\257\024\257\020\257" .string "" .string "4\257" .string "" .string "0\257" .string "" .string "" .string "\260" .string "" .string "" .string "\320" .string "" .string "`\266" .string "" .string "\340\272" .string "" .string "" .string "\326" .string "" .string "" .string "\337" .string "" .string "\377\377\377\377\003\003\002\tX" .string "P" .string "`\001" .string "" .string "" .string "\002" .string "" .string "\001" .string "" .string "" .string "\377\377" .string "" .string "\320\007" .string "" .string "\377\377" .string "" .string "\020\265\375\367\366\377#I\310{#J\022x" .string "\007" .string "\017\020C\310s\005\360)\372\020\274\b\274\030Gp\265\002" .string "\f" .string "\221yRy" .string "y\r\002\033I\025C\nx\002*\020\320\003*\016\320\b*\f\320\006*\n\320\004*\b\320\n*\006\320\013*\004\320\007*\002\320, `p\b\340.!\f(\004\330}#j\036\333" .string "\232B\004\323ap" .string " p\274\b\274\030G\007I\312{\007I\022\t\022\001\np\375\367\273\377" .string " `p\005H)" .string "\371\367*\373\001 \354\347`\022\004" .string "\350\315" .string "" .string "\221g" .string "" .string "\331o" .string "" .string "p\265\f" .string "\376\367z\374\027J\223{\026I 9\211{\335\007" .string "#" .string "-\003\320\311\007\005\321\243p\003\340\311\007\001\320\001!\241p\021{\341q\221z\322z\016M\355{" .string "-\t\320aq\242qR\036I\034\342p!q" .string "(cp\007\320\b\340\341p\"qR\036I\034bq\241q\364\347\376\367Z\374p\274\b\274" .string " \030G`\022\004" .string " \036\004" .string "|\265\f" .string "\201x\005yFy\202y\311\036\020)\006\330" .string ")\004\320" .string "-\004\320k\036\021+\021\331. \035\3403\002\232\030\001#\233\004\323\030" .string "\"\004\340\205\030\355y\035p[\034R\034\212B\370\323" .string " \r\340" .string "#\001\223\300\035\013\006\007I" .string "\220h" .string "\bZ\033\0161" .string "\005\360\320\370" .string "\006" .string "\016`p|\274\b\274" .string " \030G" .string "" .string "\300\315" .string "" .string "\376\265\303x\f" .string "\001yEy\202y. \020+\007\330" .string "+\005\320" .string "&" .string ")\004\320O\036\021/\024\331`p\016\340(\002\001!\200\030\211\004A\030" .string " \004\340\nx%\030I\034@\034\252p\230B\370\323fp\376\274\b\274" .string " \030G\240\034\001\220H" .string "\004I" .string "\226\bZ\033\006\033\016)" .string "\005\360\315\370\336\347\300\315" .string "" .string "\020\2655L5I`h\tx" .string "y" .string ")\n\320\375\367\265\376" .string "(\003\3211H\n!\371\367b\373\020\274\b\274\030G\375\367\006\377\242h" .string "!Qp\360\347\370\265\r" .string ")I\004y\017x" .string "&" .string ",\026\320\003,\024\320\004,\n\320\006,\020\320\007,\016\320\b,\f\320\377,\n\320. hp+\340" .string "/\003\320\376\367\370\371\n$\016\340np#\340\003,\001\320\b,\004\321\032H\006p\032H\371\367\335\373\377,\001\321\025H\004x\247B\356\320\002/\002\320" .string "/\n\320\003\340\003,\347\320\013,\345\320 " .string "\375\367l\376" .string "(\017\320\022\340 " .string "\375\367\302\376" .string "(np\003\320" .string " \370\274\b\274\030G\007H\n!\371\367\016\373\004\340\005H\n!\371\367\t\373np\001 \360\347\350\315" .string "" .string "\221g" .string "" .string "\331o" .string "" .string "\fc" .string "" .string "%(" .string "" .string "\031H" .string "!\001q\304!\001s\030I\001\200\023!\001r\022!\001r\024I 9J}\b#\032CJu\n~\005#\032C\nv\003!\001qpG\rI\020\264" .string "\"\nq\304 \bs\nH 8C}\367$#@Cu\003~\372$#@\003v\021 \br\020 \br\310z\300\007\374\320\nr\nq\n\200\020\274pG \034\004" .string "\377\007" .string "" .string "\020\265" .string "\360\242\370,H\001$" .string "h\244\004\200y" .string "(\005\320)H" .string "x" .string "\006\001\325\b p" .string "\360Z\370&H\373\367\246\373&H\373\367\243\373\"I%H@9Ha\ba\005\360\361\374\377!\001\"\3651" .string " \371\367\311\373" .string "\360\227\370\037H\005!\371\367\243\372\036H\002!\371\367\237\372\001!\021 \004\360i\377\001!\005 \004\360e\377\001!\b \004\360a\377\001!\t \004\360]\377\001!\025 \004\360Y\377\001!\016 \004\360U\377\001!" .string " \004\360Q\377\001!\013 \004\360M\377" .string "\3607\370\002 p\013H" .string "!\001`A`\376\367\271\373\020\274\b\274\030G\314[" .string "" .string "@\021\004" .string "`\266" .string "" .string "\340\272" .string "" .string "\377\377\377" .string "\3258" .string "" .string "s\302" .string "" .string "`\277" .string "" .string "\nJ" .ascii " \001\001\213\030\0203@" .string "\034\037(SP\370\323\007H\006I\002c\3778\3318\002`01B`\201`\003I" .string " \b`pG\310Y" .string "" .string "\210[" .string "" .string "\310[" .string "" .string "\004H" .string "h\200y" .string "(\002\320\003I\005 \bppG" .string "" .string "\314[" .string "" .string "@\021\004" .string "\tHL!" .string "h\tJ\tZ\021`\200{\002(\003\320" .string " \006I\bppG\001 \372\347\005H\001I" .string "i\b`\353\347\314[" .string "" .string "|Y" .string "" .string "\200Y" .string "" .string "@\257" .string "" .string "\004J" .string " A\036\021T@\034" .string "\006" .string "\016\n(\371\323pG\330d" .string "" .string "\020\265\377\367\344\377\013H\374\367\336\377\377\367\354\377\tI" .string " \bp\002 \005\360\360\374" .string "$\002 \373\367\276\371d\034$\004$\024\006,\367\333\020\274\b\274\030GL\257" .string "" .string "\370b" .string "" .string "\377\265\207\260\007\256\300\316" .string "%\001$\021\340\240" .string "\200\031\002\210iF\n\200B\210" .string "\037J\200\002\210\212\200@\210\310\200" .string "\231\001\230" .string "\360\366\371E\031d\034\274B\353\333\n\231(" .string "I\036\376\367\376\372\002\220\007\231\t\230\n\210" .string "'\001%\002\200I\210," .string "A\200J\340\n\230\205BJ\320\007\231\240" .string "F\030\004\2200\210iF\b\200p\210H\2000\037\003\220\002\210\212\200@\210\310\200" .string "\231\001\230" .string "\360\314\371\002\231" .string "\2208\030\210B-\333\007\231\004\230\n^0" .string " 8\034!\001\220A^P\032\004\221\002\231\311\033HC\005\221" .string "\231\376\367\307\372\004\231\257" .string "@\030\t\231\310S\002!q^\001\230\036&\206_\210\033\005\231HC" .string "\231\376\367\267\372\201\031\t\230d\0368\030A\200\002\210\003\231m\034\n\200@\210" .string "'H\200" .string "\340\007" .string "d\034\b\230\204B\261\333\013\260\360\274\b\274\030G\377\265" .string "\"\205\260\322C\017\233\001\222\177\"\032`\016\232" .string "#\023`\330J #\377\367t\377\326H !" .string "\360M\371 \324M\002" .string "" .string "\220x')" .string "\002\250" .string "\360\030\371" .string "$\f!hFA^\246" .string "\250_xC\376\367|\372\250S\016!hFA^v\031\002 0^xC\376\367r\372p\200" .string "\230d\034\204B\350\333\001 \300\007" .string "&" .string "\220-\340" .string ".+\320\300H\003\220 " .string "%\004\220\003\230\251" .string "\f\030\002 ^" .string "'\347_\002\220\273H9" .string "AC\002\230\377\"\0042PC\b\032}!\311" .string "\376\367M\372 \200\377 \0040GC\263I\002\230HC}!8\030\311" .string "\376\367A\372`\200\004\230m\034\205B\332\333" .string "$.\340\252H\003\220 " .string "%\004\220\003\230\251" .string "\f\030\002 ^" .string "'\347_\002\220c!8\030HC\214!\376\367'\372 \200\002\230c!\300\033HC\214!\376\367\037\372`\200\004\230m\034\205B\344\333\334\347\007\230\241" .string "@X\230I\200\034 \"" .string "\360b\370" .string "\231\210B\001\335iF\021\301d\034\b\230\204B\356\333v\034\006.\234\335\001\230@\034\013\320\001\230\201" .string "\007\230@X\001x\017\230\001`\016\231" .string "\230\b`\t\260Q\347\017\231\177 \b`\016\230\377!\001`\366\347\360\265-\"\206I\206H\022\001\205\260\376\367\347\370\203M" .string "$\202N\f=\006\340\240" .string "\200\031\201\034\001\"\374\367\330\375d\034(x\204B\365\323{H\002\251\b8oF\003\307{J)x\005#\b0\377\367,\377\002\230\004&xL7\004\177(\002\320ih[)\r\332)xrH\376\367h\370" .string "(\006\320" .string " \003\251\002\360A\372hF" .string "{" .string "\340\177 `p>p" .string " \375\367\332\374\005\260\n\347\367\265" .string "$%" .string "#" .string "\206F " .string "\204\260\214F#\340\202" .string "qF\217^fF" .string "\227\261^\002&OC\001\221qFQ\030\216_aFQ\030\002\"\002\226\212^VC\271\031" .string "\237\f\0319" .string "yC\002\2367" .string "wC\311\031M\031\001\231\027" .string "\016" .string "NCWC\361\031\313\030@\034\006\231\210B\330\333\030" .string "" .string "\360\201\370\006" .string "(" .string "" .string "\360}\370\001" .string " " .string "\376\367t\371d!HC1" .string "\376\367o\371\007\260\310\346\376\265IK\206F\336\007\034" .string "7" .string "" .string "%\224F\021\340\252" .string "\210^\230B" .string "\332\003" .string "\260B" .string "\335\006" .string "R\030\002 \020^\240B" .string "\332\004" .string "\270B" .string "\335\007" .string "m\034eE\353\333hF\003\200\361\032D\200\201\2009\033\301\200\b\"iFpF\376\367D\370\376\274\b\274\030G\370\265\004" .string "\007" .string "" .string " \016" .string "\005" .string "\002" .string "\007\340\223" .string "\371^\333\031\b\030\002!Y^M\031R\0341" .string "\262B\364\333\376\367,\371\007" .string "1" .string "(" .string "\376\367'\371iF\017\200H\200" .string " \002#\n^\313^\b\340\201" .string "eZ\255\032eR\t\031M\210\355\032@\034M\200\260B\364\333\370\274\b\274\030G\023\265kF\004 " .string "!\030^Y^\002\"\232^@\032\006!Y^\211\032\002" .string "BC\b" .string "HC\020\030" .string "\360\003\370\034\274\b\274\030G\370\265\007\036\001\334" .string " \341\347\001$\005" .string "\001\340d" .string "m\020\254B\373\333&" .string "1" .string "8" .string "\376\367\352\370" .string "\031D\020\264B\366\3330" .string "\317\347L{" .string "" .string "\306\003" .string "" .string "\004m" .string "" .string "|x" .string "" .string "dx" .string "" .string "`\277" .string "" .string "\377\377\377\177e" .string "\251\377\360\377\307\377\366\377\346\377\371\377\004" .string "\372\377#" .string "\372\377A" .string "\370\377_" .string "\362\377w" .string "\342\377\177" .string "\307\377q" .string "\257\377Y" .string "\236\377=" .string "\223\377 " .string "\214\377\002" .string "\205\377\344\377\214\377\312\377\232\377\266\377\255\377\242\377\302\377\224\377\332\377\217\377\366\377\216\377\021" .string "\224\377+" .string "\236\377E" .string "\256\377\\" .string "\304\377p" .string "\336\377|" .string "\375\377~" .string "\033" .string "\177" .string "9" .string "x" .string "T" .string "l" .string "n" .string "]" .string "\210" .string "M" .string "c" .string "\235" .string "\253\377\221" .string "\234\377\202" .string "\220\377m" .string "\212\377W" .string "\207\377A" .string "\205\377-" .string "\206\377\031" .string "\215\377\007" .string "\226\377\365\377\240\377\345\377\254\377\327\377\272\377\313\377\310\377\277\377\326\377\262\377\343\377\251\377\362\377\244\377\003" .string "\243\377\024" .string "\243\377&" .string "\244\3777" .string "\251\377H" .string "\257\377Y" .string "\270\377i" .string "\306\377w" .string "\332\377\177" .string "\360\377\177" .string "\005" .string "}" .string "\032" .string "x" .string "." .string "p" .string "A" .string "i" .string "T" .string "a" .string "g" .string "Y" .string "o" .string "#" .string "\201\377\f" .string "{\377\365\377z\377\337\377\201\377\313\377\215\377\267\377\235\377\246\377\254\377\231\377\301\377\216\377\327\377\211\377\357\377\210\377\007" .string "\212\377 " .string "\222\3778" .string "\235\377N" .string "\255\377`" .string "\302\377k" .string "\331\377r" .string "\360\377t" .string "\007" .string "t" .string "\036" .string "n" .string "4" .string "f" .string "J" .string "^" .string "_" .string "U" .string "s" .string "I" .string "\200" .string "4" .string "\202" .string "\033" .string "~" .string "\002" .string "u" .string "\354\377j" .string "\326\377^" .string "\300\377N" .string "\255\377=" .string "\234\377m" .string "v\377v" .string "w\377[" .string "~\377@" .string "\204\377&" .string "\215\377\f" .string "\225\377\361\377\236\377\327\377\250\377\275\377\264\377\244\377\307\377\227\377\315\377\262\377\323\377\315\377\331\377\350\377\340\377\002" .string "\346\377\035" .string "\360\3777" .string "\377\377!" .string "\020" .string "\n" .string "\037" .string "\363\377." .string "\333\377?" .string "\305\377Q" .string "\255\377m" .string "\237\377p" .string "\272\377n" .string "\325\377l" .string "\360\377j" .string "\013" .string "h" .string "%" .string "g" .string "@" .string "f" .string "[" .string "f" .string "v" .string "e" .string "\221" .string "w" .string "\210\377\201\377\221\377\240\377\231\377\277\377\240\377\337\377\247\377" .string "" .string "\255\377 " .string "\263\377@" .string "\270\377`" .string "\306\377{" .string "\315\377[" .string "\327\377<" .string "\341\377\036" .string "\353\377\377\377\365\377\340\377\377\377\301\377\t" .string "\243\377\020" .string "\226\377\023" .string "\266\377\026" .string "\327\377\031" .string "\367\377\034" .string "\027" .string " " .string "7" .string "%" .string "X" .string "." .string "v" .ascii "8" .string "" .string "e" .string "B" .string "G" .string "N" .string ")" .string "W" .string "\013" .string "b" .string "\355\377l" .string "\317\377v" .string "\261\377\202" .string "\223\377v" .string "\223\377\215\377\230\377\236\377\236\377\257\377\246\377\300\377\254\377\321\377\263\377\343\377\271\377\364\377\300\377\005" .string "\305\377\026" .string "\313\377'" .string "\320\3778" .string "\327\377I" .string "\334\377Z" .string "\341\377k" .string "\351\377|" .string "\361\377|" .string "\364\377k" .string "\375\377[" .string "\b" .string "L" .string "\023" .string "<" .string "\037" .string "-" .string ")" .string "\035" .string "2" .string "\r" .string "=" .string "\376\377F" .string "\357\377O" .string "\336\377V" .string "\316\377_" .string "\276\377j" .string "\257\377t" .string "\237\377~" .string "\220\377\215" .string "\202\377Xu" .string "" .string "\332u" .string "" .string "\\v" .string "" .string "\336v" .string "" .string "`w" .string "" .string "\342w" .string "" .string "\367O-\351" .string "" .string "\240\343x\216\237\345\020\320M\342t\236\237\345\270" .string "\315\341" .string "p\240\341\264" .string "\310\341\024" .string "\235\345\007" .string "P\3414\001" .string "\332\\\036\237\345" .string "" .string "\240\343\207S\201\340\002\030A\342\207\243\201\340L\036\237\345" .string "" .string "\315\345" .string "\260\240\341\007c\201\340" .string "@\240\341\001" .string "\315\345\270" .string "\315\341&" .string "" .string "\352\004\020\326\347" .string "" .string "Q\343\270\020\335\001\001\020\201\002\005" .string "" .string "\n\370\020\335\341\001" .string "[\341\001\260\240\261" .string "\020\335\265\001\020\315\265" .string "\020\240\343\270\020\315\341\324\020\226\341" .string "" .string "Q\343\005" .string "q\023\037" .string "Q\023\035" .string "" .string "\n" .string "" .string "P\343\005" .string "p\023\037" .string "P\023#" .string "" .string "\n\002 \200\342\004" .string "R\343\001" .string "" .string "\212\003" .string "Q\343\004" .string "" .string "\312\003" .string "P\343\006" .string "" .string "\332\002" .string "\201\342\004" .string "P\343\003" .string "" .string "\212\r \240\341\007\020\240\341\004" .string "\240\341^\355\377\353\324" .string "\226\341\001\020\204\342\001H\240\341DH\240\341\020\020\235\345\004" .string "Q\341\325\377\377\312\004\020\206\340\001\020Q\345" .string "" .string "Q\343\024" .string "" .string "\032\017" .string "" .string "\352" .string "" .string "P\343\005" .string "p\023\037" .string "P\023\357\377\377\n\r0\240\341\007 \240\341\004\020\240\341\b" .string "\215\342?\355\377\353\351\377\377\352\r0\240\341\b \215\342\007\020\240\341\004" .string "\240\341f\355\377\353\343\377\377\352\370\020\335\341\001" .string "[\341" .string "\020\335\265\001\020\315\265" .string "" .string "P\343\005" .string "p\023\037" .string "P\023\007" .string "" .string "\n\320" .string "\335\341\020-\237\345\001\020D\342\2000\200\340\003 \202\340\001" .string "\200\342\001\020\302\345" .string "" .string "\315\345" .string " \240\343U" .string "" .string "\352\354\274\237\345\202\300\202\340\013@\214\340\002" .string "\324\345" .string "" .string "P\343*" .string "" .string "\032\321" .string "\335\341\002" .string "P\341\321" .string "\324\301\200\020\205\300\362\020\321\301$" .string "" .string "\332\037" .string "" .string "\352" .string "0\326\347" .string "" .string "P\343" .string "0c\342" .string "0\306\347" .string "" .string "\240\263\2000\212\340\3600\323\341\003\020A\340\234<\237\345" .string "0\223\345\001<\203\342\2760\323\341" .string "0c\342\001" .string "S\341\003" .string "" .string "\332\0020\330\345\377" .string "S\343\0010\2032\0020\3105\002\tQ\343\0029\340\243\004" .string "" .string "\252\002\tq\343d<\237\325\2000\205\300\260\020\303\301\001" .string "" .string "\312\200@\205\340\2600\304\341\001" .string "@\342" .string "\b\240\341@\b\240\341\3340\233\341" .string "" .string "S\341\334\377\377\332!" .string "" .string "\352\334" .string "\233\341\200\020\205\340\360\020\321\341\032" .string "" .string "\352\2000\212\340\3600\323\341\003\020\201\340\020<\237\345" .string "0\223\345\001<\203\342\2760\323\341" .string "0c\342\001" .string "S\341\003" .string "" .string "\332\0020\330\345\377" .string "S\343\0010\2032\0020\3105\002\tQ\343\0029\340\243\004" .string "" .string "\252\002\tq\343\330;\237\325\2000\205\300\262\020\303\301\001" .string "" .string "\312\200\300\205\340\2620\314\341\001" .string "\200\342" .string "\b\240\341@\b\240\341\3210\324\341" .string "" .string "S\341\341\377\377\252\001" .string "\202\342" .string "(\240\341B(\240\341\320" .string "\335\341\002" .string "P\341\320" .string "\335\321\001\020@\322\244\377\377\312\036" .string "" .string "\352|\313\237\345\201 \201\340\f0\202\340\002" .string "\323\345\001" .string "P\343\321" .string "\335\021\001" .string "P\021\321" .string "\323\321\006" .string "" .string "\332\021" .string "" .string "\352" .string "@\326\347" .string "\240\206\340\001" .string "@\342" .string "\b\240\341@\b\240\341\001@\312\345\322@\234\341" .string "" .string "T\341\366\377\377\332" .string "@\240\343\006" .string "\200\340\001@\300\345\001" .string "\323\345\001" .string "\200\342\001" .string "\303\345\002" .string "\334\347\001" .string "\200\342\002" .string "\314\347\001" .string "A\342" .string "\030\240\341A\030\240\341" .string "" .string "Q\343\320" .string "\335\261" .string "\240\240\263\f" .string "\215\265\333\377\377\252@" .string "" .string "\352\350\032\237\345\212" .string "\212\340\320@\221\341\001" .string "\200\340\321" .string "\320\341\004" .string "\215\3450" .string "" .string "\352\320\n\237\345\n\020\240\343" .string "" .string "\220\345\262\003\320\341\200\001`\340\371\370\377\353" .string "\270\240\341\030" .string "\235\345K\270\240\341\200\001`\340\n\020\240\343\222\370\377\353\3240\226\341" .string "(\240\341B(\240\341\001" .string "S\343\004" .string "\206\020\321\020P\021\001" .string "Q\023\004" .string "" .string "\n\001" .string "q\343\321" .string "\320\021\001" .string "P\023\001" .string "p\023/" .string "" .string "\032\204" .string "\205\340\360\020\320\341\002" .string "Q\341+" .string "" .string "\332" .string "" .string "T\343 " .string "" .string "\n\020 \235\345\002" .string "T\341\362 \320\021\001" .string "R\021\b" .string "" .string "\312\362" .string "P\341\001" .string "P\341\005" .string "" .string "\312\364" .string "\330\341\200\020\211\340" .string "@\301\345\001" .string "\200\342\001p\301\345\264" .string "\310\341\001" .string "\204\342" .string "H\240\341\004" .string "\235\345DH\240\341\004" .string "P\341\314\377\377\252\364" .string "\330\341A\017P\343\030" .string "" .string "\252\001" .string "\212\342" .string "\250\240\341\f" .string "\235\345J\250\240\341\n" .string "P\341\001" .string "\207\322" .string "x\240\321Gx\240\321\327\376\377\332\270\377\377\352\360" .string "\325\341\362\020\325\341\001" .string "P\341\350\377\377\332\364" .string "\330\341" .string " \240\343\200\020\211\340" .string " \301\345\340\377\377\352\003" .string "S\343\204" .string "\205\300\360" .string "\320\301\013" .string "P\301\336\377\377\332\327\377\377\352\034\320\215\342\360O\275\350\036\377/\341\377O-\351$\320M\342X" .string "\235\345\002`\240\341\003p\240\341\\\020\235\345\200\003\240\341\2060\200\340p\t\237\345\201\023\240\341\207 \201\340\363" .string "\220\341`\031\237\345A\273\203\342\362\020\221\341" .string "" .string "P\343" .string "" .string "`\262" .string "" .string "Q\343" .string "\020a\262\001\300\200\340\360\t\333\341A\033\202\342" .string "\020\215\345\360\031\321\341" .string "" .string "P\343" .string "" .string "`\262" .string "" .string "Q\343" .string "\020a\262\001" .string "\200\340" .string "" .string "\\\341" .string "" .string "\340\303\001" .string "\240\323\b" .string "\215\345" .string "" .string "\235\345\360Q\333\341\360A\320\341" .string "" .string "T\343" .string "" .string "d\262\004" .string "\240\241" .string "" .string "U\343" .string "\020e\262\005\020\240\241\001" .string "P\341" .string "" .string "\235\245\004\020\240\241\376" .string "\320\241\362\001\333\261\005\020\240\261\200\003\240\341\032\370\377\353" .string "\b\240\341@\b\240\341" .string "" .string "P\343" .string "" .string "`\262" .string "\b\240\261@\b\240\261\200" .string "P\343\200" .string "\240\303\001" .string "" .string "\312" .string "" .string "P\343" .string "" .string "\240\263\200" .string "`\342" .string "\b\240\341@\b\240\341\200\003\240\341\300\037\240\341\241\f\200\340\200\244\240\341J\250\240\341\200" .string "Z\343\200\240\240\303\001" .string "" .string "\312" .string "" .string "Z\343" .string "\240\240\263" .string "" .string "U\343" .string "" .string "e\262\005" .string "\240\241" .string "" .string "T\343" .string "\020d\262\004\020\240\241\0010\200\340X" .string "\235\345\b\020\235\345\\ \235\345\001" .string "@\340\020" .string "\215\345\200\003\240\341\206" .string "\200\340\b\300\235\345A\213\200\342\360\001\330\341\f B\340\024 \215\345\202#\240\341\207 \202\340A\233\202\342\360!\331\341" .string "" .string "P\343" .string "\020`\262" .string "\020\240\241" .string "\340R\342" .string " n\262\002\020\201\340\001\300C\340X\020\235\345\b \235\345\b0\235\345\002\020\201\340\030\020\215\345\201\023\240\341\206\020\201\340A\033\201\342\004\020\215\345\360\021\321\341" .string "" .string "Q\343" .string " a\262\001 \240\241\f\020\215\345\\\020\235\345\003\020\201\340\034\020\215\345\201\023\240\341\207\020\201\340A\033\201\342\b\020\215\345\360\021\321\341" .string "" .string "Q\343" .string "0a\262\0010\240\241" .string "" .ascii "P\343\003 \202" .string "\340\0020\214\340" .string "" .string "`\262" .string " ^\342" .string " n\262" .string "" .string "U\343\002\300\200\340" .string "" .string "e\262\005" .string "\240\241" .string "" .string "T\343" .string " d\262\004 \240\241\002" .string "\200\340" .string " \214\340\f" .string "\235\345" .string "" .string "P\343" .string "" .string "`\262" .string "" .string "Q\343" .string "\020a\262\001" .string "\200\340" .string "" .string "B\340\200\003\240\341\003\020\240\341\262\367\377\353" .string "\b\240\341@\b\240\341\200" .string "P\343\200" .string "\240\303\001" .string "" .string "\312" .string "" .string "P\343" .string "" .string "\240\263\200" .string "`\342" .string "\b\240\341@\b\240\341\004" .string "@\342\200\021\200\340\200\003\201\340\300\037\240\341\241\f\200\340\200\004\240\341@\b\240\341\200" .string "P\343\200" .string "\240\303\001" .string "" .string "\312" .string "" .string "P\343" .string "" .string "\240\263" .string "" .string "T\343" .string "@d\262" .string "" .string "U\343" .string "Pe\262\005" .string "T\341\004 \340\343\0040\240\343 " .string "" .string "\332\002\020G\342" .string "" .string "Q\343\003" .string "" .string "\272\\\020\235\345\001\023\207\340\002\030\201\342\0062\301\345\\\020\235\345\001\023\207\340\002\030\201\342\0072\301\345\b\"\301\345\003" .string "" .string "\272\034\020\235\345\001\023\207\340\002\030\201\342\0062\301\345\034\020\235\345\001\023\207\340\002\030\201\342\0072\301\345\b\"\301\345\003" .string "" .string "\272\024\020\235\345\001\023\207\340\002\030\201\342\0062\301\345\024\020\235\345\001\023\207\340\002\030\201\342\0072\301\345\b\"\301\345!" .string "" .string "\352$\020\235\345\002\300\206\342\001@A\342\004" .string "\\\341\003" .string "" .string "\312X\020\235\345\001\023\206\340\002\030\201\342\n\"\301\345X\020\235\345\001\023\206\340\002\030\201\342\t2\301\345\b2\301\345\003" .string "" .string "\312\030\020\235\345\001\023\206\340\002\030\201\342\n\"\301\345\030\020\235\345\001\023\206\340\002\030\201\342\t2\301\345\b2\301\345\003" .string "" .string "\312\020\020\235\345\001\023\206\340\002\030\201\342\n\"\301\345\020\020\235\345\001\023\206\340\002\030\201\342\t2\301\345\b2\301\345" .string "\020\235\345\360!\333\341\360\021\321\341" .string "" .string "Q\343" .string "\020a\262" .string "" .string "R\343" .string " b\262\002" .string "Q\341I" .string "" .string "\332\002\020W\3429" .string "" .string "J" .string "\020\235\345\374\020\321\341\232\001\001\340\301/\240\341\242\034\201\340" .string " \235\345\301\023\240\341\274\020\302\341\b\020\235\345\374\020\321\341\232\001\001\340\301/\240\341\242\034\201\340\b \235\345\301\023\240\341\274\020\302\341\374\020\331\341\232\001\001\340\301/\240\341\242\034\201\340\301\023\240\341\274\020\311\341" .string "\020\235\345\374 \321\341\360\021\321\341\001 B\340" .string "\020\235\345\376\020\321\341\001\020B\340" .string " \235\345\241\037\201\340\301\020\240\341\274\020\302\341\b\020\235\345\374 \321\341\360\021\321\341\001 B\340\b\020\235\345\376\020\321\341\001\020B\340\b \235\345\241\037\201\340\301\020\240\341\274\020\302\341\374\020\331\341\360!\331\341\002\020A\340\376 \331\341\002\020A\340\241\037\201\340\201\027\240\341A\030\240\341\200 `\342\222\001\001\340\301/\240\341\242\034\201\340\301\023\240\341\274\020\311\341\376 \331\341\200\020`\342\222\001" .string "\340\300/\240\341\242\f\200\340\300\003\240\341\276" .string "\311\341\360\001\331\341\221" .string "" .string "\340\300\037\240\341\241\f\200\340\300\003\240\341\260\001\311\341E" .string "" .string "\352\360\021\330\341\200" .string "`\342\220\001\001\340\301/\240\341\242\034\201\340\301\023\240\341\260\021\310\341\362\021\330\341\220\001\001\340\301/\240\341\242\034\201\340\301\023\240\341\262\021\310\341$\020\235\345\002 \206\342\001\020A\342\001" .string "R\3413" .string "" .string "\312\364\021\330\341\221" .string "" .string "\340\300\037\240\341\241\f\200\340\200\004\240\341@\b\240\341\232" .string "" .string "\340\300\037\240\341\241\f\200\340\300\003\240\341\264\001\310\341\364\001\333\341\232" .string "" .string "\340\300\037\240\341\241\f\200\340\300\003\240\341\264\001\313\341\004" .string "\235\345\364\001\320\341\232" .string "" .string "\340\300\037\240\341\241\f\200\340\004\020\235\345\300\003\240\341\264\001\301\341\360\001\333\341\362\021\333\341\001" .string "@\340\364\021\333\341\001" .string "@\340\240\017\200\340\300" .string "\240\341\260\001\313\341\004" .string "\235\345\360\021\320\341\362\001\320\341" .string "\020A\340\004" .string "\235\345\364\001\320\341" .string "" .string "A\340\004\020\235\345\240\017\200\340\300" .string "\240\341\260\001\301\341\360\001\330\341\362\021\330\341\001" .string "@\340\364\021\330\341\001" .string "@\340\240\017\200\340\300" .string "\240\341\260\001\310\341`" .string "\235\345`\020\235\345\260" .string "\320\341\001" .string "\200\342\260" .string "\301\3414\320\215\342\360O\275\350\036\377/\341\367O-\351\020\320M\342\004" .string "\240\343" .string "@\240\343\fP\215\342\004\220\240\341\274" .string "\315\341\264" .string "" .string "\352\004\003\237\345\204" .string "\200\340\3200\320\341\321" .string "\320\341" .string "\203\203\340\002\310\210\342\002\314\214\342\330\020\334\341\003" .string "Q\343\003" .string "q\023\246" .string "" .string "\032\001\240@\342\n(\240\341B(\240\341\001p\200\342\007" .string "R\341\027" .string "" .string "\312\001\020C\342\001\030\240\341A\030\240\341\001\260\203\342\f" .string "" .string "\352\002c\201\340\002h\206\342\002l\206\342\330`\326\341" .string "" .string "V\343\003" .string "" .string "\n\002`\206\342\004" .string "V\343xb\237\225\b\220\306\227\001\020\201\342\001\030\240\341A\030\240\341\013" .string "Q\341\001\020\202\302\001(\240\301B(\240\301\346\377\377\312\354\377\377\352\330\020\334\341\003" .string "Q\343\002" .string "" .string "\n\003" .string "q\343=" .string "" .string "\n\177" .string "" .string "\352\200\023\240\341\203\020\201\340A\033\201\342\360!\321\341\360i\321\341\006" .string "R\341x" .string "" .string "\332\020`\235\345\002`F\342\006" .string "S\341\032" .string "" .string "\272\003" .string "" .string "\032\362\021\321\341" .string "\020a\342\001" .string "R\341)" .string "" .string "\272\n\030\240\341A\030\240\341\036 \240\343\007" .string "Q\341j" .string "" .string "\312\001" .string "C\342" .string "\b\240\341@\b\240\341\001\300\203\342\005" .string "" .string "\352\001c\200\340\001" .string "\200\342\002h\206\342" .string "\b\240\341@\b\240\341\b\"\306\345\f" .string "P\341\001" .string "\201\302" .string "\030\240\301A\030\240\301\355\377\377\312\363\377\377\352\362!\321\341\364\021\321\341\001" .string "R\341\005" .string "" .string "\272\332`\334\341" .string "" .string "V\343\003" .string "V\023\003 \240\001\002\020\203\002\006" .string "" .string "\n\001" .string "R\341B" .string "" .string "\252\331\020\334\341" .string "" .string "Q\343\003" .string "Q\023>" .string "" .string "\032\002" .string "" .string "\352\0018\240\341C8\240\341?" .string "" .string "\352\003 \240\341\001\020\203\342\371\377\377\352\200#\240\341\203\020\202\340A\033\201\342\360a\321\341\360\271\321\341\006" .string "[\341;" .string "" .string "\332\001" .string "S\343\036" .string "" .string "\312\007" .string "" .string "\032A\033\202\342\002\020\201\342\376 \321\341\360\021\321\341" .string "\020a\342\001" .string "R\341\t \240\301*" .string "" .string "\312\n\030\240\341A\030\240\341\036 \340\343\007" .string "Q\341+" .string "" .string "\312\001" .string "C\342" .string "\b\240\341@\b\240\341\001\300\203\342\005" .string "" .string "\352\001c\200\340\001" .string "\200\342\002h\206\342" .string "\b\240\341@\b\240\341\b\"\306\345\f" .string "P\341\001" .string "\201\302" .string "\030\240\301A\030\240\301\355\377\377\312\363\377\377\352\376 \321\341\374\020\321\341\001" .string "R\341\004" .string "" .string "\312\326`\334\341" .string "" .string "V\343\003" .string "V\023\002\020C\002\t" .string "" .string "\n\001" .string "R\341\004" .string "" .string "\332\327\020\334\341" .string "" .string "Q\343\003" .string "Q\023\001\020C\002\002" .string "" .string "\n`" .string "\237\345\b\220\300\347\n" .string "" .string "\352\001(\240\341B(\240\341\004\020\215\342" .string "" .string "\215\345!" .string "\201\350\020`\215\342\003" .string "\226\350\254\375\377\353\374" .string "\335\341\027" .string "P\343\005" .string "" .string "\252\001" .string "\204\342" .string "H\240\341DH\240\341\030" .string "\235\345" .string "" .string "T\341G\377\377\272\034\320\215\342\360O\275\350\036\377/\341Hb" .string "" .string "" .string "\221" .string "" .string "\020\004\003" .string "\b\002\002" .string "\304b" .string "" .string "\314[" .string "" .string "\001\200\377\377\220\003\001" .string "\304\220" .string "" .string "\374\017-\3510`\037\345\304O\237\345" .string "" .string "P\343" .string "\200\240\343\2013\240\341\001\200\306\005" .string "@\324\345\2000\203\340\001\310\203\342\b" .ascii "T\343\0013\200\340\0028\203\342\260 \315\001A\316\214" .string "\342\202?\203\342\001p\240\343\262 \315\001\017" .string "" .string "\n\204O\237\345" .string "P\224\345\200O\237\345\027" .string "\025\341\360@\324\341\002\220\240\021\004\220\240\001\260\220\315\341\001\220\200\342\027\t\025\341\002\220\240\021\004\220\240\001\262\220\315\341\002\220\200\342\027\t\025\341\004 \240\001\264 \315\341\360 \334\341\362\220\335\341\002@\240\343\001P\340\343\t" .string "R\341\013" .string "" .string "\252" .string "\240i\342\n" .string "R\341\b" .string "" .string "\272\362\240\\\341\360\260\335\341\n" .string "[\341\004" .string "" .string "\332\364\260\335\341\362\240\334\341" .string "\260k\342\013" .string "Z\341i" .string "" .string "\312\005" .string "P\343\034" .string "" .string "\252\001" .string "\326\345" .string "" .string "P\343\031" .string "" .string "\032\364 \335\341\362" .string "\334\341" .string " b\342\002" .string "P\341\024" .string "" .string "\312\330\016\237\345\201#\200\340(\001\037\345\001\003\200\340" .string "\020\320\345" .string "" .string "Q\343\r" .string "" .string "\032@\020P\345" .string "" .string "Q\343\n" .string "" .string "\n?\020P\345" .string "" .string "Q\343\007" .string "" .string "\n\360\020\322\341\002 \202\342" .string "" .string "Q\343" .string "@\300\245" .string "P\300\265\f" .string "R\341\001" .string "\200\342\356\377\377:\360" .string "\334\341" .string "" .string "Y\341\001p\306\325\001\200\306\305" .string "" .string "P\343\377" .string "\240\263" .string "p\303\245" .string "" .string "\303\265\321" .string "S\341\001" .string "P\343\001" .string "p\023?" .string "C\002~\020L\002" .string "0\240\003\037" .string "" .string "\n\320\004S\341\001" .string "P\343\001" .string "p\023~\020\214\002\202\020L\022?" .string "\203\002" .string " \240\003A" .string "C\022" .string "\300\240\023#" .string "" .string "\n" .string "0\240\343\320 \320\341\001" .string "R\343\001" .string "r\023\003" .string "" .string "\n\360 \321\341" .string "" .string "R\343" .string "@\300\245" .string "P\300\265\0010\203\342\003" .string "S\343\002\020\201\342\001" .string "\200\342\362\377\377\272\001\300\214\342\003" .string "\\\343=" .string "\200\342z\020\201\342\354\377\377\272\001" .string "\240\343\374\017\275\350\036\377/\341\320 \320\341\001" .string "R\343\001" .string "r\023\003" .string "" .string "\n\360 \321\341" .string "" .string "R\343" .string "@\300\245" .string "P\300\265\0010\203\342\003" .string "S\343@" .string "\200\342\200\020\201\342\362\377\377\272\356\377\377\352\3200\320\341\001" .string "S\343\001" .string "s\023\003" .string "" .string "\n\3600\321\341" .string "" .string "S\343" .string "@\300\245" .string "P\300\265\001 \202\342\003" .string "R\343\002\020\201\342\001" .string "\200\342\362\377\377\272\340\377\377\352\321" .string "S\341\002" .string "P\343\002" .string "p\023\001" .string "\326\005\001" .string "P\003\n" .string "" .string "\032A" .string "S\345" .string "" .string "P\343\007" .string "" .string "\n@" .string "S\345" .string "" .string "P\343?" .string "S\025" .string "" .string "P\023\002" .string "" .string "\n" .string "" .string "R\343" .string "@\303\245" .string "P\303\265" .string "" .string "\240\343\316\377\377\352\360\001-\351" .string "@\240\341\0020D\342\003h\240\341\002PA\342\0058\240\341" .string "" .string "\240\343Fh\240\341C8\240\341\002\300\201\342\f" .string "" .string "\352\203\023\240\341\206\020\201\340A\033\201\342\360\021\321\341" .string "" .string "Q\343" .string "\020a\262\002" .string "Q\341\001" .string "\200\322\001\020\203\342" .string "\b\240\321\0018\240\341@\b\240\321C8\240\341\f" .string "S\341\360\377\377\332\001\200D\342\005x\240\341\b\030\240\341Gx\240\341A\030\240\341\002`\204\342\f" .string "" .string "\352\2073\240\341\2010\203\340A;\203\342\3601\323\341\001\020\201\342\001\030\240\341" .string "" .string "S\343" .string "0c\262\002" .string "S\341\001" .string "\200\322" .string "\b\240\321@\b\240\321A\030\240\341\006" .string "Q\341\fx\240\301Gx\240\301\b\030\240\301\355\377\377\332\013" .string "" .string "\352\2073\240\341\2010\203\340A;\203\342\3601\323\341\001\020\201\342\001\030\240\341" .string "" .string "S\343" .string "0c\262\002" .string "S\341\001" .string "\200\322" .string "\b\240\321@\b\240\321A\030\240\341\006" .string "Q\341\360\377\377\332\003\020\204\342\001H\240\341DH\240\341\005\030\240\341\013" .string "" .string "\352\2013\240\341\2040\203\340A;\203\342\3601\323\341\001\020\201\342\001\030\240\341" .string "" .string "S\343" .string "0c\262\002" .string "S\341\001" .string "\200\322" .string "\b\240\321@\b\240\321A\030\240\341\f" .string "Q\341\360\377\377\332\360\001\275\350\036\377/\341\360_-\351\001`\240\341" .string "@\240\341\006\203\200\340`\004\037\345\002P\240\341\b" .string "\320\347" .string "" .string "P\343W" .string "" .string "\032l\004\037\345d\224\037\345" .string "" .string "\220\3458\020\320\345\366\243\320\341\364\303\320\341\362#\320\341\206\003\240\341\204" .string "\200\340\022pa\342A\013\200\342\360\021\320\341\002" .string "Q\341\001" .string "\\\241(" .string "" .string "\332\262\301\320\341\264\261\320\341\376" .string "\320\341\013\300\214\340\f\310\240\341" .string "" .string "Q\341L\310\240\341@" .string "" .string "\332" .string "\020b\342\001" .string "P\341\001" .string "" .string "\312" .string "" .string "T\343;" .string "" .string "\032\001" .string "\\\341\002" .string "" .string "\272\002" .string "C\342" .string "" .string "T\3416" .string "" .string "\272" .string "0\240\343\n \240\341\006\020\240\341\004" .string "\240\341w\377\377\353\007" .string "P\341\003" .string "\240\243." .string "" .string "\272\030\025\037\345\b" .string "\301\347\360" .string "\325\341\036" .string "P\343\006" .string "" .string "\252\200@\311\347\360" .string "\325\341\200" .string "\211\340\001`\300\345\260" .string "\325\341\001" .string "\200\342\260" .string "\305\341\001" .string "\240\343\360_\275\350\036\377/\341" .string "\260b\342\013" .string "Q\341" .string "\300l\322\001" .string "\\\321\032" .string "" .string "\252\274\300\320\341\276\260\320\341\362\001\320\341\013\300\214\340\f\310\240\341" .string "" .string "Q\341L\310\240\341\022" .string "" .string "\252\002" .string "P\341\002" .string "" .string "\272\001" .string "C\342" .string "" .string "T\341\r" .string "" .string "\032\002" .string "\\\341\001" .string "" .string "\312\002" .string "T\343\t" .string "" .string "\252\001" .string "D\342" .string "\b\240\341\0010\240\343\n \240\341\006\020\240\341@\b\240\341H\377\377\353\007" .string "P\341\002" .string "\340\243\320\377\377\252" .string "" .string "\240\343\333\377\377\352\377O-\351" .string "P\240\343D\320M\342\001\200\240\341\370\025\037\345\020P\215\345\274P\315\341\002P\301\345" .string "\032\237\345" .string "`\240\341\374\305\037\345\377" .string "\240\343\005\240\240\341\005\220\240\341\005p\240\341\005 \240\341" .string "" .string "\301\345\006" .string "R\341" .string "\020\240\263 " .string "" .string "\272%" .string "" .string "\352" .string "@\234\345\201\003\240\341\202" .string "\200\3409@\324\345A;\200\342\360\001\323\341\001" .string "T\343\005" .string "" .string "\032\260I\237\345\002A\224\347\004" .string "@\340" .string "\b\240\341@\b\240\341\260\001\303\341" .string "" .string "P\343" .string "0\234\345" .string "" .string "`\262" .string "\b\240\341\2623\323\341@\b\240\341" .string "" .string "W\341" .string "p\240\261" .string "" .string "S\341\004" .string "" .string "\252d9\237\345\3600\323\341" .string "" .string "S\341\001" .string "\212\242\001\250\300\243\001" .string "\201\342" .string "\030\240\341A\030\240\341\b" .string "Q\341\001" .string "\202\242" .string "(\240\241B(\240\241\326\377\377\252\331\377\377\352\300\006\037\345" .string "" .string "\220\345\" \320\345\001\020\002\342" .string "" .string "Q\343\030\031\237\025\360\020\321\021\001" .string "W\021)" .string "" .string "\332\0309\237\345" .string "0\323\345" .string "" .string "S\343%" .string "" .string "\032\b7\037\345\0030\323\345" .string "" .string "S\343!" .string "" .string "\n\020" .string "\022\343\001" .string "" .string "\n}\016W\343\020" .string "" .string "\272#0\320\345\b" .string "\022\343\227\003\003\340\203D\240\341DH\240\341\002" .string "" .string "\n$0\320\345\002" .string "S\343\005" .string "" .string "\n\3108\237\345" .string "0\323\345\001" .string "S\343\005" .string "" .string "\032\004" .string "\022\343\003" .string "" .string "\n\001" .string "T\341\027" .string "" .string "\252\001@\240\341\025" .string "" .string "\352\002 \002\342" .string "" .string "R\343\001" .string "T\021\371\377\377\312\262\023\320\341\004" .string "Q\341\016" .string "" .string "\332$\020\320\345\002" .string "Q\343\013" .string "" .string "\n\006" .string "" .string "\352$\020\320\345\001" .string "Q\343\005" .string "" .string "\032T\030\237\345\360\020\321\341\001" .string "W\341\001" .string "" .string "\312\362C\320\341\001" .string "" .string "\352<\b\237\345\360@\320\341" .string "" .string "\240\343\b" .string "P\341" .string "" .string "\240\243\177" .string "" .string "\252(\030\237\345" .string " \240\343\200\023\201\3400\310\237\345" .string "\020\215\345\0020\240\341\002\020\240\341" .string "!\214\347'" .string "" .string "\352" .string "\260\235\345\201\260\213\340\360\260\333\341\226\017[\343\006" .string "" .string "\332" .string "1\234\347\001 \240\343\022!\203\341" .string "!\214\347\0010\240\343" .string " \240\343\030" .string "" .string "\352\226\017{\343\t" .string "" .string "\252" .string "\341\234\347\001\260\240\343\033\261\216\341\002" .string "S\343\013 \202\021" .string "\261\214\347" .string "!\214\027" .string " \240\023\0020\240\343\f" .string "" .string "\352\002" .string "S\343\001\260\240\023\033!\202\021\001\260F\342\013" .string "Q\341\001" .string "S\003\005" .string "" .string "\032\004\340F\342\001\260\240\343\033\016\022\341" .string "\261\234\007\002\260\213\001" .string "\261\214\007\001\020\201\342\001\030\240\341A\030\240\341\006" .string "Q\341\001" .string "\200\242" .string "\b\240\241@\b\240\241\306\377\377\252\321\377\377\352\270\b\037\345\003" .string "\320\345" .string "" .string "P\343\r" .string "" .string "\n\004\b\240\341 \b\240\341\274\030\037\345" .string "\020\221\345$\020\321\345" .string "" .string "Q\343\025" .string "" .string "\n\034'\237\345\360 \322\341\002" .string "W\341\021" .string "" .string "\312\002" .string "Q\343\017" .string "" .string "\n " .string "" .string "\352\001" .string "[\343\002" .string "F\302\013" .string "P\301\355\377\377\312\207\001\240\341\n\020\240\343\250\363\377\353\b\031\037\345" .string "\b\240\341" .string "\020\221\345 \b\240\341\276\022\321\341" .string "" .string "Q\341\001" .string "\240\201\344\377\377\352" .string "(\240\341\b\020\235\345\0060\240\341B(\240\341\013" .string "\240\341" .string "\200\215\345\264\375\377\353" .string "" .string "P\343\001" .string "\240\023\020" .string "\215\025\023" .string "" .string "\032T\t\037\345" .string "" .string "\220\345$" .string "\320\345\002" .string "P\343\016" .string "" .string "\n" .string "" .string "P\343\005" .string "" .string "\n|\006\237\345\360" .string "\320\341" .string "" .string "W\341\001" .string "" .string "\312\006" .string "Z\343\006" .string "" .string "\212\b\020\235\345\0060\240\341\f \215\342\013" .string "\240\341\004p\215\345" .string "\200\215\345\250\376\377\353\001" .string "\213\342" .string "\270\240\341K\270\240\341\006" .string "[\341\272\377\377\272\b" .string "\235\345\001" .string "\200\342" .string "\b\240\341@\b\240\341" .string "" .string "X\341" .string "\260\240\303\b" .string "\215\345\365\377\377\312\330\t\037\345" .string "" .string "\220\345$" .string "\320\345\001" .string "P\343(" .string "" .string "\032" .string "\006\237\345\360" .string "\320\341" .string "" .string "W\341\274" .string "\335\321" .string "" .string "P\323" .string "\260\240\003!" .string "" .string "\032\035" .string "" .string "\352\f\n\037\345" .string "" .string "\220\345w\020\320\345\004" .string "\021\343\004" .string "" .string "\n" .string "" .string "Z\343\001\020F\022\001" .string "Z\021\264\003\320\001\001" .string "" .string "\n\004\b\240\341 \b\240\341" .string "(\240\341\0060\240\341B(\240\341\013\020\240\341\n" .string "\240\341" .string "\200\215\345o\375\377\353" .string "" .string "P\343\001" .string "\240\023\020" .string "\215\025\001" .string "\212\342" .string "\250\240\341J\250\240\341\006" .string "Z\341\001" .string "\213\242" .string "\270\240\241K\270\240\241\341\377\377\272\b" .string "[\341" .string "\240\240\263\367\377\377\272\020" .string "\235\345" .string "" .string "P\343\004" .string "" .string "\n\234\n\037\345" .string "" .string "\220\345%" .string "\320\345" .string "" .string "P\343\003" .string "" .string "\n\374 \335\341\b\020\240\341\006" .string "\240\341\211\374\377\353\004 \240\341\b\020\240\341\006" .string "\240\341\246\371\377\353\320\n\037\345" .string "" .string "\220\345\f\021\320\345\200" .string "\021\343\022" .string "" .string "\n\034\025\237\345" .string "\020\321\345\001" .string "\021\343\016" .string "" .string "\032\b\033\037\345\r\001\320\345\002 \321\345" .string "" .string "R\341\036" .string "\240\203\003" .string "" .string "\212" .string "" .string "\321\345" .string "" .string "P\343\001" .string "@\022\004" .string "" .string "\n" .string "" .string "\301\345" .string "" .string "\240\343T\320\215\342\360O\275\350\036\377/\341" .string "" .string "\240\343t" .string "" .string "\352H\013\037\345\004\020\235\345\201" .string "\200\340\b" .string "\215\345\320\300\320\341\321" .string "\320\341\001" .string "|\343\200\023\240\341\214\020\201\340\301\253\201\342\360\021\332\341\001" .string "p\003" .string "\020\215\345d" .string "" .string "\n\001\020L\342\020\020\215\345\001\030\240\341\001 \214\342A\030\240\341\034 \215\345P" .string "" .string "\352" .string "" .string "Q\343" .string "\020\240\263\001 \206\342\002" .string "Q\341M" .string "" .string "\n\001 @\342\002(\240\341\0010\200\342B(\240\341\0300\215\345?" .string "" .string "\352" .string "" .string "R\343" .string " \240\263\b" .string "R\341=" .string "" .string "\n\f" .string "Q\341\001" .string "" .string "\032" .string "" .string "R\3413" .string "" .string "\n\2023\240\341\2010\203\340\301;\203\342\3601\323\341\360A\332\341\004" .string "S\341\001" .string "" .string "\032\001" .string "U\343\002P\240\023\004" .string "S\341\024<\037\305\364@\323\301" .string "0\240\303\f" .string "" .string "\332\004" .string "S\341\035" .string "" .string "\252(\354\037\345\203\340\216\340\024\340\215\345\320\340\336\341\001" .string "^\341\024\340\235\005\321\340\336\001\002" .string "^\001\0010\203\022\001P\240\003\362\377\377\032" .string "3\214\340\0028\203\342\002<\203\342\3300\323\341\0020\203\342\004" .string "S\343\021" .string "" .string "\212`<\037\345" .string "0\223\345\f1\323\345\001" .string "\023\343\f" .string "" .string "\n\0023\201\340\0028\203\342\002<\203\342\b0\323\345" .string "" .string "S\343\001P\240\003\005" .string "" .string "\352\240<\037\345\250\274\037\345\204\020\343\347\001 \303\345\0010\204\342\2640\313\341\001 \202\342\0300\235\345\002(\240\341B(\240\341\003" .string "R\341\275\377\377\332\001\020\201\342\034 \235\345\001\030\240\341A\030\240\341\002" .string "Q\341\254\377\377\332" .string "" .string "U\343\021" .string "" .string "\n\002" .string "U\343\260\001\332\001\001" .string "@\002\260\001\312\001\001" .string "U\023\001" .string "" .string "\n" .string "" .string "U\343&" .string "" .string "\n" .string "P\240\343\004" .string "\235\345\001" .string "\200\342 \035\037\345\004" .string "\215\345\364\020\321\341\001" .string "P\341\205\377\377\272\t" .string "\240\341~\377\377\352\340\022\237\345" .string "" .string "\\\343\f\021\201\020\004\020\021\025\254\"\237\345" .string "\020\221\005" .string " \322\3451\020\240\341\b" .string "R\343\001\020\001\342" .string "" .string "Q\023\020" .string "" .string "\n\264\022\237\345" .string "" .string "\\\343" .string " \221\025\020\020\235\0252\021\240\021" .string "\020\221\005\001\020\001\342" .string "" .string "Q\343" .string "\020\235\025}\016Q\023\005" .string "" .string "\312\b\020\235\345" .string "" .string "\340\343" .string "" .string "\301\345\b\020\235\345\001" .string "\301\345\331\377\377\352" .string "\020\240\343\024" .string "Y\343\030\020\215\345\334\377\377\252d\022\237\345\211 \211\340\202A\201\340" .string "\023\214\3400@\215\345\002\030\201\342\264\300\304\341\002\034\201\342\266" .string "\304\3414\020\215\345\330\020\321\341\002\020\201\342\004" .string "Q\343" .string "\020\240\203\004" .string "" .string "\212\004\022\237\345\360\020\321\341\001" .string "W\341\004\020\240\323\001\020\240\303\025\020\304\345\360\021\332\341\b\020\204\345 \020\215\345\002\020\240\343\024\020\215\345\034\020\215\345" .string "\020\240\343\001\240\240\341\b\020\215\345\020\020\215\345" .string "\020\215\345\002\020@\342\001(\240\341\034\020\235\345B(\240\341" .string "\020\201\340<\020\215\345a" .string "" .string "\352" .string "" .string "R\343" .string " \240\263\b" .string "R\341_" .string "" .string "\n`\036\037\345\002\023\201\340(\020\215\345p\036\037\345\0240\235\345\202\023\201\340,\020\215\345\024\020\235\345\f0\203\340\001\020L\340\001\030\240\341A\030\240\34180\215\345I" .string "" .string "\352" .string "" .string "Q\343" .string "\020\240\263\0010\206\342\003" .string "Q\341F" .string "" .string "\n(0\235\345\3210\223\341" .string "" .string "S\343\005" .string "s\023$0\215\345:" .string "" .string "\n,0\235\345\2010\203\340\3600\323\341" .string "" .string "S\3435" .string "" .string "\332\f\260A\340\024\340\235\345" .string "" .string "[\343\001\260L\260\016" .string "[\341\005" .string "" .string "\n" .string "\260B\340\034\340\235\345" .string "" .string "[\343\002\260@\260\016" .string "[\341\016" .string "" .string "\032\f\260\201\340" .string "\340\202\340\253\277\213\340\213\267\240\341\256\357\216\340K\270\240\341\216\347\240\341\213\260\240\341N\350\240\341\216\263\213\340\003\270\213\342A\276\213\342\360\260\333\341\003" .string "[\341\032" .string "" .string "\2724\260\235\345\330\260\333\341\003" .string "[\343\002" .string "" .string "\332$\260\235\345\001" .string "{\343\023" .string "" .string "\n\254\260\237\345\002\341\233\347\001\260\240\343\033\001\036\341\003" .string "" .string "\n\030\260\235\345\001\260\213\342\377\260\013\342\030\260\215\345\b\260\235\345\001\240\212\342\221\263+\340\b\260\215\345\020\260\235\345\377\240\n\342\222\263+\340\020\260\215\345" .string "\260\235\345\0130\203\340" .string "0\215\345\001\020\201\34280\235\345\001\030\240\341A\030\240\341\001" .string "S\341\263\377\377\252\001\020\202\342\001(\240\341<\020\235\345B(\240\341\002" .string "Q\341\233\377\377\252\f" .string "\237\345" .string "" .string "\320\345\b" .string "P\343\037" .string "" .string "\n\013" .string "" .string "\352\221g" .string "" .string "0c" .string "" .string "\036c" .string "" .string "\020\004\001" .string "lY" .string "" .string "4c" .string "" .string "\370b" .string "" .string "\365b" .string "" .string "Pb" .string "" .string "\220d" .string "" .string "(c" .string "" .string "\360[" .string "" .string "\030" .string "\235\345" .string "" .string "P\3436\377\377\n \001\237\345" .string "" .string "\320\345" .string "" .string "P\343\013" .string "" .string "\032\024\001\237\345\002" .string "\320\345\003" .string "P\343\002" .string "" .string "\232 \020\235\345K\016Q\343+\377\377:\017" .string "P\343\002" .string "" .string "\232 " .string "\235\345\226\016P\343&\377\377:\350\020\237\345" .string "" .string "\221\345& \320\345\002" .string "Z\341!\377\377\232\270\022\320\341" .string "" .string "\235\345" .string "" .string "Q\341\035\377\377\252\b" .string "\235\345" .string "\020\235\345" .string "\004\240\341\303\361\377\353" .string "\260\240\341\020" .string "\235\345" .string "\020\235\345" .string "\004\240\341\276\361\377\353L\020\235\345" .string "" .string "Q\343\260\260\304\001\006" .string "" .string "\n\224\020\237\345\260\020\321\341\001" .string "\200\340\260" .string "\304\341\210" .string "\237\345\260" .string "\320\341\013" .string "\200\340\262" .string "\304\341p" .string "\237\345" .string "" .string "\220\345J" .string "\320\345\001" .string "P\343\006" .string "\240\003\017" .string "\304\005\006" .string "" .string "\n\001" .string "\240\343\f\240\304\345\020" .string "\304\345\013" .string "\240\343\017" .string "\304\345L" .string "\237\345\t\220\300\347" .string "" .string "Y\343" .string "" .string "\240\343,\021\037\005\021" .string "\304\345\024" .string "\304\345" .string "" .string "\301\005\377" .string "\240\003\022" .string "\304\0050" .string "\235\025\006\220@\025\001" .string "\211\342" .string "\230\240\341I\230\240\341\354\376\377\352\020c" .string "" .string "Hb" .string "" .string "\314[" .string "" .string "Db" .string "" .string "Fb" .string "" .string "0b" .string "" .string "\370\265\f" .string "\021" .string "\032" .string "\225" .string "K" .string "-\030\353\030U" .string "-\030\3773m\030\006\237\372&a3\2405" .string ",\016\320\001,\016\320\223" .string "\033\030@3" .string ")\r\320\007\236^\202,p" .string "\360r\372\370\274\b\274\030G" .string " " .string "\340\001 (p\036\201\366\347\037\202\361\347" .string "\230" .string "*\t\320\001*\007\320\001(" .string "\320\001 pG` pG pG\001(\373\321\001+\371\335\366\347\377\265\201\260\003\230\017" .string "\301" .string "\001\230\035" .string "\b\030\271" .string "D\030\3774\2414 \213\203B\001\331\001&\004\340\205B\001\322\002&" .string "\340" .string "&" .string "..\320\340~\001!" .string "(\024\320\242~\262B$\321\003(\005\322@\034" .string "\006" .string "\016\003(\340v\035\323\003\230A" .string "\001\230\b\030\300\031\2400" .string "x\002(\003\320\023\340\246v\341v\021\340\003\232\001\2309" .string "" .string "\360\034\372\003\230\001\231\200" .string "@\030@0" .string "/\001\320E\202\002\340\005\202" .string "\340\341v\246v%\203\005\260\360\274\b\274\030G\361\265" .string " \222\260\372L\002\220\003\220\367M V\022\340\030!HC\367IA\030\310{\b(\t\320\013(\007\320H}\001(,\320\003\230@\034" .string "\006" .string "\016\003\220\022 \bVA\034\352\321\001&\002\2332" .string "(" .string "" .string "\226\377\367~\377" .string "\226\001\"\n\220\002\233\021" .string "(" .string "\377\367v\377\002&\013\220\003\233\001\"" .string "!(" .string "" .string "\226\377\367m\377\001\"\f\220\003\233\021" .string "(" .string "" .string "\226\377\367e\377" .string "&\r\220\246W\232\341\002\230@\034" .string "\006" .string "\016\002\220\321\347" .string " \004\220\005\220\030 FC\326H4\030`}\001(*\320\f\230\003\233\017\220\r\230" .string "!\t\220\002 " .string "\220`{@" .string "@\031\2400\002x(" .string "\377\367A\377\007" .string "\002 " .string "\220`{\003\233@" .string "@\031\2400Bx\001!(" .string "\377\3674\377\007\220\022\2300\030\300{\003" .string "\374\367\374\371\f##'''#!'%'','\n\230\002\233\017\220\013\230" .string "!\t\220\001 " .string "\220`{@" .string "@\031\2400\002x(" .string "\377\367\026\377\007" .string "\001 " .string "\220`{\002\233@" .string "@\031\2400Bx\323\347\001 \t\340\004 \007\340\003 \005\340\377!(1\256\240\002\360\250\375" .string " \004(#\320\001(~\320\251Oa\210\270[jF\003\302" .string "\"c{\021" .string "(" .string "\377\367\310\376\270[a\210jF\003\302c{\001\"" .string "!(" .string "\377\367\276\376\273[b{" .string "!(" .string "" .string "\360)\371c\210b{\001!(" .string "" .string "\360#\371\004\341\230Hb{\203[" .string "!(" .string "\377\367\345\376c\210b{\001!(" .string "\377\367\337\376`{\200" .string ")Z\220H\200[" .string "\360W\371\020\220`{\200" .string "@\031A\210`\210" .string "\360O\371\006\220`{\200" .string "@\031@0\001\212\207H\200[" .string "\360E\371\016\220`{\200" .string "@\031@0A\212`\210" .string "\360<\371\t\231\b\220\210B \333c{~HY" .string "I\031\2401Ix\002)\030\320a\210\200[" .string "\"\001\221" .string "\220\002!(" .string "\377\367m\376`}\001(>\320\002 " .string "\220`{\003\233@" .string "@\031\2400\002x" .string "!(" .string "\377\367\207\376\007" .string "\020\230\270B[\333\016\250\003\310kO\210B;\333" .string "\340\217\340c{X" .string "@\031\2400" .string "x\002(\030\320a\210\270[\001\"\001\221" .string "\220\002!(" .string "\377\367C\376`}\001(\035\320\002 " .string "\220`{\003\233@" .string "@\031\2400Bx\001!(" .string "\377\367]\376\007\220\270[a\210jF\003\302" .string "\"c{\002!(\340\001 " .string "\220`{\002\233@" .string "@\031\2400\002x\277\347\001 " .string "\220`{\002\233@" .string "@\031\2400Bx\340\347b{" .string "!(" .string "" .string "\360\277\370" .string "(\025\320`{A" .string "I\031\2401\tx\002)\016\321\200" .string "(ZjF\270Sa\210\003\302c{" .string "\"\001!(" .string "\377\367\377\375\001\340\001 \004\220\006\250\003\310\210B.\333\b\250\003\310\210B\b\3339Ha\210\200[jF\003\302\001\"c{\002!\035\3405Ob{\001!(" .string "" .string "\360\220\370" .string "(\006\320c{X" .string "@\031\2400@x\002(\006\320a{\002 I" .string "I\031\2401Hp\r\340\001 \005\220\270[a\210oF\003\307\001\"\021" .string "(" .string "\377\367\312\375\001\340\001 \005\220\004\230" .string "(\027\320\033\340!H\201[`{\200" .string "@\031@0\001\202`{a\210\200" .string "@\031@0A\202b{" .string "!(" .string "" .string "\360T\370b{\001!(" .string "" .string "\360O\370\025Ha{\200[\211" .string "hR\005\230" .string "(\004\321a{`\210\211" .string "I\031H\200\022&\246Wp\034" .string "\320g\346\023\260\032\346\tI\200" .string "\bZpG\007I\200" .string "@\030@\210pG\322" .string "\020\030\211" .string "@\030\3770\2410" .string "!\003\203\301vpG" .string "" .string "\220\230" .string "" .string "lY" .string "" .string "\360[" .string "" .string "./../../src/tpc_refine.c" .string "" .string "" .string "" .string "\223" .string "\020\264\033\030L" .string "\033\031\3773\023La3\033\211$h\322" .string "\020\030\211" .string "\033\031@\030\3000\203`\020\274pG\322" .string "\020\030\211" .string "" .string "#@\030\3000\203`\316\347\322" .string "\020\030\211" .string "@\030\007I\3000\200h\th\210B\002\322" .string " \300C\301\347" .string " \277\347@\032\275\325@B\273\347\214g" .string "" .string "\372I" .string " Hp\372J\377!\021p\371IHp\bp\310p\baHa\367I\bp\367I\bppG\363\265\363I" .string "$\202\260\004`\212x\001*\003\321\363I\013h\357I\213a\362K" .string "!YV\353K\035x\360KO\340\377-\f\320\030&NC\366\030v{\256B\024\321\030%MC\355\030\355{\b-8\320B\340\002*\005\330\030&NC\366\030\366{\013.\022\320\030&NC\366\030\366{\006.\"\320\030&qC\316\030\361{" .string ")'\320\006)%\320\001)#\320\005)!\320#\340\030%MC\356\030\324M\264F\266\210\227" .ascii " 5}\031 =\256\203fF\366\210\356\203V\036\001%\265@\315N6x5C\313" .ascii "N\b\340\030%MC\355\030n{\307M.p\n\340\306N\377%5" .string "p\006\340d\034$\006$\016\022!qVN\034\255\321\002,\002\323\001!\001`\235\340\002*\037\331\276L\275Nex(6O\034\254Fm\034,\006eF$\016\255" .string "\001\224" .string "\225\275L\255\031" .string "/n\320\030 AC\310\030\301{\006)\t\320\262O\f\"\016#\272^\373^" .string ")L\320\b)`\320\341\340\004!\006\"A^\202^ h" .string "\220\3770!0\003\211\213B\b\332C\211\213B\005\335\203\211\223B\002\332\303\211\223B\003\334\242I\377 \bp\311\340\241LcF" .string "+'\320\001+%\320\241K\244i\033h\243B\003\331\207\212\036\033\276B\b\323\243BQ\322\034\033\200\212\001#\033\004\343\030\203BJ\322\225H =\201\201\302\201\250\213\b\032\351\213Q\032\002" .string "BC\b" .string "HC\021\030" .string "\230\3770\0010\300k\201B7\331\235\340\216H" .string "h\240a\241\201\342\201\227\340\004%E_\006!A^P\033\002" .string "BCY\032\b" .string "HC\021\030 h\202N\3770\0010\200k\201B\035\331\001 \360p\033\340\037\340\004!A^\006'\307_P\032\332\033\003" .string "CC\020" .string "PC\032\030 h\3770\0010\200k\202B\t\330xH\002htH\202a" .string "\232\261Ro\200\001\231Apf\340" .string " \004\260\360\274\b\274\030G\003*\032\321lI\tx\312\007\006\320jO" .string "\232 7;\210\263Rz\210j\200gJ\211\007" .string "\324H\347\027" .string " 7\273\210" .string "\231sR\371\210i\200\001\231QpcI\th\221abI^K\th\232i\221B\006\323'h\215\032\3777!7\377\212\275B\013\330\221B5\322\212\032\001!\t\004R\030!h\3771!1\311\212\212B+\331Yx\001)\326\320\002)\030\321\"h\377#23\233\\" .string "+\022\320\261\2103\210t\210\3772\311\032\363\210\0012\322k\033\033\f" .string "LC\031" .string "YCa\030\221B\276\322\001!\001`\013\340\"h\3772!2\323|\213B\265\321\221|" .string ")\262\320\001!\001`\006!\003\230\001p\001 \227\347\360\265;M=N\250x\001'\207\260" .string "(\f\320\376(\001\322@\034\250p9L" .string " V@\034\250x\005\320\001(\b\320\t\3401h\351a\361\347\001(\004\321" .string " \250p\323\340\377\367_\376\350x" .string "(\026\321\005\251hF\377\367i\376\007" .string "\020\321" .string "\230" .string "(\013\320$I\177 Hp\004 \001\004\bp" .string " \373\367m\373" .string " \007\260a\347\001 \350p\036HAx\377)H\320 " .string "" .string "$\004W`\0340\320\030\"bC\036K\320\030\006\220@{\210B\020\321\027H" .string "x\264(\006\322\026H" .string "x" .string "(P\320\024I" .string " \bp\006\230\300{\b(g\320" .string " " .string "\220\030 DC\022HjF$\030\240\210\002\251\220\200\340\210\020\201" .string "\"\001\250\372\367\013\374jF\004 \b!\020^Q^\342{\006*W\320\b*Z\320]\340`\277" .string "" .string "\214Y" .string "" .string "\240l" .string "" .string "\370l" .string "" .string "\324o" .string "" .string "\310[" .string "" .string "lY" .string "" .string "\360[" .string "" .string "\314[" .string "" .string " " .string "" .string "$\004W^I\007\340\030 `C@\030\302{\006*\006\320\022$\004W`\034\365\321\001 " .string "\2209\340\030 `C@\030A{UHAp" .string " " .string "\220`\034\362\320\267\347\230ZkF" .string "\"\230\201\006\230\004\251@\210\030\202\003\250\372\367\306\373MHkF\001x\233\211LJ\210" .string "\023RkF\033\212\200\030I\034C\200GH\001pHH\001xI\034\001p\223\3470h\350a\001 " .string "\220AH\377!Ap\221\347\250\200\351\2000h(a\003\340(\201i\2010hha0h\351i\210B\002\322\001\"\022\004\200\030" .string "/\025\320" .string "\232" .string "*\022\320jF\022}\001*\020\3203J\022x\264*\016\320A\0324H" .string "h\3770!0\300\212\201B\002\331\f \373\367\260\372\001 A\347\001 \002\340\177 iF\bu,IHp\004 \001\004\bp" .string " \357\347\360\264)L\b\"\004#\242^\343^\n%e_\323\032\006\"\242^&iR\033ei\256B\003\331\001&6\004\255\031ea" .string "+\001\332\\B" .string "\340\034" .string "" .string "*\001\332UB" .string "\340\025" .string "" .string "(\n\321\030" .string "\026" .string "XCVC\206\031\001'\277\004\177 \276B\003\334\bp\360\274\001 pG\254B\n\335E\"TC\"\022\252B\364\333" .string "+\001\332\005 \360\347\004 \356\347E#]C+\022\243B\351\333" .string "*\001\332\003 \345\347\002 \343\347" .string "" .string "\360[" .string "" .string "\214Y" .string "" .string "\370l" .string "" .string "\004m" .string "" .string "\324o" .string "" .string "\314[" .string "" .string "`\277" .string "" .string "\240l" .string "" .string "\020\264\b(\001\322\fJ\b\340\020(\003\322\nJR\034\b8\002\340\bJ\222\034\0208\023x\001$\001)\006\320\204@\034C#\006\033\016\023p\020\274pG\204@\243C\371\347\024\021\004" .string "\017H\020\265" .string "x" .string "(\027\321\016L h" .string "(\016\321\rHAx\rH\202x\rH" .string "hR\034\200\210PC\0201\210@\nI\371\367\017\374 `\tH\"h\001h\211\030\001`\020\274\b\274\030G\221g" .string "" .string "\344\315" .string "" .string "@\021\004" .string " \034\004" .string "\314[" .string "" .string "@B\017" .string "\310[" .string "" .string "\311" .string "\200\"\021C\001ppG" .string "x\200\007\300\017pG" .string "!\001ppG\003H" .string "\"Bw\201w\t\n\301w\376\347" .string "" .string "`\005\004" .string "p\265\013L$x\001,\016\321\nL\020%\"vcva\203 w\250\003\005p\007L\364\3671\374 |\300\006\372\325%tp\274\b\274\030G" .string "" .string "\342d" .string "" .string "@\277" .string "" .string "" .string "\021\004" .string "\370\265%H" .string "$\006h$H" .string "x" .string "('\320#H" .string "x" .string "(\005\320" .string " \370\367\034\376\370\274\b\274\030G\037O\001!8" .string "\377\367\265\3778" .string "\377\367\267\377\030O\005" .string "\006\340\032H\377\367\261\377\250B" .string "\320d\034\005" .string "8h\206B\365\3202,\006\331\003 \370\367[\376\022H\377\367\246\377\336\347\021H\n!\364\367\252\372\331\347\020\265" .string " \370\367N\376\b \301\003\bp\nH\347!P8At\030!\001t" .string "!\001t\007H\n!\364\367\226\372\020\274\b\274\030G" .string "" .string "\310[" .string "" .string "\204Y" .string "" .string "\221g" .string "" .string "P\034\004" .string "\001\301" .string "" .string "\252H\020\265" .string "x\002(\003\322\251H" .string "!\364\367S\372\370\367D\370\020\274\b\274\030G\245H\020\265\300h" .string "\360\363\375\366\347\377\265\201\260\n\237\004h\035" .string "\216FB\340\"" .string "\301\036d\034#x\t\006fx\t\016\244\034sE\214F6\321cF\361\030I\036\013\006\003\231\033\016I\031I\036\t\006\t\016\214F\003\231\216B(\330cE\037\322%\340\003\230\206B\002\322d\034v\034\030\340" .string "/\f\320\013\230" .string "(\004\320\377!\3221\213\240\377\367;\3778x\177\034 pd\034\006\340!x\013\230d\034\001p\013\230@\034\013\220m\036-\006-\016" .string "-\336\321" .string " \005\260\360\274\b\274\030G\024\030 x\377(\271\321. \365\347\376\265\202JzM\201Ij`\0201\251`\020x" .string "&4" .string "\323(" .string "\220f\320\020\334\006(;\320\b\334{J\001(\022x\032\320\002($\320\003(\024\321.\340\007(=\320\017(\017\321G\340iK\330(y\320\006\334\324(a\320\326({\320\327(\004\321\213\340\331(q\320\340(p\320- x\340\017" .string "" .string "*\001\320, s\340jH\367\367\225\377\002 " .string "\360\254\374w\340hIhH" .ascii "#\n\032hI@\035\363\367\345\376(" .string "\035\003\310\372\367\204\376\016\340Lp\212p\211\340cIcH" .string "#\n\032cI@\035\363\367\325\376(\035\003\310\372\367[\376\006" .string "{\340_I_H" .string "#\n\032_I@\035\363\367\307\376(\035\003\310\372\367M\376\360\347[I\\H" .string "#\n\032[I@\035\363\367\272\376(\035\003\310\372\367P\376\343\347\320xRh ('\330" .string "(%\320" .string "#\026x\317\030R\034[\034@\036" .string "\006" .string "\016\276p\366\321\024\340&" .string "N\340\220xSh" .string "\037" .string "\006" .string "\016 (\021\330" .string "(\017\320" .string "&\227\031?zv\034\037p[\034@\036" .string "\006" .string "\016\366\321Lp\350\347(\340\004\3403\340A\340. Hp\341\347\001\222Ph\017" .string "\200\007\002\320. Hp*\340\363\367V\376\001\230" .string "!@h\350`9H\364\367E\371|p\037\340\020y\001(\001\320" .string "(\354\3215J" .string "(\020pLp\025\321\032H" .string "!\034p\364\3674\371\017\3401I1H" .string "#\n\0321I@\035\363\367[\376(\035\003\310\372\367\341\375\204\347Lp\030x\210p" .string "\230\251h" .string ".\bp\n\320)H\n!\364\367\032\371\376\274\b\274\030G\020" .string "\367\367\034\377q\347" .string "\360\001\370\365\347\020\265#H\002!\364\367\013\371 A\003\bp\265\346" .string "" .string "\225Y" .string "" .string "\255\301" .string "" .string "\350\315" .string "" .string "./../../src/tpc_command.c" .string "" .string "" .string "\300\277" .string "" .string "\221g" .string "" .string "L\257" .string "" .string "h\\" .string "" .string "|[" .string "" .string "\330o" .string "" .string "\024[" .string "" .string "\244Z" .string "" .string "\330o" .string "" .string "|[" .string "" .string "\024[" .string "" .string "\330o" .string "" .string "4Z" .string "" .string "\220Y" .string "" .string "\330o" .string "" .string "\311\301" .string "" .string "\342d" .string "" .string "\244Z" .string "" .string "4Z" .string "" .string "\330o" .string "" .string "E\304" .string "" .string "s\302" .string "" .string "\360\265\377O\005" .string "|x" .string "!\r \205\260\377\367\213\375" .string "!\021 \377\367\207\375\372N#" .string "\371\367\003\372\016*\013\b\013\020\013\013?\013\b\013\013\013S\013\365H\364\367\202\371\002,I\320\003,L\321I\340\372\367\355\3758x1h\002(\210s\020\320" .string " \356I\bp\356I\001 \bp\002" .string "\377!\3651" .string " \364\367\262\371" .string "!\n \377\367\\\3753\340\001 \355\347" .string "\360\353\372" .string "\360\311\372\344I\001 \bp\343H\005!\364\367\200\370\377!\001\"\3651" .string " \364\367\232\371\337H\364\367O\371\034\340\336H\201\212\001\"i " .string "#R\002@\002\363\367\235\3758x1h\002(\210s\003\320" .string " \323I\bp\n\340\001 \372\347\270x1hHt\004\340\003-\002\321\004\340\002-\002\320\321H\367\367*\376\320H@x\377(\005\3201h\316J 1\bq\377 Pp\316H\317I\314J@\032" .string "\220\316H\311K\020\032\001\220\315H\316I\030\032\002\220\314H+" .string "@\032\003\220\371\367\207\371\016\356\230\b\231\361\230\230\354\353\b\b\230\b\352\2300h\001\211\266H\364\367X\370\003,\021\320\302H\303I\003\232@\035" .string "#\363\367S\375\275H\300I\002\232@\035" .string "#\363\367L\375\276I\277H\363\367&\375\n-\022\320\f-\020\320\264H\274I\001\232@\035" .string "#\363\367=\375\260H\271I" .string "\232@\035" .string "#\363\3676\375\267I\270H/\340\270I\270H" .string "#\n\032\270I@\035\363\367+\375\267I\267H" .string "#\n\032\267I@\035\363\367#\375\266I\266H\363\367\375\374\n-\002\320\f-\005\320\030\340\370\367\316\376\374\367<\376\023\340\261I\261H" .string "#\n\032\261I@\035\363\367\r\375\260I\260H" .string "#\n\032\260I@\035\363\367\005\375\257I\257H\363\367\337\3740h\214J\200{\255I\024:\002(\020\320@" .string "\tZ\020" .string "\370\367\367\3720h\207N 0\001yqp\002!\006,\001q\005\320\004,\007\320\016\340\244H" .string "x\353\347\002 " .string "\360\241\372\007\340\t\"\337!k \022\002\t\002@\002\370\367f\377ph@" .string "\f-x`\003\321\233H" .string "!\363\367\241\377\217\341\002,#\320|H}I\003\232@\035" .string "#\363\367\307\374wHzI\002\232@\035" .string "#\363\367\300\374xIyH\363\367\232\374pHxI\001\232@\035" .string "#\363\367\265\374lHuI" .string "\232@\035" .string "#\363\367\256\374sItH\363\367\210\3740h\203I\200{`J\t\035\b:\002(\027\320@" .string "\tZ\020" .string "\370\367\237\3720h[J\001" .string " 1\013ySp\002\"\b,\nq\013\320\r,\t\320" .string ",\f\320\004,\022\320\006,\020\320I\341tH" .string "x\344\347\001|\300{@\036\001\"\001\341" .string "\360f\372>\341O\340S\340\017\341\002\340\374\340\002 5\341mInH" .string "#\n\032mI@\035\363\367p\374\t\"k!\337 \022\002I\002" .string "\002\370\367\364\376\001!\n \377\367\002\374\371\367j\370" .string "\220eH\357!At\020!\001t" .string "!\001t9H 8\367\367\372\374`J\221x\004#\b" .string "\030C\220p" .string " @\034\377(\374\331\221p" .string "\230" .string "(\001\321\371\367Z\370\372\367F\3740h" .string "&\201{9p\206s'H\006p\004 " .string "\360\370\371LH\006pRH\006pRH\006p" .string " \364\367B\370\370\367\345\375\355\3400hA|\271p\001!At*H*I\003\232@\035" .string "#\363\367\"\374$H(I\002\232@\035" .string "#\363\367\033\374&I&H\363\367\365\373\036H%I\001\232@\035" .string "#\363\367\020\374\031H#I" .string "\232@\035" .string "#\363\367\t\374!I!H\363\367\343\373\371\367\013\370" .string "\2205H\357!At\020!\001t" .string "!\001t\nH@8\367\367\233\374g\340\220g" .string "" .string "\314[" .string "" .string "\241L" .string "" .string "\200Y" .string "" .string "\017c" .string "" .string "\3258" .string "" .string "\001\301" .string "" .string " \022\004" .string "L\257" .string "" .string "\204Y" .string "" .string "@\206" .string "" .string "\300\213" .string "" .string "\300\213" .string "" .string "\300\213" .string "" .string "@\206" .string "" .string "@\206" .string "" .string "@\206" .string "" .string "Df" .string "" .string "\310p" .string "" .string "\304\220" .string "" .string "\n\223" .string "" .string "\304\220" .string "" .string "\020\223" .string "" .string "\220\230" .string "" .string "\350\232" .string "" .string "\220\230" .string "" .string "p\221" .string "" .string "\300\213" .string "" .string "\020\223" .string "" .string "p\221" .string "" .string "p\221" .string "" .string "\300\230" .string "" .string "\300\230" .string "" .string "\300\230" .string "" .string ",f" .string "" .string "\220^" .string "" .string "\310p" .string "" .string "Df" .string "" .string ",f" .string "" .string "dx" .string "" .string "\314{" .string "" .string "|x" .string "" .string "<Y" .string "" .string "\320d" .string "" .string "'s" .string "" .string "\330\\" .string "" .string "h\\" .string "" .string "\310p" .string "" .string "" .string "\034\004" .string " \021\004" .string "\016c" .string "" .string "\rc" .string "" .string "" .string "\230" .string "(\001\321\370\367\235\377\b,F\320\r,D\3200h" .string "\"\001|\300{@\036" .string "\360\275\371<\340;H\367\367\036\374" .string "\360\244\370" .string "\360\257\370" .string " \363\367\204\3777H\363\367\030\3776H\363\367\025\377+\3405H\201\212\001\"\r " .string "#R\002" .string "\003\363\367c\373\370\367i\377" .string "\2200H\357!At\020!\001t" .string "!\001t)H,8\367\367\371\373" .string "\230" .string "(\001\321\370\367d\3771h\210{8p" .string " \210s'I\bp'I\bp'I\bp'I\bp\007 " .string "\360\376\370\001!\021 \377\367\332\372" .string "-\017\320\003,\002\320\002,\005\321\002\340\002-\002\321\007\340\003-\005\320\367\367\361\373\024H\005!\363\367\372\375\n \363\367M\376}p\005\260\360\274\b\274\030G\026H\020\265@x\004(\006\320\025H\001!\363\367\025\376\020\274\b\274\030G" .string "\360\001\370\371\347\020\265" .string "!\r \377\367\254\372\016L x\377\367\024\375\377 p\355\347" .string "" .string "H\257" .string "" .string "\3258" .string "" .string "k\301" .string "" .string " \022\004" .string "" .ascii "\034\004" .string "" .string "\200Y" .string "" .string "\320d" .string "" .string "\016c" .string "" .string "\rc" .string "" .string "\220g" .string "" .string "=M" .string "" .string "\204Y" .string "" .string "\026I\020\264" .string "\"\nq\304 \bs\001 Hr\t \210r\021 \br\020 \br\310z\300\007\374\320\016K ;X}\b$ CXu\nq\020\274pG\tH" .string "!\001q\021!\001rpG\006I 9H}\004\"\020CHupG\003I 9H}\373\"\020@HupG \034\004" .string "\360\265\212I\205\260\0201\003\311\002\252\210O" .string "%\003\302," .string "\246" .string "\002\250\200Y" .string "#\b\"iF\363\367\254\372" .string "(0\320\270z\371z\201J\322{" .string "*\002\320\002*\003\320\007\340\001,\002\320\004\340" .string ",\002\321I\036\b\006" .string "\016iF\311x\201B\032\321\271{vH 8\200{\311\007\033\320\300\007\027\320\377!\3561t\240\377\367~\372hF\200x\250B\t\321" .string "-\022\3208{mI 9\t\211jF\022y\202B'\320" .string " \005\260\360\274\b\274\030G" .string "%\352\347\300\007\367\320\001%\346\347\370z\271zdJ\322{" .string "*\002\320\002*\t\320\001\340\001,\002\320" .string ",\f\320\005\340I\034\b\006" .string "\016\001\340" .string ",\002\320\337!\t\002\331\347I\034\b\006" .string "\016k!I\002\323\347hF\002\210\002\250\200Y\001#\b9\363\367J\372" .string "(\316\320XJ\001!d\036\021p\216\325\310\347\020\265\004" .string "\004(\035\320\006,\027\320\b,\031\320\377\367z\377" .string "(\025\320PH" .string "x\013(\n\320OH#" .string "" .string "h\001\"\3770\0010\200~A" .string "" .string " \370\367=\371\020\274\b\274\030GFH@h" .string "(\345\321\"" .string "\002!" .string " \370\367\254\371\362\347>\265\377\367Y\377" .string "(K\320\t\"k!\337 \022\002I\002" .string "\002\370\367\231\374=H\002\"" .string "h$!\nT@\215;I;L<M\b\200 " .string "\365\367\275\375(" .string "\365\367\272\375" .string "\"\002#\001!\020" .string "\370\367\r\371" .string "('\3205I" .string " \bp3H\002\253jF\001\251\366\367\302\375\"J\024 \020^\026!Q^" .string "(" .string "\332@B\003\004\033\024" .string ")" .string "\332IB\b\004" .string "\024\203B" .string "\332\003" .string "hF\001x" .string "y" .string "\"\370\367\326\375hF\001x" .string "y\370\367~\371" .string "(\311\320\"I" .string " \300C\bp\002\"\021" .string "" .string " \370\367U\371>\274\b\274\030G\360\264k#[\002\304\007" .string "%f\017\r\340" .string "$\007\340\037h" .string "*\001\320\177\020" .string "\340\177" .string "\200\303d\034\204B\365\323\363\030m\034\215B\357\323\360\274pGDY" .string "" .string "`\022\004" .string " \036\004" .string "./../../src/tpc_calib.c" .string "\230g" .string "" .string "\221g" .string "" .string "\314[" .string "" .string "\036c" .string "" .string "`\266" .string "" .string "\340\272" .string "" .string "\rc" .string "" .string "lY" .string "" .string "xG\300F\246\314\377\352" .string "" .string "L\257H\2578\2574\2570\257D\257@\257<\257,\257(\257$\257 \257\034\257\030\257\024\257\020\257" .string "" .string "" .string "" .string "" .string "" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" .ascii "\377\377\377\377" .string "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\330\025\322|\261+\244\371cWH\363\307\256\220\346\217]!\315\037\273B\232>v\2054|\354\ni\371\330\025\322\363\261+\244\346cWH\315\307\256\220\232\217]!4\037\273Bi>v\205\322|\354\n\244\371\330\025H\363\261+\220\346cW!\315\307\256B\232\217]\2054\037\273\ni>v\025\322|\354+\244\371\330WH\363\261\256\220\346c]!\315\307\273B\232\217v\2054\037\354\ni>B\232\217]" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string ">K\250\033|\226P7\370,\241n\361YB]\343\263\204:\306g\tu\215\317\022j\033\237%T7>K(n|\226P\335\370,!\272\361YBu\343\263\004\352\306g\t\324\215\317\022\250\033\237%P7>K\241n|\026B\335\370,\204\272\361Y\tu\3433\022\352\306g%\324\215OK\250\033\037\226P7>,\241n|YB\335x\263\204\272qg\tuc\317\022\352F\237%\324\r>K\250\033" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "X\001" .string "" .string "\031" .string "\001\001\350\003\377\377\377\377" .string "\020\034\n" .string "" .string "" .string "\001" .string "\001\007\001" .string "\2647\270\240\005" .string "\n\tK\001" .string "\002" .string "" .string "" .string "\204\003x\005\204\003\204\003\310" .string "x\005\240" .string "\003" .string "\370\377" .string "" .string "\003\003\003" .string "" .string "" .string "\377\377" .string "" .string "\377\377" .string "" .string "" .string "\005" .string "\b" .string "\005\001\001\035#\307\b1\002\312" .string "Y" .string "\005" .string "{Q(\013v-\022\b\b\200U;*\2003\025\t\tl" .string "\026" .string "\f\002\300" .string "_x\203\305\006\006\006\006\246\001f\001\246\001f\001" .string "\002f\001" .string "\002f\001\200\004\200\002\200\004\200\002M\0023\001M\0023\001" .string "\002\305\001" .string "\002\305\001" .string "\002\305\001" .string "\002\305\001" .string "\002" .string "\377" .string "\002" .string "\377" .string "\002" .string "\377" .string "\002" .string "\377" .string "\005" .string "" .string "" .string "" .string "\377\377\377\377\034\0013\002\034\013\362\f" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\025\004\004\004\200" .string " " .string "\200B" .string "\003\005\200" .string "\002" .string "\0023" .string "\377" .string "" .string "\004" .string "\0312\bD\210 \017\003\023\351@LEfQ\231C\002" .string "D\024\220\001\b" .string "" .string "" .string "" .string "\002" .string "" .string "j\377\001" .string "\200\004@\003\342" .string "" .string "" .string "" .string "" .string "\001" .string "" .string "" .string "\377\377" .string "" .string "\377\377\001\001" .string "\f,\001,\001" .string "" .string "\001" .string "" .string "" .string "\001" .string "" .string "\002" .string "" .string "\001\002\254\r\370*\210\023\006" .string "\350\003\220\001\304\t\254\r\004\004" .string "" .ascii "\252\252\005\020\b" .string "`\277\006\020\027\001X\257\006\020\037" .string "\260\261\004\020'\001\004\0208" .string "\004\021\b" .string "\013\021(/\006" .string "" .string "\237\001" .string "" .string "\004\021A\001\021\022\b " .string "" .string "" .string "(" .string "(" .string "(" .string "\001\200\004\007\006\022\030" .string "\002\001\013\022\034\001" .string "\006\005\001" .string "\\\004\007\022&\002" .string "`" .string "\005\0220" .string "\021\006\0224" .string "\324\001\n\0228\037" .string "" .string "" .string "\021" .string "" .string "\033\022@\004" .string "\004" .string "" .string "" .string "" .string "\350" .string "\350R\210 @ \b\377\007}" .string "\350\003\002" .string "\004\022Y" .string "\020\022`\001\001" .string "\325`\266" .string "\326\f" .string "\017\034\037\t\022n\001\023\377\177\364\001\007\034\b\300\277\320\277\004\034\025\004\005\034\"\377\3772\035\b" .string "" .string "\215" .string "\215" .string "\217" .string "Y\001\216" .string "\221" .string "X\001\002" .string "E" .string "f\001E" .string "E" .string "\023\001\003" .string "C" .string "\201" .string "\001" .string "+" .string "!" .string "\003\021\001" .string "" .string "" .string "\020\006\0358\377" .string "" .string ".\035<" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\377\377\377\037\007D\007D\007D\007D\377\377" .string "" .string "" .string "" .string "" .string "\020" .string "" .string "\001" .string "" .string "" .string "" .string "\020" .string "" .string "" .string "\020\020\004\004\004\035h" .string "\004\035j" .string "\027\036\b\001" .string "\001" .string "\004\003\0013\003\001" .string "" .string "" .string "" .string "\210\210\210\210\001\001\022\036(" .string "\001" .string "\004D\004\017" .string "" .string "\001!\021\001\021" .string "\005\0368" .string "" .string "\004\021\"\013\377\252\006\022OX\031" .string "\006\022o\203,\001\004\0356" .string "\004\036)" .string "\004\036." .string "\004\0361" .string "\006\0363" .string "" .string "" .string "\377\252\013\021(R\016" .string "" .string "\237\001" .string "" .string "\005\022\036\b\n\006\022OX\031" .string "\006\022o\203,\001\377\252\252\252\004\022K\210\007\022d`\266" .string "\326\005\022j\017\034\004\035(\201\005\0358\377" .string "\004\036/" .string "\377\252\252\004\022K\356\007\022d\340\272" .string "\337\005\022j\033\020\004\035(\341\005\0358\377?\004\036/\002\377\252\252\013\021(/\006" .string "" .string "\237\001" .string "" .string "\005\022\036\004\005\006\022OX\031" .string "\006\022o\203,\001\377\252\252\252\004\022K\210\007\022d`\266" .string "\326\005\022j\017\034\004\035(\201\005\0358\377" .string "\004\036/" .string "\377\252\252\004\022K\356\007\022d\340\272" .string "\337\005\022j\033\020\004\035(\341\005\0358\377?\004\036/\002\377\252\252\004\021\"\003\013\021(\231\036" .string "" .string "X\024" .string "" .string "\005\022\bJ" .string "\006\022\022\001^\005\013\022\034\020" .string "\001" .string "" .string "" .string "\001" .string "\004\0224\200\004\0228\b\004\022<" .string "\007\022J\002\210\005\020\004\022b\200\b\022d`\266" .string "\326\t\006\022j\017\034\b\b\022o\201\320" .string "" .string "\002#\035\n\030" .string "\030" .string "\032" .string ":" .string "\031" .string "\032" .string ":" .string "\001" .string "9" .string "L" .string "9" .string "9" .string "D" .string "\001" .string "9" .string "\201\001\007\035,\t" .string "\b" .string "\004\0356" .string "\005\0358\377" .string "\007\035P\377\377" .string "" .string "\016\035\\" .string "" .string "" .string "\020" .string "" .string "" .string "\020\021\001\001\004\036)" .string "\005\036." .string "" .string "\004\0361" .string "\006\0363" .string "" .string "" .string "\377\252\252\013\021(/\006" .string "" .string "\237\001" .string "" .string "\004\022\036\004\004\0224\200\006\022OX\031" .string "\004\022b\200\006\022o\203,\001\377\004\022K\210\007\022d`\266" .string "\326\005\022j\017\034\004\035(\201\005\0358\377" .string "\007\035P\377\377" .string "" .string "\004\035W\020\004\035Z\001\013\035\\" .string "" .string "" .string "\020" .string "" .string "" .string "\020\004\036/" .string "\377\004\022K\356\007\022d\340\272" .string "\337\005\022j\033\020\004\035(\341\005\0358\377?\007\035P\377\377\377\017\004\035W" .string "\004\035Z\003\013\035\\" .string "" .string "\377\037" .string "" .string "\377\037\004\036/\002\377\005\022j\017\034\377\252\252\005\022j\017\034\377\252\252\005\022j\017\034\377\252\252\005\022j\017\034\377\252\252\013\021(R\016" .string "" .string "\237\001" .string "" .string "\005\022\036\b\n\005\022\"\270\b\b\0228\037" .string "" .string "" .string "#\004\022Jb\006\022OX " .string "\004\022h\f\006\022o\203d" .string "\377\252\252\330\256" .string "" .string "\320\256" .string "" .string "\310\256" .string "" .string "\300\256" .string "" .string "\270\256" .string "" .string "H\256" .string "" .string "\200\256" .string "" .string "$\256" .string "" .string "t\255" .string "" .string "T\255" .string "" .string "4\255" .string "" .string "\024\255" .string "" .string "\364\254" .string "" .string "\324\254" .string "" .string "\264\254" .string "" .string "\220\254" .string "" .string "<\253" .string "" .string "\340\251" .string "" .string "(\020" .string "" .string "\375\212E\377" .ascii "\377\377" .global LR388K5_fFFF1102A_p1028_150601_ext_h_bin_len .align 2 .type LR388K5_fFFF1102A_p1028_150601_ext_h_bin_len, %object .size LR388K5_fFFF1102A_p1028_150601_ext_h_bin_len, 4 LR388K5_fFFF1102A_p1028_150601_ext_h_bin_len: .word 45056 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "Do your best!" .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl puts mov w0, 0 ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global var .data .align 2 .type var, %object .size var, 4 var: .word 44 .text .align 2 .global handle_sigchld .type handle_sigchld, %function handle_sigchld: .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 ldr w0, [sp, 20] asr w0, w0, 8 and w0, w0, 255 add x1, sp, 24 bl sig2str cmn w0, #1 bne .L2 mov w0, 120 strb w0, [sp, 24] .L2: nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 56] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L3 bl __stack_chk_fail .L3: mov w0, w1 ldp x29, x30, [sp], 64 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size handle_sigchld, .-handle_sigchld .global x .bss .align 2 .type x, %object .size x, 4 x: .zero 4 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 mov w0, -1 str w0, [sp, 8] ldr w0, [sp, 8] str w0, [sp, 12] mov w0, 0 add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "sched_setaffinity" .align 3 .LC1: .string "set" .align 3 .LC2: .string "unset" .align 3 .LC3: .string "cpu=%i is %s\n" .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -192]! .cfi_def_cfa_offset 192 .cfi_offset 29, -192 .cfi_offset 30, -184 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 184] mov x1, 0 add x0, sp, 56 movi v0.4s, 0 stp q0, q0, [x0] stp q0, q0, [x0, 32] stp q0, q0, [x0, 64] stp q0, q0, [x0, 96] str xzr, [sp, 32] ldr x0, [sp, 32] cmp x0, 1023 bhi .L3 ldr x0, [sp, 32] lsr x0, x0, 6 lsl x1, x0, 3 add x2, sp, 56 add x1, x2, x1 ldr x2, [x1] ldr x1, [sp, 32] and w1, w1, 63 mov x3, 1 lsl x1, x3, x1 lsl x0, x0, 3 add x3, sp, 56 add x0, x3, x0 orr x1, x2, x1 str x1, [x0] .L3: mov x0, 1 str x0, [sp, 40] ldr x0, [sp, 40] cmp x0, 1023 bhi .L5 ldr x0, [sp, 40] lsr x0, x0, 6 lsl x1, x0, 3 add x2, sp, 56 add x1, x2, x1 ldr x2, [x1] ldr x1, [sp, 40] and w1, w1, 63 mov x3, 1 lsl x1, x3, x1 mvn x1, x1 lsl x0, x0, 3 add x3, sp, 56 add x0, x3, x0 and x1, x2, x1 str x1, [x0] .L5: add x0, sp, 56 mov x2, x0 mov x1, 128 mov w0, 0 bl sched_setaffinity str w0, [sp, 24] ldr w0, [sp, 24] cmn w0, #1 bne .L6 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl perror mov w0, -1 b .L14 .L6: str wzr, [sp, 20] b .L8 .L13: ldrsw x0, [sp, 20] str x0, [sp, 48] ldr x0, [sp, 48] cmp x0, 1023 bhi .L9 ldr x0, [sp, 48] lsr x0, x0, 6 lsl x0, x0, 3 add x1, sp, 56 add x0, x1, x0 ldr x1, [x0] ldr x0, [sp, 48] and w0, w0, 63 lsr x0, x1, x0 and x0, x0, 1 cmp x0, 0 beq .L9 mov w0, 1 b .L10 .L9: mov w0, 0 .L10: str w0, [sp, 28] ldr w0, [sp, 28] cmp w0, 0 beq .L11 adrp x0, .LC1 add x0, x0, :lo12:.LC1 b .L12 .L11: adrp x0, .LC2 add x0, x0, :lo12:.LC2 .L12: mov x2, x0 ldr w1, [sp, 20] adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] .L8: ldr w0, [sp, 20] cmp w0, 7 ble .L13 mov w0, 0 .L14: mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 184] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L15 bl __stack_chk_fail .L15: mov w0, w1 ldp x29, x30, [sp], 192 .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 %f" .align 3 .LC1: .string "The area of (%.4f,%.4f),(%.4f,0) and (0,%.4f) is %.4f." .text .align 2 .global main .type main, %function main: .LFB0: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 40] mov x1, 0 add x1, sp, 32 add x0, sp, 28 mov x2, x1 mov x1, x0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl __isoc99_scanf ldr s1, [sp, 28] ldr s0, [sp, 32] fmul s1, s1, s0 fmov s0, 2.0e+0 fdiv s0, s1, s0 str s0, [sp, 36] ldr s0, [sp, 36] fcmpe s0, #0.0 bgt .L7 b .L8 .L7: ldr s0, [sp, 28] fcvt d5, s0 ldr s0, [sp, 32] fcvt d1, s0 ldr s0, [sp, 28] fcvt d2, s0 ldr s0, [sp, 32] fcvt d3, s0 ldr s0, [sp, 36] fcvt d0, s0 fmov d4, d0 fmov d0, d5 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf b .L4 .L8: ldr s0, [sp, 28] fcvt d5, s0 ldr s0, [sp, 32] fcvt d1, s0 ldr s0, [sp, 28] fcvt d2, s0 ldr s0, [sp, 32] fcvt d3, s0 ldr s0, [sp, 36] fneg s0, s0 fcvt d0, s0 fmov d4, d0 fmov d0, d5 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf .L4: mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 40] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L6 bl __stack_chk_fail .L6: mov w0, w1 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 2 .type PROTOCOL_VERSION, %object .size PROTOCOL_VERSION, 4 PROTOCOL_VERSION: .word 72500 .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 60800 .align 2 .type MIN_PEER_PROTO_VERSION, %object .size MIN_PEER_PROTO_VERSION, 4 MIN_PEER_PROTO_VERSION: .word 71100 .align 2 .type CADDR_TIME_VERSION, %object .size CADDR_TIME_VERSION, 4 CADDR_TIME_VERSION: .word 31402 .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 60800 .align 2 .type SENDHEADERS_VERSION, %object .size SENDHEADERS_VERSION, 4 SENDHEADERS_VERSION: .word 60800 .align 2 .type SHORT_IDS_BLOCKS_VERSION, %object .size SHORT_IDS_BLOCKS_VERSION, 4 SHORT_IDS_BLOCKS_VERSION: .word 71000 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global getcontext .type getcontext, %function getcontext: .LFB6: .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 .LFE6: .size getcontext, .-getcontext ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global PPM_IDLE_ACCOUNTING_GUID .section .rodata .align 3 .type PPM_IDLE_ACCOUNTING_GUID, %object .size PPM_IDLE_ACCOUNTING_GUID, 24 PPM_IDLE_ACCOUNTING_GUID: .xword 3802296184 .hword -20985 .hword 20192 .ascii "\243\017\316T\365Z\224\315" .zero 4 ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "times({tms_utime=%llu, tms_stime=%llu, " .align 3 .LC1: .string "tms_cutime=%llu, tms_cstime=%llu}) = %llu\n" .align 3 .LC2: .string "+++ exited with 0 +++" .text .align 2 .global main .type main, %function main: .LFB6: .cfi_startproc stp x29, x30, [sp, -112]! .cfi_def_cfa_offset 112 .cfi_offset 29, -112 .cfi_offset 30, -104 mov x29, sp adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 104] mov x1, 0 bl fork str w0, [sp, 28] ldr w0, [sp, 28] cmp w0, 0 bge .L2 mov w0, 77 b .L16 .L2: ldr w0, [sp, 28] cmp w0, 0 beq .L4 mov x0, 49664 movk x0, 0xbeb, lsl 16 b .L5 .L4: mov x0, 41728 movk x0, 0x11e1, lsl 16 .L5: str x0, [sp, 32] b .L6 .L10: ldr x0, [sp, 56] cmp x0, 0 bne .L11 ldr x0, [sp, 64] ldr x1, [sp, 32] cmp x1, x0 ble .L11 str wzr, [sp, 24] b .L8 .L9: ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 20] ldr w0, [sp, 24] add w0, w0, 1 str w0, [sp, 24] .L8: ldr w1, [sp, 24] mov w0, 16959 movk w0, 0xf, lsl 16 cmp w1, w0 ble .L9 .L6: add x0, sp, 56 mov x1, x0 mov w0, 2 bl clock_gettime cmp w0, 0 beq .L10 b .L11 .L13: ldr x0, [sp, 56] cmp x0, 0 bne .L12 ldr x1, [sp, 64] ldr x0, [sp, 32] lsl x0, x0, 1 cmp x1, x0 bge .L12 bl sched_yield .L11: add x0, sp, 56 mov x1, x0 mov w0, 2 bl clock_gettime cmp w0, 0 beq .L13 .L12: ldr w0, [sp, 28] cmp w0, 0 bne .L14 mov w0, 0 b .L16 .L14: mov x0, 0 bl wait add x0, sp, 72 mov x1, x0 mov x0, 153 bl syscall str x0, [sp, 40] ldr x0, [sp, 40] cmn x0, #1 bne .L15 mov w0, 77 b .L16 .L15: ldr x0, [sp, 40] str x0, [sp, 48] ldr x0, [sp, 72] mov x1, x0 ldr x0, [sp, 80] mov x2, x0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf ldr x0, [sp, 88] mov x1, x0 ldr x0, [sp, 96] ldr x3, [sp, 48] mov x2, x0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl puts mov w0, 0 .L16: mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 104] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L17 bl __stack_chk_fail .L17: mov w0, w1 ldp x29, x30, [sp], 112 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size main, .-main ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global test_meta .data .align 3 .type test_meta, %object .size test_meta, 8 test_meta: .word 20 .word 20 .global test_tiles .align 3 .type test_tiles, %object .size test_tiles, 400 test_tiles: .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001" .string "" .string "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .global test_items .align 3 .type test_items, %object .size test_items, 400 test_items: .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .global test_collisions .align 3 .type test_collisions, %object .size test_collisions, 400 test_collisions: .string "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "\001\001" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .string "" .ascii "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001" .ascii "\001\001\001\001\001\001" ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .align 2 .global num_init .type num_init, %function num_init: .LFB6: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] mov x0, 8 bl malloc mov x1, x0 ldr x0, [sp, 24] str x1, [x0] ldr x0, [sp, 24] ldr x0, [x0] ldr x1, [sp, 16] str x1, [x0] ldr x0, [sp, 24] mov x1, 1 str x1, [x0, 8] nop ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size num_init, .-num_init .align 2 .global add .type add, %function add: .LFB7: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] mov x0, 2808348672 movk x0, 0xb6b3, lsl 32 movk x0, 0xde0, lsl 48 str x0, [sp, 56] str xzr, [sp, 32] str xzr, [sp, 40] ldr x0, [sp, 24] ldr x0, [x0, 8] str x0, [sp, 64] ldr x0, [sp, 16] ldr x0, [x0, 8] str x0, [sp, 72] str xzr, [sp, 48] b .L3 .L6: ldr x0, [sp, 24] ldr x1, [x0] ldr x0, [sp, 48] lsl x0, x0, 3 add x0, x1, x0 ldr x1, [x0] ldr x0, [sp, 16] ldr x2, [x0] ldr x0, [sp, 48] lsl x0, x0, 3 add x0, x2, x0 ldr x0, [x0] add x0, x1, x0 ldr x1, [sp, 40] add x0, x1, x0 str x0, [sp, 32] ldr x0, [sp, 40] cmp x0, 0 beq .L4 str xzr, [sp, 40] .L4: ldr x1, [sp, 32] ldr x0, [sp, 56] cmp x1, x0 bcc .L5 ldr x1, [sp, 32] ldr x0, [sp, 56] sub x0, x1, x0 str x0, [sp, 32] mov x0, 1 str x0, [sp, 40] .L5: ldr x0, [sp, 16] ldr x1, [x0] ldr x0, [sp, 48] lsl x0, x0, 3 add x1, x1, x0 ldr x0, [sp, 24] ldr x2, [x0] ldr x0, [sp, 48] lsl x0, x0, 3 add x0, x2, x0 ldr x1, [x1] str x1, [x0] ldr x0, [sp, 16] ldr x1, [x0] ldr x0, [sp, 48] lsl x0, x0, 3 add x0, x1, x0 ldr x1, [sp, 32] str x1, [x0] ldr x0, [sp, 48] add x0, x0, 1 str x0, [sp, 48] .L3: ldr x1, [sp, 48] ldr x0, [sp, 64] cmp x1, x0 bcc .L6 ldr x1, [sp, 48] ldr x0, [sp, 72] cmp x1, x0 bcs .L7 ldr x0, [sp, 24] ldr x0, [x0, 8] add x1, x0, 1 ldr x0, [sp, 24] str x1, [x0, 8] ldr x0, [sp, 24] ldr x2, [x0] ldr x0, [sp, 72] lsl x0, x0, 3 mov x1, x0 mov x0, x2 bl realloc mov x1, x0 ldr x0, [sp, 24] str x1, [x0] ldr x0, [sp, 16] ldr x1, [x0] ldr x0, [sp, 48] lsl x0, x0, 3 add x1, x1, x0 ldr x0, [sp, 24] ldr x2, [x0] ldr x0, [sp, 48] lsl x0, x0, 3 add x0, x2, x0 ldr x1, [x1] str x1, [x0] ldr x0, [sp, 16] ldr x1, [x0] ldr x0, [sp, 48] lsl x0, x0, 3 add x0, x1, x0 ldr x2, [x0] ldr x0, [sp, 16] ldr x1, [x0] ldr x0, [sp, 48] lsl x0, x0, 3 add x0, x1, x0 ldr x1, [sp, 40] add x1, x2, x1 str x1, [x0] b .L9 .L7: ldr x0, [sp, 40] cmp x0, 0 beq .L9 ldr x0, [sp, 16] ldr x0, [x0, 8] add x1, x0, 1 ldr x0, [sp, 16] str x1, [x0, 8] ldr x0, [sp, 16] ldr x2, [x0] ldr x0, [sp, 16] ldr x0, [x0, 8] lsl x0, x0, 3 mov x1, x0 mov x0, x2 bl realloc mov x1, x0 ldr x0, [sp, 16] str x1, [x0] ldr x0, [sp, 16] ldr x1, [x0] ldr x0, [sp, 72] lsl x0, x0, 3 add x0, x1, x0 mov x1, 1 str x1, [x0] .L9: nop ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size add, .-add .section .rodata .align 3 .LC0: .string "%llu" .align 3 .LC1: .string "%018llu" .text .align 2 .global show .type show, %function show: .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, 8] sub x0, x0, #1 str x0, [sp, 40] ldr x0, [sp, 24] ldr x1, [x0] ldr x0, [sp, 40] sub x2, x0, #1 str x2, [sp, 40] lsl x0, x0, 3 add x0, x1, x0 ldr x0, [x0] mov x1, x0 adrp x0, .LC0 add x0, x0, :lo12:.LC0 bl printf b .L11 .L12: ldr x0, [sp, 24] ldr x1, [x0] ldr x0, [sp, 40] lsl x0, x0, 3 add x0, x1, x0 ldr x0, [x0] mov x1, x0 adrp x0, .LC1 add x0, x0, :lo12:.LC1 bl printf ldr x0, [sp, 40] sub x0, x0, #1 str x0, [sp, 40] .L11: ldr x0, [sp, 24] ldr x0, [x0, 8] ldr x1, [sp, 40] cmp x1, x0 bcc .L12 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 show, .-show .align 2 .global F .type F, %function F: .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 w0, [sp, 28] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 72] mov x1, 0 add x0, sp, 40 mov x1, 0 bl num_init add x0, sp, 56 mov x1, 1 bl num_init mov w0, 1 str w0, [sp, 36] b .L14 .L15: add x1, sp, 56 add x0, sp, 40 bl add ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 36] .L14: ldr w1, [sp, 36] ldr w0, [sp, 28] cmp w1, w0 ble .L15 add x0, sp, 56 bl show ldr x0, [sp, 40] bl free ldr x0, [sp, 56] bl free nop adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x2, [sp, 72] ldr x1, [x0] subs x2, x2, x1 mov x1, 0 beq .L16 bl __stack_chk_fail .L16: ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size F, .-F .section .rodata .align 3 .LC2: .string "F(%d) = " .align 3 .LC3: .string "No existe!" .align 3 .LC4: .string "1" .text .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 str w0, [sp, 28] str x1, [sp, 16] ldr w0, [sp, 28] cmp w0, 1 bgt .L18 mov w0, -1 b .L19 .L18: mov w0, 1 str w0, [sp, 40] b .L20 .L24: ldrsw x0, [sp, 40] lsl x0, x0, 3 ldr x1, [sp, 16] add x0, x1, x0 ldr x0, [x0] bl atoi str w0, [sp, 44] ldr w1, [sp, 44] adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf ldr w0, [sp, 44] cmp w0, 0 bge .L21 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl puts b .L22 .L21: ldr w0, [sp, 44] cmp w0, 0 bne .L23 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl puts b .L22 .L23: ldr w0, [sp, 44] bl F .L22: ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L20: ldr w1, [sp, 40] ldr w0, [sp, 28] cmp w1, w0 blt .L24 mov w0, 0 .L19: 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 .align 2 .type Cf, %function Cf: .LFB6: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] ldr x0, [sp, 8] ldr s0, [x0, 4] ldr x0, [sp, 8] ldr s2, [x0] movi v1.2s, #0 fmul s1, s0, s1 fadd s1, s2, s1 fmov s2, s1 fmov s1, s0 fmov s0, s2 add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size Cf, .-Cf .align 2 .type _pCf, %function _pCf: .LFB8: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, 8] ldr x0, [sp, 8] add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE8: .size _pCf, .-_pCf .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 .L6 ldr w0, [sp, 8] cmp w0, 0 bge .L7 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] .L7: ldrsw x0, [sp, 8] str x0, [sp, 24] .L11: ldr x0, [sp, 24] and x0, x0, 1 cmp x0, 0 beq .L8 ldr s1, [sp, 20] ldr s0, [sp, 12] fmul s0, s1, s0 str s0, [sp, 20] .L8: ldr x0, [sp, 24] lsr x0, x0, 1 str x0, [sp, 24] ldr x0, [sp, 24] cmp x0, 0 beq .L13 ldr s0, [sp, 12] fmul s0, s0, s0 str s0, [sp, 12] b .L11 .L13: nop .L6: 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 .L15 ldr w0, [sp, 4] cmp w0, 0 bge .L16 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] .L16: ldrsw x0, [sp, 4] str x0, [sp, 24] .L20: ldr x0, [sp, 24] and x0, x0, 1 cmp x0, 0 beq .L17 ldr d1, [sp, 16] ldr d0, [sp, 8] fmul d0, d1, d0 str d0, [sp, 16] .L17: ldr x0, [sp, 24] lsr x0, x0, 1 str x0, [sp, 24] ldr x0, [sp, 24] cmp x0, 0 beq .L22 ldr d0, [sp, 8] fmul d0, d0, d0 str d0, [sp, 8] b .L20 .L22: nop .L15: 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 .L31 ldr w0, [sp, 20] cmp w0, 0 bge .L25 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] .L25: ldrsw x0, [sp, 20] str x0, [sp, 48] str wzr, [sp, 44] fmov s0, 1.0e+0 str s0, [sp, 40] .L29: ldr x0, [sp, 48] and x0, x0, 1 cmp x0, 0 beq .L26 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] .L26: ldr x0, [sp, 48] lsr x0, x0, 1 str x0, [sp, 48] ldr x0, [sp, 48] cmp x0, 0 beq .L32 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 .L29 .L31: str wzr, [sp, 44] fmov s0, 1.0e+0 str s0, [sp, 40] b .L24 .L32: nop .L24: 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 .L41 ldr w0, [sp, 28] cmp w0, 0 bge .L35 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] .L35: ldrsw x0, [sp, 28] str x0, [sp, 56] str xzr, [sp, 88] fmov d0, 1.0e+0 str d0, [sp, 80] .L39: ldr x0, [sp, 56] and x0, x0, 1 cmp x0, 0 beq .L36 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] .L36: ldr x0, [sp, 56] lsr x0, x0, 1 str x0, [sp, 56] ldr x0, [sp, 56] cmp x0, 0 beq .L42 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 .L39 .L41: str xzr, [sp, 88] fmov d0, 1.0e+0 str d0, [sp, 80] b .L34 .L42: nop .L34: 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 .L44 ldr w0, [sp, 8] cmp w0, 0 beq .L45 ldr w0, [sp, 12] cmp w0, 1 bne .L46 .L45: mov w0, 1 str w0, [sp, 20] b .L44 .L46: ldr w0, [sp, 12] cmn w0, #1 beq .L47 ldr w0, [sp, 12] cmp w0, 0 bne .L48 mov w1, 1 ldr w0, [sp, 12] sdiv w0, w1, w0 b .L49 .L48: mov w0, 0 .L49: str w0, [sp, 20] b .L44 .L47: ldr w0, [sp, 8] neg w0, w0 str w0, [sp, 8] .L44: ldr w0, [sp, 8] cmp w0, 0 bgt .L50 ldr w0, [sp, 8] cmp w0, 0 beq .L51 ldr w0, [sp, 12] cmp w0, 1 beq .L51 ldr w0, [sp, 12] cmn w0, #1 bne .L51 .L50: ldrsw x0, [sp, 8] str x0, [sp, 24] mov w0, 1 str w0, [sp, 20] .L55: ldr x0, [sp, 24] and x0, x0, 1 cmp x0, 0 beq .L52 ldr w1, [sp, 20] ldr w0, [sp, 12] mul w0, w1, w0 str w0, [sp, 20] .L52: ldr x0, [sp, 24] lsr x0, x0, 1 str x0, [sp, 24] ldr x0, [sp, 24] cmp x0, 0 beq .L57 ldr w0, [sp, 12] mul w0, w0, w0 str w0, [sp, 12] b .L55 .L57: nop .L51: 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 .L59 .L62: 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 .L64 b .L60 .L64: 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] .L60: ldr w0, [sp, 32] add w0, w0, 1 str w0, [sp, 32] .L59: ldr w1, [sp, 32] ldr w0, [sp, 16] cmp w1, w0 ble .L62 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 .L66 .L69: 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 .L71 b .L67 .L71: 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] .L67: ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L66: ldr w1, [sp, 40] ldr w0, [sp, 16] cmp w1, w0 ble .L69 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_ .align 2 .global clatm2_ .type clatm2_, %function clatm2_: .LFB21: .cfi_startproc stp x29, x30, [sp, -256]! .cfi_def_cfa_offset 256 .cfi_offset 29, -256 .cfi_offset 30, -248 mov x29, sp str x19, [sp, 16] stp d8, d9, [sp, 32] stp d10, d11, [sp, 48] .cfi_offset 19, -240 .cfi_offset 72, -224 .cfi_offset 73, -216 .cfi_offset 74, -208 .cfi_offset 75, -200 str x0, [sp, 184] str x1, [sp, 176] str x2, [sp, 168] str x3, [sp, 160] str x4, [sp, 152] str x5, [sp, 144] str x6, [sp, 136] str x7, [sp, 128] ldr x0, [sp, 256] str x0, [sp, 120] ldr x0, [sp, 264] str x0, [sp, 112] ldr x0, [sp, 272] str x0, [sp, 104] ldr x0, [sp, 280] str x0, [sp, 96] ldr x0, [sp, 288] str x0, [sp, 88] ldr x0, [sp, 296] str x0, [sp, 80] ldr x0, [sp, 304] str x0, [sp, 72] ldr x0, [sp, 312] str x0, [sp, 64] 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, 72] sub x0, x0, #4 str x0, [sp, 72] ldr x0, [sp, 88] sub x0, x0, #8 str x0, [sp, 88] ldr x0, [sp, 96] sub x0, x0, #8 str x0, [sp, 96] ldr x0, [sp, 112] sub x0, x0, #8 str x0, [sp, 112] ldr x0, [sp, 120] sub x0, x0, #4 str x0, [sp, 120] ldr x0, [sp, 160] ldr w0, [x0] cmp w0, 0 ble .L73 ldr x0, [sp, 160] ldr w1, [x0] ldr x0, [sp, 176] ldr w0, [x0] cmp w1, w0 bgt .L73 ldr x0, [sp, 152] ldr w0, [x0] cmp w0, 0 ble .L73 ldr x0, [sp, 152] ldr w1, [x0] ldr x0, [sp, 168] ldr w0, [x0] cmp w1, w0 ble .L74 .L73: ldr x0, [sp, 184] str wzr, [x0] ldr x0, [sp, 184] str wzr, [x0, 4] b .L72 .L74: ldr x0, [sp, 152] ldr w1, [x0] ldr x0, [sp, 160] ldr w2, [x0] ldr x0, [sp, 136] ldr w0, [x0] add w0, w2, w0 cmp w1, w0 bgt .L76 ldr x0, [sp, 152] ldr w1, [x0] ldr x0, [sp, 160] ldr w2, [x0] ldr x0, [sp, 144] ldr w0, [x0] sub w0, w2, w0 cmp w1, w0 bge .L77 .L76: ldr x0, [sp, 184] str wzr, [x0] ldr x0, [sp, 184] str wzr, [x0, 4] b .L72 .L77: ldr x0, [sp, 64] ldr s0, [x0] fcmpe s0, #0.0 bgt .L95 b .L78 .L95: ldr x0, [sp, 120] add x0, x0, 4 bl slaran_ fmov s1, s0 ldr x0, [sp, 64] ldr s0, [x0] fcmpe s1, s0 bmi .L96 b .L78 .L96: ldr x0, [sp, 184] str wzr, [x0] ldr x0, [sp, 184] str wzr, [x0, 4] b .L72 .L78: ldr x0, [sp, 80] ldr w0, [x0] cmp w0, 0 bne .L81 ldr x0, [sp, 160] ldr w0, [x0] str w0, [sp, 200] ldr x0, [sp, 152] ldr w0, [x0] str w0, [sp, 204] b .L82 .L81: ldr x0, [sp, 80] ldr w0, [x0] cmp w0, 1 bne .L83 ldr x0, [sp, 160] ldr w0, [x0] sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 72] add x0, x1, x0 ldr w0, [x0] str w0, [sp, 200] ldr x0, [sp, 152] ldr w0, [x0] str w0, [sp, 204] b .L82 .L83: ldr x0, [sp, 80] ldr w0, [x0] cmp w0, 2 bne .L84 ldr x0, [sp, 160] ldr w0, [x0] str w0, [sp, 200] ldr x0, [sp, 152] ldr w0, [x0] sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 72] add x0, x1, x0 ldr w0, [x0] str w0, [sp, 204] b .L82 .L84: ldr x0, [sp, 80] ldr w0, [x0] cmp w0, 3 bne .L82 ldr x0, [sp, 160] ldr w0, [x0] sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 72] add x0, x1, x0 ldr w0, [x0] str w0, [sp, 200] ldr x0, [sp, 152] ldr w0, [x0] sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 72] add x0, x1, x0 ldr w0, [x0] str w0, [sp, 204] .L82: ldr w1, [sp, 200] ldr w0, [sp, 204] cmp w1, w0 bne .L85 ldr w0, [sp, 200] str w0, [sp, 208] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 112] add x0, x1, x0 ldr s0, [x0] str s0, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 112] add x0, x1, x0 ldr s0, [x0, 4] str s0, [sp, 244] b .L86 .L85: ldr x0, [sp, 120] add x0, x0, 4 mov x1, x0 ldr x0, [sp, 128] bl clarnd_ fmov s2, s0 fmov s0, s1 str s2, [sp, 216] str s0, [sp, 220] ldr s0, [sp, 216] str s0, [sp, 240] ldr s0, [sp, 220] str s0, [sp, 244] .L86: ldr x0, [sp, 104] ldr w0, [x0] cmp w0, 1 bne .L87 ldr w0, [sp, 200] str w0, [sp, 208] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s0, s2, s0 fsub s0, s1, s0 str s0, [sp, 216] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s0, s2, s0 fadd s0, s1, s0 str s0, [sp, 220] ldr s0, [sp, 216] str s0, [sp, 240] ldr s0, [sp, 220] str s0, [sp, 244] b .L88 .L87: ldr x0, [sp, 104] ldr w0, [x0] cmp w0, 2 bne .L89 ldr w0, [sp, 204] str w0, [sp, 208] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 88] add x0, x1, x0 ldr s0, [x0] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 88] add x0, x1, x0 ldr s0, [x0, 4] fmul s0, s2, s0 fsub s0, s1, s0 str s0, [sp, 216] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 88] add x0, x1, x0 ldr s0, [x0, 4] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 88] add x0, x1, x0 ldr s0, [x0] fmul s0, s2, s0 fadd s0, s1, s0 str s0, [sp, 220] ldr s0, [sp, 216] str s0, [sp, 240] ldr s0, [sp, 220] str s0, [sp, 244] b .L88 .L89: ldr x0, [sp, 104] ldr w0, [x0] cmp w0, 3 bne .L90 ldr w0, [sp, 200] str w0, [sp, 208] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s0, s2, s0 fsub s0, s1, s0 str s0, [sp, 224] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s0, s2, s0 fadd s0, s1, s0 str s0, [sp, 228] ldr w0, [sp, 204] str w0, [sp, 212] ldr s1, [sp, 224] ldrsw x0, [sp, 212] lsl x0, x0, 3 ldr x1, [sp, 88] add x0, x1, x0 ldr s0, [x0] fmul s1, s1, s0 ldr s2, [sp, 228] ldrsw x0, [sp, 212] lsl x0, x0, 3 ldr x1, [sp, 88] add x0, x1, x0 ldr s0, [x0, 4] fmul s0, s2, s0 fsub s0, s1, s0 str s0, [sp, 216] ldr s1, [sp, 224] ldrsw x0, [sp, 212] lsl x0, x0, 3 ldr x1, [sp, 88] add x0, x1, x0 ldr s0, [x0, 4] fmul s1, s1, s0 ldr s2, [sp, 228] ldrsw x0, [sp, 212] lsl x0, x0, 3 ldr x1, [sp, 88] add x0, x1, x0 ldr s0, [x0] fmul s0, s2, s0 fadd s0, s1, s0 str s0, [sp, 220] ldr s0, [sp, 216] str s0, [sp, 240] ldr s0, [sp, 220] str s0, [sp, 244] b .L88 .L90: ldr x0, [sp, 104] ldr w0, [x0] cmp w0, 4 bne .L91 ldr w1, [sp, 200] ldr w0, [sp, 204] cmp w1, w0 beq .L91 ldr w0, [sp, 200] str w0, [sp, 208] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s0, s2, s0 fsub s0, s1, s0 str s0, [sp, 224] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s0, s2, s0 fadd s0, s1, s0 str s0, [sp, 228] add x0, sp, 224 bl Cf fmov s2, s0 fmov s0, s1 fmov s1, s2 fmov s8, s1 fmov s9, s0 ldrsw x0, [sp, 204] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 bl Cf fmov s2, s0 fmov s0, s1 fmov s1, s2 fmov s10, s1 fmov s11, s0 add x0, sp, 216 bl _pCf mov x19, x0 fmov s3, s11 fmov s2, s10 fmov s1, s9 fmov s0, s8 bl __divsc3 fmov s2, s0 fmov s0, s1 fmov s1, s2 str s1, [x19] str s0, [x19, 4] ldr s0, [sp, 216] str s0, [sp, 240] ldr s0, [sp, 220] str s0, [sp, 244] b .L88 .L91: ldr x0, [sp, 104] ldr w0, [x0] cmp w0, 5 bne .L92 ldr w0, [sp, 200] str w0, [sp, 208] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s0, s2, s0 fsub s0, s1, s0 str s0, [sp, 224] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s0, s2, s0 fadd s0, s1, s0 str s0, [sp, 228] ldrsw x0, [sp, 204] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 bl Cf fmov s2, s0 fmov s0, s1 fmov s1, s2 fmov s8, s1 fmov s9, s0 add x0, sp, 232 bl _pCf fneg s0, s9 str s8, [x0] str s0, [x0, 4] ldr s1, [sp, 224] ldr s0, [sp, 232] fmul s1, s1, s0 ldr s2, [sp, 228] ldr s0, [sp, 236] fmul s0, s2, s0 fsub s0, s1, s0 str s0, [sp, 216] ldr s1, [sp, 224] ldr s0, [sp, 236] fmul s1, s1, s0 ldr s2, [sp, 228] ldr s0, [sp, 232] fmul s0, s2, s0 fadd s0, s1, s0 str s0, [sp, 220] ldr s0, [sp, 216] str s0, [sp, 240] ldr s0, [sp, 220] str s0, [sp, 244] b .L88 .L92: ldr x0, [sp, 104] ldr w0, [x0] cmp w0, 6 bne .L88 ldr w0, [sp, 200] str w0, [sp, 208] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s0, s2, s0 fsub s0, s1, s0 str s0, [sp, 224] ldr s1, [sp, 240] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s1, s1, s0 ldr s2, [sp, 244] ldrsw x0, [sp, 208] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s0, s2, s0 fadd s0, s1, s0 str s0, [sp, 228] ldr w0, [sp, 204] str w0, [sp, 212] ldr s1, [sp, 224] ldrsw x0, [sp, 212] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s1, s1, s0 ldr s2, [sp, 228] ldrsw x0, [sp, 212] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s0, s2, s0 fsub s0, s1, s0 str s0, [sp, 216] ldr s1, [sp, 224] ldrsw x0, [sp, 212] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0, 4] fmul s1, s1, s0 ldr s2, [sp, 228] ldrsw x0, [sp, 212] lsl x0, x0, 3 ldr x1, [sp, 96] add x0, x1, x0 ldr s0, [x0] fmul s0, s2, s0 fadd s0, s1, s0 str s0, [sp, 220] ldr s0, [sp, 216] str s0, [sp, 240] ldr s0, [sp, 220] str s0, [sp, 244] .L88: ldr s0, [sp, 240] ldr x0, [sp, 184] str s0, [x0] ldr s0, [sp, 244] ldr x0, [sp, 184] str s0, [x0, 4] nop .L72: 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 .L94 bl __stack_chk_fail .L94: ldp d8, d9, [sp, 32] ldp d10, d11, [sp, 48] ldr x19, [sp, 16] ldp x29, x30, [sp], 256 .cfi_restore 30 .cfi_restore 29 .cfi_restore 19 .cfi_restore 74 .cfi_restore 75 .cfi_restore 72 .cfi_restore 73 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE21: .size clatm2_, .-clatm2_ ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .section .rodata .align 3 .LC0: .string "clear" .align 3 .LC1: .string "r" .align 3 .LC2: .string "file1.c" .text .align 2 .global main .type main, %function main: .LFB6: .cfi_startproc stp x29, x30, [sp, -208]! .cfi_def_cfa_offset 208 .cfi_offset 29, -208 .cfi_offset 30, -200 mov x29, sp 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, .LC0 add x0, x0, :lo12:.LC0 bl system strb wzr, [sp, 31] mov w0, -1 str w0, [sp, 32] mov w0, -1 str w0, [sp, 36] str wzr, [sp, 48] str wzr, [sp, 64] str wzr, [sp, 68] str wzr, [sp, 60] str wzr, [sp, 56] str wzr, [sp, 40] strb wzr, [sp, 28] strb wzr, [sp, 30] strb wzr, [sp, 29] adrp x0, .LC1 add x1, x0, :lo12:.LC1 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl fopen str x0, [sp, 88] adrp x0, .LC1 add x1, x0, :lo12:.LC1 adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl fopen str x0, [sp, 72] mov w2, 2 mov x1, 0 ldr x0, [sp, 88] bl fseek ldr x0, [sp, 88] bl ftell mov x1, 1 bl calloc str x0, [sp, 80] ldr x0, [sp, 88] bl rewind str wzr, [sp, 44] ldr x0, [sp, 72] bl getc strb w0, [sp, 29] b .L2 .L30: ldrb w0, [sp, 29] cmp w0, 42 bne .L3 ldr w0, [sp, 56] cmp w0, 0 bne .L3 mov w0, 1 str w0, [sp, 56] b .L4 .L3: ldrb w0, [sp, 30] cmp w0, 42 bne .L5 ldrb w0, [sp, 29] cmp w0, 47 bne .L5 ldr w0, [sp, 56] cmp w0, 1 bne .L5 str wzr, [sp, 56] b .L4 .L5: ldrb w0, [sp, 30] cmp w0, 47 bne .L6 ldrb w0, [sp, 29] cmp w0, 47 bne .L6 ldr w0, [sp, 60] cmp w0, 0 bne .L6 mov w0, 1 str w0, [sp, 60] b .L4 .L6: ldrb w0, [sp, 30] cmp w0, 10 bne .L4 ldr w0, [sp, 60] cmp w0, 1 bne .L4 str wzr, [sp, 60] .L4: ldr w0, [sp, 60] cmp w0, 0 bne .L7 ldr w0, [sp, 56] cmp w0, 0 bne .L7 ldrb w0, [sp, 30] cmp w0, 39 beq .L8 ldrb w0, [sp, 30] cmp w0, 34 beq .L8 ldrb w0, [sp, 30] cmp w0, 92 bne .L9 .L8: add x1, sp, 36 add x0, sp, 96 bl poppush and w0, w0, 255 str w0, [sp, 52] ldrb w0, [sp, 30] ldr w1, [sp, 52] cmp w1, w0 beq .L10 ldr w0, [sp, 52] cmp w0, 92 bne .L11 .L10: add x1, sp, 36 add x0, sp, 96 bl pop b .L13 .L11: add x1, sp, 36 add x0, sp, 96 ldrb w2, [sp, 30] bl push b .L13 .L9: add x1, sp, 36 add x0, sp, 96 bl poppush and w0, w0, 255 str w0, [sp, 52] ldr w0, [sp, 52] cmp w0, 92 bne .L13 add x1, sp, 36 add x0, sp, 96 bl pop .L13: ldr w0, [sp, 36] cmp w0, 0 bge .L14 ldrb w0, [sp, 28] bl isalnum_ cmp w0, 0 beq .L15 bl __ctype_b_loc ldr x1, [x0] ldrb w0, [sp, 30] lsl x0, x0, 1 add x0, x1, x0 ldrh w0, [x0] and w0, w0, 8192 cmp w0, 0 beq .L15 ldrb w0, [sp, 29] bl isoperator cmp w0, 0 beq .L15 b .L2 .L15: ldrb w0, [sp, 28] bl isoperator cmp w0, 0 beq .L16 bl __ctype_b_loc ldr x1, [x0] ldrb w0, [sp, 30] lsl x0, x0, 1 add x0, x1, x0 ldrh w0, [x0] and w0, w0, 8192 cmp w0, 0 beq .L16 ldrb w0, [sp, 29] bl isalnum_ cmp w0, 0 beq .L16 b .L2 .L16: bl __ctype_b_loc ldr x1, [x0] ldrb w0, [sp, 28] lsl x0, x0, 1 add x0, x1, x0 ldrh w0, [x0] and w0, w0, 8192 cmp w0, 0 beq .L17 bl __ctype_b_loc ldr x1, [x0] ldrb w0, [sp, 30] lsl x0, x0, 1 add x0, x1, x0 ldrh w0, [x0] and w0, w0, 8192 cmp w0, 0 beq .L17 b .L2 .L17: ldrb w0, [sp, 28] cmp w0, 41 bne .L18 bl __ctype_b_loc ldr x1, [x0] ldrb w0, [sp, 30] lsl x0, x0, 1 add x0, x1, x0 ldrh w0, [x0] and w0, w0, 8192 cmp w0, 0 beq .L18 ldrb w0, [sp, 29] cmp w0, 59 bne .L18 b .L2 .L18: ldr w0, [sp, 40] cmp w0, 1 bne .L19 bl __ctype_b_loc ldr x1, [x0] ldrb w0, [sp, 30] lsl x0, x0, 1 add x0, x1, x0 ldrh w0, [x0] and w0, w0, 8192 cmp w0, 0 bne .L19 ldr w0, [sp, 44] add w1, w0, 1 str w1, [sp, 44] sxtw x0, w0 ldr x1, [sp, 80] add x0, x1, x0 mov w1, 10 strb w1, [x0] str wzr, [sp, 40] .L19: ldrb w0, [sp, 30] cmp w0, 40 bne .L20 ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] b .L21 .L20: ldrb w0, [sp, 30] cmp w0, 41 bne .L21 ldr w0, [sp, 48] sub w0, w0, #1 str w0, [sp, 48] .L21: ldrb w0, [sp, 30] cmp w0, 9 beq .L22 ldrb w0, [sp, 30] cmp w0, 32 beq .L23 ldrb w0, [sp, 30] cmp w0, 10 bne .L24 .L23: bl __ctype_b_loc ldr x1, [x0] ldrb w0, [sp, 28] lsl x0, x0, 1 add x0, x1, x0 ldrh w0, [x0] and w0, w0, 8192 cmp w0, 0 bne .L22 .L24: ldr w0, [sp, 44] add w1, w0, 1 str w1, [sp, 44] sxtw x0, w0 ldr x1, [sp, 80] add x0, x1, x0 ldrb w1, [sp, 30] strb w1, [x0] .L22: ldr w0, [sp, 48] cmp w0, 0 bne .L31 ldrb w0, [sp, 30] cmp w0, 123 beq .L26 ldrb w0, [sp, 30] cmp w0, 125 beq .L26 ldrb w0, [sp, 30] cmp w0, 59 beq .L26 ldrb w0, [sp, 30] cmp w0, 41 bne .L31 bl __ctype_b_loc ldr x1, [x0] ldrb w0, [sp, 29] lsl x0, x0, 1 add x0, x1, x0 ldrh w0, [x0] and w0, w0, 4 cmp w0, 0 bne .L31 .L26: mov w0, 1 str w0, [sp, 40] b .L31 .L14: ldr w0, [sp, 44] add w1, w0, 1 str w1, [sp, 44] sxtw x0, w0 ldr x1, [sp, 80] add x0, x1, x0 ldrb w1, [sp, 30] strb w1, [x0] b .L31 .L7: ldr w0, [sp, 44] add w1, w0, 1 str w1, [sp, 44] sxtw x0, w0 ldr x1, [sp, 80] add x0, x1, x0 ldrb w1, [sp, 30] strb w1, [x0] b .L27 .L31: nop .L27: ldrb w0, [sp, 30] strb w0, [sp, 28] .L2: ldr x0, [sp, 88] bl getc strb w0, [sp, 30] ldr x0, [sp, 72] bl getc strb w0, [sp, 29] ldrb w0, [sp, 30] cmp w0, 47 bne .L3 b .L30 .cfi_endproc .LFE6: .size main, .-main .section .rodata .align 3 .LC3: .string "Overflow" .text .align 2 .global push .type push, %function push: .LFB7: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 40] str x1, [sp, 32] strb w2, [sp, 31] ldr x0, [sp, 32] ldr w0, [x0] cmp w0, 99 ble .L33 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf mov w0, 1 bl exit .L33: ldr x0, [sp, 32] ldr w0, [x0] add w1, w0, 1 ldr x0, [sp, 32] str w1, [x0] ldr x0, [sp, 32] ldr w0, [x0] sxtw x0, w0 ldr x1, [sp, 40] add x0, x1, x0 ldrb w1, [sp, 31] strb w1, [x0] nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size push, .-push .section .rodata .align 3 .LC4: .string "Underflow" .text .align 2 .global pop .type pop, %function pop: .LFB8: .cfi_startproc stp x29, x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 29, -32 .cfi_offset 30, -24 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] ldr x0, [sp, 16] ldr w0, [x0] cmp w0, 0 bge .L35 adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl printf mov w0, 1 bl exit .L35: ldr x0, [sp, 16] ldr w0, [x0] sub w2, w0, #1 ldr x1, [sp, 16] str w2, [x1] sxtw x0, w0 ldr x1, [sp, 24] add x0, x1, x0 ldrb w0, [x0] ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE8: .size pop, .-pop .align 2 .global poppush .type poppush, %function poppush: .LFB9: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] ldr x0, [sp, 16] ldr w0, [x0] cmp w0, 0 bge .L38 mov w0, 0 b .L39 .L38: ldr x1, [sp, 16] ldr x0, [sp, 24] bl pop strb w0, [sp, 47] ldrb w2, [sp, 47] ldr x1, [sp, 16] ldr x0, [sp, 24] bl push ldrb w0, [sp, 47] .L39: ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size poppush, .-poppush .align 2 .global isalnum_ .type isalnum_, %function isalnum_: .LFB10: .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] bl __ctype_b_loc ldr x1, [x0] ldrb w0, [sp, 31] lsl x0, x0, 1 add x0, x1, x0 ldrh w0, [x0] and w0, w0, 8 cmp w0, 0 bne .L41 ldrb w0, [sp, 31] cmp w0, 95 bne .L42 .L41: mov w0, 1 b .L43 .L42: mov w0, 0 .L43: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE10: .size isalnum_, .-isalnum_ .align 2 .global differ .type differ, %function differ: .LFB11: .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] strb w1, [sp, 30] ldrb w0, [sp, 31] bl isalnum_ cmp w0, 0 beq .L45 ldrb w0, [sp, 30] bl isoperator cmp w0, 0 beq .L45 ldrb w0, [sp, 30] cmp w0, 44 bne .L46 .L45: ldrb w0, [sp, 31] bl isoperator cmp w0, 0 beq .L47 ldrb w0, [sp, 30] bl isalnum_ cmp w0, 0 beq .L47 .L46: mov w0, 1 b .L48 .L47: bl __ctype_b_loc ldr x1, [x0] ldrb w0, [sp, 31] lsl x0, x0, 1 add x0, x1, x0 ldrh w0, [x0] and w0, w0, 4 cmp w0, 0 beq .L49 ldrb w0, [sp, 30] cmp w0, 39 beq .L50 ldrb w0, [sp, 30] cmp w0, 34 beq .L50 ldrb w0, [sp, 30] cmp w0, 40 beq .L50 ldrb w0, [sp, 30] cmp w0, 41 beq .L50 ldrb w0, [sp, 30] cmp w0, 91 beq .L50 ldrb w0, [sp, 30] cmp w0, 93 beq .L50 ldrb w0, [sp, 30] cmp w0, 123 beq .L50 ldrb w0, [sp, 30] cmp w0, 125 beq .L50 .L49: ldrb w0, [sp, 31] cmp w0, 39 beq .L51 ldrb w0, [sp, 31] cmp w0, 34 beq .L51 ldrb w0, [sp, 31] cmp w0, 40 beq .L51 ldrb w0, [sp, 31] cmp w0, 41 beq .L51 ldrb w0, [sp, 31] cmp w0, 91 beq .L51 ldrb w0, [sp, 31] cmp w0, 93 beq .L51 ldrb w0, [sp, 31] cmp w0, 123 beq .L51 ldrb w0, [sp, 31] cmp w0, 125 bne .L52 .L51: bl __ctype_b_loc ldr x1, [x0] ldrb w0, [sp, 31] lsl x0, x0, 1 add x0, x1, x0 ldrh w0, [x0] and w0, w0, 4 cmp w0, 0 beq .L52 .L50: mov w0, 1 b .L48 .L52: mov w0, 0 .L48: ldp x29, x30, [sp], 32 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE11: .size differ, .-differ .section .rodata .align 3 .LC5: .string "~#@$!%^&*()+-={}[]:;<>?,./\\|" .text .align 2 .global isoperator .type isoperator, %function isoperator: .LFB12: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 strb w0, [sp, 15] adrp x0, .LC5 add x0, x0, :lo12:.LC5 str x0, [sp, 24] b .L54 .L57: ldr x0, [sp, 24] ldrb w0, [x0] ldrb w1, [sp, 15] cmp w1, w0 bne .L55 mov w0, 1 b .L56 .L55: ldr x0, [sp, 24] add x0, x0, 1 str x0, [sp, 24] .L54: ldr x0, [sp, 24] ldrb w0, [x0] cmp w0, 0 bne .L57 mov w0, 0 .L56: add sp, sp, 32 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE12: .size isoperator, .-isoperator ```
### Human: Write a random program in ARM assembly### Assistant: ``` .text .global main_result .bss .align 2 .type main_result, %object .size main_result, 4 main_result: .zero 4 .global type .align 2 .type type, %object .size type, 4 type: .zero 4 .global nb .align 2 .type nb, %object .size nb, 4 nb: .zero 4 .global round_val .align 2 .type round_val, %object .size round_val, 4 round_val: .zero 4 .global key .align 3 .type key, %object .size key, 128 key: .zero 128 .global statemt .align 3 .type statemt, %object .size statemt, 128 statemt: .zero 128 .global word .align 3 .type word, %object .size word, 1920 word: .zero 1920 .section .rodata .align 3 .LC2: .string "encrypted message \t" .align 3 .LC3: .string "%x" .text .align 2 .global encrypt .type encrypt, %function encrypt: .LFB0: .cfi_startproc stp x29, x30, [sp, -128]! .cfi_def_cfa_offset 128 .cfi_offset 29, -128 .cfi_offset 30, -120 mov x29, sp str x0, [sp, 40] str x1, [sp, 32] str w2, [sp, 28] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 120] mov x1, 0 mov w1, 32 ldr x0, [sp, 40] bl _ssdm_SpecArrayDimSize mov w1, 32 ldr x0, [sp, 32] bl _ssdm_SpecArrayDimSize adrp x0, .LC0 add x1, x0, :lo12:.LC0 add x0, sp, 56 ldp q0, q1, [x1] stp q0, q1, [x0] ldp q0, q1, [x1, 32] stp q0, q1, [x0, 32] add x0, sp, 56 bl _ssdm_SpecConstant ldr x1, [sp, 32] ldr w0, [sp, 28] bl KeySchedule ldr w1, [sp, 28] mov w0, 59648 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L2 ldr w1, [sp, 28] mov w0, 59648 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L3 ldr w1, [sp, 28] mov w0, 59584 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L4 ldr w1, [sp, 28] mov w0, 59584 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L3 ldr w1, [sp, 28] mov w0, 59520 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L5 ldr w1, [sp, 28] mov w0, 59520 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L3 ldr w1, [sp, 28] mov w0, 61184 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L2 ldr w1, [sp, 28] mov w0, 61184 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L3 ldr w1, [sp, 28] mov w0, 61120 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L6 ldr w1, [sp, 28] mov w0, 61120 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L3 ldr w1, [sp, 28] mov w0, 61056 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L7 ldr w1, [sp, 28] mov w0, 61056 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L3 ldr w1, [sp, 28] mov w0, 62720 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L2 ldr w1, [sp, 28] mov w0, 62720 movk w0, 0x1, lsl 16 cmp w1, w0 bgt .L3 ldr w1, [sp, 28] mov w0, 62592 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L8 ldr w1, [sp, 28] mov w0, 62656 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L6 b .L3 .L8: adrp x0, round_val add x0, x0, :lo12:round_val str wzr, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 4 str w1, [x0] b .L3 .L7: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 2 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 4 str w1, [x0] b .L3 .L5: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 4 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 4 str w1, [x0] b .L3 .L6: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 2 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 6 str w1, [x0] b .L3 .L4: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 4 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 6 str w1, [x0] b .L3 .L2: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 4 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 8 str w1, [x0] nop .L3: mov w2, 0 ldr w1, [sp, 28] ldr x0, [sp, 40] bl AddRoundKey mov w0, 1 str w0, [sp, 52] b .L9 .L10: adrp x0, nb add x0, x0, :lo12:nb ldr w0, [x0] mov w1, w0 ldr x0, [sp, 40] bl ByteSub_ShiftRow adrp x0, nb add x0, x0, :lo12:nb ldr w0, [x0] ldr w2, [sp, 52] mov w1, w0 ldr x0, [sp, 40] bl MixColumn_AddRoundKey ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L9: adrp x0, round_val add x0, x0, :lo12:round_val ldr w0, [x0] add w0, w0, 9 ldr w1, [sp, 52] cmp w1, w0 ble .L10 adrp x0, nb add x0, x0, :lo12:nb ldr w0, [x0] mov w1, w0 ldr x0, [sp, 40] bl ByteSub_ShiftRow ldr w2, [sp, 52] ldr w1, [sp, 28] ldr x0, [sp, 40] bl AddRoundKey adrp x0, .LC2 add x0, x0, :lo12:.LC2 bl printf str wzr, [sp, 52] b .L11 .L13: ldrsw x0, [sp, 52] lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] cmp w0, 15 bgt .L12 mov w0, 48 bl putchar .L12: ldrsw x0, [sp, 52] lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] mov w1, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L11: adrp x0, nb add x0, x0, :lo12:nb ldr w0, [x0] lsl w0, w0, 2 ldr w1, [sp, 52] cmp w1, w0 blt .L13 str wzr, [sp, 52] b .L14 .L15: ldrsw x0, [sp, 52] lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w1, [x0] ldrsw x0, [sp, 52] lsl x0, x0, 2 add x2, sp, 56 ldr w0, [x2, x0] cmp w1, w0 cset w0, ne and w0, w0, 255 mov w1, w0 adrp x0, main_result add x0, x0, :lo12:main_result ldr w0, [x0] add w1, w1, w0 adrp x0, main_result add x0, x0, :lo12:main_result str w1, [x0] ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L14: ldr w0, [sp, 52] cmp w0, 15 ble .L15 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 .L17 bl __stack_chk_fail .L17: mov w0, w1 ldp x29, x30, [sp], 128 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size encrypt, .-encrypt .section .rodata .align 3 .LC0: .word 57 .word 37 .word 132 .word 29 .word 2 .word 220 .word 9 .word 251 .word 220 .word 17 .word 133 .word 151 .word 25 .word 106 .word 11 .word 50 .text .section .rodata .align 3 .LC4: .string "\ndecrypto message\t" .text .align 2 .global decrypt .type decrypt, %function decrypt: .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, 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, 120] mov x1, 0 mov w1, 32 ldr x0, [sp, 40] bl _ssdm_SpecArrayDimSize mov w1, 32 ldr x0, [sp, 32] bl _ssdm_SpecArrayDimSize adrp x0, .LC1 add x1, x0, :lo12:.LC1 add x0, sp, 56 ldp q0, q1, [x1] stp q0, q1, [x0] ldp q0, q1, [x1, 32] stp q0, q1, [x0, 32] add x0, sp, 56 bl _ssdm_SpecConstant ldr x1, [sp, 32] ldr w0, [sp, 28] bl KeySchedule ldr w1, [sp, 28] mov w0, 59648 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L19 ldr w1, [sp, 28] mov w0, 59648 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L20 ldr w1, [sp, 28] mov w0, 59584 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L21 ldr w1, [sp, 28] mov w0, 59584 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L20 ldr w1, [sp, 28] mov w0, 59520 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L22 ldr w1, [sp, 28] mov w0, 59520 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L20 ldr w1, [sp, 28] mov w0, 61184 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L23 ldr w1, [sp, 28] mov w0, 61184 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L20 ldr w1, [sp, 28] mov w0, 61120 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L24 ldr w1, [sp, 28] mov w0, 61120 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L20 ldr w1, [sp, 28] mov w0, 61056 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L25 ldr w1, [sp, 28] mov w0, 61056 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L20 ldr w1, [sp, 28] mov w0, 62720 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L23 ldr w1, [sp, 28] mov w0, 62720 movk w0, 0x1, lsl 16 cmp w1, w0 bgt .L20 ldr w1, [sp, 28] mov w0, 62592 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L26 ldr w1, [sp, 28] mov w0, 62656 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L24 b .L20 .L26: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 10 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 4 str w1, [x0] b .L20 .L24: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 12 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 6 str w1, [x0] b .L20 .L25: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 12 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 4 str w1, [x0] b .L20 .L23: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 14 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 8 str w1, [x0] b .L20 .L22: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 14 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 4 str w1, [x0] b .L20 .L21: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 14 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 6 str w1, [x0] b .L20 .L19: adrp x0, round_val add x0, x0, :lo12:round_val mov w1, 14 str w1, [x0] adrp x0, nb add x0, x0, :lo12:nb mov w1, 8 str w1, [x0] nop .L20: adrp x0, round_val add x0, x0, :lo12:round_val ldr w0, [x0] mov w2, w0 ldr w1, [sp, 28] ldr x0, [sp, 40] bl AddRoundKey adrp x0, nb add x0, x0, :lo12:nb ldr w0, [x0] mov w1, w0 ldr x0, [sp, 40] bl InversShiftRow_ByteSub adrp x0, round_val add x0, x0, :lo12:round_val ldr w0, [x0] sub w0, w0, #1 str w0, [sp, 52] b .L27 .L28: adrp x0, nb add x0, x0, :lo12:nb ldr w0, [x0] ldr w2, [sp, 52] mov w1, w0 ldr x0, [sp, 40] bl AddRoundKey_InversMixColumn adrp x0, nb add x0, x0, :lo12:nb ldr w0, [x0] mov w1, w0 ldr x0, [sp, 40] bl InversShiftRow_ByteSub ldr w0, [sp, 52] sub w0, w0, #1 str w0, [sp, 52] .L27: ldr w0, [sp, 52] cmp w0, 0 bgt .L28 mov w2, 0 ldr w1, [sp, 28] ldr x0, [sp, 40] bl AddRoundKey adrp x0, .LC4 add x0, x0, :lo12:.LC4 bl printf str wzr, [sp, 52] b .L29 .L31: ldrsw x0, [sp, 52] lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] cmp w0, 15 bgt .L30 mov w0, 48 bl putchar .L30: ldrsw x0, [sp, 52] lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] mov w1, w0 adrp x0, .LC3 add x0, x0, :lo12:.LC3 bl printf ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L29: ldr w0, [sp, 28] mov w1, 19923 movk w1, 0x1062, lsl 16 smull x1, w0, w1 lsr x1, x1, 32 asr w2, w1, 6 asr w1, w0, 31 sub w1, w2, w1 mov w2, 1000 mul w1, w1, w2 sub w1, w0, w1 mov w0, w1 add w1, w0, 7 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 3 mov w1, w0 ldr w0, [sp, 52] cmp w0, w1 blt .L31 str wzr, [sp, 52] b .L32 .L33: ldrsw x0, [sp, 52] lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w1, [x0] ldrsw x0, [sp, 52] lsl x0, x0, 2 add x2, sp, 56 ldr w0, [x2, x0] cmp w1, w0 cset w0, ne and w0, w0, 255 mov w1, w0 adrp x0, main_result add x0, x0, :lo12:main_result ldr w0, [x0] add w1, w1, w0 adrp x0, main_result add x0, x0, :lo12:main_result str w1, [x0] ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L32: ldr w0, [sp, 52] cmp w0, 15 ble .L33 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 .L35 bl __stack_chk_fail .L35: mov w0, w1 ldp x29, x30, [sp], 128 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE1: .size decrypt, .-decrypt .section .rodata .align 3 .LC1: .word 50 .word 67 .word 246 .word 168 .word 136 .word 90 .word 48 .word 141 .word 49 .word 49 .word 152 .word 162 .word 224 .word 55 .word 7 .word 52 .text .global Rcon0 .section .rodata .align 3 .type Rcon0, %object .size Rcon0, 120 Rcon0: .word 1 .word 2 .word 4 .word 8 .word 16 .word 32 .word 64 .word 128 .word 27 .word 54 .word 108 .word 216 .word 171 .word 77 .word 154 .word 47 .word 94 .word 188 .word 99 .word 198 .word 151 .word 53 .word 106 .word 212 .word 179 .word 125 .word 250 .word 239 .word 197 .word 145 .text .align 2 .global KeySchedule .type KeySchedule, %function KeySchedule: .LFB2: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str w0, [sp, 28] str x1, [sp, 16] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 72] mov x1, 0 mov w1, 32 ldr x0, [sp, 16] bl _ssdm_SpecArrayDimSize ldr w1, [sp, 28] mov w0, 59648 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L37 ldr w1, [sp, 28] mov w0, 59648 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L38 ldr w1, [sp, 28] mov w0, 59584 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L39 ldr w1, [sp, 28] mov w0, 59584 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L38 ldr w1, [sp, 28] mov w0, 59520 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L40 ldr w1, [sp, 28] mov w0, 59520 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L38 ldr w1, [sp, 28] mov w0, 61184 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L41 ldr w1, [sp, 28] mov w0, 61184 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L38 ldr w1, [sp, 28] mov w0, 61120 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L42 ldr w1, [sp, 28] mov w0, 61120 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L38 ldr w1, [sp, 28] mov w0, 61056 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L43 ldr w1, [sp, 28] mov w0, 61056 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L38 ldr w1, [sp, 28] mov w0, 62720 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L44 ldr w1, [sp, 28] mov w0, 62720 movk w0, 0x1, lsl 16 cmp w1, w0 bgt .L38 ldr w1, [sp, 28] mov w0, 62592 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L45 ldr w1, [sp, 28] mov w0, 62656 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L46 b .L38 .L45: mov w0, 4 str w0, [sp, 36] mov w0, 4 str w0, [sp, 40] mov w0, 10 str w0, [sp, 44] b .L47 .L46: mov w0, 4 str w0, [sp, 36] mov w0, 6 str w0, [sp, 40] mov w0, 12 str w0, [sp, 44] b .L47 .L44: mov w0, 4 str w0, [sp, 36] mov w0, 8 str w0, [sp, 40] mov w0, 14 str w0, [sp, 44] b .L47 .L43: mov w0, 6 str w0, [sp, 36] mov w0, 4 str w0, [sp, 40] mov w0, 12 str w0, [sp, 44] b .L47 .L42: mov w0, 6 str w0, [sp, 36] mov w0, 6 str w0, [sp, 40] mov w0, 12 str w0, [sp, 44] b .L47 .L41: mov w0, 6 str w0, [sp, 36] mov w0, 8 str w0, [sp, 40] mov w0, 14 str w0, [sp, 44] b .L47 .L40: mov w0, 8 str w0, [sp, 36] mov w0, 4 str w0, [sp, 40] mov w0, 14 str w0, [sp, 44] b .L47 .L39: mov w0, 8 str w0, [sp, 36] mov w0, 6 str w0, [sp, 40] mov w0, 14 str w0, [sp, 44] b .L47 .L37: mov w0, 8 str w0, [sp, 36] mov w0, 8 str w0, [sp, 40] mov w0, 14 str w0, [sp, 44] b .L47 .L38: mov w0, -1 b .L62 .L47: str wzr, [sp, 52] b .L49 .L52: str wzr, [sp, 48] b .L50 .L51: ldr w0, [sp, 52] lsl w1, w0, 2 ldr w0, [sp, 48] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 16] add x0, x1, x0 ldr w3, [x0] adrp x0, word add x2, x0, :lo12:word ldrsw x4, [sp, 52] ldrsw x1, [sp, 48] mov x0, x1 lsl x0, x0, 4 sub x0, x0, x1 lsl x0, x0, 3 add x0, x0, x4 str w3, [x2, x0, lsl 2] ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L50: ldr w0, [sp, 48] cmp w0, 3 ble .L51 ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L49: ldr w1, [sp, 52] ldr w0, [sp, 36] cmp w1, w0 blt .L52 ldr w0, [sp, 36] str w0, [sp, 52] b .L53 .L61: ldr w0, [sp, 52] ldr w1, [sp, 36] sdiv w2, w0, w1 ldr w1, [sp, 36] mul w1, w2, w1 sub w0, w0, w1 cmp w0, 0 bne .L54 ldr w0, [sp, 52] sub w1, w0, #1 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 120 ldr w0, [x0, x1, lsl 2] bl SubByte mov w2, w0 ldr w1, [sp, 52] ldr w0, [sp, 36] sdiv w0, w1, w0 sub w1, w0, #1 adrp x0, Rcon0 add x0, x0, :lo12:Rcon0 sxtw x1, w1 ldr w0, [x0, x1, lsl 2] eor w0, w2, w0 str w0, [sp, 56] ldr w0, [sp, 52] sub w1, w0, #1 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 240 ldr w0, [x0, x1, lsl 2] bl SubByte str w0, [sp, 60] ldr w0, [sp, 52] sub w1, w0, #1 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 360 ldr w0, [x0, x1, lsl 2] bl SubByte str w0, [sp, 64] ldr w0, [sp, 52] sub w1, w0, #1 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 ldr w0, [x0, x1, lsl 2] bl SubByte str w0, [sp, 68] .L54: ldr w0, [sp, 52] ldr w1, [sp, 36] sdiv w2, w0, w1 ldr w1, [sp, 36] mul w1, w2, w1 sub w0, w0, w1 cmp w0, 0 beq .L55 ldr w0, [sp, 52] sub w1, w0, #1 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 56] ldr w0, [sp, 52] sub w1, w0, #1 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 120 ldr w0, [x0, x1, lsl 2] str w0, [sp, 60] ldr w0, [sp, 52] sub w1, w0, #1 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 240 ldr w0, [x0, x1, lsl 2] str w0, [sp, 64] ldr w0, [sp, 52] sub w1, w0, #1 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 360 ldr w0, [x0, x1, lsl 2] str w0, [sp, 68] .L55: ldr w0, [sp, 36] cmp w0, 6 ble .L56 ldr w0, [sp, 52] ldr w1, [sp, 36] sdiv w2, w0, w1 ldr w1, [sp, 36] mul w1, w2, w1 sub w0, w0, w1 cmp w0, 4 bne .L56 str wzr, [sp, 48] b .L57 .L58: ldrsw x0, [sp, 48] lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] bl SubByte mov w2, w0 ldrsw x0, [sp, 48] lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L57: ldr w0, [sp, 48] cmp w0, 3 ble .L58 .L56: str wzr, [sp, 48] b .L59 .L60: ldr w1, [sp, 52] ldr w0, [sp, 36] sub w1, w1, w0 adrp x0, word add x2, x0, :lo12:word sxtw x3, w1 ldrsw x1, [sp, 48] mov x0, x1 lsl x0, x0, 4 sub x0, x0, x1 lsl x0, x0, 3 add x0, x0, x3 ldr w1, [x2, x0, lsl 2] ldrsw x0, [sp, 48] lsl x0, x0, 2 add x2, sp, 56 ldr w0, [x2, x0] eor w3, w1, w0 adrp x0, word add x2, x0, :lo12:word ldrsw x4, [sp, 52] ldrsw x1, [sp, 48] mov x0, x1 lsl x0, x0, 4 sub x0, x0, x1 lsl x0, x0, 3 add x0, x0, x4 str w3, [x2, x0, lsl 2] ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L59: ldr w0, [sp, 48] cmp w0, 3 ble .L60 ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L53: ldr w0, [sp, 44] add w1, w0, 1 ldr w0, [sp, 40] mul w0, w1, w0 ldr w1, [sp, 52] cmp w1, w0 blt .L61 mov w0, 0 .L62: 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 .L63 bl __stack_chk_fail .L63: mov w0, w1 ldp x29, x30, [sp], 80 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE2: .size KeySchedule, .-KeySchedule .global Sbox .section .rodata .align 3 .type Sbox, %object .size Sbox, 1024 Sbox: .word 99 .word 124 .word 119 .word 123 .word 242 .word 107 .word 111 .word 197 .word 48 .word 1 .word 103 .word 43 .word 254 .word 215 .word 171 .word 118 .word 202 .word 130 .word 201 .word 125 .word 250 .word 89 .word 71 .word 240 .word 173 .word 212 .word 162 .word 175 .word 156 .word 164 .word 114 .word 192 .word 183 .word 253 .word 147 .word 38 .word 54 .word 63 .word 247 .word 204 .word 52 .word 165 .word 229 .word 241 .word 113 .word 216 .word 49 .word 21 .word 4 .word 199 .word 35 .word 195 .word 24 .word 150 .word 5 .word 154 .word 7 .word 18 .word 128 .word 226 .word 235 .word 39 .word 178 .word 117 .word 9 .word 131 .word 44 .word 26 .word 27 .word 110 .word 90 .word 160 .word 82 .word 59 .word 214 .word 179 .word 41 .word 227 .word 47 .word 132 .word 83 .word 209 .word 0 .word 237 .word 32 .word 252 .word 177 .word 91 .word 106 .word 203 .word 190 .word 57 .word 74 .word 76 .word 88 .word 207 .word 208 .word 239 .word 170 .word 251 .word 67 .word 77 .word 51 .word 133 .word 69 .word 249 .word 2 .word 127 .word 80 .word 60 .word 159 .word 168 .word 81 .word 163 .word 64 .word 143 .word 146 .word 157 .word 56 .word 245 .word 188 .word 182 .word 218 .word 33 .word 16 .word 255 .word 243 .word 210 .word 205 .word 12 .word 19 .word 236 .word 95 .word 151 .word 68 .word 23 .word 196 .word 167 .word 126 .word 61 .word 100 .word 93 .word 25 .word 115 .word 96 .word 129 .word 79 .word 220 .word 34 .word 42 .word 144 .word 136 .word 70 .word 238 .word 184 .word 20 .word 222 .word 94 .word 11 .word 219 .word 224 .word 50 .word 58 .word 10 .word 73 .word 6 .word 36 .word 92 .word 194 .word 211 .word 172 .word 98 .word 145 .word 149 .word 228 .word 121 .word 231 .word 200 .word 55 .word 109 .word 141 .word 213 .word 78 .word 169 .word 108 .word 86 .word 244 .word 234 .word 101 .word 122 .word 174 .word 8 .word 186 .word 120 .word 37 .word 46 .word 28 .word 166 .word 180 .word 198 .word 232 .word 221 .word 116 .word 31 .word 75 .word 189 .word 139 .word 138 .word 112 .word 62 .word 181 .word 102 .word 72 .word 3 .word 246 .word 14 .word 97 .word 53 .word 87 .word 185 .word 134 .word 193 .word 29 .word 158 .word 225 .word 248 .word 152 .word 17 .word 105 .word 217 .word 142 .word 148 .word 155 .word 30 .word 135 .word 233 .word 206 .word 85 .word 40 .word 223 .word 140 .word 161 .word 137 .word 13 .word 191 .word 230 .word 66 .word 104 .word 65 .word 153 .word 45 .word 15 .word 176 .word 84 .word 187 .word 22 .global invSbox .align 3 .type invSbox, %object .size invSbox, 1024 invSbox: .word 82 .word 9 .word 106 .word 213 .word 48 .word 54 .word 165 .word 56 .word 191 .word 64 .word 163 .word 158 .word 129 .word 243 .word 215 .word 251 .word 124 .word 227 .word 57 .word 130 .word 155 .word 47 .word 255 .word 135 .word 52 .word 142 .word 67 .word 68 .word 196 .word 222 .word 233 .word 203 .word 84 .word 123 .word 148 .word 50 .word 166 .word 194 .word 35 .word 61 .word 238 .word 76 .word 149 .word 11 .word 66 .word 250 .word 195 .word 78 .word 8 .word 46 .word 161 .word 102 .word 40 .word 217 .word 36 .word 178 .word 118 .word 91 .word 162 .word 73 .word 109 .word 139 .word 209 .word 37 .word 114 .word 248 .word 246 .word 100 .word 134 .word 104 .word 152 .word 22 .word 212 .word 164 .word 92 .word 204 .word 93 .word 101 .word 182 .word 146 .word 108 .word 112 .word 72 .word 80 .word 253 .word 237 .word 185 .word 218 .word 94 .word 21 .word 70 .word 87 .word 167 .word 141 .word 157 .word 132 .word 144 .word 216 .word 171 .word 0 .word 140 .word 188 .word 211 .word 10 .word 247 .word 228 .word 88 .word 5 .word 184 .word 179 .word 69 .word 6 .word 208 .word 44 .word 30 .word 143 .word 202 .word 63 .word 15 .word 2 .word 193 .word 175 .word 189 .word 3 .word 1 .word 19 .word 138 .word 107 .word 58 .word 145 .word 17 .word 65 .word 79 .word 103 .word 220 .word 234 .word 151 .word 242 .word 207 .word 206 .word 240 .word 180 .word 230 .word 115 .word 150 .word 172 .word 116 .word 34 .word 231 .word 173 .word 53 .word 133 .word 226 .word 249 .word 55 .word 232 .word 28 .word 117 .word 223 .word 110 .word 71 .word 241 .word 26 .word 113 .word 29 .word 41 .word 197 .word 137 .word 111 .word 183 .word 98 .word 14 .word 170 .word 24 .word 190 .word 27 .word 252 .word 86 .word 62 .word 75 .word 198 .word 210 .word 121 .word 32 .word 154 .word 219 .word 192 .word 254 .word 120 .word 205 .word 90 .word 244 .word 31 .word 221 .word 168 .word 51 .word 136 .word 7 .word 199 .word 49 .word 177 .word 18 .word 16 .word 89 .word 39 .word 128 .word 236 .word 95 .word 96 .word 81 .word 127 .word 169 .word 25 .word 181 .word 74 .word 13 .word 45 .word 229 .word 122 .word 159 .word 147 .word 201 .word 156 .word 239 .word 160 .word 224 .word 59 .word 77 .word 174 .word 42 .word 245 .word 176 .word 200 .word 235 .word 187 .word 60 .word 131 .word 83 .word 153 .word 97 .word 23 .word 43 .word 4 .word 126 .word 186 .word 119 .word 214 .word 38 .word 225 .word 105 .word 20 .word 99 .word 85 .word 33 .word 12 .word 125 .text .align 2 .global ByteSub_ShiftRow .type ByteSub_ShiftRow, %function ByteSub_ShiftRow: .LFB3: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] mov w1, 32 ldr x0, [sp, 24] bl _ssdm_SpecArrayDimSize ldr w0, [sp, 20] cmp w0, 8 beq .L65 ldr w0, [sp, 20] cmp w0, 8 bgt .L69 ldr w0, [sp, 20] cmp w0, 4 beq .L67 ldr w0, [sp, 20] cmp w0, 6 beq .L68 b .L69 .L67: ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 4 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 20 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 36 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 52 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 8 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 40 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 24 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 56 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 12 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 60 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 44 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 28 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w1, [x0, x1, lsl 2] ldr x0, [sp, 24] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 16 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 32 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 48 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] b .L66 .L68: ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 4 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 20 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 36 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 68 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 68 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 52 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 84 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 84 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 68 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 84 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 8 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 72 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 72 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 40 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 72 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 24 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 88 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 88 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 56 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 88 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 12 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 60 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 76 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 76 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 28 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 76 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 92 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 92 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 44 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 92 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w1, [x0, x1, lsl 2] ldr x0, [sp, 24] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 16 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 32 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 48 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 64 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 64 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 64 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 80 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 80 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 80 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] b .L66 .L65: ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 4 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 20 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 36 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 68 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 68 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 52 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 84 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 84 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 68 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 100 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 100 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 84 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 116 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 116 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 100 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 116 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 8 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 104 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 104 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 56 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 104 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 72 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 72 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 24 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 120 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 120 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 72 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 120 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 88 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 88 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 40 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 88 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 76 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 76 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 12 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 76 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 92 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 92 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 28 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 92 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 108 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 108 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 44 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 108 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 124 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 124 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 60 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 124 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] ldr w0, [x0] and w1, w0, 15 adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w1, [x0, x1, lsl 2] ldr x0, [sp, 24] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 16 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 32 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 48 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 64 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 64 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 64 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 80 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 80 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 80 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 96 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 96 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 96 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 112 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 112 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 112 adrp x1, Sbox add x1, x1, :lo12:Sbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] nop .L66: .L69: nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE3: .size ByteSub_ShiftRow, .-ByteSub_ShiftRow .align 2 .global SubByte .type SubByte, %function SubByte: .LFB4: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, 12] ldr w0, [sp, 12] add w1, w0, 15 cmp w0, 0 csel w0, w1, w0, lt asr w0, w0, 4 mov w2, w0 ldr w0, [sp, 12] negs w1, w0 and w0, w0, 15 and w1, w1, 15 csneg w1, w0, w1, mi adrp x0, Sbox add x0, x0, :lo12:Sbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE4: .size SubByte, .-SubByte .align 2 .global InversShiftRow_ByteSub .type InversShiftRow_ByteSub, %function InversShiftRow_ByteSub: .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] str w1, [sp, 20] mov w1, 32 ldr x0, [sp, 24] bl _ssdm_SpecArrayDimSize ldr w0, [sp, 20] cmp w0, 8 beq .L73 ldr w0, [sp, 20] cmp w0, 8 bgt .L77 ldr w0, [sp, 20] cmp w0, 4 beq .L75 ldr w0, [sp, 20] cmp w0, 6 beq .L76 b .L77 .L75: ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 52 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 36 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 20 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 4 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 56 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 24 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 8 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 40 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 60 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 12 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 28 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 44 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w1, [x0, x1, lsl 2] ldr x0, [sp, 24] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 16 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 32 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 48 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] b .L74 .L76: ldr x0, [sp, 24] add x0, x0, 84 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 84 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 68 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 68 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 84 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 68 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 52 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 36 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 20 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 4 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 88 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 88 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 88 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 56 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 24 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 72 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 72 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 72 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 40 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 8 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 60 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 12 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 76 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 76 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 76 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 28 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 92 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 92 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 92 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 44 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w1, [x0, x1, lsl 2] ldr x0, [sp, 24] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 16 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 32 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 48 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 64 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 64 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 64 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 80 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 80 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 80 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] b .L74 .L73: ldr x0, [sp, 24] add x0, x0, 116 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 116 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 100 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 100 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 116 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 84 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 84 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 100 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 68 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 68 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 84 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 52 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 68 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 36 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 52 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 20 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 36 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 4 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 20 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 4 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 120 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 120 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 72 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 72 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 120 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 24 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 72 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 104 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 104 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 24 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 56 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 104 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 8 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 56 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 88 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 88 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 8 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 40 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 88 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 40 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 124 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 124 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 60 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 124 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 60 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 108 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 108 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 44 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 108 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 44 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 92 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 92 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 28 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 92 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 28 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 76 ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] add x0, x0, 76 ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w0, [x0, x1, lsl 2] str w0, [sp, 44] ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 12 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 76 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 12 ldr w1, [sp, 44] str w1, [x0] ldr x0, [sp, 24] ldr w0, [x0] asr w2, w0, 4 ldr x0, [sp, 24] ldr w0, [x0] and w1, w0, 15 adrp x0, invSbox add x0, x0, :lo12:invSbox sxtw x1, w1 sxtw x2, w2 lsl x2, x2, 4 add x1, x2, x1 ldr w1, [x0, x1, lsl 2] ldr x0, [sp, 24] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 16 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 16 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 32 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 32 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 48 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 48 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 64 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 64 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 64 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 80 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 80 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 80 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 96 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 96 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 96 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] ldr x0, [sp, 24] add x0, x0, 112 ldr w0, [x0] asr w3, w0, 4 ldr x0, [sp, 24] add x0, x0, 112 ldr w0, [x0] and w2, w0, 15 ldr x0, [sp, 24] add x0, x0, 112 adrp x1, invSbox add x1, x1, :lo12:invSbox sxtw x2, w2 sxtw x3, w3 lsl x3, x3, 4 add x2, x3, x2 ldr w1, [x1, x2, lsl 2] str w1, [x0] nop .L74: .L77: nop ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE5: .size InversShiftRow_ByteSub, .-InversShiftRow_ByteSub .align 2 .global MixColumn_AddRoundKey .type MixColumn_AddRoundKey, %function MixColumn_AddRoundKey: .LFB6: .cfi_startproc stp x29, x30, [sp, -192]! .cfi_def_cfa_offset 192 .cfi_offset 29, -192 .cfi_offset 30, -184 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -176 str x0, [sp, 40] str w1, [sp, 36] str w2, [sp, 32] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 184] mov x1, 0 mov w1, 32 ldr x0, [sp, 40] bl _ssdm_SpecArrayDimSize str wzr, [sp, 52] b .L79 .L92: ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] ldr w1, [sp, 52] lsl w1, w1, 2 lsl w2, w0, 1 sxtw x0, w1 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] asr w0, w0, 8 cmp w0, 1 bne .L80 ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] ldr w0, [sp, 52] lsl w3, w0, 2 mov w0, 283 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] .L80: ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w19, [x0] lsl w0, w19, 1 eor w19, w19, w0 asr w0, w19, 8 cmp w0, 1 bne .L81 ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] mov w0, 283 eor w0, w19, w0 ldr w2, [sp, 52] lsl w3, w2, 2 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] b .L82 .L81: ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] ldr w1, [sp, 52] lsl w1, w1, 2 eor w2, w19, w0 sxtw x0, w1 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] .L82: ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 40] add x0, x2, x0 ldr w2, [x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 40] add x0, x3, x0 ldr w0, [x0] eor w2, w2, w0 ldr w3, [sp, 36] ldr w0, [sp, 32] mul w3, w3, w0 ldr w0, [sp, 52] add w3, w3, w0 adrp x0, word add x0, x0, :lo12:word sxtw x3, w3 ldr w0, [x0, x3, lsl 2] eor w0, w2, w0 ldr w2, [sp, 52] lsl w3, w2, 2 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] ldr w1, [sp, 52] lsl w1, w1, 2 add w1, w1, 1 lsl w2, w0, 1 sxtw x0, w1 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] asr w0, w0, 8 cmp w0, 1 bne .L83 ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w3, w0, 1 mov w0, 283 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] .L83: ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w19, [x0] lsl w0, w19, 1 eor w19, w19, w0 asr w0, w19, 8 cmp w0, 1 bne .L84 ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] mov w0, 283 eor w0, w19, w0 ldr w2, [sp, 52] lsl w2, w2, 2 add w3, w2, 1 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] b .L85 .L84: ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] ldr w1, [sp, 52] lsl w1, w1, 2 add w1, w1, 1 eor w2, w19, w0 sxtw x0, w1 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] .L85: ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 40] add x0, x2, x0 ldr w2, [x0] ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 40] add x0, x3, x0 ldr w0, [x0] eor w2, w2, w0 ldr w3, [sp, 36] ldr w0, [sp, 32] mul w3, w3, w0 ldr w0, [sp, 52] add w3, w3, w0 adrp x0, word add x0, x0, :lo12:word sxtw x3, w3 add x3, x3, 120 ldr w0, [x0, x3, lsl 2] eor w0, w2, w0 ldr w2, [sp, 52] lsl w2, w2, 2 add w3, w2, 1 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] ldr w1, [sp, 52] lsl w1, w1, 2 add w1, w1, 2 lsl w2, w0, 1 sxtw x0, w1 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] asr w0, w0, 8 cmp w0, 1 bne .L86 ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w3, w0, 2 mov w0, 283 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] .L86: ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w19, [x0] lsl w0, w19, 1 eor w19, w19, w0 asr w0, w19, 8 cmp w0, 1 bne .L87 ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] mov w0, 283 eor w0, w19, w0 ldr w2, [sp, 52] lsl w2, w2, 2 add w3, w2, 2 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] b .L88 .L87: ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] ldr w1, [sp, 52] lsl w1, w1, 2 add w1, w1, 2 eor w2, w19, w0 sxtw x0, w1 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] .L88: ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 40] add x0, x2, x0 ldr w2, [x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 40] add x0, x3, x0 ldr w0, [x0] eor w2, w2, w0 ldr w3, [sp, 36] ldr w0, [sp, 32] mul w3, w3, w0 ldr w0, [sp, 52] add w3, w3, w0 adrp x0, word add x0, x0, :lo12:word sxtw x3, w3 add x3, x3, 240 ldr w0, [x0, x3, lsl 2] eor w0, w2, w0 ldr w2, [sp, 52] lsl w2, w2, 2 add w3, w2, 2 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] ldr w1, [sp, 52] lsl w1, w1, 2 add w1, w1, 3 lsl w2, w0, 1 sxtw x0, w1 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] asr w0, w0, 8 cmp w0, 1 bne .L89 ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w3, w0, 3 mov w0, 283 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] .L89: ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w19, [x0] lsl w0, w19, 1 eor w19, w19, w0 asr w0, w19, 8 cmp w0, 1 bne .L90 ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] mov w0, 283 eor w0, w19, w0 ldr w2, [sp, 52] lsl w2, w2, 2 add w3, w2, 3 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] b .L91 .L90: ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] ldr w1, [sp, 52] lsl w1, w1, 2 add w1, w1, 3 eor w2, w19, w0 sxtw x0, w1 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] .L91: ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w1, [x1, x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 ldr x2, [sp, 40] add x0, x2, x0 ldr w2, [x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 40] add x0, x3, x0 ldr w0, [x0] eor w2, w2, w0 ldr w3, [sp, 36] ldr w0, [sp, 32] mul w3, w3, w0 ldr w0, [sp, 52] add w3, w3, w0 adrp x0, word add x0, x0, :lo12:word sxtw x3, w3 add x3, x3, 360 ldr w0, [x0, x3, lsl 2] eor w0, w2, w0 ldr w2, [sp, 52] lsl w2, w2, 2 add w3, w2, 3 eor w2, w1, w0 sxtw x0, w3 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L79: ldr w1, [sp, 52] ldr w0, [sp, 36] cmp w1, w0 blt .L92 str wzr, [sp, 52] b .L93 .L94: ldr w0, [sp, 52] lsl w2, w0, 2 ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 sxtw x1, w2 lsl x1, x1, 2 add x2, sp, 56 ldr w1, [x2, x1] str w1, [x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w2, w0, 1 ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 sxtw x1, w2 lsl x1, x1, 2 add x2, sp, 56 ldr w1, [x2, x1] str w1, [x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w2, w0, 2 ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 sxtw x1, w2 lsl x1, x1, 2 add x2, sp, 56 ldr w1, [x2, x1] str w1, [x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w2, w0, 3 ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 sxtw x1, w2 lsl x1, x1, 2 add x2, sp, 56 ldr w1, [x2, x1] str w1, [x0] ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L93: ldr w1, [sp, 52] ldr w0, [sp, 36] cmp w1, w0 blt .L94 mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 184] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L96 bl __stack_chk_fail .L96: mov w0, w1 ldr x19, [sp, 16] ldp x29, x30, [sp], 192 .cfi_restore 30 .cfi_restore 29 .cfi_restore 19 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE6: .size MixColumn_AddRoundKey, .-MixColumn_AddRoundKey .align 2 .global AddRoundKey_InversMixColumn .type AddRoundKey_InversMixColumn, %function AddRoundKey_InversMixColumn: .LFB7: .cfi_startproc stp x29, x30, [sp, -192]! .cfi_def_cfa_offset 192 .cfi_offset 29, -192 .cfi_offset 30, -184 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -176 str x0, [sp, 40] str w1, [sp, 36] str w2, [sp, 32] adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x1, [x0] str x1, [sp, 184] mov x1, 0 mov w1, 32 ldr x0, [sp, 40] bl _ssdm_SpecArrayDimSize str wzr, [sp, 52] b .L98 .L99: ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w2, [x0] ldr w1, [sp, 36] ldr w0, [sp, 32] mul w1, w1, w0 ldr w0, [sp, 52] add w1, w1, w0 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 ldr w1, [x0, x1, lsl 2] ldr w0, [sp, 52] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 40] add x0, x3, x0 eor w1, w2, w1 str w1, [x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w2, [x0] ldr w1, [sp, 36] ldr w0, [sp, 32] mul w1, w1, w0 ldr w0, [sp, 52] add w1, w1, w0 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 120 ldr w1, [x0, x1, lsl 2] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 40] add x0, x3, x0 eor w1, w2, w1 str w1, [x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w2, [x0] ldr w1, [sp, 36] ldr w0, [sp, 32] mul w1, w1, w0 ldr w0, [sp, 52] add w1, w1, w0 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 240 ldr w1, [x0, x1, lsl 2] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 40] add x0, x3, x0 eor w1, w2, w1 str w1, [x0] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w2, [x0] ldr w1, [sp, 36] ldr w0, [sp, 32] mul w1, w1, w0 ldr w0, [sp, 52] add w1, w1, w0 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 360 ldr w1, [x0, x1, lsl 2] ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 40] add x0, x3, x0 eor w1, w2, w1 str w1, [x0] ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L98: ldr w1, [sp, 52] ldr w0, [sp, 36] cmp w1, w0 blt .L99 str wzr, [sp, 52] b .L100 .L115: str wzr, [sp, 48] b .L101 .L114: ldr w0, [sp, 52] lsl w1, w0, 2 ldr w0, [sp, 48] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] lsl w19, w0, 1 asr w0, w19, 8 cmp w0, 1 bne .L102 mov w0, 283 eor w19, w19, w0 .L102: ldr w0, [sp, 52] lsl w1, w0, 2 ldr w0, [sp, 48] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] eor w19, w19, w0 lsl w19, w19, 1 asr w0, w19, 8 cmp w0, 1 bne .L103 mov w0, 283 eor w19, w19, w0 .L103: ldr w0, [sp, 52] lsl w1, w0, 2 ldr w0, [sp, 48] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] eor w19, w19, w0 lsl w19, w19, 1 asr w0, w19, 8 cmp w0, 1 bne .L104 mov w0, 283 eor w19, w19, w0 .L104: ldr w0, [sp, 52] lsl w1, w0, 2 ldr w0, [sp, 48] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 str w19, [x1, x0] ldr w0, [sp, 48] add w0, w0, 1 negs w1, w0 and w0, w0, 3 and w1, w1, 3 csneg w1, w0, w1, mi ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] lsl w19, w0, 1 asr w0, w19, 8 cmp w0, 1 bne .L105 mov w0, 283 eor w19, w19, w0 .L105: lsl w19, w19, 1 asr w0, w19, 8 cmp w0, 1 bne .L106 mov w0, 283 eor w19, w19, w0 .L106: ldr w0, [sp, 48] add w0, w0, 1 negs w1, w0 and w0, w0, 3 and w1, w1, 3 csneg w1, w0, w1, mi ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] eor w19, w19, w0 lsl w19, w19, 1 asr w0, w19, 8 cmp w0, 1 bne .L107 mov w0, 283 eor w19, w19, w0 .L107: ldr w0, [sp, 48] add w0, w0, 1 negs w1, w0 and w0, w0, 3 and w1, w1, 3 csneg w1, w0, w1, mi ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] eor w19, w19, w0 ldr w0, [sp, 52] lsl w1, w0, 2 ldr w0, [sp, 48] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] ldr w1, [sp, 52] lsl w2, w1, 2 ldr w1, [sp, 48] add w1, w2, w1 eor w2, w19, w0 sxtw x0, w1 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 48] add w0, w0, 2 negs w1, w0 and w0, w0, 3 and w1, w1, 3 csneg w1, w0, w1, mi ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] lsl w19, w0, 1 asr w0, w19, 8 cmp w0, 1 bne .L108 mov w0, 283 eor w19, w19, w0 .L108: ldr w0, [sp, 48] add w0, w0, 2 negs w1, w0 and w0, w0, 3 and w1, w1, 3 csneg w1, w0, w1, mi ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] eor w19, w19, w0 lsl w19, w19, 1 asr w0, w19, 8 cmp w0, 1 bne .L109 mov w0, 283 eor w19, w19, w0 .L109: lsl w19, w19, 1 asr w0, w19, 8 cmp w0, 1 bne .L110 mov w0, 283 eor w19, w19, w0 .L110: ldr w0, [sp, 48] add w0, w0, 2 negs w1, w0 and w0, w0, 3 and w1, w1, 3 csneg w1, w0, w1, mi ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] eor w19, w19, w0 ldr w0, [sp, 52] lsl w1, w0, 2 ldr w0, [sp, 48] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] ldr w1, [sp, 52] lsl w2, w1, 2 ldr w1, [sp, 48] add w1, w2, w1 eor w2, w19, w0 sxtw x0, w1 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 48] add w0, w0, 3 negs w1, w0 and w0, w0, 3 and w1, w1, 3 csneg w1, w0, w1, mi ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] lsl w19, w0, 1 asr w0, w19, 8 cmp w0, 1 bne .L111 mov w0, 283 eor w19, w19, w0 .L111: lsl w19, w19, 1 asr w0, w19, 8 cmp w0, 1 bne .L112 mov w0, 283 eor w19, w19, w0 .L112: lsl w19, w19, 1 asr w0, w19, 8 cmp w0, 1 bne .L113 mov w0, 283 eor w19, w19, w0 .L113: ldr w0, [sp, 48] add w0, w0, 3 negs w1, w0 and w0, w0, 3 and w1, w1, 3 csneg w1, w0, w1, mi ldr w0, [sp, 52] lsl w0, w0, 2 add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 ldr w0, [x0] eor w19, w19, w0 ldr w0, [sp, 52] lsl w1, w0, 2 ldr w0, [sp, 48] add w0, w1, w0 sxtw x0, w0 lsl x0, x0, 2 add x1, sp, 56 ldr w0, [x1, x0] ldr w1, [sp, 52] lsl w2, w1, 2 ldr w1, [sp, 48] add w1, w2, w1 eor w2, w19, w0 sxtw x0, w1 lsl x0, x0, 2 add x1, sp, 56 str w2, [x1, x0] ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L101: ldr w0, [sp, 48] cmp w0, 3 ble .L114 ldr w0, [sp, 52] add w0, w0, 1 str w0, [sp, 52] .L100: ldr w1, [sp, 52] ldr w0, [sp, 36] cmp w1, w0 blt .L115 str wzr, [sp, 48] b .L116 .L117: ldr w0, [sp, 48] lsl w2, w0, 2 ldr w0, [sp, 48] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 sxtw x1, w2 lsl x1, x1, 2 add x2, sp, 56 ldr w1, [x2, x1] str w1, [x0] ldr w0, [sp, 48] lsl w0, w0, 2 add w2, w0, 1 ldr w0, [sp, 48] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 sxtw x1, w2 lsl x1, x1, 2 add x2, sp, 56 ldr w1, [x2, x1] str w1, [x0] ldr w0, [sp, 48] lsl w0, w0, 2 add w2, w0, 2 ldr w0, [sp, 48] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 sxtw x1, w2 lsl x1, x1, 2 add x2, sp, 56 ldr w1, [x2, x1] str w1, [x0] ldr w0, [sp, 48] lsl w0, w0, 2 add w2, w0, 3 ldr w0, [sp, 48] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 40] add x0, x1, x0 sxtw x1, w2 lsl x1, x1, 2 add x2, sp, 56 ldr w1, [x2, x1] str w1, [x0] ldr w0, [sp, 48] add w0, w0, 1 str w0, [sp, 48] .L116: ldr w1, [sp, 48] ldr w0, [sp, 36] cmp w1, w0 blt .L117 mov w0, 0 mov w1, w0 adrp x0, :got:__stack_chk_guard ldr x0, [x0, #:got_lo12:__stack_chk_guard] ldr x3, [sp, 184] ldr x2, [x0] subs x3, x3, x2 mov x2, 0 beq .L119 bl __stack_chk_fail .L119: mov w0, w1 ldr x19, [sp, 16] ldp x29, x30, [sp], 192 .cfi_restore 30 .cfi_restore 29 .cfi_restore 19 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE7: .size AddRoundKey_InversMixColumn, .-AddRoundKey_InversMixColumn .align 2 .global AddRoundKey .type AddRoundKey, %function AddRoundKey: .LFB8: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] str w2, [sp, 16] mov w1, 32 ldr x0, [sp, 24] bl _ssdm_SpecArrayDimSize ldr w1, [sp, 20] mov w0, 59648 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L121 ldr w1, [sp, 20] mov w0, 59648 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L122 ldr w1, [sp, 20] mov w0, 59584 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L123 ldr w1, [sp, 20] mov w0, 59584 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L122 ldr w1, [sp, 20] mov w0, 59520 movk w0, 0x3, lsl 16 cmp w1, w0 beq .L124 ldr w1, [sp, 20] mov w0, 59520 movk w0, 0x3, lsl 16 cmp w1, w0 bgt .L122 ldr w1, [sp, 20] mov w0, 61184 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L121 ldr w1, [sp, 20] mov w0, 61184 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L122 ldr w1, [sp, 20] mov w0, 61120 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L123 ldr w1, [sp, 20] mov w0, 61120 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L122 ldr w1, [sp, 20] mov w0, 61056 movk w0, 0x2, lsl 16 cmp w1, w0 beq .L124 ldr w1, [sp, 20] mov w0, 61056 movk w0, 0x2, lsl 16 cmp w1, w0 bgt .L122 ldr w1, [sp, 20] mov w0, 62720 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L121 ldr w1, [sp, 20] mov w0, 62720 movk w0, 0x1, lsl 16 cmp w1, w0 bgt .L122 ldr w1, [sp, 20] mov w0, 62592 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L124 ldr w1, [sp, 20] mov w0, 62656 movk w0, 0x1, lsl 16 cmp w1, w0 beq .L123 b .L122 .L124: mov w0, 4 str w0, [sp, 44] b .L122 .L123: mov w0, 6 str w0, [sp, 44] b .L122 .L121: mov w0, 8 str w0, [sp, 44] nop .L122: str wzr, [sp, 40] b .L125 .L126: ldr w0, [sp, 40] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 24] add x0, x1, x0 ldr w2, [x0] ldr w1, [sp, 44] ldr w0, [sp, 16] mul w1, w1, w0 ldr w0, [sp, 40] add w1, w1, w0 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 ldr w1, [x0, x1, lsl 2] ldr w0, [sp, 40] lsl w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 24] add x0, x3, x0 eor w1, w2, w1 str w1, [x0] ldr w0, [sp, 40] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 24] add x0, x1, x0 ldr w2, [x0] ldr w1, [sp, 44] ldr w0, [sp, 16] mul w1, w1, w0 ldr w0, [sp, 40] add w1, w1, w0 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 120 ldr w1, [x0, x1, lsl 2] ldr w0, [sp, 40] lsl w0, w0, 2 add w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 24] add x0, x3, x0 eor w1, w2, w1 str w1, [x0] ldr w0, [sp, 40] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 24] add x0, x1, x0 ldr w2, [x0] ldr w1, [sp, 44] ldr w0, [sp, 16] mul w1, w1, w0 ldr w0, [sp, 40] add w1, w1, w0 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 240 ldr w1, [x0, x1, lsl 2] ldr w0, [sp, 40] lsl w0, w0, 2 add w0, w0, 2 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 24] add x0, x3, x0 eor w1, w2, w1 str w1, [x0] ldr w0, [sp, 40] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 24] add x0, x1, x0 ldr w2, [x0] ldr w1, [sp, 44] ldr w0, [sp, 16] mul w1, w1, w0 ldr w0, [sp, 40] add w1, w1, w0 adrp x0, word add x0, x0, :lo12:word sxtw x1, w1 add x1, x1, 360 ldr w1, [x0, x1, lsl 2] ldr w0, [sp, 40] lsl w0, w0, 2 add w0, w0, 3 sxtw x0, w0 lsl x0, x0, 2 ldr x3, [sp, 24] add x0, x3, x0 eor w1, w2, w1 str w1, [x0] ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 40] .L125: ldr w1, [sp, 40] ldr w0, [sp, 44] cmp w1, w0 blt .L126 mov w0, 0 ldp x29, x30, [sp], 48 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE8: .size AddRoundKey, .-AddRoundKey .align 2 .global aes_main .type aes_main, %function aes_main: .LFB9: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 50 str w1, [x0] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 67 str w1, [x0, 4] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 246 str w1, [x0, 8] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 168 str w1, [x0, 12] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 136 str w1, [x0, 16] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 90 str w1, [x0, 20] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 48 str w1, [x0, 24] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 141 str w1, [x0, 28] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 49 str w1, [x0, 32] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 49 str w1, [x0, 36] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 152 str w1, [x0, 40] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 162 str w1, [x0, 44] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 224 str w1, [x0, 48] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 55 str w1, [x0, 52] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 7 str w1, [x0, 56] adrp x0, statemt add x0, x0, :lo12:statemt mov w1, 52 str w1, [x0, 60] adrp x0, key add x0, x0, :lo12:key mov w1, 43 str w1, [x0] adrp x0, key add x0, x0, :lo12:key mov w1, 126 str w1, [x0, 4] adrp x0, key add x0, x0, :lo12:key mov w1, 21 str w1, [x0, 8] adrp x0, key add x0, x0, :lo12:key mov w1, 22 str w1, [x0, 12] adrp x0, key add x0, x0, :lo12:key mov w1, 40 str w1, [x0, 16] adrp x0, key add x0, x0, :lo12:key mov w1, 174 str w1, [x0, 20] adrp x0, key add x0, x0, :lo12:key mov w1, 210 str w1, [x0, 24] adrp x0, key add x0, x0, :lo12:key mov w1, 166 str w1, [x0, 28] adrp x0, key add x0, x0, :lo12:key mov w1, 171 str w1, [x0, 32] adrp x0, key add x0, x0, :lo12:key mov w1, 247 str w1, [x0, 36] adrp x0, key add x0, x0, :lo12:key mov w1, 21 str w1, [x0, 40] adrp x0, key add x0, x0, :lo12:key mov w1, 136 str w1, [x0, 44] adrp x0, key add x0, x0, :lo12:key mov w1, 9 str w1, [x0, 48] adrp x0, key add x0, x0, :lo12:key mov w1, 207 str w1, [x0, 52] adrp x0, key add x0, x0, :lo12:key mov w1, 79 str w1, [x0, 56] adrp x0, key add x0, x0, :lo12:key mov w1, 60 str w1, [x0, 60] mov w2, 62592 movk w2, 0x1, lsl 16 adrp x0, key add x1, x0, :lo12:key adrp x0, statemt add x0, x0, :lo12:statemt bl encrypt mov w2, 62592 movk w2, 0x1, lsl 16 adrp x0, key add x1, x0, :lo12:key adrp x0, statemt add x0, x0, :lo12:statemt bl decrypt mov w0, 0 ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE9: .size aes_main, .-aes_main .section .rodata .align 3 .LC5: .string "\n%d\n" .text .align 2 .global main .type main, %function main: .LFB10: .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, main_result add x0, x0, :lo12:main_result str wzr, [x0] bl aes_main adrp x0, main_result add x0, x0, :lo12:main_result ldr w0, [x0] mov w1, w0 adrp x0, .LC5 add x0, x0, :lo12:.LC5 bl printf adrp x0, main_result add x0, x0, :lo12:main_result ldr w0, [x0] ldp x29, x30, [sp], 16 .cfi_restore 30 .cfi_restore 29 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE10: .size main, .-main ```