	.file	"extr_pe_module.c_pe_load_coff_symbol_table.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pe_load_coff_symbol_table, @function
pe_load_coff_symbol_table:
.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, 88
	.cfi_def_cfa_offset 144
	mov	rdx, QWORD PTR DFI_PE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 56[rdi]
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	r13, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[r13]
	mov	r14d, DWORD PTR 0[r13]
	test	eax, eax
	je	.L24
	test	r14d, r14d
	jne	.L2
.L24:
	mov	rax, QWORD PTR TRUE[rip]
.L1:
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L26
	add	rsp, 88
	.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
.L2:
	.cfi_restore_state
	mov	r12, rdi
	xor	esi, esi
	mov	rdi, r13
	call	pe_map_full@PLT
	mov	rdi, rax
	mov	rax, QWORD PTR FALSE[rip]
	test	rdi, rdi
	je	.L1
	movsx	rax, DWORD PTR 4[r13]
	lea	rbx, [rdi+rax]
	movsx	rax, r14d
	lea	rax, [rax+rax*2]
	mov	QWORD PTR 8[rsp], rbx
	sal	rax, 4
	mov	QWORD PTR 16[rsp], rax
	call	RtlImageNtHeader@PLT
	mov	edi, eax
	call	IMAGE_FIRST_SECTION@PLT
	mov	QWORD PTR 24[rsp], rax
	test	r14d, r14d
	jle	.L6
	xor	r10d, r10d
	xor	r11d, r11d
	xor	ebp, ebp
	mov	r15, r10
	mov	r10, r12
	mov	r12, r11
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR 12[rbx]
	add	eax, 1
	add	ebp, eax
	cdqe
	lea	rax, [rax+rax*2]
	sal	rax, 4
	add	rbx, rax
	cmp	r14d, ebp
	jle	.L27
.L13:
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR IMAGE_SYM_CLASS_FILE[rip]
	jne	.L7
	lea	r12, 48[rbx]
	xor	r15d, r15d
.L7:
	cmp	rax, QWORD PTR IMAGE_SYM_CLASS_EXTERNAL[rip]
	jne	.L8
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	jle	.L8
	cmp	eax, DWORD PTR 8[r13]
	jg	.L8
	cmp	QWORD PTR 32[rbx], 0
	jne	.L28
	movsx	r11, DWORD PTR 24[rbx]
	add	r11, QWORD PTR 16[rsp]
	add	r11, QWORD PTR 8[rsp]
.L10:
	xor	eax, eax
	cmp	BYTE PTR [r11], 95
	sete	al
	add	r11, rax
	test	r15, r15
	jne	.L12
	test	r12, r12
	je	.L12
	mov	rdi, r10
	mov	rdx, r12
	xor	esi, esi
	mov	QWORD PTR 40[rsp], r11
	mov	QWORD PTR 32[rsp], r10
	call	source_new@PLT
	mov	r10, QWORD PTR 32[rsp]
	xor	esi, esi
	mov	edx, eax
	mov	rdi, r10
	call	symt_new_compiland@PLT
	mov	r11, QWORD PTR 40[rsp]
	mov	r10, QWORD PTR 32[rsp]
	mov	r15, rax
.L12:
	mov	eax, DWORD PTR dbghelp_options[rip]
	test	DWORD PTR SYMOPT_NO_PUBLICS[rip], eax
	jne	.L8
	mov	rsi, QWORD PTR 24[rsp]
	movsx	rax, DWORD PTR 8[rbx]
	mov	rdi, r10
	mov	rdx, r11
	mov	rcx, QWORD PTR FALSE[rip]
	mov	r8, QWORD PTR 48[r10]
	mov	r9d, 1
	mov	QWORD PTR 32[rsp], r10
	add	r8, QWORD PTR -8[rsi+rax*8]
	mov	rsi, r15
	add	r8, QWORD PTR 16[rbx]
	call	symt_new_public@PLT
	mov	r10, QWORD PTR 32[rsp]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L27:
	mov	r12, r10
.L6:
	mov	eax, DWORD PTR SymCoff[rip]
	mov	rdi, r13
	mov	DWORD PTR 40[r12], eax
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR 32[r12], rax
	mov	QWORD PTR 24[r12], rax
	mov	QWORD PTR 16[r12], rax
	mov	QWORD PTR 8[r12], rax
	mov	rax, QWORD PTR TRUE[rip]
	mov	QWORD PTR [r12], rax
	call	pe_unmap_full@PLT
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L28:
	mov	esi, DWORD PTR 40[rbx]
	lea	rdi, 63[rsp]
	mov	edx, 8
	mov	QWORD PTR 32[rsp], r10
	call	memcpy@PLT
	mov	BYTE PTR 71[rsp], 0
	mov	r10, QWORD PTR 32[rsp]
	mov	r11, rax
	jmp	.L10
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pe_load_coff_symbol_table, .-pe_load_coff_symbol_table
	.comm	dbghelp_options,4,4
	.comm	TRUE,8,8
	.comm	SymCoff,4,4
	.comm	SYMOPT_NO_PUBLICS,4,4
	.comm	IMAGE_SYM_CLASS_FILE,8,8
	.comm	IMAGE_SYM_CLASS_EXTERNAL,8,8
	.comm	FALSE,8,8
	.comm	DFI_PE,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_pe_module.c_pe_load_coff_symbol_table.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pe_load_coff_symbol_table, %function
