	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_revision                   ## -- Begin function get_revision
	.p2align	4, 0x90
_get_revision:                          ## @get_revision
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 40(%rdi)
	je	LBB0_7
## %bb.1:
	movq	$0, -24(%rbp)
	movq	%rbx, %rdi
	callq	_get_revision_internal
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	-24(%rbp), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_commit_list_insert
	movq	%rbx, %rdi
	callq	_get_revision_internal
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	-24(%rbp), %rax
	jmp	LBB0_6
LBB0_7:
	cmpl	$0, (%rbx)
	jne	LBB0_8
## %bb.13:
	movq	%rbx, %rdi
	callq	_get_revision_internal
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	%rax, %r14
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.15:
	movq	%r14, %rsi
	callq	_graph_update
	jmp	LBB0_19
LBB0_2:
	xorl	%eax, %eax
LBB0_6:
	movq	%rax, 32(%rbx)
	movq	$0, 40(%rbx)
	movl	$1, (%rbx)
LBB0_8:
	leaq	32(%rbx), %rdi
	callq	_pop_commit
	movq	%rax, %r14
	cmpq	$0, 24(%rbx)
	je	LBB0_19
## %bb.9:
	testq	%r14, %r14
	je	LBB0_10
## %bb.11:
	movq	_TRACK_LINEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%r14)
	setne	%al
	movl	%eax, 4(%rbx)
	jmp	LBB0_19
LBB0_10:
	xorl	%eax, %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_19
LBB0_16:
	movq	%rbx, %rdi
	callq	_free_saved_parents
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_free_commit_list
	movq	$0, 8(%rbx)
LBB0_18:
	xorl	%r14d, %r14d
LBB0_19:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRACK_LINEAR,4,2               ## @TRACK_LINEAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_revision                   ; -- Begin function get_revision
	.p2align	2
_get_revision:                          ; @get_revision
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_4
; %bb.1:
	str	xzr, [sp, #8]
	mov	x0, x19
	bl	_get_revision_internal
	cbz	x0, LBB0_8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	bl	_commit_list_insert
	mov	x0, x19
	bl	_get_revision_internal
	cbnz	x0, LBB0_2
; %bb.3:
	ldr	x8, [sp, #8]
	b	LBB0_9
LBB0_4:
	ldr	w8, [x19]
	cbnz	w8, LBB0_10
; %bb.5:
	mov	x0, x19
	bl	_get_revision_internal
	cbz	x0, LBB0_15
; %bb.6:
	mov	x20, x0
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_14
; %bb.7:
	mov	x1, x20
	bl	_graph_update
	b	LBB0_14
LBB0_8:
	mov	x8, #0
LBB0_9:
	stp	x8, xzr, [x19, #32]
	mov	w8, #1
	str	w8, [x19]
LBB0_10:
	add	x0, x19, #32
	bl	_pop_commit
	mov	x20, x0
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_14
; %bb.11:
	cbz	x20, LBB0_13
; %bb.12:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _TRACK_LINEAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TRACK_LINEAR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19, #4]
	b	LBB0_14
LBB0_13:
	mov	w8, #0
	str	wzr, [x19, #4]
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_15:
	mov	x0, x19
	bl	_free_saved_parents
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_17
; %bb.16:
	bl	_free_commit_list
	mov	x20, #0
	str	xzr, [x19, #8]
	b	LBB0_14
LBB0_17:
	mov	x20, #0
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACK_LINEAR,4,2               ; @TRACK_LINEAR
.subsections_via_symbols
