	.file	"extr_lpt_commit.c_dbg_check_ltab_lnum.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"cannot allocate memory for ltab checking"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"LEB %d"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"invalid empty space in LEB %d at %d"
	.align 8
.LC3:
	.string	"invalid free space in LEB %d (free %d, expected %d)"
	.align 8
.LC4:
	.string	"invalid dirty space in LEB %d (dirty %d, expected %d)"
	.text
	.p2align 4
	.type	dbg_check_ltab_lnum, @function
dbg_check_ltab_lnum:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r15d, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	dbg_is_chk_lprops@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L19
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L19:
	.cfi_restore_state
	mov	edx, DWORD PTR PAGE_KERNEL[rip]
	mov	esi, DWORD PTR GFP_NOFS[rip]
	mov	edi, DWORD PTR 0[rbp]
	call	__vmalloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L21
	mov	esi, r13d
	lea	rdi, .LC1[rip]
	call	dbg_lp@PLT
	mov	r8d, DWORD PTR 0[rbp]
	xor	ecx, ecx
	mov	rdx, r14
	mov	r9d, 1
	mov	esi, r13d
	mov	rdi, rbp
	call	ubifs_leb_read@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	lea	rax, 20[rsp]
	mov	rbx, r14
	mov	QWORD PTR [rsp], rax
.L5:
	mov	edx, r15d
	mov	rsi, rbx
	mov	rdi, rbp
	call	is_a_node@PLT
	test	eax, eax
	jne	.L6
	mov	edx, r15d
	mov	rsi, rbx
	mov	rdi, rbp
	call	get_pad_len@PLT
	mov	edx, eax
	test	eax, eax
	jne	.L22
	mov	esi, r15d
	mov	rdi, rbx
	mov	DWORD PTR [rsp], eax
	call	dbg_is_all_ff@PLT
	mov	edx, DWORD PTR [rsp]
	test	eax, eax
	je	.L23
.L9:
	mov	ebx, r13d
	sub	ebx, DWORD PTR 4[rbp]
	mov	rax, QWORD PTR 8[rbp]
	movsx	rbx, ebx
	sal	rbx, 3
	add	rax, rbx
	mov	r8d, DWORD PTR [rax]
	cmp	r8d, r15d
	jne	.L24
.L10:
	mov	r8d, DWORD PTR 4[rax]
	cmp	r8d, r12d
	jne	.L25
	mov	r12d, edx
.L4:
	mov	rdi, r14
	call	vfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	ecx, r12d
	mov	edx, r13d
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	ubifs_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L24:
	mov	edx, r13d
	mov	ecx, r15d
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	ubifs_err@PLT
	mov	edx, DWORD PTR EINVAL[rip]
	mov	rax, QWORD PTR 8[rbp]
	neg	edx
	add	rax, rbx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L23:
	mov	ecx, DWORD PTR 0[rbp]
	mov	edx, r13d
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	sub	ecx, r15d
	call	ubifs_err@PLT
	mov	edx, DWORD PTR EINVAL[rip]
	neg	edx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, QWORD PTR [rsp]
	mov	rsi, rbx
	mov	rdi, rbp
	call	get_lpt_node_type@PLT
	mov	rdi, rbp
	mov	esi, eax
	mov	DWORD PTR 12[rsp], eax
	call	get_lpt_node_len@PLT
	mov	ecx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR 12[rsp]
	mov	edx, r13d
	mov	rdi, rbp
	mov	DWORD PTR 8[rsp], eax
	sub	ecx, r15d
	call	dbg_is_node_dirty@PLT
	mov	r9d, DWORD PTR 8[rsp]
	mov	r10d, eax
	cmp	r10d, 1
	lea	eax, [r12+r9]
	cmove	r12d, eax
	movsx	rax, r9d
	sub	r15d, r9d
	add	rbx, rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L22:
	cdqe
	sub	r15d, edx
	add	r12d, edx
	add	rbx, rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L21:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	xor	r12d, r12d
	call	ubifs_err@PLT
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dbg_check_ltab_lnum, .-dbg_check_ltab_lnum
	.comm	PAGE_KERNEL,4,4
	.comm	GFP_NOFS,4,4
	.comm	EINVAL,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_lpt_commit.c_dbg_check_ltab_lnum.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cannot allocate memory for ltab checking\000"
	.align	2
