	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpc_server_new
_rpc_server_new:                        ## @rpc_server_new
	.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
	movsd	%xmm1, -48(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movl	%esi, %r14d
	movl	%edi, %r15d
	movl	$48, %edi
	callq	_zzmalloc
	movq	%rax, %rbx
	movl	$48, %edi
	callq	_ADD_PMALLOC
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	%r15d, (%rbx)
	movw	%r14w, 4(%rbx)
	movq	_rpc_status_disconnected@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rbx)
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 16(%rbx)
	movabsq	$-4294967298, %rax              ## imm = 0xFFFFFFFEFFFFFFFE
	movq	%rax, 24(%rbx)
	movq	_RPC_SERVER_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_last_server_fd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	leal	1(%rax), %edx
	movl	%edx, (%rcx)
	movl	%eax, 32(%rbx)
	movq	_servers_size@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	cmpl	%esi, %eax
	jl	LBB0_2
## %bb.1:
	leal	(%rsi,%rsi), %r13d
	leal	(%rsi,%rsi), %eax
	addl	$100, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_servers@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	shll	$3, %esi
	leal	800(,%r13,8), %r14d
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %edx
	callq	_zzrealloc
	movq	%rax, (%r12)
	movl	(%r15), %edi
	shll	$3, %edi
	movl	%r14d, %esi
	callq	_ADD_PREALLOC
	movq	_server_fds@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movl	(%r15), %esi
	shll	$2, %esi
	leal	400(,%r13,4), %r14d
	movl	%r14d, %edx
	callq	_zzrealloc
	movq	%rax, (%r12)
	movl	(%r15), %edi
	shll	$2, %edi
	movl	%r14d, %esi
	callq	_ADD_PREALLOC
	movq	_server_fds_tmp@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movl	(%r15), %esi
	shll	$2, %esi
	movl	%r14d, %edx
	callq	_zzrealloc
	movq	%rax, (%r12)
	movl	(%r15), %edi
	shll	$2, %edi
	movl	%r14d, %esi
	callq	_ADD_PREALLOC
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r15)
	movl	32(%rbx), %eax
LBB0_2:
	movq	_servers@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	%rbx, (%rcx,%rax,8)
	movl	$-1, 36(%rbx)
	movq	%rbx, %rdi
	callq	_rpc_server_clean
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rpc_status_disconnected,4,2    ## @rpc_status_disconnected
	.comm	_RPC_SERVER_MAGIC,4,2           ## @RPC_SERVER_MAGIC
	.comm	_last_server_fd,4,2             ## @last_server_fd
	.comm	_servers_size,4,2               ## @servers_size
	.comm	_servers,8,3                    ## @servers
	.comm	_server_fds,8,3                 ## @server_fds
	.comm	_server_fds_tmp,8,3             ## @server_fds_tmp
	.no_dead_strip	_rpc_server_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpc_server_new
_rpc_server_new:                        ; @rpc_server_new
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	fmov	d8, d1
	fmov	d9, d0
	mov	x20, x1
	mov	x21, x0
	mov	w0, #48
	bl	_zzmalloc
	mov	x19, x0
	mov	w0, #48
	bl	_ADD_PMALLOC
	mov	x0, x19
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	str	w21, [x19]
	strh	w20, [x19, #4]
Lloh0:
	adrp	x8, _rpc_status_disconnected@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rpc_status_disconnected@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	d9, d8, [x19, #8]
	mvni.2s	v0, #1
	str	d0, [x19, #24]
Lloh3:
	adrp	x9, _RPC_SERVER_MAGIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RPC_SERVER_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
Lloh6:
	adrp	x9, _last_server_fd@GOTPAGE
Lloh7:
	ldr	x9, [x9, _last_server_fd@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w10, w8, #1
	str	w10, [x9]
	str	w8, [x19, #32]
Lloh8:
	adrp	x22, _servers_size@GOTPAGE
Lloh9:
	ldr	x22, [x22, _servers_size@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh10:
	adrp	x21, _servers@GOTPAGE
Lloh11:
	ldr	x21, [x21, _servers@GOTPAGEOFF]
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
	lsl	w8, w9, #1
	add	w23, w8, #100
	ldr	x0, [x21]
	lsl	w1, w9, #3
	lsl	w20, w23, #3
	mov	x2, x20
	bl	_zzrealloc
	str	x0, [x21]
	ldr	w8, [x22]
	lsl	w0, w8, #3
	mov	x1, x20
	bl	_ADD_PREALLOC
Lloh12:
	adrp	x24, _server_fds@GOTPAGE
Lloh13:
	ldr	x24, [x24, _server_fds@GOTPAGEOFF]
	ldr	x0, [x24]
	ldr	w8, [x22]
	lsl	w1, w8, #2
	lsl	w20, w23, #2
	mov	x2, x20
	bl	_zzrealloc
	str	x0, [x24]
	ldr	w8, [x22]
	lsl	w0, w8, #2
	mov	x1, x20
	bl	_ADD_PREALLOC
Lloh14:
	adrp	x24, _server_fds_tmp@GOTPAGE
Lloh15:
	ldr	x24, [x24, _server_fds_tmp@GOTPAGEOFF]
	ldr	x0, [x24]
	ldr	w8, [x22]
	lsl	w1, w8, #2
	mov	x2, x20
	bl	_zzrealloc
	str	x0, [x24]
	ldr	w8, [x22]
	lsl	w0, w8, #2
	mov	x1, x20
	bl	_ADD_PREALLOC
	str	w23, [x22]
	ldr	w8, [x19, #32]
LBB0_2:
	ldr	x9, [x21]
	str	x19, [x9, w8, sxtw #3]
	mov	w8, #-1
	str	w8, [x19, #36]
	mov	x0, x19
	bl	_rpc_server_clean
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_rpc_status_disconnected,4,2    ; @rpc_status_disconnected
	.comm	_RPC_SERVER_MAGIC,4,2           ; @RPC_SERVER_MAGIC
	.comm	_last_server_fd,4,2             ; @last_server_fd
	.comm	_servers_size,4,2               ; @servers_size
	.comm	_servers,8,3                    ; @servers
	.comm	_server_fds,8,3                 ; @server_fds
	.comm	_server_fds_tmp,8,3             ; @server_fds_tmp
	.no_dead_strip	_rpc_server_new
.subsections_via_symbols
