	.file	"374323.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Thread id %d reporting in.\n"
	.align 8
.LC1:
	.string	"Default Affinity Format is: %s\n"
	.align 8
.LC2:
	.string	"Caution: Reported Format is truncated. Increase"
.LC3:
	.string	" FORMAT_STORE by %d.\n"
.LC4:
	.string	"Affinity Format set to: %s\n"
.LC5:
	.string	"tid=%d affinity:%s:\n"
	.align 8
.LC6:
	.string	"Caution: Affinity string truncated. Increase"
.LC7:
	.string	" BUFFER_STORE by %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 184
	.cfi_offset 3, -24
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -172[rbp], 0
	movabs	rax, 3472879208533028712
	movabs	rdx, 3469246589434077256
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -136[rbp], rdx
	movabs	rax, 7236837521402770478
	movabs	rdx, 18336819279322995
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	mov	edi, 0
	call	omp_display_affinity@PLT
	call	omp_get_thread_num@PLT
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	esi, 80
	mov	rdi, rax
	call	omp_get_affinity_format@PLT
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -160[rbp], 80
	jbe	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -160[rbp]
	sub	eax, 80
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	omp_set_affinity_format@PLT
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	call	omp_get_max_threads@PLT
	mov	DWORD PTR -168[rbp], eax
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -152[rbp], rax
	mov	DWORD PTR -176[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 80
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -176[rbp], 1
.L3:
	mov	eax, DWORD PTR -176[rbp]
	cmp	eax, DWORD PTR -168[rbp]
	jl	.L4
	call	omp_get_thread_num@PLT
	mov	DWORD PTR -164[rbp], eax
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 80
	mov	rdi, rax
	call	omp_capture_affinity@PLT
	mov	QWORD PTR -160[rbp], rax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	cmp	QWORD PTR -160[rbp], rax
	jbe	.L5
	mov	rax, QWORD PTR -160[rbp]
	mov	DWORD PTR -172[rbp], eax
.L5:
	mov	DWORD PTR -176[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -176[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -176[rbp], 1
.L6:
	mov	eax, DWORD PTR -176[rbp]
	cmp	eax, DWORD PTR -168[rbp]
	jl	.L7
	cmp	DWORD PTR -172[rbp], 80
	jle	.L8
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -172[rbp]
	sub	eax, 80
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"374323.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Thread id %d reporting in.\012\000"
	.align	2
.LC2:
	.ascii	"Default Affinity Format is: %s\012\000"
	.align	2
.LC3:
	.ascii	"Caution: Reported Format is truncated. Increase\000"
	.align	2
.LC4:
	.ascii	" FORMAT_STORE by %d.\012\000"
	.align	2
.LC5:
	.ascii	"Affinity Format set to: %s\012\000"
	.align	2
.LC6:
	.ascii	"tid=%d affinity:%s:\012\000"
	.align	2
.LC7:
	.ascii	"Caution: Affinity string truncated. Increase\000"
	.align	2
.LC8:
	.ascii	" BUFFER_STORE by %d\012\000"
	.align	2
.LC0:
	.ascii	"host=%20H tid=%0.4n binds_to=%A\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #156
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-148]
	ldr	r3, .L11+4
	sub	ip, fp, #128
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r0, #0
	bl	omp_display_affinity
	bl	omp_get_thread_num
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
	sub	r3, fp, #96
	mov	r1, #80
	mov	r0, r3
	bl	omp_get_affinity_format
	str	r0, [fp, #-144]
	sub	r3, fp, #96
	mov	r1, r3
	ldr	r0, .L11+12
	bl	printf
	ldr	r3, [fp, #-144]
	cmp	r3, #80
	bls	.L2
	ldr	r0, .L11+16
	bl	puts
	ldr	r3, [fp, #-144]
	sub	r3, r3, #80
	mov	r1, r3
	ldr	r0, .L11+20
	bl	printf
.L2:
	sub	r3, fp, #128
	mov	r0, r3
	bl	omp_set_affinity_format
	sub	r3, fp, #128
	mov	r1, r3
	ldr	r0, .L11+24
	bl	printf
	bl	omp_get_max_threads
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L3
.L4:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-136]
	add	r4, r2, r3
	mov	r0, #80
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L3:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L4
	bl	omp_get_thread_num
	str	r0, [fp, #-132]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #80
	mov	r0, r3
	bl	omp_capture_affinity
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-144]
	cmp	r2, r3
	bls	.L5
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-148]
.L5:
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L6
.L7:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-152]
	ldr	r0, .L11+28
	bl	printf
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L6:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-148]
	cmp	r3, #80
	ble	.L8
	ldr	r0, .L11+32
	bl	puts
	ldr	r3, [fp, #-148]
	sub	r3, r3, #80
	mov	r1, r3
	ldr	r0, .L11+36
	bl	printf
.L8:
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
