	.file	"extr_tls.c_fill_user_desc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fill_user_desc, @function
fill_user_desc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	mov	edx, 40
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	memset@PLT
	mov	DWORD PTR [rbx], r12d
	mov	rdi, rbp
	call	get_desc_base@PLT
	mov	rdi, rbp
	mov	DWORD PTR 36[rbx], eax
	call	get_desc_limit@PLT
	mov	DWORD PTR 32[rbx], eax
	mov	eax, DWORD PTR 20[rbp]
	mov	DWORD PTR 28[rbx], eax
	mov	eax, DWORD PTR 0[rbp]
	mov	edx, eax
	sar	edx, 2
	test	al, 2
	sete	al
	mov	DWORD PTR 4[rbx], edx
	mov	edx, DWORD PTR 12[rbp]
	movzx	eax, al
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR 16[rbp]
	mov	DWORD PTR 24[rbx], eax
	xor	eax, eax
	test	edx, edx
	sete	al
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR 8[rbp]
	mov	DWORD PTR 20[rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fill_user_desc, .-fill_user_desc
	.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_tls.c_fill_user_desc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_user_desc, %function
fill_user_desc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r2
	mov	r6, r1
	mov	r2, #36
	mov	r1, #0
	add	r0, r0, #4
	bl	memset
	mov	r0, r5
	str	r6, [r4]
	bl	get_desc_base
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #36]
	bl	get_desc_limit
	ldr	r2, [r5]
	ldr	r3, [r5, #12]
	tst	r2, #2
	clz	r3, r3
	moveq	ip, #1
	movne	ip, #0
	ldr	lr, [r5, #20]
	ldr	r1, [r5, #8]
	str	r0, [r4, #32]
	ldr	r0, [r5, #16]
	asr	r2, r2, #2
	lsr	r3, r3, #5
	stmib	r4, {r2, ip}
	str	lr, [r4, #28]
	str	r0, [r4, #24]
	str	r3, [r4, #12]
	str	r1, [r4, #20]
	pop	{r4, r5, r6, pc}
	.size	fill_user_desc, .-fill_user_desc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
