	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_set_intr_coalesce
_qlcnic_set_intr_coalesce:              ## @qlcnic_set_intr_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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	___QLCNIC_DEV_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$65535, (%rbx)                  ## imm = 0xFFFF
	jg	LBB0_1
## %bb.3:
	cmpl	$65535, 4(%rbx)                 ## imm = 0xFFFF
	jg	LBB0_1
## %bb.4:
	cmpl	$65535, 8(%rbx)                 ## imm = 0xFFFF
	jg	LBB0_1
## %bb.5:
	cmpl	$65535, 12(%rbx)                ## imm = 0xFFFF
	jg	LBB0_1
## %bb.6:
	cmpq	$0, 144(%rbx)
	jne	LBB0_1
## %bb.7:
	cmpq	$0, 136(%rbx)
	jne	LBB0_1
## %bb.8:
	cmpq	$0, 128(%rbx)
	jne	LBB0_1
## %bb.9:
	cmpq	$0, 120(%rbx)
	jne	LBB0_1
## %bb.10:
	cmpq	$0, 112(%rbx)
	jne	LBB0_1
## %bb.11:
	cmpq	$0, 104(%rbx)
	jne	LBB0_1
## %bb.12:
	cmpq	$0, 96(%rbx)
	jne	LBB0_1
## %bb.13:
	cmpq	$0, 88(%rbx)
	jne	LBB0_1
## %bb.14:
	cmpq	$0, 80(%rbx)
	jne	LBB0_1
## %bb.15:
	cmpq	$0, 72(%rbx)
	jne	LBB0_1
## %bb.16:
	cmpq	$0, 64(%rbx)
	jne	LBB0_1
## %bb.17:
	cmpq	$0, 56(%rbx)
	jne	LBB0_1
## %bb.18:
	cmpq	$0, 48(%rbx)
	jne	LBB0_1
## %bb.19:
	cmpq	$0, 40(%rbx)
	jne	LBB0_1
## %bb.20:
	cmpq	$0, 32(%rbx)
	jne	LBB0_1
## %bb.21:
	cmpq	$0, 24(%rbx)
	jne	LBB0_1
## %bb.22:
	cmpq	$0, 16(%rbx)
	je	LBB0_23
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_42:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	(%r14), %r15
	movq	%r14, %rdi
	callq	_qlcnic_83xx_check
	testq	%rax, %rax
	je	LBB0_37
## %bb.24:
	movslq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_28
## %bb.25:
	movslq	12(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_28
## %bb.26:
	movslq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.27:
	movslq	4(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.29:
	movq	$0, 32(%r15)
	cmpq	%rdx, (%r15)
	jne	LBB0_33
## %bb.30:
	cmpq	%rsi, 8(%r15)
	je	LBB0_31
LBB0_33:
	cmpq	%rax, 16(%r15)
	jne	LBB0_36
## %bb.34:
	cmpq	%rcx, 24(%r15)
	je	LBB0_35
LBB0_36:
	movq	_QLCNIC_INTR_COAL_TYPE_RX@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	%rdi, 40(%r15)
	movq	%rdx, (%r15)
	movq	%rsi, 8(%r15)
LBB0_32:
	movq	%rax, 16(%r15)
	movq	%rcx, 24(%r15)
	jmp	LBB0_41
LBB0_28:
	movq	_QLCNIC_INTR_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r15)
	movq	_QLCNIC_INTR_COAL_TYPE_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r15)
	movq	_QLCNIC_DEF_INTR_COALESCE_RX_TIME_US@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_QLCNIC_DEF_INTR_COALESCE_RX_PACKETS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	movq	_QLCNIC_DEF_INTR_COALESCE_TX_TIME_US@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	movq	_QLCNIC_DEF_INTR_COALESCE_TX_PACKETS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
	jmp	LBB0_41
LBB0_37:
	movslq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	movslq	4(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_39
## %bb.40:
	movq	$0, 32(%r15)
	movq	%rax, (%r15)
	movq	%rcx, 8(%r15)
	jmp	LBB0_41
LBB0_39:
	movq	_QLCNIC_INTR_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r15)
	movq	_QLCNIC_DEF_INTR_COALESCE_RX_TIME_US@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_QLCNIC_DEF_INTR_COALESCE_RX_PACKETS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
LBB0_41:
	movq	%r14, %rdi
	callq	_qlcnic_config_intr_coalesce
	xorl	%eax, %eax
	jmp	LBB0_42
LBB0_31:
	movq	_QLCNIC_INTR_COAL_TYPE_TX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 40(%r15)
	jmp	LBB0_32
