	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_reachable_list
_get_reachable_list:                    ## @get_reachable_list
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_GIT_MAX_HEXSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$2, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ebx
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	callq	_do_reachable_revlist
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	incl	%ebx
	movl	-56(%rbp), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_read_in_full
	cmpl	%ebx, %eax
	jne	LBB0_10
## %bb.3:
	leaq	-88(%rbp), %r12
	leaq	-80(%rbp), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-56(%rbp), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_read_in_full
	cmpl	%ebx, %eax
	jne	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_parse_oid_hex
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rax
	cmpb	$10, (%rax)
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_lookup_object
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %rcx
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_TMP_MARK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, 8(%rax)
	jmp	LBB0_9
LBB0_10:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_get_max_object_index
	testl	%eax, %eax
	jle	LBB0_17
## %bb.11:
	movl	%eax, %ebx
	incl	%ebx
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %r13
	movq	_TMP_MARK@GOTPCREL(%rip), %r14
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	decl	%ebx
	cmpl	$1, %ebx
	jbe	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %edi
	callq	_get_indexed_object
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %r12
	movq	(%rax), %rax
	cmpq	(%r13), %rax
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r14), %eax
	testl	%eax, 8(%r12)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_add_object_array
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, 8(%r12)
	jmp	LBB0_16
LBB0_17:
	movl	-56(%rbp), %edi
	callq	_close
	leaq	-56(%rbp), %rdi
	callq	_finish_command
	negq	%rax
	sbbl	%r15d, %r15d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_1:
	movl	$-1, %r15d
LBB0_18:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,4,2         ## @CHILD_PROCESS_INIT
	.comm	_GIT_MAX_HEXSZ,4,2              ## @GIT_MAX_HEXSZ
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
	.comm	_TMP_MARK,4,2                   ## @TMP_MARK
	.no_dead_strip	_get_reachable_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_reachable_list
_get_reachable_list:                    ; @get_reachable_list
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #32
	mov	x19, x1
	mov	x1, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stur	w8, [x29, #-80]
Lloh6:
	adrp	x8, _GIT_MAX_HEXSZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GIT_MAX_HEXSZ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w8, w8, #2
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh11:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh12:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	w21, [x8]
	sub	x0, x29, #80
	mov	x2, x19
	bl	_do_reachable_revlist
	tbnz	x0, #63, LBB0_17
; %bb.1:
	add	w21, w21, #1
	ldur	w0, [x29, #-80]
	mov	x1, x20
	mov	x2, x21
	bl	_read_in_full
Lloh14:
	adrp	x23, _OBJ_COMMIT@GOTPAGE
Lloh15:
	ldr	x23, [x23, _OBJ_COMMIT@GOTPAGEOFF]
Lloh16:
	adrp	x24, _TMP_MARK@GOTPAGE
Lloh17:
	ldr	x24, [x24, _TMP_MARK@GOTPAGEOFF]
	cmp	w0, w21
	b.ne	LBB0_9
; %bb.2:
Lloh18:
	adrp	x25, _the_repository@GOTPAGE
Lloh19:
	ldr	x25, [x25, _the_repository@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-80]
	mov	x1, x20
	mov	x2, x21
	bl	_read_in_full
	cmp	w0, w21
	b.ne	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x1, x29, #88
	sub	x2, x29, #96
	mov	x0, x20
	bl	_parse_oid_hex
	cbnz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x29, #-96]
	ldrb	w8, [x8]
	cmp	w8, #10
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	sub	x1, x29, #88
	bl	_lookup_object
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x0, #8]
	bic	w8, w9, w8
	str	w8, [x0, #8]
	b	LBB0_3
LBB0_9:
	bl	_get_max_object_index
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.10:
	add	w21, w0, #1
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	w21, w21, #1
	cmp	w21, #1
	b.ls	LBB0_16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sub	w0, w21, #2
	bl	_get_indexed_object
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x20, #8]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	bl	_add_object_array
	ldr	w8, [x24]
	ldr	w9, [x20, #8]
	bic	w8, w9, w8
	str	w8, [x20, #8]
	b	LBB0_11
LBB0_16:
	ldur	w0, [x29, #-80]
	bl	_close
	sub	x0, x29, #80
	bl	_finish_command
	cmp	x0, #0
	csetm	w0, ne
	b	LBB0_18
LBB0_17:
	mov	w0, #-1
LBB0_18:
	mov	sp, x22
	ldur	x8, [x29, #-72]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,4,2         ; @CHILD_PROCESS_INIT
	.comm	_GIT_MAX_HEXSZ,4,2              ; @GIT_MAX_HEXSZ
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
	.comm	_TMP_MARK,4,2                   ; @TMP_MARK
	.no_dead_strip	_get_reachable_list
.subsections_via_symbols
