	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_new_rule                       ## -- Begin function new_rule
	.p2align	4, 0x90
_new_rule:                              ## @new_rule
	.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	_num_rules@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	incq	%rax
	movq	%rax, (%r14)
	movq	_current_max_rules@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	cmpq	%rsi, %rax
	jl	LBB0_2
## %bb.1:
	movq	_num_reallocs@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_MAX_RULES_INCREMENT@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%rsi, (%rbx)
	movq	_rule_type@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_reallocate_integer_array
	movq	%rax, (%r15)
	movq	_rule_linenum@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	(%rbx), %rsi
	callq	_reallocate_integer_array
	movq	%rax, (%r15)
	movq	_rule_useful@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	(%rbx), %rsi
	callq	_reallocate_integer_array
	movq	%rax, (%r15)
	movq	_rule_has_nl@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	(%rbx), %rsi
	callq	_reallocate_bool_array
	movq	%rax, (%r15)
	movq	(%r14), %rax
LBB0_2:
	movq	_MAX_RULE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jle	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_lerrif
	movq	(%r14), %rax
LBB0_4:
	movq	_linenum@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_rule_linenum@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rdx,%rax,4)
	movq	_rule_useful@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$0, (%rcx,%rax,4)
	movq	_rule_has_nl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$0, (%rcx,%rax,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_num_rules,8,3                  ## @num_rules
	.comm	_current_max_rules,8,3          ## @current_max_rules
	.comm	_num_reallocs,4,2               ## @num_reallocs
	.comm	_MAX_RULES_INCREMENT,8,3        ## @MAX_RULES_INCREMENT
	.comm	_rule_type,8,3                  ## @rule_type
	.comm	_rule_linenum,8,3               ## @rule_linenum
	.comm	_rule_useful,8,3                ## @rule_useful
	.comm	_rule_has_nl,8,3                ## @rule_has_nl
	.comm	_MAX_RULE,8,3                   ## @MAX_RULE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many rules (> %d)!"

	.comm	_linenum,4,2                    ## @linenum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_new_rule                       ; -- Begin function new_rule
	.p2align	2
_new_rule:                              ; @new_rule
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x21, _num_rules@GOTPAGE
Lloh1:
	ldr	x21, [x21, _num_rules@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
Lloh2:
	adrp	x23, _current_max_rules@GOTPAGE
Lloh3:
	ldr	x23, [x23, _current_max_rules@GOTPAGEOFF]
Lloh4:
	adrp	x22, _rule_linenum@GOTPAGE
Lloh5:
	ldr	x22, [x22, _rule_linenum@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh6:
	adrp	x20, _rule_useful@GOTPAGE
Lloh7:
	ldr	x20, [x20, _rule_useful@GOTPAGEOFF]
Lloh8:
	adrp	x19, _rule_has_nl@GOTPAGE
Lloh9:
	ldr	x19, [x19, _rule_has_nl@GOTPAGEOFF]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _num_reallocs@GOTPAGE
Lloh11:
	ldr	x8, [x8, _num_reallocs@GOTPAGEOFF]
	ldr	w10, [x8]
	add	w10, w10, #1
	str	w10, [x8]
Lloh12:
	adrp	x8, _MAX_RULES_INCREMENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAX_RULES_INCREMENT@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x1, x8, x9
	str	x1, [x23]
Lloh15:
	adrp	x24, _rule_type@GOTPAGE
Lloh16:
	ldr	x24, [x24, _rule_type@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_reallocate_integer_array
	str	x0, [x24]
	ldr	x0, [x22]
	ldr	x1, [x23]
	bl	_reallocate_integer_array
	str	x0, [x22]
	ldr	x0, [x20]
	ldr	x1, [x23]
	bl	_reallocate_integer_array
	str	x0, [x20]
	ldr	x0, [x19]
	ldr	x1, [x23]
	bl	_reallocate_bool_array
	str	x0, [x19]
	ldr	x8, [x21]
LBB0_2:
Lloh17:
	adrp	x23, _MAX_RULE@GOTPAGE
Lloh18:
	ldr	x23, [x23, _MAX_RULE@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.le	LBB0_4
; %bb.3:
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	x1, [x23]
	bl	_lerrif
	ldr	x8, [x21]
LBB0_4:
Lloh21:
	adrp	x9, _linenum@GOTPAGE
Lloh22:
	ldr	x9, [x9, _linenum@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	ldr	x10, [x22]
	lsl	x8, x8, #2
	str	w9, [x10, x8]
	ldr	x9, [x20]
	str	wzr, [x9, x8]
	ldr	x9, [x19]
	str	wzr, [x9, x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_num_rules,8,3                  ; @num_rules
	.comm	_current_max_rules,8,3          ; @current_max_rules
	.comm	_num_reallocs,4,2               ; @num_reallocs
	.comm	_MAX_RULES_INCREMENT,8,3        ; @MAX_RULES_INCREMENT
	.comm	_rule_type,8,3                  ; @rule_type
	.comm	_rule_linenum,8,3               ; @rule_linenum
	.comm	_rule_useful,8,3                ; @rule_useful
	.comm	_rule_has_nl,8,3                ; @rule_has_nl
	.comm	_MAX_RULE,8,3                   ; @MAX_RULE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many rules (> %d)!"

	.comm	_linenum,4,2                    ; @linenum
.subsections_via_symbols
