x86
stringlengths 152
105k
| arm
stringlengths 579
66.2k
|
---|---|
.text
.intel_syntax noprefix
.file "extr_starfire.c_get_drvinfo.c"
.p2align 4, 0x90 # -- Begin function get_drvinfo
.type get_drvinfo,@function
get_drvinfo: # @get_drvinfo
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 48
mov qword ptr [rbp - 8], rdi
mov qword ptr [rbp - 16], rsi
mov rdi, qword ptr [rbp - 8]
call netdev_priv
mov qword ptr [rbp - 24], rax
mov rax, qword ptr [rbp - 16]
mov edi, dword ptr [rax + 8]
mov esi, dword ptr [DRV_NAME]
mov edx, 4
call strlcpy
mov rcx, qword ptr [rbp - 16]
mov edi, dword ptr [rcx + 4]
mov esi, dword ptr [DRV_VERSION]
mov edx, 4
mov dword ptr [rbp - 28], eax # 4-byte Spill
call strlcpy
mov rcx, qword ptr [rbp - 16]
mov edi, dword ptr [rcx]
mov rcx, qword ptr [rbp - 24]
mov edx, dword ptr [rcx]
mov dword ptr [rbp - 32], edi # 4-byte Spill
mov edi, edx
mov dword ptr [rbp - 36], eax # 4-byte Spill
call pci_name
mov edi, dword ptr [rbp - 32] # 4-byte Reload
mov esi, eax
mov edx, 4
call strlcpy
add rsp, 48
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size get_drvinfo, .Lfunc_end0-get_drvinfo
.cfi_endproc
# -- End function
.type DRV_NAME,@object # @DRV_NAME
.comm DRV_NAME,4,4
.type DRV_VERSION,@object # @DRV_VERSION
.comm DRV_VERSION,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym get_drvinfo
.addrsig_sym netdev_priv
.addrsig_sym strlcpy
.addrsig_sym pci_name
.addrsig_sym DRV_NAME
.addrsig_sym DRV_VERSION
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_starfire.c_get_drvinfo.c"
.p2align 2
.type get_drvinfo,%function
.code 32
get_drvinfo:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #32
sub sp, sp, #32
str r0, [r11, #-4]
str r1, [r11, #-8]
ldr r0, [r11, #-4]
bl netdev_priv
str r0, [r11, #-12]
ldr r0, [r11, #-8]
ldr r0, [r0, #8]
movw r1, :lower16:DRV_NAME
movt r1, :upper16:DRV_NAME
ldr r1, [r1]
mov r2, #4
str r2, [sp, #16]
bl strlcpy
ldr r1, [r11, #-8]
ldr r1, [r1, #4]
movw r2, :lower16:DRV_VERSION
movt r2, :upper16:DRV_VERSION
ldr r2, [r2]
str r0, [sp, #12]
mov r0, r1
mov r1, r2
ldr r2, [sp, #16]
bl strlcpy
ldr r1, [r11, #-8]
ldr r1, [r1]
ldr r2, [r11, #-12]
ldr r2, [r2]
str r0, [sp, #8]
mov r0, r2
str r1, [sp, #4]
bl pci_name
ldr r1, [sp, #4]
str r0, [sp]
mov r0, r1
ldr r1, [sp]
ldr r2, [sp, #16]
bl strlcpy
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size get_drvinfo, .Lfunc_end0-get_drvinfo
.cantunwind
.fnend
.type DRV_NAME,%object
.comm DRV_NAME,4,4
.type DRV_VERSION,%object
.comm DRV_VERSION,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym get_drvinfo
.addrsig_sym netdev_priv
.addrsig_sym strlcpy
.addrsig_sym pci_name
.addrsig_sym DRV_NAME
.addrsig_sym DRV_VERSION
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_esp32_partition.c_check_esp_err.c"
.p2align 4, 0x90 # -- Begin function check_esp_err
.type check_esp_err,@function
check_esp_err: # @check_esp_err
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 16
mov dword ptr [rbp - 4], edi
mov eax, dword ptr [rbp - 4]
cmp eax, dword ptr [ESP_OK]
je .LBB0_2
# %bb.1:
xor eax, eax
sub eax, dword ptr [rbp - 4]
mov edi, eax
call mp_raise_OSError
.LBB0_2:
add rsp, 16
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size check_esp_err, .Lfunc_end0-check_esp_err
.cfi_endproc
# -- End function
.type ESP_OK,@object # @ESP_OK
.comm ESP_OK,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym check_esp_err
.addrsig_sym mp_raise_OSError
.addrsig_sym ESP_OK
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_esp32_partition.c_check_esp_err.c"
.p2align 2
.type check_esp_err,%function
.code 32
check_esp_err:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #8
sub sp, sp, #8
str r0, [sp, #4]
ldr r0, [sp, #4]
movw r1, :lower16:ESP_OK
movt r1, :upper16:ESP_OK
ldr r1, [r1]
cmp r0, r1
beq .LBB0_2
b .LBB0_1
.LBB0_1:
ldr r0, [sp, #4]
rsb r0, r0, #0
bl mp_raise_OSError
b .LBB0_2
.LBB0_2:
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size check_esp_err, .Lfunc_end0-check_esp_err
.cantunwind
.fnend
.type ESP_OK,%object
.comm ESP_OK,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym check_esp_err
.addrsig_sym mp_raise_OSError
.addrsig_sym ESP_OK
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_ioapic.c_kvm_ioapic_reset.c"
.p2align 4, 0x90 # -- Begin function kvm_ioapic_reset
.type kvm_ioapic_reset,@function
kvm_ioapic_reset: # @kvm_ioapic_reset
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 16
mov qword ptr [rbp - 8], rdi
mov rax, qword ptr [rbp - 8]
add rax, 56
mov rdi, rax
call cancel_delayed_work_sync
mov dword ptr [rbp - 12], 0
.LBB0_1: # =>This Inner Loop Header: Depth=1
mov eax, dword ptr [rbp - 12]
cmp eax, dword ptr [IOAPIC_NUM_PINS]
jge .LBB0_4
# %bb.2: # in Loop: Header=BB0_1 Depth=1
mov rax, qword ptr [rbp - 8]
mov rax, qword ptr [rax + 48]
movsxd rcx, dword ptr [rbp - 12]
mov dword ptr [rax + 4*rcx], 1
# %bb.3: # in Loop: Header=BB0_1 Depth=1
mov eax, dword ptr [rbp - 12]
add eax, 1
mov dword ptr [rbp - 12], eax
jmp .LBB0_1
.LBB0_4:
xor esi, esi
mov eax, dword ptr [IOAPIC_DEFAULT_BASE_ADDRESS]
mov rcx, qword ptr [rbp - 8]
mov dword ptr [rcx + 40], eax
mov rcx, qword ptr [rbp - 8]
mov qword ptr [rcx + 32], 0
mov rcx, qword ptr [rbp - 8]
mov qword ptr [rcx + 24], 0
mov rcx, qword ptr [rbp - 8]
mov qword ptr [rcx + 16], 0
mov rcx, qword ptr [rbp - 8]
mov qword ptr [rcx + 8], 0
mov rcx, qword ptr [rbp - 8]
mov edi, dword ptr [rcx]
mov edx, 4
call memset
mov rdi, qword ptr [rbp - 8]
mov dword ptr [rbp - 16], eax # 4-byte Spill
call rtc_irq_eoi_tracking_reset
add rsp, 16
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size kvm_ioapic_reset, .Lfunc_end0-kvm_ioapic_reset
.cfi_endproc
# -- End function
.type IOAPIC_NUM_PINS,@object # @IOAPIC_NUM_PINS
.comm IOAPIC_NUM_PINS,4,4
.type IOAPIC_DEFAULT_BASE_ADDRESS,@object # @IOAPIC_DEFAULT_BASE_ADDRESS
.comm IOAPIC_DEFAULT_BASE_ADDRESS,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym kvm_ioapic_reset
.addrsig_sym cancel_delayed_work_sync
.addrsig_sym memset
.addrsig_sym rtc_irq_eoi_tracking_reset
.addrsig_sym IOAPIC_NUM_PINS
.addrsig_sym IOAPIC_DEFAULT_BASE_ADDRESS
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_ioapic.c_kvm_ioapic_reset.c"
.p2align 2
.type kvm_ioapic_reset,%function
.code 32
kvm_ioapic_reset:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #16
sub sp, sp, #16
str r0, [r11, #-4]
ldr r0, [r11, #-4]
add r0, r0, #28
bl cancel_delayed_work_sync
mov r1, #0
str r1, [sp, #8]
b .LBB0_1
.LBB0_1:
ldr r0, [sp, #8]
movw r1, :lower16:IOAPIC_NUM_PINS
movt r1, :upper16:IOAPIC_NUM_PINS
ldr r1, [r1]
cmp r0, r1
bge .LBB0_4
b .LBB0_2
.LBB0_2:
ldr r0, [r11, #-4]
ldr r0, [r0, #24]
ldr r1, [sp, #8]
mov r2, #1
str r2, [r0, r1, lsl #2]
b .LBB0_3
.LBB0_3:
ldr r0, [sp, #8]
add r0, r0, #1
str r0, [sp, #8]
b .LBB0_1
.LBB0_4:
movw r0, :lower16:IOAPIC_DEFAULT_BASE_ADDRESS
movt r0, :upper16:IOAPIC_DEFAULT_BASE_ADDRESS
ldr r0, [r0]
ldr r1, [r11, #-4]
str r0, [r1, #20]
ldr r0, [r11, #-4]
mov r1, #0
str r1, [r0, #16]
ldr r0, [r11, #-4]
str r1, [r0, #12]
ldr r0, [r11, #-4]
str r1, [r0, #8]
ldr r0, [r11, #-4]
str r1, [r0, #4]
ldr r0, [r11, #-4]
ldr r0, [r0]
mov r2, #4
bl memset
ldr r1, [r11, #-4]
str r0, [sp, #4]
mov r0, r1
bl rtc_irq_eoi_tracking_reset
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size kvm_ioapic_reset, .Lfunc_end0-kvm_ioapic_reset
.cantunwind
.fnend
.type IOAPIC_NUM_PINS,%object
.comm IOAPIC_NUM_PINS,4,4
.type IOAPIC_DEFAULT_BASE_ADDRESS,%object
.comm IOAPIC_DEFAULT_BASE_ADDRESS,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym kvm_ioapic_reset
.addrsig_sym cancel_delayed_work_sync
.addrsig_sym memset
.addrsig_sym rtc_irq_eoi_tracking_reset
.addrsig_sym IOAPIC_NUM_PINS
.addrsig_sym IOAPIC_DEFAULT_BASE_ADDRESS
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_main.c_after_fib.c"
.globl after_fib # -- Begin function after_fib
.p2align 4, 0x90
.type after_fib,@function
after_fib: # @after_fib
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 16
mov qword ptr [rbp - 8], rdi
mov dword ptr [rbp - 12], esi
mov edi, dword ptr [stderr]
mov rax, qword ptr [rbp - 8]
mov rax, qword ptr [rax]
mov edx, dword ptr [rax]
movabs rsi, offset .L.str
call fprintf
add rsp, 16
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size after_fib, .Lfunc_end0-after_fib
.cfi_endproc
# -- End function
.type stderr,@object # @stderr
.comm stderr,4,4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Done calculating %dth fibonacci\n"
.size .L.str, 33
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym fprintf
.addrsig_sym stderr
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_main.c_after_fib.c"
.globl after_fib
.p2align 2
.type after_fib,%function
.code 32
after_fib:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #8
sub sp, sp, #8
str r0, [sp, #4]
str r1, [sp]
movw r0, :lower16:stderr
movt r0, :upper16:stderr
ldr r0, [r0]
ldr r1, [sp, #4]
ldr r1, [r1]
ldr r2, [r1]
movw r1, :lower16:.L.str
movt r1, :upper16:.L.str
bl fprintf
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size after_fib, .Lfunc_end0-after_fib
.cantunwind
.fnend
.type stderr,%object
.comm stderr,4,4
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "Done calculating %dth fibonacci\n"
.size .L.str, 33
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym fprintf
.addrsig_sym stderr
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_soelim.c_usage.c"
.p2align 4, 0x90 # -- Begin function usage
.type usage,@function
usage: # @usage
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 16
mov edi, dword ptr [stderr]
movabs rsi, offset .L.str
call fprintf
mov edi, dword ptr [EXIT_FAILURE]
mov dword ptr [rbp - 4], eax # 4-byte Spill
call exit
.Lfunc_end0:
.size usage, .Lfunc_end0-usage
.cfi_endproc
# -- End function
.type stderr,@object # @stderr
.comm stderr,4,4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "usage: soelim [-Crtv] [-I dir] [files]\n"
.size .L.str, 40
.type EXIT_FAILURE,@object # @EXIT_FAILURE
.comm EXIT_FAILURE,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym usage
.addrsig_sym fprintf
.addrsig_sym exit
.addrsig_sym stderr
.addrsig_sym EXIT_FAILURE
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_soelim.c_usage.c"
.p2align 2
.type usage,%function
.code 32
usage:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #8
sub sp, sp, #8
movw r0, :lower16:stderr
movt r0, :upper16:stderr
ldr r0, [r0]
movw r1, :lower16:.L.str
movt r1, :upper16:.L.str
bl fprintf
movw r1, :lower16:EXIT_FAILURE
movt r1, :upper16:EXIT_FAILURE
ldr r1, [r1]
str r0, [sp, #4]
mov r0, r1
bl exit
.Lfunc_end0:
.size usage, .Lfunc_end0-usage
.cantunwind
.fnend
.type stderr,%object
.comm stderr,4,4
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "usage: soelim [-Crtv] [-I dir] [files]\n"
.size .L.str, 40
.type EXIT_FAILURE,%object
.comm EXIT_FAILURE,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym usage
.addrsig_sym fprintf
.addrsig_sym exit
.addrsig_sym stderr
.addrsig_sym EXIT_FAILURE
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_skl-ssp-clk.c_skl_clk_unprepare.c"
.p2align 4, 0x90 # -- Begin function skl_clk_unprepare
.type skl_clk_unprepare,@function
skl_clk_unprepare: # @skl_clk_unprepare
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 16
mov qword ptr [rbp - 8], rdi
mov rdi, qword ptr [rbp - 8]
call to_skl_clk
xor esi, esi
mov qword ptr [rbp - 16], rax
mov rdi, qword ptr [rbp - 16]
call skl_clk_change_status
add rsp, 16
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size skl_clk_unprepare, .Lfunc_end0-skl_clk_unprepare
.cfi_endproc
# -- End function
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym skl_clk_unprepare
.addrsig_sym to_skl_clk
.addrsig_sym skl_clk_change_status
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_skl-ssp-clk.c_skl_clk_unprepare.c"
.p2align 2
.type skl_clk_unprepare,%function
.code 32
skl_clk_unprepare:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #8
sub sp, sp, #8
str r0, [sp, #4]
ldr r0, [sp, #4]
bl to_skl_clk
str r0, [sp]
ldr r0, [sp]
mov r1, #0
bl skl_clk_change_status
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size skl_clk_unprepare, .Lfunc_end0-skl_clk_unprepare
.cantunwind
.fnend
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym skl_clk_unprepare
.addrsig_sym to_skl_clk
.addrsig_sym skl_clk_change_status
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_intel_ringbuffer.c_intel_ring_advance.c"
.globl intel_ring_advance # -- Begin function intel_ring_advance
.p2align 4, 0x90
.type intel_ring_advance,@function
intel_ring_advance: # @intel_ring_advance
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 32
mov qword ptr [rbp - 8], rdi
mov rax, qword ptr [rbp - 8]
mov rax, qword ptr [rax + 16]
mov rax, qword ptr [rax]
mov qword ptr [rbp - 16], rax
mov rax, qword ptr [rbp - 8]
mov ecx, dword ptr [rax + 4]
sub ecx, 1
mov rax, qword ptr [rbp - 8]
and ecx, dword ptr [rax]
mov dword ptr [rax], ecx
mov rax, qword ptr [rbp - 16]
mov ecx, dword ptr [rax]
mov rdi, qword ptr [rbp - 8]
mov dword ptr [rbp - 20], ecx # 4-byte Spill
call intel_ring_flag
mov ecx, dword ptr [rbp - 20] # 4-byte Reload
and ecx, eax
cmp ecx, 0
je .LBB0_2
# %bb.1:
jmp .LBB0_3
.LBB0_2:
mov rax, qword ptr [rbp - 8]
mov rax, qword ptr [rax + 8]
mov rdi, qword ptr [rbp - 8]
mov rcx, qword ptr [rbp - 8]
mov esi, dword ptr [rcx]
call rax
.LBB0_3:
add rsp, 32
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size intel_ring_advance, .Lfunc_end0-intel_ring_advance
.cfi_endproc
# -- End function
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym intel_ring_flag
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_intel_ringbuffer.c_intel_ring_advance.c"
.globl intel_ring_advance
.p2align 2
.type intel_ring_advance,%function
.code 32
intel_ring_advance:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #16
sub sp, sp, #16
str r0, [r11, #-4]
ldr r0, [r11, #-4]
ldr r0, [r0, #12]
ldr r0, [r0]
str r0, [sp, #8]
ldr r0, [r11, #-4]
ldr r1, [r0]
ldr r2, [r0, #4]
sub r2, r2, #1
and r1, r1, r2
str r1, [r0]
ldr r0, [sp, #8]
ldr r0, [r0]
ldr r1, [r11, #-4]
str r0, [sp, #4]
mov r0, r1
bl intel_ring_flag
ldr r1, [sp, #4]
tst r1, r0
beq .LBB0_2
b .LBB0_1
.LBB0_1:
b .LBB0_3
.LBB0_2:
ldr r0, [r11, #-4]
ldr r1, [r0]
ldr r2, [r0, #8]
blx r2
b .LBB0_3
.LBB0_3:
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size intel_ring_advance, .Lfunc_end0-intel_ring_advance
.cantunwind
.fnend
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym intel_ring_flag
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_jsrun.c_js_replace.c"
.globl js_replace # -- Begin function js_replace
.p2align 4, 0x90
.type js_replace,@function
js_replace: # @js_replace
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 16
mov qword ptr [rbp - 8], rdi
mov dword ptr [rbp - 12], esi
cmp dword ptr [rbp - 12], 0
jge .LBB0_2
# %bb.1:
mov eax, dword ptr [TOP]
add eax, dword ptr [rbp - 12]
mov dword ptr [rbp - 16], eax # 4-byte Spill
jmp .LBB0_3
.LBB0_2:
mov eax, dword ptr [BOT]
add eax, dword ptr [rbp - 12]
mov dword ptr [rbp - 16], eax # 4-byte Spill
.LBB0_3:
mov eax, dword ptr [rbp - 16] # 4-byte Reload
mov dword ptr [rbp - 12], eax
mov eax, dword ptr [rbp - 12]
cmp eax, dword ptr [BOT]
jl .LBB0_5
# %bb.4:
mov eax, dword ptr [rbp - 12]
cmp eax, dword ptr [TOP]
jl .LBB0_6
.LBB0_5:
mov rdi, qword ptr [rbp - 8]
movabs rsi, offset .L.str
call js_error
.LBB0_6:
mov rax, qword ptr [STACK]
mov ecx, dword ptr [TOP]
add ecx, -1
mov dword ptr [TOP], ecx
movsxd rdx, ecx
mov ecx, dword ptr [rax + 4*rdx]
mov rax, qword ptr [STACK]
movsxd rdx, dword ptr [rbp - 12]
mov dword ptr [rax + 4*rdx], ecx
add rsp, 16
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size js_replace, .Lfunc_end0-js_replace
.cfi_endproc
# -- End function
.type TOP,@object # @TOP
.comm TOP,4,4
.type BOT,@object # @BOT
.comm BOT,4,4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "stack error!"
.size .L.str, 13
.type STACK,@object # @STACK
.comm STACK,8,8
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym js_error
.addrsig_sym TOP
.addrsig_sym BOT
.addrsig_sym STACK
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_jsrun.c_js_replace.c"
.globl js_replace
.p2align 2
.type js_replace,%function
.code 32
js_replace:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #16
sub sp, sp, #16
str r0, [r11, #-4]
str r1, [sp, #8]
ldr r0, [sp, #8]
cmn r0, #1
bgt .LBB0_2
b .LBB0_1
.LBB0_1:
movw r0, :lower16:TOP
movt r0, :upper16:TOP
ldr r0, [r0]
ldr r1, [sp, #8]
add r0, r0, r1
str r0, [sp, #4]
b .LBB0_3
.LBB0_2:
movw r0, :lower16:BOT
movt r0, :upper16:BOT
ldr r0, [r0]
ldr r1, [sp, #8]
add r0, r0, r1
str r0, [sp, #4]
b .LBB0_3
.LBB0_3:
ldr r0, [sp, #4]
str r0, [sp, #8]
ldr r0, [sp, #8]
movw r1, :lower16:BOT
movt r1, :upper16:BOT
ldr r1, [r1]
cmp r0, r1
blt .LBB0_5
b .LBB0_4
.LBB0_4:
ldr r0, [sp, #8]
movw r1, :lower16:TOP
movt r1, :upper16:TOP
ldr r1, [r1]
cmp r0, r1
blt .LBB0_6
b .LBB0_5
.LBB0_5:
ldr r0, [r11, #-4]
movw r1, :lower16:.L.str
movt r1, :upper16:.L.str
bl js_error
b .LBB0_6
.LBB0_6:
movw r0, :lower16:STACK
movt r0, :upper16:STACK
ldr r1, [r0]
movw r2, :lower16:TOP
movt r2, :upper16:TOP
ldr r3, [r2]
sub r3, r3, #1
str r3, [r2]
ldr r1, [r1, r3, lsl #2]
ldr r0, [r0]
ldr r2, [sp, #8]
str r1, [r0, r2, lsl #2]
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size js_replace, .Lfunc_end0-js_replace
.cantunwind
.fnend
.type TOP,%object
.comm TOP,4,4
.type BOT,%object
.comm BOT,4,4
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "stack error!"
.size .L.str, 13
.type STACK,%object
.comm STACK,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym js_error
.addrsig_sym TOP
.addrsig_sym BOT
.addrsig_sym STACK
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_ngx_http_xslt_filter_module.c_ngx_http_xslt_body_filter.c"
.p2align 4, 0x90 # -- Begin function ngx_http_xslt_body_filter
.type ngx_http_xslt_body_filter,@function
ngx_http_xslt_body_filter: # @ngx_http_xslt_body_filter
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 80
xor edx, edx
mov qword ptr [rbp - 16], rdi
mov qword ptr [rbp - 24], rsi
mov edi, dword ptr [NGX_LOG_DEBUG_HTTP]
mov rax, qword ptr [rbp - 16]
mov rax, qword ptr [rax]
mov esi, dword ptr [rax]
movabs rcx, offset .L.str
call ngx_log_debug0
cmp qword ptr [rbp - 24], 0
jne .LBB0_2
# %bb.1:
mov rdi, qword ptr [rbp - 16]
mov rsi, qword ptr [rbp - 24]
call ngx_http_next_body_filter
mov qword ptr [rbp - 8], rax
jmp .LBB0_19
.LBB0_2:
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [ngx_http_xslt_filter_module]
call ngx_http_get_module_ctx
mov qword ptr [rbp - 48], rax
cmp qword ptr [rbp - 48], 0
je .LBB0_4
# %bb.3:
mov rax, qword ptr [rbp - 48]
cmp qword ptr [rax + 16], 0
je .LBB0_5
.LBB0_4:
mov rdi, qword ptr [rbp - 16]
mov rsi, qword ptr [rbp - 24]
call ngx_http_next_body_filter
mov qword ptr [rbp - 8], rax
jmp .LBB0_19
.LBB0_5:
mov rax, qword ptr [rbp - 24]
mov qword ptr [rbp - 40], rax
.LBB0_6: # =>This Inner Loop Header: Depth=1
cmp qword ptr [rbp - 40], 0
je .LBB0_18
# %bb.7: # in Loop: Header=BB0_6 Depth=1
mov rdi, qword ptr [rbp - 16]
mov rsi, qword ptr [rbp - 48]
mov rax, qword ptr [rbp - 40]
mov rdx, qword ptr [rax]
call ngx_http_xslt_add_chunk
cmp rax, qword ptr [NGX_OK]
je .LBB0_11
# %bb.8:
mov rax, qword ptr [rbp - 48]
mov rax, qword ptr [rax + 8]
cmp qword ptr [rax + 8], 0
je .LBB0_10
# %bb.9:
mov rax, qword ptr [rbp - 48]
mov rax, qword ptr [rax + 8]
mov rdi, qword ptr [rax + 8]
call xmlFreeDoc
.LBB0_10:
mov rax, qword ptr [rbp - 48]
mov rdi, qword ptr [rax + 8]
call xmlFreeParserCtxt
xor ecx, ecx
mov edx, ecx
mov rdi, qword ptr [rbp - 16]
mov rsi, qword ptr [rbp - 48]
mov dword ptr [rbp - 52], eax # 4-byte Spill
call ngx_http_xslt_send
mov qword ptr [rbp - 8], rax
jmp .LBB0_19
.LBB0_11: # in Loop: Header=BB0_6 Depth=1
mov rax, qword ptr [rbp - 40]
mov rax, qword ptr [rax]
cmp qword ptr [rax + 8], 0
jne .LBB0_13
# %bb.12: # in Loop: Header=BB0_6 Depth=1
mov rax, qword ptr [rbp - 40]
mov rax, qword ptr [rax]
cmp qword ptr [rax], 0
je .LBB0_16
.LBB0_13:
mov rax, qword ptr [rbp - 48]
mov rax, qword ptr [rax + 8]
mov rax, qword ptr [rax + 8]
mov rcx, qword ptr [rbp - 48]
mov qword ptr [rcx], rax
mov rax, qword ptr [rbp - 48]
mov rax, qword ptr [rax + 8]
mov edx, dword ptr [rax]
mov dword ptr [rbp - 28], edx
mov rax, qword ptr [rbp - 48]
mov rdi, qword ptr [rax + 8]
call xmlFreeParserCtxt
cmp dword ptr [rbp - 28], 0
je .LBB0_15
# %bb.14:
mov rdi, qword ptr [rbp - 16]
mov rsi, qword ptr [rbp - 48]
mov rax, qword ptr [rbp - 16]
mov rcx, qword ptr [rbp - 48]
mov qword ptr [rbp - 64], rdi # 8-byte Spill
mov rdi, rax
mov qword ptr [rbp - 72], rsi # 8-byte Spill
mov rsi, rcx
call ngx_http_xslt_apply_stylesheet
mov rdi, qword ptr [rbp - 64] # 8-byte Reload
mov rsi, qword ptr [rbp - 72] # 8-byte Reload
mov rdx, rax
call ngx_http_xslt_send
mov qword ptr [rbp - 8], rax
jmp .LBB0_19
.LBB0_15:
mov rax, qword ptr [rbp - 48]
mov rdi, qword ptr [rax]
call xmlFreeDoc
xor edx, edx
mov edi, dword ptr [NGX_LOG_ERR]
mov rcx, qword ptr [rbp - 16]
mov rcx, qword ptr [rcx]
mov esi, dword ptr [rcx]
movabs rcx, offset .L.str.1
mov dword ptr [rbp - 76], eax # 4-byte Spill
call ngx_log_error
xor edx, edx
# kill: def $rdx killed $edx
mov rdi, qword ptr [rbp - 16]
mov rsi, qword ptr [rbp - 48]
mov dword ptr [rbp - 80], eax # 4-byte Spill
call ngx_http_xslt_send
mov qword ptr [rbp - 8], rax
jmp .LBB0_19
.LBB0_16: # in Loop: Header=BB0_6 Depth=1
jmp .LBB0_17
.LBB0_17: # in Loop: Header=BB0_6 Depth=1
mov rax, qword ptr [rbp - 40]
mov rax, qword ptr [rax + 8]
mov qword ptr [rbp - 40], rax
jmp .LBB0_6
.LBB0_18:
mov rax, qword ptr [NGX_OK]
mov qword ptr [rbp - 8], rax
.LBB0_19:
mov rax, qword ptr [rbp - 8]
add rsp, 80
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size ngx_http_xslt_body_filter, .Lfunc_end0-ngx_http_xslt_body_filter
.cfi_endproc
# -- End function
.type NGX_LOG_DEBUG_HTTP,@object # @NGX_LOG_DEBUG_HTTP
.comm NGX_LOG_DEBUG_HTTP,4,4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "xslt filter body"
.size .L.str, 17
.type ngx_http_xslt_filter_module,@object # @ngx_http_xslt_filter_module
.comm ngx_http_xslt_filter_module,4,4
.type NGX_OK,@object # @NGX_OK
.comm NGX_OK,8,8
.type NGX_LOG_ERR,@object # @NGX_LOG_ERR
.comm NGX_LOG_ERR,4,4
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "not well formed XML document"
.size .L.str.1, 29
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ngx_http_xslt_body_filter
.addrsig_sym ngx_log_debug0
.addrsig_sym ngx_http_next_body_filter
.addrsig_sym ngx_http_get_module_ctx
.addrsig_sym ngx_http_xslt_add_chunk
.addrsig_sym xmlFreeDoc
.addrsig_sym xmlFreeParserCtxt
.addrsig_sym ngx_http_xslt_send
.addrsig_sym ngx_http_xslt_apply_stylesheet
.addrsig_sym ngx_log_error
.addrsig_sym NGX_LOG_DEBUG_HTTP
.addrsig_sym ngx_http_xslt_filter_module
.addrsig_sym NGX_OK
.addrsig_sym NGX_LOG_ERR
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_ngx_http_xslt_filter_module.c_ngx_http_xslt_body_filter.c"
.p2align 2
.type ngx_http_xslt_body_filter,%function
.code 32
ngx_http_xslt_body_filter:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #56
sub sp, sp, #56
str r0, [r11, #-8]
str r1, [r11, #-12]
movw r0, :lower16:NGX_LOG_DEBUG_HTTP
movt r0, :upper16:NGX_LOG_DEBUG_HTTP
ldr r0, [r0]
ldr r1, [r11, #-8]
ldr r1, [r1]
ldr r1, [r1]
movw r3, :lower16:.L.str
movt r3, :upper16:.L.str
mov r2, #0
bl ngx_log_debug0
ldr r1, [r11, #-12]
cmp r1, #0
bne .LBB0_2
b .LBB0_1
.LBB0_1:
ldr r0, [r11, #-8]
ldr r1, [r11, #-12]
bl ngx_http_next_body_filter
str r0, [r11, #-4]
b .LBB0_19
.LBB0_2:
ldr r0, [r11, #-8]
movw r1, :lower16:ngx_http_xslt_filter_module
movt r1, :upper16:ngx_http_xslt_filter_module
ldr r1, [r1]
bl ngx_http_get_module_ctx
str r0, [r11, #-24]
ldr r0, [r11, #-24]
cmp r0, #0
beq .LBB0_4
b .LBB0_3
.LBB0_3:
ldr r0, [r11, #-24]
ldr r0, [r0, #8]
cmp r0, #0
beq .LBB0_5
b .LBB0_4
.LBB0_4:
ldr r0, [r11, #-8]
ldr r1, [r11, #-12]
bl ngx_http_next_body_filter
str r0, [r11, #-4]
b .LBB0_19
.LBB0_5:
ldr r0, [r11, #-12]
str r0, [r11, #-20]
b .LBB0_6
.LBB0_6:
ldr r0, [r11, #-20]
cmp r0, #0
beq .LBB0_18
b .LBB0_7
.LBB0_7:
ldr r0, [r11, #-8]
ldr r1, [r11, #-24]
ldr r2, [r11, #-20]
ldr r2, [r2]
bl ngx_http_xslt_add_chunk
movw r1, :lower16:NGX_OK
movt r1, :upper16:NGX_OK
ldr r1, [r1]
cmp r0, r1
beq .LBB0_11
b .LBB0_8
.LBB0_8:
ldr r0, [r11, #-24]
ldr r0, [r0, #4]
ldr r0, [r0, #4]
cmp r0, #0
beq .LBB0_10
b .LBB0_9
.LBB0_9:
ldr r0, [r11, #-24]
ldr r0, [r0, #4]
ldr r0, [r0, #4]
bl xmlFreeDoc
b .LBB0_10
.LBB0_10:
ldr r0, [r11, #-24]
ldr r0, [r0, #4]
bl xmlFreeParserCtxt
ldr r1, [r11, #-8]
ldr r2, [r11, #-24]
mov r3, #0
str r0, [sp, #28]
mov r0, r1
mov r1, r2
mov r2, r3
bl ngx_http_xslt_send
str r0, [r11, #-4]
b .LBB0_19
.LBB0_11:
ldr r0, [r11, #-20]
ldr r0, [r0]
ldr r0, [r0, #4]
cmp r0, #0
bne .LBB0_13
b .LBB0_12
.LBB0_12:
ldr r0, [r11, #-20]
ldr r0, [r0]
ldr r0, [r0]
cmp r0, #0
beq .LBB0_16
b .LBB0_13
.LBB0_13:
ldr r0, [r11, #-24]
ldr r1, [r0, #4]
ldr r1, [r1, #4]
str r1, [r0]
ldr r0, [r11, #-24]
ldr r0, [r0, #4]
ldr r0, [r0]
str r0, [r11, #-16]
ldr r0, [r11, #-24]
ldr r0, [r0, #4]
bl xmlFreeParserCtxt
ldr r1, [r11, #-16]
cmp r1, #0
beq .LBB0_15
b .LBB0_14
.LBB0_14:
ldr r0, [r11, #-8]
ldr r1, [r11, #-24]
str r0, [sp, #24]
str r1, [sp, #20]
bl ngx_http_xslt_apply_stylesheet
ldr r1, [sp, #24]
str r0, [sp, #16]
mov r0, r1
ldr r1, [sp, #20]
ldr r2, [sp, #16]
bl ngx_http_xslt_send
str r0, [r11, #-4]
b .LBB0_19
.LBB0_15:
ldr r0, [r11, #-24]
ldr r0, [r0]
bl xmlFreeDoc
movw r1, :lower16:NGX_LOG_ERR
movt r1, :upper16:NGX_LOG_ERR
ldr r1, [r1]
ldr r2, [r11, #-8]
ldr r2, [r2]
ldr r2, [r2]
movw r3, :lower16:.L.str.1
movt r3, :upper16:.L.str.1
mov r12, #0
str r0, [sp, #12]
mov r0, r1
mov r1, r2
mov r2, r12
str r12, [sp, #8]
bl ngx_log_error
ldr r1, [r11, #-8]
ldr r2, [r11, #-24]
str r0, [sp, #4]
mov r0, r1
mov r1, r2
ldr r2, [sp, #8]
bl ngx_http_xslt_send
str r0, [r11, #-4]
b .LBB0_19
.LBB0_16:
b .LBB0_17
.LBB0_17:
ldr r0, [r11, #-20]
ldr r0, [r0, #4]
str r0, [r11, #-20]
b .LBB0_6
.LBB0_18:
movw r0, :lower16:NGX_OK
movt r0, :upper16:NGX_OK
ldr r0, [r0]
str r0, [r11, #-4]
b .LBB0_19
.LBB0_19:
ldr r0, [r11, #-4]
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size ngx_http_xslt_body_filter, .Lfunc_end0-ngx_http_xslt_body_filter
.cantunwind
.fnend
.type NGX_LOG_DEBUG_HTTP,%object
.comm NGX_LOG_DEBUG_HTTP,4,4
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "xslt filter body"
.size .L.str, 17
.type ngx_http_xslt_filter_module,%object
.comm ngx_http_xslt_filter_module,4,4
.type NGX_OK,%object
.comm NGX_OK,4,4
.type NGX_LOG_ERR,%object
.comm NGX_LOG_ERR,4,4
.type .L.str.1,%object
.L.str.1:
.asciz "not well formed XML document"
.size .L.str.1, 29
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym ngx_http_xslt_body_filter
.addrsig_sym ngx_log_debug0
.addrsig_sym ngx_http_next_body_filter
.addrsig_sym ngx_http_get_module_ctx
.addrsig_sym ngx_http_xslt_add_chunk
.addrsig_sym xmlFreeDoc
.addrsig_sym xmlFreeParserCtxt
.addrsig_sym ngx_http_xslt_send
.addrsig_sym ngx_http_xslt_apply_stylesheet
.addrsig_sym ngx_log_error
.addrsig_sym NGX_LOG_DEBUG_HTTP
.addrsig_sym ngx_http_xslt_filter_module
.addrsig_sym NGX_OK
.addrsig_sym NGX_LOG_ERR
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_hci_core.c_hci_unregister_proto.c"
.globl hci_unregister_proto # -- Begin function hci_unregister_proto
.p2align 4, 0x90
.type hci_unregister_proto,@function
hci_unregister_proto: # @hci_unregister_proto
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 32
mov qword ptr [rbp - 16], rdi
mov dword ptr [rbp - 20], 0
mov rsi, qword ptr [rbp - 16]
mov rax, qword ptr [rbp - 16]
mov edx, dword ptr [rax + 8]
mov rax, qword ptr [rbp - 16]
mov rcx, qword ptr [rax]
movabs rdi, offset .L.str
call BT_DBG
mov rcx, qword ptr [rbp - 16]
mov rcx, qword ptr [rcx]
cmp rcx, qword ptr [HCI_MAX_PROTO]
jb .LBB0_2
# %bb.1:
xor eax, eax
sub eax, dword ptr [EINVAL]
mov dword ptr [rbp - 4], eax
jmp .LBB0_6
.LBB0_2:
movabs rdi, offset hci_task_lock
call write_lock_bh
mov rcx, qword ptr [hci_proto]
mov rdx, qword ptr [rbp - 16]
mov rdx, qword ptr [rdx]
cmp qword ptr [rcx + 8*rdx], 0
je .LBB0_4
# %bb.3:
mov rax, qword ptr [hci_proto]
mov rcx, qword ptr [rbp - 16]
mov rcx, qword ptr [rcx]
mov qword ptr [rax + 8*rcx], 0
jmp .LBB0_5
.LBB0_4:
xor eax, eax
sub eax, dword ptr [ENOENT]
mov dword ptr [rbp - 20], eax
.LBB0_5:
movabs rdi, offset hci_task_lock
call write_unlock_bh
mov ecx, dword ptr [rbp - 20]
mov dword ptr [rbp - 4], ecx
.LBB0_6:
mov eax, dword ptr [rbp - 4]
add rsp, 32
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size hci_unregister_proto, .Lfunc_end0-hci_unregister_proto
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%p name %s id %d"
.size .L.str, 17
.type HCI_MAX_PROTO,@object # @HCI_MAX_PROTO
.comm HCI_MAX_PROTO,8,8
.type EINVAL,@object # @EINVAL
.comm EINVAL,4,4
.type hci_task_lock,@object # @hci_task_lock
.comm hci_task_lock,4,4
.type hci_proto,@object # @hci_proto
.comm hci_proto,8,8
.type ENOENT,@object # @ENOENT
.comm ENOENT,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym BT_DBG
.addrsig_sym write_lock_bh
.addrsig_sym write_unlock_bh
.addrsig_sym HCI_MAX_PROTO
.addrsig_sym EINVAL
.addrsig_sym hci_task_lock
.addrsig_sym hci_proto
.addrsig_sym ENOENT
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_hci_core.c_hci_unregister_proto.c"
.globl hci_unregister_proto
.p2align 2
.type hci_unregister_proto,%function
.code 32
hci_unregister_proto:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #16
sub sp, sp, #16
str r0, [sp, #8]
mov r0, #0
str r0, [sp, #4]
ldr r0, [sp, #8]
ldr r3, [r0]
ldr r2, [r0, #4]
movw r1, :lower16:.L.str
movt r1, :upper16:.L.str
str r0, [sp]
mov r0, r1
ldr r1, [sp]
bl BT_DBG
ldr r1, [sp, #8]
ldr r1, [r1]
movw r2, :lower16:HCI_MAX_PROTO
movt r2, :upper16:HCI_MAX_PROTO
ldr r2, [r2]
cmp r1, r2
blo .LBB0_2
b .LBB0_1
.LBB0_1:
movw r0, :lower16:EINVAL
movt r0, :upper16:EINVAL
ldr r0, [r0]
rsb r0, r0, #0
str r0, [r11, #-4]
b .LBB0_6
.LBB0_2:
movw r0, :lower16:hci_task_lock
movt r0, :upper16:hci_task_lock
bl write_lock_bh
movw r1, :lower16:hci_proto
movt r1, :upper16:hci_proto
ldr r1, [r1]
ldr r2, [sp, #8]
ldr r2, [r2]
ldr r1, [r1, r2, lsl #2]
cmp r1, #0
beq .LBB0_4
b .LBB0_3
.LBB0_3:
movw r0, :lower16:hci_proto
movt r0, :upper16:hci_proto
ldr r0, [r0]
ldr r1, [sp, #8]
ldr r1, [r1]
mov r2, #0
str r2, [r0, r1, lsl #2]
b .LBB0_5
.LBB0_4:
movw r0, :lower16:ENOENT
movt r0, :upper16:ENOENT
ldr r0, [r0]
rsb r0, r0, #0
str r0, [sp, #4]
b .LBB0_5
.LBB0_5:
movw r0, :lower16:hci_task_lock
movt r0, :upper16:hci_task_lock
bl write_unlock_bh
ldr r1, [sp, #4]
str r1, [r11, #-4]
b .LBB0_6
.LBB0_6:
ldr r0, [r11, #-4]
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size hci_unregister_proto, .Lfunc_end0-hci_unregister_proto
.cantunwind
.fnend
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "%p name %s id %d"
.size .L.str, 17
.type HCI_MAX_PROTO,%object
.comm HCI_MAX_PROTO,4,4
.type EINVAL,%object
.comm EINVAL,4,4
.type hci_task_lock,%object
.comm hci_task_lock,4,4
.type hci_proto,%object
.comm hci_proto,4,4
.type ENOENT,%object
.comm ENOENT,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym BT_DBG
.addrsig_sym write_lock_bh
.addrsig_sym write_unlock_bh
.addrsig_sym HCI_MAX_PROTO
.addrsig_sym EINVAL
.addrsig_sym hci_task_lock
.addrsig_sym hci_proto
.addrsig_sym ENOENT
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_uart_cpu_arm64.c_uart_cpu_getdev.c"
.globl uart_cpu_getdev # -- Begin function uart_cpu_getdev
.p2align 4, 0x90
.type uart_cpu_getdev,@function
uart_cpu_getdev: # @uart_cpu_getdev
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 64
mov dword ptr [rbp - 8], edi
mov qword ptr [rbp - 16], rsi
movabs rax, offset uart_ns8250_class
mov qword ptr [rbp - 24], rax
mov edi, dword ptr [rbp - 8]
mov rsi, qword ptr [rbp - 16]
mov rdx, qword ptr [rbp - 24]
call uart_getenv
mov dword ptr [rbp - 64], eax
cmp dword ptr [rbp - 64], 0
jne .LBB0_2
# %bb.1:
mov dword ptr [rbp - 4], 0
jmp .LBB0_7
.LBB0_2:
mov eax, dword ptr [rbp - 8]
cmp eax, dword ptr [UART_DEV_CONSOLE]
je .LBB0_4
# %bb.3:
mov eax, dword ptr [ENXIO]
mov dword ptr [rbp - 4], eax
jmp .LBB0_7
.LBB0_4:
mov eax, dword ptr [ENXIO]
mov dword ptr [rbp - 64], eax
cmp dword ptr [rbp - 64], 0
je .LBB0_6
# %bb.5:
mov eax, dword ptr [rbp - 64]
mov dword ptr [rbp - 4], eax
jmp .LBB0_7
.LBB0_6:
mov rax, qword ptr [rbp - 16]
mov qword ptr [rax + 48], 0
mov rax, qword ptr [rbp - 48]
mov rcx, qword ptr [rbp - 16]
mov qword ptr [rcx + 40], rax
mov rax, qword ptr [rbp - 56]
mov rcx, qword ptr [rbp - 16]
mov qword ptr [rcx + 32], rax
mov edx, dword ptr [rbp - 60]
mov rax, qword ptr [rbp - 16]
mov dword ptr [rax], edx
mov rax, qword ptr [rbp - 40]
mov rcx, qword ptr [rbp - 16]
mov qword ptr [rcx + 24], rax
mov rdi, qword ptr [rbp - 24]
call uart_getops
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 60], eax
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 4], 8
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 8], 1
mov eax, dword ptr [UART_PARITY_NONE]
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 56], eax
mov eax, dword ptr [rbp - 32]
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 16], eax
mov eax, dword ptr [rbp - 28]
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 20], eax
mov rcx, qword ptr [rbp - 16]
mov eax, dword ptr [rcx + 16]
mov dword ptr [uart_bus_space_mem], eax
mov qword ptr [uart_bus_space_io], 0
mov dword ptr [rbp - 4], 0
.LBB0_7:
mov eax, dword ptr [rbp - 4]
add rsp, 64
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size uart_cpu_getdev, .Lfunc_end0-uart_cpu_getdev
.cfi_endproc
# -- End function
.type uart_ns8250_class,@object # @uart_ns8250_class
.comm uart_ns8250_class,4,4
.type UART_DEV_CONSOLE,@object # @UART_DEV_CONSOLE
.comm UART_DEV_CONSOLE,4,4
.type ENXIO,@object # @ENXIO
.comm ENXIO,4,4
.type UART_PARITY_NONE,@object # @UART_PARITY_NONE
.comm UART_PARITY_NONE,4,4
.type uart_bus_space_mem,@object # @uart_bus_space_mem
.comm uart_bus_space_mem,4,4
.type uart_bus_space_io,@object # @uart_bus_space_io
.comm uart_bus_space_io,8,8
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym uart_getenv
.addrsig_sym uart_getops
.addrsig_sym uart_ns8250_class
.addrsig_sym UART_DEV_CONSOLE
.addrsig_sym ENXIO
.addrsig_sym UART_PARITY_NONE
.addrsig_sym uart_bus_space_mem
.addrsig_sym uart_bus_space_io
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_uart_cpu_arm64.c_uart_cpu_getdev.c"
.globl uart_cpu_getdev
.p2align 2
.type uart_cpu_getdev,%function
.code 32
uart_cpu_getdev:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #48
sub sp, sp, #48
str r0, [r11, #-8]
str r1, [r11, #-12]
movw r0, :lower16:uart_ns8250_class
movt r0, :upper16:uart_ns8250_class
str r0, [r11, #-16]
ldr r0, [r11, #-8]
ldr r1, [r11, #-12]
ldr r2, [r11, #-16]
bl uart_getenv
str r0, [sp, #4]
ldr r0, [sp, #4]
cmp r0, #0
bne .LBB0_2
b .LBB0_1
.LBB0_1:
mov r0, #0
str r0, [r11, #-4]
b .LBB0_7
.LBB0_2:
ldr r0, [r11, #-8]
movw r1, :lower16:UART_DEV_CONSOLE
movt r1, :upper16:UART_DEV_CONSOLE
ldr r1, [r1]
cmp r0, r1
beq .LBB0_4
b .LBB0_3
.LBB0_3:
movw r0, :lower16:ENXIO
movt r0, :upper16:ENXIO
ldr r0, [r0]
str r0, [r11, #-4]
b .LBB0_7
.LBB0_4:
movw r0, :lower16:ENXIO
movt r0, :upper16:ENXIO
ldr r0, [r0]
str r0, [sp, #4]
ldr r0, [sp, #4]
cmp r0, #0
beq .LBB0_6
b .LBB0_5
.LBB0_5:
ldr r0, [sp, #4]
str r0, [r11, #-4]
b .LBB0_7
.LBB0_6:
ldr r0, [r11, #-12]
mov r1, #0
str r1, [r0, #32]
ldr r0, [sp, #16]
ldr r2, [r11, #-12]
str r0, [r2, #28]
ldr r0, [sp, #12]
ldr r2, [r11, #-12]
str r0, [r2, #24]
ldr r0, [sp, #8]
ldr r2, [r11, #-12]
str r0, [r2]
ldr r0, [sp, #20]
ldr r2, [r11, #-12]
str r0, [r2, #20]
ldr r0, [r11, #-16]
str r1, [sp]
bl uart_getops
ldr r1, [r11, #-12]
str r0, [r1, #40]
ldr r0, [r11, #-12]
mov r1, #8
str r1, [r0, #4]
ldr r0, [r11, #-12]
mov r1, #1
str r1, [r0, #8]
movw r0, :lower16:UART_PARITY_NONE
movt r0, :upper16:UART_PARITY_NONE
ldr r0, [r0]
ldr r1, [r11, #-12]
str r0, [r1, #36]
ldr r0, [sp, #24]
ldr r1, [r11, #-12]
str r0, [r1, #12]
ldr r0, [r11, #-20]
ldr r1, [r11, #-12]
str r0, [r1, #16]
ldr r0, [r11, #-12]
ldr r0, [r0, #12]
movw r1, :lower16:uart_bus_space_mem
movt r1, :upper16:uart_bus_space_mem
str r0, [r1]
movw r0, :lower16:uart_bus_space_io
movt r0, :upper16:uart_bus_space_io
ldr r1, [sp]
str r1, [r0]
str r1, [r11, #-4]
b .LBB0_7
.LBB0_7:
ldr r0, [r11, #-4]
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size uart_cpu_getdev, .Lfunc_end0-uart_cpu_getdev
.cantunwind
.fnend
.type uart_ns8250_class,%object
.comm uart_ns8250_class,4,4
.type UART_DEV_CONSOLE,%object
.comm UART_DEV_CONSOLE,4,4
.type ENXIO,%object
.comm ENXIO,4,4
.type UART_PARITY_NONE,%object
.comm UART_PARITY_NONE,4,4
.type uart_bus_space_mem,%object
.comm uart_bus_space_mem,4,4
.type uart_bus_space_io,%object
.comm uart_bus_space_io,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym uart_getenv
.addrsig_sym uart_getops
.addrsig_sym uart_ns8250_class
.addrsig_sym UART_DEV_CONSOLE
.addrsig_sym ENXIO
.addrsig_sym UART_PARITY_NONE
.addrsig_sym uart_bus_space_mem
.addrsig_sym uart_bus_space_io
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_....pcipci.h_pci_dev_specific_disable_acs_redir.c"
.p2align 4, 0x90 # -- Begin function pci_dev_specific_disable_acs_redir
.type pci_dev_specific_disable_acs_redir,@function
pci_dev_specific_disable_acs_redir: # @pci_dev_specific_disable_acs_redir
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
xor eax, eax
mov qword ptr [rbp - 8], rdi
sub eax, dword ptr [ENOTTY]
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size pci_dev_specific_disable_acs_redir, .Lfunc_end0-pci_dev_specific_disable_acs_redir
.cfi_endproc
# -- End function
.type ENOTTY,@object # @ENOTTY
.comm ENOTTY,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym pci_dev_specific_disable_acs_redir
.addrsig_sym ENOTTY
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_....pcipci.h_pci_dev_specific_disable_acs_redir.c"
.p2align 2
.type pci_dev_specific_disable_acs_redir,%function
.code 32
pci_dev_specific_disable_acs_redir:
.fnstart
.pad #4
sub sp, sp, #4
str r0, [sp]
movw r0, :lower16:ENOTTY
movt r0, :upper16:ENOTTY
ldr r0, [r0]
rsb r0, r0, #0
add sp, sp, #4
bx lr
.Lfunc_end0:
.size pci_dev_specific_disable_acs_redir, .Lfunc_end0-pci_dev_specific_disable_acs_redir
.cantunwind
.fnend
.type ENOTTY,%object
.comm ENOTTY,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym pci_dev_specific_disable_acs_redir
.addrsig_sym ENOTTY
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_vf_convolution.c_filter16_7x7.c"
.section .rodata.cst4,"aM",@progbits,4
.p2align 2 # -- Begin function filter16_7x7
.LCPI0_0:
.long 1056964608 # float 0.5
.text
.p2align 4, 0x90
.type filter16_7x7,@function
filter16_7x7: # @filter16_7x7
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 80
mov eax, dword ptr [rbp + 24]
mov r10d, dword ptr [rbp + 16]
mov qword ptr [rbp - 8], rdi
mov dword ptr [rbp - 12], esi
movss dword ptr [rbp - 16], xmm0
movss dword ptr [rbp - 20], xmm1
mov qword ptr [rbp - 32], rdx
mov qword ptr [rbp - 40], rcx
mov dword ptr [rbp - 44], r8d
mov dword ptr [rbp - 48], r9d
mov rcx, qword ptr [rbp - 8]
mov qword ptr [rbp - 56], rcx
mov dword ptr [rbp - 60], 0
.LBB0_1: # =>This Loop Header: Depth=1
# Child Loop BB0_3 Depth 2
mov eax, dword ptr [rbp - 60]
cmp eax, dword ptr [rbp - 12]
jge .LBB0_8
# %bb.2: # in Loop: Header=BB0_1 Depth=1
mov dword ptr [rbp - 68], 0
mov dword ptr [rbp - 64], 0
.LBB0_3: # Parent Loop BB0_1 Depth=1
# => This Inner Loop Header: Depth=2
cmp dword ptr [rbp - 64], 49
jge .LBB0_6
# %bb.4: # in Loop: Header=BB0_3 Depth=2
mov rax, qword ptr [rbp - 40]
movsxd rcx, dword ptr [rbp - 64]
mov rax, qword ptr [rax + 8*rcx]
mov edx, dword ptr [rbp - 60]
shl edx, 1
movsxd rcx, edx
shl rcx, 2
add rax, rcx
mov rdi, rax
call AV_RN16A
mov rcx, qword ptr [rbp - 32]
movsxd rsi, dword ptr [rbp - 64]
imul eax, dword ptr [rcx + 4*rsi]
add eax, dword ptr [rbp - 68]
mov dword ptr [rbp - 68], eax
# %bb.5: # in Loop: Header=BB0_3 Depth=2
mov eax, dword ptr [rbp - 64]
add eax, 1
mov dword ptr [rbp - 64], eax
jmp .LBB0_3
.LBB0_6: # in Loop: Header=BB0_1 Depth=1
xor esi, esi
movss xmm0, dword ptr [rip + .LCPI0_0] # xmm0 = mem[0],zero,zero,zero
cvtsi2ss xmm1, dword ptr [rbp - 68]
mulss xmm1, dword ptr [rbp - 16]
addss xmm1, dword ptr [rbp - 20]
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword ptr [rbp - 68], eax
mov edi, dword ptr [rbp - 68]
mov edx, dword ptr [rbp - 44]
call av_clip
mov rcx, qword ptr [rbp - 56]
movsxd r8, dword ptr [rbp - 60]
mov dword ptr [rcx + 4*r8], eax
# %bb.7: # in Loop: Header=BB0_1 Depth=1
mov eax, dword ptr [rbp - 60]
add eax, 1
mov dword ptr [rbp - 60], eax
jmp .LBB0_1
.LBB0_8:
add rsp, 80
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size filter16_7x7, .Lfunc_end0-filter16_7x7
.cfi_endproc
# -- End function
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym filter16_7x7
.addrsig_sym AV_RN16A
.addrsig_sym av_clip
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_vf_convolution.c_filter16_7x7.c"
.p2align 2
.type filter16_7x7,%function
.code 32
filter16_7x7:
.fnstart
.save {r4, r5, r6, r7, r8, r9, r11, lr}
push {r4, r5, r6, r7, r8, r9, r11, lr}
.setfp r11, sp, #24
add r11, sp, #24
.pad #32
sub sp, sp, #32
ldr r12, [r11, #28]
ldr lr, [r11, #24]
ldr r4, [r11, #20]
ldr r5, [r11, #16]
ldr r6, [r11, #12]
ldr r7, [r11, #8]
mov r8, r3
mov r9, r2
str r0, [sp, #28]
str r1, [sp, #24]
str r2, [sp, #20]
str r3, [sp, #16]
ldr r0, [sp, #28]
str r0, [sp, #12]
mov r0, #0
str r0, [sp, #8]
b .LBB0_1
.LBB0_1:
ldr r0, [sp, #8]
ldr r1, [sp, #24]
cmp r0, r1
bge .LBB0_8
b .LBB0_2
.LBB0_2:
mov r0, #0
str r0, [sp]
str r0, [sp, #4]
b .LBB0_3
.LBB0_3:
ldr r0, [sp, #4]
cmp r0, #48
bgt .LBB0_6
b .LBB0_4
.LBB0_4:
ldr r0, [r11, #12]
ldr r1, [sp, #4]
ldr r0, [r0, r1, lsl #2]
ldr r1, [sp, #8]
add r0, r0, r1, lsl #3
bl AV_RN16A
ldr r1, [r11, #8]
ldr r2, [sp, #4]
ldr r1, [r1, r2, lsl #2]
ldr r2, [sp]
mla r0, r0, r1, r2
str r0, [sp]
b .LBB0_5
.LBB0_5:
ldr r0, [sp, #4]
add r0, r0, #1
str r0, [sp, #4]
b .LBB0_3
.LBB0_6:
ldr r0, [sp]
bl __aeabi_i2f
ldr r1, [sp, #20]
bl __aeabi_fmul
ldr r1, [sp, #16]
bl __aeabi_fadd
mov r1, #1056964608
bl __aeabi_fadd
bl __aeabi_f2iz
str r0, [sp]
ldr r0, [sp]
ldr r2, [r11, #16]
mov r1, #0
bl av_clip
ldr r1, [sp, #12]
ldr r2, [sp, #8]
str r0, [r1, r2, lsl #2]
b .LBB0_7
.LBB0_7:
ldr r0, [sp, #8]
add r0, r0, #1
str r0, [sp, #8]
b .LBB0_1
.LBB0_8:
sub sp, r11, #24
pop {r4, r5, r6, r7, r8, r9, r11, pc}
.Lfunc_end0:
.size filter16_7x7, .Lfunc_end0-filter16_7x7
.cantunwind
.fnend
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym filter16_7x7
.addrsig_sym AV_RN16A
.addrsig_sym av_clip
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_cxgb4_main.c_sync_txq_pidx.c"
.p2align 4, 0x90 # -- Begin function sync_txq_pidx
.type sync_txq_pidx,@function
sync_txq_pidx: # @sync_txq_pidx
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 80
mov qword ptr [rbp - 8], rdi
mov qword ptr [rbp - 16], rsi
mov rax, qword ptr [rbp - 16]
add rax, 16
mov rdi, rax
call spin_lock_bh
mov rdi, qword ptr [rbp - 8]
mov rcx, qword ptr [rbp - 16]
mov rsi, qword ptr [rcx + 32]
lea rdx, [rbp - 24]
lea rcx, [rbp - 32]
mov dword ptr [rbp - 52], eax # 4-byte Spill
call read_eq_indices
mov dword ptr [rbp - 36], eax
cmp dword ptr [rbp - 36], 0
je .LBB0_2
# %bb.1:
jmp .LBB0_8
.LBB0_2:
mov rax, qword ptr [rbp - 16]
mov rax, qword ptr [rax]
cmp rax, qword ptr [rbp - 24]
je .LBB0_7
# %bb.3:
mov rax, qword ptr [rbp - 16]
mov rax, qword ptr [rax]
cmp rax, qword ptr [rbp - 24]
jl .LBB0_5
# %bb.4:
mov rax, qword ptr [rbp - 16]
mov rax, qword ptr [rax]
sub rax, qword ptr [rbp - 24]
mov qword ptr [rbp - 48], rax
jmp .LBB0_6
.LBB0_5:
mov rax, qword ptr [rbp - 16]
mov rax, qword ptr [rax + 8]
sub rax, qword ptr [rbp - 24]
mov rcx, qword ptr [rbp - 16]
add rax, qword ptr [rcx]
mov qword ptr [rbp - 48], rax
.LBB0_6:
mov al, 0
call wmb
mov rdi, qword ptr [rbp - 8]
mov ecx, dword ptr [A_SGE_PF_KDOORBELL]
mov qword ptr [rbp - 64], rdi # 8-byte Spill
mov edi, ecx
mov dword ptr [rbp - 68], eax # 4-byte Spill
call MYPF_REG
mov rdx, qword ptr [rbp - 16]
mov rdi, qword ptr [rdx + 32]
mov dword ptr [rbp - 72], eax # 4-byte Spill
call V_QID
mov rdi, qword ptr [rbp - 48]
mov dword ptr [rbp - 76], eax # 4-byte Spill
call V_PIDX
mov ecx, dword ptr [rbp - 76] # 4-byte Reload
or ecx, eax
mov rdi, qword ptr [rbp - 64] # 8-byte Reload
mov esi, dword ptr [rbp - 72] # 4-byte Reload
mov edx, ecx
call t4_write_reg
.LBB0_7:
jmp .LBB0_8
.LBB0_8:
mov rax, qword ptr [rbp - 16]
mov qword ptr [rax + 24], 0
mov rax, qword ptr [rbp - 16]
add rax, 16
mov rdi, rax
call spin_unlock_bh
cmp dword ptr [rbp - 36], 0
je .LBB0_10
# %bb.9:
mov rdi, qword ptr [rbp - 8]
movabs rsi, offset .L.str
call CH_WARN
.LBB0_10:
add rsp, 80
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size sync_txq_pidx, .Lfunc_end0-sync_txq_pidx
.cfi_endproc
# -- End function
.type A_SGE_PF_KDOORBELL,@object # @A_SGE_PF_KDOORBELL
.comm A_SGE_PF_KDOORBELL,4,4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "DB drop recovery failed.\n"
.size .L.str, 26
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym sync_txq_pidx
.addrsig_sym spin_lock_bh
.addrsig_sym read_eq_indices
.addrsig_sym wmb
.addrsig_sym t4_write_reg
.addrsig_sym MYPF_REG
.addrsig_sym V_QID
.addrsig_sym V_PIDX
.addrsig_sym spin_unlock_bh
.addrsig_sym CH_WARN
.addrsig_sym A_SGE_PF_KDOORBELL
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_cxgb4_main.c_sync_txq_pidx.c"
.p2align 2
.type sync_txq_pidx,%function
.code 32
sync_txq_pidx:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #48
sub sp, sp, #48
str r0, [r11, #-4]
str r1, [r11, #-8]
ldr r0, [r11, #-8]
add r0, r0, #8
bl spin_lock_bh
ldr r1, [r11, #-4]
ldr r2, [r11, #-8]
ldr r2, [r2, #16]
sub r3, r11, #12
sub r12, r11, #16
str r0, [sp, #20]
mov r0, r1
mov r1, r2
mov r2, r3
mov r3, r12
bl read_eq_indices
str r0, [r11, #-20]
ldr r0, [r11, #-20]
cmp r0, #0
beq .LBB0_2
b .LBB0_1
.LBB0_1:
b .LBB0_8
.LBB0_2:
ldr r0, [r11, #-8]
ldr r0, [r0]
ldr r1, [r11, #-12]
cmp r0, r1
beq .LBB0_7
b .LBB0_3
.LBB0_3:
ldr r0, [r11, #-8]
ldr r0, [r0]
ldr r1, [r11, #-12]
cmp r0, r1
blt .LBB0_5
b .LBB0_4
.LBB0_4:
ldr r0, [r11, #-8]
ldr r0, [r0]
ldr r1, [r11, #-12]
sub r0, r0, r1
str r0, [sp, #24]
b .LBB0_6
.LBB0_5:
ldr r0, [r11, #-8]
ldr r1, [r0]
ldr r0, [r0, #4]
ldr r2, [r11, #-12]
sub r0, r0, r2
add r0, r0, r1
str r0, [sp, #24]
b .LBB0_6
.LBB0_6:
bl wmb
ldr r1, [r11, #-4]
movw r2, :lower16:A_SGE_PF_KDOORBELL
movt r2, :upper16:A_SGE_PF_KDOORBELL
ldr r2, [r2]
str r0, [sp, #16]
mov r0, r2
str r1, [sp, #12]
bl MYPF_REG
ldr r1, [r11, #-8]
ldr r1, [r1, #16]
str r0, [sp, #8]
mov r0, r1
bl V_QID
ldr r1, [sp, #24]
str r0, [sp, #4]
mov r0, r1
bl V_PIDX
ldr r1, [sp, #4]
orr r2, r1, r0
ldr r0, [sp, #12]
ldr r1, [sp, #8]
bl t4_write_reg
b .LBB0_7
.LBB0_7:
b .LBB0_8
.LBB0_8:
ldr r0, [r11, #-8]
mov r1, #0
str r1, [r0, #12]
ldr r0, [r11, #-8]
add r0, r0, #8
bl spin_unlock_bh
ldr r1, [r11, #-20]
cmp r1, #0
beq .LBB0_10
b .LBB0_9
.LBB0_9:
ldr r0, [r11, #-4]
movw r1, :lower16:.L.str
movt r1, :upper16:.L.str
bl CH_WARN
b .LBB0_10
.LBB0_10:
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size sync_txq_pidx, .Lfunc_end0-sync_txq_pidx
.cantunwind
.fnend
.type A_SGE_PF_KDOORBELL,%object
.comm A_SGE_PF_KDOORBELL,4,4
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "DB drop recovery failed.\n"
.size .L.str, 26
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym sync_txq_pidx
.addrsig_sym spin_lock_bh
.addrsig_sym read_eq_indices
.addrsig_sym wmb
.addrsig_sym t4_write_reg
.addrsig_sym MYPF_REG
.addrsig_sym V_QID
.addrsig_sym V_PIDX
.addrsig_sym spin_unlock_bh
.addrsig_sym CH_WARN
.addrsig_sym A_SGE_PF_KDOORBELL
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_playpaq_wm8510.c_playpaq_wm8510_init.c"
.p2align 4, 0x90 # -- Begin function playpaq_wm8510_init
.type playpaq_wm8510_init,@function
playpaq_wm8510_init: # @playpaq_wm8510_init
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 64
mov qword ptr [rbp - 8], rdi
mov dword ptr [rbp - 12], 0
.LBB0_1: # =>This Inner Loop Header: Depth=1
mov eax, dword ptr [rbp - 12]
mov rdi, qword ptr [playpaq_dapm_widgets]
mov dword ptr [rbp - 16], eax # 4-byte Spill
call ARRAY_SIZE
mov ecx, dword ptr [rbp - 16] # 4-byte Reload
cmp ecx, eax
jge .LBB0_4
# %bb.2: # in Loop: Header=BB0_1 Depth=1
mov rdi, qword ptr [rbp - 8]
mov rax, qword ptr [playpaq_dapm_widgets]
movsxd rcx, dword ptr [rbp - 12]
shl rcx, 2
add rax, rcx
mov rsi, rax
call snd_soc_dapm_new_control
# %bb.3: # in Loop: Header=BB0_1 Depth=1
mov eax, dword ptr [rbp - 12]
add eax, 1
mov dword ptr [rbp - 12], eax
jmp .LBB0_1
.LBB0_4:
mov rdi, qword ptr [rbp - 8]
mov rsi, qword ptr [intercon]
mov rax, qword ptr [intercon]
mov qword ptr [rbp - 24], rdi # 8-byte Spill
mov rdi, rax
mov qword ptr [rbp - 32], rsi # 8-byte Spill
call ARRAY_SIZE
mov rdi, qword ptr [rbp - 24] # 8-byte Reload
mov rsi, qword ptr [rbp - 32] # 8-byte Reload
mov edx, eax
call snd_soc_dapm_add_routes
mov rdi, qword ptr [rbp - 8]
movabs rsi, offset .L.str
mov dword ptr [rbp - 36], eax # 4-byte Spill
call snd_soc_dapm_enable_pin
mov rdi, qword ptr [rbp - 8]
movabs rsi, offset .L.str.1
mov dword ptr [rbp - 40], eax # 4-byte Spill
call snd_soc_dapm_enable_pin
mov rdi, qword ptr [rbp - 8]
mov dword ptr [rbp - 44], eax # 4-byte Spill
call snd_soc_dapm_sync
mov rcx, qword ptr [rbp - 8]
mov edi, dword ptr [rcx]
mov esi, dword ptr [WM8510_OPCLKDIV]
mov edx, dword ptr [WM8510_OPCLKDIV_1]
or edx, 4
mov dword ptr [rbp - 48], eax # 4-byte Spill
call snd_soc_dai_set_clkdiv
xor edx, edx
mov dword ptr [rbp - 52], eax # 4-byte Spill
mov eax, edx
add rsp, 64
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size playpaq_wm8510_init, .Lfunc_end0-playpaq_wm8510_init
.cfi_endproc
# -- End function
.type playpaq_dapm_widgets,@object # @playpaq_dapm_widgets
.comm playpaq_dapm_widgets,8,8
.type intercon,@object # @intercon
.comm intercon,8,8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Int Mic"
.size .L.str, 8
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "Ext Spk"
.size .L.str.1, 8
.type WM8510_OPCLKDIV,@object # @WM8510_OPCLKDIV
.comm WM8510_OPCLKDIV,4,4
.type WM8510_OPCLKDIV_1,@object # @WM8510_OPCLKDIV_1
.comm WM8510_OPCLKDIV_1,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym playpaq_wm8510_init
.addrsig_sym ARRAY_SIZE
.addrsig_sym snd_soc_dapm_new_control
.addrsig_sym snd_soc_dapm_add_routes
.addrsig_sym snd_soc_dapm_enable_pin
.addrsig_sym snd_soc_dapm_sync
.addrsig_sym snd_soc_dai_set_clkdiv
.addrsig_sym playpaq_dapm_widgets
.addrsig_sym intercon
.addrsig_sym WM8510_OPCLKDIV
.addrsig_sym WM8510_OPCLKDIV_1
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_playpaq_wm8510.c_playpaq_wm8510_init.c"
.p2align 2
.type playpaq_wm8510_init,%function
.code 32
playpaq_wm8510_init:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #48
sub sp, sp, #48
str r0, [r11, #-4]
mov r0, #0
str r0, [r11, #-8]
b .LBB0_1
.LBB0_1:
ldr r0, [r11, #-8]
movw r1, :lower16:playpaq_dapm_widgets
movt r1, :upper16:playpaq_dapm_widgets
ldr r1, [r1]
str r0, [r11, #-12]
mov r0, r1
bl ARRAY_SIZE
ldr r1, [r11, #-12]
cmp r1, r0
bge .LBB0_4
b .LBB0_2
.LBB0_2:
ldr r0, [r11, #-4]
movw r1, :lower16:playpaq_dapm_widgets
movt r1, :upper16:playpaq_dapm_widgets
ldr r1, [r1]
ldr r2, [r11, #-8]
add r1, r1, r2, lsl #2
bl snd_soc_dapm_new_control
b .LBB0_3
.LBB0_3:
ldr r0, [r11, #-8]
add r0, r0, #1
str r0, [r11, #-8]
b .LBB0_1
.LBB0_4:
ldr r0, [r11, #-4]
movw r1, :lower16:intercon
movt r1, :upper16:intercon
ldr r1, [r1]
str r0, [r11, #-16]
mov r0, r1
str r1, [r11, #-20]
bl ARRAY_SIZE
ldr r1, [r11, #-16]
str r0, [sp, #24]
mov r0, r1
ldr r1, [r11, #-20]
ldr r2, [sp, #24]
bl snd_soc_dapm_add_routes
ldr r1, [r11, #-4]
movw r2, :lower16:.L.str
movt r2, :upper16:.L.str
str r0, [sp, #20]
mov r0, r1
mov r1, r2
bl snd_soc_dapm_enable_pin
ldr r1, [r11, #-4]
movw r2, :lower16:.L.str.1
movt r2, :upper16:.L.str.1
str r0, [sp, #16]
mov r0, r1
mov r1, r2
bl snd_soc_dapm_enable_pin
ldr r1, [r11, #-4]
str r0, [sp, #12]
mov r0, r1
bl snd_soc_dapm_sync
ldr r1, [r11, #-4]
ldr r1, [r1]
movw r2, :lower16:WM8510_OPCLKDIV
movt r2, :upper16:WM8510_OPCLKDIV
ldr r2, [r2]
movw r3, :lower16:WM8510_OPCLKDIV_1
movt r3, :upper16:WM8510_OPCLKDIV_1
ldr r3, [r3]
orr r3, r3, #4
str r0, [sp, #8]
mov r0, r1
mov r1, r2
mov r2, r3
bl snd_soc_dai_set_clkdiv
mov r1, #0
str r0, [sp, #4]
mov r0, r1
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size playpaq_wm8510_init, .Lfunc_end0-playpaq_wm8510_init
.cantunwind
.fnend
.type playpaq_dapm_widgets,%object
.comm playpaq_dapm_widgets,4,4
.type intercon,%object
.comm intercon,4,4
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "Int Mic"
.size .L.str, 8
.type .L.str.1,%object
.L.str.1:
.asciz "Ext Spk"
.size .L.str.1, 8
.type WM8510_OPCLKDIV,%object
.comm WM8510_OPCLKDIV,4,4
.type WM8510_OPCLKDIV_1,%object
.comm WM8510_OPCLKDIV_1,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym playpaq_wm8510_init
.addrsig_sym ARRAY_SIZE
.addrsig_sym snd_soc_dapm_new_control
.addrsig_sym snd_soc_dapm_add_routes
.addrsig_sym snd_soc_dapm_enable_pin
.addrsig_sym snd_soc_dapm_sync
.addrsig_sym snd_soc_dai_set_clkdiv
.addrsig_sym playpaq_dapm_widgets
.addrsig_sym intercon
.addrsig_sym WM8510_OPCLKDIV
.addrsig_sym WM8510_OPCLKDIV_1
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_ide-iops.c_ide_config_drive_speed.c"
.globl ide_config_drive_speed # -- Begin function ide_config_drive_speed
.p2align 4, 0x90
.type ide_config_drive_speed,@function
ide_config_drive_speed: # @ide_config_drive_speed
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 112
mov qword ptr [rbp - 16], rdi
mov dword ptr [rbp - 20], esi
mov rax, qword ptr [rbp - 16]
mov rax, qword ptr [rax + 24]
mov qword ptr [rbp - 32], rax
mov rax, qword ptr [rbp - 32]
mov rax, qword ptr [rax + 8]
mov qword ptr [rbp - 40], rax
mov rax, qword ptr [rbp - 16]
mov rax, qword ptr [rax]
mov qword ptr [rbp - 56], rax
mov dword ptr [rbp - 64], 0
mov ecx, dword ptr [rbp - 20]
and ecx, 248
cmp ecx, dword ptr [XFER_PIO_0]
jne .LBB0_3
# %bb.1:
mov rax, qword ptr [rbp - 16]
mov rdi, qword ptr [rax]
call ata_id_has_iordy
cmp rax, 0
jne .LBB0_3
# %bb.2:
jmp .LBB0_15
.LBB0_3:
mov edi, 1
call udelay
mov rcx, qword ptr [rbp - 40]
mov rcx, qword ptr [rcx + 24]
mov rdi, qword ptr [rbp - 16]
mov dword ptr [rbp - 72], eax # 4-byte Spill
call rcx
mov rdi, qword ptr [rbp - 16]
mov esi, 1
mov dword ptr [rbp - 76], eax # 4-byte Spill
call SELECT_MASK
mov edi, 1
mov dword ptr [rbp - 80], eax # 4-byte Spill
call udelay
mov rcx, qword ptr [rbp - 40]
mov rcx, qword ptr [rcx]
mov rdi, qword ptr [rbp - 32]
mov edx, dword ptr [ATA_NIEN]
or edx, dword ptr [ATA_DEVCTL_OBS]
mov esi, edx
mov dword ptr [rbp - 84], eax # 4-byte Spill
call rcx
xor esi, esi
lea rdi, [rbp - 48]
mov edx, 8
mov dword ptr [rbp - 88], eax # 4-byte Spill
call memset
mov edx, dword ptr [SETFEATURES_XFER]
mov dword ptr [rbp - 44], edx
mov edx, dword ptr [rbp - 20]
mov dword ptr [rbp - 48], edx
mov rcx, qword ptr [rbp - 40]
mov rcx, qword ptr [rcx + 16]
mov rdi, qword ptr [rbp - 16]
lea r8, [rbp - 48]
mov edx, dword ptr [IDE_VALID_FEATURE]
or edx, dword ptr [IDE_VALID_NSECT]
mov rsi, r8
mov dword ptr [rbp - 92], eax # 4-byte Spill
call rcx
mov rcx, qword ptr [rbp - 40]
mov rcx, qword ptr [rcx + 8]
mov rdi, qword ptr [rbp - 32]
mov esi, dword ptr [ATA_CMD_SET_FEATURES]
mov dword ptr [rbp - 96], eax # 4-byte Spill
call rcx
mov rcx, qword ptr [rbp - 16]
mov edx, dword ptr [rcx + 8]
and edx, dword ptr [IDE_DFLAG_NIEN_QUIRK]
cmp edx, 0
je .LBB0_5
# %bb.4:
mov rax, qword ptr [rbp - 40]
mov rax, qword ptr [rax]
mov rdi, qword ptr [rbp - 32]
mov esi, dword ptr [ATA_DEVCTL_OBS]
call rax
.LBB0_5:
mov rdi, qword ptr [rbp - 16]
mov rax, qword ptr [rbp - 16]
mov esi, dword ptr [rax + 20]
mov ecx, dword ptr [ATA_BUSY]
or ecx, dword ptr [ATA_DRQ]
or ecx, dword ptr [ATA_ERR]
mov edx, dword ptr [WAIT_CMD]
mov dword ptr [rbp - 100], edx # 4-byte Spill
mov edx, ecx
mov ecx, dword ptr [rbp - 100] # 4-byte Reload
lea r8, [rbp - 68]
call __ide_wait_stat
xor esi, esi
mov dword ptr [rbp - 64], eax
mov rdi, qword ptr [rbp - 16]
call SELECT_MASK
cmp dword ptr [rbp - 64], 0
je .LBB0_7
# %bb.6:
mov rdi, qword ptr [rbp - 16]
mov edx, dword ptr [rbp - 68]
movabs rsi, offset .L.str
call ide_dump_status
mov ecx, dword ptr [rbp - 64]
mov dword ptr [rbp - 4], ecx
jmp .LBB0_34
.LBB0_7:
mov eax, dword ptr [rbp - 20]
cmp eax, dword ptr [XFER_SW_DMA_0]
jl .LBB0_11
# %bb.8:
mov rax, qword ptr [rbp - 56]
mov rcx, qword ptr [ATA_ID_UDMA_MODES]
mov edx, dword ptr [rax + 4*rcx]
and edx, -65281
mov dword ptr [rax + 4*rcx], edx
mov rax, qword ptr [rbp - 56]
mov rcx, qword ptr [ATA_ID_MWDMA_MODES]
mov edx, dword ptr [rax + 4*rcx]
and edx, -1793
mov dword ptr [rax + 4*rcx], edx
mov rax, qword ptr [rbp - 56]
mov rcx, qword ptr [ATA_ID_SWDMA_MODES]
mov edx, dword ptr [rax + 4*rcx]
and edx, -1793
mov dword ptr [rax + 4*rcx], edx
mov rdi, qword ptr [rbp - 56]
call ata_id_is_cfa
cmp rax, 0
je .LBB0_10
# %bb.9:
mov rax, qword ptr [rbp - 56]
mov rcx, qword ptr [ATA_ID_CFA_MODES]
mov edx, dword ptr [rax + 4*rcx]
and edx, -3585
mov dword ptr [rax + 4*rcx], edx
.LBB0_10:
jmp .LBB0_14
.LBB0_11:
mov rdi, qword ptr [rbp - 56]
call ata_id_is_cfa
cmp rax, 0
je .LBB0_13
# %bb.12:
mov rax, qword ptr [rbp - 56]
mov rcx, qword ptr [ATA_ID_CFA_MODES]
mov edx, dword ptr [rax + 4*rcx]
and edx, -449
mov dword ptr [rax + 4*rcx], edx
.LBB0_13:
jmp .LBB0_14
.LBB0_14:
jmp .LBB0_15
.LBB0_15:
mov eax, dword ptr [rbp - 20]
cmp eax, dword ptr [XFER_UDMA_0]
jl .LBB0_17
# %bb.16:
mov eax, dword ptr [rbp - 20]
sub eax, dword ptr [XFER_UDMA_0]
mov ecx, eax
# kill: def $cl killed $ecx
mov eax, 1
shl eax, cl
mov dword ptr [rbp - 60], eax
mov eax, dword ptr [rbp - 60]
shl eax, 8
or eax, dword ptr [rbp - 60]
mov rdx, qword ptr [rbp - 56]
mov rsi, qword ptr [ATA_ID_UDMA_MODES]
or eax, dword ptr [rdx + 4*rsi]
mov dword ptr [rdx + 4*rsi], eax
jmp .LBB0_31
.LBB0_17:
mov rdi, qword ptr [rbp - 56]
call ata_id_is_cfa
cmp rax, 0
je .LBB0_20
# %bb.18:
mov eax, dword ptr [rbp - 20]
cmp eax, dword ptr [XFER_MW_DMA_3]
jl .LBB0_20
# %bb.19:
mov eax, dword ptr [rbp - 20]
sub eax, dword ptr [XFER_MW_DMA_2]
mov dword ptr [rbp - 60], eax
mov eax, dword ptr [rbp - 60]
shl eax, 9
mov rcx, qword ptr [rbp - 56]
mov rdx, qword ptr [ATA_ID_CFA_MODES]
or eax, dword ptr [rcx + 4*rdx]
mov dword ptr [rcx + 4*rdx], eax
jmp .LBB0_30
.LBB0_20:
mov eax, dword ptr [rbp - 20]
cmp eax, dword ptr [XFER_MW_DMA_0]
jl .LBB0_22
# %bb.21:
mov eax, dword ptr [rbp - 20]
sub eax, dword ptr [XFER_MW_DMA_0]
mov ecx, eax
# kill: def $cl killed $ecx
mov eax, 1
shl eax, cl
mov dword ptr [rbp - 60], eax
mov eax, dword ptr [rbp - 60]
shl eax, 8
or eax, dword ptr [rbp - 60]
mov rdx, qword ptr [rbp - 56]
mov rsi, qword ptr [ATA_ID_MWDMA_MODES]
or eax, dword ptr [rdx + 4*rsi]
mov dword ptr [rdx + 4*rsi], eax
jmp .LBB0_29
.LBB0_22:
mov eax, dword ptr [rbp - 20]
cmp eax, dword ptr [XFER_SW_DMA_0]
jl .LBB0_24
# %bb.23:
mov eax, dword ptr [rbp - 20]
sub eax, dword ptr [XFER_SW_DMA_0]
mov ecx, eax
# kill: def $cl killed $ecx
mov eax, 1
shl eax, cl
mov dword ptr [rbp - 60], eax
mov eax, dword ptr [rbp - 60]
shl eax, 8
or eax, dword ptr [rbp - 60]
mov rdx, qword ptr [rbp - 56]
mov rsi, qword ptr [ATA_ID_SWDMA_MODES]
or eax, dword ptr [rdx + 4*rsi]
mov dword ptr [rdx + 4*rsi], eax
jmp .LBB0_28
.LBB0_24:
mov rdi, qword ptr [rbp - 56]
call ata_id_is_cfa
cmp rax, 0
je .LBB0_27
# %bb.25:
mov eax, dword ptr [rbp - 20]
cmp eax, dword ptr [XFER_PIO_5]
jl .LBB0_27
# %bb.26:
mov eax, dword ptr [rbp - 20]
sub eax, dword ptr [XFER_PIO_4]
mov dword ptr [rbp - 60], eax
mov eax, dword ptr [rbp - 60]
shl eax, 6
mov rcx, qword ptr [rbp - 56]
mov rdx, qword ptr [ATA_ID_CFA_MODES]
or eax, dword ptr [rcx + 4*rdx]
mov dword ptr [rcx + 4*rdx], eax
.LBB0_27:
jmp .LBB0_28
.LBB0_28:
jmp .LBB0_29
.LBB0_29:
jmp .LBB0_30
.LBB0_30:
jmp .LBB0_31
.LBB0_31:
mov rax, qword ptr [rbp - 16]
cmp dword ptr [rax + 12], 0
jne .LBB0_33
# %bb.32:
mov eax, dword ptr [rbp - 20]
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 12], eax
.LBB0_33:
mov eax, dword ptr [rbp - 20]
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 16], eax
mov eax, dword ptr [rbp - 64]
mov dword ptr [rbp - 4], eax
.LBB0_34:
mov eax, dword ptr [rbp - 4]
add rsp, 112
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size ide_config_drive_speed, .Lfunc_end0-ide_config_drive_speed
.cfi_endproc
# -- End function
.type XFER_PIO_0,@object # @XFER_PIO_0
.comm XFER_PIO_0,4,4
.type ATA_NIEN,@object # @ATA_NIEN
.comm ATA_NIEN,4,4
.type ATA_DEVCTL_OBS,@object # @ATA_DEVCTL_OBS
.comm ATA_DEVCTL_OBS,4,4
.type SETFEATURES_XFER,@object # @SETFEATURES_XFER
.comm SETFEATURES_XFER,4,4
.type IDE_VALID_FEATURE,@object # @IDE_VALID_FEATURE
.comm IDE_VALID_FEATURE,4,4
.type IDE_VALID_NSECT,@object # @IDE_VALID_NSECT
.comm IDE_VALID_NSECT,4,4
.type ATA_CMD_SET_FEATURES,@object # @ATA_CMD_SET_FEATURES
.comm ATA_CMD_SET_FEATURES,4,4
.type IDE_DFLAG_NIEN_QUIRK,@object # @IDE_DFLAG_NIEN_QUIRK
.comm IDE_DFLAG_NIEN_QUIRK,4,4
.type ATA_BUSY,@object # @ATA_BUSY
.comm ATA_BUSY,4,4
.type ATA_DRQ,@object # @ATA_DRQ
.comm ATA_DRQ,4,4
.type ATA_ERR,@object # @ATA_ERR
.comm ATA_ERR,4,4
.type WAIT_CMD,@object # @WAIT_CMD
.comm WAIT_CMD,4,4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "set_drive_speed_status"
.size .L.str, 23
.type XFER_SW_DMA_0,@object # @XFER_SW_DMA_0
.comm XFER_SW_DMA_0,4,4
.type ATA_ID_UDMA_MODES,@object # @ATA_ID_UDMA_MODES
.comm ATA_ID_UDMA_MODES,8,8
.type ATA_ID_MWDMA_MODES,@object # @ATA_ID_MWDMA_MODES
.comm ATA_ID_MWDMA_MODES,8,8
.type ATA_ID_SWDMA_MODES,@object # @ATA_ID_SWDMA_MODES
.comm ATA_ID_SWDMA_MODES,8,8
.type ATA_ID_CFA_MODES,@object # @ATA_ID_CFA_MODES
.comm ATA_ID_CFA_MODES,8,8
.type XFER_UDMA_0,@object # @XFER_UDMA_0
.comm XFER_UDMA_0,4,4
.type XFER_MW_DMA_3,@object # @XFER_MW_DMA_3
.comm XFER_MW_DMA_3,4,4
.type XFER_MW_DMA_2,@object # @XFER_MW_DMA_2
.comm XFER_MW_DMA_2,4,4
.type XFER_MW_DMA_0,@object # @XFER_MW_DMA_0
.comm XFER_MW_DMA_0,4,4
.type XFER_PIO_5,@object # @XFER_PIO_5
.comm XFER_PIO_5,4,4
.type XFER_PIO_4,@object # @XFER_PIO_4
.comm XFER_PIO_4,4,4
.type IDE_DFLAG_USING_DMA,@object # @IDE_DFLAG_USING_DMA
.comm IDE_DFLAG_USING_DMA,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ata_id_has_iordy
.addrsig_sym udelay
.addrsig_sym SELECT_MASK
.addrsig_sym memset
.addrsig_sym __ide_wait_stat
.addrsig_sym ide_dump_status
.addrsig_sym ata_id_is_cfa
.addrsig_sym XFER_PIO_0
.addrsig_sym ATA_NIEN
.addrsig_sym ATA_DEVCTL_OBS
.addrsig_sym SETFEATURES_XFER
.addrsig_sym IDE_VALID_FEATURE
.addrsig_sym IDE_VALID_NSECT
.addrsig_sym ATA_CMD_SET_FEATURES
.addrsig_sym IDE_DFLAG_NIEN_QUIRK
.addrsig_sym ATA_BUSY
.addrsig_sym ATA_DRQ
.addrsig_sym ATA_ERR
.addrsig_sym WAIT_CMD
.addrsig_sym XFER_SW_DMA_0
.addrsig_sym ATA_ID_UDMA_MODES
.addrsig_sym ATA_ID_MWDMA_MODES
.addrsig_sym ATA_ID_SWDMA_MODES
.addrsig_sym ATA_ID_CFA_MODES
.addrsig_sym XFER_UDMA_0
.addrsig_sym XFER_MW_DMA_3
.addrsig_sym XFER_MW_DMA_2
.addrsig_sym XFER_MW_DMA_0
.addrsig_sym XFER_PIO_5
.addrsig_sym XFER_PIO_4
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_ide-iops.c_ide_config_drive_speed.c"
.globl ide_config_drive_speed
.p2align 2
.type ide_config_drive_speed,%function
.code 32
ide_config_drive_speed:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #104
sub sp, sp, #104
str r0, [r11, #-8]
str r1, [r11, #-12]
ldr r0, [r11, #-8]
ldr r0, [r0, #20]
str r0, [r11, #-16]
ldr r0, [r11, #-16]
ldr r0, [r0, #4]
str r0, [r11, #-20]
ldr r0, [r11, #-8]
ldr r0, [r0]
str r0, [r11, #-32]
mov r0, #0
str r0, [r11, #-40]
ldr r0, [r11, #-12]
and r0, r0, #248
movw r1, :lower16:XFER_PIO_0
movt r1, :upper16:XFER_PIO_0
ldr r1, [r1]
cmp r0, r1
bne .LBB0_3
b .LBB0_1
.LBB0_1:
ldr r0, [r11, #-8]
ldr r0, [r0]
bl ata_id_has_iordy
cmp r0, #0
bne .LBB0_3
b .LBB0_2
.LBB0_2:
b .LBB0_15
.LBB0_3:
mov r0, #1
str r0, [r11, #-48]
bl udelay
ldr r1, [r11, #-20]
ldr r1, [r1, #12]
ldr r2, [r11, #-8]
str r0, [sp, #52]
mov r0, r2
blx r1
ldr r1, [r11, #-8]
str r0, [sp, #48]
mov r0, r1
ldr r1, [r11, #-48]
bl SELECT_MASK
ldr r1, [r11, #-48]
str r0, [sp, #44]
mov r0, r1
bl udelay
ldr r1, [r11, #-20]
ldr r1, [r1]
ldr r2, [r11, #-16]
movw r3, :lower16:ATA_NIEN
movt r3, :upper16:ATA_NIEN
ldr r3, [r3]
movw r12, :lower16:ATA_DEVCTL_OBS
movt r12, :upper16:ATA_DEVCTL_OBS
ldr r12, [r12]
orr r3, r3, r12
str r0, [sp, #40]
mov r0, r2
str r1, [sp, #36]
mov r1, r3
ldr r2, [sp, #36]
blx r2
sub r1, r11, #28
mov r2, #0
mov r3, #8
str r0, [sp, #32]
mov r0, r1
str r1, [sp, #28]
mov r1, r2
mov r2, r3
bl memset
movw r1, :lower16:SETFEATURES_XFER
movt r1, :upper16:SETFEATURES_XFER
ldr r1, [r1]
str r1, [r11, #-24]
ldr r1, [r11, #-12]
str r1, [r11, #-28]
ldr r1, [r11, #-20]
ldr r1, [r1, #8]
ldr r2, [r11, #-8]
movw r3, :lower16:IDE_VALID_FEATURE
movt r3, :upper16:IDE_VALID_FEATURE
ldr r3, [r3]
movw r12, :lower16:IDE_VALID_NSECT
movt r12, :upper16:IDE_VALID_NSECT
ldr r12, [r12]
orr r3, r3, r12
str r0, [sp, #24]
mov r0, r2
ldr r2, [sp, #28]
str r1, [sp, #20]
mov r1, r2
mov r2, r3
ldr r3, [sp, #20]
blx r3
ldr r1, [r11, #-20]
ldr r1, [r1, #4]
ldr r2, [r11, #-16]
movw r3, :lower16:ATA_CMD_SET_FEATURES
movt r3, :upper16:ATA_CMD_SET_FEATURES
ldr r3, [r3]
str r0, [sp, #16]
mov r0, r2
str r1, [sp, #12]
mov r1, r3
ldr r2, [sp, #12]
blx r2
ldr r1, [r11, #-8]
ldr r1, [r1, #4]
movw r2, :lower16:IDE_DFLAG_NIEN_QUIRK
movt r2, :upper16:IDE_DFLAG_NIEN_QUIRK
ldr r2, [r2]
tst r1, r2
beq .LBB0_5
b .LBB0_4
.LBB0_4:
ldr r0, [r11, #-20]
ldr r0, [r0]
ldr r1, [r11, #-16]
movw r2, :lower16:ATA_DEVCTL_OBS
movt r2, :upper16:ATA_DEVCTL_OBS
ldr r2, [r2]
str r0, [sp, #8]
mov r0, r1
mov r1, r2
ldr r2, [sp, #8]
blx r2
b .LBB0_5
.LBB0_5:
ldr r0, [r11, #-8]
ldr r1, [r0, #16]
movw r2, :lower16:ATA_BUSY
movt r2, :upper16:ATA_BUSY
ldr r2, [r2]
movw r3, :lower16:ATA_DRQ
movt r3, :upper16:ATA_DRQ
ldr r3, [r3]
orr r2, r2, r3
movw r3, :lower16:ATA_ERR
movt r3, :upper16:ATA_ERR
ldr r3, [r3]
orr r2, r2, r3
movw r3, :lower16:WAIT_CMD
movt r3, :upper16:WAIT_CMD
ldr r3, [r3]
mov r12, sp
sub lr, r11, #44
str lr, [r12]
bl __ide_wait_stat
str r0, [r11, #-40]
ldr r0, [r11, #-8]
mov r1, #0
bl SELECT_MASK
ldr r1, [r11, #-40]
cmp r1, #0
beq .LBB0_7
b .LBB0_6
.LBB0_6:
ldr r0, [r11, #-8]
ldr r2, [r11, #-44]
movw r1, :lower16:.L.str
movt r1, :upper16:.L.str
bl ide_dump_status
ldr r1, [r11, #-40]
str r1, [r11, #-4]
b .LBB0_34
.LBB0_7:
ldr r0, [r11, #-12]
movw r1, :lower16:XFER_SW_DMA_0
movt r1, :upper16:XFER_SW_DMA_0
ldr r1, [r1]
cmp r0, r1
blt .LBB0_11
b .LBB0_8
.LBB0_8:
ldr r0, [r11, #-32]
movw r1, :lower16:ATA_ID_UDMA_MODES
movt r1, :upper16:ATA_ID_UDMA_MODES
ldr r1, [r1]
ldr r2, [r0, r1, lsl #2]
bic r2, r2, #65280
str r2, [r0, r1, lsl #2]
ldr r0, [r11, #-32]
movw r1, :lower16:ATA_ID_MWDMA_MODES
movt r1, :upper16:ATA_ID_MWDMA_MODES
ldr r1, [r1]
ldr r2, [r0, r1, lsl #2]
bic r2, r2, #1792
str r2, [r0, r1, lsl #2]
ldr r0, [r11, #-32]
movw r1, :lower16:ATA_ID_SWDMA_MODES
movt r1, :upper16:ATA_ID_SWDMA_MODES
ldr r1, [r1]
ldr r2, [r0, r1, lsl #2]
bic r2, r2, #1792
str r2, [r0, r1, lsl #2]
ldr r0, [r11, #-32]
bl ata_id_is_cfa
cmp r0, #0
beq .LBB0_10
b .LBB0_9
.LBB0_9:
ldr r0, [r11, #-32]
movw r1, :lower16:ATA_ID_CFA_MODES
movt r1, :upper16:ATA_ID_CFA_MODES
ldr r1, [r1]
ldr r2, [r0, r1, lsl #2]
bic r2, r2, #3584
str r2, [r0, r1, lsl #2]
b .LBB0_10
.LBB0_10:
b .LBB0_14
.LBB0_11:
ldr r0, [r11, #-32]
bl ata_id_is_cfa
cmp r0, #0
beq .LBB0_13
b .LBB0_12
.LBB0_12:
ldr r0, [r11, #-32]
movw r1, :lower16:ATA_ID_CFA_MODES
movt r1, :upper16:ATA_ID_CFA_MODES
ldr r1, [r1]
ldr r2, [r0, r1, lsl #2]
bic r2, r2, #448
str r2, [r0, r1, lsl #2]
b .LBB0_13
.LBB0_13:
b .LBB0_14
.LBB0_14:
b .LBB0_15
.LBB0_15:
ldr r0, [r11, #-12]
movw r1, :lower16:XFER_UDMA_0
movt r1, :upper16:XFER_UDMA_0
ldr r1, [r1]
cmp r0, r1
blt .LBB0_17
b .LBB0_16
.LBB0_16:
ldr r0, [r11, #-12]
movw r1, :lower16:XFER_UDMA_0
movt r1, :upper16:XFER_UDMA_0
ldr r1, [r1]
sub r0, r0, r1
mov r1, #1
lsl r0, r1, r0
str r0, [r11, #-36]
ldr r0, [r11, #-36]
orr r0, r0, r0, lsl #8
ldr r1, [r11, #-32]
movw r2, :lower16:ATA_ID_UDMA_MODES
movt r2, :upper16:ATA_ID_UDMA_MODES
ldr r2, [r2]
ldr r3, [r1, r2, lsl #2]
orr r0, r3, r0
str r0, [r1, r2, lsl #2]
b .LBB0_31
.LBB0_17:
ldr r0, [r11, #-32]
bl ata_id_is_cfa
cmp r0, #0
beq .LBB0_20
b .LBB0_18
.LBB0_18:
ldr r0, [r11, #-12]
movw r1, :lower16:XFER_MW_DMA_3
movt r1, :upper16:XFER_MW_DMA_3
ldr r1, [r1]
cmp r0, r1
blt .LBB0_20
b .LBB0_19
.LBB0_19:
ldr r0, [r11, #-12]
movw r1, :lower16:XFER_MW_DMA_2
movt r1, :upper16:XFER_MW_DMA_2
ldr r1, [r1]
sub r0, r0, r1
str r0, [r11, #-36]
ldr r0, [r11, #-36]
ldr r1, [r11, #-32]
movw r2, :lower16:ATA_ID_CFA_MODES
movt r2, :upper16:ATA_ID_CFA_MODES
ldr r2, [r2]
ldr r3, [r1, r2, lsl #2]
orr r0, r3, r0, lsl #9
str r0, [r1, r2, lsl #2]
b .LBB0_30
.LBB0_20:
ldr r0, [r11, #-12]
movw r1, :lower16:XFER_MW_DMA_0
movt r1, :upper16:XFER_MW_DMA_0
ldr r1, [r1]
cmp r0, r1
blt .LBB0_22
b .LBB0_21
.LBB0_21:
ldr r0, [r11, #-12]
movw r1, :lower16:XFER_MW_DMA_0
movt r1, :upper16:XFER_MW_DMA_0
ldr r1, [r1]
sub r0, r0, r1
mov r1, #1
lsl r0, r1, r0
str r0, [r11, #-36]
ldr r0, [r11, #-36]
orr r0, r0, r0, lsl #8
ldr r1, [r11, #-32]
movw r2, :lower16:ATA_ID_MWDMA_MODES
movt r2, :upper16:ATA_ID_MWDMA_MODES
ldr r2, [r2]
ldr r3, [r1, r2, lsl #2]
orr r0, r3, r0
str r0, [r1, r2, lsl #2]
b .LBB0_29
.LBB0_22:
ldr r0, [r11, #-12]
movw r1, :lower16:XFER_SW_DMA_0
movt r1, :upper16:XFER_SW_DMA_0
ldr r1, [r1]
cmp r0, r1
blt .LBB0_24
b .LBB0_23
.LBB0_23:
ldr r0, [r11, #-12]
movw r1, :lower16:XFER_SW_DMA_0
movt r1, :upper16:XFER_SW_DMA_0
ldr r1, [r1]
sub r0, r0, r1
mov r1, #1
lsl r0, r1, r0
str r0, [r11, #-36]
ldr r0, [r11, #-36]
orr r0, r0, r0, lsl #8
ldr r1, [r11, #-32]
movw r2, :lower16:ATA_ID_SWDMA_MODES
movt r2, :upper16:ATA_ID_SWDMA_MODES
ldr r2, [r2]
ldr r3, [r1, r2, lsl #2]
orr r0, r3, r0
str r0, [r1, r2, lsl #2]
b .LBB0_28
.LBB0_24:
ldr r0, [r11, #-32]
bl ata_id_is_cfa
cmp r0, #0
beq .LBB0_27
b .LBB0_25
.LBB0_25:
ldr r0, [r11, #-12]
movw r1, :lower16:XFER_PIO_5
movt r1, :upper16:XFER_PIO_5
ldr r1, [r1]
cmp r0, r1
blt .LBB0_27
b .LBB0_26
.LBB0_26:
ldr r0, [r11, #-12]
movw r1, :lower16:XFER_PIO_4
movt r1, :upper16:XFER_PIO_4
ldr r1, [r1]
sub r0, r0, r1
str r0, [r11, #-36]
ldr r0, [r11, #-36]
ldr r1, [r11, #-32]
movw r2, :lower16:ATA_ID_CFA_MODES
movt r2, :upper16:ATA_ID_CFA_MODES
ldr r2, [r2]
ldr r3, [r1, r2, lsl #2]
orr r0, r3, r0, lsl #6
str r0, [r1, r2, lsl #2]
b .LBB0_27
.LBB0_27:
b .LBB0_28
.LBB0_28:
b .LBB0_29
.LBB0_29:
b .LBB0_30
.LBB0_30:
b .LBB0_31
.LBB0_31:
ldr r0, [r11, #-8]
ldr r0, [r0, #8]
cmp r0, #0
bne .LBB0_33
b .LBB0_32
.LBB0_32:
ldr r0, [r11, #-12]
ldr r1, [r11, #-8]
str r0, [r1, #8]
b .LBB0_33
.LBB0_33:
ldr r0, [r11, #-12]
ldr r1, [r11, #-8]
str r0, [r1, #12]
ldr r0, [r11, #-40]
str r0, [r11, #-4]
b .LBB0_34
.LBB0_34:
ldr r0, [r11, #-4]
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size ide_config_drive_speed, .Lfunc_end0-ide_config_drive_speed
.cantunwind
.fnend
.type XFER_PIO_0,%object
.comm XFER_PIO_0,4,4
.type ATA_NIEN,%object
.comm ATA_NIEN,4,4
.type ATA_DEVCTL_OBS,%object
.comm ATA_DEVCTL_OBS,4,4
.type SETFEATURES_XFER,%object
.comm SETFEATURES_XFER,4,4
.type IDE_VALID_FEATURE,%object
.comm IDE_VALID_FEATURE,4,4
.type IDE_VALID_NSECT,%object
.comm IDE_VALID_NSECT,4,4
.type ATA_CMD_SET_FEATURES,%object
.comm ATA_CMD_SET_FEATURES,4,4
.type IDE_DFLAG_NIEN_QUIRK,%object
.comm IDE_DFLAG_NIEN_QUIRK,4,4
.type ATA_BUSY,%object
.comm ATA_BUSY,4,4
.type ATA_DRQ,%object
.comm ATA_DRQ,4,4
.type ATA_ERR,%object
.comm ATA_ERR,4,4
.type WAIT_CMD,%object
.comm WAIT_CMD,4,4
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "set_drive_speed_status"
.size .L.str, 23
.type XFER_SW_DMA_0,%object
.comm XFER_SW_DMA_0,4,4
.type ATA_ID_UDMA_MODES,%object
.comm ATA_ID_UDMA_MODES,4,4
.type ATA_ID_MWDMA_MODES,%object
.comm ATA_ID_MWDMA_MODES,4,4
.type ATA_ID_SWDMA_MODES,%object
.comm ATA_ID_SWDMA_MODES,4,4
.type ATA_ID_CFA_MODES,%object
.comm ATA_ID_CFA_MODES,4,4
.type XFER_UDMA_0,%object
.comm XFER_UDMA_0,4,4
.type XFER_MW_DMA_3,%object
.comm XFER_MW_DMA_3,4,4
.type XFER_MW_DMA_2,%object
.comm XFER_MW_DMA_2,4,4
.type XFER_MW_DMA_0,%object
.comm XFER_MW_DMA_0,4,4
.type XFER_PIO_5,%object
.comm XFER_PIO_5,4,4
.type XFER_PIO_4,%object
.comm XFER_PIO_4,4,4
.type IDE_DFLAG_USING_DMA,%object
.comm IDE_DFLAG_USING_DMA,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym ata_id_has_iordy
.addrsig_sym udelay
.addrsig_sym SELECT_MASK
.addrsig_sym memset
.addrsig_sym __ide_wait_stat
.addrsig_sym ide_dump_status
.addrsig_sym ata_id_is_cfa
.addrsig_sym XFER_PIO_0
.addrsig_sym ATA_NIEN
.addrsig_sym ATA_DEVCTL_OBS
.addrsig_sym SETFEATURES_XFER
.addrsig_sym IDE_VALID_FEATURE
.addrsig_sym IDE_VALID_NSECT
.addrsig_sym ATA_CMD_SET_FEATURES
.addrsig_sym IDE_DFLAG_NIEN_QUIRK
.addrsig_sym ATA_BUSY
.addrsig_sym ATA_DRQ
.addrsig_sym ATA_ERR
.addrsig_sym WAIT_CMD
.addrsig_sym XFER_SW_DMA_0
.addrsig_sym ATA_ID_UDMA_MODES
.addrsig_sym ATA_ID_MWDMA_MODES
.addrsig_sym ATA_ID_SWDMA_MODES
.addrsig_sym ATA_ID_CFA_MODES
.addrsig_sym XFER_UDMA_0
.addrsig_sym XFER_MW_DMA_3
.addrsig_sym XFER_MW_DMA_2
.addrsig_sym XFER_MW_DMA_0
.addrsig_sym XFER_PIO_5
.addrsig_sym XFER_PIO_4
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_t_swapcontext.c_swapfunc.c"
.p2align 4, 0x90 # -- Begin function swapfunc
.type swapfunc,@function
swapfunc: # @swapfunc
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 16
mov qword ptr [rbp - 8], rdi
mov al, 0
call _lwp_getprivate
mov dword ptr [ntls], eax
mov esi, dword ptr [ntls]
movabs rdi, offset .L.str
mov al, 0
call printf
cmp qword ptr [alter_tlsbase], 0
je .LBB0_2
# %bb.1:
mov edi, dword ptr [ntls]
movabs rsi, offset val1
call ATF_REQUIRE_EQ
movabs rdi, offset .L.str.1
mov dword ptr [rbp - 12], eax # 4-byte Spill
mov al, 0
call printf
jmp .LBB0_3
.LBB0_2:
mov edi, dword ptr [ntls]
movabs rsi, offset val2
call ATF_REQUIRE_EQ
movabs rdi, offset .L.str.2
mov dword ptr [rbp - 16], eax # 4-byte Spill
mov al, 0
call printf
.LBB0_3:
movabs rdi, offset nctx
movabs rsi, offset octx
call swapcontext
mov edi, eax
call ATF_REQUIRE
add rsp, 16
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size swapfunc, .Lfunc_end0-swapfunc
.cfi_endproc
# -- End function
.type ntls,@object # @ntls
.comm ntls,4,4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "after swapcontext TLS pointer = %p\n"
.size .L.str, 36
.type alter_tlsbase,@object # @alter_tlsbase
.comm alter_tlsbase,8,8
.type val1,@object # @val1
.comm val1,4,4
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "TLS pointer modified by swapcontext()\n"
.size .L.str.1, 39
.type val2,@object # @val2
.comm val2,4,4
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "TLS pointer left untouched by swapcontext()\n"
.size .L.str.2, 45
.type nctx,@object # @nctx
.comm nctx,4,4
.type octx,@object # @octx
.comm octx,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym swapfunc
.addrsig_sym _lwp_getprivate
.addrsig_sym printf
.addrsig_sym ATF_REQUIRE_EQ
.addrsig_sym ATF_REQUIRE
.addrsig_sym swapcontext
.addrsig_sym ntls
.addrsig_sym alter_tlsbase
.addrsig_sym val1
.addrsig_sym val2
.addrsig_sym nctx
.addrsig_sym octx
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_t_swapcontext.c_swapfunc.c"
.p2align 2
.type swapfunc,%function
.code 32
swapfunc:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #16
sub sp, sp, #16
str r0, [r11, #-4]
bl _lwp_getprivate
movw r1, :lower16:ntls
movt r1, :upper16:ntls
str r0, [r1]
ldr r1, [r1]
movw r0, :lower16:.L.str
movt r0, :upper16:.L.str
bl printf
movw r1, :lower16:alter_tlsbase
movt r1, :upper16:alter_tlsbase
ldr r1, [r1]
cmp r1, #0
beq .LBB0_2
b .LBB0_1
.LBB0_1:
movw r0, :lower16:ntls
movt r0, :upper16:ntls
ldr r0, [r0]
movw r1, :lower16:val1
movt r1, :upper16:val1
bl ATF_REQUIRE_EQ
movw r1, :lower16:.L.str.1
movt r1, :upper16:.L.str.1
str r0, [sp, #8]
mov r0, r1
bl printf
b .LBB0_3
.LBB0_2:
movw r0, :lower16:ntls
movt r0, :upper16:ntls
ldr r0, [r0]
movw r1, :lower16:val2
movt r1, :upper16:val2
bl ATF_REQUIRE_EQ
movw r1, :lower16:.L.str.2
movt r1, :upper16:.L.str.2
str r0, [sp, #4]
mov r0, r1
bl printf
b .LBB0_3
.LBB0_3:
movw r0, :lower16:nctx
movt r0, :upper16:nctx
movw r1, :lower16:octx
movt r1, :upper16:octx
bl swapcontext
bl ATF_REQUIRE
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size swapfunc, .Lfunc_end0-swapfunc
.cantunwind
.fnend
.type ntls,%object
.comm ntls,4,4
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "after swapcontext TLS pointer = %p\n"
.size .L.str, 36
.type alter_tlsbase,%object
.comm alter_tlsbase,4,4
.type val1,%object
.comm val1,4,4
.type .L.str.1,%object
.L.str.1:
.asciz "TLS pointer modified by swapcontext()\n"
.size .L.str.1, 39
.type val2,%object
.comm val2,4,4
.type .L.str.2,%object
.L.str.2:
.asciz "TLS pointer left untouched by swapcontext()\n"
.size .L.str.2, 45
.type nctx,%object
.comm nctx,4,4
.type octx,%object
.comm octx,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym swapfunc
.addrsig_sym _lwp_getprivate
.addrsig_sym printf
.addrsig_sym ATF_REQUIRE_EQ
.addrsig_sym ATF_REQUIRE
.addrsig_sym swapcontext
.addrsig_sym ntls
.addrsig_sym alter_tlsbase
.addrsig_sym val1
.addrsig_sym val2
.addrsig_sym nctx
.addrsig_sym octx
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_shell.c_line_contains_semicolon.c"
.p2align 4, 0x90 # -- Begin function line_contains_semicolon
.type line_contains_semicolon,@function
line_contains_semicolon: # @line_contains_semicolon
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
mov qword ptr [rbp - 16], rdi
mov dword ptr [rbp - 20], esi
mov dword ptr [rbp - 24], 0
.LBB0_1: # =>This Inner Loop Header: Depth=1
mov eax, dword ptr [rbp - 24]
cmp eax, dword ptr [rbp - 20]
jge .LBB0_6
# %bb.2: # in Loop: Header=BB0_1 Depth=1
mov rax, qword ptr [rbp - 16]
movsxd rcx, dword ptr [rbp - 24]
movsx edx, byte ptr [rax + rcx]
cmp edx, 59
jne .LBB0_4
# %bb.3:
mov dword ptr [rbp - 4], 1
jmp .LBB0_7
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
jmp .LBB0_5
.LBB0_5: # in Loop: Header=BB0_1 Depth=1
mov eax, dword ptr [rbp - 24]
add eax, 1
mov dword ptr [rbp - 24], eax
jmp .LBB0_1
.LBB0_6:
mov dword ptr [rbp - 4], 0
.LBB0_7:
mov eax, dword ptr [rbp - 4]
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size line_contains_semicolon, .Lfunc_end0-line_contains_semicolon
.cfi_endproc
# -- End function
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym line_contains_semicolon
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_shell.c_line_contains_semicolon.c"
.p2align 2
.type line_contains_semicolon,%function
.code 32
line_contains_semicolon:
.fnstart
.pad #16
sub sp, sp, #16
str r0, [sp, #8]
str r1, [sp, #4]
mov r0, #0
str r0, [sp]
b .LBB0_1
.LBB0_1:
ldr r0, [sp]
ldr r1, [sp, #4]
cmp r0, r1
bge .LBB0_6
b .LBB0_2
.LBB0_2:
ldr r0, [sp, #8]
ldr r1, [sp]
ldrb r0, [r0, r1]
cmp r0, #59
bne .LBB0_4
b .LBB0_3
.LBB0_3:
mov r0, #1
str r0, [sp, #12]
b .LBB0_7
.LBB0_4:
b .LBB0_5
.LBB0_5:
ldr r0, [sp]
add r0, r0, #1
str r0, [sp]
b .LBB0_1
.LBB0_6:
mov r0, #0
str r0, [sp, #12]
b .LBB0_7
.LBB0_7:
ldr r0, [sp, #12]
add sp, sp, #16
bx lr
.Lfunc_end0:
.size line_contains_semicolon, .Lfunc_end0-line_contains_semicolon
.cantunwind
.fnend
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym line_contains_semicolon
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_namespace_devs.c_nd_namespace_pmem_create.c"
.p2align 4, 0x90 # -- Begin function nd_namespace_pmem_create
.type nd_namespace_pmem_create,@function
nd_namespace_pmem_create: # @nd_namespace_pmem_create
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 48
mov qword ptr [rbp - 16], rdi
mov rax, qword ptr [rbp - 16]
add rax, 8
mov rdi, rax
call is_memory
cmp eax, 0
jne .LBB0_2
# %bb.1:
mov qword ptr [rbp - 8], 0
jmp .LBB0_7
.LBB0_2:
mov esi, dword ptr [GFP_KERNEL]
mov edi, 40
call kzalloc
mov qword ptr [rbp - 24], rax
cmp qword ptr [rbp - 24], 0
jne .LBB0_4
# %bb.3:
mov qword ptr [rbp - 8], 0
jmp .LBB0_7
.LBB0_4:
mov rax, qword ptr [rbp - 24]
add rax, 8
add rax, 8
mov qword ptr [rbp - 40], rax
mov rax, qword ptr [rbp - 40]
movabs rcx, offset namespace_pmem_device_type
mov qword ptr [rax + 16], rcx
mov rax, qword ptr [rbp - 16]
add rax, 8
mov rcx, qword ptr [rbp - 40]
mov qword ptr [rcx + 8], rax
mov rax, qword ptr [rbp - 24]
add rax, 8
mov qword ptr [rbp - 32], rax
mov rax, qword ptr [rbp - 16]
add rax, 8
mov rdi, rax
call dev_name
xor edx, edx
mov rcx, qword ptr [rbp - 32]
mov dword ptr [rcx + 4], eax
mov eax, dword ptr [IORESOURCE_MEM]
mov rcx, qword ptr [rbp - 32]
mov dword ptr [rcx], eax
mov rcx, qword ptr [rbp - 16]
add rcx, 4
mov eax, dword ptr [GFP_KERNEL]
mov rdi, rcx
mov esi, edx
mov ecx, eax
call ida_simple_get
mov rdi, qword ptr [rbp - 24]
mov qword ptr [rdi], rax
mov rax, qword ptr [rbp - 24]
cmp qword ptr [rax], 0
jge .LBB0_6
# %bb.5:
mov rdi, qword ptr [rbp - 24]
call kfree
mov qword ptr [rbp - 8], 0
jmp .LBB0_7
.LBB0_6:
mov rdi, qword ptr [rbp - 40]
mov rax, qword ptr [rbp - 16]
mov edx, dword ptr [rax]
mov rax, qword ptr [rbp - 24]
mov rcx, qword ptr [rax]
movabs rsi, offset .L.str
call dev_set_name
xor edx, edx
mov r8d, dword ptr [nd_namespace_attribute_groups]
mov rcx, qword ptr [rbp - 40]
mov dword ptr [rcx], r8d
mov rdi, qword ptr [rbp - 16]
mov rsi, qword ptr [rbp - 24]
mov dword ptr [rbp - 44], eax # 4-byte Spill
call nd_namespace_pmem_set_resource
mov rcx, qword ptr [rbp - 40]
mov qword ptr [rbp - 8], rcx
.LBB0_7:
mov rax, qword ptr [rbp - 8]
add rsp, 48
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size nd_namespace_pmem_create, .Lfunc_end0-nd_namespace_pmem_create
.cfi_endproc
# -- End function
.type GFP_KERNEL,@object # @GFP_KERNEL
.comm GFP_KERNEL,4,4
.type namespace_pmem_device_type,@object # @namespace_pmem_device_type
.comm namespace_pmem_device_type,4,4
.type IORESOURCE_MEM,@object # @IORESOURCE_MEM
.comm IORESOURCE_MEM,4,4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "namespace%d.%d"
.size .L.str, 15
.type nd_namespace_attribute_groups,@object # @nd_namespace_attribute_groups
.comm nd_namespace_attribute_groups,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym nd_namespace_pmem_create
.addrsig_sym is_memory
.addrsig_sym kzalloc
.addrsig_sym dev_name
.addrsig_sym ida_simple_get
.addrsig_sym kfree
.addrsig_sym dev_set_name
.addrsig_sym nd_namespace_pmem_set_resource
.addrsig_sym GFP_KERNEL
.addrsig_sym namespace_pmem_device_type
.addrsig_sym IORESOURCE_MEM
.addrsig_sym nd_namespace_attribute_groups
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_namespace_devs.c_nd_namespace_pmem_create.c"
.p2align 2
.type nd_namespace_pmem_create,%function
.code 32
nd_namespace_pmem_create:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #32
sub sp, sp, #32
str r0, [r11, #-8]
ldr r0, [r11, #-8]
add r0, r0, #8
bl is_memory
cmp r0, #0
bne .LBB0_2
b .LBB0_1
.LBB0_1:
mov r0, #0
str r0, [r11, #-4]
b .LBB0_7
.LBB0_2:
movw r0, :lower16:GFP_KERNEL
movt r0, :upper16:GFP_KERNEL
ldr r1, [r0]
mov r0, #24
bl kzalloc
str r0, [r11, #-12]
ldr r0, [r11, #-12]
cmp r0, #0
bne .LBB0_4
b .LBB0_3
.LBB0_3:
mov r0, #0
str r0, [r11, #-4]
b .LBB0_7
.LBB0_4:
ldr r0, [r11, #-12]
add r0, r0, #12
str r0, [sp, #12]
ldr r0, [sp, #12]
movw r1, :lower16:namespace_pmem_device_type
movt r1, :upper16:namespace_pmem_device_type
str r1, [r0, #8]
ldr r0, [r11, #-8]
add r0, r0, #8
ldr r1, [sp, #12]
str r0, [r1, #4]
ldr r0, [r11, #-12]
add r0, r0, #4
str r0, [sp, #16]
ldr r0, [r11, #-8]
add r0, r0, #8
bl dev_name
ldr r1, [sp, #16]
str r0, [r1, #4]
movw r0, :lower16:IORESOURCE_MEM
movt r0, :upper16:IORESOURCE_MEM
ldr r0, [r0]
ldr r1, [sp, #16]
str r0, [r1]
ldr r0, [r11, #-8]
add r0, r0, #4
movw r1, :lower16:GFP_KERNEL
movt r1, :upper16:GFP_KERNEL
ldr r3, [r1]
mov r1, #0
str r1, [sp, #8]
ldr r2, [sp, #8]
bl ida_simple_get
ldr r1, [r11, #-12]
str r0, [r1]
ldr r0, [r11, #-12]
ldr r0, [r0]
cmn r0, #1
bgt .LBB0_6
b .LBB0_5
.LBB0_5:
ldr r0, [r11, #-12]
bl kfree
mov r1, #0
str r1, [r11, #-4]
b .LBB0_7
.LBB0_6:
ldr r0, [sp, #12]
ldr r1, [r11, #-8]
ldr r2, [r1]
ldr r1, [r11, #-12]
ldr r3, [r1]
movw r1, :lower16:.L.str
movt r1, :upper16:.L.str
bl dev_set_name
movw r1, :lower16:nd_namespace_attribute_groups
movt r1, :upper16:nd_namespace_attribute_groups
ldr r1, [r1]
ldr r2, [sp, #12]
str r1, [r2]
ldr r1, [r11, #-8]
ldr r2, [r11, #-12]
mov r3, #0
str r0, [sp, #4]
mov r0, r1
mov r1, r2
mov r2, r3
bl nd_namespace_pmem_set_resource
ldr r1, [sp, #12]
str r1, [r11, #-4]
b .LBB0_7
.LBB0_7:
ldr r0, [r11, #-4]
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size nd_namespace_pmem_create, .Lfunc_end0-nd_namespace_pmem_create
.cantunwind
.fnend
.type GFP_KERNEL,%object
.comm GFP_KERNEL,4,4
.type namespace_pmem_device_type,%object
.comm namespace_pmem_device_type,4,4
.type IORESOURCE_MEM,%object
.comm IORESOURCE_MEM,4,4
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "namespace%d.%d"
.size .L.str, 15
.type nd_namespace_attribute_groups,%object
.comm nd_namespace_attribute_groups,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym nd_namespace_pmem_create
.addrsig_sym is_memory
.addrsig_sym kzalloc
.addrsig_sym dev_name
.addrsig_sym ida_simple_get
.addrsig_sym kfree
.addrsig_sym dev_set_name
.addrsig_sym nd_namespace_pmem_set_resource
.addrsig_sym GFP_KERNEL
.addrsig_sym namespace_pmem_device_type
.addrsig_sym IORESOURCE_MEM
.addrsig_sym nd_namespace_attribute_groups
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_pkparse.c_pk_parse_key_sec1_der.c"
.p2align 4, 0x90 # -- Begin function pk_parse_key_sec1_der
.type pk_parse_key_sec1_der,@function
pk_parse_key_sec1_der: # @pk_parse_key_sec1_der
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 112
mov qword ptr [rbp - 16], rdi
mov qword ptr [rbp - 24], rsi
mov qword ptr [rbp - 32], rdx
mov rax, qword ptr [rbp - 24]
mov qword ptr [rbp - 72], rax
mov rax, qword ptr [rbp - 72]
add rax, qword ptr [rbp - 32]
mov qword ptr [rbp - 80], rax
mov rsi, qword ptr [rbp - 80]
mov ecx, dword ptr [MBEDTLS_ASN1_CONSTRUCTED]
or ecx, dword ptr [MBEDTLS_ASN1_SEQUENCE]
lea rdi, [rbp - 72]
lea rdx, [rbp - 56]
call mbedtls_asn1_get_tag
mov dword ptr [rbp - 36], eax
cmp eax, 0
je .LBB0_2
# %bb.1:
mov eax, dword ptr [MBEDTLS_ERR_PK_KEY_INVALID_FORMAT]
add eax, dword ptr [rbp - 36]
mov dword ptr [rbp - 4], eax
jmp .LBB0_40
.LBB0_2:
mov rax, qword ptr [rbp - 72]
add rax, qword ptr [rbp - 56]
mov qword ptr [rbp - 80], rax
mov rsi, qword ptr [rbp - 80]
lea rdi, [rbp - 72]
lea rdx, [rbp - 40]
call mbedtls_asn1_get_int
mov dword ptr [rbp - 36], eax
cmp eax, 0
je .LBB0_4
# %bb.3:
mov eax, dword ptr [MBEDTLS_ERR_PK_KEY_INVALID_FORMAT]
add eax, dword ptr [rbp - 36]
mov dword ptr [rbp - 4], eax
jmp .LBB0_40
.LBB0_4:
cmp dword ptr [rbp - 40], 1
je .LBB0_6
# %bb.5:
mov eax, dword ptr [MBEDTLS_ERR_PK_KEY_INVALID_VERSION]
mov dword ptr [rbp - 4], eax
jmp .LBB0_40
.LBB0_6:
mov rsi, qword ptr [rbp - 80]
mov ecx, dword ptr [MBEDTLS_ASN1_OCTET_STRING]
lea rdi, [rbp - 72]
lea rdx, [rbp - 56]
call mbedtls_asn1_get_tag
mov dword ptr [rbp - 36], eax
cmp eax, 0
je .LBB0_8
# %bb.7:
mov eax, dword ptr [MBEDTLS_ERR_PK_KEY_INVALID_FORMAT]
add eax, dword ptr [rbp - 36]
mov dword ptr [rbp - 4], eax
jmp .LBB0_40
.LBB0_8:
mov rdi, qword ptr [rbp - 16]
mov rsi, qword ptr [rbp - 72]
mov rdx, qword ptr [rbp - 56]
call mbedtls_mpi_read_binary
mov dword ptr [rbp - 36], eax
cmp eax, 0
je .LBB0_10
# %bb.9:
mov rdi, qword ptr [rbp - 16]
call mbedtls_ecp_keypair_free
mov ecx, dword ptr [MBEDTLS_ERR_PK_KEY_INVALID_FORMAT]
add ecx, dword ptr [rbp - 36]
mov dword ptr [rbp - 4], ecx
jmp .LBB0_40
.LBB0_10:
mov rax, qword ptr [rbp - 56]
add rax, qword ptr [rbp - 72]
mov qword ptr [rbp - 72], rax
mov dword ptr [rbp - 44], 0
mov rax, qword ptr [rbp - 72]
cmp rax, qword ptr [rbp - 80]
je .LBB0_34
# %bb.11:
mov rsi, qword ptr [rbp - 80]
mov eax, dword ptr [MBEDTLS_ASN1_CONTEXT_SPECIFIC]
or eax, dword ptr [MBEDTLS_ASN1_CONSTRUCTED]
lea rdi, [rbp - 72]
lea rdx, [rbp - 56]
mov ecx, eax
call mbedtls_asn1_get_tag
mov dword ptr [rbp - 36], eax
cmp eax, 0
jne .LBB0_16
# %bb.12:
mov rax, qword ptr [rbp - 72]
add rax, qword ptr [rbp - 56]
lea rdi, [rbp - 72]
mov rsi, rax
lea rdx, [rbp - 60]
call pk_get_ecparams
mov dword ptr [rbp - 36], eax
cmp eax, 0
jne .LBB0_14
# %bb.13:
mov rax, qword ptr [rbp - 16]
add rax, 4
lea rdi, [rbp - 60]
mov rsi, rax
call pk_use_ecparams
mov dword ptr [rbp - 36], eax
cmp eax, 0
je .LBB0_15
.LBB0_14:
mov rdi, qword ptr [rbp - 16]
call mbedtls_ecp_keypair_free
mov ecx, dword ptr [rbp - 36]
mov dword ptr [rbp - 4], ecx
jmp .LBB0_40
.LBB0_15:
jmp .LBB0_19
.LBB0_16:
mov eax, dword ptr [rbp - 36]
cmp eax, dword ptr [MBEDTLS_ERR_ASN1_UNEXPECTED_TAG]
je .LBB0_18
# %bb.17:
mov rdi, qword ptr [rbp - 16]
call mbedtls_ecp_keypair_free
mov ecx, dword ptr [MBEDTLS_ERR_PK_KEY_INVALID_FORMAT]
add ecx, dword ptr [rbp - 36]
mov dword ptr [rbp - 4], ecx
jmp .LBB0_40
.LBB0_18:
jmp .LBB0_19
.LBB0_19:
mov rsi, qword ptr [rbp - 80]
mov eax, dword ptr [MBEDTLS_ASN1_CONTEXT_SPECIFIC]
or eax, dword ptr [MBEDTLS_ASN1_CONSTRUCTED]
or eax, 1
lea rdi, [rbp - 72]
lea rdx, [rbp - 56]
mov ecx, eax
call mbedtls_asn1_get_tag
mov dword ptr [rbp - 36], eax
cmp eax, 0
jne .LBB0_30
# %bb.20:
mov rax, qword ptr [rbp - 72]
add rax, qword ptr [rbp - 56]
mov qword ptr [rbp - 88], rax
mov rsi, qword ptr [rbp - 88]
lea rdi, [rbp - 72]
lea rdx, [rbp - 56]
call mbedtls_asn1_get_bitstring_null
mov dword ptr [rbp - 36], eax
cmp eax, 0
je .LBB0_22
# %bb.21:
mov eax, dword ptr [MBEDTLS_ERR_PK_KEY_INVALID_FORMAT]
add eax, dword ptr [rbp - 36]
mov dword ptr [rbp - 4], eax
jmp .LBB0_40
.LBB0_22:
mov rax, qword ptr [rbp - 72]
add rax, qword ptr [rbp - 56]
cmp rax, qword ptr [rbp - 88]
je .LBB0_24
# %bb.23:
mov eax, dword ptr [MBEDTLS_ERR_PK_KEY_INVALID_FORMAT]
add eax, dword ptr [MBEDTLS_ERR_ASN1_LENGTH_MISMATCH]
mov dword ptr [rbp - 4], eax
jmp .LBB0_40
.LBB0_24:
mov rsi, qword ptr [rbp - 88]
mov rdx, qword ptr [rbp - 16]
lea rdi, [rbp - 72]
call pk_get_ecpubkey
mov dword ptr [rbp - 36], eax
cmp eax, 0
jne .LBB0_26
# %bb.25:
mov dword ptr [rbp - 44], 1
jmp .LBB0_29
.LBB0_26:
mov eax, dword ptr [rbp - 36]
cmp eax, dword ptr [MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE]
je .LBB0_28
# %bb.27:
mov eax, dword ptr [MBEDTLS_ERR_PK_KEY_INVALID_FORMAT]
mov dword ptr [rbp - 4], eax
jmp .LBB0_40
.LBB0_28:
jmp .LBB0_29
.LBB0_29:
jmp .LBB0_33
.LBB0_30:
mov eax, dword ptr [rbp - 36]
cmp eax, dword ptr [MBEDTLS_ERR_ASN1_UNEXPECTED_TAG]
je .LBB0_32
# %bb.31:
mov rdi, qword ptr [rbp - 16]
call mbedtls_ecp_keypair_free
mov ecx, dword ptr [MBEDTLS_ERR_PK_KEY_INVALID_FORMAT]
add ecx, dword ptr [rbp - 36]
mov dword ptr [rbp - 4], ecx
jmp .LBB0_40
.LBB0_32:
jmp .LBB0_33
.LBB0_33:
jmp .LBB0_34
.LBB0_34:
cmp dword ptr [rbp - 44], 0
jne .LBB0_37
# %bb.35:
xor eax, eax
mov ecx, eax
mov rdx, qword ptr [rbp - 16]
add rdx, 4
mov rsi, qword ptr [rbp - 16]
add rsi, 8
mov rdi, qword ptr [rbp - 16]
mov r8, qword ptr [rbp - 16]
add r8, 4
mov qword ptr [rbp - 96], rdi # 8-byte Spill
mov rdi, rdx
mov rdx, qword ptr [rbp - 96] # 8-byte Reload
mov qword ptr [rbp - 104], rcx # 8-byte Spill
mov rcx, r8
mov r8, qword ptr [rbp - 104] # 8-byte Reload
mov r9, qword ptr [rbp - 104] # 8-byte Reload
call mbedtls_ecp_mul
mov dword ptr [rbp - 36], eax
cmp eax, 0
je .LBB0_37
# %bb.36:
mov rdi, qword ptr [rbp - 16]
call mbedtls_ecp_keypair_free
mov ecx, dword ptr [MBEDTLS_ERR_PK_KEY_INVALID_FORMAT]
add ecx, dword ptr [rbp - 36]
mov dword ptr [rbp - 4], ecx
jmp .LBB0_40
.LBB0_37:
mov rax, qword ptr [rbp - 16]
add rax, 4
mov rsi, qword ptr [rbp - 16]
mov rdi, rax
call mbedtls_ecp_check_privkey
mov dword ptr [rbp - 36], eax
cmp eax, 0
je .LBB0_39
# %bb.38:
mov rdi, qword ptr [rbp - 16]
call mbedtls_ecp_keypair_free
mov ecx, dword ptr [rbp - 36]
mov dword ptr [rbp - 4], ecx
jmp .LBB0_40
.LBB0_39:
mov dword ptr [rbp - 4], 0
.LBB0_40:
mov eax, dword ptr [rbp - 4]
add rsp, 112
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size pk_parse_key_sec1_der, .Lfunc_end0-pk_parse_key_sec1_der
.cfi_endproc
# -- End function
.type MBEDTLS_ASN1_CONSTRUCTED,@object # @MBEDTLS_ASN1_CONSTRUCTED
.comm MBEDTLS_ASN1_CONSTRUCTED,4,4
.type MBEDTLS_ASN1_SEQUENCE,@object # @MBEDTLS_ASN1_SEQUENCE
.comm MBEDTLS_ASN1_SEQUENCE,4,4
.type MBEDTLS_ERR_PK_KEY_INVALID_FORMAT,@object # @MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
.comm MBEDTLS_ERR_PK_KEY_INVALID_FORMAT,4,4
.type MBEDTLS_ERR_PK_KEY_INVALID_VERSION,@object # @MBEDTLS_ERR_PK_KEY_INVALID_VERSION
.comm MBEDTLS_ERR_PK_KEY_INVALID_VERSION,4,4
.type MBEDTLS_ASN1_OCTET_STRING,@object # @MBEDTLS_ASN1_OCTET_STRING
.comm MBEDTLS_ASN1_OCTET_STRING,4,4
.type MBEDTLS_ASN1_CONTEXT_SPECIFIC,@object # @MBEDTLS_ASN1_CONTEXT_SPECIFIC
.comm MBEDTLS_ASN1_CONTEXT_SPECIFIC,4,4
.type MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,@object # @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
.comm MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,4,4
.type MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,@object # @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
.comm MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,4
.type MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE,@object # @MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE
.comm MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym pk_parse_key_sec1_der
.addrsig_sym mbedtls_asn1_get_tag
.addrsig_sym mbedtls_asn1_get_int
.addrsig_sym mbedtls_mpi_read_binary
.addrsig_sym mbedtls_ecp_keypair_free
.addrsig_sym pk_get_ecparams
.addrsig_sym pk_use_ecparams
.addrsig_sym mbedtls_asn1_get_bitstring_null
.addrsig_sym pk_get_ecpubkey
.addrsig_sym mbedtls_ecp_mul
.addrsig_sym mbedtls_ecp_check_privkey
.addrsig_sym MBEDTLS_ASN1_CONSTRUCTED
.addrsig_sym MBEDTLS_ASN1_SEQUENCE
.addrsig_sym MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
.addrsig_sym MBEDTLS_ERR_PK_KEY_INVALID_VERSION
.addrsig_sym MBEDTLS_ASN1_OCTET_STRING
.addrsig_sym MBEDTLS_ASN1_CONTEXT_SPECIFIC
.addrsig_sym MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
.addrsig_sym MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
.addrsig_sym MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_pkparse.c_pk_parse_key_sec1_der.c"
.p2align 2
.type pk_parse_key_sec1_der,%function
.code 32
pk_parse_key_sec1_der:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #72
sub sp, sp, #72
str r0, [r11, #-8]
str r1, [r11, #-12]
str r2, [r11, #-16]
ldr r0, [r11, #-12]
str r0, [sp, #32]
ldr r0, [sp, #32]
ldr r1, [r11, #-16]
add r0, r0, r1
str r0, [sp, #28]
ldr r1, [sp, #28]
movw r0, :lower16:MBEDTLS_ASN1_CONSTRUCTED
movt r0, :upper16:MBEDTLS_ASN1_CONSTRUCTED
ldr r0, [r0]
movw r2, :lower16:MBEDTLS_ASN1_SEQUENCE
movt r2, :upper16:MBEDTLS_ASN1_SEQUENCE
ldr r2, [r2]
orr r3, r0, r2
add r0, sp, #32
sub r2, r11, #32
bl mbedtls_asn1_get_tag
str r0, [r11, #-20]
cmp r0, #0
beq .LBB0_2
b .LBB0_1
.LBB0_1:
movw r0, :lower16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
movt r0, :upper16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
ldr r0, [r0]
ldr r1, [r11, #-20]
add r0, r0, r1
str r0, [r11, #-4]
b .LBB0_40
.LBB0_2:
ldr r0, [sp, #32]
ldr r1, [r11, #-32]
add r0, r0, r1
str r0, [sp, #28]
ldr r1, [sp, #28]
add r0, sp, #32
sub r2, r11, #24
bl mbedtls_asn1_get_int
str r0, [r11, #-20]
cmp r0, #0
beq .LBB0_4
b .LBB0_3
.LBB0_3:
movw r0, :lower16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
movt r0, :upper16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
ldr r0, [r0]
ldr r1, [r11, #-20]
add r0, r0, r1
str r0, [r11, #-4]
b .LBB0_40
.LBB0_4:
ldr r0, [r11, #-24]
cmp r0, #1
beq .LBB0_6
b .LBB0_5
.LBB0_5:
movw r0, :lower16:MBEDTLS_ERR_PK_KEY_INVALID_VERSION
movt r0, :upper16:MBEDTLS_ERR_PK_KEY_INVALID_VERSION
ldr r0, [r0]
str r0, [r11, #-4]
b .LBB0_40
.LBB0_6:
ldr r1, [sp, #28]
movw r0, :lower16:MBEDTLS_ASN1_OCTET_STRING
movt r0, :upper16:MBEDTLS_ASN1_OCTET_STRING
ldr r3, [r0]
add r0, sp, #32
sub r2, r11, #32
bl mbedtls_asn1_get_tag
str r0, [r11, #-20]
cmp r0, #0
beq .LBB0_8
b .LBB0_7
.LBB0_7:
movw r0, :lower16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
movt r0, :upper16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
ldr r0, [r0]
ldr r1, [r11, #-20]
add r0, r0, r1
str r0, [r11, #-4]
b .LBB0_40
.LBB0_8:
ldr r0, [r11, #-8]
ldr r1, [sp, #32]
ldr r2, [r11, #-32]
bl mbedtls_mpi_read_binary
str r0, [r11, #-20]
cmp r0, #0
beq .LBB0_10
b .LBB0_9
.LBB0_9:
ldr r0, [r11, #-8]
bl mbedtls_ecp_keypair_free
movw r1, :lower16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
movt r1, :upper16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
ldr r1, [r1]
ldr r2, [r11, #-20]
add r1, r1, r2
str r1, [r11, #-4]
b .LBB0_40
.LBB0_10:
ldr r0, [r11, #-32]
ldr r1, [sp, #32]
add r0, r1, r0
str r0, [sp, #32]
mov r0, #0
str r0, [r11, #-28]
ldr r0, [sp, #32]
ldr r1, [sp, #28]
cmp r0, r1
beq .LBB0_34
b .LBB0_11
.LBB0_11:
ldr r1, [sp, #28]
movw r0, :lower16:MBEDTLS_ASN1_CONTEXT_SPECIFIC
movt r0, :upper16:MBEDTLS_ASN1_CONTEXT_SPECIFIC
ldr r0, [r0]
movw r2, :lower16:MBEDTLS_ASN1_CONSTRUCTED
movt r2, :upper16:MBEDTLS_ASN1_CONSTRUCTED
ldr r2, [r2]
orr r3, r0, r2
add r0, sp, #32
sub r2, r11, #32
bl mbedtls_asn1_get_tag
str r0, [r11, #-20]
cmp r0, #0
bne .LBB0_16
b .LBB0_12
.LBB0_12:
ldr r0, [sp, #32]
ldr r1, [r11, #-32]
add r1, r0, r1
add r0, sp, #32
add r2, sp, #36
bl pk_get_ecparams
str r0, [r11, #-20]
cmp r0, #0
bne .LBB0_14
b .LBB0_13
.LBB0_13:
ldr r0, [r11, #-8]
add r1, r0, #4
add r0, sp, #36
bl pk_use_ecparams
str r0, [r11, #-20]
cmp r0, #0
beq .LBB0_15
b .LBB0_14
.LBB0_14:
ldr r0, [r11, #-8]
bl mbedtls_ecp_keypair_free
ldr r1, [r11, #-20]
str r1, [r11, #-4]
b .LBB0_40
.LBB0_15:
b .LBB0_19
.LBB0_16:
ldr r0, [r11, #-20]
movw r1, :lower16:MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
movt r1, :upper16:MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
ldr r1, [r1]
cmp r0, r1
beq .LBB0_18
b .LBB0_17
.LBB0_17:
ldr r0, [r11, #-8]
bl mbedtls_ecp_keypair_free
movw r1, :lower16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
movt r1, :upper16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
ldr r1, [r1]
ldr r2, [r11, #-20]
add r1, r1, r2
str r1, [r11, #-4]
b .LBB0_40
.LBB0_18:
b .LBB0_19
.LBB0_19:
ldr r1, [sp, #28]
movw r0, :lower16:MBEDTLS_ASN1_CONTEXT_SPECIFIC
movt r0, :upper16:MBEDTLS_ASN1_CONTEXT_SPECIFIC
ldr r0, [r0]
movw r2, :lower16:MBEDTLS_ASN1_CONSTRUCTED
movt r2, :upper16:MBEDTLS_ASN1_CONSTRUCTED
ldr r2, [r2]
orr r0, r0, r2
orr r3, r0, #1
add r0, sp, #32
sub r2, r11, #32
bl mbedtls_asn1_get_tag
str r0, [r11, #-20]
cmp r0, #0
bne .LBB0_30
b .LBB0_20
.LBB0_20:
ldr r0, [sp, #32]
ldr r1, [r11, #-32]
add r0, r0, r1
str r0, [sp, #24]
ldr r1, [sp, #24]
add r0, sp, #32
sub r2, r11, #32
bl mbedtls_asn1_get_bitstring_null
str r0, [r11, #-20]
cmp r0, #0
beq .LBB0_22
b .LBB0_21
.LBB0_21:
movw r0, :lower16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
movt r0, :upper16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
ldr r0, [r0]
ldr r1, [r11, #-20]
add r0, r0, r1
str r0, [r11, #-4]
b .LBB0_40
.LBB0_22:
ldr r0, [sp, #32]
ldr r1, [r11, #-32]
add r0, r0, r1
ldr r1, [sp, #24]
cmp r0, r1
beq .LBB0_24
b .LBB0_23
.LBB0_23:
movw r0, :lower16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
movt r0, :upper16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
ldr r0, [r0]
movw r1, :lower16:MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
movt r1, :upper16:MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
ldr r1, [r1]
add r0, r0, r1
str r0, [r11, #-4]
b .LBB0_40
.LBB0_24:
ldr r1, [sp, #24]
ldr r2, [r11, #-8]
add r0, sp, #32
bl pk_get_ecpubkey
str r0, [r11, #-20]
cmp r0, #0
bne .LBB0_26
b .LBB0_25
.LBB0_25:
mov r0, #1
str r0, [r11, #-28]
b .LBB0_29
.LBB0_26:
ldr r0, [r11, #-20]
movw r1, :lower16:MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE
movt r1, :upper16:MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE
ldr r1, [r1]
cmp r0, r1
beq .LBB0_28
b .LBB0_27
.LBB0_27:
movw r0, :lower16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
movt r0, :upper16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
ldr r0, [r0]
str r0, [r11, #-4]
b .LBB0_40
.LBB0_28:
b .LBB0_29
.LBB0_29:
b .LBB0_33
.LBB0_30:
ldr r0, [r11, #-20]
movw r1, :lower16:MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
movt r1, :upper16:MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
ldr r1, [r1]
cmp r0, r1
beq .LBB0_32
b .LBB0_31
.LBB0_31:
ldr r0, [r11, #-8]
bl mbedtls_ecp_keypair_free
movw r1, :lower16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
movt r1, :upper16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
ldr r1, [r1]
ldr r2, [r11, #-20]
add r1, r1, r2
str r1, [r11, #-4]
b .LBB0_40
.LBB0_32:
b .LBB0_33
.LBB0_33:
b .LBB0_34
.LBB0_34:
ldr r0, [r11, #-28]
cmp r0, #0
bne .LBB0_37
b .LBB0_35
.LBB0_35:
ldr r0, [r11, #-8]
add r1, r0, #4
add r2, r0, #8
mov r3, sp
mov r12, #0
str r12, [r3, #4]
str r12, [r3]
str r0, [sp, #20]
mov r0, r1
str r1, [sp, #16]
mov r1, r2
ldr r2, [sp, #20]
ldr r3, [sp, #16]
bl mbedtls_ecp_mul
str r0, [r11, #-20]
cmp r0, #0
beq .LBB0_37
b .LBB0_36
.LBB0_36:
ldr r0, [r11, #-8]
bl mbedtls_ecp_keypair_free
movw r1, :lower16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
movt r1, :upper16:MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
ldr r1, [r1]
ldr r2, [r11, #-20]
add r1, r1, r2
str r1, [r11, #-4]
b .LBB0_40
.LBB0_37:
ldr r0, [r11, #-8]
add r1, r0, #4
str r0, [sp, #12]
mov r0, r1
ldr r1, [sp, #12]
bl mbedtls_ecp_check_privkey
str r0, [r11, #-20]
cmp r0, #0
beq .LBB0_39
b .LBB0_38
.LBB0_38:
ldr r0, [r11, #-8]
bl mbedtls_ecp_keypair_free
ldr r1, [r11, #-20]
str r1, [r11, #-4]
b .LBB0_40
.LBB0_39:
mov r0, #0
str r0, [r11, #-4]
b .LBB0_40
.LBB0_40:
ldr r0, [r11, #-4]
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size pk_parse_key_sec1_der, .Lfunc_end0-pk_parse_key_sec1_der
.cantunwind
.fnend
.type MBEDTLS_ASN1_CONSTRUCTED,%object
.comm MBEDTLS_ASN1_CONSTRUCTED,4,4
.type MBEDTLS_ASN1_SEQUENCE,%object
.comm MBEDTLS_ASN1_SEQUENCE,4,4
.type MBEDTLS_ERR_PK_KEY_INVALID_FORMAT,%object
.comm MBEDTLS_ERR_PK_KEY_INVALID_FORMAT,4,4
.type MBEDTLS_ERR_PK_KEY_INVALID_VERSION,%object
.comm MBEDTLS_ERR_PK_KEY_INVALID_VERSION,4,4
.type MBEDTLS_ASN1_OCTET_STRING,%object
.comm MBEDTLS_ASN1_OCTET_STRING,4,4
.type MBEDTLS_ASN1_CONTEXT_SPECIFIC,%object
.comm MBEDTLS_ASN1_CONTEXT_SPECIFIC,4,4
.type MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,%object
.comm MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,4,4
.type MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,%object
.comm MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,4
.type MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE,%object
.comm MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym pk_parse_key_sec1_der
.addrsig_sym mbedtls_asn1_get_tag
.addrsig_sym mbedtls_asn1_get_int
.addrsig_sym mbedtls_mpi_read_binary
.addrsig_sym mbedtls_ecp_keypair_free
.addrsig_sym pk_get_ecparams
.addrsig_sym pk_use_ecparams
.addrsig_sym mbedtls_asn1_get_bitstring_null
.addrsig_sym pk_get_ecpubkey
.addrsig_sym mbedtls_ecp_mul
.addrsig_sym mbedtls_ecp_check_privkey
.addrsig_sym MBEDTLS_ASN1_CONSTRUCTED
.addrsig_sym MBEDTLS_ASN1_SEQUENCE
.addrsig_sym MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
.addrsig_sym MBEDTLS_ERR_PK_KEY_INVALID_VERSION
.addrsig_sym MBEDTLS_ASN1_OCTET_STRING
.addrsig_sym MBEDTLS_ASN1_CONTEXT_SPECIFIC
.addrsig_sym MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
.addrsig_sym MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
.addrsig_sym MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_bfq-iosched.c_bfq_bfqq_must_idle.c"
.p2align 4, 0x90 # -- Begin function bfq_bfqq_must_idle
.type bfq_bfqq_must_idle,@function
bfq_bfqq_must_idle: # @bfq_bfqq_must_idle
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 16
mov qword ptr [rbp - 8], rdi
mov rdi, qword ptr [rbp - 8]
call RB_EMPTY_ROOT
xor ecx, ecx
# kill: def $cl killed $cl killed $ecx
cmp rax, 0
mov byte ptr [rbp - 9], cl # 1-byte Spill
je .LBB0_2
# %bb.1:
mov rdi, qword ptr [rbp - 8]
call bfq_better_to_idle
cmp rax, 0
setne cl
mov byte ptr [rbp - 9], cl # 1-byte Spill
.LBB0_2:
mov al, byte ptr [rbp - 9] # 1-byte Reload
and al, 1
movzx eax, al
add rsp, 16
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size bfq_bfqq_must_idle, .Lfunc_end0-bfq_bfqq_must_idle
.cfi_endproc
# -- End function
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bfq_bfqq_must_idle
.addrsig_sym RB_EMPTY_ROOT
.addrsig_sym bfq_better_to_idle
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_bfq-iosched.c_bfq_bfqq_must_idle.c"
.p2align 2
.type bfq_bfqq_must_idle,%function
.code 32
bfq_bfqq_must_idle:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #8
sub sp, sp, #8
str r0, [sp, #4]
ldr r0, [sp, #4]
bl RB_EMPTY_ROOT
mov r1, #0
cmp r0, #0
str r1, [sp]
beq .LBB0_2
b .LBB0_1
.LBB0_1:
ldr r0, [sp, #4]
bl bfq_better_to_idle
cmp r0, #0
movwne r0, #1
str r0, [sp]
b .LBB0_2
.LBB0_2:
ldr r0, [sp]
and r0, r0, #1
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size bfq_bfqq_must_idle, .Lfunc_end0-bfq_bfqq_must_idle
.cantunwind
.fnend
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym bfq_bfqq_must_idle
.addrsig_sym RB_EMPTY_ROOT
.addrsig_sym bfq_better_to_idle
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_mscc.c_vsc8584_config_pre_init.c"
.p2align 4, 0x90 # -- Begin function vsc8584_config_pre_init
.type vsc8584_config_pre_init,@function
vsc8584_config_pre_init: # @vsc8584_config_pre_init
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 576
xor esi, esi
movabs rax, offset .L__const.vsc8584_config_pre_init.pre_init1
mov qword ptr [rbp - 16], rdi
lea rcx, [rbp - 368]
mov rdi, rcx
mov dword ptr [rbp - 452], esi # 4-byte Spill
mov rsi, rax
mov edx, 352
call memcpy
lea rax, [rbp - 416]
mov rdi, rax
mov esi, dword ptr [rbp - 452] # 4-byte Reload
mov edx, 48
call memset
mov dword ptr [rbp - 416], 1158
mov dword ptr [rbp - 412], 566552
mov dword ptr [rbp - 400], 1160
mov dword ptr [rbp - 396], 7194262
mov dword ptr [rbp - 384], 1162
mov dword ptr [rbp - 380], 2322
mov rax, qword ptr [rbp - 16]
mov qword ptr [rbp - 432], rax
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_EXT_PAGE_ACCESS]
mov edx, dword ptr [MSCC_PHY_PAGE_STANDARD]
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_EXT_CNTL_STATUS]
mov dword ptr [rbp - 456], eax # 4-byte Spill
call phy_base_read
mov dword ptr [rbp - 444], eax
mov eax, dword ptr [SMI_BROADCAST_WR_EN]
or eax, dword ptr [rbp - 444]
mov dword ptr [rbp - 444], eax
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_EXT_CNTL_STATUS]
mov edx, dword ptr [rbp - 444]
call phy_base_write
xor edx, edx
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MII_VSC85XX_INT_MASK]
mov dword ptr [rbp - 460], eax # 4-byte Spill
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_BYPASS_CONTROL]
mov dword ptr [rbp - 464], eax # 4-byte Spill
call phy_base_read
mov dword ptr [rbp - 444], eax
mov eax, dword ptr [PARALLEL_DET_IGNORE_ADVERTISED]
or eax, dword ptr [rbp - 444]
mov dword ptr [rbp - 444], eax
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_BYPASS_CONTROL]
mov edx, dword ptr [rbp - 444]
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_EXT_PAGE_ACCESS]
mov edx, dword ptr [MSCC_PHY_PAGE_EXTENDED_3]
mov dword ptr [rbp - 468], eax # 4-byte Spill
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_SERDES_TX_CRC_ERR_CNT]
mov edx, 8192
mov dword ptr [rbp - 472], eax # 4-byte Spill
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_EXT_PAGE_ACCESS]
mov edx, dword ptr [MSCC_PHY_PAGE_TEST]
mov dword ptr [rbp - 476], eax # 4-byte Spill
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_TEST_PAGE_5]
mov edx, 7968
mov dword ptr [rbp - 480], eax # 4-byte Spill
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_TEST_PAGE_8]
mov dword ptr [rbp - 484], eax # 4-byte Spill
call phy_base_read
mov dword ptr [rbp - 444], eax
mov eax, dword ptr [rbp - 444]
or eax, 32768
mov dword ptr [rbp - 444], eax
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_TEST_PAGE_8]
mov edx, dword ptr [rbp - 444]
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_EXT_PAGE_ACCESS]
mov edx, dword ptr [MSCC_PHY_PAGE_TR]
mov dword ptr [rbp - 488], eax # 4-byte Spill
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_TR_CNTL]
mov edx, dword ptr [TR_WRITE]
mov r8d, 12196
mov qword ptr [rbp - 496], rdi # 8-byte Spill
mov edi, r8d
mov dword ptr [rbp - 500], eax # 4-byte Spill
mov dword ptr [rbp - 504], esi # 4-byte Spill
mov dword ptr [rbp - 508], edx # 4-byte Spill
call TR_ADDR
mov edx, dword ptr [rbp - 508] # 4-byte Reload
or edx, eax
mov rdi, qword ptr [rbp - 496] # 8-byte Reload
mov esi, dword ptr [rbp - 504] # 4-byte Reload
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_TR_MSB]
mov dword ptr [rbp - 512], eax # 4-byte Spill
call phy_base_read
mov dword ptr [rbp - 444], eax
mov eax, dword ptr [rbp - 444]
and eax, -128
mov dword ptr [rbp - 444], eax
mov eax, dword ptr [rbp - 444]
or eax, 25
mov dword ptr [rbp - 444], eax
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_TR_MSB]
mov edx, dword ptr [rbp - 444]
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_TR_CNTL]
mov edx, dword ptr [TR_WRITE]
mov r8d, 4004
mov qword ptr [rbp - 520], rdi # 8-byte Spill
mov edi, r8d
mov dword ptr [rbp - 524], eax # 4-byte Spill
mov dword ptr [rbp - 528], esi # 4-byte Spill
mov dword ptr [rbp - 532], edx # 4-byte Spill
call TR_ADDR
mov edx, dword ptr [rbp - 532] # 4-byte Reload
or edx, eax
mov rdi, qword ptr [rbp - 520] # 8-byte Reload
mov esi, dword ptr [rbp - 528] # 4-byte Reload
call phy_base_write
mov dword ptr [rbp - 436], 0
.LBB0_1: # =>This Inner Loop Header: Depth=1
lea rdi, [rbp - 368]
mov eax, dword ptr [rbp - 436]
mov dword ptr [rbp - 536], eax # 4-byte Spill
call ARRAY_SIZE
mov ecx, dword ptr [rbp - 536] # 4-byte Reload
cmp ecx, eax
jae .LBB0_4
# %bb.2: # in Loop: Header=BB0_1 Depth=1
mov rdi, qword ptr [rbp - 16]
mov eax, dword ptr [rbp - 436]
mov ecx, eax
shl rcx, 4
lea rdx, [rbp - 368]
mov rsi, rdx
add rsi, rcx
mov esi, dword ptr [rsi + 12]
mov eax, dword ptr [rbp - 436]
mov ecx, eax
shl rcx, 4
add rdx, rcx
mov edx, dword ptr [rdx + 8]
call vsc8584_csr_write
# %bb.3: # in Loop: Header=BB0_1 Depth=1
mov eax, dword ptr [rbp - 436]
add eax, 1
mov dword ptr [rbp - 436], eax
jmp .LBB0_1
.LBB0_4:
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_EXT_PAGE_ACCESS]
mov edx, dword ptr [MSCC_PHY_PAGE_EXTENDED_2]
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_CU_PMD_TX_CNTL]
mov edx, 654
mov dword ptr [rbp - 540], eax # 4-byte Spill
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_EXT_PAGE_ACCESS]
mov edx, dword ptr [MSCC_PHY_PAGE_TR]
mov dword ptr [rbp - 544], eax # 4-byte Spill
call phy_base_write
mov dword ptr [rbp - 436], 0
.LBB0_5: # =>This Inner Loop Header: Depth=1
lea rdi, [rbp - 416]
mov eax, dword ptr [rbp - 436]
mov dword ptr [rbp - 548], eax # 4-byte Spill
call ARRAY_SIZE
mov ecx, dword ptr [rbp - 548] # 4-byte Reload
cmp ecx, eax
jae .LBB0_8
# %bb.6: # in Loop: Header=BB0_5 Depth=1
mov rdi, qword ptr [rbp - 16]
mov eax, dword ptr [rbp - 436]
mov ecx, eax
shl rcx, 4
lea rdx, [rbp - 416]
mov rsi, rdx
add rsi, rcx
mov esi, dword ptr [rsi + 12]
mov eax, dword ptr [rbp - 436]
mov ecx, eax
shl rcx, 4
add rdx, rcx
mov edx, dword ptr [rdx + 8]
call vsc8584_csr_write
# %bb.7: # in Loop: Header=BB0_5 Depth=1
mov eax, dword ptr [rbp - 436]
add eax, 1
mov dword ptr [rbp - 436], eax
jmp .LBB0_5
.LBB0_8:
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_EXT_PAGE_ACCESS]
mov edx, dword ptr [MSCC_PHY_PAGE_TEST]
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_TEST_PAGE_8]
mov dword ptr [rbp - 552], eax # 4-byte Spill
call phy_base_read
mov dword ptr [rbp - 444], eax
mov eax, dword ptr [rbp - 444]
and eax, -32769
mov dword ptr [rbp - 444], eax
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_TEST_PAGE_8]
mov edx, dword ptr [rbp - 444]
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_EXT_PAGE_ACCESS]
mov edx, dword ptr [MSCC_PHY_PAGE_STANDARD]
mov dword ptr [rbp - 556], eax # 4-byte Spill
call phy_base_write
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_EXT_CNTL_STATUS]
mov dword ptr [rbp - 560], eax # 4-byte Spill
call phy_base_read
mov dword ptr [rbp - 444], eax
mov eax, dword ptr [SMI_BROADCAST_WR_EN]
xor eax, -1
and eax, dword ptr [rbp - 444]
mov dword ptr [rbp - 444], eax
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_PHY_EXT_CNTL_STATUS]
mov edx, dword ptr [rbp - 444]
call phy_base_write
mov esi, dword ptr [MSCC_VSC8584_REVB_INT8051_FW]
mov rdx, qword ptr [rbp - 432]
lea rdi, [rbp - 424]
mov dword ptr [rbp - 564], eax # 4-byte Spill
call request_firmware
mov dword ptr [rbp - 448], eax
cmp dword ptr [rbp - 448], 0
je .LBB0_10
# %bb.9:
mov rdi, qword ptr [rbp - 432]
mov edx, dword ptr [MSCC_VSC8584_REVB_INT8051_FW]
mov ecx, dword ptr [rbp - 448]
movabs rsi, offset .L.str
call dev_err
mov ecx, dword ptr [rbp - 448]
mov dword ptr [rbp - 4], ecx
jmp .LBB0_24
.LBB0_10:
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_VSC8584_REVB_INT8051_FW_START_ADDR]
mov rax, qword ptr [rbp - 424]
mov rax, qword ptr [rax]
add rax, 1
mov rdx, rax
lea rcx, [rbp - 440]
call vsc8584_get_fw_crc
mov dword ptr [rbp - 448], eax
cmp dword ptr [rbp - 448], 0
je .LBB0_12
# %bb.11:
jmp .LBB0_23
.LBB0_12:
mov eax, dword ptr [rbp - 440]
cmp eax, dword ptr [MSCC_VSC8584_REVB_INT8051_FW_CRC]
je .LBB0_16
# %bb.13:
mov rdi, qword ptr [rbp - 432]
movabs rsi, offset .L.str.1
call dev_dbg
mov rdi, qword ptr [rbp - 16]
mov rsi, qword ptr [rbp - 424]
mov dword ptr [rbp - 568], eax # 4-byte Spill
call vsc8584_patch_fw
cmp rax, 0
je .LBB0_15
# %bb.14:
mov rdi, qword ptr [rbp - 432]
movabs rsi, offset .L.str.2
call dev_warn
.LBB0_15:
jmp .LBB0_16
.LBB0_16:
xor esi, esi
mov rdi, qword ptr [rbp - 16]
call vsc8584_micro_deassert_reset
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_VSC8584_REVB_INT8051_FW_START_ADDR]
mov rcx, qword ptr [rbp - 424]
mov rcx, qword ptr [rcx]
add rcx, 1
mov rdx, rcx
lea rcx, [rbp - 440]
mov dword ptr [rbp - 572], eax # 4-byte Spill
call vsc8584_get_fw_crc
mov dword ptr [rbp - 448], eax
cmp dword ptr [rbp - 448], 0
je .LBB0_18
# %bb.17:
jmp .LBB0_23
.LBB0_18:
mov eax, dword ptr [rbp - 440]
cmp eax, dword ptr [MSCC_VSC8584_REVB_INT8051_FW_CRC]
je .LBB0_20
# %bb.19:
mov rdi, qword ptr [rbp - 432]
movabs rsi, offset .L.str.3
call dev_warn
.LBB0_20:
mov rdi, qword ptr [rbp - 16]
call vsc8584_micro_assert_reset
mov dword ptr [rbp - 448], eax
cmp dword ptr [rbp - 448], 0
je .LBB0_22
# %bb.21:
jmp .LBB0_23
.LBB0_22:
mov rdi, qword ptr [rbp - 16]
mov esi, 1
call vsc8584_micro_deassert_reset
.LBB0_23:
mov rdi, qword ptr [rbp - 16]
mov esi, dword ptr [MSCC_EXT_PAGE_ACCESS]
mov edx, dword ptr [MSCC_PHY_PAGE_STANDARD]
call phy_base_write
mov rdi, qword ptr [rbp - 424]
mov dword ptr [rbp - 576], eax # 4-byte Spill
call release_firmware
mov ecx, dword ptr [rbp - 448]
mov dword ptr [rbp - 4], ecx
.LBB0_24:
mov eax, dword ptr [rbp - 4]
add rsp, 576
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size vsc8584_config_pre_init, .Lfunc_end0-vsc8584_config_pre_init
.cfi_endproc
# -- End function
.type .L__const.vsc8584_config_pre_init.pre_init1,@object # @__const.vsc8584_config_pre_init.pre_init1
.section .rodata,"a",@progbits
.p2align 4
.L__const.vsc8584_config_pre_init.pre_init1:
.long 2042 # 0x7fa
.long 5246991 # 0x50100f
.long 0 # 0x0
.long 0 # 0x0
.long 5768 # 0x1688
.long 302977 # 0x49f81
.long 0 # 0x0
.long 0 # 0x0
.long 3984 # 0xf90
.long 6850944 # 0x688980
.long 0 # 0x0
.long 0 # 0x0
.long 932 # 0x3a4
.long 55536 # 0xd8f0
.long 0 # 0x0
.long 0 # 0x0
.long 4032 # 0xfc0
.long 1024 # 0x400
.long 0 # 0x0
.long 0 # 0x0
.long 3970 # 0xf82
.long 1224706 # 0x12b002
.long 0 # 0x0
.long 0 # 0x0
.long 5766 # 0x1686
.long 4 # 0x4
.long 0 # 0x0
.long 0 # 0x0
.long 5772 # 0x168c
.long 13812847 # 0xd2c46f
.long 0 # 0x0
.long 0 # 0x0
.long 6050 # 0x17a2
.long 1568 # 0x620
.long 0 # 0x0
.long 0 # 0x0
.long 5792 # 0x16a0
.long 15663069 # 0xeeffdd
.long 0 # 0x0
.long 0 # 0x0
.long 5798 # 0x16a6
.long 463944 # 0x71448
.long 0 # 0x0
.long 0 # 0x0
.long 5796 # 0x16a4
.long 1250095 # 0x13132f
.long 0 # 0x0
.long 0 # 0x0
.long 5800 # 0x16a8
.long 0 # 0x0
.long 0 # 0x0
.long 0 # 0x0
.long 4092 # 0xffc
.long 12623912 # 0xc0a028
.long 0 # 0x0
.long 0 # 0x0
.long 4072 # 0xfe8
.long 9547884 # 0x91b06c
.long 0 # 0x0
.long 0 # 0x0
.long 4074 # 0xfea
.long 267776 # 0x41600
.long 0 # 0x0
.long 0 # 0x0
.long 3968 # 0xf80
.long 16775935 # 0xfffaff
.long 0 # 0x0
.long 0 # 0x0
.long 4076 # 0xfec
.long 9443337 # 0x901809
.long 0 # 0x0
.long 0 # 0x0
.long 4094 # 0xffe
.long 11538439 # 0xb01007
.long 0 # 0x0
.long 0 # 0x0
.long 5808 # 0x16b0
.long 15662848 # 0xeeff00
.long 0 # 0x0
.long 0 # 0x0
.long 5810 # 0x16b2
.long 28672 # 0x7000
.long 0 # 0x0
.long 0 # 0x0
.long 5812 # 0x16b4
.long 2068 # 0x814
.long 0 # 0x0
.long 0 # 0x0
.size .L__const.vsc8584_config_pre_init.pre_init1, 352
.type MSCC_EXT_PAGE_ACCESS,@object # @MSCC_EXT_PAGE_ACCESS
.comm MSCC_EXT_PAGE_ACCESS,4,4
.type MSCC_PHY_PAGE_STANDARD,@object # @MSCC_PHY_PAGE_STANDARD
.comm MSCC_PHY_PAGE_STANDARD,4,4
.type MSCC_PHY_EXT_CNTL_STATUS,@object # @MSCC_PHY_EXT_CNTL_STATUS
.comm MSCC_PHY_EXT_CNTL_STATUS,4,4
.type SMI_BROADCAST_WR_EN,@object # @SMI_BROADCAST_WR_EN
.comm SMI_BROADCAST_WR_EN,4,4
.type MII_VSC85XX_INT_MASK,@object # @MII_VSC85XX_INT_MASK
.comm MII_VSC85XX_INT_MASK,4,4
.type MSCC_PHY_BYPASS_CONTROL,@object # @MSCC_PHY_BYPASS_CONTROL
.comm MSCC_PHY_BYPASS_CONTROL,4,4
.type PARALLEL_DET_IGNORE_ADVERTISED,@object # @PARALLEL_DET_IGNORE_ADVERTISED
.comm PARALLEL_DET_IGNORE_ADVERTISED,4,4
.type MSCC_PHY_PAGE_EXTENDED_3,@object # @MSCC_PHY_PAGE_EXTENDED_3
.comm MSCC_PHY_PAGE_EXTENDED_3,4,4
.type MSCC_PHY_SERDES_TX_CRC_ERR_CNT,@object # @MSCC_PHY_SERDES_TX_CRC_ERR_CNT
.comm MSCC_PHY_SERDES_TX_CRC_ERR_CNT,4,4
.type MSCC_PHY_PAGE_TEST,@object # @MSCC_PHY_PAGE_TEST
.comm MSCC_PHY_PAGE_TEST,4,4
.type MSCC_PHY_TEST_PAGE_5,@object # @MSCC_PHY_TEST_PAGE_5
.comm MSCC_PHY_TEST_PAGE_5,4,4
.type MSCC_PHY_TEST_PAGE_8,@object # @MSCC_PHY_TEST_PAGE_8
.comm MSCC_PHY_TEST_PAGE_8,4,4
.type MSCC_PHY_PAGE_TR,@object # @MSCC_PHY_PAGE_TR
.comm MSCC_PHY_PAGE_TR,4,4
.type MSCC_PHY_TR_CNTL,@object # @MSCC_PHY_TR_CNTL
.comm MSCC_PHY_TR_CNTL,4,4
.type TR_WRITE,@object # @TR_WRITE
.comm TR_WRITE,4,4
.type MSCC_PHY_TR_MSB,@object # @MSCC_PHY_TR_MSB
.comm MSCC_PHY_TR_MSB,4,4
.type MSCC_PHY_PAGE_EXTENDED_2,@object # @MSCC_PHY_PAGE_EXTENDED_2
.comm MSCC_PHY_PAGE_EXTENDED_2,4,4
.type MSCC_PHY_CU_PMD_TX_CNTL,@object # @MSCC_PHY_CU_PMD_TX_CNTL
.comm MSCC_PHY_CU_PMD_TX_CNTL,4,4
.type MSCC_VSC8584_REVB_INT8051_FW,@object # @MSCC_VSC8584_REVB_INT8051_FW
.comm MSCC_VSC8584_REVB_INT8051_FW,4,4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "failed to load firmware %s, ret: %d\n"
.size .L.str, 37
.type MSCC_VSC8584_REVB_INT8051_FW_START_ADDR,@object # @MSCC_VSC8584_REVB_INT8051_FW_START_ADDR
.comm MSCC_VSC8584_REVB_INT8051_FW_START_ADDR,4,4
.type MSCC_VSC8584_REVB_INT8051_FW_CRC,@object # @MSCC_VSC8584_REVB_INT8051_FW_CRC
.comm MSCC_VSC8584_REVB_INT8051_FW_CRC,4,4
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "FW CRC is not the expected one, patching FW\n"
.size .L.str.1, 45
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "failed to patch FW, expect non-optimal device\n"
.size .L.str.2, 47
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "FW CRC after patching is not the expected one, expect non-optimal device\n"
.size .L.str.3, 74
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym vsc8584_config_pre_init
.addrsig_sym phy_base_write
.addrsig_sym phy_base_read
.addrsig_sym TR_ADDR
.addrsig_sym ARRAY_SIZE
.addrsig_sym vsc8584_csr_write
.addrsig_sym request_firmware
.addrsig_sym dev_err
.addrsig_sym vsc8584_get_fw_crc
.addrsig_sym dev_dbg
.addrsig_sym vsc8584_patch_fw
.addrsig_sym dev_warn
.addrsig_sym vsc8584_micro_deassert_reset
.addrsig_sym vsc8584_micro_assert_reset
.addrsig_sym release_firmware
.addrsig_sym MSCC_EXT_PAGE_ACCESS
.addrsig_sym MSCC_PHY_PAGE_STANDARD
.addrsig_sym MSCC_PHY_EXT_CNTL_STATUS
.addrsig_sym SMI_BROADCAST_WR_EN
.addrsig_sym MII_VSC85XX_INT_MASK
.addrsig_sym MSCC_PHY_BYPASS_CONTROL
.addrsig_sym PARALLEL_DET_IGNORE_ADVERTISED
.addrsig_sym MSCC_PHY_PAGE_EXTENDED_3
.addrsig_sym MSCC_PHY_SERDES_TX_CRC_ERR_CNT
.addrsig_sym MSCC_PHY_PAGE_TEST
.addrsig_sym MSCC_PHY_TEST_PAGE_5
.addrsig_sym MSCC_PHY_TEST_PAGE_8
.addrsig_sym MSCC_PHY_PAGE_TR
.addrsig_sym MSCC_PHY_TR_CNTL
.addrsig_sym TR_WRITE
.addrsig_sym MSCC_PHY_TR_MSB
.addrsig_sym MSCC_PHY_PAGE_EXTENDED_2
.addrsig_sym MSCC_PHY_CU_PMD_TX_CNTL
.addrsig_sym MSCC_VSC8584_REVB_INT8051_FW
.addrsig_sym MSCC_VSC8584_REVB_INT8051_FW_START_ADDR
.addrsig_sym MSCC_VSC8584_REVB_INT8051_FW_CRC
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_mscc.c_vsc8584_config_pre_init.c"
.p2align 2
.type vsc8584_config_pre_init,%function
.code 32
vsc8584_config_pre_init:
.fnstart
.save {r4, r10, r11, lr}
push {r4, r10, r11, lr}
.setfp r11, sp, #8
add r11, sp, #8
.pad #600
sub sp, sp, #600
str r0, [r11, #-16]
movw r1, :lower16:.L__const.vsc8584_config_pre_init.pre_init1
movt r1, :upper16:.L__const.vsc8584_config_pre_init.pre_init1
add r0, sp, #240
mov r2, #352
bl __aeabi_memcpy4
add r0, sp, #192
mov r1, #48
bl __aeabi_memclr4
movw r0, #1158
str r0, [sp, #192]
movw r0, #42264
movt r0, #8
str r0, [sp, #196]
movw r0, #1160
str r0, [sp, #208]
movw r0, #50838
movt r0, #109
str r0, [sp, #212]
movw r0, #1162
str r0, [sp, #224]
movw r0, #2322
str r0, [sp, #228]
ldr r0, [r11, #-16]
str r0, [sp, #184]
ldr r0, [r11, #-16]
movw r1, :lower16:MSCC_EXT_PAGE_ACCESS
movt r1, :upper16:MSCC_EXT_PAGE_ACCESS
ldr r2, [r1]
movw r3, :lower16:MSCC_PHY_PAGE_STANDARD
movt r3, :upper16:MSCC_PHY_PAGE_STANDARD
ldr r3, [r3]
str r1, [sp, #164]
mov r1, r2
mov r2, r3
bl phy_base_write
ldr r1, [r11, #-16]
movw r2, :lower16:MSCC_PHY_EXT_CNTL_STATUS
movt r2, :upper16:MSCC_PHY_EXT_CNTL_STATUS
ldr r3, [r2]
str r0, [sp, #160]
mov r0, r1
mov r1, r3
str r2, [sp, #156]
bl phy_base_read
str r0, [sp, #172]
movw r0, :lower16:SMI_BROADCAST_WR_EN
movt r0, :upper16:SMI_BROADCAST_WR_EN
ldr r0, [r0]
ldr r1, [sp, #172]
orr r0, r1, r0
str r0, [sp, #172]
ldr r0, [r11, #-16]
ldr r1, [sp, #156]
ldr r1, [r1]
ldr r2, [sp, #172]
bl phy_base_write
ldr r1, [r11, #-16]
movw r2, :lower16:MII_VSC85XX_INT_MASK
movt r2, :upper16:MII_VSC85XX_INT_MASK
ldr r2, [r2]
mov r3, #0
str r0, [sp, #152]
mov r0, r1
mov r1, r2
mov r2, r3
str r3, [sp, #148]
bl phy_base_write
ldr r1, [r11, #-16]
movw r2, :lower16:MSCC_PHY_BYPASS_CONTROL
movt r2, :upper16:MSCC_PHY_BYPASS_CONTROL
ldr r3, [r2]
str r0, [sp, #144]
mov r0, r1
mov r1, r3
str r2, [sp, #140]
bl phy_base_read
str r0, [sp, #172]
movw r0, :lower16:PARALLEL_DET_IGNORE_ADVERTISED
movt r0, :upper16:PARALLEL_DET_IGNORE_ADVERTISED
ldr r0, [r0]
ldr r1, [sp, #172]
orr r0, r1, r0
str r0, [sp, #172]
ldr r0, [r11, #-16]
ldr r1, [sp, #140]
ldr r1, [r1]
ldr r2, [sp, #172]
bl phy_base_write
ldr r1, [r11, #-16]
ldr r2, [sp, #164]
ldr r3, [r2]
movw r12, :lower16:MSCC_PHY_PAGE_EXTENDED_3
movt r12, :upper16:MSCC_PHY_PAGE_EXTENDED_3
ldr r2, [r12]
str r0, [sp, #136]
mov r0, r1
mov r1, r3
bl phy_base_write
ldr r1, [r11, #-16]
movw r2, :lower16:MSCC_PHY_SERDES_TX_CRC_ERR_CNT
movt r2, :upper16:MSCC_PHY_SERDES_TX_CRC_ERR_CNT
ldr r2, [r2]
mov r3, #8192
str r0, [sp, #132]
mov r0, r1
mov r1, r2
mov r2, r3
bl phy_base_write
ldr r1, [r11, #-16]
ldr r2, [sp, #164]
ldr r3, [r2]
movw r12, :lower16:MSCC_PHY_PAGE_TEST
movt r12, :upper16:MSCC_PHY_PAGE_TEST
ldr r2, [r12]
str r0, [sp, #128]
mov r0, r1
mov r1, r3
bl phy_base_write
ldr r1, [r11, #-16]
movw r2, :lower16:MSCC_PHY_TEST_PAGE_5
movt r2, :upper16:MSCC_PHY_TEST_PAGE_5
ldr r2, [r2]
movw r3, #7968
str r0, [sp, #124]
mov r0, r1
mov r1, r2
mov r2, r3
bl phy_base_write
ldr r1, [r11, #-16]
movw r2, :lower16:MSCC_PHY_TEST_PAGE_8
movt r2, :upper16:MSCC_PHY_TEST_PAGE_8
ldr r3, [r2]
str r0, [sp, #120]
mov r0, r1
mov r1, r3
str r2, [sp, #116]
bl phy_base_read
str r0, [sp, #172]
ldr r0, [sp, #172]
orr r0, r0, #32768
str r0, [sp, #172]
ldr r0, [r11, #-16]
ldr r1, [sp, #116]
ldr r1, [r1]
ldr r2, [sp, #172]
bl phy_base_write
ldr r1, [r11, #-16]
ldr r2, [sp, #164]
ldr r3, [r2]
movw r12, :lower16:MSCC_PHY_PAGE_TR
movt r12, :upper16:MSCC_PHY_PAGE_TR
ldr r2, [r12]
str r0, [sp, #112]
mov r0, r1
mov r1, r3
bl phy_base_write
ldr r1, [r11, #-16]
movw r2, :lower16:MSCC_PHY_TR_CNTL
movt r2, :upper16:MSCC_PHY_TR_CNTL
ldr r3, [r2]
movw r12, :lower16:TR_WRITE
movt r12, :upper16:TR_WRITE
ldr lr, [r12]
movw r4, #12196
str r0, [sp, #108]
mov r0, r4
str r1, [sp, #104]
str r2, [sp, #100]
str r3, [sp, #96]
str r12, [sp, #92]
str lr, [sp, #88]
bl TR_ADDR
ldr r1, [sp, #88]
orr r2, r1, r0
ldr r0, [sp, #104]
ldr r1, [sp, #96]
bl phy_base_write
ldr r1, [r11, #-16]
movw r2, :lower16:MSCC_PHY_TR_MSB
movt r2, :upper16:MSCC_PHY_TR_MSB
ldr r3, [r2]
str r0, [sp, #84]
mov r0, r1
mov r1, r3
str r2, [sp, #80]
bl phy_base_read
str r0, [sp, #172]
ldr r0, [sp, #172]
bic r0, r0, #127
str r0, [sp, #172]
ldr r0, [sp, #172]
orr r0, r0, #25
str r0, [sp, #172]
ldr r0, [r11, #-16]
ldr r1, [sp, #80]
ldr r1, [r1]
ldr r2, [sp, #172]
bl phy_base_write
ldr r1, [r11, #-16]
ldr r2, [sp, #100]
ldr r3, [r2]
ldr r12, [sp, #92]
ldr lr, [r12]
movw r4, #4004
str r0, [sp, #76]
mov r0, r4
str r1, [sp, #72]
str r3, [sp, #68]
str lr, [sp, #64]
bl TR_ADDR
ldr r1, [sp, #64]
orr r2, r1, r0
ldr r0, [sp, #72]
ldr r1, [sp, #68]
bl phy_base_write
ldr r1, [sp, #148]
str r1, [sp, #180]
b .LBB0_1
.LBB0_1:
ldr r0, [sp, #180]
add r1, sp, #240
str r0, [sp, #60]
mov r0, r1
bl ARRAY_SIZE
ldr r1, [sp, #60]
cmp r1, r0
bhs .LBB0_4
b .LBB0_2
.LBB0_2:
ldr r0, [r11, #-16]
ldr r1, [sp, #180]
add r2, sp, #240
add r1, r2, r1, lsl #4
ldr r2, [r1, #8]
ldr r1, [r1, #12]
bl vsc8584_csr_write
b .LBB0_3
.LBB0_3:
ldr r0, [sp, #180]
add r0, r0, #1
str r0, [sp, #180]
b .LBB0_1
.LBB0_4:
ldr r0, [r11, #-16]
movw r1, :lower16:MSCC_EXT_PAGE_ACCESS
movt r1, :upper16:MSCC_EXT_PAGE_ACCESS
ldr r2, [r1]
movw r3, :lower16:MSCC_PHY_PAGE_EXTENDED_2
movt r3, :upper16:MSCC_PHY_PAGE_EXTENDED_2
ldr r3, [r3]
str r1, [sp, #56]
mov r1, r2
mov r2, r3
bl phy_base_write
ldr r1, [r11, #-16]
movw r2, :lower16:MSCC_PHY_CU_PMD_TX_CNTL
movt r2, :upper16:MSCC_PHY_CU_PMD_TX_CNTL
ldr r2, [r2]
movw r3, #654
str r0, [sp, #52]
mov r0, r1
mov r1, r2
mov r2, r3
bl phy_base_write
ldr r1, [r11, #-16]
ldr r2, [sp, #56]
ldr r3, [r2]
movw r12, :lower16:MSCC_PHY_PAGE_TR
movt r12, :upper16:MSCC_PHY_PAGE_TR
ldr r2, [r12]
str r0, [sp, #48]
mov r0, r1
mov r1, r3
bl phy_base_write
mov r1, #0
str r1, [sp, #180]
b .LBB0_5
.LBB0_5:
ldr r0, [sp, #180]
add r1, sp, #192
str r0, [sp, #44]
mov r0, r1
bl ARRAY_SIZE
ldr r1, [sp, #44]
cmp r1, r0
bhs .LBB0_8
b .LBB0_6
.LBB0_6:
ldr r0, [r11, #-16]
ldr r1, [sp, #180]
add r2, sp, #192
add r1, r2, r1, lsl #4
ldr r2, [r1, #8]
ldr r1, [r1, #12]
bl vsc8584_csr_write
b .LBB0_7
.LBB0_7:
ldr r0, [sp, #180]
add r0, r0, #1
str r0, [sp, #180]
b .LBB0_5
.LBB0_8:
ldr r0, [r11, #-16]
movw r1, :lower16:MSCC_EXT_PAGE_ACCESS
movt r1, :upper16:MSCC_EXT_PAGE_ACCESS
ldr r2, [r1]
movw r3, :lower16:MSCC_PHY_PAGE_TEST
movt r3, :upper16:MSCC_PHY_PAGE_TEST
ldr r3, [r3]
str r1, [sp, #40]
mov r1, r2
mov r2, r3
bl phy_base_write
ldr r1, [r11, #-16]
movw r2, :lower16:MSCC_PHY_TEST_PAGE_8
movt r2, :upper16:MSCC_PHY_TEST_PAGE_8
ldr r3, [r2]
str r0, [sp, #36]
mov r0, r1
mov r1, r3
str r2, [sp, #32]
bl phy_base_read
str r0, [sp, #172]
ldr r0, [sp, #172]
bic r0, r0, #32768
str r0, [sp, #172]
ldr r0, [r11, #-16]
ldr r1, [sp, #32]
ldr r1, [r1]
ldr r2, [sp, #172]
bl phy_base_write
ldr r1, [r11, #-16]
ldr r2, [sp, #40]
ldr r3, [r2]
movw r12, :lower16:MSCC_PHY_PAGE_STANDARD
movt r12, :upper16:MSCC_PHY_PAGE_STANDARD
ldr r2, [r12]
str r0, [sp, #28]
mov r0, r1
mov r1, r3
bl phy_base_write
ldr r1, [r11, #-16]
movw r2, :lower16:MSCC_PHY_EXT_CNTL_STATUS
movt r2, :upper16:MSCC_PHY_EXT_CNTL_STATUS
ldr r3, [r2]
str r0, [sp, #24]
mov r0, r1
mov r1, r3
str r2, [sp, #20]
bl phy_base_read
str r0, [sp, #172]
movw r0, :lower16:SMI_BROADCAST_WR_EN
movt r0, :upper16:SMI_BROADCAST_WR_EN
ldr r0, [r0]
ldr r1, [sp, #172]
bic r0, r1, r0
str r0, [sp, #172]
ldr r0, [r11, #-16]
ldr r1, [sp, #20]
ldr r1, [r1]
ldr r2, [sp, #172]
bl phy_base_write
movw r1, :lower16:MSCC_VSC8584_REVB_INT8051_FW
movt r1, :upper16:MSCC_VSC8584_REVB_INT8051_FW
ldr r1, [r1]
ldr r2, [sp, #184]
add r3, sp, #188
str r0, [sp, #16]
mov r0, r3
bl request_firmware
str r0, [sp, #168]
ldr r0, [sp, #168]
cmp r0, #0
beq .LBB0_10
b .LBB0_9
.LBB0_9:
ldr r0, [sp, #184]
movw r1, :lower16:MSCC_VSC8584_REVB_INT8051_FW
movt r1, :upper16:MSCC_VSC8584_REVB_INT8051_FW
ldr r2, [r1]
ldr r3, [sp, #168]
movw r1, :lower16:.L.str
movt r1, :upper16:.L.str
bl dev_err
ldr r1, [sp, #168]
str r1, [r11, #-12]
b .LBB0_24
.LBB0_10:
ldr r0, [r11, #-16]
movw r1, :lower16:MSCC_VSC8584_REVB_INT8051_FW_START_ADDR
movt r1, :upper16:MSCC_VSC8584_REVB_INT8051_FW_START_ADDR
ldr r1, [r1]
ldr r2, [sp, #188]
ldr r2, [r2]
add r2, r2, #1
add r3, sp, #176
bl vsc8584_get_fw_crc
str r0, [sp, #168]
ldr r0, [sp, #168]
cmp r0, #0
beq .LBB0_12
b .LBB0_11
.LBB0_11:
b .LBB0_23
.LBB0_12:
ldr r0, [sp, #176]
movw r1, :lower16:MSCC_VSC8584_REVB_INT8051_FW_CRC
movt r1, :upper16:MSCC_VSC8584_REVB_INT8051_FW_CRC
ldr r1, [r1]
cmp r0, r1
beq .LBB0_16
b .LBB0_13
.LBB0_13:
ldr r0, [sp, #184]
movw r1, :lower16:.L.str.1
movt r1, :upper16:.L.str.1
bl dev_dbg
ldr r1, [r11, #-16]
ldr r2, [sp, #188]
str r0, [sp, #12]
mov r0, r1
mov r1, r2
bl vsc8584_patch_fw
cmp r0, #0
beq .LBB0_15
b .LBB0_14
.LBB0_14:
ldr r0, [sp, #184]
movw r1, :lower16:.L.str.2
movt r1, :upper16:.L.str.2
bl dev_warn
b .LBB0_15
.LBB0_15:
b .LBB0_16
.LBB0_16:
ldr r0, [r11, #-16]
mov r1, #0
bl vsc8584_micro_deassert_reset
ldr r1, [r11, #-16]
movw r2, :lower16:MSCC_VSC8584_REVB_INT8051_FW_START_ADDR
movt r2, :upper16:MSCC_VSC8584_REVB_INT8051_FW_START_ADDR
ldr r2, [r2]
ldr r3, [sp, #188]
ldr r3, [r3]
add r3, r3, #1
add r12, sp, #176
str r0, [sp, #8]
mov r0, r1
mov r1, r2
mov r2, r3
mov r3, r12
bl vsc8584_get_fw_crc
str r0, [sp, #168]
ldr r0, [sp, #168]
cmp r0, #0
beq .LBB0_18
b .LBB0_17
.LBB0_17:
b .LBB0_23
.LBB0_18:
ldr r0, [sp, #176]
movw r1, :lower16:MSCC_VSC8584_REVB_INT8051_FW_CRC
movt r1, :upper16:MSCC_VSC8584_REVB_INT8051_FW_CRC
ldr r1, [r1]
cmp r0, r1
beq .LBB0_20
b .LBB0_19
.LBB0_19:
ldr r0, [sp, #184]
movw r1, :lower16:.L.str.3
movt r1, :upper16:.L.str.3
bl dev_warn
b .LBB0_20
.LBB0_20:
ldr r0, [r11, #-16]
bl vsc8584_micro_assert_reset
str r0, [sp, #168]
ldr r0, [sp, #168]
cmp r0, #0
beq .LBB0_22
b .LBB0_21
.LBB0_21:
b .LBB0_23
.LBB0_22:
ldr r0, [r11, #-16]
mov r1, #1
bl vsc8584_micro_deassert_reset
b .LBB0_23
.LBB0_23:
ldr r0, [r11, #-16]
movw r1, :lower16:MSCC_EXT_PAGE_ACCESS
movt r1, :upper16:MSCC_EXT_PAGE_ACCESS
ldr r1, [r1]
movw r2, :lower16:MSCC_PHY_PAGE_STANDARD
movt r2, :upper16:MSCC_PHY_PAGE_STANDARD
ldr r2, [r2]
bl phy_base_write
ldr r1, [sp, #188]
str r0, [sp, #4]
mov r0, r1
bl release_firmware
ldr r1, [sp, #168]
str r1, [r11, #-12]
b .LBB0_24
.LBB0_24:
ldr r0, [r11, #-12]
sub sp, r11, #8
pop {r4, r10, r11, pc}
.Lfunc_end0:
.size vsc8584_config_pre_init, .Lfunc_end0-vsc8584_config_pre_init
.cantunwind
.fnend
.type .L__const.vsc8584_config_pre_init.pre_init1,%object
.section .rodata,"a",%progbits
.p2align 2
.L__const.vsc8584_config_pre_init.pre_init1:
.long 2042
.long 5246991
.long 0
.long 0
.long 5768
.long 302977
.long 0
.long 0
.long 3984
.long 6850944
.long 0
.long 0
.long 932
.long 55536
.long 0
.long 0
.long 4032
.long 1024
.long 0
.long 0
.long 3970
.long 1224706
.long 0
.long 0
.long 5766
.long 4
.long 0
.long 0
.long 5772
.long 13812847
.long 0
.long 0
.long 6050
.long 1568
.long 0
.long 0
.long 5792
.long 15663069
.long 0
.long 0
.long 5798
.long 463944
.long 0
.long 0
.long 5796
.long 1250095
.long 0
.long 0
.long 5800
.long 0
.long 0
.long 0
.long 4092
.long 12623912
.long 0
.long 0
.long 4072
.long 9547884
.long 0
.long 0
.long 4074
.long 267776
.long 0
.long 0
.long 3968
.long 16775935
.long 0
.long 0
.long 4076
.long 9443337
.long 0
.long 0
.long 4094
.long 11538439
.long 0
.long 0
.long 5808
.long 15662848
.long 0
.long 0
.long 5810
.long 28672
.long 0
.long 0
.long 5812
.long 2068
.long 0
.long 0
.size .L__const.vsc8584_config_pre_init.pre_init1, 352
.type MSCC_EXT_PAGE_ACCESS,%object
.comm MSCC_EXT_PAGE_ACCESS,4,4
.type MSCC_PHY_PAGE_STANDARD,%object
.comm MSCC_PHY_PAGE_STANDARD,4,4
.type MSCC_PHY_EXT_CNTL_STATUS,%object
.comm MSCC_PHY_EXT_CNTL_STATUS,4,4
.type SMI_BROADCAST_WR_EN,%object
.comm SMI_BROADCAST_WR_EN,4,4
.type MII_VSC85XX_INT_MASK,%object
.comm MII_VSC85XX_INT_MASK,4,4
.type MSCC_PHY_BYPASS_CONTROL,%object
.comm MSCC_PHY_BYPASS_CONTROL,4,4
.type PARALLEL_DET_IGNORE_ADVERTISED,%object
.comm PARALLEL_DET_IGNORE_ADVERTISED,4,4
.type MSCC_PHY_PAGE_EXTENDED_3,%object
.comm MSCC_PHY_PAGE_EXTENDED_3,4,4
.type MSCC_PHY_SERDES_TX_CRC_ERR_CNT,%object
.comm MSCC_PHY_SERDES_TX_CRC_ERR_CNT,4,4
.type MSCC_PHY_PAGE_TEST,%object
.comm MSCC_PHY_PAGE_TEST,4,4
.type MSCC_PHY_TEST_PAGE_5,%object
.comm MSCC_PHY_TEST_PAGE_5,4,4
.type MSCC_PHY_TEST_PAGE_8,%object
.comm MSCC_PHY_TEST_PAGE_8,4,4
.type MSCC_PHY_PAGE_TR,%object
.comm MSCC_PHY_PAGE_TR,4,4
.type MSCC_PHY_TR_CNTL,%object
.comm MSCC_PHY_TR_CNTL,4,4
.type TR_WRITE,%object
.comm TR_WRITE,4,4
.type MSCC_PHY_TR_MSB,%object
.comm MSCC_PHY_TR_MSB,4,4
.type MSCC_PHY_PAGE_EXTENDED_2,%object
.comm MSCC_PHY_PAGE_EXTENDED_2,4,4
.type MSCC_PHY_CU_PMD_TX_CNTL,%object
.comm MSCC_PHY_CU_PMD_TX_CNTL,4,4
.type MSCC_VSC8584_REVB_INT8051_FW,%object
.comm MSCC_VSC8584_REVB_INT8051_FW,4,4
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "failed to load firmware %s, ret: %d\n"
.size .L.str, 37
.type MSCC_VSC8584_REVB_INT8051_FW_START_ADDR,%object
.comm MSCC_VSC8584_REVB_INT8051_FW_START_ADDR,4,4
.type MSCC_VSC8584_REVB_INT8051_FW_CRC,%object
.comm MSCC_VSC8584_REVB_INT8051_FW_CRC,4,4
.type .L.str.1,%object
.L.str.1:
.asciz "FW CRC is not the expected one, patching FW\n"
.size .L.str.1, 45
.type .L.str.2,%object
.L.str.2:
.asciz "failed to patch FW, expect non-optimal device\n"
.size .L.str.2, 47
.type .L.str.3,%object
.L.str.3:
.asciz "FW CRC after patching is not the expected one, expect non-optimal device\n"
.size .L.str.3, 74
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym vsc8584_config_pre_init
.addrsig_sym phy_base_write
.addrsig_sym phy_base_read
.addrsig_sym TR_ADDR
.addrsig_sym ARRAY_SIZE
.addrsig_sym vsc8584_csr_write
.addrsig_sym request_firmware
.addrsig_sym dev_err
.addrsig_sym vsc8584_get_fw_crc
.addrsig_sym dev_dbg
.addrsig_sym vsc8584_patch_fw
.addrsig_sym dev_warn
.addrsig_sym vsc8584_micro_deassert_reset
.addrsig_sym vsc8584_micro_assert_reset
.addrsig_sym release_firmware
.addrsig_sym MSCC_EXT_PAGE_ACCESS
.addrsig_sym MSCC_PHY_PAGE_STANDARD
.addrsig_sym MSCC_PHY_EXT_CNTL_STATUS
.addrsig_sym SMI_BROADCAST_WR_EN
.addrsig_sym MII_VSC85XX_INT_MASK
.addrsig_sym MSCC_PHY_BYPASS_CONTROL
.addrsig_sym PARALLEL_DET_IGNORE_ADVERTISED
.addrsig_sym MSCC_PHY_PAGE_EXTENDED_3
.addrsig_sym MSCC_PHY_SERDES_TX_CRC_ERR_CNT
.addrsig_sym MSCC_PHY_PAGE_TEST
.addrsig_sym MSCC_PHY_TEST_PAGE_5
.addrsig_sym MSCC_PHY_TEST_PAGE_8
.addrsig_sym MSCC_PHY_PAGE_TR
.addrsig_sym MSCC_PHY_TR_CNTL
.addrsig_sym TR_WRITE
.addrsig_sym MSCC_PHY_TR_MSB
.addrsig_sym MSCC_PHY_PAGE_EXTENDED_2
.addrsig_sym MSCC_PHY_CU_PMD_TX_CNTL
.addrsig_sym MSCC_VSC8584_REVB_INT8051_FW
.addrsig_sym MSCC_VSC8584_REVB_INT8051_FW_START_ADDR
.addrsig_sym MSCC_VSC8584_REVB_INT8051_FW_CRC
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_hns_enet.c_hns_nic_select_queue.c"
.p2align 4, 0x90 # -- Begin function hns_nic_select_queue
.type hns_nic_select_queue,@function
hns_nic_select_queue: # @hns_nic_select_queue
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 48
mov qword ptr [rbp - 16], rdi
mov qword ptr [rbp - 24], rsi
mov qword ptr [rbp - 32], rdx
mov rax, qword ptr [rbp - 24]
mov rax, qword ptr [rax]
mov qword ptr [rbp - 40], rax
mov rdi, qword ptr [rbp - 16]
call netdev_priv
mov qword ptr [rbp - 48], rax
mov rax, qword ptr [rbp - 48]
mov edi, dword ptr [rax]
call AE_IS_VER1
cmp eax, 0
jne .LBB0_3
# %bb.1:
mov rax, qword ptr [rbp - 40]
mov edi, dword ptr [rax]
call is_multicast_ether_addr
cmp rax, 0
je .LBB0_3
# %bb.2:
mov dword ptr [rbp - 4], 0
jmp .LBB0_4
.LBB0_3:
xor eax, eax
mov edx, eax
mov rdi, qword ptr [rbp - 16]
mov rsi, qword ptr [rbp - 24]
call netdev_pick_tx
mov dword ptr [rbp - 4], eax
.LBB0_4:
mov eax, dword ptr [rbp - 4]
add rsp, 48
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size hns_nic_select_queue, .Lfunc_end0-hns_nic_select_queue
.cfi_endproc
# -- End function
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym hns_nic_select_queue
.addrsig_sym netdev_priv
.addrsig_sym AE_IS_VER1
.addrsig_sym is_multicast_ether_addr
.addrsig_sym netdev_pick_tx
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_hns_enet.c_hns_nic_select_queue.c"
.p2align 2
.type hns_nic_select_queue,%function
.code 32
hns_nic_select_queue:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #24
sub sp, sp, #24
str r0, [r11, #-8]
str r1, [sp, #12]
str r2, [sp, #8]
ldr r0, [sp, #12]
ldr r0, [r0]
str r0, [sp, #4]
ldr r0, [r11, #-8]
bl netdev_priv
str r0, [sp]
ldr r0, [sp]
ldr r0, [r0]
bl AE_IS_VER1
cmp r0, #0
bne .LBB0_3
b .LBB0_1
.LBB0_1:
ldr r0, [sp, #4]
ldr r0, [r0]
bl is_multicast_ether_addr
cmp r0, #0
beq .LBB0_3
b .LBB0_2
.LBB0_2:
mov r0, #0
str r0, [r11, #-4]
b .LBB0_4
.LBB0_3:
ldr r0, [r11, #-8]
ldr r1, [sp, #12]
mov r2, #0
bl netdev_pick_tx
str r0, [r11, #-4]
b .LBB0_4
.LBB0_4:
ldr r0, [r11, #-4]
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size hns_nic_select_queue, .Lfunc_end0-hns_nic_select_queue
.cantunwind
.fnend
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym hns_nic_select_queue
.addrsig_sym netdev_priv
.addrsig_sym AE_IS_VER1
.addrsig_sym is_multicast_ether_addr
.addrsig_sym netdev_pick_tx
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_print-sflow.c_print_sflow_extended_switch_data.c"
.p2align 4, 0x90 # -- Begin function print_sflow_extended_switch_data
.type print_sflow_extended_switch_data,@function
print_sflow_extended_switch_data: # @print_sflow_extended_switch_data
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 64
mov qword ptr [rbp - 16], rdi
mov qword ptr [rbp - 24], rsi
mov dword ptr [rbp - 28], edx
movsxd rax, dword ptr [rbp - 28]
cmp rax, 16
jae .LBB0_2
# %bb.1:
mov dword ptr [rbp - 4], 1
jmp .LBB0_3
.LBB0_2:
mov rax, qword ptr [rbp - 24]
mov qword ptr [rbp - 40], rax
mov rax, qword ptr [rbp - 40]
mov rdi, qword ptr [rax]
mov rsi, qword ptr [rax + 8]
call ND_TCHECK
mov rcx, qword ptr [rbp - 40]
mov edi, dword ptr [rcx + 12]
mov dword ptr [rbp - 44], eax # 4-byte Spill
call EXTRACT_32BITS
mov rcx, qword ptr [rbp - 40]
mov edi, dword ptr [rcx + 8]
mov dword ptr [rbp - 48], eax # 4-byte Spill
call EXTRACT_32BITS
mov rcx, qword ptr [rbp - 40]
mov edi, dword ptr [rcx + 4]
mov dword ptr [rbp - 52], eax # 4-byte Spill
call EXTRACT_32BITS
mov rcx, qword ptr [rbp - 40]
mov edi, dword ptr [rcx]
mov dword ptr [rbp - 56], eax # 4-byte Spill
call EXTRACT_32BITS
movsxd rdi, eax
call ND_PRINT
mov dword ptr [rbp - 4], 0
.LBB0_3:
mov eax, dword ptr [rbp - 4]
add rsp, 64
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size print_sflow_extended_switch_data, .Lfunc_end0-print_sflow_extended_switch_data
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "\n\t src vlan %u, src pri %u, dst vlan %u, dst pri %u"
.size .L.str, 57
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym print_sflow_extended_switch_data
.addrsig_sym ND_TCHECK
.addrsig_sym ND_PRINT
.addrsig_sym EXTRACT_32BITS
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_print-sflow.c_print_sflow_extended_switch_data.c"
.p2align 2
.type print_sflow_extended_switch_data,%function
.code 32
print_sflow_extended_switch_data:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #40
sub sp, sp, #40
str r0, [r11, #-8]
str r1, [r11, #-12]
str r2, [r11, #-16]
ldr r0, [r11, #-16]
cmp r0, #15
bhi .LBB0_2
b .LBB0_1
.LBB0_1:
mov r0, #1
str r0, [r11, #-4]
b .LBB0_3
.LBB0_2:
ldr r0, [r11, #-12]
str r0, [sp, #20]
ldr r0, [sp, #20]
ldr r1, [r0]
ldr r2, [r0, #4]
ldr r3, [r0, #8]
ldr r0, [r0, #12]
str r0, [sp, #16]
mov r0, r1
mov r1, r2
mov r2, r3
ldr r3, [sp, #16]
bl ND_TCHECK
ldr r1, [sp, #20]
ldr r1, [r1, #12]
str r0, [sp, #12]
mov r0, r1
bl EXTRACT_32BITS
ldr r1, [sp, #20]
ldr r1, [r1, #8]
str r0, [sp, #8]
mov r0, r1
bl EXTRACT_32BITS
ldr r1, [sp, #20]
ldr r1, [r1, #4]
str r0, [sp, #4]
mov r0, r1
bl EXTRACT_32BITS
ldr r1, [sp, #20]
ldr r1, [r1]
str r0, [sp]
mov r0, r1
bl EXTRACT_32BITS
bl ND_PRINT
mov r1, #0
str r1, [r11, #-4]
b .LBB0_3
.LBB0_3:
ldr r0, [r11, #-4]
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size print_sflow_extended_switch_data, .Lfunc_end0-print_sflow_extended_switch_data
.cantunwind
.fnend
.type .L.str,%object
.section .rodata.str1.1,"aMS",%progbits,1
.L.str:
.asciz "\n\t src vlan %u, src pri %u, dst vlan %u, dst pri %u"
.size .L.str, 57
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym print_sflow_extended_switch_data
.addrsig_sym ND_TCHECK
.addrsig_sym ND_PRINT
.addrsig_sym EXTRACT_32BITS
.eabi_attribute 30, 6
|
.text
.intel_syntax noprefix
.file "extr_sys_socket.c_soo_fill_kinfo.c"
.p2align 4, 0x90 # -- Begin function soo_fill_kinfo
.type soo_fill_kinfo,@function
soo_fill_kinfo: # @soo_fill_kinfo
.cfi_startproc
# %bb.0:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset rbp, -16
mov rbp, rsp
.cfi_def_cfa_register rbp
sub rsp, 80
mov qword ptr [rbp - 8], rdi
mov qword ptr [rbp - 16], rsi
mov qword ptr [rbp - 24], rdx
mov eax, dword ptr [rip + KF_TYPE_SOCKET]
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 80], eax
mov rcx, qword ptr [rbp - 8]
mov rcx, qword ptr [rcx]
mov qword ptr [rbp - 56], rcx
mov rcx, qword ptr [rbp - 56]
mov edi, dword ptr [rcx + 28]
call CURVNET_SET
mov rcx, qword ptr [rbp - 56]
mov rcx, qword ptr [rcx]
mov rcx, qword ptr [rcx]
mov edi, dword ptr [rcx + 4]
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 68], edi
mov rcx, qword ptr [rbp - 56]
mov edi, dword ptr [rcx + 24]
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 72], edi
mov rcx, qword ptr [rbp - 56]
mov rcx, qword ptr [rcx]
mov edi, dword ptr [rcx + 16]
mov rcx, qword ptr [rbp - 16]
mov dword ptr [rcx + 64], edi
mov rcx, qword ptr [rbp - 56]
mov rcx, qword ptr [rcx + 16]
mov rdx, qword ptr [rbp - 16]
mov qword ptr [rdx + 8], rcx
mov rcx, qword ptr [rbp - 16]
mov edi, dword ptr [rcx + 68]
mov r8d, edi
sub r8d, 128
mov dword ptr [rbp - 64], edi # 4-byte Spill
je .LBB0_6
jmp .LBB0_18
.LBB0_18:
mov eax, dword ptr [rbp - 64] # 4-byte Reload
add eax, -129
sub eax, 1
ja .LBB0_11
jmp .LBB0_1
.LBB0_1:
mov rax, qword ptr [rbp - 16]
mov ecx, dword ptr [rax + 64]
cmp ecx, dword ptr [IPPROTO_TCP]
jne .LBB0_5
# %bb.2:
mov rax, qword ptr [rbp - 56]
cmp qword ptr [rax + 16], 0
je .LBB0_4
# %bb.3:
mov rax, qword ptr [rbp - 56]
mov rax, qword ptr [rax + 16]
mov qword ptr [rbp - 40], rax
mov rax, qword ptr [rbp - 40]
mov rax, qword ptr [rax]
mov rcx, qword ptr [rbp - 16]
mov qword ptr [rcx + 16], rax
mov rax, qword ptr [rbp - 56]
add rax, 12
mov rdi, rax
call sbused
mov rcx, qword ptr [rbp - 16]
mov qword ptr [rcx + 48], rax
mov rax, qword ptr [rbp - 56]
add rax, 8
mov rdi, rax
call sbused
mov rcx, qword ptr [rbp - 16]
mov qword ptr [rcx + 40], rax
.LBB0_4:
jmp .LBB0_5
.LBB0_5:
jmp .LBB0_11
.LBB0_6:
mov rax, qword ptr [rbp - 56]
cmp qword ptr [rax + 16], 0
je .LBB0_10
# %bb.7:
mov rax, qword ptr [rbp - 56]
mov rax, qword ptr [rax + 16]
mov qword ptr [rbp - 48], rax
mov rax, qword ptr [rbp - 48]
cmp qword ptr [rax], 0
je .LBB0_9
# %bb.8:
mov rax, qword ptr [rbp - 48]
mov rax, qword ptr [rax]
mov rcx, qword ptr [rbp - 16]
mov qword ptr [rcx + 24], rax
mov rax, qword ptr [rbp - 56]
mov edx, dword ptr [rax + 8]
mov rax, qword ptr [rbp - 16]
mov dword ptr [rax + 60], edx
mov rax, qword ptr [rbp - 56]
mov edx, dword ptr [rax + 12]
mov rax, qword ptr [rbp - 16]
mov dword ptr [rax + 56], edx
mov rax, qword ptr [rbp - 56]
add rax, 12
mov rdi, rax
call sbused
mov rcx, qword ptr [rbp - 16]
mov qword ptr [rcx + 48], rax
mov rax, qword ptr [rbp - 56]
add rax, 8
mov rdi, rax
call sbused
mov rcx, qword ptr [rbp - 16]
mov qword ptr [rcx + 40], rax
.LBB0_9:
jmp .LBB0_10
.LBB0_10:
jmp .LBB0_11
.LBB0_11:
mov rax, qword ptr [rbp - 56]
mov rax, qword ptr [rax]
mov rax, qword ptr [rax + 8]
mov rax, qword ptr [rax]
mov rdi, qword ptr [rbp - 56]
lea rsi, [rbp - 32]
call rax
mov dword ptr [rbp - 60], eax
cmp dword ptr [rbp - 60], 0
jne .LBB0_14
# %bb.12:
mov rax, qword ptr [rbp - 32]
movsxd rax, dword ptr [rax]
cmp rax, 4
ja .LBB0_14
# %bb.13:
mov rdi, qword ptr [rbp - 32]
mov rax, qword ptr [rbp - 16]
add rax, 8
add rax, 28
mov rcx, qword ptr [rbp - 32]
mov edx, dword ptr [rcx]
mov rsi, rax
call bcopy
mov rdi, qword ptr [rbp - 32]
mov esi, dword ptr [M_SONAME]
mov dword ptr [rbp - 68], eax # 4-byte Spill
call free
.LBB0_14:
mov rax, qword ptr [rbp - 56]
mov rax, qword ptr [rax]
mov rax, qword ptr [rax + 8]
mov rax, qword ptr [rax + 8]
mov rdi, qword ptr [rbp - 56]
lea rsi, [rbp - 32]
call rax
mov dword ptr [rbp - 60], eax
cmp dword ptr [rbp - 60], 0
jne .LBB0_17
# %bb.15:
mov rax, qword ptr [rbp - 32]
movsxd rax, dword ptr [rax]
cmp rax, 4
ja .LBB0_17
# %bb.16:
mov rdi, qword ptr [rbp - 32]
mov rax, qword ptr [rbp - 16]
add rax, 8
add rax, 24
mov rcx, qword ptr [rbp - 32]
mov edx, dword ptr [rcx]
mov rsi, rax
call bcopy
mov rdi, qword ptr [rbp - 32]
mov esi, dword ptr [M_SONAME]
mov dword ptr [rbp - 72], eax # 4-byte Spill
call free
.LBB0_17:
mov rax, qword ptr [rbp - 16]
mov edi, dword ptr [rax]
mov rax, qword ptr [rbp - 56]
mov rax, qword ptr [rax]
mov rax, qword ptr [rax]
mov esi, dword ptr [rax]
mov edx, 4
call strncpy
mov dword ptr [rbp - 76], eax # 4-byte Spill
mov al, 0
call CURVNET_RESTORE
xor ecx, ecx
mov dword ptr [rbp - 80], eax # 4-byte Spill
mov eax, ecx
add rsp, 80
pop rbp
.cfi_def_cfa rsp, 8
ret
.Lfunc_end0:
.size soo_fill_kinfo, .Lfunc_end0-soo_fill_kinfo
.cfi_endproc
# -- End function
.type KF_TYPE_SOCKET,@object # @KF_TYPE_SOCKET
.comm KF_TYPE_SOCKET,4,4
.type IPPROTO_TCP,@object # @IPPROTO_TCP
.comm IPPROTO_TCP,4,4
.type M_SONAME,@object # @M_SONAME
.comm M_SONAME,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym soo_fill_kinfo
.addrsig_sym CURVNET_SET
.addrsig_sym sbused
.addrsig_sym bcopy
.addrsig_sym free
.addrsig_sym strncpy
.addrsig_sym CURVNET_RESTORE
.addrsig_sym KF_TYPE_SOCKET
.addrsig_sym IPPROTO_TCP
.addrsig_sym M_SONAME
| .text
.syntax unified
.eabi_attribute 67, "2.09"
.cpu cortex-a53
.eabi_attribute 6, 14
.eabi_attribute 7, 65
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.eabi_attribute 42, 1
.eabi_attribute 34, 0
.eabi_attribute 68, 3
.eabi_attribute 17, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 0
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 38, 1
.eabi_attribute 18, 4
.eabi_attribute 26, 2
.eabi_attribute 14, 0
.file "extr_sys_socket.c_soo_fill_kinfo.c"
.p2align 2
.type soo_fill_kinfo,%function
.code 32
soo_fill_kinfo:
.fnstart
.save {r11, lr}
push {r11, lr}
.setfp r11, sp
mov r11, sp
.pad #64
sub sp, sp, #64
str r0, [r11, #-4]
str r1, [r11, #-8]
str r2, [r11, #-12]
movw r0, :lower16:KF_TYPE_SOCKET
movt r0, :upper16:KF_TYPE_SOCKET
ldr r0, [r0]
ldr r1, [r11, #-8]
str r0, [r1, #52]
ldr r0, [r11, #-4]
ldr r0, [r0]
str r0, [r11, #-28]
ldr r0, [r11, #-28]
ldr r0, [r0, #20]
bl CURVNET_SET
ldr r1, [r11, #-28]
ldr r1, [r1]
ldr r1, [r1]
ldr r1, [r1, #4]
ldr r2, [r11, #-8]
str r1, [r2, #44]
ldr r1, [r11, #-28]
ldr r1, [r1, #16]
ldr r2, [r11, #-8]
str r1, [r2, #48]
ldr r1, [r11, #-28]
ldr r1, [r1]
ldr r1, [r1, #8]
ldr r2, [r11, #-8]
str r1, [r2, #40]
ldr r1, [r11, #-28]
ldr r1, [r1, #12]
ldr r2, [r11, #-8]
str r1, [r2, #4]
ldr r1, [r11, #-8]
ldr r1, [r1, #44]
cmp r1, #128
str r1, [sp, #28]
beq .LBB0_7
b .LBB0_1
.LBB0_1:
ldr r0, [sp, #28]
sub r1, r0, #129
cmp r1, #1
bhi .LBB0_12
b .LBB0_2
.LBB0_2:
ldr r0, [r11, #-8]
ldr r0, [r0, #40]
movw r1, :lower16:IPPROTO_TCP
movt r1, :upper16:IPPROTO_TCP
ldr r1, [r1]
cmp r0, r1
bne .LBB0_6
b .LBB0_3
.LBB0_3:
ldr r0, [r11, #-28]
ldr r0, [r0, #12]
cmp r0, #0
beq .LBB0_5
b .LBB0_4
.LBB0_4:
ldr r0, [r11, #-28]
ldr r0, [r0, #12]
str r0, [r11, #-20]
ldr r0, [r11, #-20]
ldr r0, [r0]
ldr r1, [r11, #-8]
str r0, [r1, #8]
ldr r0, [r11, #-28]
add r0, r0, #8
bl sbused
ldr r1, [r11, #-8]
str r0, [r1, #28]
ldr r0, [r11, #-28]
add r0, r0, #4
bl sbused
ldr r1, [r11, #-8]
str r0, [r1, #24]
b .LBB0_5
.LBB0_5:
b .LBB0_6
.LBB0_6:
b .LBB0_12
.LBB0_7:
ldr r0, [r11, #-28]
ldr r0, [r0, #12]
cmp r0, #0
beq .LBB0_11
b .LBB0_8
.LBB0_8:
ldr r0, [r11, #-28]
ldr r0, [r0, #12]
str r0, [r11, #-24]
ldr r0, [r11, #-24]
ldr r0, [r0]
cmp r0, #0
beq .LBB0_10
b .LBB0_9
.LBB0_9:
ldr r0, [r11, #-24]
ldr r0, [r0]
ldr r1, [r11, #-8]
str r0, [r1, #12]
ldr r0, [r11, #-28]
ldr r0, [r0, #4]
ldr r1, [r11, #-8]
str r0, [r1, #36]
ldr r0, [r11, #-28]
ldr r0, [r0, #8]
ldr r1, [r11, #-8]
str r0, [r1, #32]
ldr r0, [r11, #-28]
add r0, r0, #8
bl sbused
ldr r1, [r11, #-8]
str r0, [r1, #28]
ldr r0, [r11, #-28]
add r0, r0, #4
bl sbused
ldr r1, [r11, #-8]
str r0, [r1, #24]
b .LBB0_10
.LBB0_10:
b .LBB0_11
.LBB0_11:
b .LBB0_12
.LBB0_12:
ldr r0, [r11, #-28]
ldr r1, [r0]
ldr r1, [r1, #4]
ldr r1, [r1]
sub r2, r11, #16
str r1, [sp, #24]
mov r1, r2
ldr r2, [sp, #24]
blx r2
str r0, [sp, #32]
ldr r0, [sp, #32]
cmp r0, #0
bne .LBB0_15
b .LBB0_13
.LBB0_13:
ldr r0, [r11, #-16]
ldr r0, [r0]
cmp r0, #4
bhi .LBB0_15
b .LBB0_14
.LBB0_14:
ldr r0, [r11, #-16]
ldr r1, [r11, #-8]
add r1, r1, #20
ldr r2, [r0]
bl bcopy
ldr r1, [r11, #-16]
movw r2, :lower16:M_SONAME
movt r2, :upper16:M_SONAME
ldr r2, [r2]
str r0, [sp, #20]
mov r0, r1
mov r1, r2
bl free
b .LBB0_15
.LBB0_15:
ldr r0, [r11, #-28]
ldr r1, [r0]
ldr r1, [r1, #4]
ldr r1, [r1, #4]
sub r2, r11, #16
str r1, [sp, #16]
mov r1, r2
ldr r2, [sp, #16]
blx r2
str r0, [sp, #32]
ldr r0, [sp, #32]
cmp r0, #0
bne .LBB0_18
b .LBB0_16
.LBB0_16:
ldr r0, [r11, #-16]
ldr r0, [r0]
cmp r0, #4
bhi .LBB0_18
b .LBB0_17
.LBB0_17:
ldr r0, [r11, #-16]
ldr r1, [r11, #-8]
add r1, r1, #16
ldr r2, [r0]
bl bcopy
ldr r1, [r11, #-16]
movw r2, :lower16:M_SONAME
movt r2, :upper16:M_SONAME
ldr r2, [r2]
str r0, [sp, #12]
mov r0, r1
mov r1, r2
bl free
b .LBB0_18
.LBB0_18:
ldr r0, [r11, #-8]
ldr r0, [r0]
ldr r1, [r11, #-28]
ldr r1, [r1]
ldr r1, [r1]
ldr r1, [r1]
mov r2, #4
bl strncpy
str r0, [sp, #8]
bl CURVNET_RESTORE
mov r1, #0
str r0, [sp, #4]
mov r0, r1
mov sp, r11
pop {r11, pc}
.Lfunc_end0:
.size soo_fill_kinfo, .Lfunc_end0-soo_fill_kinfo
.cantunwind
.fnend
.type KF_TYPE_SOCKET,%object
.comm KF_TYPE_SOCKET,4,4
.type IPPROTO_TCP,%object
.comm IPPROTO_TCP,4,4
.type M_SONAME,%object
.comm M_SONAME,4,4
.ident "clang version 10.0.0-4ubuntu1 "
.section ".note.GNU-stack","",%progbits
.addrsig
.addrsig_sym soo_fill_kinfo
.addrsig_sym CURVNET_SET
.addrsig_sym sbused
.addrsig_sym bcopy
.addrsig_sym free
.addrsig_sym strncpy
.addrsig_sym CURVNET_RESTORE
.addrsig_sym KF_TYPE_SOCKET
.addrsig_sym IPPROTO_TCP
.addrsig_sym M_SONAME
.eabi_attribute 30, 6
|
End of preview. Expand
in Dataset Viewer.
- Downloads last month
- 30