
#include<stdio.h>
#include<stdlib.h>
#include<string.h>


int match(char *regexp,char *text);/*match the regexp in text*/
int matchhere(char *regexp,char *text);/*matchhere the regexp in the front of the text*/
int matchstar (int c,char *regexp,char *text);/*matchstar the regexp with "*" in the front of the text*/

/*match the regexp in text*/
int match(char *regexp,char *text)
{
    if(regexp[0] == '^')
    {
        return matchhere(regexp+1,text);
    }
    do{ /*scan char by char*/
        if (matchhere(regexp,text))
        {
            return 1;
        }
    }while (*text++!= '\0');
    return 0;
}

/*matchhere the regexp in the front of the text*/
int matchhere(char *regexp,char *text)
{
    if (regexp[0] == '\0')
    {
        return 1;
    }
    if (regexp[1] == '*')
    {
        return matchstar(regexp[0],regexp+2,text);
    }
    if (regexp[0] == '$' && regexp[1]=='\0')
    {
        return *text == '\0';
    }
    if (*text!='\0' && (regexp[0]=='.' || regexp[0]==*text))
    {
        return matchhere(regexp+1,text+1);
    }
    return 0;
}

/*matchstar the regexp with "*" in the front of the text*/
int matchstar (int c,char *regexp,char *text)
{
    do
    { /*"*"match the same char*/
        if (matchhere(regexp,text))
        {
            return 1;
        }
    }while (*text!='\0' && (*text++ ==c || c== '.'));
    return 0;
}

int main(int argc,char *argv[])
    {
        char line_buffer[1024];/* put the line */
        FILE *fp;             /* file pointer*/
        
        if (argc < 3)
        {
            fprintf(stderr,"Use: %s regular_expr files ..\n", argv[0]);
            return 1;
        }
    
        
        for (int i=2;i < argc;i++)
        {
            if ((fp=fopen(argv[i],"rb"))==NULL)
            {
                printf("%s: read failure.\n",argv[i]);
            }
            
            else while (fgets(line_buffer,sizeof(line_buffer),fp))
            {
                if(match(argv[1],line_buffer)==1)/*match the regular expression,if success, return 1*/
                {
                    printf("%s\n",line_buffer);/*print the results*/
                }
            }
            
            fclose(fp);
        }
        return 0;
    }



	.file	"tmpxft_003b81d4_00000000-6_match.cudafe1.cpp"
	.text
#APP

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB2033:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE2033:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.globl	_Z9matchstariPcS_
	.type	_Z9matchstariPcS_, @function
_Z9matchstariPcS_:
.LFB2029:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movl	%edi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rdx, %rbx
.L8:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	_Z9matchherePcS_
	testl	%eax, %eax
	jne	.L5
	movsbl	(%rbx), %edx
	testb	%dl, %dl
	je	.L2
	incq	%rbx
	cmpl	$46, %ebp
	je	.L8
	cmpl	%ebp, %edx
	je	.L8
	jmp	.L2
.L5:
	movl	$1, %eax
.L2:
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2029:
	.size	_Z9matchstariPcS_, .-_Z9matchstariPcS_
	.globl	_Z9matchherePcS_
	.type	_Z9matchherePcS_, @function
_Z9matchherePcS_:
.LFB2028:
	.cfi_startproc
	endbr64
	movq	%rsi, %rdx
.L17:
	movb	(%rdi), %al
	testb	%al, %al
	je	.L18
	movb	1(%rdi), %sil
	cmpb	$42, %sil
	jne	.L14
	leaq	2(%rdi), %rsi
	movsbl	%al, %edi
	jmp	_Z9matchstariPcS_
.L14:
	movb	(%rdx), %cl
	cmpb	$36, %al
	jne	.L15
	testb	%sil, %sil
	jne	.L15
	xorl	%eax, %eax
	testb	%cl, %cl
	sete	%al
	ret
.L15:
	testb	%cl, %cl
	je	.L20
	cmpb	$46, %al
	je	.L21
	cmpb	%cl, %al
	jne	.L20
.L21:
	incq	%rdx
	incq	%rdi
	jmp	.L17
.L18:
	movl	$1, %eax
	ret
