	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_external_node
_insert_external_node:                  ## @insert_external_node
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_INVALID_REPOS_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	100(%rbx), %edx
	movl	104(%rbx), %esi
	movl	4(%r12), %ecx
	leaq	-48(%rbp), %rdi
	movq	%r15, %r8
	callq	_create_repos_id
	movl	%eax, %edi
	callq	_SVN_ERR
	jmp	LBB0_3
LBB0_1:
	movq	%rax, -48(%rbp)
LBB0_3:
	subq	$112, %rsp
	movq	%r15, 96(%rsp)
	movq	%r15, 88(%rsp)
	movq	%r14, 80(%rsp)
	movq	%r12, 72(%rsp)
	leaq	-52(%rbp), %rax
	movq	%rax, 64(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rsp)
	movups	%xmm0, 32(%rsp)
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_svn_wc__db_base_get_info_internal
	addq	$112, %rsp
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%rax), %rcx
	movq	_SVN_ERR_WC_PATH_NOT_FOUND@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.9:
	movq	%rax, %rdi
	callq	_svn_error_clear
	jmp	LBB0_10
LBB0_6:
	movq	-64(%rbp), %rax
	movq	_svn_wc__db_status_normal@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	cmpl	$0, -52(%rbp)
	jne	LBB0_10
## %bb.8:
	movq	_SVN_ERR_WC_PATH_UNEXPECTED_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_svn_error_create
	jmp	LBB0_19
LBB0_10:
	movq	8(%rbx), %rax
	movq	_svn_node_file@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:
	movq	_svn_node_symlink@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.13:
	movl	4(%r12), %edi
	movl	40(%rbx), %esi
	movq	%r15, %rdx
	callq	_add_work_items
	jmp	LBB0_14
LBB0_5:
	movq	%rax, %rdi
	callq	_svn_error_trace
	jmp	LBB0_19
