	.file	"extr_jfs_txnmgr.c_mapLog.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"mapLog: xaddr:0x%lx xlen:0x%x"
	.text
	.p2align 4
	.type	mapLog, @function
mapLog:
.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	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	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	eax, DWORD PTR [rcx]
	test	DWORD PTR tlckRELOCATE[rip], eax
	jne	.L11
	mov	edi, DWORD PTR LOG_UPDATEMAP[rip]
	call	cpu_to_le16@PLT
	mov	QWORD PTR 40[rbp], rax
	mov	eax, DWORD PTR 8[r14]
	test	eax, eax
	jle	.L4
	sub	eax, 1
	lea	rbx, 16[r14]
	lea	r15, .LC0[rip]
	lea	rax, [rax+rax*2]
	lea	rax, 28[r14+rax*4]
	mov	QWORD PTR 8[rsp], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR LOG_ALLOCPXD[rip]
	call	cpu_to_le16@PLT
	mov	QWORD PTR 24[rbp], rax
.L6:
	mov	edi, 1
	call	cpu_to_le16@PLT
	xor	ecx, ecx
	mov	rdx, rbp
	mov	rsi, r13
	mov	QWORD PTR 16[rbp], rax
	mov	eax, DWORD PTR [rbx]
	mov	rdi, r12
	mov	DWORD PTR 8[rbp], eax
	call	lmLog@PLT
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	rdi, rbx
	mov	QWORD PTR 0[rbp], rax
	call	lengthPXD@PLT
	mov	rdi, rbx
	add	rbx, 12
	mov	DWORD PTR 4[rsp], eax
	call	addressPXD@PLT
	mov	edx, DWORD PTR 4[rsp]
	mov	rdi, r15
	mov	rsi, rax
	call	jfs_info@PLT
	cmp	rbx, QWORD PTR 8[rsp]
	je	.L4
