	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function corkscrew_interrupt
_corkscrew_interrupt:                   ## @corkscrew_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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_max_interrupt_work@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movslq	(%r13), %rbx
	movq	_Timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%ebx, %edi
	callq	_inb
	movl	%eax, %r14d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leaq	8(%r15), %rdi
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	callq	_spin_lock
	movq	_EL3_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inw
	movl	%eax, %r12d
	movq	_corkscrew_debug@GOTPCREL(%rip), %r15
	cmpl	$5, (%r15)
	jl	LBB0_2
## %bb.1:
	movl	4(%r13), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_2:
	movl	%r12d, %eax
	notl	%eax
	testl	$57344, %eax                    ## imm = 0xE000
	movl	%r12d, %r14d
	je	LBB0_5
## %bb.3:
	movl	_corkscrew_interrupt.donedidthis(%rip), %eax
	leal	1(%rax), %ecx
	movl	%ecx, _corkscrew_interrupt.donedidthis(%rip)
	cmpl	$101, %eax
	jl	LBB0_5
## %bb.4:
	movl	%r14d, %r12d
	movl	4(%r13), %r14d
	movq	%r13, %rdi
	callq	_netif_running
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%r12d, %r14d
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_pr_err
	movl	8(%r13), %edi
	movq	%r13, %rsi
	callq	_free_irq
	movl	$-1, 8(%r13)
LBB0_5:
	leal	1(%rbx), %r12d
	leal	2(%rbx), %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	leal	3(%rbx), %eax
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	leal	4(%rbx), %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	leal	5(%rbx), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	leal	6(%rbx), %eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	leal	7(%rbx), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	leal	8(%rbx), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	leal	9(%rbx), %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	leal	10(%rbx), %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	leal	11(%rbx), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	leal	12(%rbx), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	leal	13(%rbx), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	leal	14(%rbx), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	leal	15(%rbx), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, -132(%rbp)               ## 4-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_36 Depth 2
	cmpl	$6, (%r15)
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	4(%r13), %esi
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_RxComplete@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_corkscrew_rx
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_TxAvailable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r14d, %edi
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$6, (%r15)
	jl	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_TxAvailable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_AckIntr@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	callq	_outw
	movq	%r13, %rdi
	callq	_netif_wake_queue
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_DownComplete@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_25
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r12d
	cmpl	%r12d, 4(%rax)
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=2
	incl	%r12d
	cmpl	4(%r14), %r12d
	movq	%r15, %rbx
	je	LBB0_22
