	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_object_list_from_stdin
_read_object_list_from_stdin:           ## @read_object_list_from_stdin
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_GIT_MAX_HEXSZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_PATH_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %r14
	addq	$3, %r14
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, %r15
	incq	%r15
	movq	_stdin@GOTPCREL(%rip), %r13
	leaq	-64(%rbp), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	callq	_clearerr
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_fgets
	testl	%eax, %eax
	je	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$45, (%rbx)
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movslq	%eax, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_add_preferred_base
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	callq	_feof
	testq	%rax, %rax
	jne	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	callq	_ferror
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_die_errno
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	leaq	-56(%rbp), %rdx
	callq	_parse_oid_hex
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movslq	%eax, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi
	incq	%rdi
	callq	_add_preferred_base_object
	movq	_OBJ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdx
	incq	%rdx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_add_object_entry
	jmp	LBB0_1
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GIT_MAX_HEXSZ,4,2              ## @GIT_MAX_HEXSZ
	.comm	_PATH_MAX,8,3                   ## @PATH_MAX
	.comm	_stdin,4,2                      ## @stdin
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG: fgets returned NULL, not EOF, not error!"

	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
L_.str.1:                               ## @.str.1
	.asciz	"fgets"

L_.str.2:                               ## @.str.2
	.asciz	"expected edge object ID, got garbage:\n %s"

L_.str.3:                               ## @.str.3
	.asciz	"expected object ID, got garbage:\n %s"

	.comm	_OBJ_NONE,4,2                   ## @OBJ_NONE
	.no_dead_strip	_read_object_list_from_stdin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_object_list_from_stdin
_read_object_list_from_stdin:           ; @read_object_list_from_stdin
	.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, #32
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	x8, _GIT_MAX_HEXSZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GIT_MAX_HEXSZ@GOTPAGEOFF]
Lloh5:
	adrp	x9, _PATH_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PATH_MAX@GOTPAGEOFF]
Lloh7:
	ldrsw	x8, [x8]
Lloh8:
	ldr	x9, [x9]
	add	x8, x8, x9
	add	x19, x8, #3
	add	x8, x8, #18
	and	x8, x8, #0xfffffffffffffff0
	mov	x9, x19
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x20, x9, x8
	mov	sp, x20
	add	x21, x20, #1
Lloh11:
	adrp	x26, _stdin@GOTPAGE
Lloh12:
	ldr	x26, [x26, _stdin@GOTPAGEOFF]
Lloh13:
	adrp	x27, _errno@GOTPAGE
Lloh14:
	ldr	x27, [x27, _errno@GOTPAGEOFF]
Lloh15:
	adrp	x28, _EINTR@GOTPAGE
Lloh16:
	ldr	x28, [x28, _EINTR@GOTPAGEOFF]
Lloh17:
	adrp	x23, l_.str.1@PAGE
Lloh18:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh19:
	adrp	x24, l_.str.2@PAGE
Lloh20:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh21:
	adrp	x22, _OBJ_NONE@GOTPAGE
Lloh22:
	ldr	x22, [x22, _OBJ_NONE@GOTPAGEOFF]
Lloh23:
	adrp	x25, l_.str.3@PAGE
Lloh24:
	add	x25, x25, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
	bl	_clearerr
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x26]
	mov	x0, x20
	mov	x1, x19
	bl	_fgets
	cbz	w0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x20]
	sub	x1, x29, #96
	cmp	w8, #45
	b.ne	LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_get_oid_hex
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x24
	bl	__
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	str	x20, [sp, #-16]!
	bl	_die
	add	sp, sp, #16
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	x0, x29, #96
	bl	_add_preferred_base
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
	bl	_feof
	cbnz	x0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
	bl	_ferror
	cbnz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldr	x9, [x28]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_die_errno
	b	LBB0_1
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x2, x29, #104
	mov	x0, x20
	bl	_parse_oid_hex
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	bl	__
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	str	x20, [sp, #-16]!
	bl	_die
	add	sp, sp, #16
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	x8, [x29, #-104]
	add	x0, x8, #1
	bl	_add_preferred_base_object
	ldr	w1, [x22]
	ldur	x8, [x29, #-104]
	add	x2, x8, #1
	sub	x0, x29, #96
	mov	w3, #0
	bl	_add_object_entry
	b	LBB0_2
LBB0_15:
	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_17
; %bb.16:
	sub	sp, x29, #80
	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_17:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_GIT_MAX_HEXSZ,4,2              ; @GIT_MAX_HEXSZ
	.comm	_PATH_MAX,8,3                   ; @PATH_MAX
	.comm	_stdin,4,2                      ; @stdin
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG: fgets returned NULL, not EOF, not error!"

	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
l_.str.1:                               ; @.str.1
	.asciz	"fgets"

l_.str.2:                               ; @.str.2
	.asciz	"expected edge object ID, got garbage:\n %s"

l_.str.3:                               ; @.str.3
	.asciz	"expected object ID, got garbage:\n %s"

	.comm	_OBJ_NONE,4,2                   ; @OBJ_NONE
	.no_dead_strip	_read_object_list_from_stdin
.subsections_via_symbols
