	.file	"extr_47170.c_get_kernel_addr_syslog.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"[.] trying syslog...\n"
.LC1:
	.string	"14.04.1"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"[-] kernel base not found in syslog\n"
	.text
	.p2align 4
	.globl	get_kernel_addr_syslog
	.type	get_kernel_addr_syslog, @function
get_kernel_addr_syslog:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdi, .LC0[rip]
	xor	r12d, r12d
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	dprintf@PLT
	lea	rsi, 12[rsp]
	lea	rdi, 16[rsp]
	call	mmap_syslog@PLT
	test	eax, eax
	jne	.L10
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdx, QWORD PTR kernel[rip]
	mov	rax, QWORD PTR kernels[rip]
	lea	rsi, .LC1[rip]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	strstr@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L3
	call	get_kernel_addr_trusty@PLT
	mov	r12, rax
.L4:
	test	r12, r12
	jne	.L1
	lea	rdi, .LC2[rip]
	call	dprintf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	call	get_kernel_addr_xenial@PLT
	mov	r12, rax
	jmp	.L4
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_kernel_addr_syslog, .-get_kernel_addr_syslog
	.comm	kernels,8,8
	.comm	kernel,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_47170.c_get_kernel_addr_syslog.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[.] trying syslog...\012\000"
	.align	2
.LC1:
	.ascii	"14.04.1\000"
	.align	2
.LC2:
	.ascii	"[-] kernel base not found in syslog\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_kernel_addr_syslog
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_kernel_addr_syslog, %function
get_kernel_addr_syslog:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L11
	sub	sp, sp, #16
	ldr	r0, .L11+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	dprintf
	add	r1, sp, #8
	add	r0, sp, #4
	bl	mmap_syslog
	cmp	r0, #0
	moveq	r4, r0
	bne	.L9
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L9:
	ldr	r2, .L11+8
	ldr	r3, .L11+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, .L11+16
	ldr	r0, [r3, r2, lsl #2]
	bl	strstr
	cmp	r0, #0
	ldr	r1, [sp, #8]
	ldr	r0, [sp, #4]
	beq	.L3
	bl	get_kernel_addr_trusty
	mov	r4, r0
.L4:
	cmp	r4, #0
	bne	.L1
	ldr	r0, .L11+20
	bl	dprintf
	b	.L1
.L3:
	bl	get_kernel_addr_xenial
	mov	r4, r0
	b	.L4
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC3
	.word	.LC0
	.word	kernel
	.word	kernels
	.word	.LC1
	.word	.LC2
	.size	get_kernel_addr_syslog, .-get_kernel_addr_syslog
	.comm	kernels,4,4
	.comm	kernel,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