LBB0_17:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r12d, %eax
	xorl	%edx, %edx
	movq	_TX_RING_SIZE@GOTPCREL(%rip), %rcx
	divl	(%rcx)
	movl	%edx, %r14d
	movq	_DownListPtr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rbx, %r15
	addq	%rbx, %rdi
	callq	_inl
	movq	%rax, %r13
	movslq	%r14d, %rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	(,%rbx,4), %rdi
	addq	40(%r14), %rdi
	callq	_isa_virt_to_bus
	cmpq	%rax, %r13
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	32(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=2
	callq	_dev_consume_skb_irq
	movq	32(%r14), %rax
	movq	$0, (%rax,%rbx,8)
	jmp	LBB0_21
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rbx
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%r12d, (%r14)
	movq	_DownComplete@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AckIntr@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	callq	_outw
	cmpq	$0, 24(%r14)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	subl	%r12d, %eax
	movq	_TX_RING_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	cmpl	%ecx, %eax
	ja	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, 24(%rax)
	movq	%r13, %rdi
	callq	_netif_wake_queue
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_UpComplete@GOTPCREL(%rip), %r15
	testl	%r14d, (%r15)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_boomerang_rx
	movl	(%r15), %edi
	movq	_AckIntr@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	callq	_outw
LBB0_27:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_RxEarly@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_AdapterFailure@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%ecx, %edx
	movq	_StatsFull@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %edx
	testl	%r14d, %edx
	je	LBB0_40
## %bb.28:                              ##   in Loop: Header=BB0_6 Depth=1
	testl	%r14d, %ecx
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_corkscrew_rx
	movq	_RxEarly@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AckIntr@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	callq	_outw
	movq	_StatsFull@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_30:                                ##   in Loop: Header=BB0_6 Depth=1
	testl	%r14d, %eax
	je	LBB0_38
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_corkscrew_debug@GOTPCREL(%rip), %rax
	cmpl	$5, (%rax)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jl	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	4(%r15), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_33:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_update_stats
	cmpl	$0, _corkscrew_interrupt.DoneDidThat(%rip)
	jne	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_EL3_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inw
	movq	_StatsFull@GOTPCREL(%rip), %rdi
	testl	%eax, (%rdi)
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_pr_notice
	xorl	%r14d, %r14d
	movl	-80(%rbp), %r15d                ## 4-byte Reload
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	leaq	L_.str.7(%rip), %r12
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %edi
	callq	_EL3WINDOW
	leaq	L_.str.6(%rip), %rdi
	movl	%r14d, %esi
	callq	_pr_notice
	movl	%ebx, %edi
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-132(%rbp), %edi                ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-128(%rbp), %edi                ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-124(%rbp), %edi                ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-120(%rbp), %edi                ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-116(%rbp), %edi                ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-112(%rbp), %edi                ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-108(%rbp), %edi                ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-104(%rbp), %edi                ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-100(%rbp), %edi                ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-96(%rbp), %edi                 ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-92(%rbp), %edi                 ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	%r15d, %edi
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	%r13d, %edi
	callq	_inb
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_cont
	incl	%r14d
	cmpl	$8, %r14d
	jne	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$7, %edi
	callq	_EL3WINDOW
	movq	_TxAvailable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SetIntrEnb@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_RxComplete@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_AdapterFailure@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_UpComplete@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_DownComplete@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_TxComplete@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	callq	_outw
	incl	_corkscrew_interrupt.DoneDidThat(%rip)
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_AdapterFailure@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_RxReset@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	callq	_outw
	movq	%r13, %rdi
	callq	_set_rx_mode
	movq	_RxEnable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	callq	_outw
	movq	_AdapterFailure@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AckIntr@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	callq	_outw
LBB0_40:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_41
## %bb.42:                              ##   in Loop: Header=BB0_6 Depth=1
	decl	%eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_IntReq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AckIntr@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_IntLatch@GOTPCREL(%rip), %r15
	orl	(%r15), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	callq	_outw
	movq	_EL3_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inw
	movl	%eax, %r14d
	movq	_RxComplete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r15), %eax
	testl	%r14d, %eax
	movq	_corkscrew_debug@GOTPCREL(%rip), %r15
	jne	LBB0_6
	jmp	LBB0_43
LBB0_41:
	movl	4(%r13), %esi
	movl	%r14d, %r12d
	movq	_SetStatusEnb@GOTPCREL(%rip), %r14
	movl	%r12d, %r15d
	notl	%r15d
	andl	$2046, %r15d                    ## imm = 0x7FE
	movl	(%r14), %ecx
	orl	%r15d, %ecx
	leaq	L_.str.9(%rip), %rdi
	movl	%r12d, %edx
	callq	_pr_err
	orl	(%r14), %r15d
	movl	%r12d, %r14d
	movq	_EL3_CMD@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	movl	%r15d, %edi
	movq	_corkscrew_debug@GOTPCREL(%rip), %r15
	callq	_outw
	movl	$2047, %edi                     ## imm = 0x7FF
	movq	_AckIntr@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	addq	(%r12), %rbx
	movq	%rbx, %rsi
	callq	_outw
LBB0_43:
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock
	cmpl	$5, (%r15)
	jl	LBB0_45
## %bb.44:
	movl	4(%r13), %esi
	leaq	L_.str.10(%rip), %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_45:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$104, %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	_Timer,4,2                      ## @Timer
	.comm	_EL3_STATUS,8,3                 ## @EL3_STATUS
	.comm	_corkscrew_debug,4,2            ## @corkscrew_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: interrupt, status %4.4x, timer %d.\n"

