	.file	"62637285.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"PID of prog71.c: %d\n"
.LC1:
	.string	"PC: %p"
.LC2:
	.string	"the_stack_data/62637285.c"
.LC3:
	.string	"p!= NULL"
	.align 8
.LC4:
	.string	"PID: %d, Address pointed by p: %p\n"
.LC5:
	.string	"fork failed\n"
	.align 8
.LC6:
	.string	"Hello, We are in child process (process B), PID: %d\n"
.LC7:
	.string	"Hello"
.LC8:
	.string	"World"
.LC9:
	.string	"./prog72"
.LC10:
	.string	"this should not print"
	.align 8
.LC11:
	.string	"Hello, We are in parent process (process A), PID: %d\n"
	.align 8
.LC12:
	.string	"Sending signal to process B (PID: %d)\n"
	.align 8
.LC13:
	.string	"Welcome back to process A, PID: %d\n"
	.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, 208
	mov	DWORD PTR -196[rbp], edi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	call	fork@PLT
	mov	DWORD PTR -188[rbp], eax
	lea	rax, -144[rbp]
	mov	edx, 128
	mov	esi, 65
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 4
	call	malloc@PLT
	mov	QWORD PTR -184[rbp], rax
	cmp	QWORD PTR -184[rbp], 0
	jne	.L2
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 20
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L2:
	call	getpid@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -184[rbp]
	mov	rdx, rax
	mov	esi, ecx
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -188[rbp], 0
	jns	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	cmp	DWORD PTR -188[rbp], 0
	jne	.L4
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, .LC7[rip]
	mov	QWORD PTR -176[rbp], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -168[rbp], rax
	mov	QWORD PTR -160[rbp], 0
	lea	rax, -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	call	execv@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L5
.L4:
	mov	edi, 10
	call	sleep@PLT
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -188[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -188[rbp]
	mov	esi, 15
	mov	edi, eax
	call	kill@PLT
	mov	edi, 1
	call	sleep@PLT
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.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	"62637285.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hello\000"
	.align	2
.LC1:
	.ascii	"World\000"
	.text
	.section	.rodata
	.align	2
.LC3:
	.ascii	"PID of prog71.c: %d\012\000"
	.align	2
.LC4:
	.ascii	"PC: %p\000"
	.align	2
.LC5:
	.ascii	"the_stack_data/62637285.c\000"
	.align	2
.LC6:
	.ascii	"p!= NULL\000"
	.align	2
.LC7:
	.ascii	"PID: %d, Address pointed by p: %p\012\000"
	.align	2
.LC8:
	.ascii	"fork failed\012\000"
	.align	2
.LC9:
	.ascii	"Hello, We are in child process (process B), PID: %d"
	.ascii	"\012\000"
	.align	2
.LC11:
	.ascii	"./prog72\000"
	.align	2
.LC12:
	.ascii	"this should not print\000"
	.align	2
.LC13:
	.ascii	"Hello, We are in parent process (process A), PID: %"
	.ascii	"d\012\000"
	.align	2
.LC14:
	.ascii	"Sending signal to process B (PID: %d)\012\000"
	.align	2
.LC15:
	.ascii	"Welcome back to process A, PID: %d\012\000"
	.align	2
.LC10:
	.word	.LC0
	.word	.LC1
	.word	0
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L8+4
	bl	printf
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-92]
	sub	r3, fp, #72
	mov	r2, #64
	mov	r1, #65
	mov	r0, r3
	bl	memset
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L8+8
	bl	printf
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L8+12
	mov	r2, #20
	ldr	r1, .L8+16
	ldr	r0, .L8+20
	bl	__assert_fail
.L2:
	bl	getpid
	mov	r3, r0
	ldr	r2, [fp, #-88]
	mov	r1, r3
	ldr	r0, .L8+24
	bl	printf
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bge	.L3
	ldr	r3, .L8+28
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L8+32
	bl	fwrite
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L4
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L8+36
	bl	printf
	ldr	r2, .L8+40
	sub	r3, fp, #84
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L8+44
	bl	execv
	ldr	r0, .L8+48
	bl	puts
	b	.L5
.L4:
	mov	r0, #10
	bl	sleep
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L8+52
	bl	printf
	ldr	r1, [fp, #-92]
	ldr	r0, .L8+56
	bl	printf
	mov	r1, #15
	ldr	r0, [fp, #-92]
	bl	kill
	mov	r0, #1
	bl	sleep
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L8+60
	bl	printf
.L5:
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC16
	.word	.LC3
	.word	.LC4
	.word	__PRETTY_FUNCTION__.6301
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	stderr
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6301, %object
	.size	__PRETTY_FUNCTION__.6301, 5
__PRETTY_FUNCTION__.6301:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
