	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lio_get_intr_coalesce
_lio_get_intr_coalesce:                 ## @lio_get_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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	callq	_GET_LIO
	movq	%rax, %rbx
	movq	16(%rax), %r14
	leaq	-88(%rbp), %rsi
	movq	%rax, %rdi
	callq	_octnet_get_intrmod_cfg
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_21
LBB0_3:
	movl	(%r14), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_9
## %bb.4:
	addl	$-130, %eax
	cmpl	$1, %eax
	ja	LBB0_22
## %bb.5:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	cmpq	$0, -80(%rbp)
	je	LBB0_8
LBB0_13:
	testq	%rax, %rax
	je	LBB0_15
LBB0_14:
	movq	%rax, 48(%r15)
	movl	-48(%rbp), %eax
	movl	%eax, 40(%r15)
	movl	-52(%rbp), %eax
	movl	%eax, 36(%r15)
	movl	-56(%rbp), %eax
	movl	%eax, 32(%r15)
	movups	-72(%rbp), %xmm0
	movups	%xmm0, 16(%r15)
LBB0_15:
	movq	%r14, %rdi
	callq	_OCTEON_CN23XX_PF
	testq	%rax, %rax
	je	LBB0_16
## %bb.18:
	movq	-80(%rbp), %rcx
	testq	%rcx, %rcx
	jne	LBB0_19
	jmp	LBB0_20
LBB0_9:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	16(%r14), %r12
	movl	(%r12), %edi
	callq	_CFG_GET_OQ_INTR_TIME
	movl	%eax, 64(%r15)
	movl	(%r12), %edi
	callq	_CFG_GET_OQ_INTR_PKT
	movl	%eax, 60(%r15)
	movq	-40(%rbp), %rax
LBB0_11:
	movq	8(%r14), %rcx
	movq	8(%rbx), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	jmp	LBB0_12
LBB0_16:
	movq	%r14, %rdi
	callq	_OCTEON_CN23XX_VF
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.17:
	movq	-80(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_21
LBB0_19:
	movq	%rcx, 8(%r15)
	movl	-84(%rbp), %eax
	movl	%eax, 4(%r15)
	movl	-88(%rbp), %eax
	movl	%eax, (%r15)
LBB0_20:
	xorl	%eax, %eax
LBB0_21:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_netif_info
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movl	32(%r14), %ecx
	movl	%ecx, 64(%r15)
	movl	28(%r14), %ecx
	movl	%ecx, 60(%r15)
	cmpq	$0, -80(%rbp)
	jne	LBB0_13
LBB0_8:
	leaq	24(%r14), %rcx
LBB0_12:
	movl	(%rcx), %ecx
	movl	%ecx, 56(%r15)
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown Chip !!\n"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lio_get_intr_coalesce
_lio_get_intr_coalesce:                 ; @lio_get_intr_coalesce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	bl	_GET_LIO
	mov	x21, x0
	ldr	x20, [x0, #16]
	add	x1, sp, #8
	bl	_octnet_get_intrmod_cfg
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_18
LBB0_3:
	ldr	w8, [x20]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_12
; %bb.4:
	sub	w8, w8, #130
	cmp	w8, #1
	b.hi	LBB0_19
; %bb.5:
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_20
; %bb.6:
	ldr	x9, [sp, #16]
	cbz	x9, LBB0_21
LBB0_7:
	cbz	x8, LBB0_9
LBB0_8:
	str	x8, [x19, #48]
	ldr	w8, [sp, #48]
	str	w8, [x19, #40]
	ldr	d0, [sp, #40]
	str	d0, [x19, #32]
	ldur	q0, [sp, #24]
	str	q0, [x19, #16]
LBB0_9:
	mov	x0, x20
	bl	_OCTEON_CN23XX_PF
	cbz	x0, LBB0_15
; %bb.10:
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_17
; %bb.11:
	mov	w0, #0
	b	LBB0_18
LBB0_12:
	ldr	x8, [sp, #56]
	cbnz	x8, LBB0_14
; %bb.13:
	ldr	x22, [x20, #16]
	ldr	w0, [x22]
	bl	_CFG_GET_OQ_INTR_TIME
	str	w0, [x19, #64]
	ldr	w0, [x22]
	bl	_CFG_GET_OQ_INTR_PKT
	str	w0, [x19, #60]
	ldr	x8, [sp, #56]
LBB0_14:
	ldr	x9, [x20, #8]
	ldr	x10, [x21, #8]
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	b	LBB0_22
LBB0_15:
	mov	x0, x20
	bl	_OCTEON_CN23XX_VF
	mov	x8, x0
	mov	w0, #0
	cbz	x8, LBB0_18
; %bb.16:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_18
LBB0_17:
	mov	w0, #0
	str	x8, [x19, #8]
	ldr	d0, [sp, #8]
	str	d0, [x19]
LBB0_18:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_19:
Lloh2:
	adrp	x8, _drv@GOTPAGE
Lloh3:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x21]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	bl	_netif_info
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
LBB0_20:
	ldur	d0, [x20, #28]
	stur	d0, [x19, #60]
	ldr	x9, [sp, #16]
	cbnz	x9, LBB0_7
LBB0_21:
	add	x9, x20, #24
LBB0_22:
	ldr	w9, [x9]
	str	w9, [x19, #56]
	cbnz	x8, LBB0_8
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown Chip !!\n"

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