	.file	"extr_ocs_hw.c_ocs_hw_cb_fw_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocs_hw_cb_fw_write, @function
ocs_hw_cb_fw_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	mov	rsi, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r13d, DWORD PTR 12[rdx]
	mov	r15, QWORD PTR [rdx]
	mov	r14d, DWORD PTR 8[rdx]
	mov	edi, DWORD PTR [rdi]
	mov	edx, DWORD PTR SLI4_BMBX_SIZE[rip]
	call	ocs_free@PLT
	test	rbp, rbp
	je	.L2
	mov	rax, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L3
	test	r12, r12
	jne	.L6
	test	r15, r15
	je	.L6
.L4:
	mov	ecx, DWORD PTR 0[rbp]
	mov	edx, r14d
	mov	esi, r13d
	mov	rdi, r15
	call	rax
.L3:
	mov	edi, DWORD PTR [rbx]
	mov	edx, 16
	mov	rsi, rbp
	call	ocs_free@PLT
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	r15, r12
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	ocs_hw_cb_fw_write, .-ocs_hw_cb_fw_write
	.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_fw_write.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocs_hw_cb_fw_write, %function
ocs_hw_cb_fw_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r2
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldm	ip, {r7, r10}
	mov	r4, r3
	ldr	r2, .L13
	mov	r6, r0
	mov	r5, r1
	ldr	r0, [r0]
	mov	r1, ip
	ldr	r2, [r2]
	ldr	r9, [ip, #8]
	bl	ocs_free
	cmp	r4, #0
	beq	.L2
	ldr	r8, [r4, #4]
	cmp	r8, #0
	beq	.L3
	subs	r0, r7, #0
	movne	r0, #1
	cmp	r5, #0
	movne	r0, #0
	cmp	r0, #0
	mov	r2, r10
	mov	r1, r9
	movne	r0, r7
	moveq	r0, r5
	ldr	r3, [r4]
	blx	r8
.L3:
	mov	r1, r4
	mov	r2, #8
	ldr	r0, [r6]
	bl	ocs_free
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	.align	2
.L13:
	.word	SLI4_BMBX_SIZE
	.size	ocs_hw_cb_fw_write, .-ocs_hw_cb_fw_write
	.comm	SLI4_BMBX_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
