	.file	"extr_random-util.c_initialize_srand.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	initialize_srand
	.type	initialize_srand, @function
initialize_srand:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR srand_called.1936[rip]
	test	eax, eax
	je	.L8
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR CLOCK_REALTIME[rip]
	call	now@PLT
	mov	rbp, rax
	xor	eax, eax
	call	gettid@PLT
	mov	rdi, rsp
	xor	ebp, eax
	call	rdrand@PLT
	test	rax, rax
	js	.L4
	xor	ebp, DWORD PTR [rsp]
.L4:
	mov	edi, ebp
	call	srand@PLT
	mov	DWORD PTR srand_called.1936[rip], 1
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	initialize_srand, .-initialize_srand
	.local	srand_called.1936
	.comm	srand_called.1936,4,4
	.comm	CLOCK_REALTIME,4,4
	.comm	AT_RANDOM,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_random-util.c_initialize_srand.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	initialize_srand
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialize_srand, %function
initialize_srand:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L9
	ldr	r5, .L9+4
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L1
	ldr	r3, .L9+8
	ldr	r0, [r3]
	bl	now
	mov	r4, r0
	bl	gettid
	mov	r3, r0
	mov	r0, sp
	eor	r4, r4, r3
	bl	rdrand
	cmp	r0, #0
	ldrge	r3, [sp]
	eorge	r4, r4, r3
	mov	r0, r4
	bl	srand
	mov	r3, #1
	str	r3, [r5]
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LANCHOR0
	.word	CLOCK_REALTIME
	.size	initialize_srand, .-initialize_srand
	.comm	CLOCK_REALTIME,4,4
	.comm	AT_RANDOM,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	srand_called.4220, %object
	.size	srand_called.4220, 4
srand_called.4220:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
