//
// Created by gautam on 02/05/20.
//

#include "ColType.cuh"

ColType newColType() {
    ColType c;
    c.type = TYPE_INVALID;
    c.size = 0;
    // c.str = "";
    strcpy(c.str, "");
    return c;
}

ColType newColType(std::string typeString) {
    ColType c;
    // utils::toLower(typeString);
    // c.str = typeString;
    strcpy(c.str, typeString.c_str());
    if (typeString == "int") {
        c.type = TYPE_INT;
        c.size = 4;
    } else if (typeString == "float") {
        c.type = TYPE_FLOAT;
        c.size = 4;
    } else if (typeString == "boolean") {
        c.type = TYPE_BOOL;
        c.size = 1;
    } else if (typeString == "datetime") {
        c.type = TYPE_DATETIME;
        c.size = 8;
    } else {
        if (typeString.length() < 10 || typeString[7] != '(' || typeString[typeString.length() - 1] != ')') {
            // :TODO SOME ERROR OCCURRED
            c.type = TYPE_INVALID;
            c.size = 0;
        } else {
            std::string wd = typeString.substr(0, 7);
            if(wd == "varchar") {
                c.type = TYPE_VARCHAR;
                std::stringstream val(typeString.substr(8, typeString.length()));
                val >> c.size;
                ++c.size;
            }
        }
    }
    return c;
}

	.file	"tmpxft_0037cf15_00000000-6_ColType.cudafe1.cpp"
	.text
#APP

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB3697:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE3697:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.globl	_Z10newColTypev
	.type	_Z10newColTypev, @function
_Z10newColTypev:
.LFB3693:
	.cfi_startproc
	endbr64
	movq	$5, (%rdi)
	movq	%rdi, %rax
	movb	$0, 8(%rdi)
	ret
	.cfi_endproc
.LFE3693:
	.size	_Z10newColTypev, .-_Z10newColTypev
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB3720:
	.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
.LFE3720:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_,"axG",@progbits,_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_,comdat
	.weak	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	.type	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_, @function
_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_:
.LFB4020:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	8(%rdi), %r12
	movq	%rsi, %rdi
	movq	%rsi, 8(%rsp)
	call	strlen@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %r12
	jne	.L5
	movb	$1, %al
	testq	%r12, %r12
	je	.L5
	movq	(%rbx), %rdi
	movq	%r12, %rdx
	call	memcmp@PLT
	testl	%eax, %eax
	sete	%al
.L5:
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4020:
	.size	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_, .-_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"int"
.LC1:
	.string	"float"
.LC2:
	.string	"boolean"
.LC3:
	.string	"datetime"
.LC4:
	.string	"varchar"
	.text
	.globl	_Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.type	_Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, @function
_Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
.LFB3694:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA3694
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$10, %edx
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rdi, %rbx
	addq	$8, %rdi
	subq	$472, %rsp
	.cfi_def_cfa_offset 512
	movq	(%rsi), %rbp
	movq	%fs:40, %rax
	movq	%rax, 456(%rsp)
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__strcpy_chk@PLT
	leaq	.LC0(%rip), %rsi
	movq	%r12, %rdi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L12
	movl	$1, %eax
	salq	$34, %rax
	jmp	.L32
.L12:
	leaq	.LC1(%rip), %rsi
	movq	%r12, %rdi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L14
	movabsq	$17179869185, %rax
	jmp	.L32
.L14:
	leaq	.LC2(%rip), %rsi
	movq	%r12, %rdi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L15
	movl	$2147483649, %eax
	addq	%rax, %rax
	jmp	.L32
.L15:
	leaq	.LC3(%rip), %rsi
	movq	%r12, %rdi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L16
	movabsq	$34359738372, %rax
.L32:
	movq	%rax, (%rbx)
	jmp	.L11
.L16:
	movq	8(%r12), %rax
	cmpq	$9, %rax
	jbe	.L17
	cmpb	$40, 7(%rbp)
	jne	.L17
	cmpb	$41, -1(%rbp,%rax)
	je	.L18
.L17:
	movq	$5, (%rbx)
	jmp	.L11
.L18:
	movq	%rsp, %rbp
	xorl	%edx, %edx
	movq	%r12, %rsi
	movl	$7, %ecx
	movq	%rbp, %rdi
.LEHB0:
	call	_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm@PLT