.zerofill __DATA,__bss,_corkscrew_interrupt.donedidthis,4,2 ## @corkscrew_interrupt.donedidthis
L_.str.1:                               ## @.str.1
	.asciz	"%s: Bogus interrupt, bailing. Status %4.4x, start=%d.\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: In interrupt loop, status %4.4x.\n"

	.comm	_RxComplete,4,2                 ## @RxComplete
	.comm	_TxAvailable,4,2                ## @TxAvailable
L_.str.3:                               ## @.str.3
	.asciz	"\tTX room bit was handled.\n"

	.comm	_AckIntr,4,2                    ## @AckIntr
	.comm	_EL3_CMD,8,3                    ## @EL3_CMD
	.comm	_DownComplete,4,2               ## @DownComplete
	.comm	_TX_RING_SIZE,4,2               ## @TX_RING_SIZE
	.comm	_DownListPtr,8,3                ## @DownListPtr
	.comm	_UpComplete,4,2                 ## @UpComplete
	.comm	_AdapterFailure,4,2             ## @AdapterFailure
	.comm	_RxEarly,4,2                    ## @RxEarly
	.comm	_StatsFull,4,2                  ## @StatsFull
.zerofill __DATA,__bss,_corkscrew_interrupt.DoneDidThat,4,2 ## @corkscrew_interrupt.DoneDidThat
L_.str.4:                               ## @.str.4
	.asciz	"%s: Updating stats.\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s: Updating stats failed, disabling stats as an interrupt source.\n"

L_.str.6:                               ## @.str.6
	.asciz	"Vortex window %d:"

L_.str.7:                               ## @.str.7
	.asciz	" %2.2x"

L_.str.8:                               ## @.str.8
	.asciz	"\n"

	.comm	_SetIntrEnb,4,2                 ## @SetIntrEnb
	.comm	_TxComplete,4,2                 ## @TxComplete
	.comm	_RxReset,4,2                    ## @RxReset
	.comm	_RxEnable,4,2                   ## @RxEnable
L_.str.9:                               ## @.str.9
	.asciz	"%s: Too much work in interrupt, status %4.4x. Disabling functions (%4.4x).\n"

	.comm	_SetStatusEnb,4,2               ## @SetStatusEnb
	.comm	_IntReq,4,2                     ## @IntReq
	.comm	_IntLatch,4,2                   ## @IntLatch
L_.str.10:                              ## @.str.10
	.asciz	"%s: exiting interrupt, status %4.4x.\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_DMADone,4,2                    ## @DMADone
	.comm	_Wn7_MasterStatus,8,3           ## @Wn7_MasterStatus
	.no_dead_strip	_corkscrew_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function corkscrew_interrupt
_corkscrew_interrupt:                   ; @corkscrew_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x28, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
Lloh0:
	adrp	x8, _max_interrupt_work@GOTPAGE
