	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function import_marks
_import_marks:                          ## @import_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	$552, %rsp                      ## imm = 0x228
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	leaq	-584(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_stat
	testq	%rax, %rax
	jne	LBB0_22
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_xfopen
	movq	%rax, %r14
	leaq	-560(%rbp), %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_21
## %bb.3:
	leaq	-560(%rbp), %r15
	leaq	-568(%rbp), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_mark_object
	movq	_SHOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	%rbx, %r14
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_21
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_strchr
	movq	%rax, %rbx
	cmpb	$58, -560(%rbp)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_die
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movb	$0, (%rbx)
	leaq	-559(%rbp), %rdi
	leaq	-576(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoumax
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-576(%rbp), %rdi
	leaq	-559(%rbp), %rax
	cmpq	%rax, %rdi
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$32, (%rdi)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdi
	movq	%r12, %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_die
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_last_idnum@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_last_idnum@GOTPCREL(%rip), %rax
	movq	%r13, (%rax)
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_oid_object_info
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rbx
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_lookup_commit
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_oid_to_hex
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	callq	_die
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_SHOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_oid_to_hex
	leaq	L_.str.4(%rip), %rdi
	movq	%rax, %rsi
	callq	_error
	jmp	LBB0_19
LBB0_21:
	movq	%r14, %rdi
	callq	_fclose
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	addq	$552, %rsp                      ## imm = 0x228
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

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

	.comm	_last_idnum,8,3                 ## @last_idnum
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_OBJ_COMMIT,4,2                 ## @OBJ_COMMIT
L_.str.3:                               ## @.str.3
	.asciz	"not a commit? can't happen: %s"

	.comm	_SHOWN,4,2                      ## @SHOWN
L_.str.4:                               ## @.str.4
	.asciz	"Object %s already has a mark"

	.no_dead_strip	_import_marks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function import_marks
_import_marks:                          ; @import_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, #560
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	cbz	w1, LBB0_2
; %bb.1:
	add	x1, sp, #24
	mov	x0, x19
	bl	_stat
	cbnz	x0, LBB0_21
LBB0_2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_xfopen
	mov	x19, x0
	add	x20, sp, #32
	add	x0, sp, #32
	mov	w1, #512
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_20
; %bb.3:
	add	x20, x20, #1
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh7:
	adrp	x26, _last_idnum@GOTPAGE
Lloh8:
	ldr	x26, [x26, _last_idnum@GOTPAGEOFF]
Lloh9:
	adrp	x27, _the_repository@GOTPAGE
Lloh10:
	ldr	x27, [x27, _the_repository@GOTPAGEOFF]
Lloh11:
	adrp	x28, _OBJ_COMMIT@GOTPAGE
Lloh12:
	ldr	x28, [x28, _OBJ_COMMIT@GOTPAGEOFF]
Lloh13:
	adrp	x22, _SHOWN@GOTPAGE
Lloh14:
	ldr	x22, [x22, _SHOWN@GOTPAGEOFF]
Lloh15:
	adrp	x23, l_.str.4@PAGE
Lloh16:
	add	x23, x23, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	mov	x1, x24
	bl	_mark_object
	ldr	w8, [x22]
	ldr	w9, [x25]
	orr	w8, w9, w8
	str	w8, [x25]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #32
	mov	w1, #512
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #32
	mov	w1, #10
	bl	_strchr
	mov	x24, x0
	ldrb	w8, [sp, #32]
	cmp	w8, #58
	ccmp	x0, #0, #4, eq
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #32
	mov	x0, x21
	bl	_die
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	strb	wzr, [x24]
	add	x1, sp, #16
	mov	x0, x20
	mov	w2, #10
	bl	_strtoumax
	mov	x24, x0
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #16]
	cmp	x8, x20
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w9, [x8]
	cmp	w9, #32
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x8, #1
	add	x1, sp, #8
	bl	_get_oid_hex
	cbz	x0, LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #32
	mov	x0, x21
	bl	_die
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x26]
	cmp	x8, x24
	b.ge	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x24, [x26]
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x27]
	add	x1, sp, #8
	mov	x2, #0
	bl	_oid_object_info
	ldr	w8, [x28]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x27]
	add	x1, sp, #8
	bl	_lookup_commit
	mov	x25, x0
	cbnz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	bl	_oid_to_hex
	mov	x1, x0
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_die
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x23
	bl	_error
	b	LBB0_4
LBB0_20:
	mov	x0, x19
	bl	_fclose
LBB0_21:
	ldur	x8, [x29, #-96]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	add	sp, sp, #560
	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_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

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

	.comm	_last_idnum,8,3                 ; @last_idnum
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_OBJ_COMMIT,4,2                 ; @OBJ_COMMIT
l_.str.3:                               ; @.str.3
	.asciz	"not a commit? can't happen: %s"

	.comm	_SHOWN,4,2                      ; @SHOWN
l_.str.4:                               ; @.str.4
	.asciz	"Object %s already has a mark"

	.no_dead_strip	_import_marks
.subsections_via_symbols
