	.file	"76699046.c"
	.intel_syntax noprefix
	.text
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 100
s:
	.zero	100
	.section	.rodata
.LC0:
	.string	"\033[2J\033[%d;%dH%s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -128[rbp], 10
	movabs	rax, 500135195763
	mov	edx, 0
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	lea	rax, -120[rbp]
	mov	ecx, 1
	lea	rdx, func[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
.L5:
	mov	eax, DWORD PTR -128[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -128[rbp], edx
	lea	rdx, -112[rbp]
	mov	rcx, rdx
	mov	edx, eax
	mov	esi, 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 500000
	call	usleep@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, s[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	DWORD PTR -124[rbp], 0
	jmp	.L3
.L4:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1321528399
	shr	rdx, 32
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 26
	sub	eax, ecx
	mov	edx, eax
	mov	eax, edx
	add	eax, 97
	mov	edx, eax
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -124[rbp], 1
.L3:
	cmp	DWORD PTR -124[rbp], 4
	jle	.L4
	mov	DWORD PTR -128[rbp], 10
	jmp	.L5
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"%s"
	.text
	.globl	func
	.type	func, @function
func:
.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, 16
	mov	DWORD PTR -4[rbp], edi
.L8:
	lea	rsi, s[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L8
	.cfi_endproc
.LFE7:
	.size	func, .-func
	.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	"76699046.c"
	.text
	.global	s
	.bss
	.align	2
	.type	s, %object
	.size	s, 100
s:
	.space	100
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\033[2J\033[%d;%dH%s\012\000"
	.align	2
.LC0:
	.ascii	"start\000"
	.space	94
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #10
	str	r3, [fp, #-116]
	ldr	r2, .L7+4
	sub	r3, fp, #108
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	sub	r3, fp, #102
	mov	r2, #94
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #120
	mov	r3, #1
	ldr	r2, .L7+8
	mov	r1, #0
	bl	pthread_create
.L5:
	ldr	r2, [fp, #-116]
	sub	r3, r2, #1
	str	r3, [fp, #-116]
	sub	r3, fp, #108
	mov	r1, #0
	ldr	r0, .L7+12
	bl	printf
	ldr	r0, .L7+16
	bl	usleep
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L7+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L3
.L4:
	bl	rand
	mov	r1, r0
	ldr	r3, .L7+24
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r3, #97
	and	r1, r3, #255
	sub	r2, fp, #108
	ldr	r3, [fp, #-112]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L3:
	ldr	r3, [fp, #-112]
	cmp	r3, #4
	ble	.L4
	mov	r3, #10
	str	r3, [fp, #-116]
	b	.L5
.L8:
	.align	2
.L7:
	.word	.LC2
	.word	.LC0
	.word	func
	.word	.LC1
	.word	500000
	.word	s
	.word	1321528399
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s\000"
	.text
	.align	2
	.global	func
	.syntax unified
	.arm
	.fpu softvfp
	.type	func, %function
func:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
.L10:
	ldr	r1, .L11
	ldr	r0, .L11+4
	bl	__isoc99_scanf
	b	.L10
.L12:
	.align	2
.L11:
	.word	s
	.word	.LC3
	.size	func, .-func
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