Lloh1:
	ldr	x8, [x8, _max_interrupt_work@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldrsw	x21, [x28]
Lloh3:
	adrp	x8, _Timer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Timer@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w0, w8, w21
	bl	_inb
	mov	x24, x0
	add	x0, x22, #8
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	bl	_spin_lock
Lloh6:
	adrp	x8, _EL3_STATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EL3_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x0, x8, x21
	bl	_inw
	mov	x23, x0
Lloh9:
	adrp	x8, _corkscrew_debug@GOTPAGE
Lloh10:
	ldr	x8, [x8, _corkscrew_debug@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, #5
	b.lt	LBB0_2
; %bb.1:
	ldr	w8, [x28, #4]
	mov	x9, x23
	stp	x9, x24, [sp, #8]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
LBB0_2:
	mvn	w8, w23
	tst	w8, #0xe000
	b.eq	LBB0_5
; %bb.3:
	adrp	x8, _corkscrew_interrupt.donedidthis@PAGE
	ldr	w9, [x8, _corkscrew_interrupt.donedidthis@PAGEOFF]
	add	w10, w9, #1
	str	w10, [x8, _corkscrew_interrupt.donedidthis@PAGEOFF]
	cmp	w9, #101
	b.lt	LBB0_5
; %bb.4:
	ldr	w24, [x28, #4]
	mov	x0, x28
	bl	_netif_running
	mov	x3, x0
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x24
	mov	x2, x23
	bl	_pr_err
	ldr	w0, [x28, #8]
	mov	x1, x28
	bl	_free_irq
	mov	w8, #-1
	str	w8, [x28, #8]
LBB0_5:
	add	w9, w21, #1
	add	w8, w21, #2
	stp	w8, w9, [sp, #44]               ; 8-byte Folded Spill
	add	w8, w21, #3
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	add	w9, w21, #4
	add	w8, w21, #5
	stp	w8, w9, [x29, #-88]             ; 8-byte Folded Spill
	add	w8, w21, #6
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
	add	w8, w21, #7
	str	w8, [sp, #96]                   ; 4-byte Folded Spill
	add	w24, w21, #8
	add	w19, w21, #9
	add	w9, w21, #10
	add	w26, w21, #11
	add	w8, w21, #12
	stp	w8, w9, [sp, #80]               ; 8-byte Folded Spill
	add	w9, w21, #13
	add	w8, w21, #14
	stp	w8, w9, [sp, #72]               ; 8-byte Folded Spill
Lloh16:
	adrp	x25, _AckIntr@GOTPAGE
Lloh17:
	ldr	x25, [x25, _AckIntr@GOTPAGEOFF]
	add	w8, w21, #15
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
Lloh18:
	adrp	x27, l_.str.7@PAGE
Lloh19:
	add	x27, x27, l_.str.7@PAGEOFF
	str	x28, [sp, #56]                  ; 8-byte Folded Spill
	stp	w19, w24, [sp, #88]             ; 8-byte Folded Spill
	str	w26, [sp, #52]                  ; 4-byte Folded Spill
	mov	w19, w26
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_37 Depth 2
                                        ;     Child Loop BB0_30 Depth 2
Lloh20:
	adrp	x8, _corkscrew_debug@GOTPAGE
Lloh21:
	ldr	x8, [x8, _corkscrew_debug@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w8, #6
	b.lt	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28, #4]
	stp	x8, x23, [sp]
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh25:
	adrp	x8, _RxComplete@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RxComplete@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x28
	bl	_corkscrew_rx
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh28:
	adrp	x8, _TxAvailable@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TxAvailable@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh31:
	adrp	x9, _corkscrew_debug@GOTPAGE
Lloh32:
	ldr	x9, [x9, _corkscrew_debug@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	cmp	w9, #6
	b.lt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_debug
Lloh36:
	adrp	x8, _TxAvailable@GOTPAGE
Lloh37:
	ldr	x8, [x8, _TxAvailable@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x25]
	orr	w0, w8, w9
Lloh39:
	adrp	x8, _EL3_CMD@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EL3_CMD@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	add	x1, x8, x21
	bl	_outw
	mov	x0, x28
	bl	_netif_wake_queue
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w20, [sp, #64]                  ; 4-byte Folded Spill
Lloh42:
	adrp	x8, _DownComplete@GOTPAGE
Lloh43:
	ldr	x8, [x8, _DownComplete@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldp	w24, w8, [x22]
	cmp	w8, w24
	b.ne	LBB0_37
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w24, [x22]
Lloh45:
	adrp	x25, _AckIntr@GOTPAGE
Lloh46:
	ldr	x25, [x25, _AckIntr@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh47:
	adrp	x9, _DownComplete@GOTPAGE
Lloh48:
	ldr	x9, [x9, _DownComplete@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh50:
	adrp	x8, _EL3_CMD@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EL3_CMD@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	add	x1, x8, x21
	bl	_outw
	ldr	x8, [x22, #24]
	ldr	x28, [sp, #56]                  ; 8-byte Folded Reload
	cbz	x8, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22, #4]
Lloh53:
	adrp	x9, _TX_RING_SIZE@GOTPAGE
Lloh54:
	ldr	x9, [x9, _TX_RING_SIZE@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	sub	w9, w9, #1
	sub	w8, w8, w24
	cmp	w8, w9
	b.hi	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x22, #24]
	mov	x0, x28
	bl	_netif_wake_queue
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh56:
	adrp	x24, _UpComplete@GOTPAGE
Lloh57:
	ldr	x24, [x24, _UpComplete@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w23
	b.eq	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x28
	bl	_boomerang_rx
	ldr	w8, [x25]
	ldr	w9, [x24]
	orr	w0, w9, w8
Lloh58:
	adrp	x8, _EL3_CMD@GOTPAGE
Lloh59:
	ldr	x8, [x8, _EL3_CMD@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	add	x1, x8, x21
	bl	_outw
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh61:
	adrp	x8, _AdapterFailure@GOTPAGE
Lloh62:
	ldr	x8, [x8, _AdapterFailure@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	adrp	x9, _RxEarly@GOTPAGE
Lloh65:
	ldr	x9, [x9, _RxEarly@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w10, w9, w8
Lloh67:
	adrp	x8, _StatsFull@GOTPAGE
Lloh68:
	ldr	x8, [x8, _StatsFull@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	orr	w10, w10, w8
	tst	w10, w23
	ldr	w20, [sp, #64]                  ; 4-byte Folded Reload
	b.eq	LBB0_34
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	tst	w9, w23
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x28
	bl	_corkscrew_rx
	ldr	w8, [x25]
Lloh70:
	adrp	x9, _RxEarly@GOTPAGE
Lloh71:
	ldr	x9, [x9, _RxEarly@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh73:
	adrp	x8, _EL3_CMD@GOTPAGE
Lloh74:
	ldr	x8, [x8, _EL3_CMD@GOTPAGEOFF]
Lloh75:
	ldr	x8, [x8]
	add	x1, x8, x21
	bl	_outw
Lloh76:
	adrp	x8, _StatsFull@GOTPAGE
Lloh77:
	ldr	x8, [x8, _StatsFull@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	tst	w8, w23
	b.eq	LBB0_32
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh79:
	adrp	x8, _corkscrew_debug@GOTPAGE
Lloh80:
	ldr	x8, [x8, _corkscrew_debug@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	cmp	w8, #5
	b.lt	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28, #4]
	str	x8, [sp]
Lloh82:
	adrp	x0, l_.str.4@PAGE
Lloh83:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_debug
LBB0_27:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x28
	bl	_update_stats
Lloh84:
	adrp	x8, _corkscrew_interrupt.DoneDidThat@PAGE
Lloh85:
	ldr	w8, [x8, _corkscrew_interrupt.DoneDidThat@PAGEOFF]
	cbnz	w8, LBB0_32
; %bb.28:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh86:
	adrp	x8, _EL3_STATUS@GOTPAGE
Lloh87:
	ldr	x8, [x8, _EL3_STATUS@GOTPAGEOFF]
Lloh88:
	ldr	x8, [x8]
	add	x0, x8, x21
	bl	_inw
Lloh89:
	adrp	x8, _StatsFull@GOTPAGE
Lloh90:
	ldr	x8, [x8, _StatsFull@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x28, #4]
Lloh92:
	adrp	x0, l_.str.5@PAGE
Lloh93:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_notice
	mov	w28, #0
	ldp	w26, w25, [sp, #44]             ; 8-byte Folded Reload
	ldr	w24, [sp, #40]                  ; 4-byte Folded Reload
LBB0_30:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x28
	bl	_EL3WINDOW
Lloh94:
	adrp	x0, l_.str.6@PAGE
Lloh95:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x28
	bl	_pr_notice
	mov	x0, x21
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	mov	x0, x25
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	mov	x0, x26
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	mov	x0, x24
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	ldur	w0, [x29, #-84]                 ; 4-byte Folded Reload
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	ldur	w0, [x29, #-88]                 ; 4-byte Folded Reload
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	ldur	w0, [x29, #-92]                 ; 4-byte Folded Reload
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	ldr	w0, [sp, #96]                   ; 4-byte Folded Reload
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	ldr	w0, [sp, #92]                   ; 4-byte Folded Reload
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	ldr	w0, [sp, #88]                   ; 4-byte Folded Reload
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	ldr	w0, [sp, #84]                   ; 4-byte Folded Reload
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	mov	x0, x19
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	ldr	w0, [sp, #80]                   ; 4-byte Folded Reload
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	ldr	w0, [sp, #76]                   ; 4-byte Folded Reload
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	ldr	w0, [sp, #72]                   ; 4-byte Folded Reload
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
	ldr	w0, [sp, #68]                   ; 4-byte Folded Reload
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	bl	_pr_cont
Lloh96:
	adrp	x0, l_.str.8@PAGE
Lloh97:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_pr_cont
	add	w28, w28, #1
	cmp	w28, #8
	b.ne	LBB0_30
; %bb.31:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #7
	bl	_EL3WINDOW
Lloh98:
	adrp	x8, _SetIntrEnb@GOTPAGE
Lloh99:
	ldr	x8, [x8, _SetIntrEnb@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
Lloh101:
	adrp	x9, _TxAvailable@GOTPAGE
Lloh102:
	ldr	x9, [x9, _TxAvailable@GOTPAGEOFF]
Lloh103:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh104:
	adrp	x9, _RxComplete@GOTPAGE
Lloh105:
	ldr	x9, [x9, _RxComplete@GOTPAGEOFF]
Lloh106:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh107:
	adrp	x9, _AdapterFailure@GOTPAGE
Lloh108:
	ldr	x9, [x9, _AdapterFailure@GOTPAGEOFF]
Lloh109:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh110:
	adrp	x9, _UpComplete@GOTPAGE
Lloh111:
	ldr	x9, [x9, _UpComplete@GOTPAGEOFF]
Lloh112:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh113:
	adrp	x9, _DownComplete@GOTPAGE
Lloh114:
	ldr	x9, [x9, _DownComplete@GOTPAGEOFF]
Lloh115:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh116:
	adrp	x9, _TxComplete@GOTPAGE
Lloh117:
	ldr	x9, [x9, _TxComplete@GOTPAGEOFF]
Lloh118:
	ldr	w9, [x9]
	orr	w0, w8, w9
Lloh119:
	adrp	x8, _EL3_CMD@GOTPAGE
Lloh120:
	ldr	x8, [x8, _EL3_CMD@GOTPAGEOFF]
Lloh121:
	ldr	x8, [x8]
	add	x1, x8, x21
	bl	_outw
	adrp	x9, _corkscrew_interrupt.DoneDidThat@PAGE
	ldr	w8, [x9, _corkscrew_interrupt.DoneDidThat@PAGEOFF]
	add	w8, w8, #1
	str	w8, [x9, _corkscrew_interrupt.DoneDidThat@PAGEOFF]
	ldr	x28, [sp, #56]                  ; 8-byte Folded Reload
LBB0_32:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh122:
	adrp	x8, _AdapterFailure@GOTPAGE
Lloh123:
	ldr	x8, [x8, _AdapterFailure@GOTPAGEOFF]
Lloh124:
	ldr	w8, [x8]
	tst	w8, w23
Lloh125:
	adrp	x25, _AckIntr@GOTPAGE
Lloh126:
	ldr	x25, [x25, _AckIntr@GOTPAGEOFF]
	b.eq	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh127:
	adrp	x8, _RxReset@GOTPAGE
Lloh128:
	ldr	x8, [x8, _RxReset@GOTPAGEOFF]
Lloh129:
	ldr	w0, [x8]
Lloh130:
	adrp	x26, _EL3_CMD@GOTPAGE
Lloh131:
	ldr	x26, [x26, _EL3_CMD@GOTPAGEOFF]
	ldr	x8, [x26]
	add	x1, x8, x21
	bl	_outw
	mov	x0, x28
	bl	_set_rx_mode
Lloh132:
	adrp	x8, _RxEnable@GOTPAGE
Lloh133:
	ldr	x8, [x8, _RxEnable@GOTPAGEOFF]
Lloh134:
	ldr	w0, [x8]
	ldr	x8, [x26]
	add	x1, x8, x21
	bl	_outw
	ldr	w8, [x25]
Lloh135:
	adrp	x9, _AdapterFailure@GOTPAGE
Lloh136:
	ldr	x9, [x9, _AdapterFailure@GOTPAGEOFF]
Lloh137:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x26]
	add	x1, x8, x21
	bl	_outw
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w20, #0
	b.le	LBB0_40
; %bb.35:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	w20, w20, #1
	ldr	w8, [x25]
Lloh138:
	adrp	x9, _IntReq@GOTPAGE
Lloh139:
	ldr	x9, [x9, _IntReq@GOTPAGEOFF]
Lloh140:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh141:
	adrp	x26, _IntLatch@GOTPAGE
Lloh142:
	ldr	x26, [x26, _IntLatch@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w0, w8, w9
Lloh143:
	adrp	x8, _EL3_CMD@GOTPAGE
Lloh144:
	ldr	x8, [x8, _EL3_CMD@GOTPAGEOFF]
Lloh145:
	ldr	x8, [x8]
	add	x1, x8, x21
	bl	_outw
Lloh146:
	adrp	x8, _EL3_STATUS@GOTPAGE
Lloh147:
	ldr	x8, [x8, _EL3_STATUS@GOTPAGEOFF]
Lloh148:
	ldr	x8, [x8]
	add	x0, x8, x21
	bl	_inw
	mov	x23, x0
	ldr	w8, [x26]
Lloh149:
	adrp	x9, _RxComplete@GOTPAGE
Lloh150:
	ldr	x9, [x9, _RxComplete@GOTPAGEOFF]
Lloh151:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	b.ne	LBB0_6
	b	LBB0_41
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=2
	add	w24, w24, #1
	ldr	w8, [x22, #4]
	cmp	w24, w8
	b.eq	LBB0_16
LBB0_37:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
Lloh152:
	adrp	x8, _TX_RING_SIZE@GOTPAGE
Lloh153:
	ldr	x8, [x8, _TX_RING_SIZE@GOTPAGEOFF]
Lloh154:
	ldr	w8, [x8]
	udiv	w9, w24, w8
	msub	w25, w9, w8, w24
Lloh155:
	adrp	x8, _DownListPtr@GOTPAGE
Lloh156:
	ldr	x8, [x8, _DownListPtr@GOTPAGEOFF]
Lloh157:
	ldr	x8, [x8]
	add	x0, x8, x21
	bl	_inl
	mov	x28, x0
	ldr	x8, [x22, #40]
	add	x0, x8, w25, sxtw #2
	bl	_isa_virt_to_bus
	cmp	x28, x0
	b.eq	LBB0_16
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	sxtw	x25, w25
	ldr	x8, [x22, #32]
	ldr	x0, [x8, x25, lsl #3]
	cbz	x0, LBB0_36
; %bb.39:                               ;   in Loop: Header=BB0_37 Depth=2
	bl	_dev_consume_skb_irq
	ldr	x8, [x22, #32]
	str	xzr, [x8, x25, lsl #3]
	b	LBB0_36
LBB0_40:
	ldr	w1, [x28, #4]
Lloh158:
	adrp	x20, _SetStatusEnb@GOTPAGE
Lloh159:
	ldr	x20, [x20, _SetStatusEnb@GOTPAGEOFF]
	ldr	w8, [x20]
	mvn	w9, w23
	and	w22, w9, #0x7fe
	orr	w3, w8, w22
Lloh160:
	adrp	x0, l_.str.9@PAGE
Lloh161:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x2, x23
	bl	_pr_err
	ldr	w8, [x20]
	orr	w0, w8, w22
Lloh162:
	adrp	x19, _EL3_CMD@GOTPAGE
Lloh163:
	ldr	x19, [x19, _EL3_CMD@GOTPAGEOFF]
	ldr	x8, [x19]
	add	x1, x8, x21
	bl	_outw
	ldr	w8, [x25]
	orr	w0, w8, #0x7ff
	ldr	x8, [x19]
	add	x1, x8, x21
	bl	_outw
LBB0_41:
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_spin_unlock
Lloh164:
	adrp	x8, _corkscrew_debug@GOTPAGE
Lloh165:
	ldr	x8, [x8, _corkscrew_debug@GOTPAGEOFF]
Lloh166:
	ldr	w8, [x8]
	cmp	w8, #5
	b.lt	LBB0_43
; %bb.42:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	ldr	w8, [x28, #4]
	stp	x8, x23, [sp]
Lloh167:
	adrp	x0, l_.str.10@PAGE
Lloh168:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_pr_debug
LBB0_43:
Lloh169:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh170:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh171:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdr	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGot	Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh146, Lloh147, Lloh148
	.loh AdrpLdrGotLdr	Lloh143, Lloh144, Lloh145
	.loh AdrpLdrGot	Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.loh AdrpLdrGot	Lloh162, Lloh163
	.loh AdrpAdd	Lloh160, Lloh161
	.loh AdrpLdrGot	Lloh158, Lloh159
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpAdd	Lloh167, Lloh168
	.loh AdrpLdrGotLdr	Lloh169, Lloh170, Lloh171
	.cfi_endproc
                                        ; -- End function
	.comm	_max_interrupt_work,4,2         ; @max_interrupt_work
	.comm	_Timer,4,2                      ; @Timer
	.comm	_EL3_STATUS,8,3                 ; @EL3_STATUS
	.comm	_corkscrew_debug,4,2            ; @corkscrew_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: interrupt, status %4.4x, timer %d.\n"

.zerofill __DATA,__bss,_corkscrew_interrupt.donedidthis,4,2 ; @corkscrew_interrupt.donedidthis
l_.str.1:                               ; @.str.1
	.asciz	"%s: Bogus interrupt, bailing. Status %4.4x, start=%d.\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: In interrupt loop, status %4.4x.\n"

	.comm	_RxComplete,4,2                 ; @RxComplete
	.comm	_TxAvailable,4,2                ; @TxAvailable
l_.str.3:                               ; @.str.3
	.asciz	"\tTX room bit was handled.\n"

	.comm	_AckIntr,4,2                    ; @AckIntr
	.comm	_EL3_CMD,8,3                    ; @EL3_CMD
	.comm	_DownComplete,4,2               ; @DownComplete
	.comm	_TX_RING_SIZE,4,2               ; @TX_RING_SIZE
	.comm	_DownListPtr,8,3                ; @DownListPtr
	.comm	_UpComplete,4,2                 ; @UpComplete
	.comm	_AdapterFailure,4,2             ; @AdapterFailure
	.comm	_RxEarly,4,2                    ; @RxEarly
	.comm	_StatsFull,4,2                  ; @StatsFull
.zerofill __DATA,__bss,_corkscrew_interrupt.DoneDidThat,4,2 ; @corkscrew_interrupt.DoneDidThat
l_.str.4:                               ; @.str.4
	.asciz	"%s: Updating stats.\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s: Updating stats failed, disabling stats as an interrupt source.\n"

l_.str.6:                               ; @.str.6
	.asciz	"Vortex window %d:"

l_.str.7:                               ; @.str.7
	.asciz	" %2.2x"

l_.str.8:                               ; @.str.8
	.asciz	"\n"

	.comm	_SetIntrEnb,4,2                 ; @SetIntrEnb
	.comm	_TxComplete,4,2                 ; @TxComplete
	.comm	_RxReset,4,2                    ; @RxReset
	.comm	_RxEnable,4,2                   ; @RxEnable
l_.str.9:                               ; @.str.9
	.asciz	"%s: Too much work in interrupt, status %4.4x. Disabling functions (%4.4x).\n"

	.comm	_SetStatusEnb,4,2               ; @SetStatusEnb
	.comm	_IntReq,4,2                     ; @IntReq
	.comm	_IntLatch,4,2                   ; @IntLatch
l_.str.10:                              ; @.str.10
	.asciz	"%s: exiting interrupt, status %4.4x.\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_DMADone,4,2                    ; @DMADone
	.comm	_Wn7_MasterStatus,8,3           ; @Wn7_MasterStatus
	.no_dead_strip	_corkscrew_interrupt
.subsections_via_symbols
