	.file	"287927.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\320\235\320\265 \321\203\320\264\320\260\320\273\320\276\321\201\321\214 \321\204\320\276\321\200\320\272\320\275\321\203\321\202\321\214\321\201\321\217"
	.align 8
.LC1:
	.string	"\n \320\234\320\276\320\271 \320\276\321\202\320\265\321\206 \321\203\320\274\320\265\321\200 :( "
.LC2:
	.string	"\n \320\234\320\276\320\271 \320\276\321\202\320\265\321\206 \320\266\320\270\320\262 :) "
	.align 8
.LC3:
	.string	"\320\257 \321\201\321\213\320\275 \320\274\320\276\320\271 id =%d, \320\274\320\276\320\271 \320\276\321\202\320\265\321\206 =%d \n"
	.align 8
.LC4:
	.string	"\320\257 \320\276\321\202\320\265\321\206 \320\274\320\276\320\271 id =%d, id \320\274\320\276\320\265\320\263\320\276 \321\201\321\213\320\275\320\260 =%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, 16
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	call	fork@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], -1
	jne	.L2
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L2:
	cmp	DWORD PTR -8[rbp], 0
	jne	.L3
	call	getppid@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L4
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L5
.L4:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L5:
	call	getpid@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L3:
	call	getpid@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 1
	jmp	.L7
.L8:
	call	rand@PLT
	mov	DWORD PTR -12[rbp], eax
	add	DWORD PTR -16[rbp], 1
.L7:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L8
.L6:
	mov	edi, 0
	call	exit@PLT
	.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	"287927.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\320\235\320\265 \321\203\320\264\320\260\320\273\320"
	.ascii	"\276\321\201\321\214 \321\204\320\276\321\200\320\272"
	.ascii	"\320\275\321\203\321\202\321\214\321\201\321\217\000"
	.align	2
.LC1:
	.ascii	"\012 \320\234\320\276\320\271 \320\276\321\202\320\265"
	.ascii	"\321\206 \321\203\320\274\320\265\321\200 :( \000"
	.align	2
.LC2:
	.ascii	"\012 \320\234\320\276\320\271 \320\276\321\202\320\265"
	.ascii	"\321\206 \320\266\320\270\320\262 :) \000"
	.align	2
.LC3:
	.ascii	"\320\257 \321\201\321\213\320\275 \320\274\320\276\320"
	.ascii	"\271 id =%d, \320\274\320\276\320\271 \320\276\321\202"
	.ascii	"\320\265\321\206 =%d \012\000"
	.align	2
.LC4:
	.ascii	"\320\257 \320\276\321\202\320\265\321\206 \320\274\320"
	.ascii	"\276\320\271 id =%d, id \320\274\320\276\320\265\320"
	.ascii	"\263\320\276 \321\201\321\213\320\275\320\260 =%d \012"
	.ascii	"\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L9
	bl	printf
	mvn	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L3
	bl	getppid
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L4
	ldr	r0, .L9+4
	bl	puts
	b	.L5
.L4:
	ldr	r0, .L9+8
	bl	puts
.L5:
	bl	getpid
	mov	r3, r0
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L9+12
	bl	printf
	b	.L6
.L3:
	bl	getpid
	mov	r3, r0
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L9+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L7
.L8:
	bl	rand
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L7:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L8
.L6:
	mov	r0, #0
	bl	exit
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
