	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function neigh_hash_grow
_neigh_hash_grow:                       ## @neigh_hash_grow
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_hash_grows@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_NEIGH_CACHE_STAT_INC
	movq	%r14, %rdi
	callq	_is_power_of_2
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movq	%r14, %rdi
	callq	_neigh_hash_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movl	(%r15), %r12d
	decl	%r14d
	movq	16(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	24(%r15), %rdi
	movl	$4, %esi
	callq	_get_random_bytes
	incl	%r12d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	jne	LBB0_2
LBB0_6:
	movq	%rbx, 16(%r15)
	movl	%r14d, (%r15)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_neigh_hash_free                ## TAILCALL
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	cmpq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	je	LBB0_6
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r13,8), %r12
	testq	%r12, %r12
	je	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	8(%r12), %esi
	movl	12(%r12), %edi
	callq	*8(%r15)
                                        ## kill: def $eax killed $eax def $rax
	andl	%r14d, %eax
	movq	(%r12), %rcx
	movq	(%rbx,%rax,8), %rdx
	movq	%rdx, (%r12)
	movq	%r12, (%rbx,%rax,8)
	movq	%rcx, %r12
	testq	%rcx, %rcx
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_hash_grows,4,2                 ## @hash_grows
	.no_dead_strip	_neigh_hash_grow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function neigh_hash_grow
_neigh_hash_grow:                       ; @neigh_hash_grow
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _hash_grows@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hash_grows@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_NEIGH_CACHE_STAT_INC
	mov	x0, x22
	bl	_is_power_of_2
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	mov	x0, x22
	bl	_neigh_hash_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w8, [x19]
	adds	w21, w8, #1
	cset	w24, hs
	sub	w23, w22, #1
	ldr	x22, [x19, #16]
	add	x0, x19, #24
	mov	w1, #4
	bl	_get_random_bytes
	tbz	w24, #0, LBB0_4
LBB0_2:
	str	x20, [x19, #16]
	str	w23, [x19]
	mov	x0, x22
	mov	x1, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_neigh_hash_free
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x24, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	cmp	x24, x21
	b.eq	LBB0_2
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x25, [x22, x24, lsl #3]
	cbz	x25, LBB0_5
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	ldp	w1, w0, [x25, #8]
	blr	x8
	and	w8, w0, w23
	ldr	x9, [x25]
	lsl	x8, x8, #3
	ldr	x10, [x20, x8]
	str	x10, [x25]
	str	x25, [x20, x8]
	mov	x25, x9
	cbnz	x9, LBB0_7
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_hash_grows,4,2                 ; @hash_grows
	.no_dead_strip	_neigh_hash_grow
.subsections_via_symbols
