	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp100_interrupt
_hp100_interrupt:                       ## @hp100_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, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	4(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	xorl	%eax, %eax
	callq	_hp100_ints_off
	movq	_IRQ_STATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_hp100_inw
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %r13d
	movq	_HP100_RX_PDL_FILL_COMPL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.5:
	cmpl	$1, (%r15)
	jne	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	_hp100_rx_bm
	jmp	LBB0_8
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	jmp	LBB0_27
LBB0_3:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	jmp	LBB0_26
LBB0_7:
	movl	4(%r12), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_8:
	movq	_HP100_RX_PDL_FILL_COMPL@GOTPCREL(%rip), %rcx
LBB0_9:
	movq	_HP100_RX_PACKET@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_14
## %bb.10:
	cmpl	$1, (%r15)
	jne	LBB0_11
## %bb.12:
	testl	%r13d, (%rcx)
	jne	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	callq	_hp100_rx_bm
	jmp	LBB0_14
LBB0_11:
	movq	%r12, %rdi
	callq	_hp100_rx
LBB0_14:
	movl	(%rbx), %esi
	movl	%r13d, %edi
	callq	_hp100_outw
	movq	_HP100_TX_ERROR@GOTPCREL(%rip), %rax
	movq	_HP100_RX_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r13d, %ecx
	je	LBB0_17
## %bb.15:
	movq	%r12, %rdi
	callq	_hp100_update_stats
	cmpl	$1, (%r15)
	jne	LBB0_17
## %bb.16:
	movq	%r12, %rdi
	callq	_hp100_rxfill
	movq	%r12, %rdi
	callq	_hp100_clean_txring
LBB0_17:
	cmpl	$1, (%r15)
	jne	LBB0_22
## %bb.18:
	movq	_HP100_RX_PDA_ZERO@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_20
## %bb.19:
	movq	%r12, %rdi
	callq	_hp100_rxfill
	cmpl	$1, (%r15)
	jne	LBB0_22
LBB0_20:
	movq	_HP100_TX_COMPLETE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_22
## %bb.21:
	movq	%r12, %rdi
	callq	_hp100_clean_txring
LBB0_22:
	movq	_HP100_MISC_ERROR@GOTPCREL(%rip), %rax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
	testl	%r13d, (%rax)
	je	LBB0_26
## %bb.23:
	cmpl	$1, (%r15)
	jne	LBB0_25
## %bb.24:
	movq	%r12, %rdi
	callq	_hp100_clean_txring
	movq	%r12, %rdi
	callq	_hp100_rxfill
LBB0_25:
	movq	%r12, %rdi
	callq	_hp100_misc_interrupt
LBB0_26:
	movq	%r14, %rdi
	callq	_spin_unlock
	xorl	%eax, %eax
	callq	_hp100_ints_on
LBB0_27:
	movl	(%rbx), %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_STATUS,4,2                 ## @IRQ_STATUS
	.comm	_HP100_RX_PDL_FILL_COMPL,4,2    ## @HP100_RX_PDL_FILL_COMPL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hp100: %s: rx_pdl_fill_compl interrupt although not busmaster?\n"

	.comm	_HP100_RX_PACKET,4,2            ## @HP100_RX_PACKET
	.comm	_HP100_TX_ERROR,4,2             ## @HP100_TX_ERROR
	.comm	_HP100_RX_ERROR,4,2             ## @HP100_RX_ERROR
	.comm	_HP100_RX_PDA_ZERO,4,2          ## @HP100_RX_PDA_ZERO
	.comm	_HP100_TX_COMPLETE,4,2          ## @HP100_TX_COMPLETE
	.comm	_HP100_MISC_ERROR,4,2           ## @HP100_MISC_ERROR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_RX_PDL,4,2                     ## @RX_PDL
	.comm	_RX_PKT_CNT,4,2                 ## @RX_PKT_CNT
	.comm	_TRACE,4,2                      ## @TRACE
	.comm	_TX_PDL,4,2                     ## @TX_PDL
	.comm	_TX_PKT_CNT,4,2                 ## @TX_PKT_CNT
	.no_dead_strip	_hp100_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp100_interrupt
_hp100_interrupt:                       ; @hp100_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	x20, x1
	mov	x0, x1
	bl	_netdev_priv
	cbz	x20, LBB0_5
