Last active
July 14, 2024 18:32
-
-
Save bluebear94/95c7e4d5635f247ebb8087134ec713e8 to your computer and use it in GitHub Desktop.
While vs. iterator comparison for typst/typst#4544
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.section ".text.typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math","ax",@progbits | |
.globl typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math | |
.p2align 4, 0x90 | |
.type typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math,@function | |
typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math: | |
.cfi_startproc | |
.cfi_personality 155, DW.ref.rust_eh_personality | |
.cfi_lsda 27, .Lexception3462 | |
push rbp | |
.cfi_def_cfa_offset 16 | |
push r15 | |
.cfi_def_cfa_offset 24 | |
push r14 | |
.cfi_def_cfa_offset 32 | |
push r13 | |
.cfi_def_cfa_offset 40 | |
push r12 | |
.cfi_def_cfa_offset 48 | |
push rbx | |
.cfi_def_cfa_offset 56 | |
sub rsp, 216 | |
.cfi_def_cfa_offset 272 | |
.cfi_offset rbx, -56 | |
.cfi_offset r12, -48 | |
.cfi_offset r13, -40 | |
.cfi_offset r14, -32 | |
.cfi_offset r15, -24 | |
.cfi_offset rbp, -16 | |
mov qword ptr [rsp + 8], rdx | |
mov r13, rsi | |
mov rbx, rdi | |
mov rcx, qword ptr [rdi + 16] | |
lea rsi, [rip + .Lanon.64346fae68f7b6493629af87379b5a7d.8975] | |
lea rdi, [rsp + 176] | |
mov edx, 7 | |
call qword ptr [rip + typst_timing::TimingScope::new@GOTPCREL] | |
mov rax, qword ptr [rbx + 8] | |
mov r12, qword ptr [rax + 16] | |
cmp r12, 17 | |
mov edi, 16 | |
cmovae rdi, r12 | |
dec rdi | |
mov rax, rdi | |
and rax, -16 | |
add rax, qword ptr [rbx] | |
mov ecx, 16 | |
and rdi, -64 | |
add rdi, rax | |
dec r12 | |
and r12, -16 | |
mov rax, qword ptr [r12 + rdi + 136] | |
mov rdx, qword ptr [rax + 16] | |
cmp rdx, 17 | |
cmovae rcx, rdx | |
dec rcx | |
mov rsi, rcx | |
and rsi, -16 | |
mov qword ptr [rsp + 40], rdi | |
add rsi, qword ptr [r12 + rdi + 128] | |
and rcx, -64 | |
add rcx, rsi | |
dec rdx | |
and rdx, -16 | |
lea rdi, [rdx + rcx] | |
add rdi, 96 | |
call qword ptr [rax + 112] | |
mov rcx, qword ptr [rsp + 40] | |
lea rbx, [r12 + rcx] | |
add rbx, 128 | |
movabs rcx, -6301422707868368758 | |
cmp rax, rcx | |
jne .LBB10596_5 | |
movabs rax, 7332711041426343755 | |
cmp rdx, rax | |
jne .LBB10596_5 | |
mov rax, qword ptr [rsp + 40] | |
add rax, r12 | |
add rax, 80 | |
mov rcx, qword ptr [rax + 56] | |
mov r14, qword ptr [rcx + 16] | |
cmp r14, 17 | |
mov r15d, 16 | |
cmovae r15, r14 | |
dec r15 | |
mov rcx, r15 | |
and rcx, -16 | |
add rcx, qword ptr [rax + 48] | |
and r15, -64 | |
add r15, rcx | |
dec r14 | |
and r14, -16 | |
lea rax, [r14 + r15] | |
add rax, 96 | |
xor r8d, r8d | |
cmp dword ptr [r14 + r15 + 96], 2 | |
cmovne r8, rax | |
mov rdx, qword ptr [rip + typst::math::lr::_::<impl typst::foundations::element::NativeElement for typst::math::lr::LrElem>::data::DATA@GOTPCREL] | |
lea rdi, [rsp + 48] | |
mov rsi, qword ptr [rsp + 8] | |
xor ecx, ecx | |
call typst::foundations::styles::StyleChain::get | |
lea rax, [r14 + r15] | |
add rax, 80 | |
add rax, 48 | |
cmp qword ptr [rsp + 48], 0 | |
cmove rbx, rax | |
.LBB10596_5: | |
mov rcx, qword ptr [rsp + 8] | |
mov rax, qword ptr [rcx + 16] | |
mov qword ptr [rsp + 64], rax | |
movupd xmm0, xmmword ptr [rcx] | |
movapd xmmword ptr [rsp + 48], xmm0 | |
lea rcx, [rip + .Lanon.64346fae68f7b6493629af87379b5a7d.4824] | |
lea rdi, [rsp + 112] | |
lea r8, [rsp + 48] | |
mov rsi, r13 | |
mov rdx, rbx | |
call qword ptr [rip + typst::math::ctx::MathContext::layout_into_fragments@GOTPCREL] | |
mov qword ptr [rsp + 160], r12 | |
mov rax, qword ptr [rsp + 112] | |
mov r12, qword ptr [rsp + 120] | |
movabs rcx, -9223372036854775808 | |
mov rbx, qword ptr [rsp + 128] | |
cmp rax, rcx | |
jne .LBB10596_9 | |
cmp qword ptr [rsp + 176], 0 | |
je .LBB10596_147 | |
lea rdi, [rsp + 176] | |
call qword ptr [rip + <typst_timing::TimingScope as core::ops::drop::Drop>::drop@GOTPCREL] | |
jmp .LBB10596_147 | |
.LBB10596_9: | |
mov qword ptr [rsp + 136], rax | |
mov qword ptr [rsp + 144], r12 | |
mov qword ptr [rsp], rbx | |
mov qword ptr [rsp + 152], rbx | |
mov r8, qword ptr [r13 + 152] | |
cmp r8, 12 | |
mov qword ptr [rsp + 32], r13 | |
jb .LBB10596_10 | |
mov rcx, qword ptr [r13 + 144] | |
lea rsi, [rcx + 12] | |
lea rdx, [r8 - 12] | |
lea rdi, [rsp + 48] | |
call qword ptr [rip + ttf_parser::tables::math::MathValue::parse@GOTPCREL] | |
cmp dword ptr [rsp + 48], 2 | |
jne .LBB10596_14 | |
.LBB10596_10: | |
xor ebx, ebx | |
jmp .LBB10596_15 | |
.LBB10596_14: | |
movzx ebx, word ptr [rsp + 80] | |
.LBB10596_15: | |
mov rdi, qword ptr [rsp + 8] | |
call qword ptr [rip + typst::math::equation::_::<impl typst::math::equation::EquationElem>::size_in@GOTPCREL] | |
movzx eax, al | |
lea ecx, [rax - 2] | |
cmp ecx, 2 | |
jae .LBB10596_18 | |
movsd xmm0, qword ptr [rip + .LCPI10596_0] | |
jmp .LBB10596_25 | |
.LBB10596_18: | |
xorpd xmm0, xmm0 | |
test eax, eax | |
jne .LBB10596_21 | |
mov rax, qword ptr [rsp + 32] | |
cmp qword ptr [rax + 152], 4 | |
jb .LBB10596_24 | |
mov rax, qword ptr [rax + 144] | |
movzx eax, word ptr [rax + 2] | |
jmp .LBB10596_23 | |
.LBB10596_21: | |
mov rax, qword ptr [rsp + 32] | |
cmp qword ptr [rax + 152], 2 | |
jb .LBB10596_24 | |
mov rax, qword ptr [rax + 144] | |
movzx eax, word ptr [rax] | |
.LBB10596_23: | |
rol ax, 8 | |
cwde | |
xorps xmm0, xmm0 | |
cvtsi2sd xmm0, eax | |
.LBB10596_24: | |
divsd xmm0, qword ptr [rip + .LCPI10596_1] | |
.LBB10596_25: | |
movsd qword ptr [rsp + 16], xmm0 | |
mov rdi, qword ptr [rsp + 8] | |
call qword ptr [rip + typst::text::_::<impl typst::text::TextElem>::size_in@GOTPCREL] | |
movabs r14, 9218868437227405312 | |
movabs r15, 4503599627370495 | |
movq xmm1, qword ptr [rsp + 16] | |
movq rax, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_28 | |
pxor xmm1, xmm1 | |
.LBB10596_28: | |
test rax, r14 | |
mov rcx, qword ptr [rsp + 32] | |
mov rdx, qword ptr [rsp] | |
jne .LBB10596_30 | |
movq qword ptr [rsp + 16], xmm1 | |
.LBB10596_30: | |
mulsd xmm0, qword ptr [rsp + 16] | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r15 | |
not rax | |
je .LBB10596_32 | |
xorpd xmm1, xmm1 | |
.LBB10596_32: | |
test rax, r14 | |
jne .LBB10596_34 | |
movapd xmm0, xmm1 | |
.LBB10596_34: | |
mov rax, qword ptr [rcx + 600] | |
mov rax, qword ptr [rax] | |
movsx ecx, bx | |
xorps xmm1, xmm1 | |
cvtsi2sd xmm1, ecx | |
divsd xmm1, qword ptr [rax + 5840] | |
movq rax, xmm1 | |
movapd xmm2, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_36 | |
xorpd xmm2, xmm2 | |
.LBB10596_36: | |
test rax, r14 | |
jne .LBB10596_38 | |
movapd xmm1, xmm2 | |
.LBB10596_38: | |
movq rax, xmm1 | |
movapd xmm2, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_40 | |
xorpd xmm2, xmm2 | |
.LBB10596_40: | |
test rax, r14 | |
jne .LBB10596_42 | |
movapd xmm1, xmm2 | |
.LBB10596_42: | |
mulsd xmm0, xmm1 | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r15 | |
not rax | |
je .LBB10596_44 | |
xorpd xmm1, xmm1 | |
.LBB10596_44: | |
test rax, r14 | |
jne .LBB10596_46 | |
movapd xmm0, xmm1 | |
.LBB10596_46: | |
movapd xmm1, xmmword ptr [rip + .LCPI10596_2] | |
andpd xmm1, xmm0 | |
cmpltsd xmm1, qword ptr [rip + .LCPI10596_3] | |
andpd xmm1, xmm0 | |
movlpd qword ptr [rsp + 104], xmm1 | |
imul rbp, rdx, 176 | |
test rdx, rdx | |
je .LBB10596_55 | |
lea rdi, [rsp + 104] | |
mov rsi, r12 | |
call typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math::{{closure}} | |
movsd qword ptr [rsp + 96], xmm0 | |
mov ebx, 1 | |
cmp qword ptr [rsp], 1 | |
je .LBB10596_57 | |
lea rbx, [r12 + 176] | |
lea rax, [rbp - 176] | |
movabs rcx, 3353953467947191203 | |
mul rcx | |
mov r13, rdx | |
shr r13, 5 | |
lea r14, [rsp + 48] | |
mov r15, qword ptr [rip + <typst_utils::scalar::Scalar as core::cmp::Ord>::cmp@GOTPCREL] | |
jmp .LBB10596_51 | |
.p2align 4, 0x90 | |
.LBB10596_50: | |
add rbx, 176 | |
dec r13 | |
je .LBB10596_56 | |
.LBB10596_51: | |
lea rdi, [rsp + 104] | |
mov rsi, rbx | |
call typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math::{{closure}} | |
movapd xmm1, xmm0 | |
movsd xmm0, qword ptr [rsp + 96] | |
movsd qword ptr [rsp + 112], xmm0 | |
movsd qword ptr [rsp + 48], xmm1 | |
lea rdi, [rsp + 112] | |
mov rsi, r14 | |
movsd qword ptr [rsp + 16], xmm1 | |
call r15 | |
movsd xmm0, qword ptr [rsp + 16] | |
cmp al, 1 | |
je .LBB10596_50 | |
movsd qword ptr [rsp + 96], xmm0 | |
jmp .LBB10596_50 | |
.LBB10596_55: | |
xor ebx, ebx | |
jmp .LBB10596_57 | |
.LBB10596_56: | |
movabs r14, 9218868437227405312 | |
movabs r15, 4503599627370495 | |
mov ebx, 1 | |
.LBB10596_57: | |
mov rax, qword ptr [rsp + 160] | |
mov rcx, qword ptr [rsp + 40] | |
add rax, rcx | |
add rax, 96 | |
xor r8d, r8d | |
cmp dword ptr [rax], 2 | |
cmovne r8, rax | |
mov rdx, qword ptr [rip + typst::math::lr::_::<impl typst::foundations::element::NativeElement for typst::math::lr::LrElem>::data::DATA@GOTPCREL] | |
lea rdi, [rsp + 48] | |
mov rsi, qword ptr [rsp + 8] | |
xor ecx, ecx | |
call typst::foundations::styles::StyleChain::get | |
add rbp, r12 | |
cmp qword ptr [rsp + 48], 0 | |
je .LBB10596_60 | |
movsd xmm0, qword ptr [rsp + 72] | |
movsd qword ptr [rsp + 16], xmm0 | |
xorpd xmm0, xmm0 | |
xorpd xmm1, xmm1 | |
jne .LBB10596_61 | |
jmp .LBB10596_62 | |
.LBB10596_60: | |
movsd xmm0, qword ptr [rip + .LCPI10596_0] | |
movsd qword ptr [rsp + 16], xmm0 | |
xorpd xmm0, xmm0 | |
xorpd xmm1, xmm1 | |
je .LBB10596_62 | |
.LBB10596_61: | |
movsd xmm0, qword ptr [rsp + 56] | |
movsd xmm1, qword ptr [rsp + 64] | |
.LBB10596_62: | |
movsd qword ptr [rsp + 40], xmm0 | |
movapd xmmword ptr [rsp + 160], xmm1 | |
movsd qword ptr [rsp + 112], xmm1 | |
mov qword ptr [rsp + 48], 0 | |
lea rdi, [rsp + 112] | |
lea rsi, [rsp + 48] | |
call qword ptr [rip + <typst_utils::scalar::Scalar as core::cmp::PartialEq>::eq@GOTPCREL] | |
xorpd xmm0, xmm0 | |
test al, al | |
jne .LBB10596_74 | |
mov rdi, qword ptr [rsp + 8] | |
call qword ptr [rip + typst::text::_::<impl typst::text::TextElem>::size_in@GOTPCREL] | |
movdqa xmm2, xmmword ptr [rsp + 160] | |
movq rax, xmm2 | |
movdqa xmm1, xmm2 | |
test rax, r15 | |
not rax | |
je .LBB10596_67 | |
pxor xmm1, xmm1 | |
.LBB10596_67: | |
test r14, rax | |
jne .LBB10596_69 | |
movdqa xmm2, xmm1 | |
.LBB10596_69: | |
mulsd xmm2, xmm0 | |
movq rax, xmm2 | |
movapd xmm0, xmm2 | |
test rax, r15 | |
not rax | |
je .LBB10596_71 | |
xorpd xmm0, xmm0 | |
.LBB10596_71: | |
test r14, rax | |
jne .LBB10596_73 | |
movapd xmm2, xmm0 | |
.LBB10596_73: | |
movapd xmm0, xmmword ptr [rip + .LCPI10596_2] | |
andpd xmm0, xmm2 | |
cmpltsd xmm0, qword ptr [rip + .LCPI10596_3] | |
andpd xmm0, xmm2 | |
.LBB10596_74: | |
movsd xmm1, qword ptr [rsp + 40] | |
addsd xmm1, xmm0 | |
movq rax, xmm1 | |
movapd xmm2, xmm1 | |
movapd xmm0, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_75 | |
xorpd xmm0, xmm0 | |
test r14, rax | |
je .LBB10596_99 | |
.LBB10596_76: | |
xorpd xmm0, xmm0 | |
test rbx, rbx | |
je .LBB10596_78 | |
.LBB10596_77: | |
movsd xmm0, qword ptr [rsp + 96] | |
addsd xmm0, xmm0 | |
.LBB10596_78: | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r15 | |
not rax | |
je .LBB10596_80 | |
xorpd xmm1, xmm1 | |
.LBB10596_80: | |
test r14, rax | |
jne .LBB10596_82 | |
movapd xmm0, xmm1 | |
.LBB10596_82: | |
movq xmm1, qword ptr [rsp + 16] | |
movq rax, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_84 | |
pxor xmm1, xmm1 | |
.LBB10596_84: | |
test r14, rax | |
jne .LBB10596_86 | |
movq qword ptr [rsp + 16], xmm1 | |
.LBB10596_86: | |
mulsd xmm0, qword ptr [rsp + 16] | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r15 | |
not rax | |
je .LBB10596_88 | |
xorpd xmm1, xmm1 | |
.LBB10596_88: | |
test r14, rax | |
jne .LBB10596_90 | |
movapd xmm0, xmm1 | |
.LBB10596_90: | |
movapd xmm1, xmmword ptr [rip + .LCPI10596_2] | |
andpd xmm1, xmm0 | |
cmpltsd xmm1, qword ptr [rip + .LCPI10596_3] | |
andpd xmm1, xmm0 | |
addsd xmm1, xmm2 | |
movq rax, xmm1 | |
movaps xmmword ptr [rsp + 16], xmm1 | |
movapd xmm0, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_91 | |
xorpd xmm0, xmm0 | |
test r14, rax | |
je .LBB10596_101 | |
.LBB10596_92: | |
cmp qword ptr [rsp], 0 | |
je .LBB10596_102 | |
.LBB10596_93: | |
xor r13d, r13d | |
mov rax, r12 | |
.p2align 4, 0x90 | |
.LBB10596_94: | |
cmp dword ptr [rax + 48], 4 | |
jne .LBB10596_103 | |
cmp byte ptr [rax + 138], 0 | |
je .LBB10596_103 | |
add rax, 176 | |
inc r13 | |
cmp rax, rbp | |
jne .LBB10596_94 | |
mov rbp, qword ptr [rsp] | |
mov r13, rbp | |
jmp .LBB10596_112 | |
.LBB10596_75: | |
test r14, rax | |
jne .LBB10596_76 | |
.LBB10596_99: | |
movapd xmm2, xmm0 | |
xorpd xmm0, xmm0 | |
test rbx, rbx | |
jne .LBB10596_77 | |
jmp .LBB10596_78 | |
.LBB10596_91: | |
test r14, rax | |
jne .LBB10596_92 | |
.LBB10596_101: | |
movapd xmmword ptr [rsp + 16], xmm0 | |
cmp qword ptr [rsp], 0 | |
jne .LBB10596_93 | |
.LBB10596_102: | |
xor r13d, r13d | |
xor ebp, ebp | |
jmp .LBB10596_112 | |
.LBB10596_103: | |
mov rcx, qword ptr [rsp] | |
imul rax, rcx, -176 | |
cmp rcx, r13 | |
mov rdx, r13 | |
cmovb rdx, rcx | |
not rcx | |
add rcx, rdx | |
.p2align 4, 0x90 | |
.LBB10596_104: | |
test rax, rax | |
je .LBB10596_108 | |
cmp dword ptr [rbp - 128], 4 | |
sete sil | |
cmp byte ptr [rbp - 38], 0 | |
setne dl | |
and dl, sil | |
cmp rcx, -2 | |
je .LBB10596_109 | |
add rbp, -176 | |
add rax, 176 | |
inc rcx | |
test dl, dl | |
jne .LBB10596_104 | |
mov rbp, r13 | |
sub rbp, rcx | |
cmp r13, rbp | |
jbe .LBB10596_111 | |
jmp .LBB10596_149 | |
.LBB10596_108: | |
mov rbp, r13 | |
jmp .LBB10596_111 | |
.LBB10596_109: | |
mov rbp, r13 | |
test dl, dl | |
jne .LBB10596_111 | |
lea rbp, [r13 + 1] | |
cmp r13, rbp | |
ja .LBB10596_149 | |
.LBB10596_111: | |
cmp rbp, qword ptr [rsp] | |
ja .LBB10596_148 | |
.LBB10596_112: | |
imul r14, r13, 176 | |
lea rbx, [r12 + r14] | |
mov r15, rbp | |
sub r15, r13 | |
je .LBB10596_117 | |
cmp r15, 1 | |
jne .LBB10596_115 | |
mov rdi, qword ptr [rsp + 32] | |
mov rsi, qword ptr [rsp + 8] | |
mov rdx, rbx | |
movapd xmm0, xmmword ptr [rsp + 16] | |
mov ecx, 15 | |
call typst::math::lr::scale | |
jmp .LBB10596_117 | |
.LBB10596_115: | |
mov rdi, qword ptr [rsp + 32] | |
mov rsi, qword ptr [rsp + 8] | |
mov rdx, rbx | |
movapd xmm0, xmmword ptr [rsp + 16] | |
mov ecx, 8 | |
call typst::math::lr::scale | |
imul rax, r15, 176 | |
lea rdx, [rax + rbx] | |
add rdx, -176 | |
mov rdi, qword ptr [rsp + 32] | |
mov rsi, qword ptr [rsp + 8] | |
movapd xmm0, xmmword ptr [rsp + 16] | |
mov ecx, 3 | |
call typst::math::lr::scale | |
.LBB10596_117: | |
cmp rbp, r13 | |
jne .LBB10596_126 | |
.LBB10596_118: | |
cmp qword ptr [rsp], 0 | |
je .LBB10596_131 | |
add r12, 48 | |
mov rax, r13 | |
neg rax | |
mov r14d, 1 | |
xor r15d, r15d | |
xor ecx, ecx | |
jmp .LBB10596_121 | |
.p2align 4, 0x90 | |
.LBB10596_120: | |
inc rcx | |
add r12, 176 | |
inc r14 | |
cmp rcx, qword ptr [rsp] | |
je .LBB10596_139 | |
.LBB10596_121: | |
lea rdx, [rax + r14] | |
cmp rdx, 2 | |
je .LBB10596_123 | |
lea rdx, [rcx + 2] | |
cmp rdx, rbp | |
jne .LBB10596_120 | |
.LBB10596_123: | |
cmp dword ptr [r12], 5 | |
jne .LBB10596_120 | |
cmp byte ptr [r12 - 40], 0 | |
je .LBB10596_120 | |
mov r15d, 1 | |
cmp r14, qword ptr [rsp] | |
jne .LBB10596_132 | |
jmp .LBB10596_139 | |
.LBB10596_126: | |
imul r15, rbp, 176 | |
sub r15, r14 | |
jmp .LBB10596_128 | |
.p2align 4, 0x90 | |
.LBB10596_127: | |
add rbx, 176 | |
add r15, -176 | |
je .LBB10596_118 | |
.LBB10596_128: | |
cmp dword ptr [rbx + 48], 3 | |
jne .LBB10596_127 | |
cmp byte ptr [rbx + 145], 0 | |
jne .LBB10596_127 | |
mov byte ptr [rbx + 145], 1 | |
mov rdi, qword ptr [rsp + 32] | |
mov rsi, qword ptr [rsp + 8] | |
mov rdx, rbx | |
movapd xmm0, xmmword ptr [rsp + 16] | |
mov ecx, 7 | |
call typst::math::lr::scale | |
jmp .LBB10596_127 | |
.LBB10596_131: | |
xor r14d, r14d | |
xor r15d, r15d | |
cmp r14, qword ptr [rsp] | |
je .LBB10596_139 | |
.LBB10596_132: | |
sub r13, r14 | |
inc r13 | |
imul rbx, r14, 176 | |
add rbx, qword ptr [rsp + 144] | |
mov r12, qword ptr [rip + memcpy@GOTPCREL] | |
jmp .LBB10596_134 | |
.p2align 4, 0x90 | |
.LBB10596_133: | |
imul rdi, r15, -176 | |
add rdi, rbx | |
mov edx, 176 | |
mov rsi, rbx | |
call r12 | |
inc r14 | |
add rbx, 176 | |
cmp r14, qword ptr [rsp] | |
je .LBB10596_139 | |
.LBB10596_134: | |
sub r13, 1 | |
jb .LBB10596_136 | |
lea rax, [r14 + 2] | |
cmp rax, rbp | |
jne .LBB10596_133 | |
.LBB10596_136: | |
cmp dword ptr [rbx + 48], 5 | |
jne .LBB10596_133 | |
cmp byte ptr [rbx + 8], 0 | |
je .LBB10596_133 | |
inc r15 | |
inc r14 | |
add rbx, 176 | |
cmp r14, qword ptr [rsp] | |
jne .LBB10596_134 | |
.LBB10596_139: | |
mov r14, qword ptr [rsp] | |
sub r14, r15 | |
mov r13, qword ptr [rsp + 136] | |
mov rbx, qword ptr [rsp + 144] | |
imul r15, r14, 176 | |
lea rax, [rbx + r15] | |
mov qword ptr [rsp + 48], rbx | |
mov qword ptr [rsp + 64], r13 | |
mov qword ptr [rsp + 56], rbx | |
mov qword ptr [rsp + 72], rax | |
mov rbp, qword ptr [rsp + 32] | |
mov rax, qword ptr [rbp + 544] | |
mov r12, qword ptr [rbp + 560] | |
sub rax, r12 | |
cmp rax, r14 | |
jae .LBB10596_142 | |
lea rdi, [rbp + 544] | |
mov rsi, r12 | |
mov rdx, r14 | |
call alloc::raw_vec::RawVec<T,A>::reserve::do_reserve_and_handle | |
mov r12, qword ptr [rbp + 560] | |
.LBB10596_142: | |
imul rdi, r12, 176 | |
add rdi, qword ptr [rbp + 552] | |
mov rsi, rbx | |
mov rdx, r15 | |
call qword ptr [rip + memcpy@GOTPCREL] | |
add r14, r12 | |
mov qword ptr [rbp + 560], r14 | |
test r13, r13 | |
je .LBB10596_144 | |
imul rsi, r13, 176 | |
mov edx, 16 | |
mov rdi, rbx | |
call qword ptr [rip + __rust_dealloc@GOTPCREL] | |
.LBB10596_144: | |
cmp qword ptr [rsp + 176], 0 | |
mov rbx, qword ptr [rsp] | |
je .LBB10596_146 | |
lea rdi, [rsp + 176] | |
call qword ptr [rip + <typst_timing::TimingScope as core::ops::drop::Drop>::drop@GOTPCREL] | |
.LBB10596_146: | |
xor r12d, r12d | |
.LBB10596_147: | |
mov rax, r12 | |
mov rdx, rbx | |
add rsp, 216 | |
.cfi_def_cfa_offset 56 | |
pop rbx | |
.cfi_def_cfa_offset 48 | |
pop r12 | |
.cfi_def_cfa_offset 40 | |
pop r13 | |
.cfi_def_cfa_offset 32 | |
pop r14 | |
.cfi_def_cfa_offset 24 | |
pop r15 | |
.cfi_def_cfa_offset 16 | |
pop rbp | |
.cfi_def_cfa_offset 8 | |
ret | |
.LBB10596_148: | |
.cfi_def_cfa_offset 272 | |
lea rdx, [rip + .Lanon.64346fae68f7b6493629af87379b5a7d.8976] | |
mov rdi, rbp | |
mov rsi, qword ptr [rsp] | |
call qword ptr [rip + core::slice::index::slice_end_index_len_fail@GOTPCREL] | |
jmp .LBB10596_150 | |
.LBB10596_149: | |
lea rdx, [rip + .Lanon.64346fae68f7b6493629af87379b5a7d.8976] | |
mov rdi, r13 | |
mov rsi, rbp | |
call qword ptr [rip + core::slice::index::slice_index_order_fail@GOTPCREL] | |
.LBB10596_150: | |
ud2 | |
mov rbx, rax | |
lea rdi, [rsp + 48] | |
call core::ptr::drop_in_place<alloc::vec::into_iter::IntoIter<typst::math::fragment::MathFragment>> | |
jmp .LBB10596_158 | |
call qword ptr [rip + core::panicking::panic_in_cleanup@GOTPCREL] | |
jmp .LBB10596_157 | |
mov rbx, rax | |
jmp .LBB10596_158 | |
jmp .LBB10596_157 | |
.LBB10596_157: | |
mov rbx, rax | |
lea rdi, [rsp + 136] | |
call core::ptr::drop_in_place<alloc::vec::Vec<typst::math::fragment::MathFragment>> | |
.LBB10596_158: | |
cmp qword ptr [rsp + 176], 0 | |
je .LBB10596_160 | |
lea rdi, [rsp + 176] | |
call qword ptr [rip + <typst_timing::TimingScope as core::ops::drop::Drop>::drop@GOTPCREL] | |
.LBB10596_160: | |
mov rdi, rbx | |
call _Unwind_Resume@PLT | |
call qword ptr [rip + core::panicking::panic_in_cleanup@GOTPCREL] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.section ".text.typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math","ax",@progbits | |
.globl typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math | |
.p2align 4, 0x90 | |
.type typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math,@function | |
typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math: | |
.cfi_startproc | |
.cfi_personality 155, DW.ref.rust_eh_personality | |
.cfi_lsda 27, .Lexception3462 | |
push rbp | |
.cfi_def_cfa_offset 16 | |
push r15 | |
.cfi_def_cfa_offset 24 | |
push r14 | |
.cfi_def_cfa_offset 32 | |
push r13 | |
.cfi_def_cfa_offset 40 | |
push r12 | |
.cfi_def_cfa_offset 48 | |
push rbx | |
.cfi_def_cfa_offset 56 | |
sub rsp, 216 | |
.cfi_def_cfa_offset 272 | |
.cfi_offset rbx, -56 | |
.cfi_offset r12, -48 | |
.cfi_offset r13, -40 | |
.cfi_offset r14, -32 | |
.cfi_offset r15, -24 | |
.cfi_offset rbp, -16 | |
mov qword ptr [rsp + 8], rdx | |
mov qword ptr [rsp + 40], rsi | |
mov rbx, rdi | |
mov rcx, qword ptr [rdi + 16] | |
lea rsi, [rip + .Lanon.64346fae68f7b6493629af87379b5a7d.8975] | |
lea rdi, [rsp + 176] | |
mov edx, 7 | |
call qword ptr [rip + typst_timing::TimingScope::new@GOTPCREL] | |
mov rax, qword ptr [rbx + 8] | |
mov r12, qword ptr [rax + 16] | |
cmp r12, 17 | |
mov edi, 16 | |
cmovae rdi, r12 | |
dec rdi | |
mov rax, rdi | |
and rax, -16 | |
add rax, qword ptr [rbx] | |
mov ecx, 16 | |
and rdi, -64 | |
add rdi, rax | |
dec r12 | |
and r12, -16 | |
mov rax, qword ptr [r12 + rdi + 136] | |
mov rdx, qword ptr [rax + 16] | |
cmp rdx, 17 | |
cmovae rcx, rdx | |
dec rcx | |
mov rsi, rcx | |
and rsi, -16 | |
mov qword ptr [rsp + 32], rdi | |
add rsi, qword ptr [r12 + rdi + 128] | |
and rcx, -64 | |
add rcx, rsi | |
dec rdx | |
and rdx, -16 | |
lea rdi, [rdx + rcx] | |
add rdi, 96 | |
call qword ptr [rax + 112] | |
mov rcx, qword ptr [rsp + 32] | |
lea r14, [r12 + rcx] | |
add r14, 128 | |
movabs rcx, -6301422707868368758 | |
cmp rax, rcx | |
jne .LBB10596_5 | |
movabs rax, 7332711041426343755 | |
cmp rdx, rax | |
jne .LBB10596_5 | |
mov rax, qword ptr [rsp + 32] | |
add rax, r12 | |
add rax, 80 | |
mov rcx, qword ptr [rax + 56] | |
mov rbx, qword ptr [rcx + 16] | |
cmp rbx, 17 | |
mov r15d, 16 | |
cmovae r15, rbx | |
dec r15 | |
mov rcx, r15 | |
and rcx, -16 | |
add rcx, qword ptr [rax + 48] | |
and r15, -64 | |
add r15, rcx | |
dec rbx | |
and rbx, -16 | |
lea rax, [rbx + r15] | |
add rax, 96 | |
xor r8d, r8d | |
cmp dword ptr [rbx + r15 + 96], 2 | |
cmovne r8, rax | |
mov rdx, qword ptr [rip + typst::math::lr::_::<impl typst::foundations::element::NativeElement for typst::math::lr::LrElem>::data::DATA@GOTPCREL] | |
lea rdi, [rsp + 48] | |
mov rsi, qword ptr [rsp + 8] | |
xor ecx, ecx | |
call typst::foundations::styles::StyleChain::get | |
lea rax, [rbx + r15] | |
add rax, 80 | |
add rax, 48 | |
cmp qword ptr [rsp + 48], 0 | |
cmove r14, rax | |
.LBB10596_5: | |
mov rcx, qword ptr [rsp + 8] | |
mov rax, qword ptr [rcx + 16] | |
mov qword ptr [rsp + 64], rax | |
movupd xmm0, xmmword ptr [rcx] | |
movapd xmmword ptr [rsp + 48], xmm0 | |
lea rcx, [rip + .Lanon.64346fae68f7b6493629af87379b5a7d.4824] | |
lea rdi, [rsp + 112] | |
lea r8, [rsp + 48] | |
mov rsi, qword ptr [rsp + 40] | |
mov rdx, r14 | |
call qword ptr [rip + typst::math::ctx::MathContext::layout_into_fragments@GOTPCREL] | |
mov qword ptr [rsp + 160], r12 | |
mov rax, qword ptr [rsp + 112] | |
mov r12, qword ptr [rsp + 120] | |
movabs rcx, -9223372036854775808 | |
mov rdx, qword ptr [rsp + 128] | |
cmp rax, rcx | |
jne .LBB10596_9 | |
cmp qword ptr [rsp + 176], 0 | |
je .LBB10596_135 | |
lea rdi, [rsp + 176] | |
mov rbx, rdx | |
call qword ptr [rip + <typst_timing::TimingScope as core::ops::drop::Drop>::drop@GOTPCREL] | |
mov rdx, rbx | |
jmp .LBB10596_135 | |
.LBB10596_9: | |
mov qword ptr [rsp + 136], rax | |
mov qword ptr [rsp + 144], r12 | |
mov qword ptr [rsp], rdx | |
mov qword ptr [rsp + 152], rdx | |
mov r15, qword ptr [rsp + 40] | |
mov r8, qword ptr [r15 + 152] | |
cmp r8, 12 | |
jb .LBB10596_10 | |
mov rcx, qword ptr [r15 + 144] | |
lea rsi, [rcx + 12] | |
lea rdx, [r8 - 12] | |
lea rdi, [rsp + 48] | |
call qword ptr [rip + ttf_parser::tables::math::MathValue::parse@GOTPCREL] | |
cmp dword ptr [rsp + 48], 2 | |
jne .LBB10596_14 | |
.LBB10596_10: | |
xor ebx, ebx | |
jmp .LBB10596_15 | |
.LBB10596_14: | |
movzx ebx, word ptr [rsp + 80] | |
.LBB10596_15: | |
mov rdi, qword ptr [rsp + 8] | |
call qword ptr [rip + typst::math::equation::_::<impl typst::math::equation::EquationElem>::size_in@GOTPCREL] | |
movzx eax, al | |
lea ecx, [rax - 2] | |
cmp ecx, 2 | |
jae .LBB10596_18 | |
movsd xmm0, qword ptr [rip + .LCPI10596_0] | |
jmp .LBB10596_25 | |
.LBB10596_18: | |
xorpd xmm0, xmm0 | |
test eax, eax | |
jne .LBB10596_21 | |
cmp qword ptr [r15 + 152], 4 | |
jb .LBB10596_24 | |
mov rax, qword ptr [r15 + 144] | |
movzx eax, word ptr [rax + 2] | |
jmp .LBB10596_23 | |
.LBB10596_21: | |
cmp qword ptr [r15 + 152], 2 | |
jb .LBB10596_24 | |
mov rax, qword ptr [r15 + 144] | |
movzx eax, word ptr [rax] | |
.LBB10596_23: | |
rol ax, 8 | |
cwde | |
xorps xmm0, xmm0 | |
cvtsi2sd xmm0, eax | |
.LBB10596_24: | |
divsd xmm0, qword ptr [rip + .LCPI10596_1] | |
.LBB10596_25: | |
movsd qword ptr [rsp + 16], xmm0 | |
mov rdi, qword ptr [rsp + 8] | |
call qword ptr [rip + typst::text::_::<impl typst::text::TextElem>::size_in@GOTPCREL] | |
movabs r14, 9218868437227405312 | |
movabs r13, 4503599627370495 | |
movq xmm1, qword ptr [rsp + 16] | |
movq rax, xmm1 | |
test rax, r13 | |
not rax | |
je .LBB10596_28 | |
pxor xmm1, xmm1 | |
.LBB10596_28: | |
test rax, r14 | |
jne .LBB10596_30 | |
movq qword ptr [rsp + 16], xmm1 | |
.LBB10596_30: | |
mulsd xmm0, qword ptr [rsp + 16] | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r13 | |
not rax | |
je .LBB10596_32 | |
xorpd xmm1, xmm1 | |
.LBB10596_32: | |
test rax, r14 | |
jne .LBB10596_34 | |
movapd xmm0, xmm1 | |
.LBB10596_34: | |
mov rax, qword ptr [r15 + 600] | |
mov rax, qword ptr [rax] | |
movsx ecx, bx | |
xorps xmm1, xmm1 | |
cvtsi2sd xmm1, ecx | |
divsd xmm1, qword ptr [rax + 5840] | |
movq rax, xmm1 | |
movapd xmm2, xmm1 | |
test rax, r13 | |
not rax | |
je .LBB10596_36 | |
xorpd xmm2, xmm2 | |
.LBB10596_36: | |
test rax, r14 | |
jne .LBB10596_38 | |
movapd xmm1, xmm2 | |
.LBB10596_38: | |
movq rax, xmm1 | |
movapd xmm2, xmm1 | |
test rax, r13 | |
not rax | |
je .LBB10596_40 | |
xorpd xmm2, xmm2 | |
.LBB10596_40: | |
test rax, r14 | |
jne .LBB10596_42 | |
movapd xmm1, xmm2 | |
.LBB10596_42: | |
mulsd xmm0, xmm1 | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r13 | |
not rax | |
je .LBB10596_44 | |
xorpd xmm1, xmm1 | |
.LBB10596_44: | |
test rax, r14 | |
jne .LBB10596_46 | |
movapd xmm0, xmm1 | |
.LBB10596_46: | |
movapd xmm1, xmmword ptr [rip + .LCPI10596_2] | |
andpd xmm1, xmm0 | |
cmpltsd xmm1, qword ptr [rip + .LCPI10596_3] | |
andpd xmm1, xmm0 | |
movlpd qword ptr [rsp + 104], xmm1 | |
cmp qword ptr [rsp], 0 | |
je .LBB10596_55 | |
lea rdi, [rsp + 104] | |
mov rsi, r12 | |
call typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math::{{closure}} | |
movsd qword ptr [rsp + 96], xmm0 | |
mov ebx, 1 | |
mov rax, qword ptr [rsp] | |
cmp rax, 1 | |
je .LBB10596_57 | |
lea r13, [r12 + 176] | |
imul rax, rax, 176 | |
add rax, -176 | |
movabs rcx, 3353953467947191203 | |
mul rcx | |
mov rbp, rdx | |
shr rbp, 5 | |
lea r15, [rsp + 112] | |
lea r14, [rsp + 48] | |
mov rbx, qword ptr [rip + <typst_utils::scalar::Scalar as core::cmp::Ord>::cmp@GOTPCREL] | |
jmp .LBB10596_51 | |
.p2align 4, 0x90 | |
.LBB10596_50: | |
add r13, 176 | |
dec rbp | |
je .LBB10596_56 | |
.LBB10596_51: | |
lea rdi, [rsp + 104] | |
mov rsi, r13 | |
call typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math::{{closure}} | |
movapd xmm1, xmm0 | |
movsd xmm0, qword ptr [rsp + 96] | |
movsd qword ptr [rsp + 112], xmm0 | |
movsd qword ptr [rsp + 48], xmm1 | |
mov rdi, r15 | |
mov rsi, r14 | |
movsd qword ptr [rsp + 16], xmm1 | |
call rbx | |
movsd xmm0, qword ptr [rsp + 16] | |
cmp al, 1 | |
je .LBB10596_50 | |
movsd qword ptr [rsp + 96], xmm0 | |
jmp .LBB10596_50 | |
.LBB10596_55: | |
xor ebx, ebx | |
jmp .LBB10596_57 | |
.LBB10596_56: | |
mov r15, qword ptr [rsp + 40] | |
movabs r14, 9218868437227405312 | |
movabs r13, 4503599627370495 | |
mov ebx, 1 | |
.LBB10596_57: | |
mov rax, qword ptr [rsp + 160] | |
mov rcx, qword ptr [rsp + 32] | |
add rax, rcx | |
add rax, 96 | |
xor r8d, r8d | |
cmp dword ptr [rax], 2 | |
cmovne r8, rax | |
mov rdx, qword ptr [rip + typst::math::lr::_::<impl typst::foundations::element::NativeElement for typst::math::lr::LrElem>::data::DATA@GOTPCREL] | |
lea rdi, [rsp + 48] | |
mov rsi, qword ptr [rsp + 8] | |
xor ecx, ecx | |
call typst::foundations::styles::StyleChain::get | |
cmp qword ptr [rsp + 48], 0 | |
je .LBB10596_60 | |
movsd xmm0, qword ptr [rsp + 72] | |
movsd qword ptr [rsp + 16], xmm0 | |
xorpd xmm0, xmm0 | |
xorpd xmm1, xmm1 | |
jne .LBB10596_61 | |
jmp .LBB10596_62 | |
.LBB10596_60: | |
movsd xmm0, qword ptr [rip + .LCPI10596_0] | |
movsd qword ptr [rsp + 16], xmm0 | |
xorpd xmm0, xmm0 | |
xorpd xmm1, xmm1 | |
je .LBB10596_62 | |
.LBB10596_61: | |
movsd xmm0, qword ptr [rsp + 56] | |
movsd xmm1, qword ptr [rsp + 64] | |
.LBB10596_62: | |
movsd qword ptr [rsp + 32], xmm0 | |
movapd xmmword ptr [rsp + 160], xmm1 | |
movsd qword ptr [rsp + 112], xmm1 | |
mov qword ptr [rsp + 48], 0 | |
lea rdi, [rsp + 112] | |
lea rsi, [rsp + 48] | |
call qword ptr [rip + <typst_utils::scalar::Scalar as core::cmp::PartialEq>::eq@GOTPCREL] | |
xorpd xmm0, xmm0 | |
test al, al | |
jne .LBB10596_74 | |
mov rdi, qword ptr [rsp + 8] | |
call qword ptr [rip + typst::text::_::<impl typst::text::TextElem>::size_in@GOTPCREL] | |
movdqa xmm2, xmmword ptr [rsp + 160] | |
movq rax, xmm2 | |
movdqa xmm1, xmm2 | |
test rax, r13 | |
not rax | |
je .LBB10596_67 | |
pxor xmm1, xmm1 | |
.LBB10596_67: | |
test r14, rax | |
jne .LBB10596_69 | |
movdqa xmm2, xmm1 | |
.LBB10596_69: | |
mulsd xmm2, xmm0 | |
movq rax, xmm2 | |
movapd xmm0, xmm2 | |
test rax, r13 | |
not rax | |
je .LBB10596_71 | |
xorpd xmm0, xmm0 | |
.LBB10596_71: | |
test r14, rax | |
jne .LBB10596_73 | |
movapd xmm2, xmm0 | |
.LBB10596_73: | |
movapd xmm0, xmmword ptr [rip + .LCPI10596_2] | |
andpd xmm0, xmm2 | |
cmpltsd xmm0, qword ptr [rip + .LCPI10596_3] | |
andpd xmm0, xmm2 | |
.LBB10596_74: | |
movsd xmm1, qword ptr [rsp + 32] | |
addsd xmm1, xmm0 | |
movq rax, xmm1 | |
movapd xmm2, xmm1 | |
movapd xmm0, xmm1 | |
test rax, r13 | |
not rax | |
je .LBB10596_75 | |
xorpd xmm0, xmm0 | |
test r14, rax | |
je .LBB10596_99 | |
.LBB10596_76: | |
xorpd xmm0, xmm0 | |
test rbx, rbx | |
je .LBB10596_78 | |
.LBB10596_77: | |
movsd xmm0, qword ptr [rsp + 96] | |
addsd xmm0, xmm0 | |
.LBB10596_78: | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r13 | |
not rax | |
je .LBB10596_80 | |
xorpd xmm1, xmm1 | |
.LBB10596_80: | |
test r14, rax | |
jne .LBB10596_82 | |
movapd xmm0, xmm1 | |
.LBB10596_82: | |
movq xmm1, qword ptr [rsp + 16] | |
movq rax, xmm1 | |
test rax, r13 | |
not rax | |
je .LBB10596_84 | |
pxor xmm1, xmm1 | |
.LBB10596_84: | |
test r14, rax | |
jne .LBB10596_86 | |
movq qword ptr [rsp + 16], xmm1 | |
.LBB10596_86: | |
mulsd xmm0, qword ptr [rsp + 16] | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r13 | |
not rax | |
je .LBB10596_88 | |
xorpd xmm1, xmm1 | |
.LBB10596_88: | |
test r14, rax | |
jne .LBB10596_90 | |
movapd xmm0, xmm1 | |
.LBB10596_90: | |
movapd xmm1, xmmword ptr [rip + .LCPI10596_2] | |
andpd xmm1, xmm0 | |
cmpltsd xmm1, qword ptr [rip + .LCPI10596_3] | |
andpd xmm1, xmm0 | |
addsd xmm1, xmm2 | |
movq rax, xmm1 | |
movaps xmmword ptr [rsp + 16], xmm1 | |
movapd xmm0, xmm1 | |
test rax, r13 | |
not rax | |
je .LBB10596_91 | |
xorpd xmm0, xmm0 | |
test r14, rax | |
je .LBB10596_101 | |
.LBB10596_92: | |
mov rax, qword ptr [rsp] | |
test rax, rax | |
je .LBB10596_102 | |
.LBB10596_93: | |
imul rax, rax, 176 | |
xor ecx, ecx | |
xor r14d, r14d | |
.p2align 4, 0x90 | |
.LBB10596_94: | |
cmp dword ptr [r12 + rcx + 48], 4 | |
jne .LBB10596_103 | |
cmp byte ptr [r12 + rcx + 138], 0 | |
je .LBB10596_103 | |
inc r14 | |
add rcx, 176 | |
cmp rax, rcx | |
jne .LBB10596_94 | |
mov r14, qword ptr [rsp] | |
jmp .LBB10596_103 | |
.LBB10596_75: | |
test r14, rax | |
jne .LBB10596_76 | |
.LBB10596_99: | |
movapd xmm2, xmm0 | |
xorpd xmm0, xmm0 | |
test rbx, rbx | |
jne .LBB10596_77 | |
jmp .LBB10596_78 | |
.LBB10596_91: | |
test r14, rax | |
jne .LBB10596_92 | |
.LBB10596_101: | |
movapd xmmword ptr [rsp + 16], xmm0 | |
mov rax, qword ptr [rsp] | |
test rax, rax | |
jne .LBB10596_93 | |
.LBB10596_102: | |
xor r14d, r14d | |
.LBB10596_103: | |
mov rax, qword ptr [rsp] | |
mov rsi, rax | |
sub rsi, r14 | |
imul rbp, r14, 176 | |
add rbp, r12 | |
imul rax, rax, 176 | |
lea rcx, [rax + r12] | |
add rcx, -176 | |
mov rdx, r14 | |
.p2align 4, 0x90 | |
.LBB10596_104: | |
mov r13, qword ptr [rsp] | |
sub r13, rdx | |
je .LBB10596_110 | |
mov rax, rdx | |
mov rbx, rcx | |
cmp dword ptr [rcx + 48], 4 | |
jne .LBB10596_107 | |
lea rdx, [rax + 1] | |
lea rcx, [rbx - 176] | |
cmp byte ptr [rbx + 138], 0 | |
jne .LBB10596_104 | |
.LBB10596_107: | |
cmp r13, rsi | |
ja .LBB10596_143 | |
mov rcx, qword ptr [rsp] | |
dec rcx | |
cmp rcx, rax | |
jne .LBB10596_136 | |
mov r13d, 1 | |
mov rdi, r15 | |
mov rsi, qword ptr [rsp + 8] | |
mov rdx, rbp | |
movapd xmm0, xmmword ptr [rsp + 16] | |
mov ecx, 15 | |
call typst::math::lr::scale | |
jmp .LBB10596_138 | |
.LBB10596_110: | |
xor r13d, r13d | |
.LBB10596_111: | |
add r13, r14 | |
mov rsi, qword ptr [rsp] | |
test rsi, rsi | |
je .LBB10596_119 | |
add r12, 48 | |
mov rax, r14 | |
neg rax | |
mov ebx, 1 | |
xor ebp, ebp | |
xor ecx, ecx | |
jmp .LBB10596_114 | |
.p2align 4, 0x90 | |
.LBB10596_113: | |
inc rcx | |
add r12, 176 | |
inc rbx | |
cmp rcx, rsi | |
je .LBB10596_127 | |
.LBB10596_114: | |
lea rdx, [rax + rbx] | |
cmp rdx, 2 | |
je .LBB10596_116 | |
lea rdx, [rcx + 2] | |
cmp rdx, r13 | |
jne .LBB10596_113 | |
.LBB10596_116: | |
cmp dword ptr [r12], 5 | |
jne .LBB10596_113 | |
cmp byte ptr [r12 - 40], 0 | |
je .LBB10596_113 | |
mov ebp, 1 | |
cmp rbx, rsi | |
jne .LBB10596_120 | |
jmp .LBB10596_127 | |
.LBB10596_119: | |
xor ebx, ebx | |
xor ebp, ebp | |
cmp rbx, rsi | |
je .LBB10596_127 | |
.LBB10596_120: | |
sub r14, rbx | |
inc r14 | |
imul r15, rbx, 176 | |
add r15, qword ptr [rsp + 144] | |
mov r12, qword ptr [rip + memcpy@GOTPCREL] | |
jmp .LBB10596_122 | |
.p2align 4, 0x90 | |
.LBB10596_121: | |
imul rdi, rbp, -176 | |
add rdi, r15 | |
mov edx, 176 | |
mov rsi, r15 | |
call r12 | |
inc rbx | |
add r15, 176 | |
cmp rbx, qword ptr [rsp] | |
je .LBB10596_127 | |
.LBB10596_122: | |
sub r14, 1 | |
jb .LBB10596_124 | |
lea rax, [rbx + 2] | |
cmp rax, r13 | |
jne .LBB10596_121 | |
.LBB10596_124: | |
cmp dword ptr [r15 + 48], 5 | |
jne .LBB10596_121 | |
cmp byte ptr [r15 + 8], 0 | |
je .LBB10596_121 | |
inc rbp | |
inc rbx | |
add r15, 176 | |
cmp rbx, qword ptr [rsp] | |
jne .LBB10596_122 | |
.LBB10596_127: | |
mov rbx, qword ptr [rsp] | |
sub rbx, rbp | |
mov r13, qword ptr [rsp + 136] | |
mov r15, qword ptr [rsp + 144] | |
imul r14, rbx, 176 | |
lea rax, [r15 + r14] | |
mov qword ptr [rsp + 48], r15 | |
mov qword ptr [rsp + 64], r13 | |
mov qword ptr [rsp + 56], r15 | |
mov qword ptr [rsp + 72], rax | |
mov rbp, qword ptr [rsp + 40] | |
mov rax, qword ptr [rbp + 544] | |
mov r12, qword ptr [rbp + 560] | |
sub rax, r12 | |
cmp rax, rbx | |
jae .LBB10596_130 | |
lea rdi, [rbp + 544] | |
mov rsi, r12 | |
mov rdx, rbx | |
call alloc::raw_vec::RawVec<T,A>::reserve::do_reserve_and_handle | |
mov r12, qword ptr [rbp + 560] | |
.LBB10596_130: | |
imul rdi, r12, 176 | |
add rdi, qword ptr [rbp + 552] | |
mov rsi, r15 | |
mov rdx, r14 | |
call qword ptr [rip + memcpy@GOTPCREL] | |
add rbx, r12 | |
mov qword ptr [rbp + 560], rbx | |
test r13, r13 | |
je .LBB10596_132 | |
imul rsi, r13, 176 | |
mov edx, 16 | |
mov rdi, r15 | |
call qword ptr [rip + __rust_dealloc@GOTPCREL] | |
.LBB10596_132: | |
cmp qword ptr [rsp + 176], 0 | |
je .LBB10596_134 | |
lea rdi, [rsp + 176] | |
call qword ptr [rip + <typst_timing::TimingScope as core::ops::drop::Drop>::drop@GOTPCREL] | |
.LBB10596_134: | |
xor r12d, r12d | |
mov rdx, qword ptr [rsp] | |
.LBB10596_135: | |
mov rax, r12 | |
add rsp, 216 | |
.cfi_def_cfa_offset 56 | |
pop rbx | |
.cfi_def_cfa_offset 48 | |
pop r12 | |
.cfi_def_cfa_offset 40 | |
pop r13 | |
.cfi_def_cfa_offset 32 | |
pop r14 | |
.cfi_def_cfa_offset 24 | |
pop r15 | |
.cfi_def_cfa_offset 16 | |
pop rbp | |
.cfi_def_cfa_offset 8 | |
ret | |
.LBB10596_136: | |
.cfi_def_cfa_offset 272 | |
mov rdi, r15 | |
mov rsi, qword ptr [rsp + 8] | |
mov rdx, rbp | |
movapd xmm0, xmmword ptr [rsp + 16] | |
mov ecx, 8 | |
call typst::math::lr::scale | |
mov rdi, r15 | |
mov rsi, qword ptr [rsp + 8] | |
mov rdx, rbx | |
movapd xmm0, xmmword ptr [rsp + 16] | |
mov ecx, 3 | |
call typst::math::lr::scale | |
.LBB10596_138: | |
imul rbx, r13, 176 | |
jmp .LBB10596_140 | |
.p2align 4, 0x90 | |
.LBB10596_139: | |
add rbp, 176 | |
add rbx, -176 | |
je .LBB10596_111 | |
.LBB10596_140: | |
cmp dword ptr [rbp + 48], 3 | |
jne .LBB10596_139 | |
cmp byte ptr [rbp + 145], 0 | |
jne .LBB10596_139 | |
mov byte ptr [rbp + 145], 1 | |
mov rdi, r15 | |
mov rsi, qword ptr [rsp + 8] | |
mov rdx, rbp | |
movapd xmm0, xmmword ptr [rsp + 16] | |
mov ecx, 7 | |
call typst::math::lr::scale | |
jmp .LBB10596_139 | |
.LBB10596_143: | |
lea rdx, [rip + .Lanon.64346fae68f7b6493629af87379b5a7d.8976] | |
mov rdi, r13 | |
call qword ptr [rip + core::slice::index::slice_end_index_len_fail@GOTPCREL] | |
ud2 | |
mov rbx, rax | |
lea rdi, [rsp + 48] | |
call core::ptr::drop_in_place<alloc::vec::into_iter::IntoIter<typst::math::fragment::MathFragment>> | |
jmp .LBB10596_152 | |
call qword ptr [rip + core::panicking::panic_in_cleanup@GOTPCREL] | |
jmp .LBB10596_151 | |
mov rbx, rax | |
jmp .LBB10596_152 | |
jmp .LBB10596_151 | |
.LBB10596_151: | |
mov rbx, rax | |
lea rdi, [rsp + 136] | |
call core::ptr::drop_in_place<alloc::vec::Vec<typst::math::fragment::MathFragment>> | |
.LBB10596_152: | |
cmp qword ptr [rsp + 176], 0 | |
je .LBB10596_154 | |
lea rdi, [rsp + 176] | |
call qword ptr [rip + <typst_timing::TimingScope as core::ops::drop::Drop>::drop@GOTPCREL] | |
.LBB10596_154: | |
mov rdi, rbx | |
call _Unwind_Resume@PLT | |
call qword ptr [rip + core::panicking::panic_in_cleanup@GOTPCREL] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.section ".text.typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math","ax",@progbits | |
.globl typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math | |
.p2align 4, 0x90 | |
.type typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math,@function | |
typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math: | |
.cfi_startproc | |
.cfi_personality 155, DW.ref.rust_eh_personality | |
.cfi_lsda 27, .Lexception3462 | |
push rbp | |
.cfi_def_cfa_offset 16 | |
push r15 | |
.cfi_def_cfa_offset 24 | |
push r14 | |
.cfi_def_cfa_offset 32 | |
push r13 | |
.cfi_def_cfa_offset 40 | |
push r12 | |
.cfi_def_cfa_offset 48 | |
push rbx | |
.cfi_def_cfa_offset 56 | |
sub rsp, 232 | |
.cfi_def_cfa_offset 288 | |
.cfi_offset rbx, -56 | |
.cfi_offset r12, -48 | |
.cfi_offset r13, -40 | |
.cfi_offset r14, -32 | |
.cfi_offset r15, -24 | |
.cfi_offset rbp, -16 | |
mov qword ptr [rsp + 24], rdx | |
mov r12, rsi | |
mov rbx, rdi | |
mov rcx, qword ptr [rdi + 16] | |
lea rsi, [rip + .Lanon.64346fae68f7b6493629af87379b5a7d.8975] | |
lea rdi, [rsp + 192] | |
mov edx, 7 | |
call qword ptr [rip + typst_timing::TimingScope::new@GOTPCREL] | |
mov rax, qword ptr [rbx + 8] | |
mov rdi, qword ptr [rax + 16] | |
cmp rdi, 17 | |
mov r8d, 16 | |
cmovae r8, rdi | |
dec r8 | |
mov rax, r8 | |
and rax, -16 | |
add rax, qword ptr [rbx] | |
mov ecx, 16 | |
and r8, -64 | |
add r8, rax | |
dec rdi | |
and rdi, -16 | |
mov rax, qword ptr [rdi + r8 + 136] | |
mov rdx, qword ptr [rax + 16] | |
cmp rdx, 17 | |
cmovae rcx, rdx | |
dec rcx | |
mov rsi, rcx | |
and rsi, -16 | |
mov qword ptr [rsp + 56], rdi | |
mov qword ptr [rsp + 112], r8 | |
add rsi, qword ptr [rdi + r8 + 128] | |
and rcx, -64 | |
add rcx, rsi | |
dec rdx | |
and rdx, -16 | |
lea rdi, [rdx + rcx] | |
add rdi, 96 | |
call qword ptr [rax + 112] | |
mov rcx, qword ptr [rsp + 56] | |
mov rsi, qword ptr [rsp + 112] | |
lea rbx, [rcx + rsi] | |
add rbx, 128 | |
movabs rcx, -6301422707868368758 | |
cmp rax, rcx | |
jne .LBB10596_5 | |
movabs rax, 7332711041426343755 | |
cmp rdx, rax | |
jne .LBB10596_5 | |
mov rax, qword ptr [rsp + 56] | |
mov rcx, qword ptr [rsp + 112] | |
add rax, rcx | |
add rax, 80 | |
mov rcx, qword ptr [rax + 56] | |
mov r14, qword ptr [rcx + 16] | |
cmp r14, 17 | |
mov r15d, 16 | |
cmovae r15, r14 | |
dec r15 | |
mov rcx, r15 | |
and rcx, -16 | |
add rcx, qword ptr [rax + 48] | |
and r15, -64 | |
add r15, rcx | |
dec r14 | |
and r14, -16 | |
lea rax, [r14 + r15] | |
add rax, 96 | |
xor r8d, r8d | |
cmp dword ptr [r14 + r15 + 96], 2 | |
cmovne r8, rax | |
mov rdx, qword ptr [rip + typst::math::lr::_::<impl typst::foundations::element::NativeElement for typst::math::lr::LrElem>::data::DATA@GOTPCREL] | |
lea rdi, [rsp + 64] | |
mov rsi, qword ptr [rsp + 24] | |
xor ecx, ecx | |
call typst::foundations::styles::StyleChain::get | |
lea rax, [r14 + r15] | |
add rax, 80 | |
add rax, 48 | |
cmp qword ptr [rsp + 64], 0 | |
cmove rbx, rax | |
.LBB10596_5: | |
mov rcx, qword ptr [rsp + 24] | |
mov rax, qword ptr [rcx + 16] | |
mov qword ptr [rsp + 80], rax | |
movupd xmm0, xmmword ptr [rcx] | |
movapd xmmword ptr [rsp + 64], xmm0 | |
lea rcx, [rip + .Lanon.64346fae68f7b6493629af87379b5a7d.4824] | |
lea rdi, [rsp + 144] | |
lea r8, [rsp + 64] | |
mov rsi, r12 | |
mov rdx, rbx | |
call qword ptr [rip + typst::math::ctx::MathContext::layout_into_fragments@GOTPCREL] | |
mov qword ptr [rsp + 16], r12 | |
mov rax, qword ptr [rsp + 144] | |
mov r12, qword ptr [rsp + 152] | |
movabs rcx, -9223372036854775808 | |
mov rdx, qword ptr [rsp + 160] | |
cmp rax, rcx | |
mov qword ptr [rsp + 8], rdx | |
jne .LBB10596_9 | |
cmp qword ptr [rsp + 192], 0 | |
je .LBB10596_145 | |
lea rdi, [rsp + 192] | |
call qword ptr [rip + <typst_timing::TimingScope as core::ops::drop::Drop>::drop@GOTPCREL] | |
jmp .LBB10596_145 | |
.LBB10596_9: | |
mov qword ptr [rsp + 168], rax | |
mov qword ptr [rsp + 176], r12 | |
mov qword ptr [rsp + 184], rdx | |
mov rax, qword ptr [rsp + 16] | |
mov r8, qword ptr [rax + 152] | |
cmp r8, 12 | |
jb .LBB10596_10 | |
mov rcx, qword ptr [rax + 144] | |
lea rsi, [rcx + 12] | |
lea rdx, [r8 - 12] | |
lea rdi, [rsp + 64] | |
call qword ptr [rip + ttf_parser::tables::math::MathValue::parse@GOTPCREL] | |
cmp dword ptr [rsp + 64], 2 | |
jne .LBB10596_14 | |
.LBB10596_10: | |
xor ebx, ebx | |
jmp .LBB10596_15 | |
.LBB10596_14: | |
movzx ebx, word ptr [rsp + 96] | |
.LBB10596_15: | |
mov rdi, qword ptr [rsp + 24] | |
call qword ptr [rip + typst::math::equation::_::<impl typst::math::equation::EquationElem>::size_in@GOTPCREL] | |
movzx eax, al | |
lea ecx, [rax - 2] | |
cmp ecx, 2 | |
jae .LBB10596_18 | |
movsd xmm0, qword ptr [rip + .LCPI10596_0] | |
jmp .LBB10596_25 | |
.LBB10596_18: | |
xorpd xmm0, xmm0 | |
test eax, eax | |
jne .LBB10596_21 | |
mov rax, qword ptr [rsp + 16] | |
cmp qword ptr [rax + 152], 4 | |
jb .LBB10596_24 | |
mov rax, qword ptr [rsp + 16] | |
mov rax, qword ptr [rax + 144] | |
movzx eax, word ptr [rax + 2] | |
jmp .LBB10596_23 | |
.LBB10596_21: | |
mov rax, qword ptr [rsp + 16] | |
cmp qword ptr [rax + 152], 2 | |
jb .LBB10596_24 | |
mov rax, qword ptr [rsp + 16] | |
mov rax, qword ptr [rax + 144] | |
movzx eax, word ptr [rax] | |
.LBB10596_23: | |
rol ax, 8 | |
cwde | |
xorps xmm0, xmm0 | |
cvtsi2sd xmm0, eax | |
.LBB10596_24: | |
divsd xmm0, qword ptr [rip + .LCPI10596_1] | |
.LBB10596_25: | |
movsd qword ptr [rsp + 32], xmm0 | |
mov rdi, qword ptr [rsp + 24] | |
call qword ptr [rip + typst::text::_::<impl typst::text::TextElem>::size_in@GOTPCREL] | |
movabs r14, 9218868437227405312 | |
movabs r15, 4503599627370495 | |
movq xmm1, qword ptr [rsp + 32] | |
movq rax, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_28 | |
pxor xmm1, xmm1 | |
.LBB10596_28: | |
test rax, r14 | |
jne .LBB10596_30 | |
movq qword ptr [rsp + 32], xmm1 | |
.LBB10596_30: | |
mulsd xmm0, qword ptr [rsp + 32] | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r15 | |
not rax | |
je .LBB10596_32 | |
xorpd xmm1, xmm1 | |
.LBB10596_32: | |
test rax, r14 | |
jne .LBB10596_34 | |
movapd xmm0, xmm1 | |
.LBB10596_34: | |
mov rax, qword ptr [rsp + 16] | |
mov rax, qword ptr [rax + 600] | |
mov rax, qword ptr [rax] | |
movsx ecx, bx | |
xorps xmm1, xmm1 | |
cvtsi2sd xmm1, ecx | |
divsd xmm1, qword ptr [rax + 5840] | |
movq rax, xmm1 | |
movapd xmm2, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_36 | |
xorpd xmm2, xmm2 | |
.LBB10596_36: | |
test rax, r14 | |
jne .LBB10596_38 | |
movapd xmm1, xmm2 | |
.LBB10596_38: | |
movq rax, xmm1 | |
movapd xmm2, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_40 | |
xorpd xmm2, xmm2 | |
.LBB10596_40: | |
test rax, r14 | |
jne .LBB10596_42 | |
movapd xmm1, xmm2 | |
.LBB10596_42: | |
mulsd xmm0, xmm1 | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r15 | |
not rax | |
je .LBB10596_44 | |
xorpd xmm1, xmm1 | |
.LBB10596_44: | |
test rax, r14 | |
jne .LBB10596_46 | |
movapd xmm0, xmm1 | |
.LBB10596_46: | |
movapd xmm1, xmmword ptr [rip + .LCPI10596_2] | |
andpd xmm1, xmm0 | |
cmpltsd xmm1, qword ptr [rip + .LCPI10596_3] | |
andpd xmm1, xmm0 | |
movlpd qword ptr [rsp + 136], xmm1 | |
cmp qword ptr [rsp + 8], 0 | |
je .LBB10596_55 | |
lea rdi, [rsp + 136] | |
mov rsi, r12 | |
call typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math::{{closure}} | |
movsd qword ptr [rsp + 104], xmm0 | |
mov ebx, 1 | |
mov rax, qword ptr [rsp + 8] | |
cmp rax, 1 | |
je .LBB10596_57 | |
lea rbx, [r12 + 176] | |
imul rax, rax, 176 | |
add rax, -176 | |
movabs rcx, 3353953467947191203 | |
mul rcx | |
mov r13, rdx | |
shr r13, 5 | |
lea r15, [rsp + 144] | |
lea r14, [rsp + 64] | |
mov rbp, qword ptr [rip + <typst_utils::scalar::Scalar as core::cmp::Ord>::cmp@GOTPCREL] | |
jmp .LBB10596_51 | |
.p2align 4, 0x90 | |
.LBB10596_50: | |
add rbx, 176 | |
dec r13 | |
je .LBB10596_56 | |
.LBB10596_51: | |
lea rdi, [rsp + 136] | |
mov rsi, rbx | |
call typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math::{{closure}} | |
movapd xmm1, xmm0 | |
movsd xmm0, qword ptr [rsp + 104] | |
movsd qword ptr [rsp + 144], xmm0 | |
movsd qword ptr [rsp + 64], xmm1 | |
mov rdi, r15 | |
mov rsi, r14 | |
movsd qword ptr [rsp + 32], xmm1 | |
call rbp | |
movsd xmm0, qword ptr [rsp + 32] | |
cmp al, 1 | |
je .LBB10596_50 | |
movsd qword ptr [rsp + 104], xmm0 | |
jmp .LBB10596_50 | |
.LBB10596_55: | |
xor ebx, ebx | |
jmp .LBB10596_57 | |
.LBB10596_56: | |
movabs r14, 9218868437227405312 | |
movabs r15, 4503599627370495 | |
mov ebx, 1 | |
.LBB10596_57: | |
mov rax, qword ptr [rsp + 56] | |
mov rcx, qword ptr [rsp + 112] | |
add rax, rcx | |
add rax, 96 | |
xor r8d, r8d | |
cmp dword ptr [rax], 2 | |
cmovne r8, rax | |
mov rdx, qword ptr [rip + typst::math::lr::_::<impl typst::foundations::element::NativeElement for typst::math::lr::LrElem>::data::DATA@GOTPCREL] | |
lea rdi, [rsp + 64] | |
mov rsi, qword ptr [rsp + 24] | |
xor ecx, ecx | |
call typst::foundations::styles::StyleChain::get | |
cmp qword ptr [rsp + 64], 0 | |
je .LBB10596_60 | |
movsd xmm0, qword ptr [rsp + 88] | |
movsd qword ptr [rsp + 32], xmm0 | |
xorpd xmm0, xmm0 | |
xorpd xmm1, xmm1 | |
jne .LBB10596_61 | |
jmp .LBB10596_62 | |
.LBB10596_60: | |
movsd xmm0, qword ptr [rip + .LCPI10596_0] | |
movsd qword ptr [rsp + 32], xmm0 | |
xorpd xmm0, xmm0 | |
xorpd xmm1, xmm1 | |
je .LBB10596_62 | |
.LBB10596_61: | |
movsd xmm0, qword ptr [rsp + 72] | |
movsd xmm1, qword ptr [rsp + 80] | |
.LBB10596_62: | |
movsd qword ptr [rsp + 56], xmm0 | |
movapd xmmword ptr [rsp + 112], xmm1 | |
movsd qword ptr [rsp + 144], xmm1 | |
mov qword ptr [rsp + 64], 0 | |
lea rdi, [rsp + 144] | |
lea rsi, [rsp + 64] | |
call qword ptr [rip + <typst_utils::scalar::Scalar as core::cmp::PartialEq>::eq@GOTPCREL] | |
xorpd xmm0, xmm0 | |
test al, al | |
jne .LBB10596_74 | |
mov rdi, qword ptr [rsp + 24] | |
call qword ptr [rip + typst::text::_::<impl typst::text::TextElem>::size_in@GOTPCREL] | |
movdqa xmm2, xmmword ptr [rsp + 112] | |
movq rax, xmm2 | |
movdqa xmm1, xmm2 | |
test rax, r15 | |
not rax | |
je .LBB10596_67 | |
pxor xmm1, xmm1 | |
.LBB10596_67: | |
test r14, rax | |
jne .LBB10596_69 | |
movdqa xmm2, xmm1 | |
.LBB10596_69: | |
mulsd xmm2, xmm0 | |
movq rax, xmm2 | |
movapd xmm0, xmm2 | |
test rax, r15 | |
not rax | |
je .LBB10596_71 | |
xorpd xmm0, xmm0 | |
.LBB10596_71: | |
test r14, rax | |
jne .LBB10596_73 | |
movapd xmm2, xmm0 | |
.LBB10596_73: | |
movapd xmm0, xmmword ptr [rip + .LCPI10596_2] | |
andpd xmm0, xmm2 | |
cmpltsd xmm0, qword ptr [rip + .LCPI10596_3] | |
andpd xmm0, xmm2 | |
.LBB10596_74: | |
movsd xmm1, qword ptr [rsp + 56] | |
addsd xmm1, xmm0 | |
movq rax, xmm1 | |
movapd xmm2, xmm1 | |
movapd xmm0, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_75 | |
xorpd xmm0, xmm0 | |
test r14, rax | |
je .LBB10596_99 | |
.LBB10596_76: | |
xorpd xmm0, xmm0 | |
test rbx, rbx | |
je .LBB10596_78 | |
.LBB10596_77: | |
movsd xmm0, qword ptr [rsp + 104] | |
addsd xmm0, xmm0 | |
.LBB10596_78: | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r15 | |
not rax | |
je .LBB10596_80 | |
xorpd xmm1, xmm1 | |
.LBB10596_80: | |
test r14, rax | |
jne .LBB10596_82 | |
movapd xmm0, xmm1 | |
.LBB10596_82: | |
movq xmm1, qword ptr [rsp + 32] | |
movq rax, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_84 | |
pxor xmm1, xmm1 | |
.LBB10596_84: | |
test r14, rax | |
jne .LBB10596_86 | |
movq qword ptr [rsp + 32], xmm1 | |
.LBB10596_86: | |
mulsd xmm0, qword ptr [rsp + 32] | |
movq rax, xmm0 | |
movapd xmm1, xmm0 | |
test rax, r15 | |
not rax | |
je .LBB10596_88 | |
xorpd xmm1, xmm1 | |
.LBB10596_88: | |
test r14, rax | |
jne .LBB10596_90 | |
movapd xmm0, xmm1 | |
.LBB10596_90: | |
movapd xmm1, xmmword ptr [rip + .LCPI10596_2] | |
andpd xmm1, xmm0 | |
cmpltsd xmm1, qword ptr [rip + .LCPI10596_3] | |
andpd xmm1, xmm0 | |
addsd xmm1, xmm2 | |
movq rax, xmm1 | |
movaps xmmword ptr [rsp + 32], xmm1 | |
movapd xmm0, xmm1 | |
test rax, r15 | |
not rax | |
je .LBB10596_91 | |
xorpd xmm0, xmm0 | |
test r14, rax | |
je .LBB10596_101 | |
.LBB10596_92: | |
cmp qword ptr [rsp + 8], 0 | |
je .LBB10596_102 | |
.LBB10596_93: | |
lea rax, [r12 + 138] | |
xor r13d, r13d | |
.p2align 4, 0x90 | |
.LBB10596_94: | |
cmp dword ptr [rax - 90], 4 | |
jne .LBB10596_103 | |
cmp byte ptr [rax], 0 | |
je .LBB10596_103 | |
inc r13 | |
add rax, 176 | |
cmp qword ptr [rsp + 8], r13 | |
jne .LBB10596_94 | |
mov r13, qword ptr [rsp + 8] | |
jmp .LBB10596_103 | |
.LBB10596_75: | |
test r14, rax | |
jne .LBB10596_76 | |
.LBB10596_99: | |
movapd xmm2, xmm0 | |
xorpd xmm0, xmm0 | |
test rbx, rbx | |
jne .LBB10596_77 | |
jmp .LBB10596_78 | |
.LBB10596_91: | |
test r14, rax | |
jne .LBB10596_92 | |
.LBB10596_101: | |
movapd xmmword ptr [rsp + 32], xmm0 | |
cmp qword ptr [rsp + 8], 0 | |
jne .LBB10596_93 | |
.LBB10596_102: | |
xor r13d, r13d | |
.LBB10596_103: | |
mov rdi, qword ptr [rsp + 8] | |
cmp r13, rdi | |
mov rbp, rdi | |
cmovb rbp, r13 | |
imul rax, rdi, 176 | |
add rax, r12 | |
add rax, -38 | |
.p2align 4, 0x90 | |
.LBB10596_104: | |
cmp rdi, r13 | |
jbe .LBB10596_109 | |
lea rcx, [rdi - 1] | |
cmp rcx, qword ptr [rsp + 8] | |
jae .LBB10596_146 | |
cmp dword ptr [rax - 90], 4 | |
jne .LBB10596_108 | |
cmp byte ptr [rax], 0 | |
lea rax, [rax - 176] | |
mov rdi, rcx | |
jne .LBB10596_104 | |
.LBB10596_108: | |
inc rcx | |
mov rbp, rcx | |
.LBB10596_109: | |
cmp rbp, r13 | |
jb .LBB10596_147 | |
imul r14, r13, 176 | |
lea rbx, [r12 + r14] | |
mov r15, rbp | |
sub r15, r13 | |
je .LBB10596_115 | |
cmp r15, 1 | |
jne .LBB10596_113 | |
mov rdi, qword ptr [rsp + 16] | |
mov rsi, qword ptr [rsp + 24] | |
mov rdx, rbx | |
movapd xmm0, xmmword ptr [rsp + 32] | |
mov ecx, 15 | |
call typst::math::lr::scale | |
jmp .LBB10596_115 | |
.LBB10596_113: | |
mov rdi, qword ptr [rsp + 16] | |
mov rsi, qword ptr [rsp + 24] | |
mov rdx, rbx | |
movapd xmm0, xmmword ptr [rsp + 32] | |
mov ecx, 8 | |
call typst::math::lr::scale | |
imul rax, r15, 176 | |
lea rdx, [rax + rbx] | |
add rdx, -176 | |
mov rdi, qword ptr [rsp + 16] | |
mov rsi, qword ptr [rsp + 24] | |
movapd xmm0, xmmword ptr [rsp + 32] | |
mov ecx, 3 | |
call typst::math::lr::scale | |
.LBB10596_115: | |
cmp rbp, r13 | |
jne .LBB10596_124 | |
.LBB10596_116: | |
cmp qword ptr [rsp + 8], 0 | |
je .LBB10596_129 | |
add r12, 48 | |
mov rax, r13 | |
neg rax | |
mov r14d, 1 | |
xor r15d, r15d | |
xor ecx, ecx | |
jmp .LBB10596_119 | |
.p2align 4, 0x90 | |
.LBB10596_118: | |
inc rcx | |
add r12, 176 | |
inc r14 | |
cmp rcx, qword ptr [rsp + 8] | |
je .LBB10596_137 | |
.LBB10596_119: | |
lea rdx, [rax + r14] | |
cmp rdx, 2 | |
je .LBB10596_121 | |
lea rdx, [rcx + 2] | |
cmp rdx, rbp | |
jne .LBB10596_118 | |
.LBB10596_121: | |
cmp dword ptr [r12], 5 | |
jne .LBB10596_118 | |
cmp byte ptr [r12 - 40], 0 | |
je .LBB10596_118 | |
mov r15d, 1 | |
cmp r14, qword ptr [rsp + 8] | |
jne .LBB10596_130 | |
jmp .LBB10596_137 | |
.LBB10596_124: | |
imul r15, rbp, 176 | |
sub r15, r14 | |
jmp .LBB10596_126 | |
.p2align 4, 0x90 | |
.LBB10596_125: | |
add rbx, 176 | |
add r15, -176 | |
je .LBB10596_116 | |
.LBB10596_126: | |
cmp dword ptr [rbx + 48], 3 | |
jne .LBB10596_125 | |
cmp byte ptr [rbx + 145], 0 | |
jne .LBB10596_125 | |
mov byte ptr [rbx + 145], 1 | |
mov rdi, qword ptr [rsp + 16] | |
mov rsi, qword ptr [rsp + 24] | |
mov rdx, rbx | |
movapd xmm0, xmmword ptr [rsp + 32] | |
mov ecx, 7 | |
call typst::math::lr::scale | |
jmp .LBB10596_125 | |
.LBB10596_129: | |
xor r14d, r14d | |
xor r15d, r15d | |
cmp r14, qword ptr [rsp + 8] | |
je .LBB10596_137 | |
.LBB10596_130: | |
sub r13, r14 | |
inc r13 | |
imul rbx, r14, 176 | |
add rbx, qword ptr [rsp + 176] | |
mov r12, qword ptr [rip + memcpy@GOTPCREL] | |
jmp .LBB10596_132 | |
.p2align 4, 0x90 | |
.LBB10596_131: | |
imul rdi, r15, -176 | |
add rdi, rbx | |
mov edx, 176 | |
mov rsi, rbx | |
call r12 | |
inc r14 | |
add rbx, 176 | |
cmp r14, qword ptr [rsp + 8] | |
je .LBB10596_137 | |
.LBB10596_132: | |
sub r13, 1 | |
jb .LBB10596_134 | |
lea rax, [r14 + 2] | |
cmp rax, rbp | |
jne .LBB10596_131 | |
.LBB10596_134: | |
cmp dword ptr [rbx + 48], 5 | |
jne .LBB10596_131 | |
cmp byte ptr [rbx + 8], 0 | |
je .LBB10596_131 | |
inc r15 | |
inc r14 | |
add rbx, 176 | |
cmp r14, qword ptr [rsp + 8] | |
jne .LBB10596_132 | |
.LBB10596_137: | |
mov r14, qword ptr [rsp + 8] | |
sub r14, r15 | |
mov r13, qword ptr [rsp + 168] | |
mov rbx, qword ptr [rsp + 176] | |
imul r15, r14, 176 | |
lea rax, [rbx + r15] | |
mov qword ptr [rsp + 64], rbx | |
mov qword ptr [rsp + 80], r13 | |
mov qword ptr [rsp + 72], rbx | |
mov qword ptr [rsp + 88], rax | |
mov rbp, qword ptr [rsp + 16] | |
mov rax, qword ptr [rbp + 544] | |
mov r12, qword ptr [rbp + 560] | |
sub rax, r12 | |
cmp rax, r14 | |
jae .LBB10596_140 | |
lea rdi, [rbp + 544] | |
mov rsi, r12 | |
mov rdx, r14 | |
call alloc::raw_vec::RawVec<T,A>::reserve::do_reserve_and_handle | |
mov r12, qword ptr [rbp + 560] | |
.LBB10596_140: | |
imul rdi, r12, 176 | |
add rdi, qword ptr [rbp + 552] | |
mov rsi, rbx | |
mov rdx, r15 | |
call qword ptr [rip + memcpy@GOTPCREL] | |
add r14, r12 | |
mov qword ptr [rbp + 560], r14 | |
test r13, r13 | |
je .LBB10596_142 | |
imul rsi, r13, 176 | |
mov edx, 16 | |
mov rdi, rbx | |
call qword ptr [rip + __rust_dealloc@GOTPCREL] | |
.LBB10596_142: | |
cmp qword ptr [rsp + 192], 0 | |
je .LBB10596_144 | |
lea rdi, [rsp + 192] | |
call qword ptr [rip + <typst_timing::TimingScope as core::ops::drop::Drop>::drop@GOTPCREL] | |
.LBB10596_144: | |
xor r12d, r12d | |
.LBB10596_145: | |
mov rax, r12 | |
mov rdx, qword ptr [rsp + 8] | |
add rsp, 232 | |
.cfi_def_cfa_offset 56 | |
pop rbx | |
.cfi_def_cfa_offset 48 | |
pop r12 | |
.cfi_def_cfa_offset 40 | |
pop r13 | |
.cfi_def_cfa_offset 32 | |
pop r14 | |
.cfi_def_cfa_offset 24 | |
pop r15 | |
.cfi_def_cfa_offset 16 | |
pop rbp | |
.cfi_def_cfa_offset 8 | |
ret | |
.LBB10596_146: | |
.cfi_def_cfa_offset 288 | |
dec rdi | |
lea rdx, [rip + .Lanon.64346fae68f7b6493629af87379b5a7d.8976] | |
mov rsi, qword ptr [rsp + 8] | |
call qword ptr [rip + core::panicking::panic_bounds_check@GOTPCREL] | |
jmp .LBB10596_148 | |
.LBB10596_147: | |
lea rdx, [rip + .Lanon.64346fae68f7b6493629af87379b5a7d.8977] | |
mov rdi, r13 | |
mov rsi, rbp | |
call qword ptr [rip + core::slice::index::slice_index_order_fail@GOTPCREL] | |
.LBB10596_148: | |
ud2 | |
mov rbx, rax | |
lea rdi, [rsp + 64] | |
call core::ptr::drop_in_place<alloc::vec::into_iter::IntoIter<typst::math::fragment::MathFragment>> | |
jmp .LBB10596_156 | |
call qword ptr [rip + core::panicking::panic_in_cleanup@GOTPCREL] | |
jmp .LBB10596_155 | |
mov rbx, rax | |
jmp .LBB10596_156 | |
jmp .LBB10596_155 | |
.LBB10596_155: | |
mov rbx, rax | |
lea rdi, [rsp + 168] | |
call core::ptr::drop_in_place<alloc::vec::Vec<typst::math::fragment::MathFragment>> | |
.LBB10596_156: | |
cmp qword ptr [rsp + 192], 0 | |
je .LBB10596_158 | |
lea rdi, [rsp + 192] | |
call qword ptr [rip + <typst_timing::TimingScope as core::ops::drop::Drop>::drop@GOTPCREL] | |
.LBB10596_158: | |
mov rdi, rbx | |
call _Unwind_Resume@PLT | |
call qword ptr [rip + core::panicking::panic_in_cleanup@GOTPCREL] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment