251 lines
13 KiB
ArmAsm
251 lines
13 KiB
ArmAsm
|
|
.section .text, "ax", @progbits
|
|
|
|
.literal_position # 0: 00000000
|
|
# 4: 00000000
|
|
|
|
# Function @ .text+0x8
|
|
# Local variables/stack:
|
|
# (local0): word[4] @ -0x10
|
|
.balign 4
|
|
.global sdk_register_phy_ops
|
|
.type sdk_register_phy_ops, @function
|
|
sdk_register_phy_ops:
|
|
movi a3, 0 /* 0x00000000 */ # 8: 0c03
|
|
addi sp, sp, -16 /* (local0) */ # a: 12c1f0
|
|
mov a5, a2 /* arg0 */ # d: 5d02
|
|
s32i a0, sp, 0 /* a0 -> [(local0)] */ # f: 0901
|
|
movi a0, .Ldata001 # 11: 01fbff
|
|
movi a2, 1 /* 0x00000001 */ # 14: 0c12
|
|
s32i a5, a0, 0 /* arg0 -> [.Ldata001] */ # 16: 5900
|
|
call0 sdk_phy_init # 18: 01fbffc0
|
|
# 1c: 0000
|
|
l32i a0, sp, 0 /* [(local0)] */ # 1e: 0801
|
|
addi sp, sp, 16 /* (top of frame) */ # 20: 12c110
|
|
ret # 23: 0df0
|
|
|
|
.literal_position # 28: 00000000
|
|
|
|
# Function @ .text+0x2c
|
|
# Local variables/stack:
|
|
# (local0): word[4] @ -0x10
|
|
.balign 4
|
|
.global sdk_phy_change_channel
|
|
.type sdk_phy_change_channel, @function
|
|
sdk_phy_change_channel:
|
|
addi sp, sp, -16 /* (local0) */ # 2c: 12c1f0
|
|
s32i a0, sp, 0 /* a0 -> [(local0)] */ # 2f: 0901
|
|
movi a0, .Ldata001 # 31: 01fdff
|
|
l32i a0, a0, 0 /* [.Ldata001] */ # 34: 0800
|
|
l32i a0, a0, 4 /* [[.Ldata001]+0x4] */ # 36: 0810
|
|
callx0 a0 /* [[.Ldata001]+0x4] */ # 38: c00000
|
|
movi a2, 0 /* 0x00000000 */ # 3b: 0c02
|
|
l32i a0, sp, 0 /* [(local0)] */ # 3d: 0801
|
|
addi sp, sp, 16 /* (top of frame) */ # 3f: 12c110
|
|
ret /* 0x00000000 */ # 42: 0df0
|
|
|
|
.literal_position # 44: 000af23f
|
|
|
|
# Function @ .text+0x48
|
|
.balign 4
|
|
.global sdk_phy_get_mactime
|
|
.type sdk_phy_get_mactime, @function
|
|
sdk_phy_get_mactime:
|
|
movi a2, 0x3ff20a00 # 48: 21ffff
|
|
memw # 4b: c02000
|
|
l32i a2, a2, 0x200 /* [0x3ff20c00] */ # 4e: 222280
|
|
ret /* [0x3ff20c00] */ # 51: 0df0
|
|
|
|
.section .bss, "aw", @nobits
|
|
|
|
.Ldata001: .word 0x00000000 # 0: 00000000
|
|
|
|
.section .irom0.text, "ax", @progbits
|
|
|
|
.literal_position # 0: 00000000
|
|
|
|
# Function @ .irom0.text+0x4
|
|
# Local variables/stack:
|
|
# (local0): word[4] @ -0x10
|
|
.balign 4
|
|
.global sdk_rf_init
|
|
.type sdk_rf_init, @function
|
|
sdk_rf_init:
|
|
addi sp, sp, -16 /* (local0) */ # 4: 12c1f0
|
|
s32i a0, sp, 0 /* a0 -> [(local0)] */ # 7: 0901
|
|
movi a0, .Ldata001 # 9: 01fdff
|
|
l32i a0, a0, 0 /* [.Ldata001] */ # c: 0800
|
|
slli a4, a2, 24 # e: 804201
|
|
l32i a0, a0, 0 /* [[.Ldata001]] */ # 11: 0800
|
|
srai a2, a4, 24 # 13: 402831
|
|
callx0 a0 /* [[.Ldata001]] */ # 16: c00000
|
|
l32i a0, sp, 0 /* [(local0)] */ # 19: 0801
|
|
addi sp, sp, 16 /* (top of frame) */ # 1b: 12c110
|
|
ret # 1e: 0df0
|
|
|
|
.literal_position # 20: 00000000
|
|
|
|
# Function @ .irom0.text+0x24
|
|
# Local variables/stack:
|
|
# (local0): word[4] @ -0x10
|
|
.balign 4
|
|
.global sdk_bb_init
|
|
.type sdk_bb_init, @function
|
|
sdk_bb_init:
|
|
addi sp, sp, -16 /* (local0) */ # 24: 12c1f0
|
|
s32i a0, sp, 0 /* a0 -> [(local0)] */ # 27: 0901
|
|
movi a0, .Ldata001 # 29: 01fdff
|
|
l32i a0, a0, 0 /* [.Ldata001] */ # 2c: 0800
|
|
l32i a0, a0, 24 /* [[.Ldata001]+0x18] */ # 2e: 0860
|
|
callx0 a0 /* [[.Ldata001]+0x18] */ # 30: c00000
|
|
l32i a0, sp, 0 /* [(local0)] */ # 33: 0801
|
|
addi sp, sp, 16 /* (top of frame) */ # 35: 12c110
|
|
ret # 38: 0df0
|
|
|
|
.literal_position # 3c: 00000000
|
|
# 40: 00000000
|
|
|
|
# Function @ .irom0.text+0x44
|
|
# Local variables/stack:
|
|
# (local0): word @ -0x10
|
|
# (local1): word[3] @ -0xc
|
|
.balign 4
|
|
.global sdk_phy_init
|
|
.type sdk_phy_init, @function
|
|
sdk_phy_init:
|
|
addi sp, sp, -16 /* (local0) */ # 44: 12c1f0
|
|
s32i a12, sp, 4 /* a12 -> [(local1)] */ # 47: c911
|
|
s32i a0, sp, 0 /* a0 -> [(local0)] */ # 49: 0901
|
|
mov a12, a3 /* arg1 */ # 4b: cd03
|
|
movi a0, .Ldata001 # 4d: 01fbff
|
|
slli a3, a2, 24 # 50: 803201
|
|
l32i a0, a0, 0 /* [.Ldata001] */ # 53: 0800
|
|
srai a2, a3, 24 # 55: 302831
|
|
l32i a0, a0, 0 /* [[.Ldata001]] */ # 58: 0800
|
|
mov a3, a12 /* arg1 */ # 5a: 3d0c
|
|
callx0 a0 /* [[.Ldata001]] */ # 5c: c00000
|
|
movi a0, .Ldata001 # 5f: 01f8ff
|
|
l32i a0, a0, 0 /* [.Ldata001] */ # 62: 0800
|
|
l32i a0, a0, 24 /* [[.Ldata001]+0x18] */ # 64: 0860
|
|
mov a2, a12 /* arg1 */ # 66: 2d0c
|
|
callx0 a0 /* [[.Ldata001]+0x18] */ # 68: c00000
|
|
l32i a12, sp, 4 /* [(local1)] */ # 6b: c811
|
|
l32i a0, sp, 0 /* [(local0)] */ # 6d: 0801
|
|
addi sp, sp, 16 /* (top of frame) */ # 6f: 12c110
|
|
ret # 72: 0df0
|
|
|
|
.literal_position # 74: 00000000
|
|
|
|
# Function @ .irom0.text+0x78
|
|
# Local variables/stack:
|
|
# (local0): word[4] @ -0x10
|
|
.balign 4
|
|
.global sdk_RFChannelSel
|
|
.type sdk_RFChannelSel, @function
|
|
sdk_RFChannelSel:
|
|
addi sp, sp, -16 /* (local0) */ # 78: 12c1f0
|
|
s32i a0, sp, 0 /* a0 -> [(local0)] */ # 7b: 0901
|
|
movi a0, .Ldata001 # 7d: 01fdff
|
|
l32i a0, a0, 0 /* [.Ldata001] */ # 80: 0800
|
|
slli a3, a2, 24 # 82: 803201
|
|
l32i a0, a0, 8 /* [[.Ldata001]+0x8] */ # 85: 0820
|
|
srai a2, a3, 24 # 87: 302831
|
|
callx0 a0 /* [[.Ldata001]+0x8] */ # 8a: c00000
|
|
l32i a0, sp, 0 /* [(local0)] */ # 8d: 0801
|
|
addi sp, sp, 16 /* (top of frame) */ # 8f: 12c110
|
|
ret # 92: 0df0
|
|
|
|
.literal_position # 94: 00000000
|
|
|
|
# Function @ .irom0.text+0x98
|
|
# Local variables/stack:
|
|
# (local0): word[4] @ -0x10
|
|
.balign 4
|
|
.global sdk_phy_delete_channel
|
|
.type sdk_phy_delete_channel, @function
|
|
sdk_phy_delete_channel:
|
|
addi sp, sp, -16 /* (local0) */ # 98: 12c1f0
|
|
s32i a0, sp, 0 /* a0 -> [(local0)] */ # 9b: 0901
|
|
movi a0, .Ldata001 # 9d: 01fdff
|
|
l32i a0, a0, 0 /* [.Ldata001] */ # a0: 0800
|
|
l32i a0, a0, 12 /* [[.Ldata001]+0xc] */ # a2: 0830
|
|
callx0 a0 /* [[.Ldata001]+0xc] */ # a4: c00000
|
|
l32i a0, sp, 0 /* [(local0)] */ # a7: 0801
|
|
addi sp, sp, 16 /* (top of frame) */ # a9: 12c110
|
|
ret # ac: 0df0
|
|
|
|
.literal_position # b0: 00000000
|
|
|
|
# Function @ .irom0.text+0xb4
|
|
# Local variables/stack:
|
|
# (local0): word[4] @ -0x10
|
|
.balign 4
|
|
.global sdk_phy_enable_agc
|
|
.type sdk_phy_enable_agc, @function
|
|
sdk_phy_enable_agc:
|
|
addi sp, sp, -16 /* (local0) */ # b4: 12c1f0
|
|
s32i a0, sp, 0 /* a0 -> [(local0)] */ # b7: 0901
|
|
movi a0, .Ldata001 # b9: 01fdff
|
|
l32i a0, a0, 0 /* [.Ldata001] */ # bc: 0800
|
|
l32i a0, a0, 16 /* [[.Ldata001]+0x10] */ # be: 0840
|
|
callx0 a0 /* [[.Ldata001]+0x10] */ # c0: c00000
|
|
l32i a0, sp, 0 /* [(local0)] */ # c3: 0801
|
|
addi sp, sp, 16 /* (top of frame) */ # c5: 12c110
|
|
ret # c8: 0df0
|
|
|
|
.literal_position # cc: 00000000
|
|
|
|
# Function @ .irom0.text+0xd0
|
|
# Local variables/stack:
|
|
# (local0): word[4] @ -0x10
|
|
.balign 4
|
|
.global sdk_phy_disable_agc
|
|
.type sdk_phy_disable_agc, @function
|
|
sdk_phy_disable_agc:
|
|
addi sp, sp, -16 /* (local0) */ # d0: 12c1f0
|
|
s32i a0, sp, 0 /* a0 -> [(local0)] */ # d3: 0901
|
|
movi a0, .Ldata001 # d5: 01fdff
|
|
l32i a0, a0, 0 /* [.Ldata001] */ # d8: 0800
|
|
l32i a0, a0, 20 /* [[.Ldata001]+0x14] */ # da: 0850
|
|
callx0 a0 /* [[.Ldata001]+0x14] */ # dc: c00000
|
|
l32i a0, sp, 0 /* [(local0)] */ # df: 0801
|
|
addi sp, sp, 16 /* (top of frame) */ # e1: 12c110
|
|
ret # e4: 0df0
|
|
|
|
.literal_position # e8: 00000000
|
|
|
|
# Function @ .irom0.text+0xec
|
|
# Local variables/stack:
|
|
# (local0): word[4] @ -0x10
|
|
.balign 4
|
|
.global sdk_phy_initialize_bb
|
|
.type sdk_phy_initialize_bb, @function
|
|
sdk_phy_initialize_bb:
|
|
addi sp, sp, -16 /* (local0) */ # ec: 12c1f0
|
|
s32i a0, sp, 0 /* a0 -> [(local0)] */ # ef: 0901
|
|
movi a0, .Ldata001 # f1: 01fdff
|
|
l32i a0, a0, 0 /* [.Ldata001] */ # f4: 0800
|
|
l32i a0, a0, 24 /* [[.Ldata001]+0x18] */ # f6: 0860
|
|
callx0 a0 /* [[.Ldata001]+0x18] */ # f8: c00000
|
|
l32i a0, sp, 0 /* [(local0)] */ # fb: 0801
|
|
addi sp, sp, 16 /* (top of frame) */ # fd: 12c110
|
|
ret # 100: 0df0
|
|
|
|
.literal_position # 104: 00000000
|
|
|
|
# Function @ .irom0.text+0x108
|
|
# Local variables/stack:
|
|
# (local0): word[4] @ -0x10
|
|
.balign 4
|
|
.global sdk_phy_set_sense
|
|
.type sdk_phy_set_sense, @function
|
|
sdk_phy_set_sense:
|
|
addi sp, sp, -16 /* (local0) */ # 108: 12c1f0
|
|
s32i a0, sp, 0 /* a0 -> [(local0)] */ # 10b: 0901
|
|
movi a0, .Ldata001 # 10d: 01fdff
|
|
l32i a0, a0, 0 /* [.Ldata001] */ # 110: 0800
|
|
l32i a0, a0, 28 /* [[.Ldata001]+0x1c] */ # 112: 0870
|
|
callx0 a0 /* [[.Ldata001]+0x1c] */ # 114: c00000
|
|
l32i a0, sp, 0 /* [(local0)] */ # 117: 0801
|
|
addi sp, sp, 16 /* (top of frame) */ # 119: 12c110
|
|
ret # 11c: 0df0
|