	.file	"1179420.c"
	.intel_syntax noprefix
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -26[rbp], 4
	mov	WORD PTR -32[rbp], 0
	mov	WORD PTR -30[rbp], 9
	mov	WORD PTR -28[rbp], -2
	mov	WORD PTR -16[rbp], 23
	mov	WORD PTR -14[rbp], 16
	mov	WORD PTR -12[rbp], 35
	mov	WORD PTR -10[rbp], 12
	mov	edi, 6
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 10
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	mov	WORD PTR [rax], 11
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	WORD PTR [rax], 12
	movsx	ecx, WORD PTR -26[rbp]
	lea	rdx, -16[rbp]
	lea	rax, -32[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	addv
	lea	rdx, -28[rbp]
	lea	rax, -30[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	interschimb1
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	interschimb1
	.type	interschimb1, @function
interschimb1:
.LFB1:
	.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, WORD PTR -2[rbp]
	mov	WORD PTR [rax], dx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	interschimb1, .-interschimb1
	.globl	addv
	.type	addv, @function
addv:
.LFB2:
	.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	eax, esi
	mov	QWORD PTR -40[rbp], rdx
	mov	WORD PTR -28[rbp], ax
	mov	WORD PTR -4[rbp], 0
	mov	WORD PTR -2[rbp], 0
	mov	WORD PTR -4[rbp], 0
	jmp	.L5
.L6:
	movsx	rax, WORD PTR -4[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	edx, eax
	movzx	eax, WORD PTR -2[rbp]
	add	eax, edx
	mov	WORD PTR -2[rbp], ax
	movzx	eax, WORD PTR -4[rbp]
	add	eax, 1
	mov	WORD PTR -4[rbp], ax
.L5:
	movzx	eax, WORD PTR -4[rbp]
	cmp	ax, WORD PTR -28[rbp]
	jl	.L6
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, WORD PTR -2[rbp]
	mov	WORD PTR [rax], dx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	addv, .-addv
	.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	"1179420.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #4
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-28]	@ movhi
	mov	r3, #9
	strh	r3, [fp, #-26]	@ movhi
	mvn	r3, #1
	strh	r3, [fp, #-24]	@ movhi
	mov	r3, #23
	strh	r3, [fp, #-16]	@ movhi
	mov	r3, #16
	strh	r3, [fp, #-14]	@ movhi
	mov	r3, #35
	strh	r3, [fp, #-12]	@ movhi
	mov	r3, #12
	strh	r3, [fp, #-10]	@ movhi
	mov	r0, #6
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r2, #10
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	mov	r2, #11
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	mov	r2, #12
	strh	r2, [r3]	@ movhi
	sub	r2, fp, #16
	ldrsh	r1, [fp, #-22]
	sub	r3, fp, #28
	mov	r0, r3
	bl	addv
	sub	r2, fp, #24
	sub	r3, fp, #26
	mov	r1, r2
	mov	r0, r3
	bl	interschimb1
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	interschimb1
	.syntax unified
	.arm
	.fpu softvfp
	.type	interschimb1, %function
interschimb1:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	ldr	r3, [fp, #-20]
	ldrsh	r2, [r3]
	ldr	r3, [fp, #-16]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-20]
	ldrh	r2, [fp, #-6]	@ movhi
	strh	r2, [r3]	@ movhi
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	interschimb1, .-interschimb1
	.align	2
	.global	addv
	.syntax unified
	.arm
	.fpu softvfp
	.type	addv, %function
addv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	mov	r3, r1
	str	r2, [fp, #-24]
	strh	r3, [fp, #-18]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-8]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-8]	@ movhi
	b	.L7
.L8:
	ldrsh	r3, [fp, #-8]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-6]
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-6]	@ movhi
	ldrh	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-8]	@ movhi
.L7:
	ldrsh	r2, [fp, #-8]
	ldrsh	r3, [fp, #-18]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-16]
	ldrh	r2, [fp, #-6]	@ movhi
	strh	r2, [r3]	@ movhi
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	addv, .-addv
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
