	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ensure_node_in_array
_ensure_node_in_array:                  ## @ensure_node_in_array
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	$4, %esi
	movl	$16, %edx
	callq	_apr_array_make
	movq	%rax, %rdi
	movq	%rax, (%rbx)
LBB0_2:
	movl	(%rdi), %eax
	movl	%eax, -28(%rbp)
	movq	_compare_node_rule_segment@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-28(%rbp), %rdx
	movq	%r15, %rsi
	callq	_svn_sort__array_lookup
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%rax), %rax
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_create_node
	movq	%rax, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	(%rbx), %rdi
	movl	-28(%rbp), %edx
	leaq	-48(%rbp), %rsi
	callq	_svn_sort__array_insert
	movq	-48(%rbp), %rax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_compare_node_rule_segment,4,2  ## @compare_node_rule_segment
	.no_dead_strip	_ensure_node_in_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ensure_node_in_array
_ensure_node_in_array:                  ; @ensure_node_in_array
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0]
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #4
	mov	w2, #16
	bl	_apr_array_make
	str	x0, [x19]
LBB0_2:
	ldr	w8, [x0]
	str	w8, [sp, #28]
Lloh0:
	adrp	x8, _compare_node_rule_segment@GOTPAGE
Lloh1:
	ldr	x8, [x8, _compare_node_rule_segment@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x2, sp, #28
	mov	x1, x21
	bl	_svn_sort__array_lookup
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x0]
	b	LBB0_5
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	bl	_create_node
	stp	x0, xzr, [sp, #8]
	ldr	x0, [x19]
	ldr	w2, [sp, #28]
	add	x1, sp, #8
	bl	_svn_sort__array_insert
	ldr	x0, [sp, #8]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_compare_node_rule_segment,4,2  ; @compare_node_rule_segment
	.no_dead_strip	_ensure_node_in_array
.subsections_via_symbols
