Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t0a:
- @ args = 0, pretend = 0, frame = 0
- @ frame_needed = 0, uses_anonymous_args = 0
- bic r0, r0, #31
- cmp r0, #0
- ble .L25
- adds r3, r2, #2
- push {r4, r5, r6, r7, lr}
- ubfx r3, r3, #1, #2
- negs r3, r3
- and r3, r3, #7
- cmp r3, r0
- it cs
- movcs r3, r0
- cmp r0, #8
- it le
- movle r3, r0
- bgt .L28
- .L3:
- ldrh r4, [r2, #2]
- cmp r3, #1
- lsl r4, r4, #1
- strh r4, [r1] @ movhi
- beq .L20
- ldrh r4, [r2, #4]
- cmp r3, #2
- lsl r4, r4, #1
- strh r4, [r1, #2] @ movhi
- beq .L20
- ldrh r4, [r2, #6]
- cmp r3, #3
- lsl r4, r4, #1
- strh r4, [r1, #4] @ movhi
- beq .L20
- ldrh r4, [r2, #8]
- cmp r3, #4
- lsl r4, r4, #1
- strh r4, [r1, #6] @ movhi
- beq .L20
- ldrh r4, [r2, #10]
- cmp r3, #5
- lsl r4, r4, #1
- strh r4, [r1, #8] @ movhi
- beq .L20
- ldrh r4, [r2, #12]
- cmp r3, #6
- lsl r4, r4, #1
- strh r4, [r1, #10] @ movhi
- beq .L20
- ldrh r4, [r2, #14]
- cmp r3, #8
- lsl r4, r4, #1
- strh r4, [r1, #12] @ movhi
- bne .L21
- ldrh r5, [r2, #16]
- mov r4, r3
- lsls r5, r5, #1
- strh r5, [r1, #14] @ movhi
- .L5:
- cmp r0, r3
- beq .L29
- .L4:
- subs r7, r0, r3
- subs r6, r0, #1
- sub r5, r7, #8
- subs r6, r6, r3
- lsrs r5, r5, #3
- cmp r6, #6
- add r5, r5, #1
- lsl lr, r5, #3
- bls .L7
- adds r3, r3, #1
- lsls r3, r3, #1
- mov ip, #0
- subs r6, r3, #2
- add r3, r3, r2
- add r6, r6, r1
- .L8:
- vld1.64 {d16-d17}, [r3:64]
- add ip, ip, #1
- vadd.i16 q8, q8, q8
- cmp r5, ip
- add r3, r3, #16
- vst1.16 {q8}, [r6]
- add r6, r6, #16
- bhi .L8
- cmp r7, lr
- add r4, r4, lr
- beq .L1
- .L7:
- lsls r5, r4, #1
- adds r3, r4, #1
- cmp r0, r3
- add r7, r5, #2
- ldrh r6, [r2, r7]
- lsl r6, r6, #1
- strh r6, [r1, r4, lsl #1] @ movhi
- ble .L1
- add lr, r5, #4
- adds r3, r4, #2
- ldrh r6, [r2, lr]
- cmp r0, r3
- lsl r6, r6, #1
- strh r6, [r1, r7] @ movhi
- ble .L1
- adds r7, r5, #6
- adds r3, r4, #3
- ldrh r6, [r2, r7]
- cmp r0, r3
- lsl r6, r6, #1
- strh r6, [r1, lr] @ movhi
- ble .L1
- add lr, r5, #8
- adds r3, r4, #4
- ldrh r6, [r2, lr]
- cmp r0, r3
- lsl r6, r6, #1
- strh r6, [r1, r7] @ movhi
- ble .L1
- add r7, r5, #10
- adds r3, r4, #5
- ldrh r6, [r2, r7]
- cmp r0, r3
- lsl r6, r6, #1
- strh r6, [r1, lr] @ movhi
- ble .L1
- add r6, r5, #12
- adds r3, r4, #6
- ldrh r4, [r2, r6]
- cmp r0, r3
- lsl r4, r4, #1
- strh r4, [r1, r7] @ movhi
- ble .L1
- add r2, r2, r5
- ldrh r3, [r2, #14]
- lsls r3, r3, #1
- strh r3, [r1, r6] @ movhi
- pop {r4, r5, r6, r7, pc}
- .L1:
- pop {r4, r5, r6, r7, pc}
- .L29:
- pop {r4, r5, r6, r7, pc}
- .L20:
- mov r4, r3
- b .L5
- .L28:
- mov r4, r3
- cmp r3, #0
- beq .L4
- b .L3
- .L25:
- bx lr
- .L21:
- movs r4, #7
- b .L5
- .size t0a, .-t0a
- .ident "GCC: (GNU) 6.0.0 20150921 (experimental)"
- .section .note.GNU-stack,"",%progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement