	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udp_disconnect                 ## -- Begin function udp_disconnect
	.p2align	4, 0x90
_udp_disconnect:                        ## @udp_disconnect
	.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
	movq	%rdi, %rbx
	callq	_inet_sk
	movq	%rax, %r14
	movq	_TCP_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_inet_rps_save_rxhash
	movq	$0, 16(%rbx)
	movl	(%rbx), %eax
	movq	_SOCK_BINDADDR_LOCK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_inet_reset_saddr
	movl	(%rbx), %eax
LBB0_2:
	movq	_SOCK_BINDPORT_LOCK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.3:
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	$0, (%r14)
LBB0_4:
	movq	%rbx, %rdi
	callq	_sk_dst_reset
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCP_CLOSE,4,2                  ## @TCP_CLOSE
	.comm	_SOCK_BINDADDR_LOCK,4,2         ## @SOCK_BINDADDR_LOCK
	.comm	_SOCK_BINDPORT_LOCK,4,2         ## @SOCK_BINDPORT_LOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udp_disconnect                 ; -- Begin function udp_disconnect
	.p2align	2
_udp_disconnect:                        ; @udp_disconnect
	.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
	mov	x19, x0
	bl	_inet_sk
	mov	x20, x0
Lloh0:
	adrp	x8, _TCP_CLOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCP_CLOSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	stp	xzr, xzr, [x0, #8]
	mov	x0, x19
	mov	w1, #0
	bl	_inet_rps_save_rxhash
	str	xzr, [x19, #16]
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _SOCK_BINDADDR_LOCK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SOCK_BINDADDR_LOCK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_inet_reset_saddr
	ldr	w8, [x19]
LBB0_2:
Lloh6:
	adrp	x9, _SOCK_BINDPORT_LOCK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOCK_BINDPORT_LOCK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	str	xzr, [x20]
LBB0_4:
	mov	x0, x19
	bl	_sk_dst_reset
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TCP_CLOSE,4,2                  ; @TCP_CLOSE
	.comm	_SOCK_BINDADDR_LOCK,4,2         ; @SOCK_BINDADDR_LOCK
	.comm	_SOCK_BINDPORT_LOCK,4,2         ; @SOCK_BINDPORT_LOCK
.subsections_via_symbols
