	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_tracking
_setup_tracking:                        ## @setup_tracking
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	movq	_BRANCH_CONFIG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r12, -48(%rbp)
	movq	_find_tracked_branch@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_for_each_remote
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:
	movl	-72(%rbp), %eax
	addl	$-128, %r13d
	cmpl	$3, %r13d
	jb	LBB0_5
## %bb.4:
	testl	%eax, %eax
	je	LBB0_9
LBB0_5:
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_die
LBB0_7:
	movl	-56(%rbp), %edx
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	cmovneq	%rax, %r12
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%r12, %rcx
	callq	_install_branch_config
	testq	%rax, %rax
	js	LBB0_10
## %bb.8:
	movq	-64(%rbp), %rdi
	callq	_free
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	$-1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_BRANCH_CONFIG_VERBOSE,4,2      ## @BRANCH_CONFIG_VERBOSE
	.comm	_find_tracked_branch,4,2        ## @find_tracked_branch
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not tracking: ambiguous information for ref %s"

	.no_dead_strip	_setup_tracking
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_tracking
_setup_tracking:                        ; @setup_tracking
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _BRANCH_CONFIG_VERBOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRANCH_CONFIG_VERBOSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w3, #0
	csel	w21, w8, wzr, eq
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	str	x20, [sp, #24]
Lloh3:
	adrp	x8, _find_tracked_branch@GOTPAGE
Lloh4:
	ldr	x8, [x8, _find_tracked_branch@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_for_each_remote
	cbnz	x0, LBB0_7
; %bb.1:
	ldr	w8, [sp]
	sub	w9, w22, #128
	cmp	w9, #3
	b.lo	LBB0_3
; %bb.2:
	cbz	w8, LBB0_7
LBB0_3:
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_die
LBB0_5:
	ldr	w2, [sp, #16]
	ldr	x8, [sp, #8]
	cmp	x8, #0
	csel	x3, x20, x8, eq
	mov	x0, x21
	mov	x1, x19
	bl	_install_branch_config
	tbnz	x0, #63, LBB0_8
; %bb.6:
	ldr	x0, [sp, #8]
	bl	_free
LBB0_7:
	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
	add	sp, sp, #80
	ret
LBB0_8:
	mov	w0, #-1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BRANCH_CONFIG_VERBOSE,4,2      ; @BRANCH_CONFIG_VERBOSE
	.comm	_find_tracked_branch,4,2        ; @find_tracked_branch
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not tracking: ambiguous information for ref %s"

	.no_dead_strip	_setup_tracking
.subsections_via_symbols
