	.file	"extr_machine.c_machine__get_running_kernel_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/proc/kallsyms"
.LC1:
	.string	"_etext"
	.text
	.p2align 4
	.type	machine__get_running_kernel_start, @function
machine__get_running_kernel_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	push	rbx
	sub	rsp, 40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rcx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR PATH_MAX[rip]
	mov	r9, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L22:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L22
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L23
.L4:
	mov	rsi, rsp
	mov	edx, r9d
	mov	DWORD PTR -60[rbp], 0
	mov	r15, rsp
	call	machine__get_kallsyms_filename@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rsp
	call	symbol__restricted_filename@PLT
	test	rax, rax
	jne	.L10
	mov	rax, QWORD PTR ref_reloc_sym_names[rip]
	mov	r12d, 8
	lea	r14, -60[rbp]
	mov	rbx, QWORD PTR [rax]
	test	rbx, rbx
	jne	.L7
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rax, QWORD PTR ref_reloc_sym_names[rip]
	mov	rbx, QWORD PTR [rax+r12]
	add	r12, 8
	test	rbx, rbx
	je	.L9
.L7:
	mov	rdx, r14
	mov	rsi, rbx
	mov	rdi, r15
	call	kallsyms__get_function_start@PLT
	test	eax, eax
	jne	.L24
	test	r13, r13
	je	.L12
	mov	QWORD PTR 0[r13], rbx
.L12:
	mov	eax, DWORD PTR -60[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rdx, r14
	mov	rdi, r15
	lea	rsi, .LC1[rip]
	mov	DWORD PTR [rcx], eax
	call	kallsyms__get_function_start@PLT
	test	eax, eax
	jne	.L10
	mov	edx, DWORD PTR -60[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	mov	DWORD PTR [rcx], edx
.L1:
	mov	rcx, QWORD PTR -56[rbp]
	xor	rcx, QWORD PTR fs:40
	jne	.L25
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	machine__get_running_kernel_start, .-machine__get_running_kernel_start
	.comm	ref_reloc_sym_names,8,8
	.comm	PATH_MAX,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_machine.c_machine__get_running_kernel_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/proc/kallsyms\000"
	.align	2
.LC1:
	.ascii	"_etext\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	machine__get_running_kernel_start, %function
machine__get_running_kernel_start:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #12
	mov	lr, #0
	ldr	ip, .L18
	mov	r7, r1
	ldr	ip, [ip]
	mov	r9, r3
	add	r1, ip, #7
	bic	r1, r1, #7
	sub	sp, sp, r1
	ldr	r3, .L18+4
	mov	r1, sp
	mov	r8, r2
	mov	r2, ip
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	str	lr, [fp, #-44]
	bl	machine__get_kallsyms_filename
	mov	r0, sp
	ldr	r1, .L18+8
	bl	symbol__restricted_filename
	cmp	r0, #0
	bne	.L7
	ldr	r10, .L18+12
	ldr	r3, [r10]
	ldr	r4, [r3]
	cmp	r4, #0
	movne	r6, sp
	movne	r5, #4
	bne	.L4
	b	.L6
.L15:
	ldr	r3, [r10]
	ldr	r4, [r3, r5]
	add	r5, r5, #4
	cmp	r4, #0
	beq	.L6
.L4:
	mov	r1, r4
	mov	r0, r6
	sub	r2, fp, #44
	bl	kallsyms__get_function_start
	cmp	r0, #0
	bne	.L15
	ldr	r3, [fp, #-44]
	cmp	r7, #0
	strne	r4, [r7]
	mov	r0, r6
	ldr	r1, .L18+16
	sub	r2, fp, #44
	str	r3, [r8]
	bl	kallsyms__get_function_start
	cmp	r0, #0
	beq	.L16
.L7:
	mov	r0, #0
.L1:
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	ldr	r3, [fp, #-44]
	str	r3, [r9]
	b	.L1
.L6:
	mvn	r0, #0
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	PATH_MAX
	.word	.LC2
	.word	.LC0
	.word	ref_reloc_sym_names
	.word	.LC1
	.size	machine__get_running_kernel_start, .-machine__get_running_kernel_start
	.comm	ref_reloc_sym_names,4,4
	.comm	PATH_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
