	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tc35815_do_interrupt
_tc35815_do_interrupt:                  ## @tc35815_do_interrupt
	.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
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_FATAL_ERROR_INT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_tc35815_fatal_error_interrupt
	xorl	%r13d, %r13d
LBB0_2:
	movl	%r13d, %eax
	jmp	LBB0_20
LBB0_3:
	movq	_Int_IntFDAEx@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	callq	_netif_msg_rx_err
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	8(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_warn
LBB0_7:
	incl	4(%r15)
	xorl	%r13d, %r13d
	jmp	LBB0_8
LBB0_4:
	movl	$-1, %r13d
LBB0_8:
	movq	_Int_IntBLEx@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.9:
	movq	%r14, %rdi
	callq	_netif_msg_rx_err
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	8(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_warn
LBB0_11:
	incl	4(%r15)
	xorl	%r13d, %r13d
LBB0_12:
	movq	_Int_IntExBD@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_16
## %bb.13:
	movq	%r14, %rdi
	callq	_netif_msg_rx_err
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	8(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_warn
LBB0_15:
	incl	(%r15)
	xorl	%r13d, %r13d
LBB0_16:
	movq	_Int_IntMacRx@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_18
## %bb.17:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_tc35815_rx
	movl	%eax, %r13d
	incl	8(%r14)
LBB0_18:
	movq	_Int_IntMacTx@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.19:
	incl	4(%r14)
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	%r15, %rdi
	callq	_tc35815_txdone
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	testl	%r13d, %r13d
	cmovgl	%r13d, %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FATAL_ERROR_INT,4,2            ## @FATAL_ERROR_INT
	.comm	_Int_IntFDAEx,4,2               ## @Int_IntFDAEx
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Free Descriptor Area Exhausted (%#x).\n"

	.comm	_Int_IntBLEx,4,2                ## @Int_IntBLEx
L_.str.1:                               ## @.str.1
	.asciz	"Buffer List Exhausted (%#x).\n"

	.comm	_Int_IntExBD,4,2                ## @Int_IntExBD
L_.str.2:                               ## @.str.2
	.asciz	"Excessive Buffer Descriptors (%#x).\n"

	.comm	_Int_IntMacRx,4,2               ## @Int_IntMacRx
	.comm	_Int_IntMacTx,4,2               ## @Int_IntMacTx
	.no_dead_strip	_tc35815_do_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tc35815_do_interrupt
_tc35815_do_interrupt:                  ; @tc35815_do_interrupt
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_netdev_priv
Lloh0:
	adrp	x8, _FATAL_ERROR_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FATAL_ERROR_INT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	bl	_tc35815_fatal_error_interrupt
	mov	w23, #0
LBB0_2:
	mov	x0, x23
	b	LBB0_20
LBB0_3:
	mov	x20, x0
Lloh3:
	adrp	x8, _Int_IntFDAEx@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Int_IntFDAEx@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_netif_msg_rx_err
	cbz	x0, LBB0_6
; %bb.5:
	add	x0, x19, #8
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_dev_warn
LBB0_6:
	mov	w23, #0
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	b	LBB0_8
LBB0_7:
	mov	w23, #-1
LBB0_8:
Lloh8:
	adrp	x8, _Int_IntBLEx@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Int_IntBLEx@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_12
; %bb.9:
	mov	x0, x20
	bl	_netif_msg_rx_err
	cbz	x0, LBB0_11
; %bb.10:
	add	x0, x19, #8
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_dev_warn
LBB0_11:
	mov	w23, #0
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_12:
Lloh13:
	adrp	x8, _Int_IntExBD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Int_IntExBD@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_16
; %bb.13:
	mov	x0, x20
	bl	_netif_msg_rx_err
	cbz	x0, LBB0_15
; %bb.14:
	add	x0, x19, #8
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_dev_warn
LBB0_15:
	mov	w23, #0
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_16:
Lloh18:
	adrp	x8, _Int_IntMacRx@GOTPAGE
Lloh19:
	ldr	x8, [x8, _Int_IntMacRx@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x1, x22
	bl	_tc35815_rx
	mov	x23, x0
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_18:
Lloh21:
	adrp	x8, _Int_IntMacTx@GOTPAGE
Lloh22:
	ldr	x8, [x8, _Int_IntMacTx@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.19:
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	mov	x0, x20
	bl	_spin_lock_irq
	mov	x0, x19
	bl	_tc35815_txdone
	mov	x0, x20
	bl	_spin_unlock_irq
	cmp	w23, #0
	csel	w0, w23, wzr, gt
LBB0_20:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_FATAL_ERROR_INT,4,2            ; @FATAL_ERROR_INT
	.comm	_Int_IntFDAEx,4,2               ; @Int_IntFDAEx
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Free Descriptor Area Exhausted (%#x).\n"

	.comm	_Int_IntBLEx,4,2                ; @Int_IntBLEx
l_.str.1:                               ; @.str.1
	.asciz	"Buffer List Exhausted (%#x).\n"

	.comm	_Int_IntExBD,4,2                ; @Int_IntExBD
l_.str.2:                               ; @.str.2
	.asciz	"Excessive Buffer Descriptors (%#x).\n"

	.comm	_Int_IntMacRx,4,2               ; @Int_IntMacRx
	.comm	_Int_IntMacTx,4,2               ; @Int_IntMacTx
	.no_dead_strip	_tc35815_do_interrupt
.subsections_via_symbols
