	.file	"92324880.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"usage: mkbuiltin1 sys\n"
.LC1:
	.string	"in file $1.6 s/PACKAGE/$1/\n"
.LC2:
	.string	"init_%s_function"
.LC3:
	.string	"O"
.LC4:
	.string	"%s.%s"
.LC5:
	.string	"r"
.LC6:
	.string	"open %s: %s\n"
.LC7:
	.string	"$$"
	.align 8
.LC8:
	.string	"did not find beginning of imports\n"
.LC9:
	.string	"char *%simport =\n"
.LC10:
	.string	"\t\""
.LC11:
	.string	"%s"
.LC12:
	.string	"PACKAGE"
.LC13:
	.string	"%s\\n\"\n"
.LC14:
	.string	"did not find end of imports\n"
.LC15:
	.string	"\t\"$$\\n\";"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 2112
	mov	DWORD PTR -2100[rbp], edi
	mov	QWORD PTR -2112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -2100[rbp], 2
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -2112[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -2088[rbp], rax
	mov	rdx, QWORD PTR -2088[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	lea	rdx, .LC2[rip]
	mov	esi, 1024
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rdi, .LC3[rip]
	call	getenv@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR -2088[rbp]
	lea	rax, -2064[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC4[rip]
	mov	esi, 1024
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -2064[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2080[rbp], rax
	cmp	QWORD PTR -2080[rbp], 0
	jne	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -2064[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	lea	rax, -2064[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L20
.L4:
	mov	rdx, QWORD PTR -2080[rbp]
	lea	rax, -2064[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	nop
.L5:
	mov	rax, QWORD PTR -2088[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L15:
	lea	rax, -2064[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -2064[rbp+rax], 0
	lea	rax, -2064[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L21
	lea	rax, -2064[rbp]
	mov	QWORD PTR -2096[rbp], rax
	jmp	.L10
.L11:
	add	QWORD PTR -2096[rbp], 1
.L10:
	mov	rax, QWORD PTR -2096[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L11
	mov	rax, QWORD PTR -2096[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L11
	lea	rdx, -1040[rbp]
	lea	rax, -2064[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L12
	jmp	.L7
.L12:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L14:
	mov	rax, QWORD PTR -2072[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -2096[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -2088[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -2072[rbp]
	add	rax, 7
	mov	QWORD PTR -2096[rbp], rax
.L13:
	mov	rax, QWORD PTR -2096[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -2072[rbp], rax
	cmp	QWORD PTR -2072[rbp], 0
	jne	.L14
	mov	rax, QWORD PTR -2096[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	mov	rdx, QWORD PTR -2080[rbp]
	lea	rax, -2064[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	nop
.L9:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"92324880.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: mkbuiltin1 sys\012\000"
	.align	2
.LC1:
	.ascii	"in file $1.6 s/PACKAGE/$1/\012\000"
	.align	2
.LC2:
	.ascii	"init_%s_function\000"
	.align	2
.LC3:
	.ascii	"O\000"
	.align	2
.LC4:
	.ascii	"%s.%s\000"
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"open %s: %s\012\000"
	.align	2
.LC7:
	.ascii	"$$\000"
	.align	2
.LC8:
	.ascii	"did not find beginning of imports\012\000"
	.align	2
.LC9:
	.ascii	"char *%simport =\012\000"
	.align	2
.LC10:
	.ascii	"\011\"\000"
	.align	2
.LC11:
	.ascii	"%s\000"
	.align	2
.LC12:
	.ascii	"PACKAGE\000"
	.align	2
.LC13:
	.ascii	"%s\\n\"\012\000"
	.align	2
.LC14:
	.ascii	"did not find end of imports\012\000"
	.align	2
.LC15:
	.ascii	"\011\"$$\\n\";\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2080
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2080
	sub	sp, sp, #12
	str	r0, [fp, #-2088]
	str	r1, [fp, #-2092]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-2088]
	cmp	r3, #2
	beq	.L2
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L22+8
	bl	fwrite
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L22+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-2092]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-2076]
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [fp, #-2076]
	ldr	r2, .L22+16
	mov	r1, #1024
	bl	snprintf
	ldr	r0, .L22+20
	bl	getenv
	mov	r3, r0
	sub	r0, fp, #2048
	sub	r0, r0, #12
	sub	r0, r0, #4
	str	r3, [sp]
	ldr	r3, [fp, #-2076]
	ldr	r2, .L22+24
	mov	r1, #1024
	bl	snprintf
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L22+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-2072]
	ldr	r3, [fp, #-2072]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	sub	r2, fp, #2048
	sub	r2, r2, #12
	sub	r2, r2, #4
	ldr	r1, .L22+32
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L6:
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L22+36
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
.L4:
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-2072]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L22+40
	bl	fwrite
	mov	r0, #1
	bl	exit
.L20:
	nop
.L5:
	ldr	r1, [fp, #-2076]
	ldr	r0, .L22+44
	bl	printf
	b	.L7
.L15:
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-2052]
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L22+36
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [fp, #-2080]
	b	.L10
.L11:
	ldr	r3, [fp, #-2080]
	add	r3, r3, #1
	str	r3, [fp, #-2080]
.L10:
	ldr	r3, [fp, #-2080]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L11
	ldr	r3, [fp, #-2080]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L11
	sub	r2, fp, #1024
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	b	.L7
.L12:
	ldr	r0, .L22+48
	bl	printf
	b	.L13
.L14:
	ldr	r3, [fp, #-2068]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-2080]
	ldr	r0, .L22+52
	bl	printf
	ldr	r1, [fp, #-2076]
	ldr	r0, .L22+52
	bl	printf
	ldr	r3, [fp, #-2068]
	add	r3, r3, #7
	str	r3, [fp, #-2080]
.L13:
	ldr	r1, .L22+56
	ldr	r0, [fp, #-2080]
	bl	strstr
	str	r0, [fp, #-2068]
	ldr	r3, [fp, #-2068]
	cmp	r3, #0
	bne	.L14
	ldr	r1, [fp, #-2080]
	ldr	r0, .L22+60
	bl	printf
.L7:
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-2072]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L22+64
	bl	fwrite
	mov	r0, #1
	bl	exit
.L21:
	nop
.L9:
	ldr	r0, .L22+68
	bl	puts
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC16
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
