	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_test_isr
_tg3_test_isr:                          ## @tg3_test_isr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rsi), %rax
	movq	8(%rsi), %rbx
	movq	_SD_STATUS_UPDATED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_TG3PCI_PCISTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tr32
	movq	_PCISTATE_INT_NOT_ACTIVE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	testl	%eax, (%rcx)
	jne	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_tg3_disable_ints
	movl	$1, %edi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_IRQ_RETVAL                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SD_STATUS_UPDATED,4,2          ## @SD_STATUS_UPDATED
	.comm	_TG3PCI_PCISTATE,4,2            ## @TG3PCI_PCISTATE
	.comm	_PCISTATE_INT_NOT_ACTIVE,4,2    ## @PCISTATE_INT_NOT_ACTIVE
	.no_dead_strip	_tg3_test_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_test_isr
_tg3_test_isr:                          ; @tg3_test_isr
	.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
	ldp	x8, x19, [x1]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _SD_STATUS_UPDATED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SD_STATUS_UPDATED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
	mov	x0, x19
	bl	_tg3_disable_ints
	mov	w0, #1
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _TG3PCI_PCISTATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TG3PCI_PCISTATE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_tr32
Lloh6:
	adrp	x8, _PCISTATE_INT_NOT_ACTIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCISTATE_INT_NOT_ACTIVE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_1
; %bb.3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IRQ_RETVAL
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SD_STATUS_UPDATED,4,2          ; @SD_STATUS_UPDATED
	.comm	_TG3PCI_PCISTATE,4,2            ; @TG3PCI_PCISTATE
	.comm	_PCISTATE_INT_NOT_ACTIVE,4,2    ; @PCISTATE_INT_NOT_ACTIVE
	.no_dead_strip	_tg3_test_isr
.subsections_via_symbols
