	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_82xx_set_rx_coalesce    ## -- Begin function qlcnic_82xx_set_rx_coalesce
	.p2align	4, 0x90
_qlcnic_82xx_set_rx_coalesce:           ## @qlcnic_82xx_set_rx_coalesce
	.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
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_QLCNIC_HOST_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$23, %edi
	callq	_cpu_to_le64
	movq	%rax, -32(%rbp)
	movq	_QLCNIC_CONFIG_INTR_COALESCE@GOTPCREL(%rip), %rax
	movl	16(%r15), %edi
	shll	$16, %edi
	orl	(%rax), %edi
	callq	_cpu_to_le64
	movq	%rax, -40(%rbp)
	callq	_cpu_to_le64
	movq	-48(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	8(%r15), %rax
	movl	24(%rax), %edi
	shll	$16, %edi
	orl	(%rax), %edi
	callq	_cpu_to_le64
	movq	-48(%rbp), %rcx
	movq	%rax, 16(%rcx)
	callq	_cpu_to_le64
	movq	-48(%rbp), %rcx
	movq	%rax, 40(%rcx)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_qlcnic_send_cmd_descs
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_2:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_HOST_REQUEST,4,2        ## @QLCNIC_HOST_REQUEST
	.comm	_QLCNIC_CONFIG_INTR_COALESCE,4,2 ## @QLCNIC_CONFIG_INTR_COALESCE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not send interrupt coalescing parameters\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_82xx_set_rx_coalesce    ; -- Begin function qlcnic_82xx_set_rx_coalesce
	.p2align	2
_qlcnic_82xx_set_rx_coalesce:           ; @qlcnic_82xx_set_rx_coalesce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _QLCNIC_HOST_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_HOST_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w0, w8, #23
	bl	_cpu_to_le64
	str	x0, [sp, #24]
Lloh3:
	adrp	x8, _QLCNIC_CONFIG_INTR_COALESCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_CONFIG_INTR_COALESCE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w0, w8, w9, lsl #16
	bl	_cpu_to_le64
	str	x0, [sp, #16]
	bl	_cpu_to_le64
	ldr	x8, [sp, #8]
	str	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	ldr	w8, [x8, #24]
	orr	w0, w9, w8, lsl #16
	bl	_cpu_to_le64
	ldr	x8, [sp, #8]
	str	x0, [x8, #16]
	bl	_cpu_to_le64
	ldr	x8, [sp, #8]
	str	x0, [x8, #40]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	bl	_qlcnic_send_cmd_descs
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_HOST_REQUEST,4,2        ; @QLCNIC_HOST_REQUEST
	.comm	_QLCNIC_CONFIG_INTR_COALESCE,4,2 ; @QLCNIC_CONFIG_INTR_COALESCE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not send interrupt coalescing parameters\n"

.subsections_via_symbols
