	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_branch__repos_get_branch_by_id ## -- Begin function svn_branch__repos_get_branch_by_id
	.p2align	4, 0x90
_svn_branch__repos_get_branch_by_id:    ## @svn_branch__repos_get_branch_by_id
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	js	LBB0_4
## %bb.1:
	movq	(%rsi), %rax
	cmpq	%rbx, (%rax)
	jle	LBB0_4
## %bb.2:
	movq	%r8, %r12
	movq	%rcx, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_svn_branch__repos_get_revision
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_svn_branch__txn_get_branch_by_id
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_SVN_ERR_FS_NO_SUCH_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
LBB0_5:
	movq	_SVN_BRANCH__ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	movq	%rbx, %r8
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_FS_NO_SUCH_REVISION,4,2 ## @SVN_ERR_FS_NO_SUCH_REVISION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No such revision %ld"

	.comm	_SVN_BRANCH__ERR,4,2            ## @SVN_BRANCH__ERR
L_.str.1:                               ## @.str.1
	.asciz	"Branch %s not found in r%ld"

	.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__repos_get_branch_by_id ; -- Begin function svn_branch__repos_get_branch_by_id
	.p2align	2
_svn_branch__repos_get_branch_by_id:    ; @svn_branch__repos_get_branch_by_id
	.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	x19, x2
	tbnz	x2, #63, LBB0_4
; %bb.1:
	ldr	x8, [x1]
	ldr	x8, [x8]
	cmp	x8, x19
	b.le	LBB0_4
; %bb.2:
	mov	x22, x4
	mov	x20, x3
	mov	x21, x0
	mov	x0, x1
	mov	x1, x19
	bl	_svn_branch__repos_get_revision
	mov	x1, x20
	mov	x2, x22
	bl	_svn_branch__txn_get_branch_by_id
	str	x0, [x21]
	cbz	x0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _SVN_ERR_FS_NO_SUCH_REVISION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_FS_NO_SUCH_REVISION@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x20
	mov	x1, #0
	mov	x3, 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
	b	_svn_error_createf
LBB0_5:
Lloh8:
	adrp	x8, _SVN_BRANCH__ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SVN_BRANCH__ERR@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
	str	x19, [sp]
	mov	x0, x21
	mov	x1, #0
	mov	x3, x20
	bl	_svn_error_createf
LBB0_6:
	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
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_FS_NO_SUCH_REVISION,4,2 ; @SVN_ERR_FS_NO_SUCH_REVISION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No such revision %ld"

	.comm	_SVN_BRANCH__ERR,4,2            ; @SVN_BRANCH__ERR
l_.str.1:                               ; @.str.1
	.asciz	"Branch %s not found in r%ld"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
