	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_table
_alloc_table:                           ## @alloc_table
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, (%rdi)
	movl	%esi, %edi
	movl	$8, %esi
	callq	_xcalloc
	movl	%eax, 12(%r14)
	movq	_HASHMAP_LOAD_FACTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%ebx, %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	movl	%eax, 4(%r14)
	movq	_HASHMAP_INITIAL_SIZE@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	%ebx, (%rdx)
	jae	LBB0_2
## %bb.1:
	movq	_HASHMAP_RESIZE_BITS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	incl	%esi
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %ecx
LBB0_2:
	movl	%ecx, 8(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASHMAP_LOAD_FACTOR,4,2        ## @HASHMAP_LOAD_FACTOR
	.comm	_HASHMAP_INITIAL_SIZE,4,2       ## @HASHMAP_INITIAL_SIZE
	.comm	_HASHMAP_RESIZE_BITS,4,2        ## @HASHMAP_RESIZE_BITS
	.no_dead_strip	_alloc_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_table
_alloc_table:                           ; @alloc_table
	.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
	mov	x20, x1
	mov	x19, x0
	str	w1, [x0]
	mov	x0, x1
	mov	w1, #8
	bl	_xcalloc
	str	w0, [x19, #12]
Lloh0:
	adrp	x8, _HASHMAP_LOAD_FACTOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HASHMAP_LOAD_FACTOR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mul	w8, w8, w20
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	str	w8, [x19, #4]
Lloh3:
	adrp	x9, _HASHMAP_INITIAL_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HASHMAP_INITIAL_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w20
	b.hs	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _HASHMAP_RESIZE_BITS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HASHMAP_RESIZE_BITS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	add	w9, w9, #1
	udiv	w8, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HASHMAP_LOAD_FACTOR,4,2        ; @HASHMAP_LOAD_FACTOR
	.comm	_HASHMAP_INITIAL_SIZE,4,2       ; @HASHMAP_INITIAL_SIZE
	.comm	_HASHMAP_RESIZE_BITS,4,2        ; @HASHMAP_RESIZE_BITS
	.no_dead_strip	_alloc_table
.subsections_via_symbols
