	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function branch_finalize_eids
_branch_finalize_eids:                  ## @branch_finalize_eids
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	8(%rdi), %r15d
	callq	_branch_state_pool_get
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_branch_finalize_bid
	movl	%eax, 8(%rbx)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	cmpl	$-2, %ecx
	jg	LBB0_2
## %bb.1:
	movl	%r14d, %edx
	subl	%ecx, %edx
	movl	%edx, (%rax)
LBB0_2:
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_apr_hash_first
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %rbx
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_apr_hash_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_svn_eid__hash_this_key
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_apr_hash_this_val
	movq	%rax, %r12
	cmpl	$-2, %r13d
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	subl	%r13d, %r14d
	movq	(%r15), %rax
	movq	(%rax), %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_svn_element__tree_set
	movq	(%r15), %rax
	movq	(%rax), %rdi
	movl	%r14d, %esi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	%r12, %rdx
	callq	_svn_element__tree_set
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r12), %eax
	cmpl	$-2, %eax
	jg	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %ecx
	subl	%eax, %ecx
	movl	%ecx, (%r12)
	jmp	LBB0_8
LBB0_9:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_branch_finalize_eids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function branch_finalize_eids
_branch_finalize_eids:                  ; @branch_finalize_eids
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w22, [x0, #8]
	bl	_branch_state_pool_get
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	bl	_branch_finalize_bid
	str	w0, [x20, #8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmn	w9, #2
	b.gt	LBB0_2
; %bb.1:
	sub	w9, w19, w9
	str	w9, [x8]
LBB0_2:
	ldr	w1, [x8, #4]
	mov	x0, x21
	bl	_apr_hash_first
	cbz	x0, LBB0_9
; %bb.3:
	mov	x21, x0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_apr_hash_next
	mov	x21, x0
	cbz	x0, LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_svn_eid__hash_this_key
	mov	x23, x0
	mov	x0, x21
	bl	_apr_hash_this_val
	mov	x22, x0
	cmn	w23, #2
	b.gt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w24, w19, w23
	ldr	x8, [x20]
	ldr	x0, [x8]
	mov	x1, x23
	mov	x2, #0
	bl	_svn_element__tree_set
	ldr	x8, [x20]
	ldr	x0, [x8]
	mov	x1, x24
	mov	x2, x22
	bl	_svn_element__tree_set
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22]
	cmn	w8, #2
	b.gt	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w19, w8
	str	w8, [x22]
	b	LBB0_4
LBB0_9:
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_branch_finalize_eids
.subsections_via_symbols
