	.file	"extr_msc.c_codeview_snarf_linetab.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"--not a func at %04x:%08x %lx tag=%d\n"
	.text
	.p2align 4
	.type	codeview_snarf_linetab, @function
codeview_snarf_linetab:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	movsx	eax, WORD PTR [rsi]
	mov	QWORD PTR 56[rsp], rsi
	mov	QWORD PTR 88[rsp], rcx
	test	ax, ax
	jle	.L1
	sub	eax, 1
	lea	rdx, 16[rsi]
	mov	r14, rdi
	lea	rax, 20[rsi+rax*4]
	mov	QWORD PTR 72[rsp], rdx
	mov	QWORD PTR 80[rsp], rax
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 72[rsp]
	mov	rbx, QWORD PTR 56[rsp]
	cmp	QWORD PTR 88[rsp], 0
	mov	eax, DWORD PTR [rax]
	lea	rbp, [rbx+rax*4]
	movsx	ebx, WORD PTR 0[rbp]
	lea	rax, 16[rbp]
	mov	rdx, rax
	mov	QWORD PTR 48[rsp], rax
	movsx	rax, bx
	lea	r15, [rdx+rax*4]
	lea	rdx, [r15+rax*8]
	je	.L3
	mov	rdi, rdx
	call	terminate_string@PLT
	mov	edi, DWORD PTR [r14]
	xor	esi, esi
	mov	rdx, rax
	call	source_new@PLT
	mov	r13d, eax
.L4:
	test	bx, bx
	jle	.L17
	lea	eax, -1[rbx]
	lea	rax, 20[rbp+rax*4]
	mov	QWORD PTR 64[rsp], rax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rbx, QWORD PTR 64[rsp]
	add	r15, 8
	cmp	QWORD PTR 48[rsp], rbx
	je	.L17
.L16:
	add	QWORD PTR 48[rsp], 4
	mov	rax, QWORD PTR 48[rsp]
	mov	rdi, r14
	mov	rbx, QWORD PTR 56[rsp]
	mov	rdx, QWORD PTR [r15]
	mov	eax, DWORD PTR -4[rax]
	lea	r12, [rbx+rax*4]
	mov	rax, QWORD PTR [r12]
	mov	esi, DWORD PTR 16[r12]
	mov	rbx, QWORD PTR 8[r12]
	mov	QWORD PTR 24[rsp], rax
	call	codeview_get_address@PLT
	mov	QWORD PTR [rsp], rax
	test	rax, rax
	je	.L9
	cmp	QWORD PTR 8[r12], 0
	je	.L9
	lea	rax, 0[0+rbx*8]
	xor	ebp, ebp
	mov	QWORD PTR 16[rsp], r15
	xor	ebx, ebx
	mov	QWORD PTR 40[rsp], rax
	mov	r15, rbp
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rax, 0[0+rbp*8]
	mov	rdi, QWORD PTR 16[rsp]
	mov	r8, QWORD PTR [rsp]
	mov	QWORD PTR 32[rsp], rax
	mov	rax, QWORD PTR [r12]
	sub	r8, QWORD PTR [rdi]
	add	r8, QWORD PTR [rax+rbp*8]
	test	r15, r15
	je	.L11
	mov	rax, QWORD PTR [r15]
	mov	rcx, QWORD PTR 8[r15]
	add	rcx, rax
	cmp	rcx, r8
	ja	.L12
.L11:
	mov	edi, DWORD PTR [r14]
	mov	rsi, r8
	mov	QWORD PTR 8[rsp], r8
	call	symt_find_nearest@PLT
	mov	r8, QWORD PTR 8[rsp]
	test	rax, rax
	mov	r15, rax
	je	.L18
	mov	rax, QWORD PTR 16[rax]
	cmp	rax, QWORD PTR SymTagFunction[rip]
	jne	.L14
	mov	rax, QWORD PTR [r15]
.L12:
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 40[rsp]
	sub	r8, rax
	lea	rdx, [rsi+rbp*2]
	mov	rsi, r15
	lea	ebp, 1[rbx]
	movzx	ecx, WORD PTR [rdx+rdi]
	mov	edi, DWORD PTR [r14]
	mov	edx, r13d
	mov	rbx, rbp
	call	symt_add_func_line@PLT
	cmp	rbp, QWORD PTR 8[r12]
	jb	.L15
	mov	r15, QWORD PTR 16[rsp]
	mov	rbx, QWORD PTR 64[rsp]
	add	r15, 8
	cmp	QWORD PTR 48[rsp], rbx
	jne	.L16
	.p2align 4,,10
	.p2align 3
.L17:
	add	QWORD PTR 72[rsp], 4
	mov	rax, QWORD PTR 72[rsp]
	cmp	QWORD PTR 80[rsp], rax
	jne	.L6
.L1:
	add	rsp, 104
	.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
.L18:
	.cfi_restore_state
	mov	r15, QWORD PTR 16[rsp]
	mov	rcx, r8
	mov	r8d, -1
