Dataset Viewer
path
stringlengths 21
188
| armv8_content
stringlengths 500
163k
| x86_content
stringlengths 725
135k
|
---|---|---|
RetroArch/extr_playlist.c_playlist_get_index_by_path.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.globl _playlist_get_index_by_path
_playlist_get_index_by_path:
LFB0:
stp x29, x30, [sp, -64]! ;,,,
LCFI0:
mov x29, sp ;,
LCFI1:
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:35: if (!playlist || !entry || string_is_empty(search_path))
cmp x0, 0 ; playlist,
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:29: {
stp x19, x20, [sp, 16] ;,,
LCFI2:
mov x19, x2 ; entry, entry
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:31: char real_search_path[PATH_MAX_LENGTH];
adrp x2, _PATH_MAX_LENGTH@PAGE ; tmp122,
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:35: if (!playlist || !entry || string_is_empty(search_path))
ccmp x19, 0, 4, ne ; entry,,,
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:31: char real_search_path[PATH_MAX_LENGTH];
ldr w4, [x2, #_PATH_MAX_LENGTH@PAGEOFF] ;, PATH_MAX_LENGTH
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:29: {
str x21, [sp, 32] ;,
LCFI3:
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:31: char real_search_path[PATH_MAX_LENGTH];
sxtw x3, w4 ; _1, PATH_MAX_LENGTH.0_22
add x3, x3, 15 ; tmp124, _1,
and x3, x3, -16 ; tmp126, tmp124,
sub sp, sp, x3 ;,, tmp126
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:33: real_search_path[0] = '\0';
strb wzr, [sp] ;, (*real_search_path.1_24)[0]
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:35: if (!playlist || !entry || string_is_empty(search_path))
bne L13 ;,
L1:
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:51: }
mov sp, x29 ;,
ldr x21, [sp, 32] ;,
ldp x19, x20, [sp, 16] ;,,
ldp x29, x30, [sp], 64 ;,,,
LCFI4:
ret
.p2align 2,,3
L13:
LCFI5:
mov x20, x0 ; playlist, playlist
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:35: if (!playlist || !entry || string_is_empty(search_path))
mov x0, x1 ;, search_path
str w4, [x29, 48] ; PATH_MAX_LENGTH.0_22, %sfp
mov x21, sp ; real_search_path.1,
str x1, [x29, 56] ; search_path, %sfp
bl _string_is_empty ;
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:35: if (!playlist || !entry || string_is_empty(search_path))
cbnz x0, L1 ; _5,
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:39: strlcpy(real_search_path, search_path, sizeof(real_search_path));
ldr w2, [x29, 48] ;, %sfp
mov x0, sp ;,
ldr x1, [x29, 56] ; search_path, %sfp
bl _strlcpy ;
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:40: path_resolve_realpath(real_search_path, sizeof(real_search_path), true);
ldr w1, [x29, 48] ;, %sfp
mov w2, 1 ;,
mov x0, sp ;,
bl _path_resolve_realpath ;
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:42: for (i = 0; i < playlist->size; i++)
ldr x0, [x20] ; playlist_26(D)->size, playlist_26(D)->size
cbz x0, L1 ; playlist_26(D)->size,
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:42: for (i = 0; i < playlist->size; i++)
mov x2, 0 ; i,
L6:
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:44: if (!playlist_path_equal(real_search_path, playlist->entries[i].path))
ldr x0, [x20, 8] ; playlist_26(D)->entries, playlist_26(D)->entries
lsl x3, x2, 2 ; _14, i,
ldr w1, [x0, x3] ;, _8->path
mov x0, x21 ;, real_search_path.1
stp x2, x3, [x29, 48] ; i, _14,
bl _playlist_path_equal ;
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:44: if (!playlist_path_equal(real_search_path, playlist->entries[i].path))
ldp x2, x3, [x29, 48] ; i, _14,
cbz w0, L14 ; _10,
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:47: *entry = &playlist->entries[i];
ldr x0, [x20, 8] ; playlist_26(D)->entries, playlist_26(D)->entries
add x0, x0, x3 ; _12, playlist_26(D)->entries, _14
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:47: *entry = &playlist->entries[i];
str x0, [x19] ; _12, *entry_27(D)
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:51: }
mov sp, x29 ;,
ldr x21, [sp, 32] ;,
ldp x19, x20, [sp, 16] ;,,
ldp x29, x30, [sp], 64 ;,,,
LCFI6:
ret
.p2align 2,,3
L14:
LCFI7:
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:42: for (i = 0; i < playlist->size; i++)
ldr x0, [x20] ; playlist_26(D)->size, playlist_26(D)->size
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:42: for (i = 0; i < playlist->size; i++)
add x2, x2, 1 ; i, i,
; Anghabench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:42: for (i = 0; i < playlist->size; i++)
cmp x0, x2 ; playlist_26(D)->size, i
bhi L6 ;,
b L1 ;
LFE0:
.globl _PATH_MAX_LENGTH
.zerofill __DATA,__common,_PATH_MAX_LENGTH,4,2
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x40
.byte 0x9d
.uleb128 0x8
.byte 0x9e
.uleb128 0x7
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0x93
.uleb128 0x6
.byte 0x94
.uleb128 0x5
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0x95
.uleb128 0x4
.byte 0x4
.set L$set$7,LCFI4-LCFI3
.long L$set$7
.byte 0xa
.byte 0xde
.byte 0xdd
.byte 0xd5
.byte 0xd3
.byte 0xd4
.byte 0xc
.uleb128 0x1f
.uleb128 0
.byte 0x4
.set L$set$8,LCFI5-LCFI4
.long L$set$8
.byte 0xb
.byte 0x4
.set L$set$9,LCFI6-LCFI5
.long L$set$9
.byte 0xa
.byte 0xde
.byte 0xdd
.byte 0xd5
.byte 0xd3
.byte 0xd4
.byte 0xc
.uleb128 0x1f
.uleb128 0
.byte 0x4
.set L$set$10,LCFI7-LCFI6
.long L$set$10
.byte 0xb
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_playlist.c_playlist_get_index_by_path.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.globl playlist_get_index_by_path
.type playlist_get_index_by_path, @function
playlist_get_index_by_path:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp #
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp #,
.cfi_def_cfa_register 6
pushq %r15 #
pushq %r14 #
pushq %r13 #
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
movq %rsi, %r13 # tmp135, search_path
pushq %r12 #
.cfi_offset 12, -48
movq %rdx, %r12 # tmp136, entry
pushq %rbx #
.cfi_offset 3, -56
movq %rdi, %rbx # tmp134, playlist
subq $40, %rsp #,
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:29: {
movq %fs:40, %rax # MEM[(<address-space-1> long unsigned int *)40B], tmp139
movq %rax, -56(%rbp) # tmp139, D.2011
xorl %eax, %eax # tmp139
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:31: char real_search_path[PATH_MAX_LENGTH];
movslq PATH_MAX_LENGTH(%rip), %rax # PATH_MAX_LENGTH,
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:31: char real_search_path[PATH_MAX_LENGTH];
movq %rsp, %rsi #, tmp114
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:29: {
movq %rsp, %r15 #, saved_stack.2_22
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:31: char real_search_path[PATH_MAX_LENGTH];
movq %rax, %r14 #,
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:31: char real_search_path[PATH_MAX_LENGTH];
addq $15, %rax #, tmp107
movq %rax, %rdx # tmp107, tmp111
andq $-4096, %rax #, tmp113
subq %rax, %rsi # tmp113, tmp114
andq $-16, %rdx #, tmp111
cmpq %rsi, %rsp # tmp114,
je .L3 #,
.L22:
subq $4096, %rsp #,
orq $0, 4088(%rsp) #,
cmpq %rsi, %rsp # tmp114,
jne .L22 #,
.L3:
andl $4095, %edx #, tmp115
subq %rdx, %rsp # tmp115,
testq %rdx, %rdx # tmp115
jne .L23 #,
.L4:
movq %rsp, -72(%rbp) #, %sfp
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:33: real_search_path[0] = '\0';
movb $0, (%rsp) #, (*real_search_path.1_25)[0]
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:35: if (!playlist || !entry || string_is_empty(search_path))
testq %rbx, %rbx # playlist
je .L10 #,
testq %r12, %r12 # entry
je .L10 #,
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:35: if (!playlist || !entry || string_is_empty(search_path))
movq %r13, %rdi # search_path,
call string_is_empty@PLT #
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:35: if (!playlist || !entry || string_is_empty(search_path))
testq %rax, %rax # tmp137
jne .L10 #,
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:39: strlcpy(real_search_path, search_path, sizeof(real_search_path));
movl %r14d, %edx # PATH_MAX_LENGTH.0_23,
movq %r13, %rsi # search_path,
movq %rsp, %rdi #,
call strlcpy@PLT #
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:40: path_resolve_realpath(real_search_path, sizeof(real_search_path), true);
movl %r14d, %esi # PATH_MAX_LENGTH.0_23,
movl $1, %edx #,
movq %rsp, %rdi #,
call path_resolve_realpath@PLT #
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:42: for (i = 0; i < playlist->size; i++)
xorl %r14d, %r14d # i
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:42: for (i = 0; i < playlist->size; i++)
cmpq $0, (%rbx) #, playlist_27(D)->size
je .L10 #,
.L9:
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:44: if (!playlist_path_equal(real_search_path, playlist->entries[i].path))
movq 8(%rbx), %rax # playlist_27(D)->entries, playlist_27(D)->entries
movq -72(%rbp), %rdi # %sfp,
leaq 0(,%r14,4), %r13 #, _38
movl (%rax,%r14,4), %esi # _9->path, _9->path
call playlist_path_equal@PLT #
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:44: if (!playlist_path_equal(real_search_path, playlist->entries[i].path))
testl %eax, %eax # tmp138
je .L24 #,
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:47: *entry = &playlist->entries[i];
addq 8(%rbx), %r13 # playlist_27(D)->entries, tmp129
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:47: *entry = &playlist->entries[i];
movq %r13, (%r12) # tmp129, *entry_28(D)
.L10:
movq %r15, %rsp # saved_stack.2_22,
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:51: }
movq -56(%rbp), %rax # D.2011, tmp140
subq %fs:40, %rax # MEM[(<address-space-1> long unsigned int *)40B], tmp140
jne .L25 #,
leaq -40(%rbp), %rsp #,
popq %rbx #
popq %r12 #
popq %r13 #
popq %r14 #
popq %r15 #
popq %rbp #
.cfi_remember_state
.cfi_def_cfa 7, 8
ret
.p2align 4,,10
.p2align 3
.L23:
.cfi_restore_state
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:31: char real_search_path[PATH_MAX_LENGTH];
orq $0, -8(%rsp,%rdx) #,
jmp .L4 #
.p2align 4,,10
.p2align 3
.L24:
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:42: for (i = 0; i < playlist->size; i++)
addq $1, %r14 #, i
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:42: for (i = 0; i < playlist->size; i++)
cmpq %r14, (%rbx) # i, playlist_27(D)->size
ja .L9 #,
jmp .L10 #
.L25:
# AnghaBench/RetroArch/extr_playlist.c_playlist_get_index_by_path.c:51: }
call __stack_chk_fail@PLT #
.cfi_endproc
.LFE0:
.size playlist_get_index_by_path, .-playlist_get_index_by_path
.globl PATH_MAX_LENGTH
.bss
.align 4
.type PATH_MAX_LENGTH, @object
.size PATH_MAX_LENGTH, 4
PATH_MAX_LENGTH:
.zero 4
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
esp-idf/components/bt/common/btc/core/extr_btc_manage.c_btc_profile_cb_get.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.globl _btc_profile_cb_get
_btc_profile_cb_get:
LFB0:
; Anghabench/esp-idf/components/bt/common/btc/core/extr_btc_manage.c_btc_profile_cb_get.c:21: if (profile_id < 0 || profile_id >= BTC_PID_NUM) {
adrp x1, _BTC_PID_NUM@PAGE ; tmp108,
; Anghabench/esp-idf/components/bt/common/btc/core/extr_btc_manage.c_btc_profile_cb_get.c:21: if (profile_id < 0 || profile_id >= BTC_PID_NUM) {
ldr x1, [x1, #_BTC_PID_NUM@PAGEOFF] ; BTC_PID_NUM, BTC_PID_NUM
cmp x1, x0 ; BTC_PID_NUM, profile_id
bls L3 ;,
; Anghabench/esp-idf/components/bt/common/btc/core/extr_btc_manage.c_btc_profile_cb_get.c:25: return btc_profile_cb_tab[profile_id];
adrp x1, _btc_profile_cb_tab@PAGE ; tmp112,
ldr x1, [x1, #_btc_profile_cb_tab@PAGEOFF] ; btc_profile_cb_tab, btc_profile_cb_tab
ldr x0, [x1, x0, lsl 3] ; <retval>, *_4
; Anghabench/esp-idf/components/bt/common/btc/core/extr_btc_manage.c_btc_profile_cb_get.c:26: }
ret
.p2align 2,,3
L3:
; Anghabench/esp-idf/components/bt/common/btc/core/extr_btc_manage.c_btc_profile_cb_get.c:22: return NULL;
mov x0, 0 ; <retval>,
; Anghabench/esp-idf/components/bt/common/btc/core/extr_btc_manage.c_btc_profile_cb_get.c:26: }
ret
LFE0:
.globl _btc_profile_cb_tab
.zerofill __DATA,__common,_btc_profile_cb_tab,8,3
.globl _BTC_PID_NUM
.zerofill __DATA,__common,_BTC_PID_NUM,8,3
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_btc_manage.c_btc_profile_cb_get.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.globl btc_profile_cb_get
.type btc_profile_cb_get, @function
btc_profile_cb_get:
.LFB0:
.cfi_startproc
endbr64
# AnghaBench/esp-idf/components/bt/common/btc/core/extr_btc_manage.c_btc_profile_cb_get.c:21: if (profile_id < 0 || profile_id >= BTC_PID_NUM) {
cmpq %rdi, BTC_PID_NUM(%rip) # profile_id, BTC_PID_NUM
jbe .L3 #,
# AnghaBench/esp-idf/components/bt/common/btc/core/extr_btc_manage.c_btc_profile_cb_get.c:25: return btc_profile_cb_tab[profile_id];
movq btc_profile_cb_tab(%rip), %rax # btc_profile_cb_tab, btc_profile_cb_tab
movq (%rax,%rdi,8), %rax # *_4, <retval>
ret
.p2align 4,,10
.p2align 3
.L3:
# AnghaBench/esp-idf/components/bt/common/btc/core/extr_btc_manage.c_btc_profile_cb_get.c:22: return NULL;
xorl %eax, %eax # <retval>
# AnghaBench/esp-idf/components/bt/common/btc/core/extr_btc_manage.c_btc_profile_cb_get.c:26: }
ret
.cfi_endproc
.LFE0:
.size btc_profile_cb_get, .-btc_profile_cb_get
.globl btc_profile_cb_tab
.bss
.align 8
.type btc_profile_cb_tab, @object
.size btc_profile_cb_tab, 8
btc_profile_cb_tab:
.zero 8
.globl BTC_PID_NUM
.align 8
.type BTC_PID_NUM, @object
.size BTC_PID_NUM, 8
BTC_PID_NUM:
.zero 8
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
libuv/test/extr_test-pipe-connect-error.c_connect_cb.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.no_dead_strip _connect_cb
_connect_cb:
LFB0:
stp x29, x30, [sp, -32]! ;,,,
LCFI0:
mov x29, sp ;,
LCFI1:
str x19, [sp, 16] ;,
LCFI2:
; Anghabench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:25: __attribute__((used)) static void connect_cb(uv_connect_t* connect_req, int status) {
mov x19, x0 ; connect_req, connect_req
; Anghabench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:26: ASSERT(status == UV_ENOENT);
adrp x0, _UV_ENOENT@PAGE ; tmp112,
ldr w0, [x0, #_UV_ENOENT@PAGEOFF] ;, UV_ENOENT
cmp w0, w1 ; UV_ENOENT, status
cset w0, eq ;,
bl _ASSERT ;
; Anghabench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:27: uv_close((uv_handle_t*)connect_req->handle, close_cb);
adrp x0, _close_cb@PAGE ; tmp117,
ldr w1, [x0, #_close_cb@PAGEOFF] ;, close_cb
ldr x0, [x19] ;, connect_req_12(D)->handle
bl _uv_close ;
; Anghabench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:28: connect_cb_called++;
adrp x1, _connect_cb_called@PAGE ; tmp121,
; Anghabench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:29: }
ldr x19, [sp, 16] ;,
ldp x29, x30, [sp], 32 ;,,,
LCFI3:
; Anghabench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:28: connect_cb_called++;
ldr w0, [x1, #_connect_cb_called@PAGEOFF] ;, connect_cb_called
add w0, w0, 1 ; _8, connect_cb_called,
str w0, [x1, #_connect_cb_called@PAGEOFF] ; _8, connect_cb_called
; Anghabench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:29: }
ret
LFE0:
.globl _connect_cb_called
.zerofill __DATA,__common,_connect_cb_called,4,2
.globl _close_cb
.zerofill __DATA,__common,_close_cb,4,2
.globl _UV_ENOENT
.zerofill __DATA,__common,_UV_ENOENT,4,2
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x20
.byte 0x9d
.uleb128 0x4
.byte 0x9e
.uleb128 0x3
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0x93
.uleb128 0x2
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0xde
.byte 0xdd
.byte 0xd3
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_test-pipe-connect-error.c_connect_cb.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.type connect_cb, @function
connect_cb:
.LFB0:
.cfi_startproc
endbr64
pushq %rbx #
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
# AnghaBench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:25: __attribute__((used)) static void connect_cb(uv_connect_t* connect_req, int status) {
movq %rdi, %rbx # tmp95, connect_req
# AnghaBench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:26: ASSERT(status == UV_ENOENT);
xorl %edi, %edi # tmp92
cmpl %esi, UV_ENOENT(%rip) # tmp96, UV_ENOENT
sete %dil #, tmp92
call ASSERT@PLT #
# AnghaBench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:27: uv_close((uv_handle_t*)connect_req->handle, close_cb);
movq (%rbx), %rdi # connect_req_12(D)->handle,
movl close_cb(%rip), %esi # close_cb,
call uv_close@PLT #
# AnghaBench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:28: connect_cb_called++;
addl $1, connect_cb_called(%rip) #, connect_cb_called
# AnghaBench/libuv/test/extr_test-pipe-connect-error.c_connect_cb.c:29: }
popq %rbx #
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size connect_cb, .-connect_cb
.globl connect_cb_called
.bss
.align 4
.type connect_cb_called, @object
.size connect_cb_called, 4
connect_cb_called:
.zero 4
.globl close_cb
.align 4
.type close_cb, @object
.size close_cb, 4
close_cb:
.zero 4
.globl UV_ENOENT
.align 4
.type UV_ENOENT, @object
.size UV_ENOENT, 4
UV_ENOENT:
.zero 4
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.cstring
.align 3
lC0:
.ascii "sending command %04x\12\0"
.align 3
lC1:
.ascii "sent command %04x\12\0"
.align 3
lC2:
.ascii "command %04x failed\12\0"
.text
.align 2
.p2align 5,,15
.no_dead_strip _rio_karma_send_command
_rio_karma_send_command:
LFB0:
stp x29, x30, [sp, -96]! ;,,,
LCFI0:
mov x29, sp ;,
LCFI1:
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:39: usb_stor_dbg(us, "sending command %04x\n", cmd);
mov w2, w0 ;, cmd
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:33: {
stp x19, x20, [sp, 16] ;,,
LCFI2:
mov x19, x1 ; us, us
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:39: usb_stor_dbg(us, "sending command %04x\n", cmd);
adrp x1, lC0@PAGE ; tmp138,
add x1, x1, lC0@PAGEOFF; ;, tmp138,
adrp x20, _USB_STOR_XFER_GOOD@PAGE ; tmp196,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:33: {
stp x25, x26, [sp, 64] ;,,
LCFI3:
mov w25, w0 ; cmd, cmd
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:39: usb_stor_dbg(us, "sending command %04x\n", cmd);
mov x0, x19 ;, us
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:33: {
stp x21, x22, [sp, 32] ;,,
LCFI4:
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:40: memset(us->iobuf, 0, RIO_SEND_LEN);
adrp x22, _RIO_SEND_LEN@PAGE ; tmp197,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:33: {
stp x23, x24, [sp, 48] ;,,
LCFI5:
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:43: us->iobuf[6] = seq;
adrp x24, _seq.0@PAGE ; tmp195,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:52: result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe,
adrp x23, _RIO_RECV_LEN@PAGE ; tmp198,
add x23, x23, _RIO_RECV_LEN@PAGEOFF; ; tmp199, tmp198,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:37: struct karma_data *data = (struct karma_data *) us->extra;
ldr x21, [x19, 16] ; data, us_35(D)->extra
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:33: {
str x27, [sp, 80] ;,
LCFI6:
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:45: timeout = jiffies + msecs_to_jiffies(6000);
adrp x27, _jiffies@PAGE ; tmp194,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:39: usb_stor_dbg(us, "sending command %04x\n", cmd);
bl _usb_stor_dbg ;
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:40: memset(us->iobuf, 0, RIO_SEND_LEN);
ldr x0, [x19] ;, us_35(D)->iobuf
mov w1, 0 ;,
ldr w2, [x22, #_RIO_SEND_LEN@PAGEOFF] ;, RIO_SEND_LEN
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:47: result = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe,
add x22, x22, _RIO_SEND_LEN@PAGEOFF; ; tmp157, tmp197,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:40: memset(us->iobuf, 0, RIO_SEND_LEN);
bl _memset ;
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:41: memcpy(us->iobuf, RIO_PREFIX, RIO_PREFIX_LEN);
adrp x0, _RIO_PREFIX_LEN@PAGE ; tmp144,
ldr w2, [x0, #_RIO_PREFIX_LEN@PAGEOFF] ;, RIO_PREFIX_LEN
adrp x0, _RIO_PREFIX@PAGE ; tmp147,
ldr w1, [x0, #_RIO_PREFIX@PAGEOFF] ;, RIO_PREFIX
ldr x0, [x19] ;, us_35(D)->iobuf
bl _memcpy ;
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:42: us->iobuf[5] = cmd;
ldr x0, [x19] ; _7, us_35(D)->iobuf
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:43: us->iobuf[6] = seq;
ldrb w1, [x24, #_seq.0@PAGEOFF] ;, seq
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:42: us->iobuf[5] = cmd;
strb w25, [x0, 5] ; cmd, MEM[(char *)_7 + 5B]
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:43: us->iobuf[6] = seq;
ldr x0, [x19] ; _9, us_35(D)->iobuf
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:43: us->iobuf[6] = seq;
strb w1, [x0, 6] ; seq, MEM[(char *)_9 + 6B]
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:45: timeout = jiffies + msecs_to_jiffies(6000);
mov w0, 6000 ;,
bl _msecs_to_jiffies ;
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:45: timeout = jiffies + msecs_to_jiffies(6000);
ldr x1, [x27, #_jiffies@PAGEOFF] ; jiffies, jiffies
add x26, x0, x1 ; timeout, _11, jiffies
b L4 ;
.p2align 2,,3
L8:
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:52: result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe,
ldr x2, [x21] ;, data_36->recv
mov x4, 0 ;,
mov x0, x19 ;, us
ldr w1, [x19, 8] ;, us_35(D)->recv_bulk_pipe
ldr w3, [x23] ;, RIO_RECV_LEN
bl _usb_stor_bulk_transfer_buf ;
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:54: if (result != USB_STOR_XFER_GOOD)
ldr w1, [x20, #_USB_STOR_XFER_GOOD@PAGEOFF] ;, USB_STOR_XFER_GOOD
cmp w1, w0 ; USB_STOR_XFER_GOOD, result
bne L2 ;,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:57: if (data->recv[5] == seq)
ldr x1, [x21] ; data_36->recv, data_36->recv
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:57: if (data->recv[5] == seq)
ldrb w0, [x24, #_seq.0@PAGEOFF] ; seq.10_23, seq
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:57: if (data->recv[5] == seq)
ldrb w1, [x1, 5] ; MEM[(unsigned char *)_21 + 5B], MEM[(unsigned char *)_21 + 5B]
cmp w1, w0 ; MEM[(unsigned char *)_21 + 5B], seq.10_23
beq L3 ;,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:60: if (time_after(jiffies, timeout))
ldr x0, [x27, #_jiffies@PAGEOFF] ;, jiffies
mov x1, x26 ;, timeout
bl _time_after ;
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:60: if (time_after(jiffies, timeout))
cbnz x0, L2 ; _25,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:63: us->iobuf[4] = 0x80;
ldr x0, [x19] ; _26, us_35(D)->iobuf
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:63: us->iobuf[4] = 0x80;
mov w1, -128 ; tmp180,
strb w1, [x0, 4] ; tmp180, MEM[(char *)_26 + 4B]
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:64: us->iobuf[5] = 0;
ldr x0, [x19] ; _27, us_35(D)->iobuf
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:64: us->iobuf[5] = 0;
strb wzr, [x0, 5] ;, MEM[(char *)_27 + 5B]
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:65: msleep(50);
mov w0, 50 ;,
bl _msleep ;
L4:
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:47: result = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe,
ldr x2, [x19] ;, us_35(D)->iobuf
mov x4, 0 ;,
mov x0, x19 ;, us
ldr w1, [x19, 12] ;, us_35(D)->send_bulk_pipe
ldr w3, [x22] ;, RIO_SEND_LEN
bl _usb_stor_bulk_transfer_buf ;
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:49: if (result != USB_STOR_XFER_GOOD)
ldr w1, [x20, #_USB_STOR_XFER_GOOD@PAGEOFF] ;, USB_STOR_XFER_GOOD
cmp w1, w0 ; USB_STOR_XFER_GOOD, result
beq L8 ;,
L2:
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:75: usb_stor_dbg(us, "command %04x failed\n", cmd);
adrp x1, lC2@PAGE ; tmp190,
mov w2, w25 ;, cmd
add x1, x1, lC2@PAGEOFF; ;, tmp190,
mov x0, x19 ;, us
bl _usb_stor_dbg ;
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:76: return USB_STOR_TRANSPORT_FAILED;
adrp x0, _USB_STOR_TRANSPORT_FAILED@PAGE ; tmp192,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:77: }
ldr x27, [sp, 80] ;,
ldp x19, x20, [sp, 16] ;,,
ldp x21, x22, [sp, 32] ;,,
ldp x23, x24, [sp, 48] ;,,
ldp x25, x26, [sp, 64] ;,,
ldp x29, x30, [sp], 96 ;,,,
LCFI7:
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:76: return USB_STOR_TRANSPORT_FAILED;
ldr w0, [x0, #_USB_STOR_TRANSPORT_FAILED@PAGEOFF] ;, USB_STOR_TRANSPORT_FAILED
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:77: }
ret
.p2align 2,,3
L3:
LCFI8:
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:68: seq++;
add w1, w1, 1 ; tmp183, MEM[(unsigned char *)_21 + 5B],
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:72: usb_stor_dbg(us, "sent command %04x\n", cmd);
mov w2, w25 ;, cmd
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:69: if (seq == 0)
tst w1, 255 ; tmp183
csinc w1, w1, wzr, ne ; _54, tmp183,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:68: seq++;
strb w1, [x24, #_seq.0@PAGEOFF] ; _54, seq
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:72: usb_stor_dbg(us, "sent command %04x\n", cmd);
adrp x1, lC1@PAGE ; tmp188,
mov x0, x19 ;, us
add x1, x1, lC1@PAGEOFF; ;, tmp188,
bl _usb_stor_dbg ;
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:77: }
ldr x27, [sp, 80] ;,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:73: return 0;
mov w0, 0 ; <retval>,
; Anghabench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:77: }
ldp x19, x20, [sp, 16] ;,,
ldp x21, x22, [sp, 32] ;,,
ldp x23, x24, [sp, 48] ;,,
ldp x25, x26, [sp, 64] ;,,
ldp x29, x30, [sp], 96 ;,,,
LCFI9:
ret
LFE0:
.data
_seq.0:
.byte 1
.globl _jiffies
.zerofill __DATA,__common,_jiffies,8,3
.globl _USB_STOR_XFER_GOOD
.zerofill __DATA,__common,_USB_STOR_XFER_GOOD,4,2
.globl _USB_STOR_TRANSPORT_FAILED
.zerofill __DATA,__common,_USB_STOR_TRANSPORT_FAILED,4,2
.globl _RIO_SEND_LEN
.zerofill __DATA,__common,_RIO_SEND_LEN,4,2
.globl _RIO_RECV_LEN
.zerofill __DATA,__common,_RIO_RECV_LEN,4,2
.globl _RIO_PREFIX_LEN
.zerofill __DATA,__common,_RIO_PREFIX_LEN,4,2
.globl _RIO_PREFIX
.zerofill __DATA,__common,_RIO_PREFIX,4,2
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x60
.byte 0x9d
.uleb128 0xc
.byte 0x9e
.uleb128 0xb
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0x93
.uleb128 0xa
.byte 0x94
.uleb128 0x9
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0x99
.uleb128 0x4
.byte 0x9a
.uleb128 0x3
.byte 0x4
.set L$set$7,LCFI4-LCFI3
.long L$set$7
.byte 0x95
.uleb128 0x8
.byte 0x96
.uleb128 0x7
.byte 0x4
.set L$set$8,LCFI5-LCFI4
.long L$set$8
.byte 0x97
.uleb128 0x6
.byte 0x98
.uleb128 0x5
.byte 0x4
.set L$set$9,LCFI6-LCFI5
.long L$set$9
.byte 0x9b
.uleb128 0x2
.byte 0x4
.set L$set$10,LCFI7-LCFI6
.long L$set$10
.byte 0xa
.byte 0xde
.byte 0xdd
.byte 0xdb
.byte 0xd9
.byte 0xda
.byte 0xd7
.byte 0xd8
.byte 0xd5
.byte 0xd6
.byte 0xd3
.byte 0xd4
.byte 0xc
.uleb128 0x1f
.uleb128 0
.byte 0x4
.set L$set$11,LCFI8-LCFI7
.long L$set$11
.byte 0xb
.byte 0x4
.set L$set$12,LCFI9-LCFI8
.long L$set$12
.byte 0xde
.byte 0xdd
.byte 0xdb
.byte 0xd9
.byte 0xda
.byte 0xd7
.byte 0xd8
.byte 0xd5
.byte 0xd6
.byte 0xd3
.byte 0xd4
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_karma.c_rio_karma_send_command.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "sending command %04x\n"
.LC1:
.string "sent command %04x\n"
.LC2:
.string "command %04x failed\n"
.text
.p2align 4
.type rio_karma_send_command, @function
rio_karma_send_command:
.LFB0:
.cfi_startproc
endbr64
pushq %r13 #
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
movl %edi, %r13d # tmp136, cmd
pushq %r12 #
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:39: usb_stor_dbg(us, "sending command %04x\n", cmd);
movsbl %dil, %r12d # cmd, _2
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:33: {
pushq %rbp #
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
movq %rsi, %rbp # tmp137, us
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:39: usb_stor_dbg(us, "sending command %04x\n", cmd);
movl %r12d, %edx # _2,
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:33: {
pushq %rbx #
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:39: usb_stor_dbg(us, "sending command %04x\n", cmd);
movq %rbp, %rdi # us,
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:33: {
subq $8, %rsp #,
.cfi_def_cfa_offset 48
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:37: struct karma_data *data = (struct karma_data *) us->extra;
movq 16(%rsi), %rbx # us_37(D)->extra, data
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:39: usb_stor_dbg(us, "sending command %04x\n", cmd);
leaq .LC0(%rip), %rsi #, tmp119
call usb_stor_dbg@PLT #
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:40: memset(us->iobuf, 0, RIO_SEND_LEN);
movl RIO_SEND_LEN(%rip), %edx # RIO_SEND_LEN,
movq 0(%rbp), %rdi # us_37(D)->iobuf,
xorl %esi, %esi #
call memset@PLT #
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:41: memcpy(us->iobuf, RIO_PREFIX, RIO_PREFIX_LEN);
movl RIO_PREFIX_LEN(%rip), %edx # RIO_PREFIX_LEN,
movl RIO_PREFIX(%rip), %esi # RIO_PREFIX,
movq 0(%rbp), %rdi # us_37(D)->iobuf,
call memcpy@PLT #
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:42: us->iobuf[5] = cmd;
movq 0(%rbp), %rax # us_37(D)->iobuf, _8
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:45: timeout = jiffies + msecs_to_jiffies(6000);
movl $6000, %edi #,
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:43: us->iobuf[6] = seq;
movzbl seq.0(%rip), %edx # seq, seq
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:42: us->iobuf[5] = cmd;
movb %r13b, 5(%rax) # cmd, MEM[(char *)_8 + 5B]
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:43: us->iobuf[6] = seq;
movq 0(%rbp), %rax # us_37(D)->iobuf, _10
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:43: us->iobuf[6] = seq;
movb %dl, 6(%rax) # seq, MEM[(char *)_10 + 6B]
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:45: timeout = jiffies + msecs_to_jiffies(6000);
call msecs_to_jiffies@PLT #
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:45: timeout = jiffies + msecs_to_jiffies(6000);
addq jiffies(%rip), %rax # jiffies, tmp138
movq %rax, %r13 # tmp138, timeout
jmp .L4 #
.p2align 4,,10
.p2align 3
.L10:
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:52: result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe,
movl 8(%rbp), %esi # us_37(D)->recv_bulk_pipe, us_37(D)->recv_bulk_pipe
movl RIO_RECV_LEN(%rip), %ecx # RIO_RECV_LEN,
xorl %r8d, %r8d #
movq %rbp, %rdi # us,
movq (%rbx), %rdx # data_38->recv,
call usb_stor_bulk_transfer_buf@PLT #
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:54: if (result != USB_STOR_XFER_GOOD)
cmpl %eax, USB_STOR_XFER_GOOD(%rip) # tmp140, USB_STOR_XFER_GOOD
jne .L2 #,
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:57: if (data->recv[5] == seq)
movq (%rbx), %rdx # data_38->recv, data_38->recv
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:57: if (data->recv[5] == seq)
movzbl seq.0(%rip), %eax # seq, seq.10_24
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:57: if (data->recv[5] == seq)
cmpb %al, 5(%rdx) # seq.10_24, MEM[(unsigned char *)_22 + 5B]
je .L3 #,
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:60: if (time_after(jiffies, timeout))
movq jiffies(%rip), %rdi # jiffies,
movq %r13, %rsi # timeout,
call time_after@PLT #
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:60: if (time_after(jiffies, timeout))
testq %rax, %rax # tmp141
jne .L2 #,
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:63: us->iobuf[4] = 0x80;
movq 0(%rbp), %rax # us_37(D)->iobuf, _27
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:65: msleep(50);
movl $50, %edi #,
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:63: us->iobuf[4] = 0x80;
movb $-128, 4(%rax) #, MEM[(char *)_27 + 4B]
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:64: us->iobuf[5] = 0;
movq 0(%rbp), %rax # us_37(D)->iobuf, _28
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:64: us->iobuf[5] = 0;
movb $0, 5(%rax) #, MEM[(char *)_28 + 5B]
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:65: msleep(50);
call msleep@PLT #
.L4:
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:47: result = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe,
movl 12(%rbp), %esi # us_37(D)->send_bulk_pipe, us_37(D)->send_bulk_pipe
movl RIO_SEND_LEN(%rip), %ecx # RIO_SEND_LEN,
xorl %r8d, %r8d #
movq %rbp, %rdi # us,
movq 0(%rbp), %rdx # us_37(D)->iobuf,
call usb_stor_bulk_transfer_buf@PLT #
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:49: if (result != USB_STOR_XFER_GOOD)
cmpl %eax, USB_STOR_XFER_GOOD(%rip) # tmp139, USB_STOR_XFER_GOOD
je .L10 #,
.L2:
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:75: usb_stor_dbg(us, "command %04x failed\n", cmd);
movl %r12d, %edx # _2,
movq %rbp, %rdi # us,
leaq .LC2(%rip), %rsi #, tmp132
call usb_stor_dbg@PLT #
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:76: return USB_STOR_TRANSPORT_FAILED;
movl USB_STOR_TRANSPORT_FAILED(%rip), %eax # USB_STOR_TRANSPORT_FAILED, <retval>
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:77: }
addq $8, %rsp #,
.cfi_remember_state
.cfi_def_cfa_offset 40
popq %rbx #
.cfi_def_cfa_offset 32
popq %rbp #
.cfi_def_cfa_offset 24
popq %r12 #
.cfi_def_cfa_offset 16
popq %r13 #
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:68: seq++;
addb $1, %al #, _30
movl $1, %edx #, tmp135
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:72: usb_stor_dbg(us, "sent command %04x\n", cmd);
movq %rbp, %rdi # us,
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:68: seq++;
cmove %edx, %eax # _30,, tmp135, tmp134
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:72: usb_stor_dbg(us, "sent command %04x\n", cmd);
leaq .LC1(%rip), %rsi #, tmp131
movl %r12d, %edx # _2,
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:68: seq++;
movb %al, seq.0(%rip) # tmp134, seq
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:72: usb_stor_dbg(us, "sent command %04x\n", cmd);
call usb_stor_dbg@PLT #
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:77: }
addq $8, %rsp #,
.cfi_def_cfa_offset 40
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:73: return 0;
xorl %eax, %eax # <retval>
# AnghaBench/linux/drivers/usb/storage/extr_karma.c_rio_karma_send_command.c:77: }
popq %rbx #
.cfi_def_cfa_offset 32
popq %rbp #
.cfi_def_cfa_offset 24
popq %r12 #
.cfi_def_cfa_offset 16
popq %r13 #
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size rio_karma_send_command, .-rio_karma_send_command
.data
.type seq.0, @object
.size seq.0, 1
seq.0:
.byte 1
.globl jiffies
.bss
.align 8
.type jiffies, @object
.size jiffies, 8
jiffies:
.zero 8
.globl USB_STOR_XFER_GOOD
.align 4
.type USB_STOR_XFER_GOOD, @object
.size USB_STOR_XFER_GOOD, 4
USB_STOR_XFER_GOOD:
.zero 4
.globl USB_STOR_TRANSPORT_FAILED
.align 4
.type USB_STOR_TRANSPORT_FAILED, @object
.size USB_STOR_TRANSPORT_FAILED, 4
USB_STOR_TRANSPORT_FAILED:
.zero 4
.globl RIO_SEND_LEN
.align 4
.type RIO_SEND_LEN, @object
.size RIO_SEND_LEN, 4
RIO_SEND_LEN:
.zero 4
.globl RIO_RECV_LEN
.align 4
.type RIO_RECV_LEN, @object
.size RIO_RECV_LEN, 4
RIO_RECV_LEN:
.zero 4
.globl RIO_PREFIX_LEN
.align 4
.type RIO_PREFIX_LEN, @object
.size RIO_PREFIX_LEN, 4
RIO_PREFIX_LEN:
.zero 4
.globl RIO_PREFIX
.align 4
.type RIO_PREFIX, @object
.size RIO_PREFIX, 4
RIO_PREFIX:
.zero 4
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
zfs/module/zfs/extr_space_map.c_sm_entry_is_double_word.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.globl _sm_entry_is_double_word
_sm_entry_is_double_word:
LFB0:
stp x29, x30, [sp, -16]! ;,,,
LCFI0:
mov x29, sp ;,
LCFI1:
; Anghabench/zfs/module/zfs/extr_space_map.c_sm_entry_is_double_word.c:23: return (SM_PREFIX_DECODE(e) == SM2_PREFIX);
bl _SM_PREFIX_DECODE ;
; Anghabench/zfs/module/zfs/extr_space_map.c_sm_entry_is_double_word.c:23: return (SM_PREFIX_DECODE(e) == SM2_PREFIX);
adrp x1, _SM2_PREFIX@PAGE ; tmp108,
; Anghabench/zfs/module/zfs/extr_space_map.c_sm_entry_is_double_word.c:24: }
ldp x29, x30, [sp], 16 ;,,,
LCFI2:
; Anghabench/zfs/module/zfs/extr_space_map.c_sm_entry_is_double_word.c:23: return (SM_PREFIX_DECODE(e) == SM2_PREFIX);
ldr x1, [x1, #_SM2_PREFIX@PAGEOFF] ; SM2_PREFIX, SM2_PREFIX
cmp x1, x0 ; SM2_PREFIX, _1
; Anghabench/zfs/module/zfs/extr_space_map.c_sm_entry_is_double_word.c:24: }
cset w0, eq ;,
ret
LFE0:
.globl _SM2_PREFIX
.zerofill __DATA,__common,_SM2_PREFIX,8,3
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x10
.byte 0x9d
.uleb128 0x2
.byte 0x9e
.uleb128 0x1
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0xde
.byte 0xdd
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_space_map.c_sm_entry_is_double_word.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.globl sm_entry_is_double_word
.type sm_entry_is_double_word, @function
sm_entry_is_double_word:
.LFB0:
.cfi_startproc
endbr64
subq $8, %rsp #,
.cfi_def_cfa_offset 16
# AnghaBench/zfs/module/zfs/extr_space_map.c_sm_entry_is_double_word.c:23: return (SM_PREFIX_DECODE(e) == SM2_PREFIX);
call SM_PREFIX_DECODE@PLT #
# AnghaBench/zfs/module/zfs/extr_space_map.c_sm_entry_is_double_word.c:23: return (SM_PREFIX_DECODE(e) == SM2_PREFIX);
cmpq %rax, SM2_PREFIX(%rip) # tmp91, SM2_PREFIX
sete %al #, tmp88
# AnghaBench/zfs/module/zfs/extr_space_map.c_sm_entry_is_double_word.c:24: }
addq $8, %rsp #,
.cfi_def_cfa_offset 8
# AnghaBench/zfs/module/zfs/extr_space_map.c_sm_entry_is_double_word.c:23: return (SM_PREFIX_DECODE(e) == SM2_PREFIX);
movzbl %al, %eax # tmp88, tmp88
# AnghaBench/zfs/module/zfs/extr_space_map.c_sm_entry_is_double_word.c:24: }
ret
.cfi_endproc
.LFE0:
.size sm_entry_is_double_word, .-sm_entry_is_double_word
.globl SM2_PREFIX
.bss
.align 8
.type SM2_PREFIX, @object
.size SM2_PREFIX, 8
SM2_PREFIX:
.zero 8
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.cstring
.align 3
lC0:
.ascii "i\0"
.align 3
lC1:
.ascii "k\0"
.text
.align 2
.p2align 5,,15
.no_dead_strip _busdma_seg_get_addr
_busdma_seg_get_addr:
LFB0:
stp x29, x30, [sp, -48]! ;,,,
LCFI0:
mov x0, x1 ; args, args
mov x29, sp ;,
LCFI1:
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:30: if (!PyArg_ParseTuple(args, "i", &sid))
adrp x1, lC0@PAGE ; tmp112,
add x2, x29, 44 ;,,
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:26: {
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:30: if (!PyArg_ParseTuple(args, "i", &sid))
add x1, x1, lC0@PAGEOFF; ;, tmp112,
bl _PyArg_ParseTuple ;
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:30: if (!PyArg_ParseTuple(args, "i", &sid))
cbz w0, L2 ; _1,
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:32: error = bd_seg_get_addr(sid, &addr);
ldr w0, [x29, 44] ;, sid
add x1, x29, 40 ;,,
bl _bd_seg_get_addr ;
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:33: if (error) {
cbnz w0, L10 ; error,
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:37: return (Py_BuildValue("k", addr));
adrp x0, lC1@PAGE ; tmp119,
ldr w1, [x29, 40] ;, addr
add x0, x0, lC1@PAGEOFF; ;, tmp119,
bl _Py_BuildValue ;
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:38: }
ldp x29, x30, [sp], 48 ;,,,
LCFI2:
ret
.p2align 2,,3
L10:
LCFI3:
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:34: PyErr_SetString(PyExc_IOError, strerror(error));
adrp x1, _PyExc_IOError@PAGE ; tmp116,
str x19, [x29, 16] ;,
LCFI4:
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:34: PyErr_SetString(PyExc_IOError, strerror(error));
ldr w19, [x1, #_PyExc_IOError@PAGEOFF] ; PyExc_IOError.1_3, PyExc_IOError
bl _strerror ;
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:34: PyErr_SetString(PyExc_IOError, strerror(error));
mov w1, w0 ;, _4
mov w0, w19 ;, PyExc_IOError.1_3
bl _PyErr_SetString ;
ldr x19, [x29, 16] ;,
LCFI5:
L2:
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:31: return (NULL);
mov x0, 0 ; <retval>,
; Anghabench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:38: }
ldp x29, x30, [sp], 48 ;,,,
LCFI6:
ret
LFE0:
.globl _PyExc_IOError
.zerofill __DATA,__common,_PyExc_IOError,4,2
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x30
.byte 0x9d
.uleb128 0x6
.byte 0x9e
.uleb128 0x5
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0xa
.byte 0xde
.byte 0xdd
.byte 0xc
.uleb128 0x1f
.uleb128 0
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0xb
.byte 0x4
.set L$set$7,LCFI4-LCFI3
.long L$set$7
.byte 0x93
.uleb128 0x4
.byte 0x4
.set L$set$8,LCFI5-LCFI4
.long L$set$8
.byte 0xd3
.byte 0x4
.set L$set$9,LCFI6-LCFI5
.long L$set$9
.byte 0xde
.byte 0xdd
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_lang.c_busdma_seg_get_addr.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "i"
.LC1:
.string "k"
.text
.p2align 4
.type busdma_seg_get_addr, @function
busdma_seg_get_addr:
.LFB0:
.cfi_startproc
endbr64
pushq %r12 #
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
movq %rsi, %rdi # tmp101, args
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:30: if (!PyArg_ParseTuple(args, "i", &sid))
leaq .LC0(%rip), %rsi #, tmp93
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:31: return (NULL);
xorl %r12d, %r12d # <retval>
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:26: {
subq $16, %rsp #,
.cfi_def_cfa_offset 32
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:26: {
movq %fs:40, %rax # MEM[(<address-space-1> long unsigned int *)40B], tmp106
movq %rax, 8(%rsp) # tmp106, D.1985
xorl %eax, %eax # tmp106
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:30: if (!PyArg_ParseTuple(args, "i", &sid))
leaq 4(%rsp), %rdx #, tmp92
call PyArg_ParseTuple@PLT #
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:30: if (!PyArg_ParseTuple(args, "i", &sid))
testl %eax, %eax # tmp102
je .L1 #,
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:32: error = bd_seg_get_addr(sid, &addr);
movl 4(%rsp), %edi # sid,
movq %rsp, %rsi #, tmp94
call bd_seg_get_addr@PLT #
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:33: if (error) {
testl %eax, %eax # error
jne .L9 #,
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:37: return (Py_BuildValue("k", addr));
movl (%rsp), %esi # addr,
leaq .LC1(%rip), %rdi #, tmp98
call Py_BuildValue@PLT #
movq %rax, %r12 # tmp105, <retval>
.L1:
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:38: }
movq 8(%rsp), %rax # D.1985, tmp107
subq %fs:40, %rax # MEM[(<address-space-1> long unsigned int *)40B], tmp107
jne .L10 #,
addq $16, %rsp #,
.cfi_remember_state
.cfi_def_cfa_offset 16
movq %r12, %rax # <retval>,
popq %r12 #
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:34: PyErr_SetString(PyExc_IOError, strerror(error));
movl %eax, %edi # error,
call strerror@PLT #
movl PyExc_IOError(%rip), %edi # PyExc_IOError,
movl %eax, %esi # tmp104, _3
call PyErr_SetString@PLT #
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:35: return (NULL);
jmp .L1 #
.L10:
# AnghaBench/freebsd/tools/bus_space/Python/extr_lang.c_busdma_seg_get_addr.c:38: }
call __stack_chk_fail@PLT #
.cfi_endproc
.LFE0:
.size busdma_seg_get_addr, .-busdma_seg_get_addr
.globl PyExc_IOError
.bss
.align 4
.type PyExc_IOError, @object
.size PyExc_IOError, 4
PyExc_IOError:
.zero 4
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.globl _linux_prepare_to_wait
_linux_prepare_to_wait:
LFB0:
stp x29, x30, [sp, -48]! ;,,,
LCFI0:
mov x29, sp ;,
LCFI1:
stp x19, x20, [sp, 16] ;,,
LCFI2:
mov x19, x1 ; wq, wq
mov x20, x0 ; wqh, wqh
str x21, [sp, 32] ;,
LCFI3:
; Anghabench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:30: {
mov w21, w2 ; state, state
; Anghabench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:32: spin_lock(&wqh->lock);
bl _spin_lock ;
; Anghabench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:33: if (list_empty(&wq->task_list))
mov x0, x19 ;, wq
bl _list_empty ;
; Anghabench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:33: if (list_empty(&wq->task_list))
cbnz x0, L8 ; _3,
L2:
; Anghabench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:35: set_task_state(current, state);
adrp x0, _current@PAGE ; tmp109,
mov w1, w21 ;, state
ldr w0, [x0, #_current@PAGEOFF] ;, current
bl _set_task_state ;
; Anghabench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:37: }
ldr x21, [sp, 32] ;,
; Anghabench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:36: spin_unlock(&wqh->lock);
mov x0, x20 ;, wqh
; Anghabench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:37: }
ldp x19, x20, [sp, 16] ;,,
ldp x29, x30, [sp], 48 ;,,,
LCFI4:
; Anghabench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:36: spin_unlock(&wqh->lock);
b _spin_unlock ;
.p2align 2,,3
L8:
LCFI5:
; Anghabench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:34: __add_wait_queue(wqh, wq);
mov x1, x19 ;, wq
mov x0, x20 ;, wqh
bl ___add_wait_queue ;
b L2 ;
LFE0:
.globl _current
.zerofill __DATA,__common,_current,4,2
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x30
.byte 0x9d
.uleb128 0x6
.byte 0x9e
.uleb128 0x5
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0x93
.uleb128 0x4
.byte 0x94
.uleb128 0x3
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0x95
.uleb128 0x2
.byte 0x4
.set L$set$7,LCFI4-LCFI3
.long L$set$7
.byte 0xa
.byte 0xde
.byte 0xdd
.byte 0xd5
.byte 0xd3
.byte 0xd4
.byte 0xc
.uleb128 0x1f
.uleb128 0
.byte 0x4
.set L$set$8,LCFI5-LCFI4
.long L$set$8
.byte 0xb
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_linux_schedule.c_linux_prepare_to_wait.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.globl linux_prepare_to_wait
.type linux_prepare_to_wait, @function
linux_prepare_to_wait:
.LFB0:
.cfi_startproc
endbr64
pushq %r13 #
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
movl %edx, %r13d # tmp92, state
pushq %r12 #
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
movq %rsi, %r12 # tmp91, wq
pushq %rbp #
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
# AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:30: {
movq %rdi, %rbp # tmp90, wqh
# AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:32: spin_lock(&wqh->lock);
call spin_lock@PLT #
# AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:33: if (list_empty(&wq->task_list))
movq %r12, %rdi # wq,
call list_empty@PLT #
# AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:33: if (list_empty(&wq->task_list))
testq %rax, %rax # tmp93
jne .L8 #,
.L2:
# AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:35: set_task_state(current, state);
movl current(%rip), %edi # current,
movl %r13d, %esi # state,
call set_task_state@PLT #
# AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:36: spin_unlock(&wqh->lock);
movq %rbp, %rdi # wqh,
# AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:37: }
popq %rbp #
.cfi_remember_state
.cfi_def_cfa_offset 24
popq %r12 #
.cfi_def_cfa_offset 16
popq %r13 #
.cfi_def_cfa_offset 8
# AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:36: spin_unlock(&wqh->lock);
jmp spin_unlock@PLT #
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
# AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_prepare_to_wait.c:34: __add_wait_queue(wqh, wq);
movq %r12, %rsi # wq,
movq %rbp, %rdi # wqh,
call __add_wait_queue@PLT #
jmp .L2 #
.cfi_endproc
.LFE0:
.size linux_prepare_to_wait, .-linux_prepare_to_wait
.globl current
.bss
.align 4
.type current, @object
.size current, 4
current:
.zero 4
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.cstring
.align 3
lC0:
.ascii "ipvlan\0"
.text
.align 2
.p2align 5,,15
.globl _link_get_ipvlan_mode
_link_get_ipvlan_mode:
LFB0:
stp x29, x30, [sp, -48]! ;,,,
LCFI0:
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:33: if (!streq_ptr(link->kind, "ipvlan"))
adrp x1, lC0@PAGE ; tmp113,
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:30: IPVlanMode link_get_ipvlan_mode(Link *link) {
mov x29, sp ;,
LCFI1:
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:33: if (!streq_ptr(link->kind, "ipvlan"))
add x1, x1, lC0@PAGEOFF; ;, tmp113,
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:30: IPVlanMode link_get_ipvlan_mode(Link *link) {
str x19, [sp, 16] ;,
LCFI2:
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:30: IPVlanMode link_get_ipvlan_mode(Link *link) {
mov x19, x0 ; link, link
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:33: if (!streq_ptr(link->kind, "ipvlan"))
ldr w0, [x0, 8] ;, link_13(D)->kind
bl _streq_ptr ;
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:33: if (!streq_ptr(link->kind, "ipvlan"))
cbnz w0, L2 ; _2,
L5:
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:37: return _NETDEV_IPVLAN_MODE_INVALID;
adrp x0, __NETDEV_IPVLAN_MODE_INVALID@PAGE ; tmp121,
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:43: }
ldr x19, [sp, 16] ;,
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:37: return _NETDEV_IPVLAN_MODE_INVALID;
ldr w0, [x0, #__NETDEV_IPVLAN_MODE_INVALID@PAGEOFF] ;, _NETDEV_IPVLAN_MODE_INVALID
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:43: }
ldp x29, x30, [sp], 48 ;,,,
LCFI3:
ret
.p2align 2,,3
L2:
LCFI4:
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:36: if (netdev_get(link->manager, link->ifname, &netdev) < 0)
ldp w1, w0, [x19] ;,,* link
add x2, x29, 40 ;,,
bl _netdev_get ;
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:36: if (netdev_get(link->manager, link->ifname, &netdev) < 0)
tbnz x0, #63, L5 ; _5,
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:39: if (netdev->kind != NETDEV_KIND_IPVLAN)
ldr x0, [x29, 40] ; netdev.0_6, netdev
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:39: if (netdev->kind != NETDEV_KIND_IPVLAN)
adrp x1, _NETDEV_KIND_IPVLAN@PAGE ; tmp123,
ldr x1, [x1, #_NETDEV_KIND_IPVLAN@PAGEOFF] ; NETDEV_KIND_IPVLAN, NETDEV_KIND_IPVLAN
ldr x2, [x0] ; netdev.0_6->kind, netdev.0_6->kind
cmp x2, x1 ; netdev.0_6->kind, NETDEV_KIND_IPVLAN
bne L5 ;,
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:42: return IPVLAN(netdev)->mode;
bl _IPVLAN ;
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:43: }
ldr x19, [sp, 16] ;,
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:42: return IPVLAN(netdev)->mode;
ldr w0, [x0] ;, _9->mode
; Anghabench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:43: }
ldp x29, x30, [sp], 48 ;,,,
LCFI5:
ret
LFE0:
.globl __NETDEV_IPVLAN_MODE_INVALID
.zerofill __DATA,__common,__NETDEV_IPVLAN_MODE_INVALID,4,2
.globl _NETDEV_KIND_IPVLAN
.zerofill __DATA,__common,_NETDEV_KIND_IPVLAN,8,3
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x30
.byte 0x9d
.uleb128 0x6
.byte 0x9e
.uleb128 0x5
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0x93
.uleb128 0x4
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0xa
.byte 0xde
.byte 0xdd
.byte 0xd3
.byte 0xc
.uleb128 0x1f
.uleb128 0
.byte 0x4
.set L$set$7,LCFI4-LCFI3
.long L$set$7
.byte 0xb
.byte 0x4
.set L$set$8,LCFI5-LCFI4
.long L$set$8
.byte 0xde
.byte 0xdd
.byte 0xd3
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_ipvlan.c_link_get_ipvlan_mode.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "ipvlan"
.text
.p2align 4
.globl link_get_ipvlan_mode
.type link_get_ipvlan_mode, @function
link_get_ipvlan_mode:
.LFB0:
.cfi_startproc
endbr64
pushq %rbx #
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
movq %rdi, %rbx # tmp101, link
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:33: if (!streq_ptr(link->kind, "ipvlan"))
leaq .LC0(%rip), %rsi #, tmp95
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:30: IPVlanMode link_get_ipvlan_mode(Link *link) {
subq $16, %rsp #,
.cfi_def_cfa_offset 32
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:33: if (!streq_ptr(link->kind, "ipvlan"))
movl 8(%rdi), %edi # link_13(D)->kind, link_13(D)->kind
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:30: IPVlanMode link_get_ipvlan_mode(Link *link) {
movq %fs:40, %rax # MEM[(<address-space-1> long unsigned int *)40B], tmp105
movq %rax, 8(%rsp) # tmp105, D.1991
xorl %eax, %eax # tmp105
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:33: if (!streq_ptr(link->kind, "ipvlan"))
call streq_ptr@PLT #
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:33: if (!streq_ptr(link->kind, "ipvlan"))
testl %eax, %eax # tmp102
jne .L2 #,
.L5:
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:37: return _NETDEV_IPVLAN_MODE_INVALID;
movl _NETDEV_IPVLAN_MODE_INVALID(%rip), %eax # _NETDEV_IPVLAN_MODE_INVALID, <retval>
.L1:
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:43: }
movq 8(%rsp), %rdx # D.1991, tmp106
subq %fs:40, %rdx # MEM[(<address-space-1> long unsigned int *)40B], tmp106
jne .L9 #,
addq $16, %rsp #,
.cfi_remember_state
.cfi_def_cfa_offset 16
popq %rbx #
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:36: if (netdev_get(link->manager, link->ifname, &netdev) < 0)
movl 4(%rbx), %edi # link_13(D)->manager, link_13(D)->manager
movl (%rbx), %esi # link_13(D)->ifname,
movq %rsp, %rdx #, tmp96
call netdev_get@PLT #
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:36: if (netdev_get(link->manager, link->ifname, &netdev) < 0)
testq %rax, %rax # tmp103
js .L5 #,
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:39: if (netdev->kind != NETDEV_KIND_IPVLAN)
movq (%rsp), %rdi # netdev, netdev.0_6
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:39: if (netdev->kind != NETDEV_KIND_IPVLAN)
movq NETDEV_KIND_IPVLAN(%rip), %rax # NETDEV_KIND_IPVLAN, tmp108
cmpq %rax, (%rdi) # tmp108, netdev.0_6->kind
jne .L5 #,
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:42: return IPVLAN(netdev)->mode;
call IPVLAN@PLT #
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:42: return IPVLAN(netdev)->mode;
movl (%rax), %eax # _9->mode, <retval>
jmp .L1 #
.L9:
# AnghaBench/systemd/src/network/netdev/extr_ipvlan.c_link_get_ipvlan_mode.c:43: }
call __stack_chk_fail@PLT #
.cfi_endproc
.LFE0:
.size link_get_ipvlan_mode, .-link_get_ipvlan_mode
.globl _NETDEV_IPVLAN_MODE_INVALID
.bss
.align 4
.type _NETDEV_IPVLAN_MODE_INVALID, @object
.size _NETDEV_IPVLAN_MODE_INVALID, 4
_NETDEV_IPVLAN_MODE_INVALID:
.zero 4
.globl NETDEV_KIND_IPVLAN
.align 8
.type NETDEV_KIND_IPVLAN, @object
.size NETDEV_KIND_IPVLAN, 8
NETDEV_KIND_IPVLAN:
.zero 8
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.cstring
.align 3
lC0:
.ascii "BAR %d: %pR has bogus alignment\12\0"
.align 3
lC1:
.ascii "pdev_sort_resources(): kmalloc() failed!\12\0"
.text
.align 2
.p2align 5,,15
.globl _pdev_sort_resources
_pdev_sort_resources:
LFB0:
stp x29, x30, [sp, -96]! ;,,,
LCFI0:
mov x29, sp ;,
LCFI1:
stp x27, x28, [sp, 80] ;,,
LCFI2:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:31: for (i = 0; i < PCI_NUM_RESOURCES; i++) {
adrp x28, _PCI_NUM_RESOURCES@PAGE ; tmp158,
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:28: {
stp x25, x26, [sp, 64] ;,,
LCFI3:
mov x25, x0 ; dev, dev
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:31: for (i = 0; i < PCI_NUM_RESOURCES; i++) {
ldr w0, [x28, #_PCI_NUM_RESOURCES@PAGEOFF] ;, PCI_NUM_RESOURCES
cmp w0, 0 ; PCI_NUM_RESOURCES,
ble L1 ;,
stp x23, x24, [x29, 48] ;,,
LCFI4:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:58: tmp = kmalloc(sizeof(*tmp), GFP_KERNEL);
adrp x23, _GFP_KERNEL@PAGE ; tmp163,
adrp x27, _IORESOURCE_PCI_FIXED@PAGE ; tmp159,
add x23, x23, _GFP_KERNEL@PAGEOFF; ; tmp164, tmp163,
stp x19, x20, [x29, 16] ;,,
LCFI5:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:31: for (i = 0; i < PCI_NUM_RESOURCES; i++) {
mov x19, 0 ; ivtmp.8,
stp x21, x22, [x29, 32] ;,,
LCFI6:
mov x22, x1 ; head, head
b L8 ;
.p2align 2,,3
L3:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:31: for (i = 0; i < PCI_NUM_RESOURCES; i++) {
ldr w1, [x28, #_PCI_NUM_RESOURCES@PAGEOFF] ;, PCI_NUM_RESOURCES
add x19, x19, 1 ; ivtmp.8, ivtmp.8,
cmp w1, w19 ; PCI_NUM_RESOURCES, ivtmp.8
ble L16 ;,
L8:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:36: r = &dev->resource[i];
ldr x1, [x25, 8] ; dev_22(D)->resource, dev_22(D)->resource
ubfiz x2, x19, 4, 32 ; _57, ivtmp.8,,
add x24, x1, x2 ; r, dev_22(D)->resource, _57
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:38: if (r->flags & IORESOURCE_PCI_FIXED)
ldr w2, [x1, x2] ;, r_23->flags
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:38: if (r->flags & IORESOURCE_PCI_FIXED)
ldr w1, [x27, #_IORESOURCE_PCI_FIXED@PAGEOFF] ;, IORESOURCE_PCI_FIXED
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:41: if (!(r->flags) || r->parent)
tst w2, w1 ; _4, IORESOURCE_PCI_FIXED
ccmp w2, 0, 4, eq ; _4,,,
beq L3 ;,
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:41: if (!(r->flags) || r->parent)
ldr x0, [x24, 8] ; _7, r_23->parent
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:41: if (!(r->flags) || r->parent)
cbnz x0, L3 ; _7,
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:44: r_align = pci_resource_alignment(dev, r);
mov x1, x24 ;, r
mov x0, x25 ;, dev
bl _pci_resource_alignment ;
mov x26, x0 ; r_align,
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:50: for (list = head; ; list = list->next) {
mov x21, x22 ; list, head
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:45: if (!r_align) {
cbnz x0, L4 ; r_align,
b L17 ;
.p2align 2,,3
L6:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:50: for (list = head; ; list = list->next) {
ldr x21, [x21] ; list, list_14->next
L4:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:51: resource_size_t align = 0;
mov x0, 0 ; align,
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:52: struct resource_list *ln = list->next;
ldr x20, [x21] ; ln, list_14->next
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:54: if (ln)
cbz x20, L5 ; ln,
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:55: align = pci_resource_alignment(ln->dev, ln->res);
ldp x0, x1, [x20, 8] ;,,
bl _pci_resource_alignment ;
L5:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:57: if (r_align > align) {
cmp x0, x26 ; align, r_align
bge L6 ;,
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:58: tmp = kmalloc(sizeof(*tmp), GFP_KERNEL);
ldr w1, [x23] ;, GFP_KERNEL
mov w0, 24 ;,
bl _kmalloc ;
mov x26, x0 ; tmp, tmp
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:59: if (!tmp)
cbz x0, L18 ; tmp,
L7:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:62: tmp->next = ln;
stp x20, x25, [x26] ; ln, dev,* tmp
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:31: for (i = 0; i < PCI_NUM_RESOURCES; i++) {
add x19, x19, 1 ; ivtmp.8, ivtmp.8,
ldr w1, [x28, #_PCI_NUM_RESOURCES@PAGEOFF] ;, PCI_NUM_RESOURCES
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:63: tmp->res = r;
str x24, [x26, 16] ; r, tmp_32->res
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:65: list->next = tmp;
str x26, [x21] ; tmp, list_14->next
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:31: for (i = 0; i < PCI_NUM_RESOURCES; i++) {
cmp w1, w19 ; PCI_NUM_RESOURCES, ivtmp.8
bgt L8 ;,
.p2align 5,,15
L16:
ldp x19, x20, [x29, 16] ;,,
LCFI7:
ldp x21, x22, [x29, 32] ;,,
LCFI8:
ldp x23, x24, [x29, 48] ;,,
LCFI9:
L1:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:70: }
ldp x25, x26, [sp, 64] ;,,
ldp x27, x28, [sp, 80] ;,,
ldp x29, x30, [sp], 96 ;,,,
LCFI10:
ret
.p2align 2,,3
L17:
LCFI11:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:46: dev_warn(&dev->dev, "BAR %d: %pR has bogus alignment\n",
adrp x1, lC0@PAGE ; tmp147,
mov x3, x24 ;, r
mov w2, w19 ;, ivtmp.8
add x1, x1, lC0@PAGEOFF; ;, tmp147,
mov x0, x25 ;, dev
bl _dev_warn ;
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:48: continue;
b L3 ;
.p2align 2,,3
L18:
; Anghabench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:60: panic("pdev_sort_resources(): "
adrp x0, lC1@PAGE ; tmp154,
add x0, x0, lC1@PAGEOFF; ;, tmp154,
bl _panic ;
b L7 ;
LFE0:
.globl _PCI_NUM_RESOURCES
.zerofill __DATA,__common,_PCI_NUM_RESOURCES,4,2
.globl _IORESOURCE_PCI_FIXED
.zerofill __DATA,__common,_IORESOURCE_PCI_FIXED,4,2
.globl _GFP_KERNEL
.zerofill __DATA,__common,_GFP_KERNEL,4,2
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x60
.byte 0x9d
.uleb128 0xc
.byte 0x9e
.uleb128 0xb
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0x9b
.uleb128 0x2
.byte 0x9c
.uleb128 0x1
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0x99
.uleb128 0x4
.byte 0x9a
.uleb128 0x3
.byte 0x4
.set L$set$7,LCFI4-LCFI3
.long L$set$7
.byte 0x98
.uleb128 0x5
.byte 0x97
.uleb128 0x6
.byte 0x4
.set L$set$8,LCFI5-LCFI4
.long L$set$8
.byte 0x94
.uleb128 0x9
.byte 0x93
.uleb128 0xa
.byte 0x4
.set L$set$9,LCFI6-LCFI5
.long L$set$9
.byte 0x96
.uleb128 0x7
.byte 0x95
.uleb128 0x8
.byte 0x4
.set L$set$10,LCFI7-LCFI6
.long L$set$10
.byte 0xd4
.byte 0xd3
.byte 0x4
.set L$set$11,LCFI8-LCFI7
.long L$set$11
.byte 0xd6
.byte 0xd5
.byte 0x4
.set L$set$12,LCFI9-LCFI8
.long L$set$12
.byte 0xd8
.byte 0xd7
.byte 0x4
.set L$set$13,LCFI10-LCFI9
.long L$set$13
.byte 0xde
.byte 0xdd
.byte 0xdb
.byte 0xdc
.byte 0xd9
.byte 0xda
.byte 0xc
.uleb128 0x1f
.uleb128 0
.byte 0x4
.set L$set$14,LCFI11-LCFI10
.long L$set$14
.byte 0xc
.uleb128 0x1d
.uleb128 0x60
.byte 0x93
.uleb128 0xa
.byte 0x94
.uleb128 0x9
.byte 0x95
.uleb128 0x8
.byte 0x96
.uleb128 0x7
.byte 0x97
.uleb128 0x6
.byte 0x98
.uleb128 0x5
.byte 0x99
.uleb128 0x4
.byte 0x9a
.uleb128 0x3
.byte 0x9b
.uleb128 0x2
.byte 0x9c
.uleb128 0x1
.byte 0x9d
.uleb128 0xc
.byte 0x9e
.uleb128 0xb
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_setup-res.c_pdev_sort_resources.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "BAR %d: %pR has bogus alignment\n"
.align 8
.LC1:
.string "pdev_sort_resources(): kmalloc() failed!\n"
.text
.p2align 4
.globl pdev_sort_resources
.type pdev_sort_resources, @function
pdev_sort_resources:
.LFB0:
.cfi_startproc
endbr64
pushq %r15 #
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
pushq %r14 #
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
pushq %r13 #
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
pushq %r12 #
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
pushq %rbp #
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
pushq %rbx #
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
subq $24, %rsp #,
.cfi_def_cfa_offset 80
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:31: for (i = 0; i < PCI_NUM_RESOURCES; i++) {
movl PCI_NUM_RESOURCES(%rip), %eax # PCI_NUM_RESOURCES,
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:28: {
movq %rsi, (%rsp) # tmp126, %sfp
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:31: for (i = 0; i < PCI_NUM_RESOURCES; i++) {
testl %eax, %eax #
jle .L1 #,
movq %rdi, %rbp # tmp125, dev
xorl %ebx, %ebx # ivtmp.8
.p2align 4,,10
.p2align 3
.L8:
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:36: r = &dev->resource[i];
movq %rbx, %r12 # ivtmp.8, tmp108
salq $4, %r12 #, tmp108
addq 8(%rbp), %r12 # dev_24(D)->resource, r
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:38: if (r->flags & IORESOURCE_PCI_FIXED)
movl (%r12), %eax # r_25->flags, _4
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:38: if (r->flags & IORESOURCE_PCI_FIXED)
movl %eax, %edx # _4, tmp110
andl IORESOURCE_PCI_FIXED(%rip), %edx # IORESOURCE_PCI_FIXED, tmp110
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:41: if (!(r->flags) || r->parent)
jne .L3 #,
testl %eax, %eax # _4
je .L3 #,
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:41: if (!(r->flags) || r->parent)
cmpq $0, 8(%r12) #, r_25->parent
jne .L3 #,
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:44: r_align = pci_resource_alignment(dev, r);
movq %r12, %rsi # r,
movq %rbp, %rdi # dev,
call pci_resource_alignment@PLT #
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:50: for (list = head; ; list = list->next) {
movq (%rsp), %r15 # %sfp, list
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:44: r_align = pci_resource_alignment(dev, r);
movq %rax, %r13 # tmp127, r_align
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:45: if (!r_align) {
testq %rax, %rax # r_align
jne .L4 #,
jmp .L16 #
.p2align 4,,10
.p2align 3
.L6:
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:50: for (list = head; ; list = list->next) {
movq (%r15), %r15 # list_15->next, list
.L4:
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:52: struct resource_list *ln = list->next;
movq (%r15), %r14 # list_15->next, ln
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:51: resource_size_t align = 0;
xorl %eax, %eax # align
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:54: if (ln)
testq %r14, %r14 # ln
je .L5 #,
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:55: align = pci_resource_alignment(ln->dev, ln->res);
movq 16(%r14), %rsi # ln_29->res, ln_29->res
movq 8(%r14), %rdi # ln_29->dev, ln_29->dev
call pci_resource_alignment@PLT #
.L5:
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:57: if (r_align > align) {
cmpq %r13, %rax # r_align, align
jge .L6 #,
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:58: tmp = kmalloc(sizeof(*tmp), GFP_KERNEL);
movl GFP_KERNEL(%rip), %esi # GFP_KERNEL,
movl $24, %edi #,
call kmalloc@PLT #
movq %rax, %rsi # tmp129, tmp
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:59: if (!tmp)
testq %rax, %rax # tmp
je .L17 #,
.L7:
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:62: tmp->next = ln;
movq %r14, (%rsi) # ln, tmp_34->next
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:63: tmp->res = r;
movq %r12, 16(%rsi) # r, tmp_34->res
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:64: tmp->dev = dev;
movq %rbp, 8(%rsi) # dev, tmp_34->dev
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:65: list->next = tmp;
movq %rsi, (%r15) # tmp, list_15->next
.p2align 4,,10
.p2align 3
.L3:
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:31: for (i = 0; i < PCI_NUM_RESOURCES; i++) {
addq $1, %rbx #, ivtmp.8
cmpl %ebx, PCI_NUM_RESOURCES(%rip) # ivtmp.8, PCI_NUM_RESOURCES
jg .L8 #,
.L1:
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:70: }
addq $24, %rsp #,
.cfi_remember_state
.cfi_def_cfa_offset 56
popq %rbx #
.cfi_def_cfa_offset 48
popq %rbp #
.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
ret
.p2align 4,,10
.p2align 3
.L16:
.cfi_restore_state
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:46: dev_warn(&dev->dev, "BAR %d: %pR has bogus alignment\n",
movq %r12, %rcx # r,
movl %ebx, %edx # i,
leaq .LC0(%rip), %rsi #,
movq %rbp, %rdi # dev,
call dev_warn@PLT #
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:48: continue;
jmp .L3 #
.p2align 4,,10
.p2align 3
.L17:
# AnghaBench/fastsocket/kernel/drivers/pci/extr_setup-res.c_pdev_sort_resources.c:60: panic("pdev_sort_resources(): "
leaq .LC1(%rip), %rdi #,
movq %rax, 8(%rsp) # tmp, %sfp
call panic@PLT #
movq 8(%rsp), %rsi # %sfp, tmp
jmp .L7 #
.cfi_endproc
.LFE0:
.size pdev_sort_resources, .-pdev_sort_resources
.globl PCI_NUM_RESOURCES
.bss
.align 4
.type PCI_NUM_RESOURCES, @object
.size PCI_NUM_RESOURCES, 4
PCI_NUM_RESOURCES:
.zero 4
.globl IORESOURCE_PCI_FIXED
.align 4
.type IORESOURCE_PCI_FIXED, @object
.size IORESOURCE_PCI_FIXED, 4
IORESOURCE_PCI_FIXED:
.zero 4
.globl GFP_KERNEL
.align 4
.type GFP_KERNEL, @object
.size GFP_KERNEL, 4
GFP_KERNEL:
.zero 4
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dmu_object.c_dmu_object_alloc_dnsize.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.globl _dmu_object_alloc_dnsize
_dmu_object_alloc_dnsize:
LFB0:
; Anghabench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dmu_object.c_dmu_object_alloc_dnsize.c:25: return (dmu_object_alloc_impl(os, ot, blocksize, 0, bonustype,
mov x7, x6 ;, tx
mov w6, w5 ;, dnodesize
mov w5, w4 ;, bonuslen
mov w4, w3 ;, bonustype
mov w3, 0 ;,
b _dmu_object_alloc_impl ;
LFE0:
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_dmu_object.c_dmu_object_alloc_dnsize.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.globl dmu_object_alloc_dnsize
.type dmu_object_alloc_dnsize, @function
dmu_object_alloc_dnsize:
.LFB0:
.cfi_startproc
endbr64
subq $8, %rsp #,
.cfi_def_cfa_offset 16
# AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dmu_object.c_dmu_object_alloc_dnsize.c:25: return (dmu_object_alloc_impl(os, ot, blocksize, 0, bonustype,
pushq 16(%rsp) # tx
.cfi_def_cfa_offset 24
pushq %r9 # tmp96
.cfi_def_cfa_offset 32
movl %r8d, %r9d # tmp95,
movl %ecx, %r8d # tmp94,
xorl %ecx, %ecx #
call dmu_object_alloc_impl@PLT #
# AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dmu_object.c_dmu_object_alloc_dnsize.c:27: }
addq $24, %rsp #,
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size dmu_object_alloc_dnsize, .-dmu_object_alloc_dnsize
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.globl _drm_bridge_post_disable
_drm_bridge_post_disable:
LFB0:
; Anghabench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:22: if (!bridge)
cbz x0, L13 ; bridge,
; Anghabench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:21: {
stp x29, x30, [sp, -32]! ;,,,
LCFI0:
mov x29, sp ;,
LCFI1:
str x19, [sp, 16] ;,
LCFI2:
mov x19, x0 ; bridge, bridge
.p2align 5,,15
L2:
; Anghabench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:25: if (bridge->funcs->post_disable)
ldr x0, [x19, 8] ; bridge_14->funcs, bridge_14->funcs
ldr x1, [x0] ; _2, _1->post_disable
; Anghabench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:25: if (bridge->funcs->post_disable)
cbz x1, L3 ; _2,
; Anghabench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:26: bridge->funcs->post_disable(bridge);
mov x0, x19 ;, bridge
blr x1 ; _2
L3:
; Anghabench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:28: drm_bridge_post_disable(bridge->next);
ldr x19, [x19] ; bridge, bridge_14->next
; Anghabench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:22: if (!bridge)
cbnz x19, L2 ; bridge,
; Anghabench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:29: }
ldr x19, [sp, 16] ;,
ldp x29, x30, [sp], 32 ;,,,
LCFI3:
ret
.p2align 2,,3
L13:
ret
LFE0:
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x20
.byte 0x9d
.uleb128 0x4
.byte 0x9e
.uleb128 0x3
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0x93
.uleb128 0x2
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0xde
.byte 0xdd
.byte 0xd3
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_drm_bridge.c_drm_bridge_post_disable.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.globl drm_bridge_post_disable
.type drm_bridge_post_disable, @function
drm_bridge_post_disable:
.LFB0:
.cfi_startproc
endbr64
# AnghaBench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:22: if (!bridge)
testq %rdi, %rdi # bridge
je .L13 #,
# AnghaBench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:21: {
pushq %rbx #
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
movq %rdi, %rbx # tmp86, bridge
.p2align 4,,10
.p2align 3
.L2:
# AnghaBench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:25: if (bridge->funcs->post_disable)
movq 8(%rbx), %rax # bridge_14->funcs, bridge_14->funcs
movq (%rax), %rax # _1->post_disable, _2
# AnghaBench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:25: if (bridge->funcs->post_disable)
testq %rax, %rax # _2
je .L3 #,
# AnghaBench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:26: bridge->funcs->post_disable(bridge);
movq %rbx, %rdi # bridge,
call *%rax # _2
.L3:
# AnghaBench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:28: drm_bridge_post_disable(bridge->next);
movq (%rbx), %rbx # bridge_14->next, bridge
# AnghaBench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:22: if (!bridge)
testq %rbx, %rbx # bridge
jne .L2 #,
# AnghaBench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_post_disable.c:29: }
popq %rbx #
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L13:
.cfi_restore 3
ret
.cfi_endproc
.LFE0:
.size drm_bridge_post_disable, .-drm_bridge_post_disable
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.no_dead_strip _set_tx_desc_agg_enable
_set_tx_desc_agg_enable:
LFB0:
stp x29, x30, [sp, -48]! ;,,,
LCFI0:
mov x29, sp ;,
LCFI1:
str x19, [sp, 16] ;,
LCFI2:
; Anghabench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:21: {
mov x19, x0 ; __pdesc, __pdesc
; Anghabench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:22: le32p_replace_bits(__pdesc + 2, __val, BIT(12));
mov w0, 12 ;,
; Anghabench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:21: {
str w1, [x29, 44] ; __val, %sfp
; Anghabench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:22: le32p_replace_bits(__pdesc + 2, __val, BIT(12));
bl _BIT ;
; Anghabench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:22: le32p_replace_bits(__pdesc + 2, __val, BIT(12));
ldr w1, [x29, 44] ;, %sfp
mov w2, w0 ;, _2
add x0, x19, 8 ;, __pdesc,
; Anghabench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:23: }
ldr x19, [sp, 16] ;,
ldp x29, x30, [sp], 48 ;,,,
LCFI3:
; Anghabench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:22: le32p_replace_bits(__pdesc + 2, __val, BIT(12));
b _le32p_replace_bits ;
LFE0:
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x30
.byte 0x9d
.uleb128 0x6
.byte 0x9e
.uleb128 0x5
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0x93
.uleb128 0x4
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0xde
.byte 0xdd
.byte 0xd3
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_trx.h_set_tx_desc_agg_enable.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.type set_tx_desc_agg_enable, @function
set_tx_desc_agg_enable:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp #
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movl %esi, %ebp # tmp88, __val
pushq %rbx #
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
movq %rdi, %rbx # tmp87, __pdesc
# AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:22: le32p_replace_bits(__pdesc + 2, __val, BIT(12));
movl $12, %edi #,
# AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:21: {
subq $8, %rsp #,
.cfi_def_cfa_offset 32
# AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:22: le32p_replace_bits(__pdesc + 2, __val, BIT(12));
call BIT@PLT #
# AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:23: }
addq $8, %rsp #,
.cfi_def_cfa_offset 24
# AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:22: le32p_replace_bits(__pdesc + 2, __val, BIT(12));
leaq 8(%rbx), %rdi #, tmp86
# AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:22: le32p_replace_bits(__pdesc + 2, __val, BIT(12));
movl %ebp, %esi # __val,
# AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:23: }
popq %rbx #
.cfi_def_cfa_offset 16
# AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:22: le32p_replace_bits(__pdesc + 2, __val, BIT(12));
movl %eax, %edx # tmp89, _1
# AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:23: }
popq %rbp #
.cfi_def_cfa_offset 8
# AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_set_tx_desc_agg_enable.c:22: le32p_replace_bits(__pdesc + 2, __val, BIT(12));
jmp le32p_replace_bits@PLT #
.cfi_endproc
.LFE0:
.size set_tx_desc_agg_enable, .-set_tx_desc_agg_enable
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.no_dead_strip _ath10k_usb_flush_all
_ath10k_usb_flush_all:
LFB0:
stp x29, x30, [sp, -48]! ;,,,
LCFI0:
mov x29, sp ;,
LCFI1:
stp x21, x22, [sp, 32] ;,,
LCFI2:
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:29: for (i = 0; i < ATH10K_USB_PIPE_MAX; i++) {
adrp x22, _ATH10K_USB_PIPE_MAX@PAGE ; tmp128,
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:26: struct ath10k_usb *ar_usb = ath10k_usb_priv(ar);
bl _ath10k_usb_priv ;
mov x21, x0 ; ar_usb,
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:29: for (i = 0; i < ATH10K_USB_PIPE_MAX; i++) {
ldr w0, [x22, #_ATH10K_USB_PIPE_MAX@PAGEOFF] ;, ATH10K_USB_PIPE_MAX
cmp w0, 0 ; ATH10K_USB_PIPE_MAX,
ble L1 ;,
stp x19, x20, [x29, 16] ;,,
LCFI3:
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:29: for (i = 0; i < ATH10K_USB_PIPE_MAX; i++) {
mov x19, 0 ; ivtmp.6,
b L4 ;
.p2align 2,,3
L3:
ldr w0, [x22, #_ATH10K_USB_PIPE_MAX@PAGEOFF] ;, ATH10K_USB_PIPE_MAX
add x19, x19, 1 ; ivtmp.6, ivtmp.6,
cmp w0, w19 ; ATH10K_USB_PIPE_MAX, ivtmp.6
ble L11 ;,
L4:
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:30: if (ar_usb->pipes[i].ar_usb) {
ldr x0, [x21] ; ar_usb_17->pipes, ar_usb_17->pipes
ubfiz x20, x19, 4, 32 ; _22, ivtmp.6,,
add x0, x0, x20 ; _4, ar_usb_17->pipes, _22
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:30: if (ar_usb->pipes[i].ar_usb) {
ldr x1, [x0, 8] ; _4->ar_usb, _4->ar_usb
cbz x1, L3 ; _4->ar_usb,
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:31: usb_kill_anchored_urbs(&ar_usb->pipes[i].urb_submitted);
add x0, x0, 4 ;, _4,
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:29: for (i = 0; i < ATH10K_USB_PIPE_MAX; i++) {
add x19, x19, 1 ; ivtmp.6, ivtmp.6,
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:31: usb_kill_anchored_urbs(&ar_usb->pipes[i].urb_submitted);
bl _usb_kill_anchored_urbs ;
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:32: cancel_work_sync(&ar_usb->pipes[i].io_complete_work);
ldr x0, [x21] ; ar_usb_17->pipes, ar_usb_17->pipes
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:32: cancel_work_sync(&ar_usb->pipes[i].io_complete_work);
add x0, x0, x20 ;, ar_usb_17->pipes, _22
bl _cancel_work_sync ;
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:29: for (i = 0; i < ATH10K_USB_PIPE_MAX; i++) {
ldr w0, [x22, #_ATH10K_USB_PIPE_MAX@PAGEOFF] ;, ATH10K_USB_PIPE_MAX
cmp w0, w19 ; ATH10K_USB_PIPE_MAX, ivtmp.6
bgt L4 ;,
L11:
ldp x19, x20, [x29, 16] ;,,
LCFI4:
L1:
; Anghabench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:35: }
ldp x21, x22, [sp, 32] ;,,
ldp x29, x30, [sp], 48 ;,,,
LCFI5:
ret
LFE0:
.globl _ATH10K_USB_PIPE_MAX
.zerofill __DATA,__common,_ATH10K_USB_PIPE_MAX,4,2
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x30
.byte 0x9d
.uleb128 0x6
.byte 0x9e
.uleb128 0x5
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0x95
.uleb128 0x2
.byte 0x96
.uleb128 0x1
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0x94
.uleb128 0x3
.byte 0x93
.uleb128 0x4
.byte 0x4
.set L$set$7,LCFI4-LCFI3
.long L$set$7
.byte 0xd4
.byte 0xd3
.byte 0x4
.set L$set$8,LCFI5-LCFI4
.long L$set$8
.byte 0xde
.byte 0xdd
.byte 0xd5
.byte 0xd6
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_usb.c_ath10k_usb_flush_all.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.type ath10k_usb_flush_all, @function
ath10k_usb_flush_all:
.LFB0:
.cfi_startproc
endbr64
pushq %r12 #
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
pushq %rbp #
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
pushq %rbx #
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:26: struct ath10k_usb *ar_usb = ath10k_usb_priv(ar);
call ath10k_usb_priv@PLT #
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:29: for (i = 0; i < ATH10K_USB_PIPE_MAX; i++) {
movl ATH10K_USB_PIPE_MAX(%rip), %edx # ATH10K_USB_PIPE_MAX,
testl %edx, %edx #
jle .L1 #,
movq %rax, %r12 # tmp101, ar_usb
xorl %ebx, %ebx # ivtmp.6
jmp .L4 #
.p2align 4,,10
.p2align 3
.L3:
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:29: for (i = 0; i < ATH10K_USB_PIPE_MAX; i++) {
addq $1, %rbx #, ivtmp.6
cmpl %ebx, ATH10K_USB_PIPE_MAX(%rip) # ivtmp.6, ATH10K_USB_PIPE_MAX
jle .L1 #,
.L4:
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:30: if (ar_usb->pipes[i].ar_usb) {
movq (%r12), %rdi # ar_usb_17->pipes, _4
movq %rbx, %rbp # ivtmp.6, _23
salq $4, %rbp #, _23
addq %rbp, %rdi # _23, _4
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:30: if (ar_usb->pipes[i].ar_usb) {
cmpq $0, 8(%rdi) #, _4->ar_usb
je .L3 #,
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:31: usb_kill_anchored_urbs(&ar_usb->pipes[i].urb_submitted);
addq $4, %rdi #, tmp97
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:29: for (i = 0; i < ATH10K_USB_PIPE_MAX; i++) {
addq $1, %rbx #, ivtmp.6
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:31: usb_kill_anchored_urbs(&ar_usb->pipes[i].urb_submitted);
call usb_kill_anchored_urbs@PLT #
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:32: cancel_work_sync(&ar_usb->pipes[i].io_complete_work);
movq (%r12), %rdi # ar_usb_17->pipes, _23
addq %rbp, %rdi # _23, _23
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:32: cancel_work_sync(&ar_usb->pipes[i].io_complete_work);
call cancel_work_sync@PLT #
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:29: for (i = 0; i < ATH10K_USB_PIPE_MAX; i++) {
cmpl %ebx, ATH10K_USB_PIPE_MAX(%rip) # ivtmp.6, ATH10K_USB_PIPE_MAX
jg .L4 #,
.L1:
# AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_flush_all.c:35: }
popq %rbx #
.cfi_def_cfa_offset 24
popq %rbp #
.cfi_def_cfa_offset 16
popq %r12 #
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ath10k_usb_flush_all, .-ath10k_usb_flush_all
.globl ATH10K_USB_PIPE_MAX
.bss
.align 4
.type ATH10K_USB_PIPE_MAX, @object
.size ATH10K_USB_PIPE_MAX, 4
ATH10K_USB_PIPE_MAX:
.zero 4
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.globl _fdt_property
_fdt_property:
LFB0:
stp x29, x30, [sp, -48]! ;,,,
LCFI0:
mov x29, sp ;,
LCFI1:
stp x19, x20, [sp, 16] ;,,
LCFI2:
mov x19, x0 ; fdt, fdt
mov x20, x1 ; name, name
stp x21, x22, [sp, 32] ;,,
LCFI3:
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:26: {
mov x22, x2 ; val, val
mov w21, w3 ; len, len
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:30: FDT_SW_CHECK_HEADER(fdt);
bl _FDT_SW_CHECK_HEADER ;
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:32: nameoff = _fdt_find_add_string(fdt, name);
mov x1, x20 ;, name
mov x0, x19 ;, fdt
bl __fdt_find_add_string ;
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:33: if (nameoff == 0)
cbnz w0, L2 ; nameoff,
L6:
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:38: return -FDT_ERR_NOSPACE;
adrp x0, _FDT_ERR_NOSPACE@PAGE ; tmp124,
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:45: }
ldp x19, x20, [sp, 16] ;,,
ldp x21, x22, [sp, 32] ;,,
ldp x29, x30, [sp], 48 ;,,,
LCFI4:
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:38: return -FDT_ERR_NOSPACE;
ldr w0, [x0, #_FDT_ERR_NOSPACE@PAGEOFF] ;, FDT_ERR_NOSPACE
neg w0, w0 ; <retval>, FDT_ERR_NOSPACE
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:45: }
ret
.p2align 2,,3
L2:
LCFI5:
mov w20, w0 ; nameoff,
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:36: prop = _fdt_grab_space(fdt, sizeof(*prop) + FDT_TAGALIGN(len));
mov w0, w21 ;, len
bl _FDT_TAGALIGN ;
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:36: prop = _fdt_grab_space(fdt, sizeof(*prop) + FDT_TAGALIGN(len));
add x1, x0, 32 ;, _2,
mov x0, x19 ;, fdt
bl __fdt_grab_space ;
mov x19, x0 ; prop, prop
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:37: if (! prop)
cbz x0, L6 ; prop,
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:40: prop->tag = cpu_to_fdt32(FDT_PROP);
adrp x0, _FDT_PROP@PAGE ; tmp127,
ldr w0, [x0, #_FDT_PROP@PAGEOFF] ;, FDT_PROP
bl _cpu_to_fdt32 ;
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:40: prop->tag = cpu_to_fdt32(FDT_PROP);
str x0, [x19, 24] ; _8, prop_23->tag
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:41: prop->nameoff = cpu_to_fdt32(nameoff);
mov w0, w20 ;, nameoff
bl _cpu_to_fdt32 ;
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:41: prop->nameoff = cpu_to_fdt32(nameoff);
str x0, [x19, 16] ; _9, prop_23->nameoff
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:42: prop->len = cpu_to_fdt32(len);
mov w0, w21 ;, len
bl _cpu_to_fdt32 ;
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:43: memcpy(prop->data, val, len);
mov w2, w21 ;, len
mov x1, x22 ;, val
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:42: prop->len = cpu_to_fdt32(len);
str x0, [x19, 8] ; _10, prop_23->len
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:43: memcpy(prop->data, val, len);
ldr w0, [x19] ;, prop_23->data
bl _memcpy ;
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:44: return 0;
mov w0, 0 ; <retval>,
; Anghabench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:45: }
ldp x19, x20, [sp, 16] ;,,
ldp x21, x22, [sp, 32] ;,,
ldp x29, x30, [sp], 48 ;,,,
LCFI6:
ret
LFE0:
.globl _FDT_PROP
.zerofill __DATA,__common,_FDT_PROP,4,2
.globl _FDT_ERR_NOSPACE
.zerofill __DATA,__common,_FDT_ERR_NOSPACE,4,2
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x30
.byte 0x9d
.uleb128 0x6
.byte 0x9e
.uleb128 0x5
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0x93
.uleb128 0x4
.byte 0x94
.uleb128 0x3
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0x95
.uleb128 0x2
.byte 0x96
.uleb128 0x1
.byte 0x4
.set L$set$7,LCFI4-LCFI3
.long L$set$7
.byte 0xa
.byte 0xde
.byte 0xdd
.byte 0xd5
.byte 0xd6
.byte 0xd3
.byte 0xd4
.byte 0xc
.uleb128 0x1f
.uleb128 0
.byte 0x4
.set L$set$8,LCFI5-LCFI4
.long L$set$8
.byte 0xb
.byte 0x4
.set L$set$9,LCFI6-LCFI5
.long L$set$9
.byte 0xde
.byte 0xdd
.byte 0xd5
.byte 0xd6
.byte 0xd3
.byte 0xd4
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_fdt_sw.c_fdt_property.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.globl fdt_property
.type fdt_property, @function
fdt_property:
.LFB0:
.cfi_startproc
endbr64
pushq %r14 #
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
movq %rdx, %r14 # tmp107, val
pushq %r13 #
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
movl %ecx, %r13d # tmp108, len
pushq %r12 #
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
movq %rsi, %r12 # tmp106, name
pushq %rbp #
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
movq %rdi, %rbp # tmp105, fdt
subq $8, %rsp #,
.cfi_def_cfa_offset 48
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:30: FDT_SW_CHECK_HEADER(fdt);
call FDT_SW_CHECK_HEADER@PLT #
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:32: nameoff = _fdt_find_add_string(fdt, name);
movq %r12, %rsi # name,
movq %rbp, %rdi # fdt,
call _fdt_find_add_string@PLT #
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:33: if (nameoff == 0)
testl %eax, %eax # nameoff
jne .L2 #,
.L6:
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:38: return -FDT_ERR_NOSPACE;
movl FDT_ERR_NOSPACE(%rip), %eax # FDT_ERR_NOSPACE, <retval>
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:45: }
addq $8, %rsp #,
.cfi_remember_state
.cfi_def_cfa_offset 40
popq %rbp #
.cfi_def_cfa_offset 32
popq %r12 #
.cfi_def_cfa_offset 24
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:38: return -FDT_ERR_NOSPACE;
negl %eax # <retval>
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:45: }
popq %r13 #
.cfi_def_cfa_offset 16
popq %r14 #
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:36: prop = _fdt_grab_space(fdt, sizeof(*prop) + FDT_TAGALIGN(len));
movl %r13d, %edi # len,
movl %eax, %r12d # tmp109, nameoff
call FDT_TAGALIGN@PLT #
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:36: prop = _fdt_grab_space(fdt, sizeof(*prop) + FDT_TAGALIGN(len));
movq %rbp, %rdi # fdt,
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:36: prop = _fdt_grab_space(fdt, sizeof(*prop) + FDT_TAGALIGN(len));
leaq 32(%rax), %rsi #, tmp101
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:36: prop = _fdt_grab_space(fdt, sizeof(*prop) + FDT_TAGALIGN(len));
call _fdt_grab_space@PLT #
movq %rax, %rbp # tmp111, prop
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:37: if (! prop)
testq %rax, %rax # prop
je .L6 #,
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:40: prop->tag = cpu_to_fdt32(FDT_PROP);
movl FDT_PROP(%rip), %edi # FDT_PROP,
call cpu_to_fdt32@PLT #
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:41: prop->nameoff = cpu_to_fdt32(nameoff);
movl %r12d, %edi # nameoff,
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:40: prop->tag = cpu_to_fdt32(FDT_PROP);
movq %rax, 24(%rbp) # tmp112, prop_23->tag
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:41: prop->nameoff = cpu_to_fdt32(nameoff);
call cpu_to_fdt32@PLT #
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:42: prop->len = cpu_to_fdt32(len);
movl %r13d, %edi # len,
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:41: prop->nameoff = cpu_to_fdt32(nameoff);
movq %rax, 16(%rbp) # tmp113, prop_23->nameoff
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:42: prop->len = cpu_to_fdt32(len);
call cpu_to_fdt32@PLT #
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:43: memcpy(prop->data, val, len);
movl 0(%rbp), %edi # prop_23->data,
movl %r13d, %edx # len,
movq %r14, %rsi # val,
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:42: prop->len = cpu_to_fdt32(len);
movq %rax, 8(%rbp) # tmp114, prop_23->len
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:43: memcpy(prop->data, val, len);
call memcpy@PLT #
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:45: }
addq $8, %rsp #,
.cfi_def_cfa_offset 40
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:44: return 0;
xorl %eax, %eax # <retval>
# AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_property.c:45: }
popq %rbp #
.cfi_def_cfa_offset 32
popq %r12 #
.cfi_def_cfa_offset 24
popq %r13 #
.cfi_def_cfa_offset 16
popq %r14 #
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size fdt_property, .-fdt_property
.globl FDT_PROP
.bss
.align 4
.type FDT_PROP, @object
.size FDT_PROP, 4
FDT_PROP:
.zero 4
.globl FDT_ERR_NOSPACE
.align 4
.type FDT_ERR_NOSPACE, @object
.size FDT_ERR_NOSPACE, 4
FDT_ERR_NOSPACE:
.zero 4
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.no_dead_strip _match_mac_mask
_match_mac_mask:
LFB0:
; Anghabench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:22: for (i = 0; i < ETH_ALEN; i++) {
adrp x3, _ETH_ALEN@PAGE ; tmp113,
ldr x6, [x3, #_ETH_ALEN@PAGEOFF] ; ETH_ALEN.0_19, ETH_ALEN
cbz x6, L4 ; ETH_ALEN.0_19,
; Anghabench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:22: for (i = 0; i < ETH_ALEN; i++) {
mov x3, 0 ; i,
b L3 ;
.p2align 2,,3
L8:
; Anghabench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:22: for (i = 0; i < ETH_ALEN; i++) {
add x3, x3, 1 ; i, i,
; Anghabench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:22: for (i = 0; i < ETH_ALEN; i++) {
cmp x3, x6 ; i, ETH_ALEN.0_19
beq L4 ;,
L3:
; Anghabench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:23: if ((addr_a[i] & mask[i]) != (addr_b[i] & mask[i]))
ldr w5, [x1, x3, lsl 2] ;, MEM[(const u8 *)addr_b_15(D) + i_20 * 4]
ldr w4, [x0, x3, lsl 2] ;, MEM[(const u8 *)addr_a_14(D) + i_20 * 4]
eor w4, w4, w5 ; _6, MEM[(const u8 *)addr_a_14(D) + i_20 * 4], MEM[(const u8 *)addr_b_15(D) + i_20 * 4]
ldr w5, [x2, x3, lsl 2] ;, MEM[(const u8 *)mask_16(D) + i_20 * 4]
; Anghabench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:23: if ((addr_a[i] & mask[i]) != (addr_b[i] & mask[i]))
tst w4, w5 ; _6, MEM[(const u8 *)mask_16(D) + i_20 * 4]
beq L8 ;,
; Anghabench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:24: return 0;
mov w0, 0 ; <retval>,
; Anghabench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:27: }
ret
.p2align 2,,3
L4:
; Anghabench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:26: return 1;
mov w0, 1 ; <retval>,
; Anghabench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:27: }
ret
LFE0:
.globl _ETH_ALEN
.zerofill __DATA,__common,_ETH_ALEN,8,3
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_events.c_match_mac_mask.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.type match_mac_mask, @function
match_mac_mask:
.LFB0:
.cfi_startproc
endbr64
# AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:22: for (i = 0; i < ETH_ALEN; i++) {
movq ETH_ALEN(%rip), %r8 # ETH_ALEN, ETH_ALEN.0_19
testq %r8, %r8 # ETH_ALEN.0_19
je .L4 #,
# AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:22: for (i = 0; i < ETH_ALEN; i++) {
xorl %ecx, %ecx # i
jmp .L3 #
.p2align 4,,10
.p2align 3
.L8:
# AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:22: for (i = 0; i < ETH_ALEN; i++) {
addq $1, %rcx #, i
# AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:22: for (i = 0; i < ETH_ALEN; i++) {
cmpq %r8, %rcx # ETH_ALEN.0_19, i
je .L4 #,
.L3:
# AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:23: if ((addr_a[i] & mask[i]) != (addr_b[i] & mask[i]))
movl (%rdi,%rcx,4), %eax # MEM[(const u8 *)addr_a_14(D) + i_20 * 4], MEM[(const u8 *)addr_a_14(D) + i_20 * 4]
xorl (%rsi,%rcx,4), %eax # MEM[(const u8 *)addr_b_15(D) + i_20 * 4], tmp93
andl (%rdx,%rcx,4), %eax # MEM[(const u8 *)mask_16(D) + i_20 * 4], tmp95
# AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:23: if ((addr_a[i] & mask[i]) != (addr_b[i] & mask[i]))
je .L8 #,
# AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:24: return 0;
xorl %eax, %eax # <retval>
# AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:27: }
ret
.p2align 4,,10
.p2align 3
.L4:
# AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_events.c_match_mac_mask.c:26: return 1;
movl $1, %eax #, <retval>
ret
.cfi_endproc
.LFE0:
.size match_mac_mask, .-match_mac_mask
.globl ETH_ALEN
.bss
.align 8
.type ETH_ALEN, @object
.size ETH_ALEN, 8
ETH_ALEN:
.zero 8
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.align 2
.p2align 5,,15
.no_dead_strip _sta350_sync_coef_shadow
_sta350_sync_coef_shadow:
LFB0:
stp x29, x30, [sp, -112]! ;,,,
LCFI0:
mov x29, sp ;,
LCFI1:
stp x19, x20, [sp, 16] ;,,
stp x21, x22, [sp, 32] ;,,
LCFI2:
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:34: regmap_read(sta350->regmap, STA350_CFUD, &cfud);
adrp x22, _STA350_CFUD@PAGE ; tmp205,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:28: {
str x27, [sp, 80] ;,
LCFI3:
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:37: for (i = 0; i < STA350_COEF_COUNT; i++) {
adrp x27, _STA350_COEF_COUNT@PAGE ; tmp200,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:29: struct sta350_priv *sta350 = snd_soc_component_get_drvdata(component);
bl _snd_soc_component_get_drvdata ;
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:34: regmap_read(sta350->regmap, STA350_CFUD, &cfud);
ldr w1, [x22, #_STA350_CFUD@PAGEOFF] ;, STA350_CFUD
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:29: struct sta350_priv *sta350 = snd_soc_component_get_drvdata(component);
mov x19, x0 ; sta350,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:34: regmap_read(sta350->regmap, STA350_CFUD, &cfud);
add x2, x29, 108 ;,,
ldr w0, [x0, 8] ;, sta350_43->regmap
bl _regmap_read ;
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:35: cfud &= 0xf0;
ldr w0, [x29, 108] ;, cfud
and w0, w0, 240 ; _4, cfud,
str w0, [x29, 108] ; _4, cfud
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:37: for (i = 0; i < STA350_COEF_COUNT; i++) {
ldr w0, [x27, #_STA350_COEF_COUNT@PAGEOFF] ;, STA350_COEF_COUNT
cmp w0, 0 ; STA350_COEF_COUNT,
ble L2 ;,
stp x23, x24, [x29, 48] ;,,
LCFI4:
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:41: regmap_write(sta350->regmap, STA350_B1CF2,
adrp x24, _STA350_B1CF2@PAGE ; tmp202,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:43: regmap_write(sta350->regmap, STA350_B1CF3,
adrp x23, _STA350_B1CF3@PAGE ; tmp203,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:37: for (i = 0; i < STA350_COEF_COUNT; i++) {
mov x20, 0 ; ivtmp.17,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:41: regmap_write(sta350->regmap, STA350_B1CF2,
add x24, x24, _STA350_B1CF2@PAGEOFF; ; tmp174, tmp202,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:43: regmap_write(sta350->regmap, STA350_B1CF3,
add x23, x23, _STA350_B1CF3@PAGEOFF; ; tmp181, tmp203,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:49: regmap_write(sta350->regmap, STA350_CFUD, cfud);
add x22, x22, _STA350_CFUD@PAGEOFF; ; tmp186, tmp205,
stp x25, x26, [x29, 64] ;,,
LCFI5:
adrp x26, _STA350_CFADDR2@PAGE ; tmp204,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:39: regmap_write(sta350->regmap, STA350_B1CF1,
adrp x25, _STA350_B1CF1@PAGE ; tmp201,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:38: regmap_write(sta350->regmap, STA350_CFADDR2, i);
add x26, x26, _STA350_CFADDR2@PAGEOFF; ; tmp157, tmp204,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:39: regmap_write(sta350->regmap, STA350_B1CF1,
add x25, x25, _STA350_B1CF1@PAGEOFF; ; tmp166, tmp201,
.p2align 5,,15
L3:
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:38: regmap_write(sta350->regmap, STA350_CFADDR2, i);
mov w2, w20 ;, ivtmp.17
ubfiz x21, x20, 2, 32 ; _57, ivtmp.17,,
ldr w1, [x26] ;, STA350_CFADDR2
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:37: for (i = 0; i < STA350_COEF_COUNT; i++) {
add x20, x20, 1 ; ivtmp.17, ivtmp.17,
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:38: regmap_write(sta350->regmap, STA350_CFADDR2, i);
ldr w0, [x19, 8] ;, sta350_43->regmap
bl _regmap_write ;
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:40: (sta350->coef_shadow[i] >> 16) & 0xff);
ldr x0, [x19] ; sta350_43->coef_shadow, sta350_43->coef_shadow
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:39: regmap_write(sta350->regmap, STA350_B1CF1,
ldr w1, [x25] ;, STA350_B1CF1
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:40: (sta350->coef_shadow[i] >> 16) & 0xff);
ldr w2, [x0, x21] ;, *_13
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:39: regmap_write(sta350->regmap, STA350_B1CF1,
ldr w0, [x19, 8] ;, sta350_43->regmap
ubfx x2, x2, 16, 8 ;, *_13,,
bl _regmap_write ;
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:42: (sta350->coef_shadow[i] >> 8) & 0xff);
ldr x0, [x19] ; sta350_43->coef_shadow, sta350_43->coef_shadow
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:41: regmap_write(sta350->regmap, STA350_B1CF2,
ldr w1, [x24] ;, STA350_B1CF2
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:42: (sta350->coef_shadow[i] >> 8) & 0xff);
ldr w2, [x0, x21] ;, *_20
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:41: regmap_write(sta350->regmap, STA350_B1CF2,
ldr w0, [x19, 8] ;, sta350_43->regmap
ubfx x2, x2, 8, 8 ;, *_20,,
bl _regmap_write ;
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:44: (sta350->coef_shadow[i]) & 0xff);
ldr x0, [x19] ; sta350_43->coef_shadow, sta350_43->coef_shadow
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:43: regmap_write(sta350->regmap, STA350_B1CF3,
ldr w1, [x23] ;, STA350_B1CF3
ldrb w2, [x0, x21] ;, *_27
ldr w0, [x19, 8] ;, sta350_43->regmap
bl _regmap_write ;
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:49: regmap_write(sta350->regmap, STA350_CFUD, cfud);
ldr w1, [x22] ;, STA350_CFUD
ldr w2, [x29, 108] ;, cfud
ldr w0, [x19, 8] ;, sta350_43->regmap
bl _regmap_write ;
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:50: regmap_write(sta350->regmap, STA350_CFUD, cfud | 0x01);
ldr w2, [x29, 108] ;, cfud
ldr w0, [x19, 8] ;, sta350_43->regmap
ldr w1, [x22] ;, STA350_CFUD
orr w2, w2, 1 ;, cfud,
bl _regmap_write ;
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:37: for (i = 0; i < STA350_COEF_COUNT; i++) {
ldr w0, [x27, #_STA350_COEF_COUNT@PAGEOFF] ;, STA350_COEF_COUNT
cmp w0, w20 ; STA350_COEF_COUNT, ivtmp.17
bgt L3 ;,
ldp x23, x24, [x29, 48] ;,,
LCFI6:
ldp x25, x26, [x29, 64] ;,,
LCFI7:
L2:
; Anghabench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:53: }
mov w0, 0 ;,
ldp x19, x20, [sp, 16] ;,,
ldp x21, x22, [sp, 32] ;,,
ldr x27, [sp, 80] ;,
ldp x29, x30, [sp], 112 ;,,,
LCFI8:
ret
LFE0:
.globl _STA350_COEF_COUNT
.zerofill __DATA,__common,_STA350_COEF_COUNT,4,2
.globl _STA350_CFUD
.zerofill __DATA,__common,_STA350_CFUD,4,2
.globl _STA350_CFADDR2
.zerofill __DATA,__common,_STA350_CFADDR2,4,2
.globl _STA350_B1CF3
.zerofill __DATA,__common,_STA350_B1CF3,4,2
.globl _STA350_B1CF2
.zerofill __DATA,__common,_STA350_B1CF2,4,2
.globl _STA350_B1CF1
.zerofill __DATA,__common,_STA350_B1CF1,4,2
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x70
.byte 0x9d
.uleb128 0xe
.byte 0x9e
.uleb128 0xd
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0xd
.uleb128 0x1d
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0x93
.uleb128 0xc
.byte 0x94
.uleb128 0xb
.byte 0x95
.uleb128 0xa
.byte 0x96
.uleb128 0x9
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0x9b
.uleb128 0x4
.byte 0x4
.set L$set$7,LCFI4-LCFI3
.long L$set$7
.byte 0x98
.uleb128 0x7
.byte 0x97
.uleb128 0x8
.byte 0x4
.set L$set$8,LCFI5-LCFI4
.long L$set$8
.byte 0x9a
.uleb128 0x5
.byte 0x99
.uleb128 0x6
.byte 0x4
.set L$set$9,LCFI6-LCFI5
.long L$set$9
.byte 0xd8
.byte 0xd7
.byte 0x4
.set L$set$10,LCFI7-LCFI6
.long L$set$10
.byte 0xda
.byte 0xd9
.byte 0x4
.set L$set$11,LCFI8-LCFI7
.long L$set$11
.byte 0xde
.byte 0xdd
.byte 0xdb
.byte 0xd5
.byte 0xd6
.byte 0xd3
.byte 0xd4
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_sta350.c_sta350_sync_coef_shadow.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.p2align 4
.type sta350_sync_coef_shadow, @function
sta350_sync_coef_shadow:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp #
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
pushq %rbx #
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
subq $24, %rsp #,
.cfi_def_cfa_offset 48
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:28: {
movq %fs:40, %rax # MEM[(<address-space-1> long unsigned int *)40B], tmp162
movq %rax, 8(%rsp) # tmp162, D.1993
xorl %eax, %eax # tmp162
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:29: struct sta350_priv *sta350 = snd_soc_component_get_drvdata(component);
call snd_soc_component_get_drvdata@PLT #
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:34: regmap_read(sta350->regmap, STA350_CFUD, &cfud);
movl STA350_CFUD(%rip), %esi # STA350_CFUD,
leaq 4(%rsp), %rdx #, tmp128
movl 8(%rax), %edi # sta350_46->regmap, sta350_46->regmap
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:29: struct sta350_priv *sta350 = snd_soc_component_get_drvdata(component);
movq %rax, %rbx # tmp161, sta350
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:34: regmap_read(sta350->regmap, STA350_CFUD, &cfud);
call regmap_read@PLT #
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:37: for (i = 0; i < STA350_COEF_COUNT; i++) {
movl STA350_COEF_COUNT(%rip), %eax # STA350_COEF_COUNT,
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:35: cfud &= 0xf0;
andl $240, 4(%rsp) #, cfud
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:37: for (i = 0; i < STA350_COEF_COUNT; i++) {
testl %eax, %eax #
jle .L2 #,
xorl %ebp, %ebp # ivtmp.17
.p2align 4,,10
.p2align 3
.L3:
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:38: regmap_write(sta350->regmap, STA350_CFADDR2, i);
movl 8(%rbx), %edi # sta350_46->regmap, sta350_46->regmap
movl STA350_CFADDR2(%rip), %esi # STA350_CFADDR2,
movl %ebp, %edx # ivtmp.17, ivtmp.17
call regmap_write@PLT #
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:40: (sta350->coef_shadow[i] >> 16) & 0xff);
movq (%rbx), %rax # sta350_46->coef_shadow, sta350_46->coef_shadow
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:39: regmap_write(sta350->regmap, STA350_B1CF1,
movl 8(%rbx), %edi # sta350_46->regmap, sta350_46->regmap
movl STA350_B1CF1(%rip), %esi # STA350_B1CF1,
movzbl 2(%rax,%rbp,4), %edx # *_11, tmp137
call regmap_write@PLT #
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:42: (sta350->coef_shadow[i] >> 8) & 0xff);
movq (%rbx), %rax # sta350_46->coef_shadow, sta350_46->coef_shadow
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:41: regmap_write(sta350->regmap, STA350_B1CF2,
movl 8(%rbx), %edi # sta350_46->regmap, sta350_46->regmap
movl STA350_B1CF2(%rip), %esi # STA350_B1CF2,
movzbl 1(%rax,%rbp,4), %edx # *_19, tmp143
call regmap_write@PLT #
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:44: (sta350->coef_shadow[i]) & 0xff);
movq (%rbx), %rax # sta350_46->coef_shadow, sta350_46->coef_shadow
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:43: regmap_write(sta350->regmap, STA350_B1CF3,
movl 8(%rbx), %edi # sta350_46->regmap, sta350_46->regmap
movl STA350_B1CF3(%rip), %esi # STA350_B1CF3,
movzbl (%rax,%rbp,4), %edx # *_27, *_27
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:37: for (i = 0; i < STA350_COEF_COUNT; i++) {
addq $1, %rbp #, ivtmp.17
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:43: regmap_write(sta350->regmap, STA350_B1CF3,
call regmap_write@PLT #
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:49: regmap_write(sta350->regmap, STA350_CFUD, cfud);
movl 8(%rbx), %edi # sta350_46->regmap, sta350_46->regmap
movl 4(%rsp), %edx # cfud,
movl STA350_CFUD(%rip), %esi # STA350_CFUD,
call regmap_write@PLT #
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:50: regmap_write(sta350->regmap, STA350_CFUD, cfud | 0x01);
movl 4(%rsp), %edx # cfud, tmp154
movl 8(%rbx), %edi # sta350_46->regmap, sta350_46->regmap
movl STA350_CFUD(%rip), %esi # STA350_CFUD,
orl $1, %edx #, tmp154
call regmap_write@PLT #
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:37: for (i = 0; i < STA350_COEF_COUNT; i++) {
cmpl %ebp, STA350_COEF_COUNT(%rip) # ivtmp.17, STA350_COEF_COUNT
jg .L3 #,
.L2:
# AnghaBench/linux/sound/soc/codecs/extr_sta350.c_sta350_sync_coef_shadow.c:53: }
movq 8(%rsp), %rax # D.1993, tmp163
subq %fs:40, %rax # MEM[(<address-space-1> long unsigned int *)40B], tmp163
jne .L8 #,
addq $24, %rsp #,
.cfi_remember_state
.cfi_def_cfa_offset 24
xorl %eax, %eax #
popq %rbx #
.cfi_def_cfa_offset 16
popq %rbp #
.cfi_def_cfa_offset 8
ret
.L8:
.cfi_restore_state
call __stack_chk_fail@PLT #
.cfi_endproc
.LFE0:
.size sta350_sync_coef_shadow, .-sta350_sync_coef_shadow
.globl STA350_COEF_COUNT
.bss
.align 4
.type STA350_COEF_COUNT, @object
.size STA350_COEF_COUNT, 4
STA350_COEF_COUNT:
.zero 4
.globl STA350_CFUD
.align 4
.type STA350_CFUD, @object
.size STA350_CFUD, 4
STA350_CFUD:
.zero 4
.globl STA350_CFADDR2
.align 4
.type STA350_CFADDR2, @object
.size STA350_CFADDR2, 4
STA350_CFADDR2:
.zero 4
.globl STA350_B1CF3
.align 4
.type STA350_B1CF3, @object
.size STA350_B1CF3, 4
STA350_B1CF3:
.zero 4
.globl STA350_B1CF2
.align 4
.type STA350_B1CF2, @object
.size STA350_B1CF2, 4
STA350_B1CF2:
.zero 4
.globl STA350_B1CF1
.align 4
.type STA350_B1CF1, @object
.size STA350_B1CF1, 4
STA350_B1CF1:
.zero 4
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.s
|
.arch armv8.5-a
.build_version macos, 15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
; compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
.text
.cstring
.align 3
lC0:
.ascii "implicit call\0"
.align 3
lC1:
.ascii "could not restart: need full path\0"
.align 3
lC2:
.ascii "restarting %s due to %s\0"
.align 3
lC3:
.ascii "could not drop privileges: %s\0"
.align 3
lC4:
.ascii "could not exec %s: %s\0"
.text
.align 2
.p2align 5,,15
.globl _restart_daemon
_restart_daemon:
LFB0:
sub sp, sp, #80 ;,,
LCFI0:
stp x29, x30, [sp, 16] ;,,
LCFI1:
add x29, sp, 16 ;,,
LCFI2:
stp x19, x20, [sp, 32] ;,,
LCFI3:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:73: if (SaveArgv[0][0] != '/')
adrp x20, _SaveArgv@PAGE ; tmp272,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:75: if (LogLevel > 3)
adrp x19, _LogLevel@PAGE ; tmp274,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:58: {
stp x21, x22, [sp, 48] ;,,
stp x23, x24, [sp, 64] ;,,
LCFI4:
adrp x23, _EX_OSFILE@PAGE ; tmp273,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:66: sm_clear_events();
bl _sm_clear_events ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:67: sm_allsignals(true);
mov w0, 1 ;,
bl _sm_allsignals ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:69: reason = RestartRequest;
adrp x0, _RestartRequest@PAGE ; tmp157,
ldr x21, [x0, #_RestartRequest@PAGEOFF] ; reason, RestartRequest
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:70: RestartRequest = NULL;
str xzr, [x0, #_RestartRequest@PAGEOFF] ;, RestartRequest
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:71: PendingSignal = 0;
adrp x0, _PendingSignal@PAGE ; tmp161,
str xzr, [x0, #_PendingSignal@PAGEOFF] ;, PendingSignal
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:73: if (SaveArgv[0][0] != '/')
ldr x0, [x20, #_SaveArgv@PAGEOFF] ; SaveArgv, SaveArgv
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:73: if (SaveArgv[0][0] != '/')
ldr x0, [x0] ; *SaveArgv.0_1, *SaveArgv.0_1
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:73: if (SaveArgv[0][0] != '/')
ldrsb w0, [x0] ; *_2, *_2
cmp w0, 47 ; *_2,
beq L2 ;,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:75: if (LogLevel > 3)
ldr w0, [x19, #_LogLevel@PAGEOFF] ;, LogLevel
cmp w0, 3 ; LogLevel,
bgt L22 ;,
L3:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:78: finis(false, true, EX_OSFILE);
adrp x23, _EX_OSFILE@PAGE ; tmp273,
mov w1, 1 ;,
ldr w2, [x23, #_EX_OSFILE@PAGEOFF] ;, EX_OSFILE
mov w0, 0 ;,
bl _finis ;
L2:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:81: if (LogLevel > 3)
ldr w0, [x19, #_LogLevel@PAGEOFF] ;, LogLevel
cmp w0, 3 ; LogLevel,
ble L4 ;,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:82: sm_syslog(LOG_INFO, NOQID, "restarting %s due to %s",
ldr x0, [x20, #_SaveArgv@PAGEOFF] ; SaveArgv, SaveArgv
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:82: sm_syslog(LOG_INFO, NOQID, "restarting %s due to %s",
cmp x21, 0 ; reason,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:82: sm_syslog(LOG_INFO, NOQID, "restarting %s due to %s",
adrp x2, lC2@PAGE ; tmp192,
add x2, x2, lC2@PAGEOFF; ;, tmp192,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:82: sm_syslog(LOG_INFO, NOQID, "restarting %s due to %s",
ldr x1, [x0] ; _12, *SaveArgv.8_11
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:82: sm_syslog(LOG_INFO, NOQID, "restarting %s due to %s",
adrp x0, lC0@PAGE ; tmp155,
add x0, x0, lC0@PAGEOFF; ; tmp277, tmp155,
csel x21, x0, x21, eq ; reason, tmp277, reason,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:82: sm_syslog(LOG_INFO, NOQID, "restarting %s due to %s",
adrp x0, _NOQID@PAGE ; tmp187,
stp x1, x21, [sp] ; _12, reason,
ldr w1, [x0, #_NOQID@PAGEOFF] ;, NOQID
adrp x0, _LOG_INFO@PAGE ; tmp185,
ldr w0, [x0, #_LOG_INFO@PAGEOFF] ;, LOG_INFO
bl _sm_syslog ;
L4:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:86: closecontrolsocket(true);
mov w0, 1 ;,
bl _closecontrolsocket ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:92: close_sendmail_pid();
bl _close_sendmail_pid ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:101: drop = !(UseMSP && RunAsUid != 0 &&
adrp x0, _UseMSP@PAGE ; tmp194,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:101: drop = !(UseMSP && RunAsUid != 0 &&
ldr x1, [x0, #_UseMSP@PAGEOFF] ; UseMSP, UseMSP
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:101: drop = !(UseMSP && RunAsUid != 0 &&
mov w0, 1 ; iftmp.10_48,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:101: drop = !(UseMSP && RunAsUid != 0 &&
cbz x1, L6 ; UseMSP,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:101: drop = !(UseMSP && RunAsUid != 0 &&
adrp x1, _RunAsUid@PAGE ; tmp197,
ldr x1, [x1, #_RunAsUid@PAGEOFF] ; RunAsUid.12_14, RunAsUid
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:101: drop = !(UseMSP && RunAsUid != 0 &&
cbnz x1, L23 ; RunAsUid.12_14,
L6:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:104: if (drop_privileges(drop) != EX_OK)
bl _drop_privileges ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:104: if (drop_privileges(drop) != EX_OK)
adrp x1, _EX_OK@PAGE ; tmp203,
adrp x21, _errno@PAGE ; tmp275,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:104: if (drop_privileges(drop) != EX_OK)
ldr x1, [x1, #_EX_OK@PAGEOFF] ; EX_OK, EX_OK
cmp x0, x1 ; _16, EX_OK
beq L7 ;,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:106: if (LogLevel > 0)
ldr w0, [x19, #_LogLevel@PAGEOFF] ;, LogLevel
cmp w0, 0 ; LogLevel,
bgt L24 ;,
L8:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:110: finis(false, true, EX_OSERR);
adrp x0, _EX_OSERR@PAGE ; tmp218,
mov w1, 1 ;,
ldr w2, [x0, #_EX_OSERR@PAGEOFF] ;, EX_OSERR
mov w0, 0 ;,
bl _finis ;
L7:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:114: sm_close_on_exec(STDERR_FILENO + 1, DtableSize);
adrp x1, _DtableSize@GOTPAGE ; tmp220,
ldr x1, [x1, _DtableSize@GOTPAGEOFF] ; tmp220,
adrp x0, _STDERR_FILENO@PAGE ; tmp223,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:123: SM_NOOP_SIGNAL(SIGALRM, oalrm);
adrp x22, _SIGALRM@PAGE ; tmp227,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:114: sm_close_on_exec(STDERR_FILENO + 1, DtableSize);
ldr x0, [x0, #_STDERR_FILENO@PAGEOFF] ; STDERR_FILENO, STDERR_FILENO
ldr w1, [x1] ;, DtableSize
add x0, x0, 1 ;, STDERR_FILENO,
bl _sm_close_on_exec ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:123: SM_NOOP_SIGNAL(SIGALRM, oalrm);
mov w1, 0 ;,
ldr w0, [x22, #_SIGALRM@PAGEOFF] ;, SIGALRM
bl _SM_NOOP_SIGNAL ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:124: SM_NOOP_SIGNAL(SIGCHLD, ignore);
adrp x0, _SIGCHLD@PAGE ; tmp230,
mov w1, 0 ;,
ldr w0, [x0, #_SIGCHLD@PAGEOFF] ;, SIGCHLD
bl _SM_NOOP_SIGNAL ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:125: SM_NOOP_SIGNAL(SIGHUP, ignore);
adrp x0, _SIGHUP@PAGE ; tmp233,
mov w1, 0 ;,
ldr w0, [x0, #_SIGHUP@PAGEOFF] ;, SIGHUP
bl _SM_NOOP_SIGNAL ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:126: SM_NOOP_SIGNAL(SIGINT, ignore);
adrp x0, _SIGINT@PAGE ; tmp236,
mov w1, 0 ;,
ldr w0, [x0, #_SIGINT@PAGEOFF] ;, SIGINT
bl _SM_NOOP_SIGNAL ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:127: SM_NOOP_SIGNAL(SIGPIPE, ignore);
adrp x0, _SIGPIPE@PAGE ; tmp239,
mov w1, 0 ;,
ldr w0, [x0, #_SIGPIPE@PAGEOFF] ;, SIGPIPE
bl _SM_NOOP_SIGNAL ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:128: SM_NOOP_SIGNAL(SIGTERM, ignore);
adrp x0, _SIGTERM@PAGE ; tmp242,
mov w1, 0 ;,
ldr w0, [x0, #_SIGTERM@PAGEOFF] ;, SIGTERM
bl _SM_NOOP_SIGNAL ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:134: sm_allsignals(false);
mov w0, 0 ;,
bl _sm_allsignals ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:136: (void) execve(SaveArgv[0], (ARGV_T) SaveArgv, (ARGV_T) ExternalEnviron);
ldr x0, [x20, #_SaveArgv@PAGEOFF] ; SaveArgv.30_33, SaveArgv
adrp x1, _ExternalEnviron@PAGE ; tmp247,
ldr w2, [x1, #_ExternalEnviron@PAGEOFF] ;, ExternalEnviron
mov w1, w0 ;, SaveArgv.30_33
ldr x0, [x0] ;, *SaveArgv.30_33
bl _execve ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:140: sm_allsignals(true);
mov w0, 1 ;,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:137: save_errno = errno;
ldr w24, [x21, #_errno@PAGEOFF] ;, errno
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:140: sm_allsignals(true);
bl _sm_allsignals ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:143: (void) sm_signal(SIGALRM, oalrm);
ldr w0, [x22, #_SIGALRM@PAGEOFF] ;, SIGALRM
mov w1, 0 ;,
bl _sm_signal ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:151: if (LogLevel > 0)
ldr w0, [x19, #_LogLevel@PAGEOFF] ;, LogLevel
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:150: errno = save_errno;
str w24, [x21, #_errno@PAGEOFF] ; save_errno, errno
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:151: if (LogLevel > 0)
cmp w0, 0 ; LogLevel,
ble L9 ;,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:152: sm_syslog(LOG_ALERT, NOQID, "could not exec %s: %s",
adrp x0, _LOG_ALERT@PAGE ; tmp261,
ldr w19, [x0, #_LOG_ALERT@PAGEOFF] ;, LOG_ALERT
adrp x0, _NOQID@PAGE ; tmp263,
ldr w21, [x0, #_NOQID@PAGEOFF] ;, NOQID
ldr x0, [x20, #_SaveArgv@PAGEOFF] ; SaveArgv, SaveArgv
ldr x20, [x0] ; _44, *SaveArgv.38_43
mov w0, w24 ;, save_errno
bl _sm_errstring ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:152: sm_syslog(LOG_ALERT, NOQID, "could not exec %s: %s",
adrp x2, lC4@PAGE ; tmp268,
mov w1, w21 ;, NOQID.37_42
add x2, x2, lC4@PAGEOFF; ;, tmp268,
stp x20, x0, [sp] ; _44, _45,
mov w0, w19 ;, LOG_ALERT.36_41
bl _sm_syslog ;
L9:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:154: finis(false, true, EX_OSFILE);
ldr w2, [x23, #_EX_OSFILE@PAGEOFF] ;, EX_OSFILE
mov w1, 1 ;,
mov w0, 0 ;,
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:156: }
ldp x29, x30, [sp, 16] ;,,
ldp x19, x20, [sp, 32] ;,,
ldp x21, x22, [sp, 48] ;,,
ldp x23, x24, [sp, 64] ;,,
add sp, sp, 80 ;,,
LCFI5:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:154: finis(false, true, EX_OSFILE);
b _finis ;
.p2align 2,,3
L24:
LCFI6:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:107: sm_syslog(LOG_ALERT, NOQID,
adrp x0, _LOG_ALERT@PAGE ; tmp209,
ldr w22, [x0, #_LOG_ALERT@PAGEOFF] ;, LOG_ALERT
adrp x0, _NOQID@PAGE ; tmp211,
ldr w24, [x0, #_NOQID@PAGEOFF] ;, NOQID
ldr w0, [x21, #_errno@PAGEOFF] ;, errno
bl _sm_errstring ;
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:107: sm_syslog(LOG_ALERT, NOQID,
adrp x2, lC3@PAGE ; tmp216,
str x0, [sp] ; _22,
mov w0, w22 ;, LOG_ALERT.18_19
add x2, x2, lC3@PAGEOFF; ;, tmp216,
mov w1, w24 ;, NOQID.19_20
bl _sm_syslog ;
b L8 ;
.p2align 2,,3
L23:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:102: (RealUid == 0 || RealUid == RunAsUid));
adrp x0, _RealUid@PAGE ; tmp199,
ldr x0, [x0, #_RealUid@PAGEOFF] ; RealUid.13_15, RealUid
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:102: (RealUid == 0 || RealUid == RunAsUid));
cmp x0, 0 ; RealUid.13_15,
ccmp x1, x0, 4, ne ; RunAsUid.12_14, RealUid.13_15,,
cset w0, ne ; iftmp.10_48,
b L6 ;
.p2align 2,,3
L22:
; Anghabench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:76: sm_syslog(LOG_INFO, NOQID,
adrp x0, _NOQID@PAGE ; tmp173,
adrp x2, lC1@PAGE ; tmp171,
ldr w1, [x0, #_NOQID@PAGEOFF] ;, NOQID
adrp x0, _LOG_INFO@PAGE ; tmp176,
add x2, x2, lC1@PAGEOFF; ;, tmp171,
ldr w0, [x0, #_LOG_INFO@PAGEOFF] ;, LOG_INFO
bl _sm_syslog ;
b L3 ;
LFE0:
.globl _errno
.zerofill __DATA,__common,_errno,4,2
.globl _UseMSP
.zerofill __DATA,__common,_UseMSP,8,3
.globl _SaveArgv
.zerofill __DATA,__common,_SaveArgv,8,3
.globl _STDERR_FILENO
.zerofill __DATA,__common,_STDERR_FILENO,8,3
.globl _SIGUSR1
.zerofill __DATA,__common,_SIGUSR1,4,2
.globl _SIGTERM
.zerofill __DATA,__common,_SIGTERM,4,2
.globl _SIGPIPE
.zerofill __DATA,__common,_SIGPIPE,4,2
.globl _SIGINT
.zerofill __DATA,__common,_SIGINT,4,2
.globl _SIGHUP
.zerofill __DATA,__common,_SIGHUP,4,2
.globl _SIGCHLD
.zerofill __DATA,__common,_SIGCHLD,4,2
.globl _SIGALRM
.zerofill __DATA,__common,_SIGALRM,4,2
.globl _RunAsUid
.zerofill __DATA,__common,_RunAsUid,8,3
.globl _RestartRequest
.zerofill __DATA,__common,_RestartRequest,8,3
.globl _RealUid
.zerofill __DATA,__common,_RealUid,8,3
.globl _PendingSignal
.zerofill __DATA,__common,_PendingSignal,8,3
.globl _NOQID
.zerofill __DATA,__common,_NOQID,4,2
.globl _LogLevel
.zerofill __DATA,__common,_LogLevel,4,2
.globl _LOG_INFO
.zerofill __DATA,__common,_LOG_INFO,4,2
.globl _LOG_ALERT
.zerofill __DATA,__common,_LOG_ALERT,4,2
.globl _ExternalEnviron
.zerofill __DATA,__common,_ExternalEnviron,8,3
.globl _EX_OSFILE
.zerofill __DATA,__common,_EX_OSFILE,4,2
.globl _EX_OSERR
.zerofill __DATA,__common,_EX_OSERR,4,2
.globl _EX_OK
.zerofill __DATA,__common,_EX_OK,8,3
.globl _DaemonPid
.zerofill __DATA,__common,_DaemonPid,8,3
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
.set L$set$0,LECIE1-LSCIE1
.long L$set$0
LSCIE1:
.long 0
.byte 0x3
.ascii "zR\0"
.uleb128 0x1
.sleb128 -8
.uleb128 0x1e
.uleb128 0x1
.byte 0x10
.byte 0xc
.uleb128 0x1f
.uleb128 0
.align 3
LECIE1:
LSFDE1:
.set L$set$1,LEFDE1-LASFDE1
.long L$set$1
LASFDE1:
.long LASFDE1-EH_frame1
.quad LFB0-.
.set L$set$2,LFE0-LFB0
.quad L$set$2
.uleb128 0
.byte 0x4
.set L$set$3,LCFI0-LFB0
.long L$set$3
.byte 0xe
.uleb128 0x50
.byte 0x4
.set L$set$4,LCFI1-LCFI0
.long L$set$4
.byte 0x9d
.uleb128 0x8
.byte 0x9e
.uleb128 0x7
.byte 0x4
.set L$set$5,LCFI2-LCFI1
.long L$set$5
.byte 0xc
.uleb128 0x1d
.uleb128 0x40
.byte 0x4
.set L$set$6,LCFI3-LCFI2
.long L$set$6
.byte 0x93
.uleb128 0x6
.byte 0x94
.uleb128 0x5
.byte 0x4
.set L$set$7,LCFI4-LCFI3
.long L$set$7
.byte 0x95
.uleb128 0x4
.byte 0x96
.uleb128 0x3
.byte 0x97
.uleb128 0x2
.byte 0x98
.uleb128 0x1
.byte 0x4
.set L$set$8,LCFI5-LCFI4
.long L$set$8
.byte 0xa
.byte 0xd7
.byte 0xd8
.byte 0xd5
.byte 0xd6
.byte 0xd3
.byte 0xd4
.byte 0xdd
.byte 0xde
.byte 0xc
.uleb128 0x1f
.uleb128 0
.byte 0x4
.set L$set$9,LCFI6-LCFI5
.long L$set$9
.byte 0xb
.align 3
LEFDE1:
.ident "GCC: (Homebrew GCC 15.1.0) 15.1.0"
.subsections_via_symbols
|
.file "extr_daemon.c_restart_daemon.c"
# GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=x86-64 -O2 -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -fcf-protection
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "implicit call"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "could not restart: need full path"
.section .rodata.str1.1
.LC2:
.string "restarting %s due to %s"
.LC3:
.string "could not drop privileges: %s"
.LC4:
.string "could not exec %s: %s"
.text
.p2align 4
.globl restart_daemon
.type restart_daemon, @function
restart_daemon:
.LFB0:
.cfi_startproc
endbr64
pushq %r12 #
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:66: sm_clear_events();
xorl %eax, %eax #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:58: {
pushq %rbp #
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
subq $8, %rsp #,
.cfi_def_cfa_offset 32
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:66: sm_clear_events();
call sm_clear_events@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:67: sm_allsignals(true);
movl $1, %edi #,
call sm_allsignals@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:73: if (SaveArgv[0][0] != '/')
movq SaveArgv(%rip), %rax # SaveArgv, SaveArgv
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:69: reason = RestartRequest;
movq RestartRequest(%rip), %rbp # RestartRequest, reason
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:70: RestartRequest = NULL;
movq $0, RestartRequest(%rip) #, RestartRequest
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:71: PendingSignal = 0;
movq $0, PendingSignal(%rip) #, PendingSignal
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:73: if (SaveArgv[0][0] != '/')
movq (%rax), %rax # *SaveArgv.0_1, *SaveArgv.0_1
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:73: if (SaveArgv[0][0] != '/')
cmpb $47, (%rax) #, *_2
je .L2 #,
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:75: if (LogLevel > 3)
cmpl $3, LogLevel(%rip) #, LogLevel
jg .L15 #,
.L3:
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:78: finis(false, true, EX_OSFILE);
movl EX_OSFILE(%rip), %edx # EX_OSFILE,
movl $1, %esi #,
xorl %edi, %edi #
call finis@PLT #
.L2:
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:81: if (LogLevel > 3)
cmpl $3, LogLevel(%rip) #, LogLevel
jle .L4 #,
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:82: sm_syslog(LOG_INFO, NOQID, "restarting %s due to %s",
movq SaveArgv(%rip), %rax # SaveArgv, SaveArgv
testq %rbp, %rbp # reason
leaq .LC0(%rip), %r8 #, tmp174
movl NOQID(%rip), %esi # NOQID,
cmovne %rbp, %r8 # reason,,
movl LOG_INFO(%rip), %edi # LOG_INFO,
leaq .LC2(%rip), %rdx #, tmp145
movq (%rax), %rcx # *SaveArgv.7_9,
xorl %eax, %eax #
call sm_syslog@PLT #
.L4:
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:86: closecontrolsocket(true);
movl $1, %edi #,
call closecontrolsocket@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:92: close_sendmail_pid();
xorl %eax, %eax #
call close_sendmail_pid@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:101: drop = !(UseMSP && RunAsUid != 0 &&
cmpq $0, UseMSP(%rip) #, UseMSP
movl $1, %edi #, iftmp.10_48
je .L6 #,
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:101: drop = !(UseMSP && RunAsUid != 0 &&
movq RunAsUid(%rip), %rax # RunAsUid, RunAsUid.12_14
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:101: drop = !(UseMSP && RunAsUid != 0 &&
testq %rax, %rax # RunAsUid.12_14
jne .L16 #,
.L6:
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:104: if (drop_privileges(drop) != EX_OK)
call drop_privileges@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:104: if (drop_privileges(drop) != EX_OK)
cmpq EX_OK(%rip), %rax # EX_OK, tmp175
je .L7 #,
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:106: if (LogLevel > 0)
movl LogLevel(%rip), %edx # LogLevel,
testl %edx, %edx #
jg .L17 #,
.L8:
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:110: finis(false, true, EX_OSERR);
movl EX_OSERR(%rip), %edx # EX_OSERR,
movl $1, %esi #,
xorl %edi, %edi #
call finis@PLT #
.L7:
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:114: sm_close_on_exec(STDERR_FILENO + 1, DtableSize);
movq STDERR_FILENO(%rip), %rax # STDERR_FILENO, tmp179
movl DtableSize(%rip), %esi # DtableSize,
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:123: SM_NOOP_SIGNAL(SIGALRM, oalrm);
xorl %r12d, %r12d # oalrm
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:124: SM_NOOP_SIGNAL(SIGCHLD, ignore);
xorl %ebp, %ebp # ignore
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:114: sm_close_on_exec(STDERR_FILENO + 1, DtableSize);
leaq 1(%rax), %rdi #, tmp157
call sm_close_on_exec@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:123: SM_NOOP_SIGNAL(SIGALRM, oalrm);
movl SIGALRM(%rip), %edi # SIGALRM,
movl %r12d, %esi # oalrm,
call SM_NOOP_SIGNAL@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:124: SM_NOOP_SIGNAL(SIGCHLD, ignore);
movl SIGCHLD(%rip), %edi # SIGCHLD,
movl %ebp, %esi # ignore,
call SM_NOOP_SIGNAL@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:125: SM_NOOP_SIGNAL(SIGHUP, ignore);
movl SIGHUP(%rip), %edi # SIGHUP,
movl %ebp, %esi # ignore,
call SM_NOOP_SIGNAL@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:126: SM_NOOP_SIGNAL(SIGINT, ignore);
movl SIGINT(%rip), %edi # SIGINT,
movl %ebp, %esi # ignore,
call SM_NOOP_SIGNAL@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:127: SM_NOOP_SIGNAL(SIGPIPE, ignore);
movl SIGPIPE(%rip), %edi # SIGPIPE,
movl %ebp, %esi # ignore,
call SM_NOOP_SIGNAL@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:128: SM_NOOP_SIGNAL(SIGTERM, ignore);
movl SIGTERM(%rip), %edi # SIGTERM,
movl %ebp, %esi # ignore,
call SM_NOOP_SIGNAL@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:134: sm_allsignals(false);
xorl %edi, %edi #
call sm_allsignals@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:136: (void) execve(SaveArgv[0], (ARGV_T) SaveArgv, (ARGV_T) ExternalEnviron);
movq SaveArgv(%rip), %rax # SaveArgv, SaveArgv.31_35
movl ExternalEnviron(%rip), %edx # ExternalEnviron,
movq (%rax), %rdi # *SaveArgv.31_35,
movl %eax, %esi # SaveArgv.31_35, SaveArgv.31_35
call execve@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:140: sm_allsignals(true);
movl $1, %edi #,
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:137: save_errno = errno;
movl errno(%rip), %ebp # errno, save_errno
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:140: sm_allsignals(true);
call sm_allsignals@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:143: (void) sm_signal(SIGALRM, oalrm);
movl SIGALRM(%rip), %edi # SIGALRM,
movl %r12d, %esi # oalrm,
call sm_signal@PLT #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:151: if (LogLevel > 0)
movl LogLevel(%rip), %eax # LogLevel,
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:150: errno = save_errno;
movl %ebp, errno(%rip) # save_errno, errno
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:151: if (LogLevel > 0)
testl %eax, %eax #
jle .L9 #,
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:152: sm_syslog(LOG_ALERT, NOQID, "could not exec %s: %s",
movl %ebp, %edi # save_errno,
call sm_errstring@PLT #
movl NOQID(%rip), %esi # NOQID,
movl LOG_ALERT(%rip), %edi # LOG_ALERT,
leaq .LC4(%rip), %rdx #, tmp172
movq %rax, %r8 #, tmp177
movq SaveArgv(%rip), %rax # SaveArgv, SaveArgv
movq (%rax), %rcx # *SaveArgv.37_42,
xorl %eax, %eax #
call sm_syslog@PLT #
.L9:
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:154: finis(false, true, EX_OSFILE);
movl EX_OSFILE(%rip), %edx # EX_OSFILE,
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:156: }
addq $8, %rsp #,
.cfi_remember_state
.cfi_def_cfa_offset 24
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:154: finis(false, true, EX_OSFILE);
movl $1, %esi #,
xorl %edi, %edi #
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:156: }
popq %rbp #
.cfi_def_cfa_offset 16
popq %r12 #
.cfi_def_cfa_offset 8
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:154: finis(false, true, EX_OSFILE);
jmp finis@PLT #
.p2align 4,,10
.p2align 3
.L17:
.cfi_restore_state
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:107: sm_syslog(LOG_ALERT, NOQID,
movl errno(%rip), %edi # errno,
call sm_errstring@PLT #
movl NOQID(%rip), %esi # NOQID,
movl LOG_ALERT(%rip), %edi # LOG_ALERT,
leaq .LC3(%rip), %rdx #, tmp154
movq %rax, %rcx # tmp176, _20
xorl %eax, %eax #
call sm_syslog@PLT #
jmp .L8 #
.p2align 4,,10
.p2align 3
.L16:
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:102: (RealUid == 0 || RealUid == RunAsUid));
movq RealUid(%rip), %rdx # RealUid, RealUid.13_15
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:101: drop = !(UseMSP && RunAsUid != 0 &&
testq %rdx, %rdx # RealUid.13_15
setne %cl #, tmp147
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:102: (RealUid == 0 || RealUid == RunAsUid));
xorl %edi, %edi # tmp150
cmpq %rdx, %rax # RealUid.13_15, RunAsUid.12_14
setne %dil #, tmp150
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:101: drop = !(UseMSP && RunAsUid != 0 &&
andl %ecx, %edi # tmp147, iftmp.10_48
jmp .L6 #
.p2align 4,,10
.p2align 3
.L15:
# AnghaBench/freebsd/contrib/sendmail/src/extr_daemon.c_restart_daemon.c:76: sm_syslog(LOG_INFO, NOQID,
movl NOQID(%rip), %esi # NOQID,
movl LOG_INFO(%rip), %edi # LOG_INFO,
leaq .LC1(%rip), %rdx #, tmp140
xorl %eax, %eax #
call sm_syslog@PLT #
jmp .L3 #
.cfi_endproc
.LFE0:
.size restart_daemon, .-restart_daemon
.globl errno
.bss
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl UseMSP
.align 8
.type UseMSP, @object
.size UseMSP, 8
UseMSP:
.zero 8
.globl SaveArgv
.align 8
.type SaveArgv, @object
.size SaveArgv, 8
SaveArgv:
.zero 8
.globl STDERR_FILENO
.align 8
.type STDERR_FILENO, @object
.size STDERR_FILENO, 8
STDERR_FILENO:
.zero 8
.globl SIGUSR1
.align 4
.type SIGUSR1, @object
.size SIGUSR1, 4
SIGUSR1:
.zero 4
.globl SIGTERM
.align 4
.type SIGTERM, @object
.size SIGTERM, 4
SIGTERM:
.zero 4
.globl SIGPIPE
.align 4
.type SIGPIPE, @object
.size SIGPIPE, 4
SIGPIPE:
.zero 4
.globl SIGINT
.align 4
.type SIGINT, @object
.size SIGINT, 4
SIGINT:
.zero 4
.globl SIGHUP
.align 4
.type SIGHUP, @object
.size SIGHUP, 4
SIGHUP:
.zero 4
.globl SIGCHLD
.align 4
.type SIGCHLD, @object
.size SIGCHLD, 4
SIGCHLD:
.zero 4
.globl SIGALRM
.align 4
.type SIGALRM, @object
.size SIGALRM, 4
SIGALRM:
.zero 4
.globl RunAsUid
.align 8
.type RunAsUid, @object
.size RunAsUid, 8
RunAsUid:
.zero 8
.globl RestartRequest
.align 8
.type RestartRequest, @object
.size RestartRequest, 8
RestartRequest:
.zero 8
.globl RealUid
.align 8
.type RealUid, @object
.size RealUid, 8
RealUid:
.zero 8
.globl PendingSignal
.align 8
.type PendingSignal, @object
.size PendingSignal, 8
PendingSignal:
.zero 8
.globl NOQID
.align 4
.type NOQID, @object
.size NOQID, 4
NOQID:
.zero 4
.globl LogLevel
.align 4
.type LogLevel, @object
.size LogLevel, 4
LogLevel:
.zero 4
.globl LOG_INFO
.align 4
.type LOG_INFO, @object
.size LOG_INFO, 4
LOG_INFO:
.zero 4
.globl LOG_ALERT
.align 4
.type LOG_ALERT, @object
.size LOG_ALERT, 4
LOG_ALERT:
.zero 4
.globl ExternalEnviron
.align 8
.type ExternalEnviron, @object
.size ExternalEnviron, 8
ExternalEnviron:
.zero 8
.globl EX_OSFILE
.align 4
.type EX_OSFILE, @object
.size EX_OSFILE, 4
EX_OSFILE:
.zero 4
.globl EX_OSERR
.align 4
.type EX_OSERR, @object
.size EX_OSERR, 4
EX_OSERR:
.zero 4
.globl EX_OK
.align 8
.type EX_OK, @object
.size EX_OK, 8
EX_OK:
.zero 8
.globl DaemonPid
.align 8
.type DaemonPid, @object
.size DaemonPid, 8
DaemonPid:
.zero 8
.ident "GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
|
End of preview. Expand
in Data Studio
No dataset card yet
- Downloads last month
- 21