	.file	"extr_mmap.c_vm_lock_mapping.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vm_lock_mapping, @function
vm_lock_mapping:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 4[rsi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	edi, DWORD PTR AS_MM_ALL_LOCKS[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	mov	rsi, r13
	call	test_bit@PLT
	test	eax, eax
	je	.L9
	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
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR AS_MM_ALL_LOCKS[rip]
	mov	rsi, r13
	call	test_and_set_bit@PLT
	test	rax, rax
	jne	.L10
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	down_write_nest_lock@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	xor	eax, eax
	call	BUG@PLT
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	down_write_nest_lock@PLT
	.cfi_endproc
.LFE0:
	.size	vm_lock_mapping, .-vm_lock_mapping
	.comm	AS_MM_ALL_LOCKS,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_mmap.c_vm_lock_mapping.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vm_lock_mapping, %function
vm_lock_mapping:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L10
	add	r7, r1, #4
	mov	r4, r1
	mov	r5, r0
	mov	r1, r7
	ldr	r0, [r6]
	bl	test_bit
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r1, r7
	ldr	r0, [r6]
	bl	test_and_set_bit
	cmp	r0, #0
	bne	.L9
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	down_write_nest_lock
.L9:
	bl	BUG
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	down_write_nest_lock
.L11:
	.align	2
.L10:
	.word	AS_MM_ALL_LOCKS
	.size	vm_lock_mapping, .-vm_lock_mapping
	.comm	AS_MM_ALL_LOCKS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