.L13:
	mov	rax, QWORD PTR [r12]
	mov	rbx, QWORD PTR 32[rsp]
	lea	rdi, .LC0[rip]
	mov	esi, DWORD PTR 16[r12]
	mov	rdx, QWORD PTR [rax+rbx]
	call	WARN@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rcx, r8
	mov	r15, QWORD PTR 16[rsp]
	mov	r8, rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR [r14]
	xor	esi, esi
	call	source_new@PLT
	mov	r13d, eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	codeview_snarf_linetab, .-codeview_snarf_linetab
	.comm	SymTagFunction,8,8
	.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_msc.c_codeview_snarf_linetab.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"--not a func at %04x:%08x %lx tag=%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	codeview_snarf_linetab, %function
codeview_snarf_linetab:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldrsh	r2, [r1]
	sub	sp, sp, #52
	cmp	r2, #0
	str	r1, [sp, #24]
	str	r3, [sp, #40]
	ble	.L1
	mov	fp, r0
	add	r3, r1, #12
	str	r3, [sp, #36]
	add	r3, r3, r2, lsl #2
	str	r3, [sp, #44]
.L6:
	ldr	r3, [sp, #36]
	ldr	r2, [sp, #24]
	ldr	r4, [r3, #4]!
	ldr	r7, [fp]
	str	r3, [sp, #36]
	ldr	r3, [sp, #40]
	cmp	r3, #0
	lsl	r3, r4, #2
	ldrsh	r6, [r2, r3]
	add	r4, r2, r4, lsl #2
	add	r3, r4, #16
	str	r3, [sp, #20]
	lsl	r5, r6, #2
	add	r8, r3, r6, lsl #2
	add	r2, r3, r6, lsl #3
	beq	.L3
	mov	r0, r2
	bl	terminate_string
	mov	r1, #0
	mov	r2, r0
	mov	r0, r7
	bl	source_new
	mov	r9, r0
.L4:
	cmp	r6, #0
	addgt	r5, r5, #16
	addgt	r3, r4, r5
	strgt	r3, [sp, #32]
	subgt	r8, r8, #4
	bgt	.L16
	b	.L17
.L9:
	ldr	r3, [sp, #20]
	ldr	r2, [sp, #32]
	cmp	r3, r2
	beq	.L17
.L16:
	ldr	r2, [sp, #20]
	ldr	ip, [sp, #24]
	ldr	r3, [r2], #4
	mov	r0, fp
	add	r5, ip, r3, lsl #2
	str	r2, [sp, #20]
	ldr	r1, [r5, #8]
	ldr	r2, [r8, #4]!
	ldr	r6, [ip, r3, lsl #2]
	str	r3, [sp, #28]
	ldr	r10, [r5, #4]
	bl	codeview_get_address
	subs	r3, r0, #0
	str	r3, [sp, #12]
	beq	.L9
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L9
	mov	r7, #0
	add	r6, r6, r10, lsl #2
	mov	r4, r7
	mov	r10, r7
	sub	r6, r6, #2
	b	.L15
.L30:
	ldr	r2, .L31
	ldr	r3, [r10, #8]
	ldr	r0, [r2]
	cmp	r3, r0
	bne	.L14
	ldr	r0, [r10]
.L12:
	sub	r2, r7, r0
	ldrh	r3, [r6, #2]!
	str	r2, [sp]
	mov	r1, r10
	mov	r2, r9
	ldr	r0, [fp]
	bl	symt_add_func_line
	ldr	r3, [r5, #4]
	add	r4, r4, #1
	cmp	r3, r4
	bls	.L9
.L15:
	ldr	r3, [r5]
	ldr	r2, [r8]
	ldr	r1, [sp, #12]
	ldr	r3, [r3, r4, lsl #2]
	sub	r2, r1, r2
	add	r7, r2, r3
	cmp	r10, #0
	lsl	r3, r4, #2
	str	r3, [sp, #16]
	beq	.L11
	ldm	r10, {r0, r3}
	add	r3, r0, r3
	cmp	r3, r7
	bhi	.L12
.L11:
	mov	r1, r7
	ldr	r0, [fp]
	bl	symt_find_nearest
	subs	r10, r0, #0
	bne	.L30
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #24]
	mov	r10, r7
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [sp, #16]
	ldr	r1, [r5, #8]
	ldr	r0, [r3, r2]
	mvn	r3, #0
.L18:
	mov	r2, r0
	str	r3, [sp]
	ldr	r0, .L31+4
	mov	r3, r10
	bl	WARN
	ldr	r3, [sp, #20]
	ldr	r2, [sp, #32]
	cmp	r3, r2
	bne	.L16
.L17:
	ldr	r3, [sp, #44]
	ldr	r2, [sp, #36]
	cmp	r3, r2
	bne	.L6
.L1:
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	ldr	r2, [sp, #24]
	ldr	r1, [sp, #28]
	mov	r10, r7
	ldr	r0, [r2, r1, lsl #2]
	ldr	r2, [sp, #16]
	ldr	r1, [r5, #8]
	ldr	r0, [r0, r2]
	b	.L18
.L3:
	mov	r0, r7
	ldr	r1, [sp, #40]
	bl	source_new
	mov	r9, r0
	b	.L4
.L32:
	.align	2
.L31:
	.word	SymTagFunction
	.word	.LC0
	.size	codeview_snarf_linetab, .-codeview_snarf_linetab
	.comm	SymTagFunction,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
