	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_socket
_free_socket:                           ## @free_socket
	.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, %r14
	movq	(%rdi), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_INSIST
	movq	%rbx, %rdi
	callq	_VALID_SOCKET
	movl	%eax, %edi
	callq	_INSIST
	xorl	%edi, %edi
	cmpl	$0, 88(%rbx)
	sete	%dil
	callq	_INSIST
	xorl	%edi, %edi
	cmpl	$0, 84(%rbx)
	sete	%dil
	callq	_INSIST
	xorl	%edi, %edi
	cmpl	$0, 80(%rbx)
	sete	%dil
	callq	_INSIST
	xorl	%edi, %edi
	cmpl	$0, 76(%rbx)
	sete	%dil
	callq	_INSIST
	movl	72(%rbx), %edi
	callq	_ISC_LIST_EMPTY
	movl	%eax, %edi
	callq	_INSIST
	movl	68(%rbx), %edi
	callq	_ISC_LIST_EMPTY
	movl	%eax, %edi
	callq	_INSIST
	movl	64(%rbx), %edi
	callq	_ISC_LIST_EMPTY
	movl	%eax, %edi
	callq	_INSIST
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ISC_LINK_LINKED
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_INSIST
	movq	56(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	callq	_isc_mem_put
LBB0_2:
	movq	48(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %edx
	callq	_isc_mem_put
LBB0_4:
	leaq	24(%rbx), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	callq	_DESTROYLOCK
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$96, %edx
	callq	_isc_mem_put
	movq	$0, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_link,4,2                       ## @link
	.no_dead_strip	_free_socket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_socket
_free_socket:                           ; @free_socket
	.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
	ldr	x20, [x0]
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, eq
	bl	_INSIST
	mov	x0, x20
	bl	_VALID_SOCKET
	bl	_INSIST
	ldr	w8, [x20, #88]
	cmp	w8, #0
	cset	w0, eq
	bl	_INSIST
	ldr	w8, [x20, #84]
	cmp	w8, #0
	cset	w0, eq
	bl	_INSIST
	ldr	w8, [x20, #80]
	cmp	w8, #0
	cset	w0, eq
	bl	_INSIST
	ldr	w8, [x20, #76]
	cmp	w8, #0
	cset	w0, eq
	bl	_INSIST
	ldr	w0, [x20, #72]
	bl	_ISC_LIST_EMPTY
	bl	_INSIST
	ldr	w0, [x20, #68]
	bl	_ISC_LIST_EMPTY
	bl	_INSIST
	ldr	w0, [x20, #64]
	bl	_ISC_LIST_EMPTY
	bl	_INSIST
Lloh0:
	adrp	x8, _link@GOTPAGE
Lloh1:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ISC_LINK_LINKED
	cmp	w0, #0
	cset	w0, eq
	bl	_INSIST
	ldr	x1, [x20, #56]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	ldr	w2, [x20, #8]
	bl	_isc_mem_put
LBB0_2:
	ldr	x1, [x20, #48]
	cbz	x1, LBB0_4
; %bb.3:
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	ldr	w2, [x20, #12]
	bl	_isc_mem_put
LBB0_4:
	add	x0, x20, #24
	stp	xzr, xzr, [x20, #32]
	bl	_DESTROYLOCK
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #96
	bl	_isc_mem_put
	str	xzr, [x19]
	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	_link,4,2                       ; @link
	.no_dead_strip	_free_socket
.subsections_via_symbols
