//
// Created by steve on 3/15/2021.
//

#include <deque>
#include <iostream>
#include <string>

std::string getDimsExceptionString(const std::deque<unsigned long long>& dims)
{
    std::string err = "( ";
    if(dims.size() != 0)
    {
        for(unsigned long long i = 0;i<dims.size()- 1; i++)
        {
            err += std::to_string(dims[i]) + ", ";
        }
        err += std::to_string(dims[dims.size() - 1]);

    }
    err += ")";
    return err;
}

unsigned long long getTotalMatricesFromDims(const std::deque<unsigned long long>& dims)
{
    if(dims.size() == 0)
    {
        return 0;
    }
    else if(dims.size() <= 2)
    {
        return 1;
    }
    else
    {
        unsigned long long prod = 1;
        for(unsigned i = 0; i < dims.size()-2; i++)
        {
            prod *= dims[i];
        }
        return prod;
    }
}
	.file	"tmpxft_003446d5_00000000-6_TensorHelpers.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB3886:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE3886:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.section	.rodata._ZNSt7__cxx119to_stringEy.str1.1,"aMS",@progbits,1
.LC0:
	.string	"00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899"
	.section	.text._ZNSt7__cxx119to_stringEy,"axG",@progbits,_ZNSt7__cxx119to_stringEy,comdat
	.weak	_ZNSt7__cxx119to_stringEy
	.type	_ZNSt7__cxx119to_stringEy, @function
_ZNSt7__cxx119to_stringEy:
.LFB3306:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$10000, %ecx
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	subq	$232, %rsp
	.cfi_def_cfa_offset 256
	movq	%fs:40, %rax
	movq	%rax, 216(%rsp)
	movq	%rsi, %rax
	movl	$1, %esi
.L7:
	cmpq	$9, %rax
	jbe	.L3
	cmpq	$99, %rax
	ja	.L4
	incl	%esi
	jmp	.L3
.L4:
	cmpq	$999, %rax
	ja	.L5
	addl	$2, %esi
	jmp	.L3
.L5:
	cmpq	$9999, %rax
	ja	.L6
	addl	$3, %esi
	jmp	.L3
.L6:
	xorl	%edx, %edx
	addl	$4, %esi
	divq	%rcx
	jmp	.L7
.L3:
	leaq	16(%rbp), %rax
	movq	%rbp, %rdi
	xorl	%edx, %edx
	movq	%rax, 0(%rbp)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc@PLT
	movl	8(%rbp), %eax
	movq	0(%rbp), %r8
	leaq	15(%rsp), %rdi
	leaq	.LC0(%rip), %rsi
	movl	$201, %ecx
	rep movsb
	leal	-1(%rax), %ecx
	movl	$100, %esi
.L8:
	cmpq	$99, %rbx
	jbe	.L15
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rsi
	addq	%rdx, %rdx
	movq	%rax, %rbx
	movl	%ecx, %eax
	movb	16(%rsp,%rdx), %dil
	movb	15(%rsp,%rdx), %dl
	movb	%dil, (%r8,%rax)
	leal	-1(%rcx), %eax
	subl	$2, %ecx
	movb	%dl, (%r8,%rax)
	jmp	.L8
.L15:
	leal	48(%rbx), %eax
	cmpq	$9, %rbx
	jbe	.L11
	addq	%rbx, %rbx
	movb	16(%rsp,%rbx), %al
	movb	%al, 1(%r8)
	movb	15(%rsp,%rbx), %al
.L11:
	movb	%al, (%r8)
	movq	216(%rsp), %rax
	subq	%fs:40, %rax
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	addq	$232, %rsp
	.cfi_def_cfa_offset 24
	movq	%rbp, %rax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3306:
	.size	_ZNSt7__cxx119to_stringEy, .-_ZNSt7__cxx119to_stringEy
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB3909:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	movq	%rax, %rdi
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rdx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE3909:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNKSt5dequeIySaIyEE4sizeEv,"axG",@progbits,_ZNKSt5dequeIySaIyEE4sizeEv,comdat
	.align 2
	.weak	_ZNKSt5dequeIySaIyEE4sizeEv
	.type	_ZNKSt5dequeIySaIyEE4sizeEv, @function
