	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_vc_destroy
_svc_vc_destroy:                        ## @svc_vc_destroy
	.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
	movq	(%rdi), %rdi
	movq	16(%rbx), %r14
	callq	_SOCKBUF_LOCK
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	$0, 8(%rbx)
	movq	(%rbx), %rdi
	movq	_SO_RCV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_soupcall_clear
LBB0_2:
	movq	(%rbx), %rdi
	callq	_SOCKBUF_UNLOCK
	movq	%rbx, %rdi
	callq	_svc_vc_destroy_common
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_m_freem
LBB0_4:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_m_freem
LBB0_6:
	movq	%r14, %rdi
	movl	$16, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mem_free                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SO_RCV,4,2                     ## @SO_RCV
	.no_dead_strip	_svc_vc_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_vc_destroy
_svc_vc_destroy:                        ; @svc_vc_destroy
	.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	x20, x0
	ldr	x19, [x0, #16]
	ldr	x0, [x0]
	bl	_SOCKBUF_LOCK
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	str	xzr, [x20, #8]
	ldr	x0, [x20]
Lloh0:
	adrp	x8, _SO_RCV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SO_RCV@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_soupcall_clear
LBB0_2:
	ldr	x0, [x20]
	bl	_SOCKBUF_UNLOCK
	mov	x0, x20
	bl	_svc_vc_destroy_common
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_m_freem
LBB0_4:
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_m_freem
LBB0_6:
	mov	x0, x19
	mov	w1, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mem_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SO_RCV,4,2                     ; @SO_RCV
	.no_dead_strip	_svc_vc_destroy
.subsections_via_symbols
