	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_ref_delta_children
_find_ref_delta_children:               ## @find_ref_delta_children
	.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	$24, %rsp
	.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, %r13
	movl	%ecx, %esi
	callq	_find_ref_delta
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_nr_ref_deltas@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	decl	%r12d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %ebx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	decq	%rbx
	movl	%ebx, %edi
	shlq	$2, %rdi
	movq	_ref_deltas@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	%r13, %rsi
	callq	_oideq
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:
	movl	%r12d, %eax
	incl	%ebx
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %eax
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_4:
	movl	%r12d, %eax
	xorl	%ebx, %ebx
LBB0_7:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movslq	%ecx, %r12
	cmpl	%eax, %ecx
	cmovgl	%ecx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cltq
	leaq	4(,%r12,4), %r15
	subq	%rax, %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %r12
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_ref_deltas@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r15, %rdi
	movq	%r13, %rsi
	callq	_oideq
	decq	%r14
	addq	$4, %r15
	testq	%rax, %rax
	jne	LBB0_8
## %bb.11:
	notl	%r14d
	addl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movl	%r14d, %eax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_9:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	-48(%rbp), %eax                 ## 4-byte Reload
LBB0_12:
	movl	%ebx, (%r15)
	movl	%eax, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nr_ref_deltas,4,2              ## @nr_ref_deltas
	.comm	_ref_deltas,8,3                 ## @ref_deltas
	.no_dead_strip	_find_ref_delta_children
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_ref_delta_children
_find_ref_delta_children:               ; @find_ref_delta_children
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x1, x3
	bl	_find_ref_delta
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x8, _nr_ref_deltas@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nr_ref_deltas@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w25, w8, #1
	mov	w24, w0
Lloh3:
	adrp	x23, _ref_deltas@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ref_deltas@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	subs	x24, x24, #1
	b.lt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	add	x0, x8, w24, uxtw #2
	mov	x1, x21
	bl	_oideq
	cbnz	x0, LBB0_2
; %bb.4:
	add	w24, w24, #1
	b	LBB0_7
LBB0_5:
	mov	w24, #0
	mov	w25, #-1
	b	LBB0_11
LBB0_6:
	mov	w24, #0
LBB0_7:
	sxtw	x8, w22
	cmp	w22, w25
	csel	w25, w22, w25, gt
	sxtw	x9, w25
	sub	w26, w22, #1
	sub	x27, x9, x8
	sbfiz	x8, x22, #2, #32
	add	x22, x8, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x27, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23]
	add	x0, x8, x22
	mov	x1, x21
	bl	_oideq
	add	w26, w26, #1
	sub	x27, x27, #1
	add	x22, x22, #4
	cbnz	x0, LBB0_8
; %bb.10:
	mov	x25, x26
LBB0_11:
	str	w24, [x20]
	str	w25, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_nr_ref_deltas,4,2              ; @nr_ref_deltas
	.comm	_ref_deltas,8,3                 ; @ref_deltas
	.no_dead_strip	_find_ref_delta_children
.subsections_via_symbols
