x86 stringlengths 122 5.97M | arm stringlengths 122 5.84M | file stringlengths 18 195 | source stringclasses 3
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _pdf_new_utf8_from_pdf_string ## -- Begin function pdf_new_utf8_from_pdf_string
.p2align 4, 0x90
_pdf_new_utf8_from_pdf_string: ## @pdf_new_utf8_from_pdf_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r12
cmpq $2, %rdx
jb LBB0_8
## %bb.1:
movzbl (%r12), %eax
cmpl $255, %eax
movq %r12, -72(%rbp) ## 8-byte Spill
je LBB0_10
## %bb.2:
cmpl $254, %eax
jne LBB0_17
## %bb.3:
cmpb $-1, 1(%r12)
jne LBB0_17
## %bb.4:
movq %rdi, -56(%rbp) ## 8-byte Spill
leaq (%r12,%rbx), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl $2, %r15d
xorl %r12d, %r12d
movq -72(%rbp), %r14 ## 8-byte Reload
jmp LBB0_6
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
leaq (%rax,%r15), %rcx
addq $-2, %rcx
addq %rax, %r15
cmpq %rbx, %rcx
ja LBB0_33
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq _skip_language_code_utf16be
testq %rax, %rax
jne LBB0_5
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
leaq (%r14,%r15), %rsi
leaq -44(%rbp), %rdi
movq -64(%rbp), %rdx ## 8-byte Reload
callq _rune_from_utf16be
movq %rax, %r13
movl -44(%rbp), %edi
callq _fz_runelen
movq %rax, %rcx
movq %r13, %rax
addq %rcx, %r12
jmp LBB0_5
LBB0_8:
testq %rbx, %rbx
jne LBB0_27
LBB0_9:
movl $1, %esi
callq _fz_malloc
movq %rax, %r12
jmp LBB0_32
LBB0_10:
cmpb $-2, 1(%r12)
jne LBB0_17
## %bb.11:
cmpq $3, %rbx
jbe LBB0_9
## %bb.12:
movq %rdi, -56(%rbp) ## 8-byte Spill
leaq (%r12,%rbx), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl $2, %r15d
xorl %r12d, %r12d
movq -72(%rbp), %r14 ## 8-byte Reload
jmp LBB0_15
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_15 Depth=1
leaq (%r14,%r15), %rsi
leaq -44(%rbp), %rdi
movq -64(%rbp), %rdx ## 8-byte Reload
callq _rune_from_utf16le
movq %rax, %r13
movl -44(%rbp), %edi
callq _fz_runelen
addq %rax, %r12
LBB0_14: ## in Loop: Header=BB0_15 Depth=1
leaq (%r15,%r13), %rax
addq $2, %rax
addq %r13, %r15
cmpq %rbx, %rax
ja LBB0_35
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq _skip_language_code_utf16le
testq %rax, %rax
je LBB0_13
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movq %rax, %r13
jmp LBB0_14
LBB0_17:
cmpq $2, %rbx
sete %cl
cmpb $-17, %al
setne %al
orb %cl, %al
jne LBB0_27
## %bb.18:
cmpb $-69, 1(%r12)
jne LBB0_27
## %bb.19:
cmpb $-65, 2(%r12)
jne LBB0_27
## %bb.20:
movq %rdi, %r13
movq %r12, %r14
movl $3, %r12d
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_21: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq _skip_language_code_utf8
cmpq $1, %rax
adcq $0, %r15
cmpq $1, %rax
adcq %rax, %r12
cmpq %rbx, %r12
jbe LBB0_21
## %bb.22:
incq %r15
movq %r13, %rdi
movq %r15, %rsi
callq _fz_malloc
cmpq $4, %rbx
jb LBB0_34
## %bb.23:
movl $3, %r13d
movq %rax, %r15
movq %rax, %r12
movq -72(%rbp), %r14 ## 8-byte Reload
jmp LBB0_25
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_25 Depth=1
addq %rax, %r13
cmpq %rbx, %r13
jae LBB0_45
LBB0_25: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq _skip_language_code_utf8
testq %rax, %rax
jne LBB0_24
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movzbl (%r14,%r13), %eax
movb %al, (%r12)
incq %r12
movl $1, %eax
jmp LBB0_24
LBB0_27:
movq %rdi, %r13
xorl %r14d, %r14d
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_28: ## =>This Inner Loop Header: Depth=1
movq _fz_unicode_from_pdf_doc_encoding@GOTPCREL(%rip), %rax
movq (%rax), %rax
movzbl (%r12,%r14), %ecx
movl (%rax,%rcx,4), %edi
callq _fz_runelen
addq %rax, %r15
incq %r14
cmpq %r14, %rbx
jne LBB0_28
## %bb.29:
incq %r15
movq %r13, %rdi
movq %r15, %rsi
callq _fz_malloc
xorl %r14d, %r14d
movq %rbx, %r13
movq %r12, %rbx
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rax, %r12
.p2align 4, 0x90
LBB0_30: ## =>This Inner Loop Header: Depth=1
movq %r12, %r15
movq _fz_unicode_from_pdf_doc_encoding@GOTPCREL(%rip), %rax
movq (%rax), %rax
movzbl (%rbx,%r14), %ecx
movl (%rax,%rcx,4), %esi
movl %esi, -44(%rbp)
movq %r12, %rdi
callq _fz_runetochar
movslq %eax, %r12
addq %r15, %r12
incq %r14
cmpq %r14, %r13
jne LBB0_30
LBB0_31:
movq -56(%rbp), %rax ## 8-byte Reload
LBB0_32:
movb $0, (%r12)
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_33:
incq %r12
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
callq _fz_malloc
cmpq $4, %rbx
jae LBB0_39
LBB0_34:
movq %rax, %r12
jmp LBB0_32
LBB0_35:
incq %r12
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
callq _fz_malloc
movq %rax, %r12
movl $2, %r13d
movq %rax, -56(%rbp) ## 8-byte Spill
movq -72(%rbp), %r14 ## 8-byte Reload
jmp LBB0_37
.p2align 4, 0x90
LBB0_36: ## in Loop: Header=BB0_37 Depth=1
leaq (%rax,%r13), %rcx
addq $2, %rcx
addq %rax, %r13
cmpq %rbx, %rcx
ja LBB0_31
LBB0_37: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq _skip_language_code_utf16le
testq %rax, %rax
jne LBB0_36
## %bb.38: ## in Loop: Header=BB0_37 Depth=1
leaq (%r14,%r13), %rsi
leaq -44(%rbp), %rdi
movq -64(%rbp), %rdx ## 8-byte Reload
callq _rune_from_utf16le
movq %rax, %r15
movl -44(%rbp), %esi
movq %r12, %rdi
callq _fz_runetochar
movl %eax, %ecx
movq %r15, %rax
movslq %ecx, %rcx
addq %rcx, %r12
jmp LBB0_36
LBB0_39:
movl $2, %r13d
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rax, %r12
movq -72(%rbp), %r14 ## 8-byte Reload
jmp LBB0_42
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_42 Depth=1
movq %rax, %r15
LBB0_41: ## in Loop: Header=BB0_42 Depth=1
leaq (%r15,%r13), %rax
addq $2, %rax
addq %r15, %r13
cmpq %rbx, %rax
ja LBB0_31
LBB0_42: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq _skip_language_code_utf16be
testq %rax, %rax
jne LBB0_40
## %bb.43: ## in Loop: Header=BB0_42 Depth=1
leaq (%r14,%r13), %rsi
leaq -44(%rbp), %rdi
movq -64(%rbp), %rdx ## 8-byte Reload
callq _rune_from_utf16be
movq %rax, %r15
movl -44(%rbp), %esi
movq %r12, %rdi
callq _fz_runetochar
cltq
addq %rax, %r12
jmp LBB0_41
LBB0_45:
movq %r15, %rax
jmp LBB0_32
.cfi_endproc
## -- End function
.comm _fz_unicode_from_pdf_doc_encoding,8,3 ## @fz_unicode_from_pdf_doc_encoding
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _pdf_new_utf8_from_pdf_string ; -- Begin function pdf_new_utf8_from_pdf_string
.p2align 2
_pdf_new_utf8_from_pdf_string: ; @pdf_new_utf8_from_pdf_string
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x20, x1
mov x21, x0
cmp x2, #2
b.lo LBB0_8
; %bb.1:
ldrb w8, [x20]
cmp w8, #255
b.eq LBB0_10
; %bb.2:
cmp w8, #254
b.ne LBB0_16
; %bb.3:
ldrb w9, [x20, #1]
cmp w9, #255
b.ne LBB0_16
; %bb.4:
mov x24, #0 ; =0x0
mov w22, #2 ; =0x2
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x22, x0, x22
sub x8, x22, #2
cmp x8, x19
b.hi LBB0_32
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x22
bl _skip_language_code_utf16be
cbnz x0, LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add x0, sp, #12
add x1, x20, x22
add x2, x20, x19
bl _rune_from_utf16be
mov x23, x0
ldr w0, [sp, #12]
bl _fz_runelen
mov x8, x0
mov x0, x23
add x24, x8, x24
b LBB0_5
LBB0_8:
cbnz x19, LBB0_27
LBB0_9:
mov x0, x21
mov w1, #1 ; =0x1
bl _fz_malloc
mov x22, x0
mov x21, x0
b LBB0_31
LBB0_10:
ldrb w9, [x20, #1]
cmp w9, #254
b.ne LBB0_16
; %bb.11:
cmp x19, #4
b.lo LBB0_9
; %bb.12:
mov x24, #0 ; =0x0
mov w22, #2 ; =0x2
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=1
add x22, x0, x22
add x8, x22, #2
cmp x8, x19
b.hi LBB0_34
LBB0_14: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x22
bl _skip_language_code_utf16le
cbnz x0, LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
add x0, sp, #12
add x1, x20, x22
add x2, x20, x19
bl _rune_from_utf16le
mov x23, x0
ldr w0, [sp, #12]
bl _fz_runelen
mov x8, x0
mov x0, x23
add x24, x8, x24
b LBB0_13
LBB0_16:
cmp x19, #2
b.eq LBB0_27
; %bb.17:
cmp w8, #239
b.ne LBB0_27
; %bb.18:
ldrb w8, [x20, #1]
cmp w8, #187
b.ne LBB0_27
; %bb.19:
ldrb w8, [x20, #2]
cmp w8, #191
b.ne LBB0_27
; %bb.20:
mov x23, #0 ; =0x0
mov w22, #3 ; =0x3
LBB0_21: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x22
bl _skip_language_code_utf8
cmp x0, #0
cinc x23, x23, eq
cmp x0, #1
csinc x8, x0, xzr, hi
add x22, x8, x22
cmp x22, x19
b.ls LBB0_21
; %bb.22:
add x1, x23, #1
mov x0, x21
bl _fz_malloc
mov x21, x0
cmp x19, #4
b.lo LBB0_33
; %bb.23:
mov w23, #3 ; =0x3
mov x22, x21
b LBB0_25
LBB0_24: ; in Loop: Header=BB0_25 Depth=1
add x23, x0, x23
cmp x23, x19
b.hs LBB0_31
LBB0_25: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x23
bl _skip_language_code_utf8
cbnz x0, LBB0_24
; %bb.26: ; in Loop: Header=BB0_25 Depth=1
ldrb w8, [x20, x23]
strb w8, [x22], #1
mov w0, #1 ; =0x1
b LBB0_24
LBB0_27:
mov x22, #0 ; =0x0
Lloh0:
adrp x23, _fz_unicode_from_pdf_doc_encoding@GOTPAGE
Lloh1:
ldr x23, [x23, _fz_unicode_from_pdf_doc_encoding@GOTPAGEOFF]
mov x24, x20
mov x25, x19
LBB0_28: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23]
ldrb w9, [x24], #1
ldr w0, [x8, x9, lsl #2]
bl _fz_runelen
add x22, x0, x22
subs x25, x25, #1
b.ne LBB0_28
; %bb.29:
add x1, x22, #1
mov x0, x21
bl _fz_malloc
mov x21, x0
mov x22, x0
LBB0_30: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23]
ldrb w9, [x20], #1
ldr w1, [x8, x9, lsl #2]
str w1, [sp, #12]
mov x0, x22
bl _fz_runetochar
add x22, x22, w0, sxtw
subs x19, x19, #1
b.ne LBB0_30
LBB0_31:
strb wzr, [x22]
mov x0, x21
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_32:
add x1, x24, #1
mov x0, x21
bl _fz_malloc
mov x21, x0
cmp x19, #4
b.hs LBB0_38
LBB0_33:
mov x22, x21
b LBB0_31
LBB0_34:
add x1, x24, #1
mov x0, x21
bl _fz_malloc
mov x21, x0
mov w23, #2 ; =0x2
mov x22, x0
b LBB0_36
LBB0_35: ; in Loop: Header=BB0_36 Depth=1
add x23, x0, x23
add x8, x23, #2
cmp x8, x19
b.hi LBB0_31
LBB0_36: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x23
bl _skip_language_code_utf16le
cbnz x0, LBB0_35
; %bb.37: ; in Loop: Header=BB0_36 Depth=1
add x0, sp, #12
add x1, x20, x23
add x2, x20, x19
bl _rune_from_utf16le
mov x24, x0
ldr w1, [sp, #12]
mov x0, x22
bl _fz_runetochar
mov x8, x0
mov x0, x24
add x22, x22, w8, sxtw
b LBB0_35
LBB0_38:
mov w23, #2 ; =0x2
mov x22, x21
b LBB0_40
LBB0_39: ; in Loop: Header=BB0_40 Depth=1
add x23, x0, x23
add x8, x23, #2
cmp x8, x19
b.hi LBB0_31
LBB0_40: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x23
bl _skip_language_code_utf16be
cbnz x0, LBB0_39
; %bb.41: ; in Loop: Header=BB0_40 Depth=1
add x0, sp, #12
add x1, x20, x23
add x2, x20, x19
bl _rune_from_utf16be
mov x24, x0
ldr w1, [sp, #12]
mov x0, x22
bl _fz_runetochar
mov x8, x0
mov x0, x24
add x22, x22, w8, sxtw
b LBB0_39
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _fz_unicode_from_pdf_doc_encoding,8,3 ; @fz_unicode_from_pdf_doc_encoding
.subsections_via_symbols
| assembly_file_179667.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ixgb_raise_clock
_ixgb_raise_clock: ## @ixgb_raise_clock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _IXGB_EECD_SK@GOTPCREL(%rip), %rax
movl (%rax), %edx
orl (%rsi), %edx
movl %edx, (%rsi)
movq _EECD@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _IXGB_WRITE_REG
movl $50, %edi
popq %rbp
jmp _udelay ## TAILCALL
.cfi_endproc
## -- End function
.comm _IXGB_EECD_SK,4,2 ## @IXGB_EECD_SK
.comm _EECD,4,2 ## @EECD
.no_dead_strip _ixgb_raise_clock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ixgb_raise_clock
_ixgb_raise_clock: ; @ixgb_raise_clock
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr w8, [x1]
Lloh0:
adrp x9, _IXGB_EECD_SK@GOTPAGE
Lloh1:
ldr x9, [x9, _IXGB_EECD_SK@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
orr w2, w9, w8
str w2, [x1]
Lloh3:
adrp x8, _EECD@GOTPAGE
Lloh4:
ldr x8, [x8, _EECD@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _IXGB_WRITE_REG
mov w0, #50
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _udelay
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IXGB_EECD_SK,4,2 ; @IXGB_EECD_SK
.comm _EECD,4,2 ; @EECD
.no_dead_strip _ixgb_raise_clock
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/ixgb/extr_ixgb_ee.c_ixgb_raise_clock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $100, %ebx
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl $123, %esi
movl $123, %edx
movl $123, %ecx
xorl %eax, %eax
callq _printf
decl %ebx
jne LBB0_1
## %bb.2:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d, %d, %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w20, #100
mov w21, #123
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
stp x21, x21, [sp, #8]
str x21, [sp]
mov x0, x19
bl _printf
subs w20, w20, #1
b.ne LBB0_1
; %bb.2:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d, %d, %d\n"
.subsections_via_symbols
| the_stack_data/167329914.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pg_logical_replication_slot_advance
_pg_logical_replication_slot_advance: ## @pg_logical_replication_slot_advance
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _CurrentResourceOwner@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
xorl %eax, %eax
callq _PG_TRY
movq _InvalidXLogRecPtr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _NIL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _logical_read_local_xlog_page@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq $0, (%rsp)
movl $1, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _CreateDecodingContext
movq %rax, %r13
movq _MyReplicationSlot@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rbx
xorl %eax, %eax
callq _InvalidateSystemCaches
leaq -56(%rbp), %r15
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _XLogRecPtrIsInvalid
cmpq %r14, %rbx
jge LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
testl %eax, %eax
je LBB0_5
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq (%r13), %rax
movq (%rax), %rdi
callq _XLogRecPtrIsInvalid
testl %eax, %eax
jne LBB0_11
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq (%r13), %rax
cmpq %r14, (%rax)
jge LBB0_11
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq $0, -56(%rbp)
movq (%r13), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq _XLogReadRecord
movq %rax, %r12
movq -56(%rbp), %rdx
testq %rdx, %rdx
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _elog
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq _InvalidXLogRecPtr@GOTPCREL(%rip), %rax
movq (%rax), %rbx
testq %r12, %r12
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq (%r13), %rsi
movq %r13, %rdi
callq _LogicalDecodingProcessRecord
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movq (%r13), %rax
cmpq %r14, (%rax)
jge LBB0_11
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
callq _CHECK_FOR_INTERRUPTS
jmp LBB0_1
LBB0_11:
movq _CurrentResourceOwner@GOTPCREL(%rip), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
movq (%r13), %rax
movq (%rax), %rax
movq _InvalidXLogRecPtr@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_13
## %bb.12:
movq %r14, %rdi
callq _LogicalConfirmReceivedLocation
xorl %eax, %eax
callq _ReplicationSlotMarkDirty
LBB0_13:
movq _MyReplicationSlot@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 8(%rax), %rbx
movq %r13, %rdi
callq _FreeDecodingContext
xorl %eax, %eax
callq _InvalidateSystemCaches
xorl %eax, %eax
callq _PG_CATCH
xorl %eax, %eax
callq _InvalidateSystemCaches
xorl %eax, %eax
callq _PG_RE_THROW
xorl %eax, %eax
callq _PG_END_TRY
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CurrentResourceOwner,4,2 ## @CurrentResourceOwner
.comm _InvalidXLogRecPtr,8,3 ## @InvalidXLogRecPtr
.comm _NIL,4,2 ## @NIL
.comm _logical_read_local_xlog_page,4,2 ## @logical_read_local_xlog_page
.comm _MyReplicationSlot,8,3 ## @MyReplicationSlot
.comm _ERROR,4,2 ## @ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.no_dead_strip _pg_logical_replication_slot_advance
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pg_logical_replication_slot_advance
_pg_logical_replication_slot_advance: ; @pg_logical_replication_slot_advance
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x24, _CurrentResourceOwner@GOTPAGE
Lloh1:
ldr x24, [x24, _CurrentResourceOwner@GOTPAGEOFF]
ldr w25, [x24]
bl _PG_TRY
Lloh2:
adrp x26, _InvalidXLogRecPtr@GOTPAGE
Lloh3:
ldr x26, [x26, _InvalidXLogRecPtr@GOTPAGEOFF]
ldr x0, [x26]
Lloh4:
adrp x8, _NIL@GOTPAGE
Lloh5:
ldr x8, [x8, _NIL@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
Lloh7:
adrp x8, _logical_read_local_xlog_page@GOTPAGE
Lloh8:
ldr x8, [x8, _logical_read_local_xlog_page@GOTPAGEOFF]
Lloh9:
ldr w3, [x8]
mov w2, #1
mov x4, #0
mov x5, #0
mov x6, #0
bl _CreateDecodingContext
mov x20, x0
Lloh10:
adrp x27, _MyReplicationSlot@GOTPAGE
Lloh11:
ldr x27, [x27, _MyReplicationSlot@GOTPAGEOFF]
ldr x8, [x27]
ldr x22, [x8]
bl _InvalidateSystemCaches
Lloh12:
adrp x28, _ERROR@GOTPAGE
Lloh13:
ldr x28, [x28, _ERROR@GOTPAGEOFF]
Lloh14:
adrp x21, l_.str@PAGE
Lloh15:
add x21, x21, l_.str@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _XLogRecPtrIsInvalid
cmp x22, x19
b.ge LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
cbz w0, LBB0_5
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x20]
ldr x0, [x8]
bl _XLogRecPtrIsInvalid
cbnz w0, LBB0_11
; %bb.4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x20]
ldr x8, [x8]
cmp x8, x19
b.ge LBB0_11
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
str xzr, [sp, #8]
ldr x0, [x20]
add x2, sp, #8
mov x1, x22
bl _XLogReadRecord
mov x23, x0
ldr x2, [sp, #8]
cbz x2, LBB0_7
; %bb.6: ; in Loop: Header=BB0_1 Depth=1
ldr w0, [x28]
mov x1, x21
bl _elog
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr x22, [x26]
cbz x23, LBB0_9
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
ldr x1, [x20]
mov x0, x20
bl _LogicalDecodingProcessRecord
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x20]
ldr x8, [x8]
cmp x8, x19
b.ge LBB0_11
; %bb.10: ; in Loop: Header=BB0_1 Depth=1
bl _CHECK_FOR_INTERRUPTS
b LBB0_1
LBB0_11:
str w25, [x24]
ldr x8, [x20]
ldr x8, [x8]
ldr x9, [x26]
cmp x8, x9
b.eq LBB0_13
; %bb.12:
mov x0, x19
bl _LogicalConfirmReceivedLocation
bl _ReplicationSlotMarkDirty
LBB0_13:
ldr x8, [x27]
ldr x19, [x8, #8]
mov x0, x20
bl _FreeDecodingContext
bl _InvalidateSystemCaches
bl _PG_CATCH
bl _InvalidateSystemCaches
bl _PG_RE_THROW
bl _PG_END_TRY
mov x0, x19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _CurrentResourceOwner,4,2 ; @CurrentResourceOwner
.comm _InvalidXLogRecPtr,8,3 ; @InvalidXLogRecPtr
.comm _NIL,4,2 ; @NIL
.comm _logical_read_local_xlog_page,4,2 ; @logical_read_local_xlog_page
.comm _MyReplicationSlot,8,3 ; @MyReplicationSlot
.comm _ERROR,4,2 ; @ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.no_dead_strip _pg_logical_replication_slot_advance
.subsections_via_symbols
| AnghaBench/postgres/src/backend/replication/extr_slotfuncs.c_pg_logical_replication_slot_advance.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mlx4_en_fix_features
_mlx4_en_fix_features: ## @mlx4_en_fix_features
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
callq _netdev_priv
movq _NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rcx
testl %ebx, (%rcx)
je LBB0_3
## %bb.1:
movq (%rax), %rax
movq (%rax), %rax
movq _MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_2
LBB0_3:
movq _NETIF_F_HW_VLAN_STAG_RX@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %ebx, %eax
jmp LBB0_4
LBB0_2:
movq _NETIF_F_HW_VLAN_STAG_RX@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movl %ebx, %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NETIF_F_HW_VLAN_CTAG_RX,4,2 ## @NETIF_F_HW_VLAN_CTAG_RX
.comm _MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN,4,2 ## @MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN
.comm _NETIF_F_HW_VLAN_STAG_RX,4,2 ## @NETIF_F_HW_VLAN_STAG_RX
.no_dead_strip _mlx4_en_fix_features
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mlx4_en_fix_features
_mlx4_en_fix_features: ; @mlx4_en_fix_features
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _netdev_priv
Lloh0:
adrp x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh1:
ldr x8, [x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w19
b.eq LBB0_2
; %bb.1:
ldr x8, [x0]
ldr x8, [x8]
ldr w8, [x8]
Lloh3:
adrp x9, _MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN@GOTPAGE
Lloh4:
ldr x9, [x9, _MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
LBB0_2:
Lloh6:
adrp x8, _NETIF_F_HW_VLAN_STAG_RX@GOTPAGE
Lloh7:
ldr x8, [x8, _NETIF_F_HW_VLAN_STAG_RX@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
bic w0, w19, w8
b LBB0_4
LBB0_3:
Lloh9:
adrp x8, _NETIF_F_HW_VLAN_STAG_RX@GOTPAGE
Lloh10:
ldr x8, [x8, _NETIF_F_HW_VLAN_STAG_RX@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
orr w0, w8, w19
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _NETIF_F_HW_VLAN_CTAG_RX,4,2 ; @NETIF_F_HW_VLAN_CTAG_RX
.comm _MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN,4,2 ; @MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN
.comm _NETIF_F_HW_VLAN_STAG_RX,4,2 ; @NETIF_F_HW_VLAN_STAG_RX
.no_dead_strip _mlx4_en_fix_features
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_en_netdev.c_mlx4_en_fix_features.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _flush_thread ## -- Begin function flush_thread
.p2align 4, 0x90
_flush_thread: ## @flush_thread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _current,8,3 ## @current
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _flush_thread ; -- Begin function flush_thread
.p2align 2
_flush_thread: ; @flush_thread
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.comm _current,8,3 ; @current
.subsections_via_symbols
| AnghaBench/linux/arch/riscv/kernel/extr_process.c_flush_thread.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _case10 ## -- Begin function case10
.p2align 4, 0x90
_case10: ## @case10
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
cmpq $1, %rdi
movl $0, %esi
adcl $1, %esi
leaq L_.str(%rip), %r14
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
pushq $2
popq %rsi
xorl %eax, %eax
callq _printf
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _case10 ; -- Begin function case10
.p2align 2
_case10: ; @case10
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
cmp x0, #0
mov w8, #1
cinc x8, x8, eq
str x8, [sp]
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
mov x0, x20
bl _printf
ldr w8, [x19]
str x8, [sp]
mov x0, x20
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #2
str x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf
brk #0x1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/164944.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dnfb_probe
_dnfb_probe: ## @dnfb_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
xorl %r14d, %r14d
xorl %edi, %edi
movq %r15, %rsi
callq _framebuffer_alloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq _dn_fb_ops@GOTPCREL(%rip), %rax
movq %rax, 72(%rbx)
movq _dnfb_fix@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 8(%rbx)
movq _dnfb_var@GOTPCREL(%rip), %rcx
movups (%rcx), %xmm0
movups 16(%rcx), %xmm1
movups 32(%rcx), %xmm2
movups %xmm0, 24(%rbx)
movups %xmm1, 40(%rbx)
movups %xmm2, 56(%rbx)
movl $1, 24(%rbx)
movq $0, 32(%rbx)
movups 24(%rbx), %xmm0
movups %xmm0, 40(%rbx)
movups %xmm0, 56(%rbx)
movq %rax, 16(%rbx)
movq %rbx, %rdi
movl $2, %esi
xorl %edx, %edx
callq _fb_alloc_cmap
testl %eax, %eax
js LBB0_3
## %bb.4:
movq %rbx, %rdi
callq _register_framebuffer
movl %eax, %r14d
testl %eax, %eax
js LBB0_5
## %bb.8:
movq %r15, %rdi
movq %rbx, %rsi
callq _platform_set_drvdata
movq _AP_CONTROL_3A@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _RESET_CREG@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _out_8
movq _AP_WRITE_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _out_be16
movq _AP_CONTROL_0@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _NORMAL_MODE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _out_8
movq _AP_CONTROL_1@GOTPCREL(%rip), %rax
movq _AD_BLT@GOTPCREL(%rip), %rcx
movq _DST_EQ_SRC@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
orl (%rcx), %esi
movl (%rax), %edi
movq _NORM_CREG1@GOTPCREL(%rip), %rax
orl (%rax), %esi
callq _out_8
movq _AP_CONTROL_2@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _S_DATA_PLN@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _out_8
movq _AP_ROP_1@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $3, %edi
callq _SWAP
movl %ebx, %edi
movl %eax, %esi
callq _out_be16
leaq L_.str(%rip), %rdi
callq _printk
jmp LBB0_7
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
subl (%rax), %r14d
jmp LBB0_7
LBB0_3:
movl %eax, %r14d
jmp LBB0_6
LBB0_5:
movq %rbx, %rdi
callq _fb_dealloc_cmap
LBB0_6:
movq %rbx, %rdi
callq _framebuffer_release
LBB0_7:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _dn_fb_ops,4,2 ## @dn_fb_ops
.comm _dnfb_fix,8,3 ## @dnfb_fix
.comm _dnfb_var,48,3 ## @dnfb_var
.comm _AP_CONTROL_3A,4,2 ## @AP_CONTROL_3A
.comm _RESET_CREG,4,2 ## @RESET_CREG
.comm _AP_WRITE_ENABLE,4,2 ## @AP_WRITE_ENABLE
.comm _AP_CONTROL_0,4,2 ## @AP_CONTROL_0
.comm _NORMAL_MODE,4,2 ## @NORMAL_MODE
.comm _AP_CONTROL_1,4,2 ## @AP_CONTROL_1
.comm _AD_BLT,4,2 ## @AD_BLT
.comm _DST_EQ_SRC,4,2 ## @DST_EQ_SRC
.comm _NORM_CREG1,4,2 ## @NORM_CREG1
.comm _AP_CONTROL_2,4,2 ## @AP_CONTROL_2
.comm _S_DATA_PLN,4,2 ## @S_DATA_PLN
.comm _AP_ROP_1,4,2 ## @AP_ROP_1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "apollo frame buffer alive and kicking !\n"
.no_dead_strip _dnfb_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dnfb_probe
_dnfb_probe: ; @dnfb_probe
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x0
mov w0, #0
mov x1, x21
bl _framebuffer_alloc
cbz x0, LBB0_4
; %bb.1:
mov x20, x0
Lloh0:
adrp x8, _dn_fb_ops@GOTPAGE
Lloh1:
ldr x8, [x8, _dn_fb_ops@GOTPAGEOFF]
str x8, [x0, #72]
Lloh2:
adrp x8, _dnfb_fix@GOTPAGE
Lloh3:
ldr x8, [x8, _dnfb_fix@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
Lloh5:
adrp x9, _dnfb_var@GOTPAGE
Lloh6:
ldr x9, [x9, _dnfb_var@GOTPAGEOFF]
stp x8, x8, [x0, #8]
Lloh7:
ldr q0, [x9]
stur q0, [x0, #24]
mov w9, #1
str w9, [x0, #24]
str xzr, [x0, #32]
ldur q0, [x0, #24]
stur q0, [x0, #40]
stur q0, [x0, #56]
mov w1, #2
mov w2, #0
bl _fb_alloc_cmap
tbnz w0, #31, LBB0_5
; %bb.2:
mov x0, x20
bl _register_framebuffer
mov x19, x0
tbnz w0, #31, LBB0_6
; %bb.3:
mov x0, x21
mov x1, x20
bl _platform_set_drvdata
Lloh8:
adrp x8, _AP_CONTROL_3A@GOTPAGE
Lloh9:
ldr x8, [x8, _AP_CONTROL_3A@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
Lloh11:
adrp x8, _RESET_CREG@GOTPAGE
Lloh12:
ldr x8, [x8, _RESET_CREG@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
bl _out_8
Lloh14:
adrp x8, _AP_WRITE_ENABLE@GOTPAGE
Lloh15:
ldr x8, [x8, _AP_WRITE_ENABLE@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
mov w1, #0
bl _out_be16
Lloh17:
adrp x8, _AP_CONTROL_0@GOTPAGE
Lloh18:
ldr x8, [x8, _AP_CONTROL_0@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
Lloh20:
adrp x8, _NORMAL_MODE@GOTPAGE
Lloh21:
ldr x8, [x8, _NORMAL_MODE@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
bl _out_8
Lloh23:
adrp x8, _AP_CONTROL_1@GOTPAGE
Lloh24:
ldr x8, [x8, _AP_CONTROL_1@GOTPAGEOFF]
Lloh25:
ldr w0, [x8]
Lloh26:
adrp x8, _AD_BLT@GOTPAGE
Lloh27:
ldr x8, [x8, _AD_BLT@GOTPAGEOFF]
Lloh28:
ldr w8, [x8]
Lloh29:
adrp x9, _DST_EQ_SRC@GOTPAGE
Lloh30:
ldr x9, [x9, _DST_EQ_SRC@GOTPAGEOFF]
Lloh31:
ldr w9, [x9]
orr w8, w9, w8
Lloh32:
adrp x9, _NORM_CREG1@GOTPAGE
Lloh33:
ldr x9, [x9, _NORM_CREG1@GOTPAGEOFF]
Lloh34:
ldr w9, [x9]
orr w1, w8, w9
bl _out_8
Lloh35:
adrp x8, _AP_CONTROL_2@GOTPAGE
Lloh36:
ldr x8, [x8, _AP_CONTROL_2@GOTPAGEOFF]
Lloh37:
ldr w0, [x8]
Lloh38:
adrp x8, _S_DATA_PLN@GOTPAGE
Lloh39:
ldr x8, [x8, _S_DATA_PLN@GOTPAGEOFF]
Lloh40:
ldr w1, [x8]
bl _out_8
Lloh41:
adrp x8, _AP_ROP_1@GOTPAGE
Lloh42:
ldr x8, [x8, _AP_ROP_1@GOTPAGEOFF]
Lloh43:
ldr w20, [x8]
mov w0, #3
bl _SWAP
mov x1, x0
mov x0, x20
bl _out_be16
Lloh44:
adrp x0, l_.str@PAGE
Lloh45:
add x0, x0, l_.str@PAGEOFF
bl _printk
b LBB0_8
LBB0_4:
Lloh46:
adrp x8, _ENOMEM@GOTPAGE
Lloh47:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh48:
ldr w8, [x8]
neg w19, w8
b LBB0_8
LBB0_5:
mov x19, x0
b LBB0_7
LBB0_6:
mov x0, x20
bl _fb_dealloc_cmap
LBB0_7:
mov x0, x20
bl _framebuffer_release
LBB0_8:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _dn_fb_ops,4,2 ; @dn_fb_ops
.comm _dnfb_fix,8,3 ; @dnfb_fix
.comm _dnfb_var,48,3 ; @dnfb_var
.comm _AP_CONTROL_3A,4,2 ; @AP_CONTROL_3A
.comm _RESET_CREG,4,2 ; @RESET_CREG
.comm _AP_WRITE_ENABLE,4,2 ; @AP_WRITE_ENABLE
.comm _AP_CONTROL_0,4,2 ; @AP_CONTROL_0
.comm _NORMAL_MODE,4,2 ; @NORMAL_MODE
.comm _AP_CONTROL_1,4,2 ; @AP_CONTROL_1
.comm _AD_BLT,4,2 ; @AD_BLT
.comm _DST_EQ_SRC,4,2 ; @DST_EQ_SRC
.comm _NORM_CREG1,4,2 ; @NORM_CREG1
.comm _AP_CONTROL_2,4,2 ; @AP_CONTROL_2
.comm _S_DATA_PLN,4,2 ; @S_DATA_PLN
.comm _AP_ROP_1,4,2 ; @AP_ROP_1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "apollo frame buffer alive and kicking !\n"
.no_dead_strip _dnfb_probe
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/extr_dnfb.c_dnfb_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sym_int_sto
_sym_int_sto: ## @sym_int_sto
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %ebx
movq _nc_dsp@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _INL
movq %rax, %r14
movq _DEBUG_FLAGS@GOTPCREL(%rip), %rax
movq _DEBUG_TINY@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_2
## %bb.1:
movl $84, %edi
callq _putchar
LBB0_2:
movq _wf_sel_done@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %edi
callq _SCRIPTA_BA
addq $8, %rax
cmpq %rax, %r14
jne LBB0_4
## %bb.3:
movq _HS_SEL_TIMEOUT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %edi
popq %rbx
popq %r14
popq %rbp
jmp _sym_recover_scsi_int ## TAILCALL
LBB0_4:
movl %ebx, %edi
popq %rbx
popq %r14
popq %rbp
jmp _sym_start_reset ## TAILCALL
.cfi_endproc
## -- End function
.comm _nc_dsp,4,2 ## @nc_dsp
.comm _DEBUG_FLAGS,4,2 ## @DEBUG_FLAGS
.comm _DEBUG_TINY,4,2 ## @DEBUG_TINY
.comm _wf_sel_done,4,2 ## @wf_sel_done
.comm _HS_SEL_TIMEOUT,4,2 ## @HS_SEL_TIMEOUT
.no_dead_strip _sym_int_sto
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sym_int_sto
_sym_int_sto: ; @sym_int_sto
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _nc_dsp@GOTPAGE
Lloh1:
ldr x8, [x8, _nc_dsp@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _INL
mov x20, x0
Lloh3:
adrp x8, _DEBUG_FLAGS@GOTPAGE
Lloh4:
ldr x8, [x8, _DEBUG_FLAGS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _DEBUG_TINY@GOTPAGE
Lloh7:
ldr x9, [x9, _DEBUG_TINY@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov w0, #84
bl _putchar
LBB0_2:
Lloh9:
adrp x8, _wf_sel_done@GOTPAGE
Lloh10:
ldr x8, [x8, _wf_sel_done@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x19
bl _SCRIPTA_BA
add x8, x0, #8
cmp x20, x8
b.ne LBB0_4
; %bb.3:
Lloh12:
adrp x8, _HS_SEL_TIMEOUT@GOTPAGE
Lloh13:
ldr x8, [x8, _HS_SEL_TIMEOUT@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _sym_recover_scsi_int
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _sym_start_reset
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _nc_dsp,4,2 ; @nc_dsp
.comm _DEBUG_FLAGS,4,2 ; @DEBUG_FLAGS
.comm _DEBUG_TINY,4,2 ; @DEBUG_TINY
.comm _wf_sel_done,4,2 ; @wf_sel_done
.comm _HS_SEL_TIMEOUT,4,2 ; @HS_SEL_TIMEOUT
.no_dead_strip _sym_int_sto
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/sym/extr_sym_hipd.c_sym_int_sto.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _av7110_set_ir_config ## -- Begin function av7110_set_ir_config
.p2align 4, 0x90
_av7110_set_ir_config: ## @av7110_set_ir_config
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edx
leaq L_.str(%rip), %rsi
movl $4, %edi
callq _dprintk
movq _COMTYPE_PIDFILTER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SetIR@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl (%rbx), %r8d
movq %rbx, %rdi
movl $1, %ecx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _av7110_fw_cmd ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ir config = %08x\n"
.comm _COMTYPE_PIDFILTER,4,2 ## @COMTYPE_PIDFILTER
.comm _SetIR,4,2 ## @SetIR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _av7110_set_ir_config ; -- Begin function av7110_set_ir_config
.p2align 2
_av7110_set_ir_config: ; @av7110_set_ir_config
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w2, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w0, #4
bl _dprintk
Lloh2:
adrp x8, _COMTYPE_PIDFILTER@GOTPAGE
Lloh3:
ldr x8, [x8, _COMTYPE_PIDFILTER@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
Lloh5:
adrp x8, _SetIR@GOTPAGE
Lloh6:
ldr x8, [x8, _SetIR@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
ldr w4, [x19]
mov x0, x19
mov w3, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _av7110_fw_cmd
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ir config = %08x\n"
.comm _COMTYPE_PIDFILTER,4,2 ; @COMTYPE_PIDFILTER
.comm _SetIR,4,2 ; @SetIR
.subsections_via_symbols
| AnghaBench/linux/drivers/media/pci/ttpci/extr_av7110_ir.c_av7110_set_ir_config.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ica_decrypt ## -- Begin function ica_decrypt
.p2align 4, 0x90
_ica_decrypt: ## @ica_decrypt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %r15d, %r15d
cmpl $5, %esi
jl LBB0_16
## %bb.1:
movl %esi, %ebx
movq %rdi, %r14
movl (%rdi), %edi
callq _ntohs
## kill: def $eax killed $eax def $rax
leal -2(%rbx), %ecx
cmpl %ecx, %eax
jne LBB0_16
## %bb.2:
movzbl 2(%r14), %ecx
leaq 3(%r14), %rsi
addl $-2, %eax
cmpl $1, %eax
movq %rax, %rdx
adcq $-1, %rdx
incq %rdx
cmpq $8, %rdx
jb LBB0_13
## %bb.3:
movzbl %cl, %r8d
cmpq $32, %rdx
jae LBB0_8
## %bb.4:
xorl %edi, %edi
jmp LBB0_5
LBB0_8:
movq %rdx, %rdi
andq $-32, %rdi
movd %r8d, %xmm0
pxor %xmm1, %xmm1
pshufb %xmm1, %xmm0
movq %rdi, %r9
negq %r9
leaq (%rax,%r14), %r10
addq $-12, %r10
xorl %r11d, %r11d
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movdqu -17(%r10,%r11), %xmm1
movdqu -16(%r10,%r11), %xmm2
pxor %xmm1, %xmm2
movdqu -1(%r10,%r11), %xmm1
movdqu (%r10,%r11), %xmm3
pxor %xmm1, %xmm3
pxor %xmm0, %xmm3
movdqu %xmm3, (%r10,%r11)
pxor %xmm0, %xmm2
movdqu %xmm2, -16(%r10,%r11)
addq $-32, %r11
cmpq %r11, %r9
jne LBB0_9
## %bb.10:
cmpq %rdi, %rdx
je LBB0_15
## %bb.11:
testb $24, %dl
je LBB0_12
LBB0_5:
movq %rdx, %r9
andq $-8, %r9
movd %r8d, %xmm0
punpcklbw %xmm0, %xmm0 ## xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
movq %r9, %r8
negq %r8
negq %rdi
leaq (%rax,%r14), %r10
addq $-4, %r10
subq %r9, %rax
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq -1(%r10,%rdi), %r11
xorq (%r10,%rdi), %r11
movq %r11, %xmm1
pxor %xmm0, %xmm1
movq %xmm1, (%r10,%rdi)
addq $-8, %rdi
cmpq %rdi, %r8
jne LBB0_6
## %bb.7:
cmpq %r9, %rdx
jne LBB0_13
jmp LBB0_15
LBB0_12:
subq %rdi, %rax
LBB0_13:
incq %rax
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movzbl 1(%r14,%rax), %edx
xorb 2(%r14,%rax), %dl
xorb %cl, %dl
movb %dl, 2(%r14,%rax)
decq %rax
cmpq $1, %rax
ja LBB0_14
LBB0_15:
orb $67, %cl
xorb %cl, 3(%r14)
addl $-3, %ebx
movq %r14, %rdi
movl %ebx, %edx
callq _memmove
movb $0, (%r14,%rbx)
movl $1, %r15d
LBB0_16:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_1850 ## @g_aug_volatile_1850
.p2align 2, 0x0
_g_aug_volatile_1850:
.long 10 ## 0xa
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ica_decrypt ; -- Begin function ica_decrypt
.p2align 2
_ica_decrypt: ; @ica_decrypt
.cfi_startproc
; %bb.0:
cmp w1, #5
b.ge LBB0_2
; %bb.1:
mov w0, #0 ; =0x0
ret
LBB0_2:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
ldr w0, [x0]
bl _ntohs
sub w8, w20, #2
cmp w0, w8
b.ne LBB0_5
; %bb.3:
ldrb w8, [x19, #2]
subs w10, w0, #2
cset w9, ne
sub x9, x10, x9
add x9, x9, #1
cmp x9, #8
b.hs LBB0_6
; %bb.4:
mov x12, x10
b LBB0_16
LBB0_5:
mov w0, #0 ; =0x0
b LBB0_18
LBB0_6:
cmp x9, #64
b.hs LBB0_8
; %bb.7:
mov x11, #0 ; =0x0
b LBB0_12
LBB0_8:
and x11, x9, #0xffffffffffffffc0
dup.16b v0, w8
add x12, x10, x19
sub x12, x12, #29
mov x13, x11
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldp q2, q1, [x12]
ldp q4, q3, [x12, #-32]
ldur q5, [x12, #17]
ldur q6, [x12, #1]
ldur q7, [x12, #-15]
ldur q16, [x12, #-31]
eor3.16b v1, v1, v5, v0
stur q1, [x12, #17]
eor3.16b v1, v2, v6, v0
stur q1, [x12, #1]
eor3.16b v1, v3, v7, v0
stur q1, [x12, #-15]
eor3.16b v1, v4, v16, v0
stur q1, [x12, #-31]
sub x12, x12, #64
sub x13, x13, #64
cbnz x13, LBB0_9
; %bb.10:
cmp x9, x11
b.eq LBB0_17
; %bb.11:
tst x9, #0x38
b.eq LBB0_15
LBB0_12:
and x13, x9, #0xfffffffffffffff8
sub x12, x10, x13
dup.8b v0, w8
sub x14, x11, x13
sub x10, x10, x11
add x10, x10, x19
sub x10, x10, #5
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr d1, [x10]
ldur d2, [x10, #1]
eor.8b v1, v1, v2
eor.8b v1, v1, v0
stur d1, [x10, #1]
sub x10, x10, #8
add x14, x14, #8
cbnz x14, LBB0_13
; %bb.14:
cmp x9, x13
b.ne LBB0_16
b LBB0_17
LBB0_15:
sub x12, x10, x11
LBB0_16: ; =>This Inner Loop Header: Depth=1
add x9, x19, x12
ldrb w10, [x9, #2]
ldrb w11, [x9, #3]
eor w10, w10, w11
eor w10, w10, w8
strb w10, [x9, #3]
subs x12, x12, #1
b.hi LBB0_16
LBB0_17:
mov w9, #67 ; =0x43
orr w8, w8, w9
ldrb w9, [x19, #3]
eor w8, w9, w8
strb w8, [x19, #3]
sub w20, w20, #3
add x1, x19, #3
mov x0, x19
mov x2, x20
bl _memmove
strb wzr, [x19, w20, uxtw]
mov w0, #1 ; =0x1
LBB0_18:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_1850 ; @g_aug_volatile_1850
.p2align 2, 0x0
_g_aug_volatile_1850:
.long 10 ; 0xa
.subsections_via_symbols
| assembly_file_84844.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function radeon_uvd_cs_reloc
_radeon_uvd_cs_reloc: ## @radeon_uvd_cs_reloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, -80(%rbp) ## 8-byte Spill
movq %rcx, -56(%rbp) ## 8-byte Spill
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r12
movq 32(%rdi), %r15
callq _radeon_get_ib_value
movl %eax, %r13d
movq %r12, %rdi
movl %ebx, %esi
callq _radeon_get_ib_value
movl %eax, %esi
movl (%r15), %edx
cmpl %edx, %eax
jae LBB0_1
## %bb.4:
movq 24(%r12), %rax
shrl $2, %esi
movl %r13d, %ebx
movl (%rax,%rsi,8), %r13d
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rsi, -64(%rbp) ## 8-byte Spill
movl 4(%rax,%rsi,8), %edi
callq _radeon_bo_size
movl %eax, %r15d
addl %r13d, %r15d
movl %ebx, -44(%rbp) ## 4-byte Spill
addl %ebx, %r13d
movq 16(%r12), %rax
movslq %r14d, %rcx
movl %r13d, (%rax,%rcx,4)
movl (%r12), %esi
movq %r12, %rdi
callq _radeon_get_ib_value
movl %eax, %esi
sarl %esi
cmpl $7, %eax
ja LBB0_9
## %bb.5:
movl %r15d, %edx
subl %r13d, %edx
jbe LBB0_6
## %bb.7:
movl %esi, %ecx
movq -56(%rbp), %rdi ## 8-byte Reload
movl (%rdi,%rcx,4), %ecx
cmpl %ecx, %edx
jae LBB0_12
## %bb.8:
leaq L_.str.2(%rip), %rdi
xorl %r14d, %r14d
xorl %eax, %eax
callq _DRM_ERROR
jmp LBB0_3
LBB0_1:
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
## kill: def $esi killed $esi killed $rsi
LBB0_2:
xorl %eax, %eax
callq _DRM_ERROR
jmp LBB0_3
LBB0_9:
cmpl $256, %esi ## imm = 0x100
jne LBB0_10
LBB0_12:
movl %r13d, %ecx
shrl $28, %ecx
leal -1(%r15), %edx
shrl $28, %edx
cmpl %edx, %ecx
jne LBB0_13
## %bb.15:
cmpl $2, %eax
jb LBB0_17
## %bb.16:
cmpl $3, %esi
jne LBB0_19
LBB0_17:
movq 8(%r12), %rdx
movl (%rdx), %edx
sarl $28, %edx
cmpl %edx, %ecx
jne LBB0_18
LBB0_19:
movq -80(%rbp), %rdx ## 8-byte Reload
movl (%rdx), %ecx
cmpl $1, %eax
ja LBB0_23
## %bb.20:
testl %ecx, %ecx
je LBB0_25
## %bb.21:
leaq L_.str.6(%rip), %rdi
jmp LBB0_22
LBB0_6:
leaq L_.str.1(%rip), %rdi
xorl %r14d, %r14d
movl -44(%rbp), %esi ## 4-byte Reload
jmp LBB0_11
LBB0_10:
leaq L_.str.3(%rip), %rdi
xorl %r14d, %r14d
LBB0_11:
xorl %eax, %eax
callq _DRM_ERROR
LBB0_3:
movq _EINVAL@GOTPCREL(%rip), %rax
subl (%rax), %r14d
LBB0_27:
movl %r14d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
leaq L_.str.4(%rip), %rdi
jmp LBB0_14
LBB0_23:
testl %ecx, %ecx
jne LBB0_26
## %bb.24:
leaq L_.str.7(%rip), %rdi
LBB0_22:
xorl %r14d, %r14d
xorl %eax, %eax
callq _DRM_ERROR
jmp LBB0_3
LBB0_18:
leaq L_.str.5(%rip), %rdi
LBB0_14:
xorl %r14d, %r14d
movl %r13d, %esi
movl %r15d, %edx
jmp LBB0_2
LBB0_25:
movl $1, (%rdx)
movq -72(%rbp), %rax ## 8-byte Reload
movq -64(%rbp), %rcx ## 8-byte Reload
movl 4(%rax,%rcx,8), %esi
movq %r12, %rdi
movl -44(%rbp), %edx ## 4-byte Reload
movq -56(%rbp), %rcx ## 8-byte Reload
callq _radeon_uvd_cs_msg
movl %eax, %r14d
testl %eax, %eax
jne LBB0_27
LBB0_26:
xorl %r14d, %r14d
jmp LBB0_27
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Relocs at %d after relocations chunk end %d !\n"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.1: ## @.str.1
.asciz "invalid reloc offset %X!\n"
L_.str.2: ## @.str.2
.asciz "buffer (%d) to small (%d / %d)!\n"
L_.str.3: ## @.str.3
.asciz "invalid UVD command %X!\n"
L_.str.4: ## @.str.4
.asciz "reloc %LX-%LX crossing 256MB boundary!\n"
L_.str.5: ## @.str.5
.asciz "msg/fb buffer %LX-%LX out of 256MB segment!\n"
L_.str.6: ## @.str.6
.asciz "More than one message in a UVD-IB!\n"
L_.str.7: ## @.str.7
.asciz "Message needed before other commands are send!\n"
.no_dead_strip _radeon_uvd_cs_reloc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function radeon_uvd_cs_reloc
_radeon_uvd_cs_reloc: ; @radeon_uvd_cs_reloc
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x4
mov x19, x3
mov x24, x2
mov x23, x1
mov x21, x0
ldr x25, [x0, #32]
bl _radeon_get_ib_value
mov x22, x0
mov x0, x21
mov x1, x24
bl _radeon_get_ib_value
; kill: def $w0 killed $w0 def $x0
ldr w8, [x25]
cmp w0, w8
b.hs LBB0_5
; %bb.1:
ldr x8, [x21, #24]
lsr w9, w0, #2
lsl x9, x9, #3
add x24, x8, x9
ldr w25, [x8, x9]
ldr w0, [x24, #4]!
bl _radeon_bo_size
add w26, w0, w25
add w25, w25, w22
ldr x8, [x21, #16]
str w25, [x8, w23, sxtw #2]
ldr w1, [x21]
mov x0, x21
bl _radeon_get_ib_value
asr w8, w0, #1
cmp w0, #7
b.hi LBB0_8
; %bb.2:
subs w9, w26, w25
b.ls LBB0_16
; %bb.3:
ldr w10, [x19, w8, uxtw #2]
cmp w9, w10
b.hs LBB0_9
; %bb.4:
stp x9, x10, [sp, #8]
str x8, [sp]
Lloh0:
adrp x0, l_.str.2@PAGE
Lloh1:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_6
LBB0_5:
stp x0, x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
LBB0_6:
bl _DRM_ERROR
Lloh4:
adrp x8, _EINVAL@GOTPAGE
Lloh5:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
neg w0, w8
LBB0_7:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_8:
cmp w8, #256
b.ne LBB0_17
LBB0_9:
lsr w9, w25, #28
sub w10, w26, #1
cmp w9, w10, lsr #28
b.ne LBB0_18
; %bb.10:
cmp w0, #2
b.lo LBB0_12
; %bb.11:
cmp w8, #3
b.ne LBB0_13
LBB0_12:
ldr x8, [x21, #8]
ldr w8, [x8]
cmp w9, w8, asr #28
b.ne LBB0_21
LBB0_13:
ldr w8, [x20]
cmp w0, #1
b.hi LBB0_19
; %bb.14:
cbz w8, LBB0_22
; %bb.15:
Lloh7:
adrp x0, l_.str.6@PAGE
Lloh8:
add x0, x0, l_.str.6@PAGEOFF
b LBB0_6
LBB0_16:
str x22, [sp]
Lloh9:
adrp x0, l_.str.1@PAGE
Lloh10:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_6
LBB0_17:
; kill: def $w8 killed $w8 killed $x8 def $x8
str x8, [sp]
Lloh11:
adrp x0, l_.str.3@PAGE
Lloh12:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_6
LBB0_18:
stp x25, x26, [sp]
Lloh13:
adrp x0, l_.str.4@PAGE
Lloh14:
add x0, x0, l_.str.4@PAGEOFF
b LBB0_6
LBB0_19:
cbnz w8, LBB0_23
; %bb.20:
Lloh15:
adrp x0, l_.str.7@PAGE
Lloh16:
add x0, x0, l_.str.7@PAGEOFF
b LBB0_6
LBB0_21:
; kill: def $w26 killed $w26 killed $x26 def $x26
; kill: def $w25 killed $w25 killed $x25 def $x25
stp x25, x26, [sp]
Lloh17:
adrp x0, l_.str.5@PAGE
Lloh18:
add x0, x0, l_.str.5@PAGEOFF
b LBB0_6
LBB0_22:
mov w8, #1
str w8, [x20]
ldr w1, [x24]
mov x0, x21
mov x2, x22
mov x3, x19
bl _radeon_uvd_cs_msg
cbnz w0, LBB0_7
LBB0_23:
mov w0, #0
b LBB0_7
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Relocs at %d after relocations chunk end %d !\n"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.1: ; @.str.1
.asciz "invalid reloc offset %X!\n"
l_.str.2: ; @.str.2
.asciz "buffer (%d) to small (%d / %d)!\n"
l_.str.3: ; @.str.3
.asciz "invalid UVD command %X!\n"
l_.str.4: ; @.str.4
.asciz "reloc %LX-%LX crossing 256MB boundary!\n"
l_.str.5: ; @.str.5
.asciz "msg/fb buffer %LX-%LX out of 256MB segment!\n"
l_.str.6: ; @.str.6
.asciz "More than one message in a UVD-IB!\n"
l_.str.7: ; @.str.7
.asciz "Message needed before other commands are send!\n"
.no_dead_strip _radeon_uvd_cs_reloc
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_uvd.c_radeon_uvd_cs_reloc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function d68000_divu
_d68000_divu: ## @d68000_divu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq _g_dasm_str@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _g_cpu_ir@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _get_ea_mode_str_16
movl (%r14), %ecx
shrl $9, %ecx
andl $7, %ecx
leaq L_.str(%rip), %rsi
movl %ebx, %edi
movq %rax, %rdx
popq %rbx
popq %r14
popq %rbp
jmp _sprintf ## TAILCALL
.cfi_endproc
## -- End function
.comm _g_dasm_str,4,2 ## @g_dasm_str
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "divu.w %s, D%d"
.comm _g_cpu_ir,4,2 ## @g_cpu_ir
.no_dead_strip _d68000_divu
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function d68000_divu
_d68000_divu: ; @d68000_divu
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _g_dasm_str@GOTPAGE
Lloh1:
ldr x8, [x8, _g_dasm_str@GOTPAGEOFF]
Lloh2:
ldr w19, [x8]
Lloh3:
adrp x20, _g_cpu_ir@GOTPAGE
Lloh4:
ldr x20, [x20, _g_cpu_ir@GOTPAGEOFF]
ldr w0, [x20]
bl _get_ea_mode_str_16
mov x2, x0
ldr w8, [x20]
ubfx w3, w8, #9, #3
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _sprintf
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _g_dasm_str,4,2 ; @g_dasm_str
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "divu.w %s, D%d"
.comm _g_cpu_ir,4,2 ; @g_cpu_ir
.no_dead_strip _d68000_divu
.subsections_via_symbols
| AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_divu.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function encode_fattr3
_encode_fattr3: ## @encode_fattr3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %rbx
callq _nfsd_user_namespace
movq %rax, %r12
movq _nfs3_ftypes@GOTPCREL(%rip), %rax
movq _S_IFMT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl (%r15), %ecx
movq (%rax), %rax
sarl $12, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edi
callq _htonl
movl %eax, (%rbx)
movq _S_IALLUGO@GOTPCREL(%rip), %rax
movl (%rax), %edi
andl (%r15), %edi
callq _htonl
movl %eax, 4(%rbx)
movl 56(%r15), %edi
callq _htonl
movl %eax, 8(%rbx)
movl 52(%r15), %esi
movq %r12, %rdi
callq _from_kuid_munged
movl %eax, %edi
callq _htonl
movl %eax, 12(%rbx)
movl 48(%r15), %esi
movq %r12, %rdi
callq _from_kgid_munged
movl %eax, %edi
callq _htonl
movl %eax, 16(%rbx)
addq $20, %rbx
movl (%r15), %edi
callq _S_ISLNK
movq 8(%r15), %rcx
movq _NFS3_MAXPATHLEN@GOTPCREL(%rip), %rdx
movq (%rdx), %rsi
cmpq %rsi, %rcx
cmovlel %ecx, %esi
testq %rax, %rax
cmovel %ecx, %esi
movq %rbx, %rdi
## kill: def $esi killed $esi killed $rsi
callq _xdr_encode_hyper
movl 40(%r15), %esi
shll $9, %esi
movq %rax, %rdi
callq _xdr_encode_hyper
movq %rax, %rbx
movl 32(%r15), %edi
callq _MAJOR
movl %eax, %edi
callq _htonl
movl %eax, (%rbx)
movl 32(%r15), %edi
callq _MINOR
movl %eax, %edi
callq _htonl
movl %eax, 4(%rbx)
addq $8, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq _encode_fsid
movl 16(%r15), %esi
movq %rax, %rdi
callq _xdr_encode_hyper
movq %rax, %rbx
movl 28(%r15), %edi
callq _timespec64_to_timespec
movl %eax, -40(%rbp)
leaq -40(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq _encode_time3
movq %rax, %rbx
movl 24(%r15), %edi
callq _timespec64_to_timespec
movl %eax, -40(%rbp)
movq %rbx, %rdi
movq %r14, %rsi
callq _encode_time3
movq %rax, %rbx
movl 20(%r15), %edi
callq _timespec64_to_timespec
movl %eax, -40(%rbp)
movq %rbx, %rdi
movq %r14, %rsi
callq _encode_time3
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _nfs3_ftypes,8,3 ## @nfs3_ftypes
.comm _S_IFMT,4,2 ## @S_IFMT
.comm _S_IALLUGO,4,2 ## @S_IALLUGO
.comm _NFS3_MAXPATHLEN,8,3 ## @NFS3_MAXPATHLEN
.no_dead_strip _encode_fattr3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function encode_fattr3
_encode_fattr3: ; @encode_fattr3
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x21, x1
bl _nfsd_user_namespace
mov x22, x0
Lloh0:
adrp x8, _nfs3_ftypes@GOTPAGE
Lloh1:
ldr x8, [x8, _nfs3_ftypes@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _S_IFMT@GOTPAGE
Lloh4:
ldr x9, [x9, _S_IFMT@GOTPAGEOFF]
ldr w10, [x19]
Lloh5:
ldr w9, [x9]
and w9, w9, w10
asr w9, w9, #12
ldr w0, [x8, w9, sxtw #2]
bl _htonl
str w0, [x21]
ldr w8, [x19]
Lloh6:
adrp x9, _S_IALLUGO@GOTPAGE
Lloh7:
ldr x9, [x9, _S_IALLUGO@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
and w0, w9, w8
bl _htonl
str w0, [x21, #4]
ldr w0, [x19, #56]
bl _htonl
str w0, [x21, #8]
ldr w1, [x19, #52]
mov x0, x22
bl _from_kuid_munged
; kill: def $w0 killed $w0 killed $x0
bl _htonl
str w0, [x21, #12]
ldr w1, [x19, #48]
mov x0, x22
bl _from_kgid_munged
; kill: def $w0 killed $w0 killed $x0
bl _htonl
add x22, x21, #20
str w0, [x21, #16]
ldr w0, [x19]
bl _S_ISLNK
ldr x8, [x19, #8]
Lloh9:
adrp x9, _NFS3_MAXPATHLEN@GOTPAGE
Lloh10:
ldr x9, [x9, _NFS3_MAXPATHLEN@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x8, x9
ccmp x0, #0, #4, gt
csel w1, w9, w8, ne
mov x0, x22
bl _xdr_encode_hyper
ldr w8, [x19, #40]
lsl w1, w8, #9
bl _xdr_encode_hyper
mov x21, x0
ldr w0, [x19, #32]
bl _MAJOR
; kill: def $w0 killed $w0 killed $x0
bl _htonl
str w0, [x21]
ldr w0, [x19, #32]
bl _MINOR
; kill: def $w0 killed $w0 killed $x0
bl _htonl
add x8, x21, #8
str w0, [x21, #4]
mov x0, x8
mov x1, x20
bl _encode_fsid
ldr w1, [x19, #16]
bl _xdr_encode_hyper
mov x20, x0
ldr w0, [x19, #28]
bl _timespec64_to_timespec
str w0, [sp, #8]
add x1, sp, #8
mov x0, x20
bl _encode_time3
mov x20, x0
ldr w0, [x19, #24]
bl _timespec64_to_timespec
str w0, [sp, #8]
add x1, sp, #8
mov x0, x20
bl _encode_time3
mov x20, x0
ldr w0, [x19, #20]
bl _timespec64_to_timespec
str w0, [sp, #8]
add x1, sp, #8
mov x0, x20
bl _encode_time3
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _nfs3_ftypes,8,3 ; @nfs3_ftypes
.comm _S_IFMT,4,2 ; @S_IFMT
.comm _S_IALLUGO,4,2 ; @S_IALLUGO
.comm _NFS3_MAXPATHLEN,8,3 ; @NFS3_MAXPATHLEN
.no_dead_strip _encode_fattr3
.subsections_via_symbols
| AnghaBench/linux/fs/nfsd/extr_nfs3xdr.c_encode_fattr3.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nfs_callback_bc_serv
_nfs_callback_bc_serv: ## @nfs_callback_bc_serv
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _nfs_callback_bc_serv
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nfs_callback_bc_serv
_nfs_callback_bc_serv: ; @nfs_callback_bc_serv
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _nfs_callback_bc_serv
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/nfs/extr_callback.c_nfs_callback_bc_serv.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
brk #0x1
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/128012.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function w16
_w16: ## @w16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rdi
movq (%rdi), %rax
popq %rbp
jmpq *%rax ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _w16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function w16
_w16: ; @w16
.cfi_startproc
; %bb.0:
ldr x0, [x0]
ldr x4, [x0]
br x4
.cfi_endproc
; -- End function
.no_dead_strip _w16
.subsections_via_symbols
| AnghaBench/lede/target/linux/generic/files/drivers/net/phy/extr_mvswitch.c_w16.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %ebx
callq ___hwasan_enable_allocator_tagging
movl $1, %r15d
cmpl $2, %ebx
jl LBB0_2
## %bb.1:
movq 8(%r14), %rdi
callq _atoi
movslq %eax, %r15
LBB0_2:
xorl %ebx, %ebx
movq _p@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _malloc
movq %rax, (%r14,%rbx,8)
incq %rbx
cmpq $100, %rbx
jne LBB0_3
## %bb.4:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%r14,%rbx,8), %rdi
callq _free
incq %rbx
cmpq $100, %rbx
jne LBB0_5
## %bb.6:
movq (%r14,%r15,8), %rax
movl $0, (%rax)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _p,800,4 ## @p
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl ___hwasan_enable_allocator_tagging
cmp w20, #2
b.lt LBB0_2
; %bb.1:
ldr x0, [x19, #8]
bl _atoi
; kill: def $w0 killed $w0 def $x0
sxtw x20, w0
b LBB0_3
LBB0_2:
mov w20, #1
LBB0_3:
mov x19, #0
Lloh0:
adrp x21, _p@GOTPAGE
Lloh1:
ldr x21, [x21, _p@GOTPAGEOFF]
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _malloc
str x0, [x21, x19, lsl #3]
add x19, x19, #1
cmp x19, #100
b.ne LBB0_4
; %bb.5:
mov x19, #0
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x0, [x21, x19]
bl _free
add x19, x19, #8
cmp x19, #800
b.ne LBB0_6
; %bb.7:
ldr x8, [x21, x20, lsl #3]
str wzr, [x8]
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _p,800,3 ; @p
.subsections_via_symbols
| the_stack_data/193891922.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function efx_ef10_filter_get_rx_ids
_efx_ef10_filter_get_rx_ids: ## @efx_ef10_filter_get_rx_ids
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -44(%rbp) ## 4-byte Spill
movq %rdx, -64(%rbp) ## 8-byte Spill
movl %esi, %r12d
movq %rdi, %rbx
callq _down_read
movq %rbx, -56(%rbp) ## 8-byte Spill
movq 8(%rbx), %rbx
movq %rbx, %rdi
callq _down_read
xorl %r13d, %r13d
movq _HUNT_FILTER_TBL_ROWS@GOTPCREL(%rip), %r14
xorl %r15d, %r15d
jmp LBB0_1
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
movq %rax, %rsi
callq _efx_ef10_filter_pri
movl %eax, %edi
movl %r15d, %esi
callq _efx_ef10_make_filter_id
movslq %r13d, %rcx
incl %r13d
movq -64(%rbp), %rdx ## 8-byte Reload
movl %eax, (%rdx,%rcx,4)
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
incl %r15d
cmpl (%r14), %r15d
ja LBB0_7
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl %r15d, %esi
callq _efx_ef10_filter_entry_spec
testq %rax, %rax
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl %r12d, (%rax)
jne LBB0_6
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl -44(%rbp), %r13d ## 4-byte Folded Reload
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
xorl %r13d, %r13d
movq _EMSGSIZE@GOTPCREL(%rip), %rax
subl (%rax), %r13d
jmp LBB0_6
LBB0_7:
movq %rbx, %rdi
callq _up_read
movq -56(%rbp), %rdi ## 8-byte Reload
callq _up_read
movl %r13d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HUNT_FILTER_TBL_ROWS,4,2 ## @HUNT_FILTER_TBL_ROWS
.comm _EMSGSIZE,4,2 ## @EMSGSIZE
.no_dead_strip _efx_ef10_filter_get_rx_ids
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function efx_ef10_filter_get_rx_ids
_efx_ef10_filter_get_rx_ids: ; @efx_ef10_filter_get_rx_ids
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x3
mov x21, x2
mov x22, x1
mov x19, x0
bl _down_read
ldr x23, [x19, #8]
mov x0, x23
bl _down_read
mov w24, #0 ; =0x0
mov w25, #0 ; =0x0
Lloh0:
adrp x26, _HUNT_FILTER_TBL_ROWS@GOTPAGE
Lloh1:
ldr x26, [x26, _HUNT_FILTER_TBL_ROWS@GOTPAGEOFF]
Lloh2:
adrp x27, _EMSGSIZE@GOTPAGE
Lloh3:
ldr x27, [x27, _EMSGSIZE@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov x0, x23
bl _efx_ef10_filter_pri
mov x1, x25
bl _efx_ef10_make_filter_id
str w0, [x21, w24, sxtw #2]
add w24, w24, #1
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w25, w25, #1
ldr w8, [x26]
cmp w25, w8
b.hi LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x23
mov x1, x25
bl _efx_ef10_filter_entry_spec
cbz x0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x1, x0
ldr w8, [x0]
cmp w8, w22
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cmp w24, w20
b.ne LBB0_1
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x27]
neg w24, w8
b LBB0_2
LBB0_7:
mov x0, x23
bl _up_read
mov x0, x19
bl _up_read
mov x0, x24
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _HUNT_FILTER_TBL_ROWS,4,2 ; @HUNT_FILTER_TBL_ROWS
.comm _EMSGSIZE,4,2 ; @EMSGSIZE
.no_dead_strip _efx_ef10_filter_get_rx_ids
.subsections_via_symbols
| assembly_file_182011.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq L_.str(%rip), %rdi
leaq -20(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpb $48, -20(%rbp)
movb -18(%rbp), %sil
jne LBB0_3
## %bb.1:
cmpb $48, -19(%rbp)
jne LBB0_3
## %bb.2:
addb $-50, %sil
cmpb $4, %sil
setb %al
jmp LBB0_16
LBB0_3:
leal -48(%rsi), %eax
cmpb $6, %al
setb %cl
movsbl -17(%rbp), %edx
cmpl $51, %edx
setl %al
andb %cl, %al
cmpb $53, %sil
ja LBB0_16
## %bb.4:
leal (%rdx,%rdx,4), %ecx
movsbl -16(%rbp), %edi
leal (%rdi,%rcx,2), %ecx
addl $-480, %ecx ## imm = 0xFE20
movzbl %sil, %esi
movabsq $5910974510923776, %rdi ## imm = 0x15000000000000
btq %rsi, %rdi
jb LBB0_10
## %bb.5:
movabsq $11821949021847552, %rdi ## imm = 0x2A000000000000
btq %rsi, %rdi
jae LBB0_16
## %bb.6:
cmpl $50, %edx
je LBB0_14
## %bb.7:
cmpl $49, %edx
je LBB0_13
## %bb.8:
cmpl $48, %edx
je LBB0_9
jmp LBB0_16
LBB0_10:
addl $-49, %edx
cmpl $8, %edx
ja LBB0_16
## %bb.11:
leaq LJTI0_0(%rip), %rsi
movslq (%rsi,%rdx,4), %rdx
addq %rsi, %rdx
jmpq *%rdx
LBB0_9:
cmpl $79, %ecx
jle LBB0_16
LBB0_15:
xorl %eax, %eax
LBB0_16:
movzbl %al, %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -8(%rbp), %rax
jne LBB0_18
## %bb.17:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
LBB0_13:
cmpl $78, %ecx
jg LBB0_15
jmp LBB0_16
LBB0_14:
cmpl $80, %ecx
jge LBB0_15
jmp LBB0_16
LBB0_12:
cmpl $77, %ecx
jg LBB0_15
jmp LBB0_16
LBB0_18:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
.long L0_0_set_9
.long L0_0_set_12
.long L0_0_set_9
.long L0_0_set_13
.long L0_0_set_9
.long L0_0_set_13
.long L0_0_set_9
.long L0_0_set_9
.long L0_0_set_13
.end_data_region
## -- End function
.globl _correct_month ## -- Begin function correct_month
.p2align 4, 0x90
_correct_month: ## @correct_month
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzbl 2(%rdi), %edx
cmpq $53, %rdx
ja LBB1_13
## %bb.1:
movsbl 3(%rdi), %ecx
leal (%rcx,%rcx,4), %eax
movsbl 4(%rdi), %edi
leal (%rdi,%rax,2), %eax
addl $-480, %eax ## imm = 0xFE20
movabsq $5910974510923776, %rdi ## imm = 0x15000000000000
btq %rdx, %rdi
jb LBB1_7
## %bb.2:
movabsq $11821949021847552, %rdi ## imm = 0x2A000000000000
btq %rdx, %rdi
jae LBB1_13
## %bb.3:
cmpl $50, %ecx
je LBB1_11
## %bb.4:
cmpl $49, %ecx
je LBB1_10
## %bb.5:
cmpl $48, %ecx
je LBB1_6
LBB1_13:
popq %rbp
retq
LBB1_7:
addl $-49, %ecx
cmpl $8, %ecx
ja LBB1_13
## %bb.8:
leaq LJTI1_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
LBB1_6:
cmpl $79, %eax
jle LBB1_13
jmp LBB1_12
LBB1_10:
cmpl $78, %eax
jle LBB1_13
jmp LBB1_12
LBB1_11:
cmpl $80, %eax
jl LBB1_13
jmp LBB1_12
LBB1_9:
cmpl $77, %eax
jle LBB1_13
LBB1_12:
movl $0, (%rsi)
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_6, LBB1_6-LJTI1_0
.set L1_0_set_9, LBB1_9-LJTI1_0
.set L1_0_set_10, LBB1_10-LJTI1_0
LJTI1_0:
.long L1_0_set_6
.long L1_0_set_9
.long L1_0_set_6
.long L1_0_set_10
.long L1_0_set_6
.long L1_0_set_10
.long L1_0_set_6
.long L1_0_set_6
.long L1_0_set_10
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-8]
add x8, sp, #12
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldrb w8, [sp, #12]
ldrb w11, [sp, #14]
cmp w8, #48
b.ne LBB0_3
; %bb.1:
ldrb w8, [sp, #13]
cmp w8, #48
b.ne LBB0_3
; %bb.2:
sub w8, w11, #50
cmp w8, #4
cset w8, lo
b LBB0_13
LBB0_3:
sub w8, w11, #48
ldrsb w10, [sp, #15]
cmp w10, #51
ccmp w8, #6, #2, lt
cset w8, lo
cmp w11, #53
b.hi LBB0_13
; %bb.4:
mov w9, #10
ldrsb w12, [sp, #16]
madd w9, w10, w9, w12
sub w9, w9, #480
mov w12, #1
lsl x12, x12, x11
mov x13, #5910974510923776
tst x12, x13
b.ne LBB0_9
; %bb.5:
mov w12, #1
lsl x11, x12, x11
mov x12, #11821949021847552
tst x11, x12
b.eq LBB0_13
; %bb.6:
cmp w10, #50
b.eq LBB0_16
; %bb.7:
cmp w10, #49
b.eq LBB0_15
; %bb.8:
cmp w10, #48
b.eq LBB0_11
b LBB0_13
LBB0_9:
sub w10, w10, #49
cmp w10, #8
b.hi LBB0_13
; %bb.10:
Lloh5:
adrp x11, lJTI0_0@PAGE
Lloh6:
add x11, x11, lJTI0_0@PAGEOFF
adr x12, LBB0_11
ldrb w13, [x11, x10]
add x12, x12, x13, lsl #2
br x12
LBB0_11:
cmp w9, #79
b.le LBB0_13
LBB0_12:
mov w8, #0
LBB0_13:
mov w8, w8
str x8, [sp]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_18
; %bb.14:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_15:
cmp w9, #78
b.gt LBB0_12
b LBB0_13
LBB0_16:
cmp w9, #80
b.ge LBB0_12
b LBB0_13
LBB0_17:
cmp w9, #77
b.gt LBB0_12
b LBB0_13
LBB0_18:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_11-LBB0_11)>>2
.byte (LBB0_17-LBB0_11)>>2
.byte (LBB0_11-LBB0_11)>>2
.byte (LBB0_15-LBB0_11)>>2
.byte (LBB0_11-LBB0_11)>>2
.byte (LBB0_15-LBB0_11)>>2
.byte (LBB0_11-LBB0_11)>>2
.byte (LBB0_11-LBB0_11)>>2
.byte (LBB0_15-LBB0_11)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _correct_month ; -- Begin function correct_month
.p2align 2
_correct_month: ; @correct_month
.cfi_startproc
; %bb.0:
ldrb w10, [x0, #2]
cmp w10, #53
b.hi LBB1_6
; %bb.1:
ldrsb w9, [x0, #3]
mov w8, #10
ldrsb w11, [x0, #4]
madd w8, w9, w8, w11
sub w8, w8, #480
mov w11, #1
lsl x11, x11, x10
mov x12, #5910974510923776
tst x11, x12
b.ne LBB1_7
; %bb.2:
mov w11, #1
lsl x10, x11, x10
mov x11, #11821949021847552
tst x10, x11
b.eq LBB1_6
; %bb.3:
cmp w9, #50
b.eq LBB1_11
; %bb.4:
cmp w9, #49
b.eq LBB1_10
; %bb.5:
cmp w9, #48
b.eq LBB1_9
LBB1_6:
ret
LBB1_7:
sub w9, w9, #49
cmp w9, #8
b.hi LBB1_6
; %bb.8:
Lloh12:
adrp x10, lJTI1_0@PAGE
Lloh13:
add x10, x10, lJTI1_0@PAGEOFF
adr x11, LBB1_9
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
LBB1_9:
cmp w8, #79
b.le LBB1_6
b LBB1_13
LBB1_10:
cmp w8, #78
b.le LBB1_6
b LBB1_13
LBB1_11:
cmp w8, #80
b.lt LBB1_6
b LBB1_13
LBB1_12:
cmp w8, #77
b.le LBB1_6
LBB1_13:
str wzr, [x1]
ret
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
.section __TEXT,__const
lJTI1_0:
.byte (LBB1_9-LBB1_9)>>2
.byte (LBB1_12-LBB1_9)>>2
.byte (LBB1_9-LBB1_9)>>2
.byte (LBB1_10-LBB1_9)>>2
.byte (LBB1_9-LBB1_9)>>2
.byte (LBB1_10-LBB1_9)>>2
.byte (LBB1_9-LBB1_9)>>2
.byte (LBB1_9-LBB1_9)>>2
.byte (LBB1_10-LBB1_9)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/64866.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _simcons_register ## -- Begin function simcons_register
.p2align 4, 0x90
_simcons_register: ## @simcons_register
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
callq _ia64_platform_is
movl %eax, %ecx
movl $1, %eax
testl %ecx, %ecx
je LBB0_3
## %bb.1:
movq _hpsim_cons@GOTPCREL(%rip), %rcx
movq _CON_ENABLED@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
testl %edx, (%rcx)
je LBB0_2
LBB0_3:
popq %rbp
retq
LBB0_2:
movq _hpsim_cons@GOTPCREL(%rip), %rdi
callq _register_console
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hpsim"
.comm _hpsim_cons,4,2 ## @hpsim_cons
.comm _CON_ENABLED,4,2 ## @CON_ENABLED
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _simcons_register ; -- Begin function simcons_register
.p2align 2
_simcons_register: ; @simcons_register
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _ia64_platform_is
cbz w0, LBB0_2
; %bb.1:
Lloh2:
adrp x8, _hpsim_cons@GOTPAGE
Lloh3:
ldr x8, [x8, _hpsim_cons@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
adrp x9, _CON_ENABLED@GOTPAGE
Lloh6:
ldr x9, [x9, _CON_ENABLED@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
LBB0_2:
mov w0, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh8:
adrp x0, _hpsim_cons@GOTPAGE
Lloh9:
ldr x0, [x0, _hpsim_cons@GOTPAGEOFF]
bl _register_console
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hpsim"
.comm _hpsim_cons,4,2 ; @hpsim_cons
.comm _CON_ENABLED,4,2 ; @CON_ENABLED
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/ia64/hp/sim/extr_hpsim_console.c_simcons_register.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rbx
leaq -16(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl $10, %edi
callq _putchar
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -12(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl $10, %edi
callq _putchar
movl -16(%rbp), %ebx
movl %ebx, %eax
cltd
idivl -12(%rbp)
leal 3(%rbx), %eax
testl %ebx, %ebx
cmovnsl %ebx, %eax
andl $-4, %eax
subl %eax, %ebx
leaq L_.str.4(%rip), %rdi
movl %edx, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.5(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a dividend:"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Enter a divisor:"
L_.str.4: ## @.str.4
.asciz "The modulus result is: %d\n"
L_.str.5: ## @.str.5
.asciz "The mod-by-4 result is: %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
mov w0, #10
bl _putchar
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add x8, sp, #8
str x8, [sp]
mov x0, x19
bl _scanf
mov w0, #10
bl _putchar
ldp w9, w8, [sp, #8]
sdiv w10, w8, w9
msub w9, w10, w9, w8
negs w10, w8
and w10, w10, #0x3
and w8, w8, #0x3
csneg w19, w8, w10, mi
str x9, [sp]
Lloh6:
adrp x0, l_.str.4@PAGE
Lloh7:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
str x19, [sp]
Lloh8:
adrp x0, l_.str.5@PAGE
Lloh9:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a dividend:"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Enter a divisor:"
l_.str.4: ; @.str.4
.asciz "The modulus result is: %d\n"
l_.str.5: ; @.str.5
.asciz "The mod-by-4 result is: %d\n"
.subsections_via_symbols
| the_stack_data/37637120.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nsp_read
_nsp_read: ## @nsp_read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl %esi, %edi
popq %rbp
jmp _inb ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _nsp_read
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nsp_read
_nsp_read: ; @nsp_read
.cfi_startproc
; %bb.0:
add w0, w1, w0
b _inb
.cfi_endproc
; -- End function
.no_dead_strip _nsp_read
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/pcmcia/extr_nsp_io.h_nsp_read.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function clk_frac_set_rate
_clk_frac_set_rate: ## @clk_frac_set_rate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rsi, %rbx
callq _to_clk_frac
cmpq %r15, %rbx
ja LBB0_2
## %bb.1:
movq %rax, %r14
movb (%rax), %cl
shll %cl, %ebx
movl %ebx, %edi
movq %r15, %rsi
callq _do_div
testl %ebx, %ebx
je LBB0_2
## %bb.3:
movq _mxs_lock@GOTPCREL(%rip), %r15
movq %r15, %rdi
callq _spin_lock_irqsave
movl 12(%r14), %edi
callq _readl_relaxed
movb (%r14), %cl
movb 4(%r14), %dl
movl $-1, %esi
shll %cl, %esi
notl %esi
movl %edx, %ecx
shll %cl, %esi
shll %cl, %ebx
notl %esi
andl %eax, %esi
orl %esi, %ebx
movl 12(%r14), %esi
movl %ebx, %edi
callq _writel_relaxed
movq %r15, %rdi
callq _spin_unlock_irqrestore
movl 8(%r14), %esi
movl 12(%r14), %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _mxs_clk_wait ## TAILCALL
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _mxs_lock,4,2 ## @mxs_lock
.no_dead_strip _clk_frac_set_rate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function clk_frac_set_rate
_clk_frac_set_rate: ; @clk_frac_set_rate
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x20, x1
bl _to_clk_frac
cmp x20, x21
b.hi LBB0_3
; %bb.1:
mov x19, x0
ldr w8, [x0]
lsl w20, w20, w8
mov x0, x20
mov x1, x21
bl _do_div
cbz w20, LBB0_3
; %bb.2:
Lloh0:
adrp x21, _mxs_lock@GOTPAGE
Lloh1:
ldr x21, [x21, _mxs_lock@GOTPAGEOFF]
mov x0, x21
bl _spin_lock_irqsave
ldr w0, [x19, #12]
bl _readl_relaxed
mov w8, #-1
ldp w9, w10, [x19]
lsl w8, w8, w9
mvn w8, w8
lsl w8, w8, w10
bic w8, w0, w8
lsl w9, w20, w10
orr w0, w8, w9
ldr w1, [x19, #12]
bl _writel_relaxed
mov x0, x21
bl _spin_unlock_irqrestore
ldp w1, w0, [x19, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _mxs_clk_wait
LBB0_3:
Lloh2:
adrp x8, _EINVAL@GOTPAGE
Lloh3:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _mxs_lock,4,2 ; @mxs_lock
.no_dead_strip _clk_frac_set_rate
.subsections_via_symbols
| AnghaBench/linux/drivers/clk/mxs/extr_clk-frac.c_clk_frac_set_rate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vfio_pci_ibm_npu2_init ## -- Begin function vfio_pci_ibm_npu2_init
.p2align 4, 0x90
_vfio_pci_ibm_npu2_init: ## @vfio_pci_ibm_npu2_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movl $0, -40(%rbp)
movq (%rdi), %rbx
movq %rbx, %rdi
callq _pci_device_to_OF_node
movq %rax, %r14
movl 4(%rbx), %edi
callq _pci_bus_to_host
movq %rax, %r12
movq $0, -48(%rbp)
movq $0, -56(%rbp)
movl $255, -36(%rbp)
movq (%r15), %rdi
callq _pnv_pci_get_gpu_dev
testl %eax, %eax
je LBB0_3
## %bb.1:
movl (%rbx), %edi
leaq L_.str(%rip), %rsi
xorl %ebx, %ebx
xorl %edx, %edx
callq _of_parse_phandle
leaq L_.str.1(%rip), %rsi
leaq -40(%rbp), %rdx
movq %rax, %rdi
callq _of_property_read_u32
movq %rax, %rdi
callq _WARN_ON
testq %rax, %rax
je LBB0_4
## %bb.2:
movq _ENODEV@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_3:
movq _ENODEV@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_4:
movl (%r12), %edi
movl -40(%rbp), %edx
leaq L_.str.2(%rip), %rsi
leaq -48(%rbp), %rcx
callq _of_property_read_u64_index
testq %rax, %rax
je LBB0_6
## %bb.5:
movq (%r15), %rdi
leaq L_.str.3(%rip), %rsi
callq _dev_warn
movq $0, -48(%rbp)
LBB0_6:
leaq L_.str.4(%rip), %rsi
leaq -56(%rbp), %rdx
movq %r14, %rdi
callq _of_property_read_u64
testq %rax, %rax
je LBB0_8
## %bb.7:
movq (%r15), %rdi
leaq L_.str.5(%rip), %rsi
jmp LBB0_10
LBB0_8:
leaq L_.str.6(%rip), %rsi
leaq -36(%rbp), %rdx
movq %r14, %rdi
callq _of_property_read_u32
testq %rax, %rax
je LBB0_14
## %bb.9:
movq (%r15), %rdi
leaq L_.str.7(%rip), %rsi
LBB0_10:
callq _dev_warn
movq _EFAULT@GOTPCREL(%rip), %rax
LBB0_11:
xorl %ebx, %ebx
LBB0_12:
subl (%rax), %ebx
LBB0_13:
movl %ebx, %eax
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $32, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_19
## %bb.15:
movq %rax, %r14
movq -48(%rbp), %rdi
movq %rdi, 16(%rax)
movq -56(%rbp), %rax
movq %rax, 24(%r14)
movl -36(%rbp), %eax
movl %eax, (%r14)
testq %rdi, %rdi
je LBB0_20
## %bb.16:
movq _SZ_64K@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _MEMREMAP_WT@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _memremap
movq %rax, 8(%r14)
testq %rax, %rax
je LBB0_26
## %bb.17:
movq _PCI_VENDOR_ID_IBM@GOTPCREL(%rip), %rax
movq _VFIO_REGION_TYPE_PCI_VENDOR_TYPE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
cmpq $0, 16(%r14)
movq _VFIO_REGION_SUBTYPE_IBM_NVLINK2_ATSD@GOTPCREL(%rip), %rax
movl (%rax), %edx
je LBB0_21
## %bb.18:
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %r8d
jmp LBB0_22
LBB0_19:
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_20:
movq _PCI_VENDOR_ID_IBM@GOTPCREL(%rip), %rax
movq _VFIO_REGION_TYPE_PCI_VENDOR_TYPE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
movq _VFIO_REGION_SUBTYPE_IBM_NVLINK2_ATSD@GOTPCREL(%rip), %rax
movl (%rax), %edx
LBB0_21:
xorl %r8d, %r8d
LBB0_22:
movq _VFIO_REGION_INFO_FLAG_READ@GOTPCREL(%rip), %rax
movq _VFIO_REGION_INFO_FLAG_WRITE@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
orl (%rax), %r9d
movq _VFIO_REGION_INFO_FLAG_MMAP@GOTPCREL(%rip), %rax
orl (%rax), %r9d
movq %r14, (%rsp)
movq _vfio_pci_npu2_regops@GOTPCREL(%rip), %rcx
movq %r15, %rdi
callq _vfio_pci_register_dev_region
testl %eax, %eax
je LBB0_25
## %bb.23:
movl %eax, %ebx
movq 8(%r14), %rdi
testq %rdi, %rdi
je LBB0_27
## %bb.24:
callq _memunmap
jmp LBB0_27
LBB0_25:
xorl %ebx, %ebx
jmp LBB0_13
LBB0_26:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_27:
movq %r14, %rdi
callq _kfree
jmp LBB0_13
.cfi_endproc
## -- End function
.comm _ENODEV,4,2 ## @ENODEV
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ibm,nvlink"
L_.str.1: ## @.str.1
.asciz "ibm,npu-link-index"
L_.str.2: ## @.str.2
.asciz "ibm,mmio-atsd"
L_.str.3: ## @.str.3
.asciz "No available ATSD found\n"
L_.str.4: ## @.str.4
.asciz "ibm,device-tgt-addr"
L_.str.5: ## @.str.5
.asciz "No ibm,device-tgt-addr found\n"
.comm _EFAULT,4,2 ## @EFAULT
L_.str.6: ## @.str.6
.asciz "ibm,nvlink-speed"
L_.str.7: ## @.str.7
.asciz "No ibm,nvlink-speed found\n"
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _SZ_64K,4,2 ## @SZ_64K
.comm _MEMREMAP_WT,4,2 ## @MEMREMAP_WT
.comm _PCI_VENDOR_ID_IBM,4,2 ## @PCI_VENDOR_ID_IBM
.comm _VFIO_REGION_TYPE_PCI_VENDOR_TYPE,4,2 ## @VFIO_REGION_TYPE_PCI_VENDOR_TYPE
.comm _VFIO_REGION_SUBTYPE_IBM_NVLINK2_ATSD,4,2 ## @VFIO_REGION_SUBTYPE_IBM_NVLINK2_ATSD
.comm _vfio_pci_npu2_regops,4,2 ## @vfio_pci_npu2_regops
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _VFIO_REGION_INFO_FLAG_READ,4,2 ## @VFIO_REGION_INFO_FLAG_READ
.comm _VFIO_REGION_INFO_FLAG_WRITE,4,2 ## @VFIO_REGION_INFO_FLAG_WRITE
.comm _VFIO_REGION_INFO_FLAG_MMAP,4,2 ## @VFIO_REGION_INFO_FLAG_MMAP
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vfio_pci_ibm_npu2_init ; -- Begin function vfio_pci_ibm_npu2_init
.p2align 2
_vfio_pci_ibm_npu2_init: ; @vfio_pci_ibm_npu2_init
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
str wzr, [sp, #28]
ldr x22, [x0]
mov x0, x22
bl _pci_device_to_OF_node
mov x20, x0
ldr w0, [x22, #4]
bl _pci_bus_to_host
mov x21, x0
stp xzr, xzr, [sp, #8]
mov w8, #255
str w8, [sp, #4]
ldr x0, [x19]
bl _pnv_pci_get_gpu_dev
cbz w0, LBB0_2
; %bb.1:
ldr w0, [x22]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w2, #0
bl _of_parse_phandle
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
add x2, sp, #28
bl _of_property_read_u32
bl _WARN_ON
cbz x0, LBB0_3
LBB0_2:
Lloh4:
adrp x8, _ENODEV@GOTPAGE
Lloh5:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
b LBB0_10
LBB0_3:
ldr w0, [x21]
ldr w2, [sp, #28]
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
add x3, sp, #16
bl _of_property_read_u64_index
cbz x0, LBB0_5
; %bb.4:
ldr x0, [x19]
Lloh8:
adrp x1, l_.str.3@PAGE
Lloh9:
add x1, x1, l_.str.3@PAGEOFF
bl _dev_warn
str xzr, [sp, #16]
LBB0_5:
Lloh10:
adrp x1, l_.str.4@PAGE
Lloh11:
add x1, x1, l_.str.4@PAGEOFF
add x2, sp, #8
mov x0, x20
bl _of_property_read_u64
cbz x0, LBB0_7
; %bb.6:
ldr x0, [x19]
Lloh12:
adrp x1, l_.str.5@PAGE
Lloh13:
add x1, x1, l_.str.5@PAGEOFF
b LBB0_9
LBB0_7:
Lloh14:
adrp x1, l_.str.6@PAGE
Lloh15:
add x1, x1, l_.str.6@PAGEOFF
add x2, sp, #4
mov x0, x20
bl _of_property_read_u32
cbz x0, LBB0_12
; %bb.8:
ldr x0, [x19]
Lloh16:
adrp x1, l_.str.7@PAGE
Lloh17:
add x1, x1, l_.str.7@PAGEOFF
LBB0_9:
bl _dev_warn
Lloh18:
adrp x8, _EFAULT@GOTPAGE
Lloh19:
ldr x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_10:
ldr w8, [x8]
neg w19, w8
LBB0_11:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_12:
Lloh20:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh21:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
mov w0, #32
bl _kzalloc
cbz x0, LBB0_17
; %bb.13:
mov x20, x0
ldp x8, x0, [sp, #8]
stp x0, x8, [x20, #16]
ldr w8, [sp, #4]
str w8, [x20]
cbz x0, LBB0_18
; %bb.14:
Lloh23:
adrp x8, _SZ_64K@GOTPAGE
Lloh24:
ldr x8, [x8, _SZ_64K@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
Lloh26:
adrp x8, _MEMREMAP_WT@GOTPAGE
Lloh27:
ldr x8, [x8, _MEMREMAP_WT@GOTPAGEOFF]
Lloh28:
ldr w2, [x8]
bl _memremap
str x0, [x20, #8]
cbz x0, LBB0_23
; %bb.15:
ldr x8, [x20, #16]
Lloh29:
adrp x9, _PCI_VENDOR_ID_IBM@GOTPAGE
Lloh30:
ldr x9, [x9, _PCI_VENDOR_ID_IBM@GOTPAGEOFF]
Lloh31:
adrp x10, _VFIO_REGION_TYPE_PCI_VENDOR_TYPE@GOTPAGE
Lloh32:
ldr x10, [x10, _VFIO_REGION_TYPE_PCI_VENDOR_TYPE@GOTPAGEOFF]
Lloh33:
ldr w9, [x9]
Lloh34:
ldr w10, [x10]
orr w1, w10, w9
Lloh35:
adrp x9, _VFIO_REGION_SUBTYPE_IBM_NVLINK2_ATSD@GOTPAGE
Lloh36:
ldr x9, [x9, _VFIO_REGION_SUBTYPE_IBM_NVLINK2_ATSD@GOTPAGEOFF]
Lloh37:
ldr w2, [x9]
cbz x8, LBB0_19
; %bb.16:
Lloh38:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh39:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh40:
ldr w4, [x8]
b LBB0_20
LBB0_17:
Lloh41:
adrp x8, _ENOMEM@GOTPAGE
Lloh42:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_10
LBB0_18:
Lloh43:
adrp x8, _PCI_VENDOR_ID_IBM@GOTPAGE
Lloh44:
ldr x8, [x8, _PCI_VENDOR_ID_IBM@GOTPAGEOFF]
Lloh45:
adrp x9, _VFIO_REGION_TYPE_PCI_VENDOR_TYPE@GOTPAGE
Lloh46:
ldr x9, [x9, _VFIO_REGION_TYPE_PCI_VENDOR_TYPE@GOTPAGEOFF]
Lloh47:
ldr w8, [x8]
Lloh48:
ldr w9, [x9]
orr w1, w9, w8
Lloh49:
adrp x8, _VFIO_REGION_SUBTYPE_IBM_NVLINK2_ATSD@GOTPAGE
Lloh50:
ldr x8, [x8, _VFIO_REGION_SUBTYPE_IBM_NVLINK2_ATSD@GOTPAGEOFF]
Lloh51:
ldr w2, [x8]
LBB0_19:
mov w4, #0
LBB0_20:
Lloh52:
adrp x8, _VFIO_REGION_INFO_FLAG_READ@GOTPAGE
Lloh53:
ldr x8, [x8, _VFIO_REGION_INFO_FLAG_READ@GOTPAGEOFF]
Lloh54:
ldr w8, [x8]
Lloh55:
adrp x9, _VFIO_REGION_INFO_FLAG_WRITE@GOTPAGE
Lloh56:
ldr x9, [x9, _VFIO_REGION_INFO_FLAG_WRITE@GOTPAGEOFF]
Lloh57:
ldr w9, [x9]
orr w8, w9, w8
Lloh58:
adrp x9, _VFIO_REGION_INFO_FLAG_MMAP@GOTPAGE
Lloh59:
ldr x9, [x9, _VFIO_REGION_INFO_FLAG_MMAP@GOTPAGEOFF]
Lloh60:
ldr w9, [x9]
orr w5, w8, w9
Lloh61:
adrp x3, _vfio_pci_npu2_regops@GOTPAGE
Lloh62:
ldr x3, [x3, _vfio_pci_npu2_regops@GOTPAGEOFF]
mov x0, x19
mov x6, x20
bl _vfio_pci_register_dev_region
mov x19, x0
cbz w0, LBB0_11
; %bb.21:
ldr x0, [x20, #8]
cbz x0, LBB0_24
; %bb.22:
bl _memunmap
b LBB0_24
LBB0_23:
Lloh63:
adrp x8, _ENOMEM@GOTPAGE
Lloh64:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh65:
ldr w8, [x8]
neg w19, w8
LBB0_24:
mov x0, x20
bl _kfree
b LBB0_11
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh33
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh47
.loh AdrpLdrGot Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.cfi_endproc
; -- End function
.comm _ENODEV,4,2 ; @ENODEV
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ibm,nvlink"
l_.str.1: ; @.str.1
.asciz "ibm,npu-link-index"
l_.str.2: ; @.str.2
.asciz "ibm,mmio-atsd"
l_.str.3: ; @.str.3
.asciz "No available ATSD found\n"
l_.str.4: ; @.str.4
.asciz "ibm,device-tgt-addr"
l_.str.5: ; @.str.5
.asciz "No ibm,device-tgt-addr found\n"
.comm _EFAULT,4,2 ; @EFAULT
l_.str.6: ; @.str.6
.asciz "ibm,nvlink-speed"
l_.str.7: ; @.str.7
.asciz "No ibm,nvlink-speed found\n"
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _SZ_64K,4,2 ; @SZ_64K
.comm _MEMREMAP_WT,4,2 ; @MEMREMAP_WT
.comm _PCI_VENDOR_ID_IBM,4,2 ; @PCI_VENDOR_ID_IBM
.comm _VFIO_REGION_TYPE_PCI_VENDOR_TYPE,4,2 ; @VFIO_REGION_TYPE_PCI_VENDOR_TYPE
.comm _VFIO_REGION_SUBTYPE_IBM_NVLINK2_ATSD,4,2 ; @VFIO_REGION_SUBTYPE_IBM_NVLINK2_ATSD
.comm _vfio_pci_npu2_regops,4,2 ; @vfio_pci_npu2_regops
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _VFIO_REGION_INFO_FLAG_READ,4,2 ; @VFIO_REGION_INFO_FLAG_READ
.comm _VFIO_REGION_INFO_FLAG_WRITE,4,2 ; @VFIO_REGION_INFO_FLAG_WRITE
.comm _VFIO_REGION_INFO_FLAG_MMAP,4,2 ; @VFIO_REGION_INFO_FLAG_MMAP
.subsections_via_symbols
| AnghaBench/linux/drivers/vfio/pci/extr_vfio_pci_nvlink2.c_vfio_pci_ibm_npu2_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function intuit_diff_type
_intuit_diff_type: ## @intuit_diff_type
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $120, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsp, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_FILE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %rbx, %rax
shlq $4, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
shll $4, %ebx
xorl %r13d, %r13d
movq %r15, %rdi
xorl %esi, %esi
movl %ebx, %edx
callq _memset
movq _ok_to_create_file@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _pfp@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movq _p_base@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SEEK_SET@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _fseeko
movq _p_bline@GOTPCREL(%rip), %rax
movq (%rax), %rax
decq %rax
movq _p_input_line@GOTPCREL(%rip), %r14
movq %rax, (%r14)
movl (%rbx), %edi
callq _ftello
movq %rax, %rbx
incq (%r14)
xorl %edi, %edi
callq _pgets
testq %rax, %rax
movq %r15, -64(%rbp) ## 8-byte Spill
je LBB0_76
## %bb.1:
movq %r12, -104(%rbp) ## 8-byte Spill
movl $-1, -76(%rbp) ## 4-byte Folded Spill
movq $-1, -88(%rbp) ## 8-byte Folded Spill
movq _CONTEXT_DIFF@GOTPCREL(%rip), %rax
movq %rax, -128(%rbp) ## 8-byte Spill
xorl %eax, %eax
movl $0, -72(%rbp) ## 4-byte Folded Spill
xorl %ecx, %ecx
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movq _pfp@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ftello
movq %rax, %rbx
movq _p_input_line@GOTPCREL(%rip), %rax
incq (%rax)
xorl %edi, %edi
callq _pgets
movl %r14d, -72(%rbp) ## 4-byte Spill
testq %rax, %rax
movq -120(%rbp), %rax ## 8-byte Reload
movl -68(%rbp), %ecx ## 4-byte Reload
movq %r12, %r13
je LBB0_74
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_11 Depth 2
## Child Loop BB0_62 Depth 2
## Child Loop BB0_64 Depth 2
movl %ecx, -108(%rbp) ## 4-byte Spill
movq %rax, -136(%rbp) ## 8-byte Spill
movl %r13d, %eax
movl %r13d, -52(%rbp) ## 4-byte Spill
movq %rbx, -120(%rbp) ## 8-byte Spill
movq _buf@GOTPCREL(%rip), %rax
movq (%rax), %r13
leaq 6(%r13), %r14
xorl %r15d, %r15d
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_6 Depth=2
leal 7(%r15), %ecx
testl %r15d, %r15d
cmovnsl %r15d, %ecx
andl $-8, %ecx
subl %r15d, %ecx
addl $8, %ecx
LBB0_5: ## in Loop: Header=BB0_6 Depth=2
addl %ecx, %r15d
incq %r13
incq %r14
LBB0_6: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %r13, -96(%rbp)
movzbl (%r13), %eax
cmpb $9, %al
je LBB0_4
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movl $1, %ecx
cmpb $32, %al
je LBB0_5
## %bb.8: ## in Loop: Header=BB0_6 Depth=2
cmpb $88, %al
je LBB0_5
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rbx
jmp LBB0_11
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_11 Depth=2
movzbl 1(%rbx), %eax
incq %rbx
LBB0_11: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movzbl %al, %edi
callq _isdigit
testq %rax, %rax
jne LBB0_10
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
cmpb $44, (%rbx)
je LBB0_10
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
movzbl (%r13), %edi
callq _isdigit
testq %rax, %rax
je LBB0_21
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
movb (%rbx), %al
addb $-97, %al
cmpb $3, %al
ja LBB0_21
## %bb.15: ## in Loop: Header=BB0_3 Depth=1
cmpb $1, %al
je LBB0_21
## %bb.16: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, -88(%rbp) ## 8-byte Folded Reload
js LBB0_19
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
movl $1, -68(%rbp) ## 4-byte Folded Spill
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
jne LBB0_24
jmp LBB0_22
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_3 Depth=1
movl $0, -68(%rbp) ## 4-byte Folded Spill
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
jne LBB0_24
jmp LBB0_22
LBB0_19: ## in Loop: Header=BB0_3 Depth=1
movl $1, -68(%rbp) ## 4-byte Folded Spill
movq _p_input_line@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq _p_indent@GOTPCREL(%rip), %rax
movl %r15d, (%rax)
movq -120(%rbp), %rax ## 8-byte Reload
movq %rax, -88(%rbp) ## 8-byte Spill
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
jne LBB0_24
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
leaq L_.str(%rip), %rsi
movl $4, %edx
callq _strnEQ
testl %eax, %eax
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_3 Depth=1
addq $4, %r13
movq _OLD_FILE@GOTPCREL(%rip), %r14
jmp LBB0_37
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
leaq L_.str.1(%rip), %rsi
movl $4, %edx
callq _strnEQ
testl %eax, %eax
je LBB0_29
## %bb.25: ## in Loop: Header=BB0_3 Depth=1
movq _strippath@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $4, %eax
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
je LBB0_28
## %bb.26: ## in Loop: Header=BB0_3 Depth=1
cmpl $957, %edx ## imm = 0x3BD
jne LBB0_28
## %bb.27: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
leaq L_.str.2(%rip), %rsi
movl $6, %edx
callq _strnEQ
xorl %ecx, %ecx
testl %eax, %eax
setne %cl
leaq (%rcx,%rcx), %rax
addq $4, %rax
movq _strippath@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
LBB0_28: ## in Loop: Header=BB0_3 Depth=1
addq %rax, %r13
movq _NEW_FILE@GOTPCREL(%rip), %r14
jmp LBB0_34
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
leaq L_.str.3(%rip), %rsi
movl $4, %edx
callq _strnEQ
testl %eax, %eax
je LBB0_35
## %bb.30: ## in Loop: Header=BB0_3 Depth=1
movq _strippath@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $4, %eax
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
je LBB0_33
## %bb.31: ## in Loop: Header=BB0_3 Depth=1
cmpl $957, %edx ## imm = 0x3BD
jne LBB0_33
## %bb.32: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
leaq L_.str.4(%rip), %rsi
movl $6, %edx
callq _strnEQ
xorl %ecx, %ecx
testl %eax, %eax
setne %cl
leaq (%rcx,%rcx), %rax
addq $4, %rax
movq _strippath@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
LBB0_33: ## in Loop: Header=BB0_3 Depth=1
addq %rax, %r13
movq _OLD_FILE@GOTPCREL(%rip), %r14
LBB0_34: ## in Loop: Header=BB0_3 Depth=1
movq (%r14), %rax
shlq $4, %rax
movq -64(%rbp), %rbx ## 8-byte Reload
leaq (%rbx,%rax), %rsi
addq $8, %rsi
jmp LBB0_38
LBB0_35: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
leaq L_.str.5(%rip), %rsi
movl $6, %edx
callq _strnEQ
testl %eax, %eax
je LBB0_61
## %bb.36: ## in Loop: Header=BB0_3 Depth=1
addq $6, %r13
movq _INDEX_FILE@GOTPCREL(%rip), %r14
LBB0_37: ## in Loop: Header=BB0_3 Depth=1
movq (%r14), %rax
shlq $4, %rax
movq -64(%rbp), %rbx ## 8-byte Reload
leaq (%rbx,%rax), %rsi
addq $8, %rsi
movq _strippath@GOTPCREL(%rip), %rax
movl (%rax), %edx
LBB0_38: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
callq _fetchname
movq (%r14), %rcx
shlq $4, %rcx
movq %rax, (%rbx,%rcx)
LBB0_39: ## in Loop: Header=BB0_3 Depth=1
movl -52(%rbp), %eax ## 4-byte Reload
movl %eax, %r12d
LBB0_40: ## in Loop: Header=BB0_3 Depth=1
movq _diff_type@GOTPCREL(%rip), %r13
movl (%r13), %eax
testl %eax, %eax
je LBB0_43
## %bb.41: ## in Loop: Header=BB0_3 Depth=1
movq _ED_DIFF@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_46
## %bb.42: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, -88(%rbp) ## 8-byte Folded Reload
jns LBB0_44
jmp LBB0_46
.p2align 4, 0x90
LBB0_43: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, -88(%rbp) ## 8-byte Folded Reload
js LBB0_49
LBB0_44: ## in Loop: Header=BB0_3 Depth=1
movq -96(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
callq _strEQ
testq %rax, %rax
jne LBB0_80
## %bb.45: ## in Loop: Header=BB0_3 Depth=1
movl (%r13), %eax
LBB0_46: ## in Loop: Header=BB0_3 Depth=1
testl %eax, %eax
je LBB0_49
## %bb.47: ## in Loop: Header=BB0_3 Depth=1
movq _UNI_DIFF@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_49
## %bb.48: ## in Loop: Header=BB0_3 Depth=1
movq -96(%rbp), %rbx
jmp LBB0_50
.p2align 4, 0x90
LBB0_49: ## in Loop: Header=BB0_3 Depth=1
movq -96(%rbp), %rbx
movq %rbx, %rdi
leaq L_.str.11(%rip), %rsi
movl $4, %edx
callq _strnEQ
testl %eax, %eax
jne LBB0_77
LBB0_50: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
leaq L_.str.13(%rip), %rsi
movl $8, %edx
callq _strnEQ
movl %eax, %r14d
movl (%r13), %eax
testl %eax, %eax
je LBB0_53
## %bb.51: ## in Loop: Header=BB0_3 Depth=1
movq _CONTEXT_DIFF@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_56
## %bb.52: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
jne LBB0_54
jmp LBB0_56
.p2align 4, 0x90
LBB0_53: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
je LBB0_58
LBB0_54: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
leaq L_.str(%rip), %rsi
movl $4, %edx
callq _strnEQ
testl %eax, %eax
jne LBB0_106
## %bb.55: ## in Loop: Header=BB0_3 Depth=1
movl (%r13), %eax
testl %eax, %eax
je LBB0_58
LBB0_56: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -108(%rbp) ## 4-byte Folded Reload
je LBB0_2
## %bb.57: ## in Loop: Header=BB0_3 Depth=1
movq _NORMAL_DIFF@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_59
jmp LBB0_2
.p2align 4, 0x90
LBB0_58: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -108(%rbp) ## 4-byte Folded Reload
je LBB0_2
LBB0_59: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
leaq L_.str.14(%rip), %rsi
movl $2, %edx
callq _strnEQ
testl %eax, %eax
jne LBB0_73
## %bb.60: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
leaq L_.str.15(%rip), %rsi
movl $2, %edx
callq _strnEQ
testl %eax, %eax
je LBB0_2
jmp LBB0_73
LBB0_61: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
leaq L_.str.6(%rip), %rsi
movl $7, %edx
callq _strnEQ
testl %eax, %eax
je LBB0_68
.p2align 4, 0x90
LBB0_62: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movzbl 1(%r14), %edi
incq %r14
callq _isspace
testq %rax, %rax
jne LBB0_62
## %bb.63: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
callq _xstrdup
movq %rax, %rbx
movq _revision@GOTPCREL(%rip), %r14
movq %rax, (%r14)
movb (%rax), %al
testb %al, %al
je LBB0_66
.p2align 4, 0x90
LBB0_64: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movzbl %al, %edi
callq _isspace
testq %rax, %rax
jne LBB0_66
## %bb.65: ## in Loop: Header=BB0_64 Depth=2
movzbl 1(%rbx), %eax
incq %rbx
testb %al, %al
jne LBB0_64
LBB0_66: ## in Loop: Header=BB0_3 Depth=1
movb $0, (%rbx)
movq (%r14), %rdi
cmpb $0, (%rdi)
jne LBB0_39
## %bb.67: ## in Loop: Header=BB0_3 Depth=1
callq _free
movq $0, (%r14)
jmp LBB0_39
LBB0_68: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
leaq L_.str.7(%rip), %rsi
movl $13, %edx
callq _strnEQ
movl $1, %r12d
testl %eax, %eax
jne LBB0_40
## %bb.69: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
leaq L_.str.8(%rip), %rsi
movl $5, %edx
callq _strnEQ
testl %eax, %eax
je LBB0_39
## %bb.70: ## in Loop: Header=BB0_3 Depth=1
addq $5, %r13
movq %r13, %rdi
leaq L_.str.9(%rip), %rsi
callq _strstr
testq %rax, %rax
movq -64(%rbp), %rbx ## 8-byte Reload
je LBB0_72
## %bb.71: ## in Loop: Header=BB0_3 Depth=1
movq _NEW_FILE@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
shlq $4, %rdi
addq %rbx, %rdi
addq $3, %rax
movq %rax, %rsi
callq _p4_fetchname
LBB0_72: ## in Loop: Header=BB0_3 Depth=1
movq _OLD_FILE@GOTPCREL(%rip), %rax
movq (%rax), %rdi
shlq $4, %rdi
addq %rbx, %rdi
movq %r13, %rsi
callq _p4_fetchname
jmp LBB0_39
LBB0_73:
movq _p_start@GOTPCREL(%rip), %rax
movq -136(%rbp), %rcx ## 8-byte Reload
movq %rcx, (%rax)
movq _p_input_line@GOTPCREL(%rip), %rax
movl (%rax), %eax
decl %eax
movq _p_sline@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _p_indent@GOTPCREL(%rip), %rax
movl %r15d, (%rax)
movq _NORMAL_DIFF@GOTPCREL(%rip), %rax
jmp LBB0_81
LBB0_74:
movq -88(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
movq -104(%rbp), %r12 ## 8-byte Reload
movq -64(%rbp), %r15 ## 8-byte Reload
js LBB0_76
## %bb.75:
movq %rax, %rcx
movq _p_start@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _p_sline@GOTPCREL(%rip), %rax
movl -76(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
movq _ED_DIFF@GOTPCREL(%rip), %rax
movl (%rax), %r14d
jmp LBB0_83
LBB0_76:
movq _p_start@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
movq _p_input_line@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _p_sline@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
xorl %r14d, %r14d
jmp LBB0_83
LBB0_77:
addq $4, %rbx
leaq L_.str.12(%rip), %rsi
movq %rbx, %rdi
movl $3, %edx
callq _strnEQ
testl %eax, %eax
je LBB0_79
## %bb.78:
movq _ok_to_create_file@GOTPCREL(%rip), %rax
movl $1, (%rax)
LBB0_79:
movq _p_indent@GOTPCREL(%rip), %rax
movl %r15d, (%rax)
movq _p_start@GOTPCREL(%rip), %rax
movq -120(%rbp), %rcx ## 8-byte Reload
movq %rcx, (%rax)
movq _p_input_line@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _p_sline@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _UNI_DIFF@GOTPCREL(%rip), %rax
jmp LBB0_81
LBB0_80:
movq _p_indent@GOTPCREL(%rip), %rax
movl %r15d, (%rax)
movq _p_start@GOTPCREL(%rip), %rax
movq -88(%rbp), %rcx ## 8-byte Reload
movq %rcx, (%rax)
movq _p_sline@GOTPCREL(%rip), %rax
movl -76(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
movq _ED_DIFF@GOTPCREL(%rip), %rax
LBB0_81:
movl (%rax), %r14d
movq -104(%rbp), %r12 ## 8-byte Reload
LBB0_82:
movq -64(%rbp), %r15 ## 8-byte Reload
LBB0_83:
movq _UNI_DIFF@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
jne LBB0_85
## %bb.84:
movq _OLD_FILE@GOTPCREL(%rip), %rax
movq (%rax), %rax
shlq $4, %rax
movups (%r15,%rax), %xmm0
movaps %xmm0, -160(%rbp)
movq _NEW_FILE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
shlq $4, %rcx
movaps (%r15,%rcx), %xmm0
movaps %xmm0, (%r15,%rax)
movaps -160(%rbp), %xmm0
movups %xmm0, (%r15,%rcx)
LBB0_85:
movq _source_file@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
callq _free
movq $0, (%rbx)
testl %r14d, %r14d
je LBB0_90
## %bb.86:
movq _OLD_FILE@GOTPCREL(%rip), %rax
movq (%rax), %rax
shlq $4, %rax
movq (%r15,%rax), %rdi
testq %rdi, %rdi
jne LBB0_89
## %bb.87:
cmpq $0, 8(%r15,%rax)
je LBB0_90
## %bb.88:
movq __PATH_DEVNULL@GOTPCREL(%rip), %rax
movq (%rax), %rdi
LBB0_89:
callq _xstrdup
movq %rax, (%rbx)
LBB0_90:
movq _filearg@GOTPCREL(%rip), %r15
movq (%r15), %rax
cmpq $0, (%rax)
jne LBB0_98
## %bb.91:
movq _posix@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_93
## %bb.92:
movq _ok_to_create_file@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -64(%rbp), %rdi ## 8-byte Reload
callq _posix_name
jmp LBB0_97
LBB0_93:
movq _OLD_FILE@GOTPCREL(%rip), %rax
movq (%rax), %rax
shlq $4, %rax
movq -64(%rbp), %rbx ## 8-byte Reload
cmpq $0, (%rbx,%rax)
jne LBB0_95
## %bb.94:
movq _NEW_FILE@GOTPCREL(%rip), %rax
movq (%rax), %rax
shlq $4, %rax
cmpq $0, (%rbx,%rax)
je LBB0_96
LBB0_95:
movq _INDEX_FILE@GOTPCREL(%rip), %r13
movq (%r13), %rax
shlq $4, %rax
movq (%rbx,%rax), %rdi
callq _free
movq (%r13), %rax
shlq $4, %rax
movq $0, (%rbx,%rax)
LBB0_96:
movq _ok_to_create_file@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _best_name
LBB0_97:
movq (%r15), %rcx
movq %rax, (%rcx)
LBB0_98:
movq _bestguess@GOTPCREL(%rip), %r13
movq (%r13), %rdi
callq _free
movq $0, (%r13)
movq (%r15), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je LBB0_101
## %bb.99:
callq _xstrdup
movq -64(%rbp), %rbx ## 8-byte Reload
LBB0_100:
movq %rax, (%r13)
jmp LBB0_102
LBB0_101:
movq _ok_to_create_file@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
movq -64(%rbp), %rbx ## 8-byte Reload
je LBB0_104
LBB0_102:
movq _OLD_FILE@GOTPCREL(%rip), %rax
movq (%rax), %rax
shlq $4, %rax
movq (%rbx,%rax), %rdi
callq _free
movq _NEW_FILE@GOTPCREL(%rip), %rax
movq (%rax), %rax
shlq $4, %rax
movq (%rbx,%rax), %rdi
callq _free
movq _INDEX_FILE@GOTPCREL(%rip), %rax
movq (%rax), %rax
shlq $4, %rax
movq (%rbx,%rax), %rdi
callq _free
movq %r12, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_116
## %bb.103:
movl %r14d, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_104:
movq _posix@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_115
## %bb.105:
movq %rbx, %rdi
movl $1, %esi
callq _posix_name
jmp LBB0_100
LBB0_106:
addq $4, %rbx
leaq -96(%rbp), %rsi
movq %rbx, %rdi
callq _strtolinenum
testq %rax, %rax
jne LBB0_108
## %bb.107:
movq _ok_to_create_file@GOTPCREL(%rip), %rax
movl $1, (%rax)
LBB0_108:
movq -96(%rbp), %rax
incq %rax
movq -104(%rbp), %r12 ## 8-byte Reload
.p2align 4, 0x90
LBB0_109: ## =>This Inner Loop Header: Depth=1
movzbl -1(%rax), %ecx
testb %cl, %cl
je LBB0_112
## %bb.110: ## in Loop: Header=BB0_109 Depth=1
cmpb $10, %cl
je LBB0_112
## %bb.111: ## in Loop: Header=BB0_109 Depth=1
movq %rax, -96(%rbp)
incq %rax
jmp LBB0_109
LBB0_112:
movq _p_indent@GOTPCREL(%rip), %rcx
movl %r15d, (%rcx)
movq _p_start@GOTPCREL(%rip), %rcx
movq -136(%rbp), %rdx ## 8-byte Reload
movq %rdx, (%rcx)
movq _p_input_line@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
decl %ecx
movq _p_sline@GOTPCREL(%rip), %rdx
movl %ecx, (%rdx)
cmpb $42, -2(%rax)
jne LBB0_114
## %bb.113:
movq _NEW_CONTEXT_DIFF@GOTPCREL(%rip), %rax
movq %rax, -128(%rbp) ## 8-byte Spill
LBB0_114:
movq -128(%rbp), %rax ## 8-byte Reload
movl (%rax), %r14d
jmp LBB0_82
LBB0_115:
movq %rbx, %rdi
movl $1, %esi
callq _best_name
jmp LBB0_100
LBB0_116:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_FILE,4,2 ## @MAX_FILE
.comm _ok_to_create_file,4,2 ## @ok_to_create_file
.comm _pfp,4,2 ## @pfp
.comm _p_base,4,2 ## @p_base
.comm _SEEK_SET,4,2 ## @SEEK_SET
.comm _p_bline,8,3 ## @p_bline
.comm _p_input_line,8,3 ## @p_input_line
.comm _p_start,8,3 ## @p_start
.comm _p_sline,4,2 ## @p_sline
.comm _ED_DIFF,4,2 ## @ED_DIFF
.comm _buf,8,3 ## @buf
.comm _p_indent,4,2 ## @p_indent
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "*** "
.comm _OLD_FILE,8,3 ## @OLD_FILE
.comm _strippath,4,2 ## @strippath
L_.str.1: ## @.str.1
.asciz "--- "
L_.str.2: ## @.str.2
.asciz "--- a/"
.comm _NEW_FILE,8,3 ## @NEW_FILE
L_.str.3: ## @.str.3
.asciz "+++ "
L_.str.4: ## @.str.4
.asciz "+++ b/"
L_.str.5: ## @.str.5
.asciz "Index:"
.comm _INDEX_FILE,8,3 ## @INDEX_FILE
L_.str.6: ## @.str.6
.asciz "Prereq:"
.comm _revision,8,3 ## @revision
L_.str.7: ## @.str.7
.asciz "diff --git a/"
L_.str.8: ## @.str.8
.asciz "==== "
L_.str.9: ## @.str.9
.asciz " - "
.comm _diff_type,4,2 ## @diff_type
L_.str.10: ## @.str.10
.asciz ".\n"
.comm _UNI_DIFF,4,2 ## @UNI_DIFF
L_.str.11: ## @.str.11
.asciz "@@ -"
L_.str.12: ## @.str.12
.asciz "0,0"
L_.str.13: ## @.str.13
.asciz "********"
.comm _CONTEXT_DIFF,4,2 ## @CONTEXT_DIFF
.comm _NEW_CONTEXT_DIFF,4,2 ## @NEW_CONTEXT_DIFF
.comm _NORMAL_DIFF,4,2 ## @NORMAL_DIFF
L_.str.14: ## @.str.14
.asciz "< "
L_.str.15: ## @.str.15
.asciz "> "
.comm _source_file,8,3 ## @source_file
.comm __PATH_DEVNULL,8,3 ## @_PATH_DEVNULL
.comm _filearg,8,3 ## @filearg
.comm _posix,8,3 ## @posix
.comm _bestguess,8,3 ## @bestguess
.no_dead_strip _intuit_diff_type
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function intuit_diff_type
_intuit_diff_type: ; @intuit_diff_type
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #64
mov x23, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, _MAX_FILE@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_FILE@GOTPAGEOFF]
Lloh5:
ldr w12, [x8]
lsl x8, x12, #4
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x19, x9, x8
mov sp, x19
lsl w2, w12, #4
mov x0, x19
mov w1, #0
bl _memset
Lloh8:
adrp x25, _ok_to_create_file@GOTPAGE
Lloh9:
ldr x25, [x25, _ok_to_create_file@GOTPAGEOFF]
str wzr, [x25]
Lloh10:
adrp x21, _pfp@GOTPAGE
Lloh11:
ldr x21, [x21, _pfp@GOTPAGEOFF]
ldr w0, [x21]
Lloh12:
adrp x8, _p_base@GOTPAGE
Lloh13:
ldr x8, [x8, _p_base@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
Lloh15:
adrp x8, _SEEK_SET@GOTPAGE
Lloh16:
ldr x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh17:
ldr w2, [x8]
bl _fseeko
Lloh18:
adrp x8, _p_bline@GOTPAGE
Lloh19:
ldr x8, [x8, _p_bline@GOTPAGEOFF]
Lloh20:
ldr x8, [x8]
sub x8, x8, #1
Lloh21:
adrp x20, _p_input_line@GOTPAGE
Lloh22:
ldr x20, [x20, _p_input_line@GOTPAGEOFF]
str x8, [x20]
ldr w0, [x21]
bl _ftello
mov x21, x0
ldr x8, [x20]
add x8, x8, #1
str x8, [x20]
mov w0, #0
bl _pgets
Lloh23:
adrp x24, _INDEX_FILE@GOTPAGE
Lloh24:
ldr x24, [x24, _INDEX_FILE@GOTPAGEOFF]
cbz x0, LBB0_73
; %bb.1:
stur x23, [x29, #-136] ; 8-byte Folded Spill
mov x22, #0
mov w27, #0
mov w25, #0
mov w8, #-1
stp w8, wzr, [x29, #-128] ; 8-byte Folded Spill
mov x26, #-1
mov w23, #8
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
Lloh25:
adrp x8, _pfp@GOTPAGE
Lloh26:
ldr x8, [x8, _pfp@GOTPAGEOFF]
Lloh27:
ldr w0, [x8]
bl _ftello
mov x21, x0
Lloh28:
adrp x9, _p_input_line@GOTPAGE
Lloh29:
ldr x9, [x9, _p_input_line@GOTPAGEOFF]
ldr x8, [x9]
add x8, x8, #1
str x8, [x9]
mov w0, #0
bl _pgets
mov x27, x28
cbz x0, LBB0_71
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
; Child Loop BB0_11 Depth 2
; Child Loop BB0_58 Depth 2
; Child Loop BB0_60 Depth 2
mov w24, #0
mov x20, x25
stur x22, [x29, #-120] ; 8-byte Folded Spill
mov x22, x21
Lloh30:
adrp x8, _buf@GOTPAGE
Lloh31:
ldr x8, [x8, _buf@GOTPAGEOFF]
Lloh32:
ldr x28, [x8]
add x21, x28, #6
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=2
negs w8, w24
and w8, w8, #0x7
and w9, w24, #0x7
csneg w8, w9, w8, mi
sub w9, w23, w8
LBB0_5: ; in Loop: Header=BB0_6 Depth=2
add w24, w9, w24
add x28, x28, #1
add x21, x21, #1
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
stur x28, [x29, #-96]
ldrb w8, [x28]
cmp w8, #9
b.eq LBB0_4
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
mov w9, #1
cmp w8, #32
b.eq LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=2
cmp w8, #88
b.eq LBB0_5
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
mov x25, x28
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=2
ldrb w8, [x25, #1]!
LBB0_11: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
and w0, w8, #0xff
bl _isdigit
cbnz x0, LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
ldrb w8, [x25]
cmp w8, #44
b.eq LBB0_10
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
ldrb w0, [x28]
bl _isdigit
cbz x0, LBB0_17
; %bb.14: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x25]
sub w8, w8, #97
cmp w8, #3
ccmp w8, #1, #4, ls
b.eq LBB0_17
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
tbnz x26, #63, LBB0_18
; %bb.16: ; in Loop: Header=BB0_3 Depth=1
mov w25, #1
cbnz w27, LBB0_21
b LBB0_19
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
mov w25, #0
cbnz w27, LBB0_21
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
Lloh33:
adrp x8, _p_input_line@GOTPAGE
Lloh34:
ldr x8, [x8, _p_input_line@GOTPAGEOFF]
Lloh35:
ldr w8, [x8]
stur w8, [x29, #-128] ; 4-byte Folded Spill
Lloh36:
adrp x8, _p_indent@GOTPAGE
Lloh37:
ldr x8, [x8, _p_indent@GOTPAGEOFF]
Lloh38:
str w24, [x8]
mov w25, #1
mov x26, x22
cbnz w27, LBB0_21
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
Lloh39:
adrp x1, l_.str@PAGE
Lloh40:
add x1, x1, l_.str@PAGEOFF
mov w2, #4
bl _strnEQ
cbz w0, LBB0_21
; %bb.20: ; in Loop: Header=BB0_3 Depth=1
add x0, x28, #4
Lloh41:
adrp x21, _OLD_FILE@GOTPAGE
Lloh42:
ldr x21, [x21, _OLD_FILE@GOTPAGEOFF]
b LBB0_33
LBB0_21: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
Lloh43:
adrp x1, l_.str.1@PAGE
Lloh44:
add x1, x1, l_.str.1@PAGEOFF
mov w2, #4
bl _strnEQ
cbz w0, LBB0_25
; %bb.22: ; in Loop: Header=BB0_3 Depth=1
Lloh45:
adrp x8, _strippath@GOTPAGE
Lloh46:
ldr x8, [x8, _strippath@GOTPAGEOFF]
Lloh47:
ldr w2, [x8]
ldur w8, [x29, #-124] ; 4-byte Folded Reload
cbz w8, LBB0_29
; %bb.23: ; in Loop: Header=BB0_3 Depth=1
mov w8, #4
cmp w2, #957
b.ne LBB0_30
; %bb.24: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
Lloh48:
adrp x1, l_.str.2@PAGE
Lloh49:
add x1, x1, l_.str.2@PAGEOFF
mov w2, #6
bl _strnEQ
cmp w0, #0
mov w8, #4
mov w9, #6
csel x8, x8, x9, eq
Lloh50:
adrp x9, _strippath@GOTPAGE
Lloh51:
ldr x9, [x9, _strippath@GOTPAGEOFF]
Lloh52:
ldr w2, [x9]
b LBB0_30
LBB0_25: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
Lloh53:
adrp x1, l_.str.3@PAGE
Lloh54:
add x1, x1, l_.str.3@PAGEOFF
mov w2, #4
bl _strnEQ
cbz w0, LBB0_31
; %bb.26: ; in Loop: Header=BB0_3 Depth=1
Lloh55:
adrp x8, _strippath@GOTPAGE
Lloh56:
ldr x8, [x8, _strippath@GOTPAGEOFF]
Lloh57:
ldr w2, [x8]
ldur w8, [x29, #-124] ; 4-byte Folded Reload
cbz w8, LBB0_34
; %bb.27: ; in Loop: Header=BB0_3 Depth=1
mov w8, #4
cmp w2, #957
b.ne LBB0_35
; %bb.28: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
Lloh58:
adrp x1, l_.str.4@PAGE
Lloh59:
add x1, x1, l_.str.4@PAGEOFF
mov w2, #6
bl _strnEQ
cmp w0, #0
mov w8, #4
mov w9, #6
csel x8, x8, x9, eq
Lloh60:
adrp x9, _strippath@GOTPAGE
Lloh61:
ldr x9, [x9, _strippath@GOTPAGEOFF]
Lloh62:
ldr w2, [x9]
b LBB0_35
LBB0_29: ; in Loop: Header=BB0_3 Depth=1
mov w8, #4
LBB0_30: ; in Loop: Header=BB0_3 Depth=1
add x0, x28, x8
Lloh63:
adrp x21, _NEW_FILE@GOTPAGE
Lloh64:
ldr x21, [x21, _NEW_FILE@GOTPAGEOFF]
b LBB0_36
LBB0_31: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
Lloh65:
adrp x1, l_.str.5@PAGE
Lloh66:
add x1, x1, l_.str.5@PAGEOFF
mov w2, #6
bl _strnEQ
cbz w0, LBB0_57
; %bb.32: ; in Loop: Header=BB0_3 Depth=1
add x0, x28, #6
Lloh67:
adrp x21, _INDEX_FILE@GOTPAGE
Lloh68:
ldr x21, [x21, _INDEX_FILE@GOTPAGEOFF]
LBB0_33: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x21]
add x8, x19, x8, lsl #4
add x1, x8, #8
Lloh69:
adrp x8, _strippath@GOTPAGE
Lloh70:
ldr x8, [x8, _strippath@GOTPAGEOFF]
Lloh71:
ldr w2, [x8]
b LBB0_37
LBB0_34: ; in Loop: Header=BB0_3 Depth=1
mov w8, #4
LBB0_35: ; in Loop: Header=BB0_3 Depth=1
add x0, x28, x8
Lloh72:
adrp x21, _OLD_FILE@GOTPAGE
Lloh73:
ldr x21, [x21, _OLD_FILE@GOTPAGEOFF]
LBB0_36: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x21]
add x8, x19, x8, lsl #4
add x1, x8, #8
LBB0_37: ; in Loop: Header=BB0_3 Depth=1
bl _fetchname
ldr x8, [x21]
lsl x8, x8, #4
str x0, [x19, x8]
LBB0_38: ; in Loop: Header=BB0_3 Depth=1
Lloh74:
adrp x8, _diff_type@GOTPAGE
Lloh75:
ldr x8, [x8, _diff_type@GOTPAGEOFF]
Lloh76:
ldr w8, [x8]
cbz w8, LBB0_41
; %bb.39: ; in Loop: Header=BB0_3 Depth=1
Lloh77:
adrp x9, _ED_DIFF@GOTPAGE
Lloh78:
ldr x9, [x9, _ED_DIFF@GOTPAGEOFF]
Lloh79:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_44
; %bb.40: ; in Loop: Header=BB0_3 Depth=1
tbz x26, #63, LBB0_42
b LBB0_44
LBB0_41: ; in Loop: Header=BB0_3 Depth=1
tbnz x26, #63, LBB0_45
LBB0_42: ; in Loop: Header=BB0_3 Depth=1
ldur x0, [x29, #-96]
Lloh80:
adrp x1, l_.str.10@PAGE
Lloh81:
add x1, x1, l_.str.10@PAGEOFF
bl _strEQ
cbnz x0, LBB0_77
; %bb.43: ; in Loop: Header=BB0_3 Depth=1
Lloh82:
adrp x8, _diff_type@GOTPAGE
Lloh83:
ldr x8, [x8, _diff_type@GOTPAGEOFF]
Lloh84:
ldr w8, [x8]
LBB0_44: ; in Loop: Header=BB0_3 Depth=1
Lloh85:
adrp x9, _UNI_DIFF@GOTPAGE
Lloh86:
ldr x9, [x9, _UNI_DIFF@GOTPAGEOFF]
Lloh87:
ldr w9, [x9]
cmp w8, #0
ccmp w8, w9, #4, ne
b.ne LBB0_46
LBB0_45: ; in Loop: Header=BB0_3 Depth=1
ldur x21, [x29, #-96]
mov x0, x21
Lloh88:
adrp x1, l_.str.11@PAGE
Lloh89:
add x1, x1, l_.str.11@PAGEOFF
mov w2, #4
bl _strnEQ
cbz w0, LBB0_47
b LBB0_74
LBB0_46: ; in Loop: Header=BB0_3 Depth=1
ldur x21, [x29, #-96]
LBB0_47: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
Lloh90:
adrp x1, l_.str.13@PAGE
Lloh91:
add x1, x1, l_.str.13@PAGEOFF
mov w2, #8
bl _strnEQ
mov x28, x0
Lloh92:
adrp x8, _diff_type@GOTPAGE
Lloh93:
ldr x8, [x8, _diff_type@GOTPAGEOFF]
Lloh94:
ldr w8, [x8]
cbz w8, LBB0_49
; %bb.48: ; in Loop: Header=BB0_3 Depth=1
Lloh95:
adrp x9, _CONTEXT_DIFF@GOTPAGE
Lloh96:
ldr x9, [x9, _CONTEXT_DIFF@GOTPAGEOFF]
Lloh97:
ldr w9, [x9]
cmp w8, w9
ccmp w27, #0, #4, eq
b.ne LBB0_50
b LBB0_52
LBB0_49: ; in Loop: Header=BB0_3 Depth=1
cbz w27, LBB0_54
LBB0_50: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
Lloh98:
adrp x1, l_.str@PAGE
Lloh99:
add x1, x1, l_.str@PAGEOFF
mov w2, #4
bl _strnEQ
cbnz w0, LBB0_79
; %bb.51: ; in Loop: Header=BB0_3 Depth=1
Lloh100:
adrp x8, _diff_type@GOTPAGE
Lloh101:
ldr x8, [x8, _diff_type@GOTPAGEOFF]
Lloh102:
ldr w8, [x8]
cbz w8, LBB0_54
LBB0_52: ; in Loop: Header=BB0_3 Depth=1
cbz w20, LBB0_2
; %bb.53: ; in Loop: Header=BB0_3 Depth=1
Lloh103:
adrp x9, _NORMAL_DIFF@GOTPAGE
Lloh104:
ldr x9, [x9, _NORMAL_DIFF@GOTPAGEOFF]
Lloh105:
ldr w9, [x9]
cmp w8, w9
b.eq LBB0_55
b LBB0_2
LBB0_54: ; in Loop: Header=BB0_3 Depth=1
cbz w20, LBB0_2
LBB0_55: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
Lloh106:
adrp x1, l_.str.14@PAGE
Lloh107:
add x1, x1, l_.str.14@PAGEOFF
mov w2, #2
bl _strnEQ
cbnz w0, LBB0_70
; %bb.56: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
Lloh108:
adrp x1, l_.str.15@PAGE
Lloh109:
add x1, x1, l_.str.15@PAGEOFF
mov w2, #2
bl _strnEQ
cbz w0, LBB0_2
b LBB0_70
LBB0_57: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
Lloh110:
adrp x1, l_.str.6@PAGE
Lloh111:
add x1, x1, l_.str.6@PAGEOFF
mov w2, #7
bl _strnEQ
cbz w0, LBB0_64
LBB0_58: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w0, [x21, #1]!
bl _isspace
cbnz x0, LBB0_58
; %bb.59: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
bl _xstrdup
mov x21, x0
Lloh112:
adrp x28, _revision@GOTPAGE
Lloh113:
ldr x28, [x28, _revision@GOTPAGEOFF]
str x0, [x28]
ldrb w8, [x0]
cbz w8, LBB0_62
LBB0_60: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
and w0, w8, #0xff
bl _isspace
cbnz x0, LBB0_62
; %bb.61: ; in Loop: Header=BB0_60 Depth=2
ldrb w8, [x21, #1]!
cbnz w8, LBB0_60
LBB0_62: ; in Loop: Header=BB0_3 Depth=1
strb wzr, [x21]
ldr x0, [x28]
ldrb w8, [x0]
cbnz w8, LBB0_38
; %bb.63: ; in Loop: Header=BB0_3 Depth=1
bl _free
str xzr, [x28]
b LBB0_38
LBB0_64: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
Lloh114:
adrp x1, l_.str.7@PAGE
Lloh115:
add x1, x1, l_.str.7@PAGEOFF
mov w2, #13
bl _strnEQ
cbz w0, LBB0_66
; %bb.65: ; in Loop: Header=BB0_3 Depth=1
mov w8, #1
stur w8, [x29, #-124] ; 4-byte Folded Spill
b LBB0_38
LBB0_66: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
Lloh116:
adrp x1, l_.str.8@PAGE
Lloh117:
add x1, x1, l_.str.8@PAGEOFF
mov w2, #5
bl _strnEQ
cbz w0, LBB0_38
; %bb.67: ; in Loop: Header=BB0_3 Depth=1
add x21, x28, #5
mov x0, x21
Lloh118:
adrp x1, l_.str.9@PAGE
Lloh119:
add x1, x1, l_.str.9@PAGEOFF
bl _strstr
cbz x0, LBB0_69
; %bb.68: ; in Loop: Header=BB0_3 Depth=1
Lloh120:
adrp x8, _NEW_FILE@GOTPAGE
Lloh121:
ldr x8, [x8, _NEW_FILE@GOTPAGEOFF]
Lloh122:
ldr x8, [x8]
add x8, x19, x8, lsl #4
add x1, x0, #3
mov x0, x8
bl _p4_fetchname
LBB0_69: ; in Loop: Header=BB0_3 Depth=1
Lloh123:
adrp x8, _OLD_FILE@GOTPAGE
Lloh124:
ldr x8, [x8, _OLD_FILE@GOTPAGEOFF]
Lloh125:
ldr x8, [x8]
add x0, x19, x8, lsl #4
mov x1, x21
bl _p4_fetchname
b LBB0_38
LBB0_70:
Lloh126:
adrp x8, _p_start@GOTPAGE
Lloh127:
ldr x8, [x8, _p_start@GOTPAGEOFF]
ldur x9, [x29, #-120] ; 8-byte Folded Reload
Lloh128:
str x9, [x8]
Lloh129:
adrp x8, _p_input_line@GOTPAGE
Lloh130:
ldr x8, [x8, _p_input_line@GOTPAGEOFF]
Lloh131:
ldr w8, [x8]
sub w8, w8, #1
Lloh132:
adrp x9, _p_sline@GOTPAGE
Lloh133:
ldr x9, [x9, _p_sline@GOTPAGEOFF]
Lloh134:
str w8, [x9]
Lloh135:
adrp x8, _p_indent@GOTPAGE
Lloh136:
ldr x8, [x8, _p_indent@GOTPAGEOFF]
Lloh137:
str w24, [x8]
Lloh138:
adrp x8, _NORMAL_DIFF@GOTPAGE
Lloh139:
ldr x8, [x8, _NORMAL_DIFF@GOTPAGEOFF]
b LBB0_78
LBB0_71:
ldur x23, [x29, #-136] ; 8-byte Folded Reload
Lloh140:
adrp x24, _INDEX_FILE@GOTPAGE
Lloh141:
ldr x24, [x24, _INDEX_FILE@GOTPAGEOFF]
Lloh142:
adrp x25, _ok_to_create_file@GOTPAGE
Lloh143:
ldr x25, [x25, _ok_to_create_file@GOTPAGEOFF]
tbnz x26, #63, LBB0_73
; %bb.72:
Lloh144:
adrp x8, _p_start@GOTPAGE
Lloh145:
ldr x8, [x8, _p_start@GOTPAGEOFF]
Lloh146:
str x26, [x8]
Lloh147:
adrp x8, _p_sline@GOTPAGE
Lloh148:
ldr x8, [x8, _p_sline@GOTPAGEOFF]
ldur w9, [x29, #-128] ; 4-byte Folded Reload
Lloh149:
str w9, [x8]
Lloh150:
adrp x8, _ED_DIFF@GOTPAGE
Lloh151:
ldr x8, [x8, _ED_DIFF@GOTPAGEOFF]
Lloh152:
ldr w20, [x8]
b LBB0_86
LBB0_73:
mov w20, #0
Lloh153:
adrp x8, _p_start@GOTPAGE
Lloh154:
ldr x8, [x8, _p_start@GOTPAGEOFF]
Lloh155:
str x21, [x8]
Lloh156:
adrp x8, _p_input_line@GOTPAGE
Lloh157:
ldr x8, [x8, _p_input_line@GOTPAGEOFF]
Lloh158:
ldr x8, [x8]
Lloh159:
adrp x9, _p_sline@GOTPAGE
Lloh160:
ldr x9, [x9, _p_sline@GOTPAGEOFF]
Lloh161:
str w8, [x9]
b LBB0_86
LBB0_74:
add x0, x21, #4
Lloh162:
adrp x1, l_.str.12@PAGE
Lloh163:
add x1, x1, l_.str.12@PAGEOFF
mov w2, #3
bl _strnEQ
Lloh164:
adrp x25, _ok_to_create_file@GOTPAGE
Lloh165:
ldr x25, [x25, _ok_to_create_file@GOTPAGEOFF]
cbz w0, LBB0_76
; %bb.75:
mov w8, #1
str w8, [x25]
LBB0_76:
Lloh166:
adrp x8, _p_indent@GOTPAGE
Lloh167:
ldr x8, [x8, _p_indent@GOTPAGEOFF]
Lloh168:
str w24, [x8]
Lloh169:
adrp x8, _p_start@GOTPAGE
Lloh170:
ldr x8, [x8, _p_start@GOTPAGEOFF]
Lloh171:
str x22, [x8]
Lloh172:
adrp x8, _p_input_line@GOTPAGE
Lloh173:
ldr x8, [x8, _p_input_line@GOTPAGEOFF]
Lloh174:
ldr x8, [x8]
Lloh175:
adrp x9, _p_sline@GOTPAGE
Lloh176:
ldr x9, [x9, _p_sline@GOTPAGEOFF]
Lloh177:
str w8, [x9]
Lloh178:
adrp x8, _UNI_DIFF@GOTPAGE
Lloh179:
ldr x8, [x8, _UNI_DIFF@GOTPAGEOFF]
Lloh180:
ldr w20, [x8]
ldur x23, [x29, #-136] ; 8-byte Folded Reload
b LBB0_85
LBB0_77:
Lloh181:
adrp x8, _p_start@GOTPAGE
Lloh182:
ldr x8, [x8, _p_start@GOTPAGEOFF]
Lloh183:
adrp x9, _p_indent@GOTPAGE
Lloh184:
ldr x9, [x9, _p_indent@GOTPAGEOFF]
Lloh185:
str w24, [x9]
Lloh186:
str x26, [x8]
Lloh187:
adrp x8, _p_sline@GOTPAGE
Lloh188:
ldr x8, [x8, _p_sline@GOTPAGEOFF]
ldur w9, [x29, #-128] ; 4-byte Folded Reload
Lloh189:
str w9, [x8]
Lloh190:
adrp x8, _ED_DIFF@GOTPAGE
Lloh191:
ldr x8, [x8, _ED_DIFF@GOTPAGEOFF]
LBB0_78:
ldr w20, [x8]
ldur x23, [x29, #-136] ; 8-byte Folded Reload
Lloh192:
adrp x24, _INDEX_FILE@GOTPAGE
Lloh193:
ldr x24, [x24, _INDEX_FILE@GOTPAGEOFF]
Lloh194:
adrp x25, _ok_to_create_file@GOTPAGE
Lloh195:
ldr x25, [x25, _ok_to_create_file@GOTPAGEOFF]
b LBB0_86
LBB0_79:
add x0, x21, #4
sub x1, x29, #96
bl _strtolinenum
Lloh196:
adrp x25, _ok_to_create_file@GOTPAGE
Lloh197:
ldr x25, [x25, _ok_to_create_file@GOTPAGEOFF]
cbnz x0, LBB0_81
; %bb.80:
mov w8, #1
str w8, [x25]
LBB0_81:
ldur x8, [x29, #-96]
add x8, x8, #1
ldur x23, [x29, #-136] ; 8-byte Folded Reload
LBB0_82: ; =>This Inner Loop Header: Depth=1
ldurb w9, [x8, #-1]
cmp w9, #0
ccmp w9, #10, #4, ne
b.eq LBB0_84
; %bb.83: ; in Loop: Header=BB0_82 Depth=1
stur x8, [x29, #-96]
add x8, x8, #1
b LBB0_82
LBB0_84:
Lloh198:
adrp x9, _p_indent@GOTPAGE
Lloh199:
ldr x9, [x9, _p_indent@GOTPAGEOFF]
Lloh200:
str w24, [x9]
Lloh201:
adrp x9, _p_start@GOTPAGE
Lloh202:
ldr x9, [x9, _p_start@GOTPAGEOFF]
ldur x10, [x29, #-120] ; 8-byte Folded Reload
Lloh203:
str x10, [x9]
Lloh204:
adrp x9, _p_input_line@GOTPAGE
Lloh205:
ldr x9, [x9, _p_input_line@GOTPAGEOFF]
Lloh206:
ldr w9, [x9]
sub w9, w9, #1
Lloh207:
adrp x10, _p_sline@GOTPAGE
Lloh208:
ldr x10, [x10, _p_sline@GOTPAGEOFF]
Lloh209:
str w9, [x10]
ldurb w8, [x8, #-2]
Lloh210:
adrp x9, _NEW_CONTEXT_DIFF@GOTPAGE
Lloh211:
ldr x9, [x9, _NEW_CONTEXT_DIFF@GOTPAGEOFF]
cmp w8, #42
Lloh212:
adrp x8, _CONTEXT_DIFF@GOTPAGE
Lloh213:
ldr x8, [x8, _CONTEXT_DIFF@GOTPAGEOFF]
csel x8, x9, x8, eq
ldr w20, [x8]
LBB0_85:
Lloh214:
adrp x24, _INDEX_FILE@GOTPAGE
Lloh215:
ldr x24, [x24, _INDEX_FILE@GOTPAGEOFF]
LBB0_86:
Lloh216:
adrp x8, _UNI_DIFF@GOTPAGE
Lloh217:
ldr x8, [x8, _UNI_DIFF@GOTPAGEOFF]
Lloh218:
ldr w8, [x8]
cmp w20, w8
b.ne LBB0_88
; %bb.87:
Lloh219:
adrp x8, _OLD_FILE@GOTPAGE
Lloh220:
ldr x8, [x8, _OLD_FILE@GOTPAGEOFF]
Lloh221:
ldr x8, [x8]
lsl x8, x8, #4
ldr q0, [x19, x8]
Lloh222:
adrp x9, _NEW_FILE@GOTPAGE
Lloh223:
ldr x9, [x9, _NEW_FILE@GOTPAGEOFF]
Lloh224:
ldr x9, [x9]
lsl x9, x9, #4
ldr q1, [x19, x9]
str q1, [x19, x8]
str q0, [x19, x9]
LBB0_88:
Lloh225:
adrp x21, _source_file@GOTPAGE
Lloh226:
ldr x21, [x21, _source_file@GOTPAGEOFF]
ldr x0, [x21]
bl _free
str xzr, [x21]
cbz w20, LBB0_93
; %bb.89:
Lloh227:
adrp x8, _OLD_FILE@GOTPAGE
Lloh228:
ldr x8, [x8, _OLD_FILE@GOTPAGEOFF]
Lloh229:
ldr x8, [x8]
lsl x9, x8, #4
ldr x0, [x19, x9]
cbnz x0, LBB0_92
; %bb.90:
add x8, x19, x8, lsl #4
ldr x8, [x8, #8]
cbz x8, LBB0_93
; %bb.91:
Lloh230:
adrp x8, __PATH_DEVNULL@GOTPAGE
Lloh231:
ldr x8, [x8, __PATH_DEVNULL@GOTPAGEOFF]
Lloh232:
ldr x0, [x8]
LBB0_92:
bl _xstrdup
str x0, [x21]
LBB0_93:
Lloh233:
adrp x21, _filearg@GOTPAGE
Lloh234:
ldr x21, [x21, _filearg@GOTPAGEOFF]
ldr x8, [x21]
ldr x8, [x8]
cbnz x8, LBB0_101
; %bb.94:
Lloh235:
adrp x8, _posix@GOTPAGE
Lloh236:
ldr x8, [x8, _posix@GOTPAGEOFF]
Lloh237:
ldr x8, [x8]
cbz x8, LBB0_96
; %bb.95:
ldr w1, [x25]
mov x0, x19
bl _posix_name
b LBB0_100
LBB0_96:
Lloh238:
adrp x8, _OLD_FILE@GOTPAGE
Lloh239:
ldr x8, [x8, _OLD_FILE@GOTPAGEOFF]
Lloh240:
ldr x8, [x8]
lsl x8, x8, #4
ldr x8, [x19, x8]
cbnz x8, LBB0_98
; %bb.97:
Lloh241:
adrp x8, _NEW_FILE@GOTPAGE
Lloh242:
ldr x8, [x8, _NEW_FILE@GOTPAGEOFF]
Lloh243:
ldr x8, [x8]
lsl x8, x8, #4
ldr x8, [x19, x8]
cbz x8, LBB0_99
LBB0_98:
ldr x8, [x24]
lsl x8, x8, #4
ldr x0, [x19, x8]
bl _free
ldr x8, [x24]
lsl x8, x8, #4
str xzr, [x19, x8]
LBB0_99:
ldr w1, [x25]
mov x0, x19
bl _best_name
LBB0_100:
ldr x8, [x21]
str x0, [x8]
LBB0_101:
Lloh244:
adrp x22, _bestguess@GOTPAGE
Lloh245:
ldr x22, [x22, _bestguess@GOTPAGEOFF]
ldr x0, [x22]
bl _free
str xzr, [x22]
ldr x8, [x21]
ldr x0, [x8]
cbz x0, LBB0_104
; %bb.102:
bl _xstrdup
LBB0_103:
str x0, [x22]
b LBB0_105
LBB0_104:
ldr w8, [x25]
cbz w8, LBB0_107
LBB0_105:
Lloh246:
adrp x8, _OLD_FILE@GOTPAGE
Lloh247:
ldr x8, [x8, _OLD_FILE@GOTPAGEOFF]
Lloh248:
ldr x8, [x8]
lsl x8, x8, #4
ldr x0, [x19, x8]
bl _free
Lloh249:
adrp x8, _NEW_FILE@GOTPAGE
Lloh250:
ldr x8, [x8, _NEW_FILE@GOTPAGEOFF]
Lloh251:
ldr x8, [x8]
lsl x8, x8, #4
ldr x0, [x19, x8]
bl _free
ldr x8, [x24]
lsl x8, x8, #4
ldr x0, [x19, x8]
bl _free
mov sp, x23
ldur x8, [x29, #-88]
Lloh252:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh253:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh254:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_110
; %bb.106:
mov x0, x20
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_107:
Lloh255:
adrp x8, _posix@GOTPAGE
Lloh256:
ldr x8, [x8, _posix@GOTPAGEOFF]
Lloh257:
ldr x8, [x8]
cbz x8, LBB0_109
; %bb.108:
mov x0, x19
mov w1, #1
bl _posix_name
b LBB0_103
LBB0_109:
mov x0, x19
mov w1, #1
bl _best_name
b LBB0_103
LBB0_110:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotStr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpLdrGot Lloh63, Lloh64
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpLdrGot Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGot Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84
.loh AdrpLdrGotLdr Lloh85, Lloh86, Lloh87
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpLdrGotLdr Lloh92, Lloh93, Lloh94
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpLdrGotLdr Lloh95, Lloh96, Lloh97
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpLdrGotLdr Lloh100, Lloh101, Lloh102
.loh AdrpLdrGotLdr Lloh103, Lloh104, Lloh105
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpLdrGot Lloh112, Lloh113
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh116, Lloh117
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122
.loh AdrpLdrGotLdr Lloh123, Lloh124, Lloh125
.loh AdrpLdrGot Lloh138, Lloh139
.loh AdrpLdrGotStr Lloh135, Lloh136, Lloh137
.loh AdrpLdrGotStr Lloh132, Lloh133, Lloh134
.loh AdrpLdrGotLdr Lloh129, Lloh130, Lloh131
.loh AdrpLdrGotStr Lloh126, Lloh127, Lloh128
.loh AdrpLdrGot Lloh142, Lloh143
.loh AdrpLdrGot Lloh140, Lloh141
.loh AdrpLdrGotLdr Lloh150, Lloh151, Lloh152
.loh AdrpLdrGotStr Lloh147, Lloh148, Lloh149
.loh AdrpLdrGotStr Lloh144, Lloh145, Lloh146
.loh AdrpLdrGotStr Lloh159, Lloh160, Lloh161
.loh AdrpLdrGotLdr Lloh156, Lloh157, Lloh158
.loh AdrpLdrGotStr Lloh153, Lloh154, Lloh155
.loh AdrpLdrGot Lloh164, Lloh165
.loh AdrpAdd Lloh162, Lloh163
.loh AdrpLdrGotLdr Lloh178, Lloh179, Lloh180
.loh AdrpLdrGotStr Lloh175, Lloh176, Lloh177
.loh AdrpLdrGotLdr Lloh172, Lloh173, Lloh174
.loh AdrpLdrGotStr Lloh169, Lloh170, Lloh171
.loh AdrpLdrGotStr Lloh166, Lloh167, Lloh168
.loh AdrpLdrGot Lloh190, Lloh191
.loh AdrpLdrGotStr Lloh187, Lloh188, Lloh189
.loh AdrpLdrGotStr Lloh183, Lloh184, Lloh185
.loh AdrpLdrGotStr Lloh181, Lloh182, Lloh186
.loh AdrpLdrGot Lloh194, Lloh195
.loh AdrpLdrGot Lloh192, Lloh193
.loh AdrpLdrGot Lloh196, Lloh197
.loh AdrpLdrGot Lloh212, Lloh213
.loh AdrpLdrGot Lloh210, Lloh211
.loh AdrpLdrGotStr Lloh207, Lloh208, Lloh209
.loh AdrpLdrGotLdr Lloh204, Lloh205, Lloh206
.loh AdrpLdrGotStr Lloh201, Lloh202, Lloh203
.loh AdrpLdrGotStr Lloh198, Lloh199, Lloh200
.loh AdrpLdrGot Lloh214, Lloh215
.loh AdrpLdrGotLdr Lloh216, Lloh217, Lloh218
.loh AdrpLdrGotLdr Lloh222, Lloh223, Lloh224
.loh AdrpLdrGotLdr Lloh219, Lloh220, Lloh221
.loh AdrpLdrGot Lloh225, Lloh226
.loh AdrpLdrGotLdr Lloh227, Lloh228, Lloh229
.loh AdrpLdrGotLdr Lloh230, Lloh231, Lloh232
.loh AdrpLdrGot Lloh233, Lloh234
.loh AdrpLdrGotLdr Lloh235, Lloh236, Lloh237
.loh AdrpLdrGotLdr Lloh238, Lloh239, Lloh240
.loh AdrpLdrGotLdr Lloh241, Lloh242, Lloh243
.loh AdrpLdrGot Lloh244, Lloh245
.loh AdrpLdrGotLdr Lloh252, Lloh253, Lloh254
.loh AdrpLdrGotLdr Lloh249, Lloh250, Lloh251
.loh AdrpLdrGotLdr Lloh246, Lloh247, Lloh248
.loh AdrpLdrGotLdr Lloh255, Lloh256, Lloh257
.cfi_endproc
; -- End function
.comm _MAX_FILE,4,2 ; @MAX_FILE
.comm _ok_to_create_file,4,2 ; @ok_to_create_file
.comm _pfp,4,2 ; @pfp
.comm _p_base,4,2 ; @p_base
.comm _SEEK_SET,4,2 ; @SEEK_SET
.comm _p_bline,8,3 ; @p_bline
.comm _p_input_line,8,3 ; @p_input_line
.comm _p_start,8,3 ; @p_start
.comm _p_sline,4,2 ; @p_sline
.comm _ED_DIFF,4,2 ; @ED_DIFF
.comm _buf,8,3 ; @buf
.comm _p_indent,4,2 ; @p_indent
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "*** "
.comm _OLD_FILE,8,3 ; @OLD_FILE
.comm _strippath,4,2 ; @strippath
l_.str.1: ; @.str.1
.asciz "--- "
l_.str.2: ; @.str.2
.asciz "--- a/"
.comm _NEW_FILE,8,3 ; @NEW_FILE
l_.str.3: ; @.str.3
.asciz "+++ "
l_.str.4: ; @.str.4
.asciz "+++ b/"
l_.str.5: ; @.str.5
.asciz "Index:"
.comm _INDEX_FILE,8,3 ; @INDEX_FILE
l_.str.6: ; @.str.6
.asciz "Prereq:"
.comm _revision,8,3 ; @revision
l_.str.7: ; @.str.7
.asciz "diff --git a/"
l_.str.8: ; @.str.8
.asciz "==== "
l_.str.9: ; @.str.9
.asciz " - "
.comm _diff_type,4,2 ; @diff_type
l_.str.10: ; @.str.10
.asciz ".\n"
.comm _UNI_DIFF,4,2 ; @UNI_DIFF
l_.str.11: ; @.str.11
.asciz "@@ -"
l_.str.12: ; @.str.12
.asciz "0,0"
l_.str.13: ; @.str.13
.asciz "********"
.comm _CONTEXT_DIFF,4,2 ; @CONTEXT_DIFF
.comm _NEW_CONTEXT_DIFF,4,2 ; @NEW_CONTEXT_DIFF
.comm _NORMAL_DIFF,4,2 ; @NORMAL_DIFF
l_.str.14: ; @.str.14
.asciz "< "
l_.str.15: ; @.str.15
.asciz "> "
.comm _source_file,8,3 ; @source_file
.comm __PATH_DEVNULL,8,3 ; @_PATH_DEVNULL
.comm _filearg,8,3 ; @filearg
.comm _posix,8,3 ; @posix
.comm _bestguess,8,3 ; @bestguess
.no_dead_strip _intuit_diff_type
.subsections_via_symbols
| AnghaBench/freebsd/usr.bin/patch/extr_pch.c_intuit_diff_type.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function minstrel_ht_check_cck_shortpreamble
_minstrel_ht_check_cck_shortpreamble: ## @minstrel_ht_check_cck_shortpreamble
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rsi), %r8
movq _MINSTREL_CCK_GROUP@GOTPCREL(%rip), %rax
movq (%rax), %r9
movl (%r8,%r9,4), %eax
testl %eax, %eax
je LBB0_4
## %bb.1:
movl (%rsi), %edi
testl %edi, %edi
je LBB0_4
## %bb.2:
shll $2, %edx
movl %edi, %esi
movl %edx, %ecx
shll %cl, %esi
testl %eax, %esi
je LBB0_3
LBB0_4:
popq %rbp
retq
LBB0_3:
movl %edi, %ecx
shll $4, %ecx
orl %edi, %ecx
xorl %eax, %ecx
movl %ecx, (%r8,%r9,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MINSTREL_CCK_GROUP,8,3 ## @MINSTREL_CCK_GROUP
.no_dead_strip _minstrel_ht_check_cck_shortpreamble
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function minstrel_ht_check_cck_shortpreamble
_minstrel_ht_check_cck_shortpreamble: ; @minstrel_ht_check_cck_shortpreamble
.cfi_startproc
; %bb.0:
ldr x8, [x1, #8]
Lloh0:
adrp x9, _MINSTREL_CCK_GROUP@GOTPAGE
Lloh1:
ldr x9, [x9, _MINSTREL_CCK_GROUP@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
ldr w10, [x8, x9, lsl #2]
cbz w10, LBB0_2
; %bb.1:
ldr w11, [x1]
cmp w11, #0
lsl w12, w2, #2
lsl w12, w11, w12
and w12, w12, w10
ccmp w12, #0, #0, ne
b.eq LBB0_3
LBB0_2:
ret
LBB0_3:
orr w11, w11, w11, lsl #4
eor w10, w11, w10
str w10, [x8, x9, lsl #2]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MINSTREL_CCK_GROUP,8,3 ; @MINSTREL_CCK_GROUP
.no_dead_strip _minstrel_ht_check_cck_shortpreamble
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_minstrel_ht.c_minstrel_ht_check_cck_shortpreamble.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nfsproc_write_2_svc ## -- Begin function nfsproc_write_2_svc
.p2align 4, 0x90
_nfsproc_write_2_svc: ## @nfsproc_write_2_svc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _fh_to_mp
testl %eax, %eax
jne LBB0_1
## %bb.2:
movq _ESTALE@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _EROFS@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %edi
callq _nfs_error
movq %rax, _nfsproc_write_2_svc.res(%rip)
leaq _nfsproc_write_2_svc.res(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_nfsproc_write_2_svc.res,8,3 ## @nfsproc_write_2_svc.res
.comm _ESTALE,4,2 ## @ESTALE
.comm _EROFS,4,2 ## @EROFS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nfsproc_write_2_svc ; -- Begin function nfsproc_write_2_svc
.p2align 2
_nfsproc_write_2_svc: ; @nfsproc_write_2_svc
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _fh_to_mp
Lloh0:
adrp x8, _ESTALE@GOTPAGE
Lloh1:
ldr x8, [x8, _ESTALE@GOTPAGEOFF]
Lloh2:
adrp x9, _EROFS@GOTPAGE
Lloh3:
ldr x9, [x9, _EROFS@GOTPAGEOFF]
cmp w0, #0
csel x8, x8, x9, eq
ldr w0, [x8]
bl _nfs_error
Lloh4:
adrp x8, _nfsproc_write_2_svc.res@PAGE
Lloh5:
add x8, x8, _nfsproc_write_2_svc.res@PAGEOFF
str x0, [x8]
mov x0, x8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_nfsproc_write_2_svc.res,8,3 ; @nfsproc_write_2_svc.res
.comm _ESTALE,4,2 ; @ESTALE
.comm _EROFS,4,2 ; @EROFS
.subsections_via_symbols
| AnghaBench/freebsd/contrib/amd/amd/extr_nfs_subr.c_nfsproc_write_2_svc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _t4_display_tcb_aux_0 ## -- Begin function t4_display_tcb_aux_0
.p2align 4, 0x90
_t4_display_tcb_aux_0: ## @t4_display_tcb_aux_0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _PR
leaq L_.str.2(%rip), %r14
movq %r14, %rdi
callq _val
movl %eax, %edi
callq _spr_tcp_state
movl %eax, %ebx
movq %r14, %rdi
callq _val
movl %eax, %r14d
leaq L_.str.3(%rip), %rdi
callq _val
movl %eax, %edi
callq _spr_ip_version
movl %eax, %r15d
leaq L_.str.4(%rip), %rdi
callq _val
movl %eax, %r12d
leaq L_.str.5(%rip), %rdi
callq _val
leaq L_.str.1(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %r15d, %ecx
movl %r12d, %r8d
movl %eax, %r9d
xorl %eax, %eax
callq _PR
leaq L_.str.7(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.8(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.9(%rip), %rdi
callq _val
leaq L_.str.6(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.11(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.12(%rip), %rdi
callq _val
movl %eax, %r15d
leaq L_.str.13(%rip), %rdi
callq _val
movl %eax, %r12d
leaq L_.str.14(%rip), %rdi
callq _val
leaq L_.str.10(%rip), %rdi
movl %r14d, %esi
movl %r15d, %edx
movl %r12d, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq _PR
leaq L_.str.15(%rip), %rdi
xorl %eax, %eax
callq _PR
leaq L_.str.17(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.18(%rip), %rdi
callq _val
leaq L_.str.16(%rip), %rdi
movl %r14d, %esi
movl %eax, %edx
xorl %eax, %eax
callq _PR
leaq L_.str.20(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.21(%rip), %rdi
callq _val
movl %eax, %r15d
leaq L_.str.22(%rip), %rdi
callq _val
## kill: def $eax killed $eax def $rax
leal (,%rax,4), %ebx
leaq L_.str.23(%rip), %rdi
callq _val
## kill: def $eax killed $eax def $rax
leal (%rax,%rax), %r12d
orl %ebx, %r12d
leaq L_.str.24(%rip), %rdi
callq _val
orl %eax, %r12d
leaq L_.str.19(%rip), %rdi
movl %r14d, %esi
movl %r15d, %edx
movl %r12d, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.26(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.27(%rip), %rdi
callq _val
movl %eax, %r15d
leaq L_.str.28(%rip), %rdi
callq _val
leaq L_.str.25(%rip), %rdi
movl %r14d, %esi
movl %r15d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.30(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.31(%rip), %rdi
callq _val
leaq L_.str.29(%rip), %rdi
movl %r14d, %esi
movl %eax, %edx
xorl %eax, %eax
callq _PR
leaq L_.str.33(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.34(%rip), %rdi
callq _val
leaq L_.str.32(%rip), %rdi
movl %r14d, %esi
movl %eax, %edx
xorl %eax, %eax
callq _PR
leaq L_.str.36(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.37(%rip), %rdi
callq _val
leaq L_.str.35(%rip), %rdi
movl %r14d, %esi
movl %eax, %edx
xorl %eax, %eax
callq _PR
leaq L_.str.38(%rip), %rdi
xorl %eax, %eax
callq _PR
leaq L_.str.40(%rip), %r14
movq %r14, %rdi
callq _val
movl %eax, %r15d
leaq L_.str.41(%rip), %rdi
callq _val
movl %eax, %r12d
leaq L_.str.42(%rip), %rdi
callq _val
movl %eax, %r13d
leaq L_.str.43(%rip), %rbx
movq %rbx, %rdi
callq _val
leaq L_.str.39(%rip), %rdi
movl %r15d, %esi
movl %r12d, %edx
movl %r13d, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq _PR
leaq L_.str.45(%rip), %rdi
callq _val
movl %eax, %r15d
movq %rbx, %rdi
callq _val
movl %eax, %ebx
movq %r14, %rdi
callq _val
movl %ebx, %edi
movl %eax, %esi
callq _SEQ_SUB
leaq L_.str.44(%rip), %rdi
movl %r15d, %esi
movl %eax, %edx
xorl %eax, %eax
callq _PR
leaq L_.str.12(%rip), %rdi
callq _val
testl %eax, %eax
je LBB0_1
LBB0_2:
leaq L_.str.48(%rip), %r15
movq %r15, %rdi
callq _val
movl %eax, %ebx
leaq L_.str.49(%rip), %r12
movq %r12, %rdi
callq _val
movl %eax, %r14d
movq %r15, %rdi
callq _val
movl %eax, %r15d
movq %r12, %rdi
callq _val
movl %eax, %ecx
shll %cl, %r15d
leaq L_.str.12(%rip), %rdi
callq _val
movl %eax, %r13d
movq %r12, %rdi
callq _val
movl %eax, %r12d
leaq L_.str.46(%rip), %rdi
callq _val
movl %eax, (%rsp)
leaq L_.str.47(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %r15d, %ecx
movl %r13d, %r8d
movl %r12d, %r9d
xorl %eax, %eax
callq _PR
jmp LBB0_4
LBB0_1:
leaq L_.str.46(%rip), %rdi
callq _val
testl %eax, %eax
je LBB0_2
## %bb.3:
leaq L_.str.48(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.49(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.12(%rip), %rdi
callq _val
movl %eax, %r15d
leaq L_.str.46(%rip), %rdi
callq _val
leaq L_.str.50(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %r15d, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq _PR
LBB0_4:
leaq L_.str.52(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.53(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.54(%rip), %rdi
callq _val
leaq L_.str.51(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.56(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.57(%rip), %rdi
callq _val
movl %ebx, %edi
movl %eax, %esi
callq _spr_cctrl_sel
movl %eax, %ebx
leaq L_.str.58(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.59(%rip), %rdi
callq _val
movl %eax, %r15d
leaq L_.str.60(%rip), %rdi
callq _val
movl %eax, %r12d
leaq L_.str.61(%rip), %rdi
callq _val
leaq L_.str.55(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %r15d, %ecx
movl %r12d, %r8d
movl %eax, %r9d
xorl %eax, %eax
callq _PR
leaq L_.str.63(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.64(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.65(%rip), %rdi
callq _val
leaq L_.str.62(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.67(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.68(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.69(%rip), %rdi
callq _val
leaq L_.str.66(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.71(%rip), %rdi
callq _val
leaq L_.str.70(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _PR
leaq L_.str.73(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.74(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.75(%rip), %rdi
callq _val
leaq L_.str.72(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.77(%rip), %rdi
callq _val
leaq L_.str.76(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _PR
leaq L_.str.79(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.80(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.81(%rip), %rdi
callq _val
leaq L_.str.78(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.83(%rip), %rdi
callq _val
leaq L_.str.82(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _PR
leaq L_.str.85(%rip), %rbx
movq %rbx, %rdi
callq _val
movl %eax, %r14d
movq %rbx, %rdi
callq _val
movl %eax, %r15d
shrl %r15d
andl $1, %r15d
movq %rbx, %rdi
callq _val
andl $1, %eax
leaq L_.str.84(%rip), %rdi
movl %r14d, %esi
movl %r15d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.87(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.88(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.89(%rip), %rdi
callq _val
leaq L_.str.86(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.90(%rip), %rdi
xorl %eax, %eax
callq _PR
leaq L_.str.92(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.93(%rip), %rdi
callq _val
leaq L_.str.91(%rip), %rdi
movl %ebx, %esi
movl %eax, %edx
xorl %eax, %eax
callq _PR
leaq L_.str.95(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.96(%rip), %rdi
callq _val
leaq L_.str.94(%rip), %rdi
movl %ebx, %esi
movl %eax, %edx
xorl %eax, %eax
callq _PR
leaq L_.str.98(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.99(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.100(%rip), %rdi
callq _val
leaq L_.str.97(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.102(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.103(%rip), %rdi
callq _val
leaq L_.str.101(%rip), %rdi
movl %ebx, %esi
movl %eax, %edx
xorl %eax, %eax
callq _PR
leaq L_.str.104(%rip), %rdi
callq _val
cmpl $4, %eax
jne LBB0_5
## %bb.6:
leaq L_.str.107(%rip), %rdi
xorl %eax, %eax
callq _PR
jmp LBB0_7
LBB0_5:
leaq L_.str.106(%rip), %rdi
callq _val
leaq L_.str.105(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _PR
LBB0_7:
leaq L_.str.104(%rip), %rdi
callq _val
cmpl $6, %eax
je LBB0_11
## %bb.8:
leaq L_.str.104(%rip), %rdi
callq _val
cmpl $5, %eax
je LBB0_11
## %bb.9:
leaq L_.str.104(%rip), %rdi
callq _val
cmpl $4, %eax
je LBB0_11
## %bb.10:
leaq L_.str.109(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.110(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.111(%rip), %rdi
callq _val
leaq L_.str.108(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.113(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.114(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.115(%rip), %rdi
callq _val
leaq L_.str.112(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
LBB0_11:
leaq L_.str.117(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.118(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.119(%rip), %rdi
callq _val
leaq L_.str.116(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.12(%rip), %rdi
callq _val
movl %eax, %r15d
leaq L_.str.121(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.122(%rip), %rdi
callq _val
movl %eax, %r14d
testl %r15d, %r15d
je LBB0_13
## %bb.12:
leaq L_.str.121(%rip), %rdi
callq _val
movl %eax, %r15d
leaq L_.str.122(%rip), %rdi
callq _val
movl %eax, %ecx
sarl %cl, %r15d
leaq L_.str.12(%rip), %rdi
callq _val
leaq L_.str.120(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %r15d, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq _PR
jmp LBB0_14
LBB0_13:
leaq L_.str.12(%rip), %rdi
callq _val
leaq L_.str.123(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
LBB0_14:
leaq L_.str.125(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.126(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.127(%rip), %rdi
callq _val
leaq L_.str.124(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.129(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.130(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.131(%rip), %rdi
callq _val
movl %eax, %r15d
leaq L_.str.132(%rip), %rdi
callq _val
leaq L_.str.128(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %r15d, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq _PR
leaq L_.str.134(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.135(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.136(%rip), %rdi
callq _val
leaq L_.str.133(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.138(%rip), %rdi
callq _val
leaq L_.str.137(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _PR
leaq L_.str.139(%rip), %rdi
xorl %eax, %eax
callq _PR
leaq L_.str.141(%rip), %rdi
callq _val
## kill: def $eax killed $eax def $rax
leal (,%rax,4), %r14d
leaq L_.str.142(%rip), %rdi
callq _val
## kill: def $eax killed $eax def $rax
leal (%rax,%rax), %ebx
orl %r14d, %ebx
leaq L_.str.143(%rip), %rdi
callq _val
orl %eax, %ebx
leaq L_.str.144(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.145(%rip), %rdi
callq _val
leaq L_.str.140(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.147(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.148(%rip), %rdi
callq _val
movl %eax, %r14d
leaq L_.str.149(%rip), %rdi
callq _val
movl %eax, %r15d
leaq L_.str.150(%rip), %rdi
callq _val
leaq L_.str.146(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %r15d, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq _PR
leaq L_.str.104(%rip), %rbx
movq %rbx, %rdi
callq _val
movl %eax, %r14d
movq %rbx, %rdi
callq _val
movl %eax, %edi
callq _spr_ulp_type
movl %eax, %ebx
leaq L_.str.152(%rip), %rdi
callq _val
leaq L_.str.151(%rip), %rdi
movl %r14d, %esi
movl %ebx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _PR
leaq L_.str.154(%rip), %rdi
callq _val
movl %eax, %ebx
leaq L_.str.155(%rip), %rdi
callq _val
leaq L_.str.153(%rip), %rdi
movl %ebx, %esi
movl %eax, %edx
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _PR ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "STATE:\n"
L_.str.1: ## @.str.1
.asciz " %-12s (%-2u), %s, lock_tid %u, init %u\n"
L_.str.2: ## @.str.2
.asciz "t_state"
L_.str.3: ## @.str.3
.asciz "ip_version"
L_.str.4: ## @.str.4
.asciz "lock_tid"
L_.str.5: ## @.str.5
.asciz "init"
L_.str.6: ## @.str.6
.asciz " l2t_ix 0x%x, smac sel 0x%x, tos 0x%x\n"
L_.str.7: ## @.str.7
.asciz "l2t_ix"
L_.str.8: ## @.str.8
.asciz "smac_sel"
L_.str.9: ## @.str.9
.asciz "tos"
L_.str.10: ## @.str.10
.asciz " maxseg %u, recv_scaleflag %u, recv_tstmp %u, recv_sack %u\n"
L_.str.11: ## @.str.11
.asciz "t_maxseg"
L_.str.12: ## @.str.12
.asciz "recv_scale"
L_.str.13: ## @.str.13
.asciz "recv_tstmp"
L_.str.14: ## @.str.14
.asciz "recv_sack"
L_.str.15: ## @.str.15
.asciz "TIMERS:\n"
L_.str.16: ## @.str.16
.asciz " timer %u, dack_timer %u\n"
L_.str.17: ## @.str.17
.asciz "timer"
L_.str.18: ## @.str.18
.asciz "dack_timer"
L_.str.19: ## @.str.19
.asciz " mod_schd: tx: %u, rx: %u, reason 0x%1x\n"
L_.str.20: ## @.str.20
.asciz "mod_schd_tx"
L_.str.21: ## @.str.21
.asciz "mod_schd_rx"
L_.str.22: ## @.str.22
.asciz "mod_schd_reason2"
L_.str.23: ## @.str.23
.asciz "mod_schd_reason1"
L_.str.24: ## @.str.24
.asciz "mod_schd_reason0"
L_.str.25: ## @.str.25
.asciz " max_rt %-2u, rxtshift %u, keepalive %u\n"
L_.str.26: ## @.str.26
.asciz "max_rt"
L_.str.27: ## @.str.27
.asciz "t_rxtshift"
L_.str.28: ## @.str.28
.asciz "keepalive"
L_.str.29: ## @.str.29
.asciz " timestamp_offset 0x%x, timestamp 0x%x\n"
L_.str.30: ## @.str.30
.asciz "timestamp_offset"
L_.str.31: ## @.str.31
.asciz "timestamp"
L_.str.32: ## @.str.32
.asciz " t_rtt_ts_recent_age %u t_rttseq_recent %u\n"
L_.str.33: ## @.str.33
.asciz "t_rtt_ts_recent_age"
L_.str.34: ## @.str.34
.asciz "t_rtseq_recent"
L_.str.35: ## @.str.35
.asciz " t_srtt %u, t_rttvar %u\n"
L_.str.36: ## @.str.36
.asciz "t_srtt"
L_.str.37: ## @.str.37
.asciz "t_rttvar"
L_.str.38: ## @.str.38
.asciz "TRANSMIT BUFFER:\n"
L_.str.39: ## @.str.39
.asciz " snd_una %u, snd_nxt %u, snd_max %u, tx_max %u\n"
L_.str.40: ## @.str.40
.asciz "snd_una"
L_.str.41: ## @.str.41
.asciz "snd_nxt"
L_.str.42: ## @.str.42
.asciz "snd_max"
L_.str.43: ## @.str.43
.asciz "tx_max"
L_.str.44: ## @.str.44
.asciz " core_fin %u, tx_hdr_offset %u\n"
L_.str.45: ## @.str.45
.asciz "core_fin"
L_.str.46: ## @.str.46
.asciz "active_open"
L_.str.47: ## @.str.47
.asciz " rcv_adv %-5u << %-2u == %u (recv_scaleflag %u rcv_scale %u active open %u)\n"
L_.str.48: ## @.str.48
.asciz "rcv_adv"
L_.str.49: ## @.str.49
.asciz "rcv_scale"
L_.str.50: ## @.str.50
.asciz " rcv_adv %-5u (rcv_scale %-2u recv_scaleflag %u active_open %u)\n"
L_.str.51: ## @.str.51
.asciz " snd_cwnd %-5u snd_ssthresh %u snd_rec %u\n"
L_.str.52: ## @.str.52
.asciz "snd_cwnd"
L_.str.53: ## @.str.53
.asciz "snd_ssthresh"
L_.str.54: ## @.str.54
.asciz "snd_rec"
L_.str.55: ## @.str.55
.asciz " cctrl: sel %s, ecn %u, ece %u, cwr %u, rfr %u\n"
L_.str.56: ## @.str.56
.asciz "cctrl_sel0"
L_.str.57: ## @.str.57
.asciz "cctrl_sel1"
L_.str.58: ## @.str.58
.asciz "cctrl_ecn"
L_.str.59: ## @.str.59
.asciz "cctrl_ece"
L_.str.60: ## @.str.60
.asciz "cctrl_cwr"
L_.str.61: ## @.str.61
.asciz "cctrl_rfr"
L_.str.62: ## @.str.62
.asciz " t_dupacks %u, dupack_count_odd %u, fast_recovery %u\n"
L_.str.63: ## @.str.63
.asciz "t_dupacks"
L_.str.64: ## @.str.64
.asciz "dupack_count_odd"
L_.str.65: ## @.str.65
.asciz "fast_recovery"
L_.str.66: ## @.str.66
.asciz " core_more %u, core_urg, %u core_push %u,"
L_.str.67: ## @.str.67
.asciz "core_more"
L_.str.68: ## @.str.68
.asciz "core_urg"
L_.str.69: ## @.str.69
.asciz "core_push"
L_.str.70: ## @.str.70
.asciz " core_flush %u\n"
L_.str.71: ## @.str.71
.asciz "core_flush"
L_.str.72: ## @.str.72
.asciz " nagle %u, ssws_disable %u, turbo %u,"
L_.str.73: ## @.str.73
.asciz "nagle"
L_.str.74: ## @.str.74
.asciz "ssws_disabled"
L_.str.75: ## @.str.75
.asciz "turbo"
L_.str.76: ## @.str.76
.asciz " tx_pdu_out %u\n"
L_.str.77: ## @.str.77
.asciz "tx_pdu_out"
L_.str.78: ## @.str.78
.asciz " tx_pace_auto %u, tx_pace_fixed %u, tx_queue %u"
L_.str.79: ## @.str.79
.asciz "tx_pace_auto"
L_.str.80: ## @.str.80
.asciz "tx_pace_fixed"
L_.str.81: ## @.str.81
.asciz "tx_queue"
L_.str.82: ## @.str.82
.asciz " tx_quiesce %u\n"
L_.str.83: ## @.str.83
.asciz "tx_quiesce"
L_.str.84: ## @.str.84
.asciz " tx_channel %u, tx_channel1 %u, tx_channel0 %u\n"
L_.str.85: ## @.str.85
.asciz "tx_channel"
L_.str.86: ## @.str.86
.asciz " tx_hdr_ptr 0x%-6x tx_last_ptr 0x%-6x tx_compact %u\n"
L_.str.87: ## @.str.87
.asciz "tx_hdr_ptr"
L_.str.88: ## @.str.88
.asciz "tx_last_ptr"
L_.str.89: ## @.str.89
.asciz "tx_compact"
L_.str.90: ## @.str.90
.asciz "RECEIVE BUFFER:\n"
L_.str.91: ## @.str.91
.asciz " last_ack_sent %-10u rx_compact %u\n"
L_.str.92: ## @.str.92
.asciz "ts_last_ack_sent"
L_.str.93: ## @.str.93
.asciz "rx_compact"
L_.str.94: ## @.str.94
.asciz " rcv_nxt %-10u hdr_off %-10u\n"
L_.str.95: ## @.str.95
.asciz "rcv_nxt"
L_.str.96: ## @.str.96
.asciz "rx_hdr_offset"
L_.str.97: ## @.str.97
.asciz " frag0_idx %-10u length %-10u frag0_ptr 0x%-8x\n"
L_.str.98: ## @.str.98
.asciz "rx_frag0_start_idx"
L_.str.99: ## @.str.99
.asciz "rx_frag0_len"
L_.str.100: ## @.str.100
.asciz "rx_ptr"
L_.str.101: ## @.str.101
.asciz " frag1_idx %-10u length %-10u "
L_.str.102: ## @.str.102
.asciz "rx_frag1_start_idx_offset"
L_.str.103: ## @.str.103
.asciz "rx_frag1_len"
L_.str.104: ## @.str.104
.asciz "ulp_type"
L_.str.105: ## @.str.105
.asciz "frag1_ptr 0x%-8x\n"
L_.str.106: ## @.str.106
.asciz "rx_frag1_ptr"
L_.str.107: ## @.str.107
.asciz "\n"
L_.str.108: ## @.str.108
.asciz " frag2_idx %-10u length %-10u frag2_ptr 0x%-8x\n"
L_.str.109: ## @.str.109
.asciz "rx_frag2_start_idx_offset"
L_.str.110: ## @.str.110
.asciz "rx_frag2_len"
L_.str.111: ## @.str.111
.asciz "rx_frag2_ptr"
L_.str.112: ## @.str.112
.asciz " frag3_idx %-10u length %-10u frag3_ptr 0x%-8x\n"
L_.str.113: ## @.str.113
.asciz "rx_frag3_start_idx_offset"
L_.str.114: ## @.str.114
.asciz "rx_frag3_len"
L_.str.115: ## @.str.115
.asciz "rx_frag3_ptr"
L_.str.116: ## @.str.116
.asciz " peer_fin %u, rx_pdu_out %u, pdu_len %u\n"
L_.str.117: ## @.str.117
.asciz "peer_fin"
L_.str.118: ## @.str.118
.asciz "rx_pdu_out"
L_.str.119: ## @.str.119
.asciz "pdu_len"
L_.str.120: ## @.str.120
.asciz " rcv_wnd %u >> snd_scale %u == %u, recv_scaleflag = %u\n"
L_.str.121: ## @.str.121
.asciz "rcv_wnd"
L_.str.122: ## @.str.122
.asciz "snd_scale"
L_.str.123: ## @.str.123
.asciz " rcv_wnd %u. (snd_scale %u, recv_scaleflag = %u)\n"
L_.str.124: ## @.str.124
.asciz " dack_mss %u dack %u, dack_not_acked: %u\n"
L_.str.125: ## @.str.125
.asciz "dack_mss"
L_.str.126: ## @.str.126
.asciz "dack"
L_.str.127: ## @.str.127
.asciz "dack_not_acked"
L_.str.128: ## @.str.128
.asciz " rcv_coal %u rcv_co_psh %u rcv_co_last_psh %u heart %u\n"
L_.str.129: ## @.str.129
.asciz "rcv_coalesce_enable"
L_.str.130: ## @.str.130
.asciz "rcv_coalesce_push"
L_.str.131: ## @.str.131
.asciz "rcv_coalesce_last_psh"
L_.str.132: ## @.str.132
.asciz "rcv_coalesce_heartbeat"
L_.str.133: ## @.str.133
.asciz " rx_channel %u rx_quiesce %u rx_flow_ctrl_dis %u,"
L_.str.134: ## @.str.134
.asciz "rx_channel"
L_.str.135: ## @.str.135
.asciz "rx_quiesce"
L_.str.136: ## @.str.136
.asciz "rx_flow_control_disable"
L_.str.137: ## @.str.137
.asciz " rx_flow_ctrl_ddp %u\n"
L_.str.138: ## @.str.138
.asciz "rx_flow_control_ddp"
L_.str.139: ## @.str.139
.asciz "MISCELANEOUS:\n"
L_.str.140: ## @.str.140
.asciz " pend_ctl: 0x%1x, unused_flags: 0x%x, main_slush: 0x%x\n"
L_.str.141: ## @.str.141
.asciz "pend_ctl2"
L_.str.142: ## @.str.142
.asciz "pend_ctl1"
L_.str.143: ## @.str.143
.asciz "pend_ctl0"
L_.str.144: ## @.str.144
.asciz "unused"
L_.str.145: ## @.str.145
.asciz "main_slush"
L_.str.146: ## @.str.146
.asciz " Migrating %u, ask_mode %u, non_offload %u, rss_info %u\n"
L_.str.147: ## @.str.147
.asciz "migrating"
L_.str.148: ## @.str.148
.asciz "ask_mode"
L_.str.149: ## @.str.149
.asciz "non_offload"
L_.str.150: ## @.str.150
.asciz "rss_info"
L_.str.151: ## @.str.151
.asciz " ULP: ulp_type %u (%s), ulp_raw %u\n"
L_.str.152: ## @.str.152
.asciz "ulp_raw"
L_.str.153: ## @.str.153
.asciz " RDMA: error %u, flm_err %u\n"
L_.str.154: ## @.str.154
.asciz "rdma_error"
L_.str.155: ## @.str.155
.asciz "rdma_flm_error"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _t4_display_tcb_aux_0 ; -- Begin function t4_display_tcb_aux_0
.p2align 2
_t4_display_tcb_aux_0: ; @t4_display_tcb_aux_0
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _PR
Lloh2:
adrp x19, l_.str.2@PAGE
Lloh3:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _val
bl _spr_tcp_state
mov x20, x0
mov x0, x19
bl _val
mov x19, x0
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _val
bl _spr_ip_version
mov x21, x0
Lloh6:
adrp x0, l_.str.4@PAGE
Lloh7:
add x0, x0, l_.str.4@PAGEOFF
bl _val
mov x22, x0
Lloh8:
adrp x0, l_.str.5@PAGE
Lloh9:
add x0, x0, l_.str.5@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp, #24]
stp x19, x21, [sp, #8]
str x20, [sp]
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
bl _PR
Lloh12:
adrp x0, l_.str.7@PAGE
Lloh13:
add x0, x0, l_.str.7@PAGEOFF
bl _val
mov x19, x0
Lloh14:
adrp x0, l_.str.8@PAGE
Lloh15:
add x0, x0, l_.str.8@PAGEOFF
bl _val
mov x20, x0
Lloh16:
adrp x0, l_.str.9@PAGE
Lloh17:
add x0, x0, l_.str.9@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh18:
adrp x0, l_.str.6@PAGE
Lloh19:
add x0, x0, l_.str.6@PAGEOFF
bl _PR
Lloh20:
adrp x0, l_.str.11@PAGE
Lloh21:
add x0, x0, l_.str.11@PAGEOFF
bl _val
mov x20, x0
Lloh22:
adrp x19, l_.str.12@PAGE
Lloh23:
add x19, x19, l_.str.12@PAGEOFF
mov x0, x19
bl _val
mov x21, x0
Lloh24:
adrp x0, l_.str.13@PAGE
Lloh25:
add x0, x0, l_.str.13@PAGEOFF
bl _val
mov x22, x0
Lloh26:
adrp x0, l_.str.14@PAGE
Lloh27:
add x0, x0, l_.str.14@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp, #16]
stp x20, x21, [sp]
Lloh28:
adrp x0, l_.str.10@PAGE
Lloh29:
add x0, x0, l_.str.10@PAGEOFF
bl _PR
Lloh30:
adrp x0, l_.str.15@PAGE
Lloh31:
add x0, x0, l_.str.15@PAGEOFF
bl _PR
Lloh32:
adrp x0, l_.str.17@PAGE
Lloh33:
add x0, x0, l_.str.17@PAGEOFF
bl _val
mov x20, x0
Lloh34:
adrp x0, l_.str.18@PAGE
Lloh35:
add x0, x0, l_.str.18@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp]
Lloh36:
adrp x0, l_.str.16@PAGE
Lloh37:
add x0, x0, l_.str.16@PAGEOFF
bl _PR
Lloh38:
adrp x0, l_.str.20@PAGE
Lloh39:
add x0, x0, l_.str.20@PAGEOFF
bl _val
mov x20, x0
Lloh40:
adrp x0, l_.str.21@PAGE
Lloh41:
add x0, x0, l_.str.21@PAGEOFF
bl _val
mov x21, x0
Lloh42:
adrp x0, l_.str.22@PAGE
Lloh43:
add x0, x0, l_.str.22@PAGEOFF
bl _val
mov x22, x0
Lloh44:
adrp x0, l_.str.23@PAGE
Lloh45:
add x0, x0, l_.str.23@PAGEOFF
bl _val
lsl w8, w0, #1
orr w22, w8, w22, lsl #2
Lloh46:
adrp x0, l_.str.24@PAGE
Lloh47:
add x0, x0, l_.str.24@PAGEOFF
bl _val
orr w8, w22, w0
stp x21, x8, [sp, #8]
str x20, [sp]
Lloh48:
adrp x0, l_.str.19@PAGE
Lloh49:
add x0, x0, l_.str.19@PAGEOFF
bl _PR
Lloh50:
adrp x0, l_.str.26@PAGE
Lloh51:
add x0, x0, l_.str.26@PAGEOFF
bl _val
mov x20, x0
Lloh52:
adrp x0, l_.str.27@PAGE
Lloh53:
add x0, x0, l_.str.27@PAGEOFF
bl _val
mov x21, x0
Lloh54:
adrp x0, l_.str.28@PAGE
Lloh55:
add x0, x0, l_.str.28@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #8]
str x20, [sp]
Lloh56:
adrp x0, l_.str.25@PAGE
Lloh57:
add x0, x0, l_.str.25@PAGEOFF
bl _PR
Lloh58:
adrp x0, l_.str.30@PAGE
Lloh59:
add x0, x0, l_.str.30@PAGEOFF
bl _val
mov x20, x0
Lloh60:
adrp x0, l_.str.31@PAGE
Lloh61:
add x0, x0, l_.str.31@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp]
Lloh62:
adrp x0, l_.str.29@PAGE
Lloh63:
add x0, x0, l_.str.29@PAGEOFF
bl _PR
Lloh64:
adrp x0, l_.str.33@PAGE
Lloh65:
add x0, x0, l_.str.33@PAGEOFF
bl _val
mov x20, x0
Lloh66:
adrp x0, l_.str.34@PAGE
Lloh67:
add x0, x0, l_.str.34@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp]
Lloh68:
adrp x0, l_.str.32@PAGE
Lloh69:
add x0, x0, l_.str.32@PAGEOFF
bl _PR
Lloh70:
adrp x0, l_.str.36@PAGE
Lloh71:
add x0, x0, l_.str.36@PAGEOFF
bl _val
mov x20, x0
Lloh72:
adrp x0, l_.str.37@PAGE
Lloh73:
add x0, x0, l_.str.37@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp]
Lloh74:
adrp x0, l_.str.35@PAGE
Lloh75:
add x0, x0, l_.str.35@PAGEOFF
bl _PR
Lloh76:
adrp x0, l_.str.38@PAGE
Lloh77:
add x0, x0, l_.str.38@PAGEOFF
bl _PR
Lloh78:
adrp x20, l_.str.40@PAGE
Lloh79:
add x20, x20, l_.str.40@PAGEOFF
mov x0, x20
bl _val
mov x21, x0
Lloh80:
adrp x0, l_.str.41@PAGE
Lloh81:
add x0, x0, l_.str.41@PAGEOFF
bl _val
mov x22, x0
Lloh82:
adrp x0, l_.str.42@PAGE
Lloh83:
add x0, x0, l_.str.42@PAGEOFF
bl _val
mov x23, x0
Lloh84:
adrp x24, l_.str.43@PAGE
Lloh85:
add x24, x24, l_.str.43@PAGEOFF
mov x0, x24
bl _val
; kill: def $w0 killed $w0 def $x0
stp x23, x0, [sp, #16]
stp x21, x22, [sp]
Lloh86:
adrp x0, l_.str.39@PAGE
Lloh87:
add x0, x0, l_.str.39@PAGEOFF
bl _PR
Lloh88:
adrp x0, l_.str.45@PAGE
Lloh89:
add x0, x0, l_.str.45@PAGEOFF
bl _val
mov x21, x0
mov x0, x24
bl _val
mov x22, x0
mov x0, x20
bl _val
mov x1, x0
mov x0, x22
bl _SEQ_SUB
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp]
Lloh90:
adrp x0, l_.str.44@PAGE
Lloh91:
add x0, x0, l_.str.44@PAGEOFF
bl _PR
mov x0, x19
bl _val
cbz w0, LBB0_2
LBB0_1:
Lloh92:
adrp x19, l_.str.48@PAGE
Lloh93:
add x19, x19, l_.str.48@PAGEOFF
mov x0, x19
bl _val
mov x20, x0
Lloh94:
adrp x21, l_.str.49@PAGE
Lloh95:
add x21, x21, l_.str.49@PAGEOFF
mov x0, x21
bl _val
mov x22, x0
mov x0, x19
bl _val
mov x19, x0
mov x0, x21
bl _val
lsl w23, w19, w0
Lloh96:
adrp x0, l_.str.12@PAGE
Lloh97:
add x0, x0, l_.str.12@PAGEOFF
bl _val
mov x19, x0
mov x0, x21
bl _val
mov x21, x0
Lloh98:
adrp x0, l_.str.46@PAGE
Lloh99:
add x0, x0, l_.str.46@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #32]
stp x23, x19, [sp, #16]
stp x20, x22, [sp]
Lloh100:
adrp x0, l_.str.47@PAGE
Lloh101:
add x0, x0, l_.str.47@PAGEOFF
b LBB0_4
LBB0_2:
Lloh102:
adrp x0, l_.str.46@PAGE
Lloh103:
add x0, x0, l_.str.46@PAGEOFF
bl _val
cbz w0, LBB0_1
; %bb.3:
Lloh104:
adrp x0, l_.str.48@PAGE
Lloh105:
add x0, x0, l_.str.48@PAGEOFF
bl _val
mov x19, x0
Lloh106:
adrp x0, l_.str.49@PAGE
Lloh107:
add x0, x0, l_.str.49@PAGEOFF
bl _val
mov x20, x0
Lloh108:
adrp x0, l_.str.12@PAGE
Lloh109:
add x0, x0, l_.str.12@PAGEOFF
bl _val
mov x21, x0
Lloh110:
adrp x0, l_.str.46@PAGE
Lloh111:
add x0, x0, l_.str.46@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #16]
stp x19, x20, [sp]
Lloh112:
adrp x0, l_.str.50@PAGE
Lloh113:
add x0, x0, l_.str.50@PAGEOFF
LBB0_4:
bl _PR
Lloh114:
adrp x0, l_.str.52@PAGE
Lloh115:
add x0, x0, l_.str.52@PAGEOFF
bl _val
mov x19, x0
Lloh116:
adrp x0, l_.str.53@PAGE
Lloh117:
add x0, x0, l_.str.53@PAGEOFF
bl _val
mov x20, x0
Lloh118:
adrp x0, l_.str.54@PAGE
Lloh119:
add x0, x0, l_.str.54@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh120:
adrp x0, l_.str.51@PAGE
Lloh121:
add x0, x0, l_.str.51@PAGEOFF
bl _PR
Lloh122:
adrp x0, l_.str.56@PAGE
Lloh123:
add x0, x0, l_.str.56@PAGEOFF
bl _val
mov x19, x0
Lloh124:
adrp x0, l_.str.57@PAGE
Lloh125:
add x0, x0, l_.str.57@PAGEOFF
bl _val
mov x1, x0
mov x0, x19
bl _spr_cctrl_sel
mov x19, x0
Lloh126:
adrp x0, l_.str.58@PAGE
Lloh127:
add x0, x0, l_.str.58@PAGEOFF
bl _val
mov x20, x0
Lloh128:
adrp x0, l_.str.59@PAGE
Lloh129:
add x0, x0, l_.str.59@PAGEOFF
bl _val
mov x21, x0
Lloh130:
adrp x0, l_.str.60@PAGE
Lloh131:
add x0, x0, l_.str.60@PAGEOFF
bl _val
mov x22, x0
Lloh132:
adrp x0, l_.str.61@PAGE
Lloh133:
add x0, x0, l_.str.61@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp, #24]
stp x20, x21, [sp, #8]
str x19, [sp]
Lloh134:
adrp x0, l_.str.55@PAGE
Lloh135:
add x0, x0, l_.str.55@PAGEOFF
bl _PR
Lloh136:
adrp x0, l_.str.63@PAGE
Lloh137:
add x0, x0, l_.str.63@PAGEOFF
bl _val
mov x19, x0
Lloh138:
adrp x0, l_.str.64@PAGE
Lloh139:
add x0, x0, l_.str.64@PAGEOFF
bl _val
mov x20, x0
Lloh140:
adrp x0, l_.str.65@PAGE
Lloh141:
add x0, x0, l_.str.65@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh142:
adrp x0, l_.str.62@PAGE
Lloh143:
add x0, x0, l_.str.62@PAGEOFF
bl _PR
Lloh144:
adrp x0, l_.str.67@PAGE
Lloh145:
add x0, x0, l_.str.67@PAGEOFF
bl _val
mov x19, x0
Lloh146:
adrp x0, l_.str.68@PAGE
Lloh147:
add x0, x0, l_.str.68@PAGEOFF
bl _val
mov x20, x0
Lloh148:
adrp x0, l_.str.69@PAGE
Lloh149:
add x0, x0, l_.str.69@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh150:
adrp x0, l_.str.66@PAGE
Lloh151:
add x0, x0, l_.str.66@PAGEOFF
bl _PR
Lloh152:
adrp x0, l_.str.71@PAGE
Lloh153:
add x0, x0, l_.str.71@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh154:
adrp x0, l_.str.70@PAGE
Lloh155:
add x0, x0, l_.str.70@PAGEOFF
bl _PR
Lloh156:
adrp x0, l_.str.73@PAGE
Lloh157:
add x0, x0, l_.str.73@PAGEOFF
bl _val
mov x19, x0
Lloh158:
adrp x0, l_.str.74@PAGE
Lloh159:
add x0, x0, l_.str.74@PAGEOFF
bl _val
mov x20, x0
Lloh160:
adrp x0, l_.str.75@PAGE
Lloh161:
add x0, x0, l_.str.75@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh162:
adrp x0, l_.str.72@PAGE
Lloh163:
add x0, x0, l_.str.72@PAGEOFF
bl _PR
Lloh164:
adrp x0, l_.str.77@PAGE
Lloh165:
add x0, x0, l_.str.77@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh166:
adrp x0, l_.str.76@PAGE
Lloh167:
add x0, x0, l_.str.76@PAGEOFF
bl _PR
Lloh168:
adrp x0, l_.str.79@PAGE
Lloh169:
add x0, x0, l_.str.79@PAGEOFF
bl _val
mov x19, x0
Lloh170:
adrp x0, l_.str.80@PAGE
Lloh171:
add x0, x0, l_.str.80@PAGEOFF
bl _val
mov x20, x0
Lloh172:
adrp x0, l_.str.81@PAGE
Lloh173:
add x0, x0, l_.str.81@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh174:
adrp x0, l_.str.78@PAGE
Lloh175:
add x0, x0, l_.str.78@PAGEOFF
bl _PR
Lloh176:
adrp x0, l_.str.83@PAGE
Lloh177:
add x0, x0, l_.str.83@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh178:
adrp x0, l_.str.82@PAGE
Lloh179:
add x0, x0, l_.str.82@PAGEOFF
bl _PR
Lloh180:
adrp x19, l_.str.85@PAGE
Lloh181:
add x19, x19, l_.str.85@PAGEOFF
mov x0, x19
bl _val
mov x20, x0
mov x0, x19
bl _val
ubfx w21, w0, #1, #1
mov x0, x19
bl _val
and w8, w0, #0x1
stp x21, x8, [sp, #8]
str x20, [sp]
Lloh182:
adrp x0, l_.str.84@PAGE
Lloh183:
add x0, x0, l_.str.84@PAGEOFF
bl _PR
Lloh184:
adrp x0, l_.str.87@PAGE
Lloh185:
add x0, x0, l_.str.87@PAGEOFF
bl _val
mov x19, x0
Lloh186:
adrp x0, l_.str.88@PAGE
Lloh187:
add x0, x0, l_.str.88@PAGEOFF
bl _val
mov x20, x0
Lloh188:
adrp x0, l_.str.89@PAGE
Lloh189:
add x0, x0, l_.str.89@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh190:
adrp x0, l_.str.86@PAGE
Lloh191:
add x0, x0, l_.str.86@PAGEOFF
bl _PR
Lloh192:
adrp x0, l_.str.90@PAGE
Lloh193:
add x0, x0, l_.str.90@PAGEOFF
bl _PR
Lloh194:
adrp x0, l_.str.92@PAGE
Lloh195:
add x0, x0, l_.str.92@PAGEOFF
bl _val
mov x19, x0
Lloh196:
adrp x0, l_.str.93@PAGE
Lloh197:
add x0, x0, l_.str.93@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x19, x0, [sp]
Lloh198:
adrp x0, l_.str.91@PAGE
Lloh199:
add x0, x0, l_.str.91@PAGEOFF
bl _PR
Lloh200:
adrp x0, l_.str.95@PAGE
Lloh201:
add x0, x0, l_.str.95@PAGEOFF
bl _val
mov x19, x0
Lloh202:
adrp x0, l_.str.96@PAGE
Lloh203:
add x0, x0, l_.str.96@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x19, x0, [sp]
Lloh204:
adrp x0, l_.str.94@PAGE
Lloh205:
add x0, x0, l_.str.94@PAGEOFF
bl _PR
Lloh206:
adrp x0, l_.str.98@PAGE
Lloh207:
add x0, x0, l_.str.98@PAGEOFF
bl _val
mov x19, x0
Lloh208:
adrp x0, l_.str.99@PAGE
Lloh209:
add x0, x0, l_.str.99@PAGEOFF
bl _val
mov x20, x0
Lloh210:
adrp x0, l_.str.100@PAGE
Lloh211:
add x0, x0, l_.str.100@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh212:
adrp x0, l_.str.97@PAGE
Lloh213:
add x0, x0, l_.str.97@PAGEOFF
bl _PR
Lloh214:
adrp x0, l_.str.102@PAGE
Lloh215:
add x0, x0, l_.str.102@PAGEOFF
bl _val
mov x19, x0
Lloh216:
adrp x0, l_.str.103@PAGE
Lloh217:
add x0, x0, l_.str.103@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x19, x0, [sp]
Lloh218:
adrp x0, l_.str.101@PAGE
Lloh219:
add x0, x0, l_.str.101@PAGEOFF
bl _PR
Lloh220:
adrp x0, l_.str.104@PAGE
Lloh221:
add x0, x0, l_.str.104@PAGEOFF
bl _val
cmp w0, #4
b.ne LBB0_6
; %bb.5:
Lloh222:
adrp x0, l_.str.107@PAGE
Lloh223:
add x0, x0, l_.str.107@PAGEOFF
b LBB0_7
LBB0_6:
Lloh224:
adrp x0, l_.str.106@PAGE
Lloh225:
add x0, x0, l_.str.106@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh226:
adrp x0, l_.str.105@PAGE
Lloh227:
add x0, x0, l_.str.105@PAGEOFF
LBB0_7:
bl _PR
Lloh228:
adrp x0, l_.str.104@PAGE
Lloh229:
add x0, x0, l_.str.104@PAGEOFF
bl _val
cmp w0, #6
b.eq LBB0_11
; %bb.8:
Lloh230:
adrp x0, l_.str.104@PAGE
Lloh231:
add x0, x0, l_.str.104@PAGEOFF
bl _val
cmp w0, #5
b.eq LBB0_11
; %bb.9:
Lloh232:
adrp x0, l_.str.104@PAGE
Lloh233:
add x0, x0, l_.str.104@PAGEOFF
bl _val
cmp w0, #4
b.eq LBB0_11
; %bb.10:
Lloh234:
adrp x0, l_.str.109@PAGE
Lloh235:
add x0, x0, l_.str.109@PAGEOFF
bl _val
mov x19, x0
Lloh236:
adrp x0, l_.str.110@PAGE
Lloh237:
add x0, x0, l_.str.110@PAGEOFF
bl _val
mov x20, x0
Lloh238:
adrp x0, l_.str.111@PAGE
Lloh239:
add x0, x0, l_.str.111@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh240:
adrp x0, l_.str.108@PAGE
Lloh241:
add x0, x0, l_.str.108@PAGEOFF
bl _PR
Lloh242:
adrp x0, l_.str.113@PAGE
Lloh243:
add x0, x0, l_.str.113@PAGEOFF
bl _val
mov x19, x0
Lloh244:
adrp x0, l_.str.114@PAGE
Lloh245:
add x0, x0, l_.str.114@PAGEOFF
bl _val
mov x20, x0
Lloh246:
adrp x0, l_.str.115@PAGE
Lloh247:
add x0, x0, l_.str.115@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh248:
adrp x0, l_.str.112@PAGE
Lloh249:
add x0, x0, l_.str.112@PAGEOFF
bl _PR
LBB0_11:
Lloh250:
adrp x0, l_.str.117@PAGE
Lloh251:
add x0, x0, l_.str.117@PAGEOFF
bl _val
mov x19, x0
Lloh252:
adrp x0, l_.str.118@PAGE
Lloh253:
add x0, x0, l_.str.118@PAGEOFF
bl _val
mov x20, x0
Lloh254:
adrp x0, l_.str.119@PAGE
Lloh255:
add x0, x0, l_.str.119@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh256:
adrp x0, l_.str.116@PAGE
Lloh257:
add x0, x0, l_.str.116@PAGEOFF
bl _PR
Lloh258:
adrp x0, l_.str.12@PAGE
Lloh259:
add x0, x0, l_.str.12@PAGEOFF
bl _val
mov x21, x0
Lloh260:
adrp x0, l_.str.121@PAGE
Lloh261:
add x0, x0, l_.str.121@PAGEOFF
bl _val
mov x19, x0
Lloh262:
adrp x0, l_.str.122@PAGE
Lloh263:
add x0, x0, l_.str.122@PAGEOFF
bl _val
mov x20, x0
cbz w21, LBB0_13
; %bb.12:
Lloh264:
adrp x0, l_.str.121@PAGE
Lloh265:
add x0, x0, l_.str.121@PAGEOFF
bl _val
mov x21, x0
Lloh266:
adrp x0, l_.str.122@PAGE
Lloh267:
add x0, x0, l_.str.122@PAGEOFF
bl _val
asr w21, w21, w0
Lloh268:
adrp x0, l_.str.12@PAGE
Lloh269:
add x0, x0, l_.str.12@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #16]
stp x19, x20, [sp]
Lloh270:
adrp x0, l_.str.120@PAGE
Lloh271:
add x0, x0, l_.str.120@PAGEOFF
b LBB0_14
LBB0_13:
Lloh272:
adrp x0, l_.str.12@PAGE
Lloh273:
add x0, x0, l_.str.12@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
; kill: def $w20 killed $w20 killed $x20 def $x20
; kill: def $w19 killed $w19 killed $x19 def $x19
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh274:
adrp x0, l_.str.123@PAGE
Lloh275:
add x0, x0, l_.str.123@PAGEOFF
LBB0_14:
bl _PR
Lloh276:
adrp x0, l_.str.125@PAGE
Lloh277:
add x0, x0, l_.str.125@PAGEOFF
bl _val
mov x19, x0
Lloh278:
adrp x0, l_.str.126@PAGE
Lloh279:
add x0, x0, l_.str.126@PAGEOFF
bl _val
mov x20, x0
Lloh280:
adrp x0, l_.str.127@PAGE
Lloh281:
add x0, x0, l_.str.127@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh282:
adrp x0, l_.str.124@PAGE
Lloh283:
add x0, x0, l_.str.124@PAGEOFF
bl _PR
Lloh284:
adrp x0, l_.str.129@PAGE
Lloh285:
add x0, x0, l_.str.129@PAGEOFF
bl _val
mov x19, x0
Lloh286:
adrp x0, l_.str.130@PAGE
Lloh287:
add x0, x0, l_.str.130@PAGEOFF
bl _val
mov x20, x0
Lloh288:
adrp x0, l_.str.131@PAGE
Lloh289:
add x0, x0, l_.str.131@PAGEOFF
bl _val
mov x21, x0
Lloh290:
adrp x0, l_.str.132@PAGE
Lloh291:
add x0, x0, l_.str.132@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #16]
stp x19, x20, [sp]
Lloh292:
adrp x0, l_.str.128@PAGE
Lloh293:
add x0, x0, l_.str.128@PAGEOFF
bl _PR
Lloh294:
adrp x0, l_.str.134@PAGE
Lloh295:
add x0, x0, l_.str.134@PAGEOFF
bl _val
mov x19, x0
Lloh296:
adrp x0, l_.str.135@PAGE
Lloh297:
add x0, x0, l_.str.135@PAGEOFF
bl _val
mov x20, x0
Lloh298:
adrp x0, l_.str.136@PAGE
Lloh299:
add x0, x0, l_.str.136@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh300:
adrp x0, l_.str.133@PAGE
Lloh301:
add x0, x0, l_.str.133@PAGEOFF
bl _PR
Lloh302:
adrp x0, l_.str.138@PAGE
Lloh303:
add x0, x0, l_.str.138@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh304:
adrp x0, l_.str.137@PAGE
Lloh305:
add x0, x0, l_.str.137@PAGEOFF
bl _PR
Lloh306:
adrp x0, l_.str.139@PAGE
Lloh307:
add x0, x0, l_.str.139@PAGEOFF
bl _PR
Lloh308:
adrp x0, l_.str.141@PAGE
Lloh309:
add x0, x0, l_.str.141@PAGEOFF
bl _val
mov x19, x0
Lloh310:
adrp x0, l_.str.142@PAGE
Lloh311:
add x0, x0, l_.str.142@PAGEOFF
bl _val
lsl w8, w0, #1
orr w19, w8, w19, lsl #2
Lloh312:
adrp x0, l_.str.143@PAGE
Lloh313:
add x0, x0, l_.str.143@PAGEOFF
bl _val
orr w20, w19, w0
Lloh314:
adrp x0, l_.str.144@PAGE
Lloh315:
add x0, x0, l_.str.144@PAGEOFF
bl _val
mov x19, x0
Lloh316:
adrp x0, l_.str.145@PAGE
Lloh317:
add x0, x0, l_.str.145@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x19, x0, [sp, #8]
str x20, [sp]
Lloh318:
adrp x0, l_.str.140@PAGE
Lloh319:
add x0, x0, l_.str.140@PAGEOFF
bl _PR
Lloh320:
adrp x0, l_.str.147@PAGE
Lloh321:
add x0, x0, l_.str.147@PAGEOFF
bl _val
mov x19, x0
Lloh322:
adrp x0, l_.str.148@PAGE
Lloh323:
add x0, x0, l_.str.148@PAGEOFF
bl _val
mov x20, x0
Lloh324:
adrp x0, l_.str.149@PAGE
Lloh325:
add x0, x0, l_.str.149@PAGEOFF
bl _val
mov x21, x0
Lloh326:
adrp x0, l_.str.150@PAGE
Lloh327:
add x0, x0, l_.str.150@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #16]
stp x19, x20, [sp]
Lloh328:
adrp x0, l_.str.146@PAGE
Lloh329:
add x0, x0, l_.str.146@PAGEOFF
bl _PR
Lloh330:
adrp x19, l_.str.104@PAGE
Lloh331:
add x19, x19, l_.str.104@PAGEOFF
mov x0, x19
bl _val
mov x20, x0
mov x0, x19
bl _val
bl _spr_ulp_type
mov x19, x0
Lloh332:
adrp x0, l_.str.152@PAGE
Lloh333:
add x0, x0, l_.str.152@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x19, x0, [sp, #8]
str x20, [sp]
Lloh334:
adrp x0, l_.str.151@PAGE
Lloh335:
add x0, x0, l_.str.151@PAGEOFF
bl _PR
Lloh336:
adrp x0, l_.str.154@PAGE
Lloh337:
add x0, x0, l_.str.154@PAGEOFF
bl _val
mov x19, x0
Lloh338:
adrp x0, l_.str.155@PAGE
Lloh339:
add x0, x0, l_.str.155@PAGEOFF
bl _val
; kill: def $w0 killed $w0 def $x0
stp x19, x0, [sp]
Lloh340:
adrp x0, l_.str.153@PAGE
Lloh341:
add x0, x0, l_.str.153@PAGEOFF
bl _PR
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh220, Lloh221
.loh AdrpAdd Lloh218, Lloh219
.loh AdrpAdd Lloh216, Lloh217
.loh AdrpAdd Lloh214, Lloh215
.loh AdrpAdd Lloh212, Lloh213
.loh AdrpAdd Lloh210, Lloh211
.loh AdrpAdd Lloh208, Lloh209
.loh AdrpAdd Lloh206, Lloh207
.loh AdrpAdd Lloh204, Lloh205
.loh AdrpAdd Lloh202, Lloh203
.loh AdrpAdd Lloh200, Lloh201
.loh AdrpAdd Lloh198, Lloh199
.loh AdrpAdd Lloh196, Lloh197
.loh AdrpAdd Lloh194, Lloh195
.loh AdrpAdd Lloh192, Lloh193
.loh AdrpAdd Lloh190, Lloh191
.loh AdrpAdd Lloh188, Lloh189
.loh AdrpAdd Lloh186, Lloh187
.loh AdrpAdd Lloh184, Lloh185
.loh AdrpAdd Lloh182, Lloh183
.loh AdrpAdd Lloh180, Lloh181
.loh AdrpAdd Lloh178, Lloh179
.loh AdrpAdd Lloh176, Lloh177
.loh AdrpAdd Lloh174, Lloh175
.loh AdrpAdd Lloh172, Lloh173
.loh AdrpAdd Lloh170, Lloh171
.loh AdrpAdd Lloh168, Lloh169
.loh AdrpAdd Lloh166, Lloh167
.loh AdrpAdd Lloh164, Lloh165
.loh AdrpAdd Lloh162, Lloh163
.loh AdrpAdd Lloh160, Lloh161
.loh AdrpAdd Lloh158, Lloh159
.loh AdrpAdd Lloh156, Lloh157
.loh AdrpAdd Lloh154, Lloh155
.loh AdrpAdd Lloh152, Lloh153
.loh AdrpAdd Lloh150, Lloh151
.loh AdrpAdd Lloh148, Lloh149
.loh AdrpAdd Lloh146, Lloh147
.loh AdrpAdd Lloh144, Lloh145
.loh AdrpAdd Lloh142, Lloh143
.loh AdrpAdd Lloh140, Lloh141
.loh AdrpAdd Lloh138, Lloh139
.loh AdrpAdd Lloh136, Lloh137
.loh AdrpAdd Lloh134, Lloh135
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpAdd Lloh126, Lloh127
.loh AdrpAdd Lloh124, Lloh125
.loh AdrpAdd Lloh122, Lloh123
.loh AdrpAdd Lloh120, Lloh121
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpAdd Lloh116, Lloh117
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh222, Lloh223
.loh AdrpAdd Lloh226, Lloh227
.loh AdrpAdd Lloh224, Lloh225
.loh AdrpAdd Lloh228, Lloh229
.loh AdrpAdd Lloh230, Lloh231
.loh AdrpAdd Lloh232, Lloh233
.loh AdrpAdd Lloh248, Lloh249
.loh AdrpAdd Lloh246, Lloh247
.loh AdrpAdd Lloh244, Lloh245
.loh AdrpAdd Lloh242, Lloh243
.loh AdrpAdd Lloh240, Lloh241
.loh AdrpAdd Lloh238, Lloh239
.loh AdrpAdd Lloh236, Lloh237
.loh AdrpAdd Lloh234, Lloh235
.loh AdrpAdd Lloh262, Lloh263
.loh AdrpAdd Lloh260, Lloh261
.loh AdrpAdd Lloh258, Lloh259
.loh AdrpAdd Lloh256, Lloh257
.loh AdrpAdd Lloh254, Lloh255
.loh AdrpAdd Lloh252, Lloh253
.loh AdrpAdd Lloh250, Lloh251
.loh AdrpAdd Lloh270, Lloh271
.loh AdrpAdd Lloh268, Lloh269
.loh AdrpAdd Lloh266, Lloh267
.loh AdrpAdd Lloh264, Lloh265
.loh AdrpAdd Lloh274, Lloh275
.loh AdrpAdd Lloh272, Lloh273
.loh AdrpAdd Lloh340, Lloh341
.loh AdrpAdd Lloh338, Lloh339
.loh AdrpAdd Lloh336, Lloh337
.loh AdrpAdd Lloh334, Lloh335
.loh AdrpAdd Lloh332, Lloh333
.loh AdrpAdd Lloh330, Lloh331
.loh AdrpAdd Lloh328, Lloh329
.loh AdrpAdd Lloh326, Lloh327
.loh AdrpAdd Lloh324, Lloh325
.loh AdrpAdd Lloh322, Lloh323
.loh AdrpAdd Lloh320, Lloh321
.loh AdrpAdd Lloh318, Lloh319
.loh AdrpAdd Lloh316, Lloh317
.loh AdrpAdd Lloh314, Lloh315
.loh AdrpAdd Lloh312, Lloh313
.loh AdrpAdd Lloh310, Lloh311
.loh AdrpAdd Lloh308, Lloh309
.loh AdrpAdd Lloh306, Lloh307
.loh AdrpAdd Lloh304, Lloh305
.loh AdrpAdd Lloh302, Lloh303
.loh AdrpAdd Lloh300, Lloh301
.loh AdrpAdd Lloh298, Lloh299
.loh AdrpAdd Lloh296, Lloh297
.loh AdrpAdd Lloh294, Lloh295
.loh AdrpAdd Lloh292, Lloh293
.loh AdrpAdd Lloh290, Lloh291
.loh AdrpAdd Lloh288, Lloh289
.loh AdrpAdd Lloh286, Lloh287
.loh AdrpAdd Lloh284, Lloh285
.loh AdrpAdd Lloh282, Lloh283
.loh AdrpAdd Lloh280, Lloh281
.loh AdrpAdd Lloh278, Lloh279
.loh AdrpAdd Lloh276, Lloh277
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "STATE:\n"
l_.str.1: ; @.str.1
.asciz " %-12s (%-2u), %s, lock_tid %u, init %u\n"
l_.str.2: ; @.str.2
.asciz "t_state"
l_.str.3: ; @.str.3
.asciz "ip_version"
l_.str.4: ; @.str.4
.asciz "lock_tid"
l_.str.5: ; @.str.5
.asciz "init"
l_.str.6: ; @.str.6
.asciz " l2t_ix 0x%x, smac sel 0x%x, tos 0x%x\n"
l_.str.7: ; @.str.7
.asciz "l2t_ix"
l_.str.8: ; @.str.8
.asciz "smac_sel"
l_.str.9: ; @.str.9
.asciz "tos"
l_.str.10: ; @.str.10
.asciz " maxseg %u, recv_scaleflag %u, recv_tstmp %u, recv_sack %u\n"
l_.str.11: ; @.str.11
.asciz "t_maxseg"
l_.str.12: ; @.str.12
.asciz "recv_scale"
l_.str.13: ; @.str.13
.asciz "recv_tstmp"
l_.str.14: ; @.str.14
.asciz "recv_sack"
l_.str.15: ; @.str.15
.asciz "TIMERS:\n"
l_.str.16: ; @.str.16
.asciz " timer %u, dack_timer %u\n"
l_.str.17: ; @.str.17
.asciz "timer"
l_.str.18: ; @.str.18
.asciz "dack_timer"
l_.str.19: ; @.str.19
.asciz " mod_schd: tx: %u, rx: %u, reason 0x%1x\n"
l_.str.20: ; @.str.20
.asciz "mod_schd_tx"
l_.str.21: ; @.str.21
.asciz "mod_schd_rx"
l_.str.22: ; @.str.22
.asciz "mod_schd_reason2"
l_.str.23: ; @.str.23
.asciz "mod_schd_reason1"
l_.str.24: ; @.str.24
.asciz "mod_schd_reason0"
l_.str.25: ; @.str.25
.asciz " max_rt %-2u, rxtshift %u, keepalive %u\n"
l_.str.26: ; @.str.26
.asciz "max_rt"
l_.str.27: ; @.str.27
.asciz "t_rxtshift"
l_.str.28: ; @.str.28
.asciz "keepalive"
l_.str.29: ; @.str.29
.asciz " timestamp_offset 0x%x, timestamp 0x%x\n"
l_.str.30: ; @.str.30
.asciz "timestamp_offset"
l_.str.31: ; @.str.31
.asciz "timestamp"
l_.str.32: ; @.str.32
.asciz " t_rtt_ts_recent_age %u t_rttseq_recent %u\n"
l_.str.33: ; @.str.33
.asciz "t_rtt_ts_recent_age"
l_.str.34: ; @.str.34
.asciz "t_rtseq_recent"
l_.str.35: ; @.str.35
.asciz " t_srtt %u, t_rttvar %u\n"
l_.str.36: ; @.str.36
.asciz "t_srtt"
l_.str.37: ; @.str.37
.asciz "t_rttvar"
l_.str.38: ; @.str.38
.asciz "TRANSMIT BUFFER:\n"
l_.str.39: ; @.str.39
.asciz " snd_una %u, snd_nxt %u, snd_max %u, tx_max %u\n"
l_.str.40: ; @.str.40
.asciz "snd_una"
l_.str.41: ; @.str.41
.asciz "snd_nxt"
l_.str.42: ; @.str.42
.asciz "snd_max"
l_.str.43: ; @.str.43
.asciz "tx_max"
l_.str.44: ; @.str.44
.asciz " core_fin %u, tx_hdr_offset %u\n"
l_.str.45: ; @.str.45
.asciz "core_fin"
l_.str.46: ; @.str.46
.asciz "active_open"
l_.str.47: ; @.str.47
.asciz " rcv_adv %-5u << %-2u == %u (recv_scaleflag %u rcv_scale %u active open %u)\n"
l_.str.48: ; @.str.48
.asciz "rcv_adv"
l_.str.49: ; @.str.49
.asciz "rcv_scale"
l_.str.50: ; @.str.50
.asciz " rcv_adv %-5u (rcv_scale %-2u recv_scaleflag %u active_open %u)\n"
l_.str.51: ; @.str.51
.asciz " snd_cwnd %-5u snd_ssthresh %u snd_rec %u\n"
l_.str.52: ; @.str.52
.asciz "snd_cwnd"
l_.str.53: ; @.str.53
.asciz "snd_ssthresh"
l_.str.54: ; @.str.54
.asciz "snd_rec"
l_.str.55: ; @.str.55
.asciz " cctrl: sel %s, ecn %u, ece %u, cwr %u, rfr %u\n"
l_.str.56: ; @.str.56
.asciz "cctrl_sel0"
l_.str.57: ; @.str.57
.asciz "cctrl_sel1"
l_.str.58: ; @.str.58
.asciz "cctrl_ecn"
l_.str.59: ; @.str.59
.asciz "cctrl_ece"
l_.str.60: ; @.str.60
.asciz "cctrl_cwr"
l_.str.61: ; @.str.61
.asciz "cctrl_rfr"
l_.str.62: ; @.str.62
.asciz " t_dupacks %u, dupack_count_odd %u, fast_recovery %u\n"
l_.str.63: ; @.str.63
.asciz "t_dupacks"
l_.str.64: ; @.str.64
.asciz "dupack_count_odd"
l_.str.65: ; @.str.65
.asciz "fast_recovery"
l_.str.66: ; @.str.66
.asciz " core_more %u, core_urg, %u core_push %u,"
l_.str.67: ; @.str.67
.asciz "core_more"
l_.str.68: ; @.str.68
.asciz "core_urg"
l_.str.69: ; @.str.69
.asciz "core_push"
l_.str.70: ; @.str.70
.asciz " core_flush %u\n"
l_.str.71: ; @.str.71
.asciz "core_flush"
l_.str.72: ; @.str.72
.asciz " nagle %u, ssws_disable %u, turbo %u,"
l_.str.73: ; @.str.73
.asciz "nagle"
l_.str.74: ; @.str.74
.asciz "ssws_disabled"
l_.str.75: ; @.str.75
.asciz "turbo"
l_.str.76: ; @.str.76
.asciz " tx_pdu_out %u\n"
l_.str.77: ; @.str.77
.asciz "tx_pdu_out"
l_.str.78: ; @.str.78
.asciz " tx_pace_auto %u, tx_pace_fixed %u, tx_queue %u"
l_.str.79: ; @.str.79
.asciz "tx_pace_auto"
l_.str.80: ; @.str.80
.asciz "tx_pace_fixed"
l_.str.81: ; @.str.81
.asciz "tx_queue"
l_.str.82: ; @.str.82
.asciz " tx_quiesce %u\n"
l_.str.83: ; @.str.83
.asciz "tx_quiesce"
l_.str.84: ; @.str.84
.asciz " tx_channel %u, tx_channel1 %u, tx_channel0 %u\n"
l_.str.85: ; @.str.85
.asciz "tx_channel"
l_.str.86: ; @.str.86
.asciz " tx_hdr_ptr 0x%-6x tx_last_ptr 0x%-6x tx_compact %u\n"
l_.str.87: ; @.str.87
.asciz "tx_hdr_ptr"
l_.str.88: ; @.str.88
.asciz "tx_last_ptr"
l_.str.89: ; @.str.89
.asciz "tx_compact"
l_.str.90: ; @.str.90
.asciz "RECEIVE BUFFER:\n"
l_.str.91: ; @.str.91
.asciz " last_ack_sent %-10u rx_compact %u\n"
l_.str.92: ; @.str.92
.asciz "ts_last_ack_sent"
l_.str.93: ; @.str.93
.asciz "rx_compact"
l_.str.94: ; @.str.94
.asciz " rcv_nxt %-10u hdr_off %-10u\n"
l_.str.95: ; @.str.95
.asciz "rcv_nxt"
l_.str.96: ; @.str.96
.asciz "rx_hdr_offset"
l_.str.97: ; @.str.97
.asciz " frag0_idx %-10u length %-10u frag0_ptr 0x%-8x\n"
l_.str.98: ; @.str.98
.asciz "rx_frag0_start_idx"
l_.str.99: ; @.str.99
.asciz "rx_frag0_len"
l_.str.100: ; @.str.100
.asciz "rx_ptr"
l_.str.101: ; @.str.101
.asciz " frag1_idx %-10u length %-10u "
l_.str.102: ; @.str.102
.asciz "rx_frag1_start_idx_offset"
l_.str.103: ; @.str.103
.asciz "rx_frag1_len"
l_.str.104: ; @.str.104
.asciz "ulp_type"
l_.str.105: ; @.str.105
.asciz "frag1_ptr 0x%-8x\n"
l_.str.106: ; @.str.106
.asciz "rx_frag1_ptr"
l_.str.107: ; @.str.107
.asciz "\n"
l_.str.108: ; @.str.108
.asciz " frag2_idx %-10u length %-10u frag2_ptr 0x%-8x\n"
l_.str.109: ; @.str.109
.asciz "rx_frag2_start_idx_offset"
l_.str.110: ; @.str.110
.asciz "rx_frag2_len"
l_.str.111: ; @.str.111
.asciz "rx_frag2_ptr"
l_.str.112: ; @.str.112
.asciz " frag3_idx %-10u length %-10u frag3_ptr 0x%-8x\n"
l_.str.113: ; @.str.113
.asciz "rx_frag3_start_idx_offset"
l_.str.114: ; @.str.114
.asciz "rx_frag3_len"
l_.str.115: ; @.str.115
.asciz "rx_frag3_ptr"
l_.str.116: ; @.str.116
.asciz " peer_fin %u, rx_pdu_out %u, pdu_len %u\n"
l_.str.117: ; @.str.117
.asciz "peer_fin"
l_.str.118: ; @.str.118
.asciz "rx_pdu_out"
l_.str.119: ; @.str.119
.asciz "pdu_len"
l_.str.120: ; @.str.120
.asciz " rcv_wnd %u >> snd_scale %u == %u, recv_scaleflag = %u\n"
l_.str.121: ; @.str.121
.asciz "rcv_wnd"
l_.str.122: ; @.str.122
.asciz "snd_scale"
l_.str.123: ; @.str.123
.asciz " rcv_wnd %u. (snd_scale %u, recv_scaleflag = %u)\n"
l_.str.124: ; @.str.124
.asciz " dack_mss %u dack %u, dack_not_acked: %u\n"
l_.str.125: ; @.str.125
.asciz "dack_mss"
l_.str.126: ; @.str.126
.asciz "dack"
l_.str.127: ; @.str.127
.asciz "dack_not_acked"
l_.str.128: ; @.str.128
.asciz " rcv_coal %u rcv_co_psh %u rcv_co_last_psh %u heart %u\n"
l_.str.129: ; @.str.129
.asciz "rcv_coalesce_enable"
l_.str.130: ; @.str.130
.asciz "rcv_coalesce_push"
l_.str.131: ; @.str.131
.asciz "rcv_coalesce_last_psh"
l_.str.132: ; @.str.132
.asciz "rcv_coalesce_heartbeat"
l_.str.133: ; @.str.133
.asciz " rx_channel %u rx_quiesce %u rx_flow_ctrl_dis %u,"
l_.str.134: ; @.str.134
.asciz "rx_channel"
l_.str.135: ; @.str.135
.asciz "rx_quiesce"
l_.str.136: ; @.str.136
.asciz "rx_flow_control_disable"
l_.str.137: ; @.str.137
.asciz " rx_flow_ctrl_ddp %u\n"
l_.str.138: ; @.str.138
.asciz "rx_flow_control_ddp"
l_.str.139: ; @.str.139
.asciz "MISCELANEOUS:\n"
l_.str.140: ; @.str.140
.asciz " pend_ctl: 0x%1x, unused_flags: 0x%x, main_slush: 0x%x\n"
l_.str.141: ; @.str.141
.asciz "pend_ctl2"
l_.str.142: ; @.str.142
.asciz "pend_ctl1"
l_.str.143: ; @.str.143
.asciz "pend_ctl0"
l_.str.144: ; @.str.144
.asciz "unused"
l_.str.145: ; @.str.145
.asciz "main_slush"
l_.str.146: ; @.str.146
.asciz " Migrating %u, ask_mode %u, non_offload %u, rss_info %u\n"
l_.str.147: ; @.str.147
.asciz "migrating"
l_.str.148: ; @.str.148
.asciz "ask_mode"
l_.str.149: ; @.str.149
.asciz "non_offload"
l_.str.150: ; @.str.150
.asciz "rss_info"
l_.str.151: ; @.str.151
.asciz " ULP: ulp_type %u (%s), ulp_raw %u\n"
l_.str.152: ; @.str.152
.asciz "ulp_raw"
l_.str.153: ; @.str.153
.asciz " RDMA: error %u, flm_err %u\n"
l_.str.154: ; @.str.154
.asciz "rdma_error"
l_.str.155: ; @.str.155
.asciz "rdma_flm_error"
.subsections_via_symbols
| assembly_file_166355.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ltv350qv_shutdown
_ltv350qv_shutdown: ## @ltv350qv_shutdown
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _spi_get_drvdata
movq _FB_BLANK_POWERDOWN@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rax, %rdi
popq %rbp
jmp _ltv350qv_power ## TAILCALL
.cfi_endproc
## -- End function
.comm _FB_BLANK_POWERDOWN,4,2 ## @FB_BLANK_POWERDOWN
.no_dead_strip _ltv350qv_shutdown
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ltv350qv_shutdown
_ltv350qv_shutdown: ; @ltv350qv_shutdown
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _spi_get_drvdata
Lloh0:
adrp x8, _FB_BLANK_POWERDOWN@GOTPAGE
Lloh1:
ldr x8, [x8, _FB_BLANK_POWERDOWN@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _ltv350qv_power
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FB_BLANK_POWERDOWN,4,2 ; @FB_BLANK_POWERDOWN
.no_dead_strip _ltv350qv_shutdown
.subsections_via_symbols
| AnghaBench/linux/drivers/video/backlight/extr_ltv350qv.c_ltv350qv_shutdown.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function LinuxJoyInit
_LinuxJoyInit: ## @LinuxJoyInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAXAXIS@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movq _O_RDONLY@GOTPCREL(%rip), %rax
movq _O_NONBLOCK@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
andl (%rax), %esi
movq %r14, %rdi
callq _open
movl %eax, (%rbx)
cmpl $-1, %eax
je LBB0_12
## %bb.1:
movl $0, 4(%rbx)
leaq -72(%rbp), %rsi
movl %eax, %edi
movl $24, %edx
callq _read
testq %rax, %rax
je LBB0_7
## %bb.2:
movq _JS_EVENT_AXIS@GOTPCREL(%rip), %r13
movq _JS_EVENT_INIT@GOTPCREL(%rip), %r12
leaq -72(%rbp), %r14
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movl (%rbx), %edi
movq %r14, %rsi
movl $24, %edx
callq _read
testq %rax, %rax
je LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r12), %eax
orl (%r13), %eax
cmpl %eax, -72(%rbp)
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -56(%rbp), %ecx
movq -64(%rbp), %rax
movl %ecx, (%r15,%rax,4)
incq %rax
movslq 4(%rbx), %rcx
cmpq %rcx, %rax
jbe LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl %eax, 4(%rbx)
jmp LBB0_6
LBB0_7:
movl 4(%rbx), %edi
movq _MAXAXIS@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, %edi
jle LBB0_9
## %bb.8:
movl %eax, 4(%rbx)
movl %eax, %edi
LBB0_9:
shll $2, %edi
callq _malloc
movq %rax, 8(%rbx)
cmpl $0, 4(%rbx)
js LBB0_12
## %bb.10:
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movl (%r15,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
decq %rcx
movslq 4(%rbx), %rdx
cmpq %rdx, %rcx
jle LBB0_11
LBB0_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_14
## %bb.13:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAXAXIS,4,2 ## @MAXAXIS
.comm _O_RDONLY,4,2 ## @O_RDONLY
.comm _O_NONBLOCK,4,2 ## @O_NONBLOCK
.comm _JS_EVENT_AXIS,4,2 ## @JS_EVENT_AXIS
.comm _JS_EVENT_INIT,4,2 ## @JS_EVENT_INIT
.no_dead_strip _LinuxJoyInit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function LinuxJoyInit
_LinuxJoyInit: ; @LinuxJoyInit
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
sub sp, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x8, x1
mov x19, x0
Lloh0:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
stur x9, [x29, #-56]
Lloh3:
adrp x21, _MAXAXIS@GOTPAGE
Lloh4:
ldr x21, [x21, _MAXAXIS@GOTPAGEOFF]
ldr w9, [x21]
lsl x12, x9, #2
mov x9, x12
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x10, x12, #15
and x10, x10, #0x7fffffff0
sub x20, x9, x10
mov sp, x20
Lloh7:
adrp x9, _O_RDONLY@GOTPAGE
Lloh8:
ldr x9, [x9, _O_RDONLY@GOTPAGEOFF]
Lloh9:
ldr w9, [x9]
Lloh10:
adrp x10, _O_NONBLOCK@GOTPAGE
Lloh11:
ldr x10, [x10, _O_NONBLOCK@GOTPAGEOFF]
Lloh12:
ldr w10, [x10]
and w1, w10, w9
mov x0, x8
bl _open
str w0, [x19]
cmn w0, #1
b.eq LBB0_12
; %bb.1:
str wzr, [x19, #4]
sub x1, x29, #80
mov w2, #24 ; =0x18
bl _read
cbz x0, LBB0_7
; %bb.2:
Lloh13:
adrp x22, _JS_EVENT_AXIS@GOTPAGE
Lloh14:
ldr x22, [x22, _JS_EVENT_AXIS@GOTPAGEOFF]
Lloh15:
adrp x23, _JS_EVENT_INIT@GOTPAGE
Lloh16:
ldr x23, [x23, _JS_EVENT_INIT@GOTPAGEOFF]
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x19]
sub x1, x29, #80
mov w2, #24 ; =0x18
bl _read
cbz x0, LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-80]
ldr w9, [x22]
ldr w10, [x23]
orr w9, w10, w9
cmp w8, w9
b.ne LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-64]
ldur x9, [x29, #-72]
str w8, [x20, x9, lsl #2]
add x8, x9, #1
ldrsw x9, [x19, #4]
cmp x8, x9
b.ls LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
str w8, [x19, #4]
b LBB0_3
LBB0_7:
ldr w8, [x19, #4]
ldr w9, [x21]
cmp w8, w9
b.le LBB0_9
; %bb.8:
str w9, [x19, #4]
mov x8, x9
LBB0_9:
lsl w0, w8, #2
bl _malloc
str x0, [x19, #8]
ldr w8, [x19, #4]
tbnz w8, #31, LBB0_12
; %bb.10:
mov x8, #0 ; =0x0
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w9, [x20, x8, lsl #2]
str w9, [x0, x8, lsl #2]
sub x8, x8, #1
ldrsw x9, [x19, #4]
cmp x8, x9
b.le LBB0_11
LBB0_12:
ldur x8, [x29, #-56]
Lloh17:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.13:
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_14:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _MAXAXIS,4,2 ; @MAXAXIS
.comm _O_RDONLY,4,2 ; @O_RDONLY
.comm _O_NONBLOCK,4,2 ; @O_NONBLOCK
.comm _JS_EVENT_AXIS,4,2 ; @JS_EVENT_AXIS
.comm _JS_EVENT_INIT,4,2 ; @JS_EVENT_INIT
.no_dead_strip _LinuxJoyInit
.subsections_via_symbols
| assembly_file_125423.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _module_init ## -- Begin function module_init
.p2align 4, 0x90
_module_init: ## @module_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MODULE_CONTEXT_SIZE_CURRENT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 488(%rdi)
movq _MODULE_INTERFACE_VERSION_CURRENT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 484(%rdi)
movq _module_attack_exec@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 480(%rdi)
movq _MODULE_DEFAULT@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 472(%rdi)
movq %rax, 464(%rdi)
movq %rax, 456(%rdi)
movq %rax, 448(%rdi)
movq _module_build_plain_postprocess@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 440(%rdi)
movq %rax, 432(%rdi)
movq _module_dgst_pos0@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 424(%rdi)
movq _module_dgst_pos1@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 420(%rdi)
movq _module_dgst_pos2@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 416(%rdi)
movq _module_dgst_pos3@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 412(%rdi)
movq _module_dgst_size@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 408(%rdi)
movq %rax, 400(%rdi)
movq _module_esalt_size@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 392(%rdi)
movq %rax, 384(%rdi)
movq %rax, 376(%rdi)
movq %rax, 368(%rdi)
movq %rax, 360(%rdi)
movq _module_hash_binary_parse@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 352(%rdi)
movq %rax, 344(%rdi)
movq %rax, 336(%rdi)
movq %rax, 328(%rdi)
movq _module_hash_decode@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 320(%rdi)
movq %rax, 312(%rdi)
movq %rax, 304(%rdi)
movq %rax, 296(%rdi)
movq _module_hash_init_selftest@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 288(%rdi)
movq %rax, 280(%rdi)
movq _module_hash_category@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 276(%rdi)
movq _module_hash_name@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 272(%rdi)
movq %rax, 264(%rdi)
movq %rax, 256(%rdi)
movq %rax, 248(%rdi)
movq %rax, 240(%rdi)
movq %rax, 232(%rdi)
movq %rax, 224(%rdi)
movq %rax, 216(%rdi)
movq _module_jit_build_options@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 208(%rdi)
movq %rax, 200(%rdi)
movq %rax, 192(%rdi)
movq %rax, 184(%rdi)
movq _module_kernel_loops_max@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 176(%rdi)
movq %rax, 168(%rdi)
movq %rax, 160(%rdi)
movq %rax, 152(%rdi)
movq _module_kern_type@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 144(%rdi)
movq %rax, 136(%rdi)
movq _module_opti_type@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 128(%rdi)
movq _module_opts_type@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 124(%rdi)
movq _module_outfile_check_disable@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 120(%rdi)
movq %rax, 112(%rdi)
movq %rax, 104(%rdi)
movq _module_potfile_disable@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 96(%rdi)
movq %rax, 88(%rdi)
movq %rax, 80(%rdi)
movq _module_pw_max@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 72(%rdi)
movq %rax, 64(%rdi)
movq %rax, 56(%rdi)
movq %rax, 48(%rdi)
movq _module_salt_type@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 40(%rdi)
movq %rax, 32(%rdi)
movq _module_st_hash@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 24(%rdi)
movq _module_st_pass@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 20(%rdi)
movq _module_tmp_size@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 16(%rdi)
movq %rax, 8(%rdi)
movq %rax, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MODULE_CONTEXT_SIZE_CURRENT,4,2 ## @MODULE_CONTEXT_SIZE_CURRENT
.comm _MODULE_INTERFACE_VERSION_CURRENT,4,2 ## @MODULE_INTERFACE_VERSION_CURRENT
.comm _module_attack_exec,4,2 ## @module_attack_exec
.comm _MODULE_DEFAULT,8,3 ## @MODULE_DEFAULT
.comm _module_build_plain_postprocess,4,2 ## @module_build_plain_postprocess
.comm _module_dgst_pos0,4,2 ## @module_dgst_pos0
.comm _module_dgst_pos1,4,2 ## @module_dgst_pos1
.comm _module_dgst_pos2,4,2 ## @module_dgst_pos2
.comm _module_dgst_pos3,4,2 ## @module_dgst_pos3
.comm _module_dgst_size,4,2 ## @module_dgst_size
.comm _module_esalt_size,4,2 ## @module_esalt_size
.comm _module_hash_binary_parse,4,2 ## @module_hash_binary_parse
.comm _module_hash_decode,4,2 ## @module_hash_decode
.comm _module_hash_init_selftest,4,2 ## @module_hash_init_selftest
.comm _module_hash_category,4,2 ## @module_hash_category
.comm _module_hash_name,4,2 ## @module_hash_name
.comm _module_jit_build_options,4,2 ## @module_jit_build_options
.comm _module_kernel_loops_max,4,2 ## @module_kernel_loops_max
.comm _module_kern_type,4,2 ## @module_kern_type
.comm _module_opti_type,4,2 ## @module_opti_type
.comm _module_opts_type,4,2 ## @module_opts_type
.comm _module_outfile_check_disable,4,2 ## @module_outfile_check_disable
.comm _module_potfile_disable,4,2 ## @module_potfile_disable
.comm _module_pw_max,4,2 ## @module_pw_max
.comm _module_salt_type,4,2 ## @module_salt_type
.comm _module_st_hash,4,2 ## @module_st_hash
.comm _module_st_pass,4,2 ## @module_st_pass
.comm _module_tmp_size,4,2 ## @module_tmp_size
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _module_init ; -- Begin function module_init
.p2align 2
_module_init: ; @module_init
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MODULE_CONTEXT_SIZE_CURRENT@GOTPAGE
Lloh1:
ldr x8, [x8, _MODULE_CONTEXT_SIZE_CURRENT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0, #488]
Lloh3:
adrp x8, _MODULE_INTERFACE_VERSION_CURRENT@GOTPAGE
Lloh4:
ldr x8, [x8, _MODULE_INTERFACE_VERSION_CURRENT@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x0, #484]
Lloh6:
adrp x8, _module_attack_exec@GOTPAGE
Lloh7:
ldr x8, [x8, _module_attack_exec@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
str w8, [x0, #480]
Lloh9:
adrp x8, _MODULE_DEFAULT@GOTPAGE
Lloh10:
ldr x8, [x8, _MODULE_DEFAULT@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
stp x8, x8, [x0, #464]
Lloh12:
adrp x9, _module_build_plain_postprocess@GOTPAGE
Lloh13:
ldr x9, [x9, _module_build_plain_postprocess@GOTPAGEOFF]
stp x8, x8, [x0, #448]
Lloh14:
ldr w9, [x9]
str w9, [x0, #440]
str x8, [x0, #432]
Lloh15:
adrp x9, _module_dgst_pos0@GOTPAGE
Lloh16:
ldr x9, [x9, _module_dgst_pos0@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
str w9, [x0, #424]
Lloh18:
adrp x9, _module_dgst_pos1@GOTPAGE
Lloh19:
ldr x9, [x9, _module_dgst_pos1@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
str w9, [x0, #420]
Lloh21:
adrp x9, _module_dgst_pos2@GOTPAGE
Lloh22:
ldr x9, [x9, _module_dgst_pos2@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
str w9, [x0, #416]
Lloh24:
adrp x9, _module_dgst_pos3@GOTPAGE
Lloh25:
ldr x9, [x9, _module_dgst_pos3@GOTPAGEOFF]
Lloh26:
ldr w9, [x9]
str w9, [x0, #412]
Lloh27:
adrp x9, _module_dgst_size@GOTPAGE
Lloh28:
ldr x9, [x9, _module_dgst_size@GOTPAGEOFF]
Lloh29:
ldr w9, [x9]
str w9, [x0, #408]
str x8, [x0, #400]
Lloh30:
adrp x9, _module_esalt_size@GOTPAGE
Lloh31:
ldr x9, [x9, _module_esalt_size@GOTPAGEOFF]
Lloh32:
ldr w9, [x9]
str w9, [x0, #392]
stp x8, x8, [x0, #376]
stp x8, x8, [x0, #360]
Lloh33:
adrp x9, _module_hash_binary_parse@GOTPAGE
Lloh34:
ldr x9, [x9, _module_hash_binary_parse@GOTPAGEOFF]
Lloh35:
ldr w9, [x9]
str w9, [x0, #352]
stp x8, x8, [x0, #336]
str x8, [x0, #328]
Lloh36:
adrp x9, _module_hash_decode@GOTPAGE
Lloh37:
ldr x9, [x9, _module_hash_decode@GOTPAGEOFF]
Lloh38:
ldr w9, [x9]
str w9, [x0, #320]
str x8, [x0, #312]
Lloh39:
adrp x9, _module_hash_init_selftest@GOTPAGE
Lloh40:
ldr x9, [x9, _module_hash_init_selftest@GOTPAGEOFF]
stp x8, x8, [x0, #296]
Lloh41:
ldr w9, [x9]
str w9, [x0, #288]
str x8, [x0, #280]
Lloh42:
adrp x9, _module_hash_category@GOTPAGE
Lloh43:
ldr x9, [x9, _module_hash_category@GOTPAGEOFF]
Lloh44:
ldr w9, [x9]
str w9, [x0, #276]
Lloh45:
adrp x9, _module_hash_name@GOTPAGE
Lloh46:
ldr x9, [x9, _module_hash_name@GOTPAGEOFF]
Lloh47:
ldr w9, [x9]
str w9, [x0, #272]
stp x8, x8, [x0, #256]
stp x8, x8, [x0, #240]
stp x8, x8, [x0, #224]
str x8, [x0, #216]
Lloh48:
adrp x9, _module_jit_build_options@GOTPAGE
Lloh49:
ldr x9, [x9, _module_jit_build_options@GOTPAGEOFF]
Lloh50:
ldr w9, [x9]
str w9, [x0, #208]
stp x8, x8, [x0, #192]
str x8, [x0, #184]
Lloh51:
adrp x9, _module_kernel_loops_max@GOTPAGE
Lloh52:
ldr x9, [x9, _module_kernel_loops_max@GOTPAGEOFF]
Lloh53:
ldr w9, [x9]
str w9, [x0, #176]
stp x8, x8, [x0, #160]
str x8, [x0, #152]
Lloh54:
adrp x9, _module_kern_type@GOTPAGE
Lloh55:
ldr x9, [x9, _module_kern_type@GOTPAGEOFF]
Lloh56:
ldr w9, [x9]
str w9, [x0, #144]
str x8, [x0, #136]
Lloh57:
adrp x9, _module_opti_type@GOTPAGE
Lloh58:
ldr x9, [x9, _module_opti_type@GOTPAGEOFF]
Lloh59:
ldr w9, [x9]
str w9, [x0, #128]
Lloh60:
adrp x9, _module_opts_type@GOTPAGE
Lloh61:
ldr x9, [x9, _module_opts_type@GOTPAGEOFF]
Lloh62:
ldr w9, [x9]
Lloh63:
adrp x10, _module_outfile_check_disable@GOTPAGE
Lloh64:
ldr x10, [x10, _module_outfile_check_disable@GOTPAGEOFF]
Lloh65:
ldr w10, [x10]
stp w10, w9, [x0, #120]
stp x8, x8, [x0, #104]
Lloh66:
adrp x9, _module_potfile_disable@GOTPAGE
Lloh67:
ldr x9, [x9, _module_potfile_disable@GOTPAGEOFF]
Lloh68:
ldr w9, [x9]
str w9, [x0, #96]
stp x8, x8, [x0, #80]
Lloh69:
adrp x9, _module_pw_max@GOTPAGE
Lloh70:
ldr x9, [x9, _module_pw_max@GOTPAGEOFF]
Lloh71:
ldr w9, [x9]
str w9, [x0, #72]
str x8, [x0, #64]
Lloh72:
adrp x9, _module_salt_type@GOTPAGE
Lloh73:
ldr x9, [x9, _module_salt_type@GOTPAGEOFF]
stp x8, x8, [x0, #48]
Lloh74:
ldr w9, [x9]
str w9, [x0, #40]
str x8, [x0, #32]
Lloh75:
adrp x9, _module_st_hash@GOTPAGE
Lloh76:
ldr x9, [x9, _module_st_hash@GOTPAGEOFF]
Lloh77:
ldr w9, [x9]
str w9, [x0, #24]
Lloh78:
adrp x9, _module_st_pass@GOTPAGE
Lloh79:
ldr x9, [x9, _module_st_pass@GOTPAGEOFF]
Lloh80:
adrp x10, _module_tmp_size@GOTPAGE
Lloh81:
ldr x10, [x10, _module_tmp_size@GOTPAGEOFF]
Lloh82:
ldr w9, [x9]
Lloh83:
ldr w10, [x10]
stp w10, w9, [x0, #16]
stp x8, x8, [x0]
ret
.loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh83
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh82
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MODULE_CONTEXT_SIZE_CURRENT,4,2 ; @MODULE_CONTEXT_SIZE_CURRENT
.comm _MODULE_INTERFACE_VERSION_CURRENT,4,2 ; @MODULE_INTERFACE_VERSION_CURRENT
.comm _module_attack_exec,4,2 ; @module_attack_exec
.comm _MODULE_DEFAULT,8,3 ; @MODULE_DEFAULT
.comm _module_build_plain_postprocess,4,2 ; @module_build_plain_postprocess
.comm _module_dgst_pos0,4,2 ; @module_dgst_pos0
.comm _module_dgst_pos1,4,2 ; @module_dgst_pos1
.comm _module_dgst_pos2,4,2 ; @module_dgst_pos2
.comm _module_dgst_pos3,4,2 ; @module_dgst_pos3
.comm _module_dgst_size,4,2 ; @module_dgst_size
.comm _module_esalt_size,4,2 ; @module_esalt_size
.comm _module_hash_binary_parse,4,2 ; @module_hash_binary_parse
.comm _module_hash_decode,4,2 ; @module_hash_decode
.comm _module_hash_init_selftest,4,2 ; @module_hash_init_selftest
.comm _module_hash_category,4,2 ; @module_hash_category
.comm _module_hash_name,4,2 ; @module_hash_name
.comm _module_jit_build_options,4,2 ; @module_jit_build_options
.comm _module_kernel_loops_max,4,2 ; @module_kernel_loops_max
.comm _module_kern_type,4,2 ; @module_kern_type
.comm _module_opti_type,4,2 ; @module_opti_type
.comm _module_opts_type,4,2 ; @module_opts_type
.comm _module_outfile_check_disable,4,2 ; @module_outfile_check_disable
.comm _module_potfile_disable,4,2 ; @module_potfile_disable
.comm _module_pw_max,4,2 ; @module_pw_max
.comm _module_salt_type,4,2 ; @module_salt_type
.comm _module_st_hash,4,2 ; @module_st_hash
.comm _module_st_pass,4,2 ; @module_st_pass
.comm _module_tmp_size,4,2 ; @module_tmp_size
.subsections_via_symbols
| AnghaBench/hashcat/src/modules/extr_module_13722.c_module_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function chroma_smooth_init
_chroma_smooth_init: ## @chroma_smooth_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movl $4, %edi
movl $1, %esi
callq _calloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_53
## %bb.1:
movq %rax, %r15
movq (%rax), %rdi
movq $-1, (%rdi)
movq $-1, 32(%rdi)
movq $-1, 64(%rdi)
movq (%rbx), %r12
testq %r12, %r12
je LBB0_3
## %bb.2:
addq $32, %rdi
leaq L_.str.1(%rip), %rdx
movq %r12, %rsi
callq _hb_dict_extract_double
movq (%r15), %rdi
addq $36, %rdi
leaq L_.str.2(%rip), %rdx
movq %r12, %rsi
callq _hb_dict_extract_int
movq (%r15), %rdi
addq $64, %rdi
leaq L_.str.3(%rip), %rdx
movq %r12, %rsi
callq _hb_dict_extract_double
movq (%r15), %rdi
addq $68, %rdi
leaq L_.str.4(%rip), %rdx
movq %r12, %rsi
callq _hb_dict_extract_int
movq (%r15), %rdi
LBB0_3:
cmpl $-1, 64(%rdi)
je LBB0_4
## %bb.5:
cmpl $-1, 68(%rdi)
je LBB0_6
LBB0_7:
movl (%r14), %esi
movl %esi, 28(%rdi)
movl (%rdi), %eax
cmpl $-1, %eax
jne LBB0_9
## %bb.8:
movq _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rdi)
LBB0_9:
movl 4(%rdi), %ecx
cmpl $-1, %ecx
je LBB0_10
## %bb.11:
testl %eax, %eax
js LBB0_12
LBB0_13:
movl $3, %edx
cmpl $4, %eax
jae LBB0_14
## %bb.15:
testb $1, %cl
jne LBB0_17
LBB0_16:
decl %ecx
movl %ecx, 4(%rdi)
LBB0_17:
movq _CHROMA_SMOOTH_SIZE_MIN@GOTPCREL(%rip), %rax
movl (%rax), %edx
cmpl %edx, %ecx
jge LBB0_19
## %bb.18:
movl %edx, 4(%rdi)
movl %edx, %ecx
LBB0_19:
movq _CHROMA_SMOOTH_SIZE_MAX@GOTPCREL(%rip), %rdx
movl (%rdx), %r8d
cmpl %r8d, %ecx
jle LBB0_21
## %bb.20:
movl %r8d, 4(%rdi)
LBB0_21:
xorps %xmm0, %xmm0
movups %xmm0, 8(%rdi)
movl $0, 24(%rdi)
movl %esi, 60(%rdi)
movl 32(%rdi), %r8d
cmpl $-1, %r8d
jne LBB0_23
## %bb.22:
movq _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
movl %r8d, 32(%rdi)
LBB0_23:
movl 36(%rdi), %ecx
cmpl $-1, %ecx
je LBB0_24
## %bb.25:
testl %r8d, %r8d
js LBB0_26
LBB0_27:
movl $3, %r9d
cmpl $4, %r8d
jae LBB0_28
## %bb.29:
testb $1, %cl
jne LBB0_31
LBB0_30:
decl %ecx
movl %ecx, 36(%rdi)
LBB0_31:
movl (%rax), %r9d
cmpl %r9d, %ecx
jge LBB0_33
## %bb.32:
movl %r9d, 36(%rdi)
movl %r9d, %ecx
LBB0_33:
movl (%rdx), %r9d
cmpl %r9d, %ecx
jle LBB0_35
## %bb.34:
movl %r9d, 36(%rdi)
movl %r9d, %ecx
LBB0_35:
movl %ecx, %r9d
shrl $31, %r9d
addl %ecx, %r9d
sarl %r9d
leal (,%r9,4), %r10d
leal -1(%r10), %ecx
movl $1, %r11d
## kill: def $cl killed $cl killed $ecx
shll %cl, %r11d
shll $16, %r8d
xorps %xmm0, %xmm0
cvtsi2sd %r8d, %xmm0
movsd %xmm0, 40(%rdi)
movl %r9d, 48(%rdi)
movl %r10d, 52(%rdi)
movl %r11d, 56(%rdi)
movl %esi, 92(%rdi)
movl 64(%rdi), %esi
cmpl $-1, %esi
jne LBB0_37
## %bb.36:
movq _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %esi, 64(%rdi)
LBB0_37:
movl 68(%rdi), %ecx
cmpl $-1, %ecx
je LBB0_38
## %bb.39:
testl %esi, %esi
js LBB0_40
LBB0_41:
movl $3, %r8d
cmpl $4, %esi
jae LBB0_42
## %bb.43:
testb $1, %cl
jne LBB0_45
LBB0_44:
decl %ecx
movl %ecx, 68(%rdi)
LBB0_45:
movl (%rax), %eax
cmpl %eax, %ecx
jge LBB0_47
## %bb.46:
movl %eax, 68(%rdi)
movl %eax, %ecx
LBB0_47:
movl (%rdx), %eax
cmpl %eax, %ecx
jle LBB0_49
## %bb.48:
movl %eax, 68(%rdi)
movl %eax, %ecx
LBB0_49:
movl %ecx, %eax
shrl $31, %eax
addl %ecx, %eax
sarl %eax
leal (,%rax,4), %edx
leal -1(%rdx), %ecx
movl $1, %r8d
## kill: def $cl killed $cl killed $ecx
shll %cl, %r8d
shll $16, %esi
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
movsd %xmm0, 72(%rdi)
movl %eax, 80(%rdi)
movl %edx, 84(%rdi)
movl %r8d, 88(%rdi)
movq %rbx, %rdi
movl $1, %esi
callq _chroma_smooth_init_thread
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
jns LBB0_52
## %bb.50:
movq %rbx, %rdi
callq _chroma_smooth_close
jmp LBB0_51
LBB0_53:
leaq L_.str(%rip), %rdi
callq _hb_error
LBB0_51:
movl $-1, %eax
LBB0_52:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movl 32(%rdi), %eax
movl %eax, 64(%rdi)
cmpl $-1, 68(%rdi)
jne LBB0_7
LBB0_6:
movl 36(%rdi), %eax
movl %eax, 68(%rdi)
jmp LBB0_7
LBB0_10:
movq _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%rdi)
testl %eax, %eax
jns LBB0_13
LBB0_12:
xorl %edx, %edx
LBB0_14:
movl %edx, (%rdi)
testb $1, %cl
je LBB0_16
jmp LBB0_17
LBB0_24:
movq _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 36(%rdi)
testl %r8d, %r8d
jns LBB0_27
LBB0_26:
xorl %r9d, %r9d
LBB0_28:
movl %r9d, 32(%rdi)
movl %r9d, %r8d
testb $1, %cl
je LBB0_30
jmp LBB0_31
LBB0_38:
movq _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 68(%rdi)
testl %esi, %esi
jns LBB0_41
LBB0_40:
xorl %r8d, %r8d
LBB0_42:
movl %r8d, 64(%rdi)
movl %r8d, %esi
testb $1, %cl
je LBB0_44
jmp LBB0_45
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Chroma Smooth calloc failed"
L_.str.1: ## @.str.1
.asciz "cb-strength"
L_.str.2: ## @.str.2
.asciz "cb-size"
L_.str.3: ## @.str.3
.asciz "cr-strength"
L_.str.4: ## @.str.4
.asciz "cr-size"
.comm _CHROMA_SMOOTH_STRENGTH_DEFAULT,4,2 ## @CHROMA_SMOOTH_STRENGTH_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_DEFAULT,4,2 ## @CHROMA_SMOOTH_SIZE_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_MIN,4,2 ## @CHROMA_SMOOTH_SIZE_MIN
.comm _CHROMA_SMOOTH_SIZE_MAX,4,2 ## @CHROMA_SMOOTH_SIZE_MAX
.no_dead_strip _chroma_smooth_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function chroma_smooth_init
_chroma_smooth_init: ; @chroma_smooth_init
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
mov w0, #4 ; =0x4
mov w1, #1 ; =0x1
bl _calloc
str x0, [x19, #8]
cbz x0, LBB0_13
; %bb.1:
mov x21, x0
ldr x8, [x0]
movi.2d v0, #0xffffffffffffffff
str d0, [x8]
mov x0, x8
str d0, [x0, #32]!
str d0, [x8, #64]
ldr x22, [x19]
cbz x22, LBB0_3
; %bb.2:
Lloh0:
adrp x2, l_.str.1@PAGE
Lloh1:
add x2, x2, l_.str.1@PAGEOFF
mov x1, x22
bl _hb_dict_extract_double
ldr x8, [x21]
Lloh2:
adrp x2, l_.str.2@PAGE
Lloh3:
add x2, x2, l_.str.2@PAGEOFF
add x0, x8, #36
mov x1, x22
bl _hb_dict_extract_int
ldr x8, [x21]
Lloh4:
adrp x2, l_.str.3@PAGE
Lloh5:
add x2, x2, l_.str.3@PAGEOFF
add x0, x8, #64
mov x1, x22
bl _hb_dict_extract_double
ldr x8, [x21]
Lloh6:
adrp x2, l_.str.4@PAGE
Lloh7:
add x2, x2, l_.str.4@PAGEOFF
add x0, x8, #68
mov x1, x22
bl _hb_dict_extract_int
ldr x8, [x21]
LBB0_3:
ldr w9, [x8, #64]
cmn w9, #1
b.ne LBB0_5
; %bb.4:
ldr w9, [x8, #32]
str w9, [x8, #64]
LBB0_5:
ldr w10, [x8, #68]
cmn w10, #1
b.ne LBB0_7
; %bb.6:
ldr w10, [x8, #36]
str w10, [x8, #68]
LBB0_7:
ldr w11, [x20]
str w11, [x8, #28]
ldr w12, [x8]
cmn w12, #1
b.ne LBB0_9
; %bb.8:
Lloh8:
adrp x12, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGE
Lloh9:
ldr x12, [x12, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGEOFF]
Lloh10:
ldr w12, [x12]
str w12, [x8]
LBB0_9:
ldr w14, [x8, #4]
cmn w14, #1
b.eq LBB0_14
; %bb.10:
tbnz w12, #31, LBB0_15
LBB0_11:
cmp w12, #4
b.lo LBB0_17
; %bb.12:
mov w12, #3 ; =0x3
b LBB0_16
LBB0_13:
Lloh11:
adrp x0, l_.str@PAGE
Lloh12:
add x0, x0, l_.str@PAGEOFF
bl _hb_error
b LBB0_52
LBB0_14:
Lloh13:
adrp x13, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGE
Lloh14:
ldr x13, [x13, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGEOFF]
Lloh15:
ldr w14, [x13]
str w14, [x8, #4]
tbz w12, #31, LBB0_11
LBB0_15:
mov w12, #0 ; =0x0
LBB0_16:
str w12, [x8]
LBB0_17:
tbnz w14, #0, LBB0_19
; %bb.18:
sub w14, w14, #1
str w14, [x8, #4]
LBB0_19:
Lloh16:
adrp x12, _CHROMA_SMOOTH_SIZE_MIN@GOTPAGE
Lloh17:
ldr x12, [x12, _CHROMA_SMOOTH_SIZE_MIN@GOTPAGEOFF]
Lloh18:
ldr w12, [x12]
cmp w14, w12
b.ge LBB0_21
; %bb.20:
str w12, [x8, #4]
mov x14, x12
LBB0_21:
Lloh19:
adrp x13, _CHROMA_SMOOTH_SIZE_MAX@GOTPAGE
Lloh20:
ldr x13, [x13, _CHROMA_SMOOTH_SIZE_MAX@GOTPAGEOFF]
Lloh21:
ldr w13, [x13]
cmp w14, w13
b.le LBB0_23
; %bb.22:
str w13, [x8, #4]
LBB0_23:
stp xzr, xzr, [x8, #8]
str wzr, [x8, #24]
str w11, [x8, #60]
ldr w14, [x8, #32]
cmn w14, #1
b.ne LBB0_25
; %bb.24:
Lloh22:
adrp x14, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGE
Lloh23:
ldr x14, [x14, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGEOFF]
Lloh24:
ldr w14, [x14]
str w14, [x8, #32]
LBB0_25:
ldr w15, [x8, #36]
cmn w15, #1
b.eq LBB0_29
; %bb.26:
tbnz w14, #31, LBB0_30
LBB0_27:
cmp w14, #4
b.lo LBB0_32
; %bb.28:
mov w14, #3 ; =0x3
b LBB0_31
LBB0_29:
Lloh25:
adrp x15, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGE
Lloh26:
ldr x15, [x15, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGEOFF]
Lloh27:
ldr w15, [x15]
str w15, [x8, #36]
tbz w14, #31, LBB0_27
LBB0_30:
mov w14, #0 ; =0x0
LBB0_31:
str w14, [x8, #32]
LBB0_32:
ands w16, w15, #0x1
cset w17, eq
sub w0, w15, w17
cmp w0, w12
csel w17, w0, w12, gt
cmp w17, w13
csel w15, w17, w13, lt
cmp w0, w12
b.lt LBB0_35
; %bb.33:
cmp w17, w13
b.gt LBB0_35
; %bb.34:
cbnz w16, LBB0_36
LBB0_35:
str w15, [x8, #36]
LBB0_36:
add w15, w15, w15, lsr #31
asr w15, w15, #1
lsl w16, w15, #2
sub w17, w16, #1
lsl w14, w14, #16
ucvtf d0, w14
str d0, [x8, #40]
mov w14, #1 ; =0x1
stp w15, w16, [x8, #48]
lsl w14, w14, w17
str w14, [x8, #56]
str w11, [x8, #92]
cmn w9, #1
b.eq LBB0_41
; %bb.37:
cmn w10, #1
b.eq LBB0_42
LBB0_38:
tbnz w9, #31, LBB0_43
LBB0_39:
cmp w9, #4
b.lo LBB0_45
; %bb.40:
mov w9, #3 ; =0x3
b LBB0_44
LBB0_41:
Lloh28:
adrp x9, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGE
Lloh29:
ldr x9, [x9, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGEOFF]
Lloh30:
ldr w9, [x9]
str w9, [x8, #64]
cmn w10, #1
b.ne LBB0_38
LBB0_42:
Lloh31:
adrp x10, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGE
Lloh32:
ldr x10, [x10, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGEOFF]
Lloh33:
ldr w10, [x10]
str w10, [x8, #68]
tbz w9, #31, LBB0_39
LBB0_43:
mov w9, #0 ; =0x0
LBB0_44:
str w9, [x8, #64]
LBB0_45:
ands w11, w10, #0x1
cset w14, eq
sub w15, w10, w14
cmp w15, w12
csel w14, w15, w12, gt
cmp w14, w13
csel w10, w14, w13, lt
cmp w15, w12
b.lt LBB0_48
; %bb.46:
cmp w14, w13
b.gt LBB0_48
; %bb.47:
cbnz w11, LBB0_49
LBB0_48:
str w10, [x8, #68]
LBB0_49:
add w10, w10, w10, lsr #31
asr w10, w10, #1
lsl w11, w10, #2
sub w12, w11, #1
lsl w9, w9, #16
ucvtf d0, w9
mov w9, #1 ; =0x1
str d0, [x8, #72]
lsl w9, w9, w12
stp w10, w11, [x8, #80]
str w9, [x8, #88]
mov x0, x19
mov w1, #1 ; =0x1
bl _chroma_smooth_init_thread
tbnz x0, #63, LBB0_51
; %bb.50:
mov w0, #0 ; =0x0
b LBB0_53
LBB0_51:
mov x0, x19
bl _chroma_smooth_close
LBB0_52:
mov w0, #-1 ; =0xffffffff
LBB0_53:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Chroma Smooth calloc failed"
l_.str.1: ; @.str.1
.asciz "cb-strength"
l_.str.2: ; @.str.2
.asciz "cb-size"
l_.str.3: ; @.str.3
.asciz "cr-strength"
l_.str.4: ; @.str.4
.asciz "cr-size"
.comm _CHROMA_SMOOTH_STRENGTH_DEFAULT,4,2 ; @CHROMA_SMOOTH_STRENGTH_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_DEFAULT,4,2 ; @CHROMA_SMOOTH_SIZE_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_MIN,4,2 ; @CHROMA_SMOOTH_SIZE_MIN
.comm _CHROMA_SMOOTH_SIZE_MAX,4,2 ; @CHROMA_SMOOTH_SIZE_MAX
.no_dead_strip _chroma_smooth_init
.subsections_via_symbols
| assembly_file_60309.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _setpwent ## -- Begin function setpwent
.p2align 4, 0x90
_setpwent: ## @setpwent
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _setpwent ; -- Begin function setpwent
.p2align 2
_setpwent: ; @setpwent
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/32005.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _iter_init ## -- Begin function iter_init
.p2align 4, 0x90
_iter_init: ## @iter_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Iter@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _iter_init(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Iter,4,2 ## @Iter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _iter_init ; -- Begin function iter_init
.p2align 2
_iter_init: ; @iter_init
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _Iter@GOTPAGE
Lloh1:
ldr x8, [x8, _Iter@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _iter_init@PAGE
Lloh4:
add x2, x2, _iter_init@PAGEOFF
b _method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Iter,4,2 ; @Iter
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Iter.c_iter_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ZSTD_decompressSequences
_ZSTD_decompressSequences: ## @ZSTD_decompressSequences
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $152, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %rax
movq %rcx, %r10
movq %rdx, -120(%rbp) ## 8-byte Spill
movq %rsi, -64(%rbp) ## 8-byte Spill
movq 40(%rdi), %r14
movq %r14, -72(%rbp)
movslq (%rdi), %rcx
movq %rcx, -112(%rbp) ## 8-byte Spill
movq 32(%rdi), %rbx
movq 24(%rdi), %r13
movq 8(%rdi), %rcx
movq %rcx, -136(%rbp) ## 8-byte Spill
movq 16(%rdi), %r15
leaq -44(%rbp), %rdi
leaq -184(%rbp), %rsi
leaq -192(%rbp), %rdx
movq %rbx, %rcx
movq %r13, %r8
movq %r15, %r9
movq %rax, -56(%rbp) ## 8-byte Spill
pushq %rax
movq %r10, -128(%rbp) ## 8-byte Spill
pushq %r10
callq _ZSTD_decodeSeqHeaders
addq $16, %rsp
movq %rax, %r12
movq %rax, %rdi
callq _ZSTD_isError
testq %rax, %rax
jne LBB0_15
## %bb.1:
movq %r14, -80(%rbp) ## 8-byte Spill
movq %rbx, -88(%rbp) ## 8-byte Spill
movq %r15, -96(%rbp) ## 8-byte Spill
movq %r13, -104(%rbp) ## 8-byte Spill
movq -128(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r12,4), %r14
leaq -48(%rbp), %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
movq -184(%rbp), %rax
movq %rax, -144(%rbp)
movq -192(%rbp), %rcx
leaq (%rax,%rcx,4), %rax
movq %rax, -152(%rbp)
movl $1, -176(%rbp)
leaq -172(%rbp), %r15
movq -56(%rbp), %rdx ## 8-byte Reload
subl %r12d, %edx
movq %r15, %rdi
movq %r14, %rsi
## kill: def $edx killed $edx killed $rdx
callq _BIT_initDStream
movq %rax, %rdi
callq _ERR_isError
movq _corruption_detected@GOTPCREL(%rip), %rcx
testq %rax, %rax
je LBB0_2
LBB0_11:
movl (%rcx), %edi
callq _ERROR
movq %rax, %r12
LBB0_15:
movq %r12, %rax
addq $152, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq -64(%rbp), %rbx ## 8-byte Reload
movq -120(%rbp), %rax ## 8-byte Reload
leaq (%rbx,%rax,4), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -80(%rbp), %rax ## 8-byte Reload
movq -112(%rbp), %rcx ## 8-byte Reload
leaq (%rax,%rcx,4), %r14
leaq -160(%rbp), %rdi
movq %r15, %rsi
movq -88(%rbp), %rdx ## 8-byte Reload
callq _FSE_initDState
leaq -164(%rbp), %rdi
movq %r15, %rsi
movq -96(%rbp), %rdx ## 8-byte Reload
callq _FSE_initDState
leaq -168(%rbp), %rdi
movq %r15, %rsi
movq -104(%rbp), %rdx ## 8-byte Reload
callq _FSE_initDState
leaq -176(%rbp), %r13
leaq -72(%rbp), %r15
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq -172(%rbp), %rdi
callq _BIT_reloadDStream
movq _BIT_DStream_completed@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
setle %cl
movl -44(%rbp), %eax
testl %eax, %eax
setg %dl
orb %cl, %dl
cmpb $1, %dl
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
decl %eax
movl %eax, -44(%rbp)
leaq -48(%rbp), %rdi
movq %r13, %rsi
callq _ZSTD_decodeSequence
movl -48(%rbp), %esi
movq %rbx, %rdi
movq %r15, %rdx
movq %r14, %rcx
movq -136(%rbp), %r8 ## 8-byte Reload
movq -56(%rbp), %r9 ## 8-byte Reload
callq _ZSTD_execSequence
movq %rax, %r12
movq %rax, %rdi
callq _ZSTD_isError
leaq (%rbx,%r12,4), %rbx
testq %rax, %rax
je LBB0_3
jmp LBB0_15
LBB0_5:
leaq -172(%rbp), %rdi
callq _BIT_endOfDStream
testl %eax, %eax
je LBB0_6
## %bb.7:
cmpl $0, -44(%rbp)
movq _corruption_detected@GOTPCREL(%rip), %rcx
js LBB0_11
## %bb.8:
movq -72(%rbp), %rsi
subq %rsi, %r14
jb LBB0_11
## %bb.9:
sarq $2, %r14
leaq (%rbx,%r14,4), %r12
cmpq -56(%rbp), %r12 ## 8-byte Folded Reload
jbe LBB0_12
## %bb.10:
movq _dstSize_tooSmall@GOTPCREL(%rip), %rcx
jmp LBB0_11
LBB0_6:
movq _corruption_detected@GOTPCREL(%rip), %rcx
jmp LBB0_11
LBB0_12:
cmpq %rsi, %rbx
je LBB0_14
## %bb.13:
movq %rbx, %rdi
movq %r14, %rdx
callq _memmove
LBB0_14:
subq -64(%rbp), %r12 ## 8-byte Folded Reload
sarq $2, %r12
jmp LBB0_15
.cfi_endproc
## -- End function
.comm _corruption_detected,4,2 ## @corruption_detected
.comm _BIT_DStream_completed,8,3 ## @BIT_DStream_completed
.comm _dstSize_tooSmall,4,2 ## @dstSize_tooSmall
.no_dead_strip _ZSTD_decompressSequences
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ZSTD_decompressSequences
_ZSTD_decompressSequences: ; @ZSTD_decompressSequences
.cfi_startproc
; %bb.0:
sub sp, sp, #240
stp x28, x27, [sp, #144] ; 16-byte Folded Spill
stp x26, x25, [sp, #160] ; 16-byte Folded Spill
stp x24, x23, [sp, #176] ; 16-byte Folded Spill
stp x22, x21, [sp, #192] ; 16-byte Folded Spill
stp x20, x19, [sp, #208] ; 16-byte Folded Spill
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x4
mov x27, x3
str x2, [sp, #56] ; 8-byte Folded Spill
mov x28, x1
ldp x19, x23, [x0, #32]
stur x23, [x29, #-96]
ldrsw x21, [x0]
ldp x25, x20, [x0, #16]
ldr x24, [x0, #8]
sub x0, x29, #100
add x1, sp, #112
sub x2, x29, #88
mov x3, x19
mov x4, x20
mov x5, x25
mov x6, x27
mov x7, x22
bl _ZSTD_decodeSeqHeaders
mov x26, x0
bl _ZSTD_isError
cbnz x0, LBB0_4
; %bb.1:
stp x23, x19, [sp] ; 16-byte Folded Spill
stp x25, x24, [sp, #16] ; 16-byte Folded Spill
stp x20, x21, [sp, #32] ; 16-byte Folded Spill
ldr x23, [sp, #56] ; 8-byte Folded Reload
str x28, [sp, #48] ; 8-byte Folded Spill
add x27, x27, x26, lsl #2
add x0, sp, #108
mov w1, #0 ; =0x0
mov w2, #4 ; =0x4
bl _memset
ldr x8, [sp, #112]
ldur x9, [x29, #-88]
add x9, x8, x9, lsl #2
stp x9, x8, [sp, #88]
mov w8, #1 ; =0x1
str w8, [sp, #64]
add x28, sp, #64
sub w2, w22, w26
orr x0, x28, #0x4
mov x1, x27
bl _BIT_initDStream
bl _ERR_isError
cbz x0, LBB0_5
LBB0_2:
Lloh0:
adrp x8, _corruption_detected@GOTPAGE
Lloh1:
ldr x8, [x8, _corruption_detected@GOTPAGEOFF]
LBB0_3:
ldr w0, [x8]
bl _ERROR
mov x26, x0
LBB0_4:
mov x0, x26
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
ldp x20, x19, [sp, #208] ; 16-byte Folded Reload
ldp x22, x21, [sp, #192] ; 16-byte Folded Reload
ldp x24, x23, [sp, #176] ; 16-byte Folded Reload
ldp x26, x25, [sp, #160] ; 16-byte Folded Reload
ldp x28, x27, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #240
ret
LBB0_5:
ldp x8, x26, [sp, #40] ; 16-byte Folded Reload
add x21, x26, x23, lsl #2
ldp x9, x2, [sp] ; 16-byte Folded Reload
add x22, x9, x8, lsl #2
add x0, x28, #16
orr x1, x28, #0x4
bl _FSE_initDState
add x0, x28, #12
orr x1, x28, #0x4
ldr x2, [sp, #16] ; 8-byte Folded Reload
bl _FSE_initDState
add x0, x28, #8
orr x1, x28, #0x4
ldr x2, [sp, #32] ; 8-byte Folded Reload
bl _FSE_initDState
Lloh2:
adrp x19, _BIT_DStream_completed@GOTPAGE
Lloh3:
ldr x19, [x19, _BIT_DStream_completed@GOTPAGEOFF]
mov x23, x26
ldr x20, [sp, #24] ; 8-byte Folded Reload
LBB0_6: ; =>This Inner Loop Header: Depth=1
orr x0, x28, #0x4
bl _BIT_reloadDStream
ldr x9, [x19]
ldur w8, [x29, #-100]
cmp x0, x9
ccmp w8, #1, #0, gt
b.lt LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
sub w8, w8, #1
stur w8, [x29, #-100]
add x0, sp, #108
add x1, sp, #64
bl _ZSTD_decodeSequence
ldr w1, [sp, #108]
sub x2, x29, #96
mov x0, x23
mov x3, x22
mov x4, x20
mov x5, x21
bl _ZSTD_execSequence
mov x26, x0
bl _ZSTD_isError
add x23, x23, x26, lsl #2
cbz x0, LBB0_6
b LBB0_4
LBB0_8:
orr x0, x28, #0x4
bl _BIT_endOfDStream
Lloh4:
adrp x8, _corruption_detected@GOTPAGE
Lloh5:
ldr x8, [x8, _corruption_detected@GOTPAGEOFF]
cbz w0, LBB0_3
; %bb.9:
ldur w9, [x29, #-100]
tbnz w9, #31, LBB0_3
; %bb.10:
ldur x1, [x29, #-96]
subs x8, x22, x1
b.lo LBB0_2
; %bb.11:
asr x2, x8, #2
add x19, x23, x2, lsl #2
cmp x19, x21
b.ls LBB0_13
; %bb.12:
Lloh6:
adrp x8, _dstSize_tooSmall@GOTPAGE
Lloh7:
ldr x8, [x8, _dstSize_tooSmall@GOTPAGEOFF]
b LBB0_3
LBB0_13:
cmp x23, x1
b.eq LBB0_15
; %bb.14:
mov x0, x23
bl _memmove
LBB0_15:
ldr x8, [sp, #48] ; 8-byte Folded Reload
sub x8, x19, x8
asr x26, x8, #2
b LBB0_4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _corruption_detected,4,2 ; @corruption_detected
.comm _BIT_DStream_completed,8,3 ; @BIT_DStream_completed
.comm _dstSize_tooSmall,4,2 ; @dstSize_tooSmall
.no_dead_strip _ZSTD_decompressSequences
.subsections_via_symbols
| assembly_file_114603.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Field_combined3e2c5767_fld39xt_flix64_slot2_Slot_xt_flix64_slot2_get
_Field_combined3e2c5767_fld39xt_flix64_slot2_Slot_xt_flix64_slot2_get: ## @Field_combined3e2c5767_fld39xt_flix64_slot2_Slot_xt_flix64_slot2_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
movl %eax, %ecx
shll $19, %ecx
sarl $30, %ecx
andl $2147483646, %ecx ## imm = 0x7FFFFFFE
movsbl %al, %edx
sarl $7, %edx
orl %ecx, %edx
addl %edx, %edx
shll $27, %eax
sarl $31, %eax
orl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _Field_combined3e2c5767_fld39xt_flix64_slot2_Slot_xt_flix64_slot2_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Field_combined3e2c5767_fld39xt_flix64_slot2_Slot_xt_flix64_slot2_get
_Field_combined3e2c5767_fld39xt_flix64_slot2_Slot_xt_flix64_slot2_get: ; @Field_combined3e2c5767_fld39xt_flix64_slot2_Slot_xt_flix64_slot2_get
.cfi_startproc
; %bb.0:
ldr w8, [x0]
sbfx w9, w8, #11, #2
and w9, w9, #0x7ffffffe
lsl w10, w8, #24
orr w9, w9, w10, asr #31
lsl w9, w9, #1
lsl w8, w8, #27
orr w0, w9, w8, asr #31
ret
.cfi_endproc
; -- End function
.no_dead_strip _Field_combined3e2c5767_fld39xt_flix64_slot2_Slot_xt_flix64_slot2_get
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_combined3e2c5767_fld39xt_flix64_slot2_Slot_xt_flix64_slot2_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bcmchan_setspeed
_bcmchan_setspeed: ## @bcmchan_setspeed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r15
movq 8(%rsi), %rbx
movq %rbx, %rdi
callq _BCM2835_AUDIO_LOCK
movl %r14d, (%r15)
movq %rbx, %rdi
callq _bcm2835_worker_update_params
movq %rbx, %rdi
callq _BCM2835_AUDIO_UNLOCK
movl (%r15), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _bcmchan_setspeed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bcmchan_setspeed
_bcmchan_setspeed: ; @bcmchan_setspeed
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
ldr x21, [x1, #8]
mov x0, x21
bl _BCM2835_AUDIO_LOCK
str w19, [x20]
mov x0, x21
bl _bcm2835_worker_update_params
mov x0, x21
bl _BCM2835_AUDIO_UNLOCK
ldr w0, [x20]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _bcmchan_setspeed
.subsections_via_symbols
| AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_audio.c_bcmchan_setspeed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtw_roaming ## -- Begin function rtw_roaming
.p2align 4, 0x90
_rtw_roaming: ## @rtw_roaming
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _spin_lock_bh
movq %rbx, %rdi
movq %r14, %rsi
callq __rtw_roaming
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _spin_unlock_bh ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtw_roaming ; -- Begin function rtw_roaming
.p2align 2
_rtw_roaming: ; @rtw_roaming
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
bl _spin_lock_bh
mov x0, x20
mov x1, x19
bl __rtw_roaming
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _spin_unlock_bh
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_mlme.c_rtw_roaming.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _IniExtractSettingName ## -- Begin function IniExtractSettingName
.p2align 4, 0x90
_IniExtractSettingName: ## @IniExtractSettingName
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdx, %rdx
je LBB0_1
## %bb.4:
xorl %r8d, %r8d
xorl %ecx, %ecx
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
incq %rcx
cmpq %rcx, %rdx
je LBB0_13
LBB0_5: ## =>This Inner Loop Header: Depth=1
movzbl (%rsi,%rcx), %eax
cmpb $32, %al
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpb $9, %al
je LBB0_7
## %bb.2:
cmpq %rdx, %rcx
jae LBB0_3
LBB0_8:
subq %rcx, %rdx
addq %rcx, %rsi
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movzbl (%rsi,%r8), %ecx
testb %cl, %cl
je LBB0_13
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
cmpb $61, %cl
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movb %cl, (%rdi,%r8)
incq %r8
cmpq %r8, %rdx
jne LBB0_9
## %bb.12:
movq %rdx, %r8
jmp LBB0_13
LBB0_1:
xorl %ecx, %ecx
cmpq %rdx, %rcx
jb LBB0_8
LBB0_3:
xorl %r8d, %r8d
LBB0_13:
movb $0, (%rdi,%r8)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _IniExtractSettingName ; -- Begin function IniExtractSettingName
.p2align 2
_IniExtractSettingName: ; @IniExtractSettingName
.cfi_startproc
; %bb.0:
mov x10, #0
cbz x2, LBB0_3
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x1, x10]
cmp w8, #32
ccmp w8, #9, #4, ne
b.ne LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
add x10, x10, #1
cmp x2, x10
b.ne LBB0_1
b LBB0_10
LBB0_3:
cmp x10, x2
b.hs LBB0_10
; %bb.4:
mov x8, #0
sub x9, x2, x10
add x10, x1, x10
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x10, x8]
cbz w11, LBB0_9
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w11, #61
b.eq LBB0_9
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
strb w11, [x0, x8]
add x8, x8, #1
cmp x9, x8
b.ne LBB0_5
; %bb.8:
mov x8, x9
LBB0_9:
strb wzr, [x0, x8]
ret
LBB0_10:
strb wzr, [x0, xzr]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/reactos/boot/freeldr/freeldr/lib/inifile/extr_parse.c_IniExtractSettingName.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _aw,4,2 ## @aw
.comm _g,4,2 ## @g
.comm _a,4,2 ## @a
.comm _ap,4,2 ## @ap
.comm _ax,4,2 ## @ax
.comm _aq,4,2 ## @aq
.comm _av,4,2 ## @av
.comm _au,4,2 ## @au
.comm _ar,4,2 ## @ar
.comm _at,4,2 ## @at
.comm _as,4,2 ## @as
.comm _ao,4,2 ## @ao
.comm _ay,4,2 ## @ay
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.comm _aw,4,2 ; @aw
.comm _g,4,2 ; @g
.comm _a,4,2 ; @a
.comm _ap,4,2 ; @ap
.comm _ax,4,2 ; @ax
.comm _aq,4,2 ; @aq
.comm _av,4,2 ; @av
.comm _au,4,2 ; @au
.comm _ar,4,2 ; @ar
.comm _at,4,2 ; @at
.comm _as,4,2 ; @as
.comm _ao,4,2 ; @ao
.comm _ay,4,2 ; @ay
.subsections_via_symbols
| the_stack_data/71442.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lrintf ## -- Begin function lrintf
.p2align 4, 0x90
_lrintf: ## @lrintf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, -16(%rbp)
movss %xmm0, -4(%rbp)
flds -4(%rbp)
## InlineAsm Start
fistpl -16(%rbp)
## InlineAsm End
movq -16(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lrintf ; -- Begin function lrintf
.p2align 2
_lrintf: ; @lrintf
.cfi_startproc
; %bb.0:
; InlineAsm Start
frintx s0, s0
fcvtzs w0, s0
; InlineAsm End
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/118236.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intel_sprite_set_colorkey ## -- Begin function intel_sprite_set_colorkey
.p2align 4, 0x90
_intel_sprite_set_colorkey: ## @intel_sprite_set_colorkey
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
movq _DRIVER_MODESET@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _drm_core_check_feature
testl %eax, %eax
je LBB0_1
## %bb.3:
movl (%r14), %eax
movq _I915_SET_COLORKEY_DESTINATION@GOTPCREL(%rip), %rcx
movq _I915_SET_COLORKEY_SOURCE@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rcx), %edx
notl %eax
testl %eax, %edx
jne LBB0_5
## %bb.4:
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_1:
movq _ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_9
LBB0_5:
movq %r15, %rdi
callq _drm_modeset_lock_all
movl 4(%r14), %esi
movq _DRM_MODE_OBJECT_PLANE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
callq _drm_mode_object_find
testq %rax, %rax
je LBB0_6
## %bb.7:
movq %rax, %rdi
callq _obj_to_plane
movq %rax, %rbx
movq %rax, %rdi
callq _to_intel_plane
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movl %eax, %ebx
jmp LBB0_8
LBB0_6:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_8:
movq %r15, %rdi
callq _drm_modeset_unlock_all
LBB0_9:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DRIVER_MODESET,4,2 ## @DRIVER_MODESET
.comm _ENODEV,4,2 ## @ENODEV
.comm _I915_SET_COLORKEY_DESTINATION,4,2 ## @I915_SET_COLORKEY_DESTINATION
.comm _I915_SET_COLORKEY_SOURCE,4,2 ## @I915_SET_COLORKEY_SOURCE
.comm _EINVAL,4,2 ## @EINVAL
.comm _DRM_MODE_OBJECT_PLANE,4,2 ## @DRM_MODE_OBJECT_PLANE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intel_sprite_set_colorkey ; -- Begin function intel_sprite_set_colorkey
.p2align 2
_intel_sprite_set_colorkey: ; @intel_sprite_set_colorkey
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _DRIVER_MODESET@GOTPAGE
Lloh1:
ldr x8, [x8, _DRIVER_MODESET@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _drm_core_check_feature
cbz w0, LBB0_3
; %bb.1:
ldr w8, [x20]
Lloh3:
adrp x9, _I915_SET_COLORKEY_DESTINATION@GOTPAGE
Lloh4:
ldr x9, [x9, _I915_SET_COLORKEY_DESTINATION@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
Lloh6:
adrp x10, _I915_SET_COLORKEY_SOURCE@GOTPAGE
Lloh7:
ldr x10, [x10, _I915_SET_COLORKEY_SOURCE@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
orr w9, w10, w9
bics wzr, w9, w8
b.ne LBB0_5
; %bb.2:
Lloh9:
adrp x8, _EINVAL@GOTPAGE
Lloh10:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_4
LBB0_3:
Lloh11:
adrp x8, _ENODEV@GOTPAGE
Lloh12:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_4:
ldr w8, [x8]
neg w20, w8
b LBB0_9
LBB0_5:
mov x0, x19
bl _drm_modeset_lock_all
ldr w1, [x20, #4]
Lloh13:
adrp x8, _DRM_MODE_OBJECT_PLANE@GOTPAGE
Lloh14:
ldr x8, [x8, _DRM_MODE_OBJECT_PLANE@GOTPAGEOFF]
Lloh15:
ldr w2, [x8]
mov x0, x19
bl _drm_mode_object_find
cbz x0, LBB0_7
; %bb.6:
bl _obj_to_plane
mov x21, x0
bl _to_intel_plane
ldr x8, [x0]
mov x0, x21
mov x1, x20
blr x8
mov x20, x0
b LBB0_8
LBB0_7:
Lloh16:
adrp x8, _EINVAL@GOTPAGE
Lloh17:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
neg w20, w8
LBB0_8:
mov x0, x19
bl _drm_modeset_unlock_all
LBB0_9:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _DRIVER_MODESET,4,2 ; @DRIVER_MODESET
.comm _ENODEV,4,2 ; @ENODEV
.comm _I915_SET_COLORKEY_DESTINATION,4,2 ; @I915_SET_COLORKEY_DESTINATION
.comm _I915_SET_COLORKEY_SOURCE,4,2 ; @I915_SET_COLORKEY_SOURCE
.comm _EINVAL,4,2 ; @EINVAL
.comm _DRM_MODE_OBJECT_PLANE,4,2 ; @DRM_MODE_OBJECT_PLANE
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_sprite.c_intel_sprite_set_colorkey.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bxe_storm_stats_update
_bxe_storm_stats_update: ## @bxe_storm_stats_update
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq 32(%rdi), %r14
callq _IS_PF
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %r15, %rdi
callq _bxe_storm_stats_validate_counters
testq %rax, %rax
je LBB0_3
## %bb.2:
movq _EAGAIN@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_9
LBB0_3:
movq %r14, -64(%rbp) ## 8-byte Spill
movq $0, 80(%r15)
movq $0, 64(%r15)
cmpl $0, (%r15)
jle LBB0_6
## %bb.4:
movl $36, %r13d
movl $120, %r14d
xorl %ecx, %ecx
movq %r15, -48(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %rcx, -56(%rbp) ## 8-byte Spill
movq 32(%r15), %rax
movq 40(%r15), %r12
movq (%rax), %r15
movq _DBG_STATS@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
movl -16(%r15,%r13), %r8d
movl -24(%r15,%r13), %eax
movl -20(%r15,%r13), %r9d
movl %eax, (%rsp)
movq -48(%rbp), %rdi ## 8-byte Reload
leaq L_.str(%rip), %rdx
movq -56(%rbp), %rcx ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx
xorl %eax, %eax
callq _BLOGD
movl (%rbx), %esi
movq -48(%rbp), %rdi ## 8-byte Reload
leaq L_.str.1(%rip), %rdx
xorl %eax, %eax
callq _BLOGD
movl (%r15,%r13), %edi
movq _total_broadcast_bytes_received@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_QSTAT
movl -4(%r15,%r13), %edi
movq _total_multicast_bytes_received@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_QSTAT
movl -8(%r15,%r13), %edi
movq _total_unicast_bytes_received@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_QSTAT
movq (%r12,%r14), %rdi
movq %rdi, -40(%r12,%r14)
movq -8(%r12,%r14), %rdx
movq %rdx, -56(%r12,%r14)
movl -16(%r12,%r14), %ecx
movl -12(%r12,%r14), %esi
callq _ADD_64
movq -56(%r12,%r14), %rdx
movq -40(%r12,%r14), %rdi
movl -20(%r12,%r14), %esi
movl -24(%r12,%r14), %ecx
callq _ADD_64
movq -56(%r12,%r14), %rax
movq -40(%r12,%r14), %rcx
movq %rcx, -32(%r12,%r14)
movq %rax, -48(%r12,%r14)
movq _rcv_ucast_pkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_unicast_packets_received@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_EXTEND_TSTAT
movq _rcv_mcast_pkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_multicast_packets_received@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_EXTEND_TSTAT
movq _rcv_bcast_pkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_broadcast_packets_received@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_EXTEND_TSTAT
movq _pkts_too_big_discard@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _etherstatsoverrsizepkts@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $32, %edx
callq _UPDATE_EXTEND_E_TSTAT
movq _no_buff_discard@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movl %edi, %esi
movl $16, %edx
callq _UPDATE_EXTEND_E_TSTAT
movq _ucast_no_buff_pkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_unicast_packets_received@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _SUB_EXTEND_USTAT
movq _mcast_no_buff_pkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_multicast_packets_received@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _SUB_EXTEND_USTAT
movq _bcast_no_buff_pkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_broadcast_packets_received@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _SUB_EXTEND_USTAT
movq _ucast_no_buff_pkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
callq _UPDATE_EXTEND_E_USTAT
movq _mcast_no_buff_pkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
callq _UPDATE_EXTEND_E_USTAT
movq _bcast_no_buff_pkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
callq _UPDATE_EXTEND_E_USTAT
movl -28(%r15,%r13), %edi
movq _total_broadcast_bytes_transmitted@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_QSTAT
movl -32(%r15,%r13), %edi
movq _total_multicast_bytes_transmitted@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_QSTAT
movl -36(%r15,%r13), %edi
movq _total_unicast_bytes_transmitted@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_QSTAT
movq -64(%r12,%r14), %rdi
movq %rdi, -88(%r12,%r14)
movq -72(%r12,%r14), %rdx
movq %rdx, -104(%r12,%r14)
movl -80(%r12,%r14), %ecx
movl -76(%r12,%r14), %esi
callq _ADD_64
movq -88(%r12,%r14), %rdi
movl -96(%r12,%r14), %esi
movq -104(%r12,%r14), %rdx
movl -112(%r12,%r14), %ecx
callq _ADD_64
movq _ucast_pkts_sent@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_unicast_packets_transmitted@GOTPCREL(%rip), %r12
movl (%r12), %esi
callq _UPDATE_EXTEND_XSTAT
movq _mcast_pkts_sent@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_multicast_packets_transmitted@GOTPCREL(%rip), %r12
movl (%r12), %esi
callq _UPDATE_EXTEND_XSTAT
movq _bcast_pkts_sent@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_broadcast_packets_transmitted@GOTPCREL(%rip), %r12
movl (%r12), %esi
callq _UPDATE_EXTEND_XSTAT
movq _checksum_discard@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_packets_received_checksum_discarded@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_EXTEND_TSTAT
movq _ttl0_discard@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_packets_received_ttl0_discarded@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_EXTEND_TSTAT
movq _error_drop_pkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_transmitted_dropped_packets_error@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_EXTEND_XSTAT
movq _coalesced_events@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_tpa_aggregations@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_EXTEND_E_USTAT
movq _coalesced_pkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _total_tpa_aggregated_frames@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_EXTEND_E_USTAT
movl -12(%r15,%r13), %edi
movq -48(%rbp), %r15 ## 8-byte Reload
movq _total_tpa_bytes@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
callq _UPDATE_QSTAT
movl (%rbx), %edi
callq _UPDATE_ESTAT_QSTAT_64
movq _total_bytes_received@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FSTAT_QSTAT
movq _total_bytes_transmitted@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FSTAT_QSTAT
movq _total_unicast_packets_received@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FSTAT_QSTAT
movq _total_multicast_packets_received@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FSTAT_QSTAT
movq _total_broadcast_packets_received@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FSTAT_QSTAT
movq _total_unicast_packets_transmitted@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FSTAT_QSTAT
movq _total_multicast_packets_transmitted@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FSTAT_QSTAT
movl (%r12), %edi
callq _UPDATE_FSTAT_QSTAT
movq _valid_bytes_received@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FSTAT_QSTAT
movq -56(%rbp), %rcx ## 8-byte Reload
incq %rcx
movslq (%r15), %rax
addq $40, %r13
addq $168, %r14
cmpq %rax, %rcx
jl LBB0_5
LBB0_6:
movq 96(%r15), %rdi
movl 56(%r15), %ecx
movl 72(%r15), %esi
movq 88(%r15), %rdx
callq _ADD_64
movq 88(%r15), %rdx
movq 96(%r15), %rdi
movq -64(%rbp), %r14 ## 8-byte Reload
movl 8(%r14), %ecx
movl 12(%r14), %esi
callq _ADD_64_LE
movq 64(%r15), %rdx
movq 80(%r15), %rdi
movl 8(%r14), %ecx
movl 12(%r14), %esi
callq _ADD_64_LE
movq _etherstatsoverrsizepkts@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _rx_stat_dot3statsframestoolong@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_ESTAT
movq 80(%r15), %rdi
movl 72(%r15), %esi
movq 64(%r15), %rdx
movl 56(%r15), %ecx
callq _ADD_64
cmpq $0, 24(%r15)
je LBB0_8
## %bb.7:
movq _mac_filter_discard@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FW_STAT
movq _mf_tag_discard@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FW_STAT
movq _brb_truncate_discard@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FW_STAT
movq _mac_discard@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UPDATE_FW_STAT
LBB0_8:
movq 104(%r15), %rax
incq %rax
movq %rax, 104(%r15)
movq %rax, 112(%r15)
movq $0, 8(%r15)
xorl %eax, %eax
LBB0_9:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EAGAIN,4,2 ## @EAGAIN
.comm _DBG_STATS,4,2 ## @DBG_STATS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "queue[%d]: ucast_sent 0x%x bcast_sent 0x%x mcast_sent 0x%x\n"
L_.str.1: ## @.str.1
.asciz "---------------\n"
.comm _total_broadcast_bytes_received,4,2 ## @total_broadcast_bytes_received
.comm _total_multicast_bytes_received,4,2 ## @total_multicast_bytes_received
.comm _total_unicast_bytes_received,4,2 ## @total_unicast_bytes_received
.comm _rcv_ucast_pkts,4,2 ## @rcv_ucast_pkts
.comm _total_unicast_packets_received,4,2 ## @total_unicast_packets_received
.comm _rcv_mcast_pkts,4,2 ## @rcv_mcast_pkts
.comm _total_multicast_packets_received,4,2 ## @total_multicast_packets_received
.comm _rcv_bcast_pkts,4,2 ## @rcv_bcast_pkts
.comm _total_broadcast_packets_received,4,2 ## @total_broadcast_packets_received
.comm _pkts_too_big_discard,4,2 ## @pkts_too_big_discard
.comm _etherstatsoverrsizepkts,4,2 ## @etherstatsoverrsizepkts
.comm _no_buff_discard,4,2 ## @no_buff_discard
.comm _ucast_no_buff_pkts,4,2 ## @ucast_no_buff_pkts
.comm _mcast_no_buff_pkts,4,2 ## @mcast_no_buff_pkts
.comm _bcast_no_buff_pkts,4,2 ## @bcast_no_buff_pkts
.comm _total_broadcast_bytes_transmitted,4,2 ## @total_broadcast_bytes_transmitted
.comm _total_multicast_bytes_transmitted,4,2 ## @total_multicast_bytes_transmitted
.comm _total_unicast_bytes_transmitted,4,2 ## @total_unicast_bytes_transmitted
.comm _ucast_pkts_sent,4,2 ## @ucast_pkts_sent
.comm _total_unicast_packets_transmitted,4,2 ## @total_unicast_packets_transmitted
.comm _mcast_pkts_sent,4,2 ## @mcast_pkts_sent
.comm _total_multicast_packets_transmitted,4,2 ## @total_multicast_packets_transmitted
.comm _bcast_pkts_sent,4,2 ## @bcast_pkts_sent
.comm _total_broadcast_packets_transmitted,4,2 ## @total_broadcast_packets_transmitted
.comm _checksum_discard,4,2 ## @checksum_discard
.comm _total_packets_received_checksum_discarded,4,2 ## @total_packets_received_checksum_discarded
.comm _ttl0_discard,4,2 ## @ttl0_discard
.comm _total_packets_received_ttl0_discarded,4,2 ## @total_packets_received_ttl0_discarded
.comm _error_drop_pkts,4,2 ## @error_drop_pkts
.comm _total_transmitted_dropped_packets_error,4,2 ## @total_transmitted_dropped_packets_error
.comm _coalesced_events,4,2 ## @coalesced_events
.comm _total_tpa_aggregations,4,2 ## @total_tpa_aggregations
.comm _coalesced_pkts,4,2 ## @coalesced_pkts
.comm _total_tpa_aggregated_frames,4,2 ## @total_tpa_aggregated_frames
.comm _total_tpa_bytes,4,2 ## @total_tpa_bytes
.comm _total_bytes_received,4,2 ## @total_bytes_received
.comm _total_bytes_transmitted,4,2 ## @total_bytes_transmitted
.comm _valid_bytes_received,4,2 ## @valid_bytes_received
.comm _rx_stat_dot3statsframestoolong,4,2 ## @rx_stat_dot3statsframestoolong
.comm _mac_filter_discard,4,2 ## @mac_filter_discard
.comm _mf_tag_discard,4,2 ## @mf_tag_discard
.comm _brb_truncate_discard,4,2 ## @brb_truncate_discard
.comm _mac_discard,4,2 ## @mac_discard
.no_dead_strip _bxe_storm_stats_update
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bxe_storm_stats_update
_bxe_storm_stats_update: ; @bxe_storm_stats_update
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
ldr x20, [x0, #32]
bl _IS_PF
cbz x0, LBB0_3
; %bb.1:
mov x0, x19
bl _bxe_storm_stats_validate_counters
cbz x0, LBB0_3
; %bb.2:
Lloh0:
adrp x8, _EAGAIN@GOTPAGE
Lloh1:
ldr x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
b LBB0_9
LBB0_3:
str x20, [sp, #32] ; 8-byte Folded Spill
str xzr, [x19, #80]
str xzr, [x19, #64]
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_6
; %bb.4:
mov x24, #0
mov w10, #20
mov w20, #120
str x19, [sp, #40] ; 8-byte Folded Spill
Lloh3:
adrp x27, _total_multicast_packets_received@GOTPAGE
Lloh4:
ldr x27, [x27, _total_multicast_packets_received@GOTPAGEOFF]
Lloh5:
adrp x22, _total_broadcast_packets_received@GOTPAGE
Lloh6:
ldr x22, [x22, _total_broadcast_packets_received@GOTPAGEOFF]
Lloh7:
adrp x26, _ucast_no_buff_pkts@GOTPAGE
Lloh8:
ldr x26, [x26, _ucast_no_buff_pkts@GOTPAGEOFF]
LBB0_5: ; =>This Inner Loop Header: Depth=1
stp x20, x10, [sp, #48] ; 16-byte Folded Spill
ldp x8, x21, [x19, #32]
ldr x8, [x8]
Lloh9:
adrp x28, _DBG_STATS@GOTPAGE
Lloh10:
ldr x28, [x28, _DBG_STATS@GOTPAGEOFF]
ldr w1, [x28]
add x25, x8, x10
ldp w9, w8, [x25, #-4]
ldur w10, [x25, #-8]
stp x9, x10, [sp, #16]
stp x24, x8, [sp]
mov x0, x19
Lloh11:
adrp x2, l_.str@PAGE
Lloh12:
add x2, x2, l_.str@PAGEOFF
bl _BLOGD
ldr w1, [x28]
mov x0, x19
Lloh13:
adrp x2, l_.str.1@PAGE
Lloh14:
add x2, x2, l_.str.1@PAGEOFF
bl _BLOGD
ldr w0, [x25, #16]
Lloh15:
adrp x8, _total_broadcast_bytes_received@GOTPAGE
Lloh16:
ldr x8, [x8, _total_broadcast_bytes_received@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
bl _UPDATE_QSTAT
ldr w0, [x25, #12]
Lloh18:
adrp x8, _total_multicast_bytes_received@GOTPAGE
Lloh19:
ldr x8, [x8, _total_multicast_bytes_received@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
bl _UPDATE_QSTAT
ldr w0, [x25, #8]
Lloh21:
adrp x8, _total_unicast_bytes_received@GOTPAGE
Lloh22:
ldr x8, [x8, _total_unicast_bytes_received@GOTPAGEOFF]
Lloh23:
ldr w1, [x8]
bl _UPDATE_QSTAT
add x21, x21, x20
ldp x2, x0, [x21, #-8]
stur x0, [x21, #-40]
stur x2, [x21, #-56]
ldp w3, w1, [x21, #-16]
bl _ADD_64
ldur x0, [x21, #-40]
ldur x2, [x21, #-56]
ldp w3, w1, [x21, #-24]
bl _ADD_64
ldur x8, [x21, #-40]
stur x8, [x21, #-32]
ldur x8, [x21, #-56]
stur x8, [x21, #-48]
Lloh24:
adrp x8, _rcv_ucast_pkts@GOTPAGE
Lloh25:
ldr x8, [x8, _rcv_ucast_pkts@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
Lloh27:
adrp x19, _total_unicast_packets_received@GOTPAGE
Lloh28:
ldr x19, [x19, _total_unicast_packets_received@GOTPAGEOFF]
ldr w1, [x19]
bl _UPDATE_EXTEND_TSTAT
Lloh29:
adrp x8, _rcv_mcast_pkts@GOTPAGE
Lloh30:
ldr x8, [x8, _rcv_mcast_pkts@GOTPAGEOFF]
Lloh31:
ldr w0, [x8]
ldr w1, [x27]
bl _UPDATE_EXTEND_TSTAT
Lloh32:
adrp x8, _rcv_bcast_pkts@GOTPAGE
Lloh33:
ldr x8, [x8, _rcv_bcast_pkts@GOTPAGEOFF]
Lloh34:
ldr w0, [x8]
ldr w1, [x22]
bl _UPDATE_EXTEND_TSTAT
Lloh35:
adrp x8, _pkts_too_big_discard@GOTPAGE
Lloh36:
ldr x8, [x8, _pkts_too_big_discard@GOTPAGEOFF]
Lloh37:
ldr w0, [x8]
Lloh38:
adrp x8, _etherstatsoverrsizepkts@GOTPAGE
Lloh39:
ldr x8, [x8, _etherstatsoverrsizepkts@GOTPAGEOFF]
Lloh40:
ldr w1, [x8]
mov w2, #32
bl _UPDATE_EXTEND_E_TSTAT
Lloh41:
adrp x28, _no_buff_discard@GOTPAGE
Lloh42:
ldr x28, [x28, _no_buff_discard@GOTPAGEOFF]
ldr w0, [x28]
mov x1, x0
mov w2, #16
bl _UPDATE_EXTEND_E_TSTAT
ldr w0, [x26]
ldr w1, [x19]
bl _SUB_EXTEND_USTAT
Lloh43:
adrp x23, _mcast_no_buff_pkts@GOTPAGE
Lloh44:
ldr x23, [x23, _mcast_no_buff_pkts@GOTPAGEOFF]
ldr w0, [x23]
ldr w1, [x27]
bl _SUB_EXTEND_USTAT
Lloh45:
adrp x20, _bcast_no_buff_pkts@GOTPAGE
Lloh46:
ldr x20, [x20, _bcast_no_buff_pkts@GOTPAGEOFF]
ldr w0, [x20]
ldr w1, [x22]
bl _SUB_EXTEND_USTAT
ldr w0, [x26]
ldr w1, [x28]
bl _UPDATE_EXTEND_E_USTAT
ldr w0, [x23]
ldr w1, [x28]
bl _UPDATE_EXTEND_E_USTAT
ldr w0, [x20]
ldr w1, [x28]
bl _UPDATE_EXTEND_E_USTAT
ldur w0, [x25, #-12]
Lloh47:
adrp x8, _total_broadcast_bytes_transmitted@GOTPAGE
Lloh48:
ldr x8, [x8, _total_broadcast_bytes_transmitted@GOTPAGEOFF]
Lloh49:
ldr w1, [x8]
bl _UPDATE_QSTAT
ldur w0, [x25, #-16]
Lloh50:
adrp x8, _total_multicast_bytes_transmitted@GOTPAGE
Lloh51:
ldr x8, [x8, _total_multicast_bytes_transmitted@GOTPAGEOFF]
Lloh52:
ldr w1, [x8]
bl _UPDATE_QSTAT
ldur w0, [x25, #-20]
Lloh53:
adrp x8, _total_unicast_bytes_transmitted@GOTPAGE
Lloh54:
ldr x8, [x8, _total_unicast_bytes_transmitted@GOTPAGEOFF]
Lloh55:
ldr w1, [x8]
bl _UPDATE_QSTAT
ldp x2, x0, [x21, #-72]
stur x0, [x21, #-88]
stur x2, [x21, #-104]
ldp w3, w1, [x21, #-80]
bl _ADD_64
ldur x0, [x21, #-88]
ldur w1, [x21, #-96]
ldur x2, [x21, #-104]
ldur w3, [x21, #-112]
bl _ADD_64
Lloh56:
adrp x8, _ucast_pkts_sent@GOTPAGE
Lloh57:
ldr x8, [x8, _ucast_pkts_sent@GOTPAGEOFF]
Lloh58:
ldr w0, [x8]
Lloh59:
adrp x20, _total_unicast_packets_transmitted@GOTPAGE
Lloh60:
ldr x20, [x20, _total_unicast_packets_transmitted@GOTPAGEOFF]
ldr w1, [x20]
bl _UPDATE_EXTEND_XSTAT
Lloh61:
adrp x8, _mcast_pkts_sent@GOTPAGE
Lloh62:
ldr x8, [x8, _mcast_pkts_sent@GOTPAGEOFF]
Lloh63:
ldr w0, [x8]
Lloh64:
adrp x21, _total_multicast_packets_transmitted@GOTPAGE
Lloh65:
ldr x21, [x21, _total_multicast_packets_transmitted@GOTPAGEOFF]
ldr w1, [x21]
bl _UPDATE_EXTEND_XSTAT
Lloh66:
adrp x8, _bcast_pkts_sent@GOTPAGE
Lloh67:
ldr x8, [x8, _bcast_pkts_sent@GOTPAGEOFF]
Lloh68:
ldr w0, [x8]
Lloh69:
adrp x23, _total_broadcast_packets_transmitted@GOTPAGE
Lloh70:
ldr x23, [x23, _total_broadcast_packets_transmitted@GOTPAGEOFF]
ldr w1, [x23]
bl _UPDATE_EXTEND_XSTAT
Lloh71:
adrp x8, _checksum_discard@GOTPAGE
Lloh72:
ldr x8, [x8, _checksum_discard@GOTPAGEOFF]
Lloh73:
ldr w0, [x8]
Lloh74:
adrp x8, _total_packets_received_checksum_discarded@GOTPAGE
Lloh75:
ldr x8, [x8, _total_packets_received_checksum_discarded@GOTPAGEOFF]
Lloh76:
ldr w1, [x8]
bl _UPDATE_EXTEND_TSTAT
Lloh77:
adrp x8, _ttl0_discard@GOTPAGE
Lloh78:
ldr x8, [x8, _ttl0_discard@GOTPAGEOFF]
Lloh79:
ldr w0, [x8]
Lloh80:
adrp x8, _total_packets_received_ttl0_discarded@GOTPAGE
Lloh81:
ldr x8, [x8, _total_packets_received_ttl0_discarded@GOTPAGEOFF]
Lloh82:
ldr w1, [x8]
bl _UPDATE_EXTEND_TSTAT
Lloh83:
adrp x8, _error_drop_pkts@GOTPAGE
Lloh84:
ldr x8, [x8, _error_drop_pkts@GOTPAGEOFF]
Lloh85:
ldr w0, [x8]
Lloh86:
adrp x8, _total_transmitted_dropped_packets_error@GOTPAGE
Lloh87:
ldr x8, [x8, _total_transmitted_dropped_packets_error@GOTPAGEOFF]
Lloh88:
ldr w1, [x8]
bl _UPDATE_EXTEND_XSTAT
Lloh89:
adrp x8, _coalesced_events@GOTPAGE
Lloh90:
ldr x8, [x8, _coalesced_events@GOTPAGEOFF]
Lloh91:
ldr w0, [x8]
Lloh92:
adrp x8, _total_tpa_aggregations@GOTPAGE
Lloh93:
ldr x8, [x8, _total_tpa_aggregations@GOTPAGEOFF]
Lloh94:
ldr w1, [x8]
bl _UPDATE_EXTEND_E_USTAT
Lloh95:
adrp x8, _coalesced_pkts@GOTPAGE
Lloh96:
ldr x8, [x8, _coalesced_pkts@GOTPAGEOFF]
Lloh97:
ldr w0, [x8]
Lloh98:
adrp x8, _total_tpa_aggregated_frames@GOTPAGE
Lloh99:
ldr x8, [x8, _total_tpa_aggregated_frames@GOTPAGEOFF]
Lloh100:
ldr w1, [x8]
bl _UPDATE_EXTEND_E_USTAT
ldr w0, [x25, #4]
Lloh101:
adrp x25, _total_tpa_bytes@GOTPAGE
Lloh102:
ldr x25, [x25, _total_tpa_bytes@GOTPAGEOFF]
ldr w1, [x25]
bl _UPDATE_QSTAT
ldr w0, [x25]
bl _UPDATE_ESTAT_QSTAT_64
Lloh103:
adrp x8, _total_bytes_received@GOTPAGE
Lloh104:
ldr x8, [x8, _total_bytes_received@GOTPAGEOFF]
Lloh105:
ldr w0, [x8]
bl _UPDATE_FSTAT_QSTAT
Lloh106:
adrp x8, _total_bytes_transmitted@GOTPAGE
Lloh107:
ldr x8, [x8, _total_bytes_transmitted@GOTPAGEOFF]
Lloh108:
ldr w0, [x8]
bl _UPDATE_FSTAT_QSTAT
ldr w0, [x19]
ldr x19, [sp, #40] ; 8-byte Folded Reload
bl _UPDATE_FSTAT_QSTAT
ldr w0, [x27]
bl _UPDATE_FSTAT_QSTAT
ldr w0, [x22]
bl _UPDATE_FSTAT_QSTAT
ldr w0, [x20]
ldr x20, [sp, #48] ; 8-byte Folded Reload
bl _UPDATE_FSTAT_QSTAT
ldr w0, [x21]
bl _UPDATE_FSTAT_QSTAT
ldr w0, [x23]
bl _UPDATE_FSTAT_QSTAT
Lloh109:
adrp x8, _valid_bytes_received@GOTPAGE
Lloh110:
ldr x8, [x8, _valid_bytes_received@GOTPAGEOFF]
Lloh111:
ldr w0, [x8]
bl _UPDATE_FSTAT_QSTAT
ldr x10, [sp, #56] ; 8-byte Folded Reload
add x24, x24, #1
ldrsw x8, [x19]
add x10, x10, #40
add x20, x20, #168
cmp x24, x8
b.lt LBB0_5
LBB0_6:
ldr w1, [x19, #72]
ldp x2, x0, [x19, #88]
ldr w3, [x19, #56]
bl _ADD_64
ldp x2, x0, [x19, #88]
ldr x20, [sp, #32] ; 8-byte Folded Reload
ldp w3, w1, [x20, #8]
bl _ADD_64_LE
ldr x0, [x19, #80]
ldr x2, [x19, #64]
ldp w3, w1, [x20, #8]
bl _ADD_64_LE
Lloh112:
adrp x8, _etherstatsoverrsizepkts@GOTPAGE
Lloh113:
ldr x8, [x8, _etherstatsoverrsizepkts@GOTPAGEOFF]
Lloh114:
ldr w0, [x8]
Lloh115:
adrp x8, _rx_stat_dot3statsframestoolong@GOTPAGE
Lloh116:
ldr x8, [x8, _rx_stat_dot3statsframestoolong@GOTPAGEOFF]
Lloh117:
ldr w1, [x8]
bl _UPDATE_ESTAT
ldr x0, [x19, #80]
ldr w1, [x19, #72]
ldr x2, [x19, #64]
ldr w3, [x19, #56]
bl _ADD_64
ldr x8, [x19, #24]
cbz x8, LBB0_8
; %bb.7:
Lloh118:
adrp x8, _mac_filter_discard@GOTPAGE
Lloh119:
ldr x8, [x8, _mac_filter_discard@GOTPAGEOFF]
Lloh120:
ldr w0, [x8]
bl _UPDATE_FW_STAT
Lloh121:
adrp x8, _mf_tag_discard@GOTPAGE
Lloh122:
ldr x8, [x8, _mf_tag_discard@GOTPAGEOFF]
Lloh123:
ldr w0, [x8]
bl _UPDATE_FW_STAT
Lloh124:
adrp x8, _brb_truncate_discard@GOTPAGE
Lloh125:
ldr x8, [x8, _brb_truncate_discard@GOTPAGEOFF]
Lloh126:
ldr w0, [x8]
bl _UPDATE_FW_STAT
Lloh127:
adrp x8, _mac_discard@GOTPAGE
Lloh128:
ldr x8, [x8, _mac_discard@GOTPAGEOFF]
Lloh129:
ldr w0, [x8]
bl _UPDATE_FW_STAT
LBB0_8:
mov w0, #0
ldr x8, [x19, #104]
add x8, x8, #1
stp x8, x8, [x19, #104]
str xzr, [x19, #8]
LBB0_9:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh109, Lloh110, Lloh111
.loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108
.loh AdrpLdrGotLdr Lloh103, Lloh104, Lloh105
.loh AdrpLdrGot Lloh101, Lloh102
.loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100
.loh AdrpLdrGotLdr Lloh95, Lloh96, Lloh97
.loh AdrpLdrGotLdr Lloh92, Lloh93, Lloh94
.loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91
.loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88
.loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85
.loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82
.loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73
.loh AdrpLdrGot Lloh69, Lloh70
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGot Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpLdrGot Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGot Lloh45, Lloh46
.loh AdrpLdrGot Lloh43, Lloh44
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh115, Lloh116, Lloh117
.loh AdrpLdrGotLdr Lloh112, Lloh113, Lloh114
.loh AdrpLdrGotLdr Lloh127, Lloh128, Lloh129
.loh AdrpLdrGotLdr Lloh124, Lloh125, Lloh126
.loh AdrpLdrGotLdr Lloh121, Lloh122, Lloh123
.loh AdrpLdrGotLdr Lloh118, Lloh119, Lloh120
.cfi_endproc
; -- End function
.comm _EAGAIN,4,2 ; @EAGAIN
.comm _DBG_STATS,4,2 ; @DBG_STATS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "queue[%d]: ucast_sent 0x%x bcast_sent 0x%x mcast_sent 0x%x\n"
l_.str.1: ; @.str.1
.asciz "---------------\n"
.comm _total_broadcast_bytes_received,4,2 ; @total_broadcast_bytes_received
.comm _total_multicast_bytes_received,4,2 ; @total_multicast_bytes_received
.comm _total_unicast_bytes_received,4,2 ; @total_unicast_bytes_received
.comm _rcv_ucast_pkts,4,2 ; @rcv_ucast_pkts
.comm _total_unicast_packets_received,4,2 ; @total_unicast_packets_received
.comm _rcv_mcast_pkts,4,2 ; @rcv_mcast_pkts
.comm _total_multicast_packets_received,4,2 ; @total_multicast_packets_received
.comm _rcv_bcast_pkts,4,2 ; @rcv_bcast_pkts
.comm _total_broadcast_packets_received,4,2 ; @total_broadcast_packets_received
.comm _pkts_too_big_discard,4,2 ; @pkts_too_big_discard
.comm _etherstatsoverrsizepkts,4,2 ; @etherstatsoverrsizepkts
.comm _no_buff_discard,4,2 ; @no_buff_discard
.comm _ucast_no_buff_pkts,4,2 ; @ucast_no_buff_pkts
.comm _mcast_no_buff_pkts,4,2 ; @mcast_no_buff_pkts
.comm _bcast_no_buff_pkts,4,2 ; @bcast_no_buff_pkts
.comm _total_broadcast_bytes_transmitted,4,2 ; @total_broadcast_bytes_transmitted
.comm _total_multicast_bytes_transmitted,4,2 ; @total_multicast_bytes_transmitted
.comm _total_unicast_bytes_transmitted,4,2 ; @total_unicast_bytes_transmitted
.comm _ucast_pkts_sent,4,2 ; @ucast_pkts_sent
.comm _total_unicast_packets_transmitted,4,2 ; @total_unicast_packets_transmitted
.comm _mcast_pkts_sent,4,2 ; @mcast_pkts_sent
.comm _total_multicast_packets_transmitted,4,2 ; @total_multicast_packets_transmitted
.comm _bcast_pkts_sent,4,2 ; @bcast_pkts_sent
.comm _total_broadcast_packets_transmitted,4,2 ; @total_broadcast_packets_transmitted
.comm _checksum_discard,4,2 ; @checksum_discard
.comm _total_packets_received_checksum_discarded,4,2 ; @total_packets_received_checksum_discarded
.comm _ttl0_discard,4,2 ; @ttl0_discard
.comm _total_packets_received_ttl0_discarded,4,2 ; @total_packets_received_ttl0_discarded
.comm _error_drop_pkts,4,2 ; @error_drop_pkts
.comm _total_transmitted_dropped_packets_error,4,2 ; @total_transmitted_dropped_packets_error
.comm _coalesced_events,4,2 ; @coalesced_events
.comm _total_tpa_aggregations,4,2 ; @total_tpa_aggregations
.comm _coalesced_pkts,4,2 ; @coalesced_pkts
.comm _total_tpa_aggregated_frames,4,2 ; @total_tpa_aggregated_frames
.comm _total_tpa_bytes,4,2 ; @total_tpa_bytes
.comm _total_bytes_received,4,2 ; @total_bytes_received
.comm _total_bytes_transmitted,4,2 ; @total_bytes_transmitted
.comm _valid_bytes_received,4,2 ; @valid_bytes_received
.comm _rx_stat_dot3statsframestoolong,4,2 ; @rx_stat_dot3statsframestoolong
.comm _mac_filter_discard,4,2 ; @mac_filter_discard
.comm _mf_tag_discard,4,2 ; @mf_tag_discard
.comm _brb_truncate_discard,4,2 ; @brb_truncate_discard
.comm _mac_discard,4,2 ; @mac_discard
.no_dead_strip _bxe_storm_stats_update
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/bxe/extr_bxe_stats.c_bxe_storm_stats_update.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ngx_rtmp_eval_streams ## -- Begin function ngx_rtmp_eval_streams
.p2align 4, 0x90
_ngx_rtmp_eval_streams: ## @ngx_rtmp_eval_streams
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %r13
xorl %r14d, %r14d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movsbl (%r13,%r14), %eax
leal -48(%rax), %ecx
decq %rbx
incq %r14
cmpb $10, %cl
jb LBB0_1
## %bb.2:
movq %r13, %r12
subq %rbx, %r12
cmpl $60, %eax
je LBB0_10
## %bb.3:
cmpl $62, %eax
jne LBB0_15
## %bb.4:
movq %rdi, -48(%rbp) ## 8-byte Spill
cmpq $-1, %rbx
je LBB0_5
## %bb.6:
movl %ebx, %esi
notl %esi
movq %r13, %rdi
callq _ngx_atoi
movslq %eax, %r15
jmp LBB0_7
LBB0_10:
cmpq $-1, %rbx
movq %rdi, -48(%rbp) ## 8-byte Spill
je LBB0_11
## %bb.12:
notl %ebx
movq %r13, %rdi
movl %ebx, %esi
callq _ngx_atoi
movslq %eax, %r15
jmp LBB0_13
LBB0_15:
movq _NGX_DONE@GOTPCREL(%rip), %rax
jmp LBB0_28
LBB0_5:
movl $1, %r15d
LBB0_7:
movq _NGX_ERROR@GOTPCREL(%rip), %rax
cmpq (%rax), %r15
je LBB0_29
## %bb.8:
movb (%r13,%r14), %dl
cmpb $62, %dl
jne LBB0_9
## %bb.16:
subq %rbx, %r13
incq %r13
movq _NGX_FILE_CREATE_OR_OPEN@GOTPCREL(%rip), %rax
movq _NGX_FILE_APPEND@GOTPCREL(%rip), %rcx
movq %r13, %r12
jmp LBB0_17
LBB0_11:
xorl %r15d, %r15d
LBB0_13:
movq _NGX_ERROR@GOTPCREL(%rip), %rax
cmpq (%rax), %r15
je LBB0_29
## %bb.14:
movq _NGX_FILE_OPEN@GOTPCREL(%rip), %rax
movq _NGX_FILE_RDONLY@GOTPCREL(%rip), %rcx
LBB0_17:
movb (%r12), %dl
cmpb $38, %dl
jne LBB0_21
LBB0_19:
incq %r12
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
addl 8(%rax), %esi
subl %r12d, %esi
movq %r12, %rdi
callq _ngx_atoi
movslq %eax, %rdi
movq _NGX_ERROR@GOTPCREL(%rip), %rax
cmpq %rdi, (%rax)
jne LBB0_25
## %bb.20:
movq %rdi, %r15
jmp LBB0_29
LBB0_9:
movq _NGX_FILE_TRUNCATE@GOTPCREL(%rip), %rax
movq _NGX_FILE_WRONLY@GOTPCREL(%rip), %rcx
cmpb $38, %dl
je LBB0_19
LBB0_21:
movq (%rax), %rdx
movq (%rcx), %rsi
movq _NGX_FILE_DEFAULT_ACCESS@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdi
callq _ngx_open_file
movq %rax, %rbx
movq _NGX_INVALID_FILE@GOTPCREL(%rip), %rax
cmpq (%rax), %rbx
jne LBB0_23
## %bb.22:
movq _NGX_ERROR@GOTPCREL(%rip), %rax
jmp LBB0_28
LBB0_25:
cmpq %rdi, %r15
je LBB0_27
## %bb.26:
movq %r15, %rsi
callq _dup2
jmp LBB0_27
LBB0_23:
cmpq %r15, %rbx
je LBB0_27
## %bb.24:
movq %rbx, %rdi
movq %r15, %rsi
callq _dup2
movq %rbx, %rdi
callq _ngx_close_file
LBB0_27:
movq _NGX_OK@GOTPCREL(%rip), %rax
LBB0_28:
movq (%rax), %r15
LBB0_29:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NGX_ERROR,8,3 ## @NGX_ERROR
.comm _NGX_FILE_WRONLY,8,3 ## @NGX_FILE_WRONLY
.comm _NGX_FILE_TRUNCATE,8,3 ## @NGX_FILE_TRUNCATE
.comm _NGX_FILE_APPEND,8,3 ## @NGX_FILE_APPEND
.comm _NGX_FILE_CREATE_OR_OPEN,8,3 ## @NGX_FILE_CREATE_OR_OPEN
.comm _NGX_FILE_RDONLY,8,3 ## @NGX_FILE_RDONLY
.comm _NGX_FILE_OPEN,8,3 ## @NGX_FILE_OPEN
.comm _NGX_DONE,8,3 ## @NGX_DONE
.comm _NGX_FILE_DEFAULT_ACCESS,4,2 ## @NGX_FILE_DEFAULT_ACCESS
.comm _NGX_INVALID_FILE,8,3 ## @NGX_INVALID_FILE
.comm _NGX_OK,8,3 ## @NGX_OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ngx_rtmp_eval_streams ; -- Begin function ngx_rtmp_eval_streams
.p2align 2
_ngx_rtmp_eval_streams: ; @ngx_rtmp_eval_streams
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
mov x23, #0
ldr x22, [x0]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsb w8, [x22, x23]
sub w9, w8, #48
add x23, x23, #1
cmp w9, #10
b.lo LBB0_1
; %bb.2:
add x21, x22, x23
cmp w8, #60
b.eq LBB0_6
; %bb.3:
cmp w8, #62
b.ne LBB0_8
; %bb.4:
cmp x23, #1
b.eq LBB0_9
; %bb.5:
sub w1, w23, #1
mov x0, x22
bl _ngx_atoi
; kill: def $w0 killed $w0 def $x0
sxtw x19, w0
b LBB0_10
LBB0_6:
cmp x23, #1
b.eq LBB0_13
; %bb.7:
sub w1, w23, #1
mov x0, x22
bl _ngx_atoi
; kill: def $w0 killed $w0 def $x0
sxtw x19, w0
b LBB0_14
LBB0_8:
Lloh0:
adrp x8, _NGX_DONE@GOTPAGE
Lloh1:
ldr x8, [x8, _NGX_DONE@GOTPAGEOFF]
b LBB0_27
LBB0_9:
mov w19, #1
LBB0_10:
Lloh2:
adrp x8, _NGX_ERROR@GOTPAGE
Lloh3:
ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
cmp x19, x8
b.eq LBB0_28
; %bb.11:
ldrb w10, [x21]
cmp w10, #62
b.ne LBB0_19
; %bb.12:
add x8, x22, x23
add x21, x8, #1
Lloh5:
adrp x8, _NGX_FILE_CREATE_OR_OPEN@GOTPAGE
Lloh6:
ldr x8, [x8, _NGX_FILE_CREATE_OR_OPEN@GOTPAGEOFF]
Lloh7:
adrp x9, _NGX_FILE_APPEND@GOTPAGE
Lloh8:
ldr x9, [x9, _NGX_FILE_APPEND@GOTPAGEOFF]
b LBB0_16
LBB0_13:
mov x19, #0
LBB0_14:
Lloh9:
adrp x8, _NGX_ERROR@GOTPAGE
Lloh10:
ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cmp x19, x8
b.eq LBB0_28
; %bb.15:
Lloh12:
adrp x8, _NGX_FILE_OPEN@GOTPAGE
Lloh13:
ldr x8, [x8, _NGX_FILE_OPEN@GOTPAGEOFF]
Lloh14:
adrp x9, _NGX_FILE_RDONLY@GOTPAGE
Lloh15:
ldr x9, [x9, _NGX_FILE_RDONLY@GOTPAGEOFF]
LBB0_16:
ldrb w10, [x21]
cmp w10, #38
b.ne LBB0_20
LBB0_17:
add x0, x21, #1
ldr w8, [x20]
ldr w9, [x20, #8]
add w8, w8, w9
sub w1, w8, w0
bl _ngx_atoi
; kill: def $w0 killed $w0 def $x0
sxtw x0, w0
Lloh16:
adrp x8, _NGX_ERROR@GOTPAGE
Lloh17:
ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF]
Lloh18:
ldr x8, [x8]
cmp x8, x0
b.ne LBB0_22
; %bb.18:
mov x19, x0
b LBB0_28
LBB0_19:
Lloh19:
adrp x8, _NGX_FILE_TRUNCATE@GOTPAGE
Lloh20:
ldr x8, [x8, _NGX_FILE_TRUNCATE@GOTPAGEOFF]
Lloh21:
adrp x9, _NGX_FILE_WRONLY@GOTPAGE
Lloh22:
ldr x9, [x9, _NGX_FILE_WRONLY@GOTPAGEOFF]
cmp w10, #38
b.eq LBB0_17
LBB0_20:
ldr x2, [x8]
ldr x1, [x9]
Lloh23:
adrp x8, _NGX_FILE_DEFAULT_ACCESS@GOTPAGE
Lloh24:
ldr x8, [x8, _NGX_FILE_DEFAULT_ACCESS@GOTPAGEOFF]
Lloh25:
ldr w3, [x8]
mov x0, x21
bl _ngx_open_file
Lloh26:
adrp x8, _NGX_INVALID_FILE@GOTPAGE
Lloh27:
ldr x8, [x8, _NGX_INVALID_FILE@GOTPAGEOFF]
Lloh28:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_24
; %bb.21:
Lloh29:
adrp x8, _NGX_ERROR@GOTPAGE
Lloh30:
ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF]
b LBB0_27
LBB0_22:
cmp x19, x0
b.eq LBB0_26
; %bb.23:
mov x1, x19
bl _dup2
b LBB0_26
LBB0_24:
mov x20, x0
cmp x0, x19
b.eq LBB0_26
; %bb.25:
mov x0, x20
mov x1, x19
bl _dup2
mov x0, x20
bl _ngx_close_file
LBB0_26:
Lloh31:
adrp x8, _NGX_OK@GOTPAGE
Lloh32:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
LBB0_27:
ldr x19, [x8]
LBB0_28:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _NGX_ERROR,8,3 ; @NGX_ERROR
.comm _NGX_FILE_WRONLY,8,3 ; @NGX_FILE_WRONLY
.comm _NGX_FILE_TRUNCATE,8,3 ; @NGX_FILE_TRUNCATE
.comm _NGX_FILE_APPEND,8,3 ; @NGX_FILE_APPEND
.comm _NGX_FILE_CREATE_OR_OPEN,8,3 ; @NGX_FILE_CREATE_OR_OPEN
.comm _NGX_FILE_RDONLY,8,3 ; @NGX_FILE_RDONLY
.comm _NGX_FILE_OPEN,8,3 ; @NGX_FILE_OPEN
.comm _NGX_DONE,8,3 ; @NGX_DONE
.comm _NGX_FILE_DEFAULT_ACCESS,4,2 ; @NGX_FILE_DEFAULT_ACCESS
.comm _NGX_INVALID_FILE,8,3 ; @NGX_INVALID_FILE
.comm _NGX_OK,8,3 ; @NGX_OK
.subsections_via_symbols
| AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_eval.c_ngx_rtmp_eval_streams.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function searchy_make_tag
_searchy_make_tag: ## @searchy_make_tag
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %ebx
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
xorl %edi, %edi
cmpl $17, %esi
setl %dil
callq _assert
movb $31, -64(%rbp)
leaq -63(%rbp), %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _memcpy
leal 1(%rbx), %eax
cmpl $64, %r14d
jb LBB0_4
## %bb.1:
cltq
addq %rbp, %rax
addq $-64, %rax
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r14d, %ecx
movl %ecx, %edx
orb $-128, %dl
movb %dl, (%rax)
shrl $7, %r14d
incl %ebx
incq %rax
cmpl $8191, %ecx ## imm = 0x1FFF
ja LBB0_2
## %bb.3:
leal 1(%rbx), %eax
LBB0_4:
orb $64, %r14b
addl $2, %ebx
cltq
movb %r14b, -64(%rbp,%rax)
leaq -64(%rbp), %rdi
movl %ebx, %esi
callq _searchy_word_hash
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -32(%rbp), %rcx
jne LBB0_6
## %bb.5:
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.no_dead_strip _searchy_make_tag
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function searchy_make_tag
_searchy_make_tag: ; @searchy_make_tag
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x19, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
cmp w1, #17
cset w0, lt
bl _assert
mov w8, #31 ; =0x1f
strb w8, [sp, #8]
add x22, sp, #8
add x0, x22, #1
mov x1, x21
mov x2, x19
bl _memcpy
add w8, w19, #1
cmp w20, #64
b.lo LBB0_4
; %bb.1:
add x8, x22, w8, sxtw
LBB0_2: ; =>This Inner Loop Header: Depth=1
orr w9, w20, #0x80
strb w9, [x8], #1
lsr w9, w20, #13
lsr w20, w20, #7
add w19, w19, #1
cbnz w9, LBB0_2
; %bb.3:
add w8, w19, #1
LBB0_4:
orr w9, w20, #0x40
strb w9, [x22, w8, sxtw]
add x0, sp, #8
add w1, w19, #2
bl _searchy_word_hash
ldr x8, [sp, #40]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_6
; %bb.5:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_6:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.no_dead_strip _searchy_make_tag
.subsections_via_symbols
| assembly_file_144027.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DoDriverArgs ## -- Begin function DoDriverArgs
.p2align 4, 0x90
_DoDriverArgs: ## @DoDriverArgs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm __fshack,8,3 ## @_fshack
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DoDriverArgs ; -- Begin function DoDriverArgs
.p2align 2
_DoDriverArgs: ; @DoDriverArgs
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.comm __fshack,8,3 ; @_fshack
.subsections_via_symbols
| AnghaBench/Provenance/Cores/FCEU/FCEU/~attic/pc/extr_sdl.c_DoDriverArgs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mlxsw_sp_set_features
_mlxsw_sp_set_features: ## @mlxsw_sp_set_features
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
movl (%rdi), %r12d
movq _NETIF_F_HW_TC@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _mlxsw_sp_feature_hw_tc@GOTPCREL(%rip), %rax
movl (%rax), %ecx
callq _mlxsw_sp_handle_feature
movl %eax, %r15d
movq _NETIF_F_LOOPBACK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _mlxsw_sp_feature_loopback@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rbx, %rdi
movl %r14d, %esi
callq _mlxsw_sp_handle_feature
orl %r15d, %eax
je LBB0_1
## %bb.2:
movl %r12d, (%rbx)
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NETIF_F_HW_TC,4,2 ## @NETIF_F_HW_TC
.comm _mlxsw_sp_feature_hw_tc,4,2 ## @mlxsw_sp_feature_hw_tc
.comm _NETIF_F_LOOPBACK,4,2 ## @NETIF_F_LOOPBACK
.comm _mlxsw_sp_feature_loopback,4,2 ## @mlxsw_sp_feature_loopback
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _mlxsw_sp_set_features
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mlxsw_sp_set_features
_mlxsw_sp_set_features: ; @mlxsw_sp_set_features
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
ldr w22, [x0]
Lloh0:
adrp x8, _NETIF_F_HW_TC@GOTPAGE
Lloh1:
ldr x8, [x8, _NETIF_F_HW_TC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x8, _mlxsw_sp_feature_hw_tc@GOTPAGE
Lloh4:
ldr x8, [x8, _mlxsw_sp_feature_hw_tc@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
bl _mlxsw_sp_handle_feature
mov x21, x0
Lloh6:
adrp x8, _NETIF_F_LOOPBACK@GOTPAGE
Lloh7:
ldr x8, [x8, _NETIF_F_LOOPBACK@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
Lloh9:
adrp x8, _mlxsw_sp_feature_loopback@GOTPAGE
Lloh10:
ldr x8, [x8, _mlxsw_sp_feature_loopback@GOTPAGEOFF]
Lloh11:
ldr w3, [x8]
mov x0, x19
mov x1, x20
bl _mlxsw_sp_handle_feature
orr w8, w0, w21
cbz w8, LBB0_2
; %bb.1:
str w22, [x19]
Lloh12:
adrp x8, _EINVAL@GOTPAGE
Lloh13:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
neg w0, w8
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _NETIF_F_HW_TC,4,2 ; @NETIF_F_HW_TC
.comm _mlxsw_sp_feature_hw_tc,4,2 ; @mlxsw_sp_feature_hw_tc
.comm _NETIF_F_LOOPBACK,4,2 ; @NETIF_F_LOOPBACK
.comm _mlxsw_sp_feature_loopback,4,2 ; @mlxsw_sp_feature_loopback
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _mlxsw_sp_set_features
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum.c_mlxsw_sp_set_features.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function read_png
_read_png: ## @read_png
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movl %esi, %r12d
movq %rdi, %r15
movq _PNG_LIBPNG_VER_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _no_warnings@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %ebx, %ebx
movl %ebx, %esi
movl %ebx, %edx
callq _png_create_read_struct
movq %rax, -56(%rbp)
movq $0, -48(%rbp)
testq %rax, %rax
je LBB0_9
## %bb.1:
movq %rax, %rbx
movq %rax, %rdi
callq _png_jmpbuf
movl %eax, %edi
callq _setjmp
xorl %ecx, %ecx
testq %rax, %rax
jne LBB0_8
## %bb.2:
movq %rbx, %rdi
movq %r15, %rsi
callq _png_init_io
movq %rbx, %rdi
callq _png_create_info_struct
movq %rax, %r13
movq %rax, -48(%rbp)
testq %rax, %rax
je LBB0_3
## %bb.4:
testl %r12d, %r12d
js LBB0_5
LBB0_6:
xorl %eax, %eax
movl %eax, %ecx
movq %rbx, %rdi
movq %r13, %rsi
movl %r12d, %edx
callq _png_read_png
jmp LBB0_7
LBB0_3:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _png_error
testl %r12d, %r12d
jns LBB0_6
LBB0_5:
movq %rbx, %rdi
movq %r13, %rsi
movq %r14, %rdx
movq %r15, %rcx
callq _read_by_row
LBB0_7:
movl $1, %ecx
LBB0_8:
movl %ecx, %ebx
xorl %eax, %eax
movl %eax, %edx
leaq -56(%rbp), %rdi
leaq -48(%rbp), %rsi
callq _png_destroy_read_struct
LBB0_9:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PNG_LIBPNG_VER_STRING,4,2 ## @PNG_LIBPNG_VER_STRING
.comm _no_warnings,4,2 ## @no_warnings
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "OOM allocating info structure"
.no_dead_strip _read_png
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function read_png
_read_png: ; @read_png
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
mov x19, x1
mov x21, x0
Lloh0:
adrp x8, _PNG_LIBPNG_VER_STRING@GOTPAGE
Lloh1:
ldr x8, [x8, _PNG_LIBPNG_VER_STRING@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _no_warnings@GOTPAGE
Lloh4:
ldr x8, [x8, _no_warnings@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
mov w22, #0
mov w1, #0
mov w2, #0
bl _png_create_read_struct
mov x8, #0
stp xzr, x0, [sp]
cbz x0, LBB0_3
; %bb.1:
mov x22, x0
bl _png_jmpbuf
bl _setjmp
cbz x0, LBB0_4
; %bb.2:
mov w0, #0
b LBB0_10
LBB0_3:
mov x0, x22
b LBB0_11
LBB0_4:
mov x0, x22
mov x1, x21
bl _png_init_io
mov x0, x22
bl _png_create_info_struct
mov x23, x0
str x0, [sp]
cbz x0, LBB0_7
; %bb.5:
tbnz w19, #31, LBB0_8
LBB0_6:
mov x3, #0
mov x0, x22
mov x1, x23
mov x2, x19
bl _png_read_png
b LBB0_9
LBB0_7:
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x0, x22
bl _png_error
tbz w19, #31, LBB0_6
LBB0_8:
mov x0, x22
mov x1, x23
mov x2, x20
mov x3, x21
bl _read_by_row
LBB0_9:
mov w0, #1
LBB0_10:
mov x19, x0
mov x2, #0
add x0, sp, #8
mov x1, sp
bl _png_destroy_read_struct
mov x0, x19
LBB0_11:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _PNG_LIBPNG_VER_STRING,4,2 ; @PNG_LIBPNG_VER_STRING
.comm _no_warnings,4,2 ; @no_warnings
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "OOM allocating info structure"
.no_dead_strip _read_png
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_timepng.c_read_png.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function attrcopy
_attrcopy: ## @attrcopy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
leaq -36(%rbp), %r15
movq %r15, %rsi
callq __pthread_attr_getschedpolicy
movl -36(%rbp), %esi
movq %r14, %rdi
callq __pthread_attr_setschedpolicy
movq %rbx, %rdi
movq %r15, %rsi
callq __pthread_attr_getinheritsched
movl -36(%rbp), %esi
movq %r14, %rdi
callq __pthread_attr_setinheritsched
leaq -64(%rbp), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq __pthread_attr_getschedparam
movq %r14, %rdi
movq %r12, %rsi
callq __pthread_attr_setschedparam
movq %rbx, %rdi
movq %r15, %rsi
callq __pthread_attr_getscope
movl -36(%rbp), %esi
movq %r14, %rdi
callq __pthread_attr_setscope
leaq -48(%rbp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq __pthread_attr_getstacksize
movq -48(%rbp), %rsi
movq %r14, %rdi
callq __pthread_attr_setstacksize
leaq -56(%rbp), %rsi
movq %rbx, %rdi
callq __pthread_attr_getstackaddr
movq -56(%rbp), %rsi
movq %rbx, %rdi
callq __pthread_attr_setstackaddr
movq %rbx, %rdi
movq %r15, %rsi
callq __pthread_attr_getguardsize
movq -48(%rbp), %rsi
movq %r14, %rdi
callq __pthread_attr_setguardsize
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _attrcopy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function attrcopy
_attrcopy: ; @attrcopy
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
add x1, sp, #4
bl __pthread_attr_getschedpolicy
ldr w1, [sp, #4]
mov x0, x19
bl __pthread_attr_setschedpolicy
add x1, sp, #4
mov x0, x20
bl __pthread_attr_getinheritsched
ldr w1, [sp, #4]
mov x0, x19
bl __pthread_attr_setinheritsched
add x1, sp, #24
mov x0, x20
bl __pthread_attr_getschedparam
add x1, sp, #24
mov x0, x19
bl __pthread_attr_setschedparam
add x1, sp, #4
mov x0, x20
bl __pthread_attr_getscope
ldr w1, [sp, #4]
mov x0, x19
bl __pthread_attr_setscope
add x1, sp, #8
mov x0, x20
bl __pthread_attr_getstacksize
ldr x1, [sp, #8]
mov x0, x19
bl __pthread_attr_setstacksize
add x1, sp, #16
mov x0, x20
bl __pthread_attr_getstackaddr
ldr x1, [sp, #16]
mov x0, x20
bl __pthread_attr_setstackaddr
add x1, sp, #8
mov x0, x20
bl __pthread_attr_getguardsize
ldr x1, [sp, #8]
mov x0, x19
bl __pthread_attr_setguardsize
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.no_dead_strip _attrcopy
.subsections_via_symbols
| AnghaBench/freebsd/lib/librt/extr_sigev_thread.c_attrcopy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rx
_rx: ## @rx
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movq %rdx, -72(%rbp) ## 8-byte Spill
movl %esi, -48(%rbp) ## 4-byte Spill
movq %rdi, %r14
callq _netdev_priv
movq %rax, -64(%rbp) ## 8-byte Spill
movq _D_DURING@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rdx
movq %r14, %rsi
movl %r12d, %ecx
callq _arc_printk
movq _MinTU@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
cmpl %r12d, (%rax)
setle -41(%rbp) ## 1-byte Folded Spill
movslq %r12d, %r13
movq _ARC_HDR_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq %r13, %rdi
movq _GFP_ATOMIC@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _alloc_skb
testq %rax, %rax
je LBB0_6
## %bb.1:
movq %rax, %rbx
movq _ARC_HDR_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq %r13, %rsi
movq %rbx, %rdi
callq _skb_put
movq %r14, 16(%rbx)
movq 8(%rbx), %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
movq -72(%rbp), %rsi ## 8-byte Reload
movl $8, %edx
callq _memcpy
cmpl $9, %r13d
jb LBB0_3
## %bb.2:
movb -41(%rbp), %al ## 1-byte Reload
movb %al, %r15b
shll $8, %r15d
addl $256, %r15d ## imm = 0x100
subl %r12d, %r15d
addl $8, %r15d
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rcx
addq $8, %rcx
addl $-8, %r12d
movq %r14, %rdi
movl -48(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
movl %r12d, %r8d
movq -64(%rbp), %rax ## 8-byte Reload
callq *(%rax)
LBB0_3:
movq _D_SKB@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _BUGLVL
testq %rax, %rax
je LBB0_5
## %bb.4:
leaq L_.str.1(%rip), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq _arcnet_dump_skb
LBB0_5:
movq %rbx, %rdi
movq %r14, %rsi
callq _type_trans
movl %eax, (%rbx)
movq %rbx, %rdi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _netif_rx ## TAILCALL
LBB0_6:
incl (%r14)
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _D_DURING,4,2 ## @D_DURING
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "it's a raw packet (length=%d)\n"
.comm _MinTU,4,2 ## @MinTU
.comm _ARC_HDR_SIZE,8,3 ## @ARC_HDR_SIZE
.comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC
.comm _D_SKB,4,2 ## @D_SKB
L_.str.1: ## @.str.1
.asciz "rx"
.no_dead_strip _rx
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rx
_rx: ; @rx
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x3
mov x24, x2
mov x20, x1
mov x19, x0
bl _netdev_priv
mov x23, x0
Lloh0:
adrp x8, _D_DURING@GOTPAGE
Lloh1:
ldr x8, [x8, _D_DURING@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
mov x1, x19
mov x3, x21
bl _arc_printk
Lloh5:
adrp x8, _MinTU@GOTPAGE
Lloh6:
ldr x8, [x8, _MinTU@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
mov w9, #512
mov w10, #256
cmp w8, w21
csel w26, w10, w9, gt
Lloh8:
adrp x27, _ARC_HDR_SIZE@GOTPAGE
Lloh9:
ldr x27, [x27, _ARC_HDR_SIZE@GOTPAGEOFF]
sxtw x25, w21
ldr x8, [x27]
add x0, x8, x25
Lloh10:
adrp x8, _GFP_ATOMIC@GOTPAGE
Lloh11:
ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
bl _alloc_skb
cbz x0, LBB0_6
; %bb.1:
mov x22, x0
ldr x8, [x27]
add x1, x8, x25
bl _skb_put
str x19, [x22, #16]
ldr x25, [x22, #8]
mov x0, x25
mov x1, x24
mov w2, #8
bl _memcpy
cmp w21, #9
b.lo LBB0_3
; %bb.2:
ldr x8, [x23]
sub w9, w26, w21
add w2, w9, #8
ldr x9, [x25]
add x3, x9, #8
sub w4, w21, #8
mov x0, x19
mov x1, x20
blr x8
LBB0_3:
Lloh13:
adrp x8, _D_SKB@GOTPAGE
Lloh14:
ldr x8, [x8, _D_SKB@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
bl _BUGLVL
cbz x0, LBB0_5
; %bb.4:
Lloh16:
adrp x2, l_.str.1@PAGE
Lloh17:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x19
mov x1, x22
bl _arcnet_dump_skb
LBB0_5:
mov x0, x22
mov x1, x19
bl _type_trans
str w0, [x22]
mov x0, x22
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _netif_rx
LBB0_6:
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _D_DURING,4,2 ; @D_DURING
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "it's a raw packet (length=%d)\n"
.comm _MinTU,4,2 ; @MinTU
.comm _ARC_HDR_SIZE,8,3 ; @ARC_HDR_SIZE
.comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC
.comm _D_SKB,4,2 ; @D_SKB
l_.str.1: ; @.str.1
.asciz "rx"
.no_dead_strip _rx
.subsections_via_symbols
| AnghaBench/linux/drivers/net/arcnet/extr_rfc1051.c_rx.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 3 ## -- Begin function UnrollFloatTo16
LCPI0_0:
.quad 0x40847acccccccccd ## double 655.35000000000002
.quad 0x40efffe000000000 ## double 65535
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_UnrollFloatTo16: ## @UnrollFloatTo16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r13d
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %rdx, -96(%rbp) ## 8-byte Spill
movq %rsi, %rbx
movl (%rsi), %edi
callq _T_CHANNELS
movl %eax, %r15d
movl (%rbx), %edi
callq _T_DOSWAP
movl %eax, -52(%rbp) ## 4-byte Spill
movl (%rbx), %edi
callq _T_FLAVOR
movl %eax, -76(%rbp) ## 4-byte Spill
movl (%rbx), %edi
callq _T_SWAPFIRST
movl %eax, -44(%rbp) ## 4-byte Spill
movl (%rbx), %edi
callq _T_EXTRA
movl %eax, -48(%rbp) ## 4-byte Spill
movl (%rbx), %edi
callq _T_PLANAR
movl %eax, -72(%rbp) ## 4-byte Spill
movl (%rbx), %edi
callq _IsInkSpace
xorl %r12d, %r12d
testq %rax, %rax
sete %r14b
movq %rbx, -104(%rbp) ## 8-byte Spill
movl (%rbx), %edi
callq _PixelSize
movq %r15, -64(%rbp) ## 8-byte Spill
testl %r15d, %r15d
jle LBB0_5
## %bb.1:
movl %eax, %ecx
movb %r14b, %r12b
leaq LCPI0_0(%rip), %rax
movsd (%rax,%r12,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -112(%rbp) ## 8-byte Spill
movl %r13d, %edx
xorl %r13d, %r13d
movl -44(%rbp), %eax ## 4-byte Reload
cmpl %eax, -52(%rbp) ## 4-byte Folded Reload
movl -48(%rbp), %esi ## 4-byte Reload
cmovel %r13d, %esi
movl %edx, %eax
cltd
idivl %ecx
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
movslq %esi, %rcx
movq -64(%rbp), %rsi ## 8-byte Reload
movl %esi, %edx
movq %rdx, -72(%rbp) ## 8-byte Spill
movl $1, %edx
cmovnel %eax, %edx
movslq %edx, %rbx
leal -1(%rsi), %r14d
imulq %rbx, %rcx
movq -88(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rcx,8), %r15
shlq $3, %rbx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movslq %r12d, %rcx
movq -96(%rbp), %rdx ## 8-byte Reload
movl %eax, (%rdx,%rcx,4)
incq %r13
decl %r14d
addq %rbx, %r15
cmpq %r13, -72(%rbp) ## 8-byte Folded Reload
je LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
movl %r13d, %r12d
cmovnel %r14d, %r12d
movsd (%r15), %xmm0 ## xmm0 = mem[0],zero
mulsd -112(%rbp), %xmm0 ## 8-byte Folded Reload
callq __cmsQuickSaturateWord
cmpl $0, -76(%rbp) ## 4-byte Folded Reload
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %edi
callq _REVERSE_FLAVOR_16
jmp LBB0_4
LBB0_5:
movl -48(%rbp), %ebx ## 4-byte Reload
testl %ebx, %ebx
jne LBB0_8
## %bb.6:
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
je LBB0_8
## %bb.7:
movq -96(%rbp), %r12 ## 8-byte Reload
movl (%r12), %r14d
leaq 4(%r12), %rsi
movq -64(%rbp), %rax ## 8-byte Reload
movslq %eax, %r15
leal -4(,%rax,4), %edx
movq %r12, %rdi
callq _memmove
movl %r14d, -4(%r12,%r15,4)
LBB0_8:
movq -104(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
callq _T_PLANAR
addl -64(%rbp), %ebx ## 4-byte Folded Reload
movslq %ebx, %rcx
shlq $3, %rcx
testl %eax, %eax
movl $8, %eax
cmoveq %rcx, %rax
movq -88(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _UnrollFloatTo16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function UnrollFloatTo16
_UnrollFloatTo16: ; @UnrollFloatTo16
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x21, x4
str x3, [sp, #24] ; 8-byte Folded Spill
mov x22, x2
mov x20, x1
ldr w0, [x1]
bl _T_CHANNELS
mov x19, x0
ldr w0, [x20]
bl _T_DOSWAP
mov x24, x0
ldr w0, [x20]
bl _T_FLAVOR
mov x25, x0
ldr w0, [x20]
bl _T_SWAPFIRST
str w0, [sp, #12] ; 4-byte Folded Spill
ldr w0, [x20]
bl _T_EXTRA
str w0, [sp, #16] ; 4-byte Folded Spill
ldr w0, [x20]
bl _T_PLANAR
mov x28, x0
ldr w0, [x20]
bl _IsInkSpace
cmp x0, #0
mov x8, #52429
movk x8, #52428, lsl #16
movk x8, #31436, lsl #32
movk x8, #16516, lsl #48
fmov d0, x8
mov x8, #281337537757184
movk x8, #16623, lsl #48
fmov d1, x8
fcsel d8, d1, d0, eq
ldr w0, [x20]
bl _PixelSize
str w19, [sp, #20] ; 4-byte Folded Spill
subs w8, w19, #1
str w8, [sp, #8] ; 4-byte Folded Spill
b.lt LBB0_5
; %bb.1:
mov x27, #0
ldp w19, w8, [sp, #8] ; 8-byte Folded Reload
cmp w24, w8
ldp w8, w10, [sp, #16] ; 8-byte Folded Reload
csel w8, wzr, w8, eq
sdiv w9, w21, w0
cmp w28, #0
csinc w9, w9, wzr, ne
mov w28, w10
smull x8, w8, w9
ldr x10, [sp, #24] ; 8-byte Folded Reload
add x26, x10, x8, lsl #3
sbfiz x21, x9, #3, #32
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
str w0, [x22, w23, sxtw #2]
add x27, x27, #1
sub w19, w19, #1
add x26, x26, x21
cmp x28, x27
b.eq LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
cmp w24, #0
csel w23, w27, w19, eq
ldr d0, [x26]
fmul d0, d8, d0
bl __cmsQuickSaturateWord
cbz w25, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
bl _REVERSE_FLAVOR_16
b LBB0_2
LBB0_5:
ldr w21, [sp, #16] ; 4-byte Folded Reload
cbnz w21, LBB0_8
; %bb.6:
ldr w8, [sp, #12] ; 4-byte Folded Reload
cbz w8, LBB0_8
; %bb.7:
ldr w19, [x22]
add x1, x22, #4
ldr w23, [sp, #8] ; 4-byte Folded Reload
lsl w2, w23, #2
mov x0, x22
bl _memmove
str w19, [x22, w23, sxtw #2]
LBB0_8:
ldr w0, [x20]
bl _T_PLANAR
ldr w8, [sp, #20] ; 4-byte Folded Reload
add w8, w21, w8
sbfiz x8, x8, #3, #32
cmp w0, #0
mov w9, #8
csel x8, x8, x9, eq
ldr x9, [sp, #24] ; 8-byte Folded Reload
add x0, x9, x8, lsl #2
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.no_dead_strip _UnrollFloatTo16
.subsections_via_symbols
| AnghaBench/sumatrapdf/ext/lcms2/src/extr_cmspack.c_UnrollFloatTo16.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edi, %edi
je LBB0_2
## %bb.1:
popq %rbp
retq
LBB0_2:
popq %rbp
jmp ___VERIFIER_error ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %eax, %eax
callq ___VERIFIER_nondet_int
cmpl _SIZE(%rip), %eax
ja LBB1_23
## %bb.1:
testl %eax, %eax
je LBB1_23
## %bb.2:
xorl %r10d, %r10d
xorl %r13d, %r13d
xorl %r15d, %r15d
xorl %ebx, %ebx
xorl %r8d, %r8d
xorl %r9d, %r9d
xorl %edi, %edi
xorl %r11d, %r11d
xorl %r14d, %r14d
xorl %r12d, %r12d
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB1_3
.p2align 4, 0x90
LBB1_22: ## in Loop: Header=BB1_3 Depth=1
cmpl %edi, %eax
je LBB1_23
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl %edi, %esi
imulq $954437177, %rsi, %rcx ## imm = 0x38E38E39
shrq $33, %rcx
leal (%rcx,%rcx,8), %ecx
cmpl %edi, %ecx
jne LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
incl %r10d
jmp LBB1_20
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_3 Depth=1
testb $7, %dil
je LBB1_6
## %bb.7: ## in Loop: Header=BB1_3 Depth=1
imulq $613566757, %rsi, %rcx ## imm = 0x24924925
shrq $32, %rcx
movl %edi, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $2, %edx
leal (,%rdx,8), %ecx
subl %edx, %ecx
cmpl %edi, %ecx
jne LBB1_9
## %bb.8: ## in Loop: Header=BB1_3 Depth=1
incl %r9d
jmp LBB1_20
LBB1_6: ## in Loop: Header=BB1_3 Depth=1
incl %r13d
jmp LBB1_20
LBB1_9: ## in Loop: Header=BB1_3 Depth=1
movq %rsi, %rcx
movl $2863311531, %edx ## imm = 0xAAAAAAAB
imulq %rdx, %rcx
movq %rcx, %rdx
shrq $34, %rdx
addl %edx, %edx
leal (%rdx,%rdx,2), %edx
cmpl %edi, %edx
jne LBB1_11
## %bb.10: ## in Loop: Header=BB1_3 Depth=1
incl %r8d
jmp LBB1_20
LBB1_11: ## in Loop: Header=BB1_3 Depth=1
movl $3435973837, %edx ## imm = 0xCCCCCCCD
imulq %rdx, %rsi
shrq $34, %rsi
leal (%rsi,%rsi,4), %edx
cmpl %edi, %edx
jne LBB1_13
## %bb.12: ## in Loop: Header=BB1_3 Depth=1
incl %ebx
jmp LBB1_20
LBB1_13: ## in Loop: Header=BB1_3 Depth=1
testb $3, %dil
je LBB1_14
## %bb.15: ## in Loop: Header=BB1_3 Depth=1
shrq $33, %rcx
leal (%rcx,%rcx,2), %ecx
cmpl %edi, %ecx
jne LBB1_17
## %bb.16: ## in Loop: Header=BB1_3 Depth=1
incl %r12d
jmp LBB1_20
LBB1_14: ## in Loop: Header=BB1_3 Depth=1
incl %r15d
jmp LBB1_20
LBB1_17: ## in Loop: Header=BB1_3 Depth=1
testb $1, %dil
jne LBB1_19
## %bb.18: ## in Loop: Header=BB1_3 Depth=1
incl %r11d
jmp LBB1_20
LBB1_19: ## in Loop: Header=BB1_3 Depth=1
incl %r14d
.p2align 4, 0x90
LBB1_20: ## in Loop: Header=BB1_3 Depth=1
incl %edi
leal (%r14,%r12), %ecx
addl %r11d, %ecx
addl %r9d, %ecx
addl %r8d, %ecx
addl %ebx, %ecx
addl %r15d, %ecx
addl %r13d, %ecx
addl %r10d, %ecx
cmpl %ecx, %edi
je LBB1_22
## %bb.21: ## in Loop: Header=BB1_3 Depth=1
movl %r10d, -56(%rbp) ## 4-byte Spill
movq %r14, -72(%rbp) ## 8-byte Spill
movl %r8d, %r14d
movl %r9d, -52(%rbp) ## 4-byte Spill
movq %r12, -64(%rbp) ## 8-byte Spill
movl %edi, %r12d
movl %r11d, -48(%rbp) ## 4-byte Spill
callq ___VERIFIER_error
movl -48(%rbp), %r11d ## 4-byte Reload
movl %r12d, %edi
movq -64(%rbp), %r12 ## 8-byte Reload
movl -52(%rbp), %r9d ## 4-byte Reload
movl %r14d, %r8d
movq -72(%rbp), %r14 ## 8-byte Reload
movl -56(%rbp), %r10d ## 4-byte Reload
movl -44(%rbp), %eax ## 4-byte Reload
jmp LBB1_22
LBB1_23:
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _SIZE ## @SIZE
.p2align 2
_SIZE:
.long 20000001 ## 0x1312d01
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
cbz w0, LBB0_2
; %bb.1:
ret
LBB0_2:
b ___VERIFIER_error
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
bl ___VERIFIER_nondet_int
Lloh0:
adrp x8, _SIZE@PAGE
Lloh1:
ldr w8, [x8, _SIZE@PAGEOFF]
cmp w0, w8
ccmp w0, #0, #4, ls
b.ne LBB1_2
LBB1_1:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB1_2:
mov x24, x0
mov w26, #0
mov w20, #0
mov w27, #0
mov w19, #0
mov w25, #0
mov w21, #0
mov w2, #0
mov w28, #0
mov w22, #0
mov w23, #0
mov w3, #36409
movk w3, #14563, lsl #16
b LBB1_4
LBB1_3: ; in Loop: Header=BB1_4 Depth=1
cmp w24, w2
b.eq LBB1_1
LBB1_4: ; =>This Inner Loop Header: Depth=1
umull x8, w2, w3
lsr x8, x8, #33
add w8, w8, w8, lsl #3
cmp w8, w2
b.ne LBB1_6
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
add w26, w26, #1
b LBB1_21
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
tst w2, #0x7
b.eq LBB1_9
; %bb.7: ; in Loop: Header=BB1_4 Depth=1
mov w8, #18725
movk w8, #9362, lsl #16
umull x8, w2, w8
lsr x8, x8, #32
sub w9, w2, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #2
lsl w9, w8, #3
sub w8, w9, w8
cmp w8, w2
b.ne LBB1_10
; %bb.8: ; in Loop: Header=BB1_4 Depth=1
add w21, w21, #1
b LBB1_21
LBB1_9: ; in Loop: Header=BB1_4 Depth=1
add w20, w20, #1
b LBB1_21
LBB1_10: ; in Loop: Header=BB1_4 Depth=1
mov w8, #43691
movk w8, #43690, lsl #16
umull x8, w2, w8
lsr x9, x8, #34
add w9, w9, w9, lsl #1
lsl w9, w9, #1
cmp w9, w2
b.ne LBB1_12
; %bb.11: ; in Loop: Header=BB1_4 Depth=1
add w25, w25, #1
b LBB1_21
LBB1_12: ; in Loop: Header=BB1_4 Depth=1
mov w9, #52429
movk w9, #52428, lsl #16
umull x9, w2, w9
lsr x9, x9, #34
add w9, w9, w9, lsl #2
cmp w9, w2
b.ne LBB1_14
; %bb.13: ; in Loop: Header=BB1_4 Depth=1
add w19, w19, #1
b LBB1_21
LBB1_14: ; in Loop: Header=BB1_4 Depth=1
tst w2, #0x3
b.eq LBB1_17
; %bb.15: ; in Loop: Header=BB1_4 Depth=1
lsr x8, x8, #33
add w8, w8, w8, lsl #1
cmp w8, w2
b.ne LBB1_18
; %bb.16: ; in Loop: Header=BB1_4 Depth=1
add w23, w23, #1
b LBB1_21
LBB1_17: ; in Loop: Header=BB1_4 Depth=1
add w27, w27, #1
b LBB1_21
LBB1_18: ; in Loop: Header=BB1_4 Depth=1
tbnz w2, #0, LBB1_20
; %bb.19: ; in Loop: Header=BB1_4 Depth=1
add w28, w28, #1
b LBB1_21
LBB1_20: ; in Loop: Header=BB1_4 Depth=1
add w22, w22, #1
LBB1_21: ; in Loop: Header=BB1_4 Depth=1
add w2, w2, #1
add w8, w22, w23
add w8, w8, w28
add w8, w8, w21
add w8, w8, w25
add w8, w8, w19
add w8, w8, w27
add w8, w8, w20
add w8, w8, w26
cmp w2, w8
b.eq LBB1_3
; %bb.22: ; in Loop: Header=BB1_4 Depth=1
str w2, [sp, #12] ; 4-byte Folded Spill
bl ___VERIFIER_error
mov w3, #36409
movk w3, #14563, lsl #16
ldr w2, [sp, #12] ; 4-byte Folded Reload
b LBB1_3
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _SIZE ; @SIZE
.p2align 2
_SIZE:
.long 20000001 ; 0x1312d01
.subsections_via_symbols
| the_stack_data/29282.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function vulkan_set_command_buffers
_vulkan_set_command_buffers: ## @vulkan_set_command_buffers
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movl %esi, %r14d
movq %rdi, %r15
leal 1(%r14), %r13d
movq 8(%rdi), %rdi
cmpl (%r15), %r13d
jb LBB0_2
## %bb.1:
leal (,%r13,4), %esi
callq _realloc
movq %rax, %r12
movq %rax, %rdi
callq _retro_assert
movq %r12, %rdi
movq %r12, 8(%r15)
movl %r13d, (%r15)
LBB0_2:
movl %r14d, 4(%r15)
shll $2, %r14d
movq %rbx, %rsi
movl %r14d, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _memcpy ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _vulkan_set_command_buffers
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function vulkan_set_command_buffers
_vulkan_set_command_buffers: ; @vulkan_set_command_buffers
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
mov x21, x0
add w23, w1, #1
ldr w8, [x0]
ldr x0, [x0, #8]
cmp w23, w8
b.lo LBB0_2
; %bb.1:
lsl w1, w23, #2
bl _realloc
mov x22, x0
bl _retro_assert
mov x0, x22
str x22, [x21, #8]
str w23, [x21]
LBB0_2:
str w20, [x21, #4]
lsl w2, w20, #2
mov x1, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _memcpy
.cfi_endproc
; -- End function
.no_dead_strip _vulkan_set_command_buffers
.subsections_via_symbols
| assembly_file_39626.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x402399999999999a ## double 9.8000000000000007
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
mulsd LCPI0_0(%rip), %xmm0
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function force
LCPI1_0:
.quad 0x402399999999999a ## double 9.8000000000000007
.section __TEXT,__text,regular,pure_instructions
.globl _force
.p2align 4, 0x90
_force: ## @force
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cvtss2sd %xmm0, %xmm0
mulsd LCPI1_0(%rip), %xmm0
cvtsd2ss %xmm0, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "The value of force in Newton is %.2f\n"
L_str: ## @str
.asciz "Enter the value of mass in kgs"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur s0, [x29, #-4]
fcvt d0, s0
mov x8, #-7378697629483820647
movk x8, #39322
movk x8, #16419, lsl #48
fmov d1, x8
fmul d0, d0, d1
fcvt s0, d0
fcvt d0, s0
str d0, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _force ; -- Begin function force
.p2align 2
_force: ; @force
.cfi_startproc
; %bb.0:
fcvt d0, s0
mov x8, #-7378697629483820647
movk x8, #39322
movk x8, #16419, lsl #48
fmov d1, x8
fmul d0, d0, d1
fcvt s0, d0
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "The value of force in Newton is %.2f\n"
l_str: ; @str
.asciz "Enter the value of mass in kgs"
.subsections_via_symbols
| the_stack_data/38660.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pcache1FreePage
_pcache1FreePage: ## @pcache1FreePage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
xorl %edi, %edi
testq %rbx, %rbx
setne %dil
callq _assert
movq 24(%rbx), %r14
movq 16(%r14), %rax
movl (%rax), %edi
callq _sqlite3_mutex_held
movl %eax, %edi
callq _assert
cmpq $0, 16(%rbx)
je LBB0_2
## %bb.1:
movq 8(%r14), %rax
movq %rax, 8(%rbx)
movq %rbx, 8(%r14)
jmp LBB0_3
LBB0_2:
movl (%rbx), %edi
callq _pcache1Free
LBB0_3:
movq (%r14), %rax
decl (%rax)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _pcache1FreePage
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pcache1FreePage
_pcache1FreePage: ; @pcache1FreePage
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
cmp x0, #0
cset w0, ne
bl _assert
ldr x20, [x19, #24]
ldr x8, [x20, #16]
ldr w0, [x8]
bl _sqlite3_mutex_held
bl _assert
ldr x8, [x19, #16]
cbz x8, LBB0_2
; %bb.1:
ldr x8, [x20, #8]
str x8, [x19, #8]
str x19, [x20, #8]
b LBB0_3
LBB0_2:
ldr w0, [x19]
bl _pcache1Free
LBB0_3:
ldr x8, [x20]
ldr w9, [x8]
sub w9, w9, #1
str w9, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _pcache1FreePage
.subsections_via_symbols
| AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_pcache1FreePage.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -20(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -20(%rbp), %eax
testl %eax, %eax
js LBB0_6
## %bb.1:
je LBB0_7
## %bb.2:
leaq L_.str.2(%rip), %r14
xorl %ebx, %ebx
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
incl %ebx
cmpl %eax, %ebx
jge LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
testb $1, %bl
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movl -20(%rbp), %eax
jmp LBB0_5
LBB0_6:
leaq L_str(%rip), %rdi
callq _puts
LBB0_7:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Please enter a target number: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d "
L_str: ## @str
.asciz "Nothing to do!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
tbnz w8, #31, LBB0_6
; %bb.1:
cbz w8, LBB0_7
; %bb.2:
mov w20, #0
Lloh4:
adrp x19, l_.str.2@PAGE
Lloh5:
add x19, x19, l_.str.2@PAGEOFF
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w20, w20, #1
cmp w20, w8
b.ge LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
tbz w20, #0, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
str x20, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #12]
b LBB0_3
LBB0_6:
Lloh6:
adrp x0, l_str@PAGE
Lloh7:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Please enter a target number: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d "
l_str: ; @str
.asciz "Nothing to do!"
.subsections_via_symbols
| the_stack_data/121701.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function z8530_tx_clear
_z8530_tx_clear: ## @z8530_tx_clear
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq _RES_Tx_P@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _write_zsctrl
movq _RES_H_IUS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _write_zsctrl ## TAILCALL
.cfi_endproc
## -- End function
.comm _RES_Tx_P,4,2 ## @RES_Tx_P
.comm _RES_H_IUS,4,2 ## @RES_H_IUS
.no_dead_strip _z8530_tx_clear
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function z8530_tx_clear
_z8530_tx_clear: ; @z8530_tx_clear
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _RES_Tx_P@GOTPAGE
Lloh1:
ldr x8, [x8, _RES_Tx_P@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _write_zsctrl
Lloh3:
adrp x8, _RES_H_IUS@GOTPAGE
Lloh4:
ldr x8, [x8, _RES_H_IUS@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _write_zsctrl
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RES_Tx_P,4,2 ; @RES_Tx_P
.comm _RES_H_IUS,4,2 ; @RES_H_IUS
.no_dead_strip _z8530_tx_clear
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wan/extr_z85230.c_z8530_tx_clear.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dt_opt_syslibdir
_dt_opt_syslibdir: ## @dt_opt_syslibdir
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r15
callq _dt_list_next
testq %rbx, %rbx
je LBB0_1
## %bb.3:
movq %rax, %r14
movq %rbx, %rdi
callq _strdup
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %rbx
movq (%r14), %rdi
callq _free
movq %rbx, (%r14)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq _EDT_BADOPTVAL@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_4:
movq _EDT_NOMEM@GOTPCREL(%rip), %rax
LBB0_2:
movl (%rax), %esi
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _dt_set_errno ## TAILCALL
.cfi_endproc
## -- End function
.comm _EDT_BADOPTVAL,4,2 ## @EDT_BADOPTVAL
.comm _EDT_NOMEM,4,2 ## @EDT_NOMEM
.no_dead_strip _dt_opt_syslibdir
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dt_opt_syslibdir
_dt_opt_syslibdir: ; @dt_opt_syslibdir
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x19, x0
bl _dt_list_next
cbz x21, LBB0_3
; %bb.1:
mov x20, x0
mov x0, x21
bl _strdup
cbz x0, LBB0_4
; %bb.2:
mov x21, x0
ldr x0, [x20]
bl _free
str x21, [x20]
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh0:
adrp x8, _EDT_BADOPTVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EDT_BADOPTVAL@GOTPAGEOFF]
b LBB0_5
LBB0_4:
Lloh2:
adrp x8, _EDT_NOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _EDT_NOMEM@GOTPAGEOFF]
LBB0_5:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _dt_set_errno
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _EDT_BADOPTVAL,4,2 ; @EDT_BADOPTVAL
.comm _EDT_NOMEM,4,2 ; @EDT_NOMEM
.no_dead_strip _dt_opt_syslibdir
.subsections_via_symbols
| AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_options.c_dt_opt_syslibdir.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dt282x_initialize
_dt282x_initialize: ## @dt282x_initialize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _DT2821_SUPCSR_BDINIT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _DT2821_SUPCSR_REG@GOTPCREL(%rip), %r14
movq (%r14), %rsi
addq 8(%rbx), %rsi
callq _outw
movq _DT2821_ADCSR_REG@GOTPCREL(%rip), %r15
movq (%r15), %rdi
addq 8(%rbx), %rdi
callq _inw
movq (%r15), %rdi
addq 8(%rbx), %rdi
callq _inw
andl $65520, %eax ## imm = 0xFFF0
cmpl $31744, %eax ## imm = 0x7C00
jne LBB0_5
## %bb.1:
movq _DT2821_CHANCSR_REG@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq 8(%rbx), %rdi
callq _inw
andl $61680, %eax ## imm = 0xF0F0
cmpl $28912, %eax ## imm = 0x70F0
jne LBB0_5
## %bb.2:
movq _DT2821_DACSR_REG@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq 8(%rbx), %rdi
callq _inw
andl $31891, %eax ## imm = 0x7C93
cmpl $31888, %eax ## imm = 0x7C90
jne LBB0_5
## %bb.3:
movq (%r14), %rdi
addq 8(%rbx), %rdi
callq _inw
testl $63743, %eax ## imm = 0xF8FF
jne LBB0_5
## %bb.4:
movq _DT2821_TMRCTR_REG@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq 8(%rbx), %rdi
callq _inw
movl %eax, %ecx
andl $65280, %ecx ## imm = 0xFF00
xorl %eax, %eax
cmpl $61440, %ecx ## imm = 0xF000
je LBB0_6
LBB0_5:
movl (%rbx), %edi
leaq L_.str(%rip), %rsi
callq _dev_err
movq _EIO@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DT2821_SUPCSR_BDINIT,4,2 ## @DT2821_SUPCSR_BDINIT
.comm _DT2821_SUPCSR_REG,8,3 ## @DT2821_SUPCSR_REG
.comm _DT2821_ADCSR_REG,8,3 ## @DT2821_ADCSR_REG
.comm _DT2821_CHANCSR_REG,8,3 ## @DT2821_CHANCSR_REG
.comm _DT2821_DACSR_REG,8,3 ## @DT2821_DACSR_REG
.comm _DT2821_TMRCTR_REG,8,3 ## @DT2821_TMRCTR_REG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "board not found\n"
.comm _EIO,4,2 ## @EIO
.no_dead_strip _dt282x_initialize
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dt282x_initialize
_dt282x_initialize: ; @dt282x_initialize
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _DT2821_SUPCSR_BDINIT@GOTPAGE
Lloh1:
ldr x8, [x8, _DT2821_SUPCSR_BDINIT@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldr x8, [x19, #8]
Lloh3:
adrp x20, _DT2821_SUPCSR_REG@GOTPAGE
Lloh4:
ldr x20, [x20, _DT2821_SUPCSR_REG@GOTPAGEOFF]
ldr x9, [x20]
add x1, x9, x8
bl _outw
ldr x8, [x19, #8]
Lloh5:
adrp x21, _DT2821_ADCSR_REG@GOTPAGE
Lloh6:
ldr x21, [x21, _DT2821_ADCSR_REG@GOTPAGEOFF]
ldr x9, [x21]
add x0, x9, x8
bl _inw
ldr x8, [x19, #8]
ldr x9, [x21]
add x0, x9, x8
bl _inw
and w8, w0, #0xfff0
mov w9, #31744
cmp w8, w9
b.ne LBB0_6
; %bb.1:
ldr x8, [x19, #8]
Lloh7:
adrp x9, _DT2821_CHANCSR_REG@GOTPAGE
Lloh8:
ldr x9, [x9, _DT2821_CHANCSR_REG@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
add x0, x9, x8
bl _inw
mov w8, #61680
and w8, w0, w8
mov w9, #28912
cmp w8, w9
b.ne LBB0_6
; %bb.2:
ldr x8, [x19, #8]
Lloh10:
adrp x9, _DT2821_DACSR_REG@GOTPAGE
Lloh11:
ldr x9, [x9, _DT2821_DACSR_REG@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
add x0, x9, x8
bl _inw
mov w8, #31891
and w8, w0, w8
mov w9, #31888
cmp w8, w9
b.ne LBB0_6
; %bb.3:
ldr x8, [x19, #8]
ldr x9, [x20]
add x0, x9, x8
bl _inw
mov w8, #63743
tst w0, w8
b.ne LBB0_6
; %bb.4:
ldr x8, [x19, #8]
Lloh13:
adrp x9, _DT2821_TMRCTR_REG@GOTPAGE
Lloh14:
ldr x9, [x9, _DT2821_TMRCTR_REG@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
add x0, x9, x8
bl _inw
and w8, w0, #0xff00
cmp w8, #15, lsl #12 ; =61440
b.ne LBB0_6
; %bb.5:
mov w0, #0
b LBB0_7
LBB0_6:
ldr w0, [x19]
Lloh16:
adrp x1, l_.str@PAGE
Lloh17:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
Lloh18:
adrp x8, _EIO@GOTPAGE
Lloh19:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
neg w0, w8
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _DT2821_SUPCSR_BDINIT,4,2 ; @DT2821_SUPCSR_BDINIT
.comm _DT2821_SUPCSR_REG,8,3 ; @DT2821_SUPCSR_REG
.comm _DT2821_ADCSR_REG,8,3 ; @DT2821_ADCSR_REG
.comm _DT2821_CHANCSR_REG,8,3 ; @DT2821_CHANCSR_REG
.comm _DT2821_DACSR_REG,8,3 ; @DT2821_DACSR_REG
.comm _DT2821_TMRCTR_REG,8,3 ; @DT2821_TMRCTR_REG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "board not found\n"
.comm _EIO,4,2 ; @EIO
.no_dead_strip _dt282x_initialize
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/comedi/drivers/extr_dt282x.c_dt282x_initialize.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_constant_by_name
_get_constant_by_name: ## @get_constant_by_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r15
leaq L_.str(%rip), %r14
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq %r12, %rdi
callq _debugstr_a
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movl %eax, %ecx
xorl %eax, %eax
callq _TRACE
testq %r12, %r12
je LBB0_14
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpb $0, (%r12)
je LBB0_14
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq 8(%rbx), %rax
leaq 8(%r15), %rcx
testq %rbx, %rbx
cmovneq %rbx, %rcx
cmoveq %r15, %rax
movq (%rax), %rbx
movl (%rcx), %r14d
movq %r12, %rdi
leaq L_.str.1(%rip), %rsi
callq _strcspn
testl %r14d, %r14d
jle LBB0_11
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl %eax, %r15d
movslq %eax, %r13
addq %r12, %r13
jmp LBB0_6
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_6 Depth=2
addq $16, %rbx
decq %r14
je LBB0_11
LBB0_6: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl 4(%rbx), %edi
callq _strlen
cmpl %r15d, %eax
jne LBB0_5
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movl 4(%rbx), %edi
movq %r12, %rsi
movl %r15d, %edx
callq _strncmp
testl %eax, %eax
jne LBB0_5
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movsbl (%r13), %eax
incq %r13
movl $0, %r15d
movq %r13, %r12
cmpl $46, %eax
leaq L_.str(%rip), %r14
je LBB0_1
## %bb.9:
cmpl $91, %eax
jne LBB0_15
## %bb.10:
movq %rbx, %rdi
movq %r13, %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _get_constant_element_by_name ## TAILCALL
LBB0_11:
leaq L_.str.3(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _TRACE
LBB0_12:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
xorl %ebx, %ebx
jmp LBB0_12
LBB0_15:
leaq L_.str.2(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _TRACE
jmp LBB0_12
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "table %p, constant %p, name %s\n"
L_.str.1: ## @.str.1
.asciz "[."
L_.str.2: ## @.str.2
.asciz "Returning parameter %p\n"
L_.str.3: ## @.str.3
.asciz "Constant not found\n"
.no_dead_strip _get_constant_by_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_constant_by_name
_get_constant_by_name: ; @get_constant_by_name
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x2
mov x19, x1
mov x23, x0
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
Lloh2:
adrp x22, l_.str.1@PAGE
Lloh3:
add x22, x22, l_.str.1@PAGEOFF
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
mov x0, x20
bl _debugstr_a
; kill: def $w0 killed $w0 def $x0
stp x19, x0, [sp, #8]
str x23, [sp]
mov x0, x21
bl _TRACE
cbz x20, LBB0_12
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldrb w8, [x20]
cbz w8, LBB0_12
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
add x8, x19, #8
add x9, x23, #8
cmp x19, #0
csel x9, x9, x19, eq
csel x8, x23, x8, eq
ldr x19, [x8]
ldr w24, [x9]
mov x0, x20
mov x1, x22
bl _strcspn
cmp w24, #1
b.lt LBB0_11
; %bb.4: ; in Loop: Header=BB0_1 Depth=1
mov x23, x0
add x25, x20, w0, sxtw
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=2
add x19, x19, #16
subs x24, x24, #1
b.eq LBB0_11
LBB0_6: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x19, #4]
bl _strlen
cmp w0, w23
b.ne LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
ldr w0, [x19, #4]
mov x1, x20
mov x2, x23
bl _strncmp
cbnz w0, LBB0_5
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
mov x23, #0
ldrsb w8, [x25], #1
mov x20, x25
cmp w8, #46
b.eq LBB0_1
; %bb.9:
cmp w8, #91
b.ne LBB0_14
; %bb.10:
mov x0, x19
mov x1, x20
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
b _get_constant_element_by_name
LBB0_11:
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _TRACE
LBB0_12:
mov x19, #0
LBB0_13:
mov x0, x19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_14:
str x19, [sp]
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
bl _TRACE
b LBB0_13
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "table %p, constant %p, name %s\n"
l_.str.1: ; @.str.1
.asciz "[."
l_.str.2: ; @.str.2
.asciz "Returning parameter %p\n"
l_.str.3: ; @.str.3
.asciz "Constant not found\n"
.no_dead_strip _get_constant_by_name
.subsections_via_symbols
| AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_shader.c_get_constant_by_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _store555 ## -- Begin function store555
.p2align 4, 0x90
_store555: ## @store555
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $555, (%rdi) ## imm = 0x22B
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add ## -- Begin function add
.p2align 4, 0x90
_add: ## @add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
## kill: def $edi killed $edi def $rdi
leal (%rdi,%rsi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mysqr ## -- Begin function mysqr
.p2align 4, 0x90
_mysqr: ## @mysqr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
imull %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _staticTest ## -- Begin function staticTest
.p2align 4, 0x90
_staticTest: ## @staticTest
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _staticTest.cntr(%rip), %esi
leal 1(%rsi), %eax
movl %eax, _staticTest.cntr(%rip)
leaq L_.str(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI4_0:
.quad 0x4007fffffe666666 ## double 2.9999999880790709
LCPI4_1:
.quad 0x4008000000000000 ## double 3
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movl _gg(%rip), %r15d
cmpl $6, %r15d
jne LBB4_2
## %bb.1:
movl $25, _gg(%rip)
movl $7, %r15d
movl $558, %esi ## imm = 0x22E
jmp LBB4_3
LBB4_2:
addl $6, %r15d
movl $555, %esi ## imm = 0x22B
LBB4_3:
addl %r15d, %esi
movabsq $748764258396749650, %rax ## imm = 0xA6425203A3F3F52
movq %rax, -64(%rbp)
movb $0, -56(%rbp)
movw $29541, -63(%rbp) ## imm = 0x7365
leaq -64(%rbp), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %r12
movq %r12, %rdi
movl $111, %esi
movl $222, %edx
xorl %eax, %eax
callq _printf
leaq L_.str(%rip), %r14
movq %r14, %rdi
movl $333, %esi ## imm = 0x14D
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %rbx
movsd LCPI4_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movq %rbx, %rdi
movb $1, %al
callq _printf
movsd LCPI4_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movq %rbx, %rdi
movb $1, %al
callq _printf
movq %r12, %rdi
movl $123, %esi
movl $-123, %edx
xorl %eax, %eax
callq _printf
leaq L_.str.5(%rip), %rdi
movl $97, %esi
movl $97, %edx
xorl %eax, %eax
callq _printf
leaq L_.str.6(%rip), %rbx
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $9, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
leaq L_.str.8(%rip), %rdi
movl $25, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdi
movl $3, %esi
movl $6, %edx
movl $9, %ecx
movl $12, %r8d
xorl %eax, %eax
callq _printf
movl _staticTest.cntr(%rip), %esi
leal 1(%rsi), %eax
movl %eax, _staticTest.cntr(%rip)
movq %r14, %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printf
movl _staticTest.cntr(%rip), %esi
leal 1(%rsi), %eax
movl %eax, _staticTest.cntr(%rip)
movq %r14, %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printf
movl _staticTest.cntr(%rip), %esi
leal 1(%rsi), %eax
movl %eax, _staticTest.cntr(%rip)
movq %r14, %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB4_5
## %bb.4:
movl %r15d, %eax
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB4_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _gg ## @gg
.p2align 2
_gg:
.long 142 ## 0x8e
.zerofill __DATA,__bss,_staticTest.cntr,4,2 ## @staticTest.cntr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
L_.str.1: ## @.str.1
.asciz "R??: %d\n"
L_.str.2: ## @.str.2
.asciz "%d %d\n"
L_.str.4: ## @.str.4
.asciz "%f\n"
L_.str.5: ## @.str.5
.asciz "%c %c\n"
L_.str.6: ## @.str.6
.asciz "%d "
L_.str.8: ## @.str.8
.asciz "5^2 = %d\n"
L_.str.9: ## @.str.9
.asciz "%d %d %d %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _store555 ; -- Begin function store555
.p2align 2
_store555: ; @store555
.cfi_startproc
; %bb.0:
mov w8, #555
str w8, [x0]
ret
.cfi_endproc
; -- End function
.globl _add ; -- Begin function add
.p2align 2
_add: ; @add
.cfi_startproc
; %bb.0:
add w0, w1, w0
ret
.cfi_endproc
; -- End function
.globl _mysqr ; -- Begin function mysqr
.p2align 2
_mysqr: ; @mysqr
.cfi_startproc
; %bb.0:
mul w0, w0, w0
ret
.cfi_endproc
; -- End function
.globl _staticTest ; -- Begin function staticTest
.p2align 2
_staticTest: ; @staticTest
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _staticTest.cntr@PAGE
ldr w9, [x8, _staticTest.cntr@PAGEOFF]
add w10, w9, #1
str w10, [x8, _staticTest.cntr@PAGEOFF]
str x9, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
str x8, [sp, #56]
adrp x8, _gg@PAGE
ldr w9, [x8, _gg@PAGEOFF]
cmp w9, #6
b.ne LBB4_2
; %bb.1:
mov w9, #25
str w9, [x8, _gg@PAGEOFF]
mov w19, #7
mov w8, #558
b LBB4_3
LBB4_2:
add w19, w9, #6
mov w8, #555
LBB4_3:
adrp x9, l_.str.1@PAGE
add x9, x9, l_.str.1@PAGEOFF
add w8, w19, w8
ldr x9, [x9]
str x9, [sp, #40]
strb wzr, [sp, #48]
mov w9, #29541
sturh w9, [sp, #41]
str x8, [sp]
add x0, sp, #40
bl _printf
mov w8, #222
mov w9, #111
stp x9, x8, [sp]
Lloh5:
adrp x21, l_.str.2@PAGE
Lloh6:
add x21, x21, l_.str.2@PAGEOFF
mov x0, x21
bl _printf
mov w8, #333
str x8, [sp]
Lloh7:
adrp x20, l_.str@PAGE
Lloh8:
add x20, x20, l_.str@PAGEOFF
mov x0, x20
bl _printf
mov x8, #-39322
movk x8, #65126, lsl #16
movk x8, #16391, lsl #48
str x8, [sp]
Lloh9:
adrp x22, l_.str.4@PAGE
Lloh10:
add x22, x22, l_.str.4@PAGEOFF
mov x0, x22
bl _printf
mov x8, #4613937818241073152
str x8, [sp]
mov x0, x22
bl _printf
mov w8, #-123
mov w9, #123
stp x9, x8, [sp]
mov x0, x21
bl _printf
mov w8, #97
stp x8, x8, [sp]
Lloh11:
adrp x0, l_.str.5@PAGE
Lloh12:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
str xzr, [sp]
Lloh13:
adrp x21, l_.str.6@PAGE
Lloh14:
add x21, x21, l_.str.6@PAGEOFF
mov x0, x21
bl _printf
mov w24, #1
str x24, [sp]
mov x0, x21
bl _printf
mov w23, #4
str x23, [sp]
mov x0, x21
bl _printf
mov w22, #9
str x22, [sp]
mov x0, x21
bl _printf
mov w0, #10
bl _putchar
mov w25, #2
str x25, [sp]
mov x0, x21
bl _printf
str x24, [sp]
mov x0, x21
bl _printf
str xzr, [sp]
mov x0, x21
bl _printf
mov w0, #10
bl _putchar
str xzr, [sp]
mov x0, x21
bl _printf
str x25, [sp]
mov x0, x21
bl _printf
str x24, [sp]
mov x0, x21
bl _printf
mov w0, #10
bl _putchar
str xzr, [sp]
mov x0, x21
bl _printf
str x24, [sp]
mov x0, x21
bl _printf
str x25, [sp]
mov x0, x21
bl _printf
mov w24, #3
str x24, [sp]
mov x0, x21
bl _printf
str x23, [sp]
mov x0, x21
bl _printf
mov w0, #10
bl _putchar
mov w8, #25
str x8, [sp]
Lloh15:
adrp x0, l_.str.8@PAGE
Lloh16:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov w8, #12
stp x22, x8, [sp, #16]
mov w8, #6
stp x24, x8, [sp]
Lloh17:
adrp x0, l_.str.9@PAGE
Lloh18:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
adrp x21, _staticTest.cntr@PAGE
ldr w8, [x21, _staticTest.cntr@PAGEOFF]
add w9, w8, #1
str w9, [x21, _staticTest.cntr@PAGEOFF]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x21, _staticTest.cntr@PAGEOFF]
add w9, w8, #1
str w9, [x21, _staticTest.cntr@PAGEOFF]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x21, _staticTest.cntr@PAGEOFF]
add w9, w8, #1
str w9, [x21, _staticTest.cntr@PAGEOFF]
str x8, [sp]
mov x0, x20
bl _printf
ldr x8, [sp, #56]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB4_5
; %bb.4:
mov x0, x19
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB4_5:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _gg ; @gg
.p2align 2
_gg:
.long 142 ; 0x8e
.zerofill __DATA,__bss,_staticTest.cntr,4,2 ; @staticTest.cntr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
l_.str.1: ; @.str.1
.asciz "R??: %d\n"
l_.str.2: ; @.str.2
.asciz "%d %d\n"
l_.str.4: ; @.str.4
.asciz "%f\n"
l_.str.5: ; @.str.5
.asciz "%c %c\n"
l_.str.6: ; @.str.6
.asciz "%d "
l_.str.8: ; @.str.8
.asciz "5^2 = %d\n"
l_.str.9: ; @.str.9
.asciz "%d %d %d %d\n"
.subsections_via_symbols
| the_stack_data/474669.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_pan
_set_pan: ## @set_pan
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 16(%rsi), %ecx
shll $24, %ecx
movl (%rsi), %eax
movl 8(%rsi), %edx
decl %edx
orl %ecx, %edx
movl %eax, %esi
popq %rbp
jmp _EMU8000_PSST_WRITE ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _set_pan
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_pan
_set_pan: ; @set_pan
.cfi_startproc
; %bb.0:
ldr w8, [x1, #16]
ldr w9, [x1, #8]
sub w9, w9, #1
orr w2, w9, w8, lsl #24
ldr w1, [x1]
b _EMU8000_PSST_WRITE
.cfi_endproc
; -- End function
.no_dead_strip _set_pan
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/isa/sb/extr_emu8000_callback.c_set_pan.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function asm_setupresult
_asm_setupresult: ## @asm_setupresult
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movq %rdi, %r14
movq _RSET_SCRATCH@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq _LJ_32@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
cmpq $0, (%rax)
je LBB0_4
## %bb.1:
movq 24(%r13), %rax
movq _IR_HIOP@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.2:
movl 36(%r13), %edi
movq %rdx, %r15
callq _irt_isnil
movq %r15, %rdx
testl %eax, %eax
sete %r15b
jmp LBB0_5
LBB0_4:
xorl %r15d, %r15d
LBB0_5:
movq _CCI_NOFPRCLOBBER@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rdx, -48(%rbp) ## 8-byte Spill
andl (%rdx), %eax
movq _RSET_FPR@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmpl $1, %eax
sbbl %ebx, %ebx
notl %ecx
orl %ecx, %ebx
andl %r12d, %ebx
movl 8(%r13), %edi
callq _ra_hasreg
testq %rax, %rax
je LBB0_7
## %bb.6:
movl 8(%r13), %esi
movl %ebx, %edi
callq _rset_clear
LBB0_7:
testb %r15b, %r15b
je LBB0_10
## %bb.8:
movl 32(%r13), %edi
callq _ra_hasreg
testq %rax, %rax
je LBB0_10
## %bb.9:
movl 32(%r13), %esi
movl %ebx, %edi
callq _rset_clear
LBB0_10:
movq %r14, %rdi
movl %ebx, %esi
callq _ra_evictset
movq %r13, %rdi
callq _ra_used
testq %rax, %rax
je LBB0_15
## %bb.11:
movl 12(%r13), %edi
callq _irt_isfp
testq %rax, %rax
je LBB0_19
## %bb.12:
movl 16(%r13), %edi
callq _sps_scale
movq %rax, %r12
movl 8(%r13), %ebx
movl %ebx, %edi
callq _ra_hasreg
testq %rax, %rax
je LBB0_22
## %bb.13:
movq %r14, %rdi
movl %ebx, %esi
callq _ra_free
movq %r14, %rdi
movl %ebx, %esi
callq _ra_modified
movl 12(%r13), %edi
callq _irt_isnum
testq %rax, %rax
jne LBB0_20
## %bb.14:
movq _XO_MOVSS@GOTPCREL(%rip), %rax
jmp LBB0_21
LBB0_15:
movq _LJ_32@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_18
## %bb.16:
movl 12(%r13), %edi
callq _irt_isfp
testq %rax, %rax
je LBB0_18
## %bb.17:
movq _CCI_CASTU64@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx ## 8-byte Reload
testl %eax, (%rcx)
je LBB0_31
LBB0_18:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
movl 12(%r13), %edi
callq _irt_ispri
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _lua_assert
movq _RID_RET@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
movq %r13, %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ra_destreg ## TAILCALL
LBB0_20:
movq _XO_MOVSD@GOTPCREL(%rip), %rax
LBB0_21:
movl (%rax), %esi
movq _RID_ESP@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl %ebx, %edx
movq %r12, %r8
callq _emit_rmro
LBB0_22:
movq _CCI_CASTU64@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx ## 8-byte Reload
testl %eax, (%rcx)
je LBB0_24
## %bb.23:
movq _RID_RETLO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _RID_ESP@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
movq %r14, %rdi
movq %r12, %rcx
callq _emit_movtomro
movq _RID_RETHI@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%rbx), %edx
addq $4, %r12
movq %r14, %rdi
movq %r12, %rcx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _emit_movtomro ## TAILCALL
LBB0_24:
movl 12(%r13), %edi
callq _irt_isnum
testq %rax, %rax
jne LBB0_26
## %bb.25:
movq _XO_FSTPd@GOTPCREL(%rip), %rax
jmp LBB0_27
LBB0_26:
movq _XO_FSTPq@GOTPCREL(%rip), %rax
LBB0_27:
movl (%rax), %ebx
movl 12(%r13), %edi
callq _irt_isnum
testq %rax, %rax
jne LBB0_29
## %bb.28:
movq _XOg_FSTPd@GOTPCREL(%rip), %rax
jmp LBB0_30
LBB0_29:
movq _XOg_FSTPq@GOTPCREL(%rip), %rax
LBB0_30:
movl (%rax), %edx
movq _RID_ESP@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl %ebx, %esi
movq %r12, %r8
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _emit_rmro ## TAILCALL
LBB0_31:
movq _XI_FPOP@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _emit_x87op ## TAILCALL
.cfi_endproc
## -- End function
.comm _RSET_SCRATCH,4,2 ## @RSET_SCRATCH
.comm _LJ_32,8,3 ## @LJ_32
.comm _IR_HIOP,8,3 ## @IR_HIOP
.comm _CCI_NOFPRCLOBBER,4,2 ## @CCI_NOFPRCLOBBER
.comm _RSET_FPR,4,2 ## @RSET_FPR
.comm _XO_MOVSD,4,2 ## @XO_MOVSD
.comm _XO_MOVSS,4,2 ## @XO_MOVSS
.comm _RID_ESP,4,2 ## @RID_ESP
.comm _CCI_CASTU64,4,2 ## @CCI_CASTU64
.comm _RID_RETLO,4,2 ## @RID_RETLO
.comm _RID_RETHI,4,2 ## @RID_RETHI
.comm _XO_FSTPq,4,2 ## @XO_FSTPq
.comm _XO_FSTPd,4,2 ## @XO_FSTPd
.comm _XOg_FSTPq,4,2 ## @XOg_FSTPq
.comm _XOg_FSTPd,4,2 ## @XOg_FSTPd
.comm _RID_RET,4,2 ## @RID_RET
.comm _XI_FPOP,4,2 ## @XI_FPOP
.comm _REX_64,4,2 ## @REX_64
.comm _RID_FPRET,4,2 ## @RID_FPRET
.comm _XO_MOVD,4,2 ## @XO_MOVD
.no_dead_strip _asm_setupresult
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function asm_setupresult
_asm_setupresult: ; @asm_setupresult
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x2
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _RSET_SCRATCH@GOTPAGE
Lloh1:
ldr x8, [x8, _RSET_SCRATCH@GOTPAGEOFF]
Lloh2:
ldr w22, [x8]
Lloh3:
adrp x23, _LJ_32@GOTPAGE
Lloh4:
ldr x23, [x23, _LJ_32@GOTPAGEOFF]
ldr x8, [x23]
cbz x8, LBB0_3
; %bb.1:
ldr x8, [x20, #24]
Lloh5:
adrp x9, _IR_HIOP@GOTPAGE
Lloh6:
ldr x9, [x9, _IR_HIOP@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.2:
ldr w0, [x20, #36]
bl _irt_isnil
cmp w0, #0
cset w24, eq
b LBB0_4
LBB0_3:
mov w24, #0
LBB0_4:
ldr w8, [x21]
Lloh8:
adrp x9, _CCI_NOFPRCLOBBER@GOTPAGE
Lloh9:
ldr x9, [x9, _CCI_NOFPRCLOBBER@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
Lloh11:
adrp x10, _RSET_FPR@GOTPAGE
Lloh12:
ldr x10, [x10, _RSET_FPR@GOTPAGEOFF]
Lloh13:
ldr w10, [x10]
tst w9, w8
mov w8, #-1
csinv w8, w8, w10, eq
and w22, w8, w22
ldr w0, [x20, #8]
bl _ra_hasreg
cbz x0, LBB0_6
; %bb.5:
ldr w1, [x20, #8]
mov x0, x22
bl _rset_clear
LBB0_6:
cbz w24, LBB0_9
; %bb.7:
ldr w0, [x20, #32]
bl _ra_hasreg
cbz x0, LBB0_9
; %bb.8:
ldr w1, [x20, #32]
mov x0, x22
bl _rset_clear
LBB0_9:
mov x0, x19
mov x1, x22
bl _ra_evictset
mov x0, x20
bl _ra_used
cbz x0, LBB0_15
; %bb.10:
ldr w0, [x20, #12]
bl _irt_isfp
cbz x0, LBB0_19
; %bb.11:
ldr w0, [x20, #16]
bl _sps_scale
mov x22, x0
ldr w23, [x20, #8]
mov x0, x23
bl _ra_hasreg
Lloh14:
adrp x24, _RID_ESP@GOTPAGE
Lloh15:
ldr x24, [x24, _RID_ESP@GOTPAGEOFF]
cbz x0, LBB0_13
; %bb.12:
mov x0, x19
mov x1, x23
bl _ra_free
mov x0, x19
mov x1, x23
bl _ra_modified
ldr w0, [x20, #12]
bl _irt_isnum
Lloh16:
adrp x8, _XO_MOVSD@GOTPAGE
Lloh17:
ldr x8, [x8, _XO_MOVSD@GOTPAGEOFF]
Lloh18:
adrp x9, _XO_MOVSS@GOTPAGE
Lloh19:
ldr x9, [x9, _XO_MOVSS@GOTPAGEOFF]
cmp x0, #0
csel x8, x9, x8, eq
ldr w1, [x8]
ldr w3, [x24]
mov x0, x19
mov x2, x23
mov x4, x22
bl _emit_rmro
LBB0_13:
ldr w8, [x21]
Lloh20:
adrp x9, _CCI_CASTU64@GOTPAGE
Lloh21:
ldr x9, [x9, _CCI_CASTU64@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_20
; %bb.14:
Lloh23:
adrp x8, _RID_RETLO@GOTPAGE
Lloh24:
ldr x8, [x8, _RID_RETLO@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
ldr w2, [x24]
mov x0, x19
mov x3, x22
bl _emit_movtomro
Lloh26:
adrp x8, _RID_RETHI@GOTPAGE
Lloh27:
ldr x8, [x8, _RID_RETHI@GOTPAGEOFF]
Lloh28:
ldr w1, [x8]
ldr w2, [x24]
add x3, x22, #4
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _emit_movtomro
LBB0_15:
ldr x8, [x23]
cbz x8, LBB0_18
; %bb.16:
ldr w0, [x20, #12]
bl _irt_isfp
cbz x0, LBB0_18
; %bb.17:
ldr w8, [x21]
Lloh29:
adrp x9, _CCI_CASTU64@GOTPAGE
Lloh30:
ldr x9, [x9, _CCI_CASTU64@GOTPAGEOFF]
Lloh31:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_21
LBB0_18:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_19:
ldr w0, [x20, #12]
bl _irt_ispri
cmp w0, #0
cset w0, eq
bl _lua_assert
Lloh32:
adrp x8, _RID_RET@GOTPAGE
Lloh33:
ldr x8, [x8, _RID_RET@GOTPAGEOFF]
Lloh34:
ldr w2, [x8]
mov x0, x19
mov x1, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _ra_destreg
LBB0_20:
ldr w0, [x20, #12]
bl _irt_isnum
Lloh35:
adrp x8, _XO_FSTPq@GOTPAGE
Lloh36:
ldr x8, [x8, _XO_FSTPq@GOTPAGEOFF]
Lloh37:
adrp x9, _XO_FSTPd@GOTPAGE
Lloh38:
ldr x9, [x9, _XO_FSTPd@GOTPAGEOFF]
cmp x0, #0
csel x8, x9, x8, eq
ldr w21, [x8]
ldr w0, [x20, #12]
bl _irt_isnum
Lloh39:
adrp x8, _XOg_FSTPq@GOTPAGE
Lloh40:
ldr x8, [x8, _XOg_FSTPq@GOTPAGEOFF]
Lloh41:
adrp x9, _XOg_FSTPd@GOTPAGE
Lloh42:
ldr x9, [x9, _XOg_FSTPd@GOTPAGEOFF]
cmp x0, #0
csel x8, x9, x8, eq
ldr w2, [x8]
ldr w3, [x24]
mov x0, x19
mov x1, x21
mov x4, x22
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _emit_rmro
LBB0_21:
Lloh43:
adrp x8, _XI_FPOP@GOTPAGE
Lloh44:
ldr x8, [x8, _XI_FPOP@GOTPAGEOFF]
Lloh45:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _emit_x87op
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.cfi_endproc
; -- End function
.comm _RSET_SCRATCH,4,2 ; @RSET_SCRATCH
.comm _LJ_32,8,3 ; @LJ_32
.comm _IR_HIOP,8,3 ; @IR_HIOP
.comm _CCI_NOFPRCLOBBER,4,2 ; @CCI_NOFPRCLOBBER
.comm _RSET_FPR,4,2 ; @RSET_FPR
.comm _XO_MOVSD,4,2 ; @XO_MOVSD
.comm _XO_MOVSS,4,2 ; @XO_MOVSS
.comm _RID_ESP,4,2 ; @RID_ESP
.comm _CCI_CASTU64,4,2 ; @CCI_CASTU64
.comm _RID_RETLO,4,2 ; @RID_RETLO
.comm _RID_RETHI,4,2 ; @RID_RETHI
.comm _XO_FSTPq,4,2 ; @XO_FSTPq
.comm _XO_FSTPd,4,2 ; @XO_FSTPd
.comm _XOg_FSTPq,4,2 ; @XOg_FSTPq
.comm _XOg_FSTPd,4,2 ; @XOg_FSTPd
.comm _RID_RET,4,2 ; @RID_RET
.comm _XI_FPOP,4,2 ; @XI_FPOP
.comm _REX_64,4,2 ; @REX_64
.comm _RID_FPRET,4,2 ; @RID_FPRET
.comm _XO_MOVD,4,2 ; @XO_MOVD
.no_dead_strip _asm_setupresult
.subsections_via_symbols
| AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_asm_x86.h_asm_setupresult.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insert ## -- Begin function insert
.p2align 4, 0x90
_insert: ## @insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq _rear(%rip), %rax
cmpq $9, %rax
jne LBB0_1
## %bb.5:
leaq L_str(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
LBB0_1:
cmpl $-1, _front(%rip)
je LBB0_2
## %bb.3:
leaq 1(%rax), %rcx
movl %ecx, _rear(%rip)
movq _q@GOTPCREL(%rip), %rcx
movl %edi, 4(%rcx,%rax,4)
popq %rbp
retq
LBB0_2:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl %edi, (%rax)
movl $0, _rear(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _del ## -- Begin function del
.p2align 4, 0x90
_del: ## @del
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $-1, _rear(%rip)
je LBB1_2
## %bb.1:
movslq _front(%rip), %rax
leal 1(%rax), %ecx
movl %ecx, _front(%rip)
movq _q@GOTPCREL(%rip), %rcx
movl (%rcx,%rax,4), %eax
popq %rbp
retq
LBB1_2:
movl $-1, _front(%rip)
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _print ## -- Begin function print
.p2align 4, 0x90
_print: ## @print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movslq _front(%rip), %rbx
cmpl _rear(%rip), %ebx
jg LBB2_3
## %bb.1:
decq %rbx
movq _q@GOTPCREL(%rip), %r15
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl 4(%r15,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movslq _rear(%rip), %rax
incq %rbx
cmpq %rax, %rbx
jl LBB2_2
LBB2_3:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movslq _rear(%rip), %rcx
cmpq $9, %rcx
jne LBB3_5
## %bb.1:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $9, %eax
jne LBB3_7
LBB3_2:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %edx
cmpl $9, %edx
je LBB3_14
LBB3_3:
cmpl $-1, _front(%rip)
jne LBB3_9
## %bb.4:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $21, (%rax)
xorl %eax, %eax
xorl %ecx, %ecx
jmp LBB3_11
LBB3_5:
cmpl $-1, _front(%rip)
je LBB3_12
## %bb.6:
leaq 1(%rcx), %rax
movl %eax, _rear(%rip)
movq _q@GOTPCREL(%rip), %rdx
movl $10, 4(%rdx,%rcx,4)
cmpl $9, %eax
je LBB3_2
LBB3_7:
cmpl $-1, _front(%rip)
jne LBB3_13
## %bb.8:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $19, (%rax)
xorl %edx, %edx
LBB3_9:
leal 1(%rdx), %ecx
movl %ecx, _rear(%rip)
movslq %edx, %rax
movq _q@GOTPCREL(%rip), %rdx
movl $21, 4(%rdx,%rax,4)
cmpl $9, %ecx
je LBB3_15
LBB3_10:
movl _front(%rip), %eax
cmpl $-1, %eax
je LBB3_17
LBB3_11:
leal 1(%rcx), %edx
movl %edx, _rear(%rip)
movslq %ecx, %rcx
movq _q@GOTPCREL(%rip), %rsi
movl $22, 4(%rsi,%rcx,4)
jmp LBB3_16
LBB3_12:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $10, (%rax)
xorl %eax, %eax
LBB3_13:
leal 1(%rax), %edx
movl %edx, _rear(%rip)
cltq
movq _q@GOTPCREL(%rip), %rcx
movl $19, 4(%rcx,%rax,4)
cmpl $9, %edx
jne LBB3_3
LBB3_14:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %ecx
cmpl $9, %ecx
jne LBB3_10
LBB3_15:
leaq L_str(%rip), %rdi
callq _puts
movl _front(%rip), %eax
movl _rear(%rip), %edx
LBB3_16:
cmpl %edx, %eax
jle LBB3_18
jmp LBB3_20
LBB3_17:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $22, (%rax)
movl $0, _rear(%rip)
xorl %eax, %eax
LBB3_18:
movslq %eax, %rbx
decq %rbx
movq _q@GOTPCREL(%rip), %r15
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB3_19: ## =>This Inner Loop Header: Depth=1
movl 4(%r15,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movslq _rear(%rip), %rax
incq %rbx
cmpq %rax, %rbx
jl LBB3_19
LBB3_20:
movl $10, %edi
callq _putchar
movl _rear(%rip), %eax
cmpl $-1, %eax
je LBB3_22
## %bb.21:
movl _front(%rip), %ecx
incl %ecx
movl %ecx, _front(%rip)
cmpl %eax, %ecx
jle LBB3_23
jmp LBB3_25
LBB3_22:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _front(%rip), %ecx
movl _rear(%rip), %eax
cmpl %eax, %ecx
jg LBB3_25
LBB3_23:
movslq %ecx, %rbx
decq %rbx
movq _q@GOTPCREL(%rip), %r15
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB3_24: ## =>This Inner Loop Header: Depth=1
movl 4(%r15,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movslq _rear(%rip), %rax
incq %rbx
cmpq %rax, %rbx
jl LBB3_24
LBB3_25:
movl $10, %edi
callq _putchar
movl _rear(%rip), %eax
cmpl $-1, %eax
je LBB3_27
## %bb.26:
movl _front(%rip), %ecx
incl %ecx
movl %ecx, _front(%rip)
cmpl %eax, %ecx
jle LBB3_28
jmp LBB3_30
LBB3_27:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _front(%rip), %ecx
movl _rear(%rip), %eax
cmpl %eax, %ecx
jg LBB3_30
LBB3_28:
movslq %ecx, %rbx
decq %rbx
movq _q@GOTPCREL(%rip), %r15
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB3_29: ## =>This Inner Loop Header: Depth=1
movl 4(%r15,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movslq _rear(%rip), %rax
incq %rbx
cmpq %rax, %rbx
jl LBB3_29
LBB3_30:
movl $10, %edi
callq _putchar
movl _rear(%rip), %eax
cmpl $-1, %eax
je LBB3_32
## %bb.31:
movl _front(%rip), %ecx
incl %ecx
movl %ecx, _front(%rip)
cmpl %eax, %ecx
jle LBB3_33
jmp LBB3_35
LBB3_32:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _front(%rip), %ecx
movl _rear(%rip), %eax
cmpl %eax, %ecx
jg LBB3_35
LBB3_33:
movslq %ecx, %rbx
decq %rbx
movq _q@GOTPCREL(%rip), %r15
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB3_34: ## =>This Inner Loop Header: Depth=1
movl 4(%r15,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movslq _rear(%rip), %rax
incq %rbx
cmpq %rax, %rbx
jl LBB3_34
LBB3_35:
movl $10, %edi
callq _putchar
movslq _rear(%rip), %rcx
cmpq $9, %rcx
jne LBB3_40
## %bb.36:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $9, %eax
jne LBB3_42
LBB3_37:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %ecx
cmpl $9, %ecx
je LBB3_53
LBB3_38:
cmpl $-1, _front(%rip)
jne LBB3_44
## %bb.39:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $21, (%rax)
xorl %eax, %eax
jmp LBB3_46
LBB3_40:
cmpl $-1, _front(%rip)
je LBB3_51
## %bb.41:
leaq 1(%rcx), %rax
movl %eax, _rear(%rip)
movq _q@GOTPCREL(%rip), %rdx
movl $10, 4(%rdx,%rcx,4)
cmpl $9, %eax
je LBB3_37
LBB3_42:
cmpl $-1, _front(%rip)
jne LBB3_52
## %bb.43:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $19, (%rax)
xorl %ecx, %ecx
LBB3_44:
leal 1(%rcx), %eax
movl %eax, _rear(%rip)
movslq %ecx, %rcx
movq _q@GOTPCREL(%rip), %rdx
movl $21, 4(%rdx,%rcx,4)
cmpl $9, %eax
je LBB3_54
LBB3_45:
cmpl $-1, _front(%rip)
je LBB3_57
LBB3_46:
leal 1(%rax), %ecx
movl %ecx, _rear(%rip)
cltq
movq _q@GOTPCREL(%rip), %rdx
movl $22, 4(%rdx,%rax,4)
cmpl $9, %ecx
jne LBB3_55
LBB3_47:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $9, %eax
jne LBB3_59
LBB3_48:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %edx
cmpl $9, %edx
je LBB3_61
LBB3_49:
cmpl $-1, _front(%rip)
jne LBB3_66
## %bb.50:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $21, (%rax)
xorl %eax, %eax
xorl %ecx, %ecx
jmp LBB3_63
LBB3_51:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $10, (%rax)
xorl %eax, %eax
LBB3_52:
leal 1(%rax), %ecx
movl %ecx, _rear(%rip)
cltq
movq _q@GOTPCREL(%rip), %rdx
movl $19, 4(%rdx,%rax,4)
cmpl $9, %ecx
jne LBB3_38
LBB3_53:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $9, %eax
jne LBB3_45
LBB3_54:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %ecx
cmpl $9, %ecx
je LBB3_47
LBB3_55:
cmpl $-1, _front(%rip)
jne LBB3_58
## %bb.56:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $10, (%rax)
xorl %eax, %eax
jmp LBB3_60
LBB3_57:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $22, (%rax)
xorl %ecx, %ecx
LBB3_58:
leal 1(%rcx), %eax
movl %eax, _rear(%rip)
movslq %ecx, %rcx
movq _q@GOTPCREL(%rip), %rdx
movl $10, 4(%rdx,%rcx,4)
cmpl $9, %eax
je LBB3_48
LBB3_59:
cmpl $-1, _front(%rip)
je LBB3_65
LBB3_60:
leal 1(%rax), %edx
movl %edx, _rear(%rip)
cltq
movq _q@GOTPCREL(%rip), %rcx
movl $19, 4(%rcx,%rax,4)
cmpl $9, %edx
jne LBB3_49
LBB3_61:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %ecx
cmpl $9, %ecx
je LBB3_67
LBB3_62:
movl _front(%rip), %eax
cmpl $-1, %eax
je LBB3_64
LBB3_63:
leal 1(%rcx), %edx
movl %edx, _rear(%rip)
movslq %ecx, %rcx
movq _q@GOTPCREL(%rip), %rsi
movl $22, 4(%rsi,%rcx,4)
cmpl %edx, %eax
jg LBB3_71
jmp LBB3_69
LBB3_64:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $22, (%rax)
movl $0, _rear(%rip)
xorl %eax, %eax
jmp LBB3_69
LBB3_65:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $19, (%rax)
xorl %edx, %edx
LBB3_66:
leal 1(%rdx), %ecx
movl %ecx, _rear(%rip)
movslq %edx, %rax
movq _q@GOTPCREL(%rip), %rdx
movl $21, 4(%rdx,%rax,4)
cmpl $9, %ecx
jne LBB3_62
LBB3_67:
leaq L_str(%rip), %rdi
callq _puts
movl _front(%rip), %eax
movl _rear(%rip), %edx
cmpl %edx, %eax
jg LBB3_71
LBB3_69:
movslq %eax, %rbx
decq %rbx
movq _q@GOTPCREL(%rip), %r15
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB3_70: ## =>This Inner Loop Header: Depth=1
movl 4(%r15,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movslq _rear(%rip), %rax
incq %rbx
cmpq %rax, %rbx
jl LBB3_70
LBB3_71:
movl $10, %edi
callq _putchar
movslq _rear(%rip), %rcx
cmpq $9, %rcx
jne LBB3_76
## %bb.72:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $9, %eax
jne LBB3_78
LBB3_73:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %ecx
cmpl $9, %ecx
je LBB3_86
LBB3_74:
cmpl $-1, _front(%rip)
jne LBB3_80
## %bb.75:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $19, (%rax)
xorl %eax, %eax
jmp LBB3_82
LBB3_76:
cmpl $-1, _front(%rip)
je LBB3_84
## %bb.77:
leaq 1(%rcx), %rax
movl %eax, _rear(%rip)
movq _q@GOTPCREL(%rip), %rdx
movl $10, 4(%rdx,%rcx,4)
cmpl $9, %eax
je LBB3_73
LBB3_78:
cmpl $-1, _front(%rip)
jne LBB3_85
## %bb.79:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $10, (%rax)
xorl %ecx, %ecx
LBB3_80:
leal 1(%rcx), %eax
movl %eax, _rear(%rip)
movslq %ecx, %rcx
movq _q@GOTPCREL(%rip), %rdx
movl $19, 4(%rdx,%rcx,4)
cmpl $9, %eax
je LBB3_87
LBB3_81:
cmpl $-1, _front(%rip)
je LBB3_90
LBB3_82:
leal 1(%rax), %ecx
movl %ecx, _rear(%rip)
cltq
movq _q@GOTPCREL(%rip), %rdx
movl $21, 4(%rdx,%rax,4)
cmpl $9, %ecx
jne LBB3_88
LBB3_83:
leaq L_str(%rip), %rdi
callq _puts
movl _front(%rip), %eax
movl _rear(%rip), %edx
cmpl %edx, %eax
jg LBB3_95
jmp LBB3_93
LBB3_84:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $10, (%rax)
xorl %eax, %eax
LBB3_85:
leal 1(%rax), %ecx
movl %ecx, _rear(%rip)
cltq
movq _q@GOTPCREL(%rip), %rdx
movl $10, 4(%rdx,%rax,4)
cmpl $9, %ecx
jne LBB3_74
LBB3_86:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $9, %eax
jne LBB3_81
LBB3_87:
leaq L_str(%rip), %rdi
callq _puts
movl _rear(%rip), %ecx
cmpl $9, %ecx
je LBB3_83
LBB3_88:
movl _front(%rip), %eax
cmpl $-1, %eax
jne LBB3_91
## %bb.89:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $100, (%rax)
movl $0, _rear(%rip)
xorl %eax, %eax
jmp LBB3_93
LBB3_90:
movl $0, _front(%rip)
movq _q@GOTPCREL(%rip), %rax
movl $21, (%rax)
xorl %eax, %eax
xorl %ecx, %ecx
LBB3_91:
leal 1(%rcx), %edx
movl %edx, _rear(%rip)
movslq %ecx, %rcx
movq _q@GOTPCREL(%rip), %rsi
movl $100, 4(%rsi,%rcx,4)
cmpl %edx, %eax
jg LBB3_95
LBB3_93:
movslq %eax, %rbx
decq %rbx
movq _q@GOTPCREL(%rip), %r15
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB3_94: ## =>This Inner Loop Header: Depth=1
movl 4(%r15,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movslq _rear(%rip), %rax
incq %rbx
cmpq %rax, %rbx
jl LBB3_94
LBB3_95:
movl $10, %edi
callq _putchar
movl _rear(%rip), %eax
cmpl $-1, %eax
je LBB3_97
## %bb.96:
incl _front(%rip)
jmp LBB3_98
LBB3_97:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $-1, %eax
je LBB3_99
LBB3_98:
incl _front(%rip)
LBB3_100:
incl _front(%rip)
LBB3_102:
incl _front(%rip)
LBB3_104:
incl _front(%rip)
LBB3_106:
incl _front(%rip)
LBB3_108:
incl _front(%rip)
incl _front(%rip)
LBB3_112:
incl _front(%rip)
LBB3_113:
movl _front(%rip), %ecx
incl %ecx
movl %ecx, _front(%rip)
cmpl %eax, %ecx
jg LBB3_116
LBB3_114:
movslq %ecx, %rbx
decq %rbx
movq _q@GOTPCREL(%rip), %r15
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB3_115: ## =>This Inner Loop Header: Depth=1
movl 4(%r15,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movslq _rear(%rip), %rax
incq %rbx
cmpq %rax, %rbx
jl LBB3_115
LBB3_116:
movl $10, %edi
callq _putchar
cmpl $-1, _rear(%rip)
je LBB3_118
## %bb.117:
incl _front(%rip)
jmp LBB3_119
LBB3_118:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
cmpl $-1, _rear(%rip)
je LBB3_122
LBB3_119:
incl _front(%rip)
LBB3_120:
incl _front(%rip)
LBB3_121:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB3_99:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $-1, %eax
jne LBB3_100
## %bb.101:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $-1, %eax
jne LBB3_102
## %bb.103:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $-1, %eax
jne LBB3_104
## %bb.105:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $-1, %eax
jne LBB3_106
## %bb.107:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $-1, %eax
jne LBB3_108
## %bb.109:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $-1, %eax
je LBB3_111
## %bb.110:
incl _front(%rip)
jmp LBB3_112
LBB3_122:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
cmpl $-1, _rear(%rip)
jne LBB3_120
## %bb.123:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
jmp LBB3_121
LBB3_111:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $-1, %eax
jne LBB3_112
## %bb.124:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _rear(%rip), %eax
cmpl $-1, %eax
jne LBB3_113
## %bb.125:
movl $-1, _front(%rip)
leaq L_str.19(%rip), %rdi
callq _puts
movl _front(%rip), %ecx
movl _rear(%rip), %eax
cmpl %eax, %ecx
jle LBB3_114
jmp LBB3_116
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _front ## @front
.p2align 2
_front:
.long 4294967295 ## 0xffffffff
.globl _rear ## @rear
.p2align 2
_rear:
.long 4294967295 ## 0xffffffff
.comm _q,40,4 ## @q
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Quene underflow\n"
L_.str.2: ## @.str.2
.asciz "%d\t"
L_str: ## @str
.asciz "quene overflow"
L_str.19: ## @str.19
.asciz "Quene underflow"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insert ; -- Begin function insert
.p2align 2
_insert: ; @insert
.cfi_startproc
; %bb.0:
adrp x8, _rear@PAGE
ldr w9, [x8, _rear@PAGEOFF]
cmp w9, #9
b.ne LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
b _puts
LBB0_2:
adrp x10, _front@PAGE
ldr w11, [x10, _front@PAGEOFF]
cmn w11, #1
b.eq LBB0_4
; %bb.3:
add w9, w9, #1
str w9, [x8, _rear@PAGEOFF]
Lloh2:
adrp x8, _q@GOTPAGE
Lloh3:
ldr x8, [x8, _q@GOTPAGEOFF]
str w0, [x8, w9, sxtw #2]
ret
LBB0_4:
str wzr, [x10, _front@PAGEOFF]
Lloh4:
adrp x9, _q@GOTPAGE
Lloh5:
ldr x9, [x9, _q@GOTPAGEOFF]
Lloh6:
str w0, [x9]
str wzr, [x8, _rear@PAGEOFF]
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotStr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.globl _del ; -- Begin function del
.p2align 2
_del: ; @del
.cfi_startproc
; %bb.0:
Lloh7:
adrp x8, _rear@PAGE
Lloh8:
ldr w8, [x8, _rear@PAGEOFF]
cmn w8, #1
b.eq LBB1_2
; %bb.1:
Lloh9:
adrp x8, _front@PAGE
ldrsw x9, [x8, _front@PAGEOFF]
add w10, w9, #1
str w10, [x8, _front@PAGEOFF]
Lloh10:
adrp x8, _q@GOTPAGE
Lloh11:
ldr x8, [x8, _q@GOTPAGEOFF]
ldr w0, [x8, x9, lsl #2]
ret
LBB1_2:
adrp x9, _front@PAGE
str w8, [x9, _front@PAGEOFF]
Lloh12:
adrp x0, l_.str.1@PAGE
Lloh13:
add x0, x0, l_.str.1@PAGEOFF
b _printf
.loh AdrpLdr Lloh7, Lloh8
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdrp Lloh9, Lloh10
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _print ; -- Begin function print
.p2align 2
_print: ; @print
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh14:
adrp x8, _front@PAGE
Lloh15:
ldrsw x20, [x8, _front@PAGEOFF]
adrp x21, _rear@PAGE
ldr w8, [x21, _rear@PAGEOFF]
cmp w20, w8
b.gt LBB2_3
; %bb.1:
Lloh16:
adrp x22, _q@GOTPAGE
Lloh17:
ldr x22, [x22, _q@GOTPAGEOFF]
Lloh18:
adrp x19, l_.str.2@PAGE
Lloh19:
add x19, x19, l_.str.2@PAGEOFF
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22, x20, lsl #2]
str x8, [sp]
mov x0, x19
bl _printf
add x8, x20, #1
ldrsw x9, [x21, _rear@PAGEOFF]
cmp x20, x9
mov x20, x8
b.lt LBB2_2
LBB2_3:
mov w0, #10
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _putchar
.loh AdrpLdr Lloh14, Lloh15
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
adrp x21, _rear@PAGE
ldr w8, [x21, _rear@PAGEOFF]
adrp x20, _front@PAGE
cmp w8, #9
b.ne LBB3_5
; %bb.1:
Lloh20:
adrp x0, l_str@PAGE
Lloh21:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.ne LBB3_7
LBB3_2:
Lloh22:
adrp x0, l_str@PAGE
Lloh23:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.eq LBB3_14
LBB3_3:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.ne LBB3_9
; %bb.4:
mov w8, #0
mov w9, #0
str wzr, [x20, _front@PAGEOFF]
Lloh24:
adrp x10, _q@GOTPAGE
Lloh25:
ldr x10, [x10, _q@GOTPAGEOFF]
mov w11, #21
Lloh26:
str w11, [x10]
b LBB3_11
LBB3_5:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.eq LBB3_12
; %bb.6:
add w8, w8, #1
str w8, [x21, _rear@PAGEOFF]
Lloh27:
adrp x9, _q@GOTPAGE
Lloh28:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #10
str w10, [x9, w8, sxtw #2]
cmp w8, #9
b.eq LBB3_2
LBB3_7:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.ne LBB3_13
; %bb.8:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh29:
adrp x9, _q@GOTPAGE
Lloh30:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #19
Lloh31:
str w10, [x9]
LBB3_9:
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
add x9, x8, #1
str w9, [x21, _rear@PAGEOFF]
Lloh32:
adrp x8, _q@GOTPAGE
Lloh33:
ldr x8, [x8, _q@GOTPAGEOFF]
mov w10, #21
str w10, [x8, x9, lsl #2]
cmp w9, #9
b.eq LBB3_15
LBB3_10:
ldr w8, [x20, _front@PAGEOFF]
cmn w8, #1
b.eq LBB3_17
LBB3_11:
; kill: def $w9 killed $w9 killed $x9 def $x9
sxtw x9, w9
add x9, x9, #1
str w9, [x21, _rear@PAGEOFF]
Lloh34:
adrp x10, _q@GOTPAGE
Lloh35:
ldr x10, [x10, _q@GOTPAGEOFF]
mov w11, #22
str w11, [x10, x9, lsl #2]
b LBB3_16
LBB3_12:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh36:
adrp x9, _q@GOTPAGE
Lloh37:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #10
Lloh38:
str w10, [x9]
LBB3_13:
sxtw x8, w8
add x8, x8, #1
str w8, [x21, _rear@PAGEOFF]
Lloh39:
adrp x9, _q@GOTPAGE
Lloh40:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #19
str w10, [x9, x8, lsl #2]
cmp w8, #9
b.ne LBB3_3
LBB3_14:
Lloh41:
adrp x0, l_str@PAGE
Lloh42:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w9, [x21, _rear@PAGEOFF]
cmp w9, #9
b.ne LBB3_10
LBB3_15:
Lloh43:
adrp x0, l_str@PAGE
Lloh44:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x20, _front@PAGEOFF]
ldr w9, [x21, _rear@PAGEOFF]
LBB3_16:
cmp w8, w9
b.le LBB3_18
b LBB3_20
LBB3_17:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh45:
adrp x9, _q@GOTPAGE
Lloh46:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #22
Lloh47:
str w10, [x9]
str wzr, [x21, _rear@PAGEOFF]
LBB3_18:
sxtw x22, w8
Lloh48:
adrp x23, _q@GOTPAGE
Lloh49:
ldr x23, [x23, _q@GOTPAGEOFF]
Lloh50:
adrp x19, l_.str.2@PAGE
Lloh51:
add x19, x19, l_.str.2@PAGEOFF
LBB3_19: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23, x22, lsl #2]
str x8, [sp]
mov x0, x19
bl _printf
add x8, x22, #1
ldrsw x9, [x21, _rear@PAGEOFF]
cmp x22, x9
mov x22, x8
b.lt LBB3_19
LBB3_20:
mov w0, #10
bl _putchar
ldr w9, [x21, _rear@PAGEOFF]
cmn w9, #1
b.eq LBB3_22
; %bb.21:
ldr w8, [x20, _front@PAGEOFF]
add w8, w8, #1
str w8, [x20, _front@PAGEOFF]
cmp w8, w9
b.le LBB3_23
b LBB3_25
LBB3_22:
mov w8, #-1
str w8, [x20, _front@PAGEOFF]
Lloh52:
adrp x0, l_str.19@PAGE
Lloh53:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x20, _front@PAGEOFF]
ldr w9, [x21, _rear@PAGEOFF]
cmp w8, w9
b.gt LBB3_25
LBB3_23:
sxtw x22, w8
Lloh54:
adrp x23, _q@GOTPAGE
Lloh55:
ldr x23, [x23, _q@GOTPAGEOFF]
Lloh56:
adrp x19, l_.str.2@PAGE
Lloh57:
add x19, x19, l_.str.2@PAGEOFF
LBB3_24: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23, x22, lsl #2]
str x8, [sp]
mov x0, x19
bl _printf
add x8, x22, #1
ldrsw x9, [x21, _rear@PAGEOFF]
cmp x22, x9
mov x22, x8
b.lt LBB3_24
LBB3_25:
mov w0, #10
bl _putchar
ldr w9, [x21, _rear@PAGEOFF]
cmn w9, #1
b.eq LBB3_27
; %bb.26:
ldr w8, [x20, _front@PAGEOFF]
add w8, w8, #1
str w8, [x20, _front@PAGEOFF]
cmp w8, w9
b.le LBB3_28
b LBB3_30
LBB3_27:
mov w8, #-1
str w8, [x20, _front@PAGEOFF]
Lloh58:
adrp x0, l_str.19@PAGE
Lloh59:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x20, _front@PAGEOFF]
ldr w9, [x21, _rear@PAGEOFF]
cmp w8, w9
b.gt LBB3_30
LBB3_28:
sxtw x22, w8
Lloh60:
adrp x23, _q@GOTPAGE
Lloh61:
ldr x23, [x23, _q@GOTPAGEOFF]
Lloh62:
adrp x19, l_.str.2@PAGE
Lloh63:
add x19, x19, l_.str.2@PAGEOFF
LBB3_29: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23, x22, lsl #2]
str x8, [sp]
mov x0, x19
bl _printf
add x8, x22, #1
ldrsw x9, [x21, _rear@PAGEOFF]
cmp x22, x9
mov x22, x8
b.lt LBB3_29
LBB3_30:
mov w0, #10
bl _putchar
ldr w9, [x21, _rear@PAGEOFF]
cmn w9, #1
b.eq LBB3_32
; %bb.31:
ldr w8, [x20, _front@PAGEOFF]
add w8, w8, #1
str w8, [x20, _front@PAGEOFF]
cmp w8, w9
b.le LBB3_33
b LBB3_35
LBB3_32:
mov w8, #-1
str w8, [x20, _front@PAGEOFF]
Lloh64:
adrp x0, l_str.19@PAGE
Lloh65:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x20, _front@PAGEOFF]
ldr w9, [x21, _rear@PAGEOFF]
cmp w8, w9
b.gt LBB3_35
LBB3_33:
sxtw x22, w8
Lloh66:
adrp x23, _q@GOTPAGE
Lloh67:
ldr x23, [x23, _q@GOTPAGEOFF]
Lloh68:
adrp x19, l_.str.2@PAGE
Lloh69:
add x19, x19, l_.str.2@PAGEOFF
LBB3_34: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23, x22, lsl #2]
str x8, [sp]
mov x0, x19
bl _printf
add x8, x22, #1
ldrsw x9, [x21, _rear@PAGEOFF]
cmp x22, x9
mov x22, x8
b.lt LBB3_34
LBB3_35:
mov w0, #10
bl _putchar
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.ne LBB3_40
; %bb.36:
Lloh70:
adrp x0, l_str@PAGE
Lloh71:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.ne LBB3_42
LBB3_37:
Lloh72:
adrp x0, l_str@PAGE
Lloh73:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.eq LBB3_53
LBB3_38:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.ne LBB3_44
; %bb.39:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh74:
adrp x9, _q@GOTPAGE
Lloh75:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #21
Lloh76:
str w10, [x9]
b LBB3_46
LBB3_40:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.eq LBB3_51
; %bb.41:
add w8, w8, #1
str w8, [x21, _rear@PAGEOFF]
Lloh77:
adrp x9, _q@GOTPAGE
Lloh78:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #10
str w10, [x9, w8, sxtw #2]
cmp w8, #9
b.eq LBB3_37
LBB3_42:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.ne LBB3_52
; %bb.43:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh79:
adrp x9, _q@GOTPAGE
Lloh80:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #19
Lloh81:
str w10, [x9]
LBB3_44:
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
add x8, x8, #1
str w8, [x21, _rear@PAGEOFF]
Lloh82:
adrp x9, _q@GOTPAGE
Lloh83:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #21
str w10, [x9, x8, lsl #2]
cmp w8, #9
b.eq LBB3_54
LBB3_45:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.eq LBB3_57
LBB3_46:
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
add x8, x8, #1
str w8, [x21, _rear@PAGEOFF]
Lloh84:
adrp x9, _q@GOTPAGE
Lloh85:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #22
str w10, [x9, x8, lsl #2]
cmp w8, #9
b.ne LBB3_55
LBB3_47:
Lloh86:
adrp x0, l_str@PAGE
Lloh87:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.ne LBB3_59
LBB3_48:
Lloh88:
adrp x0, l_str@PAGE
Lloh89:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.eq LBB3_61
LBB3_49:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.ne LBB3_66
; %bb.50:
mov w8, #0
mov w9, #0
str wzr, [x20, _front@PAGEOFF]
Lloh90:
adrp x10, _q@GOTPAGE
Lloh91:
ldr x10, [x10, _q@GOTPAGEOFF]
mov w11, #21
Lloh92:
str w11, [x10]
b LBB3_63
LBB3_51:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh93:
adrp x9, _q@GOTPAGE
Lloh94:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #10
Lloh95:
str w10, [x9]
LBB3_52:
sxtw x8, w8
add x8, x8, #1
str w8, [x21, _rear@PAGEOFF]
Lloh96:
adrp x9, _q@GOTPAGE
Lloh97:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #19
str w10, [x9, x8, lsl #2]
cmp w8, #9
b.ne LBB3_38
LBB3_53:
Lloh98:
adrp x0, l_str@PAGE
Lloh99:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.ne LBB3_45
LBB3_54:
Lloh100:
adrp x0, l_str@PAGE
Lloh101:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.eq LBB3_47
LBB3_55:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.ne LBB3_58
; %bb.56:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh102:
adrp x9, _q@GOTPAGE
Lloh103:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #10
Lloh104:
str w10, [x9]
b LBB3_60
LBB3_57:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh105:
adrp x9, _q@GOTPAGE
Lloh106:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #22
Lloh107:
str w10, [x9]
LBB3_58:
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
add x8, x8, #1
str w8, [x21, _rear@PAGEOFF]
Lloh108:
adrp x9, _q@GOTPAGE
Lloh109:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #10
str w10, [x9, x8, lsl #2]
cmp w8, #9
b.eq LBB3_48
LBB3_59:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.eq LBB3_65
LBB3_60:
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
add x8, x8, #1
str w8, [x21, _rear@PAGEOFF]
Lloh110:
adrp x9, _q@GOTPAGE
Lloh111:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #19
str w10, [x9, x8, lsl #2]
cmp w8, #9
b.ne LBB3_49
LBB3_61:
Lloh112:
adrp x0, l_str@PAGE
Lloh113:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w9, [x21, _rear@PAGEOFF]
cmp w9, #9
b.eq LBB3_67
LBB3_62:
ldr w8, [x20, _front@PAGEOFF]
cmn w8, #1
b.eq LBB3_64
LBB3_63:
; kill: def $w9 killed $w9 killed $x9 def $x9
sxtw x9, w9
add x9, x9, #1
str w9, [x21, _rear@PAGEOFF]
Lloh114:
adrp x10, _q@GOTPAGE
Lloh115:
ldr x10, [x10, _q@GOTPAGEOFF]
mov w11, #22
str w11, [x10, x9, lsl #2]
b LBB3_68
LBB3_64:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh116:
adrp x9, _q@GOTPAGE
Lloh117:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #22
Lloh118:
str w10, [x9]
str wzr, [x21, _rear@PAGEOFF]
b LBB3_69
LBB3_65:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh119:
adrp x9, _q@GOTPAGE
Lloh120:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #19
Lloh121:
str w10, [x9]
LBB3_66:
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
add x9, x8, #1
str w9, [x21, _rear@PAGEOFF]
Lloh122:
adrp x8, _q@GOTPAGE
Lloh123:
ldr x8, [x8, _q@GOTPAGEOFF]
mov w10, #21
str w10, [x8, x9, lsl #2]
cmp w9, #9
b.ne LBB3_62
LBB3_67:
Lloh124:
adrp x0, l_str@PAGE
Lloh125:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x20, _front@PAGEOFF]
ldr w9, [x21, _rear@PAGEOFF]
LBB3_68:
cmp w8, w9
b.gt LBB3_71
LBB3_69:
sxtw x22, w8
Lloh126:
adrp x23, _q@GOTPAGE
Lloh127:
ldr x23, [x23, _q@GOTPAGEOFF]
Lloh128:
adrp x19, l_.str.2@PAGE
Lloh129:
add x19, x19, l_.str.2@PAGEOFF
LBB3_70: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23, x22, lsl #2]
str x8, [sp]
mov x0, x19
bl _printf
add x8, x22, #1
ldrsw x9, [x21, _rear@PAGEOFF]
cmp x22, x9
mov x22, x8
b.lt LBB3_70
LBB3_71:
mov w0, #10
bl _putchar
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.ne LBB3_76
; %bb.72:
Lloh130:
adrp x0, l_str@PAGE
Lloh131:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.ne LBB3_78
LBB3_73:
Lloh132:
adrp x0, l_str@PAGE
Lloh133:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.eq LBB3_86
LBB3_74:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.ne LBB3_80
; %bb.75:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh134:
adrp x9, _q@GOTPAGE
Lloh135:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #19
Lloh136:
str w10, [x9]
b LBB3_82
LBB3_76:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.eq LBB3_84
; %bb.77:
add w8, w8, #1
str w8, [x21, _rear@PAGEOFF]
Lloh137:
adrp x9, _q@GOTPAGE
Lloh138:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #10
str w10, [x9, w8, sxtw #2]
cmp w8, #9
b.eq LBB3_73
LBB3_78:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.ne LBB3_85
; %bb.79:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh139:
adrp x9, _q@GOTPAGE
Lloh140:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #10
Lloh141:
str w10, [x9]
LBB3_80:
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
add x8, x8, #1
str w8, [x21, _rear@PAGEOFF]
Lloh142:
adrp x9, _q@GOTPAGE
Lloh143:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #19
str w10, [x9, x8, lsl #2]
cmp w8, #9
b.eq LBB3_87
LBB3_81:
ldr w9, [x20, _front@PAGEOFF]
cmn w9, #1
b.eq LBB3_90
LBB3_82:
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
add x9, x8, #1
str w9, [x21, _rear@PAGEOFF]
Lloh144:
adrp x8, _q@GOTPAGE
Lloh145:
ldr x8, [x8, _q@GOTPAGEOFF]
mov w10, #21
str w10, [x8, x9, lsl #2]
cmp w9, #9
b.ne LBB3_88
LBB3_83:
Lloh146:
adrp x0, l_str@PAGE
Lloh147:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x20, _front@PAGEOFF]
ldr w9, [x21, _rear@PAGEOFF]
b LBB3_92
LBB3_84:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh148:
adrp x9, _q@GOTPAGE
Lloh149:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #10
Lloh150:
str w10, [x9]
LBB3_85:
sxtw x8, w8
add x8, x8, #1
str w8, [x21, _rear@PAGEOFF]
Lloh151:
adrp x9, _q@GOTPAGE
Lloh152:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #10
str w10, [x9, x8, lsl #2]
cmp w8, #9
b.ne LBB3_74
LBB3_86:
Lloh153:
adrp x0, l_str@PAGE
Lloh154:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmp w8, #9
b.ne LBB3_81
LBB3_87:
Lloh155:
adrp x0, l_str@PAGE
Lloh156:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w9, [x21, _rear@PAGEOFF]
cmp w9, #9
b.eq LBB3_83
LBB3_88:
ldr w8, [x20, _front@PAGEOFF]
cmn w8, #1
b.ne LBB3_91
; %bb.89:
mov w8, #0
str wzr, [x20, _front@PAGEOFF]
Lloh157:
adrp x9, _q@GOTPAGE
Lloh158:
ldr x9, [x9, _q@GOTPAGEOFF]
mov w10, #100
Lloh159:
str w10, [x9]
str wzr, [x21, _rear@PAGEOFF]
b LBB3_93
LBB3_90:
mov w8, #0
mov w9, #0
str wzr, [x20, _front@PAGEOFF]
Lloh160:
adrp x10, _q@GOTPAGE
Lloh161:
ldr x10, [x10, _q@GOTPAGEOFF]
mov w11, #21
Lloh162:
str w11, [x10]
LBB3_91:
; kill: def $w9 killed $w9 killed $x9 def $x9
sxtw x9, w9
add x9, x9, #1
str w9, [x21, _rear@PAGEOFF]
Lloh163:
adrp x10, _q@GOTPAGE
Lloh164:
ldr x10, [x10, _q@GOTPAGEOFF]
mov w11, #100
str w11, [x10, x9, lsl #2]
LBB3_92:
cmp w8, w9
b.gt LBB3_95
LBB3_93:
sxtw x22, w8
Lloh165:
adrp x23, _q@GOTPAGE
Lloh166:
ldr x23, [x23, _q@GOTPAGEOFF]
Lloh167:
adrp x19, l_.str.2@PAGE
Lloh168:
add x19, x19, l_.str.2@PAGEOFF
LBB3_94: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23, x22, lsl #2]
str x8, [sp]
mov x0, x19
bl _printf
add x8, x22, #1
ldrsw x9, [x21, _rear@PAGEOFF]
cmp x22, x9
mov x22, x8
b.lt LBB3_94
LBB3_95:
mov w0, #10
bl _putchar
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.eq LBB3_97
; %bb.96:
ldr w9, [x20, _front@PAGEOFF]
add w9, w9, #1
str w9, [x20, _front@PAGEOFF]
b LBB3_98
LBB3_97:
mov w19, #-1
str w19, [x20, _front@PAGEOFF]
Lloh169:
adrp x0, l_str.19@PAGE
Lloh170:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.eq LBB3_115
LBB3_98:
ldr w9, [x20, _front@PAGEOFF]
add w9, w9, #1
str w9, [x20, _front@PAGEOFF]
LBB3_99:
ldr w9, [x20, _front@PAGEOFF]
add w9, w9, #1
str w9, [x20, _front@PAGEOFF]
LBB3_100:
ldr w9, [x20, _front@PAGEOFF]
add w9, w9, #1
str w9, [x20, _front@PAGEOFF]
LBB3_101:
ldr w9, [x20, _front@PAGEOFF]
add w9, w9, #1
str w9, [x20, _front@PAGEOFF]
LBB3_102:
ldr w9, [x20, _front@PAGEOFF]
add w9, w9, #1
str w9, [x20, _front@PAGEOFF]
LBB3_103:
ldr w9, [x20, _front@PAGEOFF]
add w9, w9, #1
str w9, [x20, _front@PAGEOFF]
LBB3_104:
ldr w9, [x20, _front@PAGEOFF]
add w9, w9, #1
str w9, [x20, _front@PAGEOFF]
LBB3_105:
ldr w9, [x20, _front@PAGEOFF]
add w9, w9, #1
str w9, [x20, _front@PAGEOFF]
LBB3_106:
ldr w9, [x20, _front@PAGEOFF]
add w9, w9, #1
str w9, [x20, _front@PAGEOFF]
cmp w9, w8
b.gt LBB3_109
LBB3_107:
sxtw x22, w9
Lloh171:
adrp x23, _q@GOTPAGE
Lloh172:
ldr x23, [x23, _q@GOTPAGEOFF]
Lloh173:
adrp x19, l_.str.2@PAGE
Lloh174:
add x19, x19, l_.str.2@PAGEOFF
LBB3_108: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23, x22, lsl #2]
str x8, [sp]
mov x0, x19
bl _printf
add x8, x22, #1
ldrsw x9, [x21, _rear@PAGEOFF]
cmp x22, x9
mov x22, x8
b.lt LBB3_108
LBB3_109:
mov w0, #10
bl _putchar
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.eq LBB3_111
; %bb.110:
ldr w8, [x20, _front@PAGEOFF]
add w8, w8, #1
str w8, [x20, _front@PAGEOFF]
b LBB3_112
LBB3_111:
mov w19, #-1
str w19, [x20, _front@PAGEOFF]
Lloh175:
adrp x0, l_str.19@PAGE
Lloh176:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.eq LBB3_124
LBB3_112:
ldr w8, [x20, _front@PAGEOFF]
add w8, w8, #1
str w8, [x20, _front@PAGEOFF]
LBB3_113:
ldr w8, [x20, _front@PAGEOFF]
add w8, w8, #1
str w8, [x20, _front@PAGEOFF]
LBB3_114:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB3_115:
str w19, [x20, _front@PAGEOFF]
Lloh177:
adrp x0, l_str.19@PAGE
Lloh178:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.ne LBB3_99
; %bb.116:
mov w19, #-1
str w19, [x20, _front@PAGEOFF]
Lloh179:
adrp x0, l_str.19@PAGE
Lloh180:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.ne LBB3_100
; %bb.117:
str w19, [x20, _front@PAGEOFF]
Lloh181:
adrp x0, l_str.19@PAGE
Lloh182:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.ne LBB3_101
; %bb.118:
mov w19, #-1
str w19, [x20, _front@PAGEOFF]
Lloh183:
adrp x0, l_str.19@PAGE
Lloh184:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.ne LBB3_102
; %bb.119:
str w19, [x20, _front@PAGEOFF]
Lloh185:
adrp x0, l_str.19@PAGE
Lloh186:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.ne LBB3_103
; %bb.120:
mov w19, #-1
str w19, [x20, _front@PAGEOFF]
Lloh187:
adrp x0, l_str.19@PAGE
Lloh188:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.ne LBB3_104
; %bb.121:
str w19, [x20, _front@PAGEOFF]
Lloh189:
adrp x0, l_str.19@PAGE
Lloh190:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.ne LBB3_105
; %bb.122:
mov w19, #-1
str w19, [x20, _front@PAGEOFF]
Lloh191:
adrp x0, l_str.19@PAGE
Lloh192:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.ne LBB3_106
; %bb.123:
str w19, [x20, _front@PAGEOFF]
Lloh193:
adrp x0, l_str.19@PAGE
Lloh194:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w9, [x20, _front@PAGEOFF]
ldr w8, [x21, _rear@PAGEOFF]
cmp w9, w8
b.le LBB3_107
b LBB3_109
LBB3_124:
str w19, [x20, _front@PAGEOFF]
Lloh195:
adrp x0, l_str.19@PAGE
Lloh196:
add x0, x0, l_str.19@PAGEOFF
bl _puts
ldr w8, [x21, _rear@PAGEOFF]
cmn w8, #1
b.ne LBB3_113
; %bb.125:
str w8, [x20, _front@PAGEOFF]
Lloh197:
adrp x0, l_str.19@PAGE
Lloh198:
add x0, x0, l_str.19@PAGEOFF
bl _puts
b LBB3_114
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotStr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotStr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGotStr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpLdrGot Lloh48, Lloh49
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpLdrGot Lloh54, Lloh55
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpLdrGot Lloh60, Lloh61
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpLdrGot Lloh66, Lloh67
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpLdrGotStr Lloh74, Lloh75, Lloh76
.loh AdrpLdrGot Lloh77, Lloh78
.loh AdrpLdrGotStr Lloh79, Lloh80, Lloh81
.loh AdrpLdrGot Lloh82, Lloh83
.loh AdrpLdrGot Lloh84, Lloh85
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92
.loh AdrpLdrGotStr Lloh93, Lloh94, Lloh95
.loh AdrpLdrGot Lloh96, Lloh97
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpLdrGotStr Lloh102, Lloh103, Lloh104
.loh AdrpLdrGotStr Lloh105, Lloh106, Lloh107
.loh AdrpLdrGot Lloh108, Lloh109
.loh AdrpLdrGot Lloh110, Lloh111
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpLdrGot Lloh114, Lloh115
.loh AdrpLdrGotStr Lloh116, Lloh117, Lloh118
.loh AdrpLdrGotStr Lloh119, Lloh120, Lloh121
.loh AdrpLdrGot Lloh122, Lloh123
.loh AdrpAdd Lloh124, Lloh125
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpLdrGot Lloh126, Lloh127
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpLdrGotStr Lloh134, Lloh135, Lloh136
.loh AdrpLdrGot Lloh137, Lloh138
.loh AdrpLdrGotStr Lloh139, Lloh140, Lloh141
.loh AdrpLdrGot Lloh142, Lloh143
.loh AdrpLdrGot Lloh144, Lloh145
.loh AdrpAdd Lloh146, Lloh147
.loh AdrpLdrGotStr Lloh148, Lloh149, Lloh150
.loh AdrpLdrGot Lloh151, Lloh152
.loh AdrpAdd Lloh153, Lloh154
.loh AdrpAdd Lloh155, Lloh156
.loh AdrpLdrGotStr Lloh157, Lloh158, Lloh159
.loh AdrpLdrGotStr Lloh160, Lloh161, Lloh162
.loh AdrpLdrGot Lloh163, Lloh164
.loh AdrpAdd Lloh167, Lloh168
.loh AdrpLdrGot Lloh165, Lloh166
.loh AdrpAdd Lloh169, Lloh170
.loh AdrpAdd Lloh173, Lloh174
.loh AdrpLdrGot Lloh171, Lloh172
.loh AdrpAdd Lloh175, Lloh176
.loh AdrpAdd Lloh177, Lloh178
.loh AdrpAdd Lloh179, Lloh180
.loh AdrpAdd Lloh181, Lloh182
.loh AdrpAdd Lloh183, Lloh184
.loh AdrpAdd Lloh185, Lloh186
.loh AdrpAdd Lloh187, Lloh188
.loh AdrpAdd Lloh189, Lloh190
.loh AdrpAdd Lloh191, Lloh192
.loh AdrpAdd Lloh193, Lloh194
.loh AdrpAdd Lloh195, Lloh196
.loh AdrpAdd Lloh197, Lloh198
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _front ; @front
.p2align 2
_front:
.long 4294967295 ; 0xffffffff
.globl _rear ; @rear
.p2align 2
_rear:
.long 4294967295 ; 0xffffffff
.comm _q,40,2 ; @q
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Quene underflow\n"
l_.str.2: ; @.str.2
.asciz "%d\t"
l_str: ; @str
.asciz "quene overflow"
l_str.19: ; @str.19
.asciz "Quene underflow"
.subsections_via_symbols
| the_stack_data/193892773.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/232954780.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mt7615_mcu_gen_dl_mode
_mt7615_mcu_gen_dl_mode: ## @mt7615_mcu_gen_dl_mode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movl %edi, %esi
movq _FW_FEATURE_SET_ENCRYPT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _DL_MODE_ENCRYPT@GOTPCREL(%rip), %rcx
movq _DL_MODE_RESET_SEC_IV@GOTPCREL(%rip), %rdx
movl (%rdx), %ebx
orl (%rcx), %ebx
andl %edi, %eax
testl %eax, %eax
cmovel %eax, %ebx
movq _DL_MODE_KEY_IDX@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _FW_FEATURE_SET_KEY_IDX@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _FIELD_GET
movl %r15d, %edi
movl %eax, %esi
callq _FIELD_PREP
orl %ebx, %eax
movq _DL_MODE_NEED_RSP@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
testl %r14d, %r14d
je LBB0_2
## %bb.1:
movq _DL_MODE_WORKING_PDA_CR4@GOTPCREL(%rip), %rcx
movl (%rcx), %r14d
LBB0_2:
orl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FW_FEATURE_SET_ENCRYPT,4,2 ## @FW_FEATURE_SET_ENCRYPT
.comm _DL_MODE_ENCRYPT,4,2 ## @DL_MODE_ENCRYPT
.comm _DL_MODE_RESET_SEC_IV,4,2 ## @DL_MODE_RESET_SEC_IV
.comm _DL_MODE_KEY_IDX,4,2 ## @DL_MODE_KEY_IDX
.comm _FW_FEATURE_SET_KEY_IDX,4,2 ## @FW_FEATURE_SET_KEY_IDX
.comm _DL_MODE_NEED_RSP,4,2 ## @DL_MODE_NEED_RSP
.comm _DL_MODE_WORKING_PDA_CR4,4,2 ## @DL_MODE_WORKING_PDA_CR4
.no_dead_strip _mt7615_mcu_gen_dl_mode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mt7615_mcu_gen_dl_mode
_mt7615_mcu_gen_dl_mode: ; @mt7615_mcu_gen_dl_mode
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x1, x0
Lloh0:
adrp x8, _FW_FEATURE_SET_ENCRYPT@GOTPAGE
Lloh1:
ldr x8, [x8, _FW_FEATURE_SET_ENCRYPT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _DL_MODE_ENCRYPT@GOTPAGE
Lloh4:
ldr x9, [x9, _DL_MODE_ENCRYPT@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
Lloh6:
adrp x10, _DL_MODE_RESET_SEC_IV@GOTPAGE
Lloh7:
ldr x10, [x10, _DL_MODE_RESET_SEC_IV@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
orr w9, w10, w9
tst w8, w0
csel w21, wzr, w9, eq
Lloh9:
adrp x8, _DL_MODE_KEY_IDX@GOTPAGE
Lloh10:
ldr x8, [x8, _DL_MODE_KEY_IDX@GOTPAGEOFF]
Lloh11:
ldr w20, [x8]
Lloh12:
adrp x8, _FW_FEATURE_SET_KEY_IDX@GOTPAGE
Lloh13:
ldr x8, [x8, _FW_FEATURE_SET_KEY_IDX@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
bl _FIELD_GET
mov x1, x0
mov x0, x20
bl _FIELD_PREP
orr w8, w0, w21
Lloh15:
adrp x9, _DL_MODE_NEED_RSP@GOTPAGE
Lloh16:
ldr x9, [x9, _DL_MODE_NEED_RSP@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
Lloh18:
adrp x10, _DL_MODE_WORKING_PDA_CR4@GOTPAGE
Lloh19:
ldr x10, [x10, _DL_MODE_WORKING_PDA_CR4@GOTPAGEOFF]
orr w8, w8, w9
Lloh20:
ldr w9, [x10]
cmp w19, #0
csel w9, wzr, w9, eq
orr w0, w8, w9
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FW_FEATURE_SET_ENCRYPT,4,2 ; @FW_FEATURE_SET_ENCRYPT
.comm _DL_MODE_ENCRYPT,4,2 ; @DL_MODE_ENCRYPT
.comm _DL_MODE_RESET_SEC_IV,4,2 ; @DL_MODE_RESET_SEC_IV
.comm _DL_MODE_KEY_IDX,4,2 ; @DL_MODE_KEY_IDX
.comm _FW_FEATURE_SET_KEY_IDX,4,2 ; @FW_FEATURE_SET_KEY_IDX
.comm _DL_MODE_NEED_RSP,4,2 ; @DL_MODE_NEED_RSP
.comm _DL_MODE_WORKING_PDA_CR4,4,2 ; @DL_MODE_WORKING_PDA_CR4
.no_dead_strip _mt7615_mcu_gen_dl_mode
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7615/extr_mcu.c_mt7615_mcu_gen_dl_mode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lpfc_mbx_cmpl_read_fcf_rec ## -- Begin function lpfc_mbx_cmpl_read_fcf_rec
.p2align 4, 0x90
_lpfc_mbx_cmpl_read_fcf_rec: ## @lpfc_mbx_cmpl_read_fcf_rec
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rax
movq _LPFC_LINK_UP@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jl LBB0_6
## %bb.1:
movq _FCF_DISCOVERY@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 8(%rbx)
je LBB0_6
## %bb.2:
leaq -40(%rbp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq _lpfc_sli4_fcf_rec_mbox_parse
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, %r15
leaq -48(%rbp), %rdx
leaq -44(%rbp), %rcx
leaq -36(%rbp), %r8
movq %rbx, %rdi
movq %rax, %rsi
callq _lpfc_match_fcf_conn_list
movl %eax, %r12d
movl -36(%rbp), %edx
movl -40(%rbp), %ecx
movq %rbx, %rdi
movq %r15, %rsi
callq _lpfc_sli4_log_fcf_record_info
testl %r12d, %r12d
je LBB0_6
## %bb.5:
movq _lpfc_fcf_record_fcf_index@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rsi
callq _bf_get
movq %rbx, %rdi
movl %eax, %esi
movq %r15, %rdx
callq _lpfc_sli4_fcf_pri_list_add
jmp LBB0_6
LBB0_3:
movq _KERN_INFO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _LOG_FIP@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rcx
movq %rbx, %rdi
callq _lpfc_printf_log
LBB0_6:
movq %rbx, %rdi
movq %r14, %rsi
callq _lpfc_sli4_mbox_cmd_free
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LPFC_LINK_UP,8,3 ## @LPFC_LINK_UP
.comm _FCF_DISCOVERY,4,2 ## @FCF_DISCOVERY
.comm _KERN_INFO,4,2 ## @KERN_INFO
.comm _LOG_FIP,4,2 ## @LOG_FIP
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "2767 Mailbox command READ_FCF_RECORD failed to retrieve a FCF record.\n"
.comm _lpfc_fcf_record_fcf_index,4,2 ## @lpfc_fcf_record_fcf_index
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lpfc_mbx_cmpl_read_fcf_rec ; -- Begin function lpfc_mbx_cmpl_read_fcf_rec
.p2align 2
_lpfc_mbx_cmpl_read_fcf_rec: ; @lpfc_mbx_cmpl_read_fcf_rec
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldr x8, [x0]
Lloh0:
adrp x9, _LPFC_LINK_UP@GOTPAGE
Lloh1:
ldr x9, [x9, _LPFC_LINK_UP@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.lt LBB0_6
; %bb.1:
ldr w8, [x20, #8]
Lloh3:
adrp x9, _FCF_DISCOVERY@GOTPAGE
Lloh4:
ldr x9, [x9, _FCF_DISCOVERY@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_6
; %bb.2:
add x2, sp, #4
mov x0, x20
mov x1, x19
bl _lpfc_sli4_fcf_rec_mbox_parse
cbz x0, LBB0_5
; %bb.3:
mov x21, x0
add x2, sp, #12
add x3, sp, #8
mov x4, sp
mov x0, x20
mov x1, x21
bl _lpfc_match_fcf_conn_list
mov x22, x0
ldp w2, w3, [sp]
mov x0, x20
mov x1, x21
bl _lpfc_sli4_log_fcf_record_info
cbz w22, LBB0_6
; %bb.4:
Lloh6:
adrp x8, _lpfc_fcf_record_fcf_index@GOTPAGE
Lloh7:
ldr x8, [x8, _lpfc_fcf_record_fcf_index@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
mov x1, x21
bl _bf_get
mov x1, x0
mov x0, x20
mov x2, x21
bl _lpfc_sli4_fcf_pri_list_add
b LBB0_6
LBB0_5:
Lloh9:
adrp x8, _KERN_INFO@GOTPAGE
Lloh10:
ldr x8, [x8, _KERN_INFO@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
Lloh12:
adrp x8, _LOG_FIP@GOTPAGE
Lloh13:
ldr x8, [x8, _LOG_FIP@GOTPAGEOFF]
Lloh14:
ldr w2, [x8]
Lloh15:
adrp x3, l_.str@PAGE
Lloh16:
add x3, x3, l_.str@PAGEOFF
mov x0, x20
bl _lpfc_printf_log
LBB0_6:
mov x0, x20
mov x1, x19
bl _lpfc_sli4_mbox_cmd_free
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _LPFC_LINK_UP,8,3 ; @LPFC_LINK_UP
.comm _FCF_DISCOVERY,4,2 ; @FCF_DISCOVERY
.comm _KERN_INFO,4,2 ; @KERN_INFO
.comm _LOG_FIP,4,2 ; @LOG_FIP
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "2767 Mailbox command READ_FCF_RECORD failed to retrieve a FCF record.\n"
.comm _lpfc_fcf_record_fcf_index,4,2 ; @lpfc_fcf_record_fcf_index
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_mbx_cmpl_read_fcf_rec.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cheat_manager_save_game_specific_cheats ## -- Begin function cheat_manager_save_game_specific_cheats
.p2align 4, 0x90
_cheat_manager_save_game_specific_cheats: ## @cheat_manager_save_game_specific_cheats
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq _PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq %r14, %rdi
movl %ebx, %esi
movl $1, %edx
callq _cheat_manager_get_game_specific_filename
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movq %r14, %rsi
callq _RARCH_LOG
movq %r14, %rdi
xorl %esi, %esi
movl $1, %edx
callq _cheat_manager_save
LBB0_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_4
## %bb.3:
leaq -16(%rbp), %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_4:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _PATH_MAX_LENGTH,4,2 ## @PATH_MAX_LENGTH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "[Cheats]: Save game-specific cheatfile: %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cheat_manager_save_game_specific_cheats ; -- Begin function cheat_manager_save_game_specific_cheats
.p2align 2
_cheat_manager_save_game_specific_cheats: ; @cheat_manager_save_game_specific_cheats
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
sub sp, sp, #16
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh3:
adrp x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
ldr x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x9, x1
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x1, #15
and x9, x9, #0x1fffffff0
sub x19, x8, x9
mov sp, x19
mov x0, x19
; kill: def $w1 killed $w1 killed $x1
mov w2, #1
bl _cheat_manager_get_game_specific_filename
cbz x0, LBB0_2
; %bb.1:
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _RARCH_LOG
mov x0, x19
mov x1, #0
mov w2, #1
bl _cheat_manager_save
LBB0_2:
ldur x8, [x29, #-24]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_4
; %bb.3:
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _PATH_MAX_LENGTH,4,2 ; @PATH_MAX_LENGTH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "[Cheats]: Save game-specific cheatfile: %s\n"
.subsections_via_symbols
| AnghaBench/RetroArch/griffin/extr_..managerscheat_manager.c_cheat_manager_save_game_specific_cheats.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _devm_spi_register_controller ## -- Begin function devm_spi_register_controller
.p2align 4, 0x90
_devm_spi_register_controller: ## @devm_spi_register_controller
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %r14
movq _devm_spi_unregister@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $8, %esi
callq _devres_alloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r12
movq %r15, %rdi
callq _spi_register_controller
testl %eax, %eax
je LBB0_3
## %bb.4:
movl %eax, %ebx
movq %r12, %rdi
callq _devres_free
jmp LBB0_5
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_5
LBB0_3:
movq %r15, (%r12)
movq %r14, %rdi
movq %r12, %rsi
callq _devres_add
xorl %ebx, %ebx
LBB0_5:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _devm_spi_unregister,4,2 ## @devm_spi_unregister
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _devm_spi_register_controller ; -- Begin function devm_spi_register_controller
.p2align 2
_devm_spi_register_controller: ; @devm_spi_register_controller
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _devm_spi_unregister@GOTPAGE
Lloh1:
ldr x8, [x8, _devm_spi_unregister@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov w1, #8
bl _devres_alloc
cbz x0, LBB0_3
; %bb.1:
mov x21, x0
mov x0, x20
bl _spi_register_controller
mov x22, x0
cbz w0, LBB0_4
; %bb.2:
mov x0, x21
bl _devres_free
b LBB0_5
LBB0_3:
Lloh6:
adrp x8, _ENOMEM@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w22, w8
b LBB0_5
LBB0_4:
str x20, [x21]
mov x0, x19
mov x1, x21
bl _devres_add
LBB0_5:
mov x0, x22
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _devm_spi_unregister,4,2 ; @devm_spi_unregister
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
| AnghaBench/linux/drivers/spi/extr_spi.c_devm_spi_register_controller.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function twl4030_wait_pb_ready
_twl4030_wait_pb_ready: ## @twl4030_wait_pb_ready
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $-10, %ebx
movq _TWL_MODULE_PM_MASTER@GOTPCREL(%rip), %r15
movq _TWL4030_PM_MASTER_PB_CFG@GOTPCREL(%rip), %r12
leaq -44(%rbp), %r14
movq _PB_I2C_BUSY@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%r15), %edi
movl (%r12), %edx
movq %r14, %rsi
callq _twl_i2c_read_u8
testl %eax, %eax
js LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl (%r13), %eax
testl %eax, -44(%rbp)
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl $1, %edi
callq _mdelay
incl %ebx
jne LBB0_1
## %bb.5:
movq _ETIMEDOUT@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_6
LBB0_3:
xorl %eax, %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TWL_MODULE_PM_MASTER,4,2 ## @TWL_MODULE_PM_MASTER
.comm _TWL4030_PM_MASTER_PB_CFG,4,2 ## @TWL4030_PM_MASTER_PB_CFG
.comm _PB_I2C_BUSY,4,2 ## @PB_I2C_BUSY
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.no_dead_strip _twl4030_wait_pb_ready
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function twl4030_wait_pb_ready
_twl4030_wait_pb_ready: ; @twl4030_wait_pb_ready
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w19, #-10
Lloh0:
adrp x20, _TWL_MODULE_PM_MASTER@GOTPAGE
Lloh1:
ldr x20, [x20, _TWL_MODULE_PM_MASTER@GOTPAGEOFF]
Lloh2:
adrp x21, _TWL4030_PM_MASTER_PB_CFG@GOTPAGE
Lloh3:
ldr x21, [x21, _TWL4030_PM_MASTER_PB_CFG@GOTPAGEOFF]
Lloh4:
adrp x22, _PB_I2C_BUSY@GOTPAGE
Lloh5:
ldr x22, [x22, _PB_I2C_BUSY@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20]
ldr w2, [x21]
add x1, sp, #12
bl _twl_i2c_read_u8
tbnz w0, #31, LBB0_6
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
ldr w9, [x22]
tst w9, w8
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
mov w0, #1
bl _mdelay
adds w19, w19, #1
b.lo LBB0_1
; %bb.4:
Lloh6:
adrp x8, _ETIMEDOUT@GOTPAGE
Lloh7:
ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
b LBB0_6
LBB0_5:
mov w0, #0
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _TWL_MODULE_PM_MASTER,4,2 ; @TWL_MODULE_PM_MASTER
.comm _TWL4030_PM_MASTER_PB_CFG,4,2 ; @TWL4030_PM_MASTER_PB_CFG
.comm _PB_I2C_BUSY,4,2 ; @PB_I2C_BUSY
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.no_dead_strip _twl4030_wait_pb_ready
.subsections_via_symbols
| AnghaBench/linux/drivers/regulator/extr_twl-regulator.c_twl4030_wait_pb_ready.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _safe_realloc ## -- Begin function safe_realloc
.p2align 4, 0x90
_safe_realloc: ## @safe_realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
movq %rsi, %rdi
popq %rbp
jmp _malloc ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _safe_realloc ; -- Begin function safe_realloc
.p2align 2
_safe_realloc: ; @safe_realloc
.cfi_startproc
; %bb.0:
mov x0, x1
b _malloc
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_102992.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function GetSfntNameEntry
_GetSfntNameEntry: ## @GetSfntNameEntry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
addq $32, %rdi
callq _U16_AT
movq %rax, %r15
leaq 40(%rbx), %rdi
callq _U16_AT
movq _VLC_EGENERIC@GOTPCREL(%rip), %rcx
testq %r15, %r15
je LBB0_3
## %bb.1:
leaq (%r13,%rax,4), %r13
leaq (,%r15,4), %rax
addq %r13, %rax
cmpq %r12, %rax
ja LBB0_3
## %bb.2:
movq %rbx, %rdi
callq _U16_AT
movq %rax, 40(%r14)
leaq 8(%rbx), %rdi
callq _U16_AT
movq %rax, 32(%r14)
leaq 16(%rbx), %rdi
callq _U16_AT
movq %rax, 24(%r14)
addq $24, %rbx
movq %rbx, %rdi
callq _U16_AT
movq %rax, 16(%r14)
movq %r15, 8(%r14)
movq %r13, (%r14)
movq _VLC_SUCCESS@GOTPCREL(%rip), %rcx
LBB0_3:
movl (%rcx), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.no_dead_strip _GetSfntNameEntry
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function GetSfntNameEntry
_GetSfntNameEntry: ; @GetSfntNameEntry
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x22, x2
mov x23, x1
mov x21, x0
add x0, x0, #32
bl _U16_AT
mov x20, x0
add x0, x21, #40
bl _U16_AT
cbz x20, LBB0_2
; %bb.1:
add x23, x23, x0, lsl #2
add x8, x23, x20, lsl #2
cmp x8, x22
b.ls LBB0_3
LBB0_2:
Lloh0:
adrp x8, _VLC_EGENERIC@GOTPAGE
Lloh1:
ldr x8, [x8, _VLC_EGENERIC@GOTPAGEOFF]
b LBB0_4
LBB0_3:
mov x0, x21
bl _U16_AT
str x0, [x19, #40]
add x0, x21, #8
bl _U16_AT
str x0, [x19, #32]
add x0, x21, #16
bl _U16_AT
str x0, [x19, #24]
add x0, x21, #24
bl _U16_AT
stp x20, x0, [x19, #8]
str x23, [x19]
Lloh2:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh3:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
LBB0_4:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.no_dead_strip _GetSfntNameEntry
.subsections_via_symbols
| AnghaBench/vlc/modules/text_renderer/freetype/fonts/extr_win32.c_GetSfntNameEntry.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _hyCopyright ## @hyCopyright
.p2align 4
_hyCopyright:
.asciz "(c) Copyright 2006 The Apache Software Foundation or its licensors, as applicable."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _hyCopyright ; @hyCopyright
_hyCopyright:
.asciz "(c) Copyright 2006 The Apache Software Foundation or its licensors, as applicable."
.subsections_via_symbols
| the_stack_data/168894050.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function withDup
_withDup: ## @withDup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rsi, %rsi
je LBB0_6
## %bb.1:
movq %rsi, %r12
movq %rdi, %r15
movl (%rsi), %eax
leal (%rax,%rax,2), %eax
leal 4(,%rax,4), %esi
callq _sqlite3DbMallocZero
testq %rax, %rax
je LBB0_6
## %bb.2:
movq %rax, %r14
movl (%r12), %eax
movl %eax, (%r14)
cmpl $0, (%r12)
jle LBB0_7
## %bb.3:
xorl %ebx, %ebx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq 8(%r12), %rax
movl 8(%rax,%rbx), %esi
movq %r15, %rdi
xorl %edx, %edx
callq _sqlite3SelectDup
movq 8(%r14), %rcx
movl %eax, 8(%rcx,%rbx)
movq 8(%r12), %rax
movl 4(%rax,%rbx), %esi
movq %r15, %rdi
xorl %edx, %edx
callq _sqlite3ExprListDup
movq 8(%r14), %rcx
movl %eax, 4(%rcx,%rbx)
movq 8(%r12), %rax
movl (%rax,%rbx), %esi
movq %r15, %rdi
callq _sqlite3DbStrDup
movq 8(%r14), %rcx
movl %eax, (%rcx,%rbx)
incq %r13
movslq (%r12), %rax
addq $12, %rbx
cmpq %rax, %r13
jl LBB0_4
jmp LBB0_7
LBB0_6:
xorl %r14d, %r14d
LBB0_7:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _withDup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function withDup
_withDup: ; @withDup
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
cbz x1, LBB0_5
; %bb.1:
mov x19, x1
mov x20, x0
ldr w8, [x1]
mov w9, #12
orr w10, wzr, #0x4
madd w1, w8, w9, w10
bl _sqlite3DbMallocZero
mov x21, x0
cbz x0, LBB0_6
; %bb.2:
ldr w8, [x19]
str w8, [x21]
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_6
; %bb.3:
mov x22, #0
mov x23, #0
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
add x8, x8, x22
ldr w1, [x8, #8]
mov x0, x20
mov w2, #0
bl _sqlite3SelectDup
ldr x8, [x21, #8]
add x8, x8, x22
str w0, [x8, #8]
ldr x8, [x19, #8]
add x8, x8, x22
ldr w1, [x8, #4]
mov x0, x20
mov w2, #0
bl _sqlite3ExprListDup
ldr x8, [x21, #8]
add x8, x8, x22
str w0, [x8, #4]
ldr x8, [x19, #8]
ldr w1, [x8, x22]
mov x0, x20
bl _sqlite3DbStrDup
ldr x8, [x21, #8]
str w0, [x8, x22]
add x23, x23, #1
ldrsw x8, [x19]
add x22, x22, #12
cmp x23, x8
b.lt LBB0_4
b LBB0_6
LBB0_5:
mov x21, #0
LBB0_6:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _withDup
.subsections_via_symbols
| AnghaBench/sqlcipher/src/extr_expr.c_withDup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function prob_backoff
_prob_backoff: ## @prob_backoff
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq _MAXGRAD@GOTPCREL(%rip), %rax
movq _V_cdg_exp_backoff_scale@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
movq (%rax), %rdx
imulq %rsi, %rdx
movq _D_P_E@GOTPCREL(%rip), %rax
movb (%rax), %cl
shlq %cl, %rdx
movl $1, %eax
cmpq %rdi, %rdx
jl LBB0_6
## %bb.1:
cmpq $2, %rsi
jl LBB0_5
## %bb.2:
movq %rsi, %rax
shrq %rax
addq %rdi, %rax
movq %rax, %rcx
orq %rsi, %rcx
shrq $32, %rcx
je LBB0_3
## %bb.4:
cqto
idivq %rsi
movq %rax, %rdi
jmp LBB0_5
LBB0_3:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %esi
movl %eax, %edi
LBB0_5:
movq _INT_MAX@GOTPCREL(%rip), %rax
movq _EXP_PREC@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
movl $1, %esi
shll %cl, %esi
movl (%rax), %eax
cltd
idivl %esi
movl %eax, %ebx
movq _probexp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %edi, %rcx
imull (%rax,%rcx,4), %ebx
xorl %eax, %eax
callq _random
movl %eax, %ecx
xorl %eax, %eax
cmpl %ebx, %ecx
setl %al
LBB0_6:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAXGRAD,8,3 ## @MAXGRAD
.comm _V_cdg_exp_backoff_scale,8,3 ## @V_cdg_exp_backoff_scale
.comm _D_P_E,8,3 ## @D_P_E
.comm _INT_MAX,4,2 ## @INT_MAX
.comm _EXP_PREC,4,2 ## @EXP_PREC
.comm _probexp,8,3 ## @probexp
.no_dead_strip _prob_backoff
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function prob_backoff
_prob_backoff: ; @prob_backoff
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _MAXGRAD@GOTPAGE
Lloh1:
ldr x8, [x8, _MAXGRAD@GOTPAGEOFF]
Lloh2:
ldr x9, [x8]
Lloh3:
adrp x8, _V_cdg_exp_backoff_scale@GOTPAGE
Lloh4:
ldr x8, [x8, _V_cdg_exp_backoff_scale@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
mul x9, x8, x9
Lloh6:
adrp x10, _D_P_E@GOTPAGE
Lloh7:
ldr x10, [x10, _D_P_E@GOTPAGEOFF]
Lloh8:
ldr x10, [x10]
lsl x9, x9, x10
cmp x9, x0
b.ge LBB0_2
; %bb.1:
mov w0, #1
b LBB0_5
LBB0_2:
cmp x8, #2
b.lt LBB0_4
; %bb.3:
add x9, x0, x8, lsr #1
sdiv x0, x9, x8
LBB0_4:
Lloh9:
adrp x8, _INT_MAX@GOTPAGE
Lloh10:
ldr x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh11:
adrp x9, _EXP_PREC@GOTPAGE
Lloh12:
ldr x9, [x9, _EXP_PREC@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
Lloh14:
ldr w9, [x9]
mov w10, #1
lsl w9, w10, w9
Lloh15:
adrp x10, _probexp@GOTPAGE
Lloh16:
ldr x10, [x10, _probexp@GOTPAGEOFF]
sdiv w8, w8, w9
Lloh17:
ldr x9, [x10]
sbfiz x10, x0, #2, #32
ldr w9, [x9, x10]
mul w19, w9, w8
bl _random
cmp w0, w19
cset w0, lt
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh13
.cfi_endproc
; -- End function
.comm _MAXGRAD,8,3 ; @MAXGRAD
.comm _V_cdg_exp_backoff_scale,8,3 ; @V_cdg_exp_backoff_scale
.comm _D_P_E,8,3 ; @D_P_E
.comm _INT_MAX,4,2 ; @INT_MAX
.comm _EXP_PREC,4,2 ; @EXP_PREC
.comm _probexp,8,3 ; @probexp
.no_dead_strip _prob_backoff
.subsections_via_symbols
| AnghaBench/freebsd/sys/netinet/cc/extr_cc_cdg.c_prob_backoff.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tiler_align ## -- Begin function tiler_align
.p2align 4, 0x90
_tiler_align: ## @tiler_align
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movl %edi, %ebx
callq _validfmt
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _BUG_ON
movl (%r15), %edi
movq _geom@GOTPCREL(%rip), %r12
movq (%r12), %rax
movl %ebx, %ebx
movl 4(%rax,%rbx,8), %esi
callq _round_up
movl %eax, (%r15)
movl (%r14), %edi
movq (%r12), %rax
movl (%rax,%rbx,8), %esi
callq _round_up
movl %eax, (%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _geom,8,3 ## @geom
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tiler_align ; -- Begin function tiler_align
.p2align 2
_tiler_align: ; @tiler_align
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
bl _validfmt
cmp w0, #0
cset w0, eq
bl _BUG_ON
Lloh0:
adrp x22, _geom@GOTPAGE
Lloh1:
ldr x22, [x22, _geom@GOTPAGEOFF]
ldr w0, [x20]
ldr x8, [x22]
mov w9, w21
lsl x21, x9, #3
add x8, x8, x21
ldr w1, [x8, #4]
bl _round_up
str w0, [x20]
ldr w0, [x19]
ldr x8, [x22]
ldr w1, [x8, x21]
bl _round_up
str w0, [x19]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _geom,8,3 ; @geom
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_dmm_tiler.c_tiler_align.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qca_is_wcn399x
_qca_is_wcn399x: ## @qca_is_wcn399x
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _qca_is_wcn399x
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qca_is_wcn399x
_qca_is_wcn399x: ; @qca_is_wcn399x
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _qca_is_wcn399x
.subsections_via_symbols
| AnghaBench/linux/drivers/bluetooth/extr_btqca.h_qca_is_wcn399x.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rbx
leaq -56(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -52(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl $10, %edi
callq _putchar
movq %rsp, -80(%rbp) ## 8-byte Spill
movl -56(%rbp), %eax
movl -52(%rbp), %ebx
imulq %rbx, %rax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -64(%rbp) ## 8-byte Spill
movl -56(%rbp), %ecx
testl %ecx, %ecx
movq %rbx, -72(%rbp) ## 8-byte Spill
jle LBB0_7
## %bb.1:
movl -52(%rbp), %eax
leaq (,%rbx,4), %rdx
movq %rdx, -88(%rbp) ## 8-byte Spill
leaq L_.str.4(%rip), %r14
leaq L_.str.5(%rip), %r15
movq -64(%rbp), %r13 ## 8-byte Reload
xorl %r12d, %r12d
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movslq %ecx, %rdx
addq -88(%rbp), %r13 ## 8-byte Folded Reload
cmpq %rdx, %r12
jge LBB0_7
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
incq %r12
testl %eax, %eax
jle LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r13, -96(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
incq %rbx
movq %r14, %rdi
movl %r12d, %esi
movl %ebx, %edx
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
movslq -52(%rbp), %rax
addq $4, %r13
cmpq %rax, %rbx
jl LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl -56(%rbp), %ecx
movq -96(%rbp), %r13 ## 8-byte Reload
jmp LBB0_6
LBB0_7:
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
cmpl $0, -56(%rbp)
jle LBB0_13
## %bb.8:
movq -72(%rbp), %rax ## 8-byte Reload
leaq (,%rax,4), %r15
xorl %r12d, %r12d
leaq L_.str.8(%rip), %r13
movq -64(%rbp), %rbx ## 8-byte Reload
jmp LBB0_9
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
leaq L_str.14(%rip), %rdi
callq _puts
incq %r12
movslq -56(%rbp), %rax
addq %r15, %rbx
cmpq %rax, %r12
jge LBB0_13
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movl $124, %edi
callq _putchar
cmpl $0, -52(%rbp)
jle LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movss (%rbx,%r14,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
movb $1, %al
callq _printf
incq %r14
movslq -52(%rbp), %rax
cmpq %rax, %r14
jl LBB0_11
jmp LBB0_12
LBB0_13:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
cmpl $0, -56(%rbp)
jle LBB0_19
## %bb.14:
shlq $2, -72(%rbp) ## 8-byte Folded Spill
xorl %r15d, %r15d
leaq L_.str.8(%rip), %r12
movq -72(%rbp), %r14 ## 8-byte Reload
jmp LBB0_15
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_15 Depth=1
leaq L_str.14(%rip), %rdi
callq _puts
incq %r15
movslq -56(%rbp), %rax
addq $4, -64(%rbp) ## 8-byte Folded Spill
cmpq %rax, %r15
jge LBB0_19
LBB0_15: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
movl $124, %edi
callq _putchar
cmpl $0, -52(%rbp)
jle LBB0_18
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movq -64(%rbp), %r13 ## 8-byte Reload
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_15 Depth=1
## => This Inner Loop Header: Depth=2
movss (%r13), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %r12, %rdi
movb $1, %al
callq _printf
incq %rbx
movslq -52(%rbp), %rax
addq %r14, %r13
cmpq %rax, %rbx
jl LBB0_17
jmp LBB0_18
LBB0_19:
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.12(%rip), %rdi
callq _system
movq -80(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_21
## %bb.20:
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_21:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Informe as linhas da sua matriz: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Agora, as colunas: "
L_.str.4: ## @.str.4
.asciz "Insira elemento m(%dx%d): "
L_.str.5: ## @.str.5
.asciz "%f"
L_.str.6: ## @.str.6
.asciz "\nA sua matriz eh: "
L_.str.8: ## @.str.8
.asciz "%.2f "
L_.str.10: ## @.str.10
.asciz "\nJa a sua transposta eh: "
L_.str.12: ## @.str.12
.asciz "PAUSE"
L_str: ## @str
.asciz "\n"
L_str.14: ## @str.14
.asciz "|"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #16
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #92
str x8, [sp, #-16]!
Lloh5:
adrp x19, l_.str.1@PAGE
Lloh6:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
add sp, sp, #16
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
sub x8, x29, #96
str x8, [sp, #-16]!
mov x0, x19
bl _scanf
add sp, sp, #16
mov w0, #10
bl _putchar
mov x21, sp
ldp w12, w8, [x29, #-96]
mul x8, x12, x8
lsl x9, x8, #2
add x8, x9, #15
and x8, x8, #0xfffffffffffffff0
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x22, x9, x8
mov sp, x22
ldur w9, [x29, #-92]
lsl x23, x12, #2
cmp w9, #1
b.lt LBB0_7
; %bb.1:
mov x24, #0
ldur w8, [x29, #-96]
Lloh11:
adrp x19, l_.str.4@PAGE
Lloh12:
add x19, x19, l_.str.4@PAGEOFF
mov x25, x22
Lloh13:
adrp x20, l_.str.5@PAGE
Lloh14:
add x20, x20, l_.str.5@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x25, x25, x23
cmp x24, w9, sxtw
b.ge LBB0_7
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
add x24, x24, #1
cmp w8, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x26, #0
mov x27, x24
mov x28, x25
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
add x26, x26, #1
stp x27, x26, [sp, #-16]!
mov x0, x19
bl _printf
add sp, sp, #16
str x28, [sp, #-16]!
mov x0, x20
bl _scanf
add sp, sp, #16
ldursw x8, [x29, #-96]
add x28, x28, #4
cmp x26, x8
b.lt LBB0_5
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldur w9, [x29, #-92]
b LBB0_2
LBB0_7:
Lloh15:
adrp x0, l_.str.6@PAGE
Lloh16:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w0, #10
bl _putchar
ldur w8, [x29, #-92]
cmp w8, #1
b.lt LBB0_13
; %bb.8:
mov x24, #0
Lloh17:
adrp x19, l_.str.8@PAGE
Lloh18:
add x19, x19, l_.str.8@PAGEOFF
mov x25, x22
Lloh19:
adrp x20, l_str.14@PAGE
Lloh20:
add x20, x20, l_str.14@PAGEOFF
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
mov x0, x20
bl _puts
add x24, x24, #1
ldursw x8, [x29, #-92]
add x25, x25, x23
cmp x24, x8
b.ge LBB0_13
LBB0_10: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
mov w0, #124
bl _putchar
ldur w8, [x29, #-96]
cmp w8, #1
b.lt LBB0_9
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
mov x26, #0
LBB0_12: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x25, x26, lsl #2]
fcvt d0, s0
str d0, [sp, #-16]!
mov x0, x19
bl _printf
add sp, sp, #16
add x26, x26, #1
ldursw x8, [x29, #-96]
cmp x26, x8
b.lt LBB0_12
b LBB0_9
LBB0_13:
Lloh21:
adrp x0, l_.str.10@PAGE
Lloh22:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
mov w0, #10
bl _putchar
ldur w8, [x29, #-92]
cmp w8, #1
b.lt LBB0_19
; %bb.14:
mov x24, #0
Lloh23:
adrp x19, l_.str.8@PAGE
Lloh24:
add x19, x19, l_.str.8@PAGEOFF
Lloh25:
adrp x20, l_str.14@PAGE
Lloh26:
add x20, x20, l_str.14@PAGEOFF
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
mov x0, x20
bl _puts
add x24, x24, #1
ldursw x8, [x29, #-92]
add x22, x22, #4
cmp x24, x8
b.ge LBB0_19
LBB0_16: ; =>This Loop Header: Depth=1
; Child Loop BB0_18 Depth 2
mov w0, #124
bl _putchar
ldur w8, [x29, #-96]
cmp w8, #1
b.lt LBB0_15
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
mov x25, #0
mov x26, x22
LBB0_18: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x26]
fcvt d0, s0
str d0, [sp, #-16]!
mov x0, x19
bl _printf
add sp, sp, #16
add x25, x25, #1
ldursw x8, [x29, #-96]
add x26, x26, x23
cmp x25, x8
b.lt LBB0_18
b LBB0_15
LBB0_19:
Lloh27:
adrp x0, l_str@PAGE
Lloh28:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh29:
adrp x0, l_.str.12@PAGE
Lloh30:
add x0, x0, l_.str.12@PAGEOFF
bl _system
mov sp, x21
ldur x8, [x29, #-88]
Lloh31:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh32:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_21
; %bb.20:
mov w0, #0
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_21:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Informe as linhas da sua matriz: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Agora, as colunas: "
l_.str.4: ; @.str.4
.asciz "Insira elemento m(%dx%d): "
l_.str.5: ; @.str.5
.asciz "%f"
l_.str.6: ; @.str.6
.asciz "\nA sua matriz eh: "
l_.str.8: ; @.str.8
.asciz "%.2f "
l_.str.10: ; @.str.10
.asciz "\nJa a sua transposta eh: "
l_.str.12: ; @.str.12
.asciz "PAUSE"
l_str: ; @str
.asciz "\n"
l_str.14: ; @str.14
.asciz "|"
.subsections_via_symbols
| the_stack_data/1031605.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hackrf_queue_setup
_hackrf_queue_setup: ## @hackrf_queue_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
callq _vb2_get_drv_priv
movq %rax, %r15
movl (%rax), %edi
movl (%r13), %edx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _dev_dbg
movl (%rbx), %eax
movl (%r13), %ecx
addl %eax, %ecx
cmpl $7, %ecx
ja LBB0_2
## %bb.1:
movl $8, %ecx
subl %eax, %ecx
movl %ecx, (%r13)
LBB0_2:
movl $1, (%r12)
movl 4(%r15), %edi
callq _PAGE_ALIGN
movl %eax, (%r14)
movl (%r15), %edi
movl (%r13), %edx
leaq L_.str.1(%rip), %rsi
movl %eax, %ecx
xorl %eax, %eax
callq _dev_dbg
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "nbuffers=%d\n"
L_.str.1: ## @.str.1
.asciz "nbuffers=%d sizes[0]=%d\n"
.no_dead_strip _hackrf_queue_setup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hackrf_queue_setup
_hackrf_queue_setup: ; @hackrf_queue_setup
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x3
mov x22, x2
mov x19, x1
mov x23, x0
bl _vb2_get_drv_priv
mov x21, x0
ldr w0, [x0]
ldr w2, [x19]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
ldr w8, [x23]
ldr w9, [x19]
add w9, w9, w8
cmp w9, #7
b.hi LBB0_2
; %bb.1:
mov w9, #8
sub w8, w9, w8
str w8, [x19]
LBB0_2:
mov w8, #1
str w8, [x22]
ldr w0, [x21, #4]
bl _PAGE_ALIGN
; kill: def $w0 killed $w0 def $x0
str w0, [x20]
ldr w8, [x21]
ldr w2, [x19]
str x0, [sp]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x8
bl _dev_dbg
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "nbuffers=%d\n"
l_.str.1: ; @.str.1
.asciz "nbuffers=%d sizes[0]=%d\n"
.no_dead_strip _hackrf_queue_setup
.subsections_via_symbols
| AnghaBench/linux/drivers/media/usb/hackrf/extr_hackrf.c_hackrf_queue_setup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mmtimer_setup_int_2
_mmtimer_setup_int_2: ## @mmtimer_setup_int_2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %r15d
movq _SH_RTC3_INT_ENABLE@GOTPCREL(%rip), %r12
movl (%r12), %edi
callq _LOCAL_MMR_ADDR
movq %rax, %rdi
xorl %esi, %esi
callq _HUB_S
movq _SH_INT_CMPD@GOTPCREL(%rip), %r13
movl (%r13), %edi
callq _LOCAL_MMR_ADDR
movq %rax, %rdi
movq $-1, %rsi
callq _HUB_S
movl $2, %edi
callq _mmtimer_clr_int_pending
movq _SGI_MMTIMER_VECTOR@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq _SH_RTC3_INT_CONFIG_IDX_SHFT@GOTPCREL(%rip), %rax
movb (%rax), %cl
shlq %cl, %rbx
movl %r15d, %edi
callq _cpu_physical_id
movq _SH_RTC3_INT_CONFIG_PID_SHFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shlq %cl, %rax
orq %rax, %rbx
movq _SH_RTC3_INT_CONFIG@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _LOCAL_MMR_ADDR
movq %rax, %rdi
movq %rbx, %rsi
callq _HUB_S
movl (%r12), %edi
callq _LOCAL_MMR_ADDR
movl $1, %esi
movq %rax, %rdi
callq _HUB_S
movl (%r13), %edi
callq _LOCAL_MMR_ADDR
movq %rax, %rdi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _HUB_S ## TAILCALL
.cfi_endproc
## -- End function
.comm _SH_RTC3_INT_ENABLE,4,2 ## @SH_RTC3_INT_ENABLE
.comm _SH_INT_CMPD,4,2 ## @SH_INT_CMPD
.comm _SGI_MMTIMER_VECTOR,8,3 ## @SGI_MMTIMER_VECTOR
.comm _SH_RTC3_INT_CONFIG_IDX_SHFT,8,3 ## @SH_RTC3_INT_CONFIG_IDX_SHFT
.comm _SH_RTC3_INT_CONFIG_PID_SHFT,8,3 ## @SH_RTC3_INT_CONFIG_PID_SHFT
.comm _SH_RTC3_INT_CONFIG,4,2 ## @SH_RTC3_INT_CONFIG
.no_dead_strip _mmtimer_setup_int_2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mmtimer_setup_int_2
_mmtimer_setup_int_2: ; @mmtimer_setup_int_2
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
Lloh0:
adrp x21, _SH_RTC3_INT_ENABLE@GOTPAGE
Lloh1:
ldr x21, [x21, _SH_RTC3_INT_ENABLE@GOTPAGEOFF]
ldr w0, [x21]
bl _LOCAL_MMR_ADDR
mov x1, #0
bl _HUB_S
Lloh2:
adrp x22, _SH_INT_CMPD@GOTPAGE
Lloh3:
ldr x22, [x22, _SH_INT_CMPD@GOTPAGEOFF]
ldr w0, [x22]
bl _LOCAL_MMR_ADDR
mov x1, #-1
bl _HUB_S
mov w0, #2
bl _mmtimer_clr_int_pending
Lloh4:
adrp x8, _SGI_MMTIMER_VECTOR@GOTPAGE
Lloh5:
ldr x8, [x8, _SGI_MMTIMER_VECTOR@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
Lloh7:
adrp x9, _SH_RTC3_INT_CONFIG_IDX_SHFT@GOTPAGE
Lloh8:
ldr x9, [x9, _SH_RTC3_INT_CONFIG_IDX_SHFT@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
lsl x23, x8, x9
mov x0, x20
bl _cpu_physical_id
Lloh10:
adrp x8, _SH_RTC3_INT_CONFIG_PID_SHFT@GOTPAGE
Lloh11:
ldr x8, [x8, _SH_RTC3_INT_CONFIG_PID_SHFT@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
lsl x8, x0, x8
orr x20, x8, x23
Lloh13:
adrp x8, _SH_RTC3_INT_CONFIG@GOTPAGE
Lloh14:
ldr x8, [x8, _SH_RTC3_INT_CONFIG@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
bl _LOCAL_MMR_ADDR
mov x1, x20
bl _HUB_S
ldr w0, [x21]
bl _LOCAL_MMR_ADDR
mov w1, #1
bl _HUB_S
ldr w0, [x22]
bl _LOCAL_MMR_ADDR
mov x1, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _HUB_S
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _SH_RTC3_INT_ENABLE,4,2 ; @SH_RTC3_INT_ENABLE
.comm _SH_INT_CMPD,4,2 ; @SH_INT_CMPD
.comm _SGI_MMTIMER_VECTOR,8,3 ; @SGI_MMTIMER_VECTOR
.comm _SH_RTC3_INT_CONFIG_IDX_SHFT,8,3 ; @SH_RTC3_INT_CONFIG_IDX_SHFT
.comm _SH_RTC3_INT_CONFIG_PID_SHFT,8,3 ; @SH_RTC3_INT_CONFIG_PID_SHFT
.comm _SH_RTC3_INT_CONFIG,4,2 ; @SH_RTC3_INT_CONFIG
.no_dead_strip _mmtimer_setup_int_2
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/char/extr_mmtimer.c_mmtimer_setup_int_2.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function chv_pinctrl_remove
_chv_pinctrl_remove: ## @chv_pinctrl_remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _platform_get_drvdata
movq %rax, %r14
movq %rbx, %rdi
callq _ACPI_COMPANION
movq (%r14), %rcx
movl (%rcx), %esi
movq _chv_pinctrl_mmio_access_handler@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %eax, %edi
callq _acpi_remove_address_space_handler
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _chv_pinctrl_mmio_access_handler,4,2 ## @chv_pinctrl_mmio_access_handler
.no_dead_strip _chv_pinctrl_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function chv_pinctrl_remove
_chv_pinctrl_remove: ; @chv_pinctrl_remove
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _platform_get_drvdata
mov x20, x0
mov x0, x19
bl _ACPI_COMPANION
ldr x8, [x20]
ldr w1, [x8]
Lloh0:
adrp x8, _chv_pinctrl_mmio_access_handler@GOTPAGE
Lloh1:
ldr x8, [x8, _chv_pinctrl_mmio_access_handler@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
bl _acpi_remove_address_space_handler
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _chv_pinctrl_mmio_access_handler,4,2 ; @chv_pinctrl_mmio_access_handler
.no_dead_strip _chv_pinctrl_remove
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/intel/extr_pinctrl-cherryview.c_chv_pinctrl_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _emit_movsbl_indexed_map ## -- Begin function emit_movsbl_indexed_map
.p2align 4, 0x90
_emit_movsbl_indexed_map: ## @emit_movsbl_indexed_map
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movl %esi, %r14d
movl %edi, %r13d
testl %edx, %edx
js LBB0_5
## %bb.1:
movl %edx, %r15d
movq _regname@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %r14d, %rbx
movl (%rax,%rbx,4), %edx
movl %r15d, %ecx
movl (%rax,%rcx,4), %ecx
movslq %r12d, %rsi
movl (%rax,%rsi,4), %r8d
leaq L_.str(%rip), %rdi
movl %r13d, %esi
callq _assem_debug
movq _ESP@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpl %ebx, (%rax)
setne %dil
callq _assert
movl $15, %edi
callq _output_byte
movl $190, %edi
callq _output_byte
testl %r13d, %r13d
jne LBB0_3
## %bb.2:
movq _EBP@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
je LBB0_3
## %bb.6:
xorl %edi, %edi
movl $4, %esi
movl %r12d, %edx
callq _output_modrm
movl $2, %edi
movl %r15d, %esi
movl %r14d, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _output_sib ## TAILCALL
LBB0_5:
movl %r13d, %edi
movl %r14d, %esi
movl %r12d, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _emit_movsbl_indexed ## TAILCALL
LBB0_3:
movsbl %r13b, %eax
cmpl %r13d, %eax
jne LBB0_4
## %bb.7:
movl $1, %edi
movl $4, %esi
movl %r12d, %edx
callq _output_modrm
movl $2, %edi
movl %r15d, %esi
movl %r14d, %edx
callq _output_sib
movl %r13d, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _output_byte ## TAILCALL
LBB0_4:
movl $2, %edi
movl $4, %esi
movl %r12d, %edx
callq _output_modrm
movl $2, %edi
movl %r15d, %esi
movl %r14d, %edx
callq _output_sib
movl %r13d, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _output_w32 ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "movsbl %x(%%%s,%%%s,4),%%%s\n"
.comm _regname,8,3 ## @regname
.comm _ESP,4,2 ## @ESP
.comm _EBP,4,2 ## @EBP
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _emit_movsbl_indexed_map ; -- Begin function emit_movsbl_indexed_map
.p2align 2
_emit_movsbl_indexed_map: ; @emit_movsbl_indexed_map
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x22, x3
mov x19, x1
mov x21, x0
tbnz w2, #31, LBB0_4
; %bb.1:
mov x20, x2
Lloh0:
adrp x8, _regname@GOTPAGE
Lloh1:
ldr x8, [x8, _regname@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr w2, [x8, w19, sxtw #2]
ldr w3, [x8, w20, uxtw #2]
ldr w4, [x8, w22, sxtw #2]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
mov x1, x21
bl _assem_debug
Lloh5:
adrp x8, _ESP@GOTPAGE
Lloh6:
ldr x8, [x8, _ESP@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
cmp w8, w19
cset w0, ne
bl _assert
mov w0, #15
bl _output_byte
mov w0, #190
bl _output_byte
cbnz w21, LBB0_5
; %bb.2:
Lloh8:
adrp x8, _EBP@GOTPAGE
Lloh9:
ldr x8, [x8, _EBP@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
cmp w8, w19
b.eq LBB0_5
; %bb.3:
mov w0, #0
mov w1, #4
mov x2, x22
bl _output_modrm
mov w0, #2
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _output_sib
LBB0_4:
mov x0, x21
mov x1, x19
mov x2, x22
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _emit_movsbl_indexed
LBB0_5:
cmp w21, w21, sxtb
b.ne LBB0_7
; %bb.6:
mov w0, #1
mov w1, #4
mov x2, x22
bl _output_modrm
mov w0, #2
mov x1, x20
mov x2, x19
bl _output_sib
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _output_byte
LBB0_7:
mov w0, #2
mov w1, #4
mov x2, x22
bl _output_modrm
mov w0, #2
mov x1, x20
mov x2, x19
bl _output_sib
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _output_w32
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "movsbl %x(%%%s,%%%s,4),%%%s\n"
.comm _regname,8,3 ; @regname
.comm _ESP,4,2 ; @ESP
.comm _EBP,4,2 ; @EBP
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_emit_movsbl_indexed_map.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vidioc_s_audio
_vidioc_s_audio: ## @vidioc_s_audio
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdx, %rbx
callq _video_drvdata
movq (%rbx), %rcx
movq 8(%rax), %rbx
cmpq (%rbx), %rcx
jge LBB0_1
## %bb.2:
movq %rcx, (%rax)
movl 16(%rax), %edi
movq _audio@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _s_routing@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq 8(%rbx), %rax
movl (%rax,%rcx,4), %ecx
xorl %ebx, %ebx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _v4l2_subdev_call
jmp LBB0_3
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _audio,4,2 ## @audio
.comm _s_routing,4,2 ## @s_routing
.no_dead_strip _vidioc_s_audio
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vidioc_s_audio
_vidioc_s_audio: ; @vidioc_s_audio
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
bl _video_drvdata
ldr x8, [x19]
ldr x9, [x0, #8]
ldr x10, [x9]
cmp x8, x10
b.ge LBB0_2
; %bb.1:
str x8, [x0]
ldr w0, [x0, #16]
Lloh0:
adrp x10, _audio@GOTPAGE
Lloh1:
ldr x10, [x10, _audio@GOTPAGEOFF]
Lloh2:
ldr w1, [x10]
Lloh3:
adrp x10, _s_routing@GOTPAGE
Lloh4:
ldr x10, [x10, _s_routing@GOTPAGEOFF]
Lloh5:
ldr w2, [x10]
ldr x9, [x9, #8]
ldr w3, [x9, x8, lsl #2]
mov w4, #0
mov w5, #0
bl _v4l2_subdev_call
mov w0, #0
b LBB0_3
LBB0_2:
Lloh6:
adrp x8, _EINVAL@GOTPAGE
Lloh7:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _audio,4,2 ; @audio
.comm _s_routing,4,2 ; @s_routing
.no_dead_strip _vidioc_s_audio
.subsections_via_symbols
| AnghaBench/linux/drivers/media/usb/go7007/extr_go7007-v4l2.c_vidioc_s_audio.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _atf_map_begin ## -- Begin function atf_map_begin
.p2align 4, 0x90
_atf_map_begin: ## @atf_map_begin
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
callq _atf_list_begin
movl %eax, %ebx
movl %eax, %edi
callq _atf_list_iter_data
## kill: def $eax killed $eax def $rax
shlq $32, %rax
movl %ebx, %ecx
orq %rcx, %rax
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _atf_map_begin ; -- Begin function atf_map_begin
.p2align 2
_atf_map_begin: ; @atf_map_begin
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _atf_list_begin
mov x20, x0
bl _atf_list_iter_data
; kill: def $w0 killed $w0 def $x0
mov w8, w20
bfi x8, x0, #32, #32
mov x0, x8
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_map.c_atf_map_begin.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function process_ecn
_process_ecn: ## @process_ecn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq _hfi1_may_ecn
movl %eax, %edi
callq _unlikely
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
popq %rbx
popq %r14
popq %rbp
jmp _hfi1_process_ecn_slowpath ## TAILCALL
LBB0_1:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _process_ecn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function process_ecn
_process_ecn: ; @process_ecn
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov x0, x1
bl _hfi1_may_ecn
bl _unlikely
cbz x0, LBB0_2
; %bb.1:
mov x0, x20
mov x1, x19
mov w2, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _hfi1_process_ecn_slowpath
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _process_ecn
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_hfi.h_process_ecn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qlcnic_pf_set_interface_id_macaddr
_qlcnic_pf_set_interface_id_macaddr: ## @qlcnic_pf_set_interface_id_macaddr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _qlcnic_pf_set_interface_id_macaddr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qlcnic_pf_set_interface_id_macaddr
_qlcnic_pf_set_interface_id_macaddr: ; @qlcnic_pf_set_interface_id_macaddr
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _qlcnic_pf_set_interface_id_macaddr
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_sriov.h_qlcnic_pf_set_interface_id_macaddr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bttv_I2CRead ## -- Begin function bttv_I2CRead
.p2align 4, 0x90
_bttv_I2CRead: ## @bttv_I2CRead
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movb $0, -41(%rbp)
movl $-1, %r14d
cmpq $0, (%rdi)
jne LBB0_13
## %bb.1:
movq %rdx, %r12
movl %esi, %r15d
movq %rdi, %rbx
movq _bttv_verbose@GOTPCREL(%rip), %r13
testq %rdx, %rdx
je LBB0_4
## %bb.2:
cmpq $0, (%r13)
je LBB0_4
## %bb.3:
movl 8(%rbx), %esi
movzbl %r15b, %ecx
leaq L_.str(%rip), %rdi
movq %r12, %rdx
callq _pr_info
LBB0_4:
movl %r15d, %eax
shrb %al
leaq 12(%rbx), %rdi
movb %al, 12(%rbx)
leaq -41(%rbp), %rsi
movl $1, %edx
callq _i2c_master_recv
cmpl $1, %eax
jne LBB0_5
## %bb.9:
testq %r12, %r12
je LBB0_12
## %bb.10:
cmpq $0, (%r13)
je LBB0_12
## %bb.11:
leaq L_.str.3(%rip), %rdi
callq _pr_cont
LBB0_12:
movzbl -41(%rbp), %r14d
jmp LBB0_13
LBB0_5:
testq %r12, %r12
je LBB0_8
## %bb.6:
cmpq $0, (%r13)
je LBB0_13
## %bb.7:
leaq L_.str.1(%rip), %rdi
callq _pr_cont
jmp LBB0_13
LBB0_8:
movl 8(%rbx), %esi
movzbl %r15b, %edx
leaq L_.str.2(%rip), %rdi
callq _pr_warn
LBB0_13:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _bttv_verbose,8,3 ## @bttv_verbose
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d: i2c: checking for %s @ 0x%02x... "
L_.str.1: ## @.str.1
.asciz "not found\n"
L_.str.2: ## @.str.2
.asciz "%d: i2c read 0x%x: error\n"
L_.str.3: ## @.str.3
.asciz "found\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bttv_I2CRead ; -- Begin function bttv_I2CRead
.p2align 2
_bttv_I2CRead: ; @bttv_I2CRead
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
strb wzr, [sp, #15]
ldr x8, [x0]
cbz x8, LBB0_3
LBB0_1:
mov w0, #-1
LBB0_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_3:
mov x20, x2
mov x19, x1
mov x21, x0
Lloh0:
adrp x22, _bttv_verbose@GOTPAGE
Lloh1:
ldr x22, [x22, _bttv_verbose@GOTPAGEOFF]
cbz x2, LBB0_6
; %bb.4:
ldr x8, [x22]
cbz x8, LBB0_6
; %bb.5:
ldr w1, [x21, #8]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
mov x2, x20
mov x3, x19
bl _pr_info
LBB0_6:
lsr w8, w19, #1
mov x0, x21
strb w8, [x0, #12]!
add x1, sp, #15
mov w2, #1
bl _i2c_master_recv
cmp w0, #1
b.ne LBB0_11
; %bb.7:
cbz x20, LBB0_10
; %bb.8:
ldr x8, [x22]
cbz x8, LBB0_10
; %bb.9:
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _pr_cont
LBB0_10:
ldrb w0, [sp, #15]
b LBB0_2
LBB0_11:
cbz x20, LBB0_14
; %bb.12:
ldr x8, [x22]
cbz x8, LBB0_1
; %bb.13:
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _pr_cont
b LBB0_1
LBB0_14:
ldr w1, [x21, #8]
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
mov x2, x19
bl _pr_warn
b LBB0_1
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _bttv_verbose,8,3 ; @bttv_verbose
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d: i2c: checking for %s @ 0x%02x... "
l_.str.1: ; @.str.1
.asciz "not found\n"
l_.str.2: ; @.str.2
.asciz "%d: i2c read 0x%x: error\n"
l_.str.3: ; @.str.3
.asciz "found\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/media/pci/bt8xx/extr_bttv-i2c.c_bttv_I2CRead.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _et131x_find_adapter ## -- Begin function et131x_find_adapter
.p2align 4, 0x90
_et131x_find_adapter: ## @et131x_find_adapter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
movl $0, -48(%rbp)
cmpl $0, (%rdi)
je LBB0_2
## %bb.1:
movq _ET1310_NMI_DISABLE@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _inb
## kill: def $eax killed $eax def $rax
andl $243, %eax
cmpl $2, (%r15)
leal 12(%rax), %esi
cmovnel %eax, %esi
movl (%rbx), %edi
callq _outb
LBB0_2:
movq _ET1310_PCI_EEPROM_STATUS@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
leaq -52(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq _pci_read_config_byte
movl (%rbx), %esi
movq %r14, %rdi
movq %r12, %rdx
callq _pci_read_config_byte
movq _PCIBIOS_SUCCESSFUL@GOTPCREL(%rip), %rbx
cmpl (%rbx), %eax
jne LBB0_3
## %bb.4:
testb $76, -52(%rbp)
je LBB0_10
## %bb.5:
movq _PCI_REVISION_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -44(%rbp), %rdx
movq %r14, %rdi
callq _pci_read_config_byte
cmpl (%rbx), %eax
jne LBB0_6
## %bb.7:
cmpl $1, -44(%rbp)
jne LBB0_9
## %bb.8:
movq %r15, %rdi
xorl %esi, %esi
movl $254, %edx
callq _EepromWriteByte
movq %r15, %rdi
movl $1, %esi
movl $19, %edx
callq _EepromWriteByte
movq %r15, %rdi
movl $2, %esi
movl $16, %edx
callq _EepromWriteByte
LBB0_9:
movl -52(%rbp), %edx
leaq L_.str.2(%rip), %rsi
xorl %ebx, %ebx
movq %r14, %rdi
xorl %eax, %eax
callq _dev_err
movl $0, 4(%r15)
jmp LBB0_32
LBB0_3:
leaq L_.str(%rip), %rsi
jmp LBB0_31
LBB0_10:
movl $1, 4(%r15)
movq 8(%r15), %rdx
movq %r15, %rdi
movl $112, %esi
callq _EepromReadByte
movq 8(%r15), %rdx
addq $4, %rdx
movq %r15, %rdi
movl $113, %esi
callq _EepromReadByte
movq 8(%r15), %rax
cmpl $205, (%rax)
je LBB0_12
## %bb.11:
movl $0, 4(%rax)
LBB0_12:
movq _ET1310_PCI_MAX_PYLD@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -48(%rbp), %rdx
movq %r14, %rdi
callq _pci_read_config_byte
cmpl (%rbx), %eax
jne LBB0_13
## %bb.14:
movl -48(%rbp), %eax
andl $7, %eax
movl %eax, -48(%rbp)
cmpl $1, %eax
ja LBB0_19
## %bb.15:
movq _ET1310_PCI_ACK_NACK@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
leaq L___const.et131x_find_adapter.AckNak(%rip), %rcx
movl (%rcx,%rax,4), %edx
movq %r14, %rdi
callq _pci_write_config_word
cmpl (%rbx), %eax
jne LBB0_16
## %bb.17:
movq _ET1310_PCI_REPLAY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movslq -48(%rbp), %rax
leaq L___const.et131x_find_adapter.Replay(%rip), %rcx
movl (%rcx,%rax,4), %edx
movq %r14, %rdi
callq _pci_write_config_word
cmpl (%rbx), %eax
jne LBB0_18
LBB0_19:
movq _ET1310_PCI_L0L1LATENCY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
movl $17, %edx
callq _pci_write_config_byte
cmpl (%rbx), %eax
jne LBB0_20
## %bb.21:
leaq -44(%rbp), %rdx
movq %r14, %rdi
movl $81, %esi
callq _pci_read_config_byte
cmpl (%rbx), %eax
jne LBB0_22
## %bb.23:
movl $143, %edx
andl -44(%rbp), %edx
orl $64, %edx
movl %edx, -44(%rbp)
movq %r14, %rdi
movl $81, %esi
callq _pci_write_config_byte
cmpl (%rbx), %eax
jne LBB0_24
## %bb.25:
xorl %ebx, %ebx
cmpl $0, 4(%r15)
je LBB0_33
## %bb.26:
movq _ETH_ALEN@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_33
## %bb.27:
xorl %r13d, %r13d
xorl %r12d, %r12d
xorl %ebx, %ebx
LBB0_29: ## =>This Inner Loop Header: Depth=1
movq _ET1310_PCI_MAC_ADDRESS@GOTPCREL(%rip), %rax
movl (%rax), %esi
addl %r12d, %esi
movq 16(%r15), %rdx
addq %r13, %rdx
movq %r14, %rdi
callq _pci_read_config_byte
movq _PCIBIOS_SUCCESSFUL@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_30
## %bb.28: ## in Loop: Header=BB0_29 Depth=1
incq %r12
movq _ETH_ALEN@GOTPCREL(%rip), %rax
movslq (%rax), %rax
addq $4, %r13
cmpq %rax, %r12
jl LBB0_29
jmp LBB0_33
LBB0_6:
leaq L_.str.1(%rip), %rsi
jmp LBB0_31
LBB0_13:
leaq L_.str.3(%rip), %rsi
jmp LBB0_31
LBB0_20:
leaq L_.str.6(%rip), %rsi
jmp LBB0_31
LBB0_16:
leaq L_.str.4(%rip), %rsi
jmp LBB0_31
LBB0_22:
leaq L_.str.7(%rip), %rsi
jmp LBB0_31
LBB0_18:
leaq L_.str.5(%rip), %rsi
jmp LBB0_31
LBB0_24:
leaq L_.str.8(%rip), %rsi
LBB0_31:
xorl %ebx, %ebx
movq %r14, %rdi
xorl %eax, %eax
callq _dev_err
LBB0_32:
movq _EIO@GOTPCREL(%rip), %rax
subl (%rax), %ebx
LBB0_33:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_30:
leaq L_.str.9(%rip), %rsi
jmp LBB0_31
.cfi_endproc
## -- End function
.comm _ET1310_NMI_DISABLE,4,2 ## @ET1310_NMI_DISABLE
.comm _ET1310_PCI_EEPROM_STATUS,4,2 ## @ET1310_PCI_EEPROM_STATUS
.comm _PCIBIOS_SUCCESSFUL,4,2 ## @PCIBIOS_SUCCESSFUL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Could not read PCI config space for EEPROM Status\n"
.comm _EIO,4,2 ## @EIO
.comm _PCI_REVISION_ID,4,2 ## @PCI_REVISION_ID
L_.str.1: ## @.str.1
.asciz "Could not read PCI config space for Revision ID\n"
L_.str.2: ## @.str.2
.asciz "Fatal EEPROM Status Error - 0x%04x\n"
.comm _ET1310_PCI_MAX_PYLD,4,2 ## @ET1310_PCI_MAX_PYLD
L_.str.3: ## @.str.3
.asciz "Could not read PCI config space for Max Payload Size\n"
.section __TEXT,__literal8,8byte_literals
.p2align 2 ## @__const.et131x_find_adapter.AckNak
L___const.et131x_find_adapter.AckNak:
.long 118 ## 0x76
.long 208 ## 0xd0
.p2align 2 ## @__const.et131x_find_adapter.Replay
L___const.et131x_find_adapter.Replay:
.long 480 ## 0x1e0
.long 749 ## 0x2ed
.comm _ET1310_PCI_ACK_NACK,4,2 ## @ET1310_PCI_ACK_NACK
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "Could not write PCI config space for ACK/NAK\n"
.comm _ET1310_PCI_REPLAY,4,2 ## @ET1310_PCI_REPLAY
L_.str.5: ## @.str.5
.asciz "Could not write PCI config space for Replay Timer\n"
.comm _ET1310_PCI_L0L1LATENCY,4,2 ## @ET1310_PCI_L0L1LATENCY
L_.str.6: ## @.str.6
.asciz "Could not write PCI config space for Latency Timers\n"
L_.str.7: ## @.str.7
.asciz "Could not read PCI config space for Max read size\n"
L_.str.8: ## @.str.8
.asciz "Could not write PCI config space for Max read size\n"
.comm _ETH_ALEN,4,2 ## @ETH_ALEN
.comm _ET1310_PCI_MAC_ADDRESS,4,2 ## @ET1310_PCI_MAC_ADDRESS
L_.str.9: ## @.str.9
.asciz ";Could not read PCI config space for MAC address\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _et131x_find_adapter ; -- Begin function et131x_find_adapter
.p2align 2
_et131x_find_adapter: ; @et131x_find_adapter
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x20, x0
str wzr, [sp, #24]
ldr w8, [x0]
cbz w8, LBB0_2
; %bb.1:
Lloh0:
adrp x21, _ET1310_NMI_DISABLE@GOTPAGE
Lloh1:
ldr x21, [x21, _ET1310_NMI_DISABLE@GOTPAGEOFF]
ldr w0, [x21]
bl _inb
mov w8, #243
and w8, w0, w8
ldr w9, [x20]
orr w10, w8, #0xc
cmp w9, #2
csel w1, w10, w8, eq
ldr w0, [x21]
bl _outb
LBB0_2:
Lloh2:
adrp x21, _ET1310_PCI_EEPROM_STATUS@GOTPAGE
Lloh3:
ldr x21, [x21, _ET1310_PCI_EEPROM_STATUS@GOTPAGEOFF]
ldr w1, [x21]
add x2, sp, #28
mov x0, x19
bl _pci_read_config_byte
ldr w1, [x21]
add x2, sp, #28
mov x0, x19
bl _pci_read_config_byte
Lloh4:
adrp x21, _PCIBIOS_SUCCESSFUL@GOTPAGE
Lloh5:
ldr x21, [x21, _PCIBIOS_SUCCESSFUL@GOTPAGEOFF]
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_8
; %bb.3:
ldrb w8, [sp, #28]
mov w9, #76
tst w8, w9
b.eq LBB0_9
; %bb.4:
Lloh6:
adrp x8, _PCI_REVISION_ID@GOTPAGE
Lloh7:
ldr x8, [x8, _PCI_REVISION_ID@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
add x2, sp, #20
mov x0, x19
bl _pci_read_config_byte
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_23
; %bb.5:
ldr w8, [sp, #20]
cmp w8, #1
b.ne LBB0_7
; %bb.6:
mov x0, x20
mov w1, #0
mov w2, #254
bl _EepromWriteByte
mov x0, x20
mov w1, #1
mov w2, #19
bl _EepromWriteByte
mov x0, x20
mov w1, #2
mov w2, #16
bl _EepromWriteByte
LBB0_7:
ldr w8, [sp, #28]
str x8, [sp]
Lloh9:
adrp x1, l_.str.2@PAGE
Lloh10:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _dev_err
str wzr, [x20, #4]
b LBB0_31
LBB0_8:
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
b LBB0_30
LBB0_9:
mov w8, #1
str w8, [x20, #4]
ldr x2, [x20, #8]
mov x0, x20
mov w1, #112
bl _EepromReadByte
ldr x8, [x20, #8]
add x2, x8, #4
mov x0, x20
mov w1, #113
bl _EepromReadByte
ldr x8, [x20, #8]
ldr w9, [x8]
cmp w9, #205
b.eq LBB0_11
; %bb.10:
str wzr, [x8, #4]
LBB0_11:
Lloh13:
adrp x8, _ET1310_PCI_MAX_PYLD@GOTPAGE
Lloh14:
ldr x8, [x8, _ET1310_PCI_MAX_PYLD@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
add x2, sp, #24
mov x0, x19
bl _pci_read_config_byte
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_24
; %bb.12:
ldr w8, [sp, #24]
and x8, x8, #0x7
str w8, [sp, #24]
cmp w8, #1
b.hi LBB0_15
; %bb.13:
Lloh16:
adrp x9, _ET1310_PCI_ACK_NACK@GOTPAGE
Lloh17:
ldr x9, [x9, _ET1310_PCI_ACK_NACK@GOTPAGEOFF]
Lloh18:
ldr w1, [x9]
Lloh19:
adrp x9, l___const.et131x_find_adapter.AckNak@PAGE
Lloh20:
add x9, x9, l___const.et131x_find_adapter.AckNak@PAGEOFF
ldr w2, [x9, x8, lsl #2]
mov x0, x19
bl _pci_write_config_word
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_26
; %bb.14:
Lloh21:
adrp x8, _ET1310_PCI_REPLAY@GOTPAGE
Lloh22:
ldr x8, [x8, _ET1310_PCI_REPLAY@GOTPAGEOFF]
Lloh23:
ldr w1, [x8]
ldrsw x8, [sp, #24]
Lloh24:
adrp x9, l___const.et131x_find_adapter.Replay@PAGE
Lloh25:
add x9, x9, l___const.et131x_find_adapter.Replay@PAGEOFF
ldr w2, [x9, x8, lsl #2]
mov x0, x19
bl _pci_write_config_word
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_28
LBB0_15:
Lloh26:
adrp x8, _ET1310_PCI_L0L1LATENCY@GOTPAGE
Lloh27:
ldr x8, [x8, _ET1310_PCI_L0L1LATENCY@GOTPAGEOFF]
Lloh28:
ldr w1, [x8]
mov x0, x19
mov w2, #17
bl _pci_write_config_byte
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_25
; %bb.16:
add x2, sp, #20
mov x0, x19
mov w1, #81
bl _pci_read_config_byte
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_27
; %bb.17:
ldr w8, [sp, #20]
mov w9, #143
and w8, w8, w9
orr w2, w8, #0x40
str w2, [sp, #20]
mov x0, x19
mov w1, #81
bl _pci_write_config_byte
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_29
; %bb.18:
mov w0, #0
ldr w8, [x20, #4]
cbz w8, LBB0_32
; %bb.19:
Lloh29:
adrp x22, _ETH_ALEN@GOTPAGE
Lloh30:
ldr x22, [x22, _ETH_ALEN@GOTPAGEOFF]
ldr w8, [x22]
cmp w8, #1
b.lt LBB0_32
; %bb.20:
mov x23, #0
mov x24, #0
Lloh31:
adrp x25, _ET1310_PCI_MAC_ADDRESS@GOTPAGE
Lloh32:
ldr x25, [x25, _ET1310_PCI_MAC_ADDRESS@GOTPAGEOFF]
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [x25]
add w1, w24, w8
ldr x8, [x20, #16]
add x2, x8, x23
mov x0, x19
bl _pci_read_config_byte
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_33
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
mov w0, #0
add x24, x24, #1
ldrsw x8, [x22]
add x23, x23, #4
cmp x24, x8
b.lt LBB0_21
b LBB0_32
LBB0_23:
Lloh33:
adrp x1, l_.str.1@PAGE
Lloh34:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_30
LBB0_24:
Lloh35:
adrp x1, l_.str.3@PAGE
Lloh36:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_30
LBB0_25:
Lloh37:
adrp x1, l_.str.6@PAGE
Lloh38:
add x1, x1, l_.str.6@PAGEOFF
b LBB0_30
LBB0_26:
Lloh39:
adrp x1, l_.str.4@PAGE
Lloh40:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_30
LBB0_27:
Lloh41:
adrp x1, l_.str.7@PAGE
Lloh42:
add x1, x1, l_.str.7@PAGEOFF
b LBB0_30
LBB0_28:
Lloh43:
adrp x1, l_.str.5@PAGE
Lloh44:
add x1, x1, l_.str.5@PAGEOFF
b LBB0_30
LBB0_29:
Lloh45:
adrp x1, l_.str.8@PAGE
Lloh46:
add x1, x1, l_.str.8@PAGEOFF
LBB0_30:
mov x0, x19
bl _dev_err
LBB0_31:
Lloh47:
adrp x8, _EIO@GOTPAGE
Lloh48:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh49:
ldr w8, [x8]
neg w0, w8
LBB0_32:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_33:
Lloh50:
adrp x1, l_.str.9@PAGE
Lloh51:
add x1, x1, l_.str.9@PAGEOFF
b LBB0_30
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpAdd Lloh50, Lloh51
.cfi_endproc
; -- End function
.comm _ET1310_NMI_DISABLE,4,2 ; @ET1310_NMI_DISABLE
.comm _ET1310_PCI_EEPROM_STATUS,4,2 ; @ET1310_PCI_EEPROM_STATUS
.comm _PCIBIOS_SUCCESSFUL,4,2 ; @PCIBIOS_SUCCESSFUL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Could not read PCI config space for EEPROM Status\n"
.comm _EIO,4,2 ; @EIO
.comm _PCI_REVISION_ID,4,2 ; @PCI_REVISION_ID
l_.str.1: ; @.str.1
.asciz "Could not read PCI config space for Revision ID\n"
l_.str.2: ; @.str.2
.asciz "Fatal EEPROM Status Error - 0x%04x\n"
.comm _ET1310_PCI_MAX_PYLD,4,2 ; @ET1310_PCI_MAX_PYLD
l_.str.3: ; @.str.3
.asciz "Could not read PCI config space for Max Payload Size\n"
.section __TEXT,__literal8,8byte_literals
.p2align 2 ; @__const.et131x_find_adapter.AckNak
l___const.et131x_find_adapter.AckNak:
.long 118 ; 0x76
.long 208 ; 0xd0
.p2align 2 ; @__const.et131x_find_adapter.Replay
l___const.et131x_find_adapter.Replay:
.long 480 ; 0x1e0
.long 749 ; 0x2ed
.comm _ET1310_PCI_ACK_NACK,4,2 ; @ET1310_PCI_ACK_NACK
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "Could not write PCI config space for ACK/NAK\n"
.comm _ET1310_PCI_REPLAY,4,2 ; @ET1310_PCI_REPLAY
l_.str.5: ; @.str.5
.asciz "Could not write PCI config space for Replay Timer\n"
.comm _ET1310_PCI_L0L1LATENCY,4,2 ; @ET1310_PCI_L0L1LATENCY
l_.str.6: ; @.str.6
.asciz "Could not write PCI config space for Latency Timers\n"
l_.str.7: ; @.str.7
.asciz "Could not read PCI config space for Max read size\n"
l_.str.8: ; @.str.8
.asciz "Could not write PCI config space for Max read size\n"
.comm _ETH_ALEN,4,2 ; @ETH_ALEN
.comm _ET1310_PCI_MAC_ADDRESS,4,2 ; @ET1310_PCI_MAC_ADDRESS
l_.str.9: ; @.str.9
.asciz ";Could not read PCI config space for MAC address\n"
.subsections_via_symbols
| the_stack_data/231089.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function audit_log_set_loginuid
_audit_log_set_loginuid: ## @audit_log_set_loginuid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, -52(%rbp) ## 4-byte Spill
movq _audit_enabled@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_6
## %bb.1:
movl %ecx, %r12d
movl %edx, %ebx
movl %esi, %r14d
movl %edi, %r13d
xorl %eax, %eax
callq _audit_context
movq _GFP_KERNEL@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq _AUDIT_LOGIN@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %eax, %edi
callq _audit_log_start
testq %rax, %rax
je LBB0_6
## %bb.2:
movq %rax, %r15
movl %ebx, -44(%rbp) ## 4-byte Spill
movq %r12, -64(%rbp) ## 8-byte Spill
movq _current@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _task_uid
movq _init_user_ns@GOTPCREL(%rip), %r12
movq %r12, %rdi
movl %eax, %esi
callq _from_kuid
movl %eax, %ebx
movq %r12, %rdi
movl %r13d, %esi
callq _from_kuid
movl %eax, -48(%rbp) ## 4-byte Spill
movq %r12, %rdi
movl %r14d, %esi
callq _from_kuid
movl %eax, %r14d
xorl %eax, %eax
callq _audit_get_tty
movq %rax, %r13
movq _current@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _task_tgid_nr
leaq L_.str(%rip), %rsi
movq %r15, %rdi
movl %eax, %edx
movl %ebx, %ecx
xorl %eax, %eax
callq _audit_log_format
movq %r15, %rdi
callq _audit_log_task_context
testq %r13, %r13
je LBB0_3
## %bb.4:
movq %r13, %rdi
callq _tty_name
movq %rax, %r8
jmp LBB0_5
LBB0_6:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
leaq L_.str.2(%rip), %r8
LBB0_5:
movl -44(%rbp), %r9d ## 4-byte Reload
xorl %ebx, %ebx
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
sete %bl
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
movl -48(%rbp), %edx ## 4-byte Reload
movl %r14d, %ecx
xorl %eax, %eax
pushq %rbx
pushq -64(%rbp) ## 8-byte Folded Reload
callq _audit_log_format
addq $16, %rsp
movq %r13, %rdi
callq _audit_put_tty
movq %r15, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _audit_log_end ## TAILCALL
.cfi_endproc
## -- End function
.comm _audit_enabled,4,2 ## @audit_enabled
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _AUDIT_LOGIN,4,2 ## @AUDIT_LOGIN
.comm _init_user_ns,4,2 ## @init_user_ns
.comm _current,4,2 ## @current
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "pid=%d uid=%u"
L_.str.1: ## @.str.1
.asciz " old-auid=%u auid=%u tty=%s old-ses=%u ses=%u res=%d"
L_.str.2: ## @.str.2
.asciz "(none)"
.no_dead_strip _audit_log_set_loginuid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function audit_log_set_loginuid
_audit_log_set_loginuid: ; @audit_log_set_loginuid
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, _audit_enabled@GOTPAGE
Lloh1:
ldr x8, [x8, _audit_enabled@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbz w8, LBB0_4
; %bb.1:
mov x21, x4
mov x19, x3
mov x20, x2
mov x24, x1
mov x23, x0
bl _audit_context
Lloh3:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x8, _AUDIT_LOGIN@GOTPAGE
Lloh7:
ldr x8, [x8, _AUDIT_LOGIN@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
bl _audit_log_start
cbz x0, LBB0_4
; %bb.2:
mov x22, x0
Lloh9:
adrp x27, _current@GOTPAGE
Lloh10:
ldr x27, [x27, _current@GOTPAGEOFF]
ldr w0, [x27]
bl _task_uid
mov x1, x0
Lloh11:
adrp x25, _init_user_ns@GOTPAGE
Lloh12:
ldr x25, [x25, _init_user_ns@GOTPAGEOFF]
mov x0, x25
bl _from_kuid
mov x26, x0
mov x0, x25
mov x1, x23
bl _from_kuid
mov x23, x0
mov x0, x25
mov x1, x24
bl _from_kuid
mov x24, x0
bl _audit_get_tty
mov x25, x0
ldr w0, [x27]
bl _task_tgid_nr
mov x2, x0
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
mov x0, x22
mov x3, x26
bl _audit_log_format
mov x0, x22
bl _audit_log_task_context
cbz x25, LBB0_5
; %bb.3:
mov x0, x25
bl _tty_name
b LBB0_6
LBB0_4:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_5:
Lloh15:
adrp x0, l_.str.2@PAGE
Lloh16:
add x0, x0, l_.str.2@PAGEOFF
LBB0_6:
cmp w21, #0
cset w8, eq
stp x0, x20, [sp]
stp x19, x8, [sp, #16]
Lloh17:
adrp x1, l_.str.1@PAGE
Lloh18:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x22
mov x2, x23
mov x3, x24
bl _audit_log_format
mov x0, x25
bl _audit_put_tty
mov x0, x22
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
b _audit_log_end
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _audit_enabled,4,2 ; @audit_enabled
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _AUDIT_LOGIN,4,2 ; @AUDIT_LOGIN
.comm _init_user_ns,4,2 ; @init_user_ns
.comm _current,4,2 ; @current
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "pid=%d uid=%u"
l_.str.1: ; @.str.1
.asciz " old-auid=%u auid=%u tty=%s old-ses=%u ses=%u res=%d"
l_.str.2: ; @.str.2
.asciz "(none)"
.no_dead_strip _audit_log_set_loginuid
.subsections_via_symbols
| AnghaBench/linux/kernel/extr_audit.c_audit_log_set_loginuid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _arg_to_int ## -- Begin function arg_to_int
.p2align 4, 0x90
_arg_to_int: ## @arg_to_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %ebx
movl %ecx, -36(%rbp)
testq %rdi, %rdi
je LBB0_6
## %bb.1:
movq %r8, %r14
movl %edx, %r15d
movl %esi, %r12d
leaq L_.str(%rip), %rsi
leaq -36(%rbp), %rdx
xorl %eax, %eax
callq _sscanf
cmpl $1, %eax
jne LBB0_2
## %bb.3:
movl -36(%rbp), %eax
leaq L_.str.2(%rip), %rsi
cmpl %r12d, %eax
jl LBB0_5
## %bb.4:
cmpl %r15d, %eax
jle LBB0_7
jmp LBB0_5
LBB0_2:
leaq L_.str.1(%rip), %rsi
LBB0_5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq %r14, %rdx
xorl %eax, %eax
callq _fprintf
LBB0_6:
movl %ebx, %eax
LBB0_7:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _help ## -- Begin function help
.p2align 4, 0x90
_help: ## @help
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %ebx
leaq L_.str.4(%rip), %r15
movq _optarg@GOTPCREL(%rip), %r12
leaq LJTI2_0(%rip), %r13
jmp LBB2_1
LBB2_15: ## in Loop: Header=BB2_1 Depth=1
movq (%r12), %rax
movq %rax, _out_fname(%rip)
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _getopt
## kill: def $eax killed $eax def $rax
leal -102(%rax), %ecx
cmpl $16, %ecx
ja LBB2_2
## %bb.22: ## in Loop: Header=BB2_1 Depth=1
movslq (%r13,%rcx,4), %rax
addq %r13, %rax
jmpq *%rax
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
orb $2, _flags(%rip)
jmp LBB2_1
.p2align 4, 0x90
LBB2_2: ## in Loop: Header=BB2_1 Depth=1
cmpl $1, %eax
je LBB2_16
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
cmpl $-1, %eax
jne LBB2_1
jmp LBB2_4
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
orb $1, _flags(%rip)
jmp LBB2_1
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
orb $4, _flags(%rip)
jmp LBB2_1
LBB2_10: ## in Loop: Header=BB2_1 Depth=1
movq (%r12), %rdi
movl $5, -44(%rbp)
movl $5, %eax
testq %rdi, %rdi
je LBB2_14
## %bb.11: ## in Loop: Header=BB2_1 Depth=1
leaq L_.str(%rip), %rsi
leaq -44(%rbp), %rdx
xorl %eax, %eax
callq _sscanf
leaq L_.str.1(%rip), %rsi
cmpl $1, %eax
jne LBB2_13
## %bb.12: ## in Loop: Header=BB2_1 Depth=1
movl -44(%rbp), %eax
leaq L_.str.2(%rip), %rsi
cmpl $11, %eax
jb LBB2_14
LBB2_13: ## in Loop: Header=BB2_1 Depth=1
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.5(%rip), %rdx
xorl %eax, %eax
callq _fprintf
movl $5, %eax
LBB2_14: ## in Loop: Header=BB2_1 Depth=1
movl %eax, _verbose(%rip)
jmp LBB2_1
LBB2_16: ## in Loop: Header=BB2_1 Depth=1
movq (%r12), %rax
movq %rax, _in_fname(%rip)
jmp LBB2_1
LBB2_4:
testb $1, _flags(%rip)
leaq L_str.17(%rip), %rax
leaq L_str.24(%rip), %rdi
cmoveq %rax, %rdi
callq _puts
testb $2, _flags(%rip)
leaq L_str.18(%rip), %rax
leaq L_str.23(%rip), %rdi
cmoveq %rax, %rdi
callq _puts
testb $4, _flags(%rip)
leaq L_str.19(%rip), %rax
leaq L_str.22(%rip), %rdi
cmoveq %rax, %rdi
callq _puts
movl _verbose(%rip), %esi
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _printf
movq _in_fname(%rip), %rsi
testq %rsi, %rsi
je LBB2_17
## %bb.5:
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB2_18
LBB2_17:
leaq L_str.20(%rip), %rdi
callq _puts
LBB2_18:
movq _out_fname(%rip), %rsi
testq %rsi, %rsi
je LBB2_20
## %bb.19:
leaq L_.str.15(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB2_21
LBB2_20:
leaq L_str.21(%rip), %rdi
callq _puts
LBB2_21:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_9:
callq _help
xorl %edi, %edi
callq _exit
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_7, LBB2_7-LJTI2_0
.set L2_0_set_1, LBB2_1-LJTI2_0
.set L2_0_set_9, LBB2_9-LJTI2_0
.set L2_0_set_6, LBB2_6-LJTI2_0
.set L2_0_set_15, LBB2_15-LJTI2_0
.set L2_0_set_8, LBB2_8-LJTI2_0
.set L2_0_set_10, LBB2_10-LJTI2_0
LJTI2_0:
.long L2_0_set_7
.long L2_0_set_1
.long L2_0_set_9
.long L2_0_set_6
.long L2_0_set_1
.long L2_0_set_1
.long L2_0_set_1
.long L2_0_set_1
.long L2_0_set_1
.long L2_0_set_15
.long L2_0_set_1
.long L2_0_set_1
.long L2_0_set_8
.long L2_0_set_1
.long L2_0_set_1
.long L2_0_set_1
.long L2_0_set_10
.end_data_region
## -- End function
.globl _flags ## @flags
.zerofill __DATA,__common,_flags,4,2
.section __DATA,__data
.globl _verbose ## @verbose
.p2align 2
_verbose:
.long 5 ## 0x5
.globl _in_fname ## @in_fname
.zerofill __DATA,__common,_in_fname,8,3
.globl _out_fname ## @out_fname
.zerofill __DATA,__common,_out_fname,8,3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%s: integer argument required.\n"
L_.str.2: ## @.str.2
.asciz "%s: argument out of integer range.\n"
L_.str.4: ## @.str.4
.asciz "-ifrhv::o:"
L_.str.5: ## @.str.5
.asciz "v"
L_.str.12: ## @.str.12
.asciz "verbosity level: %d\n"
L_.str.13: ## @.str.13
.asciz "input filename: %s\n"
L_.str.15: ## @.str.15
.asciz "output filename: %s\n"
L_str: ## @str
.asciz "getopt test program\nUsage: test [OPTION] [INPUT]\n INPUT set input filename (doesn't do anything)\n -h help menu (this screen)\n -i interactive mode (doesn't do anything)\n -f force mode (doesn't do anything)\n -r recursive mode (doesn't do anything)\n -v[level] set verbosity level (5 is default; doesn't do anything)\n -o filename set output filename (doesn't do anything)"
L_str.17: ## @str.17
.asciz "not in interactive mode"
L_str.18: ## @str.18
.asciz "not in force mode"
L_str.19: ## @str.19
.asciz "not in recursive mode"
L_str.20: ## @str.20
.asciz "no input filename"
L_str.21: ## @str.21
.asciz "no output filename"
L_str.22: ## @str.22
.asciz "in recursive mode"
L_str.23: ## @str.23
.asciz "in force mode"
L_str.24: ## @str.24
.asciz "in interactive mode"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _arg_to_int ; -- Begin function arg_to_int
.p2align 2
_arg_to_int: ; @arg_to_int
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
str w3, [sp, #12]
cbz x0, LBB0_6
; %bb.1:
mov x20, x4
mov x21, x2
mov x22, x1
add x8, sp, #12
str x8, [sp]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _sscanf
cmp w0, #1
b.ne LBB0_4
; %bb.2:
ldr w0, [sp, #12]
cmp w0, w22
ccmp w0, w21, #0, ge
b.le LBB0_7
; %bb.3:
Lloh2:
adrp x1, l_.str.2@PAGE
Lloh3:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_5
LBB0_4:
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
LBB0_5:
Lloh6:
adrp x8, ___stderrp@GOTPAGE
Lloh7:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh8:
ldr x0, [x8]
str x20, [sp]
bl _fprintf
LBB0_6:
mov x0, x19
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.globl _help ; -- Begin function help
.p2align 2
_help: ; @help
.cfi_startproc
; %bb.0:
Lloh9:
adrp x0, l_str@PAGE
Lloh10:
add x0, x0, l_str@PAGEOFF
b _puts
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
Lloh11:
adrp x21, l_.str.4@PAGE
Lloh12:
add x21, x21, l_.str.4@PAGEOFF
Lloh13:
adrp x27, _optarg@GOTPAGE
Lloh14:
ldr x27, [x27, _optarg@GOTPAGEOFF]
Lloh15:
adrp x28, lJTI2_0@PAGE
Lloh16:
add x28, x28, lJTI2_0@PAGEOFF
adrp x26, _flags@PAGE
adrp x23, _out_fname@PAGE
adrp x25, _verbose@PAGE
Lloh17:
adrp x22, l_.str@PAGE
Lloh18:
add x22, x22, l_.str@PAGEOFF
Lloh19:
adrp x24, l_.str.1@PAGE
Lloh20:
add x24, x24, l_.str.1@PAGEOFF
b LBB2_2
LBB2_1: ; in Loop: Header=BB2_2 Depth=1
ldr x8, [x27]
str x8, [x23, _out_fname@PAGEOFF]
LBB2_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x21
bl _getopt
sub w8, w0, #102
cmp w8, #16
b.hi LBB2_5
; %bb.3: ; in Loop: Header=BB2_2 Depth=1
adr x9, LBB2_1
ldrb w10, [x28, x8]
add x9, x9, x10, lsl #2
br x9
LBB2_4: ; in Loop: Header=BB2_2 Depth=1
ldr w8, [x26, _flags@PAGEOFF]
orr w8, w8, #0x2
str w8, [x26, _flags@PAGEOFF]
b LBB2_2
LBB2_5: ; in Loop: Header=BB2_2 Depth=1
cmp w0, #1
b.eq LBB2_14
; %bb.6: ; in Loop: Header=BB2_2 Depth=1
cmn w0, #1
b.ne LBB2_2
b LBB2_15
LBB2_7: ; in Loop: Header=BB2_2 Depth=1
ldr w8, [x26, _flags@PAGEOFF]
orr w8, w8, #0x1
str w8, [x26, _flags@PAGEOFF]
b LBB2_2
LBB2_8: ; in Loop: Header=BB2_2 Depth=1
ldr w8, [x26, _flags@PAGEOFF]
orr w8, w8, #0x4
str w8, [x26, _flags@PAGEOFF]
b LBB2_2
LBB2_9: ; in Loop: Header=BB2_2 Depth=1
ldr x0, [x27]
mov w8, #5
str w8, [sp, #12]
cbz x0, LBB2_13
; %bb.10: ; in Loop: Header=BB2_2 Depth=1
add x8, sp, #12
str x8, [sp]
mov x1, x22
bl _sscanf
mov x1, x24
cmp w0, #1
b.ne LBB2_12
; %bb.11: ; in Loop: Header=BB2_2 Depth=1
ldr w8, [sp, #12]
Lloh21:
adrp x1, l_.str.2@PAGE
Lloh22:
add x1, x1, l_.str.2@PAGEOFF
cmp w8, #11
b.lo LBB2_13
LBB2_12: ; in Loop: Header=BB2_2 Depth=1
Lloh23:
adrp x8, ___stderrp@GOTPAGE
Lloh24:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh25:
ldr x0, [x8]
Lloh26:
adrp x8, l_.str.5@PAGE
Lloh27:
add x8, x8, l_.str.5@PAGEOFF
str x8, [sp]
bl _fprintf
mov w8, #5
LBB2_13: ; in Loop: Header=BB2_2 Depth=1
str w8, [x25, _verbose@PAGEOFF]
b LBB2_2
LBB2_14: ; in Loop: Header=BB2_2 Depth=1
ldr x8, [x27]
adrp x9, _in_fname@PAGE
str x8, [x9, _in_fname@PAGEOFF]
b LBB2_2
LBB2_15:
ldr w8, [x26, _flags@PAGEOFF]
Lloh28:
adrp x9, l_str.24@PAGE
Lloh29:
add x9, x9, l_str.24@PAGEOFF
Lloh30:
adrp x10, l_str.17@PAGE
Lloh31:
add x10, x10, l_str.17@PAGEOFF
tst w8, #0x1
csel x0, x10, x9, eq
bl _puts
ldr w8, [x26, _flags@PAGEOFF]
Lloh32:
adrp x9, l_str.23@PAGE
Lloh33:
add x9, x9, l_str.23@PAGEOFF
Lloh34:
adrp x10, l_str.18@PAGE
Lloh35:
add x10, x10, l_str.18@PAGEOFF
tst w8, #0x2
csel x0, x10, x9, eq
bl _puts
ldr w8, [x26, _flags@PAGEOFF]
Lloh36:
adrp x9, l_str.22@PAGE
Lloh37:
add x9, x9, l_str.22@PAGEOFF
Lloh38:
adrp x10, l_str.19@PAGE
Lloh39:
add x10, x10, l_str.19@PAGEOFF
tst w8, #0x4
csel x0, x10, x9, eq
bl _puts
ldr w8, [x25, _verbose@PAGEOFF]
str x8, [sp]
Lloh40:
adrp x0, l_.str.12@PAGE
Lloh41:
add x0, x0, l_.str.12@PAGEOFF
bl _printf
Lloh42:
adrp x8, _in_fname@PAGE
Lloh43:
ldr x8, [x8, _in_fname@PAGEOFF]
cbz x8, LBB2_18
; %bb.16:
str x8, [sp]
Lloh44:
adrp x0, l_.str.13@PAGE
Lloh45:
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldr x8, [x23, _out_fname@PAGEOFF]
cbz x8, LBB2_19
LBB2_17:
str x8, [sp]
Lloh46:
adrp x0, l_.str.15@PAGE
Lloh47:
add x0, x0, l_.str.15@PAGEOFF
bl _printf
b LBB2_20
LBB2_18:
Lloh48:
adrp x0, l_str.20@PAGE
Lloh49:
add x0, x0, l_str.20@PAGEOFF
bl _puts
ldr x8, [x23, _out_fname@PAGEOFF]
cbnz x8, LBB2_17
LBB2_19:
Lloh50:
adrp x0, l_str.21@PAGE
Lloh51:
add x0, x0, l_str.21@PAGEOFF
bl _puts
LBB2_20:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB2_21:
bl _help
mov w0, #0
bl _exit
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdr Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh50, Lloh51
.cfi_endproc
.section __TEXT,__const
lJTI2_0:
.byte (LBB2_4-LBB2_1)>>2
.byte (LBB2_2-LBB2_1)>>2
.byte (LBB2_21-LBB2_1)>>2
.byte (LBB2_7-LBB2_1)>>2
.byte (LBB2_2-LBB2_1)>>2
.byte (LBB2_2-LBB2_1)>>2
.byte (LBB2_2-LBB2_1)>>2
.byte (LBB2_2-LBB2_1)>>2
.byte (LBB2_2-LBB2_1)>>2
.byte (LBB2_1-LBB2_1)>>2
.byte (LBB2_2-LBB2_1)>>2
.byte (LBB2_2-LBB2_1)>>2
.byte (LBB2_8-LBB2_1)>>2
.byte (LBB2_2-LBB2_1)>>2
.byte (LBB2_2-LBB2_1)>>2
.byte (LBB2_2-LBB2_1)>>2
.byte (LBB2_9-LBB2_1)>>2
; -- End function
.globl _flags ; @flags
.zerofill __DATA,__common,_flags,4,2
.section __DATA,__data
.globl _verbose ; @verbose
.p2align 2
_verbose:
.long 5 ; 0x5
.globl _in_fname ; @in_fname
.zerofill __DATA,__common,_in_fname,8,3
.globl _out_fname ; @out_fname
.zerofill __DATA,__common,_out_fname,8,3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%s: integer argument required.\n"
l_.str.2: ; @.str.2
.asciz "%s: argument out of integer range.\n"
l_.str.4: ; @.str.4
.asciz "-ifrhv::o:"
l_.str.5: ; @.str.5
.asciz "v"
l_.str.12: ; @.str.12
.asciz "verbosity level: %d\n"
l_.str.13: ; @.str.13
.asciz "input filename: %s\n"
l_.str.15: ; @.str.15
.asciz "output filename: %s\n"
l_str: ; @str
.asciz "getopt test program\nUsage: test [OPTION] [INPUT]\n INPUT set input filename (doesn't do anything)\n -h help menu (this screen)\n -i interactive mode (doesn't do anything)\n -f force mode (doesn't do anything)\n -r recursive mode (doesn't do anything)\n -v[level] set verbosity level (5 is default; doesn't do anything)\n -o filename set output filename (doesn't do anything)"
l_str.17: ; @str.17
.asciz "not in interactive mode"
l_str.18: ; @str.18
.asciz "not in force mode"
l_str.19: ; @str.19
.asciz "not in recursive mode"
l_str.20: ; @str.20
.asciz "no input filename"
l_str.21: ; @str.21
.asciz "no output filename"
l_str.22: ; @str.22
.asciz "in recursive mode"
l_str.23: ; @str.23
.asciz "in force mode"
l_str.24: ; @str.24
.asciz "in interactive mode"
.subsections_via_symbols
| the_stack_data/59513388.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
leaq -10(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movzwl -10(%rbp), %esi
leaq L_.str.1(%rip), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movzwl -10(%rbp), %esi
addl %esi, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movzwl -10(%rbp), %eax
leal (%rax,%rax,2), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movzwl -10(%rbp), %esi
shll $2, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movzwl -10(%rbp), %eax
leal (%rax,%rax,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movzwl -10(%rbp), %eax
addl %eax, %eax
leal (%rax,%rax,2), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movzwl -10(%rbp), %eax
leal (,%rax,8), %esi
subl %eax, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movzwl -10(%rbp), %esi
shll $3, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movzwl -10(%rbp), %eax
leal (%rax,%rax,8), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movzwl -10(%rbp), %eax
addl %eax, %eax
leal (%rax,%rax,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%hu"
L_.str.1: ## @.str.1
.asciz "%u\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
add x8, sp, #14
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldrh w8, [sp, #14]
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _printf
ldrh w8, [sp, #14]
lsl w8, w8, #1
str x8, [sp]
mov x0, x19
bl _printf
ldrh w8, [sp, #14]
add w8, w8, w8, lsl #1
str x8, [sp]
mov x0, x19
bl _printf
ldrh w8, [sp, #14]
lsl w8, w8, #2
str x8, [sp]
mov x0, x19
bl _printf
ldrh w8, [sp, #14]
add w8, w8, w8, lsl #2
str x8, [sp]
mov x0, x19
bl _printf
ldrh w8, [sp, #14]
add w8, w8, w8, lsl #1
lsl w8, w8, #1
str x8, [sp]
mov x0, x19
bl _printf
ldrh w8, [sp, #14]
lsl w9, w8, #3
sub w8, w9, w8
str x8, [sp]
mov x0, x19
bl _printf
ldrh w8, [sp, #14]
lsl w8, w8, #3
str x8, [sp]
mov x0, x19
bl _printf
ldrh w8, [sp, #14]
add w8, w8, w8, lsl #3
str x8, [sp]
mov x0, x19
bl _printf
ldrh w8, [sp, #14]
add w8, w8, w8, lsl #2
lsl w8, w8, #1
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%hu"
l_.str.1: ; @.str.1
.asciz "%u\n"
.subsections_via_symbols
| the_stack_data/37251.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DSA_new ## -- Begin function DSA_new
.p2align 4, 0x90
_DSA_new: ## @DSA_new
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
popq %rbp
jmp _DSA_new_method ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DSA_new ; -- Begin function DSA_new
.p2align 2
_DSA_new: ; @DSA_new
.cfi_startproc
; %bb.0:
mov x0, #0
b _DSA_new_method
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/dsa/extr_dsa_lib.c_DSA_new.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function convert_movewide_to_mov
_convert_movewide_to_mov: ## @convert_movewide_to_mov
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq (%rdi), %rax
movl 32(%rax), %ecx
movl 40(%rax), %ebx
testl %ebx, %ebx
je LBB0_1
LBB0_2:
movq _AARCH64_OPND_IMM_MOV@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %edx, 44(%rax)
movq _AARCH64_MOD_NONE@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %edx, 36(%rax)
## kill: def $cl killed $cl killed $ecx
shll %cl, %ebx
movq 8(%r14), %rcx
movq (%rcx), %rcx
movq _OP_MOVN@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_5
## %bb.3:
movq (%rax), %rax
movq _AARCH64_OPND_QLF_W@GOTPCREL(%rip), %rcx
xorl %esi, %esi
cmpq (%rcx), %rax
sete %sil
notl %ebx
xorl %r15d, %r15d
movl %ebx, %edi
xorl %edx, %edx
callq _aarch64_wide_constant_p
testq %rax, %rax
jne LBB0_6
## %bb.4:
movq (%r14), %rax
LBB0_5:
movl %ebx, 40(%rax)
movl $0, 32(%rax)
movl $1, %r15d
jmp LBB0_6
LBB0_1:
xorl %r15d, %r15d
testl %ecx, %ecx
movl $0, %ecx
je LBB0_2
LBB0_6:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AARCH64_OPND_IMM_MOV,4,2 ## @AARCH64_OPND_IMM_MOV
.comm _AARCH64_MOD_NONE,4,2 ## @AARCH64_MOD_NONE
.comm _OP_MOVN,8,3 ## @OP_MOVN
.comm _AARCH64_OPND_QLF_W,8,3 ## @AARCH64_OPND_QLF_W
.no_dead_strip _convert_movewide_to_mov
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function convert_movewide_to_mov
_convert_movewide_to_mov: ; @convert_movewide_to_mov
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0]
ldr w9, [x8, #40]
ldr w11, [x8, #32]
cbz w9, LBB0_5
; %bb.1:
mov x10, x11
LBB0_2:
Lloh0:
adrp x11, _AARCH64_OPND_IMM_MOV@GOTPAGE
Lloh1:
ldr x11, [x11, _AARCH64_OPND_IMM_MOV@GOTPAGEOFF]
Lloh2:
ldr w11, [x11]
str w11, [x8, #44]
Lloh3:
adrp x11, _AARCH64_MOD_NONE@GOTPAGE
Lloh4:
ldr x11, [x11, _AARCH64_MOD_NONE@GOTPAGEOFF]
Lloh5:
ldr w11, [x11]
str w11, [x8, #36]
lsl w20, w9, w10
ldr x9, [x19, #8]
ldr x9, [x9]
Lloh6:
adrp x10, _OP_MOVN@GOTPAGE
Lloh7:
ldr x10, [x10, _OP_MOVN@GOTPAGEOFF]
Lloh8:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_7
; %bb.3:
ldr x8, [x8]
Lloh9:
adrp x9, _AARCH64_OPND_QLF_W@GOTPAGE
Lloh10:
ldr x9, [x9, _AARCH64_OPND_QLF_W@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x8, x9
cset w1, eq
mvn w20, w20
mov x0, x20
mov x2, #0
bl _aarch64_wide_constant_p
cbz x0, LBB0_6
; %bb.4:
mov w0, #0
b LBB0_8
LBB0_5:
mov w10, #0
mov w0, #0
cbnz w11, LBB0_8
b LBB0_2
LBB0_6:
ldr x8, [x19]
LBB0_7:
str w20, [x8, #40]
str wzr, [x8, #32]
mov w0, #1
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _AARCH64_OPND_IMM_MOV,4,2 ; @AARCH64_OPND_IMM_MOV
.comm _AARCH64_MOD_NONE,4,2 ; @AARCH64_MOD_NONE
.comm _OP_MOVN,8,3 ; @OP_MOVN
.comm _AARCH64_OPND_QLF_W,8,3 ; @AARCH64_OPND_QLF_W
.no_dead_strip _convert_movewide_to_mov
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-dis.c_convert_movewide_to_mov.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function source_dummy
LCPI0_0:
.long 0x41200000 ## float 10
LCPI0_1:
.long 0x43600000 ## float 224
LCPI0_2:
.long 0x41800000 ## float 16
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI0_3:
.space 16,255
.section __TEXT,__text,regular,pure_instructions
.globl _source_dummy
.p2align 4, 0x90
_source_dummy: ## @source_dummy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, -48(%rbp) ## 4-byte Spill
movl %edi, %r15d
movq _M_PI@GOTPCREL(%rip), %rax
movl (%rax), %eax
leal 63(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
sarl $6, %ecx
cvtsi2ss %ecx, %xmm1
movq _frame_cap@GOTPCREL(%rip), %rax
movq (%rax), %r12
movq _video_buf@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
movq _V4L2_FIELD_TOP@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
setne -80(%rbp) ## 1-byte Folded Spill
movq _V4L2_FIELD_BOTTOM@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete -44(%rbp) ## 1-byte Folded Spill
movq _dummy_pos@GOTPCREL(%rip), %r13
movss (%r13), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm1, -52(%rbp) ## 4-byte Spill
addss %xmm1, %xmm0
movss %xmm0, (%r13)
callq _sinf
## kill: def $eax killed $eax def $rax
movq (%rbx), %rdx
movq _V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rcx
xorps %xmm0, %xmm0
cmpq (%rcx), %rdx
jne LBB0_4
## %bb.1:
movq %rax, %rbx
movq _video_half_feed_rate@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB0_3
## %bb.2:
movl $1, (%rax)
LBB0_3:
movss (%r13), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _sinf
movl %eax, %r14d
movss -52(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
addss (%r13), %xmm0
movss %xmm0, (%r13)
callq _sinf
movd %r14d, %xmm0
pinsrd $1, %eax, %xmm0
pcmpeqd %xmm1, %xmm1
psubd %xmm1, %xmm0
movdqa %xmm0, %xmm1
psrld $31, %xmm1
paddd %xmm0, %xmm1
psrad $1, %xmm1
movd %r15d, %xmm0
pshufd $80, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,1,1]
pmulld %xmm1, %xmm0
movq %rbx, %rax
LBB0_4:
movl -48(%rbp), %ecx ## 4-byte Reload
imull %r15d, %ecx
movl %ecx, -48(%rbp) ## 4-byte Spill
testl %ecx, %ecx
jle LBB0_12
## %bb.5:
leal 1(%rax), %ecx
shrl $31, %ecx
leal (%rax,%rcx), %r14d
incl %r14d
movb -80(%rbp), %al ## 1-byte Reload
andb -44(%rbp), %al ## 1-byte Folded Reload
sarl %r14d
movzbl %al, %r13d
imull %r15d, %r14d
xorl %ebx, %ebx
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB0_6
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_6 Depth=1
movdqa -80(%rbp), %xmm0 ## 16-byte Reload
LBB0_11: ## in Loop: Header=BB0_6 Depth=1
addq $12, %r12
cmpl %ebx, -48(%rbp) ## 4-byte Folded Reload
je LBB0_12
LBB0_6: ## =>This Inner Loop Header: Depth=1
movaps %xmm0, -80(%rbp) ## 16-byte Spill
movl %ebx, %eax
cltd
idivl %r15d
leal (%r14,%r13), %eax
subl %edx, %eax
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
divss LCPI0_0(%rip), %xmm0
movl $-1, %edi
movl $1, %esi
callq _clamp_float
## kill: def $eax killed $eax def $rax
movl %eax, %ecx
incl %ecx
shrl $31, %ecx
addl %ecx, %eax
incl %eax
sarl %eax
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
mulss LCPI0_1(%rip), %xmm0
addss LCPI0_2(%rip), %xmm0
cvttss2si %xmm0, %eax
movl %eax, (%r12)
movl %eax, 4(%r12)
movl %eax, 8(%r12)
incl %ebx
movl %ebx, %eax
cltd
idivl %r15d
testl %edx, %edx
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movdqa -80(%rbp), %xmm0 ## 16-byte Reload
paddd LCPI0_3(%rip), %xmm0
movq _video_buf@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_9
## %bb.10: ## in Loop: Header=BB0_6 Depth=1
xorl %eax, %eax
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
sete %al
movd %xmm0, %ecx
pextrd $1, %xmm0, %r14d
cmovel %ecx, %r14d
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB0_11
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
addl $-2, %r14d
jmp LBB0_11
LBB0_12:
movq _video_buf@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _V4L2_FIELD_TOP@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _V4L2_FIELD_BOTTOM@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
cmpq %rax, %rcx
jne LBB0_14
## %bb.13:
movq %rdx, %rax
jmp LBB0_15
LBB0_14:
cmpq %rdx, %rcx
jne LBB0_16
LBB0_15:
movq _video_buf@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
LBB0_16:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _frame_cap,8,3 ## @frame_cap
.comm _M_PI,4,2 ## @M_PI
.comm _video_buf,8,3 ## @video_buf
.comm _V4L2_FIELD_TOP,8,3 ## @V4L2_FIELD_TOP
.comm _V4L2_FIELD_BOTTOM,8,3 ## @V4L2_FIELD_BOTTOM
.comm _dummy_pos,4,2 ## @dummy_pos
.comm _V4L2_FIELD_INTERLACED,8,3 ## @V4L2_FIELD_INTERLACED
.comm _video_half_feed_rate,4,2 ## @video_half_feed_rate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _source_dummy ; -- Begin function source_dummy
.p2align 2
_source_dummy: ; @source_dummy
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _frame_cap@GOTPAGE
Lloh1:
ldr x8, [x8, _frame_cap@GOTPAGEOFF]
Lloh2:
adrp x9, _M_PI@GOTPAGE
Lloh3:
ldr x9, [x9, _M_PI@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
add w10, w9, #63
cmp w9, #0
csel w9, w10, w9, lt
asr w9, w9, #6
scvtf s8, w9
Lloh5:
ldr x22, [x8]
Lloh6:
adrp x24, _video_buf@GOTPAGE
Lloh7:
ldr x24, [x24, _video_buf@GOTPAGEOFF]
ldr x8, [x24]
Lloh8:
adrp x9, _V4L2_FIELD_TOP@GOTPAGE
Lloh9:
ldr x9, [x9, _V4L2_FIELD_TOP@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x8, x9
Lloh11:
adrp x9, _V4L2_FIELD_BOTTOM@GOTPAGE
Lloh12:
ldr x9, [x9, _V4L2_FIELD_BOTTOM@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
ccmp x8, x9, #0, ne
cset w25, eq
Lloh14:
adrp x23, _dummy_pos@GOTPAGE
Lloh15:
ldr x23, [x23, _dummy_pos@GOTPAGEOFF]
ldr s0, [x23]
fadd s0, s0, s8
str s0, [x23]
bl _sinf
add w8, w0, #1
add w9, w0, #2
cmp w8, #0
csinc w21, w9, w0, lt
ldr x8, [x24]
Lloh16:
adrp x9, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh17:
ldr x9, [x9, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.1:
Lloh19:
adrp x8, _video_half_feed_rate@GOTPAGE
Lloh20:
ldr x8, [x8, _video_half_feed_rate@GOTPAGEOFF]
ldr w9, [x8]
cbnz w9, LBB0_3
; %bb.2:
mov w9, #1
str w9, [x8]
LBB0_3:
ldr s0, [x23]
bl _sinf
add w8, w0, #1
add w9, w0, #2
cmp w8, #0
csinc w8, w9, w0, lt
asr w8, w8, #1
mul w27, w8, w19
ldr s0, [x23]
fadd s0, s0, s8
str s0, [x23]
bl _sinf
add w8, w0, #1
add w9, w0, #2
cmp w8, #0
csinc w8, w9, w0, lt
asr w8, w8, #1
mul w28, w8, w19
b LBB0_5
LBB0_4:
mov w27, #0
mov w28, #0
LBB0_5:
mul w20, w20, w19
cmp w20, #1
b.lt LBB0_12
; %bb.6:
mov w23, #0
mov w24, #0
asr w8, w21, #1
mul w26, w8, w19
fmov s8, #10.00000000
mov w21, #1130364928
fmov s9, #16.00000000
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=1
cmp w24, #0
csel w26, w27, w28, eq
cset w24, eq
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
add x22, x22, #12
cmp w20, w23
b.eq LBB0_12
LBB0_9: ; =>This Inner Loop Header: Depth=1
sdiv w8, w23, w19
neg w9, w23
madd w8, w8, w19, w9
add w9, w26, w25
add w8, w9, w8
scvtf s0, w8
fdiv s0, s0, s8
mov w0, #-1
mov w1, #1
bl _clamp_float
add w8, w0, #1
add w9, w0, #2
cmp w8, #0
csinc w8, w9, w0, lt
asr w8, w8, #1
scvtf s0, w8
fmov s1, w21
fmadd s0, s0, s1, s9
fcvtzs w8, s0
stp w8, w8, [x22]
str w8, [x22, #8]
add w23, w23, #1
sdiv w8, w23, w19
msub w8, w8, w19, w23
cbnz w8, LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
sub w27, w27, #1
sub w28, w28, #1
Lloh21:
adrp x8, _video_buf@GOTPAGE
Lloh22:
ldr x8, [x8, _video_buf@GOTPAGEOFF]
Lloh23:
ldr x8, [x8]
Lloh24:
adrp x9, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh25:
ldr x9, [x9, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh26:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_7
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
sub w26, w26, #2
b LBB0_8
LBB0_12:
Lloh27:
adrp x8, _video_buf@GOTPAGE
Lloh28:
ldr x8, [x8, _video_buf@GOTPAGEOFF]
Lloh29:
ldr x10, [x8]
Lloh30:
adrp x8, _V4L2_FIELD_TOP@GOTPAGE
Lloh31:
ldr x8, [x8, _V4L2_FIELD_TOP@GOTPAGEOFF]
Lloh32:
ldr x9, [x8]
Lloh33:
adrp x8, _V4L2_FIELD_BOTTOM@GOTPAGE
Lloh34:
ldr x8, [x8, _V4L2_FIELD_BOTTOM@GOTPAGEOFF]
Lloh35:
ldr x8, [x8]
cmp x10, x9
b.eq LBB0_14
; %bb.13:
cmp x10, x8
mov x8, x9
b.ne LBB0_15
LBB0_14:
Lloh36:
adrp x9, _video_buf@GOTPAGE
Lloh37:
ldr x9, [x9, _video_buf@GOTPAGEOFF]
Lloh38:
str x8, [x9]
LBB0_15:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #112 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh5
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotStr Lloh36, Lloh37, Lloh38
.cfi_endproc
; -- End function
.comm _frame_cap,8,3 ; @frame_cap
.comm _M_PI,4,2 ; @M_PI
.comm _video_buf,8,3 ; @video_buf
.comm _V4L2_FIELD_TOP,8,3 ; @V4L2_FIELD_TOP
.comm _V4L2_FIELD_BOTTOM,8,3 ; @V4L2_FIELD_BOTTOM
.comm _dummy_pos,4,2 ; @dummy_pos
.comm _V4L2_FIELD_INTERLACED,8,3 ; @V4L2_FIELD_INTERLACED
.comm _video_half_feed_rate,4,2 ; @video_half_feed_rate
.subsections_via_symbols
| AnghaBench/RetroArch/cores/libretro-video-processor/extr_video_processor_v4l2.c_source_dummy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -44(%rbp)
jle LBB0_6
## %bb.1:
leaq L_.str.1(%rip), %r14
leaq -52(%rbp), %r15
leaq -48(%rbp), %rbx
leaq L_.str.3(%rip), %r13
xorl %r12d, %r12d
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
xorps %xmm0, %xmm0
cvtsi2sdl -52(%rbp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
movq %r13, %rdi
movb $1, %al
callq _printf
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
incl %r12d
cmpl -44(%rbp), %r12d
jge LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _scanf
movl -48(%rbp), %eax
testl %eax, %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
leaq L_str(%rip), %rdi
callq _puts
jmp LBB0_5
LBB0_6:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d"
L_.str.3: ## @.str.3
.asciz "%0.1lf\n"
L_str: ## @str
.asciz "divisao impossivel"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
add x8, sp, #20
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #20]
cmp w8, #1
b.lt LBB0_6
; %bb.1:
mov w22, #0
add x23, sp, #24
add x24, sp, #28
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
Lloh4:
adrp x20, l_str@PAGE
Lloh5:
add x20, x20, l_str@PAGEOFF
Lloh6:
adrp x21, l_.str.3@PAGE
Lloh7:
add x21, x21, l_.str.3@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr s0, [sp, #28]
sshll.2d v0, v0, #0
scvtf d0, d0
scvtf d1, w8
fdiv d0, d0, d1
str d0, [sp]
mov x0, x21
bl _printf
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w22, w22, #1
ldr w8, [sp, #20]
cmp w22, w8
b.ge LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
stp x24, x23, [sp]
mov x0, x19
bl _scanf
ldr w8, [sp, #24]
cbnz w8, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
bl _puts
b LBB0_3
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d"
l_.str.3: ; @.str.3
.asciz "%0.1lf\n"
l_str: ; @str
.asciz "divisao impossivel"
.subsections_via_symbols
| the_stack_data/40763546.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uart_recv ## -- Begin function uart_recv
.p2align 4, 0x90
_uart_recv: ## @uart_recv
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq _AUX_MU_LSR_REG@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %edi
callq _get32
testb $1, %al
je LBB0_1
## %bb.2:
movq _AUX_MU_IO_REG@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _get32
movsbl %al, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AUX_MU_LSR_REG,4,2 ## @AUX_MU_LSR_REG
.comm _AUX_MU_IO_REG,4,2 ## @AUX_MU_IO_REG
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uart_recv ; -- Begin function uart_recv
.p2align 2
_uart_recv: ; @uart_recv
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _AUX_MU_LSR_REG@GOTPAGE
Lloh1:
ldr x19, [x19, _AUX_MU_LSR_REG@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19]
bl _get32
tbz w0, #0, LBB0_1
; %bb.2:
Lloh2:
adrp x8, _AUX_MU_IO_REG@GOTPAGE
Lloh3:
ldr x8, [x8, _AUX_MU_IO_REG@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
bl _get32
sxtb w0, w0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _AUX_MU_LSR_REG,4,2 ; @AUX_MU_LSR_REG
.comm _AUX_MU_IO_REG,4,2 ; @AUX_MU_IO_REG
.subsections_via_symbols
| AnghaBench/raspberry-pi-os/src/lesson06/src/extr_mini_uart.c_uart_recv.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Com_Filter ## -- Begin function Com_Filter
.p2align 4, 0x90
_Com_Filter: ## @Com_Filter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_TOKEN_CHARS@GOTPCREL(%rip), %rax
movl (%rax), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movq _qtrue@GOTPCREL(%rip), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_1
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %r15
xorl %ecx, %ecx
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movl %ecx, %eax
movb $0, (%r12,%rax)
movq %r12, %rdi
callq _strlen
testl %eax, %eax
jne LBB0_15
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
## Child Loop BB0_43 Depth 2
## Child Loop BB0_12 Depth 2
movzbl (%r15), %eax
movzbl %al, %ecx
cmpl $62, %ecx
jg LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $42, %ecx
jne LBB0_3
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
leaq -1(%r15), %rax
movzbl -1(%r15), %edx
testb %dl, %dl
je LBB0_10
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movb %dl, (%r12,%rcx)
movzbl (%r15,%rcx), %edx
incq %rcx
testb %dl, %dl
jne LBB0_12
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
addq %rcx, %rax
movq %rax, %r15
jmp LBB0_14
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
cmpl $91, %ecx
jne LBB0_7
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movzbl 1(%r15), %eax
incq %r15
cmpb $91, %al
je LBB0_1
## %bb.18: ## in Loop: Header=BB0_1 Depth=1
testb %al, %al
setne %cl
movq _qfalse@GOTPCREL(%rip), %rdx
cmpl $0, (%rdx)
sete %dl
andb %dl, %cl
cmpb $1, %cl
jne LBB0_42
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl 1(%r15), %ecx
cmpb $93, %al
jne LBB0_24
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
cmpb $93, %cl
je LBB0_36
jmp LBB0_21
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_19 Depth=2
cmpb $45, %cl
jne LBB0_36
## %bb.25: ## in Loop: Header=BB0_19 Depth=2
movzbl 2(%r15), %edx
testl %edx, %edx
je LBB0_36
## %bb.26: ## in Loop: Header=BB0_19 Depth=2
cmpl $93, %edx
jne LBB0_28
## %bb.27: ## in Loop: Header=BB0_19 Depth=2
cmpb $93, 3(%r15)
jne LBB0_36
LBB0_28: ## in Loop: Header=BB0_19 Depth=2
movzbl (%r14), %esi
testl %ebx, %ebx
je LBB0_31
## %bb.29: ## in Loop: Header=BB0_19 Depth=2
xorl %ecx, %ecx
cmpb %al, %sil
jl LBB0_35
## %bb.30: ## in Loop: Header=BB0_19 Depth=2
cmpb %dl, %sil
jg LBB0_35
LBB0_34: ## in Loop: Header=BB0_19 Depth=2
movq _qtrue@GOTPCREL(%rip), %rax
movl (%rax), %ecx
LBB0_35: ## in Loop: Header=BB0_19 Depth=2
addq $3, %r15
jmp LBB0_40
.p2align 4, 0x90
LBB0_36: ## in Loop: Header=BB0_19 Depth=2
incq %r15
testl %ebx, %ebx
je LBB0_38
## %bb.37: ## in Loop: Header=BB0_19 Depth=2
xorl %ecx, %ecx
cmpb (%r14), %al
je LBB0_39
jmp LBB0_40
.p2align 4, 0x90
LBB0_38: ## in Loop: Header=BB0_19 Depth=2
movsbl %al, %edi
callq _toupper
movq %rax, %r13
movsbl (%r14), %edi
callq _toupper
xorl %ecx, %ecx
cmpq %rax, %r13
jne LBB0_40
LBB0_39: ## in Loop: Header=BB0_19 Depth=2
movq _qtrue@GOTPCREL(%rip), %rax
movl (%rax), %ecx
LBB0_40: ## in Loop: Header=BB0_19 Depth=2
movzbl (%r15), %eax
testl %ecx, %ecx
sete %dl
testb %al, %al
je LBB0_42
## %bb.41: ## in Loop: Header=BB0_19 Depth=2
testl %ecx, %ecx
je LBB0_19
jmp LBB0_42
LBB0_31: ## in Loop: Header=BB0_19 Depth=2
movsbl %sil, %edi
callq _toupper
movq %rax, %r13
movsbl (%r15), %edi
callq _toupper
cmpq %rax, %r13
jge LBB0_33
## %bb.32: ## in Loop: Header=BB0_19 Depth=2
xorl %ecx, %ecx
addq $3, %r15
jmp LBB0_40
LBB0_33: ## in Loop: Header=BB0_19 Depth=2
movsbl (%r14), %edi
callq _toupper
movq %rax, %r13
movsbl 2(%r15), %edi
callq _toupper
xorl %ecx, %ecx
cmpq %rax, %r13
jle LBB0_34
jmp LBB0_35
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
testl %ecx, %ecx
je LBB0_22
jmp LBB0_4
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
cmpl $63, %ecx
je LBB0_8
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
testl %ebx, %ebx
je LBB0_48
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
cmpb (%r14), %al
je LBB0_8
jmp LBB0_21
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
movq %r12, %rsi
movl %ebx, %edx
callq _Com_StringContains
testq %rax, %rax
je LBB0_21
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %r14
movq %r12, %rdi
callq _strlen
cltq
addq %rax, %r14
jmp LBB0_1
LBB0_42: ## in Loop: Header=BB0_1 Depth=1
testb %dl, %dl
je LBB0_43
jmp LBB0_21
.p2align 4, 0x90
LBB0_46: ## in Loop: Header=BB0_43 Depth=2
movb $93, %al
cmpb $93, (%r15)
jne LBB0_47
LBB0_43: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
incq %r15
cmpb $93, %al
je LBB0_46
## %bb.44: ## in Loop: Header=BB0_43 Depth=2
movzbl %al, %eax
testl %eax, %eax
je LBB0_47
## %bb.45: ## in Loop: Header=BB0_43 Depth=2
movzbl (%r15), %eax
jmp LBB0_43
LBB0_47: ## in Loop: Header=BB0_1 Depth=1
incq %r14
jmp LBB0_1
LBB0_48: ## in Loop: Header=BB0_1 Depth=1
movsbl %al, %edi
callq _toupper
movq %rax, %r13
movsbl (%r14), %edi
callq _toupper
cmpq %rax, %r13
jne LBB0_21
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
incq %r15
incq %r14
jmp LBB0_1
LBB0_21:
movq _qfalse@GOTPCREL(%rip), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB0_22:
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_49
## %bb.23:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_49:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_TOKEN_CHARS,4,2 ## @MAX_TOKEN_CHARS
.comm _qfalse,4,2 ## @qfalse
.comm _qtrue,4,2 ## @qtrue
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Com_Filter ; -- Begin function Com_Filter
.p2align 2
_Com_Filter: ; @Com_Filter
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x20, x1
mov x22, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh3:
adrp x8, _MAX_TOKEN_CHARS@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_TOKEN_CHARS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x21, x9, x8
mov sp, x21
Lloh8:
adrp x24, _qfalse@GOTPAGE
Lloh9:
ldr x24, [x24, _qfalse@GOTPAGEOFF]
Lloh10:
adrp x25, _qtrue@GOTPAGE
Lloh11:
ldr x25, [x25, _qtrue@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov x8, #0 ; =0x0
mov x22, x10
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
strb wzr, [x21, w8, uxtw]
mov x0, x21
bl _strlen
cbnz w0, LBB0_35
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_13 Depth 2
; Child Loop BB0_39 Depth 2
; Child Loop BB0_7 Depth 2
ldrb w8, [x22]
cmp w8, #62
b.gt LBB0_9
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #42
b.ne LBB0_31
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x10, x22
ldrb w9, [x10, #-1]!
cbz w9, LBB0_1
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x8, #0 ; =0x0
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
strb w9, [x21, x8]
ldrb w9, [x22, x8]
add x8, x8, #1
cbnz w9, LBB0_7
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
add x9, x22, x8
sub x22, x9, #1
b LBB0_2
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #91
b.ne LBB0_32
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x22, #1]!
cmp w8, #91
b.eq LBB0_3
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [x24]
cmp w9, #0
cset w10, eq
cbz w8, LBB0_37
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
cbnz w9, LBB0_37
LBB0_13: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
and w10, w8, #0xff
mov x23, x22
ldrb w9, [x23, #1]!
cmp w10, #93
b.ne LBB0_15
; %bb.14: ; in Loop: Header=BB0_13 Depth=2
cmp w9, #93
b.eq LBB0_22
b LBB0_46
LBB0_15: ; in Loop: Header=BB0_13 Depth=2
cmp w9, #45
b.ne LBB0_22
; %bb.16: ; in Loop: Header=BB0_13 Depth=2
ldrb w9, [x22, #2]
cbz w9, LBB0_22
; %bb.17: ; in Loop: Header=BB0_13 Depth=2
cmp w9, #93
b.ne LBB0_19
; %bb.18: ; in Loop: Header=BB0_13 Depth=2
ldrb w10, [x22, #3]
cmp w10, #93
b.ne LBB0_22
LBB0_19: ; in Loop: Header=BB0_13 Depth=2
ldrsb w0, [x20]
cbz w19, LBB0_28
; %bb.20: ; in Loop: Header=BB0_13 Depth=2
cmp w0, w8, sxtb
b.lt LBB0_29
; %bb.21: ; in Loop: Header=BB0_13 Depth=2
sxtb w8, w9
ldr w9, [x25]
cmp w0, w8
csel w9, wzr, w9, gt
add x22, x22, #3
b LBB0_26
LBB0_22: ; in Loop: Header=BB0_13 Depth=2
cbz w19, LBB0_24
; %bb.23: ; in Loop: Header=BB0_13 Depth=2
ldrb w9, [x20]
ldr w10, [x25]
cmp w9, w8, uxtb
csel w9, w10, wzr, eq
b LBB0_25
LBB0_24: ; in Loop: Header=BB0_13 Depth=2
sxtb w0, w8
bl _toupper
mov x22, x0
ldrsb w0, [x20]
bl _toupper
ldr w8, [x25]
cmp x22, x0
csel w9, w8, wzr, eq
LBB0_25: ; in Loop: Header=BB0_13 Depth=2
mov x22, x23
LBB0_26: ; in Loop: Header=BB0_13 Depth=2
ldrb w8, [x22]
cmp w9, #0
cset w10, eq
cbz w8, LBB0_37
; %bb.27: ; in Loop: Header=BB0_13 Depth=2
cbz w9, LBB0_13
b LBB0_37
LBB0_28: ; in Loop: Header=BB0_13 Depth=2
bl _toupper
mov x23, x0
ldrsb w0, [x22]
bl _toupper
cmp x23, x0
b.ge LBB0_30
LBB0_29: ; in Loop: Header=BB0_13 Depth=2
mov w9, #0 ; =0x0
add x22, x22, #3
b LBB0_26
LBB0_30: ; in Loop: Header=BB0_13 Depth=2
ldrsb w0, [x20]
bl _toupper
mov x23, x0
ldrsb w0, [x22, #2]
bl _toupper
ldr w8, [x25]
cmp x23, x0
csel w9, wzr, w8, gt
add x22, x22, #3
b LBB0_26
LBB0_31: ; in Loop: Header=BB0_3 Depth=1
cbz w8, LBB0_45
b LBB0_33
LBB0_32: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #63
b.eq LBB0_44
LBB0_33: ; in Loop: Header=BB0_3 Depth=1
sxtb w0, w8
cbz w19, LBB0_43
; %bb.34: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x20]
cmp w8, w0, uxtb
b.eq LBB0_44
b LBB0_46
LBB0_35: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
mov x1, x21
mov x2, x19
bl _Com_StringContains
cbz x0, LBB0_46
; %bb.36: ; in Loop: Header=BB0_3 Depth=1
mov x20, x0
mov x0, x21
bl _strlen
add x20, x20, w0, sxtw
b LBB0_3
LBB0_37: ; in Loop: Header=BB0_3 Depth=1
tbz w10, #0, LBB0_39
b LBB0_46
LBB0_38: ; in Loop: Header=BB0_39 Depth=2
ldrb w8, [x22]
cmp w8, #93
b.ne LBB0_42
LBB0_39: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
add x22, x22, #1
and w8, w8, #0xff
cmp w8, #93
b.eq LBB0_38
; %bb.40: ; in Loop: Header=BB0_39 Depth=2
cbz w8, LBB0_42
; %bb.41: ; in Loop: Header=BB0_39 Depth=2
ldrb w8, [x22]
b LBB0_39
LBB0_42: ; in Loop: Header=BB0_3 Depth=1
add x20, x20, #1
b LBB0_3
LBB0_43: ; in Loop: Header=BB0_3 Depth=1
bl _toupper
mov x23, x0
ldrsb w0, [x20]
bl _toupper
cmp x23, x0
b.ne LBB0_46
LBB0_44: ; in Loop: Header=BB0_3 Depth=1
add x22, x22, #1
add x20, x20, #1
b LBB0_3
LBB0_45:
Lloh12:
adrp x24, _qtrue@GOTPAGE
Lloh13:
ldr x24, [x24, _qtrue@GOTPAGEOFF]
LBB0_46:
ldr w0, [x24]
ldur x8, [x29, #-72]
Lloh14:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh15:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_48
; %bb.47:
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_48:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MAX_TOKEN_CHARS,4,2 ; @MAX_TOKEN_CHARS
.comm _qfalse,4,2 ; @qfalse
.comm _qtrue,4,2 ; @qtrue
.subsections_via_symbols
| assembly_file_122206.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function cs43130_irq_thread
LCPI0_0:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.section __TEXT,__literal4,4byte_literals
LCPI0_1:
.space 4,1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_cs43130_irq_thread: ## @cs43130_irq_thread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rsi, -72(%rbp) ## 8-byte Spill
movq 48(%rsi), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq _CS43130_NUM_INT@GOTPCREL(%rip), %rax
movl (%rax), %r15d
shlq $2, %r15
movq %r15, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq %r15, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -64(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_3
## %bb.1:
movl $1, %ebx
xorl %r13d, %r13d
movq -64(%rbp), %r15 ## 8-byte Reload
movq %r14, %r12
movq %r14, -80(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq -72(%rbp), %r14 ## 8-byte Reload
movl 44(%r14), %edi
movq _CS43130_INT_STATUS_1@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq %r13, %rsi
movq %r12, %rdx
callq _regmap_read
movl 44(%r14), %edi
movq -80(%rbp), %r14 ## 8-byte Reload
decq %rbx
movq _CS43130_INT_MASK_1@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq %rbx, %rsi
movq %r15, %rdx
callq _regmap_read
movq %r14, %rdi
callq _ARRAY_SIZE
cltq
incq %r13
addq $-4, %r12
addq $-4, %r15
cmpq %rax, %rbx
jle LBB0_2
LBB0_3:
movq -72(%rbp), %r13 ## 8-byte Reload
movq %r14, %rdi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_9
## %bb.4:
xorl %r12d, %r12d
xorl %r15d, %r15d
movq -64(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl (%rbx,%r12,4), %eax
notl %eax
orl (%r14,%r12,4), %eax
movl %eax, (%r14,%r12,4)
movl %eax, %ecx
shrl %ecx
movl %eax, %edx
shrl $2, %edx
movl %eax, %esi
shrl $3, %esi
movl %eax, %edi
shrl $4, %edi
movl %eax, %r8d
shrl $5, %r8d
movl %eax, %r9d
shrl $6, %r9d
movd %eax, %xmm0
shrl $7, %eax
movd %edi, %xmm1
pinsrd $1, %r8d, %xmm1
pinsrd $2, %r9d, %xmm1
pinsrd $3, %eax, %xmm1
pinsrd $1, %ecx, %xmm0
pinsrd $2, %edx, %xmm0
pinsrd $3, %esi, %xmm0
pmovsxbd LCPI0_1(%rip), %xmm2 ## xmm2 = [1,1,1,1]
pand %xmm2, %xmm0
pand %xmm2, %xmm1
paddd %xmm0, %xmm1
pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3]
paddd %xmm1, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
movd %xmm1, %eax
addl %eax, %r15d
incq %r12
movq %r14, %rdi
callq _ARRAY_SIZE
cltq
cmpq %rax, %r12
jl LBB0_5
## %bb.6:
movq -56(%rbp), %r12 ## 8-byte Reload
movl (%r12), %edi
leaq L_.str(%rip), %rsi
movl %r15d, %edx
xorl %eax, %eax
callq _dev_dbg
movq _IRQ_NONE@GOTPCREL(%rip), %rax
testl %r15d, %r15d
je LBB0_22
## %bb.7:
movl (%r14), %ecx
movq _CS43130_XTAL_RDY_INT@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_10
## %bb.8:
movq %r13, %rdi
addq $40, %rdi
jmp LBB0_20
LBB0_9:
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
leaq L_.str(%rip), %rsi
xorl %edx, %edx
xorl %eax, %eax
callq _dev_dbg
movq _IRQ_NONE@GOTPCREL(%rip), %rax
jmp LBB0_22
LBB0_10:
movq _CS43130_PLL_RDY_INT@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_12
## %bb.11:
movq %r13, %rdi
addq $36, %rdi
jmp LBB0_20
LBB0_12:
movl 12(%r14), %edx
movq _CS43130_HPLOAD_NO_DC_INT@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_14
## %bb.13:
movq %r13, %rbx
movl %edx, (%r13)
movl (%r12), %edi
leaq L_.str.1(%rip), %rsi
jmp LBB0_18
LBB0_14:
movq _CS43130_HPLOAD_UNPLUG_INT@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
movq %r13, %rbx
je LBB0_16
## %bb.15:
movl %edx, (%rbx)
movl (%r12), %edi
leaq L_.str.2(%rip), %rsi
jmp LBB0_18
LBB0_16:
movq _CS43130_HPLOAD_OOR_INT@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_24
## %bb.17:
movl %edx, (%rbx)
movl (%r12), %edi
leaq L_.str.3(%rip), %rsi
LBB0_18:
xorl %eax, %eax
callq _dev_err
LBB0_19:
addq $32, %rbx
movq %rbx, %rdi
LBB0_20:
callq _complete
LBB0_21:
movq _IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_22:
movl (%rax), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_44
## %bb.23:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_24:
movq _CS43130_HPLOAD_AC_INT@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_26
## %bb.25:
movl %edx, (%rbx)
movl (%r12), %edi
leaq L_.str.4(%rip), %rsi
jmp LBB0_32
LBB0_26:
movq _CS43130_HPLOAD_DC_INT@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_28
## %bb.27:
movl %edx, (%rbx)
movl (%r12), %edi
leaq L_.str.5(%rip), %rsi
jmp LBB0_32
LBB0_28:
movq _CS43130_HPLOAD_ON_INT@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_30
## %bb.29:
movl %edx, (%rbx)
movl (%r12), %edi
leaq L_.str.6(%rip), %rsi
jmp LBB0_32
LBB0_30:
movq _CS43130_HPLOAD_OFF_INT@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_33
## %bb.31:
movl %edx, (%rbx)
movl (%r12), %edi
leaq L_.str.7(%rip), %rsi
LBB0_32:
xorl %eax, %eax
callq _dev_dbg
jmp LBB0_19
LBB0_33:
movq _CS43130_XTAL_ERR_INT@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_35
## %bb.34:
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
leaq L_.str.8(%rip), %rsi
xorl %eax, %eax
callq _dev_err
jmp LBB0_21
LBB0_35:
movq _CS43130_HP_UNPLUG_INT@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_37
## %bb.36:
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
leaq L_.str.9(%rip), %rsi
xorl %eax, %eax
callq _dev_dbg
movq %r13, %rdi
movl $0, 4(%r13)
addq $8, %rdi
movq _CS43130_JACK_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %esi, %esi
jmp LBB0_43
LBB0_37:
movq _CS43130_HP_PLUG_INT@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_22
## %bb.38:
cmpq $0, 24(%r13)
je LBB0_42
## %bb.39:
cmpl $0, 4(%r13)
jne LBB0_42
## %bb.40:
leaq 12(%r13), %r14
movq %r14, %rdi
callq _work_busy
testl %eax, %eax
jne LBB0_42
## %bb.41:
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
callq _dev_dbg
movl 16(%r13), %edi
movq %r14, %rsi
callq _queue_work
LBB0_42:
movq %r13, %rdi
addq $8, %rdi
movq _SND_JACK_MECHANICAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _CS43130_JACK_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
LBB0_43:
callq _snd_soc_jack_report
jmp LBB0_21
LBB0_44:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _CS43130_NUM_INT,4,2 ## @CS43130_NUM_INT
.comm _CS43130_INT_STATUS_1,8,3 ## @CS43130_INT_STATUS_1
.comm _CS43130_INT_MASK_1,8,3 ## @CS43130_INT_MASK_1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "number of interrupts occurred (%u)\n"
.comm _IRQ_NONE,4,2 ## @IRQ_NONE
.comm _CS43130_XTAL_RDY_INT,4,2 ## @CS43130_XTAL_RDY_INT
.comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED
.comm _CS43130_PLL_RDY_INT,4,2 ## @CS43130_PLL_RDY_INT
.comm _CS43130_HPLOAD_NO_DC_INT,4,2 ## @CS43130_HPLOAD_NO_DC_INT
L_.str.1: ## @.str.1
.asciz "DC load has not completed before AC load (%x)\n"
.comm _CS43130_HPLOAD_UNPLUG_INT,4,2 ## @CS43130_HPLOAD_UNPLUG_INT
L_.str.2: ## @.str.2
.asciz "HP unplugged during measurement (%x)\n"
.comm _CS43130_HPLOAD_OOR_INT,4,2 ## @CS43130_HPLOAD_OOR_INT
L_.str.3: ## @.str.3
.asciz "HP load out of range (%x)\n"
.comm _CS43130_HPLOAD_AC_INT,4,2 ## @CS43130_HPLOAD_AC_INT
L_.str.4: ## @.str.4
.asciz "HP AC load measurement done (%x)\n"
.comm _CS43130_HPLOAD_DC_INT,4,2 ## @CS43130_HPLOAD_DC_INT
L_.str.5: ## @.str.5
.asciz "HP DC load measurement done (%x)\n"
.comm _CS43130_HPLOAD_ON_INT,4,2 ## @CS43130_HPLOAD_ON_INT
L_.str.6: ## @.str.6
.asciz "HP load state machine on done (%x)\n"
.comm _CS43130_HPLOAD_OFF_INT,4,2 ## @CS43130_HPLOAD_OFF_INT
L_.str.7: ## @.str.7
.asciz "HP load state machine off done (%x)\n"
.comm _CS43130_XTAL_ERR_INT,4,2 ## @CS43130_XTAL_ERR_INT
L_.str.8: ## @.str.8
.asciz "Crystal err: clock is not running\n"
.comm _CS43130_HP_UNPLUG_INT,4,2 ## @CS43130_HP_UNPLUG_INT
L_.str.9: ## @.str.9
.asciz "HP unplugged\n"
.comm _CS43130_JACK_MASK,4,2 ## @CS43130_JACK_MASK
.comm _CS43130_HP_PLUG_INT,4,2 ## @CS43130_HP_PLUG_INT
L_.str.10: ## @.str.10
.asciz "HP load queue work\n"
.comm _SND_JACK_MECHANICAL,4,2 ## @SND_JACK_MECHANICAL
.no_dead_strip _cs43130_irq_thread
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function cs43130_irq_thread
lCPI0_0:
.long 4294967295 ; 0xffffffff
.long 4294967294 ; 0xfffffffe
.long 4294967293 ; 0xfffffffd
.long 4294967292 ; 0xfffffffc
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_cs43130_irq_thread: ; @cs43130_irq_thread
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
ldr x23, [x1, #48]
Lloh3:
adrp x8, _CS43130_NUM_INT@GOTPAGE
Lloh4:
ldr x8, [x8, _CS43130_NUM_INT@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x10, x8, #15
and x12, x10, #0x7fffffff0
sub x20, x9, x12
mov sp, x20
mov x9, x8
Lloh8:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh9:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
sub x24, x8, x12
mov sp, x24
mov x0, x20
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_3
; %bb.1:
mov x25, #0 ; =0x0
mov w26, #1 ; =0x1
Lloh10:
adrp x27, _CS43130_INT_STATUS_1@GOTPAGE
Lloh11:
ldr x27, [x27, _CS43130_INT_STATUS_1@GOTPAGEOFF]
Lloh12:
adrp x28, _CS43130_INT_MASK_1@GOTPAGE
Lloh13:
ldr x28, [x28, _CS43130_INT_MASK_1@GOTPAGEOFF]
mov x21, x24
mov x22, x20
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #44]
ldr x8, [x27]
add x1, x25, x8
mov x2, x22
bl _regmap_read
ldr w0, [x19, #44]
ldr x8, [x28]
sub x26, x26, #1
add x1, x26, x8
mov x2, x21
bl _regmap_read
mov x0, x20
bl _ARRAY_SIZE
add x25, x25, #1
sub x22, x22, #4
sub x21, x21, #4
cmp x26, w0, sxtw
b.le LBB0_2
LBB0_3:
mov x0, x20
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_9
; %bb.4:
mov x22, #0 ; =0x0
mov w21, #0 ; =0x0
Lloh14:
adrp x8, lCPI0_0@PAGE
Lloh15:
ldr q0, [x8, lCPI0_0@PAGEOFF]
stur q0, [x29, #-112] ; 16-byte Folded Spill
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, x22, lsl #2]
ldr w9, [x24, x22, lsl #2]
orn w8, w8, w9
str w8, [x20, x22, lsl #2]
and w9, w8, #0x1
dup.4s v0, w8
ldur q1, [x29, #-112] ; 16-byte Folded Reload
ushl.4s v0, v0, v1
movi.4s v1, #1
and.16b v0, v0, v1
ubfx w10, w8, #5, #1
ubfx w11, w8, #6, #1
ubfx w8, w8, #7, #1
addv.4s s0, v0
fmov w12, s0
add w10, w10, w11
add w8, w8, w21
add w8, w10, w8
add w9, w12, w9
add w21, w9, w8
add x22, x22, #1
mov x0, x20
bl _ARRAY_SIZE
cmp x22, w0, sxtw
b.lt LBB0_5
; %bb.6:
ldr w0, [x23]
str x21, [sp, #-16]!
Lloh16:
adrp x1, l_.str@PAGE
Lloh17:
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
add sp, sp, #16
cbz w21, LBB0_10
; %bb.7:
ldr w9, [x20]
Lloh18:
adrp x8, _CS43130_XTAL_RDY_INT@GOTPAGE
Lloh19:
ldr x8, [x8, _CS43130_XTAL_RDY_INT@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
tst w8, w9
b.eq LBB0_11
; %bb.8:
add x0, x19, #40
b LBB0_21
LBB0_9:
ldr w0, [x23]
str xzr, [sp, #-16]!
Lloh21:
adrp x1, l_.str@PAGE
Lloh22:
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
add sp, sp, #16
LBB0_10:
Lloh23:
adrp x8, _IRQ_NONE@GOTPAGE
Lloh24:
ldr x8, [x8, _IRQ_NONE@GOTPAGEOFF]
b LBB0_23
LBB0_11:
Lloh25:
adrp x8, _CS43130_PLL_RDY_INT@GOTPAGE
Lloh26:
ldr x8, [x8, _CS43130_PLL_RDY_INT@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
tst w8, w9
b.eq LBB0_13
; %bb.12:
add x0, x19, #36
b LBB0_21
LBB0_13:
ldr w8, [x20, #12]
Lloh28:
adrp x10, _CS43130_HPLOAD_NO_DC_INT@GOTPAGE
Lloh29:
ldr x10, [x10, _CS43130_HPLOAD_NO_DC_INT@GOTPAGEOFF]
Lloh30:
ldr w10, [x10]
tst w10, w8
b.eq LBB0_15
; %bb.14:
str w8, [x19], #32
ldr w0, [x23]
str x8, [sp, #-16]!
Lloh31:
adrp x1, l_.str.1@PAGE
Lloh32:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_19
LBB0_15:
Lloh33:
adrp x10, _CS43130_HPLOAD_UNPLUG_INT@GOTPAGE
Lloh34:
ldr x10, [x10, _CS43130_HPLOAD_UNPLUG_INT@GOTPAGEOFF]
Lloh35:
ldr w10, [x10]
tst w10, w8
b.eq LBB0_17
; %bb.16:
str w8, [x19], #32
ldr w0, [x23]
str x8, [sp, #-16]!
Lloh36:
adrp x1, l_.str.2@PAGE
Lloh37:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_19
LBB0_17:
Lloh38:
adrp x10, _CS43130_HPLOAD_OOR_INT@GOTPAGE
Lloh39:
ldr x10, [x10, _CS43130_HPLOAD_OOR_INT@GOTPAGEOFF]
Lloh40:
ldr w10, [x10]
tst w10, w8
b.eq LBB0_25
; %bb.18:
str w8, [x19], #32
ldr w0, [x23]
str x8, [sp, #-16]!
Lloh41:
adrp x1, l_.str.3@PAGE
Lloh42:
add x1, x1, l_.str.3@PAGEOFF
LBB0_19:
bl _dev_err
LBB0_20:
add sp, sp, #16
mov x0, x19
LBB0_21:
bl _complete
LBB0_22:
Lloh43:
adrp x8, _IRQ_HANDLED@GOTPAGE
Lloh44:
ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_23:
ldr w0, [x8]
ldur x8, [x29, #-88]
Lloh45:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh46:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_44
; %bb.24:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_25:
Lloh48:
adrp x10, _CS43130_HPLOAD_AC_INT@GOTPAGE
Lloh49:
ldr x10, [x10, _CS43130_HPLOAD_AC_INT@GOTPAGEOFF]
Lloh50:
ldr w10, [x10]
tst w10, w8
b.eq LBB0_27
; %bb.26:
str w8, [x19], #32
ldr w0, [x23]
str x8, [sp, #-16]!
Lloh51:
adrp x1, l_.str.4@PAGE
Lloh52:
add x1, x1, l_.str.4@PAGEOFF
bl _dev_dbg
b LBB0_20
LBB0_27:
Lloh53:
adrp x10, _CS43130_HPLOAD_DC_INT@GOTPAGE
Lloh54:
ldr x10, [x10, _CS43130_HPLOAD_DC_INT@GOTPAGEOFF]
Lloh55:
ldr w10, [x10]
tst w10, w8
b.eq LBB0_29
; %bb.28:
str w8, [x19], #32
ldr w0, [x23]
str x8, [sp, #-16]!
Lloh56:
adrp x1, l_.str.5@PAGE
Lloh57:
add x1, x1, l_.str.5@PAGEOFF
bl _dev_dbg
b LBB0_20
LBB0_29:
Lloh58:
adrp x10, _CS43130_HPLOAD_ON_INT@GOTPAGE
Lloh59:
ldr x10, [x10, _CS43130_HPLOAD_ON_INT@GOTPAGEOFF]
Lloh60:
ldr w10, [x10]
tst w10, w8
b.eq LBB0_31
; %bb.30:
str w8, [x19], #32
ldr w0, [x23]
str x8, [sp, #-16]!
Lloh61:
adrp x1, l_.str.6@PAGE
Lloh62:
add x1, x1, l_.str.6@PAGEOFF
bl _dev_dbg
b LBB0_20
LBB0_31:
Lloh63:
adrp x10, _CS43130_HPLOAD_OFF_INT@GOTPAGE
Lloh64:
ldr x10, [x10, _CS43130_HPLOAD_OFF_INT@GOTPAGEOFF]
Lloh65:
ldr w10, [x10]
tst w10, w8
b.eq LBB0_33
; %bb.32:
str w8, [x19], #32
ldr w0, [x23]
str x8, [sp, #-16]!
Lloh66:
adrp x1, l_.str.7@PAGE
Lloh67:
add x1, x1, l_.str.7@PAGEOFF
bl _dev_dbg
b LBB0_20
LBB0_33:
Lloh68:
adrp x8, _CS43130_XTAL_ERR_INT@GOTPAGE
Lloh69:
ldr x8, [x8, _CS43130_XTAL_ERR_INT@GOTPAGEOFF]
Lloh70:
ldr w8, [x8]
tst w8, w9
b.eq LBB0_35
; %bb.34:
ldr w0, [x23]
Lloh71:
adrp x1, l_.str.8@PAGE
Lloh72:
add x1, x1, l_.str.8@PAGEOFF
bl _dev_err
b LBB0_22
LBB0_35:
Lloh73:
adrp x8, _CS43130_HP_UNPLUG_INT@GOTPAGE
Lloh74:
ldr x8, [x8, _CS43130_HP_UNPLUG_INT@GOTPAGEOFF]
Lloh75:
ldr w8, [x8]
tst w8, w9
b.eq LBB0_37
; %bb.36:
ldr w0, [x23]
Lloh76:
adrp x1, l_.str.9@PAGE
Lloh77:
add x1, x1, l_.str.9@PAGEOFF
bl _dev_dbg
str wzr, [x19, #4]
Lloh78:
adrp x8, _CS43130_JACK_MASK@GOTPAGE
Lloh79:
ldr x8, [x8, _CS43130_JACK_MASK@GOTPAGEOFF]
Lloh80:
ldr w2, [x8]
add x0, x19, #8
mov w1, #0 ; =0x0
b LBB0_43
LBB0_37:
Lloh81:
adrp x8, _CS43130_HP_PLUG_INT@GOTPAGE
Lloh82:
ldr x8, [x8, _CS43130_HP_PLUG_INT@GOTPAGEOFF]
Lloh83:
ldr w8, [x8]
tst w8, w9
b.eq LBB0_10
; %bb.38:
ldr x8, [x19, #24]
cbz x8, LBB0_42
; %bb.39:
ldr w8, [x19, #4]
cbnz w8, LBB0_42
; %bb.40:
add x0, x19, #12
bl _work_busy
cbnz w0, LBB0_42
; %bb.41:
ldr w0, [x23]
Lloh84:
adrp x1, l_.str.10@PAGE
Lloh85:
add x1, x1, l_.str.10@PAGEOFF
bl _dev_dbg
ldr w0, [x19, #16]
add x1, x19, #12
bl _queue_work
LBB0_42:
Lloh86:
adrp x8, _SND_JACK_MECHANICAL@GOTPAGE
Lloh87:
ldr x8, [x8, _SND_JACK_MECHANICAL@GOTPAGEOFF]
Lloh88:
ldr w1, [x8]
Lloh89:
adrp x8, _CS43130_JACK_MASK@GOTPAGE
Lloh90:
ldr x8, [x8, _CS43130_JACK_MASK@GOTPAGEOFF]
Lloh91:
ldr w2, [x8]
add x0, x19, #8
LBB0_43:
bl _snd_soc_jack_report
b LBB0_22
LBB0_44:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdr Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGot Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91
.loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _CS43130_NUM_INT,4,2 ; @CS43130_NUM_INT
.comm _CS43130_INT_STATUS_1,8,3 ; @CS43130_INT_STATUS_1
.comm _CS43130_INT_MASK_1,8,3 ; @CS43130_INT_MASK_1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "number of interrupts occurred (%u)\n"
.comm _IRQ_NONE,4,2 ; @IRQ_NONE
.comm _CS43130_XTAL_RDY_INT,4,2 ; @CS43130_XTAL_RDY_INT
.comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED
.comm _CS43130_PLL_RDY_INT,4,2 ; @CS43130_PLL_RDY_INT
.comm _CS43130_HPLOAD_NO_DC_INT,4,2 ; @CS43130_HPLOAD_NO_DC_INT
l_.str.1: ; @.str.1
.asciz "DC load has not completed before AC load (%x)\n"
.comm _CS43130_HPLOAD_UNPLUG_INT,4,2 ; @CS43130_HPLOAD_UNPLUG_INT
l_.str.2: ; @.str.2
.asciz "HP unplugged during measurement (%x)\n"
.comm _CS43130_HPLOAD_OOR_INT,4,2 ; @CS43130_HPLOAD_OOR_INT
l_.str.3: ; @.str.3
.asciz "HP load out of range (%x)\n"
.comm _CS43130_HPLOAD_AC_INT,4,2 ; @CS43130_HPLOAD_AC_INT
l_.str.4: ; @.str.4
.asciz "HP AC load measurement done (%x)\n"
.comm _CS43130_HPLOAD_DC_INT,4,2 ; @CS43130_HPLOAD_DC_INT
l_.str.5: ; @.str.5
.asciz "HP DC load measurement done (%x)\n"
.comm _CS43130_HPLOAD_ON_INT,4,2 ; @CS43130_HPLOAD_ON_INT
l_.str.6: ; @.str.6
.asciz "HP load state machine on done (%x)\n"
.comm _CS43130_HPLOAD_OFF_INT,4,2 ; @CS43130_HPLOAD_OFF_INT
l_.str.7: ; @.str.7
.asciz "HP load state machine off done (%x)\n"
.comm _CS43130_XTAL_ERR_INT,4,2 ; @CS43130_XTAL_ERR_INT
l_.str.8: ; @.str.8
.asciz "Crystal err: clock is not running\n"
.comm _CS43130_HP_UNPLUG_INT,4,2 ; @CS43130_HP_UNPLUG_INT
l_.str.9: ; @.str.9
.asciz "HP unplugged\n"
.comm _CS43130_JACK_MASK,4,2 ; @CS43130_JACK_MASK
.comm _CS43130_HP_PLUG_INT,4,2 ; @CS43130_HP_PLUG_INT
l_.str.10: ; @.str.10
.asciz "HP load queue work\n"
.comm _SND_JACK_MECHANICAL,4,2 ; @SND_JACK_MECHANICAL
.no_dead_strip _cs43130_irq_thread
.subsections_via_symbols
| assembly_file_19405.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function usb_sof_cb
_usb_sof_cb: ## @usb_sof_cb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
callq _kbd_sof_cb
xorl %eax, %eax
callq _osalSysLockFromISR
movq _NUM_USB_DRIVERS@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jle LBB0_3
## %bb.1:
xorl %r12d, %r12d
movq _drivers@GOTPCREL(%rip), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rdi
addq %r12, %rdi
callq _qmkusbSOFHookI
incq %rbx
movslq (%r14), %rax
addq $4, %r12
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _osalSysUnlockFromISR ## TAILCALL
.cfi_endproc
## -- End function
.comm _NUM_USB_DRIVERS,4,2 ## @NUM_USB_DRIVERS
.comm _drivers,8,3 ## @drivers
.no_dead_strip _usb_sof_cb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function usb_sof_cb
_usb_sof_cb: ; @usb_sof_cb
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
bl _kbd_sof_cb
bl _osalSysLockFromISR
Lloh0:
adrp x19, _NUM_USB_DRIVERS@GOTPAGE
Lloh1:
ldr x19, [x19, _NUM_USB_DRIVERS@GOTPAGEOFF]
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x20, #0
mov x21, #0
Lloh2:
adrp x22, _drivers@GOTPAGE
Lloh3:
ldr x22, [x22, _drivers@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
add x0, x8, x20
bl _qmkusbSOFHookI
add x21, x21, #1
ldrsw x8, [x19]
add x20, x20, #4
cmp x21, x8
b.lt LBB0_2
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _osalSysUnlockFromISR
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _NUM_USB_DRIVERS,4,2 ; @NUM_USB_DRIVERS
.comm _drivers,8,3 ; @drivers
.no_dead_strip _usb_sof_cb
.subsections_via_symbols
| AnghaBench/qmk_firmware/tmk_core/protocol/chibios/extr_usb_main.c_usb_sof_cb.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.