	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_delconn
_do_delconn:                            ## @do_delconn
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$0, -28(%rbp)
	movq	(%rdi), %rax
	movq	24(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movl	(%rax), %ecx
	leal	-128(%rcx), %edx
	cmpl	$3, %edx
	jae	LBB0_2
## %bb.5:
	movq	32(%rax), %rdi
	movq	$0, (%rdi)
	callq	_udp_remove
	jmp	LBB0_10
LBB0_2:
	cmpl	$131, %ecx
	je	LBB0_6
## %bb.3:
	cmpl	$132, %ecx
	jne	LBB0_10
## %bb.4:
	movl	40(%rax), %edi
	callq	_raw_remove
	jmp	LBB0_10
LBB0_6:
	movl	(%rdi), %r14d
	movq	_LISTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%esi, %esi
	callq	_tcp_arg
	movq	(%rbx), %rax
	movq	24(%rax), %rdi
	xorl	%esi, %esi
	cmpl	%r15d, %r14d
	jne	LBB0_8
## %bb.7:
	callq	_tcp_accept
	movq	(%rbx), %rax
	movq	24(%rax), %rdi
	callq	_tcp_close
	jmp	LBB0_10
LBB0_8:
	callq	_tcp_sent
	movq	(%rbx), %rax
	movq	24(%rax), %rdi
	xorl	%esi, %esi
	callq	_tcp_recv
	movq	(%rbx), %rax
	movq	24(%rax), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_tcp_poll
	movq	(%rbx), %rax
	movq	24(%rax), %rdi
	xorl	%esi, %esi
	callq	_tcp_err
	movq	(%rbx), %rax
	movq	24(%rax), %rdi
	callq	_tcp_close
	movq	_ERR_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.9:
	movq	(%rbx), %rax
	movq	24(%rax), %rdi
	callq	_tcp_abort
LBB0_10:
	movq	(%rbx), %rdi
	movq	16(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.11:
	movq	_NETCONN_EVTRCVPLUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	*%rcx
	movq	(%rbx), %rdi
	movq	_NETCONN_EVTSENDPLUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	*16(%rdi)
	movq	(%rbx), %rdi
LBB0_12:
	movq	8(%rdi), %rdi
	movq	_SYS_MBOX_NULL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_14
## %bb.13:
	movq	_MQ_MSG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rsi
	callq	_MQ_Send
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LISTEN,4,2                     ## @LISTEN
	.comm	_ERR_OK,4,2                     ## @ERR_OK
	.comm	_NETCONN_EVTRCVPLUS,4,2         ## @NETCONN_EVTRCVPLUS
	.comm	_NETCONN_EVTSENDPLUS,4,2        ## @NETCONN_EVTSENDPLUS
	.comm	_SYS_MBOX_NULL,8,3              ## @SYS_MBOX_NULL
	.comm	_MQ_MSG_BLOCK,4,2               ## @MQ_MSG_BLOCK
	.no_dead_strip	_do_delconn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_delconn
_do_delconn:                            ; @do_delconn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	str	wzr, [sp, #12]
	ldr	x8, [x0]
	ldr	x0, [x8, #24]
	cbz	x0, LBB0_10
; %bb.1:
	ldr	w9, [x8]
	sub	w10, w9, #128
	cmp	w10, #3
	b.hs	LBB0_3
; %bb.2:
	ldr	x0, [x8, #32]
	str	xzr, [x0]
	bl	_udp_remove
	b	LBB0_10
LBB0_3:
	cmp	w9, #131
	b.eq	LBB0_6
; %bb.4:
	cmp	w9, #132
	b.ne	LBB0_10
; %bb.5:
	ldr	w0, [x8, #40]
	bl	_raw_remove
	b	LBB0_10
LBB0_6:
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _LISTEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LISTEN@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x1, #0
	bl	_tcp_arg
	ldr	x8, [x19]
	ldr	x0, [x8, #24]
	cmp	w20, w21
	b.ne	LBB0_8
; %bb.7:
	mov	x1, #0
	bl	_tcp_accept
	ldr	x8, [x19]
	ldr	x0, [x8, #24]
	bl	_tcp_close
	b	LBB0_10
LBB0_8:
	mov	x1, #0
	bl	_tcp_sent
	ldr	x8, [x19]
	ldr	x0, [x8, #24]
	mov	x1, #0
	bl	_tcp_recv
	ldr	x8, [x19]
	ldr	x0, [x8, #24]
	mov	x1, #0
	mov	w2, #0
	bl	_tcp_poll
	ldr	x8, [x19]
	ldr	x0, [x8, #24]
	mov	x1, #0
	bl	_tcp_err
	ldr	x8, [x19]
	ldr	x0, [x8, #24]
	bl	_tcp_close
Lloh3:
	adrp	x8, _ERR_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_OK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_10
; %bb.9:
	ldr	x8, [x19]
	ldr	x0, [x8, #24]
	bl	_tcp_abort
LBB0_10:
	ldr	x0, [x19]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_12
; %bb.11:
Lloh6:
	adrp	x9, _NETCONN_EVTRCVPLUS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NETCONN_EVTRCVPLUS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	mov	w2, #0
	blr	x8
	ldr	x0, [x19]
	ldr	x8, [x0, #16]
Lloh9:
	adrp	x9, _NETCONN_EVTSENDPLUS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NETCONN_EVTSENDPLUS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x9]
	mov	w2, #0
	blr	x8
	ldr	x0, [x19]
LBB0_12:
	ldr	x0, [x0, #8]
Lloh12:
	adrp	x8, _SYS_MBOX_NULL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SYS_MBOX_NULL@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_14
; %bb.13:
Lloh15:
	adrp	x8, _MQ_MSG_BLOCK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MQ_MSG_BLOCK@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x1, sp, #12
	bl	_MQ_Send
LBB0_14:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_LISTEN,4,2                     ; @LISTEN
	.comm	_ERR_OK,4,2                     ; @ERR_OK
	.comm	_NETCONN_EVTRCVPLUS,4,2         ; @NETCONN_EVTRCVPLUS
	.comm	_NETCONN_EVTSENDPLUS,4,2        ; @NETCONN_EVTSENDPLUS
	.comm	_SYS_MBOX_NULL,8,3              ; @SYS_MBOX_NULL
	.comm	_MQ_MSG_BLOCK,4,2               ; @MQ_MSG_BLOCK
	.no_dead_strip	_do_delconn
.subsections_via_symbols