LBB0_35:
	movq	_QLCNIC_INTR_COAL_TYPE_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r15)
	movq	%rdx, (%r15)
	movq	%rsi, 8(%r15)
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.comm	___QLCNIC_DEV_UP,4,2            ## @__QLCNIC_DEV_UP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QLCNIC_INTR_DEFAULT,8,3        ## @QLCNIC_INTR_DEFAULT
	.comm	_QLCNIC_INTR_COAL_TYPE_RX,8,3   ## @QLCNIC_INTR_COAL_TYPE_RX
	.comm	_QLCNIC_DEF_INTR_COALESCE_RX_TIME_US,8,3 ## @QLCNIC_DEF_INTR_COALESCE_RX_TIME_US
	.comm	_QLCNIC_DEF_INTR_COALESCE_RX_PACKETS,8,3 ## @QLCNIC_DEF_INTR_COALESCE_RX_PACKETS
	.comm	_QLCNIC_DEF_INTR_COALESCE_TX_TIME_US,8,3 ## @QLCNIC_DEF_INTR_COALESCE_TX_TIME_US
	.comm	_QLCNIC_DEF_INTR_COALESCE_TX_PACKETS,8,3 ## @QLCNIC_DEF_INTR_COALESCE_TX_PACKETS
	.comm	_QLCNIC_INTR_COAL_TYPE_TX,8,3   ## @QLCNIC_INTR_COAL_TYPE_TX
	.no_dead_strip	_qlcnic_set_intr_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_set_intr_coalesce
_qlcnic_set_intr_coalesce:              ; @qlcnic_set_intr_coalesce
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, ___QLCNIC_DEV_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___QLCNIC_DEV_UP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	w0, LBB0_22
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #16, lsl #12                ; =65536
	b.ge	LBB0_22
