	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_config_intr_coal   ## -- Begin function qlcnic_83xx_config_intr_coal
	.p2align	4, 0x90
_qlcnic_83xx_config_intr_coal:          ## @qlcnic_83xx_config_intr_coal
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movq	_QLCNIC_HOST_CTX_STATE_FREED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	_QLCNIC_CMD_CONFIG_INTR_COAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_qlcnic_alloc_mbx_args
	movl	(%r14), %eax
	movq	_QLCNIC_INTR_COAL_TYPE_RX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	movq	16(%rbx), %rcx
	movl	8(%rcx), %ecx
	shll	$16, %ecx
	orl	%eax, %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, 4(%rax)
	movl	4(%r14), %ecx
	shll	$16, %ecx
	orl	8(%r14), %ecx
	jmp	LBB0_6
LBB0_3:
	movq	_QLCNIC_INTR_COAL_TYPE_TX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.5:
	movq	8(%rbx), %rcx
	movl	(%rcx), %ecx
	shll	$16, %ecx
	orl	%eax, %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, 4(%rax)
	movl	12(%r14), %ecx
	shll	$16, %ecx
	orl	16(%r14), %ecx
LBB0_6:
	movl	%ecx, 8(%rax)
	jmp	LBB0_7
LBB0_4:
	movq	-24(%rbp), %rax
LBB0_7:
	movl	20(%r14), %ecx
	movl	%ecx, 12(%rax)
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_qlcnic_issue_cmd
	movq	_QLCNIC_RCODE_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_9
## %bb.8:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
LBB0_9:
	leaq	-24(%rbp), %rdi
	callq	_qlcnic_free_mbx_args
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_HOST_CTX_STATE_FREED,8,3 ## @QLCNIC_HOST_CTX_STATE_FREED
	.comm	_QLCNIC_CMD_CONFIG_INTR_COAL,4,2 ## @QLCNIC_CMD_CONFIG_INTR_COAL
	.comm	_QLCNIC_INTR_COAL_TYPE_RX,4,2   ## @QLCNIC_INTR_COAL_TYPE_RX
	.comm	_QLCNIC_INTR_COAL_TYPE_TX,4,2   ## @QLCNIC_INTR_COAL_TYPE_TX
	.comm	_QLCNIC_RCODE_SUCCESS,4,2       ## @QLCNIC_RCODE_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to send interrupt coalescence parameters\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_config_intr_coal   ; -- Begin function qlcnic_83xx_config_intr_coal
	.p2align	2
_qlcnic_83xx_config_intr_coal:          ; @qlcnic_83xx_config_intr_coal
	.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
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _QLCNIC_HOST_CTX_STATE_FREED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QLCNIC_HOST_CTX_STATE_FREED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #24]
Lloh3:
	adrp	x8, _QLCNIC_CMD_CONFIG_INTR_COAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_CMD_CONFIG_INTR_COAL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x19
	bl	_qlcnic_alloc_mbx_args
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _QLCNIC_INTR_COAL_TYPE_RX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QLCNIC_INTR_COAL_TYPE_RX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	ldr	x9, [x19, #16]
	ldr	w9, [x9, #8]
	orr	w9, w8, w9, lsl #16
	ldr	x8, [sp, #8]
	str	w9, [x8, #4]
	ldp	w9, w10, [x20, #4]
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x9, _QLCNIC_INTR_COAL_TYPE_TX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QLCNIC_INTR_COAL_TYPE_TX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.4:
	ldr	x9, [x19, #8]
	ldr	w9, [x9]
	orr	w9, w8, w9, lsl #16
	ldr	x8, [sp, #8]
	str	w9, [x8, #4]
	ldp	w9, w10, [x20, #12]
LBB0_5:
	orr	w9, w10, w9, lsl #16
	str	w9, [x8, #8]
	b	LBB0_7
LBB0_6:
	ldr	x8, [sp, #8]
LBB0_7:
	ldr	w9, [x20, #20]
	str	w9, [x8, #12]
	add	x1, sp, #8
	mov	x0, x19
	bl	_qlcnic_issue_cmd
Lloh12:
	adrp	x8, _QLCNIC_RCODE_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QLCNIC_RCODE_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	x0, [x19]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
LBB0_9:
	add	x0, sp, #8
	bl	_qlcnic_free_mbx_args
LBB0_10:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_HOST_CTX_STATE_FREED,8,3 ; @QLCNIC_HOST_CTX_STATE_FREED
	.comm	_QLCNIC_CMD_CONFIG_INTR_COAL,4,2 ; @QLCNIC_CMD_CONFIG_INTR_COAL
	.comm	_QLCNIC_INTR_COAL_TYPE_RX,4,2   ; @QLCNIC_INTR_COAL_TYPE_RX
	.comm	_QLCNIC_INTR_COAL_TYPE_TX,4,2   ; @QLCNIC_INTR_COAL_TYPE_TX
	.comm	_QLCNIC_RCODE_SUCCESS,4,2       ; @QLCNIC_RCODE_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to send interrupt coalescence parameters\n"

.subsections_via_symbols
