	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ohash_resize
_ohash_resize:                          ## @ohash_resize
	.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	%rdi, %r14
	movl	(%rdi), %ecx
	movl	4(%rdi), %eax
	leal	(,%rcx,4), %edx
	cmpl	%eax, %edx
	jge	LBB0_2
## %bb.1:
	movl	8(%r14), %ecx
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %esi
	shrl	%esi
	leal	(%rcx,%rcx), %eax
	cmpl	%esi, %ecx
	cmovael	%edx, %eax
	jmp	LBB0_3
LBB0_2:
	leal	(%rcx,%rcx,2), %ecx
	addl	%eax, %eax
	cmpl	%eax, %ecx
	setg	%cl
	movl	8(%r14), %eax
	shrl	%cl, %eax
LBB0_3:
	movl	%eax, %ebx
	movq	_MINSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rbx, %rax
	cmovaq	%rax, %rbx
	movl	24(%r14), %edx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	*40(%r14)
	testq	%rax, %rax
	je	LBB0_25
## %bb.4:
	movq	%rax, %r15
	movl	8(%r14), %r8d
	testq	%r8, %r8
	je	LBB0_5
## %bb.6:
	movq	16(%r14), %rdi
	leaq	-2(%rbx), %r9
	xorl	%r13d, %r13d
	movq	_DELETED@GOTPCREL(%rip), %r11
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r15,%rax), %rdx
	addq	$8, %rdx
	movl	%esi, %ecx
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	shlq	$4, %rcx
	movq	%r10, (%r15,%rcx)
	movq	%r12, (%rdx)
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	cmpq	%r8, %r13
	je	LBB0_24
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	%r13, %rax
	shlq	$4, %rax
	movq	8(%rdi,%rax), %r12
	testq	%r12, %r12
	je	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	(%r11), %r12
	je	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rdi,%rax), %r10
	movq	%r10, %rax
	orq	%rbx, %rax
	shrq	$32, %rax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r10, %rax
	xorl	%edx, %edx
	divq	%rbx
	movq	%rdx, %rsi
	jmp	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r10d, %eax
	xorl	%edx, %edx
	divl	%ebx
	movl	%edx, %esi
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r10, %rax
	orq	%r9, %rax
	shrq	$32, %rax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r10, %rax
	xorl	%edx, %edx
	divq	%r9
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r10d, %eax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%esi, %ecx
	movq	%rcx, %rax
	shlq	$4, %rax
	cmpq	$0, 8(%r15,%rax)
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	orl	$1, %edx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=2
	subl	%eax, %esi
	movq	%rsi, %rax
	shlq	$4, %rax
	cmpq	$0, 8(%r15,%rax)
	je	LBB0_21
LBB0_18:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	%edx, %esi
	xorl	%eax, %eax
	cmpq	%rsi, %rbx
	ja	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	%ebx, %eax
	jmp	LBB0_20
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r15,%rax), %rdx
	addq	$8, %rdx
	jmp	LBB0_22
LBB0_5:
	movq	16(%r14), %rdi
LBB0_24:
	movl	24(%r14), %esi
	callq	*32(%r14)
	movq	%r15, 16(%r14)
	movl	%ebx, 8(%r14)
	movl	(%r14), %eax
	subl	%eax, 4(%r14)
	movl	$0, (%r14)
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.comm	_MINSIZE,8,3                    ## @MINSIZE
	.comm	_DELETED,8,3                    ## @DELETED
	.comm	_STAT_HASH_EXPAND,4,2           ## @STAT_HASH_EXPAND
	.comm	_STAT_HASH_SIZE,4,2             ## @STAT_HASH_SIZE
	.no_dead_strip	_ohash_resize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ohash_resize
_ohash_resize:                          ; @ohash_resize
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w8, w9, [x0]
	cmp	w9, w8, lsl #2
	b.le	LBB0_2
; %bb.1:
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _UINT_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UINT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w10, w8, #1
	cmp	w8, w9, lsr #1
	csel	w8, w10, w9, lo
	b	LBB0_3
LBB0_2:
	add	w8, w8, w8, lsl #1
	cmp	w8, w9, lsl #1
	cset	w8, gt
	ldr	w9, [x19, #8]
	lsr	w8, w9, w8
LBB0_3:
Lloh3:
	adrp	x9, _MINSIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MINSIZE@GOTPAGEOFF]
	mov	w8, w8
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	csel	x20, x9, x8, hi
	ldr	x8, [x19, #40]
	ldr	w2, [x19, #24]
	mov	x0, x20
	mov	w1, #16
	blr	x8
	cbz	x0, LBB0_15
; %bb.4:
	mov	x21, x0
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_13
; %bb.5:
	mov	x9, #0
	ldr	x0, [x19, #16]
	sub	x10, x20, #2
Lloh6:
	adrp	x11, _DELETED@GOTPAGE
Lloh7:
	ldr	x11, [x11, _DELETED@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	and	x15, x15, #0xffffffff
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	lsl	x15, x15, #4
	str	x13, [x21, x15]
	str	x12, [x14]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_14
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	add	x12, x0, x9, lsl #4
	ldr	x12, [x12, #8]
	ldr	x13, [x11]
	cmp	x12, #0
	ccmp	x12, x13, #4, ne
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	lsl	x13, x9, #4
	ldr	x13, [x0, x13]
	udiv	x14, x13, x20
	msub	x15, x14, x20, x13
	add	x14, x21, w15, uxtw #4
	ldr	x16, [x14, #8]!
	cbz	x16, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	udiv	x14, x13, x10
	msub	w14, w14, w10, w13
	orr	w16, w14, #0x1
                                        ; kill: def $w15 killed $w15 killed $x15 def $x15
LBB0_12:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w14, w15, w16
	cmp	x20, x14
	csel	w15, wzr, w20, hi
	sub	w15, w14, w15
	add	x14, x21, w15, uxtw #4
	ldr	x17, [x14, #8]!
	cbnz	x17, LBB0_12
	b	LBB0_7
LBB0_13:
	ldr	x0, [x19, #16]
LBB0_14:
	ldr	x8, [x19, #32]
	ldr	w1, [x19, #24]
	blr	x8
	str	x21, [x19, #16]
	ldp	w8, w9, [x19]
	sub	w8, w9, w8
	stp	w8, w20, [x19, #4]
	str	wzr, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.comm	_MINSIZE,8,3                    ; @MINSIZE
	.comm	_DELETED,8,3                    ; @DELETED
	.comm	_STAT_HASH_EXPAND,4,2           ; @STAT_HASH_EXPAND
	.comm	_STAT_HASH_SIZE,4,2             ; @STAT_HASH_SIZE
	.no_dead_strip	_ohash_resize
.subsections_via_symbols
