	.file	"264121.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"read error"
	.text
	.globl	read_input
	.type	read_input, @function
read_input:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jg	.L3
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	read_input, .-read_input
	.section	.rodata
.LC1:
	.string	"Timeout"
	.text
	.globl	handler
	.type	handler, @function
handler:
.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
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	_exit@PLT
	.cfi_endproc
.LFE7:
	.size	handler, .-handler
	.globl	init
	.type	init, @function
init:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	lea	rsi, handler[rip]
	mov	edi, 14
	call	signal@PLT
	mov	edi, 60
	call	alarm@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	init, .-init
	.globl	xorlen
	.bss
	.align 4
	.type	xorlen, @object
	.size	xorlen, 4
xorlen:
	.zero	4
	.globl	count
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.section	.rodata
.LC2:
	.string	"What do you want to xor :"
.LC3:
	.string	"Result:%s"
	.text
	.globl	xorstr
	.type	xorstr, @function
xorstr:
.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, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -144[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	read_input
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR xorlen[rip], eax
	mov	DWORD PTR count[rip], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR count[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -280[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR count[rip]
	cdqe
	movzx	edx, BYTE PTR -144[rbp+rax]
	mov	eax, DWORD PTR count[rip]
	xor	edx, ecx
	cdqe
	mov	BYTE PTR -272[rbp+rax], dl
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
.L7:
	mov	edx, DWORD PTR count[rip]
	mov	eax, DWORD PTR xorlen[rip]
	cmp	edx, eax
	jl	.L8
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	xorstr, .-xorstr
	.section	.rodata
.LC4:
	.string	"Your string:"
	.text
	.globl	process
	.type	process, @function
process:
.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, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -144[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	read_input
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	xorstr
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	process, .-process
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	init
.L14:
	mov	eax, 0
	call	process
	jmp	.L14
	.cfi_endproc
.LFE11:
	.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	"264121.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"read error\000"
	.text
	.align	2
	.global	read_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_input, %function
read_input:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	read
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L3
	ldr	r0, .L4
	bl	puts
	mov	r0, #1
	bl	exit
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	read_input, .-read_input
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Timeout\000"
	.text
	.align	2
	.global	handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler, %function
handler:
	@ 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]
	ldr	r0, .L7
	bl	puts
	mov	r0, #1
	bl	_exit
.L8:
	.align	2
.L7:
	.word	.LC1
	.size	handler, .-handler
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L10
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r3, .L10+4
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r3, .L10+8
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r1, .L10+12
	mov	r0, #14
	bl	signal
	mov	r0, #60
	bl	alarm
	nop
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	stdout
	.word	stdin
	.word	stderr
	.word	handler
	.size	init, .-init
	.global	xorlen
	.bss
	.align	2
	.type	xorlen, %object
	.size	xorlen, 4
xorlen:
	.space	4
	.global	count
	.align	2
	.type	count, %object
	.size	count, 4
count:
	.space	4
	.section	.rodata
	.align	2
.LC2:
	.ascii	"What do you want to xor :\000"
	.align	2
.LC3:
	.ascii	"Result:%s\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	xorstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	xorstr, %function
xorstr:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L16+4
	bl	printf
	sub	r3, fp, #136
	mov	r1, #128
	mov	r0, r3
	bl	read_input
	sub	r3, fp, #136
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L16+8
	str	r2, [r3]
	ldr	r3, .L16+12
	mov	r2, #0
	str	r2, [r3]
	b	.L13
.L14:
	ldr	r3, .L16+12
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-272]
	add	r3, r3, r2
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, .L16+12
	ldr	r3, [r3]
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [r3, #-132]	@ zero_extendqisi2
	ldr	r3, .L16+12
	ldr	r3, [r3]
	eor	r2, r2, r1
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-260]
	ldr	r3, .L16+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+12
	str	r3, [r2]
.L13:
	ldr	r3, .L16+12
	ldr	r2, [r3]
	ldr	r3, .L16+8
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L14
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L16+16
	bl	printf
	nop
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC4
	.word	.LC2
	.word	xorlen
	.word	count
	.word	.LC3
	.size	xorstr, .-xorstr
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Your string:\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	process
	.syntax unified
	.arm
	.fpu softvfp
	.type	process, %function
process:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L21+4
	bl	printf
	sub	r3, fp, #136
	mov	r1, #128
	mov	r0, r3
	bl	read_input
	sub	r3, fp, #136
	mov	r0, r3
	bl	xorstr
	nop
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC6
	.word	.LC5
	.size	process, .-process
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	init
.L24:
	bl	process
	b	.L24
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
