	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_reachable_subset           ## -- Begin function get_reachable_subset
	.p2align	4, 0x90
_get_reachable_subset:                  ## @get_reachable_subset
	.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
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	$0, -80(%rbp)
	movq	_GENERATION_NUMBER_INFINITY@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_compare_commits_by_gen_then_commit_date@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	testl	%ecx, %ecx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	jle	LBB0_1
## %bb.9:
	movslq	%ecx, %rax
	leaq	(%rdx,%rax,8), %r14
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%rdx, %r12
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	addq	$8, %r12
	cmpq	%r14, %r12
	jae	LBB0_2
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rbx
	movq	%rbx, %rdi
	callq	_parse_commit
	movq	(%rbx), %rax
	cmpq	%r13, %rax
	cmovlq	%rax, %r13
	movl	8(%rbx), %eax
	movq	_PARENT1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	orl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	incl	-52(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_12
LBB0_1:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_2:
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.3:
	movslq	-56(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rax,8), %r12
	movq	_PARENT2@GOTPCREL(%rip), %r15
	leaq	-48(%rbp), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rbx
	cmpq	%r12, %rbx
	jae	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movl	8(%rdi), %eax
	movl	(%r15), %ecx
	testl	%eax, %ecx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	orl	%eax, %ecx
	movl	%ecx, 8(%rdi)
	callq	_parse_commit
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_prio_queue_put
	jmp	LBB0_6
LBB0_7:
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	je	LBB0_23
## %bb.8:
	movq	_PARENT2@GOTPCREL(%rip), %r12
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	testl	%r14d, %r14d
	je	LBB0_23
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	leaq	-48(%rbp), %rdi
	callq	_prio_queue_get
	testq	%rax, %rax
	je	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rax, %rbx
	movl	8(%rax), %eax
	movq	_PARENT1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	notl	%ecx
	andl	%ecx, %eax
	orl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	leaq	-80(%rbp), %rsi
	callq	_commit_list_insert
	decl	%r14d
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	16(%rbx), %r15
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	8(%r15), %r15
LBB0_18:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r15, %r15
	je	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	(%r15), %rbx
	movq	%rbx, %rdi
	callq	_parse_commit
	cmpq	%r13, (%rbx)
	jl	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	8(%rbx), %eax
	movl	(%r12), %ecx
	testl	%eax, %ecx
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=2
	orl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_prio_queue_put
	jmp	LBB0_22
LBB0_23:
	movq	_PARENT1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_clear_commit_marks_many
	movq	_PARENT2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_clear_commit_marks_many
	movq	-80(%rbp), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GENERATION_NUMBER_INFINITY,8,3 ## @GENERATION_NUMBER_INFINITY
	.comm	_compare_commits_by_gen_then_commit_date,4,2 ## @compare_commits_by_gen_then_commit_date
	.comm	_PARENT1,4,2                    ## @PARENT1
	.comm	_PARENT2,4,2                    ## @PARENT2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_reachable_subset           ; -- Begin function get_reachable_subset
	.p2align	2
_get_reachable_subset:                  ; @get_reachable_subset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x23, x4
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _GENERATION_NUMBER_INFINITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GENERATION_NUMBER_INFINITY@GOTPAGEOFF]
Lloh2:
	ldr	x25, [x8]
Lloh3:
	adrp	x8, _compare_commits_by_gen_then_commit_date@GOTPAGE
Lloh4:
	ldr	x8, [x8, _compare_commits_by_gen_then_commit_date@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	cmp	w3, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w26, #0
Lloh6:
	adrp	x27, _PARENT1@GOTPAGE
Lloh7:
	ldr	x27, [x27, _PARENT1@GOTPAGEOFF]
	mov	x28, x21
	add	x19, x21, w22, sxtw #3
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x28, x28, #8
	cmp	x28, x19
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x28]
	mov	x0, x24
	bl	_parse_commit
	ldr	x8, [x24]
	cmp	x8, x25
	csel	x25, x8, x25, lt
	ldr	w8, [x24, #8]
	ldr	w9, [x27]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	orr	w8, w9, w8
	str	w8, [x24, #8]
	add	w26, w26, #1
	b	LBB0_2
LBB0_5:
	mov	w26, #0
LBB0_6:
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.7:
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
	add	x19, x27, w20, sxtw #3
Lloh8:
	adrp	x24, _PARENT2@GOTPAGE
Lloh9:
	ldr	x24, [x24, _PARENT2@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x27, x27, #8
	cmp	x27, x19
	b.hs	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x27]
	ldr	w8, [x0, #8]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	orr	w8, w9, w8
	str	w8, [x0, #8]
	bl	_parse_commit
	ldr	x1, [x27]
	add	x0, sp, #16
	bl	_prio_queue_put
	b	LBB0_8
LBB0_11:
	cbz	w26, LBB0_22
; %bb.12:
Lloh10:
	adrp	x27, _PARENT1@GOTPAGE
Lloh11:
	ldr	x27, [x27, _PARENT1@GOTPAGEOFF]
Lloh12:
	adrp	x28, _PARENT2@GOTPAGE
Lloh13:
	ldr	x28, [x28, _PARENT2@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	w26, LBB0_22
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	add	x0, sp, #16
	bl	_prio_queue_get
	cbz	x0, LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x24, x0
	ldr	w8, [x0, #8]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	bic	w8, w8, w9
	orr	w8, w8, w23
	str	w8, [x24, #8]
	add	x1, sp, #24
	mov	x0, x24
	bl	_commit_list_insert
	sub	w26, w26, #1
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x19, [x24, #16]
	cbnz	x19, LBB0_19
	b	LBB0_13
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_13
LBB0_19:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x24, [x19]
	mov	x0, x24
	bl	_parse_commit
	ldr	x8, [x24]
	cmp	x8, x25
	b.lt	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	w8, [x24, #8]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=2
	orr	w8, w9, w8
	str	w8, [x24, #8]
	add	x0, sp, #16
	mov	x1, x24
	bl	_prio_queue_put
	b	LBB0_18
LBB0_22:
Lloh14:
	adrp	x8, _PARENT1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PARENT1@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x21
	bl	_clear_commit_marks_many
Lloh17:
	adrp	x8, _PARENT2@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PARENT2@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_clear_commit_marks_many
	ldr	x0, [sp, #24]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GENERATION_NUMBER_INFINITY,8,3 ; @GENERATION_NUMBER_INFINITY
	.comm	_compare_commits_by_gen_then_commit_date,4,2 ; @compare_commits_by_gen_then_commit_date
	.comm	_PARENT1,4,2                    ; @PARENT1
	.comm	_PARENT2,4,2                    ; @PARENT2
.subsections_via_symbols
