	.file	"extr_ocs_hw.c_ocs_hw_set_dif_seed.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ocs_hw_command returns %d\n"
.LC1:
	.string	"DIF seed set to 0x%x\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"sli_cmd_common_set_features failed\n"
	.text
	.p2align 4
	.type	ocs_hw_set_dif_seed, @function
ocs_hw_set_dif_seed:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR SLI4_BMBX_SIZE[rip]
	mov	rcx, rsp
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L14:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L14
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L15
.L4:
	lea	r13, -44[rbp]
	xor	esi, esi
	mov	edx, 4
	mov	r12, rsp
	mov	rdi, r13
	call	ocs_memset@PLT
	mov	eax, DWORD PTR 4[rbx]
	lea	rdi, 8[rbx]
	mov	r9, r13
	mov	ecx, DWORD PTR SLI4_SET_FEATURES_DIF_SEED[rip]
	mov	edx, DWORD PTR SLI4_BMBX_SIZE[rip]
	mov	r8d, 4
	mov	rsi, r12
	mov	DWORD PTR -44[rbp], eax
	call	sli_cmd_common_set_features@PLT
	test	rax, rax
	jne	.L16
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	ocs_log_err@PLT
	mov	r12, QWORD PTR OCS_HW_RTN_ERROR[rip]
.L1:
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	lea	rsp, -24[rbp]
	mov	rax, r12
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edx, DWORD PTR OCS_CMD_POLL[rip]
	mov	rsi, r12
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdi, rbx
	call	ocs_hw_command@PLT
	mov	r12, rax
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR [rbx]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	ocs_log_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	ocs_log_debug@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ocs_hw_set_dif_seed, .-ocs_hw_set_dif_seed
	.comm	SLI4_SET_FEATURES_DIF_SEED,4,4
	.comm	SLI4_BMBX_SIZE,4,4
	.comm	OCS_HW_RTN_SUCCESS,8,8
	.comm	OCS_HW_RTN_ERROR,8,8
	.comm	OCS_CMD_POLL,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_set_dif_seed.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ocs_hw_command returns %d\012\000"
	.align	2
.LC1:
	.ascii	"DIF seed set to 0x%x\012\000"
	.align	2
.LC2:
	.ascii	"sli_cmd_common_set_features failed\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocs_hw_set_dif_seed, %function
ocs_hw_set_dif_seed:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	ldr	r5, .L9
	sub	r6, fp, #28
	ldr	r3, [r5]
	mov	r4, r0
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L9+4
	mov	r2, #4
	mov	r1, #0
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	bl	ocs_memset
	mov	r1, #4
	ldr	ip, [r4, #4]
	ldr	r3, .L9+8
	str	r6, [sp, #4]
	ldr	r2, [r5]
	add	r7, sp, #8
	str	r1, [sp]
	ldr	r3, [r3]
	mov	r1, r7
	add	r0, r4, #8
	str	ip, [fp, #-28]
	bl	sli_cmd_common_set_features
	cmp	r0, #0
	beq	.L2
	mov	r3, #0
	ldr	r2, .L9+12
	str	r3, [sp]
	mov	r1, r7
	mov	r0, r4
	ldr	r2, [r2]
	bl	ocs_hw_command
	subs	r5, r0, #0
	beq	.L3
	mov	r2, r5
	ldr	r0, [r4]
	ldr	r1, .L9+16
	bl	ocs_log_err
	b	.L1
.L2:
	ldr	r0, [r4]
	ldr	r1, .L9+20
	bl	ocs_log_err
	ldr	r3, .L9+24
	ldr	r5, [r3]
.L1:
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r5
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L3:
	ldr	r1, .L9+28
	ldm	r4, {r0, r2}
	bl	ocs_log_debug
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	SLI4_BMBX_SIZE
	.word	.LC3
	.word	SLI4_SET_FEATURES_DIF_SEED
	.word	OCS_CMD_POLL
	.word	.LC0
	.word	.LC2
	.word	OCS_HW_RTN_ERROR
	.word	.LC1
	.size	ocs_hw_set_dif_seed, .-ocs_hw_set_dif_seed
	.comm	SLI4_SET_FEATURES_DIF_SEED,4,4
	.comm	SLI4_BMBX_SIZE,4,4
	.comm	OCS_HW_RTN_SUCCESS,4,4
	.comm	OCS_HW_RTN_ERROR,4,4
	.comm	OCS_CMD_POLL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
