	.file	"extr_sli4.c_sli_res_sli_config.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bad parameter buf=%p cmd=%#x\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"external buffers not supported\n"
	.text
	.p2align 4
	.type	sli_res_sli_config, @function
sli_res_sli_config:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	test	rdi, rdi
	je	.L6
	mov	rcx, QWORD PTR 16[rdi]
	cmp	rcx, QWORD PTR SLI4_MBOX_COMMAND_SLI_CONFIG[rip]
	jne	.L2
	mov	eax, DWORD PTR 24[rdi]
	test	eax, eax
	jne	.L1
	cmp	QWORD PTR 8[rdi], 0
	je	.L5
	mov	rax, QWORD PTR [rdi]
	mov	eax, DWORD PTR 16[rax]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	mov	ecx, -1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, rdi
	lea	rsi, .LC0[rip]
	xor	edi, edi
	call	ocs_log_err@PLT
	mov	eax, -1
	jmp	.L1
.L5:
	lea	rsi, .LC1[rip]
	xor	edi, edi
	call	ocs_log_test@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	sli_res_sli_config, .-sli_res_sli_config
	.comm	SLI4_MBOX_COMMAND_SLI_CONFIG,8,8
	.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_sli4.c_sli_res_sli_config.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bad parameter buf=%p cmd=%#x\012\000"
	.align	2
.LC1:
	.ascii	"external buffers not supported\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sli_res_sli_config, %function
sli_res_sli_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	r2, r0, #0
	push	{r4, lr}
	beq	.L6
	ldr	r1, .L9
	ldr	r3, [r2, #8]
	ldr	r1, [r1]
	cmp	r3, r1
	bne	.L2
	ldr	r0, [r2, #12]
	cmp	r0, #0
	popne	{r4, pc}
	ldr	r3, [r2, #4]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [r2]
	ldr	r0, [r3, #16]
	pop	{r4, pc}
.L6:
	mvn	r3, #0
.L2:
	ldr	r1, .L9+4
	mov	r0, #0
	bl	ocs_log_err
	mvn	r0, #0
	pop	{r4, pc}
.L5:
	ldr	r1, .L9+8
	bl	ocs_log_test
	mvn	r0, #0
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	SLI4_MBOX_COMMAND_SLI_CONFIG
	.word	.LC0
	.word	.LC1
	.size	sli_res_sli_config, .-sli_res_sli_config
	.comm	SLI4_MBOX_COMMAND_SLI_CONFIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
