	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_marks
_read_marks:                            ## @read_marks
	.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	$536, %rsp                      ## imm = 0x218
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_import_marks_file@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_import_marks_file_ignore_missing@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
LBB0_3:
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_die_errno
LBB0_4:
	leaq	-560(%rbp), %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_17
## %bb.5:
	leaq	-559(%rbp), %rbx
	leaq	-560(%rbp), %r15
	leaq	-576(%rbp), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%r13d, %edi
	movq	%rax, %rsi
	callq	_insert_mark
	movq	%r15, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_17
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_strchr
	movq	%rax, -576(%rbp)
	cmpb	$58, -560(%rbp)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testq	%rax, %rax
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_die
	movq	-576(%rbp), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, (%rax)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$10, %edx
	callq	_strtoumax
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-576(%rbp), %rdi
	cmpq	%rbx, %rdi
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$32, (%rdi)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%rdi
	leaq	-568(%rbp), %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_die
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	-568(%rbp), %rdi
	callq	_find_object
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-568(%rbp), %rsi
	xorl	%edx, %edx
	callq	_oid_object_info
	movq	%r12, %r15
	movq	%r14, %r12
	movl	%eax, %r14d
	leaq	-568(%rbp), %rdi
	callq	_insert_object
	movl	%r14d, (%rax)
	movq	%r12, %r14
	movq	%r15, %r12
	leaq	-560(%rbp), %r15
	movq	_MAX_PACK_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	$1, 4(%rax)
	jmp	LBB0_16
LBB0_17:
	movq	%r14, %rdi
	callq	_fclose
LBB0_18:
	movq	_import_marks_file_done@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	addq	$536, %rsp                      ## imm = 0x218
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_import_marks_file,4,2          ## @import_marks_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_import_marks_file_ignore_missing,8,3 ## @import_marks_file_ignore_missing
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"cannot read '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"corrupt mark line: %s"

	.comm	_the_repository,4,2             ## @the_repository
	.comm	_MAX_PACK_ID,4,2                ## @MAX_PACK_ID
	.comm	_import_marks_file_done,4,2     ## @import_marks_file_done
	.no_dead_strip	_read_marks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_marks
_read_marks:                            ; @read_marks
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #544
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x20, _import_marks_file@GOTPAGE
Lloh4:
	ldr	x20, [x20, _import_marks_file@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_4
; %bb.1:
Lloh7:
	adrp	x8, _import_marks_file_ignore_missing@GOTPAGE
Lloh8:
	ldr	x8, [x8, _import_marks_file_ignore_missing@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _ENOENT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_17
LBB0_3:
	ldr	w1, [x20]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die_errno
LBB0_4:
	add	x20, sp, #24
	add	x0, sp, #24
	mov	w1, #512
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_16
; %bb.5:
Lloh18:
	adrp	x24, _the_repository@GOTPAGE
Lloh19:
	ldr	x24, [x24, _the_repository@GOTPAGEOFF]
	add	x20, x20, #1
Lloh20:
	adrp	x25, _MAX_PACK_ID@GOTPAGE
Lloh21:
	ldr	x25, [x25, _MAX_PACK_ID@GOTPAGEOFF]
	mov	w26, #1
Lloh22:
	adrp	x21, l_.str.2@PAGE
Lloh23:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_insert_mark
	add	x0, sp, #24
	mov	w1, #512
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_16
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	mov	w1, #10
	bl	_strchr
	str	x0, [sp, #16]
	ldrb	w8, [sp, #24]
	cmp	w8, #58
	ccmp	x0, #0, #4, eq
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #24
	mov	x0, x21
	bl	_die
	ldr	x0, [sp, #16]
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	strb	wzr, [x0]
	add	x1, sp, #16
	mov	x0, x20
	mov	w2, #10
	bl	_strtoumax
	mov	x22, x0
	cbz	w0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #16]
	cmp	x8, x20
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w9, [x8]
	cmp	w9, #32
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x0, x8, #1
	add	x1, sp, #8
	bl	_get_oid_hex
	cbz	x0, LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #24
	mov	x0, x21
	bl	_die
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #8
	bl	_find_object
	mov	x1, x0
	cbnz	x0, LBB0_6
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x24]
	add	x1, sp, #8
	mov	x2, #0
	bl	_oid_object_info
	mov	x23, x0
	add	x0, sp, #8
	bl	_insert_object
	mov	x1, x0
	stp	w23, w26, [x0]
	ldr	w8, [x25]
	str	w8, [x0, #8]
	b	LBB0_6
LBB0_16:
	mov	x0, x19
	bl	_fclose
LBB0_17:
Lloh24:
	adrp	x8, _import_marks_file_done@GOTPAGE
Lloh25:
	ldr	x8, [x8, _import_marks_file_done@GOTPAGEOFF]
	mov	w9, #1
Lloh26:
	str	w9, [x8]
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	add	sp, sp, #544
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_import_marks_file,4,2          ; @import_marks_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_import_marks_file_ignore_missing,8,3 ; @import_marks_file_ignore_missing
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"cannot read '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"corrupt mark line: %s"

	.comm	_the_repository,4,2             ; @the_repository
	.comm	_MAX_PACK_ID,4,2                ; @MAX_PACK_ID
	.comm	_import_marks_file_done,4,2     ; @import_marks_file_done
	.no_dead_strip	_read_marks
.subsections_via_symbols
