	.file	"122331.c"
	.intel_syntax noprefix
	.text
	.globl	alphabet_arr
	.bss
	.align 32
	.type	alphabet_arr, @object
	.size	alphabet_arr, 208
alphabet_arr:
	.zero	208
	.globl	mutex_lock
	.align 32
	.type	mutex_lock, @object
	.size	mutex_lock, 1040
mutex_lock:
	.zero	1040
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"./input1.txt"
.LC2:
	.string	"%c: %zu\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	movabs	rdx, -6148914691236517205
	mul	rdx
	mov	rax, rdx
	shr	rax
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rax
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rcx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	nop
.L2:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 32
	jne	.L2
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rcx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	nop
.L3:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 32
	jne	.L3
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -120[rbp], 0
	jmp	.L4
.L5:
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, mutex_lock[rip]
	add	rax, rdx
	mov	esi, 0
	mov	rdi, rax
	call	pthread_mutex_init@PLT
	add	QWORD PTR -120[rbp], 1
.L4:
	cmp	QWORD PTR -120[rbp], 25
	jbe	.L5
	mov	QWORD PTR -64[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -56[rbp], rax
	lea	rdx, -64[rbp]
	lea	rax, -144[rbp]
	mov	rcx, rdx
	lea	rdx, thread_function[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -40[rbp], rax
	lea	rdx, -48[rbp]
	lea	rax, -136[rbp]
	mov	rcx, rdx
	lea	rdx, thread_function[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -24[rbp], rax
	lea	rdx, -32[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	lea	rdx, thread_function[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	QWORD PTR -112[rbp], 0
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -112[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, alphabet_arr[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -112[rbp]
	lea	rcx, 97[rdx]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -112[rbp], 1
.L6:
	cmp	QWORD PTR -112[rbp], 25
	jbe	.L7
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC3:
	.string	"%s"
	.text
	.globl	thread_function
	.type	thread_function, @function
thread_function:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	rcx, rax
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L11
.L12:
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	movzx	eax, BYTE PTR -112[rbp]
	movsx	eax, al
	sub	eax, 97
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, mutex_lock[rip]
	add	rax, rdx
	mov	rdi, rax
	call	pthread_mutex_lock@PLT
	movzx	eax, BYTE PTR -112[rbp]
	movsx	eax, al
	sub	eax, 97
	movsx	rdx, eax
	lea	rcx, 0[0+rdx*8]
	lea	rdx, alphabet_arr[rip]
	mov	rdx, QWORD PTR [rcx+rdx]
	lea	rcx, 1[rdx]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, alphabet_arr[rip]
	mov	QWORD PTR [rdx+rax], rcx
	movzx	eax, BYTE PTR -112[rbp]
	movsx	eax, al
	sub	eax, 97
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, mutex_lock[rip]
	add	rax, rdx
	mov	rdi, rax
	call	pthread_mutex_unlock@PLT
.L11:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	cmp	rdx, rax
	jb	.L12
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	thread_function, .-thread_function
	.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	"122331.c"
	.text
	.global	alphabet_arr
	.bss
	.align	2
	.type	alphabet_arr, %object
	.size	alphabet_arr, 104
alphabet_arr:
	.space	104
	.comm	mutex_lock,624,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"./input1.txt\000"
	.align	2
.LC2:
	.ascii	"%c: %zu\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L10+4
	ldr	r0, .L10+8
	bl	fopen
	str	r0, [fp, #-52]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	fseek
	ldr	r0, [fp, #-52]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r2, .L10+12
	umull	r1, r3, r2, r3
	lsr	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-44]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	fseek
	nop
.L2:
	ldr	r0, [fp, #-52]
	bl	fgetc
	mov	r3, r0
	cmp	r3, #32
	bne	.L2
	ldr	r0, [fp, #-52]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	fseek
	nop
.L3:
	ldr	r0, [fp, #-52]
	bl	fgetc
	mov	r3, r0
	cmp	r3, #32
	bne	.L3
	ldr	r0, [fp, #-52]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L4
.L5:
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L10+16
	add	r3, r3, r2
	mov	r1, #0
	mov	r0, r3
	bl	pthread_mutex_init
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L4:
	ldr	r3, [fp, #-60]
	cmp	r3, #25
	bls	.L5
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-28]
	sub	r3, fp, #32
	sub	r0, fp, #72
	ldr	r2, .L10+20
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-20]
	sub	r3, fp, #24
	sub	r0, fp, #68
	ldr	r2, .L10+20
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	sub	r0, fp, #64
	ldr	r2, .L10+20
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-72]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-68]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-64]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L6
.L7:
	ldr	r3, [fp, #-56]
	add	r1, r3, #97
	ldr	r2, .L10+24
	ldr	r3, [fp, #-56]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r0, .L10+28
	bl	printf
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L6:
	ldr	r3, [fp, #-56]
	cmp	r3, #25
	bls	.L7
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	-1431655765
	.word	mutex_lock
	.word	thread_function
	.word	alphabet_arr
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	thread_function
	.syntax unified
	.arm
	.fpu softvfp
	.type	thread_function, %function
thread_function:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, [fp, #-128]
	sub	r3, fp, #116
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r1, .L16+4
	ldr	r0, .L16+8
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-116]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-120]
	bl	fseek
	b	.L13
.L14:
	sub	r3, fp, #108
	mov	r2, r3
	ldr	r1, .L16+12
	ldr	r0, [fp, #-120]
	bl	__isoc99_fscanf
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	sub	r2, r3, #97
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L16+16
	add	r3, r3, r2
	mov	r0, r3
	bl	pthread_mutex_lock
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	sub	r3, r3, #97
	ldr	r2, .L16+20
	ldr	r2, [r2, r3, lsl #2]
	add	r2, r2, #1
	ldr	r1, .L16+20
	str	r2, [r1, r3, lsl #2]
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	sub	r2, r3, #97
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L16+16
	add	r3, r3, r2
	mov	r0, r3
	bl	pthread_mutex_unlock
.L13:
	ldr	r0, [fp, #-120]
	bl	ftell
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bcc	.L14
	ldr	r0, [fp, #-120]
	bl	fclose
	nop
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC4
	.word	mutex_lock
	.word	alphabet_arr
	.size	thread_function, .-thread_function
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