.LEHE0:
	leaq	.LC4(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L19
	leaq	32(%rsp), %r13
	movq	8(%r12), %rcx
	movl	$8, %edx
	movq	%r12, %rsi
	movq	%r13, %rdi
	movl	$3, (%rbx)
.LEHB1:
	call	_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm@PLT
.LEHE1:
	leaq	64(%rsp), %r12
	movl	$24, %edx
	movq	%r13, %rsi
	movq	%r12, %rdi
.LEHB2:
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode@PLT
.LEHE2:
	movq	%r13, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	4(%rbx), %rsi
	movq	%r12, %rdi
.LEHB3:
	call	_ZNSirsERi@PLT
.LEHE3:
	movq	%r12, %rdi
	incl	4(%rbx)
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
.L19:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L11
.L25:
	endbr64
	movq	%rax, %rbx
.L20:
	movq	%r13, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L21
.L27:
	endbr64
	movq	%rax, %rbx
.L22:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	jmp	.L21
.L26:
	endbr64
	movq	%rax, %rbx
.L21:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	456(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L33
	movq	%rbx, %rdi
.LEHB4:
	call	_Unwind_Resume@PLT
.LEHE4:
.L11:
	movq	456(%rsp), %rax
	subq	%fs:40, %rax
	je	.L24
.L33:
	call	__stack_chk_fail@PLT
.L24:
	addq	$472, %rsp
	.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
.LFE3694:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA3694:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE3694-.LLSDACSB3694
.LLSDACSB3694:
	.uleb128 .LEHB0-.LFB3694
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB3694
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L26-.LFB3694
	.uleb128 0
	.uleb128 .LEHB2-.LFB3694
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L25-.LFB3694
	.uleb128 0
	.uleb128 .LEHB3-.LFB3694
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L27-.LFB3694
	.uleb128 0
	.uleb128 .LEHB4-.LFB3694
	.uleb128 .LEHE4-.LEHB4
	.uleb128 0
	.uleb128 0
.LLSDACSE3694:
	.text
	.size	_Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, .-_Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.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 gautam on 02/05/20.
//


#include <hip/hip_runtime.h>
#include "ColType.cuh"

ColType newColType() {
    ColType c;
    c.type = TYPE_INVALID;
    c.size = 0;
    // c.str = "";
    strcpy(c.str, "");
    return c;
}

ColType newColType(std::string typeString) {
    ColType c;
    // utils::toLower(typeString);
    // c.str = typeString;
    strcpy(c.str, typeString.c_str());
    if (typeString == "int") {
        c.type = TYPE_INT;
        c.size = 4;
    } else if (typeString == "float") {
        c.type = TYPE_FLOAT;
        c.size = 4;
    } else if (typeString == "boolean") {
        c.type = TYPE_BOOL;
        c.size = 1;
    } else if (typeString == "datetime") {
        c.type = TYPE_DATETIME;
        c.size = 8;
    } else {
        if (typeString.length() < 10 || typeString[7] != '(' || typeString[typeString.length() - 1] != ')') {
            // :TODO SOME ERROR OCCURRED
            c.type = TYPE_INVALID;
            c.size = 0;
        } else {
            std::string wd = typeString.substr(0, 7);
            if(wd == "varchar") {
                c.type = TYPE_VARCHAR;
                std::stringstream val(typeString.substr(8, typeString.length()));
                val >> c.size;
                ++c.size;
            }
        }
    }
    return c;
}

	.text
	.file	"ColType.hip"
	.globl	_Z10newColTypev                 # -- Begin function _Z10newColTypev
	.type	_Z10newColTypev,@function
_Z10newColTypev:                        # @_Z10newColTypev
	.cfi_startproc
# %bb.0:
	movq	%rdi, %rax
	movq	$5, (%rdi)
	movb	$0, 8(%rdi)
	retq
.Lfunc_end0:
	.size	_Z10newColTypev, .Lfunc_end0-_Z10newColTypev
	.cfi_endproc
                                        # -- End function
	.globl	_Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # -- Begin function _Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.type	_Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,@function
_Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE: # @_Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	subq	$464, %rsp                      # imm = 0x1D0
	.cfi_def_cfa_offset 496
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	addq	$8, %rdi
	movq	(%rsi), %r15
	movq	%r15, %rsi
	callq	strcpy
	movq	8(%r14), %rdx
	leaq	-3(%rdx), %rax
	cmpq	$5, %rax
	ja	.LBB1_12
# %bb.1:
	jmpq	*.LJTI1_0(,%rax,8)
.LBB1_2:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit
	movzwl	(%r15), %eax
	xorl	$28265, %eax                    # imm = 0x6E69
	movzbl	2(%r15), %ecx
	xorl	$116, %ecx
	orw	%ax, %cx
	jne	.LBB1_15
# %bb.3:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit.thread
	movabsq	$17179869184, %rax              # imm = 0x400000000
	jmp	.LBB1_10
.LBB1_6:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit12
	movl	$.L.str.3, %esi
	movq	%r15, %rdi
	callq	bcmp@PLT
	testl	%eax, %eax
	jne	.LBB1_15
# %bb.7:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit12.thread
	movabsq	$4294967298, %rax               # imm = 0x100000002
	jmp	.LBB1_10
.LBB1_4:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit10
	movl	$.L.str.2, %esi
	movq	%r15, %rdi
	callq	bcmp@PLT
	testl	%eax, %eax
	jne	.LBB1_15
# %bb.5:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit10.thread
	movabsq	$17179869185, %rax              # imm = 0x400000001
	jmp	.LBB1_10
.LBB1_8:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit14
	movl	$.L.str.4, %esi
	movq	%r15, %rdi
	callq	bcmp@PLT
	testl	%eax, %eax
	jne	.LBB1_15
# %bb.9:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit14.thread
	movabsq	$34359738372, %rax              # imm = 0x800000004
.LBB1_10:
	movq	%rax, (%rbx)
	jmp	.LBB1_11
.LBB1_12:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit14.thread27
	cmpq	$10, %rdx
	jb	.LBB1_15
# %bb.13:
	cmpb	$40, 7(%r15)
	jne	.LBB1_15
# %bb.14:
	cmpb	$41, -1(%r15,%rdx)
	jne	.LBB1_15
# %bb.16:
	leaq	40(%rsp), %r15
	movl	$7, %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm
.Ltmp0:
	movl	$.L.str.5, %esi
	movq	%r15, %rdi
	callq	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
.Ltmp1:
# %bb.17:
	testb	%al, %al
	je	.LBB1_24
# %bb.18:
	movl	$3, (%rbx)
	movq	8(%r14), %rcx
.Ltmp3:
	leaq	8(%rsp), %rdi
	movl	$8, %edx
	movq	%r14, %rsi
	callq	_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm
.Ltmp4:
# %bb.19:
.Ltmp6:
	leaq	72(%rsp), %rdi
	leaq	8(%rsp), %rsi
	movl	$24, %edx
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode
.Ltmp7:
# %bb.20:
	leaq	24(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_22
# %bb.21:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB1_22:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	leaq	4(%rbx), %r14
.Ltmp9:
	leaq	72(%rsp), %rdi
	movq	%r14, %rsi
	callq	_ZNSirsERi
.Ltmp10:
# %bb.23:
	incl	(%r14)
	leaq	72(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	200(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
.LBB1_24:
	leaq	56(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_11
# %bb.25:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i18
	callq	_ZdlPv
	jmp	.LBB1_11
.LBB1_15:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit14.thread27.thread
	movq	$5, (%rbx)
.LBB1_11:
	movq	%rbx, %rax
	addq	$464, %rsp                      # imm = 0x1D0
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB1_29:
	.cfi_def_cfa_offset 496
.Ltmp11:
	movq	%rax, %rbx
	leaq	72(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	200(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	jmp	.LBB1_32
.LBB1_27:
.Ltmp8:
	movq	%rax, %rbx
	leaq	24(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_32
# %bb.28:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i15
	callq	_ZdlPv
	jmp	.LBB1_32
.LBB1_26:
.Ltmp5:
	jmp	.LBB1_31
.LBB1_30:
.Ltmp2:
.LBB1_31:
	movq	%rax, %rbx
.LBB1_32:
	leaq	56(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_34
# %bb.33:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i21
	callq	_ZdlPv
.LBB1_34:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit23
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end1:
	.size	_Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, .Lfunc_end1-_Z10newColTypeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.cfi_endproc
	.section	.rodata,"a",@progbits
	.p2align	3, 0x0
.LJTI1_0:
	.quad	.LBB1_2
	.quad	.LBB1_12
	.quad	.LBB1_4
	.quad	.LBB1_12
	.quad	.LBB1_6
	.quad	.LBB1_8
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table1:
.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 .Ltmp6-.Lfunc_begin0           # >> Call Site 4 <<
	.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 5 <<
	.uleb128 .Ltmp10-.Ltmp9                 #   Call between .Ltmp9 and .Ltmp10
	.uleb128 .Ltmp11-.Lfunc_begin0          #     jumps to .Ltmp11
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp10-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Lfunc_end1-.Ltmp10            #   Call between .Ltmp10 and .Lfunc_end1
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_,"axG",@progbits,_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_,comdat
	.weak	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_ # -- Begin function _ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	.type	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_,@function
_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_: # @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	%rsi, %rdi
	callq	strlen
	cmpq	%rax, %r14
	jne	.LBB2_1
# %bb.2:
	testq	%r14, %r14
	je	.LBB2_3
# %bb.4:
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	bcmp@PLT
	testl	%eax, %eax
	sete	%al
	jmp	.LBB2_5
.LBB2_1:
	xorl	%eax, %eax
	jmp	.LBB2_5
.LBB2_3:
	movb	$1, %al
.LBB2_5:                                # %_ZNSt11char_traitsIcE7compareEPKcS2_m.exit
                                        # kill: def $al killed $al killed $eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end2:
	.size	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_, .Lfunc_end2-_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	.cfi_endproc
                                        # -- End function
	.type	.L.str.1,@object                # @.str.1
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.1:
	.asciz	"int"
	.size	.L.str.1, 4

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

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

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"datetime"
	.size	.L.str.4, 9

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"varchar"
	.size	.L.str.5, 8

	.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
