	.file	"708406.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 4
	.type	iamint_, @object
	.size	iamint_, 4
iamint_:
	.zero	4
	.align 4
	.type	wordsize_, @object
	.size	wordsize_, 4
wordsize_:
	.long	4
	.align 8
.LC0:
	.string	"pthread_setaffinity_np error: %s\n"
.LC1:
	.string	"Thread %d; total = %d\n"
.LC2:
	.string	"Thread %d; total addr = %p\n"
	.text
	.globl	print_message_function
	.type	print_message_function, @function
print_message_function:
.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, 208
	mov	QWORD PTR -200[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -176[rbp], 4096
	mov	ecx, 4
	mov	eax, DWORD PTR -176[rbp]
	cdq
	idiv	ecx
	mov	DWORD PTR -172[rbp], eax
	mov	rax, QWORD PTR -200[rbp]
	mov	QWORD PTR -160[rbp], rax
	call	pthread_self@PLT
	mov	QWORD PTR -152[rbp], rax
	lea	rax, -144[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	CPU_ZERO@PLT
	mov	rax, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR 24[rax]
	lea	edx, -1[rax]
	lea	rax, -144[rbp]
	mov	rsi, rax
	mov	edi, edx
	mov	eax, 0
	call	CPU_SET@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, 128
	mov	rdi, rax
	mov	eax, 0
	call	pthread_setaffinity_np@PLT
	mov	DWORD PTR -168[rbp], eax
	cmp	DWORD PTR -168[rbp], 0
	je	.L2
	mov	eax, DWORD PTR -168[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	mov	DWORD PTR -184[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -184[rbp]
	mov	DWORD PTR -180[rbp], eax
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -164[rbp], eax
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR -164[rbp]
	not	edx
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -180[rbp], 1
.L4:
	cmp	DWORD PTR -180[rbp], 31
	jle	.L5
	add	DWORD PTR -184[rbp], 32
.L3:
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L6
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_message_function, .-print_message_function
	.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
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -36[rbp], 8
	cmp	DWORD PTR -52[rbp], 2
	jne	.L9
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -36[rbp], eax
.L9:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	esi, 32
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 34
	mov	edx, 3
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -32[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -32[rbp]
	add	edx, 1
	mov	DWORD PTR 24[rax], edx
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	mov	QWORD PTR 16[rax], rdx
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	DWORD PTR [rax], 85
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	DWORD PTR 28[rax], 0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -32[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 5
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	mov	rdi, rdx
	mov	rcx, rax
	lea	rdx, print_message_function[rip]
	mov	esi, 0
	call	pthread_create@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR 8[rdx], eax
	add	DWORD PTR -32[rbp], 1
.L10:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L11
	mov	DWORD PTR -28[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -28[rbp], 1
.L12:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L13
	mov	DWORD PTR -24[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	esi, 1
	mov	rdi, rax
	call	munmap@PLT
	add	DWORD PTR -24[rbp], 1
.L14:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L15
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	leave
	.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	"708406.c"
	.text
	.section	.rodata
	.align	2
	.type	iamint_, %object
	.size	iamint_, 4
iamint_:
	.space	4
	.align	2
	.type	wordsize_, %object
	.size	wordsize_, 4
wordsize_:
	.word	4
	.global	__aeabi_idiv
	.align	2
.LC0:
	.ascii	"pthread_setaffinity_np error: %s\012\000"
	.align	2
.LC1:
	.ascii	"Thread %d; total = %d\012\000"
	.align	2
.LC2:
	.ascii	"Thread %d; total addr = %p\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_message_function
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_message_function, %function
print_message_function:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	str	r0, [fp, #-176]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #4096
	str	r3, [fp, #-160]
	mov	r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-176]
	str	r3, [fp, #-152]
	bl	pthread_self
	str	r0, [fp, #-148]
	sub	r3, fp, #136
	mov	r0, r3
	bl	CPU_ZERO
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #12]
	sub	r3, r3, #1
	sub	r2, fp, #136
	mov	r1, r2
	mov	r0, r3
	bl	CPU_SET
	sub	r3, fp, #136
	mov	r2, r3
	mov	r1, #128
	ldr	r0, [fp, #-148]
	bl	pthread_setaffinity_np
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L2
	ldr	r0, [fp, #-144]
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L8+4
	bl	printf
.L2:
	mov	r3, #0
	str	r3, [fp, #-168]
	b	.L3
.L6:
	ldr	r3, [fp, #-168]
	str	r3, [fp, #-164]
	b	.L4
.L5:
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #8]
	ldr	r3, [r3]
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-140]
	mvn	r2, r2
	str	r2, [r3]
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L4:
	ldr	r3, [fp, #-164]
	cmp	r3, #31
	ble	.L5
	ldr	r3, [fp, #-168]
	add	r3, r3, #32
	str	r3, [fp, #-168]
.L3:
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-152]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #8]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L8+8
	bl	printf
	ldr	r3, [fp, #-152]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #8]
	mov	r2, r3
	ldr	r0, .L8+12
	bl	printf
	nop
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	print_message_function, .-print_message_function
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #8
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	bne	.L11
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-32]
.L11:
	ldr	r3, [fp, #-32]
	mov	r1, #20
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	lsl	r1, r3, #2
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #34
	mov	r2, #3
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L12
.L13:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r2, r2, #1
	str	r2, [r3, #12]
	ldr	r3, [fp, #-28]
	lsl	r1, r3, #2
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r2, r2, r1
	str	r2, [r3, #8]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	mov	r2, #85
	str	r2, [r3]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r0, r3
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, .L19
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L12:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L13
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L14
.L15:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L14:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L15
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L16
.L17:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	mov	r1, #1
	mov	r0, r3
	bl	munmap
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L16:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L17
	ldr	r0, [fp, #-16]
	bl	free
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	print_message_function
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
