	.file	"extr_dnode.c_hpfs_add_de.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"name (%c,%d) already exists in dnode %08x"
	.text
	.p2align 4
	.globl	hpfs_add_de
	.type	hpfs_add_de, @function
hpfs_add_de:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], r8
	call	dnode_end_de@PLT
	mov	rsi, r15
	mov	edi, r12d
	mov	rbx, rax
	call	de_size@PLT
	mov	rdi, r14
	mov	DWORD PTR 4[rsp], eax
	call	dnode_first_de@PLT
	mov	r15, rax
	cmp	rbx, rax
	ja	.L5
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	js	.L2
	mov	rdi, r15
	call	de_next_de@PLT
	mov	r15, rax
	cmp	rbx, rax
	jbe	.L2
.L5:
	mov	ecx, DWORD PTR 8[r15]
	mov	r9d, DWORD PTR 20[r15]
	mov	edx, r12d
	mov	rsi, rbp
	mov	r8d, DWORD PTR [r15]
	mov	rdi, r13
	call	hpfs_compare_names@PLT
	test	eax, eax
	jne	.L3
	mov	edi, DWORD PTR 4[r14]
	xor	r15d, r15d
	call	le32_to_cpu@PLT
	movzx	edx, BYTE PTR 0[rbp]
	mov	ecx, r12d
	mov	rdi, r13
	mov	r8d, eax
	lea	rsi, .LC0[rip]
	call	hpfs_error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r13d, DWORD PTR 4[rsp]
	sub	rbx, r15
	mov	rsi, r15
	mov	rdx, rbx
	lea	rdi, [r15+r13]
	call	memmove@PLT
	mov	edx, DWORD PTR 4[rsp]
	xor	esi, esi
	mov	rdi, r15
	call	memset@PLT
	cmp	QWORD PTR 8[rsp], 0
	jne	.L13
.L6:
	mov	ebx, DWORD PTR 4[rsp]
	mov	edi, ebx
	call	cpu_to_le16@PLT
	mov	esi, r12d
	mov	rdi, rbp
	mov	DWORD PTR 16[r15], eax
	call	hpfs_is_name_long@PLT
	mov	DWORD PTR [r15], r12d
	mov	edi, DWORD PTR 8[r15]
	mov	rsi, rbp
	mov	DWORD PTR 12[r15], eax
	mov	edx, r12d
	call	memcpy@PLT
	mov	esi, ebx
	mov	rdi, r14
	call	le32_add_cpu@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r15
	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
.L13:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsp]
	lea	rbx, -4[r15+r13]
	call	cpu_to_le32@PLT
	mov	DWORD PTR [rbx], eax
	mov	DWORD PTR 4[r15], 1
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	hpfs_add_de, .-hpfs_add_de
	.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_dnode.c_hpfs_add_de.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"name (%c,%d) already exists in dnode %08x\000"
	.text
	.align	2
	.global	hpfs_add_de
	.syntax unified
	.arm
	.fpu softvfp
	.type	hpfs_add_de, %function
hpfs_add_de:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	sub	sp, sp, #12
	mov	r0, r1
	mov	r6, r3
	mov	r10, r1
	mov	r7, r2
	bl	dnode_end_de
	ldr	r1, [sp, #48]
	mov	r8, r0
	mov	r0, r6
	bl	de_size
	mov	fp, r0
	mov	r0, r10
	bl	dnode_first_de
	cmp	r8, r0
	mov	r4, r0
	bhi	.L5
	b	.L2
.L3:
	blt	.L2
	mov	r0, r4
	bl	de_next_de
	cmp	r8, r0
	mov	r4, r0
	bls	.L2
.L5:
	ldr	r2, [r4, #20]
	ldr	r3, [r4, #8]
	str	r2, [sp, #4]
	ldr	r2, [r4]
	mov	r1, r7
	str	r2, [sp]
	mov	r0, r9
	mov	r2, r6
	bl	hpfs_compare_names
	subs	r5, r0, #0
	bne	.L3
	ldrb	r4, [r7]	@ zero_extendqisi2
	ldr	r0, [r10, #4]
	bl	le32_to_cpu
	mov	r2, r4
	mov	r4, r5
	str	r0, [sp]
	mov	r3, r6
	mov	r0, r9
	ldr	r1, .L14
	bl	hpfs_error
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r1, r4
	sub	r2, r8, r4
	add	r0, r4, fp
	bl	memmove
	mov	r2, fp
	mov	r1, #0
	mov	r0, r4
	bl	memset
	ldr	r3, [sp, #48]
	cmp	r3, #0
	bne	.L13
.L6:
	mov	r0, fp
	bl	cpu_to_le16
	mov	r1, r6
	str	r0, [r4, #16]
	mov	r0, r7
	bl	hpfs_is_name_long
	mov	r2, r6
	mov	r1, r7
	str	r0, [r4, #12]
	str	r6, [r4]
	ldr	r0, [r4, #8]
	bl	memcpy
	mov	r1, fp
	mov	r0, r10
	bl	le32_add_cpu
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	mov	r0, r3
	bl	cpu_to_le32
	mov	r3, #1
	sub	r2, fp, #4
	str	r0, [r4, r2]
	str	r3, [r4, #4]
	b	.L6
.L15:
	.align	2
.L14:
	.word	.LC0
	.size	hpfs_add_de, .-hpfs_add_de
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
