	.file	"179831565.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Unable to fork: %s\n"
	.align 8
.LC1:
	.string	"Child pid: %d, Parent pid: %d\n"
.LC2:
	.string	"-a"
.LC3:
	.string	"uname"
.LC4:
	.string	"Unable to execlp: %s\n"
	.align 8
.LC5:
	.string	"Parent pid: %d, Child pid: %d\n"
	.align 8
.LC6:
	.string	"Child pid: %d, Exit Status: %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
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 0
	call	fork@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jns	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L7
.L2:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L4
	call	getppid@PLT
	mov	ebx, eax
	call	getpid@PLT
	mov	edx, ebx
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, 0
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	execlp@PLT
	test	eax, eax
	jns	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	_exit@PLT
.L4:
	call	getpid@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L6:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	js	.L6
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	eax, DWORD PTR -32[rbp]
.L7:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-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	"179831565.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Unable to fork: %s\012\000"
	.align	2
.LC1:
	.ascii	"Child pid: %d, Parent pid: %d\012\000"
	.align	2
.LC2:
	.ascii	"-a\000"
	.align	2
.LC3:
	.ascii	"uname\000"
	.align	2
.LC4:
	.ascii	"Unable to execlp: %s\012\000"
	.align	2
.LC5:
	.ascii	"Parent pid: %d, Child pid: %d\012\000"
	.align	2
.LC6:
	.ascii	"Child pid: %d, Exit Status: %d\012\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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L2
	ldr	r3, .L9+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L9+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L7
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L4
	bl	getpid
	mov	r4, r0
	bl	getppid
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L9+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L9+16
	ldr	r1, .L9+20
	ldr	r0, .L9+20
	bl	execlp
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r3, .L9+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L9+24
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	_exit
.L4:
	bl	getpid
	mov	r3, r0
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L9+28
	bl	printf
	nop
.L6:
	sub	r3, fp, #24
	mov	r0, r3
	bl	wait
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L6
	ldr	r3, [fp, #-24]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, .L9+32
	bl	printf
.L5:
	ldr	r3, [fp, #-24]
.L7:
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC7
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
