	.file	"215768322.c"
	.intel_syntax noprefix
	.text
	.globl	once
	.bss
	.align 4
	.type	once, @object
	.size	once, 4
once:
	.zero	4
	.section	.rodata
.LC0:
	.string	"hello "
	.text
	.globl	th
	.type	th, @function
th:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	th, .-th
	.section	.rodata
.LC1:
	.string	"Current pthread: %u\n"
.LC2:
	.string	"pthread 1 is end"
	.text
	.globl	pthread1
	.type	pthread1, @function
pthread1:
.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
	call	pthread_self@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, th[rip]
	lea	rdi, once[rip]
	call	pthread_once@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pthread1, .-pthread1
	.section	.rodata
.LC3:
	.string	"pthread2 is end!"
	.text
	.globl	pthread2
	.type	pthread2, @function
pthread2:
.LFB8:
	.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
	call	pthread_self@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, th[rip]
	lea	rdi, once[rip]
	call	pthread_once@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pthread2, .-pthread2
	.section	.rodata
.LC4:
	.string	"main pthread is end!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.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
	lea	rax, -24[rbp]
	mov	ecx, 0
	lea	rdx, pthread1[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	lea	rax, -16[rbp]
	mov	ecx, 0
	lea	rdx, pthread2[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	edi, 3
	mov	eax, 0
	call	sleep@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.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	"215768322.c"
	.text
	.global	once
	.bss
	.align	2
	.type	once, %object
	.size	once, 4
once:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"hello \000"
	.text
	.align	2
	.global	th
	.syntax unified
	.arm
	.fpu softvfp
	.type	th, %function
th:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	th, .-th
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Current pthread: %u\012\000"
	.align	2
.LC2:
	.ascii	"pthread 1 is end\000"
	.text
	.align	2
	.global	pthread1
	.syntax unified
	.arm
	.fpu softvfp
	.type	pthread1, %function
pthread1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	pthread_self
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L5
	bl	printf
	ldr	r1, .L5+4
	ldr	r0, .L5+8
	bl	pthread_once
	ldr	r0, .L5+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	th
	.word	once
	.word	.LC2
	.size	pthread1, .-pthread1
	.section	.rodata
	.align	2
.LC3:
	.ascii	"pthread2 is end!\000"
	.text
	.align	2
	.global	pthread2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pthread2, %function
pthread2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	pthread_self
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L8
	bl	printf
	ldr	r1, .L8+4
	ldr	r0, .L8+8
	bl	pthread_once
	ldr	r0, .L8+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	th
	.word	once
	.word	.LC3
	.size	pthread2, .-pthread2
	.section	.rodata
	.align	2
.LC4:
	.ascii	"main pthread is end!\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r0, fp, #16
	mov	r3, #0
	ldr	r2, .L12+4
	mov	r1, #0
	bl	pthread_create
	sub	r0, fp, #12
	mov	r3, #0
	ldr	r2, .L12+8
	mov	r1, #0
	bl	pthread_create
	mov	r0, #3
	bl	sleep
	ldr	r0, .L12+12
	bl	puts
	mov	r0, #1
	bl	exit
.L13:
	.align	2
.L12:
	.word	.LC5
	.word	pthread1
	.word	pthread2
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
