	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hinic_set_rx_lro_timer
_hinic_set_rx_lro_timer:                ## @hinic_set_rx_lro_timer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, -48(%rbp)
	movq	$0, -32(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movl	$32, -20(%rbp)
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, -56(%rbp)
	movq	$0, -40(%rbp)
	movl	%esi, -48(%rbp)
	movq	_HINIC_PORT_CMD_SET_LRO_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	leaq	-20(%rbp), %r9
	movl	$32, %ecx
	movq	%rdx, %r8
	callq	_hinic_port_msg_cmd
	movl	%eax, %ebx
	movl	-56(%rbp), %edx
	cmpl	$255, %edx
	jne	LBB0_2
## %bb.1:
	movl	$0, -56(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movl	-56(%rbp), %edx
LBB0_2:
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.3:
	cmpl	$0, -20(%rbp)
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	testl	%edx, %edx
	je	LBB0_6
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HINIC_PORT_CMD_SET_LRO_TIMER,4,2 ## @HINIC_PORT_CMD_SET_LRO_TIMER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Set lro timer not supported by the current FW version, it will be 1ms default\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to set lro timer, ret = %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_hinic_set_rx_lro_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function hinic_set_rx_lro_timer
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_hinic_set_rx_lro_timer:                ; @hinic_set_rx_lro_timer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x0, [x0]
	stp	xzr, xzr, [sp, #32]
	str	xzr, [sp, #24]
	ldr	x8, [x0]
	ldr	x19, [x8]
	mov	w8, #32
	str	w8, [sp, #12]
	str	xzr, [sp, #32]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
	str	w1, [sp, #24]
Lloh2:
	adrp	x8, _HINIC_PORT_CMD_SET_LRO_TIMER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HINIC_PORT_CMD_SET_LRO_TIMER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #16
	add	x4, sp, #16
	add	x5, sp, #12
	mov	w3, #32
	bl	_hinic_port_msg_cmd
	mov	x20, x0
	ldr	w2, [sp, #16]
	cmp	w2, #255
	b.ne	LBB0_2
; %bb.1:
	str	wzr, [sp, #16]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w2, [sp, #16]
LBB0_2:
	ldr	w8, [sp, #12]
	cmp	w20, #0
	ccmp	w8, #0, #4, eq
	ccmp	w2, #0, #0, ne
	b.eq	LBB0_4
; %bb.3:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HINIC_PORT_CMD_SET_LRO_TIMER,4,2 ; @HINIC_PORT_CMD_SET_LRO_TIMER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Set lro timer not supported by the current FW version, it will be 1ms default\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to set lro timer, ret = %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_hinic_set_rx_lro_timer
.subsections_via_symbols
