	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_data                      ## -- Begin function init_data
	.p2align	4, 0x90
_init_data:                             ## @init_data
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_engineF@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	_engineN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_5
## %bb.1:
	leaq	-160(%rbp), %r15
	leaq	L_.str.2(%rip), %r12
	movq	_f@GOTPCREL(%rip), %r13
	movq	_left_files@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_stat_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r15, %rdi
	movl	$100, %esi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %r8d
	callq	_snprintf
	cmpl	$100, %eax
	jge	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_fopen
	movq	(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r13), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	(%r14)
	incq	%rbx
	movq	_engineN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.6:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	leaq	-160(%rbp), %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_engineF,4,2                    ## @engineF
	.comm	_engineN,4,2                    ## @engineN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%03d"

	.comm	_stat_name,8,3                  ## @stat_name
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Filename is too long.\n"

L_.str.2:                               ## @.str.2
	.asciz	"r"

	.comm	_f,8,3                          ## @f
L_.str.3:                               ## @.str.3
	.asciz	"File '%s' not found.\n"

	.comm	_left_files,4,2                 ## @left_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_data                      ; -- Begin function init_data
	.p2align	2
_init_data:                             ; @init_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _engineF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _engineF@GOTPAGEOFF]
	stur	x8, [x29, #-72]
Lloh5:
	ldrsw	x19, [x9]
Lloh6:
	adrp	x22, _engineN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _engineN@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w19, w8
	b.ge	LBB0_5
; %bb.1:
Lloh8:
	adrp	x23, _stat_name@GOTPAGE
Lloh9:
	ldr	x23, [x23, _stat_name@GOTPAGEOFF]
Lloh10:
	adrp	x20, l_.str@PAGE
Lloh11:
	add	x20, x20, l_.str@PAGEOFF
Lloh12:
	adrp	x24, _f@GOTPAGE
Lloh13:
	ldr	x24, [x24, _f@GOTPAGEOFF]
Lloh14:
	adrp	x25, _left_files@GOTPAGE
Lloh15:
	ldr	x25, [x25, _left_files@GOTPAGEOFF]
Lloh16:
	adrp	x21, l_.str.2@PAGE
Lloh17:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x3, [x23]
	add	x0, sp, #20
	mov	w1, #100
	mov	x2, x20
	mov	x4, x19
	bl	_snprintf
	cmp	w0, #100
	b.ge	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #20
	mov	x1, x21
	bl	_fopen
	ldr	x8, [x24]
	lsl	x9, x19, #3
	str	x0, [x8, x9]
	ldr	x8, [x24]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x25]
	add	w8, w8, #1
	str	w8, [x25]
	add	x19, x19, #1
	ldrsw	x8, [x22]
	cmp	x19, x8
	b.lt	LBB0_2
LBB0_5:
	ldur	x8, [x29, #-72]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.6:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_7:
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh26:
	adrp	x8, _stderr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	add	x8, sp, #20
	str	x8, [sp]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_9:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_engineF,4,2                    ; @engineF
	.comm	_engineN,4,2                    ; @engineN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%03d"

	.comm	_stat_name,8,3                  ; @stat_name
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Filename is too long.\n"

l_.str.2:                               ; @.str.2
	.asciz	"r"

	.comm	_f,8,3                          ; @f
l_.str.3:                               ; @.str.3
	.asciz	"File '%s' not found.\n"

	.comm	_left_files,4,2                 ; @left_files
.subsections_via_symbols
