	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_send_lro_cleanup
_qlcnic_send_lro_cleanup:               ## @qlcnic_send_lro_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___QLCNIC_FW_ATTACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r15), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-40(%rbp), %rbx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_QLCNIC_HOST_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$23, %edi
	callq	_cpu_to_le64
	movq	%rax, -32(%rbp)
	callq	_cpu_to_le64
	movq	%rax, -40(%rbp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_qlcnic_send_cmd_descs
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movl	%ebx, %r14d
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___QLCNIC_FW_ATTACHED,4,2       ## @__QLCNIC_FW_ATTACHED
	.comm	_QLCNIC_HOST_REQUEST,4,2        ## @QLCNIC_HOST_REQUEST
	.comm	_QLCNIC_H2C_OPCODE_LRO_REQUEST,4,2 ## @QLCNIC_H2C_OPCODE_LRO_REQUEST
	.comm	_QLCNIC_LRO_REQUEST_CLEANUP,8,3 ## @QLCNIC_LRO_REQUEST_CLEANUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not cleanup lro flows\n"

	.no_dead_strip	_qlcnic_send_lro_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_send_lro_cleanup
_qlcnic_send_lro_cleanup:               ; @qlcnic_send_lro_cleanup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___QLCNIC_FW_ATTACHED@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___QLCNIC_FW_ATTACHED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh3:
	adrp	x8, _QLCNIC_HOST_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_HOST_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w0, w8, #23
	bl	_cpu_to_le64
	str	x0, [sp, #8]
	bl	_cpu_to_le64
	str	x0, [sp]
	mov	x1, sp
	mov	x0, x19
	mov	w2, #1
	bl	_qlcnic_send_cmd_descs
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_4
LBB0_3:
	mov	w20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	___QLCNIC_FW_ATTACHED,4,2       ; @__QLCNIC_FW_ATTACHED
	.comm	_QLCNIC_HOST_REQUEST,4,2        ; @QLCNIC_HOST_REQUEST
	.comm	_QLCNIC_H2C_OPCODE_LRO_REQUEST,4,2 ; @QLCNIC_H2C_OPCODE_LRO_REQUEST
	.comm	_QLCNIC_LRO_REQUEST_CLEANUP,8,3 ; @QLCNIC_LRO_REQUEST_CLEANUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not cleanup lro flows\n"

	.no_dead_strip	_qlcnic_send_lro_cleanup
.subsections_via_symbols
