	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%r12
	pushq	%rbx
	subq	$1296, %rsp                     ## imm = 0x510
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	l___const.main.filename(%rip), %rsi
	leaq	-1328(%rbp), %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memcpy
	cmpl	$3, %ebx
	jl	LBB0_2
## %bb.1:
	movq	(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	jmp	LBB0_4
LBB0_2:
	cmpl	$2, %ebx
	jne	LBB0_4
## %bb.3:
	movq	8(%r14), %rsi
	leaq	-1328(%rbp), %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_strlcpy
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-1328(%rbp), %rdi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rdx
	leaq	-1072(%rbp), %rbx
	leaq	-1328(%rbp), %r8
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%rax, %rcx
	callq	_snprintf
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_8
LBB0_7:
	leaq	L_.str.4(%rip), %rsi
	leaq	-1328(%rbp), %rdx
	movl	$1, %edi
	callq	_err
	xorl	%r14d, %r14d
LBB0_8:
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	xorl	%ebx, %ebx
	leaq	-1072(%rbp), %r15
	xorl	%r12d, %r12d
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	incl	%ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%r14, %rdx
	callq	_fgets
	incl	%ebx
	testq	%rax, %rax
	je	LBB0_16
LBB0_12:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-1072(%rbp), %eax
	cmpb	$64, %al
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpb	$35, %al
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_test
	addl	%eax, %r12d
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_16
LBB0_9:
	xorl	%r12d, %r12d
LBB0_16:
	movq	%r14, %rdi
	callq	_fclose
	xorl	%eax, %eax
	testl	%r12d, %r12d
	setne	%cl
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	-40(%rbp), %rdx
	jne	LBB0_18
## %bb.17:
	movb	%cl, %al
	addq	$1296, %rsp                     ## imm = 0x510
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.main.filename
l___const.main.filename:
	.asciz	"NormalizationTest.txt\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: %s [file]"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"%s/%s"

L_.str.4:                               ## @.str.4
	.asciz	"open %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #1296
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, l___const.main.filename@PAGE
Lloh4:
	add	x8, x8, l___const.main.filename@PAGEOFF
	ldp	q0, q1, [x8, #192]
	stp	q0, q1, [sp, #192]
	ldp	q0, q1, [x8, #224]
	stp	q0, q1, [sp, #224]
	ldp	q0, q1, [x8, #128]
	stp	q0, q1, [sp, #128]
	ldp	q0, q1, [x8, #160]
	stp	q0, q1, [sp, #160]
	ldp	q0, q1, [x8, #64]
	stp	q0, q1, [sp, #64]
	ldp	q0, q1, [x8, #96]
	stp	q0, q1, [sp, #96]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #32]
	cmp	w0, #3
	b.lt	LBB0_2
; %bb.1:
	ldr	x2, [x1]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_4
LBB0_2:
	cmp	w0, #2
	b.ne	LBB0_4
; %bb.3:
	ldr	x1, [x1, #8]
	mov	x0, sp
	mov	w2, #256
	bl	_strlcpy
LBB0_4:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, sp
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_8
; %bb.5:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_7
; %bb.6:
	mov	x3, x0
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #264
	mov	x4, sp
	mov	w1, #256
	bl	_snprintf
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #264
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_8
LBB0_7:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, sp
	mov	w0, #1
	bl	_err
	mov	x19, #0
LBB0_8:
	add	x0, sp, #264
	mov	w1, #1024
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_15
; %bb.9:
	mov	w20, #0
	mov	w21, #0
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	add	w20, w20, #1
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x0, sp, #264
	mov	w1, #1024
	mov	x2, x19
	bl	_fgets
	add	w20, w20, #1
	cbz	x0, LBB0_16
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [sp, #264]
	cmp	w8, #64
	b.eq	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	w8, #35
	b.eq	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x0, sp, #264
	mov	x1, x20
	bl	_test
	add	w21, w21, w0
	add	x0, sp, #264
	mov	w1, #1024
	mov	x2, x19
	bl	_fgets
	cbnz	x0, LBB0_10
	b	LBB0_16
LBB0_15:
	mov	w21, #0
LBB0_16:
	mov	x0, x19
	bl	_fclose
	cmp	w21, #0
	cset	w0, ne
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	add	sp, sp, #1296
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.main.filename:                ; @__const.main.filename
	.asciz	"NormalizationTest.txt\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: %s [file]"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"%s/%s"

l_.str.4:                               ; @.str.4
	.asciz	"open %s"

.subsections_via_symbols
