	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_execute_children_answer    ## -- Begin function rpc_execute_children_answer
	.p2align	4, 0x90
_rpc_execute_children_answer:           ## @rpc_execute_children_answer
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movl	(%rsi), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movslq	%ebx, %rax
	movslq	(%r14), %r8
	leaq	8(,%r8,4), %rcx
	cmpq	%rax, %rcx
	jne	LBB0_2
## %bb.1:
	movq	_CC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NODE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	$6, %edi
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_STATS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	(%rax)
	xorl	%eax, %eax
	callq	_clear_all_children_connections
	movl	(%r14), %eax
	movl	4(%r14), %edi
	movq	_MAX_CHILDREN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	%esi, %eax
	cmovll	%eax, %esi
	callq	_create_children_connections
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rpc_execute_children_answer: len = %d, children_num = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%p %lld %d\n"

	.comm	_CC,4,2                         ## @CC
	.comm	_NODE_ID,4,2                    ## @NODE_ID
	.comm	_STATS,8,3                      ## @STATS
	.comm	_MAX_CHILDREN,4,2               ## @MAX_CHILDREN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_execute_children_answer    ; -- Begin function rpc_execute_children_answer
	.p2align	2
_rpc_execute_children_answer:           ; @rpc_execute_children_answer
	.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	x20, x2
	mov	x19, x1
	ldr	w3, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	ldrsw	x8, [x19]
	lsl	x9, x8, #2
	add	x9, x9, #8
	cmp	x9, w20, sxtw
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x9, _CC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CC@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x9]
Lloh5:
	adrp	x9, _NODE_ID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NODE_ID@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x9]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #6
	bl	_vkprintf
Lloh10:
	adrp	x8, _STATS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _STATS@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	bl	_clear_all_children_connections
	ldp	w8, w0, [x19]
Lloh13:
	adrp	x9, _MAX_CHILDREN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MAX_CHILDREN@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w1, w8, w9, lt
	bl	_create_children_connections
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rpc_execute_children_answer: len = %d, children_num = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%p %lld %d\n"

	.comm	_CC,4,2                         ; @CC
	.comm	_NODE_ID,4,2                    ; @NODE_ID
	.comm	_STATS,8,3                      ; @STATS
	.comm	_MAX_CHILDREN,4,2               ; @MAX_CHILDREN
.subsections_via_symbols
