	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_interrupt
_tg3_interrupt:                         ## @tg3_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, %rbx
	movq	24(%rsi), %r12
	movq	32(%rsi), %r15
	movq	_SD_STATUS_UPDATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r12), %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_CHIP_RESETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_tg3_flag
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	_TG3PCI_PCISTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tr32
	movq	_PCISTATE_INT_NOT_ACTIVE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
LBB0_3:
	movq	_MAILBOX_INTERRUPT_0@GOTPCREL(%rip), %rax
	movq	_TG3_64BIT_REG_LOW@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	(%rax), %rdi
	movl	$1, %r14d
	movl	$1, %esi
	callq	_tw32_mailbox_f
	movq	%r15, %rdi
	callq	_tg3_irq_sync
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movq	%r13, %r15
	movq	_MAILBOX_INTERRUPT_0@GOTPCREL(%rip), %r13
	movq	_SD_STATUS_UPDATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r12)
	movq	%rbx, %rdi
	callq	_tg3_has_work
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%rbx), %rdi
	shlq	$2, %rdi
	addq	16(%rbx), %rdi
	callq	_prefetch
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_napi_schedule
	jmp	LBB0_7
LBB0_6:
	movq	(%r15), %rdi
	addq	(%r13), %rdi
	xorl	%esi, %esi
	callq	_tw32_mailbox_f
LBB0_7:
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IRQ_RETVAL                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SD_STATUS_UPDATED,4,2          ## @SD_STATUS_UPDATED
	.comm	_CHIP_RESETTING,4,2             ## @CHIP_RESETTING
	.comm	_TG3PCI_PCISTATE,4,2            ## @TG3PCI_PCISTATE
	.comm	_PCISTATE_INT_NOT_ACTIVE,4,2    ## @PCISTATE_INT_NOT_ACTIVE
	.comm	_MAILBOX_INTERRUPT_0,8,3        ## @MAILBOX_INTERRUPT_0
	.comm	_TG3_64BIT_REG_LOW,8,3          ## @TG3_64BIT_REG_LOW
	.no_dead_strip	_tg3_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_interrupt
_tg3_interrupt:                         ; @tg3_interrupt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	ldp	x22, x20, [x1, #24]
	ldr	w8, [x22]
Lloh0:
	adrp	x23, _SD_STATUS_UPDATED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SD_STATUS_UPDATED@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _CHIP_RESETTING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CHIP_RESETTING@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_tg3_flag
	cbnz	x0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _TG3PCI_PCISTATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TG3PCI_PCISTATE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_tr32
Lloh8:
	adrp	x8, _PCISTATE_INT_NOT_ACTIVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PCISTATE_INT_NOT_ACTIVE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
LBB0_3:
	mov	w21, #0
	b	LBB0_9
LBB0_4:
Lloh11:
	adrp	x24, _MAILBOX_INTERRUPT_0@GOTPAGE
Lloh12:
	ldr	x24, [x24, _MAILBOX_INTERRUPT_0@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh13:
	adrp	x25, _TG3_64BIT_REG_LOW@GOTPAGE
Lloh14:
	ldr	x25, [x25, _TG3_64BIT_REG_LOW@GOTPAGEOFF]
	ldr	x9, [x25]
	add	x0, x9, x8
	mov	w21, #1
	mov	w1, #1
	bl	_tw32_mailbox_f
	mov	x0, x20
	bl	_tg3_irq_sync
	cbnz	x0, LBB0_9
; %bb.5:
	ldr	w8, [x23]
	ldr	w9, [x22]
	bic	w8, w9, w8
	str	w8, [x22]
	mov	x0, x19
	bl	_tg3_has_work
	bl	_likely
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x19, #16]
	ldr	x9, [x19]
	add	x0, x8, x9, lsl #2
	bl	_prefetch
	add	x0, x19, #8
	bl	_napi_schedule
	b	LBB0_8
LBB0_7:
	ldr	x8, [x24]
	ldr	x9, [x25]
	add	x0, x9, x8
	mov	w1, #0
	bl	_tw32_mailbox_f
LBB0_8:
	mov	w21, #1
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_IRQ_RETVAL
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SD_STATUS_UPDATED,4,2          ; @SD_STATUS_UPDATED
	.comm	_CHIP_RESETTING,4,2             ; @CHIP_RESETTING
	.comm	_TG3PCI_PCISTATE,4,2            ; @TG3PCI_PCISTATE
	.comm	_PCISTATE_INT_NOT_ACTIVE,4,2    ; @PCISTATE_INT_NOT_ACTIVE
	.comm	_MAILBOX_INTERRUPT_0,8,3        ; @MAILBOX_INTERRUPT_0
	.comm	_TG3_64BIT_REG_LOW,8,3          ; @TG3_64BIT_REG_LOW
	.no_dead_strip	_tg3_interrupt
.subsections_via_symbols
