	.file	"733015.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"exit"
	.text
	.globl	proc_exit
	.type	proc_exit, @function
proc_exit:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L5:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L8
	cmp	DWORD PTR -12[rbp], -1
	je	.L9
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L8:
	nop
	jmp	.L1
.L9:
	nop
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	proc_exit, .-proc_exit
	.section	.rodata
.LC1:
	.string	"main: fork"
.LC2:
	.string	"I'm alive (temporarily)"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	lea	rsi, proc_exit[rip]
	mov	edi, 17
	call	signal@PLT
	call	fork@PLT
	cmp	eax, -1
	je	.L11
	test	eax, eax
	je	.L12
	jmp	.L15
.L11:
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L12:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	call	rand@PLT
	mov	edi, eax
	call	exit@PLT
.L15:
	call	pause@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"733015.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"exit\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	proc_exit
	.syntax unified
	.arm
	.fpu softvfp
	.type	proc_exit, %function
proc_exit:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L5:
	sub	r3, fp, #16
	mov	r0, r3
	bl	wait
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L9
	ldr	r0, .L10+4
	bl	printf
	b	.L5
.L8:
	nop
	b	.L1
.L9:
	nop
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	.LC0
	.size	proc_exit, .-proc_exit
	.section	.rodata
	.align	2
.LC2:
	.ascii	"main: fork\000"
	.align	2
.LC3:
	.ascii	"I'm alive (temporarily)\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, .L18
	mov	r0, #17
	bl	signal
	bl	fork
	mov	r3, r0
	cmn	r3, #1
	beq	.L13
	cmp	r3, #0
	beq	.L14
	b	.L17
.L13:
	ldr	r0, .L18+4
	bl	perror
	mov	r0, #0
	bl	exit
.L14:
	ldr	r0, .L18+8
	bl	puts
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	exit
.L17:
	bl	pause
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	proc_exit
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
