	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hashmap_init                   ## -- Begin function hashmap_init
	.p2align	4, 0x90
_hashmap_init:                          ## @hashmap_init
	.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	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_HASHMAP_INITIAL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	testq	%r13, %r13
	jne	LBB0_2
## %bb.1:
	movq	_always_equal@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_2:
	movq	%r13, 16(%r14)
	movq	%r12, 8(%r14)
	imull	$100, %r15d, %eax
	movq	_HASHMAP_LOAD_FACTOR@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	cmpl	%ebx, %eax
	jbe	LBB0_5
## %bb.3:
	movq	_HASHMAP_RESIZE_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	shll	%cl, %ebx
	cmpl	%ebx, %eax
	ja	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_alloc_table
	movl	$1, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASHMAP_INITIAL_SIZE,4,2       ## @HASHMAP_INITIAL_SIZE
	.comm	_always_equal,8,3               ## @always_equal
	.comm	_HASHMAP_LOAD_FACTOR,4,2        ## @HASHMAP_LOAD_FACTOR
	.comm	_HASHMAP_RESIZE_BITS,4,2        ## @HASHMAP_RESIZE_BITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hashmap_init                   ; -- Begin function hashmap_init
	.p2align	2
_hashmap_init:                          ; @hashmap_init
	.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	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _HASHMAP_INITIAL_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HASHMAP_INITIAL_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh3:
	adrp	x8, _always_equal@GOTPAGE
Lloh4:
	ldr	x8, [x8, _always_equal@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x23, #0
	csel	x8, x8, x23, eq
	stp	x22, x8, [x19, #8]
	mov	w8, #100
	mul	w8, w21, w8
Lloh6:
	adrp	x9, _HASHMAP_LOAD_FACTOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HASHMAP_LOAD_FACTOR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	cmp	w8, w20
	b.ls	LBB0_3
; %bb.1:
Lloh9:
	adrp	x9, _HASHMAP_RESIZE_BITS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HASHMAP_RESIZE_BITS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w20, w20, w9
	cmp	w8, w20
	b.hi	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_table
	mov	w8, #1
	str	w8, [x19]
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HASHMAP_INITIAL_SIZE,4,2       ; @HASHMAP_INITIAL_SIZE
	.comm	_always_equal,8,3               ; @always_equal
	.comm	_HASHMAP_LOAD_FACTOR,4,2        ; @HASHMAP_LOAD_FACTOR
	.comm	_HASHMAP_RESIZE_BITS,4,2        ; @HASHMAP_RESIZE_BITS
.subsections_via_symbols
