	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dag_node_cache_set
_dag_node_cache_set:                    ## @dag_node_cache_set
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	16(%rdi), %r13
	movl	16(%r13), %edi
	callq	_apr_hash_count
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpb	$47, (%r15)
	sete	%dil
	callq	_assert
	cmpl	%ebx, (%r13)
	setle	%al
	movq	_NODE_CACHE_MAX_KEYS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	movq	%rcx, %rbx
	setle	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	cmpq	$0, 8(%r12)
	jne	LBB0_7
## %bb.1:
	movl	16(%r13), %edi
	movq	%r15, %rsi
	callq	_svn_hash_gets
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_SVN_ERR_MALFUNCTION_NO_RETURN
LBB0_3:
	movl	16(%r13), %edi
	callq	_apr_hash_count
	cmpl	(%rbx), %eax
	jne	LBB0_5
## %bb.4:
	movq	8(%r13), %rax
	movslq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rbx
	movl	16(%r13), %edi
	movq	%rbx, %rsi
	callq	_svn_hash_gets
	movq	%rax, %r12
	movl	16(%r13), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_svn_hash_sets
	movq	8(%r12), %r12
	movq	%r12, %rdi
	callq	_svn_pool_clear
	jmp	LBB0_6
LBB0_5:
	movl	(%r12), %edi
	callq	_svn_pool_create
	movq	%rax, %r12
LBB0_6:
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_apr_palloc
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_svn_fs_base__dag_dup
	movq	%rax, 16(%rbx)
	movl	(%r13), %eax
	movl	%eax, (%rbx)
	movq	%r12, 8(%rbx)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_apr_pstrdup
	movq	%rax, %r14
	movl	16(%r13), %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_svn_hash_sets
	movq	8(%r13), %rax
	movslq	(%r13), %rcx
	movq	%r14, (%rax,%rcx,8)
	leal	1(%rcx), %eax
	cltd
	movq	_NODE_CACHE_MAX_KEYS@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%edx, (%r13)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NODE_CACHE_MAX_KEYS,4,2        ## @NODE_CACHE_MAX_KEYS
	.no_dead_strip	_dag_node_cache_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dag_node_cache_set
_dag_node_cache_set:                    ; @dag_node_cache_set
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x23, [x0, #16]
	ldr	w0, [x23, #16]
	bl	_apr_hash_count
	mov	x22, x0
	ldrb	w8, [x19]
	cmp	w8, #47
	cset	w0, eq
	bl	_assert
	ldr	w8, [x23]
	cmp	w8, w22
Lloh0:
	adrp	x24, _NODE_CACHE_MAX_KEYS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NODE_CACHE_MAX_KEYS@GOTPAGEOFF]
	ldr	w8, [x24]
	ccmp	w22, w8, #0, le
	cset	w0, le
	bl	_assert
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_7
; %bb.1:
	ldr	w0, [x23, #16]
	mov	x1, x19
	bl	_svn_hash_gets
	cbz	x0, LBB0_3
; %bb.2:
	bl	_SVN_ERR_MALFUNCTION_NO_RETURN
LBB0_3:
	ldr	w0, [x23, #16]
	bl	_apr_hash_count
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x23, #8]
	ldrsw	x9, [x23]
	ldr	x21, [x8, x9, lsl #3]
	ldr	w0, [x23, #16]
	mov	x1, x21
	bl	_svn_hash_gets
	mov	x22, x0
	ldr	w0, [x23, #16]
	mov	x1, x21
	mov	x2, #0
	bl	_svn_hash_sets
	ldr	x21, [x22, #8]
	mov	x0, x21
	bl	_svn_pool_clear
	b	LBB0_6
LBB0_5:
	ldr	w0, [x21]
	bl	_svn_pool_create
	mov	x21, x0
LBB0_6:
	mov	x0, x21
	mov	w1, #24
	bl	_apr_palloc
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_svn_fs_base__dag_dup
	ldr	w8, [x23]
	str	w8, [x22]
	stp	x21, x0, [x22, #8]
	mov	x0, x21
	mov	x1, x19
	bl	_apr_pstrdup
	mov	x19, x0
	ldr	w0, [x23, #16]
	mov	x1, x19
	mov	x2, x22
	bl	_svn_hash_sets
	ldr	x8, [x23, #8]
	ldrsw	x9, [x23]
	str	x19, [x8, x9, lsl #3]
	add	w8, w9, #1
	ldr	w9, [x24]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	str	w8, [x23]
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NODE_CACHE_MAX_KEYS,4,2        ; @NODE_CACHE_MAX_KEYS
	.no_dead_strip	_dag_node_cache_set
.subsections_via_symbols
