	.file	"extr_cookie.c___fscache_enable_cookie.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%p"
	.text
	.p2align 4
	.globl	__fscache_enable_cookie
	.type	__fscache_enable_cookie, @function
__fscache_enable_cookie:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	mov	rsi, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	lea	r12, 8[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	_enter@PLT
	mov	rdi, rbp
	call	trace_fscache_enable@PLT
	mov	edx, DWORD PTR TASK_UNINTERRUPTIBLE[rip]
	mov	esi, DWORD PTR FSCACHE_COOKIE_ENABLEMENT_LOCK[rip]
	mov	rdi, r12
	call	wait_on_bit_lock@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	fscache_update_aux@PLT
	mov	edi, DWORD PTR FSCACHE_COOKIE_ENABLED[rip]
	mov	rsi, r12
	call	test_bit@PLT
	test	rax, rax
	jne	.L3
	test	rbx, rbx
	je	.L8
	mov	rdi, r15
	call	rbx
	test	eax, eax
	je	.L3
.L8:
	mov	rax, QWORD PTR FSCACHE_COOKIE_TYPE_INDEX[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L12
	mov	rdi, rbp
	call	__fscache_wait_on_invalidate@PLT
	mov	esi, r14d
	mov	rdi, rbp
	call	fscache_acquire_non_index_cookie@PLT
	test	rax, rax
	je	.L12
.L3:
	mov	edi, DWORD PTR FSCACHE_COOKIE_ENABLEMENT_LOCK[rip]
	mov	rsi, r12
	call	clear_bit_unlock@PLT
	mov	esi, DWORD PTR FSCACHE_COOKIE_ENABLEMENT_LOCK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r12
	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
	jmp	wake_up_bit@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR FSCACHE_COOKIE_ENABLED[rip]
	mov	rsi, r12
	call	set_bit@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	__fscache_enable_cookie, .-__fscache_enable_cookie
	.comm	TASK_UNINTERRUPTIBLE,4,4
	.comm	FSCACHE_COOKIE_TYPE_INDEX,8,8
	.comm	FSCACHE_COOKIE_ENABLEMENT_LOCK,4,4
	.comm	FSCACHE_COOKIE_ENABLED,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_cookie.c___fscache_enable_cookie.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%p\000"
	.text
	.align	2
	.global	__fscache_enable_cookie
	.syntax unified
	.arm
	.fpu softvfp
	.type	__fscache_enable_cookie, %function
__fscache_enable_cookie:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	mov	r8, r1
	mov	r1, r0
	ldr	r0, .L15
	mov	r9, r2
	mov	r6, r3
	ldr	fp, [sp, #40]
	bl	_enter
	mov	r0, r4
	bl	trace_fscache_enable
	ldr	r7, .L15+4
	ldr	r3, .L15+8
	add	r5, r4, #4
	ldr	r2, [r3]
	ldr	r1, [r7]
	mov	r0, r5
	ldr	r10, .L15+12
	bl	wait_on_bit_lock
	mov	r1, r8
	mov	r0, r4
	bl	fscache_update_aux
	mov	r1, r5
	ldr	r0, [r10]
	bl	test_bit
	cmp	r0, #0
	bne	.L3
	cmp	r6, #0
	beq	.L8
	mov	r0, fp
	blx	r6
	cmp	r0, #0
	beq	.L3
.L8:
	ldr	r3, .L15+16
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L12
	mov	r0, r4
	bl	__fscache_wait_on_invalidate
	mov	r1, r9
	mov	r0, r4
	bl	fscache_acquire_non_index_cookie
	cmp	r0, #0
	beq	.L12
.L3:
	mov	r1, r5
	ldr	r0, [r7]
	bl	clear_bit_unlock
	mov	r0, r5
	ldr	r1, [r7]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	wake_up_bit
.L12:
	mov	r1, r5
	ldr	r0, [r10]
	bl	set_bit
	b	.L3
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	FSCACHE_COOKIE_ENABLEMENT_LOCK
	.word	TASK_UNINTERRUPTIBLE
	.word	FSCACHE_COOKIE_ENABLED
	.word	FSCACHE_COOKIE_TYPE_INDEX
	.size	__fscache_enable_cookie, .-__fscache_enable_cookie
	.comm	TASK_UNINTERRUPTIBLE,4,4
	.comm	FSCACHE_COOKIE_TYPE_INDEX,4,4
	.comm	FSCACHE_COOKIE_ENABLEMENT_LOCK,4,4
	.comm	FSCACHE_COOKIE_ENABLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
