	.file	"extr_process.c_copy_thread.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	copy_thread
	.type	copy_thread, @function
copy_thread:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	mov	rdi, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	task_thread_info@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	task_pt_regs@PLT
	lea	rdi, 8[rbp]
	mov	edx, 4
	xor	esi, esi
	movdqu	xmm0, XMMWORD PTR 0[r13]
	mov	QWORD PTR 16[rax], 0
	mov	rbx, rax
	movups	XMMWORD PTR [rax], xmm0
	mov	QWORD PTR [rax], r15
	call	memset@PLT
	mov	rax, QWORD PTR ret_from_fork[rip]
	mov	QWORD PTR 8[rbp], rbx
	mov	QWORD PTR 16[rbp], rax
	test	QWORD PTR CLONE_SETTLS[rip], r14
	je	.L2
	mov	eax, DWORD PTR 8[r13]
	mov	DWORD PTR 0[rbp], eax
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	copy_thread, .-copy_thread
	.comm	ret_from_fork,8,8
	.comm	CLONE_SETTLS,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_process.c_copy_thread.c"
	.text
	.align	2
	.global	copy_thread
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_thread, %function
copy_thread:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r0
	mov	r0, r3
	mov	r5, r3
	mov	r7, r1
	ldr	r6, [sp, #24]
	bl	task_thread_info
	mov	r4, r0
	mov	r0, r5
	bl	task_pt_regs
	mov	r3, r0
	ldm	r6, {r0, r1, r2}
	mov	ip, #0
	ldr	lr, .L8
	stm	r3, {r0, r1, r2}
	ldr	r1, [lr]
	ldr	r2, .L8+4
	tst	r8, r1
	str	ip, [r3, #8]
	ldr	r2, [r2]
	str	r7, [r3]
	str	r3, [r4, #4]
	ldrne	r3, [r6, #4]
	mov	r0, #0
	str	r2, [r4, #8]
	strne	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	CLONE_SETTLS
	.word	ret_from_fork
	.size	copy_thread, .-copy_thread
	.comm	ret_from_fork,4,4
	.comm	CLONE_SETTLS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
