	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_new_branch_info_and_source_tree
_setup_new_branch_info_and_source_tree: ## @setup_new_branch_info_and_source_tree
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rcx, (%rdi)
	callq	_setup_branch_path
	movq	16(%rbx), %rdi
	xorl	%esi, %esi
	callq	_check_refname_format
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	16(%rbx), %rdi
	leaq	-32(%rbp), %rsi
	callq	_read_ref
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	$0, 16(%rbx)
LBB0_4:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_lookup_commit_reference_gently
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %edi
	callq	_parse_commit_or_die
	movl	8(%rbx), %edi
	callq	_get_commit_tree
	jmp	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	callq	_parse_tree_indirect
LBB0_7:
	movq	%rax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_oidcpy
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_setup_new_branch_info_and_source_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_new_branch_info_and_source_tree
_setup_new_branch_info_and_source_tree: ; @setup_new_branch_info_and_source_tree
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	str	x3, [x0]
	bl	_setup_branch_path
	ldr	x0, [x20, #16]
	mov	w1, #0
	bl	_check_refname_format
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x20, #16]
	add	x1, sp, #8
	bl	_read_ref
	cbz	w0, LBB0_7
LBB0_2:
	str	xzr, [x20, #16]
LBB0_3:
Lloh0:
	adrp	x8, _the_repository@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	mov	w2, #1
	bl	_lookup_commit_reference_gently
	str	w0, [x20, #8]
	cbz	w0, LBB0_5
; %bb.4:
	bl	_parse_commit_or_die
	ldr	w0, [x20, #8]
	bl	_get_commit_tree
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	bl	_parse_tree_indirect
LBB0_6:
	str	x0, [x19]
	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
LBB0_7:
	add	x1, sp, #8
	mov	x0, x21
	bl	_oidcpy
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_setup_new_branch_info_and_source_tree
.subsections_via_symbols
