	.file	"extr_zstd_ldm.c_ZSTD_ldm_makeEntryAndInsertByTag.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ZSTD_ldm_makeEntryAndInsertByTag, @function
ZSTD_ldm_makeEntryAndInsertByTag:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	mov	edx, r8d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	mov	esi, r14d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	edi, r13d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	ZSTD_ldm_getTag@PLT
	mov	ecx, r12d
	mov	r8d, eax
	mov	eax, 1
	sal	eax, cl
	sub	eax, 1
	cmp	r8d, eax
	je	.L5
	add	rsp, 8
	.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
.L5:
	.cfi_restore_state
	mov	esi, r14d
	mov	edi, r13d
	call	ZSTD_ldm_getSmallHash@PLT
	mov	esi, r14d
	mov	edi, r13d
	mov	r15d, eax
	call	ZSTD_ldm_getChecksum@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	edx, ebx
	mov	ecx, r12d
	sal	rax, 32
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	esi, r15d
	mov	rdi, rbp
	or	rdx, rax
	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
	jmp	ZSTD_ldm_insertEntry@PLT
	.cfi_endproc
.LFE0:
	.size	ZSTD_ldm_makeEntryAndInsertByTag, .-ZSTD_ldm_makeEntryAndInsertByTag
	.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_zstd_ldm.c_ZSTD_ldm_makeEntryAndInsertByTag.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ZSTD_ldm_makeEntryAndInsertByTag, %function
ZSTD_ldm_makeEntryAndInsertByTag:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	sub	sp, sp, #8
	ldr	r7, [sp, #32]
	mov	r1, r2
	mov	r5, r2
	mov	r6, r0
	mov	r2, r7
	mov	r0, r4
	mov	r8, r3
	bl	ZSTD_ldm_getTag
	mvn	r2, #0
	mvn	r2, r2, lsl r7
	cmp	r0, r2
	beq	.L5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r1, r5
	mov	r0, r4
	bl	ZSTD_ldm_getSmallHash
	mov	r3, r0
	mov	r1, r5
	mov	r0, r4
	mov	r4, r3
	bl	ZSTD_ldm_getChecksum
	mov	r1, r4
	str	r0, [sp, #4]
	mov	r0, r6
	str	r8, [sp]
	add	r3, sp, #8
	ldmdb	r3, {r2, r3}
	str	r7, [sp, #32]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	ZSTD_ldm_insertEntry
	.size	ZSTD_ldm_makeEntryAndInsertByTag, .-ZSTD_ldm_makeEntryAndInsertByTag
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
