	.file	"extr_jfs_imap.c_duplicateIXtree.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	duplicateIXtree, @function
duplicateIXtree:
.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
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edx
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	JFS_SBI@PLT
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR JFS_BAD_SAIT[rip], eax
	je	.L11
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR FILESYSTEM_I[rip]
	mov	edx, 1
	mov	rdi, rbp
	call	diReadSpecial@PLT
	mov	QWORD PTR 16[rsp], rax
	test	rax, rax
	je	.L13
	mov	esi, DWORD PTR COMMIT_FORCE[rip]
	mov	rdi, rbp
	call	txBegin@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	ecx, r12d
	xor	edx, edx
	push	0
	.cfi_def_cfa_offset 96
	mov	rsi, QWORD PTR 32[rsp]
	mov	r9, r13
	mov	r8d, ebx
	mov	edi, eax
	mov	r14d, eax
	call	xtInsert@PLT
	pop	rdx
	.cfi_def_cfa_offset 88
	pop	rcx
	.cfi_def_cfa_offset 80
	test	rax, rax
	jne	.L14
	mov	rdi, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR PSIZE[rip]
	add	DWORD PTR [rdi], esi
	call	inode_add_bytes@PLT
	mov	ecx, DWORD PTR COMMIT_FORCE[rip]
	lea	rdx, 16[rsp]
	mov	edi, r14d
	mov	esi, 1
	call	txCommit@PLT
.L6:
	mov	edi, r14d
	call	txEnd@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	diFreeSpecial@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, rbp
	call	JFS_SBI@PLT
	mov	edx, DWORD PTR JFS_BAD_SAIT[rip]
	lea	rsi, 8[rsp]
	mov	rdi, rbp
	or	DWORD PTR [rax], edx
	call	readSuper@PLT
	test	rax, rax
	jne	.L1
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR JFS_BAD_SAIT[rip]
	mov	rbx, QWORD PTR [rax]
	call	cpu_to_le32@PLT
	mov	rdi, QWORD PTR 8[rsp]
	or	DWORD PTR [rbx], eax
	call	mark_buffer_dirty@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	sync_dirty_buffer@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	brelse@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, rbp
	call	JFS_SBI@PLT
	mov	edx, DWORD PTR JFS_BAD_SAIT[rip]
	mov	esi, 1
	mov	edi, r14d
	or	DWORD PTR [rax], edx
	call	txAbort@PLT
	jmp	.L6
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	duplicateIXtree, .-duplicateIXtree
	.comm	PSIZE,8,8
	.comm	JFS_BAD_SAIT,4,4
	.comm	FILESYSTEM_I,4,4
	.comm	COMMIT_FORCE,4,4
	.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_jfs_imap.c_duplicateIXtree.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	duplicateIXtree, %function
duplicateIXtree:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r3
	ldr	r3, .L15
	sub	sp, sp, #32
	mov	r6, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r5, r0
	bl	JFS_SBI
	ldr	r9, .L15+4
	ldr	lr, [r0]
	ldr	ip, [r9]
	ands	r4, lr, ip
	beq	.L11
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	ldr	r3, .L15+8
	mov	r2, #1
	mov	r0, r5
	ldr	r1, [r3]
	bl	diReadSpecial
	cmp	r0, #0
	str	r0, [sp, #24]
	beq	.L13
	ldr	r10, .L15+12
	mov	r0, r5
	ldr	r1, [r10]
	bl	txBegin
	mov	r2, r4
	str	r4, [sp, #8]
	mov	r3, r6
	stm	sp, {r7, r8}
	ldr	r1, [sp, #24]
	mov	r4, r0
	bl	xtInsert
	cmp	r0, #0
	bne	.L14
	ldr	r0, [sp, #24]
	ldr	r2, .L15+16
	ldr	r3, [r0]
	ldr	r1, [r2]
	add	r3, r3, r1
	str	r3, [r0]
	bl	inode_add_bytes
	mov	r1, #1
	mov	r0, r4
	ldr	r3, [r10]
	add	r2, sp, #24
	bl	txCommit
.L6:
	mov	r0, r4
	bl	txEnd
	ldr	r0, [sp, #24]
	bl	diFreeSpecial
	b	.L1
.L13:
	mov	r0, r5
	bl	JFS_SBI
	mov	r3, r0
	ldr	r1, [r9]
	ldr	r2, [r0]
	mov	r0, r5
	orr	r2, r2, r1
	str	r2, [r3]
	add	r1, sp, #20
	bl	readSuper
	cmp	r0, #0
	bne	.L1
	ldr	r3, [sp, #20]
	ldr	r0, [r9]
	ldr	r4, [r3]
	bl	cpu_to_le32
	mov	r2, r0
	ldr	r3, [r4]
	ldr	r0, [sp, #20]
	orr	r3, r3, r2
	str	r3, [r4]
	bl	mark_buffer_dirty
	ldr	r0, [sp, #20]
	bl	sync_dirty_buffer
	ldr	r0, [sp, #20]
	bl	brelse
	b	.L1
.L14:
	mov	r0, r5
	bl	JFS_SBI
	ldr	r2, [r9]
	ldr	r3, [r0]
	mov	r1, #1
	orr	r3, r3, r2
	str	r3, [r0]
	mov	r0, r4
	bl	txAbort
	b	.L6
.L12:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	JFS_BAD_SAIT
	.word	FILESYSTEM_I
	.word	COMMIT_FORCE
	.word	PSIZE
	.size	duplicateIXtree, .-duplicateIXtree
	.comm	PSIZE,4,4
	.comm	JFS_BAD_SAIT,4,4
	.comm	FILESYSTEM_I,4,4
	.comm	COMMIT_FORCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
