	.file	"extr_pg_regress.c_wait_for_tests.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed to wait for subprocesses: %s\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	" %s"
	.text
	.p2align 4
	.type	wait_for_tests, @function
wait_for_tests:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 8[rsp], rsi
	mov	QWORD PTR 16[rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	r8d, r8d
	jle	.L1
	mov	rbp, rdi
	mov	r14, rcx
	lea	r13, 36[rsp]
	mov	ebx, r8d
	lea	r12d, -1[r8]
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r13
	call	wait@PLT
	cmp	QWORD PTR INVALID_PID[rip], rax
	mov	r8, rax
	je	.L17
.L3:
	mov	rdx, rbp
	mov	esi, r12d
	xor	eax, eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rcx, 1[rax]
	add	rdx, 8
	cmp	rax, rsi
	je	.L9
	mov	rax, rcx
.L7:
	lea	r15, 0[0+rax*8]
	cmp	QWORD PTR [rdx], r8
	jne	.L4
	mov	rsi, QWORD PTR INVALID_PID[rip]
	mov	rdi, QWORD PTR 8[rsp]
	mov	QWORD PTR [rdx], rsi
	mov	edx, DWORD PTR 36[rsp]
	mov	DWORD PTR [rdi+rax*4], edx
	mov	rdi, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR [rdi+rax*4]
	call	INSTR_TIME_SET_CURRENT@PLT
	test	r14, r14
	je	.L5
	mov	rsi, QWORD PTR [r14+r15]
	lea	rdi, .LC1[rip]
	call	status@PLT
.L5:
	sub	ebx, 1
	jne	.L9
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edi, DWORD PTR errno[rip]
	mov	QWORD PTR 24[rsp], rax
	call	strerror@PLT
	lea	rdi, .LC0[rip]
	mov	r15, rax
	call	_@PLT
	mov	edi, DWORD PTR stderr[rip]
	mov	rdx, r15
	mov	rsi, rax
	call	fprintf@PLT
	mov	edi, 2
	call	exit@PLT
	mov	r8, QWORD PTR 24[rsp]
	jmp	.L3
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wait_for_tests, .-wait_for_tests
	.comm	stderr,4,4
	.comm	errno,4,4
	.comm	WAIT_OBJECT_0,4,4
	.comm	INVALID_PID,8,8
	.comm	INFINITE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pg_regress.c_wait_for_tests.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to wait for subprocesses: %s\012\000"
	.align	2
.LC1:
	.ascii	" %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wait_for_tests, %function
wait_for_tests:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #20
	ldr	r5, [sp, #56]
	mov	r9, r3
	ldr	r3, .L19
	str	r1, [sp]
	cmp	r5, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ble	.L1
	mov	r8, r0
	mov	fp, r2
	mov	r6, r5
	ldr	r7, .L19+4
.L9:
	add	r0, sp, #8
	bl	wait
	ldr	r3, [r7]
	mov	r4, r0
	cmp	r3, r0
	beq	.L17
.L3:
	mov	r2, r8
	mov	r3, #0
	b	.L7
.L4:
	add	r3, r3, #1
	cmp	r5, r3
	beq	.L9
.L7:
	ldr	r0, [r2]
	mov	r1, r2
	cmp	r0, r4
	add	r2, r2, #4
	lsl	r10, r3, #2
	bne	.L4
	ldr	r2, [r7]
	ldr	r3, [sp, #8]
	str	r2, [r1]
	ldr	r2, [sp]
	str	r3, [r2, r10]
	ldr	r0, [fp, r10]
	bl	INSTR_TIME_SET_CURRENT
	cmp	r9, #0
	beq	.L5
	ldr	r1, [r9, r10]
	ldr	r0, .L19+8
	bl	status
.L5:
	subs	r6, r6, #1
	bne	.L9
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	ldr	r3, .L19+12
	ldr	r0, .L19+16
	ldr	r3, [r3]
	str	r3, [sp, #4]
	bl	_
	ldr	r3, .L19+20
	mov	r10, r0
	ldr	r0, [r3]
	bl	strerror
	ldr	r3, [sp, #4]
	mov	r2, r0
	mov	r1, r10
	mov	r0, r3
	bl	fprintf
	mov	r0, #2
	bl	exit
	b	.L3
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC2
	.word	INVALID_PID
	.word	.LC1
	.word	stderr
	.word	.LC0
	.word	errno
	.size	wait_for_tests, .-wait_for_tests
	.comm	stderr,4,4
	.comm	errno,4,4
	.comm	WAIT_OBJECT_0,4,4
	.comm	INVALID_PID,4,4
	.comm	INFINITE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
