	.file	"89199966.c"
	.intel_syntax noprefix
	.text
	.globl	tid
	.bss
	.align 16
	.type	tid, @object
	.size	tid, 16
tid:
	.zero	16
	.section	.rodata
.LC0:
	.string	"\n First thread processing"
.LC1:
	.string	"\n Second thread processing"
	.text
	.globl	doSomeThing
	.type	doSomeThing, @function
doSomeThing:
.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	QWORD PTR -16[rbp], 0
	call	pthread_self@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR tid[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_equal@PLT
	test	eax, eax
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L3
.L2:
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L3:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	doSomeThing, .-doSomeThing
	.section	.rodata
.LC2:
	.string	"\ncan't create thread :[%s]"
.LC3:
	.string	"\n Thread created successfully"
	.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
	sub	rsp, 16
	mov	DWORD PTR -8[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, tid[rip]
	add	rax, rdx
	mov	ecx, 0
	lea	rdx, doSomeThing[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L7
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L7:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L8:
	add	DWORD PTR -8[rbp], 1
.L6:
	cmp	DWORD PTR -8[rbp], 1
	jle	.L9
	mov	rax, QWORD PTR tid[rip+8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR tid[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@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	"89199966.c"
	.text
	.comm	tid,8,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012 First thread processing\000"
	.align	2
.LC1:
	.ascii	"\012 Second thread processing\000"
	.text
	.align	2
	.global	doSomeThing
	.syntax unified
	.arm
	.fpu softvfp
	.type	doSomeThing, %function
doSomeThing:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	bl	pthread_self
	str	r0, [fp, #-8]
	ldr	r3, .L5
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	pthread_equal
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L5+4
	bl	puts
	b	.L3
.L2:
	ldr	r0, .L5+8
	bl	puts
.L3:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	tid
	.word	.LC0
	.word	.LC1
	.size	doSomeThing, .-doSomeThing
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012can't create thread :[%s]\000"
	.align	2
.LC3:
	.ascii	"\012 Thread created successfully\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L8
.L11:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, .L13
	add	r0, r3, r2
	mov	r3, #0
	ldr	r2, .L13+4
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L9
	ldr	r0, [fp, #-8]
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L13+8
	bl	printf
	b	.L10
.L9:
	ldr	r0, .L13+12
	bl	puts
.L10:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	ble	.L11
	ldr	r3, .L13
	ldr	r3, [r3, #4]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	tid
	.word	doSomeThing
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
