	.file	"extr_fmd_api.c_fmd_case_close.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"case closed (%s)"
	.text
	.p2align 4
	.globl	fmd_case_close
	.type	fmd_case_close, @function
fmd_case_close:
.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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR 8[rdi]
	mov	edx, DWORD PTR 16[rsi]
	lea	rsi, .LC0[rip]
	mov	rbx, QWORD PTR [rax]
	call	fmd_hdl_debug@PLT
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L2
	mov	rsi, r12
	mov	rdi, rbp
	call	rax
.L2:
	mov	rsi, QWORD PTR 8[r12]
	sub	DWORD PTR 4[rbp], 1
	add	DWORD PTR 0[rbp], 1
	test	rsi, rsi
	je	.L3
	mov	rdx, QWORD PTR [r12]
	test	rdx, rdx
	jg	.L12
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	mov	edx, 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	fmd_hdl_free@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, rbp
	call	fmd_hdl_free@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	fmd_case_close, .-fmd_case_close
	.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_fmd_api.c_fmd_case_close.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"case closed (%s)\000"
	.text
	.align	2
	.global	fmd_case_close
	.syntax unified
	.arm
	.fpu softvfp
	.type	fmd_case_close, %function
fmd_case_close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	push	{r4, r5, r6, lr}
	ldr	r6, [r3]
	ldr	r2, [r1, #8]
	mov	r5, r1
	ldr	r1, .L13
	mov	r4, r0
	bl	fmd_hdl_debug
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L2
	mov	r1, r5
	mov	r0, r4
	blx	r3
.L2:
	ldr	r1, [r5, #4]
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	sub	r2, r2, #1
	add	r3, r3, #1
	cmp	r1, #0
	str	r2, [r4, #4]
	str	r3, [r4]
	beq	.L3
	ldr	r2, [r5]
	cmp	r2, #0
	bgt	.L12
.L3:
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r2, #12
	b	fmd_hdl_free
.L12:
	mov	r0, r4
	bl	fmd_hdl_free
	b	.L3
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	fmd_case_close, .-fmd_case_close
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
