	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_put                        ## -- Begin function map_put
	.p2align	4, 0x90
_map_put:                               ## @map_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_maybe_rehash
	movslq	(%r12), %r14
	decq	%r14
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_hash
	movq	8(%r12), %r13
	movslq	%eax, %rbx
	andq	%r14, %rbx
	movq	(%r13,%rbx,8), %rdi
	testq	%rdi, %rdi
	sete	%al
	je	LBB0_8
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	_TOMBSTONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	cmpq	%r15, %rdi
	je	LBB0_7
## %bb.2:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	testl	%eax, %eax
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.3:
	movl	%ebx, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r12d
	andl	%r14d, %r12d
	movslq	%r12d, %rbx
	movq	(%r13,%rbx,8), %rdi
	testq	%rdi, %rdi
	sete	%al
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r15, %rdi
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_4
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax,%rbx,8)
	jmp	LBB0_12
LBB0_6:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_7:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_8:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%r13,%rbx,8)
	movq	16(%r12), %rcx
	movq	%r15, (%rcx,%rbx,8)
	incl	28(%r12)
	testb	%al, %al
	je	LBB0_12
## %bb.9:
	incl	24(%r12)
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOMBSTONE,8,3                  ## @TOMBSTONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_put                        ; -- Begin function map_put
	.p2align	2
_map_put:                               ; @map_put
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_maybe_rehash
	ldrsw	x8, [x19]
	sub	x23, x8, #1
	mov	x0, x21
	bl	_hash
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x22, [x19, #8]
Lloh0:
	adrp	x8, _TOMBSTONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOMBSTONE@GOTPAGEOFF]
Lloh2:
	ldr	x25, [x8]
	sxtw	x8, w0
	and	x24, x8, x23
	ldr	x0, [x22, x24, lsl #3]
	cmp	x0, #0
	cset	w8, eq
	ccmp	x0, x25, #4, ne
	b.ne	LBB0_3
LBB0_1:
	lsl	x9, x24, #3
	str	x21, [x22, x9]
	ldr	x10, [x19, #16]
	str	x20, [x10, x9]
	ldr	w9, [x19, #28]
	add	w9, w9, #1
	str	w9, [x19, #28]
	cbz	w8, LBB0_8
; %bb.2:
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	b	LBB0_8
LBB0_3:
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.4:
	mov	x26, x24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w26, #1
	and	w26, w8, w23
	sxtw	x24, w26
	ldr	x0, [x22, w26, sxtw #3]
	cmp	x0, #0
	cset	w8, eq
	ccmp	x0, x25, #4, ne
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x21
	bl	_strcmp
	cbnz	w0, LBB0_5
LBB0_7:
	ldr	x8, [x19, #16]
	str	x20, [x8, x24, lsl #3]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TOMBSTONE,8,3                  ; @TOMBSTONE
.subsections_via_symbols
