	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_net_assign_generic             ## -- Begin function net_assign_generic
	.p2align	4, 0x90
_net_assign_generic:                    ## @net_assign_generic
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_net_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_is_locked
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	xorl	%edi, %edi
	testl	%r12d, %r12d
	sete	%dil
	callq	_BUG_ON
	movq	(%r15), %rbx
	cmpl	%r12d, (%rbx)
	jge	LBB0_4
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_net_alloc_generic
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movq	%rax, %rdi
	addq	$8, %rdi
	leaq	8(%rbx), %rsi
	movl	(%rbx), %edx
	shll	$3, %edx
	callq	_memcpy
	movq	(%r15), %rdi
	movq	%r13, %rsi
	callq	_rcu_assign_pointer
	addq	$16, %rbx
	movq	_net_generic_release@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_call_rcu
	movq	%r13, %rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_4:
	movq	8(%rbx), %rax
	movslq	%r12d, %rcx
	movq	%r14, -8(%rax,%rcx,8)
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_net_mutex,4,2                  ## @net_mutex
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_net_generic_release,4,2        ## @net_generic_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_net_assign_generic             ; -- Begin function net_assign_generic
	.p2align	2
_net_assign_generic:                    ; @net_assign_generic
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, _net_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _net_mutex@GOTPAGEOFF]
	bl	_mutex_is_locked
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	cmp	w20, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x22, [x21]
	ldr	w8, [x22]
	cmp	w8, w20
	b.ge	LBB0_3
; %bb.1:
	bl	_net_alloc_generic
	cbz	x0, LBB0_4
; %bb.2:
	mov	x23, x0
	add	x0, x0, #8
	add	x1, x22, #8
	ldr	w8, [x22], #16
	lsl	w2, w8, #3
	bl	_memcpy
	ldr	x0, [x21]
	mov	x1, x23
	bl	_rcu_assign_pointer
Lloh2:
	adrp	x8, _net_generic_release@GOTPAGE
Lloh3:
	ldr	x8, [x8, _net_generic_release@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_call_rcu
	mov	x22, x23
LBB0_3:
	mov	w0, #0
	ldr	x8, [x22, #8]
	sub	w9, w20, #1
	str	x19, [x8, w9, sxtw #3]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_net_mutex,4,2                  ; @net_mutex
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_net_generic_release,4,2        ; @net_generic_release
.subsections_via_symbols
