	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_ndev_hash
_add_ndev_hash:                         ## @add_ndev_hash
	.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
	xorl	%eax, %eax
	callq	_might_sleep
	movq	_ndev_hash_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	leaq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_hash_hashed
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_hash_del_rcu
	movq	_ndev_hash_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	callq	_synchronize_rcu
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
LBB0_2:
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	_ndev_hash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_hash_add_rcu
LBB0_4:
	movq	_ndev_hash_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ndev_hash_lock,4,2             ## @ndev_hash_lock
	.comm	_ndev_hash,4,2                  ## @ndev_hash
	.no_dead_strip	_add_ndev_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_ndev_hash
_add_ndev_hash:                         ; @add_ndev_hash
	.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	x20, x0
	bl	_might_sleep
Lloh0:
	adrp	x0, _ndev_hash_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ndev_hash_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
	add	x19, x20, #8
	mov	x0, x19
	bl	_hash_hashed
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_hash_del_rcu
Lloh2:
	adrp	x21, _ndev_hash_lock@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ndev_hash_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	bl	_synchronize_rcu
	mov	x0, x21
	bl	_spin_lock_irqsave
LBB0_2:
	ldr	x2, [x20]
	cbz	x2, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _ndev_hash@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ndev_hash@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_hash_add_rcu
LBB0_4:
Lloh7:
	adrp	x0, _ndev_hash_lock@GOTPAGE
Lloh8:
	ldr	x0, [x0, _ndev_hash_lock@GOTPAGEOFF]
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ndev_hash_lock,4,2             ; @ndev_hash_lock
	.comm	_ndev_hash,4,2                  ; @ndev_hash
	.no_dead_strip	_add_ndev_hash
.subsections_via_symbols
