	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de600_interrupt
_de600_interrupt:                       ## @de600_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
	movq	%rsi, %r15
	movq	_de600_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	xorl	%eax, %eax
	callq	_select_nic
	movq	%r15, %rdi
	callq	_de600_read_status
	movl	%eax, %ebx
	xorl	%eax, %eax
	movq	_RX_GOOD@GOTPCREL(%rip), %r13
	movq	_TX_PAGES@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	%r15, %rdi
	callq	_de600_read_status
	movl	%eax, %ebx
	testl	%eax, (%r13)
	je	LBB0_9
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_debug
	testl	%ebx, (%r13)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%r15, %rdi
	callq	_de600_rx_intr
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	_RX_BUSY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_RX_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_de600_put_command
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	_free_tx_pages@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r12d, %r12d
	cmpq	(%r14), %rax
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_de600_tx_intr
	movl	%eax, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$98, %eax
	ja	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	incl	%eax
	testl	%r12d, %r12d
	jne	LBB0_1
LBB0_11:
	xorl	%eax, %eax
	callq	_select_prn
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	callq	_trigger_interrupt
LBB0_13:
	movq	_de600_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_de600_lock,4,2                 ## @de600_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"de600_interrupt (%02X)\n"

	.comm	_RX_GOOD,4,2                    ## @RX_GOOD
	.comm	_RX_BUSY,4,2                    ## @RX_BUSY
	.comm	_RX_ENABLE,4,2                  ## @RX_ENABLE
	.comm	_free_tx_pages,8,3              ## @free_tx_pages
	.comm	_TX_PAGES,8,3                   ## @TX_PAGES
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_de600_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de600_interrupt
_de600_interrupt:                       ; @de600_interrupt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x0, _de600_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _de600_lock@GOTPAGEOFF]
	bl	_spin_lock
	bl	_select_nic
	mov	x0, x19
	bl	_de600_read_status
	mov	x21, x0
	mov	w23, #0
Lloh2:
	adrp	x24, _RX_GOOD@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RX_GOOD@GOTPAGEOFF]
Lloh4:
	adrp	x25, _RX_BUSY@GOTPAGE
Lloh5:
	ldr	x25, [x25, _RX_BUSY@GOTPAGEOFF]
Lloh6:
	adrp	x26, _RX_ENABLE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _RX_ENABLE@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str@PAGE
Lloh9:
	add	x20, x20, l_.str@PAGEOFF
Lloh10:
	adrp	x27, _free_tx_pages@GOTPAGE
Lloh11:
	ldr	x27, [x27, _free_tx_pages@GOTPAGEOFF]
Lloh12:
	adrp	x28, _TX_PAGES@GOTPAGE
Lloh13:
	ldr	x28, [x28, _TX_PAGES@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_de600_tx_intr
	mov	x22, x0
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_de600_read_status
	mov	x21, x0
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_pr_debug
	ldr	w8, [x24]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_de600_rx_intr
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	tst	w8, w21
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x26]
	bl	_de600_put_command
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	ldr	x9, [x28]
	cmp	x8, x9
	b.lt	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #0
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, #98
	b.hi	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	cbnz	w22, LBB0_3
LBB0_11:
	bl	_select_prn
	cbz	w22, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_trigger_interrupt
LBB0_13:
Lloh14:
	adrp	x0, _de600_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _de600_lock@GOTPAGEOFF]
	bl	_spin_unlock
Lloh16:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_de600_lock,4,2                 ; @de600_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"de600_interrupt (%02X)\n"

	.comm	_RX_GOOD,4,2                    ; @RX_GOOD
	.comm	_RX_BUSY,4,2                    ; @RX_BUSY
	.comm	_RX_ENABLE,4,2                  ; @RX_ENABLE
	.comm	_free_tx_pages,8,3              ; @free_tx_pages
	.comm	_TX_PAGES,8,3                   ; @TX_PAGES
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_de600_interrupt
.subsections_via_symbols
