	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_lazy_match_lines
_find_lazy_match_lines:                 ## @find_lazy_match_lines
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	$0, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	movq	%rax, %rdx
	callq	_getline
                                        ## kill: def $eax killed $eax def $rax
	movl	$0, %r13d
	testl	%eax, %eax
	jle	LBB0_8
## %bb.2:
	xorl	%r13d, %r13d
	movl	$1, %r14d
	leaq	-72(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_getline
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi
	decl	%eax
	cmpb	$10, (%rdi,%rax)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$0, (%rdi,%rax)
	movq	-48(%rbp), %rdi
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rsi
	callq	_strlazymatch
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_line_list__add_line
	incl	%r13d
	jmp	LBB0_7
LBB0_8:
	movq	%rbx, %rdi
	callq	_ferror
	movq	_errno@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	subl	(%rcx), %r14d
	testq	%rax, %rax
	cmovel	%r13d, %r14d
	movq	-48(%rbp), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_fclose
	testl	%r14d, %r14d
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_pr_debug
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_11:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_pr_warning
	xorl	%r14d, %r14d
	subl	(%rbx), %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to open %s: %s\n"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"No matched lines found in %s.\n"

	.no_dead_strip	_find_lazy_match_lines
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_lazy_match_lines
_find_lazy_match_lines:                 ; @find_lazy_match_lines
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fopen
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	add	x0, sp, #8
	mov	x1, sp
	mov	x2, x20
	bl	_getline
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.2:
	mov	w24, #0
	mov	w23, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	add	x0, sp, #8
	mov	x1, sp
	mov	x2, x20
	bl	_getline
	cmp	w0, #0
	b.le	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	sub	w9, w0, #1
	ldrb	w10, [x8, x9]
	cmp	w10, #10
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x8, x9]
	ldr	x8, [sp, #8]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x8
	mov	x1, x21
	bl	_strlazymatch
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_line_list__add_line
	add	w24, w24, #1
	b	LBB0_3
LBB0_8:
Lloh2:
	adrp	x20, _errno@GOTPAGE
Lloh3:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_strerror
	mov	x2, x0
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_pr_warning
	ldr	w8, [x20]
	neg	w21, w8
	b	LBB0_12
LBB0_9:
	mov	w24, #0
LBB0_10:
	mov	x0, x20
	bl	_ferror
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w21, w24, w8, eq
	ldr	x0, [sp, #8]
	bl	_free
	mov	x0, x20
	bl	_fclose
	cbnz	w21, LBB0_12
; %bb.11:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_pr_debug
LBB0_12:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to open %s: %s\n"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"No matched lines found in %s.\n"

	.no_dead_strip	_find_lazy_match_lines
.subsections_via_symbols
