	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reflog_expiry_prepare
_reflog_expiry_prepare:                 ## @reflog_expiry_prepare
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	cmpq	$0, 16(%rdx)
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	callq	_is_head
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	$0, 40(%r14)
	movq	_UE_HEAD@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	16(%r14), %rcx
	cmpq	24(%r14), %rcx
	jg	LBB0_8
## %bb.7:
	movq	_UE_ALWAYS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_8:
	movq	$0, 32(%r14)
	movq	$0, 48(%r14)
	movq	_UE_ALWAYS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	32(%r14), %r12
	movq	_UE_HEAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.10:
	leaq	48(%r14), %r15
	movq	_push_tip_to_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_for_each_ref
	movq	(%r15), %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	callq	_commit_list_insert
	movq	8(%rbx), %rbx
	jmp	LBB0_12
LBB0_13:
	movq	%r12, %rsi
	callq	_commit_list_insert
LBB0_14:
	movq	24(%r14), %rax
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mark_reachable                 ## TAILCALL
LBB0_3:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_lookup_commit_reference_gently
	movq	%rax, %rdi
	movq	%rax, 40(%r14)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_UE_ALWAYS@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_UE_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_UE_HEAD,8,3                    ## @UE_HEAD
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_UE_ALWAYS,8,3                  ## @UE_ALWAYS
	.comm	_UE_NORMAL,8,3                  ## @UE_NORMAL
	.comm	_push_tip_to_list,4,2           ## @push_tip_to_list
	.no_dead_strip	_reflog_expiry_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reflog_expiry_prepare
_reflog_expiry_prepare:                 ; @reflog_expiry_prepare
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	ldr	x8, [x2, #16]
Lloh0:
	adrp	x22, _UE_ALWAYS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _UE_ALWAYS@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x20, x1
	bl	_is_head
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, #0
	str	xzr, [x19, #40]
Lloh2:
	adrp	x8, _UE_HEAD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UE_HEAD@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _the_repository@GOTPAGE
Lloh5:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #1
	bl	_lookup_commit_reference_gently
	str	x0, [x19, #40]
Lloh7:
	adrp	x8, _UE_NORMAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UE_NORMAL@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x22, x8, eq
LBB0_4:
	ldr	x8, [x8]
	str	x8, [x19]
	ldp	x9, x10, [x19, #16]
	cmp	x9, x10
	b.gt	LBB0_6
; %bb.5:
	ldr	x8, [x22]
	str	x8, [x19]
LBB0_6:
	mov	x20, x19
	str	xzr, [x20, #32]!
	mov	x21, x20
	str	xzr, [x21, #16]!
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh9:
	adrp	x9, _UE_HEAD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UE_HEAD@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
Lloh12:
	adrp	x8, _push_tip_to_list@GOTPAGE
Lloh13:
	ldr	x8, [x8, _push_tip_to_list@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_for_each_ref
	ldr	x21, [x21]
	cbz	x21, LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	mov	x1, x20
	bl	_commit_list_insert
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_10
	b	LBB0_12
LBB0_11:
	mov	x1, x20
	bl	_commit_list_insert
LBB0_12:
	ldr	x8, [x19, #24]
	str	x8, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mark_reachable
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_UE_HEAD,8,3                    ; @UE_HEAD
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_UE_ALWAYS,8,3                  ; @UE_ALWAYS
	.comm	_UE_NORMAL,8,3                  ; @UE_NORMAL
	.comm	_push_tip_to_list,4,2           ; @push_tip_to_list
	.no_dead_strip	_reflog_expiry_prepare
.subsections_via_symbols
