	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sel_netif_insert
_sel_netif_insert:                      ## @sel_netif_insert
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_sel_netif_total@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_SEL_NETIF_HASH_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_sel_netif_hashfn
	movq	_sel_netif_hash@GOTPCREL(%rip), %rcx
	movslq	%eax, %rsi
	shlq	$2, %rsi
	addq	(%rcx), %rsi
	movq	%rbx, %rdi
	callq	_list_add_rcu
	incq	(%r14)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sel_netif_total,8,3            ## @sel_netif_total
	.comm	_SEL_NETIF_HASH_MAX,8,3         ## @SEL_NETIF_HASH_MAX
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_sel_netif_hash,8,3             ## @sel_netif_hash
	.no_dead_strip	_sel_netif_insert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sel_netif_insert
_sel_netif_insert:                      ; @sel_netif_insert
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _sel_netif_total@GOTPAGE
Lloh1:
	ldr	x20, [x20, _sel_netif_total@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _SEL_NETIF_HASH_MAX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SEL_NETIF_HASH_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_sel_netif_hashfn
Lloh5:
	adrp	x8, _sel_netif_hash@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sel_netif_hash@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x1, x8, w0, sxtw #2
	mov	x0, x19
	bl	_list_add_rcu
	mov	w0, #0
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_sel_netif_total,8,3            ; @sel_netif_total
	.comm	_SEL_NETIF_HASH_MAX,8,3         ; @SEL_NETIF_HASH_MAX
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_sel_netif_hash,8,3             ; @sel_netif_hash
	.no_dead_strip	_sel_netif_insert
.subsections_via_symbols
