	.file	"extr_38310.c_get_symbol.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"r"
.LC1:
	.string	"/proc/kallsyms"
.LC2:
	.string	"%p %c %s\n"
.LC3:
	.string	"%s\n"
.LC4:
	.string	"[+] resolved symbol %s to %p\n"
	.text
	.p2align 4
	.globl	get_symbol
	.type	get_symbol, @function
get_symbol:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	rsi, .LC0[rip]
	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
	mov	r12, rdi
	lea	rdi, .LC1[rip]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 552
	.cfi_def_cfa_offset 608
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 536[rsp], rax
	xor	eax, eax
	call	fopen@PLT
	test	rax, rax
	je	.L2
	mov	edx, DWORD PTR EOF[rip]
	test	edx, edx
	je	.L2
	mov	rbp, rax
	lea	rbx, 16[rsp]
	lea	r15, 7[rsp]
	lea	r14, 8[rsp]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, rbx
	mov	rdi, r12
	call	strcmp@PLT
	test	eax, eax
	je	.L14
	cmp	DWORD PTR EOF[rip], r13d
	je	.L2
.L6:
	mov	r8, rbx
	mov	rcx, r15
	mov	rdx, r14
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	fscanf@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L3
	xor	eax, eax
	mov	rdx, rbx
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	fscanf@PLT
	cmp	DWORD PTR EOF[rip], r13d
	jne	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 536[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 552
	.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
.L14:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rsp]
	mov	rsi, r12
	lea	rdi, .LC4[rip]
	call	printf@PLT
	mov	rax, QWORD PTR 8[rsp]
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_symbol, .-get_symbol
	.comm	EOF,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_38310.c_get_symbol.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"/proc/kallsyms\000"
	.align	2
.LC2:
	.ascii	"%p %c %s\012\000"
	.align	2
.LC3:
	.ascii	"%s\012\000"
	.align	2
.LC4:
	.ascii	"[+] resolved symbol %s to %p\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_symbol
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_symbol, %function
get_symbol:
	@ args = 0, pretend = 0, frame = 528
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L19
	sub	sp, sp, #536
	mov	r7, r0
	ldr	r1, .L19+4
	ldr	r0, .L19+8
	ldr	r3, [r3]
	str	r3, [sp, #532]
	mov	r3,#0
	bl	fopen
	subs	r6, r0, #0
	beq	.L2
	ldr	r8, .L19+12
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L2
	ldr	r9, .L19+16
	ldr	r10, .L19+20
	add	r5, sp, #20
	b	.L6
.L3:
	mov	r1, r5
	mov	r0, r7
	bl	strcmp
	cmp	r0, #0
	beq	.L17
	ldr	r3, [r8]
	cmp	r3, r4
	beq	.L2
.L6:
	mov	r1, r9
	mov	r0, r6
	str	r5, [sp]
	add	r3, sp, #15
	add	r2, sp, #16
	bl	fscanf
	subs	r4, r0, #0
	bne	.L3
	mov	r2, r5
	mov	r1, r10
	mov	r0, r6
	bl	fscanf
	ldr	r3, [r8]
	cmp	r3, r4
	bne	.L6
.L2:
	mov	r0, #0
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #532]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #536
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	mov	r1, r7
	ldr	r2, [sp, #16]
	ldr	r0, .L19+24
	bl	printf
	ldr	r0, [sp, #16]
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	EOF
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	get_symbol, .-get_symbol
	.comm	EOF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
