x86
stringlengths 339
47.4k
| arm
stringlengths 147
62.1k
|
---|---|
.file "extr_mt9t031.c_mt9t031_g_chip_ident.c"
.intel_syntax noprefix
.text
.comm EINVAL,4,4
.comm ENODEV,4,4
.comm V4L2_CHIP_MATCH_I2C_ADDR,8,8
.type mt9t031_g_chip_ident, @function
mt9t031_g_chip_ident:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call v4l2_get_subdevdata@PLT
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call to_mt9t031@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR V4L2_CHIP_MATCH_I2C_ADDR[rip]
cmp rdx, rax
je .L2
mov eax, DWORD PTR EINVAL[rip]
neg eax
jmp .L3
.L2:
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 24[rax]
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
cmp rdx, rax
je .L4
mov eax, DWORD PTR ENODEV[rip]
neg eax
jmp .L3
.L4:
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR 8[rax], edx
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR [rax], 0
mov eax, 0
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size mt9t031_g_chip_ident, .-mt9t031_g_chip_ident
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_mt9t031.c_mt9t031_g_chip_ident.c"
.text
.comm EINVAL,4,4
.comm ENODEV,4,4
.comm V4L2_CHIP_MATCH_I2C_ADDR,8,8
.align 2
.type mt9t031_g_chip_ident, %function
mt9t031_g_chip_ident:
.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]
str x1, [sp, 16]
ldr x0, [sp, 24]
bl v4l2_get_subdevdata
str x0, [sp, 32]
ldr x0, [sp, 32]
bl to_mt9t031
str x0, [sp, 40]
ldr x0, [sp, 16]
ldr x1, [x0, 16]
adrp x0, :got:V4L2_CHIP_MATCH_I2C_ADDR
ldr x0, [x0, #:got_lo12:V4L2_CHIP_MATCH_I2C_ADDR]
ldr x0, [x0]
cmp x1, x0
beq .L2
adrp x0, :got:EINVAL
ldr x0, [x0, #:got_lo12:EINVAL]
ldr w0, [x0]
neg w0, w0
b .L3
.L2:
ldr x0, [sp, 16]
ldr x1, [x0, 24]
ldr x0, [sp, 32]
ldr x0, [x0]
cmp x1, x0
beq .L4
adrp x0, :got:ENODEV
ldr x0, [x0, #:got_lo12:ENODEV]
ldr w0, [x0]
neg w0, w0
b .L3
.L4:
ldr x0, [sp, 40]
ldr w1, [x0]
ldr x0, [sp, 16]
str w1, [x0, 8]
ldr x0, [sp, 16]
str xzr, [x0]
mov w0, 0
.L3:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size mt9t031_g_chip_ident, .-mt9t031_g_chip_ident
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_lockdep.c_get_usage_char.c"
.intel_syntax noprefix
.text
.type get_usage_char, @function
get_usage_char:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 40
.cfi_offset 3, -24
mov QWORD PTR -40[rbp], rdi
mov DWORD PTR -44[rbp], esi
mov BYTE PTR -17[rbp], 46
mov rax, QWORD PTR -40[rbp]
mov ebx, DWORD PTR [rax]
mov eax, DWORD PTR -44[rbp]
add eax, 2
mov edi, eax
call lock_flag@PLT
and eax, ebx
test eax, eax
je .L2
mov BYTE PTR -17[rbp], 43
.L2:
mov rax, QWORD PTR -40[rbp]
mov ebx, DWORD PTR [rax]
mov eax, DWORD PTR -44[rbp]
mov edi, eax
call lock_flag@PLT
and eax, ebx
test eax, eax
je .L3
mov BYTE PTR -17[rbp], 45
mov rax, QWORD PTR -40[rbp]
mov ebx, DWORD PTR [rax]
mov eax, DWORD PTR -44[rbp]
add eax, 2
mov edi, eax
call lock_flag@PLT
and eax, ebx
test eax, eax
je .L3
mov BYTE PTR -17[rbp], 63
.L3:
movzx eax, BYTE PTR -17[rbp]
add rsp, 40
pop rbx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size get_usage_char, .-get_usage_char
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_lockdep.c_get_usage_char.c"
.text
.align 2
.type get_usage_char, %function
get_usage_char:
.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 x19, [sp, 16]
.cfi_offset 19, -48
str x0, [sp, 40]
str w1, [sp, 36]
mov w0, 46
strb w0, [sp, 63]
ldr x0, [sp, 40]
ldr w19, [x0]
ldr w0, [sp, 36]
add w0, w0, 2
bl lock_flag
and w0, w19, w0
cmp w0, 0
beq .L2
mov w0, 43
strb w0, [sp, 63]
.L2:
ldr x0, [sp, 40]
ldr w19, [x0]
ldr w0, [sp, 36]
bl lock_flag
and w0, w19, w0
cmp w0, 0
beq .L3
mov w0, 45
strb w0, [sp, 63]
ldr x0, [sp, 40]
ldr w19, [x0]
ldr w0, [sp, 36]
add w0, w0, 2
bl lock_flag
and w0, w19, w0
cmp w0, 0
beq .L3
mov w0, 63
strb w0, [sp, 63]
.L3:
ldrb w0, [sp, 63]
ldr x19, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size get_usage_char, .-get_usage_char
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_intel_sprite.c_ivb_plane_get_hw_state.c"
.intel_syntax noprefix
.text
.comm SPRITE_ENABLE,4,4
.type ivb_plane_get_hw_state, @function
ivb_plane_get_hw_state:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR 4[rax]
mov edi, eax
call to_i915@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR [rax]
mov edi, eax
call POWER_DOMAIN_PIPE@PLT
mov DWORD PTR -20[rbp], eax
mov edx, DWORD PTR -20[rbp]
mov rax, QWORD PTR -8[rbp]
mov esi, edx
mov rdi, rax
call intel_display_power_get_if_enabled@PLT
mov DWORD PTR -16[rbp], eax
cmp DWORD PTR -16[rbp], 0
jne .L2
mov eax, 0
jmp .L3
.L2:
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR [rax]
mov edi, eax
call SPRCTL@PLT
mov edi, eax
call I915_READ@PLT
mov edx, DWORD PTR SPRITE_ENABLE[rip]
and eax, edx
mov DWORD PTR -12[rbp], eax
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR [rax]
mov edx, eax
mov rax, QWORD PTR -48[rbp]
mov DWORD PTR [rax], edx
mov ecx, DWORD PTR -20[rbp]
mov edx, DWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
mov esi, ecx
mov rdi, rax
call intel_display_power_put@PLT
mov eax, DWORD PTR -12[rbp]
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ivb_plane_get_hw_state, .-ivb_plane_get_hw_state
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_intel_sprite.c_ivb_plane_get_hw_state.c"
.text
.comm SPRITE_ENABLE,4,4
.align 2
.type ivb_plane_get_hw_state, %function
ivb_plane_get_hw_state:
.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]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 4]
bl to_i915
str x0, [sp, 56]
ldr x0, [sp, 24]
ldr w0, [x0]
bl POWER_DOMAIN_PIPE
str w0, [sp, 44]
ldr w0, [sp, 44]
mov w1, w0
ldr x0, [sp, 56]
bl intel_display_power_get_if_enabled
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 0
bne .L2
mov w0, 0
b .L3
.L2:
ldr x0, [sp, 24]
ldr w0, [x0]
bl SPRCTL
bl I915_READ
mov w1, w0
adrp x0, :got:SPRITE_ENABLE
ldr x0, [x0, #:got_lo12:SPRITE_ENABLE]
ldr w0, [x0]
and w0, w1, w0
str w0, [sp, 52]
ldr x0, [sp, 24]
ldr w0, [x0]
mov w1, w0
ldr x0, [sp, 16]
str w1, [x0]
ldr w0, [sp, 44]
ldr w2, [sp, 48]
mov w1, w0
ldr x0, [sp, 56]
bl intel_display_power_put
ldr w0, [sp, 52]
.L3:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ivb_plane_get_hw_state, .-ivb_plane_get_hw_state
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_imx7ulp_wdt.c_imx7ulp_wdt_set_timeout.c"
.intel_syntax noprefix
.text
.comm UNLOCK,4,4
.comm WDOG_CLOCK_RATE,4,4
.comm WDOG_CNT,8,8
.comm WDOG_TOVAL,8,8
.type imx7ulp_wdt_set_timeout, @function
imx7ulp_wdt_set_timeout:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call watchdog_get_drvdata@PLT
mov QWORD PTR -8[rbp], rax
mov eax, DWORD PTR WDOG_CLOCK_RATE[rip]
mov edx, DWORD PTR -28[rbp]
imul eax, edx
mov DWORD PTR -12[rbp], eax
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR WDOG_CNT[rip]
add rdx, rax
mov eax, DWORD PTR UNLOCK[rip]
mov rsi, rdx
mov edi, eax
call writel@PLT
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR WDOG_TOVAL[rip]
add rdx, rax
mov eax, DWORD PTR -12[rbp]
mov rsi, rdx
mov edi, eax
call writel@PLT
mov rax, QWORD PTR -24[rbp]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR [rax], edx
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size imx7ulp_wdt_set_timeout, .-imx7ulp_wdt_set_timeout
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_imx7ulp_wdt.c_imx7ulp_wdt_set_timeout.c"
.text
.comm UNLOCK,4,4
.comm WDOG_CLOCK_RATE,4,4
.comm WDOG_CNT,8,8
.comm WDOG_TOVAL,8,8
.align 2
.type imx7ulp_wdt_set_timeout, %function
imx7ulp_wdt_set_timeout:
.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]
str w1, [sp, 20]
ldr x0, [sp, 24]
bl watchdog_get_drvdata
str x0, [sp, 40]
adrp x0, :got:WDOG_CLOCK_RATE
ldr x0, [x0, #:got_lo12:WDOG_CLOCK_RATE]
ldr w0, [x0]
ldr w1, [sp, 20]
mul w0, w1, w0
str w0, [sp, 36]
adrp x0, :got:UNLOCK
ldr x0, [x0, #:got_lo12:UNLOCK]
ldr w2, [x0]
ldr x0, [sp, 40]
ldr x1, [x0]
adrp x0, :got:WDOG_CNT
ldr x0, [x0, #:got_lo12:WDOG_CNT]
ldr x0, [x0]
add x0, x1, x0
mov x1, x0
mov w0, w2
bl writel
ldr x0, [sp, 40]
ldr x1, [x0]
adrp x0, :got:WDOG_TOVAL
ldr x0, [x0, #:got_lo12:WDOG_TOVAL]
ldr x0, [x0]
add x0, x1, x0
mov x1, x0
ldr w0, [sp, 36]
bl writel
ldr x0, [sp, 24]
ldr w1, [sp, 20]
str w1, [x0]
mov w0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size imx7ulp_wdt_set_timeout, .-imx7ulp_wdt_set_timeout
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_saxreader.c_test_mxattr_dispex.c"
.intel_syntax noprefix
.text
.comm CLSCTX_INPROC_SERVER,4,4
.comm CLSID_SAXAttributes,4,4
.comm IID_IDispatchEx,4,4
.comm IID_IMXAttributes,4,4
.comm IID_IUnknown,4,4
.comm S_OK,4,4
.type test_mxattr_dispex, @function
test_mxattr_dispex:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov eax, DWORD PTR CLSCTX_INPROC_SERVER[rip]
lea rdx, -32[rbp]
mov r8, rdx
lea rcx, IID_IMXAttributes[rip]
mov edx, eax
mov esi, 0
lea rdi, CLSID_SAXAttributes[rip]
call CoCreateInstance@PLT
mov DWORD PTR -36[rbp], eax
mov edx, DWORD PTR S_OK[rip]
mov eax, DWORD PTR -36[rbp]
mov esi, edx
mov edi, eax
call EXPECT_HR@PLT
mov rax, QWORD PTR -32[rbp]
lea rdx, -24[rbp]
lea rsi, IID_IDispatchEx[rip]
mov rdi, rax
call IMXAttributes_QueryInterface@PLT
mov DWORD PTR -36[rbp], eax
mov edx, DWORD PTR S_OK[rip]
mov eax, DWORD PTR -36[rbp]
mov esi, edx
mov edi, eax
call EXPECT_HR@PLT
mov rax, QWORD PTR -24[rbp]
lea rdx, -16[rbp]
lea rsi, IID_IUnknown[rip]
mov rdi, rax
call IDispatchEx_QueryInterface@PLT
mov DWORD PTR -36[rbp], eax
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call test_obj_dispex@PLT
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call IUnknown_Release@PLT
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call IDispatchEx_Release@PLT
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call IMXAttributes_Release@PLT
nop
mov rax, QWORD PTR -8[rbp]
xor rax, QWORD PTR fs:40
je .L2
call __stack_chk_fail@PLT
.L2:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size test_mxattr_dispex, .-test_mxattr_dispex
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_saxreader.c_test_mxattr_dispex.c"
.text
.comm CLSCTX_INPROC_SERVER,4,4
.comm CLSID_SAXAttributes,4,4
.comm IID_IDispatchEx,4,4
.comm IID_IMXAttributes,4,4
.comm IID_IUnknown,4,4
.comm S_OK,4,4
.align 2
.type test_mxattr_dispex, %function
test_mxattr_dispex:
.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, :got:CLSCTX_INPROC_SERVER
ldr x0, [x0, #:got_lo12:CLSCTX_INPROC_SERVER]
ldr w1, [x0]
add x0, sp, 32
mov x4, x0
adrp x0, :got:IID_IMXAttributes
ldr x3, [x0, #:got_lo12:IID_IMXAttributes]
mov w2, w1
mov x1, 0
adrp x0, :got:CLSID_SAXAttributes
ldr x0, [x0, #:got_lo12:CLSID_SAXAttributes]
bl CoCreateInstance
str w0, [sp, 28]
adrp x0, :got:S_OK
ldr x0, [x0, #:got_lo12:S_OK]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 28]
bl EXPECT_HR
ldr x3, [sp, 32]
add x0, sp, 40
mov x2, x0
adrp x0, :got:IID_IDispatchEx
ldr x1, [x0, #:got_lo12:IID_IDispatchEx]
mov x0, x3
bl IMXAttributes_QueryInterface
str w0, [sp, 28]
adrp x0, :got:S_OK
ldr x0, [x0, #:got_lo12:S_OK]
ldr w0, [x0]
mov w1, w0
ldr w0, [sp, 28]
bl EXPECT_HR
ldr x3, [sp, 40]
add x0, sp, 48
mov x2, x0
adrp x0, :got:IID_IUnknown
ldr x1, [x0, #:got_lo12:IID_IUnknown]
mov x0, x3
bl IDispatchEx_QueryInterface
str w0, [sp, 28]
ldr x0, [sp, 48]
bl test_obj_dispex
ldr x0, [sp, 48]
bl IUnknown_Release
ldr x0, [sp, 40]
bl IDispatchEx_Release
ldr x0, [sp, 32]
bl IMXAttributes_Release
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [sp, 56]
ldr x2, [x0]
subs x1, x1, x2
mov x2, 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 test_mxattr_dispex, .-test_mxattr_dispex
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_it8152.c_it8152_pci_platform_notify.c"
.intel_syntax noprefix
.text
.comm PHYS_OFFSET,4,4
.comm SZ_64M,4,4
.comm pci_bus_type,4,4
.type it8152_pci_platform_notify, @function
it8152_pci_platform_notify:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
lea rdx, pci_bus_type[rip]
cmp rax, rdx
jne .L2
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L3
mov eax, DWORD PTR SZ_64M[rip]
lea ecx, -1[rax]
mov edx, DWORD PTR PHYS_OFFSET[rip]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
or edx, ecx
mov DWORD PTR [rax], edx
.L3:
mov eax, DWORD PTR SZ_64M[rip]
lea edx, -1[rax]
mov eax, DWORD PTR PHYS_OFFSET[rip]
or edx, eax
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 8[rax], edx
mov rax, QWORD PTR -8[rbp]
mov edx, 4096
mov esi, 2048
mov rdi, rax
call dmabounce_register_dev@PLT
.L2:
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size it8152_pci_platform_notify, .-it8152_pci_platform_notify
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_it8152.c_it8152_pci_platform_notify.c"
.text
.comm PHYS_OFFSET,4,4
.comm SZ_64M,4,4
.comm pci_bus_type,4,4
.align 2
.type it8152_pci_platform_notify, %function
it8152_pci_platform_notify:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr x1, [x0, 16]
adrp x0, :got:pci_bus_type
ldr x0, [x0, #:got_lo12:pci_bus_type]
cmp x1, x0
bne .L2
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x0, 0
beq .L3
adrp x0, :got:SZ_64M
ldr x0, [x0, #:got_lo12:SZ_64M]
ldr w0, [x0]
sub w2, w0, #1
adrp x0, :got:PHYS_OFFSET
ldr x0, [x0, #:got_lo12:PHYS_OFFSET]
ldr w1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
orr w1, w2, w1
str w1, [x0]
.L3:
adrp x0, :got:SZ_64M
ldr x0, [x0, #:got_lo12:SZ_64M]
ldr w0, [x0]
sub w1, w0, #1
adrp x0, :got:PHYS_OFFSET
ldr x0, [x0, #:got_lo12:PHYS_OFFSET]
ldr w0, [x0]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
mov w2, 4096
mov w1, 2048
ldr x0, [sp, 24]
bl dmabounce_register_dev
.L2:
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size it8152_pci_platform_notify, .-it8152_pci_platform_notify
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_spa_log_spacemap.c_spa_log_sm_blocklimit.c"
.intel_syntax noprefix
.text
.globl spa_log_sm_blocklimit
.type spa_log_sm_blocklimit, @function
spa_log_sm_blocklimit:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size spa_log_sm_blocklimit, .-spa_log_sm_blocklimit
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_spa_log_spacemap.c_spa_log_sm_blocklimit.c"
.text
.align 2
.global spa_log_sm_blocklimit
.type spa_log_sm_blocklimit, %function
spa_log_sm_blocklimit:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size spa_log_sm_blocklimit, .-spa_log_sm_blocklimit
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_irq.c_cxl_irq_afu.c"
.intel_syntax noprefix
.text
.comm CXL_IRQ_RANGES,4,4
.comm IRQ_HANDLED,4,4
.section .rodata
.align 8
.LC0:
.string "Received AFU IRQ out of range for pe %i (virq %i hwirq %lx)\n"
.align 8
.LC1:
.string "Received AFU interrupt %i for pe: %i (virq %i hwirq %lx)\n"
.align 8
.LC2:
.string "Received AFU IRQ for context with no IRQ bitmap\n"
.text
.type cxl_irq_afu, @function
cxl_irq_afu:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov DWORD PTR -36[rbp], edi
mov QWORD PTR -48[rbp], rsi
mov rax, QWORD PTR -48[rbp]
mov QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -36[rbp]
mov edi, eax
call irq_get_irq_data@PLT
mov edi, eax
call irqd_to_hwirq@PLT
mov DWORD PTR -20[rbp], eax
mov DWORD PTR -28[rbp], 0
mov DWORD PTR -24[rbp], 0
jmp .L2
.L5:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 24[rax]
mov edx, DWORD PTR -24[rbp]
movsx rdx, edx
sal rdx, 2
add rax, rdx
mov eax, DWORD PTR [rax]
mov edx, DWORD PTR -20[rbp]
sub edx, eax
mov eax, edx
mov DWORD PTR -16[rbp], eax
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 32[rax]
mov edx, DWORD PTR -24[rbp]
movsx rdx, edx
sal rdx, 2
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -12[rbp], eax
cmp DWORD PTR -16[rbp], 0
js .L3
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -12[rbp]
jge .L3
mov eax, DWORD PTR -16[rbp]
add DWORD PTR -28[rbp], eax
jmp .L4
.L3:
mov eax, DWORD PTR -12[rbp]
add DWORD PTR -28[rbp], eax
add DWORD PTR -24[rbp], 1
.L2:
mov eax, DWORD PTR CXL_IRQ_RANGES[rip]
cmp DWORD PTR -24[rbp], eax
jl .L5
.L4:
mov eax, DWORD PTR CXL_IRQ_RANGES[rip]
cmp DWORD PTR -24[rbp], eax
setge al
movzx eax, al
mov edi, eax
call unlikely@PLT
test rax, rax
je .L6
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 16[rax]
mov ecx, DWORD PTR -20[rbp]
mov edx, DWORD PTR -36[rbp]
mov r8d, ecx
mov ecx, edx
mov edx, eax
lea rsi, .LC0[rip]
mov edi, 1
mov eax, 0
call WARN@PLT
mov eax, DWORD PTR IRQ_HANDLED[rip]
jmp .L7
.L6:
mov ecx, DWORD PTR -20[rbp]
mov edx, DWORD PTR -36[rbp]
mov esi, DWORD PTR -28[rbp]
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call trace_cxl_afu_irq@PLT
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR 16[rax]
mov esi, DWORD PTR -20[rbp]
mov ecx, DWORD PTR -36[rbp]
mov eax, DWORD PTR -28[rbp]
mov r8d, esi
mov esi, eax
lea rdi, .LC1[rip]
call pr_devel@PLT
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 12[rax]
test eax, eax
sete al
movzx eax, al
mov edi, eax
call unlikely@PLT
test rax, rax
je .L8
lea rsi, .LC2[rip]
mov edi, 1
mov eax, 0
call WARN@PLT
mov eax, DWORD PTR IRQ_HANDLED[rip]
jmp .L7
.L8:
mov rax, QWORD PTR -8[rbp]
add rax, 8
mov rdi, rax
call spin_lock@PLT
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 12[rax]
mov edx, DWORD PTR -28[rbp]
sub edx, 1
mov esi, eax
mov edi, edx
call set_bit@PLT
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], 1
mov rax, QWORD PTR -8[rbp]
add rax, 8
mov rdi, rax
call spin_unlock@PLT
mov rax, QWORD PTR -8[rbp]
add rax, 4
mov rdi, rax
call wake_up_all@PLT
mov eax, DWORD PTR IRQ_HANDLED[rip]
.L7:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size cxl_irq_afu, .-cxl_irq_afu
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_irq.c_cxl_irq_afu.c"
.text
.comm CXL_IRQ_RANGES,4,4
.comm IRQ_HANDLED,4,4
.section .rodata
.align 3
.LC0:
.string "Received AFU IRQ out of range for pe %i (virq %i hwirq %lx)\n"
.align 3
.LC1:
.string "Received AFU interrupt %i for pe: %i (virq %i hwirq %lx)\n"
.align 3
.LC2:
.string "Received AFU IRQ for context with no IRQ bitmap\n"
.text
.align 2
.type cxl_irq_afu, %function
cxl_irq_afu:
.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 x0, [sp, 16]
str x0, [sp, 56]
ldr w0, [sp, 28]
bl irq_get_irq_data
bl irqd_to_hwirq
str w0, [sp, 44]
str wzr, [sp, 36]
str wzr, [sp, 40]
b .L2
.L5:
ldr x0, [sp, 56]
ldr x1, [x0, 24]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 44]
sub w0, w1, w0
str w0, [sp, 48]
ldr x0, [sp, 56]
ldr x1, [x0, 32]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 52]
ldr w0, [sp, 48]
cmp w0, 0
blt .L3
ldr w1, [sp, 48]
ldr w0, [sp, 52]
cmp w1, w0
bge .L3
ldr w1, [sp, 36]
ldr w0, [sp, 48]
add w0, w1, w0
str w0, [sp, 36]
b .L4
.L3:
ldr w1, [sp, 36]
ldr w0, [sp, 52]
add w0, w1, w0
str w0, [sp, 36]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L2:
adrp x0, :got:CXL_IRQ_RANGES
ldr x0, [x0, #:got_lo12:CXL_IRQ_RANGES]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
blt .L5
.L4:
adrp x0, :got:CXL_IRQ_RANGES
ldr x0, [x0, #:got_lo12:CXL_IRQ_RANGES]
ldr w0, [x0]
ldr w1, [sp, 40]
cmp w1, w0
cset w0, ge
and w0, w0, 255
bl unlikely
cmp x0, 0
beq .L6
ldr x0, [sp, 56]
ldr w0, [x0, 16]
ldr w4, [sp, 44]
ldr w3, [sp, 28]
mov w2, w0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov w0, 1
bl WARN
adrp x0, :got:IRQ_HANDLED
ldr x0, [x0, #:got_lo12:IRQ_HANDLED]
ldr w0, [x0]
b .L7
.L6:
ldr w3, [sp, 44]
ldr w2, [sp, 28]
ldr w1, [sp, 36]
ldr x0, [sp, 56]
bl trace_cxl_afu_irq
ldr x0, [sp, 56]
ldr w0, [x0, 16]
ldr w4, [sp, 44]
ldr w3, [sp, 28]
mov w2, w0
ldr w1, [sp, 36]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl pr_devel
ldr x0, [sp, 56]
ldr w0, [x0, 12]
cmp w0, 0
cset w0, eq
and w0, w0, 255
bl unlikely
cmp x0, 0
beq .L8
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov w0, 1
bl WARN
adrp x0, :got:IRQ_HANDLED
ldr x0, [x0, #:got_lo12:IRQ_HANDLED]
ldr w0, [x0]
b .L7
.L8:
ldr x0, [sp, 56]
add x0, x0, 8
bl spin_lock
ldr w0, [sp, 36]
sub w2, w0, #1
ldr x0, [sp, 56]
ldr w0, [x0, 12]
mov w1, w0
mov w0, w2
bl set_bit
ldr x0, [sp, 56]
mov w1, 1
str w1, [x0]
ldr x0, [sp, 56]
add x0, x0, 8
bl spin_unlock
ldr x0, [sp, 56]
add x0, x0, 4
bl wake_up_all
adrp x0, :got:IRQ_HANDLED
ldr x0, [x0, #:got_lo12:IRQ_HANDLED]
ldr w0, [x0]
.L7:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size cxl_irq_afu, .-cxl_irq_afu
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_check.c_start_periodic_check_for_corruption.c"
.intel_syntax noprefix
.text
.comm bios_check_work,4,4
.comm corruption_check_period,8,8
.comm memory_corruption_check,4,4
.comm num_scan_areas,4,4
.section .rodata
.align 8
.LC0:
.string "Scanning for low memory corruption every %d seconds\n"
.text
.type start_periodic_check_for_corruption, @function
start_periodic_check_for_corruption:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR num_scan_areas[rip]
test eax, eax
je .L2
mov eax, DWORD PTR memory_corruption_check[rip]
test eax, eax
je .L2
mov rax, QWORD PTR corruption_check_period[rip]
test rax, rax
jne .L3
.L2:
mov eax, 0
jmp .L4
.L3:
mov rax, QWORD PTR corruption_check_period[rip]
mov rsi, rax
lea rdi, .LC0[rip]
call pr_info@PLT
mov esi, 0
lea rdi, bios_check_work[rip]
call schedule_delayed_work@PLT
mov eax, 0
.L4:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size start_periodic_check_for_corruption, .-start_periodic_check_for_corruption
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_check.c_start_periodic_check_for_corruption.c"
.text
.comm bios_check_work,4,4
.comm corruption_check_period,8,8
.comm memory_corruption_check,4,4
.comm num_scan_areas,4,4
.section .rodata
.align 3
.LC0:
.string "Scanning for low memory corruption every %d seconds\n"
.text
.align 2
.type start_periodic_check_for_corruption, %function
start_periodic_check_for_corruption:
.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, :got:num_scan_areas
ldr x0, [x0, #:got_lo12:num_scan_areas]
ldr w0, [x0]
cmp w0, 0
beq .L2
adrp x0, :got:memory_corruption_check
ldr x0, [x0, #:got_lo12:memory_corruption_check]
ldr w0, [x0]
cmp w0, 0
beq .L2
adrp x0, :got:corruption_check_period
ldr x0, [x0, #:got_lo12:corruption_check_period]
ldr x0, [x0]
cmp x0, 0
bne .L3
.L2:
mov w0, 0
b .L4
.L3:
adrp x0, :got:corruption_check_period
ldr x0, [x0, #:got_lo12:corruption_check_period]
ldr x0, [x0]
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl pr_info
mov w1, 0
adrp x0, :got:bios_check_work
ldr x0, [x0, #:got_lo12:bios_check_work]
bl schedule_delayed_work
mov w0, 0
.L4:
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size start_periodic_check_for_corruption, .-start_periodic_check_for_corruption
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_2274.c_socket_listen.c"
.intel_syntax noprefix
.text
.comm AF_INET,4,4
.comm INADDR_ANY,4,4
.comm SOCK_STREAM,4,4
.comm SOL_SOCKET,4,4
.comm SO_REUSEADDR,4,4
.section .rodata
.LC0:
.string "[X] socket() failed!\n"
.LC1:
.string "[X] setsockopt() failed!\n"
.LC2:
.string "[X] bind() failed\n"
.LC3:
.string "[X] listen() failed\n"
.text
.globl socket_listen
.type socket_listen, @function
socket_listen:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov eax, edi
mov WORD PTR -52[rbp], ax
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -40[rbp], 1
mov eax, DWORD PTR AF_INET[rip]
mov DWORD PTR -20[rbp], eax
movzx eax, WORD PTR -52[rbp]
mov edi, eax
call htons@PLT
mov DWORD PTR -24[rbp], eax
mov eax, DWORD PTR INADDR_ANY[rip]
mov DWORD PTR -28[rbp], eax
lea rax, -32[rbp]
mov esi, 8
mov rdi, rax
call bzero@PLT
mov ecx, DWORD PTR SOCK_STREAM[rip]
mov eax, DWORD PTR AF_INET[rip]
mov edx, 0
mov esi, ecx
mov edi, eax
call socket@PLT
mov DWORD PTR -36[rbp], eax
cmp DWORD PTR -36[rbp], 0
jns .L2
lea rdi, .LC0[rip]
call printf@PLT
mov edi, 1
call exit@PLT
.L2:
mov edx, DWORD PTR SO_REUSEADDR[rip]
mov esi, DWORD PTR SOL_SOCKET[rip]
lea rcx, -40[rbp]
mov eax, DWORD PTR -36[rbp]
mov r8d, 4
mov edi, eax
call setsockopt@PLT
test rax, rax
jns .L3
lea rdi, .LC1[rip]
call printf@PLT
mov edi, 1
call exit@PLT
.L3:
lea rcx, -32[rbp]
mov eax, DWORD PTR -36[rbp]
mov edx, 16
mov rsi, rcx
mov edi, eax
call bind@PLT
test rax, rax
jns .L4
lea rdi, .LC2[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L4:
mov eax, DWORD PTR -36[rbp]
mov esi, 1
mov edi, eax
call listen@PLT
test rax, rax
jns .L5
lea rdi, .LC3[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L5:
mov eax, DWORD PTR -36[rbp]
mov rdx, QWORD PTR -8[rbp]
xor rdx, QWORD PTR fs:40
je .L7
call __stack_chk_fail@PLT
.L7:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size socket_listen, .-socket_listen
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_2274.c_socket_listen.c"
.text
.comm AF_INET,4,4
.comm INADDR_ANY,4,4
.comm SOCK_STREAM,4,4
.comm SOL_SOCKET,4,4
.comm SO_REUSEADDR,4,4
.section .rodata
.align 3
.LC0:
.string "[X] socket() failed!\n"
.align 3
.LC1:
.string "[X] setsockopt() failed!\n"
.align 3
.LC2:
.string "[X] bind() failed\n"
.align 3
.LC3:
.string "[X] listen() failed\n"
.text
.align 2
.global socket_listen
.type socket_listen, %function
socket_listen:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
strh w0, [sp, 30]
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, 32]
adrp x0, :got:AF_INET
ldr x0, [x0, #:got_lo12:AF_INET]
ldr w0, [x0]
str w0, [sp, 52]
ldrh w0, [sp, 30]
bl htons
str w0, [sp, 48]
adrp x0, :got:INADDR_ANY
ldr x0, [x0, #:got_lo12:INADDR_ANY]
ldr w0, [x0]
str w0, [sp, 44]
add x0, sp, 40
mov w1, 8
bl bzero
adrp x0, :got:AF_INET
ldr x0, [x0, #:got_lo12:AF_INET]
ldr w3, [x0]
adrp x0, :got:SOCK_STREAM
ldr x0, [x0, #:got_lo12:SOCK_STREAM]
ldr w0, [x0]
mov w2, 0
mov w1, w0
mov w0, w3
bl socket
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
bge .L2
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 1
bl exit
.L2:
adrp x0, :got:SOL_SOCKET
ldr x0, [x0, #:got_lo12:SOL_SOCKET]
ldr w1, [x0]
adrp x0, :got:SO_REUSEADDR
ldr x0, [x0, #:got_lo12:SO_REUSEADDR]
ldr w0, [x0]
add x2, sp, 32
mov w4, 4
mov x3, x2
mov w2, w0
ldr w0, [sp, 36]
bl setsockopt
cmp x0, 0
bge .L3
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w0, 1
bl exit
.L3:
add x0, sp, 40
mov w2, 16
mov x1, x0
ldr w0, [sp, 36]
bl bind
cmp x0, 0
bge .L4
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl perror
mov w0, 1
bl exit
.L4:
mov w1, 1
ldr w0, [sp, 36]
bl listen
cmp x0, 0
bge .L5
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl perror
mov w0, 1
bl exit
.L5:
ldr w0, [sp, 36]
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x3, [x0]
subs x2, x2, x3
mov x3, 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
.LFE0:
.size socket_listen, .-socket_listen
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_hci_event.c_hci_remote_ext_features_evt.c"
.intel_syntax noprefix
.text
.comm BT_CONFIG,8,8
.comm BT_CONNECTED,8,8
.comm HCI_CONN_MGMT_CONNECTED,4,4
.comm HCI_CONN_SC_ENABLED,4,4
.comm HCI_CONN_SSP_ENABLED,4,4
.comm HCI_MAX_PAGES,8,8
.comm HCI_OP_REMOTE_NAME_REQ,4,4
.comm LMP_HOST_SC,4,4
.comm LMP_HOST_SSP,4,4
.section .rodata
.LC0:
.string "%s"
.text
.type hci_remote_ext_features_evt, @function
hci_remote_ext_features_evt:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -64[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -40[rbp], rax
mov rax, QWORD PTR -56[rbp]
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC0[rip]
call BT_DBG@PLT
mov rax, QWORD PTR -56[rbp]
mov rdi, rax
call hci_dev_lock@PLT
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR 20[rax]
mov edi, eax
call __le16_to_cpu@PLT
mov edx, eax
mov rax, QWORD PTR -56[rbp]
mov esi, edx
mov rdi, rax
call hci_conn_hash_lookup_handle@PLT
mov QWORD PTR -32[rbp], rax
cmp QWORD PTR -32[rbp], 0
je .L13
mov rax, QWORD PTR -40[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR HCI_MAX_PAGES[rip]
cmp rdx, rax
jnb .L4
mov rax, QWORD PTR -40[rbp]
mov rcx, QWORD PTR 8[rax]
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
sal rax, 2
add rax, rdx
mov eax, DWORD PTR [rax]
mov edx, 8
mov rsi, rcx
mov edi, eax
call memcpy@PLT
.L4:
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR 16[rax]
test eax, eax
jne .L5
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
cmp rax, 1
jne .L5
mov rax, QWORD PTR -32[rbp]
lea rdx, 12[rax]
mov rax, QWORD PTR -56[rbp]
mov rsi, rdx
mov rdi, rax
call hci_inquiry_cache_lookup@PLT
mov QWORD PTR -24[rbp], rax
cmp QWORD PTR -24[rbp], 0
je .L6
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 8[rax]
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR LMP_HOST_SSP[rip]
and edx, eax
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR [rax], edx
.L6:
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 8[rax]
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR LMP_HOST_SSP[rip]
and eax, edx
test eax, eax
je .L7
mov rax, QWORD PTR -32[rbp]
lea rdx, 8[rax]
mov eax, DWORD PTR HCI_CONN_SSP_ENABLED[rip]
mov rsi, rdx
mov edi, eax
call set_bit@PLT
jmp .L8
.L7:
mov rax, QWORD PTR -32[rbp]
lea rdx, 8[rax]
mov eax, DWORD PTR HCI_CONN_SSP_ENABLED[rip]
mov rsi, rdx
mov edi, eax
call clear_bit@PLT
.L8:
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 8[rax]
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR LMP_HOST_SC[rip]
and eax, edx
test eax, eax
je .L5
mov rax, QWORD PTR -32[rbp]
lea rdx, 8[rax]
mov eax, DWORD PTR HCI_CONN_SC_ENABLED[rip]
mov rsi, rdx
mov edi, eax
call set_bit@PLT
.L5:
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR BT_CONFIG[rip]
cmp rdx, rax
jne .L14
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR 16[rax]
test eax, eax
jne .L10
mov rax, QWORD PTR -32[rbp]
lea rdx, 8[rax]
mov eax, DWORD PTR HCI_CONN_MGMT_CONNECTED[rip]
mov rsi, rdx
mov edi, eax
call test_bit@PLT
test eax, eax
jne .L10
lea rax, -16[rbp]
mov edx, 8
mov esi, 0
mov rdi, rax
call memset@PLT
mov rax, QWORD PTR -32[rbp]
lea rdx, 12[rax]
lea rax, -16[rbp]
add rax, 4
mov rsi, rdx
mov rdi, rax
call bacpy@PLT
mov DWORD PTR -16[rbp], 2
mov esi, DWORD PTR HCI_OP_REMOTE_NAME_REQ[rip]
lea rdx, -16[rbp]
mov rax, QWORD PTR -56[rbp]
mov rcx, rdx
mov edx, 8
mov rdi, rax
call hci_send_cmd@PLT
jmp .L11
.L10:
mov rax, QWORD PTR -32[rbp]
lea rdx, 8[rax]
mov eax, DWORD PTR HCI_CONN_MGMT_CONNECTED[rip]
mov rsi, rdx
mov edi, eax
call test_and_set_bit@PLT
test eax, eax
jne .L11
mov rsi, QWORD PTR -32[rbp]
mov rax, QWORD PTR -56[rbp]
mov r8d, 0
mov ecx, 0
mov edx, 0
mov rdi, rax
call mgmt_device_connected@PLT
.L11:
mov rdx, QWORD PTR -32[rbp]
mov rax, QWORD PTR -56[rbp]
mov rsi, rdx
mov rdi, rax
call hci_outgoing_auth_needed@PLT
test eax, eax
jne .L15
mov rdx, QWORD PTR BT_CONNECTED[rip]
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -40[rbp]
mov edx, DWORD PTR 16[rax]
mov rax, QWORD PTR -32[rbp]
mov esi, edx
mov rdi, rax
call hci_connect_cfm@PLT
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call hci_conn_drop@PLT
jmp .L3
.L13:
nop
jmp .L3
.L14:
nop
jmp .L3
.L15:
nop
.L3:
mov rax, QWORD PTR -56[rbp]
mov rdi, rax
call hci_dev_unlock@PLT
nop
mov rax, QWORD PTR -8[rbp]
xor rax, QWORD PTR fs:40
je .L12
call __stack_chk_fail@PLT
.L12:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size hci_remote_ext_features_evt, .-hci_remote_ext_features_evt
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_hci_event.c_hci_remote_ext_features_evt.c"
.text
.comm BT_CONFIG,8,8
.comm BT_CONNECTED,8,8
.comm HCI_CONN_MGMT_CONNECTED,4,4
.comm HCI_CONN_SC_ENABLED,4,4
.comm HCI_CONN_SSP_ENABLED,4,4
.comm HCI_MAX_PAGES,8,8
.comm HCI_OP_REMOTE_NAME_REQ,4,4
.comm LMP_HOST_SC,4,4
.comm LMP_HOST_SSP,4,4
.section .rodata
.align 3
.LC0:
.string "%s"
.text
.align 2
.type hci_remote_ext_features_evt, %function
hci_remote_ext_features_evt:
.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 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
ldr x0, [sp, 16]
ldr x0, [x0]
str x0, [sp, 48]
ldr x0, [sp, 24]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl BT_DBG
ldr x0, [sp, 24]
bl hci_dev_lock
ldr x0, [sp, 48]
ldr w0, [x0, 20]
bl __le16_to_cpu
mov w1, w0
ldr x0, [sp, 24]
bl hci_conn_hash_lookup_handle
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L13
ldr x0, [sp, 48]
ldr x1, [x0]
adrp x0, :got:HCI_MAX_PAGES
ldr x0, [x0, #:got_lo12:HCI_MAX_PAGES]
ldr x0, [x0]
cmp x1, x0
bcs .L4
ldr x0, [sp, 56]
ldr x1, [x0, 16]
ldr x0, [sp, 48]
ldr x0, [x0]
lsl x0, x0, 2
add x0, x1, x0
ldr w3, [x0]
ldr x0, [sp, 48]
ldr x0, [x0, 8]
mov w2, 8
mov x1, x0
mov w0, w3
bl memcpy
.L4:
ldr x0, [sp, 48]
ldr w0, [x0, 16]
cmp w0, 0
bne .L5
ldr x0, [sp, 48]
ldr x0, [x0]
cmp x0, 1
bne .L5
ldr x0, [sp, 56]
add x0, x0, 12
mov x1, x0
ldr x0, [sp, 24]
bl hci_inquiry_cache_lookup
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
beq .L6
ldr x0, [sp, 48]
ldr x0, [x0, 8]
ldr w1, [x0]
adrp x0, :got:LMP_HOST_SSP
ldr x0, [x0, #:got_lo12:LMP_HOST_SSP]
ldr w0, [x0]
and w1, w1, w0
ldr x0, [sp, 64]
str w1, [x0]
.L6:
ldr x0, [sp, 48]
ldr x0, [x0, 8]
ldr w1, [x0]
adrp x0, :got:LMP_HOST_SSP
ldr x0, [x0, #:got_lo12:LMP_HOST_SSP]
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
beq .L7
adrp x0, :got:HCI_CONN_SSP_ENABLED
ldr x0, [x0, #:got_lo12:HCI_CONN_SSP_ENABLED]
ldr w2, [x0]
ldr x0, [sp, 56]
add x0, x0, 8
mov x1, x0
mov w0, w2
bl set_bit
b .L8
.L7:
adrp x0, :got:HCI_CONN_SSP_ENABLED
ldr x0, [x0, #:got_lo12:HCI_CONN_SSP_ENABLED]
ldr w2, [x0]
ldr x0, [sp, 56]
add x0, x0, 8
mov x1, x0
mov w0, w2
bl clear_bit
.L8:
ldr x0, [sp, 48]
ldr x0, [x0, 8]
ldr w1, [x0]
adrp x0, :got:LMP_HOST_SC
ldr x0, [x0, #:got_lo12:LMP_HOST_SC]
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
beq .L5
adrp x0, :got:HCI_CONN_SC_ENABLED
ldr x0, [x0, #:got_lo12:HCI_CONN_SC_ENABLED]
ldr w2, [x0]
ldr x0, [sp, 56]
add x0, x0, 8
mov x1, x0
mov w0, w2
bl set_bit
.L5:
ldr x0, [sp, 56]
ldr x1, [x0]
adrp x0, :got:BT_CONFIG
ldr x0, [x0, #:got_lo12:BT_CONFIG]
ldr x0, [x0]
cmp x1, x0
bne .L14
ldr x0, [sp, 48]
ldr w0, [x0, 16]
cmp w0, 0
bne .L10
adrp x0, :got:HCI_CONN_MGMT_CONNECTED
ldr x0, [x0, #:got_lo12:HCI_CONN_MGMT_CONNECTED]
ldr w2, [x0]
ldr x0, [sp, 56]
add x0, x0, 8
mov x1, x0
mov w0, w2
bl test_bit
cmp w0, 0
bne .L10
add x0, sp, 40
mov w2, 8
mov w1, 0
bl memset
ldr x0, [sp, 56]
add x1, x0, 12
add x0, sp, 40
add x0, x0, 4
bl bacpy
mov w0, 2
str w0, [sp, 40]
adrp x0, :got:HCI_OP_REMOTE_NAME_REQ
ldr x0, [x0, #:got_lo12:HCI_OP_REMOTE_NAME_REQ]
ldr w0, [x0]
add x1, sp, 40
mov x3, x1
mov w2, 8
mov w1, w0
ldr x0, [sp, 24]
bl hci_send_cmd
b .L11
.L10:
adrp x0, :got:HCI_CONN_MGMT_CONNECTED
ldr x0, [x0, #:got_lo12:HCI_CONN_MGMT_CONNECTED]
ldr w2, [x0]
ldr x0, [sp, 56]
add x0, x0, 8
mov x1, x0
mov w0, w2
bl test_and_set_bit
cmp w0, 0
bne .L11
mov w4, 0
mov x3, 0
mov w2, 0
ldr x1, [sp, 56]
ldr x0, [sp, 24]
bl mgmt_device_connected
.L11:
ldr x1, [sp, 56]
ldr x0, [sp, 24]
bl hci_outgoing_auth_needed
cmp w0, 0
bne .L15
adrp x0, :got:BT_CONNECTED
ldr x0, [x0, #:got_lo12:BT_CONNECTED]
ldr x1, [x0]
ldr x0, [sp, 56]
str x1, [x0]
ldr x0, [sp, 48]
ldr w0, [x0, 16]
mov w1, w0
ldr x0, [sp, 56]
bl hci_connect_cfm
ldr x0, [sp, 56]
bl hci_conn_drop
b .L3
.L13:
nop
b .L3
.L14:
nop
b .L3
.L15:
nop
.L3:
ldr x0, [sp, 24]
bl hci_dev_unlock
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [sp, 72]
ldr x2, [x0]
subs x1, x1, x2
mov x2, 0
beq .L12
bl __stack_chk_fail
.L12:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size hci_remote_ext_features_evt, .-hci_remote_ext_features_evt
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_client.c_ishtp_cl_send_msg_ipc.c"
.intel_syntax noprefix
.text
.comm CL_TX_PATH_DMA,8,8
.type ishtp_cl_send_msg_ipc, @function
ishtp_cl_send_msg_ipc:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR CL_TX_PATH_DMA[rip]
cmp rdx, rax
jne .L2
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L4
.L2:
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR 24[rax], 0
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call ipc_tx_callback@PLT
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR 16[rax]
lea edx, 1[rax]
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR 16[rax], edx
jmp .L1
.L4:
nop
.L1:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ishtp_cl_send_msg_ipc, .-ishtp_cl_send_msg_ipc
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_client.c_ishtp_cl_send_msg_ipc.c"
.text
.comm CL_TX_PATH_DMA,8,8
.align 2
.type ishtp_cl_send_msg_ipc, %function
ishtp_cl_send_msg_ipc:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 16]
ldr x1, [x0]
adrp x0, :got:CL_TX_PATH_DMA
ldr x0, [x0, #:got_lo12:CL_TX_PATH_DMA]
ldr x0, [x0]
cmp x1, x0
bne .L2
ldr x0, [sp, 16]
ldr x0, [x0, 8]
cmp x0, 0
beq .L4
.L2:
ldr x0, [sp, 16]
str xzr, [x0, 24]
ldr x0, [sp, 16]
bl ipc_tx_callback
ldr x0, [sp, 16]
ldr w0, [x0, 16]
add w1, w0, 1
ldr x0, [sp, 16]
str w1, [x0, 16]
b .L1
.L4:
nop
.L1:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ishtp_cl_send_msg_ipc, .-ishtp_cl_send_msg_ipc
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_ocs_hw.c_ocs_hw_node_detach.c"
.intel_syntax noprefix
.text
.comm FALSE,8,8
.comm OCS_CMD_NOWAIT,4,4
.comm OCS_HW_RTN_ERROR,8,8
.comm OCS_HW_RTN_NO_MEMORY,8,8
.comm OCS_HW_RTN_SUCCESS,8,8
.comm OCS_HW_RTN_SUCCESS_SYNC,8,8
.comm OCS_M_NOWAIT,4,4
.comm SLI4_BMBX_SIZE,4,4
.comm SLI_RSRC_FCOE_RPI,4,4
.comm TRUE,4,4
.comm UINT32_MAX,8,8
.comm ocs_hw_cb_node_free,4,4
.section .rodata
.align 8
.LC0:
.string "bad parameter(s) hw=%p rnode=%p\n"
.align 8
.LC1:
.string "Chip is in an error state - reset needed\n"
.LC2:
.string "no buffer for command\n"
.align 8
.LC3:
.string "Invalid count with HLM disabled, count=%d\n"
.LC4:
.string "UNREG_RPI failed\n"
.text
.globl ocs_hw_node_detach
.type ocs_hw_node_detach, @function
ocs_hw_node_detach:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov QWORD PTR -24[rbp], 0
mov rax, QWORD PTR OCS_HW_RTN_SUCCESS_SYNC[rip]
mov QWORD PTR -40[rbp], rax
mov rax, QWORD PTR UINT32_MAX[rip]
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -56[rbp], 0
je .L2
cmp QWORD PTR -64[rbp], 0
jne .L3
.L2:
mov rdx, QWORD PTR -64[rbp]
mov rax, QWORD PTR -56[rbp]
mov rcx, rdx
mov rdx, rax
lea rsi, .LC0[rip]
mov edi, 0
mov eax, 0
call ocs_log_err@PLT
mov rax, QWORD PTR OCS_HW_RTN_ERROR[rip]
jmp .L4
.L3:
mov rax, QWORD PTR -56[rbp]
add rax, 4
mov rdi, rax
call sli_fw_error_status@PLT
test rax, rax
jle .L5
mov rax, QWORD PTR -56[rbp]
mov eax, DWORD PTR [rax]
lea rsi, .LC1[rip]
mov edi, eax
call ocs_log_crit@PLT
mov rax, QWORD PTR OCS_HW_RTN_ERROR[rip]
jmp .L4
.L5:
mov rax, QWORD PTR -64[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -64[rbp]
mov rax, QWORD PTR 40[rax]
test rax, rax
je .L6
mov QWORD PTR -8[rbp], 0
mov rax, QWORD PTR -64[rbp]
mov eax, DWORD PTR 32[rax]
test eax, eax
jne .L7
mov rax, QWORD PTR OCS_HW_RTN_SUCCESS_SYNC[rip]
jmp .L4
.L7:
mov edx, DWORD PTR OCS_M_NOWAIT[rip]
mov ecx, DWORD PTR SLI4_BMBX_SIZE[rip]
mov rax, QWORD PTR -56[rbp]
mov eax, DWORD PTR [rax]
mov esi, ecx
mov edi, eax
call ocs_malloc@PLT
mov QWORD PTR -24[rbp], rax
cmp QWORD PTR -24[rbp], 0
jne .L8
mov rax, QWORD PTR -56[rbp]
mov eax, DWORD PTR [rax]
lea rsi, .LC2[rip]
mov edi, eax
mov eax, 0
call ocs_log_err@PLT
mov rax, QWORD PTR OCS_HW_RTN_NO_MEMORY[rip]
jmp .L4
.L8:
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR -16[rbp]
sal rdx, 2
add rax, rdx
mov esi, 1
mov rdi, rax
call ocs_atomic_sub_return@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 1
ja .L9
mov rax, QWORD PTR UINT32_MAX[rip]
mov QWORD PTR -32[rbp], rax
mov rdx, QWORD PTR FALSE[rip]
mov rax, QWORD PTR -64[rbp]
mov QWORD PTR 24[rax], rdx
mov edx, DWORD PTR TRUE[rip]
mov rax, QWORD PTR -64[rbp]
mov DWORD PTR 16[rax], edx
jmp .L10
.L9:
mov rax, QWORD PTR -56[rbp]
add rax, 4
mov rdi, rax
call sli_get_hlm@PLT
mov rdx, QWORD PTR FALSE[rip]
cmp rax, rdx
jne .L11
mov rax, QWORD PTR -56[rbp]
mov eax, DWORD PTR [rax]
mov rdx, QWORD PTR -8[rbp]
lea rsi, .LC3[rip]
mov edi, eax
call ocs_log_test@PLT
.L11:
mov rax, QWORD PTR -64[rbp]
mov eax, DWORD PTR 8[rax]
cdqe
and eax, 16777215
mov QWORD PTR -32[rbp], rax
.L10:
mov rax, QWORD PTR OCS_HW_RTN_ERROR[rip]
mov QWORD PTR -40[rbp], rax
mov esi, DWORD PTR SLI_RSRC_FCOE_RPI[rip]
mov rax, QWORD PTR -64[rbp]
mov ecx, DWORD PTR 12[rax]
mov edx, DWORD PTR SLI4_BMBX_SIZE[rip]
mov rax, QWORD PTR -56[rbp]
lea rdi, 4[rax]
mov r8, QWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov r9, r8
mov r8d, esi
mov rsi, rax
call sli_cmd_unreg_rpi@PLT
test rax, rax
je .L12
mov ecx, DWORD PTR ocs_hw_cb_node_free[rip]
mov edx, DWORD PTR OCS_CMD_NOWAIT[rip]
mov rdi, QWORD PTR -64[rbp]
mov rsi, QWORD PTR -24[rbp]
mov rax, QWORD PTR -56[rbp]
mov r8, rdi
mov rdi, rax
call ocs_hw_command@PLT
mov QWORD PTR -40[rbp], rax
.L12:
mov rax, QWORD PTR OCS_HW_RTN_SUCCESS[rip]
cmp QWORD PTR -40[rbp], rax
je .L6
mov rax, QWORD PTR -56[rbp]
mov eax, DWORD PTR [rax]
lea rsi, .LC4[rip]
mov edi, eax
mov eax, 0
call ocs_log_err@PLT
mov edx, DWORD PTR SLI4_BMBX_SIZE[rip]
mov rax, QWORD PTR -56[rbp]
mov eax, DWORD PTR [rax]
mov rcx, QWORD PTR -24[rbp]
mov rsi, rcx
mov edi, eax
call ocs_free@PLT
mov rax, QWORD PTR OCS_HW_RTN_ERROR[rip]
mov QWORD PTR -40[rbp], rax
.L6:
mov rax, QWORD PTR -40[rbp]
.L4:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ocs_hw_node_detach, .-ocs_hw_node_detach
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_ocs_hw.c_ocs_hw_node_detach.c"
.text
.comm FALSE,8,8
.comm OCS_CMD_NOWAIT,4,4
.comm OCS_HW_RTN_ERROR,8,8
.comm OCS_HW_RTN_NO_MEMORY,8,8
.comm OCS_HW_RTN_SUCCESS,8,8
.comm OCS_HW_RTN_SUCCESS_SYNC,8,8
.comm OCS_M_NOWAIT,4,4
.comm SLI4_BMBX_SIZE,4,4
.comm SLI_RSRC_FCOE_RPI,4,4
.comm TRUE,4,4
.comm UINT32_MAX,8,8
.comm ocs_hw_cb_node_free,4,4
.section .rodata
.align 3
.LC0:
.string "bad parameter(s) hw=%p rnode=%p\n"
.align 3
.LC1:
.string "Chip is in an error state - reset needed\n"
.align 3
.LC2:
.string "no buffer for command\n"
.align 3
.LC3:
.string "Invalid count with HLM disabled, count=%d\n"
.align 3
.LC4:
.string "UNREG_RPI failed\n"
.text
.align 2
.global ocs_hw_node_detach
.type ocs_hw_node_detach, %function
ocs_hw_node_detach:
.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 x0, [sp, 24]
str x1, [sp, 16]
str xzr, [sp, 56]
adrp x0, :got:OCS_HW_RTN_SUCCESS_SYNC
ldr x0, [x0, #:got_lo12:OCS_HW_RTN_SUCCESS_SYNC]
ldr x0, [x0]
str x0, [sp, 40]
adrp x0, :got:UINT32_MAX
ldr x0, [x0, #:got_lo12:UINT32_MAX]
ldr x0, [x0]
str x0, [sp, 64]
ldr x0, [sp, 24]
cmp x0, 0
beq .L2
ldr x0, [sp, 16]
cmp x0, 0
bne .L3
.L2:
ldr x3, [sp, 16]
ldr x2, [sp, 24]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov w0, 0
bl ocs_log_err
adrp x0, :got:OCS_HW_RTN_ERROR
ldr x0, [x0, #:got_lo12:OCS_HW_RTN_ERROR]
ldr x0, [x0]
b .L4
.L3:
ldr x0, [sp, 24]
add x0, x0, 4
bl sli_fw_error_status
cmp x0, 0
ble .L5
ldr x0, [sp, 24]
ldr w2, [x0]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov w0, w2
bl ocs_log_crit
adrp x0, :got:OCS_HW_RTN_ERROR
ldr x0, [x0, #:got_lo12:OCS_HW_RTN_ERROR]
ldr x0, [x0]
b .L4
.L5:
ldr x0, [sp, 16]
ldr x0, [x0]
str x0, [sp, 64]
ldr x0, [sp, 16]
ldr x0, [x0, 40]
cmp x0, 0
beq .L6
str xzr, [sp, 72]
ldr x0, [sp, 16]
ldr w0, [x0, 32]
cmp w0, 0
bne .L7
adrp x0, :got:OCS_HW_RTN_SUCCESS_SYNC
ldr x0, [x0, #:got_lo12:OCS_HW_RTN_SUCCESS_SYNC]
ldr x0, [x0]
b .L4
.L7:
ldr x0, [sp, 24]
ldr w3, [x0]
adrp x0, :got:SLI4_BMBX_SIZE
ldr x0, [x0, #:got_lo12:SLI4_BMBX_SIZE]
ldr w1, [x0]
adrp x0, :got:OCS_M_NOWAIT
ldr x0, [x0, #:got_lo12:OCS_M_NOWAIT]
ldr w0, [x0]
mov w2, w0
mov w0, w3
bl ocs_malloc
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L8
ldr x0, [sp, 24]
ldr w2, [x0]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov w0, w2
bl ocs_log_err
adrp x0, :got:OCS_HW_RTN_NO_MEMORY
ldr x0, [x0, #:got_lo12:OCS_HW_RTN_NO_MEMORY]
ldr x0, [x0]
b .L4
.L8:
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 64]
lsl x0, x0, 2
add x0, x1, x0
mov w1, 1
bl ocs_atomic_sub_return
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 1
bhi .L9
adrp x0, :got:UINT32_MAX
ldr x0, [x0, #:got_lo12:UINT32_MAX]
ldr x0, [x0]
str x0, [sp, 48]
adrp x0, :got:FALSE
ldr x0, [x0, #:got_lo12:FALSE]
ldr x1, [x0]
ldr x0, [sp, 16]
str x1, [x0, 24]
adrp x0, :got:TRUE
ldr x0, [x0, #:got_lo12:TRUE]
ldr w1, [x0]
ldr x0, [sp, 16]
str w1, [x0, 16]
b .L10
.L9:
ldr x0, [sp, 24]
add x0, x0, 4
bl sli_get_hlm
mov x1, x0
adrp x0, :got:FALSE
ldr x0, [x0, #:got_lo12:FALSE]
ldr x0, [x0]
cmp x1, x0
bne .L11
ldr x0, [sp, 24]
ldr w3, [x0]
ldr x2, [sp, 72]
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov w0, w3
bl ocs_log_test
.L11:
ldr x0, [sp, 16]
ldr w0, [x0, 8]
uxtw x0, w0
and x0, x0, 16777215
str x0, [sp, 48]
.L10:
adrp x0, :got:OCS_HW_RTN_ERROR
ldr x0, [x0, #:got_lo12:OCS_HW_RTN_ERROR]
ldr x0, [x0]
str x0, [sp, 40]
ldr x0, [sp, 24]
add x6, x0, 4
adrp x0, :got:SLI4_BMBX_SIZE
ldr x0, [x0, #:got_lo12:SLI4_BMBX_SIZE]
ldr w1, [x0]
ldr x0, [sp, 16]
ldr w2, [x0, 12]
adrp x0, :got:SLI_RSRC_FCOE_RPI
ldr x0, [x0, #:got_lo12:SLI_RSRC_FCOE_RPI]
ldr w0, [x0]
ldr x5, [sp, 48]
mov w4, w0
mov w3, w2
mov w2, w1
ldr x1, [sp, 56]
mov x0, x6
bl sli_cmd_unreg_rpi
cmp x0, 0
beq .L12
adrp x0, :got:OCS_CMD_NOWAIT
ldr x0, [x0, #:got_lo12:OCS_CMD_NOWAIT]
ldr w1, [x0]
adrp x0, :got:ocs_hw_cb_node_free
ldr x0, [x0, #:got_lo12:ocs_hw_cb_node_free]
ldr w0, [x0]
ldr x4, [sp, 16]
mov w3, w0
mov w2, w1
ldr x1, [sp, 56]
ldr x0, [sp, 24]
bl ocs_hw_command
str x0, [sp, 40]
.L12:
adrp x0, :got:OCS_HW_RTN_SUCCESS
ldr x0, [x0, #:got_lo12:OCS_HW_RTN_SUCCESS]
ldr x0, [x0]
ldr x1, [sp, 40]
cmp x1, x0
beq .L6
ldr x0, [sp, 24]
ldr w2, [x0]
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov w0, w2
bl ocs_log_err
ldr x0, [sp, 24]
ldr w3, [x0]
adrp x0, :got:SLI4_BMBX_SIZE
ldr x0, [x0, #:got_lo12:SLI4_BMBX_SIZE]
ldr w0, [x0]
mov w2, w0
ldr x1, [sp, 56]
mov w0, w3
bl ocs_free
adrp x0, :got:OCS_HW_RTN_ERROR
ldr x0, [x0, #:got_lo12:OCS_HW_RTN_ERROR]
ldr x0, [x0]
str x0, [sp, 40]
.L6:
ldr x0, [sp, 40]
.L4:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ocs_hw_node_detach, .-ocs_hw_node_detach
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_ice_sched.c_ice_sched_add_nodes_to_layer.c"
.intel_syntax noprefix
.text
.comm ICE_ERR_CFG,4,4
.comm ICE_ERR_PARAM,4,4
.type ice_sched_add_nodes_to_layer, @function
ice_sched_add_nodes_to_layer:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
add rsp, -128
mov QWORD PTR -72[rbp], rdi
mov QWORD PTR -80[rbp], rsi
mov QWORD PTR -88[rbp], rdx
mov QWORD PTR -96[rbp], rcx
mov QWORD PTR -104[rbp], r8
mov QWORD PTR -112[rbp], r9
mov rax, QWORD PTR 16[rbp]
mov QWORD PTR -120[rbp], rax
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -112[rbp]
mov QWORD PTR -40[rbp], rax
mov DWORD PTR -52[rbp], 0
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -48[rbp], 0
mov rax, QWORD PTR -120[rbp]
mov QWORD PTR [rax], 0
cmp QWORD PTR -104[rbp], 0
jne .L2
mov eax, DWORD PTR -52[rbp]
jmp .L11
.L2:
cmp QWORD PTR -88[rbp], 0
je .L4
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR [rax]
cmp QWORD PTR -96[rbp], rax
jge .L5
.L4:
mov eax, DWORD PTR ICE_ERR_PARAM[rip]
jmp .L11
.L5:
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -88[rbp]
mov rax, QWORD PTR [rax]
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -88[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -104[rbp]
add rax, rdx
cmp QWORD PTR -24[rbp], rax
jge .L6
mov rax, QWORD PTR -88[rbp]
cmp rax, QWORD PTR -80[rbp]
jne .L7
mov eax, DWORD PTR ICE_ERR_CFG[rip]
jmp .L11
.L7:
mov rax, QWORD PTR -88[rbp]
mov rax, QWORD PTR 8[rax]
cmp QWORD PTR -24[rbp], rax
jle .L8
mov rax, QWORD PTR -88[rbp]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR -24[rbp]
sub rdx, rax
mov rax, rdx
mov QWORD PTR -16[rbp], rax
mov r9, QWORD PTR -112[rbp]
mov r8, QWORD PTR -16[rbp]
mov rcx, QWORD PTR -96[rbp]
mov rdx, QWORD PTR -88[rbp]
mov rsi, QWORD PTR -80[rbp]
mov rax, QWORD PTR -72[rbp]
sub rsp, 8
lea rdi, -48[rbp]
push rdi
mov rdi, rax
call ice_sched_add_nodes_to_layer
add rsp, 16
mov DWORD PTR -52[rbp], eax
cmp DWORD PTR -52[rbp], 0
je .L9
mov eax, DWORD PTR -52[rbp]
jmp .L11
.L9:
mov rax, QWORD PTR -120[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -48[rbp]
add rdx, rax
mov rax, QWORD PTR -120[rbp]
mov QWORD PTR [rax], rdx
.L8:
mov rax, QWORD PTR -48[rbp]
test rax, rax
je .L10
lea rax, -56[rbp]
mov QWORD PTR -40[rbp], rax
.L10:
mov rax, QWORD PTR -48[rbp]
mov rdx, QWORD PTR -104[rbp]
sub rdx, rax
mov rax, rdx
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -88[rbp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR -88[rbp], rax
mov r9, QWORD PTR -40[rbp]
mov r8, QWORD PTR -16[rbp]
mov rcx, QWORD PTR -96[rbp]
mov rdx, QWORD PTR -88[rbp]
mov rsi, QWORD PTR -80[rbp]
mov rax, QWORD PTR -72[rbp]
sub rsp, 8
lea rdi, -48[rbp]
push rdi
mov rdi, rax
call ice_sched_add_nodes_to_layer
add rsp, 16
mov DWORD PTR -52[rbp], eax
mov rax, QWORD PTR -120[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -48[rbp]
add rdx, rax
mov rax, QWORD PTR -120[rbp]
mov QWORD PTR [rax], rdx
mov eax, DWORD PTR -52[rbp]
jmp .L11
.L6:
mov r8, QWORD PTR -120[rbp]
mov rdi, QWORD PTR -104[rbp]
mov rcx, QWORD PTR -96[rbp]
mov rdx, QWORD PTR -88[rbp]
mov rsi, QWORD PTR -80[rbp]
mov rax, QWORD PTR -72[rbp]
sub rsp, 8
push QWORD PTR -112[rbp]
mov r9, r8
mov r8, rdi
mov rdi, rax
call ice_sched_add_elems@PLT
add rsp, 16
mov DWORD PTR -52[rbp], eax
mov eax, DWORD PTR -52[rbp]
.L11:
mov rcx, QWORD PTR -8[rbp]
xor rcx, QWORD PTR fs:40
je .L12
call __stack_chk_fail@PLT
.L12:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ice_sched_add_nodes_to_layer, .-ice_sched_add_nodes_to_layer
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_ice_sched.c_ice_sched_add_nodes_to_layer.c"
.text
.comm ICE_ERR_CFG,4,4
.comm ICE_ERR_PARAM,4,4
.align 2
.type ice_sched_add_nodes_to_layer, %function
ice_sched_add_nodes_to_layer:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -144]!
.cfi_def_cfa_offset 144
.cfi_offset 29, -144
.cfi_offset 30, -136
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]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 136]
mov x1,0
ldr x0, [sp, 32]
str x0, [sp, 104]
str wzr, [sp, 92]
ldr x0, [sp, 72]
ldr x0, [x0]
str x0, [sp, 112]
str xzr, [sp, 96]
ldr x0, [sp, 24]
str xzr, [x0]
ldr x0, [sp, 40]
cmp x0, 0
bne .L2
ldr w0, [sp, 92]
b .L11
.L2:
ldr x0, [sp, 56]
cmp x0, 0
beq .L4
ldr x0, [sp, 112]
ldr x0, [x0]
ldr x1, [sp, 48]
cmp x1, x0
bge .L5
.L4:
adrp x0, :got:ICE_ERR_PARAM
ldr x0, [x0, #:got_lo12:ICE_ERR_PARAM]
ldr w0, [x0]
b .L11
.L5:
ldr x0, [sp, 112]
ldr x1, [x0, 8]
ldr x0, [sp, 56]
ldr x0, [x0]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
str x0, [sp, 120]
ldr x0, [sp, 56]
ldr x1, [x0, 8]
ldr x0, [sp, 40]
add x0, x1, x0
ldr x1, [sp, 120]
cmp x1, x0
bge .L6
ldr x1, [sp, 56]
ldr x0, [sp, 64]
cmp x1, x0
bne .L7
adrp x0, :got:ICE_ERR_CFG
ldr x0, [x0, #:got_lo12:ICE_ERR_CFG]
ldr w0, [x0]
b .L11
.L7:
ldr x0, [sp, 56]
ldr x0, [x0, 8]
ldr x1, [sp, 120]
cmp x1, x0
ble .L8
ldr x0, [sp, 56]
ldr x0, [x0, 8]
ldr x1, [sp, 120]
sub x0, x1, x0
str x0, [sp, 128]
add x0, sp, 96
mov x6, x0
ldr x5, [sp, 32]
ldr x4, [sp, 128]
ldr x3, [sp, 48]
ldr x2, [sp, 56]
ldr x1, [sp, 64]
ldr x0, [sp, 72]
bl ice_sched_add_nodes_to_layer
str w0, [sp, 92]
ldr w0, [sp, 92]
cmp w0, 0
beq .L9
ldr w0, [sp, 92]
b .L11
.L9:
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 96]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0]
.L8:
ldr x0, [sp, 96]
cmp x0, 0
beq .L10
add x0, sp, 88
str x0, [sp, 104]
.L10:
ldr x0, [sp, 96]
ldr x1, [sp, 40]
sub x0, x1, x0
str x0, [sp, 128]
ldr x0, [sp, 56]
ldr x0, [x0, 16]
str x0, [sp, 56]
add x0, sp, 96
mov x6, x0
ldr x5, [sp, 104]
ldr x4, [sp, 128]
ldr x3, [sp, 48]
ldr x2, [sp, 56]
ldr x1, [sp, 64]
ldr x0, [sp, 72]
bl ice_sched_add_nodes_to_layer
str w0, [sp, 92]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 96]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0]
ldr w0, [sp, 92]
b .L11
.L6:
ldr x6, [sp, 32]
ldr x5, [sp, 24]
ldr x4, [sp, 40]
ldr x3, [sp, 48]
ldr x2, [sp, 56]
ldr x1, [sp, 64]
ldr x0, [sp, 72]
bl ice_sched_add_elems
str w0, [sp, 92]
ldr w0, [sp, 92]
.L11:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 136]
ldr x3, [x0]
subs x2, x2, x3
mov x3, 0
beq .L12
bl __stack_chk_fail
.L12:
mov w0, w1
ldp x29, x30, [sp], 144
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ice_sched_add_nodes_to_layer, .-ice_sched_add_nodes_to_layer
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_io.c_snd_emu10k1_voice_set_loop_stop.c"
.intel_syntax noprefix
.text
.comm DATA,8,8
.comm PTR,8,8
.comm SOLEH,4,4
.comm SOLEL,4,4
.globl snd_emu10k1_voice_set_loop_stop
.type snd_emu10k1_voice_set_loop_stop, @function
snd_emu10k1_voice_set_loop_stop:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov rsi, rdx
mov rdi, rax
call spin_lock_irqsave@PLT
cmp DWORD PTR -28[rbp], 31
jbe .L2
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR PTR[rip]
add rax, rdx
mov edx, DWORD PTR SOLEH[rip]
sal edx, 16
mov rsi, rax
mov edi, edx
call outl@PLT
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR DATA[rip]
add rax, rdx
mov rdi, rax
call inl@PLT
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -28[rbp]
sub eax, 32
mov edx, 1
mov ecx, eax
sal edx, cl
mov eax, edx
or DWORD PTR -12[rbp], eax
jmp .L3
.L2:
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR PTR[rip]
add rax, rdx
mov edx, DWORD PTR SOLEL[rip]
sal edx, 16
mov rsi, rax
mov edi, edx
call outl@PLT
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR DATA[rip]
add rax, rdx
mov rdi, rax
call inl@PLT
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -28[rbp]
mov edx, 1
mov ecx, eax
sal edx, cl
mov eax, edx
or DWORD PTR -12[rbp], eax
.L3:
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR DATA[rip]
add rdx, rax
mov eax, DWORD PTR -12[rbp]
mov rsi, rdx
mov edi, eax
call outl@PLT
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov rsi, rdx
mov rdi, rax
call spin_unlock_irqrestore@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size snd_emu10k1_voice_set_loop_stop, .-snd_emu10k1_voice_set_loop_stop
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_io.c_snd_emu10k1_voice_set_loop_stop.c"
.text
.comm DATA,8,8
.comm PTR,8,8
.comm SOLEH,4,4
.comm SOLEL,4,4
.align 2
.global snd_emu10k1_voice_set_loop_stop
.type snd_emu10k1_voice_set_loop_stop, %function
snd_emu10k1_voice_set_loop_stop:
.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]
str w1, [sp, 20]
ldr x0, [sp, 24]
ldr x1, [sp, 40]
bl spin_lock_irqsave
ldr w0, [sp, 20]
cmp w0, 31
bls .L2
adrp x0, :got:SOLEH
ldr x0, [x0, #:got_lo12:SOLEH]
ldr w0, [x0]
lsl w0, w0, 16
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 8]
adrp x0, :got:PTR
ldr x0, [x0, #:got_lo12:PTR]
ldr x0, [x0]
add x0, x1, x0
mov x1, x0
mov w0, w2
bl outl
ldr x0, [sp, 24]
ldr x1, [x0, 8]
adrp x0, :got:DATA
ldr x0, [x0, #:got_lo12:DATA]
ldr x0, [x0]
add x0, x1, x0
bl inl
str w0, [sp, 36]
ldr w0, [sp, 20]
sub w0, w0, #32
mov w1, 1
lsl w0, w1, w0
mov w1, w0
ldr w0, [sp, 36]
orr w0, w0, w1
str w0, [sp, 36]
b .L3
.L2:
adrp x0, :got:SOLEL
ldr x0, [x0, #:got_lo12:SOLEL]
ldr w0, [x0]
lsl w0, w0, 16
mov w2, w0
ldr x0, [sp, 24]
ldr x1, [x0, 8]
adrp x0, :got:PTR
ldr x0, [x0, #:got_lo12:PTR]
ldr x0, [x0]
add x0, x1, x0
mov x1, x0
mov w0, w2
bl outl
ldr x0, [sp, 24]
ldr x1, [x0, 8]
adrp x0, :got:DATA
ldr x0, [x0, #:got_lo12:DATA]
ldr x0, [x0]
add x0, x1, x0
bl inl
str w0, [sp, 36]
ldr w0, [sp, 20]
mov w1, 1
lsl w0, w1, w0
mov w1, w0
ldr w0, [sp, 36]
orr w0, w0, w1
str w0, [sp, 36]
.L3:
ldr x0, [sp, 24]
ldr x1, [x0, 8]
adrp x0, :got:DATA
ldr x0, [x0, #:got_lo12:DATA]
ldr x0, [x0]
add x0, x1, x0
mov x1, x0
ldr w0, [sp, 36]
bl outl
ldr x0, [sp, 24]
ldr x1, [sp, 40]
bl spin_unlock_irqrestore
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size snd_emu10k1_voice_set_loop_stop, .-snd_emu10k1_voice_set_loop_stop
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_inno_rk3036.c_rk3036_codec_probe.c"
.intel_syntax noprefix
.text
.type rk3036_codec_probe, @function
rk3036_codec_probe:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call rk3036_codec_reset@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size rk3036_codec_probe, .-rk3036_codec_probe
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_inno_rk3036.c_rk3036_codec_probe.c"
.text
.align 2
.type rk3036_codec_probe, %function
rk3036_codec_probe:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl rk3036_codec_reset
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size rk3036_codec_probe, .-rk3036_codec_probe
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_interface_stream.c_intfstream_open.c"
.intel_syntax noprefix
.text
.globl intfstream_open
.type intfstream_open, @function
intfstream_open:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov DWORD PTR -20[rbp], edx
mov DWORD PTR -24[rbp], ecx
cmp QWORD PTR -8[rbp], 0
jne .L2
mov eax, 0
jmp .L3
.L2:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
cmp eax, 130
je .L4
cmp eax, 130
jg .L5
cmp eax, 128
je .L6
cmp eax, 129
jne .L5
mov edx, DWORD PTR -24[rbp]
mov ecx, DWORD PTR -20[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, ecx
mov rdi, rax
call filestream_open@PLT
mov rdx, QWORD PTR -8[rbp]
mov DWORD PTR 20[rdx], eax
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 20[rax]
test eax, eax
jne .L9
mov eax, 0
jmp .L3
.L6:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 16[rax]
mov edi, eax
call memstream_open@PLT
mov rdx, QWORD PTR -8[rbp]
mov DWORD PTR 12[rdx], eax
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 12[rax]
test eax, eax
jne .L10
mov eax, 0
jmp .L3
.L4:
mov eax, 0
jmp .L3
.L9:
nop
jmp .L5
.L10:
nop
.L5:
mov eax, 1
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size intfstream_open, .-intfstream_open
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_interface_stream.c_intfstream_open.c"
.text
.align 2
.global intfstream_open
.type intfstream_open, %function
intfstream_open:
.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 w2, [sp, 28]
str w3, [sp, 24]
ldr x0, [sp, 40]
cmp x0, 0
bne .L2
mov w0, 0
b .L3
.L2:
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 130
beq .L4
cmp w0, 130
bgt .L5
cmp w0, 128
beq .L6
cmp w0, 129
bne .L5
ldr w2, [sp, 24]
ldr w1, [sp, 28]
ldr x0, [sp, 32]
bl filestream_open
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 20]
ldr x0, [sp, 40]
ldr w0, [x0, 20]
cmp w0, 0
bne .L9
mov w0, 0
b .L3
.L6:
ldr x0, [sp, 40]
ldr w0, [x0, 16]
bl memstream_open
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 12]
ldr x0, [sp, 40]
ldr w0, [x0, 12]
cmp w0, 0
bne .L10
mov w0, 0
b .L3
.L4:
mov w0, 0
b .L3
.L9:
nop
b .L5
.L10:
nop
.L5:
mov w0, 1
.L3:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size intfstream_open, .-intfstream_open
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_xt_recent.c_recent_mt_destroy.c"
.intel_syntax noprefix
.text
.comm recent_lock,4,4
.comm recent_mutex,4,4
.type recent_mt_destroy, @function
recent_mt_destroy:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR 8[rax]
mov edi, eax
call recent_pernet@PLT
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
lea rdi, recent_mutex[rip]
call mutex_lock@PLT
mov rax, QWORD PTR -16[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov esi, edx
mov rdi, rax
call recent_table_lookup@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
lea rdx, -1[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
jne .L2
lea rdi, recent_lock[rip]
call spin_lock_bh@PLT
mov rax, QWORD PTR -8[rbp]
add rax, 12
mov rdi, rax
call list_del@PLT
lea rdi, recent_lock[rip]
call spin_unlock_bh@PLT
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call recent_table_flush@PLT
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call recent_table_free@PLT
.L2:
lea rdi, recent_mutex[rip]
call mutex_unlock@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size recent_mt_destroy, .-recent_mt_destroy
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_xt_recent.c_recent_mt_destroy.c"
.text
.comm recent_lock,4,4
.comm recent_mutex,4,4
.align 2
.type recent_mt_destroy, %function
recent_mt_destroy:
.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]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
bl recent_pernet
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr x0, [x0]
str x0, [sp, 48]
adrp x0, :got:recent_mutex
ldr x0, [x0, #:got_lo12:recent_mutex]
bl mutex_lock
ldr x0, [sp, 48]
ldr w0, [x0]
mov w1, w0
ldr x0, [sp, 40]
bl recent_table_lookup
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr x0, [x0]
sub x1, x0, #1
ldr x0, [sp, 56]
str x1, [x0]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
bne .L2
adrp x0, :got:recent_lock
ldr x0, [x0, #:got_lo12:recent_lock]
bl spin_lock_bh
ldr x0, [sp, 56]
add x0, x0, 12
bl list_del
adrp x0, :got:recent_lock
ldr x0, [x0, #:got_lo12:recent_lock]
bl spin_unlock_bh
ldr x0, [sp, 56]
bl recent_table_flush
ldr x0, [sp, 56]
bl recent_table_free
.L2:
adrp x0, :got:recent_mutex
ldr x0, [x0, #:got_lo12:recent_mutex]
bl mutex_unlock
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size recent_mt_destroy, .-recent_mt_destroy
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_dm_local.c_dmlab_update_inventory.c"
.intel_syntax noprefix
.text
.comm DEEPMIND_UPDATE_INVENTORY,4,4
.globl dmlab_update_inventory
.type dmlab_update_inventory, @function
dmlab_update_inventory:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov DWORD PTR -12[rbp], esi
mov rsi, QWORD PTR -8[rbp]
mov eax, DWORD PTR DEEPMIND_UPDATE_INVENTORY[rip]
mov edx, DWORD PTR -12[rbp]
sub rsp, 8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov r9d, 0
mov r8d, 0
mov ecx, 0
mov edi, eax
call trap_DeepmindCallback@PLT
add rsp, 64
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size dmlab_update_inventory, .-dmlab_update_inventory
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_dm_local.c_dmlab_update_inventory.c"
.text
.comm DEEPMIND_UPDATE_INVENTORY,4,4
.align 2
.global dmlab_update_inventory
.type dmlab_update_inventory, %function
dmlab_update_inventory:
.LFB0:
.cfi_startproc
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, 48]
.cfi_offset 29, -32
.cfi_offset 30, -24
add x29, sp, 48
str x0, [sp, 72]
str w1, [sp, 68]
adrp x0, :got:DEEPMIND_UPDATE_INVENTORY
ldr x0, [x0, #:got_lo12:DEEPMIND_UPDATE_INVENTORY]
ldr w0, [x0]
ldr x1, [sp, 72]
str wzr, [sp, 32]
str wzr, [sp, 24]
str wzr, [sp, 16]
str wzr, [sp, 8]
str wzr, [sp]
mov w7, 0
mov w6, 0
mov w5, 0
mov w4, 0
mov w3, 0
ldr w2, [sp, 68]
bl trap_DeepmindCallback
nop
ldp x29, x30, [sp, 48]
add sp, sp, 80
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size dmlab_update_inventory, .-dmlab_update_inventory
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_opclasscmds.c_OpFamilyCacheLookup.c"
.intel_syntax noprefix
.text
.comm AMOID,4,4
.comm ERRCODE_UNDEFINED_OBJECT,4,4
.comm ERROR,4,4
.comm OPFAMILYAMNAMENSP,4,4
.comm OPFAMILYOID,4,4
.section .rodata
.align 8
.LC0:
.string "cache lookup failed for access method %u"
.align 8
.LC1:
.string "operator family \"%s\" does not exist for access method \"%s\""
.text
.type OpFamilyCacheLookup, @function
OpFamilyCacheLookup:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push r12
push rbx
sub rsp, 64
.cfi_offset 12, -24
.cfi_offset 3, -32
mov DWORD PTR -68[rbp], edi
mov QWORD PTR -80[rbp], rsi
mov DWORD PTR -72[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
lea rdx, -48[rbp]
lea rcx, -56[rbp]
mov rax, QWORD PTR -80[rbp]
mov rsi, rcx
mov rdi, rax
call DeconstructQualifiedName@PLT
mov rax, QWORD PTR -56[rbp]
test rax, rax
je .L2
mov rax, QWORD PTR -56[rbp]
mov edx, DWORD PTR -72[rbp]
mov esi, edx
mov rdi, rax
call LookupExplicitNamespace@PLT
mov DWORD PTR -60[rbp], eax
mov eax, DWORD PTR -60[rbp]
mov edi, eax
call OidIsValid@PLT
test eax, eax
jne .L3
mov QWORD PTR -40[rbp], 0
jmp .L4
.L3:
mov eax, DWORD PTR -60[rbp]
mov edi, eax
call ObjectIdGetDatum@PLT
mov r12d, eax
mov rax, QWORD PTR -48[rbp]
mov rdi, rax
call PointerGetDatum@PLT
mov ebx, eax
mov eax, DWORD PTR -68[rbp]
mov edi, eax
call ObjectIdGetDatum@PLT
mov esi, eax
mov eax, DWORD PTR OPFAMILYAMNAMENSP[rip]
mov ecx, r12d
mov edx, ebx
mov edi, eax
call SearchSysCache3@PLT
mov QWORD PTR -40[rbp], rax
jmp .L4
.L2:
mov rdx, QWORD PTR -48[rbp]
mov eax, DWORD PTR -68[rbp]
mov rsi, rdx
mov edi, eax
call OpfamilynameGetOpfid@PLT
mov DWORD PTR -64[rbp], eax
mov eax, DWORD PTR -64[rbp]
mov edi, eax
call OidIsValid@PLT
test eax, eax
jne .L5
mov QWORD PTR -40[rbp], 0
jmp .L4
.L5:
mov eax, DWORD PTR -64[rbp]
mov edi, eax
call ObjectIdGetDatum@PLT
mov edx, eax
mov eax, DWORD PTR OPFAMILYOID[rip]
mov esi, edx
mov edi, eax
call SearchSysCache1@PLT
mov QWORD PTR -40[rbp], rax
.L4:
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call HeapTupleIsValid@PLT
test eax, eax
jne .L6
cmp DWORD PTR -72[rbp], 0
jne .L6
mov eax, DWORD PTR -68[rbp]
mov edi, eax
call ObjectIdGetDatum@PLT
mov edx, eax
mov eax, DWORD PTR AMOID[rip]
mov esi, edx
mov edi, eax
call SearchSysCache1@PLT
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call HeapTupleIsValid@PLT
test eax, eax
jne .L7
mov eax, DWORD PTR ERROR[rip]
mov edx, DWORD PTR -68[rbp]
lea rsi, .LC0[rip]
mov edi, eax
call elog@PLT
.L7:
mov eax, DWORD PTR ERRCODE_UNDEFINED_OBJECT[rip]
mov edi, eax
call errcode@PLT
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call GETSTRUCT@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call NameStr@PLT
mov ebx, eax
mov rax, QWORD PTR -80[rbp]
mov rdi, rax
call NameListToString@PLT
mov edx, ebx
mov esi, eax
lea rdi, .LC1[rip]
call errmsg@PLT
mov edx, eax
mov eax, DWORD PTR ERROR[rip]
mov esi, edx
mov edi, eax
call ereport@PLT
.L6:
mov rax, QWORD PTR -40[rbp]
mov rcx, QWORD PTR -24[rbp]
xor rcx, QWORD PTR fs:40
je .L9
call __stack_chk_fail@PLT
.L9:
add rsp, 64
pop rbx
pop r12
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size OpFamilyCacheLookup, .-OpFamilyCacheLookup
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_opclasscmds.c_OpFamilyCacheLookup.c"
.text
.comm AMOID,4,4
.comm ERRCODE_UNDEFINED_OBJECT,4,4
.comm ERROR,4,4
.comm OPFAMILYAMNAMENSP,4,4
.comm OPFAMILYOID,4,4
.section .rodata
.align 3
.LC0:
.string "cache lookup failed for access method %u"
.align 3
.LC1:
.string "operator family \"%s\" does not exist for access method \"%s\""
.text
.align 2
.type OpFamilyCacheLookup, %function
OpFamilyCacheLookup:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
stp x19, x20, [sp, 16]
str x21, [sp, 32]
.cfi_offset 19, -96
.cfi_offset 20, -88
.cfi_offset 21, -80
str w0, [sp, 60]
str x1, [sp, 48]
str w2, [sp, 56]
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 x1, sp, 80
add x0, sp, 72
mov x2, x1
mov x1, x0
ldr x0, [sp, 48]
bl DeconstructQualifiedName
ldr x0, [sp, 72]
cmp x0, 0
beq .L2
ldr x0, [sp, 72]
ldr w1, [sp, 56]
bl LookupExplicitNamespace
str w0, [sp, 68]
ldr w0, [sp, 68]
bl OidIsValid
cmp w0, 0
bne .L3
str xzr, [sp, 88]
b .L4
.L3:
adrp x0, :got:OPFAMILYAMNAMENSP
ldr x0, [x0, #:got_lo12:OPFAMILYAMNAMENSP]
ldr w19, [x0]
ldr w0, [sp, 60]
bl ObjectIdGetDatum
mov w20, w0
ldr x0, [sp, 80]
bl PointerGetDatum
mov w21, w0
ldr w0, [sp, 68]
bl ObjectIdGetDatum
mov w3, w0
mov w2, w21
mov w1, w20
mov w0, w19
bl SearchSysCache3
str x0, [sp, 88]
b .L4
.L2:
ldr x0, [sp, 80]
mov x1, x0
ldr w0, [sp, 60]
bl OpfamilynameGetOpfid
str w0, [sp, 64]
ldr w0, [sp, 64]
bl OidIsValid
cmp w0, 0
bne .L5
str xzr, [sp, 88]
b .L4
.L5:
adrp x0, :got:OPFAMILYOID
ldr x0, [x0, #:got_lo12:OPFAMILYOID]
ldr w19, [x0]
ldr w0, [sp, 64]
bl ObjectIdGetDatum
mov w1, w0
mov w0, w19
bl SearchSysCache1
str x0, [sp, 88]
.L4:
ldr x0, [sp, 88]
bl HeapTupleIsValid
cmp w0, 0
bne .L6
ldr w0, [sp, 56]
cmp w0, 0
bne .L6
adrp x0, :got:AMOID
ldr x0, [x0, #:got_lo12:AMOID]
ldr w19, [x0]
ldr w0, [sp, 60]
bl ObjectIdGetDatum
mov w1, w0
mov w0, w19
bl SearchSysCache1
str x0, [sp, 96]
ldr x0, [sp, 96]
bl HeapTupleIsValid
cmp w0, 0
bne .L7
adrp x0, :got:ERROR
ldr x0, [x0, #:got_lo12:ERROR]
ldr w3, [x0]
ldr w2, [sp, 60]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov w0, w3
bl elog
.L7:
adrp x0, :got:ERROR
ldr x0, [x0, #:got_lo12:ERROR]
ldr w19, [x0]
adrp x0, :got:ERRCODE_UNDEFINED_OBJECT
ldr x0, [x0, #:got_lo12:ERRCODE_UNDEFINED_OBJECT]
ldr w0, [x0]
bl errcode
ldr x0, [sp, 48]
bl NameListToString
mov w20, w0
ldr x0, [sp, 96]
bl GETSTRUCT
ldr w0, [x0]
bl NameStr
mov w2, w0
mov w1, w20
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl errmsg
mov w1, w0
mov w0, w19
bl ereport
.L6:
ldr x0, [sp, 88]
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 104]
ldr x3, [x0]
subs x2, x2, x3
mov x3, 0
beq .L9
bl __stack_chk_fail
.L9:
mov x0, x1
ldp x19, x20, [sp, 16]
ldr x21, [sp, 32]
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_restore 21
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size OpFamilyCacheLookup, .-OpFamilyCacheLookup
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_route.c_rt_free.c"
.intel_syntax noprefix
.text
.comm dst_rcu_free,4,4
.type rt_free, @function
rt_free:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov edx, DWORD PTR dst_rcu_free[rip]
mov rax, QWORD PTR -8[rbp]
mov esi, edx
mov rdi, rax
call call_rcu_bh@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size rt_free, .-rt_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_route.c_rt_free.c"
.text
.comm dst_rcu_free,4,4
.align 2
.type rt_free, %function
rt_free:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x2, [sp, 24]
adrp x0, :got:dst_rcu_free
ldr x0, [x0, #:got_lo12:dst_rcu_free]
ldr w0, [x0]
mov w1, w0
mov x0, x2
bl call_rcu_bh
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size rt_free, .-rt_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_..inlined.h_read_single_signed_number_file.c"
.intel_syntax noprefix
.text
.type read_single_signed_number_file, @function
read_single_signed_number_file:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 80
mov QWORD PTR -72[rbp], rdi
mov QWORD PTR -80[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rcx, -48[rbp]
mov rax, QWORD PTR -72[rbp]
mov edx, 30
mov rsi, rcx
mov rdi, rax
call read_file@PLT
mov DWORD PTR -52[rbp], eax
mov eax, DWORD PTR -52[rbp]
mov edi, eax
call unlikely@PLT
test rax, rax
je .L2
mov rax, QWORD PTR -80[rbp]
mov QWORD PTR [rax], 0
mov eax, DWORD PTR -52[rbp]
jmp .L4
.L2:
mov BYTE PTR -18[rbp], 0
lea rax, -48[rbp]
mov rdi, rax
call atoll@PLT
mov rdx, QWORD PTR -80[rbp]
mov QWORD PTR [rdx], rax
mov eax, 0
.L4:
mov rcx, QWORD PTR -8[rbp]
xor rcx, QWORD PTR fs:40
je .L5
call __stack_chk_fail@PLT
.L5:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size read_single_signed_number_file, .-read_single_signed_number_file
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_..inlined.h_read_single_signed_number_file.c"
.text
.align 2
.type read_single_signed_number_file, %function
read_single_signed_number_file:
.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 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
add x0, sp, 40
mov w2, 30
mov x1, x0
ldr x0, [sp, 24]
bl read_file
str w0, [sp, 36]
ldr w0, [sp, 36]
bl unlikely
cmp x0, 0
beq .L2
ldr x0, [sp, 16]
str xzr, [x0]
ldr w0, [sp, 36]
b .L4
.L2:
strb wzr, [sp, 70]
add x0, sp, 40
bl atoll
mov x1, x0
ldr x0, [sp, 16]
str x1, [x0]
mov w0, 0
.L4:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 72]
ldr x3, [x0]
subs x2, x2, x3
mov x3, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size read_single_signed_number_file, .-read_single_signed_number_file
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_rtl8367.c_rtl8367_sw_get_port_link.c"
.intel_syntax noprefix
.text
.comm EINVAL,4,4
.comm RTL8367_NUM_PORTS,4,4
.comm RTL8367_PORT_STATUS_DUPLEX,4,4
.comm RTL8367_PORT_STATUS_LINK,4,4
.comm RTL8367_PORT_STATUS_NWAY,4,4
.comm RTL8367_PORT_STATUS_RXPAUSE,4,4
.comm RTL8367_PORT_STATUS_SPEED_MASK,4,4
.comm RTL8367_PORT_STATUS_TXPAUSE,4,4
.comm SWITCH_PORT_SPEED_10,4,4
.comm SWITCH_PORT_SPEED_100,4,4
.comm SWITCH_PORT_SPEED_1000,4,4
.comm SWITCH_PORT_SPEED_UNKNOWN,4,4
.type rtl8367_sw_get_port_link, @function
rtl8367_sw_get_port_link:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov QWORD PTR -40[rbp], rdi
mov DWORD PTR -44[rbp], esi
mov QWORD PTR -56[rbp], rdx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call sw_to_rtl8366_smi@PLT
mov QWORD PTR -16[rbp], rax
mov DWORD PTR -24[rbp], 0
mov eax, DWORD PTR RTL8367_NUM_PORTS[rip]
cmp DWORD PTR -44[rbp], eax
jl .L2
mov eax, DWORD PTR EINVAL[rip]
neg eax
jmp .L10
.L2:
mov eax, DWORD PTR -44[rbp]
mov edi, eax
call RTL8367_PORT_STATUS_REG@PLT
mov ecx, eax
lea rdx, -24[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, ecx
mov rdi, rax
call rtl8366_smi_read_reg@PLT
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR RTL8367_PORT_STATUS_LINK[rip]
and eax, edx
test eax, eax
setne al
movzx edx, al
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -56[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
jne .L4
mov eax, 0
jmp .L10
.L4:
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR RTL8367_PORT_STATUS_DUPLEX[rip]
and eax, edx
test eax, eax
setne al
movzx edx, al
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 4[rax], edx
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR RTL8367_PORT_STATUS_RXPAUSE[rip]
and eax, edx
test eax, eax
setne al
movzx edx, al
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 8[rax], edx
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR RTL8367_PORT_STATUS_TXPAUSE[rip]
and eax, edx
test eax, eax
setne al
movzx edx, al
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 12[rax], edx
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR RTL8367_PORT_STATUS_NWAY[rip]
and eax, edx
test eax, eax
setne al
movzx edx, al
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 16[rax], edx
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR RTL8367_PORT_STATUS_SPEED_MASK[rip]
and eax, edx
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 2
je .L5
cmp DWORD PTR -20[rbp], 2
jg .L6
cmp DWORD PTR -20[rbp], 0
je .L7
cmp DWORD PTR -20[rbp], 1
je .L8
jmp .L6
.L7:
mov edx, DWORD PTR SWITCH_PORT_SPEED_10[rip]
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 20[rax], edx
jmp .L9
.L8:
mov edx, DWORD PTR SWITCH_PORT_SPEED_100[rip]
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 20[rax], edx
jmp .L9
.L5:
mov edx, DWORD PTR SWITCH_PORT_SPEED_1000[rip]
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 20[rax], edx
jmp .L9
.L6:
mov edx, DWORD PTR SWITCH_PORT_SPEED_UNKNOWN[rip]
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 20[rax], edx
nop
.L9:
mov eax, 0
.L10:
mov rcx, QWORD PTR -8[rbp]
xor rcx, QWORD PTR fs:40
je .L11
call __stack_chk_fail@PLT
.L11:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size rtl8367_sw_get_port_link, .-rtl8367_sw_get_port_link
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_rtl8367.c_rtl8367_sw_get_port_link.c"
.text
.comm EINVAL,4,4
.comm RTL8367_NUM_PORTS,4,4
.comm RTL8367_PORT_STATUS_DUPLEX,4,4
.comm RTL8367_PORT_STATUS_LINK,4,4
.comm RTL8367_PORT_STATUS_NWAY,4,4
.comm RTL8367_PORT_STATUS_RXPAUSE,4,4
.comm RTL8367_PORT_STATUS_SPEED_MASK,4,4
.comm RTL8367_PORT_STATUS_TXPAUSE,4,4
.comm SWITCH_PORT_SPEED_10,4,4
.comm SWITCH_PORT_SPEED_100,4,4
.comm SWITCH_PORT_SPEED_1000,4,4
.comm SWITCH_PORT_SPEED_UNKNOWN,4,4
.align 2
.type rtl8367_sw_get_port_link, %function
rtl8367_sw_get_port_link:
.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 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, 72]
mov x1,0
ldr x0, [sp, 40]
bl sw_to_rtl8366_smi
str x0, [sp, 64]
str wzr, [sp, 56]
adrp x0, :got:RTL8367_NUM_PORTS
ldr x0, [x0, #:got_lo12:RTL8367_NUM_PORTS]
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
blt .L2
adrp x0, :got:EINVAL
ldr x0, [x0, #:got_lo12:EINVAL]
ldr w0, [x0]
neg w0, w0
b .L10
.L2:
ldr w0, [sp, 36]
bl RTL8367_PORT_STATUS_REG
mov w1, w0
add x0, sp, 56
mov x2, x0
ldr x0, [sp, 64]
bl rtl8366_smi_read_reg
ldr w1, [sp, 56]
adrp x0, :got:RTL8367_PORT_STATUS_LINK
ldr x0, [x0, #:got_lo12:RTL8367_PORT_STATUS_LINK]
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 0
bne .L4
mov w0, 0
b .L10
.L4:
ldr w1, [sp, 56]
adrp x0, :got:RTL8367_PORT_STATUS_DUPLEX
ldr x0, [x0, #:got_lo12:RTL8367_PORT_STATUS_DUPLEX]
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 4]
ldr w1, [sp, 56]
adrp x0, :got:RTL8367_PORT_STATUS_RXPAUSE
ldr x0, [x0, #:got_lo12:RTL8367_PORT_STATUS_RXPAUSE]
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 8]
ldr w1, [sp, 56]
adrp x0, :got:RTL8367_PORT_STATUS_TXPAUSE
ldr x0, [x0, #:got_lo12:RTL8367_PORT_STATUS_TXPAUSE]
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 12]
ldr w1, [sp, 56]
adrp x0, :got:RTL8367_PORT_STATUS_NWAY
ldr x0, [x0, #:got_lo12:RTL8367_PORT_STATUS_NWAY]
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 16]
ldr w1, [sp, 56]
adrp x0, :got:RTL8367_PORT_STATUS_SPEED_MASK
ldr x0, [x0, #:got_lo12:RTL8367_PORT_STATUS_SPEED_MASK]
ldr w0, [x0]
and w0, w1, w0
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 2
beq .L5
ldr w0, [sp, 60]
cmp w0, 2
bgt .L6
ldr w0, [sp, 60]
cmp w0, 0
beq .L7
ldr w0, [sp, 60]
cmp w0, 1
beq .L8
b .L6
.L7:
adrp x0, :got:SWITCH_PORT_SPEED_10
ldr x0, [x0, #:got_lo12:SWITCH_PORT_SPEED_10]
ldr w1, [x0]
ldr x0, [sp, 24]
str w1, [x0, 20]
b .L9
.L8:
adrp x0, :got:SWITCH_PORT_SPEED_100
ldr x0, [x0, #:got_lo12:SWITCH_PORT_SPEED_100]
ldr w1, [x0]
ldr x0, [sp, 24]
str w1, [x0, 20]
b .L9
.L5:
adrp x0, :got:SWITCH_PORT_SPEED_1000
ldr x0, [x0, #:got_lo12:SWITCH_PORT_SPEED_1000]
ldr w1, [x0]
ldr x0, [sp, 24]
str w1, [x0, 20]
b .L9
.L6:
adrp x0, :got:SWITCH_PORT_SPEED_UNKNOWN
ldr x0, [x0, #:got_lo12:SWITCH_PORT_SPEED_UNKNOWN]
ldr w1, [x0]
ldr x0, [sp, 24]
str w1, [x0, 20]
nop
.L9:
mov w0, 0
.L10:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 72]
ldr x3, [x0]
subs x2, x2, x3
mov x3, 0
beq .L11
bl __stack_chk_fail
.L11:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size rtl8367_sw_get_port_link, .-rtl8367_sw_get_port_link
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_tidpool.c_taosFreeId.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "lock pIdPool Mutex"
.LC1:
.string "unlock pIdPool Mutex"
.text
.globl taosFreeId
.type taosFreeId, @function
taosFreeId:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L8
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 8[rax]
test eax, eax
je .L8
cmp DWORD PTR -28[rbp], 0
jle .L9
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 8[rax]
cmp DWORD PTR -28[rbp], eax
jge .L9
mov rax, QWORD PTR -8[rbp]
add rax, 20
mov rdi, rax
call pthread_mutex_lock@PLT
test rax, rax
je .L7
lea rdi, .LC0[rip]
call perror@PLT
.L7:
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR 12[rax]
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 16[rax]
add edx, eax
mov rax, QWORD PTR -8[rbp]
mov ecx, DWORD PTR 8[rax]
mov eax, edx
cdq
idiv ecx
mov DWORD PTR -12[rbp], edx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov edx, DWORD PTR -12[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rax
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR [rdx], eax
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 16[rax]
lea edx, 1[rax]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 16[rax], edx
mov rax, QWORD PTR -8[rbp]
add rax, 20
mov rdi, rax
call pthread_mutex_unlock@PLT
test rax, rax
je .L1
lea rdi, .LC1[rip]
call perror@PLT
jmp .L1
.L8:
nop
jmp .L1
.L9:
nop
.L1:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size taosFreeId, .-taosFreeId
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_tidpool.c_taosFreeId.c"
.text
.section .rodata
.align 3
.LC0:
.string "lock pIdPool Mutex"
.align 3
.LC1:
.string "unlock pIdPool Mutex"
.text
.align 2
.global taosFreeId
.type taosFreeId, %function
taosFreeId:
.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]
str w1, [sp, 20]
ldr x0, [sp, 24]
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr x0, [x0]
cmp x0, 0
beq .L8
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 0
beq .L8
ldr w0, [sp, 20]
cmp w0, 0
ble .L9
ldr x0, [sp, 40]
ldr w0, [x0, 8]
ldr w1, [sp, 20]
cmp w1, w0
bge .L9
ldr x0, [sp, 40]
add x0, x0, 20
bl pthread_mutex_lock
cmp x0, 0
beq .L7
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl perror
.L7:
ldr x0, [sp, 40]
ldr w1, [x0, 12]
ldr x0, [sp, 40]
ldr w0, [x0, 16]
add w0, w1, w0
ldr x1, [sp, 40]
ldr w1, [x1, 8]
sdiv w2, w0, w1
mul w1, w2, w1
sub w0, w0, w1
str w0, [sp, 36]
ldr x0, [sp, 40]
ldr x1, [x0]
ldrsw x0, [sp, 36]
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [sp, 20]
str w1, [x0]
ldr x0, [sp, 40]
ldr w0, [x0, 16]
add w1, w0, 1
ldr x0, [sp, 40]
str w1, [x0, 16]
ldr x0, [sp, 40]
add x0, x0, 20
bl pthread_mutex_unlock
cmp x0, 0
beq .L1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl perror
b .L1
.L8:
nop
b .L1
.L9:
nop
.L1:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size taosFreeId, .-taosFreeId
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_rsocket.c_rs_send_credits.c"
.intel_syntax noprefix
.text
.comm IBV_SEND_INLINE,4,4
.comm RS_OPT_MSG_SEND,4,4
.comm RS_OPT_SWAP_SGL,4,4
.comm RS_OP_SGL,4,4
.type rs_send_credits, @function
rs_send_credits:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push r12
push rbx
sub rsp, 80
.cfi_offset 12, -24
.cfi_offset 3, -32
mov QWORD PTR -88[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 88[rax]
lea edx, 1[rax]
mov rax, QWORD PTR -88[rbp]
mov DWORD PTR 88[rax], edx
mov rax, QWORD PTR -88[rbp]
mov rdx, QWORD PTR 32[rax]
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR [rax]
sar eax
cdqe
add rdx, rax
mov rax, QWORD PTR -88[rbp]
mov QWORD PTR 96[rax], rdx
mov rax, QWORD PTR -88[rbp]
mov edx, DWORD PTR 4[rax]
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 8[rax]
sar eax
cmp edx, eax
jl .L2
mov rax, QWORD PTR -88[rbp]
mov edx, DWORD PTR 12[rax]
mov eax, DWORD PTR RS_OPT_MSG_SEND[rip]
and eax, edx
test eax, eax
je .L3
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 88[rax]
lea edx, 1[rax]
mov rax, QWORD PTR -88[rbp]
mov DWORD PTR 88[rax], edx
.L3:
mov rax, QWORD PTR -88[rbp]
mov edx, DWORD PTR 12[rax]
mov eax, DWORD PTR RS_OPT_SWAP_SGL[rip]
and eax, edx
test eax, eax
jne .L4
mov rax, QWORD PTR -88[rbp]
mov rdx, QWORD PTR 80[rax]
mov rax, QWORD PTR -88[rbp]
mov rax, QWORD PTR 16[rax]
sal rax, 2
add rax, rdx
mov QWORD PTR -64[rbp], rax
mov rax, QWORD PTR -88[rbp]
mov rax, QWORD PTR 72[rax]
mov eax, DWORD PTR [rax]
mov DWORD PTR -56[rbp], eax
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 8[rax]
sar eax
mov DWORD PTR -52[rbp], eax
jmp .L5
.L4:
mov rax, QWORD PTR -88[rbp]
mov rdx, QWORD PTR 80[rax]
mov rax, QWORD PTR -88[rbp]
mov rax, QWORD PTR 16[rax]
sal rax, 2
add rax, rdx
mov rdi, rax
call bswap_64@PLT
mov QWORD PTR -64[rbp], rax
mov rax, QWORD PTR -88[rbp]
mov rax, QWORD PTR 72[rax]
mov eax, DWORD PTR [rax]
mov edi, eax
call bswap_32@PLT
mov DWORD PTR -56[rbp], eax
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 8[rax]
sar eax
mov edi, eax
call bswap_32@PLT
mov DWORD PTR -52[rbp], eax
.L5:
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 24[rax]
cmp eax, 15
ja .L6
mov rax, QWORD PTR -88[rbp]
mov rdi, rax
call rs_get_ctrl_buf@PLT
mov QWORD PTR -72[rbp], rax
lea rcx, -64[rbp]
mov rax, QWORD PTR -72[rbp]
mov edx, 16
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
mov rax, QWORD PTR -72[rbp]
mov QWORD PTR -48[rbp], rax
mov rax, QWORD PTR -88[rbp]
mov rax, QWORD PTR 64[rax]
mov rax, QWORD PTR [rax]
mov QWORD PTR -32[rbp], rax
mov DWORD PTR -76[rbp], 0
jmp .L7
.L6:
lea rax, -64[rbp]
mov QWORD PTR -48[rbp], rax
mov QWORD PTR -32[rbp], 0
mov eax, DWORD PTR IBV_SEND_INLINE[rip]
mov DWORD PTR -76[rbp], eax
.L7:
mov DWORD PTR -40[rbp], 16
mov rax, QWORD PTR -88[rbp]
mov ebx, DWORD PTR 48[rax]
mov rax, QWORD PTR -88[rbp]
mov rax, QWORD PTR 56[rax]
mov rdx, rax
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 28[rax]
cdqe
sal rax, 4
add rax, rdx
mov r12, rax
mov rax, QWORD PTR -88[rbp]
mov rdx, QWORD PTR 32[rax]
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR [rax]
cdqe
add rdx, rax
mov eax, DWORD PTR RS_OP_SGL[rip]
mov rsi, rdx
mov edi, eax
call rs_msg_set@PLT
mov edx, eax
mov ecx, DWORD PTR -76[rbp]
lea rsi, -48[rbp]
mov rax, QWORD PTR -88[rbp]
sub rsp, 8
push rbx
mov r9, r12
mov r8d, ecx
mov ecx, edx
mov edx, 1
mov rdi, rax
call rs_post_write_msg@PLT
add rsp, 16
mov rax, QWORD PTR -88[rbp]
mov edx, DWORD PTR 4[rax]
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 8[rax]
sar eax
sub edx, eax
mov rax, QWORD PTR -88[rbp]
mov DWORD PTR 4[rax], edx
mov rax, QWORD PTR -88[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 8[rax]
sar eax
cdqe
add rdx, rax
mov rax, QWORD PTR -88[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -88[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 8[rax]
cdqe
cmp rdx, rax
jb .L8
mov rax, QWORD PTR -88[rbp]
mov QWORD PTR 16[rax], 0
.L8:
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 28[rax]
lea edx, 1[rax]
mov rax, QWORD PTR -88[rbp]
mov DWORD PTR 28[rax], edx
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 28[rax]
movsx rdx, eax
mov rax, QWORD PTR -88[rbp]
mov rax, QWORD PTR 40[rax]
cmp rdx, rax
jne .L11
mov rax, QWORD PTR -88[rbp]
mov DWORD PTR 28[rax], 0
jmp .L11
.L2:
mov rax, QWORD PTR -88[rbp]
mov rdx, QWORD PTR 32[rax]
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR [rax]
cdqe
add rdx, rax
mov eax, DWORD PTR RS_OP_SGL[rip]
mov rsi, rdx
mov edi, eax
call rs_msg_set@PLT
mov edx, eax
mov rax, QWORD PTR -88[rbp]
mov esi, edx
mov rdi, rax
call rs_post_msg@PLT
.L11:
nop
mov rax, QWORD PTR -24[rbp]
xor rax, QWORD PTR fs:40
je .L10
call __stack_chk_fail@PLT
.L10:
lea rsp, -16[rbp]
pop rbx
pop r12
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size rs_send_credits, .-rs_send_credits
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_rsocket.c_rs_send_credits.c"
.text
.comm IBV_SEND_INLINE,4,4
.comm RS_OPT_MSG_SEND,4,4
.comm RS_OPT_SWAP_SGL,4,4
.comm RS_OP_SGL,4,4
.align 2
.type rs_send_credits, %function
rs_send_credits:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1,0
ldr x0, [sp, 24]
ldr w0, [x0, 88]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 88]
ldr x0, [sp, 24]
ldr x1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0]
asr w0, w0, 1
sxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 4]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
asr w0, w0, 1
cmp w1, w0
blt .L2
ldr x0, [sp, 24]
ldr w1, [x0, 12]
adrp x0, :got:RS_OPT_MSG_SEND
ldr x0, [x0, #:got_lo12:RS_OPT_MSG_SEND]
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
beq .L3
ldr x0, [sp, 24]
ldr w0, [x0, 88]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 88]
.L3:
ldr x0, [sp, 24]
ldr w1, [x0, 12]
adrp x0, :got:RS_OPT_SWAP_SGL
ldr x0, [x0, #:got_lo12:RS_OPT_SWAP_SGL]
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
bne .L4
ldr x0, [sp, 24]
ldr x1, [x0, 80]
ldr x0, [sp, 24]
ldr x0, [x0, 16]
lsl x0, x0, 2
add x0, x1, x0
str x0, [sp, 48]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
ldr w0, [x0]
str w0, [sp, 56]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
asr w0, w0, 1
str w0, [sp, 60]
b .L5
.L4:
ldr x0, [sp, 24]
ldr x1, [x0, 80]
ldr x0, [sp, 24]
ldr x0, [x0, 16]
lsl x0, x0, 2
add x0, x1, x0
bl bswap_64
str x0, [sp, 48]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
ldr w0, [x0]
bl bswap_32
str w0, [sp, 56]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
asr w0, w0, 1
bl bswap_32
str w0, [sp, 60]
.L5:
ldr x0, [sp, 24]
ldr w0, [x0, 24]
cmp w0, 15
bhi .L6
ldr x0, [sp, 24]
bl rs_get_ctrl_buf
str x0, [sp, 40]
add x0, sp, 48
mov w2, 16
mov x1, x0
ldr x0, [sp, 40]
bl memcpy
ldr x0, [sp, 40]
str x0, [sp, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
ldr x0, [x0]
str x0, [sp, 80]
str wzr, [sp, 36]
b .L7
.L6:
add x0, sp, 48
str x0, [sp, 64]
str xzr, [sp, 80]
adrp x0, :got:IBV_SEND_INLINE
ldr x0, [x0, #:got_lo12:IBV_SEND_INLINE]
ldr w0, [x0]
str w0, [sp, 36]
.L7:
mov w0, 16
str w0, [sp, 72]
adrp x0, :got:RS_OP_SGL
ldr x0, [x0, #:got_lo12:RS_OP_SGL]
ldr w2, [x0]
ldr x0, [sp, 24]
ldr x1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0]
sxtw x0, w0
add x0, x1, x0
mov x1, x0
mov w0, w2
bl rs_msg_set
mov w2, w0
ldr x0, [sp, 24]
ldr x0, [x0, 56]
mov x1, x0
ldr x0, [sp, 24]
ldr w0, [x0, 28]
sxtw x0, w0
lsl x0, x0, 4
add x0, x1, x0
mov x3, x0
ldr x0, [sp, 24]
ldr w1, [x0, 48]
add x0, sp, 64
mov w6, w1
mov x5, x3
ldr w4, [sp, 36]
mov w3, w2
mov w2, 1
mov x1, x0
ldr x0, [sp, 24]
bl rs_post_write_msg
ldr x0, [sp, 24]
ldr w1, [x0, 4]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
asr w0, w0, 1
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 4]
ldr x0, [sp, 24]
ldr x1, [x0, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
asr w0, w0, 1
sxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 16]
ldr x0, [sp, 24]
ldr x1, [x0, 16]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
sxtw x0, w0
cmp x1, x0
bcc .L8
ldr x0, [sp, 24]
str xzr, [x0, 16]
.L8:
ldr x0, [sp, 24]
ldr w0, [x0, 28]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 28]
ldr x0, [sp, 24]
ldr w0, [x0, 28]
sxtw x1, w0
ldr x0, [sp, 24]
ldr x0, [x0, 40]
cmp x1, x0
bne .L11
ldr x0, [sp, 24]
str wzr, [x0, 28]
b .L11
.L2:
adrp x0, :got:RS_OP_SGL
ldr x0, [x0, #:got_lo12:RS_OP_SGL]
ldr w2, [x0]
ldr x0, [sp, 24]
ldr x1, [x0, 32]
ldr x0, [sp, 24]
ldr w0, [x0]
sxtw x0, w0
add x0, x1, x0
mov x1, x0
mov w0, w2
bl rs_msg_set
mov w1, w0
ldr x0, [sp, 24]
bl rs_post_msg
.L11:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [sp, 88]
ldr x2, [x0]
subs x1, x1, x2
mov x2, 0
beq .L10
bl __stack_chk_fail
.L10:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size rs_send_credits, .-rs_send_credits
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_function.c_InterpretedFunction_call.c"
.intel_syntax noprefix
.text
.comm DISPATCH_CONSTRUCT,4,4
.comm DISPATCH_JSCRIPT_CALLEREXECSSOURCE,4,4
.comm EXEC_CONSTRUCTOR,4,4
.comm EXEC_RETURN_TO_INTERP,4,4
.comm E_UNEXPECTED,4,4
.comm SCRIPTSTATE_CLOSED,8,8
.comm SCRIPTSTATE_UNINITIALIZED,8,8
.section .rodata
.LC0:
.string "%p\n"
.align 8
.LC1:
.string "Script engine state does not allow running code.\n"
.text
.type InterpretedFunction_call, @function
InterpretedFunction_call:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 96
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov QWORD PTR -72[rbp], rdx
mov DWORD PTR -76[rbp], ecx
mov DWORD PTR -80[rbp], r8d
mov QWORD PTR -88[rbp], r9
mov rax, QWORD PTR 16[rbp]
mov QWORD PTR -96[rbp], rax
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -64[rbp]
mov QWORD PTR -16[rbp], rax
mov QWORD PTR -24[rbp], 0
mov DWORD PTR -40[rbp], 0
mov rax, QWORD PTR -16[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
call TRACE@PLT
mov rax, QWORD PTR -56[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR SCRIPTSTATE_UNINITIALIZED[rip]
cmp rdx, rax
je .L2
mov rax, QWORD PTR -56[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR SCRIPTSTATE_CLOSED[rip]
cmp rdx, rax
jne .L3
.L2:
lea rdi, .LC1[rip]
call WARN@PLT
mov eax, DWORD PTR E_UNEXPECTED[rip]
jmp .L11
.L3:
mov eax, DWORD PTR DISPATCH_CONSTRUCT[rip]
and eax, DWORD PTR -76[rbp]
test eax, eax
je .L5
mov rcx, QWORD PTR -16[rbp]
lea rdx, -24[rbp]
mov rax, QWORD PTR -56[rbp]
mov rsi, rcx
mov rdi, rax
call create_object@PLT
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -36[rbp]
mov edi, eax
call FAILED@PLT
test rax, rax
je .L6
mov eax, DWORD PTR -36[rbp]
jmp .L11
.L6:
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call to_disp@PLT
mov QWORD PTR -72[rbp], rax
.L5:
mov eax, DWORD PTR DISPATCH_JSCRIPT_CALLEREXECSSOURCE[rip]
and eax, DWORD PTR -76[rbp]
test eax, eax
je .L7
mov eax, DWORD PTR EXEC_RETURN_TO_INTERP[rip]
or DWORD PTR -40[rbp], eax
.L7:
mov eax, DWORD PTR DISPATCH_CONSTRUCT[rip]
and eax, DWORD PTR -76[rbp]
test eax, eax
je .L8
mov eax, DWORD PTR EXEC_CONSTRUCTOR[rip]
or DWORD PTR -40[rbp], eax
.L8:
lea rdx, -32[rbp]
mov rax, QWORD PTR -56[rbp]
mov rcx, rdx
mov edx, 0
mov esi, 0
mov rdi, rax
call create_dispex@PLT
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -36[rbp]
mov edi, eax
call SUCCEEDED@PLT
test rax, rax
je .L9
mov r8, QWORD PTR -32[rbp]
mov rdi, QWORD PTR -16[rbp]
mov rax, QWORD PTR -16[rbp]
mov r10d, DWORD PTR 4[rax]
mov rax, QWORD PTR -16[rbp]
mov ecx, DWORD PTR 8[rax]
mov rax, QWORD PTR -16[rbp]
mov edx, DWORD PTR 12[rax]
mov r11, QWORD PTR -72[rbp]
mov esi, DWORD PTR -40[rbp]
mov rax, QWORD PTR -56[rbp]
sub rsp, 8
push QWORD PTR -96[rbp]
push QWORD PTR -88[rbp]
mov r9d, DWORD PTR -80[rbp]
push r9
push r8
push rdi
mov r9, r11
mov r8d, r10d
mov rdi, rax
call exec_source@PLT
add rsp, 48
mov DWORD PTR -36[rbp], eax
.L9:
mov rax, QWORD PTR -24[rbp]
test rax, rax
je .L10
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call jsdisp_release@PLT
.L10:
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call jsdisp_release@PLT
mov eax, DWORD PTR -36[rbp]
.L11:
mov rcx, QWORD PTR -8[rbp]
xor rcx, QWORD PTR fs:40
je .L12
call __stack_chk_fail@PLT
.L12:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size InterpretedFunction_call, .-InterpretedFunction_call
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_function.c_InterpretedFunction_call.c"
.text
.comm DISPATCH_CONSTRUCT,4,4
.comm DISPATCH_JSCRIPT_CALLEREXECSSOURCE,4,4
.comm EXEC_CONSTRUCTOR,4,4
.comm EXEC_RETURN_TO_INTERP,4,4
.comm E_UNEXPECTED,4,4
.comm SCRIPTSTATE_CLOSED,8,8
.comm SCRIPTSTATE_UNINITIALIZED,8,8
.section .rodata
.align 3
.LC0:
.string "%p\n"
.align 3
.LC1:
.string "Script engine state does not allow running code.\n"
.text
.align 2
.type InterpretedFunction_call, %function
InterpretedFunction_call:
.LFB0:
.cfi_startproc
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, 32]
.cfi_offset 29, -112
.cfi_offset 30, -104
add x29, sp, 32
str x0, [sp, 88]
str x1, [sp, 80]
str x2, [sp, 72]
str w3, [sp, 68]
str w4, [sp, 64]
str x5, [sp, 56]
str x6, [sp, 48]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 136]
mov x1,0
ldr x0, [sp, 80]
str x0, [sp, 128]
str xzr, [sp, 120]
str wzr, [sp, 104]
ldr x1, [sp, 128]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl TRACE
ldr x0, [sp, 88]
ldr x1, [x0]
adrp x0, :got:SCRIPTSTATE_UNINITIALIZED
ldr x0, [x0, #:got_lo12:SCRIPTSTATE_UNINITIALIZED]
ldr x0, [x0]
cmp x1, x0
beq .L2
ldr x0, [sp, 88]
ldr x1, [x0]
adrp x0, :got:SCRIPTSTATE_CLOSED
ldr x0, [x0, #:got_lo12:SCRIPTSTATE_CLOSED]
ldr x0, [x0]
cmp x1, x0
bne .L3
.L2:
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl WARN
adrp x0, :got:E_UNEXPECTED
ldr x0, [x0, #:got_lo12:E_UNEXPECTED]
ldr w0, [x0]
b .L11
.L3:
adrp x0, :got:DISPATCH_CONSTRUCT
ldr x0, [x0, #:got_lo12:DISPATCH_CONSTRUCT]
ldr w1, [x0]
ldr w0, [sp, 68]
and w0, w1, w0
cmp w0, 0
beq .L5
ldr x0, [sp, 128]
add x1, sp, 120
mov x2, x1
mov x1, x0
ldr x0, [sp, 88]
bl create_object
str w0, [sp, 108]
ldr w0, [sp, 108]
bl FAILED
cmp x0, 0
beq .L6
ldr w0, [sp, 108]
b .L11
.L6:
ldr x0, [sp, 120]
bl to_disp
str x0, [sp, 72]
.L5:
adrp x0, :got:DISPATCH_JSCRIPT_CALLEREXECSSOURCE
ldr x0, [x0, #:got_lo12:DISPATCH_JSCRIPT_CALLEREXECSSOURCE]
ldr w1, [x0]
ldr w0, [sp, 68]
and w0, w1, w0
cmp w0, 0
beq .L7
adrp x0, :got:EXEC_RETURN_TO_INTERP
ldr x0, [x0, #:got_lo12:EXEC_RETURN_TO_INTERP]
ldr w0, [x0]
ldr w1, [sp, 104]
orr w0, w1, w0
str w0, [sp, 104]
.L7:
adrp x0, :got:DISPATCH_CONSTRUCT
ldr x0, [x0, #:got_lo12:DISPATCH_CONSTRUCT]
ldr w1, [x0]
ldr w0, [sp, 68]
and w0, w1, w0
cmp w0, 0
beq .L8
adrp x0, :got:EXEC_CONSTRUCTOR
ldr x0, [x0, #:got_lo12:EXEC_CONSTRUCTOR]
ldr w0, [x0]
ldr w1, [sp, 104]
orr w0, w1, w0
str w0, [sp, 104]
.L8:
add x0, sp, 112
mov x3, x0
mov x2, 0
mov x1, 0
ldr x0, [sp, 88]
bl create_dispex
str w0, [sp, 108]
ldr w0, [sp, 108]
bl SUCCEEDED
cmp x0, 0
beq .L9
ldr x0, [sp, 128]
ldr w1, [x0, 12]
ldr x0, [sp, 128]
ldr w2, [x0, 8]
ldr x0, [sp, 128]
ldr w3, [x0, 4]
ldr x4, [sp, 128]
ldr x5, [sp, 112]
ldr x0, [sp, 48]
str x0, [sp, 16]
ldr x0, [sp, 56]
str x0, [sp, 8]
ldr w0, [sp, 64]
str w0, [sp]
mov x7, x5
mov x6, x4
ldr x5, [sp, 72]
mov w4, w3
mov w3, w2
mov w2, w1
ldr w1, [sp, 104]
ldr x0, [sp, 88]
bl exec_source
str w0, [sp, 108]
.L9:
ldr x0, [sp, 120]
cmp x0, 0
beq .L10
ldr x0, [sp, 120]
bl jsdisp_release
.L10:
ldr x0, [sp, 112]
bl jsdisp_release
ldr w0, [sp, 108]
.L11:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 136]
ldr x3, [x0]
subs x2, x2, x3
mov x3, 0
beq .L12
bl __stack_chk_fail
.L12:
mov w0, w1
ldp x29, x30, [sp, 32]
add sp, sp, 144
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size InterpretedFunction_call, .-InterpretedFunction_call
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_if_ti.c_ti_setmulti.c"
.intel_syntax noprefix
.text
.comm IFF_ALLMULTI,4,4
.comm TI_CMD_CODE_ALLMULTI_DIS,4,4
.comm TI_CMD_CODE_ALLMULTI_ENB,4,4
.comm TI_CMD_SET_ALLMULTI,4,4
.comm TI_MB_HOSTINTR,4,4
.comm ti_add_mcast,4,4
.comm ti_del_mcast,4,4
.type ti_setmulti, @function
ti_setmulti:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call TI_LOCK_ASSERT@PLT
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR IFF_ALLMULTI[rip]
and eax, edx
test eax, eax
je .L2
mov ecx, DWORD PTR TI_CMD_CODE_ALLMULTI_ENB[rip]
mov eax, DWORD PTR TI_CMD_SET_ALLMULTI[rip]
mov edx, 0
mov esi, ecx
mov edi, eax
call TI_DO_CMD@PLT
jmp .L1
.L2:
mov ecx, DWORD PTR TI_CMD_CODE_ALLMULTI_DIS[rip]
mov eax, DWORD PTR TI_CMD_SET_ALLMULTI[rip]
mov edx, 0
mov esi, ecx
mov edi, eax
call TI_DO_CMD@PLT
mov edx, DWORD PTR TI_MB_HOSTINTR[rip]
mov rax, QWORD PTR -24[rbp]
mov esi, edx
mov rdi, rax
call CSR_READ_4@PLT
mov DWORD PTR -12[rbp], eax
mov ecx, DWORD PTR TI_MB_HOSTINTR[rip]
mov rax, QWORD PTR -24[rbp]
mov edx, 1
mov esi, ecx
mov rdi, rax
call CSR_WRITE_4@PLT
mov ecx, DWORD PTR ti_del_mcast[rip]
mov rdx, QWORD PTR -24[rbp]
mov rax, QWORD PTR -8[rbp]
mov esi, ecx
mov rdi, rax
call if_foreach_llmaddr@PLT
mov ecx, DWORD PTR ti_add_mcast[rip]
mov rdx, QWORD PTR -24[rbp]
mov rax, QWORD PTR -8[rbp]
mov esi, ecx
mov rdi, rax
call if_foreach_llmaddr@PLT
mov ecx, DWORD PTR TI_MB_HOSTINTR[rip]
mov edx, DWORD PTR -12[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call CSR_WRITE_4@PLT
.L1:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ti_setmulti, .-ti_setmulti
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_if_ti.c_ti_setmulti.c"
.text
.comm IFF_ALLMULTI,4,4
.comm TI_CMD_CODE_ALLMULTI_DIS,4,4
.comm TI_CMD_CODE_ALLMULTI_ENB,4,4
.comm TI_CMD_SET_ALLMULTI,4,4
.comm TI_MB_HOSTINTR,4,4
.comm ti_add_mcast,4,4
.comm ti_del_mcast,4,4
.align 2
.type ti_setmulti, %function
ti_setmulti:
.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 TI_LOCK_ASSERT
ldr x0, [sp, 24]
ldr x0, [x0]
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w1, [x0]
adrp x0, :got:IFF_ALLMULTI
ldr x0, [x0, #:got_lo12:IFF_ALLMULTI]
ldr w0, [x0]
and w0, w1, w0
cmp w0, 0
beq .L2
adrp x0, :got:TI_CMD_SET_ALLMULTI
ldr x0, [x0, #:got_lo12:TI_CMD_SET_ALLMULTI]
ldr w3, [x0]
adrp x0, :got:TI_CMD_CODE_ALLMULTI_ENB
ldr x0, [x0, #:got_lo12:TI_CMD_CODE_ALLMULTI_ENB]
ldr w0, [x0]
mov w2, 0
mov w1, w0
mov w0, w3
bl TI_DO_CMD
b .L1
.L2:
adrp x0, :got:TI_CMD_SET_ALLMULTI
ldr x0, [x0, #:got_lo12:TI_CMD_SET_ALLMULTI]
ldr w3, [x0]
adrp x0, :got:TI_CMD_CODE_ALLMULTI_DIS
ldr x0, [x0, #:got_lo12:TI_CMD_CODE_ALLMULTI_DIS]
ldr w0, [x0]
mov w2, 0
mov w1, w0
mov w0, w3
bl TI_DO_CMD
adrp x0, :got:TI_MB_HOSTINTR
ldr x0, [x0, #:got_lo12:TI_MB_HOSTINTR]
ldr w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
bl CSR_READ_4
str w0, [sp, 36]
adrp x0, :got:TI_MB_HOSTINTR
ldr x0, [x0, #:got_lo12:TI_MB_HOSTINTR]
ldr w0, [x0]
mov w2, 1
mov w1, w0
ldr x0, [sp, 24]
bl CSR_WRITE_4
adrp x0, :got:ti_del_mcast
ldr x0, [x0, #:got_lo12:ti_del_mcast]
ldr w0, [x0]
ldr x2, [sp, 24]
mov w1, w0
ldr x0, [sp, 40]
bl if_foreach_llmaddr
adrp x0, :got:ti_add_mcast
ldr x0, [x0, #:got_lo12:ti_add_mcast]
ldr w0, [x0]
ldr x2, [sp, 24]
mov w1, w0
ldr x0, [sp, 40]
bl if_foreach_llmaddr
adrp x0, :got:TI_MB_HOSTINTR
ldr x0, [x0, #:got_lo12:TI_MB_HOSTINTR]
ldr w0, [x0]
ldr w2, [sp, 36]
mov w1, w0
ldr x0, [sp, 24]
bl CSR_WRITE_4
.L1:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ti_setmulti, .-ti_setmulti
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_test_sleep.c_do_deep_sleep_from_app_cpu.c"
.intel_syntax noprefix
.text
.comm deep_sleep_task,4,4
.section .rodata
.LC0:
.string "ds"
.text
.type do_deep_sleep_from_app_cpu, @function
do_deep_sleep_from_app_cpu:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 8
push 1
mov r9d, 0
mov r8d, 5
mov ecx, 0
mov edx, 2048
lea rsi, .LC0[rip]
lea rdi, deep_sleep_task[rip]
call xTaskCreatePinnedToCore@PLT
add rsp, 16
mov eax, 0
call vTaskSuspendAll@PLT
.L2:
jmp .L2
.cfi_endproc
.LFE0:
.size do_deep_sleep_from_app_cpu, .-do_deep_sleep_from_app_cpu
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_test_sleep.c_do_deep_sleep_from_app_cpu.c"
.text
.comm deep_sleep_task,4,4
.section .rodata
.align 3
.LC0:
.string "ds"
.text
.align 2
.type do_deep_sleep_from_app_cpu, %function
do_deep_sleep_from_app_cpu:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w6, 1
mov x5, 0
mov w4, 5
mov x3, 0
mov w2, 2048
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, :got:deep_sleep_task
ldr x0, [x0, #:got_lo12:deep_sleep_task]
bl xTaskCreatePinnedToCore
bl vTaskSuspendAll
.L2:
b .L2
.cfi_endproc
.LFE0:
.size do_deep_sleep_from_app_cpu, .-do_deep_sleep_from_app_cpu
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_tcp.c_tcp_enable_tx_delay.c"
.intel_syntax noprefix
.text
.comm tcp_tx_delay_enabled,4,4
.section .rodata
.LC0:
.string "TCP_TX_DELAY enabled\n"
.text
.type tcp_enable_tx_delay, @function
tcp_enable_tx_delay:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
lea rdi, tcp_tx_delay_enabled[rip]
call static_branch_unlikely@PLT
test eax, eax
jne .L3
mov edx, 1
mov esi, 0
lea rdi, __tcp_tx_delay_enabled.1929[rip]
call cmpxchg@PLT
test rax, rax
jne .L3
lea rdi, tcp_tx_delay_enabled[rip]
call static_branch_enable@PLT
lea rdi, .LC0[rip]
call pr_info@PLT
.L3:
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size tcp_enable_tx_delay, .-tcp_enable_tx_delay
.local __tcp_tx_delay_enabled.1929
.comm __tcp_tx_delay_enabled.1929,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_tcp.c_tcp_enable_tx_delay.c"
.text
.comm tcp_tx_delay_enabled,4,4
.section .rodata
.align 3
.LC0:
.string "TCP_TX_DELAY enabled\n"
.text
.align 2
.type tcp_enable_tx_delay, %function
tcp_enable_tx_delay:
.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, :got:tcp_tx_delay_enabled
ldr x0, [x0, #:got_lo12:tcp_tx_delay_enabled]
bl static_branch_unlikely
cmp w0, 0
bne .L3
mov w2, 1
mov w1, 0
adrp x0, __tcp_tx_delay_enabled.3474
add x0, x0, :lo12:__tcp_tx_delay_enabled.3474
bl cmpxchg
cmp x0, 0
bne .L3
adrp x0, :got:tcp_tx_delay_enabled
ldr x0, [x0, #:got_lo12:tcp_tx_delay_enabled]
bl static_branch_enable
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl pr_info
.L3:
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size tcp_enable_tx_delay, .-tcp_enable_tx_delay
.local __tcp_tx_delay_enabled.3474
.comm __tcp_tx_delay_enabled.3474,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_vf_sai.c_setup_dma.c"
.intel_syntax noprefix
.text
.comm I2S_TDR0,8,8
.comm M_DEVBUF,4,4
.comm M_WAITOK,4,4
.comm M_ZERO,4,4
.comm sai_dma_intr,4,4
.type setup_dma, @function
setup_dma:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
mov edx, DWORD PTR M_WAITOK[rip]
mov eax, DWORD PTR M_ZERO[rip]
or edx, eax
mov eax, DWORD PTR M_DEVBUF[rip]
mov esi, eax
mov edi, 96
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov edx, DWORD PTR 28[rax]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 92[rax], edx
mov edx, DWORD PTR sai_dma_intr[rip]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 88[rax], edx
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -24[rbp]
mov QWORD PTR 80[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 72[rax], edx
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 16[rax]
mov eax, DWORD PTR [rax]
mov edi, eax
call rman_get_start@PLT
mov rdx, QWORD PTR I2S_TDR0[rip]
add rdx, rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 64[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], 64
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 4[rax], 512
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 8[rax], 17
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 56[rax], 0
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 48[rax], 0
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 12[rax], 4
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 40[rax], 0
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 16[rax], 2
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 20[rax], 2
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 32[rax], 0
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 24[rax], 0
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
mov rcx, QWORD PTR [rax]
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
mov rsi, rdx
mov rdi, rax
call rcx
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size setup_dma, .-setup_dma
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_vf_sai.c_setup_dma.c"
.text
.comm I2S_TDR0,8,8
.comm M_DEVBUF,4,4
.comm M_WAITOK,4,4
.comm M_ZERO,4,4
.comm sai_dma_intr,4,4
.align 2
.type setup_dma, %function
setup_dma:
.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]
ldr x0, [x0]
str x0, [sp, 32]
adrp x0, :got:M_DEVBUF
ldr x0, [x0, #:got_lo12:M_DEVBUF]
ldr w3, [x0]
adrp x0, :got:M_WAITOK
ldr x0, [x0, #:got_lo12:M_WAITOK]
ldr w1, [x0]
adrp x0, :got:M_ZERO
ldr x0, [x0, #:got_lo12:M_ZERO]
ldr w0, [x0]
orr w0, w1, w0
mov w2, w0
mov w1, w3
mov w0, 96
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 32]
ldr w1, [x0, 28]
ldr x0, [sp, 40]
str w1, [x0, 92]
adrp x0, :got:sai_dma_intr
ldr x0, [x0, #:got_lo12:sai_dma_intr]
ldr w1, [x0]
ldr x0, [sp, 40]
str w1, [x0, 88]
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [x0, 80]
ldr x0, [sp, 32]
ldr w1, [x0, 24]
ldr x0, [sp, 40]
str w1, [x0, 72]
ldr x0, [sp, 32]
ldr x0, [x0, 16]
ldr w0, [x0]
bl rman_get_start
mov x1, x0
adrp x0, :got:I2S_TDR0
ldr x0, [x0, #:got_lo12:I2S_TDR0]
ldr x0, [x0]
add x1, x1, x0
ldr x0, [sp, 40]
str x1, [x0, 64]
ldr x0, [sp, 40]
mov w1, 64
str w1, [x0]
ldr x0, [sp, 40]
mov w1, 512
str w1, [x0, 4]
ldr x0, [sp, 40]
mov w1, 17
str w1, [x0, 8]
ldr x0, [sp, 40]
str xzr, [x0, 56]
ldr x0, [sp, 40]
str xzr, [x0, 48]
ldr x0, [sp, 40]
mov w1, 4
str w1, [x0, 12]
ldr x0, [sp, 40]
str xzr, [x0, 40]
ldr x0, [sp, 40]
mov w1, 2
str w1, [x0, 16]
ldr x0, [sp, 40]
mov w1, 2
str w1, [x0, 20]
ldr x0, [sp, 40]
str xzr, [x0, 32]
ldr x0, [sp, 40]
str xzr, [x0, 24]
ldr x0, [sp, 32]
ldr x1, [sp, 40]
str x1, [x0]
ldr x0, [sp, 32]
ldr x0, [x0, 8]
ldr x2, [x0]
ldr x0, [sp, 32]
ldr x3, [x0, 8]
ldr x0, [sp, 32]
ldr x0, [x0]
mov x1, x0
mov x0, x3
blr x2
mov w0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size setup_dma, .-setup_dma
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_htc_hst.c_ath9k_htc_hw_init.c"
.intel_syntax noprefix
.text
.comm ENODEV,4,4
.section .rodata
.align 8
.LC0:
.string "Failed to initialize the device\n"
.text
.globl ath9k_htc_hw_init
.type ath9k_htc_hw_init, @function
ath9k_htc_hw_init:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov DWORD PTR -20[rbp], edx
mov QWORD PTR -32[rbp], rcx
mov DWORD PTR -24[rbp], r8d
mov edi, DWORD PTR -24[rbp]
mov rcx, QWORD PTR -32[rbp]
mov edx, DWORD PTR -20[rbp]
mov rsi, QWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
mov r8d, edi
mov rdi, rax
call ath9k_htc_probe_device@PLT
test rax, rax
je .L2
lea rdi, .LC0[rip]
call pr_err@PLT
mov eax, DWORD PTR ENODEV[rip]
neg eax
jmp .L3
.L2:
mov eax, 0
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ath9k_htc_hw_init, .-ath9k_htc_hw_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_htc_hst.c_ath9k_htc_hw_init.c"
.text
.comm ENODEV,4,4
.section .rodata
.align 3
.LC0:
.string "Failed to initialize the device\n"
.text
.align 2
.global ath9k_htc_hw_init
.type ath9k_htc_hw_init, %function
ath9k_htc_hw_init:
.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 w2, [sp, 28]
str x3, [sp, 16]
str w4, [sp, 24]
ldr w4, [sp, 24]
ldr x3, [sp, 16]
ldr w2, [sp, 28]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl ath9k_htc_probe_device
cmp x0, 0
beq .L2
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl pr_err
adrp x0, :got:ENODEV
ldr x0, [x0, #:got_lo12:ENODEV]
ldr w0, [x0]
neg w0, w0
b .L3
.L2:
mov w0, 0
.L3:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ath9k_htc_hw_init, .-ath9k_htc_hw_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_msm_serial.c_msm_request_rx_dma.c"
.intel_syntax noprefix
.text
.comm DMA_DEV_TO_MEM,4,4
.comm DMA_FROM_DEVICE,4,4
.comm GFP_KERNEL,4,4
.comm UARTDM_1P4,8,8
.comm UARTDM_BURST_SIZE,4,4
.comm UARTDM_DMEN_RX_BAM_ENABLE,4,4
.comm UARTDM_DMEN_RX_DM_ENABLE,4,4
.comm UARTDM_RF,8,8
.comm UARTDM_RX_SIZE,4,4
.section .rodata
.LC0:
.string "rx"
.LC1:
.string "qcom,rx-crci"
.text
.type msm_request_rx_dma, @function
msm_request_rx_dma:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 112
mov QWORD PTR -104[rbp], rdi
mov QWORD PTR -112[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -104[rbp]
mov rax, QWORD PTR 56[rax]
mov QWORD PTR -80[rbp], rax
mov DWORD PTR -88[rbp], 0
mov rax, QWORD PTR -104[rbp]
add rax, 8
mov QWORD PTR -72[rbp], rax
mov rax, QWORD PTR -80[rbp]
lea rsi, .LC0[rip]
mov rdi, rax
call dma_request_slave_channel_reason@PLT
mov rdx, QWORD PTR -72[rbp]
mov DWORD PTR 4[rdx], eax
mov rax, QWORD PTR -72[rbp]
mov eax, DWORD PTR 4[rax]
mov edi, eax
call IS_ERR@PLT
test rax, rax
jne .L13
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
lea rdx, -88[rbp]
lea rsi, .LC1[rip]
mov edi, eax
call of_property_read_u32@PLT
mov edx, DWORD PTR GFP_KERNEL[rip]
mov eax, DWORD PTR UARTDM_RX_SIZE[rip]
mov esi, edx
mov edi, eax
call kzalloc@PLT
mov rdx, QWORD PTR -72[rbp]
mov DWORD PTR 8[rdx], eax
mov rax, QWORD PTR -72[rbp]
mov eax, DWORD PTR 8[rax]
test eax, eax
je .L14
lea rax, -64[rbp]
mov edx, 48
mov esi, 0
mov rdi, rax
call memset@PLT
mov eax, DWORD PTR DMA_DEV_TO_MEM[rip]
mov DWORD PTR -24[rbp], eax
mov DWORD PTR -64[rbp], 1
mov rdx, QWORD PTR UARTDM_RF[rip]
mov rax, QWORD PTR -112[rbp]
add rax, rdx
mov QWORD PTR -32[rbp], rax
mov eax, DWORD PTR UARTDM_BURST_SIZE[rip]
mov DWORD PTR -40[rbp], eax
mov eax, DWORD PTR -88[rbp]
mov DWORD PTR -44[rbp], eax
mov rax, QWORD PTR -72[rbp]
mov eax, DWORD PTR 4[rax]
lea rdx, -64[rbp]
mov rsi, rdx
mov edi, eax
call dmaengine_slave_config@PLT
mov DWORD PTR -84[rbp], eax
cmp DWORD PTR -84[rbp], 0
jne .L15
mov edx, DWORD PTR DMA_FROM_DEVICE[rip]
mov rax, QWORD PTR -72[rbp]
mov DWORD PTR 16[rax], edx
mov rax, QWORD PTR -104[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR UARTDM_1P4[rip]
cmp rdx, rax
jge .L8
mov edx, DWORD PTR UARTDM_DMEN_RX_DM_ENABLE[rip]
mov rax, QWORD PTR -72[rbp]
mov DWORD PTR 12[rax], edx
jmp .L1
.L8:
mov edx, DWORD PTR UARTDM_DMEN_RX_BAM_ENABLE[rip]
mov rax, QWORD PTR -72[rbp]
mov DWORD PTR 12[rax], edx
jmp .L1
.L15:
nop
.L7:
endbr64
mov rax, QWORD PTR -72[rbp]
mov eax, DWORD PTR 8[rax]
mov edi, eax
call kfree@PLT
jmp .L5
.L14:
nop
.L5:
mov rax, QWORD PTR -72[rbp]
mov eax, DWORD PTR 4[rax]
mov edi, eax
call dma_release_channel@PLT
jmp .L3
.L13:
nop
.L3:
mov rax, QWORD PTR -72[rbp]
mov edx, 48
mov esi, 0
mov rdi, rax
call memset@PLT
.L1:
mov rax, QWORD PTR -8[rbp]
xor rax, QWORD PTR fs:40
je .L11
call __stack_chk_fail@PLT
.L11:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size msm_request_rx_dma, .-msm_request_rx_dma
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_msm_serial.c_msm_request_rx_dma.c"
.text
.comm DMA_DEV_TO_MEM,4,4
.comm DMA_FROM_DEVICE,4,4
.comm GFP_KERNEL,4,4
.comm UARTDM_1P4,8,8
.comm UARTDM_BURST_SIZE,4,4
.comm UARTDM_DMEN_RX_BAM_ENABLE,4,4
.comm UARTDM_DMEN_RX_DM_ENABLE,4,4
.comm UARTDM_RF,8,8
.comm UARTDM_RX_SIZE,4,4
.section .rodata
.align 3
.LC0:
.string "rx"
.align 3
.LC1:
.string "qcom,rx-crci"
.text
.align 2
.type msm_request_rx_dma, %function
msm_request_rx_dma:
.LFB0:
.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]
str x1, [sp, 16]
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]
ldr x0, [x0, 56]
str x0, [sp, 40]
str wzr, [sp, 32]
ldr x0, [sp, 24]
add x0, x0, 8
str x0, [sp, 48]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 40]
bl dma_request_slave_channel_reason
mov w1, w0
ldr x0, [sp, 48]
str w1, [x0, 4]
ldr x0, [sp, 48]
ldr w0, [x0, 4]
bl IS_ERR
cmp x0, 0
bne .L13
ldr x0, [sp, 40]
ldr w3, [x0]
add x0, sp, 32
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov w0, w3
bl of_property_read_u32
adrp x0, :got:UARTDM_RX_SIZE
ldr x0, [x0, #:got_lo12:UARTDM_RX_SIZE]
ldr w2, [x0]
adrp x0, :got:GFP_KERNEL
ldr x0, [x0, #:got_lo12:GFP_KERNEL]
ldr w0, [x0]
mov w1, w0
mov w0, w2
bl kzalloc
mov w1, w0
ldr x0, [sp, 48]
str w1, [x0, 8]
ldr x0, [sp, 48]
ldr w0, [x0, 8]
cmp w0, 0
beq .L14
add x0, sp, 56
mov w2, 48
mov w1, 0
bl memset
adrp x0, :got:DMA_DEV_TO_MEM
ldr x0, [x0, #:got_lo12:DMA_DEV_TO_MEM]
ldr w0, [x0]
str w0, [sp, 96]
mov w0, 1
str w0, [sp, 56]
adrp x0, :got:UARTDM_RF
ldr x0, [x0, #:got_lo12:UARTDM_RF]
ldr x1, [x0]
ldr x0, [sp, 16]
add x0, x1, x0
str x0, [sp, 88]
adrp x0, :got:UARTDM_BURST_SIZE
ldr x0, [x0, #:got_lo12:UARTDM_BURST_SIZE]
ldr w0, [x0]
str w0, [sp, 80]
ldr w0, [sp, 32]
str w0, [sp, 76]
ldr x0, [sp, 48]
ldr w0, [x0, 4]
add x1, sp, 56
bl dmaengine_slave_config
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
bne .L15
adrp x0, :got:DMA_FROM_DEVICE
ldr x0, [x0, #:got_lo12:DMA_FROM_DEVICE]
ldr w1, [x0]
ldr x0, [sp, 48]
str w1, [x0, 16]
ldr x0, [sp, 24]
ldr x1, [x0]
adrp x0, :got:UARTDM_1P4
ldr x0, [x0, #:got_lo12:UARTDM_1P4]
ldr x0, [x0]
cmp x1, x0
bge .L8
adrp x0, :got:UARTDM_DMEN_RX_DM_ENABLE
ldr x0, [x0, #:got_lo12:UARTDM_DMEN_RX_DM_ENABLE]
ldr w1, [x0]
ldr x0, [sp, 48]
str w1, [x0, 12]
b .L1
.L8:
adrp x0, :got:UARTDM_DMEN_RX_BAM_ENABLE
ldr x0, [x0, #:got_lo12:UARTDM_DMEN_RX_BAM_ENABLE]
ldr w1, [x0]
ldr x0, [sp, 48]
str w1, [x0, 12]
b .L1
.L15:
nop
.L7:
ldr x0, [sp, 48]
ldr w0, [x0, 8]
bl kfree
b .L5
.L14:
nop
.L5:
ldr x0, [sp, 48]
ldr w0, [x0, 4]
bl dma_release_channel
b .L3
.L13:
nop
.L3:
mov w2, 48
mov w1, 0
ldr x0, [sp, 48]
bl memset
.L1:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [sp, 104]
ldr x2, [x0]
subs x1, x1, x2
mov x2, 0
beq .L11
bl __stack_chk_fail
.L11:
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size msm_request_rx_dma, .-msm_request_rx_dma
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_ohci.c_ohci_rhsc_enable.c"
.intel_syntax noprefix
.text
.comm MA_OWNED,4,4
.comm OHCI_INTERRUPT_ENABLE,4,4
.comm OHCI_INTERRUPT_STATUS,4,4
.comm OHCI_RHSC,4,4
.section .rodata
.LC0:
.string "\n"
.text
.type ohci_rhsc_enable, @function
ohci_rhsc_enable:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
lea rsi, .LC0[rip]
mov edi, 5
call DPRINTFN@PLT
mov eax, DWORD PTR MA_OWNED[rip]
mov rdx, QWORD PTR -8[rbp]
add rdx, 4
mov esi, eax
mov rdi, rdx
call USB_BUS_LOCK_ASSERT@PLT
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR OHCI_RHSC[rip]
or edx, eax
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], edx
mov edx, DWORD PTR OHCI_RHSC[rip]
mov ecx, DWORD PTR OHCI_INTERRUPT_ENABLE[rip]
mov rax, QWORD PTR -8[rbp]
mov esi, ecx
mov rdi, rax
call OWRITE4@PLT
mov edx, DWORD PTR OHCI_RHSC[rip]
mov ecx, DWORD PTR OHCI_INTERRUPT_STATUS[rip]
mov rax, QWORD PTR -8[rbp]
mov esi, ecx
mov rdi, rax
call OWRITE4@PLT
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call ohci_root_intr@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ohci_rhsc_enable, .-ohci_rhsc_enable
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_ohci.c_ohci_rhsc_enable.c"
.text
.comm MA_OWNED,4,4
.comm OHCI_INTERRUPT_ENABLE,4,4
.comm OHCI_INTERRUPT_STATUS,4,4
.comm OHCI_RHSC,4,4
.section .rodata
.align 3
.LC0:
.string "\n"
.text
.align 2
.type ohci_rhsc_enable, %function
ohci_rhsc_enable:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov w0, 5
bl DPRINTFN
ldr x0, [sp, 24]
add x2, x0, 4
adrp x0, :got:MA_OWNED
ldr x0, [x0, #:got_lo12:MA_OWNED]
ldr w0, [x0]
mov w1, w0
mov x0, x2
bl USB_BUS_LOCK_ASSERT
ldr x0, [sp, 24]
ldr w1, [x0]
adrp x0, :got:OHCI_RHSC
ldr x0, [x0, #:got_lo12:OHCI_RHSC]
ldr w0, [x0]
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0]
adrp x0, :got:OHCI_INTERRUPT_ENABLE
ldr x0, [x0, #:got_lo12:OHCI_INTERRUPT_ENABLE]
ldr w1, [x0]
adrp x0, :got:OHCI_RHSC
ldr x0, [x0, #:got_lo12:OHCI_RHSC]
ldr w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
bl OWRITE4
adrp x0, :got:OHCI_INTERRUPT_STATUS
ldr x0, [x0, #:got_lo12:OHCI_INTERRUPT_STATUS]
ldr w1, [x0]
adrp x0, :got:OHCI_RHSC
ldr x0, [x0, #:got_lo12:OHCI_RHSC]
ldr w0, [x0]
mov w2, w0
ldr x0, [sp, 24]
bl OWRITE4
ldr x0, [sp, 24]
bl ohci_root_intr
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ohci_rhsc_enable, .-ohci_rhsc_enable
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_go7007-v4l2.c_vidioc_querystd.c"
.intel_syntax noprefix
.text
.comm querystd,4,4
.comm video,4,4
.type vidioc_querystd, @function
vidioc_querystd:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call video_drvdata@PLT
mov QWORD PTR -8[rbp], rax
mov edx, DWORD PTR querystd[rip]
mov esi, DWORD PTR video[rip]
mov rax, QWORD PTR -8[rbp]
mov rcx, QWORD PTR -40[rbp]
mov rdi, rax
call call_all@PLT
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size vidioc_querystd, .-vidioc_querystd
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_go7007-v4l2.c_vidioc_querystd.c"
.text
.comm querystd,4,4
.comm video,4,4
.align 2
.type vidioc_querystd, %function
vidioc_querystd:
.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, 40]
str x1, [sp, 32]
str x2, [sp, 24]
ldr x0, [sp, 40]
bl video_drvdata
str x0, [sp, 56]
ldr x4, [sp, 56]
adrp x0, :got:video
ldr x0, [x0, #:got_lo12:video]
ldr w1, [x0]
adrp x0, :got:querystd
ldr x0, [x0, #:got_lo12:querystd]
ldr w0, [x0]
ldr x3, [sp, 24]
mov w2, w0
mov x0, x4
bl call_all
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size vidioc_querystd, .-vidioc_querystd
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_reg.c_freq_reg_info.c"
.intel_syntax noprefix
.text
.globl freq_reg_info
.type freq_reg_info, @function
freq_reg_info:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov DWORD PTR -12[rbp], esi
mov edi, 20
call MHZ_TO_KHZ@PLT
mov edx, eax
mov ecx, DWORD PTR -12[rbp]
mov rax, QWORD PTR -8[rbp]
mov esi, ecx
mov rdi, rax
call __freq_reg_info@PLT
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size freq_reg_info, .-freq_reg_info
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_reg.c_freq_reg_info.c"
.text
.align 2
.global freq_reg_info
.type freq_reg_info, %function
freq_reg_info:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
mov w0, 20
bl MHZ_TO_KHZ
mov w2, w0
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl __freq_reg_info
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size freq_reg_info, .-freq_reg_info
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_decContext.c_decContextStatusToString.c"
.intel_syntax noprefix
.text
.comm DEC_Clamped,8,8
.comm DEC_Condition_CS,8,8
.comm DEC_Condition_DI,8,8
.comm DEC_Condition_DU,8,8
.comm DEC_Condition_DZ,8,8
.comm DEC_Condition_IC,8,8
.comm DEC_Condition_IE,8,8
.comm DEC_Condition_IO,8,8
.comm DEC_Condition_IS,8,8
.comm DEC_Condition_LD,8,8
.comm DEC_Condition_MU,8,8
.comm DEC_Condition_OV,8,8
.comm DEC_Condition_PA,8,8
.comm DEC_Condition_RO,8,8
.comm DEC_Condition_SU,8,8
.comm DEC_Condition_UN,8,8
.comm DEC_Condition_ZE,8,8
.comm DEC_Conversion_syntax,8,8
.comm DEC_Division_by_zero,8,8
.comm DEC_Division_impossible,8,8
.comm DEC_Division_undefined,8,8
.comm DEC_Inexact,8,8
.comm DEC_Insufficient_storage,8,8
.comm DEC_Invalid_context,8,8
.comm DEC_Invalid_operation,8,8
.comm DEC_Lost_digits,8,8
.comm DEC_Overflow,8,8
.comm DEC_Rounded,8,8
.comm DEC_Subnormal,8,8
.comm DEC_Underflow,8,8
.globl decContextStatusToString
.type decContextStatusToString, @function
decContextStatusToString:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR DEC_Conversion_syntax[rip]
cmp QWORD PTR -8[rbp], rax
jne .L2
mov rax, QWORD PTR DEC_Condition_CS[rip]
jmp .L3
.L2:
mov rax, QWORD PTR DEC_Division_by_zero[rip]
cmp QWORD PTR -8[rbp], rax
jne .L4
mov rax, QWORD PTR DEC_Condition_DZ[rip]
jmp .L3
.L4:
mov rax, QWORD PTR DEC_Division_impossible[rip]
cmp QWORD PTR -8[rbp], rax
jne .L5
mov rax, QWORD PTR DEC_Condition_DI[rip]
jmp .L3
.L5:
mov rax, QWORD PTR DEC_Division_undefined[rip]
cmp QWORD PTR -8[rbp], rax
jne .L6
mov rax, QWORD PTR DEC_Condition_DU[rip]
jmp .L3
.L6:
mov rax, QWORD PTR DEC_Inexact[rip]
cmp QWORD PTR -8[rbp], rax
jne .L7
mov rax, QWORD PTR DEC_Condition_IE[rip]
jmp .L3
.L7:
mov rax, QWORD PTR DEC_Insufficient_storage[rip]
cmp QWORD PTR -8[rbp], rax
jne .L8
mov rax, QWORD PTR DEC_Condition_IS[rip]
jmp .L3
.L8:
mov rax, QWORD PTR DEC_Invalid_context[rip]
cmp QWORD PTR -8[rbp], rax
jne .L9
mov rax, QWORD PTR DEC_Condition_IC[rip]
jmp .L3
.L9:
mov rax, QWORD PTR DEC_Invalid_operation[rip]
cmp QWORD PTR -8[rbp], rax
jne .L10
mov rax, QWORD PTR DEC_Condition_IO[rip]
jmp .L3
.L10:
mov rax, QWORD PTR DEC_Overflow[rip]
cmp QWORD PTR -8[rbp], rax
jne .L11
mov rax, QWORD PTR DEC_Condition_OV[rip]
jmp .L3
.L11:
mov rax, QWORD PTR DEC_Clamped[rip]
cmp QWORD PTR -8[rbp], rax
jne .L12
mov rax, QWORD PTR DEC_Condition_PA[rip]
jmp .L3
.L12:
mov rax, QWORD PTR DEC_Rounded[rip]
cmp QWORD PTR -8[rbp], rax
jne .L13
mov rax, QWORD PTR DEC_Condition_RO[rip]
jmp .L3
.L13:
mov rax, QWORD PTR DEC_Subnormal[rip]
cmp QWORD PTR -8[rbp], rax
jne .L14
mov rax, QWORD PTR DEC_Condition_SU[rip]
jmp .L3
.L14:
mov rax, QWORD PTR DEC_Underflow[rip]
cmp QWORD PTR -8[rbp], rax
jne .L15
mov rax, QWORD PTR DEC_Condition_UN[rip]
jmp .L3
.L15:
cmp QWORD PTR -8[rbp], 0
jne .L16
mov rax, QWORD PTR DEC_Condition_ZE[rip]
jmp .L3
.L16:
mov rax, QWORD PTR DEC_Condition_MU[rip]
.L3:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size decContextStatusToString, .-decContextStatusToString
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_decContext.c_decContextStatusToString.c"
.text
.comm DEC_Clamped,8,8
.comm DEC_Condition_CS,8,8
.comm DEC_Condition_DI,8,8
.comm DEC_Condition_DU,8,8
.comm DEC_Condition_DZ,8,8
.comm DEC_Condition_IC,8,8
.comm DEC_Condition_IE,8,8
.comm DEC_Condition_IO,8,8
.comm DEC_Condition_IS,8,8
.comm DEC_Condition_LD,8,8
.comm DEC_Condition_MU,8,8
.comm DEC_Condition_OV,8,8
.comm DEC_Condition_PA,8,8
.comm DEC_Condition_RO,8,8
.comm DEC_Condition_SU,8,8
.comm DEC_Condition_UN,8,8
.comm DEC_Condition_ZE,8,8
.comm DEC_Conversion_syntax,8,8
.comm DEC_Division_by_zero,8,8
.comm DEC_Division_impossible,8,8
.comm DEC_Division_undefined,8,8
.comm DEC_Inexact,8,8
.comm DEC_Insufficient_storage,8,8
.comm DEC_Invalid_context,8,8
.comm DEC_Invalid_operation,8,8
.comm DEC_Lost_digits,8,8
.comm DEC_Overflow,8,8
.comm DEC_Rounded,8,8
.comm DEC_Subnormal,8,8
.comm DEC_Underflow,8,8
.align 2
.global decContextStatusToString
.type decContextStatusToString, %function
decContextStatusToString:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr x0, [x0]
str x0, [sp, 24]
adrp x0, :got:DEC_Conversion_syntax
ldr x0, [x0, #:got_lo12:DEC_Conversion_syntax]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L2
adrp x0, :got:DEC_Condition_CS
ldr x0, [x0, #:got_lo12:DEC_Condition_CS]
ldr x0, [x0]
b .L3
.L2:
adrp x0, :got:DEC_Division_by_zero
ldr x0, [x0, #:got_lo12:DEC_Division_by_zero]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L4
adrp x0, :got:DEC_Condition_DZ
ldr x0, [x0, #:got_lo12:DEC_Condition_DZ]
ldr x0, [x0]
b .L3
.L4:
adrp x0, :got:DEC_Division_impossible
ldr x0, [x0, #:got_lo12:DEC_Division_impossible]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L5
adrp x0, :got:DEC_Condition_DI
ldr x0, [x0, #:got_lo12:DEC_Condition_DI]
ldr x0, [x0]
b .L3
.L5:
adrp x0, :got:DEC_Division_undefined
ldr x0, [x0, #:got_lo12:DEC_Division_undefined]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L6
adrp x0, :got:DEC_Condition_DU
ldr x0, [x0, #:got_lo12:DEC_Condition_DU]
ldr x0, [x0]
b .L3
.L6:
adrp x0, :got:DEC_Inexact
ldr x0, [x0, #:got_lo12:DEC_Inexact]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L7
adrp x0, :got:DEC_Condition_IE
ldr x0, [x0, #:got_lo12:DEC_Condition_IE]
ldr x0, [x0]
b .L3
.L7:
adrp x0, :got:DEC_Insufficient_storage
ldr x0, [x0, #:got_lo12:DEC_Insufficient_storage]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L8
adrp x0, :got:DEC_Condition_IS
ldr x0, [x0, #:got_lo12:DEC_Condition_IS]
ldr x0, [x0]
b .L3
.L8:
adrp x0, :got:DEC_Invalid_context
ldr x0, [x0, #:got_lo12:DEC_Invalid_context]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L9
adrp x0, :got:DEC_Condition_IC
ldr x0, [x0, #:got_lo12:DEC_Condition_IC]
ldr x0, [x0]
b .L3
.L9:
adrp x0, :got:DEC_Invalid_operation
ldr x0, [x0, #:got_lo12:DEC_Invalid_operation]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L10
adrp x0, :got:DEC_Condition_IO
ldr x0, [x0, #:got_lo12:DEC_Condition_IO]
ldr x0, [x0]
b .L3
.L10:
adrp x0, :got:DEC_Overflow
ldr x0, [x0, #:got_lo12:DEC_Overflow]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L11
adrp x0, :got:DEC_Condition_OV
ldr x0, [x0, #:got_lo12:DEC_Condition_OV]
ldr x0, [x0]
b .L3
.L11:
adrp x0, :got:DEC_Clamped
ldr x0, [x0, #:got_lo12:DEC_Clamped]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L12
adrp x0, :got:DEC_Condition_PA
ldr x0, [x0, #:got_lo12:DEC_Condition_PA]
ldr x0, [x0]
b .L3
.L12:
adrp x0, :got:DEC_Rounded
ldr x0, [x0, #:got_lo12:DEC_Rounded]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L13
adrp x0, :got:DEC_Condition_RO
ldr x0, [x0, #:got_lo12:DEC_Condition_RO]
ldr x0, [x0]
b .L3
.L13:
adrp x0, :got:DEC_Subnormal
ldr x0, [x0, #:got_lo12:DEC_Subnormal]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L14
adrp x0, :got:DEC_Condition_SU
ldr x0, [x0, #:got_lo12:DEC_Condition_SU]
ldr x0, [x0]
b .L3
.L14:
adrp x0, :got:DEC_Underflow
ldr x0, [x0, #:got_lo12:DEC_Underflow]
ldr x0, [x0]
ldr x1, [sp, 24]
cmp x1, x0
bne .L15
adrp x0, :got:DEC_Condition_UN
ldr x0, [x0, #:got_lo12:DEC_Condition_UN]
ldr x0, [x0]
b .L3
.L15:
ldr x0, [sp, 24]
cmp x0, 0
bne .L16
adrp x0, :got:DEC_Condition_ZE
ldr x0, [x0, #:got_lo12:DEC_Condition_ZE]
ldr x0, [x0]
b .L3
.L16:
adrp x0, :got:DEC_Condition_MU
ldr x0, [x0, #:got_lo12:DEC_Condition_MU]
ldr x0, [x0]
.L3:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size decContextStatusToString, .-decContextStatusToString
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
.file "extr_smu7_hwmgr.c_smu7_get_current_pcie_speed.c"
.intel_syntax noprefix
.text
.comm CGS_IND_REG__PCIE,4,4
.comm LC_CURRENT_DATA_RATE,4,4
.comm PCIE_LC_SPEED_CNTL,4,4
.comm ixPCIE_LC_SPEED_CNTL,4,4
.type smu7_get_current_pcie_speed, @function
smu7_get_current_pcie_speed:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -4[rbp], 0
mov edx, DWORD PTR ixPCIE_LC_SPEED_CNTL[rip]
mov ecx, DWORD PTR CGS_IND_REG__PCIE[rip]
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR [rax]
mov esi, ecx
mov edi, eax
call cgs_read_ind_register@PLT
mov DWORD PTR -4[rbp], eax
mov edx, DWORD PTR LC_CURRENT_DATA_RATE[rip]
mov ecx, DWORD PTR PCIE_LC_SPEED_CNTL[rip]
mov eax, DWORD PTR -4[rbp]
mov esi, ecx
mov edi, eax
call PHM_GET_FIELD@PLT
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size smu7_get_current_pcie_speed, .-smu7_get_current_pcie_speed
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv8-a
.file "extr_smu7_hwmgr.c_smu7_get_current_pcie_speed.c"
.text
.comm CGS_IND_REG__PCIE,4,4
.comm LC_CURRENT_DATA_RATE,4,4
.comm PCIE_LC_SPEED_CNTL,4,4
.comm ixPCIE_LC_SPEED_CNTL,4,4
.align 2
.type smu7_get_current_pcie_speed, %function
smu7_get_current_pcie_speed:
.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]
str wzr, [sp, 44]
ldr x0, [sp, 24]
ldr w3, [x0]
adrp x0, :got:CGS_IND_REG__PCIE
ldr x0, [x0, #:got_lo12:CGS_IND_REG__PCIE]
ldr w1, [x0]
adrp x0, :got:ixPCIE_LC_SPEED_CNTL
ldr x0, [x0, #:got_lo12:ixPCIE_LC_SPEED_CNTL]
ldr w0, [x0]
mov w2, w0
mov w0, w3
bl cgs_read_ind_register
str w0, [sp, 44]
adrp x0, :got:PCIE_LC_SPEED_CNTL
ldr x0, [x0, #:got_lo12:PCIE_LC_SPEED_CNTL]
ldr w1, [x0]
adrp x0, :got:LC_CURRENT_DATA_RATE
ldr x0, [x0, #:got_lo12:LC_CURRENT_DATA_RATE]
ldr w0, [x0]
mov w2, w0
ldr w0, [sp, 44]
bl PHM_GET_FIELD
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size smu7_get_current_pcie_speed, .-smu7_get_current_pcie_speed
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
End of preview. Expand
in Dataset Viewer.
- Downloads last month
- 34