	.file	"extr_drbgtest.c_test_drbg_reseed_after_fork.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	test_drbg_reseed_after_fork, @function
test_drbg_reseed_after_fork:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	call	fork@PLT
	xor	esi, esi
	mov	rdi, rax
	mov	rbp, rax
	call	TEST_int_ge@PLT
	test	eax, eax
	je	.L2
	test	rbp, rbp
	jg	.L15
	push	0
	.cfi_def_cfa_offset 72
	mov	rcx, r14
	mov	rdx, r12
	mov	r9d, 1
	push	1
	.cfi_def_cfa_offset 80
	mov	r8d, 1
	mov	rsi, r13
	mov	edi, 1
	call	test_drbg_reseed@PLT
	mov	edi, eax
	call	TEST_true@PLT
	pop	rdx
	.cfi_def_cfa_offset 72
	pop	rcx
	.cfi_def_cfa_offset 64
	test	eax, eax
	jne	.L5
	mov	DWORD PTR 4[rsp], 1
.L5:
	mov	rdi, r13
	call	unhook_drbg@PLT
	mov	rdi, r12
	call	unhook_drbg@PLT
	mov	rdi, r14
	call	unhook_drbg@PLT
	mov	edi, DWORD PTR 4[rsp]
	call	exit@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rsi, 4[rsp]
	xor	edx, edx
	mov	rdi, rbp
	call	waitpid@PLT
	mov	rsi, rbp
	mov	edi, eax
	call	TEST_int_eq@PLT
	test	rax, rax
	jne	.L16
.L2:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rsp]
	xor	esi, esi
	call	TEST_int_eq@PLT
	test	rax, rax
	setne	al
	movzx	eax, al
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_drbg_reseed_after_fork, .-test_drbg_reseed_after_fork
	.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_drbgtest.c_test_drbg_reseed_after_fork.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_drbg_reseed_after_fork, %function
test_drbg_reseed_after_fork:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, #0
	ldr	r3, .L18
	sub	sp, sp, #24
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r6, r1
	mov	r5, r2
	mov	r7, r0
	str	r8, [sp, #16]
	bl	fork
	mov	r1, r8
	mov	r4, r0
	bl	TEST_int_ge
	cmp	r0, r8
	beq	.L2
	cmp	r4, r8
	bgt	.L15
	mov	r4, #1
	mov	r3, r5
	mov	r2, r6
	mov	r1, r7
	mov	r0, r4
	str	r8, [sp, #12]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	str	r4, [sp]
	bl	test_drbg_reseed
	bl	TEST_true
	cmp	r0, #0
	mov	r0, r7
	streq	r4, [sp, #16]
	bl	unhook_drbg
	mov	r0, r6
	bl	unhook_drbg
	mov	r0, r5
	bl	unhook_drbg
	ldr	r0, [sp, #16]
	bl	exit
	b	.L1
.L15:
	mov	r2, r8
	add	r1, sp, #16
	mov	r0, r4
	bl	waitpid
	mov	r1, r4
	bl	TEST_int_eq
	cmp	r0, r8
	bne	.L16
.L2:
	mov	r0, #0
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	mov	r1, r8
	ldr	r0, [sp, #16]
	bl	TEST_int_eq
	subs	r0, r0, r8
	movne	r0, #1
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.size	test_drbg_reseed_after_fork, .-test_drbg_reseed_after_fork
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
