	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ht_put
_ht_put:                                ## @ht_put
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.1:
	movq	%rcx, %r12
	movq	%rsi, %rbx
	cmpq	$0, 16(%rsi)
	je	LBB0_2
## %bb.27:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ht_index_put                   ## TAILCALL
LBB0_2:
	movq	32(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_16
## %bb.3:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r15), %r15
	testq	%r15, %r15
	je	LBB0_13
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	cmpq	$0, (%r15)
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%r14
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	addq	$16, %r13
	leaq	1(%r12), %rax
	cmpq	(%r15), %r12
	movq	%rax, %r12
	jae	LBB0_12
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rax
	movq	8(%rax,%r13), %rbx
	cmpq	$0, 16(%r15)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	leaq	-1(%r12), %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpq	(%rdx), %rcx
	jae	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	%rbx, %rdi
	callq	_mrb_undef_p
	testq	%rax, %rax
	jne	LBB0_10
## %bb.24:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_ht_hash_equal
	testq	%rax, %rax
	je	LBB0_11
## %bb.25:
	movq	8(%r15), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax,%r13)
	jmp	LBB0_26
LBB0_8:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rax,%r13)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax,%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	incq	8(%rax)
	jmp	LBB0_26
LBB0_13:
	testq	%r14, %r14
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_16
## %bb.14:
	movq	_MRB_HT_INIT_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jbe	LBB0_16
## %bb.15:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ht_compact
LBB0_16:
	incq	8(%rbx)
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	(%rbx), %rcx
	cmpq	(%rax), %rcx
	jb	LBB0_21
LBB0_18:
	leaq	32(%rbx), %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_segment_alloc
	cmpq	$0, (%r14)
	je	LBB0_20
## %bb.19:
	movq	24(%rbx), %r14
	addq	$16, %r14
LBB0_20:
	movq	%rax, (%r14)
	movq	%rax, 24(%rbx)
	xorl	%ecx, %ecx
LBB0_21:
	movq	8(%rax), %rax
	movq	%rcx, %rdx
	shlq	$4, %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, 8(%rax,%rdx)
	movq	%r12, (%rax,%rdx)
	incq	%rcx
	movq	%rcx, (%rbx)
	cmpq	$0, 16(%rbx)
	jne	LBB0_26
## %bb.22:
	movq	_MRB_HT_INIT_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$2, %rax
	cmpq	%rax, 8(%rbx)
	jbe	LBB0_26
## %bb.23:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ht_index                       ## TAILCALL
LBB0_26:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MRB_HT_INIT_SIZE,8,3           ## @MRB_HT_INIT_SIZE
	.no_dead_strip	_ht_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ht_put
_ht_put:                                ; @ht_put
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x1, LBB0_27
; %bb.1:
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ht_index_put
LBB0_3:
	mov	x24, x19
	ldr	x25, [x24, #32]!
	cbz	x25, LBB0_19
; %bb.4:
	mov	x26, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x25, [x25, #16]
	cbz	x25, LBB0_16
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x8, [x25]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, #0
	mov	w28, #1
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x26, x26, #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x25]
	add	x27, x27, #16
	add	x9, x28, #1
	cmp	x28, x8
	mov	x28, x9
	b.hs	LBB0_5
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x8, x9, [x25, #8]
	add	x10, x8, x27
	ldr	x23, [x10, #8]
	cbnz	x9, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	sub	x9, x28, #1
	ldr	x10, [x19]
	cmp	x9, x10
	b.hs	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x23
	bl	_mrb_undef_p
	cbnz	x0, LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x22
	bl	_ht_hash_equal
	cbz	x0, LBB0_9
; %bb.14:
	ldr	x8, [x25, #8]
	str	x21, [x8, x27]
	b	LBB0_27
LBB0_15:
	add	x8, x8, x27
	stp	x21, x22, [x8]
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	stp	x28, x8, [x19]
	b	LBB0_27
LBB0_16:
	cbz	x26, LBB0_19
; %bb.17:
Lloh0:
	adrp	x8, _MRB_HT_INIT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MRB_HT_INIT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x26, x8
	b.ls	LBB0_19
; %bb.18:
	mov	x0, x20
	mov	x1, x19
	bl	_ht_compact
LBB0_19:
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	ldr	x1, [x19, #24]
	cbz	x1, LBB0_21
; %bb.20:
	ldr	x8, [x19]
	ldr	x9, [x1]
	cmp	x8, x9
	b.lo	LBB0_24
LBB0_21:
	mov	x0, x20
	bl	_segment_alloc
	mov	x1, x0
	ldr	x8, [x24]
	cbz	x8, LBB0_23
; %bb.22:
	ldr	x8, [x19, #24]
	add	x24, x8, #16
LBB0_23:
	mov	x8, #0
	str	x1, [x24]
	str	x1, [x19, #24]
LBB0_24:
	ldr	x9, [x1, #8]
	add	x9, x9, x8, lsl #4
	stp	x21, x22, [x9]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_27
; %bb.25:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _MRB_HT_INIT_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MRB_HT_INIT_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9, lsl #2
	b.ls	LBB0_27
; %bb.26:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ht_index
LBB0_27:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MRB_HT_INIT_SIZE,8,3           ; @MRB_HT_INIT_SIZE
	.no_dead_strip	_ht_put
.subsections_via_symbols
