	.file	"extr_bcm2835_rng.c_bcm2835_rng_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bcm2835_rng_start, @function
bcm2835_rng_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	bcm2835_rng_disable_intr@PLT
	mov	edx, DWORD PTR RND_VAL_WARM_CNT[rip]
	mov	esi, DWORD PTR RNG_STATUS[rip]
	mov	rdi, rbp
	call	bcm2835_rng_write4@PLT
	mov	esi, DWORD PTR RNG_CTRL[rip]
	mov	rdi, rbp
	call	bcm2835_rng_read4@PLT
	or	eax, DWORD PTR RNG_RBGEN_BIT[rip]
	cmp	QWORD PTR 0[rbp], 0
	mov	edx, eax
	je	.L2
	or	edx, DWORD PTR RNG_RBG2X[rip]
.L2:
	mov	esi, DWORD PTR RNG_CTRL[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	bcm2835_rng_write4@PLT
	.cfi_endproc
.LFE0:
	.size	bcm2835_rng_start, .-bcm2835_rng_start
	.comm	RNG_STATUS,4,4
	.comm	RNG_RBGEN_BIT,4,4
	.comm	RNG_RBG2X,4,4
	.comm	RNG_CTRL,4,4
	.comm	RND_VAL_WARM_CNT,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_bcm2835_rng.c_bcm2835_rng_start.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bcm2835_rng_start, %function
bcm2835_rng_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	bcm2835_rng_disable_intr
	ldr	r3, .L8
	ldr	r2, .L8+4
	ldr	r5, .L8+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r0, r4
	bl	bcm2835_rng_write4
	ldr	r1, [r5]
	mov	r0, r4
	bl	bcm2835_rng_read4
	ldr	r3, [r4]
	ldr	r2, .L8+12
	cmp	r3, #0
	ldrne	r3, .L8+16
	ldr	r2, [r2]
	ldrne	r3, [r3]
	orr	r2, r0, r2
	ldr	r1, [r5]
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	orrne	r2, r2, r3
	b	bcm2835_rng_write4
.L9:
	.align	2
.L8:
	.word	RNG_STATUS
	.word	RND_VAL_WARM_CNT
	.word	RNG_CTRL
	.word	RNG_RBGEN_BIT
	.word	RNG_RBG2X
	.size	bcm2835_rng_start, .-bcm2835_rng_start
	.comm	RNG_STATUS,4,4
	.comm	RNG_RBGEN_BIT,4,4
	.comm	RNG_RBG2X,4,4
	.comm	RNG_CTRL,4,4
	.comm	RND_VAL_WARM_CNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
