	.file	"extr_ocs_hw.c_ocs_hw_cb_post_xri.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Status 0x%x for XRI base 0x%x, cnt =x%x\n"
	.text
	.p2align 4
	.type	ocs_hw_cb_post_xri, @function
ocs_hw_cb_post_xri:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR [rdi]
	test	rsi, rsi
	jne	.L8
.L2:
	mov	edx, DWORD PTR SLI4_BMBX_SIZE[rip]
	mov	rsi, rbp
	call	ocs_free@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	ecx, DWORD PTR 4[rdx]
	mov	r8d, DWORD PTR [rdx]
	mov	rdx, rsi
	lea	rsi, .LC0[rip]
	call	ocs_log_debug@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, rbx
	call	ocs_hw_reclaim_xri@PLT
	mov	edi, DWORD PTR [rbx]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	ocs_hw_cb_post_xri, .-ocs_hw_cb_post_xri
	.comm	SLI4_BMBX_SIZE,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_ocs_hw.c_ocs_hw_cb_post_xri.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Status 0x%x for XRI base 0x%x, cnt =x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocs_hw_cb_post_xri, %function
ocs_hw_cb_post_xri:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	cmp	r1, #0
	mov	r5, r0
	mov	r4, r2
	ldr	r0, [r0]
	sub	sp, sp, #12
	bne	.L8
.L2:
	ldr	r3, .L9
	mov	r1, r4
	ldr	r2, [r3]
	bl	ocs_free
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	ldr	r3, [r2]
	mov	r2, r1
	str	r3, [sp]
	ldr	r3, [r4, #4]
	ldr	r1, .L9+4
	bl	ocs_log_debug
	mov	r0, r5
	ldr	r2, [r4]
	ldr	r1, [r4, #4]
	bl	ocs_hw_reclaim_xri
	ldr	r0, [r5]
	b	.L2
.L10:
	.align	2
.L9:
	.word	SLI4_BMBX_SIZE
	.word	.LC0
	.size	ocs_hw_cb_post_xri, .-ocs_hw_cb_post_xri
	.comm	SLI4_BMBX_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
