	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dwim_reverse_initial
_dwim_reverse_initial:                  ## @dwim_reverse_initial
	.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
	cmpl	$1, (%rdi)
	jne	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	8(%rax), %rsi
	movl	16(%rdi), %edi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_deref_tag
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	movq	_RESOLVE_REF_READING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_resolve_ref_unsafe
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movl	16(%r12), %edi
	leaq	-40(%rbp), %rsi
	movl	$1, %edx
	callq	_lookup_commit_reference_gently
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	_UNINTERESTING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%r15)
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_add_pending_object
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_6:
	movq	%r15, %rbx
	jmp	LBB0_8
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

	.comm	_RESOLVE_REF_READING,4,2        ## @RESOLVE_REF_READING
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.no_dead_strip	_dwim_reverse_initial
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dwim_reverse_initial
_dwim_reverse_initial:                  ; @dwim_reverse_initial
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x1, [x8, #8]
	ldr	w0, [x0, #16]
	mov	x2, #0
	mov	w3, #0
	bl	_deref_tag
	mov	x21, x0
	mov	x0, #0
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _OBJ_COMMIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OBJ_COMMIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.2:
Lloh3:
	adrp	x8, _RESOLVE_REF_READING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RESOLVE_REF_READING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x3, #0
	bl	_resolve_ref_unsafe
	cbz	w0, LBB0_7
; %bb.3:
	ldr	w0, [x20, #16]
	add	x1, sp, #8
	mov	w2, #1
	bl	_lookup_commit_reference_gently
	cbz	x0, LBB0_8
; %bb.4:
	mov	x1, x0
Lloh8:
	adrp	x8, _UNINTERESTING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UNINTERESTING@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x21, #8]
	orr	w8, w9, w8
	str	w8, [x21, #8]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_add_pending_object
	cbz	x19, LBB0_6
; %bb.5:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_6:
	mov	x0, x21
	b	LBB0_8
LBB0_7:
	mov	x0, #0
LBB0_8:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

	.comm	_RESOLVE_REF_READING,4,2        ; @RESOLVE_REF_READING
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.no_dead_strip	_dwim_reverse_initial
.subsections_via_symbols