.LC1:
	.ascii	"LEB %d\000"
	.align	2
.LC2:
	.ascii	"invalid empty space in LEB %d at %d\000"
	.align	2
.LC3:
	.ascii	"invalid free space in LEB %d (free %d, expected %d)"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"invalid dirty space in LEB %d (dirty %d, expected %"
	.ascii	"d)\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dbg_check_ltab_lnum, %function
dbg_check_ltab_lnum:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L26
	sub	sp, sp, #20
	mov	r5, r0
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r9, [r0]
	bl	dbg_is_chk_lprops
	subs	r4, r0, #0
	bne	.L19
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	ldr	r3, .L26+4
	ldr	r2, .L26+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r0, [r5]
	bl	__vmalloc
	subs	r7, r0, #0
	beq	.L21
	mov	r1, r6
	ldr	r0, .L26+12
	bl	dbg_lp
	mov	r2, #1
	ldr	r3, [r5]
	mov	r1, r6
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r2, r7
	mov	r3, #0
	mov	r0, r5
	bl	ubifs_leb_read
	subs	r4, r0, #0
	bne	.L4
	mov	r10, r7
.L5:
	mov	r2, r9
	mov	r1, r10
	mov	r0, r5
	bl	is_a_node
	cmp	r0, #0
	bne	.L6
	mov	r2, r9
	mov	r1, r10
	mov	r0, r5
	bl	get_pad_len
	subs	r8, r0, #0
	bne	.L22
	mov	r0, r10
	mov	r1, r9
	bl	dbg_is_all_ff
	cmp	r0, #0
	beq	.L23
.L9:
	ldr	r10, [r5, #4]
	ldr	r3, [r5, #8]
	sub	r10, r6, r10
	ldr	r2, [r3, r10, lsl #3]
	add	r3, r3, r10, lsl #3
	cmp	r2, r9
	lsl	r10, r10, #3
	bne	.L24
.L10:
	ldr	r3, [r3, #4]
	cmp	r3, r4
	moveq	r4, r8
	bne	.L25
.L4:
	mov	r0, r7
	bl	vfree
	b	.L1
.L25:
	str	r3, [sp]
	mov	r2, r6
	mov	r3, r4
	mov	r0, r5
	ldr	r1, .L26+16
	bl	ubifs_err
	ldr	r3, .L26+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L4
.L24:
	mov	r3, r9
	str	r2, [sp]
	mov	r0, r5
	mov	r2, r6
	ldr	r1, .L26+24
	bl	ubifs_err
	ldr	r2, .L26+20
	ldr	r3, [r5, #8]
	ldr	r8, [r2]
	add	r3, r3, r10
	rsb	r8, r8, #0
	b	.L10
.L23:
	ldr	r3, [r5]
	mov	r2, r6
	sub	r3, r3, r9
	mov	r0, r5
	ldr	r1, .L26+28
	bl	ubifs_err
	ldr	r3, .L26+20
	ldr	r8, [r3]
	rsb	r8, r8, #0
	b	.L9
.L6:
	mov	r1, r10
	add	r2, sp, #8
	mov	r0, r5
	bl	get_lpt_node_type
	mov	fp, r0
	mov	r0, r5
	mov	r1, fp
	bl	get_lpt_node_len
	ldr	r3, [r5]
	mov	r8, r0
	sub	r3, r3, r9
	mov	r1, fp
	mov	r2, r6
	mov	r0, r5
	bl	dbg_is_node_dirty
	cmp	r0, #1
	addeq	r4, r4, r8
	add	r10, r10, r8
	sub	r9, r9, r8
	b	.L5
.L22:
	add	r10, r10, r8
	sub	r9, r9, r8
	add	r4, r4, r8
	b	.L5
.L21:
	mov	r0, r5
	ldr	r1, .L26+32
	mov	r4, r7
	bl	ubifs_err
	b	.L1
.L20:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC5
	.word	GFP_NOFS
	.word	PAGE_KERNEL
	.word	.LC1
	.word	.LC4
	.word	EINVAL
	.word	.LC3
	.word	.LC2
	.word	.LC0
	.size	dbg_check_ltab_lnum, .-dbg_check_ltab_lnum
	.comm	PAGE_KERNEL,4,4
	.comm	GFP_NOFS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
