	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netlbl_unlhsh_add_iface
_netlbl_unlhsh_add_iface:               ## @netlbl_unlhsh_add_iface
	.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
	movl	%edi, %r14d
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movl	%r14d, (%rax)
	leaq	20(%rax), %rdi
	callq	_INIT_LIST_HEAD
	leaq	16(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movl	$1, 4(%rbx)
	leaq	12(%rbx), %rdi
	callq	_INIT_RCU_HEAD
	movq	_netlbl_unlhsh_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.2:
	movl	%r14d, %edi
	callq	_netlbl_unlhsh_hash
	movq	%rax, %r15
	movl	%r14d, %edi
	callq	_netlbl_unlhsh_search_iface
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	%rbx, %r14
	addq	$8, %r14
	movq	_netlbl_unlhsh@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rcu_dereference
	shlq	$2, %r15
	addq	(%rax), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_list_add_tail_rcu
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rdi
	callq	_INIT_LIST_HEAD
	movq	_netlbl_unlhsh_def@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movq	_netlbl_unlhsh_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movq	%rbx, %rdi
	callq	_kfree
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_5:
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_rcu_assign_pointer
LBB0_6:
	movq	_netlbl_unlhsh_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_netlbl_unlhsh_lock,4,2         ## @netlbl_unlhsh_lock
	.comm	_netlbl_unlhsh,4,2              ## @netlbl_unlhsh
	.comm	_netlbl_unlhsh_def,4,2          ## @netlbl_unlhsh_def
	.no_dead_strip	_netlbl_unlhsh_add_iface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netlbl_unlhsh_add_iface
_netlbl_unlhsh_add_iface:               ; @netlbl_unlhsh_add_iface
	.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
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.1:
	str	w20, [x19]
	add	x0, x19, #20
	bl	_INIT_LIST_HEAD
	add	x0, x19, #16
	bl	_INIT_LIST_HEAD
	mov	w8, #1
	str	w8, [x19, #4]
	add	x0, x19, #12
	bl	_INIT_RCU_HEAD
Lloh3:
	adrp	x0, _netlbl_unlhsh_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _netlbl_unlhsh_lock@GOTPAGEOFF]
	bl	_spin_lock
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_netlbl_unlhsh_hash
	mov	x21, x0
	mov	x0, x20
	bl	_netlbl_unlhsh_search_iface
	cbnz	x0, LBB0_5
; %bb.3:
	add	x20, x19, #8
Lloh5:
	adrp	x8, _netlbl_unlhsh@GOTPAGE
Lloh6:
	ldr	x8, [x8, _netlbl_unlhsh@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_rcu_dereference
	ldr	x8, [x0]
	add	x1, x8, x21, lsl #2
	mov	x0, x20
	bl	_list_add_tail_rcu
	b	LBB0_7
LBB0_4:
	add	x0, x19, #8
	bl	_INIT_LIST_HEAD
Lloh8:
	adrp	x20, _netlbl_unlhsh_def@GOTPAGE
Lloh9:
	ldr	x20, [x20, _netlbl_unlhsh_def@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rcu_dereference
	cbz	x0, LBB0_6
LBB0_5:
Lloh10:
	adrp	x0, _netlbl_unlhsh_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _netlbl_unlhsh_lock@GOTPAGEOFF]
	bl	_spin_unlock
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
	b	LBB0_8
LBB0_6:
	ldr	w0, [x20]
	mov	x1, x19
	bl	_rcu_assign_pointer
LBB0_7:
Lloh12:
	adrp	x0, _netlbl_unlhsh_lock@GOTPAGE
Lloh13:
	ldr	x0, [x0, _netlbl_unlhsh_lock@GOTPAGEOFF]
	bl	_spin_unlock
LBB0_8:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_netlbl_unlhsh_lock,4,2         ; @netlbl_unlhsh_lock
	.comm	_netlbl_unlhsh,4,2              ; @netlbl_unlhsh
	.comm	_netlbl_unlhsh_def,4,2          ; @netlbl_unlhsh_def
	.no_dead_strip	_netlbl_unlhsh_add_iface
.subsections_via_symbols
