	.file	"extr_hinic_port.c_hinic_rss_get_template_tbl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to set hash key, err: %d, status: 0x%x, out size: 0x%x\n"
	.text
	.p2align 4
	.globl	hinic_rss_get_template_tbl
	.type	hinic_rss_get_template_tbl, @function
hinic_rss_get_template_tbl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	xmm0, xmm0
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 72
	.cfi_def_cfa_offset 112
	mov	rbp, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 12[rsp], 32
	movaps	XMMWORD PTR 16[rsp], xmm0
	movaps	XMMWORD PTR 32[rsp], xmm0
	test	rbp, rbp
	je	.L14
	mov	r13, rdx
	test	rdx, rdx
	je	.L14
	mov	rdi, QWORD PTR 0[rbp]
	mov	r12d, esi
	mov	r14, QWORD PTR [rdi]
	call	HINIC_HWIF_FUNC_IDX@PLT
	lea	rdx, 16[rsp]
	mov	esi, DWORD PTR HINIC_PORT_CMD_GET_RSS_TEMPLATE_TBL[rip]
	mov	rdi, rbp
	mov	r8, rdx
	mov	ecx, 32
	lea	r9, 12[rsp]
	mov	DWORD PTR 32[rsp], r12d
	mov	DWORD PTR 36[rsp], eax
	call	hinic_port_msg_cmd@PLT
	mov	r8d, DWORD PTR 12[rsp]
	mov	rcx, QWORD PTR 24[rsp]
	mov	r12d, eax
	test	eax, eax
	jne	.L6
	test	r8d, r8d
	je	.L6
	test	rcx, rcx
	je	.L7
.L6:
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	mov	rdi, r14
	call	dev_err@PLT
.L14:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edx, DWORD PTR HINIC_RSS_KEY_SIZE[rip]
	mov	esi, DWORD PTR 16[rsp]
	mov	rdi, r13
	call	memcpy@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hinic_rss_get_template_tbl, .-hinic_rss_get_template_tbl
	.comm	HINIC_RSS_KEY_SIZE,4,4
	.comm	HINIC_PORT_CMD_GET_RSS_TEMPLATE_TBL,4,4
	.comm	EINVAL,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_hinic_port.c_hinic_rss_get_template_tbl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to set hash key, err: %d, status: 0x%x, out "
	.ascii	"size: 0x%x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hinic_rss_get_template_tbl
	.syntax unified
	.arm
	.fpu softvfp
	.type	hinic_rss_get_template_tbl, %function
hinic_rss_get_template_tbl:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r0]
	mov	ip, #0
	mov	r4, #20
	cmp	r2, #0
	cmpne	r7, #0
	ldr	r3, .L12
	sub	sp, sp, #40
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	str	ip, [sp, #16]
	str	ip, [sp, #20]
	str	ip, [sp, #24]
	str	ip, [sp, #28]
	str	ip, [sp, #32]
	str	r4, [sp, #12]
	bne	.L2
.L9:
	ldr	r3, .L12+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r0, [r7]
	mov	r6, r1
	mov	r5, r2
	ldr	r8, [r0]
	bl	HINIC_HWIF_FUNC_IDX
	mov	ip, r0
	add	r3, sp, #16
	ldr	r1, .L12+8
	str	r3, [sp]
	str	ip, [sp, #28]
	add	ip, sp, #12
	ldr	r1, [r1]
	mov	r3, r4
	add	r2, sp, #16
	mov	r0, r7
	str	ip, [sp, #4]
	str	r6, [sp, #24]
	bl	hinic_port_msg_cmd
	ldr	r1, [sp, #12]
	mov	r2, r0
	cmp	r1, #0
	ldr	r3, [sp, #20]
	beq	.L5
	orrs	r4, r3, r0
	beq	.L6
.L5:
	str	r1, [sp]
	mov	r0, r8
	ldr	r1, .L12+12
	bl	dev_err
	b	.L9
.L6:
	ldr	r3, .L12+16
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r1, [sp, #16]
	bl	memcpy
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	EINVAL
	.word	HINIC_PORT_CMD_GET_RSS_TEMPLATE_TBL
	.word	.LC0
	.word	HINIC_RSS_KEY_SIZE
	.size	hinic_rss_get_template_tbl, .-hinic_rss_get_template_tbl
	.comm	HINIC_RSS_KEY_SIZE,4,4
	.comm	HINIC_PORT_CMD_GET_RSS_TEMPLATE_TBL,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
