	.file	"extr_preload.c_pthread_rwlock_tryrdlock.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pthread_rwlock_tryrdlock
	.type	pthread_rwlock_tryrdlock, @function
pthread_rwlock_tryrdlock:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	init_preload@PLT
	mov	r12, QWORD PTR _RET_IP_[rip]
	mov	rdi, rbp
	call	__get_lock@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	ecx, 2
	xor	esi, esi
	push	r12
	.cfi_def_cfa_offset 48
	mov	edx, 1
	mov	rdi, rax
	xor	r9d, r9d
	mov	r8d, 1
	call	lock_acquire@PLT
	mov	rdi, rbp
	call	ll_pthread_rwlock_tryrdlock@PLT
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r13, QWORD PTR _RET_IP_[rip]
	mov	rdi, rbp
	call	__get_lock@PLT
	xor	esi, esi
	mov	rdx, r13
	mov	rdi, rax
	call	lock_release@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pthread_rwlock_tryrdlock, .-pthread_rwlock_tryrdlock
	.comm	_RET_IP_,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_preload.c_pthread_rwlock_tryrdlock.c"
	.text
	.align	2
	.global	pthread_rwlock_tryrdlock
	.syntax unified
	.arm
	.fpu softvfp
	.type	pthread_rwlock_tryrdlock, %function
pthread_rwlock_tryrdlock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	sub	sp, sp, #20
	bl	init_preload
	mov	r0, r4
	bl	__get_lock
	mov	r6, #0
	mov	r2, #1
	ldr	r7, .L9
	mov	r1, r6
	ldr	r3, [r7]
	str	r2, [sp]
	str	r3, [sp, #8]
	str	r6, [sp, #4]
	mov	r3, #2
	bl	lock_acquire
	mov	r0, r4
	bl	ll_pthread_rwlock_tryrdlock
	subs	r5, r0, #0
	bne	.L8
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	mov	r0, r4
	bl	__get_lock
	mov	r1, r6
	ldr	r2, [r7]
	bl	lock_release
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	.align	2
.L9:
	.word	_RET_IP_
	.size	pthread_rwlock_tryrdlock, .-pthread_rwlock_tryrdlock
	.comm	_RET_IP_,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
