filename
stringlengths 14
104
| aarch64-unknown-linux-gnu_O0
stringlengths 186
103k
⌀ | aarch64-unknown-linux-gnu_O1
stringlengths 186
80.9k
⌀ | aarch64-unknown-linux-gnu_O2
stringlengths 186
81.1k
⌀ | aarch64-unknown-linux-gnu_O3
stringlengths 186
101k
⌀ | x86_64-unknown-linux-gnu_O0
stringlengths 186
82.3k
⌀ | x86_64-unknown-linux-gnu_O1
stringlengths 186
71.1k
⌀ | x86_64-unknown-linux-gnu_O2
stringlengths 186
71.2k
⌀ | x86_64-unknown-linux-gnu_O3
stringlengths 186
71.2k
⌀ |
---|---|---|---|---|---|---|---|---|
extr_writebsp.c_EmitLeaf.c | .text
.file "extr_writebsp.c_EmitLeaf.c"
.globl EmitLeaf // -- Begin function EmitLeaf
.p2align 2
.type EmitLeaf,@function
EmitLeaf: // @EmitLeaf
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x8, numleafs
ldr x8, [x8, :lo12:numleafs]
adrp x9, MAX_MAP_LEAFS
ldr x9, [x9, :lo12:MAX_MAP_LEAFS]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl Error
b .LBB0_2
.LBB0_2:
adrp x8, dleafs
ldr x8, [x8, :lo12:dleafs]
adrp x9, numleafs
ldr x10, [x9, :lo12:numleafs]
mov x11, #48 // =0x30
mul x10, x10, x11
add x8, x8, x10
str x8, [sp, #16]
ldr x8, [x9, :lo12:numleafs]
add x8, x8, #1
str x8, [x9, :lo12:numleafs]
ldur x8, [x29, #-8]
ldr w8, [x8, #36]
ldr x9, [sp, #16]
str w8, [x9, #44]
ldur x8, [x29, #-8]
ldr w8, [x8, #32]
ldr x9, [sp, #16]
str w8, [x9, #40]
ldur x8, [x29, #-8]
ldr w0, [x8, #28]
ldr x8, [sp, #16]
ldr w1, [x8, #36]
bl VectorCopy
ldur x8, [x29, #-8]
ldr w0, [x8, #24]
ldr x8, [sp, #16]
ldr w1, [x8, #32]
bl VectorCopy
adrp x8, numleafbrushes
ldr x8, [x8, :lo12:numleafbrushes]
ldr x9, [sp, #16]
str x8, [x9]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
str x8, [sp, #8]
b .LBB0_3
.LBB0_3: // =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_8
b .LBB0_4
.LBB0_4: // in Loop: Header=BB0_3 Depth=1
adrp x8, numleafbrushes
ldr x8, [x8, :lo12:numleafbrushes]
adrp x9, MAX_MAP_LEAFBRUSHES
ldr x9, [x9, :lo12:MAX_MAP_LEAFBRUSHES]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5: // in Loop: Header=BB0_3 Depth=1
adrp x0, .L.str.1
add x0, x0, :lo12:.L.str.1
bl Error
b .LBB0_6
.LBB0_6: // in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
ldr w8, [x8]
adrp x9, dleafbrushes
ldr x10, [x9, :lo12:dleafbrushes]
adrp x9, numleafbrushes
ldr x11, [x9, :lo12:numleafbrushes]
str w8, [x10, x11, lsl #2]
ldr x8, [x9, :lo12:numleafbrushes]
add x8, x8, #1
str x8, [x9, :lo12:numleafbrushes]
b .LBB0_7
.LBB0_7: // in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
b .LBB0_3
.LBB0_8:
adrp x8, numleafbrushes
ldr x8, [x8, :lo12:numleafbrushes]
ldr x9, [sp, #16]
ldr x9, [x9]
subs x8, x8, x9
ldr x9, [sp, #16]
str x8, [x9, #8]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_10
b .LBB0_9
.LBB0_9:
b .LBB0_17
.LBB0_10:
adrp x8, numleafsurfaces
ldr x8, [x8, :lo12:numleafsurfaces]
ldr x9, [sp, #16]
str x8, [x9, #16]
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp]
b .LBB0_11
.LBB0_11: // =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, .LBB0_16
b .LBB0_12
.LBB0_12: // in Loop: Header=BB0_11 Depth=1
adrp x8, numleafsurfaces
ldr x8, [x8, :lo12:numleafsurfaces]
adrp x9, MAX_MAP_LEAFFACES
ldr x9, [x9, :lo12:MAX_MAP_LEAFFACES]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, .LBB0_14
b .LBB0_13
.LBB0_13: // in Loop: Header=BB0_11 Depth=1
adrp x0, .L.str.2
add x0, x0, :lo12:.L.str.2
bl Error
b .LBB0_14
.LBB0_14: // in Loop: Header=BB0_11 Depth=1
ldr x8, [sp]
ldr w8, [x8]
adrp x9, dleafsurfaces
ldr x10, [x9, :lo12:dleafsurfaces]
adrp x9, numleafsurfaces
ldr x11, [x9, :lo12:numleafsurfaces]
str w8, [x10, x11, lsl #2]
ldr x8, [x9, :lo12:numleafsurfaces]
add x8, x8, #1
str x8, [x9, :lo12:numleafsurfaces]
b .LBB0_15
.LBB0_15: // in Loop: Header=BB0_11 Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
str x8, [sp]
b .LBB0_11
.LBB0_16:
adrp x8, numleafsurfaces
ldr x8, [x8, :lo12:numleafsurfaces]
ldr x9, [sp, #16]
ldr x9, [x9, #16]
subs x8, x8, x9
ldr x9, [sp, #16]
str x8, [x9, #24]
b .LBB0_17
.LBB0_17:
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size EmitLeaf, .Lfunc_end0-EmitLeaf
.cfi_endproc
// -- End function
.type numleafs,@object // @numleafs
.bss
.globl numleafs
.p2align 3, 0x0
numleafs:
.xword 0 // 0x0
.size numleafs, 8
.type MAX_MAP_LEAFS,@object // @MAX_MAP_LEAFS
.globl MAX_MAP_LEAFS
.p2align 3, 0x0
MAX_MAP_LEAFS:
.xword 0 // 0x0
.size MAX_MAP_LEAFS, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "MAX_MAP_LEAFS"
.size .L.str, 14
.type dleafs,@object // @dleafs
.bss
.globl dleafs
.p2align 3, 0x0
dleafs:
.xword 0
.size dleafs, 8
.type numleafbrushes,@object // @numleafbrushes
.globl numleafbrushes
.p2align 3, 0x0
numleafbrushes:
.xword 0 // 0x0
.size numleafbrushes, 8
.type MAX_MAP_LEAFBRUSHES,@object // @MAX_MAP_LEAFBRUSHES
.globl MAX_MAP_LEAFBRUSHES
.p2align 3, 0x0
MAX_MAP_LEAFBRUSHES:
.xword 0 // 0x0
.size MAX_MAP_LEAFBRUSHES, 8
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "MAX_MAP_LEAFBRUSHES"
.size .L.str.1, 20
.type dleafbrushes,@object // @dleafbrushes
.bss
.globl dleafbrushes
.p2align 3, 0x0
dleafbrushes:
.xword 0
.size dleafbrushes, 8
.type numleafsurfaces,@object // @numleafsurfaces
.globl numleafsurfaces
.p2align 3, 0x0
numleafsurfaces:
.xword 0 // 0x0
.size numleafsurfaces, 8
.type MAX_MAP_LEAFFACES,@object // @MAX_MAP_LEAFFACES
.globl MAX_MAP_LEAFFACES
.p2align 3, 0x0
MAX_MAP_LEAFFACES:
.xword 0 // 0x0
.size MAX_MAP_LEAFFACES, 8
.type .L.str.2,@object // @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "MAX_MAP_LEAFFACES"
.size .L.str.2, 18
.type dleafsurfaces,@object // @dleafsurfaces
.bss
.globl dleafsurfaces
.p2align 3, 0x0
dleafsurfaces:
.xword 0
.size dleafsurfaces, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym Error
.addrsig_sym VectorCopy
.addrsig_sym numleafs
.addrsig_sym MAX_MAP_LEAFS
.addrsig_sym dleafs
.addrsig_sym numleafbrushes
.addrsig_sym MAX_MAP_LEAFBRUSHES
.addrsig_sym dleafbrushes
.addrsig_sym numleafsurfaces
.addrsig_sym MAX_MAP_LEAFFACES
.addrsig_sym dleafsurfaces
| .text
.file "extr_writebsp.c_EmitLeaf.c"
.globl EmitLeaf // -- Begin function EmitLeaf
.p2align 2
.type EmitLeaf,@function
EmitLeaf: // @EmitLeaf
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-96]! // 16-byte Folded Spill
.cfi_def_cfa_offset 96
str x27, [sp, #16] // 8-byte Folded Spill
stp x26, x25, [sp, #32] // 16-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
adrp x20, numleafs
adrp x8, MAX_MAP_LEAFS
mov x19, x0
ldr x9, [x20, :lo12:numleafs]
ldr x8, [x8, :lo12:MAX_MAP_LEAFS]
cmp x9, x8
b.lo .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl Error
.LBB0_2:
adrp x8, dleafs
ldr x22, [x20, :lo12:numleafs]
ldp w10, w9, [x19, #32]
ldr w0, [x19, #28]
ldr x21, [x8, :lo12:dleafs]
mov w8, #48 // =0x30
madd x23, x22, x8, x21
add x8, x22, #1
str x8, [x20, :lo12:numleafs]
ldr w1, [x23, #36]
stp w10, w9, [x23, #40]
bl VectorCopy
ldr w0, [x19, #24]
ldr w1, [x23, #32]
bl VectorCopy
adrp x24, numleafbrushes
ldr x25, [x19, #16]
ldr x8, [x24, :lo12:numleafbrushes]
str x8, [x23]
cbz x25, .LBB0_7
// %bb.3:
adrp x26, MAX_MAP_LEAFBRUSHES
adrp x27, dleafbrushes
adrp x20, .L.str.1
add x20, x20, :lo12:.L.str.1
b .LBB0_5
.LBB0_4: // in Loop: Header=BB0_5 Depth=1
ldp x8, x25, [x25]
ldr x9, [x24, :lo12:numleafbrushes]
ldr x10, [x27, :lo12:dleafbrushes]
ldr w8, [x8]
add x11, x9, #1
str w8, [x10, x9, lsl #2]
str x11, [x24, :lo12:numleafbrushes]
cbz x25, .LBB0_7
.LBB0_5: // =>This Inner Loop Header: Depth=1
ldr x8, [x24, :lo12:numleafbrushes]
ldr x9, [x26, :lo12:MAX_MAP_LEAFBRUSHES]
cmp x8, x9
b.lo .LBB0_4
// %bb.6: // in Loop: Header=BB0_5 Depth=1
mov x0, x20
bl Error
b .LBB0_4
.LBB0_7:
ldr x8, [x24, :lo12:numleafbrushes]
mov w9, #48 // =0x30
ldr x10, [x23]
madd x9, x22, x9, x21
sub x8, x8, x10
ldr x10, [x19, #8]
str x8, [x9, #8]
cbnz x10, .LBB0_14
// %bb.8:
adrp x20, numleafsurfaces
mov w8, #48 // =0x30
ldr x24, [x19]
madd x23, x22, x8, x21
ldr x8, [x20, :lo12:numleafsurfaces]
str x8, [x23, #16]!
cbz x24, .LBB0_13
// %bb.9:
adrp x25, MAX_MAP_LEAFFACES
adrp x26, dleafsurfaces
adrp x19, .L.str.2
add x19, x19, :lo12:.L.str.2
b .LBB0_11
.LBB0_10: // in Loop: Header=BB0_11 Depth=1
ldr x8, [x20, :lo12:numleafsurfaces]
ldr w9, [x24]
ldr x24, [x24, #8]
add x11, x8, #1
ldr x10, [x26, :lo12:dleafsurfaces]
str w9, [x10, x8, lsl #2]
str x11, [x20, :lo12:numleafsurfaces]
cbz x24, .LBB0_13
.LBB0_11: // =>This Inner Loop Header: Depth=1
ldr x8, [x20, :lo12:numleafsurfaces]
ldr x9, [x25, :lo12:MAX_MAP_LEAFFACES]
cmp x8, x9
b.lo .LBB0_10
// %bb.12: // in Loop: Header=BB0_11 Depth=1
mov x0, x19
bl Error
b .LBB0_10
.LBB0_13:
ldr x8, [x20, :lo12:numleafsurfaces]
mov w9, #48 // =0x30
ldr x10, [x23]
madd x9, x22, x9, x21
sub x8, x8, x10
str x8, [x9, #24]
.LBB0_14:
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x26, x25, [sp, #32] // 16-byte Folded Reload
ldr x27, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #96 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size EmitLeaf, .Lfunc_end0-EmitLeaf
.cfi_endproc
// -- End function
.type numleafs,@object // @numleafs
.bss
.globl numleafs
.p2align 3, 0x0
numleafs:
.xword 0 // 0x0
.size numleafs, 8
.type MAX_MAP_LEAFS,@object // @MAX_MAP_LEAFS
.globl MAX_MAP_LEAFS
.p2align 3, 0x0
MAX_MAP_LEAFS:
.xword 0 // 0x0
.size MAX_MAP_LEAFS, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "MAX_MAP_LEAFS"
.size .L.str, 14
.type dleafs,@object // @dleafs
.bss
.globl dleafs
.p2align 3, 0x0
dleafs:
.xword 0
.size dleafs, 8
.type numleafbrushes,@object // @numleafbrushes
.globl numleafbrushes
.p2align 3, 0x0
numleafbrushes:
.xword 0 // 0x0
.size numleafbrushes, 8
.type MAX_MAP_LEAFBRUSHES,@object // @MAX_MAP_LEAFBRUSHES
.globl MAX_MAP_LEAFBRUSHES
.p2align 3, 0x0
MAX_MAP_LEAFBRUSHES:
.xword 0 // 0x0
.size MAX_MAP_LEAFBRUSHES, 8
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "MAX_MAP_LEAFBRUSHES"
.size .L.str.1, 20
.type dleafbrushes,@object // @dleafbrushes
.bss
.globl dleafbrushes
.p2align 3, 0x0
dleafbrushes:
.xword 0
.size dleafbrushes, 8
.type numleafsurfaces,@object // @numleafsurfaces
.globl numleafsurfaces
.p2align 3, 0x0
numleafsurfaces:
.xword 0 // 0x0
.size numleafsurfaces, 8
.type MAX_MAP_LEAFFACES,@object // @MAX_MAP_LEAFFACES
.globl MAX_MAP_LEAFFACES
.p2align 3, 0x0
MAX_MAP_LEAFFACES:
.xword 0 // 0x0
.size MAX_MAP_LEAFFACES, 8
.type .L.str.2,@object // @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "MAX_MAP_LEAFFACES"
.size .L.str.2, 18
.type dleafsurfaces,@object // @dleafsurfaces
.bss
.globl dleafsurfaces
.p2align 3, 0x0
dleafsurfaces:
.xword 0
.size dleafsurfaces, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_writebsp.c_EmitLeaf.c"
.globl EmitLeaf // -- Begin function EmitLeaf
.p2align 2
.type EmitLeaf,@function
EmitLeaf: // @EmitLeaf
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-96]! // 16-byte Folded Spill
.cfi_def_cfa_offset 96
str x27, [sp, #16] // 8-byte Folded Spill
stp x26, x25, [sp, #32] // 16-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
adrp x20, numleafs
adrp x8, MAX_MAP_LEAFS
mov x19, x0
ldr x21, [x20, :lo12:numleafs]
ldr x8, [x8, :lo12:MAX_MAP_LEAFS]
cmp x21, x8
b.lo .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl Error
ldr x21, [x20, :lo12:numleafs]
.LBB0_2:
adrp x8, dleafs
ldr d0, [x19, #32]
ldr x22, [x8, :lo12:dleafs]
mov w8, #48 // =0x30
madd x23, x21, x8, x22
add x8, x21, #1
str x8, [x20, :lo12:numleafs]
str d0, [x23, #40]
ldr w1, [x23, #36]
ldr w0, [x19, #28]
bl VectorCopy
ldr w0, [x19, #24]
ldr w1, [x23, #32]
bl VectorCopy
adrp x24, numleafbrushes
ldr x25, [x19, #16]
ldr x9, [x24, :lo12:numleafbrushes]
str x9, [x23]
ldr x8, [x24, :lo12:numleafbrushes]
cbz x25, .LBB0_8
// %bb.3:
adrp x26, MAX_MAP_LEAFBRUSHES
adrp x27, dleafbrushes
adrp x20, .L.str.1
add x20, x20, :lo12:.L.str.1
ldr x9, [x26, :lo12:MAX_MAP_LEAFBRUSHES]
b .LBB0_5
.LBB0_4: // in Loop: Header=BB0_5 Depth=1
ldr x10, [x25]
ldr x11, [x27, :lo12:dleafbrushes]
ldr x25, [x25, #8]
ldr w10, [x10]
str w10, [x11, x8, lsl #2]
add x8, x8, #1
str x8, [x24, :lo12:numleafbrushes]
cbz x25, .LBB0_7
.LBB0_5: // =>This Inner Loop Header: Depth=1
cmp x8, x9
b.lo .LBB0_4
// %bb.6: // in Loop: Header=BB0_5 Depth=1
mov x0, x20
bl Error
ldr x9, [x26, :lo12:MAX_MAP_LEAFBRUSHES]
ldr x8, [x24, :lo12:numleafbrushes]
b .LBB0_4
.LBB0_7:
ldr x9, [x23]
.LBB0_8:
mov w10, #48 // =0x30
sub x8, x8, x9
ldr x9, [x19, #8]
madd x10, x21, x10, x22
str x8, [x10, #8]
cbnz x9, .LBB0_16
// %bb.9:
adrp x20, numleafsurfaces
mov w8, #48 // =0x30
ldr x24, [x19]
madd x23, x21, x8, x22
ldr x9, [x20, :lo12:numleafsurfaces]
str x9, [x23, #16]!
ldr x8, [x20, :lo12:numleafsurfaces]
cbz x24, .LBB0_15
// %bb.10:
adrp x25, MAX_MAP_LEAFFACES
adrp x26, dleafsurfaces
adrp x19, .L.str.2
add x19, x19, :lo12:.L.str.2
ldr x9, [x25, :lo12:MAX_MAP_LEAFFACES]
b .LBB0_12
.LBB0_11: // in Loop: Header=BB0_12 Depth=1
ldr w10, [x24]
ldr x11, [x26, :lo12:dleafsurfaces]
ldr x24, [x24, #8]
str w10, [x11, x8, lsl #2]
add x8, x8, #1
str x8, [x20, :lo12:numleafsurfaces]
cbz x24, .LBB0_14
.LBB0_12: // =>This Inner Loop Header: Depth=1
cmp x8, x9
b.lo .LBB0_11
// %bb.13: // in Loop: Header=BB0_12 Depth=1
mov x0, x19
bl Error
ldr x9, [x25, :lo12:MAX_MAP_LEAFFACES]
ldr x8, [x20, :lo12:numleafsurfaces]
b .LBB0_11
.LBB0_14:
ldr x9, [x23]
.LBB0_15:
mov w10, #48 // =0x30
sub x8, x8, x9
madd x10, x21, x10, x22
str x8, [x10, #24]
.LBB0_16:
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x26, x25, [sp, #32] // 16-byte Folded Reload
ldr x27, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #96 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size EmitLeaf, .Lfunc_end0-EmitLeaf
.cfi_endproc
// -- End function
.type numleafs,@object // @numleafs
.bss
.globl numleafs
.p2align 3, 0x0
numleafs:
.xword 0 // 0x0
.size numleafs, 8
.type MAX_MAP_LEAFS,@object // @MAX_MAP_LEAFS
.globl MAX_MAP_LEAFS
.p2align 3, 0x0
MAX_MAP_LEAFS:
.xword 0 // 0x0
.size MAX_MAP_LEAFS, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "MAX_MAP_LEAFS"
.size .L.str, 14
.type dleafs,@object // @dleafs
.bss
.globl dleafs
.p2align 3, 0x0
dleafs:
.xword 0
.size dleafs, 8
.type numleafbrushes,@object // @numleafbrushes
.globl numleafbrushes
.p2align 3, 0x0
numleafbrushes:
.xword 0 // 0x0
.size numleafbrushes, 8
.type MAX_MAP_LEAFBRUSHES,@object // @MAX_MAP_LEAFBRUSHES
.globl MAX_MAP_LEAFBRUSHES
.p2align 3, 0x0
MAX_MAP_LEAFBRUSHES:
.xword 0 // 0x0
.size MAX_MAP_LEAFBRUSHES, 8
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "MAX_MAP_LEAFBRUSHES"
.size .L.str.1, 20
.type dleafbrushes,@object // @dleafbrushes
.bss
.globl dleafbrushes
.p2align 3, 0x0
dleafbrushes:
.xword 0
.size dleafbrushes, 8
.type numleafsurfaces,@object // @numleafsurfaces
.globl numleafsurfaces
.p2align 3, 0x0
numleafsurfaces:
.xword 0 // 0x0
.size numleafsurfaces, 8
.type MAX_MAP_LEAFFACES,@object // @MAX_MAP_LEAFFACES
.globl MAX_MAP_LEAFFACES
.p2align 3, 0x0
MAX_MAP_LEAFFACES:
.xword 0 // 0x0
.size MAX_MAP_LEAFFACES, 8
.type .L.str.2,@object // @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "MAX_MAP_LEAFFACES"
.size .L.str.2, 18
.type dleafsurfaces,@object // @dleafsurfaces
.bss
.globl dleafsurfaces
.p2align 3, 0x0
dleafsurfaces:
.xword 0
.size dleafsurfaces, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_writebsp.c_EmitLeaf.c"
.globl EmitLeaf // -- Begin function EmitLeaf
.p2align 2
.type EmitLeaf,@function
EmitLeaf: // @EmitLeaf
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-96]! // 16-byte Folded Spill
.cfi_def_cfa_offset 96
str x27, [sp, #16] // 8-byte Folded Spill
stp x26, x25, [sp, #32] // 16-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w27, -80
.cfi_offset w30, -88
.cfi_offset w29, -96
adrp x20, numleafs
adrp x8, MAX_MAP_LEAFS
mov x19, x0
ldr x21, [x20, :lo12:numleafs]
ldr x8, [x8, :lo12:MAX_MAP_LEAFS]
cmp x21, x8
b.lo .LBB0_2
// %bb.1:
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl Error
ldr x21, [x20, :lo12:numleafs]
.LBB0_2:
adrp x8, dleafs
ldr d0, [x19, #32]
ldr x22, [x8, :lo12:dleafs]
mov w8, #48 // =0x30
madd x23, x21, x8, x22
add x8, x21, #1
str x8, [x20, :lo12:numleafs]
str d0, [x23, #40]
ldr w1, [x23, #36]
ldr w0, [x19, #28]
bl VectorCopy
ldr w0, [x19, #24]
ldr w1, [x23, #32]
bl VectorCopy
adrp x24, numleafbrushes
ldr x25, [x19, #16]
ldr x9, [x24, :lo12:numleafbrushes]
str x9, [x23]
ldr x8, [x24, :lo12:numleafbrushes]
cbz x25, .LBB0_8
// %bb.3:
adrp x26, MAX_MAP_LEAFBRUSHES
adrp x27, dleafbrushes
adrp x20, .L.str.1
add x20, x20, :lo12:.L.str.1
ldr x9, [x26, :lo12:MAX_MAP_LEAFBRUSHES]
b .LBB0_5
.LBB0_4: // in Loop: Header=BB0_5 Depth=1
ldp x10, x25, [x25]
ldr x11, [x27, :lo12:dleafbrushes]
ldr w10, [x10]
str w10, [x11, x8, lsl #2]
add x8, x8, #1
str x8, [x24, :lo12:numleafbrushes]
cbz x25, .LBB0_7
.LBB0_5: // =>This Inner Loop Header: Depth=1
cmp x8, x9
b.lo .LBB0_4
// %bb.6: // in Loop: Header=BB0_5 Depth=1
mov x0, x20
bl Error
ldr x9, [x26, :lo12:MAX_MAP_LEAFBRUSHES]
ldr x8, [x24, :lo12:numleafbrushes]
b .LBB0_4
.LBB0_7:
ldr x9, [x23]
.LBB0_8:
mov w10, #48 // =0x30
sub x8, x8, x9
ldr x9, [x19, #8]
madd x10, x21, x10, x22
str x8, [x10, #8]
cbnz x9, .LBB0_16
// %bb.9:
adrp x20, numleafsurfaces
mov w8, #48 // =0x30
ldr x24, [x19]
madd x23, x21, x8, x22
ldr x9, [x20, :lo12:numleafsurfaces]
str x9, [x23, #16]!
ldr x8, [x20, :lo12:numleafsurfaces]
cbz x24, .LBB0_15
// %bb.10:
adrp x25, MAX_MAP_LEAFFACES
adrp x26, dleafsurfaces
adrp x19, .L.str.2
add x19, x19, :lo12:.L.str.2
ldr x9, [x25, :lo12:MAX_MAP_LEAFFACES]
b .LBB0_12
.LBB0_11: // in Loop: Header=BB0_12 Depth=1
ldr w10, [x24]
ldr x11, [x26, :lo12:dleafsurfaces]
ldr x24, [x24, #8]
str w10, [x11, x8, lsl #2]
add x8, x8, #1
str x8, [x20, :lo12:numleafsurfaces]
cbz x24, .LBB0_14
.LBB0_12: // =>This Inner Loop Header: Depth=1
cmp x8, x9
b.lo .LBB0_11
// %bb.13: // in Loop: Header=BB0_12 Depth=1
mov x0, x19
bl Error
ldr x9, [x25, :lo12:MAX_MAP_LEAFFACES]
ldr x8, [x20, :lo12:numleafsurfaces]
b .LBB0_11
.LBB0_14:
ldr x9, [x23]
.LBB0_15:
mov w10, #48 // =0x30
sub x8, x8, x9
madd x10, x21, x10, x22
str x8, [x10, #24]
.LBB0_16:
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x26, x25, [sp, #32] // 16-byte Folded Reload
ldr x27, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #96 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w26
.cfi_restore w27
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size EmitLeaf, .Lfunc_end0-EmitLeaf
.cfi_endproc
// -- End function
.type numleafs,@object // @numleafs
.bss
.globl numleafs
.p2align 3, 0x0
numleafs:
.xword 0 // 0x0
.size numleafs, 8
.type MAX_MAP_LEAFS,@object // @MAX_MAP_LEAFS
.globl MAX_MAP_LEAFS
.p2align 3, 0x0
MAX_MAP_LEAFS:
.xword 0 // 0x0
.size MAX_MAP_LEAFS, 8
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "MAX_MAP_LEAFS"
.size .L.str, 14
.type dleafs,@object // @dleafs
.bss
.globl dleafs
.p2align 3, 0x0
dleafs:
.xword 0
.size dleafs, 8
.type numleafbrushes,@object // @numleafbrushes
.globl numleafbrushes
.p2align 3, 0x0
numleafbrushes:
.xword 0 // 0x0
.size numleafbrushes, 8
.type MAX_MAP_LEAFBRUSHES,@object // @MAX_MAP_LEAFBRUSHES
.globl MAX_MAP_LEAFBRUSHES
.p2align 3, 0x0
MAX_MAP_LEAFBRUSHES:
.xword 0 // 0x0
.size MAX_MAP_LEAFBRUSHES, 8
.type .L.str.1,@object // @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "MAX_MAP_LEAFBRUSHES"
.size .L.str.1, 20
.type dleafbrushes,@object // @dleafbrushes
.bss
.globl dleafbrushes
.p2align 3, 0x0
dleafbrushes:
.xword 0
.size dleafbrushes, 8
.type numleafsurfaces,@object // @numleafsurfaces
.globl numleafsurfaces
.p2align 3, 0x0
numleafsurfaces:
.xword 0 // 0x0
.size numleafsurfaces, 8
.type MAX_MAP_LEAFFACES,@object // @MAX_MAP_LEAFFACES
.globl MAX_MAP_LEAFFACES
.p2align 3, 0x0
MAX_MAP_LEAFFACES:
.xword 0 // 0x0
.size MAX_MAP_LEAFFACES, 8
.type .L.str.2,@object // @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "MAX_MAP_LEAFFACES"
.size .L.str.2, 18
.type dleafsurfaces,@object // @dleafsurfaces
.bss
.globl dleafsurfaces
.p2align 3, 0x0
dleafsurfaces:
.xword 0
.size dleafsurfaces, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_writebsp.c_EmitLeaf.c"
.globl EmitLeaf # -- Begin function EmitLeaf
.p2align 4, 0x90
.type EmitLeaf,@function
EmitLeaf: # @EmitLeaf
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq numleafs(%rip), %rax
cmpq MAX_MAP_LEAFS(%rip), %rax
jb .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq Error@PLT
.LBB0_2:
movq dleafs(%rip), %rax
imulq $48, numleafs(%rip), %rcx
addq %rcx, %rax
movq %rax, -16(%rbp)
movq numleafs(%rip), %rax
addq $1, %rax
movq %rax, numleafs(%rip)
movq -8(%rbp), %rax
movl 36(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 44(%rax)
movq -8(%rbp), %rax
movl 32(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 40(%rax)
movq -8(%rbp), %rax
movl 28(%rax), %edi
movq -16(%rbp), %rax
movl 36(%rax), %esi
callq VectorCopy@PLT
movq -8(%rbp), %rax
movl 24(%rax), %edi
movq -16(%rbp), %rax
movl 32(%rax), %esi
callq VectorCopy@PLT
movq numleafbrushes(%rip), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -24(%rbp)
.LBB0_3: # =>This Inner Loop Header: Depth=1
cmpq $0, -24(%rbp)
je .LBB0_8
# %bb.4: # in Loop: Header=BB0_3 Depth=1
movq numleafbrushes(%rip), %rax
cmpq MAX_MAP_LEAFBRUSHES(%rip), %rax
jb .LBB0_6
# %bb.5: # in Loop: Header=BB0_3 Depth=1
leaq .L.str.1(%rip), %rdi
callq Error@PLT
.LBB0_6: # in Loop: Header=BB0_3 Depth=1
movq -24(%rbp), %rax
movq (%rax), %rax
movl (%rax), %edx
movq dleafbrushes(%rip), %rax
movq numleafbrushes(%rip), %rcx
movl %edx, (%rax,%rcx,4)
movq numleafbrushes(%rip), %rax
addq $1, %rax
movq %rax, numleafbrushes(%rip)
# %bb.7: # in Loop: Header=BB0_3 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
jmp .LBB0_3
.LBB0_8:
movq numleafbrushes(%rip), %rcx
movq -16(%rbp), %rax
subq (%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je .LBB0_10
# %bb.9:
jmp .LBB0_17
.LBB0_10:
movq numleafsurfaces(%rip), %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
.LBB0_11: # =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je .LBB0_16
# %bb.12: # in Loop: Header=BB0_11 Depth=1
movq numleafsurfaces(%rip), %rax
cmpq MAX_MAP_LEAFFACES(%rip), %rax
jb .LBB0_14
# %bb.13: # in Loop: Header=BB0_11 Depth=1
leaq .L.str.2(%rip), %rdi
callq Error@PLT
.LBB0_14: # in Loop: Header=BB0_11 Depth=1
movq -32(%rbp), %rax
movl (%rax), %edx
movq dleafsurfaces(%rip), %rax
movq numleafsurfaces(%rip), %rcx
movl %edx, (%rax,%rcx,4)
movq numleafsurfaces(%rip), %rax
addq $1, %rax
movq %rax, numleafsurfaces(%rip)
# %bb.15: # in Loop: Header=BB0_11 Depth=1
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
jmp .LBB0_11
.LBB0_16:
movq numleafsurfaces(%rip), %rcx
movq -16(%rbp), %rax
subq 16(%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, 24(%rax)
.LBB0_17:
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size EmitLeaf, .Lfunc_end0-EmitLeaf
.cfi_endproc
# -- End function
.type numleafs,@object # @numleafs
.bss
.globl numleafs
.p2align 3, 0x0
numleafs:
.quad 0 # 0x0
.size numleafs, 8
.type MAX_MAP_LEAFS,@object # @MAX_MAP_LEAFS
.globl MAX_MAP_LEAFS
.p2align 3, 0x0
MAX_MAP_LEAFS:
.quad 0 # 0x0
.size MAX_MAP_LEAFS, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "MAX_MAP_LEAFS"
.size .L.str, 14
.type dleafs,@object # @dleafs
.bss
.globl dleafs
.p2align 3, 0x0
dleafs:
.quad 0
.size dleafs, 8
.type numleafbrushes,@object # @numleafbrushes
.globl numleafbrushes
.p2align 3, 0x0
numleafbrushes:
.quad 0 # 0x0
.size numleafbrushes, 8
.type MAX_MAP_LEAFBRUSHES,@object # @MAX_MAP_LEAFBRUSHES
.globl MAX_MAP_LEAFBRUSHES
.p2align 3, 0x0
MAX_MAP_LEAFBRUSHES:
.quad 0 # 0x0
.size MAX_MAP_LEAFBRUSHES, 8
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "MAX_MAP_LEAFBRUSHES"
.size .L.str.1, 20
.type dleafbrushes,@object # @dleafbrushes
.bss
.globl dleafbrushes
.p2align 3, 0x0
dleafbrushes:
.quad 0
.size dleafbrushes, 8
.type numleafsurfaces,@object # @numleafsurfaces
.globl numleafsurfaces
.p2align 3, 0x0
numleafsurfaces:
.quad 0 # 0x0
.size numleafsurfaces, 8
.type MAX_MAP_LEAFFACES,@object # @MAX_MAP_LEAFFACES
.globl MAX_MAP_LEAFFACES
.p2align 3, 0x0
MAX_MAP_LEAFFACES:
.quad 0 # 0x0
.size MAX_MAP_LEAFFACES, 8
.type .L.str.2,@object # @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "MAX_MAP_LEAFFACES"
.size .L.str.2, 18
.type dleafsurfaces,@object # @dleafsurfaces
.bss
.globl dleafsurfaces
.p2align 3, 0x0
dleafsurfaces:
.quad 0
.size dleafsurfaces, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym Error
.addrsig_sym VectorCopy
.addrsig_sym numleafs
.addrsig_sym MAX_MAP_LEAFS
.addrsig_sym dleafs
.addrsig_sym numleafbrushes
.addrsig_sym MAX_MAP_LEAFBRUSHES
.addrsig_sym dleafbrushes
.addrsig_sym numleafsurfaces
.addrsig_sym MAX_MAP_LEAFFACES
.addrsig_sym dleafsurfaces
| .text
.file "extr_writebsp.c_EmitLeaf.c"
.globl EmitLeaf # -- Begin function EmitLeaf
.p2align 4, 0x90
.type EmitLeaf,@function
EmitLeaf: # @EmitLeaf
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movq numleafs(%rip), %rax
cmpq MAX_MAP_LEAFS(%rip), %rax
jb .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq Error@PLT
.LBB0_2:
movq dleafs(%rip), %r15
movq numleafs(%rip), %rax
leaq (%rax,%rax,2), %r12
shlq $4, %r12
leaq (%r15,%r12), %r13
incq %rax
movq %rax, numleafs(%rip)
movl 36(%rbx), %eax
movl %eax, 44(%r15,%r12)
movl 32(%rbx), %eax
movl %eax, 40(%r15,%r12)
movl 28(%rbx), %edi
movl 36(%r15,%r12), %esi
callq VectorCopy@PLT
movl 24(%rbx), %edi
movl 32(%r15,%r12), %esi
callq VectorCopy@PLT
movq numleafbrushes(%rip), %rax
movq %rax, (%r15,%r12)
movq 16(%rbx), %rbp
testq %rbp, %rbp
je .LBB0_7
# %bb.3:
leaq .L.str.1(%rip), %r14
jmp .LBB0_4
.p2align 4, 0x90
.LBB0_6: # in Loop: Header=BB0_4 Depth=1
movq (%rbp), %rax
movl (%rax), %eax
movq dleafbrushes(%rip), %rcx
movq numleafbrushes(%rip), %rdx
movl %eax, (%rcx,%rdx,4)
incq %rdx
movq %rdx, numleafbrushes(%rip)
movq 8(%rbp), %rbp
testq %rbp, %rbp
je .LBB0_7
.LBB0_4: # =>This Inner Loop Header: Depth=1
movq numleafbrushes(%rip), %rax
cmpq MAX_MAP_LEAFBRUSHES(%rip), %rax
jb .LBB0_6
# %bb.5: # in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
callq Error@PLT
jmp .LBB0_6
.LBB0_7:
movq numleafbrushes(%rip), %rax
subq (%r13), %rax
movq %rax, 8(%r15,%r12)
cmpq $0, 8(%rbx)
jne .LBB0_14
# %bb.8:
movq numleafsurfaces(%rip), %rax
leaq (%r15,%r12), %r14
addq $16, %r14
movq %rax, 16(%r15,%r12)
movq (%rbx), %r13
testq %r13, %r13
je .LBB0_13
# %bb.9:
leaq .L.str.2(%rip), %rbx
jmp .LBB0_10
.p2align 4, 0x90
.LBB0_12: # in Loop: Header=BB0_10 Depth=1
movl (%r13), %eax
movq dleafsurfaces(%rip), %rcx
movq numleafsurfaces(%rip), %rdx
movl %eax, (%rcx,%rdx,4)
incq %rdx
movq %rdx, numleafsurfaces(%rip)
movq 8(%r13), %r13
testq %r13, %r13
je .LBB0_13
.LBB0_10: # =>This Inner Loop Header: Depth=1
movq numleafsurfaces(%rip), %rax
cmpq MAX_MAP_LEAFFACES(%rip), %rax
jb .LBB0_12
# %bb.11: # in Loop: Header=BB0_10 Depth=1
movq %rbx, %rdi
callq Error@PLT
jmp .LBB0_12
.LBB0_13:
movq numleafsurfaces(%rip), %rax
subq (%r14), %rax
movq %rax, 24(%r15,%r12)
.LBB0_14:
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size EmitLeaf, .Lfunc_end0-EmitLeaf
.cfi_endproc
# -- End function
.type numleafs,@object # @numleafs
.bss
.globl numleafs
.p2align 3, 0x0
numleafs:
.quad 0 # 0x0
.size numleafs, 8
.type MAX_MAP_LEAFS,@object # @MAX_MAP_LEAFS
.globl MAX_MAP_LEAFS
.p2align 3, 0x0
MAX_MAP_LEAFS:
.quad 0 # 0x0
.size MAX_MAP_LEAFS, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "MAX_MAP_LEAFS"
.size .L.str, 14
.type dleafs,@object # @dleafs
.bss
.globl dleafs
.p2align 3, 0x0
dleafs:
.quad 0
.size dleafs, 8
.type numleafbrushes,@object # @numleafbrushes
.globl numleafbrushes
.p2align 3, 0x0
numleafbrushes:
.quad 0 # 0x0
.size numleafbrushes, 8
.type MAX_MAP_LEAFBRUSHES,@object # @MAX_MAP_LEAFBRUSHES
.globl MAX_MAP_LEAFBRUSHES
.p2align 3, 0x0
MAX_MAP_LEAFBRUSHES:
.quad 0 # 0x0
.size MAX_MAP_LEAFBRUSHES, 8
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "MAX_MAP_LEAFBRUSHES"
.size .L.str.1, 20
.type dleafbrushes,@object # @dleafbrushes
.bss
.globl dleafbrushes
.p2align 3, 0x0
dleafbrushes:
.quad 0
.size dleafbrushes, 8
.type numleafsurfaces,@object # @numleafsurfaces
.globl numleafsurfaces
.p2align 3, 0x0
numleafsurfaces:
.quad 0 # 0x0
.size numleafsurfaces, 8
.type MAX_MAP_LEAFFACES,@object # @MAX_MAP_LEAFFACES
.globl MAX_MAP_LEAFFACES
.p2align 3, 0x0
MAX_MAP_LEAFFACES:
.quad 0 # 0x0
.size MAX_MAP_LEAFFACES, 8
.type .L.str.2,@object # @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "MAX_MAP_LEAFFACES"
.size .L.str.2, 18
.type dleafsurfaces,@object # @dleafsurfaces
.bss
.globl dleafsurfaces
.p2align 3, 0x0
dleafsurfaces:
.quad 0
.size dleafsurfaces, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_writebsp.c_EmitLeaf.c"
.globl EmitLeaf # -- Begin function EmitLeaf
.p2align 4, 0x90
.type EmitLeaf,@function
EmitLeaf: # @EmitLeaf
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movq numleafs(%rip), %rax
cmpq MAX_MAP_LEAFS(%rip), %rax
jb .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq Error@PLT
movq numleafs(%rip), %rax
.LBB0_2:
movq dleafs(%rip), %r15
leaq (%rax,%rax,2), %r12
shlq $4, %r12
incq %rax
movq %rax, numleafs(%rip)
movq 32(%rbx), %rax
movq %rax, 40(%r15,%r12)
movl 28(%rbx), %edi
movl 36(%r15,%r12), %esi
callq VectorCopy@PLT
movl 24(%rbx), %edi
movl 32(%r15,%r12), %esi
callq VectorCopy@PLT
movq numleafbrushes(%rip), %rcx
movq %rcx, (%r15,%r12)
movq 16(%rbx), %r13
movq numleafbrushes(%rip), %rax
testq %r13, %r13
je .LBB0_8
# %bb.3:
leaq (%r15,%r12), %rbp
movq MAX_MAP_LEAFBRUSHES(%rip), %rcx
leaq .L.str.1(%rip), %r14
jmp .LBB0_4
.p2align 4, 0x90
.LBB0_6: # in Loop: Header=BB0_4 Depth=1
movq (%r13), %rdx
movl (%rdx), %edx
movq dleafbrushes(%rip), %rsi
movl %edx, (%rsi,%rax,4)
incq %rax
movq %rax, numleafbrushes(%rip)
movq 8(%r13), %r13
testq %r13, %r13
je .LBB0_7
.LBB0_4: # =>This Inner Loop Header: Depth=1
cmpq %rcx, %rax
jb .LBB0_6
# %bb.5: # in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
callq Error@PLT
movq MAX_MAP_LEAFBRUSHES(%rip), %rcx
movq numleafbrushes(%rip), %rax
jmp .LBB0_6
.LBB0_7:
movq (%rbp), %rcx
.LBB0_8:
subq %rcx, %rax
movq %rax, 8(%r15,%r12)
cmpq $0, 8(%rbx)
jne .LBB0_16
# %bb.9:
movq numleafsurfaces(%rip), %rcx
movq %rcx, 16(%r15,%r12)
movq (%rbx), %r14
movq numleafsurfaces(%rip), %rax
testq %r14, %r14
je .LBB0_15
# %bb.10:
leaq (%r15,%r12), %r13
addq $16, %r13
movq MAX_MAP_LEAFFACES(%rip), %rcx
leaq .L.str.2(%rip), %rbx
jmp .LBB0_11
.p2align 4, 0x90
.LBB0_13: # in Loop: Header=BB0_11 Depth=1
movl (%r14), %edx
movq dleafsurfaces(%rip), %rsi
movl %edx, (%rsi,%rax,4)
incq %rax
movq %rax, numleafsurfaces(%rip)
movq 8(%r14), %r14
testq %r14, %r14
je .LBB0_14
.LBB0_11: # =>This Inner Loop Header: Depth=1
cmpq %rcx, %rax
jb .LBB0_13
# %bb.12: # in Loop: Header=BB0_11 Depth=1
movq %rbx, %rdi
callq Error@PLT
movq MAX_MAP_LEAFFACES(%rip), %rcx
movq numleafsurfaces(%rip), %rax
jmp .LBB0_13
.LBB0_14:
movq (%r13), %rcx
.LBB0_15:
subq %rcx, %rax
movq %rax, 24(%r15,%r12)
.LBB0_16:
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size EmitLeaf, .Lfunc_end0-EmitLeaf
.cfi_endproc
# -- End function
.type numleafs,@object # @numleafs
.bss
.globl numleafs
.p2align 3, 0x0
numleafs:
.quad 0 # 0x0
.size numleafs, 8
.type MAX_MAP_LEAFS,@object # @MAX_MAP_LEAFS
.globl MAX_MAP_LEAFS
.p2align 3, 0x0
MAX_MAP_LEAFS:
.quad 0 # 0x0
.size MAX_MAP_LEAFS, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "MAX_MAP_LEAFS"
.size .L.str, 14
.type dleafs,@object # @dleafs
.bss
.globl dleafs
.p2align 3, 0x0
dleafs:
.quad 0
.size dleafs, 8
.type numleafbrushes,@object # @numleafbrushes
.globl numleafbrushes
.p2align 3, 0x0
numleafbrushes:
.quad 0 # 0x0
.size numleafbrushes, 8
.type MAX_MAP_LEAFBRUSHES,@object # @MAX_MAP_LEAFBRUSHES
.globl MAX_MAP_LEAFBRUSHES
.p2align 3, 0x0
MAX_MAP_LEAFBRUSHES:
.quad 0 # 0x0
.size MAX_MAP_LEAFBRUSHES, 8
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "MAX_MAP_LEAFBRUSHES"
.size .L.str.1, 20
.type dleafbrushes,@object # @dleafbrushes
.bss
.globl dleafbrushes
.p2align 3, 0x0
dleafbrushes:
.quad 0
.size dleafbrushes, 8
.type numleafsurfaces,@object # @numleafsurfaces
.globl numleafsurfaces
.p2align 3, 0x0
numleafsurfaces:
.quad 0 # 0x0
.size numleafsurfaces, 8
.type MAX_MAP_LEAFFACES,@object # @MAX_MAP_LEAFFACES
.globl MAX_MAP_LEAFFACES
.p2align 3, 0x0
MAX_MAP_LEAFFACES:
.quad 0 # 0x0
.size MAX_MAP_LEAFFACES, 8
.type .L.str.2,@object # @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "MAX_MAP_LEAFFACES"
.size .L.str.2, 18
.type dleafsurfaces,@object # @dleafsurfaces
.bss
.globl dleafsurfaces
.p2align 3, 0x0
dleafsurfaces:
.quad 0
.size dleafsurfaces, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_writebsp.c_EmitLeaf.c"
.globl EmitLeaf # -- Begin function EmitLeaf
.p2align 4, 0x90
.type EmitLeaf,@function
EmitLeaf: # @EmitLeaf
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdi, %rbx
movq numleafs(%rip), %rax
cmpq MAX_MAP_LEAFS(%rip), %rax
jb .LBB0_2
# %bb.1:
leaq .L.str(%rip), %rdi
callq Error@PLT
movq numleafs(%rip), %rax
.LBB0_2:
movq dleafs(%rip), %r15
leaq (%rax,%rax,2), %r12
shlq $4, %r12
incq %rax
movq %rax, numleafs(%rip)
movq 32(%rbx), %rax
movq %rax, 40(%r15,%r12)
movl 28(%rbx), %edi
movl 36(%r15,%r12), %esi
callq VectorCopy@PLT
movl 24(%rbx), %edi
movl 32(%r15,%r12), %esi
callq VectorCopy@PLT
movq numleafbrushes(%rip), %rcx
movq %rcx, (%r15,%r12)
movq 16(%rbx), %r13
movq numleafbrushes(%rip), %rax
testq %r13, %r13
je .LBB0_8
# %bb.3:
leaq (%r15,%r12), %rbp
movq MAX_MAP_LEAFBRUSHES(%rip), %rcx
leaq .L.str.1(%rip), %r14
jmp .LBB0_4
.p2align 4, 0x90
.LBB0_6: # in Loop: Header=BB0_4 Depth=1
movq (%r13), %rdx
movl (%rdx), %edx
movq dleafbrushes(%rip), %rsi
movl %edx, (%rsi,%rax,4)
incq %rax
movq %rax, numleafbrushes(%rip)
movq 8(%r13), %r13
testq %r13, %r13
je .LBB0_7
.LBB0_4: # =>This Inner Loop Header: Depth=1
cmpq %rcx, %rax
jb .LBB0_6
# %bb.5: # in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
callq Error@PLT
movq MAX_MAP_LEAFBRUSHES(%rip), %rcx
movq numleafbrushes(%rip), %rax
jmp .LBB0_6
.LBB0_7:
movq (%rbp), %rcx
.LBB0_8:
subq %rcx, %rax
movq %rax, 8(%r15,%r12)
cmpq $0, 8(%rbx)
jne .LBB0_16
# %bb.9:
movq numleafsurfaces(%rip), %rcx
movq %rcx, 16(%r15,%r12)
movq (%rbx), %r14
movq numleafsurfaces(%rip), %rax
testq %r14, %r14
je .LBB0_15
# %bb.10:
leaq (%r15,%r12), %r13
addq $16, %r13
movq MAX_MAP_LEAFFACES(%rip), %rcx
leaq .L.str.2(%rip), %rbx
jmp .LBB0_11
.p2align 4, 0x90
.LBB0_13: # in Loop: Header=BB0_11 Depth=1
movl (%r14), %edx
movq dleafsurfaces(%rip), %rsi
movl %edx, (%rsi,%rax,4)
incq %rax
movq %rax, numleafsurfaces(%rip)
movq 8(%r14), %r14
testq %r14, %r14
je .LBB0_14
.LBB0_11: # =>This Inner Loop Header: Depth=1
cmpq %rcx, %rax
jb .LBB0_13
# %bb.12: # in Loop: Header=BB0_11 Depth=1
movq %rbx, %rdi
callq Error@PLT
movq MAX_MAP_LEAFFACES(%rip), %rcx
movq numleafsurfaces(%rip), %rax
jmp .LBB0_13
.LBB0_14:
movq (%r13), %rcx
.LBB0_15:
subq %rcx, %rax
movq %rax, 24(%r15,%r12)
.LBB0_16:
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size EmitLeaf, .Lfunc_end0-EmitLeaf
.cfi_endproc
# -- End function
.type numleafs,@object # @numleafs
.bss
.globl numleafs
.p2align 3, 0x0
numleafs:
.quad 0 # 0x0
.size numleafs, 8
.type MAX_MAP_LEAFS,@object # @MAX_MAP_LEAFS
.globl MAX_MAP_LEAFS
.p2align 3, 0x0
MAX_MAP_LEAFS:
.quad 0 # 0x0
.size MAX_MAP_LEAFS, 8
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "MAX_MAP_LEAFS"
.size .L.str, 14
.type dleafs,@object # @dleafs
.bss
.globl dleafs
.p2align 3, 0x0
dleafs:
.quad 0
.size dleafs, 8
.type numleafbrushes,@object # @numleafbrushes
.globl numleafbrushes
.p2align 3, 0x0
numleafbrushes:
.quad 0 # 0x0
.size numleafbrushes, 8
.type MAX_MAP_LEAFBRUSHES,@object # @MAX_MAP_LEAFBRUSHES
.globl MAX_MAP_LEAFBRUSHES
.p2align 3, 0x0
MAX_MAP_LEAFBRUSHES:
.quad 0 # 0x0
.size MAX_MAP_LEAFBRUSHES, 8
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "MAX_MAP_LEAFBRUSHES"
.size .L.str.1, 20
.type dleafbrushes,@object # @dleafbrushes
.bss
.globl dleafbrushes
.p2align 3, 0x0
dleafbrushes:
.quad 0
.size dleafbrushes, 8
.type numleafsurfaces,@object # @numleafsurfaces
.globl numleafsurfaces
.p2align 3, 0x0
numleafsurfaces:
.quad 0 # 0x0
.size numleafsurfaces, 8
.type MAX_MAP_LEAFFACES,@object # @MAX_MAP_LEAFFACES
.globl MAX_MAP_LEAFFACES
.p2align 3, 0x0
MAX_MAP_LEAFFACES:
.quad 0 # 0x0
.size MAX_MAP_LEAFFACES, 8
.type .L.str.2,@object # @.str.2
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.2:
.asciz "MAX_MAP_LEAFFACES"
.size .L.str.2, 18
.type dleafsurfaces,@object # @dleafsurfaces
.bss
.globl dleafsurfaces
.p2align 3, 0x0
dleafsurfaces:
.quad 0
.size dleafsurfaces, 8
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_light_trace.c_CM_GenerateFacetFor4Points.c | .text
.file "extr_light_trace.c_CM_GenerateFacetFor4Points.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 // -- Begin function CM_GenerateFacetFor4Points
.LCPI0_0:
.xword 0x3feccccccccccccd // double 0.90000000000000002
.text
.globl CM_GenerateFacetFor4Points
.p2align 2
.type CM_GenerateFacetFor4Points,@function
CM_GenerateFacetFor4Points: // @CM_GenerateFacetFor4Points
.cfi_startproc
// %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] // 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str x2, [sp, #32]
str x3, [sp, #24]
str x4, [sp, #16]
ldur x8, [x29, #-16]
ldr x0, [x8]
ldur x8, [x29, #-24]
ldr x1, [x8]
ldr x8, [sp, #32]
ldr x2, [x8]
ldr x8, [sp, #24]
ldr x3, [x8]
bl PlaneFromPoints
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldur x8, [x29, #-16]
str wzr, [x8, #8]
adrp x8, qfalse
ldr w8, [x8, :lo12:qfalse]
stur w8, [x29, #-4]
b .LBB0_13
.LBB0_2:
ldr x8, [sp, #16]
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x1, [x8]
bl DotProduct
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr s1, [x8, #12]
fcvt d1, s1
fsub d0, d0, d1
fcvt s0, d0
str s0, [sp, #12]
ldr s0, [sp, #12]
bl fabs
adrp x8, PLANAR_EPSILON
ldr x8, [x8, :lo12:PLANAR_EPSILON]
subs x8, x0, x8
cset w8, le
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3:
ldur x8, [x29, #-16]
str wzr, [x8, #8]
adrp x8, qfalse
ldr w8, [x8, :lo12:qfalse]
stur w8, [x29, #-4]
b .LBB0_13
.LBB0_4:
ldur x9, [x29, #-16]
mov w8, #4 // =0x4
str w8, [x9, #8]
ldur x8, [x29, #-16]
ldr x8, [x8, #24]
ldr w0, [x8]
ldur x8, [x29, #-16]
ldr x1, [x8]
ldur x8, [x29, #-24]
ldr x2, [x8]
ldr x8, [sp, #32]
ldr x3, [x8]
bl CM_GenerateBoundaryForPoints
ldur x8, [x29, #-16]
ldr x8, [x8, #24]
ldr w0, [x8, #4]
ldur x8, [x29, #-16]
ldr x1, [x8]
ldr x8, [sp, #32]
ldr x2, [x8]
ldr x8, [sp, #24]
ldr x3, [x8]
bl CM_GenerateBoundaryForPoints
ldur x8, [x29, #-16]
ldr x8, [x8, #24]
ldr w0, [x8, #8]
ldur x8, [x29, #-16]
ldr x1, [x8]
ldr x8, [sp, #24]
ldr x2, [x8]
ldr x8, [sp, #16]
ldr x3, [x8]
bl CM_GenerateBoundaryForPoints
ldur x8, [x29, #-16]
ldr x8, [x8, #24]
ldr w0, [x8, #12]
ldur x8, [x29, #-16]
ldr x1, [x8]
ldr x8, [sp, #16]
ldr x2, [x8]
ldur x8, [x29, #-24]
ldr x3, [x8]
bl CM_GenerateBoundaryForPoints
ldur x8, [x29, #-24]
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldr x1, [x8]
bl VectorCopy
ldr x8, [sp, #32]
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldr x1, [x8, #8]
bl VectorCopy
ldr x8, [sp, #24]
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldr x1, [x8, #16]
bl VectorCopy
ldr x8, [sp, #16]
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldr x1, [x8, #24]
bl VectorCopy
mov w8, #1 // =0x1
str w8, [sp, #8]
b .LBB0_5
.LBB0_5: // =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, .LBB0_12
b .LBB0_6
.LBB0_6: // in Loop: Header=BB0_5 Depth=1
ldr x0, [sp]
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldrsw x9, [sp, #8]
ldr x1, [x8, x9, lsl #3]
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldr w9, [sp, #8]
add w9, w9, #1
mov w11, #4 // =0x4
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
ldr x2, [x8, w9, sxtw #3]
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldr w9, [sp, #8]
add w9, w9, #2
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
ldr x3, [x8, w9, sxtw #3]
bl PlaneFromPoints
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, .LBB0_8
b .LBB0_7
.LBB0_7:
ldur x8, [x29, #-16]
str wzr, [x8, #8]
adrp x8, qfalse
ldr w8, [x8, :lo12:qfalse]
stur w8, [x29, #-4]
b .LBB0_13
.LBB0_8: // in Loop: Header=BB0_5 Depth=1
ldur x8, [x29, #-16]
ldr x0, [x8]
ldr x1, [sp]
bl DotProduct
adrp x8, .LCPI0_0
ldr d1, [x8, :lo12:.LCPI0_0]
fcmp d0, d1
cset w8, pl
tbnz w8, #0, .LBB0_10
b .LBB0_9
.LBB0_9:
ldur x8, [x29, #-16]
str wzr, [x8, #8]
adrp x8, qfalse
ldr w8, [x8, :lo12:qfalse]
stur w8, [x29, #-4]
b .LBB0_13
.LBB0_10: // in Loop: Header=BB0_5 Depth=1
b .LBB0_11
.LBB0_11: // in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b .LBB0_5
.LBB0_12:
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
ldr x2, [sp, #32]
ldr x3, [sp, #24]
bl TextureMatrixFromPoints
adrp x8, qtrue
ldr w8, [x8, :lo12:qtrue]
stur w8, [x29, #-4]
b .LBB0_13
.LBB0_13:
ldur w0, [x29, #-4]
.cfi_def_cfa wsp, 80
ldp x29, x30, [sp, #64] // 16-byte Folded Reload
add sp, sp, #80
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size CM_GenerateFacetFor4Points, .Lfunc_end0-CM_GenerateFacetFor4Points
.cfi_endproc
// -- End function
.type qfalse,@object // @qfalse
.bss
.globl qfalse
.p2align 2, 0x0
qfalse:
.word 0 // 0x0
.size qfalse, 4
.type PLANAR_EPSILON,@object // @PLANAR_EPSILON
.globl PLANAR_EPSILON
.p2align 3, 0x0
PLANAR_EPSILON:
.xword 0 // 0x0
.size PLANAR_EPSILON, 8
.type qtrue,@object // @qtrue
.globl qtrue
.p2align 2, 0x0
qtrue:
.word 0 // 0x0
.size qtrue, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym PlaneFromPoints
.addrsig_sym DotProduct
.addrsig_sym fabs
.addrsig_sym CM_GenerateBoundaryForPoints
.addrsig_sym VectorCopy
.addrsig_sym TextureMatrixFromPoints
.addrsig_sym qfalse
.addrsig_sym PLANAR_EPSILON
.addrsig_sym qtrue
| .text
.file "extr_light_trace.c_CM_GenerateFacetFor4Points.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 // -- Begin function CM_GenerateFacetFor4Points
.LCPI0_0:
.xword 0x3feccccccccccccd // double 0.90000000000000002
.text
.globl CM_GenerateFacetFor4Points
.p2align 2
.type CM_GenerateFacetFor4Points,@function
CM_GenerateFacetFor4Points: // @CM_GenerateFacetFor4Points
.cfi_startproc
// %bb.0:
str d8, [sp, #-64]! // 8-byte Folded Spill
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #8] // 16-byte Folded Spill
str x23, [sp, #24] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
add x29, sp, #8
.cfi_def_cfa w29, 56
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w30, -48
.cfi_offset w29, -56
.cfi_offset b8, -64
.cfi_remember_state
mov x20, x3
mov x21, x2
mov x22, x1
mov x19, x0
ldr x3, [x3]
mov x23, x4
ldr x1, [x1]
ldr x0, [x0]
ldr x2, [x2]
bl PlaneFromPoints
cbz w0, .LBB0_6
// %bb.1:
ldr x0, [x23]
ldr x1, [x19]
bl DotProduct
ldr x8, [x19]
ldr s1, [x8, #12]
fcvt d1, s1
fsub d0, d0, d1
fcvt s0, d0
bl fabs
adrp x8, PLANAR_EPSILON
ldr x8, [x8, :lo12:PLANAR_EPSILON]
cmp x0, x8
b.gt .LBB0_6
// %bb.2:
mov w8, #4 // =0x4
ldr x9, [x19, #24]
ldr x1, [x19]
ldr x2, [x22]
str w8, [x19, #8]
ldr x3, [x21]
ldr w0, [x9]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #24]
ldr x1, [x19]
ldr x2, [x21]
ldr w0, [x8, #4]
ldr x3, [x20]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #24]
ldr x1, [x19]
ldr x2, [x20]
ldr w0, [x8, #8]
ldr x3, [x23]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #24]
ldr x1, [x19]
ldr x2, [x23]
ldr w0, [x8, #12]
ldr x3, [x22]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #16]
ldr x0, [x22]
ldr x1, [x8]
bl VectorCopy
ldr x8, [x19, #16]
ldr x0, [x21]
ldr x1, [x8, #8]
bl VectorCopy
ldr x8, [x19, #16]
ldr x0, [x20]
ldr x1, [x8, #16]
bl VectorCopy
ldr x8, [x19, #16]
ldr x0, [x23]
ldr x1, [x8, #24]
bl VectorCopy
adrp x8, .LCPI0_0
mov x23, xzr
ldr d8, [x8, :lo12:.LCPI0_0]
.LBB0_3: // =>This Inner Loop Header: Depth=1
cmp x23, #3
b.eq .LBB0_8
// %bb.4: // in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #16]
add w9, w23, #2
sub w10, w23, #1
and x9, x9, #0x3
and x10, x10, #0x3
add x11, x8, x23, lsl #3
ldr x2, [x8, x9, lsl #3]
ldr x3, [x8, x10, lsl #3]
ldr x1, [x11, #8]
bl PlaneFromPoints
cbz w0, .LBB0_6
// %bb.5: // in Loop: Header=BB0_3 Depth=1
ldr x0, [x19]
bl DotProduct
fcmp d0, d8
add x23, x23, #1
b.pl .LBB0_3
.LBB0_6:
str wzr, [x19, #8]
adrp x8, qfalse
add x8, x8, :lo12:qfalse
.LBB0_7:
ldr w0, [x8]
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #8] // 16-byte Folded Reload
ldr x23, [sp, #24] // 8-byte Folded Reload
ldr d8, [sp], #64 // 8-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
.cfi_restore b8
ret
.LBB0_8:
.cfi_restore_state
mov x0, x19
mov x1, x22
mov x2, x21
mov x3, x20
bl TextureMatrixFromPoints
adrp x8, qtrue
add x8, x8, :lo12:qtrue
b .LBB0_7
.Lfunc_end0:
.size CM_GenerateFacetFor4Points, .Lfunc_end0-CM_GenerateFacetFor4Points
.cfi_endproc
// -- End function
.type qfalse,@object // @qfalse
.bss
.globl qfalse
.p2align 2, 0x0
qfalse:
.word 0 // 0x0
.size qfalse, 4
.type PLANAR_EPSILON,@object // @PLANAR_EPSILON
.globl PLANAR_EPSILON
.p2align 3, 0x0
PLANAR_EPSILON:
.xword 0 // 0x0
.size PLANAR_EPSILON, 8
.type qtrue,@object // @qtrue
.globl qtrue
.p2align 2, 0x0
qtrue:
.word 0 // 0x0
.size qtrue, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_light_trace.c_CM_GenerateFacetFor4Points.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 // -- Begin function CM_GenerateFacetFor4Points
.LCPI0_0:
.xword 0x3feccccccccccccd // double 0.90000000000000002
.text
.globl CM_GenerateFacetFor4Points
.p2align 2
.type CM_GenerateFacetFor4Points,@function
CM_GenerateFacetFor4Points: // @CM_GenerateFacetFor4Points
.cfi_startproc
// %bb.0:
str d8, [sp, #-64]! // 8-byte Folded Spill
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #8] // 16-byte Folded Spill
str x23, [sp, #24] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
add x29, sp, #8
.cfi_def_cfa w29, 56
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w30, -48
.cfi_offset w29, -56
.cfi_offset b8, -64
.cfi_remember_state
mov x20, x3
mov x21, x2
mov x22, x1
mov x19, x0
ldr x3, [x3]
mov x23, x4
ldr x1, [x1]
ldr x0, [x0]
ldr x2, [x2]
bl PlaneFromPoints
cbz w0, .LBB0_8
// %bb.1:
ldr x0, [x23]
ldr x1, [x19]
bl DotProduct
ldr x8, [x19]
ldr s1, [x8, #12]
fcvt d1, s1
fsub d0, d0, d1
fcvt s0, d0
bl fabs
adrp x8, PLANAR_EPSILON
ldr x8, [x8, :lo12:PLANAR_EPSILON]
cmp x0, x8
b.gt .LBB0_8
// %bb.2:
mov w8, #4 // =0x4
ldr x9, [x19, #24]
ldr x1, [x19]
ldr x2, [x22]
str w8, [x19, #8]
ldr x3, [x21]
ldr w0, [x9]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #24]
ldr x1, [x19]
ldr x2, [x21]
ldr w0, [x8, #4]
ldr x3, [x20]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #24]
ldr x1, [x19]
ldr x2, [x20]
ldr w0, [x8, #8]
ldr x3, [x23]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #24]
ldr x1, [x19]
ldr x2, [x23]
ldr w0, [x8, #12]
ldr x3, [x22]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #16]
ldr x0, [x22]
ldr x1, [x8]
bl VectorCopy
ldr x8, [x19, #16]
ldr x0, [x21]
ldr x1, [x8, #8]
bl VectorCopy
ldr x8, [x19, #16]
ldr x0, [x20]
ldr x1, [x8, #16]
bl VectorCopy
ldr x8, [x19, #16]
ldr x0, [x23]
ldr x1, [x8, #24]
bl VectorCopy
ldr x8, [x19, #16]
ldp x1, x2, [x8, #8]
ldr x3, [x8, #24]
bl PlaneFromPoints
cbz w0, .LBB0_8
// %bb.3:
ldr x0, [x19]
bl DotProduct
adrp x8, .LCPI0_0
ldr d8, [x8, :lo12:.LCPI0_0]
fcmp d0, d8
b.mi .LBB0_8
// %bb.4:
ldr x8, [x19, #16]
ldp x1, x2, [x8, #16]
ldr x3, [x8]
bl PlaneFromPoints
cbz w0, .LBB0_8
// %bb.5:
ldr x0, [x19]
bl DotProduct
fcmp d0, d8
b.mi .LBB0_8
// %bb.6:
ldr x8, [x19, #16]
ldp x2, x3, [x8]
ldr x1, [x8, #24]
bl PlaneFromPoints
cbz w0, .LBB0_8
// %bb.7:
ldr x0, [x19]
bl DotProduct
fcmp d0, d8
b.pl .LBB0_10
.LBB0_8:
str wzr, [x19, #8]
adrp x8, qfalse
add x8, x8, :lo12:qfalse
.LBB0_9:
ldr w0, [x8]
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #8] // 16-byte Folded Reload
ldr x23, [sp, #24] // 8-byte Folded Reload
ldr d8, [sp], #64 // 8-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
.cfi_restore b8
ret
.LBB0_10:
.cfi_restore_state
mov x0, x19
mov x1, x22
mov x2, x21
mov x3, x20
bl TextureMatrixFromPoints
adrp x8, qtrue
add x8, x8, :lo12:qtrue
b .LBB0_9
.Lfunc_end0:
.size CM_GenerateFacetFor4Points, .Lfunc_end0-CM_GenerateFacetFor4Points
.cfi_endproc
// -- End function
.type qfalse,@object // @qfalse
.bss
.globl qfalse
.p2align 2, 0x0
qfalse:
.word 0 // 0x0
.size qfalse, 4
.type PLANAR_EPSILON,@object // @PLANAR_EPSILON
.globl PLANAR_EPSILON
.p2align 3, 0x0
PLANAR_EPSILON:
.xword 0 // 0x0
.size PLANAR_EPSILON, 8
.type qtrue,@object // @qtrue
.globl qtrue
.p2align 2, 0x0
qtrue:
.word 0 // 0x0
.size qtrue, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_light_trace.c_CM_GenerateFacetFor4Points.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 // -- Begin function CM_GenerateFacetFor4Points
.LCPI0_0:
.xword 0x3feccccccccccccd // double 0.90000000000000002
.text
.globl CM_GenerateFacetFor4Points
.p2align 2
.type CM_GenerateFacetFor4Points,@function
CM_GenerateFacetFor4Points: // @CM_GenerateFacetFor4Points
.cfi_startproc
// %bb.0:
str d8, [sp, #-64]! // 8-byte Folded Spill
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #8] // 16-byte Folded Spill
str x23, [sp, #24] // 8-byte Folded Spill
stp x22, x21, [sp, #32] // 16-byte Folded Spill
stp x20, x19, [sp, #48] // 16-byte Folded Spill
add x29, sp, #8
.cfi_def_cfa w29, 56
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w30, -48
.cfi_offset w29, -56
.cfi_offset b8, -64
.cfi_remember_state
mov x20, x3
mov x21, x2
mov x22, x1
mov x19, x0
ldr x3, [x3]
mov x23, x4
ldr x1, [x1]
ldr x0, [x0]
ldr x2, [x2]
bl PlaneFromPoints
cbz w0, .LBB0_8
// %bb.1:
ldr x0, [x23]
ldr x1, [x19]
bl DotProduct
ldr x8, [x19]
ldr s1, [x8, #12]
fcvt d1, s1
fsub d0, d0, d1
fcvt s0, d0
bl fabs
adrp x8, PLANAR_EPSILON
ldr x8, [x8, :lo12:PLANAR_EPSILON]
cmp x0, x8
b.gt .LBB0_8
// %bb.2:
mov w8, #4 // =0x4
ldr x9, [x19, #24]
ldr x1, [x19]
ldr x2, [x22]
str w8, [x19, #8]
ldr x3, [x21]
ldr w0, [x9]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #24]
ldr x1, [x19]
ldr x2, [x21]
ldr w0, [x8, #4]
ldr x3, [x20]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #24]
ldr x1, [x19]
ldr x2, [x20]
ldr w0, [x8, #8]
ldr x3, [x23]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #24]
ldr x1, [x19]
ldr x2, [x23]
ldr w0, [x8, #12]
ldr x3, [x22]
bl CM_GenerateBoundaryForPoints
ldr x8, [x19, #16]
ldr x0, [x22]
ldr x1, [x8]
bl VectorCopy
ldr x8, [x19, #16]
ldr x0, [x21]
ldr x1, [x8, #8]
bl VectorCopy
ldr x8, [x19, #16]
ldr x0, [x20]
ldr x1, [x8, #16]
bl VectorCopy
ldr x8, [x19, #16]
ldr x0, [x23]
ldr x1, [x8, #24]
bl VectorCopy
ldr x8, [x19, #16]
ldp x1, x2, [x8, #8]
ldr x3, [x8, #24]
bl PlaneFromPoints
cbz w0, .LBB0_8
// %bb.3:
ldr x0, [x19]
bl DotProduct
adrp x8, .LCPI0_0
ldr d8, [x8, :lo12:.LCPI0_0]
fcmp d0, d8
b.mi .LBB0_8
// %bb.4:
ldr x8, [x19, #16]
ldp x1, x2, [x8, #16]
ldr x3, [x8]
bl PlaneFromPoints
cbz w0, .LBB0_8
// %bb.5:
ldr x0, [x19]
bl DotProduct
fcmp d0, d8
b.mi .LBB0_8
// %bb.6:
ldr x8, [x19, #16]
ldp x2, x3, [x8]
ldr x1, [x8, #24]
bl PlaneFromPoints
cbz w0, .LBB0_8
// %bb.7:
ldr x0, [x19]
bl DotProduct
fcmp d0, d8
b.pl .LBB0_10
.LBB0_8:
str wzr, [x19, #8]
adrp x8, qfalse
add x8, x8, :lo12:qfalse
.LBB0_9:
ldr w0, [x8]
.cfi_def_cfa wsp, 64
ldp x20, x19, [sp, #48] // 16-byte Folded Reload
ldp x22, x21, [sp, #32] // 16-byte Folded Reload
ldp x29, x30, [sp, #8] // 16-byte Folded Reload
ldr x23, [sp, #24] // 8-byte Folded Reload
ldr d8, [sp], #64 // 8-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w30
.cfi_restore w29
.cfi_restore b8
ret
.LBB0_10:
.cfi_restore_state
mov x0, x19
mov x1, x22
mov x2, x21
mov x3, x20
bl TextureMatrixFromPoints
adrp x8, qtrue
add x8, x8, :lo12:qtrue
b .LBB0_9
.Lfunc_end0:
.size CM_GenerateFacetFor4Points, .Lfunc_end0-CM_GenerateFacetFor4Points
.cfi_endproc
// -- End function
.type qfalse,@object // @qfalse
.bss
.globl qfalse
.p2align 2, 0x0
qfalse:
.word 0 // 0x0
.size qfalse, 4
.type PLANAR_EPSILON,@object // @PLANAR_EPSILON
.globl PLANAR_EPSILON
.p2align 3, 0x0
PLANAR_EPSILON:
.xword 0 // 0x0
.size PLANAR_EPSILON, 8
.type qtrue,@object // @qtrue
.globl qtrue
.p2align 2, 0x0
qtrue:
.word 0 // 0x0
.size qtrue, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_light_trace.c_CM_GenerateFacetFor4Points.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function CM_GenerateFacetFor4Points
.LCPI0_0:
.quad 0x3feccccccccccccd # double 0.90000000000000002
.text
.globl CM_GenerateFacetFor4Points
.p2align 4, 0x90
.type CM_GenerateFacetFor4Points,@function
CM_GenerateFacetFor4Points: # @CM_GenerateFacetFor4Points
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rdi
movq -24(%rbp), %rax
movq (%rax), %rsi
movq -32(%rbp), %rax
movq (%rax), %rdx
movq -40(%rbp), %rax
movq (%rax), %rcx
callq PlaneFromPoints@PLT
cmpl $0, %eax
jne .LBB0_2
# %bb.1:
movq -16(%rbp), %rax
movl $0, 8(%rax)
movl qfalse(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_13
.LBB0_2:
movq -48(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq (%rax), %rsi
callq DotProduct@PLT
movq -16(%rbp), %rax
movq (%rax), %rax
movss 12(%rax), %xmm1 # xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
subsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -52(%rbp)
movss -52(%rbp), %xmm0 # xmm0 = mem[0],zero,zero,zero
callq fabs@PLT
cmpq PLANAR_EPSILON(%rip), %rax
jle .LBB0_4
# %bb.3:
movq -16(%rbp), %rax
movl $0, 8(%rax)
movl qfalse(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_13
.LBB0_4:
movq -16(%rbp), %rax
movl $4, 8(%rax)
movq -16(%rbp), %rax
movq 24(%rax), %rax
movl (%rax), %edi
movq -16(%rbp), %rax
movq (%rax), %rsi
movq -24(%rbp), %rax
movq (%rax), %rdx
movq -32(%rbp), %rax
movq (%rax), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq -16(%rbp), %rax
movq 24(%rax), %rax
movl 4(%rax), %edi
movq -16(%rbp), %rax
movq (%rax), %rsi
movq -32(%rbp), %rax
movq (%rax), %rdx
movq -40(%rbp), %rax
movq (%rax), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq -16(%rbp), %rax
movq 24(%rax), %rax
movl 8(%rax), %edi
movq -16(%rbp), %rax
movq (%rax), %rsi
movq -40(%rbp), %rax
movq (%rax), %rdx
movq -48(%rbp), %rax
movq (%rax), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq -16(%rbp), %rax
movq 24(%rax), %rax
movl 12(%rax), %edi
movq -16(%rbp), %rax
movq (%rax), %rsi
movq -48(%rbp), %rax
movq (%rax), %rdx
movq -24(%rbp), %rax
movq (%rax), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq -24(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq (%rax), %rsi
callq VectorCopy@PLT
movq -32(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq 8(%rax), %rsi
callq VectorCopy@PLT
movq -40(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq 16(%rax), %rsi
callq VectorCopy@PLT
movq -48(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq 24(%rax), %rsi
callq VectorCopy@PLT
movl $1, -56(%rbp)
.LBB0_5: # =>This Inner Loop Header: Depth=1
cmpl $4, -56(%rbp)
jge .LBB0_12
# %bb.6: # in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %rdi
movq -16(%rbp), %rax
movq 16(%rax), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -88(%rbp) # 8-byte Spill
movl -56(%rbp), %eax
addl $1, %eax
movl $4, %ecx
cltd
idivl %ecx
movq -88(%rbp), %rax # 8-byte Reload
movslq %edx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -72(%rbp) # 8-byte Spill
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -80(%rbp) # 8-byte Spill
movl -56(%rbp), %eax
addl $2, %eax
movl $4, %ecx
cltd
idivl %ecx
movq -80(%rbp), %rax # 8-byte Reload
movl %edx, %ecx
movq -72(%rbp), %rdx # 8-byte Reload
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
callq PlaneFromPoints@PLT
cmpl $0, %eax
jne .LBB0_8
# %bb.7:
movq -16(%rbp), %rax
movl $0, 8(%rax)
movl qfalse(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_13
.LBB0_8: # in Loop: Header=BB0_5 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rdi
movq -64(%rbp), %rsi
callq DotProduct@PLT
movaps %xmm0, %xmm1
movsd .LCPI0_0(%rip), %xmm0 # xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe .LBB0_10
# %bb.9:
movq -16(%rbp), %rax
movl $0, 8(%rax)
movl qfalse(%rip), %eax
movl %eax, -4(%rbp)
jmp .LBB0_13
.LBB0_10: # in Loop: Header=BB0_5 Depth=1
jmp .LBB0_11
.LBB0_11: # in Loop: Header=BB0_5 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp .LBB0_5
.LBB0_12:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
movq -40(%rbp), %rcx
callq TextureMatrixFromPoints@PLT
movl qtrue(%rip), %eax
movl %eax, -4(%rbp)
.LBB0_13:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size CM_GenerateFacetFor4Points, .Lfunc_end0-CM_GenerateFacetFor4Points
.cfi_endproc
# -- End function
.type qfalse,@object # @qfalse
.bss
.globl qfalse
.p2align 2, 0x0
qfalse:
.long 0 # 0x0
.size qfalse, 4
.type PLANAR_EPSILON,@object # @PLANAR_EPSILON
.globl PLANAR_EPSILON
.p2align 3, 0x0
PLANAR_EPSILON:
.quad 0 # 0x0
.size PLANAR_EPSILON, 8
.type qtrue,@object # @qtrue
.globl qtrue
.p2align 2, 0x0
qtrue:
.long 0 # 0x0
.size qtrue, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym PlaneFromPoints
.addrsig_sym DotProduct
.addrsig_sym fabs
.addrsig_sym CM_GenerateBoundaryForPoints
.addrsig_sym VectorCopy
.addrsig_sym TextureMatrixFromPoints
.addrsig_sym qfalse
.addrsig_sym PLANAR_EPSILON
.addrsig_sym qtrue
| .text
.file "extr_light_trace.c_CM_GenerateFacetFor4Points.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function CM_GenerateFacetFor4Points
.LCPI0_0:
.quad 0x3feccccccccccccd # double 0.90000000000000002
.text
.globl CM_GenerateFacetFor4Points
.p2align 4, 0x90
.type CM_GenerateFacetFor4Points,@function
CM_GenerateFacetFor4Points: # @CM_GenerateFacetFor4Points
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r13
.cfi_def_cfa_offset 32
pushq %r12
.cfi_def_cfa_offset 40
pushq %rbx
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r13, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %r8, %r13
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movq (%rdi), %rdi
movq (%rsi), %rsi
movq (%rdx), %rdx
movq (%rcx), %rcx
callq PlaneFromPoints@PLT
testl %eax, %eax
je .LBB0_1
# %bb.2:
movq (%r13), %rdi
movq (%r14), %rsi
callq DotProduct@PLT
movq (%r14), %rax
movss 12(%rax), %xmm1 # xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
subsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
callq fabs@PLT
cmpq PLANAR_EPSILON(%rip), %rax
jg .LBB0_1
# %bb.3:
movl $4, 8(%r14)
movq (%r14), %rsi
movq 24(%r14), %rax
movl (%rax), %edi
movq (%r12), %rdx
movq (%r15), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r14), %rsi
movq 24(%r14), %rax
movl 4(%rax), %edi
movq (%r15), %rdx
movq (%rbx), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r14), %rsi
movq 24(%r14), %rax
movl 8(%rax), %edi
movq (%rbx), %rdx
movq (%r13), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r14), %rsi
movq 24(%r14), %rax
movl 12(%rax), %edi
movq (%r13), %rdx
movq (%r12), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r12), %rdi
movq 16(%r14), %rax
movq (%rax), %rsi
callq VectorCopy@PLT
movq (%r15), %rdi
movq 16(%r14), %rax
movq 8(%rax), %rsi
callq VectorCopy@PLT
movq (%rbx), %rdi
movq 16(%r14), %rax
movq 16(%rax), %rsi
callq VectorCopy@PLT
movq (%r13), %rdi
movq 16(%r14), %rax
movq 24(%rax), %rsi
callq VectorCopy@PLT
movl $3, %r13d
.p2align 4, 0x90
.LBB0_4: # =>This Inner Loop Header: Depth=1
cmpq $6, %r13
je .LBB0_7
# %bb.5: # in Loop: Header=BB0_4 Depth=1
movq 16(%r14), %rax
movq -16(%rax,%r13,8), %rsi
leal -1(%r13), %ecx
andl $3, %ecx
movq (%rax,%rcx,8), %rdx
movl %r13d, %ecx
andl $3, %ecx
movq (%rax,%rcx,8), %rcx
callq PlaneFromPoints@PLT
testl %eax, %eax
je .LBB0_1
# %bb.6: # in Loop: Header=BB0_4 Depth=1
movq (%r14), %rdi
callq DotProduct@PLT
incq %r13
movsd .LCPI0_0(%rip), %xmm1 # xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jbe .LBB0_4
.LBB0_1:
movl $0, 8(%r14)
leaq qfalse(%rip), %rax
.LBB0_8:
movl (%rax), %eax
popq %rbx
.cfi_def_cfa_offset 40
popq %r12
.cfi_def_cfa_offset 32
popq %r13
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.LBB0_7:
.cfi_def_cfa_offset 48
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq TextureMatrixFromPoints@PLT
leaq qtrue(%rip), %rax
jmp .LBB0_8
.Lfunc_end0:
.size CM_GenerateFacetFor4Points, .Lfunc_end0-CM_GenerateFacetFor4Points
.cfi_endproc
# -- End function
.type qfalse,@object # @qfalse
.bss
.globl qfalse
.p2align 2, 0x0
qfalse:
.long 0 # 0x0
.size qfalse, 4
.type PLANAR_EPSILON,@object # @PLANAR_EPSILON
.globl PLANAR_EPSILON
.p2align 3, 0x0
PLANAR_EPSILON:
.quad 0 # 0x0
.size PLANAR_EPSILON, 8
.type qtrue,@object # @qtrue
.globl qtrue
.p2align 2, 0x0
qtrue:
.long 0 # 0x0
.size qtrue, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_light_trace.c_CM_GenerateFacetFor4Points.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function CM_GenerateFacetFor4Points
.LCPI0_0:
.quad 0x3feccccccccccccd # double 0.90000000000000002
.text
.globl CM_GenerateFacetFor4Points
.p2align 4, 0x90
.type CM_GenerateFacetFor4Points,@function
CM_GenerateFacetFor4Points: # @CM_GenerateFacetFor4Points
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r13
.cfi_def_cfa_offset 32
pushq %r12
.cfi_def_cfa_offset 40
pushq %rbx
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r13, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %r8, %r13
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movq (%rdi), %rdi
movq (%rsi), %rsi
movq (%rdx), %rdx
movq (%rcx), %rcx
callq PlaneFromPoints@PLT
testl %eax, %eax
je .LBB0_1
# %bb.2:
movq (%r13), %rdi
movq (%r14), %rsi
callq DotProduct@PLT
movq (%r14), %rax
movss 12(%rax), %xmm1 # xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
subsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
callq fabs@PLT
cmpq PLANAR_EPSILON(%rip), %rax
jg .LBB0_1
# %bb.3:
movl $4, 8(%r14)
movq (%r14), %rsi
movq 24(%r14), %rax
movl (%rax), %edi
movq (%r12), %rdx
movq (%r15), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r14), %rsi
movq 24(%r14), %rax
movl 4(%rax), %edi
movq (%r15), %rdx
movq (%rbx), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r14), %rsi
movq 24(%r14), %rax
movl 8(%rax), %edi
movq (%rbx), %rdx
movq (%r13), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r14), %rsi
movq 24(%r14), %rax
movl 12(%rax), %edi
movq (%r13), %rdx
movq (%r12), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r12), %rdi
movq 16(%r14), %rax
movq (%rax), %rsi
callq VectorCopy@PLT
movq (%r15), %rdi
movq 16(%r14), %rax
movq 8(%rax), %rsi
callq VectorCopy@PLT
movq (%rbx), %rdi
movq 16(%r14), %rax
movq 16(%rax), %rsi
callq VectorCopy@PLT
movq (%r13), %rdi
movq 16(%r14), %rax
movq 24(%rax), %rsi
callq VectorCopy@PLT
movq 16(%r14), %rax
movq 8(%rax), %rsi
movq 16(%rax), %rdx
movq 24(%rax), %rcx
callq PlaneFromPoints@PLT
testl %eax, %eax
je .LBB0_1
# %bb.4:
movq (%r14), %rdi
callq DotProduct@PLT
movsd .LCPI0_0(%rip), %xmm1 # xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja .LBB0_1
# %bb.5:
movq 16(%r14), %rax
movq (%rax), %rcx
movq 16(%rax), %rsi
movq 24(%rax), %rdx
callq PlaneFromPoints@PLT
testl %eax, %eax
je .LBB0_1
# %bb.6:
movq (%r14), %rdi
callq DotProduct@PLT
movsd .LCPI0_0(%rip), %xmm1 # xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja .LBB0_1
# %bb.7:
movq 16(%r14), %rax
movq 24(%rax), %rsi
movq (%rax), %rdx
movq 8(%rax), %rcx
callq PlaneFromPoints@PLT
testl %eax, %eax
je .LBB0_1
# %bb.8:
movq (%r14), %rdi
callq DotProduct@PLT
movsd .LCPI0_0(%rip), %xmm1 # xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jbe .LBB0_9
.LBB0_1:
movl $0, 8(%r14)
leaq qfalse(%rip), %rax
.LBB0_10:
movl (%rax), %eax
popq %rbx
.cfi_def_cfa_offset 40
popq %r12
.cfi_def_cfa_offset 32
popq %r13
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.LBB0_9:
.cfi_def_cfa_offset 48
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq TextureMatrixFromPoints@PLT
leaq qtrue(%rip), %rax
jmp .LBB0_10
.Lfunc_end0:
.size CM_GenerateFacetFor4Points, .Lfunc_end0-CM_GenerateFacetFor4Points
.cfi_endproc
# -- End function
.type qfalse,@object # @qfalse
.bss
.globl qfalse
.p2align 2, 0x0
qfalse:
.long 0 # 0x0
.size qfalse, 4
.type PLANAR_EPSILON,@object # @PLANAR_EPSILON
.globl PLANAR_EPSILON
.p2align 3, 0x0
PLANAR_EPSILON:
.quad 0 # 0x0
.size PLANAR_EPSILON, 8
.type qtrue,@object # @qtrue
.globl qtrue
.p2align 2, 0x0
qtrue:
.long 0 # 0x0
.size qtrue, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_light_trace.c_CM_GenerateFacetFor4Points.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function CM_GenerateFacetFor4Points
.LCPI0_0:
.quad 0x3feccccccccccccd # double 0.90000000000000002
.text
.globl CM_GenerateFacetFor4Points
.p2align 4, 0x90
.type CM_GenerateFacetFor4Points,@function
CM_GenerateFacetFor4Points: # @CM_GenerateFacetFor4Points
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %r13
.cfi_def_cfa_offset 32
pushq %r12
.cfi_def_cfa_offset 40
pushq %rbx
.cfi_def_cfa_offset 48
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r13, -32
.cfi_offset %r14, -24
.cfi_offset %r15, -16
movq %r8, %r13
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movq (%rdi), %rdi
movq (%rsi), %rsi
movq (%rdx), %rdx
movq (%rcx), %rcx
callq PlaneFromPoints@PLT
testl %eax, %eax
je .LBB0_1
# %bb.2:
movq (%r13), %rdi
movq (%r14), %rsi
callq DotProduct@PLT
movq (%r14), %rax
movss 12(%rax), %xmm1 # xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
subsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
callq fabs@PLT
cmpq PLANAR_EPSILON(%rip), %rax
jg .LBB0_1
# %bb.3:
movl $4, 8(%r14)
movq (%r14), %rsi
movq 24(%r14), %rax
movl (%rax), %edi
movq (%r12), %rdx
movq (%r15), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r14), %rsi
movq 24(%r14), %rax
movl 4(%rax), %edi
movq (%r15), %rdx
movq (%rbx), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r14), %rsi
movq 24(%r14), %rax
movl 8(%rax), %edi
movq (%rbx), %rdx
movq (%r13), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r14), %rsi
movq 24(%r14), %rax
movl 12(%rax), %edi
movq (%r13), %rdx
movq (%r12), %rcx
callq CM_GenerateBoundaryForPoints@PLT
movq (%r12), %rdi
movq 16(%r14), %rax
movq (%rax), %rsi
callq VectorCopy@PLT
movq (%r15), %rdi
movq 16(%r14), %rax
movq 8(%rax), %rsi
callq VectorCopy@PLT
movq (%rbx), %rdi
movq 16(%r14), %rax
movq 16(%rax), %rsi
callq VectorCopy@PLT
movq (%r13), %rdi
movq 16(%r14), %rax
movq 24(%rax), %rsi
callq VectorCopy@PLT
movq 16(%r14), %rax
movq 8(%rax), %rsi
movq 16(%rax), %rdx
movq 24(%rax), %rcx
callq PlaneFromPoints@PLT
testl %eax, %eax
je .LBB0_1
# %bb.4:
movq (%r14), %rdi
callq DotProduct@PLT
movsd .LCPI0_0(%rip), %xmm1 # xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja .LBB0_1
# %bb.5:
movq 16(%r14), %rax
movq (%rax), %rcx
movq 16(%rax), %rsi
movq 24(%rax), %rdx
callq PlaneFromPoints@PLT
testl %eax, %eax
je .LBB0_1
# %bb.6:
movq (%r14), %rdi
callq DotProduct@PLT
movsd .LCPI0_0(%rip), %xmm1 # xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja .LBB0_1
# %bb.7:
movq 16(%r14), %rax
movq 24(%rax), %rsi
movq (%rax), %rdx
movq 8(%rax), %rcx
callq PlaneFromPoints@PLT
testl %eax, %eax
je .LBB0_1
# %bb.8:
movq (%r14), %rdi
callq DotProduct@PLT
movsd .LCPI0_0(%rip), %xmm1 # xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jbe .LBB0_9
.LBB0_1:
movl $0, 8(%r14)
leaq qfalse(%rip), %rax
.LBB0_10:
movl (%rax), %eax
popq %rbx
.cfi_def_cfa_offset 40
popq %r12
.cfi_def_cfa_offset 32
popq %r13
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %r15
.cfi_def_cfa_offset 8
retq
.LBB0_9:
.cfi_def_cfa_offset 48
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq TextureMatrixFromPoints@PLT
leaq qtrue(%rip), %rax
jmp .LBB0_10
.Lfunc_end0:
.size CM_GenerateFacetFor4Points, .Lfunc_end0-CM_GenerateFacetFor4Points
.cfi_endproc
# -- End function
.type qfalse,@object # @qfalse
.bss
.globl qfalse
.p2align 2, 0x0
qfalse:
.long 0 # 0x0
.size qfalse, 4
.type PLANAR_EPSILON,@object # @PLANAR_EPSILON
.globl PLANAR_EPSILON
.p2align 3, 0x0
PLANAR_EPSILON:
.quad 0 # 0x0
.size PLANAR_EPSILON, 8
.type qtrue,@object # @qtrue
.globl qtrue
.p2align 2, 0x0
qtrue:
.long 0 # 0x0
.size qtrue, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_vis.c_NewWinding.c | .text
.file "extr_vis.c_NewWinding.c"
.globl NewWinding // -- Begin function NewWinding
.p2align 2
.type NewWinding,@function
NewWinding: // @NewWinding
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
adrp x9, MAX_POINTS_ON_WINDING
ldr w9, [x9, :lo12:MAX_POINTS_ON_WINDING]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, .LBB0_2
b .LBB0_1
.LBB0_1:
ldur w1, [x29, #-4]
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl Error
b .LBB0_2
.LBB0_2:
mov x8, xzr
ldr x8, [x8]
ldursw x9, [x29, #-4]
ldr x8, [x8, x9, lsl #3]
// kill: def $w8 killed $w8 killed $x8
str w8, [sp, #12]
ldr w0, [sp, #12]
bl malloc
str x0, [sp, #16]
ldr x0, [sp, #16]
ldr w2, [sp, #12]
mov w1, wzr
bl memset
ldr x0, [sp, #16]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size NewWinding, .Lfunc_end0-NewWinding
.cfi_endproc
// -- End function
.type MAX_POINTS_ON_WINDING,@object // @MAX_POINTS_ON_WINDING
.bss
.globl MAX_POINTS_ON_WINDING
.p2align 2, 0x0
MAX_POINTS_ON_WINDING:
.word 0 // 0x0
.size MAX_POINTS_ON_WINDING, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "NewWinding: %i points"
.size .L.str, 22
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym Error
.addrsig_sym malloc
.addrsig_sym memset
.addrsig_sym MAX_POINTS_ON_WINDING
| .text
.file "extr_vis.c_NewWinding.c"
.globl NewWinding // -- Begin function NewWinding
.p2align 2
.type NewWinding,@function
NewWinding: // @NewWinding
.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
mov w1, w0
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl Error
.Lfunc_end0:
.size NewWinding, .Lfunc_end0-NewWinding
.cfi_endproc
// -- End function
.type MAX_POINTS_ON_WINDING,@object // @MAX_POINTS_ON_WINDING
.bss
.globl MAX_POINTS_ON_WINDING
.p2align 2, 0x0
MAX_POINTS_ON_WINDING:
.word 0 // 0x0
.size MAX_POINTS_ON_WINDING, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "NewWinding: %i points"
.size .L.str, 22
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_vis.c_NewWinding.c"
.globl NewWinding // -- Begin function NewWinding
.p2align 2
.type NewWinding,@function
NewWinding: // @NewWinding
.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
mov w1, w0
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl Error
.Lfunc_end0:
.size NewWinding, .Lfunc_end0-NewWinding
.cfi_endproc
// -- End function
.type MAX_POINTS_ON_WINDING,@object // @MAX_POINTS_ON_WINDING
.bss
.globl MAX_POINTS_ON_WINDING
.p2align 2, 0x0
MAX_POINTS_ON_WINDING:
.word 0 // 0x0
.size MAX_POINTS_ON_WINDING, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "NewWinding: %i points"
.size .L.str, 22
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_vis.c_NewWinding.c"
.globl NewWinding // -- Begin function NewWinding
.p2align 2
.type NewWinding,@function
NewWinding: // @NewWinding
.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
mov w1, w0
adrp x0, .L.str
add x0, x0, :lo12:.L.str
bl Error
.Lfunc_end0:
.size NewWinding, .Lfunc_end0-NewWinding
.cfi_endproc
// -- End function
.type MAX_POINTS_ON_WINDING,@object // @MAX_POINTS_ON_WINDING
.bss
.globl MAX_POINTS_ON_WINDING
.p2align 2, 0x0
MAX_POINTS_ON_WINDING:
.word 0 // 0x0
.size MAX_POINTS_ON_WINDING, 4
.type .L.str,@object // @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "NewWinding: %i points"
.size .L.str, 22
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_vis.c_NewWinding.c"
.globl NewWinding # -- Begin function NewWinding
.p2align 4, 0x90
.type NewWinding,@function
NewWinding: # @NewWinding
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
cmpl MAX_POINTS_ON_WINDING(%rip), %eax
jle .LBB0_2
# %bb.1:
movl -4(%rbp), %esi
leaq .L.str(%rip), %rdi
callq Error@PLT
.LBB0_2:
xorl %eax, %eax
# kill: def $rax killed $eax
movq (%rax), %rax
movslq -4(%rbp), %rcx
movq (%rax,%rcx,8), %rax
# kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl -20(%rbp), %edi
callq malloc@PLT
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
movl -20(%rbp), %edx
xorl %esi, %esi
callq memset@PLT
movq -16(%rbp), %rax
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size NewWinding, .Lfunc_end0-NewWinding
.cfi_endproc
# -- End function
.type MAX_POINTS_ON_WINDING,@object # @MAX_POINTS_ON_WINDING
.bss
.globl MAX_POINTS_ON_WINDING
.p2align 2, 0x0
MAX_POINTS_ON_WINDING:
.long 0 # 0x0
.size MAX_POINTS_ON_WINDING, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "NewWinding: %i points"
.size .L.str, 22
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym Error
.addrsig_sym malloc
.addrsig_sym memset
.addrsig_sym MAX_POINTS_ON_WINDING
| .text
.file "extr_vis.c_NewWinding.c"
.globl NewWinding # -- Begin function NewWinding
.p2align 4, 0x90
.type NewWinding,@function
NewWinding: # @NewWinding
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
movl %edi, %esi
leaq .L.str(%rip), %rdi
callq Error@PLT
.Lfunc_end0:
.size NewWinding, .Lfunc_end0-NewWinding
.cfi_endproc
# -- End function
.type MAX_POINTS_ON_WINDING,@object # @MAX_POINTS_ON_WINDING
.bss
.globl MAX_POINTS_ON_WINDING
.p2align 2, 0x0
MAX_POINTS_ON_WINDING:
.long 0 # 0x0
.size MAX_POINTS_ON_WINDING, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "NewWinding: %i points"
.size .L.str, 22
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_vis.c_NewWinding.c"
.globl NewWinding # -- Begin function NewWinding
.p2align 4, 0x90
.type NewWinding,@function
NewWinding: # @NewWinding
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
movl %edi, %esi
leaq .L.str(%rip), %rdi
callq Error@PLT
.Lfunc_end0:
.size NewWinding, .Lfunc_end0-NewWinding
.cfi_endproc
# -- End function
.type MAX_POINTS_ON_WINDING,@object # @MAX_POINTS_ON_WINDING
.bss
.globl MAX_POINTS_ON_WINDING
.p2align 2, 0x0
MAX_POINTS_ON_WINDING:
.long 0 # 0x0
.size MAX_POINTS_ON_WINDING, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "NewWinding: %i points"
.size .L.str, 22
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_vis.c_NewWinding.c"
.globl NewWinding # -- Begin function NewWinding
.p2align 4, 0x90
.type NewWinding,@function
NewWinding: # @NewWinding
.cfi_startproc
# %bb.0:
pushq %rax
.cfi_def_cfa_offset 16
movl %edi, %esi
leaq .L.str(%rip), %rdi
callq Error@PLT
.Lfunc_end0:
.size NewWinding, .Lfunc_end0-NewWinding
.cfi_endproc
# -- End function
.type MAX_POINTS_ON_WINDING,@object # @MAX_POINTS_ON_WINDING
.bss
.globl MAX_POINTS_ON_WINDING
.p2align 2, 0x0
MAX_POINTS_ON_WINDING:
.long 0 # 0x0
.size MAX_POINTS_ON_WINDING, 4
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "NewWinding: %i points"
.size .L.str, 22
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_light_trace.c_SphereFromBounds.c | .text
.file "extr_light_trace.c_SphereFromBounds.c"
.globl SphereFromBounds // -- Begin function SphereFromBounds
.p2align 2
.type SphereFromBounds,@function
SphereFromBounds: // @SphereFromBounds
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
str x3, [sp, #8]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
ldur w2, [x29, #-12]
bl VectorAdd
ldur w0, [x29, #-12]
ldur w1, [x29, #-12]
fmov d0, #0.50000000
bl VectorScale
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
ldr w2, [sp, #4]
bl VectorSubtract
ldr w0, [sp, #4]
bl VectorLength
ldr x8, [sp, #8]
str s0, [x8]
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size SphereFromBounds, .Lfunc_end0-SphereFromBounds
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym VectorAdd
.addrsig_sym VectorScale
.addrsig_sym VectorSubtract
.addrsig_sym VectorLength
| .text
.file "extr_light_trace.c_SphereFromBounds.c"
.globl SphereFromBounds // -- Begin function SphereFromBounds
.p2align 2
.type SphereFromBounds,@function
SphereFromBounds: // @SphereFromBounds
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x19, x3
mov w20, w2
mov w21, w1
bl VectorAdd
fmov d0, #0.50000000
mov w0, w20
mov w1, w20
bl VectorScale
mov w0, w21
mov w1, w20
bl VectorSubtract
bl VectorLength
str s0, [x19]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size SphereFromBounds, .Lfunc_end0-SphereFromBounds
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_light_trace.c_SphereFromBounds.c"
.globl SphereFromBounds // -- Begin function SphereFromBounds
.p2align 2
.type SphereFromBounds,@function
SphereFromBounds: // @SphereFromBounds
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x19, x3
mov w20, w2
mov w21, w1
bl VectorAdd
fmov d0, #0.50000000
mov w0, w20
mov w1, w20
bl VectorScale
mov w0, w21
mov w1, w20
bl VectorSubtract
bl VectorLength
str s0, [x19]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size SphereFromBounds, .Lfunc_end0-SphereFromBounds
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_light_trace.c_SphereFromBounds.c"
.globl SphereFromBounds // -- Begin function SphereFromBounds
.p2align 2
.type SphereFromBounds,@function
SphereFromBounds: // @SphereFromBounds
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov x19, x3
mov w20, w2
mov w21, w1
bl VectorAdd
fmov d0, #0.50000000
mov w0, w20
mov w1, w20
bl VectorScale
mov w0, w21
mov w1, w20
bl VectorSubtract
bl VectorLength
str s0, [x19]
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size SphereFromBounds, .Lfunc_end0-SphereFromBounds
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_light_trace.c_SphereFromBounds.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function SphereFromBounds
.LCPI0_0:
.quad 0x3fe0000000000000 # double 0.5
.text
.globl SphereFromBounds
.p2align 4, 0x90
.type SphereFromBounds,@function
SphereFromBounds: # @SphereFromBounds
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movq %rcx, -24(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
movl -12(%rbp), %edx
callq VectorAdd@PLT
movl -12(%rbp), %edi
movl -12(%rbp), %esi
movsd .LCPI0_0(%rip), %xmm0 # xmm0 = mem[0],zero
callq VectorScale@PLT
movl -8(%rbp), %edi
movl -12(%rbp), %esi
movl -28(%rbp), %edx
callq VectorSubtract@PLT
movl -28(%rbp), %edi
callq VectorLength@PLT
movq -24(%rbp), %rax
movss %xmm0, (%rax)
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size SphereFromBounds, .Lfunc_end0-SphereFromBounds
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym VectorAdd
.addrsig_sym VectorScale
.addrsig_sym VectorSubtract
.addrsig_sym VectorLength
| .text
.file "extr_light_trace.c_SphereFromBounds.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function SphereFromBounds
.LCPI0_0:
.quad 0x3fe0000000000000 # double 0.5
.text
.globl SphereFromBounds
.p2align 4, 0x90
.type SphereFromBounds,@function
SphereFromBounds: # @SphereFromBounds
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
movq %rcx, %rbx
movl %edx, %ebp
movl %esi, %r14d
callq VectorAdd@PLT
movsd .LCPI0_0(%rip), %xmm0 # xmm0 = mem[0],zero
movl %ebp, %edi
movl %ebp, %esi
callq VectorScale@PLT
movl %r14d, %edi
movl %ebp, %esi
callq VectorSubtract@PLT
callq VectorLength@PLT
movss %xmm0, (%rbx)
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size SphereFromBounds, .Lfunc_end0-SphereFromBounds
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_light_trace.c_SphereFromBounds.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function SphereFromBounds
.LCPI0_0:
.quad 0x3fe0000000000000 # double 0.5
.text
.globl SphereFromBounds
.p2align 4, 0x90
.type SphereFromBounds,@function
SphereFromBounds: # @SphereFromBounds
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
movq %rcx, %rbx
movl %edx, %ebp
movl %esi, %r14d
callq VectorAdd@PLT
movsd .LCPI0_0(%rip), %xmm0 # xmm0 = mem[0],zero
movl %ebp, %edi
movl %ebp, %esi
callq VectorScale@PLT
movl %r14d, %edi
movl %ebp, %esi
callq VectorSubtract@PLT
callq VectorLength@PLT
movss %xmm0, (%rbx)
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size SphereFromBounds, .Lfunc_end0-SphereFromBounds
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_light_trace.c_SphereFromBounds.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function SphereFromBounds
.LCPI0_0:
.quad 0x3fe0000000000000 # double 0.5
.text
.globl SphereFromBounds
.p2align 4, 0x90
.type SphereFromBounds,@function
SphereFromBounds: # @SphereFromBounds
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
movq %rcx, %rbx
movl %edx, %ebp
movl %esi, %r14d
callq VectorAdd@PLT
movsd .LCPI0_0(%rip), %xmm0 # xmm0 = mem[0],zero
movl %ebp, %edi
movl %ebp, %esi
callq VectorScale@PLT
movl %r14d, %edi
movl %ebp, %esi
callq VectorSubtract@PLT
callq VectorLength@PLT
movss %xmm0, (%rbx)
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size SphereFromBounds, .Lfunc_end0-SphereFromBounds
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_mesh.c_ProjectPointOntoVector.c | .text
.file "extr_mesh.c_ProjectPointOntoVector.c"
.globl ProjectPointOntoVector // -- Begin function ProjectPointOntoVector
.p2align 2
.type ProjectPointOntoVector,@function
ProjectPointOntoVector: // @ProjectPointOntoVector
.cfi_startproc
// %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] // 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
str w3, [sp, #16]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
ldr w2, [sp, #12]
bl VectorSubtract
ldur w0, [x29, #-12]
ldur w1, [x29, #-8]
ldr w2, [sp, #8]
bl VectorSubtract
ldr w0, [sp, #8]
ldr w1, [sp, #8]
bl VectorNormalize
ldur w8, [x29, #-8]
str w8, [sp, #4] // 4-byte Folded Spill
ldr w0, [sp, #12]
ldr w1, [sp, #8]
bl DotProduct
mov w1, w0
ldr w0, [sp, #4] // 4-byte Folded Reload
ldr w2, [sp, #8]
ldr w3, [sp, #16]
bl VectorMA
.cfi_def_cfa wsp, 48
ldp x29, x30, [sp, #32] // 16-byte Folded Reload
add sp, sp, #48
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size ProjectPointOntoVector, .Lfunc_end0-ProjectPointOntoVector
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym VectorSubtract
.addrsig_sym VectorNormalize
.addrsig_sym VectorMA
.addrsig_sym DotProduct
| .text
.file "extr_mesh.c_ProjectPointOntoVector.c"
.globl ProjectPointOntoVector // -- Begin function ProjectPointOntoVector
.p2align 2
.type ProjectPointOntoVector,@function
ProjectPointOntoVector: // @ProjectPointOntoVector
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w19, w3
mov w20, w2
mov w21, w1
bl VectorSubtract
mov w0, w20
mov w1, w21
bl VectorSubtract
bl VectorNormalize
bl DotProduct
mov w1, w0
mov w0, w21
mov w3, w19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b VectorMA
.Lfunc_end0:
.size ProjectPointOntoVector, .Lfunc_end0-ProjectPointOntoVector
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_mesh.c_ProjectPointOntoVector.c"
.globl ProjectPointOntoVector // -- Begin function ProjectPointOntoVector
.p2align 2
.type ProjectPointOntoVector,@function
ProjectPointOntoVector: // @ProjectPointOntoVector
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w19, w3
mov w20, w2
mov w21, w1
bl VectorSubtract
mov w0, w20
mov w1, w21
bl VectorSubtract
bl VectorNormalize
bl DotProduct
mov w1, w0
mov w0, w21
mov w3, w19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b VectorMA
.Lfunc_end0:
.size ProjectPointOntoVector, .Lfunc_end0-ProjectPointOntoVector
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_mesh.c_ProjectPointOntoVector.c"
.globl ProjectPointOntoVector // -- Begin function ProjectPointOntoVector
.p2align 2
.type ProjectPointOntoVector,@function
ProjectPointOntoVector: // @ProjectPointOntoVector
.cfi_startproc
// %bb.0:
stp x29, x30, [sp, #-48]! // 16-byte Folded Spill
.cfi_def_cfa_offset 48
str x21, [sp, #16] // 8-byte Folded Spill
stp x20, x19, [sp, #32] // 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 48
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -32
.cfi_offset w30, -40
.cfi_offset w29, -48
mov w19, w3
mov w20, w2
mov w21, w1
bl VectorSubtract
mov w0, w20
mov w1, w21
bl VectorSubtract
bl VectorNormalize
bl DotProduct
mov w1, w0
mov w0, w21
mov w3, w19
.cfi_def_cfa wsp, 48
ldp x20, x19, [sp, #32] // 16-byte Folded Reload
ldr x21, [sp, #16] // 8-byte Folded Reload
ldp x29, x30, [sp], #48 // 16-byte Folded Reload
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w30
.cfi_restore w29
b VectorMA
.Lfunc_end0:
.size ProjectPointOntoVector, .Lfunc_end0-ProjectPointOntoVector
.cfi_endproc
// -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_mesh.c_ProjectPointOntoVector.c"
.globl ProjectPointOntoVector # -- Begin function ProjectPointOntoVector
.p2align 4, 0x90
.type ProjectPointOntoVector,@function
ProjectPointOntoVector: # @ProjectPointOntoVector
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl %ecx, -16(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
movl -20(%rbp), %edx
callq VectorSubtract@PLT
movl -12(%rbp), %edi
movl -8(%rbp), %esi
movl -24(%rbp), %edx
callq VectorSubtract@PLT
movl -24(%rbp), %edi
movl -24(%rbp), %esi
callq VectorNormalize@PLT
movl -8(%rbp), %eax
movl %eax, -28(%rbp) # 4-byte Spill
movl -20(%rbp), %edi
movl -24(%rbp), %esi
callq DotProduct@PLT
movl -28(%rbp), %edi # 4-byte Reload
movl %eax, %esi
movl -24(%rbp), %edx
movl -16(%rbp), %ecx
callq VectorMA@PLT
addq $32, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size ProjectPointOntoVector, .Lfunc_end0-ProjectPointOntoVector
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym VectorSubtract
.addrsig_sym VectorNormalize
.addrsig_sym VectorMA
.addrsig_sym DotProduct
| .text
.file "extr_mesh.c_ProjectPointOntoVector.c"
.globl ProjectPointOntoVector # -- Begin function ProjectPointOntoVector
.p2align 4, 0x90
.type ProjectPointOntoVector,@function
ProjectPointOntoVector: # @ProjectPointOntoVector
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
movl %ecx, %ebx
movl %edx, %ebp
movl %esi, %r14d
callq VectorSubtract@PLT
movl %ebp, %edi
movl %r14d, %esi
callq VectorSubtract@PLT
callq VectorNormalize@PLT
callq DotProduct@PLT
movl %r14d, %edi
movl %eax, %esi
movl %ebx, %ecx
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp VectorMA@PLT # TAILCALL
.Lfunc_end0:
.size ProjectPointOntoVector, .Lfunc_end0-ProjectPointOntoVector
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_mesh.c_ProjectPointOntoVector.c"
.globl ProjectPointOntoVector # -- Begin function ProjectPointOntoVector
.p2align 4, 0x90
.type ProjectPointOntoVector,@function
ProjectPointOntoVector: # @ProjectPointOntoVector
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
movl %ecx, %ebx
movl %edx, %ebp
movl %esi, %r14d
callq VectorSubtract@PLT
movl %ebp, %edi
movl %r14d, %esi
callq VectorSubtract@PLT
callq VectorNormalize@PLT
callq DotProduct@PLT
movl %r14d, %edi
movl %eax, %esi
movl %ebx, %ecx
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp VectorMA@PLT # TAILCALL
.Lfunc_end0:
.size ProjectPointOntoVector, .Lfunc_end0-ProjectPointOntoVector
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_mesh.c_ProjectPointOntoVector.c"
.globl ProjectPointOntoVector # -- Begin function ProjectPointOntoVector
.p2align 4, 0x90
.type ProjectPointOntoVector,@function
ProjectPointOntoVector: # @ProjectPointOntoVector
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
pushq %rbx
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
.cfi_offset %rbp, -16
movl %ecx, %ebx
movl %edx, %ebp
movl %esi, %r14d
callq VectorSubtract@PLT
movl %ebp, %edi
movl %r14d, %esi
callq VectorSubtract@PLT
callq VectorNormalize@PLT
callq DotProduct@PLT
movl %r14d, %edi
movl %eax, %esi
movl %ebx, %ecx
popq %rbx
.cfi_def_cfa_offset 24
popq %r14
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
jmp VectorMA@PLT # TAILCALL
.Lfunc_end0:
.size ProjectPointOntoVector, .Lfunc_end0-ProjectPointOntoVector
.cfi_endproc
# -- End function
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_soundv.c_VS_WindingForBrushSide.c | .text
.file "extr_soundv.c_VS_WindingForBrushSide.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 // -- Begin function VS_WindingForBrushSide
.LCPI0_0:
.xword 0x3fb999999999999a // double 0.10000000000000001
.text
.globl VS_WindingForBrushSide
.p2align 2
.type VS_WindingForBrushSide,@function
VS_WindingForBrushSide: // @VS_WindingForBrushSide
.cfi_startproc
// %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] // 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur x2, [x29, #-32]
adrp x8, dplanes
str x8, [sp, #24] // 8-byte Folded Spill
ldr x8, [x8, :lo12:dplanes]
adrp x9, dbrushsides
str x9, [sp, #32] // 8-byte Folded Spill
ldr x9, [x9, :lo12:dbrushsides]
ldur x10, [x29, #-16]
ldr w10, [x10]
ldur w11, [x29, #-20]
add w10, w10, w11
ldr x9, [x9, w10, sxtw #3]
add x8, x8, x9, lsl #3
ldr w0, [x8, #4]
ldr w1, [sp, #44]
bl VectorCopy
ldr w0, [sp, #44]
bl VectorInverse
ldr x8, [sp, #24] // 8-byte Folded Reload
ldr x9, [sp, #32] // 8-byte Folded Reload
ldr x8, [x8, :lo12:dplanes]
ldr x9, [x9, :lo12:dbrushsides]
ldur x10, [x29, #-16]
ldr w10, [x10]
ldur w11, [x29, #-20]
add w10, w10, w11
ldr x9, [x9, w10, sxtw #3]
lsl x9, x9, #3
ldr w9, [x8, x9]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #40]
ldr w0, [sp, #44]
ldr w1, [sp, #40]
bl BaseWindingForPlane
str x0, [sp, #48]
ldur x8, [x29, #-32]
ldr w0, [x8, #4]
ldr x8, [sp, #48]
ldr w1, [x8, #4]
ldr x8, [sp, #48]
ldrsw x9, [x8]
mov x8, #4 // =0x4
mul x8, x8, x9
mov w2, w8
bl memcpy
ldr x8, [sp, #48]
ldr w8, [x8]
ldur x9, [x29, #-32]
str w8, [x9]
stur wzr, [x29, #-36]
b .LBB0_1
.LBB0_1: // =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-36]
ldur x9, [x29, #-16]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, .LBB0_8
b .LBB0_2
.LBB0_2: // in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-36]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_4
b .LBB0_3
.LBB0_3: // in Loop: Header=BB0_1 Depth=1
b .LBB0_7
.LBB0_4: // in Loop: Header=BB0_1 Depth=1
adrp x8, dplanes
str x8, [sp] // 8-byte Folded Spill
ldr x8, [x8, :lo12:dplanes]
adrp x9, dbrushsides
str x9, [sp, #8] // 8-byte Folded Spill
ldr x9, [x9, :lo12:dbrushsides]
ldur x10, [x29, #-16]
ldr w10, [x10]
ldur w11, [x29, #-36]
add w10, w10, w11
ldr x9, [x9, w10, sxtw #3]
add x8, x8, x9, lsl #3
ldr w0, [x8, #4]
add x8, sp, #40
str x8, [sp, #16] // 8-byte Folded Spill
ldr w1, [sp, #44]
bl VectorCopy
ldr w0, [sp, #44]
bl VectorInverse
ldr x8, [sp] // 8-byte Folded Reload
ldr x9, [sp, #8] // 8-byte Folded Reload
ldr x1, [sp, #16] // 8-byte Folded Reload
ldr x8, [x8, :lo12:dplanes]
ldr x9, [x9, :lo12:dbrushsides]
ldur x10, [x29, #-16]
ldr w10, [x10]
ldur w11, [x29, #-36]
add w10, w10, w11
ldr x9, [x9, w10, sxtw #3]
lsl x9, x9, #3
ldr w9, [x8, x9]
mov w8, wzr
subs w8, w8, w9
str w8, [sp, #40]
ldur x0, [x29, #-32]
adrp x8, .LCPI0_0
ldr d0, [x8, :lo12:.LCPI0_0]
bl VS_ChopWinding
stur w0, [x29, #-40]
ldur w8, [x29, #-40]
adrp x9, SIDE_BACK
ldr w9, [x9, :lo12:SIDE_BACK]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, .LBB0_6
b .LBB0_5
.LBB0_5:
// kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b .LBB0_9
.LBB0_6: // in Loop: Header=BB0_1 Depth=1
b .LBB0_7
.LBB0_7: // in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b .LBB0_1
.LBB0_8:
ldur x8, [x29, #-32]
stur x8, [x29, #-8]
b .LBB0_9
.LBB0_9:
ldur x0, [x29, #-8]
.cfi_def_cfa wsp, 112
ldp x29, x30, [sp, #96] // 16-byte Folded Reload
add sp, sp, #112
.cfi_def_cfa_offset 0
.cfi_restore w30
.cfi_restore w29
ret
.Lfunc_end0:
.size VS_WindingForBrushSide, .Lfunc_end0-VS_WindingForBrushSide
.cfi_endproc
// -- End function
.type dplanes,@object // @dplanes
.bss
.globl dplanes
.p2align 3, 0x0
dplanes:
.xword 0
.size dplanes, 8
.type dbrushsides,@object // @dbrushsides
.globl dbrushsides
.p2align 3, 0x0
dbrushsides:
.xword 0
.size dbrushsides, 8
.type SIDE_BACK,@object // @SIDE_BACK
.globl SIDE_BACK
.p2align 2, 0x0
SIDE_BACK:
.word 0 // 0x0
.size SIDE_BACK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym VectorCopy
.addrsig_sym VectorInverse
.addrsig_sym BaseWindingForPlane
.addrsig_sym memcpy
.addrsig_sym VS_ChopWinding
.addrsig_sym dplanes
.addrsig_sym dbrushsides
.addrsig_sym SIDE_BACK
| .text
.file "extr_soundv.c_VS_WindingForBrushSide.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 // -- Begin function VS_WindingForBrushSide
.LCPI0_0:
.xword 0x3fb999999999999a // double 0.10000000000000001
.text
.globl VS_WindingForBrushSide
.p2align 2
.type VS_WindingForBrushSide,@function
VS_WindingForBrushSide: // @VS_WindingForBrushSide
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
str d8, [sp, #16] // 8-byte Folded Spill
stp x29, x30, [sp, #24] // 16-byte Folded Spill
str x25, [sp, #40] // 8-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
add x29, sp, #24
.cfi_def_cfa w29, 72
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w30, -64
.cfi_offset w29, -72
.cfi_offset b8, -80
ldr w8, [x0]
adrp x23, dbrushsides
adrp x24, dplanes
mov w21, w1
mov x20, x0
mov x19, x2
add w8, w8, w1
ldr x9, [x23, :lo12:dbrushsides]
ldr w1, [sp, #12]
ldr x8, [x9, w8, sxtw #3]
ldr x9, [x24, :lo12:dplanes]
add x8, x9, x8, lsl #3
ldr w0, [x8, #4]
bl VectorCopy
ldr w0, [sp, #12]
bl VectorInverse
ldr w8, [x20]
ldr x9, [x23, :lo12:dbrushsides]
ldr w0, [sp, #12]
add w8, w8, w21
ldr x8, [x9, w8, sxtw #3]
ldr x9, [x24, :lo12:dplanes]
lsl x8, x8, #3
ldr w8, [x9, x8]
neg w1, w8
str w1, [sp, #8]
bl BaseWindingForPlane
mov x22, x0
ldr w0, [x19, #4]
ldp w8, w1, [x22]
lsl w2, w8, #2
bl memcpy
ldr w8, [x20, #4]
ldr w9, [x22]
cmp w8, #1
str w9, [x19]
b.lt .LBB0_6
// %bb.1:
adrp x8, .LCPI0_0
mov x22, xzr
mov w21, w21
adrp x25, SIDE_BACK
ldr d8, [x8, :lo12:.LCPI0_0]
b .LBB0_3
.LBB0_2: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x20, #4]
add x22, x22, #1
cmp w22, w8
b.ge .LBB0_6
.LBB0_3: // =>This Inner Loop Header: Depth=1
cmp w21, w22
b.eq .LBB0_2
// %bb.4: // in Loop: Header=BB0_3 Depth=1
ldrsw x8, [x20]
ldr x9, [x23, :lo12:dbrushsides]
ldr w1, [sp, #12]
add x8, x22, x8
ldr x8, [x9, x8, lsl #3]
ldr x9, [x24, :lo12:dplanes]
add x8, x9, x8, lsl #3
ldr w0, [x8, #4]
bl VectorCopy
ldr w0, [sp, #12]
bl VectorInverse
ldrsw x8, [x20]
fmov d0, d8
ldr x9, [x23, :lo12:dbrushsides]
add x1, sp, #8
mov x0, x19
add x8, x22, x8
ldr x8, [x9, x8, lsl #3]
ldr x9, [x24, :lo12:dplanes]
lsl x8, x8, #3
ldr w8, [x9, x8]
neg w8, w8
str w8, [sp, #8]
bl VS_ChopWinding
ldr w8, [x25, :lo12:SIDE_BACK]
cmp w0, w8
b.ne .LBB0_2
// %bb.5:
mov x19, xzr
.LBB0_6:
mov x0, x19
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x29, x30, [sp, #24] // 16-byte Folded Reload
ldr x25, [sp, #40] // 8-byte Folded Reload
ldr d8, [sp, #16] // 8-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
.cfi_restore b8
ret
.Lfunc_end0:
.size VS_WindingForBrushSide, .Lfunc_end0-VS_WindingForBrushSide
.cfi_endproc
// -- End function
.type dplanes,@object // @dplanes
.bss
.globl dplanes
.p2align 3, 0x0
dplanes:
.xword 0
.size dplanes, 8
.type dbrushsides,@object // @dbrushsides
.globl dbrushsides
.p2align 3, 0x0
dbrushsides:
.xword 0
.size dbrushsides, 8
.type SIDE_BACK,@object // @SIDE_BACK
.globl SIDE_BACK
.p2align 2, 0x0
SIDE_BACK:
.word 0 // 0x0
.size SIDE_BACK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_soundv.c_VS_WindingForBrushSide.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 // -- Begin function VS_WindingForBrushSide
.LCPI0_0:
.xword 0x3fb999999999999a // double 0.10000000000000001
.text
.globl VS_WindingForBrushSide
.p2align 2
.type VS_WindingForBrushSide,@function
VS_WindingForBrushSide: // @VS_WindingForBrushSide
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
str d8, [sp, #16] // 8-byte Folded Spill
stp x29, x30, [sp, #24] // 16-byte Folded Spill
str x25, [sp, #40] // 8-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
add x29, sp, #24
.cfi_def_cfa w29, 72
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w30, -64
.cfi_offset w29, -72
.cfi_offset b8, -80
ldr w8, [x0]
adrp x23, dbrushsides
adrp x24, dplanes
mov x20, x0
mov x19, x2
mov w21, w1
add w8, w8, w1
ldr x9, [x23, :lo12:dbrushsides]
ldr x8, [x9, w8, sxtw #3]
ldr x9, [x24, :lo12:dplanes]
add x8, x9, x8, lsl #3
ldr w0, [x8, #4]
bl VectorCopy
bl VectorInverse
ldr w8, [x20]
ldr x9, [x23, :lo12:dbrushsides]
add w8, w8, w21
ldr x8, [x9, w8, sxtw #3]
ldr x9, [x24, :lo12:dplanes]
lsl x8, x8, #3
ldr w8, [x9, x8]
neg w1, w8
str w1, [sp, #8]
bl BaseWindingForPlane
mov x22, x0
ldr w0, [x19, #4]
ldp w8, w1, [x22]
lsl w2, w8, #2
bl memcpy
ldr w8, [x20, #4]
ldr w9, [x22]
cmp w8, #1
str w9, [x19]
b.lt .LBB0_7
// %bb.1:
adrp x9, .LCPI0_0
mov x22, xzr
mov w21, w21
adrp x25, SIDE_BACK
ldr d8, [x9, :lo12:.LCPI0_0]
b .LBB0_3
.LBB0_2: // in Loop: Header=BB0_3 Depth=1
add x22, x22, #1
cmp w22, w8
b.ge .LBB0_7
.LBB0_3: // =>This Inner Loop Header: Depth=1
cmp w21, w22
b.eq .LBB0_2
// %bb.4: // in Loop: Header=BB0_3 Depth=1
ldrsw x8, [x20]
ldr x9, [x23, :lo12:dbrushsides]
ldr w1, [sp, #12]
add x8, x22, x8
ldr x8, [x9, x8, lsl #3]
ldr x9, [x24, :lo12:dplanes]
add x8, x9, x8, lsl #3
ldr w0, [x8, #4]
bl VectorCopy
ldr w0, [sp, #12]
bl VectorInverse
ldrsw x8, [x20]
fmov d0, d8
ldr x9, [x23, :lo12:dbrushsides]
add x1, sp, #8
mov x0, x19
add x8, x22, x8
ldr x8, [x9, x8, lsl #3]
ldr x9, [x24, :lo12:dplanes]
lsl x8, x8, #3
ldr w8, [x9, x8]
neg w8, w8
str w8, [sp, #8]
bl VS_ChopWinding
ldr w8, [x25, :lo12:SIDE_BACK]
cmp w0, w8
b.eq .LBB0_6
// %bb.5: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x20, #4]
b .LBB0_2
.LBB0_6:
mov x19, xzr
.LBB0_7:
mov x0, x19
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x29, x30, [sp, #24] // 16-byte Folded Reload
ldr x25, [sp, #40] // 8-byte Folded Reload
ldr d8, [sp, #16] // 8-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
.cfi_restore b8
ret
.Lfunc_end0:
.size VS_WindingForBrushSide, .Lfunc_end0-VS_WindingForBrushSide
.cfi_endproc
// -- End function
.type dplanes,@object // @dplanes
.bss
.globl dplanes
.p2align 3, 0x0
dplanes:
.xword 0
.size dplanes, 8
.type dbrushsides,@object // @dbrushsides
.globl dbrushsides
.p2align 3, 0x0
dbrushsides:
.xword 0
.size dbrushsides, 8
.type SIDE_BACK,@object // @SIDE_BACK
.globl SIDE_BACK
.p2align 2, 0x0
SIDE_BACK:
.word 0 // 0x0
.size SIDE_BACK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_soundv.c_VS_WindingForBrushSide.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 // -- Begin function VS_WindingForBrushSide
.LCPI0_0:
.xword 0x3fb999999999999a // double 0.10000000000000001
.text
.globl VS_WindingForBrushSide
.p2align 2
.type VS_WindingForBrushSide,@function
VS_WindingForBrushSide: // @VS_WindingForBrushSide
.cfi_startproc
// %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
str d8, [sp, #16] // 8-byte Folded Spill
stp x29, x30, [sp, #24] // 16-byte Folded Spill
str x25, [sp, #40] // 8-byte Folded Spill
stp x24, x23, [sp, #48] // 16-byte Folded Spill
stp x22, x21, [sp, #64] // 16-byte Folded Spill
stp x20, x19, [sp, #80] // 16-byte Folded Spill
add x29, sp, #24
.cfi_def_cfa w29, 72
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w30, -64
.cfi_offset w29, -72
.cfi_offset b8, -80
ldr w8, [x0]
adrp x23, dbrushsides
adrp x24, dplanes
mov x20, x0
mov x19, x2
mov w21, w1
add w8, w8, w1
ldr x9, [x23, :lo12:dbrushsides]
ldr x8, [x9, w8, sxtw #3]
ldr x9, [x24, :lo12:dplanes]
add x8, x9, x8, lsl #3
ldr w0, [x8, #4]
bl VectorCopy
bl VectorInverse
ldr w8, [x20]
ldr x9, [x23, :lo12:dbrushsides]
add w8, w8, w21
ldr x8, [x9, w8, sxtw #3]
ldr x9, [x24, :lo12:dplanes]
lsl x8, x8, #3
ldr w8, [x9, x8]
neg w1, w8
str w1, [sp, #8]
bl BaseWindingForPlane
mov x22, x0
ldr w0, [x19, #4]
ldp w8, w1, [x22]
lsl w2, w8, #2
bl memcpy
ldr w8, [x20, #4]
ldr w9, [x22]
cmp w8, #1
str w9, [x19]
b.lt .LBB0_7
// %bb.1:
adrp x9, .LCPI0_0
mov x22, xzr
mov w21, w21
adrp x25, SIDE_BACK
ldr d8, [x9, :lo12:.LCPI0_0]
b .LBB0_3
.LBB0_2: // in Loop: Header=BB0_3 Depth=1
add x22, x22, #1
cmp w22, w8
b.ge .LBB0_7
.LBB0_3: // =>This Inner Loop Header: Depth=1
cmp w21, w22
b.eq .LBB0_2
// %bb.4: // in Loop: Header=BB0_3 Depth=1
ldrsw x8, [x20]
ldr x9, [x23, :lo12:dbrushsides]
ldr w1, [sp, #12]
add x8, x22, x8
ldr x8, [x9, x8, lsl #3]
ldr x9, [x24, :lo12:dplanes]
add x8, x9, x8, lsl #3
ldr w0, [x8, #4]
bl VectorCopy
ldr w0, [sp, #12]
bl VectorInverse
ldrsw x8, [x20]
fmov d0, d8
ldr x9, [x23, :lo12:dbrushsides]
add x1, sp, #8
mov x0, x19
add x8, x22, x8
ldr x8, [x9, x8, lsl #3]
ldr x9, [x24, :lo12:dplanes]
lsl x8, x8, #3
ldr w8, [x9, x8]
neg w8, w8
str w8, [sp, #8]
bl VS_ChopWinding
ldr w8, [x25, :lo12:SIDE_BACK]
cmp w0, w8
b.eq .LBB0_6
// %bb.5: // in Loop: Header=BB0_3 Depth=1
ldr w8, [x20, #4]
b .LBB0_2
.LBB0_6:
mov x19, xzr
.LBB0_7:
mov x0, x19
.cfi_def_cfa wsp, 96
ldp x20, x19, [sp, #80] // 16-byte Folded Reload
ldp x22, x21, [sp, #64] // 16-byte Folded Reload
ldp x24, x23, [sp, #48] // 16-byte Folded Reload
ldp x29, x30, [sp, #24] // 16-byte Folded Reload
ldr x25, [sp, #40] // 8-byte Folded Reload
ldr d8, [sp, #16] // 8-byte Folded Reload
add sp, sp, #96
.cfi_def_cfa_offset 0
.cfi_restore w19
.cfi_restore w20
.cfi_restore w21
.cfi_restore w22
.cfi_restore w23
.cfi_restore w24
.cfi_restore w25
.cfi_restore w30
.cfi_restore w29
.cfi_restore b8
ret
.Lfunc_end0:
.size VS_WindingForBrushSide, .Lfunc_end0-VS_WindingForBrushSide
.cfi_endproc
// -- End function
.type dplanes,@object // @dplanes
.bss
.globl dplanes
.p2align 3, 0x0
dplanes:
.xword 0
.size dplanes, 8
.type dbrushsides,@object // @dbrushsides
.globl dbrushsides
.p2align 3, 0x0
dbrushsides:
.xword 0
.size dbrushsides, 8
.type SIDE_BACK,@object // @SIDE_BACK
.globl SIDE_BACK
.p2align 2, 0x0
SIDE_BACK:
.word 0 // 0x0
.size SIDE_BACK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_soundv.c_VS_WindingForBrushSide.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function VS_WindingForBrushSide
.LCPI0_0:
.quad 0x3fb999999999999a # double 0.10000000000000001
.text
.globl VS_WindingForBrushSide
.p2align 4, 0x90
.type VS_WindingForBrushSide,@function
VS_WindingForBrushSide: # @VS_WindingForBrushSide
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movq -16(%rbp), %rdx
movl (%rdx), %edx
addl -20(%rbp), %edx
movslq %edx, %rdx
movq (%rcx,%rdx,8), %rcx
movl 4(%rax,%rcx,8), %edi
movl -52(%rbp), %esi
callq VectorCopy@PLT
movl -52(%rbp), %edi
callq VectorInverse@PLT
movq dplanes(%rip), %rcx
movq dbrushsides(%rip), %rax
movq -16(%rbp), %rdx
movl (%rdx), %edx
addl -20(%rbp), %edx
movslq %edx, %rdx
movq (%rax,%rdx,8), %rdx
xorl %eax, %eax
subl (%rcx,%rdx,8), %eax
movl %eax, -56(%rbp)
movl -52(%rbp), %edi
movl -56(%rbp), %esi
callq BaseWindingForPlane@PLT
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movl 4(%rax), %edi
movq -48(%rbp), %rax
movl 4(%rax), %esi
movq -48(%rbp), %rax
movslq (%rax), %rax
shlq $2, %rax
movl %eax, %edx
callq memcpy@PLT
movq -48(%rbp), %rax
movl (%rax), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
movl $0, -36(%rbp)
.LBB0_1: # =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 4(%rcx), %eax
jge .LBB0_8
# %bb.2: # in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
cmpl -20(%rbp), %eax
jne .LBB0_4
# %bb.3: # in Loop: Header=BB0_1 Depth=1
jmp .LBB0_7
.LBB0_4: # in Loop: Header=BB0_1 Depth=1
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movq -16(%rbp), %rdx
movl (%rdx), %edx
addl -36(%rbp), %edx
movslq %edx, %rdx
movq (%rcx,%rdx,8), %rcx
movl 4(%rax,%rcx,8), %edi
movl -52(%rbp), %esi
callq VectorCopy@PLT
movl -52(%rbp), %edi
callq VectorInverse@PLT
movq dplanes(%rip), %rcx
movq dbrushsides(%rip), %rax
movq -16(%rbp), %rdx
movl (%rdx), %edx
addl -36(%rbp), %edx
movslq %edx, %rdx
movq (%rax,%rdx,8), %rdx
xorl %eax, %eax
subl (%rcx,%rdx,8), %eax
movl %eax, -56(%rbp)
movq -32(%rbp), %rdi
leaq -56(%rbp), %rsi
movsd .LCPI0_0(%rip), %xmm0 # xmm0 = mem[0],zero
callq VS_ChopWinding@PLT
movl %eax, -40(%rbp)
movl -40(%rbp), %eax
cmpl SIDE_BACK(%rip), %eax
jne .LBB0_6
# %bb.5:
movq $0, -8(%rbp)
jmp .LBB0_9
.LBB0_6: # in Loop: Header=BB0_1 Depth=1
jmp .LBB0_7
.LBB0_7: # in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp .LBB0_1
.LBB0_8:
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
.LBB0_9:
movq -8(%rbp), %rax
addq $64, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
.Lfunc_end0:
.size VS_WindingForBrushSide, .Lfunc_end0-VS_WindingForBrushSide
.cfi_endproc
# -- End function
.type dplanes,@object # @dplanes
.bss
.globl dplanes
.p2align 3, 0x0
dplanes:
.quad 0
.size dplanes, 8
.type dbrushsides,@object # @dbrushsides
.globl dbrushsides
.p2align 3, 0x0
dbrushsides:
.quad 0
.size dbrushsides, 8
.type SIDE_BACK,@object # @SIDE_BACK
.globl SIDE_BACK
.p2align 2, 0x0
SIDE_BACK:
.long 0 # 0x0
.size SIDE_BACK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
.addrsig_sym VectorCopy
.addrsig_sym VectorInverse
.addrsig_sym BaseWindingForPlane
.addrsig_sym memcpy
.addrsig_sym VS_ChopWinding
.addrsig_sym dplanes
.addrsig_sym dbrushsides
.addrsig_sym SIDE_BACK
| .text
.file "extr_soundv.c_VS_WindingForBrushSide.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function VS_WindingForBrushSide
.LCPI0_0:
.quad 0x3fb999999999999a # double 0.10000000000000001
.text
.globl VS_WindingForBrushSide
.p2align 4, 0x90
.type VS_WindingForBrushSide,@function
VS_WindingForBrushSide: # @VS_WindingForBrushSide
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%rdi), %rdx
movslq %esi, %r15
addq %r15, %rdx
movq (%rcx,%rdx,8), %rcx
movl 4(%rax,%rcx,8), %edi
movl 4(%rsp), %esi
callq VectorCopy@PLT
movl 4(%rsp), %edi
callq VectorInverse@PLT
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%r14), %rdx
addq %r15, %rdx
movq (%rcx,%rdx,8), %rcx
xorl %esi, %esi
subl (%rax,%rcx,8), %esi
movl %esi, (%rsp)
movl 4(%rsp), %edi
callq BaseWindingForPlane@PLT
movq %rax, %r15
movl 4(%rbx), %edi
movl (%rax), %edx
movl 4(%rax), %esi
shll $2, %edx
callq memcpy@PLT
movl (%r15), %eax
movl %eax, (%rbx)
cmpl $0, 4(%r14)
jle .LBB0_6
# %bb.1:
movl %ebp, %r12d
movq %rsp, %r15
xorl %r13d, %r13d
jmp .LBB0_2
.p2align 4, 0x90
.LBB0_5: # in Loop: Header=BB0_2 Depth=1
incq %r13
cmpl 4(%r14), %r13d
jge .LBB0_6
.LBB0_2: # =>This Inner Loop Header: Depth=1
cmpl %r13d, %r12d
je .LBB0_5
# %bb.3: # in Loop: Header=BB0_2 Depth=1
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%r14), %rdx
addq %r13, %rdx
movq (%rcx,%rdx,8), %rcx
movl 4(%rax,%rcx,8), %edi
movl 4(%rsp), %esi
callq VectorCopy@PLT
movl 4(%rsp), %edi
callq VectorInverse@PLT
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%r14), %rdx
addq %r13, %rdx
movq (%rcx,%rdx,8), %rcx
xorl %edx, %edx
subl (%rax,%rcx,8), %edx
movl %edx, (%rsp)
movq %rbx, %rdi
movq %r15, %rsi
movsd .LCPI0_0(%rip), %xmm0 # xmm0 = mem[0],zero
callq VS_ChopWinding@PLT
cmpl SIDE_BACK(%rip), %eax
jne .LBB0_5
# %bb.4:
xorl %ebx, %ebx
.LBB0_6:
movq %rbx, %rax
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size VS_WindingForBrushSide, .Lfunc_end0-VS_WindingForBrushSide
.cfi_endproc
# -- End function
.type dplanes,@object # @dplanes
.bss
.globl dplanes
.p2align 3, 0x0
dplanes:
.quad 0
.size dplanes, 8
.type dbrushsides,@object # @dbrushsides
.globl dbrushsides
.p2align 3, 0x0
dbrushsides:
.quad 0
.size dbrushsides, 8
.type SIDE_BACK,@object # @SIDE_BACK
.globl SIDE_BACK
.p2align 2, 0x0
SIDE_BACK:
.long 0 # 0x0
.size SIDE_BACK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_soundv.c_VS_WindingForBrushSide.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function VS_WindingForBrushSide
.LCPI0_0:
.quad 0x3fb999999999999a # double 0.10000000000000001
.text
.globl VS_WindingForBrushSide
.p2align 4, 0x90
.type VS_WindingForBrushSide,@function
VS_WindingForBrushSide: # @VS_WindingForBrushSide
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%rdi), %rdx
movslq %esi, %r15
addq %r15, %rdx
movq (%rcx,%rdx,8), %rcx
movl 4(%rax,%rcx,8), %edi
callq VectorCopy@PLT
callq VectorInverse@PLT
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%r14), %rdx
addq %r15, %rdx
movq (%rcx,%rdx,8), %rcx
xorl %esi, %esi
subl (%rax,%rcx,8), %esi
movl %esi, (%rsp)
callq BaseWindingForPlane@PLT
movq %rax, %r15
movl 4(%rbx), %edi
movl (%rax), %edx
movl 4(%rax), %esi
shll $2, %edx
callq memcpy@PLT
movl (%r15), %eax
movl %eax, (%rbx)
movl 4(%r14), %eax
testl %eax, %eax
jle .LBB0_7
# %bb.1:
movl %ebp, %r12d
movq %rsp, %r15
xorl %r13d, %r13d
jmp .LBB0_2
.p2align 4, 0x90
.LBB0_6: # in Loop: Header=BB0_2 Depth=1
incq %r13
cmpl %eax, %r13d
jge .LBB0_7
.LBB0_2: # =>This Inner Loop Header: Depth=1
cmpl %r13d, %r12d
je .LBB0_6
# %bb.3: # in Loop: Header=BB0_2 Depth=1
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%r14), %rdx
addq %r13, %rdx
movq (%rcx,%rdx,8), %rcx
movl 4(%rax,%rcx,8), %edi
movl 4(%rsp), %esi
callq VectorCopy@PLT
movl 4(%rsp), %edi
callq VectorInverse@PLT
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%r14), %rdx
addq %r13, %rdx
movq (%rcx,%rdx,8), %rcx
xorl %edx, %edx
subl (%rax,%rcx,8), %edx
movl %edx, (%rsp)
movq %rbx, %rdi
movq %r15, %rsi
movsd .LCPI0_0(%rip), %xmm0 # xmm0 = mem[0],zero
callq VS_ChopWinding@PLT
cmpl SIDE_BACK(%rip), %eax
je .LBB0_4
# %bb.5: # in Loop: Header=BB0_2 Depth=1
movl 4(%r14), %eax
jmp .LBB0_6
.LBB0_4:
xorl %ebx, %ebx
.LBB0_7:
movq %rbx, %rax
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size VS_WindingForBrushSide, .Lfunc_end0-VS_WindingForBrushSide
.cfi_endproc
# -- End function
.type dplanes,@object # @dplanes
.bss
.globl dplanes
.p2align 3, 0x0
dplanes:
.quad 0
.size dplanes, 8
.type dbrushsides,@object # @dbrushsides
.globl dbrushsides
.p2align 3, 0x0
dbrushsides:
.quad 0
.size dbrushsides, 8
.type SIDE_BACK,@object # @SIDE_BACK
.globl SIDE_BACK
.p2align 2, 0x0
SIDE_BACK:
.long 0 # 0x0
.size SIDE_BACK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
| .text
.file "extr_soundv.c_VS_WindingForBrushSide.c"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function VS_WindingForBrushSide
.LCPI0_0:
.quad 0x3fb999999999999a # double 0.10000000000000001
.text
.globl VS_WindingForBrushSide
.p2align 4, 0x90
.type VS_WindingForBrushSide,@function
VS_WindingForBrushSide: # @VS_WindingForBrushSide
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
pushq %r15
.cfi_def_cfa_offset 24
pushq %r14
.cfi_def_cfa_offset 32
pushq %r13
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%rdi), %rdx
movslq %esi, %r15
addq %r15, %rdx
movq (%rcx,%rdx,8), %rcx
movl 4(%rax,%rcx,8), %edi
callq VectorCopy@PLT
callq VectorInverse@PLT
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%r14), %rdx
addq %r15, %rdx
movq (%rcx,%rdx,8), %rcx
xorl %esi, %esi
subl (%rax,%rcx,8), %esi
movl %esi, (%rsp)
callq BaseWindingForPlane@PLT
movq %rax, %r15
movl 4(%rbx), %edi
movl (%rax), %edx
movl 4(%rax), %esi
shll $2, %edx
callq memcpy@PLT
movl (%r15), %eax
movl %eax, (%rbx)
movl 4(%r14), %eax
testl %eax, %eax
jle .LBB0_7
# %bb.1:
movl %ebp, %r12d
movq %rsp, %r15
xorl %r13d, %r13d
jmp .LBB0_2
.p2align 4, 0x90
.LBB0_6: # in Loop: Header=BB0_2 Depth=1
incq %r13
cmpl %eax, %r13d
jge .LBB0_7
.LBB0_2: # =>This Inner Loop Header: Depth=1
cmpl %r13d, %r12d
je .LBB0_6
# %bb.3: # in Loop: Header=BB0_2 Depth=1
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%r14), %rdx
addq %r13, %rdx
movq (%rcx,%rdx,8), %rcx
movl 4(%rax,%rcx,8), %edi
movl 4(%rsp), %esi
callq VectorCopy@PLT
movl 4(%rsp), %edi
callq VectorInverse@PLT
movq dplanes(%rip), %rax
movq dbrushsides(%rip), %rcx
movslq (%r14), %rdx
addq %r13, %rdx
movq (%rcx,%rdx,8), %rcx
xorl %edx, %edx
subl (%rax,%rcx,8), %edx
movl %edx, (%rsp)
movq %rbx, %rdi
movq %r15, %rsi
movsd .LCPI0_0(%rip), %xmm0 # xmm0 = mem[0],zero
callq VS_ChopWinding@PLT
cmpl SIDE_BACK(%rip), %eax
je .LBB0_4
# %bb.5: # in Loop: Header=BB0_2 Depth=1
movl 4(%r14), %eax
jmp .LBB0_6
.LBB0_4:
xorl %ebx, %ebx
.LBB0_7:
movq %rbx, %rax
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
popq %r15
.cfi_def_cfa_offset 16
popq %rbp
.cfi_def_cfa_offset 8
retq
.Lfunc_end0:
.size VS_WindingForBrushSide, .Lfunc_end0-VS_WindingForBrushSide
.cfi_endproc
# -- End function
.type dplanes,@object # @dplanes
.bss
.globl dplanes
.p2align 3, 0x0
dplanes:
.quad 0
.size dplanes, 8
.type dbrushsides,@object # @dbrushsides
.globl dbrushsides
.p2align 3, 0x0
dbrushsides:
.quad 0
.size dbrushsides, 8
.type SIDE_BACK,@object # @SIDE_BACK
.globl SIDE_BACK
.p2align 2, 0x0
SIDE_BACK:
.long 0 # 0x0
.size SIDE_BACK, 4
.ident "Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)"
.section ".note.GNU-stack","",@progbits
.addrsig
|
extr_soundv.c_VS_FacetsForPatch.c | "\t.text\n\t.file\t\"extr_soundv.c_VS_FacetsForPatch.c\"\n\t.globl\tVS_FacetsForPatch (...TRUNCATED) | "\t.text\n\t.file\t\"extr_soundv.c_VS_FacetsForPatch.c\"\n\t.globl\tVS_FacetsForPatch (...TRUNCATED) | "\t.text\n\t.file\t\"extr_soundv.c_VS_FacetsForPatch.c\"\n\t.globl\tVS_FacetsForPatch (...TRUNCATED) | "\t.text\n\t.file\t\"extr_soundv.c_VS_FacetsForPatch.c\"\n\t.globl\tVS_FacetsForPatch (...TRUNCATED) | "\t.text\n\t.file\t\"extr_soundv.c_VS_FacetsForPatch.c\"\n\t.globl\tVS_FacetsForPatch (...TRUNCATED) | "\t.text\n\t.file\t\"extr_soundv.c_VS_FacetsForPatch.c\"\n\t.globl\tVS_FacetsForPatch (...TRUNCATED) | "\t.text\n\t.file\t\"extr_soundv.c_VS_FacetsForPatch.c\"\n\t.globl\tVS_FacetsForPatch (...TRUNCATED) | "\t.text\n\t.file\t\"extr_soundv.c_VS_FacetsForPatch.c\"\n\t.globl\tVS_FacetsForPatch (...TRUNCATED) |
extr_portals.c_Portal_Passable.c | "\t.text\n\t.file\t\"extr_portals.c_Portal_Passable.c\"\n\t.globl\tPortal_Passable /(...TRUNCATED) | "\t.text\n\t.file\t\"extr_portals.c_Portal_Passable.c\"\n\t.globl\tPortal_Passable /(...TRUNCATED) | "\t.text\n\t.file\t\"extr_portals.c_Portal_Passable.c\"\n\t.globl\tPortal_Passable /(...TRUNCATED) | "\t.text\n\t.file\t\"extr_portals.c_Portal_Passable.c\"\n\t.globl\tPortal_Passable /(...TRUNCATED) | "\t.text\n\t.file\t\"extr_portals.c_Portal_Passable.c\"\n\t.globl\tPortal_Passable #(...TRUNCATED) | "\t.text\n\t.file\t\"extr_portals.c_Portal_Passable.c\"\n\t.globl\tPortal_Passable #(...TRUNCATED) | "\t.text\n\t.file\t\"extr_portals.c_Portal_Passable.c\"\n\t.globl\tPortal_Passable #(...TRUNCATED) | "\t.text\n\t.file\t\"extr_portals.c_Portal_Passable.c\"\n\t.globl\tPortal_Passable #(...TRUNCATED) |
extr_surface.c_SubdivideDrawSurf.c | "\t.text\n\t.file\t\"extr_surface.c_SubdivideDrawSurf.c\"\n\t.globl\tSubdivideDrawSurf (...TRUNCATED) | "\t.text\n\t.file\t\"extr_surface.c_SubdivideDrawSurf.c\"\n\t.globl\tSubdivideDrawSurf (...TRUNCATED) | "\t.text\n\t.file\t\"extr_surface.c_SubdivideDrawSurf.c\"\n\t.globl\tSubdivideDrawSurf (...TRUNCATED) | "\t.text\n\t.file\t\"extr_surface.c_SubdivideDrawSurf.c\"\n\t.globl\tSubdivideDrawSurf (...TRUNCATED) | "\t.text\n\t.file\t\"extr_surface.c_SubdivideDrawSurf.c\"\n\t.section\t.rodata.cst4,\"aM\",@progbits(...TRUNCATED) | "\t.text\n\t.file\t\"extr_surface.c_SubdivideDrawSurf.c\"\n\t.section\t.rodata.cst4,\"aM\",@progbits(...TRUNCATED) | "\t.text\n\t.file\t\"extr_surface.c_SubdivideDrawSurf.c\"\n\t.section\t.rodata.cst4,\"aM\",@progbits(...TRUNCATED) | "\t.text\n\t.file\t\"extr_surface.c_SubdivideDrawSurf.c\"\n\t.section\t.rodata.cst4,\"aM\",@progbits(...TRUNCATED) |
extr_lightv.c_VL_WindingForBrushSide.c | "\t.text\n\t.file\t\"extr_lightv.c_VL_WindingForBrushSide.c\"\n\t.section\t.rodata.cst8,\"aM\",@prog(...TRUNCATED) | "\t.text\n\t.file\t\"extr_lightv.c_VL_WindingForBrushSide.c\"\n\t.section\t.rodata.cst8,\"aM\",@prog(...TRUNCATED) | "\t.text\n\t.file\t\"extr_lightv.c_VL_WindingForBrushSide.c\"\n\t.section\t.rodata.cst8,\"aM\",@prog(...TRUNCATED) | "\t.text\n\t.file\t\"extr_lightv.c_VL_WindingForBrushSide.c\"\n\t.section\t.rodata.cst8,\"aM\",@prog(...TRUNCATED) | "\t.text\n\t.file\t\"extr_lightv.c_VL_WindingForBrushSide.c\"\n\t.section\t.rodata.cst8,\"aM\",@prog(...TRUNCATED) | "\t.text\n\t.file\t\"extr_lightv.c_VL_WindingForBrushSide.c\"\n\t.section\t.rodata.cst8,\"aM\",@prog(...TRUNCATED) | "\t.text\n\t.file\t\"extr_lightv.c_VL_WindingForBrushSide.c\"\n\t.section\t.rodata.cst8,\"aM\",@prog(...TRUNCATED) | "\t.text\n\t.file\t\"extr_lightv.c_VL_WindingForBrushSide.c\"\n\t.section\t.rodata.cst8,\"aM\",@prog(...TRUNCATED) |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 255