x86 stringlengths 122 1.3M | arm stringlengths 122 1.35M | file stringlengths 20 207 | source stringclasses 2 values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Swap_Name
_Swap_Name: ## @Swap_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Swap"
.no_dead_strip _Swap_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Swap_Name
_Swap_Name: ; @Swap_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Swap"
.no_dead_strip _Swap_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Assign.c_Swap_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function memswap
_memswap: ## @memswap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq %rsi, %rdi
je LBB0_23
## %bb.1:
testq %rdx, %rdx
je LBB0_23
## %bb.2:
cmpq $8, %rdx
jb LBB0_3
## %bb.4:
leaq (%rsi,%rdx), %rax
cmpq %rdi, %rax
jbe LBB0_7
## %bb.5:
leaq (%rdi,%rdx), %rax
cmpq %rsi, %rax
jbe LBB0_7
LBB0_3:
xorl %r10d, %r10d
LBB0_19:
movq %r10, %rcx
notq %rcx
testb $1, %dl
je LBB0_21
## %bb.20:
movb (%rdi,%r10), %r8b
movb (%rsi,%r10), %al
movb %al, (%rdi,%r10)
movb %r8b, (%rsi,%r10)
orq $1, %r10
LBB0_21:
addq %rdx, %rcx
je LBB0_23
.p2align 4, 0x90
LBB0_22: ## =>This Inner Loop Header: Depth=1
movzbl (%rdi,%r10), %eax
movzbl (%rsi,%r10), %ecx
movb %cl, (%rdi,%r10)
movb %al, (%rsi,%r10)
movzbl 1(%rdi,%r10), %eax
movzbl 1(%rsi,%r10), %ecx
movb %cl, 1(%rdi,%r10)
movb %al, 1(%rsi,%r10)
addq $2, %r10
cmpq %r10, %rdx
jne LBB0_22
LBB0_23:
popq %rbp
retq
LBB0_7:
cmpq $32, %rdx
jae LBB0_9
## %bb.8:
xorl %r10d, %r10d
jmp LBB0_16
LBB0_9:
movq %rdx, %r10
andq $-32, %r10
leaq -32(%r10), %rcx
movq %rcx, %r8
shrq $5, %r8
incq %r8
testq %rcx, %rcx
je LBB0_24
## %bb.10:
movq %r8, %r9
andq $-2, %r9
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movups (%rdi,%rcx), %xmm0
movups 16(%rdi,%rcx), %xmm1
movups (%rsi,%rcx), %xmm2
movups 16(%rsi,%rcx), %xmm3
movups %xmm2, (%rdi,%rcx)
movups %xmm3, 16(%rdi,%rcx)
movups %xmm0, (%rsi,%rcx)
movups %xmm1, 16(%rsi,%rcx)
movups 32(%rdi,%rcx), %xmm0
movups 48(%rdi,%rcx), %xmm1
movups 32(%rsi,%rcx), %xmm2
movups 48(%rsi,%rcx), %xmm3
movups %xmm2, 32(%rdi,%rcx)
movups %xmm3, 48(%rdi,%rcx)
movups %xmm0, 32(%rsi,%rcx)
movups %xmm1, 48(%rsi,%rcx)
addq $64, %rcx
addq $-2, %r9
jne LBB0_11
## %bb.12:
testb $1, %r8b
je LBB0_14
LBB0_13:
movups (%rdi,%rcx), %xmm0
movups 16(%rdi,%rcx), %xmm1
movups (%rsi,%rcx), %xmm2
movups 16(%rsi,%rcx), %xmm3
movups %xmm2, (%rdi,%rcx)
movups %xmm3, 16(%rdi,%rcx)
movups %xmm0, (%rsi,%rcx)
movups %xmm1, 16(%rsi,%rcx)
LBB0_14:
cmpq %rdx, %r10
je LBB0_23
## %bb.15:
testb $24, %dl
je LBB0_19
LBB0_16:
movq %r10, %rcx
movq %rdx, %r10
andq $-8, %r10
.p2align 4, 0x90
LBB0_17: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%rcx), %r8
movq (%rsi,%rcx), %rax
movq %rax, (%rdi,%rcx)
movq %r8, (%rsi,%rcx)
addq $8, %rcx
cmpq %rcx, %r10
jne LBB0_17
## %bb.18:
cmpq %rdx, %r10
je LBB0_23
jmp LBB0_19
LBB0_24:
xorl %ecx, %ecx
testb $1, %r8b
jne LBB0_13
jmp LBB0_14
.cfi_endproc
## -- End function
.no_dead_strip _memswap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function memswap
_memswap: ; @memswap
.cfi_startproc
; %bb.0:
cmp x0, x1
b.eq LBB0_8
; %bb.1:
cbz x2, LBB0_8
; %bb.2:
cmp x2, #8
b.lo LBB0_5
; %bb.3:
add x8, x1, x2
cmp x8, x0
b.ls LBB0_9
; %bb.4:
add x8, x0, x2
cmp x8, x1
b.ls LBB0_9
LBB0_5:
mov x8, #0
LBB0_6:
sub x9, x2, x8
add x10, x1, x8
add x8, x0, x8
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x8]
ldrb w12, [x10]
strb w12, [x8], #1
strb w11, [x10], #1
subs x9, x9, #1
b.ne LBB0_7
LBB0_8:
ret
LBB0_9:
cmp x2, #32
b.hs LBB0_11
; %bb.10:
mov x8, #0
b LBB0_15
LBB0_11:
and x8, x2, #0xffffffffffffffe0
add x9, x0, #16
add x10, x1, #16
mov x11, x8
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x9, #-16]
ldp q2, q3, [x10, #-16]
stp q2, q3, [x9, #-16]
stp q0, q1, [x10, #-16]
add x9, x9, #32
add x10, x10, #32
subs x11, x11, #32
b.ne LBB0_12
; %bb.13:
cmp x8, x2
b.eq LBB0_8
; %bb.14:
tst x2, #0x18
b.eq LBB0_6
LBB0_15:
mov x11, x8
and x8, x2, #0xfffffffffffffff8
add x9, x0, x11
add x10, x1, x11
sub x11, x11, x8
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr d0, [x9]
ldr d1, [x10]
str d1, [x9], #8
str d0, [x10], #8
adds x11, x11, #8
b.ne LBB0_16
; %bb.17:
cmp x8, x2
b.eq LBB0_8
b LBB0_6
.cfi_endproc
; -- End function
.no_dead_strip _memswap
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Assign.c_memswap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Cmp_Brief
_Cmp_Brief: ## @Cmp_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Comparison"
.no_dead_strip _Cmp_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Cmp_Brief
_Cmp_Brief: ; @Cmp_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Comparison"
.no_dead_strip _Cmp_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Cmp_Brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Cmp_Definition
_Cmp_Definition: ## @Cmp_Definition
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct Cmp {\n int (*cmp)(var, var);\n};\n"
.no_dead_strip _Cmp_Definition
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Cmp_Definition
_Cmp_Definition: ; @Cmp_Definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct Cmp {\n int (*cmp)(var, var);\n};\n"
.no_dead_strip _Cmp_Definition
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Cmp_Definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Cmp_Description
_Cmp_Description: ## @Cmp_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `Cmp` class is used to define comparison between two object values. This class is important as it is used by many data structures to test equality or ordering of objects.\n\nBy default, if passed two objects of the same type, the `Cmp` class will simply compare the raw memory of both objects, using the `Size` class.\n\nTo implement this class a `cmp` function must be provided which returns `< 0` if the first object is _less than_ the second, `> 0` if the first object is _greater than_ the second, and `0` if they are _equal_. \n\nFor objects that manage their own data this class may need to be overridden to ensure that objects of the same _value_ are still treated as equal. E.G. for string types.\n\nThis class to used to test for _value_ equality between objects, I.E. if they represent the same thing. For _object_ equality the `is` keyword can be used, which will return `true` only if two variables are pointing to the same object in memory."
.no_dead_strip _Cmp_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Cmp_Description
_Cmp_Description: ; @Cmp_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `Cmp` class is used to define comparison between two object values. This class is important as it is used by many data structures to test equality or ordering of objects.\n\nBy default, if passed two objects of the same type, the `Cmp` class will simply compare the raw memory of both objects, using the `Size` class.\n\nTo implement this class a `cmp` function must be provided which returns `< 0` if the first object is _less than_ the second, `> 0` if the first object is _greater than_ the second, and `0` if they are _equal_. \n\nFor objects that manage their own data this class may need to be overridden to ensure that objects of the same _value_ are still treated as equal. E.G. for string types.\n\nThis class to used to test for _value_ equality between objects, I.E. if they represent the same thing. For _object_ equality the `is` keyword can be used, which will return `true` only if two variables are pointing to the same object in memory."
.no_dead_strip _Cmp_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Cmp_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Cmp_Examples
_Cmp_Examples: ## @Cmp_Examples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Cmp_Examples.examples(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Cmp_Examples.examples
_Cmp_Examples.examples:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage 1"
L_.str.1: ## @.str.1
.asciz "show($I( eq($I(1), $I( 1)))); /* 1 */\nshow($I(neq($I(2), $I(20)))); /* 1 */\nshow($I(neq($S(\"Hello\"), $S(\"Hello\")))); /* 0 */\nshow($I( eq($S(\"Hello\"), $S(\"There\")))); /* 0 */\n\nvar a = $I(1); var b = $I(1);\n\nshow($I(eq(a, b))); /* 1 */\nshow($I(a is b)); /* 0 */\nshow($I(a isnt b)); /* 1 */\n"
L_.str.2: ## @.str.2
.asciz "Usage 2"
L_.str.3: ## @.str.3
.asciz "show($I(gt($I(15), $I(3 )))); /* 1 */\nshow($I(lt($I(70), $I(81)))); /* 1 */\nshow($I(lt($I(71), $I(71)))); /* 0 */\nshow($I(ge($I(78), $I(71)))); /* 1 */\nshow($I(gt($I(32), $I(32)))); /* 0 */\nshow($I(le($I(21), $I(32)))); /* 1 */\n\nshow($I(cmp($I(20), $I(20)))); /* 0 */\nshow($I(cmp($I(21), $I(20)))); /* 1 */\nshow($I(cmp($I(20), $I(21)))); /* -1 */\n"
.no_dead_strip _Cmp_Examples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Cmp_Examples
_Cmp_Examples: ; @Cmp_Examples
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Cmp_Examples.examples@PAGE
Lloh1:
add x0, x0, _Cmp_Examples.examples@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Cmp_Examples.examples
_Cmp_Examples.examples:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage 1"
l_.str.1: ; @.str.1
.asciz "show($I( eq($I(1), $I( 1)))); /* 1 */\nshow($I(neq($I(2), $I(20)))); /* 1 */\nshow($I(neq($S(\"Hello\"), $S(\"Hello\")))); /* 0 */\nshow($I( eq($S(\"Hello\"), $S(\"There\")))); /* 0 */\n\nvar a = $I(1); var b = $I(1);\n\nshow($I(eq(a, b))); /* 1 */\nshow($I(a is b)); /* 0 */\nshow($I(a isnt b)); /* 1 */\n"
l_.str.2: ; @.str.2
.asciz "Usage 2"
l_.str.3: ; @.str.3
.asciz "show($I(gt($I(15), $I(3 )))); /* 1 */\nshow($I(lt($I(70), $I(81)))); /* 1 */\nshow($I(lt($I(71), $I(71)))); /* 0 */\nshow($I(ge($I(78), $I(71)))); /* 1 */\nshow($I(gt($I(32), $I(32)))); /* 0 */\nshow($I(le($I(21), $I(32)))); /* 1 */\n\nshow($I(cmp($I(20), $I(20)))); /* 0 */\nshow($I(cmp($I(21), $I(20)))); /* 1 */\nshow($I(cmp($I(20), $I(21)))); /* -1 */\n"
.no_dead_strip _Cmp_Examples
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Cmp_Examples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Cmp_Methods
_Cmp_Methods: ## @Cmp_Methods
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Cmp_Methods.methods(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Cmp_Methods.methods
_Cmp_Methods.methods:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.space 24
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cmp"
L_.str.1: ## @.str.1
.asciz "int cmp(var self, var obj);"
L_.str.2: ## @.str.2
.asciz "The return value of `cmp` is `< 0` if `self` is less than `obj`, `> 0` if `self` is greater than `obj` and `0` if they are equal."
L_.str.3: ## @.str.3
.asciz "eq"
L_.str.4: ## @.str.4
.asciz "bool eq(var self, var obj);"
L_.str.5: ## @.str.5
.asciz "Returns true if the object `self` is equal to the object `obj`."
L_.str.6: ## @.str.6
.asciz "neq"
L_.str.7: ## @.str.7
.asciz "bool neq(var self, var obj);"
L_.str.8: ## @.str.8
.asciz "Returns false if the object `self` is equal to the object `obj`."
L_.str.9: ## @.str.9
.asciz "gt"
L_.str.10: ## @.str.10
.asciz "bool gt(var self, var obj);"
L_.str.11: ## @.str.11
.asciz "Returns true if the object `self` is greater than the object `obj`."
L_.str.12: ## @.str.12
.asciz "lt"
L_.str.13: ## @.str.13
.asciz "bool lt(var self, var obj);"
L_.str.14: ## @.str.14
.asciz "Returns false if the object `self` is less than the object `obj`."
L_.str.15: ## @.str.15
.asciz "ge"
L_.str.16: ## @.str.16
.asciz "bool ge(var self, var obj);"
L_.str.17: ## @.str.17
.asciz "Returns false if the object `self` is greater than or equal to the object `obj`."
L_.str.18: ## @.str.18
.asciz "le"
L_.str.19: ## @.str.19
.asciz "bool le(var self, var obj);"
L_.str.20: ## @.str.20
.asciz "Returns false if the object `self` is less than or equal to the object `obj`."
.no_dead_strip _Cmp_Methods
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Cmp_Methods
_Cmp_Methods: ; @Cmp_Methods
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Cmp_Methods.methods@PAGE
Lloh1:
add x0, x0, _Cmp_Methods.methods@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Cmp_Methods.methods
_Cmp_Methods.methods:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.space 24
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cmp"
l_.str.1: ; @.str.1
.asciz "int cmp(var self, var obj);"
l_.str.2: ; @.str.2
.asciz "The return value of `cmp` is `< 0` if `self` is less than `obj`, `> 0` if `self` is greater than `obj` and `0` if they are equal."
l_.str.3: ; @.str.3
.asciz "eq"
l_.str.4: ; @.str.4
.asciz "bool eq(var self, var obj);"
l_.str.5: ; @.str.5
.asciz "Returns true if the object `self` is equal to the object `obj`."
l_.str.6: ; @.str.6
.asciz "neq"
l_.str.7: ; @.str.7
.asciz "bool neq(var self, var obj);"
l_.str.8: ; @.str.8
.asciz "Returns false if the object `self` is equal to the object `obj`."
l_.str.9: ; @.str.9
.asciz "gt"
l_.str.10: ; @.str.10
.asciz "bool gt(var self, var obj);"
l_.str.11: ; @.str.11
.asciz "Returns true if the object `self` is greater than the object `obj`."
l_.str.12: ; @.str.12
.asciz "lt"
l_.str.13: ; @.str.13
.asciz "bool lt(var self, var obj);"
l_.str.14: ; @.str.14
.asciz "Returns false if the object `self` is less than the object `obj`."
l_.str.15: ; @.str.15
.asciz "ge"
l_.str.16: ; @.str.16
.asciz "bool ge(var self, var obj);"
l_.str.17: ; @.str.17
.asciz "Returns false if the object `self` is greater than or equal to the object `obj`."
l_.str.18: ; @.str.18
.asciz "le"
l_.str.19: ; @.str.19
.asciz "bool le(var self, var obj);"
l_.str.20: ; @.str.20
.asciz "Returns false if the object `self` is less than or equal to the object `obj`."
.no_dead_strip _Cmp_Methods
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Cmp_Methods.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Cmp_Name
_Cmp_Name: ## @Cmp_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Cmp"
.no_dead_strip _Cmp_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Cmp_Name
_Cmp_Name: ; @Cmp_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Cmp"
.no_dead_strip _Cmp_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Cmp_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Sort_Brief
_Sort_Brief: ## @Sort_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Sortable"
.no_dead_strip _Sort_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Sort_Brief
_Sort_Brief: ; @Sort_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Sortable"
.no_dead_strip _Sort_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Sort_Brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Sort_Definition
_Sort_Definition: ## @Sort_Definition
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct Sort {\n void (*sort_by)(var,bool(*f)(var,var));\n};"
.no_dead_strip _Sort_Definition
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Sort_Definition
_Sort_Definition: ; @Sort_Definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct Sort {\n void (*sort_by)(var,bool(*f)(var,var));\n};"
.no_dead_strip _Sort_Definition
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Sort_Definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Sort_Description
_Sort_Description: ## @Sort_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `Sort` class can be implemented by types which can be sorted in some way such as `Array`. By default the sorting function uses the `lt` method to compare elements, but a custom function can also be provided."
.no_dead_strip _Sort_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Sort_Description
_Sort_Description: ; @Sort_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `Sort` class can be implemented by types which can be sorted in some way such as `Array`. By default the sorting function uses the `lt` method to compare elements, but a custom function can also be provided."
.no_dead_strip _Sort_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Sort_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Sort_Examples
_Sort_Examples: ## @Sort_Examples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Sort_Examples.examples(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Sort_Examples.examples
_Sort_Examples.examples:
.quad L_.str
.quad L_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage"
L_.str.1: ## @.str.1
.asciz "var x = new(Array, Float, \n $F(5.2), $F(7.1), $F(2.2));\n\nshow(x); /* <'Array' At 0x00414603 [5.2, 7.1, 2.2]> */\nsort(x);\nshow(x); /* <'Array' At 0x00414603 [2.2, 5.2, 7.1]> */\n"
.no_dead_strip _Sort_Examples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Sort_Examples
_Sort_Examples: ; @Sort_Examples
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Sort_Examples.examples@PAGE
Lloh1:
add x0, x0, _Sort_Examples.examples@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Sort_Examples.examples
_Sort_Examples.examples:
.quad l_.str
.quad l_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage"
l_.str.1: ; @.str.1
.asciz "var x = new(Array, Float, \n $F(5.2), $F(7.1), $F(2.2));\n\nshow(x); /* <'Array' At 0x00414603 [5.2, 7.1, 2.2]> */\nsort(x);\nshow(x); /* <'Array' At 0x00414603 [2.2, 5.2, 7.1]> */\n"
.no_dead_strip _Sort_Examples
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Sort_Examples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Sort_Methods
_Sort_Methods: ## @Sort_Methods
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Sort_Methods.methods(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Sort_Methods.methods
_Sort_Methods.methods:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.space 24
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sort"
L_.str.1: ## @.str.1
.asciz "void sort(var self);"
L_.str.2: ## @.str.2
.asciz "Sorts the object `self`."
L_.str.3: ## @.str.3
.asciz "sort_by"
L_.str.4: ## @.str.4
.asciz "void sort_by(var self, bool(*f)(var,var));"
L_.str.5: ## @.str.5
.asciz "Sorts the object `self` using the function `f`."
.no_dead_strip _Sort_Methods
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Sort_Methods
_Sort_Methods: ; @Sort_Methods
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Sort_Methods.methods@PAGE
Lloh1:
add x0, x0, _Sort_Methods.methods@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Sort_Methods.methods
_Sort_Methods.methods:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.space 24
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sort"
l_.str.1: ; @.str.1
.asciz "void sort(var self);"
l_.str.2: ; @.str.2
.asciz "Sorts the object `self`."
l_.str.3: ; @.str.3
.asciz "sort_by"
l_.str.4: ; @.str.4
.asciz "void sort_by(var self, bool(*f)(var,var));"
l_.str.5: ; @.str.5
.asciz "Sorts the object `self` using the function `f`."
.no_dead_strip _Sort_Methods
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Sort_Methods.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Sort_Name
_Sort_Name: ## @Sort_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Sort"
.no_dead_strip _Sort_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Sort_Name
_Sort_Name: ; @Sort_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Sort"
.no_dead_strip _Sort_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_Sort_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gt ## -- Begin function gt
.p2align 4, 0x90
_gt: ## @gt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _cmp
xorl %ecx, %ecx
testq %rax, %rax
setg %cl
movl %ecx, %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 _gt ; -- Begin function gt
.p2align 2
_gt: ; @gt
.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 _cmp
cmp x0, #0
cset w0, gt
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_gt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lt ## -- Begin function lt
.p2align 4, 0x90
_lt: ## @lt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _cmp
shrq $63, %rax
## kill: def $eax killed $eax killed $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 _lt ; -- Begin function lt
.p2align 2
_lt: ; @lt
.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 _cmp
lsr x0, x0, #63
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_lt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort ## -- Begin function sort
.p2align 4, 0x90
_sort: ## @sort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Sort@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _sort_by@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _lt@GOTPCREL(%rip), %rax
movl (%rax), %ecx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Sort,4,2 ## @Sort
.comm _sort_by,4,2 ## @sort_by
.comm _lt,4,2 ## @lt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort ; -- Begin function sort
.p2align 2
_sort: ; @sort
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _Sort@GOTPAGE
Lloh1:
ldr x8, [x8, _Sort@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _sort_by@GOTPAGE
Lloh4:
ldr x8, [x8, _sort_by@GOTPAGEOFF]
Lloh5:
adrp x9, _lt@GOTPAGE
Lloh6:
ldr x9, [x9, _lt@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
Lloh8:
ldr w3, [x9]
b _method
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Sort,4,2 ; @Sort
.comm _sort_by,4,2 ; @sort_by
.comm _lt,4,2 ; @lt
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_sort.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort_by ## -- Begin function sort_by
.p2align 4, 0x90
_sort_by: ## @sort_by
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rcx
movq _Sort@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _sort_by(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Sort,4,2 ## @Sort
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort_by ; -- Begin function sort_by
.p2align 2
_sort_by: ; @sort_by
.cfi_startproc
; %bb.0:
mov x3, x1
Lloh0:
adrp x8, _Sort@GOTPAGE
Lloh1:
ldr x8, [x8, _Sort@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _sort_by@PAGE
Lloh4:
add x2, x2, _sort_by@PAGEOFF
b _method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Sort,4,2 ; @Sort
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Cmp.c_sort_by.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Concat_Brief
_Concat_Brief: ## @Concat_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Concatenate Objects"
.no_dead_strip _Concat_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Concat_Brief
_Concat_Brief: ; @Concat_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Concatenate Objects"
.no_dead_strip _Concat_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Concat.c_Concat_Brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Concat_Definition
_Concat_Definition: ## @Concat_Definition
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct Concat {\n void (*concat)(var, var);\n void (*append)(var, var);\n};\n"
.no_dead_strip _Concat_Definition
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Concat_Definition
_Concat_Definition: ; @Concat_Definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct Concat {\n void (*concat)(var, var);\n void (*append)(var, var);\n};\n"
.no_dead_strip _Concat_Definition
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Concat.c_Concat_Definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Concat_Description
_Concat_Description: ## @Concat_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `Concat` class is implemented by objects that can have other objects either _appended_ to their, on _concatenated_ to them. For example collections or strings."
.no_dead_strip _Concat_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Concat_Description
_Concat_Description: ; @Concat_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `Concat` class is implemented by objects that can have other objects either _appended_ to their, on _concatenated_ to them. For example collections or strings."
.no_dead_strip _Concat_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Concat.c_Concat_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Concat_Examples
_Concat_Examples: ## @Concat_Examples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Concat_Examples.examples(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Concat_Examples.examples
_Concat_Examples.examples:
.quad L_.str
.quad L_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage"
L_.str.1: ## @.str.1
.asciz "var x = new(Array, Float, $F(9.9), $F(2.8));\nvar y = new(Array, Float, $F(1.1), $F(6.5));\n\nshow(x); /* <'Array' At 0x00414603 [9.9, 2.8]> */\nshow(y); /* <'Array' At 0x00414603 [1.1, 6.5]> */\nappend(x, $F(2.5));\nshow(x); /* <'Array' At 0x00414603 [9.9, 2.8, 2.5]> */\nconcat(x, y);\nshow(x); /* <'Array' At 0x00414603 [9.9, 2.8, 2.5, 1.1, 6.5]> */\n"
.no_dead_strip _Concat_Examples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Concat_Examples
_Concat_Examples: ; @Concat_Examples
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Concat_Examples.examples@PAGE
Lloh1:
add x0, x0, _Concat_Examples.examples@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Concat_Examples.examples
_Concat_Examples.examples:
.quad l_.str
.quad l_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage"
l_.str.1: ; @.str.1
.asciz "var x = new(Array, Float, $F(9.9), $F(2.8));\nvar y = new(Array, Float, $F(1.1), $F(6.5));\n\nshow(x); /* <'Array' At 0x00414603 [9.9, 2.8]> */\nshow(y); /* <'Array' At 0x00414603 [1.1, 6.5]> */\nappend(x, $F(2.5));\nshow(x); /* <'Array' At 0x00414603 [9.9, 2.8, 2.5]> */\nconcat(x, y);\nshow(x); /* <'Array' At 0x00414603 [9.9, 2.8, 2.5, 1.1, 6.5]> */\n"
.no_dead_strip _Concat_Examples
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Concat.c_Concat_Examples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Concat_Methods
_Concat_Methods: ## @Concat_Methods
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Concat_Methods.methods(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Concat_Methods.methods
_Concat_Methods.methods:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.space 24
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "append"
L_.str.1: ## @.str.1
.asciz "void append(var self, var obj);"
L_.str.2: ## @.str.2
.asciz "Append the object `obj` to the object `self`."
L_.str.3: ## @.str.3
.asciz "concat"
L_.str.4: ## @.str.4
.asciz "void concat(var self, var obj);"
L_.str.5: ## @.str.5
.asciz "Concatenate the object `obj` to the object `self`."
.no_dead_strip _Concat_Methods
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Concat_Methods
_Concat_Methods: ; @Concat_Methods
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Concat_Methods.methods@PAGE
Lloh1:
add x0, x0, _Concat_Methods.methods@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Concat_Methods.methods
_Concat_Methods.methods:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.space 24
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "append"
l_.str.1: ; @.str.1
.asciz "void append(var self, var obj);"
l_.str.2: ; @.str.2
.asciz "Append the object `obj` to the object `self`."
l_.str.3: ; @.str.3
.asciz "concat"
l_.str.4: ; @.str.4
.asciz "void concat(var self, var obj);"
l_.str.5: ; @.str.5
.asciz "Concatenate the object `obj` to the object `self`."
.no_dead_strip _Concat_Methods
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Concat.c_Concat_Methods.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Concat_Name
_Concat_Name: ## @Concat_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Concat"
.no_dead_strip _Concat_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Concat_Name
_Concat_Name: ; @Concat_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Concat"
.no_dead_strip _Concat_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Concat.c_Concat_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _append ## -- Begin function append
.p2align 4, 0x90
_append: ## @append
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %ecx
movq _Concat@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _append(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Concat,4,2 ## @Concat
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _append ; -- Begin function append
.p2align 2
_append: ; @append
.cfi_startproc
; %bb.0:
mov x3, x1
Lloh0:
adrp x8, _Concat@GOTPAGE
Lloh1:
ldr x8, [x8, _Concat@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _append@PAGE
Lloh4:
add x2, x2, _append@PAGEOFF
b _method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Concat,4,2 ; @Concat
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Concat.c_append.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _concat ## -- Begin function concat
.p2align 4, 0x90
_concat: ## @concat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %ecx
movq _Concat@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _concat(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Concat,4,2 ## @Concat
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _concat ; -- Begin function concat
.p2align 2
_concat: ; @concat
.cfi_startproc
; %bb.0:
mov x3, x1
Lloh0:
adrp x8, _Concat@GOTPAGE
Lloh1:
ldr x8, [x8, _Concat@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _concat@PAGE
Lloh4:
add x2, x2, _concat@PAGEOFF
b _method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Concat,4,2 ; @Concat
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Concat.c_concat.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Doc_Brief
_Doc_Brief: ## @Doc_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Provides Documentation"
.no_dead_strip _Doc_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Doc_Brief
_Doc_Brief: ; @Doc_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Provides Documentation"
.no_dead_strip _Doc_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Doc_Brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Doc_Definition
_Doc_Definition: ## @Doc_Definition
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct Example {\n const char* name;\n const char* body;\n};\n\nstruct Method {\n const char* name;\n const char* definition;\n const char* description;\n};\n\nstruct Doc {\n const char* (*name)(void);\n const char* (*brief)(void);\n const char* (*description)(void);\n const char* (*definition)(void);\n struct Example* (*examples)(void);\n struct Method* (*methods)(void);\n};\n"
.no_dead_strip _Doc_Definition
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Doc_Definition
_Doc_Definition: ; @Doc_Definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct Example {\n const char* name;\n const char* body;\n};\n\nstruct Method {\n const char* name;\n const char* definition;\n const char* description;\n};\n\nstruct Doc {\n const char* (*name)(void);\n const char* (*brief)(void);\n const char* (*description)(void);\n const char* (*definition)(void);\n struct Example* (*examples)(void);\n struct Method* (*methods)(void);\n};\n"
.no_dead_strip _Doc_Definition
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Doc_Definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Doc_Description
_Doc_Description: ## @Doc_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `Doc` class can be used to give documentation to a certain class or type. This documentation can then be accessed using the `help` function or by other tools used to generate documentation such as for the Cello website. Documentation can be written in Markdown.\n\nThe `examples` and `methods` entries should be provided as `NULL` terminated arrays allocated statically."
.no_dead_strip _Doc_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Doc_Description
_Doc_Description: ; @Doc_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `Doc` class can be used to give documentation to a certain class or type. This documentation can then be accessed using the `help` function or by other tools used to generate documentation such as for the Cello website. Documentation can be written in Markdown.\n\nThe `examples` and `methods` entries should be provided as `NULL` terminated arrays allocated statically."
.no_dead_strip _Doc_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Doc_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Doc_Examples
_Doc_Examples: ## @Doc_Examples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Doc_Examples.examples(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Doc_Examples.examples
_Doc_Examples.examples:
.quad L_.str
.quad L_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage"
L_.str.1: ## @.str.1
.asciz "show($S(name(Int))); /* Int */\nshow($S(brief(Int))); /* Integer Object */\n"
.no_dead_strip _Doc_Examples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Doc_Examples
_Doc_Examples: ; @Doc_Examples
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Doc_Examples.examples@PAGE
Lloh1:
add x0, x0, _Doc_Examples.examples@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Doc_Examples.examples
_Doc_Examples.examples:
.quad l_.str
.quad l_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage"
l_.str.1: ; @.str.1
.asciz "show($S(name(Int))); /* Int */\nshow($S(brief(Int))); /* Integer Object */\n"
.no_dead_strip _Doc_Examples
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Doc_Examples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Doc_Methods
_Doc_Methods: ## @Doc_Methods
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Doc_Methods.methods(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Doc_Methods.methods
_Doc_Methods.methods:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.space 24
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "name"
L_.str.1: ## @.str.1
.asciz "const char* name(var type);"
L_.str.2: ## @.str.2
.asciz "Return the name of a given `type`."
L_.str.3: ## @.str.3
.asciz "brief"
L_.str.4: ## @.str.4
.asciz "const char* brief(var type);"
L_.str.5: ## @.str.5
.asciz "Return a brief description of a given `type`."
L_.str.6: ## @.str.6
.asciz "description"
L_.str.7: ## @.str.7
.asciz "const char* description(var type);"
L_.str.8: ## @.str.8
.asciz "Return a longer description of a given `type`."
L_.str.9: ## @.str.9
.asciz "definition"
L_.str.10: ## @.str.10
.asciz "const char* definition(var type);"
L_.str.11: ## @.str.11
.asciz "Return the C definition of a given `type`."
.no_dead_strip _Doc_Methods
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Doc_Methods
_Doc_Methods: ; @Doc_Methods
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Doc_Methods.methods@PAGE
Lloh1:
add x0, x0, _Doc_Methods.methods@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Doc_Methods.methods
_Doc_Methods.methods:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.space 24
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "name"
l_.str.1: ; @.str.1
.asciz "const char* name(var type);"
l_.str.2: ; @.str.2
.asciz "Return the name of a given `type`."
l_.str.3: ; @.str.3
.asciz "brief"
l_.str.4: ; @.str.4
.asciz "const char* brief(var type);"
l_.str.5: ; @.str.5
.asciz "Return a brief description of a given `type`."
l_.str.6: ; @.str.6
.asciz "description"
l_.str.7: ; @.str.7
.asciz "const char* description(var type);"
l_.str.8: ; @.str.8
.asciz "Return a longer description of a given `type`."
l_.str.9: ; @.str.9
.asciz "definition"
l_.str.10: ; @.str.10
.asciz "const char* definition(var type);"
l_.str.11: ; @.str.11
.asciz "Return the C definition of a given `type`."
.no_dead_strip _Doc_Methods
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Doc_Methods.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Doc_Name
_Doc_Name: ## @Doc_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Doc"
.no_dead_strip _Doc_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Doc_Name
_Doc_Name: ; @Doc_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Doc"
.no_dead_strip _Doc_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Doc_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Help_Brief
_Help_Brief: ## @Help_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage information"
.no_dead_strip _Help_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Help_Brief
_Help_Brief: ; @Help_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage information"
.no_dead_strip _Help_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Help_Brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Help_Definition
_Help_Definition: ## @Help_Definition
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct Help {\n int (*help_to)(var, int);\n};\n"
.no_dead_strip _Help_Definition
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Help_Definition
_Help_Definition: ; @Help_Definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct Help {\n int (*help_to)(var, int);\n};\n"
.no_dead_strip _Help_Definition
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Help_Definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Help_Description
_Help_Description: ## @Help_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `Help` class can be implemented to let an object provide helpful information about itself. In the standard library this class is implemented by `Type` and it prints out the documentation provided by the `Doc` class in a friendly way."
.no_dead_strip _Help_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Help_Description
_Help_Description: ; @Help_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `Help` class can be implemented to let an object provide helpful information about itself. In the standard library this class is implemented by `Type` and it prints out the documentation provided by the `Doc` class in a friendly way."
.no_dead_strip _Help_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Help_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Help_Examples
_Help_Examples: ## @Help_Examples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Help_Examples.examples(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Help_Examples.examples
_Help_Examples.examples:
.quad L_.str
.quad L_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage"
L_.str.1: ## @.str.1
.asciz "help(Int);\n"
.no_dead_strip _Help_Examples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Help_Examples
_Help_Examples: ; @Help_Examples
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Help_Examples.examples@PAGE
Lloh1:
add x0, x0, _Help_Examples.examples@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Help_Examples.examples
_Help_Examples.examples:
.quad l_.str
.quad l_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage"
l_.str.1: ; @.str.1
.asciz "help(Int);\n"
.no_dead_strip _Help_Examples
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Help_Examples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Help_Methods
_Help_Methods: ## @Help_Methods
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Help_Methods.methods(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Help_Methods.methods
_Help_Methods.methods:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.space 24
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "help"
L_.str.1: ## @.str.1
.asciz "void help(var self);\nint help_to(var out, int pos, var self);"
L_.str.2: ## @.str.2
.asciz "Print help information about the object `self` either to `stdout` or to the object `out` at some position `pos`."
.no_dead_strip _Help_Methods
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Help_Methods
_Help_Methods: ; @Help_Methods
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Help_Methods.methods@PAGE
Lloh1:
add x0, x0, _Help_Methods.methods@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Help_Methods.methods
_Help_Methods.methods:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.space 24
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "help"
l_.str.1: ; @.str.1
.asciz "void help(var self);\nint help_to(var out, int pos, var self);"
l_.str.2: ; @.str.2
.asciz "Print help information about the object `self` either to `stdout` or to the object `out` at some position `pos`."
.no_dead_strip _Help_Methods
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Help_Methods.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Help_Name
_Help_Name: ## @Help_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Help"
.no_dead_strip _Help_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Help_Name
_Help_Name: ; @Help_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Help"
.no_dead_strip _Help_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_Help_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _brief ## -- Begin function brief
.p2align 4, 0x90
_brief: ## @brief
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Doc@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _brief(%rip), %rdx
popq %rbp
jmp _type_method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Doc,4,2 ## @Doc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _brief ; -- Begin function brief
.p2align 2
_brief: ; @brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _Doc@GOTPAGE
Lloh1:
ldr x8, [x8, _Doc@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _brief@PAGE
Lloh4:
add x2, x2, _brief@PAGEOFF
b _type_method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Doc,4,2 ; @Doc
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _definition ## -- Begin function definition
.p2align 4, 0x90
_definition: ## @definition
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Doc@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _definition(%rip), %rdx
popq %rbp
jmp _type_method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Doc,4,2 ## @Doc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _definition ; -- Begin function definition
.p2align 2
_definition: ; @definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _Doc@GOTPAGE
Lloh1:
ldr x8, [x8, _Doc@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _definition@PAGE
Lloh4:
add x2, x2, _definition@PAGEOFF
b _type_method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Doc,4,2 ; @Doc
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _description ## -- Begin function description
.p2align 4, 0x90
_description: ## @description
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Doc@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _description(%rip), %rdx
popq %rbp
jmp _type_method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Doc,4,2 ## @Doc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _description ; -- Begin function description
.p2align 2
_description: ; @description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _Doc@GOTPAGE
Lloh1:
ldr x8, [x8, _Doc@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _description@PAGE
Lloh4:
add x2, x2, _description@PAGEOFF
b _type_method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Doc,4,2 ; @Doc
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
movq _File@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _stdout@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _$
movl %eax, %edi
xorl %esi, %esi
movl %ebx, %edx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _help_to ## TAILCALL
.cfi_endproc
## -- End function
.comm _File,4,2 ## @File
.comm _stdout,4,2 ## @stdout
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _help ; -- Begin function help
.p2align 2
_help: ; @help
.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, _File@GOTPAGE
Lloh1:
ldr x8, [x8, _File@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _stdout@GOTPAGE
Lloh4:
ldr x8, [x8, _stdout@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _$
mov w1, #0
mov x2, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _help_to
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _File,4,2 ; @File
.comm _stdout,4,2 ; @stdout
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_help.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _help_to ## -- Begin function help_to
.p2align 4, 0x90
_help_to: ## @help_to
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, %eax
movl %esi, %r8d
movl %edi, %ecx
movq _Help@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
leaq _help_to(%rip), %rdx
movl %eax, %edi
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Help,4,2 ## @Help
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _help_to ; -- Begin function help_to
.p2align 2
_help_to: ; @help_to
.cfi_startproc
; %bb.0:
mov x8, x2
mov x4, x1
mov x3, x0
Lloh0:
adrp x9, _Help@GOTPAGE
Lloh1:
ldr x9, [x9, _Help@GOTPAGEOFF]
Lloh2:
adrp x2, _help_to@PAGE
Lloh3:
add x2, x2, _help_to@PAGEOFF
Lloh4:
ldr w1, [x9]
mov x0, x8
b _method
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _Help,4,2 ; @Help
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_help_to.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _name ## -- Begin function name
.p2align 4, 0x90
_name: ## @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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
movq _Doc@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _type_instance
movq (%rax), %rcx
testq %rcx, %rcx
je LBB0_2
## %bb.1:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmpq *%rcx ## TAILCALL
LBB0_2:
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _c_str ## TAILCALL
.cfi_endproc
## -- End function
.comm _Doc,4,2 ## @Doc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _name ; -- Begin function name
.p2align 2
_name: ; @name
.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, _Doc@GOTPAGE
Lloh1:
ldr x8, [x8, _Doc@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _type_instance
ldr x0, [x0]
cbz x0, LBB0_2
; %bb.1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
br x0
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _c_str
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Doc,4,2 ; @Doc
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Doc.c_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Assign
_Exception_Assign: ## @Exception_Assign
.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, %rax
movq %rdi, %r14
movq _Exception@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rax, %rdi
callq _cast
movq %rax, %rbx
movl 16(%rax), %eax
movl %eax, 16(%r14)
movl 12(%r14), %edi
movl 12(%rbx), %esi
callq _assign
movl 8(%rbx), %eax
movl %eax, 8(%r14)
movl 4(%rbx), %eax
movl %eax, 4(%r14)
movl (%r14), %edi
movl (%rbx), %esi
movq _EXCEPTION_MAX_DEPTH@GOTPCREL(%rip), %rax
movl (%rax), %edx
shll $3, %edx
popq %rbx
popq %r14
popq %rbp
jmp _memcpy ## TAILCALL
.cfi_endproc
## -- End function
.comm _Exception,4,2 ## @Exception
.comm _EXCEPTION_MAX_DEPTH,4,2 ## @EXCEPTION_MAX_DEPTH
.no_dead_strip _Exception_Assign
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Assign
_Exception_Assign: ; @Exception_Assign
.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 x8, x1
mov x19, x0
Lloh0:
adrp x9, _Exception@GOTPAGE
Lloh1:
ldr x9, [x9, _Exception@GOTPAGEOFF]
Lloh2:
ldr w1, [x9]
mov x0, x8
bl _cast
mov x20, x0
ldp w1, w8, [x0, #12]
str w8, [x19, #16]
ldr w0, [x19, #12]
bl _assign
ldur d0, [x20, #4]
stur d0, [x19, #4]
ldr w0, [x19]
Lloh3:
adrp x8, _EXCEPTION_MAX_DEPTH@GOTPAGE
Lloh4:
ldr x8, [x8, _EXCEPTION_MAX_DEPTH@GOTPAGEOFF]
ldr w1, [x20]
Lloh5:
ldr w8, [x8]
lsl w2, w8, #3
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _memcpy
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Exception,4,2 ; @Exception
.comm _EXCEPTION_MAX_DEPTH,4,2 ; @EXCEPTION_MAX_DEPTH
.no_dead_strip _Exception_Assign
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Assign.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Backtrace
_Exception_Backtrace: ## @Exception_Backtrace
.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 _Exception_Backtrace
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Backtrace
_Exception_Backtrace: ; @Exception_Backtrace
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _Exception_Backtrace
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Backtrace.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Brief
_Exception_Brief: ## @Exception_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Exception Object"
.no_dead_strip _Exception_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Brief
_Exception_Brief: ; @Exception_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Exception Object"
.no_dead_strip _Exception_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Buffer
_Exception_Buffer: ## @Exception_Buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq (%rdi), %rax
testq %rax, %rax
je LBB0_2
## %bb.1:
movq 8(%rdi), %rcx
movq -8(%rcx,%rax,8), %rax
popq %rbp
retq
LBB0_2:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fprintf
xorl %eax, %eax
callq _abort
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Cello Fatal Error: Exception Buffer Out of Bounds!\n"
.no_dead_strip _Exception_Buffer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Buffer
_Exception_Buffer: ; @Exception_Buffer
.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, [x0]
cbz w8, LBB0_2
; %bb.1:
ldr x9, [x0, #8]
sub w8, w8, #1
ldr x0, [x9, w8, sxtw #3]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh0:
adrp x8, _stderr@GOTPAGE
Lloh1:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
bl _abort
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Cello Fatal Error: Exception Buffer Out of Bounds!\n"
.no_dead_strip _Exception_Buffer
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Buffer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Description
_Exception_Description: ## @Exception_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `Exception` type provides an interface to the Cello Exception System. One instance of this type is created for each `Thread` and stores the various bits of data required for the exception system. It can be retrieved using the `current` function, although not much can be done with it.\n\nExceptions are available via the `try`, `catch` and `throw` macros. It is important that the `catch` part of the exception block is always evaluated otherwise the internal state of the exception system can go out of sync. For this reason please never use `return` inside a `try` block. \n\nThe `exception_signals` method can be used to register some exception to be thrown for any of the [standard C signals](https://en.wikipedia.org/wiki/C_signal_handling).\n\nTo get the current exception object or message use the `exception_message` or `exception_object` methods."
.no_dead_strip _Exception_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Description
_Exception_Description: ; @Exception_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `Exception` type provides an interface to the Cello Exception System. One instance of this type is created for each `Thread` and stores the various bits of data required for the exception system. It can be retrieved using the `current` function, although not much can be done with it.\n\nExceptions are available via the `try`, `catch` and `throw` macros. It is important that the `catch` part of the exception block is always evaluated otherwise the internal state of the exception system can go out of sync. For this reason please never use `return` inside a `try` block. \n\nThe `exception_signals` method can be used to register some exception to be thrown for any of the [standard C signals](https://en.wikipedia.org/wiki/C_signal_handling).\n\nTo get the current exception object or message use the `exception_message` or `exception_object` methods."
.no_dead_strip _Exception_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Error
_Exception_Error: ## @Exception_Error
.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 %rdi, %r15
movq _File@GOTPCREL(%rip), %r12
movl (%r12), %edi
movq _stderr@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
callq _$
leaq L_.str(%rip), %rdx
movl %eax, %edi
xorl %esi, %esi
xorl %eax, %eax
callq _print_to
movl (%r12), %edi
movl (%rbx), %esi
callq _$
leaq L_.str.1(%rip), %r14
movl %eax, %edi
xorl %esi, %esi
movq %r14, %rdx
xorl %eax, %eax
callq _print_to
movl (%r12), %edi
movl (%rbx), %esi
callq _$
movl 4(%r15), %ecx
leaq L_.str.2(%rip), %rdx
movl %eax, %edi
xorl %esi, %esi
xorl %eax, %eax
callq _print_to
movl (%r12), %edi
movl (%rbx), %esi
callq _$
movl %eax, %edi
xorl %esi, %esi
movq %r14, %rdx
xorl %eax, %eax
callq _print_to
movl (%r12), %edi
movl (%rbx), %esi
callq _$
movl (%r15), %ecx
leaq L_.str.3(%rip), %rdx
movl %eax, %edi
xorl %esi, %esi
xorl %eax, %eax
callq _print_to
movl (%r12), %edi
movl (%rbx), %esi
callq _$
movl %eax, %edi
xorl %esi, %esi
movq %r14, %rdx
xorl %eax, %eax
callq _print_to
xorl %eax, %eax
callq _Exception_Backtrace
movq _EXIT_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _exit
.cfi_endproc
## -- End function
.comm _File,4,2 ## @File
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
L_.str.1: ## @.str.1
.asciz "!!\t\n"
L_.str.2: ## @.str.2
.asciz "!!\tUncaught %$\n"
L_.str.3: ## @.str.3
.asciz "!!\t\t %s\n"
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
.no_dead_strip _Exception_Error
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Error
_Exception_Error: ; @Exception_Error
.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, x0
Lloh0:
adrp x21, _File@GOTPAGE
Lloh1:
ldr x21, [x21, _File@GOTPAGEOFF]
ldr w0, [x21]
Lloh2:
adrp x22, _stderr@GOTPAGE
Lloh3:
ldr x22, [x22, _stderr@GOTPAGEOFF]
ldr w1, [x22]
bl _$
Lloh4:
adrp x2, l_.str@PAGE
Lloh5:
add x2, x2, l_.str@PAGEOFF
mov w1, #0
bl _print_to
ldr w0, [x21]
ldr w1, [x22]
bl _$
Lloh6:
adrp x20, l_.str.1@PAGE
Lloh7:
add x20, x20, l_.str.1@PAGEOFF
mov w1, #0
mov x2, x20
bl _print_to
ldr w0, [x21]
ldr w1, [x22]
bl _$
ldr w8, [x19, #4]
str x8, [sp]
Lloh8:
adrp x2, l_.str.2@PAGE
Lloh9:
add x2, x2, l_.str.2@PAGEOFF
mov w1, #0
bl _print_to
ldr w0, [x21]
ldr w1, [x22]
bl _$
mov w1, #0
mov x2, x20
bl _print_to
ldr w0, [x21]
ldr w1, [x22]
bl _$
ldr w8, [x19]
str x8, [sp]
Lloh10:
adrp x2, l_.str.3@PAGE
Lloh11:
add x2, x2, l_.str.3@PAGEOFF
mov w1, #0
bl _print_to
ldr w0, [x21]
ldr w1, [x22]
bl _$
mov w1, #0
mov x2, x20
bl _print_to
bl _Exception_Backtrace
Lloh12:
adrp x8, _EXIT_FAILURE@GOTPAGE
Lloh13:
ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
bl _exit
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _File,4,2 ; @File
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
l_.str.1: ; @.str.1
.asciz "!!\t\n"
l_.str.2: ; @.str.2
.asciz "!!\tUncaught %$\n"
l_.str.3: ; @.str.3
.asciz "!!\t\t %s\n"
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
.no_dead_strip _Exception_Error
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Error.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Examples
_Exception_Examples: ## @Exception_Examples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Exception_Examples.examples(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Exception_Examples.examples
_Exception_Examples.examples:
.quad L_.str
.quad L_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage"
L_.str.1: ## @.str.1
.asciz "var x = new(Table, String, Int);\nset(x, $S(\"Hello\"), $I(1));\nset(x, $S(\"World\"), $I(2));\n\ntry {\n get(x, $S(\"Missing\"));\n} catch (e in KeyError) {\n println(\"Got Exception: %$\", e);\n}\n"
.no_dead_strip _Exception_Examples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Examples
_Exception_Examples: ; @Exception_Examples
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Exception_Examples.examples@PAGE
Lloh1:
add x0, x0, _Exception_Examples.examples@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Exception_Examples.examples
_Exception_Examples.examples:
.quad l_.str
.quad l_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage"
l_.str.1: ; @.str.1
.asciz "var x = new(Table, String, Int);\nset(x, $S(\"Hello\"), $I(1));\nset(x, $S(\"World\"), $I(2));\n\ntry {\n get(x, $S(\"Missing\"));\n} catch (e in KeyError) {\n println(\"Got Exception: %$\", e);\n}\n"
.no_dead_strip _Exception_Examples
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Examples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Len
_Exception_Len: ## @Exception_Len
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _Exception_Len
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Len
_Exception_Len: ; @Exception_Len
.cfi_startproc
; %bb.0:
ldr x0, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _Exception_Len
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Len.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Methods
_Exception_Methods: ## @Exception_Methods
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Exception_Methods.methods(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Exception_Methods.methods
_Exception_Methods.methods:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.space 24
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "try"
L_.str.1: ## @.str.1
.asciz "#define try"
L_.str.2: ## @.str.2
.asciz "Start an exception `try` block."
L_.str.3: ## @.str.3
.asciz "catch"
L_.str.4: ## @.str.4
.asciz "#define catch(...)"
L_.str.5: ## @.str.5
.asciz "Start an exception `catch` block, catching any objects listed in `...` as the first name given. To catch any exception object leave argument list empty other than caught variable name."
L_.str.6: ## @.str.6
.asciz "#define throw"
L_.str.7: ## @.str.7
.asciz "throw(E, F, ...)"
L_.str.8: ## @.str.8
.asciz "Throw exception object `E` with format string `F` and arguments `...`."
L_.str.9: ## @.str.9
.asciz "exception_signals"
L_.str.10: ## @.str.10
.asciz "void exception_signals(void);"
L_.str.11: ## @.str.11
.asciz "Register the standard C signals to throw corresponding exceptions."
L_.str.12: ## @.str.12
.asciz "exception_object"
L_.str.13: ## @.str.13
.asciz "void exception_object(void);\n"
L_.str.14: ## @.str.14
.asciz "Retrieve the current exception object."
L_.str.15: ## @.str.15
.asciz "exception_message"
L_.str.16: ## @.str.16
.asciz "void exception_message(void);\n"
L_.str.17: ## @.str.17
.asciz "Retrieve the current exception message."
.no_dead_strip _Exception_Methods
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Methods
_Exception_Methods: ; @Exception_Methods
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Exception_Methods.methods@PAGE
Lloh1:
add x0, x0, _Exception_Methods.methods@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Exception_Methods.methods
_Exception_Methods.methods:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.space 24
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "try"
l_.str.1: ; @.str.1
.asciz "#define try"
l_.str.2: ; @.str.2
.asciz "Start an exception `try` block."
l_.str.3: ; @.str.3
.asciz "catch"
l_.str.4: ; @.str.4
.asciz "#define catch(...)"
l_.str.5: ; @.str.5
.asciz "Start an exception `catch` block, catching any objects listed in `...` as the first name given. To catch any exception object leave argument list empty other than caught variable name."
l_.str.6: ; @.str.6
.asciz "#define throw"
l_.str.7: ; @.str.7
.asciz "throw(E, F, ...)"
l_.str.8: ; @.str.8
.asciz "Throw exception object `E` with format string `F` and arguments `...`."
l_.str.9: ; @.str.9
.asciz "exception_signals"
l_.str.10: ; @.str.10
.asciz "void exception_signals(void);"
l_.str.11: ; @.str.11
.asciz "Register the standard C signals to throw corresponding exceptions."
l_.str.12: ; @.str.12
.asciz "exception_object"
l_.str.13: ; @.str.13
.asciz "void exception_object(void);\n"
l_.str.14: ; @.str.14
.asciz "Retrieve the current exception object."
l_.str.15: ; @.str.15
.asciz "exception_message"
l_.str.16: ; @.str.16
.asciz "void exception_message(void);\n"
l_.str.17: ; @.str.17
.asciz "Retrieve the current exception message."
.no_dead_strip _Exception_Methods
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Methods.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Name
_Exception_Name: ## @Exception_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Exception"
.no_dead_strip _Exception_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Name
_Exception_Name: ; @Exception_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Exception"
.no_dead_strip _Exception_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Running
_Exception_Running: ## @Exception_Running
.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
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _Exception_Running
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Running
_Exception_Running: ; @Exception_Running
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _Exception_Running
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Running.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Show
_Exception_Show: ## @Exception_Show
.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, %rcx
movl (%rdi), %r9d
movl 4(%rdi), %r8d
leaq L_.str(%rip), %rax
movq %rsi, %rdi
movl %edx, %esi
movq %rax, %rdx
popq %rbp
jmp _print_to ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "<'Exception' At 0x%p %$ - %$>"
.no_dead_strip _Exception_Show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Show
_Exception_Show: ; @Exception_Show
.cfi_startproc
; %bb.0:
mov x8, x2
mov x3, x0
ldp w5, w4, [x0]
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov x0, x1
mov x1, x8
b _print_to
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "<'Exception' At 0x%p %$ - %$>"
.no_dead_strip _Exception_Show
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Exception_Signal
_Exception_Signal: ## @Exception_Signal
.cfi_startproc
## %bb.0:
## kill: def $edi killed $edi def $rdi
addl $-128, %edi
cmpl $5, %edi
ja LBB0_8
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq LJTI0_0(%rip), %rax
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
LBB0_2:
movq _ProgramAbortedError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _throw
LBB0_3:
movq _DivisionByZeroError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
callq _throw
LBB0_4:
movq _IllegalInstructionError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rsi
callq _throw
LBB0_5:
movq _ProgramInterruptedError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.3(%rip), %rsi
callq _throw
LBB0_6:
movq _SegmentationError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.4(%rip), %rsi
callq _throw
LBB0_7:
movq _ProgramTerminationError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.5(%rip), %rsi
popq %rbp
jmp _throw ## TAILCALL
LBB0_8:
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
.long L0_0_set_7
.long L0_0_set_6
.long L0_0_set_5
.long L0_0_set_4
.long L0_0_set_3
.long L0_0_set_2
.end_data_region
## -- End function
.comm _ProgramAbortedError,4,2 ## @ProgramAbortedError
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Program Aborted"
.comm _DivisionByZeroError,4,2 ## @DivisionByZeroError
L_.str.1: ## @.str.1
.asciz "Division by Zero"
.comm _IllegalInstructionError,4,2 ## @IllegalInstructionError
L_.str.2: ## @.str.2
.asciz "Illegal Instruction"
.comm _ProgramInterruptedError,4,2 ## @ProgramInterruptedError
L_.str.3: ## @.str.3
.asciz "Program Interrupted"
.comm _SegmentationError,4,2 ## @SegmentationError
L_.str.4: ## @.str.4
.asciz "Segmentation fault"
.comm _ProgramTerminationError,4,2 ## @ProgramTerminationError
L_.str.5: ## @.str.5
.asciz "Program Terminated"
.no_dead_strip _Exception_Signal
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Exception_Signal
_Exception_Signal: ; @Exception_Signal
.cfi_startproc
; %bb.0:
sub w8, w0, #128
cmp w8, #5
b.hi LBB0_8
; %bb.1:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
Lloh2:
adrp x8, _ProgramAbortedError@GOTPAGE
Lloh3:
ldr x8, [x8, _ProgramAbortedError@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
bl _throw
LBB0_3:
Lloh7:
adrp x8, _DivisionByZeroError@GOTPAGE
Lloh8:
ldr x8, [x8, _DivisionByZeroError@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
bl _throw
LBB0_4:
Lloh12:
adrp x8, _IllegalInstructionError@GOTPAGE
Lloh13:
ldr x8, [x8, _IllegalInstructionError@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
Lloh15:
adrp x1, l_.str.2@PAGE
Lloh16:
add x1, x1, l_.str.2@PAGEOFF
bl _throw
LBB0_5:
Lloh17:
adrp x8, _ProgramInterruptedError@GOTPAGE
Lloh18:
ldr x8, [x8, _ProgramInterruptedError@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
Lloh20:
adrp x1, l_.str.3@PAGE
Lloh21:
add x1, x1, l_.str.3@PAGEOFF
bl _throw
LBB0_6:
Lloh22:
adrp x8, _SegmentationError@GOTPAGE
Lloh23:
ldr x8, [x8, _SegmentationError@GOTPAGEOFF]
Lloh24:
ldr w0, [x8]
Lloh25:
adrp x1, l_.str.4@PAGE
Lloh26:
add x1, x1, l_.str.4@PAGEOFF
bl _throw
LBB0_7:
Lloh27:
adrp x8, _ProgramTerminationError@GOTPAGE
Lloh28:
ldr x8, [x8, _ProgramTerminationError@GOTPAGEOFF]
Lloh29:
ldr w0, [x8]
Lloh30:
adrp x1, l_.str.5@PAGE
Lloh31:
add x1, x1, l_.str.5@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _throw
LBB0_8:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
; -- End function
.comm _ProgramAbortedError,4,2 ; @ProgramAbortedError
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Program Aborted"
.comm _DivisionByZeroError,4,2 ; @DivisionByZeroError
l_.str.1: ; @.str.1
.asciz "Division by Zero"
.comm _IllegalInstructionError,4,2 ; @IllegalInstructionError
l_.str.2: ; @.str.2
.asciz "Illegal Instruction"
.comm _ProgramInterruptedError,4,2 ; @ProgramInterruptedError
l_.str.3: ; @.str.3
.asciz "Program Interrupted"
.comm _SegmentationError,4,2 ; @SegmentationError
l_.str.4: ; @.str.4
.asciz "Segmentation fault"
.comm _ProgramTerminationError,4,2 ; @ProgramTerminationError
l_.str.5: ; @.str.5
.asciz "Program Terminated"
.no_dead_strip _Exception_Signal
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_Exception_Signal.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exception_signals ## -- Begin function exception_signals
.p2align 4, 0x90
_exception_signals: ## @exception_signals
.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 _SIGABRT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _Exception_Signal@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
callq _signal
movq _SIGFPE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
callq _signal
movq _SIGILL@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
callq _signal
movq _SIGINT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
callq _signal
movq _SIGSEGV@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
callq _signal
movq _SIGTERM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _signal ## TAILCALL
.cfi_endproc
## -- End function
.comm _SIGABRT,4,2 ## @SIGABRT
.comm _Exception_Signal,4,2 ## @Exception_Signal
.comm _SIGFPE,4,2 ## @SIGFPE
.comm _SIGILL,4,2 ## @SIGILL
.comm _SIGINT,4,2 ## @SIGINT
.comm _SIGSEGV,4,2 ## @SIGSEGV
.comm _SIGTERM,4,2 ## @SIGTERM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exception_signals ; -- Begin function exception_signals
.p2align 2
_exception_signals: ; @exception_signals
.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, _SIGABRT@GOTPAGE
Lloh1:
ldr x8, [x8, _SIGABRT@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x19, _Exception_Signal@GOTPAGE
Lloh4:
ldr x19, [x19, _Exception_Signal@GOTPAGEOFF]
ldr w1, [x19]
bl _signal
Lloh5:
adrp x8, _SIGFPE@GOTPAGE
Lloh6:
ldr x8, [x8, _SIGFPE@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
ldr w1, [x19]
bl _signal
Lloh8:
adrp x8, _SIGILL@GOTPAGE
Lloh9:
ldr x8, [x8, _SIGILL@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
ldr w1, [x19]
bl _signal
Lloh11:
adrp x8, _SIGINT@GOTPAGE
Lloh12:
ldr x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
ldr w1, [x19]
bl _signal
Lloh14:
adrp x8, _SIGSEGV@GOTPAGE
Lloh15:
ldr x8, [x8, _SIGSEGV@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
ldr w1, [x19]
bl _signal
Lloh17:
adrp x8, _SIGTERM@GOTPAGE
Lloh18:
ldr x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
ldr w1, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _signal
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SIGABRT,4,2 ; @SIGABRT
.comm _Exception_Signal,4,2 ; @Exception_Signal
.comm _SIGFPE,4,2 ; @SIGFPE
.comm _SIGILL,4,2 ; @SIGILL
.comm _SIGINT,4,2 ; @SIGINT
.comm _SIGSEGV,4,2 ; @SIGSEGV
.comm _SIGTERM,4,2 ; @SIGTERM
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_exception_signals.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exception_throw ## -- Begin function exception_throw
.p2align 4, 0x90
_exception_throw: ## @exception_throw
.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
movq %rdi, %r12
movq _Exception@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _current
movq %rax, %rbx
movq %r12, 8(%rax)
movl (%rax), %edi
xorl %esi, %esi
movq %r15, %rdx
movq %r14, %rcx
callq _print_to_with
movq %rbx, %rdi
callq _Exception_Len
movq %rbx, %rdi
testl %eax, %eax
jle LBB0_2
## %bb.1:
callq _Exception_Buffer
movl (%rax), %edi
movl $1, %esi
callq _longjmp
jmp LBB0_3
LBB0_2:
callq _Exception_Error
LBB0_3:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _Exception,4,2 ## @Exception
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exception_throw ; -- Begin function exception_throw
.p2align 2
_exception_throw: ; @exception_throw
.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, x2
mov x21, x1
mov x22, x0
Lloh0:
adrp x8, _Exception@GOTPAGE
Lloh1:
ldr x8, [x8, _Exception@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _current
mov x19, x0
str x22, [x0, #8]
ldr w0, [x0]
mov w1, #0
mov x2, x21
mov x3, x20
bl _print_to_with
mov x0, x19
bl _Exception_Len
cmp w0, #1
b.lt LBB0_2
; %bb.1:
mov x0, x19
bl _Exception_Buffer
ldr w0, [x0]
mov w1, #1
bl _longjmp
b LBB0_3
LBB0_2:
mov x0, x19
bl _Exception_Error
LBB0_3:
mov x0, #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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Exception,4,2 ; @Exception
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_exception_throw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exception_try_end ## -- Begin function exception_try_end
.p2align 4, 0x90
_exception_try_end: ## @exception_try_end
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Exception@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _current
movq (%rax), %rcx
testq %rcx, %rcx
je LBB0_2
## %bb.1:
decq %rcx
movq %rcx, (%rax)
popq %rbp
retq
LBB0_2:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fprintf
xorl %eax, %eax
callq _abort
.cfi_endproc
## -- End function
.comm _Exception,4,2 ## @Exception
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Cello Fatal Error: Exception Buffer Underflow!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exception_try_end ; -- Begin function exception_try_end
.p2align 2
_exception_try_end: ; @exception_try_end
.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 x8, _Exception@GOTPAGE
Lloh1:
ldr x8, [x8, _Exception@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _current
ldr x8, [x0]
cbz x8, LBB0_2
; %bb.1:
sub x8, x8, #1
str x8, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh3:
adrp x8, _stderr@GOTPAGE
Lloh4:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
bl _abort
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _Exception,4,2 ; @Exception
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Cello Fatal Error: Exception Buffer Underflow!\n"
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_exception_try_end.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exception_try_fail ## -- Begin function exception_try_fail
.p2align 4, 0x90
_exception_try_fail: ## @exception_try_fail
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Exception@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _current
movl $1, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _Exception,4,2 ## @Exception
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exception_try_fail ; -- Begin function exception_try_fail
.p2align 2
_exception_try_fail: ; @exception_try_fail
.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 x8, _Exception@GOTPAGE
Lloh1:
ldr x8, [x8, _Exception@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _current
mov w8, #1
str w8, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Exception,4,2 ; @Exception
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Exception.c_exception_try_fail.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function File_Brief
_File_Brief: ## @File_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Operating System File"
.no_dead_strip _File_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function File_Brief
_File_Brief: ; @File_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Operating System File"
.no_dead_strip _File_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_File_Brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function File_Definition
_File_Definition: ## @File_Definition
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct File {\n FILE* file;\n};\n"
.no_dead_strip _File_Definition
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function File_Definition
_File_Definition: ; @File_Definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct File {\n FILE* file;\n};\n"
.no_dead_strip _File_Definition
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_File_Definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function File_Description
_File_Description: ## @File_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `File` type is a wrapper of the native C `FILE` type representing a file in the operating system."
.no_dead_strip _File_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function File_Description
_File_Description: ; @File_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `File` type is a wrapper of the native C `FILE` type representing a file in the operating system."
.no_dead_strip _File_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_File_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function File_Examples
_File_Examples: ## @File_Examples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _File_Examples.examples(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @File_Examples.examples
_File_Examples.examples:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage"
L_.str.1: ## @.str.1
.asciz "var x = new(File, $S(\"test.bin\"), $S(\"wb\"));\nchar* data = \"hello\";\nswrite(x, data, strlen(data));\nsclose(x);\n"
L_.str.2: ## @.str.2
.asciz "Formatted Printing"
L_.str.3: ## @.str.3
.asciz "var x = $(File, NULL);\nsopen(x, $S(\"test.txt\"), $S(\"w\"));\nprint_to(x, 0, \"%$ is %$ \", $S(\"Dan\"), $I(23));\nprint_to(x, 0, \"%$ is %$ \", $S(\"Chess\"), $I(24));\nsclose(x);\n"
L_.str.4: ## @.str.4
.asciz "Automatic Closing"
L_.str.5: ## @.str.5
.asciz "with(f in new(File, $S(\"test.txt\"), $S(\"r\"))) {\n var k = new(String); resize(k, 100);\n var v = new(Int, $I(0));\n foreach (i in range($I(2))) {\n scan_from(f, 0, \"%$ is %$ \", k, v);\n show(k); show(v);\n }\n}\n"
.no_dead_strip _File_Examples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function File_Examples
_File_Examples: ; @File_Examples
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _File_Examples.examples@PAGE
Lloh1:
add x0, x0, _File_Examples.examples@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @File_Examples.examples
_File_Examples.examples:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage"
l_.str.1: ; @.str.1
.asciz "var x = new(File, $S(\"test.bin\"), $S(\"wb\"));\nchar* data = \"hello\";\nswrite(x, data, strlen(data));\nsclose(x);\n"
l_.str.2: ; @.str.2
.asciz "Formatted Printing"
l_.str.3: ; @.str.3
.asciz "var x = $(File, NULL);\nsopen(x, $S(\"test.txt\"), $S(\"w\"));\nprint_to(x, 0, \"%$ is %$ \", $S(\"Dan\"), $I(23));\nprint_to(x, 0, \"%$ is %$ \", $S(\"Chess\"), $I(24));\nsclose(x);\n"
l_.str.4: ; @.str.4
.asciz "Automatic Closing"
l_.str.5: ; @.str.5
.asciz "with(f in new(File, $S(\"test.txt\"), $S(\"r\"))) {\n var k = new(String); resize(k, 100);\n var v = new(Int, $I(0));\n foreach (i in range($I(2))) {\n scan_from(f, 0, \"%$ is %$ \", k, v);\n show(k); show(v);\n }\n}\n"
.no_dead_strip _File_Examples
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_File_Examples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function File_Name
_File_Name: ## @File_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "File"
.no_dead_strip _File_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function File_Name
_File_Name: ; @File_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "File"
.no_dead_strip _File_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_File_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Process_Brief
_Process_Brief: ## @Process_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Operating System Process"
.no_dead_strip _Process_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Process_Brief
_Process_Brief: ; @Process_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Operating System Process"
.no_dead_strip _Process_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_Process_Brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Process_Definition
_Process_Definition: ## @Process_Definition
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct Process {\n FILE* proc;\n};\n"
.no_dead_strip _Process_Definition
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Process_Definition
_Process_Definition: ; @Process_Definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct Process {\n FILE* proc;\n};\n"
.no_dead_strip _Process_Definition
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_Process_Definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Process_Description
_Process_Description: ## @Process_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `Process` type is a wrapper for an operating system process as constructed by the unix-like call `popen`. In this sense it is much like a standard file in the operating system but that instead of writing data to a location you are writing it as input to a process."
.no_dead_strip _Process_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Process_Description
_Process_Description: ; @Process_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `Process` type is a wrapper for an operating system process as constructed by the unix-like call `popen`. In this sense it is much like a standard file in the operating system but that instead of writing data to a location you are writing it as input to a process."
.no_dead_strip _Process_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_Process_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Process_Examples
_Process_Examples: ## @Process_Examples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Process_Examples.examples(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Process_Examples.examples
_Process_Examples.examples:
.quad L_.str
.quad L_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage"
L_.str.1: ## @.str.1
.asciz "var x = new(Process, $S(\"ls\"), $S(\"r\"));\nchar c;\nwhile (not seof(x)) {\n sread(x, &c, 1);\n print(\"%c\", $I(c));\n}\nsclose(x);\n"
.no_dead_strip _Process_Examples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Process_Examples
_Process_Examples: ; @Process_Examples
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Process_Examples.examples@PAGE
Lloh1:
add x0, x0, _Process_Examples.examples@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Process_Examples.examples
_Process_Examples.examples:
.quad l_.str
.quad l_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage"
l_.str.1: ; @.str.1
.asciz "var x = new(Process, $S(\"ls\"), $S(\"r\"));\nchar c;\nwhile (not seof(x)) {\n sread(x, &c, 1);\n print(\"%c\", $I(c));\n}\nsclose(x);\n"
.no_dead_strip _Process_Examples
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_Process_Examples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Process_Name
_Process_Name: ## @Process_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Process"
.no_dead_strip _Process_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Process_Name
_Process_Name: ; @Process_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Process"
.no_dead_strip _Process_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_Process_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Stream_Brief
_Stream_Brief: ## @Stream_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "File-like"
.no_dead_strip _Stream_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Stream_Brief
_Stream_Brief: ; @Stream_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "File-like"
.no_dead_strip _Stream_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_Stream_Brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Stream_Definition
_Stream_Definition: ## @Stream_Definition
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct Stream {\n var (*sopen)(var,var,var);\n void (*sclose)(var);\n void (*sseek)(var,int64_t,int);\n int64_t (*stell)(var);\n void (*sflush)(var);\n bool (*seof)(var);\n size_t (*sread)(var,void*,size_t);\n size_t (*swrite)(var,void*,size_t);\n};\n"
.no_dead_strip _Stream_Definition
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Stream_Definition
_Stream_Definition: ; @Stream_Definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct Stream {\n var (*sopen)(var,var,var);\n void (*sclose)(var);\n void (*sseek)(var,int64_t,int);\n int64_t (*stell)(var);\n void (*sflush)(var);\n bool (*seof)(var);\n size_t (*sread)(var,void*,size_t);\n size_t (*swrite)(var,void*,size_t);\n};\n"
.no_dead_strip _Stream_Definition
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_Stream_Definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Stream_Description
_Stream_Description: ## @Stream_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `Stream` class represents an abstract set of operations that can be performed on File-like objects."
.no_dead_strip _Stream_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Stream_Description
_Stream_Description: ; @Stream_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `Stream` class represents an abstract set of operations that can be performed on File-like objects."
.no_dead_strip _Stream_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_Stream_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Stream_Examples
_Stream_Examples: ## @Stream_Examples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Stream_Examples.examples(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Stream_Examples.examples
_Stream_Examples.examples:
.quad L_.str
.quad L_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage"
L_.str.1: ## @.str.1
.asciz "var f = sopen($(File, NULL), $S(\"test.bin\"), $S(\"r\"));\n\nchar c;\nwhile (!seof(f)) {\n sread(f, &c, 1);\n putc(c, stdout);\n}\n\nsclose(f);\n"
.no_dead_strip _Stream_Examples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Stream_Examples
_Stream_Examples: ; @Stream_Examples
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Stream_Examples.examples@PAGE
Lloh1:
add x0, x0, _Stream_Examples.examples@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Stream_Examples.examples
_Stream_Examples.examples:
.quad l_.str
.quad l_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage"
l_.str.1: ; @.str.1
.asciz "var f = sopen($(File, NULL), $S(\"test.bin\"), $S(\"r\"));\n\nchar c;\nwhile (!seof(f)) {\n sread(f, &c, 1);\n putc(c, stdout);\n}\n\nsclose(f);\n"
.no_dead_strip _Stream_Examples
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_Stream_Examples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Stream_Methods
_Stream_Methods: ## @Stream_Methods
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Stream_Methods.methods(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Stream_Methods.methods
_Stream_Methods.methods:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.22
.quad L_.str.23
.space 24
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sopen"
L_.str.1: ## @.str.1
.asciz "var sopen(var self, var resource, var options);"
L_.str.2: ## @.str.2
.asciz "Open the stream `self` with a given `resource` and `options`."
L_.str.3: ## @.str.3
.asciz "sclose"
L_.str.4: ## @.str.4
.asciz "void sclose(var self);"
L_.str.5: ## @.str.5
.asciz "Close the stream `self`."
L_.str.6: ## @.str.6
.asciz "sseek"
L_.str.7: ## @.str.7
.asciz "void sseek(var self, int64_t pos, int origin);"
L_.str.8: ## @.str.8
.asciz "Seek to the position `pos` from some `origin` in the stream `self`."
L_.str.9: ## @.str.9
.asciz "stell"
L_.str.10: ## @.str.10
.asciz "int64_t stell(var self);"
L_.str.11: ## @.str.11
.asciz "Return the current position of the stream `stell`."
L_.str.12: ## @.str.12
.asciz "sflush"
L_.str.13: ## @.str.13
.asciz "void sflush(var self);"
L_.str.14: ## @.str.14
.asciz "Flush the buffered contents of stream `self`."
L_.str.15: ## @.str.15
.asciz "seof"
L_.str.16: ## @.str.16
.asciz "bool seof(var self);"
L_.str.17: ## @.str.17
.asciz "Returns true if there is no more information in the stream."
L_.str.18: ## @.str.18
.asciz "sread"
L_.str.19: ## @.str.19
.asciz "size_t sread(var self, void* output, size_t size);"
L_.str.20: ## @.str.20
.asciz "Read `size` bytes from the stream `self` and write them to `output`."
L_.str.21: ## @.str.21
.asciz "swrite"
L_.str.22: ## @.str.22
.asciz "size_t swrite(var self, void* input, size_t size);"
L_.str.23: ## @.str.23
.asciz "Write `size` bytes to the stream `self` and read them from `input`."
.no_dead_strip _Stream_Methods
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Stream_Methods
_Stream_Methods: ; @Stream_Methods
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Stream_Methods.methods@PAGE
Lloh1:
add x0, x0, _Stream_Methods.methods@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Stream_Methods.methods
_Stream_Methods.methods:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.22
.quad l_.str.23
.space 24
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sopen"
l_.str.1: ; @.str.1
.asciz "var sopen(var self, var resource, var options);"
l_.str.2: ; @.str.2
.asciz "Open the stream `self` with a given `resource` and `options`."
l_.str.3: ; @.str.3
.asciz "sclose"
l_.str.4: ; @.str.4
.asciz "void sclose(var self);"
l_.str.5: ; @.str.5
.asciz "Close the stream `self`."
l_.str.6: ; @.str.6
.asciz "sseek"
l_.str.7: ; @.str.7
.asciz "void sseek(var self, int64_t pos, int origin);"
l_.str.8: ; @.str.8
.asciz "Seek to the position `pos` from some `origin` in the stream `self`."
l_.str.9: ; @.str.9
.asciz "stell"
l_.str.10: ; @.str.10
.asciz "int64_t stell(var self);"
l_.str.11: ; @.str.11
.asciz "Return the current position of the stream `stell`."
l_.str.12: ; @.str.12
.asciz "sflush"
l_.str.13: ; @.str.13
.asciz "void sflush(var self);"
l_.str.14: ; @.str.14
.asciz "Flush the buffered contents of stream `self`."
l_.str.15: ; @.str.15
.asciz "seof"
l_.str.16: ; @.str.16
.asciz "bool seof(var self);"
l_.str.17: ; @.str.17
.asciz "Returns true if there is no more information in the stream."
l_.str.18: ; @.str.18
.asciz "sread"
l_.str.19: ; @.str.19
.asciz "size_t sread(var self, void* output, size_t size);"
l_.str.20: ; @.str.20
.asciz "Read `size` bytes from the stream `self` and write them to `output`."
l_.str.21: ; @.str.21
.asciz "swrite"
l_.str.22: ; @.str.22
.asciz "size_t swrite(var self, void* input, size_t size);"
l_.str.23: ; @.str.23
.asciz "Write `size` bytes to the stream `self` and read them from `input`."
.no_dead_strip _Stream_Methods
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_Stream_Methods.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Stream_Name
_Stream_Name: ## @Stream_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Stream"
.no_dead_strip _Stream_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Stream_Name
_Stream_Name: ; @Stream_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Stream"
.no_dead_strip _Stream_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_Stream_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sclose ## -- Begin function sclose
.p2align 4, 0x90
_sclose: ## @sclose
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Stream@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _sclose(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Stream,4,2 ## @Stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sclose ; -- Begin function sclose
.p2align 2
_sclose: ; @sclose
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _Stream@GOTPAGE
Lloh1:
ldr x8, [x8, _Stream@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _sclose@PAGE
Lloh4:
add x2, x2, _sclose@PAGEOFF
b _method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Stream,4,2 ; @Stream
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_sclose.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _seof ## -- Begin function seof
.p2align 4, 0x90
_seof: ## @seof
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Stream@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _seof(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Stream,4,2 ## @Stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _seof ; -- Begin function seof
.p2align 2
_seof: ; @seof
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _Stream@GOTPAGE
Lloh1:
ldr x8, [x8, _Stream@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _seof@PAGE
Lloh4:
add x2, x2, _seof@PAGEOFF
b _method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Stream,4,2 ; @Stream
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_seof.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sflush ## -- Begin function sflush
.p2align 4, 0x90
_sflush: ## @sflush
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Stream@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _sflush(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Stream,4,2 ## @Stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sflush ; -- Begin function sflush
.p2align 2
_sflush: ; @sflush
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _Stream@GOTPAGE
Lloh1:
ldr x8, [x8, _Stream@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _sflush@PAGE
Lloh4:
add x2, x2, _sflush@PAGEOFF
b _method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Stream,4,2 ; @Stream
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_sflush.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sopen ## -- Begin function sopen
.p2align 4, 0x90
_sopen: ## @sopen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, %r8d
movl %esi, %ecx
movq _Stream@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _sopen(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Stream,4,2 ## @Stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sopen ; -- Begin function sopen
.p2align 2
_sopen: ; @sopen
.cfi_startproc
; %bb.0:
mov x4, x2
mov x3, x1
Lloh0:
adrp x8, _Stream@GOTPAGE
Lloh1:
ldr x8, [x8, _Stream@GOTPAGEOFF]
Lloh2:
adrp x2, _sopen@PAGE
Lloh3:
add x2, x2, _sopen@PAGEOFF
Lloh4:
ldr w1, [x8]
b _method
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _Stream,4,2 ; @Stream
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_sopen.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sread ## -- Begin function sread
.p2align 4, 0x90
_sread: ## @sread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdx, %r8
movq %rsi, %rcx
movq _Stream@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _sread(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Stream,4,2 ## @Stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sread ; -- Begin function sread
.p2align 2
_sread: ; @sread
.cfi_startproc
; %bb.0:
mov x4, x2
mov x3, x1
Lloh0:
adrp x8, _Stream@GOTPAGE
Lloh1:
ldr x8, [x8, _Stream@GOTPAGEOFF]
Lloh2:
adrp x2, _sread@PAGE
Lloh3:
add x2, x2, _sread@PAGEOFF
Lloh4:
ldr w1, [x8]
b _method
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _Stream,4,2 ; @Stream
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_sread.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sseek ## -- Begin function sseek
.p2align 4, 0x90
_sseek: ## @sseek
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, %r8d
movl %esi, %ecx
movq _Stream@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _sseek(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Stream,4,2 ## @Stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sseek ; -- Begin function sseek
.p2align 2
_sseek: ; @sseek
.cfi_startproc
; %bb.0:
mov x4, x2
mov x3, x1
Lloh0:
adrp x8, _Stream@GOTPAGE
Lloh1:
ldr x8, [x8, _Stream@GOTPAGEOFF]
Lloh2:
adrp x2, _sseek@PAGE
Lloh3:
add x2, x2, _sseek@PAGEOFF
Lloh4:
ldr w1, [x8]
b _method
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _Stream,4,2 ; @Stream
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_sseek.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _stell ## -- Begin function stell
.p2align 4, 0x90
_stell: ## @stell
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Stream@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _stell(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Stream,4,2 ## @Stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _stell ; -- Begin function stell
.p2align 2
_stell: ; @stell
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _Stream@GOTPAGE
Lloh1:
ldr x8, [x8, _Stream@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _stell@PAGE
Lloh4:
add x2, x2, _stell@PAGEOFF
b _method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Stream,4,2 ; @Stream
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_stell.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swrite ## -- Begin function swrite
.p2align 4, 0x90
_swrite: ## @swrite
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdx, %r8
movq %rsi, %rcx
movq _Stream@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _swrite(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Stream,4,2 ## @Stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swrite ; -- Begin function swrite
.p2align 2
_swrite: ; @swrite
.cfi_startproc
; %bb.0:
mov x4, x2
mov x3, x1
Lloh0:
adrp x8, _Stream@GOTPAGE
Lloh1:
ldr x8, [x8, _Stream@GOTPAGEOFF]
Lloh2:
adrp x2, _swrite@PAGE
Lloh3:
add x2, x2, _swrite@PAGEOFF
Lloh4:
ldr w1, [x8]
b _method
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _Stream,4,2 ; @Stream
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_swrite.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Call_Brief
_Call_Brief: ## @Call_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Callable"
.no_dead_strip _Call_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Call_Brief
_Call_Brief: ; @Call_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Callable"
.no_dead_strip _Call_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Call_Brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Call_Definition
_Call_Definition: ## @Call_Definition
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct Call {\n var (*call_with)(var, var);\n};\n"
.no_dead_strip _Call_Definition
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Call_Definition
_Call_Definition: ; @Call_Definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct Call {\n var (*call_with)(var, var);\n};\n"
.no_dead_strip _Call_Definition
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Call_Definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Call_Description
_Call_Description: ## @Call_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `Call` class is used by types which can be called as functions."
.no_dead_strip _Call_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Call_Description
_Call_Description: ; @Call_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `Call` class is used by types which can be called as functions."
.no_dead_strip _Call_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Call_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Call_Examples
_Call_Examples: ## @Call_Examples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Call_Examples.examples(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Call_Examples.examples
_Call_Examples.examples:
.quad L_.str
.quad L_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage"
L_.str.1: ## @.str.1
.asciz "var increment(var args) {\n struct Int* i = get(args, $I(0));\n i->val++;\n return NULL;\n}\n\nvar x = $I(0);\nshow(x); /* 0 */\ncall($(Function, increment), x);\nshow(x); /* 1 */\n"
.no_dead_strip _Call_Examples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Call_Examples
_Call_Examples: ; @Call_Examples
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Call_Examples.examples@PAGE
Lloh1:
add x0, x0, _Call_Examples.examples@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Call_Examples.examples
_Call_Examples.examples:
.quad l_.str
.quad l_.str.1
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage"
l_.str.1: ; @.str.1
.asciz "var increment(var args) {\n struct Int* i = get(args, $I(0));\n i->val++;\n return NULL;\n}\n\nvar x = $I(0);\nshow(x); /* 0 */\ncall($(Function, increment), x);\nshow(x); /* 1 */\n"
.no_dead_strip _Call_Examples
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Call_Examples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Call_Methods
_Call_Methods: ## @Call_Methods
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Call_Methods.methods(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Call_Methods.methods
_Call_Methods.methods:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.space 24
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "call"
L_.str.1: ## @.str.1
.asciz "#define call(self, ...)\nvar call_with(var self, var args);"
L_.str.2: ## @.str.2
.asciz "Call the object `self` with arguments `args`."
.no_dead_strip _Call_Methods
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Call_Methods
_Call_Methods: ; @Call_Methods
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Call_Methods.methods@PAGE
Lloh1:
add x0, x0, _Call_Methods.methods@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Call_Methods.methods
_Call_Methods.methods:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.space 24
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "call"
l_.str.1: ; @.str.1
.asciz "#define call(self, ...)\nvar call_with(var self, var args);"
l_.str.2: ; @.str.2
.asciz "Call the object `self` with arguments `args`."
.no_dead_strip _Call_Methods
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Call_Methods.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Call_Name
_Call_Name: ## @Call_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Call"
.no_dead_strip _Call_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Call_Name
_Call_Name: ; @Call_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Call"
.no_dead_strip _Call_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Call_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Function_Brief
_Function_Brief: ## @Function_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Function Object"
.no_dead_strip _Function_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Function_Brief
_Function_Brief: ; @Function_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Function Object"
.no_dead_strip _Function_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Function_Brief.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Function_Call
_Function_Call: ## @Function_Call
.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, %rax
movq %rsi, %rdi
popq %rbp
jmpq *(%rax) ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _Function_Call
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Function_Call
_Function_Call: ; @Function_Call
.cfi_startproc
; %bb.0:
ldr x2, [x0]
mov x0, x1
br x2
.cfi_endproc
; -- End function
.no_dead_strip _Function_Call
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Function_Call.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Function_Definition
_Function_Definition: ## @Function_Definition
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct Function {\n var (*func)(var);\n};\n"
.no_dead_strip _Function_Definition
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Function_Definition
_Function_Definition: ; @Function_Definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct Function {\n var (*func)(var);\n};\n"
.no_dead_strip _Function_Definition
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Function_Definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Function_Description
_Function_Description: ## @Function_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `Function` type allows C function pointers to be treated as Cello objects. They can be passed around, stored, and manipulated. Only C functions of the type `var(*)(var)` can be stored as a `Function` type and when called the arguments will be wrapped into an iterable and passed as the first argument, typically in the form of a `tuple`."
.no_dead_strip _Function_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Function_Description
_Function_Description: ; @Function_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `Function` type allows C function pointers to be treated as Cello objects. They can be passed around, stored, and manipulated. Only C functions of the type `var(*)(var)` can be stored as a `Function` type and when called the arguments will be wrapped into an iterable and passed as the first argument, typically in the form of a `tuple`."
.no_dead_strip _Function_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Function_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Function_Examples
_Function_Examples: ## @Function_Examples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _Function_Examples.examples(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @Function_Examples.examples
_Function_Examples.examples:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage"
L_.str.1: ## @.str.1
.asciz "var increment(var args) {\n struct Int* i = get(args, $I(0));\n i->val++;\n return NULL;\n}\n\nvar x = $I(0);\nshow(x); /* 0 */\ncall($(Function, increment), x);\nshow(x); /* 1 */\n"
L_.str.2: ## @.str.2
.asciz "Usage 2"
L_.str.3: ## @.str.3
.asciz "var hello_person(var args) {\n print(\"Hello %$!\", get(args, $I(0)));\n return NULL;\n}\n\ncall($(Function, hello_person), $S(\"Dan\"));\n"
L_.str.4: ## @.str.4
.asciz "Usage 3"
L_.str.5: ## @.str.5
.asciz "var add_print(var args) {\n int64_t fst = c_int(get(args, $I(0)));\n int64_t snd = c_int(get(args, $I(1)));\n println(\"%i + %i = %i\", $I(fst), $I(snd), $I(fst+snd));\n return NULL;\n}\n\ncall($(Function, add_print), $I(10), $I(21));\n"
.no_dead_strip _Function_Examples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Function_Examples
_Function_Examples: ; @Function_Examples
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _Function_Examples.examples@PAGE
Lloh1:
add x0, x0, _Function_Examples.examples@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @Function_Examples.examples
_Function_Examples.examples:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage"
l_.str.1: ; @.str.1
.asciz "var increment(var args) {\n struct Int* i = get(args, $I(0));\n i->val++;\n return NULL;\n}\n\nvar x = $I(0);\nshow(x); /* 0 */\ncall($(Function, increment), x);\nshow(x); /* 1 */\n"
l_.str.2: ; @.str.2
.asciz "Usage 2"
l_.str.3: ; @.str.3
.asciz "var hello_person(var args) {\n print(\"Hello %$!\", get(args, $I(0)));\n return NULL;\n}\n\ncall($(Function, hello_person), $S(\"Dan\"));\n"
l_.str.4: ; @.str.4
.asciz "Usage 3"
l_.str.5: ; @.str.5
.asciz "var add_print(var args) {\n int64_t fst = c_int(get(args, $I(0)));\n int64_t snd = c_int(get(args, $I(1)));\n println(\"%i + %i = %i\", $I(fst), $I(snd), $I(fst+snd));\n return NULL;\n}\n\ncall($(Function, add_print), $I(10), $I(21));\n"
.no_dead_strip _Function_Examples
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Function_Examples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Function_Name
_Function_Name: ## @Function_Name
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Function"
.no_dead_strip _Function_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Function_Name
_Function_Name: ; @Function_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Function"
.no_dead_strip _Function_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_Function_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _call_with ## -- Begin function call_with
.p2align 4, 0x90
_call_with: ## @call_with
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %ecx
movq _Call@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq _call_with(%rip), %rdx
popq %rbp
jmp _method ## TAILCALL
.cfi_endproc
## -- End function
.comm _Call,4,2 ## @Call
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _call_with ; -- Begin function call_with
.p2align 2
_call_with: ; @call_with
.cfi_startproc
; %bb.0:
mov x3, x1
Lloh0:
adrp x8, _Call@GOTPAGE
Lloh1:
ldr x8, [x8, _Call@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _call_with@PAGE
Lloh4:
add x2, x2, _call_with@PAGEOFF
b _method
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Call,4,2 ; @Call
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Function.c_call_with.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Cello_Exit ## -- Begin function Cello_Exit
.p2align 4, 0x90
_Cello_Exit: ## @Cello_Exit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _GC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _current
movl %eax, %edi
popq %rbp
jmp _del_raw ## TAILCALL
.cfi_endproc
## -- End function
.comm _GC,4,2 ## @GC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Cello_Exit ; -- Begin function Cello_Exit
.p2align 2
_Cello_Exit: ; @Cello_Exit
.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 x8, _GC@GOTPAGE
Lloh1:
ldr x8, [x8, _GC@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _current
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _del_raw
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _GC,4,2 ; @GC
.subsections_via_symbols
| AnghaBench/Cello/src/extr_GC.c_Cello_Exit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function GC_Brief
_GC_Brief: ## @GC_Brief
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Garbage Collector"
.no_dead_strip _GC_Brief
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function GC_Brief
_GC_Brief: ; @GC_Brief
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Garbage Collector"
.no_dead_strip _GC_Brief
.subsections_via_symbols
| AnghaBench/Cello/src/extr_GC.c_GC_Brief.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.