	.file	"extr_crunchgen.c_gen_output_makefile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"generating %s"
.LC1:
	.string	"w"
.LC2:
	.string	"%s"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"# %s - generated from %s by crunchgen %s\n\n"
	.section	.rodata.str1.1
.LC4:
	.string	".include \"%s\"\n"
.LC5:
	.string	"\n# ========\n"
	.text
	.p2align 4
	.globl	gen_output_makefile
	.type	gen_output_makefile, @function
gen_output_makefile:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAXLINELEN[rip]
	mov	rcx, rsp
	mov	r13, rsp
	mov	rsi, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L20:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L20
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L21
.L4:
	mov	rcx, QWORD PTR outmkname[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, rsp
	call	snprintf@PLT
	mov	rdi, rsp
	call	status@PLT
	mov	rdi, QWORD PTR outmkname[rip]
	lea	rsi, .LC1[rip]
	call	fopen@PLT
	mov	r12, rax
	test	rax, rax
	je	.L22
	mov	rdx, QWORD PTR outmkname[rip]
	mov	r8, QWORD PTR CRUNCH_VERSION[rip]
	mov	rdi, rax
	xor	eax, eax
	mov	rcx, QWORD PTR infilename[rip]
	lea	rsi, .LC3[rip]
	call	fprintf@PLT
	mov	rdx, QWORD PTR outhdrname[rip]
	cmp	BYTE PTR [rdx], 0
	jne	.L23
.L7:
	mov	rdi, r12
	call	top_makefile_rules@PLT
	mov	rbx, QWORD PTR progs[rip]
	test	rbx, rbx
	je	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, rbx
	mov	rdi, r12
	call	prog_makefile_rules@PLT
	mov	rbx, QWORD PTR [rbx]
	test	rbx, rbx
	jne	.L9
.L8:
	mov	rcx, r12
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rdi, r12
	call	fclose@PLT
	mov	rsp, r13
.L1:
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	lea	rsi, .LC4[rip]
	mov	rdi, r12
	xor	eax, eax
	call	fprintf@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L21:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L22:
	mov	rsi, QWORD PTR outmkname[rip]
	lea	rdi, .LC2[rip]
	call	warn@PLT
	mov	DWORD PTR goterror[rip], 1
	mov	rsp, r13
	jmp	.L1
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gen_output_makefile, .-gen_output_makefile
	.comm	progs,8,8
	.comm	outmkname,8,8
	.comm	outhdrname,8,8
	.comm	infilename,8,8
	.comm	goterror,4,4
	.comm	MAXLINELEN,4,4
	.comm	CRUNCH_VERSION,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_crunchgen.c_gen_output_makefile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"generating %s\000"
	.align	2
.LC1:
	.ascii	"w\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"# %s - generated from %s by crunchgen %s\012\012\000"
	.align	2
.LC4:
	.ascii	".include \"%s\"\012\000"
	.align	2
.LC5:
	.ascii	"\012# ========\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gen_output_makefile
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_output_makefile, %function
gen_output_makefile:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #20
	ldr	r3, .L20
	ldr	r4, .L20+4
	ldr	r1, [r3]
	mov	r6, sp
	add	r3, r1, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	ip, .L20+8
	add	r5, sp, #8
	ldr	r3, [r4]
	ldr	r2, .L20+12
	mov	r0, r5
	ldr	ip, [ip]
	str	ip, [fp, #-24]
	mov	ip,#0
	bl	snprintf
	mov	r0, r5
	bl	status
	ldr	r0, [r4]
	ldr	r1, .L20+16
	bl	fopen
	subs	r5, r0, #0
	beq	.L17
	ldr	r1, .L20+20
	ldr	r3, .L20+24
	ldr	r1, [r1]
	ldr	r2, [r4]
	ldr	r3, [r3]
	str	r1, [sp]
	ldr	r1, .L20+28
	bl	fprintf
	ldr	r3, .L20+32
	ldr	r2, [r3]
	ldrb	r3, [r2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L18
.L4:
	mov	r0, r5
	bl	top_makefile_rules
	ldr	r3, .L20+36
	ldr	r4, [r3]
	cmp	r4, #0
	beq	.L5
.L6:
	mov	r1, r4
	mov	r0, r5
	bl	prog_makefile_rules
	ldr	r4, [r4]
	cmp	r4, #0
	bne	.L6
.L5:
	mov	r3, r5
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L20+40
	bl	fwrite
	mov	r0, r5
	bl	fclose
	mov	sp, r6
.L1:
	ldr	r3, .L20+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L18:
	mov	r0, r5
	ldr	r1, .L20+44
	bl	fprintf
	b	.L4
.L17:
	ldr	r1, [r4]
	ldr	r0, .L20+48
	bl	warn
	mov	r2, #1
	ldr	r3, .L20+52
	str	r2, [r3]
	mov	sp, r6
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	MAXLINELEN
	.word	outmkname
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	CRUNCH_VERSION
	.word	infilename
	.word	.LC3
	.word	outhdrname
	.word	progs
	.word	.LC5
	.word	.LC4
	.word	.LC2
	.word	goterror
	.size	gen_output_makefile, .-gen_output_makefile
	.comm	progs,4,4
	.comm	outmkname,4,4
	.comm	outhdrname,4,4
	.comm	infilename,4,4
	.comm	goterror,4,4
	.comm	MAXLINELEN,4,4
	.comm	CRUNCH_VERSION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
