	.file	"extr_sdbht.c_sdb_ht_internal_insert.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sdb_ht_internal_insert, @function
sdb_ht_internal_insert:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 72
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	sete	dl
	test	r12, r12
	sete	al
	or	dl, al
	jne	.L9
	mov	rbp, rdi
	test	rdi, rdi
	je	.L9
	pxor	xmm0, xmm0
	mov	rdi, rsi
	mov	r13d, ecx
	movaps	XMMWORD PTR [rsp], xmm0
	movaps	XMMWORD PTR 16[rsp], xmm0
	movaps	XMMWORD PTR 32[rsp], xmm0
	call	strdup@PLT
	mov	QWORD PTR 8[rsp], rax
	mov	r14, rax
	test	rax, rax
	je	.L3
	mov	rdi, r12
	call	strdup@PLT
	mov	QWORD PTR [rsp], rax
	test	rax, rax
	je	.L3
	mov	rdi, r14
.L4:
	mov	r8d, DWORD PTR [rdi]
	add	rdi, 4
	lea	esi, -16843009[r8]
	not	r8d
	and	esi, r8d
	and	esi, -2139062144
	je	.L4
	mov	edx, esi
	shr	edx, 16
	test	esi, 32896
	cmove	esi, edx
	lea	rdx, 2[rdi]
	cmove	rdi, rdx
	mov	ecx, esi
	add	cl, sil
	sbb	rdi, 3
	sub	rdi, r14
	mov	QWORD PTR 24[rsp], rdi
	mov	rdi, rax
.L6:
	mov	r8d, DWORD PTR [rdi]
	add	rdi, 4
	lea	esi, -16843009[r8]
	not	r8d
	and	esi, r8d
	and	esi, -2139062144
	je	.L6
	mov	QWORD PTR 32[rsp], 0
	mov	edx, esi
	shr	edx, 16
	test	esi, 32896
	cmove	esi, edx
	lea	rdx, 2[rdi]
	cmove	rdi, rdx
	mov	edx, r13d
	mov	ecx, esi
	add	cl, sil
	mov	rsi, rsp
	sbb	rdi, 3
	sub	rdi, rax
	mov	QWORD PTR 16[rsp], rdi
	mov	rdi, rbp
	call	ht_pp_insert_kv@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L22
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore_state
	mov	rdi, r14
	call	free@PLT
	mov	rdi, QWORD PTR [rsp]
	call	free@PLT
	xor	eax, eax
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sdb_ht_internal_insert, .-sdb_ht_internal_insert
	.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_sdbht.c_sdb_ht_internal_insert.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sdb_ht_internal_insert, %function
sdb_ht_internal_insert:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	clz	r4, r2
	cmp	r1, #0
	lsr	r4, r4, #5
	moveq	r4, #1
	cmp	r0, #0
	moveq	r4, #1
	mov	r7, r3
	ldr	r3, .L16
	sub	sp, sp, #32
	cmp	r4, #0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	movne	r0, #0
	beq	.L14
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r6, r0
	mov	r0, r1
	mov	r5, r2
	str	r4, [sp, #4]
	str	r4, [sp, #8]
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r4, [sp, #20]
	str	r4, [sp, #24]
	bl	strdup
	cmp	r0, #0
	mov	r8, r0
	str	r0, [sp, #8]
	beq	.L3
	mov	r0, r5
	bl	strdup
	cmp	r0, #0
	mov	r5, r0
	str	r0, [sp, #4]
	beq	.L3
	mov	r0, r8
	bl	strlen
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #16]
	bl	strlen
	mov	r3, r0
	mov	r2, r7
	mov	r0, r6
	add	r1, sp, #4
	str	r3, [sp, #12]
	str	r4, [sp, #20]
	bl	ht_pp_insert_kv
	b	.L1
.L3:
	mov	r0, r8
	bl	free
	ldr	r0, [sp, #4]
	bl	free
	mov	r0, #0
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	sdb_ht_internal_insert, .-sdb_ht_internal_insert
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
