	.file	"extr_prng.c_test_prng_lg_range_u64.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Repeated generation should produce repeated results"
	.align 8
.LC1:
	.string	"Equivalent generation should produce equivalent results"
	.align 8
.LC2:
	.string	"Full-width results must not immediately repeat"
	.align 8
.LC3:
	.string	"High order bits should be 0, lg_range=%u"
	.align 8
.LC4:
	.string	"Expected high order bits of full-width result, lg_range=%u"
	.text
	.p2align 4
	.type	test_prng_lg_range_u64, @function
test_prng_lg_range_u64:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	esi, 64
	mov	r14d, 64
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	mov	DWORD PTR [rsp], 42
	lea	r13, 4[rsp]
	mov	rdi, rbp
	call	prng_lg_range_u64@PLT
	mov	esi, 64
	mov	rdi, rbp
	mov	DWORD PTR [rsp], 42
	mov	r12d, eax
	call	prng_lg_range_u64@PLT
	lea	rdx, .LC0[rip]
	mov	edi, r12d
	mov	esi, eax
	xor	eax, eax
	call	assert_u64_eq@PLT
	mov	esi, 64
	mov	rdi, r13
	mov	DWORD PTR 4[rsp], 42
	call	prng_lg_range_u64@PLT
	lea	rdx, .LC1[rip]
	mov	edi, r12d
	mov	esi, eax
	xor	eax, eax
	call	assert_u64_eq@PLT
	mov	esi, 64
	mov	rdi, rbp
	mov	DWORD PTR [rsp], 42
	call	prng_lg_range_u64@PLT
	mov	esi, 64
	mov	rdi, rbp
	mov	r12d, eax
	call	prng_lg_range_u64@PLT
	mov	edi, r12d
	lea	rdx, .LC2[rip]
	mov	r12d, 63
	mov	esi, eax
	call	assert_u64_ne@PLT
	mov	esi, 64
	mov	rdi, rbp
	mov	DWORD PTR [rsp], 42
	call	prng_lg_range_u64@PLT
	mov	ebx, eax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, r12d
	mov	rdi, r13
	mov	DWORD PTR 4[rsp], 42
	call	prng_lg_range_u64@PLT
	mov	edi, -1
	mov	ebp, eax
	call	UINT64_C@PLT
	mov	ecx, r12d
	xor	esi, esi
	lea	rdx, .LC3[rip]
	sal	eax, cl
	mov	ecx, r12d
	mov	edi, eax
	xor	eax, eax
	and	edi, ebp
	call	assert_u64_eq@PLT
	mov	ecx, r14d
	mov	esi, ebx
	xor	eax, eax
	sub	ecx, r12d
	lea	rdx, .LC4[rip]
	mov	edi, ebp
	shr	esi, cl
	mov	ecx, r12d
	call	assert_u64_eq@PLT
	sub	r12d, 1
	jne	.L2
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_prng_lg_range_u64, .-test_prng_lg_range_u64
	.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_prng.c_test_prng_lg_range_u64.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Repeated generation should produce repeated results"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"Equivalent generation should produce equivalent res"
	.ascii	"ults\000"
	.align	2
.LC2:
	.ascii	"Full-width results must not immediately repeat\000"
	.align	2
.LC3:
	.ascii	"High order bits should be 0, lg_range=%u\000"
	.align	2
.LC4:
	.ascii	"Expected high order bits of full-width result, lg_r"
	.ascii	"ange=%u\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_prng_lg_range_u64, %function
test_prng_lg_range_u64:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, #42
	sub	sp, sp, #20
	ldr	r3, .L8
	mov	r1, #64
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	str	r6, [sp, #4]
	bl	prng_lg_range_u64
	mov	r1, #64
	mov	r4, r0
	add	r0, sp, #4
	str	r6, [sp, #4]
	bl	prng_lg_range_u64
	ldr	r2, .L8+4
	mov	r1, r0
	mov	r0, r4
	bl	assert_u64_eq
	mov	r1, #64
	add	r0, sp, #8
	str	r6, [sp, #8]
	bl	prng_lg_range_u64
	ldr	r2, .L8+8
	mov	r1, r0
	mov	r0, r4
	bl	assert_u64_eq
	mov	r1, #64
	add	r0, sp, #4
	str	r6, [sp, #4]
	bl	prng_lg_range_u64
	mov	r1, #64
	mov	r4, r0
	add	r0, sp, #4
	bl	prng_lg_range_u64
	ldr	r2, .L8+12
	mov	r1, r0
	mov	r0, r4
	bl	assert_u64_ne
	mov	r1, #64
	add	r0, sp, #4
	str	r6, [sp, #4]
	bl	prng_lg_range_u64
	mov	r4, #63
	mov	r7, r0
	ldr	r9, .L8+16
	ldr	r8, .L8+20
.L2:
	mov	r1, r4
	add	r0, sp, #8
	str	r6, [sp, #8]
	bl	prng_lg_range_u64
	mov	r5, r0
	mvn	r0, #0
	bl	UINT64_C
	mov	r3, r4
	mov	r2, r9
	mov	r1, #0
	and	r0, r5, r0, lsl r4
	bl	assert_u64_eq
	rsb	r1, r4, #64
	mov	r3, r4
	mov	r0, r5
	mov	r2, r8
	lsr	r1, r7, r1
	bl	assert_u64_eq
	subs	r4, r4, #1
	bne	.L2
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	test_prng_lg_range_u64, .-test_prng_lg_range_u64
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
