	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_wc__db_util_fetch_wc_id    ## -- Begin function svn_wc__db_util_fetch_wc_id
	.p2align	4, 0x90
_svn_wc__db_util_fetch_wc_id:           ## @svn_wc__db_util_fetch_wc_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_STMT_SELECT_WCROOT_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rdi
	callq	_svn_sqlite__get_statement
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-24(%rbp), %rsi
	leaq	-28(%rbp), %rdi
	callq	_svn_sqlite__step
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpl	$0, -28(%rbp)
	je	LBB0_1
## %bb.2:
	movq	-24(%rbp), %rdi
	xorl	%esi, %esi
	callq	_svn_sqlite__column_is_null
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_SVN_ERR_ASSERT
	movq	-24(%rbp), %rdi
	xorl	%esi, %esi
	callq	_svn_sqlite__column_int64
	movl	%eax, (%rbx)
	movq	-24(%rbp), %rdi
	callq	_svn_sqlite__reset
	movl	%eax, %edi
	callq	_svn_error_trace
	jmp	LBB0_3
LBB0_1:
	movq	_SVN_ERR_WC_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-24(%rbp), %rdi
	callq	_svn_sqlite__reset
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_svn_error_createf
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STMT_SELECT_WCROOT_NULL,4,2    ## @STMT_SELECT_WCROOT_NULL
	.comm	_SVN_ERR_WC_CORRUPT,4,2         ## @SVN_ERR_WC_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missing a row in WCROOT."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_wc__db_util_fetch_wc_id    ; -- Begin function svn_wc__db_util_fetch_wc_id
	.p2align	2
_svn_wc__db_util_fetch_wc_id:           ; @svn_wc__db_util_fetch_wc_id
	.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, x0
Lloh0:
	adrp	x8, _STMT_SELECT_WCROOT_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMT_SELECT_WCROOT_NULL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_svn_sqlite__get_statement
	bl	_SVN_ERR
	ldr	x1, [sp, #8]
	add	x0, sp, #4
	bl	_svn_sqlite__step
	bl	_SVN_ERR
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
	mov	w1, #0
	bl	_svn_sqlite__column_is_null
	cmp	w0, #0
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
	ldr	x0, [sp, #8]
	mov	w1, #0
	bl	_svn_sqlite__column_int64
	str	w0, [x19]
	ldr	x0, [sp, #8]
	bl	_svn_sqlite__reset
	bl	_svn_error_trace
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _SVN_ERR_WC_CORRUPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_WC_CORRUPT@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	ldr	x0, [sp, #8]
	bl	_svn_sqlite__reset
	mov	x20, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_svn_error_createf
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_STMT_SELECT_WCROOT_NULL,4,2    ; @STMT_SELECT_WCROOT_NULL
	.comm	_SVN_ERR_WC_CORRUPT,4,2         ; @SVN_ERR_WC_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missing a row in WCROOT."

.subsections_via_symbols
