	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ds_init_ep
_ds_init_ep:                            ## @ds_init_ep
	.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	%rdi, %r14
	callq	_ds_set_qp_size
	movl	(%r14), %r15d
	movq	_RS_SNDLOWAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_calloc
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %rbx
	movl	4(%r14), %r13d
	leal	1(%r13), %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, 40(%r14)
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movl	%r15d, 8(%r14)
	movl	%r13d, 12(%r14)
	movq	%rbx, 24(%r14)
	cmpl	$2, %r15d
	jl	LBB0_9
## %bb.3:
	movslq	%r12d, %rax
	leal	-2(%r15), %edx
	decl	%r15d
	movl	%r15d, %ecx
	andl	$7, %ecx
	cmpl	$7, %edx
	jae	LBB0_5
## %bb.4:
	movq	%rbx, %rdx
	jmp	LBB0_7
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
LBB0_5:
	andl	$-8, %r15d
	leaq	(%rax,%rax), %r9
	leaq	(%rax,%rax,2), %r10
	leaq	(,%rax,4), %r8
	leaq	(%rax,%rax,4), %r12
	leaq	(%r9,%r9,2), %r13
	leaq	(,%rax,8), %r11
	movq	%r11, %rsi
	subq	%rax, %rsi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%rax), %rdx
	movq	%rdx, (%rbx)
	addq	%rax, %rdx
	leaq	(%rbx,%r9), %rdi
	movq	%rdi, (%rbx,%rax)
	addq	%rax, %rdx
	leaq	(%rbx,%r10), %rdi
	movq	%rdi, (%rbx,%rax,2)
	addq	%rax, %rdx
	leaq	(%rbx,%r8), %rdi
	movq	%rdi, (%rbx,%r10)
	addq	%rax, %rdx
	leaq	(%rbx,%r12), %rdi
	movq	%rdi, (%rbx,%rax,4)
	addq	%rax, %rdx
	leaq	(%rbx,%r13), %rdi
	movq	%rdi, (%rbx,%r12)
	addq	%rax, %rdx
	leaq	(%rbx,%rsi), %rdi
	movq	%rdi, (%rbx,%r13)
	addq	%rax, %rdx
	leaq	(%rbx,%r11), %rdi
	movq	%rdi, (%rbx,%rsi)
	movq	%rdx, %rbx
	addl	$-8, %r15d
	jne	LBB0_6
LBB0_7:
	movq	%rdx, %rbx
	testl	%ecx, %ecx
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rdx,%rax), %rbx
	movq	%rbx, (%rdx)
	movq	%rbx, %rdx
	decl	%ecx
	jne	LBB0_8
LBB0_9:
	movq	$0, (%rbx)
	movq	_RS_SVC_ADD_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_udp_svc@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_rs_notify_svc
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	_rs_readable@GOTPCREL(%rip), %rax
	movq	_rs_writable@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 16(%r14)
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RS_SNDLOWAT,4,2                ## @RS_SNDLOWAT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_udp_svc,4,2                    ## @udp_svc
	.comm	_RS_SVC_ADD_DGRAM,4,2           ## @RS_SVC_ADD_DGRAM
	.comm	_rs_readable,4,2                ## @rs_readable
	.comm	_rs_writable,4,2                ## @rs_writable
	.no_dead_strip	_ds_init_ep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ds_init_ep
_ds_init_ep:                            ; @ds_init_ep
	.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	x19, x0
	bl	_ds_set_qp_size
	ldr	w21, [x19]
Lloh0:
	adrp	x8, _RS_SNDLOWAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RS_SNDLOWAT@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_calloc
	str	x0, [x19, #32]
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	w23, [x19, #4]
	add	w0, w23, #1
	mov	w1, #1
	bl	_calloc
	str	x0, [x19, #40]
	cbz	x0, LBB0_8
; %bb.2:
	stp	w21, w23, [x19, #8]
	str	x20, [x19, #24]
	cmp	w21, #2
	b.lt	LBB0_5
; %bb.3:
	sxtw	x8, w22
	sub	w9, w21, #1
	mov	x10, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x20, x10, x8
	str	x20, [x10]
	mov	x10, x20
	subs	w9, w9, #1
	b.ne	LBB0_4
LBB0_5:
	str	xzr, [x20]
Lloh3:
	adrp	x8, _RS_SVC_ADD_DGRAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RS_SVC_ADD_DGRAM@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x0, _udp_svc@GOTPAGE
Lloh7:
	ldr	x0, [x0, _udp_svc@GOTPAGEOFF]
	mov	x1, x19
	bl	_rs_notify_svc
	cbnz	w0, LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _rs_readable@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rs_readable@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _rs_writable@GOTPAGE
Lloh12:
	ldr	x9, [x9, _rs_writable@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #16]
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
LBB0_8:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	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
	b	_ERR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RS_SNDLOWAT,4,2                ; @RS_SNDLOWAT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_udp_svc,4,2                    ; @udp_svc
	.comm	_RS_SVC_ADD_DGRAM,4,2           ; @RS_SVC_ADD_DGRAM
	.comm	_rs_readable,4,2                ; @rs_readable
	.comm	_rs_writable,4,2                ; @rs_writable
	.no_dead_strip	_ds_init_ep
.subsections_via_symbols
