	.file	"749033.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"/dev/urandom"
.LC2:
	.string	"the_stack_data/749033.c"
.LC3:
	.string	"urandom != NULL"
.LC4:
	.string	"count == (int)size"
	.text
	.globl	randombytes_buf
	.type	randombytes_buf, @function
randombytes_buf:
.LFB0:
	.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
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 6
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L2:
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	cmp	DWORD PTR -12[rbp], eax
	je	.L3
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 8
	lea	rsi, .LC2[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	randombytes_buf, .-randombytes_buf
	.section	.rodata
	.align 16
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 16
__PRETTY_FUNCTION__.0:
	.string	"randombytes_buf"
	.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	"749033.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"/dev/urandom\000"
	.align	2
.LC2:
	.ascii	"the_stack_data/749033.c\000"
	.align	2
.LC3:
	.ascii	"urandom != NULL\000"
	.align	2
.LC4:
	.ascii	"count == (int)size\000"
	.text
	.align	2
	.global	randombytes_buf
	.syntax unified
	.arm
	.fpu softvfp
	.type	randombytes_buf, %function
randombytes_buf:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, .L4
	ldr	r0, .L4+4
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L4+8
	mov	r2, #6
	ldr	r1, .L4+12
	ldr	r0, .L4+16
	bl	__assert_fail
.L2:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L3
	ldr	r3, .L4+8
	mov	r2, #8
	ldr	r1, .L4+12
	ldr	r0, .L4+20
	bl	__assert_fail
.L3:
	ldr	r0, [fp, #-12]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	__PRETTY_FUNCTION__.4617
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	randombytes_buf, .-randombytes_buf
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4617, %object
	.size	__PRETTY_FUNCTION__.4617, 16
__PRETTY_FUNCTION__.4617:
	.ascii	"randombytes_buf\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
