	.file	"extr_sys_unix.c_Sys_RandomBytes.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"r"
.LC1:
	.string	"/dev/urandom"
	.text
	.p2align 4
	.globl	Sys_RandomBytes
	.type	Sys_RandomBytes, @function
Sys_RandomBytes:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	lea	rdi, .LC1[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	lea	rsi, .LC0[rip]
	call	fopen@PLT
	test	rax, rax
	je	.L6
	mov	edx, DWORD PTR _IONBF[rip]
	mov	rbp, rax
	xor	ecx, ecx
	xor	esi, esi
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rdi, r12
	mov	rcx, rbp
	mov	edx, ebx
	mov	esi, 4
	call	fread@PLT
	mov	rdi, rbp
	cmp	eax, ebx
	je	.L4
	call	fclose@PLT
.L6:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR qfalse[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	call	fclose@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR qtrue[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	Sys_RandomBytes, .-Sys_RandomBytes
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	_IONBF,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_sys_unix.c_Sys_RandomBytes.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"/dev/urandom\000"
	.text
	.align	2
	.global	Sys_RandomBytes
	.syntax unified
	.arm
	.fpu softvfp
	.type	Sys_RandomBytes, %function
Sys_RandomBytes:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r5, r1
	ldr	r0, .L8
	ldr	r1, .L8+4
	bl	fopen
	subs	r4, r0, #0
	beq	.L6
	mov	r3, #0
	ldr	r2, .L8+8
	mov	r1, r3
	ldr	r2, [r2]
	bl	setvbuf
	mov	r3, r4
	mov	r2, r5
	mov	r0, r6
	mov	r1, #4
	bl	fread
	cmp	r0, r5
	mov	r0, r4
	beq	.L4
	bl	fclose
.L6:
	ldr	r3, .L8+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L4:
	bl	fclose
	ldr	r3, .L8+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.word	_IONBF
	.word	qfalse
	.word	qtrue
	.size	Sys_RandomBytes, .-Sys_RandomBytes
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	_IONBF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