.L7:
	mov	eax, DWORD PTR -4[rbx]
	test	DWORD PTR mlckALLOCPXD[rip], eax
	jne	.L12
	mov	edi, DWORD PTR LOG_FREEPXD[rip]
	call	cpu_to_le16@PLT
	mov	QWORD PTR 24[rbp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR tlckUPDATEMAP[rip]
	or	DWORD PTR 4[r14], eax
	add	rsp, 24
	.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
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR LOG_NOREDOPAGE[rip]
	call	cpu_to_le16@PLT
	mov	rdx, rbp
	mov	rsi, r13
	xor	ecx, ecx
	mov	QWORD PTR 40[rbp], rax
	mov	eax, DWORD PTR 16[r14]
	mov	rdi, r12
	mov	DWORD PTR 32[rbp], eax
	call	lmLog@PLT
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	edi, DWORD PTR LOG_UPDATEMAP[rip]
	mov	QWORD PTR 0[rbp], rax
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR LOG_FREEPXD[rip]
	mov	QWORD PTR 40[rbp], rax
	call	cpu_to_le16@PLT
	mov	edi, 1
	mov	QWORD PTR 24[rbp], rax
	call	cpu_to_le16@PLT
	mov	rdx, rbp
	mov	rsi, r13
	mov	rdi, r12
	mov	QWORD PTR 16[rbp], rax
	mov	eax, DWORD PTR 16[r14]
	xor	ecx, ecx
	mov	DWORD PTR 8[rbp], eax
	call	lmLog@PLT
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	QWORD PTR 0[rbp], rax
	mov	eax, DWORD PTR tlckUPDATEMAP[rip]
	or	DWORD PTR 4[r14], eax
	add	rsp, 24
	.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	mapLog, .-mapLog
	.comm	tlckUPDATEMAP,4,4
	.comm	tlckRELOCATE,4,4
	.comm	mlckALLOCPXD,4,4
	.comm	LOG_UPDATEMAP,4,4
	.comm	LOG_NOREDOPAGE,4,4
	.comm	LOG_FREEPXD,4,4
	.comm	LOG_ALLOCPXD,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_txnmgr.c_mapLog.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mapLog: xaddr:0x%lx xlen:0x%x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mapLog, %function
mapLog:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r3
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	str	r3, [sp, #4]
	ldr	r3, .L12
	ldr	r7, [ip]
	ldr	r3, [r3]
	mov	r8, r0
	ands	r7, r7, r3
	mov	r9, r1
	mov	r4, r2
	bne	.L11
	ldr	r3, .L12+4
	ldr	r5, [sp, #4]
	ldr	r0, [r3]
	bl	cpu_to_le16
	ldr	r3, [r5, #8]
	add	r6, r5, #8
	cmp	r3, #0
	str	r3, [sp]
	str	r0, [r4, #20]
	ble	.L4
	ldr	fp, .L12+8
	ldr	r10, .L12+12
.L7:
	ldr	r3, [fp]
	ldr	r2, [r6, #4]
	mov	r5, r6
	tst	r2, r3
	ldrne	r3, .L12+16
	ldreq	r3, .L12+20
	add	r7, r7, #1
	ldr	r0, [r3]
	bl	cpu_to_le16
	str	r0, [r4, #12]
	mov	r0, #1
	bl	cpu_to_le16
	ldr	r3, [r5, #8]!
	mov	r2, r4
	mov	r1, r9
	str	r0, [r4, #8]
	str	r3, [r4, #4]
	mov	r0, r8
	mov	r3, #0
	bl	lmLog
	bl	cpu_to_le32
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4]
	bl	addressPXD
	mov	r1, r0
	mov	r0, r5
	mov	r5, r1
	bl	lengthPXD
	mov	r1, r5
	mov	r2, r0
	mov	r0, r10
	bl	jfs_info
	ldr	r3, [sp]
	add	r6, r6, #12
	cmp	r3, r7
	bne	.L7
.L4:
	ldr	r1, [sp, #4]
	ldr	r2, .L12+24
	ldr	r3, [r1, #4]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r1, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	ldr	r3, .L12+28
	ldr	r0, [r3]
	bl	cpu_to_le16
	ldr	r5, [sp, #4]
	mov	r2, r4
	ldr	r3, [r5, #16]
	mov	r1, r9
	str	r0, [r4, #20]
	str	r3, [r4, #16]
	mov	r0, r8
	mov	r3, #0
	bl	lmLog
	bl	cpu_to_le32
	ldr	r3, .L12+4
	str	r0, [r4]
	ldr	r0, [r3]
	bl	cpu_to_le16
	ldr	r3, .L12+20
	str	r0, [r4, #20]
	ldr	r0, [r3]
	bl	cpu_to_le16
	mov	r3, r0
	mov	r0, #1
	str	r3, [r4, #12]
	bl	cpu_to_le16
	ldr	r3, [r5, #16]
	mov	r2, r4
	mov	r1, r9
	str	r0, [r4, #8]
	str	r3, [r4, #4]
	mov	r0, r8
	mov	r3, #0
	bl	lmLog
	bl	cpu_to_le32
	ldr	r2, .L12+24
	ldr	r3, [r5, #4]
	ldr	r2, [r2]
	str	r0, [r4]
	orr	r3, r3, r2
	str	r3, [r5, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	.align	2
.L12:
	.word	tlckRELOCATE
	.word	LOG_UPDATEMAP
	.word	mlckALLOCPXD
	.word	.LC0
	.word	LOG_ALLOCPXD
	.word	LOG_FREEPXD
	.word	tlckUPDATEMAP
	.word	LOG_NOREDOPAGE
	.size	mapLog, .-mapLog
	.comm	tlckUPDATEMAP,4,4
	.comm	tlckRELOCATE,4,4
	.comm	mlckALLOCPXD,4,4
	.comm	LOG_UPDATEMAP,4,4
	.comm	LOG_NOREDOPAGE,4,4
	.comm	LOG_FREEPXD,4,4
	.comm	LOG_ALLOCPXD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
