	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function limit_to_ancestry
_limit_to_ancestry:                     ## @limit_to_ancestry
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	$0, -40(%rbp)
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	leaq	-40(%rbp), %r15
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_commit_list_insert
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_3:
	testq	%r14, %r14
	je	LBB0_6
## %bb.4:
	movq	_TMP_MARK@GOTPCREL(%rip), %rax
	movq	%r14, %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edx
	movq	(%rcx), %rsi
	orl	%edx, (%rsi)
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_5
LBB0_6:
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.7:
	xorl	%r10d, %r10d
	movq	_TMP_MARK@GOTPCREL(%rip), %r8
	movq	_UNINTERESTING@GOTPCREL(%rip), %r9
	movq	%rdi, %rdx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	(%rdx), %rax
	movl	(%rax), %r11d
	movl	(%r8), %ebx
	movl	(%r9), %esi
	orl	%ebx, %esi
	testl	%r11d, %esi
	je	LBB0_9
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_8
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	testl	%r10d, %r10d
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rdi, %rdx
	movl	$0, %r10d
	testq	%rdi, %rdi
	jne	LBB0_8
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi), %rcx
	testl	%ebx, (%rcx)
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	8(%rsi), %rsi
	testq	%rsi, %rsi
	jne	LBB0_12
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	orl	%r11d, %ebx
	movl	%ebx, (%rax)
	movl	$1, %r10d
	jmp	LBB0_14
LBB0_17:
	testq	%r12, %r12
	je	LBB0_23
## %bb.18:
	movq	_TMP_MARK@GOTPCREL(%rip), %rax
	movq	_UNINTERESTING@GOTPCREL(%rip), %rcx
	movq	%r12, %rdx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_22
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rsi
	movl	(%rsi), %ebx
	testl	%ebx, (%rax)
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	orl	(%rcx), %ebx
	movl	%ebx, (%rsi)
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %ecx
	notl	%ecx
	movq	(%r12), %rdx
	andl	%ecx, (%rdx)
	movq	8(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_22
LBB0_23:
	testq	%r14, %r14
	je	LBB0_26
## %bb.24:
	movq	_TMP_MARK@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %ecx
	notl	%ecx
	movq	(%r14), %rdx
	andl	%ecx, (%rdx)
	movq	8(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_25
LBB0_26:
	callq	_free_commit_list
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TMP_MARK,4,2                   ## @TMP_MARK
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.no_dead_strip	_limit_to_ancestry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function limit_to_ancestry
_limit_to_ancestry:                     ; @limit_to_ancestry
	.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
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x21, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	add	x1, sp, #8
	bl	_commit_list_insert
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_2
LBB0_3:
	cbz	x19, LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _TMP_MARK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TMP_MARK@GOTPAGEOFF]
	mov	x9, x19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	ldr	x11, [x9]
	ldr	w12, [x11]
	orr	w10, w12, w10
	str	w10, [x11]
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_5
LBB0_6:
	ldr	x0, [sp, #8]
Lloh2:
	adrp	x8, _UNINTERESTING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UNINTERESTING@GOTPAGEOFF]
	cbz	x0, LBB0_16
; %bb.7:
	mov	w10, #0
Lloh4:
	adrp	x9, _TMP_MARK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TMP_MARK@GOTPAGEOFF]
	mov	x11, x0
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x12, [x11]
	ldr	w13, [x12]
	ldr	w14, [x9]
	ldr	w15, [x8]
	orr	w15, w15, w14
	tst	w15, w13
	b.eq	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x11, [x11, #8]
	cbnz	x11, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	w10, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w10, #0
	mov	x11, x0
	cbnz	x0, LBB0_8
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x15, [x12, #8]
	cbz	x15, LBB0_9
LBB0_13:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x16, [x15]
	ldr	w16, [x16]
	tst	w16, w14
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	x15, [x15, #8]
	cbnz	x15, LBB0_13
	b	LBB0_9
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	orr	w10, w14, w13
	str	w10, [x12]
	mov	w10, #1
	b	LBB0_9
LBB0_16:
	cbz	x20, LBB0_22
; %bb.17:
Lloh6:
	adrp	x9, _TMP_MARK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TMP_MARK@GOTPAGEOFF]
	mov	x10, x20
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_21
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	ldr	w12, [x11]
	ldr	w13, [x9]
	tst	w13, w12
	b.ne	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w13, [x8]
	orr	w12, w13, w12
	str	w12, [x11]
	b	LBB0_18
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x9]
	ldr	x10, [x20]
	ldr	w11, [x10]
	bic	w8, w11, w8
	str	w8, [x10]
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_21
LBB0_22:
	cbz	x19, LBB0_25
; %bb.23:
Lloh8:
	adrp	x8, _TMP_MARK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TMP_MARK@GOTPAGEOFF]
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8]
	ldr	x10, [x19]
	ldr	w11, [x10]
	bic	w9, w11, w9
	str	w9, [x10]
	ldr	x19, [x19, #8]
	cbnz	x19, LBB0_24
LBB0_25:
	bl	_free_commit_list
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TMP_MARK,4,2                   ; @TMP_MARK
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.no_dead_strip	_limit_to_ancestry
.subsections_via_symbols