pe_load_coff_symbol_table:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L26
	ldr	r3, [r0, #28]
	ldr	r2, [r2]
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r3, r2, lsl #2]
	ldr	r1, .L26+4
	ldr	r9, [r3]
	sub	sp, sp, #52
	ldr	r8, [r9]
	ldr	r1, [r1]
	str	r1, [sp, #44]
	mov	r1,#0
	clz	r1, r8
	ldr	r5, [r9, #4]
	lsr	r1, r1, #5
	cmp	r5, #0
	movne	r5, r1
	moveq	r5, #1
	cmp	r5, #0
	beq	.L2
	ldr	r3, .L26+8
	ldr	r0, [r3]
.L1:
	ldr	r3, .L26+4
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r7, r0
	mov	r1, r5
	mov	r0, r9
	bl	pe_map_full
	subs	r3, r0, #0
	beq	.L23
	ldr	r1, [r9, #4]
	rsb	r2, r8, r8, lsl #3
	add	r3, r3, r1
	str	r3, [sp, #12]
	lsl	r3, r2, #2
	str	r3, [sp, #20]
	bl	RtlImageNtHeader
	bl	IMAGE_FIRST_SECTION
	cmp	r8, #0
	ldrle	r3, .L26+12
	str	r0, [sp, #24]
	strle	r3, [sp, #16]
	ble	.L5
	ldr	r3, .L26+12
	mov	r6, r5
	ldr	r4, [sp, #12]
	ldr	fp, .L26+16
	ldr	r10, .L26+20
	str	r5, [sp, #8]
	str	r3, [sp, #16]
	b	.L12
.L7:
	ldr	r3, [r4, #8]
	add	r3, r3, #1
	add	r6, r6, r3
	cmp	r8, r6
	rsb	r3, r3, r3, lsl #3
	add	r4, r4, r3, lsl #2
	ble	.L5
.L12:
	ldr	r2, [fp]
	ldr	r3, [r4]
	cmp	r3, r2
	addeq	r2, r4, #28
	streq	r2, [sp, #8]
	ldr	r2, [r10]
	moveq	r5, #0
	cmp	r3, r2
	bne	.L7
	ldr	r3, [r4, #4]
	cmp	r3, #0
	ble	.L7
	ldr	r2, [r9, #8]
	cmp	r3, r2
	bgt	.L7
	ldr	r3, [r4, #20]
	cmp	r3, #0
	bne	.L24
	ldr	r2, [sp, #20]
	ldr	r3, [r4, #16]
	add	r3, r2, r3
	ldr	r2, [sp, #12]
	add	r3, r2, r3
.L9:
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #95
	ldr	r2, [sp, #8]
	addeq	r3, r3, #1
	subs	r2, r2, #0
	movne	r2, #1
	cmp	r5, #0
	movne	r2, #0
	cmp	r2, #0
	bne	.L25
.L11:
	ldr	r2, .L26+24
	ldr	r1, [r2]
	ldr	r2, .L26+28
	ldr	r2, [r2]
	tst	r1, r2
	bne	.L7
	mov	r2, #1
	str	r2, [sp, #4]
	ldr	r2, [r4, #4]
	ldr	r1, [sp, #24]
	sub	r2, r2, #-1073741823
	ldr	r0, [r7, #24]
	ldr	r1, [r1, r2, lsl #2]
	ldr	r2, [r4, #12]
	add	r1, r1, r0
	add	r1, r1, r2
	mov	r2, r3
	ldr	r3, [sp, #16]
	str	r1, [sp]
	mov	r0, r7
	mov	r1, r5
	ldr	r3, [r3]
	bl	symt_new_public
	b	.L7
.L5:
	ldr	r2, .L26+32
	ldr	r4, .L26+8
	ldr	r3, [sp, #16]
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r4]
	mov	r0, r9
	str	r3, [r7, #16]
	str	r3, [r7, #12]
	str	r3, [r7, #8]
	str	r3, [r7, #4]
	str	r1, [r7, #20]
	str	r2, [r7]
	bl	pe_unmap_full
	ldr	r0, [r4]
	b	.L1
.L23:
	ldr	r3, .L26+12
	ldr	r0, [r3]
	b	.L1
.L25:
	mov	r1, #0
	ldr	r2, [sp, #8]
	mov	r0, r7
	str	r3, [sp, #28]
	bl	source_new
	mov	r1, #0
	mov	r2, r0
	mov	r0, r7
	bl	symt_new_compiland
	ldr	r3, [sp, #28]
	mov	r5, r0
	b	.L11
.L24:
	mov	r2, #8
	ldr	r1, [r4, #24]
	add	r0, sp, #32
	bl	memcpy
	mov	r3, #0
	strb	r3, [sp, #40]
	mov	r3, r0
	b	.L9
.L22:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	DFI_PE
	.word	.LC0
	.word	TRUE
	.word	FALSE
	.word	IMAGE_SYM_CLASS_FILE
	.word	IMAGE_SYM_CLASS_EXTERNAL
	.word	dbghelp_options
	.word	SYMOPT_NO_PUBLICS
	.word	SymCoff
	.size	pe_load_coff_symbol_table, .-pe_load_coff_symbol_table
	.comm	dbghelp_options,4,4
	.comm	TRUE,4,4
	.comm	SymCoff,4,4
	.comm	SYMOPT_NO_PUBLICS,4,4
	.comm	IMAGE_SYM_CLASS_FILE,4,4
	.comm	IMAGE_SYM_CLASS_EXTERNAL,4,4
	.comm	FALSE,4,4
	.comm	DFI_PE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
