	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enic_isr_legacy
_enic_isr_legacy:                       ## @enic_isr_legacy
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_enic_legacy_io_intr
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_enic_legacy_err_intr
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_enic_legacy_notify_intr
	movl	%eax, %r15d
	movl	%ebx, %r12d
	leaq	(,%r12,4), %r14
	movq	(%r13), %rdi
	addq	%r14, %rdi
	callq	_vnic_intr_mask
	movl	20(%r13), %edi
	callq	_vnic_intr_legacy_pba
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_ENIC_TEST_INTR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	callq	_enic_notify_check
	movl	%r15d, %edi
	shlq	$2, %rdi
	addq	(%r13), %rdi
	callq	_vnic_intr_return_all_credits
LBB0_4:
	movl	%ebx, %edi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	callq	_ENIC_TEST_INTR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%r15d, %edi
	shlq	$2, %rdi
	addq	(%r13), %rdi
	callq	_vnic_intr_return_all_credits
	movq	%r13, %rdi
	callq	_enic_log_q_error
	addq	$16, %r13
	movq	%r13, %rdi
	callq	_schedule_work
	jmp	LBB0_9
LBB0_1:
	addq	(%r13), %r14
	movq	%r14, %rdi
	callq	_vnic_intr_unmask
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_6:
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_ENIC_TEST_INTR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	8(%r13), %rdi
	callq	_napi_schedule_irqoff
	jmp	LBB0_9
LBB0_8:
	addq	(%r13), %r14
	movq	%r14, %rdi
	callq	_vnic_intr_unmask
LBB0_9:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_enic_isr_legacy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enic_isr_legacy
_enic_isr_legacy:                       ; @enic_isr_legacy
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	bl	_enic_legacy_io_intr
	mov	x22, x0
	bl	_enic_legacy_err_intr
	mov	x21, x0
	bl	_enic_legacy_notify_intr
	mov	x23, x0
	ldr	x8, [x19]
	mov	w20, w22
	add	x0, x8, w22, uxtw #2
	bl	_vnic_intr_mask
	ldr	w0, [x19, #20]
	bl	_vnic_intr_legacy_pba
	cbz	w0, LBB0_5
; %bb.1:
	mov	x22, x0
	mov	x1, x23
	bl	_ENIC_TEST_INTR
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_enic_notify_check
	ldr	x8, [x19]
	add	x0, x8, w23, uxtw #2
	bl	_vnic_intr_return_all_credits
LBB0_3:
	mov	x0, x22
	mov	x1, x21
	bl	_ENIC_TEST_INTR
	cbz	x0, LBB0_6
; %bb.4:
	mov	x20, x19
	ldr	x8, [x20], #16
	add	x0, x8, w21, uxtw #2
	bl	_vnic_intr_return_all_credits
	mov	x0, x19
	bl	_enic_log_q_error
	mov	x0, x20
	bl	_schedule_work
	b	LBB0_9
LBB0_5:
	ldr	x8, [x19]
	add	x0, x8, x20, lsl #2
	bl	_vnic_intr_unmask
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	mov	x0, x22
	mov	x1, x20
	bl	_ENIC_TEST_INTR
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x0, [x19, #8]
	bl	_napi_schedule_irqoff
	b	LBB0_9
LBB0_8:
	ldr	x8, [x19]
	add	x0, x8, x20, lsl #2
	bl	_vnic_intr_unmask
LBB0_9:
Lloh2:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_enic_isr_legacy
.subsections_via_symbols
