	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function packet_release
_packet_release:                        ## @packet_release
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movq	%rbx, %rdi
	callq	_sock_net
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_pkt_sk
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_write_lock_bh
	movq	%rbx, %rdi
	callq	_sk_del_node_init
	movl	4(%rbx), %esi
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_sock_prot_inuse_add
	movq	%r12, %rdi
	callq	_write_unlock_bh
	cmpq	$0, 24(%r15)
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	addq	$32, %rdi
	callq	_dev_remove_pack
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15)
	movq	%rbx, %rdi
	callq	___sock_put
LBB0_3:
	movq	%rbx, %rdi
	callq	_packet_flush_mclist
	movq	%rbx, %rdi
	callq	_sock_orphan
	movq	$0, (%r14)
	movq	%rbx, %rdi
	callq	_skb_queue_purge
	movq	%rbx, %rdi
	callq	_sk_refcnt_debug_release
	movq	%rbx, %rdi
	callq	_sock_put
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_packet_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function packet_release
_packet_release:                        ; @packet_release
	.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
	ldr	x19, [x0]
	cbz	x19, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_sock_net
	mov	x22, x0
	mov	x0, x19
	bl	_pkt_sk
	mov	x21, x0
	mov	x0, x22
	bl	_write_lock_bh
	mov	x0, x19
	bl	_sk_del_node_init
	ldr	w1, [x19, #4]
	mov	x0, x22
	mov	w2, #-1
	bl	_sock_prot_inuse_add
	mov	x0, x22
	bl	_write_unlock_bh
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x21, #32
	bl	_dev_remove_pack
	stp	xzr, xzr, [x21, #16]
	mov	x0, x19
	bl	___sock_put
LBB0_3:
	mov	x0, x19
	bl	_packet_flush_mclist
	mov	x0, x19
	bl	_sock_orphan
	str	xzr, [x20]
	mov	x0, x19
	bl	_skb_queue_purge
	mov	x0, x19
	bl	_sk_refcnt_debug_release
	mov	x0, x19
	bl	_sock_put
LBB0_4:
	mov	w0, #0
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_packet_release
.subsections_via_symbols
