	.file	"extr_libpthread_db.c_pt_thr_tls_get_addr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pt_thr_tls_get_addr, @function
pt_thr_tls_get_addr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rcx
	mov	ecx, 4
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rbx, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rdx, 4[rsp]
	mov	edi, DWORD PTR 32[rbx]
	add	rsi, QWORD PTR 8[rbx]
	sub	rsi, QWORD PTR [rbx]
	call	ps_pread@PLT
	test	eax, eax
	jne	.L9
	mov	rcx, QWORD PTR 0[r13]
	mov	rax, QWORD PTR 40[rbx]
	lea	rdx, 16[rsp]
	mov	edi, DWORD PTR 32[rbx]
	mov	rsi, QWORD PTR 16[rbx]
	add	rsi, QWORD PTR [rax+rcx*8]
	xor	eax, eax
	mov	ecx, 8
	call	ps_pread@PLT
	test	eax, eax
	jne	.L9
	mov	edi, DWORD PTR 32[rbx]
	mov	rsi, QWORD PTR 16[rsp]
	xor	eax, eax
	lea	rdx, 8[rsp]
	add	rsi, QWORD PTR 24[rbx]
	mov	ecx, 8
	call	ps_pread@PLT
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR 4[rsp]
	mov	rdx, QWORD PTR 8[rsp]
	mov	ecx, 8
	mov	edi, DWORD PTR 32[rbx]
	add	eax, 1
	cdqe
	lea	rsi, [rdx+rax*8]
	xor	eax, eax
	mov	rdx, rbp
	call	ps_pread@PLT
	test	eax, eax
	jne	.L9
	add	QWORD PTR 0[rbp], r12
	mov	eax, DWORD PTR TD_OK[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, eax
	call	P2T@PLT
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pt_thr_tls_get_addr, .-pt_thr_tls_get_addr
	.comm	TD_OK,4,4
	.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_libpthread_db.c_pt_thr_tls_get_addr.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pt_thr_tls_get_addr, %function
pt_thr_tls_get_addr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r4, [r0, #4]
	mov	r5, r0
	ldr	r0, [r4, #4]
	mov	r7, r2
	ldr	r2, [r4]
	sub	sp, sp, #20
	ldr	ip, .L12
	add	r1, r1, r0
	sub	r1, r1, r2
	mov	r6, r3
	ldr	r0, [r4, #16]
	mov	r3, #4
	add	r2, sp, #8
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	bl	ps_pread
	cmp	r0, #0
	bne	.L9
	ldr	r3, [r4, #20]
	ldr	r1, [r5]
	ldr	r2, [r4, #8]
	ldr	r1, [r3, r1, lsl #2]
	mov	r3, #4
	add	r1, r1, r2
	ldr	r0, [r4, #16]
	add	r2, sp, r3
	bl	ps_pread
	cmp	r0, #0
	bne	.L9
	ldr	r2, [sp, #4]
	ldr	r1, [r4, #12]
	mov	r3, #4
	add	r1, r1, r2
	ldr	r0, [r4, #16]
	mov	r2, sp
	bl	ps_pread
	cmp	r0, #0
	bne	.L9
	ldr	r3, [sp, #8]
	ldr	r1, [sp]
	add	r3, r3, #1
	add	r1, r1, r3, lsl #2
	mov	r2, r6
	mov	r3, #4
	ldr	r0, [r4, #16]
	bl	ps_pread
	cmp	r0, #0
	bne	.L9
	ldr	lr, [r6]
	ldr	r3, .L12+4
	add	lr, lr, r7
	ldr	r0, [r3]
	str	lr, [r6]
	b	.L1
.L9:
	bl	P2T
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	TD_OK
	.size	pt_thr_tls_get_addr, .-pt_thr_tls_get_addr
	.comm	TD_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
