	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_set_debug_handlers
	leaq	L_.str(%rip), %r12
	leaq	LJTI0_0(%rip), %r13
	movq	_optarg@GOTPCREL(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rax
	movq	_output_file@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-104(%rax), %ecx
	cmpl	$14, %ecx
	ja	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r13,%rcx,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rax
	movq	_input_file@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	incq	(%rax)
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rdi
	callq	_atoi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_1
LBB0_2:
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.3:
	movq	_optind@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_input_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.11:
	movq	_output_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_stdout@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_freopen
	movl	%eax, %edi
	callq	_assert
	movq	_input_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_13:
	movq	_stdin@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_freopen
	movl	%eax, %edi
	callq	_assert
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	jle	LBB0_16
## %bb.14:
	movq	_buff@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	(%r14), %edx
	movl	$1000000, %esi                  ## imm = 0xF4240
	callq	_fgets
	movl	%eax, %edi
	callq	_assert
	decl	%ebx
	jne	LBB0_15
LBB0_16:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_init
	xorl	%eax, %eax
	callq	_run
	movq	_root@GOTPCREL(%rip), %rdi
	movl	$-1, %esi
	callq	_dump
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_total_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_18
LBB0_5:
	xorl	%eax, %eax
	callq	_help
	movl	$2, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i:o:vhs:"

	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_optarg,8,3                     ## @optarg
	.comm	_input_file,8,3                 ## @input_file
	.comm	_output_file,8,3                ## @output_file
	.comm	_optind,4,2                     ## @optind
L_.str.1:                               ## @.str.1
	.asciz	"wt"

	.comm	_stdout,4,2                     ## @stdout
L_.str.2:                               ## @.str.2
	.asciz	"rt"

	.comm	_stdin,4,2                      ## @stdin
	.comm	_buff,4,2                       ## @buff
	.comm	_root,4,2                       ## @root
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"Total %d rules\n"

	.comm	_total_out,4,2                  ## @total_out
.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	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x20, x0
	bl	_set_debug_handlers
	mov	w19, #0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x26, _optarg@GOTPAGE
Lloh3:
	ldr	x26, [x26, _optarg@GOTPAGEOFF]
Lloh4:
	adrp	x24, _input_file@GOTPAGE
Lloh5:
	ldr	x24, [x24, _input_file@GOTPAGEOFF]
Lloh6:
	adrp	x25, _output_file@GOTPAGE
Lloh7:
	ldr	x25, [x25, _output_file@GOTPAGEOFF]
Lloh8:
	adrp	x23, _verbosity@GOTPAGE
Lloh9:
	ldr	x23, [x23, _verbosity@GOTPAGEOFF]
Lloh10:
	adrp	x27, lJTI0_0@PAGE
Lloh11:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26]
	str	x8, [x25]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_getopt
	sub	w8, w0, #104
	cmp	w8, #14
	b.hi	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26]
	str	x8, [x24]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	add	x8, x8, #1
	str	x8, [x23]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x26]
	bl	_atoi
	mov	x19, x0
	b	LBB0_2
LBB0_7:
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.8:
Lloh12:
	adrp	x8, _optind@GOTPAGE
Lloh13:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	x0, [x24]
	cmp	w8, w20
	ccmp	x0, #0, #4, eq
	b.ne	LBB0_11
LBB0_9:
	bl	_help
	mov	w0, #2
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x8, [x25]
	cbz	x8, LBB0_13
; %bb.12:
Lloh15:
	adrp	x9, _stdout@GOTPAGE
Lloh16:
	ldr	x9, [x9, _stdout@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x9]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
	bl	_freopen
	bl	_assert
	ldr	x0, [x24]
LBB0_13:
Lloh20:
	adrp	x20, _stdin@GOTPAGE
Lloh21:
	ldr	x20, [x20, _stdin@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_freopen
	bl	_assert
	cmp	w19, #1
	b.lt	LBB0_16
; %bb.14:
Lloh24:
	adrp	x21, _buff@GOTPAGE
Lloh25:
	ldr	x21, [x21, _buff@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #16960
	movk	w1, #15, lsl #16
	bl	_fgets
	bl	_assert
	subs	w19, w19, #1
	b.ne	LBB0_15
LBB0_16:
	bl	_init
	bl	_run
Lloh26:
	adrp	x0, _root@GOTPAGE
Lloh27:
	ldr	x0, [x0, _root@GOTPAGEOFF]
	mov	w1, #-1
	bl	_dump
	ldr	x8, [x23]
	cbz	x8, LBB0_18
; %bb.17:
Lloh28:
	adrp	x8, _stderr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x8, _total_out@GOTPAGE
Lloh32:
	ldr	x8, [x8, _total_out@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
LBB0_18:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i:o:vhs:"

	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_optarg,8,3                     ; @optarg
	.comm	_input_file,8,3                 ; @input_file
	.comm	_output_file,8,3                ; @output_file
	.comm	_optind,4,2                     ; @optind
l_.str.1:                               ; @.str.1
	.asciz	"wt"

	.comm	_stdout,4,2                     ; @stdout
l_.str.2:                               ; @.str.2
	.asciz	"rt"

	.comm	_stdin,4,2                      ; @stdin
	.comm	_buff,4,2                       ; @buff
	.comm	_root,4,2                       ; @root
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"Total %d rules\n"

	.comm	_total_out,4,2                  ; @total_out
.subsections_via_symbols
