	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delayed_reachability_test      ## -- Begin function delayed_reachability_test
	.p2align	4, 0x90
_delayed_reachability_test:             ## @delayed_reachability_test
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movslq	%esi, %r12
	cmpq	$0, (%rax,%r12,8)
	je	LBB0_1
## %bb.2:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%rbx), %rax
	leaq	(,%r12,4), %rsi
	addq	(%rax), %rsi
	callq	_lookup_commit
	movq	%rax, %r14
	movl	16(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_4
## %bb.3:
	movl	20(%rbx), %esi
	jmp	LBB0_5
LBB0_1:
	movq	(%rbx), %rax
	movl	(%rax,%r12,4), %eax
	jmp	LBB0_6
LBB0_4:
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_add_ref@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_head_ref
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_for_each_ref
	movl	-44(%rbp), %edx
	movl	%edx, 16(%rbx)
	movl	-48(%rbp), %esi
	movl	%esi, 20(%rbx)
LBB0_5:
	movq	%r14, %rdi
	callq	_in_merge_bases_many
	movq	(%rbx), %rcx
	movl	%eax, (%rcx,%r12,4)
	movq	8(%rbx), %rcx
	movq	$0, (%rcx,%r12,8)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_add_ref,4,2                    ## @add_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delayed_reachability_test      ; -- Begin function delayed_reachability_test
	.p2align	2
_delayed_reachability_test:             ; @delayed_reachability_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	sxtw	x21, w1
	ldr	x8, [x8, w1, sxtw #3]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _the_repository@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	add	x1, x8, x21, lsl #2
	bl	_lookup_commit
	mov	x20, x0
	ldr	w2, [x19, #16]
	cbz	w2, LBB0_4
; %bb.2:
	ldr	w1, [x19, #20]
	b	LBB0_5
LBB0_3:
	ldr	x8, [x19]
	ldr	w0, [x8, x21, lsl #2]
	b	LBB0_6
LBB0_4:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh3:
	adrp	x22, _add_ref@GOTPAGE
Lloh4:
	ldr	x22, [x22, _add_ref@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x1, sp, #8
	bl	_head_ref
	ldr	w0, [x22]
	add	x1, sp, #8
	bl	_for_each_ref
	ldp	w1, w2, [sp, #8]
	stp	w2, w1, [x19, #16]
LBB0_5:
	mov	x0, x20
	bl	_in_merge_bases_many
	ldp	x8, x9, [x19]
	str	w0, [x8, x21, lsl #2]
	str	xzr, [x9, x21, lsl #3]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_add_ref,4,2                    ; @add_ref
.subsections_via_symbols
