	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_excludes_file             ## -- Begin function read_excludes_file
	.p2align	4, 0x90
_read_excludes_file:                    ## @read_excludes_file
	.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	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	callq	_err
LBB0_2:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_fgetln
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %rbx
	leaq	-48(%rbp), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, (%r15)
	movq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	movq	-48(%rbp), %rax
	movb	$0, (%r12,%rax)
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strchr
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 8(%r15)
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_excludes@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	callq	_LIST_INSERT_HEAD
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_fgetln
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi
	cmpb	$10, -1(%rbx,%rdi)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	decq	%rdi
	movq	%rdi, -48(%rbp)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_malloc
	movq	%rax, %r12
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %r15
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%r15, %r15
	jne	LBB0_10
	jmp	LBB0_9
LBB0_12:
	movq	%r13, %rdi
	callq	_fclose
	addq	$8, %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	"%s"

L_.str.2:                               ## @.str.2
	.asciz	"memory allocation error"

	.comm	_excludes,4,2                   ## @excludes
	.comm	_link,4,2                       ## @link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_excludes_file             ; -- Begin function read_excludes_file
	.p2align	2
_read_excludes_file:                    ; @read_excludes_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	bl	_err
LBB0_2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_fgetln
	cbz	x0, LBB0_11
; %bb.3:
	mov	x22, x0
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh6:
	adrp	x25, _link@GOTPAGE
Lloh7:
	ldr	x25, [x25, _link@GOTPAGEOFF]
Lloh8:
	adrp	x21, _excludes@GOTPAGE
Lloh9:
	ldr	x21, [x21, _excludes@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x24, [x23]
	ldr	x2, [sp, #8]
	mov	x0, x24
	mov	x1, x22
	bl	_memcpy
	ldr	x8, [sp, #8]
	strb	wzr, [x24, x8]
	mov	x0, x24
	mov	w1, #47
	bl	_strchr
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x23, #8]
	ldr	w2, [x25]
	mov	x0, x21
	mov	x1, x23
	bl	_LIST_INSERT_HEAD
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_fgetln
	mov	x22, x0
	cbz	x0, LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	sub	x9, x8, #1
	ldrb	w10, [x22, x9]
	cmp	w10, #10
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x9, [sp, #8]
	mov	x8, x9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbz	x8, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w0, w8, #1
	bl	_malloc
	mov	x24, x0
	mov	w0, #16
	bl	_malloc
	mov	x23, x0
	cmp	x24, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	mov	x1, x20
	bl	_errx
	b	LBB0_4
LBB0_11:
	mov	x0, x19
	bl	_fclose
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	"memory allocation error"

	.comm	_excludes,4,2                   ; @excludes
	.comm	_link,4,2                       ; @link
.subsections_via_symbols
