	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function branch_finalize_bid
_branch_finalize_bid:                   ## @branch_finalize_bid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %rdx
	leaq	-32(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	movq	%r14, %rcx
	callq	_svn_branch__id_unnest
	movq	-32(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_branch_finalize_bid
	movq	%rax, %rdi
	movq	%rax, -32(%rbp)
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	movl	-20(%rbp), %esi
	cmpl	$-2, %esi
	jg	LBB0_5
## %bb.4:
	subl	%esi, %ebx
	movl	%ebx, -20(%rbp)
	movl	%ebx, %esi
LBB0_5:
	movq	%r14, %rdx
	callq	_svn_branch__id_nest
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_branch_finalize_bid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function branch_finalize_bid
_branch_finalize_bid:                   ; @branch_finalize_bid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x2, x0
	add	x0, sp, #8
	add	x1, sp, #4
	mov	x3, x19
	bl	_svn_branch__id_unnest
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x20
	mov	x2, x19
	bl	_branch_finalize_bid
	str	x0, [sp, #8]
LBB0_2:
	ldr	w1, [sp, #4]
	cmn	w1, #2
	b.gt	LBB0_4
; %bb.3:
	sub	w1, w20, w1
	str	w1, [sp, #4]
LBB0_4:
	mov	x2, x19
	bl	_svn_branch__id_nest
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_branch_finalize_bid
.subsections_via_symbols