.L20:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE2028:
	.size	_Z9matchherePcS_, .-_Z9matchherePcS_
	.globl	_Z5matchPcS_
	.type	_Z5matchPcS_, @function
_Z5matchPcS_:
.LFB2027:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rdi, %rbp
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	cmpb	$94, (%rdi)
	jne	.L29
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	leaq	1(%rdi), %rdi
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	_Z9matchherePcS_
.L35:
	.cfi_restore_state
	movq	8(%rsp), %rsi
	incq	%rsi
	cmpb	$0, -1(%rsi)
	je	.L28
.L29:
	movq	%rbp, %rdi
	movq	%rsi, 8(%rsp)
	call	_Z9matchherePcS_
	testl	%eax, %eax
	je	.L35
	movl	$1, %eax
.L28:
	addq	$16, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2027:
	.size	_Z5matchPcS_, .-_Z5matchPcS_
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Use: %s regular_expr files ..\n"
.LC1:
	.string	"rb"
.LC2:
	.string	"%s: read failure.\n"
.LC3:
	.string	"%s\n"
	.section	.text.startup,"ax",@progbits
	.globl	main
	.type	main, @function
main:
.LFB2030:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	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
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$1048, %rsp
	.cfi_def_cfa_offset 1104
	movq	%fs:40, %rax
	movq	%rax, 1032(%rsp)
	xorl	%eax, %eax
	cmpl	$2, %edi
	jg	.L49
	movq	(%rsi), %rcx
	movq	stderr(%rip), %rdi
	leaq	.LC0(%rip), %rdx
	movl	$2, %esi
	call	__fprintf_chk@PLT
	movl	$1, %eax
	jmp	.L36
.L49:
	movl	%edi, %r13d
	movl	$2, %ebp
	leaq	.LC1(%rip), %r15
