	.file	"670942.c"
	.intel_syntax noprefix
	.text
	.globl	pcg32_random_r
	.type	pcg32_random_r, @function
pcg32_random_r:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movabs	rdx, 6364136223846793005
	imul	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	or	rax, 1
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 18
	xor	rax, QWORD PTR -8[rbp]
	shr	rax, 27
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 59
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	ecx, eax
	ror	edx, cl
	mov	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	pcg32_random_r, .-pcg32_random_r
	.globl	pcg32_srandom_r
	.type	pcg32_srandom_r, @function
pcg32_srandom_r:
.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, 24
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rax
	or	rax, 1
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	pcg32_random_r
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	pcg32_random_r
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pcg32_srandom_r, .-pcg32_srandom_r
	.globl	my_do_work
	.type	my_do_work, @function
my_do_work:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -16[rbp], 1
	mov	DWORD PTR -12[rbp], 0
	jmp	.L5
.L9:
	mov	DWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	pcg32_random_r
	mov	edx, DWORD PTR -8[rbp]
	add	eax, edx
	and	eax, 1
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jne	.L6
	add	DWORD PTR -16[rbp], 1
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	pcg32_random_r
	and	eax, 3
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L8
	sub	DWORD PTR -16[rbp], 10
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -16[rbp], eax
.L7:
	add	DWORD PTR -12[rbp], 1
.L5:
	cmp	DWORD PTR -12[rbp], 69
	jle	.L9
	mov	eax, DWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	my_do_work, .-my_do_work
	.globl	sim_busy_loop
	.type	sim_busy_loop, @function
sim_busy_loop:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 1
	mov	DWORD PTR -8[rbp], 0
	jmp	.L12
.L15:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	pcg32_random_r
	and	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L13
	add	DWORD PTR -12[rbp], 1
	jmp	.L14
.L13:
	sub	DWORD PTR -12[rbp], 10
.L14:
	add	DWORD PTR -8[rbp], 1
.L12:
	cmp	DWORD PTR -8[rbp], 99
	jle	.L15
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	sim_busy_loop, .-sim_busy_loop
	.section	.rodata
.LC0:
	.string	"%i\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	edx, 54
	mov	esi, 42
	mov	rdi, rax
	call	pcg32_srandom_r
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L18
.L19:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	sim_busy_loop
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	my_do_work
	add	DWORD PTR -40[rbp], eax
	add	DWORD PTR -36[rbp], 1
.L18:
	cmp	DWORD PTR -36[rbp], 9
	jle	.L19
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.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	"670942.c"
	.text
	.align	2
	.global	pcg32_random_r
	.syntax unified
	.arm
	.fpu softvfp
	.type	pcg32_random_r, %function
pcg32_random_r:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #32
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldr	r2, .L3
	mul	r2, r3, r2
	ldr	r3, [fp, #-36]
	ldr	r1, .L3+4
	mul	r3, r1, r3
	add	r1, r2, r3
	ldr	r0, [fp, #-36]
	ldr	ip, .L3
	umull	r2, r3, r0, ip
	add	r1, r1, r3
	mov	r3, r1
	ldr	r1, [fp, #-48]
	add	r1, r1, #8
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	mov	r0, #1
	mov	r1, #0
	mov	ip, r0
	ldr	lr, [fp, #-60]
	orr	r6, lr, ip
	ldr	r0, [fp, #-56]
	orr	r7, r0, r1
	adds	r8, r2, r6
	adc	r9, r3, r7
	ldr	r3, [fp, #-48]
	stm	r3, {r8-r9}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r0, #18
	orr	r2, r2, r1, lsl #14
	lsr	r3, r1, #18
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	eor	r4, r2, r0
	eor	r5, r3, r1
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r4, #27
	orr	r2, r2, r5, lsl #5
	lsr	r3, r5, #27
	mov	r3, r2
	str	r3, [fp, #-44]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r1, #27
	mov	r3, #0
	mov	r3, r2
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	ror	r3, r2, r3
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L4:
	.align	2
.L3:
	.word	1284865837
	.word	1481765933
	.size	pcg32_random_r, .-pcg32_random_r
	.align	2
	.global	pcg32_srandom_r
	.syntax unified
	.arm
	.fpu softvfp
	.type	pcg32_srandom_r, %function
pcg32_srandom_r:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #16
	str	r0, [fp, #-32]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r1, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldmib	fp, {r2-r3}
	adds	r8, r2, r2
	adc	r9, r3, r3
	mov	r0, r8
	mov	r1, r9
	mov	r2, #1
	mov	r3, #0
	orr	r6, r0, r2
	orr	r7, r1, r3
	ldr	r3, [fp, #-32]
	str	r6, [r3, #8]
	str	r7, [r3, #12]
	ldr	r0, [fp, #-32]
	bl	pcg32_random_r
	ldr	r3, [fp, #-32]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	ldr	r3, [fp, #-32]
	stm	r3, {r4-r5}
	ldr	r0, [fp, #-32]
	bl	pcg32_random_r
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	pcg32_srandom_r, .-pcg32_srandom_r
	.align	2
	.global	my_do_work
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_do_work, %function
my_do_work:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L7
.L11:
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	pcg32_random_r
	mov	r2, r0
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	and	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L9
.L8:
	ldr	r0, [fp, #-24]
	bl	pcg32_random_r
	mov	r3, r0
	and	r3, r3, #3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-20]
	sub	r3, r3, #10
	str	r3, [fp, #-20]
	b	.L9
.L10:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-20]
.L9:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L7:
	ldr	r3, [fp, #-16]
	cmp	r3, #69
	ble	.L11
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	my_do_work, .-my_do_work
	.align	2
	.global	sim_busy_loop
	.syntax unified
	.arm
	.fpu softvfp
	.type	sim_busy_loop, %function
sim_busy_loop:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L14
.L17:
	ldr	r0, [fp, #-24]
	bl	pcg32_random_r
	mov	r3, r0
	and	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L16
.L15:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #10
	str	r3, [fp, #-16]
.L16:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L14:
	ldr	r3, [fp, #-12]
	cmp	r3, #99
	ble	.L17
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	sim_busy_loop, .-sim_busy_loop
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%i\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r1, fp, #28
	mov	r2, #54
	mov	r3, #0
	stm	sp, {r2-r3}
	mov	r2, #42
	mov	r3, #0
	mov	r0, r1
	bl	pcg32_srandom_r
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L20
.L21:
	sub	r3, fp, #28
	mov	r0, r3
	bl	sim_busy_loop
	sub	r3, fp, #28
	mov	r0, r3
	bl	my_do_work
	mov	r2, r0
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L20:
	ldr	r3, [fp, #-32]
	cmp	r3, #9
	ble	.L21
	ldr	r1, [fp, #-36]
	ldr	r0, .L24+4
	bl	printf
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
