	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function maybe_rehash
LCPI0_0:
	.quad	0x3fe6666666666666              ## double 0.69999999999999996
LCPI0_1:
	.quad	0x3fd6666666666666              ## double 0.34999999999999998
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_maybe_rehash:                          ## @maybe_rehash
	.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	%rdi, %r15
	movq	(%rdi), %r13
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movl	16(%r15), %r14d
	cvtsi2sd	%r14d, %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	ucomisd	24(%r15), %xmm1
	ja	LBB0_13
## %bb.3:
	movsd	32(%r15), %xmm1                 ## xmm1 = mem[0],zero
	movsd	%xmm1, -48(%rbp)                ## 8-byte Spill
	mulsd	LCPI0_1(%rip), %xmm0
	ucomisd	%xmm1, %xmm0
	setbe	%cl
	movl	%r14d, %r12d
	shll	%cl, %r12d
	movl	%r12d, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %rbx
	movl	%r12d, %edi
	movl	$8, %esi
	callq	_calloc
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_12
## %bb.4:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	decl	%r12d
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movslq	%r14d, %rax
	cmpq	%rax, %r15
	jge	LBB0_11
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	(%r13,%r15,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_TOMBSTONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	callq	_hash
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	andl	%r12d, %eax
	movslq	%eax, %rcx
	leal	1(%rcx), %eax
	cmpq	$0, (%rbx,%rcx,8)
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %r13
	movq	(%r13,%r15,8), %rax
	movq	%rax, (%rbx,%rcx,8)
	movq	8(%rdx), %rax
	movq	(%rax,%r15,8), %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, (%rsi,%rcx,8)
	movl	16(%rdx), %r14d
	jmp	LBB0_10
LBB0_1:
	movq	_INIT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, (%r15)
	movl	%ebx, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, 8(%r15)
	movl	%ebx, 16(%r15)
	jmp	LBB0_13
LBB0_11:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movsd	32(%r15), %xmm0                 ## xmm0 = mem[0],zero
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_12:
	movq	%rbx, (%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movl	%r12d, 16(%r15)
	movsd	%xmm0, 24(%r15)
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INIT_SIZE,4,2                  ## @INIT_SIZE
	.comm	_TOMBSTONE,8,3                  ## @TOMBSTONE
	.no_dead_strip	_maybe_rehash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function maybe_rehash
_maybe_rehash:                          ; @maybe_rehash
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
	ldr	x23, [x0]
	cbz	x23, LBB0_9
; %bb.1:
	ldr	d1, [x19, #24]
	ldr	w24, [x19, #16]
	scvtf	d0, w24
	mov	x8, #7378697629483820646
	movk	x8, #16358, lsl #48
	fmov	d2, x8
	fmul	d2, d0, d2
	fcmp	d1, d2
	b.mi	LBB0_12
; %bb.2:
	ldr	d8, [x19, #32]
	mov	x8, #7378697629483820646
	movk	x8, #16342, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fcmp	d8, d0
	cset	w8, pl
	lsl	w20, w24, w8
	mov	x0, x20
	mov	w1, #8
	bl	_calloc
	mov	x21, x0
	mov	x0, x20
	mov	w1, #8
	bl	_calloc
	mov	x22, x0
	cmp	w24, #1
	b.lt	LBB0_11
; %bb.3:
	mov	x25, #0
	sub	w26, w20, #1
Lloh0:
	adrp	x27, _TOMBSTONE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _TOMBSTONE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	cmp	x25, w24, sxtw
	b.ge	LBB0_10
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x0, [x23, x25, lsl #3]
	ldr	x8, [x27]
	cmp	x0, #0
	ccmp	x0, x8, #4, ne
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_hash
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w8, w0, w26
	ldr	x9, [x21, w8, sxtw #3]
	add	w0, w8, #1
	cbnz	x9, LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x8, w8
	lsl	x8, x8, #3
	lsl	x9, x25, #3
	ldp	x23, x10, [x19]
	ldr	x11, [x23, x9]
	str	x11, [x21, x8]
	ldr	x9, [x10, x9]
	str	x9, [x22, x8]
	ldr	w24, [x19, #16]
	b	LBB0_4
LBB0_9:
Lloh2:
	adrp	x8, _INIT_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INIT_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	mov	x0, x20
	mov	w1, #8
	bl	_calloc
	str	x0, [x19]
	mov	x0, x20
	mov	w1, #8
	bl	_calloc
	str	x0, [x19, #8]
	str	w20, [x19, #16]
	b	LBB0_12
LBB0_10:
	ldr	d8, [x19, #32]
LBB0_11:
	stp	x21, x22, [x19]
	str	w20, [x19, #16]
	str	d8, [x19, #24]
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_INIT_SIZE,4,2                  ; @INIT_SIZE
	.comm	_TOMBSTONE,8,3                  ; @TOMBSTONE
	.no_dead_strip	_maybe_rehash
.subsections_via_symbols
