	.file	"900735.c"
	.intel_syntax noprefix
	.text
	.globl	global_i
	.data
	.align 4
	.type	global_i, @object
	.size	global_i, 4
global_i:
	.long	100
	.section	.rodata
	.align 8
.LC0:
	.string	"foll-exec is about to execlp(execd-prog)..."
.LC1:
	.string	"execd-prog"
.LC2:
	.string	"execlp arg1 from foll-exec"
	.align 8
.LC3:
	.string	"foll-exec is about to execl(execd-prog)..."
.LC4:
	.string	"execl arg2 from foll-exec"
.LC5:
	.string	"execl arg1 from foll-exec"
	.align 8
.LC6:
	.string	"foll-exec is about to execv(execd-prog)..."
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	DWORD PTR -4132[rbp], edi
	mov	QWORD PTR -4144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR global_i[rip]
	add	eax, 1
	mov	DWORD PTR -4124[rbp], eax
	mov	eax, DWORD PTR -4124[rbp]
	add	eax, 1
	mov	DWORD PTR -4120[rbp], eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -4144[rbp]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -4112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -4112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4116[rbp], eax
	mov	eax, DWORD PTR -4116[rbp]
	cdqe
	lea	rdx, -9[rax]
	lea	rax, -4112[rbp]
	add	rax, rdx
	mov	edx, 10
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -4116[rbp]
	add	eax, 1
	cdqe
	mov	BYTE PTR -4112[rbp+rax], 0
	lea	rsi, -4112[rbp]
	lea	rax, -4112[rbp]
	mov	ecx, 0
	lea	rdx, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	execlp@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rsi, -4112[rbp]
	lea	rax, -4112[rbp]
	mov	r8d, 0
	lea	rcx, .LC4[rip]
	lea	rdx, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	execl@PLT
	lea	rax, -4112[rbp]
	mov	QWORD PTR argv.0[rip], rax
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -4112[rbp]
	lea	rsi, argv.0[rip]
	mov	rdi, rax
	call	execv@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC7:
	.string	""
.LC8:
	.string	"execv arg1 from foll-exec"
	.section	.data.rel.local,"aw"
	.align 16
	.type	argv.0, @object
	.size	argv.0, 24
argv.0:
	.quad	.LC7
	.quad	.LC8
	.quad	0
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"900735.c"
	.text
	.global	global_i
	.data
	.align	2
	.type	global_i, %object
	.size	global_i, 4
global_i:
	.word	100
	.section	.rodata
	.align	2
.LC0:
	.ascii	"foll-exec is about to execlp(execd-prog)...\000"
	.align	2
.LC1:
	.ascii	"execd-prog\000"
	.align	2
.LC2:
	.ascii	"execlp arg1 from foll-exec\000"
	.align	2
.LC3:
	.ascii	"foll-exec is about to execl(execd-prog)...\000"
	.align	2
.LC4:
	.ascii	"execl arg2 from foll-exec\000"
	.align	2
.LC5:
	.ascii	"execl arg1 from foll-exec\000"
	.align	2
.LC6:
	.ascii	"foll-exec is about to execv(execd-prog)...\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #4096
	sub	sp, sp, #32
	sub	r3, fp, #4096
	sub	r3, r3, #4
	str	r0, [r3, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	str	r1, [r3, #-24]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L4+4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	add	r3, r3, #1
	str	r3, [r2, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-16]
	add	r3, r3, #1
	str	r3, [r2, #-12]
	ldr	r0, .L4+8
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-24]
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #4
	str	r3, [r2, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-8]
	sub	r2, r3, #9
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, r2
	mov	r2, #10
	ldr	r1, .L4+12
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-8]
	add	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-4]
	sub	r1, fp, #4096
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r0, fp, #4096
	sub	r0, r0, #4
	sub	r0, r0, #4
	mov	r3, #0
	ldr	r2, .L4+16
	bl	execlp
	ldr	r0, .L4+20
	bl	puts
	sub	r1, fp, #4096
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r0, fp, #4096
	sub	r0, r0, #4
	sub	r0, r0, #4
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L4+24
	ldr	r2, .L4+28
	bl	execl
	ldr	r2, .L4+32
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [r2]
	ldr	r0, .L4+36
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L4+32
	mov	r0, r3
	bl	execv
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC7
	.word	global_i
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	argv.5910
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\000"
	.align	2
.LC9:
	.ascii	"execv arg1 from foll-exec\000"
	.data
	.align	2
	.type	argv.5910, %object
	.size	argv.5910, 12
argv.5910:
	.word	.LC8
	.word	.LC9
	.word	0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
