	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netlink_release
_netlink_release:                       ## @netlink_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	movq	%r15, %rdi
	callq	_netlink_remove
	movq	%r15, %rdi
	callq	_sock_orphan
	movq	%r15, %rdi
	callq	_nlk_sk
	movq	%rax, %r14
	movq	$0, (%rbx)
	leaq	32(%rax), %rdi
	callq	_wake_up_interruptible_all
	leaq	8(%r15), %rdi
	callq	_skb_queue_purge
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpq	$0, 8(%r14)
	jne	LBB0_4
## %bb.3:
	movq	(%r15), %rcx
	movq	%rcx, -48(%rbp)
	movq	%rax, -40(%rbp)
	movq	%r15, %rdi
	callq	_sock_net
	movl	%eax, -32(%rbp)
	movq	_NETLINK_URELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_netlink_chain@GOTPCREL(%rip), %rdi
	leaq	-48(%rbp), %rdx
	callq	_atomic_notifier_call_chain
LBB0_4:
	movl	16(%r14), %edi
	callq	_module_put
	xorl	%eax, %eax
	callq	_netlink_table_grab
	movq	%r15, %rdi
	callq	_netlink_is_kernel
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_nl_table@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	xorl	%edi, %edi
	cmpq	$0, (%rax,%rcx,8)
	sete	%dil
	callq	_BUG_ON
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	decq	(%rax,%rcx,8)
	jne	LBB0_9
## %bb.6:
	movq	16(%rax,%rcx,8), %rdi
	callq	_kfree
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	$0, 8(%rax,%rcx)
	movq	(%rbx), %rax
	movq	$0, (%rax,%rcx)
	jmp	LBB0_9
LBB0_7:
	cmpq	$0, 8(%r14)
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_netlink_update_listeners
LBB0_9:
	xorl	%eax, %eax
	callq	_netlink_table_ungrab
	movq	(%r14), %rdi
	callq	_kfree
	movq	$0, (%r14)
	xorl	%eax, %eax
	callq	_local_bh_disable
	movq	%r15, %rdi
	callq	_sock_net
	movq	_netlink_proto@GOTPCREL(%rip), %rsi
	movl	%eax, %edi
	movl	$-1, %edx
	callq	_sock_prot_inuse_add
	xorl	%eax, %eax
	callq	_local_bh_enable
	movq	%r15, %rdi
	callq	_sock_put
LBB0_10:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_netlink_chain,4,2              ## @netlink_chain
	.comm	_NETLINK_URELEASE,4,2           ## @NETLINK_URELEASE
	.comm	_nl_table,8,3                   ## @nl_table
	.comm	_netlink_proto,4,2              ## @netlink_proto
	.no_dead_strip	_netlink_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netlink_release
_netlink_release:                       ; @netlink_release
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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_10
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	bl	_netlink_remove
	mov	x0, x19
	bl	_sock_orphan
	mov	x0, x19
	bl	_nlk_sk
	mov	x20, x0
	str	xzr, [x21]
	add	x0, x0, #32
	bl	_wake_up_interruptible_all
	add	x0, x19, #8
	bl	_skb_queue_purge
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x9, [x20, #8]
	cbnz	x9, LBB0_4
; %bb.3:
	ldr	x9, [x19]
	stp	x9, x8, [sp, #8]
	mov	x0, x19
	bl	_sock_net
	str	w0, [sp, #24]
Lloh0:
	adrp	x8, _NETLINK_URELEASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETLINK_URELEASE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, _netlink_chain@GOTPAGE
Lloh4:
	ldr	x0, [x0, _netlink_chain@GOTPAGEOFF]
	add	x2, sp, #8
	bl	_atomic_notifier_call_chain
LBB0_4:
	ldr	w0, [x20, #16]
	bl	_module_put
	bl	_netlink_table_grab
	mov	x0, x19
	bl	_netlink_is_kernel
	cbz	x0, LBB0_7
; %bb.5:
Lloh5:
	adrp	x21, _nl_table@GOTPAGE
Lloh6:
	ldr	x21, [x21, _nl_table@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x19]
	mov	w22, #24
	mul	x9, x9, x22
	ldr	x8, [x8, x9]
	cmp	x8, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x21]
	ldr	x9, [x19]
	mul	x10, x9, x22
	ldr	x11, [x8, x10]
	subs	x11, x11, #1
	str	x11, [x8, x10]
	b.ne	LBB0_9
; %bb.6:
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	x0, [x8, #16]
	bl	_kfree
	ldr	x8, [x21]
	ldr	x9, [x19]
	add	x9, x9, x9, lsl #1
	lsl	x9, x9, #3
	add	x8, x8, x9
	str	xzr, [x8, #8]
	ldr	x8, [x21]
	str	xzr, [x8, x9]
	b	LBB0_9
LBB0_7:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_netlink_update_listeners
LBB0_9:
	bl	_netlink_table_ungrab
	ldr	x0, [x20]
	bl	_kfree
	str	xzr, [x20]
	bl	_local_bh_disable
	mov	x0, x19
	bl	_sock_net
Lloh7:
	adrp	x1, _netlink_proto@GOTPAGE
Lloh8:
	ldr	x1, [x1, _netlink_proto@GOTPAGEOFF]
	mov	w2, #-1
	bl	_sock_prot_inuse_add
	bl	_local_bh_enable
	mov	x0, x19
	bl	_sock_put
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_netlink_chain,4,2              ; @netlink_chain
	.comm	_NETLINK_URELEASE,4,2           ; @NETLINK_URELEASE
	.comm	_nl_table,8,3                   ; @nl_table
	.comm	_netlink_proto,4,2              ; @netlink_proto
	.no_dead_strip	_netlink_release
.subsections_via_symbols
