	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcnet32_interrupt
_pcnet32_interrupt:                     ## @pcnet32_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdi
	movq	_max_interrupt_work@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%rsi), %r14
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_spin_lock
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rax
	movq	_CSR0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	*(%rax)
	testl	$36608, %eax                    ## imm = 0x8F00
	je	LBB0_13
## %bb.1:
	movl	%eax, %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$16, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	jle	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$65535, %r13d                   ## imm = 0xFFFF
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	movq	_CSR0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%r13d, %edx
	andl	$-80, %edx
	movq	%r15, %rdi
	callq	*8(%rax)
	movq	_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rbx), %rax
	movq	_CSR0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	callq	*(%rax)
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	leaq	L_.str(%rip), %r8
	movl	%r13d, %r9d
	xorl	%eax, %eax
	callq	_netif_printk
	testl	$16384, %r13d                   ## imm = 0x4000
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	12(%r14)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	$4096, %r13d                    ## imm = 0x1000
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	8(%r14)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	$2048, %r13d                    ## imm = 0x800
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	leaq	L_.str.1(%rip), %rcx
	movl	%r13d, %r8d
	callq	_netif_err
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_napi_schedule_prep
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	(%rcx), %rcx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_CSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	*%rcx
	movl	%eax, %r13d
	decl	%ebx
	testl	$36608, %eax                    ## imm = 0x8F00
	jne	LBB0_2
	jmp	LBB0_13
LBB0_11:
	movq	_CSR3@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	*%rcx
	orl	$24320, %eax                    ## imm = 0x5F00
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	*8(%rcx)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	___napi_schedule
LBB0_13:
	movq	_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	movq	_CSR0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	*(%rax)
	leaq	L_.str.2(%rip), %r8
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_netif_printk
	movq	%rbx, %rdi
	callq	_spin_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_max_interrupt_work,4,2         ## @max_interrupt_work
	.comm	_CSR0,4,2                       ## @CSR0
	.comm	_intr,4,2                       ## @intr
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"interrupt  csr0=%#2.2x new csr=%#2.2x\n"

	.comm	_drv,4,2                        ## @drv
L_.str.1:                               ## @.str.1
	.asciz	"Bus master arbitration failure, status %4.4x\n"

	.comm	_CSR3,4,2                       ## @CSR3
L_.str.2:                               ## @.str.2
	.asciz	"exiting interrupt, csr0=%#4.4x\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_pcnet32_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcnet32_interrupt
_pcnet32_interrupt:                     ; @pcnet32_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
Lloh0:
	adrp	x8, _max_interrupt_work@GOTPAGE
Lloh1:
	ldr	x8, [x8, _max_interrupt_work@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	ldr	x21, [x1]
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	bl	_spin_lock
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh3:
	adrp	x28, _CSR0@GOTPAGE
Lloh4:
	ldr	x28, [x28, _CSR0@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x21
	blr	x8
	mov	w23, #36608
	tst	w0, w23
	b.eq	LBB0_13
; %bb.1:
	mov	x25, x0
	add	x22, x20, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	subs	w24, w24, #1
	b.lt	LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #65535
	cmp	w25, w8
	b.eq	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	ldr	w1, [x28]
	mov	w9, #-80
	and	w2, w25, w9
	mov	x0, x21
	blr	x8
Lloh5:
	adrp	x8, _intr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _intr@GOTPAGEOFF]
Lloh7:
	ldr	w26, [x8]
Lloh8:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w27, [x8]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w1, [x28]
	mov	x0, x21
	blr	x8
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x20
	mov	x1, x26
	mov	x2, x27
	mov	x3, x19
Lloh11:
	adrp	x4, l_.str@PAGE
Lloh12:
	add	x4, x4, l_.str@PAGEOFF
	mov	x5, x25
	bl	_netif_printk
	tbnz	w25, #14, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	tbnz	w25, #12, LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	tbz	w25, #11, LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh13:
	adrp	x8, _drv@GOTPAGE
Lloh14:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
Lloh16:
	adrp	x3, l_.str.1@PAGE
Lloh17:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x4, x25
	bl	_netif_err
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_napi_schedule_prep
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbnz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x28]
	mov	x0, x21
	blr	x8
	mov	x25, x0
	and	w8, w0, w23
	cbnz	w8, LBB0_2
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	tbz	w25, #12, LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	tbnz	w25, #11, LBB0_7
	b	LBB0_8
LBB0_12:
Lloh18:
	adrp	x23, _CSR3@GOTPAGE
Lloh19:
	ldr	x23, [x23, _CSR3@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x21
	blr	x8
	mov	w8, #24320
	orr	w2, w0, w8
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	ldr	w1, [x23]
	mov	x0, x21
	blr	x8
	mov	x0, x22
	bl	___napi_schedule
LBB0_13:
Lloh20:
	adrp	x8, _intr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _intr@GOTPAGEOFF]
Lloh22:
	ldr	w22, [x8]
Lloh23:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh25:
	ldr	w23, [x8]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w1, [x28]
	mov	x0, x21
	blr	x8
	mov	x5, x0
Lloh26:
	adrp	x4, l_.str.2@PAGE
Lloh27:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x19
	bl	_netif_printk
	mov	x0, x20
	bl	_spin_unlock
Lloh28:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_max_interrupt_work,4,2         ; @max_interrupt_work
	.comm	_CSR0,4,2                       ; @CSR0
	.comm	_intr,4,2                       ; @intr
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"interrupt  csr0=%#2.2x new csr=%#2.2x\n"

	.comm	_drv,4,2                        ; @drv
l_.str.1:                               ; @.str.1
	.asciz	"Bus master arbitration failure, status %4.4x\n"

	.comm	_CSR3,4,2                       ; @CSR3
l_.str.2:                               ; @.str.2
	.asciz	"exiting interrupt, csr0=%#4.4x\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_pcnet32_interrupt
.subsections_via_symbols
