	.file	"747293.c"
	.intel_syntax noprefix
	.text
	.local	pcA
	.comm	pcA,4,4
	.local	pcB
	.comm	pcB,4,4
	.section	.rodata
.LC0:
	.string	""
	.section	.data.rel.local,"aw"
	.align 16
	.type	arg, @object
	.size	arg, 16
arg:
	.quad	.LC0
	.quad	0
	.local	psA
	.comm	psA,8,8
	.local	psB
	.comm	psB,8,8
	.local	nTime
	.comm	nTime,4,4
	.text
	.globl	envOr
	.type	envOr, @function
envOr:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	getenv@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L4
.L2:
	mov	rax, QWORD PTR -8[rbp]
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	envOr, .-envOr
	.globl	ienvOr
	.type	ienvOr, @function
ienvOr:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	getenv@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	atoi@PLT
	jmp	.L8
.L6:
	mov	eax, DWORD PTR -20[rbp]
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ienvOr, .-ienvOr
	.section	.rodata
.LC1:
	.string	"nTime"
.LC2:
	.string	"pA"
.LC3:
	.string	"echo"
.LC4:
	.string	"pB"
.LC5:
	.string	"%s=%d, %s=%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	eax, DWORD PTR pcA[rip]
	test	eax, eax
	jne	.L10
	mov	eax, DWORD PTR pcB[rip]
	test	eax, eax
	je	.L11
	mov	rax, QWORD PTR psB[rip]
	jmp	.L13
.L11:
	mov	eax, 0
	jmp	.L13
.L10:
	mov	rax, QWORD PTR psA[rip]
.L13:
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L14
	mov	DWORD PTR -40[rbp], 0
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, arg[rip]
	mov	rdi, rax
	call	execvp@PLT
	add	DWORD PTR -40[rbp], 1
.L15:
	mov	eax, DWORD PTR nTime[rip]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L16
.L14:
	lea	rsi, .LC1[rip]
	mov	edi, 2
	call	ienvOr
	mov	DWORD PTR nTime[rip], eax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	envOr
	mov	QWORD PTR psA[rip], rax
	lea	rsi, .LC4[rip]
	lea	rdi, .LC3[rip]
	call	envOr
	mov	QWORD PTR psB[rip], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L17
.L20:
	mov	edi, 0
	call	time@PLT
	mov	DWORD PTR -24[rbp], eax
	call	fork@PLT
	mov	DWORD PTR pcA[rip], eax
	call	fork@PLT
	cmp	eax, -1
	jne	.L18
	mov	edi, -1
	call	exit@PLT
.L18:
	mov	edi, 0
	call	time@PLT
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	sub	rax, rdx
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	mov	DWORD PTR -36[rbp], eax
	mov	edi, 0
	call	time@PLT
	mov	DWORD PTR -20[rbp], eax
	call	fork@PLT
	mov	DWORD PTR pcB[rip], eax
	call	fork@PLT
	cmp	eax, -1
	jne	.L19
	mov	edi, -1
	call	exit@PLT
.L19:
	mov	edi, 0
	call	time@PLT
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	sub	rax, rdx
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -32[rbp], eax
	mov	DWORD PTR pcB[rip], 0
	mov	eax, DWORD PTR pcB[rip]
	mov	DWORD PTR pcA[rip], eax
	add	QWORD PTR -16[rbp], 8
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR arg[rip], rax
	add	DWORD PTR -28[rbp], 1
.L17:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L20
	mov	rsi, QWORD PTR psB[rip]
	mov	rdx, QWORD PTR psA[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	edi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	r9d, edi
	mov	r8, rsi
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"747293.c"
	.text
	.local	pcA
	.comm	pcA,4,4
	.local	pcB
	.comm	pcB,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.data
	.align	2
	.type	arg, %object
	.size	arg, 8
arg:
	.word	.LC0
	.word	0
	.local	psA
	.comm	psA,4,4
	.local	psB
	.comm	psB,4,4
	.local	nTime
	.comm	nTime,4,4
	.text
	.align	2
	.global	envOr
	.syntax unified
	.arm
	.fpu softvfp
	.type	envOr, %function
envOr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	getenv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-16]
	b	.L4
.L2:
	ldr	r3, [fp, #-8]
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	envOr, .-envOr
	.align	2
	.global	ienvOr
	.syntax unified
	.arm
	.fpu softvfp
	.type	ienvOr, %function
ienvOr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	getenv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L6
	ldr	r0, [fp, #-8]
	bl	atoi
	mov	r3, r0
	b	.L8
.L6:
	ldr	r3, [fp, #-16]
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ienvOr, .-ienvOr
	.section	.rodata
	.align	2
.LC1:
	.ascii	"nTime\000"
	.align	2
.LC2:
	.ascii	"pA\000"
	.align	2
.LC3:
	.ascii	"echo\000"
	.align	2
.LC4:
	.ascii	"pB\000"
	.align	2
.LC5:
	.ascii	"%s=%d, %s=%d\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L22+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L22+8
	ldr	r3, [r3]
	b	.L13
.L11:
	mov	r3, #0
	b	.L13
.L10:
	ldr	r3, .L22+12
	ldr	r3, [r3]
.L13:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L14
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L15
.L16:
	ldr	r1, .L22+16
	ldr	r0, [fp, #-16]
	bl	execvp
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L15:
	ldr	r3, .L22+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L16
.L14:
	ldr	r1, .L22+24
	mov	r0, #2
	bl	ienvOr
	mov	r3, r0
	ldr	r2, .L22+20
	str	r3, [r2]
	ldr	r1, .L22+28
	ldr	r0, .L22+32
	bl	envOr
	mov	r3, r0
	ldr	r2, .L22+12
	str	r3, [r2]
	ldr	r1, .L22+36
	ldr	r0, .L22+32
	bl	envOr
	mov	r3, r0
	ldr	r2, .L22+8
	str	r3, [r2]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L17
.L20:
	mov	r0, #0
	bl	time
	str	r0, [fp, #-12]
	bl	fork
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L22
	str	r2, [r3]
	bl	fork
	mov	r3, r0
	cmn	r3, #1
	bne	.L18
	mvn	r0, #0
	bl	exit
.L18:
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	mov	r0, #0
	bl	time
	str	r0, [fp, #-8]
	bl	fork
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L22+4
	str	r2, [r3]
	bl	fork
	mov	r3, r0
	cmn	r3, #1
	bne	.L19
	mvn	r0, #0
	bl	exit
.L19:
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, .L22+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, .L22
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, .L22+16
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L17:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L20
	ldr	r3, .L22+40
	ldr	r0, [r3]
	ldr	r3, .L22+12
	ldr	r1, [r3]
	ldr	r3, .L22+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	mov	r2, r1
	ldr	r1, .L22+44
	bl	fprintf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	pcA
	.word	pcB
	.word	psB
	.word	psA
	.word	arg
	.word	nTime
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
