	.file	"187643381.c"
	.intel_syntax noprefix
	.text
	.data
	.align 4
	.type	fd, @object
	.size	fd, 4
fd:
	.long	-1
	.section	.rodata
.LC0:
	.string	"/dev/urandom"
	.text
	.globl	randombytes
	.type	randombytes, @function
randombytes:
.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	eax, DWORD PTR fd[rip]
	cmp	eax, -1
	jne	.L5
.L4:
	mov	esi, 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	mov	eax, DWORD PTR fd[rip]
	cmp	eax, -1
	jne	.L10
	mov	edi, 1
	call	sleep@PLT
	jmp	.L4
.L10:
	nop
	jmp	.L5
.L9:
	cmp	QWORD PTR -32[rbp], 1048575
	ja	.L6
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L7
.L6:
	mov	DWORD PTR -4[rbp], 1048576
.L7:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR fd[rip]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jg	.L8
	mov	edi, 1
	call	sleep@PLT
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sub	QWORD PTR -32[rbp], rax
.L5:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	randombytes, .-randombytes
	.globl	random
	.type	random, @function
random:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -12[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	randombytes
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	random, .-random
	.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	"187643381.c"
	.text
	.data
	.align	2
	.type	fd, %object
	.size	fd, 4
fd:
	.word	-1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/dev/urandom\000"
	.text
	.align	2
	.global	randombytes
	.syntax unified
	.arm
	.fpu softvfp
	.type	randombytes, %function
randombytes:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, .L11
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L5
.L4:
	mov	r1, #0
	ldr	r0, .L11+4
	bl	open
	mov	r3, r0
	ldr	r2, .L11
	str	r3, [r2]
	ldr	r3, .L11
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L10
	mov	r0, #1
	bl	sleep
	b	.L4
.L10:
	nop
	b	.L5
.L9:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #1048576
	bcs	.L6
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-16]
	b	.L7
.L6:
	mov	r3, #1048576
	str	r3, [fp, #-16]
.L7:
	ldr	r3, .L11
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	read
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L8
	mov	r0, #1
	bl	sleep
	b	.L5
.L8:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	subs	r4, r0, r2
	sbc	r5, r1, r3
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
.L5:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L9
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L12:
	.align	2
.L11:
	.word	fd
	.word	.LC0
	.size	randombytes, .-randombytes
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	random
	.syntax unified
	.arm
	.fpu softvfp
	.type	random, %function
random:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r1, fp, #12
	mov	r2, #4
	mov	r3, #0
	mov	r0, r1
	bl	randombytes
	ldr	r3, [fp, #-12]
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC1
	.size	random, .-random
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
