	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_branch__get_subbranch_at_eid ## -- Begin function svn_branch__get_subbranch_at_eid
	.p2align	4, 0x90
_svn_branch__get_subbranch_at_eid:      ## @svn_branch__get_subbranch_at_eid
	.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
	movq	%rcx, %rbx
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-40(%rbp), %rsi
	callq	_svn_branch__state_get_element
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_branch__get_id
	movq	%rax, %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_svn_branch__id_nest
	movl	(%r15), %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_svn_branch__txn_get_branch_by_id
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	movq	%rax, (%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_branch__get_subbranch_at_eid ; -- Begin function svn_branch__get_subbranch_at_eid
	.p2align	2
_svn_branch__get_subbranch_at_eid:      ; @svn_branch__get_subbranch_at_eid
	.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	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	add	x1, sp, #8
	bl	_svn_branch__state_get_element
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x20
	bl	_svn_branch__get_id
	mov	x1, x22
	mov	x2, x20
	bl	_svn_branch__id_nest
	mov	x1, x0
	ldr	w0, [x21]
	mov	x2, x20
	bl	_svn_branch__txn_get_branch_by_id
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	str	x0, [x19]
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
