	.file	"extr_tidbitmap.c_tbm_free_shared_area.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tbm_free_shared_area
	.type	tbm_free_shared_area, @function
tbm_free_shared_area:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	dsa_get_address@PLT
	mov	edi, DWORD PTR 8[rax]
	mov	rbx, rax
	call	DsaPointerIsValid@PLT
	test	rax, rax
	jne	.L13
.L3:
	mov	edi, DWORD PTR 4[rbx]
	call	DsaPointerIsValid@PLT
	test	rax, rax
	jne	.L14
.L6:
	mov	edi, DWORD PTR [rbx]
	call	DsaPointerIsValid@PLT
	test	rax, rax
	jne	.L15
.L9:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	dsa_free@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, rbp
	call	dsa_get_address@PLT
	mov	esi, 1
	mov	rdi, rax
	call	pg_atomic_sub_fetch_u32@PLT
	test	rax, rax
	jne	.L3
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, rbp
	call	dsa_free@PLT
	mov	edi, DWORD PTR 4[rbx]
	call	DsaPointerIsValid@PLT
	test	rax, rax
	je	.L6
	.p2align 4,,10
	.p2align 3
.L14:
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, rbp
	call	dsa_get_address@PLT
	mov	esi, 1
	mov	rdi, rax
	call	pg_atomic_sub_fetch_u32@PLT
	test	rax, rax
	jne	.L6
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, rbp
	call	dsa_free@PLT
	mov	edi, DWORD PTR [rbx]
	call	DsaPointerIsValid@PLT
	test	rax, rax
	je	.L9
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	call	dsa_get_address@PLT
	mov	esi, 1
	mov	rdi, rax
	call	pg_atomic_sub_fetch_u32@PLT
	test	rax, rax
	jne	.L9
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	call	dsa_free@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	dsa_free@PLT
	.cfi_endproc
.LFE0:
	.size	tbm_free_shared_area, .-tbm_free_shared_area
	.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_tidbitmap.c_tbm_free_shared_area.c"
	.text
	.align	2
	.global	tbm_free_shared_area
	.syntax unified
	.arm
	.fpu softvfp
	.type	tbm_free_shared_area, %function
tbm_free_shared_area:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r5, r0
	bl	dsa_get_address
	mov	r4, r0
	ldr	r0, [r0, #8]
	bl	DsaPointerIsValid
	cmp	r0, #0
	bne	.L13
.L3:
	ldr	r0, [r4, #4]
	bl	DsaPointerIsValid
	cmp	r0, #0
	bne	.L14
.L6:
	ldr	r0, [r4]
	bl	DsaPointerIsValid
	cmp	r0, #0
	bne	.L15
.L9:
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	dsa_free
.L13:
	ldr	r1, [r4, #8]
	mov	r0, r5
	bl	dsa_get_address
	mov	r1, #1
	bl	pg_atomic_sub_fetch_u32
	cmp	r0, #0
	bne	.L3
	ldr	r1, [r4, #8]
	mov	r0, r5
	bl	dsa_free
	ldr	r0, [r4, #4]
	bl	DsaPointerIsValid
	cmp	r0, #0
	beq	.L6
.L14:
	ldr	r1, [r4, #4]
	mov	r0, r5
	bl	dsa_get_address
	mov	r1, #1
	bl	pg_atomic_sub_fetch_u32
	cmp	r0, #0
	bne	.L6
	ldr	r1, [r4, #4]
	mov	r0, r5
	bl	dsa_free
	ldr	r0, [r4]
	bl	DsaPointerIsValid
	cmp	r0, #0
	beq	.L9
.L15:
	ldr	r1, [r4]
	mov	r0, r5
	bl	dsa_get_address
	mov	r1, #1
	bl	pg_atomic_sub_fetch_u32
	cmp	r0, #0
	bne	.L9
	ldr	r1, [r4]
	mov	r0, r5
	bl	dsa_free
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	dsa_free
	.size	tbm_free_shared_area, .-tbm_free_shared_area
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
