	.file	"extr_map.c_map_put.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	map_put
	.type	map_put, @function
map_put:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 16[rsp], rdi
	mov	QWORD PTR 24[rsp], rdx
	call	maybe_rehash@PLT
	mov	eax, DWORD PTR [r15]
	mov	rdi, rbx
	lea	ebp, -1[rax]
	mov	DWORD PTR 12[rsp], eax
	call	hash@PLT
	mov	r12, QWORD PTR 8[r15]
	and	eax, ebp
	movsx	rcx, eax
	lea	r15, 0[0+rcx*8]
	lea	rax, [r12+r15]
	mov	rdi, QWORD PTR [rax]
	test	rdi, rdi
	je	.L2
	mov	r13, QWORD PTR TOMBSTONE[rip]
	mov	r14, rcx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, rbx
	call	strcmp@PLT
	test	eax, eax
	je	.L15
	lea	edx, 1[r14]
	and	edx, ebp
	movsx	rcx, edx
	lea	r15, 0[0+rcx*8]
	mov	r14, rcx
	lea	rax, [r12+r15]
	mov	rdi, QWORD PTR [rax]
	test	rdi, rdi
	je	.L2
.L6:
	cmp	r13, rdi
	jne	.L16
	mov	QWORD PTR [rax], rbx
	mov	rbx, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR 24[rsp]
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR [rax+r15], rsi
	add	DWORD PTR 28[rbx], 1
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rsp]
	mov	rbx, QWORD PTR 24[rsp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR [rax+r15], rbx
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, QWORD PTR 16[rsp]
	mov	QWORD PTR [rax], rbx
	mov	rbx, QWORD PTR 24[rsp]
	mov	rax, QWORD PTR 16[rsi]
	mov	QWORD PTR [rax+r15], rbx
	add	DWORD PTR 28[rsi], 1
	add	DWORD PTR 24[rsi], 1
	add	rsp, 40
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	map_put, .-map_put
	.comm	TOMBSTONE,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_map.c_map_put.c"
	.text
	.align	2
	.global	map_put
	.syntax unified
	.arm
	.fpu softvfp
	.type	map_put, %function
map_put:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r1
	mov	r9, r0
	mov	r10, r2
	bl	maybe_rehash
	mov	r0, r5
	ldr	r6, [r9]
	bl	hash
	sub	r6, r6, #1
	ldr	fp, [r9, #4]
	and	r4, r0, r6
	ldr	r0, [fp, r4, lsl #2]
	lsl	r7, r4, #2
	cmp	r0, #0
	add	r3, fp, r4, lsl #2
	beq	.L2
	ldr	r2, .L17
	ldr	r8, [r2]
	b	.L6
.L16:
	mov	r1, r5
	bl	strcmp
	add	r4, r4, #1
	cmp	r0, #0
	and	r4, r4, r6
	beq	.L15
	ldr	r0, [fp, r4, lsl #2]
	lsl	r7, r4, #2
	cmp	r0, #0
	add	r3, fp, r4, lsl #2
	beq	.L2
.L6:
	cmp	r8, r0
	bne	.L16
	str	r5, [r3]
	ldr	r3, [r9, #16]
	ldr	r2, [r9, #8]
	add	r3, r3, #1
	str	r10, [r2, r7]
	str	r3, [r9, #16]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	ldr	r3, [r9, #8]
	str	r10, [r3, r7]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	str	r5, [r3]
	ldr	r2, [r9, #16]
	ldr	r3, [r9, #12]
	ldr	r1, [r9, #8]
	add	r2, r2, #1
	add	r3, r3, #1
	str	r10, [r1, r7]
	str	r2, [r9, #16]
	str	r3, [r9, #12]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	.align	2
.L17:
	.word	TOMBSTONE
	.size	map_put, .-map_put
	.comm	TOMBSTONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