; %bb.1:
	mov	x21, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock
	bl	_hp100_ints_off
Lloh0:
	adrp	x23, _IRQ_STATUS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IRQ_STATUS@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_hp100_inw
	cbz	w0, LBB0_6
; %bb.2:
	mov	x22, x0
Lloh2:
	adrp	x24, _HP100_RX_PDL_FILL_COMPL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _HP100_RX_PDL_FILL_COMPL@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.3:
	ldr	w8, [x21]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_hp100_rx_bm
	b	LBB0_8
LBB0_5:
Lloh4:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh5:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_27
LBB0_6:
Lloh6:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_26
LBB0_7:
	ldr	w1, [x20, #4]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_8:
Lloh10:
	adrp	x8, _HP100_RX_PACKET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HP100_RX_PACKET@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_13
; %bb.9:
	ldr	w8, [x21]
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.10:
	ldr	w8, [x24]
	tst	w8, w22
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x20
	bl	_hp100_rx_bm
	b	LBB0_13
LBB0_12:
	mov	x0, x20
	bl	_hp100_rx
LBB0_13:
	ldr	w1, [x23]
	mov	x0, x22
	bl	_hp100_outw
Lloh13:
	adrp	x8, _HP100_TX_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HP100_TX_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _HP100_RX_ERROR@GOTPAGE
Lloh17:
	ldr	x9, [x9, _HP100_RX_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w22
	b.eq	LBB0_16
; %bb.14:
	mov	x0, x20
	bl	_hp100_update_stats
	ldr	w8, [x21]
	cmp	w8, #1
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x20
	bl	_hp100_rxfill
	mov	x0, x20
	bl	_hp100_clean_txring
LBB0_16:
	ldr	w8, [x21]
	cmp	w8, #1
	b.ne	LBB0_21
; %bb.17:
Lloh19:
	adrp	x8, _HP100_RX_PDA_ZERO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HP100_RX_PDA_ZERO@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_19
; %bb.18:
	mov	x0, x20
	bl	_hp100_rxfill
	ldr	w8, [x21]
	cmp	w8, #1
	b.ne	LBB0_21
LBB0_19:
Lloh22:
	adrp	x8, _HP100_TX_COMPLETE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HP100_TX_COMPLETE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_21
; %bb.20:
	mov	x0, x20
	bl	_hp100_clean_txring
LBB0_21:
Lloh25:
	adrp	x8, _HP100_MISC_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HP100_MISC_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_25
; %bb.22:
	ldr	w8, [x21]
	cmp	w8, #1
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x20
	bl	_hp100_clean_txring
	mov	x0, x20
	bl	_hp100_rxfill
LBB0_24:
	mov	x0, x20
	bl	_hp100_misc_interrupt
LBB0_25:
Lloh28:
	adrp	x20, _IRQ_HANDLED@GOTPAGE
Lloh29:
	ldr	x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_26:
	mov	x0, x19
	bl	_spin_unlock
	bl	_hp100_ints_on
LBB0_27:
	ldr	w0, [x20]
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_STATUS,4,2                 ; @IRQ_STATUS
	.comm	_HP100_RX_PDL_FILL_COMPL,4,2    ; @HP100_RX_PDL_FILL_COMPL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hp100: %s: rx_pdl_fill_compl interrupt although not busmaster?\n"

	.comm	_HP100_RX_PACKET,4,2            ; @HP100_RX_PACKET
	.comm	_HP100_TX_ERROR,4,2             ; @HP100_TX_ERROR
	.comm	_HP100_RX_ERROR,4,2             ; @HP100_RX_ERROR
	.comm	_HP100_RX_PDA_ZERO,4,2          ; @HP100_RX_PDA_ZERO
	.comm	_HP100_TX_COMPLETE,4,2          ; @HP100_TX_COMPLETE
	.comm	_HP100_MISC_ERROR,4,2           ; @HP100_MISC_ERROR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_RX_PDL,4,2                     ; @RX_PDL
	.comm	_RX_PKT_CNT,4,2                 ; @RX_PKT_CNT
	.comm	_TRACE,4,2                      ; @TRACE
	.comm	_TX_PDL,4,2                     ; @TX_PDL
	.comm	_TX_PKT_CNT,4,2                 ; @TX_PKT_CNT
	.no_dead_strip	_hp100_interrupt
.subsections_via_symbols
