	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_worklist
_read_worklist:                         ## @read_worklist
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	callq	_fflush
	movq	_rworklist@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_rworklist@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_2:
	movl	$1, %ebx
	leaq	-56(%rbp), %r12
	leaq	-44(%rbp), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_rworklist@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_err
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi
	movq	-56(%rbp), %rsi
	movl	-44(%rbp), %edx
	callq	_new_lump
	subq	-56(%rbp), %r14
	incl	%ebx
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_fscanf
	cmpl	$3, %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_feof
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	movq	%r15, %rdi
	callq	_fclose
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_fprintf
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reading worklist ..."

	.comm	_rworklist,4,2                  ## @rworklist
L_.str.1:                               ## @.str.1
	.asciz	"r"

L_.str.2:                               ## @.str.2
	.asciz	"Error opening file %s"

L_.str.3:                               ## @.str.3
	.asciz	"%jd %jd %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"Error parsing file %s at line %d"

L_.str.5:                               ## @.str.5
	.asciz	" done.\n"

	.no_dead_strip	_read_worklist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_worklist
_read_worklist:                         ; @read_worklist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
Lloh0:
	adrp	x23, _stderr@GOTPAGE
Lloh1:
	ldr	x23, [x23, _stderr@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x23]
	bl	_fflush
Lloh4:
	adrp	x24, _rworklist@GOTPAGE
Lloh5:
	ldr	x24, [x24, _rworklist@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w2, [x24]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	mov	w25, #1
Lloh10:
	adrp	x21, l_.str.3@PAGE
Lloh11:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh12:
	adrp	x22, l_.str.4@PAGE
Lloh13:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x24]
	str	x25, [sp]
	mov	w0, #1
	mov	x1, x22
	bl	_err
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	x1, x0, [sp, #16]
	ldr	w2, [sp, #12]
	bl	_new_lump
	ldr	x8, [sp, #16]
	sub	x19, x19, x8
	add	w25, w25, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x21
	bl	_fscanf
	cmp	w0, #3
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_feof
	cbz	w0, LBB0_3
; %bb.7:
	mov	x0, x20
	bl	_fclose
	ldr	w0, [x23]
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reading worklist ..."

	.comm	_rworklist,4,2                  ; @rworklist
l_.str.1:                               ; @.str.1
	.asciz	"r"

l_.str.2:                               ; @.str.2
	.asciz	"Error opening file %s"

l_.str.3:                               ; @.str.3
	.asciz	"%jd %jd %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"Error parsing file %s at line %d"

l_.str.5:                               ; @.str.5
	.asciz	" done.\n"

	.no_dead_strip	_read_worklist
.subsections_via_symbols