.L37:
	movq	(%rbx,%rbp,8), %rdi
	movq	%r15, %rsi
	leaq	8(%rsp), %r14
	call	fopen@PLT
	movq	%rax, %r12
	testq	%rax, %rax
	jne	.L41
	movq	(%rbx,%rbp,8), %rdx
	leaq	.LC2(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L40
.L42:
	movq	8(%rbx), %rdi
	movq	%r14, %rsi
	call	_Z5matchPcS_
	decl	%eax
	jne	.L41
	movq	%r14, %rdx
	leaq	.LC3(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L41:
	movq	%r12, %rcx
	movl	$1024, %edx
	movl	$1024, %esi
	movq	%r14, %rdi
	call	__fgets_chk@PLT
	testq	%rax, %rax
	jne	.L42
.L40:
	movq	%r12, %rdi
	incq	%rbp
	call	fclose@PLT
	cmpl	%ebp, %r13d
	jg	.L37
	xorl	%eax, %eax
.L36:
	movq	1032(%rsp), %rdx
	subq	%fs:40, %rdx
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	addq	$1048, %rsp
	.cfi_def_cfa_offset 56
	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
.LFE2030:
	.size	main, .-main
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB2056:
	.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
.LFE2056:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.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
	.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:



#include <hip/hip_runtime.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>


int match(char *regexp,char *text);/*match the regexp in text*/
int matchhere(char *regexp,char *text);/*matchhere the regexp in the front of the text*/
int matchstar (int c,char *regexp,char *text);/*matchstar the regexp with "*" in the front of the text*/

/*match the regexp in text*/
int match(char *regexp,char *text)
{
    if(regexp[0] == '^')
    {
        return matchhere(regexp+1,text);
    }
    do{ /*scan char by char*/
        if (matchhere(regexp,text))
        {
            return 1;
        }
    }while (*text++!= '\0');
    return 0;
}

/*matchhere the regexp in the front of the text*/
int matchhere(char *regexp,char *text)
{
    if (regexp[0] == '\0')
    {
        return 1;
    }
    if (regexp[1] == '*')
    {
        return matchstar(regexp[0],regexp+2,text);
    }
    if (regexp[0] == '$' && regexp[1]=='\0')
    {
        return *text == '\0';
    }
    if (*text!='\0' && (regexp[0]=='.' || regexp[0]==*text))
    {
        return matchhere(regexp+1,text+1);
    }
    return 0;
}

/*matchstar the regexp with "*" in the front of the text*/
int matchstar (int c,char *regexp,char *text)
{
    do
    { /*"*"match the same char*/
        if (matchhere(regexp,text))
        {
            return 1;
        }
    }while (*text!='\0' && (*text++ ==c || c== '.'));
    return 0;
}

int main(int argc,char *argv[])
    {
        char line_buffer[1024];/* put the line */
        FILE *fp;             /* file pointer*/
        
        if (argc < 3)
        {
            fprintf(stderr,"Use: %s regular_expr files ..\n", argv[0]);
            return 1;
        }
    
        
        for (int i=2;i < argc;i++)
        {
            if ((fp=fopen(argv[i],"rb"))==NULL)
            {
                printf("%s: read failure.\n",argv[i]);
            }
            
            else while (fgets(line_buffer,sizeof(line_buffer),fp))
            {
                if(match(argv[1],line_buffer)==1)/*match the regular expression,if success, return 1*/
                {
                    printf("%s\n",line_buffer);/*print the results*/
                }
            }
            
            fclose(fp);
        }
        return 0;
    }



	.text
	.file	"match.hip"
	.globl	_Z5matchPcS_                    # -- Begin function _Z5matchPcS_
	.type	_Z5matchPcS_,@function
_Z5matchPcS_:                           # @_Z5matchPcS_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpb	$94, (%rdi)
	jne	.LBB0_1
# %bb.6:
	incq	%r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	jmp	_Z9matchherePcS_                # TAILCALL
.LBB0_1:                                # %.preheader
                                        # =>This Inner Loop Header: Depth=1
	.cfi_def_cfa_offset 32
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_Z9matchherePcS_
	testl	%eax, %eax
	jne	.LBB0_2
# %bb.3:                                #   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, (%rbx)
	leaq	1(%rbx), %rbx
	jne	.LBB0_1
# %bb.4:
	xorl	%eax, %eax
	jmp	.LBB0_5
.LBB0_2:
	movl	$1, %eax
.LBB0_5:                                # %.loopexit
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	_Z5matchPcS_, .Lfunc_end0-_Z5matchPcS_
	.cfi_endproc
                                        # -- End function
	.globl	_Z9matchherePcS_                # -- Begin function _Z9matchherePcS_
	.type	_Z9matchherePcS_,@function
_Z9matchherePcS_:                       # @_Z9matchherePcS_
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %rbp, -16
	movb	(%rdi), %bpl
	testb	%bpl, %bpl
	je	.LBB1_13
# %bb.1:                                # %.lr.ph.preheader
	movq	%rsi, %rbx
	movq	%rdi, %r14
	addq	$2, %r14
	xorl	%eax, %eax
.LBB1_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movb	-1(%r14), %cl
	cmpb	$42, %cl
	je	.LBB1_3
# %bb.6:                                #   in Loop: Header=BB1_2 Depth=1
	movb	(%rbx), %dl
	cmpb	$36, %bpl
	jne	.LBB1_9
# %bb.7:                                #   in Loop: Header=BB1_2 Depth=1
	testb	%cl, %cl
	je	.LBB1_8
.LBB1_9:                                #   in Loop: Header=BB1_2 Depth=1
	testb	%dl, %dl
	je	.LBB1_14
# %bb.10:                               #   in Loop: Header=BB1_2 Depth=1
	cmpb	$46, %bpl
	je	.LBB1_12
# %bb.11:                               #   in Loop: Header=BB1_2 Depth=1
	cmpb	%dl, %bpl
	jne	.LBB1_14
.LBB1_12:                               # %tailrecurse
                                        #   in Loop: Header=BB1_2 Depth=1
	incq	%rbx
	incq	%r14
	movl	%ecx, %ebp
	testb	%cl, %cl
	jne	.LBB1_2
	jmp	.LBB1_13
.LBB1_4:                                #   in Loop: Header=BB1_3 Depth=1
	cmpb	$46, %bpl
	sete	%cl
	movb	(%rbx), %sil
	cmpb	%bpl, %sil
	sete	%dl
	xorl	%eax, %eax
	testb	%sil, %sil
	je	.LBB1_14
# %bb.5:                                #   in Loop: Header=BB1_3 Depth=1
	incq	%rbx
	orb	%dl, %cl
	je	.LBB1_14
.LBB1_3:                                # =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_Z9matchherePcS_
	testl	%eax, %eax
	je	.LBB1_4
.LBB1_13:
	movl	$1, %eax
.LBB1_14:                               # %_Z9matchstariPcS_.exit
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB1_8:
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	testb	%dl, %dl
	sete	%al
	jmp	.LBB1_14
.Lfunc_end1:
	.size	_Z9matchherePcS_, .Lfunc_end1-_Z9matchherePcS_
	.cfi_endproc
                                        # -- End function
	.globl	_Z9matchstariPcS_               # -- Begin function _Z9matchstariPcS_
	.type	_Z9matchstariPcS_,@function
_Z9matchstariPcS_:                      # @_Z9matchstariPcS_
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %rbp, -16
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movl	%edi, %ebp
.LBB2_1:                                # =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_Z9matchherePcS_
	testl	%eax, %eax
	jne	.LBB2_2
# %bb.3:                                #   in Loop: Header=BB2_1 Depth=1
	cmpl	$46, %ebp
	sete	%cl
	movsbl	(%rbx), %esi
	cmpl	%ebp, %esi
	sete	%dl
	xorl	%eax, %eax
	testl	%esi, %esi
	je	.LBB2_5
# %bb.4:                                #   in Loop: Header=BB2_1 Depth=1
	incq	%rbx
	orb	%dl, %cl
	jne	.LBB2_1
	jmp	.LBB2_5
.LBB2_2:
	movl	$1, %eax
.LBB2_5:                                # %.critedge
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end2:
	.size	_Z9matchstariPcS_, .Lfunc_end2-_Z9matchstariPcS_
	.cfi_endproc
                                        # -- End function
	.globl	main                            # -- Begin function main
	.type	main,@function
main:                                   # @main
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$1024, %rsp                     # imm = 0x400
	.cfi_def_cfa_offset 1072
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rbx
	cmpl	$3, %edi
	jl	.LBB3_10
# %bb.1:                                # %.preheader15
	movl	%edi, %r12d
	movl	$2, %r13d
	movq	%rsp, %r14
.LBB3_2:                                # =>This Loop Header: Depth=1
                                        #     Child Loop BB3_3 Depth 2
	movq	(%rbx,%r13,8), %rdi
	movl	$.L.str.1, %esi
	callq	fopen
	movq	%rax, %r15
	testq	%rax, %rax
	jne	.LBB3_3
# %bb.6:                                #   in Loop: Header=BB3_2 Depth=1
	movq	(%rbx,%r13,8), %rsi
	movl	$.L.str.2, %edi
	xorl	%eax, %eax
	callq	printf
	jmp	.LBB3_7
.LBB3_4:                                # %.lr.ph
                                        #   in Loop: Header=BB3_3 Depth=2
	movq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_Z5matchPcS_
	testl	%eax, %eax
	je	.LBB3_3
# %bb.5:                                #   in Loop: Header=BB3_3 Depth=2
	movq	%r14, %rdi
	callq	puts@PLT
.LBB3_3:                                # %.preheader
                                        #   Parent Loop BB3_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	$1024, %esi                     # imm = 0x400
	movq	%r15, %rdx
	callq	fgets
	testq	%rax, %rax
	jne	.LBB3_4
.LBB3_7:                                # %.loopexit
                                        #   in Loop: Header=BB3_2 Depth=1
	movq	%r15, %rdi
	callq	fclose
	incq	%r13
	cmpq	%r12, %r13
	jne	.LBB3_2
# %bb.8:
	xorl	%eax, %eax
.LBB3_9:                                # %.loopexit16
	addq	$1024, %rsp                     # imm = 0x400
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB3_10:
	.cfi_def_cfa_offset 1072
	movq	stderr(%rip), %rdi
	movq	(%rbx), %rdx
	movl	$.L.str, %esi
	xorl	%eax, %eax
	callq	fprintf
	movl	$1, %eax
	jmp	.LBB3_9
.Lfunc_end3:
	.size	main, .Lfunc_end3-main
	.cfi_endproc
                                        # -- End function
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"Use: %s regular_expr files ..\n"
	.size	.L.str, 31

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

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"%s: read failure.\n"
	.size	.L.str.2, 19

	.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 __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
