esp-open-rtos/binary_sdk/libwpa/aes-internal.S
Angus Gratton a9e3928c8d Disassembled binary SDK output, direct from xtobjdis with a couple of tweaks
Tweaks to xtobjdis are hg-git sha 6da80c11f

Everything works except for wpa_auth.o & phy_chip_v6_ana.o disassemble
with some functions not correctly detected.
2015-10-03 13:04:35 +10:00

450 lines
32 KiB
ArmAsm

.section .irom0.text, "ax", @progbits
.literal_position # 0: 0000ff00
# 4: 00ff0000
# 8: 000000ff
# c: 00000000
# 10: 00000000
# Function @ .irom0.text+0x14
# Local variables/stack:
# (local0): word @ -0x10
# (local1): word[3] @ -0xc
.global sdk_rijndaelKeySetupEnc
.type sdk_rijndaelKeySetupEnc, @function
sdk_rijndaelKeySetupEnc:
movi a8, 0x00ff0000 # 14: 81fbff
movi a7, 0x0000ff00 # 17: 71fbff
movi a6, 0xff000000 # 1a: 61fbff
addi sp, sp, -16 /* (local0) */ # 1d: 12c1f0
movi a11, sdk_Te0 # 20: b1fbff
l8ui a5, a3, 3 /* [arg1+0x3] */ # 23: 520303
l8ui a4, a3, 2 /* [arg1+0x2] */ # 26: 420302
l8ui a9, a3, 0 /* [arg1] */ # 29: 920300
s32i a12, sp, 4 /* a12 -> [(local1)] */ # 2c: c911
s32i a0, sp, 0 /* a0 -> [(local0)] */ # 2e: 0901
l8ui a12, a3, 1 /* [arg1+0x1] */ # 30: c20301
movi a0, sdk_rcons # 33: 01f7ff
slli a9, a9, 24 # 36: 809901
slli a4, a4, 8 # 39: 804411
addi a10, a0, 10 /* .rodata+0xa */ # 3c: aba0
xor a5, a5, a4 # 3e: 405530
slli a12, a12, 16 # 41: 00cc11
xor a9, a9, a12 # 44: c09930
xor a5, a5, a9 # 47: 905530
s32i a5, a2, 0 /* a5 -> [arg0] */ # 4a: 5902
l8ui a9, a3, 7 /* [arg1+0x7] */ # 4c: 920307
l8ui a5, a3, 6 /* [arg1+0x6] */ # 4f: 520306
l8ui a4, a3, 5 /* [arg1+0x5] */ # 52: 420305
l8ui a12, a3, 4 /* [arg1+0x4] */ # 55: c20304
slli a4, a4, 16 # 58: 004411
slli a12, a12, 24 # 5b: 80cc01
slli a5, a5, 8 # 5e: 805511
xor a9, a9, a5 # 61: 509930
xor a12, a12, a4 # 64: 40cc30
xor a9, a9, a12 # 67: c09930
s32i a9, a2, 4 /* a9 -> [arg0+0x4] */ # 6a: 9912
l8ui a12, a3, 11 /* [arg1+0xb] */ # 6c: c2030b
l8ui a9, a3, 10 /* [arg1+0xa] */ # 6f: 92030a
l8ui a5, a3, 9 /* [arg1+0x9] */ # 72: 520309
l8ui a4, a3, 8 /* [arg1+0x8] */ # 75: 420308
slli a5, a5, 16 # 78: 005511
slli a4, a4, 24 # 7b: 804401
slli a9, a9, 8 # 7e: 809911
xor a12, a12, a9 # 81: 90cc30
xor a4, a4, a5 # 84: 504430
xor a12, a12, a4 # 87: 40cc30
s32i a12, a2, 8 /* a12 -> [arg0+0x8] */ # 8a: c922
l8ui a4, a3, 15 /* [arg1+0xf] */ # 8c: 42030f
l8ui a12, a3, 14 /* [arg1+0xe] */ # 8f: c2030e
l8ui a9, a3, 13 /* [arg1+0xd] */ # 92: 92030d
l8ui a5, a3, 12 /* [arg1+0xc] */ # 95: 52030c
slli a9, a9, 16 # 98: 009911
slli a5, a5, 24 # 9b: 805501
slli a12, a12, 8 # 9e: 80cc11
xor a4, a4, a12 # a1: c04430
xor a5, a5, a9 # a4: 905530
xor a4, a4, a5 # a7: 504430
s32i a4, a2, 12 /* a4 -> [arg0+0xc] */ # aa: 4932
.Lbr001: l32i a4, a2, 12 # ac: 4832
l8ui a9, a0, 0 # ae: 920000
addi a0, a0, 1 # b1: 1b00
slli a9, a9, 24 # b3: 809901
extui a3, a4, 0, 8 # b6: 403074
extui a12, a4, 24, 8 # b9: 40c875
extui a5, a4, 16, 8 # bc: 405075
addx4 a5, a5, a11 # bf: b055a0
addx4 a12, a12, a11 # c2: b0cca0
addx4 a3, a3, a11 # c5: b033a0
l32i a3, a3, 0 # c8: 3803
l32i a12, a12, 0 # ca: c80c
l32i a5, a5, 0 # cc: 5805
extui a12, a12, 8, 8 # ce: c0c874
slli a5, a5, 8 # d1: 805511
xor a9, a9, a12 # d4: c09930
extui a12, a4, 8, 8 # d7: 40c874
addx4 a12, a12, a11 # da: b0cca0
l32i a12, a12, 0 # dd: c80c
and a3, a3, a7 # df: 703310
and a12, a12, a8 # e2: 80cc10
xor a3, a3, a12 # e5: c03330
l32i a12, a2, 0 # e8: c802
and a5, a5, a6 # ea: 605510
xor a12, a12, a5 # ed: 50cc30
xor a12, a12, a3 # f0: 30cc30
l32i a5, a2, 4 # f3: 5812
l32i a3, a2, 8 # f5: 3822
xor a9, a9, a12 # f7: c09930
s32i a9, a2, 16 # fa: 9942
xor a5, a5, a9 # fc: 905530
xor a3, a3, a5 # ff: 503330
s32i a5, a2, 20 # 102: 5952
s32i a3, a2, 24 # 104: 3962
xor a3, a3, a4 # 106: 403330
s32i a3, a2, 28 # 109: 3972
addi a2, a2, 16 # 10b: 22c210
bne a0, a10, .Lbr001 # 10e: a7909a
l32i a12, sp, 4 /* [(local1)] */ # 111: c811
l32i a0, sp, 0 /* [(local0)] */ # 113: 0801
addi sp, sp, 16 /* (top of frame) */ # 115: 12c110
ret # 118: 0df0
.section .rodata, "a", @progbits
.global sdk_rcons
.type sdk_rcons, @object
sdk_rcons: .byte 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80
.byte 0x1b, 0x36
.section .irom.text, "ax", @progbits
.global sdk_Te0
.type sdk_Te0, @object
sdk_Te0: .byte 0xa5, 0x63, 0x63, 0xc6, 0x84, 0x7c, 0x7c, 0xf8
.byte 0x99, 0x77, 0x77, 0xee, 0x8d, 0x7b, 0x7b, 0xf6
.byte 0x0d, 0xf2, 0xf2, 0xff, 0xbd, 0x6b, 0x6b, 0xd6
.byte 0xb1, 0x6f, 0x6f, 0xde, 0x54, 0xc5, 0xc5, 0x91
.byte 0x50, 0x30, 0x30, 0x60, 0x03, 0x01, 0x01, 0x02
.byte 0xa9, 0x67, 0x67, 0xce, 0x7d, 0x2b, 0x2b, 0x56
.byte 0x19, 0xfe, 0xfe, 0xe7, 0x62, 0xd7, 0xd7, 0xb5
.byte 0xe6, 0xab, 0xab, 0x4d, 0x9a, 0x76, 0x76, 0xec
.byte 0x45, 0xca, 0xca, 0x8f, 0x9d, 0x82, 0x82, 0x1f
.byte 0x40, 0xc9, 0xc9, 0x89, 0x87, 0x7d, 0x7d, 0xfa
.byte 0x15, 0xfa, 0xfa, 0xef, 0xeb, 0x59, 0x59, 0xb2
.byte 0xc9, 0x47, 0x47, 0x8e, 0x0b, 0xf0, 0xf0, 0xfb
.byte 0xec, 0xad, 0xad, 0x41, 0x67, 0xd4, 0xd4, 0xb3
.byte 0xfd, 0xa2, 0xa2, 0x5f, 0xea, 0xaf, 0xaf, 0x45
.byte 0xbf, 0x9c, 0x9c, 0x23, 0xf7, 0xa4, 0xa4, 0x53
.byte 0x96, 0x72, 0x72, 0xe4, 0x5b, 0xc0, 0xc0, 0x9b
.byte 0xc2, 0xb7, 0xb7, 0x75, 0x1c, 0xfd, 0xfd, 0xe1
.byte 0xae, 0x93, 0x93, 0x3d, 0x6a, 0x26, 0x26, 0x4c
.byte 0x5a, 0x36, 0x36, 0x6c, 0x41, 0x3f, 0x3f, 0x7e
.byte 0x02, 0xf7, 0xf7, 0xf5, 0x4f, 0xcc, 0xcc, 0x83
.byte 0x5c, 0x34, 0x34, 0x68, 0xf4, 0xa5, 0xa5, 0x51
.byte 0x34, 0xe5, 0xe5, 0xd1, 0x08, 0xf1, 0xf1, 0xf9
.byte 0x93, 0x71, 0x71, 0xe2, 0x73, 0xd8, 0xd8, 0xab
.byte 0x53, 0x31, 0x31, 0x62, 0x3f, 0x15, 0x15, 0x2a
.byte 0x0c, 0x04, 0x04, 0x08, 0x52, 0xc7, 0xc7, 0x95
.byte 0x65, 0x23, 0x23, 0x46, 0x5e, 0xc3, 0xc3, 0x9d
.byte 0x28, 0x18, 0x18, 0x30, 0xa1, 0x96, 0x96, 0x37
.byte 0x0f, 0x05, 0x05, 0x0a, 0xb5, 0x9a, 0x9a, 0x2f
.byte 0x09, 0x07, 0x07, 0x0e, 0x36, 0x12, 0x12, 0x24
.byte 0x9b, 0x80, 0x80, 0x1b, 0x3d, 0xe2, 0xe2, 0xdf
.byte 0x26, 0xeb, 0xeb, 0xcd, 0x69, 0x27, 0x27, 0x4e
.byte 0xcd, 0xb2, 0xb2, 0x7f, 0x9f, 0x75, 0x75, 0xea
.byte 0x1b, 0x09, 0x09, 0x12, 0x9e, 0x83, 0x83, 0x1d
.byte 0x74, 0x2c, 0x2c, 0x58, 0x2e, 0x1a, 0x1a, 0x34
.byte 0x2d, 0x1b, 0x1b, 0x36, 0xb2, 0x6e, 0x6e, 0xdc
.byte 0xee, 0x5a, 0x5a, 0xb4, 0xfb, 0xa0, 0xa0, 0x5b
.byte 0xf6, 0x52, 0x52, 0xa4, 0x4d, 0x3b, 0x3b, 0x76
.byte 0x61, 0xd6, 0xd6, 0xb7, 0xce, 0xb3, 0xb3, 0x7d
.byte 0x7b, 0x29, 0x29, 0x52, 0x3e, 0xe3, 0xe3, 0xdd
.byte 0x71, 0x2f, 0x2f, 0x5e, 0x97, 0x84, 0x84, 0x13
.byte 0xf5, 0x53, 0x53, 0xa6, 0x68, 0xd1, 0xd1, 0xb9
.byte 0x00, 0x00, 0x00, 0x00, 0x2c, 0xed, 0xed, 0xc1
.byte 0x60, 0x20, 0x20, 0x40, 0x1f, 0xfc, 0xfc, 0xe3
.byte 0xc8, 0xb1, 0xb1, 0x79, 0xed, 0x5b, 0x5b, 0xb6
.byte 0xbe, 0x6a, 0x6a, 0xd4, 0x46, 0xcb, 0xcb, 0x8d
.byte 0xd9, 0xbe, 0xbe, 0x67, 0x4b, 0x39, 0x39, 0x72
.byte 0xde, 0x4a, 0x4a, 0x94, 0xd4, 0x4c, 0x4c, 0x98
.byte 0xe8, 0x58, 0x58, 0xb0, 0x4a, 0xcf, 0xcf, 0x85
.byte 0x6b, 0xd0, 0xd0, 0xbb, 0x2a, 0xef, 0xef, 0xc5
.byte 0xe5, 0xaa, 0xaa, 0x4f, 0x16, 0xfb, 0xfb, 0xed
.byte 0xc5, 0x43, 0x43, 0x86, 0xd7, 0x4d, 0x4d, 0x9a
.byte 0x55, 0x33, 0x33, 0x66, 0x94, 0x85, 0x85, 0x11
.byte 0xcf, 0x45, 0x45, 0x8a, 0x10, 0xf9, 0xf9, 0xe9
.byte 0x06, 0x02, 0x02, 0x04, 0x81, 0x7f, 0x7f, 0xfe
.byte 0xf0, 0x50, 0x50, 0xa0, 0x44, 0x3c, 0x3c, 0x78
.byte 0xba, 0x9f, 0x9f, 0x25, 0xe3, 0xa8, 0xa8, 0x4b
.byte 0xf3, 0x51, 0x51, 0xa2, 0xfe, 0xa3, 0xa3, 0x5d
.byte 0xc0, 0x40, 0x40, 0x80, 0x8a, 0x8f, 0x8f, 0x05
.byte 0xad, 0x92, 0x92, 0x3f, 0xbc, 0x9d, 0x9d, 0x21
.byte 0x48, 0x38, 0x38, 0x70, 0x04, 0xf5, 0xf5, 0xf1
.byte 0xdf, 0xbc, 0xbc, 0x63, 0xc1, 0xb6, 0xb6, 0x77
.byte 0x75, 0xda, 0xda, 0xaf, 0x63, 0x21, 0x21, 0x42
.byte 0x30, 0x10, 0x10, 0x20, 0x1a, 0xff, 0xff, 0xe5
.byte 0x0e, 0xf3, 0xf3, 0xfd, 0x6d, 0xd2, 0xd2, 0xbf
.byte 0x4c, 0xcd, 0xcd, 0x81, 0x14, 0x0c, 0x0c, 0x18
.byte 0x35, 0x13, 0x13, 0x26, 0x2f, 0xec, 0xec, 0xc3
.byte 0xe1, 0x5f, 0x5f, 0xbe, 0xa2, 0x97, 0x97, 0x35
.byte 0xcc, 0x44, 0x44, 0x88, 0x39, 0x17, 0x17, 0x2e
.byte 0x57, 0xc4, 0xc4, 0x93, 0xf2, 0xa7, 0xa7, 0x55
.byte 0x82, 0x7e, 0x7e, 0xfc, 0x47, 0x3d, 0x3d, 0x7a
.byte 0xac, 0x64, 0x64, 0xc8, 0xe7, 0x5d, 0x5d, 0xba
.byte 0x2b, 0x19, 0x19, 0x32, 0x95, 0x73, 0x73, 0xe6
.byte 0xa0, 0x60, 0x60, 0xc0, 0x98, 0x81, 0x81, 0x19
.byte 0xd1, 0x4f, 0x4f, 0x9e, 0x7f, 0xdc, 0xdc, 0xa3
.byte 0x66, 0x22, 0x22, 0x44, 0x7e, 0x2a, 0x2a, 0x54
.byte 0xab, 0x90, 0x90, 0x3b, 0x83, 0x88, 0x88, 0x0b
.byte 0xca, 0x46, 0x46, 0x8c, 0x29, 0xee, 0xee, 0xc7
.byte 0xd3, 0xb8, 0xb8, 0x6b, 0x3c, 0x14, 0x14, 0x28
.byte 0x79, 0xde, 0xde, 0xa7, 0xe2, 0x5e, 0x5e, 0xbc
.byte 0x1d, 0x0b, 0x0b, 0x16, 0x76, 0xdb, 0xdb, 0xad
.byte 0x3b, 0xe0, 0xe0, 0xdb, 0x56, 0x32, 0x32, 0x64
.byte 0x4e, 0x3a, 0x3a, 0x74, 0x1e, 0x0a, 0x0a, 0x14
.byte 0xdb, 0x49, 0x49, 0x92, 0x0a, 0x06, 0x06, 0x0c
.byte 0x6c, 0x24, 0x24, 0x48, 0xe4, 0x5c, 0x5c, 0xb8
.byte 0x5d, 0xc2, 0xc2, 0x9f, 0x6e, 0xd3, 0xd3, 0xbd
.byte 0xef, 0xac, 0xac, 0x43, 0xa6, 0x62, 0x62, 0xc4
.byte 0xa8, 0x91, 0x91, 0x39, 0xa4, 0x95, 0x95, 0x31
.byte 0x37, 0xe4, 0xe4, 0xd3, 0x8b, 0x79, 0x79, 0xf2
.byte 0x32, 0xe7, 0xe7, 0xd5, 0x43, 0xc8, 0xc8, 0x8b
.byte 0x59, 0x37, 0x37, 0x6e, 0xb7, 0x6d, 0x6d, 0xda
.byte 0x8c, 0x8d, 0x8d, 0x01, 0x64, 0xd5, 0xd5, 0xb1
.byte 0xd2, 0x4e, 0x4e, 0x9c, 0xe0, 0xa9, 0xa9, 0x49
.byte 0xb4, 0x6c, 0x6c, 0xd8, 0xfa, 0x56, 0x56, 0xac
.byte 0x07, 0xf4, 0xf4, 0xf3, 0x25, 0xea, 0xea, 0xcf
.byte 0xaf, 0x65, 0x65, 0xca, 0x8e, 0x7a, 0x7a, 0xf4
.byte 0xe9, 0xae, 0xae, 0x47, 0x18, 0x08, 0x08, 0x10
.byte 0xd5, 0xba, 0xba, 0x6f, 0x88, 0x78, 0x78, 0xf0
.byte 0x6f, 0x25, 0x25, 0x4a, 0x72, 0x2e, 0x2e, 0x5c
.byte 0x24, 0x1c, 0x1c, 0x38, 0xf1, 0xa6, 0xa6, 0x57
.byte 0xc7, 0xb4, 0xb4, 0x73, 0x51, 0xc6, 0xc6, 0x97
.byte 0x23, 0xe8, 0xe8, 0xcb, 0x7c, 0xdd, 0xdd, 0xa1
.byte 0x9c, 0x74, 0x74, 0xe8, 0x21, 0x1f, 0x1f, 0x3e
.byte 0xdd, 0x4b, 0x4b, 0x96, 0xdc, 0xbd, 0xbd, 0x61
.byte 0x86, 0x8b, 0x8b, 0x0d, 0x85, 0x8a, 0x8a, 0x0f
.byte 0x90, 0x70, 0x70, 0xe0, 0x42, 0x3e, 0x3e, 0x7c
.byte 0xc4, 0xb5, 0xb5, 0x71, 0xaa, 0x66, 0x66, 0xcc
.byte 0xd8, 0x48, 0x48, 0x90, 0x05, 0x03, 0x03, 0x06
.byte 0x01, 0xf6, 0xf6, 0xf7, 0x12, 0x0e, 0x0e, 0x1c
.byte 0xa3, 0x61, 0x61, 0xc2, 0x5f, 0x35, 0x35, 0x6a
.byte 0xf9, 0x57, 0x57, 0xae, 0xd0, 0xb9, 0xb9, 0x69
.byte 0x91, 0x86, 0x86, 0x17, 0x58, 0xc1, 0xc1, 0x99
.byte 0x27, 0x1d, 0x1d, 0x3a, 0xb9, 0x9e, 0x9e, 0x27
.byte 0x38, 0xe1, 0xe1, 0xd9, 0x13, 0xf8, 0xf8, 0xeb
.byte 0xb3, 0x98, 0x98, 0x2b, 0x33, 0x11, 0x11, 0x22
.byte 0xbb, 0x69, 0x69, 0xd2, 0x70, 0xd9, 0xd9, 0xa9
.byte 0x89, 0x8e, 0x8e, 0x07, 0xa7, 0x94, 0x94, 0x33
.byte 0xb6, 0x9b, 0x9b, 0x2d, 0x22, 0x1e, 0x1e, 0x3c
.byte 0x92, 0x87, 0x87, 0x15, 0x20, 0xe9, 0xe9, 0xc9
.byte 0x49, 0xce, 0xce, 0x87, 0xff, 0x55, 0x55, 0xaa
.byte 0x78, 0x28, 0x28, 0x50, 0x7a, 0xdf, 0xdf, 0xa5
.byte 0x8f, 0x8c, 0x8c, 0x03, 0xf8, 0xa1, 0xa1, 0x59
.byte 0x80, 0x89, 0x89, 0x09, 0x17, 0x0d, 0x0d, 0x1a
.byte 0xda, 0xbf, 0xbf, 0x65, 0x31, 0xe6, 0xe6, 0xd7
.byte 0xc6, 0x42, 0x42, 0x84, 0xb8, 0x68, 0x68, 0xd0
.byte 0xc3, 0x41, 0x41, 0x82, 0xb0, 0x99, 0x99, 0x29
.byte 0x77, 0x2d, 0x2d, 0x5a, 0x11, 0x0f, 0x0f, 0x1e
.byte 0xcb, 0xb0, 0xb0, 0x7b, 0xfc, 0x54, 0x54, 0xa8
.byte 0xd6, 0xbb, 0xbb, 0x6d, 0x3a, 0x16, 0x16, 0x2c
.global sdk_Td0
.type sdk_Td0, @object
sdk_Td0: .byte 0x50, 0xa7, 0xf4, 0x51, 0x53, 0x65, 0x41, 0x7e
.byte 0xc3, 0xa4, 0x17, 0x1a, 0x96, 0x5e, 0x27, 0x3a
.byte 0xcb, 0x6b, 0xab, 0x3b, 0xf1, 0x45, 0x9d, 0x1f
.byte 0xab, 0x58, 0xfa, 0xac, 0x93, 0x03, 0xe3, 0x4b
.byte 0x55, 0xfa, 0x30, 0x20, 0xf6, 0x6d, 0x76, 0xad
.byte 0x91, 0x76, 0xcc, 0x88, 0x25, 0x4c, 0x02, 0xf5
.byte 0xfc, 0xd7, 0xe5, 0x4f, 0xd7, 0xcb, 0x2a, 0xc5
.byte 0x80, 0x44, 0x35, 0x26, 0x8f, 0xa3, 0x62, 0xb5
.byte 0x49, 0x5a, 0xb1, 0xde, 0x67, 0x1b, 0xba, 0x25
.byte 0x98, 0x0e, 0xea, 0x45, 0xe1, 0xc0, 0xfe, 0x5d
.byte 0x02, 0x75, 0x2f, 0xc3, 0x12, 0xf0, 0x4c, 0x81
.byte 0xa3, 0x97, 0x46, 0x8d, 0xc6, 0xf9, 0xd3, 0x6b
.byte 0xe7, 0x5f, 0x8f, 0x03, 0x95, 0x9c, 0x92, 0x15
.byte 0xeb, 0x7a, 0x6d, 0xbf, 0xda, 0x59, 0x52, 0x95
.byte 0x2d, 0x83, 0xbe, 0xd4, 0xd3, 0x21, 0x74, 0x58
.byte 0x29, 0x69, 0xe0, 0x49, 0x44, 0xc8, 0xc9, 0x8e
.byte 0x6a, 0x89, 0xc2, 0x75, 0x78, 0x79, 0x8e, 0xf4
.byte 0x6b, 0x3e, 0x58, 0x99, 0xdd, 0x71, 0xb9, 0x27
.byte 0xb6, 0x4f, 0xe1, 0xbe, 0x17, 0xad, 0x88, 0xf0
.byte 0x66, 0xac, 0x20, 0xc9, 0xb4, 0x3a, 0xce, 0x7d
.byte 0x18, 0x4a, 0xdf, 0x63, 0x82, 0x31, 0x1a, 0xe5
.byte 0x60, 0x33, 0x51, 0x97, 0x45, 0x7f, 0x53, 0x62
.byte 0xe0, 0x77, 0x64, 0xb1, 0x84, 0xae, 0x6b, 0xbb
.byte 0x1c, 0xa0, 0x81, 0xfe, 0x94, 0x2b, 0x08, 0xf9
.byte 0x58, 0x68, 0x48, 0x70, 0x19, 0xfd, 0x45, 0x8f
.byte 0x87, 0x6c, 0xde, 0x94, 0xb7, 0xf8, 0x7b, 0x52
.byte 0x23, 0xd3, 0x73, 0xab, 0xe2, 0x02, 0x4b, 0x72
.byte 0x57, 0x8f, 0x1f, 0xe3, 0x2a, 0xab, 0x55, 0x66
.byte 0x07, 0x28, 0xeb, 0xb2, 0x03, 0xc2, 0xb5, 0x2f
.byte 0x9a, 0x7b, 0xc5, 0x86, 0xa5, 0x08, 0x37, 0xd3
.byte 0xf2, 0x87, 0x28, 0x30, 0xb2, 0xa5, 0xbf, 0x23
.byte 0xba, 0x6a, 0x03, 0x02, 0x5c, 0x82, 0x16, 0xed
.byte 0x2b, 0x1c, 0xcf, 0x8a, 0x92, 0xb4, 0x79, 0xa7
.byte 0xf0, 0xf2, 0x07, 0xf3, 0xa1, 0xe2, 0x69, 0x4e
.byte 0xcd, 0xf4, 0xda, 0x65, 0xd5, 0xbe, 0x05, 0x06
.byte 0x1f, 0x62, 0x34, 0xd1, 0x8a, 0xfe, 0xa6, 0xc4
.byte 0x9d, 0x53, 0x2e, 0x34, 0xa0, 0x55, 0xf3, 0xa2
.byte 0x32, 0xe1, 0x8a, 0x05, 0x75, 0xeb, 0xf6, 0xa4
.byte 0x39, 0xec, 0x83, 0x0b, 0xaa, 0xef, 0x60, 0x40
.byte 0x06, 0x9f, 0x71, 0x5e, 0x51, 0x10, 0x6e, 0xbd
.byte 0xf9, 0x8a, 0x21, 0x3e, 0x3d, 0x06, 0xdd, 0x96
.byte 0xae, 0x05, 0x3e, 0xdd, 0x46, 0xbd, 0xe6, 0x4d
.byte 0xb5, 0x8d, 0x54, 0x91, 0x05, 0x5d, 0xc4, 0x71
.byte 0x6f, 0xd4, 0x06, 0x04, 0xff, 0x15, 0x50, 0x60
.byte 0x24, 0xfb, 0x98, 0x19, 0x97, 0xe9, 0xbd, 0xd6
.byte 0xcc, 0x43, 0x40, 0x89, 0x77, 0x9e, 0xd9, 0x67
.byte 0xbd, 0x42, 0xe8, 0xb0, 0x88, 0x8b, 0x89, 0x07
.byte 0x38, 0x5b, 0x19, 0xe7, 0xdb, 0xee, 0xc8, 0x79
.byte 0x47, 0x0a, 0x7c, 0xa1, 0xe9, 0x0f, 0x42, 0x7c
.byte 0xc9, 0x1e, 0x84, 0xf8, 0x00, 0x00, 0x00, 0x00
.byte 0x83, 0x86, 0x80, 0x09, 0x48, 0xed, 0x2b, 0x32
.byte 0xac, 0x70, 0x11, 0x1e, 0x4e, 0x72, 0x5a, 0x6c
.byte 0xfb, 0xff, 0x0e, 0xfd, 0x56, 0x38, 0x85, 0x0f
.byte 0x1e, 0xd5, 0xae, 0x3d, 0x27, 0x39, 0x2d, 0x36
.byte 0x64, 0xd9, 0x0f, 0x0a, 0x21, 0xa6, 0x5c, 0x68
.byte 0xd1, 0x54, 0x5b, 0x9b, 0x3a, 0x2e, 0x36, 0x24
.byte 0xb1, 0x67, 0x0a, 0x0c, 0x0f, 0xe7, 0x57, 0x93
.byte 0xd2, 0x96, 0xee, 0xb4, 0x9e, 0x91, 0x9b, 0x1b
.byte 0x4f, 0xc5, 0xc0, 0x80, 0xa2, 0x20, 0xdc, 0x61
.byte 0x69, 0x4b, 0x77, 0x5a, 0x16, 0x1a, 0x12, 0x1c
.byte 0x0a, 0xba, 0x93, 0xe2, 0xe5, 0x2a, 0xa0, 0xc0
.byte 0x43, 0xe0, 0x22, 0x3c, 0x1d, 0x17, 0x1b, 0x12
.byte 0x0b, 0x0d, 0x09, 0x0e, 0xad, 0xc7, 0x8b, 0xf2
.byte 0xb9, 0xa8, 0xb6, 0x2d, 0xc8, 0xa9, 0x1e, 0x14
.byte 0x85, 0x19, 0xf1, 0x57, 0x4c, 0x07, 0x75, 0xaf
.byte 0xbb, 0xdd, 0x99, 0xee, 0xfd, 0x60, 0x7f, 0xa3
.byte 0x9f, 0x26, 0x01, 0xf7, 0xbc, 0xf5, 0x72, 0x5c
.byte 0xc5, 0x3b, 0x66, 0x44, 0x34, 0x7e, 0xfb, 0x5b
.byte 0x76, 0x29, 0x43, 0x8b, 0xdc, 0xc6, 0x23, 0xcb
.byte 0x68, 0xfc, 0xed, 0xb6, 0x63, 0xf1, 0xe4, 0xb8
.byte 0xca, 0xdc, 0x31, 0xd7, 0x10, 0x85, 0x63, 0x42
.byte 0x40, 0x22, 0x97, 0x13, 0x20, 0x11, 0xc6, 0x84
.byte 0x7d, 0x24, 0x4a, 0x85, 0xf8, 0x3d, 0xbb, 0xd2
.byte 0x11, 0x32, 0xf9, 0xae, 0x6d, 0xa1, 0x29, 0xc7
.byte 0x4b, 0x2f, 0x9e, 0x1d, 0xf3, 0x30, 0xb2, 0xdc
.byte 0xec, 0x52, 0x86, 0x0d, 0xd0, 0xe3, 0xc1, 0x77
.byte 0x6c, 0x16, 0xb3, 0x2b, 0x99, 0xb9, 0x70, 0xa9
.byte 0xfa, 0x48, 0x94, 0x11, 0x22, 0x64, 0xe9, 0x47
.byte 0xc4, 0x8c, 0xfc, 0xa8, 0x1a, 0x3f, 0xf0, 0xa0
.byte 0xd8, 0x2c, 0x7d, 0x56, 0xef, 0x90, 0x33, 0x22
.byte 0xc7, 0x4e, 0x49, 0x87, 0xc1, 0xd1, 0x38, 0xd9
.byte 0xfe, 0xa2, 0xca, 0x8c, 0x36, 0x0b, 0xd4, 0x98
.byte 0xcf, 0x81, 0xf5, 0xa6, 0x28, 0xde, 0x7a, 0xa5
.byte 0x26, 0x8e, 0xb7, 0xda, 0xa4, 0xbf, 0xad, 0x3f
.byte 0xe4, 0x9d, 0x3a, 0x2c, 0x0d, 0x92, 0x78, 0x50
.byte 0x9b, 0xcc, 0x5f, 0x6a, 0x62, 0x46, 0x7e, 0x54
.byte 0xc2, 0x13, 0x8d, 0xf6, 0xe8, 0xb8, 0xd8, 0x90
.byte 0x5e, 0xf7, 0x39, 0x2e, 0xf5, 0xaf, 0xc3, 0x82
.byte 0xbe, 0x80, 0x5d, 0x9f, 0x7c, 0x93, 0xd0, 0x69
.byte 0xa9, 0x2d, 0xd5, 0x6f, 0xb3, 0x12, 0x25, 0xcf
.byte 0x3b, 0x99, 0xac, 0xc8, 0xa7, 0x7d, 0x18, 0x10
.byte 0x6e, 0x63, 0x9c, 0xe8, 0x7b, 0xbb, 0x3b, 0xdb
.byte 0x09, 0x78, 0x26, 0xcd, 0xf4, 0x18, 0x59, 0x6e
.byte 0x01, 0xb7, 0x9a, 0xec, 0xa8, 0x9a, 0x4f, 0x83
.byte 0x65, 0x6e, 0x95, 0xe6, 0x7e, 0xe6, 0xff, 0xaa
.byte 0x08, 0xcf, 0xbc, 0x21, 0xe6, 0xe8, 0x15, 0xef
.byte 0xd9, 0x9b, 0xe7, 0xba, 0xce, 0x36, 0x6f, 0x4a
.byte 0xd4, 0x09, 0x9f, 0xea, 0xd6, 0x7c, 0xb0, 0x29
.byte 0xaf, 0xb2, 0xa4, 0x31, 0x31, 0x23, 0x3f, 0x2a
.byte 0x30, 0x94, 0xa5, 0xc6, 0xc0, 0x66, 0xa2, 0x35
.byte 0x37, 0xbc, 0x4e, 0x74, 0xa6, 0xca, 0x82, 0xfc
.byte 0xb0, 0xd0, 0x90, 0xe0, 0x15, 0xd8, 0xa7, 0x33
.byte 0x4a, 0x98, 0x04, 0xf1, 0xf7, 0xda, 0xec, 0x41
.byte 0x0e, 0x50, 0xcd, 0x7f, 0x2f, 0xf6, 0x91, 0x17
.byte 0x8d, 0xd6, 0x4d, 0x76, 0x4d, 0xb0, 0xef, 0x43
.byte 0x54, 0x4d, 0xaa, 0xcc, 0xdf, 0x04, 0x96, 0xe4
.byte 0xe3, 0xb5, 0xd1, 0x9e, 0x1b, 0x88, 0x6a, 0x4c
.byte 0xb8, 0x1f, 0x2c, 0xc1, 0x7f, 0x51, 0x65, 0x46
.byte 0x04, 0xea, 0x5e, 0x9d, 0x5d, 0x35, 0x8c, 0x01
.byte 0x73, 0x74, 0x87, 0xfa, 0x2e, 0x41, 0x0b, 0xfb
.byte 0x5a, 0x1d, 0x67, 0xb3, 0x52, 0xd2, 0xdb, 0x92
.byte 0x33, 0x56, 0x10, 0xe9, 0x13, 0x47, 0xd6, 0x6d
.byte 0x8c, 0x61, 0xd7, 0x9a, 0x7a, 0x0c, 0xa1, 0x37
.byte 0x8e, 0x14, 0xf8, 0x59, 0x89, 0x3c, 0x13, 0xeb
.byte 0xee, 0x27, 0xa9, 0xce, 0x35, 0xc9, 0x61, 0xb7
.byte 0xed, 0xe5, 0x1c, 0xe1, 0x3c, 0xb1, 0x47, 0x7a
.byte 0x59, 0xdf, 0xd2, 0x9c, 0x3f, 0x73, 0xf2, 0x55
.byte 0x79, 0xce, 0x14, 0x18, 0xbf, 0x37, 0xc7, 0x73
.byte 0xea, 0xcd, 0xf7, 0x53, 0x5b, 0xaa, 0xfd, 0x5f
.byte 0x14, 0x6f, 0x3d, 0xdf, 0x86, 0xdb, 0x44, 0x78
.byte 0x81, 0xf3, 0xaf, 0xca, 0x3e, 0xc4, 0x68, 0xb9
.byte 0x2c, 0x34, 0x24, 0x38, 0x5f, 0x40, 0xa3, 0xc2
.byte 0x72, 0xc3, 0x1d, 0x16, 0x0c, 0x25, 0xe2, 0xbc
.byte 0x8b, 0x49, 0x3c, 0x28, 0x41, 0x95, 0x0d, 0xff
.byte 0x71, 0x01, 0xa8, 0x39, 0xde, 0xb3, 0x0c, 0x08
.byte 0x9c, 0xe4, 0xb4, 0xd8, 0x90, 0xc1, 0x56, 0x64
.byte 0x61, 0x84, 0xcb, 0x7b, 0x70, 0xb6, 0x32, 0xd5
.byte 0x74, 0x5c, 0x6c, 0x48, 0x42, 0x57, 0xb8, 0xd0
# NOTE: The following is apparently unreferenced code/data
.global sdk_Td4s_rom
.type sdk_Td4s_rom, @object
sdk_Td4s_rom:
.word 0xd56a0952 # 800: 52096ad5
.word 0x38a53630 # 804: 3036a538
.word 0x9ea340bf # 808: bf40a39e
.word 0xfbd7f381 # 80c: 81f3d7fb
.word 0x8239e37c # 810: 7ce33982
.word 0x87ff2f9b # 814: 9b2fff87
.word 0x44438e34 # 818: 348e4344
.word 0xcbe9dec4 # 81c: c4dee9cb
.word 0x32947b54 # 820: 547b9432
.word 0x3d23c2a6 # 824: a6c2233d
.word 0x0b954cee # 828: ee4c950b
.word 0x4ec3fa42 # 82c: 42fac34e
.word 0x66a12e08 # 830: 082ea166
.word 0xb224d928 # 834: 28d924b2
.word 0x49a25b76 # 838: 765ba249
.word 0x25d18b6d # 83c: 6d8bd125
.word 0x64f6f872 # 840: 72f8f664
.word 0x16986886 # 844: 86689816
.word 0xcc5ca4d4 # 848: d4a45ccc
.word 0x92b6655d # 84c: 5d65b692
.word 0x5048706c # 850: 6c704850
.word 0xdab9edfd # 854: fdedb9da
.word 0x5746155e # 858: 5e154657
.word 0x849d8da7 # 85c: a78d9d84
.word 0x00abd890 # 860: 90d8ab00
.word 0x0ad3bc8c # 864: 8cbcd30a
.word 0x0558e4f7 # 868: f7e45805
.word 0x0645b3b8 # 86c: b8b34506
.word 0x8f1e2cd0 # 870: d02c1e8f
.word 0x020f3fca # 874: ca3f0f02
.word 0x03bdafc1 # 878: c1afbd03
.word 0x6b8a1301 # 87c: 01138a6b
.word 0x4111913a # 880: 3a911141
.word 0xeadc674f # 884: 4f67dcea
.word 0xcecff297 # 888: 97f2cfce
.word 0x73e6b4f0 # 88c: f0b4e673
.word 0x2274ac96 # 890: 96ac7422
.word 0x8535ade7 # 894: e7ad3585
.word 0xe837f9e2 # 898: e2f937e8
.word 0x6edf751c # 89c: 1c75df6e
.word 0x711af147 # 8a0: 47f11a71
.word 0x89c5291d # 8a4: 1d29c589
.word 0x0e62b76f # 8a8: 6fb7620e
.word 0x1bbe18aa # 8ac: aa18be1b
.word 0x4b3e56fc # 8b0: fc563e4b
.word 0x2079d2c6 # 8b4: c6d27920
.word 0xfec0db9a # 8b8: 9adbc0fe
.word 0xf45acd78 # 8bc: 78cd5af4
.word 0x33a8dd1f # 8c0: 1fdda833
.word 0x31c70788 # 8c4: 8807c731
.word 0x591012b1 # 8c8: b1121059
.word 0x5fec8027 # 8cc: 2780ec5f
.word 0xa97f5160 # 8d0: 60517fa9
.word 0x0d4ab519 # 8d4: 19b54a0d
.word 0x9f7ae52d # 8d8: 2de57a9f
.word 0xef9cc993 # 8dc: 93c99cef
.word 0x4d3be0a0 # 8e0: a0e03b4d
.word 0xb0f52aae # 8e4: ae2af5b0
.word 0x3cbbebc8 # 8e8: c8ebbb3c
.word 0x61995383 # 8ec: 83539961
.word 0x7e042b17 # 8f0: 172b047e
.word 0x26d677ba # 8f4: ba77d626
.word 0x631469e1 # 8f8: e1691463
.word 0x7d0c2155 # 8fc: 55210c7d