; %bb.2:
	ldr	w8, [x20, #4]
	cmp	w8, #16, lsl #12                ; =65536
	b.ge	LBB0_22
; %bb.3:
	ldr	w8, [x20, #8]
	cmp	w8, #16, lsl #12                ; =65536
	b.ge	LBB0_22
; %bb.4:
	ldr	w8, [x20, #12]
	cmp	w8, #16, lsl #12                ; =65536
	b.ge	LBB0_22
; %bb.5:
	ldr	x8, [x20, #144]
	cbnz	x8, LBB0_22
; %bb.6:
	ldr	x8, [x20, #136]
	cbnz	x8, LBB0_22
; %bb.7:
	ldr	x8, [x20, #128]
	cbnz	x8, LBB0_22
; %bb.8:
	ldr	x8, [x20, #120]
	cbnz	x8, LBB0_22
; %bb.9:
	ldr	x8, [x20, #112]
	cbnz	x8, LBB0_22
; %bb.10:
	ldr	x8, [x20, #104]
	cbnz	x8, LBB0_22
; %bb.11:
	ldr	x8, [x20, #96]
	cbnz	x8, LBB0_22
; %bb.12:
	ldr	x8, [x20, #88]
	cbnz	x8, LBB0_22
; %bb.13:
	ldr	x8, [x20, #80]
	cbnz	x8, LBB0_22
; %bb.14:
	ldr	x8, [x20, #72]
	cbnz	x8, LBB0_22
; %bb.15:
	ldr	x8, [x20, #64]
	cbnz	x8, LBB0_22
; %bb.16:
	ldr	x8, [x20, #56]
	cbnz	x8, LBB0_22
; %bb.17:
	ldr	x8, [x20, #48]
	cbnz	x8, LBB0_22
; %bb.18:
	ldr	x8, [x20, #40]
	cbnz	x8, LBB0_22
; %bb.19:
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_22
; %bb.20:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_22
; %bb.21:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_24
LBB0_22:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_23:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_24:
	ldr	x21, [x19]
	mov	x0, x19
	bl	_qlcnic_83xx_check
	cbz	x0, LBB0_36
; %bb.25:
	ldrsw	x8, [x20, #8]
	cbz	w8, LBB0_35
; %bb.26:
	ldrsw	x9, [x20, #12]
	cbz	w9, LBB0_35
; %bb.27:
	ldrsw	x10, [x20]
	cbz	w10, LBB0_35
; %bb.28:
	ldrsw	x11, [x20, #4]
	cbz	w11, LBB0_35
; %bb.29:
	str	xzr, [x21, #32]
	ldr	x12, [x21]
	cmp	x12, x10
	b.ne	LBB0_31
; %bb.30:
	ldr	x12, [x21, #8]
	cmp	x12, x11
	b.eq	LBB0_41
LBB0_31:
	ldr	x12, [x21, #16]
	cmp	x12, x8
	b.ne	LBB0_33
; %bb.32:
	ldr	x12, [x21, #24]
	cmp	x12, x9
	b.eq	LBB0_42
LBB0_33:
Lloh6:
	adrp	x12, _QLCNIC_INTR_COAL_TYPE_RX@GOTPAGE
Lloh7:
	ldr	x12, [x12, _QLCNIC_INTR_COAL_TYPE_RX@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	str	x12, [x21, #40]
	stp	x10, x11, [x21]
LBB0_34:
	stp	x8, x9, [x21, #16]
	b	LBB0_40
LBB0_35:
Lloh9:
	adrp	x8, _QLCNIC_INTR_DEFAULT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QLCNIC_INTR_DEFAULT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _QLCNIC_INTR_COAL_TYPE_RX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _QLCNIC_INTR_COAL_TYPE_RX@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	str	x9, [x21, #40]
Lloh15:
	adrp	x9, _QLCNIC_DEF_INTR_COALESCE_RX_TIME_US@GOTPAGE
Lloh16:
	ldr	x9, [x9, _QLCNIC_DEF_INTR_COALESCE_RX_TIME_US@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
Lloh18:
	adrp	x10, _QLCNIC_DEF_INTR_COALESCE_RX_PACKETS@GOTPAGE
Lloh19:
	ldr	x10, [x10, _QLCNIC_DEF_INTR_COALESCE_RX_PACKETS@GOTPAGEOFF]
	str	x9, [x21]
Lloh20:
	ldr	x9, [x10]
Lloh21:
	adrp	x10, _QLCNIC_DEF_INTR_COALESCE_TX_TIME_US@GOTPAGE
Lloh22:
	ldr	x10, [x10, _QLCNIC_DEF_INTR_COALESCE_TX_TIME_US@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	stp	x9, x10, [x21, #8]
Lloh24:
	adrp	x9, _QLCNIC_DEF_INTR_COALESCE_TX_PACKETS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _QLCNIC_DEF_INTR_COALESCE_TX_PACKETS@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	stp	x9, x8, [x21, #24]
	b	LBB0_40
LBB0_36:
	ldrsw	x8, [x20]
	cbz	w8, LBB0_39
; %bb.37:
	ldrsw	x9, [x20, #4]
	cbz	w9, LBB0_39
; %bb.38:
	str	xzr, [x21, #32]
	stp	x8, x9, [x21]
	b	LBB0_40
LBB0_39:
Lloh27:
	adrp	x8, _QLCNIC_INTR_DEFAULT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _QLCNIC_INTR_DEFAULT@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	str	x8, [x21, #32]
Lloh30:
	adrp	x8, _QLCNIC_DEF_INTR_COALESCE_RX_TIME_US@GOTPAGE
Lloh31:
	ldr	x8, [x8, _QLCNIC_DEF_INTR_COALESCE_RX_TIME_US@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	str	x8, [x21]
Lloh33:
	adrp	x8, _QLCNIC_DEF_INTR_COALESCE_RX_PACKETS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _QLCNIC_DEF_INTR_COALESCE_RX_PACKETS@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	str	x8, [x21, #8]
LBB0_40:
	mov	x0, x19
	bl	_qlcnic_config_intr_coalesce
	mov	w0, #0
	b	LBB0_23
LBB0_41:
Lloh36:
	adrp	x10, _QLCNIC_INTR_COAL_TYPE_TX@GOTPAGE
Lloh37:
	ldr	x10, [x10, _QLCNIC_INTR_COAL_TYPE_TX@GOTPAGEOFF]
Lloh38:
	ldr	x10, [x10]
	str	x10, [x21, #40]
	b	LBB0_34
LBB0_42:
Lloh39:
	adrp	x8, _QLCNIC_INTR_COAL_TYPE_RX@GOTPAGE
Lloh40:
	ldr	x8, [x8, _QLCNIC_INTR_COAL_TYPE_RX@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	str	x8, [x21, #40]
	stp	x10, x11, [x21]
	b	LBB0_40
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	___QLCNIC_DEV_UP,4,2            ; @__QLCNIC_DEV_UP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QLCNIC_INTR_DEFAULT,8,3        ; @QLCNIC_INTR_DEFAULT
	.comm	_QLCNIC_INTR_COAL_TYPE_RX,8,3   ; @QLCNIC_INTR_COAL_TYPE_RX
	.comm	_QLCNIC_DEF_INTR_COALESCE_RX_TIME_US,8,3 ; @QLCNIC_DEF_INTR_COALESCE_RX_TIME_US
	.comm	_QLCNIC_DEF_INTR_COALESCE_RX_PACKETS,8,3 ; @QLCNIC_DEF_INTR_COALESCE_RX_PACKETS
	.comm	_QLCNIC_DEF_INTR_COALESCE_TX_TIME_US,8,3 ; @QLCNIC_DEF_INTR_COALESCE_TX_TIME_US
	.comm	_QLCNIC_DEF_INTR_COALESCE_TX_PACKETS,8,3 ; @QLCNIC_DEF_INTR_COALESCE_TX_PACKETS
	.comm	_QLCNIC_INTR_COAL_TYPE_TX,8,3   ; @QLCNIC_INTR_COAL_TYPE_TX
	.no_dead_strip	_qlcnic_set_intr_coalesce
.subsections_via_symbols
