	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vcc_destroy_socket
_vcc_destroy_socket:                    ## @vcc_destroy_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_atm_sk
	movq	%rax, %r15
	movq	_ATM_VF_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r15), %rbx
	movq	%rbx, %rsi
	callq	_set_bit
	movq	_ATM_VF_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	(%rax), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	*%rax
LBB0_3:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	*%rax
LBB0_5:
	movq	%r14, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_atm_return
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	%r14, %rdi
	callq	_skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
LBB0_8:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_module_put
	movq	(%r15), %rdi
	callq	_atm_dev_put
LBB0_9:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vcc_remove_socket              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATM_VF_CLOSE,4,2               ## @ATM_VF_CLOSE
	.comm	_ATM_VF_READY,4,2               ## @ATM_VF_READY
	.no_dead_strip	_vcc_destroy_socket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vcc_destroy_socket
_vcc_destroy_socket:                    ; @vcc_destroy_socket
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_atm_sk
	mov	x20, x0
Lloh0:
	adrp	x8, _ATM_VF_CLOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATM_VF_CLOSE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x20, #16
	mov	x1, x21
	bl	_set_bit
Lloh3:
	adrp	x8, _ATM_VF_READY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATM_VF_READY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	blr	x8
LBB0_3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, #0
	blr	x8
LBB0_5:
	mov	x0, x19
	bl	_skb_dequeue
	cbz	x0, LBB0_8
; %bb.6:
	mov	x21, x0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x20
	bl	_atm_return
	mov	x0, x21
	bl	_kfree_skb
	mov	x0, x19
	bl	_skb_dequeue
	mov	x21, x0
	cbnz	x0, LBB0_7
LBB0_8:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_module_put
	ldr	x0, [x20]
	bl	_atm_dev_put
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_vcc_remove_socket
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATM_VF_CLOSE,4,2               ; @ATM_VF_CLOSE
	.comm	_ATM_VF_READY,4,2               ; @ATM_VF_READY
	.no_dead_strip	_vcc_destroy_socket
.subsections_via_symbols
