	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_active_list              ## -- Begin function build_active_list
	.p2align	4, 0x90
_build_active_list:                     ## @build_active_list
	.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	_ibufp@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movb	(%rax), %bl
	cmpb	$32, %bl
	je	LBB0_2
## %bb.1:
	cmpb	$10, %bl
	jne	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rax
	movq	_errmsg@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_4:
	movq	_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_16:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%edi, %r15d
	xorl	%eax, %eax
	callq	_get_compiled_pattern
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	(%r14), %rax
	cmpb	%bl, (%rax)
	jne	LBB0_7
## %bb.6:
	incq	%rax
	movq	%rax, (%r14)
LBB0_7:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_clear_active_list
	movq	_first_addr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_get_addressed_line_node
	movq	%rax, %r13
	movq	(%rbx), %r14
	movq	_second_addr@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jg	LBB0_16
## %bb.8:
	decq	%r14
	movq	_isbinary@GOTPCREL(%rip), %r12
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r13), %r13
	incq	%r14
	movq	_second_addr@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jge	LBB0_15
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_get_sbuf_line
	testq	%rax, %rax
	je	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rbx
	cmpq	$0, (%r12)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_NUL_TO_NEWLINE
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	cmpl	%r15d, %eax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_set_active_node
	testq	%rax, %rax
	jns	LBB0_14
	jmp	LBB0_4
LBB0_15:
	xorl	%r12d, %r12d
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ibufp,8,3                      ## @ibufp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid pattern delimiter"

	.comm	_errmsg,8,3                     ## @errmsg
	.comm	_ERR,4,2                        ## @ERR
	.comm	_first_addr,8,3                 ## @first_addr
	.comm	_second_addr,8,3                ## @second_addr
	.comm	_isbinary,8,3                   ## @isbinary
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_active_list              ; -- Begin function build_active_list
	.p2align	2
_build_active_list:                     ; @build_active_list
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, _ibufp@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ibufp@GOTPAGEOFF]
	ldr	x8, [x21]
	ldrb	w22, [x8]
	cmp	w22, #32
	ccmp	w22, #10, #4, ne
	b.ne	LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _errmsg@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errmsg@GOTPAGEOFF]
Lloh4:
	adrp	x9, l_.str@PAGE
Lloh5:
	add	x9, x9, l_.str@PAGEOFF
Lloh6:
	str	x9, [x8]
LBB0_2:
Lloh7:
	adrp	x8, _ERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x19, x0
	bl	_get_compiled_pattern
	cbz	x0, LBB0_2
; %bb.5:
	mov	x20, x0
	ldr	x8, [x21]
	ldrb	w9, [x8]
	cmp	w9, w22
	b.ne	LBB0_7
; %bb.6:
	add	x8, x8, #1
	str	x8, [x21]
LBB0_7:
	bl	_clear_active_list
Lloh10:
	adrp	x22, _first_addr@GOTPAGE
Lloh11:
	ldr	x22, [x22, _first_addr@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_get_addressed_line_node
	ldr	x8, [x22]
Lloh12:
	adrp	x23, _second_addr@GOTPAGE
Lloh13:
	ldr	x23, [x23, _second_addr@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.le	LBB0_9
LBB0_8:
	mov	w0, #0
	b	LBB0_3
LBB0_9:
	mov	x21, x0
	sub	x24, x8, #1
Lloh14:
	adrp	x25, _isbinary@GOTPAGE
Lloh15:
	ldr	x25, [x25, _isbinary@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x21, [x21, #8]
	ldr	x8, [x23]
	add	x24, x24, #1
	cmp	x24, x8
	b.ge	LBB0_8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_get_sbuf_line
	cbz	x0, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, x0
	ldr	x8, [x25]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [x21]
	mov	x0, x22
	bl	_NUL_TO_NEWLINE
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
	cmp	w0, w19
	b.eq	LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x21
	bl	_set_active_node
	tbz	x0, #63, LBB0_10
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ibufp,8,3                      ; @ibufp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid pattern delimiter"

	.comm	_errmsg,8,3                     ; @errmsg
	.comm	_ERR,4,2                        ; @ERR
	.comm	_first_addr,8,3                 ; @first_addr
	.comm	_second_addr,8,3                ; @second_addr
	.comm	_isbinary,8,3                   ; @isbinary
.subsections_via_symbols
