	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_table_grow                     ## -- Begin function table_grow
	.p2align	4, 0x90
_table_grow:                            ## @table_grow
	.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
	cmpl	$-1, (%rdi)
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r13
	movl	4(%rdi), %r15d
	addl	%r15d, %r15d
	movl	%r15d, %edi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_bin_init
	movl	(%r13), %eax
	leal	(%rax,%rax), %edx
	incl	%edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	callq	_bin_split
	leaq	16(%r13), %r12
	movq	8(%r13), %rsi
	movq	%r12, %rdi
	callq	_lock_unprotect
	cmpl	$0, 4(%r13)
	je	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdi
	addq	%rbx, %rdi
	callq	_lock_quick_destroy
	incq	%r15
	movslq	4(%r13), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jb	LBB0_7
LBB0_8:
	movq	8(%r13), %rdi
	callq	_free
	movl	4(%r13), %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, 4(%r13)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r13)
	movq	%r14, 8(%r13)
	shll	$3, %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lock_protect                   ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_log_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hash array malloc: size_t too small"

L_.str.1:                               ## @.str.1
	.asciz	"hash grow: malloc failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_table_grow                     ; -- Begin function table_grow
	.p2align	2
_table_grow:                            ; @table_grow
	.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
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #4]
	lsl	w21, w8, #1
	mov	x0, x21
	mov	w1, #4
	bl	_calloc
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
	mov	x1, x21
	bl	_bin_init
	ldr	w8, [x19]
	mov	w21, #1
	bfi	w21, w8, #1, #31
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_bin_split
	add	x22, x19, #16
	ldr	x1, [x19, #8]
	mov	x0, x22
	bl	_lock_unprotect
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_5
; %bb.3:
	mov	x23, #0
	mov	x24, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x23
	bl	_lock_quick_destroy
	add	x24, x24, #1
	ldrsw	x8, [x19, #4]
	add	x23, x23, #4
	cmp	x24, x8
	b.lo	LBB0_4
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_free
	ldr	w8, [x19, #4]
	lsl	w9, w8, #1
	stp	w21, w9, [x19]
	str	x20, [x19, #8]
	lsl	w2, w8, #3
	mov	x0, x22
	mov	x1, x20
	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
	b	_lock_protect
LBB0_6:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	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
	b	_log_err
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hash array malloc: size_t too small"

l_.str.1:                               ; @.str.1
	.asciz	"hash grow: malloc failed"

.subsections_via_symbols
