	.file	"extr_vsoc.c_do_destroy_fd_scoped_permission.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%x-%x: owner (%s) %x: expected to be %x was %x"
	.text
	.p2align 4
	.type	do_destroy_fd_scoped_permission, @function
do_destroy_fd_scoped_permission:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L6
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR 8[rsi]
	add	rdi, QWORD PTR 8[rbp]
	call	shm_off_to_virtual_addr@PLT
	mov	esi, DWORD PTR VSOC_REGION_FREE[rip]
	mov	rdi, rax
	call	atomic_xchg@PLT
	mov	edx, DWORD PTR [rbx]
	cmp	edx, eax
	jne	.L10
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	r10d, DWORD PTR 20[rbx]
	mov	ecx, DWORD PTR 16[rbx]
	push	rax
	.cfi_def_cfa_offset 40
	lea	rsi, .LC0[rip]
	push	rdx
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR vsoc_dev[rip]
	mov	r9, QWORD PTR 8[rbx]
	mov	r8d, DWORD PTR 0[rbp]
	mov	edx, r10d
	call	dev_err@PLT
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE0:
	.size	do_destroy_fd_scoped_permission, .-do_destroy_fd_scoped_permission
	.comm	vsoc_dev,8,8
	.comm	VSOC_REGION_FREE,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_vsoc.c_do_destroy_fd_scoped_permission.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%x-%x: owner (%s) %x: expected to be %x was %x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_destroy_fd_scoped_permission, %function
do_destroy_fd_scoped_permission:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	subs	r4, r1, #0
	sub	sp, sp, #20
	beq	.L1
	ldr	r3, [r4, #4]
	mov	r5, r0
	ldr	r0, [r0, #4]
	add	r0, r0, r3
	bl	shm_off_to_virtual_addr
	ldr	r3, .L8
	ldr	r1, [r3]
	bl	atomic_xchg
	ldr	r3, [r4]
	cmp	r3, r0
	bne	.L7
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	ldr	ip, [r5]
	ldr	r2, [r4, #4]
	ldr	r1, .L8+4
	str	ip, [sp]
	str	r0, [sp, #12]
	str	r3, [sp, #8]
	ldr	r0, [r1]
	str	r2, [sp, #4]
	ldr	r3, [r4, #8]
	ldr	r2, [r4, #12]
	ldr	r1, .L8+8
	bl	dev_err
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	.align	2
.L8:
	.word	VSOC_REGION_FREE
	.word	vsoc_dev
	.word	.LC0
	.size	do_destroy_fd_scoped_permission, .-do_destroy_fd_scoped_permission
	.comm	vsoc_dev,4,4
	.comm	VSOC_REGION_FREE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