LBB0_12:
	leaq	-152(%rbp), %r13
	movq	%r13, %rdi
	callq	_blank_ibb
	movq	_svn_wc__db_status_normal@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	8(%rbx), %rax
	movq	%rax, -152(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -144(%rbp)
	movl	96(%rbx), %eax
	movl	%eax, -76(%rbp)
	movl	92(%rbx), %eax
	movl	%eax, -80(%rbp)
	movl	88(%rbx), %eax
	movl	%eax, -84(%rbp)
	movups	72(%rbx), %xmm0
	movups	%xmm0, -100(%rbp)
	movups	56(%rbx), %xmm0
	movups	%xmm0, -116(%rbp)
	movups	40(%rbx), %xmm0
	movups	%xmm0, -132(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -136(%rbp)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_insert_base_node
LBB0_14:
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	16(%rbx), %rax
	movq	_svn_wc__db_status_normal@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_svn_wc__db_status_excluded@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_SVN_ERR_ASSERT
	movl	4(%r12), %esi
	movq	_STMT_INSERT_EXTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-152(%rbp), %rdi
	callq	_svn_sqlite__get_statement
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-152(%rbp), %r13
	movl	(%r12), %r12d
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_svn_relpath_dirname
	movq	_presence_map@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_kind_map@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movl	36(%rbx), %r11d
	movl	32(%rbx), %r15d
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%r12d, %edx
	movq	%r14, %rcx
	movl	%eax, %r8d
	pushq	%r15
	pushq	-48(%rbp)
	pushq	%r11
	pushq	8(%rbx)
	pushq	%r10
	pushq	16(%rbx)
	callq	_svn_sqlite__bindf
	addq	$48, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	28(%rbx), %edi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	-152(%rbp), %rdi
	movl	28(%rbx), %edx
	movl	$9, %esi
	callq	_svn_sqlite__bind_revnum
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_16:
	movl	24(%rbx), %edi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	-152(%rbp), %rdi
	movl	24(%rbx), %edx
	movl	$10, %esi
	callq	_svn_sqlite__bind_revnum
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_18:
	movq	-152(%rbp), %rsi
	xorl	%edi, %edi
	callq	_svn_sqlite__insert
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_19:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INVALID_REPOS_ID,8,3           ## @INVALID_REPOS_ID
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,8,3  ## @SVN_ERR_WC_PATH_NOT_FOUND
	.comm	_svn_wc__db_status_normal,8,3   ## @svn_wc__db_status_normal
	.comm	_SVN_ERR_WC_PATH_UNEXPECTED_STATUS,4,2 ## @SVN_ERR_WC_PATH_UNEXPECTED_STATUS
	.comm	_svn_node_file,8,3              ## @svn_node_file
	.comm	_svn_node_symlink,8,3           ## @svn_node_symlink
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_svn_wc__db_status_excluded,8,3 ## @svn_wc__db_status_excluded
	.comm	_STMT_INSERT_EXTERNAL,4,2       ## @STMT_INSERT_EXTERNAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"issttsis"

	.comm	_presence_map,4,2               ## @presence_map
	.comm	_kind_map,4,2                   ## @kind_map
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_insert_external_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_external_node
_insert_external_node:                  ; @insert_external_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _INVALID_REPOS_ID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INVALID_REPOS_ID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldp	w2, w1, [x19, #100]
	ldr	w3, [x22, #4]
	sub	x0, x29, #72
	mov	x4, x21
	bl	_create_repos_id
	bl	_SVN_ERR
	b	LBB0_3
LBB0_2:
	stur	x8, [x29, #-72]
LBB0_3:
	stp	x21, x21, [sp, #72]
	stp	x22, x20, [sp, #56]
	sub	x8, x29, #60
	str	x8, [sp, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	sub	x0, x29, #56
	str	q0, [sp]
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_svn_wc__db_base_get_info_internal
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.5:
	bl	_svn_error_clear
	b	LBB0_7
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh6:
	adrp	x9, _svn_wc__db_status_normal@GOTPAGE
Lloh7:
	ldr	x9, [x9, _svn_wc__db_status_normal@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldur	w10, [x29, #-60]
	cmp	x8, x9
	ccmp	w10, #0, #0, eq
	b.eq	LBB0_17
LBB0_7:
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _svn_node_file@GOTPAGE
Lloh10:
	ldr	x9, [x9, _svn_node_file@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x23, _svn_wc__db_status_normal@GOTPAGE
Lloh13:
	ldr	x23, [x23, _svn_wc__db_status_normal@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.8:
Lloh14:
	adrp	x9, _svn_node_symlink@GOTPAGE
Lloh15:
	ldr	x9, [x9, _svn_node_symlink@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.9:
	ldr	w0, [x22, #4]
	ldr	w1, [x19, #40]
	mov	x2, x21
	bl	_add_work_items
	b	LBB0_12
LBB0_10:
	bl	_svn_error_trace
	b	LBB0_18
LBB0_11:
	add	x0, sp, #96
	bl	_blank_ibb
	ldr	x8, [x23]
	str	x8, [sp, #176]
	ldr	x8, [x19, #8]
	ldur	x9, [x29, #-72]
	stp	x8, x9, [sp, #96]
	ldr	w8, [x19, #96]
	str	w8, [sp, #172]
	ldr	d0, [x19, #88]
	stur	d0, [sp, #164]
	ldur	q0, [x19, #72]
	stur	q0, [sp, #148]
	ldur	q0, [x19, #56]
	stur	q0, [sp, #132]
	ldur	q0, [x19, #40]
	stur	q0, [sp, #116]
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [sp, #112]
	add	x0, sp, #96
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_insert_base_node
LBB0_12:
	bl	_SVN_ERR
	ldr	x8, [x19, #16]
	ldr	x9, [x23]
	cmp	x8, x9
Lloh20:
	adrp	x9, _svn_wc__db_status_excluded@GOTPAGE
Lloh21:
	ldr	x9, [x9, _svn_wc__db_status_excluded@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
	ldr	w1, [x22, #4]
Lloh23:
	adrp	x8, _STMT_INSERT_EXTERNAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _STMT_INSERT_EXTERNAL@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	add	x0, sp, #96
	bl	_svn_sqlite__get_statement
	bl	_SVN_ERR
	ldr	x23, [sp, #96]
	ldr	w22, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_svn_relpath_dirname
	mov	x4, x0
Lloh26:
	adrp	x8, _presence_map@GOTPAGE
Lloh27:
	ldr	x8, [x8, _presence_map@GOTPAGEOFF]
Lloh28:
	ldr	w5, [x8]
Lloh29:
	adrp	x8, _kind_map@GOTPAGE
Lloh30:
	ldr	x8, [x8, _kind_map@GOTPAGEOFF]
Lloh31:
	ldr	w7, [x8]
	ldp	x8, x6, [x19, #8]
	ldur	x9, [x29, #-72]
	ldp	w11, w10, [x19, #32]
	str	w11, [sp, #24]
	str	x9, [sp, #16]
	str	w10, [sp, #8]
	str	x8, [sp]
Lloh32:
	adrp	x1, l_.str@PAGE
Lloh33:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x22
	mov	x3, x20
	bl	_svn_sqlite__bindf
	bl	_SVN_ERR
	ldr	w0, [x19, #28]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_14
; %bb.13:
	ldr	x0, [sp, #96]
	ldr	w2, [x19, #28]
	mov	w1, #9
	bl	_svn_sqlite__bind_revnum
	bl	_SVN_ERR
LBB0_14:
	ldr	w0, [x19, #24]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_16
; %bb.15:
	ldr	x0, [sp, #96]
	ldr	w2, [x19, #24]
	mov	w1, #10
	bl	_svn_sqlite__bind_revnum
	bl	_SVN_ERR
LBB0_16:
	ldr	x1, [sp, #96]
	mov	x0, #0
	bl	_svn_sqlite__insert
	bl	_SVN_ERR
Lloh34:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh36:
	ldr	x0, [x8]
	b	LBB0_18
LBB0_17:
Lloh37:
	adrp	x8, _SVN_ERR_WC_PATH_UNEXPECTED_STATUS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SVN_ERR_WC_PATH_UNEXPECTED_STATUS@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	mov	x1, #0
	mov	x2, #0
	bl	_svn_error_create
LBB0_18:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_INVALID_REPOS_ID,8,3           ; @INVALID_REPOS_ID
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,8,3  ; @SVN_ERR_WC_PATH_NOT_FOUND
	.comm	_svn_wc__db_status_normal,8,3   ; @svn_wc__db_status_normal
	.comm	_SVN_ERR_WC_PATH_UNEXPECTED_STATUS,4,2 ; @SVN_ERR_WC_PATH_UNEXPECTED_STATUS
	.comm	_svn_node_file,8,3              ; @svn_node_file
	.comm	_svn_node_symlink,8,3           ; @svn_node_symlink
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_svn_wc__db_status_excluded,8,3 ; @svn_wc__db_status_excluded
	.comm	_STMT_INSERT_EXTERNAL,4,2       ; @STMT_INSERT_EXTERNAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"issttsis"

	.comm	_presence_map,4,2               ; @presence_map
	.comm	_kind_map,4,2                   ; @kind_map
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_insert_external_node
.subsections_via_symbols
