	.file	"583629.c"
	.intel_syntax noprefix
	.text
	.globl	strfry
	.type	strfry, @function
strfry:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR init.2[rip]
	test	eax, eax
	jne	.L2
	mov	QWORD PTR rdata.1[rip+16], 0
	mov	edi, 0
	call	time@PLT
	mov	rbx, rax
	call	getpid@PLT
	cdqe
	xor	rax, rbx
	lea	rcx, rdata.1[rip]
	mov	edx, 32
	lea	rsi, state.0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__initstate_r@PLT
	mov	DWORD PTR init.2[rip], 1
.L2:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L3
	mov	QWORD PTR -40[rbp], 0
	jmp	.L4
.L5:
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, rdata.1[rip]
	mov	eax, 0
	call	__random_r@PLT
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, rdx
	sub	rcx, QWORD PTR -40[rbp]
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -45[rbp], al
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -45[rbp]
	mov	BYTE PTR [rdx], al
	add	QWORD PTR -40[rbp], 1
.L4:
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, 1
	cmp	QWORD PTR -40[rbp], rax
	jb	.L5
.L3:
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	strfry, .-strfry
	.local	init.2
	.comm	init.2,4,4
	.local	rdata.1
	.comm	rdata.1,48,32
	.local	state.0
	.comm	state.0,32,32
	.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	"583629.c"
	.text
	.global	__aeabi_uidivmod
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	strfry
	.syntax unified
	.arm
	.fpu softvfp
	.type	strfry, %function
strfry:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L8+8
	mov	r2, #0
	str	r2, [r3, #8]
	mov	r0, #0
	bl	time
	mov	r4, r0
	bl	getpid
	mov	r3, r0
	eor	r0, r4, r3
	ldr	r3, .L8+8
	mov	r2, #32
	ldr	r1, .L8+12
	bl	__initstate_r
	ldr	r3, .L8+4
	mov	r2, #1
	str	r2, [r3]
.L2:
	ldr	r0, [fp, #-40]
	bl	strlen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L3
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L4
.L5:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L8+8
	bl	__random_r
	ldr	r3, [fp, #-28]
	mov	r0, r3
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r1, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-29]
	ldr	r3, [fp, #-28]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r1, [fp, #-40]
	ldr	r3, [fp, #-24]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldrb	r2, [fp, #-29]
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L4:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bcc	.L5
.L3:
	ldr	r3, [fp, #-40]
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	init.5677
	.word	rdata.5678
	.word	state.5679
	.size	strfry, .-strfry
	.local	init.5677
	.comm	init.5677,4,4
	.local	rdata.5678
	.comm	rdata.5678,28,4
	.local	state.5679
	.comm	state.5679,32,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
