	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_revision_1
_get_revision_1:                        ## @get_revision_1
	.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
	leaq	12(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ADDED@GOTPCREL(%rip), %r13
	movq	_SEEN@GOTPCREL(%rip), %r15
	movq	_SHOWN@GOTPCREL(%rip), %r14
	jmp	LBB0_1
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%rbx), %rax
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_try_to_simplify_commit
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_simplify_commit
	cmpl	$128, %eax
	jne	LBB0_21
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_next_reflog_entry
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_next_topo_commit
	jmp	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_pop_commit
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_25
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %ecx
	orl	(%r13), %ecx
	orl	(%r14), %ecx
	notl	%ecx
	andl	%ecx, (%r12)
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 32(%rbx)
	jne	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, (%rbx)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_comparison_date
	cmpl	(%rbx), %eax
	jl	LBB0_1
	jmp	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_expand_topo_walk
	jmp	LBB0_20
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_process_parents
	testq	%rax, %rax
	jns	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 8(%rbx)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	4(%r12), %rdi
	callq	_oid_to_hex
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_die
	jmp	LBB0_20
LBB0_21:
	cmpl	$129, %eax
	jne	LBB0_23
## %bb.22:
	leaq	4(%r12), %rdi
	callq	_oid_to_hex
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_die
LBB0_23:
	cmpl	$0, 4(%rbx)
	je	LBB0_25
## %bb.24:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_track_linear
LBB0_25:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDED,4,2                      ## @ADDED
	.comm	_SEEN,4,2                       ## @SEEN
	.comm	_SHOWN,4,2                      ## @SHOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to traverse parents of commit %s"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to simplify parents of commit %s"

	.no_dead_strip	_get_revision_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_revision_1
_get_revision_1:                        ; @get_revision_1
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	add	x20, x0, #12
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x23, _ADDED@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ADDED@GOTPAGEOFF]
Lloh4:
	adrp	x24, _SEEN@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SEEN@GOTPAGEOFF]
Lloh6:
	adrp	x25, _SHOWN@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SHOWN@GOTPAGEOFF]
	b	LBB0_5
LBB0_1:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #24]
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x8, LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_try_to_simplify_commit
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_simplify_commit
	cmp	w0, #128
	b.ne	LBB0_20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_next_reflog_entry
	mov	x22, x0
	cbnz	x0, LBB0_10
	b	LBB0_24
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_next_topo_commit
	mov	x22, x0
	cbnz	x0, LBB0_10
	b	LBB0_24
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_pop_commit
	mov	x22, x0
	cbz	x0, LBB0_24
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x23]
	ldr	w10, [x24]
	orr	w9, w10, w9
	ldr	w10, [x25]
	orr	w9, w9, w10
	ldr	w10, [x22]
	bic	w9, w10, w9
	str	w9, [x22]
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x19, #32]
	cbnz	w9, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x19]
	cmn	w9, #1
	b.eq	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_comparison_date
	ldr	w8, [x19]
	cmp	w0, w8
	b.lt	LBB0_5
	b	LBB0_1
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_expand_topo_walk
	b	LBB0_4
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, #0
	bl	_process_parents
	tbz	x0, #63, LBB0_4
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_4
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x22, #4
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x21
	bl	_die
	b	LBB0_4
LBB0_20:
	cmp	w0, #129
	b.ne	LBB0_22
; %bb.21:
	add	x0, x22, #4
	bl	_oid_to_hex
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_22:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_24
; %bb.23:
	mov	x0, x19
	mov	x1, x22
	bl	_track_linear
LBB0_24:
	mov	x0, x22
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDED,4,2                      ; @ADDED
	.comm	_SEEN,4,2                       ; @SEEN
	.comm	_SHOWN,4,2                      ; @SHOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to traverse parents of commit %s"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to simplify parents of commit %s"

	.no_dead_strip	_get_revision_1
.subsections_via_symbols
