	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hashtab_insert                 ## -- Begin function hashtab_insert
	.p2align	4, 0x90
_hashtab_insert:                        ## @hashtab_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	%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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	_HASHTAB_MAX_NODES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%r13, %rdi
	callq	*8(%r13)
	movq	%rax, %r12
	movq	24(%r13), %rax
	movq	(%rax,%r12,8), %rbx
	testq	%rbx, %rbx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.8:
	movq	16(%rbx), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	*16(%r13)
	testq	%rax, %rax
	jle	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r12
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%rbx), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	*16(%r13)
	testq	%rax, %rax
	jg	LBB0_11
## %bb.12:
	addq	$16, %rbx
	jmp	LBB0_13
LBB0_5:
	xorl	%r12d, %r12d
	jmp	LBB0_6
LBB0_9:
	addq	$16, %rbx
	xorl	%r12d, %r12d
LBB0_13:
	movq	(%rbx), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	*16(%r13)
	testq	%rax, %rax
	je	LBB0_14
LBB0_6:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.15:
	movq	%r15, 16(%rax)
	movq	%r14, 8(%rax)
	testq	%r12, %r12
	jne	LBB0_17
## %bb.16:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	shlq	$3, %r12
	addq	24(%r13), %r12
LBB0_17:
	movq	(%r12), %rcx
	movq	%rcx, (%rax)
	movq	%rax, (%r12)
	incq	(%r13)
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_14:
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_HASHTAB_MAX_NODES,8,3          ## @HASHTAB_MAX_NODES
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hashtab_insert                 ; -- Begin function hashtab_insert
	.p2align	2
_hashtab_insert:                        ; @hashtab_insert
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HASHTAB_MAX_NODES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HASHTAB_MAX_NODES@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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_5:
	mov	x20, x2
	mov	x21, x1
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	mov	x22, x0
	ldr	x8, [x19, #24]
	ldr	x24, [x8, x0, lsl #3]
	cbz	x24, LBB0_10
; %bb.6:
	ldr	x8, [x19, #16]
	mov	x25, x24
	ldr	x2, [x25, #16]!
	mov	x0, x19
	mov	x1, x21
	blr	x8
	cmp	x0, #1
	b.lt	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x24
	ldr	x24, [x24]
	cbz	x24, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #16]
	ldr	x2, [x24, #16]
	mov	x0, x19
	mov	x1, x21
	blr	x8
	cmp	x0, #1
	b.ge	LBB0_7
; %bb.9:
	add	x25, x24, #16
	b	LBB0_12
LBB0_10:
	mov	x23, #0
	b	LBB0_13
LBB0_11:
	mov	x23, #0
LBB0_12:
	ldr	x8, [x19, #16]
	ldr	x2, [x25]
	mov	x0, x19
	mov	x1, x21
	blr	x8
	cbz	x0, LBB0_18
LBB0_13:
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_17
; %bb.14:
	mov	x8, x0
	stp	x20, x21, [x0, #8]
	cbnz	x23, LBB0_16
; %bb.15:
	ldr	x9, [x19, #24]
	add	x23, x9, x22, lsl #3
LBB0_16:
	mov	w0, #0
	ldr	x9, [x23]
	str	x9, [x8]
	str	x8, [x23]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	b	LBB0_4
LBB0_17:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_3
LBB0_18:
Lloh10:
	adrp	x8, _EEXIST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HASHTAB_MAX_NODES,8,3          ; @HASHTAB_MAX_NODES
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
