	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___netpoll_cleanup              ## -- Begin function __netpoll_cleanup
	.p2align	4, 0x90
___netpoll_cleanup:                     ## @__netpoll_cleanup
	.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), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	cmpl	$0, 24(%rbx)
	jne	LBB0_3
## %bb.2:
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_NETPOLL_RX_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 20(%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
LBB0_3:
	leaq	12(%rbx), %rdi
	callq	_atomic_dec_and_test
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	(%r14), %rdi
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	callq	*%rcx
	movq	(%r14), %rdi
LBB0_6:
	movq	(%rdi), %rdi
	xorl	%esi, %esi
	callq	_rcu_assign_pointer
	xorl	%eax, %eax
	callq	_synchronize_rcu_bh
	leaq	8(%rbx), %rdi
	callq	_skb_queue_purge
	movq	%rbx, %rdi
	callq	_skb_queue_purge
	leaq	4(%rbx), %rdi
	callq	_cancel_rearming_delayed_work
	movq	%rbx, %rdi
	callq	___skb_queue_purge
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETPOLL_RX_ENABLED,4,2         ## @NETPOLL_RX_ENABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___netpoll_cleanup              ; -- Begin function __netpoll_cleanup
	.p2align	2
___netpoll_cleanup:                     ; @__netpoll_cleanup
	.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	x8, [x0]
	ldr	x19, [x8]
	cbz	x19, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_3
; %bb.2:
	add	x21, x19, #16
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _NETPOLL_RX_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETPOLL_RX_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #20]
	bic	w8, w9, w8
	str	w8, [x19, #20]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
LBB0_3:
	add	x0, x19, #12
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x0, [x20]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	blr	x8
	ldr	x0, [x20]
LBB0_6:
	ldr	x0, [x0]
	mov	x1, #0
	bl	_rcu_assign_pointer
	bl	_synchronize_rcu_bh
	add	x0, x19, #8
	bl	_skb_queue_purge
	mov	x0, x19
	bl	_skb_queue_purge
	add	x0, x19, #4
	bl	_cancel_rearming_delayed_work
	mov	x0, x19
	bl	___skb_queue_purge
	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	_kfree
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETPOLL_RX_ENABLED,4,2         ; @NETPOLL_RX_ENABLED
.subsections_via_symbols
