	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hip04_mac_interrupt
_hip04_mac_interrupt:                   ## @hip04_mac_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	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_PPE_INTSTS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%r14), %rdi
	callq	_readl_relaxed
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	_DEF_INT_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_PPE_RINT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r14), %rsi
	callq	_writel_relaxed
	movq	_DEF_INT_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_RCV_NOBUF@GOTPCREL(%rip), %rax
	movq	_RCV_DROP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_5
## %bb.4:
	incl	8(%r15)
	incl	4(%r15)
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_err
LBB0_5:
	movq	_TX_DROP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:
	incl	(%r15)
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_err
LBB0_7:
	movq	_RCV_INT@GOTPCREL(%rip), %r13
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	testl	%ebx, (%r13)
	je	LBB0_10
## %bb.8:
	leaq	4(%r14), %rbx
	movq	%rbx, %rdi
	callq	_napi_schedule_prep
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, (%r14)
	movl	(%r13), %edi
	notl	%edi
	andl	(%r12), %edi
	movq	_PPE_INTEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r14), %rsi
	callq	_writel_relaxed
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_hrtimer_cancel
	movq	%rbx, %rdi
	callq	___napi_schedule
	jmp	LBB0_10
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r15
LBB0_10:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPE_INTSTS,8,3                 ## @PPE_INTSTS
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_DEF_INT_MASK,4,2               ## @DEF_INT_MASK
	.comm	_PPE_RINT,8,3                   ## @PPE_RINT
	.comm	_DEF_INT_ERR,4,2                ## @DEF_INT_ERR
	.comm	_RCV_NOBUF,4,2                  ## @RCV_NOBUF
	.comm	_RCV_DROP,4,2                   ## @RCV_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx drop\n"

	.comm	_TX_DROP,4,2                    ## @TX_DROP
L_.str.1:                               ## @.str.1
	.asciz	"tx drop\n"

	.comm	_RCV_INT,4,2                    ## @RCV_INT
	.comm	_PPE_INTEN,8,3                  ## @PPE_INTEN
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_hip04_mac_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hip04_mac_interrupt
_hip04_mac_interrupt:                   ; @hip04_mac_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
	mov	x19, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _PPE_INTSTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PPE_INTSTS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	cbz	w0, LBB0_10
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x22, _DEF_INT_MASK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DEF_INT_MASK@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	x8, [x19, #16]
Lloh5:
	adrp	x9, _PPE_RINT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PPE_RINT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh8:
	adrp	x8, _DEF_INT_ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DEF_INT_ERR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	and	w0, w8, w21
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.2:
Lloh11:
	adrp	x8, _RCV_NOBUF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RCV_NOBUF@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _RCV_DROP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RCV_DROP@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldur	d0, [x20, #4]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x20, #4]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
LBB0_4:
Lloh19:
	adrp	x8, _TX_DROP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TX_DROP@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
LBB0_6:
Lloh24:
	adrp	x23, _RCV_INT@GOTPAGE
Lloh25:
	ldr	x23, [x23, _RCV_INT@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w21
	b.eq	LBB0_9
; %bb.7:
	add	x20, x19, #4
	mov	x0, x20
	bl	_napi_schedule_prep
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [x23]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	ldr	w8, [x22]
	ldr	w9, [x23]
	bic	w0, w8, w9
	ldr	x8, [x19, #16]
Lloh26:
	adrp	x9, _PPE_INTEN@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PPE_INTEN@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	add	x0, x19, #8
	bl	_hrtimer_cancel
	mov	x0, x20
	bl	___napi_schedule
LBB0_9:
Lloh29:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh31:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_PPE_INTSTS,8,3                 ; @PPE_INTSTS
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_DEF_INT_MASK,4,2               ; @DEF_INT_MASK
	.comm	_PPE_RINT,8,3                   ; @PPE_RINT
	.comm	_DEF_INT_ERR,4,2                ; @DEF_INT_ERR
	.comm	_RCV_NOBUF,4,2                  ; @RCV_NOBUF
	.comm	_RCV_DROP,4,2                   ; @RCV_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx drop\n"

	.comm	_TX_DROP,4,2                    ; @TX_DROP
l_.str.1:                               ; @.str.1
	.asciz	"tx drop\n"

	.comm	_RCV_INT,4,2                    ; @RCV_INT
	.comm	_PPE_INTEN,8,3                  ; @PPE_INTEN
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_hip04_mac_interrupt
.subsections_via_symbols
