	.file	"extr_syscalldump.c_ImageSymToVa.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"SymGetSymFromName64() failed: %ld\n"
	.align 8
.LC1:
	.string	"looking up adress for %s: 0x%I64x\n"
	.text
	.p2align 4
	.globl	ImageSymToVa
	.type	ImageSymToVa, @function
ImageSymToVa:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR MAX_SYMBOL_NAME[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	mov	rdx, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rcx
	sub	rax, 1
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	DWORD PTR [rsi], 4
	mov	QWORD PTR 24[rsi], rax
	mov	rsi, rcx
	call	SymFromName@PLT
	test	eax, eax
	je	.L5
	mov	rdx, QWORD PTR 16[rbx]
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	printf@PLT
	mov	edi, r12d
	call	ImageNtHeader@PLT
	mov	rdx, QWORD PTR 16[rbx]
	mov	esi, r12d
	sub	rdx, QWORD PTR 8[rbx]
	mov	edi, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	ecx, ecx
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ImageRvaToVa@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	eax, eax
	call	GetLastError@PLT
	lea	rdi, .LC0[rip]
	movsx	rsi, eax
	xor	eax, eax
	call	printf@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ImageSymToVa, .-ImageSymToVa
	.comm	MAX_SYMBOL_NAME,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_syscalldump.c_ImageSymToVa.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SymGetSymFromName64() failed: %ld\012\000"
	.align	2
.LC1:
	.ascii	"looking up adress for %s: 0x%I64x\012\000"
	.text
	.align	2
	.global	ImageSymToVa
	.syntax unified
	.arm
	.fpu softvfp
	.type	ImageSymToVa, %function
ImageSymToVa:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r5, r3
	mov	r1, #4
	ldr	r3, .L8
	str	r1, [r4]
	ldr	r3, [r3]
	mov	r7, r2
	sub	r3, r3, #1
	mov	r2, r4
	mov	r1, r5
	str	r3, [r4, #12]
	bl	SymFromName
	subs	r6, r0, #0
	beq	.L5
	mov	r1, r5
	ldr	r2, [r4, #8]
	ldr	r0, .L8+4
	bl	printf
	mov	r0, r7
	bl	ImageNtHeader
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	mov	r1, r7
	pop	{r4, r5, r6, r7, r8, lr}
	sub	r2, r2, r3
	mov	r3, #0
	b	ImageRvaToVa
.L5:
	bl	GetLastError
	mov	r1, r0
	ldr	r0, .L8+8
	bl	printf
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	MAX_SYMBOL_NAME
	.word	.LC1
	.word	.LC0
	.size	ImageSymToVa, .-ImageSymToVa
	.comm	MAX_SYMBOL_NAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
