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