	.file	"extr_core.c___perf_event_ctx_lock_double.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__perf_event_ctx_lock_double, @function
__perf_event_ctx_lock_double:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
	call	rcu_read_lock@PLT
	mov	rdi, QWORD PTR [rbx]
	call	READ_ONCE@PLT
	lea	rdi, 4[rax]
	mov	rbp, rax
	call	refcount_inc_not_zero@PLT
	test	eax, eax
	je	.L8
	xor	eax, eax
	call	rcu_read_unlock@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	mutex_lock_double@PLT
	cmp	QWORD PTR [rbx], rbp
	je	.L1
	mov	rdi, r12
	call	mutex_unlock@PLT
	mov	rdi, rbp
	call	mutex_unlock@PLT
	mov	rdi, rbp
	call	put_ctx@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	call	rcu_read_unlock@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, rbp
	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	__perf_event_ctx_lock_double, .-__perf_event_ctx_lock_double
	.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_core.c___perf_event_ctx_lock_double.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__perf_event_ctx_lock_double, %function
__perf_event_ctx_lock_double:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r6, r1
.L2:
	bl	rcu_read_lock
	ldr	r0, [r5]
	bl	READ_ONCE
	mov	r4, r0
	add	r0, r0, #4
	bl	refcount_inc_not_zero
	cmp	r0, #0
	beq	.L8
	bl	rcu_read_unlock
	mov	r1, r6
	mov	r0, r4
	bl	mutex_lock_double
	ldr	r0, [r5]
	cmp	r0, r4
	popeq	{r4, r5, r6, pc}
	mov	r0, r6
	bl	mutex_unlock
	mov	r0, r4
	bl	mutex_unlock
	mov	r0, r4
	bl	put_ctx
	b	.L2
.L8:
	bl	rcu_read_unlock
	b	.L2
	.size	__perf_event_ctx_lock_double, .-__perf_event_ctx_lock_double
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
