	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gem_interrupt
_gem_interrupt:                         ## @gem_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	cmpl	$0, 24(%rax)
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %r14
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_napi_schedule_prep
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_GREG_STAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	callq	_readl
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_gem_disable_ints
	movq	%r14, %rdi
	callq	___napi_schedule
LBB0_5:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_6
LBB0_3:
	movq	%r14, %rdi
	callq	_napi_enable
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_IRQ_NONE@GOTPCREL(%rip), %r15
LBB0_6:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_GREG_STAT,8,3                  ## @GREG_STAT
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_gem_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gem_interrupt
_gem_interrupt:                         ; @gem_interrupt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x0, x1
	bl	_netdev_priv
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_spin_lock_irqsave
	add	x20, x19, #4
	mov	x0, x20
	bl	_napi_schedule_prep
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, _GREG_STAT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GREG_STAT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	cbz	x0, LBB0_7
; %bb.3:
	str	x0, [x19, #8]
	mov	x0, x19
	bl	_gem_disable_ints
	mov	x0, x20
	bl	___napi_schedule
LBB0_4:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_5:
Lloh3:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x20
	bl	_napi_enable
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh5:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_GREG_STAT,8,3                  ; @GREG_STAT
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_gem_interrupt
.subsections_via_symbols
