	.file	"879439.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"sum is %lld\n"
	.text
	.globl	sum_runner
	.type	sum_runner, @function
sum_runner:
.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	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR -16[rbp], 0
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -16[rbp], rax
	jle	.L3
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	pthread_exit@PLT
	.cfi_endproc
.LFE6:
	.size	sum_runner, .-sum_runner
	.section	.rodata
	.align 8
.LC1:
	.string	"welcome in sum_of_threads programe!!!"
	.align 8
.LC2:
	.string	"Please pass atleast one argument "
.LC3:
	.string	"thread is -- %ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 168
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	lea	rdi, .LC1[rip]
	call	puts@PLT
	cmp	DWORD PTR -164[rbp], 1
	jg	.L5
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L5:
	mov	eax, DWORD PTR -164[rbp]
	sub	eax, 1
	mov	DWORD PTR -156[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -144[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -184[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -208[rbp], rdx
	mov	QWORD PTR -200[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L6:
	cmp	rsp, rdx
	je	.L7
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L6
.L7:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L8
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L8:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -136[rbp], rax
	mov	eax, DWORD PTR -156[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -128[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L9:
	cmp	rsp, rdx
	je	.L10
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L9
.L10:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L11
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L11:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -120[rbp], rax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoll@PLT
	mov	rdx, QWORD PTR -120[rbp]
	mov	ecx, DWORD PTR -148[rbp]
	movsx	rcx, ecx
	mov	QWORD PTR [rdx+rcx*8], rax
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	pthread_attr_init@PLT
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	lea	rdi, [rcx+rax]
	lea	rax, -112[rbp]
	mov	rcx, rdx
	lea	rdx, sum_runner[rip]
	mov	rsi, rax
	call	pthread_create@PLT
	add	DWORD PTR -148[rbp], 1
.L12:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L13
	mov	DWORD PTR -152[rbp], 0
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -152[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rdi, rax
	call	pthread_detach@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -152[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	call	sched_yield@PLT
	add	DWORD PTR -152[rbp], 1
.L14:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L15
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"879439.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"sum is %lld\012\000"
	.text
	.align	2
	.global	sum_runner
	.syntax unified
	.arm
	.fpu softvfp
	.type	sum_runner, %function
sum_runner:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	str	r0, [fp, #-40]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r1, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L2
.L3:
	ldr	r3, [fp, #-32]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	ldr	r3, [fp, #-32]
	stm	r3, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	str	r6, [fp, #-28]
	str	r7, [fp, #-24]
.L2:
	ldr	r3, [fp, #-40]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L3
	ldr	r3, [fp, #-32]
	ldmia	r3, {r2-r3}
	ldr	r0, .L4
	bl	printf
	ldr	r0, [fp, #-32]
	bl	pthread_exit
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	sum_runner, .-sum_runner
	.section	.rodata
	.align	2
.LC1:
	.ascii	"welcome in sum_of_threads programe!!!\000"
	.align	2
.LC2:
	.ascii	"Please pass atleast one argument \000"
	.align	2
.LC3:
	.ascii	"thread is -- %ld\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #84
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r0, .L14+4
	bl	puts
	ldr	r3, [fp, #-88]
	cmp	r3, #1
	bgt	.L7
	ldr	r0, .L14+8
	bl	perror
	mvn	r0, #0
	bl	exit
.L7:
	ldr	r3, [fp, #-88]
	sub	r3, r3, #1
	str	r3, [fp, #-80]
	ldr	ip, [fp, #-80]
	sub	r3, ip, #1
	str	r3, [fp, #-68]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-64]
	ldr	ip, [fp, #-80]
	sub	r3, ip, #1
	str	r3, [fp, #-60]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L8
.L9:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoll
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-56]
	ldr	r1, [fp, #-72]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	sub	r3, fp, #52
	mov	r0, r3
	bl	pthread_attr_init
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r0, r2, r3
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	sub	r1, fp, #52
	ldr	r2, .L14+12
	bl	pthread_create
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L8:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L9
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L10
.L11:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-76]
	ldr	r3, [r3, r2, lsl #2]
	mov	r0, r3
	bl	pthread_detach
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-76]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L14+16
	bl	printf
	bl	sched_yield
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L10:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L11
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	sum_runner
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