_ZNKSt5dequeIySaIyEE4sizeEv:
.LFB4212:
	.cfi_startproc
	endbr64
	movq	72(%rdi), %rdx
	movq	%rdx, %rax
	subq	40(%rdi), %rax
	sarq	$3, %rax
	cmpq	$1, %rdx
	movq	48(%rdi), %rdx
	adcq	$-1, %rax
	subq	56(%rdi), %rdx
	sarq	$3, %rdx
	salq	$6, %rax
	addq	%rdx, %rax
	movq	32(%rdi), %rdx
	subq	16(%rdi), %rdx
	sarq	$3, %rdx
	addq	%rdx, %rax
	ret
	.cfi_endproc
.LFE4212:
	.size	_ZNKSt5dequeIySaIyEE4sizeEv, .-_ZNKSt5dequeIySaIyEE4sizeEv
	.section	.text._ZNKSt15_Deque_iteratorIyRyPyEixEl,"axG",@progbits,_ZNKSt15_Deque_iteratorIyRyPyEixEl,comdat
	.align 2
	.weak	_ZNKSt15_Deque_iteratorIyRyPyEixEl
	.type	_ZNKSt15_Deque_iteratorIyRyPyEixEl, @function
_ZNKSt15_Deque_iteratorIyRyPyEixEl:
.LFB4357:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rdx
	movq	24(%rdi), %rcx
	movq	%rdx, %rax
	subq	8(%rdi), %rax
	sarq	$3, %rax
	addq	%rsi, %rax
	js	.L20
	cmpq	$63, %rax
	jg	.L21
	leaq	(%rdx,%rsi,8), %rax
	ret
.L21:
	movq	%rax, %rdx
	sarq	$6, %rdx
	jmp	.L23
.L20:
	movq	%rax, %rdx
	notq	%rdx
	shrq	$6, %rdx
	notq	%rdx
.L23:
	movq	%rdx, %rsi
	movq	(%rcx,%rdx,8), %rdx
	salq	$6, %rsi
	subq	%rsi, %rax
	leaq	(%rdx,%rax,8), %rax
	ret
	.cfi_endproc
.LFE4357:
	.size	_ZNKSt15_Deque_iteratorIyRyPyEixEl, .-_ZNKSt15_Deque_iteratorIyRyPyEixEl
	.text
	.globl	_Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE
	.type	_Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE, @function
_Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE:
.LFB3883:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	pushq	%rcx
	.cfi_def_cfa_offset 48
	call	_ZNKSt5dequeIySaIyEE4sizeEv
	movq	%rax, %rbx
	testq	%rax, %rax
	je	.L24
	cmpq	$2, %rax
	jbe	.L27
	leaq	-2(%rax), %r13
	xorl	%ebp, %ebp
	movl	$1, %ebx
	addq	$16, %r12
.L26:
	movl	%ebp, %esi
	movq	%r12, %rdi
	call	_ZNKSt15_Deque_iteratorIyRyPyEixEl
	imulq	(%rax), %rbx
	leal	1(%rbp), %eax
	movq	%rax, %rbp
	cmpq	%r13, %rax
	jb	.L26
	jmp	.L24
.L27:
	movl	$1, %ebx
.L24:
	popq	%rdx
	.cfi_def_cfa_offset 40
	movq	%rbx, %rax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3883:
	.size	_Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE, .-_Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"( "
.LC2:
	.string	", "
.LC3:
	.string	"basic_string::append"
.LC4:
	.string	")"
	.text
	.globl	_Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE
	.type	_Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE, @function
_Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE:
.LFB3882:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA3882
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	2+.LC1(%rip), %rdx
	leaq	.LC2(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xorl	%r14d, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rdi, %rbp
	addq	$16, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	leaq	-2(%rdx), %rsi
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	movq	%rdi, 0(%rbp)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_@PLT
	movq	0(%rbp), %rax
	movq	$2, 8(%rbp)
	movq	%rbx, %rdi
	movb	$0, 2(%rax)
	call	_ZNKSt5dequeIySaIyEE4sizeEv
	testq	%rax, %rax
	je	.L35
.L34:
	movq	%rbx, %rdi
	leaq	40(%rsp), %r12
	call	_ZNKSt5dequeIySaIyEE4sizeEv
	leaq	16(%rbx), %rdi
	leaq	-1(%rax), %rsi
	cmpq	%rsi, %r14
	jnb	.L59
	movq	%r14, %rsi
	leaq	8(%rsp), %r13
	call	_ZNKSt15_Deque_iteratorIyRyPyEixEl
	movq	%r13, %rdi
	movq	(%rax), %rsi
.LEHB0:
	call	_ZNSt7__cxx119to_stringEy
.LEHE0:
	movq	%r15, %rsi
	movq	%r13, %rdi
.LEHB1:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc@PLT
.LEHE1:
	movq	%rax, %rsi
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_@PLT
	movq	48(%rsp), %rdx
	movq	40(%rsp), %rsi
	movabsq	$4611686018427387903, %rax
	subq	8(%rbp), %rax
	cmpq	%rdx, %rax
	jnb	.L36
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L58
	leaq	.LC3(%rip), %rdi
.LEHB2:
	call	_ZSt20__throw_length_errorPKc@PLT
.L36:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm@PLT
.LEHE2:
	movq	%r12, %rdi
	incq	%r14
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	%r13, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L34
.L59:
	call	_ZNKSt15_Deque_iteratorIyRyPyEixEl
	movq	%r12, %rdi
	movq	(%rax), %rsi
.LEHB3:
	call	_ZNSt7__cxx119to_stringEy
.LEHE3:
	movq	48(%rsp), %rdx
	movq	40(%rsp), %rsi
	movabsq	$4611686018427387903, %rax
	subq	8(%rbp), %rax
	cmpq	%rdx, %rax
	jnb	.L39
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L58
	leaq	.LC3(%rip), %rdi
.LEHB4:
	call	_ZSt20__throw_length_errorPKc@PLT
.L39:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm@PLT
.LEHE4:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L35:
	leaq	.LC4(%rip), %rsi
	movq	%rbp, %rdi
.LEHB5:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc@PLT
.LEHE5:
	jmp	.L60
.L49:
	endbr64
	movq	%rax, %rbx
.L41:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L42
.L48:
	endbr64
	movq	%rax, %rbx
.L42:
	movq	%r13, %rdi
	jmp	.L56
.L51:
	endbr64
	movq	%rax, %rbx
.L44:
	movq	%r12, %rdi
.L56:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L43
.L50:
	endbr64
	movq	%rax, %rbx
.L43:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L58
	movq	%rbx, %rdi
.LEHB6:
	call	_Unwind_Resume@PLT
.LEHE6:
.L60:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	je	.L46
.L58:
	call	__stack_chk_fail@PLT
.L46:
	addq	$88, %rsp
	.cfi_def_cfa_offset 56
	movq	%rbp, %rax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3882:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA3882:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE3882-.LLSDACSB3882
.LLSDACSB3882:
	.uleb128 .LEHB0-.LFB3882
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L50-.LFB3882
	.uleb128 0
	.uleb128 .LEHB1-.LFB3882
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L48-.LFB3882
	.uleb128 0
	.uleb128 .LEHB2-.LFB3882
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L49-.LFB3882
	.uleb128 0
	.uleb128 .LEHB3-.LFB3882
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L50-.LFB3882
	.uleb128 0
	.uleb128 .LEHB4-.LFB3882
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L51-.LFB3882
	.uleb128 0
	.uleb128 .LEHB5-.LFB3882
	.uleb128 .LEHE5-.LEHB5
	.uleb128 .L50-.LFB3882
	.uleb128 0
	.uleb128 .LEHB6-.LFB3882
	.uleb128 .LEHE6-.LEHB6
	.uleb128 0
	.uleb128 0
.LLSDACSE3882:
	.text
	.size	_Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE, .-_Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

//
// Created by steve on 3/15/2021.
//


#include <hip/hip_runtime.h>
#include <deque>
#include <iostream>
#include <string>

std::string getDimsExceptionString(const std::deque<unsigned long long>& dims)
{
    std::string err = "( ";
    if(dims.size() != 0)
    {
        for(unsigned long long i = 0;i<dims.size()- 1; i++)
        {
            err += std::to_string(dims[i]) + ", ";
        }
        err += std::to_string(dims[dims.size() - 1]);

    }
    err += ")";
    return err;
}

unsigned long long getTotalMatricesFromDims(const std::deque<unsigned long long>& dims)
{
    if(dims.size() == 0)
    {
        return 0;
    }
    else if(dims.size() <= 2)
    {
        return 1;
    }
    else
    {
        unsigned long long prod = 1;
        for(unsigned i = 0; i < dims.size()-2; i++)
        {
            prod *= dims[i];
        }
        return prod;
    }
}
	.text
	.file	"TensorHelpers.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.globl	_Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE # -- Begin function _Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE
	.type	_Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE,@function
_Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE: # @_Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit
	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
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	.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	%rsi, %r15
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	%r14, (%rdi)
	movl	$.L.str, %esi
	movl	$.L.str+2, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	movq	72(%r15), %rdi
	movq	40(%r15), %rax
	movq	%rdi, %rsi
	subq	%rax, %rsi
	shrq	$3, %rsi
	cmpq	$1, %rdi
	movq	%rsi, %r9
	adcq	$-1, %r9
	movq	48(%r15), %rdx
	subq	56(%r15), %rdx
	shlq	$6, %r9
	sarq	$3, %rdx
	addq	%rdx, %r9
	movq	16(%r15), %rcx
	movq	32(%r15), %r8
	subq	%rcx, %r8
	sarq	$3, %r8
	addq	%r8, %r9
	movq	%rbx, 48(%rsp)                  # 8-byte Spill
	je	.LBB0_25
# %bb.1:                                # %.preheader
	movq	%r14, 40(%rsp)                  # 8-byte Spill
	leaq	24(%rsp), %r12
	cmpq	$1, %rdi
	adcq	$-1, %rsi
	shlq	$6, %rsi
	addq	%r8, %rdx
	addq	%rsi, %rdx
	movabsq	$3777893186295716171, %rbp      # imm = 0x346DC5D63886594B
	decq	%rdx
	je	.LBB0_6
# %bb.2:                                # %.lr.ph.preheader
	xorl	%r14d, %r14d
	movq	%rcx, %rsi
.LBB0_3:                                # %.lr.ph
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB0_32 Depth 2
	subq	24(%r15), %rcx
	sarq	$3, %rcx
	addq	%r14, %rcx
	js	.LBB0_28
# %bb.4:                                #   in Loop: Header=BB0_3 Depth=1
	cmpq	$63, %rcx
	ja	.LBB0_27
# %bb.5:                                #   in Loop: Header=BB0_3 Depth=1
	leaq	(%rsi,%r14,8), %rcx
	jmp	.LBB0_30
.LBB0_28:                               #   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %rdx
	sarq	$6, %rdx
	jmp	.LBB0_29
.LBB0_27:                               #   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %rdx
	shrq	$6, %rdx
.LBB0_29:                               #   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, %rsi
	shlq	$6, %rsi
	subq	%rsi, %rcx
	shlq	$3, %rcx
	addq	(%rax,%rdx,8), %rcx
.LBB0_30:                               # %_ZNKSt5dequeIySaIyEEixEm.exit25
                                        #   in Loop: Header=BB0_3 Depth=1
	leaq	56(%rsp), %rbx
	movq	(%rcx), %r13
	movl	$1, %esi
	cmpq	$10, %r13
	jb	.LBB0_39
# %bb.31:                               # %.lr.ph.i.i26.preheader
                                        #   in Loop: Header=BB0_3 Depth=1
	movl	$4, %esi
	movq	%r13, %rcx
.LBB0_32:                               # %.lr.ph.i.i26
                                        #   Parent Loop BB0_3 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	cmpq	$99, %rcx
	jbe	.LBB0_33
# %bb.34:                               #   in Loop: Header=BB0_32 Depth=2
	cmpq	$999, %rcx                      # imm = 0x3E7
	jbe	.LBB0_35
# %bb.36:                               #   in Loop: Header=BB0_32 Depth=2
	cmpq	$10000, %rcx                    # imm = 0x2710
	jb	.LBB0_39
# %bb.37:                               #   in Loop: Header=BB0_32 Depth=2
	movq	%rcx, %rax
	mulq	%rbp
	shrq	$11, %rdx
	addl	$4, %esi
	cmpq	$99999, %rcx                    # imm = 0x1869F
	movq	%rdx, %rcx
	ja	.LBB0_32
# %bb.38:                               # %_ZNSt8__detail14__to_chars_lenIyEEjT_i.exit.i29.loopexit
                                        #   in Loop: Header=BB0_3 Depth=1
	addl	$-3, %esi
	jmp	.LBB0_39
.LBB0_33:                               #   in Loop: Header=BB0_3 Depth=1
	addl	$-2, %esi
	jmp	.LBB0_39
.LBB0_35:                               #   in Loop: Header=BB0_3 Depth=1
	decl	%esi
.LBB0_39:                               # %_ZNSt8__detail14__to_chars_lenIyEEjT_i.exit.i29
                                        #   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %esi
	leaq	72(%rsp), %rax
	movq	%rax, 56(%rsp)
.Ltmp0:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc
.Ltmp1:
# %bb.40:                               #   in Loop: Header=BB0_3 Depth=1
	movq	56(%rsp), %rdi
	movl	64(%rsp), %esi
	movq	%r13, %rdx
	callq	_ZNSt8__detail18__to_chars_10_implIyEEvPcjT_
.Ltmp3:
	movl	$.L.str.1, %esi
	movq	%rbx, %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc
.Ltmp4:
# %bb.41:                               # %.noexc
                                        #   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	%r12, 8(%rsp)
	movq	(%rax), %rsi
	movq	%rax, %rbx
	addq	$16, %rbx
	cmpq	%rbx, %rsi
	je	.LBB0_42
# %bb.43:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
                                        #   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, 8(%rsp)
	movq	16(%r13), %rax
	movq	%rax, 24(%rsp)
	movq	8(%r13), %r12
	jmp	.LBB0_44
.LBB0_42:                               #   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	8(%r13), %r12
	leaq	1(%r12), %rdx
	callq	memcpy@PLT
.LBB0_44:                               #   in Loop: Header=BB0_3 Depth=1
	movq	%r12, 16(%rsp)
	movq	%rbx, (%r13)
	movq	$0, 8(%r13)
	movb	$0, 16(%r13)
	movq	8(%rsp), %rsi
	movq	16(%rsp), %rdx
.Ltmp6:
	movq	48(%rsp), %rbx                  # 8-byte Reload
	movq	%rbx, %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm
.Ltmp7:
# %bb.45:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_.exit
                                        #   in Loop: Header=BB0_3 Depth=1
	movq	8(%rsp), %rdi
	leaq	24(%rsp), %r12
	cmpq	%r12, %rdi
	je	.LBB0_47
# %bb.46:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i33
                                        #   in Loop: Header=BB0_3 Depth=1
	callq	_ZdlPv
.LBB0_47:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
                                        #   in Loop: Header=BB0_3 Depth=1
	movq	56(%rsp), %rdi
	leaq	72(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_49
# %bb.48:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i34
                                        #   in Loop: Header=BB0_3 Depth=1
	callq	_ZdlPv
.LBB0_49:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit36
                                        #   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movq	72(%r15), %rdx
	movq	40(%r15), %rax
	movq	48(%r15), %rsi
	movq	16(%r15), %rcx
	movq	32(%r15), %rdi
	movq	%rdx, %r8
	subq	%rax, %r8
	shrq	$3, %r8
	cmpq	$1, %rdx
	adcq	$-1, %r8
	subq	56(%r15), %rsi
	shlq	$6, %r8
	sarq	$3, %rsi
	subq	%rcx, %rdi
	sarq	$3, %rdi
	addq	%r8, %rsi
	leaq	(%rdi,%rsi), %rdx
	decq	%rdx
	movq	%rcx, %rsi
	cmpq	%rdx, %r14
	jb	.LBB0_3
.LBB0_6:                                # %._crit_edge
	movq	%rcx, %rsi
	subq	24(%r15), %rsi
	sarq	$3, %rsi
	addq	%rdx, %rsi
	js	.LBB0_10
# %bb.7:
	cmpq	$63, %rsi
	ja	.LBB0_9
# %bb.8:
	leaq	(%rcx,%rdx,8), %rsi
	jmp	.LBB0_12
.LBB0_10:
	movq	%rsi, %rcx
	sarq	$6, %rcx
	jmp	.LBB0_11
.LBB0_9:
	movq	%rsi, %rcx
	shrq	$6, %rcx
.LBB0_11:
	movq	%rcx, %rdx
	shlq	$6, %rdx
	subq	%rdx, %rsi
	shlq	$3, %rsi
	addq	(%rax,%rcx,8), %rsi
.LBB0_12:                               # %_ZNKSt5dequeIySaIyEEixEm.exit
	movq	(%rsi), %r15
	movl	$1, %esi
	cmpq	$10, %r15
	jb	.LBB0_21
# %bb.13:                               # %.lr.ph.i.i.preheader
	movl	$4, %esi
	movq	%r15, %rcx
.LBB0_14:                               # %.lr.ph.i.i
                                        # =>This Inner Loop Header: Depth=1
	cmpq	$99, %rcx
	jbe	.LBB0_15
# %bb.16:                               #   in Loop: Header=BB0_14 Depth=1
	cmpq	$999, %rcx                      # imm = 0x3E7
	jbe	.LBB0_17
# %bb.18:                               #   in Loop: Header=BB0_14 Depth=1
	cmpq	$10000, %rcx                    # imm = 0x2710
	jb	.LBB0_21
# %bb.19:                               #   in Loop: Header=BB0_14 Depth=1
	movq	%rcx, %rax
	mulq	%rbp
	shrq	$11, %rdx
	addl	$4, %esi
	cmpq	$99999, %rcx                    # imm = 0x1869F
	movq	%rdx, %rcx
	ja	.LBB0_14
# %bb.20:                               # %_ZNSt8__detail14__to_chars_lenIyEEjT_i.exit.i.loopexit
	addl	$-3, %esi
	jmp	.LBB0_21
.LBB0_15:
	addl	$-2, %esi
	jmp	.LBB0_21
.LBB0_17:
	decl	%esi
.LBB0_21:                               # %_ZNSt8__detail14__to_chars_lenIyEEjT_i.exit.i
	movl	%esi, %esi
	leaq	8(%rsp), %rdi
	movq	%r12, (%rdi)
.Ltmp9:
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc
.Ltmp10:
# %bb.22:
	movq	8(%rsp), %rdi
	movl	16(%rsp), %esi
	movq	%r15, %rdx
	callq	_ZNSt8__detail18__to_chars_10_implIyEEvPcjT_
	movq	8(%rsp), %rsi
	movq	16(%rsp), %rdx
.Ltmp12:
	movq	%rbx, %rdi
	movq	40(%rsp), %r14                  # 8-byte Reload
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm
.Ltmp13:
# %bb.23:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_.exit44
	movq	8(%rsp), %rdi
	cmpq	%r12, %rdi
	je	.LBB0_25
# %bb.24:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i45
	callq	_ZdlPv
.LBB0_25:
.Ltmp15:
	movl	$.L.str.2, %esi
	movq	%rbx, %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc
.Ltmp16:
# %bb.26:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc.exit
	movq	%rbx, %rax
	addq	$88, %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
.LBB0_57:
	.cfi_def_cfa_offset 144
.Ltmp14:
	movq	%rax, %r15
	movq	8(%rsp), %rdi
	cmpq	%r12, %rdi
	jne	.LBB0_55
	jmp	.LBB0_60
.LBB0_56:
.Ltmp11:
	jmp	.LBB0_59
.LBB0_58:
.Ltmp17:
	movq	%r14, 40(%rsp)                  # 8-byte Spill
	jmp	.LBB0_59
.LBB0_50:
.Ltmp2:
.LBB0_59:
	movq	%rax, %r15
	jmp	.LBB0_60
.LBB0_51:
.Ltmp5:
	movq	%rax, %r15
	jmp	.LBB0_54
.LBB0_52:
.Ltmp8:
	movq	%rax, %r15
	movq	8(%rsp), %rdi
	leaq	24(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_54
# %bb.53:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i37
	callq	_ZdlPv
.LBB0_54:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit39
	movq	56(%rsp), %rdi
	leaq	72(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_60
.LBB0_55:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i40
	callq	_ZdlPv
.LBB0_60:
	movq	48(%rsp), %rax                  # 8-byte Reload
	movq	(%rax), %rdi
	cmpq	40(%rsp), %rdi                  # 8-byte Folded Reload
	je	.LBB0_62
# %bb.61:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i52
	callq	_ZdlPv
.LBB0_62:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit54
	movq	%r15, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end0:
	.size	_Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE, .Lfunc_end0-_Z22getDimsExceptionStringB5cxx11RKSt5dequeIySaIyEE
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table0:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Lfunc_begin0-.Lfunc_begin0    # >> Call Site 1 <<
	.uleb128 .Ltmp0-.Lfunc_begin0           #   Call between .Lfunc_begin0 and .Ltmp0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp4-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp4
	.uleb128 .Ltmp5-.Lfunc_begin0           #     jumps to .Ltmp5
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp4-.Lfunc_begin0           # >> Call Site 4 <<
	.uleb128 .Ltmp6-.Ltmp4                  #   Call between .Ltmp4 and .Ltmp6
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin0           # >> Call Site 5 <<
	.uleb128 .Ltmp7-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp7
	.uleb128 .Ltmp8-.Lfunc_begin0           #     jumps to .Ltmp8
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp9-.Lfunc_begin0           # >> Call Site 6 <<
	.uleb128 .Ltmp10-.Ltmp9                 #   Call between .Ltmp9 and .Ltmp10
	.uleb128 .Ltmp11-.Lfunc_begin0          #     jumps to .Ltmp11
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp12-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp13-.Ltmp12                #   Call between .Ltmp12 and .Ltmp13
	.uleb128 .Ltmp14-.Lfunc_begin0          #     jumps to .Ltmp14
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp15-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp16-.Ltmp15                #   Call between .Ltmp15 and .Ltmp16
	.uleb128 .Ltmp17-.Lfunc_begin0          #     jumps to .Ltmp17
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp16-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Lfunc_end0-.Ltmp16            #   Call between .Ltmp16 and .Lfunc_end0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE # -- Begin function _Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE
	.type	_Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE,@function
_Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE: # @_Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE
	.cfi_startproc
# %bb.0:
	movq	72(%rdi), %rax
	movq	40(%rdi), %rcx
	movq	%rax, %rdx
	subq	%rcx, %rdx
	shrq	$3, %rdx
	cmpq	$1, %rax
	adcq	$-1, %rdx
	movq	48(%rdi), %rax
	subq	56(%rdi), %rax
	shlq	$6, %rdx
	sarq	$3, %rax
	addq	%rdx, %rax
	movq	16(%rdi), %rdx
	movq	32(%rdi), %rsi
	subq	%rdx, %rsi
	sarq	$3, %rsi
	addq	%rax, %rsi
	je	.LBB1_1
# %bb.3:
	movl	$1, %eax
	cmpq	$3, %rsi
	jb	.LBB1_2
# %bb.4:                                # %.lr.ph
	addq	$-2, %rsi
	movq	%rdx, %r8
	subq	24(%rdi), %r8
	movq	%r8, %rdi
	sarq	$3, %rdi
	movl	$1, %r9d
	xorl	%r10d, %r10d
.LBB1_5:                                # =>This Inner Loop Header: Depth=1
	testq	%rdi, %rdi
	js	.LBB1_9
# %bb.6:                                #   in Loop: Header=BB1_5 Depth=1
	cmpq	$63, %rdi
	ja	.LBB1_8
# %bb.7:                                #   in Loop: Header=BB1_5 Depth=1
	leaq	(%rdx,%r10,8), %r10
	jmp	.LBB1_11
.LBB1_9:                                #   in Loop: Header=BB1_5 Depth=1
	movq	%rdi, %r11
	sarq	$6, %r11
	jmp	.LBB1_10
.LBB1_8:                                #   in Loop: Header=BB1_5 Depth=1
	movq	%rdi, %r11
	shrq	$6, %r11
.LBB1_10:                               #   in Loop: Header=BB1_5 Depth=1
	movq	(%rcx,%r11,8), %r10
	shlq	$9, %r11
	subq	%r11, %r10
	addq	%r8, %r10
.LBB1_11:                               # %_ZNKSt5dequeIySaIyEEixEm.exit
                                        #   in Loop: Header=BB1_5 Depth=1
	imulq	(%r10), %rax
	movl	%r9d, %r10d
	incq	%rdi
	addq	$8, %r8
	incl	%r9d
	cmpq	%r10, %rsi
	ja	.LBB1_5
.LBB1_2:                                # %.loopexit
	retq
.LBB1_1:
	xorl	%eax, %eax
	retq
.Lfunc_end1:
	.size	_Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE, .Lfunc_end1-_Z24getTotalMatricesFromDimsRKSt5dequeIySaIyEE
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8__detail18__to_chars_10_implIyEEvPcjT_,"axG",@progbits,_ZNSt8__detail18__to_chars_10_implIyEEvPcjT_,comdat
	.weak	_ZNSt8__detail18__to_chars_10_implIyEEvPcjT_ # -- Begin function _ZNSt8__detail18__to_chars_10_implIyEEvPcjT_
	.type	_ZNSt8__detail18__to_chars_10_implIyEEvPcjT_,@function
_ZNSt8__detail18__to_chars_10_implIyEEvPcjT_: # @_ZNSt8__detail18__to_chars_10_implIyEEvPcjT_
	.cfi_startproc
# %bb.0:
	movq	%rdx, %rcx
                                        # kill: def $esi killed $esi def $rsi
	cmpq	$100, %rdx
	jb	.LBB2_1
# %bb.2:                                # %.lr.ph.preheader
	decl	%esi
	movabsq	$2951479051793528259, %r8       # imm = 0x28F5C28F5C28F5C3
.LBB2_3:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	shrq	$2, %rax
	mulq	%r8
	shrq	$2, %rdx
	imull	$100, %edx, %eax
	movl	%ecx, %r9d
	subl	%eax, %r9d
	movb	.L__const._ZNSt8__detail18__to_chars_10_implIyEEvPcjT_.__digits+1(%r9,%r9), %al
	movl	%esi, %r10d
	movb	%al, (%rdi,%r10)
	movb	.L__const._ZNSt8__detail18__to_chars_10_implIyEEvPcjT_.__digits(%r9,%r9), %al
	leal	-1(%rsi), %r9d
	movb	%al, (%rdi,%r9)
	addl	$-2, %esi
	cmpq	$9999, %rcx                     # imm = 0x270F
	movq	%rdx, %rcx
	ja	.LBB2_3
	jmp	.LBB2_4
.LBB2_1:
	movq	%rcx, %rdx
.LBB2_4:                                # %._crit_edge
	cmpq	$10, %rdx
	jb	.LBB2_6
# %bb.5:
	movb	.L__const._ZNSt8__detail18__to_chars_10_implIyEEvPcjT_.__digits+1(%rdx,%rdx), %al
	movb	%al, 1(%rdi)
	movb	.L__const._ZNSt8__detail18__to_chars_10_implIyEEvPcjT_.__digits(%rdx,%rdx), %dl
	jmp	.LBB2_7
.LBB2_6:
	orb	$48, %dl
.LBB2_7:
	movb	%dl, (%rdi)
	retq
.Lfunc_end2:
	.size	_ZNSt8__detail18__to_chars_10_implIyEEvPcjT_, .Lfunc_end2-_ZNSt8__detail18__to_chars_10_implIyEEvPcjT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	subq	%rsi, %r14
	movq	%r14, (%rsp)
	cmpq	$15, %r14
	jbe	.LBB3_1
# %bb.2:
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
	movq	%rax, (%rbx)
	movq	(%r12), %rcx
	movq	%rcx, 16(%rbx)
	jmp	.LBB3_3
.LBB3_1:                                # %._crit_edge
	movq	(%rbx), %rax
.LBB3_3:
	testq	%r14, %r14
	je	.LBB3_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB3_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB3_7
.LBB3_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB3_7:                                # %_ZZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tagEN6_GuardD2Ev.exit
	movq	(%rsp), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag, .Lfunc_end3-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"( "
	.size	.L.str, 3

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	", "
	.size	.L.str.1, 3

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	")"
	.size	.L.str.2, 2

	.type	.L__const._ZNSt8__detail18__to_chars_10_implIyEEvPcjT_.__digits,@object # @__const._ZNSt8__detail18__to_chars_10_implIyEEvPcjT_.__digits
	.section	.rodata.str1.16,"aMS",@progbits,1
	.p2align	4, 0x0
.L__const._ZNSt8__detail18__to_chars_10_implIyEEvPcjT_.__digits:
	.asciz	"00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899"
	.size	.L__const._ZNSt8__detail18__to_chars_10_implIyEEvPcjT_.__digits, 201

	.type	__hip_cuid_,@object             # @__hip_cuid_
	.bss
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               # 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym _Unwind_Resume
	.addrsig_sym __hip_cuid_

	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.amdgpu_metadata
---
amdhsa.kernels:  []
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
