	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8169_interrupt
_rtl8169_interrupt:                     ## @rtl8169_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_rtl_get_events
	movl	%eax, %r14d
	cmpl	$0, 32(%rbx)
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	je	LBB0_14
## %bb.1:
	movzwl	%r14w, %ecx
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	je	LBB0_14
## %bb.2:
	testl	%r14d, (%rbx)
	je	LBB0_14
## %bb.3:
	movq	_SYSErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r14d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	24(%rbx), %edi
	callq	_rtl8169_pcierr_interrupt
	jmp	LBB0_13
LBB0_5:
	movq	_LinkChg@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_7
## %bb.6:
	movl	28(%rbx), %edi
	callq	_phy_mac_interrupt
LBB0_7:
	movq	_RxFIFOOver@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_8
## %bb.9:
	movq	8(%rbx), %rax
	movq	_RTL_GIGA_MAC_VER_11@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	jmp	LBB0_10
LBB0_8:
	xorl	%edi, %edi
LBB0_10:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	24(%rbx), %edi
	callq	_netif_stop_queue
	movq	_RTL_FLAG_TASK_RESET_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%rbx), %esi
	callq	_set_bit
LBB0_12:
	movq	%rbx, %rdi
	callq	_rtl_irq_disable
	leaq	16(%rbx), %rdi
	callq	_napi_schedule_irqoff
LBB0_13:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_rtl_ack_events
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_SYSErr,4,2                     ## @SYSErr
	.comm	_LinkChg,4,2                    ## @LinkChg
	.comm	_RxFIFOOver,4,2                 ## @RxFIFOOver
	.comm	_RTL_GIGA_MAC_VER_11,8,3        ## @RTL_GIGA_MAC_VER_11
	.comm	_RTL_FLAG_TASK_RESET_PENDING,4,2 ## @RTL_FLAG_TASK_RESET_PENDING
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_rtl8169_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8169_interrupt
_rtl8169_interrupt:                     ; @rtl8169_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	x19, x1
	mov	x0, x1
	bl	_rtl_get_events
	ldr	w8, [x19, #32]
	and	w9, w0, #0xffff
	cmp	w8, #0
	mov	w8, #65535
	ccmp	w9, w8, #4, ne
	b.eq	LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w8, [x19]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _SYSErr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYSErr@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x19, #24]
	bl	_rtl8169_pcierr_interrupt
	b	LBB0_11
LBB0_4:
Lloh3:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
Lloh5:
	adrp	x8, _LinkChg@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LinkChg@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	ldr	w0, [x19, #28]
	bl	_phy_mac_interrupt
LBB0_7:
Lloh8:
	adrp	x8, _RxFIFOOver@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RxFIFOOver@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_13
; %bb.8:
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _RTL_GIGA_MAC_VER_11@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RTL_GIGA_MAC_VER_11@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_10
LBB0_9:
	ldr	w0, [x19, #24]
	bl	_netif_stop_queue
Lloh14:
	adrp	x8, _RTL_FLAG_TASK_RESET_PENDING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RTL_FLAG_TASK_RESET_PENDING@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w1, [x19, #20]
	bl	_set_bit
LBB0_10:
	mov	x0, x19
	bl	_rtl_irq_disable
	add	x0, x19, #16
	bl	_napi_schedule_irqoff
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	bl	_rtl_ack_events
Lloh17:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	w0, #0
	bl	_unlikely
	cbnz	x0, LBB0_9
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_SYSErr,4,2                     ; @SYSErr
	.comm	_LinkChg,4,2                    ; @LinkChg
	.comm	_RxFIFOOver,4,2                 ; @RxFIFOOver
	.comm	_RTL_GIGA_MAC_VER_11,8,3        ; @RTL_GIGA_MAC_VER_11
	.comm	_RTL_FLAG_TASK_RESET_PENDING,4,2 ; @RTL_FLAG_TASK_RESET_PENDING
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_rtl8169_interrupt
.subsections_via_symbols
