filename
stringlengths 14
104
| aarch64-unknown-linux-gnu_O0
stringlengths 186
103k
⌀ | aarch64-unknown-linux-gnu_O1
stringlengths 186
80.9k
⌀ | aarch64-unknown-linux-gnu_O2
stringlengths 186
81.1k
⌀ | aarch64-unknown-linux-gnu_O3
stringlengths 186
101k
⌀ | x86_64-unknown-linux-gnu_O0
stringlengths 186
82.3k
⌀ | x86_64-unknown-linux-gnu_O1
stringlengths 186
71.1k
⌀ | x86_64-unknown-linux-gnu_O2
stringlengths 186
71.2k
⌀ | x86_64-unknown-linux-gnu_O3
stringlengths 186
71.2k
⌀ |
---|---|---|---|---|---|---|---|---|
extr_en_netdev.c_mlx4_en_vlan_rx_add_vid.c | .text
.file "extr_en_netdev.c_mlx4_en_vlan_rx_add_vid.c"
.p2align 2 // -- Begin function mlx4_en_vlan_rx_add_vid
.type mlx4_en_vlan_rx_add_vid,@function
mlx4_en_vlan_rx_add_vid: // @mlx4_en_vlan_rx_add_vid
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
sturh w1, [x29, #-10]
ldur x0, [x29, #-8]
bl netdev_priv
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
ldr x8, [x8, #16]
str x8, [sp, #32]
ldur x8, [x29, #-24]
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
b .LBB0_10
.LBB0_2:
adrp x8, HW
ldr w8, [x8, :lo12:HW]
str w8, [sp, #20] // 4-byte Folded Spill
ldur x8, [x29, #-24]
str x8, [sp, #8] // 8-byte Folded Spill
ldurh w8, [x29, #-10]
str w8, [sp, #16] // 4-byte Folded Spill
ldur x8, [x29, #-24]
ldr w0, [x8, #4]
ldurh w1, [x29, #-10]
bl vlan_group_get_device
ldr x1, [sp, #8] // 8-byte Folded Reload
ldr w3, [sp, #16] // 4-byte Folded Reload
mov w4, w0
ldr w0, [sp, #20] // 4-byte Folded Reload
adrp x2, .L.str
add x2, x2, :lo12:.L.str
bl en_dbg
ldr x0, [sp, #32]
bl mutex_lock
ldr x8, [sp, #32]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_7
b .LBB0_3
.LBB0_3:
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_7
b .LBB0_4
.LBB0_4:
ldr x8, [sp, #32]
ldr w0, [x8, #4]
ldur x8, [x29, #-24]
ldr w1, [x8]
ldur x8, [x29, #-24]
ldr w2, [x8, #4]
bl mlx4_SET_VLAN_FLTR
str w0, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
ldur x0, [x29, #-24]
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
bl en_err
b .LBB0_6
.LBB0_6:
b .LBB0_7
.LBB0_7:
ldr x8, [sp, #32]
ldr w0, [x8, #4]
ldur x8, [x29, #-24]
ldr w1, [x8]
ldurh w2, [x29, #-10]
add x3, sp, #24
bl mlx4_register_vlan
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_9
b .LBB0_8
.LBB0_8:
adrp x8, HW
ldr w0, [x8, :lo12:HW]
ldur x1, [x29, #-24]
ldurh w3, [x29, #-10]
adrp x2, .L.str.2
add x2, x2, :lo12:.L.str.2
bl en_dbg
b .LBB0_9
.LBB0_9:
ldr x0, [sp, #32]
bl mutex_unlock
b .LBB0_10
.LBB0_10:
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_en_vlan_rx_add_vid, .Lfunc_end0-mlx4_en_vlan_rx_add_vid
.cfi_endproc
// -- End function
.type HW,@object // @HW
.bss
.globl HW
.p2align 2, 0x0
HW:
.word 0 // 0x0
.size HW, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "adding VLAN:%d (vlgrp entry:%p)\n"
.size .L.str, 33
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "Failed configuring VLAN filter\n"
.size .L.str.1, 32
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "failed adding vlan %d\n"
.size .L.str.2, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_en_vlan_rx_add_vid
.addrsig_sym netdev_priv
.addrsig_sym en_dbg
.addrsig_sym vlan_group_get_device
.addrsig_sym mutex_lock
.addrsig_sym mlx4_SET_VLAN_FLTR
.addrsig_sym en_err
.addrsig_sym mlx4_register_vlan
.addrsig_sym mutex_unlock
.addrsig_sym HW
| .text
.file "extr_en_netdev.c_mlx4_en_vlan_rx_add_vid.c"
.p2align 2 // -- Begin function mlx4_en_vlan_rx_add_vid
.type mlx4_en_vlan_rx_add_vid,@function
mlx4_en_vlan_rx_add_vid: // @mlx4_en_vlan_rx_add_vid
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
mov w19, w1
bl netdev_priv
mov x20, x0
ldr w0, [x0, #4]
cbz w0, .LBB0_8
// %bb.1:
adrp x23, HW
mov w1, w19
ldr x21, [x20, #16]
ldr w22, [x23, :lo12:HW]
bl vlan_group_get_device
mov w4, w0
adrp x2, .L.str
add x2, x2, :lo12:.L.str
mov w0, w22
mov x1, x20
mov w3, w19
bl en_dbg
mov x0, x21
bl mutex_lock
ldr x8, [x21, #8]
cbz x8, .LBB0_5
// %bb.2:
ldr x8, [x20, #8]
cbz x8, .LBB0_5
// %bb.3:
ldp w1, w2, [x20]
ldr w0, [x21, #4]
bl mlx4_SET_VLAN_FLTR
cbz w0, .LBB0_5
// %bb.4:
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
mov x0, x20
bl en_err
.LBB0_5:
ldr w0, [x21, #4]
add x3, x29, #28
ldr w1, [x20]
mov w2, w19
bl mlx4_register_vlan
cbz x0, .LBB0_7
// %bb.6:
ldr w0, [x23, :lo12:HW]
adrp x2, .L.str.2
add x2, x2, :lo12:.L.str.2
mov x1, x20
mov w3, w19
bl en_dbg
.LBB0_7:
mov x0, x21
bl mutex_unlock
.LBB0_8:
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_en_vlan_rx_add_vid, .Lfunc_end0-mlx4_en_vlan_rx_add_vid
.cfi_endproc
// -- End function
.type HW,@object // @HW
.bss
.globl HW
.p2align 2, 0x0
HW:
.word 0 // 0x0
.size HW, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "adding VLAN:%d (vlgrp entry:%p)\n"
.size .L.str, 33
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "Failed configuring VLAN filter\n"
.size .L.str.1, 32
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "failed adding vlan %d\n"
.size .L.str.2, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_en_vlan_rx_add_vid
| .text
.file "extr_en_netdev.c_mlx4_en_vlan_rx_add_vid.c"
.p2align 2 // -- Begin function mlx4_en_vlan_rx_add_vid
.type mlx4_en_vlan_rx_add_vid,@function
mlx4_en_vlan_rx_add_vid: // @mlx4_en_vlan_rx_add_vid
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
mov w19, w1
bl netdev_priv
mov x20, x0
ldr w0, [x0, #4]
cbz w0, .LBB0_8
// %bb.1:
adrp x23, HW
mov w1, w19
ldr x21, [x20, #16]
ldr w22, [x23, :lo12:HW]
bl vlan_group_get_device
mov w4, w0
adrp x2, .L.str
add x2, x2, :lo12:.L.str
mov w0, w22
mov x1, x20
mov w3, w19
bl en_dbg
mov x0, x21
bl mutex_lock
ldr x8, [x21, #8]
cbz x8, .LBB0_5
// %bb.2:
ldr x8, [x20, #8]
cbz x8, .LBB0_5
// %bb.3:
ldp w1, w2, [x20]
ldr w0, [x21, #4]
bl mlx4_SET_VLAN_FLTR
cbz w0, .LBB0_5
// %bb.4:
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
mov x0, x20
bl en_err
.LBB0_5:
ldr w0, [x21, #4]
add x3, x29, #28
ldr w1, [x20]
mov w2, w19
bl mlx4_register_vlan
cbz x0, .LBB0_7
// %bb.6:
ldr w0, [x23, :lo12:HW]
adrp x2, .L.str.2
add x2, x2, :lo12:.L.str.2
mov x1, x20
mov w3, w19
bl en_dbg
.LBB0_7:
mov x0, x21
bl mutex_unlock
.LBB0_8:
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_en_vlan_rx_add_vid, .Lfunc_end0-mlx4_en_vlan_rx_add_vid
.cfi_endproc
// -- End function
.type HW,@object // @HW
.bss
.globl HW
.p2align 2, 0x0
HW:
.word 0 // 0x0
.size HW, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "adding VLAN:%d (vlgrp entry:%p)\n"
.size .L.str, 33
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "Failed configuring VLAN filter\n"
.size .L.str.1, 32
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "failed adding vlan %d\n"
.size .L.str.2, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_en_vlan_rx_add_vid
| .text
.file "extr_en_netdev.c_mlx4_en_vlan_rx_add_vid.c"
.p2align 2 // -- Begin function mlx4_en_vlan_rx_add_vid
.type mlx4_en_vlan_rx_add_vid,@function
mlx4_en_vlan_rx_add_vid: // @mlx4_en_vlan_rx_add_vid
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
mov w19, w1
bl netdev_priv
mov x20, x0
ldr w0, [x0, #4]
cbz w0, .LBB0_8
// %bb.1:
adrp x23, HW
mov w1, w19
ldr x21, [x20, #16]
ldr w22, [x23, :lo12:HW]
bl vlan_group_get_device
mov w4, w0
adrp x2, .L.str
add x2, x2, :lo12:.L.str
mov w0, w22
mov x1, x20
mov w3, w19
bl en_dbg
mov x0, x21
bl mutex_lock
ldr x8, [x21, #8]
cbz x8, .LBB0_5
// %bb.2:
ldr x8, [x20, #8]
cbz x8, .LBB0_5
// %bb.3:
ldp w1, w2, [x20]
ldr w0, [x21, #4]
bl mlx4_SET_VLAN_FLTR
cbz w0, .LBB0_5
// %bb.4:
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
mov x0, x20
bl en_err
.LBB0_5:
ldr w0, [x21, #4]
add x3, x29, #28
ldr w1, [x20]
mov w2, w19
bl mlx4_register_vlan
cbz x0, .LBB0_7
// %bb.6:
ldr w0, [x23, :lo12:HW]
adrp x2, .L.str.2
add x2, x2, :lo12:.L.str.2
mov x1, x20
mov w3, w19
bl en_dbg
.LBB0_7:
mov x0, x21
bl mutex_unlock
.LBB0_8:
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_en_vlan_rx_add_vid, .Lfunc_end0-mlx4_en_vlan_rx_add_vid
.cfi_endproc
// -- End function
.type HW,@object // @HW
.bss
.globl HW
.p2align 2, 0x0
HW:
.word 0 // 0x0
.size HW, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "adding VLAN:%d (vlgrp entry:%p)\n"
.size .L.str, 33
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "Failed configuring VLAN filter\n"
.size .L.str.1, 32
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "failed adding vlan %d\n"
.size .L.str.2, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_en_vlan_rx_add_vid
| .text
.file "extr_en_netdev.c_mlx4_en_vlan_rx_add_vid.c"
.p2align 4, 0x90 # -- Begin function mlx4_en_vlan_rx_add_vid
.type mlx4_en_vlan_rx_add_vid,@function
mlx4_en_vlan_rx_add_vid: # @mlx4_en_vlan_rx_add_vid
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movw %si, %ax
movq %rdi, -8(%rbp)
movw %ax, -10(%rbp)
movq -8(%rbp), %rdi
callq netdev_priv@PLT
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
cmpl $0, 4(%rax)
jne .LBB0_2
# %bb.1:
jmp .LBB0_10
.LBB0_2:
movl HW(%rip), %eax
movl %eax, -60(%rbp) # 4-byte Spill
movq -24(%rbp), %rax
movq %rax, -56(%rbp) # 8-byte Spill
movw -10(%rbp), %ax
movw %ax, -42(%rbp) # 2-byte Spill
movq -24(%rbp), %rax
movl 4(%rax), %edi
movzwl -10(%rbp), %esi
callq vlan_group_get_device@PLT
movl -60(%rbp), %edi # 4-byte Reload
movq -56(%rbp), %rsi # 8-byte Reload
movl %eax, %r8d
movw -42(%rbp), %ax # 2-byte Reload
leaq .L.str(%rip), %rdx
movzwl %ax, %ecx
movb $0, %al
callq en_dbg@PLT
movq -32(%rbp), %rdi
callq mutex_lock@PLT
movq -32(%rbp), %rax
cmpq $0, 8(%rax)
je .LBB0_7
# %bb.3:
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
je .LBB0_7
# %bb.4:
movq -32(%rbp), %rax
movl 4(%rax), %edi
movq -24(%rbp), %rax
movl (%rax), %esi
movq -24(%rbp), %rax
movl 4(%rax), %edx
callq mlx4_SET_VLAN_FLTR@PLT
movl %eax, -36(%rbp)
cmpl $0, -36(%rbp)
je .LBB0_6
# %bb.5:
movq -24(%rbp), %rdi
leaq .L.str.1(%rip), %rsi
callq en_err@PLT
.LBB0_6:
jmp .LBB0_7
.LBB0_7:
movq -32(%rbp), %rax
movl 4(%rax), %edi
movq -24(%rbp), %rax
movl (%rax), %esi
leaq -40(%rbp), %rcx
movzwl -10(%rbp), %edx
callq mlx4_register_vlan@PLT
cmpq $0, %rax
je .LBB0_9
# %bb.8:
movl HW(%rip), %edi
movq -24(%rbp), %rsi
leaq .L.str.2(%rip), %rdx
movzwl -10(%rbp), %ecx
movb $0, %al
callq en_dbg@PLT
.LBB0_9:
movq -32(%rbp), %rdi
callq mutex_unlock@PLT
.LBB0_10:
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size mlx4_en_vlan_rx_add_vid, .Lfunc_end0-mlx4_en_vlan_rx_add_vid
.cfi_endproc
# -- End function
.type HW,@object # @HW
.bss
.globl HW
.p2align 2, 0x0
HW:
.long 0 # 0x0
.size HW, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "adding VLAN:%d (vlgrp entry:%p)\n"
.size .L.str, 33
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "Failed configuring VLAN filter\n"
.size .L.str.1, 32
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "failed adding vlan %d\n"
.size .L.str.2, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_en_vlan_rx_add_vid
.addrsig_sym netdev_priv
.addrsig_sym en_dbg
.addrsig_sym vlan_group_get_device
.addrsig_sym mutex_lock
.addrsig_sym mlx4_SET_VLAN_FLTR
.addrsig_sym en_err
.addrsig_sym mlx4_register_vlan
.addrsig_sym mutex_unlock
.addrsig_sym HW
| .text
.file "extr_en_netdev.c_mlx4_en_vlan_rx_add_vid.c"
.p2align 4, 0x90 # -- Begin function mlx4_en_vlan_rx_add_vid
.type mlx4_en_vlan_rx_add_vid,@function
mlx4_en_vlan_rx_add_vid: # @mlx4_en_vlan_rx_add_vid
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %esi, %ebp
callq netdev_priv@PLT
movl 4(%rax), %edi
testl %edi, %edi
je .LBB0_8
# %bb.1:
movq %rax, %rbx
movq 16(%rax), %r14
movl HW(%rip), %r15d
movzwl %bp, %ebp
movl %ebp, %esi
callq vlan_group_get_device@PLT
leaq .L.str(%rip), %rdx
movl %r15d, %edi
movq %rbx, %rsi
movl %ebp, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq en_dbg@PLT
movq %r14, %rdi
callq mutex_lock@PLT
cmpq $0, 8(%r14)
je .LBB0_5
# %bb.2:
cmpq $0, 8(%rbx)
je .LBB0_5
# %bb.3:
movl 4(%r14), %edi
movl (%rbx), %esi
movl 4(%rbx), %edx
callq mlx4_SET_VLAN_FLTR@PLT
testl %eax, %eax
je .LBB0_5
# %bb.4:
leaq .L.str.1(%rip), %rsi
movq %rbx, %rdi
callq en_err@PLT
.LBB0_5:
movl 4(%r14), %edi
movl (%rbx), %esi
leaq 4(%rsp), %rcx
movl %ebp, %edx
callq mlx4_register_vlan@PLT
testq %rax, %rax
je .LBB0_7
# %bb.6:
movl HW(%rip), %edi
leaq .L.str.2(%rip), %rdx
movq %rbx, %rsi
movl %ebp, %ecx
xorl %eax, %eax
callq en_dbg@PLT
.LBB0_7:
movq %r14, %rdi
callq mutex_unlock@PLT
.LBB0_8:
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_en_vlan_rx_add_vid, .Lfunc_end0-mlx4_en_vlan_rx_add_vid
.cfi_endproc
# -- End function
.type HW,@object # @HW
.bss
.globl HW
.p2align 2, 0x0
HW:
.long 0 # 0x0
.size HW, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "adding VLAN:%d (vlgrp entry:%p)\n"
.size .L.str, 33
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "Failed configuring VLAN filter\n"
.size .L.str.1, 32
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "failed adding vlan %d\n"
.size .L.str.2, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_en_vlan_rx_add_vid
| .text
.file "extr_en_netdev.c_mlx4_en_vlan_rx_add_vid.c"
.p2align 4, 0x90 # -- Begin function mlx4_en_vlan_rx_add_vid
.type mlx4_en_vlan_rx_add_vid,@function
mlx4_en_vlan_rx_add_vid: # @mlx4_en_vlan_rx_add_vid
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %esi, %ebp
callq netdev_priv@PLT
movl 4(%rax), %edi
testl %edi, %edi
je .LBB0_8
# %bb.1:
movq %rax, %rbx
movq 16(%rax), %r14
movl HW(%rip), %r15d
movzwl %bp, %ebp
movl %ebp, %esi
callq vlan_group_get_device@PLT
leaq .L.str(%rip), %rdx
movl %r15d, %edi
movq %rbx, %rsi
movl %ebp, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq en_dbg@PLT
movq %r14, %rdi
callq mutex_lock@PLT
cmpq $0, 8(%r14)
je .LBB0_5
# %bb.2:
cmpq $0, 8(%rbx)
je .LBB0_5
# %bb.3:
movl 4(%r14), %edi
movl (%rbx), %esi
movl 4(%rbx), %edx
callq mlx4_SET_VLAN_FLTR@PLT
testl %eax, %eax
je .LBB0_5
# %bb.4:
leaq .L.str.1(%rip), %rsi
movq %rbx, %rdi
callq en_err@PLT
.LBB0_5:
movl 4(%r14), %edi
movl (%rbx), %esi
leaq 4(%rsp), %rcx
movl %ebp, %edx
callq mlx4_register_vlan@PLT
testq %rax, %rax
je .LBB0_7
# %bb.6:
movl HW(%rip), %edi
leaq .L.str.2(%rip), %rdx
movq %rbx, %rsi
movl %ebp, %ecx
xorl %eax, %eax
callq en_dbg@PLT
.LBB0_7:
movq %r14, %rdi
callq mutex_unlock@PLT
.LBB0_8:
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_en_vlan_rx_add_vid, .Lfunc_end0-mlx4_en_vlan_rx_add_vid
.cfi_endproc
# -- End function
.type HW,@object # @HW
.bss
.globl HW
.p2align 2, 0x0
HW:
.long 0 # 0x0
.size HW, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "adding VLAN:%d (vlgrp entry:%p)\n"
.size .L.str, 33
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "Failed configuring VLAN filter\n"
.size .L.str.1, 32
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "failed adding vlan %d\n"
.size .L.str.2, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_en_vlan_rx_add_vid
| .text
.file "extr_en_netdev.c_mlx4_en_vlan_rx_add_vid.c"
.p2align 4, 0x90 # -- Begin function mlx4_en_vlan_rx_add_vid
.type mlx4_en_vlan_rx_add_vid,@function
mlx4_en_vlan_rx_add_vid: # @mlx4_en_vlan_rx_add_vid
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %esi, %ebp
callq netdev_priv@PLT
movl 4(%rax), %edi
testl %edi, %edi
je .LBB0_8
# %bb.1:
movq %rax, %rbx
movq 16(%rax), %r14
movl HW(%rip), %r15d
movzwl %bp, %ebp
movl %ebp, %esi
callq vlan_group_get_device@PLT
leaq .L.str(%rip), %rdx
movl %r15d, %edi
movq %rbx, %rsi
movl %ebp, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq en_dbg@PLT
movq %r14, %rdi
callq mutex_lock@PLT
cmpq $0, 8(%r14)
je .LBB0_5
# %bb.2:
cmpq $0, 8(%rbx)
je .LBB0_5
# %bb.3:
movl 4(%r14), %edi
movl (%rbx), %esi
movl 4(%rbx), %edx
callq mlx4_SET_VLAN_FLTR@PLT
testl %eax, %eax
je .LBB0_5
# %bb.4:
leaq .L.str.1(%rip), %rsi
movq %rbx, %rdi
callq en_err@PLT
.LBB0_5:
movl 4(%r14), %edi
movl (%rbx), %esi
leaq 4(%rsp), %rcx
movl %ebp, %edx
callq mlx4_register_vlan@PLT
testq %rax, %rax
je .LBB0_7
# %bb.6:
movl HW(%rip), %edi
leaq .L.str.2(%rip), %rdx
movq %rbx, %rsi
movl %ebp, %ecx
xorl %eax, %eax
callq en_dbg@PLT
.LBB0_7:
movq %r14, %rdi
callq mutex_unlock@PLT
.LBB0_8:
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_en_vlan_rx_add_vid, .Lfunc_end0-mlx4_en_vlan_rx_add_vid
.cfi_endproc
# -- End function
.type HW,@object # @HW
.bss
.globl HW
.p2align 2, 0x0
HW:
.long 0 # 0x0
.size HW, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "adding VLAN:%d (vlgrp entry:%p)\n"
.size .L.str, 33
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "Failed configuring VLAN filter\n"
.size .L.str.1, 32
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "failed adding vlan %d\n"
.size .L.str.2, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_en_vlan_rx_add_vid
|
extr_resource_tracker.c_mlx4_SW2HW_MPT_wrapper.c | .text
.file "extr_resource_tracker.c_mlx4_SW2HW_MPT_wrapper.c"
.globl mlx4_SW2HW_MPT_wrapper // -- Begin function mlx4_SW2HW_MPT_wrapper
.p2align 2
.type mlx4_SW2HW_MPT_wrapper,@function
mlx4_SW2HW_MPT_wrapper: // @mlx4_SW2HW_MPT_wrapper
.cfi_startproc
// %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] // 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur x2, [x29, #-32]
stur x3, [x29, #-40]
stur x4, [x29, #-48]
stur x5, [x29, #-56]
ldur x8, [x29, #-32]
ldr w8, [x8]
str w8, [sp, #64]
ldur x8, [x29, #-40]
ldr w0, [x8]
bl mr_get_mtt_addr
ldur x8, [x29, #-16]
ldr w8, [x8]
sdiv w8, w0, w8
str w8, [sp, #44]
ldr w8, [sp, #64]
str w8, [sp, #24] // 4-byte Folded Spill
ldur x0, [x29, #-16]
bl mpt_mask
ldr w8, [sp, #24] // 4-byte Folded Reload
and w8, w8, w0
str w8, [sp, #36]
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldr w2, [sp, #36]
adrp x8, RES_MPT_HW
ldr w3, [x8, :lo12:RES_MPT_HW]
add x4, sp, #48
bl mr_res_start_move_to
stur w0, [x29, #-60]
ldur w8, [x29, #-60]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldur w8, [x29, #-60]
stur w8, [x29, #-4]
b .LBB0_28
.LBB0_2:
ldur x8, [x29, #-40]
ldr w0, [x8]
bl mr_is_region
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
adrp x8, EPERM
ldr w9, [x8, :lo12:EPERM]
mov w8, wzr
subs w8, w8, w9
stur w8, [x29, #-60]
b .LBB0_27
.LBB0_4:
ldur x8, [x29, #-40]
ldr w0, [x8]
bl mr_get_pd
str w0, [sp, #32]
ldr w8, [sp, #32]
asr w8, w8, #17
and w8, w8, #0x7f
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_7
b .LBB0_5
.LBB0_5:
ldr w8, [sp, #28]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_7
b .LBB0_6
.LBB0_6:
adrp x8, EPERM
ldr w9, [x8, :lo12:EPERM]
mov w8, wzr
subs w8, w8, w9
stur w8, [x29, #-60]
b .LBB0_27
.LBB0_7:
ldur x8, [x29, #-40]
ldr w0, [x8]
bl mr_is_fmr
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_13
b .LBB0_8
.LBB0_8:
ldur x8, [x29, #-40]
ldr w0, [x8]
bl mr_is_bind_enabled
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_10
b .LBB0_9
.LBB0_9:
adrp x8, EPERM
ldr w9, [x8, :lo12:EPERM]
mov w8, wzr
subs w8, w8, w9
stur w8, [x29, #-60]
b .LBB0_27
.LBB0_10:
ldur x8, [x29, #-40]
ldr w0, [x8]
bl mr_is_region
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, .LBB0_12
b .LBB0_11
.LBB0_11:
adrp x8, EPERM
ldr w9, [x8, :lo12:EPERM]
mov w8, wzr
subs w8, w8, w9
stur w8, [x29, #-60]
b .LBB0_27
.LBB0_12:
b .LBB0_13
.LBB0_13:
ldur x8, [x29, #-40]
ldr w0, [x8]
bl mr_phys_mpt
str w0, [sp, #40]
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_19
b .LBB0_14
.LBB0_14:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldr w2, [sp, #44]
adrp x8, RES_MTT
ldr w3, [x8, :lo12:RES_MTT]
add x4, sp, #56
bl get_res
stur w0, [x29, #-60]
ldur w8, [x29, #-60]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_16
b .LBB0_15
.LBB0_15:
b .LBB0_27
.LBB0_16:
ldur x8, [x29, #-16]
str x8, [sp, #16] // 8-byte Folded Spill
ldur w8, [x29, #-20]
str w8, [sp, #8] // 4-byte Folded Spill
ldr w8, [sp, #44]
str w8, [sp, #12] // 4-byte Folded Spill
ldur x8, [x29, #-40]
ldr w0, [x8]
bl mr_get_mtt_size
ldr w1, [sp, #8] // 4-byte Folded Reload
ldr w2, [sp, #12] // 4-byte Folded Reload
mov w3, w0
ldr x0, [sp, #16] // 8-byte Folded Reload
ldr x4, [sp, #56]
bl check_mtt_range
stur w0, [x29, #-60]
ldur w8, [x29, #-60]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_18
b .LBB0_17
.LBB0_17:
b .LBB0_24
.LBB0_18:
ldr x8, [sp, #56]
ldr x9, [sp, #48]
str x8, [x9]
b .LBB0_19
.LBB0_19:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldur x2, [x29, #-32]
ldur x3, [x29, #-40]
ldur x4, [x29, #-48]
ldur x5, [x29, #-56]
bl mlx4_DMA_wrapper
stur w0, [x29, #-60]
ldur w8, [x29, #-60]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_21
b .LBB0_20
.LBB0_20:
b .LBB0_24
.LBB0_21:
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_23
b .LBB0_22
.LBB0_22:
ldr x8, [sp, #56]
add x0, x8, #4
bl atomic_inc
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldr x8, [sp, #56]
ldr w2, [x8]
adrp x8, RES_MTT
ldr w3, [x8, :lo12:RES_MTT]
bl put_res
b .LBB0_23
.LBB0_23:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
adrp x8, RES_MPT
ldr w2, [x8, :lo12:RES_MPT]
ldr w3, [sp, #36]
bl res_end_move
stur wzr, [x29, #-4]
b .LBB0_28
.LBB0_24:
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_26
b .LBB0_25
.LBB0_25:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldr x8, [sp, #56]
ldr w2, [x8]
adrp x8, RES_MTT
ldr w3, [x8, :lo12:RES_MTT]
bl put_res
b .LBB0_26
.LBB0_26:
b .LBB0_27
.LBB0_27:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
adrp x8, RES_MPT
ldr w2, [x8, :lo12:RES_MPT]
ldr w3, [sp, #36]
bl res_abort_move
ldur w8, [x29, #-60]
stur w8, [x29, #-4]
b .LBB0_28
.LBB0_28:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 144
ldp x29, x30, [sp, #128] // 16-byte Folded Reload
add sp, sp, #144
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_SW2HW_MPT_wrapper, .Lfunc_end0-mlx4_SW2HW_MPT_wrapper
.cfi_endproc
// -- End function
.type RES_MPT_HW,@object // @RES_MPT_HW
.bss
.globl RES_MPT_HW
.p2align 2, 0x0
RES_MPT_HW:
.word 0 // 0x0
.size RES_MPT_HW, 4
.type EPERM,@object // @EPERM
.globl EPERM
.p2align 2, 0x0
EPERM:
.word 0 // 0x0
.size EPERM, 4
.type RES_MTT,@object // @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.word 0 // 0x0
.size RES_MTT, 4
.type RES_MPT,@object // @RES_MPT
.globl RES_MPT
.p2align 2, 0x0
RES_MPT:
.word 0 // 0x0
.size RES_MPT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mr_get_mtt_addr
.addrsig_sym mpt_mask
.addrsig_sym mr_res_start_move_to
.addrsig_sym mr_is_region
.addrsig_sym mr_get_pd
.addrsig_sym mr_is_fmr
.addrsig_sym mr_is_bind_enabled
.addrsig_sym mr_phys_mpt
.addrsig_sym get_res
.addrsig_sym check_mtt_range
.addrsig_sym mr_get_mtt_size
.addrsig_sym mlx4_DMA_wrapper
.addrsig_sym atomic_inc
.addrsig_sym put_res
.addrsig_sym res_end_move
.addrsig_sym res_abort_move
.addrsig_sym RES_MPT_HW
.addrsig_sym EPERM
.addrsig_sym RES_MTT
.addrsig_sym RES_MPT
| .text
.file "extr_resource_tracker.c_mlx4_SW2HW_MPT_wrapper.c"
.globl mlx4_SW2HW_MPT_wrapper // -- Begin function mlx4_SW2HW_MPT_wrapper
.p2align 2
.type mlx4_SW2HW_MPT_wrapper,@function
mlx4_SW2HW_MPT_wrapper: // @mlx4_SW2HW_MPT_wrapper
.cfi_startproc
// %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #32] // 16-byte Folded Spill
stp x28, x27, [sp, #48] // 16-byte Folded Spill
stp x26, x25, [sp, #64] // 16-byte Folded Spill
stp x24, x23, [sp, #80] // 16-byte Folded Spill
stp x22, x21, [sp, #96] // 16-byte Folded Spill
stp x20, x19, [sp, #112] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
.cfi_remember_state
mov x20, x0
ldr w0, [x3]
ldr w21, [x2]
mov x22, x5
mov x23, x4
mov x24, x3
mov x25, x2
mov w19, w1
bl mr_get_mtt_addr
mov w26, w0
mov x0, x20
ldr w28, [x20]
bl mpt_mask
adrp x8, RES_MPT_HW
and w21, w0, w21
add x4, sp, #16
mov x0, x20
mov w1, w19
mov w2, w21
ldr w3, [x8, :lo12:RES_MPT_HW]
bl mr_res_start_move_to
mov w27, w0
cbnz w0, .LBB0_8
// %bb.1:
ldr w0, [x24]
bl mr_is_region
cbz w0, .LBB0_6
// %bb.2:
ldr w0, [x24]
bl mr_get_pd
ubfx w8, w0, #17, #7
cbz w8, .LBB0_4
// %bb.3:
cmp w8, w19
b.ne .LBB0_6
.LBB0_4:
ldr w0, [x24]
bl mr_is_fmr
cbz x0, .LBB0_10
// %bb.5:
ldr w0, [x24]
bl mr_is_bind_enabled
cbz x0, .LBB0_9
.LBB0_6:
adrp x8, EPERM
ldr w8, [x8, :lo12:EPERM]
neg w27, w8
.LBB0_7:
adrp x8, RES_MPT
mov x0, x20
mov w1, w19
mov w3, w21
ldr w2, [x8, :lo12:RES_MPT]
bl res_abort_move
.LBB0_8:
mov w0, w27
.cfi_def_cfa wsp, 128
ldp x20, x19, [sp, #112] // 16-byte Folded Reload
ldp x22, x21, [sp, #96] // 16-byte Folded Reload
ldp x24, x23, [sp, #80] // 16-byte Folded Reload
ldp x26, x25, [sp, #64] // 16-byte Folded Reload
ldp x28, x27, [sp, #48] // 16-byte Folded Reload
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #128
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_9:
.cfi_restore_state
ldr w0, [x24]
bl mr_is_region
cbz w0, .LBB0_6
.LBB0_10:
ldr w0, [x24]
bl mr_phys_mpt
str w0, [sp, #12] // 4-byte Folded Spill
cbz w0, .LBB0_14
.LBB0_11:
mov x0, x20
mov w1, w19
mov x2, x25
mov x3, x24
mov x4, x23
mov x5, x22
bl mlx4_DMA_wrapper
mov w27, w0
cbz w0, .LBB0_17
.LBB0_12:
ldr w8, [sp, #12] // 4-byte Folded Reload
cbnz w8, .LBB0_7
// %bb.13:
ldur x8, [x29, #-8]
adrp x9, RES_MTT
mov x0, x20
mov w1, w19
ldr w2, [x8]
ldr w3, [x9, :lo12:RES_MTT]
bl put_res
b .LBB0_7
.LBB0_14:
sdiv w26, w26, w28
adrp x8, RES_MTT
sub x4, x29, #8
mov x0, x20
mov w1, w19
ldr w3, [x8, :lo12:RES_MTT]
mov w2, w26
bl get_res
mov w27, w0
cbnz w0, .LBB0_7
// %bb.15:
ldr w0, [x24]
bl mr_get_mtt_size
mov w3, w0
ldur x4, [x29, #-8]
mov x0, x20
mov w1, w19
mov w2, w26
bl check_mtt_range
mov w27, w0
cbnz w0, .LBB0_12
// %bb.16:
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
str x8, [x9]
b .LBB0_11
.LBB0_17:
ldr w8, [sp, #12] // 4-byte Folded Reload
cbnz w8, .LBB0_19
// %bb.18:
ldur x8, [x29, #-8]
add x0, x8, #4
bl atomic_inc
ldur x8, [x29, #-8]
adrp x9, RES_MTT
mov x0, x20
mov w1, w19
ldr w2, [x8]
ldr w3, [x9, :lo12:RES_MTT]
bl put_res
.LBB0_19:
adrp x8, RES_MPT
mov x0, x20
mov w1, w19
mov w3, w21
ldr w2, [x8, :lo12:RES_MPT]
bl res_end_move
mov w27, wzr
b .LBB0_8
.Lfunc_end0:
.size mlx4_SW2HW_MPT_wrapper, .Lfunc_end0-mlx4_SW2HW_MPT_wrapper
.cfi_endproc
// -- End function
.type RES_MPT_HW,@object // @RES_MPT_HW
.bss
.globl RES_MPT_HW
.p2align 2, 0x0
RES_MPT_HW:
.word 0 // 0x0
.size RES_MPT_HW, 4
.type EPERM,@object // @EPERM
.globl EPERM
.p2align 2, 0x0
EPERM:
.word 0 // 0x0
.size EPERM, 4
.type RES_MTT,@object // @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.word 0 // 0x0
.size RES_MTT, 4
.type RES_MPT,@object // @RES_MPT
.globl RES_MPT
.p2align 2, 0x0
RES_MPT:
.word 0 // 0x0
.size RES_MPT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_SW2HW_MPT_wrapper.c"
.globl mlx4_SW2HW_MPT_wrapper // -- Begin function mlx4_SW2HW_MPT_wrapper
.p2align 2
.type mlx4_SW2HW_MPT_wrapper,@function
mlx4_SW2HW_MPT_wrapper: // @mlx4_SW2HW_MPT_wrapper
.cfi_startproc
// %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #16] // 16-byte Folded Spill
stp x28, x27, [sp, #32] // 16-byte Folded Spill
stp x26, x25, [sp, #48] // 16-byte Folded Spill
stp x24, x23, [sp, #64] // 16-byte Folded Spill
stp x22, x21, [sp, #80] // 16-byte Folded Spill
stp x20, x19, [sp, #96] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
.cfi_remember_state
mov x20, x0
ldr w0, [x3]
ldr w21, [x2]
mov x22, x5
mov x23, x4
mov x24, x3
mov x25, x2
mov w19, w1
bl mr_get_mtt_addr
mov w26, w0
mov x0, x20
ldr w28, [x20]
bl mpt_mask
adrp x8, RES_MPT_HW
and w21, w0, w21
mov x4, sp
mov x0, x20
mov w1, w19
mov w2, w21
ldr w3, [x8, :lo12:RES_MPT_HW]
bl mr_res_start_move_to
mov w27, w0
cbnz w0, .LBB0_8
// %bb.1:
ldr w0, [x24]
bl mr_is_region
cbz w0, .LBB0_6
// %bb.2:
ldr w0, [x24]
bl mr_get_pd
ubfx w8, w0, #17, #7
cbz w8, .LBB0_4
// %bb.3:
cmp w8, w19
b.ne .LBB0_6
.LBB0_4:
ldr w0, [x24]
bl mr_is_fmr
cbz x0, .LBB0_10
// %bb.5:
ldr w0, [x24]
bl mr_is_bind_enabled
cbz x0, .LBB0_9
.LBB0_6:
adrp x8, EPERM
ldr w8, [x8, :lo12:EPERM]
neg w27, w8
.LBB0_7:
adrp x8, RES_MPT
mov x0, x20
mov w1, w19
mov w3, w21
ldr w2, [x8, :lo12:RES_MPT]
bl res_abort_move
.LBB0_8:
mov w0, w27
.cfi_def_cfa wsp, 112
ldp x20, x19, [sp, #96] // 16-byte Folded Reload
ldp x22, x21, [sp, #80] // 16-byte Folded Reload
ldp x24, x23, [sp, #64] // 16-byte Folded Reload
ldp x26, x25, [sp, #48] // 16-byte Folded Reload
ldp x28, x27, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #112
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_9:
.cfi_restore_state
ldr w0, [x24]
bl mr_is_region
cbz w0, .LBB0_6
.LBB0_10:
ldr w0, [x24]
bl mr_phys_mpt
cbz w0, .LBB0_13
// %bb.11:
mov x0, x20
mov w1, w19
mov x2, x25
mov x3, x24
mov x4, x23
mov x5, x22
bl mlx4_DMA_wrapper
mov w27, w0
cbnz w0, .LBB0_7
.LBB0_12:
adrp x8, RES_MPT
mov x0, x20
mov w1, w19
mov w3, w21
ldr w2, [x8, :lo12:RES_MPT]
bl res_end_move
mov w27, wzr
b .LBB0_8
.LBB0_13:
sdiv w26, w26, w28
adrp x28, RES_MTT
add x4, sp, #8
mov x0, x20
mov w1, w19
ldr w3, [x28, :lo12:RES_MTT]
mov w2, w26
bl get_res
mov w27, w0
cbnz w0, .LBB0_7
// %bb.14:
ldr w0, [x24]
bl mr_get_mtt_size
mov w3, w0
ldr x4, [sp, #8]
mov x0, x20
mov w1, w19
mov w2, w26
bl check_mtt_range
mov w27, w0
cbnz w0, .LBB0_16
// %bb.15:
ldp x9, x8, [sp]
mov x0, x20
mov w1, w19
mov x2, x25
mov x3, x24
mov x4, x23
mov x5, x22
str x8, [x9]
bl mlx4_DMA_wrapper
mov w27, w0
cbz w0, .LBB0_17
.LBB0_16:
ldr x8, [sp, #8]
mov x0, x20
ldr w3, [x28, :lo12:RES_MTT]
mov w1, w19
ldr w2, [x8]
bl put_res
b .LBB0_7
.LBB0_17:
ldr x8, [sp, #8]
add x0, x8, #4
bl atomic_inc
ldr x8, [sp, #8]
mov x0, x20
ldr w3, [x28, :lo12:RES_MTT]
mov w1, w19
ldr w2, [x8]
bl put_res
b .LBB0_12
.Lfunc_end0:
.size mlx4_SW2HW_MPT_wrapper, .Lfunc_end0-mlx4_SW2HW_MPT_wrapper
.cfi_endproc
// -- End function
.type RES_MPT_HW,@object // @RES_MPT_HW
.bss
.globl RES_MPT_HW
.p2align 2, 0x0
RES_MPT_HW:
.word 0 // 0x0
.size RES_MPT_HW, 4
.type EPERM,@object // @EPERM
.globl EPERM
.p2align 2, 0x0
EPERM:
.word 0 // 0x0
.size EPERM, 4
.type RES_MTT,@object // @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.word 0 // 0x0
.size RES_MTT, 4
.type RES_MPT,@object // @RES_MPT
.globl RES_MPT
.p2align 2, 0x0
RES_MPT:
.word 0 // 0x0
.size RES_MPT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_SW2HW_MPT_wrapper.c"
.globl mlx4_SW2HW_MPT_wrapper // -- Begin function mlx4_SW2HW_MPT_wrapper
.p2align 2
.type mlx4_SW2HW_MPT_wrapper,@function
mlx4_SW2HW_MPT_wrapper: // @mlx4_SW2HW_MPT_wrapper
.cfi_startproc
// %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #16] // 16-byte Folded Spill
stp x28, x27, [sp, #32] // 16-byte Folded Spill
stp x26, x25, [sp, #48] // 16-byte Folded Spill
stp x24, x23, [sp, #64] // 16-byte Folded Spill
stp x22, x21, [sp, #80] // 16-byte Folded Spill
stp x20, x19, [sp, #96] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
.cfi_remember_state
mov x20, x0
ldr w0, [x3]
ldr w21, [x2]
mov x22, x5
mov x23, x4
mov x24, x3
mov x25, x2
mov w19, w1
bl mr_get_mtt_addr
mov w26, w0
mov x0, x20
ldr w28, [x20]
bl mpt_mask
adrp x8, RES_MPT_HW
and w21, w0, w21
mov x4, sp
mov x0, x20
mov w1, w19
mov w2, w21
ldr w3, [x8, :lo12:RES_MPT_HW]
bl mr_res_start_move_to
mov w27, w0
cbnz w0, .LBB0_8
// %bb.1:
ldr w0, [x24]
bl mr_is_region
cbz w0, .LBB0_6
// %bb.2:
ldr w0, [x24]
bl mr_get_pd
ubfx w8, w0, #17, #7
cbz w8, .LBB0_4
// %bb.3:
cmp w8, w19
b.ne .LBB0_6
.LBB0_4:
ldr w0, [x24]
bl mr_is_fmr
cbz x0, .LBB0_10
// %bb.5:
ldr w0, [x24]
bl mr_is_bind_enabled
cbz x0, .LBB0_9
.LBB0_6:
adrp x8, EPERM
ldr w8, [x8, :lo12:EPERM]
neg w27, w8
.LBB0_7:
adrp x8, RES_MPT
mov x0, x20
mov w1, w19
mov w3, w21
ldr w2, [x8, :lo12:RES_MPT]
bl res_abort_move
.LBB0_8:
mov w0, w27
.cfi_def_cfa wsp, 112
ldp x20, x19, [sp, #96] // 16-byte Folded Reload
ldp x22, x21, [sp, #80] // 16-byte Folded Reload
ldp x24, x23, [sp, #64] // 16-byte Folded Reload
ldp x26, x25, [sp, #48] // 16-byte Folded Reload
ldp x28, x27, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #112
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_9:
.cfi_restore_state
ldr w0, [x24]
bl mr_is_region
cbz w0, .LBB0_6
.LBB0_10:
ldr w0, [x24]
bl mr_phys_mpt
cbz w0, .LBB0_13
// %bb.11:
mov x0, x20
mov w1, w19
mov x2, x25
mov x3, x24
mov x4, x23
mov x5, x22
bl mlx4_DMA_wrapper
mov w27, w0
cbnz w0, .LBB0_7
.LBB0_12:
adrp x8, RES_MPT
mov x0, x20
mov w1, w19
mov w3, w21
ldr w2, [x8, :lo12:RES_MPT]
bl res_end_move
mov w27, wzr
b .LBB0_8
.LBB0_13:
sdiv w26, w26, w28
adrp x28, RES_MTT
add x4, sp, #8
mov x0, x20
mov w1, w19
ldr w3, [x28, :lo12:RES_MTT]
mov w2, w26
bl get_res
mov w27, w0
cbnz w0, .LBB0_7
// %bb.14:
ldr w0, [x24]
bl mr_get_mtt_size
mov w3, w0
ldr x4, [sp, #8]
mov x0, x20
mov w1, w19
mov w2, w26
bl check_mtt_range
mov w27, w0
cbnz w0, .LBB0_16
// %bb.15:
ldp x9, x8, [sp]
mov x0, x20
mov w1, w19
mov x2, x25
mov x3, x24
mov x4, x23
mov x5, x22
str x8, [x9]
bl mlx4_DMA_wrapper
mov w27, w0
cbz w0, .LBB0_17
.LBB0_16:
ldr x8, [sp, #8]
mov x0, x20
ldr w3, [x28, :lo12:RES_MTT]
mov w1, w19
ldr w2, [x8]
bl put_res
b .LBB0_7
.LBB0_17:
ldr x8, [sp, #8]
add x0, x8, #4
bl atomic_inc
ldr x8, [sp, #8]
mov x0, x20
ldr w3, [x28, :lo12:RES_MTT]
mov w1, w19
ldr w2, [x8]
bl put_res
b .LBB0_12
.Lfunc_end0:
.size mlx4_SW2HW_MPT_wrapper, .Lfunc_end0-mlx4_SW2HW_MPT_wrapper
.cfi_endproc
// -- End function
.type RES_MPT_HW,@object // @RES_MPT_HW
.bss
.globl RES_MPT_HW
.p2align 2, 0x0
RES_MPT_HW:
.word 0 // 0x0
.size RES_MPT_HW, 4
.type EPERM,@object // @EPERM
.globl EPERM
.p2align 2, 0x0
EPERM:
.word 0 // 0x0
.size EPERM, 4
.type RES_MTT,@object // @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.word 0 // 0x0
.size RES_MTT, 4
.type RES_MPT,@object // @RES_MPT
.globl RES_MPT
.p2align 2, 0x0
RES_MPT:
.word 0 // 0x0
.size RES_MPT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_SW2HW_MPT_wrapper.c"
.globl mlx4_SW2HW_MPT_wrapper # -- Begin function mlx4_SW2HW_MPT_wrapper
.p2align 4, 0x90
.type mlx4_SW2HW_MPT_wrapper,@function
mlx4_SW2HW_MPT_wrapper: # @mlx4_SW2HW_MPT_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq %r9, -56(%rbp)
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -64(%rbp)
movq -40(%rbp), %rax
movl (%rax), %edi
callq mr_get_mtt_addr@PLT
movq -16(%rbp), %rcx
cltd
idivl (%rcx)
movl %eax, -84(%rbp)
movl -64(%rbp), %eax
movl %eax, -104(%rbp) # 4-byte Spill
movq -16(%rbp), %rdi
callq mpt_mask@PLT
movl %eax, %ecx
movl -104(%rbp), %eax # 4-byte Reload
andl %ecx, %eax
movl %eax, -92(%rbp)
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl -92(%rbp), %edx
movl RES_MPT_HW(%rip), %ecx
leaq -80(%rbp), %r8
callq mr_res_start_move_to@PLT
movl %eax, -60(%rbp)
cmpl $0, -60(%rbp)
je .LBB0_2
# %bb.1:
movl -60(%rbp), %eax
movl %eax, -4(%rbp)
jmp .LBB0_28
.LBB0_2:
movq -40(%rbp), %rax
movl (%rax), %edi
callq mr_is_region@PLT
cmpl $0, %eax
jne .LBB0_4
# %bb.3:
xorl %eax, %eax
subl EPERM(%rip), %eax
movl %eax, -60(%rbp)
jmp .LBB0_27
.LBB0_4:
movq -40(%rbp), %rax
movl (%rax), %edi
callq mr_get_pd@PLT
movl %eax, -96(%rbp)
movl -96(%rbp), %eax
sarl $17, %eax
andl $127, %eax
movl %eax, -100(%rbp)
cmpl $0, -100(%rbp)
je .LBB0_7
# %bb.5:
movl -100(%rbp), %eax
cmpl -20(%rbp), %eax
je .LBB0_7
# %bb.6:
xorl %eax, %eax
subl EPERM(%rip), %eax
movl %eax, -60(%rbp)
jmp .LBB0_27
.LBB0_7:
movq -40(%rbp), %rax
movl (%rax), %edi
callq mr_is_fmr@PLT
cmpq $0, %rax
je .LBB0_13
# %bb.8:
movq -40(%rbp), %rax
movl (%rax), %edi
callq mr_is_bind_enabled@PLT
cmpq $0, %rax
je .LBB0_10
# %bb.9:
xorl %eax, %eax
subl EPERM(%rip), %eax
movl %eax, -60(%rbp)
jmp .LBB0_27
.LBB0_10:
movq -40(%rbp), %rax
movl (%rax), %edi
callq mr_is_region@PLT
cmpl $0, %eax
jne .LBB0_12
# %bb.11:
xorl %eax, %eax
subl EPERM(%rip), %eax
movl %eax, -60(%rbp)
jmp .LBB0_27
.LBB0_12:
jmp .LBB0_13
.LBB0_13:
movq -40(%rbp), %rax
movl (%rax), %edi
callq mr_phys_mpt@PLT
movl %eax, -88(%rbp)
cmpl $0, -88(%rbp)
jne .LBB0_19
# %bb.14:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl -84(%rbp), %edx
movl RES_MTT(%rip), %ecx
leaq -72(%rbp), %r8
callq get_res@PLT
movl %eax, -60(%rbp)
cmpl $0, -60(%rbp)
je .LBB0_16
# %bb.15:
jmp .LBB0_27
.LBB0_16:
movq -16(%rbp), %rax
movq %rax, -120(%rbp) # 8-byte Spill
movl -20(%rbp), %eax
movl %eax, -112(%rbp) # 4-byte Spill
movl -84(%rbp), %eax
movl %eax, -108(%rbp) # 4-byte Spill
movq -40(%rbp), %rax
movl (%rax), %edi
callq mr_get_mtt_size@PLT
movq -120(%rbp), %rdi # 8-byte Reload
movl -112(%rbp), %esi # 4-byte Reload
movl -108(%rbp), %edx # 4-byte Reload
movl %eax, %ecx
movq -72(%rbp), %r8
callq check_mtt_range@PLT
movl %eax, -60(%rbp)
cmpl $0, -60(%rbp)
je .LBB0_18
# %bb.17:
jmp .LBB0_24
.LBB0_18:
movq -72(%rbp), %rcx
movq -80(%rbp), %rax
movq %rcx, (%rax)
.LBB0_19:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movq -32(%rbp), %rdx
movq -40(%rbp), %rcx
movq -48(%rbp), %r8
movq -56(%rbp), %r9
callq mlx4_DMA_wrapper@PLT
movl %eax, -60(%rbp)
cmpl $0, -60(%rbp)
je .LBB0_21
# %bb.20:
jmp .LBB0_24
.LBB0_21:
cmpl $0, -88(%rbp)
jne .LBB0_23
# %bb.22:
movq -72(%rbp), %rdi
addq $4, %rdi
callq atomic_inc@PLT
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movq -72(%rbp), %rax
movl (%rax), %edx
movl RES_MTT(%rip), %ecx
callq put_res@PLT
.LBB0_23:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl RES_MPT(%rip), %edx
movl -92(%rbp), %ecx
callq res_end_move@PLT
movl $0, -4(%rbp)
jmp .LBB0_28
.LBB0_24:
cmpl $0, -88(%rbp)
jne .LBB0_26
# %bb.25:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movq -72(%rbp), %rax
movl (%rax), %edx
movl RES_MTT(%rip), %ecx
callq put_res@PLT
.LBB0_26:
jmp .LBB0_27
.LBB0_27:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl RES_MPT(%rip), %edx
movl -92(%rbp), %ecx
callq res_abort_move@PLT
movl -60(%rbp), %eax
movl %eax, -4(%rbp)
.LBB0_28:
movl -4(%rbp), %eax
addq $128, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size mlx4_SW2HW_MPT_wrapper, .Lfunc_end0-mlx4_SW2HW_MPT_wrapper
.cfi_endproc
# -- End function
.type RES_MPT_HW,@object # @RES_MPT_HW
.bss
.globl RES_MPT_HW
.p2align 2, 0x0
RES_MPT_HW:
.long 0 # 0x0
.size RES_MPT_HW, 4
.type EPERM,@object # @EPERM
.globl EPERM
.p2align 2, 0x0
EPERM:
.long 0 # 0x0
.size EPERM, 4
.type RES_MTT,@object # @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.long 0 # 0x0
.size RES_MTT, 4
.type RES_MPT,@object # @RES_MPT
.globl RES_MPT
.p2align 2, 0x0
RES_MPT:
.long 0 # 0x0
.size RES_MPT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mr_get_mtt_addr
.addrsig_sym mpt_mask
.addrsig_sym mr_res_start_move_to
.addrsig_sym mr_is_region
.addrsig_sym mr_get_pd
.addrsig_sym mr_is_fmr
.addrsig_sym mr_is_bind_enabled
.addrsig_sym mr_phys_mpt
.addrsig_sym get_res
.addrsig_sym check_mtt_range
.addrsig_sym mr_get_mtt_size
.addrsig_sym mlx4_DMA_wrapper
.addrsig_sym atomic_inc
.addrsig_sym put_res
.addrsig_sym res_end_move
.addrsig_sym res_abort_move
.addrsig_sym RES_MPT_HW
.addrsig_sym EPERM
.addrsig_sym RES_MTT
.addrsig_sym RES_MPT
| .text
.file "extr_resource_tracker.c_mlx4_SW2HW_MPT_wrapper.c"
.globl mlx4_SW2HW_MPT_wrapper # -- Begin function mlx4_SW2HW_MPT_wrapper
.p2align 4, 0x90
.type mlx4_SW2HW_MPT_wrapper,@function
mlx4_SW2HW_MPT_wrapper: # @mlx4_SW2HW_MPT_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $72, %rsp
.cfi_def_cfa_offset 128
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %r9, 40(%rsp) # 8-byte Spill
movq %r8, 48(%rsp) # 8-byte Spill
movq %rcx, %r14
movq %rdx, %r13
movl %esi, %r15d
movq %rdi, %rbp
movl (%rdx), %r12d
movl (%rcx), %edi
callq mr_get_mtt_addr@PLT
cltd
idivl (%rbp)
movl %eax, 36(%rsp) # 4-byte Spill
movq %rbp, %rdi
callq mpt_mask@PLT
movl %eax, %ebx
andl %r12d, %ebx
movl RES_MPT_HW(%rip), %ecx
leaq 64(%rsp), %r8
movq %rbp, %rdi
movl %r15d, %esi
movl %ebx, %edx
callq mr_res_start_move_to@PLT
movl %eax, %r12d
testl %eax, %eax
jne .LBB0_16
# %bb.1:
movl 36(%rsp), %r12d # 4-byte Reload
movq %rbp, 16(%rsp) # 8-byte Spill
movl %r15d, 12(%rsp) # 4-byte Spill
movl (%r14), %edi
callq mr_is_region@PLT
testl %eax, %eax
je .LBB0_5
# %bb.2:
movl (%r14), %edi
callq mr_get_pd@PLT
shrl $17, %eax
andl $127, %eax
movl 12(%rsp), %esi # 4-byte Reload
movl %ebx, %ebp
je .LBB0_6
# %bb.3:
cmpl %esi, %eax
je .LBB0_6
# %bb.4:
xorl %r12d, %r12d
subl EPERM(%rip), %r12d
jmp .LBB0_14
.LBB0_5:
xorl %r12d, %r12d
subl EPERM(%rip), %r12d
movl 12(%rsp), %esi # 4-byte Reload
movq 16(%rsp), %r15 # 8-byte Reload
movl %ebx, %ebp
jmp .LBB0_15
.LBB0_6:
movl (%r14), %edi
callq mr_is_fmr@PLT
testq %rax, %rax
movq 40(%rsp), %rbx # 8-byte Reload
movq %r14, %r15
movq 48(%rsp), %r14 # 8-byte Reload
movq %r13, 56(%rsp) # 8-byte Spill
movl %r12d, %r13d
je .LBB0_10
# %bb.7:
movl (%r15), %edi
callq mr_is_bind_enabled@PLT
testq %rax, %rax
je .LBB0_9
.LBB0_8:
xorl %r12d, %r12d
subl EPERM(%rip), %r12d
jmp .LBB0_13
.LBB0_9:
movl (%r15), %edi
callq mr_is_region@PLT
testl %eax, %eax
je .LBB0_8
.LBB0_10:
movl (%r15), %edi
callq mr_phys_mpt@PLT
movl %eax, 32(%rsp) # 4-byte Spill
testl %eax, %eax
je .LBB0_17
.LBB0_11:
movq 16(%rsp), %rdi # 8-byte Reload
movl 12(%rsp), %esi # 4-byte Reload
movq 56(%rsp), %rdx # 8-byte Reload
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
callq mlx4_DMA_wrapper@PLT
movl %eax, %r12d
testl %eax, %eax
je .LBB0_20
.LBB0_12:
cmpl $0, 32(%rsp) # 4-byte Folded Reload
je .LBB0_23
.LBB0_13:
movl 12(%rsp), %esi # 4-byte Reload
.LBB0_14:
movq 16(%rsp), %r15 # 8-byte Reload
.LBB0_15:
movl RES_MPT(%rip), %edx
movq %r15, %rdi
movl %ebp, %ecx
callq res_abort_move@PLT
.LBB0_16:
movl %r12d, %eax
addq $72, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.LBB0_17:
.cfi_def_cfa_offset 128
movq %r15, %r14
movl RES_MTT(%rip), %ecx
leaq 24(%rsp), %r8
movq 16(%rsp), %r12 # 8-byte Reload
movq %r12, %rdi
movl 12(%rsp), %r15d # 4-byte Reload
movl %r15d, %esi
movl %r13d, %edx
callq get_res@PLT
movl %r15d, %esi
movq %r12, %r15
movl %eax, %r12d
testl %eax, %eax
jne .LBB0_15
# %bb.18:
movq %r15, %r12
movq %r14, %r15
movl (%r14), %edi
movl %esi, %r14d
callq mr_get_mtt_size@PLT
movq 24(%rsp), %r8
movq %r12, %rdi
movl %r14d, %esi
movl %r13d, %edx
movl %eax, %ecx
callq check_mtt_range@PLT
movl %eax, %r12d
testl %eax, %eax
jne .LBB0_12
# %bb.19:
movq 24(%rsp), %rax
movq 64(%rsp), %rcx
movq %rax, (%rcx)
movq 40(%rsp), %rbx # 8-byte Reload
movq 48(%rsp), %r14 # 8-byte Reload
jmp .LBB0_11
.LBB0_20:
cmpl $0, 32(%rsp) # 4-byte Folded Reload
movq 16(%rsp), %rbx # 8-byte Reload
jne .LBB0_22
# %bb.21:
movq 24(%rsp), %rdi
addq $4, %rdi
callq atomic_inc@PLT
movq 24(%rsp), %rax
movl (%rax), %edx
movl RES_MTT(%rip), %ecx
movq %rbx, %rdi
movl 12(%rsp), %esi # 4-byte Reload
callq put_res@PLT
.LBB0_22:
movl RES_MPT(%rip), %edx
movq %rbx, %rdi
movl 12(%rsp), %esi # 4-byte Reload
movl %ebp, %ecx
callq res_end_move@PLT
xorl %r12d, %r12d
jmp .LBB0_16
.LBB0_23:
movq 24(%rsp), %rax
movl (%rax), %edx
movl RES_MTT(%rip), %ecx
movq 16(%rsp), %r15 # 8-byte Reload
movq %r15, %rdi
movl 12(%rsp), %ebx # 4-byte Reload
movl %ebx, %esi
callq put_res@PLT
movl %ebx, %esi
jmp .LBB0_15
.Lfunc_end0:
.size mlx4_SW2HW_MPT_wrapper, .Lfunc_end0-mlx4_SW2HW_MPT_wrapper
.cfi_endproc
# -- End function
.type RES_MPT_HW,@object # @RES_MPT_HW
.bss
.globl RES_MPT_HW
.p2align 2, 0x0
RES_MPT_HW:
.long 0 # 0x0
.size RES_MPT_HW, 4
.type EPERM,@object # @EPERM
.globl EPERM
.p2align 2, 0x0
EPERM:
.long 0 # 0x0
.size EPERM, 4
.type RES_MTT,@object # @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.long 0 # 0x0
.size RES_MTT, 4
.type RES_MPT,@object # @RES_MPT
.globl RES_MPT
.p2align 2, 0x0
RES_MPT:
.long 0 # 0x0
.size RES_MPT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_SW2HW_MPT_wrapper.c"
.globl mlx4_SW2HW_MPT_wrapper # -- Begin function mlx4_SW2HW_MPT_wrapper
.p2align 4, 0x90
.type mlx4_SW2HW_MPT_wrapper,@function
mlx4_SW2HW_MPT_wrapper: # @mlx4_SW2HW_MPT_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $56, %rsp
.cfi_def_cfa_offset 112
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %r9, 32(%rsp) # 8-byte Spill
movq %r8, 40(%rsp) # 8-byte Spill
movq %rcx, %r13
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbp
movl (%rdx), %r12d
movl (%rcx), %edi
callq mr_get_mtt_addr@PLT
cltd
idivl (%rbp)
movl %eax, 20(%rsp) # 4-byte Spill
movq %rbp, %rdi
callq mpt_mask@PLT
movl %eax, %ebx
andl %r12d, %ebx
movl RES_MPT_HW(%rip), %ecx
leaq 48(%rsp), %r8
movq %rbp, %rdi
movl %r15d, %esi
movl %ebx, %edx
callq mr_res_start_move_to@PLT
movl %eax, %r12d
testl %eax, %eax
jne .LBB0_9
# %bb.1:
movl 20(%rsp), %r12d # 4-byte Reload
movq %r14, 24(%rsp) # 8-byte Spill
movl %ebx, 4(%rsp) # 4-byte Spill
movl (%r13), %edi
callq mr_is_region@PLT
testl %eax, %eax
je .LBB0_5
# %bb.2:
movl (%r13), %edi
callq mr_get_pd@PLT
shrl $17, %eax
andl $127, %eax
je .LBB0_10
# %bb.3:
movl %r15d, %ebx
cmpl %r15d, %eax
je .LBB0_10
# %bb.4:
xorl %r12d, %r12d
subl EPERM(%rip), %r12d
jmp .LBB0_6
.LBB0_5:
xorl %r12d, %r12d
subl EPERM(%rip), %r12d
movl %r15d, %ebx
.LBB0_6:
movq %rbp, %r14
.LBB0_7:
movl 4(%rsp), %ebp # 4-byte Reload
.LBB0_8:
movl RES_MPT(%rip), %edx
movq %r14, %rdi
movl %ebx, %esi
movl %ebp, %ecx
callq res_abort_move@PLT
.LBB0_9:
movl %r12d, %eax
addq $56, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.LBB0_10:
.cfi_def_cfa_offset 112
movl (%r13), %edi
callq mr_is_fmr@PLT
testq %rax, %rax
movq 40(%rsp), %rbx # 8-byte Reload
movq %rbp, %r14
movq 24(%rsp), %rbp # 8-byte Reload
je .LBB0_14
# %bb.11:
movl (%r13), %edi
callq mr_is_bind_enabled@PLT
testq %rax, %rax
je .LBB0_13
.LBB0_12:
xorl %r12d, %r12d
subl EPERM(%rip), %r12d
movl %r15d, %ebx
jmp .LBB0_7
.LBB0_13:
movl (%r13), %edi
callq mr_is_region@PLT
testl %eax, %eax
je .LBB0_12
.LBB0_14:
movl (%r13), %edi
callq mr_phys_mpt@PLT
testl %eax, %eax
je .LBB0_17
# %bb.15:
movq %r14, %rdi
movl %r15d, %esi
movq %rbp, %rdx
movq %r13, %rcx
movq %rbx, %r8
movq 32(%rsp), %r9 # 8-byte Reload
movl %r15d, %ebx
callq mlx4_DMA_wrapper@PLT
movl %eax, %r12d
testl %eax, %eax
movl 4(%rsp), %ebp # 4-byte Reload
jne .LBB0_8
.LBB0_16:
movl RES_MPT(%rip), %edx
movq %r14, %rdi
movl %ebx, %esi
movl %ebp, %ecx
callq res_end_move@PLT
xorl %r12d, %r12d
jmp .LBB0_9
.LBB0_17:
movl RES_MTT(%rip), %ecx
leaq 8(%rsp), %r8
movq %r14, %rdi
movl %r15d, %ebx
movl %r15d, %esi
movl %r12d, %r15d
movl %r12d, %edx
callq get_res@PLT
movl %eax, %r12d
testl %eax, %eax
movl 4(%rsp), %ebp # 4-byte Reload
jne .LBB0_8
# %bb.18:
movl (%r13), %edi
callq mr_get_mtt_size@PLT
movq 8(%rsp), %r8
movq %r14, %rdi
movl %ebx, %esi
movl %r15d, %edx
movl %eax, %ecx
callq check_mtt_range@PLT
movl %eax, %r12d
testl %eax, %eax
jne .LBB0_20
# %bb.19:
movq 8(%rsp), %rax
movq 48(%rsp), %rcx
movq %rax, (%rcx)
movq %r14, %rdi
movl %ebx, %esi
movq 24(%rsp), %rdx # 8-byte Reload
movq %r13, %rcx
movq 40(%rsp), %r8 # 8-byte Reload
movq 32(%rsp), %r9 # 8-byte Reload
callq mlx4_DMA_wrapper@PLT
movl %eax, %r12d
testl %eax, %eax
je .LBB0_21
.LBB0_20:
movq 8(%rsp), %rax
movl (%rax), %edx
movl RES_MTT(%rip), %ecx
movq %r14, %rdi
movl %ebx, %esi
callq put_res@PLT
jmp .LBB0_8
.LBB0_21:
movq 8(%rsp), %rdi
addq $4, %rdi
callq atomic_inc@PLT
movq 8(%rsp), %rax
movl (%rax), %edx
movl RES_MTT(%rip), %ecx
movq %r14, %rdi
movl %ebx, %esi
callq put_res@PLT
jmp .LBB0_16
.Lfunc_end0:
.size mlx4_SW2HW_MPT_wrapper, .Lfunc_end0-mlx4_SW2HW_MPT_wrapper
.cfi_endproc
# -- End function
.type RES_MPT_HW,@object # @RES_MPT_HW
.bss
.globl RES_MPT_HW
.p2align 2, 0x0
RES_MPT_HW:
.long 0 # 0x0
.size RES_MPT_HW, 4
.type EPERM,@object # @EPERM
.globl EPERM
.p2align 2, 0x0
EPERM:
.long 0 # 0x0
.size EPERM, 4
.type RES_MTT,@object # @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.long 0 # 0x0
.size RES_MTT, 4
.type RES_MPT,@object # @RES_MPT
.globl RES_MPT
.p2align 2, 0x0
RES_MPT:
.long 0 # 0x0
.size RES_MPT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_SW2HW_MPT_wrapper.c"
.globl mlx4_SW2HW_MPT_wrapper # -- Begin function mlx4_SW2HW_MPT_wrapper
.p2align 4, 0x90
.type mlx4_SW2HW_MPT_wrapper,@function
mlx4_SW2HW_MPT_wrapper: # @mlx4_SW2HW_MPT_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $56, %rsp
.cfi_def_cfa_offset 112
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %r9, 32(%rsp) # 8-byte Spill
movq %r8, 40(%rsp) # 8-byte Spill
movq %rcx, %r13
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbp
movl (%rdx), %r12d
movl (%rcx), %edi
callq mr_get_mtt_addr@PLT
cltd
idivl (%rbp)
movl %eax, 20(%rsp) # 4-byte Spill
movq %rbp, %rdi
callq mpt_mask@PLT
movl %eax, %ebx
andl %r12d, %ebx
movl RES_MPT_HW(%rip), %ecx
leaq 48(%rsp), %r8
movq %rbp, %rdi
movl %r15d, %esi
movl %ebx, %edx
callq mr_res_start_move_to@PLT
movl %eax, %r12d
testl %eax, %eax
jne .LBB0_9
# %bb.1:
movl 20(%rsp), %r12d # 4-byte Reload
movq %r14, 24(%rsp) # 8-byte Spill
movl %ebx, 4(%rsp) # 4-byte Spill
movl (%r13), %edi
callq mr_is_region@PLT
testl %eax, %eax
je .LBB0_5
# %bb.2:
movl (%r13), %edi
callq mr_get_pd@PLT
shrl $17, %eax
andl $127, %eax
je .LBB0_10
# %bb.3:
movl %r15d, %ebx
cmpl %r15d, %eax
je .LBB0_10
# %bb.4:
xorl %r12d, %r12d
subl EPERM(%rip), %r12d
jmp .LBB0_6
.LBB0_5:
xorl %r12d, %r12d
subl EPERM(%rip), %r12d
movl %r15d, %ebx
.LBB0_6:
movq %rbp, %r14
.LBB0_7:
movl 4(%rsp), %ebp # 4-byte Reload
.LBB0_8:
movl RES_MPT(%rip), %edx
movq %r14, %rdi
movl %ebx, %esi
movl %ebp, %ecx
callq res_abort_move@PLT
.LBB0_9:
movl %r12d, %eax
addq $56, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.LBB0_10:
.cfi_def_cfa_offset 112
movl (%r13), %edi
callq mr_is_fmr@PLT
testq %rax, %rax
movq 40(%rsp), %rbx # 8-byte Reload
movq %rbp, %r14
movq 24(%rsp), %rbp # 8-byte Reload
je .LBB0_14
# %bb.11:
movl (%r13), %edi
callq mr_is_bind_enabled@PLT
testq %rax, %rax
je .LBB0_13
.LBB0_12:
xorl %r12d, %r12d
subl EPERM(%rip), %r12d
movl %r15d, %ebx
jmp .LBB0_7
.LBB0_13:
movl (%r13), %edi
callq mr_is_region@PLT
testl %eax, %eax
je .LBB0_12
.LBB0_14:
movl (%r13), %edi
callq mr_phys_mpt@PLT
testl %eax, %eax
je .LBB0_17
# %bb.15:
movq %r14, %rdi
movl %r15d, %esi
movq %rbp, %rdx
movq %r13, %rcx
movq %rbx, %r8
movq 32(%rsp), %r9 # 8-byte Reload
movl %r15d, %ebx
callq mlx4_DMA_wrapper@PLT
movl %eax, %r12d
testl %eax, %eax
movl 4(%rsp), %ebp # 4-byte Reload
jne .LBB0_8
.LBB0_16:
movl RES_MPT(%rip), %edx
movq %r14, %rdi
movl %ebx, %esi
movl %ebp, %ecx
callq res_end_move@PLT
xorl %r12d, %r12d
jmp .LBB0_9
.LBB0_17:
movl RES_MTT(%rip), %ecx
leaq 8(%rsp), %r8
movq %r14, %rdi
movl %r15d, %ebx
movl %r15d, %esi
movl %r12d, %r15d
movl %r12d, %edx
callq get_res@PLT
movl %eax, %r12d
testl %eax, %eax
movl 4(%rsp), %ebp # 4-byte Reload
jne .LBB0_8
# %bb.18:
movl (%r13), %edi
callq mr_get_mtt_size@PLT
movq 8(%rsp), %r8
movq %r14, %rdi
movl %ebx, %esi
movl %r15d, %edx
movl %eax, %ecx
callq check_mtt_range@PLT
movl %eax, %r12d
testl %eax, %eax
jne .LBB0_20
# %bb.19:
movq 8(%rsp), %rax
movq 48(%rsp), %rcx
movq %rax, (%rcx)
movq %r14, %rdi
movl %ebx, %esi
movq 24(%rsp), %rdx # 8-byte Reload
movq %r13, %rcx
movq 40(%rsp), %r8 # 8-byte Reload
movq 32(%rsp), %r9 # 8-byte Reload
callq mlx4_DMA_wrapper@PLT
movl %eax, %r12d
testl %eax, %eax
je .LBB0_21
.LBB0_20:
movq 8(%rsp), %rax
movl (%rax), %edx
movl RES_MTT(%rip), %ecx
movq %r14, %rdi
movl %ebx, %esi
callq put_res@PLT
jmp .LBB0_8
.LBB0_21:
movq 8(%rsp), %rdi
addq $4, %rdi
callq atomic_inc@PLT
movq 8(%rsp), %rax
movl (%rax), %edx
movl RES_MTT(%rip), %ecx
movq %r14, %rdi
movl %ebx, %esi
callq put_res@PLT
jmp .LBB0_16
.Lfunc_end0:
.size mlx4_SW2HW_MPT_wrapper, .Lfunc_end0-mlx4_SW2HW_MPT_wrapper
.cfi_endproc
# -- End function
.type RES_MPT_HW,@object # @RES_MPT_HW
.bss
.globl RES_MPT_HW
.p2align 2, 0x0
RES_MPT_HW:
.long 0 # 0x0
.size RES_MPT_HW, 4
.type EPERM,@object # @EPERM
.globl EPERM
.p2align 2, 0x0
EPERM:
.long 0 # 0x0
.size EPERM, 4
.type RES_MTT,@object # @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.long 0 # 0x0
.size RES_MTT, 4
.type RES_MPT,@object # @RES_MPT
.globl RES_MPT
.p2align 2, 0x0
RES_MPT:
.long 0 # 0x0
.size RES_MPT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_resource_tracker.c_mlx4_QP_FLOW_STEERING_ATTACH_wrapper.c | .text
.file "extr_resource_tracker.c_mlx4_QP_FLOW_STEERING_ATTACH_wrapper.c"
.globl mlx4_QP_FLOW_STEERING_ATTACH_wrapper // -- Begin function mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.p2align 2
.type mlx4_QP_FLOW_STEERING_ATTACH_wrapper,@function
mlx4_QP_FLOW_STEERING_ATTACH_wrapper: // @mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_startproc
// %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] // 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur x2, [x29, #-32]
stur x3, [x29, #-40]
stur x4, [x29, #-48]
stur x5, [x29, #-56]
ldur x0, [x29, #-16]
bl mlx4_priv
str x0, [sp, #64]
ldr x8, [sp, #64]
str x8, [sp, #56]
ldr x8, [sp, #56]
ldr x8, [x8]
ldursw x9, [x29, #-20]
ldr x8, [x8, x9, lsl #3]
adrp x9, RES_MAC
ldr x9, [x9, :lo12:RES_MAC]
add x8, x8, x9, lsl #2
str x8, [sp, #48]
ldur x8, [x29, #-16]
ldr x8, [x8]
adrp x9, MLX4_STEERING_MODE_DEVICE_MANAGED
ldr x9, [x9, :lo12:MLX4_STEERING_MODE_DEVICE_MANAGED]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x8, EOPNOTSUPP
ldr w9, [x8, :lo12:EOPNOTSUPP]
mov w8, wzr
subs w8, w8, w9
stur w8, [x29, #-4]
b .LBB0_21
.LBB0_2:
ldur x8, [x29, #-40]
ldr x8, [x8, #8]
str x8, [sp, #24]
ldr x8, [sp, #24]
ldr w0, [x8]
bl be32_to_cpu
and w8, w0, #0xffffff
str w8, [sp, #40]
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldr w2, [sp, #40]
adrp x8, RES_QP
ldr w3, [x8, :lo12:RES_QP]
add x4, sp, #32
bl get_res
str w0, [sp, #44]
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
ldr w1, [sp, #40]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_err
ldr w8, [sp, #44]
stur w8, [x29, #-4]
b .LBB0_21
.LBB0_4:
ldr x8, [sp, #24]
add x8, x8, #4
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr w0, [x8]
bl be16_to_cpu
bl map_hw_to_sw_id
str w0, [sp, #12]
ldr w8, [sp, #12]
str w8, [sp, #8] // 4-byte Folded Spill
subs w8, w8, #128
subs w8, w8, #2
cset w8, ls
tbnz w8, #0, .LBB0_11
b .LBB0_5
.LBB0_5:
ldr w8, [sp, #8] // 4-byte Folded Reload
subs w8, w8, #131
cset w8, eq
tbnz w8, #0, .LBB0_10
b .LBB0_6
.LBB0_6:
ldr w8, [sp, #8] // 4-byte Folded Reload
subs w8, w8, #132
cset w8, ne
tbnz w8, #0, .LBB0_14
b .LBB0_7
.LBB0_7:
ldur w0, [x29, #-20]
ldr x1, [sp, #16]
ldr x2, [sp, #48]
bl validate_eth_header_mac
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, .LBB0_9
b .LBB0_8
.LBB0_8:
adrp x8, EINVAL
ldr w9, [x8, :lo12:EINVAL]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #44]
b .LBB0_20
.LBB0_9:
b .LBB0_15
.LBB0_10:
b .LBB0_15
.LBB0_11:
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl pr_warn
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldur x2, [x29, #-40]
ldr x3, [sp, #48]
ldr w4, [sp, #12]
bl add_eth_header
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, .LBB0_13
b .LBB0_12
.LBB0_12:
adrp x8, EINVAL
ldr w9, [x8, :lo12:EINVAL]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #44]
b .LBB0_20
.LBB0_13:
ldur x9, [x29, #-32]
ldrsw x8, [x9]
add x8, x8, #1
// kill: def $w8 killed $w8 killed $x8
str w8, [x9]
b .LBB0_15
.LBB0_14:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl pr_err
adrp x8, EINVAL
ldr w9, [x8, :lo12:EINVAL]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #44]
b .LBB0_20
.LBB0_15:
ldur x0, [x29, #-16]
ldur x8, [x29, #-40]
ldr w1, [x8]
ldur x8, [x29, #-32]
add x2, x8, #4
ldur x8, [x29, #-32]
ldr w3, [x8]
adrp x8, MLX4_QP_FLOW_STEERING_ATTACH
ldr w5, [x8, :lo12:MLX4_QP_FLOW_STEERING_ATTACH]
adrp x8, MLX4_CMD_TIME_CLASS_A
ldr w6, [x8, :lo12:MLX4_CMD_TIME_CLASS_A]
adrp x8, MLX4_CMD_NATIVE
ldr w7, [x8, :lo12:MLX4_CMD_NATIVE]
mov w4, wzr
bl mlx4_cmd_imm
str w0, [sp, #44]
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_17
b .LBB0_16
.LBB0_16:
b .LBB0_20
.LBB0_17:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldur x8, [x29, #-32]
ldr w2, [x8, #4]
adrp x8, RES_FS_RULE
ldr w4, [x8, :lo12:RES_FS_RULE]
ldr w5, [sp, #40]
mov w3, #1 // =0x1
bl add_res_range
str w0, [sp, #44]
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_19
b .LBB0_18
.LBB0_18:
ldur x0, [x29, #-16]
adrp x1, .L.str.3
add x1, x1, :lo12:.L.str.3
bl mlx4_err
ldur x0, [x29, #-16]
ldur x8, [x29, #-32]
ldr w1, [x8, #4]
adrp x8, MLX4_QP_FLOW_STEERING_DETACH
ldr w4, [x8, :lo12:MLX4_QP_FLOW_STEERING_DETACH]
adrp x8, MLX4_CMD_TIME_CLASS_A
ldr w5, [x8, :lo12:MLX4_CMD_TIME_CLASS_A]
adrp x8, MLX4_CMD_NATIVE
ldr w6, [x8, :lo12:MLX4_CMD_NATIVE]
mov w3, wzr
mov w2, w3
bl mlx4_cmd
b .LBB0_20
.LBB0_19:
ldr x0, [sp, #32]
bl atomic_inc
b .LBB0_20
.LBB0_20:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldr w2, [sp, #40]
adrp x8, RES_QP
ldr w3, [x8, :lo12:RES_QP]
bl put_res
ldr w8, [sp, #44]
stur w8, [x29, #-4]
b .LBB0_21
.LBB0_21:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 144
ldp x29, x30, [sp, #128] // 16-byte Folded Reload
add sp, sp, #144
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_QP_FLOW_STEERING_ATTACH_wrapper, .Lfunc_end0-mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_endproc
// -- End function
.type RES_MAC,@object // @RES_MAC
.bss
.globl RES_MAC
.p2align 3, 0x0
RES_MAC:
.xword 0 // 0x0
.size RES_MAC, 8
.type MLX4_STEERING_MODE_DEVICE_MANAGED,@object // @MLX4_STEERING_MODE_DEVICE_MANAGED
.globl MLX4_STEERING_MODE_DEVICE_MANAGED
.p2align 3, 0x0
MLX4_STEERING_MODE_DEVICE_MANAGED:
.xword 0 // 0x0
.size MLX4_STEERING_MODE_DEVICE_MANAGED, 8
.type EOPNOTSUPP,@object // @EOPNOTSUPP
.globl EOPNOTSUPP
.p2align 2, 0x0
EOPNOTSUPP:
.word 0 // 0x0
.size EOPNOTSUPP, 4
.type RES_QP,@object // @RES_QP
.globl RES_QP
.p2align 2, 0x0
RES_QP:
.word 0 // 0x0
.size RES_QP, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Steering rule with qpn 0x%x rejected.\n"
.size .L.str, 39
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "Can't attach FS rule without L2 headers, adding L2 header.\n"
.size .L.str.1, 60
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "Corrupted mailbox.\n"
.size .L.str.2, 20
.type MLX4_QP_FLOW_STEERING_ATTACH,@object // @MLX4_QP_FLOW_STEERING_ATTACH
.bss
.globl MLX4_QP_FLOW_STEERING_ATTACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_ATTACH:
.word 0 // 0x0
.size MLX4_QP_FLOW_STEERING_ATTACH, 4
.type MLX4_CMD_TIME_CLASS_A,@object // @MLX4_CMD_TIME_CLASS_A
.globl MLX4_CMD_TIME_CLASS_A
.p2align 2, 0x0
MLX4_CMD_TIME_CLASS_A:
.word 0 // 0x0
.size MLX4_CMD_TIME_CLASS_A, 4
.type MLX4_CMD_NATIVE,@object // @MLX4_CMD_NATIVE
.globl MLX4_CMD_NATIVE
.p2align 2, 0x0
MLX4_CMD_NATIVE:
.word 0 // 0x0
.size MLX4_CMD_NATIVE, 4
.type RES_FS_RULE,@object // @RES_FS_RULE
.globl RES_FS_RULE
.p2align 2, 0x0
RES_FS_RULE:
.word 0 // 0x0
.size RES_FS_RULE, 4
.type .L.str.3,@object // @.str.3
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.3:
.asciz "Fail to add flow steering resources.\n "
.size .L.str.3, 39
.type MLX4_QP_FLOW_STEERING_DETACH,@object // @MLX4_QP_FLOW_STEERING_DETACH
.bss
.globl MLX4_QP_FLOW_STEERING_DETACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_DETACH:
.word 0 // 0x0
.size MLX4_QP_FLOW_STEERING_DETACH, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_priv
.addrsig_sym be32_to_cpu
.addrsig_sym get_res
.addrsig_sym pr_err
.addrsig_sym map_hw_to_sw_id
.addrsig_sym be16_to_cpu
.addrsig_sym validate_eth_header_mac
.addrsig_sym pr_warn
.addrsig_sym add_eth_header
.addrsig_sym mlx4_cmd_imm
.addrsig_sym add_res_range
.addrsig_sym mlx4_err
.addrsig_sym mlx4_cmd
.addrsig_sym atomic_inc
.addrsig_sym put_res
.addrsig_sym RES_MAC
.addrsig_sym MLX4_STEERING_MODE_DEVICE_MANAGED
.addrsig_sym EOPNOTSUPP
.addrsig_sym RES_QP
.addrsig_sym EINVAL
.addrsig_sym MLX4_QP_FLOW_STEERING_ATTACH
.addrsig_sym MLX4_CMD_TIME_CLASS_A
.addrsig_sym MLX4_CMD_NATIVE
.addrsig_sym RES_FS_RULE
.addrsig_sym MLX4_QP_FLOW_STEERING_DETACH
| .text
.file "extr_resource_tracker.c_mlx4_QP_FLOW_STEERING_ATTACH_wrapper.c"
.globl mlx4_QP_FLOW_STEERING_ATTACH_wrapper // -- Begin function mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.p2align 2
.type mlx4_QP_FLOW_STEERING_ATTACH_wrapper,@function
mlx4_QP_FLOW_STEERING_ATTACH_wrapper: // @mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_startproc
// %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #16] // 16-byte Folded Spill
stp x28, x27, [sp, #32] // 16-byte Folded Spill
stp x26, x25, [sp, #48] // 16-byte Folded Spill
stp x24, x23, [sp, #64] // 16-byte Folded Spill
stp x22, x21, [sp, #80] // 16-byte Folded Spill
stp x20, x19, [sp, #96] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
.cfi_remember_state
mov x23, x3
mov x22, x2
mov w19, w1
mov x20, x0
bl mlx4_priv
adrp x8, MLX4_STEERING_MODE_DEVICE_MANAGED
ldr x9, [x20]
ldr x8, [x8, :lo12:MLX4_STEERING_MODE_DEVICE_MANAGED]
cmp x9, x8
b.ne .LBB0_3
// %bb.1:
ldr x25, [x23, #8]
adrp x9, RES_MAC
ldr x8, [x0]
ldr x26, [x8, w19, sxtw #3]
ldr w0, [x25]
ldr x28, [x9, :lo12:RES_MAC]
bl be32_to_cpu
adrp x27, RES_QP
and w21, w0, #0xffffff
add x4, sp, #8
mov x0, x20
mov w1, w19
mov w2, w21
ldr w3, [x27, :lo12:RES_QP]
bl get_res
cbz w0, .LBB0_4
// %bb.2:
mov w24, w0
adrp x0, .L.str
add x0, x0, :lo12:.L.str
mov w1, w21
bl pr_err
b .LBB0_16
.LBB0_3:
adrp x8, EOPNOTSUPP
ldr w8, [x8, :lo12:EOPNOTSUPP]
neg w24, w8
b .LBB0_16
.LBB0_4:
ldr w0, [x25, #4]!
add x24, x26, x28, lsl #2
bl be16_to_cpu
bl map_hw_to_sw_id
mov w26, w0
sub w8, w0, #128
cmp w8, #3
b.hs .LBB0_7
// %bb.5:
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl pr_warn
mov x0, x20
mov w1, w19
mov x2, x23
mov x3, x24
mov w4, w26
bl add_eth_header
cbnz w0, .LBB0_14
// %bb.6:
ldr w8, [x22]
add w8, w8, #1
str w8, [x22]
b .LBB0_10
.LBB0_7:
cmp w26, #131
b.eq .LBB0_10
// %bb.8:
cmp w26, #132
b.ne .LBB0_13
// %bb.9:
mov w0, w19
mov x1, x25
mov x2, x24
bl validate_eth_header_mac
cbnz w0, .LBB0_14
.LBB0_10:
adrp x8, MLX4_QP_FLOW_STEERING_ATTACH
adrp x25, MLX4_CMD_TIME_CLASS_A
ldr w1, [x23]
adrp x23, MLX4_CMD_NATIVE
ldr w3, [x22], #4
ldr w5, [x8, :lo12:MLX4_QP_FLOW_STEERING_ATTACH]
mov x0, x20
ldr w6, [x25, :lo12:MLX4_CMD_TIME_CLASS_A]
mov x2, x22
ldr w7, [x23, :lo12:MLX4_CMD_NATIVE]
mov w4, wzr
bl mlx4_cmd_imm
mov w24, w0
cbnz w0, .LBB0_15
// %bb.11:
adrp x8, RES_FS_RULE
ldr w2, [x22]
mov x0, x20
mov w1, w19
mov w3, #1 // =0x1
mov w5, w21
ldr w4, [x8, :lo12:RES_FS_RULE]
bl add_res_range
mov w24, w0
cbz w0, .LBB0_17
// %bb.12:
adrp x1, .L.str.3
add x1, x1, :lo12:.L.str.3
mov x0, x20
bl mlx4_err
adrp x8, MLX4_QP_FLOW_STEERING_DETACH
ldr w1, [x22]
ldr w5, [x25, :lo12:MLX4_CMD_TIME_CLASS_A]
mov x0, x20
ldr w6, [x23, :lo12:MLX4_CMD_NATIVE]
mov w2, wzr
ldr w4, [x8, :lo12:MLX4_QP_FLOW_STEERING_DETACH]
mov w3, wzr
bl mlx4_cmd
b .LBB0_15
.LBB0_13:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl pr_err
.LBB0_14:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w24, w8
.LBB0_15:
ldr w3, [x27, :lo12:RES_QP]
mov x0, x20
mov w1, w19
mov w2, w21
bl put_res
.LBB0_16:
mov w0, w24
.cfi_def_cfa wsp, 112
ldp x20, x19, [sp, #96] // 16-byte Folded Reload
ldp x22, x21, [sp, #80] // 16-byte Folded Reload
ldp x24, x23, [sp, #64] // 16-byte Folded Reload
ldp x26, x25, [sp, #48] // 16-byte Folded Reload
ldp x28, x27, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #112
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_17:
.cfi_restore_state
ldr x0, [sp, #8]
bl atomic_inc
b .LBB0_15
.Lfunc_end0:
.size mlx4_QP_FLOW_STEERING_ATTACH_wrapper, .Lfunc_end0-mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_endproc
// -- End function
.type RES_MAC,@object // @RES_MAC
.bss
.globl RES_MAC
.p2align 3, 0x0
RES_MAC:
.xword 0 // 0x0
.size RES_MAC, 8
.type MLX4_STEERING_MODE_DEVICE_MANAGED,@object // @MLX4_STEERING_MODE_DEVICE_MANAGED
.globl MLX4_STEERING_MODE_DEVICE_MANAGED
.p2align 3, 0x0
MLX4_STEERING_MODE_DEVICE_MANAGED:
.xword 0 // 0x0
.size MLX4_STEERING_MODE_DEVICE_MANAGED, 8
.type EOPNOTSUPP,@object // @EOPNOTSUPP
.globl EOPNOTSUPP
.p2align 2, 0x0
EOPNOTSUPP:
.word 0 // 0x0
.size EOPNOTSUPP, 4
.type RES_QP,@object // @RES_QP
.globl RES_QP
.p2align 2, 0x0
RES_QP:
.word 0 // 0x0
.size RES_QP, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Steering rule with qpn 0x%x rejected.\n"
.size .L.str, 39
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "Can't attach FS rule without L2 headers, adding L2 header.\n"
.size .L.str.1, 60
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "Corrupted mailbox.\n"
.size .L.str.2, 20
.type MLX4_QP_FLOW_STEERING_ATTACH,@object // @MLX4_QP_FLOW_STEERING_ATTACH
.bss
.globl MLX4_QP_FLOW_STEERING_ATTACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_ATTACH:
.word 0 // 0x0
.size MLX4_QP_FLOW_STEERING_ATTACH, 4
.type MLX4_CMD_TIME_CLASS_A,@object // @MLX4_CMD_TIME_CLASS_A
.globl MLX4_CMD_TIME_CLASS_A
.p2align 2, 0x0
MLX4_CMD_TIME_CLASS_A:
.word 0 // 0x0
.size MLX4_CMD_TIME_CLASS_A, 4
.type MLX4_CMD_NATIVE,@object // @MLX4_CMD_NATIVE
.globl MLX4_CMD_NATIVE
.p2align 2, 0x0
MLX4_CMD_NATIVE:
.word 0 // 0x0
.size MLX4_CMD_NATIVE, 4
.type RES_FS_RULE,@object // @RES_FS_RULE
.globl RES_FS_RULE
.p2align 2, 0x0
RES_FS_RULE:
.word 0 // 0x0
.size RES_FS_RULE, 4
.type .L.str.3,@object // @.str.3
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.3:
.asciz "Fail to add flow steering resources.\n "
.size .L.str.3, 39
.type MLX4_QP_FLOW_STEERING_DETACH,@object // @MLX4_QP_FLOW_STEERING_DETACH
.bss
.globl MLX4_QP_FLOW_STEERING_DETACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_DETACH:
.word 0 // 0x0
.size MLX4_QP_FLOW_STEERING_DETACH, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_QP_FLOW_STEERING_ATTACH_wrapper.c"
.globl mlx4_QP_FLOW_STEERING_ATTACH_wrapper // -- Begin function mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.p2align 2
.type mlx4_QP_FLOW_STEERING_ATTACH_wrapper,@function
mlx4_QP_FLOW_STEERING_ATTACH_wrapper: // @mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_startproc
// %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #16] // 16-byte Folded Spill
stp x28, x27, [sp, #32] // 16-byte Folded Spill
stp x26, x25, [sp, #48] // 16-byte Folded Spill
stp x24, x23, [sp, #64] // 16-byte Folded Spill
stp x22, x21, [sp, #80] // 16-byte Folded Spill
stp x20, x19, [sp, #96] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
.cfi_remember_state
mov x23, x3
mov x22, x2
mov w19, w1
mov x20, x0
bl mlx4_priv
adrp x8, MLX4_STEERING_MODE_DEVICE_MANAGED
ldr x9, [x20]
ldr x8, [x8, :lo12:MLX4_STEERING_MODE_DEVICE_MANAGED]
cmp x9, x8
b.ne .LBB0_3
// %bb.1:
ldr x25, [x23, #8]
adrp x9, RES_MAC
ldr x8, [x0]
ldr x26, [x8, w19, sxtw #3]
ldr w0, [x25]
ldr x28, [x9, :lo12:RES_MAC]
bl be32_to_cpu
adrp x27, RES_QP
and w21, w0, #0xffffff
add x4, sp, #8
mov x0, x20
mov w1, w19
mov w2, w21
ldr w3, [x27, :lo12:RES_QP]
bl get_res
cbz w0, .LBB0_4
// %bb.2:
mov w24, w0
adrp x0, .L.str
add x0, x0, :lo12:.L.str
mov w1, w21
bl pr_err
b .LBB0_16
.LBB0_3:
adrp x8, EOPNOTSUPP
ldr w8, [x8, :lo12:EOPNOTSUPP]
neg w24, w8
b .LBB0_16
.LBB0_4:
ldr w0, [x25, #4]!
add x24, x26, x28, lsl #2
bl be16_to_cpu
bl map_hw_to_sw_id
mov w26, w0
sub w8, w0, #128
cmp w8, #3
b.hs .LBB0_7
// %bb.5:
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl pr_warn
mov x0, x20
mov w1, w19
mov x2, x23
mov x3, x24
mov w4, w26
bl add_eth_header
cbnz w0, .LBB0_14
// %bb.6:
ldr w8, [x22]
add w8, w8, #1
str w8, [x22]
b .LBB0_10
.LBB0_7:
cmp w26, #131
b.eq .LBB0_10
// %bb.8:
cmp w26, #132
b.ne .LBB0_13
// %bb.9:
mov w0, w19
mov x1, x25
mov x2, x24
bl validate_eth_header_mac
cbnz w0, .LBB0_14
.LBB0_10:
adrp x8, MLX4_QP_FLOW_STEERING_ATTACH
adrp x25, MLX4_CMD_TIME_CLASS_A
ldr w1, [x23]
adrp x23, MLX4_CMD_NATIVE
ldr w3, [x22], #4
ldr w5, [x8, :lo12:MLX4_QP_FLOW_STEERING_ATTACH]
mov x0, x20
ldr w6, [x25, :lo12:MLX4_CMD_TIME_CLASS_A]
mov x2, x22
ldr w7, [x23, :lo12:MLX4_CMD_NATIVE]
mov w4, wzr
bl mlx4_cmd_imm
mov w24, w0
cbnz w0, .LBB0_15
// %bb.11:
adrp x8, RES_FS_RULE
ldr w2, [x22]
mov x0, x20
mov w1, w19
mov w3, #1 // =0x1
mov w5, w21
ldr w4, [x8, :lo12:RES_FS_RULE]
bl add_res_range
mov w24, w0
cbz w0, .LBB0_17
// %bb.12:
adrp x1, .L.str.3
add x1, x1, :lo12:.L.str.3
mov x0, x20
bl mlx4_err
adrp x8, MLX4_QP_FLOW_STEERING_DETACH
ldr w1, [x22]
ldr w5, [x25, :lo12:MLX4_CMD_TIME_CLASS_A]
mov x0, x20
ldr w6, [x23, :lo12:MLX4_CMD_NATIVE]
mov w2, wzr
ldr w4, [x8, :lo12:MLX4_QP_FLOW_STEERING_DETACH]
mov w3, wzr
bl mlx4_cmd
b .LBB0_15
.LBB0_13:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl pr_err
.LBB0_14:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w24, w8
.LBB0_15:
ldr w3, [x27, :lo12:RES_QP]
mov x0, x20
mov w1, w19
mov w2, w21
bl put_res
.LBB0_16:
mov w0, w24
.cfi_def_cfa wsp, 112
ldp x20, x19, [sp, #96] // 16-byte Folded Reload
ldp x22, x21, [sp, #80] // 16-byte Folded Reload
ldp x24, x23, [sp, #64] // 16-byte Folded Reload
ldp x26, x25, [sp, #48] // 16-byte Folded Reload
ldp x28, x27, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #112
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_17:
.cfi_restore_state
ldr x0, [sp, #8]
bl atomic_inc
b .LBB0_15
.Lfunc_end0:
.size mlx4_QP_FLOW_STEERING_ATTACH_wrapper, .Lfunc_end0-mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_endproc
// -- End function
.type RES_MAC,@object // @RES_MAC
.bss
.globl RES_MAC
.p2align 3, 0x0
RES_MAC:
.xword 0 // 0x0
.size RES_MAC, 8
.type MLX4_STEERING_MODE_DEVICE_MANAGED,@object // @MLX4_STEERING_MODE_DEVICE_MANAGED
.globl MLX4_STEERING_MODE_DEVICE_MANAGED
.p2align 3, 0x0
MLX4_STEERING_MODE_DEVICE_MANAGED:
.xword 0 // 0x0
.size MLX4_STEERING_MODE_DEVICE_MANAGED, 8
.type EOPNOTSUPP,@object // @EOPNOTSUPP
.globl EOPNOTSUPP
.p2align 2, 0x0
EOPNOTSUPP:
.word 0 // 0x0
.size EOPNOTSUPP, 4
.type RES_QP,@object // @RES_QP
.globl RES_QP
.p2align 2, 0x0
RES_QP:
.word 0 // 0x0
.size RES_QP, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Steering rule with qpn 0x%x rejected.\n"
.size .L.str, 39
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "Can't attach FS rule without L2 headers, adding L2 header.\n"
.size .L.str.1, 60
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "Corrupted mailbox.\n"
.size .L.str.2, 20
.type MLX4_QP_FLOW_STEERING_ATTACH,@object // @MLX4_QP_FLOW_STEERING_ATTACH
.bss
.globl MLX4_QP_FLOW_STEERING_ATTACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_ATTACH:
.word 0 // 0x0
.size MLX4_QP_FLOW_STEERING_ATTACH, 4
.type MLX4_CMD_TIME_CLASS_A,@object // @MLX4_CMD_TIME_CLASS_A
.globl MLX4_CMD_TIME_CLASS_A
.p2align 2, 0x0
MLX4_CMD_TIME_CLASS_A:
.word 0 // 0x0
.size MLX4_CMD_TIME_CLASS_A, 4
.type MLX4_CMD_NATIVE,@object // @MLX4_CMD_NATIVE
.globl MLX4_CMD_NATIVE
.p2align 2, 0x0
MLX4_CMD_NATIVE:
.word 0 // 0x0
.size MLX4_CMD_NATIVE, 4
.type RES_FS_RULE,@object // @RES_FS_RULE
.globl RES_FS_RULE
.p2align 2, 0x0
RES_FS_RULE:
.word 0 // 0x0
.size RES_FS_RULE, 4
.type .L.str.3,@object // @.str.3
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.3:
.asciz "Fail to add flow steering resources.\n "
.size .L.str.3, 39
.type MLX4_QP_FLOW_STEERING_DETACH,@object // @MLX4_QP_FLOW_STEERING_DETACH
.bss
.globl MLX4_QP_FLOW_STEERING_DETACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_DETACH:
.word 0 // 0x0
.size MLX4_QP_FLOW_STEERING_DETACH, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_QP_FLOW_STEERING_ATTACH_wrapper.c"
.globl mlx4_QP_FLOW_STEERING_ATTACH_wrapper // -- Begin function mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.p2align 2
.type mlx4_QP_FLOW_STEERING_ATTACH_wrapper,@function
mlx4_QP_FLOW_STEERING_ATTACH_wrapper: // @mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_startproc
// %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #16] // 16-byte Folded Spill
stp x28, x27, [sp, #32] // 16-byte Folded Spill
stp x26, x25, [sp, #48] // 16-byte Folded Spill
stp x24, x23, [sp, #64] // 16-byte Folded Spill
stp x22, x21, [sp, #80] // 16-byte Folded Spill
stp x20, x19, [sp, #96] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
.cfi_remember_state
mov x23, x3
mov x22, x2
mov w19, w1
mov x20, x0
bl mlx4_priv
adrp x8, MLX4_STEERING_MODE_DEVICE_MANAGED
ldr x9, [x20]
ldr x8, [x8, :lo12:MLX4_STEERING_MODE_DEVICE_MANAGED]
cmp x9, x8
b.ne .LBB0_3
// %bb.1:
ldr x25, [x23, #8]
adrp x9, RES_MAC
ldr x8, [x0]
ldr x26, [x8, w19, sxtw #3]
ldr w0, [x25]
ldr x28, [x9, :lo12:RES_MAC]
bl be32_to_cpu
adrp x27, RES_QP
and w21, w0, #0xffffff
add x4, sp, #8
mov x0, x20
mov w1, w19
mov w2, w21
ldr w3, [x27, :lo12:RES_QP]
bl get_res
cbz w0, .LBB0_4
// %bb.2:
mov w24, w0
adrp x0, .L.str
add x0, x0, :lo12:.L.str
mov w1, w21
bl pr_err
b .LBB0_16
.LBB0_3:
adrp x8, EOPNOTSUPP
ldr w8, [x8, :lo12:EOPNOTSUPP]
neg w24, w8
b .LBB0_16
.LBB0_4:
ldr w0, [x25, #4]!
add x24, x26, x28, lsl #2
bl be16_to_cpu
bl map_hw_to_sw_id
mov w26, w0
sub w8, w0, #128
cmp w8, #3
b.hs .LBB0_7
// %bb.5:
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl pr_warn
mov x0, x20
mov w1, w19
mov x2, x23
mov x3, x24
mov w4, w26
bl add_eth_header
cbnz w0, .LBB0_14
// %bb.6:
ldr w8, [x22]
add w8, w8, #1
str w8, [x22]
b .LBB0_10
.LBB0_7:
cmp w26, #131
b.eq .LBB0_10
// %bb.8:
cmp w26, #132
b.ne .LBB0_13
// %bb.9:
mov w0, w19
mov x1, x25
mov x2, x24
bl validate_eth_header_mac
cbnz w0, .LBB0_14
.LBB0_10:
adrp x8, MLX4_QP_FLOW_STEERING_ATTACH
adrp x25, MLX4_CMD_TIME_CLASS_A
ldr w1, [x23]
adrp x23, MLX4_CMD_NATIVE
ldr w3, [x22], #4
ldr w5, [x8, :lo12:MLX4_QP_FLOW_STEERING_ATTACH]
mov x0, x20
ldr w6, [x25, :lo12:MLX4_CMD_TIME_CLASS_A]
mov x2, x22
ldr w7, [x23, :lo12:MLX4_CMD_NATIVE]
mov w4, wzr
bl mlx4_cmd_imm
mov w24, w0
cbnz w0, .LBB0_15
// %bb.11:
adrp x8, RES_FS_RULE
ldr w2, [x22]
mov x0, x20
mov w1, w19
mov w3, #1 // =0x1
mov w5, w21
ldr w4, [x8, :lo12:RES_FS_RULE]
bl add_res_range
mov w24, w0
cbz w0, .LBB0_17
// %bb.12:
adrp x1, .L.str.3
add x1, x1, :lo12:.L.str.3
mov x0, x20
bl mlx4_err
adrp x8, MLX4_QP_FLOW_STEERING_DETACH
ldr w1, [x22]
ldr w5, [x25, :lo12:MLX4_CMD_TIME_CLASS_A]
mov x0, x20
ldr w6, [x23, :lo12:MLX4_CMD_NATIVE]
mov w2, wzr
ldr w4, [x8, :lo12:MLX4_QP_FLOW_STEERING_DETACH]
mov w3, wzr
bl mlx4_cmd
b .LBB0_15
.LBB0_13:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl pr_err
.LBB0_14:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w24, w8
.LBB0_15:
ldr w3, [x27, :lo12:RES_QP]
mov x0, x20
mov w1, w19
mov w2, w21
bl put_res
.LBB0_16:
mov w0, w24
.cfi_def_cfa wsp, 112
ldp x20, x19, [sp, #96] // 16-byte Folded Reload
ldp x22, x21, [sp, #80] // 16-byte Folded Reload
ldp x24, x23, [sp, #64] // 16-byte Folded Reload
ldp x26, x25, [sp, #48] // 16-byte Folded Reload
ldp x28, x27, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #112
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_17:
.cfi_restore_state
ldr x0, [sp, #8]
bl atomic_inc
b .LBB0_15
.Lfunc_end0:
.size mlx4_QP_FLOW_STEERING_ATTACH_wrapper, .Lfunc_end0-mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_endproc
// -- End function
.type RES_MAC,@object // @RES_MAC
.bss
.globl RES_MAC
.p2align 3, 0x0
RES_MAC:
.xword 0 // 0x0
.size RES_MAC, 8
.type MLX4_STEERING_MODE_DEVICE_MANAGED,@object // @MLX4_STEERING_MODE_DEVICE_MANAGED
.globl MLX4_STEERING_MODE_DEVICE_MANAGED
.p2align 3, 0x0
MLX4_STEERING_MODE_DEVICE_MANAGED:
.xword 0 // 0x0
.size MLX4_STEERING_MODE_DEVICE_MANAGED, 8
.type EOPNOTSUPP,@object // @EOPNOTSUPP
.globl EOPNOTSUPP
.p2align 2, 0x0
EOPNOTSUPP:
.word 0 // 0x0
.size EOPNOTSUPP, 4
.type RES_QP,@object // @RES_QP
.globl RES_QP
.p2align 2, 0x0
RES_QP:
.word 0 // 0x0
.size RES_QP, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Steering rule with qpn 0x%x rejected.\n"
.size .L.str, 39
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "Can't attach FS rule without L2 headers, adding L2 header.\n"
.size .L.str.1, 60
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "Corrupted mailbox.\n"
.size .L.str.2, 20
.type MLX4_QP_FLOW_STEERING_ATTACH,@object // @MLX4_QP_FLOW_STEERING_ATTACH
.bss
.globl MLX4_QP_FLOW_STEERING_ATTACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_ATTACH:
.word 0 // 0x0
.size MLX4_QP_FLOW_STEERING_ATTACH, 4
.type MLX4_CMD_TIME_CLASS_A,@object // @MLX4_CMD_TIME_CLASS_A
.globl MLX4_CMD_TIME_CLASS_A
.p2align 2, 0x0
MLX4_CMD_TIME_CLASS_A:
.word 0 // 0x0
.size MLX4_CMD_TIME_CLASS_A, 4
.type MLX4_CMD_NATIVE,@object // @MLX4_CMD_NATIVE
.globl MLX4_CMD_NATIVE
.p2align 2, 0x0
MLX4_CMD_NATIVE:
.word 0 // 0x0
.size MLX4_CMD_NATIVE, 4
.type RES_FS_RULE,@object // @RES_FS_RULE
.globl RES_FS_RULE
.p2align 2, 0x0
RES_FS_RULE:
.word 0 // 0x0
.size RES_FS_RULE, 4
.type .L.str.3,@object // @.str.3
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.3:
.asciz "Fail to add flow steering resources.\n "
.size .L.str.3, 39
.type MLX4_QP_FLOW_STEERING_DETACH,@object // @MLX4_QP_FLOW_STEERING_DETACH
.bss
.globl MLX4_QP_FLOW_STEERING_DETACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_DETACH:
.word 0 // 0x0
.size MLX4_QP_FLOW_STEERING_DETACH, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_QP_FLOW_STEERING_ATTACH_wrapper.c"
.globl mlx4_QP_FLOW_STEERING_ATTACH_wrapper # -- Begin function mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.p2align 4, 0x90
.type mlx4_QP_FLOW_STEERING_ATTACH_wrapper,@function
mlx4_QP_FLOW_STEERING_ATTACH_wrapper: # @mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq %r9, -56(%rbp)
movq -16(%rbp), %rdi
callq mlx4_priv@PLT
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
movq (%rax), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq RES_MAC(%rip), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -80(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
cmpq MLX4_STEERING_MODE_DEVICE_MANAGED(%rip), %rax
je .LBB0_2
# %bb.1:
xorl %eax, %eax
subl EOPNOTSUPP(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_19
.LBB0_2:
movq -40(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -104(%rbp)
movq -104(%rbp), %rax
movl (%rax), %edi
callq be32_to_cpu@PLT
andl $16777215, %eax # imm = 0xFFFFFF
movl %eax, -88(%rbp)
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl -88(%rbp), %edx
movl RES_QP(%rip), %ecx
leaq -96(%rbp), %r8
callq get_res@PLT
movl %eax, -84(%rbp)
cmpl $0, -84(%rbp)
je .LBB0_4
# %bb.3:
movl -88(%rbp), %esi
leaq .L.str(%rip), %rdi
movb $0, %al
callq pr_err@PLT
movl -84(%rbp), %eax
movl %eax, -4(%rbp)
jmp .LBB0_19
.LBB0_4:
movq -104(%rbp), %rax
addq $4, %rax
movq %rax, -112(%rbp)
movq -112(%rbp), %rax
movl (%rax), %edi
callq be16_to_cpu@PLT
movl %eax, %edi
callq map_hw_to_sw_id@PLT
movl %eax, -116(%rbp)
movl -116(%rbp), %eax
movl %eax, -120(%rbp) # 4-byte Spill
addl $-128, %eax
subl $3, %eax
jb .LBB0_9
jmp .LBB0_20
.LBB0_20:
movl -120(%rbp), %eax # 4-byte Reload
subl $131, %eax
je .LBB0_8
jmp .LBB0_21
.LBB0_21:
movl -120(%rbp), %eax # 4-byte Reload
subl $132, %eax
jne .LBB0_12
jmp .LBB0_5
.LBB0_5:
movl -20(%rbp), %edi
movq -112(%rbp), %rsi
movq -80(%rbp), %rdx
callq validate_eth_header_mac@PLT
cmpl $0, %eax
je .LBB0_7
# %bb.6:
xorl %eax, %eax
subl EINVAL(%rip), %eax
movl %eax, -84(%rbp)
jmp .LBB0_18
.LBB0_7:
jmp .LBB0_13
.LBB0_8:
jmp .LBB0_13
.LBB0_9:
leaq .L.str.1(%rip), %rdi
callq pr_warn@PLT
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movq -40(%rbp), %rdx
movq -80(%rbp), %rcx
movl -116(%rbp), %r8d
callq add_eth_header@PLT
cmpl $0, %eax
je .LBB0_11
# %bb.10:
xorl %eax, %eax
subl EINVAL(%rip), %eax
movl %eax, -84(%rbp)
jmp .LBB0_18
.LBB0_11:
movq -32(%rbp), %rax
movslq (%rax), %rcx
addq $1, %rcx
# kill: def $ecx killed $ecx killed $rcx
movl %ecx, (%rax)
jmp .LBB0_13
.LBB0_12:
leaq .L.str.2(%rip), %rdi
movb $0, %al
callq pr_err@PLT
xorl %eax, %eax
subl EINVAL(%rip), %eax
movl %eax, -84(%rbp)
jmp .LBB0_18
.LBB0_13:
movq -16(%rbp), %rdi
movq -40(%rbp), %rax
movl (%rax), %esi
movq -32(%rbp), %rdx
addq $4, %rdx
movq -32(%rbp), %rax
movl (%rax), %ecx
movl MLX4_QP_FLOW_STEERING_ATTACH(%rip), %r9d
movl MLX4_CMD_TIME_CLASS_A(%rip), %r10d
movl MLX4_CMD_NATIVE(%rip), %eax
xorl %r8d, %r8d
movl %r10d, (%rsp)
movl %eax, 8(%rsp)
callq mlx4_cmd_imm@PLT
movl %eax, -84(%rbp)
cmpl $0, -84(%rbp)
je .LBB0_15
# %bb.14:
jmp .LBB0_18
.LBB0_15:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movq -32(%rbp), %rax
movl 4(%rax), %edx
movl RES_FS_RULE(%rip), %r8d
movl -88(%rbp), %r9d
movl $1, %ecx
callq add_res_range@PLT
movl %eax, -84(%rbp)
cmpl $0, -84(%rbp)
je .LBB0_17
# %bb.16:
movq -16(%rbp), %rdi
leaq .L.str.3(%rip), %rsi
callq mlx4_err@PLT
movq -16(%rbp), %rdi
movq -32(%rbp), %rax
movl 4(%rax), %esi
movl MLX4_QP_FLOW_STEERING_DETACH(%rip), %r8d
movl MLX4_CMD_TIME_CLASS_A(%rip), %r9d
movl MLX4_CMD_NATIVE(%rip), %eax
xorl %ecx, %ecx
movl %ecx, %edx
movl %eax, (%rsp)
callq mlx4_cmd@PLT
jmp .LBB0_18
.LBB0_17:
movq -96(%rbp), %rdi
callq atomic_inc@PLT
.LBB0_18:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl -88(%rbp), %edx
movl RES_QP(%rip), %ecx
callq put_res@PLT
movl -84(%rbp), %eax
movl %eax, -4(%rbp)
.LBB0_19:
movl -4(%rbp), %eax
addq $144, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size mlx4_QP_FLOW_STEERING_ATTACH_wrapper, .Lfunc_end0-mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_endproc
# -- End function
.type RES_MAC,@object # @RES_MAC
.bss
.globl RES_MAC
.p2align 3, 0x0
RES_MAC:
.quad 0 # 0x0
.size RES_MAC, 8
.type MLX4_STEERING_MODE_DEVICE_MANAGED,@object # @MLX4_STEERING_MODE_DEVICE_MANAGED
.globl MLX4_STEERING_MODE_DEVICE_MANAGED
.p2align 3, 0x0
MLX4_STEERING_MODE_DEVICE_MANAGED:
.quad 0 # 0x0
.size MLX4_STEERING_MODE_DEVICE_MANAGED, 8
.type EOPNOTSUPP,@object # @EOPNOTSUPP
.globl EOPNOTSUPP
.p2align 2, 0x0
EOPNOTSUPP:
.long 0 # 0x0
.size EOPNOTSUPP, 4
.type RES_QP,@object # @RES_QP
.globl RES_QP
.p2align 2, 0x0
RES_QP:
.long 0 # 0x0
.size RES_QP, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Steering rule with qpn 0x%x rejected.\n"
.size .L.str, 39
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "Can't attach FS rule without L2 headers, adding L2 header.\n"
.size .L.str.1, 60
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "Corrupted mailbox.\n"
.size .L.str.2, 20
.type MLX4_QP_FLOW_STEERING_ATTACH,@object # @MLX4_QP_FLOW_STEERING_ATTACH
.bss
.globl MLX4_QP_FLOW_STEERING_ATTACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_ATTACH:
.long 0 # 0x0
.size MLX4_QP_FLOW_STEERING_ATTACH, 4
.type MLX4_CMD_TIME_CLASS_A,@object # @MLX4_CMD_TIME_CLASS_A
.globl MLX4_CMD_TIME_CLASS_A
.p2align 2, 0x0
MLX4_CMD_TIME_CLASS_A:
.long 0 # 0x0
.size MLX4_CMD_TIME_CLASS_A, 4
.type MLX4_CMD_NATIVE,@object # @MLX4_CMD_NATIVE
.globl MLX4_CMD_NATIVE
.p2align 2, 0x0
MLX4_CMD_NATIVE:
.long 0 # 0x0
.size MLX4_CMD_NATIVE, 4
.type RES_FS_RULE,@object # @RES_FS_RULE
.globl RES_FS_RULE
.p2align 2, 0x0
RES_FS_RULE:
.long 0 # 0x0
.size RES_FS_RULE, 4
.type .L.str.3,@object # @.str.3
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.3:
.asciz "Fail to add flow steering resources.\n "
.size .L.str.3, 39
.type MLX4_QP_FLOW_STEERING_DETACH,@object # @MLX4_QP_FLOW_STEERING_DETACH
.bss
.globl MLX4_QP_FLOW_STEERING_DETACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_DETACH:
.long 0 # 0x0
.size MLX4_QP_FLOW_STEERING_DETACH, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_priv
.addrsig_sym be32_to_cpu
.addrsig_sym get_res
.addrsig_sym pr_err
.addrsig_sym map_hw_to_sw_id
.addrsig_sym be16_to_cpu
.addrsig_sym validate_eth_header_mac
.addrsig_sym pr_warn
.addrsig_sym add_eth_header
.addrsig_sym mlx4_cmd_imm
.addrsig_sym add_res_range
.addrsig_sym mlx4_err
.addrsig_sym mlx4_cmd
.addrsig_sym atomic_inc
.addrsig_sym put_res
.addrsig_sym RES_MAC
.addrsig_sym MLX4_STEERING_MODE_DEVICE_MANAGED
.addrsig_sym EOPNOTSUPP
.addrsig_sym RES_QP
.addrsig_sym EINVAL
.addrsig_sym MLX4_QP_FLOW_STEERING_ATTACH
.addrsig_sym MLX4_CMD_TIME_CLASS_A
.addrsig_sym MLX4_CMD_NATIVE
.addrsig_sym RES_FS_RULE
.addrsig_sym MLX4_QP_FLOW_STEERING_DETACH
| .text
.file "extr_resource_tracker.c_mlx4_QP_FLOW_STEERING_ATTACH_wrapper.c"
.globl mlx4_QP_FLOW_STEERING_ATTACH_wrapper # -- Begin function mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.p2align 4, 0x90
.type mlx4_QP_FLOW_STEERING_ATTACH_wrapper,@function
mlx4_QP_FLOW_STEERING_ATTACH_wrapper: # @mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $40, %rsp
.cfi_def_cfa_offset 96
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rcx, %rbp
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
callq mlx4_priv@PLT
movq (%r14), %rcx
cmpq MLX4_STEERING_MODE_DEVICE_MANAGED(%rip), %rcx
jne .LBB0_1
# %bb.2:
movq %r15, 24(%rsp) # 8-byte Spill
movq (%rax), %rax
movslq %ebx, %r13
movq RES_MAC(%rip), %r15
shlq $2, %r15
addq (%rax,%r13,8), %r15
movl %ebx, 12(%rsp) # 4-byte Spill
movq 8(%rbp), %rbx
movl (%rbx), %edi
callq be32_to_cpu@PLT
movl %eax, %r12d
andl $16777215, %r12d # imm = 0xFFFFFF
movl RES_QP(%rip), %ecx
leaq 32(%rsp), %r8
movq %r14, %rdi
movl %r13d, %esi
movl %r12d, %edx
callq get_res@PLT
testl %eax, %eax
je .LBB0_4
# %bb.3:
movl %eax, %r13d
leaq .L.str(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq pr_err@PLT
jmp .LBB0_19
.LBB0_1:
xorl %r13d, %r13d
subl EOPNOTSUPP(%rip), %r13d
jmp .LBB0_19
.LBB0_4:
movq %rbp, 16(%rsp) # 8-byte Spill
movl 4(%rbx), %edi
callq be16_to_cpu@PLT
movl %eax, %edi
callq map_hw_to_sw_id@PLT
movl %eax, %r13d
leal -128(%r13), %eax
cmpl $3, %eax
jae .LBB0_5
# %bb.10:
leaq .L.str.1(%rip), %rdi
callq pr_warn@PLT
movq %r14, %rdi
movl 12(%rsp), %ebx # 4-byte Reload
movl %ebx, %esi
movq 16(%rsp), %rdx # 8-byte Reload
movq %r15, %rcx
movl %r13d, %r8d
callq add_eth_header@PLT
testl %eax, %eax
je .LBB0_13
# %bb.11:
xorl %r13d, %r13d
subl EINVAL(%rip), %r13d
jmp .LBB0_18
.LBB0_5:
cmpl $131, %r13d
je .LBB0_14
# %bb.6:
cmpl $132, %r13d
jne .LBB0_12
# %bb.7:
addq $4, %rbx
movl 12(%rsp), %edi # 4-byte Reload
movq %rbx, %rsi
movq %r15, %rdx
callq validate_eth_header_mac@PLT
testl %eax, %eax
je .LBB0_14
# %bb.8:
xorl %r13d, %r13d
jmp .LBB0_9
.LBB0_13:
movq 24(%rsp), %rax # 8-byte Reload
incl (%rax)
.LBB0_14:
movq 16(%rsp), %rax # 8-byte Reload
movl (%rax), %esi
movq 24(%rsp), %r15 # 8-byte Reload
movl (%r15), %ecx
addq $4, %r15
movl MLX4_QP_FLOW_STEERING_ATTACH(%rip), %r9d
movl MLX4_CMD_TIME_CLASS_A(%rip), %eax
movl MLX4_CMD_NATIVE(%rip), %r10d
movq %r14, %rdi
movq %r15, %rdx
xorl %r8d, %r8d
pushq %r10
.cfi_adjust_cfa_offset 8
pushq %rax
.cfi_adjust_cfa_offset 8
callq mlx4_cmd_imm@PLT
addq $16, %rsp
.cfi_adjust_cfa_offset -16
movl %eax, %r13d
testl %eax, %eax
movl 12(%rsp), %ebx # 4-byte Reload
jne .LBB0_18
# %bb.15:
movl (%r15), %edx
movl RES_FS_RULE(%rip), %r8d
movq %r14, %rdi
movl %ebx, %esi
movl $1, %ecx
movl %r12d, %r9d
callq add_res_range@PLT
testl %eax, %eax
je .LBB0_17
# %bb.16:
movl %eax, %r13d
leaq .L.str.3(%rip), %rsi
movq %r14, %rdi
callq mlx4_err@PLT
movl (%r15), %esi
movl MLX4_QP_FLOW_STEERING_DETACH(%rip), %r8d
movl MLX4_CMD_TIME_CLASS_A(%rip), %r9d
movl MLX4_CMD_NATIVE(%rip), %eax
subq $8, %rsp
.cfi_adjust_cfa_offset 8
movq %r14, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %rax
.cfi_adjust_cfa_offset 8
callq mlx4_cmd@PLT
addq $16, %rsp
.cfi_adjust_cfa_offset -16
jmp .LBB0_18
.LBB0_12:
leaq .L.str.2(%rip), %rdi
xorl %r13d, %r13d
xorl %eax, %eax
callq pr_err@PLT
.LBB0_9:
subl EINVAL(%rip), %r13d
movl 12(%rsp), %ebx # 4-byte Reload
.LBB0_18:
movl RES_QP(%rip), %ecx
movq %r14, %rdi
movl %ebx, %esi
movl %r12d, %edx
callq put_res@PLT
.LBB0_19:
movl %r13d, %eax
addq $40, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.LBB0_17:
.cfi_def_cfa_offset 96
movq 32(%rsp), %rdi
callq atomic_inc@PLT
xorl %r13d, %r13d
jmp .LBB0_18
.Lfunc_end0:
.size mlx4_QP_FLOW_STEERING_ATTACH_wrapper, .Lfunc_end0-mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_endproc
# -- End function
.type RES_MAC,@object # @RES_MAC
.bss
.globl RES_MAC
.p2align 3, 0x0
RES_MAC:
.quad 0 # 0x0
.size RES_MAC, 8
.type MLX4_STEERING_MODE_DEVICE_MANAGED,@object # @MLX4_STEERING_MODE_DEVICE_MANAGED
.globl MLX4_STEERING_MODE_DEVICE_MANAGED
.p2align 3, 0x0
MLX4_STEERING_MODE_DEVICE_MANAGED:
.quad 0 # 0x0
.size MLX4_STEERING_MODE_DEVICE_MANAGED, 8
.type EOPNOTSUPP,@object # @EOPNOTSUPP
.globl EOPNOTSUPP
.p2align 2, 0x0
EOPNOTSUPP:
.long 0 # 0x0
.size EOPNOTSUPP, 4
.type RES_QP,@object # @RES_QP
.globl RES_QP
.p2align 2, 0x0
RES_QP:
.long 0 # 0x0
.size RES_QP, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Steering rule with qpn 0x%x rejected.\n"
.size .L.str, 39
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "Can't attach FS rule without L2 headers, adding L2 header.\n"
.size .L.str.1, 60
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "Corrupted mailbox.\n"
.size .L.str.2, 20
.type MLX4_QP_FLOW_STEERING_ATTACH,@object # @MLX4_QP_FLOW_STEERING_ATTACH
.bss
.globl MLX4_QP_FLOW_STEERING_ATTACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_ATTACH:
.long 0 # 0x0
.size MLX4_QP_FLOW_STEERING_ATTACH, 4
.type MLX4_CMD_TIME_CLASS_A,@object # @MLX4_CMD_TIME_CLASS_A
.globl MLX4_CMD_TIME_CLASS_A
.p2align 2, 0x0
MLX4_CMD_TIME_CLASS_A:
.long 0 # 0x0
.size MLX4_CMD_TIME_CLASS_A, 4
.type MLX4_CMD_NATIVE,@object # @MLX4_CMD_NATIVE
.globl MLX4_CMD_NATIVE
.p2align 2, 0x0
MLX4_CMD_NATIVE:
.long 0 # 0x0
.size MLX4_CMD_NATIVE, 4
.type RES_FS_RULE,@object # @RES_FS_RULE
.globl RES_FS_RULE
.p2align 2, 0x0
RES_FS_RULE:
.long 0 # 0x0
.size RES_FS_RULE, 4
.type .L.str.3,@object # @.str.3
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.3:
.asciz "Fail to add flow steering resources.\n "
.size .L.str.3, 39
.type MLX4_QP_FLOW_STEERING_DETACH,@object # @MLX4_QP_FLOW_STEERING_DETACH
.bss
.globl MLX4_QP_FLOW_STEERING_DETACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_DETACH:
.long 0 # 0x0
.size MLX4_QP_FLOW_STEERING_DETACH, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_QP_FLOW_STEERING_ATTACH_wrapper.c"
.globl mlx4_QP_FLOW_STEERING_ATTACH_wrapper # -- Begin function mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.p2align 4, 0x90
.type mlx4_QP_FLOW_STEERING_ATTACH_wrapper,@function
mlx4_QP_FLOW_STEERING_ATTACH_wrapper: # @mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $40, %rsp
.cfi_def_cfa_offset 96
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rcx, %rbp
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
callq mlx4_priv@PLT
movq (%r14), %rcx
cmpq MLX4_STEERING_MODE_DEVICE_MANAGED(%rip), %rcx
jne .LBB0_1
# %bb.2:
movq %r15, 24(%rsp) # 8-byte Spill
movq (%rax), %rax
movslq %ebx, %r13
movq RES_MAC(%rip), %r15
shlq $2, %r15
addq (%rax,%r13,8), %r15
movl %ebx, 12(%rsp) # 4-byte Spill
movq 8(%rbp), %rbx
movl (%rbx), %edi
callq be32_to_cpu@PLT
movl %eax, %r12d
andl $16777215, %r12d # imm = 0xFFFFFF
movl RES_QP(%rip), %ecx
leaq 32(%rsp), %r8
movq %r14, %rdi
movl %r13d, %esi
movl %r12d, %edx
callq get_res@PLT
testl %eax, %eax
je .LBB0_4
# %bb.3:
movl %eax, %r13d
leaq .L.str(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq pr_err@PLT
jmp .LBB0_19
.LBB0_1:
xorl %r13d, %r13d
subl EOPNOTSUPP(%rip), %r13d
jmp .LBB0_19
.LBB0_4:
movq %rbp, 16(%rsp) # 8-byte Spill
movl 4(%rbx), %edi
callq be16_to_cpu@PLT
movl %eax, %edi
callq map_hw_to_sw_id@PLT
movl %eax, %r13d
leal -128(%r13), %eax
cmpl $3, %eax
jae .LBB0_5
# %bb.10:
leaq .L.str.1(%rip), %rdi
callq pr_warn@PLT
movq %r14, %rdi
movl 12(%rsp), %ebx # 4-byte Reload
movl %ebx, %esi
movq 16(%rsp), %rdx # 8-byte Reload
movq %r15, %rcx
movl %r13d, %r8d
callq add_eth_header@PLT
testl %eax, %eax
je .LBB0_13
# %bb.11:
xorl %r13d, %r13d
subl EINVAL(%rip), %r13d
jmp .LBB0_18
.LBB0_5:
cmpl $131, %r13d
je .LBB0_14
# %bb.6:
cmpl $132, %r13d
jne .LBB0_12
# %bb.7:
addq $4, %rbx
movl 12(%rsp), %edi # 4-byte Reload
movq %rbx, %rsi
movq %r15, %rdx
callq validate_eth_header_mac@PLT
testl %eax, %eax
je .LBB0_14
# %bb.8:
xorl %r13d, %r13d
jmp .LBB0_9
.LBB0_13:
movq 24(%rsp), %rax # 8-byte Reload
incl (%rax)
.LBB0_14:
movq 16(%rsp), %rax # 8-byte Reload
movl (%rax), %esi
movq 24(%rsp), %r15 # 8-byte Reload
movl (%r15), %ecx
addq $4, %r15
movl MLX4_QP_FLOW_STEERING_ATTACH(%rip), %r9d
movl MLX4_CMD_TIME_CLASS_A(%rip), %eax
movl MLX4_CMD_NATIVE(%rip), %r10d
movq %r14, %rdi
movq %r15, %rdx
xorl %r8d, %r8d
pushq %r10
.cfi_adjust_cfa_offset 8
pushq %rax
.cfi_adjust_cfa_offset 8
callq mlx4_cmd_imm@PLT
addq $16, %rsp
.cfi_adjust_cfa_offset -16
movl %eax, %r13d
testl %eax, %eax
movl 12(%rsp), %ebx # 4-byte Reload
jne .LBB0_18
# %bb.15:
movl (%r15), %edx
movl RES_FS_RULE(%rip), %r8d
movq %r14, %rdi
movl %ebx, %esi
movl $1, %ecx
movl %r12d, %r9d
callq add_res_range@PLT
testl %eax, %eax
je .LBB0_17
# %bb.16:
movl %eax, %r13d
leaq .L.str.3(%rip), %rsi
movq %r14, %rdi
callq mlx4_err@PLT
movl (%r15), %esi
movl MLX4_QP_FLOW_STEERING_DETACH(%rip), %r8d
movl MLX4_CMD_TIME_CLASS_A(%rip), %r9d
movl MLX4_CMD_NATIVE(%rip), %eax
subq $8, %rsp
.cfi_adjust_cfa_offset 8
movq %r14, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %rax
.cfi_adjust_cfa_offset 8
callq mlx4_cmd@PLT
addq $16, %rsp
.cfi_adjust_cfa_offset -16
jmp .LBB0_18
.LBB0_12:
leaq .L.str.2(%rip), %rdi
xorl %r13d, %r13d
xorl %eax, %eax
callq pr_err@PLT
.LBB0_9:
subl EINVAL(%rip), %r13d
movl 12(%rsp), %ebx # 4-byte Reload
.LBB0_18:
movl RES_QP(%rip), %ecx
movq %r14, %rdi
movl %ebx, %esi
movl %r12d, %edx
callq put_res@PLT
.LBB0_19:
movl %r13d, %eax
addq $40, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.LBB0_17:
.cfi_def_cfa_offset 96
movq 32(%rsp), %rdi
callq atomic_inc@PLT
xorl %r13d, %r13d
jmp .LBB0_18
.Lfunc_end0:
.size mlx4_QP_FLOW_STEERING_ATTACH_wrapper, .Lfunc_end0-mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_endproc
# -- End function
.type RES_MAC,@object # @RES_MAC
.bss
.globl RES_MAC
.p2align 3, 0x0
RES_MAC:
.quad 0 # 0x0
.size RES_MAC, 8
.type MLX4_STEERING_MODE_DEVICE_MANAGED,@object # @MLX4_STEERING_MODE_DEVICE_MANAGED
.globl MLX4_STEERING_MODE_DEVICE_MANAGED
.p2align 3, 0x0
MLX4_STEERING_MODE_DEVICE_MANAGED:
.quad 0 # 0x0
.size MLX4_STEERING_MODE_DEVICE_MANAGED, 8
.type EOPNOTSUPP,@object # @EOPNOTSUPP
.globl EOPNOTSUPP
.p2align 2, 0x0
EOPNOTSUPP:
.long 0 # 0x0
.size EOPNOTSUPP, 4
.type RES_QP,@object # @RES_QP
.globl RES_QP
.p2align 2, 0x0
RES_QP:
.long 0 # 0x0
.size RES_QP, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Steering rule with qpn 0x%x rejected.\n"
.size .L.str, 39
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "Can't attach FS rule without L2 headers, adding L2 header.\n"
.size .L.str.1, 60
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "Corrupted mailbox.\n"
.size .L.str.2, 20
.type MLX4_QP_FLOW_STEERING_ATTACH,@object # @MLX4_QP_FLOW_STEERING_ATTACH
.bss
.globl MLX4_QP_FLOW_STEERING_ATTACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_ATTACH:
.long 0 # 0x0
.size MLX4_QP_FLOW_STEERING_ATTACH, 4
.type MLX4_CMD_TIME_CLASS_A,@object # @MLX4_CMD_TIME_CLASS_A
.globl MLX4_CMD_TIME_CLASS_A
.p2align 2, 0x0
MLX4_CMD_TIME_CLASS_A:
.long 0 # 0x0
.size MLX4_CMD_TIME_CLASS_A, 4
.type MLX4_CMD_NATIVE,@object # @MLX4_CMD_NATIVE
.globl MLX4_CMD_NATIVE
.p2align 2, 0x0
MLX4_CMD_NATIVE:
.long 0 # 0x0
.size MLX4_CMD_NATIVE, 4
.type RES_FS_RULE,@object # @RES_FS_RULE
.globl RES_FS_RULE
.p2align 2, 0x0
RES_FS_RULE:
.long 0 # 0x0
.size RES_FS_RULE, 4
.type .L.str.3,@object # @.str.3
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.3:
.asciz "Fail to add flow steering resources.\n "
.size .L.str.3, 39
.type MLX4_QP_FLOW_STEERING_DETACH,@object # @MLX4_QP_FLOW_STEERING_DETACH
.bss
.globl MLX4_QP_FLOW_STEERING_DETACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_DETACH:
.long 0 # 0x0
.size MLX4_QP_FLOW_STEERING_DETACH, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_QP_FLOW_STEERING_ATTACH_wrapper.c"
.globl mlx4_QP_FLOW_STEERING_ATTACH_wrapper # -- Begin function mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.p2align 4, 0x90
.type mlx4_QP_FLOW_STEERING_ATTACH_wrapper,@function
mlx4_QP_FLOW_STEERING_ATTACH_wrapper: # @mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $40, %rsp
.cfi_def_cfa_offset 96
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rcx, %rbp
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
callq mlx4_priv@PLT
movq (%r14), %rcx
cmpq MLX4_STEERING_MODE_DEVICE_MANAGED(%rip), %rcx
jne .LBB0_1
# %bb.2:
movq %r15, 24(%rsp) # 8-byte Spill
movq (%rax), %rax
movslq %ebx, %r13
movq RES_MAC(%rip), %r15
shlq $2, %r15
addq (%rax,%r13,8), %r15
movl %ebx, 12(%rsp) # 4-byte Spill
movq 8(%rbp), %rbx
movl (%rbx), %edi
callq be32_to_cpu@PLT
movl %eax, %r12d
andl $16777215, %r12d # imm = 0xFFFFFF
movl RES_QP(%rip), %ecx
leaq 32(%rsp), %r8
movq %r14, %rdi
movl %r13d, %esi
movl %r12d, %edx
callq get_res@PLT
testl %eax, %eax
je .LBB0_4
# %bb.3:
movl %eax, %r13d
leaq .L.str(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq pr_err@PLT
jmp .LBB0_19
.LBB0_1:
xorl %r13d, %r13d
subl EOPNOTSUPP(%rip), %r13d
jmp .LBB0_19
.LBB0_4:
movq %rbp, 16(%rsp) # 8-byte Spill
movl 4(%rbx), %edi
callq be16_to_cpu@PLT
movl %eax, %edi
callq map_hw_to_sw_id@PLT
movl %eax, %r13d
leal -128(%r13), %eax
cmpl $3, %eax
jae .LBB0_5
# %bb.10:
leaq .L.str.1(%rip), %rdi
callq pr_warn@PLT
movq %r14, %rdi
movl 12(%rsp), %ebx # 4-byte Reload
movl %ebx, %esi
movq 16(%rsp), %rdx # 8-byte Reload
movq %r15, %rcx
movl %r13d, %r8d
callq add_eth_header@PLT
testl %eax, %eax
je .LBB0_13
# %bb.11:
xorl %r13d, %r13d
subl EINVAL(%rip), %r13d
jmp .LBB0_18
.LBB0_5:
cmpl $131, %r13d
je .LBB0_14
# %bb.6:
cmpl $132, %r13d
jne .LBB0_12
# %bb.7:
addq $4, %rbx
movl 12(%rsp), %edi # 4-byte Reload
movq %rbx, %rsi
movq %r15, %rdx
callq validate_eth_header_mac@PLT
testl %eax, %eax
je .LBB0_14
# %bb.8:
xorl %r13d, %r13d
jmp .LBB0_9
.LBB0_13:
movq 24(%rsp), %rax # 8-byte Reload
incl (%rax)
.LBB0_14:
movq 16(%rsp), %rax # 8-byte Reload
movl (%rax), %esi
movq 24(%rsp), %r15 # 8-byte Reload
movl (%r15), %ecx
addq $4, %r15
movl MLX4_QP_FLOW_STEERING_ATTACH(%rip), %r9d
movl MLX4_CMD_TIME_CLASS_A(%rip), %eax
movl MLX4_CMD_NATIVE(%rip), %r10d
movq %r14, %rdi
movq %r15, %rdx
xorl %r8d, %r8d
pushq %r10
.cfi_adjust_cfa_offset 8
pushq %rax
.cfi_adjust_cfa_offset 8
callq mlx4_cmd_imm@PLT
addq $16, %rsp
.cfi_adjust_cfa_offset -16
movl %eax, %r13d
testl %eax, %eax
movl 12(%rsp), %ebx # 4-byte Reload
jne .LBB0_18
# %bb.15:
movl (%r15), %edx
movl RES_FS_RULE(%rip), %r8d
movq %r14, %rdi
movl %ebx, %esi
movl $1, %ecx
movl %r12d, %r9d
callq add_res_range@PLT
testl %eax, %eax
je .LBB0_17
# %bb.16:
movl %eax, %r13d
leaq .L.str.3(%rip), %rsi
movq %r14, %rdi
callq mlx4_err@PLT
movl (%r15), %esi
movl MLX4_QP_FLOW_STEERING_DETACH(%rip), %r8d
movl MLX4_CMD_TIME_CLASS_A(%rip), %r9d
movl MLX4_CMD_NATIVE(%rip), %eax
subq $8, %rsp
.cfi_adjust_cfa_offset 8
movq %r14, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %rax
.cfi_adjust_cfa_offset 8
callq mlx4_cmd@PLT
addq $16, %rsp
.cfi_adjust_cfa_offset -16
jmp .LBB0_18
.LBB0_12:
leaq .L.str.2(%rip), %rdi
xorl %r13d, %r13d
xorl %eax, %eax
callq pr_err@PLT
.LBB0_9:
subl EINVAL(%rip), %r13d
movl 12(%rsp), %ebx # 4-byte Reload
.LBB0_18:
movl RES_QP(%rip), %ecx
movq %r14, %rdi
movl %ebx, %esi
movl %r12d, %edx
callq put_res@PLT
.LBB0_19:
movl %r13d, %eax
addq $40, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.LBB0_17:
.cfi_def_cfa_offset 96
movq 32(%rsp), %rdi
callq atomic_inc@PLT
xorl %r13d, %r13d
jmp .LBB0_18
.Lfunc_end0:
.size mlx4_QP_FLOW_STEERING_ATTACH_wrapper, .Lfunc_end0-mlx4_QP_FLOW_STEERING_ATTACH_wrapper
.cfi_endproc
# -- End function
.type RES_MAC,@object # @RES_MAC
.bss
.globl RES_MAC
.p2align 3, 0x0
RES_MAC:
.quad 0 # 0x0
.size RES_MAC, 8
.type MLX4_STEERING_MODE_DEVICE_MANAGED,@object # @MLX4_STEERING_MODE_DEVICE_MANAGED
.globl MLX4_STEERING_MODE_DEVICE_MANAGED
.p2align 3, 0x0
MLX4_STEERING_MODE_DEVICE_MANAGED:
.quad 0 # 0x0
.size MLX4_STEERING_MODE_DEVICE_MANAGED, 8
.type EOPNOTSUPP,@object # @EOPNOTSUPP
.globl EOPNOTSUPP
.p2align 2, 0x0
EOPNOTSUPP:
.long 0 # 0x0
.size EOPNOTSUPP, 4
.type RES_QP,@object # @RES_QP
.globl RES_QP
.p2align 2, 0x0
RES_QP:
.long 0 # 0x0
.size RES_QP, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Steering rule with qpn 0x%x rejected.\n"
.size .L.str, 39
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "Can't attach FS rule without L2 headers, adding L2 header.\n"
.size .L.str.1, 60
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "Corrupted mailbox.\n"
.size .L.str.2, 20
.type MLX4_QP_FLOW_STEERING_ATTACH,@object # @MLX4_QP_FLOW_STEERING_ATTACH
.bss
.globl MLX4_QP_FLOW_STEERING_ATTACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_ATTACH:
.long 0 # 0x0
.size MLX4_QP_FLOW_STEERING_ATTACH, 4
.type MLX4_CMD_TIME_CLASS_A,@object # @MLX4_CMD_TIME_CLASS_A
.globl MLX4_CMD_TIME_CLASS_A
.p2align 2, 0x0
MLX4_CMD_TIME_CLASS_A:
.long 0 # 0x0
.size MLX4_CMD_TIME_CLASS_A, 4
.type MLX4_CMD_NATIVE,@object # @MLX4_CMD_NATIVE
.globl MLX4_CMD_NATIVE
.p2align 2, 0x0
MLX4_CMD_NATIVE:
.long 0 # 0x0
.size MLX4_CMD_NATIVE, 4
.type RES_FS_RULE,@object # @RES_FS_RULE
.globl RES_FS_RULE
.p2align 2, 0x0
RES_FS_RULE:
.long 0 # 0x0
.size RES_FS_RULE, 4
.type .L.str.3,@object # @.str.3
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.3:
.asciz "Fail to add flow steering resources.\n "
.size .L.str.3, 39
.type MLX4_QP_FLOW_STEERING_DETACH,@object # @MLX4_QP_FLOW_STEERING_DETACH
.bss
.globl MLX4_QP_FLOW_STEERING_DETACH
.p2align 2, 0x0
MLX4_QP_FLOW_STEERING_DETACH:
.long 0 # 0x0
.size MLX4_QP_FLOW_STEERING_DETACH, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_ltpc.c_handlefd.c | .text
.file "extr_ltpc.c_handlefd.c"
.p2align 2 // -- Begin function handlefd
.type handlefd,@function
handlefd: // @handlefd
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr w8, [x8]
stur w8, [x29, #-12]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
str w8, [sp, #16]
bl claim_dma_lock
str x0, [sp, #8]
ldur w0, [x29, #-12]
bl disable_dma
ldur w0, [x29, #-12]
bl clear_dma_ff
ldur w0, [x29, #-12]
adrp x8, DMA_MODE_READ
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
ldur w8, [x29, #-12]
str w8, [sp, #4] // 4-byte Folded Spill
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
ldr w0, [sp, #4] // 4-byte Folded Reload
bl set_dma_addr
ldur w0, [x29, #-12]
mov w1, #800 // =0x320
bl set_dma_count
ldur w0, [x29, #-12]
bl enable_dma
ldr x0, [sp, #8]
bl release_dma_lock
ldr w8, [sp, #16]
add w0, w8, #3
bl inb_p
ldr w8, [sp, #16]
add w0, w8, #2
bl inb_p
ldur x0, [x29, #-8]
mov w1, #253 // =0xfd
bl wait_timeout
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
b .LBB0_2
.LBB0_2:
ldur x0, [x29, #-8]
bl sendup_buffer
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlefd, .Lfunc_end0-handlefd
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefd\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefd
.addrsig_sym claim_dma_lock
.addrsig_sym disable_dma
.addrsig_sym clear_dma_ff
.addrsig_sym set_dma_mode
.addrsig_sym set_dma_addr
.addrsig_sym virt_to_bus
.addrsig_sym set_dma_count
.addrsig_sym enable_dma
.addrsig_sym release_dma_lock
.addrsig_sym inb_p
.addrsig_sym wait_timeout
.addrsig_sym printk
.addrsig_sym sendup_buffer
.addrsig_sym DMA_MODE_READ
.addrsig_sym ltdmabuf
| .text
.file "extr_ltpc.c_handlefd.c"
.p2align 2 // -- Begin function handlefd
.type handlefd,@function
handlefd: // @handlefd
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_READ
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #800 // =0x320
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #253 // =0xfd
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
.LBB0_2:
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b sendup_buffer
.Lfunc_end0:
.size handlefd, .Lfunc_end0-handlefd
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefd\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefd
| .text
.file "extr_ltpc.c_handlefd.c"
.p2align 2 // -- Begin function handlefd
.type handlefd,@function
handlefd: // @handlefd
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_READ
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #800 // =0x320
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #253 // =0xfd
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
.LBB0_2:
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b sendup_buffer
.Lfunc_end0:
.size handlefd, .Lfunc_end0-handlefd
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefd\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefd
| .text
.file "extr_ltpc.c_handlefd.c"
.p2align 2 // -- Begin function handlefd
.type handlefd,@function
handlefd: // @handlefd
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_READ
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #800 // =0x320
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #253 // =0xfd
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
.LBB0_2:
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b sendup_buffer
.Lfunc_end0:
.size handlefd, .Lfunc_end0-handlefd
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefd\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefd
| .text
.file "extr_ltpc.c_handlefd.c"
.p2align 4, 0x90 # -- Begin function handlefd
.type handlefd,@function
handlefd: # @handlefd
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -16(%rbp)
movb $0, %al
callq claim_dma_lock@PLT
movq %rax, -24(%rbp)
movl -12(%rbp), %edi
callq disable_dma@PLT
movl -12(%rbp), %edi
callq clear_dma_ff@PLT
movl -12(%rbp), %edi
movl DMA_MODE_READ(%rip), %esi
callq set_dma_mode@PLT
movl -12(%rbp), %eax
movl %eax, -28(%rbp) # 4-byte Spill
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl -28(%rbp), %edi # 4-byte Reload
movl %eax, %esi
callq set_dma_addr@PLT
movl -12(%rbp), %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl -12(%rbp), %edi
callq enable_dma@PLT
movq -24(%rbp), %rdi
callq release_dma_lock@PLT
movl -16(%rbp), %edi
addl $3, %edi
callq inb_p@PLT
movl -16(%rbp), %edi
addl $2, %edi
callq inb_p@PLT
movq -8(%rbp), %rdi
movl $253, %esi
callq wait_timeout@PLT
cmpq $0, %rax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_2:
movq -8(%rbp), %rdi
callq sendup_buffer@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size handlefd, .Lfunc_end0-handlefd
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefd\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefd
.addrsig_sym claim_dma_lock
.addrsig_sym disable_dma
.addrsig_sym clear_dma_ff
.addrsig_sym set_dma_mode
.addrsig_sym set_dma_addr
.addrsig_sym virt_to_bus
.addrsig_sym set_dma_count
.addrsig_sym enable_dma
.addrsig_sym release_dma_lock
.addrsig_sym inb_p
.addrsig_sym wait_timeout
.addrsig_sym printk
.addrsig_sym sendup_buffer
.addrsig_sym DMA_MODE_READ
.addrsig_sym ltdmabuf
| .text
.file "extr_ltpc.c_handlefd.c"
.p2align 4, 0x90 # -- Begin function handlefd
.type handlefd,@function
handlefd: # @handlefd
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_READ(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $253, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp sendup_buffer@PLT # TAILCALL
.Lfunc_end0:
.size handlefd, .Lfunc_end0-handlefd
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefd\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefd
| .text
.file "extr_ltpc.c_handlefd.c"
.p2align 4, 0x90 # -- Begin function handlefd
.type handlefd,@function
handlefd: # @handlefd
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_READ(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $253, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp sendup_buffer@PLT # TAILCALL
.Lfunc_end0:
.size handlefd, .Lfunc_end0-handlefd
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefd\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefd
| .text
.file "extr_ltpc.c_handlefd.c"
.p2align 4, 0x90 # -- Begin function handlefd
.type handlefd,@function
handlefd: # @handlefd
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_READ(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $253, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp sendup_buffer@PLT # TAILCALL
.Lfunc_end0:
.size handlefd, .Lfunc_end0-handlefd
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefd\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefd
|
extr_mcg.c_mlx4_flow_steer_promisc_add.c | .text
.file "extr_mcg.c_mlx4_flow_steer_promisc_add.c"
.globl mlx4_flow_steer_promisc_add // -- Begin function mlx4_flow_steer_promisc_add
.p2align 2
.type mlx4_flow_steer_promisc_add,@function
mlx4_flow_steer_promisc_add: // @mlx4_flow_steer_promisc_add
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] // 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
stur w3, [x29, #-32]
ldur w8, [x29, #-32]
str w8, [sp, #12] // 4-byte Folded Spill
subs w8, w8, #128
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_1
.LBB0_1:
ldr w8, [sp, #12] // 4-byte Folded Reload
subs w8, w8, #129
cset w8, ne
tbnz w8, #0, .LBB0_4
b .LBB0_2
.LBB0_2:
ldur x8, [x29, #-16]
ldr x8, [x8]
ldur x9, [x29, #-24]
add x8, x8, x9, lsl #3
str x8, [sp, #16]
b .LBB0_5
.LBB0_3:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldur x9, [x29, #-24]
add x8, x8, x9, lsl #3
str x8, [sp, #16]
b .LBB0_5
.LBB0_4:
mov w8, #-1 // =0xffffffff
stur w8, [x29, #-4]
b .LBB0_8
.LBB0_5:
ldr x8, [sp, #16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_7
b .LBB0_6
.LBB0_6:
mov w8, #-1 // =0xffffffff
stur w8, [x29, #-4]
b .LBB0_8
.LBB0_7:
ldur w9, [x29, #-32]
add x8, sp, #24
str x8, [sp] // 8-byte Folded Spill
str w9, [sp, #24]
ldur x9, [x29, #-24]
str x9, [sp, #32]
ldur w9, [x29, #-28]
str w9, [sp, #44]
add x0, x8, #16
bl INIT_LIST_HEAD
ldur x0, [x29, #-16]
ldur x2, [x29, #-24]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl mlx4_err
ldr x1, [sp] // 8-byte Folded Reload
ldur x0, [x29, #-16]
ldr x2, [sp, #16]
bl mlx4_flow_attach
stur w0, [x29, #-4]
b .LBB0_8
.LBB0_8:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 96
ldp x29, x30, [sp, #80] // 16-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_flow_steer_promisc_add, .Lfunc_end0-mlx4_flow_steer_promisc_add
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "going promisc on %x\n"
.size .L.str, 21
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym INIT_LIST_HEAD
.addrsig_sym mlx4_err
.addrsig_sym mlx4_flow_attach
| .text
.file "extr_mcg.c_mlx4_flow_steer_promisc_add.c"
.globl mlx4_flow_steer_promisc_add // -- Begin function mlx4_flow_steer_promisc_add
.p2align 2
.type mlx4_flow_steer_promisc_add,@function
mlx4_flow_steer_promisc_add: // @mlx4_flow_steer_promisc_add
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #32] // 16-byte Folded Spill
str x21, [sp, #48] // 8-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x19, x0
mov x20, x1
mov x8, x0
cmp w3, #129
b.eq .LBB0_3
// %bb.1:
cmp w3, #128
b.ne .LBB0_4
// %bb.2:
add x8, x19, #8
.LBB0_3:
ldr x8, [x8]
add x21, x8, x20, lsl #3
ldr x8, [x21]
cbz x8, .LBB0_5
.LBB0_4:
mov w0, #-1 // =0xffffffff
b .LBB0_6
.LBB0_5:
add x8, sp, #8
str w3, [sp, #8]
add x0, x8, #16
str x20, [sp, #16]
str w2, [sp, #28]
bl INIT_LIST_HEAD
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
mov x2, x20
bl mlx4_err
add x1, sp, #8
mov x0, x19
mov x2, x21
bl mlx4_flow_attach
.LBB0_6:
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #48] // 8-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_flow_steer_promisc_add, .Lfunc_end0-mlx4_flow_steer_promisc_add
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "going promisc on %x\n"
.size .L.str, 21
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_mcg.c_mlx4_flow_steer_promisc_add.c"
.globl mlx4_flow_steer_promisc_add // -- Begin function mlx4_flow_steer_promisc_add
.p2align 2
.type mlx4_flow_steer_promisc_add,@function
mlx4_flow_steer_promisc_add: // @mlx4_flow_steer_promisc_add
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #32] // 16-byte Folded Spill
str x21, [sp, #48] // 8-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x19, x0
mov x20, x1
mov x8, x0
cmp w3, #129
b.eq .LBB0_3
// %bb.1:
cmp w3, #128
b.ne .LBB0_4
// %bb.2:
add x8, x19, #8
.LBB0_3:
ldr x8, [x8]
add x21, x8, x20, lsl #3
ldr x8, [x21]
cbz x8, .LBB0_5
.LBB0_4:
mov w0, #-1 // =0xffffffff
b .LBB0_6
.LBB0_5:
add x8, sp, #8
str w3, [sp, #8]
add x0, x8, #16
str x20, [sp, #16]
str w2, [sp, #28]
bl INIT_LIST_HEAD
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
mov x2, x20
bl mlx4_err
add x1, sp, #8
mov x0, x19
mov x2, x21
bl mlx4_flow_attach
.LBB0_6:
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #48] // 8-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_flow_steer_promisc_add, .Lfunc_end0-mlx4_flow_steer_promisc_add
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "going promisc on %x\n"
.size .L.str, 21
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_mcg.c_mlx4_flow_steer_promisc_add.c"
.globl mlx4_flow_steer_promisc_add // -- Begin function mlx4_flow_steer_promisc_add
.p2align 2
.type mlx4_flow_steer_promisc_add,@function
mlx4_flow_steer_promisc_add: // @mlx4_flow_steer_promisc_add
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #32] // 16-byte Folded Spill
str x21, [sp, #48] // 8-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
mov x19, x0
mov x20, x1
mov x8, x0
cmp w3, #129
b.eq .LBB0_3
// %bb.1:
cmp w3, #128
b.ne .LBB0_4
// %bb.2:
add x8, x19, #8
.LBB0_3:
ldr x8, [x8]
add x21, x8, x20, lsl #3
ldr x8, [x21]
cbz x8, .LBB0_5
.LBB0_4:
mov w0, #-1 // =0xffffffff
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #48] // 8-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
add x8, sp, #8
str w3, [sp, #8]
add x0, x8, #16
str x20, [sp, #16]
str w2, [sp, #28]
bl INIT_LIST_HEAD
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
mov x2, x20
bl mlx4_err
add x1, sp, #8
mov x0, x19
mov x2, x21
bl mlx4_flow_attach
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #48] // 8-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_flow_steer_promisc_add, .Lfunc_end0-mlx4_flow_steer_promisc_add
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "going promisc on %x\n"
.size .L.str, 21
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_mcg.c_mlx4_flow_steer_promisc_add.c"
.globl mlx4_flow_steer_promisc_add # -- Begin function mlx4_flow_steer_promisc_add
.p2align 4, 0x90
.type mlx4_flow_steer_promisc_add,@function
mlx4_flow_steer_promisc_add: # @mlx4_flow_steer_promisc_add
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl %ecx, -32(%rbp)
movl -32(%rbp), %eax
movl %eax, -68(%rbp) # 4-byte Spill
subl $128, %eax
je .LBB0_2
jmp .LBB0_8
.LBB0_8:
movl -68(%rbp), %eax # 4-byte Reload
subl $129, %eax
jne .LBB0_3
jmp .LBB0_1
.LBB0_1:
movq -16(%rbp), %rax
movq (%rax), %rax
movq -24(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -64(%rbp)
jmp .LBB0_4
.LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq -24(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -64(%rbp)
jmp .LBB0_4
.LBB0_3:
movl $-1, -4(%rbp)
jmp .LBB0_7
.LBB0_4:
movq -64(%rbp), %rax
cmpq $0, (%rax)
je .LBB0_6
# %bb.5:
movl $-1, -4(%rbp)
jmp .LBB0_7
.LBB0_6:
movl -32(%rbp), %eax
movl %eax, -56(%rbp)
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
movl -28(%rbp), %eax
movl %eax, -36(%rbp)
leaq -56(%rbp), %rdi
addq $16, %rdi
callq INIT_LIST_HEAD@PLT
movq -16(%rbp), %rdi
movq -24(%rbp), %rdx
leaq .L.str(%rip), %rsi
callq mlx4_err@PLT
movq -16(%rbp), %rdi
movq -64(%rbp), %rdx
leaq -56(%rbp), %rsi
callq mlx4_flow_attach@PLT
movl %eax, -4(%rbp)
.LBB0_7:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size mlx4_flow_steer_promisc_add, .Lfunc_end0-mlx4_flow_steer_promisc_add
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "going promisc on %x\n"
.size .L.str, 21
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym INIT_LIST_HEAD
.addrsig_sym mlx4_err
.addrsig_sym mlx4_flow_attach
| .text
.file "extr_mcg.c_mlx4_flow_steer_promisc_add.c"
.globl mlx4_flow_steer_promisc_add # -- Begin function mlx4_flow_steer_promisc_add
.p2align 4, 0x90
.type mlx4_flow_steer_promisc_add,@function
mlx4_flow_steer_promisc_add: # @mlx4_flow_steer_promisc_add
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
subq $32, %rsp
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rsi, %r14
movq %rdi, %rbx
movl $-1, %eax
movq %rdi, %rsi
cmpl $129, %ecx
je .LBB0_3
# %bb.1:
cmpl $128, %ecx
jne .LBB0_5
# %bb.2:
leaq 8(%rbx), %rsi
.LBB0_3:
movq (%rsi), %rsi
cmpq $0, (%rsi,%r14,8)
jne .LBB0_5
# %bb.4:
leaq (%rsi,%r14,8), %r15
movl %ecx, 8(%rsp)
movq %r14, 16(%rsp)
movl %edx, 28(%rsp)
leaq 24(%rsp), %rdi
callq INIT_LIST_HEAD@PLT
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq mlx4_err@PLT
leaq 8(%rsp), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq mlx4_flow_attach@PLT
.LBB0_5:
addq $32, %rsp
.cfi_def_cfa_offset 32
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_flow_steer_promisc_add, .Lfunc_end0-mlx4_flow_steer_promisc_add
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "going promisc on %x\n"
.size .L.str, 21
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_mcg.c_mlx4_flow_steer_promisc_add.c"
.globl mlx4_flow_steer_promisc_add # -- Begin function mlx4_flow_steer_promisc_add
.p2align 4, 0x90
.type mlx4_flow_steer_promisc_add,@function
mlx4_flow_steer_promisc_add: # @mlx4_flow_steer_promisc_add
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
subq $32, %rsp
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rsi, %r14
movq %rdi, %rbx
movl $-1, %eax
movq %rdi, %rsi
cmpl $129, %ecx
je .LBB0_3
# %bb.1:
cmpl $128, %ecx
jne .LBB0_5
# %bb.2:
leaq 8(%rbx), %rsi
.LBB0_3:
movq (%rsi), %rsi
cmpq $0, (%rsi,%r14,8)
jne .LBB0_5
# %bb.4:
leaq (%rsi,%r14,8), %r15
movl %ecx, 8(%rsp)
movq %r14, 16(%rsp)
movl %edx, 28(%rsp)
leaq 24(%rsp), %rdi
callq INIT_LIST_HEAD@PLT
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq mlx4_err@PLT
leaq 8(%rsp), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq mlx4_flow_attach@PLT
.LBB0_5:
addq $32, %rsp
.cfi_def_cfa_offset 32
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_flow_steer_promisc_add, .Lfunc_end0-mlx4_flow_steer_promisc_add
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "going promisc on %x\n"
.size .L.str, 21
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_mcg.c_mlx4_flow_steer_promisc_add.c"
.globl mlx4_flow_steer_promisc_add # -- Begin function mlx4_flow_steer_promisc_add
.p2align 4, 0x90
.type mlx4_flow_steer_promisc_add,@function
mlx4_flow_steer_promisc_add: # @mlx4_flow_steer_promisc_add
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
subq $32, %rsp
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rsi, %r14
movq %rdi, %rbx
movl $-1, %eax
movq %rdi, %rsi
cmpl $129, %ecx
je .LBB0_3
# %bb.1:
cmpl $128, %ecx
jne .LBB0_5
# %bb.2:
leaq 8(%rbx), %rsi
.LBB0_3:
movq (%rsi), %rsi
cmpq $0, (%rsi,%r14,8)
jne .LBB0_5
# %bb.4:
leaq (%rsi,%r14,8), %r15
movl %ecx, 8(%rsp)
movq %r14, 16(%rsp)
movl %edx, 28(%rsp)
leaq 24(%rsp), %rdi
callq INIT_LIST_HEAD@PLT
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq mlx4_err@PLT
leaq 8(%rsp), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq mlx4_flow_attach@PLT
.LBB0_5:
addq $32, %rsp
.cfi_def_cfa_offset 32
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_flow_steer_promisc_add, .Lfunc_end0-mlx4_flow_steer_promisc_add
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "going promisc on %x\n"
.size .L.str, 21
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_ltpc.c_enQ.c | .text
.file "extr_ltpc.c_enQ.c"
.p2align 2 // -- Begin function enQ
.type enQ,@function
enQ: // @enQ
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
// kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x1, [sp]
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
bl spin_lock_irqsave
adrp x8, xmQtl
ldr x8, [x8, :lo12:xmQtl]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #8]
adrp x9, xmQtl
ldr x9, [x9, :lo12:xmQtl]
str x8, [x9, #8]
b .LBB0_3
.LBB0_2:
ldr x8, [sp, #8]
adrp x9, xmQhd
str x8, [x9, :lo12:xmQhd]
b .LBB0_3
.LBB0_3:
ldr x8, [sp, #8]
adrp x9, xmQtl
str x8, [x9, :lo12:xmQtl]
ldr x1, [sp]
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
bl spin_unlock_irqrestore
adrp x8, debug
ldr w8, [x8, :lo12:debug]
adrp x9, DEBUG_LOWER
ldr w9, [x9, :lo12:DEBUG_LOWER]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_5
b .LBB0_4
.LBB0_4:
ldr x8, [sp, #8]
ldr x8, [x8]
ldr w1, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
b .LBB0_5
.LBB0_5:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size enQ, .Lfunc_end0-enQ
.cfi_endproc
// -- End function
.type txqueue_lock,@object // @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.word 0 // 0x0
.size txqueue_lock, 4
.type xmQtl,@object // @xmQtl
.globl xmQtl
.p2align 3, 0x0
xmQtl:
.xword 0
.size xmQtl, 8
.type xmQhd,@object // @xmQhd
.globl xmQhd
.p2align 3, 0x0
xmQhd:
.xword 0
.size xmQhd, 8
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_LOWER,@object // @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.word 0 // 0x0
.size DEBUG_LOWER, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "enqueued a 0x%02x command\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym enQ
.addrsig_sym spin_lock_irqsave
.addrsig_sym spin_unlock_irqrestore
.addrsig_sym printk
.addrsig_sym txqueue_lock
.addrsig_sym xmQtl
.addrsig_sym xmQhd
.addrsig_sym debug
.addrsig_sym DEBUG_LOWER
| .text
.file "extr_ltpc.c_enQ.c"
.p2align 2 // -- Begin function enQ
.type enQ,@function
enQ: // @enQ
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x20, txqueue_lock
add x20, x20, :lo12:txqueue_lock
mov x19, x0
str xzr, [x0, #8]
mov x0, x20
bl spin_lock_irqsave
adrp x8, xmQtl
adrp x10, xmQhd
add x10, x10, :lo12:xmQhd
mov x0, x20
ldr x9, [x8, :lo12:xmQtl]
str x19, [x8, :lo12:xmQtl]
add x11, x9, #8
cmp x9, #0
csel x9, x10, x11, eq
str x19, [x9]
bl spin_unlock_irqrestore
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_2
// %bb.1:
ldr x8, [x19]
ldr w1, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size enQ, .Lfunc_end0-enQ
.cfi_endproc
// -- End function
.type txqueue_lock,@object // @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.word 0 // 0x0
.size txqueue_lock, 4
.type xmQtl,@object // @xmQtl
.globl xmQtl
.p2align 3, 0x0
xmQtl:
.xword 0
.size xmQtl, 8
.type xmQhd,@object // @xmQhd
.globl xmQhd
.p2align 3, 0x0
xmQhd:
.xword 0
.size xmQhd, 8
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_LOWER,@object // @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.word 0 // 0x0
.size DEBUG_LOWER, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "enqueued a 0x%02x command\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym enQ
.addrsig_sym txqueue_lock
| .text
.file "extr_ltpc.c_enQ.c"
.p2align 2 // -- Begin function enQ
.type enQ,@function
enQ: // @enQ
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x20, txqueue_lock
add x20, x20, :lo12:txqueue_lock
mov x19, x0
str xzr, [x0, #8]
mov x0, x20
bl spin_lock_irqsave
adrp x8, xmQtl
adrp x10, xmQhd
add x10, x10, :lo12:xmQhd
mov x0, x20
ldr x9, [x8, :lo12:xmQtl]
str x19, [x8, :lo12:xmQtl]
add x11, x9, #8
cmp x9, #0
csel x9, x10, x11, eq
str x19, [x9]
bl spin_unlock_irqrestore
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_2
// %bb.1:
ldr x8, [x19]
ldr w1, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size enQ, .Lfunc_end0-enQ
.cfi_endproc
// -- End function
.type txqueue_lock,@object // @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.word 0 // 0x0
.size txqueue_lock, 4
.type xmQtl,@object // @xmQtl
.globl xmQtl
.p2align 3, 0x0
xmQtl:
.xword 0
.size xmQtl, 8
.type xmQhd,@object // @xmQhd
.globl xmQhd
.p2align 3, 0x0
xmQhd:
.xword 0
.size xmQhd, 8
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_LOWER,@object // @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.word 0 // 0x0
.size DEBUG_LOWER, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "enqueued a 0x%02x command\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym enQ
.addrsig_sym txqueue_lock
| .text
.file "extr_ltpc.c_enQ.c"
.p2align 2 // -- Begin function enQ
.type enQ,@function
enQ: // @enQ
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x20, txqueue_lock
add x20, x20, :lo12:txqueue_lock
mov x19, x0
str xzr, [x0, #8]
mov x0, x20
bl spin_lock_irqsave
adrp x8, xmQtl
adrp x10, xmQhd
add x10, x10, :lo12:xmQhd
mov x0, x20
ldr x9, [x8, :lo12:xmQtl]
str x19, [x8, :lo12:xmQtl]
add x11, x9, #8
cmp x9, #0
csel x9, x10, x11, eq
str x19, [x9]
bl spin_unlock_irqrestore
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_2
// %bb.1:
ldr x8, [x19]
ldr w1, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size enQ, .Lfunc_end0-enQ
.cfi_endproc
// -- End function
.type txqueue_lock,@object // @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.word 0 // 0x0
.size txqueue_lock, 4
.type xmQtl,@object // @xmQtl
.globl xmQtl
.p2align 3, 0x0
xmQtl:
.xword 0
.size xmQtl, 8
.type xmQhd,@object // @xmQhd
.globl xmQhd
.p2align 3, 0x0
xmQhd:
.xword 0
.size xmQhd, 8
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_LOWER,@object // @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.word 0 // 0x0
.size DEBUG_LOWER, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "enqueued a 0x%02x command\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym enQ
.addrsig_sym txqueue_lock
| .text
.file "extr_ltpc.c_enQ.c"
.p2align 4, 0x90 # -- Begin function enQ
.type enQ,@function
enQ: # @enQ
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -16(%rbp), %rsi
leaq txqueue_lock(%rip), %rdi
callq spin_lock_irqsave@PLT
cmpq $0, xmQtl(%rip)
je .LBB0_2
# %bb.1:
movq -8(%rbp), %rcx
movq xmQtl(%rip), %rax
movq %rcx, 8(%rax)
jmp .LBB0_3
.LBB0_2:
movq -8(%rbp), %rax
movq %rax, xmQhd(%rip)
.LBB0_3:
movq -8(%rbp), %rax
movq %rax, xmQtl(%rip)
movq -16(%rbp), %rsi
leaq txqueue_lock(%rip), %rdi
callq spin_unlock_irqrestore@PLT
movl debug(%rip), %eax
andl DEBUG_LOWER(%rip), %eax
cmpl $0, %eax
je .LBB0_5
# %bb.4:
movq -8(%rbp), %rax
movq (%rax), %rax
movl (%rax), %esi
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_5:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size enQ, .Lfunc_end0-enQ
.cfi_endproc
# -- End function
.type txqueue_lock,@object # @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.long 0 # 0x0
.size txqueue_lock, 4
.type xmQtl,@object # @xmQtl
.globl xmQtl
.p2align 3, 0x0
xmQtl:
.quad 0
.size xmQtl, 8
.type xmQhd,@object # @xmQhd
.globl xmQhd
.p2align 3, 0x0
xmQhd:
.quad 0
.size xmQhd, 8
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_LOWER,@object # @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.long 0 # 0x0
.size DEBUG_LOWER, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "enqueued a 0x%02x command\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym enQ
.addrsig_sym spin_lock_irqsave
.addrsig_sym spin_unlock_irqrestore
.addrsig_sym printk
.addrsig_sym txqueue_lock
.addrsig_sym xmQtl
.addrsig_sym xmQhd
.addrsig_sym debug
.addrsig_sym DEBUG_LOWER
| .text
.file "extr_ltpc.c_enQ.c"
.p2align 4, 0x90 # -- Begin function enQ
.type enQ,@function
enQ: # @enQ
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
movq $0, 8(%rdi)
leaq txqueue_lock(%rip), %r14
movq %r14, %rdi
callq spin_lock_irqsave@PLT
movq xmQtl(%rip), %rax
leaq 8(%rax), %rcx
testq %rax, %rax
leaq xmQhd(%rip), %rax
cmovneq %rcx, %rax
movq %rbx, (%rax)
movq %rbx, xmQtl(%rip)
movq %r14, %rdi
callq spin_unlock_irqrestore@PLT
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_1
# %bb.2:
movq (%rbx), %rax
movl (%rax), %esi
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 32
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size enQ, .Lfunc_end0-enQ
.cfi_endproc
# -- End function
.type txqueue_lock,@object # @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.long 0 # 0x0
.size txqueue_lock, 4
.type xmQtl,@object # @xmQtl
.globl xmQtl
.p2align 3, 0x0
xmQtl:
.quad 0
.size xmQtl, 8
.type xmQhd,@object # @xmQhd
.globl xmQhd
.p2align 3, 0x0
xmQhd:
.quad 0
.size xmQhd, 8
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_LOWER,@object # @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.long 0 # 0x0
.size DEBUG_LOWER, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "enqueued a 0x%02x command\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym enQ
.addrsig_sym txqueue_lock
| .text
.file "extr_ltpc.c_enQ.c"
.p2align 4, 0x90 # -- Begin function enQ
.type enQ,@function
enQ: # @enQ
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
movq $0, 8(%rdi)
leaq txqueue_lock(%rip), %r14
movq %r14, %rdi
callq spin_lock_irqsave@PLT
movq xmQtl(%rip), %rax
leaq 8(%rax), %rcx
testq %rax, %rax
leaq xmQhd(%rip), %rax
cmovneq %rcx, %rax
movq %rbx, (%rax)
movq %rbx, xmQtl(%rip)
movq %r14, %rdi
callq spin_unlock_irqrestore@PLT
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_1
# %bb.2:
movq (%rbx), %rax
movl (%rax), %esi
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 32
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size enQ, .Lfunc_end0-enQ
.cfi_endproc
# -- End function
.type txqueue_lock,@object # @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.long 0 # 0x0
.size txqueue_lock, 4
.type xmQtl,@object # @xmQtl
.globl xmQtl
.p2align 3, 0x0
xmQtl:
.quad 0
.size xmQtl, 8
.type xmQhd,@object # @xmQhd
.globl xmQhd
.p2align 3, 0x0
xmQhd:
.quad 0
.size xmQhd, 8
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_LOWER,@object # @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.long 0 # 0x0
.size DEBUG_LOWER, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "enqueued a 0x%02x command\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym enQ
.addrsig_sym txqueue_lock
| .text
.file "extr_ltpc.c_enQ.c"
.p2align 4, 0x90 # -- Begin function enQ
.type enQ,@function
enQ: # @enQ
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
movq $0, 8(%rdi)
leaq txqueue_lock(%rip), %r14
movq %r14, %rdi
callq spin_lock_irqsave@PLT
movq xmQtl(%rip), %rax
leaq 8(%rax), %rcx
testq %rax, %rax
leaq xmQhd(%rip), %rax
cmovneq %rcx, %rax
movq %rbx, (%rax)
movq %rbx, xmQtl(%rip)
movq %r14, %rdi
callq spin_unlock_irqrestore@PLT
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_1
# %bb.2:
movq (%rbx), %rax
movl (%rax), %esi
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 32
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size enQ, .Lfunc_end0-enQ
.cfi_endproc
# -- End function
.type txqueue_lock,@object # @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.long 0 # 0x0
.size txqueue_lock, 4
.type xmQtl,@object # @xmQtl
.globl xmQtl
.p2align 3, 0x0
xmQtl:
.quad 0
.size xmQtl, 8
.type xmQhd,@object # @xmQhd
.globl xmQhd
.p2align 3, 0x0
xmQhd:
.quad 0
.size xmQhd, 8
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_LOWER,@object # @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.long 0 # 0x0
.size DEBUG_LOWER, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "enqueued a 0x%02x command\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym enQ
.addrsig_sym txqueue_lock
|
extr_mr.c_mlx4_check_fmr.c | .text
.file "extr_mr.c_mlx4_check_fmr.c"
.p2align 2 // -- Begin function mlx4_check_fmr
.type mlx4_check_fmr,@function
mlx4_check_fmr: // @mlx4_check_fmr
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str x1, [sp, #24]
str w2, [sp, #20]
str w3, [sp, #16]
ldr w8, [sp, #20]
ldr x9, [sp, #32]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x8, EINVAL
ldr w9, [x8, :lo12:EINVAL]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #44]
b .LBB0_7
.LBB0_2:
ldr x8, [sp, #32]
ldr w9, [x8, #4]
mov w8, #1 // =0x1
lsl w8, w8, w9
subs w8, w8, #1
str w8, [sp, #8]
ldr w8, [sp, #16]
ldr w9, [sp, #8]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
adrp x8, EINVAL
ldr w9, [x8, :lo12:EINVAL]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #44]
b .LBB0_7
.LBB0_4:
ldr x8, [sp, #32]
ldr x8, [x8, #8]
ldr x9, [sp, #32]
ldr x9, [x9, #16]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
adrp x8, EINVAL
ldr w9, [x8, :lo12:EINVAL]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #44]
b .LBB0_7
.LBB0_6:
str wzr, [sp, #44]
b .LBB0_7
.LBB0_7:
ldr w0, [sp, #44]
add sp, sp, #48
.cfi_def_cfa_offset 0
ret
.Lfunc_end0:
.size mlx4_check_fmr, .Lfunc_end0-mlx4_check_fmr
.cfi_endproc
// -- End function
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_check_fmr
.addrsig_sym EINVAL
| .text
.file "extr_mr.c_mlx4_check_fmr.c"
.p2align 2 // -- Begin function mlx4_check_fmr
.type mlx4_check_fmr,@function
mlx4_check_fmr: // @mlx4_check_fmr
.cfi_startproc
// %bb.0:
ldr w8, [x0]
cmp w8, w2
b.lt .LBB0_4
// %bb.1:
ldr w8, [x0, #4]
mov w9, #-1 // =0xffffffff
lsl w8, w9, w8
bics wzr, w3, w8
b.ne .LBB0_4
// %bb.2:
ldp x8, x9, [x0, #8]
cmp x8, x9
b.ge .LBB0_4
// %bb.3:
mov w0, wzr
ret
.LBB0_4:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w0, w8
ret
.Lfunc_end0:
.size mlx4_check_fmr, .Lfunc_end0-mlx4_check_fmr
.cfi_endproc
// -- End function
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_check_fmr
| .text
.file "extr_mr.c_mlx4_check_fmr.c"
.p2align 2 // -- Begin function mlx4_check_fmr
.type mlx4_check_fmr,@function
mlx4_check_fmr: // @mlx4_check_fmr
.cfi_startproc
// %bb.0:
ldr w8, [x0]
cmp w8, w2
b.lt .LBB0_4
// %bb.1:
ldr w8, [x0, #4]
mov w9, #-1 // =0xffffffff
lsl w8, w9, w8
bics wzr, w3, w8
b.ne .LBB0_4
// %bb.2:
ldp x8, x9, [x0, #8]
cmp x8, x9
b.ge .LBB0_4
// %bb.3:
mov w0, wzr
ret
.LBB0_4:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w0, w8
ret
.Lfunc_end0:
.size mlx4_check_fmr, .Lfunc_end0-mlx4_check_fmr
.cfi_endproc
// -- End function
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_check_fmr
| .text
.file "extr_mr.c_mlx4_check_fmr.c"
.p2align 2 // -- Begin function mlx4_check_fmr
.type mlx4_check_fmr,@function
mlx4_check_fmr: // @mlx4_check_fmr
.cfi_startproc
// %bb.0:
ldr w8, [x0]
cmp w8, w2
b.lt .LBB0_4
// %bb.1:
ldr w8, [x0, #4]
mov w9, #-1 // =0xffffffff
lsl w8, w9, w8
bics wzr, w3, w8
b.ne .LBB0_4
// %bb.2:
ldp x8, x9, [x0, #8]
cmp x8, x9
b.ge .LBB0_4
// %bb.3:
mov w0, wzr
ret
.LBB0_4:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w0, w8
ret
.Lfunc_end0:
.size mlx4_check_fmr, .Lfunc_end0-mlx4_check_fmr
.cfi_endproc
// -- End function
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_check_fmr
| .text
.file "extr_mr.c_mlx4_check_fmr.c"
.p2align 4, 0x90 # -- Begin function mlx4_check_fmr
.type mlx4_check_fmr,@function
mlx4_check_fmr: # @mlx4_check_fmr
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl %ecx, -32(%rbp)
movl -28(%rbp), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jle .LBB0_2
# %bb.1:
xorl %eax, %eax
subl EINVAL(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_7
.LBB0_2:
movq -16(%rbp), %rax
movl 4(%rax), %ecx
movl $1, %eax
# kill: def $cl killed $ecx
shll %cl, %eax
subl $1, %eax
movl %eax, -40(%rbp)
movl -32(%rbp), %eax
andl -40(%rbp), %eax
cmpl $0, %eax
je .LBB0_4
# %bb.3:
xorl %eax, %eax
subl EINVAL(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_7
.LBB0_4:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq -16(%rbp), %rcx
cmpq 16(%rcx), %rax
jl .LBB0_6
# %bb.5:
xorl %eax, %eax
subl EINVAL(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_7
.LBB0_6:
movl $0, -4(%rbp)
.LBB0_7:
movl -4(%rbp), %eax
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size mlx4_check_fmr, .Lfunc_end0-mlx4_check_fmr
.cfi_endproc
# -- End function
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_check_fmr
.addrsig_sym EINVAL
| .text
.file "extr_mr.c_mlx4_check_fmr.c"
.p2align 4, 0x90 # -- Begin function mlx4_check_fmr
.type mlx4_check_fmr,@function
mlx4_check_fmr: # @mlx4_check_fmr
.cfi_startproc
# %bb.0:
cmpl %edx, (%rdi)
jl .LBB0_3
# %bb.1:
movl %ecx, %eax
movzbl 4(%rdi), %ecx
movl $-1, %edx
shll %cl, %edx
notl %edx
testl %eax, %edx
jne .LBB0_3
# %bb.2:
movq 8(%rdi), %rcx
xorl %eax, %eax
cmpq 16(%rdi), %rcx
jl .LBB0_4
.LBB0_3:
xorl %eax, %eax
subl EINVAL(%rip), %eax
.LBB0_4:
retq
.Lfunc_end0:
.size mlx4_check_fmr, .Lfunc_end0-mlx4_check_fmr
.cfi_endproc
# -- End function
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_check_fmr
| .text
.file "extr_mr.c_mlx4_check_fmr.c"
.p2align 4, 0x90 # -- Begin function mlx4_check_fmr
.type mlx4_check_fmr,@function
mlx4_check_fmr: # @mlx4_check_fmr
.cfi_startproc
# %bb.0:
cmpl %edx, (%rdi)
jl .LBB0_3
# %bb.1:
movl %ecx, %eax
movzbl 4(%rdi), %ecx
movl $-1, %edx
shll %cl, %edx
notl %edx
testl %eax, %edx
jne .LBB0_3
# %bb.2:
movq 8(%rdi), %rcx
xorl %eax, %eax
cmpq 16(%rdi), %rcx
jl .LBB0_4
.LBB0_3:
xorl %eax, %eax
subl EINVAL(%rip), %eax
.LBB0_4:
retq
.Lfunc_end0:
.size mlx4_check_fmr, .Lfunc_end0-mlx4_check_fmr
.cfi_endproc
# -- End function
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_check_fmr
| .text
.file "extr_mr.c_mlx4_check_fmr.c"
.p2align 4, 0x90 # -- Begin function mlx4_check_fmr
.type mlx4_check_fmr,@function
mlx4_check_fmr: # @mlx4_check_fmr
.cfi_startproc
# %bb.0:
cmpl %edx, (%rdi)
jl .LBB0_3
# %bb.1:
movl %ecx, %eax
movzbl 4(%rdi), %ecx
movl $-1, %edx
shll %cl, %edx
notl %edx
testl %eax, %edx
jne .LBB0_3
# %bb.2:
movq 8(%rdi), %rcx
xorl %eax, %eax
cmpq 16(%rdi), %rcx
jl .LBB0_4
.LBB0_3:
xorl %eax, %eax
subl EINVAL(%rip), %eax
.LBB0_4:
retq
.Lfunc_end0:
.size mlx4_check_fmr, .Lfunc_end0-mlx4_check_fmr
.cfi_endproc
# -- End function
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_check_fmr
|
extr_ltpc.c_set_multicast_list.c | .text
.file "extr_ltpc.c_set_multicast_list.c"
.p2align 2 // -- Begin function set_multicast_list
.type set_multicast_list,@function
set_multicast_list: // @set_multicast_list
.cfi_startproc
// %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
add sp, sp, #16
.cfi_def_cfa_offset 0
ret
.Lfunc_end0:
.size set_multicast_list, .Lfunc_end0-set_multicast_list
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_multicast_list
| .text
.file "extr_ltpc.c_set_multicast_list.c"
.p2align 2 // -- Begin function set_multicast_list
.type set_multicast_list,@function
set_multicast_list: // @set_multicast_list
.cfi_startproc
// %bb.0:
ret
.Lfunc_end0:
.size set_multicast_list, .Lfunc_end0-set_multicast_list
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_multicast_list
| .text
.file "extr_ltpc.c_set_multicast_list.c"
.p2align 2 // -- Begin function set_multicast_list
.type set_multicast_list,@function
set_multicast_list: // @set_multicast_list
.cfi_startproc
// %bb.0:
ret
.Lfunc_end0:
.size set_multicast_list, .Lfunc_end0-set_multicast_list
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_multicast_list
| .text
.file "extr_ltpc.c_set_multicast_list.c"
.p2align 2 // -- Begin function set_multicast_list
.type set_multicast_list,@function
set_multicast_list: // @set_multicast_list
.cfi_startproc
// %bb.0:
ret
.Lfunc_end0:
.size set_multicast_list, .Lfunc_end0-set_multicast_list
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_multicast_list
| .text
.file "extr_ltpc.c_set_multicast_list.c"
.p2align 4, 0x90 # -- Begin function set_multicast_list
.type set_multicast_list,@function
set_multicast_list: # @set_multicast_list
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size set_multicast_list, .Lfunc_end0-set_multicast_list
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_multicast_list
| .text
.file "extr_ltpc.c_set_multicast_list.c"
.p2align 4, 0x90 # -- Begin function set_multicast_list
.type set_multicast_list,@function
set_multicast_list: # @set_multicast_list
.cfi_startproc
# %bb.0:
retq
.Lfunc_end0:
.size set_multicast_list, .Lfunc_end0-set_multicast_list
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_multicast_list
| .text
.file "extr_ltpc.c_set_multicast_list.c"
.p2align 4, 0x90 # -- Begin function set_multicast_list
.type set_multicast_list,@function
set_multicast_list: # @set_multicast_list
.cfi_startproc
# %bb.0:
retq
.Lfunc_end0:
.size set_multicast_list, .Lfunc_end0-set_multicast_list
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_multicast_list
| .text
.file "extr_ltpc.c_set_multicast_list.c"
.p2align 4, 0x90 # -- Begin function set_multicast_list
.type set_multicast_list,@function
set_multicast_list: # @set_multicast_list
.cfi_startproc
# %bb.0:
retq
.Lfunc_end0:
.size set_multicast_list, .Lfunc_end0-set_multicast_list
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_multicast_list
|
extr_cmd.c_mlx4_slave_cmd.c | .text
.file "extr_cmd.c_mlx4_slave_cmd.c"
.p2align 2 // -- Begin function mlx4_slave_cmd
.type mlx4_slave_cmd,@function
mlx4_slave_cmd: // @mlx4_slave_cmd
.cfi_startproc
// %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] // 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
stur w4, [x29, #-32]
stur x5, [x29, #-40]
stur w6, [x29, #-44]
str x7, [sp, #40]
ldur x0, [x29, #-8]
bl mlx4_priv
str x0, [sp, #32]
ldr x8, [sp, #32]
ldr x8, [x8, #8]
str x8, [sp, #24]
ldr x0, [sp, #32]
bl mutex_lock
ldur w0, [x29, #-12]
bl cpu_to_be64
ldr x8, [sp, #24]
str x0, [x8, #48]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldur x8, [x29, #-24]
ldr w0, [x8]
bl cpu_to_be64
str x0, [sp, #8] // 8-byte Folded Spill
b .LBB0_3
.LBB0_2:
mov x8, xzr
str x8, [sp, #8] // 8-byte Folded Spill
b .LBB0_3
.LBB0_3:
ldr x8, [sp, #8] // 8-byte Folded Reload
ldr x9, [sp, #24]
str x8, [x9, #16]
ldur w0, [x29, #-32]
bl cpu_to_be32
ldr x8, [sp, #24]
str w0, [x8, #40]
ldur x8, [x29, #-40]
// kill: def $w8 killed $w8 killed $x8
ldur w0, [x29, #-44]
bfi w0, w8, #12, #20
bl cpu_to_be16
ldr x8, [sp, #24]
str x0, [x8, #32]
adrp x8, CMD_POLL_TOKEN
ldr w0, [x8, :lo12:CMD_POLL_TOKEN]
bl cpu_to_be16
ldr x8, [sp, #24]
str x0, [x8, #24]
ldr x8, [sp, #24]
// kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp, #32]
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
and w8, w8, #0x1
lsl w8, w8, #6
ldr x9, [sp, #24]
str w8, [x9]
ldur x0, [x29, #-8]
bl mlx4_is_master
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_12
b .LBB0_4
.LBB0_4:
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr w1, [x8]
ldr x2, [sp, #24]
bl mlx4_master_process_vhcr
str w0, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_11
b .LBB0_5
.LBB0_5:
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_10
b .LBB0_6
.LBB0_6:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_8
b .LBB0_7
.LBB0_7:
ldr x8, [sp, #24]
ldr x0, [x8, #16]
bl be64_to_cpu
ldur x8, [x29, #-24]
str w0, [x8]
b .LBB0_9
.LBB0_8:
ldur x0, [x29, #-8]
ldur w2, [x29, #-44]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl mlx4_err
adrp x8, CMD_STAT_BAD_PARAM
ldr x8, [x8, :lo12:CMD_STAT_BAD_PARAM]
ldr x9, [sp, #24]
str x8, [x9, #8]
b .LBB0_9
.LBB0_9:
b .LBB0_10
.LBB0_10:
ldr x8, [sp, #24]
ldr x0, [x8, #8]
bl mlx4_status_to_errno
str w0, [sp, #20]
b .LBB0_11
.LBB0_11:
b .LBB0_21
.LBB0_12:
ldur x0, [x29, #-8]
adrp x8, MLX4_COMM_CMD_VHCR_POST
ldr w1, [x8, :lo12:MLX4_COMM_CMD_VHCR_POST]
adrp x8, MLX4_COMM_TIME
ldr x8, [x8, :lo12:MLX4_COMM_TIME]
ldr x9, [sp, #40]
add x3, x8, x9
mov w2, wzr
bl mlx4_comm_cmd
str w0, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_19
b .LBB0_13
.LBB0_13:
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_18
b .LBB0_14
.LBB0_14:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_16
b .LBB0_15
.LBB0_15:
ldr x8, [sp, #24]
ldr x0, [x8, #16]
bl be64_to_cpu
ldur x8, [x29, #-24]
str w0, [x8]
b .LBB0_17
.LBB0_16:
ldur x0, [x29, #-8]
ldur w2, [x29, #-44]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl mlx4_err
adrp x8, CMD_STAT_BAD_PARAM
ldr x8, [x8, :lo12:CMD_STAT_BAD_PARAM]
ldr x9, [sp, #24]
str x8, [x9, #8]
b .LBB0_17
.LBB0_17:
b .LBB0_18
.LBB0_18:
ldr x8, [sp, #24]
ldr x0, [x8, #8]
bl mlx4_status_to_errno
str w0, [sp, #20]
b .LBB0_20
.LBB0_19:
ldur x0, [x29, #-8]
ldur w2, [x29, #-44]
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
bl mlx4_err
b .LBB0_20
.LBB0_20:
b .LBB0_21
.LBB0_21:
ldr x0, [sp, #32]
bl mutex_unlock
ldr w0, [sp, #20]
.cfi_def_cfa wsp, 112
ldp x29, x30, [sp, #96] // 16-byte Folded Reload
add sp, sp, #112
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_slave_cmd, .Lfunc_end0-mlx4_slave_cmd
.cfi_endproc
// -- End function
.type CMD_POLL_TOKEN,@object // @CMD_POLL_TOKEN
.bss
.globl CMD_POLL_TOKEN
.p2align 2, 0x0
CMD_POLL_TOKEN:
.word 0 // 0x0
.size CMD_POLL_TOKEN, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "response expected whileoutput mailbox is NULL for command 0x%x\n"
.size .L.str, 64
.type CMD_STAT_BAD_PARAM,@object // @CMD_STAT_BAD_PARAM
.bss
.globl CMD_STAT_BAD_PARAM
.p2align 3, 0x0
CMD_STAT_BAD_PARAM:
.xword 0
.size CMD_STAT_BAD_PARAM, 8
.type MLX4_COMM_CMD_VHCR_POST,@object // @MLX4_COMM_CMD_VHCR_POST
.globl MLX4_COMM_CMD_VHCR_POST
.p2align 2, 0x0
MLX4_COMM_CMD_VHCR_POST:
.word 0 // 0x0
.size MLX4_COMM_CMD_VHCR_POST, 4
.type MLX4_COMM_TIME,@object // @MLX4_COMM_TIME
.globl MLX4_COMM_TIME
.p2align 3, 0x0
MLX4_COMM_TIME:
.xword 0 // 0x0
.size MLX4_COMM_TIME, 8
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "failed execution of VHCR_POST commandopcode 0x%x\n"
.size .L.str.1, 50
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_slave_cmd
.addrsig_sym mlx4_priv
.addrsig_sym mutex_lock
.addrsig_sym cpu_to_be64
.addrsig_sym cpu_to_be32
.addrsig_sym cpu_to_be16
.addrsig_sym mlx4_is_master
.addrsig_sym mlx4_master_process_vhcr
.addrsig_sym be64_to_cpu
.addrsig_sym mlx4_err
.addrsig_sym mlx4_status_to_errno
.addrsig_sym mlx4_comm_cmd
.addrsig_sym mutex_unlock
.addrsig_sym CMD_POLL_TOKEN
.addrsig_sym CMD_STAT_BAD_PARAM
.addrsig_sym MLX4_COMM_CMD_VHCR_POST
.addrsig_sym MLX4_COMM_TIME
| .text
.file "extr_cmd.c_mlx4_slave_cmd.c"
.p2align 2 // -- Begin function mlx4_slave_cmd
.type mlx4_slave_cmd,@function
mlx4_slave_cmd: // @mlx4_slave_cmd
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-96]! // 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x28, x27, [sp, #16] // 16-byte Folded Spill
stp x26, x25, [sp, #32] // 16-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
mov x25, x7
mov w21, w6
mov x26, x5
mov w27, w4
mov w24, w3
mov x22, x2
mov w28, w1
mov x23, x0
bl mlx4_priv
ldr x20, [x0, #8]
mov x19, x0
bl mutex_lock
mov w0, w28
bl cpu_to_be64
str x0, [x20, #48]
cbz x22, .LBB0_2
// %bb.1:
ldr w0, [x22]
bl cpu_to_be64
b .LBB0_3
.LBB0_2:
mov x0, xzr
.LBB0_3:
str x0, [x20, #16]
mov w0, w27
bl cpu_to_be32
mov w8, w21
str w0, [x20, #40]
bfi w8, w26, #12, #20
mov w0, w8
bl cpu_to_be16
adrp x8, CMD_POLL_TOKEN
str x0, [x20, #32]
ldr w8, [x8, :lo12:CMD_POLL_TOKEN]
mov w0, w8
bl cpu_to_be16
ldr w8, [x19, #4]
str x0, [x20, #24]
mov x0, x23
str xzr, [x20, #8]
cmp w8, #0
cset w8, ne
lsl w8, w8, #6
str w8, [x20]
bl mlx4_is_master
cbz x0, .LBB0_8
// %bb.4:
ldr w1, [x23]
mov x0, x23
mov x2, x20
bl mlx4_master_process_vhcr
mov w25, w0
cbnz w0, .LBB0_14
// %bb.5:
cbz w24, .LBB0_13
// %bb.6:
cbz x22, .LBB0_12
.LBB0_7:
ldr x0, [x20, #16]
bl be64_to_cpu
str w0, [x22]
b .LBB0_13
.LBB0_8:
adrp x8, MLX4_COMM_TIME
adrp x9, MLX4_COMM_CMD_VHCR_POST
mov x0, x23
mov w2, wzr
ldr x8, [x8, :lo12:MLX4_COMM_TIME]
ldr w1, [x9, :lo12:MLX4_COMM_CMD_VHCR_POST]
add x3, x8, x25
bl mlx4_comm_cmd
cbz w0, .LBB0_10
// %bb.9:
mov w25, w0
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
mov x0, x23
mov w2, w21
bl mlx4_err
b .LBB0_14
.LBB0_10:
cbz w24, .LBB0_13
// %bb.11:
cbnz x22, .LBB0_7
.LBB0_12:
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x23
mov w2, w21
bl mlx4_err
adrp x8, CMD_STAT_BAD_PARAM
ldr x8, [x8, :lo12:CMD_STAT_BAD_PARAM]
str x8, [x20, #8]
.LBB0_13:
ldr x0, [x20, #8]
bl mlx4_status_to_errno
mov w25, w0
.LBB0_14:
mov x0, x19
bl mutex_unlock
mov w0, w25
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x26, x25, [sp, #32] // 16-byte Folded Reload
ldp x28, x27, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #96 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_slave_cmd, .Lfunc_end0-mlx4_slave_cmd
.cfi_endproc
// -- End function
.type CMD_POLL_TOKEN,@object // @CMD_POLL_TOKEN
.bss
.globl CMD_POLL_TOKEN
.p2align 2, 0x0
CMD_POLL_TOKEN:
.word 0 // 0x0
.size CMD_POLL_TOKEN, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "response expected whileoutput mailbox is NULL for command 0x%x\n"
.size .L.str, 64
.type CMD_STAT_BAD_PARAM,@object // @CMD_STAT_BAD_PARAM
.bss
.globl CMD_STAT_BAD_PARAM
.p2align 3, 0x0
CMD_STAT_BAD_PARAM:
.xword 0
.size CMD_STAT_BAD_PARAM, 8
.type MLX4_COMM_CMD_VHCR_POST,@object // @MLX4_COMM_CMD_VHCR_POST
.globl MLX4_COMM_CMD_VHCR_POST
.p2align 2, 0x0
MLX4_COMM_CMD_VHCR_POST:
.word 0 // 0x0
.size MLX4_COMM_CMD_VHCR_POST, 4
.type MLX4_COMM_TIME,@object // @MLX4_COMM_TIME
.globl MLX4_COMM_TIME
.p2align 3, 0x0
MLX4_COMM_TIME:
.xword 0 // 0x0
.size MLX4_COMM_TIME, 8
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "failed execution of VHCR_POST commandopcode 0x%x\n"
.size .L.str.1, 50
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_slave_cmd
| .text
.file "extr_cmd.c_mlx4_slave_cmd.c"
.p2align 2 // -- Begin function mlx4_slave_cmd
.type mlx4_slave_cmd,@function
mlx4_slave_cmd: // @mlx4_slave_cmd
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-96]! // 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x28, x27, [sp, #16] // 16-byte Folded Spill
stp x26, x25, [sp, #32] // 16-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
mov x25, x7
mov w21, w6
mov x26, x5
mov w27, w4
mov w24, w3
mov x22, x2
mov w28, w1
mov x23, x0
bl mlx4_priv
ldr x20, [x0, #8]
mov x19, x0
bl mutex_lock
mov w0, w28
bl cpu_to_be64
str x0, [x20, #48]
cbz x22, .LBB0_2
// %bb.1:
ldr w0, [x22]
bl cpu_to_be64
b .LBB0_3
.LBB0_2:
mov x0, xzr
.LBB0_3:
str x0, [x20, #16]
mov w0, w27
bl cpu_to_be32
mov w8, w21
str w0, [x20, #40]
bfi w8, w26, #12, #20
mov w0, w8
bl cpu_to_be16
adrp x8, CMD_POLL_TOKEN
str x0, [x20, #32]
ldr w8, [x8, :lo12:CMD_POLL_TOKEN]
mov w0, w8
bl cpu_to_be16
ldr w8, [x19, #4]
str x0, [x20, #24]
mov x0, x23
str xzr, [x20, #8]
cmp w8, #0
cset w8, ne
lsl w8, w8, #6
str w8, [x20]
bl mlx4_is_master
cbz x0, .LBB0_8
// %bb.4:
ldr w1, [x23]
mov x0, x23
mov x2, x20
bl mlx4_master_process_vhcr
mov w25, w0
cbnz w0, .LBB0_14
// %bb.5:
cbz w24, .LBB0_13
// %bb.6:
cbz x22, .LBB0_12
.LBB0_7:
ldr x0, [x20, #16]
bl be64_to_cpu
str w0, [x22]
b .LBB0_13
.LBB0_8:
adrp x8, MLX4_COMM_TIME
adrp x9, MLX4_COMM_CMD_VHCR_POST
mov x0, x23
mov w2, wzr
ldr x8, [x8, :lo12:MLX4_COMM_TIME]
ldr w1, [x9, :lo12:MLX4_COMM_CMD_VHCR_POST]
add x3, x8, x25
bl mlx4_comm_cmd
cbz w0, .LBB0_10
// %bb.9:
mov w25, w0
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
mov x0, x23
mov w2, w21
bl mlx4_err
b .LBB0_14
.LBB0_10:
cbz w24, .LBB0_13
// %bb.11:
cbnz x22, .LBB0_7
.LBB0_12:
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x23
mov w2, w21
bl mlx4_err
adrp x8, CMD_STAT_BAD_PARAM
ldr x8, [x8, :lo12:CMD_STAT_BAD_PARAM]
str x8, [x20, #8]
.LBB0_13:
ldr x0, [x20, #8]
bl mlx4_status_to_errno
mov w25, w0
.LBB0_14:
mov x0, x19
bl mutex_unlock
mov w0, w25
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x26, x25, [sp, #32] // 16-byte Folded Reload
ldp x28, x27, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #96 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_slave_cmd, .Lfunc_end0-mlx4_slave_cmd
.cfi_endproc
// -- End function
.type CMD_POLL_TOKEN,@object // @CMD_POLL_TOKEN
.bss
.globl CMD_POLL_TOKEN
.p2align 2, 0x0
CMD_POLL_TOKEN:
.word 0 // 0x0
.size CMD_POLL_TOKEN, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "response expected whileoutput mailbox is NULL for command 0x%x\n"
.size .L.str, 64
.type CMD_STAT_BAD_PARAM,@object // @CMD_STAT_BAD_PARAM
.bss
.globl CMD_STAT_BAD_PARAM
.p2align 3, 0x0
CMD_STAT_BAD_PARAM:
.xword 0
.size CMD_STAT_BAD_PARAM, 8
.type MLX4_COMM_CMD_VHCR_POST,@object // @MLX4_COMM_CMD_VHCR_POST
.globl MLX4_COMM_CMD_VHCR_POST
.p2align 2, 0x0
MLX4_COMM_CMD_VHCR_POST:
.word 0 // 0x0
.size MLX4_COMM_CMD_VHCR_POST, 4
.type MLX4_COMM_TIME,@object // @MLX4_COMM_TIME
.globl MLX4_COMM_TIME
.p2align 3, 0x0
MLX4_COMM_TIME:
.xword 0 // 0x0
.size MLX4_COMM_TIME, 8
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "failed execution of VHCR_POST commandopcode 0x%x\n"
.size .L.str.1, 50
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_slave_cmd
| .text
.file "extr_cmd.c_mlx4_slave_cmd.c"
.p2align 2 // -- Begin function mlx4_slave_cmd
.type mlx4_slave_cmd,@function
mlx4_slave_cmd: // @mlx4_slave_cmd
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-96]! // 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x28, x27, [sp, #16] // 16-byte Folded Spill
stp x26, x25, [sp, #32] // 16-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
mov x25, x7
mov w21, w6
mov x26, x5
mov w27, w4
mov w24, w3
mov x22, x2
mov w28, w1
mov x23, x0
bl mlx4_priv
ldr x20, [x0, #8]
mov x19, x0
bl mutex_lock
mov w0, w28
bl cpu_to_be64
str x0, [x20, #48]
cbz x22, .LBB0_2
// %bb.1:
ldr w0, [x22]
bl cpu_to_be64
b .LBB0_3
.LBB0_2:
mov x0, xzr
.LBB0_3:
str x0, [x20, #16]
mov w0, w27
bl cpu_to_be32
mov w8, w21
str w0, [x20, #40]
bfi w8, w26, #12, #20
mov w0, w8
bl cpu_to_be16
adrp x8, CMD_POLL_TOKEN
str x0, [x20, #32]
ldr w8, [x8, :lo12:CMD_POLL_TOKEN]
mov w0, w8
bl cpu_to_be16
ldr w8, [x19, #4]
str x0, [x20, #24]
mov x0, x23
str xzr, [x20, #8]
cmp w8, #0
cset w8, ne
lsl w8, w8, #6
str w8, [x20]
bl mlx4_is_master
cbz x0, .LBB0_8
// %bb.4:
ldr w1, [x23]
mov x0, x23
mov x2, x20
bl mlx4_master_process_vhcr
mov w25, w0
cbnz w0, .LBB0_14
// %bb.5:
cbz w24, .LBB0_13
// %bb.6:
cbz x22, .LBB0_12
.LBB0_7:
ldr x0, [x20, #16]
bl be64_to_cpu
str w0, [x22]
b .LBB0_13
.LBB0_8:
adrp x8, MLX4_COMM_TIME
adrp x9, MLX4_COMM_CMD_VHCR_POST
mov x0, x23
mov w2, wzr
ldr x8, [x8, :lo12:MLX4_COMM_TIME]
ldr w1, [x9, :lo12:MLX4_COMM_CMD_VHCR_POST]
add x3, x8, x25
bl mlx4_comm_cmd
cbz w0, .LBB0_10
// %bb.9:
mov w25, w0
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
mov x0, x23
mov w2, w21
bl mlx4_err
b .LBB0_14
.LBB0_10:
cbz w24, .LBB0_13
// %bb.11:
cbnz x22, .LBB0_7
.LBB0_12:
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x23
mov w2, w21
bl mlx4_err
adrp x8, CMD_STAT_BAD_PARAM
ldr x8, [x8, :lo12:CMD_STAT_BAD_PARAM]
str x8, [x20, #8]
.LBB0_13:
ldr x0, [x20, #8]
bl mlx4_status_to_errno
mov w25, w0
.LBB0_14:
mov x0, x19
bl mutex_unlock
mov w0, w25
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x26, x25, [sp, #32] // 16-byte Folded Reload
ldp x28, x27, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #96 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_slave_cmd, .Lfunc_end0-mlx4_slave_cmd
.cfi_endproc
// -- End function
.type CMD_POLL_TOKEN,@object // @CMD_POLL_TOKEN
.bss
.globl CMD_POLL_TOKEN
.p2align 2, 0x0
CMD_POLL_TOKEN:
.word 0 // 0x0
.size CMD_POLL_TOKEN, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "response expected whileoutput mailbox is NULL for command 0x%x\n"
.size .L.str, 64
.type CMD_STAT_BAD_PARAM,@object // @CMD_STAT_BAD_PARAM
.bss
.globl CMD_STAT_BAD_PARAM
.p2align 3, 0x0
CMD_STAT_BAD_PARAM:
.xword 0
.size CMD_STAT_BAD_PARAM, 8
.type MLX4_COMM_CMD_VHCR_POST,@object // @MLX4_COMM_CMD_VHCR_POST
.globl MLX4_COMM_CMD_VHCR_POST
.p2align 2, 0x0
MLX4_COMM_CMD_VHCR_POST:
.word 0 // 0x0
.size MLX4_COMM_CMD_VHCR_POST, 4
.type MLX4_COMM_TIME,@object // @MLX4_COMM_TIME
.globl MLX4_COMM_TIME
.p2align 3, 0x0
MLX4_COMM_TIME:
.xword 0 // 0x0
.size MLX4_COMM_TIME, 8
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "failed execution of VHCR_POST commandopcode 0x%x\n"
.size .L.str.1, 50
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_slave_cmd
| .text
.file "extr_cmd.c_mlx4_slave_cmd.c"
.p2align 4, 0x90 # -- Begin function mlx4_slave_cmd
.type mlx4_slave_cmd,@function
mlx4_slave_cmd: # @mlx4_slave_cmd
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq 24(%rbp), %rax
movl 16(%rbp), %eax
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movl %r8d, -32(%rbp)
movq %r9, -40(%rbp)
movq -8(%rbp), %rdi
callq mlx4_priv@PLT
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -56(%rbp)
movq -48(%rbp), %rdi
callq mutex_lock@PLT
movl -12(%rbp), %edi
callq cpu_to_be64@PLT
movq %rax, %rcx
movq -56(%rbp), %rax
movq %rcx, 48(%rax)
cmpq $0, -24(%rbp)
je .LBB0_2
# %bb.1:
movq -24(%rbp), %rax
movl (%rax), %edi
callq cpu_to_be64@PLT
movq %rax, -72(%rbp) # 8-byte Spill
jmp .LBB0_3
.LBB0_2:
xorl %eax, %eax
# kill: def $rax killed $eax
movq %rax, -72(%rbp) # 8-byte Spill
jmp .LBB0_3
.LBB0_3:
movq -72(%rbp), %rcx # 8-byte Reload
movq -56(%rbp), %rax
movq %rcx, 16(%rax)
movl -32(%rbp), %edi
callq cpu_to_be32@PLT
movl %eax, %ecx
movq -56(%rbp), %rax
movl %ecx, 40(%rax)
movq -40(%rbp), %rax
movl %eax, %edi
shll $12, %edi
movl 16(%rbp), %eax
andl $4095, %eax # imm = 0xFFF
orl %eax, %edi
callq cpu_to_be16@PLT
movq %rax, %rcx
movq -56(%rbp), %rax
movq %rcx, 32(%rax)
movl CMD_POLL_TOKEN(%rip), %edi
callq cpu_to_be16@PLT
movq %rax, %rcx
movq -56(%rbp), %rax
movq %rcx, 24(%rax)
movq -56(%rbp), %rax
movq $0, 8(%rax)
movq -48(%rbp), %rax
cmpl $0, 4(%rax)
setne %al
xorb $-1, %al
xorb $-1, %al
andb $1, %al
movzbl %al, %ecx
shll $6, %ecx
movq -56(%rbp), %rax
movl %ecx, (%rax)
movq -8(%rbp), %rdi
callq mlx4_is_master@PLT
cmpq $0, %rax
je .LBB0_12
# %bb.4:
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movl (%rax), %esi
movq -56(%rbp), %rdx
callq mlx4_master_process_vhcr@PLT
movl %eax, -60(%rbp)
cmpl $0, -60(%rbp)
jne .LBB0_11
# %bb.5:
cmpl $0, -28(%rbp)
je .LBB0_10
# %bb.6:
cmpq $0, -24(%rbp)
je .LBB0_8
# %bb.7:
movq -56(%rbp), %rax
movq 16(%rax), %rdi
callq be64_to_cpu@PLT
movl %eax, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
jmp .LBB0_9
.LBB0_8:
movq -8(%rbp), %rdi
movl 16(%rbp), %edx
leaq .L.str(%rip), %rsi
callq mlx4_err@PLT
movq CMD_STAT_BAD_PARAM(%rip), %rcx
movq -56(%rbp), %rax
movq %rcx, 8(%rax)
.LBB0_9:
jmp .LBB0_10
.LBB0_10:
movq -56(%rbp), %rax
movq 8(%rax), %rdi
callq mlx4_status_to_errno@PLT
movl %eax, -60(%rbp)
.LBB0_11:
jmp .LBB0_21
.LBB0_12:
movq -8(%rbp), %rdi
movl MLX4_COMM_CMD_VHCR_POST(%rip), %esi
movq MLX4_COMM_TIME(%rip), %rcx
addq 24(%rbp), %rcx
xorl %edx, %edx
callq mlx4_comm_cmd@PLT
movl %eax, -60(%rbp)
cmpl $0, -60(%rbp)
jne .LBB0_19
# %bb.13:
cmpl $0, -28(%rbp)
je .LBB0_18
# %bb.14:
cmpq $0, -24(%rbp)
je .LBB0_16
# %bb.15:
movq -56(%rbp), %rax
movq 16(%rax), %rdi
callq be64_to_cpu@PLT
movl %eax, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
jmp .LBB0_17
.LBB0_16:
movq -8(%rbp), %rdi
movl 16(%rbp), %edx
leaq .L.str(%rip), %rsi
callq mlx4_err@PLT
movq CMD_STAT_BAD_PARAM(%rip), %rcx
movq -56(%rbp), %rax
movq %rcx, 8(%rax)
.LBB0_17:
jmp .LBB0_18
.LBB0_18:
movq -56(%rbp), %rax
movq 8(%rax), %rdi
callq mlx4_status_to_errno@PLT
movl %eax, -60(%rbp)
jmp .LBB0_20
.LBB0_19:
movq -8(%rbp), %rdi
movl 16(%rbp), %edx
leaq .L.str.1(%rip), %rsi
callq mlx4_err@PLT
.LBB0_20:
jmp .LBB0_21
.LBB0_21:
movq -48(%rbp), %rdi
callq mutex_unlock@PLT
movl -60(%rbp), %eax
addq $80, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size mlx4_slave_cmd, .Lfunc_end0-mlx4_slave_cmd
.cfi_endproc
# -- End function
.type CMD_POLL_TOKEN,@object # @CMD_POLL_TOKEN
.bss
.globl CMD_POLL_TOKEN
.p2align 2, 0x0
CMD_POLL_TOKEN:
.long 0 # 0x0
.size CMD_POLL_TOKEN, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "response expected whileoutput mailbox is NULL for command 0x%x\n"
.size .L.str, 64
.type CMD_STAT_BAD_PARAM,@object # @CMD_STAT_BAD_PARAM
.bss
.globl CMD_STAT_BAD_PARAM
.p2align 3, 0x0
CMD_STAT_BAD_PARAM:
.quad 0
.size CMD_STAT_BAD_PARAM, 8
.type MLX4_COMM_CMD_VHCR_POST,@object # @MLX4_COMM_CMD_VHCR_POST
.globl MLX4_COMM_CMD_VHCR_POST
.p2align 2, 0x0
MLX4_COMM_CMD_VHCR_POST:
.long 0 # 0x0
.size MLX4_COMM_CMD_VHCR_POST, 4
.type MLX4_COMM_TIME,@object # @MLX4_COMM_TIME
.globl MLX4_COMM_TIME
.p2align 3, 0x0
MLX4_COMM_TIME:
.quad 0 # 0x0
.size MLX4_COMM_TIME, 8
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "failed execution of VHCR_POST commandopcode 0x%x\n"
.size .L.str.1, 50
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_slave_cmd
.addrsig_sym mlx4_priv
.addrsig_sym mutex_lock
.addrsig_sym cpu_to_be64
.addrsig_sym cpu_to_be32
.addrsig_sym cpu_to_be16
.addrsig_sym mlx4_is_master
.addrsig_sym mlx4_master_process_vhcr
.addrsig_sym be64_to_cpu
.addrsig_sym mlx4_err
.addrsig_sym mlx4_status_to_errno
.addrsig_sym mlx4_comm_cmd
.addrsig_sym mutex_unlock
.addrsig_sym CMD_POLL_TOKEN
.addrsig_sym CMD_STAT_BAD_PARAM
.addrsig_sym MLX4_COMM_CMD_VHCR_POST
.addrsig_sym MLX4_COMM_TIME
| .text
.file "extr_cmd.c_mlx4_slave_cmd.c"
.p2align 4, 0x90 # -- Begin function mlx4_slave_cmd
.type mlx4_slave_cmd,@function
mlx4_slave_cmd: # @mlx4_slave_cmd
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $24, %rsp
.cfi_def_cfa_offset 80
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %r9, %rbp
movl %r8d, %r13d
movl %ecx, 12(%rsp) # 4-byte Spill
movq %rdx, %rbx
movl %esi, %r15d
movq %rdi, %r12
callq mlx4_priv@PLT
movq 8(%rax), %r14
movq %rax, 16(%rsp) # 8-byte Spill
movq %rax, %rdi
callq mutex_lock@PLT
movl %r15d, %edi
callq cpu_to_be64@PLT
movq %rax, 48(%r14)
testq %rbx, %rbx
je .LBB0_1
# %bb.2:
movl (%rbx), %edi
callq cpu_to_be64@PLT
jmp .LBB0_3
.LBB0_1:
xorl %eax, %eax
.LBB0_3:
movq %rax, 16(%r14)
movl %r13d, %edi
callq cpu_to_be32@PLT
movl %eax, 40(%r14)
shll $12, %ebp
movl 80(%rsp), %r13d
movl %r13d, %edi
andl $4095, %edi # imm = 0xFFF
orl %ebp, %edi
callq cpu_to_be16@PLT
movq %rax, 32(%r14)
movl CMD_POLL_TOKEN(%rip), %edi
callq cpu_to_be16@PLT
movq %rax, 24(%r14)
movq $0, 8(%r14)
xorl %eax, %eax
movq 16(%rsp), %r15 # 8-byte Reload
cmpl $0, 4(%r15)
setne %al
shll $6, %eax
movl %eax, (%r14)
movq %r12, %rdi
callq mlx4_is_master@PLT
testq %rax, %rax
je .LBB0_10
# %bb.4:
movl (%r12), %esi
movq %r12, %rdi
movq %r14, %rdx
callq mlx4_master_process_vhcr@PLT
movl %eax, %ebp
testl %eax, %eax
jne .LBB0_12
jmp .LBB0_5
.LBB0_10:
movq 88(%rsp), %rcx
movl MLX4_COMM_CMD_VHCR_POST(%rip), %esi
addq MLX4_COMM_TIME(%rip), %rcx
movq %r12, %rdi
xorl %edx, %edx
callq mlx4_comm_cmd@PLT
testl %eax, %eax
je .LBB0_5
# %bb.11:
movl %eax, %ebp
leaq .L.str.1(%rip), %rsi
movq %r12, %rdi
movl %r13d, %edx
callq mlx4_err@PLT
jmp .LBB0_12
.LBB0_5:
cmpl $0, 12(%rsp) # 4-byte Folded Reload
je .LBB0_9
# %bb.6:
testq %rbx, %rbx
je .LBB0_8
# %bb.7:
movq 16(%r14), %rdi
callq be64_to_cpu@PLT
movl %eax, (%rbx)
jmp .LBB0_9
.LBB0_8:
leaq .L.str(%rip), %rsi
movq %r12, %rdi
movl %r13d, %edx
callq mlx4_err@PLT
movq CMD_STAT_BAD_PARAM(%rip), %rax
movq %rax, 8(%r14)
.LBB0_9:
movq 8(%r14), %rdi
callq mlx4_status_to_errno@PLT
movl %eax, %ebp
.LBB0_12:
movq %r15, %rdi
callq mutex_unlock@PLT
movl %ebp, %eax
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_slave_cmd, .Lfunc_end0-mlx4_slave_cmd
.cfi_endproc
# -- End function
.type CMD_POLL_TOKEN,@object # @CMD_POLL_TOKEN
.bss
.globl CMD_POLL_TOKEN
.p2align 2, 0x0
CMD_POLL_TOKEN:
.long 0 # 0x0
.size CMD_POLL_TOKEN, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "response expected whileoutput mailbox is NULL for command 0x%x\n"
.size .L.str, 64
.type CMD_STAT_BAD_PARAM,@object # @CMD_STAT_BAD_PARAM
.bss
.globl CMD_STAT_BAD_PARAM
.p2align 3, 0x0
CMD_STAT_BAD_PARAM:
.quad 0
.size CMD_STAT_BAD_PARAM, 8
.type MLX4_COMM_CMD_VHCR_POST,@object # @MLX4_COMM_CMD_VHCR_POST
.globl MLX4_COMM_CMD_VHCR_POST
.p2align 2, 0x0
MLX4_COMM_CMD_VHCR_POST:
.long 0 # 0x0
.size MLX4_COMM_CMD_VHCR_POST, 4
.type MLX4_COMM_TIME,@object # @MLX4_COMM_TIME
.globl MLX4_COMM_TIME
.p2align 3, 0x0
MLX4_COMM_TIME:
.quad 0 # 0x0
.size MLX4_COMM_TIME, 8
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "failed execution of VHCR_POST commandopcode 0x%x\n"
.size .L.str.1, 50
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_slave_cmd
| .text
.file "extr_cmd.c_mlx4_slave_cmd.c"
.p2align 4, 0x90 # -- Begin function mlx4_slave_cmd
.type mlx4_slave_cmd,@function
mlx4_slave_cmd: # @mlx4_slave_cmd
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $24, %rsp
.cfi_def_cfa_offset 80
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %r9, %rbp
movl %r8d, %r13d
movl %ecx, 12(%rsp) # 4-byte Spill
movq %rdx, %rbx
movl %esi, %r15d
movq %rdi, %r12
callq mlx4_priv@PLT
movq 8(%rax), %r14
movq %rax, 16(%rsp) # 8-byte Spill
movq %rax, %rdi
callq mutex_lock@PLT
movl %r15d, %edi
callq cpu_to_be64@PLT
movq %rax, 48(%r14)
testq %rbx, %rbx
je .LBB0_1
# %bb.2:
movl (%rbx), %edi
callq cpu_to_be64@PLT
jmp .LBB0_3
.LBB0_1:
xorl %eax, %eax
.LBB0_3:
movq %rax, 16(%r14)
movl %r13d, %edi
callq cpu_to_be32@PLT
movl %eax, 40(%r14)
shll $12, %ebp
movl 80(%rsp), %r13d
movl %r13d, %edi
andl $4095, %edi # imm = 0xFFF
orl %ebp, %edi
callq cpu_to_be16@PLT
movq %rax, 32(%r14)
movl CMD_POLL_TOKEN(%rip), %edi
callq cpu_to_be16@PLT
movq %rax, 24(%r14)
movq $0, 8(%r14)
xorl %eax, %eax
movq 16(%rsp), %r15 # 8-byte Reload
cmpl $0, 4(%r15)
setne %al
shll $6, %eax
movl %eax, (%r14)
movq %r12, %rdi
callq mlx4_is_master@PLT
testq %rax, %rax
je .LBB0_10
# %bb.4:
movl (%r12), %esi
movq %r12, %rdi
movq %r14, %rdx
callq mlx4_master_process_vhcr@PLT
movl %eax, %ebp
testl %eax, %eax
jne .LBB0_12
jmp .LBB0_5
.LBB0_10:
movq 88(%rsp), %rcx
movl MLX4_COMM_CMD_VHCR_POST(%rip), %esi
addq MLX4_COMM_TIME(%rip), %rcx
movq %r12, %rdi
xorl %edx, %edx
callq mlx4_comm_cmd@PLT
testl %eax, %eax
je .LBB0_5
# %bb.11:
movl %eax, %ebp
leaq .L.str.1(%rip), %rsi
movq %r12, %rdi
movl %r13d, %edx
callq mlx4_err@PLT
jmp .LBB0_12
.LBB0_5:
cmpl $0, 12(%rsp) # 4-byte Folded Reload
je .LBB0_9
# %bb.6:
testq %rbx, %rbx
je .LBB0_8
# %bb.7:
movq 16(%r14), %rdi
callq be64_to_cpu@PLT
movl %eax, (%rbx)
jmp .LBB0_9
.LBB0_8:
leaq .L.str(%rip), %rsi
movq %r12, %rdi
movl %r13d, %edx
callq mlx4_err@PLT
movq CMD_STAT_BAD_PARAM(%rip), %rax
movq %rax, 8(%r14)
.LBB0_9:
movq 8(%r14), %rdi
callq mlx4_status_to_errno@PLT
movl %eax, %ebp
.LBB0_12:
movq %r15, %rdi
callq mutex_unlock@PLT
movl %ebp, %eax
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_slave_cmd, .Lfunc_end0-mlx4_slave_cmd
.cfi_endproc
# -- End function
.type CMD_POLL_TOKEN,@object # @CMD_POLL_TOKEN
.bss
.globl CMD_POLL_TOKEN
.p2align 2, 0x0
CMD_POLL_TOKEN:
.long 0 # 0x0
.size CMD_POLL_TOKEN, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "response expected whileoutput mailbox is NULL for command 0x%x\n"
.size .L.str, 64
.type CMD_STAT_BAD_PARAM,@object # @CMD_STAT_BAD_PARAM
.bss
.globl CMD_STAT_BAD_PARAM
.p2align 3, 0x0
CMD_STAT_BAD_PARAM:
.quad 0
.size CMD_STAT_BAD_PARAM, 8
.type MLX4_COMM_CMD_VHCR_POST,@object # @MLX4_COMM_CMD_VHCR_POST
.globl MLX4_COMM_CMD_VHCR_POST
.p2align 2, 0x0
MLX4_COMM_CMD_VHCR_POST:
.long 0 # 0x0
.size MLX4_COMM_CMD_VHCR_POST, 4
.type MLX4_COMM_TIME,@object # @MLX4_COMM_TIME
.globl MLX4_COMM_TIME
.p2align 3, 0x0
MLX4_COMM_TIME:
.quad 0 # 0x0
.size MLX4_COMM_TIME, 8
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "failed execution of VHCR_POST commandopcode 0x%x\n"
.size .L.str.1, 50
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_slave_cmd
| .text
.file "extr_cmd.c_mlx4_slave_cmd.c"
.p2align 4, 0x90 # -- Begin function mlx4_slave_cmd
.type mlx4_slave_cmd,@function
mlx4_slave_cmd: # @mlx4_slave_cmd
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $24, %rsp
.cfi_def_cfa_offset 80
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %r9, %rbp
movl %r8d, %r13d
movl %ecx, 12(%rsp) # 4-byte Spill
movq %rdx, %rbx
movl %esi, %r15d
movq %rdi, %r12
callq mlx4_priv@PLT
movq 8(%rax), %r14
movq %rax, 16(%rsp) # 8-byte Spill
movq %rax, %rdi
callq mutex_lock@PLT
movl %r15d, %edi
callq cpu_to_be64@PLT
movq %rax, 48(%r14)
testq %rbx, %rbx
je .LBB0_1
# %bb.2:
movl (%rbx), %edi
callq cpu_to_be64@PLT
jmp .LBB0_3
.LBB0_1:
xorl %eax, %eax
.LBB0_3:
movq %rax, 16(%r14)
movl %r13d, %edi
callq cpu_to_be32@PLT
movl %eax, 40(%r14)
shll $12, %ebp
movl 80(%rsp), %r13d
movl %r13d, %edi
andl $4095, %edi # imm = 0xFFF
orl %ebp, %edi
callq cpu_to_be16@PLT
movq %rax, 32(%r14)
movl CMD_POLL_TOKEN(%rip), %edi
callq cpu_to_be16@PLT
movq %rax, 24(%r14)
movq $0, 8(%r14)
xorl %eax, %eax
movq 16(%rsp), %r15 # 8-byte Reload
cmpl $0, 4(%r15)
setne %al
shll $6, %eax
movl %eax, (%r14)
movq %r12, %rdi
callq mlx4_is_master@PLT
testq %rax, %rax
je .LBB0_10
# %bb.4:
movl (%r12), %esi
movq %r12, %rdi
movq %r14, %rdx
callq mlx4_master_process_vhcr@PLT
movl %eax, %ebp
testl %eax, %eax
jne .LBB0_12
jmp .LBB0_5
.LBB0_10:
movq 88(%rsp), %rcx
movl MLX4_COMM_CMD_VHCR_POST(%rip), %esi
addq MLX4_COMM_TIME(%rip), %rcx
movq %r12, %rdi
xorl %edx, %edx
callq mlx4_comm_cmd@PLT
testl %eax, %eax
je .LBB0_5
# %bb.11:
movl %eax, %ebp
leaq .L.str.1(%rip), %rsi
movq %r12, %rdi
movl %r13d, %edx
callq mlx4_err@PLT
jmp .LBB0_12
.LBB0_5:
cmpl $0, 12(%rsp) # 4-byte Folded Reload
je .LBB0_9
# %bb.6:
testq %rbx, %rbx
je .LBB0_8
# %bb.7:
movq 16(%r14), %rdi
callq be64_to_cpu@PLT
movl %eax, (%rbx)
jmp .LBB0_9
.LBB0_8:
leaq .L.str(%rip), %rsi
movq %r12, %rdi
movl %r13d, %edx
callq mlx4_err@PLT
movq CMD_STAT_BAD_PARAM(%rip), %rax
movq %rax, 8(%r14)
.LBB0_9:
movq 8(%r14), %rdi
callq mlx4_status_to_errno@PLT
movl %eax, %ebp
.LBB0_12:
movq %r15, %rdi
callq mutex_unlock@PLT
movl %ebp, %eax
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_slave_cmd, .Lfunc_end0-mlx4_slave_cmd
.cfi_endproc
# -- End function
.type CMD_POLL_TOKEN,@object # @CMD_POLL_TOKEN
.bss
.globl CMD_POLL_TOKEN
.p2align 2, 0x0
CMD_POLL_TOKEN:
.long 0 # 0x0
.size CMD_POLL_TOKEN, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "response expected whileoutput mailbox is NULL for command 0x%x\n"
.size .L.str, 64
.type CMD_STAT_BAD_PARAM,@object # @CMD_STAT_BAD_PARAM
.bss
.globl CMD_STAT_BAD_PARAM
.p2align 3, 0x0
CMD_STAT_BAD_PARAM:
.quad 0
.size CMD_STAT_BAD_PARAM, 8
.type MLX4_COMM_CMD_VHCR_POST,@object # @MLX4_COMM_CMD_VHCR_POST
.globl MLX4_COMM_CMD_VHCR_POST
.p2align 2, 0x0
MLX4_COMM_CMD_VHCR_POST:
.long 0 # 0x0
.size MLX4_COMM_CMD_VHCR_POST, 4
.type MLX4_COMM_TIME,@object # @MLX4_COMM_TIME
.globl MLX4_COMM_TIME
.p2align 3, 0x0
MLX4_COMM_TIME:
.quad 0 # 0x0
.size MLX4_COMM_TIME, 8
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "failed execution of VHCR_POST commandopcode 0x%x\n"
.size .L.str.1, 50
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mlx4_slave_cmd
|
extr_resource_tracker.c_mlx4_QUERY_EQ_wrapper.c | .text
.file "extr_resource_tracker.c_mlx4_QUERY_EQ_wrapper.c"
.globl mlx4_QUERY_EQ_wrapper // -- Begin function mlx4_QUERY_EQ_wrapper
.p2align 2
.type mlx4_QUERY_EQ_wrapper,@function
mlx4_QUERY_EQ_wrapper: // @mlx4_QUERY_EQ_wrapper
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] // 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur x2, [x29, #-32]
str x3, [sp, #40]
str x4, [sp, #32]
str x5, [sp, #24]
ldur x8, [x29, #-32]
ldr w8, [x8]
str w8, [sp, #20]
ldr w8, [sp, #20]
ldur w9, [x29, #-20]
orr w8, w8, w9, lsl #8
str w8, [sp, #16]
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldr w2, [sp, #16]
adrp x8, RES_EQ
ldr w3, [x8, :lo12:RES_EQ]
add x4, sp, #8
bl get_res
str w0, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr w8, [sp, #4]
stur w8, [x29, #-4]
b .LBB0_6
.LBB0_2:
ldr x8, [sp, #8]
ldr x8, [x8]
adrp x9, RES_EQ_HW
ldr x9, [x9, :lo12:RES_EQ_HW]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
adrp x8, EINVAL
ldr w9, [x8, :lo12:EINVAL]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #4]
b .LBB0_5
.LBB0_4:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldur x2, [x29, #-32]
ldr x3, [sp, #40]
ldr x4, [sp, #32]
ldr x5, [sp, #24]
bl mlx4_DMA_wrapper
str w0, [sp, #4]
b .LBB0_5
.LBB0_5:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldr w2, [sp, #16]
adrp x8, RES_EQ
ldr w3, [x8, :lo12:RES_EQ]
bl put_res
ldr w8, [sp, #4]
stur w8, [x29, #-4]
b .LBB0_6
.LBB0_6:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 96
ldp x29, x30, [sp, #80] // 16-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_QUERY_EQ_wrapper, .Lfunc_end0-mlx4_QUERY_EQ_wrapper
.cfi_endproc
// -- End function
.type RES_EQ,@object // @RES_EQ
.bss
.globl RES_EQ
.p2align 2, 0x0
RES_EQ:
.word 0 // 0x0
.size RES_EQ, 4
.type RES_EQ_HW,@object // @RES_EQ_HW
.globl RES_EQ_HW
.p2align 3, 0x0
RES_EQ_HW:
.xword 0 // 0x0
.size RES_EQ_HW, 8
.type EINVAL,@object // @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym get_res
.addrsig_sym mlx4_DMA_wrapper
.addrsig_sym put_res
.addrsig_sym RES_EQ
.addrsig_sym RES_EQ_HW
.addrsig_sym EINVAL
| .text
.file "extr_resource_tracker.c_mlx4_QUERY_EQ_wrapper.c"
.globl mlx4_QUERY_EQ_wrapper // -- Begin function mlx4_QUERY_EQ_wrapper
.p2align 2
.type mlx4_QUERY_EQ_wrapper,@function
mlx4_QUERY_EQ_wrapper: // @mlx4_QUERY_EQ_wrapper
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-96]! // 16-byte Folded Spill
.cfi_def_cfa_offset 96
str x27, [sp, #16] // 8-byte Folded Spill
stp x26, x25, [sp, #32] // 16-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
ldr w8, [x2]
adrp x27, RES_EQ
mov x23, x4
mov x25, x2
mov x24, x3
add x4, x29, #24
orr w20, w8, w1, lsl #8
ldr w3, [x27, :lo12:RES_EQ]
mov w2, w20
mov x22, x5
mov w19, w1
mov x21, x0
bl get_res
mov w26, w0
cbnz w0, .LBB0_5
// %bb.1:
ldr x8, [x29, #24]
adrp x9, RES_EQ_HW
ldr x8, [x8]
ldr x9, [x9, :lo12:RES_EQ_HW]
cmp x8, x9
b.ne .LBB0_3
// %bb.2:
mov x0, x21
mov w1, w19
mov x2, x25
mov x3, x24
mov x4, x23
mov x5, x22
bl mlx4_DMA_wrapper
mov w26, w0
b .LBB0_4
.LBB0_3:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w26, w8
.LBB0_4:
ldr w3, [x27, :lo12:RES_EQ]
mov x0, x21
mov w1, w19
mov w2, w20
bl put_res
.LBB0_5:
mov w0, w26
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x26, x25, [sp, #32] // 16-byte Folded Reload
ldr x27, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #96 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_QUERY_EQ_wrapper, .Lfunc_end0-mlx4_QUERY_EQ_wrapper
.cfi_endproc
// -- End function
.type RES_EQ,@object // @RES_EQ
.bss
.globl RES_EQ
.p2align 2, 0x0
RES_EQ:
.word 0 // 0x0
.size RES_EQ, 4
.type RES_EQ_HW,@object // @RES_EQ_HW
.globl RES_EQ_HW
.p2align 3, 0x0
RES_EQ_HW:
.xword 0 // 0x0
.size RES_EQ_HW, 8
.type EINVAL,@object // @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_QUERY_EQ_wrapper.c"
.globl mlx4_QUERY_EQ_wrapper // -- Begin function mlx4_QUERY_EQ_wrapper
.p2align 2
.type mlx4_QUERY_EQ_wrapper,@function
mlx4_QUERY_EQ_wrapper: // @mlx4_QUERY_EQ_wrapper
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-96]! // 16-byte Folded Spill
.cfi_def_cfa_offset 96
str x27, [sp, #16] // 8-byte Folded Spill
stp x26, x25, [sp, #32] // 16-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
ldr w8, [x2]
adrp x27, RES_EQ
mov x23, x4
mov x25, x2
mov x24, x3
add x4, x29, #24
orr w20, w8, w1, lsl #8
ldr w3, [x27, :lo12:RES_EQ]
mov w2, w20
mov x22, x5
mov w19, w1
mov x21, x0
bl get_res
mov w26, w0
cbnz w0, .LBB0_5
// %bb.1:
ldr x8, [x29, #24]
adrp x9, RES_EQ_HW
ldr x8, [x8]
ldr x9, [x9, :lo12:RES_EQ_HW]
cmp x8, x9
b.ne .LBB0_3
// %bb.2:
mov x0, x21
mov w1, w19
mov x2, x25
mov x3, x24
mov x4, x23
mov x5, x22
bl mlx4_DMA_wrapper
mov w26, w0
b .LBB0_4
.LBB0_3:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w26, w8
.LBB0_4:
ldr w3, [x27, :lo12:RES_EQ]
mov x0, x21
mov w1, w19
mov w2, w20
bl put_res
.LBB0_5:
mov w0, w26
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x26, x25, [sp, #32] // 16-byte Folded Reload
ldr x27, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #96 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_QUERY_EQ_wrapper, .Lfunc_end0-mlx4_QUERY_EQ_wrapper
.cfi_endproc
// -- End function
.type RES_EQ,@object // @RES_EQ
.bss
.globl RES_EQ
.p2align 2, 0x0
RES_EQ:
.word 0 // 0x0
.size RES_EQ, 4
.type RES_EQ_HW,@object // @RES_EQ_HW
.globl RES_EQ_HW
.p2align 3, 0x0
RES_EQ_HW:
.xword 0 // 0x0
.size RES_EQ_HW, 8
.type EINVAL,@object // @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_QUERY_EQ_wrapper.c"
.globl mlx4_QUERY_EQ_wrapper // -- Begin function mlx4_QUERY_EQ_wrapper
.p2align 2
.type mlx4_QUERY_EQ_wrapper,@function
mlx4_QUERY_EQ_wrapper: // @mlx4_QUERY_EQ_wrapper
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-96]! // 16-byte Folded Spill
.cfi_def_cfa_offset 96
str x27, [sp, #16] // 8-byte Folded Spill
stp x26, x25, [sp, #32] // 16-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
ldr w8, [x2]
adrp x27, RES_EQ
mov x23, x4
mov x25, x2
mov x24, x3
add x4, x29, #24
orr w20, w8, w1, lsl #8
ldr w3, [x27, :lo12:RES_EQ]
mov w2, w20
mov x22, x5
mov w19, w1
mov x21, x0
bl get_res
mov w26, w0
cbnz w0, .LBB0_5
// %bb.1:
ldr x8, [x29, #24]
adrp x9, RES_EQ_HW
ldr x8, [x8]
ldr x9, [x9, :lo12:RES_EQ_HW]
cmp x8, x9
b.ne .LBB0_3
// %bb.2:
mov x0, x21
mov w1, w19
mov x2, x25
mov x3, x24
mov x4, x23
mov x5, x22
bl mlx4_DMA_wrapper
mov w26, w0
b .LBB0_4
.LBB0_3:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w26, w8
.LBB0_4:
ldr w3, [x27, :lo12:RES_EQ]
mov x0, x21
mov w1, w19
mov w2, w20
bl put_res
.LBB0_5:
mov w0, w26
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x26, x25, [sp, #32] // 16-byte Folded Reload
ldr x27, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #96 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mlx4_QUERY_EQ_wrapper, .Lfunc_end0-mlx4_QUERY_EQ_wrapper
.cfi_endproc
// -- End function
.type RES_EQ,@object // @RES_EQ
.bss
.globl RES_EQ
.p2align 2, 0x0
RES_EQ:
.word 0 // 0x0
.size RES_EQ, 4
.type RES_EQ_HW,@object // @RES_EQ_HW
.globl RES_EQ_HW
.p2align 3, 0x0
RES_EQ_HW:
.xword 0 // 0x0
.size RES_EQ_HW, 8
.type EINVAL,@object // @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_QUERY_EQ_wrapper.c"
.globl mlx4_QUERY_EQ_wrapper # -- Begin function mlx4_QUERY_EQ_wrapper
.p2align 4, 0x90
.type mlx4_QUERY_EQ_wrapper,@function
mlx4_QUERY_EQ_wrapper: # @mlx4_QUERY_EQ_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq %r9, -56(%rbp)
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -60(%rbp)
movl -60(%rbp), %eax
movl -20(%rbp), %ecx
shll $8, %ecx
orl %ecx, %eax
movl %eax, -64(%rbp)
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl -64(%rbp), %edx
movl RES_EQ(%rip), %ecx
leaq -72(%rbp), %r8
callq get_res@PLT
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
je .LBB0_2
# %bb.1:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp .LBB0_6
.LBB0_2:
movq -72(%rbp), %rax
movq (%rax), %rax
cmpq RES_EQ_HW(%rip), %rax
je .LBB0_4
# %bb.3:
xorl %eax, %eax
subl EINVAL(%rip), %eax
movl %eax, -76(%rbp)
jmp .LBB0_5
.LBB0_4:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movq -32(%rbp), %rdx
movq -40(%rbp), %rcx
movq -48(%rbp), %r8
movq -56(%rbp), %r9
callq mlx4_DMA_wrapper@PLT
movl %eax, -76(%rbp)
.LBB0_5:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl -64(%rbp), %edx
movl RES_EQ(%rip), %ecx
callq put_res@PLT
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
.LBB0_6:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size mlx4_QUERY_EQ_wrapper, .Lfunc_end0-mlx4_QUERY_EQ_wrapper
.cfi_endproc
# -- End function
.type RES_EQ,@object # @RES_EQ
.bss
.globl RES_EQ
.p2align 2, 0x0
RES_EQ:
.long 0 # 0x0
.size RES_EQ, 4
.type RES_EQ_HW,@object # @RES_EQ_HW
.globl RES_EQ_HW
.p2align 3, 0x0
RES_EQ_HW:
.quad 0 # 0x0
.size RES_EQ_HW, 8
.type EINVAL,@object # @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym get_res
.addrsig_sym mlx4_DMA_wrapper
.addrsig_sym put_res
.addrsig_sym RES_EQ
.addrsig_sym RES_EQ_HW
.addrsig_sym EINVAL
| .text
.file "extr_resource_tracker.c_mlx4_QUERY_EQ_wrapper.c"
.globl mlx4_QUERY_EQ_wrapper # -- Begin function mlx4_QUERY_EQ_wrapper
.p2align 4, 0x90
.type mlx4_QUERY_EQ_wrapper,@function
mlx4_QUERY_EQ_wrapper: # @mlx4_QUERY_EQ_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $24, %rsp
.cfi_def_cfa_offset 80
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %r9, 8(%rsp) # 8-byte Spill
movq %r8, (%rsp) # 8-byte Spill
movq %rcx, %r13
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %ebp
shll $8, %ebp
orl (%rdx), %ebp
movl RES_EQ(%rip), %ecx
leaq 16(%rsp), %r8
movl %ebp, %edx
callq get_res@PLT
movl %eax, %r12d
testl %eax, %eax
jne .LBB0_5
# %bb.1:
movq (%rsp), %r8 # 8-byte Reload
movq 8(%rsp), %r9 # 8-byte Reload
movq 16(%rsp), %rax
movq (%rax), %rax
cmpq RES_EQ_HW(%rip), %rax
jne .LBB0_2
# %bb.3:
movq %r14, %rdi
movl %ebx, %esi
movq %r15, %rdx
movq %r13, %rcx
callq mlx4_DMA_wrapper@PLT
movl %eax, %r12d
jmp .LBB0_4
.LBB0_2:
xorl %r12d, %r12d
subl EINVAL(%rip), %r12d
.LBB0_4:
movl RES_EQ(%rip), %ecx
movq %r14, %rdi
movl %ebx, %esi
movl %ebp, %edx
callq put_res@PLT
.LBB0_5:
movl %r12d, %eax
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_QUERY_EQ_wrapper, .Lfunc_end0-mlx4_QUERY_EQ_wrapper
.cfi_endproc
# -- End function
.type RES_EQ,@object # @RES_EQ
.bss
.globl RES_EQ
.p2align 2, 0x0
RES_EQ:
.long 0 # 0x0
.size RES_EQ, 4
.type RES_EQ_HW,@object # @RES_EQ_HW
.globl RES_EQ_HW
.p2align 3, 0x0
RES_EQ_HW:
.quad 0 # 0x0
.size RES_EQ_HW, 8
.type EINVAL,@object # @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_QUERY_EQ_wrapper.c"
.globl mlx4_QUERY_EQ_wrapper # -- Begin function mlx4_QUERY_EQ_wrapper
.p2align 4, 0x90
.type mlx4_QUERY_EQ_wrapper,@function
mlx4_QUERY_EQ_wrapper: # @mlx4_QUERY_EQ_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $24, %rsp
.cfi_def_cfa_offset 80
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %r9, 8(%rsp) # 8-byte Spill
movq %r8, (%rsp) # 8-byte Spill
movq %rcx, %r13
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %ebp
shll $8, %ebp
orl (%rdx), %ebp
movl RES_EQ(%rip), %ecx
leaq 16(%rsp), %r8
movl %ebp, %edx
callq get_res@PLT
movl %eax, %r12d
testl %eax, %eax
jne .LBB0_5
# %bb.1:
movq (%rsp), %r8 # 8-byte Reload
movq 8(%rsp), %r9 # 8-byte Reload
movq 16(%rsp), %rax
movq (%rax), %rax
cmpq RES_EQ_HW(%rip), %rax
jne .LBB0_2
# %bb.3:
movq %r14, %rdi
movl %ebx, %esi
movq %r15, %rdx
movq %r13, %rcx
callq mlx4_DMA_wrapper@PLT
movl %eax, %r12d
jmp .LBB0_4
.LBB0_2:
xorl %r12d, %r12d
subl EINVAL(%rip), %r12d
.LBB0_4:
movl RES_EQ(%rip), %ecx
movq %r14, %rdi
movl %ebx, %esi
movl %ebp, %edx
callq put_res@PLT
.LBB0_5:
movl %r12d, %eax
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_QUERY_EQ_wrapper, .Lfunc_end0-mlx4_QUERY_EQ_wrapper
.cfi_endproc
# -- End function
.type RES_EQ,@object # @RES_EQ
.bss
.globl RES_EQ
.p2align 2, 0x0
RES_EQ:
.long 0 # 0x0
.size RES_EQ, 4
.type RES_EQ_HW,@object # @RES_EQ_HW
.globl RES_EQ_HW
.p2align 3, 0x0
RES_EQ_HW:
.quad 0 # 0x0
.size RES_EQ_HW, 8
.type EINVAL,@object # @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_resource_tracker.c_mlx4_QUERY_EQ_wrapper.c"
.globl mlx4_QUERY_EQ_wrapper # -- Begin function mlx4_QUERY_EQ_wrapper
.p2align 4, 0x90
.type mlx4_QUERY_EQ_wrapper,@function
mlx4_QUERY_EQ_wrapper: # @mlx4_QUERY_EQ_wrapper
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $24, %rsp
.cfi_def_cfa_offset 80
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %r9, 8(%rsp) # 8-byte Spill
movq %r8, (%rsp) # 8-byte Spill
movq %rcx, %r13
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %ebp
shll $8, %ebp
orl (%rdx), %ebp
movl RES_EQ(%rip), %ecx
leaq 16(%rsp), %r8
movl %ebp, %edx
callq get_res@PLT
movl %eax, %r12d
testl %eax, %eax
jne .LBB0_5
# %bb.1:
movq (%rsp), %r8 # 8-byte Reload
movq 8(%rsp), %r9 # 8-byte Reload
movq 16(%rsp), %rax
movq (%rax), %rax
cmpq RES_EQ_HW(%rip), %rax
jne .LBB0_2
# %bb.3:
movq %r14, %rdi
movl %ebx, %esi
movq %r15, %rdx
movq %r13, %rcx
callq mlx4_DMA_wrapper@PLT
movl %eax, %r12d
jmp .LBB0_4
.LBB0_2:
xorl %r12d, %r12d
subl EINVAL(%rip), %r12d
.LBB0_4:
movl RES_EQ(%rip), %ecx
movq %r14, %rdi
movl %ebx, %esi
movl %ebp, %edx
callq put_res@PLT
.LBB0_5:
movl %r12d, %eax
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mlx4_QUERY_EQ_wrapper, .Lfunc_end0-mlx4_QUERY_EQ_wrapper
.cfi_endproc
# -- End function
.type RES_EQ,@object # @RES_EQ
.bss
.globl RES_EQ
.p2align 2, 0x0
RES_EQ:
.long 0 # 0x0
.size RES_EQ, 4
.type RES_EQ_HW,@object # @RES_EQ_HW
.globl RES_EQ_HW
.p2align 3, 0x0
RES_EQ_HW:
.quad 0 # 0x0
.size RES_EQ_HW, 8
.type EINVAL,@object # @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_ltpc.c_ltpc_ioctl.c | .text
.file "extr_ltpc.c_ltpc_ioctl.c"
.p2align 2 // -- Begin function ltpc_ioctl
.type ltpc_ioctl,@function
ltpc_ioctl: // @ltpc_ioctl
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] // 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
ldur x8, [x29, #-24]
str x8, [sp, #40]
ldur x0, [x29, #-16]
bl netdev_priv
str x0, [sp, #32]
ldr x8, [sp, #32]
str x8, [sp, #24]
adrp x8, debug
ldr w8, [x8, :lo12:debug]
adrp x9, DEBUG_VERBOSE
ldr w9, [x9, :lo12:DEBUG_VERBOSE]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
b .LBB0_2
.LBB0_2:
ldur w8, [x29, #-28]
str w8, [sp, #8] // 4-byte Folded Spill
subs w8, w8, #128
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
ldr w8, [sp, #8] // 4-byte Folded Reload
subs w8, w8, #129
cset w8, eq
tbnz w8, #0, .LBB0_5
b .LBB0_6
.LBB0_4:
ldr x8, [sp, #40]
ldr w8, [x8, #4]
ldr x9, [sp, #24]
str w8, [x9, #4]
adrp x8, LT_INIT
ldr w8, [x8, :lo12:LT_INIT]
add x3, sp, #16
str w8, [sp, #20]
ldr x8, [sp, #40]
ldr w8, [x8]
str w8, [sp, #16]
ldur x0, [x29, #-16]
mov x1, x3
mov w2, #8 // =0x8
mov w4, wzr
bl do_read
ldr x8, [sp, #24]
str w0, [x8]
ldur x0, [x29, #-16]
bl read_30
str w0, [sp, #12]
adrp x8, LT_FLAG_ALLLAP
ldr w9, [x8, :lo12:LT_FLAG_ALLLAP]
ldr w8, [sp, #12]
orr w8, w8, w9
str w8, [sp, #12]
ldur x0, [x29, #-16]
ldr w1, [sp, #12]
bl set_30
ldur x8, [x29, #-16]
ldr x9, [x8]
mov w8, #255 // =0xff
str w8, [x9]
ldr x8, [sp, #24]
ldr w8, [x8]
ldur x9, [x29, #-16]
ldr x9, [x9, #16]
str w8, [x9]
ldur x9, [x29, #-16]
mov w8, #1 // =0x1
str w8, [x9, #8]
stur wzr, [x29, #-4]
b .LBB0_7
.LBB0_5:
ldr x8, [sp, #24]
ldr w8, [x8, #4]
ldr x9, [sp, #40]
str w8, [x9, #4]
ldr x8, [sp, #24]
ldr w8, [x8]
ldr x9, [sp, #40]
str w8, [x9]
stur wzr, [x29, #-4]
b .LBB0_7
.LBB0_6:
adrp x8, EINVAL
ldr w9, [x8, :lo12:EINVAL]
mov w8, wzr
subs w8, w8, w9
stur w8, [x29, #-4]
b .LBB0_7
.LBB0_7:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 96
ldp x29, x30, [sp, #80] // 16-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_ioctl, .Lfunc_end0-ltpc_ioctl
.cfi_endproc
// -- End function
.type debug,@object // @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object // @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.word 0 // 0x0
.size DEBUG_VERBOSE, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_ioctl called\n"
.size .L.str, 19
.type LT_INIT,@object // @LT_INIT
.bss
.globl LT_INIT
.p2align 2, 0x0
LT_INIT:
.word 0 // 0x0
.size LT_INIT, 4
.type LT_FLAG_ALLLAP,@object // @LT_FLAG_ALLLAP
.globl LT_FLAG_ALLLAP
.p2align 2, 0x0
LT_FLAG_ALLLAP:
.word 0 // 0x0
.size LT_FLAG_ALLLAP, 4
.type EINVAL,@object // @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_ioctl
.addrsig_sym netdev_priv
.addrsig_sym printk
.addrsig_sym do_read
.addrsig_sym read_30
.addrsig_sym set_30
.addrsig_sym debug
.addrsig_sym DEBUG_VERBOSE
.addrsig_sym LT_INIT
.addrsig_sym LT_FLAG_ALLLAP
.addrsig_sym EINVAL
| .text
.file "extr_ltpc.c_ltpc_ioctl.c"
.p2align 2 // -- Begin function ltpc_ioctl
.type ltpc_ioctl,@function
ltpc_ioctl: // @ltpc_ioctl
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #16] // 16-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w22, w2
mov x21, x1
mov x19, x0
bl netdev_priv
adrp x8, debug
adrp x9, DEBUG_VERBOSE
mov x20, x0
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_VERBOSE]
tst w9, w8
b.eq .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
.LBB0_2:
cmp w22, #129
b.eq .LBB0_5
// %bb.3:
cmp w22, #128
b.ne .LBB0_6
// %bb.4:
adrp x8, LT_INIT
add x1, sp, #8
ldp w10, w9, [x21]
add x3, sp, #8
mov x0, x19
ldr w8, [x8, :lo12:LT_INIT]
mov w2, #8 // =0x8
mov w4, wzr
str w9, [x20, #4]
stp w10, w8, [sp, #8]
bl do_read
str w0, [x20]
mov x0, x19
bl read_30
adrp x8, LT_FLAG_ALLLAP
ldr w8, [x8, :lo12:LT_FLAG_ALLLAP]
orr w1, w8, w0
mov x0, x19
bl set_30
ldr x8, [x19]
mov w9, #255 // =0xff
ldr x10, [x19, #16]
mov w0, wzr
str w9, [x8]
mov w9, #1 // =0x1
ldr w8, [x20]
str w8, [x10]
str w9, [x19, #8]
b .LBB0_7
.LBB0_5:
ldp w9, w8, [x20]
mov w0, wzr
stp w9, w8, [x21]
b .LBB0_7
.LBB0_6:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w0, w8
.LBB0_7:
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_ioctl, .Lfunc_end0-ltpc_ioctl
.cfi_endproc
// -- End function
.type debug,@object // @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object // @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.word 0 // 0x0
.size DEBUG_VERBOSE, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_ioctl called\n"
.size .L.str, 19
.type LT_INIT,@object // @LT_INIT
.bss
.globl LT_INIT
.p2align 2, 0x0
LT_INIT:
.word 0 // 0x0
.size LT_INIT, 4
.type LT_FLAG_ALLLAP,@object // @LT_FLAG_ALLLAP
.globl LT_FLAG_ALLLAP
.p2align 2, 0x0
LT_FLAG_ALLLAP:
.word 0 // 0x0
.size LT_FLAG_ALLLAP, 4
.type EINVAL,@object // @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_ioctl
| .text
.file "extr_ltpc.c_ltpc_ioctl.c"
.p2align 2 // -- Begin function ltpc_ioctl
.type ltpc_ioctl,@function
ltpc_ioctl: // @ltpc_ioctl
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #16] // 16-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w22, w2
mov x21, x1
mov x19, x0
bl netdev_priv
adrp x8, debug
adrp x9, DEBUG_VERBOSE
mov x20, x0
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_VERBOSE]
tst w9, w8
b.eq .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
.LBB0_2:
cmp w22, #129
b.eq .LBB0_5
// %bb.3:
cmp w22, #128
b.ne .LBB0_6
// %bb.4:
adrp x8, LT_INIT
add x1, sp, #8
ldp w10, w9, [x21]
add x3, sp, #8
mov x0, x19
ldr w8, [x8, :lo12:LT_INIT]
mov w2, #8 // =0x8
mov w4, wzr
str w9, [x20, #4]
stp w10, w8, [sp, #8]
bl do_read
str w0, [x20]
mov x0, x19
bl read_30
adrp x8, LT_FLAG_ALLLAP
ldr w8, [x8, :lo12:LT_FLAG_ALLLAP]
orr w1, w8, w0
mov x0, x19
bl set_30
ldr x8, [x19]
mov w9, #255 // =0xff
ldr x10, [x19, #16]
mov w0, wzr
str w9, [x8]
mov w9, #1 // =0x1
ldr w8, [x20]
str w8, [x10]
str w9, [x19, #8]
b .LBB0_7
.LBB0_5:
ldr d0, [x20]
mov w0, wzr
str d0, [x21]
b .LBB0_7
.LBB0_6:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w0, w8
.LBB0_7:
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_ioctl, .Lfunc_end0-ltpc_ioctl
.cfi_endproc
// -- End function
.type debug,@object // @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object // @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.word 0 // 0x0
.size DEBUG_VERBOSE, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_ioctl called\n"
.size .L.str, 19
.type LT_INIT,@object // @LT_INIT
.bss
.globl LT_INIT
.p2align 2, 0x0
LT_INIT:
.word 0 // 0x0
.size LT_INIT, 4
.type LT_FLAG_ALLLAP,@object // @LT_FLAG_ALLLAP
.globl LT_FLAG_ALLLAP
.p2align 2, 0x0
LT_FLAG_ALLLAP:
.word 0 // 0x0
.size LT_FLAG_ALLLAP, 4
.type EINVAL,@object // @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_ioctl
| .text
.file "extr_ltpc.c_ltpc_ioctl.c"
.p2align 2 // -- Begin function ltpc_ioctl
.type ltpc_ioctl,@function
ltpc_ioctl: // @ltpc_ioctl
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #16] // 16-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
mov w22, w2
mov x21, x1
mov x19, x0
bl netdev_priv
adrp x8, debug
adrp x9, DEBUG_VERBOSE
mov x20, x0
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_VERBOSE]
tst w9, w8
b.eq .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
.LBB0_2:
cmp w22, #129
b.eq .LBB0_5
// %bb.3:
cmp w22, #128
b.ne .LBB0_6
// %bb.4:
adrp x8, LT_INIT
add x1, sp, #8
ldp w10, w9, [x21]
add x3, sp, #8
mov x0, x19
ldr w8, [x8, :lo12:LT_INIT]
mov w2, #8 // =0x8
mov w4, wzr
str w9, [x20, #4]
stp w10, w8, [sp, #8]
bl do_read
str w0, [x20]
mov x0, x19
bl read_30
adrp x8, LT_FLAG_ALLLAP
ldr w8, [x8, :lo12:LT_FLAG_ALLLAP]
orr w1, w8, w0
mov x0, x19
bl set_30
ldr x8, [x19]
mov w9, #255 // =0xff
ldr x10, [x19, #16]
mov w0, wzr
str w9, [x8]
mov w9, #1 // =0x1
ldr w8, [x20]
str w8, [x10]
str w9, [x19, #8]
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
.cfi_remember_state
ldr d0, [x20]
mov w0, wzr
str d0, [x21]
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_6:
.cfi_restore_state
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w0, w8
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_ioctl, .Lfunc_end0-ltpc_ioctl
.cfi_endproc
// -- End function
.type debug,@object // @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object // @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.word 0 // 0x0
.size DEBUG_VERBOSE, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_ioctl called\n"
.size .L.str, 19
.type LT_INIT,@object // @LT_INIT
.bss
.globl LT_INIT
.p2align 2, 0x0
LT_INIT:
.word 0 // 0x0
.size LT_INIT, 4
.type LT_FLAG_ALLLAP,@object // @LT_FLAG_ALLLAP
.globl LT_FLAG_ALLLAP
.p2align 2, 0x0
LT_FLAG_ALLLAP:
.word 0 // 0x0
.size LT_FLAG_ALLLAP, 4
.type EINVAL,@object // @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_ioctl
| .text
.file "extr_ltpc.c_ltpc_ioctl.c"
.p2align 4, 0x90 # -- Begin function ltpc_ioctl
.type ltpc_ioctl,@function
ltpc_ioctl: # @ltpc_ioctl
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movq -24(%rbp), %rax
movq %rax, -40(%rbp)
movq -16(%rbp), %rdi
callq netdev_priv@PLT
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq %rax, -56(%rbp)
movl debug(%rip), %eax
andl DEBUG_VERBOSE(%rip), %eax
cmpl $0, %eax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_2:
movl -28(%rbp), %eax
movl %eax, -72(%rbp) # 4-byte Spill
subl $128, %eax
je .LBB0_3
jmp .LBB0_7
.LBB0_7:
movl -72(%rbp), %eax # 4-byte Reload
subl $129, %eax
je .LBB0_4
jmp .LBB0_5
.LBB0_3:
movq -40(%rbp), %rax
movl 4(%rax), %ecx
movq -56(%rbp), %rax
movl %ecx, 4(%rax)
movl LT_INIT(%rip), %eax
movl %eax, -60(%rbp)
movq -40(%rbp), %rax
movl (%rax), %eax
movl %eax, -64(%rbp)
movq -16(%rbp), %rdi
leaq -64(%rbp), %rcx
movl $8, %edx
xorl %r8d, %r8d
movq %rcx, %rsi
callq do_read@PLT
movl %eax, %ecx
movq -56(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rdi
callq read_30@PLT
movl %eax, -68(%rbp)
movl LT_FLAG_ALLLAP(%rip), %eax
orl -68(%rbp), %eax
movl %eax, -68(%rbp)
movq -16(%rbp), %rdi
movl -68(%rbp), %esi
callq set_30@PLT
movq -16(%rbp), %rax
movq (%rax), %rax
movl $255, (%rax)
movq -56(%rbp), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movq 16(%rax), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movl $1, 8(%rax)
movl $0, -4(%rbp)
jmp .LBB0_6
.LBB0_4:
movq -56(%rbp), %rax
movl 4(%rax), %ecx
movq -40(%rbp), %rax
movl %ecx, 4(%rax)
movq -56(%rbp), %rax
movl (%rax), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movl $0, -4(%rbp)
jmp .LBB0_6
.LBB0_5:
xorl %eax, %eax
subl EINVAL(%rip), %eax
movl %eax, -4(%rbp)
.LBB0_6:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ltpc_ioctl, .Lfunc_end0-ltpc_ioctl
.cfi_endproc
# -- End function
.type debug,@object # @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object # @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.long 0 # 0x0
.size DEBUG_VERBOSE, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_ioctl called\n"
.size .L.str, 19
.type LT_INIT,@object # @LT_INIT
.bss
.globl LT_INIT
.p2align 2, 0x0
LT_INIT:
.long 0 # 0x0
.size LT_INIT, 4
.type LT_FLAG_ALLLAP,@object # @LT_FLAG_ALLLAP
.globl LT_FLAG_ALLLAP
.p2align 2, 0x0
LT_FLAG_ALLLAP:
.long 0 # 0x0
.size LT_FLAG_ALLLAP, 4
.type EINVAL,@object # @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_ioctl
.addrsig_sym netdev_priv
.addrsig_sym printk
.addrsig_sym do_read
.addrsig_sym read_30
.addrsig_sym set_30
.addrsig_sym debug
.addrsig_sym DEBUG_VERBOSE
.addrsig_sym LT_INIT
.addrsig_sym LT_FLAG_ALLLAP
.addrsig_sym EINVAL
| .text
.file "extr_ltpc.c_ltpc_ioctl.c"
.p2align 4, 0x90 # -- Begin function ltpc_ioctl
.type ltpc_ioctl,@function
ltpc_ioctl: # @ltpc_ioctl
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq netdev_priv@PLT
movq %rax, %r14
movl DEBUG_VERBOSE(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_2:
cmpl $129, %ebp
je .LBB0_5
# %bb.3:
cmpl $128, %ebp
jne .LBB0_6
# %bb.4:
movl 4(%r15), %eax
movl %eax, 4(%r14)
movl LT_INIT(%rip), %eax
movl %eax, 4(%rsp)
movl (%r15), %eax
movl %eax, (%rsp)
movq %rsp, %rcx
xorl %ebp, %ebp
movq %rbx, %rdi
movq %rcx, %rsi
movl $8, %edx
xorl %r8d, %r8d
callq do_read@PLT
movl %eax, (%r14)
movq %rbx, %rdi
callq read_30@PLT
orl LT_FLAG_ALLLAP(%rip), %eax
movq %rbx, %rdi
movl %eax, %esi
callq set_30@PLT
movq (%rbx), %rax
movl $255, (%rax)
movl (%r14), %eax
movq 16(%rbx), %rcx
movl %eax, (%rcx)
movl $1, 8(%rbx)
jmp .LBB0_7
.LBB0_5:
movl 4(%r14), %eax
movl %eax, 4(%r15)
movl (%r14), %eax
movl %eax, (%r15)
xorl %ebp, %ebp
jmp .LBB0_7
.LBB0_6:
xorl %ebp, %ebp
subl EINVAL(%rip), %ebp
.LBB0_7:
movl %ebp, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_ioctl, .Lfunc_end0-ltpc_ioctl
.cfi_endproc
# -- End function
.type debug,@object # @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object # @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.long 0 # 0x0
.size DEBUG_VERBOSE, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_ioctl called\n"
.size .L.str, 19
.type LT_INIT,@object # @LT_INIT
.bss
.globl LT_INIT
.p2align 2, 0x0
LT_INIT:
.long 0 # 0x0
.size LT_INIT, 4
.type LT_FLAG_ALLLAP,@object # @LT_FLAG_ALLLAP
.globl LT_FLAG_ALLLAP
.p2align 2, 0x0
LT_FLAG_ALLLAP:
.long 0 # 0x0
.size LT_FLAG_ALLLAP, 4
.type EINVAL,@object # @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_ioctl
| .text
.file "extr_ltpc.c_ltpc_ioctl.c"
.p2align 4, 0x90 # -- Begin function ltpc_ioctl
.type ltpc_ioctl,@function
ltpc_ioctl: # @ltpc_ioctl
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq netdev_priv@PLT
movq %rax, %r14
movl DEBUG_VERBOSE(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_2:
cmpl $129, %ebp
je .LBB0_5
# %bb.3:
cmpl $128, %ebp
jne .LBB0_6
# %bb.4:
movl 4(%r15), %eax
movl %eax, 4(%r14)
movl LT_INIT(%rip), %eax
movl %eax, 4(%rsp)
movl (%r15), %eax
movl %eax, (%rsp)
movq %rsp, %rcx
xorl %ebp, %ebp
movq %rbx, %rdi
movq %rcx, %rsi
movl $8, %edx
xorl %r8d, %r8d
callq do_read@PLT
movl %eax, (%r14)
movq %rbx, %rdi
callq read_30@PLT
orl LT_FLAG_ALLLAP(%rip), %eax
movq %rbx, %rdi
movl %eax, %esi
callq set_30@PLT
movq (%rbx), %rax
movl $255, (%rax)
movl (%r14), %eax
movq 16(%rbx), %rcx
movl %eax, (%rcx)
movl $1, 8(%rbx)
jmp .LBB0_7
.LBB0_5:
movq (%r14), %rax
movq %rax, (%r15)
xorl %ebp, %ebp
jmp .LBB0_7
.LBB0_6:
xorl %ebp, %ebp
subl EINVAL(%rip), %ebp
.LBB0_7:
movl %ebp, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_ioctl, .Lfunc_end0-ltpc_ioctl
.cfi_endproc
# -- End function
.type debug,@object # @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object # @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.long 0 # 0x0
.size DEBUG_VERBOSE, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_ioctl called\n"
.size .L.str, 19
.type LT_INIT,@object # @LT_INIT
.bss
.globl LT_INIT
.p2align 2, 0x0
LT_INIT:
.long 0 # 0x0
.size LT_INIT, 4
.type LT_FLAG_ALLLAP,@object # @LT_FLAG_ALLLAP
.globl LT_FLAG_ALLLAP
.p2align 2, 0x0
LT_FLAG_ALLLAP:
.long 0 # 0x0
.size LT_FLAG_ALLLAP, 4
.type EINVAL,@object # @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_ioctl
| .text
.file "extr_ltpc.c_ltpc_ioctl.c"
.p2align 4, 0x90 # -- Begin function ltpc_ioctl
.type ltpc_ioctl,@function
ltpc_ioctl: # @ltpc_ioctl
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq netdev_priv@PLT
movq %rax, %r14
movl DEBUG_VERBOSE(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_2:
cmpl $129, %ebp
je .LBB0_5
# %bb.3:
cmpl $128, %ebp
jne .LBB0_6
# %bb.4:
movl 4(%r15), %eax
movl %eax, 4(%r14)
movl LT_INIT(%rip), %eax
movl %eax, 4(%rsp)
movl (%r15), %eax
movl %eax, (%rsp)
movq %rsp, %rcx
xorl %ebp, %ebp
movq %rbx, %rdi
movq %rcx, %rsi
movl $8, %edx
xorl %r8d, %r8d
callq do_read@PLT
movl %eax, (%r14)
movq %rbx, %rdi
callq read_30@PLT
orl LT_FLAG_ALLLAP(%rip), %eax
movq %rbx, %rdi
movl %eax, %esi
callq set_30@PLT
movq (%rbx), %rax
movl $255, (%rax)
movl (%r14), %eax
movq 16(%rbx), %rcx
movl %eax, (%rcx)
movl $1, 8(%rbx)
jmp .LBB0_7
.LBB0_5:
movq (%r14), %rax
movq %rax, (%r15)
xorl %ebp, %ebp
jmp .LBB0_7
.LBB0_6:
xorl %ebp, %ebp
subl EINVAL(%rip), %ebp
.LBB0_7:
movl %ebp, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_ioctl, .Lfunc_end0-ltpc_ioctl
.cfi_endproc
# -- End function
.type debug,@object # @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object # @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.long 0 # 0x0
.size DEBUG_VERBOSE, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_ioctl called\n"
.size .L.str, 19
.type LT_INIT,@object # @LT_INIT
.bss
.globl LT_INIT
.p2align 2, 0x0
LT_INIT:
.long 0 # 0x0
.size LT_INIT, 4
.type LT_FLAG_ALLLAP,@object # @LT_FLAG_ALLLAP
.globl LT_FLAG_ALLLAP
.p2align 2, 0x0
LT_FLAG_ALLLAP:
.long 0 # 0x0
.size LT_FLAG_ALLLAP, 4
.type EINVAL,@object # @EINVAL
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_ioctl
|
extr_resource_tracker.c_mtt_alloc_res.c | .text
.file "extr_resource_tracker.c_mtt_alloc_res.c"
.p2align 2 // -- Begin function mtt_alloc_res
.type mtt_alloc_res,@function
mtt_alloc_res: // @mtt_alloc_res
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur w2, [x29, #-24]
stur w3, [x29, #-28]
str w4, [sp, #32]
str x5, [sp, #24]
adrp x8, EINVAL
ldr w9, [x8, :lo12:EINVAL]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #20]
ldur w8, [x29, #-24]
adrp x9, RES_OP_RESERVE_AND_MAP
ldr w9, [x9, :lo12:RES_OP_RESERVE_AND_MAP]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr w8, [sp, #20]
stur w8, [x29, #-4]
b .LBB0_8
.LBB0_2:
add x0, sp, #32
bl get_param_l
str w0, [sp, #12]
ldur x0, [x29, #-16]
ldr w1, [sp, #12]
bl __mlx4_alloc_mtt_range
str w0, [sp, #16]
ldr w8, [sp, #16]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
adrp x8, ENOMEM
ldr w9, [x8, :lo12:ENOMEM]
mov w8, wzr
subs w8, w8, w9
stur w8, [x29, #-4]
b .LBB0_8
.LBB0_4:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldr w2, [sp, #16]
adrp x8, RES_MTT
ldr w4, [x8, :lo12:RES_MTT]
ldr w5, [sp, #12]
mov w3, #1 // =0x1
bl add_res_range
str w0, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
ldur x0, [x29, #-16]
ldr w1, [sp, #16]
ldr w2, [sp, #12]
bl __mlx4_free_mtt_range
b .LBB0_7
.LBB0_6:
ldr x0, [sp, #24]
ldr w1, [sp, #16]
bl set_param_l
b .LBB0_7
.LBB0_7:
ldr w8, [sp, #20]
stur w8, [x29, #-4]
b .LBB0_8
.LBB0_8:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mtt_alloc_res, .Lfunc_end0-mtt_alloc_res
.cfi_endproc
// -- End function
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type RES_OP_RESERVE_AND_MAP,@object // @RES_OP_RESERVE_AND_MAP
.globl RES_OP_RESERVE_AND_MAP
.p2align 2, 0x0
RES_OP_RESERVE_AND_MAP:
.word 0 // 0x0
.size RES_OP_RESERVE_AND_MAP, 4
.type ENOMEM,@object // @ENOMEM
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type RES_MTT,@object // @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.word 0 // 0x0
.size RES_MTT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mtt_alloc_res
.addrsig_sym get_param_l
.addrsig_sym __mlx4_alloc_mtt_range
.addrsig_sym add_res_range
.addrsig_sym __mlx4_free_mtt_range
.addrsig_sym set_param_l
.addrsig_sym EINVAL
.addrsig_sym RES_OP_RESERVE_AND_MAP
.addrsig_sym ENOMEM
.addrsig_sym RES_MTT
| .text
.file "extr_resource_tracker.c_mtt_alloc_res.c"
.p2align 2 // -- Begin function mtt_alloc_res
.type mtt_alloc_res,@function
mtt_alloc_res: // @mtt_alloc_res
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
adrp x8, RES_OP_RESERVE_AND_MAP
str w4, [x29, #28]
ldr w8, [x8, :lo12:RES_OP_RESERVE_AND_MAP]
cmp w8, w2
b.ne .LBB0_4
// %bb.1:
mov x20, x0
add x0, x29, #28
mov x19, x5
mov w22, w1
bl get_param_l
mov w21, w0
mov x0, x20
mov w1, w21
bl __mlx4_alloc_mtt_range
cmn w0, #1
b.eq .LBB0_5
// %bb.2:
adrp x8, RES_MTT
mov w23, w0
mov x0, x20
mov w1, w22
mov w2, w23
mov w3, #1 // =0x1
ldr w4, [x8, :lo12:RES_MTT]
mov w5, w21
bl add_res_range
mov w22, w0
cbz w0, .LBB0_6
// %bb.3:
mov x0, x20
mov w1, w23
mov w2, w21
bl __mlx4_free_mtt_range
b .LBB0_7
.LBB0_4:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w22, w8
b .LBB0_7
.LBB0_5:
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
neg w22, w8
b .LBB0_7
.LBB0_6:
mov x0, x19
mov w1, w23
bl set_param_l
.LBB0_7:
mov w0, w22
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mtt_alloc_res, .Lfunc_end0-mtt_alloc_res
.cfi_endproc
// -- End function
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type RES_OP_RESERVE_AND_MAP,@object // @RES_OP_RESERVE_AND_MAP
.globl RES_OP_RESERVE_AND_MAP
.p2align 2, 0x0
RES_OP_RESERVE_AND_MAP:
.word 0 // 0x0
.size RES_OP_RESERVE_AND_MAP, 4
.type ENOMEM,@object // @ENOMEM
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type RES_MTT,@object // @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.word 0 // 0x0
.size RES_MTT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mtt_alloc_res
| .text
.file "extr_resource_tracker.c_mtt_alloc_res.c"
.p2align 2 // -- Begin function mtt_alloc_res
.type mtt_alloc_res,@function
mtt_alloc_res: // @mtt_alloc_res
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
adrp x8, RES_OP_RESERVE_AND_MAP
str w4, [x29, #28]
ldr w8, [x8, :lo12:RES_OP_RESERVE_AND_MAP]
cmp w8, w2
b.ne .LBB0_4
// %bb.1:
mov x20, x0
add x0, x29, #28
mov x19, x5
mov w22, w1
bl get_param_l
mov w21, w0
mov x0, x20
mov w1, w21
bl __mlx4_alloc_mtt_range
cmn w0, #1
b.eq .LBB0_5
// %bb.2:
adrp x8, RES_MTT
mov w23, w0
mov x0, x20
mov w1, w22
mov w2, w23
mov w3, #1 // =0x1
ldr w4, [x8, :lo12:RES_MTT]
mov w5, w21
bl add_res_range
mov w22, w0
cbz w0, .LBB0_6
// %bb.3:
mov x0, x20
mov w1, w23
mov w2, w21
bl __mlx4_free_mtt_range
b .LBB0_7
.LBB0_4:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w22, w8
b .LBB0_7
.LBB0_5:
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
neg w22, w8
b .LBB0_7
.LBB0_6:
mov x0, x19
mov w1, w23
bl set_param_l
.LBB0_7:
mov w0, w22
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mtt_alloc_res, .Lfunc_end0-mtt_alloc_res
.cfi_endproc
// -- End function
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type RES_OP_RESERVE_AND_MAP,@object // @RES_OP_RESERVE_AND_MAP
.globl RES_OP_RESERVE_AND_MAP
.p2align 2, 0x0
RES_OP_RESERVE_AND_MAP:
.word 0 // 0x0
.size RES_OP_RESERVE_AND_MAP, 4
.type ENOMEM,@object // @ENOMEM
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type RES_MTT,@object // @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.word 0 // 0x0
.size RES_MTT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mtt_alloc_res
| .text
.file "extr_resource_tracker.c_mtt_alloc_res.c"
.p2align 2 // -- Begin function mtt_alloc_res
.type mtt_alloc_res,@function
mtt_alloc_res: // @mtt_alloc_res
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
.cfi_remember_state
adrp x8, RES_OP_RESERVE_AND_MAP
str w4, [x29, #28]
ldr w8, [x8, :lo12:RES_OP_RESERVE_AND_MAP]
cmp w8, w2
b.ne .LBB0_4
// %bb.1:
mov x20, x0
add x0, x29, #28
mov x19, x5
mov w22, w1
bl get_param_l
mov w21, w0
mov x0, x20
mov w1, w21
bl __mlx4_alloc_mtt_range
cmn w0, #1
b.eq .LBB0_5
// %bb.2:
adrp x8, RES_MTT
mov w23, w0
mov x0, x20
mov w1, w22
mov w2, w23
mov w3, #1 // =0x1
ldr w4, [x8, :lo12:RES_MTT]
mov w5, w21
bl add_res_range
mov w22, w0
cbz w0, .LBB0_7
// %bb.3:
mov x0, x20
mov w1, w23
mov w2, w21
bl __mlx4_free_mtt_range
mov w0, w22
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_4:
.cfi_restore_state
.cfi_remember_state
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
b .LBB0_6
.LBB0_5:
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
.LBB0_6:
neg w22, w8
mov w0, w22
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_7:
.cfi_restore_state
mov x0, x19
mov w1, w23
bl set_param_l
mov w0, w22
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size mtt_alloc_res, .Lfunc_end0-mtt_alloc_res
.cfi_endproc
// -- End function
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type RES_OP_RESERVE_AND_MAP,@object // @RES_OP_RESERVE_AND_MAP
.globl RES_OP_RESERVE_AND_MAP
.p2align 2, 0x0
RES_OP_RESERVE_AND_MAP:
.word 0 // 0x0
.size RES_OP_RESERVE_AND_MAP, 4
.type ENOMEM,@object // @ENOMEM
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type RES_MTT,@object // @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.word 0 // 0x0
.size RES_MTT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mtt_alloc_res
| .text
.file "extr_resource_tracker.c_mtt_alloc_res.c"
.p2align 4, 0x90 # -- Begin function mtt_alloc_res
.type mtt_alloc_res,@function
mtt_alloc_res: # @mtt_alloc_res
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl %ecx, -28(%rbp)
movl %r8d, -32(%rbp)
movq %r9, -40(%rbp)
xorl %eax, %eax
subl EINVAL(%rip), %eax
movl %eax, -44(%rbp)
movl -24(%rbp), %eax
cmpl RES_OP_RESERVE_AND_MAP(%rip), %eax
je .LBB0_2
# %bb.1:
movl -44(%rbp), %eax
movl %eax, -4(%rbp)
jmp .LBB0_8
.LBB0_2:
leaq -32(%rbp), %rdi
callq get_param_l@PLT
movl %eax, -52(%rbp)
movq -16(%rbp), %rdi
movl -52(%rbp), %esi
callq __mlx4_alloc_mtt_range@PLT
movl %eax, -48(%rbp)
cmpl $-1, -48(%rbp)
jne .LBB0_4
# %bb.3:
xorl %eax, %eax
subl ENOMEM(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_8
.LBB0_4:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl -48(%rbp), %edx
movl RES_MTT(%rip), %r8d
movl -52(%rbp), %r9d
movl $1, %ecx
callq add_res_range@PLT
movl %eax, -44(%rbp)
cmpl $0, -44(%rbp)
je .LBB0_6
# %bb.5:
movq -16(%rbp), %rdi
movl -48(%rbp), %esi
movl -52(%rbp), %edx
callq __mlx4_free_mtt_range@PLT
jmp .LBB0_7
.LBB0_6:
movq -40(%rbp), %rdi
movl -48(%rbp), %esi
callq set_param_l@PLT
.LBB0_7:
movl -44(%rbp), %eax
movl %eax, -4(%rbp)
.LBB0_8:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size mtt_alloc_res, .Lfunc_end0-mtt_alloc_res
.cfi_endproc
# -- End function
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type RES_OP_RESERVE_AND_MAP,@object # @RES_OP_RESERVE_AND_MAP
.globl RES_OP_RESERVE_AND_MAP
.p2align 2, 0x0
RES_OP_RESERVE_AND_MAP:
.long 0 # 0x0
.size RES_OP_RESERVE_AND_MAP, 4
.type ENOMEM,@object # @ENOMEM
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type RES_MTT,@object # @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.long 0 # 0x0
.size RES_MTT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mtt_alloc_res
.addrsig_sym get_param_l
.addrsig_sym __mlx4_alloc_mtt_range
.addrsig_sym add_res_range
.addrsig_sym __mlx4_free_mtt_range
.addrsig_sym set_param_l
.addrsig_sym EINVAL
.addrsig_sym RES_OP_RESERVE_AND_MAP
.addrsig_sym ENOMEM
.addrsig_sym RES_MTT
| .text
.file "extr_resource_tracker.c_mtt_alloc_res.c"
.p2align 4, 0x90 # -- Begin function mtt_alloc_res
.type mtt_alloc_res,@function
mtt_alloc_res: # @mtt_alloc_res
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r12
.cfi_def_cfa_offset 40
pushq %rbx
.cfi_def_cfa_offset 48
subq $16, %rsp
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %r8d, 12(%rsp)
cmpl %edx, RES_OP_RESERVE_AND_MAP(%rip)
jne .LBB0_1
# %bb.2:
movq %r9, %rbx
movl %esi, %r15d
movq %rdi, %r14
leaq 12(%rsp), %rdi
callq get_param_l@PLT
movl %eax, %ebp
movq %r14, %rdi
movl %eax, %esi
callq __mlx4_alloc_mtt_range@PLT
cmpl $-1, %eax
je .LBB0_3
# %bb.4:
movl %eax, %r12d
movl RES_MTT(%rip), %r8d
movq %r14, %rdi
movl %r15d, %esi
movl %eax, %edx
movl $1, %ecx
movl %ebp, %r9d
callq add_res_range@PLT
movl %eax, %r15d
testl %eax, %eax
je .LBB0_6
# %bb.5:
movq %r14, %rdi
movl %r12d, %esi
movl %ebp, %edx
callq __mlx4_free_mtt_range@PLT
jmp .LBB0_7
.LBB0_1:
xorl %r15d, %r15d
subl EINVAL(%rip), %r15d
jmp .LBB0_7
.LBB0_3:
xorl %r15d, %r15d
subl ENOMEM(%rip), %r15d
jmp .LBB0_7
.LBB0_6:
movq %rbx, %rdi
movl %r12d, %esi
callq set_param_l@PLT
.LBB0_7:
movl %r15d, %eax
addq $16, %rsp
.cfi_def_cfa_offset 48
popq %rbx
.cfi_def_cfa_offset 40
popq %r12
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mtt_alloc_res, .Lfunc_end0-mtt_alloc_res
.cfi_endproc
# -- End function
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type RES_OP_RESERVE_AND_MAP,@object # @RES_OP_RESERVE_AND_MAP
.globl RES_OP_RESERVE_AND_MAP
.p2align 2, 0x0
RES_OP_RESERVE_AND_MAP:
.long 0 # 0x0
.size RES_OP_RESERVE_AND_MAP, 4
.type ENOMEM,@object # @ENOMEM
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type RES_MTT,@object # @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.long 0 # 0x0
.size RES_MTT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mtt_alloc_res
| .text
.file "extr_resource_tracker.c_mtt_alloc_res.c"
.p2align 4, 0x90 # -- Begin function mtt_alloc_res
.type mtt_alloc_res,@function
mtt_alloc_res: # @mtt_alloc_res
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r12
.cfi_def_cfa_offset 40
pushq %rbx
.cfi_def_cfa_offset 48
subq $16, %rsp
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %r8d, 12(%rsp)
cmpl %edx, RES_OP_RESERVE_AND_MAP(%rip)
jne .LBB0_1
# %bb.2:
movq %r9, %rbx
movl %esi, %r12d
movq %rdi, %r14
leaq 12(%rsp), %rdi
callq get_param_l@PLT
movl %eax, %ebp
movq %r14, %rdi
movl %eax, %esi
callq __mlx4_alloc_mtt_range@PLT
cmpl $-1, %eax
je .LBB0_3
# %bb.4:
movl %eax, %r15d
movl RES_MTT(%rip), %r8d
movq %r14, %rdi
movl %r12d, %esi
movl %eax, %edx
movl $1, %ecx
movl %ebp, %r9d
callq add_res_range@PLT
testl %eax, %eax
je .LBB0_6
# %bb.5:
movl %eax, %r12d
movq %r14, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq __mlx4_free_mtt_range@PLT
jmp .LBB0_7
.LBB0_1:
xorl %r12d, %r12d
subl EINVAL(%rip), %r12d
jmp .LBB0_7
.LBB0_3:
xorl %r12d, %r12d
subl ENOMEM(%rip), %r12d
jmp .LBB0_7
.LBB0_6:
movq %rbx, %rdi
movl %r15d, %esi
callq set_param_l@PLT
xorl %r12d, %r12d
.LBB0_7:
movl %r12d, %eax
addq $16, %rsp
.cfi_def_cfa_offset 48
popq %rbx
.cfi_def_cfa_offset 40
popq %r12
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mtt_alloc_res, .Lfunc_end0-mtt_alloc_res
.cfi_endproc
# -- End function
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type RES_OP_RESERVE_AND_MAP,@object # @RES_OP_RESERVE_AND_MAP
.globl RES_OP_RESERVE_AND_MAP
.p2align 2, 0x0
RES_OP_RESERVE_AND_MAP:
.long 0 # 0x0
.size RES_OP_RESERVE_AND_MAP, 4
.type ENOMEM,@object # @ENOMEM
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type RES_MTT,@object # @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.long 0 # 0x0
.size RES_MTT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mtt_alloc_res
| .text
.file "extr_resource_tracker.c_mtt_alloc_res.c"
.p2align 4, 0x90 # -- Begin function mtt_alloc_res
.type mtt_alloc_res,@function
mtt_alloc_res: # @mtt_alloc_res
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r12
.cfi_def_cfa_offset 40
pushq %rbx
.cfi_def_cfa_offset 48
subq $16, %rsp
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %r8d, 12(%rsp)
cmpl %edx, RES_OP_RESERVE_AND_MAP(%rip)
jne .LBB0_1
# %bb.2:
movq %r9, %rbx
movl %esi, %r12d
movq %rdi, %r14
leaq 12(%rsp), %rdi
callq get_param_l@PLT
movl %eax, %ebp
movq %r14, %rdi
movl %eax, %esi
callq __mlx4_alloc_mtt_range@PLT
cmpl $-1, %eax
je .LBB0_3
# %bb.4:
movl %eax, %r15d
movl RES_MTT(%rip), %r8d
movq %r14, %rdi
movl %r12d, %esi
movl %eax, %edx
movl $1, %ecx
movl %ebp, %r9d
callq add_res_range@PLT
testl %eax, %eax
je .LBB0_6
# %bb.5:
movl %eax, %r12d
movq %r14, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq __mlx4_free_mtt_range@PLT
jmp .LBB0_7
.LBB0_1:
xorl %r12d, %r12d
subl EINVAL(%rip), %r12d
jmp .LBB0_7
.LBB0_3:
xorl %r12d, %r12d
subl ENOMEM(%rip), %r12d
jmp .LBB0_7
.LBB0_6:
movq %rbx, %rdi
movl %r15d, %esi
callq set_param_l@PLT
xorl %r12d, %r12d
.LBB0_7:
movl %r12d, %eax
addq $16, %rsp
.cfi_def_cfa_offset 48
popq %rbx
.cfi_def_cfa_offset 40
popq %r12
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size mtt_alloc_res, .Lfunc_end0-mtt_alloc_res
.cfi_endproc
# -- End function
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type RES_OP_RESERVE_AND_MAP,@object # @RES_OP_RESERVE_AND_MAP
.globl RES_OP_RESERVE_AND_MAP
.p2align 2, 0x0
RES_OP_RESERVE_AND_MAP:
.long 0 # 0x0
.size RES_OP_RESERVE_AND_MAP, 4
.type ENOMEM,@object # @ENOMEM
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type RES_MTT,@object # @RES_MTT
.globl RES_MTT
.p2align 2, 0x0
RES_MTT:
.long 0 # 0x0
.size RES_MTT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym mtt_alloc_res
|
extr_cops.c_cleanup_card.c | .text
.file "extr_cops.c_cleanup_card.c"
.p2align 2 // -- Begin function cleanup_card
.type cleanup_card,@function
cleanup_card: // @cleanup_card
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
ldr x1, [sp, #8]
bl free_irq
b .LBB0_2
.LBB0_2:
ldr x8, [sp, #8]
ldr w0, [x8]
adrp x8, COPS_IO_EXTENT
ldr w1, [x8, :lo12:COPS_IO_EXTENT]
bl release_region
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size cleanup_card, .Lfunc_end0-cleanup_card
.cfi_endproc
// -- End function
.type COPS_IO_EXTENT,@object // @COPS_IO_EXTENT
.bss
.globl COPS_IO_EXTENT
.p2align 2, 0x0
COPS_IO_EXTENT:
.word 0 // 0x0
.size COPS_IO_EXTENT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym cleanup_card
.addrsig_sym free_irq
.addrsig_sym release_region
.addrsig_sym COPS_IO_EXTENT
| .text
.file "extr_cops.c_cleanup_card.c"
.p2align 2 // -- Begin function cleanup_card
.type cleanup_card,@function
cleanup_card: // @cleanup_card
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
ldr x0, [x0, #8]
cbz x0, .LBB0_2
// %bb.1:
mov x1, x19
bl free_irq
.LBB0_2:
adrp x8, COPS_IO_EXTENT
ldr w0, [x19]
ldr w1, [x8, :lo12:COPS_IO_EXTENT]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b release_region
.Lfunc_end0:
.size cleanup_card, .Lfunc_end0-cleanup_card
.cfi_endproc
// -- End function
.type COPS_IO_EXTENT,@object // @COPS_IO_EXTENT
.bss
.globl COPS_IO_EXTENT
.p2align 2, 0x0
COPS_IO_EXTENT:
.word 0 // 0x0
.size COPS_IO_EXTENT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym cleanup_card
| .text
.file "extr_cops.c_cleanup_card.c"
.p2align 2 // -- Begin function cleanup_card
.type cleanup_card,@function
cleanup_card: // @cleanup_card
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
ldr x0, [x0, #8]
cbz x0, .LBB0_2
// %bb.1:
mov x1, x19
bl free_irq
.LBB0_2:
adrp x8, COPS_IO_EXTENT
ldr w0, [x19]
ldr w1, [x8, :lo12:COPS_IO_EXTENT]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b release_region
.Lfunc_end0:
.size cleanup_card, .Lfunc_end0-cleanup_card
.cfi_endproc
// -- End function
.type COPS_IO_EXTENT,@object // @COPS_IO_EXTENT
.bss
.globl COPS_IO_EXTENT
.p2align 2, 0x0
COPS_IO_EXTENT:
.word 0 // 0x0
.size COPS_IO_EXTENT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym cleanup_card
| .text
.file "extr_cops.c_cleanup_card.c"
.p2align 2 // -- Begin function cleanup_card
.type cleanup_card,@function
cleanup_card: // @cleanup_card
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
ldr x0, [x0, #8]
cbz x0, .LBB0_2
// %bb.1:
mov x1, x19
bl free_irq
.LBB0_2:
adrp x8, COPS_IO_EXTENT
ldr w0, [x19]
ldr w1, [x8, :lo12:COPS_IO_EXTENT]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b release_region
.Lfunc_end0:
.size cleanup_card, .Lfunc_end0-cleanup_card
.cfi_endproc
// -- End function
.type COPS_IO_EXTENT,@object // @COPS_IO_EXTENT
.bss
.globl COPS_IO_EXTENT
.p2align 2, 0x0
COPS_IO_EXTENT:
.word 0 // 0x0
.size COPS_IO_EXTENT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym cleanup_card
| .text
.file "extr_cops.c_cleanup_card.c"
.p2align 4, 0x90 # -- Begin function cleanup_card
.type cleanup_card,@function
cleanup_card: # @cleanup_card
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je .LBB0_2
# %bb.1:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movq -8(%rbp), %rsi
callq free_irq@PLT
.LBB0_2:
movq -8(%rbp), %rax
movl (%rax), %edi
movl COPS_IO_EXTENT(%rip), %esi
callq release_region@PLT
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size cleanup_card, .Lfunc_end0-cleanup_card
.cfi_endproc
# -- End function
.type COPS_IO_EXTENT,@object # @COPS_IO_EXTENT
.bss
.globl COPS_IO_EXTENT
.p2align 2, 0x0
COPS_IO_EXTENT:
.long 0 # 0x0
.size COPS_IO_EXTENT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym cleanup_card
.addrsig_sym free_irq
.addrsig_sym release_region
.addrsig_sym COPS_IO_EXTENT
| .text
.file "extr_cops.c_cleanup_card.c"
.p2align 4, 0x90 # -- Begin function cleanup_card
.type cleanup_card,@function
cleanup_card: # @cleanup_card
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq 8(%rdi), %rdi
testq %rdi, %rdi
je .LBB0_2
# %bb.1:
movq %rbx, %rsi
callq free_irq@PLT
.LBB0_2:
movl (%rbx), %edi
movl COPS_IO_EXTENT(%rip), %esi
popq %rbx
.cfi_def_cfa_offset 8
jmp release_region@PLT # TAILCALL
.Lfunc_end0:
.size cleanup_card, .Lfunc_end0-cleanup_card
.cfi_endproc
# -- End function
.type COPS_IO_EXTENT,@object # @COPS_IO_EXTENT
.bss
.globl COPS_IO_EXTENT
.p2align 2, 0x0
COPS_IO_EXTENT:
.long 0 # 0x0
.size COPS_IO_EXTENT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym cleanup_card
| .text
.file "extr_cops.c_cleanup_card.c"
.p2align 4, 0x90 # -- Begin function cleanup_card
.type cleanup_card,@function
cleanup_card: # @cleanup_card
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq 8(%rdi), %rdi
testq %rdi, %rdi
je .LBB0_2
# %bb.1:
movq %rbx, %rsi
callq free_irq@PLT
.LBB0_2:
movl (%rbx), %edi
movl COPS_IO_EXTENT(%rip), %esi
popq %rbx
.cfi_def_cfa_offset 8
jmp release_region@PLT # TAILCALL
.Lfunc_end0:
.size cleanup_card, .Lfunc_end0-cleanup_card
.cfi_endproc
# -- End function
.type COPS_IO_EXTENT,@object # @COPS_IO_EXTENT
.bss
.globl COPS_IO_EXTENT
.p2align 2, 0x0
COPS_IO_EXTENT:
.long 0 # 0x0
.size COPS_IO_EXTENT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym cleanup_card
| .text
.file "extr_cops.c_cleanup_card.c"
.p2align 4, 0x90 # -- Begin function cleanup_card
.type cleanup_card,@function
cleanup_card: # @cleanup_card
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq 8(%rdi), %rdi
testq %rdi, %rdi
je .LBB0_2
# %bb.1:
movq %rbx, %rsi
callq free_irq@PLT
.LBB0_2:
movl (%rbx), %edi
movl COPS_IO_EXTENT(%rip), %esi
popq %rbx
.cfi_def_cfa_offset 8
jmp release_region@PLT # TAILCALL
.Lfunc_end0:
.size cleanup_card, .Lfunc_end0-cleanup_card
.cfi_endproc
# -- End function
.type COPS_IO_EXTENT,@object # @COPS_IO_EXTENT
.bss
.globl COPS_IO_EXTENT
.p2align 2, 0x0
COPS_IO_EXTENT:
.long 0 # 0x0
.size COPS_IO_EXTENT, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym cleanup_card
|
extr_ltpc.c_idle.c | .text
.file "extr_ltpc.c_idle.c"
.p2align 2 // -- Begin function idle
.type idle,@function
idle: // @idle
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] // 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
// kill: def $x8 killed $xzr
stur xzr, [x29, #-32]
ldur x8, [x29, #-8]
ldr w8, [x8]
str w8, [sp, #36]
ldur x1, [x29, #-16]
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
bl spin_lock_irqsave
adrp x8, QInIdle
ldr w8, [x8, :lo12:QInIdle]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldur x1, [x29, #-16]
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
bl spin_unlock_irqrestore
b .LBB0_60
.LBB0_2:
mov w8, #1 // =0x1
adrp x9, QInIdle
str w8, [x9, :lo12:QInIdle]
ldur x1, [x29, #-16]
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
bl spin_unlock_irqrestore
ldr w8, [sp, #36]
add w0, w8, #6
bl inb_p
mov w8, #100 // =0x64
stur w8, [x29, #-36]
b .LBB0_3
.LBB0_3: // =>This Loop Header: Depth=1
// Child Loop BB0_35 Depth 2
ldur w9, [x29, #-36]
subs w8, w9, #1
stur w8, [x29, #-36]
mov w8, wzr
subs w8, w8, w9
cset w8, le
tbnz w8, #0, .LBB0_5
b .LBB0_4
.LBB0_4:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
b .LBB0_57
.LBB0_5: // in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #36]
add w0, w8, #6
bl inb_p
stur w0, [x29, #-20]
ldur w8, [x29, #-20]
str w8, [sp, #28] // 4-byte Folded Spill
ldr w8, [sp, #36]
add w0, w8, #6
bl inb_p
ldr w8, [sp, #28] // 4-byte Folded Reload
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, .LBB0_7
b .LBB0_6
.LBB0_6: // in Loop: Header=BB0_3 Depth=1
b .LBB0_3
.LBB0_7: // in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #248
mov w8, w8
// kill: def $x8 killed $w8
str x8, [sp, #16] // 8-byte Folded Spill
subs x8, x8, #5
cset w8, hi
tbnz w8, #0, .LBB0_56
// %bb.8: // in Loop: Header=BB0_3 Depth=1
ldr x11, [sp, #16] // 8-byte Folded Reload
adrp x10, .LJTI0_0
add x10, x10, :lo12:.LJTI0_0
.Ltmp0:
adr x8, .Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
.LBB0_9: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
ldr w8, [x8, :lo12:debug]
adrp x9, DEBUG_LOWER
ldr w9, [x9, :lo12:DEBUG_LOWER]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_11
b .LBB0_10
.LBB0_10: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl printk
b .LBB0_11
.LBB0_11: // in Loop: Header=BB0_3 Depth=1
ldur x0, [x29, #-8]
bl handlefc
b .LBB0_56
.LBB0_12: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
ldr w8, [x8, :lo12:debug]
adrp x9, DEBUG_LOWER
ldr w9, [x9, :lo12:DEBUG_LOWER]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_14
b .LBB0_13
.LBB0_13: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
b .LBB0_14
.LBB0_14: // in Loop: Header=BB0_3 Depth=1
ldur x0, [x29, #-8]
bl handlefd
b .LBB0_56
.LBB0_15: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
ldr w8, [x8, :lo12:debug]
adrp x9, DEBUG_LOWER
ldr w9, [x9, :lo12:DEBUG_LOWER]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_17
b .LBB0_16
.LBB0_16: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl printk
b .LBB0_17
.LBB0_17: // in Loop: Header=BB0_3 Depth=1
adrp x8, mboxinuse
ldr x8, [x8, :lo12:mboxinuse]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_19
b .LBB0_18
.LBB0_18: // in Loop: Header=BB0_3 Depth=1
adrp x8, mboxinuse
ldr x9, [x8, :lo12:mboxinuse]
mov w8, #1 // =0x1
str w8, [x9]
adrp x8, rescbuf
ldr x9, [x8, :lo12:rescbuf]
adrp x8, qels
ldr x10, [x8, :lo12:qels]
str x9, [x10, #24]
ldr x10, [x8, :lo12:qels]
mov w9, #2 // =0x2
str w9, [x10]
adrp x10, resdbuf
ldr x10, [x10, :lo12:resdbuf]
ldr x11, [x8, :lo12:qels]
str x10, [x11, #16]
ldr x10, [x8, :lo12:qels]
str w9, [x10, #4]
ldr x9, [x8, :lo12:qels]
str wzr, [x9, #12]
ldr x9, [x8, :lo12:qels]
str wzr, [x9, #8]
ldr x0, [x8, :lo12:qels]
bl enQ
b .LBB0_19
.LBB0_19: // in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8]
add w0, w8, #1
bl inb_p
ldur x8, [x29, #-8]
ldr w8, [x8]
add w0, w8, #0
bl inb_p
ldur x0, [x29, #-8]
mov w1, #249 // =0xf9
bl wait_timeout
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, .LBB0_21
b .LBB0_20
.LBB0_20: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.4
add x0, x0, :lo12:.L.str.4
bl printk
b .LBB0_21
.LBB0_21: // in Loop: Header=BB0_3 Depth=1
b .LBB0_56
.LBB0_22: // in Loop: Header=BB0_3 Depth=1
adrp x8, xmQhd
ldr w8, [x8, :lo12:xmQhd]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_26
b .LBB0_23
.LBB0_23: // in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8]
add w0, w8, #1
bl inb_p
ldur x8, [x29, #-8]
ldr w8, [x8]
add w0, w8, #0
bl inb_p
ldur x0, [x29, #-8]
mov w1, #248 // =0xf8
bl wait_timeout
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, .LBB0_25
b .LBB0_24
.LBB0_24: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.5
add x0, x0, :lo12:.L.str.5
bl printk
b .LBB0_25
.LBB0_25: // in Loop: Header=BB0_3 Depth=1
b .LBB0_27
.LBB0_26:
b .LBB0_57
.LBB0_27: // in Loop: Header=BB0_3 Depth=1
b .LBB0_56
.LBB0_28: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
ldr w8, [x8, :lo12:debug]
adrp x9, DEBUG_LOWER
ldr w9, [x9, :lo12:DEBUG_LOWER]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_30
b .LBB0_29
.LBB0_29: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.6
add x0, x0, :lo12:.L.str.6
bl printk
b .LBB0_30
.LBB0_30: // in Loop: Header=BB0_3 Depth=1
adrp x8, xmQhd
ldr w8, [x8, :lo12:xmQhd]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_42
b .LBB0_31
.LBB0_31: // in Loop: Header=BB0_3 Depth=1
bl deQ
stur x0, [x29, #-32]
adrp x8, ltdmacbuf
str x8, [sp, #8] // 8-byte Folded Spill
ldr x0, [x8, :lo12:ltdmacbuf]
ldur x8, [x29, #-32]
ldr x1, [x8]
ldur x8, [x29, #-32]
ldr w2, [x8, #8]
bl memcpy
ldr x9, [sp, #8] // 8-byte Folded Reload
ldur x8, [x29, #-32]
ldr w8, [x8, #12]
ldr x9, [x9, :lo12:ltdmacbuf]
str w8, [x9, #4]
adrp x8, debug
ldr w8, [x8, :lo12:debug]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, .LBB0_39
b .LBB0_32
.LBB0_32: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.7
add x0, x0, :lo12:.L.str.7
bl printk
ldur x8, [x29, #-32]
ldr w8, [x8, #8]
str w8, [sp, #32]
ldr w8, [sp, #32]
subs w8, w8, #100
cset w8, le
tbnz w8, #0, .LBB0_34
b .LBB0_33
.LBB0_33: // in Loop: Header=BB0_3 Depth=1
mov w8, #100 // =0x64
str w8, [sp, #32]
b .LBB0_34
.LBB0_34: // in Loop: Header=BB0_3 Depth=1
str wzr, [sp, #40]
b .LBB0_35
.LBB0_35: // Parent Loop BB0_3 Depth=1
// => This Inner Loop Header: Depth=2
ldr w8, [sp, #40]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, .LBB0_38
b .LBB0_36
.LBB0_36: // in Loop: Header=BB0_35 Depth=2
adrp x8, ltdmacbuf
ldr x8, [x8, :lo12:ltdmacbuf]
ldrsw x9, [sp, #40]
ldr w1, [x8, x9, lsl #2]
adrp x0, .L.str.8
add x0, x0, :lo12:.L.str.8
bl printk
b .LBB0_37
.LBB0_37: // in Loop: Header=BB0_35 Depth=2
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b .LBB0_35
.LBB0_38: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.9
add x0, x0, :lo12:.L.str.9
bl printk
b .LBB0_39
.LBB0_39: // in Loop: Header=BB0_3 Depth=1
ldur x0, [x29, #-8]
bl handlecommand
ldr w8, [sp, #36]
add w0, w8, #6
bl inb_p
mov w8, #250 // =0xfa
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, .LBB0_41
b .LBB0_40
.LBB0_40:
b .LBB0_57
.LBB0_41: // in Loop: Header=BB0_3 Depth=1
b .LBB0_46
.LBB0_42: // in Loop: Header=BB0_3 Depth=1
adrp x8, mboxinuse
ldr x8, [x8, :lo12:mboxinuse]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_44
b .LBB0_43
.LBB0_43: // in Loop: Header=BB0_3 Depth=1
adrp x8, mboxinuse
ldr x9, [x8, :lo12:mboxinuse]
mov w8, #1 // =0x1
str w8, [x9]
adrp x8, rescbuf
ldr x9, [x8, :lo12:rescbuf]
adrp x8, qels
ldr x10, [x8, :lo12:qels]
str x9, [x10, #24]
ldr x10, [x8, :lo12:qels]
mov w9, #2 // =0x2
str w9, [x10]
adrp x10, resdbuf
ldr x10, [x10, :lo12:resdbuf]
ldr x11, [x8, :lo12:qels]
str x10, [x11, #16]
ldr x10, [x8, :lo12:qels]
str w9, [x10, #4]
ldr x9, [x8, :lo12:qels]
str wzr, [x9, #12]
ldr x9, [x8, :lo12:qels]
str wzr, [x9, #8]
ldr x0, [x8, :lo12:qels]
bl enQ
b .LBB0_45
.LBB0_44:
adrp x0, .L.str.10
add x0, x0, :lo12:.L.str.10
bl printk
b .LBB0_57
.LBB0_45: // in Loop: Header=BB0_3 Depth=1
b .LBB0_46
.LBB0_46: // in Loop: Header=BB0_3 Depth=1
b .LBB0_56
.LBB0_47: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
ldr w8, [x8, :lo12:debug]
adrp x9, DEBUG_LOWER
ldr w9, [x9, :lo12:DEBUG_LOWER]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_49
b .LBB0_48
.LBB0_48: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.11
add x0, x0, :lo12:.L.str.11
bl printk
b .LBB0_49
.LBB0_49: // in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-32]
ldr w8, [x8, #28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_51
b .LBB0_50
.LBB0_50: // in Loop: Header=BB0_3 Depth=1
adrp x8, ltdmabuf
ldr x0, [x8, :lo12:ltdmabuf]
ldur x8, [x29, #-32]
ldr x1, [x8, #16]
ldur x8, [x29, #-32]
ldr w2, [x8, #24]
bl memcpy
ldur x0, [x29, #-8]
bl handlewrite
b .LBB0_55
.LBB0_51: // in Loop: Header=BB0_3 Depth=1
ldur x0, [x29, #-8]
bl handleread
ldur x8, [x29, #-32]
ldr w8, [x8, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_53
b .LBB0_52
.LBB0_52: // in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-32]
ldr x0, [x8, #16]
adrp x8, ltdmabuf
ldr x1, [x8, :lo12:ltdmabuf]
ldur x8, [x29, #-32]
ldr w2, [x8, #24]
bl memcpy
b .LBB0_54
.LBB0_53: // in Loop: Header=BB0_3 Depth=1
adrp x10, ltdmabuf
ldr x8, [x10, :lo12:ltdmabuf]
ldr w8, [x8, #4]
adrp x9, mailbox
ldr x9, [x9, :lo12:mailbox]
ldr x10, [x10, :lo12:ltdmabuf]
ldr w11, [x10]
mov w10, #15 // =0xf
and w10, w10, w11
str w8, [x9, w10, sxtw #2]
adrp x8, mboxinuse
ldr x8, [x8, :lo12:mboxinuse]
str wzr, [x8]
b .LBB0_54
.LBB0_54: // in Loop: Header=BB0_3 Depth=1
b .LBB0_55
.LBB0_55: // in Loop: Header=BB0_3 Depth=1
b .LBB0_56
.LBB0_56: // in Loop: Header=BB0_3 Depth=1
b .LBB0_3
.LBB0_57:
adrp x8, QInIdle
str wzr, [x8, :lo12:QInIdle]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_59
b .LBB0_58
.LBB0_58:
ldr w8, [sp, #36]
add w0, w8, #7
bl inb_p
ldr w8, [sp, #36]
add w0, w8, #7
bl inb_p
b .LBB0_59
.LBB0_59:
b .LBB0_60
.LBB0_60:
.cfi_def_cfa wsp, 96
ldp x29, x30, [sp, #80] // 16-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size idle, .Lfunc_end0-idle
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.word .LBB0_22-.Ltmp0
.word .LBB0_15-.Ltmp0
.word .LBB0_28-.Ltmp0
.word .LBB0_47-.Ltmp0
.word .LBB0_9-.Ltmp0
.word .LBB0_12-.Ltmp0
// -- End function
.type txqueue_lock,@object // @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.word 0 // 0x0
.size txqueue_lock, 4
.type QInIdle,@object // @QInIdle
.globl QInIdle
.p2align 2, 0x0
QInIdle:
.word 0 // 0x0
.size QInIdle, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "idle: looped too many times\n"
.size .L.str, 29
.type debug,@object // @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_LOWER,@object // @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.word 0 // 0x0
.size DEBUG_LOWER, 4
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "idle: fc\n"
.size .L.str.1, 10
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "idle: fd\n"
.size .L.str.2, 10
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "idle: f9\n"
.size .L.str.3, 10
.type mboxinuse,@object // @mboxinuse
.bss
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type rescbuf,@object // @rescbuf
.globl rescbuf
.p2align 3, 0x0
rescbuf:
.xword 0
.size rescbuf, 8
.type qels,@object // @qels
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type resdbuf,@object // @resdbuf
.globl resdbuf
.p2align 3, 0x0
resdbuf:
.xword 0
.size resdbuf, 8
.type .L.str.4,@object // @.str.4
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.4:
.asciz "timed out idle f9\n"
.size .L.str.4, 19
.type xmQhd,@object // @xmQhd
.bss
.globl xmQhd
.p2align 2, 0x0
xmQhd:
.word 0 // 0x0
.size xmQhd, 4
.type .L.str.5,@object // @.str.5
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.5:
.asciz "timed out idle f8\n"
.size .L.str.5, 19
.type .L.str.6,@object // @.str.6
.L.str.6:
.asciz "idle: fa\n"
.size .L.str.6, 10
.type ltdmacbuf,@object // @ltdmacbuf
.bss
.globl ltdmacbuf
.p2align 3, 0x0
ltdmacbuf:
.xword 0
.size ltdmacbuf, 8
.type .L.str.7,@object // @.str.7
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.7:
.asciz "ltpc: sent command "
.size .L.str.7, 24
.type .L.str.8,@object // @.str.8
.L.str.8:
.asciz "%02x "
.size .L.str.8, 6
.type .L.str.9,@object // @.str.9
.L.str.9:
.asciz "\n"
.size .L.str.9, 2
.type .L.str.10,@object // @.str.10
.L.str.10:
.asciz "trouble: response command already queued\n"
.size .L.str.10, 42
.type .L.str.11,@object // @.str.11
.L.str.11:
.asciz "idle: fb\n"
.size .L.str.11, 10
.type ltdmabuf,@object // @ltdmabuf
.bss
.globl ltdmabuf
.p2align 3, 0x0
ltdmabuf:
.xword 0
.size ltdmabuf, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym idle
.addrsig_sym spin_lock_irqsave
.addrsig_sym spin_unlock_irqrestore
.addrsig_sym inb_p
.addrsig_sym printk
.addrsig_sym handlefc
.addrsig_sym handlefd
.addrsig_sym enQ
.addrsig_sym wait_timeout
.addrsig_sym deQ
.addrsig_sym memcpy
.addrsig_sym handlecommand
.addrsig_sym handlewrite
.addrsig_sym handleread
.addrsig_sym txqueue_lock
.addrsig_sym QInIdle
.addrsig_sym debug
.addrsig_sym DEBUG_LOWER
.addrsig_sym mboxinuse
.addrsig_sym rescbuf
.addrsig_sym qels
.addrsig_sym resdbuf
.addrsig_sym xmQhd
.addrsig_sym ltdmacbuf
.addrsig_sym ltdmabuf
.addrsig_sym mailbox
| .text
.file "extr_ltpc.c_idle.c"
.p2align 2 // -- Begin function idle
.type idle,@function
idle: // @idle
.cfi_startproc
// %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #16] // 16-byte Folded Spill
stp x28, x27, [sp, #32] // 16-byte Folded Spill
stp x26, x25, [sp, #48] // 16-byte Folded Spill
stp x24, x23, [sp, #64] // 16-byte Folded Spill
stp x22, x21, [sp, #80] // 16-byte Folded Spill
stp x20, x19, [sp, #96] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
.cfi_remember_state
mov x19, x0
ldr w26, [x0]
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
bl spin_lock_irqsave
adrp x23, QInIdle
ldr w8, [x23, :lo12:QInIdle]
cbz w8, .LBB0_2
// %bb.1:
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
.cfi_def_cfa wsp, 112
ldp x20, x19, [sp, #96] // 16-byte Folded Reload
ldp x22, x21, [sp, #80] // 16-byte Folded Reload
ldp x24, x23, [sp, #64] // 16-byte Folded Reload
ldp x26, x25, [sp, #48] // 16-byte Folded Reload
ldp x28, x27, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #112
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
b spin_unlock_irqrestore
.LBB0_2:
.cfi_restore_state
.cfi_remember_state
mov w28, #1 // =0x1
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
str w28, [x23, :lo12:QInIdle]
bl spin_unlock_irqrestore
add w20, w26, #6
mov w0, w20
bl inb_p
mov x22, xzr
adrp x21, .L.str
add x21, x21, :lo12:.L.str
adrp x24, .L.str.6
add x24, x24, :lo12:.L.str.6
mov w27, #100 // =0x64
.LBB0_3: // =>This Loop Header: Depth=1
// Child Loop BB0_22 Depth 2
tbnz w27, #31, .LBB0_41
// %bb.4: // in Loop: Header=BB0_3 Depth=1
mov w0, w20
sub w27, w27, #1
bl inb_p
mov w25, w0
mov w0, w20
bl inb_p
cmp w25, w0
b.ne .LBB0_3
// %bb.5: // in Loop: Header=BB0_3 Depth=1
sub w8, w25, #248
cmp w8, #5
b.hi .LBB0_3
// %bb.6: // in Loop: Header=BB0_3 Depth=1
adrp x11, .LJTI0_0
add x11, x11, :lo12:.LJTI0_0
adr x9, .LBB0_7
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
.LBB0_7: // in Loop: Header=BB0_3 Depth=1
adrp x8, xmQhd
ldr w8, [x8, :lo12:xmQhd]
cbz w8, .LBB0_42
// %bb.8: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x19]
add w0, w8, #1
bl inb_p
ldr w0, [x19]
bl inb_p
mov x0, x19
mov w1, #248 // =0xf8
bl wait_timeout
cbz w0, .LBB0_3
// %bb.9: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.5
add x0, x0, :lo12:.L.str.5
bl printk
b .LBB0_3
.LBB0_10: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_12
// %bb.11: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl printk
.LBB0_12: // in Loop: Header=BB0_3 Depth=1
adrp x8, mboxinuse
ldr x8, [x8, :lo12:mboxinuse]
ldr w9, [x8]
cbnz w9, .LBB0_14
// %bb.13: // in Loop: Header=BB0_3 Depth=1
adrp x9, qels
str w28, [x8]
adrp x8, resdbuf
mov w10, #2 // =0x2
ldr x0, [x9, :lo12:qels]
adrp x9, rescbuf
ldr x8, [x8, :lo12:resdbuf]
ldr x9, [x9, :lo12:rescbuf]
str w10, [x0]
stur x10, [x0, #4]
str wzr, [x0, #12]
stp x8, x9, [x0, #16]
bl enQ
.LBB0_14: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x19]
add w0, w8, #1
bl inb_p
ldr w0, [x19]
bl inb_p
mov x0, x19
mov w1, #249 // =0xf9
bl wait_timeout
cbz w0, .LBB0_3
// %bb.15: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.4
add x0, x0, :lo12:.L.str.4
bl printk
b .LBB0_3
.LBB0_16: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
mov x25, x22
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_18
// %bb.17: // in Loop: Header=BB0_3 Depth=1
mov x0, x24
bl printk
.LBB0_18: // in Loop: Header=BB0_3 Depth=1
adrp x8, xmQhd
adrp x22, ltdmacbuf
ldr w8, [x8, :lo12:xmQhd]
cbz w8, .LBB0_35
// %bb.19: // in Loop: Header=BB0_3 Depth=1
bl deQ
mov x25, x0
ldr x0, [x22, :lo12:ltdmacbuf]
ldr x1, [x25]
ldr w2, [x25, #8]
bl memcpy
adrp x9, debug
ldr w8, [x25, #12]
ldr x10, [x22, :lo12:ltdmacbuf]
str x25, [sp, #8] // 8-byte Folded Spill
ldr w9, [x9, :lo12:debug]
str w8, [x10, #4]
cmp w9, #2
b.lt .LBB0_24
// %bb.20: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.7
add x0, x0, :lo12:.L.str.7
bl printk
ldr x8, [sp, #8] // 8-byte Folded Reload
adrp x24, .L.str.8
add x24, x24, :lo12:.L.str.8
ldr w8, [x8, #8]
cmp w8, #1
b.lt .LBB0_23
// %bb.21: // in Loop: Header=BB0_3 Depth=1
cmp w8, #100
mov w9, #100 // =0x64
csel w8, w8, w9, lt
mov x25, xzr
cmp w8, #1
csinc w8, w8, wzr, gt
ubfiz x28, x8, #2, #32
.LBB0_22: // Parent Loop BB0_3 Depth=1
// => This Inner Loop Header: Depth=2
ldr x8, [x22, :lo12:ltdmacbuf]
mov x0, x24
ldr w1, [x8, x25]
bl printk
add x25, x25, #4
cmp x28, x25
b.ne .LBB0_22
.LBB0_23: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.9
add x0, x0, :lo12:.L.str.9
bl printk
mov w28, #1 // =0x1
adrp x24, .L.str.6
add x24, x24, :lo12:.L.str.6
.LBB0_24: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handlecommand
mov w0, w20
bl inb_p
ldr x22, [sp, #8] // 8-byte Folded Reload
cmp w0, #250
b.ne .LBB0_3
b .LBB0_42
.LBB0_25: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_27
// %bb.26: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.11
add x0, x0, :lo12:.L.str.11
bl printk
.LBB0_27: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x22, #28]
cbz w8, .LBB0_37
// %bb.28: // in Loop: Header=BB0_3 Depth=1
adrp x8, ltdmabuf
ldr x1, [x22, #16]
ldr w2, [x22, #24]
ldr x0, [x8, :lo12:ltdmabuf]
bl memcpy
mov x0, x19
bl handlewrite
b .LBB0_3
.LBB0_29: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_31
// %bb.30: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl printk
.LBB0_31: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handlefc
b .LBB0_3
.LBB0_32: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_34
// %bb.33: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
.LBB0_34: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handlefd
b .LBB0_3
.LBB0_35: // in Loop: Header=BB0_3 Depth=1
adrp x8, mboxinuse
ldr x8, [x8, :lo12:mboxinuse]
ldr w9, [x8]
cbnz w9, .LBB0_40
// %bb.36: // in Loop: Header=BB0_3 Depth=1
adrp x9, qels
str w28, [x8]
adrp x8, resdbuf
mov w10, #2 // =0x2
ldr x0, [x9, :lo12:qels]
adrp x9, rescbuf
ldr x8, [x8, :lo12:resdbuf]
ldr x9, [x9, :lo12:rescbuf]
str w10, [x0]
stur x10, [x0, #4]
str wzr, [x0, #12]
stp x8, x9, [x0, #16]
bl enQ
mov x22, x25
b .LBB0_3
.LBB0_37: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handleread
ldr w8, [x22, #12]
cbz w8, .LBB0_39
// %bb.38: // in Loop: Header=BB0_3 Depth=1
adrp x8, ltdmabuf
ldr x0, [x22, #16]
ldr w2, [x22, #24]
ldr x1, [x8, :lo12:ltdmabuf]
bl memcpy
b .LBB0_3
.LBB0_39: // in Loop: Header=BB0_3 Depth=1
adrp x8, ltdmabuf
adrp x11, mboxinuse
adrp x10, mailbox
ldr x8, [x8, :lo12:ltdmabuf]
ldr x11, [x11, :lo12:mboxinuse]
ldr x10, [x10, :lo12:mailbox]
ldp w9, w8, [x8]
and x9, x9, #0xf
str w8, [x10, x9, lsl #2]
str wzr, [x11]
b .LBB0_3
.LBB0_40:
adrp x21, .L.str.10
add x21, x21, :lo12:.L.str.10
.LBB0_41:
mov x0, x21
bl printk
.LBB0_42:
ldr x8, [x19, #8]
str wzr, [x23, :lo12:QInIdle]
cbz x8, .LBB0_44
// %bb.43:
add w19, w26, #7
mov w0, w19
bl inb_p
mov w0, w19
.cfi_def_cfa wsp, 112
ldp x20, x19, [sp, #96] // 16-byte Folded Reload
ldp x22, x21, [sp, #80] // 16-byte Folded Reload
ldp x24, x23, [sp, #64] // 16-byte Folded Reload
ldp x26, x25, [sp, #48] // 16-byte Folded Reload
ldp x28, x27, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #112
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
b inb_p
.LBB0_44:
.cfi_restore_state
.cfi_def_cfa wsp, 112
ldp x20, x19, [sp, #96] // 16-byte Folded Reload
ldp x22, x21, [sp, #80] // 16-byte Folded Reload
ldp x24, x23, [sp, #64] // 16-byte Folded Reload
ldp x26, x25, [sp, #48] // 16-byte Folded Reload
ldp x28, x27, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #112
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size idle, .Lfunc_end0-idle
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_7-.LBB0_7)>>2
.byte (.LBB0_10-.LBB0_7)>>2
.byte (.LBB0_16-.LBB0_7)>>2
.byte (.LBB0_25-.LBB0_7)>>2
.byte (.LBB0_29-.LBB0_7)>>2
.byte (.LBB0_32-.LBB0_7)>>2
// -- End function
.type txqueue_lock,@object // @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.word 0 // 0x0
.size txqueue_lock, 4
.type QInIdle,@object // @QInIdle
.globl QInIdle
.p2align 2, 0x0
QInIdle:
.word 0 // 0x0
.size QInIdle, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "idle: looped too many times\n"
.size .L.str, 29
.type debug,@object // @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_LOWER,@object // @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.word 0 // 0x0
.size DEBUG_LOWER, 4
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "idle: fc\n"
.size .L.str.1, 10
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "idle: fd\n"
.size .L.str.2, 10
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "idle: f9\n"
.size .L.str.3, 10
.type mboxinuse,@object // @mboxinuse
.bss
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type rescbuf,@object // @rescbuf
.globl rescbuf
.p2align 3, 0x0
rescbuf:
.xword 0
.size rescbuf, 8
.type qels,@object // @qels
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type resdbuf,@object // @resdbuf
.globl resdbuf
.p2align 3, 0x0
resdbuf:
.xword 0
.size resdbuf, 8
.type .L.str.4,@object // @.str.4
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.4:
.asciz "timed out idle f9\n"
.size .L.str.4, 19
.type xmQhd,@object // @xmQhd
.bss
.globl xmQhd
.p2align 2, 0x0
xmQhd:
.word 0 // 0x0
.size xmQhd, 4
.type .L.str.5,@object // @.str.5
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.5:
.asciz "timed out idle f8\n"
.size .L.str.5, 19
.type .L.str.6,@object // @.str.6
.L.str.6:
.asciz "idle: fa\n"
.size .L.str.6, 10
.type ltdmacbuf,@object // @ltdmacbuf
.bss
.globl ltdmacbuf
.p2align 3, 0x0
ltdmacbuf:
.xword 0
.size ltdmacbuf, 8
.type .L.str.7,@object // @.str.7
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.7:
.asciz "ltpc: sent command "
.size .L.str.7, 24
.type .L.str.8,@object // @.str.8
.L.str.8:
.asciz "%02x "
.size .L.str.8, 6
.type .L.str.9,@object // @.str.9
.L.str.9:
.asciz "\n"
.size .L.str.9, 2
.type .L.str.10,@object // @.str.10
.L.str.10:
.asciz "trouble: response command already queued\n"
.size .L.str.10, 42
.type .L.str.11,@object // @.str.11
.L.str.11:
.asciz "idle: fb\n"
.size .L.str.11, 10
.type ltdmabuf,@object // @ltdmabuf
.bss
.globl ltdmabuf
.p2align 3, 0x0
ltdmabuf:
.xword 0
.size ltdmabuf, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym idle
.addrsig_sym txqueue_lock
| .text
.file "extr_ltpc.c_idle.c"
.section .rodata.cst16,"aM",@progbits,16
.p2align 4, 0x0 // -- Begin function idle
.LCPI0_0:
.word 2 // 0x2
.word 2 // 0x2
.word 0 // 0x0
.word 0 // 0x0
.text
.p2align 2
.type idle,@function
idle: // @idle
.cfi_startproc
// %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #32] // 16-byte Folded Spill
stp x28, x27, [sp, #48] // 16-byte Folded Spill
stp x26, x25, [sp, #64] // 16-byte Folded Spill
stp x24, x23, [sp, #80] // 16-byte Folded Spill
stp x22, x21, [sp, #96] // 16-byte Folded Spill
stp x20, x19, [sp, #112] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
.cfi_remember_state
mov x19, x0
ldr w26, [x0]
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
bl spin_lock_irqsave
adrp x23, QInIdle
ldr w8, [x23, :lo12:QInIdle]
cbz w8, .LBB0_2
// %bb.1:
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
.cfi_def_cfa wsp, 128
ldp x20, x19, [sp, #112] // 16-byte Folded Reload
ldp x22, x21, [sp, #96] // 16-byte Folded Reload
ldp x24, x23, [sp, #80] // 16-byte Folded Reload
ldp x26, x25, [sp, #64] // 16-byte Folded Reload
ldp x28, x27, [sp, #48] // 16-byte Folded Reload
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #128
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
b spin_unlock_irqrestore
.LBB0_2:
.cfi_restore_state
.cfi_remember_state
mov w28, #1 // =0x1
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
str w28, [x23, :lo12:QInIdle]
bl spin_unlock_irqrestore
add w20, w26, #6
mov w0, w20
bl inb_p
adrp x8, .LCPI0_0
mov x22, xzr
adrp x21, .L.str
add x21, x21, :lo12:.L.str
adrp x24, .L.str.6
add x24, x24, :lo12:.L.str.6
ldr q0, [x8, :lo12:.LCPI0_0]
mov w27, #100 // =0x64
str q0, [sp, #16] // 16-byte Folded Spill
.LBB0_3: // =>This Loop Header: Depth=1
// Child Loop BB0_22 Depth 2
tbnz w27, #31, .LBB0_41
// %bb.4: // in Loop: Header=BB0_3 Depth=1
mov w0, w20
sub w27, w27, #1
bl inb_p
mov w25, w0
mov w0, w20
bl inb_p
cmp w25, w0
b.ne .LBB0_3
// %bb.5: // in Loop: Header=BB0_3 Depth=1
sub w8, w25, #248
cmp w8, #5
b.hi .LBB0_3
// %bb.6: // in Loop: Header=BB0_3 Depth=1
adrp x11, .LJTI0_0
add x11, x11, :lo12:.LJTI0_0
adr x9, .LBB0_7
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
.LBB0_7: // in Loop: Header=BB0_3 Depth=1
adrp x8, xmQhd
ldr w8, [x8, :lo12:xmQhd]
cbz w8, .LBB0_42
// %bb.8: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x19]
add w0, w8, #1
bl inb_p
ldr w0, [x19]
bl inb_p
mov x0, x19
mov w1, #248 // =0xf8
bl wait_timeout
cbz w0, .LBB0_3
// %bb.9: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.5
add x0, x0, :lo12:.L.str.5
bl printk
b .LBB0_3
.LBB0_10: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_12
// %bb.11: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl printk
.LBB0_12: // in Loop: Header=BB0_3 Depth=1
adrp x8, mboxinuse
ldr x8, [x8, :lo12:mboxinuse]
ldr w9, [x8]
cbnz w9, .LBB0_14
// %bb.13: // in Loop: Header=BB0_3 Depth=1
adrp x10, qels
adrp x9, rescbuf
ldr q0, [sp, #16] // 16-byte Folded Reload
str w28, [x8]
ldr x0, [x10, :lo12:qels]
adrp x10, resdbuf
ldr x9, [x9, :lo12:rescbuf]
ldr x10, [x10, :lo12:resdbuf]
str q0, [x0]
stp x10, x9, [x0, #16]
bl enQ
.LBB0_14: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x19]
add w0, w8, #1
bl inb_p
ldr w0, [x19]
bl inb_p
mov x0, x19
mov w1, #249 // =0xf9
bl wait_timeout
cbz w0, .LBB0_3
// %bb.15: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.4
add x0, x0, :lo12:.L.str.4
bl printk
b .LBB0_3
.LBB0_16: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
mov x25, x22
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_18
// %bb.17: // in Loop: Header=BB0_3 Depth=1
mov x0, x24
bl printk
.LBB0_18: // in Loop: Header=BB0_3 Depth=1
adrp x8, xmQhd
adrp x22, ltdmacbuf
ldr w8, [x8, :lo12:xmQhd]
cbz w8, .LBB0_35
// %bb.19: // in Loop: Header=BB0_3 Depth=1
bl deQ
mov x25, x0
ldr x0, [x22, :lo12:ltdmacbuf]
ldr x1, [x25]
ldr w2, [x25, #8]
bl memcpy
adrp x9, debug
ldr w8, [x25, #12]
ldr x10, [x22, :lo12:ltdmacbuf]
str x25, [sp, #8] // 8-byte Folded Spill
ldr w9, [x9, :lo12:debug]
str w8, [x10, #4]
cmp w9, #2
b.lt .LBB0_24
// %bb.20: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.7
add x0, x0, :lo12:.L.str.7
bl printk
ldr x8, [sp, #8] // 8-byte Folded Reload
adrp x24, .L.str.8
add x24, x24, :lo12:.L.str.8
ldr w8, [x8, #8]
cmp w8, #1
b.lt .LBB0_23
// %bb.21: // in Loop: Header=BB0_3 Depth=1
cmp w8, #100
mov w9, #100 // =0x64
csel w8, w8, w9, lt
mov x25, xzr
ubfiz x28, x8, #2, #32
.LBB0_22: // Parent Loop BB0_3 Depth=1
// => This Inner Loop Header: Depth=2
ldr x8, [x22, :lo12:ltdmacbuf]
mov x0, x24
ldr w1, [x8, x25]
bl printk
add x25, x25, #4
cmp x28, x25
b.ne .LBB0_22
.LBB0_23: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.9
add x0, x0, :lo12:.L.str.9
bl printk
mov w28, #1 // =0x1
adrp x24, .L.str.6
add x24, x24, :lo12:.L.str.6
.LBB0_24: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handlecommand
mov w0, w20
bl inb_p
ldr x22, [sp, #8] // 8-byte Folded Reload
cmp w0, #250
b.ne .LBB0_3
b .LBB0_42
.LBB0_25: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_27
// %bb.26: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.11
add x0, x0, :lo12:.L.str.11
bl printk
.LBB0_27: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x22, #28]
cbz w8, .LBB0_37
// %bb.28: // in Loop: Header=BB0_3 Depth=1
adrp x8, ltdmabuf
ldr x1, [x22, #16]
ldr w2, [x22, #24]
ldr x0, [x8, :lo12:ltdmabuf]
bl memcpy
mov x0, x19
bl handlewrite
b .LBB0_3
.LBB0_29: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_31
// %bb.30: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl printk
.LBB0_31: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handlefc
b .LBB0_3
.LBB0_32: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_34
// %bb.33: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
.LBB0_34: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handlefd
b .LBB0_3
.LBB0_35: // in Loop: Header=BB0_3 Depth=1
adrp x8, mboxinuse
ldr x8, [x8, :lo12:mboxinuse]
ldr w9, [x8]
cbnz w9, .LBB0_40
// %bb.36: // in Loop: Header=BB0_3 Depth=1
adrp x10, qels
adrp x9, rescbuf
ldr q0, [sp, #16] // 16-byte Folded Reload
str w28, [x8]
ldr x0, [x10, :lo12:qels]
adrp x10, resdbuf
ldr x9, [x9, :lo12:rescbuf]
ldr x10, [x10, :lo12:resdbuf]
str q0, [x0]
stp x10, x9, [x0, #16]
bl enQ
mov x22, x25
b .LBB0_3
.LBB0_37: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handleread
ldr w8, [x22, #12]
cbz w8, .LBB0_39
// %bb.38: // in Loop: Header=BB0_3 Depth=1
adrp x8, ltdmabuf
ldr x0, [x22, #16]
ldr w2, [x22, #24]
ldr x1, [x8, :lo12:ltdmabuf]
bl memcpy
b .LBB0_3
.LBB0_39: // in Loop: Header=BB0_3 Depth=1
adrp x8, ltdmabuf
adrp x11, mboxinuse
adrp x10, mailbox
ldr x8, [x8, :lo12:ltdmabuf]
ldr x11, [x11, :lo12:mboxinuse]
ldr x10, [x10, :lo12:mailbox]
ldp w9, w8, [x8]
and x9, x9, #0xf
str w8, [x10, x9, lsl #2]
str wzr, [x11]
b .LBB0_3
.LBB0_40:
adrp x21, .L.str.10
add x21, x21, :lo12:.L.str.10
.LBB0_41:
mov x0, x21
bl printk
.LBB0_42:
ldr x8, [x19, #8]
str wzr, [x23, :lo12:QInIdle]
cbz x8, .LBB0_44
// %bb.43:
add w19, w26, #7
mov w0, w19
bl inb_p
mov w0, w19
.cfi_def_cfa wsp, 128
ldp x20, x19, [sp, #112] // 16-byte Folded Reload
ldp x22, x21, [sp, #96] // 16-byte Folded Reload
ldp x24, x23, [sp, #80] // 16-byte Folded Reload
ldp x26, x25, [sp, #64] // 16-byte Folded Reload
ldp x28, x27, [sp, #48] // 16-byte Folded Reload
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #128
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
b inb_p
.LBB0_44:
.cfi_restore_state
.cfi_def_cfa wsp, 128
ldp x20, x19, [sp, #112] // 16-byte Folded Reload
ldp x22, x21, [sp, #96] // 16-byte Folded Reload
ldp x24, x23, [sp, #80] // 16-byte Folded Reload
ldp x26, x25, [sp, #64] // 16-byte Folded Reload
ldp x28, x27, [sp, #48] // 16-byte Folded Reload
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #128
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size idle, .Lfunc_end0-idle
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_7-.LBB0_7)>>2
.byte (.LBB0_10-.LBB0_7)>>2
.byte (.LBB0_16-.LBB0_7)>>2
.byte (.LBB0_25-.LBB0_7)>>2
.byte (.LBB0_29-.LBB0_7)>>2
.byte (.LBB0_32-.LBB0_7)>>2
// -- End function
.type txqueue_lock,@object // @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.word 0 // 0x0
.size txqueue_lock, 4
.type QInIdle,@object // @QInIdle
.globl QInIdle
.p2align 2, 0x0
QInIdle:
.word 0 // 0x0
.size QInIdle, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "idle: looped too many times\n"
.size .L.str, 29
.type debug,@object // @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_LOWER,@object // @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.word 0 // 0x0
.size DEBUG_LOWER, 4
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "idle: fc\n"
.size .L.str.1, 10
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "idle: fd\n"
.size .L.str.2, 10
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "idle: f9\n"
.size .L.str.3, 10
.type mboxinuse,@object // @mboxinuse
.bss
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type rescbuf,@object // @rescbuf
.globl rescbuf
.p2align 3, 0x0
rescbuf:
.xword 0
.size rescbuf, 8
.type qels,@object // @qels
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type resdbuf,@object // @resdbuf
.globl resdbuf
.p2align 3, 0x0
resdbuf:
.xword 0
.size resdbuf, 8
.type .L.str.4,@object // @.str.4
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.4:
.asciz "timed out idle f9\n"
.size .L.str.4, 19
.type xmQhd,@object // @xmQhd
.bss
.globl xmQhd
.p2align 2, 0x0
xmQhd:
.word 0 // 0x0
.size xmQhd, 4
.type .L.str.5,@object // @.str.5
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.5:
.asciz "timed out idle f8\n"
.size .L.str.5, 19
.type .L.str.6,@object // @.str.6
.L.str.6:
.asciz "idle: fa\n"
.size .L.str.6, 10
.type ltdmacbuf,@object // @ltdmacbuf
.bss
.globl ltdmacbuf
.p2align 3, 0x0
ltdmacbuf:
.xword 0
.size ltdmacbuf, 8
.type .L.str.7,@object // @.str.7
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.7:
.asciz "ltpc: sent command "
.size .L.str.7, 24
.type .L.str.8,@object // @.str.8
.L.str.8:
.asciz "%02x "
.size .L.str.8, 6
.type .L.str.9,@object // @.str.9
.L.str.9:
.asciz "\n"
.size .L.str.9, 2
.type .L.str.10,@object // @.str.10
.L.str.10:
.asciz "trouble: response command already queued\n"
.size .L.str.10, 42
.type .L.str.11,@object // @.str.11
.L.str.11:
.asciz "idle: fb\n"
.size .L.str.11, 10
.type ltdmabuf,@object // @ltdmabuf
.bss
.globl ltdmabuf
.p2align 3, 0x0
ltdmabuf:
.xword 0
.size ltdmabuf, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym idle
.addrsig_sym txqueue_lock
| .text
.file "extr_ltpc.c_idle.c"
.section .rodata.cst16,"aM",@progbits,16
.p2align 4, 0x0 // -- Begin function idle
.LCPI0_0:
.word 2 // 0x2
.word 2 // 0x2
.word 0 // 0x0
.word 0 // 0x0
.text
.p2align 2
.type idle,@function
idle: // @idle
.cfi_startproc
// %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #32] // 16-byte Folded Spill
stp x28, x27, [sp, #48] // 16-byte Folded Spill
stp x26, x25, [sp, #64] // 16-byte Folded Spill
stp x24, x23, [sp, #80] // 16-byte Folded Spill
stp x22, x21, [sp, #96] // 16-byte Folded Spill
stp x20, x19, [sp, #112] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
.cfi_remember_state
mov x19, x0
ldr w26, [x0]
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
bl spin_lock_irqsave
adrp x23, QInIdle
ldr w8, [x23, :lo12:QInIdle]
cbz w8, .LBB0_2
// %bb.1:
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
.cfi_def_cfa wsp, 128
ldp x20, x19, [sp, #112] // 16-byte Folded Reload
ldp x22, x21, [sp, #96] // 16-byte Folded Reload
ldp x24, x23, [sp, #80] // 16-byte Folded Reload
ldp x26, x25, [sp, #64] // 16-byte Folded Reload
ldp x28, x27, [sp, #48] // 16-byte Folded Reload
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #128
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
b spin_unlock_irqrestore
.LBB0_2:
.cfi_restore_state
.cfi_remember_state
mov w28, #1 // =0x1
adrp x0, txqueue_lock
add x0, x0, :lo12:txqueue_lock
str w28, [x23, :lo12:QInIdle]
bl spin_unlock_irqrestore
add w20, w26, #6
mov w0, w20
bl inb_p
adrp x8, .LCPI0_0
mov x22, xzr
adrp x21, .L.str
add x21, x21, :lo12:.L.str
adrp x24, .L.str.6
add x24, x24, :lo12:.L.str.6
ldr q0, [x8, :lo12:.LCPI0_0]
mov w27, #100 // =0x64
str q0, [sp, #16] // 16-byte Folded Spill
.LBB0_3: // =>This Loop Header: Depth=1
// Child Loop BB0_22 Depth 2
tbnz w27, #31, .LBB0_41
// %bb.4: // in Loop: Header=BB0_3 Depth=1
mov w0, w20
sub w27, w27, #1
bl inb_p
mov w25, w0
mov w0, w20
bl inb_p
cmp w25, w0
b.ne .LBB0_3
// %bb.5: // in Loop: Header=BB0_3 Depth=1
sub w8, w25, #248
cmp w8, #5
b.hi .LBB0_3
// %bb.6: // in Loop: Header=BB0_3 Depth=1
adrp x11, .LJTI0_0
add x11, x11, :lo12:.LJTI0_0
adr x9, .LBB0_7
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
.LBB0_7: // in Loop: Header=BB0_3 Depth=1
adrp x8, xmQhd
ldr w8, [x8, :lo12:xmQhd]
cbz w8, .LBB0_42
// %bb.8: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x19]
add w0, w8, #1
bl inb_p
ldr w0, [x19]
bl inb_p
mov x0, x19
mov w1, #248 // =0xf8
bl wait_timeout
cbz w0, .LBB0_3
// %bb.9: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.5
add x0, x0, :lo12:.L.str.5
bl printk
b .LBB0_3
.LBB0_10: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_12
// %bb.11: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl printk
.LBB0_12: // in Loop: Header=BB0_3 Depth=1
adrp x8, mboxinuse
ldr x8, [x8, :lo12:mboxinuse]
ldr w9, [x8]
cbnz w9, .LBB0_14
// %bb.13: // in Loop: Header=BB0_3 Depth=1
adrp x10, qels
adrp x9, rescbuf
ldr q0, [sp, #16] // 16-byte Folded Reload
str w28, [x8]
ldr x0, [x10, :lo12:qels]
adrp x10, resdbuf
ldr x9, [x9, :lo12:rescbuf]
ldr x10, [x10, :lo12:resdbuf]
str q0, [x0]
stp x10, x9, [x0, #16]
bl enQ
.LBB0_14: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x19]
add w0, w8, #1
bl inb_p
ldr w0, [x19]
bl inb_p
mov x0, x19
mov w1, #249 // =0xf9
bl wait_timeout
cbz w0, .LBB0_3
// %bb.15: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.4
add x0, x0, :lo12:.L.str.4
bl printk
b .LBB0_3
.LBB0_16: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
mov x25, x22
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_18
// %bb.17: // in Loop: Header=BB0_3 Depth=1
mov x0, x24
bl printk
.LBB0_18: // in Loop: Header=BB0_3 Depth=1
adrp x8, xmQhd
adrp x22, ltdmacbuf
ldr w8, [x8, :lo12:xmQhd]
cbz w8, .LBB0_35
// %bb.19: // in Loop: Header=BB0_3 Depth=1
bl deQ
mov x25, x0
ldr x0, [x22, :lo12:ltdmacbuf]
ldr x1, [x25]
ldr w2, [x25, #8]
bl memcpy
adrp x9, debug
ldr w8, [x25, #12]
ldr x10, [x22, :lo12:ltdmacbuf]
str x25, [sp, #8] // 8-byte Folded Spill
ldr w9, [x9, :lo12:debug]
str w8, [x10, #4]
cmp w9, #2
b.lt .LBB0_24
// %bb.20: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.7
add x0, x0, :lo12:.L.str.7
bl printk
ldr x8, [sp, #8] // 8-byte Folded Reload
adrp x24, .L.str.8
add x24, x24, :lo12:.L.str.8
ldr w8, [x8, #8]
cmp w8, #1
b.lt .LBB0_23
// %bb.21: // in Loop: Header=BB0_3 Depth=1
cmp w8, #100
mov w9, #100 // =0x64
csel w8, w8, w9, lt
mov x25, xzr
ubfiz x28, x8, #2, #32
.LBB0_22: // Parent Loop BB0_3 Depth=1
// => This Inner Loop Header: Depth=2
ldr x8, [x22, :lo12:ltdmacbuf]
mov x0, x24
ldr w1, [x8, x25]
bl printk
add x25, x25, #4
cmp x28, x25
b.ne .LBB0_22
.LBB0_23: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.9
add x0, x0, :lo12:.L.str.9
bl printk
mov w28, #1 // =0x1
adrp x24, .L.str.6
add x24, x24, :lo12:.L.str.6
.LBB0_24: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handlecommand
mov w0, w20
bl inb_p
ldr x22, [sp, #8] // 8-byte Folded Reload
cmp w0, #250
b.ne .LBB0_3
b .LBB0_42
.LBB0_25: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_27
// %bb.26: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.11
add x0, x0, :lo12:.L.str.11
bl printk
.LBB0_27: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x22, #28]
cbz w8, .LBB0_37
// %bb.28: // in Loop: Header=BB0_3 Depth=1
adrp x8, ltdmabuf
ldr x1, [x22, #16]
ldr w2, [x22, #24]
ldr x0, [x8, :lo12:ltdmabuf]
bl memcpy
mov x0, x19
bl handlewrite
b .LBB0_3
.LBB0_29: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_31
// %bb.30: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl printk
.LBB0_31: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handlefc
b .LBB0_3
.LBB0_32: // in Loop: Header=BB0_3 Depth=1
adrp x8, debug
adrp x9, DEBUG_LOWER
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_LOWER]
tst w9, w8
b.eq .LBB0_34
// %bb.33: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
.LBB0_34: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handlefd
b .LBB0_3
.LBB0_35: // in Loop: Header=BB0_3 Depth=1
adrp x8, mboxinuse
ldr x8, [x8, :lo12:mboxinuse]
ldr w9, [x8]
cbnz w9, .LBB0_40
// %bb.36: // in Loop: Header=BB0_3 Depth=1
adrp x10, qels
adrp x9, rescbuf
ldr q0, [sp, #16] // 16-byte Folded Reload
str w28, [x8]
ldr x0, [x10, :lo12:qels]
adrp x10, resdbuf
ldr x9, [x9, :lo12:rescbuf]
ldr x10, [x10, :lo12:resdbuf]
str q0, [x0]
stp x10, x9, [x0, #16]
bl enQ
mov x22, x25
b .LBB0_3
.LBB0_37: // in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl handleread
ldr w8, [x22, #12]
cbz w8, .LBB0_39
// %bb.38: // in Loop: Header=BB0_3 Depth=1
adrp x8, ltdmabuf
ldr x0, [x22, #16]
ldr w2, [x22, #24]
ldr x1, [x8, :lo12:ltdmabuf]
bl memcpy
b .LBB0_3
.LBB0_39: // in Loop: Header=BB0_3 Depth=1
adrp x8, ltdmabuf
adrp x11, mboxinuse
adrp x10, mailbox
ldr x8, [x8, :lo12:ltdmabuf]
ldr x11, [x11, :lo12:mboxinuse]
ldr x10, [x10, :lo12:mailbox]
ldp w9, w8, [x8]
and x9, x9, #0xf
str w8, [x10, x9, lsl #2]
str wzr, [x11]
b .LBB0_3
.LBB0_40:
adrp x21, .L.str.10
add x21, x21, :lo12:.L.str.10
.LBB0_41:
mov x0, x21
bl printk
.LBB0_42:
ldr x8, [x19, #8]
str wzr, [x23, :lo12:QInIdle]
cbz x8, .LBB0_44
// %bb.43:
add w19, w26, #7
mov w0, w19
bl inb_p
mov w0, w19
.cfi_def_cfa wsp, 128
ldp x20, x19, [sp, #112] // 16-byte Folded Reload
ldp x22, x21, [sp, #96] // 16-byte Folded Reload
ldp x24, x23, [sp, #80] // 16-byte Folded Reload
ldp x26, x25, [sp, #64] // 16-byte Folded Reload
ldp x28, x27, [sp, #48] // 16-byte Folded Reload
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #128
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
b inb_p
.LBB0_44:
.cfi_restore_state
.cfi_def_cfa wsp, 128
ldp x20, x19, [sp, #112] // 16-byte Folded Reload
ldp x22, x21, [sp, #96] // 16-byte Folded Reload
ldp x24, x23, [sp, #80] // 16-byte Folded Reload
ldp x26, x25, [sp, #64] // 16-byte Folded Reload
ldp x28, x27, [sp, #48] // 16-byte Folded Reload
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #128
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w28
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size idle, .Lfunc_end0-idle
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_7-.LBB0_7)>>2
.byte (.LBB0_10-.LBB0_7)>>2
.byte (.LBB0_16-.LBB0_7)>>2
.byte (.LBB0_25-.LBB0_7)>>2
.byte (.LBB0_29-.LBB0_7)>>2
.byte (.LBB0_32-.LBB0_7)>>2
// -- End function
.type txqueue_lock,@object // @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.word 0 // 0x0
.size txqueue_lock, 4
.type QInIdle,@object // @QInIdle
.globl QInIdle
.p2align 2, 0x0
QInIdle:
.word 0 // 0x0
.size QInIdle, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "idle: looped too many times\n"
.size .L.str, 29
.type debug,@object // @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_LOWER,@object // @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.word 0 // 0x0
.size DEBUG_LOWER, 4
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "idle: fc\n"
.size .L.str.1, 10
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "idle: fd\n"
.size .L.str.2, 10
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "idle: f9\n"
.size .L.str.3, 10
.type mboxinuse,@object // @mboxinuse
.bss
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type rescbuf,@object // @rescbuf
.globl rescbuf
.p2align 3, 0x0
rescbuf:
.xword 0
.size rescbuf, 8
.type qels,@object // @qels
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type resdbuf,@object // @resdbuf
.globl resdbuf
.p2align 3, 0x0
resdbuf:
.xword 0
.size resdbuf, 8
.type .L.str.4,@object // @.str.4
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.4:
.asciz "timed out idle f9\n"
.size .L.str.4, 19
.type xmQhd,@object // @xmQhd
.bss
.globl xmQhd
.p2align 2, 0x0
xmQhd:
.word 0 // 0x0
.size xmQhd, 4
.type .L.str.5,@object // @.str.5
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.5:
.asciz "timed out idle f8\n"
.size .L.str.5, 19
.type .L.str.6,@object // @.str.6
.L.str.6:
.asciz "idle: fa\n"
.size .L.str.6, 10
.type ltdmacbuf,@object // @ltdmacbuf
.bss
.globl ltdmacbuf
.p2align 3, 0x0
ltdmacbuf:
.xword 0
.size ltdmacbuf, 8
.type .L.str.7,@object // @.str.7
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.7:
.asciz "ltpc: sent command "
.size .L.str.7, 24
.type .L.str.8,@object // @.str.8
.L.str.8:
.asciz "%02x "
.size .L.str.8, 6
.type .L.str.9,@object // @.str.9
.L.str.9:
.asciz "\n"
.size .L.str.9, 2
.type .L.str.10,@object // @.str.10
.L.str.10:
.asciz "trouble: response command already queued\n"
.size .L.str.10, 42
.type .L.str.11,@object // @.str.11
.L.str.11:
.asciz "idle: fb\n"
.size .L.str.11, 10
.type ltdmabuf,@object // @ltdmabuf
.bss
.globl ltdmabuf
.p2align 3, 0x0
ltdmabuf:
.xword 0
.size ltdmabuf, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym idle
.addrsig_sym txqueue_lock
| .text
.file "extr_ltpc.c_idle.c"
.p2align 4, 0x90 # -- Begin function idle
.type idle,@function
idle: # @idle
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq $0, -32(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -44(%rbp)
movq -16(%rbp), %rsi
leaq txqueue_lock(%rip), %rdi
callq spin_lock_irqsave@PLT
cmpl $0, QInIdle(%rip)
je .LBB0_2
# %bb.1:
movq -16(%rbp), %rsi
leaq txqueue_lock(%rip), %rdi
callq spin_unlock_irqrestore@PLT
jmp .LBB0_59
.LBB0_2:
movl $1, QInIdle(%rip)
movq -16(%rbp), %rsi
leaq txqueue_lock(%rip), %rdi
callq spin_unlock_irqrestore@PLT
movl -44(%rbp), %edi
addl $6, %edi
callq inb_p@PLT
movl $100, -36(%rbp)
.LBB0_3: # =>This Loop Header: Depth=1
# Child Loop BB0_34 Depth 2
movl -36(%rbp), %ecx
movl %ecx, %eax
addl $-1, %eax
movl %eax, -36(%rbp)
xorl %eax, %eax
cmpl %ecx, %eax
jle .LBB0_5
# %bb.4:
leaq .L.str(%rip), %rdi
movb $0, %al
callq printk@PLT
jmp .LBB0_56
.LBB0_5: # in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi
addl $6, %edi
callq inb_p@PLT
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
movl %eax, -52(%rbp) # 4-byte Spill
movl -44(%rbp), %edi
addl $6, %edi
callq inb_p@PLT
movl %eax, %ecx
movl -52(%rbp), %eax # 4-byte Reload
cmpl %ecx, %eax
je .LBB0_7
# %bb.6: # in Loop: Header=BB0_3 Depth=1
jmp .LBB0_3
.LBB0_7: # in Loop: Header=BB0_3 Depth=1
movl -20(%rbp), %eax
addl $-248, %eax
movl %eax, %ecx
movq %rcx, -64(%rbp) # 8-byte Spill
subl $5, %eax
ja .LBB0_55
# %bb.60: # in Loop: Header=BB0_3 Depth=1
movq -64(%rbp), %rax # 8-byte Reload
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_8: # in Loop: Header=BB0_3 Depth=1
movl debug(%rip), %eax
andl DEBUG_LOWER(%rip), %eax
cmpl $0, %eax
je .LBB0_10
# %bb.9: # in Loop: Header=BB0_3 Depth=1
leaq .L.str.1(%rip), %rdi
movb $0, %al
callq printk@PLT
.LBB0_10: # in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rdi
callq handlefc@PLT
jmp .LBB0_55
.LBB0_11: # in Loop: Header=BB0_3 Depth=1
movl debug(%rip), %eax
andl DEBUG_LOWER(%rip), %eax
cmpl $0, %eax
je .LBB0_13
# %bb.12: # in Loop: Header=BB0_3 Depth=1
leaq .L.str.2(%rip), %rdi
movb $0, %al
callq printk@PLT
.LBB0_13: # in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rdi
callq handlefd@PLT
jmp .LBB0_55
.LBB0_14: # in Loop: Header=BB0_3 Depth=1
movl debug(%rip), %eax
andl DEBUG_LOWER(%rip), %eax
cmpl $0, %eax
je .LBB0_16
# %bb.15: # in Loop: Header=BB0_3 Depth=1
leaq .L.str.3(%rip), %rdi
movb $0, %al
callq printk@PLT
.LBB0_16: # in Loop: Header=BB0_3 Depth=1
movq mboxinuse(%rip), %rax
cmpl $0, (%rax)
jne .LBB0_18
# %bb.17: # in Loop: Header=BB0_3 Depth=1
movq mboxinuse(%rip), %rax
movl $1, (%rax)
movq rescbuf(%rip), %rcx
movq qels(%rip), %rax
movq %rcx, 24(%rax)
movq qels(%rip), %rax
movl $2, (%rax)
movq resdbuf(%rip), %rcx
movq qels(%rip), %rax
movq %rcx, 16(%rax)
movq qels(%rip), %rax
movl $2, 4(%rax)
movq qels(%rip), %rax
movl $0, 12(%rax)
movq qels(%rip), %rax
movl $0, 8(%rax)
movq qels(%rip), %rdi
callq enQ@PLT
.LBB0_18: # in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rax
movl (%rax), %edi
addl $1, %edi
callq inb_p@PLT
movq -8(%rbp), %rax
movl (%rax), %edi
addl $0, %edi
callq inb_p@PLT
movq -8(%rbp), %rdi
movl $249, %esi
callq wait_timeout@PLT
cmpl $0, %eax
je .LBB0_20
# %bb.19: # in Loop: Header=BB0_3 Depth=1
leaq .L.str.4(%rip), %rdi
movb $0, %al
callq printk@PLT
.LBB0_20: # in Loop: Header=BB0_3 Depth=1
jmp .LBB0_55
.LBB0_21: # in Loop: Header=BB0_3 Depth=1
cmpl $0, xmQhd(%rip)
je .LBB0_25
# %bb.22: # in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rax
movl (%rax), %edi
addl $1, %edi
callq inb_p@PLT
movq -8(%rbp), %rax
movl (%rax), %edi
addl $0, %edi
callq inb_p@PLT
movq -8(%rbp), %rdi
movl $248, %esi
callq wait_timeout@PLT
cmpl $0, %eax
je .LBB0_24
# %bb.23: # in Loop: Header=BB0_3 Depth=1
leaq .L.str.5(%rip), %rdi
movb $0, %al
callq printk@PLT
.LBB0_24: # in Loop: Header=BB0_3 Depth=1
jmp .LBB0_26
.LBB0_25:
jmp .LBB0_56
.LBB0_26: # in Loop: Header=BB0_3 Depth=1
jmp .LBB0_55
.LBB0_27: # in Loop: Header=BB0_3 Depth=1
movl debug(%rip), %eax
andl DEBUG_LOWER(%rip), %eax
cmpl $0, %eax
je .LBB0_29
# %bb.28: # in Loop: Header=BB0_3 Depth=1
leaq .L.str.6(%rip), %rdi
movb $0, %al
callq printk@PLT
.LBB0_29: # in Loop: Header=BB0_3 Depth=1
cmpl $0, xmQhd(%rip)
je .LBB0_41
# %bb.30: # in Loop: Header=BB0_3 Depth=1
movb $0, %al
callq deQ@PLT
movq %rax, -32(%rbp)
movq ltdmacbuf(%rip), %rdi
movq -32(%rbp), %rax
movq (%rax), %rsi
movq -32(%rbp), %rax
movl 8(%rax), %edx
callq memcpy@PLT
movq -32(%rbp), %rax
movl 12(%rax), %ecx
movq ltdmacbuf(%rip), %rax
movl %ecx, 4(%rax)
cmpl $1, debug(%rip)
jle .LBB0_38
# %bb.31: # in Loop: Header=BB0_3 Depth=1
leaq .L.str.7(%rip), %rdi
movb $0, %al
callq printk@PLT
movq -32(%rbp), %rax
movl 8(%rax), %eax
movl %eax, -48(%rbp)
cmpl $100, -48(%rbp)
jle .LBB0_33
# %bb.32: # in Loop: Header=BB0_3 Depth=1
movl $100, -48(%rbp)
.LBB0_33: # in Loop: Header=BB0_3 Depth=1
movl $0, -40(%rbp)
.LBB0_34: # Parent Loop BB0_3 Depth=1
# => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl -48(%rbp), %eax
jge .LBB0_37
# %bb.35: # in Loop: Header=BB0_34 Depth=2
movq ltdmacbuf(%rip), %rax
movslq -40(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq .L.str.8(%rip), %rdi
movb $0, %al
callq printk@PLT
# %bb.36: # in Loop: Header=BB0_34 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp .LBB0_34
.LBB0_37: # in Loop: Header=BB0_3 Depth=1
leaq .L.str.9(%rip), %rdi
movb $0, %al
callq printk@PLT
.LBB0_38: # in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rdi
callq handlecommand@PLT
movl -44(%rbp), %edi
addl $6, %edi
callq inb_p@PLT
movl %eax, %ecx
movl $250, %eax
cmpl %ecx, %eax
jne .LBB0_40
# %bb.39:
jmp .LBB0_56
.LBB0_40: # in Loop: Header=BB0_3 Depth=1
jmp .LBB0_45
.LBB0_41: # in Loop: Header=BB0_3 Depth=1
movq mboxinuse(%rip), %rax
cmpl $0, (%rax)
jne .LBB0_43
# %bb.42: # in Loop: Header=BB0_3 Depth=1
movq mboxinuse(%rip), %rax
movl $1, (%rax)
movq rescbuf(%rip), %rcx
movq qels(%rip), %rax
movq %rcx, 24(%rax)
movq qels(%rip), %rax
movl $2, (%rax)
movq resdbuf(%rip), %rcx
movq qels(%rip), %rax
movq %rcx, 16(%rax)
movq qels(%rip), %rax
movl $2, 4(%rax)
movq qels(%rip), %rax
movl $0, 12(%rax)
movq qels(%rip), %rax
movl $0, 8(%rax)
movq qels(%rip), %rdi
callq enQ@PLT
jmp .LBB0_44
.LBB0_43:
leaq .L.str.10(%rip), %rdi
movb $0, %al
callq printk@PLT
jmp .LBB0_56
.LBB0_44: # in Loop: Header=BB0_3 Depth=1
jmp .LBB0_45
.LBB0_45: # in Loop: Header=BB0_3 Depth=1
jmp .LBB0_55
.LBB0_46: # in Loop: Header=BB0_3 Depth=1
movl debug(%rip), %eax
andl DEBUG_LOWER(%rip), %eax
cmpl $0, %eax
je .LBB0_48
# %bb.47: # in Loop: Header=BB0_3 Depth=1
leaq .L.str.11(%rip), %rdi
movb $0, %al
callq printk@PLT
.LBB0_48: # in Loop: Header=BB0_3 Depth=1
movq -32(%rbp), %rax
cmpl $0, 28(%rax)
je .LBB0_50
# %bb.49: # in Loop: Header=BB0_3 Depth=1
movq ltdmabuf(%rip), %rdi
movq -32(%rbp), %rax
movq 16(%rax), %rsi
movq -32(%rbp), %rax
movl 24(%rax), %edx
callq memcpy@PLT
movq -8(%rbp), %rdi
callq handlewrite@PLT
jmp .LBB0_54
.LBB0_50: # in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rdi
callq handleread@PLT
movq -32(%rbp), %rax
cmpl $0, 12(%rax)
je .LBB0_52
# %bb.51: # in Loop: Header=BB0_3 Depth=1
movq -32(%rbp), %rax
movq 16(%rax), %rdi
movq ltdmabuf(%rip), %rsi
movq -32(%rbp), %rax
movl 24(%rax), %edx
callq memcpy@PLT
jmp .LBB0_53
.LBB0_52: # in Loop: Header=BB0_3 Depth=1
movq ltdmabuf(%rip), %rax
movl 4(%rax), %edx
movq mailbox(%rip), %rax
movq ltdmabuf(%rip), %rcx
movl (%rcx), %ecx
andl $15, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movq mboxinuse(%rip), %rax
movl $0, (%rax)
.LBB0_53: # in Loop: Header=BB0_3 Depth=1
jmp .LBB0_54
.LBB0_54: # in Loop: Header=BB0_3 Depth=1
jmp .LBB0_55
.LBB0_55: # in Loop: Header=BB0_3 Depth=1
jmp .LBB0_3
.LBB0_56:
movl $0, QInIdle(%rip)
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je .LBB0_58
# %bb.57:
movl -44(%rbp), %edi
addl $7, %edi
callq inb_p@PLT
movl -44(%rbp), %edi
addl $7, %edi
callq inb_p@PLT
.LBB0_58:
jmp .LBB0_59
.LBB0_59:
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size idle, .Lfunc_end0-idle
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_21-.LJTI0_0
.long .LBB0_14-.LJTI0_0
.long .LBB0_27-.LJTI0_0
.long .LBB0_46-.LJTI0_0
.long .LBB0_8-.LJTI0_0
.long .LBB0_11-.LJTI0_0
# -- End function
.type txqueue_lock,@object # @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.long 0 # 0x0
.size txqueue_lock, 4
.type QInIdle,@object # @QInIdle
.globl QInIdle
.p2align 2, 0x0
QInIdle:
.long 0 # 0x0
.size QInIdle, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "idle: looped too many times\n"
.size .L.str, 29
.type debug,@object # @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_LOWER,@object # @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.long 0 # 0x0
.size DEBUG_LOWER, 4
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "idle: fc\n"
.size .L.str.1, 10
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "idle: fd\n"
.size .L.str.2, 10
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "idle: f9\n"
.size .L.str.3, 10
.type mboxinuse,@object # @mboxinuse
.bss
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type rescbuf,@object # @rescbuf
.globl rescbuf
.p2align 3, 0x0
rescbuf:
.quad 0
.size rescbuf, 8
.type qels,@object # @qels
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type resdbuf,@object # @resdbuf
.globl resdbuf
.p2align 3, 0x0
resdbuf:
.quad 0
.size resdbuf, 8
.type .L.str.4,@object # @.str.4
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.4:
.asciz "timed out idle f9\n"
.size .L.str.4, 19
.type xmQhd,@object # @xmQhd
.bss
.globl xmQhd
.p2align 2, 0x0
xmQhd:
.long 0 # 0x0
.size xmQhd, 4
.type .L.str.5,@object # @.str.5
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.5:
.asciz "timed out idle f8\n"
.size .L.str.5, 19
.type .L.str.6,@object # @.str.6
.L.str.6:
.asciz "idle: fa\n"
.size .L.str.6, 10
.type ltdmacbuf,@object # @ltdmacbuf
.bss
.globl ltdmacbuf
.p2align 3, 0x0
ltdmacbuf:
.quad 0
.size ltdmacbuf, 8
.type .L.str.7,@object # @.str.7
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.7:
.asciz "ltpc: sent command "
.size .L.str.7, 24
.type .L.str.8,@object # @.str.8
.L.str.8:
.asciz "%02x "
.size .L.str.8, 6
.type .L.str.9,@object # @.str.9
.L.str.9:
.asciz "\n"
.size .L.str.9, 2
.type .L.str.10,@object # @.str.10
.L.str.10:
.asciz "trouble: response command already queued\n"
.size .L.str.10, 42
.type .L.str.11,@object # @.str.11
.L.str.11:
.asciz "idle: fb\n"
.size .L.str.11, 10
.type ltdmabuf,@object # @ltdmabuf
.bss
.globl ltdmabuf
.p2align 3, 0x0
ltdmabuf:
.quad 0
.size ltdmabuf, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym idle
.addrsig_sym spin_lock_irqsave
.addrsig_sym spin_unlock_irqrestore
.addrsig_sym inb_p
.addrsig_sym printk
.addrsig_sym handlefc
.addrsig_sym handlefd
.addrsig_sym enQ
.addrsig_sym wait_timeout
.addrsig_sym deQ
.addrsig_sym memcpy
.addrsig_sym handlecommand
.addrsig_sym handlewrite
.addrsig_sym handleread
.addrsig_sym txqueue_lock
.addrsig_sym QInIdle
.addrsig_sym debug
.addrsig_sym DEBUG_LOWER
.addrsig_sym mboxinuse
.addrsig_sym rescbuf
.addrsig_sym qels
.addrsig_sym resdbuf
.addrsig_sym xmQhd
.addrsig_sym ltdmacbuf
.addrsig_sym ltdmabuf
.addrsig_sym mailbox
| .text
.file "extr_ltpc.c_idle.c"
.p2align 4, 0x90 # -- Begin function idle
.type idle,@function
idle: # @idle
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $24, %rsp
.cfi_def_cfa_offset 80
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %r14
movl (%rdi), %ebx
leaq txqueue_lock(%rip), %rdi
callq spin_lock_irqsave@PLT
cmpl $0, QInIdle(%rip)
je .LBB0_1
# %bb.45:
leaq txqueue_lock(%rip), %rdi
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp spin_unlock_irqrestore@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 80
movl $1, QInIdle(%rip)
leaq txqueue_lock(%rip), %rdi
callq spin_unlock_irqrestore@PLT
leal 6(%rbx), %ebp
movl %ebp, %edi
callq inb_p@PLT
leaq .L.str(%rip), %r15
xorl %eax, %eax
movq %rax, 8(%rsp) # 8-byte Spill
movl $100, %r12d
.p2align 4, 0x90
.LBB0_2: # =>This Loop Header: Depth=1
# Child Loop BB0_28 Depth 2
testl %r12d, %r12d
js .LBB0_35
# %bb.3: # in Loop: Header=BB0_2 Depth=1
decl %r12d
movl %ebp, %edi
callq inb_p@PLT
movl %eax, %r13d
movl %ebp, %edi
callq inb_p@PLT
cmpl %eax, %r13d
jne .LBB0_2
# %bb.4: # in Loop: Header=BB0_2 Depth=1
addl $-248, %r13d
cmpl $5, %r13d
ja .LBB0_2
# %bb.5: # in Loop: Header=BB0_2 Depth=1
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%r13,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_19: # in Loop: Header=BB0_2 Depth=1
cmpl $0, xmQhd(%rip)
je .LBB0_31
# %bb.20: # in Loop: Header=BB0_2 Depth=1
movl (%r14), %edi
incl %edi
callq inb_p@PLT
movl (%r14), %edi
callq inb_p@PLT
movq %r14, %rdi
movl $248, %esi
callq wait_timeout@PLT
testl %eax, %eax
je .LBB0_2
# %bb.21: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.5(%rip), %rdi
jmp .LBB0_18
.LBB0_12: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_14
# %bb.13: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.3(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_14: # in Loop: Header=BB0_2 Depth=1
movq mboxinuse(%rip), %rax
cmpl $0, (%rax)
jne .LBB0_16
# %bb.15: # in Loop: Header=BB0_2 Depth=1
movl $1, (%rax)
movq rescbuf(%rip), %rax
movq qels(%rip), %rdi
movq %rax, 24(%rdi)
movl $2, (%rdi)
movq resdbuf(%rip), %rax
movq %rax, 16(%rdi)
movq $2, 4(%rdi)
movl $0, 12(%rdi)
callq enQ@PLT
.LBB0_16: # in Loop: Header=BB0_2 Depth=1
movl (%r14), %edi
incl %edi
callq inb_p@PLT
movl (%r14), %edi
callq inb_p@PLT
movq %r14, %rdi
movl $249, %esi
callq wait_timeout@PLT
testl %eax, %eax
je .LBB0_2
# %bb.17: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.4(%rip), %rdi
.LBB0_18: # in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq printk@PLT
jmp .LBB0_2
.LBB0_22: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_24
# %bb.23: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.6(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_24: # in Loop: Header=BB0_2 Depth=1
cmpl $0, xmQhd(%rip)
je .LBB0_33
# %bb.25: # in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq deQ@PLT
movq %rax, %r13
movq ltdmacbuf(%rip), %rdi
movq (%rax), %rsi
movl 8(%rax), %edx
callq memcpy@PLT
movq %r13, %rax
movq %r13, 8(%rsp) # 8-byte Spill
movl 12(%r13), %eax
movq ltdmacbuf(%rip), %rcx
movl %eax, 4(%rcx)
cmpl $2, debug(%rip)
jl .LBB0_30
# %bb.26: # in Loop: Header=BB0_2 Depth=1
movq %rbx, 16(%rsp) # 8-byte Spill
leaq .L.str.7(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
movq 8(%rsp), %rax # 8-byte Reload
movl 8(%rax), %r13d
testl %r13d, %r13d
leaq .L.str.8(%rip), %rbx
jle .LBB0_29
# %bb.27: # in Loop: Header=BB0_2 Depth=1
cmpl $100, %r13d
movl $100, %eax
cmovgel %eax, %r13d
cmpl $2, %r13d
movl $1, %eax
cmovll %eax, %r13d
xorl %r15d, %r15d
.p2align 4, 0x90
.LBB0_28: # Parent Loop BB0_2 Depth=1
# => This Inner Loop Header: Depth=2
movq ltdmacbuf(%rip), %rax
movl (%rax,%r15,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq printk@PLT
incq %r15
cmpq %r15, %r13
jne .LBB0_28
.LBB0_29: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.9(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
leaq .L.str(%rip), %r15
movq 16(%rsp), %rbx # 8-byte Reload
.LBB0_30: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handlecommand@PLT
movl %ebp, %edi
callq inb_p@PLT
cmpl $250, %eax
jne .LBB0_2
jmp .LBB0_31
.LBB0_37: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_39
# %bb.38: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.11(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_39: # in Loop: Header=BB0_2 Depth=1
movq 8(%rsp), %r13 # 8-byte Reload
cmpl $0, 28(%r13)
je .LBB0_41
# %bb.40: # in Loop: Header=BB0_2 Depth=1
movq ltdmabuf(%rip), %rdi
movq 16(%r13), %rsi
movl 24(%r13), %edx
callq memcpy@PLT
movq %r14, %rdi
callq handlewrite@PLT
jmp .LBB0_2
.LBB0_6: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_8
# %bb.7: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.1(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_8: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handlefc@PLT
jmp .LBB0_2
.LBB0_9: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_11
# %bb.10: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.2(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_11: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handlefd@PLT
jmp .LBB0_2
.LBB0_33: # in Loop: Header=BB0_2 Depth=1
movq mboxinuse(%rip), %rax
cmpl $0, (%rax)
jne .LBB0_34
# %bb.36: # in Loop: Header=BB0_2 Depth=1
movl $1, (%rax)
movq rescbuf(%rip), %rax
movq qels(%rip), %rdi
movq %rax, 24(%rdi)
movl $2, (%rdi)
movq resdbuf(%rip), %rax
movq %rax, 16(%rdi)
movq $2, 4(%rdi)
movl $0, 12(%rdi)
callq enQ@PLT
jmp .LBB0_2
.LBB0_41: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handleread@PLT
cmpl $0, 12(%r13)
je .LBB0_43
# %bb.42: # in Loop: Header=BB0_2 Depth=1
movq 16(%r13), %rdi
movq ltdmabuf(%rip), %rsi
movl 24(%r13), %edx
callq memcpy@PLT
jmp .LBB0_2
.LBB0_43: # in Loop: Header=BB0_2 Depth=1
movq ltdmabuf(%rip), %rax
movl (%rax), %ecx
movl 4(%rax), %eax
movq mailbox(%rip), %rdx
andl $15, %ecx
movl %eax, (%rdx,%rcx,4)
movq mboxinuse(%rip), %rax
movl $0, (%rax)
jmp .LBB0_2
.LBB0_34:
leaq .L.str.10(%rip), %r15
.LBB0_35:
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_31:
movl $0, QInIdle(%rip)
cmpq $0, 8(%r14)
je .LBB0_44
# %bb.32:
addl $7, %ebx
movl %ebx, %edi
callq inb_p@PLT
movl %ebx, %edi
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp inb_p@PLT # TAILCALL
.LBB0_44:
.cfi_def_cfa_offset 80
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size idle, .Lfunc_end0-idle
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_19-.LJTI0_0
.long .LBB0_12-.LJTI0_0
.long .LBB0_22-.LJTI0_0
.long .LBB0_37-.LJTI0_0
.long .LBB0_6-.LJTI0_0
.long .LBB0_9-.LJTI0_0
# -- End function
.type txqueue_lock,@object # @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.long 0 # 0x0
.size txqueue_lock, 4
.type QInIdle,@object # @QInIdle
.globl QInIdle
.p2align 2, 0x0
QInIdle:
.long 0 # 0x0
.size QInIdle, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "idle: looped too many times\n"
.size .L.str, 29
.type debug,@object # @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_LOWER,@object # @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.long 0 # 0x0
.size DEBUG_LOWER, 4
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "idle: fc\n"
.size .L.str.1, 10
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "idle: fd\n"
.size .L.str.2, 10
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "idle: f9\n"
.size .L.str.3, 10
.type mboxinuse,@object # @mboxinuse
.bss
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type rescbuf,@object # @rescbuf
.globl rescbuf
.p2align 3, 0x0
rescbuf:
.quad 0
.size rescbuf, 8
.type qels,@object # @qels
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type resdbuf,@object # @resdbuf
.globl resdbuf
.p2align 3, 0x0
resdbuf:
.quad 0
.size resdbuf, 8
.type .L.str.4,@object # @.str.4
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.4:
.asciz "timed out idle f9\n"
.size .L.str.4, 19
.type xmQhd,@object # @xmQhd
.bss
.globl xmQhd
.p2align 2, 0x0
xmQhd:
.long 0 # 0x0
.size xmQhd, 4
.type .L.str.5,@object # @.str.5
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.5:
.asciz "timed out idle f8\n"
.size .L.str.5, 19
.type .L.str.6,@object # @.str.6
.L.str.6:
.asciz "idle: fa\n"
.size .L.str.6, 10
.type ltdmacbuf,@object # @ltdmacbuf
.bss
.globl ltdmacbuf
.p2align 3, 0x0
ltdmacbuf:
.quad 0
.size ltdmacbuf, 8
.type .L.str.7,@object # @.str.7
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.7:
.asciz "ltpc: sent command "
.size .L.str.7, 24
.type .L.str.8,@object # @.str.8
.L.str.8:
.asciz "%02x "
.size .L.str.8, 6
.type .L.str.9,@object # @.str.9
.L.str.9:
.asciz "\n"
.size .L.str.9, 2
.type .L.str.10,@object # @.str.10
.L.str.10:
.asciz "trouble: response command already queued\n"
.size .L.str.10, 42
.type .L.str.11,@object # @.str.11
.L.str.11:
.asciz "idle: fb\n"
.size .L.str.11, 10
.type ltdmabuf,@object # @ltdmabuf
.bss
.globl ltdmabuf
.p2align 3, 0x0
ltdmabuf:
.quad 0
.size ltdmabuf, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym idle
.addrsig_sym txqueue_lock
| .text
.file "extr_ltpc.c_idle.c"
.section .rodata.cst16,"aM",@progbits,16
.p2align 4, 0x0 # -- Begin function idle
.LCPI0_0:
.long 2 # 0x2
.long 2 # 0x2
.long 0 # 0x0
.long 0 # 0x0
.text
.p2align 4, 0x90
.type idle,@function
idle: # @idle
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $24, %rsp
.cfi_def_cfa_offset 80
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %r14
movl (%rdi), %ebx
leaq txqueue_lock(%rip), %rdi
callq spin_lock_irqsave@PLT
cmpl $0, QInIdle(%rip)
je .LBB0_1
# %bb.45:
leaq txqueue_lock(%rip), %rdi
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp spin_unlock_irqrestore@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 80
movl $1, QInIdle(%rip)
leaq txqueue_lock(%rip), %rdi
callq spin_unlock_irqrestore@PLT
leal 6(%rbx), %ebp
movl %ebp, %edi
callq inb_p@PLT
leaq .L.str(%rip), %r15
xorl %eax, %eax
movq %rax, 8(%rsp) # 8-byte Spill
movl $100, %r12d
.p2align 4, 0x90
.LBB0_2: # =>This Loop Header: Depth=1
# Child Loop BB0_28 Depth 2
testl %r12d, %r12d
js .LBB0_35
# %bb.3: # in Loop: Header=BB0_2 Depth=1
decl %r12d
movl %ebp, %edi
callq inb_p@PLT
movl %eax, %r13d
movl %ebp, %edi
callq inb_p@PLT
cmpl %eax, %r13d
jne .LBB0_2
# %bb.4: # in Loop: Header=BB0_2 Depth=1
addl $-248, %r13d
cmpl $5, %r13d
ja .LBB0_2
# %bb.5: # in Loop: Header=BB0_2 Depth=1
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%r13,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_19: # in Loop: Header=BB0_2 Depth=1
cmpl $0, xmQhd(%rip)
je .LBB0_31
# %bb.20: # in Loop: Header=BB0_2 Depth=1
movl (%r14), %edi
incl %edi
callq inb_p@PLT
movl (%r14), %edi
callq inb_p@PLT
movq %r14, %rdi
movl $248, %esi
callq wait_timeout@PLT
testl %eax, %eax
je .LBB0_2
# %bb.21: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.5(%rip), %rdi
jmp .LBB0_18
.LBB0_12: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_14
# %bb.13: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.3(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_14: # in Loop: Header=BB0_2 Depth=1
movq mboxinuse(%rip), %rax
cmpl $0, (%rax)
jne .LBB0_16
# %bb.15: # in Loop: Header=BB0_2 Depth=1
movl $1, (%rax)
movq rescbuf(%rip), %rax
movq qels(%rip), %rdi
movq %rax, 24(%rdi)
movq resdbuf(%rip), %rax
movq %rax, 16(%rdi)
movaps .LCPI0_0(%rip), %xmm0 # xmm0 = [2,2,0,0]
movups %xmm0, (%rdi)
callq enQ@PLT
.LBB0_16: # in Loop: Header=BB0_2 Depth=1
movl (%r14), %edi
incl %edi
callq inb_p@PLT
movl (%r14), %edi
callq inb_p@PLT
movq %r14, %rdi
movl $249, %esi
callq wait_timeout@PLT
testl %eax, %eax
je .LBB0_2
# %bb.17: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.4(%rip), %rdi
.LBB0_18: # in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq printk@PLT
jmp .LBB0_2
.LBB0_22: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_24
# %bb.23: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.6(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_24: # in Loop: Header=BB0_2 Depth=1
cmpl $0, xmQhd(%rip)
je .LBB0_33
# %bb.25: # in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq deQ@PLT
movq %rax, %r13
movq ltdmacbuf(%rip), %rdi
movq (%rax), %rsi
movl 8(%rax), %edx
callq memcpy@PLT
movq %r13, %rax
movq %r13, 8(%rsp) # 8-byte Spill
movl 12(%r13), %eax
movq ltdmacbuf(%rip), %rcx
movl %eax, 4(%rcx)
cmpl $2, debug(%rip)
jl .LBB0_30
# %bb.26: # in Loop: Header=BB0_2 Depth=1
movq %rbx, 16(%rsp) # 8-byte Spill
leaq .L.str.7(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
movq 8(%rsp), %rax # 8-byte Reload
movl 8(%rax), %r13d
testl %r13d, %r13d
leaq .L.str.8(%rip), %rbx
jle .LBB0_29
# %bb.27: # in Loop: Header=BB0_2 Depth=1
cmpl $100, %r13d
movl $100, %eax
cmovgel %eax, %r13d
xorl %r15d, %r15d
.p2align 4, 0x90
.LBB0_28: # Parent Loop BB0_2 Depth=1
# => This Inner Loop Header: Depth=2
movq ltdmacbuf(%rip), %rax
movl (%rax,%r15,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq printk@PLT
incq %r15
cmpq %r15, %r13
jne .LBB0_28
.LBB0_29: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.9(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
leaq .L.str(%rip), %r15
movq 16(%rsp), %rbx # 8-byte Reload
.LBB0_30: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handlecommand@PLT
movl %ebp, %edi
callq inb_p@PLT
cmpl $250, %eax
jne .LBB0_2
jmp .LBB0_31
.LBB0_37: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_39
# %bb.38: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.11(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_39: # in Loop: Header=BB0_2 Depth=1
movq 8(%rsp), %r13 # 8-byte Reload
cmpl $0, 28(%r13)
je .LBB0_41
# %bb.40: # in Loop: Header=BB0_2 Depth=1
movq ltdmabuf(%rip), %rdi
movq 16(%r13), %rsi
movl 24(%r13), %edx
callq memcpy@PLT
movq %r14, %rdi
callq handlewrite@PLT
jmp .LBB0_2
.LBB0_6: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_8
# %bb.7: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.1(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_8: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handlefc@PLT
jmp .LBB0_2
.LBB0_9: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_11
# %bb.10: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.2(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_11: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handlefd@PLT
jmp .LBB0_2
.LBB0_33: # in Loop: Header=BB0_2 Depth=1
movq mboxinuse(%rip), %rax
cmpl $0, (%rax)
jne .LBB0_34
# %bb.36: # in Loop: Header=BB0_2 Depth=1
movl $1, (%rax)
movq rescbuf(%rip), %rax
movq qels(%rip), %rdi
movq %rax, 24(%rdi)
movq resdbuf(%rip), %rax
movq %rax, 16(%rdi)
movaps .LCPI0_0(%rip), %xmm0 # xmm0 = [2,2,0,0]
movups %xmm0, (%rdi)
callq enQ@PLT
jmp .LBB0_2
.LBB0_41: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handleread@PLT
cmpl $0, 12(%r13)
je .LBB0_43
# %bb.42: # in Loop: Header=BB0_2 Depth=1
movq 16(%r13), %rdi
movq ltdmabuf(%rip), %rsi
movl 24(%r13), %edx
callq memcpy@PLT
jmp .LBB0_2
.LBB0_43: # in Loop: Header=BB0_2 Depth=1
movq ltdmabuf(%rip), %rax
movl (%rax), %ecx
movl 4(%rax), %eax
movq mailbox(%rip), %rdx
andl $15, %ecx
movl %eax, (%rdx,%rcx,4)
movq mboxinuse(%rip), %rax
movl $0, (%rax)
jmp .LBB0_2
.LBB0_34:
leaq .L.str.10(%rip), %r15
.LBB0_35:
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_31:
movl $0, QInIdle(%rip)
cmpq $0, 8(%r14)
je .LBB0_44
# %bb.32:
addl $7, %ebx
movl %ebx, %edi
callq inb_p@PLT
movl %ebx, %edi
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp inb_p@PLT # TAILCALL
.LBB0_44:
.cfi_def_cfa_offset 80
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size idle, .Lfunc_end0-idle
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_19-.LJTI0_0
.long .LBB0_12-.LJTI0_0
.long .LBB0_22-.LJTI0_0
.long .LBB0_37-.LJTI0_0
.long .LBB0_6-.LJTI0_0
.long .LBB0_9-.LJTI0_0
# -- End function
.type txqueue_lock,@object # @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.long 0 # 0x0
.size txqueue_lock, 4
.type QInIdle,@object # @QInIdle
.globl QInIdle
.p2align 2, 0x0
QInIdle:
.long 0 # 0x0
.size QInIdle, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "idle: looped too many times\n"
.size .L.str, 29
.type debug,@object # @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_LOWER,@object # @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.long 0 # 0x0
.size DEBUG_LOWER, 4
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "idle: fc\n"
.size .L.str.1, 10
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "idle: fd\n"
.size .L.str.2, 10
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "idle: f9\n"
.size .L.str.3, 10
.type mboxinuse,@object # @mboxinuse
.bss
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type rescbuf,@object # @rescbuf
.globl rescbuf
.p2align 3, 0x0
rescbuf:
.quad 0
.size rescbuf, 8
.type qels,@object # @qels
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type resdbuf,@object # @resdbuf
.globl resdbuf
.p2align 3, 0x0
resdbuf:
.quad 0
.size resdbuf, 8
.type .L.str.4,@object # @.str.4
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.4:
.asciz "timed out idle f9\n"
.size .L.str.4, 19
.type xmQhd,@object # @xmQhd
.bss
.globl xmQhd
.p2align 2, 0x0
xmQhd:
.long 0 # 0x0
.size xmQhd, 4
.type .L.str.5,@object # @.str.5
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.5:
.asciz "timed out idle f8\n"
.size .L.str.5, 19
.type .L.str.6,@object # @.str.6
.L.str.6:
.asciz "idle: fa\n"
.size .L.str.6, 10
.type ltdmacbuf,@object # @ltdmacbuf
.bss
.globl ltdmacbuf
.p2align 3, 0x0
ltdmacbuf:
.quad 0
.size ltdmacbuf, 8
.type .L.str.7,@object # @.str.7
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.7:
.asciz "ltpc: sent command "
.size .L.str.7, 24
.type .L.str.8,@object # @.str.8
.L.str.8:
.asciz "%02x "
.size .L.str.8, 6
.type .L.str.9,@object # @.str.9
.L.str.9:
.asciz "\n"
.size .L.str.9, 2
.type .L.str.10,@object # @.str.10
.L.str.10:
.asciz "trouble: response command already queued\n"
.size .L.str.10, 42
.type .L.str.11,@object # @.str.11
.L.str.11:
.asciz "idle: fb\n"
.size .L.str.11, 10
.type ltdmabuf,@object # @ltdmabuf
.bss
.globl ltdmabuf
.p2align 3, 0x0
ltdmabuf:
.quad 0
.size ltdmabuf, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym idle
.addrsig_sym txqueue_lock
| .text
.file "extr_ltpc.c_idle.c"
.section .rodata.cst16,"aM",@progbits,16
.p2align 4, 0x0 # -- Begin function idle
.LCPI0_0:
.long 2 # 0x2
.long 2 # 0x2
.long 0 # 0x0
.long 0 # 0x0
.text
.p2align 4, 0x90
.type idle,@function
idle: # @idle
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $24, %rsp
.cfi_def_cfa_offset 80
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %r14
movl (%rdi), %ebx
leaq txqueue_lock(%rip), %rdi
callq spin_lock_irqsave@PLT
cmpl $0, QInIdle(%rip)
je .LBB0_1
# %bb.45:
leaq txqueue_lock(%rip), %rdi
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp spin_unlock_irqrestore@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 80
movl $1, QInIdle(%rip)
leaq txqueue_lock(%rip), %rdi
callq spin_unlock_irqrestore@PLT
leal 6(%rbx), %ebp
movl %ebp, %edi
callq inb_p@PLT
leaq .L.str(%rip), %r15
xorl %eax, %eax
movq %rax, 8(%rsp) # 8-byte Spill
movl $100, %r12d
.p2align 4, 0x90
.LBB0_2: # =>This Loop Header: Depth=1
# Child Loop BB0_28 Depth 2
testl %r12d, %r12d
js .LBB0_35
# %bb.3: # in Loop: Header=BB0_2 Depth=1
decl %r12d
movl %ebp, %edi
callq inb_p@PLT
movl %eax, %r13d
movl %ebp, %edi
callq inb_p@PLT
cmpl %eax, %r13d
jne .LBB0_2
# %bb.4: # in Loop: Header=BB0_2 Depth=1
addl $-248, %r13d
cmpl $5, %r13d
ja .LBB0_2
# %bb.5: # in Loop: Header=BB0_2 Depth=1
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%r13,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_19: # in Loop: Header=BB0_2 Depth=1
cmpl $0, xmQhd(%rip)
je .LBB0_31
# %bb.20: # in Loop: Header=BB0_2 Depth=1
movl (%r14), %edi
incl %edi
callq inb_p@PLT
movl (%r14), %edi
callq inb_p@PLT
movq %r14, %rdi
movl $248, %esi
callq wait_timeout@PLT
testl %eax, %eax
je .LBB0_2
# %bb.21: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.5(%rip), %rdi
jmp .LBB0_18
.LBB0_12: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_14
# %bb.13: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.3(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_14: # in Loop: Header=BB0_2 Depth=1
movq mboxinuse(%rip), %rax
cmpl $0, (%rax)
jne .LBB0_16
# %bb.15: # in Loop: Header=BB0_2 Depth=1
movl $1, (%rax)
movq rescbuf(%rip), %rax
movq qels(%rip), %rdi
movq %rax, 24(%rdi)
movq resdbuf(%rip), %rax
movq %rax, 16(%rdi)
movaps .LCPI0_0(%rip), %xmm0 # xmm0 = [2,2,0,0]
movups %xmm0, (%rdi)
callq enQ@PLT
.LBB0_16: # in Loop: Header=BB0_2 Depth=1
movl (%r14), %edi
incl %edi
callq inb_p@PLT
movl (%r14), %edi
callq inb_p@PLT
movq %r14, %rdi
movl $249, %esi
callq wait_timeout@PLT
testl %eax, %eax
je .LBB0_2
# %bb.17: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.4(%rip), %rdi
.LBB0_18: # in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq printk@PLT
jmp .LBB0_2
.LBB0_22: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_24
# %bb.23: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.6(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_24: # in Loop: Header=BB0_2 Depth=1
cmpl $0, xmQhd(%rip)
je .LBB0_33
# %bb.25: # in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq deQ@PLT
movq %rax, %r13
movq ltdmacbuf(%rip), %rdi
movq (%rax), %rsi
movl 8(%rax), %edx
callq memcpy@PLT
movq %r13, %rax
movq %r13, 8(%rsp) # 8-byte Spill
movl 12(%r13), %eax
movq ltdmacbuf(%rip), %rcx
movl %eax, 4(%rcx)
cmpl $2, debug(%rip)
jl .LBB0_30
# %bb.26: # in Loop: Header=BB0_2 Depth=1
movq %rbx, 16(%rsp) # 8-byte Spill
leaq .L.str.7(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
movq 8(%rsp), %rax # 8-byte Reload
movl 8(%rax), %r13d
testl %r13d, %r13d
leaq .L.str.8(%rip), %rbx
jle .LBB0_29
# %bb.27: # in Loop: Header=BB0_2 Depth=1
cmpl $100, %r13d
movl $100, %eax
cmovgel %eax, %r13d
xorl %r15d, %r15d
.p2align 4, 0x90
.LBB0_28: # Parent Loop BB0_2 Depth=1
# => This Inner Loop Header: Depth=2
movq ltdmacbuf(%rip), %rax
movl (%rax,%r15,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq printk@PLT
incq %r15
cmpq %r15, %r13
jne .LBB0_28
.LBB0_29: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.9(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
leaq .L.str(%rip), %r15
movq 16(%rsp), %rbx # 8-byte Reload
.LBB0_30: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handlecommand@PLT
movl %ebp, %edi
callq inb_p@PLT
cmpl $250, %eax
jne .LBB0_2
jmp .LBB0_31
.LBB0_37: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_39
# %bb.38: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.11(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_39: # in Loop: Header=BB0_2 Depth=1
movq 8(%rsp), %r13 # 8-byte Reload
cmpl $0, 28(%r13)
je .LBB0_41
# %bb.40: # in Loop: Header=BB0_2 Depth=1
movq ltdmabuf(%rip), %rdi
movq 16(%r13), %rsi
movl 24(%r13), %edx
callq memcpy@PLT
movq %r14, %rdi
callq handlewrite@PLT
jmp .LBB0_2
.LBB0_6: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_8
# %bb.7: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.1(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_8: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handlefc@PLT
jmp .LBB0_2
.LBB0_9: # in Loop: Header=BB0_2 Depth=1
movl DEBUG_LOWER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_11
# %bb.10: # in Loop: Header=BB0_2 Depth=1
leaq .L.str.2(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_11: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handlefd@PLT
jmp .LBB0_2
.LBB0_33: # in Loop: Header=BB0_2 Depth=1
movq mboxinuse(%rip), %rax
cmpl $0, (%rax)
jne .LBB0_34
# %bb.36: # in Loop: Header=BB0_2 Depth=1
movl $1, (%rax)
movq rescbuf(%rip), %rax
movq qels(%rip), %rdi
movq %rax, 24(%rdi)
movq resdbuf(%rip), %rax
movq %rax, 16(%rdi)
movaps .LCPI0_0(%rip), %xmm0 # xmm0 = [2,2,0,0]
movups %xmm0, (%rdi)
callq enQ@PLT
jmp .LBB0_2
.LBB0_41: # in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq handleread@PLT
cmpl $0, 12(%r13)
je .LBB0_43
# %bb.42: # in Loop: Header=BB0_2 Depth=1
movq 16(%r13), %rdi
movq ltdmabuf(%rip), %rsi
movl 24(%r13), %edx
callq memcpy@PLT
jmp .LBB0_2
.LBB0_43: # in Loop: Header=BB0_2 Depth=1
movq ltdmabuf(%rip), %rax
movl (%rax), %ecx
movl 4(%rax), %eax
movq mailbox(%rip), %rdx
andl $15, %ecx
movl %eax, (%rdx,%rcx,4)
movq mboxinuse(%rip), %rax
movl $0, (%rax)
jmp .LBB0_2
.LBB0_34:
leaq .L.str.10(%rip), %r15
.LBB0_35:
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_31:
movl $0, QInIdle(%rip)
cmpq $0, 8(%r14)
je .LBB0_44
# %bb.32:
addl $7, %ebx
movl %ebx, %edi
callq inb_p@PLT
movl %ebx, %edi
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp inb_p@PLT # TAILCALL
.LBB0_44:
.cfi_def_cfa_offset 80
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size idle, .Lfunc_end0-idle
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_19-.LJTI0_0
.long .LBB0_12-.LJTI0_0
.long .LBB0_22-.LJTI0_0
.long .LBB0_37-.LJTI0_0
.long .LBB0_6-.LJTI0_0
.long .LBB0_9-.LJTI0_0
# -- End function
.type txqueue_lock,@object # @txqueue_lock
.bss
.globl txqueue_lock
.p2align 2, 0x0
txqueue_lock:
.long 0 # 0x0
.size txqueue_lock, 4
.type QInIdle,@object # @QInIdle
.globl QInIdle
.p2align 2, 0x0
QInIdle:
.long 0 # 0x0
.size QInIdle, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "idle: looped too many times\n"
.size .L.str, 29
.type debug,@object # @debug
.bss
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_LOWER,@object # @DEBUG_LOWER
.globl DEBUG_LOWER
.p2align 2, 0x0
DEBUG_LOWER:
.long 0 # 0x0
.size DEBUG_LOWER, 4
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "idle: fc\n"
.size .L.str.1, 10
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "idle: fd\n"
.size .L.str.2, 10
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "idle: f9\n"
.size .L.str.3, 10
.type mboxinuse,@object # @mboxinuse
.bss
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type rescbuf,@object # @rescbuf
.globl rescbuf
.p2align 3, 0x0
rescbuf:
.quad 0
.size rescbuf, 8
.type qels,@object # @qels
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type resdbuf,@object # @resdbuf
.globl resdbuf
.p2align 3, 0x0
resdbuf:
.quad 0
.size resdbuf, 8
.type .L.str.4,@object # @.str.4
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.4:
.asciz "timed out idle f9\n"
.size .L.str.4, 19
.type xmQhd,@object # @xmQhd
.bss
.globl xmQhd
.p2align 2, 0x0
xmQhd:
.long 0 # 0x0
.size xmQhd, 4
.type .L.str.5,@object # @.str.5
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.5:
.asciz "timed out idle f8\n"
.size .L.str.5, 19
.type .L.str.6,@object # @.str.6
.L.str.6:
.asciz "idle: fa\n"
.size .L.str.6, 10
.type ltdmacbuf,@object # @ltdmacbuf
.bss
.globl ltdmacbuf
.p2align 3, 0x0
ltdmacbuf:
.quad 0
.size ltdmacbuf, 8
.type .L.str.7,@object # @.str.7
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.7:
.asciz "ltpc: sent command "
.size .L.str.7, 24
.type .L.str.8,@object # @.str.8
.L.str.8:
.asciz "%02x "
.size .L.str.8, 6
.type .L.str.9,@object # @.str.9
.L.str.9:
.asciz "\n"
.size .L.str.9, 2
.type .L.str.10,@object # @.str.10
.L.str.10:
.asciz "trouble: response command already queued\n"
.size .L.str.10, 42
.type .L.str.11,@object # @.str.11
.L.str.11:
.asciz "idle: fb\n"
.size .L.str.11, 10
.type ltdmabuf,@object # @ltdmabuf
.bss
.globl ltdmabuf
.p2align 3, 0x0
ltdmabuf:
.quad 0
.size ltdmabuf, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym idle
.addrsig_sym txqueue_lock
|
extr_ltpc.c_ltpc_poll.c | .text
.file "extr_ltpc.c_ltpc_poll.c"
.p2align 2 // -- Begin function ltpc_poll
.type ltpc_poll,@function
ltpc_poll: // @ltpc_poll
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
adrp x0, ltpc_timer
add x0, x0, :lo12:ltpc_timer
bl del_timer
adrp x8, debug
ldr w8, [x8, :lo12:debug]
adrp x9, DEBUG_VERBOSE
ldr w9, [x9, :lo12:DEBUG_VERBOSE]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_1
.LBB0_1:
adrp x8, ltpc_poll_counter
ldr w8, [x8, :lo12:ltpc_poll_counter]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
mov w8, #50 // =0x32
adrp x9, ltpc_poll_counter
str w8, [x9, :lo12:ltpc_poll_counter]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
b .LBB0_3
.LBB0_3:
adrp x9, ltpc_poll_counter
ldr w8, [x9, :lo12:ltpc_poll_counter]
subs w8, w8, #1
str w8, [x9, :lo12:ltpc_poll_counter]
b .LBB0_4
.LBB0_4:
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
b .LBB0_7
.LBB0_6:
ldr x0, [sp]
bl idle
adrp x8, jiffies
ldr x8, [x8, :lo12:jiffies]
adrp x9, HZ
ldr w9, [x9, :lo12:HZ]
mov w10, #20 // =0x14
sdiv w9, w9, w10
add x8, x8, w9, sxtw
adrp x9, ltpc_timer
adrp x0, ltpc_timer
add x0, x0, :lo12:ltpc_timer
str x8, [x9, :lo12:ltpc_timer]
bl add_timer
b .LBB0_7
.LBB0_7:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_poll, .Lfunc_end0-ltpc_poll
.cfi_endproc
// -- End function
.type ltpc_timer,@object // @ltpc_timer
.bss
.globl ltpc_timer
.p2align 3, 0x0
ltpc_timer:
.zero 8
.size ltpc_timer, 8
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object // @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.word 0 // 0x0
.size DEBUG_VERBOSE, 4
.type ltpc_poll_counter,@object // @ltpc_poll_counter
.globl ltpc_poll_counter
.p2align 2, 0x0
ltpc_poll_counter:
.word 0 // 0x0
.size ltpc_poll_counter, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc poll is alive\n"
.size .L.str, 20
.type jiffies,@object // @jiffies
.bss
.globl jiffies
.p2align 3, 0x0
jiffies:
.xword 0 // 0x0
.size jiffies, 8
.type HZ,@object // @HZ
.globl HZ
.p2align 2, 0x0
HZ:
.word 0 // 0x0
.size HZ, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_poll
.addrsig_sym del_timer
.addrsig_sym printk
.addrsig_sym idle
.addrsig_sym add_timer
.addrsig_sym ltpc_timer
.addrsig_sym debug
.addrsig_sym DEBUG_VERBOSE
.addrsig_sym ltpc_poll_counter
.addrsig_sym jiffies
.addrsig_sym HZ
| .text
.file "extr_ltpc.c_ltpc_poll.c"
.p2align 2 // -- Begin function ltpc_poll
.type ltpc_poll,@function
ltpc_poll: // @ltpc_poll
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
adrp x19, ltpc_timer
add x19, x19, :lo12:ltpc_timer
mov x20, x0
mov x0, x19
bl del_timer
adrp x8, debug
adrp x9, DEBUG_VERBOSE
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_VERBOSE]
tst w9, w8
b.eq .LBB0_4
// %bb.1:
adrp x21, ltpc_poll_counter
ldr w8, [x21, :lo12:ltpc_poll_counter]
cbnz w8, .LBB0_3
// %bb.2:
mov w8, #50 // =0x32
adrp x0, .L.str
add x0, x0, :lo12:.L.str
str w8, [x21, :lo12:ltpc_poll_counter]
bl printk
.LBB0_3:
ldr w8, [x21, :lo12:ltpc_poll_counter]
sub w8, w8, #1
str w8, [x21, :lo12:ltpc_poll_counter]
.LBB0_4:
cbz x20, .LBB0_6
// %bb.5:
mov x0, x20
bl idle
adrp x8, HZ
mov w10, #26215 // =0x6667
movk w10, #26214, lsl #16
adrp x9, jiffies
mov x0, x19
ldrsw x8, [x8, :lo12:HZ]
ldr x9, [x9, :lo12:jiffies]
smull x8, w8, w10
lsr x10, x8, #63
asr x8, x8, #35
add w8, w8, w10
add x8, x9, w8, sxtw
str x8, [x19]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b add_timer
.LBB0_6:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_poll, .Lfunc_end0-ltpc_poll
.cfi_endproc
// -- End function
.type ltpc_timer,@object // @ltpc_timer
.bss
.globl ltpc_timer
.p2align 3, 0x0
ltpc_timer:
.zero 8
.size ltpc_timer, 8
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object // @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.word 0 // 0x0
.size DEBUG_VERBOSE, 4
.type ltpc_poll_counter,@object // @ltpc_poll_counter
.globl ltpc_poll_counter
.p2align 2, 0x0
ltpc_poll_counter:
.word 0 // 0x0
.size ltpc_poll_counter, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc poll is alive\n"
.size .L.str, 20
.type jiffies,@object // @jiffies
.bss
.globl jiffies
.p2align 3, 0x0
jiffies:
.xword 0 // 0x0
.size jiffies, 8
.type HZ,@object // @HZ
.globl HZ
.p2align 2, 0x0
HZ:
.word 0 // 0x0
.size HZ, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_poll
.addrsig_sym ltpc_timer
| .text
.file "extr_ltpc.c_ltpc_poll.c"
.p2align 2 // -- Begin function ltpc_poll
.type ltpc_poll,@function
ltpc_poll: // @ltpc_poll
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
adrp x19, ltpc_timer
add x19, x19, :lo12:ltpc_timer
mov x20, x0
mov x0, x19
bl del_timer
adrp x8, debug
adrp x9, DEBUG_VERBOSE
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_VERBOSE]
tst w9, w8
b.eq .LBB0_4
// %bb.1:
adrp x21, ltpc_poll_counter
ldr w8, [x21, :lo12:ltpc_poll_counter]
cbnz w8, .LBB0_3
// %bb.2:
mov w8, #50 // =0x32
adrp x0, .L.str
add x0, x0, :lo12:.L.str
str w8, [x21, :lo12:ltpc_poll_counter]
bl printk
ldr w8, [x21, :lo12:ltpc_poll_counter]
.LBB0_3:
sub w8, w8, #1
str w8, [x21, :lo12:ltpc_poll_counter]
.LBB0_4:
cbz x20, .LBB0_6
// %bb.5:
mov x0, x20
bl idle
adrp x8, HZ
mov w10, #26215 // =0x6667
movk w10, #26214, lsl #16
adrp x9, jiffies
mov x0, x19
ldrsw x8, [x8, :lo12:HZ]
ldr x9, [x9, :lo12:jiffies]
smull x8, w8, w10
lsr x10, x8, #63
asr x8, x8, #35
add w8, w8, w10
add x8, x9, w8, sxtw
str x8, [x19]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b add_timer
.LBB0_6:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_poll, .Lfunc_end0-ltpc_poll
.cfi_endproc
// -- End function
.type ltpc_timer,@object // @ltpc_timer
.bss
.globl ltpc_timer
.p2align 3, 0x0
ltpc_timer:
.zero 8
.size ltpc_timer, 8
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object // @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.word 0 // 0x0
.size DEBUG_VERBOSE, 4
.type ltpc_poll_counter,@object // @ltpc_poll_counter
.globl ltpc_poll_counter
.p2align 2, 0x0
ltpc_poll_counter:
.word 0 // 0x0
.size ltpc_poll_counter, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc poll is alive\n"
.size .L.str, 20
.type jiffies,@object // @jiffies
.bss
.globl jiffies
.p2align 3, 0x0
jiffies:
.xword 0 // 0x0
.size jiffies, 8
.type HZ,@object // @HZ
.globl HZ
.p2align 2, 0x0
HZ:
.word 0 // 0x0
.size HZ, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_poll
.addrsig_sym ltpc_timer
| .text
.file "extr_ltpc.c_ltpc_poll.c"
.p2align 2 // -- Begin function ltpc_poll
.type ltpc_poll,@function
ltpc_poll: // @ltpc_poll
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
adrp x19, ltpc_timer
add x19, x19, :lo12:ltpc_timer
mov x20, x0
mov x0, x19
bl del_timer
adrp x8, debug
adrp x9, DEBUG_VERBOSE
ldr w8, [x8, :lo12:debug]
ldr w9, [x9, :lo12:DEBUG_VERBOSE]
tst w9, w8
b.eq .LBB0_4
// %bb.1:
adrp x21, ltpc_poll_counter
ldr w8, [x21, :lo12:ltpc_poll_counter]
cbnz w8, .LBB0_3
// %bb.2:
mov w8, #50 // =0x32
adrp x0, .L.str
add x0, x0, :lo12:.L.str
str w8, [x21, :lo12:ltpc_poll_counter]
bl printk
ldr w8, [x21, :lo12:ltpc_poll_counter]
.LBB0_3:
sub w8, w8, #1
str w8, [x21, :lo12:ltpc_poll_counter]
.LBB0_4:
cbz x20, .LBB0_6
// %bb.5:
mov x0, x20
bl idle
adrp x8, HZ
mov w10, #26215 // =0x6667
movk w10, #26214, lsl #16
adrp x9, jiffies
mov x0, x19
ldrsw x8, [x8, :lo12:HZ]
ldr x9, [x9, :lo12:jiffies]
smull x8, w8, w10
lsr x10, x8, #63
asr x8, x8, #35
add w8, w8, w10
add x8, x9, w8, sxtw
str x8, [x19]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b add_timer
.LBB0_6:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_poll, .Lfunc_end0-ltpc_poll
.cfi_endproc
// -- End function
.type ltpc_timer,@object // @ltpc_timer
.bss
.globl ltpc_timer
.p2align 3, 0x0
ltpc_timer:
.zero 8
.size ltpc_timer, 8
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object // @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.word 0 // 0x0
.size DEBUG_VERBOSE, 4
.type ltpc_poll_counter,@object // @ltpc_poll_counter
.globl ltpc_poll_counter
.p2align 2, 0x0
ltpc_poll_counter:
.word 0 // 0x0
.size ltpc_poll_counter, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc poll is alive\n"
.size .L.str, 20
.type jiffies,@object // @jiffies
.bss
.globl jiffies
.p2align 3, 0x0
jiffies:
.xword 0 // 0x0
.size jiffies, 8
.type HZ,@object // @HZ
.globl HZ
.p2align 2, 0x0
HZ:
.word 0 // 0x0
.size HZ, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_poll
.addrsig_sym ltpc_timer
| .text
.file "extr_ltpc.c_ltpc_poll.c"
.p2align 4, 0x90 # -- Begin function ltpc_poll
.type ltpc_poll,@function
ltpc_poll: # @ltpc_poll
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
leaq ltpc_timer(%rip), %rdi
callq del_timer@PLT
movl debug(%rip), %eax
andl DEBUG_VERBOSE(%rip), %eax
cmpl $0, %eax
je .LBB0_4
# %bb.1:
cmpl $0, ltpc_poll_counter(%rip)
jne .LBB0_3
# %bb.2:
movl $50, ltpc_poll_counter(%rip)
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_3:
movl ltpc_poll_counter(%rip), %eax
addl $-1, %eax
movl %eax, ltpc_poll_counter(%rip)
.LBB0_4:
cmpq $0, -16(%rbp)
jne .LBB0_6
# %bb.5:
jmp .LBB0_7
.LBB0_6:
movq -16(%rbp), %rdi
callq idle@PLT
movq jiffies(%rip), %rax
movq %rax, -24(%rbp) # 8-byte Spill
movl HZ(%rip), %eax
movl $20, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq -24(%rbp), %rax # 8-byte Reload
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, ltpc_timer(%rip)
leaq ltpc_timer(%rip), %rdi
callq add_timer@PLT
.LBB0_7:
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ltpc_poll, .Lfunc_end0-ltpc_poll
.cfi_endproc
# -- End function
.type ltpc_timer,@object # @ltpc_timer
.bss
.globl ltpc_timer
.p2align 3, 0x0
ltpc_timer:
.zero 8
.size ltpc_timer, 8
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object # @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.long 0 # 0x0
.size DEBUG_VERBOSE, 4
.type ltpc_poll_counter,@object # @ltpc_poll_counter
.globl ltpc_poll_counter
.p2align 2, 0x0
ltpc_poll_counter:
.long 0 # 0x0
.size ltpc_poll_counter, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc poll is alive\n"
.size .L.str, 20
.type jiffies,@object # @jiffies
.bss
.globl jiffies
.p2align 3, 0x0
jiffies:
.quad 0 # 0x0
.size jiffies, 8
.type HZ,@object # @HZ
.globl HZ
.p2align 2, 0x0
HZ:
.long 0 # 0x0
.size HZ, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_poll
.addrsig_sym del_timer
.addrsig_sym printk
.addrsig_sym idle
.addrsig_sym add_timer
.addrsig_sym ltpc_timer
.addrsig_sym debug
.addrsig_sym DEBUG_VERBOSE
.addrsig_sym ltpc_poll_counter
.addrsig_sym jiffies
.addrsig_sym HZ
| .text
.file "extr_ltpc.c_ltpc_poll.c"
.p2align 4, 0x90 # -- Begin function ltpc_poll
.type ltpc_poll,@function
ltpc_poll: # @ltpc_poll
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
leaq ltpc_timer(%rip), %rdi
callq del_timer@PLT
movl DEBUG_VERBOSE(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_4
# %bb.1:
cmpl $0, ltpc_poll_counter(%rip)
jne .LBB0_3
# %bb.2:
movl $50, ltpc_poll_counter(%rip)
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_3:
decl ltpc_poll_counter(%rip)
.LBB0_4:
testq %rbx, %rbx
je .LBB0_5
# %bb.6:
movq %rbx, %rdi
callq idle@PLT
movslq HZ(%rip), %rax
imulq $1717986919, %rax, %rax # imm = 0x66666667
movq %rax, %rcx
shrq $63, %rcx
sarq $35, %rax
addl %ecx, %eax
cltq
addq jiffies(%rip), %rax
movq %rax, ltpc_timer(%rip)
leaq ltpc_timer(%rip), %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp add_timer@PLT # TAILCALL
.LBB0_5:
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_poll, .Lfunc_end0-ltpc_poll
.cfi_endproc
# -- End function
.type ltpc_timer,@object # @ltpc_timer
.bss
.globl ltpc_timer
.p2align 3, 0x0
ltpc_timer:
.zero 8
.size ltpc_timer, 8
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object # @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.long 0 # 0x0
.size DEBUG_VERBOSE, 4
.type ltpc_poll_counter,@object # @ltpc_poll_counter
.globl ltpc_poll_counter
.p2align 2, 0x0
ltpc_poll_counter:
.long 0 # 0x0
.size ltpc_poll_counter, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc poll is alive\n"
.size .L.str, 20
.type jiffies,@object # @jiffies
.bss
.globl jiffies
.p2align 3, 0x0
jiffies:
.quad 0 # 0x0
.size jiffies, 8
.type HZ,@object # @HZ
.globl HZ
.p2align 2, 0x0
HZ:
.long 0 # 0x0
.size HZ, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_poll
.addrsig_sym ltpc_timer
| .text
.file "extr_ltpc.c_ltpc_poll.c"
.p2align 4, 0x90 # -- Begin function ltpc_poll
.type ltpc_poll,@function
ltpc_poll: # @ltpc_poll
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
leaq ltpc_timer(%rip), %rdi
callq del_timer@PLT
movl DEBUG_VERBOSE(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_4
# %bb.1:
movl ltpc_poll_counter(%rip), %eax
testl %eax, %eax
jne .LBB0_3
# %bb.2:
movl $50, ltpc_poll_counter(%rip)
leaq .L.str(%rip), %rdi
callq printk@PLT
movl ltpc_poll_counter(%rip), %eax
.LBB0_3:
decl %eax
movl %eax, ltpc_poll_counter(%rip)
.LBB0_4:
testq %rbx, %rbx
je .LBB0_5
# %bb.6:
movq %rbx, %rdi
callq idle@PLT
movslq HZ(%rip), %rax
imulq $1717986919, %rax, %rax # imm = 0x66666667
movq %rax, %rcx
shrq $63, %rcx
sarq $35, %rax
addl %ecx, %eax
cltq
addq jiffies(%rip), %rax
movq %rax, ltpc_timer(%rip)
leaq ltpc_timer(%rip), %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp add_timer@PLT # TAILCALL
.LBB0_5:
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_poll, .Lfunc_end0-ltpc_poll
.cfi_endproc
# -- End function
.type ltpc_timer,@object # @ltpc_timer
.bss
.globl ltpc_timer
.p2align 3, 0x0
ltpc_timer:
.zero 8
.size ltpc_timer, 8
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object # @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.long 0 # 0x0
.size DEBUG_VERBOSE, 4
.type ltpc_poll_counter,@object # @ltpc_poll_counter
.globl ltpc_poll_counter
.p2align 2, 0x0
ltpc_poll_counter:
.long 0 # 0x0
.size ltpc_poll_counter, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc poll is alive\n"
.size .L.str, 20
.type jiffies,@object # @jiffies
.bss
.globl jiffies
.p2align 3, 0x0
jiffies:
.quad 0 # 0x0
.size jiffies, 8
.type HZ,@object # @HZ
.globl HZ
.p2align 2, 0x0
HZ:
.long 0 # 0x0
.size HZ, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_poll
.addrsig_sym ltpc_timer
| .text
.file "extr_ltpc.c_ltpc_poll.c"
.p2align 4, 0x90 # -- Begin function ltpc_poll
.type ltpc_poll,@function
ltpc_poll: # @ltpc_poll
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
leaq ltpc_timer(%rip), %rdi
callq del_timer@PLT
movl DEBUG_VERBOSE(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_4
# %bb.1:
movl ltpc_poll_counter(%rip), %eax
testl %eax, %eax
jne .LBB0_3
# %bb.2:
movl $50, ltpc_poll_counter(%rip)
leaq .L.str(%rip), %rdi
callq printk@PLT
movl ltpc_poll_counter(%rip), %eax
.LBB0_3:
decl %eax
movl %eax, ltpc_poll_counter(%rip)
.LBB0_4:
testq %rbx, %rbx
je .LBB0_5
# %bb.6:
movq %rbx, %rdi
callq idle@PLT
movslq HZ(%rip), %rax
imulq $1717986919, %rax, %rax # imm = 0x66666667
movq %rax, %rcx
shrq $63, %rcx
sarq $35, %rax
addl %ecx, %eax
cltq
addq jiffies(%rip), %rax
movq %rax, ltpc_timer(%rip)
leaq ltpc_timer(%rip), %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp add_timer@PLT # TAILCALL
.LBB0_5:
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_poll, .Lfunc_end0-ltpc_poll
.cfi_endproc
# -- End function
.type ltpc_timer,@object # @ltpc_timer
.bss
.globl ltpc_timer
.p2align 3, 0x0
ltpc_timer:
.zero 8
.size ltpc_timer, 8
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_VERBOSE,@object # @DEBUG_VERBOSE
.globl DEBUG_VERBOSE
.p2align 2, 0x0
DEBUG_VERBOSE:
.long 0 # 0x0
.size DEBUG_VERBOSE, 4
.type ltpc_poll_counter,@object # @ltpc_poll_counter
.globl ltpc_poll_counter
.p2align 2, 0x0
ltpc_poll_counter:
.long 0 # 0x0
.size ltpc_poll_counter, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc poll is alive\n"
.size .L.str, 20
.type jiffies,@object # @jiffies
.bss
.globl jiffies
.p2align 3, 0x0
jiffies:
.quad 0 # 0x0
.size jiffies, 8
.type HZ,@object # @HZ
.globl HZ
.p2align 2, 0x0
HZ:
.long 0 # 0x0
.size HZ, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_poll
.addrsig_sym ltpc_timer
|
extr_ltpc.c_handlefc.c | .text
.file "extr_ltpc.c_handlefc.c"
.p2align 2 // -- Begin function handlefc
.type handlefc,@function
handlefc: // @handlefc
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr w8, [x8]
stur w8, [x29, #-12]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
str w8, [sp, #16]
bl claim_dma_lock
str x0, [sp, #8]
ldur w0, [x29, #-12]
bl disable_dma
ldur w0, [x29, #-12]
bl clear_dma_ff
ldur w0, [x29, #-12]
adrp x8, DMA_MODE_READ
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
ldur w8, [x29, #-12]
str w8, [sp, #4] // 4-byte Folded Spill
adrp x8, ltdmacbuf
ldr w0, [x8, :lo12:ltdmacbuf]
bl virt_to_bus
mov w1, w0
ldr w0, [sp, #4] // 4-byte Folded Reload
bl set_dma_addr
ldur w0, [x29, #-12]
mov w1, #50 // =0x32
bl set_dma_count
ldur w0, [x29, #-12]
bl enable_dma
ldr x0, [sp, #8]
bl release_dma_lock
ldr w8, [sp, #16]
add w0, w8, #3
bl inb_p
ldr w8, [sp, #16]
add w0, w8, #2
bl inb_p
ldur x0, [x29, #-8]
mov w1, #252 // =0xfc
bl wait_timeout
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
b .LBB0_2
.LBB0_2:
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlefc, .Lfunc_end0-handlefc
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmacbuf,@object // @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.word 0 // 0x0
.size ltdmacbuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefc\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefc
.addrsig_sym claim_dma_lock
.addrsig_sym disable_dma
.addrsig_sym clear_dma_ff
.addrsig_sym set_dma_mode
.addrsig_sym set_dma_addr
.addrsig_sym virt_to_bus
.addrsig_sym set_dma_count
.addrsig_sym enable_dma
.addrsig_sym release_dma_lock
.addrsig_sym inb_p
.addrsig_sym wait_timeout
.addrsig_sym printk
.addrsig_sym DMA_MODE_READ
.addrsig_sym ltdmacbuf
| .text
.file "extr_ltpc.c_handlefc.c"
.p2align 2 // -- Begin function handlefc
.type handlefc,@function
handlefc: // @handlefc
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_READ
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
adrp x8, ltdmacbuf
ldr w0, [x8, :lo12:ltdmacbuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #50 // =0x32
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #252 // =0xfc
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlefc, .Lfunc_end0-handlefc
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmacbuf,@object // @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.word 0 // 0x0
.size ltdmacbuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefc\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefc
| .text
.file "extr_ltpc.c_handlefc.c"
.p2align 2 // -- Begin function handlefc
.type handlefc,@function
handlefc: // @handlefc
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_READ
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
adrp x8, ltdmacbuf
ldr w0, [x8, :lo12:ltdmacbuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #50 // =0x32
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #252 // =0xfc
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlefc, .Lfunc_end0-handlefc
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmacbuf,@object // @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.word 0 // 0x0
.size ltdmacbuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefc\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefc
| .text
.file "extr_ltpc.c_handlefc.c"
.p2align 2 // -- Begin function handlefc
.type handlefc,@function
handlefc: // @handlefc
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_READ
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
adrp x8, ltdmacbuf
ldr w0, [x8, :lo12:ltdmacbuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #50 // =0x32
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #252 // =0xfc
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlefc, .Lfunc_end0-handlefc
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmacbuf,@object // @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.word 0 // 0x0
.size ltdmacbuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefc\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefc
| .text
.file "extr_ltpc.c_handlefc.c"
.p2align 4, 0x90 # -- Begin function handlefc
.type handlefc,@function
handlefc: # @handlefc
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -16(%rbp)
movb $0, %al
callq claim_dma_lock@PLT
movq %rax, -24(%rbp)
movl -12(%rbp), %edi
callq disable_dma@PLT
movl -12(%rbp), %edi
callq clear_dma_ff@PLT
movl -12(%rbp), %edi
movl DMA_MODE_READ(%rip), %esi
callq set_dma_mode@PLT
movl -12(%rbp), %eax
movl %eax, -28(%rbp) # 4-byte Spill
movl ltdmacbuf(%rip), %edi
callq virt_to_bus@PLT
movl -28(%rbp), %edi # 4-byte Reload
movl %eax, %esi
callq set_dma_addr@PLT
movl -12(%rbp), %edi
movl $50, %esi
callq set_dma_count@PLT
movl -12(%rbp), %edi
callq enable_dma@PLT
movq -24(%rbp), %rdi
callq release_dma_lock@PLT
movl -16(%rbp), %edi
addl $3, %edi
callq inb_p@PLT
movl -16(%rbp), %edi
addl $2, %edi
callq inb_p@PLT
movq -8(%rbp), %rdi
movl $252, %esi
callq wait_timeout@PLT
cmpq $0, %rax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_2:
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size handlefc, .Lfunc_end0-handlefc
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmacbuf,@object # @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.long 0 # 0x0
.size ltdmacbuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefc\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefc
.addrsig_sym claim_dma_lock
.addrsig_sym disable_dma
.addrsig_sym clear_dma_ff
.addrsig_sym set_dma_mode
.addrsig_sym set_dma_addr
.addrsig_sym virt_to_bus
.addrsig_sym set_dma_count
.addrsig_sym enable_dma
.addrsig_sym release_dma_lock
.addrsig_sym inb_p
.addrsig_sym wait_timeout
.addrsig_sym printk
.addrsig_sym DMA_MODE_READ
.addrsig_sym ltdmacbuf
| .text
.file "extr_ltpc.c_handlefc.c"
.p2align 4, 0x90 # -- Begin function handlefc
.type handlefc,@function
handlefc: # @handlefc
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_READ(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmacbuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $50, %esi
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $252, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handlefc, .Lfunc_end0-handlefc
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmacbuf,@object # @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.long 0 # 0x0
.size ltdmacbuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefc\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefc
| .text
.file "extr_ltpc.c_handlefc.c"
.p2align 4, 0x90 # -- Begin function handlefc
.type handlefc,@function
handlefc: # @handlefc
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_READ(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmacbuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $50, %esi
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $252, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handlefc, .Lfunc_end0-handlefc
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmacbuf,@object # @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.long 0 # 0x0
.size ltdmacbuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefc\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefc
| .text
.file "extr_ltpc.c_handlefc.c"
.p2align 4, 0x90 # -- Begin function handlefc
.type handlefc,@function
handlefc: # @handlefc
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_READ(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmacbuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $50, %esi
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $252, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handlefc, .Lfunc_end0-handlefc
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmacbuf,@object # @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.long 0 # 0x0
.size ltdmacbuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlefc\n"
.size .L.str, 23
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlefc
|
extr_ltpc.c_do_write.c | .text
.file "extr_ltpc.c_do_write.c"
.p2align 2 // -- Begin function do_write
.type do_write,@function
do_write: // @do_write
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
str x3, [sp, #24]
str w4, [sp, #20]
bl getmbox
str w0, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldur x9, [x29, #-24]
adrp x8, qels
ldr x11, [x8, :lo12:qels]
ldrsw x12, [sp, #16]
mov x10, #40 // =0x28
mul x12, x12, x10
str x9, [x11, x12]
ldur w9, [x29, #-28]
ldr x11, [x8, :lo12:qels]
ldrsw x12, [sp, #16]
mul x12, x12, x10
add x11, x11, x12
str w9, [x11, #8]
ldr x9, [sp, #24]
ldr x11, [x8, :lo12:qels]
ldrsw x12, [sp, #16]
mul x12, x12, x10
add x11, x11, x12
str x9, [x11, #16]
ldr w9, [sp, #20]
ldr x11, [x8, :lo12:qels]
ldrsw x12, [sp, #16]
mul x12, x12, x10
add x11, x11, x12
str w9, [x11, #24]
ldr x9, [x8, :lo12:qels]
ldrsw x11, [sp, #16]
mul x11, x11, x10
add x11, x9, x11
mov w9, #1 // =0x1
str w9, [x11, #28]
ldr w9, [sp, #16]
ldr x11, [x8, :lo12:qels]
ldrsw x12, [sp, #16]
mul x12, x12, x10
add x11, x11, x12
str w9, [x11, #32]
ldr x8, [x8, :lo12:qels]
ldrsw x9, [sp, #16]
mul x9, x9, x10
add x0, x8, x9
bl enQ
ldur x0, [x29, #-16]
bl idle
adrp x8, mailbox
ldr x8, [x8, :lo12:mailbox]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
adrp x8, mboxinuse
ldr x9, [x8, :lo12:mboxinuse]
ldrsw x10, [sp, #16]
mov x8, xzr
str x8, [x9, x10, lsl #3]
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b .LBB0_3
.LBB0_2:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov w8, #-1 // =0xffffffff
stur w8, [x29, #-4]
b .LBB0_3
.LBB0_3:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size do_write, .Lfunc_end0-do_write
.cfi_endproc
// -- End function
.type qels,@object // @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_write
.addrsig_sym getmbox
.addrsig_sym enQ
.addrsig_sym idle
.addrsig_sym printk
.addrsig_sym qels
.addrsig_sym mailbox
.addrsig_sym mboxinuse
| .text
.file "extr_ltpc.c_do_write.c"
.p2align 2 // -- Begin function do_write
.type do_write,@function
do_write: // @do_write
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-80]! // 16-byte Folded Spill
.cfi_def_cfa_offset 80
str x25, [sp, #16] // 8-byte Folded Spill
stp x24, x23, [sp, #32] // 16-byte Folded Spill
stp x22, x21, [sp, #48] // 16-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
mov w21, w4
mov x23, x3
mov w22, w2
mov x24, x1
mov x20, x0
bl getmbox
cbz w0, .LBB0_2
// %bb.1:
mov w19, w0
adrp x8, qels
sxtw x9, w19
sbfiz x25, x19, #2, #32
add x9, x25, x9
lsl x9, x9, #3
ldr x10, [x8, :lo12:qels]
str x24, [x10, x9]
ldr x10, [x8, :lo12:qels]
add x10, x10, x9
str x23, [x10, #16]
ldr x8, [x8, :lo12:qels]
str w22, [x10, #8]
add x0, x8, x9
mov w8, #1 // =0x1
stp w21, w8, [x0, #24]
str w19, [x0, #32]
bl enQ
mov x0, x20
bl idle
adrp x8, mailbox
adrp x9, mboxinuse
ldr x8, [x8, :lo12:mailbox]
ldr w0, [x8, x25]
ldr x8, [x9, :lo12:mboxinuse]
str xzr, [x8, w19, sxtw #3]
b .LBB0_3
.LBB0_2:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov w0, #-1 // =0xffffffff
.LBB0_3:
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x22, x21, [sp, #48] // 16-byte Folded Reload
ldp x24, x23, [sp, #32] // 16-byte Folded Reload
ldr x25, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #80 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size do_write, .Lfunc_end0-do_write
.cfi_endproc
// -- End function
.type qels,@object // @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_write
| .text
.file "extr_ltpc.c_do_write.c"
.p2align 2 // -- Begin function do_write
.type do_write,@function
do_write: // @do_write
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-80]! // 16-byte Folded Spill
.cfi_def_cfa_offset 80
str x25, [sp, #16] // 8-byte Folded Spill
stp x24, x23, [sp, #32] // 16-byte Folded Spill
stp x22, x21, [sp, #48] // 16-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
mov w21, w4
mov x23, x3
mov w22, w2
mov x24, x1
mov x20, x0
bl getmbox
cbz w0, .LBB0_2
// %bb.1:
mov w19, w0
adrp x8, qels
sxtw x9, w19
sbfiz x25, x19, #2, #32
add x9, x25, x9
lsl x9, x9, #3
ldr x10, [x8, :lo12:qels]
str x24, [x10, x9]
ldr x10, [x8, :lo12:qels]
add x10, x10, x9
str x23, [x10, #16]
ldr x8, [x8, :lo12:qels]
str w22, [x10, #8]
add x0, x8, x9
mov w8, #1 // =0x1
stp w21, w8, [x0, #24]
str w19, [x0, #32]
bl enQ
mov x0, x20
bl idle
adrp x8, mailbox
adrp x9, mboxinuse
ldr x8, [x8, :lo12:mailbox]
ldr w0, [x8, x25]
ldr x8, [x9, :lo12:mboxinuse]
str xzr, [x8, w19, sxtw #3]
b .LBB0_3
.LBB0_2:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov w0, #-1 // =0xffffffff
.LBB0_3:
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x22, x21, [sp, #48] // 16-byte Folded Reload
ldp x24, x23, [sp, #32] // 16-byte Folded Reload
ldr x25, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #80 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size do_write, .Lfunc_end0-do_write
.cfi_endproc
// -- End function
.type qels,@object // @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_write
| .text
.file "extr_ltpc.c_do_write.c"
.p2align 2 // -- Begin function do_write
.type do_write,@function
do_write: // @do_write
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-80]! // 16-byte Folded Spill
.cfi_def_cfa_offset 80
str x25, [sp, #16] // 8-byte Folded Spill
stp x24, x23, [sp, #32] // 16-byte Folded Spill
stp x22, x21, [sp, #48] // 16-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
.cfi_remember_state
mov w21, w4
mov x23, x3
mov w22, w2
mov x24, x1
mov x20, x0
bl getmbox
cbz w0, .LBB0_2
// %bb.1:
mov w19, w0
adrp x8, qels
sxtw x9, w19
sbfiz x25, x19, #2, #32
add x9, x25, x9
lsl x9, x9, #3
ldr x10, [x8, :lo12:qels]
str x24, [x10, x9]
ldr x10, [x8, :lo12:qels]
add x10, x10, x9
str x23, [x10, #16]
ldr x8, [x8, :lo12:qels]
str w22, [x10, #8]
add x0, x8, x9
mov w8, #1 // =0x1
stp w21, w8, [x0, #24]
str w19, [x0, #32]
bl enQ
mov x0, x20
bl idle
adrp x8, mailbox
adrp x9, mboxinuse
ldr x8, [x8, :lo12:mailbox]
ldr w0, [x8, x25]
ldr x8, [x9, :lo12:mboxinuse]
str xzr, [x8, w19, sxtw #3]
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x22, x21, [sp, #48] // 16-byte Folded Reload
ldp x24, x23, [sp, #32] // 16-byte Folded Reload
ldr x25, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #80 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov w0, #-1 // =0xffffffff
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x22, x21, [sp, #48] // 16-byte Folded Reload
ldp x24, x23, [sp, #32] // 16-byte Folded Reload
ldr x25, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #80 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size do_write, .Lfunc_end0-do_write
.cfi_endproc
// -- End function
.type qels,@object // @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_write
| .text
.file "extr_ltpc.c_do_write.c"
.p2align 4, 0x90 # -- Begin function do_write
.type do_write,@function
do_write: # @do_write
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movq %rcx, -40(%rbp)
movl %r8d, -44(%rbp)
movb $0, %al
callq getmbox@PLT
movl %eax, -48(%rbp)
cmpl $0, -48(%rbp)
je .LBB0_2
# %bb.1:
movq -24(%rbp), %rcx
movq qels(%rip), %rax
movslq -48(%rbp), %rdx
imulq $40, %rdx, %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movl -28(%rbp), %ecx
movq qels(%rip), %rax
movslq -48(%rbp), %rdx
imulq $40, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 8(%rax)
movq -40(%rbp), %rcx
movq qels(%rip), %rax
movslq -48(%rbp), %rdx
imulq $40, %rdx, %rdx
addq %rdx, %rax
movq %rcx, 16(%rax)
movl -44(%rbp), %ecx
movq qels(%rip), %rax
movslq -48(%rbp), %rdx
imulq $40, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 24(%rax)
movq qels(%rip), %rax
movslq -48(%rbp), %rcx
imulq $40, %rcx, %rcx
addq %rcx, %rax
movl $1, 28(%rax)
movl -48(%rbp), %ecx
movq qels(%rip), %rax
movslq -48(%rbp), %rdx
imulq $40, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 32(%rax)
movq qels(%rip), %rdi
movslq -48(%rbp), %rax
imulq $40, %rax, %rax
addq %rax, %rdi
callq enQ@PLT
movq -16(%rbp), %rdi
callq idle@PLT
movq mailbox(%rip), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -52(%rbp)
movq mboxinuse(%rip), %rax
movslq -48(%rbp), %rcx
movq $0, (%rax,%rcx,8)
movl -52(%rbp), %eax
movl %eax, -4(%rbp)
jmp .LBB0_3
.LBB0_2:
leaq .L.str(%rip), %rdi
callq printk@PLT
movl $-1, -4(%rbp)
.LBB0_3:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size do_write, .Lfunc_end0-do_write
.cfi_endproc
# -- End function
.type qels,@object # @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_write
.addrsig_sym getmbox
.addrsig_sym enQ
.addrsig_sym idle
.addrsig_sym printk
.addrsig_sym qels
.addrsig_sym mailbox
.addrsig_sym mboxinuse
| .text
.file "extr_ltpc.c_do_write.c"
.p2align 4, 0x90 # -- Begin function do_write
.type do_write,@function
do_write: # @do_write
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %r8d, %ebp
movq %rcx, %r14
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %rbx
xorl %eax, %eax
callq getmbox@PLT
testl %eax, %eax
je .LBB0_2
# %bb.1:
movq qels(%rip), %rcx
movslq %eax, %r13
leaq (,%r13,8), %rdx
leaq (%rdx,%rdx,4), %rdx
movq %r12, (%rcx,%rdx)
movq qels(%rip), %rcx
movl %r15d, 8(%rcx,%rdx)
movq %r14, 16(%rcx,%rdx)
movq qels(%rip), %rcx
leaq (%rcx,%rdx), %rdi
movl %ebp, 24(%rcx,%rdx)
movl $1, 28(%rcx,%rdx)
movl %eax, 32(%rcx,%rdx)
callq enQ@PLT
movq %rbx, %rdi
callq idle@PLT
movq mailbox(%rip), %rax
movl (%rax,%r13,4), %eax
movq mboxinuse(%rip), %rcx
movq $0, (%rcx,%r13,8)
jmp .LBB0_3
.LBB0_2:
leaq .L.str(%rip), %rdi
callq printk@PLT
movl $-1, %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size do_write, .Lfunc_end0-do_write
.cfi_endproc
# -- End function
.type qels,@object # @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_write
| .text
.file "extr_ltpc.c_do_write.c"
.p2align 4, 0x90 # -- Begin function do_write
.type do_write,@function
do_write: # @do_write
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %r8d, %ebp
movq %rcx, %r14
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %rbx
xorl %eax, %eax
callq getmbox@PLT
testl %eax, %eax
je .LBB0_2
# %bb.1:
movq qels(%rip), %rcx
movslq %eax, %r13
leaq (,%r13,8), %rdx
leaq (%rdx,%rdx,4), %rdx
movq %r12, (%rcx,%rdx)
movq qels(%rip), %rcx
movl %r15d, 8(%rcx,%rdx)
movq %r14, 16(%rcx,%rdx)
movq qels(%rip), %rcx
leaq (%rcx,%rdx), %rdi
movl %ebp, 24(%rcx,%rdx)
movl $1, 28(%rcx,%rdx)
movl %eax, 32(%rcx,%rdx)
callq enQ@PLT
movq %rbx, %rdi
callq idle@PLT
movq mailbox(%rip), %rax
movl (%rax,%r13,4), %eax
movq mboxinuse(%rip), %rcx
movq $0, (%rcx,%r13,8)
jmp .LBB0_3
.LBB0_2:
leaq .L.str(%rip), %rdi
callq printk@PLT
movl $-1, %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size do_write, .Lfunc_end0-do_write
.cfi_endproc
# -- End function
.type qels,@object # @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_write
| .text
.file "extr_ltpc.c_do_write.c"
.p2align 4, 0x90 # -- Begin function do_write
.type do_write,@function
do_write: # @do_write
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %r8d, %ebp
movq %rcx, %r14
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %rbx
xorl %eax, %eax
callq getmbox@PLT
testl %eax, %eax
je .LBB0_2
# %bb.1:
movq qels(%rip), %rcx
movslq %eax, %r13
leaq (,%r13,8), %rdx
leaq (%rdx,%rdx,4), %rdx
movq %r12, (%rcx,%rdx)
movq qels(%rip), %rcx
movl %r15d, 8(%rcx,%rdx)
movq %r14, 16(%rcx,%rdx)
movq qels(%rip), %rcx
leaq (%rcx,%rdx), %rdi
movl %ebp, 24(%rcx,%rdx)
movl $1, 28(%rcx,%rdx)
movl %eax, 32(%rcx,%rdx)
callq enQ@PLT
movq %rbx, %rdi
callq idle@PLT
movq mailbox(%rip), %rax
movl (%rax,%r13,4), %eax
movq mboxinuse(%rip), %rcx
movq $0, (%rcx,%r13,8)
jmp .LBB0_3
.LBB0_2:
leaq .L.str(%rip), %rdi
callq printk@PLT
movl $-1, %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size do_write, .Lfunc_end0-do_write
.cfi_endproc
# -- End function
.type qels,@object # @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_write
|
extr_ltpc.c_do_read.c | .text
.file "extr_ltpc.c_do_read.c"
.p2align 2 // -- Begin function do_read
.type do_read,@function
do_read: // @do_read
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
str x3, [sp, #24]
str w4, [sp, #20]
bl getmbox
str w0, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldur x9, [x29, #-24]
adrp x8, qels
ldr x11, [x8, :lo12:qels]
ldrsw x12, [sp, #16]
mov x10, #40 // =0x28
mul x12, x12, x10
str x9, [x11, x12]
ldur w9, [x29, #-28]
ldr x11, [x8, :lo12:qels]
ldrsw x12, [sp, #16]
mul x12, x12, x10
add x11, x11, x12
str w9, [x11, #8]
ldr x9, [sp, #24]
ldr x11, [x8, :lo12:qels]
ldrsw x12, [sp, #16]
mul x12, x12, x10
add x11, x11, x12
str x9, [x11, #16]
ldr w9, [sp, #20]
ldr x11, [x8, :lo12:qels]
ldrsw x12, [sp, #16]
mul x12, x12, x10
add x11, x11, x12
str w9, [x11, #24]
ldr x9, [x8, :lo12:qels]
ldrsw x11, [sp, #16]
mul x11, x11, x10
add x9, x9, x11
mov x11, xzr
str x11, [sp] // 8-byte Folded Spill
str xzr, [x9, #32]
ldr w9, [sp, #16]
ldr x11, [x8, :lo12:qels]
ldrsw x12, [sp, #16]
mul x12, x12, x10
add x11, x11, x12
str w9, [x11, #28]
ldr x8, [x8, :lo12:qels]
ldrsw x9, [sp, #16]
mul x9, x9, x10
add x0, x8, x9
bl enQ
ldur x0, [x29, #-16]
bl idle
ldr x8, [sp] // 8-byte Folded Reload
adrp x9, mailbox
ldr x9, [x9, :lo12:mailbox]
ldrsw x10, [sp, #16]
ldr w9, [x9, x10, lsl #2]
str w9, [sp, #12]
adrp x9, mboxinuse
ldr x9, [x9, :lo12:mboxinuse]
ldrsw x10, [sp, #16]
str x8, [x9, x10, lsl #3]
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b .LBB0_3
.LBB0_2:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov w8, #-1 // =0xffffffff
stur w8, [x29, #-4]
b .LBB0_3
.LBB0_3:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size do_read, .Lfunc_end0-do_read
.cfi_endproc
// -- End function
.type qels,@object // @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_read
.addrsig_sym getmbox
.addrsig_sym enQ
.addrsig_sym idle
.addrsig_sym printk
.addrsig_sym qels
.addrsig_sym mailbox
.addrsig_sym mboxinuse
| .text
.file "extr_ltpc.c_do_read.c"
.p2align 2 // -- Begin function do_read
.type do_read,@function
do_read: // @do_read
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-80]! // 16-byte Folded Spill
.cfi_def_cfa_offset 80
str x25, [sp, #16] // 8-byte Folded Spill
stp x24, x23, [sp, #32] // 16-byte Folded Spill
stp x22, x21, [sp, #48] // 16-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
mov w21, w4
mov x23, x3
mov w22, w2
mov x24, x1
mov x20, x0
bl getmbox
cbz w0, .LBB0_2
// %bb.1:
mov w19, w0
adrp x8, qels
sxtw x9, w19
sbfiz x25, x19, #2, #32
add x9, x25, x9
lsl x9, x9, #3
ldr x10, [x8, :lo12:qels]
str x24, [x10, x9]
ldr x10, [x8, :lo12:qels]
add x10, x10, x9
str x23, [x10, #16]
ldr x8, [x8, :lo12:qels]
str w22, [x10, #8]
add x0, x8, x9
str xzr, [x0, #32]
stp w21, w19, [x0, #24]
bl enQ
mov x0, x20
bl idle
adrp x8, mailbox
adrp x9, mboxinuse
ldr x8, [x8, :lo12:mailbox]
ldr w0, [x8, x25]
ldr x8, [x9, :lo12:mboxinuse]
str xzr, [x8, w19, sxtw #3]
b .LBB0_3
.LBB0_2:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov w0, #-1 // =0xffffffff
.LBB0_3:
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x22, x21, [sp, #48] // 16-byte Folded Reload
ldp x24, x23, [sp, #32] // 16-byte Folded Reload
ldr x25, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #80 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size do_read, .Lfunc_end0-do_read
.cfi_endproc
// -- End function
.type qels,@object // @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_read
| .text
.file "extr_ltpc.c_do_read.c"
.p2align 2 // -- Begin function do_read
.type do_read,@function
do_read: // @do_read
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-80]! // 16-byte Folded Spill
.cfi_def_cfa_offset 80
str x25, [sp, #16] // 8-byte Folded Spill
stp x24, x23, [sp, #32] // 16-byte Folded Spill
stp x22, x21, [sp, #48] // 16-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
mov w21, w4
mov x23, x3
mov w22, w2
mov x24, x1
mov x20, x0
bl getmbox
cbz w0, .LBB0_2
// %bb.1:
mov w19, w0
adrp x8, qels
sxtw x9, w19
sbfiz x25, x19, #2, #32
add x9, x25, x9
lsl x9, x9, #3
ldr x10, [x8, :lo12:qels]
str x24, [x10, x9]
ldr x10, [x8, :lo12:qels]
add x10, x10, x9
str x23, [x10, #16]
ldr x8, [x8, :lo12:qels]
str w22, [x10, #8]
add x0, x8, x9
str xzr, [x0, #32]
stp w21, w19, [x0, #24]
bl enQ
mov x0, x20
bl idle
adrp x8, mailbox
adrp x9, mboxinuse
ldr x8, [x8, :lo12:mailbox]
ldr w0, [x8, x25]
ldr x8, [x9, :lo12:mboxinuse]
str xzr, [x8, w19, sxtw #3]
b .LBB0_3
.LBB0_2:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov w0, #-1 // =0xffffffff
.LBB0_3:
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x22, x21, [sp, #48] // 16-byte Folded Reload
ldp x24, x23, [sp, #32] // 16-byte Folded Reload
ldr x25, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #80 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size do_read, .Lfunc_end0-do_read
.cfi_endproc
// -- End function
.type qels,@object // @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_read
| .text
.file "extr_ltpc.c_do_read.c"
.p2align 2 // -- Begin function do_read
.type do_read,@function
do_read: // @do_read
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-80]! // 16-byte Folded Spill
.cfi_def_cfa_offset 80
str x25, [sp, #16] // 8-byte Folded Spill
stp x24, x23, [sp, #32] // 16-byte Folded Spill
stp x22, x21, [sp, #48] // 16-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
.cfi_remember_state
mov w21, w4
mov x23, x3
mov w22, w2
mov x24, x1
mov x20, x0
bl getmbox
cbz w0, .LBB0_2
// %bb.1:
mov w19, w0
adrp x8, qels
sxtw x9, w19
sbfiz x25, x19, #2, #32
add x9, x25, x9
lsl x9, x9, #3
ldr x10, [x8, :lo12:qels]
str x24, [x10, x9]
ldr x10, [x8, :lo12:qels]
add x10, x10, x9
str x23, [x10, #16]
ldr x8, [x8, :lo12:qels]
str w22, [x10, #8]
add x0, x8, x9
str xzr, [x0, #32]
stp w21, w19, [x0, #24]
bl enQ
mov x0, x20
bl idle
adrp x8, mailbox
adrp x9, mboxinuse
ldr x8, [x8, :lo12:mailbox]
ldr w0, [x8, x25]
ldr x8, [x9, :lo12:mboxinuse]
str xzr, [x8, w19, sxtw #3]
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x22, x21, [sp, #48] // 16-byte Folded Reload
ldp x24, x23, [sp, #32] // 16-byte Folded Reload
ldr x25, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #80 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov w0, #-1 // =0xffffffff
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x22, x21, [sp, #48] // 16-byte Folded Reload
ldp x24, x23, [sp, #32] // 16-byte Folded Reload
ldr x25, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #80 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size do_read, .Lfunc_end0-do_read
.cfi_endproc
// -- End function
.type qels,@object // @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.xword 0
.size qels, 8
.type mailbox,@object // @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.xword 0
.size mailbox, 8
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_read
| .text
.file "extr_ltpc.c_do_read.c"
.p2align 4, 0x90 # -- Begin function do_read
.type do_read,@function
do_read: # @do_read
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movq %rcx, -40(%rbp)
movl %r8d, -44(%rbp)
movb $0, %al
callq getmbox@PLT
movl %eax, -48(%rbp)
cmpl $0, -48(%rbp)
je .LBB0_2
# %bb.1:
movq -24(%rbp), %rcx
movq qels(%rip), %rax
movslq -48(%rbp), %rdx
imulq $40, %rdx, %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movl -28(%rbp), %ecx
movq qels(%rip), %rax
movslq -48(%rbp), %rdx
imulq $40, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 8(%rax)
movq -40(%rbp), %rcx
movq qels(%rip), %rax
movslq -48(%rbp), %rdx
imulq $40, %rdx, %rdx
addq %rdx, %rax
movq %rcx, 16(%rax)
movl -44(%rbp), %ecx
movq qels(%rip), %rax
movslq -48(%rbp), %rdx
imulq $40, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 24(%rax)
movq qels(%rip), %rax
movslq -48(%rbp), %rcx
imulq $40, %rcx, %rcx
addq %rcx, %rax
movq $0, 32(%rax)
movl -48(%rbp), %ecx
movq qels(%rip), %rax
movslq -48(%rbp), %rdx
imulq $40, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 28(%rax)
movq qels(%rip), %rdi
movslq -48(%rbp), %rax
imulq $40, %rax, %rax
addq %rax, %rdi
callq enQ@PLT
movq -16(%rbp), %rdi
callq idle@PLT
movq mailbox(%rip), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -52(%rbp)
movq mboxinuse(%rip), %rax
movslq -48(%rbp), %rcx
movq $0, (%rax,%rcx,8)
movl -52(%rbp), %eax
movl %eax, -4(%rbp)
jmp .LBB0_3
.LBB0_2:
leaq .L.str(%rip), %rdi
callq printk@PLT
movl $-1, -4(%rbp)
.LBB0_3:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size do_read, .Lfunc_end0-do_read
.cfi_endproc
# -- End function
.type qels,@object # @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_read
.addrsig_sym getmbox
.addrsig_sym enQ
.addrsig_sym idle
.addrsig_sym printk
.addrsig_sym qels
.addrsig_sym mailbox
.addrsig_sym mboxinuse
| .text
.file "extr_ltpc.c_do_read.c"
.p2align 4, 0x90 # -- Begin function do_read
.type do_read,@function
do_read: # @do_read
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %r8d, %ebp
movq %rcx, %r14
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %rbx
xorl %eax, %eax
callq getmbox@PLT
testl %eax, %eax
je .LBB0_2
# %bb.1:
movq qels(%rip), %rcx
movslq %eax, %r13
leaq (,%r13,8), %rdx
leaq (%rdx,%rdx,4), %rdx
movq %r12, (%rcx,%rdx)
movq qels(%rip), %rcx
movl %r15d, 8(%rcx,%rdx)
movq %r14, 16(%rcx,%rdx)
movq qels(%rip), %rcx
leaq (%rcx,%rdx), %rdi
movl %ebp, 24(%rcx,%rdx)
movq $0, 32(%rcx,%rdx)
movl %eax, 28(%rcx,%rdx)
callq enQ@PLT
movq %rbx, %rdi
callq idle@PLT
movq mailbox(%rip), %rax
movl (%rax,%r13,4), %eax
movq mboxinuse(%rip), %rcx
movq $0, (%rcx,%r13,8)
jmp .LBB0_3
.LBB0_2:
leaq .L.str(%rip), %rdi
callq printk@PLT
movl $-1, %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size do_read, .Lfunc_end0-do_read
.cfi_endproc
# -- End function
.type qels,@object # @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_read
| .text
.file "extr_ltpc.c_do_read.c"
.p2align 4, 0x90 # -- Begin function do_read
.type do_read,@function
do_read: # @do_read
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %r8d, %ebp
movq %rcx, %r14
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %rbx
xorl %eax, %eax
callq getmbox@PLT
testl %eax, %eax
je .LBB0_2
# %bb.1:
movq qels(%rip), %rcx
movslq %eax, %r13
leaq (,%r13,8), %rdx
leaq (%rdx,%rdx,4), %rdx
movq %r12, (%rcx,%rdx)
movq qels(%rip), %rcx
movl %r15d, 8(%rcx,%rdx)
movq %r14, 16(%rcx,%rdx)
movq qels(%rip), %rcx
leaq (%rcx,%rdx), %rdi
movl %ebp, 24(%rcx,%rdx)
movq $0, 32(%rcx,%rdx)
movl %eax, 28(%rcx,%rdx)
callq enQ@PLT
movq %rbx, %rdi
callq idle@PLT
movq mailbox(%rip), %rax
movl (%rax,%r13,4), %eax
movq mboxinuse(%rip), %rcx
movq $0, (%rcx,%r13,8)
jmp .LBB0_3
.LBB0_2:
leaq .L.str(%rip), %rdi
callq printk@PLT
movl $-1, %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size do_read, .Lfunc_end0-do_read
.cfi_endproc
# -- End function
.type qels,@object # @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_read
| .text
.file "extr_ltpc.c_do_read.c"
.p2align 4, 0x90 # -- Begin function do_read
.type do_read,@function
do_read: # @do_read
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %r8d, %ebp
movq %rcx, %r14
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %rbx
xorl %eax, %eax
callq getmbox@PLT
testl %eax, %eax
je .LBB0_2
# %bb.1:
movq qels(%rip), %rcx
movslq %eax, %r13
leaq (,%r13,8), %rdx
leaq (%rdx,%rdx,4), %rdx
movq %r12, (%rcx,%rdx)
movq qels(%rip), %rcx
movl %r15d, 8(%rcx,%rdx)
movq %r14, 16(%rcx,%rdx)
movq qels(%rip), %rcx
leaq (%rcx,%rdx), %rdi
movl %ebp, 24(%rcx,%rdx)
movq $0, 32(%rcx,%rdx)
movl %eax, 28(%rcx,%rdx)
callq enQ@PLT
movq %rbx, %rdi
callq idle@PLT
movq mailbox(%rip), %rax
movl (%rax,%r13,4), %eax
movq mboxinuse(%rip), %rcx
movq $0, (%rcx,%r13,8)
jmp .LBB0_3
.LBB0_2:
leaq .L.str(%rip), %rdi
callq printk@PLT
movl $-1, %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size do_read, .Lfunc_end0-do_read
.cfi_endproc
# -- End function
.type qels,@object # @qels
.bss
.globl qels
.p2align 3, 0x0
qels:
.quad 0
.size qels, 8
.type mailbox,@object # @mailbox
.globl mailbox
.p2align 3, 0x0
mailbox:
.quad 0
.size mailbox, 8
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc: could not allocate mbox\n"
.size .L.str, 31
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym do_read
|
extr_ltpc.c_set_30.c | .text
.file "extr_ltpc.c_set_30.c"
.p2align 2 // -- Begin function set_30
.type set_30,@function
set_30: // @set_30
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
adrp x8, LT_SETFLAGS
ldr w8, [x8, :lo12:LT_SETFLAGS]
add x3, sp, #12
str w8, [sp, #16]
ldur w8, [x29, #-12]
str w8, [sp, #12]
ldur x0, [x29, #-8]
mov x1, x3
mov w2, #8 // =0x8
mov w4, wzr
bl do_write
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size set_30, .Lfunc_end0-set_30
.cfi_endproc
// -- End function
.type LT_SETFLAGS,@object // @LT_SETFLAGS
.bss
.globl LT_SETFLAGS
.p2align 2, 0x0
LT_SETFLAGS:
.word 0 // 0x0
.size LT_SETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_30
.addrsig_sym do_write
.addrsig_sym LT_SETFLAGS
| .text
.file "extr_ltpc.c_set_30.c"
.p2align 2 // -- Begin function set_30
.type set_30,@function
set_30: // @set_30
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, LT_SETFLAGS
add x3, sp, #8
mov w2, #8 // =0x8
mov w4, wzr
ldr w8, [x8, :lo12:LT_SETFLAGS]
stp w1, w8, [sp, #8]
add x1, sp, #8
bl do_write
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size set_30, .Lfunc_end0-set_30
.cfi_endproc
// -- End function
.type LT_SETFLAGS,@object // @LT_SETFLAGS
.bss
.globl LT_SETFLAGS
.p2align 2, 0x0
LT_SETFLAGS:
.word 0 // 0x0
.size LT_SETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_30
| .text
.file "extr_ltpc.c_set_30.c"
.p2align 2 // -- Begin function set_30
.type set_30,@function
set_30: // @set_30
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, LT_SETFLAGS
add x3, sp, #8
mov w2, #8 // =0x8
mov w4, wzr
ldr w8, [x8, :lo12:LT_SETFLAGS]
stp w1, w8, [sp, #8]
add x1, sp, #8
bl do_write
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size set_30, .Lfunc_end0-set_30
.cfi_endproc
// -- End function
.type LT_SETFLAGS,@object // @LT_SETFLAGS
.bss
.globl LT_SETFLAGS
.p2align 2, 0x0
LT_SETFLAGS:
.word 0 // 0x0
.size LT_SETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_30
| .text
.file "extr_ltpc.c_set_30.c"
.p2align 2 // -- Begin function set_30
.type set_30,@function
set_30: // @set_30
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, LT_SETFLAGS
add x3, sp, #8
mov w2, #8 // =0x8
mov w4, wzr
ldr w8, [x8, :lo12:LT_SETFLAGS]
stp w1, w8, [sp, #8]
add x1, sp, #8
bl do_write
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size set_30, .Lfunc_end0-set_30
.cfi_endproc
// -- End function
.type LT_SETFLAGS,@object // @LT_SETFLAGS
.bss
.globl LT_SETFLAGS
.p2align 2, 0x0
LT_SETFLAGS:
.word 0 // 0x0
.size LT_SETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_30
| .text
.file "extr_ltpc.c_set_30.c"
.p2align 4, 0x90 # -- Begin function set_30
.type set_30,@function
set_30: # @set_30
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl LT_SETFLAGS(%rip), %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rdi
leaq -20(%rbp), %rcx
movl $8, %edx
xorl %r8d, %r8d
movq %rcx, %rsi
callq do_write@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size set_30, .Lfunc_end0-set_30
.cfi_endproc
# -- End function
.type LT_SETFLAGS,@object # @LT_SETFLAGS
.bss
.globl LT_SETFLAGS
.p2align 2, 0x0
LT_SETFLAGS:
.long 0 # 0x0
.size LT_SETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_30
.addrsig_sym do_write
.addrsig_sym LT_SETFLAGS
| .text
.file "extr_ltpc.c_set_30.c"
.p2align 4, 0x90 # -- Begin function set_30
.type set_30,@function
set_30: # @set_30
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
movl LT_SETFLAGS(%rip), %eax
movl %eax, 4(%rsp)
movl %esi, (%rsp)
movq %rsp, %rcx
movq %rcx, %rsi
movl $8, %edx
xorl %r8d, %r8d
callq do_write@PLT
popq %rcx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size set_30, .Lfunc_end0-set_30
.cfi_endproc
# -- End function
.type LT_SETFLAGS,@object # @LT_SETFLAGS
.bss
.globl LT_SETFLAGS
.p2align 2, 0x0
LT_SETFLAGS:
.long 0 # 0x0
.size LT_SETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_30
| .text
.file "extr_ltpc.c_set_30.c"
.p2align 4, 0x90 # -- Begin function set_30
.type set_30,@function
set_30: # @set_30
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
movl LT_SETFLAGS(%rip), %eax
movl %eax, 4(%rsp)
movl %esi, (%rsp)
movq %rsp, %rcx
movq %rcx, %rsi
movl $8, %edx
xorl %r8d, %r8d
callq do_write@PLT
popq %rcx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size set_30, .Lfunc_end0-set_30
.cfi_endproc
# -- End function
.type LT_SETFLAGS,@object # @LT_SETFLAGS
.bss
.globl LT_SETFLAGS
.p2align 2, 0x0
LT_SETFLAGS:
.long 0 # 0x0
.size LT_SETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_30
| .text
.file "extr_ltpc.c_set_30.c"
.p2align 4, 0x90 # -- Begin function set_30
.type set_30,@function
set_30: # @set_30
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
movl LT_SETFLAGS(%rip), %eax
movl %eax, 4(%rsp)
movl %esi, (%rsp)
movq %rsp, %rcx
movq %rcx, %rsi
movl $8, %edx
xorl %r8d, %r8d
callq do_write@PLT
popq %rcx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size set_30, .Lfunc_end0-set_30
.cfi_endproc
# -- End function
.type LT_SETFLAGS,@object # @LT_SETFLAGS
.bss
.globl LT_SETFLAGS
.p2align 2, 0x0
LT_SETFLAGS:
.long 0 # 0x0
.size LT_SETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym set_30
|
extr_ltpc.c_ltpc_interrupt.c | .text
.file "extr_ltpc.c_ltpc_interrupt.c"
.p2align 2 // -- Begin function ltpc_interrupt
.type ltpc_interrupt,@function
ltpc_interrupt: // @ltpc_interrupt
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-8]
str x1, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
adrp x8, IRQ_NONE
ldr w8, [x8, :lo12:IRQ_NONE]
stur w8, [x29, #-4]
b .LBB0_3
.LBB0_2:
ldr x8, [sp, #8]
ldr x8, [x8]
add x0, x8, #6
bl inb_p
ldr x0, [sp, #8]
bl idle
adrp x8, IRQ_HANDLED
ldr w8, [x8, :lo12:IRQ_HANDLED]
stur w8, [x29, #-4]
b .LBB0_3
.LBB0_3:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_interrupt, .Lfunc_end0-ltpc_interrupt
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_interrupt: unknown device.\n"
.size .L.str, 33
.type IRQ_NONE,@object // @IRQ_NONE
.bss
.globl IRQ_NONE
.p2align 2, 0x0
IRQ_NONE:
.word 0 // 0x0
.size IRQ_NONE, 4
.type IRQ_HANDLED,@object // @IRQ_HANDLED
.globl IRQ_HANDLED
.p2align 2, 0x0
IRQ_HANDLED:
.word 0 // 0x0
.size IRQ_HANDLED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_interrupt
.addrsig_sym printk
.addrsig_sym inb_p
.addrsig_sym idle
.addrsig_sym IRQ_NONE
.addrsig_sym IRQ_HANDLED
| .text
.file "extr_ltpc.c_ltpc_interrupt.c"
.p2align 2 // -- Begin function ltpc_interrupt
.type ltpc_interrupt,@function
ltpc_interrupt: // @ltpc_interrupt
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
cbz x1, .LBB0_2
// %bb.1:
ldr x8, [x1]
mov x19, x1
add x0, x8, #6
bl inb_p
mov x0, x19
bl idle
adrp x8, IRQ_HANDLED
add x8, x8, :lo12:IRQ_HANDLED
b .LBB0_3
.LBB0_2:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
adrp x8, IRQ_NONE
add x8, x8, :lo12:IRQ_NONE
.LBB0_3:
ldr w0, [x8]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_interrupt, .Lfunc_end0-ltpc_interrupt
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_interrupt: unknown device.\n"
.size .L.str, 33
.type IRQ_NONE,@object // @IRQ_NONE
.bss
.globl IRQ_NONE
.p2align 2, 0x0
IRQ_NONE:
.word 0 // 0x0
.size IRQ_NONE, 4
.type IRQ_HANDLED,@object // @IRQ_HANDLED
.globl IRQ_HANDLED
.p2align 2, 0x0
IRQ_HANDLED:
.word 0 // 0x0
.size IRQ_HANDLED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_interrupt
| .text
.file "extr_ltpc.c_ltpc_interrupt.c"
.p2align 2 // -- Begin function ltpc_interrupt
.type ltpc_interrupt,@function
ltpc_interrupt: // @ltpc_interrupt
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
cbz x1, .LBB0_2
// %bb.1:
ldr x8, [x1]
mov x19, x1
add x0, x8, #6
bl inb_p
mov x0, x19
bl idle
adrp x8, IRQ_HANDLED
add x8, x8, :lo12:IRQ_HANDLED
b .LBB0_3
.LBB0_2:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
adrp x8, IRQ_NONE
add x8, x8, :lo12:IRQ_NONE
.LBB0_3:
ldr w0, [x8]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_interrupt, .Lfunc_end0-ltpc_interrupt
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_interrupt: unknown device.\n"
.size .L.str, 33
.type IRQ_NONE,@object // @IRQ_NONE
.bss
.globl IRQ_NONE
.p2align 2, 0x0
IRQ_NONE:
.word 0 // 0x0
.size IRQ_NONE, 4
.type IRQ_HANDLED,@object // @IRQ_HANDLED
.globl IRQ_HANDLED
.p2align 2, 0x0
IRQ_HANDLED:
.word 0 // 0x0
.size IRQ_HANDLED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_interrupt
| .text
.file "extr_ltpc.c_ltpc_interrupt.c"
.p2align 2 // -- Begin function ltpc_interrupt
.type ltpc_interrupt,@function
ltpc_interrupt: // @ltpc_interrupt
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
cbz x1, .LBB0_2
// %bb.1:
ldr x8, [x1]
mov x19, x1
add x0, x8, #6
bl inb_p
mov x0, x19
bl idle
adrp x8, IRQ_HANDLED
add x8, x8, :lo12:IRQ_HANDLED
ldr w0, [x8]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
adrp x8, IRQ_NONE
add x8, x8, :lo12:IRQ_NONE
ldr w0, [x8]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_interrupt, .Lfunc_end0-ltpc_interrupt
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_interrupt: unknown device.\n"
.size .L.str, 33
.type IRQ_NONE,@object // @IRQ_NONE
.bss
.globl IRQ_NONE
.p2align 2, 0x0
IRQ_NONE:
.word 0 // 0x0
.size IRQ_NONE, 4
.type IRQ_HANDLED,@object // @IRQ_HANDLED
.globl IRQ_HANDLED
.p2align 2, 0x0
IRQ_HANDLED:
.word 0 // 0x0
.size IRQ_HANDLED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_interrupt
| .text
.file "extr_ltpc.c_ltpc_interrupt.c"
.p2align 4, 0x90 # -- Begin function ltpc_interrupt
.type ltpc_interrupt,@function
ltpc_interrupt: # @ltpc_interrupt
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
movl IRQ_NONE(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_3
.LBB0_2:
movq -24(%rbp), %rax
movq (%rax), %rdi
addq $6, %rdi
callq inb_p@PLT
movq -24(%rbp), %rdi
callq idle@PLT
movl IRQ_HANDLED(%rip), %eax
movl %eax, -4(%rbp)
.LBB0_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ltpc_interrupt, .Lfunc_end0-ltpc_interrupt
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_interrupt: unknown device.\n"
.size .L.str, 33
.type IRQ_NONE,@object # @IRQ_NONE
.bss
.globl IRQ_NONE
.p2align 2, 0x0
IRQ_NONE:
.long 0 # 0x0
.size IRQ_NONE, 4
.type IRQ_HANDLED,@object # @IRQ_HANDLED
.globl IRQ_HANDLED
.p2align 2, 0x0
IRQ_HANDLED:
.long 0 # 0x0
.size IRQ_HANDLED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_interrupt
.addrsig_sym printk
.addrsig_sym inb_p
.addrsig_sym idle
.addrsig_sym IRQ_NONE
.addrsig_sym IRQ_HANDLED
| .text
.file "extr_ltpc.c_ltpc_interrupt.c"
.p2align 4, 0x90 # -- Begin function ltpc_interrupt
.type ltpc_interrupt,@function
ltpc_interrupt: # @ltpc_interrupt
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
testq %rsi, %rsi
je .LBB0_1
# %bb.2:
movq %rsi, %rbx
movq (%rsi), %rdi
addq $6, %rdi
callq inb_p@PLT
movq %rbx, %rdi
callq idle@PLT
leaq IRQ_HANDLED(%rip), %rax
jmp .LBB0_3
.LBB0_1:
leaq .L.str(%rip), %rdi
callq printk@PLT
leaq IRQ_NONE(%rip), %rax
.LBB0_3:
movl (%rax), %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_interrupt, .Lfunc_end0-ltpc_interrupt
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_interrupt: unknown device.\n"
.size .L.str, 33
.type IRQ_NONE,@object # @IRQ_NONE
.bss
.globl IRQ_NONE
.p2align 2, 0x0
IRQ_NONE:
.long 0 # 0x0
.size IRQ_NONE, 4
.type IRQ_HANDLED,@object # @IRQ_HANDLED
.globl IRQ_HANDLED
.p2align 2, 0x0
IRQ_HANDLED:
.long 0 # 0x0
.size IRQ_HANDLED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_interrupt
| .text
.file "extr_ltpc.c_ltpc_interrupt.c"
.p2align 4, 0x90 # -- Begin function ltpc_interrupt
.type ltpc_interrupt,@function
ltpc_interrupt: # @ltpc_interrupt
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
testq %rsi, %rsi
je .LBB0_1
# %bb.2:
movq %rsi, %rbx
movq (%rsi), %rdi
addq $6, %rdi
callq inb_p@PLT
movq %rbx, %rdi
callq idle@PLT
leaq IRQ_HANDLED(%rip), %rax
jmp .LBB0_3
.LBB0_1:
leaq .L.str(%rip), %rdi
callq printk@PLT
leaq IRQ_NONE(%rip), %rax
.LBB0_3:
movl (%rax), %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_interrupt, .Lfunc_end0-ltpc_interrupt
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_interrupt: unknown device.\n"
.size .L.str, 33
.type IRQ_NONE,@object # @IRQ_NONE
.bss
.globl IRQ_NONE
.p2align 2, 0x0
IRQ_NONE:
.long 0 # 0x0
.size IRQ_NONE, 4
.type IRQ_HANDLED,@object # @IRQ_HANDLED
.globl IRQ_HANDLED
.p2align 2, 0x0
IRQ_HANDLED:
.long 0 # 0x0
.size IRQ_HANDLED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_interrupt
| .text
.file "extr_ltpc.c_ltpc_interrupt.c"
.p2align 4, 0x90 # -- Begin function ltpc_interrupt
.type ltpc_interrupt,@function
ltpc_interrupt: # @ltpc_interrupt
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
testq %rsi, %rsi
je .LBB0_1
# %bb.2:
movq %rsi, %rbx
movq (%rsi), %rdi
addq $6, %rdi
callq inb_p@PLT
movq %rbx, %rdi
callq idle@PLT
leaq IRQ_HANDLED(%rip), %rax
movl (%rax), %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_1:
.cfi_def_cfa_offset 16
leaq .L.str(%rip), %rdi
callq printk@PLT
leaq IRQ_NONE(%rip), %rax
movl (%rax), %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_interrupt, .Lfunc_end0-ltpc_interrupt
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "ltpc_interrupt: unknown device.\n"
.size .L.str, 33
.type IRQ_NONE,@object # @IRQ_NONE
.bss
.globl IRQ_NONE
.p2align 2, 0x0
IRQ_NONE:
.long 0 # 0x0
.size IRQ_NONE, 4
.type IRQ_HANDLED,@object # @IRQ_HANDLED
.globl IRQ_HANDLED
.p2align 2, 0x0
IRQ_HANDLED:
.long 0 # 0x0
.size IRQ_HANDLED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_interrupt
|
extr_ltpc.c_handlecommand.c | .text
.file "extr_ltpc.c_handlecommand.c"
.p2align 2 // -- Begin function handlecommand
.type handlecommand,@function
handlecommand: // @handlecommand
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr w8, [x8]
stur w8, [x29, #-12]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
str w8, [sp, #16]
bl claim_dma_lock
str x0, [sp, #8]
ldur w0, [x29, #-12]
bl disable_dma
ldur w0, [x29, #-12]
bl clear_dma_ff
ldur w0, [x29, #-12]
adrp x8, DMA_MODE_WRITE
ldr w1, [x8, :lo12:DMA_MODE_WRITE]
bl set_dma_mode
ldur w8, [x29, #-12]
str w8, [sp, #4] // 4-byte Folded Spill
adrp x8, ltdmacbuf
ldr w0, [x8, :lo12:ltdmacbuf]
bl virt_to_bus
mov w1, w0
ldr w0, [sp, #4] // 4-byte Folded Reload
bl set_dma_addr
ldur w0, [x29, #-12]
mov w1, #50 // =0x32
bl set_dma_count
ldur w0, [x29, #-12]
bl enable_dma
ldr x0, [sp, #8]
bl release_dma_lock
ldr w8, [sp, #16]
add w0, w8, #3
bl inb_p
ldr w8, [sp, #16]
add w0, w8, #2
bl inb_p
ldur x0, [x29, #-8]
mov w1, #250 // =0xfa
bl wait_timeout
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
b .LBB0_2
.LBB0_2:
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlecommand, .Lfunc_end0-handlecommand
.cfi_endproc
// -- End function
.type DMA_MODE_WRITE,@object // @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.word 0 // 0x0
.size DMA_MODE_WRITE, 4
.type ltdmacbuf,@object // @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.word 0 // 0x0
.size ltdmacbuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlecommand\n"
.size .L.str, 28
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlecommand
.addrsig_sym claim_dma_lock
.addrsig_sym disable_dma
.addrsig_sym clear_dma_ff
.addrsig_sym set_dma_mode
.addrsig_sym set_dma_addr
.addrsig_sym virt_to_bus
.addrsig_sym set_dma_count
.addrsig_sym enable_dma
.addrsig_sym release_dma_lock
.addrsig_sym inb_p
.addrsig_sym wait_timeout
.addrsig_sym printk
.addrsig_sym DMA_MODE_WRITE
.addrsig_sym ltdmacbuf
| .text
.file "extr_ltpc.c_handlecommand.c"
.p2align 2 // -- Begin function handlecommand
.type handlecommand,@function
handlecommand: // @handlecommand
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_WRITE
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_WRITE]
bl set_dma_mode
adrp x8, ltdmacbuf
ldr w0, [x8, :lo12:ltdmacbuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #50 // =0x32
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #250 // =0xfa
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlecommand, .Lfunc_end0-handlecommand
.cfi_endproc
// -- End function
.type DMA_MODE_WRITE,@object // @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.word 0 // 0x0
.size DMA_MODE_WRITE, 4
.type ltdmacbuf,@object // @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.word 0 // 0x0
.size ltdmacbuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlecommand\n"
.size .L.str, 28
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlecommand
| .text
.file "extr_ltpc.c_handlecommand.c"
.p2align 2 // -- Begin function handlecommand
.type handlecommand,@function
handlecommand: // @handlecommand
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_WRITE
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_WRITE]
bl set_dma_mode
adrp x8, ltdmacbuf
ldr w0, [x8, :lo12:ltdmacbuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #50 // =0x32
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #250 // =0xfa
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlecommand, .Lfunc_end0-handlecommand
.cfi_endproc
// -- End function
.type DMA_MODE_WRITE,@object // @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.word 0 // 0x0
.size DMA_MODE_WRITE, 4
.type ltdmacbuf,@object // @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.word 0 // 0x0
.size ltdmacbuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlecommand\n"
.size .L.str, 28
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlecommand
| .text
.file "extr_ltpc.c_handlecommand.c"
.p2align 2 // -- Begin function handlecommand
.type handlecommand,@function
handlecommand: // @handlecommand
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_WRITE
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_WRITE]
bl set_dma_mode
adrp x8, ltdmacbuf
ldr w0, [x8, :lo12:ltdmacbuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #50 // =0x32
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #250 // =0xfa
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlecommand, .Lfunc_end0-handlecommand
.cfi_endproc
// -- End function
.type DMA_MODE_WRITE,@object // @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.word 0 // 0x0
.size DMA_MODE_WRITE, 4
.type ltdmacbuf,@object // @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.word 0 // 0x0
.size ltdmacbuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlecommand\n"
.size .L.str, 28
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlecommand
| .text
.file "extr_ltpc.c_handlecommand.c"
.p2align 4, 0x90 # -- Begin function handlecommand
.type handlecommand,@function
handlecommand: # @handlecommand
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -16(%rbp)
movb $0, %al
callq claim_dma_lock@PLT
movq %rax, -24(%rbp)
movl -12(%rbp), %edi
callq disable_dma@PLT
movl -12(%rbp), %edi
callq clear_dma_ff@PLT
movl -12(%rbp), %edi
movl DMA_MODE_WRITE(%rip), %esi
callq set_dma_mode@PLT
movl -12(%rbp), %eax
movl %eax, -28(%rbp) # 4-byte Spill
movl ltdmacbuf(%rip), %edi
callq virt_to_bus@PLT
movl -28(%rbp), %edi # 4-byte Reload
movl %eax, %esi
callq set_dma_addr@PLT
movl -12(%rbp), %edi
movl $50, %esi
callq set_dma_count@PLT
movl -12(%rbp), %edi
callq enable_dma@PLT
movq -24(%rbp), %rdi
callq release_dma_lock@PLT
movl -16(%rbp), %edi
addl $3, %edi
callq inb_p@PLT
movl -16(%rbp), %edi
addl $2, %edi
callq inb_p@PLT
movq -8(%rbp), %rdi
movl $250, %esi
callq wait_timeout@PLT
cmpq $0, %rax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_2:
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size handlecommand, .Lfunc_end0-handlecommand
.cfi_endproc
# -- End function
.type DMA_MODE_WRITE,@object # @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.long 0 # 0x0
.size DMA_MODE_WRITE, 4
.type ltdmacbuf,@object # @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.long 0 # 0x0
.size ltdmacbuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlecommand\n"
.size .L.str, 28
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlecommand
.addrsig_sym claim_dma_lock
.addrsig_sym disable_dma
.addrsig_sym clear_dma_ff
.addrsig_sym set_dma_mode
.addrsig_sym set_dma_addr
.addrsig_sym virt_to_bus
.addrsig_sym set_dma_count
.addrsig_sym enable_dma
.addrsig_sym release_dma_lock
.addrsig_sym inb_p
.addrsig_sym wait_timeout
.addrsig_sym printk
.addrsig_sym DMA_MODE_WRITE
.addrsig_sym ltdmacbuf
| .text
.file "extr_ltpc.c_handlecommand.c"
.p2align 4, 0x90 # -- Begin function handlecommand
.type handlecommand,@function
handlecommand: # @handlecommand
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_WRITE(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmacbuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $50, %esi
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $250, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handlecommand, .Lfunc_end0-handlecommand
.cfi_endproc
# -- End function
.type DMA_MODE_WRITE,@object # @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.long 0 # 0x0
.size DMA_MODE_WRITE, 4
.type ltdmacbuf,@object # @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.long 0 # 0x0
.size ltdmacbuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlecommand\n"
.size .L.str, 28
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlecommand
| .text
.file "extr_ltpc.c_handlecommand.c"
.p2align 4, 0x90 # -- Begin function handlecommand
.type handlecommand,@function
handlecommand: # @handlecommand
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_WRITE(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmacbuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $50, %esi
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $250, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handlecommand, .Lfunc_end0-handlecommand
.cfi_endproc
# -- End function
.type DMA_MODE_WRITE,@object # @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.long 0 # 0x0
.size DMA_MODE_WRITE, 4
.type ltdmacbuf,@object # @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.long 0 # 0x0
.size ltdmacbuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlecommand\n"
.size .L.str, 28
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlecommand
| .text
.file "extr_ltpc.c_handlecommand.c"
.p2align 4, 0x90 # -- Begin function handlecommand
.type handlecommand,@function
handlecommand: # @handlecommand
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_WRITE(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmacbuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $50, %esi
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $250, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handlecommand, .Lfunc_end0-handlecommand
.cfi_endproc
# -- End function
.type DMA_MODE_WRITE,@object # @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.long 0 # 0x0
.size DMA_MODE_WRITE, 4
.type ltdmacbuf,@object # @ltdmacbuf
.globl ltdmacbuf
.p2align 2, 0x0
ltdmacbuf:
.long 0 # 0x0
.size ltdmacbuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlecommand\n"
.size .L.str, 28
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlecommand
|
extr_ltpc.c_getmbox.c | .text
.file "extr_ltpc.c_getmbox.c"
.p2align 2 // -- Begin function getmbox
.type getmbox,@function
getmbox: // @getmbox
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x1, [sp, #16]
adrp x0, mbox_lock
add x0, x0, :lo12:mbox_lock
bl spin_lock_irqsave
mov w8, #1 // =0x1
str w8, [sp, #12]
b .LBB0_1
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, .LBB0_6
b .LBB0_2
.LBB0_2: // in Loop: Header=BB0_1 Depth=1
adrp x8, mboxinuse
ldr x8, [x8, :lo12:mboxinuse]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
adrp x8, mboxinuse
ldr x9, [x8, :lo12:mboxinuse]
ldrsw x10, [sp, #12]
mov w8, #1 // =0x1
str w8, [x9, x10, lsl #2]
ldr x1, [sp, #16]
adrp x0, mbox_lock
add x0, x0, :lo12:mbox_lock
bl spin_unlock_irqrestore
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b .LBB0_7
.LBB0_4: // in Loop: Header=BB0_1 Depth=1
b .LBB0_5
.LBB0_5: // in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b .LBB0_1
.LBB0_6:
ldr x1, [sp, #16]
adrp x0, mbox_lock
add x0, x0, :lo12:mbox_lock
bl spin_unlock_irqrestore
stur wzr, [x29, #-4]
b .LBB0_7
.LBB0_7:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size getmbox, .Lfunc_end0-getmbox
.cfi_endproc
// -- End function
.type mbox_lock,@object // @mbox_lock
.bss
.globl mbox_lock
.p2align 2, 0x0
mbox_lock:
.word 0 // 0x0
.size mbox_lock, 4
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym getmbox
.addrsig_sym spin_lock_irqsave
.addrsig_sym spin_unlock_irqrestore
.addrsig_sym mbox_lock
.addrsig_sym mboxinuse
| .text
.file "extr_ltpc.c_getmbox.c"
.p2align 2 // -- Begin function getmbox
.type getmbox,@function
getmbox: // @getmbox
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
adrp x0, mbox_lock
add x0, x0, :lo12:mbox_lock
bl spin_lock_irqsave
adrp x8, mboxinuse
mov w19, #1 // =0x1
ldr x8, [x8, :lo12:mboxinuse]
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldr w9, [x8, x19, lsl #2]
cbz w9, .LBB0_4
// %bb.2: // in Loop: Header=BB0_1 Depth=1
add x19, x19, #1
cmp x19, #16
b.ne .LBB0_1
// %bb.3:
mov w19, wzr
b .LBB0_5
.LBB0_4:
mov w9, #1 // =0x1
str w9, [x8, x19, lsl #2]
.LBB0_5:
adrp x0, mbox_lock
add x0, x0, :lo12:mbox_lock
bl spin_unlock_irqrestore
mov w0, w19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size getmbox, .Lfunc_end0-getmbox
.cfi_endproc
// -- End function
.type mbox_lock,@object // @mbox_lock
.bss
.globl mbox_lock
.p2align 2, 0x0
mbox_lock:
.word 0 // 0x0
.size mbox_lock, 4
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym getmbox
.addrsig_sym mbox_lock
| .text
.file "extr_ltpc.c_getmbox.c"
.p2align 2 // -- Begin function getmbox
.type getmbox,@function
getmbox: // @getmbox
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
adrp x0, mbox_lock
add x0, x0, :lo12:mbox_lock
bl spin_lock_irqsave
adrp x8, mboxinuse
mov w9, #1 // =0x1
ldr x8, [x8, :lo12:mboxinuse]
ldr w10, [x8, #4]
cbz w10, .LBB0_16
// %bb.1:
ldr w10, [x8, #8]
cbz w10, .LBB0_17
// %bb.2:
ldr w10, [x8, #12]
cbz w10, .LBB0_18
// %bb.3:
ldr w10, [x8, #16]
cbz w10, .LBB0_19
// %bb.4:
ldr w10, [x8, #20]
cbz w10, .LBB0_20
// %bb.5:
ldr w10, [x8, #24]
cbz w10, .LBB0_21
// %bb.6:
ldr w10, [x8, #28]
cbz w10, .LBB0_22
// %bb.7:
ldr w10, [x8, #32]
cbz w10, .LBB0_23
// %bb.8:
ldr w10, [x8, #36]
cbz w10, .LBB0_24
// %bb.9:
ldr w10, [x8, #40]
cbz w10, .LBB0_25
// %bb.10:
ldr w10, [x8, #44]
cbz w10, .LBB0_26
// %bb.11:
ldr w10, [x8, #48]
cbz w10, .LBB0_27
// %bb.12:
ldr w10, [x8, #52]
cbz w10, .LBB0_28
// %bb.13:
ldr w10, [x8, #56]
cbz w10, .LBB0_29
// %bb.14:
ldr w10, [x8, #60]
cbz w10, .LBB0_30
// %bb.15:
mov w19, wzr
b .LBB0_32
.LBB0_16:
mov w19, #1 // =0x1
b .LBB0_31
.LBB0_17:
mov w19, #2 // =0x2
b .LBB0_31
.LBB0_18:
mov w19, #3 // =0x3
b .LBB0_31
.LBB0_19:
mov w19, #4 // =0x4
b .LBB0_31
.LBB0_20:
mov w19, #5 // =0x5
b .LBB0_31
.LBB0_21:
mov w19, #6 // =0x6
b .LBB0_31
.LBB0_22:
mov w19, #7 // =0x7
b .LBB0_31
.LBB0_23:
mov w19, #8 // =0x8
b .LBB0_31
.LBB0_24:
mov w19, #9 // =0x9
b .LBB0_31
.LBB0_25:
mov w19, #10 // =0xa
b .LBB0_31
.LBB0_26:
mov w19, #11 // =0xb
b .LBB0_31
.LBB0_27:
mov w19, #12 // =0xc
b .LBB0_31
.LBB0_28:
mov w19, #13 // =0xd
b .LBB0_31
.LBB0_29:
mov w19, #14 // =0xe
b .LBB0_31
.LBB0_30:
mov w19, #15 // =0xf
.LBB0_31:
str w9, [x8, x19, lsl #2]
.LBB0_32:
adrp x0, mbox_lock
add x0, x0, :lo12:mbox_lock
bl spin_unlock_irqrestore
mov w0, w19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size getmbox, .Lfunc_end0-getmbox
.cfi_endproc
// -- End function
.type mbox_lock,@object // @mbox_lock
.bss
.globl mbox_lock
.p2align 2, 0x0
mbox_lock:
.word 0 // 0x0
.size mbox_lock, 4
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym getmbox
.addrsig_sym mbox_lock
| .text
.file "extr_ltpc.c_getmbox.c"
.p2align 2 // -- Begin function getmbox
.type getmbox,@function
getmbox: // @getmbox
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
adrp x0, mbox_lock
add x0, x0, :lo12:mbox_lock
bl spin_lock_irqsave
adrp x8, mboxinuse
mov w9, #1 // =0x1
ldr x8, [x8, :lo12:mboxinuse]
ldr w10, [x8, #4]
cbz w10, .LBB0_16
// %bb.1:
ldr w10, [x8, #8]
cbz w10, .LBB0_17
// %bb.2:
ldr w10, [x8, #12]
cbz w10, .LBB0_18
// %bb.3:
ldr w10, [x8, #16]
cbz w10, .LBB0_19
// %bb.4:
ldr w10, [x8, #20]
cbz w10, .LBB0_20
// %bb.5:
ldr w10, [x8, #24]
cbz w10, .LBB0_21
// %bb.6:
ldr w10, [x8, #28]
cbz w10, .LBB0_22
// %bb.7:
ldr w10, [x8, #32]
cbz w10, .LBB0_23
// %bb.8:
ldr w10, [x8, #36]
cbz w10, .LBB0_24
// %bb.9:
ldr w10, [x8, #40]
cbz w10, .LBB0_25
// %bb.10:
ldr w10, [x8, #44]
cbz w10, .LBB0_26
// %bb.11:
ldr w10, [x8, #48]
cbz w10, .LBB0_27
// %bb.12:
ldr w10, [x8, #52]
cbz w10, .LBB0_28
// %bb.13:
ldr w10, [x8, #56]
cbz w10, .LBB0_29
// %bb.14:
ldr w10, [x8, #60]
cbz w10, .LBB0_30
// %bb.15:
mov w19, wzr
b .LBB0_32
.LBB0_16:
mov w19, #1 // =0x1
b .LBB0_31
.LBB0_17:
mov w19, #2 // =0x2
b .LBB0_31
.LBB0_18:
mov w19, #3 // =0x3
b .LBB0_31
.LBB0_19:
mov w19, #4 // =0x4
b .LBB0_31
.LBB0_20:
mov w19, #5 // =0x5
b .LBB0_31
.LBB0_21:
mov w19, #6 // =0x6
b .LBB0_31
.LBB0_22:
mov w19, #7 // =0x7
b .LBB0_31
.LBB0_23:
mov w19, #8 // =0x8
b .LBB0_31
.LBB0_24:
mov w19, #9 // =0x9
b .LBB0_31
.LBB0_25:
mov w19, #10 // =0xa
b .LBB0_31
.LBB0_26:
mov w19, #11 // =0xb
b .LBB0_31
.LBB0_27:
mov w19, #12 // =0xc
b .LBB0_31
.LBB0_28:
mov w19, #13 // =0xd
b .LBB0_31
.LBB0_29:
mov w19, #14 // =0xe
b .LBB0_31
.LBB0_30:
mov w19, #15 // =0xf
.LBB0_31:
str w9, [x8, x19, lsl #2]
.LBB0_32:
adrp x0, mbox_lock
add x0, x0, :lo12:mbox_lock
bl spin_unlock_irqrestore
mov w0, w19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size getmbox, .Lfunc_end0-getmbox
.cfi_endproc
// -- End function
.type mbox_lock,@object // @mbox_lock
.bss
.globl mbox_lock
.p2align 2, 0x0
mbox_lock:
.word 0 // 0x0
.size mbox_lock, 4
.type mboxinuse,@object // @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.xword 0
.size mboxinuse, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym getmbox
.addrsig_sym mbox_lock
| .text
.file "extr_ltpc.c_getmbox.c"
.p2align 4, 0x90 # -- Begin function getmbox
.type getmbox,@function
getmbox: # @getmbox
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq -16(%rbp), %rsi
leaq mbox_lock(%rip), %rdi
callq spin_lock_irqsave@PLT
movl $1, -20(%rbp)
.LBB0_1: # =>This Inner Loop Header: Depth=1
cmpl $16, -20(%rbp)
jge .LBB0_6
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movq mboxinuse(%rip), %rax
movslq -20(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jne .LBB0_4
# %bb.3:
movq mboxinuse(%rip), %rax
movslq -20(%rbp), %rcx
movl $1, (%rax,%rcx,4)
movq -16(%rbp), %rsi
leaq mbox_lock(%rip), %rdi
callq spin_unlock_irqrestore@PLT
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
jmp .LBB0_7
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
jmp .LBB0_5
.LBB0_5: # in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp .LBB0_1
.LBB0_6:
movq -16(%rbp), %rsi
leaq mbox_lock(%rip), %rdi
callq spin_unlock_irqrestore@PLT
movl $0, -4(%rbp)
.LBB0_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size getmbox, .Lfunc_end0-getmbox
.cfi_endproc
# -- End function
.type mbox_lock,@object # @mbox_lock
.bss
.globl mbox_lock
.p2align 2, 0x0
mbox_lock:
.long 0 # 0x0
.size mbox_lock, 4
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym getmbox
.addrsig_sym spin_lock_irqsave
.addrsig_sym spin_unlock_irqrestore
.addrsig_sym mbox_lock
.addrsig_sym mboxinuse
| .text
.file "extr_ltpc.c_getmbox.c"
.p2align 4, 0x90 # -- Begin function getmbox
.type getmbox,@function
getmbox: # @getmbox
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
leaq mbox_lock(%rip), %rdi
callq spin_lock_irqsave@PLT
movl $1, %ebx
movq mboxinuse(%rip), %rax
.p2align 4, 0x90
.LBB0_1: # =>This Inner Loop Header: Depth=1
cmpl $0, (%rax,%rbx,4)
je .LBB0_2
# %bb.3: # in Loop: Header=BB0_1 Depth=1
incq %rbx
cmpq $16, %rbx
jne .LBB0_1
# %bb.4:
xorl %ebx, %ebx
jmp .LBB0_5
.LBB0_2:
movl $1, (%rax,%rbx,4)
.LBB0_5:
leaq mbox_lock(%rip), %rdi
callq spin_unlock_irqrestore@PLT
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size getmbox, .Lfunc_end0-getmbox
.cfi_endproc
# -- End function
.type mbox_lock,@object # @mbox_lock
.bss
.globl mbox_lock
.p2align 2, 0x0
mbox_lock:
.long 0 # 0x0
.size mbox_lock, 4
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym getmbox
.addrsig_sym mbox_lock
| .text
.file "extr_ltpc.c_getmbox.c"
.p2align 4, 0x90 # -- Begin function getmbox
.type getmbox,@function
getmbox: # @getmbox
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
leaq mbox_lock(%rip), %rdi
callq spin_lock_irqsave@PLT
movq mboxinuse(%rip), %rax
cmpl $0, 4(%rax)
je .LBB0_1
# %bb.4:
cmpl $0, 8(%rax)
je .LBB0_5
# %bb.6:
cmpl $0, 12(%rax)
je .LBB0_7
# %bb.8:
cmpl $0, 16(%rax)
je .LBB0_9
# %bb.10:
cmpl $0, 20(%rax)
je .LBB0_11
# %bb.12:
cmpl $0, 24(%rax)
je .LBB0_13
# %bb.14:
cmpl $0, 28(%rax)
je .LBB0_15
# %bb.16:
cmpl $0, 32(%rax)
je .LBB0_17
# %bb.18:
cmpl $0, 36(%rax)
je .LBB0_19
# %bb.20:
cmpl $0, 40(%rax)
je .LBB0_21
# %bb.22:
cmpl $0, 44(%rax)
je .LBB0_23
# %bb.24:
cmpl $0, 48(%rax)
je .LBB0_25
# %bb.26:
cmpl $0, 52(%rax)
je .LBB0_27
# %bb.28:
cmpl $0, 56(%rax)
je .LBB0_29
# %bb.30:
xorl %ebx, %ebx
cmpl $0, 60(%rax)
jne .LBB0_3
# %bb.31:
movl $15, %ebx
jmp .LBB0_2
.LBB0_1:
movl $1, %ebx
jmp .LBB0_2
.LBB0_5:
movl $2, %ebx
jmp .LBB0_2
.LBB0_7:
movl $3, %ebx
jmp .LBB0_2
.LBB0_9:
movl $4, %ebx
jmp .LBB0_2
.LBB0_11:
movl $5, %ebx
jmp .LBB0_2
.LBB0_13:
movl $6, %ebx
jmp .LBB0_2
.LBB0_15:
movl $7, %ebx
jmp .LBB0_2
.LBB0_17:
movl $8, %ebx
jmp .LBB0_2
.LBB0_19:
movl $9, %ebx
jmp .LBB0_2
.LBB0_21:
movl $10, %ebx
jmp .LBB0_2
.LBB0_23:
movl $11, %ebx
jmp .LBB0_2
.LBB0_25:
movl $12, %ebx
jmp .LBB0_2
.LBB0_27:
movl $13, %ebx
jmp .LBB0_2
.LBB0_29:
movl $14, %ebx
.LBB0_2:
movl $1, (%rax,%rbx,4)
.LBB0_3:
leaq mbox_lock(%rip), %rdi
callq spin_unlock_irqrestore@PLT
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size getmbox, .Lfunc_end0-getmbox
.cfi_endproc
# -- End function
.type mbox_lock,@object # @mbox_lock
.bss
.globl mbox_lock
.p2align 2, 0x0
mbox_lock:
.long 0 # 0x0
.size mbox_lock, 4
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym getmbox
.addrsig_sym mbox_lock
| .text
.file "extr_ltpc.c_getmbox.c"
.p2align 4, 0x90 # -- Begin function getmbox
.type getmbox,@function
getmbox: # @getmbox
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
leaq mbox_lock(%rip), %rdi
callq spin_lock_irqsave@PLT
movq mboxinuse(%rip), %rax
cmpl $0, 4(%rax)
je .LBB0_1
# %bb.4:
cmpl $0, 8(%rax)
je .LBB0_5
# %bb.6:
cmpl $0, 12(%rax)
je .LBB0_7
# %bb.8:
cmpl $0, 16(%rax)
je .LBB0_9
# %bb.10:
cmpl $0, 20(%rax)
je .LBB0_11
# %bb.12:
cmpl $0, 24(%rax)
je .LBB0_13
# %bb.14:
cmpl $0, 28(%rax)
je .LBB0_15
# %bb.16:
cmpl $0, 32(%rax)
je .LBB0_17
# %bb.18:
cmpl $0, 36(%rax)
je .LBB0_19
# %bb.20:
cmpl $0, 40(%rax)
je .LBB0_21
# %bb.22:
cmpl $0, 44(%rax)
je .LBB0_23
# %bb.24:
cmpl $0, 48(%rax)
je .LBB0_25
# %bb.26:
cmpl $0, 52(%rax)
je .LBB0_27
# %bb.28:
cmpl $0, 56(%rax)
je .LBB0_29
# %bb.30:
xorl %ebx, %ebx
cmpl $0, 60(%rax)
jne .LBB0_3
# %bb.31:
movl $15, %ebx
jmp .LBB0_2
.LBB0_1:
movl $1, %ebx
jmp .LBB0_2
.LBB0_5:
movl $2, %ebx
jmp .LBB0_2
.LBB0_7:
movl $3, %ebx
jmp .LBB0_2
.LBB0_9:
movl $4, %ebx
jmp .LBB0_2
.LBB0_11:
movl $5, %ebx
jmp .LBB0_2
.LBB0_13:
movl $6, %ebx
jmp .LBB0_2
.LBB0_15:
movl $7, %ebx
jmp .LBB0_2
.LBB0_17:
movl $8, %ebx
jmp .LBB0_2
.LBB0_19:
movl $9, %ebx
jmp .LBB0_2
.LBB0_21:
movl $10, %ebx
jmp .LBB0_2
.LBB0_23:
movl $11, %ebx
jmp .LBB0_2
.LBB0_25:
movl $12, %ebx
jmp .LBB0_2
.LBB0_27:
movl $13, %ebx
jmp .LBB0_2
.LBB0_29:
movl $14, %ebx
.LBB0_2:
movl $1, (%rax,%rbx,4)
.LBB0_3:
leaq mbox_lock(%rip), %rdi
callq spin_unlock_irqrestore@PLT
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size getmbox, .Lfunc_end0-getmbox
.cfi_endproc
# -- End function
.type mbox_lock,@object # @mbox_lock
.bss
.globl mbox_lock
.p2align 2, 0x0
mbox_lock:
.long 0 # 0x0
.size mbox_lock, 4
.type mboxinuse,@object # @mboxinuse
.globl mboxinuse
.p2align 3, 0x0
mboxinuse:
.quad 0
.size mboxinuse, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym getmbox
.addrsig_sym mbox_lock
|
extr_ltpc.c_read_30.c | .text
.file "extr_ltpc.c_read_30.c"
.p2align 2 // -- Begin function read_30
.type read_30,@function
read_30: // @read_30
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, LT_GETFLAGS
ldr w8, [x8, :lo12:LT_GETFLAGS]
add x3, sp, #4
str w8, [sp, #4]
ldr x0, [sp, #8]
mov x1, x3
mov w2, #4 // =0x4
mov w4, wzr
bl do_read
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size read_30, .Lfunc_end0-read_30
.cfi_endproc
// -- End function
.type LT_GETFLAGS,@object // @LT_GETFLAGS
.bss
.globl LT_GETFLAGS
.p2align 2, 0x0
LT_GETFLAGS:
.word 0 // 0x0
.size LT_GETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym read_30
.addrsig_sym do_read
.addrsig_sym LT_GETFLAGS
| .text
.file "extr_ltpc.c_read_30.c"
.p2align 2 // -- Begin function read_30
.type read_30,@function
read_30: // @read_30
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, LT_GETFLAGS
sub x1, x29, #4
sub x3, x29, #4
mov w2, #4 // =0x4
mov w4, wzr
ldr w8, [x8, :lo12:LT_GETFLAGS]
stur w8, [x29, #-4]
bl do_read
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size read_30, .Lfunc_end0-read_30
.cfi_endproc
// -- End function
.type LT_GETFLAGS,@object // @LT_GETFLAGS
.bss
.globl LT_GETFLAGS
.p2align 2, 0x0
LT_GETFLAGS:
.word 0 // 0x0
.size LT_GETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym read_30
| .text
.file "extr_ltpc.c_read_30.c"
.p2align 2 // -- Begin function read_30
.type read_30,@function
read_30: // @read_30
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, LT_GETFLAGS
sub x1, x29, #4
sub x3, x29, #4
mov w2, #4 // =0x4
mov w4, wzr
ldr w8, [x8, :lo12:LT_GETFLAGS]
stur w8, [x29, #-4]
bl do_read
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size read_30, .Lfunc_end0-read_30
.cfi_endproc
// -- End function
.type LT_GETFLAGS,@object // @LT_GETFLAGS
.bss
.globl LT_GETFLAGS
.p2align 2, 0x0
LT_GETFLAGS:
.word 0 // 0x0
.size LT_GETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym read_30
| .text
.file "extr_ltpc.c_read_30.c"
.p2align 2 // -- Begin function read_30
.type read_30,@function
read_30: // @read_30
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, LT_GETFLAGS
sub x1, x29, #4
sub x3, x29, #4
mov w2, #4 // =0x4
mov w4, wzr
ldr w8, [x8, :lo12:LT_GETFLAGS]
stur w8, [x29, #-4]
bl do_read
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size read_30, .Lfunc_end0-read_30
.cfi_endproc
// -- End function
.type LT_GETFLAGS,@object // @LT_GETFLAGS
.bss
.globl LT_GETFLAGS
.p2align 2, 0x0
LT_GETFLAGS:
.word 0 // 0x0
.size LT_GETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym read_30
| .text
.file "extr_ltpc.c_read_30.c"
.p2align 4, 0x90 # -- Begin function read_30
.type read_30,@function
read_30: # @read_30
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl LT_GETFLAGS(%rip), %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rdi
leaq -12(%rbp), %rcx
movl $4, %edx
xorl %r8d, %r8d
movq %rcx, %rsi
callq do_read@PLT
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size read_30, .Lfunc_end0-read_30
.cfi_endproc
# -- End function
.type LT_GETFLAGS,@object # @LT_GETFLAGS
.bss
.globl LT_GETFLAGS
.p2align 2, 0x0
LT_GETFLAGS:
.long 0 # 0x0
.size LT_GETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym read_30
.addrsig_sym do_read
.addrsig_sym LT_GETFLAGS
| .text
.file "extr_ltpc.c_read_30.c"
.p2align 4, 0x90 # -- Begin function read_30
.type read_30,@function
read_30: # @read_30
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
movl LT_GETFLAGS(%rip), %eax
movl %eax, 4(%rsp)
leaq 4(%rsp), %rcx
movq %rcx, %rsi
movl $4, %edx
xorl %r8d, %r8d
callq do_read@PLT
popq %rcx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size read_30, .Lfunc_end0-read_30
.cfi_endproc
# -- End function
.type LT_GETFLAGS,@object # @LT_GETFLAGS
.bss
.globl LT_GETFLAGS
.p2align 2, 0x0
LT_GETFLAGS:
.long 0 # 0x0
.size LT_GETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym read_30
| .text
.file "extr_ltpc.c_read_30.c"
.p2align 4, 0x90 # -- Begin function read_30
.type read_30,@function
read_30: # @read_30
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
movl LT_GETFLAGS(%rip), %eax
movl %eax, 4(%rsp)
leaq 4(%rsp), %rcx
movq %rcx, %rsi
movl $4, %edx
xorl %r8d, %r8d
callq do_read@PLT
popq %rcx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size read_30, .Lfunc_end0-read_30
.cfi_endproc
# -- End function
.type LT_GETFLAGS,@object # @LT_GETFLAGS
.bss
.globl LT_GETFLAGS
.p2align 2, 0x0
LT_GETFLAGS:
.long 0 # 0x0
.size LT_GETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym read_30
| .text
.file "extr_ltpc.c_read_30.c"
.p2align 4, 0x90 # -- Begin function read_30
.type read_30,@function
read_30: # @read_30
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
movl LT_GETFLAGS(%rip), %eax
movl %eax, 4(%rsp)
leaq 4(%rsp), %rcx
movq %rcx, %rsi
movl $4, %edx
xorl %r8d, %r8d
callq do_read@PLT
popq %rcx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size read_30, .Lfunc_end0-read_30
.cfi_endproc
# -- End function
.type LT_GETFLAGS,@object # @LT_GETFLAGS
.bss
.globl LT_GETFLAGS
.p2align 2, 0x0
LT_GETFLAGS:
.long 0 # 0x0
.size LT_GETFLAGS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym read_30
|
extr_ltpc.c_dma_mem_alloc.c | .text
.file "extr_ltpc.c_dma_mem_alloc.c"
.p2align 2 // -- Begin function dma_mem_alloc
.type dma_mem_alloc,@function
dma_mem_alloc: // @dma_mem_alloc
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl get_order
str w0, [sp, #8]
adrp x8, GFP_KERNEL
ldr w0, [x8, :lo12:GFP_KERNEL]
ldr w1, [sp, #8]
bl __get_dma_pages
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size dma_mem_alloc, .Lfunc_end0-dma_mem_alloc
.cfi_endproc
// -- End function
.type GFP_KERNEL,@object // @GFP_KERNEL
.bss
.globl GFP_KERNEL
.p2align 2, 0x0
GFP_KERNEL:
.word 0 // 0x0
.size GFP_KERNEL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym dma_mem_alloc
.addrsig_sym get_order
.addrsig_sym __get_dma_pages
.addrsig_sym GFP_KERNEL
| .text
.file "extr_ltpc.c_dma_mem_alloc.c"
.p2align 2 // -- Begin function dma_mem_alloc
.type dma_mem_alloc,@function
dma_mem_alloc: // @dma_mem_alloc
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl get_order
adrp x8, GFP_KERNEL
mov w1, w0
ldr w0, [x8, :lo12:GFP_KERNEL]
.cfi_def_cfa wsp, 16
ldp x29, x30, [sp], #16 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
b __get_dma_pages
.Lfunc_end0:
.size dma_mem_alloc, .Lfunc_end0-dma_mem_alloc
.cfi_endproc
// -- End function
.type GFP_KERNEL,@object // @GFP_KERNEL
.bss
.globl GFP_KERNEL
.p2align 2, 0x0
GFP_KERNEL:
.word 0 // 0x0
.size GFP_KERNEL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym dma_mem_alloc
| .text
.file "extr_ltpc.c_dma_mem_alloc.c"
.p2align 2 // -- Begin function dma_mem_alloc
.type dma_mem_alloc,@function
dma_mem_alloc: // @dma_mem_alloc
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl get_order
adrp x8, GFP_KERNEL
mov w1, w0
ldr w0, [x8, :lo12:GFP_KERNEL]
.cfi_def_cfa wsp, 16
ldp x29, x30, [sp], #16 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
b __get_dma_pages
.Lfunc_end0:
.size dma_mem_alloc, .Lfunc_end0-dma_mem_alloc
.cfi_endproc
// -- End function
.type GFP_KERNEL,@object // @GFP_KERNEL
.bss
.globl GFP_KERNEL
.p2align 2, 0x0
GFP_KERNEL:
.word 0 // 0x0
.size GFP_KERNEL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym dma_mem_alloc
| .text
.file "extr_ltpc.c_dma_mem_alloc.c"
.p2align 2 // -- Begin function dma_mem_alloc
.type dma_mem_alloc,@function
dma_mem_alloc: // @dma_mem_alloc
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl get_order
adrp x8, GFP_KERNEL
mov w1, w0
ldr w0, [x8, :lo12:GFP_KERNEL]
.cfi_def_cfa wsp, 16
ldp x29, x30, [sp], #16 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
b __get_dma_pages
.Lfunc_end0:
.size dma_mem_alloc, .Lfunc_end0-dma_mem_alloc
.cfi_endproc
// -- End function
.type GFP_KERNEL,@object // @GFP_KERNEL
.bss
.globl GFP_KERNEL
.p2align 2, 0x0
GFP_KERNEL:
.word 0 // 0x0
.size GFP_KERNEL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym dma_mem_alloc
| .text
.file "extr_ltpc.c_dma_mem_alloc.c"
.p2align 4, 0x90 # -- Begin function dma_mem_alloc
.type dma_mem_alloc,@function
dma_mem_alloc: # @dma_mem_alloc
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %edi
callq get_order@PLT
movl %eax, -8(%rbp)
movl GFP_KERNEL(%rip), %edi
movl -8(%rbp), %esi
callq __get_dma_pages@PLT
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size dma_mem_alloc, .Lfunc_end0-dma_mem_alloc
.cfi_endproc
# -- End function
.type GFP_KERNEL,@object # @GFP_KERNEL
.bss
.globl GFP_KERNEL
.p2align 2, 0x0
GFP_KERNEL:
.long 0 # 0x0
.size GFP_KERNEL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym dma_mem_alloc
.addrsig_sym get_order
.addrsig_sym __get_dma_pages
.addrsig_sym GFP_KERNEL
| .text
.file "extr_ltpc.c_dma_mem_alloc.c"
.p2align 4, 0x90 # -- Begin function dma_mem_alloc
.type dma_mem_alloc,@function
dma_mem_alloc: # @dma_mem_alloc
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
callq get_order@PLT
movl GFP_KERNEL(%rip), %edi
movl %eax, %esi
popq %rax
.cfi_def_cfa_offset 8
jmp __get_dma_pages@PLT # TAILCALL
.Lfunc_end0:
.size dma_mem_alloc, .Lfunc_end0-dma_mem_alloc
.cfi_endproc
# -- End function
.type GFP_KERNEL,@object # @GFP_KERNEL
.bss
.globl GFP_KERNEL
.p2align 2, 0x0
GFP_KERNEL:
.long 0 # 0x0
.size GFP_KERNEL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym dma_mem_alloc
| .text
.file "extr_ltpc.c_dma_mem_alloc.c"
.p2align 4, 0x90 # -- Begin function dma_mem_alloc
.type dma_mem_alloc,@function
dma_mem_alloc: # @dma_mem_alloc
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
callq get_order@PLT
movl GFP_KERNEL(%rip), %edi
movl %eax, %esi
popq %rax
.cfi_def_cfa_offset 8
jmp __get_dma_pages@PLT # TAILCALL
.Lfunc_end0:
.size dma_mem_alloc, .Lfunc_end0-dma_mem_alloc
.cfi_endproc
# -- End function
.type GFP_KERNEL,@object # @GFP_KERNEL
.bss
.globl GFP_KERNEL
.p2align 2, 0x0
GFP_KERNEL:
.long 0 # 0x0
.size GFP_KERNEL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym dma_mem_alloc
| .text
.file "extr_ltpc.c_dma_mem_alloc.c"
.p2align 4, 0x90 # -- Begin function dma_mem_alloc
.type dma_mem_alloc,@function
dma_mem_alloc: # @dma_mem_alloc
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
callq get_order@PLT
movl GFP_KERNEL(%rip), %edi
movl %eax, %esi
popq %rax
.cfi_def_cfa_offset 8
jmp __get_dma_pages@PLT # TAILCALL
.Lfunc_end0:
.size dma_mem_alloc, .Lfunc_end0-dma_mem_alloc
.cfi_endproc
# -- End function
.type GFP_KERNEL,@object # @GFP_KERNEL
.bss
.globl GFP_KERNEL
.p2align 2, 0x0
GFP_KERNEL:
.long 0 # 0x0
.size GFP_KERNEL, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym dma_mem_alloc
|
extr_ltpc.c_handlewrite.c | .text
.file "extr_ltpc.c_handlewrite.c"
.p2align 2 // -- Begin function handlewrite
.type handlewrite,@function
handlewrite: // @handlewrite
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr w8, [x8]
stur w8, [x29, #-12]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
str w8, [sp, #16]
bl claim_dma_lock
str x0, [sp, #8]
ldur w0, [x29, #-12]
bl disable_dma
ldur w0, [x29, #-12]
bl clear_dma_ff
ldur w0, [x29, #-12]
adrp x8, DMA_MODE_WRITE
ldr w1, [x8, :lo12:DMA_MODE_WRITE]
bl set_dma_mode
ldur w8, [x29, #-12]
str w8, [sp, #4] // 4-byte Folded Spill
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
ldr w0, [sp, #4] // 4-byte Folded Reload
bl set_dma_addr
ldur w0, [x29, #-12]
mov w1, #800 // =0x320
bl set_dma_count
ldur w0, [x29, #-12]
bl enable_dma
ldr x0, [sp, #8]
bl release_dma_lock
ldr w8, [sp, #16]
add w0, w8, #3
bl inb_p
ldr w8, [sp, #16]
add w0, w8, #2
bl inb_p
ldur x0, [x29, #-8]
mov w1, #251 // =0xfb
bl wait_timeout
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
bl claim_dma_lock
str x0, [sp, #8]
ldur x8, [x29, #-8]
ldr w0, [x8]
bl get_dma_residue
mov w1, w0
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
ldr x0, [sp, #8]
bl release_dma_lock
b .LBB0_2
.LBB0_2:
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlewrite, .Lfunc_end0-handlewrite
.cfi_endproc
// -- End function
.type DMA_MODE_WRITE,@object // @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.word 0 // 0x0
.size DMA_MODE_WRITE, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlewrite, dma res %d\n"
.size .L.str, 38
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlewrite
.addrsig_sym claim_dma_lock
.addrsig_sym disable_dma
.addrsig_sym clear_dma_ff
.addrsig_sym set_dma_mode
.addrsig_sym set_dma_addr
.addrsig_sym virt_to_bus
.addrsig_sym set_dma_count
.addrsig_sym enable_dma
.addrsig_sym release_dma_lock
.addrsig_sym inb_p
.addrsig_sym wait_timeout
.addrsig_sym printk
.addrsig_sym get_dma_residue
.addrsig_sym DMA_MODE_WRITE
.addrsig_sym ltdmabuf
| .text
.file "extr_ltpc.c_handlewrite.c"
.p2align 2 // -- Begin function handlewrite
.type handlewrite,@function
handlewrite: // @handlewrite
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_WRITE
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_WRITE]
bl set_dma_mode
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #800 // =0x320
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #251 // =0xfb
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
bl claim_dma_lock
mov x20, x0
ldr w0, [x19]
bl get_dma_residue
mov w1, w0
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov x0, x20
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b release_dma_lock
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlewrite, .Lfunc_end0-handlewrite
.cfi_endproc
// -- End function
.type DMA_MODE_WRITE,@object // @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.word 0 // 0x0
.size DMA_MODE_WRITE, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlewrite, dma res %d\n"
.size .L.str, 38
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlewrite
| .text
.file "extr_ltpc.c_handlewrite.c"
.p2align 2 // -- Begin function handlewrite
.type handlewrite,@function
handlewrite: // @handlewrite
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_WRITE
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_WRITE]
bl set_dma_mode
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #800 // =0x320
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #251 // =0xfb
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
bl claim_dma_lock
mov x20, x0
ldr w0, [x19]
bl get_dma_residue
mov w1, w0
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov x0, x20
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b release_dma_lock
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlewrite, .Lfunc_end0-handlewrite
.cfi_endproc
// -- End function
.type DMA_MODE_WRITE,@object // @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.word 0 // 0x0
.size DMA_MODE_WRITE, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlewrite, dma res %d\n"
.size .L.str, 38
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlewrite
| .text
.file "extr_ltpc.c_handlewrite.c"
.p2align 2 // -- Begin function handlewrite
.type handlewrite,@function
handlewrite: // @handlewrite
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_WRITE
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_WRITE]
bl set_dma_mode
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #800 // =0x320
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #251 // =0xfb
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
bl claim_dma_lock
mov x20, x0
ldr w0, [x19]
bl get_dma_residue
mov w1, w0
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov x0, x20
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b release_dma_lock
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handlewrite, .Lfunc_end0-handlewrite
.cfi_endproc
// -- End function
.type DMA_MODE_WRITE,@object // @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.word 0 // 0x0
.size DMA_MODE_WRITE, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlewrite, dma res %d\n"
.size .L.str, 38
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlewrite
| .text
.file "extr_ltpc.c_handlewrite.c"
.p2align 4, 0x90 # -- Begin function handlewrite
.type handlewrite,@function
handlewrite: # @handlewrite
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -16(%rbp)
movb $0, %al
callq claim_dma_lock@PLT
movq %rax, -24(%rbp)
movl -12(%rbp), %edi
callq disable_dma@PLT
movl -12(%rbp), %edi
callq clear_dma_ff@PLT
movl -12(%rbp), %edi
movl DMA_MODE_WRITE(%rip), %esi
callq set_dma_mode@PLT
movl -12(%rbp), %eax
movl %eax, -28(%rbp) # 4-byte Spill
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl -28(%rbp), %edi # 4-byte Reload
movl %eax, %esi
callq set_dma_addr@PLT
movl -12(%rbp), %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl -12(%rbp), %edi
callq enable_dma@PLT
movq -24(%rbp), %rdi
callq release_dma_lock@PLT
movl -16(%rbp), %edi
addl $3, %edi
callq inb_p@PLT
movl -16(%rbp), %edi
addl $2, %edi
callq inb_p@PLT
movq -8(%rbp), %rdi
movl $251, %esi
callq wait_timeout@PLT
cmpq $0, %rax
je .LBB0_2
# %bb.1:
movb $0, %al
callq claim_dma_lock@PLT
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movl (%rax), %edi
callq get_dma_residue@PLT
movl %eax, %esi
leaq .L.str(%rip), %rdi
callq printk@PLT
movq -24(%rbp), %rdi
callq release_dma_lock@PLT
.LBB0_2:
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size handlewrite, .Lfunc_end0-handlewrite
.cfi_endproc
# -- End function
.type DMA_MODE_WRITE,@object # @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.long 0 # 0x0
.size DMA_MODE_WRITE, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlewrite, dma res %d\n"
.size .L.str, 38
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlewrite
.addrsig_sym claim_dma_lock
.addrsig_sym disable_dma
.addrsig_sym clear_dma_ff
.addrsig_sym set_dma_mode
.addrsig_sym set_dma_addr
.addrsig_sym virt_to_bus
.addrsig_sym set_dma_count
.addrsig_sym enable_dma
.addrsig_sym release_dma_lock
.addrsig_sym inb_p
.addrsig_sym wait_timeout
.addrsig_sym printk
.addrsig_sym get_dma_residue
.addrsig_sym DMA_MODE_WRITE
.addrsig_sym ltdmabuf
| .text
.file "extr_ltpc.c_handlewrite.c"
.p2align 4, 0x90 # -- Begin function handlewrite
.type handlewrite,@function
handlewrite: # @handlewrite
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_WRITE(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $251, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r14
movl (%rbx), %edi
callq get_dma_residue@PLT
leaq .L.str(%rip), %rdi
movl %eax, %esi
callq printk@PLT
movq %r14, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp release_dma_lock@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handlewrite, .Lfunc_end0-handlewrite
.cfi_endproc
# -- End function
.type DMA_MODE_WRITE,@object # @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.long 0 # 0x0
.size DMA_MODE_WRITE, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlewrite, dma res %d\n"
.size .L.str, 38
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlewrite
| .text
.file "extr_ltpc.c_handlewrite.c"
.p2align 4, 0x90 # -- Begin function handlewrite
.type handlewrite,@function
handlewrite: # @handlewrite
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_WRITE(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $251, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r14
movl (%rbx), %edi
callq get_dma_residue@PLT
leaq .L.str(%rip), %rdi
movl %eax, %esi
callq printk@PLT
movq %r14, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp release_dma_lock@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handlewrite, .Lfunc_end0-handlewrite
.cfi_endproc
# -- End function
.type DMA_MODE_WRITE,@object # @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.long 0 # 0x0
.size DMA_MODE_WRITE, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlewrite, dma res %d\n"
.size .L.str, 38
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlewrite
| .text
.file "extr_ltpc.c_handlewrite.c"
.p2align 4, 0x90 # -- Begin function handlewrite
.type handlewrite,@function
handlewrite: # @handlewrite
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_WRITE(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $251, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r14
movl (%rbx), %edi
callq get_dma_residue@PLT
leaq .L.str(%rip), %rdi
movl %eax, %esi
callq printk@PLT
movq %r14, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp release_dma_lock@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handlewrite, .Lfunc_end0-handlewrite
.cfi_endproc
# -- End function
.type DMA_MODE_WRITE,@object # @DMA_MODE_WRITE
.bss
.globl DMA_MODE_WRITE
.p2align 2, 0x0
DMA_MODE_WRITE:
.long 0 # 0x0
.size DMA_MODE_WRITE, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handlewrite, dma res %d\n"
.size .L.str, 38
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handlewrite
|
extr_bond_sysfs.c_bonding_show_fail_over_mac.c | .text
.file "extr_bond_sysfs.c_bonding_show_fail_over_mac.c"
.p2align 2 // -- Begin function bonding_show_fail_over_mac
.type bonding_show_fail_over_mac,@function
bonding_show_fail_over_mac: // @bonding_show_fail_over_mac
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp]
ldr x0, [sp, #8]
adrp x8, fail_over_mac_tbl
ldr x8, [x8, :lo12:fail_over_mac_tbl]
ldr x9, [sp]
ldr x9, [x9]
ldr x2, [x8, x9, lsl #3]
ldr x8, [sp]
ldr x3, [x8]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_fail_over_mac, .Lfunc_end0-bonding_show_fail_over_mac
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type fail_over_mac_tbl,@object // @fail_over_mac_tbl
.bss
.globl fail_over_mac_tbl
.p2align 3, 0x0
fail_over_mac_tbl:
.xword 0
.size fail_over_mac_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_fail_over_mac
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym fail_over_mac_tbl
| .text
.file "extr_bond_sysfs.c_bonding_show_fail_over_mac.c"
.p2align 2 // -- Begin function bonding_show_fail_over_mac
.type bonding_show_fail_over_mac,@function
bonding_show_fail_over_mac: // @bonding_show_fail_over_mac
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, fail_over_mac_tbl
ldr x3, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x8, [x8, :lo12:fail_over_mac_tbl]
ldr x2, [x8, x3, lsl #3]
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_fail_over_mac, .Lfunc_end0-bonding_show_fail_over_mac
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type fail_over_mac_tbl,@object // @fail_over_mac_tbl
.bss
.globl fail_over_mac_tbl
.p2align 3, 0x0
fail_over_mac_tbl:
.xword 0
.size fail_over_mac_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_fail_over_mac
| .text
.file "extr_bond_sysfs.c_bonding_show_fail_over_mac.c"
.p2align 2 // -- Begin function bonding_show_fail_over_mac
.type bonding_show_fail_over_mac,@function
bonding_show_fail_over_mac: // @bonding_show_fail_over_mac
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, fail_over_mac_tbl
ldr x3, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x8, [x8, :lo12:fail_over_mac_tbl]
ldr x2, [x8, x3, lsl #3]
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_fail_over_mac, .Lfunc_end0-bonding_show_fail_over_mac
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type fail_over_mac_tbl,@object // @fail_over_mac_tbl
.bss
.globl fail_over_mac_tbl
.p2align 3, 0x0
fail_over_mac_tbl:
.xword 0
.size fail_over_mac_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_fail_over_mac
| .text
.file "extr_bond_sysfs.c_bonding_show_fail_over_mac.c"
.p2align 2 // -- Begin function bonding_show_fail_over_mac
.type bonding_show_fail_over_mac,@function
bonding_show_fail_over_mac: // @bonding_show_fail_over_mac
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, fail_over_mac_tbl
ldr x3, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x8, [x8, :lo12:fail_over_mac_tbl]
ldr x2, [x8, x3, lsl #3]
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_fail_over_mac, .Lfunc_end0-bonding_show_fail_over_mac
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type fail_over_mac_tbl,@object // @fail_over_mac_tbl
.bss
.globl fail_over_mac_tbl
.p2align 3, 0x0
fail_over_mac_tbl:
.xword 0
.size fail_over_mac_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_fail_over_mac
| .text
.file "extr_bond_sysfs.c_bonding_show_fail_over_mac.c"
.p2align 4, 0x90 # -- Begin function bonding_show_fail_over_mac
.type bonding_show_fail_over_mac,@function
bonding_show_fail_over_mac: # @bonding_show_fail_over_mac
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -32(%rbp)
movq -24(%rbp), %rdi
movq fail_over_mac_tbl(%rip), %rax
movq -32(%rbp), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rdx
movq -32(%rbp), %rax
movq (%rax), %rcx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_fail_over_mac, .Lfunc_end0-bonding_show_fail_over_mac
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type fail_over_mac_tbl,@object # @fail_over_mac_tbl
.bss
.globl fail_over_mac_tbl
.p2align 3, 0x0
fail_over_mac_tbl:
.quad 0
.size fail_over_mac_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_fail_over_mac
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym fail_over_mac_tbl
| .text
.file "extr_bond_sysfs.c_bonding_show_fail_over_mac.c"
.p2align 4, 0x90 # -- Begin function bonding_show_fail_over_mac
.type bonding_show_fail_over_mac,@function
bonding_show_fail_over_mac: # @bonding_show_fail_over_mac
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq fail_over_mac_tbl(%rip), %rdx
movq (%rax), %rcx
movq (%rdx,%rcx,8), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_fail_over_mac, .Lfunc_end0-bonding_show_fail_over_mac
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type fail_over_mac_tbl,@object # @fail_over_mac_tbl
.bss
.globl fail_over_mac_tbl
.p2align 3, 0x0
fail_over_mac_tbl:
.quad 0
.size fail_over_mac_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_fail_over_mac
| .text
.file "extr_bond_sysfs.c_bonding_show_fail_over_mac.c"
.p2align 4, 0x90 # -- Begin function bonding_show_fail_over_mac
.type bonding_show_fail_over_mac,@function
bonding_show_fail_over_mac: # @bonding_show_fail_over_mac
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq fail_over_mac_tbl(%rip), %rdx
movq (%rax), %rcx
movq (%rdx,%rcx,8), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_fail_over_mac, .Lfunc_end0-bonding_show_fail_over_mac
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type fail_over_mac_tbl,@object # @fail_over_mac_tbl
.bss
.globl fail_over_mac_tbl
.p2align 3, 0x0
fail_over_mac_tbl:
.quad 0
.size fail_over_mac_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_fail_over_mac
| .text
.file "extr_bond_sysfs.c_bonding_show_fail_over_mac.c"
.p2align 4, 0x90 # -- Begin function bonding_show_fail_over_mac
.type bonding_show_fail_over_mac,@function
bonding_show_fail_over_mac: # @bonding_show_fail_over_mac
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq fail_over_mac_tbl(%rip), %rdx
movq (%rax), %rcx
movq (%rdx,%rcx,8), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_fail_over_mac, .Lfunc_end0-bonding_show_fail_over_mac
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type fail_over_mac_tbl,@object # @fail_over_mac_tbl
.bss
.globl fail_over_mac_tbl
.p2align 3, 0x0
fail_over_mac_tbl:
.quad 0
.size fail_over_mac_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_fail_over_mac
|
extr_bond_alb.c_bond_alb_init_slave.c | .text
.file "extr_bond_alb.c_bond_alb_init_slave.c"
.globl bond_alb_init_slave // -- Begin function bond_alb_init_slave
.p2align 2
.type bond_alb_init_slave,@function
bond_alb_init_slave: // @bond_alb_init_slave
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
ldr x0, [sp, #8]
ldr x8, [sp, #8]
ldr w1, [x8]
bl alb_set_slave_mac_addr
str w0, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr w8, [sp, #4]
stur w8, [x29, #-4]
b .LBB0_7
.LBB0_2:
ldr x8, [sp, #16]
add x0, x8, #24
bl read_lock
ldr x0, [sp, #16]
ldr x1, [sp, #8]
bl alb_handle_addr_collision_on_attach
str w0, [sp, #4]
ldr x8, [sp, #16]
add x0, x8, #24
bl read_unlock
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
ldr w8, [sp, #4]
stur w8, [x29, #-4]
b .LBB0_7
.LBB0_4:
ldr x0, [sp, #8]
bl tlb_init_slave
adrp x8, BOND_TLB_REBALANCE_TICKS
ldr w8, [x8, :lo12:BOND_TLB_REBALANCE_TICKS]
ldr x9, [sp, #16]
str w8, [x9, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
ldr x9, [sp, #16]
mov w8, #1 // =0x1
str w8, [x9]
b .LBB0_6
.LBB0_6:
stur wzr, [x29, #-4]
b .LBB0_7
.LBB0_7:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_alb_init_slave, .Lfunc_end0-bond_alb_init_slave
.cfi_endproc
// -- End function
.type BOND_TLB_REBALANCE_TICKS,@object // @BOND_TLB_REBALANCE_TICKS
.bss
.globl BOND_TLB_REBALANCE_TICKS
.p2align 2, 0x0
BOND_TLB_REBALANCE_TICKS:
.word 0 // 0x0
.size BOND_TLB_REBALANCE_TICKS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_set_slave_mac_addr
.addrsig_sym read_lock
.addrsig_sym alb_handle_addr_collision_on_attach
.addrsig_sym read_unlock
.addrsig_sym tlb_init_slave
.addrsig_sym BOND_TLB_REBALANCE_TICKS
| .text
.file "extr_bond_alb.c_bond_alb_init_slave.c"
.globl bond_alb_init_slave // -- Begin function bond_alb_init_slave
.p2align 2
.type bond_alb_init_slave,@function
bond_alb_init_slave: // @bond_alb_init_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x20, x1
mov x19, x0
ldr w1, [x1]
mov x0, x20
bl alb_set_slave_mac_addr
mov w21, w0
cbnz w0, .LBB0_5
// %bb.1:
add x22, x19, #24
mov x0, x22
bl read_lock
mov x0, x19
mov x1, x20
bl alb_handle_addr_collision_on_attach
mov w21, w0
mov x0, x22
bl read_unlock
cbnz w21, .LBB0_5
// %bb.2:
mov x0, x20
bl tlb_init_slave
adrp x8, BOND_TLB_REBALANCE_TICKS
ldr x9, [x19, #8]
ldr w8, [x8, :lo12:BOND_TLB_REBALANCE_TICKS]
str w8, [x19, #16]
cbz x9, .LBB0_4
// %bb.3:
mov w8, #1 // =0x1
mov w21, wzr
str w8, [x19]
b .LBB0_5
.LBB0_4:
mov w21, wzr
.LBB0_5:
mov w0, w21
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_alb_init_slave, .Lfunc_end0-bond_alb_init_slave
.cfi_endproc
// -- End function
.type BOND_TLB_REBALANCE_TICKS,@object // @BOND_TLB_REBALANCE_TICKS
.bss
.globl BOND_TLB_REBALANCE_TICKS
.p2align 2, 0x0
BOND_TLB_REBALANCE_TICKS:
.word 0 // 0x0
.size BOND_TLB_REBALANCE_TICKS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_alb.c_bond_alb_init_slave.c"
.globl bond_alb_init_slave // -- Begin function bond_alb_init_slave
.p2align 2
.type bond_alb_init_slave,@function
bond_alb_init_slave: // @bond_alb_init_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x20, x1
mov x19, x0
ldr w1, [x1]
mov x0, x20
bl alb_set_slave_mac_addr
mov w21, w0
cbnz w0, .LBB0_5
// %bb.1:
add x22, x19, #24
mov x0, x22
bl read_lock
mov x0, x19
mov x1, x20
bl alb_handle_addr_collision_on_attach
mov w21, w0
mov x0, x22
bl read_unlock
cbnz w21, .LBB0_5
// %bb.2:
mov x0, x20
bl tlb_init_slave
adrp x8, BOND_TLB_REBALANCE_TICKS
ldr x9, [x19, #8]
ldr w8, [x8, :lo12:BOND_TLB_REBALANCE_TICKS]
str w8, [x19, #16]
cbz x9, .LBB0_4
// %bb.3:
mov w8, #1 // =0x1
mov w21, wzr
str w8, [x19]
b .LBB0_5
.LBB0_4:
mov w21, wzr
.LBB0_5:
mov w0, w21
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_alb_init_slave, .Lfunc_end0-bond_alb_init_slave
.cfi_endproc
// -- End function
.type BOND_TLB_REBALANCE_TICKS,@object // @BOND_TLB_REBALANCE_TICKS
.bss
.globl BOND_TLB_REBALANCE_TICKS
.p2align 2, 0x0
BOND_TLB_REBALANCE_TICKS:
.word 0 // 0x0
.size BOND_TLB_REBALANCE_TICKS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_alb.c_bond_alb_init_slave.c"
.globl bond_alb_init_slave // -- Begin function bond_alb_init_slave
.p2align 2
.type bond_alb_init_slave,@function
bond_alb_init_slave: // @bond_alb_init_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
mov x20, x1
mov x19, x0
ldr w1, [x1]
mov x0, x20
bl alb_set_slave_mac_addr
mov w21, w0
cbz w0, .LBB0_2
.LBB0_1:
mov w0, w21
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
.cfi_remember_state
add x22, x19, #24
mov x0, x22
bl read_lock
mov x0, x19
mov x1, x20
bl alb_handle_addr_collision_on_attach
mov w21, w0
mov x0, x22
bl read_unlock
cbnz w21, .LBB0_1
// %bb.3:
mov x0, x20
bl tlb_init_slave
adrp x8, BOND_TLB_REBALANCE_TICKS
ldr x9, [x19, #8]
ldr w8, [x8, :lo12:BOND_TLB_REBALANCE_TICKS]
str w8, [x19, #16]
cbz x9, .LBB0_5
// %bb.4:
mov w8, #1 // =0x1
mov w21, wzr
str w8, [x19]
mov w0, w21
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
mov w21, wzr
mov w0, w21
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_alb_init_slave, .Lfunc_end0-bond_alb_init_slave
.cfi_endproc
// -- End function
.type BOND_TLB_REBALANCE_TICKS,@object // @BOND_TLB_REBALANCE_TICKS
.bss
.globl BOND_TLB_REBALANCE_TICKS
.p2align 2, 0x0
BOND_TLB_REBALANCE_TICKS:
.word 0 // 0x0
.size BOND_TLB_REBALANCE_TICKS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_alb.c_bond_alb_init_slave.c"
.globl bond_alb_init_slave # -- Begin function bond_alb_init_slave
.p2align 4, 0x90
.type bond_alb_init_slave,@function
bond_alb_init_slave: # @bond_alb_init_slave
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -24(%rbp), %rdi
movq -24(%rbp), %rax
movl (%rax), %esi
callq alb_set_slave_mac_addr@PLT
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
je .LBB0_2
# %bb.1:
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
jmp .LBB0_7
.LBB0_2:
movq -16(%rbp), %rdi
addq $24, %rdi
callq read_lock@PLT
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq alb_handle_addr_collision_on_attach@PLT
movl %eax, -28(%rbp)
movq -16(%rbp), %rdi
addq $24, %rdi
callq read_unlock@PLT
cmpl $0, -28(%rbp)
je .LBB0_4
# %bb.3:
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
jmp .LBB0_7
.LBB0_4:
movq -24(%rbp), %rdi
callq tlb_init_slave@PLT
movl BOND_TLB_REBALANCE_TICKS(%rip), %ecx
movq -16(%rbp), %rax
movl %ecx, 16(%rax)
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je .LBB0_6
# %bb.5:
movq -16(%rbp), %rax
movl $1, (%rax)
.LBB0_6:
movl $0, -4(%rbp)
.LBB0_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_alb_init_slave, .Lfunc_end0-bond_alb_init_slave
.cfi_endproc
# -- End function
.type BOND_TLB_REBALANCE_TICKS,@object # @BOND_TLB_REBALANCE_TICKS
.bss
.globl BOND_TLB_REBALANCE_TICKS
.p2align 2, 0x0
BOND_TLB_REBALANCE_TICKS:
.long 0 # 0x0
.size BOND_TLB_REBALANCE_TICKS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_set_slave_mac_addr
.addrsig_sym read_lock
.addrsig_sym alb_handle_addr_collision_on_attach
.addrsig_sym read_unlock
.addrsig_sym tlb_init_slave
.addrsig_sym BOND_TLB_REBALANCE_TICKS
| .text
.file "extr_bond_alb.c_bond_alb_init_slave.c"
.globl bond_alb_init_slave # -- Begin function bond_alb_init_slave
.p2align 4, 0x90
.type bond_alb_init_slave,@function
bond_alb_init_slave: # @bond_alb_init_slave
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %esi
movq %r14, %rdi
callq alb_set_slave_mac_addr@PLT
movl %eax, %ebp
testl %eax, %eax
jne .LBB0_4
# %bb.1:
leaq 24(%rbx), %r15
movq %r15, %rdi
callq read_lock@PLT
movq %rbx, %rdi
movq %r14, %rsi
callq alb_handle_addr_collision_on_attach@PLT
movl %eax, %ebp
movq %r15, %rdi
callq read_unlock@PLT
testl %ebp, %ebp
jne .LBB0_4
# %bb.2:
movq %r14, %rdi
callq tlb_init_slave@PLT
movl BOND_TLB_REBALANCE_TICKS(%rip), %eax
movl %eax, 16(%rbx)
xorl %ebp, %ebp
cmpq $0, 8(%rbx)
je .LBB0_4
# %bb.3:
movl $1, (%rbx)
.LBB0_4:
movl %ebp, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_alb_init_slave, .Lfunc_end0-bond_alb_init_slave
.cfi_endproc
# -- End function
.type BOND_TLB_REBALANCE_TICKS,@object # @BOND_TLB_REBALANCE_TICKS
.bss
.globl BOND_TLB_REBALANCE_TICKS
.p2align 2, 0x0
BOND_TLB_REBALANCE_TICKS:
.long 0 # 0x0
.size BOND_TLB_REBALANCE_TICKS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_alb.c_bond_alb_init_slave.c"
.globl bond_alb_init_slave # -- Begin function bond_alb_init_slave
.p2align 4, 0x90
.type bond_alb_init_slave,@function
bond_alb_init_slave: # @bond_alb_init_slave
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %esi
movq %r14, %rdi
callq alb_set_slave_mac_addr@PLT
movl %eax, %ebp
testl %eax, %eax
jne .LBB0_4
# %bb.1:
leaq 24(%rbx), %r15
movq %r15, %rdi
callq read_lock@PLT
movq %rbx, %rdi
movq %r14, %rsi
callq alb_handle_addr_collision_on_attach@PLT
movl %eax, %ebp
movq %r15, %rdi
callq read_unlock@PLT
testl %ebp, %ebp
jne .LBB0_4
# %bb.2:
movq %r14, %rdi
callq tlb_init_slave@PLT
movl BOND_TLB_REBALANCE_TICKS(%rip), %eax
movl %eax, 16(%rbx)
xorl %ebp, %ebp
cmpq $0, 8(%rbx)
je .LBB0_4
# %bb.3:
movl $1, (%rbx)
.LBB0_4:
movl %ebp, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_alb_init_slave, .Lfunc_end0-bond_alb_init_slave
.cfi_endproc
# -- End function
.type BOND_TLB_REBALANCE_TICKS,@object # @BOND_TLB_REBALANCE_TICKS
.bss
.globl BOND_TLB_REBALANCE_TICKS
.p2align 2, 0x0
BOND_TLB_REBALANCE_TICKS:
.long 0 # 0x0
.size BOND_TLB_REBALANCE_TICKS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_alb.c_bond_alb_init_slave.c"
.globl bond_alb_init_slave # -- Begin function bond_alb_init_slave
.p2align 4, 0x90
.type bond_alb_init_slave,@function
bond_alb_init_slave: # @bond_alb_init_slave
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %esi
movq %r14, %rdi
callq alb_set_slave_mac_addr@PLT
movl %eax, %ebp
testl %eax, %eax
jne .LBB0_4
# %bb.1:
leaq 24(%rbx), %r15
movq %r15, %rdi
callq read_lock@PLT
movq %rbx, %rdi
movq %r14, %rsi
callq alb_handle_addr_collision_on_attach@PLT
movl %eax, %ebp
movq %r15, %rdi
callq read_unlock@PLT
testl %ebp, %ebp
jne .LBB0_4
# %bb.2:
movq %r14, %rdi
callq tlb_init_slave@PLT
movl BOND_TLB_REBALANCE_TICKS(%rip), %eax
movl %eax, 16(%rbx)
xorl %ebp, %ebp
cmpq $0, 8(%rbx)
je .LBB0_4
# %bb.3:
movl $1, (%rbx)
.LBB0_4:
movl %ebp, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_alb_init_slave, .Lfunc_end0-bond_alb_init_slave
.cfi_endproc
# -- End function
.type BOND_TLB_REBALANCE_TICKS,@object # @BOND_TLB_REBALANCE_TICKS
.bss
.globl BOND_TLB_REBALANCE_TICKS
.p2align 2, 0x0
BOND_TLB_REBALANCE_TICKS:
.long 0 # 0x0
.size BOND_TLB_REBALANCE_TICKS, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_ltpc.c_handleread.c | .text
.file "extr_ltpc.c_handleread.c"
.p2align 2 // -- Begin function handleread
.type handleread,@function
handleread: // @handleread
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr w8, [x8]
stur w8, [x29, #-12]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
str w8, [sp, #16]
bl claim_dma_lock
str x0, [sp, #8]
ldur w0, [x29, #-12]
bl disable_dma
ldur w0, [x29, #-12]
bl clear_dma_ff
ldur w0, [x29, #-12]
adrp x8, DMA_MODE_READ
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
ldur w8, [x29, #-12]
str w8, [sp, #4] // 4-byte Folded Spill
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
ldr w0, [sp, #4] // 4-byte Folded Reload
bl set_dma_addr
ldur w0, [x29, #-12]
mov w1, #800 // =0x320
bl set_dma_count
ldur w0, [x29, #-12]
bl enable_dma
ldr x0, [sp, #8]
bl release_dma_lock
ldr w8, [sp, #16]
add w0, w8, #3
bl inb_p
ldr w8, [sp, #16]
add w0, w8, #2
bl inb_p
ldur x0, [x29, #-8]
mov w1, #251 // =0xfb
bl wait_timeout
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
b .LBB0_2
.LBB0_2:
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handleread, .Lfunc_end0-handleread
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handleread\n"
.size .L.str, 25
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handleread
.addrsig_sym claim_dma_lock
.addrsig_sym disable_dma
.addrsig_sym clear_dma_ff
.addrsig_sym set_dma_mode
.addrsig_sym set_dma_addr
.addrsig_sym virt_to_bus
.addrsig_sym set_dma_count
.addrsig_sym enable_dma
.addrsig_sym release_dma_lock
.addrsig_sym inb_p
.addrsig_sym wait_timeout
.addrsig_sym printk
.addrsig_sym DMA_MODE_READ
.addrsig_sym ltdmabuf
| .text
.file "extr_ltpc.c_handleread.c"
.p2align 2 // -- Begin function handleread
.type handleread,@function
handleread: // @handleread
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_READ
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #800 // =0x320
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #251 // =0xfb
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handleread, .Lfunc_end0-handleread
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handleread\n"
.size .L.str, 25
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handleread
| .text
.file "extr_ltpc.c_handleread.c"
.p2align 2 // -- Begin function handleread
.type handleread,@function
handleread: // @handleread
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_READ
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #800 // =0x320
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #251 // =0xfb
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handleread, .Lfunc_end0-handleread
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handleread\n"
.size .L.str, 25
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handleread
| .text
.file "extr_ltpc.c_handleread.c"
.p2align 2 // -- Begin function handleread
.type handleread,@function
handleread: // @handleread
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldp w20, w22, [x0]
mov x19, x0
bl claim_dma_lock
mov x21, x0
mov w0, w20
bl disable_dma
mov w0, w20
bl clear_dma_ff
adrp x8, DMA_MODE_READ
mov w0, w20
ldr w1, [x8, :lo12:DMA_MODE_READ]
bl set_dma_mode
adrp x8, ltdmabuf
ldr w0, [x8, :lo12:ltdmabuf]
bl virt_to_bus
mov w1, w0
mov w0, w20
bl set_dma_addr
mov w0, w20
mov w1, #800 // =0x320
bl set_dma_count
mov w0, w20
bl enable_dma
mov x0, x21
bl release_dma_lock
add w0, w22, #3
bl inb_p
add w0, w22, #2
bl inb_p
mov x0, x19
mov w1, #251 // =0xfb
bl wait_timeout
cbz x0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b printk
.LBB0_2:
.cfi_restore_state
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size handleread, .Lfunc_end0-handleread
.cfi_endproc
// -- End function
.type DMA_MODE_READ,@object // @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.word 0 // 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object // @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.word 0 // 0x0
.size ltdmabuf, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handleread\n"
.size .L.str, 25
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handleread
| .text
.file "extr_ltpc.c_handleread.c"
.p2align 4, 0x90 # -- Begin function handleread
.type handleread,@function
handleread: # @handleread
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -16(%rbp)
movb $0, %al
callq claim_dma_lock@PLT
movq %rax, -24(%rbp)
movl -12(%rbp), %edi
callq disable_dma@PLT
movl -12(%rbp), %edi
callq clear_dma_ff@PLT
movl -12(%rbp), %edi
movl DMA_MODE_READ(%rip), %esi
callq set_dma_mode@PLT
movl -12(%rbp), %eax
movl %eax, -28(%rbp) # 4-byte Spill
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl -28(%rbp), %edi # 4-byte Reload
movl %eax, %esi
callq set_dma_addr@PLT
movl -12(%rbp), %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl -12(%rbp), %edi
callq enable_dma@PLT
movq -24(%rbp), %rdi
callq release_dma_lock@PLT
movl -16(%rbp), %edi
addl $3, %edi
callq inb_p@PLT
movl -16(%rbp), %edi
addl $2, %edi
callq inb_p@PLT
movq -8(%rbp), %rdi
movl $251, %esi
callq wait_timeout@PLT
cmpq $0, %rax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq printk@PLT
.LBB0_2:
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size handleread, .Lfunc_end0-handleread
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handleread\n"
.size .L.str, 25
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handleread
.addrsig_sym claim_dma_lock
.addrsig_sym disable_dma
.addrsig_sym clear_dma_ff
.addrsig_sym set_dma_mode
.addrsig_sym set_dma_addr
.addrsig_sym virt_to_bus
.addrsig_sym set_dma_count
.addrsig_sym enable_dma
.addrsig_sym release_dma_lock
.addrsig_sym inb_p
.addrsig_sym wait_timeout
.addrsig_sym printk
.addrsig_sym DMA_MODE_READ
.addrsig_sym ltdmabuf
| .text
.file "extr_ltpc.c_handleread.c"
.p2align 4, 0x90 # -- Begin function handleread
.type handleread,@function
handleread: # @handleread
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_READ(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $251, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handleread, .Lfunc_end0-handleread
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handleread\n"
.size .L.str, 25
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handleread
| .text
.file "extr_ltpc.c_handleread.c"
.p2align 4, 0x90 # -- Begin function handleread
.type handleread,@function
handleread: # @handleread
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_READ(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $251, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handleread, .Lfunc_end0-handleread
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handleread\n"
.size .L.str, 25
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handleread
| .text
.file "extr_ltpc.c_handleread.c"
.p2align 4, 0x90 # -- Begin function handleread
.type handleread,@function
handleread: # @handleread
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movl (%rdi), %ebp
movl 4(%rdi), %r14d
xorl %eax, %eax
callq claim_dma_lock@PLT
movq %rax, %r15
movl %ebp, %edi
callq disable_dma@PLT
movl %ebp, %edi
callq clear_dma_ff@PLT
movl DMA_MODE_READ(%rip), %esi
movl %ebp, %edi
callq set_dma_mode@PLT
movl ltdmabuf(%rip), %edi
callq virt_to_bus@PLT
movl %ebp, %edi
movl %eax, %esi
callq set_dma_addr@PLT
movl %ebp, %edi
movl $800, %esi # imm = 0x320
callq set_dma_count@PLT
movl %ebp, %edi
callq enable_dma@PLT
movq %r15, %rdi
callq release_dma_lock@PLT
leal 3(%r14), %edi
callq inb_p@PLT
addl $2, %r14d
movl %r14d, %edi
callq inb_p@PLT
movq %rbx, %rdi
movl $251, %esi
callq wait_timeout@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
leaq .L.str(%rip), %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp printk@PLT # TAILCALL
.LBB0_1:
.cfi_def_cfa_offset 48
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size handleread, .Lfunc_end0-handleread
.cfi_endproc
# -- End function
.type DMA_MODE_READ,@object # @DMA_MODE_READ
.bss
.globl DMA_MODE_READ
.p2align 2, 0x0
DMA_MODE_READ:
.long 0 # 0x0
.size DMA_MODE_READ, 4
.type ltdmabuf,@object # @ltdmabuf
.globl ltdmabuf
.p2align 2, 0x0
ltdmabuf:
.long 0 # 0x0
.size ltdmabuf, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "timed out in handleread\n"
.size .L.str, 25
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym handleread
|
extr_bond_3ad.c_ad_marker_send.c | .text
.file "extr_bond_3ad.c_ad_marker_send.c"
.p2align 2 // -- Begin function ad_marker_send
.type ad_marker_send,@function
ad_marker_send: // @ad_marker_send
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] // 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x8, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-32]
mov w8, #24 // =0x18
str w8, [sp, #28]
ldr w8, [sp, #28]
add w0, w8, #16
bl dev_alloc_skb
str x0, [sp, #40]
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x8, ENOMEM
ldr w9, [x8, :lo12:ENOMEM]
mov w8, wzr
subs w8, w8, w9
stur w8, [x29, #-4]
b .LBB0_3
.LBB0_2:
ldr x0, [sp, #40]
mov w1, #16 // =0x10
bl skb_reserve
ldur x8, [x29, #-32]
ldr w8, [x8, #4]
ldr x9, [sp, #40]
str w8, [x9, #24]
ldr x0, [sp, #40]
bl skb_reset_mac_header
ldr x8, [sp, #40]
ldr x8, [x8, #8]
adrp x9, ETH_HLEN
ldr x9, [x9, :lo12:ETH_HLEN]
add x8, x8, x9
ldr x9, [sp, #40]
str x8, [x9, #16]
adrp x8, PKT_TYPE_LACPDU
str x8, [sp, #16] // 8-byte Folded Spill
ldr x8, [x8, :lo12:PKT_TYPE_LACPDU]
ldr x9, [sp, #40]
str x8, [x9]
ldr x0, [sp, #40]
ldr w1, [sp, #28]
bl skb_put
str x0, [sp, #32]
ldr x8, [sp, #32]
ldr w0, [x8, #20]
adrp x8, lacpdu_mcast_addr
ldr w1, [x8, :lo12:lacpdu_mcast_addr]
adrp x8, ETH_ALEN
str x8, [sp, #8] // 8-byte Folded Spill
ldr w2, [x8, :lo12:ETH_ALEN]
bl memcpy
ldr x8, [sp, #8] // 8-byte Folded Reload
ldr x9, [sp, #32]
ldr w0, [x9, #16]
ldur x9, [x29, #-32]
ldr w1, [x9]
ldr w2, [x8, :lo12:ETH_ALEN]
bl memcpy
ldr x8, [sp, #16] // 8-byte Folded Reload
ldr x8, [x8, :lo12:PKT_TYPE_LACPDU]
ldr x9, [sp, #32]
str x8, [x9, #8]
ldr x9, [sp, #32]
ldur x8, [x29, #-24]
ldr w8, [x8]
str w8, [x9]
ldr x0, [sp, #40]
bl dev_queue_xmit
stur wzr, [x29, #-4]
b .LBB0_3
.LBB0_3:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 96
ldp x29, x30, [sp, #80] // 16-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_marker_send, .Lfunc_end0-ad_marker_send
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object // @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.xword 0 // 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object // @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.xword 0
.size PKT_TYPE_LACPDU, 8
.type lacpdu_mcast_addr,@object // @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.word 0 // 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object // @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_send
.addrsig_sym dev_alloc_skb
.addrsig_sym skb_reserve
.addrsig_sym skb_reset_mac_header
.addrsig_sym skb_put
.addrsig_sym memcpy
.addrsig_sym dev_queue_xmit
.addrsig_sym ENOMEM
.addrsig_sym ETH_HLEN
.addrsig_sym PKT_TYPE_LACPDU
.addrsig_sym lacpdu_mcast_addr
.addrsig_sym ETH_ALEN
| .text
.file "extr_bond_3ad.c_ad_marker_send.c"
.p2align 2 // -- Begin function ad_marker_send
.type ad_marker_send,@function
ad_marker_send: // @ad_marker_send
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x24, x23, [sp, #16] // 16-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
ldr x22, [x0]
mov w0, #40 // =0x28
mov x19, x1
bl dev_alloc_skb
cbz x0, .LBB0_2
// %bb.1:
mov w1, #16 // =0x10
mov x20, x0
bl skb_reserve
ldr w8, [x22, #4]
mov x0, x20
str w8, [x20, #24]
bl skb_reset_mac_header
adrp x8, ETH_HLEN
ldr x9, [x20, #8]
adrp x23, PKT_TYPE_LACPDU
mov x0, x20
mov w1, #24 // =0x18
ldr x8, [x8, :lo12:ETH_HLEN]
add x8, x8, x9
ldr x9, [x23, :lo12:PKT_TYPE_LACPDU]
str x8, [x20, #16]
str x9, [x20]
bl skb_put
adrp x8, lacpdu_mcast_addr
adrp x24, ETH_ALEN
mov x21, x0
ldr w0, [x0, #20]
ldr w1, [x8, :lo12:lacpdu_mcast_addr]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr w0, [x21, #16]
ldr w1, [x22]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr x8, [x23, :lo12:PKT_TYPE_LACPDU]
mov x0, x20
ldr w9, [x19]
str x8, [x21, #8]
str w9, [x21]
bl dev_queue_xmit
mov w0, wzr
b .LBB0_3
.LBB0_2:
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
neg w0, w8
.LBB0_3:
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x24, x23, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_marker_send, .Lfunc_end0-ad_marker_send
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object // @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.xword 0 // 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object // @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.xword 0
.size PKT_TYPE_LACPDU, 8
.type lacpdu_mcast_addr,@object // @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.word 0 // 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object // @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_send
| .text
.file "extr_bond_3ad.c_ad_marker_send.c"
.p2align 2 // -- Begin function ad_marker_send
.type ad_marker_send,@function
ad_marker_send: // @ad_marker_send
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x24, x23, [sp, #16] // 16-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
ldr x22, [x0]
mov w0, #40 // =0x28
mov x19, x1
bl dev_alloc_skb
cbz x0, .LBB0_2
// %bb.1:
mov w1, #16 // =0x10
mov x20, x0
bl skb_reserve
ldr w8, [x22, #4]
mov x0, x20
str w8, [x20, #24]
bl skb_reset_mac_header
adrp x8, ETH_HLEN
ldr x9, [x20, #8]
adrp x23, PKT_TYPE_LACPDU
mov x0, x20
mov w1, #24 // =0x18
ldr x8, [x8, :lo12:ETH_HLEN]
add x8, x8, x9
ldr x9, [x23, :lo12:PKT_TYPE_LACPDU]
str x8, [x20, #16]
str x9, [x20]
bl skb_put
adrp x8, lacpdu_mcast_addr
adrp x24, ETH_ALEN
mov x21, x0
ldr w0, [x0, #20]
ldr w1, [x8, :lo12:lacpdu_mcast_addr]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr w0, [x21, #16]
ldr w1, [x22]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr x8, [x23, :lo12:PKT_TYPE_LACPDU]
mov x0, x20
ldr w9, [x19]
str x8, [x21, #8]
str w9, [x21]
bl dev_queue_xmit
mov w0, wzr
b .LBB0_3
.LBB0_2:
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
neg w0, w8
.LBB0_3:
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x24, x23, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_marker_send, .Lfunc_end0-ad_marker_send
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object // @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.xword 0 // 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object // @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.xword 0
.size PKT_TYPE_LACPDU, 8
.type lacpdu_mcast_addr,@object // @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.word 0 // 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object // @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_send
| .text
.file "extr_bond_3ad.c_ad_marker_send.c"
.p2align 2 // -- Begin function ad_marker_send
.type ad_marker_send,@function
ad_marker_send: // @ad_marker_send
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x24, x23, [sp, #16] // 16-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
.cfi_remember_state
ldr x22, [x0]
mov w0, #40 // =0x28
mov x19, x1
bl dev_alloc_skb
cbz x0, .LBB0_2
// %bb.1:
mov w1, #16 // =0x10
mov x20, x0
bl skb_reserve
ldr w8, [x22, #4]
mov x0, x20
str w8, [x20, #24]
bl skb_reset_mac_header
adrp x8, ETH_HLEN
ldr x9, [x20, #8]
adrp x23, PKT_TYPE_LACPDU
mov x0, x20
mov w1, #24 // =0x18
ldr x8, [x8, :lo12:ETH_HLEN]
add x8, x8, x9
ldr x9, [x23, :lo12:PKT_TYPE_LACPDU]
str x8, [x20, #16]
str x9, [x20]
bl skb_put
adrp x8, lacpdu_mcast_addr
adrp x24, ETH_ALEN
mov x21, x0
ldr w0, [x0, #20]
ldr w1, [x8, :lo12:lacpdu_mcast_addr]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr w0, [x21, #16]
ldr w1, [x22]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr x8, [x23, :lo12:PKT_TYPE_LACPDU]
mov x0, x20
ldr w9, [x19]
str x8, [x21, #8]
str w9, [x21]
bl dev_queue_xmit
mov w0, wzr
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x24, x23, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
neg w0, w8
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x24, x23, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_marker_send, .Lfunc_end0-ad_marker_send
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object // @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.xword 0 // 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object // @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.xword 0
.size PKT_TYPE_LACPDU, 8
.type lacpdu_mcast_addr,@object // @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.word 0 // 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object // @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_send
| .text
.file "extr_bond_3ad.c_ad_marker_send.c"
.p2align 4, 0x90 # -- Begin function ad_marker_send
.type ad_marker_send,@function
ad_marker_send: # @ad_marker_send
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movl $24, -52(%rbp)
movl -52(%rbp), %edi
addl $16, %edi
callq dev_alloc_skb@PLT
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne .LBB0_2
# %bb.1:
xorl %eax, %eax
subl ENOMEM(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_3
.LBB0_2:
movq -40(%rbp), %rdi
movl $16, %esi
callq skb_reserve@PLT
movq -32(%rbp), %rax
movl 4(%rax), %ecx
movq -40(%rbp), %rax
movl %ecx, 24(%rax)
movq -40(%rbp), %rdi
callq skb_reset_mac_header@PLT
movq -40(%rbp), %rax
movq 8(%rax), %rcx
addq ETH_HLEN(%rip), %rcx
movq -40(%rbp), %rax
movq %rcx, 16(%rax)
movq PKT_TYPE_LACPDU(%rip), %rcx
movq -40(%rbp), %rax
movq %rcx, (%rax)
movq -40(%rbp), %rdi
movl -52(%rbp), %esi
callq skb_put@PLT
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movl 20(%rax), %edi
movl lacpdu_mcast_addr(%rip), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movq -48(%rbp), %rax
movl 16(%rax), %edi
movq -32(%rbp), %rax
movl (%rax), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movq PKT_TYPE_LACPDU(%rip), %rcx
movq -48(%rbp), %rax
movq %rcx, 8(%rax)
movq -48(%rbp), %rax
movq -24(%rbp), %rcx
movl (%rcx), %ecx
movl %ecx, (%rax)
movq -40(%rbp), %rdi
callq dev_queue_xmit@PLT
movl $0, -4(%rbp)
.LBB0_3:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ad_marker_send, .Lfunc_end0-ad_marker_send
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object # @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.quad 0 # 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object # @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.quad 0
.size PKT_TYPE_LACPDU, 8
.type lacpdu_mcast_addr,@object # @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.long 0 # 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object # @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_send
.addrsig_sym dev_alloc_skb
.addrsig_sym skb_reserve
.addrsig_sym skb_reset_mac_header
.addrsig_sym skb_put
.addrsig_sym memcpy
.addrsig_sym dev_queue_xmit
.addrsig_sym ENOMEM
.addrsig_sym ETH_HLEN
.addrsig_sym PKT_TYPE_LACPDU
.addrsig_sym lacpdu_mcast_addr
.addrsig_sym ETH_ALEN
| .text
.file "extr_bond_3ad.c_ad_marker_send.c"
.p2align 4, 0x90 # -- Begin function ad_marker_send
.type ad_marker_send,@function
ad_marker_send: # @ad_marker_send
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rsi, %rbx
movq (%rdi), %r12
movl $40, %edi
callq dev_alloc_skb@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
movq %rax, %r14
movq %rax, %rdi
movl $16, %esi
callq skb_reserve@PLT
movl 4(%r12), %eax
movl %eax, 24(%r14)
movq %r14, %rdi
callq skb_reset_mac_header@PLT
movq ETH_HLEN(%rip), %rax
addq 8(%r14), %rax
movq %rax, 16(%r14)
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, (%r14)
movq %r14, %rdi
movl $24, %esi
callq skb_put@PLT
movq %rax, %r15
movl 20(%rax), %edi
movl lacpdu_mcast_addr(%rip), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movl 16(%r15), %edi
movl (%r12), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, 8(%r15)
movl (%rbx), %eax
movl %eax, (%r15)
movq %r14, %rdi
callq dev_queue_xmit@PLT
xorl %eax, %eax
jmp .LBB0_3
.LBB0_1:
xorl %eax, %eax
subl ENOMEM(%rip), %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_marker_send, .Lfunc_end0-ad_marker_send
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object # @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.quad 0 # 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object # @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.quad 0
.size PKT_TYPE_LACPDU, 8
.type lacpdu_mcast_addr,@object # @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.long 0 # 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object # @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_send
| .text
.file "extr_bond_3ad.c_ad_marker_send.c"
.p2align 4, 0x90 # -- Begin function ad_marker_send
.type ad_marker_send,@function
ad_marker_send: # @ad_marker_send
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rsi, %rbx
movq (%rdi), %r12
movl $40, %edi
callq dev_alloc_skb@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
movq %rax, %r14
movq %rax, %rdi
movl $16, %esi
callq skb_reserve@PLT
movl 4(%r12), %eax
movl %eax, 24(%r14)
movq %r14, %rdi
callq skb_reset_mac_header@PLT
movq ETH_HLEN(%rip), %rax
addq 8(%r14), %rax
movq %rax, 16(%r14)
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, (%r14)
movq %r14, %rdi
movl $24, %esi
callq skb_put@PLT
movq %rax, %r15
movl 20(%rax), %edi
movl lacpdu_mcast_addr(%rip), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movl 16(%r15), %edi
movl (%r12), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, 8(%r15)
movl (%rbx), %eax
movl %eax, (%r15)
movq %r14, %rdi
callq dev_queue_xmit@PLT
xorl %eax, %eax
jmp .LBB0_3
.LBB0_1:
xorl %eax, %eax
subl ENOMEM(%rip), %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_marker_send, .Lfunc_end0-ad_marker_send
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object # @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.quad 0 # 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object # @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.quad 0
.size PKT_TYPE_LACPDU, 8
.type lacpdu_mcast_addr,@object # @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.long 0 # 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object # @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_send
| .text
.file "extr_bond_3ad.c_ad_marker_send.c"
.p2align 4, 0x90 # -- Begin function ad_marker_send
.type ad_marker_send,@function
ad_marker_send: # @ad_marker_send
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rsi, %rbx
movq (%rdi), %r12
movl $40, %edi
callq dev_alloc_skb@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
movq %rax, %r14
movq %rax, %rdi
movl $16, %esi
callq skb_reserve@PLT
movl 4(%r12), %eax
movl %eax, 24(%r14)
movq %r14, %rdi
callq skb_reset_mac_header@PLT
movq ETH_HLEN(%rip), %rax
addq 8(%r14), %rax
movq %rax, 16(%r14)
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, (%r14)
movq %r14, %rdi
movl $24, %esi
callq skb_put@PLT
movq %rax, %r15
movl 20(%rax), %edi
movl lacpdu_mcast_addr(%rip), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movl 16(%r15), %edi
movl (%r12), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, 8(%r15)
movl (%rbx), %eax
movl %eax, (%r15)
movq %r14, %rdi
callq dev_queue_xmit@PLT
xorl %eax, %eax
jmp .LBB0_3
.LBB0_1:
xorl %eax, %eax
subl ENOMEM(%rip), %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_marker_send, .Lfunc_end0-ad_marker_send
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object # @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.quad 0 # 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object # @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.quad 0
.size PKT_TYPE_LACPDU, 8
.type lacpdu_mcast_addr,@object # @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.long 0 # 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object # @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_send
|
extr_bond_3ad.c___get_agg_bandwidth.c | .text
.file "extr_bond_3ad.c___get_agg_bandwidth.c"
.p2align 2 // -- Begin function __get_agg_bandwidth
.type __get_agg_bandwidth,@function
__get_agg_bandwidth: // @__get_agg_bandwidth
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
ldur x8, [x29, #-8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_10
b .LBB0_1
.LBB0_1:
ldur x8, [x29, #-8]
ldr w0, [x8, #4]
bl __get_link_speed
str w0, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #128
mov w8, w8
// kill: def $x8 killed $w8
str x8, [sp, #8] // 8-byte Folded Spill
subs x8, x8, #4
cset w8, hi
tbnz w8, #0, .LBB0_8
// %bb.2:
ldr x11, [sp, #8] // 8-byte Folded Reload
adrp x10, .LJTI0_0
add x10, x10, :lo12:.LJTI0_0
.Ltmp0:
adr x8, .Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
.LBB0_3:
ldur x8, [x29, #-8]
ldr w8, [x8]
stur w8, [x29, #-12]
b .LBB0_9
.LBB0_4:
ldur x8, [x29, #-8]
ldr w8, [x8]
mov w9, #10 // =0xa
mul w8, w8, w9
stur w8, [x29, #-12]
b .LBB0_9
.LBB0_5:
ldur x8, [x29, #-8]
ldr w8, [x8]
mov w9, #100 // =0x64
mul w8, w8, w9
stur w8, [x29, #-12]
b .LBB0_9
.LBB0_6:
ldur x8, [x29, #-8]
ldr w8, [x8]
mov w9, #1000 // =0x3e8
mul w8, w8, w9
stur w8, [x29, #-12]
b .LBB0_9
.LBB0_7:
ldur x8, [x29, #-8]
ldr w8, [x8]
mov w9, #10000 // =0x2710
mul w8, w8, w9
stur w8, [x29, #-12]
b .LBB0_9
.LBB0_8:
stur wzr, [x29, #-12]
b .LBB0_9
.LBB0_9:
b .LBB0_10
.LBB0_10:
ldur w0, [x29, #-12]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __get_agg_bandwidth, .Lfunc_end0-__get_agg_bandwidth
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.word .LBB0_3-.Ltmp0
.word .LBB0_4-.Ltmp0
.word .LBB0_5-.Ltmp0
.word .LBB0_6-.Ltmp0
.word .LBB0_7-.Ltmp0
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_agg_bandwidth
.addrsig_sym __get_link_speed
| .text
.file "extr_bond_3ad.c___get_agg_bandwidth.c"
.p2align 2 // -- Begin function __get_agg_bandwidth
.type __get_agg_bandwidth,@function
__get_agg_bandwidth: // @__get_agg_bandwidth
.cfi_startproc
// %bb.0:
ldr w8, [x0]
cbz w8, .LBB0_4
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x0
ldr w0, [x0, #4]
bl __get_link_speed
sub w8, w0, #128
cmp w8, #4
b.hi .LBB0_5
// %bb.2:
adrp x9, .LJTI0_0
add x9, x9, :lo12:.LJTI0_0
adr x10, .LBB0_3
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_3:
ldr w0, [x19]
b .LBB0_11
.LBB0_4:
.cfi_def_cfa wsp, 0
.cfi_same_value w19
.cfi_same_value w30
.cfi_same_value w29
mov w0, wzr
ret
.LBB0_5:
.cfi_restore_state
mov w0, wzr
b .LBB0_11
.LBB0_6:
ldr w8, [x19]
add w8, w8, w8, lsl #2
lsl w0, w8, #1
b .LBB0_11
.LBB0_7:
ldr w8, [x19]
mov w9, #100 // =0x64
b .LBB0_10
.LBB0_8:
ldr w8, [x19]
mov w9, #1000 // =0x3e8
b .LBB0_10
.LBB0_9:
ldr w8, [x19]
mov w9, #10000 // =0x2710
.LBB0_10:
mul w0, w8, w9
.LBB0_11:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __get_agg_bandwidth, .Lfunc_end0-__get_agg_bandwidth
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_3-.LBB0_3)>>2
.byte (.LBB0_6-.LBB0_3)>>2
.byte (.LBB0_7-.LBB0_3)>>2
.byte (.LBB0_8-.LBB0_3)>>2
.byte (.LBB0_9-.LBB0_3)>>2
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_agg_bandwidth
| .text
.file "extr_bond_3ad.c___get_agg_bandwidth.c"
.p2align 2 // -- Begin function __get_agg_bandwidth
.type __get_agg_bandwidth,@function
__get_agg_bandwidth: // @__get_agg_bandwidth
.cfi_startproc
// %bb.0:
ldr w8, [x0]
cbz w8, .LBB0_4
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x0
ldr w0, [x0, #4]
bl __get_link_speed
sub w8, w0, #128
cmp w8, #4
b.hi .LBB0_5
// %bb.2:
adrp x9, .LJTI0_0
add x9, x9, :lo12:.LJTI0_0
adr x10, .LBB0_3
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_3:
ldr w0, [x19]
b .LBB0_11
.LBB0_4:
.cfi_def_cfa wsp, 0
.cfi_same_value w19
.cfi_same_value w30
.cfi_same_value w29
mov w0, wzr
ret
.LBB0_5:
.cfi_restore_state
mov w0, wzr
b .LBB0_11
.LBB0_6:
ldr w8, [x19]
add w8, w8, w8, lsl #2
lsl w0, w8, #1
b .LBB0_11
.LBB0_7:
ldr w8, [x19]
mov w9, #100 // =0x64
b .LBB0_10
.LBB0_8:
ldr w8, [x19]
mov w9, #1000 // =0x3e8
b .LBB0_10
.LBB0_9:
ldr w8, [x19]
mov w9, #10000 // =0x2710
.LBB0_10:
mul w0, w8, w9
.LBB0_11:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __get_agg_bandwidth, .Lfunc_end0-__get_agg_bandwidth
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_3-.LBB0_3)>>2
.byte (.LBB0_6-.LBB0_3)>>2
.byte (.LBB0_7-.LBB0_3)>>2
.byte (.LBB0_8-.LBB0_3)>>2
.byte (.LBB0_9-.LBB0_3)>>2
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_agg_bandwidth
| .text
.file "extr_bond_3ad.c___get_agg_bandwidth.c"
.p2align 2 // -- Begin function __get_agg_bandwidth
.type __get_agg_bandwidth,@function
__get_agg_bandwidth: // @__get_agg_bandwidth
.cfi_startproc
// %bb.0:
ldr w8, [x0]
cbz w8, .LBB0_4
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x0
ldr w0, [x0, #4]
bl __get_link_speed
sub w8, w0, #128
cmp w8, #4
b.hi .LBB0_5
// %bb.2:
adrp x9, .LJTI0_0
add x9, x9, :lo12:.LJTI0_0
adr x10, .LBB0_3
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_3:
ldr w0, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_4:
mov w0, wzr
ret
.LBB0_5:
.cfi_restore_state
.cfi_remember_state
mov w0, wzr
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_6:
.cfi_restore_state
.cfi_remember_state
ldr w8, [x19]
add w8, w8, w8, lsl #2
lsl w0, w8, #1
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_7:
.cfi_restore_state
.cfi_remember_state
ldr w8, [x19]
mov w9, #100 // =0x64
mul w0, w8, w9
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_8:
.cfi_restore_state
.cfi_remember_state
ldr w8, [x19]
mov w9, #1000 // =0x3e8
mul w0, w8, w9
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_9:
.cfi_restore_state
ldr w8, [x19]
mov w9, #10000 // =0x2710
mul w0, w8, w9
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __get_agg_bandwidth, .Lfunc_end0-__get_agg_bandwidth
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_3-.LBB0_3)>>2
.byte (.LBB0_6-.LBB0_3)>>2
.byte (.LBB0_7-.LBB0_3)>>2
.byte (.LBB0_8-.LBB0_3)>>2
.byte (.LBB0_9-.LBB0_3)>>2
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_agg_bandwidth
| .text
.file "extr_bond_3ad.c___get_agg_bandwidth.c"
.p2align 4, 0x90 # -- Begin function __get_agg_bandwidth
.type __get_agg_bandwidth,@function
__get_agg_bandwidth: # @__get_agg_bandwidth
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
movq -8(%rbp), %rax
cmpl $0, (%rax)
je .LBB0_9
# %bb.1:
movq -8(%rbp), %rax
movl 4(%rax), %edi
callq __get_link_speed@PLT
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
addl $-128, %eax
movl %eax, %ecx
movq %rcx, -24(%rbp) # 8-byte Spill
subl $4, %eax
ja .LBB0_7
# %bb.10:
movq -24(%rbp), %rax # 8-byte Reload
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_2:
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
jmp .LBB0_8
.LBB0_3:
movq -8(%rbp), %rax
imull $10, (%rax), %eax
movl %eax, -12(%rbp)
jmp .LBB0_8
.LBB0_4:
movq -8(%rbp), %rax
imull $100, (%rax), %eax
movl %eax, -12(%rbp)
jmp .LBB0_8
.LBB0_5:
movq -8(%rbp), %rax
imull $1000, (%rax), %eax # imm = 0x3E8
movl %eax, -12(%rbp)
jmp .LBB0_8
.LBB0_6:
movq -8(%rbp), %rax
imull $10000, (%rax), %eax # imm = 0x2710
movl %eax, -12(%rbp)
jmp .LBB0_8
.LBB0_7:
movl $0, -12(%rbp)
.LBB0_8:
jmp .LBB0_9
.LBB0_9:
movl -12(%rbp), %eax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size __get_agg_bandwidth, .Lfunc_end0-__get_agg_bandwidth
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_2-.LJTI0_0
.long .LBB0_3-.LJTI0_0
.long .LBB0_4-.LJTI0_0
.long .LBB0_5-.LJTI0_0
.long .LBB0_6-.LJTI0_0
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_agg_bandwidth
.addrsig_sym __get_link_speed
| .text
.file "extr_bond_3ad.c___get_agg_bandwidth.c"
.p2align 4, 0x90 # -- Begin function __get_agg_bandwidth
.type __get_agg_bandwidth,@function
__get_agg_bandwidth: # @__get_agg_bandwidth
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
xorl %ebx, %ebx
cmpl $0, (%rdi)
je .LBB0_8
# %bb.1:
movq %rdi, %r14
movl 4(%rdi), %edi
callq __get_link_speed@PLT
# kill: def $eax killed $eax def $rax
addl $-128, %eax
cmpl $4, %eax
ja .LBB0_8
# %bb.2:
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_3:
movl (%r14), %ebx
jmp .LBB0_8
.LBB0_4:
movl (%r14), %eax
addl %eax, %eax
leal (%rax,%rax,4), %ebx
jmp .LBB0_8
.LBB0_5:
imull $100, (%r14), %ebx
jmp .LBB0_8
.LBB0_6:
imull $1000, (%r14), %ebx # imm = 0x3E8
jmp .LBB0_8
.LBB0_7:
imull $10000, (%r14), %ebx # imm = 0x2710
.LBB0_8:
movl %ebx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __get_agg_bandwidth, .Lfunc_end0-__get_agg_bandwidth
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_3-.LJTI0_0
.long .LBB0_4-.LJTI0_0
.long .LBB0_5-.LJTI0_0
.long .LBB0_6-.LJTI0_0
.long .LBB0_7-.LJTI0_0
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_agg_bandwidth
| .text
.file "extr_bond_3ad.c___get_agg_bandwidth.c"
.p2align 4, 0x90 # -- Begin function __get_agg_bandwidth
.type __get_agg_bandwidth,@function
__get_agg_bandwidth: # @__get_agg_bandwidth
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
xorl %ebx, %ebx
cmpl $0, (%rdi)
je .LBB0_8
# %bb.1:
movq %rdi, %r14
movl 4(%rdi), %edi
callq __get_link_speed@PLT
# kill: def $eax killed $eax def $rax
addl $-128, %eax
cmpl $4, %eax
ja .LBB0_8
# %bb.2:
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_3:
movl (%r14), %ebx
jmp .LBB0_8
.LBB0_4:
movl (%r14), %eax
addl %eax, %eax
leal (%rax,%rax,4), %ebx
jmp .LBB0_8
.LBB0_5:
imull $100, (%r14), %ebx
jmp .LBB0_8
.LBB0_6:
imull $1000, (%r14), %ebx # imm = 0x3E8
jmp .LBB0_8
.LBB0_7:
imull $10000, (%r14), %ebx # imm = 0x2710
.LBB0_8:
movl %ebx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __get_agg_bandwidth, .Lfunc_end0-__get_agg_bandwidth
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_3-.LJTI0_0
.long .LBB0_4-.LJTI0_0
.long .LBB0_5-.LJTI0_0
.long .LBB0_6-.LJTI0_0
.long .LBB0_7-.LJTI0_0
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_agg_bandwidth
| .text
.file "extr_bond_3ad.c___get_agg_bandwidth.c"
.p2align 4, 0x90 # -- Begin function __get_agg_bandwidth
.type __get_agg_bandwidth,@function
__get_agg_bandwidth: # @__get_agg_bandwidth
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
xorl %ebx, %ebx
cmpl $0, (%rdi)
je .LBB0_8
# %bb.1:
movq %rdi, %r14
movl 4(%rdi), %edi
callq __get_link_speed@PLT
# kill: def $eax killed $eax def $rax
addl $-128, %eax
cmpl $4, %eax
ja .LBB0_8
# %bb.2:
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_3:
movl (%r14), %ebx
jmp .LBB0_8
.LBB0_4:
movl (%r14), %eax
addl %eax, %eax
leal (%rax,%rax,4), %ebx
jmp .LBB0_8
.LBB0_5:
imull $100, (%r14), %ebx
jmp .LBB0_8
.LBB0_6:
imull $1000, (%r14), %ebx # imm = 0x3E8
jmp .LBB0_8
.LBB0_7:
imull $10000, (%r14), %ebx # imm = 0x2710
.LBB0_8:
movl %ebx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __get_agg_bandwidth, .Lfunc_end0-__get_agg_bandwidth
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_3-.LJTI0_0
.long .LBB0_4-.LJTI0_0
.long .LBB0_5-.LJTI0_0
.long .LBB0_6-.LJTI0_0
.long .LBB0_7-.LJTI0_0
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_agg_bandwidth
|
extr_bond_3ad.c_ad_disable_collecting_distributing.c | .text
.file "extr_bond_3ad.c_ad_disable_collecting_distributing.c"
.p2align 2 // -- Begin function ad_disable_collecting_distributing
.type ad_disable_collecting_distributing,@function
ad_disable_collecting_distributing: // @ad_disable_collecting_distributing
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #8]
ldr x8, [x8]
add x0, x8, #4
adrp x1, null_mac_addr
add x1, x1, :lo12:null_mac_addr
bl MAC_ADDRESS_COMPARE
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
ldr x8, [sp, #8]
ldr w1, [x8, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr w2, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
ldr x0, [sp, #8]
bl __disable_port
b .LBB0_3
.LBB0_3:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_disable_collecting_distributing, .Lfunc_end0-ad_disable_collecting_distributing
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Disabling port %d(LAG %d)\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_disable_collecting_distributing
.addrsig_sym MAC_ADDRESS_COMPARE
.addrsig_sym pr_debug
.addrsig_sym __disable_port
.addrsig_sym null_mac_addr
| .text
.file "extr_bond_3ad.c_ad_disable_collecting_distributing.c"
.p2align 2 // -- Begin function ad_disable_collecting_distributing
.type ad_disable_collecting_distributing,@function
ad_disable_collecting_distributing: // @ad_disable_collecting_distributing
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
ldr x8, [x0]
cbz x8, .LBB0_3
// %bb.1:
mov x19, x0
add x0, x8, #4
adrp x1, null_mac_addr
add x1, x1, :lo12:null_mac_addr
bl MAC_ADDRESS_COMPARE
cbz x0, .LBB0_3
// %bb.2:
ldr x8, [x19]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
ldr w1, [x19, #8]
ldr w2, [x8]
bl pr_debug
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b __disable_port
.LBB0_3:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_disable_collecting_distributing, .Lfunc_end0-ad_disable_collecting_distributing
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Disabling port %d(LAG %d)\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_disable_collecting_distributing
.addrsig_sym null_mac_addr
| .text
.file "extr_bond_3ad.c_ad_disable_collecting_distributing.c"
.p2align 2 // -- Begin function ad_disable_collecting_distributing
.type ad_disable_collecting_distributing,@function
ad_disable_collecting_distributing: // @ad_disable_collecting_distributing
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
ldr x8, [x0]
cbz x8, .LBB0_3
// %bb.1:
mov x19, x0
add x0, x8, #4
adrp x1, null_mac_addr
add x1, x1, :lo12:null_mac_addr
bl MAC_ADDRESS_COMPARE
cbz x0, .LBB0_3
// %bb.2:
ldr x8, [x19]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
ldr w1, [x19, #8]
ldr w2, [x8]
bl pr_debug
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b __disable_port
.LBB0_3:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_disable_collecting_distributing, .Lfunc_end0-ad_disable_collecting_distributing
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Disabling port %d(LAG %d)\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_disable_collecting_distributing
.addrsig_sym null_mac_addr
| .text
.file "extr_bond_3ad.c_ad_disable_collecting_distributing.c"
.p2align 2 // -- Begin function ad_disable_collecting_distributing
.type ad_disable_collecting_distributing,@function
ad_disable_collecting_distributing: // @ad_disable_collecting_distributing
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
ldr x8, [x0]
cbz x8, .LBB0_3
// %bb.1:
mov x19, x0
add x0, x8, #4
adrp x1, null_mac_addr
add x1, x1, :lo12:null_mac_addr
bl MAC_ADDRESS_COMPARE
cbz x0, .LBB0_3
// %bb.2:
ldr x8, [x19]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
ldr w1, [x19, #8]
ldr w2, [x8]
bl pr_debug
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b __disable_port
.LBB0_3:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_disable_collecting_distributing, .Lfunc_end0-ad_disable_collecting_distributing
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Disabling port %d(LAG %d)\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_disable_collecting_distributing
.addrsig_sym null_mac_addr
| .text
.file "extr_bond_3ad.c_ad_disable_collecting_distributing.c"
.p2align 4, 0x90 # -- Begin function ad_disable_collecting_distributing
.type ad_disable_collecting_distributing,@function
ad_disable_collecting_distributing: # @ad_disable_collecting_distributing
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
je .LBB0_3
# %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rdi
addq $4, %rdi
leaq null_mac_addr(%rip), %rsi
callq MAC_ADDRESS_COMPARE@PLT
cmpq $0, %rax
je .LBB0_3
# %bb.2:
movq -8(%rbp), %rax
movl 8(%rax), %esi
movq -8(%rbp), %rax
movq (%rax), %rax
movl (%rax), %edx
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq -8(%rbp), %rdi
callq __disable_port@PLT
.LBB0_3:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ad_disable_collecting_distributing, .Lfunc_end0-ad_disable_collecting_distributing
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Disabling port %d(LAG %d)\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_disable_collecting_distributing
.addrsig_sym MAC_ADDRESS_COMPARE
.addrsig_sym pr_debug
.addrsig_sym __disable_port
.addrsig_sym null_mac_addr
| .text
.file "extr_bond_3ad.c_ad_disable_collecting_distributing.c"
.p2align 4, 0x90 # -- Begin function ad_disable_collecting_distributing
.type ad_disable_collecting_distributing,@function
ad_disable_collecting_distributing: # @ad_disable_collecting_distributing
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je .LBB0_2
# %bb.1:
addq $4, %rdi
leaq null_mac_addr(%rip), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testq %rax, %rax
je .LBB0_2
# %bb.3:
movl 8(%rbx), %esi
movq (%rbx), %rax
movl (%rax), %edx
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp __disable_port@PLT # TAILCALL
.LBB0_2:
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_disable_collecting_distributing, .Lfunc_end0-ad_disable_collecting_distributing
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Disabling port %d(LAG %d)\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_disable_collecting_distributing
.addrsig_sym null_mac_addr
| .text
.file "extr_bond_3ad.c_ad_disable_collecting_distributing.c"
.p2align 4, 0x90 # -- Begin function ad_disable_collecting_distributing
.type ad_disable_collecting_distributing,@function
ad_disable_collecting_distributing: # @ad_disable_collecting_distributing
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je .LBB0_2
# %bb.1:
addq $4, %rdi
leaq null_mac_addr(%rip), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testq %rax, %rax
je .LBB0_2
# %bb.3:
movl 8(%rbx), %esi
movq (%rbx), %rax
movl (%rax), %edx
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp __disable_port@PLT # TAILCALL
.LBB0_2:
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_disable_collecting_distributing, .Lfunc_end0-ad_disable_collecting_distributing
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Disabling port %d(LAG %d)\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_disable_collecting_distributing
.addrsig_sym null_mac_addr
| .text
.file "extr_bond_3ad.c_ad_disable_collecting_distributing.c"
.p2align 4, 0x90 # -- Begin function ad_disable_collecting_distributing
.type ad_disable_collecting_distributing,@function
ad_disable_collecting_distributing: # @ad_disable_collecting_distributing
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je .LBB0_2
# %bb.1:
addq $4, %rdi
leaq null_mac_addr(%rip), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testq %rax, %rax
je .LBB0_2
# %bb.3:
movl 8(%rbx), %esi
movq (%rbx), %rax
movl (%rax), %edx
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp __disable_port@PLT # TAILCALL
.LBB0_2:
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_disable_collecting_distributing, .Lfunc_end0-ad_disable_collecting_distributing
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Disabling port %d(LAG %d)\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_disable_collecting_distributing
.addrsig_sym null_mac_addr
|
extr_bond_main.c_bond_set_lockdep_class_one.c | .text
.file "extr_bond_main.c_bond_set_lockdep_class_one.c"
.p2align 2 // -- Begin function bond_set_lockdep_class_one
.type bond_set_lockdep_class_one,@function
bond_set_lockdep_class_one: // @bond_set_lockdep_class_one
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldr x0, [sp, #16]
adrp x1, bonding_netdev_xmit_lock_key
add x1, x1, :lo12:bonding_netdev_xmit_lock_key
bl lockdep_set_class
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_set_lockdep_class_one, .Lfunc_end0-bond_set_lockdep_class_one
.cfi_endproc
// -- End function
.type bonding_netdev_xmit_lock_key,@object // @bonding_netdev_xmit_lock_key
.bss
.globl bonding_netdev_xmit_lock_key
.p2align 2, 0x0
bonding_netdev_xmit_lock_key:
.word 0 // 0x0
.size bonding_netdev_xmit_lock_key, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class_one
.addrsig_sym lockdep_set_class
.addrsig_sym bonding_netdev_xmit_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class_one.c"
.p2align 2 // -- Begin function bond_set_lockdep_class_one
.type bond_set_lockdep_class_one,@function
bond_set_lockdep_class_one: // @bond_set_lockdep_class_one
.cfi_startproc
// %bb.0:
mov x0, x1
adrp x1, bonding_netdev_xmit_lock_key
add x1, x1, :lo12:bonding_netdev_xmit_lock_key
b lockdep_set_class
.Lfunc_end0:
.size bond_set_lockdep_class_one, .Lfunc_end0-bond_set_lockdep_class_one
.cfi_endproc
// -- End function
.type bonding_netdev_xmit_lock_key,@object // @bonding_netdev_xmit_lock_key
.bss
.globl bonding_netdev_xmit_lock_key
.p2align 2, 0x0
bonding_netdev_xmit_lock_key:
.word 0 // 0x0
.size bonding_netdev_xmit_lock_key, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class_one
.addrsig_sym bonding_netdev_xmit_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class_one.c"
.p2align 2 // -- Begin function bond_set_lockdep_class_one
.type bond_set_lockdep_class_one,@function
bond_set_lockdep_class_one: // @bond_set_lockdep_class_one
.cfi_startproc
// %bb.0:
mov x0, x1
adrp x1, bonding_netdev_xmit_lock_key
add x1, x1, :lo12:bonding_netdev_xmit_lock_key
b lockdep_set_class
.Lfunc_end0:
.size bond_set_lockdep_class_one, .Lfunc_end0-bond_set_lockdep_class_one
.cfi_endproc
// -- End function
.type bonding_netdev_xmit_lock_key,@object // @bonding_netdev_xmit_lock_key
.bss
.globl bonding_netdev_xmit_lock_key
.p2align 2, 0x0
bonding_netdev_xmit_lock_key:
.word 0 // 0x0
.size bonding_netdev_xmit_lock_key, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class_one
.addrsig_sym bonding_netdev_xmit_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class_one.c"
.p2align 2 // -- Begin function bond_set_lockdep_class_one
.type bond_set_lockdep_class_one,@function
bond_set_lockdep_class_one: // @bond_set_lockdep_class_one
.cfi_startproc
// %bb.0:
mov x0, x1
adrp x1, bonding_netdev_xmit_lock_key
add x1, x1, :lo12:bonding_netdev_xmit_lock_key
b lockdep_set_class
.Lfunc_end0:
.size bond_set_lockdep_class_one, .Lfunc_end0-bond_set_lockdep_class_one
.cfi_endproc
// -- End function
.type bonding_netdev_xmit_lock_key,@object // @bonding_netdev_xmit_lock_key
.bss
.globl bonding_netdev_xmit_lock_key
.p2align 2, 0x0
bonding_netdev_xmit_lock_key:
.word 0 // 0x0
.size bonding_netdev_xmit_lock_key, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class_one
.addrsig_sym bonding_netdev_xmit_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class_one.c"
.p2align 4, 0x90 # -- Begin function bond_set_lockdep_class_one
.type bond_set_lockdep_class_one,@function
bond_set_lockdep_class_one: # @bond_set_lockdep_class_one
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -16(%rbp), %rdi
leaq bonding_netdev_xmit_lock_key(%rip), %rsi
callq lockdep_set_class@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_set_lockdep_class_one, .Lfunc_end0-bond_set_lockdep_class_one
.cfi_endproc
# -- End function
.type bonding_netdev_xmit_lock_key,@object # @bonding_netdev_xmit_lock_key
.bss
.globl bonding_netdev_xmit_lock_key
.p2align 2, 0x0
bonding_netdev_xmit_lock_key:
.long 0 # 0x0
.size bonding_netdev_xmit_lock_key, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class_one
.addrsig_sym lockdep_set_class
.addrsig_sym bonding_netdev_xmit_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class_one.c"
.p2align 4, 0x90 # -- Begin function bond_set_lockdep_class_one
.type bond_set_lockdep_class_one,@function
bond_set_lockdep_class_one: # @bond_set_lockdep_class_one
.cfi_startproc
# %bb.0:
movq %rsi, %rdi
leaq bonding_netdev_xmit_lock_key(%rip), %rsi
jmp lockdep_set_class@PLT # TAILCALL
.Lfunc_end0:
.size bond_set_lockdep_class_one, .Lfunc_end0-bond_set_lockdep_class_one
.cfi_endproc
# -- End function
.type bonding_netdev_xmit_lock_key,@object # @bonding_netdev_xmit_lock_key
.bss
.globl bonding_netdev_xmit_lock_key
.p2align 2, 0x0
bonding_netdev_xmit_lock_key:
.long 0 # 0x0
.size bonding_netdev_xmit_lock_key, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class_one
.addrsig_sym bonding_netdev_xmit_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class_one.c"
.p2align 4, 0x90 # -- Begin function bond_set_lockdep_class_one
.type bond_set_lockdep_class_one,@function
bond_set_lockdep_class_one: # @bond_set_lockdep_class_one
.cfi_startproc
# %bb.0:
movq %rsi, %rdi
leaq bonding_netdev_xmit_lock_key(%rip), %rsi
jmp lockdep_set_class@PLT # TAILCALL
.Lfunc_end0:
.size bond_set_lockdep_class_one, .Lfunc_end0-bond_set_lockdep_class_one
.cfi_endproc
# -- End function
.type bonding_netdev_xmit_lock_key,@object # @bonding_netdev_xmit_lock_key
.bss
.globl bonding_netdev_xmit_lock_key
.p2align 2, 0x0
bonding_netdev_xmit_lock_key:
.long 0 # 0x0
.size bonding_netdev_xmit_lock_key, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class_one
.addrsig_sym bonding_netdev_xmit_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class_one.c"
.p2align 4, 0x90 # -- Begin function bond_set_lockdep_class_one
.type bond_set_lockdep_class_one,@function
bond_set_lockdep_class_one: # @bond_set_lockdep_class_one
.cfi_startproc
# %bb.0:
movq %rsi, %rdi
leaq bonding_netdev_xmit_lock_key(%rip), %rsi
jmp lockdep_set_class@PLT # TAILCALL
.Lfunc_end0:
.size bond_set_lockdep_class_one, .Lfunc_end0-bond_set_lockdep_class_one
.cfi_endproc
# -- End function
.type bonding_netdev_xmit_lock_key,@object # @bonding_netdev_xmit_lock_key
.bss
.globl bonding_netdev_xmit_lock_key
.p2align 2, 0x0
bonding_netdev_xmit_lock_key:
.long 0 # 0x0
.size bonding_netdev_xmit_lock_key, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class_one
.addrsig_sym bonding_netdev_xmit_lock_key
|
extr_ltpc.c_ltpc_xmit.c | .text
.file "extr_ltpc.c_ltpc_xmit.c"
.p2align 2 // -- Begin function ltpc_xmit
.type ltpc_xmit,@function
ltpc_xmit: // @ltpc_xmit
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] // 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
adrp x8, LT_SENDLAP
ldr w8, [x8, :lo12:LT_SENDLAP]
str w8, [sp, #24]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr w8, [x8]
str w8, [sp, #20]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr w8, [x8, #8]
str w8, [sp, #16]
ldur x0, [x29, #-8]
mov w1, #3 // =0x3
bl skb_pull
ldur x8, [x29, #-8]
ldr w8, [x8]
str w8, [sp, #12]
ldur x0, [x29, #-8]
bl skb_reset_transport_header
adrp x8, debug
ldr w8, [x8, :lo12:debug]
adrp x9, DEBUG_UPPER
ldr w9, [x9, :lo12:DEBUG_UPPER]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_1
.LBB0_1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
stur wzr, [x29, #-20]
b .LBB0_2
.LBB0_2: // =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #6
cset w8, ge
tbnz w8, #0, .LBB0_5
b .LBB0_3
.LBB0_3: // in Loop: Header=BB0_2 Depth=1
ldursw x9, [x29, #-20]
add x8, sp, #12
ldrb w1, [x8, x9]
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl printk
b .LBB0_4
.LBB0_4: // in Loop: Header=BB0_2 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b .LBB0_2
.LBB0_5:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
b .LBB0_6
.LBB0_6:
ldur x0, [x29, #-8]
bl skb_transport_header
str x0, [sp]
ldur x0, [x29, #-16]
ldr x3, [sp]
ldur x8, [x29, #-8]
ldr w4, [x8]
add x1, sp, #12
mov w2, #16 // =0x10
bl do_write
adrp x8, debug
ldr w8, [x8, :lo12:debug]
adrp x9, DEBUG_UPPER
ldr w9, [x9, :lo12:DEBUG_UPPER]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_12
b .LBB0_7
.LBB0_7:
ldur x8, [x29, #-8]
ldr w1, [x8]
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl printk
stur wzr, [x29, #-20]
b .LBB0_8
.LBB0_8: // =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur x9, [x29, #-8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, .LBB0_11
b .LBB0_9
.LBB0_9: // in Loop: Header=BB0_8 Depth=1
ldr x8, [sp]
ldursw x9, [x29, #-20]
ldrb w1, [x8, x9]
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl printk
b .LBB0_10
.LBB0_10: // in Loop: Header=BB0_8 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b .LBB0_8
.LBB0_11:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
b .LBB0_12
.LBB0_12:
ldur x9, [x29, #-16]
ldr w8, [x9, #4]
add w8, w8, #1
str w8, [x9, #4]
ldur x8, [x29, #-8]
ldr w10, [x8]
ldur x9, [x29, #-16]
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
ldur x0, [x29, #-8]
bl dev_kfree_skb
adrp x8, NETDEV_TX_OK
ldr w0, [x8, :lo12:NETDEV_TX_OK]
.cfi_def_cfa wsp, 64
ldp x29, x30, [sp, #48] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_xmit, .Lfunc_end0-ltpc_xmit
.cfi_endproc
// -- End function
.type LT_SENDLAP,@object // @LT_SENDLAP
.bss
.globl LT_SENDLAP
.p2align 2, 0x0
LT_SENDLAP:
.word 0 // 0x0
.size LT_SENDLAP, 4
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_UPPER,@object // @DEBUG_UPPER
.globl DEBUG_UPPER
.p2align 2, 0x0
DEBUG_UPPER:
.word 0 // 0x0
.size DEBUG_UPPER, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "command "
.size .L.str, 9
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "%02x "
.size .L.str.1, 6
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "\n"
.size .L.str.2, 2
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "sent %d ddp bytes\n"
.size .L.str.3, 19
.type NETDEV_TX_OK,@object // @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.word 0 // 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_xmit
.addrsig_sym skb_pull
.addrsig_sym skb_reset_transport_header
.addrsig_sym printk
.addrsig_sym skb_transport_header
.addrsig_sym do_write
.addrsig_sym dev_kfree_skb
.addrsig_sym LT_SENDLAP
.addrsig_sym debug
.addrsig_sym DEBUG_UPPER
.addrsig_sym NETDEV_TX_OK
| .text
.file "extr_ltpc.c_ltpc_xmit.c"
.p2align 2 // -- Begin function ltpc_xmit
.type ltpc_xmit,@function
ltpc_xmit: // @ltpc_xmit
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #16] // 16-byte Folded Spill
str x25, [sp, #32] // 8-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
adrp x8, LT_SENDLAP
ldr x9, [x0, #8]
mov x20, x1
mov w1, #3 // =0x3
mov x19, x0
ldr w8, [x8, :lo12:LT_SENDLAP]
str w8, [sp, #12]
ldr w8, [x9]
str w8, [sp, #8]
ldr w8, [x9, #8]
str w8, [sp, #4]
bl skb_pull
ldr w8, [x19]
mov x0, x19
str w8, [sp]
bl skb_reset_transport_header
adrp x22, debug
adrp x23, DEBUG_UPPER
ldr w8, [x22, :lo12:debug]
ldr w9, [x23, :lo12:DEBUG_UPPER]
tst w9, w8
b.eq .LBB0_4
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl printk
mov x24, xzr
mov x25, sp
adrp x21, .L.str.1
add x21, x21, :lo12:.L.str.1
.LBB0_2: // =>This Inner Loop Header: Depth=1
ldrb w1, [x25, x24]
mov x0, x21
bl printk
add x24, x24, #1
cmp x24, #6
b.ne .LBB0_2
// %bb.3:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
.LBB0_4:
mov x0, x19
bl skb_transport_header
mov x21, x0
ldr w4, [x19]
mov x1, sp
mov x0, x20
mov w2, #16 // =0x10
mov x3, x21
bl do_write
ldr w8, [x22, :lo12:debug]
ldr w9, [x23, :lo12:DEBUG_UPPER]
tst w9, w8
b.eq .LBB0_9
// %bb.5:
ldr w1, [x19]
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl printk
ldr w8, [x19]
cmp w8, #1
b.lt .LBB0_8
// %bb.6:
mov x23, xzr
adrp x22, .L.str.1
add x22, x22, :lo12:.L.str.1
.LBB0_7: // =>This Inner Loop Header: Depth=1
ldrb w1, [x21, x23]
mov x0, x22
bl printk
ldrsw x8, [x19]
add x23, x23, #1
cmp x23, x8
b.lt .LBB0_7
.LBB0_8:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
.LBB0_9:
ldp w9, w8, [x20]
mov x0, x19
add w8, w8, #1
str w8, [x20, #4]
ldr w8, [x19]
add w8, w9, w8
str w8, [x20]
bl dev_kfree_skb
adrp x8, NETDEV_TX_OK
ldr w0, [x8, :lo12:NETDEV_TX_OK]
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
ldr x25, [sp, #32] // 8-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_xmit, .Lfunc_end0-ltpc_xmit
.cfi_endproc
// -- End function
.type LT_SENDLAP,@object // @LT_SENDLAP
.bss
.globl LT_SENDLAP
.p2align 2, 0x0
LT_SENDLAP:
.word 0 // 0x0
.size LT_SENDLAP, 4
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_UPPER,@object // @DEBUG_UPPER
.globl DEBUG_UPPER
.p2align 2, 0x0
DEBUG_UPPER:
.word 0 // 0x0
.size DEBUG_UPPER, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "command "
.size .L.str, 9
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "%02x "
.size .L.str.1, 6
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "\n"
.size .L.str.2, 2
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "sent %d ddp bytes\n"
.size .L.str.3, 19
.type NETDEV_TX_OK,@object // @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.word 0 // 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_xmit
| .text
.file "extr_ltpc.c_ltpc_xmit.c"
.p2align 2 // -- Begin function ltpc_xmit
.type ltpc_xmit,@function
ltpc_xmit: // @ltpc_xmit
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #16] // 16-byte Folded Spill
stp x26, x25, [sp, #32] // 16-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
adrp x8, LT_SENDLAP
ldr x9, [x0, #8]
mov x20, x1
mov w1, #3 // =0x3
mov x19, x0
ldr w8, [x8, :lo12:LT_SENDLAP]
str w8, [sp, #12]
ldr w8, [x9]
str w8, [sp, #8]
ldr w25, [x9, #8]
str w25, [sp, #4]
bl skb_pull
ldr w26, [x19]
mov x0, x19
str w26, [sp]
bl skb_reset_transport_header
adrp x23, debug
adrp x24, DEBUG_UPPER
ldr w8, [x23, :lo12:debug]
ldr w9, [x24, :lo12:DEBUG_UPPER]
tst w9, w8
b.eq .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
lsr w21, w26, #24
bl printk
adrp x22, .L.str.1
add x22, x22, :lo12:.L.str.1
and w1, w26, #0xff
mov x0, x22
bl printk
ubfx w1, w26, #8, #8
mov x0, x22
bl printk
ubfx w1, w26, #16, #8
mov x0, x22
bl printk
mov x0, x22
mov w1, w21
bl printk
and w1, w25, #0xff
mov x0, x22
bl printk
ubfx w1, w25, #8, #8
mov x0, x22
bl printk
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
.LBB0_2:
mov x0, x19
bl skb_transport_header
mov x21, x0
ldr w4, [x19]
mov x1, sp
mov x0, x20
mov w2, #16 // =0x10
mov x3, x21
bl do_write
ldr w8, [x23, :lo12:debug]
ldr w9, [x24, :lo12:DEBUG_UPPER]
tst w9, w8
b.eq .LBB0_7
// %bb.3:
ldr w1, [x19]
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl printk
ldr w8, [x19]
cmp w8, #1
b.lt .LBB0_6
// %bb.4:
mov x23, xzr
adrp x22, .L.str.1
add x22, x22, :lo12:.L.str.1
.LBB0_5: // =>This Inner Loop Header: Depth=1
ldrb w1, [x21, x23]
mov x0, x22
bl printk
ldrsw x8, [x19]
add x23, x23, #1
cmp x23, x8
b.lt .LBB0_5
.LBB0_6:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
.LBB0_7:
movi v0.2s, #1
ldr d1, [x20]
mov x0, x19
ld1 { v0.s }[0], [x19]
add v0.2s, v1.2s, v0.2s
str d0, [x20]
bl dev_kfree_skb
adrp x8, NETDEV_TX_OK
ldr w0, [x8, :lo12:NETDEV_TX_OK]
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x26, x25, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_xmit, .Lfunc_end0-ltpc_xmit
.cfi_endproc
// -- End function
.type LT_SENDLAP,@object // @LT_SENDLAP
.bss
.globl LT_SENDLAP
.p2align 2, 0x0
LT_SENDLAP:
.word 0 // 0x0
.size LT_SENDLAP, 4
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_UPPER,@object // @DEBUG_UPPER
.globl DEBUG_UPPER
.p2align 2, 0x0
DEBUG_UPPER:
.word 0 // 0x0
.size DEBUG_UPPER, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "command "
.size .L.str, 9
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "%02x "
.size .L.str.1, 6
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "\n"
.size .L.str.2, 2
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "sent %d ddp bytes\n"
.size .L.str.3, 19
.type NETDEV_TX_OK,@object // @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.word 0 // 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_xmit
| .text
.file "extr_ltpc.c_ltpc_xmit.c"
.p2align 2 // -- Begin function ltpc_xmit
.type ltpc_xmit,@function
ltpc_xmit: // @ltpc_xmit
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #16] // 16-byte Folded Spill
stp x26, x25, [sp, #32] // 16-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
adrp x8, LT_SENDLAP
ldr x9, [x0, #8]
mov x20, x1
mov w1, #3 // =0x3
mov x19, x0
ldr w8, [x8, :lo12:LT_SENDLAP]
str w8, [sp, #12]
ldr w8, [x9]
str w8, [sp, #8]
ldr w25, [x9, #8]
str w25, [sp, #4]
bl skb_pull
ldr w26, [x19]
mov x0, x19
str w26, [sp]
bl skb_reset_transport_header
adrp x23, debug
adrp x24, DEBUG_UPPER
ldr w8, [x23, :lo12:debug]
ldr w9, [x24, :lo12:DEBUG_UPPER]
tst w9, w8
b.eq .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
lsr w21, w26, #24
bl printk
adrp x22, .L.str.1
add x22, x22, :lo12:.L.str.1
and w1, w26, #0xff
mov x0, x22
bl printk
ubfx w1, w26, #8, #8
mov x0, x22
bl printk
ubfx w1, w26, #16, #8
mov x0, x22
bl printk
mov x0, x22
mov w1, w21
bl printk
and w1, w25, #0xff
mov x0, x22
bl printk
ubfx w1, w25, #8, #8
mov x0, x22
bl printk
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
.LBB0_2:
mov x0, x19
bl skb_transport_header
mov x21, x0
ldr w4, [x19]
mov x1, sp
mov x0, x20
mov w2, #16 // =0x10
mov x3, x21
bl do_write
ldr w8, [x23, :lo12:debug]
ldr w9, [x24, :lo12:DEBUG_UPPER]
tst w9, w8
b.eq .LBB0_7
// %bb.3:
ldr w1, [x19]
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl printk
ldr w8, [x19]
cmp w8, #1
b.lt .LBB0_6
// %bb.4:
mov x23, xzr
adrp x22, .L.str.1
add x22, x22, :lo12:.L.str.1
.LBB0_5: // =>This Inner Loop Header: Depth=1
ldrb w1, [x21, x23]
mov x0, x22
bl printk
ldrsw x8, [x19]
add x23, x23, #1
cmp x23, x8
b.lt .LBB0_5
.LBB0_6:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl printk
.LBB0_7:
movi v0.2s, #1
ldr d1, [x20]
mov x0, x19
ld1 { v0.s }[0], [x19]
add v0.2s, v1.2s, v0.2s
str d0, [x20]
bl dev_kfree_skb
adrp x8, NETDEV_TX_OK
ldr w0, [x8, :lo12:NETDEV_TX_OK]
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x26, x25, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ltpc_xmit, .Lfunc_end0-ltpc_xmit
.cfi_endproc
// -- End function
.type LT_SENDLAP,@object // @LT_SENDLAP
.bss
.globl LT_SENDLAP
.p2align 2, 0x0
LT_SENDLAP:
.word 0 // 0x0
.size LT_SENDLAP, 4
.type debug,@object // @debug
.globl debug
.p2align 2, 0x0
debug:
.word 0 // 0x0
.size debug, 4
.type DEBUG_UPPER,@object // @DEBUG_UPPER
.globl DEBUG_UPPER
.p2align 2, 0x0
DEBUG_UPPER:
.word 0 // 0x0
.size DEBUG_UPPER, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "command "
.size .L.str, 9
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "%02x "
.size .L.str.1, 6
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "\n"
.size .L.str.2, 2
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "sent %d ddp bytes\n"
.size .L.str.3, 19
.type NETDEV_TX_OK,@object // @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.word 0 // 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_xmit
| .text
.file "extr_ltpc.c_ltpc_xmit.c"
.p2align 4, 0x90 # -- Begin function ltpc_xmit
.type ltpc_xmit,@function
ltpc_xmit: # @ltpc_xmit
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl LT_SENDLAP(%rip), %eax
movl %eax, -24(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movl 8(%rax), %eax
movl %eax, -32(%rbp)
movq -8(%rbp), %rdi
movl $3, %esi
callq skb_pull@PLT
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
movq -8(%rbp), %rdi
callq skb_reset_transport_header@PLT
movl debug(%rip), %eax
andl DEBUG_UPPER(%rip), %eax
cmpl $0, %eax
je .LBB0_6
# %bb.1:
leaq .L.str(%rip), %rdi
movb $0, %al
callq printk@PLT
movl $0, -20(%rbp)
.LBB0_2: # =>This Inner Loop Header: Depth=1
cmpl $6, -20(%rbp)
jge .LBB0_5
# %bb.3: # in Loop: Header=BB0_2 Depth=1
movslq -20(%rbp), %rax
movzbl -36(%rbp,%rax), %esi
leaq .L.str.1(%rip), %rdi
movb $0, %al
callq printk@PLT
# %bb.4: # in Loop: Header=BB0_2 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp .LBB0_2
.LBB0_5:
leaq .L.str.2(%rip), %rdi
movb $0, %al
callq printk@PLT
.LBB0_6:
movq -8(%rbp), %rdi
callq skb_transport_header@PLT
movq %rax, -48(%rbp)
movq -16(%rbp), %rdi
movq -48(%rbp), %rcx
movq -8(%rbp), %rax
movl (%rax), %r8d
leaq -36(%rbp), %rsi
movl $16, %edx
callq do_write@PLT
movl debug(%rip), %eax
andl DEBUG_UPPER(%rip), %eax
cmpl $0, %eax
je .LBB0_12
# %bb.7:
movq -8(%rbp), %rax
movl (%rax), %esi
leaq .L.str.3(%rip), %rdi
movb $0, %al
callq printk@PLT
movl $0, -20(%rbp)
.LBB0_8: # =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movq -8(%rbp), %rcx
cmpl (%rcx), %eax
jge .LBB0_11
# %bb.9: # in Loop: Header=BB0_8 Depth=1
movq -48(%rbp), %rax
movslq -20(%rbp), %rcx
movzbl (%rax,%rcx), %esi
leaq .L.str.1(%rip), %rdi
movb $0, %al
callq printk@PLT
# %bb.10: # in Loop: Header=BB0_8 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp .LBB0_8
.LBB0_11:
leaq .L.str.2(%rip), %rdi
movb $0, %al
callq printk@PLT
.LBB0_12:
movq -16(%rbp), %rax
movl 4(%rax), %ecx
addl $1, %ecx
movl %ecx, 4(%rax)
movq -8(%rbp), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
addl (%rax), %ecx
movl %ecx, (%rax)
movq -8(%rbp), %rdi
callq dev_kfree_skb@PLT
movl NETDEV_TX_OK(%rip), %eax
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ltpc_xmit, .Lfunc_end0-ltpc_xmit
.cfi_endproc
# -- End function
.type LT_SENDLAP,@object # @LT_SENDLAP
.bss
.globl LT_SENDLAP
.p2align 2, 0x0
LT_SENDLAP:
.long 0 # 0x0
.size LT_SENDLAP, 4
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_UPPER,@object # @DEBUG_UPPER
.globl DEBUG_UPPER
.p2align 2, 0x0
DEBUG_UPPER:
.long 0 # 0x0
.size DEBUG_UPPER, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "command "
.size .L.str, 9
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "%02x "
.size .L.str.1, 6
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "\n"
.size .L.str.2, 2
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "sent %d ddp bytes\n"
.size .L.str.3, 19
.type NETDEV_TX_OK,@object # @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.long 0 # 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_xmit
.addrsig_sym skb_pull
.addrsig_sym skb_reset_transport_header
.addrsig_sym printk
.addrsig_sym skb_transport_header
.addrsig_sym do_write
.addrsig_sym dev_kfree_skb
.addrsig_sym LT_SENDLAP
.addrsig_sym debug
.addrsig_sym DEBUG_UPPER
.addrsig_sym NETDEV_TX_OK
| .text
.file "extr_ltpc.c_ltpc_xmit.c"
.p2align 4, 0x90 # -- Begin function ltpc_xmit
.type ltpc_xmit,@function
ltpc_xmit: # @ltpc_xmit
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r13
.cfi_def_cfa_offset 32
pushq %r12
.cfi_def_cfa_offset 40
pushq %rbx
.cfi_def_cfa_offset 48
subq $16, %rsp
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r13, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rsi, %r14
movq %rdi, %rbx
movl LT_SENDLAP(%rip), %eax
movl %eax, 12(%rsp)
movq 8(%rdi), %rax
movl (%rax), %ecx
movl %ecx, 8(%rsp)
movl 8(%rax), %eax
movl %eax, 4(%rsp)
movl $3, %esi
callq skb_pull@PLT
movl (%rbx), %eax
movl %eax, (%rsp)
movq %rbx, %rdi
callq skb_reset_transport_header@PLT
movl DEBUG_UPPER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_4
# %bb.1:
leaq .L.str(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
leaq .L.str.1(%rip), %r15
xorl %r12d, %r12d
.p2align 4, 0x90
.LBB0_2: # =>This Inner Loop Header: Depth=1
movzbl (%rsp,%r12), %esi
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
incq %r12
cmpq $6, %r12
jne .LBB0_2
# %bb.3:
leaq .L.str.2(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_4:
movq %rbx, %rdi
callq skb_transport_header@PLT
movq %rax, %r15
movl (%rbx), %r8d
movq %rsp, %rsi
movq %r14, %rdi
movl $16, %edx
movq %rax, %rcx
callq do_write@PLT
movl DEBUG_UPPER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_9
# %bb.5:
movl (%rbx), %esi
leaq .L.str.3(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
cmpl $0, (%rbx)
jle .LBB0_8
# %bb.6:
leaq .L.str.1(%rip), %r12
xorl %r13d, %r13d
.p2align 4, 0x90
.LBB0_7: # =>This Inner Loop Header: Depth=1
movzbl (%r15,%r13), %esi
movq %r12, %rdi
xorl %eax, %eax
callq printk@PLT
incq %r13
movslq (%rbx), %rax
cmpq %rax, %r13
jl .LBB0_7
.LBB0_8:
leaq .L.str.2(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_9:
incl 4(%r14)
movl (%rbx), %eax
addl %eax, (%r14)
movq %rbx, %rdi
callq dev_kfree_skb@PLT
movl NETDEV_TX_OK(%rip), %eax
addq $16, %rsp
.cfi_def_cfa_offset 48
popq %rbx
.cfi_def_cfa_offset 40
popq %r12
.cfi_def_cfa_offset 32
popq %r13
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_xmit, .Lfunc_end0-ltpc_xmit
.cfi_endproc
# -- End function
.type LT_SENDLAP,@object # @LT_SENDLAP
.bss
.globl LT_SENDLAP
.p2align 2, 0x0
LT_SENDLAP:
.long 0 # 0x0
.size LT_SENDLAP, 4
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_UPPER,@object # @DEBUG_UPPER
.globl DEBUG_UPPER
.p2align 2, 0x0
DEBUG_UPPER:
.long 0 # 0x0
.size DEBUG_UPPER, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "command "
.size .L.str, 9
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "%02x "
.size .L.str.1, 6
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "\n"
.size .L.str.2, 2
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "sent %d ddp bytes\n"
.size .L.str.3, 19
.type NETDEV_TX_OK,@object # @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.long 0 # 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_xmit
| .text
.file "extr_ltpc.c_ltpc_xmit.c"
.section .rodata.cst16,"aM",@progbits,16
.p2align 4, 0x0 # -- Begin function ltpc_xmit
.LCPI0_0:
.zero 4
.long 1 # 0x1
.zero 4
.zero 4
.text
.p2align 4, 0x90
.type ltpc_xmit,@function
ltpc_xmit: # @ltpc_xmit
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $24, %rsp
.cfi_def_cfa_offset 80
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rsi, %r14
movq %rdi, %rbx
movl LT_SENDLAP(%rip), %eax
movl %eax, 20(%rsp)
movq 8(%rdi), %rax
movl (%rax), %ecx
movl %ecx, 16(%rsp)
movl 8(%rax), %eax
movl %eax, 4(%rsp) # 4-byte Spill
movl %eax, 12(%rsp)
movl $3, %esi
callq skb_pull@PLT
movl (%rbx), %eax
movl %eax, %r12d
movl %eax, 8(%rsp)
movq %rbx, %rdi
callq skb_reset_transport_header@PLT
movl DEBUG_UPPER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_2
# %bb.1:
movl %r12d, %r13d
shrl $24, %r13d
movl %r12d, %ebp
shrl $16, %ebp
leaq .L.str(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
movzbl %r12b, %esi
leaq .L.str.1(%rip), %r15
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
movl %r12d, %eax
movzbl %ah, %esi
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
movzbl %bpl, %esi
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
movq %r15, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq printk@PLT
movl 4(%rsp), %eax # 4-byte Reload
movzbl %al, %esi
movl %eax, %ebp
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
movl %ebp, %eax
movzbl %ah, %esi
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
leaq .L.str.2(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_2:
movq %rbx, %rdi
callq skb_transport_header@PLT
movq %rax, %r15
movl (%rbx), %r8d
leaq 8(%rsp), %rsi
movq %r14, %rdi
movl $16, %edx
movq %rax, %rcx
callq do_write@PLT
movl DEBUG_UPPER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_7
# %bb.3:
movl (%rbx), %esi
leaq .L.str.3(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
cmpl $0, (%rbx)
jle .LBB0_6
# %bb.4:
leaq .L.str.1(%rip), %r12
xorl %r13d, %r13d
.p2align 4, 0x90
.LBB0_5: # =>This Inner Loop Header: Depth=1
movzbl (%r15,%r13), %esi
movq %r12, %rdi
xorl %eax, %eax
callq printk@PLT
incq %r13
movslq (%rbx), %rax
cmpq %rax, %r13
jl .LBB0_5
.LBB0_6:
leaq .L.str.2(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_7:
movq (%r14), %xmm0 # xmm0 = mem[0],zero
movss (%rbx), %xmm1 # xmm1 = mem[0],zero,zero,zero
movaps .LCPI0_0(%rip), %xmm2 # xmm2 = <u,1,u,u>
movss %xmm1, %xmm2 # xmm2 = xmm1[0],xmm2[1,2,3]
paddd %xmm0, %xmm2
movq %xmm2, (%r14)
movq %rbx, %rdi
callq dev_kfree_skb@PLT
movl NETDEV_TX_OK(%rip), %eax
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_xmit, .Lfunc_end0-ltpc_xmit
.cfi_endproc
# -- End function
.type LT_SENDLAP,@object # @LT_SENDLAP
.bss
.globl LT_SENDLAP
.p2align 2, 0x0
LT_SENDLAP:
.long 0 # 0x0
.size LT_SENDLAP, 4
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_UPPER,@object # @DEBUG_UPPER
.globl DEBUG_UPPER
.p2align 2, 0x0
DEBUG_UPPER:
.long 0 # 0x0
.size DEBUG_UPPER, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "command "
.size .L.str, 9
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "%02x "
.size .L.str.1, 6
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "\n"
.size .L.str.2, 2
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "sent %d ddp bytes\n"
.size .L.str.3, 19
.type NETDEV_TX_OK,@object # @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.long 0 # 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_xmit
| .text
.file "extr_ltpc.c_ltpc_xmit.c"
.section .rodata.cst16,"aM",@progbits,16
.p2align 4, 0x0 # -- Begin function ltpc_xmit
.LCPI0_0:
.zero 4
.long 1 # 0x1
.zero 4
.zero 4
.text
.p2align 4, 0x90
.type ltpc_xmit,@function
ltpc_xmit: # @ltpc_xmit
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
subq $24, %rsp
.cfi_def_cfa_offset 80
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rsi, %r14
movq %rdi, %rbx
movl LT_SENDLAP(%rip), %eax
movl %eax, 20(%rsp)
movq 8(%rdi), %rax
movl (%rax), %ecx
movl %ecx, 16(%rsp)
movl 8(%rax), %eax
movl %eax, 4(%rsp) # 4-byte Spill
movl %eax, 12(%rsp)
movl $3, %esi
callq skb_pull@PLT
movl (%rbx), %eax
movl %eax, %r12d
movl %eax, 8(%rsp)
movq %rbx, %rdi
callq skb_reset_transport_header@PLT
movl DEBUG_UPPER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_2
# %bb.1:
movl %r12d, %r13d
shrl $24, %r13d
movl %r12d, %ebp
shrl $16, %ebp
leaq .L.str(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
movzbl %r12b, %esi
leaq .L.str.1(%rip), %r15
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
movl %r12d, %eax
movzbl %ah, %esi
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
movzbl %bpl, %esi
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
movq %r15, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq printk@PLT
movl 4(%rsp), %eax # 4-byte Reload
movzbl %al, %esi
movl %eax, %ebp
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
movl %ebp, %eax
movzbl %ah, %esi
movq %r15, %rdi
xorl %eax, %eax
callq printk@PLT
leaq .L.str.2(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_2:
movq %rbx, %rdi
callq skb_transport_header@PLT
movq %rax, %r15
movl (%rbx), %r8d
leaq 8(%rsp), %rsi
movq %r14, %rdi
movl $16, %edx
movq %rax, %rcx
callq do_write@PLT
movl DEBUG_UPPER(%rip), %eax
testl %eax, debug(%rip)
je .LBB0_7
# %bb.3:
movl (%rbx), %esi
leaq .L.str.3(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
cmpl $0, (%rbx)
jle .LBB0_6
# %bb.4:
leaq .L.str.1(%rip), %r12
xorl %r13d, %r13d
.p2align 4, 0x90
.LBB0_5: # =>This Inner Loop Header: Depth=1
movzbl (%r15,%r13), %esi
movq %r12, %rdi
xorl %eax, %eax
callq printk@PLT
incq %r13
movslq (%rbx), %rax
cmpq %rax, %r13
jl .LBB0_5
.LBB0_6:
leaq .L.str.2(%rip), %rdi
xorl %eax, %eax
callq printk@PLT
.LBB0_7:
movq (%r14), %xmm0 # xmm0 = mem[0],zero
movss (%rbx), %xmm1 # xmm1 = mem[0],zero,zero,zero
movaps .LCPI0_0(%rip), %xmm2 # xmm2 = <u,1,u,u>
movss %xmm1, %xmm2 # xmm2 = xmm1[0],xmm2[1,2,3]
paddd %xmm0, %xmm2
movq %xmm2, (%r14)
movq %rbx, %rdi
callq dev_kfree_skb@PLT
movl NETDEV_TX_OK(%rip), %eax
addq $24, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ltpc_xmit, .Lfunc_end0-ltpc_xmit
.cfi_endproc
# -- End function
.type LT_SENDLAP,@object # @LT_SENDLAP
.bss
.globl LT_SENDLAP
.p2align 2, 0x0
LT_SENDLAP:
.long 0 # 0x0
.size LT_SENDLAP, 4
.type debug,@object # @debug
.globl debug
.p2align 2, 0x0
debug:
.long 0 # 0x0
.size debug, 4
.type DEBUG_UPPER,@object # @DEBUG_UPPER
.globl DEBUG_UPPER
.p2align 2, 0x0
DEBUG_UPPER:
.long 0 # 0x0
.size DEBUG_UPPER, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "command "
.size .L.str, 9
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "%02x "
.size .L.str.1, 6
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "\n"
.size .L.str.2, 2
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "sent %d ddp bytes\n"
.size .L.str.3, 19
.type NETDEV_TX_OK,@object # @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.long 0 # 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ltpc_xmit
|
extr_bond_main.c_bond_set_xmit_hash_policy.c | .text
.file "extr_bond_main.c_bond_set_xmit_hash_policy.c"
.p2align 2 // -- Begin function bond_set_xmit_hash_policy
.type bond_set_xmit_hash_policy,@function
bond_set_xmit_hash_policy: // @bond_set_xmit_hash_policy
.cfi_startproc
// %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8, #4]
str w8, [sp, #4] // 4-byte Folded Spill
subs w8, w8, #128
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_1
.LBB0_1:
ldr w8, [sp, #4] // 4-byte Folded Reload
subs w8, w8, #129
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
ldr w8, [sp, #4] // 4-byte Folded Reload
subs w8, w8, #130
cset w8, eq
tbnz w8, #0, .LBB0_5
b .LBB0_6
.LBB0_3:
adrp x8, bond_xmit_hash_policy_l23
ldr w8, [x8, :lo12:bond_xmit_hash_policy_l23]
ldr x9, [sp, #8]
str w8, [x9]
b .LBB0_7
.LBB0_4:
adrp x8, bond_xmit_hash_policy_l34
ldr w8, [x8, :lo12:bond_xmit_hash_policy_l34]
ldr x9, [sp, #8]
str w8, [x9]
b .LBB0_7
.LBB0_5:
b .LBB0_6
.LBB0_6:
adrp x8, bond_xmit_hash_policy_l2
ldr w8, [x8, :lo12:bond_xmit_hash_policy_l2]
ldr x9, [sp, #8]
str w8, [x9]
b .LBB0_7
.LBB0_7:
add sp, sp, #16
.cfi_def_cfa_offset 0
ret
.Lfunc_end0:
.size bond_set_xmit_hash_policy, .Lfunc_end0-bond_set_xmit_hash_policy
.cfi_endproc
// -- End function
.type bond_xmit_hash_policy_l23,@object // @bond_xmit_hash_policy_l23
.bss
.globl bond_xmit_hash_policy_l23
.p2align 2, 0x0
bond_xmit_hash_policy_l23:
.word 0 // 0x0
.size bond_xmit_hash_policy_l23, 4
.type bond_xmit_hash_policy_l34,@object // @bond_xmit_hash_policy_l34
.globl bond_xmit_hash_policy_l34
.p2align 2, 0x0
bond_xmit_hash_policy_l34:
.word 0 // 0x0
.size bond_xmit_hash_policy_l34, 4
.type bond_xmit_hash_policy_l2,@object // @bond_xmit_hash_policy_l2
.globl bond_xmit_hash_policy_l2
.p2align 2, 0x0
bond_xmit_hash_policy_l2:
.word 0 // 0x0
.size bond_xmit_hash_policy_l2, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_xmit_hash_policy
.addrsig_sym bond_xmit_hash_policy_l23
.addrsig_sym bond_xmit_hash_policy_l34
.addrsig_sym bond_xmit_hash_policy_l2
| .text
.file "extr_bond_main.c_bond_set_xmit_hash_policy.c"
.p2align 2 // -- Begin function bond_set_xmit_hash_policy
.type bond_set_xmit_hash_policy,@function
bond_set_xmit_hash_policy: // @bond_set_xmit_hash_policy
.cfi_startproc
// %bb.0:
ldr w9, [x0, #4]
adrp x10, bond_xmit_hash_policy_l34
add x10, x10, :lo12:bond_xmit_hash_policy_l34
adrp x11, bond_xmit_hash_policy_l2
add x11, x11, :lo12:bond_xmit_hash_policy_l2
adrp x8, bond_xmit_hash_policy_l23
add x8, x8, :lo12:bond_xmit_hash_policy_l23
cmp w9, #128
csel x10, x10, x11, eq
cmp w9, #129
csel x8, x8, x10, eq
ldr w8, [x8]
str w8, [x0]
ret
.Lfunc_end0:
.size bond_set_xmit_hash_policy, .Lfunc_end0-bond_set_xmit_hash_policy
.cfi_endproc
// -- End function
.type bond_xmit_hash_policy_l23,@object // @bond_xmit_hash_policy_l23
.bss
.globl bond_xmit_hash_policy_l23
.p2align 2, 0x0
bond_xmit_hash_policy_l23:
.word 0 // 0x0
.size bond_xmit_hash_policy_l23, 4
.type bond_xmit_hash_policy_l34,@object // @bond_xmit_hash_policy_l34
.globl bond_xmit_hash_policy_l34
.p2align 2, 0x0
bond_xmit_hash_policy_l34:
.word 0 // 0x0
.size bond_xmit_hash_policy_l34, 4
.type bond_xmit_hash_policy_l2,@object // @bond_xmit_hash_policy_l2
.globl bond_xmit_hash_policy_l2
.p2align 2, 0x0
bond_xmit_hash_policy_l2:
.word 0 // 0x0
.size bond_xmit_hash_policy_l2, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_xmit_hash_policy
| .text
.file "extr_bond_main.c_bond_set_xmit_hash_policy.c"
.p2align 2 // -- Begin function bond_set_xmit_hash_policy
.type bond_set_xmit_hash_policy,@function
bond_set_xmit_hash_policy: // @bond_set_xmit_hash_policy
.cfi_startproc
// %bb.0:
ldr w9, [x0, #4]
adrp x10, bond_xmit_hash_policy_l34
add x10, x10, :lo12:bond_xmit_hash_policy_l34
adrp x11, bond_xmit_hash_policy_l2
add x11, x11, :lo12:bond_xmit_hash_policy_l2
adrp x8, bond_xmit_hash_policy_l23
add x8, x8, :lo12:bond_xmit_hash_policy_l23
cmp w9, #128
csel x10, x10, x11, eq
cmp w9, #129
csel x8, x8, x10, eq
ldr w8, [x8]
str w8, [x0]
ret
.Lfunc_end0:
.size bond_set_xmit_hash_policy, .Lfunc_end0-bond_set_xmit_hash_policy
.cfi_endproc
// -- End function
.type bond_xmit_hash_policy_l23,@object // @bond_xmit_hash_policy_l23
.bss
.globl bond_xmit_hash_policy_l23
.p2align 2, 0x0
bond_xmit_hash_policy_l23:
.word 0 // 0x0
.size bond_xmit_hash_policy_l23, 4
.type bond_xmit_hash_policy_l34,@object // @bond_xmit_hash_policy_l34
.globl bond_xmit_hash_policy_l34
.p2align 2, 0x0
bond_xmit_hash_policy_l34:
.word 0 // 0x0
.size bond_xmit_hash_policy_l34, 4
.type bond_xmit_hash_policy_l2,@object // @bond_xmit_hash_policy_l2
.globl bond_xmit_hash_policy_l2
.p2align 2, 0x0
bond_xmit_hash_policy_l2:
.word 0 // 0x0
.size bond_xmit_hash_policy_l2, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_xmit_hash_policy
| .text
.file "extr_bond_main.c_bond_set_xmit_hash_policy.c"
.p2align 2 // -- Begin function bond_set_xmit_hash_policy
.type bond_set_xmit_hash_policy,@function
bond_set_xmit_hash_policy: // @bond_set_xmit_hash_policy
.cfi_startproc
// %bb.0:
ldr w9, [x0, #4]
adrp x10, bond_xmit_hash_policy_l34
add x10, x10, :lo12:bond_xmit_hash_policy_l34
adrp x11, bond_xmit_hash_policy_l2
add x11, x11, :lo12:bond_xmit_hash_policy_l2
adrp x8, bond_xmit_hash_policy_l23
add x8, x8, :lo12:bond_xmit_hash_policy_l23
cmp w9, #128
csel x10, x10, x11, eq
cmp w9, #129
csel x8, x8, x10, eq
ldr w8, [x8]
str w8, [x0]
ret
.Lfunc_end0:
.size bond_set_xmit_hash_policy, .Lfunc_end0-bond_set_xmit_hash_policy
.cfi_endproc
// -- End function
.type bond_xmit_hash_policy_l23,@object // @bond_xmit_hash_policy_l23
.bss
.globl bond_xmit_hash_policy_l23
.p2align 2, 0x0
bond_xmit_hash_policy_l23:
.word 0 // 0x0
.size bond_xmit_hash_policy_l23, 4
.type bond_xmit_hash_policy_l34,@object // @bond_xmit_hash_policy_l34
.globl bond_xmit_hash_policy_l34
.p2align 2, 0x0
bond_xmit_hash_policy_l34:
.word 0 // 0x0
.size bond_xmit_hash_policy_l34, 4
.type bond_xmit_hash_policy_l2,@object // @bond_xmit_hash_policy_l2
.globl bond_xmit_hash_policy_l2
.p2align 2, 0x0
bond_xmit_hash_policy_l2:
.word 0 // 0x0
.size bond_xmit_hash_policy_l2, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_xmit_hash_policy
| .text
.file "extr_bond_main.c_bond_set_xmit_hash_policy.c"
.p2align 4, 0x90 # -- Begin function bond_set_xmit_hash_policy
.type bond_set_xmit_hash_policy,@function
bond_set_xmit_hash_policy: # @bond_set_xmit_hash_policy
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -12(%rbp) # 4-byte Spill
subl $128, %eax
je .LBB0_2
jmp .LBB0_6
.LBB0_6:
movl -12(%rbp), %eax # 4-byte Reload
subl $129, %eax
je .LBB0_1
jmp .LBB0_7
.LBB0_7:
movl -12(%rbp), %eax # 4-byte Reload
subl $130, %eax
je .LBB0_3
jmp .LBB0_4
.LBB0_1:
movl bond_xmit_hash_policy_l23(%rip), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
jmp .LBB0_5
.LBB0_2:
movl bond_xmit_hash_policy_l34(%rip), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
jmp .LBB0_5
.LBB0_3:
jmp .LBB0_4
.LBB0_4:
movl bond_xmit_hash_policy_l2(%rip), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
.LBB0_5:
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_set_xmit_hash_policy, .Lfunc_end0-bond_set_xmit_hash_policy
.cfi_endproc
# -- End function
.type bond_xmit_hash_policy_l23,@object # @bond_xmit_hash_policy_l23
.bss
.globl bond_xmit_hash_policy_l23
.p2align 2, 0x0
bond_xmit_hash_policy_l23:
.long 0 # 0x0
.size bond_xmit_hash_policy_l23, 4
.type bond_xmit_hash_policy_l34,@object # @bond_xmit_hash_policy_l34
.globl bond_xmit_hash_policy_l34
.p2align 2, 0x0
bond_xmit_hash_policy_l34:
.long 0 # 0x0
.size bond_xmit_hash_policy_l34, 4
.type bond_xmit_hash_policy_l2,@object # @bond_xmit_hash_policy_l2
.globl bond_xmit_hash_policy_l2
.p2align 2, 0x0
bond_xmit_hash_policy_l2:
.long 0 # 0x0
.size bond_xmit_hash_policy_l2, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_xmit_hash_policy
.addrsig_sym bond_xmit_hash_policy_l23
.addrsig_sym bond_xmit_hash_policy_l34
.addrsig_sym bond_xmit_hash_policy_l2
| .text
.file "extr_bond_main.c_bond_set_xmit_hash_policy.c"
.p2align 4, 0x90 # -- Begin function bond_set_xmit_hash_policy
.type bond_set_xmit_hash_policy,@function
bond_set_xmit_hash_policy: # @bond_set_xmit_hash_policy
.cfi_startproc
# %bb.0:
movl 4(%rdi), %eax
cmpl $128, %eax
leaq bond_xmit_hash_policy_l34(%rip), %rcx
leaq bond_xmit_hash_policy_l2(%rip), %rdx
cmoveq %rcx, %rdx
cmpl $129, %eax
leaq bond_xmit_hash_policy_l23(%rip), %rax
cmovneq %rdx, %rax
movl (%rax), %eax
movl %eax, (%rdi)
retq
.Lfunc_end0:
.size bond_set_xmit_hash_policy, .Lfunc_end0-bond_set_xmit_hash_policy
.cfi_endproc
# -- End function
.type bond_xmit_hash_policy_l23,@object # @bond_xmit_hash_policy_l23
.bss
.globl bond_xmit_hash_policy_l23
.p2align 2, 0x0
bond_xmit_hash_policy_l23:
.long 0 # 0x0
.size bond_xmit_hash_policy_l23, 4
.type bond_xmit_hash_policy_l34,@object # @bond_xmit_hash_policy_l34
.globl bond_xmit_hash_policy_l34
.p2align 2, 0x0
bond_xmit_hash_policy_l34:
.long 0 # 0x0
.size bond_xmit_hash_policy_l34, 4
.type bond_xmit_hash_policy_l2,@object # @bond_xmit_hash_policy_l2
.globl bond_xmit_hash_policy_l2
.p2align 2, 0x0
bond_xmit_hash_policy_l2:
.long 0 # 0x0
.size bond_xmit_hash_policy_l2, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_xmit_hash_policy
| .text
.file "extr_bond_main.c_bond_set_xmit_hash_policy.c"
.p2align 4, 0x90 # -- Begin function bond_set_xmit_hash_policy
.type bond_set_xmit_hash_policy,@function
bond_set_xmit_hash_policy: # @bond_set_xmit_hash_policy
.cfi_startproc
# %bb.0:
movl 4(%rdi), %eax
cmpl $128, %eax
leaq bond_xmit_hash_policy_l34(%rip), %rcx
leaq bond_xmit_hash_policy_l2(%rip), %rdx
cmoveq %rcx, %rdx
cmpl $129, %eax
leaq bond_xmit_hash_policy_l23(%rip), %rax
cmovneq %rdx, %rax
movl (%rax), %eax
movl %eax, (%rdi)
retq
.Lfunc_end0:
.size bond_set_xmit_hash_policy, .Lfunc_end0-bond_set_xmit_hash_policy
.cfi_endproc
# -- End function
.type bond_xmit_hash_policy_l23,@object # @bond_xmit_hash_policy_l23
.bss
.globl bond_xmit_hash_policy_l23
.p2align 2, 0x0
bond_xmit_hash_policy_l23:
.long 0 # 0x0
.size bond_xmit_hash_policy_l23, 4
.type bond_xmit_hash_policy_l34,@object # @bond_xmit_hash_policy_l34
.globl bond_xmit_hash_policy_l34
.p2align 2, 0x0
bond_xmit_hash_policy_l34:
.long 0 # 0x0
.size bond_xmit_hash_policy_l34, 4
.type bond_xmit_hash_policy_l2,@object # @bond_xmit_hash_policy_l2
.globl bond_xmit_hash_policy_l2
.p2align 2, 0x0
bond_xmit_hash_policy_l2:
.long 0 # 0x0
.size bond_xmit_hash_policy_l2, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_xmit_hash_policy
| .text
.file "extr_bond_main.c_bond_set_xmit_hash_policy.c"
.p2align 4, 0x90 # -- Begin function bond_set_xmit_hash_policy
.type bond_set_xmit_hash_policy,@function
bond_set_xmit_hash_policy: # @bond_set_xmit_hash_policy
.cfi_startproc
# %bb.0:
movl 4(%rdi), %eax
cmpl $128, %eax
leaq bond_xmit_hash_policy_l34(%rip), %rcx
leaq bond_xmit_hash_policy_l2(%rip), %rdx
cmoveq %rcx, %rdx
cmpl $129, %eax
leaq bond_xmit_hash_policy_l23(%rip), %rax
cmovneq %rdx, %rax
movl (%rax), %eax
movl %eax, (%rdi)
retq
.Lfunc_end0:
.size bond_set_xmit_hash_policy, .Lfunc_end0-bond_set_xmit_hash_policy
.cfi_endproc
# -- End function
.type bond_xmit_hash_policy_l23,@object # @bond_xmit_hash_policy_l23
.bss
.globl bond_xmit_hash_policy_l23
.p2align 2, 0x0
bond_xmit_hash_policy_l23:
.long 0 # 0x0
.size bond_xmit_hash_policy_l23, 4
.type bond_xmit_hash_policy_l34,@object # @bond_xmit_hash_policy_l34
.globl bond_xmit_hash_policy_l34
.p2align 2, 0x0
bond_xmit_hash_policy_l34:
.long 0 # 0x0
.size bond_xmit_hash_policy_l34, 4
.type bond_xmit_hash_policy_l2,@object # @bond_xmit_hash_policy_l2
.globl bond_xmit_hash_policy_l2
.p2align 2, 0x0
bond_xmit_hash_policy_l2:
.long 0 # 0x0
.size bond_xmit_hash_policy_l2, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_xmit_hash_policy
|
extr_bonding.h_bond_set_slave_active_flags.c | .text
.file "extr_bonding.h_bond_set_slave_active_flags.c"
.p2align 2 // -- Begin function bond_set_slave_active_flags
.type bond_set_slave_active_flags,@function
bond_set_slave_active_flags: // @bond_set_slave_active_flags
.cfi_startproc
// %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
adrp x8, BOND_STATE_ACTIVE
ldr w8, [x8, :lo12:BOND_STATE_ACTIVE]
ldr x9, [sp, #8]
str w8, [x9, #8]
adrp x8, IFF_SLAVE_INACTIVE
ldr w8, [x8, :lo12:IFF_SLAVE_INACTIVE]
adrp x9, IFF_SLAVE_NEEDARP
ldr w9, [x9, :lo12:IFF_SLAVE_NEEDARP]
orr w10, w8, w9
ldr x8, [sp, #8]
ldr x9, [x8]
ldr w8, [x9]
bic w8, w8, w10
str w8, [x9]
add sp, sp, #16
.cfi_def_cfa_offset 0
ret
.Lfunc_end0:
.size bond_set_slave_active_flags, .Lfunc_end0-bond_set_slave_active_flags
.cfi_endproc
// -- End function
.type BOND_STATE_ACTIVE,@object // @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 2, 0x0
BOND_STATE_ACTIVE:
.word 0 // 0x0
.size BOND_STATE_ACTIVE, 4
.type IFF_SLAVE_INACTIVE,@object // @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.word 0 // 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object // @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.word 0 // 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_active_flags
.addrsig_sym BOND_STATE_ACTIVE
.addrsig_sym IFF_SLAVE_INACTIVE
.addrsig_sym IFF_SLAVE_NEEDARP
| .text
.file "extr_bonding.h_bond_set_slave_active_flags.c"
.p2align 2 // -- Begin function bond_set_slave_active_flags
.type bond_set_slave_active_flags,@function
bond_set_slave_active_flags: // @bond_set_slave_active_flags
.cfi_startproc
// %bb.0:
adrp x8, IFF_SLAVE_INACTIVE
adrp x9, IFF_SLAVE_NEEDARP
ldr x10, [x0]
adrp x11, BOND_STATE_ACTIVE
ldr w8, [x8, :lo12:IFF_SLAVE_INACTIVE]
ldr w9, [x9, :lo12:IFF_SLAVE_NEEDARP]
ldr w12, [x10]
ldr w11, [x11, :lo12:BOND_STATE_ACTIVE]
orr w8, w9, w8
bic w8, w12, w8
str w11, [x0, #8]
str w8, [x10]
ret
.Lfunc_end0:
.size bond_set_slave_active_flags, .Lfunc_end0-bond_set_slave_active_flags
.cfi_endproc
// -- End function
.type BOND_STATE_ACTIVE,@object // @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 2, 0x0
BOND_STATE_ACTIVE:
.word 0 // 0x0
.size BOND_STATE_ACTIVE, 4
.type IFF_SLAVE_INACTIVE,@object // @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.word 0 // 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object // @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.word 0 // 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_active_flags
| .text
.file "extr_bonding.h_bond_set_slave_active_flags.c"
.p2align 2 // -- Begin function bond_set_slave_active_flags
.type bond_set_slave_active_flags,@function
bond_set_slave_active_flags: // @bond_set_slave_active_flags
.cfi_startproc
// %bb.0:
adrp x8, IFF_SLAVE_INACTIVE
adrp x9, IFF_SLAVE_NEEDARP
ldr x10, [x0]
adrp x11, BOND_STATE_ACTIVE
ldr w8, [x8, :lo12:IFF_SLAVE_INACTIVE]
ldr w9, [x9, :lo12:IFF_SLAVE_NEEDARP]
ldr w12, [x10]
ldr w11, [x11, :lo12:BOND_STATE_ACTIVE]
orr w8, w9, w8
bic w8, w12, w8
str w11, [x0, #8]
str w8, [x10]
ret
.Lfunc_end0:
.size bond_set_slave_active_flags, .Lfunc_end0-bond_set_slave_active_flags
.cfi_endproc
// -- End function
.type BOND_STATE_ACTIVE,@object // @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 2, 0x0
BOND_STATE_ACTIVE:
.word 0 // 0x0
.size BOND_STATE_ACTIVE, 4
.type IFF_SLAVE_INACTIVE,@object // @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.word 0 // 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object // @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.word 0 // 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_active_flags
| .text
.file "extr_bonding.h_bond_set_slave_active_flags.c"
.p2align 2 // -- Begin function bond_set_slave_active_flags
.type bond_set_slave_active_flags,@function
bond_set_slave_active_flags: // @bond_set_slave_active_flags
.cfi_startproc
// %bb.0:
adrp x8, IFF_SLAVE_INACTIVE
adrp x9, IFF_SLAVE_NEEDARP
ldr x10, [x0]
adrp x11, BOND_STATE_ACTIVE
ldr w8, [x8, :lo12:IFF_SLAVE_INACTIVE]
ldr w9, [x9, :lo12:IFF_SLAVE_NEEDARP]
ldr w12, [x10]
ldr w11, [x11, :lo12:BOND_STATE_ACTIVE]
orr w8, w9, w8
bic w8, w12, w8
str w11, [x0, #8]
str w8, [x10]
ret
.Lfunc_end0:
.size bond_set_slave_active_flags, .Lfunc_end0-bond_set_slave_active_flags
.cfi_endproc
// -- End function
.type BOND_STATE_ACTIVE,@object // @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 2, 0x0
BOND_STATE_ACTIVE:
.word 0 // 0x0
.size BOND_STATE_ACTIVE, 4
.type IFF_SLAVE_INACTIVE,@object // @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.word 0 // 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object // @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.word 0 // 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_active_flags
| .text
.file "extr_bonding.h_bond_set_slave_active_flags.c"
.p2align 4, 0x90 # -- Begin function bond_set_slave_active_flags
.type bond_set_slave_active_flags,@function
bond_set_slave_active_flags: # @bond_set_slave_active_flags
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl BOND_STATE_ACTIVE(%rip), %ecx
movq -8(%rbp), %rax
movl %ecx, 8(%rax)
movl IFF_SLAVE_INACTIVE(%rip), %ecx
orl IFF_SLAVE_NEEDARP(%rip), %ecx
xorl $-1, %ecx
movq -8(%rbp), %rax
movq (%rax), %rax
andl (%rax), %ecx
movl %ecx, (%rax)
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_set_slave_active_flags, .Lfunc_end0-bond_set_slave_active_flags
.cfi_endproc
# -- End function
.type BOND_STATE_ACTIVE,@object # @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 2, 0x0
BOND_STATE_ACTIVE:
.long 0 # 0x0
.size BOND_STATE_ACTIVE, 4
.type IFF_SLAVE_INACTIVE,@object # @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.long 0 # 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object # @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.long 0 # 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_active_flags
.addrsig_sym BOND_STATE_ACTIVE
.addrsig_sym IFF_SLAVE_INACTIVE
.addrsig_sym IFF_SLAVE_NEEDARP
| .text
.file "extr_bonding.h_bond_set_slave_active_flags.c"
.p2align 4, 0x90 # -- Begin function bond_set_slave_active_flags
.type bond_set_slave_active_flags,@function
bond_set_slave_active_flags: # @bond_set_slave_active_flags
.cfi_startproc
# %bb.0:
movl BOND_STATE_ACTIVE(%rip), %eax
movl %eax, 8(%rdi)
movl IFF_SLAVE_NEEDARP(%rip), %eax
orl IFF_SLAVE_INACTIVE(%rip), %eax
notl %eax
movq (%rdi), %rcx
andl %eax, (%rcx)
retq
.Lfunc_end0:
.size bond_set_slave_active_flags, .Lfunc_end0-bond_set_slave_active_flags
.cfi_endproc
# -- End function
.type BOND_STATE_ACTIVE,@object # @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 2, 0x0
BOND_STATE_ACTIVE:
.long 0 # 0x0
.size BOND_STATE_ACTIVE, 4
.type IFF_SLAVE_INACTIVE,@object # @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.long 0 # 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object # @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.long 0 # 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_active_flags
| .text
.file "extr_bonding.h_bond_set_slave_active_flags.c"
.p2align 4, 0x90 # -- Begin function bond_set_slave_active_flags
.type bond_set_slave_active_flags,@function
bond_set_slave_active_flags: # @bond_set_slave_active_flags
.cfi_startproc
# %bb.0:
movl BOND_STATE_ACTIVE(%rip), %eax
movl %eax, 8(%rdi)
movl IFF_SLAVE_NEEDARP(%rip), %eax
orl IFF_SLAVE_INACTIVE(%rip), %eax
notl %eax
movq (%rdi), %rcx
andl %eax, (%rcx)
retq
.Lfunc_end0:
.size bond_set_slave_active_flags, .Lfunc_end0-bond_set_slave_active_flags
.cfi_endproc
# -- End function
.type BOND_STATE_ACTIVE,@object # @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 2, 0x0
BOND_STATE_ACTIVE:
.long 0 # 0x0
.size BOND_STATE_ACTIVE, 4
.type IFF_SLAVE_INACTIVE,@object # @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.long 0 # 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object # @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.long 0 # 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_active_flags
| .text
.file "extr_bonding.h_bond_set_slave_active_flags.c"
.p2align 4, 0x90 # -- Begin function bond_set_slave_active_flags
.type bond_set_slave_active_flags,@function
bond_set_slave_active_flags: # @bond_set_slave_active_flags
.cfi_startproc
# %bb.0:
movl BOND_STATE_ACTIVE(%rip), %eax
movl %eax, 8(%rdi)
movl IFF_SLAVE_NEEDARP(%rip), %eax
orl IFF_SLAVE_INACTIVE(%rip), %eax
notl %eax
movq (%rdi), %rcx
andl %eax, (%rcx)
retq
.Lfunc_end0:
.size bond_set_slave_active_flags, .Lfunc_end0-bond_set_slave_active_flags
.cfi_endproc
# -- End function
.type BOND_STATE_ACTIVE,@object # @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 2, 0x0
BOND_STATE_ACTIVE:
.long 0 # 0x0
.size BOND_STATE_ACTIVE, 4
.type IFF_SLAVE_INACTIVE,@object # @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.long 0 # 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object # @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.long 0 # 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_active_flags
|
extr_bond_main.c_bond_deinit.c | .text
.file "extr_bond_main.c_bond_deinit.c"
.p2align 2 // -- Begin function bond_deinit
.type bond_deinit,@function
bond_deinit: // @bond_deinit
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl netdev_priv
str x0, [sp]
ldr x0, [sp]
bl list_del
ldr x0, [sp]
bl bond_work_cancel_all
ldr x0, [sp]
bl bond_remove_proc_entry
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_deinit, .Lfunc_end0-bond_deinit
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_deinit
.addrsig_sym netdev_priv
.addrsig_sym list_del
.addrsig_sym bond_work_cancel_all
.addrsig_sym bond_remove_proc_entry
| .text
.file "extr_bond_main.c_bond_deinit.c"
.p2align 2 // -- Begin function bond_deinit
.type bond_deinit,@function
bond_deinit: // @bond_deinit
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
bl netdev_priv
mov x19, x0
bl list_del
mov x0, x19
bl bond_work_cancel_all
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b bond_remove_proc_entry
.Lfunc_end0:
.size bond_deinit, .Lfunc_end0-bond_deinit
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_deinit
| .text
.file "extr_bond_main.c_bond_deinit.c"
.p2align 2 // -- Begin function bond_deinit
.type bond_deinit,@function
bond_deinit: // @bond_deinit
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
bl netdev_priv
mov x19, x0
bl list_del
mov x0, x19
bl bond_work_cancel_all
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b bond_remove_proc_entry
.Lfunc_end0:
.size bond_deinit, .Lfunc_end0-bond_deinit
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_deinit
| .text
.file "extr_bond_main.c_bond_deinit.c"
.p2align 2 // -- Begin function bond_deinit
.type bond_deinit,@function
bond_deinit: // @bond_deinit
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
bl netdev_priv
mov x19, x0
bl list_del
mov x0, x19
bl bond_work_cancel_all
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b bond_remove_proc_entry
.Lfunc_end0:
.size bond_deinit, .Lfunc_end0-bond_deinit
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_deinit
| .text
.file "extr_bond_main.c_bond_deinit.c"
.p2align 4, 0x90 # -- Begin function bond_deinit
.type bond_deinit,@function
bond_deinit: # @bond_deinit
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq netdev_priv@PLT
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
callq list_del@PLT
movq -16(%rbp), %rdi
callq bond_work_cancel_all@PLT
movq -16(%rbp), %rdi
callq bond_remove_proc_entry@PLT
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_deinit, .Lfunc_end0-bond_deinit
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_deinit
.addrsig_sym netdev_priv
.addrsig_sym list_del
.addrsig_sym bond_work_cancel_all
.addrsig_sym bond_remove_proc_entry
| .text
.file "extr_bond_main.c_bond_deinit.c"
.p2align 4, 0x90 # -- Begin function bond_deinit
.type bond_deinit,@function
bond_deinit: # @bond_deinit
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
callq netdev_priv@PLT
movq %rax, %rbx
movq %rax, %rdi
callq list_del@PLT
movq %rbx, %rdi
callq bond_work_cancel_all@PLT
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp bond_remove_proc_entry@PLT # TAILCALL
.Lfunc_end0:
.size bond_deinit, .Lfunc_end0-bond_deinit
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_deinit
| .text
.file "extr_bond_main.c_bond_deinit.c"
.p2align 4, 0x90 # -- Begin function bond_deinit
.type bond_deinit,@function
bond_deinit: # @bond_deinit
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
callq netdev_priv@PLT
movq %rax, %rbx
movq %rax, %rdi
callq list_del@PLT
movq %rbx, %rdi
callq bond_work_cancel_all@PLT
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp bond_remove_proc_entry@PLT # TAILCALL
.Lfunc_end0:
.size bond_deinit, .Lfunc_end0-bond_deinit
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_deinit
| .text
.file "extr_bond_main.c_bond_deinit.c"
.p2align 4, 0x90 # -- Begin function bond_deinit
.type bond_deinit,@function
bond_deinit: # @bond_deinit
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
callq netdev_priv@PLT
movq %rax, %rbx
movq %rax, %rdi
callq list_del@PLT
movq %rbx, %rdi
callq bond_work_cancel_all@PLT
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp bond_remove_proc_entry@PLT # TAILCALL
.Lfunc_end0:
.size bond_deinit, .Lfunc_end0-bond_deinit
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_deinit
|
extr_bond_3ad.c_ad_mux_machine.c | .text
.file "extr_bond_3ad.c_ad_mux_machine.c"
.p2align 2 // -- Begin function ad_mux_machine
.type ad_mux_machine,@function
ad_mux_machine: // @ad_mux_machine
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8]
stur x8, [x29, #-16]
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_BEGIN
ldr w9, [x9, :lo12:AD_PORT_BEGIN]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldur x9, [x29, #-8]
mov x8, #129 // =0x81
str x8, [x9]
b .LBB0_38
.LBB0_2:
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #128
stur x8, [x29, #-24] // 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, .LBB0_36
// %bb.3:
ldur x11, [x29, #-24] // 8-byte Folded Reload
adrp x10, .LJTI0_0
add x10, x10, :lo12:.LJTI0_0
.Ltmp0:
adr x8, .Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
.LBB0_4:
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_7
b .LBB0_6
.LBB0_6:
ldur x9, [x29, #-8]
mov x8, #128 // =0x80
str x8, [x9]
b .LBB0_7
.LBB0_7:
b .LBB0_37
.LBB0_8:
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_10
b .LBB0_9
.LBB0_9:
adrp x8, AD_PORT_READY_N
ldr w10, [x8, :lo12:AD_PORT_READY_N]
ldur x9, [x29, #-8]
ldr w8, [x9, #8]
bic w8, w8, w10
str w8, [x9, #8]
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
str x8, [sp, #32] // 8-byte Folded Spill
ldur x8, [x29, #-8]
ldr x0, [x8, #32]
bl __agg_ports_are_ready
mov w1, w0
ldr x0, [sp, #32] // 8-byte Folded Reload
bl __set_agg_ports_ready
ldur x9, [x29, #-8]
mov x8, #129 // =0x81
str x8, [x9]
b .LBB0_37
.LBB0_10:
ldur x8, [x29, #-8]
ldr w8, [x8, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_13
b .LBB0_11
.LBB0_11:
ldur x9, [x29, #-8]
ldr w8, [x9, #20]
subs w8, w8, #1
str w8, [x9, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_13
b .LBB0_12
.LBB0_12:
adrp x8, AD_PORT_READY_N
ldr w10, [x8, :lo12:AD_PORT_READY_N]
ldur x9, [x29, #-8]
ldr w8, [x9, #8]
orr w8, w8, w10
str w8, [x9, #8]
b .LBB0_13
.LBB0_13:
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
str x8, [sp, #24] // 8-byte Folded Spill
ldur x8, [x29, #-8]
ldr x0, [x8, #32]
bl __agg_ports_are_ready
mov w1, w0
ldr x0, [sp, #24] // 8-byte Folded Reload
bl __set_agg_ports_ready
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_READY
ldr w9, [x9, :lo12:AD_PORT_READY]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_16
b .LBB0_14
.LBB0_14:
ldur x8, [x29, #-8]
ldr w8, [x8, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_16
b .LBB0_15
.LBB0_15:
ldur x9, [x29, #-8]
mov x8, #131 // =0x83
str x8, [x9]
b .LBB0_16
.LBB0_16:
b .LBB0_37
.LBB0_17:
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_21
b .LBB0_18
.LBB0_18:
ldur x8, [x29, #-8]
ldr w8, [x8, #40]
adrp x9, AD_STATE_SYNCHRONIZATION
ldr w9, [x9, :lo12:AD_STATE_SYNCHRONIZATION]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_21
b .LBB0_19
.LBB0_19:
ldur x0, [x29, #-8]
bl __check_agg_selection_timer
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, .LBB0_21
b .LBB0_20
.LBB0_20:
ldur x9, [x29, #-8]
mov x8, #130 // =0x82
str x8, [x9]
b .LBB0_25
.LBB0_21:
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_23
b .LBB0_22
.LBB0_22:
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_24
b .LBB0_23
.LBB0_23:
adrp x8, AD_PORT_READY_N
ldr w10, [x8, :lo12:AD_PORT_READY_N]
ldur x9, [x29, #-8]
ldr w8, [x9, #8]
bic w8, w8, w10
str w8, [x9, #8]
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
str x8, [sp, #16] // 8-byte Folded Spill
ldur x8, [x29, #-8]
ldr x0, [x8, #32]
bl __agg_ports_are_ready
mov w1, w0
ldr x0, [sp, #16] // 8-byte Folded Reload
bl __set_agg_ports_ready
ldur x9, [x29, #-8]
mov x8, #129 // =0x81
str x8, [x9]
b .LBB0_24
.LBB0_24:
b .LBB0_25
.LBB0_25:
b .LBB0_37
.LBB0_26:
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_29
b .LBB0_27
.LBB0_27:
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_29
b .LBB0_28
.LBB0_28:
ldur x8, [x29, #-8]
ldr w8, [x8, #40]
adrp x9, AD_STATE_SYNCHRONIZATION
ldr w9, [x9, :lo12:AD_STATE_SYNCHRONIZATION]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_30
b .LBB0_29
.LBB0_29:
ldur x9, [x29, #-8]
mov x8, #131 // =0x83
str x8, [x9]
b .LBB0_35
.LBB0_30:
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_34
b .LBB0_31
.LBB0_31:
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_34
b .LBB0_32
.LBB0_32:
ldur x0, [x29, #-8]
bl __port_is_enabled
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, .LBB0_34
b .LBB0_33
.LBB0_33:
ldur x0, [x29, #-8]
bl __enable_port
b .LBB0_34
.LBB0_34:
b .LBB0_35
.LBB0_35:
b .LBB0_37
.LBB0_36:
b .LBB0_37
.LBB0_37:
b .LBB0_38
.LBB0_38:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, .LBB0_47
b .LBB0_39
.LBB0_39:
ldur x8, [x29, #-8]
ldr w1, [x8, #24]
ldur x2, [x29, #-16]
ldur x8, [x29, #-8]
ldr x3, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #128
str x8, [sp, #8] // 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, .LBB0_45
// %bb.40:
ldr x11, [sp, #8] // 8-byte Folded Reload
adrp x10, .LJTI0_1
add x10, x10, :lo12:.LJTI0_1
.Ltmp1:
adr x8, .Ltmp1
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
.LBB0_41:
ldur x0, [x29, #-8]
bl __detach_bond_from_agg
adrp x8, AD_STATE_SYNCHRONIZATION
ldr w10, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
ldur x9, [x29, #-8]
ldr w8, [x9, #12]
bic w8, w8, w10
str w8, [x9, #12]
ldur x0, [x29, #-8]
bl ad_disable_collecting_distributing
adrp x8, AD_STATE_COLLECTING
ldr w10, [x8, :lo12:AD_STATE_COLLECTING]
ldur x9, [x29, #-8]
ldr w8, [x9, #12]
bic w8, w8, w10
str w8, [x9, #12]
adrp x8, AD_STATE_DISTRIBUTING
ldr w10, [x8, :lo12:AD_STATE_DISTRIBUTING]
ldur x9, [x29, #-8]
ldr w8, [x9, #12]
bic w8, w8, w10
str w8, [x9, #12]
ldur x9, [x29, #-8]
mov w8, #1 // =0x1
str w8, [x9, #16]
b .LBB0_46
.LBB0_42:
adrp x8, AD_WAIT_WHILE_TIMER
ldr w0, [x8, :lo12:AD_WAIT_WHILE_TIMER]
mov w1, wzr
bl __ad_timer_to_ticks
ldur x8, [x29, #-8]
str w0, [x8, #20]
b .LBB0_46
.LBB0_43:
ldur x0, [x29, #-8]
bl __attach_bond_to_agg
adrp x8, AD_STATE_SYNCHRONIZATION
ldr w10, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
ldur x9, [x29, #-8]
ldr w8, [x9, #12]
orr w8, w8, w10
str w8, [x9, #12]
adrp x8, AD_STATE_COLLECTING
ldr w10, [x8, :lo12:AD_STATE_COLLECTING]
ldur x9, [x29, #-8]
ldr w8, [x9, #12]
bic w8, w8, w10
str w8, [x9, #12]
adrp x8, AD_STATE_DISTRIBUTING
ldr w10, [x8, :lo12:AD_STATE_DISTRIBUTING]
ldur x9, [x29, #-8]
ldr w8, [x9, #12]
bic w8, w8, w10
str w8, [x9, #12]
ldur x0, [x29, #-8]
bl ad_disable_collecting_distributing
ldur x9, [x29, #-8]
mov w8, #1 // =0x1
str w8, [x9, #16]
b .LBB0_46
.LBB0_44:
adrp x8, AD_STATE_COLLECTING
ldr w10, [x8, :lo12:AD_STATE_COLLECTING]
ldur x9, [x29, #-8]
ldr w8, [x9, #12]
orr w8, w8, w10
str w8, [x9, #12]
adrp x8, AD_STATE_DISTRIBUTING
ldr w10, [x8, :lo12:AD_STATE_DISTRIBUTING]
ldur x9, [x29, #-8]
ldr w8, [x9, #12]
orr w8, w8, w10
str w8, [x9, #12]
ldur x0, [x29, #-8]
bl ad_enable_collecting_distributing
ldur x9, [x29, #-8]
mov w8, #1 // =0x1
str w8, [x9, #16]
b .LBB0_46
.LBB0_45:
b .LBB0_46
.LBB0_46:
b .LBB0_47
.LBB0_47:
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_mux_machine, .Lfunc_end0-ad_mux_machine
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.word .LBB0_8-.Ltmp0
.word .LBB0_4-.Ltmp0
.word .LBB0_26-.Ltmp0
.word .LBB0_17-.Ltmp0
.p2align 2, 0x0
.LJTI0_1:
.word .LBB0_42-.Ltmp1
.word .LBB0_41-.Ltmp1
.word .LBB0_44-.Ltmp1
.word .LBB0_43-.Ltmp1
// -- End function
.type AD_PORT_BEGIN,@object // @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.word 0 // 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.type AD_PORT_STANDBY,@object // @AD_PORT_STANDBY
.globl AD_PORT_STANDBY
.p2align 2, 0x0
AD_PORT_STANDBY:
.word 0 // 0x0
.size AD_PORT_STANDBY, 4
.type AD_PORT_READY_N,@object // @AD_PORT_READY_N
.globl AD_PORT_READY_N
.p2align 2, 0x0
AD_PORT_READY_N:
.word 0 // 0x0
.size AD_PORT_READY_N, 4
.type AD_PORT_READY,@object // @AD_PORT_READY
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.word 0 // 0x0
.size AD_PORT_READY, 4
.type AD_STATE_SYNCHRONIZATION,@object // @AD_STATE_SYNCHRONIZATION
.globl AD_STATE_SYNCHRONIZATION
.p2align 2, 0x0
AD_STATE_SYNCHRONIZATION:
.word 0 // 0x0
.size AD_STATE_SYNCHRONIZATION, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Mux Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 52
.type AD_STATE_COLLECTING,@object // @AD_STATE_COLLECTING
.bss
.globl AD_STATE_COLLECTING
.p2align 2, 0x0
AD_STATE_COLLECTING:
.word 0 // 0x0
.size AD_STATE_COLLECTING, 4
.type AD_STATE_DISTRIBUTING,@object // @AD_STATE_DISTRIBUTING
.globl AD_STATE_DISTRIBUTING
.p2align 2, 0x0
AD_STATE_DISTRIBUTING:
.word 0 // 0x0
.size AD_STATE_DISTRIBUTING, 4
.type AD_WAIT_WHILE_TIMER,@object // @AD_WAIT_WHILE_TIMER
.globl AD_WAIT_WHILE_TIMER
.p2align 2, 0x0
AD_WAIT_WHILE_TIMER:
.word 0 // 0x0
.size AD_WAIT_WHILE_TIMER, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_mux_machine
.addrsig_sym __set_agg_ports_ready
.addrsig_sym __agg_ports_are_ready
.addrsig_sym __check_agg_selection_timer
.addrsig_sym __port_is_enabled
.addrsig_sym __enable_port
.addrsig_sym pr_debug
.addrsig_sym __detach_bond_from_agg
.addrsig_sym ad_disable_collecting_distributing
.addrsig_sym __ad_timer_to_ticks
.addrsig_sym __attach_bond_to_agg
.addrsig_sym ad_enable_collecting_distributing
.addrsig_sym AD_PORT_BEGIN
.addrsig_sym AD_PORT_SELECTED
.addrsig_sym AD_PORT_STANDBY
.addrsig_sym AD_PORT_READY_N
.addrsig_sym AD_PORT_READY
.addrsig_sym AD_STATE_SYNCHRONIZATION
.addrsig_sym AD_STATE_COLLECTING
.addrsig_sym AD_STATE_DISTRIBUTING
.addrsig_sym AD_WAIT_WHILE_TIMER
| .text
.file "extr_bond_3ad.c_ad_mux_machine.c"
.p2align 2 // -- Begin function ad_mux_machine
.type ad_mux_machine,@function
ad_mux_machine: // @ad_mux_machine
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
adrp x9, AD_PORT_BEGIN
ldr w8, [x0, #8]
mov x19, x0
ldr x20, [x0]
ldr w9, [x9, :lo12:AD_PORT_BEGIN]
tst w9, w8
b.eq .LBB0_7
.LBB0_1:
mov w8, #129 // =0x81
.LBB0_2:
str x8, [x19]
.LBB0_3:
ldr x3, [x19]
cmp x3, x20
b.eq .LBB0_19
// %bb.4:
ldr w1, [x19, #24]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
mov x2, x20
bl pr_debug
ldr x8, [x19]
sub x8, x8, #128
cmp x8, #3
b.hi .LBB0_19
// %bb.5:
adrp x9, .LJTI0_1
add x9, x9, :lo12:.LJTI0_1
adr x10, .LBB0_6
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_6:
adrp x8, AD_WAIT_WHILE_TIMER
mov w1, wzr
ldr w0, [x8, :lo12:AD_WAIT_WHILE_TIMER]
bl __ad_timer_to_ticks
str w0, [x19, #20]
b .LBB0_19
.LBB0_7:
sub x9, x20, #128
cmp x9, #3
b.hi .LBB0_3
// %bb.8:
adrp x10, .LJTI0_0
add x10, x10, :lo12:.LJTI0_0
adr x11, .LBB0_9
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
.LBB0_9:
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_31
// %bb.10:
ldr w9, [x19, #20]
cbz w9, .LBB0_13
// %bb.11:
subs w9, w9, #1
str w9, [x19, #20]
b.ne .LBB0_13
// %bb.12:
adrp x9, AD_PORT_READY_N
ldr w9, [x9, :lo12:AD_PORT_READY_N]
orr w8, w9, w8
str w8, [x19, #8]
.LBB0_13:
ldr x21, [x19, #32]
mov x0, x21
bl __agg_ports_are_ready
mov w1, w0
mov x0, x21
bl __set_agg_ports_ready
adrp x8, AD_PORT_READY
ldr w9, [x19, #8]
ldr w8, [x8, :lo12:AD_PORT_READY]
tst w8, w9
b.eq .LBB0_3
// %bb.14:
ldr w8, [x19, #20]
cbnz w8, .LBB0_3
b .LBB0_25
.LBB0_15:
mov x0, x19
bl __detach_bond_from_agg
adrp x8, AD_STATE_SYNCHRONIZATION
ldr w9, [x19, #12]
mov x0, x19
ldr w8, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
bic w8, w9, w8
str w8, [x19, #12]
bl ad_disable_collecting_distributing
adrp x8, AD_STATE_COLLECTING
adrp x9, AD_STATE_DISTRIBUTING
ldr w10, [x19, #12]
ldr w8, [x8, :lo12:AD_STATE_COLLECTING]
ldr w9, [x9, :lo12:AD_STATE_DISTRIBUTING]
bic w8, w10, w8
bic w8, w8, w9
mov w9, #1 // =0x1
stp w8, w9, [x19, #12]
b .LBB0_19
.LBB0_16:
adrp x8, AD_STATE_COLLECTING
adrp x9, AD_STATE_DISTRIBUTING
ldr w10, [x19, #12]
mov x0, x19
ldr w8, [x8, :lo12:AD_STATE_COLLECTING]
ldr w9, [x9, :lo12:AD_STATE_DISTRIBUTING]
orr w8, w10, w8
orr w8, w9, w8
str w8, [x19, #12]
bl ad_enable_collecting_distributing
b .LBB0_18
.LBB0_17:
mov x0, x19
bl __attach_bond_to_agg
adrp x8, AD_STATE_SYNCHRONIZATION
adrp x9, AD_STATE_COLLECTING
adrp x10, AD_STATE_DISTRIBUTING
ldr w11, [x19, #12]
mov x0, x19
ldr w8, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
ldr w9, [x9, :lo12:AD_STATE_COLLECTING]
ldr w10, [x10, :lo12:AD_STATE_DISTRIBUTING]
orr w8, w11, w8
bic w8, w8, w9
bic w8, w8, w10
str w8, [x19, #12]
bl ad_disable_collecting_distributing
.LBB0_18:
mov w8, #1 // =0x1
str w8, [x19, #16]
.LBB0_19:
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_20:
.cfi_restore_state
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.ne .LBB0_22
// %bb.21:
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
tst w9, w8
b.eq .LBB0_3
.LBB0_22:
mov w8, #128 // =0x80
b .LBB0_2
.LBB0_23:
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_25
// %bb.24:
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
tst w9, w8
b.eq .LBB0_32
.LBB0_25:
mov w8, #131 // =0x83
b .LBB0_2
.LBB0_26:
adrp x21, AD_PORT_SELECTED
ldr w9, [x21, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_29
// %bb.27:
adrp x8, AD_STATE_SYNCHRONIZATION
ldr w9, [x19, #40]
ldr w8, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
tst w8, w9
b.eq .LBB0_29
// %bb.28:
mov x0, x19
bl __check_agg_selection_timer
cbz w0, .LBB0_37
.LBB0_29:
ldr w8, [x19, #8]
ldr w9, [x21, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_31
// %bb.30:
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
tst w9, w8
b.eq .LBB0_3
.LBB0_31:
adrp x9, AD_PORT_READY_N
ldr x21, [x19, #32]
ldr w9, [x9, :lo12:AD_PORT_READY_N]
mov x0, x21
bic w8, w8, w9
str w8, [x19, #8]
bl __agg_ports_are_ready
mov w1, w0
mov x0, x21
bl __set_agg_ports_ready
b .LBB0_1
.LBB0_32:
adrp x8, AD_STATE_SYNCHRONIZATION
ldr w9, [x19, #40]
ldr w8, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
tst w8, w9
b.eq .LBB0_25
// %bb.33:
ldr x8, [x19, #32]
cbz x8, .LBB0_3
// %bb.34:
ldr w8, [x8]
cbz w8, .LBB0_3
// %bb.35:
mov x0, x19
bl __port_is_enabled
cbnz w0, .LBB0_3
// %bb.36:
mov x0, x19
bl __enable_port
b .LBB0_3
.LBB0_37:
mov w8, #130 // =0x82
b .LBB0_2
.Lfunc_end0:
.size ad_mux_machine, .Lfunc_end0-ad_mux_machine
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_9-.LBB0_9)>>2
.byte (.LBB0_20-.LBB0_9)>>2
.byte (.LBB0_23-.LBB0_9)>>2
.byte (.LBB0_26-.LBB0_9)>>2
.LJTI0_1:
.byte (.LBB0_6-.LBB0_6)>>2
.byte (.LBB0_15-.LBB0_6)>>2
.byte (.LBB0_16-.LBB0_6)>>2
.byte (.LBB0_17-.LBB0_6)>>2
// -- End function
.type AD_PORT_BEGIN,@object // @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.word 0 // 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.type AD_PORT_STANDBY,@object // @AD_PORT_STANDBY
.globl AD_PORT_STANDBY
.p2align 2, 0x0
AD_PORT_STANDBY:
.word 0 // 0x0
.size AD_PORT_STANDBY, 4
.type AD_PORT_READY_N,@object // @AD_PORT_READY_N
.globl AD_PORT_READY_N
.p2align 2, 0x0
AD_PORT_READY_N:
.word 0 // 0x0
.size AD_PORT_READY_N, 4
.type AD_PORT_READY,@object // @AD_PORT_READY
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.word 0 // 0x0
.size AD_PORT_READY, 4
.type AD_STATE_SYNCHRONIZATION,@object // @AD_STATE_SYNCHRONIZATION
.globl AD_STATE_SYNCHRONIZATION
.p2align 2, 0x0
AD_STATE_SYNCHRONIZATION:
.word 0 // 0x0
.size AD_STATE_SYNCHRONIZATION, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Mux Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 52
.type AD_STATE_COLLECTING,@object // @AD_STATE_COLLECTING
.bss
.globl AD_STATE_COLLECTING
.p2align 2, 0x0
AD_STATE_COLLECTING:
.word 0 // 0x0
.size AD_STATE_COLLECTING, 4
.type AD_STATE_DISTRIBUTING,@object // @AD_STATE_DISTRIBUTING
.globl AD_STATE_DISTRIBUTING
.p2align 2, 0x0
AD_STATE_DISTRIBUTING:
.word 0 // 0x0
.size AD_STATE_DISTRIBUTING, 4
.type AD_WAIT_WHILE_TIMER,@object // @AD_WAIT_WHILE_TIMER
.globl AD_WAIT_WHILE_TIMER
.p2align 2, 0x0
AD_WAIT_WHILE_TIMER:
.word 0 // 0x0
.size AD_WAIT_WHILE_TIMER, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_mux_machine
| .text
.file "extr_bond_3ad.c_ad_mux_machine.c"
.p2align 2 // -- Begin function ad_mux_machine
.type ad_mux_machine,@function
ad_mux_machine: // @ad_mux_machine
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
adrp x9, AD_PORT_BEGIN
ldr w8, [x0, #8]
mov x19, x0
ldr x20, [x0]
ldr w9, [x9, :lo12:AD_PORT_BEGIN]
tst w9, w8
b.eq .LBB0_7
.LBB0_1:
mov w8, #129 // =0x81
.LBB0_2:
str x8, [x19]
.LBB0_3:
ldr x3, [x19]
cmp x3, x20
b.eq .LBB0_19
// %bb.4:
ldr w1, [x19, #24]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
mov x2, x20
bl pr_debug
ldr x8, [x19]
sub x8, x8, #128
cmp x8, #3
b.hi .LBB0_19
// %bb.5:
adrp x9, .LJTI0_1
add x9, x9, :lo12:.LJTI0_1
adr x10, .LBB0_6
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_6:
adrp x8, AD_WAIT_WHILE_TIMER
mov w1, wzr
ldr w0, [x8, :lo12:AD_WAIT_WHILE_TIMER]
bl __ad_timer_to_ticks
str w0, [x19, #20]
b .LBB0_19
.LBB0_7:
sub x9, x20, #128
cmp x9, #3
b.hi .LBB0_3
// %bb.8:
adrp x10, .LJTI0_0
add x10, x10, :lo12:.LJTI0_0
adr x11, .LBB0_9
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
.LBB0_9:
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_31
// %bb.10:
ldr w9, [x19, #20]
cbz w9, .LBB0_13
// %bb.11:
subs w9, w9, #1
str w9, [x19, #20]
b.ne .LBB0_13
// %bb.12:
adrp x9, AD_PORT_READY_N
ldr w9, [x9, :lo12:AD_PORT_READY_N]
orr w8, w9, w8
str w8, [x19, #8]
.LBB0_13:
ldr x21, [x19, #32]
mov x0, x21
bl __agg_ports_are_ready
mov w1, w0
mov x0, x21
bl __set_agg_ports_ready
adrp x8, AD_PORT_READY
ldr w9, [x19, #8]
ldr w8, [x8, :lo12:AD_PORT_READY]
tst w8, w9
b.eq .LBB0_3
// %bb.14:
ldr w8, [x19, #20]
cbnz w8, .LBB0_3
b .LBB0_25
.LBB0_15:
mov x0, x19
bl __detach_bond_from_agg
adrp x8, AD_STATE_SYNCHRONIZATION
ldr w9, [x19, #12]
mov x0, x19
ldr w8, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
bic w8, w9, w8
str w8, [x19, #12]
bl ad_disable_collecting_distributing
adrp x8, AD_STATE_COLLECTING
adrp x9, AD_STATE_DISTRIBUTING
ldr w10, [x19, #12]
ldr w8, [x8, :lo12:AD_STATE_COLLECTING]
ldr w9, [x9, :lo12:AD_STATE_DISTRIBUTING]
orr w8, w8, w9
mov w9, #1 // =0x1
bic w8, w10, w8
stp w8, w9, [x19, #12]
b .LBB0_19
.LBB0_16:
adrp x8, AD_STATE_COLLECTING
adrp x9, AD_STATE_DISTRIBUTING
ldr w10, [x19, #12]
mov x0, x19
ldr w8, [x8, :lo12:AD_STATE_COLLECTING]
ldr w9, [x9, :lo12:AD_STATE_DISTRIBUTING]
orr w8, w10, w8
orr w8, w9, w8
str w8, [x19, #12]
bl ad_enable_collecting_distributing
b .LBB0_18
.LBB0_17:
mov x0, x19
bl __attach_bond_to_agg
adrp x8, AD_STATE_SYNCHRONIZATION
adrp x9, AD_STATE_COLLECTING
adrp x11, AD_STATE_DISTRIBUTING
ldr w10, [x19, #12]
mov x0, x19
ldr w8, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
ldr w9, [x9, :lo12:AD_STATE_COLLECTING]
ldr w11, [x11, :lo12:AD_STATE_DISTRIBUTING]
orr w8, w10, w8
orr w9, w9, w11
bic w8, w8, w9
str w8, [x19, #12]
bl ad_disable_collecting_distributing
.LBB0_18:
mov w8, #1 // =0x1
str w8, [x19, #16]
.LBB0_19:
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_20:
.cfi_restore_state
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.ne .LBB0_22
// %bb.21:
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
tst w9, w8
b.eq .LBB0_3
.LBB0_22:
mov w8, #128 // =0x80
b .LBB0_2
.LBB0_23:
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_25
// %bb.24:
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
tst w9, w8
b.eq .LBB0_32
.LBB0_25:
mov w8, #131 // =0x83
b .LBB0_2
.LBB0_26:
adrp x21, AD_PORT_SELECTED
ldr w9, [x21, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_31
// %bb.27:
adrp x9, AD_STATE_SYNCHRONIZATION
ldr w10, [x19, #40]
ldr w9, [x9, :lo12:AD_STATE_SYNCHRONIZATION]
tst w9, w10
b.eq .LBB0_30
// %bb.28:
mov x0, x19
bl __check_agg_selection_timer
cbz w0, .LBB0_37
// %bb.29:
ldr w8, [x19, #8]
ldr w9, [x21, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_31
.LBB0_30:
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
tst w9, w8
b.eq .LBB0_3
.LBB0_31:
adrp x9, AD_PORT_READY_N
ldr x21, [x19, #32]
ldr w9, [x9, :lo12:AD_PORT_READY_N]
mov x0, x21
bic w8, w8, w9
str w8, [x19, #8]
bl __agg_ports_are_ready
mov w1, w0
mov x0, x21
bl __set_agg_ports_ready
b .LBB0_1
.LBB0_32:
adrp x8, AD_STATE_SYNCHRONIZATION
ldr w9, [x19, #40]
ldr w8, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
tst w8, w9
b.eq .LBB0_25
// %bb.33:
ldr x8, [x19, #32]
cbz x8, .LBB0_3
// %bb.34:
ldr w8, [x8]
cbz w8, .LBB0_3
// %bb.35:
mov x0, x19
bl __port_is_enabled
cbnz w0, .LBB0_3
// %bb.36:
mov x0, x19
bl __enable_port
b .LBB0_3
.LBB0_37:
mov w8, #130 // =0x82
b .LBB0_2
.Lfunc_end0:
.size ad_mux_machine, .Lfunc_end0-ad_mux_machine
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_9-.LBB0_9)>>2
.byte (.LBB0_20-.LBB0_9)>>2
.byte (.LBB0_23-.LBB0_9)>>2
.byte (.LBB0_26-.LBB0_9)>>2
.LJTI0_1:
.byte (.LBB0_6-.LBB0_6)>>2
.byte (.LBB0_15-.LBB0_6)>>2
.byte (.LBB0_16-.LBB0_6)>>2
.byte (.LBB0_17-.LBB0_6)>>2
// -- End function
.type AD_PORT_BEGIN,@object // @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.word 0 // 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.type AD_PORT_STANDBY,@object // @AD_PORT_STANDBY
.globl AD_PORT_STANDBY
.p2align 2, 0x0
AD_PORT_STANDBY:
.word 0 // 0x0
.size AD_PORT_STANDBY, 4
.type AD_PORT_READY_N,@object // @AD_PORT_READY_N
.globl AD_PORT_READY_N
.p2align 2, 0x0
AD_PORT_READY_N:
.word 0 // 0x0
.size AD_PORT_READY_N, 4
.type AD_PORT_READY,@object // @AD_PORT_READY
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.word 0 // 0x0
.size AD_PORT_READY, 4
.type AD_STATE_SYNCHRONIZATION,@object // @AD_STATE_SYNCHRONIZATION
.globl AD_STATE_SYNCHRONIZATION
.p2align 2, 0x0
AD_STATE_SYNCHRONIZATION:
.word 0 // 0x0
.size AD_STATE_SYNCHRONIZATION, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Mux Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 52
.type AD_STATE_COLLECTING,@object // @AD_STATE_COLLECTING
.bss
.globl AD_STATE_COLLECTING
.p2align 2, 0x0
AD_STATE_COLLECTING:
.word 0 // 0x0
.size AD_STATE_COLLECTING, 4
.type AD_STATE_DISTRIBUTING,@object // @AD_STATE_DISTRIBUTING
.globl AD_STATE_DISTRIBUTING
.p2align 2, 0x0
AD_STATE_DISTRIBUTING:
.word 0 // 0x0
.size AD_STATE_DISTRIBUTING, 4
.type AD_WAIT_WHILE_TIMER,@object // @AD_WAIT_WHILE_TIMER
.globl AD_WAIT_WHILE_TIMER
.p2align 2, 0x0
AD_WAIT_WHILE_TIMER:
.word 0 // 0x0
.size AD_WAIT_WHILE_TIMER, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_mux_machine
| .text
.file "extr_bond_3ad.c_ad_mux_machine.c"
.p2align 2 // -- Begin function ad_mux_machine
.type ad_mux_machine,@function
ad_mux_machine: // @ad_mux_machine
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
adrp x9, AD_PORT_BEGIN
ldr w8, [x0, #8]
mov x19, x0
ldr x20, [x0]
ldr w9, [x9, :lo12:AD_PORT_BEGIN]
tst w9, w8
b.eq .LBB0_8
.LBB0_1:
mov w8, #129 // =0x81
.LBB0_2:
str x8, [x19]
.LBB0_3:
ldr x3, [x19]
cmp x3, x20
b.ne .LBB0_5
.LBB0_4:
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
.cfi_remember_state
ldr w1, [x19, #24]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
mov x2, x20
bl pr_debug
ldr x8, [x19]
sub x8, x8, #128
cmp x8, #3
b.hi .LBB0_4
// %bb.6:
adrp x9, .LJTI0_1
add x9, x9, :lo12:.LJTI0_1
adr x10, .LBB0_7
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_7:
adrp x8, AD_WAIT_WHILE_TIMER
mov w1, wzr
ldr w0, [x8, :lo12:AD_WAIT_WHILE_TIMER]
bl __ad_timer_to_ticks
str w0, [x19, #20]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_8:
.cfi_restore_state
.cfi_remember_state
sub x9, x20, #128
cmp x9, #3
b.hi .LBB0_3
// %bb.9:
adrp x10, .LJTI0_0
add x10, x10, :lo12:.LJTI0_0
adr x11, .LBB0_10
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
.LBB0_10:
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_30
// %bb.11:
ldr w9, [x19, #20]
cbz w9, .LBB0_14
// %bb.12:
subs w9, w9, #1
str w9, [x19, #20]
b.ne .LBB0_14
// %bb.13:
adrp x9, AD_PORT_READY_N
ldr w9, [x9, :lo12:AD_PORT_READY_N]
orr w8, w9, w8
str w8, [x19, #8]
.LBB0_14:
ldr x21, [x19, #32]
mov x0, x21
bl __agg_ports_are_ready
mov w1, w0
mov x0, x21
bl __set_agg_ports_ready
adrp x8, AD_PORT_READY
ldr w9, [x19, #8]
ldr w8, [x8, :lo12:AD_PORT_READY]
tst w8, w9
b.eq .LBB0_3
// %bb.15:
ldr w8, [x19, #20]
cbnz w8, .LBB0_3
b .LBB0_24
.LBB0_16:
mov x0, x19
bl __detach_bond_from_agg
adrp x8, AD_STATE_SYNCHRONIZATION
ldr w9, [x19, #12]
mov x0, x19
ldr w8, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
bic w8, w9, w8
str w8, [x19, #12]
bl ad_disable_collecting_distributing
adrp x8, AD_STATE_COLLECTING
adrp x9, AD_STATE_DISTRIBUTING
ldr w10, [x19, #12]
ldr w8, [x8, :lo12:AD_STATE_COLLECTING]
ldr w9, [x9, :lo12:AD_STATE_DISTRIBUTING]
orr w8, w8, w9
mov w9, #1 // =0x1
bic w8, w10, w8
stp w8, w9, [x19, #12]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_17:
.cfi_restore_state
.cfi_remember_state
adrp x8, AD_STATE_COLLECTING
adrp x9, AD_STATE_DISTRIBUTING
ldr w10, [x19, #12]
mov x0, x19
ldr w8, [x8, :lo12:AD_STATE_COLLECTING]
ldr w9, [x9, :lo12:AD_STATE_DISTRIBUTING]
orr w8, w10, w8
orr w8, w9, w8
str w8, [x19, #12]
bl ad_enable_collecting_distributing
mov w8, #1 // =0x1
str w8, [x19, #16]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_18:
.cfi_restore_state
.cfi_remember_state
mov x0, x19
bl __attach_bond_to_agg
adrp x8, AD_STATE_SYNCHRONIZATION
adrp x9, AD_STATE_COLLECTING
adrp x11, AD_STATE_DISTRIBUTING
ldr w10, [x19, #12]
mov x0, x19
ldr w8, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
ldr w9, [x9, :lo12:AD_STATE_COLLECTING]
ldr w11, [x11, :lo12:AD_STATE_DISTRIBUTING]
orr w8, w10, w8
orr w9, w9, w11
bic w8, w8, w9
str w8, [x19, #12]
bl ad_disable_collecting_distributing
mov w8, #1 // =0x1
str w8, [x19, #16]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_19:
.cfi_restore_state
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.ne .LBB0_21
// %bb.20:
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
tst w9, w8
b.eq .LBB0_3
.LBB0_21:
mov w8, #128 // =0x80
b .LBB0_2
.LBB0_22:
adrp x9, AD_PORT_SELECTED
ldr w9, [x9, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_24
// %bb.23:
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
tst w9, w8
b.eq .LBB0_31
.LBB0_24:
mov w8, #131 // =0x83
b .LBB0_2
.LBB0_25:
adrp x21, AD_PORT_SELECTED
ldr w9, [x21, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_30
// %bb.26:
adrp x9, AD_STATE_SYNCHRONIZATION
ldr w10, [x19, #40]
ldr w9, [x9, :lo12:AD_STATE_SYNCHRONIZATION]
tst w9, w10
b.eq .LBB0_29
// %bb.27:
mov x0, x19
bl __check_agg_selection_timer
cbz w0, .LBB0_36
// %bb.28:
ldr w8, [x19, #8]
ldr w9, [x21, :lo12:AD_PORT_SELECTED]
tst w9, w8
b.eq .LBB0_30
.LBB0_29:
adrp x9, AD_PORT_STANDBY
ldr w9, [x9, :lo12:AD_PORT_STANDBY]
tst w9, w8
b.eq .LBB0_3
.LBB0_30:
adrp x9, AD_PORT_READY_N
ldr x21, [x19, #32]
ldr w9, [x9, :lo12:AD_PORT_READY_N]
mov x0, x21
bic w8, w8, w9
str w8, [x19, #8]
bl __agg_ports_are_ready
mov w1, w0
mov x0, x21
bl __set_agg_ports_ready
b .LBB0_1
.LBB0_31:
adrp x8, AD_STATE_SYNCHRONIZATION
ldr w9, [x19, #40]
ldr w8, [x8, :lo12:AD_STATE_SYNCHRONIZATION]
tst w8, w9
b.eq .LBB0_24
// %bb.32:
ldr x8, [x19, #32]
cbz x8, .LBB0_3
// %bb.33:
ldr w8, [x8]
cbz w8, .LBB0_3
// %bb.34:
mov x0, x19
bl __port_is_enabled
cbnz w0, .LBB0_3
// %bb.35:
mov x0, x19
bl __enable_port
b .LBB0_3
.LBB0_36:
mov w8, #130 // =0x82
b .LBB0_2
.Lfunc_end0:
.size ad_mux_machine, .Lfunc_end0-ad_mux_machine
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_10-.LBB0_10)>>2
.byte (.LBB0_19-.LBB0_10)>>2
.byte (.LBB0_22-.LBB0_10)>>2
.byte (.LBB0_25-.LBB0_10)>>2
.LJTI0_1:
.byte (.LBB0_7-.LBB0_7)>>2
.byte (.LBB0_16-.LBB0_7)>>2
.byte (.LBB0_17-.LBB0_7)>>2
.byte (.LBB0_18-.LBB0_7)>>2
// -- End function
.type AD_PORT_BEGIN,@object // @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.word 0 // 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.type AD_PORT_STANDBY,@object // @AD_PORT_STANDBY
.globl AD_PORT_STANDBY
.p2align 2, 0x0
AD_PORT_STANDBY:
.word 0 // 0x0
.size AD_PORT_STANDBY, 4
.type AD_PORT_READY_N,@object // @AD_PORT_READY_N
.globl AD_PORT_READY_N
.p2align 2, 0x0
AD_PORT_READY_N:
.word 0 // 0x0
.size AD_PORT_READY_N, 4
.type AD_PORT_READY,@object // @AD_PORT_READY
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.word 0 // 0x0
.size AD_PORT_READY, 4
.type AD_STATE_SYNCHRONIZATION,@object // @AD_STATE_SYNCHRONIZATION
.globl AD_STATE_SYNCHRONIZATION
.p2align 2, 0x0
AD_STATE_SYNCHRONIZATION:
.word 0 // 0x0
.size AD_STATE_SYNCHRONIZATION, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Mux Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 52
.type AD_STATE_COLLECTING,@object // @AD_STATE_COLLECTING
.bss
.globl AD_STATE_COLLECTING
.p2align 2, 0x0
AD_STATE_COLLECTING:
.word 0 // 0x0
.size AD_STATE_COLLECTING, 4
.type AD_STATE_DISTRIBUTING,@object // @AD_STATE_DISTRIBUTING
.globl AD_STATE_DISTRIBUTING
.p2align 2, 0x0
AD_STATE_DISTRIBUTING:
.word 0 // 0x0
.size AD_STATE_DISTRIBUTING, 4
.type AD_WAIT_WHILE_TIMER,@object // @AD_WAIT_WHILE_TIMER
.globl AD_WAIT_WHILE_TIMER
.p2align 2, 0x0
AD_WAIT_WHILE_TIMER:
.word 0 // 0x0
.size AD_WAIT_WHILE_TIMER, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_mux_machine
| .text
.file "extr_bond_3ad.c_ad_mux_machine.c"
.p2align 4, 0x90 # -- Begin function ad_mux_machine
.type ad_mux_machine,@function
ad_mux_machine: # @ad_mux_machine
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_BEGIN(%rip), %eax
cmpl $0, %eax
je .LBB0_2
# %bb.1:
movq -8(%rbp), %rax
movq $129, (%rax)
jmp .LBB0_37
.LBB0_2:
movq -8(%rbp), %rax
movq (%rax), %rax
addq $-128, %rax
movq %rax, -24(%rbp) # 8-byte Spill
subq $3, %rax
ja .LBB0_35
# %bb.46:
movq -24(%rbp), %rax # 8-byte Reload
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_3:
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_SELECTED(%rip), %eax
cmpl $0, %eax
jne .LBB0_5
# %bb.4:
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_STANDBY(%rip), %eax
cmpl $0, %eax
je .LBB0_6
.LBB0_5:
movq -8(%rbp), %rax
movq $128, (%rax)
.LBB0_6:
jmp .LBB0_36
.LBB0_7:
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_SELECTED(%rip), %eax
cmpl $0, %eax
jne .LBB0_9
# %bb.8:
movl AD_PORT_READY_N(%rip), %ecx
xorl $-1, %ecx
movq -8(%rbp), %rax
andl 8(%rax), %ecx
movl %ecx, 8(%rax)
movq -8(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -32(%rbp) # 8-byte Spill
movq -8(%rbp), %rax
movq 32(%rax), %rdi
callq __agg_ports_are_ready@PLT
movq -32(%rbp), %rdi # 8-byte Reload
movl %eax, %esi
callq __set_agg_ports_ready@PLT
movq -8(%rbp), %rax
movq $129, (%rax)
jmp .LBB0_36
.LBB0_9:
movq -8(%rbp), %rax
cmpl $0, 20(%rax)
je .LBB0_12
# %bb.10:
movq -8(%rbp), %rcx
movl 20(%rcx), %eax
addl $-1, %eax
movl %eax, 20(%rcx)
cmpl $0, %eax
jne .LBB0_12
# %bb.11:
movl AD_PORT_READY_N(%rip), %ecx
movq -8(%rbp), %rax
orl 8(%rax), %ecx
movl %ecx, 8(%rax)
.LBB0_12:
movq -8(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -40(%rbp) # 8-byte Spill
movq -8(%rbp), %rax
movq 32(%rax), %rdi
callq __agg_ports_are_ready@PLT
movq -40(%rbp), %rdi # 8-byte Reload
movl %eax, %esi
callq __set_agg_ports_ready@PLT
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_READY(%rip), %eax
cmpl $0, %eax
je .LBB0_15
# %bb.13:
movq -8(%rbp), %rax
cmpl $0, 20(%rax)
jne .LBB0_15
# %bb.14:
movq -8(%rbp), %rax
movq $131, (%rax)
.LBB0_15:
jmp .LBB0_36
.LBB0_16:
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_SELECTED(%rip), %eax
cmpl $0, %eax
je .LBB0_20
# %bb.17:
movq -8(%rbp), %rax
movl 40(%rax), %eax
andl AD_STATE_SYNCHRONIZATION(%rip), %eax
cmpl $0, %eax
je .LBB0_20
# %bb.18:
movq -8(%rbp), %rdi
callq __check_agg_selection_timer@PLT
cmpl $0, %eax
jne .LBB0_20
# %bb.19:
movq -8(%rbp), %rax
movq $130, (%rax)
jmp .LBB0_24
.LBB0_20:
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_SELECTED(%rip), %eax
cmpl $0, %eax
je .LBB0_22
# %bb.21:
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_STANDBY(%rip), %eax
cmpl $0, %eax
je .LBB0_23
.LBB0_22:
movl AD_PORT_READY_N(%rip), %ecx
xorl $-1, %ecx
movq -8(%rbp), %rax
andl 8(%rax), %ecx
movl %ecx, 8(%rax)
movq -8(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -48(%rbp) # 8-byte Spill
movq -8(%rbp), %rax
movq 32(%rax), %rdi
callq __agg_ports_are_ready@PLT
movq -48(%rbp), %rdi # 8-byte Reload
movl %eax, %esi
callq __set_agg_ports_ready@PLT
movq -8(%rbp), %rax
movq $129, (%rax)
.LBB0_23:
jmp .LBB0_24
.LBB0_24:
jmp .LBB0_36
.LBB0_25:
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_SELECTED(%rip), %eax
cmpl $0, %eax
je .LBB0_28
# %bb.26:
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_STANDBY(%rip), %eax
cmpl $0, %eax
jne .LBB0_28
# %bb.27:
movq -8(%rbp), %rax
movl 40(%rax), %eax
andl AD_STATE_SYNCHRONIZATION(%rip), %eax
cmpl $0, %eax
jne .LBB0_29
.LBB0_28:
movq -8(%rbp), %rax
movq $131, (%rax)
jmp .LBB0_34
.LBB0_29:
movq -8(%rbp), %rax
cmpq $0, 32(%rax)
je .LBB0_33
# %bb.30:
movq -8(%rbp), %rax
movq 32(%rax), %rax
cmpl $0, (%rax)
je .LBB0_33
# %bb.31:
movq -8(%rbp), %rdi
callq __port_is_enabled@PLT
cmpl $0, %eax
jne .LBB0_33
# %bb.32:
movq -8(%rbp), %rdi
callq __enable_port@PLT
.LBB0_33:
jmp .LBB0_34
.LBB0_34:
jmp .LBB0_36
.LBB0_35:
jmp .LBB0_36
.LBB0_36:
jmp .LBB0_37
.LBB0_37:
movq -8(%rbp), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
je .LBB0_45
# %bb.38:
movq -8(%rbp), %rax
movl 24(%rax), %esi
movq -16(%rbp), %rdx
movq (%rax), %rcx
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq -8(%rbp), %rax
movq (%rax), %rax
addq $-128, %rax
movq %rax, -56(%rbp) # 8-byte Spill
subq $3, %rax
ja .LBB0_43
# %bb.47:
movq -56(%rbp), %rax # 8-byte Reload
leaq .LJTI0_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_39:
movq -8(%rbp), %rdi
callq __detach_bond_from_agg@PLT
movl AD_STATE_SYNCHRONIZATION(%rip), %ecx
xorl $-1, %ecx
movq -8(%rbp), %rax
andl 12(%rax), %ecx
movl %ecx, 12(%rax)
movq -8(%rbp), %rdi
callq ad_disable_collecting_distributing@PLT
movl AD_STATE_COLLECTING(%rip), %ecx
xorl $-1, %ecx
movq -8(%rbp), %rax
andl 12(%rax), %ecx
movl %ecx, 12(%rax)
movl AD_STATE_DISTRIBUTING(%rip), %ecx
xorl $-1, %ecx
movq -8(%rbp), %rax
andl 12(%rax), %ecx
movl %ecx, 12(%rax)
movq -8(%rbp), %rax
movl $1, 16(%rax)
jmp .LBB0_44
.LBB0_40:
movl AD_WAIT_WHILE_TIMER(%rip), %edi
xorl %esi, %esi
callq __ad_timer_to_ticks@PLT
movl %eax, %ecx
movq -8(%rbp), %rax
movl %ecx, 20(%rax)
jmp .LBB0_44
.LBB0_41:
movq -8(%rbp), %rdi
callq __attach_bond_to_agg@PLT
movl AD_STATE_SYNCHRONIZATION(%rip), %ecx
movq -8(%rbp), %rax
orl 12(%rax), %ecx
movl %ecx, 12(%rax)
movl AD_STATE_COLLECTING(%rip), %ecx
xorl $-1, %ecx
movq -8(%rbp), %rax
andl 12(%rax), %ecx
movl %ecx, 12(%rax)
movl AD_STATE_DISTRIBUTING(%rip), %ecx
xorl $-1, %ecx
movq -8(%rbp), %rax
andl 12(%rax), %ecx
movl %ecx, 12(%rax)
movq -8(%rbp), %rdi
callq ad_disable_collecting_distributing@PLT
movq -8(%rbp), %rax
movl $1, 16(%rax)
jmp .LBB0_44
.LBB0_42:
movl AD_STATE_COLLECTING(%rip), %ecx
movq -8(%rbp), %rax
orl 12(%rax), %ecx
movl %ecx, 12(%rax)
movl AD_STATE_DISTRIBUTING(%rip), %ecx
movq -8(%rbp), %rax
orl 12(%rax), %ecx
movl %ecx, 12(%rax)
movq -8(%rbp), %rdi
callq ad_enable_collecting_distributing@PLT
movq -8(%rbp), %rax
movl $1, 16(%rax)
jmp .LBB0_44
.LBB0_43:
jmp .LBB0_44
.LBB0_44:
jmp .LBB0_45
.LBB0_45:
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ad_mux_machine, .Lfunc_end0-ad_mux_machine
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_7-.LJTI0_0
.long .LBB0_3-.LJTI0_0
.long .LBB0_25-.LJTI0_0
.long .LBB0_16-.LJTI0_0
.LJTI0_1:
.long .LBB0_40-.LJTI0_1
.long .LBB0_39-.LJTI0_1
.long .LBB0_42-.LJTI0_1
.long .LBB0_41-.LJTI0_1
# -- End function
.type AD_PORT_BEGIN,@object # @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.long 0 # 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.type AD_PORT_STANDBY,@object # @AD_PORT_STANDBY
.globl AD_PORT_STANDBY
.p2align 2, 0x0
AD_PORT_STANDBY:
.long 0 # 0x0
.size AD_PORT_STANDBY, 4
.type AD_PORT_READY_N,@object # @AD_PORT_READY_N
.globl AD_PORT_READY_N
.p2align 2, 0x0
AD_PORT_READY_N:
.long 0 # 0x0
.size AD_PORT_READY_N, 4
.type AD_PORT_READY,@object # @AD_PORT_READY
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.long 0 # 0x0
.size AD_PORT_READY, 4
.type AD_STATE_SYNCHRONIZATION,@object # @AD_STATE_SYNCHRONIZATION
.globl AD_STATE_SYNCHRONIZATION
.p2align 2, 0x0
AD_STATE_SYNCHRONIZATION:
.long 0 # 0x0
.size AD_STATE_SYNCHRONIZATION, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Mux Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 52
.type AD_STATE_COLLECTING,@object # @AD_STATE_COLLECTING
.bss
.globl AD_STATE_COLLECTING
.p2align 2, 0x0
AD_STATE_COLLECTING:
.long 0 # 0x0
.size AD_STATE_COLLECTING, 4
.type AD_STATE_DISTRIBUTING,@object # @AD_STATE_DISTRIBUTING
.globl AD_STATE_DISTRIBUTING
.p2align 2, 0x0
AD_STATE_DISTRIBUTING:
.long 0 # 0x0
.size AD_STATE_DISTRIBUTING, 4
.type AD_WAIT_WHILE_TIMER,@object # @AD_WAIT_WHILE_TIMER
.globl AD_WAIT_WHILE_TIMER
.p2align 2, 0x0
AD_WAIT_WHILE_TIMER:
.long 0 # 0x0
.size AD_WAIT_WHILE_TIMER, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_mux_machine
.addrsig_sym __set_agg_ports_ready
.addrsig_sym __agg_ports_are_ready
.addrsig_sym __check_agg_selection_timer
.addrsig_sym __port_is_enabled
.addrsig_sym __enable_port
.addrsig_sym pr_debug
.addrsig_sym __detach_bond_from_agg
.addrsig_sym ad_disable_collecting_distributing
.addrsig_sym __ad_timer_to_ticks
.addrsig_sym __attach_bond_to_agg
.addrsig_sym ad_enable_collecting_distributing
.addrsig_sym AD_PORT_BEGIN
.addrsig_sym AD_PORT_SELECTED
.addrsig_sym AD_PORT_STANDBY
.addrsig_sym AD_PORT_READY_N
.addrsig_sym AD_PORT_READY
.addrsig_sym AD_STATE_SYNCHRONIZATION
.addrsig_sym AD_STATE_COLLECTING
.addrsig_sym AD_STATE_DISTRIBUTING
.addrsig_sym AD_WAIT_WHILE_TIMER
| .text
.file "extr_bond_3ad.c_ad_mux_machine.c"
.p2align 4, 0x90 # -- Begin function ad_mux_machine
.type ad_mux_machine,@function
ad_mux_machine: # @ad_mux_machine
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %rbx
movq (%rdi), %r14
movl 8(%rdi), %eax
testl %eax, AD_PORT_BEGIN(%rip)
je .LBB0_6
.LBB0_1:
movq $129, (%rbx)
.LBB0_2:
movq (%rbx), %rcx
cmpq %r14, %rcx
je .LBB0_19
# %bb.3:
movl 24(%rbx), %esi
leaq .L.str(%rip), %rdi
movq %r14, %rdx
callq pr_debug@PLT
movq (%rbx), %rax
addq $-128, %rax
cmpq $3, %rax
ja .LBB0_19
# %bb.4:
leaq .LJTI0_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_5:
movl AD_WAIT_WHILE_TIMER(%rip), %edi
xorl %esi, %esi
callq __ad_timer_to_ticks@PLT
movl %eax, 20(%rbx)
jmp .LBB0_19
.LBB0_6:
leaq -128(%r14), %rcx
cmpq $3, %rcx
ja .LBB0_2
# %bb.7:
leaq .LJTI0_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
.LBB0_8:
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_31
# %bb.9:
movl 20(%rbx), %ecx
testl %ecx, %ecx
je .LBB0_12
# %bb.10:
decl %ecx
movl %ecx, 20(%rbx)
jne .LBB0_12
# %bb.11:
orl AD_PORT_READY_N(%rip), %eax
movl %eax, 8(%rbx)
.LBB0_12:
movq 32(%rbx), %r15
movq %r15, %rdi
callq __agg_ports_are_ready@PLT
movq %r15, %rdi
movl %eax, %esi
callq __set_agg_ports_ready@PLT
movl AD_PORT_READY(%rip), %eax
testl %eax, 8(%rbx)
je .LBB0_2
# %bb.13:
cmpl $0, 20(%rbx)
jne .LBB0_2
jmp .LBB0_14
.LBB0_15:
movq %rbx, %rdi
callq __detach_bond_from_agg@PLT
movl AD_STATE_SYNCHRONIZATION(%rip), %eax
notl %eax
andl %eax, 12(%rbx)
movq %rbx, %rdi
callq ad_disable_collecting_distributing@PLT
movl AD_STATE_COLLECTING(%rip), %eax
notl %eax
andl 12(%rbx), %eax
movl %eax, 12(%rbx)
movl AD_STATE_DISTRIBUTING(%rip), %ecx
notl %ecx
andl %eax, %ecx
movl %ecx, 12(%rbx)
jmp .LBB0_18
.LBB0_16:
movl 12(%rbx), %eax
orl AD_STATE_COLLECTING(%rip), %eax
movl %eax, 12(%rbx)
orl AD_STATE_DISTRIBUTING(%rip), %eax
movl %eax, 12(%rbx)
movq %rbx, %rdi
callq ad_enable_collecting_distributing@PLT
jmp .LBB0_18
.LBB0_17:
movq %rbx, %rdi
callq __attach_bond_to_agg@PLT
movl 12(%rbx), %eax
orl AD_STATE_SYNCHRONIZATION(%rip), %eax
movl %eax, 12(%rbx)
movl AD_STATE_COLLECTING(%rip), %ecx
notl %ecx
andl %eax, %ecx
movl %ecx, 12(%rbx)
movl AD_STATE_DISTRIBUTING(%rip), %eax
notl %eax
andl %ecx, %eax
movl %eax, 12(%rbx)
movq %rbx, %rdi
callq ad_disable_collecting_distributing@PLT
.LBB0_18:
movl $1, 16(%rbx)
.LBB0_19:
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.LBB0_20:
.cfi_def_cfa_offset 32
testl %eax, AD_PORT_SELECTED(%rip)
jne .LBB0_22
# %bb.21:
testl %eax, AD_PORT_STANDBY(%rip)
je .LBB0_2
.LBB0_22:
movq $128, (%rbx)
jmp .LBB0_2
.LBB0_23:
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_14
# %bb.24:
testl %eax, AD_PORT_STANDBY(%rip)
je .LBB0_32
.LBB0_14:
movq $131, (%rbx)
jmp .LBB0_2
.LBB0_26:
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_29
# %bb.27:
movl AD_STATE_SYNCHRONIZATION(%rip), %eax
testl %eax, 40(%rbx)
je .LBB0_29
# %bb.28:
movq %rbx, %rdi
callq __check_agg_selection_timer@PLT
testl %eax, %eax
je .LBB0_37
.LBB0_29:
movl 8(%rbx), %eax
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_31
# %bb.30:
testl %eax, AD_PORT_STANDBY(%rip)
je .LBB0_2
.LBB0_31:
movl AD_PORT_READY_N(%rip), %ecx
notl %ecx
andl %ecx, %eax
movl %eax, 8(%rbx)
movq 32(%rbx), %r15
movq %r15, %rdi
callq __agg_ports_are_ready@PLT
movq %r15, %rdi
movl %eax, %esi
callq __set_agg_ports_ready@PLT
jmp .LBB0_1
.LBB0_32:
movl AD_STATE_SYNCHRONIZATION(%rip), %eax
testl %eax, 40(%rbx)
je .LBB0_14
# %bb.33:
movq 32(%rbx), %rax
testq %rax, %rax
je .LBB0_2
# %bb.34:
cmpl $0, (%rax)
je .LBB0_2
# %bb.35:
movq %rbx, %rdi
callq __port_is_enabled@PLT
testl %eax, %eax
jne .LBB0_2
# %bb.36:
movq %rbx, %rdi
callq __enable_port@PLT
jmp .LBB0_2
.LBB0_37:
movq $130, (%rbx)
jmp .LBB0_2
.Lfunc_end0:
.size ad_mux_machine, .Lfunc_end0-ad_mux_machine
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_8-.LJTI0_0
.long .LBB0_20-.LJTI0_0
.long .LBB0_23-.LJTI0_0
.long .LBB0_26-.LJTI0_0
.LJTI0_1:
.long .LBB0_5-.LJTI0_1
.long .LBB0_15-.LJTI0_1
.long .LBB0_16-.LJTI0_1
.long .LBB0_17-.LJTI0_1
# -- End function
.type AD_PORT_BEGIN,@object # @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.long 0 # 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.type AD_PORT_STANDBY,@object # @AD_PORT_STANDBY
.globl AD_PORT_STANDBY
.p2align 2, 0x0
AD_PORT_STANDBY:
.long 0 # 0x0
.size AD_PORT_STANDBY, 4
.type AD_PORT_READY_N,@object # @AD_PORT_READY_N
.globl AD_PORT_READY_N
.p2align 2, 0x0
AD_PORT_READY_N:
.long 0 # 0x0
.size AD_PORT_READY_N, 4
.type AD_PORT_READY,@object # @AD_PORT_READY
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.long 0 # 0x0
.size AD_PORT_READY, 4
.type AD_STATE_SYNCHRONIZATION,@object # @AD_STATE_SYNCHRONIZATION
.globl AD_STATE_SYNCHRONIZATION
.p2align 2, 0x0
AD_STATE_SYNCHRONIZATION:
.long 0 # 0x0
.size AD_STATE_SYNCHRONIZATION, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Mux Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 52
.type AD_STATE_COLLECTING,@object # @AD_STATE_COLLECTING
.bss
.globl AD_STATE_COLLECTING
.p2align 2, 0x0
AD_STATE_COLLECTING:
.long 0 # 0x0
.size AD_STATE_COLLECTING, 4
.type AD_STATE_DISTRIBUTING,@object # @AD_STATE_DISTRIBUTING
.globl AD_STATE_DISTRIBUTING
.p2align 2, 0x0
AD_STATE_DISTRIBUTING:
.long 0 # 0x0
.size AD_STATE_DISTRIBUTING, 4
.type AD_WAIT_WHILE_TIMER,@object # @AD_WAIT_WHILE_TIMER
.globl AD_WAIT_WHILE_TIMER
.p2align 2, 0x0
AD_WAIT_WHILE_TIMER:
.long 0 # 0x0
.size AD_WAIT_WHILE_TIMER, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_mux_machine
| .text
.file "extr_bond_3ad.c_ad_mux_machine.c"
.p2align 4, 0x90 # -- Begin function ad_mux_machine
.type ad_mux_machine,@function
ad_mux_machine: # @ad_mux_machine
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %rbx
movq (%rdi), %r14
movl 8(%rdi), %eax
testl %eax, AD_PORT_BEGIN(%rip)
je .LBB0_6
.LBB0_1:
movq $129, (%rbx)
.LBB0_2:
movq (%rbx), %rcx
cmpq %r14, %rcx
je .LBB0_19
# %bb.3:
movl 24(%rbx), %esi
leaq .L.str(%rip), %rdi
movq %r14, %rdx
callq pr_debug@PLT
movq (%rbx), %rax
addq $-128, %rax
cmpq $3, %rax
ja .LBB0_19
# %bb.4:
leaq .LJTI0_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_5:
movl AD_WAIT_WHILE_TIMER(%rip), %edi
xorl %esi, %esi
callq __ad_timer_to_ticks@PLT
movl %eax, 20(%rbx)
jmp .LBB0_19
.LBB0_6:
leaq -128(%r14), %rcx
cmpq $3, %rcx
ja .LBB0_2
# %bb.7:
leaq .LJTI0_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
.LBB0_8:
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_32
# %bb.9:
movl 20(%rbx), %ecx
testl %ecx, %ecx
je .LBB0_12
# %bb.10:
decl %ecx
movl %ecx, 20(%rbx)
jne .LBB0_12
# %bb.11:
orl AD_PORT_READY_N(%rip), %eax
movl %eax, 8(%rbx)
.LBB0_12:
movq 32(%rbx), %r15
movq %r15, %rdi
callq __agg_ports_are_ready@PLT
movq %r15, %rdi
movl %eax, %esi
callq __set_agg_ports_ready@PLT
movl AD_PORT_READY(%rip), %eax
testl %eax, 8(%rbx)
je .LBB0_2
# %bb.13:
cmpl $0, 20(%rbx)
jne .LBB0_2
jmp .LBB0_14
.LBB0_15:
movq %rbx, %rdi
callq __detach_bond_from_agg@PLT
movl AD_STATE_SYNCHRONIZATION(%rip), %eax
notl %eax
andl %eax, 12(%rbx)
movq %rbx, %rdi
callq ad_disable_collecting_distributing@PLT
movl AD_STATE_COLLECTING(%rip), %eax
orl AD_STATE_DISTRIBUTING(%rip), %eax
notl %eax
andl %eax, 12(%rbx)
jmp .LBB0_18
.LBB0_16:
movl 12(%rbx), %eax
orl AD_STATE_COLLECTING(%rip), %eax
orl AD_STATE_DISTRIBUTING(%rip), %eax
movl %eax, 12(%rbx)
movq %rbx, %rdi
callq ad_enable_collecting_distributing@PLT
jmp .LBB0_18
.LBB0_17:
movq %rbx, %rdi
callq __attach_bond_to_agg@PLT
movl 12(%rbx), %eax
orl AD_STATE_SYNCHRONIZATION(%rip), %eax
movl AD_STATE_COLLECTING(%rip), %ecx
orl AD_STATE_DISTRIBUTING(%rip), %ecx
notl %ecx
andl %eax, %ecx
movl %ecx, 12(%rbx)
movq %rbx, %rdi
callq ad_disable_collecting_distributing@PLT
.LBB0_18:
movl $1, 16(%rbx)
.LBB0_19:
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.LBB0_20:
.cfi_def_cfa_offset 32
testl %eax, AD_PORT_SELECTED(%rip)
jne .LBB0_22
# %bb.21:
testl %eax, AD_PORT_STANDBY(%rip)
je .LBB0_2
.LBB0_22:
movq $128, (%rbx)
jmp .LBB0_2
.LBB0_23:
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_14
# %bb.24:
testl %eax, AD_PORT_STANDBY(%rip)
je .LBB0_34
.LBB0_14:
movq $131, (%rbx)
jmp .LBB0_2
.LBB0_26:
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_31
# %bb.27:
movl AD_STATE_SYNCHRONIZATION(%rip), %ecx
testl %ecx, 40(%rbx)
je .LBB0_30
# %bb.28:
movq %rbx, %rdi
callq __check_agg_selection_timer@PLT
testl %eax, %eax
je .LBB0_39
# %bb.29:
movl 8(%rbx), %eax
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_31
.LBB0_30:
testl %eax, AD_PORT_STANDBY(%rip)
je .LBB0_2
.LBB0_31:
movl AD_PORT_READY_N(%rip), %ecx
notl %ecx
andl %eax, %ecx
movl %ecx, 8(%rbx)
jmp .LBB0_33
.LBB0_32:
movl AD_PORT_READY_N(%rip), %ecx
notl %ecx
andl %ecx, %eax
movl %eax, 8(%rbx)
.LBB0_33:
movq 32(%rbx), %r15
movq %r15, %rdi
callq __agg_ports_are_ready@PLT
movq %r15, %rdi
movl %eax, %esi
callq __set_agg_ports_ready@PLT
jmp .LBB0_1
.LBB0_34:
movl AD_STATE_SYNCHRONIZATION(%rip), %eax
testl %eax, 40(%rbx)
je .LBB0_14
# %bb.35:
movq 32(%rbx), %rax
testq %rax, %rax
je .LBB0_2
# %bb.36:
cmpl $0, (%rax)
je .LBB0_2
# %bb.37:
movq %rbx, %rdi
callq __port_is_enabled@PLT
testl %eax, %eax
jne .LBB0_2
# %bb.38:
movq %rbx, %rdi
callq __enable_port@PLT
jmp .LBB0_2
.LBB0_39:
movq $130, (%rbx)
jmp .LBB0_2
.Lfunc_end0:
.size ad_mux_machine, .Lfunc_end0-ad_mux_machine
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_8-.LJTI0_0
.long .LBB0_20-.LJTI0_0
.long .LBB0_23-.LJTI0_0
.long .LBB0_26-.LJTI0_0
.LJTI0_1:
.long .LBB0_5-.LJTI0_1
.long .LBB0_15-.LJTI0_1
.long .LBB0_16-.LJTI0_1
.long .LBB0_17-.LJTI0_1
# -- End function
.type AD_PORT_BEGIN,@object # @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.long 0 # 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.type AD_PORT_STANDBY,@object # @AD_PORT_STANDBY
.globl AD_PORT_STANDBY
.p2align 2, 0x0
AD_PORT_STANDBY:
.long 0 # 0x0
.size AD_PORT_STANDBY, 4
.type AD_PORT_READY_N,@object # @AD_PORT_READY_N
.globl AD_PORT_READY_N
.p2align 2, 0x0
AD_PORT_READY_N:
.long 0 # 0x0
.size AD_PORT_READY_N, 4
.type AD_PORT_READY,@object # @AD_PORT_READY
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.long 0 # 0x0
.size AD_PORT_READY, 4
.type AD_STATE_SYNCHRONIZATION,@object # @AD_STATE_SYNCHRONIZATION
.globl AD_STATE_SYNCHRONIZATION
.p2align 2, 0x0
AD_STATE_SYNCHRONIZATION:
.long 0 # 0x0
.size AD_STATE_SYNCHRONIZATION, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Mux Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 52
.type AD_STATE_COLLECTING,@object # @AD_STATE_COLLECTING
.bss
.globl AD_STATE_COLLECTING
.p2align 2, 0x0
AD_STATE_COLLECTING:
.long 0 # 0x0
.size AD_STATE_COLLECTING, 4
.type AD_STATE_DISTRIBUTING,@object # @AD_STATE_DISTRIBUTING
.globl AD_STATE_DISTRIBUTING
.p2align 2, 0x0
AD_STATE_DISTRIBUTING:
.long 0 # 0x0
.size AD_STATE_DISTRIBUTING, 4
.type AD_WAIT_WHILE_TIMER,@object # @AD_WAIT_WHILE_TIMER
.globl AD_WAIT_WHILE_TIMER
.p2align 2, 0x0
AD_WAIT_WHILE_TIMER:
.long 0 # 0x0
.size AD_WAIT_WHILE_TIMER, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_mux_machine
| .text
.file "extr_bond_3ad.c_ad_mux_machine.c"
.p2align 4, 0x90 # -- Begin function ad_mux_machine
.type ad_mux_machine,@function
ad_mux_machine: # @ad_mux_machine
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %rbx
movq (%rdi), %r14
movl 8(%rdi), %eax
testl %eax, AD_PORT_BEGIN(%rip)
je .LBB0_7
.LBB0_1:
movq $129, (%rbx)
.LBB0_2:
movq (%rbx), %rcx
cmpq %r14, %rcx
jne .LBB0_3
.LBB0_6:
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.LBB0_3:
.cfi_def_cfa_offset 32
movl 24(%rbx), %esi
leaq .L.str(%rip), %rdi
movq %r14, %rdx
callq pr_debug@PLT
movq (%rbx), %rax
addq $-128, %rax
cmpq $3, %rax
ja .LBB0_6
# %bb.4:
leaq .LJTI0_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_5:
movl AD_WAIT_WHILE_TIMER(%rip), %edi
xorl %esi, %esi
callq __ad_timer_to_ticks@PLT
movl %eax, 20(%rbx)
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.LBB0_7:
.cfi_def_cfa_offset 32
leaq -128(%r14), %rcx
cmpq $3, %rcx
ja .LBB0_2
# %bb.8:
leaq .LJTI0_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
.LBB0_9:
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_32
# %bb.10:
movl 20(%rbx), %ecx
testl %ecx, %ecx
je .LBB0_13
# %bb.11:
decl %ecx
movl %ecx, 20(%rbx)
jne .LBB0_13
# %bb.12:
orl AD_PORT_READY_N(%rip), %eax
movl %eax, 8(%rbx)
.LBB0_13:
movq 32(%rbx), %r15
movq %r15, %rdi
callq __agg_ports_are_ready@PLT
movq %r15, %rdi
movl %eax, %esi
callq __set_agg_ports_ready@PLT
movl AD_PORT_READY(%rip), %eax
testl %eax, 8(%rbx)
je .LBB0_2
# %bb.14:
cmpl $0, 20(%rbx)
jne .LBB0_2
jmp .LBB0_15
.LBB0_16:
movq %rbx, %rdi
callq __detach_bond_from_agg@PLT
movl AD_STATE_SYNCHRONIZATION(%rip), %eax
notl %eax
andl %eax, 12(%rbx)
movq %rbx, %rdi
callq ad_disable_collecting_distributing@PLT
movl AD_STATE_COLLECTING(%rip), %eax
orl AD_STATE_DISTRIBUTING(%rip), %eax
notl %eax
andl %eax, 12(%rbx)
jmp .LBB0_19
.LBB0_17:
movl 12(%rbx), %eax
orl AD_STATE_COLLECTING(%rip), %eax
orl AD_STATE_DISTRIBUTING(%rip), %eax
movl %eax, 12(%rbx)
movq %rbx, %rdi
callq ad_enable_collecting_distributing@PLT
jmp .LBB0_19
.LBB0_18:
movq %rbx, %rdi
callq __attach_bond_to_agg@PLT
movl 12(%rbx), %eax
orl AD_STATE_SYNCHRONIZATION(%rip), %eax
movl AD_STATE_COLLECTING(%rip), %ecx
orl AD_STATE_DISTRIBUTING(%rip), %ecx
notl %ecx
andl %eax, %ecx
movl %ecx, 12(%rbx)
movq %rbx, %rdi
callq ad_disable_collecting_distributing@PLT
.LBB0_19:
movl $1, 16(%rbx)
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.LBB0_20:
.cfi_def_cfa_offset 32
testl %eax, AD_PORT_SELECTED(%rip)
jne .LBB0_22
# %bb.21:
testl %eax, AD_PORT_STANDBY(%rip)
je .LBB0_2
.LBB0_22:
movq $128, (%rbx)
jmp .LBB0_2
.LBB0_23:
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_15
# %bb.24:
testl %eax, AD_PORT_STANDBY(%rip)
je .LBB0_34
.LBB0_15:
movq $131, (%rbx)
jmp .LBB0_2
.LBB0_26:
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_31
# %bb.27:
movl AD_STATE_SYNCHRONIZATION(%rip), %ecx
testl %ecx, 40(%rbx)
je .LBB0_30
# %bb.28:
movq %rbx, %rdi
callq __check_agg_selection_timer@PLT
testl %eax, %eax
je .LBB0_39
# %bb.29:
movl 8(%rbx), %eax
testl %eax, AD_PORT_SELECTED(%rip)
je .LBB0_31
.LBB0_30:
testl %eax, AD_PORT_STANDBY(%rip)
je .LBB0_2
.LBB0_31:
movl AD_PORT_READY_N(%rip), %ecx
notl %ecx
andl %eax, %ecx
movl %ecx, 8(%rbx)
jmp .LBB0_33
.LBB0_32:
movl AD_PORT_READY_N(%rip), %ecx
notl %ecx
andl %ecx, %eax
movl %eax, 8(%rbx)
.LBB0_33:
movq 32(%rbx), %r15
movq %r15, %rdi
callq __agg_ports_are_ready@PLT
movq %r15, %rdi
movl %eax, %esi
callq __set_agg_ports_ready@PLT
jmp .LBB0_1
.LBB0_34:
movl AD_STATE_SYNCHRONIZATION(%rip), %eax
testl %eax, 40(%rbx)
je .LBB0_15
# %bb.35:
movq 32(%rbx), %rax
testq %rax, %rax
je .LBB0_2
# %bb.36:
cmpl $0, (%rax)
je .LBB0_2
# %bb.37:
movq %rbx, %rdi
callq __port_is_enabled@PLT
testl %eax, %eax
jne .LBB0_2
# %bb.38:
movq %rbx, %rdi
callq __enable_port@PLT
jmp .LBB0_2
.LBB0_39:
movq $130, (%rbx)
jmp .LBB0_2
.Lfunc_end0:
.size ad_mux_machine, .Lfunc_end0-ad_mux_machine
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_9-.LJTI0_0
.long .LBB0_20-.LJTI0_0
.long .LBB0_23-.LJTI0_0
.long .LBB0_26-.LJTI0_0
.LJTI0_1:
.long .LBB0_5-.LJTI0_1
.long .LBB0_16-.LJTI0_1
.long .LBB0_17-.LJTI0_1
.long .LBB0_18-.LJTI0_1
# -- End function
.type AD_PORT_BEGIN,@object # @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.long 0 # 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.type AD_PORT_STANDBY,@object # @AD_PORT_STANDBY
.globl AD_PORT_STANDBY
.p2align 2, 0x0
AD_PORT_STANDBY:
.long 0 # 0x0
.size AD_PORT_STANDBY, 4
.type AD_PORT_READY_N,@object # @AD_PORT_READY_N
.globl AD_PORT_READY_N
.p2align 2, 0x0
AD_PORT_READY_N:
.long 0 # 0x0
.size AD_PORT_READY_N, 4
.type AD_PORT_READY,@object # @AD_PORT_READY
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.long 0 # 0x0
.size AD_PORT_READY, 4
.type AD_STATE_SYNCHRONIZATION,@object # @AD_STATE_SYNCHRONIZATION
.globl AD_STATE_SYNCHRONIZATION
.p2align 2, 0x0
AD_STATE_SYNCHRONIZATION:
.long 0 # 0x0
.size AD_STATE_SYNCHRONIZATION, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Mux Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 52
.type AD_STATE_COLLECTING,@object # @AD_STATE_COLLECTING
.bss
.globl AD_STATE_COLLECTING
.p2align 2, 0x0
AD_STATE_COLLECTING:
.long 0 # 0x0
.size AD_STATE_COLLECTING, 4
.type AD_STATE_DISTRIBUTING,@object # @AD_STATE_DISTRIBUTING
.globl AD_STATE_DISTRIBUTING
.p2align 2, 0x0
AD_STATE_DISTRIBUTING:
.long 0 # 0x0
.size AD_STATE_DISTRIBUTING, 4
.type AD_WAIT_WHILE_TIMER,@object # @AD_WAIT_WHILE_TIMER
.globl AD_WAIT_WHILE_TIMER
.p2align 2, 0x0
AD_WAIT_WHILE_TIMER:
.long 0 # 0x0
.size AD_WAIT_WHILE_TIMER, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_mux_machine
|
extr_bond_sysfs.c_bonding_show_ad_partner_mac.c | .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_mac.c"
.p2align 2 // -- Begin function bonding_show_ad_partner_mac
.type bonding_show_ad_partner_mac,@function
bonding_show_ad_partner_mac: // @bonding_show_ad_partner_mac
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] // 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str wzr, [sp, #20]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
adrp x9, BOND_MODE_8023AD
ldr x9, [x9, :lo12:BOND_MODE_8023AD]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_4
b .LBB0_1
.LBB0_1:
ldr x0, [sp, #8]
add x1, sp, #4
bl bond_3ad_get_active_agg_info
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
ldr x0, [sp, #24]
ldr w2, [sp, #4]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
str w0, [sp, #20]
b .LBB0_3
.LBB0_3:
b .LBB0_4
.LBB0_4:
ldr w0, [sp, #20]
.cfi_def_cfa wsp, 64
ldp x29, x30, [sp, #48] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_partner_mac, .Lfunc_end0-bonding_show_ad_partner_mac
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pM\n"
.size .L.str, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_mac
.addrsig_sym to_bond
.addrsig_sym bond_3ad_get_active_agg_info
.addrsig_sym sprintf
.addrsig_sym BOND_MODE_8023AD
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_mac.c"
.p2align 2 // -- Begin function bonding_show_ad_partner_mac
.type bonding_show_ad_partner_mac,@function
bonding_show_ad_partner_mac: // @bonding_show_ad_partner_mac
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
cbz w0, .LBB0_3
.LBB0_2:
mov w0, wzr
b .LBB0_4
.LBB0_3:
ldr w2, [x29, #28]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
bl sprintf
.LBB0_4:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_partner_mac, .Lfunc_end0-bonding_show_ad_partner_mac
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pM\n"
.size .L.str, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_mac
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_mac.c"
.p2align 2 // -- Begin function bonding_show_ad_partner_mac
.type bonding_show_ad_partner_mac,@function
bonding_show_ad_partner_mac: // @bonding_show_ad_partner_mac
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
cbz w0, .LBB0_3
.LBB0_2:
mov w0, wzr
b .LBB0_4
.LBB0_3:
ldr w2, [x29, #28]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
bl sprintf
.LBB0_4:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_partner_mac, .Lfunc_end0-bonding_show_ad_partner_mac
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pM\n"
.size .L.str, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_mac
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_mac.c"
.p2align 2 // -- Begin function bonding_show_ad_partner_mac
.type bonding_show_ad_partner_mac,@function
bonding_show_ad_partner_mac: // @bonding_show_ad_partner_mac
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
cbz w0, .LBB0_3
.LBB0_2:
mov w0, wzr
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_3:
.cfi_restore_state
ldr w2, [x29, #28]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
bl sprintf
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_partner_mac, .Lfunc_end0-bonding_show_ad_partner_mac
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pM\n"
.size .L.str, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_mac
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_mac.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_partner_mac
.type bonding_show_ad_partner_mac,@function
bonding_show_ad_partner_mac: # @bonding_show_ad_partner_mac
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl $0, -28(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq (%rax), %rax
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_4
# %bb.1:
movq -40(%rbp), %rdi
leaq -44(%rbp), %rsi
callq bond_3ad_get_active_agg_info@PLT
cmpl $0, %eax
jne .LBB0_3
# %bb.2:
movq -24(%rbp), %rdi
movl -44(%rbp), %edx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
movl %eax, -28(%rbp)
.LBB0_3:
jmp .LBB0_4
.LBB0_4:
movl -28(%rbp), %eax
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_ad_partner_mac, .Lfunc_end0-bonding_show_ad_partner_mac
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pM\n"
.size .L.str, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_mac
.addrsig_sym to_bond
.addrsig_sym bond_3ad_get_active_agg_info
.addrsig_sym sprintf
.addrsig_sym BOND_MODE_8023AD
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_mac.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_partner_mac
.type bonding_show_ad_partner_mac,@function
bonding_show_ad_partner_mac: # @bonding_show_ad_partner_mac
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq %rax, %rdi
movq (%rax), %rcx
xorl %eax, %eax
cmpq BOND_MODE_8023AD(%rip), %rcx
jne .LBB0_3
# %bb.1:
leaq 12(%rsp), %rsi
callq bond_3ad_get_active_agg_info@PLT
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne .LBB0_3
# %bb.2:
movl 12(%rsp), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
.LBB0_3:
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_partner_mac, .Lfunc_end0-bonding_show_ad_partner_mac
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pM\n"
.size .L.str, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_mac
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_mac.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_partner_mac
.type bonding_show_ad_partner_mac,@function
bonding_show_ad_partner_mac: # @bonding_show_ad_partner_mac
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq %rax, %rdi
movq (%rax), %rcx
xorl %eax, %eax
cmpq BOND_MODE_8023AD(%rip), %rcx
jne .LBB0_3
# %bb.1:
leaq 12(%rsp), %rsi
callq bond_3ad_get_active_agg_info@PLT
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne .LBB0_3
# %bb.2:
movl 12(%rsp), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
.LBB0_3:
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_partner_mac, .Lfunc_end0-bonding_show_ad_partner_mac
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pM\n"
.size .L.str, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_mac
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_mac.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_partner_mac
.type bonding_show_ad_partner_mac,@function
bonding_show_ad_partner_mac: # @bonding_show_ad_partner_mac
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq %rax, %rdi
movq (%rax), %rcx
xorl %eax, %eax
cmpq BOND_MODE_8023AD(%rip), %rcx
jne .LBB0_3
# %bb.1:
leaq 12(%rsp), %rsi
callq bond_3ad_get_active_agg_info@PLT
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
je .LBB0_2
.LBB0_3:
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_2:
.cfi_def_cfa_offset 32
movl 12(%rsp), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_partner_mac, .Lfunc_end0-bonding_show_ad_partner_mac
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pM\n"
.size .L.str, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_mac
|
extr_bond_sysfs.c_bonding_show_arp_interval.c | .text
.file "extr_bond_sysfs.c_bonding_show_arp_interval.c"
.p2align 2 // -- Begin function bonding_show_arp_interval
.type bonding_show_arp_interval,@function
bonding_show_arp_interval: // @bonding_show_arp_interval
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp]
ldr x0, [sp, #8]
ldr x8, [sp]
ldr w2, [x8]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_arp_interval, .Lfunc_end0-bonding_show_arp_interval
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_interval
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_interval.c"
.p2align 2 // -- Begin function bonding_show_arp_interval
.type bonding_show_arp_interval,@function
bonding_show_arp_interval: // @bonding_show_arp_interval
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_arp_interval, .Lfunc_end0-bonding_show_arp_interval
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_interval
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_interval.c"
.p2align 2 // -- Begin function bonding_show_arp_interval
.type bonding_show_arp_interval,@function
bonding_show_arp_interval: // @bonding_show_arp_interval
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_arp_interval, .Lfunc_end0-bonding_show_arp_interval
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_interval
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_interval.c"
.p2align 2 // -- Begin function bonding_show_arp_interval
.type bonding_show_arp_interval,@function
bonding_show_arp_interval: // @bonding_show_arp_interval
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_arp_interval, .Lfunc_end0-bonding_show_arp_interval
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_interval
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_interval.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_interval
.type bonding_show_arp_interval,@function
bonding_show_arp_interval: # @bonding_show_arp_interval
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -32(%rbp)
movq -24(%rbp), %rdi
movq -32(%rbp), %rax
movl (%rax), %edx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_arp_interval, .Lfunc_end0-bonding_show_arp_interval
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_interval
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_interval.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_interval
.type bonding_show_arp_interval,@function
bonding_show_arp_interval: # @bonding_show_arp_interval
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_arp_interval, .Lfunc_end0-bonding_show_arp_interval
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_interval
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_interval.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_interval
.type bonding_show_arp_interval,@function
bonding_show_arp_interval: # @bonding_show_arp_interval
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_arp_interval, .Lfunc_end0-bonding_show_arp_interval
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_interval
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_interval.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_interval
.type bonding_show_arp_interval,@function
bonding_show_arp_interval: # @bonding_show_arp_interval
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_arp_interval, .Lfunc_end0-bonding_show_arp_interval
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_interval
|
extr_bond_sysfs.c_bonding_show_downdelay.c | .text
.file "extr_bond_sysfs.c_bonding_show_downdelay.c"
.p2align 2 // -- Begin function bonding_show_downdelay
.type bonding_show_downdelay,@function
bonding_show_downdelay: // @bonding_show_downdelay
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp]
ldr x0, [sp, #8]
ldr x8, [sp]
ldr w8, [x8]
ldr x9, [sp]
ldr w9, [x9, #4]
mul w2, w8, w9
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_downdelay, .Lfunc_end0-bonding_show_downdelay
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_downdelay
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_downdelay.c"
.p2align 2 // -- Begin function bonding_show_downdelay
.type bonding_show_downdelay,@function
bonding_show_downdelay: // @bonding_show_downdelay
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldp w8, w9, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mul w2, w9, w8
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_downdelay, .Lfunc_end0-bonding_show_downdelay
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_downdelay
| .text
.file "extr_bond_sysfs.c_bonding_show_downdelay.c"
.p2align 2 // -- Begin function bonding_show_downdelay
.type bonding_show_downdelay,@function
bonding_show_downdelay: // @bonding_show_downdelay
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldp w8, w9, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mul w2, w9, w8
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_downdelay, .Lfunc_end0-bonding_show_downdelay
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_downdelay
| .text
.file "extr_bond_sysfs.c_bonding_show_downdelay.c"
.p2align 2 // -- Begin function bonding_show_downdelay
.type bonding_show_downdelay,@function
bonding_show_downdelay: // @bonding_show_downdelay
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldp w8, w9, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mul w2, w9, w8
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_downdelay, .Lfunc_end0-bonding_show_downdelay
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_downdelay
| .text
.file "extr_bond_sysfs.c_bonding_show_downdelay.c"
.p2align 4, 0x90 # -- Begin function bonding_show_downdelay
.type bonding_show_downdelay,@function
bonding_show_downdelay: # @bonding_show_downdelay
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -32(%rbp)
movq -24(%rbp), %rdi
movq -32(%rbp), %rax
movl (%rax), %edx
movq -32(%rbp), %rax
imull 4(%rax), %edx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_downdelay, .Lfunc_end0-bonding_show_downdelay
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_downdelay
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_downdelay.c"
.p2align 4, 0x90 # -- Begin function bonding_show_downdelay
.type bonding_show_downdelay,@function
bonding_show_downdelay: # @bonding_show_downdelay
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl 4(%rax), %edx
imull (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_downdelay, .Lfunc_end0-bonding_show_downdelay
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_downdelay
| .text
.file "extr_bond_sysfs.c_bonding_show_downdelay.c"
.p2align 4, 0x90 # -- Begin function bonding_show_downdelay
.type bonding_show_downdelay,@function
bonding_show_downdelay: # @bonding_show_downdelay
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl 4(%rax), %edx
imull (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_downdelay, .Lfunc_end0-bonding_show_downdelay
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_downdelay
| .text
.file "extr_bond_sysfs.c_bonding_show_downdelay.c"
.p2align 4, 0x90 # -- Begin function bonding_show_downdelay
.type bonding_show_downdelay,@function
bonding_show_downdelay: # @bonding_show_downdelay
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl 4(%rax), %edx
imull (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_downdelay, .Lfunc_end0-bonding_show_downdelay
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_downdelay
|
extr_ltpc.c_wait_timeout.c | .text
.file "extr_ltpc.c_wait_timeout.c"
.p2align 2 // -- Begin function wait_timeout
.type wait_timeout,@function
wait_timeout: // @wait_timeout
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
str wzr, [sp, #8]
b .LBB0_1
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
mov w9, #3392 // =0xd40
movk w9, #3, lsl #16
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, .LBB0_6
b .LBB0_2
.LBB0_2: // in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
str w8, [sp, #4] // 4-byte Folded Spill
ldr x8, [sp, #16]
ldr x8, [x8]
add x0, x8, #6
bl inb_p
ldr w8, [sp, #4] // 4-byte Folded Reload
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
stur wzr, [x29, #-4]
b .LBB0_7
.LBB0_4: // in Loop: Header=BB0_1 Depth=1
mov w0, #100 // =0x64
bl udelay
b .LBB0_5
.LBB0_5: // in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b .LBB0_1
.LBB0_6:
mov w8, #1 // =0x1
stur w8, [x29, #-4]
b .LBB0_7
.LBB0_7:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size wait_timeout, .Lfunc_end0-wait_timeout
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym wait_timeout
.addrsig_sym inb_p
.addrsig_sym udelay
| .text
.file "extr_ltpc.c_wait_timeout.c"
.p2align 2 // -- Begin function wait_timeout
.type wait_timeout,@function
wait_timeout: // @wait_timeout
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w21, #3392 // =0xd40
mov w19, w1
mov x20, x0
movk w21, #3, lsl #16
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldr x8, [x20]
add x0, x8, #6
bl inb_p
cmp w0, w19
b.ne .LBB0_4
// %bb.2: // in Loop: Header=BB0_1 Depth=1
mov w0, #100 // =0x64
bl udelay
subs w21, w21, #1
b.ne .LBB0_1
// %bb.3:
mov w0, #1 // =0x1
b .LBB0_5
.LBB0_4:
mov w0, wzr
.LBB0_5:
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size wait_timeout, .Lfunc_end0-wait_timeout
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym wait_timeout
| .text
.file "extr_ltpc.c_wait_timeout.c"
.p2align 2 // -- Begin function wait_timeout
.type wait_timeout,@function
wait_timeout: // @wait_timeout
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w21, #3392 // =0xd40
mov w19, w1
mov x20, x0
movk w21, #3, lsl #16
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldr x8, [x20]
add x0, x8, #6
bl inb_p
cmp w0, w19
b.ne .LBB0_4
// %bb.2: // in Loop: Header=BB0_1 Depth=1
mov w0, #100 // =0x64
bl udelay
subs w21, w21, #1
b.ne .LBB0_1
// %bb.3:
mov w0, #1 // =0x1
b .LBB0_5
.LBB0_4:
mov w0, wzr
.LBB0_5:
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size wait_timeout, .Lfunc_end0-wait_timeout
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym wait_timeout
| .text
.file "extr_ltpc.c_wait_timeout.c"
.p2align 2 // -- Begin function wait_timeout
.type wait_timeout,@function
wait_timeout: // @wait_timeout
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
mov w21, #3392 // =0xd40
mov w19, w1
mov x20, x0
movk w21, #3, lsl #16
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldr x8, [x20]
add x0, x8, #6
bl inb_p
cmp w0, w19
b.ne .LBB0_4
// %bb.2: // in Loop: Header=BB0_1 Depth=1
mov w0, #100 // =0x64
bl udelay
subs w21, w21, #1
b.ne .LBB0_1
// %bb.3:
mov w0, #1 // =0x1
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_4:
.cfi_restore_state
mov w0, wzr
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size wait_timeout, .Lfunc_end0-wait_timeout
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym wait_timeout
| .text
.file "extr_ltpc.c_wait_timeout.c"
.p2align 4, 0x90 # -- Begin function wait_timeout
.type wait_timeout,@function
wait_timeout: # @wait_timeout
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl $0, -24(%rbp)
.LBB0_1: # =>This Inner Loop Header: Depth=1
cmpl $200000, -24(%rbp) # imm = 0x30D40
jge .LBB0_6
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
movl %eax, -28(%rbp) # 4-byte Spill
movq -16(%rbp), %rax
movq (%rax), %rdi
addq $6, %rdi
callq inb_p@PLT
movl %eax, %ecx
movl -28(%rbp), %eax # 4-byte Reload
cmpl %ecx, %eax
je .LBB0_4
# %bb.3:
movl $0, -4(%rbp)
jmp .LBB0_7
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
movl $100, %edi
callq udelay@PLT
# %bb.5: # in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp .LBB0_1
.LBB0_6:
movl $1, -4(%rbp)
.LBB0_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size wait_timeout, .Lfunc_end0-wait_timeout
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym wait_timeout
.addrsig_sym inb_p
.addrsig_sym udelay
| .text
.file "extr_ltpc.c_wait_timeout.c"
.p2align 4, 0x90 # -- Begin function wait_timeout
.type wait_timeout,@function
wait_timeout: # @wait_timeout
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
movl %esi, %ebx
movq %rdi, %r14
movl $200000, %ebp # imm = 0x30D40
.p2align 4, 0x90
.LBB0_1: # =>This Inner Loop Header: Depth=1
movq (%r14), %rdi
addq $6, %rdi
callq inb_p@PLT
cmpl %ebx, %eax
jne .LBB0_2
# %bb.3: # in Loop: Header=BB0_1 Depth=1
movl $100, %edi
callq udelay@PLT
decl %ebp
jne .LBB0_1
# %bb.4:
movl $1, %eax
jmp .LBB0_5
.LBB0_2:
xorl %eax, %eax
.LBB0_5:
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size wait_timeout, .Lfunc_end0-wait_timeout
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym wait_timeout
| .text
.file "extr_ltpc.c_wait_timeout.c"
.p2align 4, 0x90 # -- Begin function wait_timeout
.type wait_timeout,@function
wait_timeout: # @wait_timeout
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
movl %esi, %ebx
movq %rdi, %r14
movl $200000, %ebp # imm = 0x30D40
.p2align 4, 0x90
.LBB0_1: # =>This Inner Loop Header: Depth=1
movq (%r14), %rdi
addq $6, %rdi
callq inb_p@PLT
cmpl %ebx, %eax
jne .LBB0_2
# %bb.3: # in Loop: Header=BB0_1 Depth=1
movl $100, %edi
callq udelay@PLT
decl %ebp
jne .LBB0_1
# %bb.4:
movl $1, %eax
jmp .LBB0_5
.LBB0_2:
xorl %eax, %eax
.LBB0_5:
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size wait_timeout, .Lfunc_end0-wait_timeout
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym wait_timeout
| .text
.file "extr_ltpc.c_wait_timeout.c"
.p2align 4, 0x90 # -- Begin function wait_timeout
.type wait_timeout,@function
wait_timeout: # @wait_timeout
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
movl %esi, %ebx
movq %rdi, %r14
movl $200000, %ebp # imm = 0x30D40
.p2align 4, 0x90
.LBB0_1: # =>This Inner Loop Header: Depth=1
movq (%r14), %rdi
addq $6, %rdi
callq inb_p@PLT
cmpl %ebx, %eax
jne .LBB0_2
# %bb.3: # in Loop: Header=BB0_1 Depth=1
movl $100, %edi
callq udelay@PLT
decl %ebp
jne .LBB0_1
# %bb.4:
movl $1, %eax
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.LBB0_2:
.cfi_def_cfa_offset 32
xorl %eax, %eax
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size wait_timeout, .Lfunc_end0-wait_timeout
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym wait_timeout
|
extr_bond_sysfs.c_bonding_store_resend_igmp.c | .text
.file "extr_bond_sysfs.c_bonding_store_resend_igmp.c"
.p2align 2 // -- Begin function bonding_store_resend_igmp
.type bonding_store_resend_igmp,@function
bonding_store_resend_igmp: // @bonding_store_resend_igmp
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] // 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str x3, [sp, #16]
ldr x8, [sp, #16]
// kill: def $w8 killed $w8 killed $x8
str w8, [sp, #8]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp]
ldr x0, [sp, #24]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
add x2, sp, #12
bl sscanf
subs w8, w0, #1
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x8, [sp]
ldr x8, [x8, #8]
ldr w1, [x8]
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl pr_err
adrp x8, EINVAL
ldr w9, [x8, :lo12:EINVAL]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #8]
b .LBB0_6
.LBB0_2:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
ldr w8, [sp, #12]
subs w8, w8, #255
cset w8, le
tbnz w8, #0, .LBB0_5
b .LBB0_4
.LBB0_4:
ldr x8, [sp]
ldr x8, [x8, #8]
ldr w1, [x8]
ldr w2, [sp, #12]
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl pr_err
adrp x8, EINVAL
ldr w9, [x8, :lo12:EINVAL]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #8]
b .LBB0_6
.LBB0_5:
ldr x8, [sp]
ldr x8, [x8, #8]
ldr w1, [x8]
ldr w2, [sp, #12]
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl pr_info
ldr w8, [sp, #12]
ldr x9, [sp]
str w8, [x9]
b .LBB0_6
.LBB0_6:
ldr w0, [sp, #8]
.cfi_def_cfa wsp, 64
ldp x29, x30, [sp, #48] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_store_resend_igmp, .Lfunc_end0-bonding_store_resend_igmp
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d"
.size .L.str, 3
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "%s: no resend_igmp value specified.\n"
.size .L.str.1, 37
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type .L.str.2,@object // @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "%s: Invalid resend_igmp value %d not in range 0-255; rejected.\n"
.size .L.str.2, 64
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "%s: Setting resend_igmp to %d.\n"
.size .L.str.3, 32
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_store_resend_igmp
.addrsig_sym to_bond
.addrsig_sym sscanf
.addrsig_sym pr_err
.addrsig_sym pr_info
.addrsig_sym EINVAL
| .text
.file "extr_bond_sysfs.c_bonding_store_resend_igmp.c"
.p2align 2 // -- Begin function bonding_store_resend_igmp
.type bonding_store_resend_igmp,@function
bonding_store_resend_igmp: // @bonding_store_resend_igmp
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x19, x3
mov x21, x2
bl to_bond
mov x20, x0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
add x2, x29, #28
mov x0, x21
bl sscanf
cmp w0, #1
b.ne .LBB0_3
// %bb.1:
ldr x8, [x20, #8]
ldr w2, [x29, #28]
ldr w1, [x8]
cmp w2, #256
b.lo .LBB0_5
// %bb.2:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl pr_err
b .LBB0_4
.LBB0_3:
ldr x8, [x20, #8]
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
ldr w1, [x8]
bl pr_err
.LBB0_4:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w19, w8
b .LBB0_6
.LBB0_5:
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl pr_info
ldr w8, [x29, #28]
str w8, [x20]
.LBB0_6:
mov w0, w19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_store_resend_igmp, .Lfunc_end0-bonding_store_resend_igmp
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d"
.size .L.str, 3
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "%s: no resend_igmp value specified.\n"
.size .L.str.1, 37
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type .L.str.2,@object // @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "%s: Invalid resend_igmp value %d not in range 0-255; rejected.\n"
.size .L.str.2, 64
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "%s: Setting resend_igmp to %d.\n"
.size .L.str.3, 32
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_store_resend_igmp
| .text
.file "extr_bond_sysfs.c_bonding_store_resend_igmp.c"
.p2align 2 // -- Begin function bonding_store_resend_igmp
.type bonding_store_resend_igmp,@function
bonding_store_resend_igmp: // @bonding_store_resend_igmp
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x19, x3
mov x21, x2
bl to_bond
mov x20, x0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
add x2, x29, #28
mov x0, x21
bl sscanf
cmp w0, #1
b.ne .LBB0_3
// %bb.1:
ldr x8, [x20, #8]
ldr w2, [x29, #28]
ldr w1, [x8]
cmp w2, #256
b.lo .LBB0_5
// %bb.2:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl pr_err
b .LBB0_4
.LBB0_3:
ldr x8, [x20, #8]
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
ldr w1, [x8]
bl pr_err
.LBB0_4:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w19, w8
b .LBB0_6
.LBB0_5:
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl pr_info
ldr w8, [x29, #28]
str w8, [x20]
.LBB0_6:
mov w0, w19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_store_resend_igmp, .Lfunc_end0-bonding_store_resend_igmp
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d"
.size .L.str, 3
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "%s: no resend_igmp value specified.\n"
.size .L.str.1, 37
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type .L.str.2,@object // @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "%s: Invalid resend_igmp value %d not in range 0-255; rejected.\n"
.size .L.str.2, 64
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "%s: Setting resend_igmp to %d.\n"
.size .L.str.3, 32
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_store_resend_igmp
| .text
.file "extr_bond_sysfs.c_bonding_store_resend_igmp.c"
.p2align 2 // -- Begin function bonding_store_resend_igmp
.type bonding_store_resend_igmp,@function
bonding_store_resend_igmp: // @bonding_store_resend_igmp
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
mov x19, x3
mov x21, x2
bl to_bond
mov x20, x0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
add x2, x29, #28
mov x0, x21
bl sscanf
cmp w0, #1
b.ne .LBB0_3
// %bb.1:
ldr x8, [x20, #8]
ldr w2, [x29, #28]
ldr w1, [x8]
cmp w2, #256
b.lo .LBB0_5
// %bb.2:
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl pr_err
b .LBB0_4
.LBB0_3:
ldr x8, [x20, #8]
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
ldr w1, [x8]
bl pr_err
.LBB0_4:
adrp x8, EINVAL
ldr w8, [x8, :lo12:EINVAL]
neg w19, w8
mov w0, w19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
adrp x0, .L.str.3
add x0, x0, :lo12:.L.str.3
bl pr_info
ldr w8, [x29, #28]
str w8, [x20]
mov w0, w19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_store_resend_igmp, .Lfunc_end0-bonding_store_resend_igmp
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d"
.size .L.str, 3
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "%s: no resend_igmp value specified.\n"
.size .L.str.1, 37
.type EINVAL,@object // @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.word 0 // 0x0
.size EINVAL, 4
.type .L.str.2,@object // @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "%s: Invalid resend_igmp value %d not in range 0-255; rejected.\n"
.size .L.str.2, 64
.type .L.str.3,@object // @.str.3
.L.str.3:
.asciz "%s: Setting resend_igmp to %d.\n"
.size .L.str.3, 32
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_store_resend_igmp
| .text
.file "extr_bond_sysfs.c_bonding_store_resend_igmp.c"
.p2align 4, 0x90 # -- Begin function bonding_store_resend_igmp
.type bonding_store_resend_igmp,@function
bonding_store_resend_igmp: # @bonding_store_resend_igmp
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq -32(%rbp), %rax
# kill: def $eax killed $eax killed $rax
movl %eax, -40(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -48(%rbp)
movq -24(%rbp), %rdi
leaq .L.str(%rip), %rsi
leaq -36(%rbp), %rdx
callq sscanf@PLT
cmpl $1, %eax
je .LBB0_2
# %bb.1:
movq -48(%rbp), %rax
movq 8(%rax), %rax
movl (%rax), %esi
leaq .L.str.1(%rip), %rdi
movb $0, %al
callq pr_err@PLT
xorl %eax, %eax
subl EINVAL(%rip), %eax
movl %eax, -40(%rbp)
jmp .LBB0_6
.LBB0_2:
cmpl $0, -36(%rbp)
jl .LBB0_4
# %bb.3:
cmpl $255, -36(%rbp)
jle .LBB0_5
.LBB0_4:
movq -48(%rbp), %rax
movq 8(%rax), %rax
movl (%rax), %esi
movl -36(%rbp), %edx
leaq .L.str.2(%rip), %rdi
movb $0, %al
callq pr_err@PLT
xorl %eax, %eax
subl EINVAL(%rip), %eax
movl %eax, -40(%rbp)
jmp .LBB0_6
.LBB0_5:
movq -48(%rbp), %rax
movq 8(%rax), %rax
movl (%rax), %esi
movl -36(%rbp), %edx
leaq .L.str.3(%rip), %rdi
callq pr_info@PLT
movl -36(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
.LBB0_6:
movl -40(%rbp), %eax
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_store_resend_igmp, .Lfunc_end0-bonding_store_resend_igmp
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d"
.size .L.str, 3
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "%s: no resend_igmp value specified.\n"
.size .L.str.1, 37
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type .L.str.2,@object # @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "%s: Invalid resend_igmp value %d not in range 0-255; rejected.\n"
.size .L.str.2, 64
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "%s: Setting resend_igmp to %d.\n"
.size .L.str.3, 32
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_store_resend_igmp
.addrsig_sym to_bond
.addrsig_sym sscanf
.addrsig_sym pr_err
.addrsig_sym pr_info
.addrsig_sym EINVAL
| .text
.file "extr_bond_sysfs.c_bonding_store_resend_igmp.c"
.p2align 4, 0x90 # -- Begin function bonding_store_resend_igmp
.type bonding_store_resend_igmp,@function
bonding_store_resend_igmp: # @bonding_store_resend_igmp
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
subq $16, %rsp
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rcx, %rbx
movq %rdx, %r15
callq to_bond@PLT
movq %rax, %r14
leaq .L.str(%rip), %rsi
leaq 12(%rsp), %rdx
movq %r15, %rdi
callq sscanf@PLT
cmpl $1, %eax
jne .LBB0_1
# %bb.2:
movl 12(%rsp), %edx
movq 8(%r14), %rax
movl (%rax), %esi
cmpl $256, %edx # imm = 0x100
jb .LBB0_4
# %bb.3:
leaq .L.str.2(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq pr_err@PLT
subl EINVAL(%rip), %ebx
jmp .LBB0_5
.LBB0_1:
movq 8(%r14), %rax
movl (%rax), %esi
leaq .L.str.1(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq pr_err@PLT
subl EINVAL(%rip), %ebx
jmp .LBB0_5
.LBB0_4:
leaq .L.str.3(%rip), %rdi
callq pr_info@PLT
movl 12(%rsp), %eax
movl %eax, (%r14)
.LBB0_5:
movl %ebx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 32
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_store_resend_igmp, .Lfunc_end0-bonding_store_resend_igmp
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d"
.size .L.str, 3
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "%s: no resend_igmp value specified.\n"
.size .L.str.1, 37
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type .L.str.2,@object # @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "%s: Invalid resend_igmp value %d not in range 0-255; rejected.\n"
.size .L.str.2, 64
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "%s: Setting resend_igmp to %d.\n"
.size .L.str.3, 32
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_store_resend_igmp
| .text
.file "extr_bond_sysfs.c_bonding_store_resend_igmp.c"
.p2align 4, 0x90 # -- Begin function bonding_store_resend_igmp
.type bonding_store_resend_igmp,@function
bonding_store_resend_igmp: # @bonding_store_resend_igmp
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
subq $16, %rsp
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rcx, %rbx
movq %rdx, %r15
callq to_bond@PLT
movq %rax, %r14
leaq .L.str(%rip), %rsi
leaq 12(%rsp), %rdx
movq %r15, %rdi
callq sscanf@PLT
cmpl $1, %eax
jne .LBB0_1
# %bb.2:
movl 12(%rsp), %edx
movq 8(%r14), %rax
movl (%rax), %esi
cmpl $256, %edx # imm = 0x100
jb .LBB0_4
# %bb.3:
leaq .L.str.2(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq pr_err@PLT
subl EINVAL(%rip), %ebx
jmp .LBB0_5
.LBB0_1:
movq 8(%r14), %rax
movl (%rax), %esi
leaq .L.str.1(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq pr_err@PLT
subl EINVAL(%rip), %ebx
jmp .LBB0_5
.LBB0_4:
leaq .L.str.3(%rip), %rdi
callq pr_info@PLT
movl 12(%rsp), %eax
movl %eax, (%r14)
.LBB0_5:
movl %ebx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 32
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_store_resend_igmp, .Lfunc_end0-bonding_store_resend_igmp
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d"
.size .L.str, 3
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "%s: no resend_igmp value specified.\n"
.size .L.str.1, 37
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type .L.str.2,@object # @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "%s: Invalid resend_igmp value %d not in range 0-255; rejected.\n"
.size .L.str.2, 64
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "%s: Setting resend_igmp to %d.\n"
.size .L.str.3, 32
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_store_resend_igmp
| .text
.file "extr_bond_sysfs.c_bonding_store_resend_igmp.c"
.p2align 4, 0x90 # -- Begin function bonding_store_resend_igmp
.type bonding_store_resend_igmp,@function
bonding_store_resend_igmp: # @bonding_store_resend_igmp
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
subq $16, %rsp
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rcx, %rbx
movq %rdx, %r15
callq to_bond@PLT
movq %rax, %r14
leaq .L.str(%rip), %rsi
leaq 12(%rsp), %rdx
movq %r15, %rdi
callq sscanf@PLT
cmpl $1, %eax
jne .LBB0_1
# %bb.2:
movl 12(%rsp), %edx
movq 8(%r14), %rax
movl (%rax), %esi
cmpl $256, %edx # imm = 0x100
jb .LBB0_4
# %bb.3:
leaq .L.str.2(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq pr_err@PLT
subl EINVAL(%rip), %ebx
jmp .LBB0_5
.LBB0_1:
movq 8(%r14), %rax
movl (%rax), %esi
leaq .L.str.1(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq pr_err@PLT
subl EINVAL(%rip), %ebx
jmp .LBB0_5
.LBB0_4:
leaq .L.str.3(%rip), %rdi
callq pr_info@PLT
movl 12(%rsp), %eax
movl %eax, (%r14)
.LBB0_5:
movl %ebx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 32
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_store_resend_igmp, .Lfunc_end0-bonding_store_resend_igmp
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d"
.size .L.str, 3
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "%s: no resend_igmp value specified.\n"
.size .L.str.1, 37
.type EINVAL,@object # @EINVAL
.bss
.globl EINVAL
.p2align 2, 0x0
EINVAL:
.long 0 # 0x0
.size EINVAL, 4
.type .L.str.2,@object # @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "%s: Invalid resend_igmp value %d not in range 0-255; rejected.\n"
.size .L.str.2, 64
.type .L.str.3,@object # @.str.3
.L.str.3:
.asciz "%s: Setting resend_igmp to %d.\n"
.size .L.str.3, 32
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_store_resend_igmp
|
extr_bond_sysfs.c_bonding_show_n_grat_arp.c | .text
.file "extr_bond_sysfs.c_bonding_show_n_grat_arp.c"
.p2align 2 // -- Begin function bonding_show_n_grat_arp
.type bonding_show_n_grat_arp,@function
bonding_show_n_grat_arp: // @bonding_show_n_grat_arp
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp]
ldr x0, [sp, #8]
ldr x8, [sp]
ldr w2, [x8]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_n_grat_arp, .Lfunc_end0-bonding_show_n_grat_arp
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_grat_arp
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_n_grat_arp.c"
.p2align 2 // -- Begin function bonding_show_n_grat_arp
.type bonding_show_n_grat_arp,@function
bonding_show_n_grat_arp: // @bonding_show_n_grat_arp
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_n_grat_arp, .Lfunc_end0-bonding_show_n_grat_arp
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_grat_arp
| .text
.file "extr_bond_sysfs.c_bonding_show_n_grat_arp.c"
.p2align 2 // -- Begin function bonding_show_n_grat_arp
.type bonding_show_n_grat_arp,@function
bonding_show_n_grat_arp: // @bonding_show_n_grat_arp
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_n_grat_arp, .Lfunc_end0-bonding_show_n_grat_arp
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_grat_arp
| .text
.file "extr_bond_sysfs.c_bonding_show_n_grat_arp.c"
.p2align 2 // -- Begin function bonding_show_n_grat_arp
.type bonding_show_n_grat_arp,@function
bonding_show_n_grat_arp: // @bonding_show_n_grat_arp
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_n_grat_arp, .Lfunc_end0-bonding_show_n_grat_arp
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_grat_arp
| .text
.file "extr_bond_sysfs.c_bonding_show_n_grat_arp.c"
.p2align 4, 0x90 # -- Begin function bonding_show_n_grat_arp
.type bonding_show_n_grat_arp,@function
bonding_show_n_grat_arp: # @bonding_show_n_grat_arp
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -32(%rbp)
movq -24(%rbp), %rdi
movq -32(%rbp), %rax
movl (%rax), %edx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_n_grat_arp, .Lfunc_end0-bonding_show_n_grat_arp
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_grat_arp
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_n_grat_arp.c"
.p2align 4, 0x90 # -- Begin function bonding_show_n_grat_arp
.type bonding_show_n_grat_arp,@function
bonding_show_n_grat_arp: # @bonding_show_n_grat_arp
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_n_grat_arp, .Lfunc_end0-bonding_show_n_grat_arp
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_grat_arp
| .text
.file "extr_bond_sysfs.c_bonding_show_n_grat_arp.c"
.p2align 4, 0x90 # -- Begin function bonding_show_n_grat_arp
.type bonding_show_n_grat_arp,@function
bonding_show_n_grat_arp: # @bonding_show_n_grat_arp
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_n_grat_arp, .Lfunc_end0-bonding_show_n_grat_arp
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_grat_arp
| .text
.file "extr_bond_sysfs.c_bonding_show_n_grat_arp.c"
.p2align 4, 0x90 # -- Begin function bonding_show_n_grat_arp
.type bonding_show_n_grat_arp,@function
bonding_show_n_grat_arp: # @bonding_show_n_grat_arp
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_n_grat_arp, .Lfunc_end0-bonding_show_n_grat_arp
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_grat_arp
|
extr_bonding.h_slave_last_rx.c | .text
.file "extr_bonding.h_slave_last_rx.c"
.p2align 2 // -- Begin function slave_last_rx
.type slave_last_rx,@function
slave_last_rx: // @slave_last_rx
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
ldr x0, [sp, #16]
ldr x1, [sp, #8]
bl slave_do_arp_validate
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #8]
ldr x8, [x8]
stur x8, [x29, #-8]
b .LBB0_3
.LBB0_2:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x8, [x8]
stur x8, [x29, #-8]
b .LBB0_3
.LBB0_3:
ldur x0, [x29, #-8]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size slave_last_rx, .Lfunc_end0-slave_last_rx
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym slave_last_rx
.addrsig_sym slave_do_arp_validate
| .text
.file "extr_bonding.h_slave_last_rx.c"
.p2align 2 // -- Begin function slave_last_rx
.type slave_last_rx,@function
slave_last_rx: // @slave_last_rx
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x1
bl slave_do_arp_validate
cbnz x0, .LBB0_2
// %bb.1:
ldr x19, [x19, #8]
.LBB0_2:
ldr x0, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size slave_last_rx, .Lfunc_end0-slave_last_rx
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym slave_last_rx
| .text
.file "extr_bonding.h_slave_last_rx.c"
.p2align 2 // -- Begin function slave_last_rx
.type slave_last_rx,@function
slave_last_rx: // @slave_last_rx
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x1
bl slave_do_arp_validate
cbnz x0, .LBB0_2
// %bb.1:
ldr x19, [x19, #8]
.LBB0_2:
ldr x0, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size slave_last_rx, .Lfunc_end0-slave_last_rx
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym slave_last_rx
| .text
.file "extr_bonding.h_slave_last_rx.c"
.p2align 2 // -- Begin function slave_last_rx
.type slave_last_rx,@function
slave_last_rx: // @slave_last_rx
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x1
bl slave_do_arp_validate
cbz x0, .LBB0_2
// %bb.1:
ldr x0, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
ldr x19, [x19, #8]
ldr x0, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size slave_last_rx, .Lfunc_end0-slave_last_rx
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym slave_last_rx
| .text
.file "extr_bonding.h_slave_last_rx.c"
.p2align 4, 0x90 # -- Begin function slave_last_rx
.type slave_last_rx,@function
slave_last_rx: # @slave_last_rx
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq slave_do_arp_validate@PLT
cmpq $0, %rax
je .LBB0_2
# %bb.1:
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
jmp .LBB0_3
.LBB0_2:
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
.LBB0_3:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size slave_last_rx, .Lfunc_end0-slave_last_rx
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym slave_last_rx
.addrsig_sym slave_do_arp_validate
| .text
.file "extr_bonding.h_slave_last_rx.c"
.p2align 4, 0x90 # -- Begin function slave_last_rx
.type slave_last_rx,@function
slave_last_rx: # @slave_last_rx
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rsi, %rbx
callq slave_do_arp_validate@PLT
testq %rax, %rax
jne .LBB0_2
# %bb.1:
movq 8(%rbx), %rbx
.LBB0_2:
movq (%rbx), %rax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size slave_last_rx, .Lfunc_end0-slave_last_rx
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym slave_last_rx
| .text
.file "extr_bonding.h_slave_last_rx.c"
.p2align 4, 0x90 # -- Begin function slave_last_rx
.type slave_last_rx,@function
slave_last_rx: # @slave_last_rx
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rsi, %rbx
callq slave_do_arp_validate@PLT
testq %rax, %rax
jne .LBB0_2
# %bb.1:
movq 8(%rbx), %rbx
.LBB0_2:
movq (%rbx), %rax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size slave_last_rx, .Lfunc_end0-slave_last_rx
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym slave_last_rx
| .text
.file "extr_bonding.h_slave_last_rx.c"
.p2align 4, 0x90 # -- Begin function slave_last_rx
.type slave_last_rx,@function
slave_last_rx: # @slave_last_rx
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rsi, %rbx
callq slave_do_arp_validate@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
movq (%rbx), %rax
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_1:
.cfi_def_cfa_offset 16
movq 8(%rbx), %rbx
movq (%rbx), %rax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size slave_last_rx, .Lfunc_end0-slave_last_rx
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym slave_last_rx
|
extr_bond_main.c_bond_vlan_del_empty_slave_group.c | .text
.file "extr_bond_main.c_bond_vlan_del_empty_slave_group.c"
.p2align 2 // -- Begin function bond_vlan_del_empty_slave_group
.type bond_vlan_del_empty_slave_group,@function
bond_vlan_del_empty_slave_group: // @bond_vlan_del_empty_slave_group
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldur x0, [x29, #-8]
bl vlan_find_group
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
b .LBB0_7
.LBB0_3:
ldur x0, [x29, #-8]
bl vlan_gvrp_uninit_applicant
ldur x8, [x29, #-8]
ldr w8, [x8]
adrp x9, NETIF_F_HW_VLAN_RX
ldr w9, [x9, :lo12:NETIF_F_HW_VLAN_RX]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_4
.LBB0_4:
ldr x8, [sp, #16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
ldr x8, [sp, #16]
ldr x8, [x8]
ldur x0, [x29, #-8]
mov x1, xzr
blr x8
b .LBB0_6
.LBB0_6:
ldr x8, [sp, #8]
add x0, x8, #4
bl hlist_del_rcu
ldr x0, [sp, #8]
adrp x8, bond_vlan_rcu_free
ldr w1, [x8, :lo12:bond_vlan_rcu_free]
bl call_rcu
b .LBB0_7
.LBB0_7:
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_vlan_del_empty_slave_group, .Lfunc_end0-bond_vlan_del_empty_slave_group
.cfi_endproc
// -- End function
.type NETIF_F_HW_VLAN_RX,@object // @NETIF_F_HW_VLAN_RX
.bss
.globl NETIF_F_HW_VLAN_RX
.p2align 2, 0x0
NETIF_F_HW_VLAN_RX:
.word 0 // 0x0
.size NETIF_F_HW_VLAN_RX, 4
.type bond_vlan_rcu_free,@object // @bond_vlan_rcu_free
.globl bond_vlan_rcu_free
.p2align 2, 0x0
bond_vlan_rcu_free:
.word 0 // 0x0
.size bond_vlan_rcu_free, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_vlan_del_empty_slave_group
.addrsig_sym vlan_find_group
.addrsig_sym vlan_gvrp_uninit_applicant
.addrsig_sym hlist_del_rcu
.addrsig_sym call_rcu
.addrsig_sym NETIF_F_HW_VLAN_RX
.addrsig_sym bond_vlan_rcu_free
| .text
.file "extr_bond_main.c_bond_vlan_del_empty_slave_group.c"
.p2align 2 // -- Begin function bond_vlan_del_empty_slave_group
.type bond_vlan_del_empty_slave_group,@function
bond_vlan_del_empty_slave_group: // @bond_vlan_del_empty_slave_group
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldr x21, [x0, #8]
mov x20, x0
bl vlan_find_group
cbz x0, .LBB0_2
// %bb.1:
mov x19, x0
ldr x8, [x0, #8]
cbz x8, .LBB0_3
.LBB0_2:
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_3:
.cfi_restore_state
mov x0, x20
bl vlan_gvrp_uninit_applicant
adrp x8, NETIF_F_HW_VLAN_RX
ldr w9, [x20]
ldr w8, [x8, :lo12:NETIF_F_HW_VLAN_RX]
tst w8, w9
b.eq .LBB0_6
// %bb.4:
ldr x8, [x21]
cbz x8, .LBB0_6
// %bb.5:
mov x0, x20
mov x1, xzr
blr x8
.LBB0_6:
add x0, x19, #4
bl hlist_del_rcu
adrp x8, bond_vlan_rcu_free
ldr w1, [x8, :lo12:bond_vlan_rcu_free]
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b call_rcu
.Lfunc_end0:
.size bond_vlan_del_empty_slave_group, .Lfunc_end0-bond_vlan_del_empty_slave_group
.cfi_endproc
// -- End function
.type NETIF_F_HW_VLAN_RX,@object // @NETIF_F_HW_VLAN_RX
.bss
.globl NETIF_F_HW_VLAN_RX
.p2align 2, 0x0
NETIF_F_HW_VLAN_RX:
.word 0 // 0x0
.size NETIF_F_HW_VLAN_RX, 4
.type bond_vlan_rcu_free,@object // @bond_vlan_rcu_free
.globl bond_vlan_rcu_free
.p2align 2, 0x0
bond_vlan_rcu_free:
.word 0 // 0x0
.size bond_vlan_rcu_free, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_vlan_del_empty_slave_group
| .text
.file "extr_bond_main.c_bond_vlan_del_empty_slave_group.c"
.p2align 2 // -- Begin function bond_vlan_del_empty_slave_group
.type bond_vlan_del_empty_slave_group,@function
bond_vlan_del_empty_slave_group: // @bond_vlan_del_empty_slave_group
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldr x21, [x0, #8]
mov x20, x0
bl vlan_find_group
cbz x0, .LBB0_2
// %bb.1:
mov x19, x0
ldr x8, [x0, #8]
cbz x8, .LBB0_3
.LBB0_2:
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_3:
.cfi_restore_state
mov x0, x20
bl vlan_gvrp_uninit_applicant
adrp x8, NETIF_F_HW_VLAN_RX
ldr w9, [x20]
ldr w8, [x8, :lo12:NETIF_F_HW_VLAN_RX]
tst w8, w9
b.eq .LBB0_6
// %bb.4:
ldr x8, [x21]
cbz x8, .LBB0_6
// %bb.5:
mov x0, x20
mov x1, xzr
blr x8
.LBB0_6:
add x0, x19, #4
bl hlist_del_rcu
adrp x8, bond_vlan_rcu_free
ldr w1, [x8, :lo12:bond_vlan_rcu_free]
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b call_rcu
.Lfunc_end0:
.size bond_vlan_del_empty_slave_group, .Lfunc_end0-bond_vlan_del_empty_slave_group
.cfi_endproc
// -- End function
.type NETIF_F_HW_VLAN_RX,@object // @NETIF_F_HW_VLAN_RX
.bss
.globl NETIF_F_HW_VLAN_RX
.p2align 2, 0x0
NETIF_F_HW_VLAN_RX:
.word 0 // 0x0
.size NETIF_F_HW_VLAN_RX, 4
.type bond_vlan_rcu_free,@object // @bond_vlan_rcu_free
.globl bond_vlan_rcu_free
.p2align 2, 0x0
bond_vlan_rcu_free:
.word 0 // 0x0
.size bond_vlan_rcu_free, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_vlan_del_empty_slave_group
| .text
.file "extr_bond_main.c_bond_vlan_del_empty_slave_group.c"
.p2align 2 // -- Begin function bond_vlan_del_empty_slave_group
.type bond_vlan_del_empty_slave_group,@function
bond_vlan_del_empty_slave_group: // @bond_vlan_del_empty_slave_group
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldr x21, [x0, #8]
mov x20, x0
bl vlan_find_group
cbz x0, .LBB0_2
// %bb.1:
mov x19, x0
ldr x8, [x0, #8]
cbz x8, .LBB0_3
.LBB0_2:
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_3:
.cfi_restore_state
mov x0, x20
bl vlan_gvrp_uninit_applicant
adrp x8, NETIF_F_HW_VLAN_RX
ldr w9, [x20]
ldr w8, [x8, :lo12:NETIF_F_HW_VLAN_RX]
tst w8, w9
b.eq .LBB0_6
// %bb.4:
ldr x8, [x21]
cbz x8, .LBB0_6
// %bb.5:
mov x0, x20
mov x1, xzr
blr x8
.LBB0_6:
add x0, x19, #4
bl hlist_del_rcu
adrp x8, bond_vlan_rcu_free
ldr w1, [x8, :lo12:bond_vlan_rcu_free]
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b call_rcu
.Lfunc_end0:
.size bond_vlan_del_empty_slave_group, .Lfunc_end0-bond_vlan_del_empty_slave_group
.cfi_endproc
// -- End function
.type NETIF_F_HW_VLAN_RX,@object // @NETIF_F_HW_VLAN_RX
.bss
.globl NETIF_F_HW_VLAN_RX
.p2align 2, 0x0
NETIF_F_HW_VLAN_RX:
.word 0 // 0x0
.size NETIF_F_HW_VLAN_RX, 4
.type bond_vlan_rcu_free,@object // @bond_vlan_rcu_free
.globl bond_vlan_rcu_free
.p2align 2, 0x0
bond_vlan_rcu_free:
.word 0 // 0x0
.size bond_vlan_rcu_free, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_vlan_del_empty_slave_group
| .text
.file "extr_bond_main.c_bond_vlan_del_empty_slave_group.c"
.p2align 4, 0x90 # -- Begin function bond_vlan_del_empty_slave_group
.type bond_vlan_del_empty_slave_group,@function
bond_vlan_del_empty_slave_group: # @bond_vlan_del_empty_slave_group
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rdi
callq vlan_find_group@PLT
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
je .LBB0_2
# %bb.1:
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
je .LBB0_3
.LBB0_2:
jmp .LBB0_7
.LBB0_3:
movq -8(%rbp), %rdi
callq vlan_gvrp_uninit_applicant@PLT
movq -8(%rbp), %rax
movl (%rax), %eax
andl NETIF_F_HW_VLAN_RX(%rip), %eax
cmpl $0, %eax
je .LBB0_6
# %bb.4:
movq -16(%rbp), %rax
cmpq $0, (%rax)
je .LBB0_6
# %bb.5:
movq -16(%rbp), %rax
movq (%rax), %rax
movq -8(%rbp), %rdi
xorl %ecx, %ecx
movl %ecx, %esi
callq *%rax
.LBB0_6:
movq -24(%rbp), %rdi
addq $4, %rdi
callq hlist_del_rcu@PLT
movq -24(%rbp), %rdi
movl bond_vlan_rcu_free(%rip), %esi
callq call_rcu@PLT
.LBB0_7:
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_vlan_del_empty_slave_group, .Lfunc_end0-bond_vlan_del_empty_slave_group
.cfi_endproc
# -- End function
.type NETIF_F_HW_VLAN_RX,@object # @NETIF_F_HW_VLAN_RX
.bss
.globl NETIF_F_HW_VLAN_RX
.p2align 2, 0x0
NETIF_F_HW_VLAN_RX:
.long 0 # 0x0
.size NETIF_F_HW_VLAN_RX, 4
.type bond_vlan_rcu_free,@object # @bond_vlan_rcu_free
.globl bond_vlan_rcu_free
.p2align 2, 0x0
bond_vlan_rcu_free:
.long 0 # 0x0
.size bond_vlan_rcu_free, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_vlan_del_empty_slave_group
.addrsig_sym vlan_find_group
.addrsig_sym vlan_gvrp_uninit_applicant
.addrsig_sym hlist_del_rcu
.addrsig_sym call_rcu
.addrsig_sym NETIF_F_HW_VLAN_RX
.addrsig_sym bond_vlan_rcu_free
| .text
.file "extr_bond_main.c_bond_vlan_del_empty_slave_group.c"
.p2align 4, 0x90 # -- Begin function bond_vlan_del_empty_slave_group
.type bond_vlan_del_empty_slave_group,@function
bond_vlan_del_empty_slave_group: # @bond_vlan_del_empty_slave_group
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %r14
movq 8(%rdi), %r15
callq vlan_find_group@PLT
testq %rax, %rax
je .LBB0_6
# %bb.1:
movq %rax, %rbx
cmpq $0, 8(%rax)
je .LBB0_2
.LBB0_6:
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.LBB0_2:
.cfi_def_cfa_offset 32
movq %r14, %rdi
callq vlan_gvrp_uninit_applicant@PLT
movl NETIF_F_HW_VLAN_RX(%rip), %eax
testl %eax, (%r14)
je .LBB0_5
# %bb.3:
movq (%r15), %rax
testq %rax, %rax
je .LBB0_5
# %bb.4:
movq %r14, %rdi
xorl %esi, %esi
callq *%rax
.LBB0_5:
movq %rbx, %rdi
addq $4, %rdi
callq hlist_del_rcu@PLT
movl bond_vlan_rcu_free(%rip), %esi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
jmp call_rcu@PLT # TAILCALL
.Lfunc_end0:
.size bond_vlan_del_empty_slave_group, .Lfunc_end0-bond_vlan_del_empty_slave_group
.cfi_endproc
# -- End function
.type NETIF_F_HW_VLAN_RX,@object # @NETIF_F_HW_VLAN_RX
.bss
.globl NETIF_F_HW_VLAN_RX
.p2align 2, 0x0
NETIF_F_HW_VLAN_RX:
.long 0 # 0x0
.size NETIF_F_HW_VLAN_RX, 4
.type bond_vlan_rcu_free,@object # @bond_vlan_rcu_free
.globl bond_vlan_rcu_free
.p2align 2, 0x0
bond_vlan_rcu_free:
.long 0 # 0x0
.size bond_vlan_rcu_free, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_vlan_del_empty_slave_group
| .text
.file "extr_bond_main.c_bond_vlan_del_empty_slave_group.c"
.p2align 4, 0x90 # -- Begin function bond_vlan_del_empty_slave_group
.type bond_vlan_del_empty_slave_group,@function
bond_vlan_del_empty_slave_group: # @bond_vlan_del_empty_slave_group
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %r14
movq 8(%rdi), %r15
callq vlan_find_group@PLT
testq %rax, %rax
je .LBB0_6
# %bb.1:
movq %rax, %rbx
cmpq $0, 8(%rax)
je .LBB0_2
.LBB0_6:
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.LBB0_2:
.cfi_def_cfa_offset 32
movq %r14, %rdi
callq vlan_gvrp_uninit_applicant@PLT
movl NETIF_F_HW_VLAN_RX(%rip), %eax
testl %eax, (%r14)
je .LBB0_5
# %bb.3:
movq (%r15), %rax
testq %rax, %rax
je .LBB0_5
# %bb.4:
movq %r14, %rdi
xorl %esi, %esi
callq *%rax
.LBB0_5:
movq %rbx, %rdi
addq $4, %rdi
callq hlist_del_rcu@PLT
movl bond_vlan_rcu_free(%rip), %esi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
jmp call_rcu@PLT # TAILCALL
.Lfunc_end0:
.size bond_vlan_del_empty_slave_group, .Lfunc_end0-bond_vlan_del_empty_slave_group
.cfi_endproc
# -- End function
.type NETIF_F_HW_VLAN_RX,@object # @NETIF_F_HW_VLAN_RX
.bss
.globl NETIF_F_HW_VLAN_RX
.p2align 2, 0x0
NETIF_F_HW_VLAN_RX:
.long 0 # 0x0
.size NETIF_F_HW_VLAN_RX, 4
.type bond_vlan_rcu_free,@object # @bond_vlan_rcu_free
.globl bond_vlan_rcu_free
.p2align 2, 0x0
bond_vlan_rcu_free:
.long 0 # 0x0
.size bond_vlan_rcu_free, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_vlan_del_empty_slave_group
| .text
.file "extr_bond_main.c_bond_vlan_del_empty_slave_group.c"
.p2align 4, 0x90 # -- Begin function bond_vlan_del_empty_slave_group
.type bond_vlan_del_empty_slave_group,@function
bond_vlan_del_empty_slave_group: # @bond_vlan_del_empty_slave_group
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %r14
movq 8(%rdi), %r15
callq vlan_find_group@PLT
testq %rax, %rax
je .LBB0_6
# %bb.1:
movq %rax, %rbx
cmpq $0, 8(%rax)
je .LBB0_2
.LBB0_6:
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.LBB0_2:
.cfi_def_cfa_offset 32
movq %r14, %rdi
callq vlan_gvrp_uninit_applicant@PLT
movl NETIF_F_HW_VLAN_RX(%rip), %eax
testl %eax, (%r14)
je .LBB0_5
# %bb.3:
movq (%r15), %rax
testq %rax, %rax
je .LBB0_5
# %bb.4:
movq %r14, %rdi
xorl %esi, %esi
callq *%rax
.LBB0_5:
movq %rbx, %rdi
addq $4, %rdi
callq hlist_del_rcu@PLT
movl bond_vlan_rcu_free(%rip), %esi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
jmp call_rcu@PLT # TAILCALL
.Lfunc_end0:
.size bond_vlan_del_empty_slave_group, .Lfunc_end0-bond_vlan_del_empty_slave_group
.cfi_endproc
# -- End function
.type NETIF_F_HW_VLAN_RX,@object # @NETIF_F_HW_VLAN_RX
.bss
.globl NETIF_F_HW_VLAN_RX
.p2align 2, 0x0
NETIF_F_HW_VLAN_RX:
.long 0 # 0x0
.size NETIF_F_HW_VLAN_RX, 4
.type bond_vlan_rcu_free,@object # @bond_vlan_rcu_free
.globl bond_vlan_rcu_free
.p2align 2, 0x0
bond_vlan_rcu_free:
.long 0 # 0x0
.size bond_vlan_rcu_free, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_vlan_del_empty_slave_group
|
extr_bond_3ad.c___get_active_agg.c | .text
.file "extr_bond_3ad.c___get_active_agg.c"
.p2align 2 // -- Begin function __get_active_agg
.type __get_active_agg,@function
__get_active_agg: // @__get_active_agg
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
// kill: def $x8 killed $xzr
str xzr, [sp]
b .LBB0_1
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_2
.LBB0_2: // in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
ldr x8, [sp, #8]
str x8, [sp]
b .LBB0_6
.LBB0_4: // in Loop: Header=BB0_1 Depth=1
b .LBB0_5
.LBB0_5: // in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #8]
bl __get_next_agg
str x0, [sp, #8]
b .LBB0_1
.LBB0_6:
ldr x0, [sp]
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __get_active_agg, .Lfunc_end0-__get_active_agg
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_active_agg
.addrsig_sym __get_next_agg
| .text
.file "extr_bond_3ad.c___get_active_agg.c"
.p2align 2 // -- Begin function __get_active_agg
.type __get_active_agg,@function
__get_active_agg: // @__get_active_agg
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_5
// %bb.1:
stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.LBB0_2: // =>This Inner Loop Header: Depth=1
ldr x8, [x0]
cbnz x8, .LBB0_4
// %bb.3: // in Loop: Header=BB0_2 Depth=1
bl __get_next_agg
cbnz x0, .LBB0_2
.LBB0_4:
.cfi_def_cfa wsp, 16
ldp x29, x30, [sp], #16 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
.LBB0_5:
ret
.Lfunc_end0:
.size __get_active_agg, .Lfunc_end0-__get_active_agg
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_active_agg
| .text
.file "extr_bond_3ad.c___get_active_agg.c"
.p2align 2 // -- Begin function __get_active_agg
.type __get_active_agg,@function
__get_active_agg: // @__get_active_agg
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_5
// %bb.1:
stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.LBB0_2: // =>This Inner Loop Header: Depth=1
ldr x8, [x0]
cbnz x8, .LBB0_4
// %bb.3: // in Loop: Header=BB0_2 Depth=1
bl __get_next_agg
cbnz x0, .LBB0_2
.LBB0_4:
.cfi_def_cfa wsp, 16
ldp x29, x30, [sp], #16 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
.LBB0_5:
ret
.Lfunc_end0:
.size __get_active_agg, .Lfunc_end0-__get_active_agg
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_active_agg
| .text
.file "extr_bond_3ad.c___get_active_agg.c"
.p2align 2 // -- Begin function __get_active_agg
.type __get_active_agg,@function
__get_active_agg: // @__get_active_agg
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_5
// %bb.1:
stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.LBB0_2: // =>This Inner Loop Header: Depth=1
ldr x8, [x0]
cbnz x8, .LBB0_4
// %bb.3: // in Loop: Header=BB0_2 Depth=1
bl __get_next_agg
cbnz x0, .LBB0_2
.LBB0_4:
.cfi_def_cfa wsp, 16
ldp x29, x30, [sp], #16 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
.LBB0_5:
ret
.Lfunc_end0:
.size __get_active_agg, .Lfunc_end0-__get_active_agg
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_active_agg
| .text
.file "extr_bond_3ad.c___get_active_agg.c"
.p2align 4, 0x90 # -- Begin function __get_active_agg
.type __get_active_agg,@function
__get_active_agg: # @__get_active_agg
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq $0, -16(%rbp)
.LBB0_1: # =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je .LBB0_6
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
cmpq $0, (%rax)
je .LBB0_4
# %bb.3:
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
jmp .LBB0_6
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
jmp .LBB0_5
.LBB0_5: # in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rdi
callq __get_next_agg@PLT
movq %rax, -8(%rbp)
jmp .LBB0_1
.LBB0_6:
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size __get_active_agg, .Lfunc_end0-__get_active_agg
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_active_agg
.addrsig_sym __get_next_agg
| .text
.file "extr_bond_3ad.c___get_active_agg.c"
.p2align 4, 0x90 # -- Begin function __get_active_agg
.type __get_active_agg,@function
__get_active_agg: # @__get_active_agg
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_1
# %bb.3:
pushq %rax
.cfi_def_cfa_offset 16
movq %rdi, %rax
.p2align 4, 0x90
.LBB0_4: # =>This Inner Loop Header: Depth=1
cmpq $0, (%rax)
jne .LBB0_7
# %bb.5: # in Loop: Header=BB0_4 Depth=1
movq %rax, %rdi
callq __get_next_agg@PLT
testq %rax, %rax
jne .LBB0_4
# %bb.6:
xorl %eax, %eax
.LBB0_7:
addq $8, %rsp
.cfi_def_cfa_offset 8
retq
.LBB0_1:
xorl %eax, %eax
retq
.Lfunc_end0:
.size __get_active_agg, .Lfunc_end0-__get_active_agg
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_active_agg
| .text
.file "extr_bond_3ad.c___get_active_agg.c"
.p2align 4, 0x90 # -- Begin function __get_active_agg
.type __get_active_agg,@function
__get_active_agg: # @__get_active_agg
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_1
# %bb.3:
pushq %rax
.cfi_def_cfa_offset 16
movq %rdi, %rax
.p2align 4, 0x90
.LBB0_4: # =>This Inner Loop Header: Depth=1
cmpq $0, (%rax)
jne .LBB0_7
# %bb.5: # in Loop: Header=BB0_4 Depth=1
movq %rax, %rdi
callq __get_next_agg@PLT
testq %rax, %rax
jne .LBB0_4
# %bb.6:
xorl %eax, %eax
.LBB0_7:
addq $8, %rsp
.cfi_def_cfa_offset 8
retq
.LBB0_1:
xorl %eax, %eax
retq
.Lfunc_end0:
.size __get_active_agg, .Lfunc_end0-__get_active_agg
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_active_agg
| .text
.file "extr_bond_3ad.c___get_active_agg.c"
.p2align 4, 0x90 # -- Begin function __get_active_agg
.type __get_active_agg,@function
__get_active_agg: # @__get_active_agg
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_1
# %bb.3:
pushq %rax
.cfi_def_cfa_offset 16
movq %rdi, %rax
.p2align 4, 0x90
.LBB0_4: # =>This Inner Loop Header: Depth=1
cmpq $0, (%rax)
jne .LBB0_7
# %bb.5: # in Loop: Header=BB0_4 Depth=1
movq %rax, %rdi
callq __get_next_agg@PLT
testq %rax, %rax
jne .LBB0_4
# %bb.6:
xorl %eax, %eax
.LBB0_7:
addq $8, %rsp
.cfi_def_cfa_offset 8
retq
.LBB0_1:
xorl %eax, %eax
retq
.Lfunc_end0:
.size __get_active_agg, .Lfunc_end0-__get_active_agg
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_active_agg
|
extr_bond_main.c_bond_xmit_hash_policy_l23.c | .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l23.c"
.p2align 2 // -- Begin function bond_xmit_hash_policy_l23
.type bond_xmit_hash_policy_l23,@function
bond_xmit_hash_policy_l23: // @bond_xmit_hash_policy_l23
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str x8, [sp, #24]
ldur x0, [x29, #-16]
bl ip_hdr
str x0, [sp, #16]
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [sp, #8] // 8-byte Folded Spill
adrp x8, ETH_P_IP
ldr w0, [x8, :lo12:ETH_P_IP]
bl htons
ldr x8, [sp, #8] // 8-byte Folded Reload
subs x8, x8, x0
cset w8, ne
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #16]
ldr w9, [x9, #4]
eor w0, w8, w9
bl ntohl
and w8, w0, #0xffff
ldr x9, [sp, #24]
ldr x9, [x9]
ldr w9, [x9, #20]
ldr x10, [sp, #24]
ldr x10, [x10, #8]
ldr w10, [x10, #20]
eor w9, w9, w10
eor w8, w8, w9
ldur w10, [x29, #-28]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-4]
b .LBB0_3
.LBB0_2:
ldr x8, [sp, #24]
ldr x8, [x8]
ldr w8, [x8, #20]
ldr x9, [sp, #24]
ldr x9, [x9, #8]
ldr w9, [x9, #20]
eor w8, w8, w9
ldur w10, [x29, #-28]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-4]
b .LBB0_3
.LBB0_3:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_hash_policy_l23, .Lfunc_end0-bond_xmit_hash_policy_l23
.cfi_endproc
// -- End function
.type ETH_P_IP,@object // @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.word 0 // 0x0
.size ETH_P_IP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l23
.addrsig_sym ip_hdr
.addrsig_sym htons
.addrsig_sym ntohl
.addrsig_sym ETH_P_IP
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l23.c"
.p2align 2 // -- Begin function bond_xmit_hash_policy_l23
.type bond_xmit_hash_policy_l23,@function
bond_xmit_hash_policy_l23: // @bond_xmit_hash_policy_l23
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
ldr x22, [x0, #8]
mov w19, w2
mov x21, x0
bl ip_hdr
adrp x8, ETH_P_IP
mov x20, x0
ldr x21, [x21]
ldr w0, [x8, :lo12:ETH_P_IP]
bl htons
cmp x21, x0
b.ne .LBB0_2
// %bb.1:
ldp w8, w9, [x20]
eor w0, w9, w8
bl ntohl
ldp x8, x9, [x22]
and w10, w0, #0xffff
ldr w8, [x8, #20]
ldr w9, [x9, #20]
eor w8, w8, w10
eor w8, w8, w9
b .LBB0_3
.LBB0_2:
ldp x8, x9, [x22]
ldr w8, [x8, #20]
ldr w9, [x9, #20]
eor w8, w9, w8
.LBB0_3:
sdiv w9, w8, w19
msub w0, w9, w19, w8
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_hash_policy_l23, .Lfunc_end0-bond_xmit_hash_policy_l23
.cfi_endproc
// -- End function
.type ETH_P_IP,@object // @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.word 0 // 0x0
.size ETH_P_IP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l23
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l23.c"
.p2align 2 // -- Begin function bond_xmit_hash_policy_l23
.type bond_xmit_hash_policy_l23,@function
bond_xmit_hash_policy_l23: // @bond_xmit_hash_policy_l23
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
ldr x22, [x0, #8]
mov w19, w2
mov x21, x0
bl ip_hdr
adrp x8, ETH_P_IP
mov x20, x0
ldr x21, [x21]
ldr w0, [x8, :lo12:ETH_P_IP]
bl htons
cmp x21, x0
b.ne .LBB0_2
// %bb.1:
ldp w8, w9, [x20]
eor w0, w9, w8
bl ntohl
ldp x8, x9, [x22]
and w10, w0, #0xffff
ldr w8, [x8, #20]
ldr w9, [x9, #20]
eor w8, w8, w10
eor w8, w8, w9
b .LBB0_3
.LBB0_2:
ldp x8, x9, [x22]
ldr w8, [x8, #20]
ldr w9, [x9, #20]
eor w8, w9, w8
.LBB0_3:
sdiv w9, w8, w19
msub w0, w9, w19, w8
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_hash_policy_l23, .Lfunc_end0-bond_xmit_hash_policy_l23
.cfi_endproc
// -- End function
.type ETH_P_IP,@object // @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.word 0 // 0x0
.size ETH_P_IP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l23
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l23.c"
.p2align 2 // -- Begin function bond_xmit_hash_policy_l23
.type bond_xmit_hash_policy_l23,@function
bond_xmit_hash_policy_l23: // @bond_xmit_hash_policy_l23
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
ldr x22, [x0, #8]
mov w19, w2
mov x21, x0
bl ip_hdr
adrp x8, ETH_P_IP
mov x20, x0
ldr x21, [x21]
ldr w0, [x8, :lo12:ETH_P_IP]
bl htons
cmp x21, x0
b.ne .LBB0_2
// %bb.1:
ldp w8, w9, [x20]
eor w0, w9, w8
bl ntohl
ldp x8, x9, [x22]
and w10, w0, #0xffff
ldr w8, [x8, #20]
ldr w9, [x9, #20]
eor w8, w8, w10
eor w8, w8, w9
sdiv w9, w8, w19
msub w0, w9, w19, w8
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
ldp x8, x9, [x22]
ldr w8, [x8, #20]
ldr w9, [x9, #20]
eor w8, w9, w8
sdiv w9, w8, w19
msub w0, w9, w19, w8
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_hash_policy_l23, .Lfunc_end0-bond_xmit_hash_policy_l23
.cfi_endproc
// -- End function
.type ETH_P_IP,@object // @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.word 0 // 0x0
.size ETH_P_IP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l23
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l23.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_hash_policy_l23
.type bond_xmit_hash_policy_l23,@function
bond_xmit_hash_policy_l23: # @bond_xmit_hash_policy_l23
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movq -16(%rbp), %rdi
callq ip_hdr@PLT
movq %rax, -48(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp) # 8-byte Spill
movl ETH_P_IP(%rip), %edi
callq htons@PLT
movq %rax, %rcx
movq -56(%rbp), %rax # 8-byte Reload
cmpq %rcx, %rax
jne .LBB0_2
# %bb.1:
movq -48(%rbp), %rax
movl (%rax), %edi
movq -48(%rbp), %rax
xorl 4(%rax), %edi
callq ntohl@PLT
andl $65535, %eax # imm = 0xFFFF
movq -40(%rbp), %rcx
movq (%rcx), %rcx
movl 20(%rcx), %ecx
movq -40(%rbp), %rdx
movq 8(%rdx), %rdx
xorl 20(%rdx), %ecx
xorl %ecx, %eax
cltd
idivl -28(%rbp)
movl %edx, -4(%rbp)
jmp .LBB0_3
.LBB0_2:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 20(%rax), %eax
movq -40(%rbp), %rcx
movq 8(%rcx), %rcx
xorl 20(%rcx), %eax
cltd
idivl -28(%rbp)
movl %edx, -4(%rbp)
.LBB0_3:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_xmit_hash_policy_l23, .Lfunc_end0-bond_xmit_hash_policy_l23
.cfi_endproc
# -- End function
.type ETH_P_IP,@object # @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.long 0 # 0x0
.size ETH_P_IP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l23
.addrsig_sym ip_hdr
.addrsig_sym htons
.addrsig_sym ntohl
.addrsig_sym ETH_P_IP
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l23.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_hash_policy_l23
.type bond_xmit_hash_policy_l23,@function
bond_xmit_hash_policy_l23: # @bond_xmit_hash_policy_l23
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movl %edx, %ebx
movq %rdi, %r15
movq 8(%rdi), %r12
callq ip_hdr@PLT
movq %rax, %r14
movq (%r15), %r15
movl ETH_P_IP(%rip), %edi
callq htons@PLT
cmpq %rax, %r15
jne .LBB0_2
# %bb.1:
movl 4(%r14), %edi
xorl (%r14), %edi
callq ntohl@PLT
movzwl %ax, %eax
movq (%r12), %rcx
movq 8(%r12), %rdx
xorl 20(%rcx), %eax
xorl 20(%rdx), %eax
jmp .LBB0_3
.LBB0_2:
movq (%r12), %rcx
movq 8(%r12), %rax
movl 20(%rax), %eax
xorl 20(%rcx), %eax
.LBB0_3:
cltd
idivl %ebx
movl %edx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_xmit_hash_policy_l23, .Lfunc_end0-bond_xmit_hash_policy_l23
.cfi_endproc
# -- End function
.type ETH_P_IP,@object # @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.long 0 # 0x0
.size ETH_P_IP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l23
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l23.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_hash_policy_l23
.type bond_xmit_hash_policy_l23,@function
bond_xmit_hash_policy_l23: # @bond_xmit_hash_policy_l23
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movl %edx, %ebx
movq %rdi, %r15
movq 8(%rdi), %r12
callq ip_hdr@PLT
movq %rax, %r14
movq (%r15), %r15
movl ETH_P_IP(%rip), %edi
callq htons@PLT
cmpq %rax, %r15
jne .LBB0_2
# %bb.1:
movl 4(%r14), %edi
xorl (%r14), %edi
callq ntohl@PLT
movzwl %ax, %eax
movq (%r12), %rcx
movq 8(%r12), %rdx
xorl 20(%rcx), %eax
xorl 20(%rdx), %eax
jmp .LBB0_3
.LBB0_2:
movq (%r12), %rcx
movq 8(%r12), %rax
movl 20(%rax), %eax
xorl 20(%rcx), %eax
.LBB0_3:
cltd
idivl %ebx
movl %edx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_xmit_hash_policy_l23, .Lfunc_end0-bond_xmit_hash_policy_l23
.cfi_endproc
# -- End function
.type ETH_P_IP,@object # @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.long 0 # 0x0
.size ETH_P_IP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l23
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l23.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_hash_policy_l23
.type bond_xmit_hash_policy_l23,@function
bond_xmit_hash_policy_l23: # @bond_xmit_hash_policy_l23
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movl %edx, %ebx
movq %rdi, %r15
movq 8(%rdi), %r12
callq ip_hdr@PLT
movq %rax, %r14
movq (%r15), %r15
movl ETH_P_IP(%rip), %edi
callq htons@PLT
cmpq %rax, %r15
jne .LBB0_2
# %bb.1:
movl 4(%r14), %edi
xorl (%r14), %edi
callq ntohl@PLT
movzwl %ax, %eax
movq (%r12), %rcx
movq 8(%r12), %rdx
xorl 20(%rcx), %eax
xorl 20(%rdx), %eax
jmp .LBB0_3
.LBB0_2:
movq (%r12), %rcx
movq 8(%r12), %rax
movl 20(%rax), %eax
xorl 20(%rcx), %eax
.LBB0_3:
cltd
idivl %ebx
movl %edx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_xmit_hash_policy_l23, .Lfunc_end0-bond_xmit_hash_policy_l23
.cfi_endproc
# -- End function
.type ETH_P_IP,@object # @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.long 0 # 0x0
.size ETH_P_IP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l23
|
extr_bond_3ad.c___update_default_selected.c | .text
.file "extr_bond_3ad.c___update_default_selected.c"
.p2align 2 // -- Begin function __update_default_selected
.type __update_default_selected,@function
__update_default_selected: // @__update_default_selected
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_9
b .LBB0_1
.LBB0_1:
ldur x8, [x29, #-8]
add x8, x8, #48
str x8, [sp, #16]
ldur x8, [x29, #-8]
add x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr x8, [x8]
ldr x9, [sp, #8]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_7
b .LBB0_2
.LBB0_2:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_7
b .LBB0_3
.LBB0_3:
ldr x8, [sp, #16]
add x0, x8, #36
ldr x8, [sp, #8]
add x1, x8, #36
bl MAC_ADDRESS_COMPARE
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, .LBB0_7
b .LBB0_4
.LBB0_4:
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x9, [sp, #8]
ldr x9, [x9, #16]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_7
b .LBB0_5
.LBB0_5:
ldr x8, [sp, #16]
ldr x8, [x8, #24]
ldr x9, [sp, #8]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_7
b .LBB0_6
.LBB0_6:
ldr x8, [sp, #16]
ldr w8, [x8, #32]
adrp x10, AD_STATE_AGGREGATION
ldr w9, [x10, :lo12:AD_STATE_AGGREGATION]
and w8, w8, w9
ldr x9, [sp, #8]
ldr w9, [x9, #32]
ldr w10, [x10, :lo12:AD_STATE_AGGREGATION]
and w9, w9, w10
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_8
b .LBB0_7
.LBB0_7:
adrp x8, AD_PORT_SELECTED
ldr w10, [x8, :lo12:AD_PORT_SELECTED]
ldur x9, [x29, #-8]
ldr w8, [x9]
bic w8, w8, w10
str w8, [x9]
b .LBB0_8
.LBB0_8:
b .LBB0_9
.LBB0_9:
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __update_default_selected, .Lfunc_end0-__update_default_selected
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_default_selected
.addrsig_sym MAC_ADDRESS_COMPARE
.addrsig_sym AD_STATE_AGGREGATION
.addrsig_sym AD_PORT_SELECTED
| .text
.file "extr_bond_3ad.c___update_default_selected.c"
.p2align 2 // -- Begin function __update_default_selected
.type __update_default_selected,@function
__update_default_selected: // @__update_default_selected
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_9
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
ldr x8, [x0, #48]
mov x19, x0
ldr x9, [x0, #8]
cmp x8, x9
b.ne .LBB0_7
// %bb.2:
ldr x8, [x19, #56]
ldr x9, [x19, #16]
cmp x8, x9
b.ne .LBB0_7
// %bb.3:
add x0, x19, #84
add x1, x19, #44
bl MAC_ADDRESS_COMPARE
cbnz x0, .LBB0_7
// %bb.4:
ldr x8, [x19, #64]
ldr x9, [x19, #24]
cmp x8, x9
b.ne .LBB0_7
// %bb.5:
ldr x8, [x19, #72]
ldr x9, [x19, #32]
cmp x8, x9
b.ne .LBB0_7
// %bb.6:
adrp x8, AD_STATE_AGGREGATION
ldr w9, [x19, #80]
ldr w10, [x19, #40]
ldr w8, [x8, :lo12:AD_STATE_AGGREGATION]
eor w9, w10, w9
tst w9, w8
b.eq .LBB0_8
.LBB0_7:
adrp x8, AD_PORT_SELECTED
ldr w9, [x19]
ldr w8, [x8, :lo12:AD_PORT_SELECTED]
bic w8, w9, w8
str w8, [x19]
.LBB0_8:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
.LBB0_9:
ret
.Lfunc_end0:
.size __update_default_selected, .Lfunc_end0-__update_default_selected
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_default_selected
| .text
.file "extr_bond_3ad.c___update_default_selected.c"
.p2align 2 // -- Begin function __update_default_selected
.type __update_default_selected,@function
__update_default_selected: // @__update_default_selected
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_9
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
ldr x8, [x0, #48]
mov x19, x0
ldr x9, [x0, #8]
cmp x8, x9
b.ne .LBB0_7
// %bb.2:
ldr x8, [x19, #56]
ldr x9, [x19, #16]
cmp x8, x9
b.ne .LBB0_7
// %bb.3:
add x0, x19, #84
add x1, x19, #44
bl MAC_ADDRESS_COMPARE
cbnz x0, .LBB0_7
// %bb.4:
ldr x8, [x19, #64]
ldr x9, [x19, #24]
cmp x8, x9
b.ne .LBB0_7
// %bb.5:
ldr x8, [x19, #72]
ldr x9, [x19, #32]
cmp x8, x9
b.ne .LBB0_7
// %bb.6:
adrp x8, AD_STATE_AGGREGATION
ldr w9, [x19, #80]
ldr w10, [x19, #40]
ldr w8, [x8, :lo12:AD_STATE_AGGREGATION]
eor w9, w10, w9
tst w9, w8
b.eq .LBB0_8
.LBB0_7:
adrp x8, AD_PORT_SELECTED
ldr w9, [x19]
ldr w8, [x8, :lo12:AD_PORT_SELECTED]
bic w8, w9, w8
str w8, [x19]
.LBB0_8:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
.LBB0_9:
ret
.Lfunc_end0:
.size __update_default_selected, .Lfunc_end0-__update_default_selected
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_default_selected
| .text
.file "extr_bond_3ad.c___update_default_selected.c"
.p2align 2 // -- Begin function __update_default_selected
.type __update_default_selected,@function
__update_default_selected: // @__update_default_selected
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_9
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
ldr x8, [x0, #48]
mov x19, x0
ldr x9, [x0, #8]
cmp x8, x9
b.ne .LBB0_7
// %bb.2:
ldr x8, [x19, #56]
ldr x9, [x19, #16]
cmp x8, x9
b.ne .LBB0_7
// %bb.3:
add x0, x19, #84
add x1, x19, #44
bl MAC_ADDRESS_COMPARE
cbnz x0, .LBB0_7
// %bb.4:
ldr x8, [x19, #64]
ldr x9, [x19, #24]
cmp x8, x9
b.ne .LBB0_7
// %bb.5:
ldr x8, [x19, #72]
ldr x9, [x19, #32]
cmp x8, x9
b.ne .LBB0_7
// %bb.6:
adrp x8, AD_STATE_AGGREGATION
ldr w9, [x19, #80]
ldr w10, [x19, #40]
ldr w8, [x8, :lo12:AD_STATE_AGGREGATION]
eor w9, w10, w9
tst w9, w8
b.eq .LBB0_8
.LBB0_7:
adrp x8, AD_PORT_SELECTED
ldr w9, [x19]
ldr w8, [x8, :lo12:AD_PORT_SELECTED]
bic w8, w9, w8
str w8, [x19]
.LBB0_8:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
.LBB0_9:
ret
.Lfunc_end0:
.size __update_default_selected, .Lfunc_end0-__update_default_selected
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_default_selected
| .text
.file "extr_bond_3ad.c___update_default_selected.c"
.p2align 4, 0x90 # -- Begin function __update_default_selected
.type __update_default_selected,@function
__update_default_selected: # @__update_default_selected
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
je .LBB0_9
# %bb.1:
movq -8(%rbp), %rax
addq $48, %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
addq $8, %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq -24(%rbp), %rcx
cmpq (%rcx), %rax
jne .LBB0_7
# %bb.2:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq -24(%rbp), %rcx
cmpq 8(%rcx), %rax
jne .LBB0_7
# %bb.3:
movq -16(%rbp), %rdi
addq $36, %rdi
movq -24(%rbp), %rsi
addq $36, %rsi
callq MAC_ADDRESS_COMPARE@PLT
cmpq $0, %rax
jne .LBB0_7
# %bb.4:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq -24(%rbp), %rcx
cmpq 16(%rcx), %rax
jne .LBB0_7
# %bb.5:
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq -24(%rbp), %rcx
cmpq 24(%rcx), %rax
jne .LBB0_7
# %bb.6:
movq -16(%rbp), %rax
movl 32(%rax), %eax
andl AD_STATE_AGGREGATION(%rip), %eax
movq -24(%rbp), %rcx
movl 32(%rcx), %ecx
andl AD_STATE_AGGREGATION(%rip), %ecx
cmpl %ecx, %eax
je .LBB0_8
.LBB0_7:
movl AD_PORT_SELECTED(%rip), %ecx
xorl $-1, %ecx
movq -8(%rbp), %rax
andl (%rax), %ecx
movl %ecx, (%rax)
.LBB0_8:
jmp .LBB0_9
.LBB0_9:
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size __update_default_selected, .Lfunc_end0-__update_default_selected
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_default_selected
.addrsig_sym MAC_ADDRESS_COMPARE
.addrsig_sym AD_STATE_AGGREGATION
.addrsig_sym AD_PORT_SELECTED
| .text
.file "extr_bond_3ad.c___update_default_selected.c"
.p2align 4, 0x90 # -- Begin function __update_default_selected
.type __update_default_selected,@function
__update_default_selected: # @__update_default_selected
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_9
# %bb.1:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq 48(%rdi), %rax
cmpq 8(%rdi), %rax
jne .LBB0_7
# %bb.2:
movq 56(%rbx), %rax
cmpq 16(%rbx), %rax
jne .LBB0_7
# %bb.3:
leaq 84(%rbx), %rdi
leaq 44(%rbx), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testq %rax, %rax
jne .LBB0_7
# %bb.4:
movq 64(%rbx), %rax
cmpq 24(%rbx), %rax
jne .LBB0_7
# %bb.5:
movq 72(%rbx), %rax
cmpq 32(%rbx), %rax
jne .LBB0_7
# %bb.6:
movl 40(%rbx), %eax
xorl 80(%rbx), %eax
testl %eax, AD_STATE_AGGREGATION(%rip)
je .LBB0_8
.LBB0_7:
movl AD_PORT_SELECTED(%rip), %eax
notl %eax
andl %eax, (%rbx)
.LBB0_8:
popq %rbx
.cfi_def_cfa_offset 8
.cfi_restore %rbx
.LBB0_9:
retq
.Lfunc_end0:
.size __update_default_selected, .Lfunc_end0-__update_default_selected
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_default_selected
| .text
.file "extr_bond_3ad.c___update_default_selected.c"
.p2align 4, 0x90 # -- Begin function __update_default_selected
.type __update_default_selected,@function
__update_default_selected: # @__update_default_selected
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_9
# %bb.1:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq 48(%rdi), %rax
cmpq 8(%rdi), %rax
jne .LBB0_7
# %bb.2:
movq 56(%rbx), %rax
cmpq 16(%rbx), %rax
jne .LBB0_7
# %bb.3:
leaq 84(%rbx), %rdi
leaq 44(%rbx), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testq %rax, %rax
jne .LBB0_7
# %bb.4:
movq 64(%rbx), %rax
cmpq 24(%rbx), %rax
jne .LBB0_7
# %bb.5:
movq 72(%rbx), %rax
cmpq 32(%rbx), %rax
jne .LBB0_7
# %bb.6:
movl 40(%rbx), %eax
xorl 80(%rbx), %eax
testl %eax, AD_STATE_AGGREGATION(%rip)
je .LBB0_8
.LBB0_7:
movl AD_PORT_SELECTED(%rip), %eax
notl %eax
andl %eax, (%rbx)
.LBB0_8:
popq %rbx
.cfi_def_cfa_offset 8
.cfi_restore %rbx
.LBB0_9:
retq
.Lfunc_end0:
.size __update_default_selected, .Lfunc_end0-__update_default_selected
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_default_selected
| .text
.file "extr_bond_3ad.c___update_default_selected.c"
.p2align 4, 0x90 # -- Begin function __update_default_selected
.type __update_default_selected,@function
__update_default_selected: # @__update_default_selected
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_9
# %bb.1:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq 48(%rdi), %rax
cmpq 8(%rdi), %rax
jne .LBB0_7
# %bb.2:
movq 56(%rbx), %rax
cmpq 16(%rbx), %rax
jne .LBB0_7
# %bb.3:
leaq 84(%rbx), %rdi
leaq 44(%rbx), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testq %rax, %rax
jne .LBB0_7
# %bb.4:
movq 64(%rbx), %rax
cmpq 24(%rbx), %rax
jne .LBB0_7
# %bb.5:
movq 72(%rbx), %rax
cmpq 32(%rbx), %rax
jne .LBB0_7
# %bb.6:
movl 40(%rbx), %eax
xorl 80(%rbx), %eax
testl %eax, AD_STATE_AGGREGATION(%rip)
je .LBB0_8
.LBB0_7:
movl AD_PORT_SELECTED(%rip), %eax
notl %eax
andl %eax, (%rbx)
.LBB0_8:
popq %rbx
.cfi_def_cfa_offset 8
.cfi_restore %rbx
.LBB0_9:
retq
.Lfunc_end0:
.size __update_default_selected, .Lfunc_end0-__update_default_selected
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_default_selected
|
extr_bond_3ad.c_ad_lacpdu_send.c | .text
.file "extr_bond_3ad.c_ad_lacpdu_send.c"
.p2align 2 // -- Begin function ad_lacpdu_send
.type ad_lacpdu_send,@function
ad_lacpdu_send: // @ad_lacpdu_send
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-24]
mov w8, #24 // =0x18
str w8, [sp, #20]
ldr w0, [sp, #20]
bl dev_alloc_skb
str x0, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x8, ENOMEM
ldr w9, [x8, :lo12:ENOMEM]
mov w8, wzr
subs w8, w8, w9
stur w8, [x29, #-4]
b .LBB0_3
.LBB0_2:
ldur x8, [x29, #-24]
ldr w8, [x8, #4]
ldr x9, [sp, #32]
str w8, [x9, #32]
ldr x0, [sp, #32]
bl skb_reset_mac_header
ldr x8, [sp, #32]
ldr x8, [x8, #16]
adrp x9, ETH_HLEN
ldr x9, [x9, :lo12:ETH_HLEN]
add x8, x8, x9
ldr x9, [sp, #32]
str x8, [x9, #24]
adrp x8, PKT_TYPE_LACPDU
str x8, [sp, #8] // 8-byte Folded Spill
ldr x8, [x8, :lo12:PKT_TYPE_LACPDU]
ldr x9, [sp, #32]
str x8, [x9, #8]
adrp x8, TC_PRIO_CONTROL
ldr w8, [x8, :lo12:TC_PRIO_CONTROL]
ldr x9, [sp, #32]
str w8, [x9]
ldr x0, [sp, #32]
ldr w1, [sp, #20]
bl skb_put
str x0, [sp, #24]
ldr x8, [sp, #24]
ldr w0, [x8, #20]
adrp x8, lacpdu_mcast_addr
ldr w1, [x8, :lo12:lacpdu_mcast_addr]
adrp x8, ETH_ALEN
str x8, [sp] // 8-byte Folded Spill
ldr w2, [x8, :lo12:ETH_ALEN]
bl memcpy
ldr x8, [sp] // 8-byte Folded Reload
ldr x9, [sp, #24]
ldr w0, [x9, #16]
ldur x9, [x29, #-24]
ldr w1, [x9]
ldr w2, [x8, :lo12:ETH_ALEN]
bl memcpy
ldr x8, [sp, #8] // 8-byte Folded Reload
ldr x8, [x8, :lo12:PKT_TYPE_LACPDU]
ldr x9, [sp, #24]
str x8, [x9, #8]
ldur x8, [x29, #-16]
ldr w8, [x8]
ldr x9, [sp, #24]
str w8, [x9]
ldr x0, [sp, #32]
bl dev_queue_xmit
stur wzr, [x29, #-4]
b .LBB0_3
.LBB0_3:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_lacpdu_send, .Lfunc_end0-ad_lacpdu_send
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object // @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.xword 0 // 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object // @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.xword 0
.size PKT_TYPE_LACPDU, 8
.type TC_PRIO_CONTROL,@object // @TC_PRIO_CONTROL
.globl TC_PRIO_CONTROL
.p2align 2, 0x0
TC_PRIO_CONTROL:
.word 0 // 0x0
.size TC_PRIO_CONTROL, 4
.type lacpdu_mcast_addr,@object // @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.word 0 // 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object // @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_lacpdu_send
.addrsig_sym dev_alloc_skb
.addrsig_sym skb_reset_mac_header
.addrsig_sym skb_put
.addrsig_sym memcpy
.addrsig_sym dev_queue_xmit
.addrsig_sym ENOMEM
.addrsig_sym ETH_HLEN
.addrsig_sym PKT_TYPE_LACPDU
.addrsig_sym TC_PRIO_CONTROL
.addrsig_sym lacpdu_mcast_addr
.addrsig_sym ETH_ALEN
| .text
.file "extr_bond_3ad.c_ad_lacpdu_send.c"
.p2align 2 // -- Begin function ad_lacpdu_send
.type ad_lacpdu_send,@function
ad_lacpdu_send: // @ad_lacpdu_send
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x24, x23, [sp, #16] // 16-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
mov x19, x0
ldr x22, [x0, #8]
mov w0, #24 // =0x18
bl dev_alloc_skb
cbz x0, .LBB0_2
// %bb.1:
ldr w8, [x22, #4]
mov x20, x0
str w8, [x0, #32]
bl skb_reset_mac_header
adrp x8, ETH_HLEN
ldr x9, [x20, #16]
adrp x23, PKT_TYPE_LACPDU
adrp x10, TC_PRIO_CONTROL
mov x0, x20
mov w1, #24 // =0x18
ldr x8, [x8, :lo12:ETH_HLEN]
ldr x11, [x23, :lo12:PKT_TYPE_LACPDU]
add x8, x8, x9
ldr w9, [x10, :lo12:TC_PRIO_CONTROL]
str x11, [x20, #8]
str x8, [x20, #24]
str w9, [x20]
bl skb_put
adrp x8, lacpdu_mcast_addr
adrp x24, ETH_ALEN
mov x21, x0
ldr w0, [x0, #20]
ldr w1, [x8, :lo12:lacpdu_mcast_addr]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr w0, [x21, #16]
ldr w1, [x22]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr x8, [x23, :lo12:PKT_TYPE_LACPDU]
mov x0, x20
ldr w9, [x19]
str x8, [x21, #8]
str w9, [x21]
bl dev_queue_xmit
mov w0, wzr
b .LBB0_3
.LBB0_2:
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
neg w0, w8
.LBB0_3:
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x24, x23, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_lacpdu_send, .Lfunc_end0-ad_lacpdu_send
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object // @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.xword 0 // 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object // @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.xword 0
.size PKT_TYPE_LACPDU, 8
.type TC_PRIO_CONTROL,@object // @TC_PRIO_CONTROL
.globl TC_PRIO_CONTROL
.p2align 2, 0x0
TC_PRIO_CONTROL:
.word 0 // 0x0
.size TC_PRIO_CONTROL, 4
.type lacpdu_mcast_addr,@object // @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.word 0 // 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object // @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_lacpdu_send
| .text
.file "extr_bond_3ad.c_ad_lacpdu_send.c"
.p2align 2 // -- Begin function ad_lacpdu_send
.type ad_lacpdu_send,@function
ad_lacpdu_send: // @ad_lacpdu_send
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x24, x23, [sp, #16] // 16-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
mov x19, x0
ldr x22, [x0, #8]
mov w0, #24 // =0x18
bl dev_alloc_skb
cbz x0, .LBB0_2
// %bb.1:
ldr w8, [x22, #4]
mov x20, x0
str w8, [x0, #32]
bl skb_reset_mac_header
adrp x8, ETH_HLEN
ldr x9, [x20, #16]
adrp x23, PKT_TYPE_LACPDU
adrp x10, TC_PRIO_CONTROL
mov x0, x20
mov w1, #24 // =0x18
ldr x8, [x8, :lo12:ETH_HLEN]
ldr x11, [x23, :lo12:PKT_TYPE_LACPDU]
add x8, x8, x9
ldr w9, [x10, :lo12:TC_PRIO_CONTROL]
str x11, [x20, #8]
str x8, [x20, #24]
str w9, [x20]
bl skb_put
adrp x8, lacpdu_mcast_addr
adrp x24, ETH_ALEN
mov x21, x0
ldr w0, [x0, #20]
ldr w1, [x8, :lo12:lacpdu_mcast_addr]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr w0, [x21, #16]
ldr w1, [x22]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr x8, [x23, :lo12:PKT_TYPE_LACPDU]
mov x0, x20
ldr w9, [x19]
str x8, [x21, #8]
str w9, [x21]
bl dev_queue_xmit
mov w0, wzr
b .LBB0_3
.LBB0_2:
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
neg w0, w8
.LBB0_3:
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x24, x23, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_lacpdu_send, .Lfunc_end0-ad_lacpdu_send
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object // @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.xword 0 // 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object // @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.xword 0
.size PKT_TYPE_LACPDU, 8
.type TC_PRIO_CONTROL,@object // @TC_PRIO_CONTROL
.globl TC_PRIO_CONTROL
.p2align 2, 0x0
TC_PRIO_CONTROL:
.word 0 // 0x0
.size TC_PRIO_CONTROL, 4
.type lacpdu_mcast_addr,@object // @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.word 0 // 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object // @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_lacpdu_send
| .text
.file "extr_bond_3ad.c_ad_lacpdu_send.c"
.p2align 2 // -- Begin function ad_lacpdu_send
.type ad_lacpdu_send,@function
ad_lacpdu_send: // @ad_lacpdu_send
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x24, x23, [sp, #16] // 16-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
.cfi_remember_state
mov x19, x0
ldr x22, [x0, #8]
mov w0, #24 // =0x18
bl dev_alloc_skb
cbz x0, .LBB0_2
// %bb.1:
ldr w8, [x22, #4]
mov x20, x0
str w8, [x0, #32]
bl skb_reset_mac_header
adrp x8, ETH_HLEN
ldr x9, [x20, #16]
adrp x23, PKT_TYPE_LACPDU
adrp x10, TC_PRIO_CONTROL
mov x0, x20
mov w1, #24 // =0x18
ldr x8, [x8, :lo12:ETH_HLEN]
ldr x11, [x23, :lo12:PKT_TYPE_LACPDU]
add x8, x8, x9
ldr w9, [x10, :lo12:TC_PRIO_CONTROL]
str x11, [x20, #8]
str x8, [x20, #24]
str w9, [x20]
bl skb_put
adrp x8, lacpdu_mcast_addr
adrp x24, ETH_ALEN
mov x21, x0
ldr w0, [x0, #20]
ldr w1, [x8, :lo12:lacpdu_mcast_addr]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr w0, [x21, #16]
ldr w1, [x22]
ldr w2, [x24, :lo12:ETH_ALEN]
bl memcpy
ldr x8, [x23, :lo12:PKT_TYPE_LACPDU]
mov x0, x20
ldr w9, [x19]
str x8, [x21, #8]
str w9, [x21]
bl dev_queue_xmit
mov w0, wzr
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x24, x23, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
neg w0, w8
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x24, x23, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_lacpdu_send, .Lfunc_end0-ad_lacpdu_send
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object // @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.xword 0 // 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object // @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.xword 0
.size PKT_TYPE_LACPDU, 8
.type TC_PRIO_CONTROL,@object // @TC_PRIO_CONTROL
.globl TC_PRIO_CONTROL
.p2align 2, 0x0
TC_PRIO_CONTROL:
.word 0 // 0x0
.size TC_PRIO_CONTROL, 4
.type lacpdu_mcast_addr,@object // @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.word 0 // 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object // @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_lacpdu_send
| .text
.file "extr_bond_3ad.c_ad_lacpdu_send.c"
.p2align 4, 0x90 # -- Begin function ad_lacpdu_send
.type ad_lacpdu_send,@function
ad_lacpdu_send: # @ad_lacpdu_send
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movl $24, -44(%rbp)
movl -44(%rbp), %edi
callq dev_alloc_skb@PLT
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne .LBB0_2
# %bb.1:
xorl %eax, %eax
subl ENOMEM(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_3
.LBB0_2:
movq -24(%rbp), %rax
movl 4(%rax), %ecx
movq -32(%rbp), %rax
movl %ecx, 32(%rax)
movq -32(%rbp), %rdi
callq skb_reset_mac_header@PLT
movq -32(%rbp), %rax
movq 16(%rax), %rcx
addq ETH_HLEN(%rip), %rcx
movq -32(%rbp), %rax
movq %rcx, 24(%rax)
movq PKT_TYPE_LACPDU(%rip), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movl TC_PRIO_CONTROL(%rip), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
movq -32(%rbp), %rdi
movl -44(%rbp), %esi
callq skb_put@PLT
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movl 20(%rax), %edi
movl lacpdu_mcast_addr(%rip), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movq -40(%rbp), %rax
movl 16(%rax), %edi
movq -24(%rbp), %rax
movl (%rax), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movq PKT_TYPE_LACPDU(%rip), %rcx
movq -40(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movl (%rax), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movq -32(%rbp), %rdi
callq dev_queue_xmit@PLT
movl $0, -4(%rbp)
.LBB0_3:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ad_lacpdu_send, .Lfunc_end0-ad_lacpdu_send
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object # @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.quad 0 # 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object # @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.quad 0
.size PKT_TYPE_LACPDU, 8
.type TC_PRIO_CONTROL,@object # @TC_PRIO_CONTROL
.globl TC_PRIO_CONTROL
.p2align 2, 0x0
TC_PRIO_CONTROL:
.long 0 # 0x0
.size TC_PRIO_CONTROL, 4
.type lacpdu_mcast_addr,@object # @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.long 0 # 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object # @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_lacpdu_send
.addrsig_sym dev_alloc_skb
.addrsig_sym skb_reset_mac_header
.addrsig_sym skb_put
.addrsig_sym memcpy
.addrsig_sym dev_queue_xmit
.addrsig_sym ENOMEM
.addrsig_sym ETH_HLEN
.addrsig_sym PKT_TYPE_LACPDU
.addrsig_sym TC_PRIO_CONTROL
.addrsig_sym lacpdu_mcast_addr
.addrsig_sym ETH_ALEN
| .text
.file "extr_bond_3ad.c_ad_lacpdu_send.c"
.p2align 4, 0x90 # -- Begin function ad_lacpdu_send
.type ad_lacpdu_send,@function
ad_lacpdu_send: # @ad_lacpdu_send
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %rbx
movq 8(%rdi), %r12
movl $24, %edi
callq dev_alloc_skb@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
movq %rax, %r14
movl 4(%r12), %eax
movl %eax, 32(%r14)
movq %r14, %rdi
callq skb_reset_mac_header@PLT
movq ETH_HLEN(%rip), %rax
addq 16(%r14), %rax
movq %rax, 24(%r14)
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, 8(%r14)
movl TC_PRIO_CONTROL(%rip), %eax
movl %eax, (%r14)
movq %r14, %rdi
movl $24, %esi
callq skb_put@PLT
movq %rax, %r15
movl 20(%rax), %edi
movl lacpdu_mcast_addr(%rip), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movl 16(%r15), %edi
movl (%r12), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, 8(%r15)
movl (%rbx), %eax
movl %eax, (%r15)
movq %r14, %rdi
callq dev_queue_xmit@PLT
xorl %eax, %eax
jmp .LBB0_3
.LBB0_1:
xorl %eax, %eax
subl ENOMEM(%rip), %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_lacpdu_send, .Lfunc_end0-ad_lacpdu_send
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object # @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.quad 0 # 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object # @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.quad 0
.size PKT_TYPE_LACPDU, 8
.type TC_PRIO_CONTROL,@object # @TC_PRIO_CONTROL
.globl TC_PRIO_CONTROL
.p2align 2, 0x0
TC_PRIO_CONTROL:
.long 0 # 0x0
.size TC_PRIO_CONTROL, 4
.type lacpdu_mcast_addr,@object # @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.long 0 # 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object # @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_lacpdu_send
| .text
.file "extr_bond_3ad.c_ad_lacpdu_send.c"
.p2align 4, 0x90 # -- Begin function ad_lacpdu_send
.type ad_lacpdu_send,@function
ad_lacpdu_send: # @ad_lacpdu_send
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %rbx
movq 8(%rdi), %r12
movl $24, %edi
callq dev_alloc_skb@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
movq %rax, %r14
movl 4(%r12), %eax
movl %eax, 32(%r14)
movq %r14, %rdi
callq skb_reset_mac_header@PLT
movq ETH_HLEN(%rip), %rax
addq 16(%r14), %rax
movq %rax, 24(%r14)
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, 8(%r14)
movl TC_PRIO_CONTROL(%rip), %eax
movl %eax, (%r14)
movq %r14, %rdi
movl $24, %esi
callq skb_put@PLT
movq %rax, %r15
movl 20(%rax), %edi
movl lacpdu_mcast_addr(%rip), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movl 16(%r15), %edi
movl (%r12), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, 8(%r15)
movl (%rbx), %eax
movl %eax, (%r15)
movq %r14, %rdi
callq dev_queue_xmit@PLT
xorl %eax, %eax
jmp .LBB0_3
.LBB0_1:
xorl %eax, %eax
subl ENOMEM(%rip), %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_lacpdu_send, .Lfunc_end0-ad_lacpdu_send
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object # @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.quad 0 # 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object # @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.quad 0
.size PKT_TYPE_LACPDU, 8
.type TC_PRIO_CONTROL,@object # @TC_PRIO_CONTROL
.globl TC_PRIO_CONTROL
.p2align 2, 0x0
TC_PRIO_CONTROL:
.long 0 # 0x0
.size TC_PRIO_CONTROL, 4
.type lacpdu_mcast_addr,@object # @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.long 0 # 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object # @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_lacpdu_send
| .text
.file "extr_bond_3ad.c_ad_lacpdu_send.c"
.p2align 4, 0x90 # -- Begin function ad_lacpdu_send
.type ad_lacpdu_send,@function
ad_lacpdu_send: # @ad_lacpdu_send
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %rbx
movq 8(%rdi), %r12
movl $24, %edi
callq dev_alloc_skb@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
movq %rax, %r14
movl 4(%r12), %eax
movl %eax, 32(%r14)
movq %r14, %rdi
callq skb_reset_mac_header@PLT
movq ETH_HLEN(%rip), %rax
addq 16(%r14), %rax
movq %rax, 24(%r14)
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, 8(%r14)
movl TC_PRIO_CONTROL(%rip), %eax
movl %eax, (%r14)
movq %r14, %rdi
movl $24, %esi
callq skb_put@PLT
movq %rax, %r15
movl 20(%rax), %edi
movl lacpdu_mcast_addr(%rip), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movl 16(%r15), %edi
movl (%r12), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movq PKT_TYPE_LACPDU(%rip), %rax
movq %rax, 8(%r15)
movl (%rbx), %eax
movl %eax, (%r15)
movq %r14, %rdi
callq dev_queue_xmit@PLT
xorl %eax, %eax
jmp .LBB0_3
.LBB0_1:
xorl %eax, %eax
subl ENOMEM(%rip), %eax
.LBB0_3:
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_lacpdu_send, .Lfunc_end0-ad_lacpdu_send
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.type ETH_HLEN,@object # @ETH_HLEN
.globl ETH_HLEN
.p2align 3, 0x0
ETH_HLEN:
.quad 0 # 0x0
.size ETH_HLEN, 8
.type PKT_TYPE_LACPDU,@object # @PKT_TYPE_LACPDU
.globl PKT_TYPE_LACPDU
.p2align 3, 0x0
PKT_TYPE_LACPDU:
.quad 0
.size PKT_TYPE_LACPDU, 8
.type TC_PRIO_CONTROL,@object # @TC_PRIO_CONTROL
.globl TC_PRIO_CONTROL
.p2align 2, 0x0
TC_PRIO_CONTROL:
.long 0 # 0x0
.size TC_PRIO_CONTROL, 4
.type lacpdu_mcast_addr,@object # @lacpdu_mcast_addr
.globl lacpdu_mcast_addr
.p2align 2, 0x0
lacpdu_mcast_addr:
.long 0 # 0x0
.size lacpdu_mcast_addr, 4
.type ETH_ALEN,@object # @ETH_ALEN
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_lacpdu_send
|
extr_bond_3ad.c_ad_initialize_agg.c | .text
.file "extr_bond_3ad.c_ad_initialize_agg.c"
.p2align 2 // -- Begin function ad_initialize_agg
.type ad_initialize_agg,@function
ad_initialize_agg: // @ad_initialize_agg
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x0, [sp, #8]
bl ad_clear_agg
adrp x8, null_mac_addr
ldr w8, [x8, :lo12:null_mac_addr]
ldr x9, [sp, #8]
str w8, [x9, #16]
ldr x8, [sp, #8]
str xzr, [x8, #8]
ldr x8, [sp, #8]
// kill: def $x9 killed $xzr
str xzr, [x8]
b .LBB0_2
.LBB0_2:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_initialize_agg, .Lfunc_end0-ad_initialize_agg
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_initialize_agg
.addrsig_sym ad_clear_agg
.addrsig_sym null_mac_addr
| .text
.file "extr_bond_3ad.c_ad_initialize_agg.c"
.p2align 2 // -- Begin function ad_initialize_agg
.type ad_initialize_agg,@function
ad_initialize_agg: // @ad_initialize_agg
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_2
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
bl ad_clear_agg
adrp x8, null_mac_addr
ldr w8, [x8, :lo12:null_mac_addr]
str w8, [x19, #16]
stp xzr, xzr, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
.LBB0_2:
ret
.Lfunc_end0:
.size ad_initialize_agg, .Lfunc_end0-ad_initialize_agg
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_initialize_agg
| .text
.file "extr_bond_3ad.c_ad_initialize_agg.c"
.p2align 2 // -- Begin function ad_initialize_agg
.type ad_initialize_agg,@function
ad_initialize_agg: // @ad_initialize_agg
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_2
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
bl ad_clear_agg
adrp x8, null_mac_addr
ldr w8, [x8, :lo12:null_mac_addr]
str w8, [x19, #16]
stp xzr, xzr, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
.LBB0_2:
ret
.Lfunc_end0:
.size ad_initialize_agg, .Lfunc_end0-ad_initialize_agg
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_initialize_agg
| .text
.file "extr_bond_3ad.c_ad_initialize_agg.c"
.p2align 2 // -- Begin function ad_initialize_agg
.type ad_initialize_agg,@function
ad_initialize_agg: // @ad_initialize_agg
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_2
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
bl ad_clear_agg
adrp x8, null_mac_addr
ldr w8, [x8, :lo12:null_mac_addr]
str w8, [x19, #16]
stp xzr, xzr, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
.LBB0_2:
ret
.Lfunc_end0:
.size ad_initialize_agg, .Lfunc_end0-ad_initialize_agg
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_initialize_agg
| .text
.file "extr_bond_3ad.c_ad_initialize_agg.c"
.p2align 4, 0x90 # -- Begin function ad_initialize_agg
.type ad_initialize_agg,@function
ad_initialize_agg: # @ad_initialize_agg
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
je .LBB0_2
# %bb.1:
movq -8(%rbp), %rdi
callq ad_clear_agg@PLT
movl null_mac_addr(%rip), %ecx
movq -8(%rbp), %rax
movl %ecx, 16(%rax)
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
movq $0, (%rax)
.LBB0_2:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ad_initialize_agg, .Lfunc_end0-ad_initialize_agg
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_initialize_agg
.addrsig_sym ad_clear_agg
.addrsig_sym null_mac_addr
| .text
.file "extr_bond_3ad.c_ad_initialize_agg.c"
.p2align 4, 0x90 # -- Begin function ad_initialize_agg
.type ad_initialize_agg,@function
ad_initialize_agg: # @ad_initialize_agg
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_2
# %bb.1:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
callq ad_clear_agg@PLT
movl null_mac_addr(%rip), %eax
movl %eax, 16(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
popq %rbx
.cfi_def_cfa_offset 8
.LBB0_2:
retq
.Lfunc_end0:
.size ad_initialize_agg, .Lfunc_end0-ad_initialize_agg
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_initialize_agg
| .text
.file "extr_bond_3ad.c_ad_initialize_agg.c"
.p2align 4, 0x90 # -- Begin function ad_initialize_agg
.type ad_initialize_agg,@function
ad_initialize_agg: # @ad_initialize_agg
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_2
# %bb.1:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
callq ad_clear_agg@PLT
movl null_mac_addr(%rip), %eax
movl %eax, 16(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
popq %rbx
.cfi_def_cfa_offset 8
.LBB0_2:
retq
.Lfunc_end0:
.size ad_initialize_agg, .Lfunc_end0-ad_initialize_agg
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_initialize_agg
| .text
.file "extr_bond_3ad.c_ad_initialize_agg.c"
.p2align 4, 0x90 # -- Begin function ad_initialize_agg
.type ad_initialize_agg,@function
ad_initialize_agg: # @ad_initialize_agg
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_2
# %bb.1:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
callq ad_clear_agg@PLT
movl null_mac_addr(%rip), %eax
movl %eax, 16(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
popq %rbx
.cfi_def_cfa_offset 8
.LBB0_2:
retq
.Lfunc_end0:
.size ad_initialize_agg, .Lfunc_end0-ad_initialize_agg
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_initialize_agg
|
extr_bond_3ad.c___port_is_enabled.c | .text
.file "extr_bond_3ad.c___port_is_enabled.c"
.p2align 2 // -- Begin function __port_is_enabled
.type __port_is_enabled,@function
__port_is_enabled: // @__port_is_enabled
.cfi_startproc
// %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x8, [x8]
adrp x9, BOND_STATE_ACTIVE
ldr x9, [x9, :lo12:BOND_STATE_ACTIVE]
subs x8, x8, x9
cset w8, eq
and w0, w8, #0x1
add sp, sp, #16
.cfi_def_cfa_offset 0
ret
.Lfunc_end0:
.size __port_is_enabled, .Lfunc_end0-__port_is_enabled
.cfi_endproc
// -- End function
.type BOND_STATE_ACTIVE,@object // @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 3, 0x0
BOND_STATE_ACTIVE:
.xword 0 // 0x0
.size BOND_STATE_ACTIVE, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __port_is_enabled
.addrsig_sym BOND_STATE_ACTIVE
| .text
.file "extr_bond_3ad.c___port_is_enabled.c"
.p2align 2 // -- Begin function __port_is_enabled
.type __port_is_enabled,@function
__port_is_enabled: // @__port_is_enabled
.cfi_startproc
// %bb.0:
adrp x8, BOND_STATE_ACTIVE
ldr x9, [x0]
ldr x9, [x9]
ldr x8, [x8, :lo12:BOND_STATE_ACTIVE]
cmp x9, x8
cset w0, eq
ret
.Lfunc_end0:
.size __port_is_enabled, .Lfunc_end0-__port_is_enabled
.cfi_endproc
// -- End function
.type BOND_STATE_ACTIVE,@object // @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 3, 0x0
BOND_STATE_ACTIVE:
.xword 0 // 0x0
.size BOND_STATE_ACTIVE, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __port_is_enabled
| .text
.file "extr_bond_3ad.c___port_is_enabled.c"
.p2align 2 // -- Begin function __port_is_enabled
.type __port_is_enabled,@function
__port_is_enabled: // @__port_is_enabled
.cfi_startproc
// %bb.0:
adrp x8, BOND_STATE_ACTIVE
ldr x9, [x0]
ldr x9, [x9]
ldr x8, [x8, :lo12:BOND_STATE_ACTIVE]
cmp x9, x8
cset w0, eq
ret
.Lfunc_end0:
.size __port_is_enabled, .Lfunc_end0-__port_is_enabled
.cfi_endproc
// -- End function
.type BOND_STATE_ACTIVE,@object // @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 3, 0x0
BOND_STATE_ACTIVE:
.xword 0 // 0x0
.size BOND_STATE_ACTIVE, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __port_is_enabled
| .text
.file "extr_bond_3ad.c___port_is_enabled.c"
.p2align 2 // -- Begin function __port_is_enabled
.type __port_is_enabled,@function
__port_is_enabled: // @__port_is_enabled
.cfi_startproc
// %bb.0:
adrp x8, BOND_STATE_ACTIVE
ldr x9, [x0]
ldr x9, [x9]
ldr x8, [x8, :lo12:BOND_STATE_ACTIVE]
cmp x9, x8
cset w0, eq
ret
.Lfunc_end0:
.size __port_is_enabled, .Lfunc_end0-__port_is_enabled
.cfi_endproc
// -- End function
.type BOND_STATE_ACTIVE,@object // @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 3, 0x0
BOND_STATE_ACTIVE:
.xword 0 // 0x0
.size BOND_STATE_ACTIVE, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __port_is_enabled
| .text
.file "extr_bond_3ad.c___port_is_enabled.c"
.p2align 4, 0x90 # -- Begin function __port_is_enabled
.type __port_is_enabled,@function
__port_is_enabled: # @__port_is_enabled
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rax
cmpq BOND_STATE_ACTIVE(%rip), %rax
sete %al
andb $1, %al
movzbl %al, %eax
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size __port_is_enabled, .Lfunc_end0-__port_is_enabled
.cfi_endproc
# -- End function
.type BOND_STATE_ACTIVE,@object # @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 3, 0x0
BOND_STATE_ACTIVE:
.quad 0 # 0x0
.size BOND_STATE_ACTIVE, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __port_is_enabled
.addrsig_sym BOND_STATE_ACTIVE
| .text
.file "extr_bond_3ad.c___port_is_enabled.c"
.p2align 4, 0x90 # -- Begin function __port_is_enabled
.type __port_is_enabled,@function
__port_is_enabled: # @__port_is_enabled
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
movq (%rax), %rcx
xorl %eax, %eax
cmpq BOND_STATE_ACTIVE(%rip), %rcx
sete %al
retq
.Lfunc_end0:
.size __port_is_enabled, .Lfunc_end0-__port_is_enabled
.cfi_endproc
# -- End function
.type BOND_STATE_ACTIVE,@object # @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 3, 0x0
BOND_STATE_ACTIVE:
.quad 0 # 0x0
.size BOND_STATE_ACTIVE, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __port_is_enabled
| .text
.file "extr_bond_3ad.c___port_is_enabled.c"
.p2align 4, 0x90 # -- Begin function __port_is_enabled
.type __port_is_enabled,@function
__port_is_enabled: # @__port_is_enabled
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
movq (%rax), %rcx
xorl %eax, %eax
cmpq BOND_STATE_ACTIVE(%rip), %rcx
sete %al
retq
.Lfunc_end0:
.size __port_is_enabled, .Lfunc_end0-__port_is_enabled
.cfi_endproc
# -- End function
.type BOND_STATE_ACTIVE,@object # @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 3, 0x0
BOND_STATE_ACTIVE:
.quad 0 # 0x0
.size BOND_STATE_ACTIVE, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __port_is_enabled
| .text
.file "extr_bond_3ad.c___port_is_enabled.c"
.p2align 4, 0x90 # -- Begin function __port_is_enabled
.type __port_is_enabled,@function
__port_is_enabled: # @__port_is_enabled
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
movq (%rax), %rcx
xorl %eax, %eax
cmpq BOND_STATE_ACTIVE(%rip), %rcx
sete %al
retq
.Lfunc_end0:
.size __port_is_enabled, .Lfunc_end0-__port_is_enabled
.cfi_endproc
# -- End function
.type BOND_STATE_ACTIVE,@object # @BOND_STATE_ACTIVE
.bss
.globl BOND_STATE_ACTIVE
.p2align 3, 0x0
BOND_STATE_ACTIVE:
.quad 0 # 0x0
.size BOND_STATE_ACTIVE, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __port_is_enabled
|
extr_bond_main.c_bond_open.c | .text
.file "extr_bond_main.c_bond_open.c"
.p2align 2 // -- Begin function bond_open
.type bond_open,@function
bond_open: // @bond_open
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x0, [sp, #16]
bl netdev_priv
str x0, [sp, #8]
ldr x8, [sp, #8]
str xzr, [x8, #56]
ldr x8, [sp, #8]
adrp x9, bond_resend_igmp_join_requests_delayed
ldr w1, [x9, :lo12:bond_resend_igmp_join_requests_delayed]
add x0, x8, #52
bl INIT_DELAYED_WORK
ldr x0, [sp, #8]
bl bond_is_lb
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_1
.LBB0_1:
ldr x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
adrp x9, BOND_MODE_ALB
ldr x9, [x9, :lo12:BOND_MODE_ALB]
subs x8, x8, x9
cset w8, eq
and w1, w8, #0x1
bl bond_alb_initialize
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
mov w8, #-1 // =0xffffffff
stur w8, [x29, #-4]
b .LBB0_16
.LBB0_3:
ldr x8, [sp, #8]
add x0, x8, #48
adrp x8, bond_alb_monitor
ldr w1, [x8, :lo12:bond_alb_monitor]
bl INIT_DELAYED_WORK
ldr x8, [sp, #8]
ldr w0, [x8, #4]
ldr x8, [sp, #8]
add x1, x8, #48
mov w2, wzr
bl queue_delayed_work
b .LBB0_4
.LBB0_4:
ldr x8, [sp, #8]
ldr x8, [x8, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
ldr x8, [sp, #8]
add x0, x8, #44
adrp x8, bond_mii_monitor
ldr w1, [x8, :lo12:bond_mii_monitor]
bl INIT_DELAYED_WORK
ldr x8, [sp, #8]
ldr w0, [x8, #4]
ldr x8, [sp, #8]
add x1, x8, #44
mov w2, wzr
bl queue_delayed_work
b .LBB0_6
.LBB0_6:
ldr x8, [sp, #8]
ldr x8, [x8, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_13
b .LBB0_7
.LBB0_7:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
adrp x9, BOND_MODE_ACTIVEBACKUP
ldr x9, [x9, :lo12:BOND_MODE_ACTIVEBACKUP]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_9
b .LBB0_8
.LBB0_8:
ldr x8, [sp, #8]
add x0, x8, #40
adrp x8, bond_activebackup_arp_mon
ldr w1, [x8, :lo12:bond_activebackup_arp_mon]
bl INIT_DELAYED_WORK
b .LBB0_10
.LBB0_9:
ldr x8, [sp, #8]
add x0, x8, #40
adrp x8, bond_loadbalance_arp_mon
ldr w1, [x8, :lo12:bond_loadbalance_arp_mon]
bl INIT_DELAYED_WORK
b .LBB0_10
.LBB0_10:
ldr x8, [sp, #8]
ldr w0, [x8, #4]
ldr x8, [sp, #8]
add x1, x8, #40
mov w2, wzr
bl queue_delayed_work
ldr x8, [sp, #8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_12
b .LBB0_11
.LBB0_11:
ldr x0, [sp, #8]
bl bond_register_arp
b .LBB0_12
.LBB0_12:
b .LBB0_13
.LBB0_13:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
adrp x9, BOND_MODE_8023AD
ldr x9, [x9, :lo12:BOND_MODE_8023AD]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_15
b .LBB0_14
.LBB0_14:
ldr x0, [sp, #8]
adrp x8, bond_3ad_state_machine_handler
ldr w1, [x8, :lo12:bond_3ad_state_machine_handler]
bl INIT_DELAYED_WORK
ldr x8, [sp, #8]
ldr w0, [x8, #4]
ldr x1, [sp, #8]
mov w2, wzr
bl queue_delayed_work
ldr x0, [sp, #8]
bl bond_register_lacpdu
ldr x0, [sp, #8]
mov w1, #1 // =0x1
bl bond_3ad_initiate_agg_selection
b .LBB0_15
.LBB0_15:
stur wzr, [x29, #-4]
b .LBB0_16
.LBB0_16:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_open, .Lfunc_end0-bond_open
.cfi_endproc
// -- End function
.type bond_resend_igmp_join_requests_delayed,@object // @bond_resend_igmp_join_requests_delayed
.bss
.globl bond_resend_igmp_join_requests_delayed
.p2align 2, 0x0
bond_resend_igmp_join_requests_delayed:
.word 0 // 0x0
.size bond_resend_igmp_join_requests_delayed, 4
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.type bond_alb_monitor,@object // @bond_alb_monitor
.globl bond_alb_monitor
.p2align 2, 0x0
bond_alb_monitor:
.word 0 // 0x0
.size bond_alb_monitor, 4
.type bond_mii_monitor,@object // @bond_mii_monitor
.globl bond_mii_monitor
.p2align 2, 0x0
bond_mii_monitor:
.word 0 // 0x0
.size bond_mii_monitor, 4
.type BOND_MODE_ACTIVEBACKUP,@object // @BOND_MODE_ACTIVEBACKUP
.globl BOND_MODE_ACTIVEBACKUP
.p2align 3, 0x0
BOND_MODE_ACTIVEBACKUP:
.xword 0 // 0x0
.size BOND_MODE_ACTIVEBACKUP, 8
.type bond_activebackup_arp_mon,@object // @bond_activebackup_arp_mon
.globl bond_activebackup_arp_mon
.p2align 2, 0x0
bond_activebackup_arp_mon:
.word 0 // 0x0
.size bond_activebackup_arp_mon, 4
.type bond_loadbalance_arp_mon,@object // @bond_loadbalance_arp_mon
.globl bond_loadbalance_arp_mon
.p2align 2, 0x0
bond_loadbalance_arp_mon:
.word 0 // 0x0
.size bond_loadbalance_arp_mon, 4
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type bond_3ad_state_machine_handler,@object // @bond_3ad_state_machine_handler
.globl bond_3ad_state_machine_handler
.p2align 2, 0x0
bond_3ad_state_machine_handler:
.word 0 // 0x0
.size bond_3ad_state_machine_handler, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_open
.addrsig_sym netdev_priv
.addrsig_sym INIT_DELAYED_WORK
.addrsig_sym bond_is_lb
.addrsig_sym bond_alb_initialize
.addrsig_sym queue_delayed_work
.addrsig_sym bond_register_arp
.addrsig_sym bond_register_lacpdu
.addrsig_sym bond_3ad_initiate_agg_selection
.addrsig_sym bond_resend_igmp_join_requests_delayed
.addrsig_sym BOND_MODE_ALB
.addrsig_sym bond_alb_monitor
.addrsig_sym bond_mii_monitor
.addrsig_sym BOND_MODE_ACTIVEBACKUP
.addrsig_sym bond_activebackup_arp_mon
.addrsig_sym bond_loadbalance_arp_mon
.addrsig_sym BOND_MODE_8023AD
.addrsig_sym bond_3ad_state_machine_handler
| .text
.file "extr_bond_main.c_bond_open.c"
.p2align 2 // -- Begin function bond_open
.type bond_open,@function
bond_open: // @bond_open
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
bl netdev_priv
adrp x8, bond_resend_igmp_join_requests_delayed
mov x19, x0
add x0, x0, #52
ldr w1, [x8, :lo12:bond_resend_igmp_join_requests_delayed]
str xzr, [x19, #56]
bl INIT_DELAYED_WORK
mov x0, x19
bl bond_is_lb
cbz x0, .LBB0_4
// %bb.1:
adrp x8, BOND_MODE_ALB
ldr x9, [x19, #8]
mov x0, x19
ldr x8, [x8, :lo12:BOND_MODE_ALB]
cmp x9, x8
cset w1, eq
bl bond_alb_initialize
cbz x0, .LBB0_3
// %bb.2:
mov w0, #-1 // =0xffffffff
b .LBB0_12
.LBB0_3:
adrp x8, bond_alb_monitor
add x20, x19, #48
mov x0, x20
ldr w1, [x8, :lo12:bond_alb_monitor]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x20
mov w2, wzr
bl queue_delayed_work
.LBB0_4:
ldr x8, [x19, #32]
cbz x8, .LBB0_6
// %bb.5:
adrp x8, bond_mii_monitor
add x20, x19, #44
mov x0, x20
ldr w1, [x8, :lo12:bond_mii_monitor]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x20
mov w2, wzr
bl queue_delayed_work
.LBB0_6:
ldr x8, [x19, #24]
cbz x8, .LBB0_9
// %bb.7:
adrp x8, BOND_MODE_ACTIVEBACKUP
ldr x9, [x19, #8]
adrp x10, bond_activebackup_arp_mon
add x10, x10, :lo12:bond_activebackup_arp_mon
adrp x11, bond_loadbalance_arp_mon
add x11, x11, :lo12:bond_loadbalance_arp_mon
ldr x8, [x8, :lo12:BOND_MODE_ACTIVEBACKUP]
add x20, x19, #40
mov x0, x20
cmp x9, x8
csel x8, x10, x11, eq
ldr w1, [x8]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x20
mov w2, wzr
bl queue_delayed_work
ldr x8, [x19, #16]
cbz x8, .LBB0_9
// %bb.8:
mov x0, x19
bl bond_register_arp
.LBB0_9:
adrp x8, BOND_MODE_8023AD
ldr x9, [x19, #8]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_11
// %bb.10:
adrp x8, bond_3ad_state_machine_handler
mov x0, x19
ldr w1, [x8, :lo12:bond_3ad_state_machine_handler]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x19
mov w2, wzr
bl queue_delayed_work
mov x0, x19
bl bond_register_lacpdu
mov x0, x19
mov w1, #1 // =0x1
bl bond_3ad_initiate_agg_selection
.LBB0_11:
mov w0, wzr
.LBB0_12:
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_open, .Lfunc_end0-bond_open
.cfi_endproc
// -- End function
.type bond_resend_igmp_join_requests_delayed,@object // @bond_resend_igmp_join_requests_delayed
.bss
.globl bond_resend_igmp_join_requests_delayed
.p2align 2, 0x0
bond_resend_igmp_join_requests_delayed:
.word 0 // 0x0
.size bond_resend_igmp_join_requests_delayed, 4
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.type bond_alb_monitor,@object // @bond_alb_monitor
.globl bond_alb_monitor
.p2align 2, 0x0
bond_alb_monitor:
.word 0 // 0x0
.size bond_alb_monitor, 4
.type bond_mii_monitor,@object // @bond_mii_monitor
.globl bond_mii_monitor
.p2align 2, 0x0
bond_mii_monitor:
.word 0 // 0x0
.size bond_mii_monitor, 4
.type BOND_MODE_ACTIVEBACKUP,@object // @BOND_MODE_ACTIVEBACKUP
.globl BOND_MODE_ACTIVEBACKUP
.p2align 3, 0x0
BOND_MODE_ACTIVEBACKUP:
.xword 0 // 0x0
.size BOND_MODE_ACTIVEBACKUP, 8
.type bond_activebackup_arp_mon,@object // @bond_activebackup_arp_mon
.globl bond_activebackup_arp_mon
.p2align 2, 0x0
bond_activebackup_arp_mon:
.word 0 // 0x0
.size bond_activebackup_arp_mon, 4
.type bond_loadbalance_arp_mon,@object // @bond_loadbalance_arp_mon
.globl bond_loadbalance_arp_mon
.p2align 2, 0x0
bond_loadbalance_arp_mon:
.word 0 // 0x0
.size bond_loadbalance_arp_mon, 4
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type bond_3ad_state_machine_handler,@object // @bond_3ad_state_machine_handler
.globl bond_3ad_state_machine_handler
.p2align 2, 0x0
bond_3ad_state_machine_handler:
.word 0 // 0x0
.size bond_3ad_state_machine_handler, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_open
| .text
.file "extr_bond_main.c_bond_open.c"
.p2align 2 // -- Begin function bond_open
.type bond_open,@function
bond_open: // @bond_open
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
bl netdev_priv
adrp x8, bond_resend_igmp_join_requests_delayed
mov x19, x0
add x0, x0, #52
ldr w1, [x8, :lo12:bond_resend_igmp_join_requests_delayed]
str xzr, [x19, #56]
bl INIT_DELAYED_WORK
mov x0, x19
bl bond_is_lb
cbz x0, .LBB0_4
// %bb.1:
adrp x8, BOND_MODE_ALB
ldr x9, [x19, #8]
mov x0, x19
ldr x8, [x8, :lo12:BOND_MODE_ALB]
cmp x9, x8
cset w1, eq
bl bond_alb_initialize
cbz x0, .LBB0_3
// %bb.2:
mov w0, #-1 // =0xffffffff
b .LBB0_12
.LBB0_3:
adrp x8, bond_alb_monitor
add x20, x19, #48
mov x0, x20
ldr w1, [x8, :lo12:bond_alb_monitor]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x20
mov w2, wzr
bl queue_delayed_work
.LBB0_4:
ldr x8, [x19, #32]
cbz x8, .LBB0_6
// %bb.5:
adrp x8, bond_mii_monitor
add x20, x19, #44
mov x0, x20
ldr w1, [x8, :lo12:bond_mii_monitor]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x20
mov w2, wzr
bl queue_delayed_work
.LBB0_6:
ldr x8, [x19, #24]
cbz x8, .LBB0_9
// %bb.7:
adrp x8, BOND_MODE_ACTIVEBACKUP
ldr x9, [x19, #8]
adrp x10, bond_activebackup_arp_mon
add x10, x10, :lo12:bond_activebackup_arp_mon
adrp x11, bond_loadbalance_arp_mon
add x11, x11, :lo12:bond_loadbalance_arp_mon
ldr x8, [x8, :lo12:BOND_MODE_ACTIVEBACKUP]
add x20, x19, #40
mov x0, x20
cmp x9, x8
csel x8, x10, x11, eq
ldr w1, [x8]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x20
mov w2, wzr
bl queue_delayed_work
ldr x8, [x19, #16]
cbz x8, .LBB0_9
// %bb.8:
mov x0, x19
bl bond_register_arp
.LBB0_9:
adrp x8, BOND_MODE_8023AD
ldr x9, [x19, #8]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_11
// %bb.10:
adrp x8, bond_3ad_state_machine_handler
mov x0, x19
ldr w1, [x8, :lo12:bond_3ad_state_machine_handler]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x19
mov w2, wzr
bl queue_delayed_work
mov x0, x19
bl bond_register_lacpdu
mov x0, x19
mov w1, #1 // =0x1
bl bond_3ad_initiate_agg_selection
.LBB0_11:
mov w0, wzr
.LBB0_12:
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_open, .Lfunc_end0-bond_open
.cfi_endproc
// -- End function
.type bond_resend_igmp_join_requests_delayed,@object // @bond_resend_igmp_join_requests_delayed
.bss
.globl bond_resend_igmp_join_requests_delayed
.p2align 2, 0x0
bond_resend_igmp_join_requests_delayed:
.word 0 // 0x0
.size bond_resend_igmp_join_requests_delayed, 4
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.type bond_alb_monitor,@object // @bond_alb_monitor
.globl bond_alb_monitor
.p2align 2, 0x0
bond_alb_monitor:
.word 0 // 0x0
.size bond_alb_monitor, 4
.type bond_mii_monitor,@object // @bond_mii_monitor
.globl bond_mii_monitor
.p2align 2, 0x0
bond_mii_monitor:
.word 0 // 0x0
.size bond_mii_monitor, 4
.type BOND_MODE_ACTIVEBACKUP,@object // @BOND_MODE_ACTIVEBACKUP
.globl BOND_MODE_ACTIVEBACKUP
.p2align 3, 0x0
BOND_MODE_ACTIVEBACKUP:
.xword 0 // 0x0
.size BOND_MODE_ACTIVEBACKUP, 8
.type bond_activebackup_arp_mon,@object // @bond_activebackup_arp_mon
.globl bond_activebackup_arp_mon
.p2align 2, 0x0
bond_activebackup_arp_mon:
.word 0 // 0x0
.size bond_activebackup_arp_mon, 4
.type bond_loadbalance_arp_mon,@object // @bond_loadbalance_arp_mon
.globl bond_loadbalance_arp_mon
.p2align 2, 0x0
bond_loadbalance_arp_mon:
.word 0 // 0x0
.size bond_loadbalance_arp_mon, 4
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type bond_3ad_state_machine_handler,@object // @bond_3ad_state_machine_handler
.globl bond_3ad_state_machine_handler
.p2align 2, 0x0
bond_3ad_state_machine_handler:
.word 0 // 0x0
.size bond_3ad_state_machine_handler, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_open
| .text
.file "extr_bond_main.c_bond_open.c"
.p2align 2 // -- Begin function bond_open
.type bond_open,@function
bond_open: // @bond_open
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
bl netdev_priv
adrp x8, bond_resend_igmp_join_requests_delayed
mov x19, x0
add x0, x0, #52
ldr w1, [x8, :lo12:bond_resend_igmp_join_requests_delayed]
str xzr, [x19, #56]
bl INIT_DELAYED_WORK
mov x0, x19
bl bond_is_lb
cbz x0, .LBB0_4
// %bb.1:
adrp x8, BOND_MODE_ALB
ldr x9, [x19, #8]
mov x0, x19
ldr x8, [x8, :lo12:BOND_MODE_ALB]
cmp x9, x8
cset w1, eq
bl bond_alb_initialize
cbz x0, .LBB0_3
// %bb.2:
mov w0, #-1 // =0xffffffff
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_3:
.cfi_restore_state
adrp x8, bond_alb_monitor
add x20, x19, #48
mov x0, x20
ldr w1, [x8, :lo12:bond_alb_monitor]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x20
mov w2, wzr
bl queue_delayed_work
.LBB0_4:
ldr x8, [x19, #32]
cbz x8, .LBB0_6
// %bb.5:
adrp x8, bond_mii_monitor
add x20, x19, #44
mov x0, x20
ldr w1, [x8, :lo12:bond_mii_monitor]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x20
mov w2, wzr
bl queue_delayed_work
.LBB0_6:
ldr x8, [x19, #24]
cbz x8, .LBB0_9
// %bb.7:
adrp x8, BOND_MODE_ACTIVEBACKUP
ldr x9, [x19, #8]
adrp x10, bond_activebackup_arp_mon
add x10, x10, :lo12:bond_activebackup_arp_mon
adrp x11, bond_loadbalance_arp_mon
add x11, x11, :lo12:bond_loadbalance_arp_mon
ldr x8, [x8, :lo12:BOND_MODE_ACTIVEBACKUP]
add x20, x19, #40
mov x0, x20
cmp x9, x8
csel x8, x10, x11, eq
ldr w1, [x8]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x20
mov w2, wzr
bl queue_delayed_work
ldr x8, [x19, #16]
cbz x8, .LBB0_9
// %bb.8:
mov x0, x19
bl bond_register_arp
.LBB0_9:
adrp x8, BOND_MODE_8023AD
ldr x9, [x19, #8]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_11
// %bb.10:
adrp x8, bond_3ad_state_machine_handler
mov x0, x19
ldr w1, [x8, :lo12:bond_3ad_state_machine_handler]
bl INIT_DELAYED_WORK
ldr w0, [x19, #4]
mov x1, x19
mov w2, wzr
bl queue_delayed_work
mov x0, x19
bl bond_register_lacpdu
mov x0, x19
mov w1, #1 // =0x1
bl bond_3ad_initiate_agg_selection
.LBB0_11:
mov w0, wzr
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_open, .Lfunc_end0-bond_open
.cfi_endproc
// -- End function
.type bond_resend_igmp_join_requests_delayed,@object // @bond_resend_igmp_join_requests_delayed
.bss
.globl bond_resend_igmp_join_requests_delayed
.p2align 2, 0x0
bond_resend_igmp_join_requests_delayed:
.word 0 // 0x0
.size bond_resend_igmp_join_requests_delayed, 4
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.type bond_alb_monitor,@object // @bond_alb_monitor
.globl bond_alb_monitor
.p2align 2, 0x0
bond_alb_monitor:
.word 0 // 0x0
.size bond_alb_monitor, 4
.type bond_mii_monitor,@object // @bond_mii_monitor
.globl bond_mii_monitor
.p2align 2, 0x0
bond_mii_monitor:
.word 0 // 0x0
.size bond_mii_monitor, 4
.type BOND_MODE_ACTIVEBACKUP,@object // @BOND_MODE_ACTIVEBACKUP
.globl BOND_MODE_ACTIVEBACKUP
.p2align 3, 0x0
BOND_MODE_ACTIVEBACKUP:
.xword 0 // 0x0
.size BOND_MODE_ACTIVEBACKUP, 8
.type bond_activebackup_arp_mon,@object // @bond_activebackup_arp_mon
.globl bond_activebackup_arp_mon
.p2align 2, 0x0
bond_activebackup_arp_mon:
.word 0 // 0x0
.size bond_activebackup_arp_mon, 4
.type bond_loadbalance_arp_mon,@object // @bond_loadbalance_arp_mon
.globl bond_loadbalance_arp_mon
.p2align 2, 0x0
bond_loadbalance_arp_mon:
.word 0 // 0x0
.size bond_loadbalance_arp_mon, 4
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type bond_3ad_state_machine_handler,@object // @bond_3ad_state_machine_handler
.globl bond_3ad_state_machine_handler
.p2align 2, 0x0
bond_3ad_state_machine_handler:
.word 0 // 0x0
.size bond_3ad_state_machine_handler, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_open
| .text
.file "extr_bond_main.c_bond_open.c"
.p2align 4, 0x90 # -- Begin function bond_open
.type bond_open,@function
bond_open: # @bond_open
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
callq netdev_priv@PLT
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movq $0, 56(%rax)
movq -24(%rbp), %rdi
addq $52, %rdi
movl bond_resend_igmp_join_requests_delayed(%rip), %esi
callq INIT_DELAYED_WORK@PLT
movq -24(%rbp), %rdi
callq bond_is_lb@PLT
cmpq $0, %rax
je .LBB0_4
# %bb.1:
movq -24(%rbp), %rdi
movq -24(%rbp), %rax
movq 8(%rax), %rax
cmpq BOND_MODE_ALB(%rip), %rax
sete %al
andb $1, %al
movzbl %al, %esi
callq bond_alb_initialize@PLT
cmpq $0, %rax
je .LBB0_3
# %bb.2:
movl $-1, -4(%rbp)
jmp .LBB0_16
.LBB0_3:
movq -24(%rbp), %rdi
addq $48, %rdi
movl bond_alb_monitor(%rip), %esi
callq INIT_DELAYED_WORK@PLT
movq -24(%rbp), %rax
movl 4(%rax), %edi
movq -24(%rbp), %rsi
addq $48, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
.LBB0_4:
movq -24(%rbp), %rax
cmpq $0, 32(%rax)
je .LBB0_6
# %bb.5:
movq -24(%rbp), %rdi
addq $44, %rdi
movl bond_mii_monitor(%rip), %esi
callq INIT_DELAYED_WORK@PLT
movq -24(%rbp), %rax
movl 4(%rax), %edi
movq -24(%rbp), %rsi
addq $44, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
.LBB0_6:
movq -24(%rbp), %rax
cmpq $0, 24(%rax)
je .LBB0_13
# %bb.7:
movq -24(%rbp), %rax
movq 8(%rax), %rax
cmpq BOND_MODE_ACTIVEBACKUP(%rip), %rax
jne .LBB0_9
# %bb.8:
movq -24(%rbp), %rdi
addq $40, %rdi
movl bond_activebackup_arp_mon(%rip), %esi
callq INIT_DELAYED_WORK@PLT
jmp .LBB0_10
.LBB0_9:
movq -24(%rbp), %rdi
addq $40, %rdi
movl bond_loadbalance_arp_mon(%rip), %esi
callq INIT_DELAYED_WORK@PLT
.LBB0_10:
movq -24(%rbp), %rax
movl 4(%rax), %edi
movq -24(%rbp), %rsi
addq $40, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
movq -24(%rbp), %rax
cmpq $0, 16(%rax)
je .LBB0_12
# %bb.11:
movq -24(%rbp), %rdi
callq bond_register_arp@PLT
.LBB0_12:
jmp .LBB0_13
.LBB0_13:
movq -24(%rbp), %rax
movq 8(%rax), %rax
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_15
# %bb.14:
movq -24(%rbp), %rdi
movl bond_3ad_state_machine_handler(%rip), %esi
callq INIT_DELAYED_WORK@PLT
movq -24(%rbp), %rax
movl 4(%rax), %edi
movq -24(%rbp), %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
movq -24(%rbp), %rdi
callq bond_register_lacpdu@PLT
movq -24(%rbp), %rdi
movl $1, %esi
callq bond_3ad_initiate_agg_selection@PLT
.LBB0_15:
movl $0, -4(%rbp)
.LBB0_16:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_open, .Lfunc_end0-bond_open
.cfi_endproc
# -- End function
.type bond_resend_igmp_join_requests_delayed,@object # @bond_resend_igmp_join_requests_delayed
.bss
.globl bond_resend_igmp_join_requests_delayed
.p2align 2, 0x0
bond_resend_igmp_join_requests_delayed:
.long 0 # 0x0
.size bond_resend_igmp_join_requests_delayed, 4
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.type bond_alb_monitor,@object # @bond_alb_monitor
.globl bond_alb_monitor
.p2align 2, 0x0
bond_alb_monitor:
.long 0 # 0x0
.size bond_alb_monitor, 4
.type bond_mii_monitor,@object # @bond_mii_monitor
.globl bond_mii_monitor
.p2align 2, 0x0
bond_mii_monitor:
.long 0 # 0x0
.size bond_mii_monitor, 4
.type BOND_MODE_ACTIVEBACKUP,@object # @BOND_MODE_ACTIVEBACKUP
.globl BOND_MODE_ACTIVEBACKUP
.p2align 3, 0x0
BOND_MODE_ACTIVEBACKUP:
.quad 0 # 0x0
.size BOND_MODE_ACTIVEBACKUP, 8
.type bond_activebackup_arp_mon,@object # @bond_activebackup_arp_mon
.globl bond_activebackup_arp_mon
.p2align 2, 0x0
bond_activebackup_arp_mon:
.long 0 # 0x0
.size bond_activebackup_arp_mon, 4
.type bond_loadbalance_arp_mon,@object # @bond_loadbalance_arp_mon
.globl bond_loadbalance_arp_mon
.p2align 2, 0x0
bond_loadbalance_arp_mon:
.long 0 # 0x0
.size bond_loadbalance_arp_mon, 4
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type bond_3ad_state_machine_handler,@object # @bond_3ad_state_machine_handler
.globl bond_3ad_state_machine_handler
.p2align 2, 0x0
bond_3ad_state_machine_handler:
.long 0 # 0x0
.size bond_3ad_state_machine_handler, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_open
.addrsig_sym netdev_priv
.addrsig_sym INIT_DELAYED_WORK
.addrsig_sym bond_is_lb
.addrsig_sym bond_alb_initialize
.addrsig_sym queue_delayed_work
.addrsig_sym bond_register_arp
.addrsig_sym bond_register_lacpdu
.addrsig_sym bond_3ad_initiate_agg_selection
.addrsig_sym bond_resend_igmp_join_requests_delayed
.addrsig_sym BOND_MODE_ALB
.addrsig_sym bond_alb_monitor
.addrsig_sym bond_mii_monitor
.addrsig_sym BOND_MODE_ACTIVEBACKUP
.addrsig_sym bond_activebackup_arp_mon
.addrsig_sym bond_loadbalance_arp_mon
.addrsig_sym BOND_MODE_8023AD
.addrsig_sym bond_3ad_state_machine_handler
| .text
.file "extr_bond_main.c_bond_open.c"
.p2align 4, 0x90 # -- Begin function bond_open
.type bond_open,@function
bond_open: # @bond_open
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
callq netdev_priv@PLT
movq %rax, %rbx
movq $0, 56(%rax)
leaq 52(%rax), %rdi
movl bond_resend_igmp_join_requests_delayed(%rip), %esi
callq INIT_DELAYED_WORK@PLT
movq %rbx, %rdi
callq bond_is_lb@PLT
testq %rax, %rax
je .LBB0_3
# %bb.1:
movq 8(%rbx), %rax
xorl %esi, %esi
cmpq BOND_MODE_ALB(%rip), %rax
sete %sil
movq %rbx, %rdi
callq bond_alb_initialize@PLT
movl $-1, %ebp
testq %rax, %rax
jne .LBB0_10
# %bb.2:
leaq 48(%rbx), %r14
movl bond_alb_monitor(%rip), %esi
movq %r14, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
.LBB0_3:
cmpq $0, 32(%rbx)
je .LBB0_5
# %bb.4:
leaq 44(%rbx), %r14
movl bond_mii_monitor(%rip), %esi
movq %r14, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
.LBB0_5:
cmpq $0, 24(%rbx)
je .LBB0_8
# %bb.6:
movq 8(%rbx), %rax
movq %rbx, %r14
addq $40, %r14
cmpq BOND_MODE_ACTIVEBACKUP(%rip), %rax
leaq bond_activebackup_arp_mon(%rip), %rax
leaq bond_loadbalance_arp_mon(%rip), %rcx
cmoveq %rax, %rcx
movl (%rcx), %esi
movq %r14, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
cmpq $0, 16(%rbx)
je .LBB0_8
# %bb.7:
movq %rbx, %rdi
callq bond_register_arp@PLT
.LBB0_8:
movq 8(%rbx), %rax
xorl %ebp, %ebp
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_10
# %bb.9:
movl bond_3ad_state_machine_handler(%rip), %esi
movq %rbx, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
xorl %ebp, %ebp
movq %rbx, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
movq %rbx, %rdi
callq bond_register_lacpdu@PLT
movq %rbx, %rdi
movl $1, %esi
callq bond_3ad_initiate_agg_selection@PLT
.LBB0_10:
movl %ebp, %eax
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_open, .Lfunc_end0-bond_open
.cfi_endproc
# -- End function
.type bond_resend_igmp_join_requests_delayed,@object # @bond_resend_igmp_join_requests_delayed
.bss
.globl bond_resend_igmp_join_requests_delayed
.p2align 2, 0x0
bond_resend_igmp_join_requests_delayed:
.long 0 # 0x0
.size bond_resend_igmp_join_requests_delayed, 4
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.type bond_alb_monitor,@object # @bond_alb_monitor
.globl bond_alb_monitor
.p2align 2, 0x0
bond_alb_monitor:
.long 0 # 0x0
.size bond_alb_monitor, 4
.type bond_mii_monitor,@object # @bond_mii_monitor
.globl bond_mii_monitor
.p2align 2, 0x0
bond_mii_monitor:
.long 0 # 0x0
.size bond_mii_monitor, 4
.type BOND_MODE_ACTIVEBACKUP,@object # @BOND_MODE_ACTIVEBACKUP
.globl BOND_MODE_ACTIVEBACKUP
.p2align 3, 0x0
BOND_MODE_ACTIVEBACKUP:
.quad 0 # 0x0
.size BOND_MODE_ACTIVEBACKUP, 8
.type bond_activebackup_arp_mon,@object # @bond_activebackup_arp_mon
.globl bond_activebackup_arp_mon
.p2align 2, 0x0
bond_activebackup_arp_mon:
.long 0 # 0x0
.size bond_activebackup_arp_mon, 4
.type bond_loadbalance_arp_mon,@object # @bond_loadbalance_arp_mon
.globl bond_loadbalance_arp_mon
.p2align 2, 0x0
bond_loadbalance_arp_mon:
.long 0 # 0x0
.size bond_loadbalance_arp_mon, 4
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type bond_3ad_state_machine_handler,@object # @bond_3ad_state_machine_handler
.globl bond_3ad_state_machine_handler
.p2align 2, 0x0
bond_3ad_state_machine_handler:
.long 0 # 0x0
.size bond_3ad_state_machine_handler, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_open
| .text
.file "extr_bond_main.c_bond_open.c"
.p2align 4, 0x90 # -- Begin function bond_open
.type bond_open,@function
bond_open: # @bond_open
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
callq netdev_priv@PLT
movq %rax, %rbx
movq $0, 56(%rax)
leaq 52(%rax), %rdi
movl bond_resend_igmp_join_requests_delayed(%rip), %esi
callq INIT_DELAYED_WORK@PLT
movq %rbx, %rdi
callq bond_is_lb@PLT
testq %rax, %rax
je .LBB0_3
# %bb.1:
movq 8(%rbx), %rax
xorl %esi, %esi
cmpq BOND_MODE_ALB(%rip), %rax
sete %sil
movq %rbx, %rdi
callq bond_alb_initialize@PLT
movl $-1, %ebp
testq %rax, %rax
jne .LBB0_10
# %bb.2:
leaq 48(%rbx), %r14
movl bond_alb_monitor(%rip), %esi
movq %r14, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
.LBB0_3:
cmpq $0, 32(%rbx)
je .LBB0_5
# %bb.4:
leaq 44(%rbx), %r14
movl bond_mii_monitor(%rip), %esi
movq %r14, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
.LBB0_5:
cmpq $0, 24(%rbx)
je .LBB0_8
# %bb.6:
movq 8(%rbx), %rax
movq %rbx, %r14
addq $40, %r14
cmpq BOND_MODE_ACTIVEBACKUP(%rip), %rax
leaq bond_activebackup_arp_mon(%rip), %rax
leaq bond_loadbalance_arp_mon(%rip), %rcx
cmoveq %rax, %rcx
movl (%rcx), %esi
movq %r14, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
cmpq $0, 16(%rbx)
je .LBB0_8
# %bb.7:
movq %rbx, %rdi
callq bond_register_arp@PLT
.LBB0_8:
movq 8(%rbx), %rax
xorl %ebp, %ebp
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_10
# %bb.9:
movl bond_3ad_state_machine_handler(%rip), %esi
movq %rbx, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
xorl %ebp, %ebp
movq %rbx, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
movq %rbx, %rdi
callq bond_register_lacpdu@PLT
movq %rbx, %rdi
movl $1, %esi
callq bond_3ad_initiate_agg_selection@PLT
.LBB0_10:
movl %ebp, %eax
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_open, .Lfunc_end0-bond_open
.cfi_endproc
# -- End function
.type bond_resend_igmp_join_requests_delayed,@object # @bond_resend_igmp_join_requests_delayed
.bss
.globl bond_resend_igmp_join_requests_delayed
.p2align 2, 0x0
bond_resend_igmp_join_requests_delayed:
.long 0 # 0x0
.size bond_resend_igmp_join_requests_delayed, 4
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.type bond_alb_monitor,@object # @bond_alb_monitor
.globl bond_alb_monitor
.p2align 2, 0x0
bond_alb_monitor:
.long 0 # 0x0
.size bond_alb_monitor, 4
.type bond_mii_monitor,@object # @bond_mii_monitor
.globl bond_mii_monitor
.p2align 2, 0x0
bond_mii_monitor:
.long 0 # 0x0
.size bond_mii_monitor, 4
.type BOND_MODE_ACTIVEBACKUP,@object # @BOND_MODE_ACTIVEBACKUP
.globl BOND_MODE_ACTIVEBACKUP
.p2align 3, 0x0
BOND_MODE_ACTIVEBACKUP:
.quad 0 # 0x0
.size BOND_MODE_ACTIVEBACKUP, 8
.type bond_activebackup_arp_mon,@object # @bond_activebackup_arp_mon
.globl bond_activebackup_arp_mon
.p2align 2, 0x0
bond_activebackup_arp_mon:
.long 0 # 0x0
.size bond_activebackup_arp_mon, 4
.type bond_loadbalance_arp_mon,@object # @bond_loadbalance_arp_mon
.globl bond_loadbalance_arp_mon
.p2align 2, 0x0
bond_loadbalance_arp_mon:
.long 0 # 0x0
.size bond_loadbalance_arp_mon, 4
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type bond_3ad_state_machine_handler,@object # @bond_3ad_state_machine_handler
.globl bond_3ad_state_machine_handler
.p2align 2, 0x0
bond_3ad_state_machine_handler:
.long 0 # 0x0
.size bond_3ad_state_machine_handler, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_open
| .text
.file "extr_bond_main.c_bond_open.c"
.p2align 4, 0x90 # -- Begin function bond_open
.type bond_open,@function
bond_open: # @bond_open
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
callq netdev_priv@PLT
movq %rax, %rbx
movq $0, 56(%rax)
leaq 52(%rax), %rdi
movl bond_resend_igmp_join_requests_delayed(%rip), %esi
callq INIT_DELAYED_WORK@PLT
movq %rbx, %rdi
callq bond_is_lb@PLT
testq %rax, %rax
je .LBB0_3
# %bb.1:
movq 8(%rbx), %rax
xorl %esi, %esi
cmpq BOND_MODE_ALB(%rip), %rax
sete %sil
movq %rbx, %rdi
callq bond_alb_initialize@PLT
movl $-1, %ebp
testq %rax, %rax
jne .LBB0_10
# %bb.2:
leaq 48(%rbx), %r14
movl bond_alb_monitor(%rip), %esi
movq %r14, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
.LBB0_3:
cmpq $0, 32(%rbx)
je .LBB0_5
# %bb.4:
leaq 44(%rbx), %r14
movl bond_mii_monitor(%rip), %esi
movq %r14, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
.LBB0_5:
cmpq $0, 24(%rbx)
je .LBB0_8
# %bb.6:
movq 8(%rbx), %rax
movq %rbx, %r14
addq $40, %r14
cmpq BOND_MODE_ACTIVEBACKUP(%rip), %rax
leaq bond_activebackup_arp_mon(%rip), %rax
leaq bond_loadbalance_arp_mon(%rip), %rcx
cmoveq %rax, %rcx
movl (%rcx), %esi
movq %r14, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
cmpq $0, 16(%rbx)
je .LBB0_8
# %bb.7:
movq %rbx, %rdi
callq bond_register_arp@PLT
.LBB0_8:
movq 8(%rbx), %rax
xorl %ebp, %ebp
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_10
# %bb.9:
movl bond_3ad_state_machine_handler(%rip), %esi
movq %rbx, %rdi
callq INIT_DELAYED_WORK@PLT
movl 4(%rbx), %edi
xorl %ebp, %ebp
movq %rbx, %rsi
xorl %edx, %edx
callq queue_delayed_work@PLT
movq %rbx, %rdi
callq bond_register_lacpdu@PLT
movq %rbx, %rdi
movl $1, %esi
callq bond_3ad_initiate_agg_selection@PLT
.LBB0_10:
movl %ebp, %eax
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_open, .Lfunc_end0-bond_open
.cfi_endproc
# -- End function
.type bond_resend_igmp_join_requests_delayed,@object # @bond_resend_igmp_join_requests_delayed
.bss
.globl bond_resend_igmp_join_requests_delayed
.p2align 2, 0x0
bond_resend_igmp_join_requests_delayed:
.long 0 # 0x0
.size bond_resend_igmp_join_requests_delayed, 4
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.type bond_alb_monitor,@object # @bond_alb_monitor
.globl bond_alb_monitor
.p2align 2, 0x0
bond_alb_monitor:
.long 0 # 0x0
.size bond_alb_monitor, 4
.type bond_mii_monitor,@object # @bond_mii_monitor
.globl bond_mii_monitor
.p2align 2, 0x0
bond_mii_monitor:
.long 0 # 0x0
.size bond_mii_monitor, 4
.type BOND_MODE_ACTIVEBACKUP,@object # @BOND_MODE_ACTIVEBACKUP
.globl BOND_MODE_ACTIVEBACKUP
.p2align 3, 0x0
BOND_MODE_ACTIVEBACKUP:
.quad 0 # 0x0
.size BOND_MODE_ACTIVEBACKUP, 8
.type bond_activebackup_arp_mon,@object # @bond_activebackup_arp_mon
.globl bond_activebackup_arp_mon
.p2align 2, 0x0
bond_activebackup_arp_mon:
.long 0 # 0x0
.size bond_activebackup_arp_mon, 4
.type bond_loadbalance_arp_mon,@object # @bond_loadbalance_arp_mon
.globl bond_loadbalance_arp_mon
.p2align 2, 0x0
bond_loadbalance_arp_mon:
.long 0 # 0x0
.size bond_loadbalance_arp_mon, 4
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type bond_3ad_state_machine_handler,@object # @bond_3ad_state_machine_handler
.globl bond_3ad_state_machine_handler
.p2align 2, 0x0
bond_3ad_state_machine_handler:
.long 0 # 0x0
.size bond_3ad_state_machine_handler, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_open
|
extr_bonding.h_bond_unregister_ipv6_notifier.c | .text
.file "extr_bonding.h_bond_unregister_ipv6_notifier.c"
.p2align 2 // -- Begin function bond_unregister_ipv6_notifier
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: // @bond_unregister_ipv6_notifier
.cfi_startproc
// %bb.0:
ret
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_unregister_ipv6_notifier
| .text
.file "extr_bonding.h_bond_unregister_ipv6_notifier.c"
.p2align 2 // -- Begin function bond_unregister_ipv6_notifier
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: // @bond_unregister_ipv6_notifier
.cfi_startproc
// %bb.0:
ret
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_unregister_ipv6_notifier
| .text
.file "extr_bonding.h_bond_unregister_ipv6_notifier.c"
.p2align 2 // -- Begin function bond_unregister_ipv6_notifier
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: // @bond_unregister_ipv6_notifier
.cfi_startproc
// %bb.0:
ret
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_unregister_ipv6_notifier
| .text
.file "extr_bonding.h_bond_unregister_ipv6_notifier.c"
.p2align 2 // -- Begin function bond_unregister_ipv6_notifier
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: // @bond_unregister_ipv6_notifier
.cfi_startproc
// %bb.0:
ret
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_unregister_ipv6_notifier
| .text
.file "extr_bonding.h_bond_unregister_ipv6_notifier.c"
.p2align 4, 0x90 # -- Begin function bond_unregister_ipv6_notifier
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: # @bond_unregister_ipv6_notifier
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_unregister_ipv6_notifier
| .text
.file "extr_bonding.h_bond_unregister_ipv6_notifier.c"
.p2align 4, 0x90 # -- Begin function bond_unregister_ipv6_notifier
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: # @bond_unregister_ipv6_notifier
.cfi_startproc
# %bb.0:
retq
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_unregister_ipv6_notifier
| .text
.file "extr_bonding.h_bond_unregister_ipv6_notifier.c"
.p2align 4, 0x90 # -- Begin function bond_unregister_ipv6_notifier
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: # @bond_unregister_ipv6_notifier
.cfi_startproc
# %bb.0:
retq
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_unregister_ipv6_notifier
| .text
.file "extr_bonding.h_bond_unregister_ipv6_notifier.c"
.p2align 4, 0x90 # -- Begin function bond_unregister_ipv6_notifier
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: # @bond_unregister_ipv6_notifier
.cfi_startproc
# %bb.0:
retq
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_unregister_ipv6_notifier
|
extr_bond_main.c_bond_xmit_activebackup.c | .text
.file "extr_bond_main.c_bond_xmit_activebackup.c"
.p2align 2 // -- Begin function bond_xmit_activebackup
.type bond_xmit_activebackup,@function
bond_xmit_activebackup: // @bond_xmit_activebackup
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldr x0, [sp, #16]
bl netdev_priv
str x0, [sp, #8]
mov w8, #1 // =0x1
str w8, [sp, #4]
ldr x0, [sp, #8]
bl read_lock
ldr x8, [sp, #8]
add x0, x8, #4
bl read_lock
ldr x0, [sp, #8]
bl BOND_IS_OK
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
b .LBB0_5
.LBB0_2:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
b .LBB0_5
.LBB0_4:
ldr x0, [sp, #8]
ldur x1, [x29, #-8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr w2, [x8]
bl bond_dev_queue_xmit
str w0, [sp, #4]
b .LBB0_5
.LBB0_5:
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_7
b .LBB0_6
.LBB0_6:
ldur x0, [x29, #-8]
bl dev_kfree_skb
b .LBB0_7
.LBB0_7:
ldr x8, [sp, #8]
add x0, x8, #4
bl read_unlock
ldr x0, [sp, #8]
bl read_unlock
adrp x8, NETDEV_TX_OK
ldr w0, [x8, :lo12:NETDEV_TX_OK]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_activebackup, .Lfunc_end0-bond_xmit_activebackup
.cfi_endproc
// -- End function
.type NETDEV_TX_OK,@object // @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.word 0 // 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_activebackup
.addrsig_sym netdev_priv
.addrsig_sym read_lock
.addrsig_sym BOND_IS_OK
.addrsig_sym bond_dev_queue_xmit
.addrsig_sym dev_kfree_skb
.addrsig_sym read_unlock
.addrsig_sym NETDEV_TX_OK
| .text
.file "extr_bond_main.c_bond_xmit_activebackup.c"
.p2align 2 // -- Begin function bond_xmit_activebackup
.type bond_xmit_activebackup,@function
bond_xmit_activebackup: // @bond_xmit_activebackup
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x20, x0
mov x0, x1
bl netdev_priv
mov x19, x0
bl read_lock
add x21, x19, #4
mov x0, x21
bl read_lock
mov x0, x19
bl BOND_IS_OK
cbz w0, .LBB0_3
// %bb.1:
ldr x8, [x19, #8]
cbz x8, .LBB0_3
// %bb.2:
ldr w2, [x8]
mov x0, x19
mov x1, x20
bl bond_dev_queue_xmit
cbz w0, .LBB0_4
.LBB0_3:
mov x0, x20
bl dev_kfree_skb
.LBB0_4:
mov x0, x21
bl read_unlock
mov x0, x19
bl read_unlock
adrp x8, NETDEV_TX_OK
ldr w0, [x8, :lo12:NETDEV_TX_OK]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_activebackup, .Lfunc_end0-bond_xmit_activebackup
.cfi_endproc
// -- End function
.type NETDEV_TX_OK,@object // @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.word 0 // 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_activebackup
| .text
.file "extr_bond_main.c_bond_xmit_activebackup.c"
.p2align 2 // -- Begin function bond_xmit_activebackup
.type bond_xmit_activebackup,@function
bond_xmit_activebackup: // @bond_xmit_activebackup
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x20, x0
mov x0, x1
bl netdev_priv
mov x19, x0
bl read_lock
add x21, x19, #4
mov x0, x21
bl read_lock
mov x0, x19
bl BOND_IS_OK
cbz w0, .LBB0_3
// %bb.1:
ldr x8, [x19, #8]
cbz x8, .LBB0_3
// %bb.2:
ldr w2, [x8]
mov x0, x19
mov x1, x20
bl bond_dev_queue_xmit
cbz w0, .LBB0_4
.LBB0_3:
mov x0, x20
bl dev_kfree_skb
.LBB0_4:
mov x0, x21
bl read_unlock
mov x0, x19
bl read_unlock
adrp x8, NETDEV_TX_OK
ldr w0, [x8, :lo12:NETDEV_TX_OK]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_activebackup, .Lfunc_end0-bond_xmit_activebackup
.cfi_endproc
// -- End function
.type NETDEV_TX_OK,@object // @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.word 0 // 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_activebackup
| .text
.file "extr_bond_main.c_bond_xmit_activebackup.c"
.p2align 2 // -- Begin function bond_xmit_activebackup
.type bond_xmit_activebackup,@function
bond_xmit_activebackup: // @bond_xmit_activebackup
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x20, x0
mov x0, x1
bl netdev_priv
mov x19, x0
bl read_lock
add x21, x19, #4
mov x0, x21
bl read_lock
mov x0, x19
bl BOND_IS_OK
cbz w0, .LBB0_3
// %bb.1:
ldr x8, [x19, #8]
cbz x8, .LBB0_3
// %bb.2:
ldr w2, [x8]
mov x0, x19
mov x1, x20
bl bond_dev_queue_xmit
cbz w0, .LBB0_4
.LBB0_3:
mov x0, x20
bl dev_kfree_skb
.LBB0_4:
mov x0, x21
bl read_unlock
mov x0, x19
bl read_unlock
adrp x8, NETDEV_TX_OK
ldr w0, [x8, :lo12:NETDEV_TX_OK]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_activebackup, .Lfunc_end0-bond_xmit_activebackup
.cfi_endproc
// -- End function
.type NETDEV_TX_OK,@object // @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.word 0 // 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_activebackup
| .text
.file "extr_bond_main.c_bond_xmit_activebackup.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_activebackup
.type bond_xmit_activebackup,@function
bond_xmit_activebackup: # @bond_xmit_activebackup
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rdi
callq netdev_priv@PLT
movq %rax, -24(%rbp)
movl $1, -28(%rbp)
movq -24(%rbp), %rdi
callq read_lock@PLT
movq -24(%rbp), %rdi
addq $4, %rdi
callq read_lock@PLT
movq -24(%rbp), %rdi
callq BOND_IS_OK@PLT
cmpl $0, %eax
jne .LBB0_2
# %bb.1:
jmp .LBB0_5
.LBB0_2:
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
jne .LBB0_4
# %bb.3:
jmp .LBB0_5
.LBB0_4:
movq -24(%rbp), %rdi
movq -8(%rbp), %rsi
movq -24(%rbp), %rax
movq 8(%rax), %rax
movl (%rax), %edx
callq bond_dev_queue_xmit@PLT
movl %eax, -28(%rbp)
.LBB0_5:
cmpl $0, -28(%rbp)
je .LBB0_7
# %bb.6:
movq -8(%rbp), %rdi
callq dev_kfree_skb@PLT
.LBB0_7:
movq -24(%rbp), %rdi
addq $4, %rdi
callq read_unlock@PLT
movq -24(%rbp), %rdi
callq read_unlock@PLT
movl NETDEV_TX_OK(%rip), %eax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_xmit_activebackup, .Lfunc_end0-bond_xmit_activebackup
.cfi_endproc
# -- End function
.type NETDEV_TX_OK,@object # @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.long 0 # 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_activebackup
.addrsig_sym netdev_priv
.addrsig_sym read_lock
.addrsig_sym BOND_IS_OK
.addrsig_sym bond_dev_queue_xmit
.addrsig_sym dev_kfree_skb
.addrsig_sym read_unlock
.addrsig_sym NETDEV_TX_OK
| .text
.file "extr_bond_main.c_bond_xmit_activebackup.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_activebackup
.type bond_xmit_activebackup,@function
bond_xmit_activebackup: # @bond_xmit_activebackup
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %r14
movq %rsi, %rdi
callq netdev_priv@PLT
movq %rax, %rbx
movq %rax, %rdi
callq read_lock@PLT
leaq 4(%rbx), %r15
movq %r15, %rdi
callq read_lock@PLT
movq %rbx, %rdi
callq BOND_IS_OK@PLT
testl %eax, %eax
je .LBB0_3
# %bb.1:
movq 8(%rbx), %rax
testq %rax, %rax
je .LBB0_3
# %bb.2:
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq bond_dev_queue_xmit@PLT
testl %eax, %eax
je .LBB0_4
.LBB0_3:
movq %r14, %rdi
callq dev_kfree_skb@PLT
.LBB0_4:
movq %r15, %rdi
callq read_unlock@PLT
movq %rbx, %rdi
callq read_unlock@PLT
movl NETDEV_TX_OK(%rip), %eax
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_xmit_activebackup, .Lfunc_end0-bond_xmit_activebackup
.cfi_endproc
# -- End function
.type NETDEV_TX_OK,@object # @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.long 0 # 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_activebackup
| .text
.file "extr_bond_main.c_bond_xmit_activebackup.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_activebackup
.type bond_xmit_activebackup,@function
bond_xmit_activebackup: # @bond_xmit_activebackup
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %r14
movq %rsi, %rdi
callq netdev_priv@PLT
movq %rax, %rbx
movq %rax, %rdi
callq read_lock@PLT
leaq 4(%rbx), %r15
movq %r15, %rdi
callq read_lock@PLT
movq %rbx, %rdi
callq BOND_IS_OK@PLT
testl %eax, %eax
je .LBB0_3
# %bb.1:
movq 8(%rbx), %rax
testq %rax, %rax
je .LBB0_3
# %bb.2:
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq bond_dev_queue_xmit@PLT
testl %eax, %eax
je .LBB0_4
.LBB0_3:
movq %r14, %rdi
callq dev_kfree_skb@PLT
.LBB0_4:
movq %r15, %rdi
callq read_unlock@PLT
movq %rbx, %rdi
callq read_unlock@PLT
movl NETDEV_TX_OK(%rip), %eax
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_xmit_activebackup, .Lfunc_end0-bond_xmit_activebackup
.cfi_endproc
# -- End function
.type NETDEV_TX_OK,@object # @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.long 0 # 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_activebackup
| .text
.file "extr_bond_main.c_bond_xmit_activebackup.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_activebackup
.type bond_xmit_activebackup,@function
bond_xmit_activebackup: # @bond_xmit_activebackup
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdi, %r14
movq %rsi, %rdi
callq netdev_priv@PLT
movq %rax, %rbx
movq %rax, %rdi
callq read_lock@PLT
leaq 4(%rbx), %r15
movq %r15, %rdi
callq read_lock@PLT
movq %rbx, %rdi
callq BOND_IS_OK@PLT
testl %eax, %eax
je .LBB0_3
# %bb.1:
movq 8(%rbx), %rax
testq %rax, %rax
je .LBB0_3
# %bb.2:
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq bond_dev_queue_xmit@PLT
testl %eax, %eax
je .LBB0_4
.LBB0_3:
movq %r14, %rdi
callq dev_kfree_skb@PLT
.LBB0_4:
movq %r15, %rdi
callq read_unlock@PLT
movq %rbx, %rdi
callq read_unlock@PLT
movl NETDEV_TX_OK(%rip), %eax
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_xmit_activebackup, .Lfunc_end0-bond_xmit_activebackup
.cfi_endproc
# -- End function
.type NETDEV_TX_OK,@object # @NETDEV_TX_OK
.bss
.globl NETDEV_TX_OK
.p2align 2, 0x0
NETDEV_TX_OK:
.long 0 # 0x0
.size NETDEV_TX_OK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_activebackup
|
extr_bonding.h_bond_set_slave_inactive_flags.c | .text
.file "extr_bonding.h_bond_set_slave_inactive_flags.c"
.p2align 2 // -- Begin function bond_set_slave_inactive_flags
.type bond_set_slave_inactive_flags,@function
bond_set_slave_inactive_flags: // @bond_set_slave_inactive_flags
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr w0, [x8, #4]
bl netdev_priv
str x0, [sp]
ldr x0, [sp]
bl bond_is_lb
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x8, BOND_STATE_BACKUP
ldr w8, [x8, :lo12:BOND_STATE_BACKUP]
ldr x9, [sp, #8]
str w8, [x9, #8]
b .LBB0_2
.LBB0_2:
ldr x8, [sp]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
adrp x8, IFF_SLAVE_INACTIVE
ldr w10, [x8, :lo12:IFF_SLAVE_INACTIVE]
ldr x8, [sp, #8]
ldr x9, [x8]
ldr w8, [x9]
orr w8, w8, w10
str w8, [x9]
b .LBB0_4
.LBB0_4:
ldr x0, [sp]
ldr x1, [sp, #8]
bl slave_do_arp_validate
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
adrp x8, IFF_SLAVE_NEEDARP
ldr w10, [x8, :lo12:IFF_SLAVE_NEEDARP]
ldr x8, [sp, #8]
ldr x9, [x8]
ldr w8, [x9]
orr w8, w8, w10
str w8, [x9]
b .LBB0_6
.LBB0_6:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_set_slave_inactive_flags, .Lfunc_end0-bond_set_slave_inactive_flags
.cfi_endproc
// -- End function
.type BOND_STATE_BACKUP,@object // @BOND_STATE_BACKUP
.bss
.globl BOND_STATE_BACKUP
.p2align 2, 0x0
BOND_STATE_BACKUP:
.word 0 // 0x0
.size BOND_STATE_BACKUP, 4
.type IFF_SLAVE_INACTIVE,@object // @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.word 0 // 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object // @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.word 0 // 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_inactive_flags
.addrsig_sym netdev_priv
.addrsig_sym bond_is_lb
.addrsig_sym slave_do_arp_validate
.addrsig_sym BOND_STATE_BACKUP
.addrsig_sym IFF_SLAVE_INACTIVE
.addrsig_sym IFF_SLAVE_NEEDARP
| .text
.file "extr_bonding.h_bond_set_slave_inactive_flags.c"
.p2align 2 // -- Begin function bond_set_slave_inactive_flags
.type bond_set_slave_inactive_flags,@function
bond_set_slave_inactive_flags: // @bond_set_slave_inactive_flags
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
ldr x8, [x0]
mov x19, x0
ldr w0, [x8, #4]
bl netdev_priv
mov x20, x0
bl bond_is_lb
cbz w0, .LBB0_5
// %bb.1:
ldr w8, [x20]
cbz w8, .LBB0_6
.LBB0_2:
mov x0, x20
mov x1, x19
bl slave_do_arp_validate
cbz x0, .LBB0_4
// %bb.3:
adrp x8, IFF_SLAVE_NEEDARP
ldr x9, [x19]
ldr w8, [x8, :lo12:IFF_SLAVE_NEEDARP]
ldr w10, [x9]
orr w8, w10, w8
str w8, [x9]
.LBB0_4:
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
adrp x8, BOND_STATE_BACKUP
ldr w8, [x8, :lo12:BOND_STATE_BACKUP]
str w8, [x19, #8]
ldr w8, [x20]
cbnz w8, .LBB0_2
.LBB0_6:
adrp x8, IFF_SLAVE_INACTIVE
ldr x9, [x19]
ldr w8, [x8, :lo12:IFF_SLAVE_INACTIVE]
ldr w10, [x9]
orr w8, w10, w8
str w8, [x9]
b .LBB0_2
.Lfunc_end0:
.size bond_set_slave_inactive_flags, .Lfunc_end0-bond_set_slave_inactive_flags
.cfi_endproc
// -- End function
.type BOND_STATE_BACKUP,@object // @BOND_STATE_BACKUP
.bss
.globl BOND_STATE_BACKUP
.p2align 2, 0x0
BOND_STATE_BACKUP:
.word 0 // 0x0
.size BOND_STATE_BACKUP, 4
.type IFF_SLAVE_INACTIVE,@object // @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.word 0 // 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object // @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.word 0 // 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_inactive_flags
| .text
.file "extr_bonding.h_bond_set_slave_inactive_flags.c"
.p2align 2 // -- Begin function bond_set_slave_inactive_flags
.type bond_set_slave_inactive_flags,@function
bond_set_slave_inactive_flags: // @bond_set_slave_inactive_flags
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
ldr x8, [x0]
mov x19, x0
ldr w0, [x8, #4]
bl netdev_priv
mov x20, x0
bl bond_is_lb
cbz w0, .LBB0_5
// %bb.1:
ldr w8, [x20]
cbz w8, .LBB0_6
.LBB0_2:
mov x0, x20
mov x1, x19
bl slave_do_arp_validate
cbz x0, .LBB0_4
// %bb.3:
adrp x8, IFF_SLAVE_NEEDARP
ldr x9, [x19]
ldr w8, [x8, :lo12:IFF_SLAVE_NEEDARP]
ldr w10, [x9]
orr w8, w10, w8
str w8, [x9]
.LBB0_4:
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
adrp x8, BOND_STATE_BACKUP
ldr w8, [x8, :lo12:BOND_STATE_BACKUP]
str w8, [x19, #8]
ldr w8, [x20]
cbnz w8, .LBB0_2
.LBB0_6:
adrp x8, IFF_SLAVE_INACTIVE
ldr x9, [x19]
ldr w8, [x8, :lo12:IFF_SLAVE_INACTIVE]
ldr w10, [x9]
orr w8, w10, w8
str w8, [x9]
b .LBB0_2
.Lfunc_end0:
.size bond_set_slave_inactive_flags, .Lfunc_end0-bond_set_slave_inactive_flags
.cfi_endproc
// -- End function
.type BOND_STATE_BACKUP,@object // @BOND_STATE_BACKUP
.bss
.globl BOND_STATE_BACKUP
.p2align 2, 0x0
BOND_STATE_BACKUP:
.word 0 // 0x0
.size BOND_STATE_BACKUP, 4
.type IFF_SLAVE_INACTIVE,@object // @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.word 0 // 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object // @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.word 0 // 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_inactive_flags
| .text
.file "extr_bonding.h_bond_set_slave_inactive_flags.c"
.p2align 2 // -- Begin function bond_set_slave_inactive_flags
.type bond_set_slave_inactive_flags,@function
bond_set_slave_inactive_flags: // @bond_set_slave_inactive_flags
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
ldr x8, [x0]
mov x19, x0
ldr w0, [x8, #4]
bl netdev_priv
mov x20, x0
bl bond_is_lb
cbz w0, .LBB0_5
// %bb.1:
ldr w8, [x20]
cbz w8, .LBB0_6
.LBB0_2:
mov x0, x20
mov x1, x19
bl slave_do_arp_validate
cbz x0, .LBB0_4
.LBB0_3:
adrp x8, IFF_SLAVE_NEEDARP
ldr x9, [x19]
ldr w8, [x8, :lo12:IFF_SLAVE_NEEDARP]
ldr w10, [x9]
orr w8, w10, w8
str w8, [x9]
.LBB0_4:
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
adrp x8, BOND_STATE_BACKUP
ldr w8, [x8, :lo12:BOND_STATE_BACKUP]
str w8, [x19, #8]
ldr w8, [x20]
cbnz w8, .LBB0_2
.LBB0_6:
adrp x8, IFF_SLAVE_INACTIVE
ldr x9, [x19]
ldr w8, [x8, :lo12:IFF_SLAVE_INACTIVE]
ldr w10, [x9]
orr w8, w10, w8
str w8, [x9]
mov x0, x20
mov x1, x19
bl slave_do_arp_validate
cbnz x0, .LBB0_3
b .LBB0_4
.Lfunc_end0:
.size bond_set_slave_inactive_flags, .Lfunc_end0-bond_set_slave_inactive_flags
.cfi_endproc
// -- End function
.type BOND_STATE_BACKUP,@object // @BOND_STATE_BACKUP
.bss
.globl BOND_STATE_BACKUP
.p2align 2, 0x0
BOND_STATE_BACKUP:
.word 0 // 0x0
.size BOND_STATE_BACKUP, 4
.type IFF_SLAVE_INACTIVE,@object // @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.word 0 // 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object // @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.word 0 // 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_inactive_flags
| .text
.file "extr_bonding.h_bond_set_slave_inactive_flags.c"
.p2align 4, 0x90 # -- Begin function bond_set_slave_inactive_flags
.type bond_set_slave_inactive_flags,@function
bond_set_slave_inactive_flags: # @bond_set_slave_inactive_flags
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movl 4(%rax), %edi
callq netdev_priv@PLT
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
callq bond_is_lb@PLT
cmpl $0, %eax
jne .LBB0_2
# %bb.1:
movl BOND_STATE_BACKUP(%rip), %ecx
movq -8(%rbp), %rax
movl %ecx, 8(%rax)
.LBB0_2:
movq -16(%rbp), %rax
cmpl $0, (%rax)
jne .LBB0_4
# %bb.3:
movl IFF_SLAVE_INACTIVE(%rip), %ecx
movq -8(%rbp), %rax
movq (%rax), %rax
orl (%rax), %ecx
movl %ecx, (%rax)
.LBB0_4:
movq -16(%rbp), %rdi
movq -8(%rbp), %rsi
callq slave_do_arp_validate@PLT
cmpq $0, %rax
je .LBB0_6
# %bb.5:
movl IFF_SLAVE_NEEDARP(%rip), %ecx
movq -8(%rbp), %rax
movq (%rax), %rax
orl (%rax), %ecx
movl %ecx, (%rax)
.LBB0_6:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_set_slave_inactive_flags, .Lfunc_end0-bond_set_slave_inactive_flags
.cfi_endproc
# -- End function
.type BOND_STATE_BACKUP,@object # @BOND_STATE_BACKUP
.bss
.globl BOND_STATE_BACKUP
.p2align 2, 0x0
BOND_STATE_BACKUP:
.long 0 # 0x0
.size BOND_STATE_BACKUP, 4
.type IFF_SLAVE_INACTIVE,@object # @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.long 0 # 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object # @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.long 0 # 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_inactive_flags
.addrsig_sym netdev_priv
.addrsig_sym bond_is_lb
.addrsig_sym slave_do_arp_validate
.addrsig_sym BOND_STATE_BACKUP
.addrsig_sym IFF_SLAVE_INACTIVE
.addrsig_sym IFF_SLAVE_NEEDARP
| .text
.file "extr_bonding.h_bond_set_slave_inactive_flags.c"
.p2align 4, 0x90 # -- Begin function bond_set_slave_inactive_flags
.type bond_set_slave_inactive_flags,@function
bond_set_slave_inactive_flags: # @bond_set_slave_inactive_flags
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
movq (%rdi), %rax
movl 4(%rax), %edi
callq netdev_priv@PLT
movq %rax, %r14
movq %rax, %rdi
callq bond_is_lb@PLT
testl %eax, %eax
je .LBB0_1
# %bb.2:
cmpl $0, (%r14)
je .LBB0_3
.LBB0_4:
movq %r14, %rdi
movq %rbx, %rsi
callq slave_do_arp_validate@PLT
testq %rax, %rax
je .LBB0_6
# %bb.5:
movl IFF_SLAVE_NEEDARP(%rip), %eax
movq (%rbx), %rcx
orl %eax, (%rcx)
.LBB0_6:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.LBB0_1:
.cfi_def_cfa_offset 32
movl BOND_STATE_BACKUP(%rip), %eax
movl %eax, 8(%rbx)
cmpl $0, (%r14)
jne .LBB0_4
.LBB0_3:
movl IFF_SLAVE_INACTIVE(%rip), %eax
movq (%rbx), %rcx
orl %eax, (%rcx)
jmp .LBB0_4
.Lfunc_end0:
.size bond_set_slave_inactive_flags, .Lfunc_end0-bond_set_slave_inactive_flags
.cfi_endproc
# -- End function
.type BOND_STATE_BACKUP,@object # @BOND_STATE_BACKUP
.bss
.globl BOND_STATE_BACKUP
.p2align 2, 0x0
BOND_STATE_BACKUP:
.long 0 # 0x0
.size BOND_STATE_BACKUP, 4
.type IFF_SLAVE_INACTIVE,@object # @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.long 0 # 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object # @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.long 0 # 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_inactive_flags
| .text
.file "extr_bonding.h_bond_set_slave_inactive_flags.c"
.p2align 4, 0x90 # -- Begin function bond_set_slave_inactive_flags
.type bond_set_slave_inactive_flags,@function
bond_set_slave_inactive_flags: # @bond_set_slave_inactive_flags
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
movq (%rdi), %rax
movl 4(%rax), %edi
callq netdev_priv@PLT
movq %rax, %r14
movq %rax, %rdi
callq bond_is_lb@PLT
testl %eax, %eax
je .LBB0_1
# %bb.2:
cmpl $0, (%r14)
je .LBB0_3
.LBB0_4:
movq %r14, %rdi
movq %rbx, %rsi
callq slave_do_arp_validate@PLT
testq %rax, %rax
je .LBB0_6
# %bb.5:
movl IFF_SLAVE_NEEDARP(%rip), %eax
movq (%rbx), %rcx
orl %eax, (%rcx)
.LBB0_6:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.LBB0_1:
.cfi_def_cfa_offset 32
movl BOND_STATE_BACKUP(%rip), %eax
movl %eax, 8(%rbx)
cmpl $0, (%r14)
jne .LBB0_4
.LBB0_3:
movl IFF_SLAVE_INACTIVE(%rip), %eax
movq (%rbx), %rcx
orl %eax, (%rcx)
jmp .LBB0_4
.Lfunc_end0:
.size bond_set_slave_inactive_flags, .Lfunc_end0-bond_set_slave_inactive_flags
.cfi_endproc
# -- End function
.type BOND_STATE_BACKUP,@object # @BOND_STATE_BACKUP
.bss
.globl BOND_STATE_BACKUP
.p2align 2, 0x0
BOND_STATE_BACKUP:
.long 0 # 0x0
.size BOND_STATE_BACKUP, 4
.type IFF_SLAVE_INACTIVE,@object # @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.long 0 # 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object # @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.long 0 # 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_inactive_flags
| .text
.file "extr_bonding.h_bond_set_slave_inactive_flags.c"
.p2align 4, 0x90 # -- Begin function bond_set_slave_inactive_flags
.type bond_set_slave_inactive_flags,@function
bond_set_slave_inactive_flags: # @bond_set_slave_inactive_flags
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
movq (%rdi), %rax
movl 4(%rax), %edi
callq netdev_priv@PLT
movq %rax, %r14
movq %rax, %rdi
callq bond_is_lb@PLT
testl %eax, %eax
je .LBB0_1
# %bb.2:
cmpl $0, (%r14)
je .LBB0_3
.LBB0_4:
movq %r14, %rdi
movq %rbx, %rsi
callq slave_do_arp_validate@PLT
testq %rax, %rax
je .LBB0_6
# %bb.5:
movl IFF_SLAVE_NEEDARP(%rip), %eax
movq (%rbx), %rcx
orl %eax, (%rcx)
.LBB0_6:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.LBB0_1:
.cfi_def_cfa_offset 32
movl BOND_STATE_BACKUP(%rip), %eax
movl %eax, 8(%rbx)
cmpl $0, (%r14)
jne .LBB0_4
.LBB0_3:
movl IFF_SLAVE_INACTIVE(%rip), %eax
movq (%rbx), %rcx
orl %eax, (%rcx)
jmp .LBB0_4
.Lfunc_end0:
.size bond_set_slave_inactive_flags, .Lfunc_end0-bond_set_slave_inactive_flags
.cfi_endproc
# -- End function
.type BOND_STATE_BACKUP,@object # @BOND_STATE_BACKUP
.bss
.globl BOND_STATE_BACKUP
.p2align 2, 0x0
BOND_STATE_BACKUP:
.long 0 # 0x0
.size BOND_STATE_BACKUP, 4
.type IFF_SLAVE_INACTIVE,@object # @IFF_SLAVE_INACTIVE
.globl IFF_SLAVE_INACTIVE
.p2align 2, 0x0
IFF_SLAVE_INACTIVE:
.long 0 # 0x0
.size IFF_SLAVE_INACTIVE, 4
.type IFF_SLAVE_NEEDARP,@object # @IFF_SLAVE_NEEDARP
.globl IFF_SLAVE_NEEDARP
.p2align 2, 0x0
IFF_SLAVE_NEEDARP:
.long 0 # 0x0
.size IFF_SLAVE_NEEDARP, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_slave_inactive_flags
|
extr_bonding.h_bond_is_lb.c | .text
.file "extr_bonding.h_bond_is_lb.c"
.p2align 2 // -- Begin function bond_is_lb
.type bond_is_lb,@function
bond_is_lb: // @bond_is_lb
.cfi_startproc
// %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
adrp x9, BOND_MODE_TLB
ldr x9, [x9, :lo12:BOND_MODE_TLB]
subs x8, x8, x9
cset w8, eq
mov w9, #1 // =0x1
str w9, [sp, #4] // 4-byte Folded Spill
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #8]
ldr x8, [x8]
adrp x9, BOND_MODE_ALB
ldr x9, [x9, :lo12:BOND_MODE_ALB]
subs x8, x8, x9
cset w8, eq
str w8, [sp, #4] // 4-byte Folded Spill
b .LBB0_2
.LBB0_2:
ldr w8, [sp, #4] // 4-byte Folded Reload
and w0, w8, #0x1
add sp, sp, #16
.cfi_def_cfa_offset 0
ret
.Lfunc_end0:
.size bond_is_lb, .Lfunc_end0-bond_is_lb
.cfi_endproc
// -- End function
.type BOND_MODE_TLB,@object // @BOND_MODE_TLB
.bss
.globl BOND_MODE_TLB
.p2align 3, 0x0
BOND_MODE_TLB:
.xword 0 // 0x0
.size BOND_MODE_TLB, 8
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_is_lb
.addrsig_sym BOND_MODE_TLB
.addrsig_sym BOND_MODE_ALB
| .text
.file "extr_bonding.h_bond_is_lb.c"
.p2align 2 // -- Begin function bond_is_lb
.type bond_is_lb,@function
bond_is_lb: // @bond_is_lb
.cfi_startproc
// %bb.0:
adrp x8, BOND_MODE_TLB
adrp x9, BOND_MODE_ALB
ldr x10, [x0]
ldr x8, [x8, :lo12:BOND_MODE_TLB]
ldr x9, [x9, :lo12:BOND_MODE_ALB]
cmp x10, x8
ccmp x10, x9, #4, ne
cset w0, eq
ret
.Lfunc_end0:
.size bond_is_lb, .Lfunc_end0-bond_is_lb
.cfi_endproc
// -- End function
.type BOND_MODE_TLB,@object // @BOND_MODE_TLB
.bss
.globl BOND_MODE_TLB
.p2align 3, 0x0
BOND_MODE_TLB:
.xword 0 // 0x0
.size BOND_MODE_TLB, 8
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_is_lb
| .text
.file "extr_bonding.h_bond_is_lb.c"
.p2align 2 // -- Begin function bond_is_lb
.type bond_is_lb,@function
bond_is_lb: // @bond_is_lb
.cfi_startproc
// %bb.0:
adrp x8, BOND_MODE_TLB
adrp x9, BOND_MODE_ALB
ldr x10, [x0]
ldr x8, [x8, :lo12:BOND_MODE_TLB]
ldr x9, [x9, :lo12:BOND_MODE_ALB]
cmp x10, x8
ccmp x10, x9, #4, ne
cset w0, eq
ret
.Lfunc_end0:
.size bond_is_lb, .Lfunc_end0-bond_is_lb
.cfi_endproc
// -- End function
.type BOND_MODE_TLB,@object // @BOND_MODE_TLB
.bss
.globl BOND_MODE_TLB
.p2align 3, 0x0
BOND_MODE_TLB:
.xword 0 // 0x0
.size BOND_MODE_TLB, 8
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_is_lb
| .text
.file "extr_bonding.h_bond_is_lb.c"
.p2align 2 // -- Begin function bond_is_lb
.type bond_is_lb,@function
bond_is_lb: // @bond_is_lb
.cfi_startproc
// %bb.0:
adrp x8, BOND_MODE_TLB
adrp x9, BOND_MODE_ALB
ldr x10, [x0]
ldr x8, [x8, :lo12:BOND_MODE_TLB]
ldr x9, [x9, :lo12:BOND_MODE_ALB]
cmp x10, x8
ccmp x10, x9, #4, ne
cset w0, eq
ret
.Lfunc_end0:
.size bond_is_lb, .Lfunc_end0-bond_is_lb
.cfi_endproc
// -- End function
.type BOND_MODE_TLB,@object // @BOND_MODE_TLB
.bss
.globl BOND_MODE_TLB
.p2align 3, 0x0
BOND_MODE_TLB:
.xword 0 // 0x0
.size BOND_MODE_TLB, 8
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_is_lb
| .text
.file "extr_bonding.h_bond_is_lb.c"
.p2align 4, 0x90 # -- Begin function bond_is_lb
.type bond_is_lb,@function
bond_is_lb: # @bond_is_lb
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rcx
movb $1, %al
cmpq BOND_MODE_TLB(%rip), %rcx
movb %al, -9(%rbp) # 1-byte Spill
je .LBB0_2
# %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rax
cmpq BOND_MODE_ALB(%rip), %rax
sete %al
movb %al, -9(%rbp) # 1-byte Spill
.LBB0_2:
movb -9(%rbp), %al # 1-byte Reload
andb $1, %al
movzbl %al, %eax
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_is_lb, .Lfunc_end0-bond_is_lb
.cfi_endproc
# -- End function
.type BOND_MODE_TLB,@object # @BOND_MODE_TLB
.bss
.globl BOND_MODE_TLB
.p2align 3, 0x0
BOND_MODE_TLB:
.quad 0 # 0x0
.size BOND_MODE_TLB, 8
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_is_lb
.addrsig_sym BOND_MODE_TLB
.addrsig_sym BOND_MODE_ALB
| .text
.file "extr_bonding.h_bond_is_lb.c"
.p2align 4, 0x90 # -- Begin function bond_is_lb
.type bond_is_lb,@function
bond_is_lb: # @bond_is_lb
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
cmpq BOND_MODE_TLB(%rip), %rax
sete %cl
cmpq BOND_MODE_ALB(%rip), %rax
sete %al
orb %cl, %al
movzbl %al, %eax
retq
.Lfunc_end0:
.size bond_is_lb, .Lfunc_end0-bond_is_lb
.cfi_endproc
# -- End function
.type BOND_MODE_TLB,@object # @BOND_MODE_TLB
.bss
.globl BOND_MODE_TLB
.p2align 3, 0x0
BOND_MODE_TLB:
.quad 0 # 0x0
.size BOND_MODE_TLB, 8
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_is_lb
| .text
.file "extr_bonding.h_bond_is_lb.c"
.p2align 4, 0x90 # -- Begin function bond_is_lb
.type bond_is_lb,@function
bond_is_lb: # @bond_is_lb
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
cmpq BOND_MODE_TLB(%rip), %rax
sete %cl
cmpq BOND_MODE_ALB(%rip), %rax
sete %al
orb %cl, %al
movzbl %al, %eax
retq
.Lfunc_end0:
.size bond_is_lb, .Lfunc_end0-bond_is_lb
.cfi_endproc
# -- End function
.type BOND_MODE_TLB,@object # @BOND_MODE_TLB
.bss
.globl BOND_MODE_TLB
.p2align 3, 0x0
BOND_MODE_TLB:
.quad 0 # 0x0
.size BOND_MODE_TLB, 8
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_is_lb
| .text
.file "extr_bonding.h_bond_is_lb.c"
.p2align 4, 0x90 # -- Begin function bond_is_lb
.type bond_is_lb,@function
bond_is_lb: # @bond_is_lb
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
cmpq BOND_MODE_TLB(%rip), %rax
sete %cl
cmpq BOND_MODE_ALB(%rip), %rax
sete %al
orb %cl, %al
movzbl %al, %eax
retq
.Lfunc_end0:
.size bond_is_lb, .Lfunc_end0-bond_is_lb
.cfi_endproc
# -- End function
.type BOND_MODE_TLB,@object # @BOND_MODE_TLB
.bss
.globl BOND_MODE_TLB
.p2align 3, 0x0
BOND_MODE_TLB:
.quad 0 # 0x0
.size BOND_MODE_TLB, 8
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_is_lb
|
extr_bond_3ad.c_ad_enable_collecting_distributing.c | .text
.file "extr_bond_3ad.c_ad_enable_collecting_distributing.c"
.p2align 2 // -- Begin function ad_enable_collecting_distributing
.type ad_enable_collecting_distributing,@function
ad_enable_collecting_distributing: // @ad_enable_collecting_distributing
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #8]
ldr w1, [x8, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr w2, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
ldr x0, [sp, #8]
bl __enable_port
b .LBB0_2
.LBB0_2:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_enable_collecting_distributing, .Lfunc_end0-ad_enable_collecting_distributing
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Enabling port %d(LAG %d)\n"
.size .L.str, 26
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_enable_collecting_distributing
.addrsig_sym pr_debug
.addrsig_sym __enable_port
| .text
.file "extr_bond_3ad.c_ad_enable_collecting_distributing.c"
.p2align 2 // -- Begin function ad_enable_collecting_distributing
.type ad_enable_collecting_distributing,@function
ad_enable_collecting_distributing: // @ad_enable_collecting_distributing
.cfi_startproc
// %bb.0:
ldr x8, [x0]
ldr x9, [x8, #8]
cbz x9, .LBB0_2
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
ldr w1, [x0, #8]
ldr w2, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b __enable_port
.LBB0_2:
ret
.Lfunc_end0:
.size ad_enable_collecting_distributing, .Lfunc_end0-ad_enable_collecting_distributing
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Enabling port %d(LAG %d)\n"
.size .L.str, 26
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_enable_collecting_distributing
| .text
.file "extr_bond_3ad.c_ad_enable_collecting_distributing.c"
.p2align 2 // -- Begin function ad_enable_collecting_distributing
.type ad_enable_collecting_distributing,@function
ad_enable_collecting_distributing: // @ad_enable_collecting_distributing
.cfi_startproc
// %bb.0:
ldr x8, [x0]
ldr x9, [x8, #8]
cbz x9, .LBB0_2
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
ldr w1, [x0, #8]
ldr w2, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b __enable_port
.LBB0_2:
ret
.Lfunc_end0:
.size ad_enable_collecting_distributing, .Lfunc_end0-ad_enable_collecting_distributing
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Enabling port %d(LAG %d)\n"
.size .L.str, 26
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_enable_collecting_distributing
| .text
.file "extr_bond_3ad.c_ad_enable_collecting_distributing.c"
.p2align 2 // -- Begin function ad_enable_collecting_distributing
.type ad_enable_collecting_distributing,@function
ad_enable_collecting_distributing: // @ad_enable_collecting_distributing
.cfi_startproc
// %bb.0:
ldr x8, [x0]
ldr x9, [x8, #8]
cbz x9, .LBB0_2
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
ldr w1, [x0, #8]
ldr w2, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b __enable_port
.LBB0_2:
ret
.Lfunc_end0:
.size ad_enable_collecting_distributing, .Lfunc_end0-ad_enable_collecting_distributing
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Enabling port %d(LAG %d)\n"
.size .L.str, 26
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_enable_collecting_distributing
| .text
.file "extr_bond_3ad.c_ad_enable_collecting_distributing.c"
.p2align 4, 0x90 # -- Begin function ad_enable_collecting_distributing
.type ad_enable_collecting_distributing,@function
ad_enable_collecting_distributing: # @ad_enable_collecting_distributing
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
cmpq $0, 8(%rax)
je .LBB0_2
# %bb.1:
movq -8(%rbp), %rax
movl 8(%rax), %esi
movq -8(%rbp), %rax
movq (%rax), %rax
movl (%rax), %edx
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq -8(%rbp), %rdi
callq __enable_port@PLT
.LBB0_2:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ad_enable_collecting_distributing, .Lfunc_end0-ad_enable_collecting_distributing
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Enabling port %d(LAG %d)\n"
.size .L.str, 26
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_enable_collecting_distributing
.addrsig_sym pr_debug
.addrsig_sym __enable_port
| .text
.file "extr_bond_3ad.c_ad_enable_collecting_distributing.c"
.p2align 4, 0x90 # -- Begin function ad_enable_collecting_distributing
.type ad_enable_collecting_distributing,@function
ad_enable_collecting_distributing: # @ad_enable_collecting_distributing
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
cmpq $0, 8(%rax)
je .LBB0_1
# %bb.2:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movl 8(%rdi), %esi
movl (%rax), %edx
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp __enable_port@PLT # TAILCALL
.LBB0_1:
.cfi_restore %rbx
retq
.Lfunc_end0:
.size ad_enable_collecting_distributing, .Lfunc_end0-ad_enable_collecting_distributing
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Enabling port %d(LAG %d)\n"
.size .L.str, 26
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_enable_collecting_distributing
| .text
.file "extr_bond_3ad.c_ad_enable_collecting_distributing.c"
.p2align 4, 0x90 # -- Begin function ad_enable_collecting_distributing
.type ad_enable_collecting_distributing,@function
ad_enable_collecting_distributing: # @ad_enable_collecting_distributing
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
cmpq $0, 8(%rax)
je .LBB0_1
# %bb.2:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movl 8(%rdi), %esi
movl (%rax), %edx
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp __enable_port@PLT # TAILCALL
.LBB0_1:
.cfi_restore %rbx
retq
.Lfunc_end0:
.size ad_enable_collecting_distributing, .Lfunc_end0-ad_enable_collecting_distributing
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Enabling port %d(LAG %d)\n"
.size .L.str, 26
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_enable_collecting_distributing
| .text
.file "extr_bond_3ad.c_ad_enable_collecting_distributing.c"
.p2align 4, 0x90 # -- Begin function ad_enable_collecting_distributing
.type ad_enable_collecting_distributing,@function
ad_enable_collecting_distributing: # @ad_enable_collecting_distributing
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
cmpq $0, 8(%rax)
je .LBB0_1
# %bb.2:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movl 8(%rdi), %esi
movl (%rax), %edx
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp __enable_port@PLT # TAILCALL
.LBB0_1:
.cfi_restore %rbx
retq
.Lfunc_end0:
.size ad_enable_collecting_distributing, .Lfunc_end0-ad_enable_collecting_distributing
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Enabling port %d(LAG %d)\n"
.size .L.str, 26
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_enable_collecting_distributing
|
extr_bond_main.c_bond_set_lockdep_class.c | .text
.file "extr_bond_main.c_bond_set_lockdep_class.c"
.p2align 2 // -- Begin function bond_set_lockdep_class
.type bond_set_lockdep_class,@function
bond_set_lockdep_class: // @bond_set_lockdep_class
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
adrp x1, bonding_netdev_addr_lock_key
add x1, x1, :lo12:bonding_netdev_addr_lock_key
bl lockdep_set_class
ldr x0, [sp, #8]
adrp x8, bond_set_lockdep_class_one
ldr w1, [x8, :lo12:bond_set_lockdep_class_one]
mov x2, xzr
bl netdev_for_each_tx_queue
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_set_lockdep_class, .Lfunc_end0-bond_set_lockdep_class
.cfi_endproc
// -- End function
.type bonding_netdev_addr_lock_key,@object // @bonding_netdev_addr_lock_key
.bss
.globl bonding_netdev_addr_lock_key
.p2align 2, 0x0
bonding_netdev_addr_lock_key:
.word 0 // 0x0
.size bonding_netdev_addr_lock_key, 4
.type bond_set_lockdep_class_one,@object // @bond_set_lockdep_class_one
.globl bond_set_lockdep_class_one
.p2align 2, 0x0
bond_set_lockdep_class_one:
.word 0 // 0x0
.size bond_set_lockdep_class_one, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class
.addrsig_sym lockdep_set_class
.addrsig_sym netdev_for_each_tx_queue
.addrsig_sym bonding_netdev_addr_lock_key
.addrsig_sym bond_set_lockdep_class_one
| .text
.file "extr_bond_main.c_bond_set_lockdep_class.c"
.p2align 2 // -- Begin function bond_set_lockdep_class
.type bond_set_lockdep_class,@function
bond_set_lockdep_class: // @bond_set_lockdep_class
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
adrp x1, bonding_netdev_addr_lock_key
add x1, x1, :lo12:bonding_netdev_addr_lock_key
mov x19, x0
bl lockdep_set_class
adrp x8, bond_set_lockdep_class_one
mov x0, x19
ldr w1, [x8, :lo12:bond_set_lockdep_class_one]
mov x2, xzr
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b netdev_for_each_tx_queue
.Lfunc_end0:
.size bond_set_lockdep_class, .Lfunc_end0-bond_set_lockdep_class
.cfi_endproc
// -- End function
.type bonding_netdev_addr_lock_key,@object // @bonding_netdev_addr_lock_key
.bss
.globl bonding_netdev_addr_lock_key
.p2align 2, 0x0
bonding_netdev_addr_lock_key:
.word 0 // 0x0
.size bonding_netdev_addr_lock_key, 4
.type bond_set_lockdep_class_one,@object // @bond_set_lockdep_class_one
.globl bond_set_lockdep_class_one
.p2align 2, 0x0
bond_set_lockdep_class_one:
.word 0 // 0x0
.size bond_set_lockdep_class_one, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class
.addrsig_sym bonding_netdev_addr_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class.c"
.p2align 2 // -- Begin function bond_set_lockdep_class
.type bond_set_lockdep_class,@function
bond_set_lockdep_class: // @bond_set_lockdep_class
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
adrp x1, bonding_netdev_addr_lock_key
add x1, x1, :lo12:bonding_netdev_addr_lock_key
mov x19, x0
bl lockdep_set_class
adrp x8, bond_set_lockdep_class_one
mov x0, x19
ldr w1, [x8, :lo12:bond_set_lockdep_class_one]
mov x2, xzr
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b netdev_for_each_tx_queue
.Lfunc_end0:
.size bond_set_lockdep_class, .Lfunc_end0-bond_set_lockdep_class
.cfi_endproc
// -- End function
.type bonding_netdev_addr_lock_key,@object // @bonding_netdev_addr_lock_key
.bss
.globl bonding_netdev_addr_lock_key
.p2align 2, 0x0
bonding_netdev_addr_lock_key:
.word 0 // 0x0
.size bonding_netdev_addr_lock_key, 4
.type bond_set_lockdep_class_one,@object // @bond_set_lockdep_class_one
.globl bond_set_lockdep_class_one
.p2align 2, 0x0
bond_set_lockdep_class_one:
.word 0 // 0x0
.size bond_set_lockdep_class_one, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class
.addrsig_sym bonding_netdev_addr_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class.c"
.p2align 2 // -- Begin function bond_set_lockdep_class
.type bond_set_lockdep_class,@function
bond_set_lockdep_class: // @bond_set_lockdep_class
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
adrp x1, bonding_netdev_addr_lock_key
add x1, x1, :lo12:bonding_netdev_addr_lock_key
mov x19, x0
bl lockdep_set_class
adrp x8, bond_set_lockdep_class_one
mov x0, x19
ldr w1, [x8, :lo12:bond_set_lockdep_class_one]
mov x2, xzr
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b netdev_for_each_tx_queue
.Lfunc_end0:
.size bond_set_lockdep_class, .Lfunc_end0-bond_set_lockdep_class
.cfi_endproc
// -- End function
.type bonding_netdev_addr_lock_key,@object // @bonding_netdev_addr_lock_key
.bss
.globl bonding_netdev_addr_lock_key
.p2align 2, 0x0
bonding_netdev_addr_lock_key:
.word 0 // 0x0
.size bonding_netdev_addr_lock_key, 4
.type bond_set_lockdep_class_one,@object // @bond_set_lockdep_class_one
.globl bond_set_lockdep_class_one
.p2align 2, 0x0
bond_set_lockdep_class_one:
.word 0 // 0x0
.size bond_set_lockdep_class_one, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class
.addrsig_sym bonding_netdev_addr_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class.c"
.p2align 4, 0x90 # -- Begin function bond_set_lockdep_class
.type bond_set_lockdep_class,@function
bond_set_lockdep_class: # @bond_set_lockdep_class
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
leaq bonding_netdev_addr_lock_key(%rip), %rsi
callq lockdep_set_class@PLT
movq -8(%rbp), %rdi
movl bond_set_lockdep_class_one(%rip), %esi
xorl %eax, %eax
movl %eax, %edx
callq netdev_for_each_tx_queue@PLT
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_set_lockdep_class, .Lfunc_end0-bond_set_lockdep_class
.cfi_endproc
# -- End function
.type bonding_netdev_addr_lock_key,@object # @bonding_netdev_addr_lock_key
.bss
.globl bonding_netdev_addr_lock_key
.p2align 2, 0x0
bonding_netdev_addr_lock_key:
.long 0 # 0x0
.size bonding_netdev_addr_lock_key, 4
.type bond_set_lockdep_class_one,@object # @bond_set_lockdep_class_one
.globl bond_set_lockdep_class_one
.p2align 2, 0x0
bond_set_lockdep_class_one:
.long 0 # 0x0
.size bond_set_lockdep_class_one, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class
.addrsig_sym lockdep_set_class
.addrsig_sym netdev_for_each_tx_queue
.addrsig_sym bonding_netdev_addr_lock_key
.addrsig_sym bond_set_lockdep_class_one
| .text
.file "extr_bond_main.c_bond_set_lockdep_class.c"
.p2align 4, 0x90 # -- Begin function bond_set_lockdep_class
.type bond_set_lockdep_class,@function
bond_set_lockdep_class: # @bond_set_lockdep_class
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
leaq bonding_netdev_addr_lock_key(%rip), %rsi
callq lockdep_set_class@PLT
movl bond_set_lockdep_class_one(%rip), %esi
movq %rbx, %rdi
xorl %edx, %edx
popq %rbx
.cfi_def_cfa_offset 8
jmp netdev_for_each_tx_queue@PLT # TAILCALL
.Lfunc_end0:
.size bond_set_lockdep_class, .Lfunc_end0-bond_set_lockdep_class
.cfi_endproc
# -- End function
.type bonding_netdev_addr_lock_key,@object # @bonding_netdev_addr_lock_key
.bss
.globl bonding_netdev_addr_lock_key
.p2align 2, 0x0
bonding_netdev_addr_lock_key:
.long 0 # 0x0
.size bonding_netdev_addr_lock_key, 4
.type bond_set_lockdep_class_one,@object # @bond_set_lockdep_class_one
.globl bond_set_lockdep_class_one
.p2align 2, 0x0
bond_set_lockdep_class_one:
.long 0 # 0x0
.size bond_set_lockdep_class_one, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class
.addrsig_sym bonding_netdev_addr_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class.c"
.p2align 4, 0x90 # -- Begin function bond_set_lockdep_class
.type bond_set_lockdep_class,@function
bond_set_lockdep_class: # @bond_set_lockdep_class
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
leaq bonding_netdev_addr_lock_key(%rip), %rsi
callq lockdep_set_class@PLT
movl bond_set_lockdep_class_one(%rip), %esi
movq %rbx, %rdi
xorl %edx, %edx
popq %rbx
.cfi_def_cfa_offset 8
jmp netdev_for_each_tx_queue@PLT # TAILCALL
.Lfunc_end0:
.size bond_set_lockdep_class, .Lfunc_end0-bond_set_lockdep_class
.cfi_endproc
# -- End function
.type bonding_netdev_addr_lock_key,@object # @bonding_netdev_addr_lock_key
.bss
.globl bonding_netdev_addr_lock_key
.p2align 2, 0x0
bonding_netdev_addr_lock_key:
.long 0 # 0x0
.size bonding_netdev_addr_lock_key, 4
.type bond_set_lockdep_class_one,@object # @bond_set_lockdep_class_one
.globl bond_set_lockdep_class_one
.p2align 2, 0x0
bond_set_lockdep_class_one:
.long 0 # 0x0
.size bond_set_lockdep_class_one, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class
.addrsig_sym bonding_netdev_addr_lock_key
| .text
.file "extr_bond_main.c_bond_set_lockdep_class.c"
.p2align 4, 0x90 # -- Begin function bond_set_lockdep_class
.type bond_set_lockdep_class,@function
bond_set_lockdep_class: # @bond_set_lockdep_class
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
leaq bonding_netdev_addr_lock_key(%rip), %rsi
callq lockdep_set_class@PLT
movl bond_set_lockdep_class_one(%rip), %esi
movq %rbx, %rdi
xorl %edx, %edx
popq %rbx
.cfi_def_cfa_offset 8
jmp netdev_for_each_tx_queue@PLT # TAILCALL
.Lfunc_end0:
.size bond_set_lockdep_class, .Lfunc_end0-bond_set_lockdep_class
.cfi_endproc
# -- End function
.type bonding_netdev_addr_lock_key,@object # @bonding_netdev_addr_lock_key
.bss
.globl bonding_netdev_addr_lock_key
.p2align 2, 0x0
bonding_netdev_addr_lock_key:
.long 0 # 0x0
.size bonding_netdev_addr_lock_key, 4
.type bond_set_lockdep_class_one,@object # @bond_set_lockdep_class_one
.globl bond_set_lockdep_class_one
.p2align 2, 0x0
bond_set_lockdep_class_one:
.long 0 # 0x0
.size bond_set_lockdep_class_one, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_set_lockdep_class
.addrsig_sym bonding_netdev_addr_lock_key
|
extr_bond_alb.c_alb_swap_mac_addr.c | .text
.file "extr_bond_alb.c_alb_swap_mac_addr.c"
.p2align 2 // -- Begin function alb_swap_mac_addr
.type alb_swap_mac_addr,@function
alb_swap_mac_addr: // @alb_swap_mac_addr
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #48
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
adrp x8, ETH_ALEN
ldr w9, [x8, :lo12:ETH_ALEN]
// kill: def $x9 killed $w9
mov x10, sp
stur x10, [x29, #-32]
lsl x10, x9, #2
add x10, x10, #15
and x11, x10, #0xfffffffffffffff0
mov x10, sp
subs x0, x10, x11
stur x0, [x29, #-48] // 8-byte Folded Spill
mov sp, x0
stur x9, [x29, #-40]
ldur x9, [x29, #-16]
ldr x9, [x9]
ldr x1, [x9]
ldr w2, [x8, :lo12:ETH_ALEN]
bl memcpy
ldur x0, [x29, #-16]
ldur x8, [x29, #-24]
ldr x8, [x8]
ldr x1, [x8]
bl alb_set_slave_mac_addr
ldur x1, [x29, #-48] // 8-byte Folded Reload
ldur x0, [x29, #-24]
bl alb_set_slave_mac_addr
ldur x8, [x29, #-32]
mov sp, x8
mov sp, x29
.cfi_def_cfa wsp, 16
ldp x29, x30, [sp], #16 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size alb_swap_mac_addr, .Lfunc_end0-alb_swap_mac_addr
.cfi_endproc
// -- End function
.type ETH_ALEN,@object // @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_swap_mac_addr
.addrsig_sym memcpy
.addrsig_sym alb_set_slave_mac_addr
.addrsig_sym ETH_ALEN
| .text
.file "extr_bond_alb.c_alb_swap_mac_addr.c"
.p2align 2 // -- Begin function alb_swap_mac_addr
.type alb_swap_mac_addr,@function
alb_swap_mac_addr: // @alb_swap_mac_addr
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
adrp x8, ETH_ALEN
mov x19, x2
mov x20, x1
ldr w2, [x8, :lo12:ETH_ALEN]
mov x8, sp
lsl x9, x2, #2
add x9, x9, #15
and x9, x9, #0x7fffffff0
sub x21, x8, x9
mov sp, x21
ldr x8, [x1]
mov x0, x21
// kill: def $w2 killed $w2 killed $x2
ldr x1, [x8]
bl memcpy
ldr x8, [x19]
mov x0, x20
ldr x1, [x8]
bl alb_set_slave_mac_addr
mov x0, x19
mov x1, x21
bl alb_set_slave_mac_addr
mov sp, x29
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size alb_swap_mac_addr, .Lfunc_end0-alb_swap_mac_addr
.cfi_endproc
// -- End function
.type ETH_ALEN,@object // @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_swap_mac_addr
| .text
.file "extr_bond_alb.c_alb_swap_mac_addr.c"
.p2align 2 // -- Begin function alb_swap_mac_addr
.type alb_swap_mac_addr,@function
alb_swap_mac_addr: // @alb_swap_mac_addr
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
adrp x8, ETH_ALEN
mov x19, x2
mov x20, x1
ldr w2, [x8, :lo12:ETH_ALEN]
mov x8, sp
lsl x9, x2, #2
add x9, x9, #15
and x9, x9, #0x7fffffff0
sub x21, x8, x9
mov sp, x21
ldr x8, [x1]
mov x0, x21
// kill: def $w2 killed $w2 killed $x2
ldr x1, [x8]
bl memcpy
ldr x8, [x19]
mov x0, x20
ldr x1, [x8]
bl alb_set_slave_mac_addr
mov x0, x19
mov x1, x21
bl alb_set_slave_mac_addr
mov sp, x29
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size alb_swap_mac_addr, .Lfunc_end0-alb_swap_mac_addr
.cfi_endproc
// -- End function
.type ETH_ALEN,@object // @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_swap_mac_addr
| .text
.file "extr_bond_alb.c_alb_swap_mac_addr.c"
.p2align 2 // -- Begin function alb_swap_mac_addr
.type alb_swap_mac_addr,@function
alb_swap_mac_addr: // @alb_swap_mac_addr
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
adrp x8, ETH_ALEN
mov x19, x2
mov x20, x1
ldr w2, [x8, :lo12:ETH_ALEN]
mov x8, sp
lsl x9, x2, #2
add x9, x9, #15
and x9, x9, #0x7fffffff0
sub x21, x8, x9
mov sp, x21
ldr x8, [x1]
mov x0, x21
// kill: def $w2 killed $w2 killed $x2
ldr x1, [x8]
bl memcpy
ldr x8, [x19]
mov x0, x20
ldr x1, [x8]
bl alb_set_slave_mac_addr
mov x0, x19
mov x1, x21
bl alb_set_slave_mac_addr
mov sp, x29
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size alb_swap_mac_addr, .Lfunc_end0-alb_swap_mac_addr
.cfi_endproc
// -- End function
.type ETH_ALEN,@object // @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_swap_mac_addr
| .text
.file "extr_bond_alb.c_alb_swap_mac_addr.c"
.p2align 4, 0x90 # -- Begin function alb_swap_mac_addr
.type alb_swap_mac_addr,@function
alb_swap_mac_addr: # @alb_swap_mac_addr
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl ETH_ALEN(%rip), %eax
# kill: def $rax killed $eax
movq %rsp, %rcx
movq %rcx, -32(%rbp)
leaq 15(,%rax,4), %rcx
andq $-16, %rcx
movq %rsp, %rdi
subq %rcx, %rdi
movq %rdi, -48(%rbp) # 8-byte Spill
movq %rdi, %rsp
movq %rax, -40(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rsi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movq -16(%rbp), %rdi
movq -24(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rsi
callq alb_set_slave_mac_addr@PLT
movq -48(%rbp), %rsi # 8-byte Reload
movq -24(%rbp), %rdi
callq alb_set_slave_mac_addr@PLT
movq -32(%rbp), %rax
movq %rax, %rsp
movq %rbp, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size alb_swap_mac_addr, .Lfunc_end0-alb_swap_mac_addr
.cfi_endproc
# -- End function
.type ETH_ALEN,@object # @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_swap_mac_addr
.addrsig_sym memcpy
.addrsig_sym alb_set_slave_mac_addr
.addrsig_sym ETH_ALEN
| .text
.file "extr_bond_alb.c_alb_swap_mac_addr.c"
.p2align 4, 0x90 # -- Begin function alb_swap_mac_addr
.type alb_swap_mac_addr,@function
alb_swap_mac_addr: # @alb_swap_mac_addr
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movl ETH_ALEN(%rip), %edx
movq %rsp, %r15
leaq 15(,%rdx,4), %rax
andq $-16, %rax
subq %rax, %r15
movq %r15, %rsp
movq (%rsi), %rax
movq (%rax), %rsi
movq %r15, %rdi
# kill: def $edx killed $edx killed $rdx
callq memcpy@PLT
movq (%rbx), %rax
movq (%rax), %rsi
movq %r14, %rdi
callq alb_set_slave_mac_addr@PLT
movq %rbx, %rdi
movq %r15, %rsi
callq alb_set_slave_mac_addr@PLT
leaq -24(%rbp), %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size alb_swap_mac_addr, .Lfunc_end0-alb_swap_mac_addr
.cfi_endproc
# -- End function
.type ETH_ALEN,@object # @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_swap_mac_addr
| .text
.file "extr_bond_alb.c_alb_swap_mac_addr.c"
.p2align 4, 0x90 # -- Begin function alb_swap_mac_addr
.type alb_swap_mac_addr,@function
alb_swap_mac_addr: # @alb_swap_mac_addr
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movl ETH_ALEN(%rip), %edx
movq %rsp, %r15
leaq 15(,%rdx,4), %rax
andq $-16, %rax
subq %rax, %r15
movq %r15, %rsp
movq (%rsi), %rax
movq (%rax), %rsi
movq %r15, %rdi
# kill: def $edx killed $edx killed $rdx
callq memcpy@PLT
movq (%rbx), %rax
movq (%rax), %rsi
movq %r14, %rdi
callq alb_set_slave_mac_addr@PLT
movq %rbx, %rdi
movq %r15, %rsi
callq alb_set_slave_mac_addr@PLT
leaq -24(%rbp), %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size alb_swap_mac_addr, .Lfunc_end0-alb_swap_mac_addr
.cfi_endproc
# -- End function
.type ETH_ALEN,@object # @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_swap_mac_addr
| .text
.file "extr_bond_alb.c_alb_swap_mac_addr.c"
.p2align 4, 0x90 # -- Begin function alb_swap_mac_addr
.type alb_swap_mac_addr,@function
alb_swap_mac_addr: # @alb_swap_mac_addr
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movl ETH_ALEN(%rip), %edx
movq %rsp, %r15
leaq 15(,%rdx,4), %rax
andq $-16, %rax
subq %rax, %r15
movq %r15, %rsp
movq (%rsi), %rax
movq (%rax), %rsi
movq %r15, %rdi
# kill: def $edx killed $edx killed $rdx
callq memcpy@PLT
movq (%rbx), %rax
movq (%rax), %rsi
movq %r14, %rdi
callq alb_set_slave_mac_addr@PLT
movq %rbx, %rdi
movq %r15, %rsi
callq alb_set_slave_mac_addr@PLT
leaq -24(%rbp), %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size alb_swap_mac_addr, .Lfunc_end0-alb_swap_mac_addr
.cfi_endproc
# -- End function
.type ETH_ALEN,@object # @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_swap_mac_addr
|
extr_bond_3ad.c___enable_port.c | .text
.file "extr_bond_3ad.c___enable_port.c"
.p2align 2 // -- Begin function __enable_port
.type __enable_port,@function
__enable_port: // @__enable_port
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp]
ldr x8, [sp]
ldr x8, [x8]
adrp x9, BOND_LINK_UP
ldr x9, [x9, :lo12:BOND_LINK_UP]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_3
b .LBB0_1
.LBB0_1:
ldr x8, [sp]
ldr w0, [x8, #8]
bl IS_UP
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
ldr x0, [sp]
bl bond_set_slave_active_flags
b .LBB0_3
.LBB0_3:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __enable_port, .Lfunc_end0-__enable_port
.cfi_endproc
// -- End function
.type BOND_LINK_UP,@object // @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.xword 0 // 0x0
.size BOND_LINK_UP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __enable_port
.addrsig_sym IS_UP
.addrsig_sym bond_set_slave_active_flags
.addrsig_sym BOND_LINK_UP
| .text
.file "extr_bond_3ad.c___enable_port.c"
.p2align 2 // -- Begin function __enable_port
.type __enable_port,@function
__enable_port: // @__enable_port
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x8, BOND_LINK_UP
ldr x19, [x0]
ldr x9, [x19]
ldr x8, [x8, :lo12:BOND_LINK_UP]
cmp x9, x8
b.ne .LBB0_3
// %bb.1:
ldr w0, [x19, #8]
bl IS_UP
cbz x0, .LBB0_3
// %bb.2:
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b bond_set_slave_active_flags
.LBB0_3:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __enable_port, .Lfunc_end0-__enable_port
.cfi_endproc
// -- End function
.type BOND_LINK_UP,@object // @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.xword 0 // 0x0
.size BOND_LINK_UP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __enable_port
| .text
.file "extr_bond_3ad.c___enable_port.c"
.p2align 2 // -- Begin function __enable_port
.type __enable_port,@function
__enable_port: // @__enable_port
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x8, BOND_LINK_UP
ldr x19, [x0]
ldr x9, [x19]
ldr x8, [x8, :lo12:BOND_LINK_UP]
cmp x9, x8
b.ne .LBB0_3
// %bb.1:
ldr w0, [x19, #8]
bl IS_UP
cbz x0, .LBB0_3
// %bb.2:
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b bond_set_slave_active_flags
.LBB0_3:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __enable_port, .Lfunc_end0-__enable_port
.cfi_endproc
// -- End function
.type BOND_LINK_UP,@object // @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.xword 0 // 0x0
.size BOND_LINK_UP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __enable_port
| .text
.file "extr_bond_3ad.c___enable_port.c"
.p2align 2 // -- Begin function __enable_port
.type __enable_port,@function
__enable_port: // @__enable_port
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x8, BOND_LINK_UP
ldr x19, [x0]
ldr x9, [x19]
ldr x8, [x8, :lo12:BOND_LINK_UP]
cmp x9, x8
b.ne .LBB0_3
// %bb.1:
ldr w0, [x19, #8]
bl IS_UP
cbz x0, .LBB0_3
// %bb.2:
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b bond_set_slave_active_flags
.LBB0_3:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __enable_port, .Lfunc_end0-__enable_port
.cfi_endproc
// -- End function
.type BOND_LINK_UP,@object // @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.xword 0 // 0x0
.size BOND_LINK_UP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __enable_port
| .text
.file "extr_bond_3ad.c___enable_port.c"
.p2align 4, 0x90 # -- Begin function __enable_port
.type __enable_port,@function
__enable_port: # @__enable_port
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
cmpq BOND_LINK_UP(%rip), %rax
jne .LBB0_3
# %bb.1:
movq -16(%rbp), %rax
movl 8(%rax), %edi
callq IS_UP@PLT
cmpq $0, %rax
je .LBB0_3
# %bb.2:
movq -16(%rbp), %rdi
callq bond_set_slave_active_flags@PLT
.LBB0_3:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size __enable_port, .Lfunc_end0-__enable_port
.cfi_endproc
# -- End function
.type BOND_LINK_UP,@object # @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.quad 0 # 0x0
.size BOND_LINK_UP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __enable_port
.addrsig_sym IS_UP
.addrsig_sym bond_set_slave_active_flags
.addrsig_sym BOND_LINK_UP
| .text
.file "extr_bond_3ad.c___enable_port.c"
.p2align 4, 0x90 # -- Begin function __enable_port
.type __enable_port,@function
__enable_port: # @__enable_port
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq (%rdi), %rbx
movq (%rbx), %rax
cmpq BOND_LINK_UP(%rip), %rax
jne .LBB0_2
# %bb.1:
movl 8(%rbx), %edi
callq IS_UP@PLT
testq %rax, %rax
je .LBB0_2
# %bb.3:
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp bond_set_slave_active_flags@PLT # TAILCALL
.LBB0_2:
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __enable_port, .Lfunc_end0-__enable_port
.cfi_endproc
# -- End function
.type BOND_LINK_UP,@object # @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.quad 0 # 0x0
.size BOND_LINK_UP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __enable_port
| .text
.file "extr_bond_3ad.c___enable_port.c"
.p2align 4, 0x90 # -- Begin function __enable_port
.type __enable_port,@function
__enable_port: # @__enable_port
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq (%rdi), %rbx
movq (%rbx), %rax
cmpq BOND_LINK_UP(%rip), %rax
jne .LBB0_2
# %bb.1:
movl 8(%rbx), %edi
callq IS_UP@PLT
testq %rax, %rax
je .LBB0_2
# %bb.3:
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp bond_set_slave_active_flags@PLT # TAILCALL
.LBB0_2:
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __enable_port, .Lfunc_end0-__enable_port
.cfi_endproc
# -- End function
.type BOND_LINK_UP,@object # @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.quad 0 # 0x0
.size BOND_LINK_UP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __enable_port
| .text
.file "extr_bond_3ad.c___enable_port.c"
.p2align 4, 0x90 # -- Begin function __enable_port
.type __enable_port,@function
__enable_port: # @__enable_port
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq (%rdi), %rbx
movq (%rbx), %rax
cmpq BOND_LINK_UP(%rip), %rax
jne .LBB0_2
# %bb.1:
movl 8(%rbx), %edi
callq IS_UP@PLT
testq %rax, %rax
je .LBB0_2
# %bb.3:
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp bond_set_slave_active_flags@PLT # TAILCALL
.LBB0_2:
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __enable_port, .Lfunc_end0-__enable_port
.cfi_endproc
# -- End function
.type BOND_LINK_UP,@object # @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.quad 0 # 0x0
.size BOND_LINK_UP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __enable_port
|
extr_bond_main.c_bond_select_queue.c | .text
.file "extr_bond_main.c_bond_select_queue.c"
.p2align 2 // -- Begin function bond_select_queue
.type bond_select_queue,@function
bond_select_queue: // @bond_select_queue
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] // 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x0, [x29, #-16]
bl skb_rx_queue_recorded
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldur x0, [x29, #-16]
bl skb_get_rx_queue
str x0, [sp, #16] // 8-byte Folded Spill
b .LBB0_3
.LBB0_2:
mov x8, xzr
str x8, [sp, #16] // 8-byte Folded Spill
b .LBB0_3
.LBB0_3:
ldr x8, [sp, #16] // 8-byte Folded Reload
str x8, [sp, #24]
ldur x8, [x29, #-16]
ldr w8, [x8]
str w8, [sp, #12] // 4-byte Folded Spill
ldur x0, [x29, #-16]
bl qdisc_skb_cb
ldr w8, [sp, #12] // 4-byte Folded Reload
str w8, [x0]
ldr x8, [sp, #24]
ldur x9, [x29, #-8]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ge
and w0, w8, #0x1
bl unlikely
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_8
b .LBB0_4
.LBB0_4:
b .LBB0_5
.LBB0_5: // =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
ldr x9, [x8]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
b .LBB0_6
.LBB0_6: // in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #24]
ldur x9, [x29, #-8]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, .LBB0_5
b .LBB0_7
.LBB0_7:
b .LBB0_8
.LBB0_8:
ldr x0, [sp, #24]
.cfi_def_cfa wsp, 64
ldp x29, x30, [sp, #48] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_select_queue, .Lfunc_end0-bond_select_queue
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_select_queue
.addrsig_sym skb_rx_queue_recorded
.addrsig_sym skb_get_rx_queue
.addrsig_sym qdisc_skb_cb
.addrsig_sym unlikely
| .text
.file "extr_bond_main.c_bond_select_queue.c"
.p2align 2 // -- Begin function bond_select_queue
.type bond_select_queue,@function
bond_select_queue: // @bond_select_queue
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x20, x0
mov x0, x1
mov x21, x1
bl skb_rx_queue_recorded
cbz x0, .LBB0_2
// %bb.1:
mov x0, x21
bl skb_get_rx_queue
mov x19, x0
b .LBB0_3
.LBB0_2:
mov x19, xzr
.LBB0_3:
mov x0, x21
ldr w22, [x21]
bl qdisc_skb_cb
ldr x8, [x20]
str w22, [x0]
cmp x19, x8
cset w8, ge
mov w0, w8
bl unlikely
cbz x0, .LBB0_6
// %bb.4:
ldr x8, [x20]
.LBB0_5: // =>This Inner Loop Header: Depth=1
sub x19, x19, x8
cmp x19, x8
b.ge .LBB0_5
.LBB0_6:
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_select_queue, .Lfunc_end0-bond_select_queue
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_select_queue
| .text
.file "extr_bond_main.c_bond_select_queue.c"
.p2align 2 // -- Begin function bond_select_queue
.type bond_select_queue,@function
bond_select_queue: // @bond_select_queue
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x20, x0
mov x0, x1
mov x21, x1
bl skb_rx_queue_recorded
cbz x0, .LBB0_2
// %bb.1:
mov x0, x21
bl skb_get_rx_queue
mov x19, x0
b .LBB0_3
.LBB0_2:
mov x19, xzr
.LBB0_3:
mov x0, x21
ldr w22, [x21]
bl qdisc_skb_cb
ldr x8, [x20]
str w22, [x0]
cmp x19, x8
cset w8, ge
mov w0, w8
bl unlikely
cbz x0, .LBB0_6
// %bb.4:
ldr x8, [x20]
.LBB0_5: // =>This Inner Loop Header: Depth=1
sub x19, x19, x8
cmp x19, x8
b.ge .LBB0_5
.LBB0_6:
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_select_queue, .Lfunc_end0-bond_select_queue
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_select_queue
| .text
.file "extr_bond_main.c_bond_select_queue.c"
.p2align 2 // -- Begin function bond_select_queue
.type bond_select_queue,@function
bond_select_queue: // @bond_select_queue
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x20, x0
mov x0, x1
mov x21, x1
bl skb_rx_queue_recorded
cbz x0, .LBB0_2
// %bb.1:
mov x0, x21
bl skb_get_rx_queue
mov x19, x0
b .LBB0_3
.LBB0_2:
mov x19, xzr
.LBB0_3:
mov x0, x21
ldr w22, [x21]
bl qdisc_skb_cb
ldr x8, [x20]
str w22, [x0]
cmp x19, x8
cset w8, ge
mov w0, w8
bl unlikely
cbz x0, .LBB0_6
// %bb.4:
ldr x8, [x20]
.LBB0_5: // =>This Inner Loop Header: Depth=1
sub x19, x19, x8
cmp x19, x8
b.ge .LBB0_5
.LBB0_6:
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_select_queue, .Lfunc_end0-bond_select_queue
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_select_queue
| .text
.file "extr_bond_main.c_bond_select_queue.c"
.p2align 4, 0x90 # -- Begin function bond_select_queue
.type bond_select_queue,@function
bond_select_queue: # @bond_select_queue
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rdi
callq skb_rx_queue_recorded@PLT
cmpq $0, %rax
je .LBB0_2
# %bb.1:
movq -16(%rbp), %rdi
callq skb_get_rx_queue@PLT
movq %rax, -32(%rbp) # 8-byte Spill
jmp .LBB0_3
.LBB0_2:
xorl %eax, %eax
# kill: def $rax killed $eax
movq %rax, -32(%rbp) # 8-byte Spill
jmp .LBB0_3
.LBB0_3:
movq -32(%rbp), %rax # 8-byte Reload
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -36(%rbp) # 4-byte Spill
movq -16(%rbp), %rdi
callq qdisc_skb_cb@PLT
movl -36(%rbp), %ecx # 4-byte Reload
movl %ecx, (%rax)
movq -24(%rbp), %rax
movq -8(%rbp), %rcx
cmpq (%rcx), %rax
setge %al
andb $1, %al
movzbl %al, %edi
callq unlikely@PLT
cmpq $0, %rax
je .LBB0_8
# %bb.4:
jmp .LBB0_5
.LBB0_5: # =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -24(%rbp), %rax
subq %rcx, %rax
movq %rax, -24(%rbp)
# %bb.6: # in Loop: Header=BB0_5 Depth=1
movq -24(%rbp), %rax
movq -8(%rbp), %rcx
cmpq (%rcx), %rax
jge .LBB0_5
# %bb.7:
jmp .LBB0_8
.LBB0_8:
movq -24(%rbp), %rax
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_select_queue, .Lfunc_end0-bond_select_queue
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_select_queue
.addrsig_sym skb_rx_queue_recorded
.addrsig_sym skb_get_rx_queue
.addrsig_sym qdisc_skb_cb
.addrsig_sym unlikely
| .text
.file "extr_bond_main.c_bond_select_queue.c"
.p2align 4, 0x90 # -- Begin function bond_select_queue
.type bond_select_queue,@function
bond_select_queue: # @bond_select_queue
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, %rdi
callq skb_rx_queue_recorded@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
movq %r15, %rdi
callq skb_get_rx_queue@PLT
movq %rax, %rbx
jmp .LBB0_3
.LBB0_1:
xorl %ebx, %ebx
.LBB0_3:
movl (%r15), %ebp
movq %r15, %rdi
callq qdisc_skb_cb@PLT
movl %ebp, (%rax)
xorl %edi, %edi
cmpq (%r14), %rbx
setge %dil
callq unlikely@PLT
testq %rax, %rax
je .LBB0_6
# %bb.4:
movq (%r14), %rax
.p2align 4, 0x90
.LBB0_5: # =>This Inner Loop Header: Depth=1
subq %rax, %rbx
cmpq %rax, %rbx
jge .LBB0_5
.LBB0_6:
movq %rbx, %rax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_select_queue, .Lfunc_end0-bond_select_queue
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_select_queue
| .text
.file "extr_bond_main.c_bond_select_queue.c"
.p2align 4, 0x90 # -- Begin function bond_select_queue
.type bond_select_queue,@function
bond_select_queue: # @bond_select_queue
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, %rdi
callq skb_rx_queue_recorded@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
movq %r15, %rdi
callq skb_get_rx_queue@PLT
movq %rax, %rbx
jmp .LBB0_3
.LBB0_1:
xorl %ebx, %ebx
.LBB0_3:
movl (%r15), %ebp
movq %r15, %rdi
callq qdisc_skb_cb@PLT
movl %ebp, (%rax)
xorl %edi, %edi
cmpq (%r14), %rbx
setge %dil
callq unlikely@PLT
testq %rax, %rax
je .LBB0_6
# %bb.4:
movq (%r14), %rax
.p2align 4, 0x90
.LBB0_5: # =>This Inner Loop Header: Depth=1
subq %rax, %rbx
cmpq %rax, %rbx
jge .LBB0_5
.LBB0_6:
movq %rbx, %rax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_select_queue, .Lfunc_end0-bond_select_queue
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_select_queue
| .text
.file "extr_bond_main.c_bond_select_queue.c"
.p2align 4, 0x90 # -- Begin function bond_select_queue
.type bond_select_queue,@function
bond_select_queue: # @bond_select_queue
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, %rdi
callq skb_rx_queue_recorded@PLT
testq %rax, %rax
je .LBB0_1
# %bb.2:
movq %r15, %rdi
callq skb_get_rx_queue@PLT
movq %rax, %rbx
jmp .LBB0_3
.LBB0_1:
xorl %ebx, %ebx
.LBB0_3:
movl (%r15), %ebp
movq %r15, %rdi
callq qdisc_skb_cb@PLT
movl %ebp, (%rax)
xorl %edi, %edi
cmpq (%r14), %rbx
setge %dil
callq unlikely@PLT
testq %rax, %rax
je .LBB0_6
# %bb.4:
movq (%r14), %rax
.p2align 4, 0x90
.LBB0_5: # =>This Inner Loop Header: Depth=1
subq %rax, %rbx
cmpq %rax, %rbx
jge .LBB0_5
.LBB0_6:
movq %rbx, %rax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_select_queue, .Lfunc_end0-bond_select_queue
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_select_queue
|
extr_bond_3ad.c_ad_clear_agg.c | .text
.file "extr_bond_3ad.c_ad_clear_agg.c"
.p2align 2 // -- Begin function ad_clear_agg
.type ad_clear_agg,@function
ad_clear_agg: // @ad_clear_agg
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #8]
str wzr, [x8]
ldr x8, [sp, #8]
str xzr, [x8, #80]
ldr x8, [sp, #8]
str xzr, [x8, #72]
adrp x8, null_mac_addr
ldr w8, [x8, :lo12:null_mac_addr]
ldr x9, [sp, #8]
str w8, [x9, #64]
ldr x8, [sp, #8]
str xzr, [x8, #56]
ldr x8, [sp, #8]
str xzr, [x8, #48]
ldr x8, [sp, #8]
str xzr, [x8, #40]
ldr x8, [sp, #8]
str xzr, [x8, #32]
ldr x8, [sp, #8]
// kill: def $x9 killed $xzr
str xzr, [x8, #24]
ldr x8, [sp, #8]
str xzr, [x8, #16]
ldr x8, [sp, #8]
str xzr, [x8, #8]
ldr x8, [sp, #8]
ldr w1, [x8, #4]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
b .LBB0_2
.LBB0_2:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_clear_agg, .Lfunc_end0-ad_clear_agg
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "LAG %d was cleared\n"
.size .L.str, 20
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_clear_agg
.addrsig_sym pr_debug
.addrsig_sym null_mac_addr
| .text
.file "extr_bond_3ad.c_ad_clear_agg.c"
.p2align 2 // -- Begin function ad_clear_agg
.type ad_clear_agg,@function
ad_clear_agg: // @ad_clear_agg
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_2
// %bb.1:
movi v0.2d, #0000000000000000
adrp x9, null_mac_addr
str wzr, [x0]
mov x8, x0
stp xzr, xzr, [x0, #72]
ldr w1, [x0, #4]
ldr w9, [x9, :lo12:null_mac_addr]
stur q0, [x0, #8]
stur q0, [x0, #24]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
str w9, [x8, #64]
stur q0, [x8, #40]
str xzr, [x8, #56]
b pr_debug
.LBB0_2:
ret
.Lfunc_end0:
.size ad_clear_agg, .Lfunc_end0-ad_clear_agg
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "LAG %d was cleared\n"
.size .L.str, 20
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_clear_agg
| .text
.file "extr_bond_3ad.c_ad_clear_agg.c"
.p2align 2 // -- Begin function ad_clear_agg
.type ad_clear_agg,@function
ad_clear_agg: // @ad_clear_agg
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_2
// %bb.1:
movi v0.2d, #0000000000000000
adrp x9, null_mac_addr
str wzr, [x0]
mov x8, x0
stp xzr, xzr, [x0, #72]
ldr w1, [x0, #4]
ldr w9, [x9, :lo12:null_mac_addr]
stur q0, [x0, #8]
stur q0, [x0, #24]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
str w9, [x8, #64]
stur q0, [x8, #40]
str xzr, [x8, #56]
b pr_debug
.LBB0_2:
ret
.Lfunc_end0:
.size ad_clear_agg, .Lfunc_end0-ad_clear_agg
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "LAG %d was cleared\n"
.size .L.str, 20
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_clear_agg
| .text
.file "extr_bond_3ad.c_ad_clear_agg.c"
.p2align 2 // -- Begin function ad_clear_agg
.type ad_clear_agg,@function
ad_clear_agg: // @ad_clear_agg
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_2
// %bb.1:
movi v0.2d, #0000000000000000
adrp x9, null_mac_addr
str wzr, [x0]
mov x8, x0
stp xzr, xzr, [x0, #72]
ldr w1, [x0, #4]
ldr w9, [x9, :lo12:null_mac_addr]
stur q0, [x0, #8]
stur q0, [x0, #24]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
str w9, [x8, #64]
stur q0, [x8, #40]
str xzr, [x8, #56]
b pr_debug
.LBB0_2:
ret
.Lfunc_end0:
.size ad_clear_agg, .Lfunc_end0-ad_clear_agg
.cfi_endproc
// -- End function
.type null_mac_addr,@object // @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.word 0 // 0x0
.size null_mac_addr, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "LAG %d was cleared\n"
.size .L.str, 20
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_clear_agg
| .text
.file "extr_bond_3ad.c_ad_clear_agg.c"
.p2align 4, 0x90 # -- Begin function ad_clear_agg
.type ad_clear_agg,@function
ad_clear_agg: # @ad_clear_agg
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
je .LBB0_2
# %bb.1:
movq -8(%rbp), %rax
movl $0, (%rax)
movq -8(%rbp), %rax
movq $0, 80(%rax)
movq -8(%rbp), %rax
movq $0, 72(%rax)
movl null_mac_addr(%rip), %ecx
movq -8(%rbp), %rax
movl %ecx, 64(%rax)
movq -8(%rbp), %rax
movq $0, 56(%rax)
movq -8(%rbp), %rax
movq $0, 48(%rax)
movq -8(%rbp), %rax
movq $0, 40(%rax)
movq -8(%rbp), %rax
movq $0, 32(%rax)
movq -8(%rbp), %rax
movq $0, 24(%rax)
movq -8(%rbp), %rax
movq $0, 16(%rax)
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
movl 4(%rax), %esi
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
.LBB0_2:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ad_clear_agg, .Lfunc_end0-ad_clear_agg
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "LAG %d was cleared\n"
.size .L.str, 20
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_clear_agg
.addrsig_sym pr_debug
.addrsig_sym null_mac_addr
| .text
.file "extr_bond_3ad.c_ad_clear_agg.c"
.p2align 4, 0x90 # -- Begin function ad_clear_agg
.type ad_clear_agg,@function
ad_clear_agg: # @ad_clear_agg
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_1
# %bb.2:
movl $0, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 72(%rdi)
movl null_mac_addr(%rip), %eax
movl %eax, 64(%rdi)
movups %xmm0, 8(%rdi)
movups %xmm0, 24(%rdi)
movups %xmm0, 40(%rdi)
movq $0, 56(%rdi)
movl 4(%rdi), %esi
leaq .L.str(%rip), %rdi
jmp pr_debug@PLT # TAILCALL
.LBB0_1:
retq
.Lfunc_end0:
.size ad_clear_agg, .Lfunc_end0-ad_clear_agg
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "LAG %d was cleared\n"
.size .L.str, 20
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_clear_agg
| .text
.file "extr_bond_3ad.c_ad_clear_agg.c"
.p2align 4, 0x90 # -- Begin function ad_clear_agg
.type ad_clear_agg,@function
ad_clear_agg: # @ad_clear_agg
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_1
# %bb.2:
movl $0, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 72(%rdi)
movl null_mac_addr(%rip), %eax
movl %eax, 64(%rdi)
movups %xmm0, 8(%rdi)
movups %xmm0, 24(%rdi)
movups %xmm0, 40(%rdi)
movq $0, 56(%rdi)
movl 4(%rdi), %esi
leaq .L.str(%rip), %rdi
jmp pr_debug@PLT # TAILCALL
.LBB0_1:
retq
.Lfunc_end0:
.size ad_clear_agg, .Lfunc_end0-ad_clear_agg
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "LAG %d was cleared\n"
.size .L.str, 20
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_clear_agg
| .text
.file "extr_bond_3ad.c_ad_clear_agg.c"
.p2align 4, 0x90 # -- Begin function ad_clear_agg
.type ad_clear_agg,@function
ad_clear_agg: # @ad_clear_agg
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_1
# %bb.2:
movl $0, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 72(%rdi)
movl null_mac_addr(%rip), %eax
movl %eax, 64(%rdi)
movups %xmm0, 8(%rdi)
movups %xmm0, 24(%rdi)
movups %xmm0, 40(%rdi)
movq $0, 56(%rdi)
movl 4(%rdi), %esi
leaq .L.str(%rip), %rdi
jmp pr_debug@PLT # TAILCALL
.LBB0_1:
retq
.Lfunc_end0:
.size ad_clear_agg, .Lfunc_end0-ad_clear_agg
.cfi_endproc
# -- End function
.type null_mac_addr,@object # @null_mac_addr
.bss
.globl null_mac_addr
.p2align 2, 0x0
null_mac_addr:
.long 0 # 0x0
.size null_mac_addr, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "LAG %d was cleared\n"
.size .L.str, 20
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_clear_agg
|
extr_bond_main.c_bond_register_arp.c | .text
.file "extr_bond_main.c_bond_register_arp.c"
.globl bond_register_arp // -- Begin function bond_register_arp
.p2align 2
.type bond_register_arp,@function
bond_register_arp: // @bond_register_arp
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
add x8, x8, #8
str x8, [sp]
ldr x8, [sp]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
b .LBB0_3
.LBB0_2:
adrp x8, ETH_P_ARP
ldr w0, [x8, :lo12:ETH_P_ARP]
bl htons
ldr x8, [sp]
str x0, [x8, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
ldr x9, [sp]
str w8, [x9, #4]
adrp x8, bond_arp_rcv
ldr w8, [x8, :lo12:bond_arp_rcv]
ldr x9, [sp]
str w8, [x9]
ldr x0, [sp]
bl dev_add_pack
b .LBB0_3
.LBB0_3:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_register_arp, .Lfunc_end0-bond_register_arp
.cfi_endproc
// -- End function
.type ETH_P_ARP,@object // @ETH_P_ARP
.bss
.globl ETH_P_ARP
.p2align 2, 0x0
ETH_P_ARP:
.word 0 // 0x0
.size ETH_P_ARP, 4
.type bond_arp_rcv,@object // @bond_arp_rcv
.globl bond_arp_rcv
.p2align 2, 0x0
bond_arp_rcv:
.word 0 // 0x0
.size bond_arp_rcv, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym htons
.addrsig_sym dev_add_pack
.addrsig_sym ETH_P_ARP
.addrsig_sym bond_arp_rcv
| .text
.file "extr_bond_main.c_bond_register_arp.c"
.globl bond_register_arp // -- Begin function bond_register_arp
.p2align 2
.type bond_register_arp,@function
bond_register_arp: // @bond_register_arp
.cfi_startproc
// %bb.0:
ldr x8, [x0, #16]
cbz x8, .LBB0_2
// %bb.1:
ret
.LBB0_2:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
adrp x8, ETH_P_ARP
mov x19, x0
ldr w0, [x8, :lo12:ETH_P_ARP]
bl htons
adrp x8, bond_arp_rcv
ldr w9, [x19]
str x0, [x19, #16]
ldr w8, [x8, :lo12:bond_arp_rcv]
str w9, [x19, #12]
str w8, [x19, #8]!
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b dev_add_pack
.Lfunc_end0:
.size bond_register_arp, .Lfunc_end0-bond_register_arp
.cfi_endproc
// -- End function
.type ETH_P_ARP,@object // @ETH_P_ARP
.bss
.globl ETH_P_ARP
.p2align 2, 0x0
ETH_P_ARP:
.word 0 // 0x0
.size ETH_P_ARP, 4
.type bond_arp_rcv,@object // @bond_arp_rcv
.globl bond_arp_rcv
.p2align 2, 0x0
bond_arp_rcv:
.word 0 // 0x0
.size bond_arp_rcv, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_main.c_bond_register_arp.c"
.globl bond_register_arp // -- Begin function bond_register_arp
.p2align 2
.type bond_register_arp,@function
bond_register_arp: // @bond_register_arp
.cfi_startproc
// %bb.0:
ldr x8, [x0, #16]
cbz x8, .LBB0_2
// %bb.1:
ret
.LBB0_2:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
adrp x8, ETH_P_ARP
mov x19, x0
ldr w0, [x8, :lo12:ETH_P_ARP]
bl htons
adrp x8, bond_arp_rcv
ldr w9, [x19]
str x0, [x19, #16]
ldr w8, [x8, :lo12:bond_arp_rcv]
str w9, [x19, #12]
str w8, [x19, #8]!
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b dev_add_pack
.Lfunc_end0:
.size bond_register_arp, .Lfunc_end0-bond_register_arp
.cfi_endproc
// -- End function
.type ETH_P_ARP,@object // @ETH_P_ARP
.bss
.globl ETH_P_ARP
.p2align 2, 0x0
ETH_P_ARP:
.word 0 // 0x0
.size ETH_P_ARP, 4
.type bond_arp_rcv,@object // @bond_arp_rcv
.globl bond_arp_rcv
.p2align 2, 0x0
bond_arp_rcv:
.word 0 // 0x0
.size bond_arp_rcv, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_main.c_bond_register_arp.c"
.globl bond_register_arp // -- Begin function bond_register_arp
.p2align 2
.type bond_register_arp,@function
bond_register_arp: // @bond_register_arp
.cfi_startproc
// %bb.0:
ldr x8, [x0, #16]
cbz x8, .LBB0_2
// %bb.1:
ret
.LBB0_2:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
adrp x8, ETH_P_ARP
mov x19, x0
ldr w0, [x8, :lo12:ETH_P_ARP]
bl htons
adrp x8, bond_arp_rcv
ldr w9, [x19]
str x0, [x19, #16]
ldr w8, [x8, :lo12:bond_arp_rcv]
str w9, [x19, #12]
str w8, [x19, #8]!
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b dev_add_pack
.Lfunc_end0:
.size bond_register_arp, .Lfunc_end0-bond_register_arp
.cfi_endproc
// -- End function
.type ETH_P_ARP,@object // @ETH_P_ARP
.bss
.globl ETH_P_ARP
.p2align 2, 0x0
ETH_P_ARP:
.word 0 // 0x0
.size ETH_P_ARP, 4
.type bond_arp_rcv,@object // @bond_arp_rcv
.globl bond_arp_rcv
.p2align 2, 0x0
bond_arp_rcv:
.word 0 // 0x0
.size bond_arp_rcv, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_main.c_bond_register_arp.c"
.globl bond_register_arp # -- Begin function bond_register_arp
.p2align 4, 0x90
.type bond_register_arp,@function
bond_register_arp: # @bond_register_arp
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je .LBB0_2
# %bb.1:
jmp .LBB0_3
.LBB0_2:
movl ETH_P_ARP(%rip), %edi
callq htons@PLT
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 4(%rax)
movl bond_arp_rcv(%rip), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rdi
callq dev_add_pack@PLT
.LBB0_3:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_register_arp, .Lfunc_end0-bond_register_arp
.cfi_endproc
# -- End function
.type ETH_P_ARP,@object # @ETH_P_ARP
.bss
.globl ETH_P_ARP
.p2align 2, 0x0
ETH_P_ARP:
.long 0 # 0x0
.size ETH_P_ARP, 4
.type bond_arp_rcv,@object # @bond_arp_rcv
.globl bond_arp_rcv
.p2align 2, 0x0
bond_arp_rcv:
.long 0 # 0x0
.size bond_arp_rcv, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym htons
.addrsig_sym dev_add_pack
.addrsig_sym ETH_P_ARP
.addrsig_sym bond_arp_rcv
| .text
.file "extr_bond_main.c_bond_register_arp.c"
.globl bond_register_arp # -- Begin function bond_register_arp
.p2align 4, 0x90
.type bond_register_arp,@function
bond_register_arp: # @bond_register_arp
.cfi_startproc
# %bb.0:
cmpq $0, 16(%rdi)
je .LBB0_2
# %bb.1:
retq
.LBB0_2:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
leaq 8(%rdi), %r14
movl ETH_P_ARP(%rip), %edi
callq htons@PLT
movq %rax, 16(%rbx)
movl (%rbx), %eax
movl %eax, 12(%rbx)
movl bond_arp_rcv(%rip), %eax
movl %eax, 8(%rbx)
movq %r14, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp dev_add_pack@PLT # TAILCALL
.Lfunc_end0:
.size bond_register_arp, .Lfunc_end0-bond_register_arp
.cfi_endproc
# -- End function
.type ETH_P_ARP,@object # @ETH_P_ARP
.bss
.globl ETH_P_ARP
.p2align 2, 0x0
ETH_P_ARP:
.long 0 # 0x0
.size ETH_P_ARP, 4
.type bond_arp_rcv,@object # @bond_arp_rcv
.globl bond_arp_rcv
.p2align 2, 0x0
bond_arp_rcv:
.long 0 # 0x0
.size bond_arp_rcv, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_main.c_bond_register_arp.c"
.globl bond_register_arp # -- Begin function bond_register_arp
.p2align 4, 0x90
.type bond_register_arp,@function
bond_register_arp: # @bond_register_arp
.cfi_startproc
# %bb.0:
cmpq $0, 16(%rdi)
je .LBB0_2
# %bb.1:
retq
.LBB0_2:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
leaq 8(%rdi), %r14
movl ETH_P_ARP(%rip), %edi
callq htons@PLT
movq %rax, 16(%rbx)
movl (%rbx), %eax
movl %eax, 12(%rbx)
movl bond_arp_rcv(%rip), %eax
movl %eax, 8(%rbx)
movq %r14, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp dev_add_pack@PLT # TAILCALL
.Lfunc_end0:
.size bond_register_arp, .Lfunc_end0-bond_register_arp
.cfi_endproc
# -- End function
.type ETH_P_ARP,@object # @ETH_P_ARP
.bss
.globl ETH_P_ARP
.p2align 2, 0x0
ETH_P_ARP:
.long 0 # 0x0
.size ETH_P_ARP, 4
.type bond_arp_rcv,@object # @bond_arp_rcv
.globl bond_arp_rcv
.p2align 2, 0x0
bond_arp_rcv:
.long 0 # 0x0
.size bond_arp_rcv, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_main.c_bond_register_arp.c"
.globl bond_register_arp # -- Begin function bond_register_arp
.p2align 4, 0x90
.type bond_register_arp,@function
bond_register_arp: # @bond_register_arp
.cfi_startproc
# %bb.0:
cmpq $0, 16(%rdi)
je .LBB0_2
# %bb.1:
retq
.LBB0_2:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
leaq 8(%rdi), %r14
movl ETH_P_ARP(%rip), %edi
callq htons@PLT
movq %rax, 16(%rbx)
movl (%rbx), %eax
movl %eax, 12(%rbx)
movl bond_arp_rcv(%rip), %eax
movl %eax, 8(%rbx)
movq %r14, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp dev_add_pack@PLT # TAILCALL
.Lfunc_end0:
.size bond_register_arp, .Lfunc_end0-bond_register_arp
.cfi_endproc
# -- End function
.type ETH_P_ARP,@object # @ETH_P_ARP
.bss
.globl ETH_P_ARP
.p2align 2, 0x0
ETH_P_ARP:
.long 0 # 0x0
.size ETH_P_ARP, 4
.type bond_arp_rcv,@object # @bond_arp_rcv
.globl bond_arp_rcv
.p2align 2, 0x0
bond_arp_rcv:
.long 0 # 0x0
.size bond_arp_rcv, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_bond_sysfs.c_bonding_show_ad_aggregator.c | .text
.file "extr_bond_sysfs.c_bonding_show_ad_aggregator.c"
.p2align 2 // -- Begin function bonding_show_ad_aggregator
.type bonding_show_ad_aggregator,@function
bonding_show_ad_aggregator: // @bonding_show_ad_aggregator
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur wzr, [x29, #-28]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp, #24]
ldr x8, [sp, #24]
ldr x8, [x8]
adrp x9, BOND_MODE_8023AD
ldr x9, [x9, :lo12:BOND_MODE_8023AD]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_5
b .LBB0_1
.LBB0_1:
ldur x8, [x29, #-24]
str x8, [sp, #8] // 8-byte Folded Spill
ldr x0, [sp, #24]
add x1, sp, #20
bl bond_3ad_get_active_agg_info
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
mov w8, wzr
str w8, [sp, #4] // 4-byte Folded Spill
b .LBB0_4
.LBB0_3:
ldr w8, [sp, #20]
str w8, [sp, #4] // 4-byte Folded Spill
b .LBB0_4
.LBB0_4:
ldr x0, [sp, #8] // 8-byte Folded Reload
ldr w2, [sp, #4] // 4-byte Folded Reload
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
stur w0, [x29, #-28]
b .LBB0_5
.LBB0_5:
ldur w0, [x29, #-28]
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_aggregator, .Lfunc_end0-bonding_show_ad_aggregator
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_aggregator
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym bond_3ad_get_active_agg_info
.addrsig_sym BOND_MODE_8023AD
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_aggregator.c"
.p2align 2 // -- Begin function bonding_show_ad_aggregator
.type bonding_show_ad_aggregator,@function
bonding_show_ad_aggregator: // @bonding_show_ad_aggregator
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
ldr w8, [x29, #28]
cmp x0, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
csel w2, w8, wzr, eq
bl sprintf
b .LBB0_3
.LBB0_2:
mov w0, wzr
.LBB0_3:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_aggregator, .Lfunc_end0-bonding_show_ad_aggregator
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_aggregator
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_aggregator.c"
.p2align 2 // -- Begin function bonding_show_ad_aggregator
.type bonding_show_ad_aggregator,@function
bonding_show_ad_aggregator: // @bonding_show_ad_aggregator
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
ldr w8, [x29, #28]
cmp x0, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
csel w2, w8, wzr, eq
bl sprintf
b .LBB0_3
.LBB0_2:
mov w0, wzr
.LBB0_3:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_aggregator, .Lfunc_end0-bonding_show_ad_aggregator
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_aggregator
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_aggregator.c"
.p2align 2 // -- Begin function bonding_show_ad_aggregator
.type bonding_show_ad_aggregator,@function
bonding_show_ad_aggregator: // @bonding_show_ad_aggregator
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
ldr w8, [x29, #28]
cmp x0, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
csel w2, w8, wzr, eq
bl sprintf
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
mov w0, wzr
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_aggregator, .Lfunc_end0-bonding_show_ad_aggregator
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_aggregator
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_aggregator.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_aggregator
.type bonding_show_ad_aggregator,@function
bonding_show_ad_aggregator: # @bonding_show_ad_aggregator
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl $0, -28(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq (%rax), %rax
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_5
# %bb.1:
movq -24(%rbp), %rax
movq %rax, -56(%rbp) # 8-byte Spill
movq -40(%rbp), %rdi
leaq -44(%rbp), %rsi
callq bond_3ad_get_active_agg_info@PLT
cmpq $0, %rax
je .LBB0_3
# %bb.2:
xorl %eax, %eax
movl %eax, -60(%rbp) # 4-byte Spill
jmp .LBB0_4
.LBB0_3:
movl -44(%rbp), %eax
movl %eax, -60(%rbp) # 4-byte Spill
.LBB0_4:
movq -56(%rbp), %rdi # 8-byte Reload
movl -60(%rbp), %edx # 4-byte Reload
leaq .L.str(%rip), %rsi
callq sprintf@PLT
movl %eax, -28(%rbp)
.LBB0_5:
movl -28(%rbp), %eax
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_ad_aggregator, .Lfunc_end0-bonding_show_ad_aggregator
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_aggregator
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym bond_3ad_get_active_agg_info
.addrsig_sym BOND_MODE_8023AD
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_aggregator.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_aggregator
.type bonding_show_ad_aggregator,@function
bonding_show_ad_aggregator: # @bonding_show_ad_aggregator
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq (%rax), %rdx
xorl %ecx, %ecx
cmpq BOND_MODE_8023AD(%rip), %rdx
jne .LBB0_4
# %bb.1:
leaq 12(%rsp), %rsi
movq %rax, %rdi
callq bond_3ad_get_active_agg_info@PLT
xorl %edx, %edx
testq %rax, %rax
jne .LBB0_3
# %bb.2:
movl 12(%rsp), %edx
.LBB0_3:
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
movl %eax, %ecx
.LBB0_4:
movl %ecx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_aggregator, .Lfunc_end0-bonding_show_ad_aggregator
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_aggregator
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_aggregator.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_aggregator
.type bonding_show_ad_aggregator,@function
bonding_show_ad_aggregator: # @bonding_show_ad_aggregator
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq (%rax), %rdx
xorl %ecx, %ecx
cmpq BOND_MODE_8023AD(%rip), %rdx
jne .LBB0_4
# %bb.1:
leaq 12(%rsp), %rsi
movq %rax, %rdi
callq bond_3ad_get_active_agg_info@PLT
xorl %edx, %edx
testq %rax, %rax
jne .LBB0_3
# %bb.2:
movl 12(%rsp), %edx
.LBB0_3:
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
movl %eax, %ecx
.LBB0_4:
movl %ecx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_aggregator, .Lfunc_end0-bonding_show_ad_aggregator
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_aggregator
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_aggregator.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_aggregator
.type bonding_show_ad_aggregator,@function
bonding_show_ad_aggregator: # @bonding_show_ad_aggregator
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq (%rax), %rdx
xorl %ecx, %ecx
cmpq BOND_MODE_8023AD(%rip), %rdx
jne .LBB0_4
# %bb.1:
leaq 12(%rsp), %rsi
movq %rax, %rdi
callq bond_3ad_get_active_agg_info@PLT
xorl %edx, %edx
testq %rax, %rax
jne .LBB0_3
# %bb.2:
movl 12(%rsp), %edx
.LBB0_3:
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
movl %eax, %ecx
.LBB0_4:
movl %ecx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_aggregator, .Lfunc_end0-bonding_show_ad_aggregator
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_aggregator
|
extr_bond_3ad.c_bond_3ad_get_active_agg_info.c | .text
.file "extr_bond_3ad.c_bond_3ad_get_active_agg_info.c"
.globl bond_3ad_get_active_agg_info // -- Begin function bond_3ad_get_active_agg_info
.p2align 2
.type bond_3ad_get_active_agg_info,@function
bond_3ad_get_active_agg_info: // @bond_3ad_get_active_agg_info
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] // 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
// kill: def $x8 killed $xzr
str xzr, [sp, #16]
ldur x0, [x29, #-16]
bl __get_first_port
str x0, [sp, #8]
b .LBB0_1
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_7
b .LBB0_2
.LBB0_2: // in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_5
b .LBB0_3
.LBB0_3: // in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x8, [x8, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_5
b .LBB0_4
.LBB0_4:
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp, #16]
b .LBB0_7
.LBB0_5: // in Loop: Header=BB0_1 Depth=1
b .LBB0_6
.LBB0_6: // in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #8]
bl __get_next_port
str x0, [sp, #8]
b .LBB0_1
.LBB0_7:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_9
b .LBB0_8
.LBB0_8:
ldr x8, [sp, #16]
ldr w8, [x8, #16]
ldr x9, [sp, #24]
str w8, [x9, #16]
ldr x8, [sp, #16]
ldr w8, [x8, #12]
ldr x9, [sp, #24]
str w8, [x9, #12]
ldr x8, [sp, #16]
ldr w8, [x8, #8]
ldr x9, [sp, #24]
str w8, [x9, #8]
ldr x8, [sp, #16]
ldr w8, [x8, #4]
ldr x9, [sp, #24]
str w8, [x9, #4]
ldr x8, [sp, #24]
ldr w0, [x8]
ldr x8, [sp, #16]
ldr w1, [x8]
adrp x8, ETH_ALEN
ldr w2, [x8, :lo12:ETH_ALEN]
bl memcpy
stur wzr, [x29, #-4]
b .LBB0_10
.LBB0_9:
mov w8, #-1 // =0xffffffff
stur w8, [x29, #-4]
b .LBB0_10
.LBB0_10:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 64
ldp x29, x30, [sp, #48] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_3ad_get_active_agg_info, .Lfunc_end0-bond_3ad_get_active_agg_info
.cfi_endproc
// -- End function
.type ETH_ALEN,@object // @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_first_port
.addrsig_sym __get_next_port
.addrsig_sym memcpy
.addrsig_sym ETH_ALEN
| .text
.file "extr_bond_3ad.c_bond_3ad_get_active_agg_info.c"
.globl bond_3ad_get_active_agg_info // -- Begin function bond_3ad_get_active_agg_info
.p2align 2
.type bond_3ad_get_active_agg_info,@function
bond_3ad_get_active_agg_info: // @bond_3ad_get_active_agg_info
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x1
bl __get_first_port
cbnz x0, .LBB0_3
.LBB0_1:
mov x8, xzr
b .LBB0_5
.LBB0_2: // in Loop: Header=BB0_3 Depth=1
bl __get_next_port
cbz x0, .LBB0_1
.LBB0_3: // =>This Inner Loop Header: Depth=1
ldr x8, [x0]
cbz x8, .LBB0_2
// %bb.4: // in Loop: Header=BB0_3 Depth=1
ldr x9, [x8, #24]
cbz x9, .LBB0_2
.LBB0_5:
cbz x8, .LBB0_7
// %bb.6:
ldp w10, w9, [x8, #12]
ldr w0, [x19]
stp w10, w9, [x19, #12]
adrp x10, ETH_ALEN
ldur x9, [x8, #4]
ldr w2, [x10, :lo12:ETH_ALEN]
stur x9, [x19, #4]
ldr w1, [x8]
bl memcpy
mov w0, wzr
b .LBB0_8
.LBB0_7:
mov w0, #-1 // =0xffffffff
.LBB0_8:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_3ad_get_active_agg_info, .Lfunc_end0-bond_3ad_get_active_agg_info
.cfi_endproc
// -- End function
.type ETH_ALEN,@object // @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_3ad.c_bond_3ad_get_active_agg_info.c"
.globl bond_3ad_get_active_agg_info // -- Begin function bond_3ad_get_active_agg_info
.p2align 2
.type bond_3ad_get_active_agg_info,@function
bond_3ad_get_active_agg_info: // @bond_3ad_get_active_agg_info
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x1
bl __get_first_port
cbnz x0, .LBB0_3
.LBB0_1:
mov w0, #-1 // =0xffffffff
b .LBB0_6
.LBB0_2: // in Loop: Header=BB0_3 Depth=1
bl __get_next_port
cbz x0, .LBB0_1
.LBB0_3: // =>This Inner Loop Header: Depth=1
ldr x8, [x0]
cbz x8, .LBB0_2
// %bb.4: // in Loop: Header=BB0_3 Depth=1
ldr x9, [x8, #24]
cbz x9, .LBB0_2
// %bb.5:
ldur q0, [x8, #4]
adrp x9, ETH_ALEN
ldr w0, [x19]
stur q0, [x19, #4]
ldr w2, [x9, :lo12:ETH_ALEN]
ldr w1, [x8]
bl memcpy
mov w0, wzr
.LBB0_6:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_3ad_get_active_agg_info, .Lfunc_end0-bond_3ad_get_active_agg_info
.cfi_endproc
// -- End function
.type ETH_ALEN,@object // @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_3ad.c_bond_3ad_get_active_agg_info.c"
.globl bond_3ad_get_active_agg_info // -- Begin function bond_3ad_get_active_agg_info
.p2align 2
.type bond_3ad_get_active_agg_info,@function
bond_3ad_get_active_agg_info: // @bond_3ad_get_active_agg_info
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x1
bl __get_first_port
cbnz x0, .LBB0_3
.LBB0_1:
mov w0, #-1 // =0xffffffff
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2: // in Loop: Header=BB0_3 Depth=1
.cfi_restore_state
bl __get_next_port
cbz x0, .LBB0_1
.LBB0_3: // =>This Inner Loop Header: Depth=1
ldr x8, [x0]
cbz x8, .LBB0_2
// %bb.4: // in Loop: Header=BB0_3 Depth=1
ldr x9, [x8, #24]
cbz x9, .LBB0_2
// %bb.5:
ldur q0, [x8, #4]
adrp x9, ETH_ALEN
ldr w0, [x19]
stur q0, [x19, #4]
ldr w2, [x9, :lo12:ETH_ALEN]
ldr w1, [x8]
bl memcpy
mov w0, wzr
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_3ad_get_active_agg_info, .Lfunc_end0-bond_3ad_get_active_agg_info
.cfi_endproc
// -- End function
.type ETH_ALEN,@object // @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.word 0 // 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_3ad.c_bond_3ad_get_active_agg_info.c"
.globl bond_3ad_get_active_agg_info # -- Begin function bond_3ad_get_active_agg_info
.p2align 4, 0x90
.type bond_3ad_get_active_agg_info,@function
bond_3ad_get_active_agg_info: # @bond_3ad_get_active_agg_info
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq $0, -32(%rbp)
movq -16(%rbp), %rdi
callq __get_first_port@PLT
movq %rax, -40(%rbp)
.LBB0_1: # =>This Inner Loop Header: Depth=1
cmpq $0, -40(%rbp)
je .LBB0_7
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
cmpq $0, (%rax)
je .LBB0_5
# %bb.3: # in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movq (%rax), %rax
cmpq $0, 24(%rax)
je .LBB0_5
# %bb.4:
movq -40(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
jmp .LBB0_7
.LBB0_5: # in Loop: Header=BB0_1 Depth=1
jmp .LBB0_6
.LBB0_6: # in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rdi
callq __get_next_port@PLT
movq %rax, -40(%rbp)
jmp .LBB0_1
.LBB0_7:
cmpq $0, -32(%rbp)
je .LBB0_9
# %bb.8:
movq -32(%rbp), %rax
movl 16(%rax), %ecx
movq -24(%rbp), %rax
movl %ecx, 16(%rax)
movq -32(%rbp), %rax
movl 12(%rax), %ecx
movq -24(%rbp), %rax
movl %ecx, 12(%rax)
movq -32(%rbp), %rax
movl 8(%rax), %ecx
movq -24(%rbp), %rax
movl %ecx, 8(%rax)
movq -32(%rbp), %rax
movl 4(%rax), %ecx
movq -24(%rbp), %rax
movl %ecx, 4(%rax)
movq -24(%rbp), %rax
movl (%rax), %edi
movq -32(%rbp), %rax
movl (%rax), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
movl $0, -4(%rbp)
jmp .LBB0_10
.LBB0_9:
movl $-1, -4(%rbp)
.LBB0_10:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_3ad_get_active_agg_info, .Lfunc_end0-bond_3ad_get_active_agg_info
.cfi_endproc
# -- End function
.type ETH_ALEN,@object # @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_first_port
.addrsig_sym __get_next_port
.addrsig_sym memcpy
.addrsig_sym ETH_ALEN
| .text
.file "extr_bond_3ad.c_bond_3ad_get_active_agg_info.c"
.globl bond_3ad_get_active_agg_info # -- Begin function bond_3ad_get_active_agg_info
.p2align 4, 0x90
.type bond_3ad_get_active_agg_info,@function
bond_3ad_get_active_agg_info: # @bond_3ad_get_active_agg_info
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rsi, %rbx
callq __get_first_port@PLT
jmp .LBB0_1
.p2align 4, 0x90
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
movq %rax, %rdi
callq __get_next_port@PLT
.LBB0_1: # =>This Inner Loop Header: Depth=1
testq %rax, %rax
je .LBB0_5
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movq (%rax), %rcx
testq %rcx, %rcx
je .LBB0_4
# %bb.3: # in Loop: Header=BB0_1 Depth=1
cmpq $0, 24(%rcx)
je .LBB0_4
# %bb.6:
testq %rcx, %rcx
je .LBB0_7
.LBB0_8:
movl 16(%rcx), %eax
movl %eax, 16(%rbx)
movl 12(%rcx), %eax
movl %eax, 12(%rbx)
movl 8(%rcx), %eax
movl %eax, 8(%rbx)
movl 4(%rcx), %eax
movl %eax, 4(%rbx)
movl (%rbx), %edi
movl (%rcx), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
xorl %eax, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_5:
.cfi_def_cfa_offset 16
xorl %ecx, %ecx
testq %rcx, %rcx
jne .LBB0_8
.LBB0_7:
movl $-1, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_3ad_get_active_agg_info, .Lfunc_end0-bond_3ad_get_active_agg_info
.cfi_endproc
# -- End function
.type ETH_ALEN,@object # @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_3ad.c_bond_3ad_get_active_agg_info.c"
.globl bond_3ad_get_active_agg_info # -- Begin function bond_3ad_get_active_agg_info
.p2align 4, 0x90
.type bond_3ad_get_active_agg_info,@function
bond_3ad_get_active_agg_info: # @bond_3ad_get_active_agg_info
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %rbp, -16
movq %rsi, %rbx
callq __get_first_port@PLT
movl $-1, %ebp
jmp .LBB0_1
.p2align 4, 0x90
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
movq %rax, %rdi
callq __get_next_port@PLT
.LBB0_1: # =>This Inner Loop Header: Depth=1
testq %rax, %rax
je .LBB0_6
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movq (%rax), %rcx
testq %rcx, %rcx
je .LBB0_4
# %bb.3: # in Loop: Header=BB0_1 Depth=1
cmpq $0, 24(%rcx)
je .LBB0_4
# %bb.5:
movups 4(%rcx), %xmm0
movups %xmm0, 4(%rbx)
movl (%rbx), %edi
movl (%rcx), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
xorl %ebp, %ebp
.LBB0_6:
movl %ebp, %eax
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_3ad_get_active_agg_info, .Lfunc_end0-bond_3ad_get_active_agg_info
.cfi_endproc
# -- End function
.type ETH_ALEN,@object # @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_3ad.c_bond_3ad_get_active_agg_info.c"
.globl bond_3ad_get_active_agg_info # -- Begin function bond_3ad_get_active_agg_info
.p2align 4, 0x90
.type bond_3ad_get_active_agg_info,@function
bond_3ad_get_active_agg_info: # @bond_3ad_get_active_agg_info
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %rbp, -16
movq %rsi, %rbx
callq __get_first_port@PLT
movl $-1, %ebp
jmp .LBB0_1
.p2align 4, 0x90
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
movq %rax, %rdi
callq __get_next_port@PLT
.LBB0_1: # =>This Inner Loop Header: Depth=1
testq %rax, %rax
je .LBB0_6
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movq (%rax), %rcx
testq %rcx, %rcx
je .LBB0_4
# %bb.3: # in Loop: Header=BB0_1 Depth=1
cmpq $0, 24(%rcx)
je .LBB0_4
# %bb.5:
movups 4(%rcx), %xmm0
movups %xmm0, 4(%rbx)
movl (%rbx), %edi
movl (%rcx), %esi
movl ETH_ALEN(%rip), %edx
callq memcpy@PLT
xorl %ebp, %ebp
.LBB0_6:
movl %ebp, %eax
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_3ad_get_active_agg_info, .Lfunc_end0-bond_3ad_get_active_agg_info
.cfi_endproc
# -- End function
.type ETH_ALEN,@object # @ETH_ALEN
.bss
.globl ETH_ALEN
.p2align 2, 0x0
ETH_ALEN:
.long 0 # 0x0
.size ETH_ALEN, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_bond_3ad.c___get_link_speed.c | .text
.file "extr_bond_3ad.c___get_link_speed.c"
.p2align 2 // -- Begin function __get_link_speed
.type __get_link_speed,@function
__get_link_speed: // @__get_link_speed
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8]
adrp x9, BOND_LINK_UP
ldr x9, [x9, :lo12:BOND_LINK_UP]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
str xzr, [sp, #8]
b .LBB0_10
.LBB0_2:
ldr x8, [sp, #16]
ldr w8, [x8, #8]
subs w8, w8, #128
mov w8, w8
// kill: def $x8 killed $w8
str x8, [sp] // 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, .LBB0_8
// %bb.3:
ldr x11, [sp] // 8-byte Folded Reload
adrp x10, .LJTI0_0
add x10, x10, :lo12:.LJTI0_0
.Ltmp0:
adr x8, .Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
.LBB0_4:
adrp x8, AD_LINK_SPEED_BITMASK_10MBPS
ldr x8, [x8, :lo12:AD_LINK_SPEED_BITMASK_10MBPS]
str x8, [sp, #8]
b .LBB0_9
.LBB0_5:
adrp x8, AD_LINK_SPEED_BITMASK_100MBPS
ldr x8, [x8, :lo12:AD_LINK_SPEED_BITMASK_100MBPS]
str x8, [sp, #8]
b .LBB0_9
.LBB0_6:
adrp x8, AD_LINK_SPEED_BITMASK_1000MBPS
ldr x8, [x8, :lo12:AD_LINK_SPEED_BITMASK_1000MBPS]
str x8, [sp, #8]
b .LBB0_9
.LBB0_7:
adrp x8, AD_LINK_SPEED_BITMASK_10000MBPS
ldr x8, [x8, :lo12:AD_LINK_SPEED_BITMASK_10000MBPS]
str x8, [sp, #8]
b .LBB0_9
.LBB0_8:
str xzr, [sp, #8]
b .LBB0_9
.LBB0_9:
b .LBB0_10
.LBB0_10:
ldur x8, [x29, #-8]
ldr w1, [x8]
ldr x2, [sp, #8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
ldr x0, [sp, #8]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __get_link_speed, .Lfunc_end0-__get_link_speed
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.word .LBB0_7-.Ltmp0
.word .LBB0_6-.Ltmp0
.word .LBB0_5-.Ltmp0
.word .LBB0_4-.Ltmp0
// -- End function
.type BOND_LINK_UP,@object // @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.xword 0 // 0x0
.size BOND_LINK_UP, 8
.type AD_LINK_SPEED_BITMASK_10MBPS,@object // @AD_LINK_SPEED_BITMASK_10MBPS
.globl AD_LINK_SPEED_BITMASK_10MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_10MBPS, 8
.type AD_LINK_SPEED_BITMASK_100MBPS,@object // @AD_LINK_SPEED_BITMASK_100MBPS
.globl AD_LINK_SPEED_BITMASK_100MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_100MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_100MBPS, 8
.type AD_LINK_SPEED_BITMASK_1000MBPS,@object // @AD_LINK_SPEED_BITMASK_1000MBPS
.globl AD_LINK_SPEED_BITMASK_1000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_1000MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_1000MBPS, 8
.type AD_LINK_SPEED_BITMASK_10000MBPS,@object // @AD_LINK_SPEED_BITMASK_10000MBPS
.globl AD_LINK_SPEED_BITMASK_10000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10000MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_10000MBPS, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Port %d Received link speed %d update from adapter\n"
.size .L.str, 52
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_link_speed
.addrsig_sym pr_debug
.addrsig_sym BOND_LINK_UP
.addrsig_sym AD_LINK_SPEED_BITMASK_10MBPS
.addrsig_sym AD_LINK_SPEED_BITMASK_100MBPS
.addrsig_sym AD_LINK_SPEED_BITMASK_1000MBPS
.addrsig_sym AD_LINK_SPEED_BITMASK_10000MBPS
| .text
.file "extr_bond_3ad.c___get_link_speed.c"
.p2align 2 // -- Begin function __get_link_speed
.type __get_link_speed,@function
__get_link_speed: // @__get_link_speed
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x9, BOND_LINK_UP
ldr x8, [x0, #8]
ldr x10, [x8]
ldr x9, [x9, :lo12:BOND_LINK_UP]
cmp x10, x9
b.ne .LBB0_4
// %bb.1:
ldr w8, [x8, #8]
sub w8, w8, #128
cmp w8, #3
b.hi .LBB0_4
// %bb.2:
adrp x9, .LJTI0_0
add x9, x9, :lo12:.LJTI0_0
adr x10, .LBB0_3
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_3:
adrp x8, AD_LINK_SPEED_BITMASK_10000MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_10000MBPS]
b .LBB0_5
.LBB0_4:
mov x19, xzr
.LBB0_5:
ldr w1, [x0]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
mov x2, x19
bl pr_debug
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_6:
.cfi_restore_state
adrp x8, AD_LINK_SPEED_BITMASK_1000MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_1000MBPS]
b .LBB0_5
.LBB0_7:
adrp x8, AD_LINK_SPEED_BITMASK_100MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_100MBPS]
b .LBB0_5
.LBB0_8:
adrp x8, AD_LINK_SPEED_BITMASK_10MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_10MBPS]
b .LBB0_5
.Lfunc_end0:
.size __get_link_speed, .Lfunc_end0-__get_link_speed
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_3-.LBB0_3)>>2
.byte (.LBB0_6-.LBB0_3)>>2
.byte (.LBB0_7-.LBB0_3)>>2
.byte (.LBB0_8-.LBB0_3)>>2
// -- End function
.type BOND_LINK_UP,@object // @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.xword 0 // 0x0
.size BOND_LINK_UP, 8
.type AD_LINK_SPEED_BITMASK_10MBPS,@object // @AD_LINK_SPEED_BITMASK_10MBPS
.globl AD_LINK_SPEED_BITMASK_10MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_10MBPS, 8
.type AD_LINK_SPEED_BITMASK_100MBPS,@object // @AD_LINK_SPEED_BITMASK_100MBPS
.globl AD_LINK_SPEED_BITMASK_100MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_100MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_100MBPS, 8
.type AD_LINK_SPEED_BITMASK_1000MBPS,@object // @AD_LINK_SPEED_BITMASK_1000MBPS
.globl AD_LINK_SPEED_BITMASK_1000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_1000MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_1000MBPS, 8
.type AD_LINK_SPEED_BITMASK_10000MBPS,@object // @AD_LINK_SPEED_BITMASK_10000MBPS
.globl AD_LINK_SPEED_BITMASK_10000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10000MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_10000MBPS, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Port %d Received link speed %d update from adapter\n"
.size .L.str, 52
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_link_speed
| .text
.file "extr_bond_3ad.c___get_link_speed.c"
.p2align 2 // -- Begin function __get_link_speed
.type __get_link_speed,@function
__get_link_speed: // @__get_link_speed
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x9, BOND_LINK_UP
ldr x8, [x0, #8]
ldr x10, [x8]
ldr x9, [x9, :lo12:BOND_LINK_UP]
cmp x10, x9
b.ne .LBB0_4
// %bb.1:
ldr w8, [x8, #8]
sub w8, w8, #128
cmp w8, #3
b.hi .LBB0_4
// %bb.2:
adrp x9, .LJTI0_0
add x9, x9, :lo12:.LJTI0_0
adr x10, .LBB0_3
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_3:
adrp x8, AD_LINK_SPEED_BITMASK_10000MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_10000MBPS]
b .LBB0_5
.LBB0_4:
mov x19, xzr
.LBB0_5:
ldr w1, [x0]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
mov x2, x19
bl pr_debug
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_6:
.cfi_restore_state
adrp x8, AD_LINK_SPEED_BITMASK_1000MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_1000MBPS]
b .LBB0_5
.LBB0_7:
adrp x8, AD_LINK_SPEED_BITMASK_100MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_100MBPS]
b .LBB0_5
.LBB0_8:
adrp x8, AD_LINK_SPEED_BITMASK_10MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_10MBPS]
b .LBB0_5
.Lfunc_end0:
.size __get_link_speed, .Lfunc_end0-__get_link_speed
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_3-.LBB0_3)>>2
.byte (.LBB0_6-.LBB0_3)>>2
.byte (.LBB0_7-.LBB0_3)>>2
.byte (.LBB0_8-.LBB0_3)>>2
// -- End function
.type BOND_LINK_UP,@object // @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.xword 0 // 0x0
.size BOND_LINK_UP, 8
.type AD_LINK_SPEED_BITMASK_10MBPS,@object // @AD_LINK_SPEED_BITMASK_10MBPS
.globl AD_LINK_SPEED_BITMASK_10MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_10MBPS, 8
.type AD_LINK_SPEED_BITMASK_100MBPS,@object // @AD_LINK_SPEED_BITMASK_100MBPS
.globl AD_LINK_SPEED_BITMASK_100MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_100MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_100MBPS, 8
.type AD_LINK_SPEED_BITMASK_1000MBPS,@object // @AD_LINK_SPEED_BITMASK_1000MBPS
.globl AD_LINK_SPEED_BITMASK_1000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_1000MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_1000MBPS, 8
.type AD_LINK_SPEED_BITMASK_10000MBPS,@object // @AD_LINK_SPEED_BITMASK_10000MBPS
.globl AD_LINK_SPEED_BITMASK_10000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10000MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_10000MBPS, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Port %d Received link speed %d update from adapter\n"
.size .L.str, 52
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_link_speed
| .text
.file "extr_bond_3ad.c___get_link_speed.c"
.p2align 2 // -- Begin function __get_link_speed
.type __get_link_speed,@function
__get_link_speed: // @__get_link_speed
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x9, BOND_LINK_UP
ldr x8, [x0, #8]
ldr x10, [x8]
ldr x9, [x9, :lo12:BOND_LINK_UP]
cmp x10, x9
b.ne .LBB0_4
// %bb.1:
ldr w8, [x8, #8]
sub w8, w8, #128
cmp w8, #3
b.hi .LBB0_4
// %bb.2:
adrp x9, .LJTI0_0
add x9, x9, :lo12:.LJTI0_0
adr x10, .LBB0_3
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_3:
adrp x8, AD_LINK_SPEED_BITMASK_10000MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_10000MBPS]
b .LBB0_5
.LBB0_4:
mov x19, xzr
.LBB0_5:
ldr w1, [x0]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
mov x2, x19
bl pr_debug
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_6:
.cfi_restore_state
adrp x8, AD_LINK_SPEED_BITMASK_1000MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_1000MBPS]
b .LBB0_5
.LBB0_7:
adrp x8, AD_LINK_SPEED_BITMASK_100MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_100MBPS]
b .LBB0_5
.LBB0_8:
adrp x8, AD_LINK_SPEED_BITMASK_10MBPS
ldr x19, [x8, :lo12:AD_LINK_SPEED_BITMASK_10MBPS]
b .LBB0_5
.Lfunc_end0:
.size __get_link_speed, .Lfunc_end0-__get_link_speed
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_3-.LBB0_3)>>2
.byte (.LBB0_6-.LBB0_3)>>2
.byte (.LBB0_7-.LBB0_3)>>2
.byte (.LBB0_8-.LBB0_3)>>2
// -- End function
.type BOND_LINK_UP,@object // @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.xword 0 // 0x0
.size BOND_LINK_UP, 8
.type AD_LINK_SPEED_BITMASK_10MBPS,@object // @AD_LINK_SPEED_BITMASK_10MBPS
.globl AD_LINK_SPEED_BITMASK_10MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_10MBPS, 8
.type AD_LINK_SPEED_BITMASK_100MBPS,@object // @AD_LINK_SPEED_BITMASK_100MBPS
.globl AD_LINK_SPEED_BITMASK_100MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_100MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_100MBPS, 8
.type AD_LINK_SPEED_BITMASK_1000MBPS,@object // @AD_LINK_SPEED_BITMASK_1000MBPS
.globl AD_LINK_SPEED_BITMASK_1000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_1000MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_1000MBPS, 8
.type AD_LINK_SPEED_BITMASK_10000MBPS,@object // @AD_LINK_SPEED_BITMASK_10000MBPS
.globl AD_LINK_SPEED_BITMASK_10000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10000MBPS:
.xword 0 // 0x0
.size AD_LINK_SPEED_BITMASK_10000MBPS, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Port %d Received link speed %d update from adapter\n"
.size .L.str, 52
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_link_speed
| .text
.file "extr_bond_3ad.c___get_link_speed.c"
.p2align 4, 0x90 # -- Begin function __get_link_speed
.type __get_link_speed,@function
__get_link_speed: # @__get_link_speed
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
cmpq BOND_LINK_UP(%rip), %rax
je .LBB0_2
# %bb.1:
movq $0, -24(%rbp)
jmp .LBB0_9
.LBB0_2:
movq -16(%rbp), %rax
movl 8(%rax), %eax
addl $-128, %eax
movl %eax, %ecx
movq %rcx, -32(%rbp) # 8-byte Spill
subl $3, %eax
ja .LBB0_7
# %bb.10:
movq -32(%rbp), %rax # 8-byte Reload
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_3:
movq AD_LINK_SPEED_BITMASK_10MBPS(%rip), %rax
movq %rax, -24(%rbp)
jmp .LBB0_8
.LBB0_4:
movq AD_LINK_SPEED_BITMASK_100MBPS(%rip), %rax
movq %rax, -24(%rbp)
jmp .LBB0_8
.LBB0_5:
movq AD_LINK_SPEED_BITMASK_1000MBPS(%rip), %rax
movq %rax, -24(%rbp)
jmp .LBB0_8
.LBB0_6:
movq AD_LINK_SPEED_BITMASK_10000MBPS(%rip), %rax
movq %rax, -24(%rbp)
jmp .LBB0_8
.LBB0_7:
movq $0, -24(%rbp)
.LBB0_8:
jmp .LBB0_9
.LBB0_9:
movq -8(%rbp), %rax
movl (%rax), %esi
movq -24(%rbp), %rdx
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size __get_link_speed, .Lfunc_end0-__get_link_speed
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_6-.LJTI0_0
.long .LBB0_5-.LJTI0_0
.long .LBB0_4-.LJTI0_0
.long .LBB0_3-.LJTI0_0
# -- End function
.type BOND_LINK_UP,@object # @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.quad 0 # 0x0
.size BOND_LINK_UP, 8
.type AD_LINK_SPEED_BITMASK_10MBPS,@object # @AD_LINK_SPEED_BITMASK_10MBPS
.globl AD_LINK_SPEED_BITMASK_10MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_10MBPS, 8
.type AD_LINK_SPEED_BITMASK_100MBPS,@object # @AD_LINK_SPEED_BITMASK_100MBPS
.globl AD_LINK_SPEED_BITMASK_100MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_100MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_100MBPS, 8
.type AD_LINK_SPEED_BITMASK_1000MBPS,@object # @AD_LINK_SPEED_BITMASK_1000MBPS
.globl AD_LINK_SPEED_BITMASK_1000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_1000MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_1000MBPS, 8
.type AD_LINK_SPEED_BITMASK_10000MBPS,@object # @AD_LINK_SPEED_BITMASK_10000MBPS
.globl AD_LINK_SPEED_BITMASK_10000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10000MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_10000MBPS, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Port %d Received link speed %d update from adapter\n"
.size .L.str, 52
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_link_speed
.addrsig_sym pr_debug
.addrsig_sym BOND_LINK_UP
.addrsig_sym AD_LINK_SPEED_BITMASK_10MBPS
.addrsig_sym AD_LINK_SPEED_BITMASK_100MBPS
.addrsig_sym AD_LINK_SPEED_BITMASK_1000MBPS
.addrsig_sym AD_LINK_SPEED_BITMASK_10000MBPS
| .text
.file "extr_bond_3ad.c___get_link_speed.c"
.p2align 4, 0x90 # -- Begin function __get_link_speed
.type __get_link_speed,@function
__get_link_speed: # @__get_link_speed
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq 8(%rdi), %rax
movq (%rax), %rcx
cmpq BOND_LINK_UP(%rip), %rcx
jne .LBB0_4
# %bb.1:
movl 8(%rax), %eax
addl $-128, %eax
cmpl $3, %eax
ja .LBB0_4
# %bb.2:
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_3:
movq AD_LINK_SPEED_BITMASK_10000MBPS(%rip), %rbx
jmp .LBB0_5
.LBB0_4:
xorl %ebx, %ebx
.LBB0_5:
movl (%rdi), %esi
leaq .L.str(%rip), %rdi
movq %rbx, %rdx
callq pr_debug@PLT
movq %rbx, %rax
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_7:
.cfi_def_cfa_offset 16
movq AD_LINK_SPEED_BITMASK_1000MBPS(%rip), %rbx
jmp .LBB0_5
.LBB0_8:
movq AD_LINK_SPEED_BITMASK_100MBPS(%rip), %rbx
jmp .LBB0_5
.LBB0_9:
movq AD_LINK_SPEED_BITMASK_10MBPS(%rip), %rbx
jmp .LBB0_5
.Lfunc_end0:
.size __get_link_speed, .Lfunc_end0-__get_link_speed
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_3-.LJTI0_0
.long .LBB0_7-.LJTI0_0
.long .LBB0_8-.LJTI0_0
.long .LBB0_9-.LJTI0_0
# -- End function
.type BOND_LINK_UP,@object # @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.quad 0 # 0x0
.size BOND_LINK_UP, 8
.type AD_LINK_SPEED_BITMASK_10MBPS,@object # @AD_LINK_SPEED_BITMASK_10MBPS
.globl AD_LINK_SPEED_BITMASK_10MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_10MBPS, 8
.type AD_LINK_SPEED_BITMASK_100MBPS,@object # @AD_LINK_SPEED_BITMASK_100MBPS
.globl AD_LINK_SPEED_BITMASK_100MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_100MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_100MBPS, 8
.type AD_LINK_SPEED_BITMASK_1000MBPS,@object # @AD_LINK_SPEED_BITMASK_1000MBPS
.globl AD_LINK_SPEED_BITMASK_1000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_1000MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_1000MBPS, 8
.type AD_LINK_SPEED_BITMASK_10000MBPS,@object # @AD_LINK_SPEED_BITMASK_10000MBPS
.globl AD_LINK_SPEED_BITMASK_10000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10000MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_10000MBPS, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Port %d Received link speed %d update from adapter\n"
.size .L.str, 52
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_link_speed
| .text
.file "extr_bond_3ad.c___get_link_speed.c"
.p2align 4, 0x90 # -- Begin function __get_link_speed
.type __get_link_speed,@function
__get_link_speed: # @__get_link_speed
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq 8(%rdi), %rax
movq (%rax), %rcx
cmpq BOND_LINK_UP(%rip), %rcx
jne .LBB0_4
# %bb.1:
movl 8(%rax), %eax
addl $-128, %eax
cmpl $3, %eax
ja .LBB0_4
# %bb.2:
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_3:
movq AD_LINK_SPEED_BITMASK_10000MBPS(%rip), %rbx
jmp .LBB0_5
.LBB0_4:
xorl %ebx, %ebx
.LBB0_5:
movl (%rdi), %esi
leaq .L.str(%rip), %rdi
movq %rbx, %rdx
callq pr_debug@PLT
movq %rbx, %rax
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_7:
.cfi_def_cfa_offset 16
movq AD_LINK_SPEED_BITMASK_1000MBPS(%rip), %rbx
jmp .LBB0_5
.LBB0_8:
movq AD_LINK_SPEED_BITMASK_100MBPS(%rip), %rbx
jmp .LBB0_5
.LBB0_9:
movq AD_LINK_SPEED_BITMASK_10MBPS(%rip), %rbx
jmp .LBB0_5
.Lfunc_end0:
.size __get_link_speed, .Lfunc_end0-__get_link_speed
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_3-.LJTI0_0
.long .LBB0_7-.LJTI0_0
.long .LBB0_8-.LJTI0_0
.long .LBB0_9-.LJTI0_0
# -- End function
.type BOND_LINK_UP,@object # @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.quad 0 # 0x0
.size BOND_LINK_UP, 8
.type AD_LINK_SPEED_BITMASK_10MBPS,@object # @AD_LINK_SPEED_BITMASK_10MBPS
.globl AD_LINK_SPEED_BITMASK_10MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_10MBPS, 8
.type AD_LINK_SPEED_BITMASK_100MBPS,@object # @AD_LINK_SPEED_BITMASK_100MBPS
.globl AD_LINK_SPEED_BITMASK_100MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_100MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_100MBPS, 8
.type AD_LINK_SPEED_BITMASK_1000MBPS,@object # @AD_LINK_SPEED_BITMASK_1000MBPS
.globl AD_LINK_SPEED_BITMASK_1000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_1000MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_1000MBPS, 8
.type AD_LINK_SPEED_BITMASK_10000MBPS,@object # @AD_LINK_SPEED_BITMASK_10000MBPS
.globl AD_LINK_SPEED_BITMASK_10000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10000MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_10000MBPS, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Port %d Received link speed %d update from adapter\n"
.size .L.str, 52
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_link_speed
| .text
.file "extr_bond_3ad.c___get_link_speed.c"
.p2align 4, 0x90 # -- Begin function __get_link_speed
.type __get_link_speed,@function
__get_link_speed: # @__get_link_speed
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq 8(%rdi), %rax
movq (%rax), %rcx
cmpq BOND_LINK_UP(%rip), %rcx
jne .LBB0_4
# %bb.1:
movl 8(%rax), %eax
addl $-128, %eax
cmpl $3, %eax
ja .LBB0_4
# %bb.2:
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_3:
movq AD_LINK_SPEED_BITMASK_10000MBPS(%rip), %rbx
jmp .LBB0_5
.LBB0_4:
xorl %ebx, %ebx
.LBB0_5:
movl (%rdi), %esi
leaq .L.str(%rip), %rdi
movq %rbx, %rdx
callq pr_debug@PLT
movq %rbx, %rax
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_7:
.cfi_def_cfa_offset 16
movq AD_LINK_SPEED_BITMASK_1000MBPS(%rip), %rbx
jmp .LBB0_5
.LBB0_8:
movq AD_LINK_SPEED_BITMASK_100MBPS(%rip), %rbx
jmp .LBB0_5
.LBB0_9:
movq AD_LINK_SPEED_BITMASK_10MBPS(%rip), %rbx
jmp .LBB0_5
.Lfunc_end0:
.size __get_link_speed, .Lfunc_end0-__get_link_speed
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_3-.LJTI0_0
.long .LBB0_7-.LJTI0_0
.long .LBB0_8-.LJTI0_0
.long .LBB0_9-.LJTI0_0
# -- End function
.type BOND_LINK_UP,@object # @BOND_LINK_UP
.bss
.globl BOND_LINK_UP
.p2align 3, 0x0
BOND_LINK_UP:
.quad 0 # 0x0
.size BOND_LINK_UP, 8
.type AD_LINK_SPEED_BITMASK_10MBPS,@object # @AD_LINK_SPEED_BITMASK_10MBPS
.globl AD_LINK_SPEED_BITMASK_10MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_10MBPS, 8
.type AD_LINK_SPEED_BITMASK_100MBPS,@object # @AD_LINK_SPEED_BITMASK_100MBPS
.globl AD_LINK_SPEED_BITMASK_100MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_100MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_100MBPS, 8
.type AD_LINK_SPEED_BITMASK_1000MBPS,@object # @AD_LINK_SPEED_BITMASK_1000MBPS
.globl AD_LINK_SPEED_BITMASK_1000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_1000MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_1000MBPS, 8
.type AD_LINK_SPEED_BITMASK_10000MBPS,@object # @AD_LINK_SPEED_BITMASK_10000MBPS
.globl AD_LINK_SPEED_BITMASK_10000MBPS
.p2align 3, 0x0
AD_LINK_SPEED_BITMASK_10000MBPS:
.quad 0 # 0x0
.size AD_LINK_SPEED_BITMASK_10000MBPS, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Port %d Received link speed %d update from adapter\n"
.size .L.str, 52
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __get_link_speed
|
extr_bond_sysfs.c_bonding_show_active_slave.c | .text
.file "extr_bond_sysfs.c_bonding_show_active_slave.c"
.p2align 2 // -- Begin function bonding_show_active_slave
.type bonding_show_active_slave,@function
bonding_show_active_slave: // @bonding_show_active_slave
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] // 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp, #8]
str wzr, [sp, #4]
ldr x8, [sp, #8]
add x0, x8, #4
bl read_lock
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldr x8, [sp, #8]
add x0, x8, #4
bl read_unlock
ldr x8, [sp, #8]
ldr w0, [x8]
bl USES_PRIMARY
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
ldr x0, [sp, #24]
ldr x8, [sp, #16]
ldr x8, [x8]
ldr x2, [x8]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
str w0, [sp, #4]
b .LBB0_3
.LBB0_3:
ldr w0, [sp, #4]
.cfi_def_cfa wsp, 64
ldp x29, x30, [sp, #48] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_active_slave, .Lfunc_end0-bonding_show_active_slave
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_active_slave
.addrsig_sym to_bond
.addrsig_sym read_lock
.addrsig_sym read_unlock
.addrsig_sym USES_PRIMARY
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_active_slave.c"
.p2align 2 // -- Begin function bonding_show_active_slave
.type bonding_show_active_slave,@function
bonding_show_active_slave: // @bonding_show_active_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
mov x19, x2
bl to_bond
add x21, x0, #4
mov x20, x0
mov x0, x21
bl read_lock
mov x0, x21
ldr x22, [x20, #8]
bl read_unlock
ldr w0, [x20]
bl USES_PRIMARY
cbz x0, .LBB0_3
// %bb.1:
cbz x22, .LBB0_3
// %bb.2:
ldr x8, [x22]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x2, [x8]
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b sprintf
.LBB0_3:
.cfi_restore_state
mov w0, wzr
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_active_slave, .Lfunc_end0-bonding_show_active_slave
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_active_slave
| .text
.file "extr_bond_sysfs.c_bonding_show_active_slave.c"
.p2align 2 // -- Begin function bonding_show_active_slave
.type bonding_show_active_slave,@function
bonding_show_active_slave: // @bonding_show_active_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
mov x19, x2
bl to_bond
add x21, x0, #4
mov x20, x0
mov x0, x21
bl read_lock
mov x0, x21
ldr x22, [x20, #8]
bl read_unlock
ldr w0, [x20]
bl USES_PRIMARY
cbz x0, .LBB0_3
// %bb.1:
cbz x22, .LBB0_3
// %bb.2:
ldr x8, [x22]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x2, [x8]
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b sprintf
.LBB0_3:
.cfi_restore_state
mov w0, wzr
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_active_slave, .Lfunc_end0-bonding_show_active_slave
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_active_slave
| .text
.file "extr_bond_sysfs.c_bonding_show_active_slave.c"
.p2align 2 // -- Begin function bonding_show_active_slave
.type bonding_show_active_slave,@function
bonding_show_active_slave: // @bonding_show_active_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
mov x19, x2
bl to_bond
add x21, x0, #4
mov x20, x0
mov x0, x21
bl read_lock
mov x0, x21
ldr x22, [x20, #8]
bl read_unlock
ldr w0, [x20]
bl USES_PRIMARY
cbz x0, .LBB0_3
// %bb.1:
cbz x22, .LBB0_3
// %bb.2:
ldr x8, [x22]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x2, [x8]
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
b sprintf
.LBB0_3:
.cfi_restore_state
mov w0, wzr
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_active_slave, .Lfunc_end0-bonding_show_active_slave
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_active_slave
| .text
.file "extr_bond_sysfs.c_bonding_show_active_slave.c"
.p2align 4, 0x90 # -- Begin function bonding_show_active_slave
.type bonding_show_active_slave,@function
bonding_show_active_slave: # @bonding_show_active_slave
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
movq -40(%rbp), %rdi
addq $4, %rdi
callq read_lock@PLT
movq -40(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movq -40(%rbp), %rdi
addq $4, %rdi
callq read_unlock@PLT
movq -40(%rbp), %rax
movl (%rax), %edi
callq USES_PRIMARY@PLT
cmpq $0, %rax
je .LBB0_3
# %bb.1:
cmpq $0, -32(%rbp)
je .LBB0_3
# %bb.2:
movq -24(%rbp), %rdi
movq -32(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
movl %eax, -44(%rbp)
.LBB0_3:
movl -44(%rbp), %eax
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_active_slave, .Lfunc_end0-bonding_show_active_slave
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_active_slave
.addrsig_sym to_bond
.addrsig_sym read_lock
.addrsig_sym read_unlock
.addrsig_sym USES_PRIMARY
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_active_slave.c"
.p2align 4, 0x90 # -- Begin function bonding_show_active_slave
.type bonding_show_active_slave,@function
bonding_show_active_slave: # @bonding_show_active_slave
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdx, %rbx
callq to_bond@PLT
movq %rax, %r14
leaq 4(%rax), %r15
movq %r15, %rdi
callq read_lock@PLT
movq 8(%r14), %r12
movq %r15, %rdi
callq read_unlock@PLT
movl (%r14), %edi
callq USES_PRIMARY@PLT
testq %rax, %rax
je .LBB0_2
# %bb.1:
testq %r12, %r12
je .LBB0_2
# %bb.3:
movq (%r12), %rax
movq (%rax), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.LBB0_2:
.cfi_def_cfa_offset 48
xorl %eax, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_active_slave, .Lfunc_end0-bonding_show_active_slave
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_active_slave
| .text
.file "extr_bond_sysfs.c_bonding_show_active_slave.c"
.p2align 4, 0x90 # -- Begin function bonding_show_active_slave
.type bonding_show_active_slave,@function
bonding_show_active_slave: # @bonding_show_active_slave
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdx, %rbx
callq to_bond@PLT
movq %rax, %r14
leaq 4(%rax), %r15
movq %r15, %rdi
callq read_lock@PLT
movq 8(%r14), %r12
movq %r15, %rdi
callq read_unlock@PLT
movl (%r14), %edi
callq USES_PRIMARY@PLT
testq %rax, %rax
je .LBB0_2
# %bb.1:
testq %r12, %r12
je .LBB0_2
# %bb.3:
movq (%r12), %rax
movq (%rax), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.LBB0_2:
.cfi_def_cfa_offset 48
xorl %eax, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_active_slave, .Lfunc_end0-bonding_show_active_slave
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_active_slave
| .text
.file "extr_bond_sysfs.c_bonding_show_active_slave.c"
.p2align 4, 0x90 # -- Begin function bonding_show_active_slave
.type bonding_show_active_slave,@function
bonding_show_active_slave: # @bonding_show_active_slave
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r12
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r12, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdx, %rbx
callq to_bond@PLT
movq %rax, %r14
leaq 4(%rax), %r15
movq %r15, %rdi
callq read_lock@PLT
movq 8(%r14), %r12
movq %r15, %rdi
callq read_unlock@PLT
movl (%r14), %edi
callq USES_PRIMARY@PLT
testq %rax, %rax
je .LBB0_2
# %bb.1:
testq %r12, %r12
je .LBB0_2
# %bb.3:
movq (%r12), %rax
movq (%rax), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.LBB0_2:
.cfi_def_cfa_offset 48
xorl %eax, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r12
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_active_slave, .Lfunc_end0-bonding_show_active_slave
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_active_slave
|
extr_bond_ipv6.c_bond_unregister_ipv6_notifier.c | .text
.file "extr_bond_ipv6.c_bond_unregister_ipv6_notifier.c"
.globl bond_unregister_ipv6_notifier // -- Begin function bond_unregister_ipv6_notifier
.p2align 2
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: // @bond_unregister_ipv6_notifier
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, bond_inet6addr_notifier
add x0, x0, :lo12:bond_inet6addr_notifier
bl unregister_inet6addr_notifier
.cfi_def_cfa wsp, 16
ldp x29, x30, [sp], #16 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
// -- End function
.type bond_inet6addr_notifier,@object // @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.word 0 // 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym unregister_inet6addr_notifier
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_unregister_ipv6_notifier.c"
.globl bond_unregister_ipv6_notifier // -- Begin function bond_unregister_ipv6_notifier
.p2align 2
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: // @bond_unregister_ipv6_notifier
.cfi_startproc
// %bb.0:
adrp x0, bond_inet6addr_notifier
add x0, x0, :lo12:bond_inet6addr_notifier
b unregister_inet6addr_notifier
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
// -- End function
.type bond_inet6addr_notifier,@object // @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.word 0 // 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_unregister_ipv6_notifier.c"
.globl bond_unregister_ipv6_notifier // -- Begin function bond_unregister_ipv6_notifier
.p2align 2
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: // @bond_unregister_ipv6_notifier
.cfi_startproc
// %bb.0:
adrp x0, bond_inet6addr_notifier
add x0, x0, :lo12:bond_inet6addr_notifier
b unregister_inet6addr_notifier
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
// -- End function
.type bond_inet6addr_notifier,@object // @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.word 0 // 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_unregister_ipv6_notifier.c"
.globl bond_unregister_ipv6_notifier // -- Begin function bond_unregister_ipv6_notifier
.p2align 2
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: // @bond_unregister_ipv6_notifier
.cfi_startproc
// %bb.0:
adrp x0, bond_inet6addr_notifier
add x0, x0, :lo12:bond_inet6addr_notifier
b unregister_inet6addr_notifier
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
// -- End function
.type bond_inet6addr_notifier,@object // @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.word 0 // 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_unregister_ipv6_notifier.c"
.globl bond_unregister_ipv6_notifier # -- Begin function bond_unregister_ipv6_notifier
.p2align 4, 0x90
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: # @bond_unregister_ipv6_notifier
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq bond_inet6addr_notifier(%rip), %rdi
callq unregister_inet6addr_notifier@PLT
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
# -- End function
.type bond_inet6addr_notifier,@object # @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.long 0 # 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym unregister_inet6addr_notifier
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_unregister_ipv6_notifier.c"
.globl bond_unregister_ipv6_notifier # -- Begin function bond_unregister_ipv6_notifier
.p2align 4, 0x90
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: # @bond_unregister_ipv6_notifier
.cfi_startproc
# %bb.0:
leaq bond_inet6addr_notifier(%rip), %rdi
jmp unregister_inet6addr_notifier@PLT # TAILCALL
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
# -- End function
.type bond_inet6addr_notifier,@object # @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.long 0 # 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_unregister_ipv6_notifier.c"
.globl bond_unregister_ipv6_notifier # -- Begin function bond_unregister_ipv6_notifier
.p2align 4, 0x90
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: # @bond_unregister_ipv6_notifier
.cfi_startproc
# %bb.0:
leaq bond_inet6addr_notifier(%rip), %rdi
jmp unregister_inet6addr_notifier@PLT # TAILCALL
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
# -- End function
.type bond_inet6addr_notifier,@object # @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.long 0 # 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_unregister_ipv6_notifier.c"
.globl bond_unregister_ipv6_notifier # -- Begin function bond_unregister_ipv6_notifier
.p2align 4, 0x90
.type bond_unregister_ipv6_notifier,@function
bond_unregister_ipv6_notifier: # @bond_unregister_ipv6_notifier
.cfi_startproc
# %bb.0:
leaq bond_inet6addr_notifier(%rip), %rdi
jmp unregister_inet6addr_notifier@PLT # TAILCALL
.Lfunc_end0:
.size bond_unregister_ipv6_notifier, .Lfunc_end0-bond_unregister_ipv6_notifier
.cfi_endproc
# -- End function
.type bond_inet6addr_notifier,@object # @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.long 0 # 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
|
extr_bond_sysfs.c_bonding_show_n_unsol_na.c | .text
.file "extr_bond_sysfs.c_bonding_show_n_unsol_na.c"
.p2align 2 // -- Begin function bonding_show_n_unsol_na
.type bonding_show_n_unsol_na,@function
bonding_show_n_unsol_na: // @bonding_show_n_unsol_na
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp]
ldr x0, [sp, #8]
ldr x8, [sp]
ldr w2, [x8]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_n_unsol_na, .Lfunc_end0-bonding_show_n_unsol_na
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_unsol_na
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_n_unsol_na.c"
.p2align 2 // -- Begin function bonding_show_n_unsol_na
.type bonding_show_n_unsol_na,@function
bonding_show_n_unsol_na: // @bonding_show_n_unsol_na
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_n_unsol_na, .Lfunc_end0-bonding_show_n_unsol_na
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_unsol_na
| .text
.file "extr_bond_sysfs.c_bonding_show_n_unsol_na.c"
.p2align 2 // -- Begin function bonding_show_n_unsol_na
.type bonding_show_n_unsol_na,@function
bonding_show_n_unsol_na: // @bonding_show_n_unsol_na
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_n_unsol_na, .Lfunc_end0-bonding_show_n_unsol_na
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_unsol_na
| .text
.file "extr_bond_sysfs.c_bonding_show_n_unsol_na.c"
.p2align 2 // -- Begin function bonding_show_n_unsol_na
.type bonding_show_n_unsol_na,@function
bonding_show_n_unsol_na: // @bonding_show_n_unsol_na
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_n_unsol_na, .Lfunc_end0-bonding_show_n_unsol_na
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_unsol_na
| .text
.file "extr_bond_sysfs.c_bonding_show_n_unsol_na.c"
.p2align 4, 0x90 # -- Begin function bonding_show_n_unsol_na
.type bonding_show_n_unsol_na,@function
bonding_show_n_unsol_na: # @bonding_show_n_unsol_na
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -32(%rbp)
movq -24(%rbp), %rdi
movq -32(%rbp), %rax
movl (%rax), %edx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_n_unsol_na, .Lfunc_end0-bonding_show_n_unsol_na
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_unsol_na
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_n_unsol_na.c"
.p2align 4, 0x90 # -- Begin function bonding_show_n_unsol_na
.type bonding_show_n_unsol_na,@function
bonding_show_n_unsol_na: # @bonding_show_n_unsol_na
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_n_unsol_na, .Lfunc_end0-bonding_show_n_unsol_na
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_unsol_na
| .text
.file "extr_bond_sysfs.c_bonding_show_n_unsol_na.c"
.p2align 4, 0x90 # -- Begin function bonding_show_n_unsol_na
.type bonding_show_n_unsol_na,@function
bonding_show_n_unsol_na: # @bonding_show_n_unsol_na
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_n_unsol_na, .Lfunc_end0-bonding_show_n_unsol_na
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_unsol_na
| .text
.file "extr_bond_sysfs.c_bonding_show_n_unsol_na.c"
.p2align 4, 0x90 # -- Begin function bonding_show_n_unsol_na
.type bonding_show_n_unsol_na,@function
bonding_show_n_unsol_na: # @bonding_show_n_unsol_na
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_n_unsol_na, .Lfunc_end0-bonding_show_n_unsol_na
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_n_unsol_na
|
extr_bond_main.c_bond_neigh_setup.c | .text
.file "extr_bond_main.c_bond_neigh_setup.c"
.p2align 2 // -- Begin function bond_neigh_setup
.type bond_neigh_setup,@function
bond_neigh_setup: // @bond_neigh_setup
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] // 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
ldur x0, [x29, #-16]
bl netdev_priv
str x0, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x8, [x8]
str x8, [sp]
ldr x8, [sp]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
ldr x8, [sp]
ldr x8, [x8]
ldr x9, [sp, #8]
ldr x0, [x9]
ldr x1, [sp, #24]
blr x8
stur w0, [x29, #-4]
b .LBB0_5
.LBB0_3:
b .LBB0_4
.LBB0_4:
stur wzr, [x29, #-4]
b .LBB0_5
.LBB0_5:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 64
ldp x29, x30, [sp, #48] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_neigh_setup, .Lfunc_end0-bond_neigh_setup
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_neigh_setup
.addrsig_sym netdev_priv
| .text
.file "extr_bond_main.c_bond_neigh_setup.c"
.p2align 2 // -- Begin function bond_neigh_setup
.type bond_neigh_setup,@function
bond_neigh_setup: // @bond_neigh_setup
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x1
bl netdev_priv
ldr x8, [x0]
cbz x8, .LBB0_3
// %bb.1:
ldr x0, [x8]
ldr x8, [x0]
ldr x20, [x8]
cbz x20, .LBB0_5
// %bb.2:
mov x1, x19
blr x20
cbnz x20, .LBB0_4
.LBB0_3:
mov w0, wzr
.LBB0_4:
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
// implicit-def: $w0
cbnz x20, .LBB0_4
b .LBB0_3
.Lfunc_end0:
.size bond_neigh_setup, .Lfunc_end0-bond_neigh_setup
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_neigh_setup
| .text
.file "extr_bond_main.c_bond_neigh_setup.c"
.p2align 2 // -- Begin function bond_neigh_setup
.type bond_neigh_setup,@function
bond_neigh_setup: // @bond_neigh_setup
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x1
bl netdev_priv
ldr x8, [x0]
cbz x8, .LBB0_3
// %bb.1:
ldr x0, [x8]
ldr x8, [x0]
ldr x2, [x8]
cbz x2, .LBB0_3
// %bb.2:
mov x1, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
br x2
.LBB0_3:
.cfi_restore_state
mov w0, wzr
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_neigh_setup, .Lfunc_end0-bond_neigh_setup
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_neigh_setup
| .text
.file "extr_bond_main.c_bond_neigh_setup.c"
.p2align 2 // -- Begin function bond_neigh_setup
.type bond_neigh_setup,@function
bond_neigh_setup: // @bond_neigh_setup
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x1
bl netdev_priv
ldr x8, [x0]
cbz x8, .LBB0_3
// %bb.1:
ldr x0, [x8]
ldr x8, [x0]
ldr x2, [x8]
cbz x2, .LBB0_3
// %bb.2:
mov x1, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
br x2
.LBB0_3:
.cfi_restore_state
mov w0, wzr
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_neigh_setup, .Lfunc_end0-bond_neigh_setup
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_neigh_setup
| .text
.file "extr_bond_main.c_bond_neigh_setup.c"
.p2align 4, 0x90 # -- Begin function bond_neigh_setup
.type bond_neigh_setup,@function
bond_neigh_setup: # @bond_neigh_setup
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rdi
callq netdev_priv@PLT
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
je .LBB0_4
# %bb.1:
movq -40(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
cmpq $0, (%rax)
je .LBB0_3
# %bb.2:
movq -48(%rbp), %rax
movq (%rax), %rax
movq -40(%rbp), %rcx
movq (%rcx), %rdi
movq -24(%rbp), %rsi
callq *%rax
movl %eax, -4(%rbp)
jmp .LBB0_5
.LBB0_3:
jmp .LBB0_4
.LBB0_4:
movl $0, -4(%rbp)
.LBB0_5:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_neigh_setup, .Lfunc_end0-bond_neigh_setup
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_neigh_setup
.addrsig_sym netdev_priv
| .text
.file "extr_bond_main.c_bond_neigh_setup.c"
.p2align 4, 0x90 # -- Begin function bond_neigh_setup
.type bond_neigh_setup,@function
bond_neigh_setup: # @bond_neigh_setup
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
callq netdev_priv@PLT
movq (%rax), %rax
testq %rax, %rax
je .LBB0_5
# %bb.1:
movq (%rax), %rdi
movq (%rdi), %rax
movq (%rax), %r14
testq %r14, %r14
je .LBB0_2
# %bb.3:
movq %rbx, %rsi
callq *%r14
testq %r14, %r14
jne .LBB0_6
.LBB0_5:
xorl %eax, %eax
.LBB0_6:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.LBB0_2:
.cfi_def_cfa_offset 32
# implicit-def: $eax
testq %r14, %r14
jne .LBB0_6
jmp .LBB0_5
.Lfunc_end0:
.size bond_neigh_setup, .Lfunc_end0-bond_neigh_setup
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_neigh_setup
| .text
.file "extr_bond_main.c_bond_neigh_setup.c"
.p2align 4, 0x90 # -- Begin function bond_neigh_setup
.type bond_neigh_setup,@function
bond_neigh_setup: # @bond_neigh_setup
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rsi, %rbx
callq netdev_priv@PLT
movq (%rax), %rax
testq %rax, %rax
je .LBB0_2
# %bb.1:
movq (%rax), %rdi
movq (%rdi), %rax
movq (%rax), %rax
testq %rax, %rax
je .LBB0_2
# %bb.3:
movq %rbx, %rsi
popq %rbx
.cfi_def_cfa_offset 8
jmpq *%rax # TAILCALL
.LBB0_2:
.cfi_def_cfa_offset 16
xorl %eax, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_neigh_setup, .Lfunc_end0-bond_neigh_setup
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_neigh_setup
| .text
.file "extr_bond_main.c_bond_neigh_setup.c"
.p2align 4, 0x90 # -- Begin function bond_neigh_setup
.type bond_neigh_setup,@function
bond_neigh_setup: # @bond_neigh_setup
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rsi, %rbx
callq netdev_priv@PLT
movq (%rax), %rax
testq %rax, %rax
je .LBB0_2
# %bb.1:
movq (%rax), %rdi
movq (%rdi), %rax
movq (%rax), %rax
testq %rax, %rax
je .LBB0_2
# %bb.3:
movq %rbx, %rsi
popq %rbx
.cfi_def_cfa_offset 8
jmpq *%rax # TAILCALL
.LBB0_2:
.cfi_def_cfa_offset 16
xorl %eax, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_neigh_setup, .Lfunc_end0-bond_neigh_setup
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_neigh_setup
|
extr_bond_sysfs.c_bonding_show_mii_status.c | .text
.file "extr_bond_sysfs.c_bonding_show_mii_status.c"
.p2align 2 // -- Begin function bonding_show_mii_status
.type bonding_show_mii_status,@function
bonding_show_mii_status: // @bonding_show_mii_status
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] // 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp, #8]
ldr x0, [sp, #8]
bl read_lock
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldr x0, [sp, #8]
bl read_unlock
ldr x0, [sp, #24]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w10, ne
adrp x9, .L.str.2
add x9, x9, :lo12:.L.str.2
adrp x8, .L.str.1
add x8, x8, :lo12:.L.str.1
and w10, w10, #0x1
ands w10, w10, #0x1
csel x2, x8, x9, ne
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
.cfi_def_cfa wsp, 64
ldp x29, x30, [sp, #48] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_mii_status, .Lfunc_end0-bonding_show_mii_status
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "up"
.size .L.str.1, 3
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "down"
.size .L.str.2, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_mii_status
.addrsig_sym to_bond
.addrsig_sym read_lock
.addrsig_sym read_unlock
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_mii_status.c"
.p2align 2 // -- Begin function bonding_show_mii_status
.type bonding_show_mii_status,@function
bonding_show_mii_status: // @bonding_show_mii_status
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x19, x2
bl to_bond
mov x20, x0
bl read_lock
mov x0, x20
ldr x21, [x20, #8]
bl read_unlock
adrp x8, .L.str.1
add x8, x8, :lo12:.L.str.1
adrp x9, .L.str.2
add x9, x9, :lo12:.L.str.2
cmp x21, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
csel x2, x9, x8, eq
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_mii_status, .Lfunc_end0-bonding_show_mii_status
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "up"
.size .L.str.1, 3
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "down"
.size .L.str.2, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_mii_status
| .text
.file "extr_bond_sysfs.c_bonding_show_mii_status.c"
.p2align 2 // -- Begin function bonding_show_mii_status
.type bonding_show_mii_status,@function
bonding_show_mii_status: // @bonding_show_mii_status
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x19, x2
bl to_bond
mov x20, x0
bl read_lock
mov x0, x20
ldr x21, [x20, #8]
bl read_unlock
adrp x8, .L.str.1
add x8, x8, :lo12:.L.str.1
adrp x9, .L.str.2
add x9, x9, :lo12:.L.str.2
cmp x21, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
csel x2, x9, x8, eq
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_mii_status, .Lfunc_end0-bonding_show_mii_status
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "up"
.size .L.str.1, 3
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "down"
.size .L.str.2, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_mii_status
| .text
.file "extr_bond_sysfs.c_bonding_show_mii_status.c"
.p2align 2 // -- Begin function bonding_show_mii_status
.type bonding_show_mii_status,@function
bonding_show_mii_status: // @bonding_show_mii_status
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x19, x2
bl to_bond
mov x20, x0
bl read_lock
mov x0, x20
ldr x21, [x20, #8]
bl read_unlock
adrp x8, .L.str.1
add x8, x8, :lo12:.L.str.1
adrp x9, .L.str.2
add x9, x9, :lo12:.L.str.2
cmp x21, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
csel x2, x9, x8, eq
mov x0, x19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_mii_status, .Lfunc_end0-bonding_show_mii_status
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "up"
.size .L.str.1, 3
.type .L.str.2,@object // @.str.2
.L.str.2:
.asciz "down"
.size .L.str.2, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_mii_status
| .text
.file "extr_bond_sysfs.c_bonding_show_mii_status.c"
.p2align 4, 0x90 # -- Begin function bonding_show_mii_status
.type bonding_show_mii_status,@function
bonding_show_mii_status: # @bonding_show_mii_status
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
callq read_lock@PLT
movq -40(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movq -40(%rbp), %rdi
callq read_unlock@PLT
movq -24(%rbp), %rdi
movq -32(%rbp), %rcx
leaq .L.str.2(%rip), %rdx
leaq .L.str.1(%rip), %rax
cmpq $0, %rcx
cmovneq %rax, %rdx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_mii_status, .Lfunc_end0-bonding_show_mii_status
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "up"
.size .L.str.1, 3
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "down"
.size .L.str.2, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_mii_status
.addrsig_sym to_bond
.addrsig_sym read_lock
.addrsig_sym read_unlock
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_mii_status.c"
.p2align 4, 0x90 # -- Begin function bonding_show_mii_status
.type bonding_show_mii_status,@function
bonding_show_mii_status: # @bonding_show_mii_status
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdx, %rbx
callq to_bond@PLT
movq %rax, %r14
movq %rax, %rdi
callq read_lock@PLT
cmpq $0, 8(%r14)
leaq .L.str.2(%rip), %rax
leaq .L.str.1(%rip), %r15
cmoveq %rax, %r15
movq %r14, %rdi
callq read_unlock@PLT
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
movq %r15, %rdx
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_mii_status, .Lfunc_end0-bonding_show_mii_status
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "up"
.size .L.str.1, 3
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "down"
.size .L.str.2, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_mii_status
| .text
.file "extr_bond_sysfs.c_bonding_show_mii_status.c"
.p2align 4, 0x90 # -- Begin function bonding_show_mii_status
.type bonding_show_mii_status,@function
bonding_show_mii_status: # @bonding_show_mii_status
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdx, %rbx
callq to_bond@PLT
movq %rax, %r14
movq %rax, %rdi
callq read_lock@PLT
cmpq $0, 8(%r14)
leaq .L.str.2(%rip), %rax
leaq .L.str.1(%rip), %r15
cmoveq %rax, %r15
movq %r14, %rdi
callq read_unlock@PLT
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
movq %r15, %rdx
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_mii_status, .Lfunc_end0-bonding_show_mii_status
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "up"
.size .L.str.1, 3
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "down"
.size .L.str.2, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_mii_status
| .text
.file "extr_bond_sysfs.c_bonding_show_mii_status.c"
.p2align 4, 0x90 # -- Begin function bonding_show_mii_status
.type bonding_show_mii_status,@function
bonding_show_mii_status: # @bonding_show_mii_status
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %rdx, %rbx
callq to_bond@PLT
movq %rax, %r14
movq %rax, %rdi
callq read_lock@PLT
cmpq $0, 8(%r14)
leaq .L.str.2(%rip), %rax
leaq .L.str.1(%rip), %r15
cmoveq %rax, %r15
movq %r14, %rdi
callq read_unlock@PLT
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
movq %r15, %rdx
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_mii_status, .Lfunc_end0-bonding_show_mii_status
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s\n"
.size .L.str, 4
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "up"
.size .L.str.1, 3
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "down"
.size .L.str.2, 5
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_mii_status
|
extr_bond_sysfs.c_bonding_show_arp_validate.c | .text
.file "extr_bond_sysfs.c_bonding_show_arp_validate.c"
.p2align 2 // -- Begin function bonding_show_arp_validate
.type bonding_show_arp_validate,@function
bonding_show_arp_validate: // @bonding_show_arp_validate
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp]
ldr x0, [sp, #8]
adrp x8, arp_validate_tbl
ldr x8, [x8, :lo12:arp_validate_tbl]
ldr x9, [sp]
ldr x9, [x9]
ldr x2, [x8, x9, lsl #3]
ldr x8, [sp]
ldr x3, [x8]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_arp_validate, .Lfunc_end0-bonding_show_arp_validate
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type arp_validate_tbl,@object // @arp_validate_tbl
.bss
.globl arp_validate_tbl
.p2align 3, 0x0
arp_validate_tbl:
.xword 0
.size arp_validate_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_validate
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym arp_validate_tbl
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_validate.c"
.p2align 2 // -- Begin function bonding_show_arp_validate
.type bonding_show_arp_validate,@function
bonding_show_arp_validate: // @bonding_show_arp_validate
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, arp_validate_tbl
ldr x3, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x8, [x8, :lo12:arp_validate_tbl]
ldr x2, [x8, x3, lsl #3]
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_arp_validate, .Lfunc_end0-bonding_show_arp_validate
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type arp_validate_tbl,@object // @arp_validate_tbl
.bss
.globl arp_validate_tbl
.p2align 3, 0x0
arp_validate_tbl:
.xword 0
.size arp_validate_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_validate
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_validate.c"
.p2align 2 // -- Begin function bonding_show_arp_validate
.type bonding_show_arp_validate,@function
bonding_show_arp_validate: // @bonding_show_arp_validate
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, arp_validate_tbl
ldr x3, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x8, [x8, :lo12:arp_validate_tbl]
ldr x2, [x8, x3, lsl #3]
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_arp_validate, .Lfunc_end0-bonding_show_arp_validate
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type arp_validate_tbl,@object // @arp_validate_tbl
.bss
.globl arp_validate_tbl
.p2align 3, 0x0
arp_validate_tbl:
.xword 0
.size arp_validate_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_validate
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_validate.c"
.p2align 2 // -- Begin function bonding_show_arp_validate
.type bonding_show_arp_validate,@function
bonding_show_arp_validate: // @bonding_show_arp_validate
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, arp_validate_tbl
ldr x3, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x8, [x8, :lo12:arp_validate_tbl]
ldr x2, [x8, x3, lsl #3]
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_arp_validate, .Lfunc_end0-bonding_show_arp_validate
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type arp_validate_tbl,@object // @arp_validate_tbl
.bss
.globl arp_validate_tbl
.p2align 3, 0x0
arp_validate_tbl:
.xword 0
.size arp_validate_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_validate
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_validate.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_validate
.type bonding_show_arp_validate,@function
bonding_show_arp_validate: # @bonding_show_arp_validate
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -32(%rbp)
movq -24(%rbp), %rdi
movq arp_validate_tbl(%rip), %rax
movq -32(%rbp), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rdx
movq -32(%rbp), %rax
movq (%rax), %rcx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_arp_validate, .Lfunc_end0-bonding_show_arp_validate
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type arp_validate_tbl,@object # @arp_validate_tbl
.bss
.globl arp_validate_tbl
.p2align 3, 0x0
arp_validate_tbl:
.quad 0
.size arp_validate_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_validate
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym arp_validate_tbl
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_validate.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_validate
.type bonding_show_arp_validate,@function
bonding_show_arp_validate: # @bonding_show_arp_validate
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq arp_validate_tbl(%rip), %rdx
movq (%rax), %rcx
movq (%rdx,%rcx,8), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_arp_validate, .Lfunc_end0-bonding_show_arp_validate
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type arp_validate_tbl,@object # @arp_validate_tbl
.bss
.globl arp_validate_tbl
.p2align 3, 0x0
arp_validate_tbl:
.quad 0
.size arp_validate_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_validate
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_validate.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_validate
.type bonding_show_arp_validate,@function
bonding_show_arp_validate: # @bonding_show_arp_validate
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq arp_validate_tbl(%rip), %rdx
movq (%rax), %rcx
movq (%rdx,%rcx,8), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_arp_validate, .Lfunc_end0-bonding_show_arp_validate
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type arp_validate_tbl,@object # @arp_validate_tbl
.bss
.globl arp_validate_tbl
.p2align 3, 0x0
arp_validate_tbl:
.quad 0
.size arp_validate_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_validate
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_validate.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_validate
.type bonding_show_arp_validate,@function
bonding_show_arp_validate: # @bonding_show_arp_validate
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq arp_validate_tbl(%rip), %rdx
movq (%rax), %rcx
movq (%rdx,%rcx,8), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_arp_validate, .Lfunc_end0-bonding_show_arp_validate
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type arp_validate_tbl,@object # @arp_validate_tbl
.bss
.globl arp_validate_tbl
.p2align 3, 0x0
arp_validate_tbl:
.quad 0
.size arp_validate_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_validate
|
extr_bond_ipv6.c_bond_glean_dev_ipv6.c | .text
.file "extr_bond_ipv6.c_bond_glean_dev_ipv6.c"
.p2align 2 // -- Begin function bond_glean_dev_ipv6
.type bond_glean_dev_ipv6,@function
bond_glean_dev_ipv6: // @bond_glean_dev_ipv6
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
b .LBB0_8
.LBB0_2:
ldur x0, [x29, #-8]
bl in6_dev_get
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
b .LBB0_8
.LBB0_4:
ldr x0, [sp, #8]
bl read_lock_bh
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
ldr x0, [sp, #16]
ldr x1, [sp]
bl ipv6_addr_copy
b .LBB0_7
.LBB0_6:
ldr x0, [sp, #16]
mov w4, wzr
mov w1, w4
mov w2, w4
mov w3, w4
bl ipv6_addr_set
b .LBB0_7
.LBB0_7:
ldr x0, [sp, #8]
bl read_unlock_bh
ldr x0, [sp, #8]
bl in6_dev_put
b .LBB0_8
.LBB0_8:
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_glean_dev_ipv6, .Lfunc_end0-bond_glean_dev_ipv6
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_glean_dev_ipv6
.addrsig_sym in6_dev_get
.addrsig_sym read_lock_bh
.addrsig_sym ipv6_addr_copy
.addrsig_sym ipv6_addr_set
.addrsig_sym read_unlock_bh
.addrsig_sym in6_dev_put
| .text
.file "extr_bond_ipv6.c_bond_glean_dev_ipv6.c"
.p2align 2 // -- Begin function bond_glean_dev_ipv6
.type bond_glean_dev_ipv6,@function
bond_glean_dev_ipv6: // @bond_glean_dev_ipv6
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
cbz x0, .LBB0_4
// %bb.1:
mov x20, x1
bl in6_dev_get
cbz x0, .LBB0_4
// %bb.2:
mov x19, x0
bl read_lock_bh
ldr x1, [x19, #8]
cbz x1, .LBB0_5
// %bb.3:
mov x0, x20
bl ipv6_addr_copy
b .LBB0_6
.LBB0_4:
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
mov x0, x20
mov w2, wzr
mov w3, wzr
mov w4, wzr
bl ipv6_addr_set
.LBB0_6:
mov x0, x19
bl read_unlock_bh
mov x0, x19
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b in6_dev_put
.Lfunc_end0:
.size bond_glean_dev_ipv6, .Lfunc_end0-bond_glean_dev_ipv6
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_glean_dev_ipv6
| .text
.file "extr_bond_ipv6.c_bond_glean_dev_ipv6.c"
.p2align 2 // -- Begin function bond_glean_dev_ipv6
.type bond_glean_dev_ipv6,@function
bond_glean_dev_ipv6: // @bond_glean_dev_ipv6
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
cbz x0, .LBB0_4
// %bb.1:
mov x20, x1
bl in6_dev_get
cbz x0, .LBB0_4
// %bb.2:
mov x19, x0
bl read_lock_bh
ldr x1, [x19, #8]
cbz x1, .LBB0_5
// %bb.3:
mov x0, x20
bl ipv6_addr_copy
b .LBB0_6
.LBB0_4:
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
mov x0, x20
mov w2, wzr
mov w3, wzr
mov w4, wzr
bl ipv6_addr_set
.LBB0_6:
mov x0, x19
bl read_unlock_bh
mov x0, x19
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b in6_dev_put
.Lfunc_end0:
.size bond_glean_dev_ipv6, .Lfunc_end0-bond_glean_dev_ipv6
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_glean_dev_ipv6
| .text
.file "extr_bond_ipv6.c_bond_glean_dev_ipv6.c"
.p2align 2 // -- Begin function bond_glean_dev_ipv6
.type bond_glean_dev_ipv6,@function
bond_glean_dev_ipv6: // @bond_glean_dev_ipv6
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
cbz x0, .LBB0_4
// %bb.1:
mov x20, x1
bl in6_dev_get
cbz x0, .LBB0_4
// %bb.2:
mov x19, x0
bl read_lock_bh
ldr x1, [x19, #8]
cbz x1, .LBB0_5
// %bb.3:
mov x0, x20
bl ipv6_addr_copy
mov x0, x19
bl read_unlock_bh
mov x0, x19
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b in6_dev_put
.LBB0_4:
.cfi_restore_state
.cfi_remember_state
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
mov x0, x20
mov w2, wzr
mov w3, wzr
mov w4, wzr
bl ipv6_addr_set
mov x0, x19
bl read_unlock_bh
mov x0, x19
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b in6_dev_put
.Lfunc_end0:
.size bond_glean_dev_ipv6, .Lfunc_end0-bond_glean_dev_ipv6
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_glean_dev_ipv6
| .text
.file "extr_bond_ipv6.c_bond_glean_dev_ipv6.c"
.p2align 4, 0x90 # -- Begin function bond_glean_dev_ipv6
.type bond_glean_dev_ipv6,@function
bond_glean_dev_ipv6: # @bond_glean_dev_ipv6
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpq $0, -8(%rbp)
jne .LBB0_2
# %bb.1:
jmp .LBB0_8
.LBB0_2:
movq -8(%rbp), %rdi
callq in6_dev_get@PLT
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne .LBB0_4
# %bb.3:
jmp .LBB0_8
.LBB0_4:
movq -24(%rbp), %rdi
callq read_lock_bh@PLT
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
je .LBB0_6
# %bb.5:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
callq ipv6_addr_copy@PLT
jmp .LBB0_7
.LBB0_6:
movq -16(%rbp), %rdi
xorl %r8d, %r8d
movl %r8d, %esi
movl %r8d, %edx
movl %r8d, %ecx
callq ipv6_addr_set@PLT
.LBB0_7:
movq -24(%rbp), %rdi
callq read_unlock_bh@PLT
movq -24(%rbp), %rdi
callq in6_dev_put@PLT
.LBB0_8:
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_glean_dev_ipv6, .Lfunc_end0-bond_glean_dev_ipv6
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_glean_dev_ipv6
.addrsig_sym in6_dev_get
.addrsig_sym read_lock_bh
.addrsig_sym ipv6_addr_copy
.addrsig_sym ipv6_addr_set
.addrsig_sym read_unlock_bh
.addrsig_sym in6_dev_put
| .text
.file "extr_bond_ipv6.c_bond_glean_dev_ipv6.c"
.p2align 4, 0x90 # -- Begin function bond_glean_dev_ipv6
.type bond_glean_dev_ipv6,@function
bond_glean_dev_ipv6: # @bond_glean_dev_ipv6
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
testq %rdi, %rdi
je .LBB0_6
# %bb.1:
movq %rsi, %r14
callq in6_dev_get@PLT
testq %rax, %rax
je .LBB0_6
# %bb.2:
movq %rax, %rbx
movq %rax, %rdi
callq read_lock_bh@PLT
movq 8(%rbx), %rsi
movq %r14, %rdi
testq %rsi, %rsi
je .LBB0_4
# %bb.3:
callq ipv6_addr_copy@PLT
jmp .LBB0_5
.LBB0_6:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.LBB0_4:
.cfi_def_cfa_offset 32
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq ipv6_addr_set@PLT
.LBB0_5:
movq %rbx, %rdi
callq read_unlock_bh@PLT
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp in6_dev_put@PLT # TAILCALL
.Lfunc_end0:
.size bond_glean_dev_ipv6, .Lfunc_end0-bond_glean_dev_ipv6
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_glean_dev_ipv6
| .text
.file "extr_bond_ipv6.c_bond_glean_dev_ipv6.c"
.p2align 4, 0x90 # -- Begin function bond_glean_dev_ipv6
.type bond_glean_dev_ipv6,@function
bond_glean_dev_ipv6: # @bond_glean_dev_ipv6
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
testq %rdi, %rdi
je .LBB0_6
# %bb.1:
movq %rsi, %r14
callq in6_dev_get@PLT
testq %rax, %rax
je .LBB0_6
# %bb.2:
movq %rax, %rbx
movq %rax, %rdi
callq read_lock_bh@PLT
movq 8(%rbx), %rsi
movq %r14, %rdi
testq %rsi, %rsi
je .LBB0_4
# %bb.3:
callq ipv6_addr_copy@PLT
jmp .LBB0_5
.LBB0_6:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.LBB0_4:
.cfi_def_cfa_offset 32
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq ipv6_addr_set@PLT
.LBB0_5:
movq %rbx, %rdi
callq read_unlock_bh@PLT
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp in6_dev_put@PLT # TAILCALL
.Lfunc_end0:
.size bond_glean_dev_ipv6, .Lfunc_end0-bond_glean_dev_ipv6
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_glean_dev_ipv6
| .text
.file "extr_bond_ipv6.c_bond_glean_dev_ipv6.c"
.p2align 4, 0x90 # -- Begin function bond_glean_dev_ipv6
.type bond_glean_dev_ipv6,@function
bond_glean_dev_ipv6: # @bond_glean_dev_ipv6
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
testq %rdi, %rdi
je .LBB0_6
# %bb.1:
movq %rsi, %r14
callq in6_dev_get@PLT
testq %rax, %rax
je .LBB0_6
# %bb.2:
movq %rax, %rbx
movq %rax, %rdi
callq read_lock_bh@PLT
movq 8(%rbx), %rsi
movq %r14, %rdi
testq %rsi, %rsi
je .LBB0_4
# %bb.3:
callq ipv6_addr_copy@PLT
jmp .LBB0_5
.LBB0_6:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.LBB0_4:
.cfi_def_cfa_offset 32
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq ipv6_addr_set@PLT
.LBB0_5:
movq %rbx, %rdi
callq read_unlock_bh@PLT
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp in6_dev_put@PLT # TAILCALL
.Lfunc_end0:
.size bond_glean_dev_ipv6, .Lfunc_end0-bond_glean_dev_ipv6
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_glean_dev_ipv6
|
extr_bond_main.c_bond_xmit_hash_policy_l34.c | .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l34.c"
.p2align 2 // -- Begin function bond_xmit_hash_policy_l34
.type bond_xmit_hash_policy_l34,@function
bond_xmit_hash_policy_l34: // @bond_xmit_hash_policy_l34
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] // 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str x8, [sp, #40]
ldur x0, [x29, #-16]
bl ip_hdr
str x0, [sp, #32]
ldr x8, [sp, #32]
ldr x9, [sp, #32]
ldrsw x9, [x9]
add x8, x8, x9, lsl #2
str x8, [sp, #24]
str wzr, [sp, #20]
ldur x8, [x29, #-16]
ldr w8, [x8]
str w8, [sp, #16] // 4-byte Folded Spill
adrp x8, ETH_P_IP
ldr w0, [x8, :lo12:ETH_P_IP]
bl htons
ldr w8, [sp, #16] // 4-byte Folded Reload
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, .LBB0_6
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #32]
ldr w8, [x8, #4]
str w8, [sp, #12] // 4-byte Folded Spill
adrp x8, IP_MF
ldr w8, [x8, :lo12:IP_MF]
adrp x9, IP_OFFSET
ldr w9, [x9, :lo12:IP_OFFSET]
orr w0, w8, w9
bl htons
ldr w8, [sp, #12] // 4-byte Folded Reload
ands w8, w8, w0
cset w8, ne
tbnz w8, #0, .LBB0_5
b .LBB0_2
.LBB0_2:
ldr x8, [sp, #32]
ldr x8, [x8, #8]
adrp x9, IPPROTO_TCP
ldr x9, [x9, :lo12:IPPROTO_TCP]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
ldr x8, [sp, #32]
ldr x8, [x8, #8]
adrp x9, IPPROTO_UDP
ldr x9, [x9, :lo12:IPPROTO_UDP]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_5
b .LBB0_4
.LBB0_4:
ldr x8, [sp, #24]
ldr w8, [x8]
ldr x9, [sp, #24]
ldr w9, [x9, #4]
eor w0, w8, w9
bl ntohs
str w0, [sp, #20]
b .LBB0_5
.LBB0_5:
ldr w8, [sp, #20]
str w8, [sp, #8] // 4-byte Folded Spill
ldr x8, [sp, #32]
ldr w8, [x8, #16]
ldr x9, [sp, #32]
ldr w9, [x9, #20]
eor w0, w8, w9
bl ntohl
ldr w8, [sp, #8] // 4-byte Folded Reload
and w9, w0, #0xffff
eor w8, w8, w9
ldur w10, [x29, #-28]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-4]
b .LBB0_7
.LBB0_6:
ldr x8, [sp, #40]
ldr x8, [x8]
ldr w8, [x8, #20]
ldr x9, [sp, #40]
ldr x9, [x9, #8]
ldr w9, [x9, #20]
eor w8, w8, w9
ldur w10, [x29, #-28]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-4]
b .LBB0_7
.LBB0_7:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 96
ldp x29, x30, [sp, #80] // 16-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_hash_policy_l34, .Lfunc_end0-bond_xmit_hash_policy_l34
.cfi_endproc
// -- End function
.type ETH_P_IP,@object // @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.word 0 // 0x0
.size ETH_P_IP, 4
.type IP_MF,@object // @IP_MF
.globl IP_MF
.p2align 2, 0x0
IP_MF:
.word 0 // 0x0
.size IP_MF, 4
.type IP_OFFSET,@object // @IP_OFFSET
.globl IP_OFFSET
.p2align 2, 0x0
IP_OFFSET:
.word 0 // 0x0
.size IP_OFFSET, 4
.type IPPROTO_TCP,@object // @IPPROTO_TCP
.globl IPPROTO_TCP
.p2align 3, 0x0
IPPROTO_TCP:
.xword 0 // 0x0
.size IPPROTO_TCP, 8
.type IPPROTO_UDP,@object // @IPPROTO_UDP
.globl IPPROTO_UDP
.p2align 3, 0x0
IPPROTO_UDP:
.xword 0 // 0x0
.size IPPROTO_UDP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l34
.addrsig_sym ip_hdr
.addrsig_sym htons
.addrsig_sym ntohs
.addrsig_sym ntohl
.addrsig_sym ETH_P_IP
.addrsig_sym IP_MF
.addrsig_sym IP_OFFSET
.addrsig_sym IPPROTO_TCP
.addrsig_sym IPPROTO_UDP
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l34.c"
.p2align 2 // -- Begin function bond_xmit_hash_policy_l34
.type bond_xmit_hash_policy_l34,@function
bond_xmit_hash_policy_l34: // @bond_xmit_hash_policy_l34
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
ldr x22, [x0, #8]
mov w19, w2
mov x21, x0
bl ip_hdr
adrp x8, ETH_P_IP
mov x20, x0
ldr w23, [x21]
ldrsw x21, [x0]
ldr w0, [x8, :lo12:ETH_P_IP]
bl htons
cmp w23, w0
b.ne .LBB0_5
// %bb.1:
adrp x8, IP_MF
adrp x9, IP_OFFSET
ldr w22, [x20, #4]
ldr w8, [x8, :lo12:IP_MF]
ldr w9, [x9, :lo12:IP_OFFSET]
orr w0, w9, w8
bl htons
tst w0, w22
b.ne .LBB0_4
// %bb.2:
adrp x9, IPPROTO_TCP
ldr x8, [x20, #8]
ldr x9, [x9, :lo12:IPPROTO_TCP]
cmp x8, x9
b.eq .LBB0_6
// %bb.3:
adrp x9, IPPROTO_UDP
ldr x9, [x9, :lo12:IPPROTO_UDP]
cmp x8, x9
b.eq .LBB0_6
.LBB0_4:
mov w21, wzr
b .LBB0_7
.LBB0_5:
ldp x8, x9, [x22]
ldr w8, [x8, #20]
ldr w9, [x9, #20]
eor w8, w9, w8
b .LBB0_8
.LBB0_6:
add x8, x20, x21, lsl #2
ldp w9, w8, [x8]
eor w0, w8, w9
bl ntohs
mov w21, w0
.LBB0_7:
ldp w8, w9, [x20, #16]
eor w0, w9, w8
bl ntohl
and w8, w0, #0xffff
eor w8, w8, w21
.LBB0_8:
sdiv w9, w8, w19
msub w0, w9, w19, w8
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_hash_policy_l34, .Lfunc_end0-bond_xmit_hash_policy_l34
.cfi_endproc
// -- End function
.type ETH_P_IP,@object // @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.word 0 // 0x0
.size ETH_P_IP, 4
.type IP_MF,@object // @IP_MF
.globl IP_MF
.p2align 2, 0x0
IP_MF:
.word 0 // 0x0
.size IP_MF, 4
.type IP_OFFSET,@object // @IP_OFFSET
.globl IP_OFFSET
.p2align 2, 0x0
IP_OFFSET:
.word 0 // 0x0
.size IP_OFFSET, 4
.type IPPROTO_TCP,@object // @IPPROTO_TCP
.globl IPPROTO_TCP
.p2align 3, 0x0
IPPROTO_TCP:
.xword 0 // 0x0
.size IPPROTO_TCP, 8
.type IPPROTO_UDP,@object // @IPPROTO_UDP
.globl IPPROTO_UDP
.p2align 3, 0x0
IPPROTO_UDP:
.xword 0 // 0x0
.size IPPROTO_UDP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l34
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l34.c"
.p2align 2 // -- Begin function bond_xmit_hash_policy_l34
.type bond_xmit_hash_policy_l34,@function
bond_xmit_hash_policy_l34: // @bond_xmit_hash_policy_l34
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
ldr x22, [x0, #8]
mov w19, w2
mov x21, x0
bl ip_hdr
adrp x8, ETH_P_IP
mov x20, x0
ldr w23, [x21]
ldrsw x21, [x0]
ldr w0, [x8, :lo12:ETH_P_IP]
bl htons
cmp w23, w0
b.ne .LBB0_5
// %bb.1:
adrp x8, IP_MF
adrp x9, IP_OFFSET
ldr w22, [x20, #4]
ldr w8, [x8, :lo12:IP_MF]
ldr w9, [x9, :lo12:IP_OFFSET]
orr w0, w9, w8
bl htons
tst w0, w22
b.ne .LBB0_4
// %bb.2:
adrp x9, IPPROTO_TCP
ldr x8, [x20, #8]
ldr x9, [x9, :lo12:IPPROTO_TCP]
cmp x8, x9
b.eq .LBB0_6
// %bb.3:
adrp x9, IPPROTO_UDP
ldr x9, [x9, :lo12:IPPROTO_UDP]
cmp x8, x9
b.eq .LBB0_6
.LBB0_4:
mov w21, wzr
b .LBB0_7
.LBB0_5:
ldp x8, x9, [x22]
ldr w8, [x8, #20]
ldr w9, [x9, #20]
eor w8, w9, w8
b .LBB0_8
.LBB0_6:
add x8, x20, x21, lsl #2
ldp w9, w8, [x8]
eor w0, w8, w9
bl ntohs
mov w21, w0
.LBB0_7:
ldp w8, w9, [x20, #16]
eor w0, w9, w8
bl ntohl
and w8, w0, #0xffff
eor w8, w8, w21
.LBB0_8:
sdiv w9, w8, w19
msub w0, w9, w19, w8
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_hash_policy_l34, .Lfunc_end0-bond_xmit_hash_policy_l34
.cfi_endproc
// -- End function
.type ETH_P_IP,@object // @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.word 0 // 0x0
.size ETH_P_IP, 4
.type IP_MF,@object // @IP_MF
.globl IP_MF
.p2align 2, 0x0
IP_MF:
.word 0 // 0x0
.size IP_MF, 4
.type IP_OFFSET,@object // @IP_OFFSET
.globl IP_OFFSET
.p2align 2, 0x0
IP_OFFSET:
.word 0 // 0x0
.size IP_OFFSET, 4
.type IPPROTO_TCP,@object // @IPPROTO_TCP
.globl IPPROTO_TCP
.p2align 3, 0x0
IPPROTO_TCP:
.xword 0 // 0x0
.size IPPROTO_TCP, 8
.type IPPROTO_UDP,@object // @IPPROTO_UDP
.globl IPPROTO_UDP
.p2align 3, 0x0
IPPROTO_UDP:
.xword 0 // 0x0
.size IPPROTO_UDP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l34
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l34.c"
.p2align 2 // -- Begin function bond_xmit_hash_policy_l34
.type bond_xmit_hash_policy_l34,@function
bond_xmit_hash_policy_l34: // @bond_xmit_hash_policy_l34
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
ldr x22, [x0, #8]
mov w19, w2
mov x21, x0
bl ip_hdr
adrp x8, ETH_P_IP
mov x20, x0
ldr w23, [x21]
ldrsw x21, [x0]
ldr w0, [x8, :lo12:ETH_P_IP]
bl htons
cmp w23, w0
b.ne .LBB0_5
// %bb.1:
adrp x8, IP_MF
adrp x9, IP_OFFSET
ldr w22, [x20, #4]
ldr w8, [x8, :lo12:IP_MF]
ldr w9, [x9, :lo12:IP_OFFSET]
orr w0, w9, w8
bl htons
tst w0, w22
b.ne .LBB0_4
// %bb.2:
adrp x9, IPPROTO_TCP
ldr x8, [x20, #8]
ldr x9, [x9, :lo12:IPPROTO_TCP]
cmp x8, x9
b.eq .LBB0_6
// %bb.3:
adrp x9, IPPROTO_UDP
ldr x9, [x9, :lo12:IPPROTO_UDP]
cmp x8, x9
b.eq .LBB0_6
.LBB0_4:
mov w21, wzr
b .LBB0_7
.LBB0_5:
ldp x8, x9, [x22]
ldr w8, [x8, #20]
ldr w9, [x9, #20]
eor w8, w9, w8
b .LBB0_8
.LBB0_6:
add x8, x20, x21, lsl #2
ldp w9, w8, [x8]
eor w0, w8, w9
bl ntohs
mov w21, w0
.LBB0_7:
ldp w8, w9, [x20, #16]
eor w0, w9, w8
bl ntohl
and w8, w0, #0xffff
eor w8, w8, w21
.LBB0_8:
sdiv w9, w8, w19
msub w0, w9, w19, w8
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_xmit_hash_policy_l34, .Lfunc_end0-bond_xmit_hash_policy_l34
.cfi_endproc
// -- End function
.type ETH_P_IP,@object // @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.word 0 // 0x0
.size ETH_P_IP, 4
.type IP_MF,@object // @IP_MF
.globl IP_MF
.p2align 2, 0x0
IP_MF:
.word 0 // 0x0
.size IP_MF, 4
.type IP_OFFSET,@object // @IP_OFFSET
.globl IP_OFFSET
.p2align 2, 0x0
IP_OFFSET:
.word 0 // 0x0
.size IP_OFFSET, 4
.type IPPROTO_TCP,@object // @IPPROTO_TCP
.globl IPPROTO_TCP
.p2align 3, 0x0
IPPROTO_TCP:
.xword 0 // 0x0
.size IPPROTO_TCP, 8
.type IPPROTO_UDP,@object // @IPPROTO_UDP
.globl IPPROTO_UDP
.p2align 3, 0x0
IPPROTO_UDP:
.xword 0 // 0x0
.size IPPROTO_UDP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l34
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l34.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_hash_policy_l34
.type bond_xmit_hash_policy_l34,@function
bond_xmit_hash_policy_l34: # @bond_xmit_hash_policy_l34
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movq -16(%rbp), %rdi
callq ip_hdr@PLT
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq -48(%rbp), %rcx
movslq (%rcx), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -56(%rbp)
movl $0, -60(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -64(%rbp) # 4-byte Spill
movl ETH_P_IP(%rip), %edi
callq htons@PLT
movl %eax, %ecx
movl -64(%rbp), %eax # 4-byte Reload
cmpl %ecx, %eax
jne .LBB0_6
# %bb.1:
movq -48(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -68(%rbp) # 4-byte Spill
movl IP_MF(%rip), %edi
orl IP_OFFSET(%rip), %edi
callq htons@PLT
movl %eax, %ecx
movl -68(%rbp), %eax # 4-byte Reload
andl %ecx, %eax
cmpl $0, %eax
jne .LBB0_5
# %bb.2:
movq -48(%rbp), %rax
movq 8(%rax), %rax
cmpq IPPROTO_TCP(%rip), %rax
je .LBB0_4
# %bb.3:
movq -48(%rbp), %rax
movq 8(%rax), %rax
cmpq IPPROTO_UDP(%rip), %rax
jne .LBB0_5
.LBB0_4:
movq -56(%rbp), %rax
movl (%rax), %edi
movq -56(%rbp), %rax
xorl 4(%rax), %edi
callq ntohs@PLT
movl %eax, -60(%rbp)
.LBB0_5:
movl -60(%rbp), %eax
movl %eax, -72(%rbp) # 4-byte Spill
movq -48(%rbp), %rax
movl 16(%rax), %edi
movq -48(%rbp), %rax
xorl 20(%rax), %edi
callq ntohl@PLT
movl %eax, %ecx
movl -72(%rbp), %eax # 4-byte Reload
andl $65535, %ecx # imm = 0xFFFF
xorl %ecx, %eax
cltd
idivl -28(%rbp)
movl %edx, -4(%rbp)
jmp .LBB0_7
.LBB0_6:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 20(%rax), %eax
movq -40(%rbp), %rcx
movq 8(%rcx), %rcx
xorl 20(%rcx), %eax
cltd
idivl -28(%rbp)
movl %edx, -4(%rbp)
.LBB0_7:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_xmit_hash_policy_l34, .Lfunc_end0-bond_xmit_hash_policy_l34
.cfi_endproc
# -- End function
.type ETH_P_IP,@object # @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.long 0 # 0x0
.size ETH_P_IP, 4
.type IP_MF,@object # @IP_MF
.globl IP_MF
.p2align 2, 0x0
IP_MF:
.long 0 # 0x0
.size IP_MF, 4
.type IP_OFFSET,@object # @IP_OFFSET
.globl IP_OFFSET
.p2align 2, 0x0
IP_OFFSET:
.long 0 # 0x0
.size IP_OFFSET, 4
.type IPPROTO_TCP,@object # @IPPROTO_TCP
.globl IPPROTO_TCP
.p2align 3, 0x0
IPPROTO_TCP:
.quad 0 # 0x0
.size IPPROTO_TCP, 8
.type IPPROTO_UDP,@object # @IPPROTO_UDP
.globl IPPROTO_UDP
.p2align 3, 0x0
IPPROTO_UDP:
.quad 0 # 0x0
.size IPPROTO_UDP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l34
.addrsig_sym ip_hdr
.addrsig_sym htons
.addrsig_sym ntohs
.addrsig_sym ntohl
.addrsig_sym ETH_P_IP
.addrsig_sym IP_MF
.addrsig_sym IP_OFFSET
.addrsig_sym IPPROTO_TCP
.addrsig_sym IPPROTO_UDP
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l34.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_hash_policy_l34
.type bond_xmit_hash_policy_l34,@function
bond_xmit_hash_policy_l34: # @bond_xmit_hash_policy_l34
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebx
movq %rdi, %r15
movq 8(%rdi), %r13
callq ip_hdr@PLT
movq %rax, %r14
movslq (%rax), %r12
movl (%r15), %ebp
movl ETH_P_IP(%rip), %edi
callq htons@PLT
cmpl %eax, %ebp
jne .LBB0_6
# %bb.1:
movl 4(%r14), %r15d
movl IP_OFFSET(%rip), %edi
orl IP_MF(%rip), %edi
callq htons@PLT
xorl %ebp, %ebp
testl %r15d, %eax
jne .LBB0_5
# %bb.2:
movq 8(%r14), %rax
cmpq IPPROTO_TCP(%rip), %rax
je .LBB0_4
# %bb.3:
cmpq IPPROTO_UDP(%rip), %rax
jne .LBB0_5
.LBB0_4:
movl 4(%r14,%r12,4), %edi
xorl (%r14,%r12,4), %edi
callq ntohs@PLT
movl %eax, %ebp
.LBB0_5:
movl 20(%r14), %edi
xorl 16(%r14), %edi
callq ntohl@PLT
movzwl %ax, %eax
xorl %ebp, %eax
jmp .LBB0_7
.LBB0_6:
movq (%r13), %rcx
movq 8(%r13), %rax
movl 20(%rax), %eax
xorl 20(%rcx), %eax
.LBB0_7:
cltd
idivl %ebx
movl %edx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_xmit_hash_policy_l34, .Lfunc_end0-bond_xmit_hash_policy_l34
.cfi_endproc
# -- End function
.type ETH_P_IP,@object # @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.long 0 # 0x0
.size ETH_P_IP, 4
.type IP_MF,@object # @IP_MF
.globl IP_MF
.p2align 2, 0x0
IP_MF:
.long 0 # 0x0
.size IP_MF, 4
.type IP_OFFSET,@object # @IP_OFFSET
.globl IP_OFFSET
.p2align 2, 0x0
IP_OFFSET:
.long 0 # 0x0
.size IP_OFFSET, 4
.type IPPROTO_TCP,@object # @IPPROTO_TCP
.globl IPPROTO_TCP
.p2align 3, 0x0
IPPROTO_TCP:
.quad 0 # 0x0
.size IPPROTO_TCP, 8
.type IPPROTO_UDP,@object # @IPPROTO_UDP
.globl IPPROTO_UDP
.p2align 3, 0x0
IPPROTO_UDP:
.quad 0 # 0x0
.size IPPROTO_UDP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l34
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l34.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_hash_policy_l34
.type bond_xmit_hash_policy_l34,@function
bond_xmit_hash_policy_l34: # @bond_xmit_hash_policy_l34
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebx
movq %rdi, %r15
movq 8(%rdi), %r13
callq ip_hdr@PLT
movq %rax, %r14
movslq (%rax), %r12
movl (%r15), %ebp
movl ETH_P_IP(%rip), %edi
callq htons@PLT
cmpl %eax, %ebp
jne .LBB0_6
# %bb.1:
movl 4(%r14), %r15d
movl IP_OFFSET(%rip), %edi
orl IP_MF(%rip), %edi
callq htons@PLT
xorl %ebp, %ebp
testl %r15d, %eax
jne .LBB0_5
# %bb.2:
movq 8(%r14), %rax
cmpq IPPROTO_TCP(%rip), %rax
je .LBB0_4
# %bb.3:
cmpq IPPROTO_UDP(%rip), %rax
jne .LBB0_5
.LBB0_4:
movl 4(%r14,%r12,4), %edi
xorl (%r14,%r12,4), %edi
callq ntohs@PLT
movl %eax, %ebp
.LBB0_5:
movl 20(%r14), %edi
xorl 16(%r14), %edi
callq ntohl@PLT
movzwl %ax, %eax
xorl %ebp, %eax
jmp .LBB0_7
.LBB0_6:
movq (%r13), %rcx
movq 8(%r13), %rax
movl 20(%rax), %eax
xorl 20(%rcx), %eax
.LBB0_7:
cltd
idivl %ebx
movl %edx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_xmit_hash_policy_l34, .Lfunc_end0-bond_xmit_hash_policy_l34
.cfi_endproc
# -- End function
.type ETH_P_IP,@object # @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.long 0 # 0x0
.size ETH_P_IP, 4
.type IP_MF,@object # @IP_MF
.globl IP_MF
.p2align 2, 0x0
IP_MF:
.long 0 # 0x0
.size IP_MF, 4
.type IP_OFFSET,@object # @IP_OFFSET
.globl IP_OFFSET
.p2align 2, 0x0
IP_OFFSET:
.long 0 # 0x0
.size IP_OFFSET, 4
.type IPPROTO_TCP,@object # @IPPROTO_TCP
.globl IPPROTO_TCP
.p2align 3, 0x0
IPPROTO_TCP:
.quad 0 # 0x0
.size IPPROTO_TCP, 8
.type IPPROTO_UDP,@object # @IPPROTO_UDP
.globl IPPROTO_UDP
.p2align 3, 0x0
IPPROTO_UDP:
.quad 0 # 0x0
.size IPPROTO_UDP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l34
| .text
.file "extr_bond_main.c_bond_xmit_hash_policy_l34.c"
.p2align 4, 0x90 # -- Begin function bond_xmit_hash_policy_l34
.type bond_xmit_hash_policy_l34,@function
bond_xmit_hash_policy_l34: # @bond_xmit_hash_policy_l34
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebx
movq %rdi, %r15
movq 8(%rdi), %r13
callq ip_hdr@PLT
movq %rax, %r14
movslq (%rax), %r12
movl (%r15), %ebp
movl ETH_P_IP(%rip), %edi
callq htons@PLT
cmpl %eax, %ebp
jne .LBB0_6
# %bb.1:
movl 4(%r14), %r15d
movl IP_OFFSET(%rip), %edi
orl IP_MF(%rip), %edi
callq htons@PLT
xorl %ebp, %ebp
testl %r15d, %eax
jne .LBB0_5
# %bb.2:
movq 8(%r14), %rax
cmpq IPPROTO_TCP(%rip), %rax
je .LBB0_4
# %bb.3:
cmpq IPPROTO_UDP(%rip), %rax
jne .LBB0_5
.LBB0_4:
movl 4(%r14,%r12,4), %edi
xorl (%r14,%r12,4), %edi
callq ntohs@PLT
movl %eax, %ebp
.LBB0_5:
movl 20(%r14), %edi
xorl 16(%r14), %edi
callq ntohl@PLT
movzwl %ax, %eax
xorl %ebp, %eax
jmp .LBB0_7
.LBB0_6:
movq (%r13), %rcx
movq 8(%r13), %rax
movl 20(%rax), %eax
xorl 20(%rcx), %eax
.LBB0_7:
cltd
idivl %ebx
movl %edx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_xmit_hash_policy_l34, .Lfunc_end0-bond_xmit_hash_policy_l34
.cfi_endproc
# -- End function
.type ETH_P_IP,@object # @ETH_P_IP
.bss
.globl ETH_P_IP
.p2align 2, 0x0
ETH_P_IP:
.long 0 # 0x0
.size ETH_P_IP, 4
.type IP_MF,@object # @IP_MF
.globl IP_MF
.p2align 2, 0x0
IP_MF:
.long 0 # 0x0
.size IP_MF, 4
.type IP_OFFSET,@object # @IP_OFFSET
.globl IP_OFFSET
.p2align 2, 0x0
IP_OFFSET:
.long 0 # 0x0
.size IP_OFFSET, 4
.type IPPROTO_TCP,@object # @IPPROTO_TCP
.globl IPPROTO_TCP
.p2align 3, 0x0
IPPROTO_TCP:
.quad 0 # 0x0
.size IPPROTO_TCP, 8
.type IPPROTO_UDP,@object # @IPPROTO_UDP
.globl IPPROTO_UDP
.p2align 3, 0x0
IPPROTO_UDP:
.quad 0 # 0x0
.size IPPROTO_UDP, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_xmit_hash_policy_l34
|
extr_bond_alb.c_arp_pkt.c | .text
.file "extr_bond_alb.c_arp_pkt.c"
.p2align 2 // -- Begin function arp_pkt
.type arp_pkt,@function
arp_pkt: // @arp_pkt
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl skb_network_header
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size arp_pkt, .Lfunc_end0-arp_pkt
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym arp_pkt
.addrsig_sym skb_network_header
| .text
.file "extr_bond_alb.c_arp_pkt.c"
.p2align 2 // -- Begin function arp_pkt
.type arp_pkt,@function
arp_pkt: // @arp_pkt
.cfi_startproc
// %bb.0:
b skb_network_header
.Lfunc_end0:
.size arp_pkt, .Lfunc_end0-arp_pkt
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym arp_pkt
| .text
.file "extr_bond_alb.c_arp_pkt.c"
.p2align 2 // -- Begin function arp_pkt
.type arp_pkt,@function
arp_pkt: // @arp_pkt
.cfi_startproc
// %bb.0:
b skb_network_header
.Lfunc_end0:
.size arp_pkt, .Lfunc_end0-arp_pkt
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym arp_pkt
| .text
.file "extr_bond_alb.c_arp_pkt.c"
.p2align 2 // -- Begin function arp_pkt
.type arp_pkt,@function
arp_pkt: // @arp_pkt
.cfi_startproc
// %bb.0:
b skb_network_header
.Lfunc_end0:
.size arp_pkt, .Lfunc_end0-arp_pkt
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym arp_pkt
| .text
.file "extr_bond_alb.c_arp_pkt.c"
.p2align 4, 0x90 # -- Begin function arp_pkt
.type arp_pkt,@function
arp_pkt: # @arp_pkt
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq skb_network_header@PLT
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size arp_pkt, .Lfunc_end0-arp_pkt
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym arp_pkt
.addrsig_sym skb_network_header
| .text
.file "extr_bond_alb.c_arp_pkt.c"
.p2align 4, 0x90 # -- Begin function arp_pkt
.type arp_pkt,@function
arp_pkt: # @arp_pkt
.cfi_startproc
# %bb.0:
jmp skb_network_header@PLT # TAILCALL
.Lfunc_end0:
.size arp_pkt, .Lfunc_end0-arp_pkt
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym arp_pkt
| .text
.file "extr_bond_alb.c_arp_pkt.c"
.p2align 4, 0x90 # -- Begin function arp_pkt
.type arp_pkt,@function
arp_pkt: # @arp_pkt
.cfi_startproc
# %bb.0:
jmp skb_network_header@PLT # TAILCALL
.Lfunc_end0:
.size arp_pkt, .Lfunc_end0-arp_pkt
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym arp_pkt
| .text
.file "extr_bond_alb.c_arp_pkt.c"
.p2align 4, 0x90 # -- Begin function arp_pkt
.type arp_pkt,@function
arp_pkt: # @arp_pkt
.cfi_startproc
# %bb.0:
jmp skb_network_header@PLT # TAILCALL
.Lfunc_end0:
.size arp_pkt, .Lfunc_end0-arp_pkt
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym arp_pkt
|
extr_bond_sysfs.c_bonding_show_ad_actor_key.c | .text
.file "extr_bond_sysfs.c_bonding_show_ad_actor_key.c"
.p2align 2 // -- Begin function bonding_show_ad_actor_key
.type bonding_show_ad_actor_key,@function
bonding_show_ad_actor_key: // @bonding_show_ad_actor_key
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur wzr, [x29, #-28]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp, #24]
ldr x8, [sp, #24]
ldr x8, [x8]
adrp x9, BOND_MODE_8023AD
ldr x9, [x9, :lo12:BOND_MODE_8023AD]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_5
b .LBB0_1
.LBB0_1:
ldur x8, [x29, #-24]
str x8, [sp, #8] // 8-byte Folded Spill
ldr x0, [sp, #24]
add x1, sp, #20
bl bond_3ad_get_active_agg_info
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
mov w8, wzr
str w8, [sp, #4] // 4-byte Folded Spill
b .LBB0_4
.LBB0_3:
ldr w8, [sp, #20]
str w8, [sp, #4] // 4-byte Folded Spill
b .LBB0_4
.LBB0_4:
ldr x0, [sp, #8] // 8-byte Folded Reload
ldr w2, [sp, #4] // 4-byte Folded Reload
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
stur w0, [x29, #-28]
b .LBB0_5
.LBB0_5:
ldur w0, [x29, #-28]
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_actor_key, .Lfunc_end0-bonding_show_ad_actor_key
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_actor_key
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym bond_3ad_get_active_agg_info
.addrsig_sym BOND_MODE_8023AD
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_actor_key.c"
.p2align 2 // -- Begin function bonding_show_ad_actor_key
.type bonding_show_ad_actor_key,@function
bonding_show_ad_actor_key: // @bonding_show_ad_actor_key
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
ldr w8, [x29, #28]
cmp x0, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
csel w2, w8, wzr, eq
bl sprintf
b .LBB0_3
.LBB0_2:
mov w0, wzr
.LBB0_3:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_actor_key, .Lfunc_end0-bonding_show_ad_actor_key
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_actor_key
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_actor_key.c"
.p2align 2 // -- Begin function bonding_show_ad_actor_key
.type bonding_show_ad_actor_key,@function
bonding_show_ad_actor_key: // @bonding_show_ad_actor_key
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
ldr w8, [x29, #28]
cmp x0, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
csel w2, w8, wzr, eq
bl sprintf
b .LBB0_3
.LBB0_2:
mov w0, wzr
.LBB0_3:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_actor_key, .Lfunc_end0-bonding_show_ad_actor_key
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_actor_key
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_actor_key.c"
.p2align 2 // -- Begin function bonding_show_ad_actor_key
.type bonding_show_ad_actor_key,@function
bonding_show_ad_actor_key: // @bonding_show_ad_actor_key
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
ldr w8, [x29, #28]
cmp x0, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
csel w2, w8, wzr, eq
bl sprintf
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
mov w0, wzr
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_actor_key, .Lfunc_end0-bonding_show_ad_actor_key
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_actor_key
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_actor_key.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_actor_key
.type bonding_show_ad_actor_key,@function
bonding_show_ad_actor_key: # @bonding_show_ad_actor_key
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl $0, -28(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq (%rax), %rax
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_5
# %bb.1:
movq -24(%rbp), %rax
movq %rax, -56(%rbp) # 8-byte Spill
movq -40(%rbp), %rdi
leaq -44(%rbp), %rsi
callq bond_3ad_get_active_agg_info@PLT
cmpq $0, %rax
je .LBB0_3
# %bb.2:
xorl %eax, %eax
movl %eax, -60(%rbp) # 4-byte Spill
jmp .LBB0_4
.LBB0_3:
movl -44(%rbp), %eax
movl %eax, -60(%rbp) # 4-byte Spill
.LBB0_4:
movq -56(%rbp), %rdi # 8-byte Reload
movl -60(%rbp), %edx # 4-byte Reload
leaq .L.str(%rip), %rsi
callq sprintf@PLT
movl %eax, -28(%rbp)
.LBB0_5:
movl -28(%rbp), %eax
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_ad_actor_key, .Lfunc_end0-bonding_show_ad_actor_key
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_actor_key
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym bond_3ad_get_active_agg_info
.addrsig_sym BOND_MODE_8023AD
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_actor_key.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_actor_key
.type bonding_show_ad_actor_key,@function
bonding_show_ad_actor_key: # @bonding_show_ad_actor_key
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq (%rax), %rdx
xorl %ecx, %ecx
cmpq BOND_MODE_8023AD(%rip), %rdx
jne .LBB0_4
# %bb.1:
leaq 12(%rsp), %rsi
movq %rax, %rdi
callq bond_3ad_get_active_agg_info@PLT
xorl %edx, %edx
testq %rax, %rax
jne .LBB0_3
# %bb.2:
movl 12(%rsp), %edx
.LBB0_3:
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
movl %eax, %ecx
.LBB0_4:
movl %ecx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_actor_key, .Lfunc_end0-bonding_show_ad_actor_key
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_actor_key
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_actor_key.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_actor_key
.type bonding_show_ad_actor_key,@function
bonding_show_ad_actor_key: # @bonding_show_ad_actor_key
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq (%rax), %rdx
xorl %ecx, %ecx
cmpq BOND_MODE_8023AD(%rip), %rdx
jne .LBB0_4
# %bb.1:
leaq 12(%rsp), %rsi
movq %rax, %rdi
callq bond_3ad_get_active_agg_info@PLT
xorl %edx, %edx
testq %rax, %rax
jne .LBB0_3
# %bb.2:
movl 12(%rsp), %edx
.LBB0_3:
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
movl %eax, %ecx
.LBB0_4:
movl %ecx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_actor_key, .Lfunc_end0-bonding_show_ad_actor_key
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_actor_key
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_actor_key.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_actor_key
.type bonding_show_ad_actor_key,@function
bonding_show_ad_actor_key: # @bonding_show_ad_actor_key
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq (%rax), %rdx
xorl %ecx, %ecx
cmpq BOND_MODE_8023AD(%rip), %rdx
jne .LBB0_4
# %bb.1:
leaq 12(%rsp), %rsi
movq %rax, %rdi
callq bond_3ad_get_active_agg_info@PLT
xorl %edx, %edx
testq %rax, %rax
jne .LBB0_3
# %bb.2:
movl 12(%rsp), %edx
.LBB0_3:
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
movl %eax, %ecx
.LBB0_4:
movl %ecx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_actor_key, .Lfunc_end0-bonding_show_ad_actor_key
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_actor_key
|
extr_bonding.h_bond_confirm_addr.c | .text
.file "extr_bonding.h_bond_confirm_addr.c"
.p2align 2 // -- Begin function bond_confirm_addr
.type bond_confirm_addr,@function
bond_confirm_addr: // @bond_confirm_addr
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
str wzr, [sp, #4]
bl rcu_read_lock
ldur x0, [x29, #-8]
bl __in_dev_get_rcu
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x0, [sp, #8]
ldur w1, [x29, #-12]
ldr w2, [sp, #16]
adrp x8, RT_SCOPE_HOST
ldr w3, [x8, :lo12:RT_SCOPE_HOST]
bl inet_confirm_addr
str w0, [sp, #4]
b .LBB0_2
.LBB0_2:
bl rcu_read_unlock
ldr w0, [sp, #4]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_confirm_addr, .Lfunc_end0-bond_confirm_addr
.cfi_endproc
// -- End function
.type RT_SCOPE_HOST,@object // @RT_SCOPE_HOST
.bss
.globl RT_SCOPE_HOST
.p2align 2, 0x0
RT_SCOPE_HOST:
.word 0 // 0x0
.size RT_SCOPE_HOST, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_confirm_addr
.addrsig_sym rcu_read_lock
.addrsig_sym __in_dev_get_rcu
.addrsig_sym inet_confirm_addr
.addrsig_sym rcu_read_unlock
.addrsig_sym RT_SCOPE_HOST
| .text
.file "extr_bonding.h_bond_confirm_addr.c"
.p2align 2 // -- Begin function bond_confirm_addr
.type bond_confirm_addr,@function
bond_confirm_addr: // @bond_confirm_addr
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w19, w2
mov w20, w1
mov x21, x0
bl rcu_read_lock
mov x0, x21
bl __in_dev_get_rcu
cbz x0, .LBB0_2
// %bb.1:
adrp x8, RT_SCOPE_HOST
mov w1, w20
mov w2, w19
ldr w3, [x8, :lo12:RT_SCOPE_HOST]
bl inet_confirm_addr
mov w19, w0
b .LBB0_3
.LBB0_2:
mov w19, wzr
.LBB0_3:
bl rcu_read_unlock
mov w0, w19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_confirm_addr, .Lfunc_end0-bond_confirm_addr
.cfi_endproc
// -- End function
.type RT_SCOPE_HOST,@object // @RT_SCOPE_HOST
.bss
.globl RT_SCOPE_HOST
.p2align 2, 0x0
RT_SCOPE_HOST:
.word 0 // 0x0
.size RT_SCOPE_HOST, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_confirm_addr
| .text
.file "extr_bonding.h_bond_confirm_addr.c"
.p2align 2 // -- Begin function bond_confirm_addr
.type bond_confirm_addr,@function
bond_confirm_addr: // @bond_confirm_addr
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w19, w2
mov w20, w1
mov x21, x0
bl rcu_read_lock
mov x0, x21
bl __in_dev_get_rcu
cbz x0, .LBB0_2
// %bb.1:
adrp x8, RT_SCOPE_HOST
mov w1, w20
mov w2, w19
ldr w3, [x8, :lo12:RT_SCOPE_HOST]
bl inet_confirm_addr
mov w19, w0
b .LBB0_3
.LBB0_2:
mov w19, wzr
.LBB0_3:
bl rcu_read_unlock
mov w0, w19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_confirm_addr, .Lfunc_end0-bond_confirm_addr
.cfi_endproc
// -- End function
.type RT_SCOPE_HOST,@object // @RT_SCOPE_HOST
.bss
.globl RT_SCOPE_HOST
.p2align 2, 0x0
RT_SCOPE_HOST:
.word 0 // 0x0
.size RT_SCOPE_HOST, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_confirm_addr
| .text
.file "extr_bonding.h_bond_confirm_addr.c"
.p2align 2 // -- Begin function bond_confirm_addr
.type bond_confirm_addr,@function
bond_confirm_addr: // @bond_confirm_addr
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
mov w19, w2
mov w20, w1
mov x21, x0
bl rcu_read_lock
mov x0, x21
bl __in_dev_get_rcu
cbz x0, .LBB0_2
// %bb.1:
adrp x8, RT_SCOPE_HOST
mov w1, w20
mov w2, w19
ldr w3, [x8, :lo12:RT_SCOPE_HOST]
bl inet_confirm_addr
mov w19, w0
bl rcu_read_unlock
mov w0, w19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
mov w19, wzr
bl rcu_read_unlock
mov w0, w19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_confirm_addr, .Lfunc_end0-bond_confirm_addr
.cfi_endproc
// -- End function
.type RT_SCOPE_HOST,@object // @RT_SCOPE_HOST
.bss
.globl RT_SCOPE_HOST
.p2align 2, 0x0
RT_SCOPE_HOST:
.word 0 // 0x0
.size RT_SCOPE_HOST, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_confirm_addr
| .text
.file "extr_bonding.h_bond_confirm_addr.c"
.p2align 4, 0x90 # -- Begin function bond_confirm_addr
.type bond_confirm_addr,@function
bond_confirm_addr: # @bond_confirm_addr
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl $0, -28(%rbp)
movb $0, %al
callq rcu_read_lock@PLT
movq -8(%rbp), %rdi
callq __in_dev_get_rcu@PLT
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
je .LBB0_2
# %bb.1:
movq -24(%rbp), %rdi
movl -12(%rbp), %esi
movl -16(%rbp), %edx
movl RT_SCOPE_HOST(%rip), %ecx
callq inet_confirm_addr@PLT
movl %eax, -28(%rbp)
.LBB0_2:
movb $0, %al
callq rcu_read_unlock@PLT
movl -28(%rbp), %eax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_confirm_addr, .Lfunc_end0-bond_confirm_addr
.cfi_endproc
# -- End function
.type RT_SCOPE_HOST,@object # @RT_SCOPE_HOST
.bss
.globl RT_SCOPE_HOST
.p2align 2, 0x0
RT_SCOPE_HOST:
.long 0 # 0x0
.size RT_SCOPE_HOST, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_confirm_addr
.addrsig_sym rcu_read_lock
.addrsig_sym __in_dev_get_rcu
.addrsig_sym inet_confirm_addr
.addrsig_sym rcu_read_unlock
.addrsig_sym RT_SCOPE_HOST
| .text
.file "extr_bonding.h_bond_confirm_addr.c"
.p2align 4, 0x90 # -- Begin function bond_confirm_addr
.type bond_confirm_addr,@function
bond_confirm_addr: # @bond_confirm_addr
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %r15
xorl %ebx, %ebx
xorl %eax, %eax
callq rcu_read_lock@PLT
movq %r15, %rdi
callq __in_dev_get_rcu@PLT
testq %rax, %rax
je .LBB0_2
# %bb.1:
movl RT_SCOPE_HOST(%rip), %ecx
movq %rax, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq inet_confirm_addr@PLT
movl %eax, %ebx
.LBB0_2:
xorl %eax, %eax
callq rcu_read_unlock@PLT
movl %ebx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_confirm_addr, .Lfunc_end0-bond_confirm_addr
.cfi_endproc
# -- End function
.type RT_SCOPE_HOST,@object # @RT_SCOPE_HOST
.bss
.globl RT_SCOPE_HOST
.p2align 2, 0x0
RT_SCOPE_HOST:
.long 0 # 0x0
.size RT_SCOPE_HOST, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_confirm_addr
| .text
.file "extr_bonding.h_bond_confirm_addr.c"
.p2align 4, 0x90 # -- Begin function bond_confirm_addr
.type bond_confirm_addr,@function
bond_confirm_addr: # @bond_confirm_addr
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %r15
xorl %ebx, %ebx
xorl %eax, %eax
callq rcu_read_lock@PLT
movq %r15, %rdi
callq __in_dev_get_rcu@PLT
testq %rax, %rax
je .LBB0_2
# %bb.1:
movl RT_SCOPE_HOST(%rip), %ecx
movq %rax, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq inet_confirm_addr@PLT
movl %eax, %ebx
.LBB0_2:
xorl %eax, %eax
callq rcu_read_unlock@PLT
movl %ebx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_confirm_addr, .Lfunc_end0-bond_confirm_addr
.cfi_endproc
# -- End function
.type RT_SCOPE_HOST,@object # @RT_SCOPE_HOST
.bss
.globl RT_SCOPE_HOST
.p2align 2, 0x0
RT_SCOPE_HOST:
.long 0 # 0x0
.size RT_SCOPE_HOST, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_confirm_addr
| .text
.file "extr_bonding.h_bond_confirm_addr.c"
.p2align 4, 0x90 # -- Begin function bond_confirm_addr
.type bond_confirm_addr,@function
bond_confirm_addr: # @bond_confirm_addr
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %r15
xorl %ebx, %ebx
xorl %eax, %eax
callq rcu_read_lock@PLT
movq %r15, %rdi
callq __in_dev_get_rcu@PLT
testq %rax, %rax
je .LBB0_2
# %bb.1:
movl RT_SCOPE_HOST(%rip), %ecx
movq %rax, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq inet_confirm_addr@PLT
movl %eax, %ebx
.LBB0_2:
xorl %eax, %eax
callq rcu_read_unlock@PLT
movl %ebx, %eax
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_confirm_addr, .Lfunc_end0-bond_confirm_addr
.cfi_endproc
# -- End function
.type RT_SCOPE_HOST,@object # @RT_SCOPE_HOST
.bss
.globl RT_SCOPE_HOST
.p2align 2, 0x0
RT_SCOPE_HOST:
.long 0 # 0x0
.size RT_SCOPE_HOST, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_confirm_addr
|
extr_bond_sysfs.c_bonding_show_miimon.c | .text
.file "extr_bond_sysfs.c_bonding_show_miimon.c"
.p2align 2 // -- Begin function bonding_show_miimon
.type bonding_show_miimon,@function
bonding_show_miimon: // @bonding_show_miimon
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp]
ldr x0, [sp, #8]
ldr x8, [sp]
ldr w2, [x8]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_miimon, .Lfunc_end0-bonding_show_miimon
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_miimon
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_miimon.c"
.p2align 2 // -- Begin function bonding_show_miimon
.type bonding_show_miimon,@function
bonding_show_miimon: // @bonding_show_miimon
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_miimon, .Lfunc_end0-bonding_show_miimon
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_miimon
| .text
.file "extr_bond_sysfs.c_bonding_show_miimon.c"
.p2align 2 // -- Begin function bonding_show_miimon
.type bonding_show_miimon,@function
bonding_show_miimon: // @bonding_show_miimon
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_miimon, .Lfunc_end0-bonding_show_miimon
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_miimon
| .text
.file "extr_bond_sysfs.c_bonding_show_miimon.c"
.p2align 2 // -- Begin function bonding_show_miimon
.type bonding_show_miimon,@function
bonding_show_miimon: // @bonding_show_miimon
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_miimon, .Lfunc_end0-bonding_show_miimon
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_miimon
| .text
.file "extr_bond_sysfs.c_bonding_show_miimon.c"
.p2align 4, 0x90 # -- Begin function bonding_show_miimon
.type bonding_show_miimon,@function
bonding_show_miimon: # @bonding_show_miimon
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -32(%rbp)
movq -24(%rbp), %rdi
movq -32(%rbp), %rax
movl (%rax), %edx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_miimon, .Lfunc_end0-bonding_show_miimon
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_miimon
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_miimon.c"
.p2align 4, 0x90 # -- Begin function bonding_show_miimon
.type bonding_show_miimon,@function
bonding_show_miimon: # @bonding_show_miimon
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_miimon, .Lfunc_end0-bonding_show_miimon
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_miimon
| .text
.file "extr_bond_sysfs.c_bonding_show_miimon.c"
.p2align 4, 0x90 # -- Begin function bonding_show_miimon
.type bonding_show_miimon,@function
bonding_show_miimon: # @bonding_show_miimon
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_miimon, .Lfunc_end0-bonding_show_miimon
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_miimon
| .text
.file "extr_bond_sysfs.c_bonding_show_miimon.c"
.p2align 4, 0x90 # -- Begin function bonding_show_miimon
.type bonding_show_miimon,@function
bonding_show_miimon: # @bonding_show_miimon
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_miimon, .Lfunc_end0-bonding_show_miimon
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_miimon
|
extr_bond_3ad.c___update_lacpdu_from_port.c | .text
.file "extr_bond_3ad.c___update_lacpdu_from_port.c"
.p2align 2 // -- Begin function __update_lacpdu_from_port
.type __update_lacpdu_from_port,@function
__update_lacpdu_from_port: // @__update_lacpdu_from_port
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
add x8, x8, #48
str x8, [sp, #16]
ldur x8, [x29, #-8]
add x8, x8, #24
str x8, [sp, #8]
ldur x8, [x29, #-8]
ldr w0, [x8, #20]
bl htons
ldr x8, [sp, #16]
str x0, [x8, #88]
ldur x8, [x29, #-8]
ldr w8, [x8, #16]
ldr x9, [sp, #16]
str w8, [x9, #80]
ldur x8, [x29, #-8]
ldr w0, [x8, #12]
bl htons
ldr x8, [sp, #16]
str x0, [x8, #72]
ldur x8, [x29, #-8]
ldr w0, [x8, #8]
bl htons
ldr x8, [sp, #16]
str x0, [x8, #64]
ldur x8, [x29, #-8]
ldr w0, [x8, #4]
bl htons
ldr x8, [sp, #16]
str x0, [x8, #56]
ldur x8, [x29, #-8]
ldr w8, [x8]
ldr x9, [sp, #16]
str w8, [x9, #48]
ldr x8, [sp, #8]
ldr w0, [x8, #20]
bl htons
ldr x8, [sp, #16]
str x0, [x8, #40]
ldr x8, [sp, #8]
ldr w8, [x8, #16]
ldr x9, [sp, #16]
str w8, [x9, #32]
ldr x8, [sp, #8]
ldr w0, [x8, #12]
bl htons
ldr x8, [sp, #16]
str x0, [x8, #24]
ldr x8, [sp, #8]
ldr w0, [x8, #8]
bl htons
ldr x8, [sp, #16]
str x0, [x8, #16]
ldr x8, [sp, #8]
ldr w0, [x8, #4]
bl htons
ldr x8, [sp, #16]
str x0, [x8, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
ldr x9, [sp, #16]
str w8, [x9]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __update_lacpdu_from_port, .Lfunc_end0-__update_lacpdu_from_port
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_lacpdu_from_port
.addrsig_sym htons
| .text
.file "extr_bond_3ad.c___update_lacpdu_from_port.c"
.p2align 2 // -- Begin function __update_lacpdu_from_port
.type __update_lacpdu_from_port,@function
__update_lacpdu_from_port: // @__update_lacpdu_from_port
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
ldr w0, [x0, #20]
bl htons
ldp w8, w9, [x19, #12]
str x0, [x19, #136]
mov w0, w8
str w9, [x19, #128]
bl htons
ldr w8, [x19, #8]
str x0, [x19, #120]
mov w0, w8
bl htons
ldr w8, [x19, #4]
str x0, [x19, #112]
mov w0, w8
bl htons
ldr w8, [x19, #44]
str x0, [x19, #104]
ldr w9, [x19]
mov w0, w8
str w9, [x19, #96]
bl htons
ldp w8, w9, [x19, #36]
str x0, [x19, #88]
mov w0, w8
str w9, [x19, #80]
bl htons
ldr w8, [x19, #32]
str x0, [x19, #72]
mov w0, w8
bl htons
ldr w8, [x19, #28]
str x0, [x19, #64]
mov w0, w8
bl htons
ldr w8, [x19, #24]
str x0, [x19, #56]
str w8, [x19, #48]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __update_lacpdu_from_port, .Lfunc_end0-__update_lacpdu_from_port
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_lacpdu_from_port
| .text
.file "extr_bond_3ad.c___update_lacpdu_from_port.c"
.p2align 2 // -- Begin function __update_lacpdu_from_port
.type __update_lacpdu_from_port,@function
__update_lacpdu_from_port: // @__update_lacpdu_from_port
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
ldr w0, [x0, #20]
bl htons
ldp w8, w9, [x19, #12]
str x0, [x19, #136]
mov w0, w8
str w9, [x19, #128]
bl htons
ldr w8, [x19, #8]
str x0, [x19, #120]
mov w0, w8
bl htons
ldr w8, [x19, #4]
str x0, [x19, #112]
mov w0, w8
bl htons
ldr w8, [x19, #44]
str x0, [x19, #104]
ldr w9, [x19]
mov w0, w8
str w9, [x19, #96]
bl htons
ldp w8, w9, [x19, #36]
str x0, [x19, #88]
mov w0, w8
str w9, [x19, #80]
bl htons
ldr w8, [x19, #32]
str x0, [x19, #72]
mov w0, w8
bl htons
ldr w8, [x19, #28]
str x0, [x19, #64]
mov w0, w8
bl htons
ldr w8, [x19, #24]
str x0, [x19, #56]
str w8, [x19, #48]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __update_lacpdu_from_port, .Lfunc_end0-__update_lacpdu_from_port
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_lacpdu_from_port
| .text
.file "extr_bond_3ad.c___update_lacpdu_from_port.c"
.p2align 2 // -- Begin function __update_lacpdu_from_port
.type __update_lacpdu_from_port,@function
__update_lacpdu_from_port: // @__update_lacpdu_from_port
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
ldr w0, [x0, #20]
bl htons
ldp w8, w9, [x19, #12]
str x0, [x19, #136]
mov w0, w8
str w9, [x19, #128]
bl htons
ldr w8, [x19, #8]
str x0, [x19, #120]
mov w0, w8
bl htons
ldr w8, [x19, #4]
str x0, [x19, #112]
mov w0, w8
bl htons
ldr w8, [x19, #44]
str x0, [x19, #104]
ldr w9, [x19]
mov w0, w8
str w9, [x19, #96]
bl htons
ldp w8, w9, [x19, #36]
str x0, [x19, #88]
mov w0, w8
str w9, [x19, #80]
bl htons
ldr w8, [x19, #32]
str x0, [x19, #72]
mov w0, w8
bl htons
ldr w8, [x19, #28]
str x0, [x19, #64]
mov w0, w8
bl htons
ldr w8, [x19, #24]
str x0, [x19, #56]
str w8, [x19, #48]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __update_lacpdu_from_port, .Lfunc_end0-__update_lacpdu_from_port
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_lacpdu_from_port
| .text
.file "extr_bond_3ad.c___update_lacpdu_from_port.c"
.p2align 4, 0x90 # -- Begin function __update_lacpdu_from_port
.type __update_lacpdu_from_port,@function
__update_lacpdu_from_port: # @__update_lacpdu_from_port
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
addq $48, %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
addq $24, %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movl 20(%rax), %edi
callq htons@PLT
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 88(%rax)
movq -8(%rbp), %rax
movl 16(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 80(%rax)
movq -8(%rbp), %rax
movl 12(%rax), %edi
callq htons@PLT
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 72(%rax)
movq -8(%rbp), %rax
movl 8(%rax), %edi
callq htons@PLT
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 64(%rax)
movq -8(%rbp), %rax
movl 4(%rax), %edi
callq htons@PLT
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 56(%rax)
movq -8(%rbp), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 48(%rax)
movq -24(%rbp), %rax
movl 20(%rax), %edi
callq htons@PLT
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 40(%rax)
movq -24(%rbp), %rax
movl 16(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 32(%rax)
movq -24(%rbp), %rax
movl 12(%rax), %edi
callq htons@PLT
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 24(%rax)
movq -24(%rbp), %rax
movl 8(%rax), %edi
callq htons@PLT
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -24(%rbp), %rax
movl 4(%rax), %edi
callq htons@PLT
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size __update_lacpdu_from_port, .Lfunc_end0-__update_lacpdu_from_port
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_lacpdu_from_port
.addrsig_sym htons
| .text
.file "extr_bond_3ad.c___update_lacpdu_from_port.c"
.p2align 4, 0x90 # -- Begin function __update_lacpdu_from_port
.type __update_lacpdu_from_port,@function
__update_lacpdu_from_port: # @__update_lacpdu_from_port
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movl 20(%rdi), %edi
callq htons@PLT
movq %rax, 136(%rbx)
movl 12(%rbx), %edi
movl 16(%rbx), %eax
movl %eax, 128(%rbx)
callq htons@PLT
movq %rax, 120(%rbx)
movl 8(%rbx), %edi
callq htons@PLT
movq %rax, 112(%rbx)
movl 4(%rbx), %edi
callq htons@PLT
movq %rax, 104(%rbx)
movl (%rbx), %eax
movl 44(%rbx), %edi
movl %eax, 96(%rbx)
callq htons@PLT
movq %rax, 88(%rbx)
movl 36(%rbx), %edi
movl 40(%rbx), %eax
movl %eax, 80(%rbx)
callq htons@PLT
movq %rax, 72(%rbx)
movl 32(%rbx), %edi
callq htons@PLT
movq %rax, 64(%rbx)
movl 28(%rbx), %edi
callq htons@PLT
movq %rax, 56(%rbx)
movl 24(%rbx), %eax
movl %eax, 48(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __update_lacpdu_from_port, .Lfunc_end0-__update_lacpdu_from_port
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_lacpdu_from_port
| .text
.file "extr_bond_3ad.c___update_lacpdu_from_port.c"
.p2align 4, 0x90 # -- Begin function __update_lacpdu_from_port
.type __update_lacpdu_from_port,@function
__update_lacpdu_from_port: # @__update_lacpdu_from_port
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movl 20(%rdi), %edi
callq htons@PLT
movq %rax, 136(%rbx)
movl 12(%rbx), %edi
movl 16(%rbx), %eax
movl %eax, 128(%rbx)
callq htons@PLT
movq %rax, 120(%rbx)
movl 8(%rbx), %edi
callq htons@PLT
movq %rax, 112(%rbx)
movl 4(%rbx), %edi
callq htons@PLT
movq %rax, 104(%rbx)
movl (%rbx), %eax
movl 44(%rbx), %edi
movl %eax, 96(%rbx)
callq htons@PLT
movq %rax, 88(%rbx)
movl 36(%rbx), %edi
movl 40(%rbx), %eax
movl %eax, 80(%rbx)
callq htons@PLT
movq %rax, 72(%rbx)
movl 32(%rbx), %edi
callq htons@PLT
movq %rax, 64(%rbx)
movl 28(%rbx), %edi
callq htons@PLT
movq %rax, 56(%rbx)
movl 24(%rbx), %eax
movl %eax, 48(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __update_lacpdu_from_port, .Lfunc_end0-__update_lacpdu_from_port
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_lacpdu_from_port
| .text
.file "extr_bond_3ad.c___update_lacpdu_from_port.c"
.p2align 4, 0x90 # -- Begin function __update_lacpdu_from_port
.type __update_lacpdu_from_port,@function
__update_lacpdu_from_port: # @__update_lacpdu_from_port
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movl 20(%rdi), %edi
callq htons@PLT
movq %rax, 136(%rbx)
movl 12(%rbx), %edi
movl 16(%rbx), %eax
movl %eax, 128(%rbx)
callq htons@PLT
movq %rax, 120(%rbx)
movl 8(%rbx), %edi
callq htons@PLT
movq %rax, 112(%rbx)
movl 4(%rbx), %edi
callq htons@PLT
movq %rax, 104(%rbx)
movl (%rbx), %eax
movl 44(%rbx), %edi
movl %eax, 96(%rbx)
callq htons@PLT
movq %rax, 88(%rbx)
movl 36(%rbx), %edi
movl 40(%rbx), %eax
movl %eax, 80(%rbx)
callq htons@PLT
movq %rax, 72(%rbx)
movl 32(%rbx), %edi
callq htons@PLT
movq %rax, 64(%rbx)
movl 28(%rbx), %edi
callq htons@PLT
movq %rax, 56(%rbx)
movl 24(%rbx), %eax
movl %eax, 48(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __update_lacpdu_from_port, .Lfunc_end0-__update_lacpdu_from_port
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_lacpdu_from_port
|
extr_bond_sysfs.c_bonding_show_arp_targets.c | .text
.file "extr_bond_sysfs.c_bonding_show_arp_targets.c"
.p2align 2 // -- Begin function bonding_show_arp_targets
.type bonding_show_arp_targets,@function
bonding_show_arp_targets: // @bonding_show_arp_targets
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] // 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str wzr, [sp, #16]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp, #8]
str wzr, [sp, #20]
b .LBB0_1
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
adrp x9, BOND_MAX_ARP_TARGETS
ldr w9, [x9, :lo12:BOND_MAX_ARP_TARGETS]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, .LBB0_6
b .LBB0_2
.LBB0_2: // in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3: // in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
add x0, x8, x9
ldr x8, [sp, #8]
ldr x8, [x8]
ldrsw x9, [sp, #20]
add x2, x8, x9, lsl #3
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
ldrsw x8, [sp, #16]
add x8, x8, x0
// kill: def $w8 killed $w8 killed $x8
str w8, [sp, #16]
b .LBB0_4
.LBB0_4: // in Loop: Header=BB0_1 Depth=1
b .LBB0_5
.LBB0_5: // in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b .LBB0_1
.LBB0_6:
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_8
b .LBB0_7
.LBB0_7:
ldr x8, [sp, #24]
ldr w9, [sp, #16]
subs w9, w9, #1
add x9, x8, w9, sxtw
mov w8, #10 // =0xa
strb w8, [x9]
b .LBB0_8
.LBB0_8:
ldr w0, [sp, #16]
.cfi_def_cfa wsp, 64
ldp x29, x30, [sp, #48] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_arp_targets, .Lfunc_end0-bonding_show_arp_targets
.cfi_endproc
// -- End function
.type BOND_MAX_ARP_TARGETS,@object // @BOND_MAX_ARP_TARGETS
.bss
.globl BOND_MAX_ARP_TARGETS
.p2align 2, 0x0
BOND_MAX_ARP_TARGETS:
.word 0 // 0x0
.size BOND_MAX_ARP_TARGETS, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pI4 "
.size .L.str, 6
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_targets
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym BOND_MAX_ARP_TARGETS
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_targets.c"
.p2align 2 // -- Begin function bonding_show_arp_targets
.type bonding_show_arp_targets,@function
bonding_show_arp_targets: // @bonding_show_arp_targets
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-80]! // 16-byte Folded Spill
.cfi_def_cfa_offset 80
str x25, [sp, #16] // 8-byte Folded Spill
stp x24, x23, [sp, #32] // 16-byte Folded Spill
stp x22, x21, [sp, #48] // 16-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
mov x19, x2
bl to_bond
adrp x23, BOND_MAX_ARP_TARGETS
ldr w8, [x23, :lo12:BOND_MAX_ARP_TARGETS]
cmp w8, #1
b.lt .LBB0_5
// %bb.1:
mov x20, x0
mov x24, xzr
mov x25, xzr
mov w21, wzr
adrp x22, .L.str
add x22, x22, :lo12:.L.str
b .LBB0_3
.LBB0_2: // in Loop: Header=BB0_3 Depth=1
ldrsw x8, [x23, :lo12:BOND_MAX_ARP_TARGETS]
add x25, x25, #1
add x24, x24, #8
cmp x25, x8
b.ge .LBB0_6
.LBB0_3: // =>This Inner Loop Header: Depth=1
ldr x8, [x20]
add x2, x8, x24
ldr x8, [x2]
cbz x8, .LBB0_2
// %bb.4: // in Loop: Header=BB0_3 Depth=1
add x0, x19, w21, sxtw
mov x1, x22
bl sprintf
add w21, w21, w0
b .LBB0_2
.LBB0_5:
mov w21, wzr
.LBB0_6:
cbz w21, .LBB0_8
// %bb.7:
add x8, x19, w21, sxtw
mov w9, #10 // =0xa
sturb w9, [x8, #-1]
.LBB0_8:
mov w0, w21
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x22, x21, [sp, #48] // 16-byte Folded Reload
ldp x24, x23, [sp, #32] // 16-byte Folded Reload
ldr x25, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #80 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_arp_targets, .Lfunc_end0-bonding_show_arp_targets
.cfi_endproc
// -- End function
.type BOND_MAX_ARP_TARGETS,@object // @BOND_MAX_ARP_TARGETS
.bss
.globl BOND_MAX_ARP_TARGETS
.p2align 2, 0x0
BOND_MAX_ARP_TARGETS:
.word 0 // 0x0
.size BOND_MAX_ARP_TARGETS, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pI4 "
.size .L.str, 6
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_targets
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_targets.c"
.p2align 2 // -- Begin function bonding_show_arp_targets
.type bonding_show_arp_targets,@function
bonding_show_arp_targets: // @bonding_show_arp_targets
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-80]! // 16-byte Folded Spill
.cfi_def_cfa_offset 80
str x25, [sp, #16] // 8-byte Folded Spill
stp x24, x23, [sp, #32] // 16-byte Folded Spill
stp x22, x21, [sp, #48] // 16-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
mov x19, x2
bl to_bond
adrp x23, BOND_MAX_ARP_TARGETS
ldr w8, [x23, :lo12:BOND_MAX_ARP_TARGETS]
cmp w8, #1
b.lt .LBB0_7
// %bb.1:
mov x20, x0
mov x24, xzr
mov x25, xzr
mov w21, wzr
adrp x22, .L.str
add x22, x22, :lo12:.L.str
b .LBB0_3
.LBB0_2: // in Loop: Header=BB0_3 Depth=1
add x25, x25, #1
add x24, x24, #8
cmp x25, w8, sxtw
b.ge .LBB0_5
.LBB0_3: // =>This Inner Loop Header: Depth=1
ldr x9, [x20]
add x2, x9, x24
ldr x9, [x2]
cbz x9, .LBB0_2
// %bb.4: // in Loop: Header=BB0_3 Depth=1
add x0, x19, w21, sxtw
mov x1, x22
bl sprintf
ldr w8, [x23, :lo12:BOND_MAX_ARP_TARGETS]
add w21, w21, w0
b .LBB0_2
.LBB0_5:
cbz w21, .LBB0_8
// %bb.6:
add x8, x19, w21, sxtw
mov w9, #10 // =0xa
sturb w9, [x8, #-1]
b .LBB0_8
.LBB0_7:
mov w21, wzr
.LBB0_8:
mov w0, w21
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x22, x21, [sp, #48] // 16-byte Folded Reload
ldp x24, x23, [sp, #32] // 16-byte Folded Reload
ldr x25, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #80 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_arp_targets, .Lfunc_end0-bonding_show_arp_targets
.cfi_endproc
// -- End function
.type BOND_MAX_ARP_TARGETS,@object // @BOND_MAX_ARP_TARGETS
.bss
.globl BOND_MAX_ARP_TARGETS
.p2align 2, 0x0
BOND_MAX_ARP_TARGETS:
.word 0 // 0x0
.size BOND_MAX_ARP_TARGETS, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pI4 "
.size .L.str, 6
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_targets
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_targets.c"
.p2align 2 // -- Begin function bonding_show_arp_targets
.type bonding_show_arp_targets,@function
bonding_show_arp_targets: // @bonding_show_arp_targets
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-80]! // 16-byte Folded Spill
.cfi_def_cfa_offset 80
str x25, [sp, #16] // 8-byte Folded Spill
stp x24, x23, [sp, #32] // 16-byte Folded Spill
stp x22, x21, [sp, #48] // 16-byte Folded Spill
stp x20, x19, [sp, #64] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 80
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -64
.cfi_offset w30, -72
.cfi_offset w29, -80
mov x19, x2
bl to_bond
adrp x23, BOND_MAX_ARP_TARGETS
ldr w8, [x23, :lo12:BOND_MAX_ARP_TARGETS]
cmp w8, #1
b.lt .LBB0_7
// %bb.1:
mov x20, x0
mov x24, xzr
mov x25, xzr
mov w21, wzr
adrp x22, .L.str
add x22, x22, :lo12:.L.str
b .LBB0_3
.LBB0_2: // in Loop: Header=BB0_3 Depth=1
add x25, x25, #1
add x24, x24, #8
cmp x25, w8, sxtw
b.ge .LBB0_5
.LBB0_3: // =>This Inner Loop Header: Depth=1
ldr x9, [x20]
add x2, x9, x24
ldr x9, [x2]
cbz x9, .LBB0_2
// %bb.4: // in Loop: Header=BB0_3 Depth=1
add x0, x19, w21, sxtw
mov x1, x22
bl sprintf
ldr w8, [x23, :lo12:BOND_MAX_ARP_TARGETS]
add w21, w21, w0
b .LBB0_2
.LBB0_5:
cbz w21, .LBB0_8
// %bb.6:
add x8, x19, w21, sxtw
mov w9, #10 // =0xa
sturb w9, [x8, #-1]
b .LBB0_8
.LBB0_7:
mov w21, wzr
.LBB0_8:
mov w0, w21
.cfi_def_cfa wsp, 80
ldp x20, x19, [sp, #64] // 16-byte Folded Reload
ldp x22, x21, [sp, #48] // 16-byte Folded Reload
ldp x24, x23, [sp, #32] // 16-byte Folded Reload
ldr x25, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #80 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_arp_targets, .Lfunc_end0-bonding_show_arp_targets
.cfi_endproc
// -- End function
.type BOND_MAX_ARP_TARGETS,@object // @BOND_MAX_ARP_TARGETS
.bss
.globl BOND_MAX_ARP_TARGETS
.p2align 2, 0x0
BOND_MAX_ARP_TARGETS:
.word 0 // 0x0
.size BOND_MAX_ARP_TARGETS, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pI4 "
.size .L.str, 6
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_targets
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_targets.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_targets
.type bonding_show_arp_targets,@function
bonding_show_arp_targets: # @bonding_show_arp_targets
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl $0, -32(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -40(%rbp)
movl $0, -28(%rbp)
.LBB0_1: # =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl BOND_MAX_ARP_TARGETS(%rip), %eax
jge .LBB0_6
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movq (%rax), %rax
movslq -28(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je .LBB0_4
# %bb.3: # in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rdi
movslq -32(%rbp), %rax
addq %rax, %rdi
movq -40(%rbp), %rax
movq (%rax), %rdx
movslq -28(%rbp), %rax
shlq $3, %rax
addq %rax, %rdx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
movq %rax, %rcx
movslq -32(%rbp), %rax
addq %rcx, %rax
# kill: def $eax killed $eax killed $rax
movl %eax, -32(%rbp)
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
jmp .LBB0_5
.LBB0_5: # in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp .LBB0_1
.LBB0_6:
cmpl $0, -32(%rbp)
je .LBB0_8
# %bb.7:
movq -24(%rbp), %rax
movl -32(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movb $10, (%rax,%rcx)
.LBB0_8:
movl -32(%rbp), %eax
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_arp_targets, .Lfunc_end0-bonding_show_arp_targets
.cfi_endproc
# -- End function
.type BOND_MAX_ARP_TARGETS,@object # @BOND_MAX_ARP_TARGETS
.bss
.globl BOND_MAX_ARP_TARGETS
.p2align 2, 0x0
BOND_MAX_ARP_TARGETS:
.long 0 # 0x0
.size BOND_MAX_ARP_TARGETS, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pI4 "
.size .L.str, 6
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_targets
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym BOND_MAX_ARP_TARGETS
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_targets.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_targets
.type bonding_show_arp_targets,@function
bonding_show_arp_targets: # @bonding_show_arp_targets
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdx, %rbx
callq to_bond@PLT
cmpl $0, BOND_MAX_ARP_TARGETS(%rip)
jle .LBB0_1
# %bb.2:
movq %rax, %r15
xorl %r13d, %r13d
leaq .L.str(%rip), %r12
xorl %ebp, %ebp
xorl %r14d, %r14d
jmp .LBB0_3
.p2align 4, 0x90
.LBB0_5: # in Loop: Header=BB0_3 Depth=1
incq %rbp
movslq BOND_MAX_ARP_TARGETS(%rip), %rax
addq $8, %r13
cmpq %rax, %rbp
jge .LBB0_6
.LBB0_3: # =>This Inner Loop Header: Depth=1
movq (%r15), %rdx
cmpq $0, (%rdx,%r13)
je .LBB0_5
# %bb.4: # in Loop: Header=BB0_3 Depth=1
addq %r13, %rdx
movslq %r14d, %r14
leaq (%rbx,%r14), %rdi
movq %r12, %rsi
callq sprintf@PLT
addl %eax, %r14d
jmp .LBB0_5
.LBB0_1:
xorl %r14d, %r14d
.LBB0_6:
testl %r14d, %r14d
je .LBB0_8
# %bb.7:
movslq %r14d, %rax
movb $10, -1(%rax,%rbx)
.LBB0_8:
movl %r14d, %eax
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_arp_targets, .Lfunc_end0-bonding_show_arp_targets
.cfi_endproc
# -- End function
.type BOND_MAX_ARP_TARGETS,@object # @BOND_MAX_ARP_TARGETS
.bss
.globl BOND_MAX_ARP_TARGETS
.p2align 2, 0x0
BOND_MAX_ARP_TARGETS:
.long 0 # 0x0
.size BOND_MAX_ARP_TARGETS, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pI4 "
.size .L.str, 6
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_targets
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_targets.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_targets
.type bonding_show_arp_targets,@function
bonding_show_arp_targets: # @bonding_show_arp_targets
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdx, %rbx
callq to_bond@PLT
movq %rax, %r15
movl BOND_MAX_ARP_TARGETS(%rip), %eax
testl %eax, %eax
jle .LBB0_8
# %bb.1:
xorl %r13d, %r13d
leaq .L.str(%rip), %r12
xorl %ebp, %ebp
xorl %r14d, %r14d
jmp .LBB0_3
.p2align 4, 0x90
.LBB0_2: # in Loop: Header=BB0_3 Depth=1
incq %rbp
movslq %eax, %rcx
addq $8, %r13
cmpq %rcx, %rbp
jge .LBB0_5
.LBB0_3: # =>This Inner Loop Header: Depth=1
movq (%r15), %rdx
cmpq $0, (%rdx,%r13)
je .LBB0_2
# %bb.4: # in Loop: Header=BB0_3 Depth=1
addq %r13, %rdx
movslq %r14d, %r14
leaq (%rbx,%r14), %rdi
movq %r12, %rsi
callq sprintf@PLT
addl %eax, %r14d
movl BOND_MAX_ARP_TARGETS(%rip), %eax
jmp .LBB0_2
.LBB0_5:
testl %r14d, %r14d
je .LBB0_8
# %bb.6:
movslq %r14d, %rax
movb $10, -1(%rax,%rbx)
jmp .LBB0_9
.LBB0_8:
xorl %r14d, %r14d
.LBB0_9:
movl %r14d, %eax
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_arp_targets, .Lfunc_end0-bonding_show_arp_targets
.cfi_endproc
# -- End function
.type BOND_MAX_ARP_TARGETS,@object # @BOND_MAX_ARP_TARGETS
.bss
.globl BOND_MAX_ARP_TARGETS
.p2align 2, 0x0
BOND_MAX_ARP_TARGETS:
.long 0 # 0x0
.size BOND_MAX_ARP_TARGETS, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pI4 "
.size .L.str, 6
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_targets
| .text
.file "extr_bond_sysfs.c_bonding_show_arp_targets.c"
.p2align 4, 0x90 # -- Begin function bonding_show_arp_targets
.type bonding_show_arp_targets,@function
bonding_show_arp_targets: # @bonding_show_arp_targets
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdx, %rbx
callq to_bond@PLT
movq %rax, %r15
movl BOND_MAX_ARP_TARGETS(%rip), %eax
testl %eax, %eax
jle .LBB0_8
# %bb.1:
xorl %r13d, %r13d
leaq .L.str(%rip), %r12
xorl %ebp, %ebp
xorl %r14d, %r14d
jmp .LBB0_3
.p2align 4, 0x90
.LBB0_2: # in Loop: Header=BB0_3 Depth=1
incq %rbp
movslq %eax, %rcx
addq $8, %r13
cmpq %rcx, %rbp
jge .LBB0_5
.LBB0_3: # =>This Inner Loop Header: Depth=1
movq (%r15), %rdx
cmpq $0, (%rdx,%r13)
je .LBB0_2
# %bb.4: # in Loop: Header=BB0_3 Depth=1
addq %r13, %rdx
movslq %r14d, %r14
leaq (%rbx,%r14), %rdi
movq %r12, %rsi
callq sprintf@PLT
addl %eax, %r14d
movl BOND_MAX_ARP_TARGETS(%rip), %eax
jmp .LBB0_2
.LBB0_5:
testl %r14d, %r14d
je .LBB0_8
# %bb.6:
movslq %r14d, %rax
movb $10, -1(%rax,%rbx)
jmp .LBB0_9
.LBB0_8:
xorl %r14d, %r14d
.LBB0_9:
movl %r14d, %eax
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_arp_targets, .Lfunc_end0-bonding_show_arp_targets
.cfi_endproc
# -- End function
.type BOND_MAX_ARP_TARGETS,@object # @BOND_MAX_ARP_TARGETS
.bss
.globl BOND_MAX_ARP_TARGETS
.p2align 2, 0x0
BOND_MAX_ARP_TARGETS:
.long 0 # 0x0
.size BOND_MAX_ARP_TARGETS, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%pI4 "
.size .L.str, 6
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_arp_targets
|
extr_bond_main.c_bond_mc_list_copy.c | .text
.file "extr_bond_main.c_bond_mc_list_copy.c"
.p2align 2 // -- Begin function bond_mc_list_copy
.type bond_mc_list_copy,@function
bond_mc_list_copy: // @bond_mc_list_copy
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] // 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
str w2, [sp, #20]
ldur x8, [x29, #-16]
str x8, [sp, #8]
b .LBB0_1
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_2
.LBB0_2: // in Loop: Header=BB0_1 Depth=1
ldr w1, [sp, #20]
mov w0, #24 // =0x18
bl kmalloc
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
adrp x8, ENOMEM
ldr w9, [x8, :lo12:ENOMEM]
mov w8, wzr
subs w8, w8, w9
stur w8, [x29, #-4]
b .LBB0_7
.LBB0_4: // in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldr x8, [x8]
ldr x9, [sp]
str x8, [x9, #16]
ldr x8, [sp]
ldr x9, [sp, #24]
str x8, [x9]
ldr x8, [sp, #8]
ldr w8, [x8, #8]
ldr x9, [sp]
str w8, [x9, #8]
ldr x8, [sp]
ldr w0, [x8, #12]
ldr x8, [sp, #8]
ldr w1, [x8, #12]
ldr x8, [sp, #8]
ldr w2, [x8, #8]
bl memcpy
ldr x8, [sp, #8]
ldr w8, [x8, #4]
ldr x9, [sp]
str w8, [x9, #4]
ldr x8, [sp, #8]
ldr w8, [x8]
ldr x9, [sp]
str w8, [x9]
b .LBB0_5
.LBB0_5: // in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #16]
str x8, [sp, #8]
b .LBB0_1
.LBB0_6:
stur wzr, [x29, #-4]
b .LBB0_7
.LBB0_7:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 64
ldp x29, x30, [sp, #48] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_mc_list_copy, .Lfunc_end0-bond_mc_list_copy
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_mc_list_copy
.addrsig_sym kmalloc
.addrsig_sym memcpy
.addrsig_sym ENOMEM
| .text
.file "extr_bond_main.c_bond_mc_list_copy.c"
.p2align 2 // -- Begin function bond_mc_list_copy
.type bond_mc_list_copy,@function
bond_mc_list_copy: // @bond_mc_list_copy
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_7
// %bb.1:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w19, w2
mov x20, x0
mov x21, x1
.LBB0_2: // =>This Inner Loop Header: Depth=1
mov w0, #24 // =0x18
mov w1, w19
bl kmalloc
cbz x0, .LBB0_5
// %bb.3: // in Loop: Header=BB0_2 Depth=1
ldp w8, w1, [x20, #8]
mov x22, x0
ldr x9, [x21]
str w8, [x0, #8]
ldr w0, [x0, #12]
ldr w2, [x20, #8]
str x9, [x22, #16]
str x22, [x21]
bl memcpy
ldp w9, w8, [x20]
ldr x20, [x20, #16]
stp w9, w8, [x22]
cbnz x20, .LBB0_2
// %bb.4:
mov w0, wzr
b .LBB0_6
.LBB0_5:
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
neg w0, w8
.LBB0_6:
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
.LBB0_7:
ret
.Lfunc_end0:
.size bond_mc_list_copy, .Lfunc_end0-bond_mc_list_copy
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_mc_list_copy
| .text
.file "extr_bond_main.c_bond_mc_list_copy.c"
.p2align 2 // -- Begin function bond_mc_list_copy
.type bond_mc_list_copy,@function
bond_mc_list_copy: // @bond_mc_list_copy
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_7
// %bb.1:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w19, w2
mov x20, x0
mov x21, x1
.LBB0_2: // =>This Inner Loop Header: Depth=1
mov w0, #24 // =0x18
mov w1, w19
bl kmalloc
cbz x0, .LBB0_5
// %bb.3: // in Loop: Header=BB0_2 Depth=1
ldp w8, w1, [x20, #8]
mov x22, x0
ldr x9, [x21]
str w8, [x0, #8]
ldr w0, [x0, #12]
ldr w2, [x20, #8]
str x9, [x22, #16]
str x22, [x21]
bl memcpy
ldr d0, [x20]
ldr x20, [x20, #16]
str d0, [x22]
cbnz x20, .LBB0_2
// %bb.4:
mov w0, wzr
b .LBB0_6
.LBB0_5:
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
neg w0, w8
.LBB0_6:
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
.LBB0_7:
ret
.Lfunc_end0:
.size bond_mc_list_copy, .Lfunc_end0-bond_mc_list_copy
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_mc_list_copy
| .text
.file "extr_bond_main.c_bond_mc_list_copy.c"
.p2align 2 // -- Begin function bond_mc_list_copy
.type bond_mc_list_copy,@function
bond_mc_list_copy: // @bond_mc_list_copy
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_7
// %bb.1:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w19, w2
mov x20, x0
mov x21, x1
.LBB0_2: // =>This Inner Loop Header: Depth=1
mov w0, #24 // =0x18
mov w1, w19
bl kmalloc
cbz x0, .LBB0_5
// %bb.3: // in Loop: Header=BB0_2 Depth=1
ldp w8, w1, [x20, #8]
mov x22, x0
ldr x9, [x21]
str w8, [x0, #8]
ldr w0, [x0, #12]
ldr w2, [x20, #8]
str x9, [x22, #16]
str x22, [x21]
bl memcpy
ldr d0, [x20]
ldr x20, [x20, #16]
str d0, [x22]
cbnz x20, .LBB0_2
// %bb.4:
mov w0, wzr
b .LBB0_6
.LBB0_5:
adrp x8, ENOMEM
ldr w8, [x8, :lo12:ENOMEM]
neg w0, w8
.LBB0_6:
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
.LBB0_7:
ret
.Lfunc_end0:
.size bond_mc_list_copy, .Lfunc_end0-bond_mc_list_copy
.cfi_endproc
// -- End function
.type ENOMEM,@object // @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.word 0 // 0x0
.size ENOMEM, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_mc_list_copy
| .text
.file "extr_bond_main.c_bond_mc_list_copy.c"
.p2align 4, 0x90 # -- Begin function bond_mc_list_copy
.type bond_mc_list_copy,@function
bond_mc_list_copy: # @bond_mc_list_copy
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
.LBB0_1: # =>This Inner Loop Header: Depth=1
cmpq $0, -40(%rbp)
je .LBB0_6
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %esi
movl $24, %edi
callq kmalloc@PLT
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jne .LBB0_4
# %bb.3:
xorl %eax, %eax
subl ENOMEM(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_7
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movq (%rax), %rcx
movq -48(%rbp), %rax
movq %rcx, 16(%rax)
movq -48(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movq -40(%rbp), %rax
movl 8(%rax), %ecx
movq -48(%rbp), %rax
movl %ecx, 8(%rax)
movq -48(%rbp), %rax
movl 12(%rax), %edi
movq -40(%rbp), %rax
movl 12(%rax), %esi
movq -40(%rbp), %rax
movl 8(%rax), %edx
callq memcpy@PLT
movq -40(%rbp), %rax
movl 4(%rax), %ecx
movq -48(%rbp), %rax
movl %ecx, 4(%rax)
movq -40(%rbp), %rax
movl (%rax), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
# %bb.5: # in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -40(%rbp)
jmp .LBB0_1
.LBB0_6:
movl $0, -4(%rbp)
.LBB0_7:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_mc_list_copy, .Lfunc_end0-bond_mc_list_copy
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_mc_list_copy
.addrsig_sym kmalloc
.addrsig_sym memcpy
.addrsig_sym ENOMEM
| .text
.file "extr_bond_main.c_bond_mc_list_copy.c"
.p2align 4, 0x90 # -- Begin function bond_mc_list_copy
.type bond_mc_list_copy,@function
bond_mc_list_copy: # @bond_mc_list_copy
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r12
.cfi_def_cfa_offset 40
pushq %rbx
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
xorl %ebx, %ebx
testq %rdi, %rdi
je .LBB0_5
# %bb.1:
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
.p2align 4, 0x90
.LBB0_2: # =>This Inner Loop Header: Depth=1
movl $24, %edi
movl %ebp, %esi
callq kmalloc@PLT
testq %rax, %rax
je .LBB0_3
# %bb.4: # in Loop: Header=BB0_2 Depth=1
movq %rax, %r12
movq (%r14), %rax
movq %rax, 16(%r12)
movq %r12, (%r14)
movl 8(%r15), %eax
movl %eax, 8(%r12)
movl 12(%r12), %edi
movl 8(%r15), %edx
movl 12(%r15), %esi
callq memcpy@PLT
movl 4(%r15), %eax
movl %eax, 4(%r12)
movl (%r15), %eax
movl %eax, (%r12)
movq 16(%r15), %r15
testq %r15, %r15
jne .LBB0_2
jmp .LBB0_5
.LBB0_3:
xorl %ebx, %ebx
subl ENOMEM(%rip), %ebx
.LBB0_5:
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 40
popq %r12
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_mc_list_copy, .Lfunc_end0-bond_mc_list_copy
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_mc_list_copy
| .text
.file "extr_bond_main.c_bond_mc_list_copy.c"
.p2align 4, 0x90 # -- Begin function bond_mc_list_copy
.type bond_mc_list_copy,@function
bond_mc_list_copy: # @bond_mc_list_copy
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r12
.cfi_def_cfa_offset 40
pushq %rbx
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
xorl %ebx, %ebx
testq %rdi, %rdi
je .LBB0_5
# %bb.1:
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
.p2align 4, 0x90
.LBB0_2: # =>This Inner Loop Header: Depth=1
movl $24, %edi
movl %ebp, %esi
callq kmalloc@PLT
testq %rax, %rax
je .LBB0_3
# %bb.4: # in Loop: Header=BB0_2 Depth=1
movq %rax, %r12
movq (%r14), %rax
movq %rax, 16(%r12)
movq %r12, (%r14)
movl 8(%r15), %eax
movl %eax, 8(%r12)
movl 12(%r12), %edi
movl 8(%r15), %edx
movl 12(%r15), %esi
callq memcpy@PLT
movq (%r15), %rax
movq %rax, (%r12)
movq 16(%r15), %r15
testq %r15, %r15
jne .LBB0_2
jmp .LBB0_5
.LBB0_3:
xorl %ebx, %ebx
subl ENOMEM(%rip), %ebx
.LBB0_5:
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 40
popq %r12
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_mc_list_copy, .Lfunc_end0-bond_mc_list_copy
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_mc_list_copy
| .text
.file "extr_bond_main.c_bond_mc_list_copy.c"
.p2align 4, 0x90 # -- Begin function bond_mc_list_copy
.type bond_mc_list_copy,@function
bond_mc_list_copy: # @bond_mc_list_copy
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r12
.cfi_def_cfa_offset 40
pushq %rbx
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
xorl %ebx, %ebx
testq %rdi, %rdi
je .LBB0_5
# %bb.1:
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
.p2align 4, 0x90
.LBB0_2: # =>This Inner Loop Header: Depth=1
movl $24, %edi
movl %ebp, %esi
callq kmalloc@PLT
testq %rax, %rax
je .LBB0_3
# %bb.4: # in Loop: Header=BB0_2 Depth=1
movq %rax, %r12
movq (%r14), %rax
movq %rax, 16(%r12)
movq %r12, (%r14)
movl 8(%r15), %eax
movl %eax, 8(%r12)
movl 12(%r12), %edi
movl 8(%r15), %edx
movl 12(%r15), %esi
callq memcpy@PLT
movq (%r15), %rax
movq %rax, (%r12)
movq 16(%r15), %r15
testq %r15, %r15
jne .LBB0_2
jmp .LBB0_5
.LBB0_3:
xorl %ebx, %ebx
subl ENOMEM(%rip), %ebx
.LBB0_5:
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 40
popq %r12
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_mc_list_copy, .Lfunc_end0-bond_mc_list_copy
.cfi_endproc
# -- End function
.type ENOMEM,@object # @ENOMEM
.bss
.globl ENOMEM
.p2align 2, 0x0
ENOMEM:
.long 0 # 0x0
.size ENOMEM, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_mc_list_copy
|
extr_bond_alb.c_rlb_init_table_entry.c | .text
.file "extr_bond_alb.c_rlb_init_table_entry.c"
.p2align 2 // -- Begin function rlb_init_table_entry
.type rlb_init_table_entry,@function
rlb_init_table_entry: // @rlb_init_table_entry
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, wzr
mov w2, #16 // =0x10
bl memset
adrp x8, RLB_NULL_INDEX
ldr x9, [x8, :lo12:RLB_NULL_INDEX]
ldr x10, [sp, #8]
str x9, [x10, #8]
ldr x8, [x8, :lo12:RLB_NULL_INDEX]
ldr x9, [sp, #8]
str x8, [x9]
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size rlb_init_table_entry, .Lfunc_end0-rlb_init_table_entry
.cfi_endproc
// -- End function
.type RLB_NULL_INDEX,@object // @RLB_NULL_INDEX
.bss
.globl RLB_NULL_INDEX
.p2align 3, 0x0
RLB_NULL_INDEX:
.xword 0
.size RLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_init_table_entry
.addrsig_sym memset
.addrsig_sym RLB_NULL_INDEX
| .text
.file "extr_bond_alb.c_rlb_init_table_entry.c"
.p2align 2 // -- Begin function rlb_init_table_entry
.type rlb_init_table_entry,@function
rlb_init_table_entry: // @rlb_init_table_entry
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov w1, wzr
mov w2, #16 // =0x10
mov x19, x0
bl memset
adrp x8, RLB_NULL_INDEX
ldr x8, [x8, :lo12:RLB_NULL_INDEX]
stp x8, x8, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size rlb_init_table_entry, .Lfunc_end0-rlb_init_table_entry
.cfi_endproc
// -- End function
.type RLB_NULL_INDEX,@object // @RLB_NULL_INDEX
.bss
.globl RLB_NULL_INDEX
.p2align 3, 0x0
RLB_NULL_INDEX:
.xword 0
.size RLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_init_table_entry
| .text
.file "extr_bond_alb.c_rlb_init_table_entry.c"
.p2align 2 // -- Begin function rlb_init_table_entry
.type rlb_init_table_entry,@function
rlb_init_table_entry: // @rlb_init_table_entry
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov w1, wzr
mov w2, #16 // =0x10
mov x19, x0
bl memset
adrp x8, RLB_NULL_INDEX
ldr x8, [x8, :lo12:RLB_NULL_INDEX]
stp x8, x8, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size rlb_init_table_entry, .Lfunc_end0-rlb_init_table_entry
.cfi_endproc
// -- End function
.type RLB_NULL_INDEX,@object // @RLB_NULL_INDEX
.bss
.globl RLB_NULL_INDEX
.p2align 3, 0x0
RLB_NULL_INDEX:
.xword 0
.size RLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_init_table_entry
| .text
.file "extr_bond_alb.c_rlb_init_table_entry.c"
.p2align 2 // -- Begin function rlb_init_table_entry
.type rlb_init_table_entry,@function
rlb_init_table_entry: // @rlb_init_table_entry
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov w1, wzr
mov w2, #16 // =0x10
mov x19, x0
bl memset
adrp x8, RLB_NULL_INDEX
ldr x8, [x8, :lo12:RLB_NULL_INDEX]
stp x8, x8, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size rlb_init_table_entry, .Lfunc_end0-rlb_init_table_entry
.cfi_endproc
// -- End function
.type RLB_NULL_INDEX,@object // @RLB_NULL_INDEX
.bss
.globl RLB_NULL_INDEX
.p2align 3, 0x0
RLB_NULL_INDEX:
.xword 0
.size RLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_init_table_entry
| .text
.file "extr_bond_alb.c_rlb_init_table_entry.c"
.p2align 4, 0x90 # -- Begin function rlb_init_table_entry
.type rlb_init_table_entry,@function
rlb_init_table_entry: # @rlb_init_table_entry
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq memset@PLT
movq RLB_NULL_INDEX(%rip), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq RLB_NULL_INDEX(%rip), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size rlb_init_table_entry, .Lfunc_end0-rlb_init_table_entry
.cfi_endproc
# -- End function
.type RLB_NULL_INDEX,@object # @RLB_NULL_INDEX
.bss
.globl RLB_NULL_INDEX
.p2align 3, 0x0
RLB_NULL_INDEX:
.quad 0
.size RLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_init_table_entry
.addrsig_sym memset
.addrsig_sym RLB_NULL_INDEX
| .text
.file "extr_bond_alb.c_rlb_init_table_entry.c"
.p2align 4, 0x90 # -- Begin function rlb_init_table_entry
.type rlb_init_table_entry,@function
rlb_init_table_entry: # @rlb_init_table_entry
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
xorl %esi, %esi
movl $16, %edx
callq memset@PLT
movq RLB_NULL_INDEX(%rip), %rax
movq %rax, 8(%rbx)
movq %rax, (%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size rlb_init_table_entry, .Lfunc_end0-rlb_init_table_entry
.cfi_endproc
# -- End function
.type RLB_NULL_INDEX,@object # @RLB_NULL_INDEX
.bss
.globl RLB_NULL_INDEX
.p2align 3, 0x0
RLB_NULL_INDEX:
.quad 0
.size RLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_init_table_entry
| .text
.file "extr_bond_alb.c_rlb_init_table_entry.c"
.p2align 4, 0x90 # -- Begin function rlb_init_table_entry
.type rlb_init_table_entry,@function
rlb_init_table_entry: # @rlb_init_table_entry
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
xorl %esi, %esi
movl $16, %edx
callq memset@PLT
movq RLB_NULL_INDEX(%rip), %rax
movq %rax, 8(%rbx)
movq %rax, (%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size rlb_init_table_entry, .Lfunc_end0-rlb_init_table_entry
.cfi_endproc
# -- End function
.type RLB_NULL_INDEX,@object # @RLB_NULL_INDEX
.bss
.globl RLB_NULL_INDEX
.p2align 3, 0x0
RLB_NULL_INDEX:
.quad 0
.size RLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_init_table_entry
| .text
.file "extr_bond_alb.c_rlb_init_table_entry.c"
.p2align 4, 0x90 # -- Begin function rlb_init_table_entry
.type rlb_init_table_entry,@function
rlb_init_table_entry: # @rlb_init_table_entry
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
xorl %esi, %esi
movl $16, %edx
callq memset@PLT
movq RLB_NULL_INDEX(%rip), %rax
movq %rax, 8(%rbx)
movq %rax, (%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size rlb_init_table_entry, .Lfunc_end0-rlb_init_table_entry
.cfi_endproc
# -- End function
.type RLB_NULL_INDEX,@object # @RLB_NULL_INDEX
.bss
.globl RLB_NULL_INDEX
.p2align 3, 0x0
RLB_NULL_INDEX:
.quad 0
.size RLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_init_table_entry
|
extr_bond_main.c_bond_work_cancel_all.c | .text
.file "extr_bond_main.c_bond_work_cancel_all.c"
.p2align 2 // -- Begin function bond_work_cancel_all
.type bond_work_cancel_all,@function
bond_work_cancel_all: // @bond_work_cancel_all
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
add x0, x8, #52
bl write_lock_bh
ldr x9, [sp, #8]
mov w8, #1 // =0x1
str w8, [x9]
ldr x8, [sp, #8]
add x0, x8, #52
bl write_unlock_bh
ldr x8, [sp, #8]
ldr x8, [x8, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #8]
add x0, x8, #48
bl delayed_work_pending
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
ldr x8, [sp, #8]
add x0, x8, #48
bl cancel_delayed_work
b .LBB0_3
.LBB0_3:
ldr x8, [sp, #8]
ldr x8, [x8, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_4
.LBB0_4:
ldr x8, [sp, #8]
add x0, x8, #44
bl delayed_work_pending
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
ldr x8, [sp, #8]
add x0, x8, #44
bl cancel_delayed_work
b .LBB0_6
.LBB0_6:
ldr x8, [sp, #8]
ldr x8, [x8, #16]
adrp x9, BOND_MODE_ALB
ldr x9, [x9, :lo12:BOND_MODE_ALB]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_9
b .LBB0_7
.LBB0_7:
ldr x8, [sp, #8]
add x0, x8, #40
bl delayed_work_pending
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_9
b .LBB0_8
.LBB0_8:
ldr x8, [sp, #8]
add x0, x8, #40
bl cancel_delayed_work
b .LBB0_9
.LBB0_9:
ldr x8, [sp, #8]
ldr x8, [x8, #16]
adrp x9, BOND_MODE_8023AD
ldr x9, [x9, :lo12:BOND_MODE_8023AD]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_12
b .LBB0_10
.LBB0_10:
ldr x8, [sp, #8]
add x0, x8, #8
bl delayed_work_pending
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_12
b .LBB0_11
.LBB0_11:
ldr x8, [sp, #8]
add x0, x8, #8
bl cancel_delayed_work
b .LBB0_12
.LBB0_12:
ldr x8, [sp, #8]
add x0, x8, #4
bl delayed_work_pending
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_14
b .LBB0_13
.LBB0_13:
ldr x8, [sp, #8]
add x0, x8, #4
bl cancel_delayed_work
b .LBB0_14
.LBB0_14:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_work_cancel_all, .Lfunc_end0-bond_work_cancel_all
.cfi_endproc
// -- End function
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.bss
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_work_cancel_all
.addrsig_sym write_lock_bh
.addrsig_sym write_unlock_bh
.addrsig_sym delayed_work_pending
.addrsig_sym cancel_delayed_work
.addrsig_sym BOND_MODE_ALB
.addrsig_sym BOND_MODE_8023AD
| .text
.file "extr_bond_main.c_bond_work_cancel_all.c"
.p2align 2 // -- Begin function bond_work_cancel_all
.type bond_work_cancel_all,@function
bond_work_cancel_all: // @bond_work_cancel_all
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
add x20, x0, #52
mov x19, x0
mov x0, x20
bl write_lock_bh
mov w8, #1 // =0x1
mov x0, x20
str w8, [x19]
bl write_unlock_bh
ldr x8, [x19, #32]
cbz x8, .LBB0_3
// %bb.1:
add x20, x19, #48
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_3
// %bb.2:
mov x0, x20
bl cancel_delayed_work
.LBB0_3:
ldr x8, [x19, #24]
cbz x8, .LBB0_6
// %bb.4:
add x20, x19, #44
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_6
// %bb.5:
mov x0, x20
bl cancel_delayed_work
.LBB0_6:
adrp x8, BOND_MODE_ALB
ldr x9, [x19, #16]
ldr x8, [x8, :lo12:BOND_MODE_ALB]
cmp x9, x8
b.ne .LBB0_9
// %bb.7:
add x20, x19, #40
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_9
// %bb.8:
mov x0, x20
bl cancel_delayed_work
.LBB0_9:
adrp x8, BOND_MODE_8023AD
ldr x9, [x19, #16]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_12
// %bb.10:
add x20, x19, #8
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_12
// %bb.11:
mov x0, x20
bl cancel_delayed_work
.LBB0_12:
add x19, x19, #4
mov x0, x19
bl delayed_work_pending
cbz x0, .LBB0_14
// %bb.13:
mov x0, x19
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b cancel_delayed_work
.LBB0_14:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_work_cancel_all, .Lfunc_end0-bond_work_cancel_all
.cfi_endproc
// -- End function
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.bss
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_work_cancel_all
| .text
.file "extr_bond_main.c_bond_work_cancel_all.c"
.p2align 2 // -- Begin function bond_work_cancel_all
.type bond_work_cancel_all,@function
bond_work_cancel_all: // @bond_work_cancel_all
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
add x20, x0, #52
mov x19, x0
mov x0, x20
bl write_lock_bh
mov w8, #1 // =0x1
mov x0, x20
str w8, [x19]
bl write_unlock_bh
ldr x8, [x19, #32]
cbz x8, .LBB0_3
// %bb.1:
add x20, x19, #48
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_3
// %bb.2:
mov x0, x20
bl cancel_delayed_work
.LBB0_3:
ldr x8, [x19, #24]
cbz x8, .LBB0_6
// %bb.4:
add x20, x19, #44
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_6
// %bb.5:
mov x0, x20
bl cancel_delayed_work
.LBB0_6:
adrp x8, BOND_MODE_ALB
ldr x9, [x19, #16]
ldr x8, [x8, :lo12:BOND_MODE_ALB]
cmp x9, x8
b.ne .LBB0_9
// %bb.7:
add x20, x19, #40
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_9
// %bb.8:
mov x0, x20
bl cancel_delayed_work
.LBB0_9:
adrp x8, BOND_MODE_8023AD
ldr x9, [x19, #16]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_12
// %bb.10:
add x20, x19, #8
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_12
// %bb.11:
mov x0, x20
bl cancel_delayed_work
.LBB0_12:
add x19, x19, #4
mov x0, x19
bl delayed_work_pending
cbz x0, .LBB0_14
// %bb.13:
mov x0, x19
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b cancel_delayed_work
.LBB0_14:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_work_cancel_all, .Lfunc_end0-bond_work_cancel_all
.cfi_endproc
// -- End function
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.bss
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_work_cancel_all
| .text
.file "extr_bond_main.c_bond_work_cancel_all.c"
.p2align 2 // -- Begin function bond_work_cancel_all
.type bond_work_cancel_all,@function
bond_work_cancel_all: // @bond_work_cancel_all
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
add x20, x0, #52
mov x19, x0
mov x0, x20
bl write_lock_bh
mov w8, #1 // =0x1
mov x0, x20
str w8, [x19]
bl write_unlock_bh
ldr x8, [x19, #32]
cbz x8, .LBB0_3
// %bb.1:
add x20, x19, #48
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_3
// %bb.2:
mov x0, x20
bl cancel_delayed_work
.LBB0_3:
ldr x8, [x19, #24]
cbz x8, .LBB0_6
// %bb.4:
add x20, x19, #44
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_6
// %bb.5:
mov x0, x20
bl cancel_delayed_work
.LBB0_6:
adrp x8, BOND_MODE_ALB
ldr x9, [x19, #16]
ldr x8, [x8, :lo12:BOND_MODE_ALB]
cmp x9, x8
b.ne .LBB0_9
// %bb.7:
add x20, x19, #40
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_9
// %bb.8:
mov x0, x20
bl cancel_delayed_work
.LBB0_9:
adrp x8, BOND_MODE_8023AD
ldr x9, [x19, #16]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_12
// %bb.10:
add x20, x19, #8
mov x0, x20
bl delayed_work_pending
cbz x0, .LBB0_12
// %bb.11:
mov x0, x20
bl cancel_delayed_work
.LBB0_12:
add x19, x19, #4
mov x0, x19
bl delayed_work_pending
cbz x0, .LBB0_14
// %bb.13:
mov x0, x19
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b cancel_delayed_work
.LBB0_14:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_work_cancel_all, .Lfunc_end0-bond_work_cancel_all
.cfi_endproc
// -- End function
.type BOND_MODE_ALB,@object // @BOND_MODE_ALB
.bss
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.xword 0 // 0x0
.size BOND_MODE_ALB, 8
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_work_cancel_all
| .text
.file "extr_bond_main.c_bond_work_cancel_all.c"
.p2align 4, 0x90 # -- Begin function bond_work_cancel_all
.type bond_work_cancel_all,@function
bond_work_cancel_all: # @bond_work_cancel_all
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
addq $52, %rdi
callq write_lock_bh@PLT
movq -8(%rbp), %rax
movl $1, (%rax)
movq -8(%rbp), %rdi
addq $52, %rdi
callq write_unlock_bh@PLT
movq -8(%rbp), %rax
cmpq $0, 32(%rax)
je .LBB0_3
# %bb.1:
movq -8(%rbp), %rdi
addq $48, %rdi
callq delayed_work_pending@PLT
cmpq $0, %rax
je .LBB0_3
# %bb.2:
movq -8(%rbp), %rdi
addq $48, %rdi
callq cancel_delayed_work@PLT
.LBB0_3:
movq -8(%rbp), %rax
cmpq $0, 24(%rax)
je .LBB0_6
# %bb.4:
movq -8(%rbp), %rdi
addq $44, %rdi
callq delayed_work_pending@PLT
cmpq $0, %rax
je .LBB0_6
# %bb.5:
movq -8(%rbp), %rdi
addq $44, %rdi
callq cancel_delayed_work@PLT
.LBB0_6:
movq -8(%rbp), %rax
movq 16(%rax), %rax
cmpq BOND_MODE_ALB(%rip), %rax
jne .LBB0_9
# %bb.7:
movq -8(%rbp), %rdi
addq $40, %rdi
callq delayed_work_pending@PLT
cmpq $0, %rax
je .LBB0_9
# %bb.8:
movq -8(%rbp), %rdi
addq $40, %rdi
callq cancel_delayed_work@PLT
.LBB0_9:
movq -8(%rbp), %rax
movq 16(%rax), %rax
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_12
# %bb.10:
movq -8(%rbp), %rdi
addq $8, %rdi
callq delayed_work_pending@PLT
cmpq $0, %rax
je .LBB0_12
# %bb.11:
movq -8(%rbp), %rdi
addq $8, %rdi
callq cancel_delayed_work@PLT
.LBB0_12:
movq -8(%rbp), %rdi
addq $4, %rdi
callq delayed_work_pending@PLT
cmpq $0, %rax
je .LBB0_14
# %bb.13:
movq -8(%rbp), %rdi
addq $4, %rdi
callq cancel_delayed_work@PLT
.LBB0_14:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_work_cancel_all, .Lfunc_end0-bond_work_cancel_all
.cfi_endproc
# -- End function
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.bss
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_work_cancel_all
.addrsig_sym write_lock_bh
.addrsig_sym write_unlock_bh
.addrsig_sym delayed_work_pending
.addrsig_sym cancel_delayed_work
.addrsig_sym BOND_MODE_ALB
.addrsig_sym BOND_MODE_8023AD
| .text
.file "extr_bond_main.c_bond_work_cancel_all.c"
.p2align 4, 0x90 # -- Begin function bond_work_cancel_all
.type bond_work_cancel_all,@function
bond_work_cancel_all: # @bond_work_cancel_all
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
leaq 52(%rdi), %r14
movq %r14, %rdi
callq write_lock_bh@PLT
movl $1, (%rbx)
movq %r14, %rdi
callq write_unlock_bh@PLT
cmpq $0, 32(%rbx)
je .LBB0_3
# %bb.1:
leaq 48(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_3
# %bb.2:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_3:
cmpq $0, 24(%rbx)
je .LBB0_6
# %bb.4:
leaq 44(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_6
# %bb.5:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_6:
movq 16(%rbx), %rax
cmpq BOND_MODE_ALB(%rip), %rax
jne .LBB0_9
# %bb.7:
leaq 40(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_9
# %bb.8:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_9:
movq 16(%rbx), %rax
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_12
# %bb.10:
leaq 8(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_12
# %bb.11:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_12:
addq $4, %rbx
movq %rbx, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_13
# %bb.14:
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp cancel_delayed_work@PLT # TAILCALL
.LBB0_13:
.cfi_def_cfa_offset 32
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_work_cancel_all, .Lfunc_end0-bond_work_cancel_all
.cfi_endproc
# -- End function
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.bss
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_work_cancel_all
| .text
.file "extr_bond_main.c_bond_work_cancel_all.c"
.p2align 4, 0x90 # -- Begin function bond_work_cancel_all
.type bond_work_cancel_all,@function
bond_work_cancel_all: # @bond_work_cancel_all
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
leaq 52(%rdi), %r14
movq %r14, %rdi
callq write_lock_bh@PLT
movl $1, (%rbx)
movq %r14, %rdi
callq write_unlock_bh@PLT
cmpq $0, 32(%rbx)
je .LBB0_3
# %bb.1:
leaq 48(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_3
# %bb.2:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_3:
cmpq $0, 24(%rbx)
je .LBB0_6
# %bb.4:
leaq 44(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_6
# %bb.5:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_6:
movq 16(%rbx), %rax
cmpq BOND_MODE_ALB(%rip), %rax
jne .LBB0_9
# %bb.7:
leaq 40(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_9
# %bb.8:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_9:
movq 16(%rbx), %rax
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_12
# %bb.10:
leaq 8(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_12
# %bb.11:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_12:
addq $4, %rbx
movq %rbx, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_13
# %bb.14:
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp cancel_delayed_work@PLT # TAILCALL
.LBB0_13:
.cfi_def_cfa_offset 32
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_work_cancel_all, .Lfunc_end0-bond_work_cancel_all
.cfi_endproc
# -- End function
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.bss
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_work_cancel_all
| .text
.file "extr_bond_main.c_bond_work_cancel_all.c"
.p2align 4, 0x90 # -- Begin function bond_work_cancel_all
.type bond_work_cancel_all,@function
bond_work_cancel_all: # @bond_work_cancel_all
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rdi, %rbx
leaq 52(%rdi), %r14
movq %r14, %rdi
callq write_lock_bh@PLT
movl $1, (%rbx)
movq %r14, %rdi
callq write_unlock_bh@PLT
cmpq $0, 32(%rbx)
je .LBB0_3
# %bb.1:
leaq 48(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_3
# %bb.2:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_3:
cmpq $0, 24(%rbx)
je .LBB0_6
# %bb.4:
leaq 44(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_6
# %bb.5:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_6:
movq 16(%rbx), %rax
cmpq BOND_MODE_ALB(%rip), %rax
jne .LBB0_9
# %bb.7:
leaq 40(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_9
# %bb.8:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_9:
movq 16(%rbx), %rax
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_12
# %bb.10:
leaq 8(%rbx), %r14
movq %r14, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_12
# %bb.11:
movq %r14, %rdi
callq cancel_delayed_work@PLT
.LBB0_12:
addq $4, %rbx
movq %rbx, %rdi
callq delayed_work_pending@PLT
testq %rax, %rax
je .LBB0_13
# %bb.14:
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp cancel_delayed_work@PLT # TAILCALL
.LBB0_13:
.cfi_def_cfa_offset 32
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_work_cancel_all, .Lfunc_end0-bond_work_cancel_all
.cfi_endproc
# -- End function
.type BOND_MODE_ALB,@object # @BOND_MODE_ALB
.bss
.globl BOND_MODE_ALB
.p2align 3, 0x0
BOND_MODE_ALB:
.quad 0 # 0x0
.size BOND_MODE_ALB, 8
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_work_cancel_all
|
extr_bond_sysfs.c_bonding_show_slaves_active.c | .text
.file "extr_bond_sysfs.c_bonding_show_slaves_active.c"
.p2align 2 // -- Begin function bonding_show_slaves_active
.type bonding_show_slaves_active,@function
bonding_show_slaves_active: // @bonding_show_slaves_active
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp]
ldr x0, [sp, #8]
ldr x8, [sp]
ldr w2, [x8]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_slaves_active, .Lfunc_end0-bonding_show_slaves_active
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_slaves_active
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_slaves_active.c"
.p2align 2 // -- Begin function bonding_show_slaves_active
.type bonding_show_slaves_active,@function
bonding_show_slaves_active: // @bonding_show_slaves_active
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_slaves_active, .Lfunc_end0-bonding_show_slaves_active
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_slaves_active
| .text
.file "extr_bond_sysfs.c_bonding_show_slaves_active.c"
.p2align 2 // -- Begin function bonding_show_slaves_active
.type bonding_show_slaves_active,@function
bonding_show_slaves_active: // @bonding_show_slaves_active
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_slaves_active, .Lfunc_end0-bonding_show_slaves_active
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_slaves_active
| .text
.file "extr_bond_sysfs.c_bonding_show_slaves_active.c"
.p2align 2 // -- Begin function bonding_show_slaves_active
.type bonding_show_slaves_active,@function
bonding_show_slaves_active: // @bonding_show_slaves_active
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
ldr w2, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_slaves_active, .Lfunc_end0-bonding_show_slaves_active
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_slaves_active
| .text
.file "extr_bond_sysfs.c_bonding_show_slaves_active.c"
.p2align 4, 0x90 # -- Begin function bonding_show_slaves_active
.type bonding_show_slaves_active,@function
bonding_show_slaves_active: # @bonding_show_slaves_active
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -32(%rbp)
movq -24(%rbp), %rdi
movq -32(%rbp), %rax
movl (%rax), %edx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_slaves_active, .Lfunc_end0-bonding_show_slaves_active
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_slaves_active
.addrsig_sym to_bond
.addrsig_sym sprintf
| .text
.file "extr_bond_sysfs.c_bonding_show_slaves_active.c"
.p2align 4, 0x90 # -- Begin function bonding_show_slaves_active
.type bonding_show_slaves_active,@function
bonding_show_slaves_active: # @bonding_show_slaves_active
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_slaves_active, .Lfunc_end0-bonding_show_slaves_active
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_slaves_active
| .text
.file "extr_bond_sysfs.c_bonding_show_slaves_active.c"
.p2align 4, 0x90 # -- Begin function bonding_show_slaves_active
.type bonding_show_slaves_active,@function
bonding_show_slaves_active: # @bonding_show_slaves_active
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_slaves_active, .Lfunc_end0-bonding_show_slaves_active
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_slaves_active
| .text
.file "extr_bond_sysfs.c_bonding_show_slaves_active.c"
.p2align 4, 0x90 # -- Begin function bonding_show_slaves_active
.type bonding_show_slaves_active,@function
bonding_show_slaves_active: # @bonding_show_slaves_active
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movl (%rax), %edx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_slaves_active, .Lfunc_end0-bonding_show_slaves_active
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_slaves_active
|
extr_bond_3ad.c___set_agg_ports_ready.c | .text
.file "extr_bond_3ad.c___set_agg_ports_ready.c"
.p2align 2 // -- Begin function __set_agg_ports_ready
.type __set_agg_ports_ready,@function
__set_agg_ports_ready: // @__set_agg_ports_ready
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b .LBB0_1
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_7
b .LBB0_2
.LBB0_2: // in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3: // in Loop: Header=BB0_1 Depth=1
adrp x8, AD_PORT_READY
ldr w10, [x8, :lo12:AD_PORT_READY]
ldr x9, [sp, #8]
ldr w8, [x9]
orr w8, w8, w10
str w8, [x9]
b .LBB0_5
.LBB0_4: // in Loop: Header=BB0_1 Depth=1
adrp x8, AD_PORT_READY
ldr w10, [x8, :lo12:AD_PORT_READY]
ldr x9, [sp, #8]
ldr w8, [x9]
bic w8, w8, w10
str w8, [x9]
b .LBB0_5
.LBB0_5: // in Loop: Header=BB0_1 Depth=1
b .LBB0_6
.LBB0_6: // in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
b .LBB0_1
.LBB0_7:
add sp, sp, #32
.cfi_def_cfa_offset 0
ret
.Lfunc_end0:
.size __set_agg_ports_ready, .Lfunc_end0-__set_agg_ports_ready
.cfi_endproc
// -- End function
.type AD_PORT_READY,@object // @AD_PORT_READY
.bss
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.word 0 // 0x0
.size AD_PORT_READY, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __set_agg_ports_ready
.addrsig_sym AD_PORT_READY
| .text
.file "extr_bond_3ad.c___set_agg_ports_ready.c"
.p2align 2 // -- Begin function __set_agg_ports_ready
.type __set_agg_ports_ready,@function
__set_agg_ports_ready: // @__set_agg_ports_ready
.cfi_startproc
// %bb.0:
ldr x8, [x0]
cbz x8, .LBB0_6
// %bb.1:
adrp x9, AD_PORT_READY
b .LBB0_4
.LBB0_2: // in Loop: Header=BB0_4 Depth=1
ldr w11, [x8]
bic w10, w11, w10
.LBB0_3: // in Loop: Header=BB0_4 Depth=1
str w10, [x8]
ldr x8, [x8, #8]
cbz x8, .LBB0_6
.LBB0_4: // =>This Inner Loop Header: Depth=1
ldr w10, [x9, :lo12:AD_PORT_READY]
cbz w1, .LBB0_2
// %bb.5: // in Loop: Header=BB0_4 Depth=1
ldr w11, [x8]
orr w10, w11, w10
b .LBB0_3
.LBB0_6:
ret
.Lfunc_end0:
.size __set_agg_ports_ready, .Lfunc_end0-__set_agg_ports_ready
.cfi_endproc
// -- End function
.type AD_PORT_READY,@object // @AD_PORT_READY
.bss
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.word 0 // 0x0
.size AD_PORT_READY, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __set_agg_ports_ready
| .text
.file "extr_bond_3ad.c___set_agg_ports_ready.c"
.p2align 2 // -- Begin function __set_agg_ports_ready
.type __set_agg_ports_ready,@function
__set_agg_ports_ready: // @__set_agg_ports_ready
.cfi_startproc
// %bb.0:
ldr x8, [x0]
cbz x8, .LBB0_6
// %bb.1:
adrp x9, AD_PORT_READY
b .LBB0_4
.LBB0_2: // in Loop: Header=BB0_4 Depth=1
ldr w11, [x8]
bic w10, w11, w10
.LBB0_3: // in Loop: Header=BB0_4 Depth=1
str w10, [x8]
ldr x8, [x8, #8]
cbz x8, .LBB0_6
.LBB0_4: // =>This Inner Loop Header: Depth=1
ldr w10, [x9, :lo12:AD_PORT_READY]
cbz w1, .LBB0_2
// %bb.5: // in Loop: Header=BB0_4 Depth=1
ldr w11, [x8]
orr w10, w11, w10
b .LBB0_3
.LBB0_6:
ret
.Lfunc_end0:
.size __set_agg_ports_ready, .Lfunc_end0-__set_agg_ports_ready
.cfi_endproc
// -- End function
.type AD_PORT_READY,@object // @AD_PORT_READY
.bss
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.word 0 // 0x0
.size AD_PORT_READY, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __set_agg_ports_ready
| .text
.file "extr_bond_3ad.c___set_agg_ports_ready.c"
.p2align 2 // -- Begin function __set_agg_ports_ready
.type __set_agg_ports_ready,@function
__set_agg_ports_ready: // @__set_agg_ports_ready
.cfi_startproc
// %bb.0:
ldr x8, [x0]
cbz x8, .LBB0_4
// %bb.1:
adrp x9, AD_PORT_READY
cbz w1, .LBB0_3
.LBB0_2: // =>This Inner Loop Header: Depth=1
ldr w10, [x9, :lo12:AD_PORT_READY]
ldr w11, [x8]
orr w10, w11, w10
str w10, [x8]
ldr x8, [x8, #8]
cbnz x8, .LBB0_2
b .LBB0_4
.LBB0_3: // =>This Inner Loop Header: Depth=1
ldr w10, [x9, :lo12:AD_PORT_READY]
ldr w11, [x8]
bic w10, w11, w10
str w10, [x8]
ldr x8, [x8, #8]
cbnz x8, .LBB0_3
.LBB0_4:
ret
.Lfunc_end0:
.size __set_agg_ports_ready, .Lfunc_end0-__set_agg_ports_ready
.cfi_endproc
// -- End function
.type AD_PORT_READY,@object // @AD_PORT_READY
.bss
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.word 0 // 0x0
.size AD_PORT_READY, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __set_agg_ports_ready
| .text
.file "extr_bond_3ad.c___set_agg_ports_ready.c"
.p2align 4, 0x90 # -- Begin function __set_agg_ports_ready
.type __set_agg_ports_ready,@function
__set_agg_ports_ready: # @__set_agg_ports_ready
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
.LBB0_1: # =>This Inner Loop Header: Depth=1
cmpq $0, -24(%rbp)
je .LBB0_7
# %bb.2: # in Loop: Header=BB0_1 Depth=1
cmpl $0, -12(%rbp)
je .LBB0_4
# %bb.3: # in Loop: Header=BB0_1 Depth=1
movl AD_PORT_READY(%rip), %ecx
movq -24(%rbp), %rax
orl (%rax), %ecx
movl %ecx, (%rax)
jmp .LBB0_5
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
movl AD_PORT_READY(%rip), %ecx
xorl $-1, %ecx
movq -24(%rbp), %rax
andl (%rax), %ecx
movl %ecx, (%rax)
.LBB0_5: # in Loop: Header=BB0_1 Depth=1
jmp .LBB0_6
.LBB0_6: # in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
jmp .LBB0_1
.LBB0_7:
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size __set_agg_ports_ready, .Lfunc_end0-__set_agg_ports_ready
.cfi_endproc
# -- End function
.type AD_PORT_READY,@object # @AD_PORT_READY
.bss
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.long 0 # 0x0
.size AD_PORT_READY, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __set_agg_ports_ready
.addrsig_sym AD_PORT_READY
| .text
.file "extr_bond_3ad.c___set_agg_ports_ready.c"
.p2align 4, 0x90 # -- Begin function __set_agg_ports_ready
.type __set_agg_ports_ready,@function
__set_agg_ports_ready: # @__set_agg_ports_ready
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
jmp .LBB0_1
.p2align 4, 0x90
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
notl %ecx
andl (%rax), %ecx
.LBB0_5: # in Loop: Header=BB0_1 Depth=1
movl %ecx, (%rax)
movq 8(%rax), %rax
.LBB0_1: # =>This Inner Loop Header: Depth=1
testq %rax, %rax
je .LBB0_6
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movl AD_PORT_READY(%rip), %ecx
testl %esi, %esi
je .LBB0_4
# %bb.3: # in Loop: Header=BB0_1 Depth=1
orl (%rax), %ecx
jmp .LBB0_5
.LBB0_6:
retq
.Lfunc_end0:
.size __set_agg_ports_ready, .Lfunc_end0-__set_agg_ports_ready
.cfi_endproc
# -- End function
.type AD_PORT_READY,@object # @AD_PORT_READY
.bss
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.long 0 # 0x0
.size AD_PORT_READY, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __set_agg_ports_ready
| .text
.file "extr_bond_3ad.c___set_agg_ports_ready.c"
.p2align 4, 0x90 # -- Begin function __set_agg_ports_ready
.type __set_agg_ports_ready,@function
__set_agg_ports_ready: # @__set_agg_ports_ready
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
jmp .LBB0_1
.p2align 4, 0x90
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
notl %ecx
andl (%rax), %ecx
.LBB0_5: # in Loop: Header=BB0_1 Depth=1
movl %ecx, (%rax)
movq 8(%rax), %rax
.LBB0_1: # =>This Inner Loop Header: Depth=1
testq %rax, %rax
je .LBB0_6
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movl AD_PORT_READY(%rip), %ecx
testl %esi, %esi
je .LBB0_4
# %bb.3: # in Loop: Header=BB0_1 Depth=1
orl (%rax), %ecx
jmp .LBB0_5
.LBB0_6:
retq
.Lfunc_end0:
.size __set_agg_ports_ready, .Lfunc_end0-__set_agg_ports_ready
.cfi_endproc
# -- End function
.type AD_PORT_READY,@object # @AD_PORT_READY
.bss
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.long 0 # 0x0
.size AD_PORT_READY, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __set_agg_ports_ready
| .text
.file "extr_bond_3ad.c___set_agg_ports_ready.c"
.p2align 4, 0x90 # -- Begin function __set_agg_ports_ready
.type __set_agg_ports_ready,@function
__set_agg_ports_ready: # @__set_agg_ports_ready
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
testq %rax, %rax
je .LBB0_4
# %bb.1:
testl %esi, %esi
je .LBB0_2
.p2align 4, 0x90
.LBB0_3: # =>This Inner Loop Header: Depth=1
movl AD_PORT_READY(%rip), %ecx
orl %ecx, (%rax)
movq 8(%rax), %rax
testq %rax, %rax
jne .LBB0_3
jmp .LBB0_4
.p2align 4, 0x90
.LBB0_2: # =>This Inner Loop Header: Depth=1
movl AD_PORT_READY(%rip), %ecx
notl %ecx
andl %ecx, (%rax)
movq 8(%rax), %rax
testq %rax, %rax
jne .LBB0_2
.LBB0_4:
retq
.Lfunc_end0:
.size __set_agg_ports_ready, .Lfunc_end0-__set_agg_ports_ready
.cfi_endproc
# -- End function
.type AD_PORT_READY,@object # @AD_PORT_READY
.bss
.globl AD_PORT_READY
.p2align 2, 0x0
AD_PORT_READY:
.long 0 # 0x0
.size AD_PORT_READY, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __set_agg_ports_ready
|
extr_bond_sysfs.c_bond_destroy_sysfs.c | .text
.file "extr_bond_sysfs.c_bond_destroy_sysfs.c"
.globl bond_destroy_sysfs // -- Begin function bond_destroy_sysfs
.p2align 2
.type bond_destroy_sysfs,@function
bond_destroy_sysfs: // @bond_destroy_sysfs
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, class_attr_bonding_masters
add x0, x0, :lo12:class_attr_bonding_masters
bl netdev_class_remove_file
.cfi_def_cfa wsp, 16
ldp x29, x30, [sp], #16 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_destroy_sysfs, .Lfunc_end0-bond_destroy_sysfs
.cfi_endproc
// -- End function
.type class_attr_bonding_masters,@object // @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.word 0 // 0x0
.size class_attr_bonding_masters, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym netdev_class_remove_file
.addrsig_sym class_attr_bonding_masters
| .text
.file "extr_bond_sysfs.c_bond_destroy_sysfs.c"
.globl bond_destroy_sysfs // -- Begin function bond_destroy_sysfs
.p2align 2
.type bond_destroy_sysfs,@function
bond_destroy_sysfs: // @bond_destroy_sysfs
.cfi_startproc
// %bb.0:
adrp x0, class_attr_bonding_masters
add x0, x0, :lo12:class_attr_bonding_masters
b netdev_class_remove_file
.Lfunc_end0:
.size bond_destroy_sysfs, .Lfunc_end0-bond_destroy_sysfs
.cfi_endproc
// -- End function
.type class_attr_bonding_masters,@object // @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.word 0 // 0x0
.size class_attr_bonding_masters, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym class_attr_bonding_masters
| .text
.file "extr_bond_sysfs.c_bond_destroy_sysfs.c"
.globl bond_destroy_sysfs // -- Begin function bond_destroy_sysfs
.p2align 2
.type bond_destroy_sysfs,@function
bond_destroy_sysfs: // @bond_destroy_sysfs
.cfi_startproc
// %bb.0:
adrp x0, class_attr_bonding_masters
add x0, x0, :lo12:class_attr_bonding_masters
b netdev_class_remove_file
.Lfunc_end0:
.size bond_destroy_sysfs, .Lfunc_end0-bond_destroy_sysfs
.cfi_endproc
// -- End function
.type class_attr_bonding_masters,@object // @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.word 0 // 0x0
.size class_attr_bonding_masters, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym class_attr_bonding_masters
| .text
.file "extr_bond_sysfs.c_bond_destroy_sysfs.c"
.globl bond_destroy_sysfs // -- Begin function bond_destroy_sysfs
.p2align 2
.type bond_destroy_sysfs,@function
bond_destroy_sysfs: // @bond_destroy_sysfs
.cfi_startproc
// %bb.0:
adrp x0, class_attr_bonding_masters
add x0, x0, :lo12:class_attr_bonding_masters
b netdev_class_remove_file
.Lfunc_end0:
.size bond_destroy_sysfs, .Lfunc_end0-bond_destroy_sysfs
.cfi_endproc
// -- End function
.type class_attr_bonding_masters,@object // @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.word 0 // 0x0
.size class_attr_bonding_masters, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym class_attr_bonding_masters
| .text
.file "extr_bond_sysfs.c_bond_destroy_sysfs.c"
.globl bond_destroy_sysfs # -- Begin function bond_destroy_sysfs
.p2align 4, 0x90
.type bond_destroy_sysfs,@function
bond_destroy_sysfs: # @bond_destroy_sysfs
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq class_attr_bonding_masters(%rip), %rdi
callq netdev_class_remove_file@PLT
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_destroy_sysfs, .Lfunc_end0-bond_destroy_sysfs
.cfi_endproc
# -- End function
.type class_attr_bonding_masters,@object # @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.long 0 # 0x0
.size class_attr_bonding_masters, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym netdev_class_remove_file
.addrsig_sym class_attr_bonding_masters
| .text
.file "extr_bond_sysfs.c_bond_destroy_sysfs.c"
.globl bond_destroy_sysfs # -- Begin function bond_destroy_sysfs
.p2align 4, 0x90
.type bond_destroy_sysfs,@function
bond_destroy_sysfs: # @bond_destroy_sysfs
.cfi_startproc
# %bb.0:
leaq class_attr_bonding_masters(%rip), %rdi
jmp netdev_class_remove_file@PLT # TAILCALL
.Lfunc_end0:
.size bond_destroy_sysfs, .Lfunc_end0-bond_destroy_sysfs
.cfi_endproc
# -- End function
.type class_attr_bonding_masters,@object # @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.long 0 # 0x0
.size class_attr_bonding_masters, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym class_attr_bonding_masters
| .text
.file "extr_bond_sysfs.c_bond_destroy_sysfs.c"
.globl bond_destroy_sysfs # -- Begin function bond_destroy_sysfs
.p2align 4, 0x90
.type bond_destroy_sysfs,@function
bond_destroy_sysfs: # @bond_destroy_sysfs
.cfi_startproc
# %bb.0:
leaq class_attr_bonding_masters(%rip), %rdi
jmp netdev_class_remove_file@PLT # TAILCALL
.Lfunc_end0:
.size bond_destroy_sysfs, .Lfunc_end0-bond_destroy_sysfs
.cfi_endproc
# -- End function
.type class_attr_bonding_masters,@object # @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.long 0 # 0x0
.size class_attr_bonding_masters, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym class_attr_bonding_masters
| .text
.file "extr_bond_sysfs.c_bond_destroy_sysfs.c"
.globl bond_destroy_sysfs # -- Begin function bond_destroy_sysfs
.p2align 4, 0x90
.type bond_destroy_sysfs,@function
bond_destroy_sysfs: # @bond_destroy_sysfs
.cfi_startproc
# %bb.0:
leaq class_attr_bonding_masters(%rip), %rdi
jmp netdev_class_remove_file@PLT # TAILCALL
.Lfunc_end0:
.size bond_destroy_sysfs, .Lfunc_end0-bond_destroy_sysfs
.cfi_endproc
# -- End function
.type class_attr_bonding_masters,@object # @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.long 0 # 0x0
.size class_attr_bonding_masters, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym class_attr_bonding_masters
|
extr_bond_sysfs.c_bonding_show_ad_partner_key.c | .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_key.c"
.p2align 2 // -- Begin function bonding_show_ad_partner_key
.type bonding_show_ad_partner_key,@function
bonding_show_ad_partner_key: // @bonding_show_ad_partner_key
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur wzr, [x29, #-28]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp, #24]
ldr x8, [sp, #24]
ldr x8, [x8]
adrp x9, BOND_MODE_8023AD
ldr x9, [x9, :lo12:BOND_MODE_8023AD]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, .LBB0_5
b .LBB0_1
.LBB0_1:
ldur x8, [x29, #-24]
str x8, [sp, #8] // 8-byte Folded Spill
ldr x0, [sp, #24]
add x1, sp, #20
bl bond_3ad_get_active_agg_info
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
mov w8, wzr
str w8, [sp, #4] // 4-byte Folded Spill
b .LBB0_4
.LBB0_3:
ldr w8, [sp, #20]
str w8, [sp, #4] // 4-byte Folded Spill
b .LBB0_4
.LBB0_4:
ldr x0, [sp, #8] // 8-byte Folded Reload
ldr w2, [sp, #4] // 4-byte Folded Reload
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
stur w0, [x29, #-28]
b .LBB0_5
.LBB0_5:
ldur w0, [x29, #-28]
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_partner_key, .Lfunc_end0-bonding_show_ad_partner_key
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_key
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym bond_3ad_get_active_agg_info
.addrsig_sym BOND_MODE_8023AD
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_key.c"
.p2align 2 // -- Begin function bonding_show_ad_partner_key
.type bonding_show_ad_partner_key,@function
bonding_show_ad_partner_key: // @bonding_show_ad_partner_key
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
ldr w8, [x29, #28]
cmp x0, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
csel w2, w8, wzr, eq
bl sprintf
b .LBB0_3
.LBB0_2:
mov w0, wzr
.LBB0_3:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_partner_key, .Lfunc_end0-bonding_show_ad_partner_key
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_key
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_key.c"
.p2align 2 // -- Begin function bonding_show_ad_partner_key
.type bonding_show_ad_partner_key,@function
bonding_show_ad_partner_key: // @bonding_show_ad_partner_key
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
ldr w8, [x29, #28]
cmp x0, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
csel w2, w8, wzr, eq
bl sprintf
b .LBB0_3
.LBB0_2:
mov w0, wzr
.LBB0_3:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_partner_key, .Lfunc_end0-bonding_show_ad_partner_key
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_key
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_key.c"
.p2align 2 // -- Begin function bonding_show_ad_partner_key
.type bonding_show_ad_partner_key,@function
bonding_show_ad_partner_key: // @bonding_show_ad_partner_key
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x2
bl to_bond
adrp x8, BOND_MODE_8023AD
ldr x9, [x0]
ldr x8, [x8, :lo12:BOND_MODE_8023AD]
cmp x9, x8
b.ne .LBB0_2
// %bb.1:
add x1, x29, #28
bl bond_3ad_get_active_agg_info
ldr w8, [x29, #28]
cmp x0, #0
adrp x1, .L.str
add x1, x1, :lo12:.L.str
mov x0, x19
csel w2, w8, wzr, eq
bl sprintf
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
mov w0, wzr
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_partner_key, .Lfunc_end0-bonding_show_ad_partner_key
.cfi_endproc
// -- End function
.type BOND_MODE_8023AD,@object // @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.xword 0 // 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_key
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_key.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_partner_key
.type bonding_show_ad_partner_key,@function
bonding_show_ad_partner_key: # @bonding_show_ad_partner_key
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl $0, -28(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq (%rax), %rax
cmpq BOND_MODE_8023AD(%rip), %rax
jne .LBB0_5
# %bb.1:
movq -24(%rbp), %rax
movq %rax, -56(%rbp) # 8-byte Spill
movq -40(%rbp), %rdi
leaq -44(%rbp), %rsi
callq bond_3ad_get_active_agg_info@PLT
cmpq $0, %rax
je .LBB0_3
# %bb.2:
xorl %eax, %eax
movl %eax, -60(%rbp) # 4-byte Spill
jmp .LBB0_4
.LBB0_3:
movl -44(%rbp), %eax
movl %eax, -60(%rbp) # 4-byte Spill
.LBB0_4:
movq -56(%rbp), %rdi # 8-byte Reload
movl -60(%rbp), %edx # 4-byte Reload
leaq .L.str(%rip), %rsi
callq sprintf@PLT
movl %eax, -28(%rbp)
.LBB0_5:
movl -28(%rbp), %eax
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_ad_partner_key, .Lfunc_end0-bonding_show_ad_partner_key
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_key
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym bond_3ad_get_active_agg_info
.addrsig_sym BOND_MODE_8023AD
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_key.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_partner_key
.type bonding_show_ad_partner_key,@function
bonding_show_ad_partner_key: # @bonding_show_ad_partner_key
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq (%rax), %rdx
xorl %ecx, %ecx
cmpq BOND_MODE_8023AD(%rip), %rdx
jne .LBB0_4
# %bb.1:
leaq 12(%rsp), %rsi
movq %rax, %rdi
callq bond_3ad_get_active_agg_info@PLT
xorl %edx, %edx
testq %rax, %rax
jne .LBB0_3
# %bb.2:
movl 12(%rsp), %edx
.LBB0_3:
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
movl %eax, %ecx
.LBB0_4:
movl %ecx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_partner_key, .Lfunc_end0-bonding_show_ad_partner_key
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_key
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_key.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_partner_key
.type bonding_show_ad_partner_key,@function
bonding_show_ad_partner_key: # @bonding_show_ad_partner_key
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq (%rax), %rdx
xorl %ecx, %ecx
cmpq BOND_MODE_8023AD(%rip), %rdx
jne .LBB0_4
# %bb.1:
leaq 12(%rsp), %rsi
movq %rax, %rdi
callq bond_3ad_get_active_agg_info@PLT
xorl %edx, %edx
testq %rax, %rax
jne .LBB0_3
# %bb.2:
movl 12(%rsp), %edx
.LBB0_3:
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
movl %eax, %ecx
.LBB0_4:
movl %ecx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_partner_key, .Lfunc_end0-bonding_show_ad_partner_key
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_key
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_partner_key.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_partner_key
.type bonding_show_ad_partner_key,@function
bonding_show_ad_partner_key: # @bonding_show_ad_partner_key
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
subq $16, %rsp
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq (%rax), %rdx
xorl %ecx, %ecx
cmpq BOND_MODE_8023AD(%rip), %rdx
jne .LBB0_4
# %bb.1:
leaq 12(%rsp), %rsi
movq %rax, %rdi
callq bond_3ad_get_active_agg_info@PLT
xorl %edx, %edx
testq %rax, %rax
jne .LBB0_3
# %bb.2:
movl 12(%rsp), %edx
.LBB0_3:
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
callq sprintf@PLT
movl %eax, %ecx
.LBB0_4:
movl %ecx, %eax
addq $16, %rsp
.cfi_def_cfa_offset 16
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bonding_show_ad_partner_key, .Lfunc_end0-bonding_show_ad_partner_key
.cfi_endproc
# -- End function
.type BOND_MODE_8023AD,@object # @BOND_MODE_8023AD
.bss
.globl BOND_MODE_8023AD
.p2align 3, 0x0
BOND_MODE_8023AD:
.quad 0 # 0x0
.size BOND_MODE_8023AD, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%d\n"
.size .L.str, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_partner_key
|
extr_bond_3ad.c___choose_matched.c | .text
.file "extr_bond_3ad.c___choose_matched.c"
.p2align 2 // -- Begin function __choose_matched
.type __choose_matched,@function
__choose_matched: // @__choose_matched
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x8, [sp, #8]
ldr w0, [x8, #24]
bl ntohs
ldr x8, [sp]
ldr x8, [x8]
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, .LBB0_6
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #8]
ldr w0, [x8, #20]
bl ntohs
ldr x8, [sp]
ldr x8, [x8, #8]
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, .LBB0_6
b .LBB0_2
.LBB0_2:
ldr x8, [sp, #8]
add x0, x8, #16
ldr x8, [sp]
add x1, x8, #40
bl MAC_ADDRESS_COMPARE
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, .LBB0_6
b .LBB0_3
.LBB0_3:
ldr x8, [sp, #8]
ldr w0, [x8, #12]
bl ntohs
ldr x8, [sp]
ldr x8, [x8, #16]
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, .LBB0_6
b .LBB0_4
.LBB0_4:
ldr x8, [sp, #8]
ldr w0, [x8, #8]
bl ntohs
ldr x8, [sp]
ldr x8, [x8, #24]
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
ldr x8, [sp, #8]
ldr w8, [x8]
adrp x10, AD_STATE_AGGREGATION
ldr w9, [x10, :lo12:AD_STATE_AGGREGATION]
and w8, w8, w9
ldr x9, [sp]
ldr w9, [x9, #32]
ldr w10, [x10, :lo12:AD_STATE_AGGREGATION]
and w9, w9, w10
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_7
b .LBB0_6
.LBB0_6:
ldr x8, [sp, #8]
ldr w8, [x8, #4]
adrp x9, AD_STATE_AGGREGATION
ldr w9, [x9, :lo12:AD_STATE_AGGREGATION]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_8
b .LBB0_7
.LBB0_7:
adrp x8, AD_PORT_MATCHED
ldr w10, [x8, :lo12:AD_PORT_MATCHED]
ldr x9, [sp]
ldr w8, [x9, #36]
orr w8, w8, w10
str w8, [x9, #36]
b .LBB0_9
.LBB0_8:
adrp x8, AD_PORT_MATCHED
ldr w10, [x8, :lo12:AD_PORT_MATCHED]
ldr x9, [sp]
ldr w8, [x9, #36]
bic w8, w8, w10
str w8, [x9, #36]
b .LBB0_9
.LBB0_9:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __choose_matched, .Lfunc_end0-__choose_matched
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_MATCHED,@object // @AD_PORT_MATCHED
.globl AD_PORT_MATCHED
.p2align 2, 0x0
AD_PORT_MATCHED:
.word 0 // 0x0
.size AD_PORT_MATCHED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __choose_matched
.addrsig_sym ntohs
.addrsig_sym MAC_ADDRESS_COMPARE
.addrsig_sym AD_STATE_AGGREGATION
.addrsig_sym AD_PORT_MATCHED
| .text
.file "extr_bond_3ad.c___choose_matched.c"
.p2align 2 // -- Begin function __choose_matched
.type __choose_matched,@function
__choose_matched: // @__choose_matched
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x20, x0
ldr w0, [x0, #24]
mov x19, x1
bl ntohs
ldr x8, [x19]
adrp x21, AD_STATE_AGGREGATION
cmp x0, x8
b.ne .LBB0_6
// %bb.1:
ldr w0, [x20, #20]
bl ntohs
ldr x8, [x19, #8]
cmp x0, x8
b.ne .LBB0_6
// %bb.2:
add x0, x20, #16
add x1, x19, #40
bl MAC_ADDRESS_COMPARE
cbnz w0, .LBB0_6
// %bb.3:
ldr w0, [x20, #12]
bl ntohs
ldr x8, [x19, #16]
cmp x0, x8
b.ne .LBB0_6
// %bb.4:
ldr w0, [x20, #8]
bl ntohs
ldr x8, [x19, #24]
cmp x0, x8
b.ne .LBB0_6
// %bb.5:
ldr w8, [x20]
ldr w9, [x19, #32]
ldr w10, [x21, :lo12:AD_STATE_AGGREGATION]
eor w8, w9, w8
tst w8, w10
b.eq .LBB0_8
.LBB0_6:
ldr w8, [x20, #4]
ldr w9, [x21, :lo12:AD_STATE_AGGREGATION]
tst w9, w8
b.eq .LBB0_8
// %bb.7:
adrp x8, AD_PORT_MATCHED
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_PORT_MATCHED]
bic w8, w9, w8
b .LBB0_9
.LBB0_8:
adrp x8, AD_PORT_MATCHED
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_PORT_MATCHED]
orr w8, w9, w8
.LBB0_9:
str w8, [x19, #36]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __choose_matched, .Lfunc_end0-__choose_matched
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_MATCHED,@object // @AD_PORT_MATCHED
.globl AD_PORT_MATCHED
.p2align 2, 0x0
AD_PORT_MATCHED:
.word 0 // 0x0
.size AD_PORT_MATCHED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __choose_matched
| .text
.file "extr_bond_3ad.c___choose_matched.c"
.p2align 2 // -- Begin function __choose_matched
.type __choose_matched,@function
__choose_matched: // @__choose_matched
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x20, x0
ldr w0, [x0, #24]
mov x19, x1
bl ntohs
ldr x8, [x19]
adrp x21, AD_STATE_AGGREGATION
cmp x0, x8
b.ne .LBB0_6
// %bb.1:
ldr w0, [x20, #20]
bl ntohs
ldr x8, [x19, #8]
cmp x0, x8
b.ne .LBB0_6
// %bb.2:
add x0, x20, #16
add x1, x19, #40
bl MAC_ADDRESS_COMPARE
cbnz w0, .LBB0_6
// %bb.3:
ldr w0, [x20, #12]
bl ntohs
ldr x8, [x19, #16]
cmp x0, x8
b.ne .LBB0_6
// %bb.4:
ldr w0, [x20, #8]
bl ntohs
ldr x8, [x19, #24]
cmp x0, x8
b.ne .LBB0_6
// %bb.5:
ldr w8, [x20]
ldr w9, [x19, #32]
ldr w10, [x21, :lo12:AD_STATE_AGGREGATION]
eor w8, w9, w8
tst w8, w10
b.eq .LBB0_8
.LBB0_6:
ldr w8, [x20, #4]
ldr w9, [x21, :lo12:AD_STATE_AGGREGATION]
tst w9, w8
b.eq .LBB0_8
// %bb.7:
adrp x8, AD_PORT_MATCHED
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_PORT_MATCHED]
bic w8, w9, w8
b .LBB0_9
.LBB0_8:
adrp x8, AD_PORT_MATCHED
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_PORT_MATCHED]
orr w8, w9, w8
.LBB0_9:
str w8, [x19, #36]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __choose_matched, .Lfunc_end0-__choose_matched
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_MATCHED,@object // @AD_PORT_MATCHED
.globl AD_PORT_MATCHED
.p2align 2, 0x0
AD_PORT_MATCHED:
.word 0 // 0x0
.size AD_PORT_MATCHED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __choose_matched
| .text
.file "extr_bond_3ad.c___choose_matched.c"
.p2align 2 // -- Begin function __choose_matched
.type __choose_matched,@function
__choose_matched: // @__choose_matched
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
mov x20, x0
ldr w0, [x0, #24]
mov x19, x1
bl ntohs
ldr x8, [x19]
adrp x21, AD_STATE_AGGREGATION
cmp x0, x8
b.ne .LBB0_6
// %bb.1:
ldr w0, [x20, #20]
bl ntohs
ldr x8, [x19, #8]
cmp x0, x8
b.ne .LBB0_6
// %bb.2:
add x0, x20, #16
add x1, x19, #40
bl MAC_ADDRESS_COMPARE
cbnz w0, .LBB0_6
// %bb.3:
ldr w0, [x20, #12]
bl ntohs
ldr x8, [x19, #16]
cmp x0, x8
b.ne .LBB0_6
// %bb.4:
ldr w0, [x20, #8]
bl ntohs
ldr x8, [x19, #24]
cmp x0, x8
b.ne .LBB0_6
// %bb.5:
ldr w8, [x20]
ldr w9, [x19, #32]
ldr w10, [x21, :lo12:AD_STATE_AGGREGATION]
eor w8, w9, w8
tst w8, w10
b.eq .LBB0_8
.LBB0_6:
ldr w8, [x20, #4]
ldr w9, [x21, :lo12:AD_STATE_AGGREGATION]
tst w9, w8
b.eq .LBB0_8
// %bb.7:
adrp x8, AD_PORT_MATCHED
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_PORT_MATCHED]
bic w8, w9, w8
str w8, [x19, #36]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_8:
.cfi_restore_state
adrp x8, AD_PORT_MATCHED
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_PORT_MATCHED]
orr w8, w9, w8
str w8, [x19, #36]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __choose_matched, .Lfunc_end0-__choose_matched
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_MATCHED,@object // @AD_PORT_MATCHED
.globl AD_PORT_MATCHED
.p2align 2, 0x0
AD_PORT_MATCHED:
.word 0 // 0x0
.size AD_PORT_MATCHED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __choose_matched
| .text
.file "extr_bond_3ad.c___choose_matched.c"
.p2align 4, 0x90 # -- Begin function __choose_matched
.type __choose_matched,@function
__choose_matched: # @__choose_matched
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movl 24(%rax), %edi
callq ntohs@PLT
movq -16(%rbp), %rcx
cmpq (%rcx), %rax
jne .LBB0_6
# %bb.1:
movq -8(%rbp), %rax
movl 20(%rax), %edi
callq ntohs@PLT
movq -16(%rbp), %rcx
cmpq 8(%rcx), %rax
jne .LBB0_6
# %bb.2:
movq -8(%rbp), %rdi
addq $16, %rdi
movq -16(%rbp), %rsi
addq $40, %rsi
callq MAC_ADDRESS_COMPARE@PLT
cmpl $0, %eax
jne .LBB0_6
# %bb.3:
movq -8(%rbp), %rax
movl 12(%rax), %edi
callq ntohs@PLT
movq -16(%rbp), %rcx
cmpq 16(%rcx), %rax
jne .LBB0_6
# %bb.4:
movq -8(%rbp), %rax
movl 8(%rax), %edi
callq ntohs@PLT
movq -16(%rbp), %rcx
cmpq 24(%rcx), %rax
jne .LBB0_6
# %bb.5:
movq -8(%rbp), %rax
movl (%rax), %eax
andl AD_STATE_AGGREGATION(%rip), %eax
movq -16(%rbp), %rcx
movl 32(%rcx), %ecx
andl AD_STATE_AGGREGATION(%rip), %ecx
cmpl %ecx, %eax
je .LBB0_7
.LBB0_6:
movq -8(%rbp), %rax
movl 4(%rax), %eax
andl AD_STATE_AGGREGATION(%rip), %eax
cmpl $0, %eax
jne .LBB0_8
.LBB0_7:
movl AD_PORT_MATCHED(%rip), %ecx
movq -16(%rbp), %rax
orl 36(%rax), %ecx
movl %ecx, 36(%rax)
jmp .LBB0_9
.LBB0_8:
movl AD_PORT_MATCHED(%rip), %ecx
xorl $-1, %ecx
movq -16(%rbp), %rax
andl 36(%rax), %ecx
movl %ecx, 36(%rax)
.LBB0_9:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size __choose_matched, .Lfunc_end0-__choose_matched
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_MATCHED,@object # @AD_PORT_MATCHED
.globl AD_PORT_MATCHED
.p2align 2, 0x0
AD_PORT_MATCHED:
.long 0 # 0x0
.size AD_PORT_MATCHED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __choose_matched
.addrsig_sym ntohs
.addrsig_sym MAC_ADDRESS_COMPARE
.addrsig_sym AD_STATE_AGGREGATION
.addrsig_sym AD_PORT_MATCHED
| .text
.file "extr_bond_3ad.c___choose_matched.c"
.p2align 4, 0x90 # -- Begin function __choose_matched
.type __choose_matched,@function
__choose_matched: # @__choose_matched
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %r14
movl 24(%rdi), %edi
callq ntohs@PLT
cmpq (%rbx), %rax
jne .LBB0_6
# %bb.1:
movl 20(%r14), %edi
callq ntohs@PLT
cmpq 8(%rbx), %rax
jne .LBB0_6
# %bb.2:
leaq 16(%r14), %rdi
leaq 40(%rbx), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testl %eax, %eax
jne .LBB0_6
# %bb.3:
movl 12(%r14), %edi
callq ntohs@PLT
cmpq 16(%rbx), %rax
jne .LBB0_6
# %bb.4:
movl 8(%r14), %edi
callq ntohs@PLT
cmpq 24(%rbx), %rax
jne .LBB0_6
# %bb.5:
movl 32(%rbx), %eax
xorl (%r14), %eax
testl %eax, AD_STATE_AGGREGATION(%rip)
je .LBB0_7
.LBB0_6:
movl AD_STATE_AGGREGATION(%rip), %eax
testl %eax, 4(%r14)
je .LBB0_7
# %bb.8:
movl AD_PORT_MATCHED(%rip), %eax
notl %eax
andl %eax, 36(%rbx)
jmp .LBB0_9
.LBB0_7:
movl AD_PORT_MATCHED(%rip), %eax
orl %eax, 36(%rbx)
.LBB0_9:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __choose_matched, .Lfunc_end0-__choose_matched
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_MATCHED,@object # @AD_PORT_MATCHED
.globl AD_PORT_MATCHED
.p2align 2, 0x0
AD_PORT_MATCHED:
.long 0 # 0x0
.size AD_PORT_MATCHED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __choose_matched
| .text
.file "extr_bond_3ad.c___choose_matched.c"
.p2align 4, 0x90 # -- Begin function __choose_matched
.type __choose_matched,@function
__choose_matched: # @__choose_matched
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %r14
movl 24(%rdi), %edi
callq ntohs@PLT
cmpq (%rbx), %rax
jne .LBB0_6
# %bb.1:
movl 20(%r14), %edi
callq ntohs@PLT
cmpq 8(%rbx), %rax
jne .LBB0_6
# %bb.2:
leaq 16(%r14), %rdi
leaq 40(%rbx), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testl %eax, %eax
jne .LBB0_6
# %bb.3:
movl 12(%r14), %edi
callq ntohs@PLT
cmpq 16(%rbx), %rax
jne .LBB0_6
# %bb.4:
movl 8(%r14), %edi
callq ntohs@PLT
cmpq 24(%rbx), %rax
jne .LBB0_6
# %bb.5:
movl 32(%rbx), %eax
xorl (%r14), %eax
testl %eax, AD_STATE_AGGREGATION(%rip)
je .LBB0_7
.LBB0_6:
movl AD_STATE_AGGREGATION(%rip), %eax
testl %eax, 4(%r14)
je .LBB0_7
# %bb.8:
movl AD_PORT_MATCHED(%rip), %eax
notl %eax
andl %eax, 36(%rbx)
jmp .LBB0_9
.LBB0_7:
movl AD_PORT_MATCHED(%rip), %eax
orl %eax, 36(%rbx)
.LBB0_9:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __choose_matched, .Lfunc_end0-__choose_matched
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_MATCHED,@object # @AD_PORT_MATCHED
.globl AD_PORT_MATCHED
.p2align 2, 0x0
AD_PORT_MATCHED:
.long 0 # 0x0
.size AD_PORT_MATCHED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __choose_matched
| .text
.file "extr_bond_3ad.c___choose_matched.c"
.p2align 4, 0x90 # -- Begin function __choose_matched
.type __choose_matched,@function
__choose_matched: # @__choose_matched
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %r14
movl 24(%rdi), %edi
callq ntohs@PLT
cmpq (%rbx), %rax
jne .LBB0_6
# %bb.1:
movl 20(%r14), %edi
callq ntohs@PLT
cmpq 8(%rbx), %rax
jne .LBB0_6
# %bb.2:
leaq 16(%r14), %rdi
leaq 40(%rbx), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testl %eax, %eax
jne .LBB0_6
# %bb.3:
movl 12(%r14), %edi
callq ntohs@PLT
cmpq 16(%rbx), %rax
jne .LBB0_6
# %bb.4:
movl 8(%r14), %edi
callq ntohs@PLT
cmpq 24(%rbx), %rax
jne .LBB0_6
# %bb.5:
movl 32(%rbx), %eax
xorl (%r14), %eax
testl %eax, AD_STATE_AGGREGATION(%rip)
je .LBB0_7
.LBB0_6:
movl AD_STATE_AGGREGATION(%rip), %eax
testl %eax, 4(%r14)
je .LBB0_7
# %bb.8:
movl AD_PORT_MATCHED(%rip), %eax
notl %eax
andl %eax, 36(%rbx)
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.LBB0_7:
.cfi_def_cfa_offset 32
movl AD_PORT_MATCHED(%rip), %eax
orl %eax, 36(%rbx)
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size __choose_matched, .Lfunc_end0-__choose_matched
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_MATCHED,@object # @AD_PORT_MATCHED
.globl AD_PORT_MATCHED
.p2align 2, 0x0
AD_PORT_MATCHED:
.long 0 # 0x0
.size AD_PORT_MATCHED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __choose_matched
|
extr_bond_main.c_bond_unregister_arp.c | .text
.file "extr_bond_main.c_bond_unregister_arp.c"
.globl bond_unregister_arp // -- Begin function bond_unregister_arp
.p2align 2
.type bond_unregister_arp,@function
bond_unregister_arp: // @bond_unregister_arp
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
ldr x0, [sp]
bl dev_remove_pack
ldr x8, [sp]
str xzr, [x8]
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_unregister_arp, .Lfunc_end0-bond_unregister_arp
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym dev_remove_pack
| .text
.file "extr_bond_main.c_bond_unregister_arp.c"
.globl bond_unregister_arp // -- Begin function bond_unregister_arp
.p2align 2
.type bond_unregister_arp,@function
bond_unregister_arp: // @bond_unregister_arp
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
bl dev_remove_pack
str xzr, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_unregister_arp, .Lfunc_end0-bond_unregister_arp
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_main.c_bond_unregister_arp.c"
.globl bond_unregister_arp // -- Begin function bond_unregister_arp
.p2align 2
.type bond_unregister_arp,@function
bond_unregister_arp: // @bond_unregister_arp
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
bl dev_remove_pack
str xzr, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_unregister_arp, .Lfunc_end0-bond_unregister_arp
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_main.c_bond_unregister_arp.c"
.globl bond_unregister_arp // -- Begin function bond_unregister_arp
.p2align 2
.type bond_unregister_arp,@function
bond_unregister_arp: // @bond_unregister_arp
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
bl dev_remove_pack
str xzr, [x19]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_unregister_arp, .Lfunc_end0-bond_unregister_arp
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_main.c_bond_unregister_arp.c"
.globl bond_unregister_arp # -- Begin function bond_unregister_arp
.p2align 4, 0x90
.type bond_unregister_arp,@function
bond_unregister_arp: # @bond_unregister_arp
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
callq dev_remove_pack@PLT
movq -16(%rbp), %rax
movq $0, (%rax)
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_unregister_arp, .Lfunc_end0-bond_unregister_arp
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym dev_remove_pack
| .text
.file "extr_bond_main.c_bond_unregister_arp.c"
.globl bond_unregister_arp # -- Begin function bond_unregister_arp
.p2align 4, 0x90
.type bond_unregister_arp,@function
bond_unregister_arp: # @bond_unregister_arp
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
callq dev_remove_pack@PLT
movq $0, (%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_unregister_arp, .Lfunc_end0-bond_unregister_arp
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_main.c_bond_unregister_arp.c"
.globl bond_unregister_arp # -- Begin function bond_unregister_arp
.p2align 4, 0x90
.type bond_unregister_arp,@function
bond_unregister_arp: # @bond_unregister_arp
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
callq dev_remove_pack@PLT
movq $0, (%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_unregister_arp, .Lfunc_end0-bond_unregister_arp
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_main.c_bond_unregister_arp.c"
.globl bond_unregister_arp # -- Begin function bond_unregister_arp
.p2align 4, 0x90
.type bond_unregister_arp,@function
bond_unregister_arp: # @bond_unregister_arp
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
callq dev_remove_pack@PLT
movq $0, (%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_unregister_arp, .Lfunc_end0-bond_unregister_arp
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_bond_alb.c_rlb_teach_disabled_mac_on_primary.c | .text
.file "extr_bond_alb.c_rlb_teach_disabled_mac_on_primary.c"
.p2align 2 // -- Begin function rlb_teach_disabled_mac_on_primary
.type rlb_teach_disabled_mac_on_primary,@function
rlb_teach_disabled_mac_on_primary: // @rlb_teach_disabled_mac_on_primary
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
b .LBB0_8
.LBB0_2:
ldr x8, [sp, #8]
ldr w8, [x8, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, .LBB0_7
b .LBB0_3
.LBB0_3:
ldr x8, [sp, #8]
ldr x8, [x8]
ldr w0, [x8]
mov w1, #1 // =0x1
bl dev_set_promiscuity
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, .LBB0_5
b .LBB0_4
.LBB0_4:
ldr x9, [sp, #8]
mov w8, #1 // =0x1
str w8, [x9, #8]
b .LBB0_6
.LBB0_5:
ldr x8, [sp, #8]
str wzr, [x8, #8]
b .LBB0_6
.LBB0_6:
b .LBB0_7
.LBB0_7:
ldr x8, [sp, #8]
str xzr, [x8, #16]
ldr x8, [sp, #8]
ldr x0, [x8]
ldr x1, [sp]
bl alb_send_learning_packets
b .LBB0_8
.LBB0_8:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size rlb_teach_disabled_mac_on_primary, .Lfunc_end0-rlb_teach_disabled_mac_on_primary
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_teach_disabled_mac_on_primary
.addrsig_sym dev_set_promiscuity
.addrsig_sym alb_send_learning_packets
| .text
.file "extr_bond_alb.c_rlb_teach_disabled_mac_on_primary.c"
.p2align 2 // -- Begin function rlb_teach_disabled_mac_on_primary
.type rlb_teach_disabled_mac_on_primary,@function
rlb_teach_disabled_mac_on_primary: // @rlb_teach_disabled_mac_on_primary
.cfi_startproc
// %bb.0:
ldr x8, [x0]
cbz x8, .LBB0_4
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
mov x20, x1
ldr w9, [x0, #8]
cbnz w9, .LBB0_3
// %bb.2:
ldr w0, [x8]
mov w1, #1 // =0x1
bl dev_set_promiscuity
cmp w0, #0
cset w8, eq
str w8, [x19, #8]
.LBB0_3:
ldr x0, [x19]
mov x1, x20
str xzr, [x19, #16]
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b alb_send_learning_packets
.LBB0_4:
ret
.Lfunc_end0:
.size rlb_teach_disabled_mac_on_primary, .Lfunc_end0-rlb_teach_disabled_mac_on_primary
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_teach_disabled_mac_on_primary
| .text
.file "extr_bond_alb.c_rlb_teach_disabled_mac_on_primary.c"
.p2align 2 // -- Begin function rlb_teach_disabled_mac_on_primary
.type rlb_teach_disabled_mac_on_primary,@function
rlb_teach_disabled_mac_on_primary: // @rlb_teach_disabled_mac_on_primary
.cfi_startproc
// %bb.0:
ldr x8, [x0]
cbz x8, .LBB0_4
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x0
mov x20, x1
ldr w9, [x0, #8]
cbnz w9, .LBB0_3
// %bb.2:
ldr w0, [x8]
mov w1, #1 // =0x1
bl dev_set_promiscuity
cmp w0, #0
cset w8, eq
str w8, [x19, #8]
.LBB0_3:
ldr x0, [x19]
mov x1, x20
str xzr, [x19, #16]
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b alb_send_learning_packets
.LBB0_4:
ret
.Lfunc_end0:
.size rlb_teach_disabled_mac_on_primary, .Lfunc_end0-rlb_teach_disabled_mac_on_primary
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_teach_disabled_mac_on_primary
| .text
.file "extr_bond_alb.c_rlb_teach_disabled_mac_on_primary.c"
.p2align 2 // -- Begin function rlb_teach_disabled_mac_on_primary
.type rlb_teach_disabled_mac_on_primary,@function
rlb_teach_disabled_mac_on_primary: // @rlb_teach_disabled_mac_on_primary
.cfi_startproc
// %bb.0:
ldr x8, [x0]
cbz x8, .LBB0_3
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
mov x19, x0
mov x20, x1
ldr w9, [x0, #8]
cbz w9, .LBB0_4
// %bb.2:
ldr x0, [x19]
mov x1, x20
str xzr, [x19, #16]
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b alb_send_learning_packets
.LBB0_3:
ret
.LBB0_4:
.cfi_restore_state
ldr w0, [x8]
mov w1, #1 // =0x1
bl dev_set_promiscuity
cmp w0, #0
cset w8, eq
str w8, [x19, #8]
ldr x0, [x19]
mov x1, x20
str xzr, [x19, #16]
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b alb_send_learning_packets
.Lfunc_end0:
.size rlb_teach_disabled_mac_on_primary, .Lfunc_end0-rlb_teach_disabled_mac_on_primary
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_teach_disabled_mac_on_primary
| .text
.file "extr_bond_alb.c_rlb_teach_disabled_mac_on_primary.c"
.p2align 4, 0x90 # -- Begin function rlb_teach_disabled_mac_on_primary
.type rlb_teach_disabled_mac_on_primary,@function
rlb_teach_disabled_mac_on_primary: # @rlb_teach_disabled_mac_on_primary
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
jne .LBB0_2
# %bb.1:
jmp .LBB0_8
.LBB0_2:
movq -8(%rbp), %rax
cmpl $0, 8(%rax)
jne .LBB0_7
# %bb.3:
movq -8(%rbp), %rax
movq (%rax), %rax
movl (%rax), %edi
movl $1, %esi
callq dev_set_promiscuity@PLT
cmpl $0, %eax
jne .LBB0_5
# %bb.4:
movq -8(%rbp), %rax
movl $1, 8(%rax)
jmp .LBB0_6
.LBB0_5:
movq -8(%rbp), %rax
movl $0, 8(%rax)
.LBB0_6:
jmp .LBB0_7
.LBB0_7:
movq -8(%rbp), %rax
movq $0, 16(%rax)
movq -8(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rsi
callq alb_send_learning_packets@PLT
.LBB0_8:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size rlb_teach_disabled_mac_on_primary, .Lfunc_end0-rlb_teach_disabled_mac_on_primary
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_teach_disabled_mac_on_primary
.addrsig_sym dev_set_promiscuity
.addrsig_sym alb_send_learning_packets
| .text
.file "extr_bond_alb.c_rlb_teach_disabled_mac_on_primary.c"
.p2align 4, 0x90 # -- Begin function rlb_teach_disabled_mac_on_primary
.type rlb_teach_disabled_mac_on_primary,@function
rlb_teach_disabled_mac_on_primary: # @rlb_teach_disabled_mac_on_primary
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
testq %rax, %rax
je .LBB0_4
# %bb.1:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0, 8(%rdi)
jne .LBB0_3
# %bb.2:
movl (%rax), %edi
movl $1, %esi
callq dev_set_promiscuity@PLT
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
movl %ecx, 8(%r14)
.LBB0_3:
movq $0, 16(%r14)
movq (%r14), %rdi
movq %rbx, %rsi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp alb_send_learning_packets@PLT # TAILCALL
.LBB0_4:
.cfi_restore %rbx
.cfi_restore %r14
retq
.Lfunc_end0:
.size rlb_teach_disabled_mac_on_primary, .Lfunc_end0-rlb_teach_disabled_mac_on_primary
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_teach_disabled_mac_on_primary
| .text
.file "extr_bond_alb.c_rlb_teach_disabled_mac_on_primary.c"
.p2align 4, 0x90 # -- Begin function rlb_teach_disabled_mac_on_primary
.type rlb_teach_disabled_mac_on_primary,@function
rlb_teach_disabled_mac_on_primary: # @rlb_teach_disabled_mac_on_primary
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
testq %rax, %rax
je .LBB0_4
# %bb.1:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0, 8(%rdi)
jne .LBB0_3
# %bb.2:
movl (%rax), %edi
movl $1, %esi
callq dev_set_promiscuity@PLT
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
movl %ecx, 8(%r14)
.LBB0_3:
movq $0, 16(%r14)
movq (%r14), %rdi
movq %rbx, %rsi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp alb_send_learning_packets@PLT # TAILCALL
.LBB0_4:
.cfi_restore %rbx
.cfi_restore %r14
retq
.Lfunc_end0:
.size rlb_teach_disabled_mac_on_primary, .Lfunc_end0-rlb_teach_disabled_mac_on_primary
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_teach_disabled_mac_on_primary
| .text
.file "extr_bond_alb.c_rlb_teach_disabled_mac_on_primary.c"
.p2align 4, 0x90 # -- Begin function rlb_teach_disabled_mac_on_primary
.type rlb_teach_disabled_mac_on_primary,@function
rlb_teach_disabled_mac_on_primary: # @rlb_teach_disabled_mac_on_primary
.cfi_startproc
# %bb.0:
movq (%rdi), %rax
testq %rax, %rax
je .LBB0_4
# %bb.1:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0, 8(%rdi)
jne .LBB0_3
# %bb.2:
movl (%rax), %edi
movl $1, %esi
callq dev_set_promiscuity@PLT
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
movl %ecx, 8(%r14)
.LBB0_3:
movq $0, 16(%r14)
movq (%r14), %rdi
movq %rbx, %rsi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp alb_send_learning_packets@PLT # TAILCALL
.LBB0_4:
.cfi_restore %rbx
.cfi_restore %r14
retq
.Lfunc_end0:
.size rlb_teach_disabled_mac_on_primary, .Lfunc_end0-rlb_teach_disabled_mac_on_primary
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym rlb_teach_disabled_mac_on_primary
|
extr_bond_3ad.c_ad_periodic_machine.c | .text
.file "extr_bond_3ad.c_ad_periodic_machine.c"
.p2align 2 // -- Begin function ad_periodic_machine
.type ad_periodic_machine,@function
ad_periodic_machine: // @ad_periodic_machine
.cfi_startproc
// %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] // 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8]
stur x8, [x29, #-16]
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_BEGIN
ldr w9, [x9, :lo12:AD_PORT_BEGIN]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_5
b .LBB0_1
.LBB0_1:
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
adrp x9, AD_PORT_LACP_ENABLED
ldr w9, [x9, :lo12:AD_PORT_LACP_ENABLED]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_5
b .LBB0_2
.LBB0_2:
ldur x8, [x29, #-8]
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_5
b .LBB0_3
.LBB0_3:
ldur x8, [x29, #-8]
ldr w8, [x8, #12]
adrp x9, AD_STATE_LACP_ACTIVITY
ldr w9, [x9, :lo12:AD_STATE_LACP_ACTIVITY]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_6
b .LBB0_4
.LBB0_4:
ldur x8, [x29, #-8]
ldr w8, [x8, #36]
adrp x9, AD_STATE_LACP_ACTIVITY
ldr w9, [x9, :lo12:AD_STATE_LACP_ACTIVITY]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
ldur x9, [x29, #-8]
mov x8, #130 // =0x82
str x8, [x9]
b .LBB0_30
.LBB0_6:
ldur x8, [x29, #-8]
ldr x8, [x8, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_20
b .LBB0_7
.LBB0_7:
ldur x9, [x29, #-8]
ldr x8, [x9, #24]
subs x8, x8, #1
str x8, [x9, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, .LBB0_9
b .LBB0_8
.LBB0_8:
ldur x9, [x29, #-8]
mov x8, #129 // =0x81
str x8, [x9]
b .LBB0_19
.LBB0_9:
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #24] // 8-byte Folded Spill
subs x8, x8, #128
cset w8, eq
tbnz w8, #0, .LBB0_14
b .LBB0_10
.LBB0_10:
ldr x8, [sp, #24] // 8-byte Folded Reload
subs x8, x8, #131
cset w8, ne
tbnz w8, #0, .LBB0_17
b .LBB0_11
.LBB0_11:
ldur x8, [x29, #-8]
ldr w8, [x8, #36]
adrp x9, AD_STATE_LACP_TIMEOUT
ldr w9, [x9, :lo12:AD_STATE_LACP_TIMEOUT]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_13
b .LBB0_12
.LBB0_12:
ldur x9, [x29, #-8]
mov x8, #128 // =0x80
str x8, [x9]
b .LBB0_13
.LBB0_13:
b .LBB0_18
.LBB0_14:
ldur x8, [x29, #-8]
ldr w8, [x8, #36]
adrp x9, AD_STATE_LACP_TIMEOUT
ldr w9, [x9, :lo12:AD_STATE_LACP_TIMEOUT]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_16
b .LBB0_15
.LBB0_15:
ldur x8, [x29, #-8]
str xzr, [x8, #24]
ldur x9, [x29, #-8]
mov x8, #129 // =0x81
str x8, [x9]
b .LBB0_16
.LBB0_16:
b .LBB0_18
.LBB0_17:
b .LBB0_18
.LBB0_18:
b .LBB0_19
.LBB0_19:
b .LBB0_29
.LBB0_20:
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #16] // 8-byte Folded Spill
subs x8, x8, #129
cset w8, eq
tbnz w8, #0, .LBB0_23
b .LBB0_21
.LBB0_21:
ldr x8, [sp, #16] // 8-byte Folded Reload
subs x8, x8, #130
cset w8, ne
tbnz w8, #0, .LBB0_27
b .LBB0_22
.LBB0_22:
ldur x9, [x29, #-8]
mov x8, #131 // =0x83
str x8, [x9]
b .LBB0_28
.LBB0_23:
ldur x8, [x29, #-8]
ldr w8, [x8, #36]
adrp x9, AD_STATE_LACP_TIMEOUT
ldr w9, [x9, :lo12:AD_STATE_LACP_TIMEOUT]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_25
b .LBB0_24
.LBB0_24:
ldur x9, [x29, #-8]
mov x8, #128 // =0x80
str x8, [x9]
b .LBB0_26
.LBB0_25:
ldur x9, [x29, #-8]
mov x8, #131 // =0x83
str x8, [x9]
b .LBB0_26
.LBB0_26:
b .LBB0_28
.LBB0_27:
b .LBB0_28
.LBB0_28:
b .LBB0_29
.LBB0_29:
b .LBB0_30
.LBB0_30:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, .LBB0_39
b .LBB0_31
.LBB0_31:
ldur x8, [x29, #-8]
ldr w1, [x8, #32]
ldur x2, [x29, #-16]
ldur x8, [x29, #-8]
ldr x3, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #128
str x8, [sp, #8] // 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, .LBB0_37
// %bb.32:
ldr x11, [sp, #8] // 8-byte Folded Reload
adrp x10, .LJTI0_0
add x10, x10, :lo12:.LJTI0_0
.Ltmp0:
adr x8, .Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
.LBB0_33:
ldur x8, [x29, #-8]
str xzr, [x8, #24]
b .LBB0_38
.LBB0_34:
adrp x8, AD_PERIODIC_TIMER
ldr w0, [x8, :lo12:AD_PERIODIC_TIMER]
adrp x8, AD_FAST_PERIODIC_TIME
ldr w1, [x8, :lo12:AD_FAST_PERIODIC_TIME]
bl __ad_timer_to_ticks
subs w9, w0, #1
// implicit-def: $x8
mov w8, w9
sxtw x8, w8
ldur x9, [x29, #-8]
str x8, [x9, #24]
b .LBB0_38
.LBB0_35:
adrp x8, AD_PERIODIC_TIMER
ldr w0, [x8, :lo12:AD_PERIODIC_TIMER]
adrp x8, AD_SLOW_PERIODIC_TIME
ldr w1, [x8, :lo12:AD_SLOW_PERIODIC_TIME]
bl __ad_timer_to_ticks
subs w9, w0, #1
// implicit-def: $x8
mov w8, w9
sxtw x8, w8
ldur x9, [x29, #-8]
str x8, [x9, #24]
b .LBB0_38
.LBB0_36:
ldur x9, [x29, #-8]
mov w8, #1 // =0x1
str w8, [x9, #16]
b .LBB0_38
.LBB0_37:
b .LBB0_38
.LBB0_38:
b .LBB0_39
.LBB0_39:
.cfi_def_cfa wsp, 64
ldp x29, x30, [sp, #48] // 16-byte Folded Reload
add sp, sp, #64
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_periodic_machine, .Lfunc_end0-ad_periodic_machine
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.word .LBB0_35-.Ltmp0
.word .LBB0_36-.Ltmp0
.word .LBB0_33-.Ltmp0
.word .LBB0_34-.Ltmp0
// -- End function
.type AD_PORT_BEGIN,@object // @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.word 0 // 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_LACP_ENABLED,@object // @AD_PORT_LACP_ENABLED
.globl AD_PORT_LACP_ENABLED
.p2align 2, 0x0
AD_PORT_LACP_ENABLED:
.word 0 // 0x0
.size AD_PORT_LACP_ENABLED, 4
.type AD_STATE_LACP_ACTIVITY,@object // @AD_STATE_LACP_ACTIVITY
.globl AD_STATE_LACP_ACTIVITY
.p2align 2, 0x0
AD_STATE_LACP_ACTIVITY:
.word 0 // 0x0
.size AD_STATE_LACP_ACTIVITY, 4
.type AD_STATE_LACP_TIMEOUT,@object // @AD_STATE_LACP_TIMEOUT
.globl AD_STATE_LACP_TIMEOUT
.p2align 2, 0x0
AD_STATE_LACP_TIMEOUT:
.word 0 // 0x0
.size AD_STATE_LACP_TIMEOUT, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Periodic Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 57
.type AD_PERIODIC_TIMER,@object // @AD_PERIODIC_TIMER
.bss
.globl AD_PERIODIC_TIMER
.p2align 2, 0x0
AD_PERIODIC_TIMER:
.word 0 // 0x0
.size AD_PERIODIC_TIMER, 4
.type AD_FAST_PERIODIC_TIME,@object // @AD_FAST_PERIODIC_TIME
.globl AD_FAST_PERIODIC_TIME
.p2align 2, 0x0
AD_FAST_PERIODIC_TIME:
.word 0 // 0x0
.size AD_FAST_PERIODIC_TIME, 4
.type AD_SLOW_PERIODIC_TIME,@object // @AD_SLOW_PERIODIC_TIME
.globl AD_SLOW_PERIODIC_TIME
.p2align 2, 0x0
AD_SLOW_PERIODIC_TIME:
.word 0 // 0x0
.size AD_SLOW_PERIODIC_TIME, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_periodic_machine
.addrsig_sym pr_debug
.addrsig_sym __ad_timer_to_ticks
.addrsig_sym AD_PORT_BEGIN
.addrsig_sym AD_PORT_LACP_ENABLED
.addrsig_sym AD_STATE_LACP_ACTIVITY
.addrsig_sym AD_STATE_LACP_TIMEOUT
.addrsig_sym AD_PERIODIC_TIMER
.addrsig_sym AD_FAST_PERIODIC_TIME
.addrsig_sym AD_SLOW_PERIODIC_TIME
| .text
.file "extr_bond_3ad.c_ad_periodic_machine.c"
.p2align 2 // -- Begin function ad_periodic_machine
.type ad_periodic_machine,@function
ad_periodic_machine: // @ad_periodic_machine
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x9, AD_PORT_BEGIN
ldr w8, [x0, #8]
mov x19, x0
ldr x2, [x0]
ldr w9, [x9, :lo12:AD_PORT_BEGIN]
tst w9, w8
b.eq .LBB0_7
.LBB0_1:
mov w8, #130 // =0x82
.LBB0_2:
str x8, [x19]
.LBB0_3:
ldr x3, [x19]
cmp x3, x2
b.eq .LBB0_21
// %bb.4:
ldr w1, [x19, #32]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
ldr x8, [x19]
sub x8, x8, #128
cmp x8, #3
b.hi .LBB0_21
// %bb.5:
adrp x9, .LJTI0_0
add x9, x9, :lo12:.LJTI0_0
adr x10, .LBB0_6
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_6:
adrp x8, AD_PERIODIC_TIMER
adrp x9, AD_SLOW_PERIODIC_TIME
ldr w0, [x8, :lo12:AD_PERIODIC_TIMER]
ldr w1, [x9, :lo12:AD_SLOW_PERIODIC_TIME]
b .LBB0_20
.LBB0_7:
adrp x9, AD_PORT_LACP_ENABLED
ldr w9, [x9, :lo12:AD_PORT_LACP_ENABLED]
tst w9, w8
b.eq .LBB0_1
// %bb.8:
ldr w8, [x19, #40]
cbz w8, .LBB0_1
// %bb.9:
adrp x8, AD_STATE_LACP_ACTIVITY
ldr w9, [x19, #12]
ldr w8, [x8, :lo12:AD_STATE_LACP_ACTIVITY]
tst w8, w9
b.ne .LBB0_11
// %bb.10:
ldr w9, [x19, #36]
tst w9, w8
b.eq .LBB0_1
.LBB0_11:
ldr x8, [x19, #24]
cbz x8, .LBB0_22
// %bb.12:
subs x8, x8, #1
str x8, [x19, #24]
b.eq .LBB0_25
// %bb.13:
cmp x2, #128
b.eq .LBB0_26
// %bb.14:
cmp x2, #131
b.ne .LBB0_3
// %bb.15:
adrp x8, AD_STATE_LACP_TIMEOUT
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_STATE_LACP_TIMEOUT]
tst w8, w9
b.ne .LBB0_3
// %bb.16:
mov w8, #128 // =0x80
b .LBB0_2
.LBB0_17:
mov w8, #1 // =0x1
str w8, [x19, #16]
b .LBB0_21
.LBB0_18:
str xzr, [x19, #24]
b .LBB0_21
.LBB0_19:
adrp x8, AD_PERIODIC_TIMER
adrp x9, AD_FAST_PERIODIC_TIME
ldr w0, [x8, :lo12:AD_PERIODIC_TIMER]
ldr w1, [x9, :lo12:AD_FAST_PERIODIC_TIME]
.LBB0_20:
bl __ad_timer_to_ticks
sub w8, w0, #1
sxtw x8, w8
str x8, [x19, #24]
.LBB0_21:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_22:
.cfi_restore_state
cmp x2, #130
b.eq .LBB0_28
// %bb.23:
cmp x2, #129
b.ne .LBB0_3
// %bb.24:
adrp x8, AD_STATE_LACP_TIMEOUT
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_STATE_LACP_TIMEOUT]
tst w8, w9
mov w8, #131 // =0x83
mov w9, #128 // =0x80
csel x8, x9, x8, eq
b .LBB0_2
.LBB0_25:
mov w8, #129 // =0x81
b .LBB0_2
.LBB0_26:
adrp x8, AD_STATE_LACP_TIMEOUT
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_STATE_LACP_TIMEOUT]
tst w8, w9
b.eq .LBB0_3
// %bb.27:
mov w8, #129 // =0x81
str xzr, [x19, #24]
b .LBB0_2
.LBB0_28:
mov w8, #131 // =0x83
b .LBB0_2
.Lfunc_end0:
.size ad_periodic_machine, .Lfunc_end0-ad_periodic_machine
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_6-.LBB0_6)>>2
.byte (.LBB0_17-.LBB0_6)>>2
.byte (.LBB0_18-.LBB0_6)>>2
.byte (.LBB0_19-.LBB0_6)>>2
// -- End function
.type AD_PORT_BEGIN,@object // @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.word 0 // 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_LACP_ENABLED,@object // @AD_PORT_LACP_ENABLED
.globl AD_PORT_LACP_ENABLED
.p2align 2, 0x0
AD_PORT_LACP_ENABLED:
.word 0 // 0x0
.size AD_PORT_LACP_ENABLED, 4
.type AD_STATE_LACP_ACTIVITY,@object // @AD_STATE_LACP_ACTIVITY
.globl AD_STATE_LACP_ACTIVITY
.p2align 2, 0x0
AD_STATE_LACP_ACTIVITY:
.word 0 // 0x0
.size AD_STATE_LACP_ACTIVITY, 4
.type AD_STATE_LACP_TIMEOUT,@object // @AD_STATE_LACP_TIMEOUT
.globl AD_STATE_LACP_TIMEOUT
.p2align 2, 0x0
AD_STATE_LACP_TIMEOUT:
.word 0 // 0x0
.size AD_STATE_LACP_TIMEOUT, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Periodic Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 57
.type AD_PERIODIC_TIMER,@object // @AD_PERIODIC_TIMER
.bss
.globl AD_PERIODIC_TIMER
.p2align 2, 0x0
AD_PERIODIC_TIMER:
.word 0 // 0x0
.size AD_PERIODIC_TIMER, 4
.type AD_FAST_PERIODIC_TIME,@object // @AD_FAST_PERIODIC_TIME
.globl AD_FAST_PERIODIC_TIME
.p2align 2, 0x0
AD_FAST_PERIODIC_TIME:
.word 0 // 0x0
.size AD_FAST_PERIODIC_TIME, 4
.type AD_SLOW_PERIODIC_TIME,@object // @AD_SLOW_PERIODIC_TIME
.globl AD_SLOW_PERIODIC_TIME
.p2align 2, 0x0
AD_SLOW_PERIODIC_TIME:
.word 0 // 0x0
.size AD_SLOW_PERIODIC_TIME, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_periodic_machine
| .text
.file "extr_bond_3ad.c_ad_periodic_machine.c"
.p2align 2 // -- Begin function ad_periodic_machine
.type ad_periodic_machine,@function
ad_periodic_machine: // @ad_periodic_machine
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x9, AD_PORT_BEGIN
ldr w8, [x0, #8]
mov x19, x0
ldr x2, [x0]
ldr w9, [x9, :lo12:AD_PORT_BEGIN]
tst w9, w8
b.eq .LBB0_7
.LBB0_1:
mov w3, #130 // =0x82
.LBB0_2:
str x3, [x19]
.LBB0_3:
cmp x3, x2
b.eq .LBB0_21
// %bb.4:
ldr w1, [x19, #32]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
ldr x8, [x19]
sub x8, x8, #128
cmp x8, #3
b.hi .LBB0_21
// %bb.5:
adrp x9, .LJTI0_0
add x9, x9, :lo12:.LJTI0_0
adr x10, .LBB0_6
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_6:
adrp x8, AD_PERIODIC_TIMER
adrp x9, AD_SLOW_PERIODIC_TIME
ldr w0, [x8, :lo12:AD_PERIODIC_TIMER]
ldr w1, [x9, :lo12:AD_SLOW_PERIODIC_TIME]
b .LBB0_20
.LBB0_7:
adrp x9, AD_PORT_LACP_ENABLED
ldr w9, [x9, :lo12:AD_PORT_LACP_ENABLED]
tst w9, w8
b.eq .LBB0_1
// %bb.8:
ldr w8, [x19, #40]
cbz w8, .LBB0_1
// %bb.9:
adrp x8, AD_STATE_LACP_ACTIVITY
ldr w9, [x19, #12]
ldr w8, [x8, :lo12:AD_STATE_LACP_ACTIVITY]
tst w8, w9
b.ne .LBB0_11
// %bb.10:
ldr w9, [x19, #36]
tst w9, w8
b.eq .LBB0_1
.LBB0_11:
ldr x8, [x19, #24]
cbz x8, .LBB0_22
// %bb.12:
subs x8, x8, #1
str x8, [x19, #24]
b.eq .LBB0_25
// %bb.13:
cmp x2, #128
b.eq .LBB0_26
// %bb.14:
cmp x2, #131
b.ne .LBB0_21
// %bb.15:
adrp x8, AD_STATE_LACP_TIMEOUT
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_STATE_LACP_TIMEOUT]
tst w8, w9
b.eq .LBB0_29
// %bb.16:
mov w3, #131 // =0x83
b .LBB0_3
.LBB0_17:
mov w8, #1 // =0x1
str w8, [x19, #16]
b .LBB0_21
.LBB0_18:
str xzr, [x19, #24]
b .LBB0_21
.LBB0_19:
adrp x8, AD_PERIODIC_TIMER
adrp x9, AD_FAST_PERIODIC_TIME
ldr w0, [x8, :lo12:AD_PERIODIC_TIMER]
ldr w1, [x9, :lo12:AD_FAST_PERIODIC_TIME]
.LBB0_20:
bl __ad_timer_to_ticks
sub w8, w0, #1
sxtw x8, w8
str x8, [x19, #24]
.LBB0_21:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_22:
.cfi_restore_state
cmp x2, #130
b.eq .LBB0_28
// %bb.23:
cmp x2, #129
b.ne .LBB0_21
// %bb.24:
adrp x8, AD_STATE_LACP_TIMEOUT
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_STATE_LACP_TIMEOUT]
tst w8, w9
mov w8, #131 // =0x83
mov w9, #128 // =0x80
csel x3, x9, x8, eq
b .LBB0_2
.LBB0_25:
mov w3, #129 // =0x81
b .LBB0_2
.LBB0_26:
adrp x8, AD_STATE_LACP_TIMEOUT
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_STATE_LACP_TIMEOUT]
tst w8, w9
b.eq .LBB0_30
// %bb.27:
mov w3, #129 // =0x81
str xzr, [x19, #24]
b .LBB0_2
.LBB0_28:
mov w3, #131 // =0x83
b .LBB0_2
.LBB0_29:
mov w3, #128 // =0x80
b .LBB0_2
.LBB0_30:
mov w3, #128 // =0x80
b .LBB0_3
.Lfunc_end0:
.size ad_periodic_machine, .Lfunc_end0-ad_periodic_machine
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_6-.LBB0_6)>>2
.byte (.LBB0_17-.LBB0_6)>>2
.byte (.LBB0_18-.LBB0_6)>>2
.byte (.LBB0_19-.LBB0_6)>>2
// -- End function
.type AD_PORT_BEGIN,@object // @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.word 0 // 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_LACP_ENABLED,@object // @AD_PORT_LACP_ENABLED
.globl AD_PORT_LACP_ENABLED
.p2align 2, 0x0
AD_PORT_LACP_ENABLED:
.word 0 // 0x0
.size AD_PORT_LACP_ENABLED, 4
.type AD_STATE_LACP_ACTIVITY,@object // @AD_STATE_LACP_ACTIVITY
.globl AD_STATE_LACP_ACTIVITY
.p2align 2, 0x0
AD_STATE_LACP_ACTIVITY:
.word 0 // 0x0
.size AD_STATE_LACP_ACTIVITY, 4
.type AD_STATE_LACP_TIMEOUT,@object // @AD_STATE_LACP_TIMEOUT
.globl AD_STATE_LACP_TIMEOUT
.p2align 2, 0x0
AD_STATE_LACP_TIMEOUT:
.word 0 // 0x0
.size AD_STATE_LACP_TIMEOUT, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Periodic Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 57
.type AD_PERIODIC_TIMER,@object // @AD_PERIODIC_TIMER
.bss
.globl AD_PERIODIC_TIMER
.p2align 2, 0x0
AD_PERIODIC_TIMER:
.word 0 // 0x0
.size AD_PERIODIC_TIMER, 4
.type AD_FAST_PERIODIC_TIME,@object // @AD_FAST_PERIODIC_TIME
.globl AD_FAST_PERIODIC_TIME
.p2align 2, 0x0
AD_FAST_PERIODIC_TIME:
.word 0 // 0x0
.size AD_FAST_PERIODIC_TIME, 4
.type AD_SLOW_PERIODIC_TIME,@object // @AD_SLOW_PERIODIC_TIME
.globl AD_SLOW_PERIODIC_TIME
.p2align 2, 0x0
AD_SLOW_PERIODIC_TIME:
.word 0 // 0x0
.size AD_SLOW_PERIODIC_TIME, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_periodic_machine
| .text
.file "extr_bond_3ad.c_ad_periodic_machine.c"
.p2align 2 // -- Begin function ad_periodic_machine
.type ad_periodic_machine,@function
ad_periodic_machine: // @ad_periodic_machine
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
adrp x9, AD_PORT_BEGIN
ldr w8, [x0, #8]
mov x19, x0
ldr x2, [x0]
ldr w9, [x9, :lo12:AD_PORT_BEGIN]
tst w9, w8
b.eq .LBB0_8
.LBB0_1:
mov w3, #130 // =0x82
.LBB0_2:
str x3, [x19]
.LBB0_3:
cmp x3, x2
b.ne .LBB0_5
.LBB0_4:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_5:
.cfi_restore_state
.cfi_remember_state
ldr w1, [x19, #32]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
ldr x8, [x19]
sub x8, x8, #128
cmp x8, #3
b.hi .LBB0_4
// %bb.6:
adrp x9, .LJTI0_0
add x9, x9, :lo12:.LJTI0_0
adr x10, .LBB0_7
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
.LBB0_7:
adrp x8, AD_PERIODIC_TIMER
adrp x9, AD_SLOW_PERIODIC_TIME
ldr w0, [x8, :lo12:AD_PERIODIC_TIMER]
ldr w1, [x9, :lo12:AD_SLOW_PERIODIC_TIME]
b .LBB0_21
.LBB0_8:
adrp x9, AD_PORT_LACP_ENABLED
ldr w9, [x9, :lo12:AD_PORT_LACP_ENABLED]
tst w9, w8
b.eq .LBB0_1
// %bb.9:
ldr w8, [x19, #40]
cbz w8, .LBB0_1
// %bb.10:
adrp x8, AD_STATE_LACP_ACTIVITY
ldr w9, [x19, #12]
ldr w8, [x8, :lo12:AD_STATE_LACP_ACTIVITY]
tst w8, w9
b.ne .LBB0_12
// %bb.11:
ldr w9, [x19, #36]
tst w9, w8
b.eq .LBB0_1
.LBB0_12:
ldr x8, [x19, #24]
cbz x8, .LBB0_22
// %bb.13:
subs x8, x8, #1
str x8, [x19, #24]
b.eq .LBB0_25
// %bb.14:
cmp x2, #128
b.eq .LBB0_26
// %bb.15:
cmp x2, #131
b.ne .LBB0_4
// %bb.16:
adrp x8, AD_STATE_LACP_TIMEOUT
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_STATE_LACP_TIMEOUT]
tst w8, w9
b.eq .LBB0_29
// %bb.17:
mov w3, #131 // =0x83
b .LBB0_3
.LBB0_18:
mov w8, #1 // =0x1
str w8, [x19, #16]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_19:
.cfi_restore_state
.cfi_remember_state
str xzr, [x19, #24]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_20:
.cfi_restore_state
.cfi_remember_state
adrp x8, AD_PERIODIC_TIMER
adrp x9, AD_FAST_PERIODIC_TIME
ldr w0, [x8, :lo12:AD_PERIODIC_TIMER]
ldr w1, [x9, :lo12:AD_FAST_PERIODIC_TIME]
.LBB0_21:
bl __ad_timer_to_ticks
sub w8, w0, #1
sxtw x8, w8
str x8, [x19, #24]
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_22:
.cfi_restore_state
cmp x2, #130
b.eq .LBB0_28
// %bb.23:
cmp x2, #129
b.ne .LBB0_4
// %bb.24:
adrp x8, AD_STATE_LACP_TIMEOUT
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_STATE_LACP_TIMEOUT]
tst w8, w9
mov w8, #131 // =0x83
mov w9, #128 // =0x80
csel x3, x9, x8, eq
b .LBB0_2
.LBB0_25:
mov w3, #129 // =0x81
b .LBB0_2
.LBB0_26:
adrp x8, AD_STATE_LACP_TIMEOUT
ldr w9, [x19, #36]
ldr w8, [x8, :lo12:AD_STATE_LACP_TIMEOUT]
tst w8, w9
b.eq .LBB0_30
// %bb.27:
mov w3, #129 // =0x81
str xzr, [x19, #24]
b .LBB0_2
.LBB0_28:
mov w3, #131 // =0x83
b .LBB0_2
.LBB0_29:
mov w3, #128 // =0x80
b .LBB0_2
.LBB0_30:
mov w3, #128 // =0x80
b .LBB0_3
.Lfunc_end0:
.size ad_periodic_machine, .Lfunc_end0-ad_periodic_machine
.cfi_endproc
.section .rodata,"a",@progbits
.LJTI0_0:
.byte (.LBB0_7-.LBB0_7)>>2
.byte (.LBB0_18-.LBB0_7)>>2
.byte (.LBB0_19-.LBB0_7)>>2
.byte (.LBB0_20-.LBB0_7)>>2
// -- End function
.type AD_PORT_BEGIN,@object // @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.word 0 // 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_LACP_ENABLED,@object // @AD_PORT_LACP_ENABLED
.globl AD_PORT_LACP_ENABLED
.p2align 2, 0x0
AD_PORT_LACP_ENABLED:
.word 0 // 0x0
.size AD_PORT_LACP_ENABLED, 4
.type AD_STATE_LACP_ACTIVITY,@object // @AD_STATE_LACP_ACTIVITY
.globl AD_STATE_LACP_ACTIVITY
.p2align 2, 0x0
AD_STATE_LACP_ACTIVITY:
.word 0 // 0x0
.size AD_STATE_LACP_ACTIVITY, 4
.type AD_STATE_LACP_TIMEOUT,@object // @AD_STATE_LACP_TIMEOUT
.globl AD_STATE_LACP_TIMEOUT
.p2align 2, 0x0
AD_STATE_LACP_TIMEOUT:
.word 0 // 0x0
.size AD_STATE_LACP_TIMEOUT, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Periodic Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 57
.type AD_PERIODIC_TIMER,@object // @AD_PERIODIC_TIMER
.bss
.globl AD_PERIODIC_TIMER
.p2align 2, 0x0
AD_PERIODIC_TIMER:
.word 0 // 0x0
.size AD_PERIODIC_TIMER, 4
.type AD_FAST_PERIODIC_TIME,@object // @AD_FAST_PERIODIC_TIME
.globl AD_FAST_PERIODIC_TIME
.p2align 2, 0x0
AD_FAST_PERIODIC_TIME:
.word 0 // 0x0
.size AD_FAST_PERIODIC_TIME, 4
.type AD_SLOW_PERIODIC_TIME,@object // @AD_SLOW_PERIODIC_TIME
.globl AD_SLOW_PERIODIC_TIME
.p2align 2, 0x0
AD_SLOW_PERIODIC_TIME:
.word 0 // 0x0
.size AD_SLOW_PERIODIC_TIME, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_periodic_machine
| .text
.file "extr_bond_3ad.c_ad_periodic_machine.c"
.p2align 4, 0x90 # -- Begin function ad_periodic_machine
.type ad_periodic_machine,@function
ad_periodic_machine: # @ad_periodic_machine
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_BEGIN(%rip), %eax
cmpl $0, %eax
jne .LBB0_5
# %bb.1:
movq -8(%rbp), %rax
movl 8(%rax), %eax
andl AD_PORT_LACP_ENABLED(%rip), %eax
cmpl $0, %eax
je .LBB0_5
# %bb.2:
movq -8(%rbp), %rax
cmpl $0, 40(%rax)
je .LBB0_5
# %bb.3:
movq -8(%rbp), %rax
movl 12(%rax), %eax
andl AD_STATE_LACP_ACTIVITY(%rip), %eax
cmpl $0, %eax
jne .LBB0_6
# %bb.4:
movq -8(%rbp), %rax
movl 36(%rax), %eax
andl AD_STATE_LACP_ACTIVITY(%rip), %eax
cmpl $0, %eax
jne .LBB0_6
.LBB0_5:
movq -8(%rbp), %rax
movq $130, (%rax)
jmp .LBB0_28
.LBB0_6:
movq -8(%rbp), %rax
cmpq $0, 24(%rax)
je .LBB0_19
# %bb.7:
movq -8(%rbp), %rcx
movq 24(%rcx), %rax
addq $-1, %rax
movq %rax, 24(%rcx)
cmpq $0, %rax
jne .LBB0_9
# %bb.8:
movq -8(%rbp), %rax
movq $129, (%rax)
jmp .LBB0_18
.LBB0_9:
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -24(%rbp) # 8-byte Spill
subq $128, %rax
je .LBB0_13
jmp .LBB0_38
.LBB0_38:
movq -24(%rbp), %rax # 8-byte Reload
subq $131, %rax
jne .LBB0_16
jmp .LBB0_10
.LBB0_10:
movq -8(%rbp), %rax
movl 36(%rax), %eax
andl AD_STATE_LACP_TIMEOUT(%rip), %eax
cmpl $0, %eax
jne .LBB0_12
# %bb.11:
movq -8(%rbp), %rax
movq $128, (%rax)
.LBB0_12:
jmp .LBB0_17
.LBB0_13:
movq -8(%rbp), %rax
movl 36(%rax), %eax
andl AD_STATE_LACP_TIMEOUT(%rip), %eax
cmpl $0, %eax
je .LBB0_15
# %bb.14:
movq -8(%rbp), %rax
movq $0, 24(%rax)
movq -8(%rbp), %rax
movq $129, (%rax)
.LBB0_15:
jmp .LBB0_17
.LBB0_16:
jmp .LBB0_17
.LBB0_17:
jmp .LBB0_18
.LBB0_18:
jmp .LBB0_27
.LBB0_19:
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp) # 8-byte Spill
subq $129, %rax
je .LBB0_21
jmp .LBB0_37
.LBB0_37:
movq -32(%rbp), %rax # 8-byte Reload
subq $130, %rax
jne .LBB0_25
jmp .LBB0_20
.LBB0_20:
movq -8(%rbp), %rax
movq $131, (%rax)
jmp .LBB0_26
.LBB0_21:
movq -8(%rbp), %rax
movl 36(%rax), %eax
andl AD_STATE_LACP_TIMEOUT(%rip), %eax
cmpl $0, %eax
jne .LBB0_23
# %bb.22:
movq -8(%rbp), %rax
movq $128, (%rax)
jmp .LBB0_24
.LBB0_23:
movq -8(%rbp), %rax
movq $131, (%rax)
.LBB0_24:
jmp .LBB0_26
.LBB0_25:
jmp .LBB0_26
.LBB0_26:
jmp .LBB0_27
.LBB0_27:
jmp .LBB0_28
.LBB0_28:
movq -8(%rbp), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
je .LBB0_36
# %bb.29:
movq -8(%rbp), %rax
movl 32(%rax), %esi
movq -16(%rbp), %rdx
movq (%rax), %rcx
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq -8(%rbp), %rax
movq (%rax), %rax
addq $-128, %rax
movq %rax, -40(%rbp) # 8-byte Spill
subq $3, %rax
ja .LBB0_34
# %bb.39:
movq -40(%rbp), %rax # 8-byte Reload
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_30:
movq -8(%rbp), %rax
movq $0, 24(%rax)
jmp .LBB0_35
.LBB0_31:
movl AD_PERIODIC_TIMER(%rip), %edi
movl AD_FAST_PERIODIC_TIME(%rip), %esi
callq __ad_timer_to_ticks@PLT
subl $1, %eax
movslq %eax, %rcx
movq -8(%rbp), %rax
movq %rcx, 24(%rax)
jmp .LBB0_35
.LBB0_32:
movl AD_PERIODIC_TIMER(%rip), %edi
movl AD_SLOW_PERIODIC_TIME(%rip), %esi
callq __ad_timer_to_ticks@PLT
subl $1, %eax
movslq %eax, %rcx
movq -8(%rbp), %rax
movq %rcx, 24(%rax)
jmp .LBB0_35
.LBB0_33:
movq -8(%rbp), %rax
movl $1, 16(%rax)
jmp .LBB0_35
.LBB0_34:
jmp .LBB0_35
.LBB0_35:
jmp .LBB0_36
.LBB0_36:
addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ad_periodic_machine, .Lfunc_end0-ad_periodic_machine
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_32-.LJTI0_0
.long .LBB0_33-.LJTI0_0
.long .LBB0_30-.LJTI0_0
.long .LBB0_31-.LJTI0_0
# -- End function
.type AD_PORT_BEGIN,@object # @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.long 0 # 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_LACP_ENABLED,@object # @AD_PORT_LACP_ENABLED
.globl AD_PORT_LACP_ENABLED
.p2align 2, 0x0
AD_PORT_LACP_ENABLED:
.long 0 # 0x0
.size AD_PORT_LACP_ENABLED, 4
.type AD_STATE_LACP_ACTIVITY,@object # @AD_STATE_LACP_ACTIVITY
.globl AD_STATE_LACP_ACTIVITY
.p2align 2, 0x0
AD_STATE_LACP_ACTIVITY:
.long 0 # 0x0
.size AD_STATE_LACP_ACTIVITY, 4
.type AD_STATE_LACP_TIMEOUT,@object # @AD_STATE_LACP_TIMEOUT
.globl AD_STATE_LACP_TIMEOUT
.p2align 2, 0x0
AD_STATE_LACP_TIMEOUT:
.long 0 # 0x0
.size AD_STATE_LACP_TIMEOUT, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Periodic Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 57
.type AD_PERIODIC_TIMER,@object # @AD_PERIODIC_TIMER
.bss
.globl AD_PERIODIC_TIMER
.p2align 2, 0x0
AD_PERIODIC_TIMER:
.long 0 # 0x0
.size AD_PERIODIC_TIMER, 4
.type AD_FAST_PERIODIC_TIME,@object # @AD_FAST_PERIODIC_TIME
.globl AD_FAST_PERIODIC_TIME
.p2align 2, 0x0
AD_FAST_PERIODIC_TIME:
.long 0 # 0x0
.size AD_FAST_PERIODIC_TIME, 4
.type AD_SLOW_PERIODIC_TIME,@object # @AD_SLOW_PERIODIC_TIME
.globl AD_SLOW_PERIODIC_TIME
.p2align 2, 0x0
AD_SLOW_PERIODIC_TIME:
.long 0 # 0x0
.size AD_SLOW_PERIODIC_TIME, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_periodic_machine
.addrsig_sym pr_debug
.addrsig_sym __ad_timer_to_ticks
.addrsig_sym AD_PORT_BEGIN
.addrsig_sym AD_PORT_LACP_ENABLED
.addrsig_sym AD_STATE_LACP_ACTIVITY
.addrsig_sym AD_STATE_LACP_TIMEOUT
.addrsig_sym AD_PERIODIC_TIMER
.addrsig_sym AD_FAST_PERIODIC_TIME
.addrsig_sym AD_SLOW_PERIODIC_TIME
| .text
.file "extr_bond_3ad.c_ad_periodic_machine.c"
.p2align 4, 0x90 # -- Begin function ad_periodic_machine
.type ad_periodic_machine,@function
ad_periodic_machine: # @ad_periodic_machine
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq (%rdi), %rdx
movl 8(%rdi), %ecx
movl $130, %eax
testl %ecx, AD_PORT_BEGIN(%rip)
je .LBB0_1
.LBB0_17:
movq %rax, (%rbx)
.LBB0_18:
movq (%rbx), %rcx
cmpq %rdx, %rcx
jne .LBB0_19
.LBB0_26:
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_19:
.cfi_def_cfa_offset 16
movl 32(%rbx), %esi
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq (%rbx), %rax
addq $-128, %rax
cmpq $3, %rax
ja .LBB0_26
# %bb.20:
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_24:
movl AD_PERIODIC_TIMER(%rip), %edi
movl AD_SLOW_PERIODIC_TIME(%rip), %esi
jmp .LBB0_23
.LBB0_1:
testl %ecx, AD_PORT_LACP_ENABLED(%rip)
je .LBB0_17
# %bb.2:
cmpl $0, 40(%rbx)
je .LBB0_17
# %bb.3:
movl AD_STATE_LACP_ACTIVITY(%rip), %ecx
testl %ecx, 12(%rbx)
jne .LBB0_5
# %bb.4:
testl %ecx, 36(%rbx)
je .LBB0_17
.LBB0_5:
movq 24(%rbx), %rcx
testq %rcx, %rcx
je .LBB0_13
# %bb.6:
movl $129, %eax
decq %rcx
movq %rcx, 24(%rbx)
je .LBB0_17
# %bb.7:
cmpq $128, %rdx
je .LBB0_11
# %bb.8:
cmpq $131, %rdx
jne .LBB0_18
# %bb.9:
movl AD_STATE_LACP_TIMEOUT(%rip), %eax
testl %eax, 36(%rbx)
jne .LBB0_18
# %bb.10:
movl $128, %eax
jmp .LBB0_17
.LBB0_25:
movl $1, 16(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_21:
.cfi_def_cfa_offset 16
movq $0, 24(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_22:
.cfi_def_cfa_offset 16
movl AD_PERIODIC_TIMER(%rip), %edi
movl AD_FAST_PERIODIC_TIME(%rip), %esi
.LBB0_23:
callq __ad_timer_to_ticks@PLT
decl %eax
cltq
movq %rax, 24(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_13:
.cfi_def_cfa_offset 16
cmpq $130, %rdx
je .LBB0_14
# %bb.15:
cmpq $129, %rdx
jne .LBB0_18
# %bb.16:
movl AD_STATE_LACP_TIMEOUT(%rip), %eax
xorl %ecx, %ecx
testl %eax, 36(%rbx)
setne %cl
leaq (%rcx,%rcx,2), %rax
addq $128, %rax
jmp .LBB0_17
.LBB0_11:
movl AD_STATE_LACP_TIMEOUT(%rip), %ecx
testl %ecx, 36(%rbx)
je .LBB0_18
# %bb.12:
movq $0, 24(%rbx)
jmp .LBB0_17
.LBB0_14:
movl $131, %eax
jmp .LBB0_17
.Lfunc_end0:
.size ad_periodic_machine, .Lfunc_end0-ad_periodic_machine
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_24-.LJTI0_0
.long .LBB0_25-.LJTI0_0
.long .LBB0_21-.LJTI0_0
.long .LBB0_22-.LJTI0_0
# -- End function
.type AD_PORT_BEGIN,@object # @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.long 0 # 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_LACP_ENABLED,@object # @AD_PORT_LACP_ENABLED
.globl AD_PORT_LACP_ENABLED
.p2align 2, 0x0
AD_PORT_LACP_ENABLED:
.long 0 # 0x0
.size AD_PORT_LACP_ENABLED, 4
.type AD_STATE_LACP_ACTIVITY,@object # @AD_STATE_LACP_ACTIVITY
.globl AD_STATE_LACP_ACTIVITY
.p2align 2, 0x0
AD_STATE_LACP_ACTIVITY:
.long 0 # 0x0
.size AD_STATE_LACP_ACTIVITY, 4
.type AD_STATE_LACP_TIMEOUT,@object # @AD_STATE_LACP_TIMEOUT
.globl AD_STATE_LACP_TIMEOUT
.p2align 2, 0x0
AD_STATE_LACP_TIMEOUT:
.long 0 # 0x0
.size AD_STATE_LACP_TIMEOUT, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Periodic Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 57
.type AD_PERIODIC_TIMER,@object # @AD_PERIODIC_TIMER
.bss
.globl AD_PERIODIC_TIMER
.p2align 2, 0x0
AD_PERIODIC_TIMER:
.long 0 # 0x0
.size AD_PERIODIC_TIMER, 4
.type AD_FAST_PERIODIC_TIME,@object # @AD_FAST_PERIODIC_TIME
.globl AD_FAST_PERIODIC_TIME
.p2align 2, 0x0
AD_FAST_PERIODIC_TIME:
.long 0 # 0x0
.size AD_FAST_PERIODIC_TIME, 4
.type AD_SLOW_PERIODIC_TIME,@object # @AD_SLOW_PERIODIC_TIME
.globl AD_SLOW_PERIODIC_TIME
.p2align 2, 0x0
AD_SLOW_PERIODIC_TIME:
.long 0 # 0x0
.size AD_SLOW_PERIODIC_TIME, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_periodic_machine
| .text
.file "extr_bond_3ad.c_ad_periodic_machine.c"
.p2align 4, 0x90 # -- Begin function ad_periodic_machine
.type ad_periodic_machine,@function
ad_periodic_machine: # @ad_periodic_machine
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq (%rdi), %rdx
movl 8(%rdi), %eax
movl $130, %ecx
testl %eax, AD_PORT_BEGIN(%rip)
je .LBB0_1
.LBB0_18:
movq %rcx, (%rbx)
.LBB0_19:
cmpq %rdx, %rcx
jne .LBB0_20
.LBB0_27:
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_20:
.cfi_def_cfa_offset 16
movl 32(%rbx), %esi
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq (%rbx), %rax
addq $-128, %rax
cmpq $3, %rax
ja .LBB0_27
# %bb.21:
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_25:
movl AD_PERIODIC_TIMER(%rip), %edi
movl AD_SLOW_PERIODIC_TIME(%rip), %esi
jmp .LBB0_24
.LBB0_1:
testl %eax, AD_PORT_LACP_ENABLED(%rip)
je .LBB0_18
# %bb.2:
cmpl $0, 40(%rbx)
je .LBB0_18
# %bb.3:
movl AD_STATE_LACP_ACTIVITY(%rip), %eax
testl %eax, 12(%rbx)
jne .LBB0_5
# %bb.4:
testl %eax, 36(%rbx)
je .LBB0_18
.LBB0_5:
movq 24(%rbx), %rax
testq %rax, %rax
je .LBB0_14
# %bb.6:
movl $129, %ecx
decq %rax
movq %rax, 24(%rbx)
je .LBB0_18
# %bb.7:
cmpq $128, %rdx
je .LBB0_11
# %bb.8:
cmpq $131, %rdx
jne .LBB0_27
# %bb.9:
movl AD_STATE_LACP_TIMEOUT(%rip), %eax
movl $131, %ecx
testl %eax, 36(%rbx)
jne .LBB0_19
# %bb.10:
movl $128, %ecx
jmp .LBB0_18
.LBB0_26:
movl $1, 16(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_22:
.cfi_def_cfa_offset 16
movq $0, 24(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_23:
.cfi_def_cfa_offset 16
movl AD_PERIODIC_TIMER(%rip), %edi
movl AD_FAST_PERIODIC_TIME(%rip), %esi
.LBB0_24:
callq __ad_timer_to_ticks@PLT
decl %eax
cltq
movq %rax, 24(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_14:
.cfi_def_cfa_offset 16
cmpq $130, %rdx
je .LBB0_15
# %bb.16:
cmpq $129, %rdx
jne .LBB0_27
# %bb.17:
movl AD_STATE_LACP_TIMEOUT(%rip), %eax
xorl %ecx, %ecx
testl %eax, 36(%rbx)
setne %cl
leaq (%rcx,%rcx,2), %rcx
addq $128, %rcx
jmp .LBB0_18
.LBB0_11:
movl AD_STATE_LACP_TIMEOUT(%rip), %eax
testl %eax, 36(%rbx)
je .LBB0_12
# %bb.13:
movq $0, 24(%rbx)
jmp .LBB0_18
.LBB0_15:
movl $131, %ecx
jmp .LBB0_18
.LBB0_12:
movl $128, %ecx
jmp .LBB0_19
.Lfunc_end0:
.size ad_periodic_machine, .Lfunc_end0-ad_periodic_machine
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_25-.LJTI0_0
.long .LBB0_26-.LJTI0_0
.long .LBB0_22-.LJTI0_0
.long .LBB0_23-.LJTI0_0
# -- End function
.type AD_PORT_BEGIN,@object # @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.long 0 # 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_LACP_ENABLED,@object # @AD_PORT_LACP_ENABLED
.globl AD_PORT_LACP_ENABLED
.p2align 2, 0x0
AD_PORT_LACP_ENABLED:
.long 0 # 0x0
.size AD_PORT_LACP_ENABLED, 4
.type AD_STATE_LACP_ACTIVITY,@object # @AD_STATE_LACP_ACTIVITY
.globl AD_STATE_LACP_ACTIVITY
.p2align 2, 0x0
AD_STATE_LACP_ACTIVITY:
.long 0 # 0x0
.size AD_STATE_LACP_ACTIVITY, 4
.type AD_STATE_LACP_TIMEOUT,@object # @AD_STATE_LACP_TIMEOUT
.globl AD_STATE_LACP_TIMEOUT
.p2align 2, 0x0
AD_STATE_LACP_TIMEOUT:
.long 0 # 0x0
.size AD_STATE_LACP_TIMEOUT, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Periodic Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 57
.type AD_PERIODIC_TIMER,@object # @AD_PERIODIC_TIMER
.bss
.globl AD_PERIODIC_TIMER
.p2align 2, 0x0
AD_PERIODIC_TIMER:
.long 0 # 0x0
.size AD_PERIODIC_TIMER, 4
.type AD_FAST_PERIODIC_TIME,@object # @AD_FAST_PERIODIC_TIME
.globl AD_FAST_PERIODIC_TIME
.p2align 2, 0x0
AD_FAST_PERIODIC_TIME:
.long 0 # 0x0
.size AD_FAST_PERIODIC_TIME, 4
.type AD_SLOW_PERIODIC_TIME,@object # @AD_SLOW_PERIODIC_TIME
.globl AD_SLOW_PERIODIC_TIME
.p2align 2, 0x0
AD_SLOW_PERIODIC_TIME:
.long 0 # 0x0
.size AD_SLOW_PERIODIC_TIME, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_periodic_machine
| .text
.file "extr_bond_3ad.c_ad_periodic_machine.c"
.p2align 4, 0x90 # -- Begin function ad_periodic_machine
.type ad_periodic_machine,@function
ad_periodic_machine: # @ad_periodic_machine
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdi, %rbx
movq (%rdi), %rdx
movl 8(%rdi), %eax
movl $130, %ecx
testl %eax, AD_PORT_BEGIN(%rip)
je .LBB0_1
.LBB0_18:
movq %rcx, (%rbx)
.LBB0_19:
cmpq %rdx, %rcx
jne .LBB0_20
.LBB0_27:
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_20:
.cfi_def_cfa_offset 16
movl 32(%rbx), %esi
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
movq (%rbx), %rax
addq $-128, %rax
cmpq $3, %rax
ja .LBB0_27
# %bb.21:
leaq .LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.LBB0_25:
movl AD_PERIODIC_TIMER(%rip), %edi
movl AD_SLOW_PERIODIC_TIME(%rip), %esi
jmp .LBB0_24
.LBB0_1:
testl %eax, AD_PORT_LACP_ENABLED(%rip)
je .LBB0_18
# %bb.2:
cmpl $0, 40(%rbx)
je .LBB0_18
# %bb.3:
movl AD_STATE_LACP_ACTIVITY(%rip), %eax
testl %eax, 12(%rbx)
jne .LBB0_5
# %bb.4:
testl %eax, 36(%rbx)
je .LBB0_18
.LBB0_5:
movq 24(%rbx), %rax
testq %rax, %rax
je .LBB0_14
# %bb.6:
movl $129, %ecx
decq %rax
movq %rax, 24(%rbx)
je .LBB0_18
# %bb.7:
cmpq $128, %rdx
je .LBB0_11
# %bb.8:
cmpq $131, %rdx
jne .LBB0_27
# %bb.9:
movl AD_STATE_LACP_TIMEOUT(%rip), %eax
movl $131, %ecx
testl %eax, 36(%rbx)
jne .LBB0_19
# %bb.10:
movl $128, %ecx
jmp .LBB0_18
.LBB0_26:
movl $1, 16(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_22:
.cfi_def_cfa_offset 16
movq $0, 24(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_23:
.cfi_def_cfa_offset 16
movl AD_PERIODIC_TIMER(%rip), %edi
movl AD_FAST_PERIODIC_TIME(%rip), %esi
.LBB0_24:
callq __ad_timer_to_ticks@PLT
decl %eax
cltq
movq %rax, 24(%rbx)
popq %rbx
.cfi_def_cfa_offset 8
retq
.LBB0_14:
.cfi_def_cfa_offset 16
cmpq $130, %rdx
je .LBB0_15
# %bb.16:
cmpq $129, %rdx
jne .LBB0_27
# %bb.17:
movl AD_STATE_LACP_TIMEOUT(%rip), %eax
xorl %ecx, %ecx
testl %eax, 36(%rbx)
setne %cl
leaq (%rcx,%rcx,2), %rcx
addq $128, %rcx
jmp .LBB0_18
.LBB0_11:
movl AD_STATE_LACP_TIMEOUT(%rip), %eax
testl %eax, 36(%rbx)
je .LBB0_12
# %bb.13:
movq $0, 24(%rbx)
jmp .LBB0_18
.LBB0_15:
movl $131, %ecx
jmp .LBB0_18
.LBB0_12:
movl $128, %ecx
jmp .LBB0_19
.Lfunc_end0:
.size ad_periodic_machine, .Lfunc_end0-ad_periodic_machine
.cfi_endproc
.section .rodata,"a",@progbits
.p2align 2, 0x0
.LJTI0_0:
.long .LBB0_25-.LJTI0_0
.long .LBB0_26-.LJTI0_0
.long .LBB0_22-.LJTI0_0
.long .LBB0_23-.LJTI0_0
# -- End function
.type AD_PORT_BEGIN,@object # @AD_PORT_BEGIN
.bss
.globl AD_PORT_BEGIN
.p2align 2, 0x0
AD_PORT_BEGIN:
.long 0 # 0x0
.size AD_PORT_BEGIN, 4
.type AD_PORT_LACP_ENABLED,@object # @AD_PORT_LACP_ENABLED
.globl AD_PORT_LACP_ENABLED
.p2align 2, 0x0
AD_PORT_LACP_ENABLED:
.long 0 # 0x0
.size AD_PORT_LACP_ENABLED, 4
.type AD_STATE_LACP_ACTIVITY,@object # @AD_STATE_LACP_ACTIVITY
.globl AD_STATE_LACP_ACTIVITY
.p2align 2, 0x0
AD_STATE_LACP_ACTIVITY:
.long 0 # 0x0
.size AD_STATE_LACP_ACTIVITY, 4
.type AD_STATE_LACP_TIMEOUT,@object # @AD_STATE_LACP_TIMEOUT
.globl AD_STATE_LACP_TIMEOUT
.p2align 2, 0x0
AD_STATE_LACP_TIMEOUT:
.long 0 # 0x0
.size AD_STATE_LACP_TIMEOUT, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Periodic Machine: Port=%d, Last State=%d, Curr State=%d\n"
.size .L.str, 57
.type AD_PERIODIC_TIMER,@object # @AD_PERIODIC_TIMER
.bss
.globl AD_PERIODIC_TIMER
.p2align 2, 0x0
AD_PERIODIC_TIMER:
.long 0 # 0x0
.size AD_PERIODIC_TIMER, 4
.type AD_FAST_PERIODIC_TIME,@object # @AD_FAST_PERIODIC_TIME
.globl AD_FAST_PERIODIC_TIME
.p2align 2, 0x0
AD_FAST_PERIODIC_TIME:
.long 0 # 0x0
.size AD_FAST_PERIODIC_TIME, 4
.type AD_SLOW_PERIODIC_TIME,@object # @AD_SLOW_PERIODIC_TIME
.globl AD_SLOW_PERIODIC_TIME
.p2align 2, 0x0
AD_SLOW_PERIODIC_TIME:
.long 0 # 0x0
.size AD_SLOW_PERIODIC_TIME, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_periodic_machine
|
extr_bond_alb.c___tlb_clear_slave.c | .text
.file "extr_bond_alb.c___tlb_clear_slave.c"
.p2align 2 // -- Begin function __tlb_clear_slave
.type __tlb_clear_slave,@function
__tlb_clear_slave: // @__tlb_clear_slave
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
ldur x0, [x29, #-8]
bl BOND_ALB_INFO
str x0, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_5
b .LBB0_1
.LBB0_1:
ldur x0, [x29, #-16]
bl SLAVE_TLB_INFO
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp, #24]
b .LBB0_2
.LBB0_2: // =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
adrp x9, TLB_NULL_INDEX
ldr x9, [x9, :lo12:TLB_NULL_INDEX]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3: // in Loop: Header=BB0_2 Depth=1
ldr x8, [sp, #32]
ldr x9, [sp, #24]
ldr x8, [x8, x9, lsl #3]
str x8, [sp]
ldr x8, [sp, #32]
ldr x9, [sp, #24]
add x0, x8, x9, lsl #3
ldur w1, [x29, #-20]
bl tlb_init_table_entry
ldr x8, [sp]
str x8, [sp, #24]
b .LBB0_2
.LBB0_4:
b .LBB0_5
.LBB0_5:
ldur x0, [x29, #-16]
bl tlb_init_slave
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __tlb_clear_slave, .Lfunc_end0-__tlb_clear_slave
.cfi_endproc
// -- End function
.type TLB_NULL_INDEX,@object // @TLB_NULL_INDEX
.bss
.globl TLB_NULL_INDEX
.p2align 3, 0x0
TLB_NULL_INDEX:
.xword 0 // 0x0
.size TLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __tlb_clear_slave
.addrsig_sym BOND_ALB_INFO
.addrsig_sym SLAVE_TLB_INFO
.addrsig_sym tlb_init_table_entry
.addrsig_sym tlb_init_slave
.addrsig_sym TLB_NULL_INDEX
| .text
.file "extr_bond_alb.c___tlb_clear_slave.c"
.p2align 2 // -- Begin function __tlb_clear_slave
.type __tlb_clear_slave,@function
__tlb_clear_slave: // @__tlb_clear_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
mov w20, w2
mov x19, x1
bl BOND_ALB_INFO
cbz x0, .LBB0_4
// %bb.1:
mov x21, x0
mov x0, x19
bl SLAVE_TLB_INFO
adrp x23, TLB_NULL_INDEX
ldr x8, [x23, :lo12:TLB_NULL_INDEX]
cmp x0, x8
b.eq .LBB0_4
// %bb.2:
mov x22, x0
.LBB0_3: // =>This Inner Loop Header: Depth=1
add x0, x21, x22, lsl #3
mov w1, w20
ldr x22, [x0]
bl tlb_init_table_entry
ldr x8, [x23, :lo12:TLB_NULL_INDEX]
cmp x22, x8
b.ne .LBB0_3
.LBB0_4:
mov x0, x19
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
b tlb_init_slave
.Lfunc_end0:
.size __tlb_clear_slave, .Lfunc_end0-__tlb_clear_slave
.cfi_endproc
// -- End function
.type TLB_NULL_INDEX,@object // @TLB_NULL_INDEX
.bss
.globl TLB_NULL_INDEX
.p2align 3, 0x0
TLB_NULL_INDEX:
.xword 0 // 0x0
.size TLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __tlb_clear_slave
| .text
.file "extr_bond_alb.c___tlb_clear_slave.c"
.p2align 2 // -- Begin function __tlb_clear_slave
.type __tlb_clear_slave,@function
__tlb_clear_slave: // @__tlb_clear_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
mov w20, w2
mov x19, x1
bl BOND_ALB_INFO
cbz x0, .LBB0_4
// %bb.1:
mov x21, x0
mov x0, x19
bl SLAVE_TLB_INFO
adrp x23, TLB_NULL_INDEX
ldr x8, [x23, :lo12:TLB_NULL_INDEX]
cmp x0, x8
b.eq .LBB0_4
// %bb.2:
mov x22, x0
.LBB0_3: // =>This Inner Loop Header: Depth=1
add x0, x21, x22, lsl #3
mov w1, w20
ldr x22, [x0]
bl tlb_init_table_entry
ldr x8, [x23, :lo12:TLB_NULL_INDEX]
cmp x22, x8
b.ne .LBB0_3
.LBB0_4:
mov x0, x19
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
b tlb_init_slave
.Lfunc_end0:
.size __tlb_clear_slave, .Lfunc_end0-__tlb_clear_slave
.cfi_endproc
// -- End function
.type TLB_NULL_INDEX,@object // @TLB_NULL_INDEX
.bss
.globl TLB_NULL_INDEX
.p2align 3, 0x0
TLB_NULL_INDEX:
.xword 0 // 0x0
.size TLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __tlb_clear_slave
| .text
.file "extr_bond_alb.c___tlb_clear_slave.c"
.p2align 2 // -- Begin function __tlb_clear_slave
.type __tlb_clear_slave,@function
__tlb_clear_slave: // @__tlb_clear_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-64]! // 16-byte Folded Spill
.cfi_def_cfa_offset 64
str x23, [sp, #16] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -48
.cfi_offset w30, -56
.cfi_offset w29, -64
mov w20, w2
mov x19, x1
bl BOND_ALB_INFO
cbz x0, .LBB0_4
// %bb.1:
mov x21, x0
mov x0, x19
bl SLAVE_TLB_INFO
adrp x23, TLB_NULL_INDEX
ldr x8, [x23, :lo12:TLB_NULL_INDEX]
cmp x0, x8
b.eq .LBB0_4
// %bb.2:
mov x22, x0
.LBB0_3: // =>This Inner Loop Header: Depth=1
add x0, x21, x22, lsl #3
mov w1, w20
ldr x22, [x0]
bl tlb_init_table_entry
ldr x8, [x23, :lo12:TLB_NULL_INDEX]
cmp x22, x8
b.ne .LBB0_3
.LBB0_4:
mov x0, x19
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldr x23, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #64 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
b tlb_init_slave
.Lfunc_end0:
.size __tlb_clear_slave, .Lfunc_end0-__tlb_clear_slave
.cfi_endproc
// -- End function
.type TLB_NULL_INDEX,@object // @TLB_NULL_INDEX
.bss
.globl TLB_NULL_INDEX
.p2align 3, 0x0
TLB_NULL_INDEX:
.xword 0 // 0x0
.size TLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __tlb_clear_slave
| .text
.file "extr_bond_alb.c___tlb_clear_slave.c"
.p2align 4, 0x90 # -- Begin function __tlb_clear_slave
.type __tlb_clear_slave,@function
__tlb_clear_slave: # @__tlb_clear_slave
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rdi
callq BOND_ALB_INFO@PLT
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
je .LBB0_5
# %bb.1:
movq -16(%rbp), %rdi
callq SLAVE_TLB_INFO@PLT
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movq %rax, -40(%rbp)
.LBB0_2: # =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
cmpq TLB_NULL_INDEX(%rip), %rax
je .LBB0_4
# %bb.3: # in Loop: Header=BB0_2 Depth=1
movq -32(%rbp), %rax
movq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -64(%rbp)
movq -32(%rbp), %rdi
movq -40(%rbp), %rax
shlq $3, %rax
addq %rax, %rdi
movl -20(%rbp), %esi
callq tlb_init_table_entry@PLT
movq -64(%rbp), %rax
movq %rax, -40(%rbp)
jmp .LBB0_2
.LBB0_4:
jmp .LBB0_5
.LBB0_5:
movq -16(%rbp), %rdi
callq tlb_init_slave@PLT
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size __tlb_clear_slave, .Lfunc_end0-__tlb_clear_slave
.cfi_endproc
# -- End function
.type TLB_NULL_INDEX,@object # @TLB_NULL_INDEX
.bss
.globl TLB_NULL_INDEX
.p2align 3, 0x0
TLB_NULL_INDEX:
.quad 0 # 0x0
.size TLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __tlb_clear_slave
.addrsig_sym BOND_ALB_INFO
.addrsig_sym SLAVE_TLB_INFO
.addrsig_sym tlb_init_table_entry
.addrsig_sym tlb_init_slave
.addrsig_sym TLB_NULL_INDEX
| .text
.file "extr_bond_alb.c___tlb_clear_slave.c"
.p2align 4, 0x90 # -- Begin function __tlb_clear_slave
.type __tlb_clear_slave,@function
__tlb_clear_slave: # @__tlb_clear_slave
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebp
movq %rsi, %rbx
callq BOND_ALB_INFO@PLT
testq %rax, %rax
je .LBB0_4
# %bb.1:
movq %rax, %r14
movq %rbx, %rdi
callq SLAVE_TLB_INFO@PLT
cmpq TLB_NULL_INDEX(%rip), %rax
je .LBB0_4
# %bb.2:
movq %rax, %r15
.p2align 4, 0x90
.LBB0_3: # =>This Inner Loop Header: Depth=1
leaq (%r14,%r15,8), %rdi
movq (%r14,%r15,8), %r15
movl %ebp, %esi
callq tlb_init_table_entry@PLT
cmpq TLB_NULL_INDEX(%rip), %r15
jne .LBB0_3
.LBB0_4:
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp tlb_init_slave@PLT # TAILCALL
.Lfunc_end0:
.size __tlb_clear_slave, .Lfunc_end0-__tlb_clear_slave
.cfi_endproc
# -- End function
.type TLB_NULL_INDEX,@object # @TLB_NULL_INDEX
.bss
.globl TLB_NULL_INDEX
.p2align 3, 0x0
TLB_NULL_INDEX:
.quad 0 # 0x0
.size TLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __tlb_clear_slave
| .text
.file "extr_bond_alb.c___tlb_clear_slave.c"
.p2align 4, 0x90 # -- Begin function __tlb_clear_slave
.type __tlb_clear_slave,@function
__tlb_clear_slave: # @__tlb_clear_slave
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebp
movq %rsi, %rbx
callq BOND_ALB_INFO@PLT
testq %rax, %rax
je .LBB0_4
# %bb.1:
movq %rax, %r14
movq %rbx, %rdi
callq SLAVE_TLB_INFO@PLT
cmpq TLB_NULL_INDEX(%rip), %rax
je .LBB0_4
# %bb.2:
movq %rax, %r15
.p2align 4, 0x90
.LBB0_3: # =>This Inner Loop Header: Depth=1
leaq (%r14,%r15,8), %rdi
movq (%r14,%r15,8), %r15
movl %ebp, %esi
callq tlb_init_table_entry@PLT
cmpq TLB_NULL_INDEX(%rip), %r15
jne .LBB0_3
.LBB0_4:
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp tlb_init_slave@PLT # TAILCALL
.Lfunc_end0:
.size __tlb_clear_slave, .Lfunc_end0-__tlb_clear_slave
.cfi_endproc
# -- End function
.type TLB_NULL_INDEX,@object # @TLB_NULL_INDEX
.bss
.globl TLB_NULL_INDEX
.p2align 3, 0x0
TLB_NULL_INDEX:
.quad 0 # 0x0
.size TLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __tlb_clear_slave
| .text
.file "extr_bond_alb.c___tlb_clear_slave.c"
.p2align 4, 0x90 # -- Begin function __tlb_clear_slave
.type __tlb_clear_slave,@function
__tlb_clear_slave: # @__tlb_clear_slave
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %rbx
.cfi_def_cfa_offset 40
pushq %rax
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movl %edx, %ebp
movq %rsi, %rbx
callq BOND_ALB_INFO@PLT
testq %rax, %rax
je .LBB0_4
# %bb.1:
movq %rax, %r14
movq %rbx, %rdi
callq SLAVE_TLB_INFO@PLT
cmpq TLB_NULL_INDEX(%rip), %rax
je .LBB0_4
# %bb.2:
movq %rax, %r15
.p2align 4, 0x90
.LBB0_3: # =>This Inner Loop Header: Depth=1
leaq (%r14,%r15,8), %rdi
movq (%r14,%r15,8), %r15
movl %ebp, %esi
callq tlb_init_table_entry@PLT
cmpq TLB_NULL_INDEX(%rip), %r15
jne .LBB0_3
.LBB0_4:
movq %rbx, %rdi
addq $8, %rsp
.cfi_def_cfa_offset 40
popq %rbx
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp tlb_init_slave@PLT # TAILCALL
.Lfunc_end0:
.size __tlb_clear_slave, .Lfunc_end0-__tlb_clear_slave
.cfi_endproc
# -- End function
.type TLB_NULL_INDEX,@object # @TLB_NULL_INDEX
.bss
.globl TLB_NULL_INDEX
.p2align 3, 0x0
TLB_NULL_INDEX:
.quad 0 # 0x0
.size TLB_NULL_INDEX, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __tlb_clear_slave
|
extr_bond_ipv6.c_bond_register_ipv6_notifier.c | .text
.file "extr_bond_ipv6.c_bond_register_ipv6_notifier.c"
.globl bond_register_ipv6_notifier // -- Begin function bond_register_ipv6_notifier
.p2align 2
.type bond_register_ipv6_notifier,@function
bond_register_ipv6_notifier: // @bond_register_ipv6_notifier
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, bond_inet6addr_notifier
add x0, x0, :lo12:bond_inet6addr_notifier
bl register_inet6addr_notifier
.cfi_def_cfa wsp, 16
ldp x29, x30, [sp], #16 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_register_ipv6_notifier, .Lfunc_end0-bond_register_ipv6_notifier
.cfi_endproc
// -- End function
.type bond_inet6addr_notifier,@object // @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.word 0 // 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym register_inet6addr_notifier
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_register_ipv6_notifier.c"
.globl bond_register_ipv6_notifier // -- Begin function bond_register_ipv6_notifier
.p2align 2
.type bond_register_ipv6_notifier,@function
bond_register_ipv6_notifier: // @bond_register_ipv6_notifier
.cfi_startproc
// %bb.0:
adrp x0, bond_inet6addr_notifier
add x0, x0, :lo12:bond_inet6addr_notifier
b register_inet6addr_notifier
.Lfunc_end0:
.size bond_register_ipv6_notifier, .Lfunc_end0-bond_register_ipv6_notifier
.cfi_endproc
// -- End function
.type bond_inet6addr_notifier,@object // @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.word 0 // 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_register_ipv6_notifier.c"
.globl bond_register_ipv6_notifier // -- Begin function bond_register_ipv6_notifier
.p2align 2
.type bond_register_ipv6_notifier,@function
bond_register_ipv6_notifier: // @bond_register_ipv6_notifier
.cfi_startproc
// %bb.0:
adrp x0, bond_inet6addr_notifier
add x0, x0, :lo12:bond_inet6addr_notifier
b register_inet6addr_notifier
.Lfunc_end0:
.size bond_register_ipv6_notifier, .Lfunc_end0-bond_register_ipv6_notifier
.cfi_endproc
// -- End function
.type bond_inet6addr_notifier,@object // @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.word 0 // 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_register_ipv6_notifier.c"
.globl bond_register_ipv6_notifier // -- Begin function bond_register_ipv6_notifier
.p2align 2
.type bond_register_ipv6_notifier,@function
bond_register_ipv6_notifier: // @bond_register_ipv6_notifier
.cfi_startproc
// %bb.0:
adrp x0, bond_inet6addr_notifier
add x0, x0, :lo12:bond_inet6addr_notifier
b register_inet6addr_notifier
.Lfunc_end0:
.size bond_register_ipv6_notifier, .Lfunc_end0-bond_register_ipv6_notifier
.cfi_endproc
// -- End function
.type bond_inet6addr_notifier,@object // @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.word 0 // 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_register_ipv6_notifier.c"
.globl bond_register_ipv6_notifier # -- Begin function bond_register_ipv6_notifier
.p2align 4, 0x90
.type bond_register_ipv6_notifier,@function
bond_register_ipv6_notifier: # @bond_register_ipv6_notifier
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq bond_inet6addr_notifier(%rip), %rdi
callq register_inet6addr_notifier@PLT
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_register_ipv6_notifier, .Lfunc_end0-bond_register_ipv6_notifier
.cfi_endproc
# -- End function
.type bond_inet6addr_notifier,@object # @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.long 0 # 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym register_inet6addr_notifier
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_register_ipv6_notifier.c"
.globl bond_register_ipv6_notifier # -- Begin function bond_register_ipv6_notifier
.p2align 4, 0x90
.type bond_register_ipv6_notifier,@function
bond_register_ipv6_notifier: # @bond_register_ipv6_notifier
.cfi_startproc
# %bb.0:
leaq bond_inet6addr_notifier(%rip), %rdi
jmp register_inet6addr_notifier@PLT # TAILCALL
.Lfunc_end0:
.size bond_register_ipv6_notifier, .Lfunc_end0-bond_register_ipv6_notifier
.cfi_endproc
# -- End function
.type bond_inet6addr_notifier,@object # @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.long 0 # 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_register_ipv6_notifier.c"
.globl bond_register_ipv6_notifier # -- Begin function bond_register_ipv6_notifier
.p2align 4, 0x90
.type bond_register_ipv6_notifier,@function
bond_register_ipv6_notifier: # @bond_register_ipv6_notifier
.cfi_startproc
# %bb.0:
leaq bond_inet6addr_notifier(%rip), %rdi
jmp register_inet6addr_notifier@PLT # TAILCALL
.Lfunc_end0:
.size bond_register_ipv6_notifier, .Lfunc_end0-bond_register_ipv6_notifier
.cfi_endproc
# -- End function
.type bond_inet6addr_notifier,@object # @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.long 0 # 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
| .text
.file "extr_bond_ipv6.c_bond_register_ipv6_notifier.c"
.globl bond_register_ipv6_notifier # -- Begin function bond_register_ipv6_notifier
.p2align 4, 0x90
.type bond_register_ipv6_notifier,@function
bond_register_ipv6_notifier: # @bond_register_ipv6_notifier
.cfi_startproc
# %bb.0:
leaq bond_inet6addr_notifier(%rip), %rdi
jmp register_inet6addr_notifier@PLT # TAILCALL
.Lfunc_end0:
.size bond_register_ipv6_notifier, .Lfunc_end0-bond_register_ipv6_notifier
.cfi_endproc
# -- End function
.type bond_inet6addr_notifier,@object # @bond_inet6addr_notifier
.bss
.globl bond_inet6addr_notifier
.p2align 2, 0x0
bond_inet6addr_notifier:
.long 0 # 0x0
.size bond_inet6addr_notifier, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bond_inet6addr_notifier
|
extr_bond_alb.c_bond_alb_deinit_slave.c | .text
.file "extr_bond_alb.c_bond_alb_deinit_slave.c"
.globl bond_alb_deinit_slave // -- Begin function bond_alb_deinit_slave
.p2align 2
.type bond_alb_deinit_slave,@function
bond_alb_deinit_slave: // @bond_alb_deinit_slave
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x8, [sp, #8]
ldr w8, [x8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x0, [sp, #8]
ldr x1, [sp]
bl alb_change_hw_addr_on_detach
b .LBB0_2
.LBB0_2:
ldr x0, [sp, #8]
ldr x1, [sp]
mov w2, wzr
bl tlb_clear_slave
ldr x8, [sp, #8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
ldr x8, [sp, #8]
// kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x0, [sp, #8]
ldr x1, [sp]
bl rlb_clear_slave
b .LBB0_4
.LBB0_4:
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_alb_deinit_slave, .Lfunc_end0-bond_alb_deinit_slave
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_change_hw_addr_on_detach
.addrsig_sym tlb_clear_slave
.addrsig_sym rlb_clear_slave
| .text
.file "extr_bond_alb.c_bond_alb_deinit_slave.c"
.globl bond_alb_deinit_slave // -- Begin function bond_alb_deinit_slave
.p2align 2
.type bond_alb_deinit_slave,@function
bond_alb_deinit_slave: // @bond_alb_deinit_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
ldr w8, [x0]
mov x19, x0
mov x20, x1
cmp w8, #2
b.lt .LBB0_2
// %bb.1:
mov x0, x19
mov x1, x20
bl alb_change_hw_addr_on_detach
.LBB0_2:
mov x0, x19
mov x1, x20
mov w2, wzr
bl tlb_clear_slave
ldr x8, [x19, #16]
cbz x8, .LBB0_4
// %bb.3:
mov x0, x19
mov x1, x20
str xzr, [x19, #8]
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b rlb_clear_slave
.LBB0_4:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_alb_deinit_slave, .Lfunc_end0-bond_alb_deinit_slave
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_alb.c_bond_alb_deinit_slave.c"
.globl bond_alb_deinit_slave // -- Begin function bond_alb_deinit_slave
.p2align 2
.type bond_alb_deinit_slave,@function
bond_alb_deinit_slave: // @bond_alb_deinit_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
ldr w8, [x0]
mov x19, x0
mov x20, x1
cmp w8, #2
b.lt .LBB0_2
// %bb.1:
mov x0, x19
mov x1, x20
bl alb_change_hw_addr_on_detach
.LBB0_2:
mov x0, x19
mov x1, x20
mov w2, wzr
bl tlb_clear_slave
ldr x8, [x19, #16]
cbz x8, .LBB0_4
// %bb.3:
mov x0, x19
mov x1, x20
str xzr, [x19, #8]
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b rlb_clear_slave
.LBB0_4:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_alb_deinit_slave, .Lfunc_end0-bond_alb_deinit_slave
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_alb.c_bond_alb_deinit_slave.c"
.globl bond_alb_deinit_slave // -- Begin function bond_alb_deinit_slave
.p2align 2
.type bond_alb_deinit_slave,@function
bond_alb_deinit_slave: // @bond_alb_deinit_slave
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
.cfi_remember_state
ldr w8, [x0]
mov x19, x0
mov x20, x1
cmp w8, #2
b.lt .LBB0_2
// %bb.1:
mov x0, x19
mov x1, x20
bl alb_change_hw_addr_on_detach
.LBB0_2:
mov x0, x19
mov x1, x20
mov w2, wzr
bl tlb_clear_slave
ldr x8, [x19, #16]
cbz x8, .LBB0_4
// %bb.3:
mov x0, x19
mov x1, x20
str xzr, [x19, #8]
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
b rlb_clear_slave
.LBB0_4:
.cfi_restore_state
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_alb_deinit_slave, .Lfunc_end0-bond_alb_deinit_slave
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_alb.c_bond_alb_deinit_slave.c"
.globl bond_alb_deinit_slave # -- Begin function bond_alb_deinit_slave
.p2align 4, 0x90
.type bond_alb_deinit_slave,@function
bond_alb_deinit_slave: # @bond_alb_deinit_slave
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
cmpl $1, (%rax)
jle .LBB0_2
# %bb.1:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq alb_change_hw_addr_on_detach@PLT
.LBB0_2:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
xorl %edx, %edx
callq tlb_clear_slave@PLT
movq -8(%rbp), %rax
cmpq $0, 16(%rax)
je .LBB0_4
# %bb.3:
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq rlb_clear_slave@PLT
.LBB0_4:
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_alb_deinit_slave, .Lfunc_end0-bond_alb_deinit_slave
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym alb_change_hw_addr_on_detach
.addrsig_sym tlb_clear_slave
.addrsig_sym rlb_clear_slave
| .text
.file "extr_bond_alb.c_bond_alb_deinit_slave.c"
.globl bond_alb_deinit_slave # -- Begin function bond_alb_deinit_slave
.p2align 4, 0x90
.type bond_alb_deinit_slave,@function
bond_alb_deinit_slave: # @bond_alb_deinit_slave
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %r14
cmpl $2, (%rdi)
jl .LBB0_2
# %bb.1:
movq %r14, %rdi
movq %rbx, %rsi
callq alb_change_hw_addr_on_detach@PLT
.LBB0_2:
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq tlb_clear_slave@PLT
cmpq $0, 16(%r14)
je .LBB0_3
# %bb.4:
movq $0, 8(%r14)
movq %r14, %rdi
movq %rbx, %rsi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp rlb_clear_slave@PLT # TAILCALL
.LBB0_3:
.cfi_def_cfa_offset 32
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_alb_deinit_slave, .Lfunc_end0-bond_alb_deinit_slave
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_alb.c_bond_alb_deinit_slave.c"
.globl bond_alb_deinit_slave # -- Begin function bond_alb_deinit_slave
.p2align 4, 0x90
.type bond_alb_deinit_slave,@function
bond_alb_deinit_slave: # @bond_alb_deinit_slave
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %r14
cmpl $2, (%rdi)
jl .LBB0_2
# %bb.1:
movq %r14, %rdi
movq %rbx, %rsi
callq alb_change_hw_addr_on_detach@PLT
.LBB0_2:
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq tlb_clear_slave@PLT
cmpq $0, 16(%r14)
je .LBB0_3
# %bb.4:
movq $0, 8(%r14)
movq %r14, %rdi
movq %rbx, %rsi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp rlb_clear_slave@PLT # TAILCALL
.LBB0_3:
.cfi_def_cfa_offset 32
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_alb_deinit_slave, .Lfunc_end0-bond_alb_deinit_slave
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_alb.c_bond_alb_deinit_slave.c"
.globl bond_alb_deinit_slave # -- Begin function bond_alb_deinit_slave
.p2align 4, 0x90
.type bond_alb_deinit_slave,@function
bond_alb_deinit_slave: # @bond_alb_deinit_slave
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %r14
cmpl $2, (%rdi)
jl .LBB0_2
# %bb.1:
movq %r14, %rdi
movq %rbx, %rsi
callq alb_change_hw_addr_on_detach@PLT
.LBB0_2:
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq tlb_clear_slave@PLT
cmpq $0, 16(%r14)
je .LBB0_3
# %bb.4:
movq $0, 8(%r14)
movq %r14, %rdi
movq %rbx, %rsi
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
jmp rlb_clear_slave@PLT # TAILCALL
.LBB0_3:
.cfi_def_cfa_offset 32
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_alb_deinit_slave, .Lfunc_end0-bond_alb_deinit_slave
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_bond_3ad.c___update_selected.c | .text
.file "extr_bond_3ad.c___update_selected.c"
.p2align 2 // -- Begin function __update_selected
.type __update_selected,@function
__update_selected: // @__update_selected
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_10
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_10
b .LBB0_2
.LBB0_2:
ldr x8, [sp, #16]
add x8, x8, #8
str x8, [sp, #8]
ldur x8, [x29, #-8]
ldr w0, [x8, #20]
bl ntohs
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, .LBB0_8
b .LBB0_3
.LBB0_3:
ldur x8, [x29, #-8]
ldr w0, [x8, #16]
bl ntohs
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, .LBB0_8
b .LBB0_4
.LBB0_4:
ldur x8, [x29, #-8]
add x0, x8, #12
ldr x8, [sp, #8]
add x1, x8, #36
bl MAC_ADDRESS_COMPARE
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, .LBB0_8
b .LBB0_5
.LBB0_5:
ldur x8, [x29, #-8]
ldr w0, [x8, #8]
bl ntohs
ldr x8, [sp, #8]
ldr x8, [x8, #16]
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, .LBB0_8
b .LBB0_6
.LBB0_6:
ldur x8, [x29, #-8]
ldr w0, [x8, #4]
bl ntohs
ldr x8, [sp, #8]
ldr x8, [x8, #24]
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, .LBB0_8
b .LBB0_7
.LBB0_7:
ldur x8, [x29, #-8]
ldr w8, [x8]
adrp x10, AD_STATE_AGGREGATION
ldr w9, [x10, :lo12:AD_STATE_AGGREGATION]
and w8, w8, w9
ldr x9, [sp, #8]
ldr w9, [x9, #32]
ldr w10, [x10, :lo12:AD_STATE_AGGREGATION]
and w9, w9, w10
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, .LBB0_9
b .LBB0_8
.LBB0_8:
adrp x8, AD_PORT_SELECTED
ldr w10, [x8, :lo12:AD_PORT_SELECTED]
ldr x9, [sp, #16]
ldr w8, [x9]
bic w8, w8, w10
str w8, [x9]
b .LBB0_9
.LBB0_9:
b .LBB0_10
.LBB0_10:
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size __update_selected, .Lfunc_end0-__update_selected
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_selected
.addrsig_sym ntohs
.addrsig_sym MAC_ADDRESS_COMPARE
.addrsig_sym AD_STATE_AGGREGATION
.addrsig_sym AD_PORT_SELECTED
| .text
.file "extr_bond_3ad.c___update_selected.c"
.p2align 2 // -- Begin function __update_selected
.type __update_selected,@function
__update_selected: // @__update_selected
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_10
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x1
cbz x1, .LBB0_9
// %bb.2:
mov x20, x0
ldr w0, [x0, #20]
bl ntohs
ldr x8, [x19, #8]
cmp x0, x8
b.ne .LBB0_8
// %bb.3:
ldr w0, [x20, #16]
bl ntohs
ldr x8, [x19, #16]
cmp x0, x8
b.ne .LBB0_8
// %bb.4:
add x0, x20, #12
add x1, x19, #44
bl MAC_ADDRESS_COMPARE
cbnz x0, .LBB0_8
// %bb.5:
ldr w0, [x20, #8]
bl ntohs
ldr x8, [x19, #24]
cmp x0, x8
b.ne .LBB0_8
// %bb.6:
ldr w0, [x20, #4]
bl ntohs
ldr x8, [x19, #32]
cmp x0, x8
b.ne .LBB0_8
// %bb.7:
adrp x8, AD_STATE_AGGREGATION
ldr w9, [x20]
ldr w10, [x19, #40]
ldr w8, [x8, :lo12:AD_STATE_AGGREGATION]
eor w9, w10, w9
tst w9, w8
b.eq .LBB0_9
.LBB0_8:
adrp x8, AD_PORT_SELECTED
ldr w9, [x19]
ldr w8, [x8, :lo12:AD_PORT_SELECTED]
bic w8, w9, w8
str w8, [x19]
.LBB0_9:
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
.LBB0_10:
ret
.Lfunc_end0:
.size __update_selected, .Lfunc_end0-__update_selected
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_selected
| .text
.file "extr_bond_3ad.c___update_selected.c"
.p2align 2 // -- Begin function __update_selected
.type __update_selected,@function
__update_selected: // @__update_selected
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_10
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x1
cbz x1, .LBB0_9
// %bb.2:
mov x20, x0
ldr w0, [x0, #20]
bl ntohs
ldr x8, [x19, #8]
cmp x0, x8
b.ne .LBB0_8
// %bb.3:
ldr w0, [x20, #16]
bl ntohs
ldr x8, [x19, #16]
cmp x0, x8
b.ne .LBB0_8
// %bb.4:
add x0, x20, #12
add x1, x19, #44
bl MAC_ADDRESS_COMPARE
cbnz x0, .LBB0_8
// %bb.5:
ldr w0, [x20, #8]
bl ntohs
ldr x8, [x19, #24]
cmp x0, x8
b.ne .LBB0_8
// %bb.6:
ldr w0, [x20, #4]
bl ntohs
ldr x8, [x19, #32]
cmp x0, x8
b.ne .LBB0_8
// %bb.7:
adrp x8, AD_STATE_AGGREGATION
ldr w9, [x20]
ldr w10, [x19, #40]
ldr w8, [x8, :lo12:AD_STATE_AGGREGATION]
eor w9, w10, w9
tst w9, w8
b.eq .LBB0_9
.LBB0_8:
adrp x8, AD_PORT_SELECTED
ldr w9, [x19]
ldr w8, [x8, :lo12:AD_PORT_SELECTED]
bic w8, w9, w8
str w8, [x19]
.LBB0_9:
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
.LBB0_10:
ret
.Lfunc_end0:
.size __update_selected, .Lfunc_end0-__update_selected
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_selected
| .text
.file "extr_bond_3ad.c___update_selected.c"
.p2align 2 // -- Begin function __update_selected
.type __update_selected,@function
__update_selected: // @__update_selected
.cfi_startproc
// %bb.0:
cbz x0, .LBB0_10
// %bb.1:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x1
cbz x1, .LBB0_9
// %bb.2:
mov x20, x0
ldr w0, [x0, #20]
bl ntohs
ldr x8, [x19, #8]
cmp x0, x8
b.ne .LBB0_8
// %bb.3:
ldr w0, [x20, #16]
bl ntohs
ldr x8, [x19, #16]
cmp x0, x8
b.ne .LBB0_8
// %bb.4:
add x0, x20, #12
add x1, x19, #44
bl MAC_ADDRESS_COMPARE
cbnz x0, .LBB0_8
// %bb.5:
ldr w0, [x20, #8]
bl ntohs
ldr x8, [x19, #24]
cmp x0, x8
b.ne .LBB0_8
// %bb.6:
ldr w0, [x20, #4]
bl ntohs
ldr x8, [x19, #32]
cmp x0, x8
b.ne .LBB0_8
// %bb.7:
adrp x8, AD_STATE_AGGREGATION
ldr w9, [x20]
ldr w10, [x19, #40]
ldr w8, [x8, :lo12:AD_STATE_AGGREGATION]
eor w9, w10, w9
tst w9, w8
b.eq .LBB0_9
.LBB0_8:
adrp x8, AD_PORT_SELECTED
ldr w9, [x19]
ldr w8, [x8, :lo12:AD_PORT_SELECTED]
bic w8, w9, w8
str w8, [x19]
.LBB0_9:
.cfi_def_cfa wsp, 32
ldp x20, x19, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w30
.cfi_restore w29
.LBB0_10:
ret
.Lfunc_end0:
.size __update_selected, .Lfunc_end0-__update_selected
.cfi_endproc
// -- End function
.type AD_STATE_AGGREGATION,@object // @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.word 0 // 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object // @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.word 0 // 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_selected
| .text
.file "extr_bond_3ad.c___update_selected.c"
.p2align 4, 0x90 # -- Begin function __update_selected
.type __update_selected,@function
__update_selected: # @__update_selected
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpq $0, -8(%rbp)
je .LBB0_10
# %bb.1:
cmpq $0, -16(%rbp)
je .LBB0_10
# %bb.2:
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movl 20(%rax), %edi
callq ntohs@PLT
movq -24(%rbp), %rcx
cmpq (%rcx), %rax
jne .LBB0_8
# %bb.3:
movq -8(%rbp), %rax
movl 16(%rax), %edi
callq ntohs@PLT
movq -24(%rbp), %rcx
cmpq 8(%rcx), %rax
jne .LBB0_8
# %bb.4:
movq -8(%rbp), %rdi
addq $12, %rdi
movq -24(%rbp), %rsi
addq $36, %rsi
callq MAC_ADDRESS_COMPARE@PLT
cmpq $0, %rax
jne .LBB0_8
# %bb.5:
movq -8(%rbp), %rax
movl 8(%rax), %edi
callq ntohs@PLT
movq -24(%rbp), %rcx
cmpq 16(%rcx), %rax
jne .LBB0_8
# %bb.6:
movq -8(%rbp), %rax
movl 4(%rax), %edi
callq ntohs@PLT
movq -24(%rbp), %rcx
cmpq 24(%rcx), %rax
jne .LBB0_8
# %bb.7:
movq -8(%rbp), %rax
movl (%rax), %eax
andl AD_STATE_AGGREGATION(%rip), %eax
movq -24(%rbp), %rcx
movl 32(%rcx), %ecx
andl AD_STATE_AGGREGATION(%rip), %ecx
cmpl %ecx, %eax
je .LBB0_9
.LBB0_8:
movl AD_PORT_SELECTED(%rip), %ecx
xorl $-1, %ecx
movq -16(%rbp), %rax
andl (%rax), %ecx
movl %ecx, (%rax)
.LBB0_9:
jmp .LBB0_10
.LBB0_10:
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size __update_selected, .Lfunc_end0-__update_selected
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_selected
.addrsig_sym ntohs
.addrsig_sym MAC_ADDRESS_COMPARE
.addrsig_sym AD_STATE_AGGREGATION
.addrsig_sym AD_PORT_SELECTED
| .text
.file "extr_bond_3ad.c___update_selected.c"
.p2align 4, 0x90 # -- Begin function __update_selected
.type __update_selected,@function
__update_selected: # @__update_selected
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_10
# %bb.1:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
testq %rsi, %rsi
je .LBB0_9
# %bb.2:
movq %rdi, %r14
movl 20(%rdi), %edi
callq ntohs@PLT
cmpq 8(%rbx), %rax
jne .LBB0_8
# %bb.3:
movl 16(%r14), %edi
callq ntohs@PLT
cmpq 16(%rbx), %rax
jne .LBB0_8
# %bb.4:
leaq 12(%r14), %rdi
leaq 44(%rbx), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testq %rax, %rax
jne .LBB0_8
# %bb.5:
movl 8(%r14), %edi
callq ntohs@PLT
cmpq 24(%rbx), %rax
jne .LBB0_8
# %bb.6:
movl 4(%r14), %edi
callq ntohs@PLT
cmpq 32(%rbx), %rax
jne .LBB0_8
# %bb.7:
movl 40(%rbx), %eax
xorl (%r14), %eax
testl %eax, AD_STATE_AGGREGATION(%rip)
je .LBB0_9
.LBB0_8:
movl AD_PORT_SELECTED(%rip), %eax
notl %eax
andl %eax, (%rbx)
.LBB0_9:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
.cfi_restore %rbx
.cfi_restore %r14
.LBB0_10:
retq
.Lfunc_end0:
.size __update_selected, .Lfunc_end0-__update_selected
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_selected
| .text
.file "extr_bond_3ad.c___update_selected.c"
.p2align 4, 0x90 # -- Begin function __update_selected
.type __update_selected,@function
__update_selected: # @__update_selected
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_10
# %bb.1:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
testq %rsi, %rsi
je .LBB0_9
# %bb.2:
movq %rdi, %r14
movl 20(%rdi), %edi
callq ntohs@PLT
cmpq 8(%rbx), %rax
jne .LBB0_8
# %bb.3:
movl 16(%r14), %edi
callq ntohs@PLT
cmpq 16(%rbx), %rax
jne .LBB0_8
# %bb.4:
leaq 12(%r14), %rdi
leaq 44(%rbx), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testq %rax, %rax
jne .LBB0_8
# %bb.5:
movl 8(%r14), %edi
callq ntohs@PLT
cmpq 24(%rbx), %rax
jne .LBB0_8
# %bb.6:
movl 4(%r14), %edi
callq ntohs@PLT
cmpq 32(%rbx), %rax
jne .LBB0_8
# %bb.7:
movl 40(%rbx), %eax
xorl (%r14), %eax
testl %eax, AD_STATE_AGGREGATION(%rip)
je .LBB0_9
.LBB0_8:
movl AD_PORT_SELECTED(%rip), %eax
notl %eax
andl %eax, (%rbx)
.LBB0_9:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
.cfi_restore %rbx
.cfi_restore %r14
.LBB0_10:
retq
.Lfunc_end0:
.size __update_selected, .Lfunc_end0-__update_selected
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_selected
| .text
.file "extr_bond_3ad.c___update_selected.c"
.p2align 4, 0x90 # -- Begin function __update_selected
.type __update_selected,@function
__update_selected: # @__update_selected
.cfi_startproc
# %bb.0:
testq %rdi, %rdi
je .LBB0_10
# %bb.1:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
testq %rsi, %rsi
je .LBB0_9
# %bb.2:
movq %rdi, %r14
movl 20(%rdi), %edi
callq ntohs@PLT
cmpq 8(%rbx), %rax
jne .LBB0_8
# %bb.3:
movl 16(%r14), %edi
callq ntohs@PLT
cmpq 16(%rbx), %rax
jne .LBB0_8
# %bb.4:
leaq 12(%r14), %rdi
leaq 44(%rbx), %rsi
callq MAC_ADDRESS_COMPARE@PLT
testq %rax, %rax
jne .LBB0_8
# %bb.5:
movl 8(%r14), %edi
callq ntohs@PLT
cmpq 24(%rbx), %rax
jne .LBB0_8
# %bb.6:
movl 4(%r14), %edi
callq ntohs@PLT
cmpq 32(%rbx), %rax
jne .LBB0_8
# %bb.7:
movl 40(%rbx), %eax
xorl (%r14), %eax
testl %eax, AD_STATE_AGGREGATION(%rip)
je .LBB0_9
.LBB0_8:
movl AD_PORT_SELECTED(%rip), %eax
notl %eax
andl %eax, (%rbx)
.LBB0_9:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
.cfi_restore %rbx
.cfi_restore %r14
.LBB0_10:
retq
.Lfunc_end0:
.size __update_selected, .Lfunc_end0-__update_selected
.cfi_endproc
# -- End function
.type AD_STATE_AGGREGATION,@object # @AD_STATE_AGGREGATION
.bss
.globl AD_STATE_AGGREGATION
.p2align 2, 0x0
AD_STATE_AGGREGATION:
.long 0 # 0x0
.size AD_STATE_AGGREGATION, 4
.type AD_PORT_SELECTED,@object # @AD_PORT_SELECTED
.globl AD_PORT_SELECTED
.p2align 2, 0x0
AD_PORT_SELECTED:
.long 0 # 0x0
.size AD_PORT_SELECTED, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym __update_selected
|
extr_bond_sysfs.c_bond_create_sysfs_entry.c | .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry // -- Begin function bond_create_sysfs_entry
.p2align 2
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: // @bond_create_sysfs_entry
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #16]
ldr x0, [sp, #16]
adrp x1, bonding_group
add x1, x1, :lo12:bonding_group
bl sysfs_create_group
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_emerg
b .LBB0_2
.LBB0_2:
ldr w0, [sp, #12]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
// -- End function
.type bonding_group,@object // @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.word 0 // 0x0
.size bonding_group, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym sysfs_create_group
.addrsig_sym pr_emerg
.addrsig_sym bonding_group
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry // -- Begin function bond_create_sysfs_entry
.p2align 2
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: // @bond_create_sysfs_entry
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
ldr x0, [x0]
adrp x1, bonding_group
add x1, x1, :lo12:bonding_group
bl sysfs_create_group
mov w19, w0
cbz w0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_emerg
.LBB0_2:
mov w0, w19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
// -- End function
.type bonding_group,@object // @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.word 0 // 0x0
.size bonding_group, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_group
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry // -- Begin function bond_create_sysfs_entry
.p2align 2
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: // @bond_create_sysfs_entry
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
ldr x0, [x0]
adrp x1, bonding_group
add x1, x1, :lo12:bonding_group
bl sysfs_create_group
mov w19, w0
cbz w0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_emerg
.LBB0_2:
mov w0, w19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
// -- End function
.type bonding_group,@object // @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.word 0 // 0x0
.size bonding_group, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_group
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry // -- Begin function bond_create_sysfs_entry
.p2align 2
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: // @bond_create_sysfs_entry
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
ldr x0, [x0]
adrp x1, bonding_group
add x1, x1, :lo12:bonding_group
bl sysfs_create_group
mov w19, w0
cbz w0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_emerg
.LBB0_2:
mov w0, w19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
// -- End function
.type bonding_group,@object // @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.word 0 // 0x0
.size bonding_group, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_group
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry # -- Begin function bond_create_sysfs_entry
.p2align 4, 0x90
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: # @bond_create_sysfs_entry
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
leaq bonding_group(%rip), %rsi
callq sysfs_create_group@PLT
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq pr_emerg@PLT
.LBB0_2:
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
# -- End function
.type bonding_group,@object # @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.long 0 # 0x0
.size bonding_group, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym sysfs_create_group
.addrsig_sym pr_emerg
.addrsig_sym bonding_group
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry # -- Begin function bond_create_sysfs_entry
.p2align 4, 0x90
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: # @bond_create_sysfs_entry
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq (%rdi), %rdi
leaq bonding_group(%rip), %rsi
callq sysfs_create_group@PLT
movl %eax, %ebx
testl %eax, %eax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq pr_emerg@PLT
.LBB0_2:
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
# -- End function
.type bonding_group,@object # @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.long 0 # 0x0
.size bonding_group, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_group
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry # -- Begin function bond_create_sysfs_entry
.p2align 4, 0x90
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: # @bond_create_sysfs_entry
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq (%rdi), %rdi
leaq bonding_group(%rip), %rsi
callq sysfs_create_group@PLT
movl %eax, %ebx
testl %eax, %eax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq pr_emerg@PLT
.LBB0_2:
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
# -- End function
.type bonding_group,@object # @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.long 0 # 0x0
.size bonding_group, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_group
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry # -- Begin function bond_create_sysfs_entry
.p2align 4, 0x90
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: # @bond_create_sysfs_entry
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq (%rdi), %rdi
leaq bonding_group(%rip), %rsi
callq sysfs_create_group@PLT
movl %eax, %ebx
testl %eax, %eax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq pr_emerg@PLT
.LBB0_2:
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
# -- End function
.type bonding_group,@object # @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.long 0 # 0x0
.size bonding_group, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_group
|
extr_bond_sysfs.c_bond_create_sysfs.c | .text
.file "extr_bond_sysfs.c_bond_create_sysfs.c"
.globl bond_create_sysfs // -- Begin function bond_create_sysfs
.p2align 2
.type bond_create_sysfs,@function
bond_create_sysfs: // @bond_create_sysfs
.cfi_startproc
// %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] // 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, class_attr_bonding_masters
add x0, x0, :lo12:class_attr_bonding_masters
bl netdev_class_create_file
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
adrp x9, EEXIST
ldr w9, [x9, :lo12:EEXIST]
adds w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_4
b .LBB0_1
.LBB0_1:
adrp x8, class_attr_bonding_masters
ldr w1, [x8, :lo12:class_attr_bonding_masters]
adrp x0, init_net
add x0, x0, :lo12:init_net
bl __dev_get_by_name
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, .LBB0_3
b .LBB0_2
.LBB0_2:
adrp x8, class_attr_bonding_masters
ldr w1, [x8, :lo12:class_attr_bonding_masters]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_err
b .LBB0_3
.LBB0_3:
stur wzr, [x29, #-4]
b .LBB0_4
.LBB0_4:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 32
ldp x29, x30, [sp, #16] // 16-byte Folded Reload
add sp, sp, #32
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_sysfs, .Lfunc_end0-bond_create_sysfs
.cfi_endproc
// -- End function
.type class_attr_bonding_masters,@object // @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.zero 4
.size class_attr_bonding_masters, 4
.type EEXIST,@object // @EEXIST
.globl EEXIST
.p2align 2, 0x0
EEXIST:
.word 0 // 0x0
.size EEXIST, 4
.type init_net,@object // @init_net
.globl init_net
.p2align 2, 0x0
init_net:
.word 0 // 0x0
.size init_net, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "network device named %s already exists in sysfs"
.size .L.str, 48
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym netdev_class_create_file
.addrsig_sym __dev_get_by_name
.addrsig_sym pr_err
.addrsig_sym class_attr_bonding_masters
.addrsig_sym EEXIST
.addrsig_sym init_net
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry // -- Begin function bond_create_sysfs_entry
.p2align 2
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: // @bond_create_sysfs_entry
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
ldr x0, [x0]
adrp x1, bonding_group
add x1, x1, :lo12:bonding_group
bl sysfs_create_group
mov w19, w0
cbz w0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_emerg
.LBB0_2:
mov w0, w19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
// -- End function
.type bonding_group,@object // @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.word 0 // 0x0
.size bonding_group, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_group
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs.c"
.globl bond_create_sysfs // -- Begin function bond_create_sysfs
.p2align 2
.type bond_create_sysfs,@function
bond_create_sysfs: // @bond_create_sysfs
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
adrp x0, class_attr_bonding_masters
add x0, x0, :lo12:class_attr_bonding_masters
bl netdev_class_create_file
adrp x8, EEXIST
ldr w8, [x8, :lo12:EEXIST]
cmn w0, w8
b.ne .LBB0_3
// %bb.1:
adrp x19, class_attr_bonding_masters
adrp x0, init_net
add x0, x0, :lo12:init_net
ldr w1, [x19, :lo12:class_attr_bonding_masters]
bl __dev_get_by_name
cbz x0, .LBB0_3
// %bb.2:
ldr w1, [x19, :lo12:class_attr_bonding_masters]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_err
mov w0, wzr
.LBB0_3:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_sysfs, .Lfunc_end0-bond_create_sysfs
.cfi_endproc
// -- End function
.type class_attr_bonding_masters,@object // @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.zero 4
.size class_attr_bonding_masters, 4
.type EEXIST,@object // @EEXIST
.globl EEXIST
.p2align 2, 0x0
EEXIST:
.word 0 // 0x0
.size EEXIST, 4
.type init_net,@object // @init_net
.globl init_net
.p2align 2, 0x0
init_net:
.word 0 // 0x0
.size init_net, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "network device named %s already exists in sysfs"
.size .L.str, 48
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym class_attr_bonding_masters
.addrsig_sym init_net
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry // -- Begin function bond_create_sysfs_entry
.p2align 2
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: // @bond_create_sysfs_entry
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
ldr x0, [x0]
adrp x1, bonding_group
add x1, x1, :lo12:bonding_group
bl sysfs_create_group
mov w19, w0
cbz w0, .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_emerg
.LBB0_2:
mov w0, w19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
// -- End function
.type bonding_group,@object // @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.word 0 // 0x0
.size bonding_group, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_group
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry # -- Begin function bond_create_sysfs_entry
.p2align 4, 0x90
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: # @bond_create_sysfs_entry
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
leaq bonding_group(%rip), %rsi
callq sysfs_create_group@PLT
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq pr_emerg@PLT
.LBB0_2:
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
# -- End function
.type bonding_group,@object # @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.long 0 # 0x0
.size bonding_group, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym sysfs_create_group
.addrsig_sym pr_emerg
.addrsig_sym bonding_group
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs.c"
.globl bond_create_sysfs # -- Begin function bond_create_sysfs
.p2align 4, 0x90
.type bond_create_sysfs,@function
bond_create_sysfs: # @bond_create_sysfs
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
leaq class_attr_bonding_masters(%rip), %rdi
callq netdev_class_create_file@PLT
movl %eax, %ebx
addl EEXIST(%rip), %eax
jne .LBB0_3
# %bb.1:
movl class_attr_bonding_masters(%rip), %esi
leaq init_net(%rip), %rdi
callq __dev_get_by_name@PLT
xorl %ebx, %ebx
testq %rax, %rax
je .LBB0_3
# %bb.2:
movl class_attr_bonding_masters(%rip), %esi
leaq .L.str(%rip), %rdi
callq pr_err@PLT
.LBB0_3:
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_create_sysfs, .Lfunc_end0-bond_create_sysfs
.cfi_endproc
# -- End function
.type class_attr_bonding_masters,@object # @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.zero 4
.size class_attr_bonding_masters, 4
.type EEXIST,@object # @EEXIST
.globl EEXIST
.p2align 2, 0x0
EEXIST:
.long 0 # 0x0
.size EEXIST, 4
.type init_net,@object # @init_net
.globl init_net
.p2align 2, 0x0
init_net:
.long 0 # 0x0
.size init_net, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "network device named %s already exists in sysfs"
.size .L.str, 48
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym class_attr_bonding_masters
.addrsig_sym init_net
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs.c"
.globl bond_create_sysfs # -- Begin function bond_create_sysfs
.p2align 4, 0x90
.type bond_create_sysfs,@function
bond_create_sysfs: # @bond_create_sysfs
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
leaq class_attr_bonding_masters(%rip), %rdi
callq netdev_class_create_file@PLT
movl %eax, %ebx
addl EEXIST(%rip), %eax
jne .LBB0_3
# %bb.1:
movl class_attr_bonding_masters(%rip), %esi
leaq init_net(%rip), %rdi
callq __dev_get_by_name@PLT
xorl %ebx, %ebx
testq %rax, %rax
je .LBB0_3
# %bb.2:
movl class_attr_bonding_masters(%rip), %esi
leaq .L.str(%rip), %rdi
callq pr_err@PLT
.LBB0_3:
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_create_sysfs, .Lfunc_end0-bond_create_sysfs
.cfi_endproc
# -- End function
.type class_attr_bonding_masters,@object # @class_attr_bonding_masters
.bss
.globl class_attr_bonding_masters
.p2align 2, 0x0
class_attr_bonding_masters:
.zero 4
.size class_attr_bonding_masters, 4
.type EEXIST,@object # @EEXIST
.globl EEXIST
.p2align 2, 0x0
EEXIST:
.long 0 # 0x0
.size EEXIST, 4
.type init_net,@object # @init_net
.globl init_net
.p2align 2, 0x0
init_net:
.long 0 # 0x0
.size init_net, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "network device named %s already exists in sysfs"
.size .L.str, 48
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym class_attr_bonding_masters
.addrsig_sym init_net
| .text
.file "extr_bond_sysfs.c_bond_create_sysfs_entry.c"
.globl bond_create_sysfs_entry # -- Begin function bond_create_sysfs_entry
.p2align 4, 0x90
.type bond_create_sysfs_entry,@function
bond_create_sysfs_entry: # @bond_create_sysfs_entry
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq (%rdi), %rdi
leaq bonding_group(%rip), %rsi
callq sysfs_create_group@PLT
movl %eax, %ebx
testl %eax, %eax
je .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq pr_emerg@PLT
.LBB0_2:
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size bond_create_sysfs_entry, .Lfunc_end0-bond_create_sysfs_entry
.cfi_endproc
# -- End function
.type bonding_group,@object # @bonding_group
.bss
.globl bonding_group
.p2align 2, 0x0
bonding_group:
.long 0 # 0x0
.size bonding_group, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "eek! didn't create group!\n"
.size .L.str, 27
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_group
|
extr_bond_sysfs.c_bond_create_slave_symlinks.c | .text
.file "extr_bond_sysfs.c_bond_create_slave_symlinks.c"
.globl bond_create_slave_symlinks // -- Begin function bond_create_slave_symlinks
.p2align 2
.type bond_create_slave_symlinks,@function
bond_create_slave_symlinks: // @bond_create_slave_symlinks
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #64
stur x0, [x29, #-16]
stur x1, [x29, #-24]
adrp x8, IFNAMSIZ
ldr w8, [x8, :lo12:IFNAMSIZ]
add w8, w8, #7
mov w8, w8
// kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-32]
lsr x9, x8, #0
add x9, x9, #15
and x10, x9, #0xfffffffffffffff0
mov x9, sp
subs x0, x9, x10
stur x0, [x29, #-56] // 8-byte Folded Spill
mov sp, x0
stur x8, [x29, #-40]
stur wzr, [x29, #-44]
ldur x9, [x29, #-24]
ldur x8, [x29, #-16]
add x0, x9, #8
add x1, x8, #8
adrp x2, .L.str
add x2, x2, :lo12:.L.str
bl sysfs_create_link
stur w0, [x29, #-44]
ldur w8, [x29, #-44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldur w8, [x29, #-44]
stur w8, [x29, #-4]
mov w8, #1 // =0x1
stur w8, [x29, #-48]
b .LBB0_3
.LBB0_2:
ldur x0, [x29, #-56] // 8-byte Folded Reload
ldur x8, [x29, #-24]
ldr x2, [x8]
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
bl sprintf
ldur x2, [x29, #-56] // 8-byte Folded Reload
ldur x8, [x29, #-16]
add x0, x8, #8
ldur x8, [x29, #-24]
add x1, x8, #8
bl sysfs_create_link
stur w0, [x29, #-44]
ldur w8, [x29, #-44]
stur w8, [x29, #-4]
mov w8, #1 // =0x1
stur w8, [x29, #-48]
b .LBB0_3
.LBB0_3:
ldur x8, [x29, #-32]
mov sp, x8
ldur w0, [x29, #-4]
mov sp, x29
.cfi_def_cfa wsp, 16
ldp x29, x30, [sp], #16 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_slave_symlinks, .Lfunc_end0-bond_create_slave_symlinks
.cfi_endproc
// -- End function
.type IFNAMSIZ,@object // @IFNAMSIZ
.bss
.globl IFNAMSIZ
.p2align 2, 0x0
IFNAMSIZ:
.word 0 // 0x0
.size IFNAMSIZ, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "master"
.size .L.str, 7
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "slave_%s"
.size .L.str.1, 9
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym sysfs_create_link
.addrsig_sym sprintf
.addrsig_sym IFNAMSIZ
| .text
.file "extr_bond_sysfs.c_bond_create_slave_symlinks.c"
.globl bond_create_slave_symlinks // -- Begin function bond_create_slave_symlinks
.p2align 2
.type bond_create_slave_symlinks,@function
bond_create_slave_symlinks: // @bond_create_slave_symlinks
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
adrp x8, IFNAMSIZ
mov x9, sp
mov x20, x1
ldr w8, [x8, :lo12:IFNAMSIZ]
add w8, w8, #7
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x19, x9, x8
mov sp, x19
add x21, x1, #8
add x22, x0, #8
adrp x2, .L.str
add x2, x2, :lo12:.L.str
mov x0, x21
mov x1, x22
bl sysfs_create_link
cbnz w0, .LBB0_2
// %bb.1:
ldr x2, [x20]
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
mov x0, x19
bl sprintf
mov x0, x22
mov x1, x21
mov x2, x19
bl sysfs_create_link
.LBB0_2:
mov sp, x29
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_slave_symlinks, .Lfunc_end0-bond_create_slave_symlinks
.cfi_endproc
// -- End function
.type IFNAMSIZ,@object // @IFNAMSIZ
.bss
.globl IFNAMSIZ
.p2align 2, 0x0
IFNAMSIZ:
.word 0 // 0x0
.size IFNAMSIZ, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "master"
.size .L.str, 7
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "slave_%s"
.size .L.str.1, 9
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_sysfs.c_bond_create_slave_symlinks.c"
.globl bond_create_slave_symlinks // -- Begin function bond_create_slave_symlinks
.p2align 2
.type bond_create_slave_symlinks,@function
bond_create_slave_symlinks: // @bond_create_slave_symlinks
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
adrp x8, IFNAMSIZ
mov x9, sp
mov x20, x1
ldr w8, [x8, :lo12:IFNAMSIZ]
add w8, w8, #7
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x19, x9, x8
mov sp, x19
add x21, x1, #8
add x22, x0, #8
adrp x2, .L.str
add x2, x2, :lo12:.L.str
mov x0, x21
mov x1, x22
bl sysfs_create_link
cbnz w0, .LBB0_2
// %bb.1:
ldr x2, [x20]
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
mov x0, x19
bl sprintf
mov x0, x22
mov x1, x21
mov x2, x19
bl sysfs_create_link
.LBB0_2:
mov sp, x29
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_slave_symlinks, .Lfunc_end0-bond_create_slave_symlinks
.cfi_endproc
// -- End function
.type IFNAMSIZ,@object // @IFNAMSIZ
.bss
.globl IFNAMSIZ
.p2align 2, 0x0
IFNAMSIZ:
.word 0 // 0x0
.size IFNAMSIZ, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "master"
.size .L.str, 7
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "slave_%s"
.size .L.str.1, 9
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_sysfs.c_bond_create_slave_symlinks.c"
.globl bond_create_slave_symlinks // -- Begin function bond_create_slave_symlinks
.p2align 2
.type bond_create_slave_symlinks,@function
bond_create_slave_symlinks: // @bond_create_slave_symlinks
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] // 16-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
.cfi_remember_state
adrp x8, IFNAMSIZ
mov x9, sp
mov x20, x1
ldr w8, [x8, :lo12:IFNAMSIZ]
add w8, w8, #7
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x19, x9, x8
mov sp, x19
add x21, x1, #8
add x22, x0, #8
adrp x2, .L.str
add x2, x2, :lo12:.L.str
mov x0, x21
mov x1, x22
bl sysfs_create_link
cbz w0, .LBB0_2
// %bb.1:
mov sp, x29
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.LBB0_2:
.cfi_restore_state
ldr x2, [x20]
adrp x1, .L.str.1
add x1, x1, :lo12:.L.str.1
mov x0, x19
bl sprintf
mov x0, x22
mov x1, x21
mov x2, x19
bl sysfs_create_link
mov sp, x29
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldp x22, x21, [sp, #16] // 16-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bond_create_slave_symlinks, .Lfunc_end0-bond_create_slave_symlinks
.cfi_endproc
// -- End function
.type IFNAMSIZ,@object // @IFNAMSIZ
.bss
.globl IFNAMSIZ
.p2align 2, 0x0
IFNAMSIZ:
.word 0 // 0x0
.size IFNAMSIZ, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "master"
.size .L.str, 7
.type .L.str.1,@object // @.str.1
.L.str.1:
.asciz "slave_%s"
.size .L.str.1, 9
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_sysfs.c_bond_create_slave_symlinks.c"
.globl bond_create_slave_symlinks # -- Begin function bond_create_slave_symlinks
.p2align 4, 0x90
.type bond_create_slave_symlinks,@function
bond_create_slave_symlinks: # @bond_create_slave_symlinks
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl IFNAMSIZ(%rip), %eax
addl $7, %eax
# kill: def $rax killed $eax
movq %rsp, %rcx
movq %rcx, -32(%rbp)
movq %rax, %rdx
addq $15, %rdx
andq $-16, %rdx
movq %rsp, %rcx
subq %rdx, %rcx
movq %rcx, -56(%rbp) # 8-byte Spill
movq %rcx, %rsp
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
movq -24(%rbp), %rdi
addq $8, %rdi
movq -16(%rbp), %rsi
addq $8, %rsi
leaq .L.str(%rip), %rdx
callq sysfs_create_link@PLT
movl %eax, -44(%rbp)
cmpl $0, -44(%rbp)
je .LBB0_2
# %bb.1:
movl -44(%rbp), %eax
movl %eax, -4(%rbp)
movl $1, -48(%rbp)
jmp .LBB0_3
.LBB0_2:
movq -56(%rbp), %rdi # 8-byte Reload
movq -24(%rbp), %rax
movq (%rax), %rdx
leaq .L.str.1(%rip), %rsi
callq sprintf@PLT
movq -56(%rbp), %rdx # 8-byte Reload
movq -16(%rbp), %rdi
addq $8, %rdi
movq -24(%rbp), %rsi
addq $8, %rsi
callq sysfs_create_link@PLT
movl %eax, -44(%rbp)
movl -44(%rbp), %eax
movl %eax, -4(%rbp)
movl $1, -48(%rbp)
.LBB0_3:
movq -32(%rbp), %rax
movq %rax, %rsp
movl -4(%rbp), %eax
movq %rbp, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_create_slave_symlinks, .Lfunc_end0-bond_create_slave_symlinks
.cfi_endproc
# -- End function
.type IFNAMSIZ,@object # @IFNAMSIZ
.bss
.globl IFNAMSIZ
.p2align 2, 0x0
IFNAMSIZ:
.long 0 # 0x0
.size IFNAMSIZ, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "master"
.size .L.str, 7
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "slave_%s"
.size .L.str.1, 9
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym sysfs_create_link
.addrsig_sym sprintf
.addrsig_sym IFNAMSIZ
| .text
.file "extr_bond_sysfs.c_bond_create_slave_symlinks.c"
.globl bond_create_slave_symlinks # -- Begin function bond_create_slave_symlinks
.p2align 4, 0x90
.type bond_create_slave_symlinks,@function
bond_create_slave_symlinks: # @bond_create_slave_symlinks
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movl IFNAMSIZ(%rip), %eax
addl $7, %eax
movq %rsp, %r15
addq $15, %rax
andq $-16, %rax
subq %rax, %r15
movq %r15, %rsp
leaq 8(%rsi), %r12
addq $8, %rbx
leaq .L.str(%rip), %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq sysfs_create_link@PLT
testl %eax, %eax
jne .LBB0_2
# %bb.1:
movq (%r14), %rdx
leaq .L.str.1(%rip), %rsi
movq %r15, %rdi
callq sprintf@PLT
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq sysfs_create_link@PLT
.LBB0_2:
leaq -32(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_create_slave_symlinks, .Lfunc_end0-bond_create_slave_symlinks
.cfi_endproc
# -- End function
.type IFNAMSIZ,@object # @IFNAMSIZ
.bss
.globl IFNAMSIZ
.p2align 2, 0x0
IFNAMSIZ:
.long 0 # 0x0
.size IFNAMSIZ, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "master"
.size .L.str, 7
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "slave_%s"
.size .L.str.1, 9
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_sysfs.c_bond_create_slave_symlinks.c"
.globl bond_create_slave_symlinks # -- Begin function bond_create_slave_symlinks
.p2align 4, 0x90
.type bond_create_slave_symlinks,@function
bond_create_slave_symlinks: # @bond_create_slave_symlinks
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movl IFNAMSIZ(%rip), %eax
addl $7, %eax
movq %rsp, %r15
addq $15, %rax
andq $-16, %rax
subq %rax, %r15
movq %r15, %rsp
leaq 8(%rsi), %r12
addq $8, %rbx
leaq .L.str(%rip), %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq sysfs_create_link@PLT
testl %eax, %eax
jne .LBB0_2
# %bb.1:
movq (%r14), %rdx
leaq .L.str.1(%rip), %rsi
movq %r15, %rdi
callq sprintf@PLT
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq sysfs_create_link@PLT
.LBB0_2:
leaq -32(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_create_slave_symlinks, .Lfunc_end0-bond_create_slave_symlinks
.cfi_endproc
# -- End function
.type IFNAMSIZ,@object # @IFNAMSIZ
.bss
.globl IFNAMSIZ
.p2align 2, 0x0
IFNAMSIZ:
.long 0 # 0x0
.size IFNAMSIZ, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "master"
.size .L.str, 7
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "slave_%s"
.size .L.str.1, 9
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_bond_sysfs.c_bond_create_slave_symlinks.c"
.globl bond_create_slave_symlinks # -- Begin function bond_create_slave_symlinks
.p2align 4, 0x90
.type bond_create_slave_symlinks,@function
bond_create_slave_symlinks: # @bond_create_slave_symlinks
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movl IFNAMSIZ(%rip), %eax
addl $7, %eax
movq %rsp, %r15
addq $15, %rax
andq $-16, %rax
subq %rax, %r15
movq %r15, %rsp
leaq 8(%rsi), %r12
addq $8, %rbx
leaq .L.str(%rip), %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq sysfs_create_link@PLT
testl %eax, %eax
jne .LBB0_2
# %bb.1:
movq (%r14), %rdx
leaq .L.str.1(%rip), %rsi
movq %r15, %rdi
callq sprintf@PLT
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq sysfs_create_link@PLT
.LBB0_2:
leaq -32(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bond_create_slave_symlinks, .Lfunc_end0-bond_create_slave_symlinks
.cfi_endproc
# -- End function
.type IFNAMSIZ,@object # @IFNAMSIZ
.bss
.globl IFNAMSIZ
.p2align 2, 0x0
IFNAMSIZ:
.long 0 # 0x0
.size IFNAMSIZ, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "master"
.size .L.str, 7
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "slave_%s"
.size .L.str.1, 9
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_bond_3ad.c_ad_marker_info_received.c | .text
.file "extr_bond_3ad.c_ad_marker_info_received.c"
.p2align 2 // -- Begin function ad_marker_info_received
.type ad_marker_info_received,@function
ad_marker_info_received: // @ad_marker_info_received
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x1, [x29, #-8]
add x0, sp, #12
str x0, [sp] // 8-byte Folded Spill
mov w2, #4 // =0x4
bl memcpy
ldr x1, [sp] // 8-byte Folded Reload
adrp x8, AD_MARKER_RESPONSE_SUBTYPE
ldr w8, [x8, :lo12:AD_MARKER_RESPONSE_SUBTYPE]
str w8, [sp, #12]
ldr x0, [sp, #16]
bl ad_marker_send
subs x8, x0, #0
cset w8, lt
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldr x8, [sp, #16]
ldr w1, [x8]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
b .LBB0_2
.LBB0_2:
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_marker_info_received, .Lfunc_end0-ad_marker_info_received
.cfi_endproc
// -- End function
.type AD_MARKER_RESPONSE_SUBTYPE,@object // @AD_MARKER_RESPONSE_SUBTYPE
.bss
.globl AD_MARKER_RESPONSE_SUBTYPE
.p2align 2, 0x0
AD_MARKER_RESPONSE_SUBTYPE:
.word 0 // 0x0
.size AD_MARKER_RESPONSE_SUBTYPE, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Sent Marker Response on port %d\n"
.size .L.str, 33
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_info_received
.addrsig_sym memcpy
.addrsig_sym ad_marker_send
.addrsig_sym pr_debug
.addrsig_sym AD_MARKER_RESPONSE_SUBTYPE
| .text
.file "extr_bond_3ad.c_ad_marker_info_received.c"
.p2align 2 // -- Begin function ad_marker_info_received
.type ad_marker_info_received,@function
ad_marker_info_received: // @ad_marker_info_received
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x1
mov x1, x0
add x0, x29, #28
mov w2, #4 // =0x4
bl memcpy
adrp x8, AD_MARKER_RESPONSE_SUBTYPE
add x1, x29, #28
mov x0, x19
ldr w8, [x8, :lo12:AD_MARKER_RESPONSE_SUBTYPE]
str w8, [x29, #28]
bl ad_marker_send
tbnz x0, #63, .LBB0_2
// %bb.1:
ldr w1, [x19]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
.LBB0_2:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_marker_info_received, .Lfunc_end0-ad_marker_info_received
.cfi_endproc
// -- End function
.type AD_MARKER_RESPONSE_SUBTYPE,@object // @AD_MARKER_RESPONSE_SUBTYPE
.bss
.globl AD_MARKER_RESPONSE_SUBTYPE
.p2align 2, 0x0
AD_MARKER_RESPONSE_SUBTYPE:
.word 0 // 0x0
.size AD_MARKER_RESPONSE_SUBTYPE, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Sent Marker Response on port %d\n"
.size .L.str, 33
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_info_received
| .text
.file "extr_bond_3ad.c_ad_marker_info_received.c"
.p2align 2 // -- Begin function ad_marker_info_received
.type ad_marker_info_received,@function
ad_marker_info_received: // @ad_marker_info_received
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x1
mov x1, x0
add x0, x29, #28
mov w2, #4 // =0x4
bl memcpy
adrp x8, AD_MARKER_RESPONSE_SUBTYPE
add x1, x29, #28
mov x0, x19
ldr w8, [x8, :lo12:AD_MARKER_RESPONSE_SUBTYPE]
str w8, [x29, #28]
bl ad_marker_send
tbnz x0, #63, .LBB0_2
// %bb.1:
ldr w1, [x19]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
.LBB0_2:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_marker_info_received, .Lfunc_end0-ad_marker_info_received
.cfi_endproc
// -- End function
.type AD_MARKER_RESPONSE_SUBTYPE,@object // @AD_MARKER_RESPONSE_SUBTYPE
.bss
.globl AD_MARKER_RESPONSE_SUBTYPE
.p2align 2, 0x0
AD_MARKER_RESPONSE_SUBTYPE:
.word 0 // 0x0
.size AD_MARKER_RESPONSE_SUBTYPE, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Sent Marker Response on port %d\n"
.size .L.str, 33
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_info_received
| .text
.file "extr_bond_3ad.c_ad_marker_info_received.c"
.p2align 2 // -- Begin function ad_marker_info_received
.type ad_marker_info_received,@function
ad_marker_info_received: // @ad_marker_info_received
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x1
mov x1, x0
add x0, x29, #28
mov w2, #4 // =0x4
bl memcpy
adrp x8, AD_MARKER_RESPONSE_SUBTYPE
add x1, x29, #28
mov x0, x19
ldr w8, [x8, :lo12:AD_MARKER_RESPONSE_SUBTYPE]
str w8, [x29, #28]
bl ad_marker_send
tbnz x0, #63, .LBB0_2
// %bb.1:
ldr w1, [x19]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl pr_debug
.LBB0_2:
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ad_marker_info_received, .Lfunc_end0-ad_marker_info_received
.cfi_endproc
// -- End function
.type AD_MARKER_RESPONSE_SUBTYPE,@object // @AD_MARKER_RESPONSE_SUBTYPE
.bss
.globl AD_MARKER_RESPONSE_SUBTYPE
.p2align 2, 0x0
AD_MARKER_RESPONSE_SUBTYPE:
.word 0 // 0x0
.size AD_MARKER_RESPONSE_SUBTYPE, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Sent Marker Response on port %d\n"
.size .L.str, 33
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_info_received
| .text
.file "extr_bond_3ad.c_ad_marker_info_received.c"
.p2align 4, 0x90 # -- Begin function ad_marker_info_received
.type ad_marker_info_received,@function
ad_marker_info_received: # @ad_marker_info_received
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rsi
leaq -20(%rbp), %rdi
movl $4, %edx
callq memcpy@PLT
movl AD_MARKER_RESPONSE_SUBTYPE(%rip), %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rdi
leaq -20(%rbp), %rsi
callq ad_marker_send@PLT
cmpq $0, %rax
jl .LBB0_2
# %bb.1:
movq -16(%rbp), %rax
movl (%rax), %esi
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
.LBB0_2:
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ad_marker_info_received, .Lfunc_end0-ad_marker_info_received
.cfi_endproc
# -- End function
.type AD_MARKER_RESPONSE_SUBTYPE,@object # @AD_MARKER_RESPONSE_SUBTYPE
.bss
.globl AD_MARKER_RESPONSE_SUBTYPE
.p2align 2, 0x0
AD_MARKER_RESPONSE_SUBTYPE:
.long 0 # 0x0
.size AD_MARKER_RESPONSE_SUBTYPE, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Sent Marker Response on port %d\n"
.size .L.str, 33
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_info_received
.addrsig_sym memcpy
.addrsig_sym ad_marker_send
.addrsig_sym pr_debug
.addrsig_sym AD_MARKER_RESPONSE_SUBTYPE
| .text
.file "extr_bond_3ad.c_ad_marker_info_received.c"
.p2align 4, 0x90 # -- Begin function ad_marker_info_received
.type ad_marker_info_received,@function
ad_marker_info_received: # @ad_marker_info_received
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %rsi
leaq 4(%rsp), %r14
movq %r14, %rdi
movl $4, %edx
callq memcpy@PLT
movl AD_MARKER_RESPONSE_SUBTYPE(%rip), %eax
movl %eax, 4(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq ad_marker_send@PLT
testq %rax, %rax
js .LBB0_2
# %bb.1:
movl (%rbx), %esi
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
.LBB0_2:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_marker_info_received, .Lfunc_end0-ad_marker_info_received
.cfi_endproc
# -- End function
.type AD_MARKER_RESPONSE_SUBTYPE,@object # @AD_MARKER_RESPONSE_SUBTYPE
.bss
.globl AD_MARKER_RESPONSE_SUBTYPE
.p2align 2, 0x0
AD_MARKER_RESPONSE_SUBTYPE:
.long 0 # 0x0
.size AD_MARKER_RESPONSE_SUBTYPE, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Sent Marker Response on port %d\n"
.size .L.str, 33
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_info_received
| .text
.file "extr_bond_3ad.c_ad_marker_info_received.c"
.p2align 4, 0x90 # -- Begin function ad_marker_info_received
.type ad_marker_info_received,@function
ad_marker_info_received: # @ad_marker_info_received
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %rsi
leaq 4(%rsp), %r14
movq %r14, %rdi
movl $4, %edx
callq memcpy@PLT
movl AD_MARKER_RESPONSE_SUBTYPE(%rip), %eax
movl %eax, 4(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq ad_marker_send@PLT
testq %rax, %rax
js .LBB0_2
# %bb.1:
movl (%rbx), %esi
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
.LBB0_2:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_marker_info_received, .Lfunc_end0-ad_marker_info_received
.cfi_endproc
# -- End function
.type AD_MARKER_RESPONSE_SUBTYPE,@object # @AD_MARKER_RESPONSE_SUBTYPE
.bss
.globl AD_MARKER_RESPONSE_SUBTYPE
.p2align 2, 0x0
AD_MARKER_RESPONSE_SUBTYPE:
.long 0 # 0x0
.size AD_MARKER_RESPONSE_SUBTYPE, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Sent Marker Response on port %d\n"
.size .L.str, 33
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_info_received
| .text
.file "extr_bond_3ad.c_ad_marker_info_received.c"
.p2align 4, 0x90 # -- Begin function ad_marker_info_received
.type ad_marker_info_received,@function
ad_marker_info_received: # @ad_marker_info_received
.cfi_startproc
# %bb.0:
pushq %r14
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
pushq %rax
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %r14, -16
movq %rsi, %rbx
movq %rdi, %rsi
leaq 4(%rsp), %r14
movq %r14, %rdi
movl $4, %edx
callq memcpy@PLT
movl AD_MARKER_RESPONSE_SUBTYPE(%rip), %eax
movl %eax, 4(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq ad_marker_send@PLT
testq %rax, %rax
js .LBB0_2
# %bb.1:
movl (%rbx), %esi
leaq .L.str(%rip), %rdi
callq pr_debug@PLT
.LBB0_2:
addq $8, %rsp
.cfi_def_cfa_offset 24
popq %rbx
.cfi_def_cfa_offset 16
popq %r14
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size ad_marker_info_received, .Lfunc_end0-ad_marker_info_received
.cfi_endproc
# -- End function
.type AD_MARKER_RESPONSE_SUBTYPE,@object # @AD_MARKER_RESPONSE_SUBTYPE
.bss
.globl AD_MARKER_RESPONSE_SUBTYPE
.p2align 2, 0x0
AD_MARKER_RESPONSE_SUBTYPE:
.long 0 # 0x0
.size AD_MARKER_RESPONSE_SUBTYPE, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "Sent Marker Response on port %d\n"
.size .L.str, 33
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym ad_marker_info_received
|
extr_bond_sysfs.c_bonding_show_ad_select.c | .text
.file "extr_bond_sysfs.c_bonding_show_ad_select.c"
.p2align 2 // -- Begin function bonding_show_ad_select
.type bonding_show_ad_select,@function
bonding_show_ad_select: // @bonding_show_ad_select
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
bl to_bond
str x0, [sp]
ldr x0, [sp, #8]
adrp x8, ad_select_tbl
ldr x8, [x8, :lo12:ad_select_tbl]
ldr x9, [sp]
ldr x9, [x9]
ldr x2, [x8, x9, lsl #3]
ldr x8, [sp]
ldr x3, [x8]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
bl sprintf
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size bonding_show_ad_select, .Lfunc_end0-bonding_show_ad_select
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type ad_select_tbl,@object // @ad_select_tbl
.bss
.globl ad_select_tbl
.p2align 3, 0x0
ad_select_tbl:
.xword 0
.size ad_select_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_select
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym ad_select_tbl
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_select.c"
.p2align 2 // -- Begin function bonding_show_ad_select
.type bonding_show_ad_select,@function
bonding_show_ad_select: // @bonding_show_ad_select
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, ad_select_tbl
ldr x3, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x8, [x8, :lo12:ad_select_tbl]
ldr x2, [x8, x3, lsl #3]
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_ad_select, .Lfunc_end0-bonding_show_ad_select
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type ad_select_tbl,@object // @ad_select_tbl
.bss
.globl ad_select_tbl
.p2align 3, 0x0
ad_select_tbl:
.xword 0
.size ad_select_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_select
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_select.c"
.p2align 2 // -- Begin function bonding_show_ad_select
.type bonding_show_ad_select,@function
bonding_show_ad_select: // @bonding_show_ad_select
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, ad_select_tbl
ldr x3, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x8, [x8, :lo12:ad_select_tbl]
ldr x2, [x8, x3, lsl #3]
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_ad_select, .Lfunc_end0-bonding_show_ad_select
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type ad_select_tbl,@object // @ad_select_tbl
.bss
.globl ad_select_tbl
.p2align 3, 0x0
ad_select_tbl:
.xword 0
.size ad_select_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_select
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_select.c"
.p2align 2 // -- Begin function bonding_show_ad_select
.type bonding_show_ad_select,@function
bonding_show_ad_select: // @bonding_show_ad_select
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-32]! // 16-byte Folded Spill
.cfi_def_cfa_offset 32
str x19, [sp, #16] // 8-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 32
.cfi_offset w19, -16
.cfi_offset w30, -24
.cfi_offset w29, -32
mov x19, x2
bl to_bond
adrp x8, ad_select_tbl
ldr x3, [x0]
adrp x1, .L.str
add x1, x1, :lo12:.L.str
ldr x8, [x8, :lo12:ad_select_tbl]
ldr x2, [x8, x3, lsl #3]
mov x0, x19
.cfi_def_cfa wsp, 32
ldr x19, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #32 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w30
.cfi_restore w29
b sprintf
.Lfunc_end0:
.size bonding_show_ad_select, .Lfunc_end0-bonding_show_ad_select
.cfi_endproc
// -- End function
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type ad_select_tbl,@object // @ad_select_tbl
.bss
.globl ad_select_tbl
.p2align 3, 0x0
ad_select_tbl:
.xword 0
.size ad_select_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_select
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_select.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_select
.type bonding_show_ad_select,@function
bonding_show_ad_select: # @bonding_show_ad_select
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq to_bond@PLT
movq %rax, -32(%rbp)
movq -24(%rbp), %rdi
movq ad_select_tbl(%rip), %rax
movq -32(%rbp), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rdx
movq -32(%rbp), %rax
movq (%rax), %rcx
leaq .L.str(%rip), %rsi
callq sprintf@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size bonding_show_ad_select, .Lfunc_end0-bonding_show_ad_select
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type ad_select_tbl,@object # @ad_select_tbl
.bss
.globl ad_select_tbl
.p2align 3, 0x0
ad_select_tbl:
.quad 0
.size ad_select_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_select
.addrsig_sym to_bond
.addrsig_sym sprintf
.addrsig_sym ad_select_tbl
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_select.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_select
.type bonding_show_ad_select,@function
bonding_show_ad_select: # @bonding_show_ad_select
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq ad_select_tbl(%rip), %rdx
movq (%rax), %rcx
movq (%rdx,%rcx,8), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_ad_select, .Lfunc_end0-bonding_show_ad_select
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type ad_select_tbl,@object # @ad_select_tbl
.bss
.globl ad_select_tbl
.p2align 3, 0x0
ad_select_tbl:
.quad 0
.size ad_select_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_select
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_select.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_select
.type bonding_show_ad_select,@function
bonding_show_ad_select: # @bonding_show_ad_select
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq ad_select_tbl(%rip), %rdx
movq (%rax), %rcx
movq (%rdx,%rcx,8), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_ad_select, .Lfunc_end0-bonding_show_ad_select
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type ad_select_tbl,@object # @ad_select_tbl
.bss
.globl ad_select_tbl
.p2align 3, 0x0
ad_select_tbl:
.quad 0
.size ad_select_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_select
| .text
.file "extr_bond_sysfs.c_bonding_show_ad_select.c"
.p2align 4, 0x90 # -- Begin function bonding_show_ad_select
.type bonding_show_ad_select,@function
bonding_show_ad_select: # @bonding_show_ad_select
.cfi_startproc
# %bb.0:
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset %rbx, -16
movq %rdx, %rbx
callq to_bond@PLT
movq ad_select_tbl(%rip), %rdx
movq (%rax), %rcx
movq (%rdx,%rcx,8), %rdx
leaq .L.str(%rip), %rsi
movq %rbx, %rdi
popq %rbx
.cfi_def_cfa_offset 8
jmp sprintf@PLT # TAILCALL
.Lfunc_end0:
.size bonding_show_ad_select, .Lfunc_end0-bonding_show_ad_select
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "%s %d\n"
.size .L.str, 7
.type ad_select_tbl,@object # @ad_select_tbl
.bss
.globl ad_select_tbl
.p2align 3, 0x0
ad_select_tbl:
.quad 0
.size ad_select_tbl, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym bonding_show_ad_select
|