	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_output_makefile            ## -- Begin function gen_output_makefile
	.p2align	4, 0x90
_gen_output_makefile:                   ## @gen_output_makefile
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_MAXLINELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_outmkname@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_status
	movq	(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movq	(%r15), %rdx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_infilename@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_CRUNCH_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_outhdrname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpb	$0, (%rdx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_4:
	movq	%r14, %rdi
	callq	_top_makefile_rules
	movq	_progs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_prog_makefile_rules
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
LBB0_7:
	leaq	L_.str.5(%rip), %rdi
	movl	$12, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_fwrite
	movq	%r14, %rdi
	callq	_fclose
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str.2(%rip), %rdi
	movq	%rdx, %rsi
	callq	_warn
	movq	_goterror@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXLINELEN,4,2                 ## @MAXLINELEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"generating %s"

	.comm	_outmkname,8,3                  ## @outmkname
L_.str.1:                               ## @.str.1
	.asciz	"w"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_goterror,4,2                   ## @goterror
L_.str.3:                               ## @.str.3
	.asciz	"# %s - generated from %s by crunchgen %s\n\n"

	.comm	_infilename,8,3                 ## @infilename
	.comm	_CRUNCH_VERSION,8,3             ## @CRUNCH_VERSION
	.comm	_outhdrname,8,3                 ## @outhdrname
L_.str.4:                               ## @.str.4
	.asciz	".include \"%s\"\n"

	.comm	_progs,8,3                      ## @progs
L_.str.5:                               ## @.str.5
	.asciz	"\n# ========\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_output_makefile            ; -- Begin function gen_output_makefile
	.p2align	2
_gen_output_makefile:                   ; @gen_output_makefile
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _MAXLINELEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXLINELEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x9, x1
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh8:
	adrp	x20, _outmkname@GOTPAGE
Lloh9:
	ldr	x20, [x20, _outmkname@GOTPAGEOFF]
	ldr	x3, [x20]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_snprintf
	mov	x0, x19
	bl	_status
	ldr	x0, [x20]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	ldr	x1, [x20]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
Lloh14:
	adrp	x8, _infilename@GOTPAGE
Lloh15:
	ldr	x8, [x8, _infilename@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _CRUNCH_VERSION@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CRUNCH_VERSION@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	sub	sp, sp, #32
	stp	x8, x9, [sp, #8]
	str	x1, [sp]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	add	sp, sp, #32
Lloh22:
	adrp	x8, _outhdrname@GOTPAGE
Lloh23:
	ldr	x8, [x8, _outhdrname@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	ldrb	w9, [x8]
	cbz	w9, LBB0_3
; %bb.2:
	str	x8, [sp, #-16]!
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	add	sp, sp, #16
LBB0_3:
	mov	x0, x19
	bl	_top_makefile_rules
Lloh27:
	adrp	x8, _progs@GOTPAGE
Lloh28:
	ldr	x8, [x8, _progs@GOTPAGEOFF]
Lloh29:
	ldr	x20, [x8]
	cbz	x20, LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_prog_makefile_rules
	ldr	x20, [x20]
	cbnz	x20, LBB0_4
LBB0_5:
Lloh30:
	adrp	x0, l_.str.5@PAGE
Lloh31:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #12
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	mov	x0, x19
	bl	_fclose
	b	LBB0_7
LBB0_6:
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
Lloh34:
	adrp	x8, _goterror@GOTPAGE
Lloh35:
	ldr	x8, [x8, _goterror@GOTPAGEOFF]
	mov	w9, #1
Lloh36:
	str	w9, [x8]
LBB0_7:
	ldur	x8, [x29, #-24]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXLINELEN,4,2                 ; @MAXLINELEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"generating %s"

	.comm	_outmkname,8,3                  ; @outmkname
l_.str.1:                               ; @.str.1
	.asciz	"w"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_goterror,4,2                   ; @goterror
l_.str.3:                               ; @.str.3
	.asciz	"# %s - generated from %s by crunchgen %s\n\n"

	.comm	_infilename,8,3                 ; @infilename
	.comm	_CRUNCH_VERSION,8,3             ; @CRUNCH_VERSION
	.comm	_outhdrname,8,3                 ; @outhdrname
l_.str.4:                               ; @.str.4
	.asciz	".include \"%s\"\n"

	.comm	_progs,8,3                      ; @progs
l_.str.5:                               ; @.str.5
	.asciz	"\n# ========\n"

.subsections_via_symbols
