	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DisconnectUDPSockets           ## -- Begin function DisconnectUDPSockets
	.p2align	4, 0x90
_DisconnectUDPSockets:                  ## @DisconnectUDPSockets
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_CONNECTION_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.2:
	cmpq	$0, 32(%rbx)
	je	LBB0_4
## %bb.3:
	movl	24(%rbx), %esi
	movl	28(%rbx), %edi
	callq	_DelUDPEntry
LBB0_4:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.5:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %rdi
	callq	_ReleaseSock
	movq	16(%rbx), %rdi
LBB0_7:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	%rax, %rdi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	callq	_GetNext
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %rdi
	callq	_FreeBuf
	movq	16(%rbx), %rax
	movq	(%rax), %rdi
	jmp	LBB0_10
LBB0_11:
	movq	16(%rbx), %rax
	movq	(%rax), %rdi
	callq	_ReleaseQueue
	movq	16(%rbx), %rdi
LBB0_12:
	callq	_Free
	movq	$0, 16(%rbx)
LBB0_13:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_Disconnect
	movq	8(%rbx), %rdi
	callq	_ReleaseSock
	movq	$0, 8(%rbx)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONNECTION_UDP,8,3             ## @CONNECTION_UDP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DisconnectUDPSockets           ; -- Begin function DisconnectUDPSockets
	.p2align	2
_DisconnectUDPSockets:                  ; @DisconnectUDPSockets
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_14
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CONNECTION_UDP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CONNECTION_UDP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.2:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	w1, w0, [x19, #24]
	bl	_DelUDPEntry
LBB0_4:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_12
; %bb.5:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x8
	bl	_ReleaseSock
	ldr	x0, [x19, #16]
LBB0_7:
	ldr	x8, [x0]
	cbz	x8, LBB0_11
; %bb.8:
	mov	x0, x8
	bl	_GetNext
	cbz	x0, LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	bl	_FreeBuf
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	bl	_GetNext
	cbnz	x0, LBB0_9
LBB0_10:
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	bl	_ReleaseQueue
	ldr	x0, [x19, #16]
LBB0_11:
	bl	_Free
	str	xzr, [x19, #16]
LBB0_12:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_14
; %bb.13:
	bl	_Disconnect
	ldr	x0, [x19, #8]
	bl	_ReleaseSock
	str	xzr, [x19, #8]
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CONNECTION_UDP,8,3             ; @CONNECTION_UDP
.subsections_via_symbols
