	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_generation_numbers
_compute_generation_numbers:            ## @compute_generation_numbers
	.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	%rdi, %rbx
	movq	$0, -48(%rbp)
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	8(%rbx), %esi
	movl	%eax, %edi
	callq	_start_progress
	movl	%eax, (%rbx)
LBB0_2:
	cmpl	$0, 8(%rbx)
	jle	LBB0_17
## %bb.3:
	xorl	%r15d, %r15d
	movq	_GENERATION_NUMBER_INFINITY@GOTPCREL(%rip), %r12
	leaq	-48(%rbp), %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movslq	8(%rbx), %rax
	cmpq	%rax, %r15
	jge	LBB0_17
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_11 Depth 4
	movq	%r15, %r14
	movl	(%rbx), %edi
	incq	%r15
	movl	%r15d, %esi
	callq	_display_progress
	movq	16(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	movq	(%rdi), %rax
	cmpq	(%r12), %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_GENERATION_NUMBER_ZERO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_11 Depth 4
	movq	%r13, %rsi
	callq	_commit_list_insert
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_11 Depth 4
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=3
	movq	(%rax), %r14
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=3
	movq	(%r12), %rdx
	movq	_GENERATION_NUMBER_ZERO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ##       Parent Loop BB0_7 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	(%rax), %rdi
	movq	(%rdi), %rbx
	cmpq	%rdx, %rbx
	je	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=4
	cmpq	%rsi, %rbx
	je	LBB0_6
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=4
	cmpq	%rcx, %rbx
	cmovgq	%rbx, %rcx
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=3
	xorl	%ecx, %ecx
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=3
	incq	%rcx
	movq	%rcx, (%r14)
	movq	%r13, %rdi
	callq	_pop_commit
	movq	_GENERATION_NUMBER_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%r14)
	jle	LBB0_7
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=3
	movq	%rax, (%r14)
	jmp	LBB0_7
LBB0_17:
	movq	%rbx, %rdi
	callq	_stop_progress
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Computing commit graph generation numbers"

	.comm	_GENERATION_NUMBER_INFINITY,8,3 ## @GENERATION_NUMBER_INFINITY
	.comm	_GENERATION_NUMBER_ZERO,8,3     ## @GENERATION_NUMBER_ZERO
	.comm	_GENERATION_NUMBER_MAX,8,3      ## @GENERATION_NUMBER_MAX
	.no_dead_strip	_compute_generation_numbers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_generation_numbers
_compute_generation_numbers:            ; @compute_generation_numbers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	w1, [x19, #8]
	bl	_start_progress
	str	w0, [x19]
LBB0_2:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.3:
	mov	x20, #0
Lloh2:
	adrp	x21, _GENERATION_NUMBER_INFINITY@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GENERATION_NUMBER_INFINITY@GOTPAGEOFF]
Lloh4:
	adrp	x22, _GENERATION_NUMBER_ZERO@GOTPAGE
Lloh5:
	ldr	x22, [x22, _GENERATION_NUMBER_ZERO@GOTPAGEOFF]
Lloh6:
	adrp	x23, _GENERATION_NUMBER_MAX@GOTPAGE
Lloh7:
	ldr	x23, [x23, _GENERATION_NUMBER_MAX@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x8, [x19, #8]
	cmp	x20, x8
	b.ge	LBB0_15
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_7 Depth 3
                                        ;         Child Loop BB0_10 Depth 4
	mov	x24, x20
	ldr	w0, [x19]
	add	x20, x20, #1
	mov	x1, x20
	bl	_display_progress
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x24, lsl #3]
	ldr	x8, [x0]
	ldr	x9, [x21]
	ldr	x10, [x22]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_7 Depth 3
                                        ;         Child Loop BB0_10 Depth 4
	add	x1, sp, #8
	bl	_commit_list_insert
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_10 Depth 4
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	x24, [x8]
	ldr	x9, [x24, #8]
	cbz	x9, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=3
	mov	x8, #0
	ldr	x10, [x21]
	ldr	x11, [x22]
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ;       Parent Loop BB0_7 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	x0, [x9]
	ldr	x12, [x0]
	cmp	x12, x10
	ccmp	x12, x11, #4, ne
	b.eq	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=4
	cmp	x12, x8
	csel	x8, x12, x8, gt
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_10
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=3
	mov	x8, #0
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=3
	add	x8, x8, #1
	str	x8, [x24]
	add	x0, sp, #8
	bl	_pop_commit
	ldr	x9, [x24]
	ldr	x8, [x23]
	cmp	x9, x8
	b.le	LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=3
	str	x8, [x24]
	b	LBB0_7
LBB0_15:
	mov	x0, x19
	bl	_stop_progress
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Computing commit graph generation numbers"

	.comm	_GENERATION_NUMBER_INFINITY,8,3 ; @GENERATION_NUMBER_INFINITY
	.comm	_GENERATION_NUMBER_ZERO,8,3     ; @GENERATION_NUMBER_ZERO
	.comm	_GENERATION_NUMBER_MAX,8,3      ; @GENERATION_NUMBER_MAX
	.no_dead_strip	_compute_generation_numbers
.subsections_via_symbols
