filename stringclasses 3
values | arm64-apple-macos stringlengths 12 535 | x86_64-pc-linux-gnu stringlengths 19 1.6k |
|---|---|---|
code.c | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tcp_heuristic_do_mptcp ; -- Begin function tcp_heuristic_do_mptcp
.p2align 2
_tcp_heuristic_do_mptcp: ; @tcp_heuristic_do_mptcp
| .text
.file "code.c"
.globl tcp_heuristic_do_mptcp # -- Begin function tcp_heuristic_do_mptcp
.p2align 4, 0x90
.type tcp_heuristic_do_mptcp,@function
tcp_heuristic_do_mptcp: # @tcp_heuristic_do_mptcp
|
code.c | .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
adrp x8, _TRUE@GOTPAGE
ldr x8, [x8, _TRUE@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Sp... | .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)
|
code.c | str xzr, [sp, #32]
adrp x8, _disable_tcp_heuristics@GOTPAGE
ldr x8, [x8, _disable_tcp_heuristics@GOTPAGEOFF]
| movq $0, -32(%rbp)
|
code.c | ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
| cmpq $0, disable_tcp_heuristics(%rip)
|
code.c | tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #8] ; 8-byte Folded Reload
| je .LBB0_2
# %bb.1:
|
code.c | ldr w8, [x8]
| movl TRUE(%rip), %eax
|
code.c | stur w8, [x29, #-4]
b LBB0_13
LBB0_2:
| movl %eax, -4(%rbp)
jmp .LBB0_13
.LBB0_2:
|
code.c | ldur x0, [x29, #-16]
sub x1, x29, #20
str x1, [sp] ; 8-byte Folded Spill
| movq -16(%rbp), %rdi
|
code.c | bl _tcp_cache_key_src_create
ldr x0, [sp] ; 8-byte Folded Reload
mov w1, #0
add x2, sp, #32
| leaq -20(%rbp), %rsi
callq tcp_cache_key_src_create@PLT
|
code.c | bl _tcp_getheuristic_with_lock
| leaq -20(%rbp), %rdi
xorl %esi, %esi
leaq -32(%rbp), %rdx
callq tcp_getheuristic_with_lock@PLT
|
code.c | str x0, [sp, #24]
ldr x8, [sp, #24]
| movq %rax, -40(%rbp)
|
code.c | subs x8, x8, #0
cset w8, ne
| cmpq $0, -40(%rbp)
|
code.c | tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
| jne .LBB0_4
# %bb.3:
|
code.c | ldr w8, [x8]
| movl TRUE(%rip), %eax
|
code.c | stur w8, [x29, #-4]
b LBB0_13
LBB0_4:
| movl %eax, -4(%rbp)
jmp .LBB0_13
.LBB0_4:
|
code.c | ldr x8, [sp, #24]
| movq -40(%rbp), %rax
|
code.c | ldr w0, [x8]
adrp x8, _tcp_now@GOTPAGE
ldr x8, [x8, _tcp_now@GOTPAGEOFF]
| movl (%rax), %edi
|
code.c | ldr w1, [x8]
| movl tcp_now(%rip), %esi
|
code.c | bl _TSTMP_GT
subs x8, x0, #0
cset w8, eq
| callq TSTMP_GT@PLT
cmpq $0, %rax
|
code.c | tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
| je .LBB0_6
# %bb.5:
|
code.c | b LBB0_7
LBB0_6:
| jmp .LBB0_7
.LBB0_6:
|
code.c | ldr x0, [sp, #32]
| movq -32(%rbp), %rdi
|
code.c | bl _tcp_heuristic_unlock
ldr x8, [sp, #8] ; 8-byte Folded Reload
| callq tcp_heuristic_unlock@PLT
|
code.c | ldr w8, [x8]
| movl TRUE(%rip), %eax
|
code.c | stur w8, [x29, #-4]
b LBB0_13
LBB0_7:
| movl %eax, -4(%rbp)
jmp .LBB0_13
.LBB0_7:
|
code.c | ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
| cmpq $0, -32(%rbp)
|
code.c | tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
| je .LBB0_9
# %bb.8:
|
code.c | ldr x0, [sp, #32]
| movq -32(%rbp), %rdi
|
code.c | bl _tcp_heuristic_unlock
b LBB0_9
LBB0_9:
| callq tcp_heuristic_unlock@PLT
.LBB0_9:
|
code.c | ldur x0, [x29, #-16]
| movq -16(%rbp), %rdi
|
code.c | bl _tptomptp
| callq tptomptp@PLT
|
code.c | ldr x8, [x0]
| movq (%rax), %rax
|
code.c | ldr w8, [x8]
adrp x9, _MPTE_FIRSTPARTY@GOTPAGE
ldr x9, [x9, _MPTE_FIRSTPARTY@GOTPAGEOFF]
ldr w9, [x9]
| movl (%rax), %eax
|
code.c | ands w8, w8, w9
cset w8, eq
| andl MPTE_FIRSTPARTY(%rip), %eax
cmpl $0, %eax
|
code.c | tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldr x9, [sp, #16] ; 8-byte Folded Reload
| je .LBB0_11
# %bb.10:
|
code.c | ldr w8, [x9, #4]
add w8, w8, #1
str w8, [x9, #4]
| movl tcpstat+4(%rip), %eax
addl $1, %eax
movl %eax, tcpstat+4(%rip)
|
code.c | b LBB0_12
LBB0_11:
ldr x9, [sp, #16] ; 8-byte Folded Reload
| jmp .LBB0_12
.LBB0_11:
|
code.c | ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_12
LBB0_12:
adrp x8, _FALSE@GOTPAGE
ldr x8, [x8, _FALSE@GOTPAGEOFF]
| movl tcpstat(%rip), %eax
addl $1, %eax
movl %eax, tcpstat(%rip)
.LBB0_12:
|
code.c | ldr w8, [x8]
| movl FALSE(%rip), %eax
|
code.c | stur w8, [x29, #-4]
b LBB0_13
LBB0_13:
| movl %eax, -4(%rbp)
.LBB0_13:
movl -4(%rbp), %eax
|
code.c | ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.comm _disable_tcp_heuristics,8,3 ; @disable_tcp_heuristics
.comm _TRUE,4,2 ; @TRUE
.comm _tcp_now,4,2 ... | addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size tcp_heuristic_do_mptcp, .Lfunc_end0-tcp_heuristic_do_mptcp
.cfi_endproc
# -- End function
.type disable_tcp_heuristics,@object # @disable_tcp_heuristics
.bss
.globl disable_tcp_heuristics
.p2align 3,... |
extr_buffer.c_buf_append.c | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _buf_append ; -- Begin function buf_append
.p2align 2
_buf_append: ; @buf_append
| .text
.file "extr_buffer.c_buf_append.c"
.globl buf_append # -- Begin function buf_append
.p2align 4, 0x90
.type buf_append,@function
buf_append: # @buf_append
|
extr_buffer.c_buf_append.c | .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 w2, [sp, #12]
| .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)
movl %edx, -20(%rbp)
|
extr_buffer.c_buf_append.c | str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
| movl $0, -24(%rbp)
.LBB0_1: # =>This Inner Loop Header: Depth=1
|
extr_buffer.c_buf_append.c | ldr w8, [sp, #8]
ldr w9, [sp, #12]
| movl -24(%rbp), %eax
|
extr_buffer.c_buf_append.c | subs w8, w8, w9
cset w8, ge
| cmpl -20(%rbp), %eax
|
extr_buffer.c_buf_append.c | tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
| jge .LBB0_4
# %bb.2: # in Loop: Header=BB0_1 Depth=1
|
extr_buffer.c_buf_append.c | ldur x0, [x29, #-8]
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
| movq -8(%rbp), %rdi
|
extr_buffer.c_buf_append.c | ldrsb w1, [x8, x9]
| movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
|
extr_buffer.c_buf_append.c | bl _buf_write
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
| movsbl (%rax,%rcx), %esi
callq buf_write@PLT
# %bb.3: # in Loop: Header=BB0_1 Depth=1
|
extr_buffer.c_buf_append.c | ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
| movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
|
extr_buffer.c_buf_append.c | b LBB0_1
LBB0_4:
| jmp .LBB0_1
.LBB0_4:
|
extr_buffer.c_buf_append.c | ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size buf_append, .Lfunc_end0-buf_append
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 18.1.3 (1ubuntu1)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym buf_write
|
extr_array.c_t7.c | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function t7
_t7: ; @t7
| .text
.file "extr_array.c_t7.c"
.p2align 4, 0x90 # -- Begin function t7
.type t7,@function
t7: # @t7
|
extr_array.c_t7.c | .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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29,... | .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
|
extr_array.c_t7.c | str w0, [sp, #36]
| movl $68, -16(%rbp)
|
extr_array.c_t7.c | ldr w1, [sp, #36]
| movl -16(%rbp), %esi
|
extr_array.c_t7.c | bl _expect
| movl $68, %edi
callq expect@PLT
|
extr_array.c_t7.c | ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
... | addq $48, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size t7, .Lfunc_end0-t7
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 18.1.3 (1ubuntu1)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym t7
.addrsig_sym expect
|
README.md exists but content is empty.
- Downloads last month
- 15