	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sky2_hw_intr
_sky2_hw_intr:                          ## @sky2_hw_intr
	.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	%rdi, %r14
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_B0_HWE_ISRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_sky2_read32
	movl	%eax, %ebx
	movq	_B0_HWE_IMSK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_sky2_read32
	movl	%eax, %r12d
	andl	%ebx, %r12d
	movq	_Y2_IS_TIST_OV@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_GMAC_TI_ST_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GMT_ST_CLR_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_sky2_write8
LBB0_2:
	movq	_Y2_IS_MST_ERR@GOTPCREL(%rip), %rax
	movq	_Y2_IS_IRQ_STAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r12d, %ecx
	je	LBB0_6
## %bb.3:
	movq	_B2_TST_CTRL1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_TST_CFG_WRITE_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_sky2_write8
	movq	_PCI_STATUS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_sky2_pci_read16
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_dev_err
LBB0_5:
	movl	(%r15), %esi
	movq	_PCI_STATUS_ERROR_BITS@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_sky2_pci_write16
	movl	(%r13), %esi
	movq	_TST_CFG_WRITE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_sky2_write8
LBB0_6:
	movq	_Y2_IS_PCI_EXP@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_10
## %bb.7:
	movq	_B2_TST_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TST_CFG_WRITE_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_sky2_write8
	movq	_Y2_CFG_AER@GOTPCREL(%rip), %r15
	movq	_PCI_ERR_UNCOR_STATUS@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	addq	(%r15), %rsi
	movq	%r14, %rdi
	callq	_sky2_read32
	movl	%eax, %ebx
	movq	(%r13), %rsi
	addq	(%r15), %rsi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_sky2_write32
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_dev_err
LBB0_9:
	movq	(%r13), %rsi
	addq	(%r15), %rsi
	movq	%r14, %rdi
	callq	_sky2_read32
	movq	_B2_TST_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TST_CFG_WRITE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_sky2_write8
LBB0_10:
	movq	_Y2_HWE_L1_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%r12d, %eax
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_sky2_hw_error
	movl	(%rbx), %eax
LBB0_12:
	sarl	$8, %r12d
	testl	%r12d, %eax
	je	LBB0_13
## %bb.14:
	movq	%r14, %rdi
	movl	$1, %esi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sky2_hw_error                  ## TAILCALL
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B0_HWE_ISRC,8,3                ## @B0_HWE_ISRC
	.comm	_B0_HWE_IMSK,8,3                ## @B0_HWE_IMSK
	.comm	_Y2_IS_TIST_OV,4,2              ## @Y2_IS_TIST_OV
	.comm	_GMAC_TI_ST_CTRL,4,2            ## @GMAC_TI_ST_CTRL
	.comm	_GMT_ST_CLR_IRQ,4,2             ## @GMT_ST_CLR_IRQ
	.comm	_Y2_IS_MST_ERR,4,2              ## @Y2_IS_MST_ERR
	.comm	_Y2_IS_IRQ_STAT,4,2             ## @Y2_IS_IRQ_STAT
	.comm	_B2_TST_CTRL1,4,2               ## @B2_TST_CTRL1
	.comm	_TST_CFG_WRITE_ON,4,2           ## @TST_CFG_WRITE_ON
	.comm	_PCI_STATUS,4,2                 ## @PCI_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCI hardware error (0x%x)\n"

	.comm	_PCI_STATUS_ERROR_BITS,4,2      ## @PCI_STATUS_ERROR_BITS
	.comm	_TST_CFG_WRITE_OFF,4,2          ## @TST_CFG_WRITE_OFF
	.comm	_Y2_IS_PCI_EXP,4,2              ## @Y2_IS_PCI_EXP
	.comm	_Y2_CFG_AER,8,3                 ## @Y2_CFG_AER
	.comm	_PCI_ERR_UNCOR_STATUS,8,3       ## @PCI_ERR_UNCOR_STATUS
L_.str.1:                               ## @.str.1
	.asciz	"PCI Express error (0x%x)\n"

	.comm	_Y2_HWE_L1_MASK,4,2             ## @Y2_HWE_L1_MASK
	.no_dead_strip	_sky2_hw_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sky2_hw_intr
_sky2_hw_intr:                          ; @sky2_hw_intr
	.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, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _B0_HWE_ISRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B0_HWE_ISRC@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	bl	_sky2_read32
	mov	x20, x0
Lloh3:
	adrp	x8, _B0_HWE_IMSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B0_HWE_IMSK@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_sky2_read32
	and	w20, w0, w20
Lloh6:
	adrp	x8, _Y2_IS_TIST_OV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Y2_IS_TIST_OV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w20, w8
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _GMAC_TI_ST_CTRL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GMAC_TI_ST_CTRL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _GMT_ST_CLR_IRQ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GMT_ST_CLR_IRQ@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_sky2_write8
LBB0_2:
Lloh15:
	adrp	x8, _Y2_IS_MST_ERR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _Y2_IS_MST_ERR@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _Y2_IS_IRQ_STAT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _Y2_IS_IRQ_STAT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x23, _B2_TST_CTRL1@GOTPAGE
Lloh22:
	ldr	x23, [x23, _B2_TST_CTRL1@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh23:
	adrp	x25, _TST_CFG_WRITE_ON@GOTPAGE
Lloh24:
	ldr	x25, [x25, _TST_CFG_WRITE_ON@GOTPAGEOFF]
Lloh25:
	adrp	x24, _TST_CFG_WRITE_OFF@GOTPAGE
Lloh26:
	ldr	x24, [x24, _TST_CFG_WRITE_OFF@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.3:
	ldr	w1, [x23]
	ldr	w2, [x25]
	mov	x0, x19
	bl	_sky2_write8
Lloh27:
	adrp	x26, _PCI_STATUS@GOTPAGE
Lloh28:
	ldr	x26, [x26, _PCI_STATUS@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_sky2_pci_read16
	mov	x22, x0
	bl	_net_ratelimit
	cbz	x0, LBB0_5
; %bb.4:
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_dev_err
LBB0_5:
	ldr	w1, [x26]
Lloh31:
	adrp	x8, _PCI_STATUS_ERROR_BITS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PCI_STATUS_ERROR_BITS@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	orr	w2, w8, w22
	mov	x0, x19
	bl	_sky2_pci_write16
	ldr	w1, [x23]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_sky2_write8
LBB0_6:
Lloh34:
	adrp	x8, _Y2_IS_PCI_EXP@GOTPAGE
Lloh35:
	ldr	x8, [x8, _Y2_IS_PCI_EXP@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.7:
	ldr	w1, [x23]
	ldr	w2, [x25]
	mov	x0, x19
	bl	_sky2_write8
Lloh37:
	adrp	x25, _Y2_CFG_AER@GOTPAGE
Lloh38:
	ldr	x25, [x25, _Y2_CFG_AER@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh39:
	adrp	x26, _PCI_ERR_UNCOR_STATUS@GOTPAGE
Lloh40:
	ldr	x26, [x26, _PCI_ERR_UNCOR_STATUS@GOTPAGEOFF]
	ldr	x9, [x26]
	add	x1, x9, x8
	mov	x0, x19
	bl	_sky2_read32
	mov	x22, x0
	ldr	x8, [x25]
	ldr	x9, [x26]
	add	x1, x9, x8
	mov	x0, x19
	mov	w2, #-1
	bl	_sky2_write32
	bl	_net_ratelimit
	cbz	x0, LBB0_9
; %bb.8:
Lloh41:
	adrp	x1, l_.str.1@PAGE
Lloh42:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_dev_err
LBB0_9:
	ldr	x8, [x25]
	ldr	x9, [x26]
	add	x1, x9, x8
	mov	x0, x19
	bl	_sky2_read32
	ldr	w1, [x23]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_sky2_write8
LBB0_10:
Lloh43:
	adrp	x21, _Y2_HWE_L1_MASK@GOTPAGE
Lloh44:
	ldr	x21, [x21, _Y2_HWE_L1_MASK@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_sky2_hw_error
	ldr	w8, [x21]
LBB0_12:
	asr	w2, w20, #8
	tst	w8, w2
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x19
	mov	w1, #1
	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	_sky2_hw_error
LBB0_14:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_B0_HWE_ISRC,8,3                ; @B0_HWE_ISRC
	.comm	_B0_HWE_IMSK,8,3                ; @B0_HWE_IMSK
	.comm	_Y2_IS_TIST_OV,4,2              ; @Y2_IS_TIST_OV
	.comm	_GMAC_TI_ST_CTRL,4,2            ; @GMAC_TI_ST_CTRL
	.comm	_GMT_ST_CLR_IRQ,4,2             ; @GMT_ST_CLR_IRQ
	.comm	_Y2_IS_MST_ERR,4,2              ; @Y2_IS_MST_ERR
	.comm	_Y2_IS_IRQ_STAT,4,2             ; @Y2_IS_IRQ_STAT
	.comm	_B2_TST_CTRL1,4,2               ; @B2_TST_CTRL1
	.comm	_TST_CFG_WRITE_ON,4,2           ; @TST_CFG_WRITE_ON
	.comm	_PCI_STATUS,4,2                 ; @PCI_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCI hardware error (0x%x)\n"

	.comm	_PCI_STATUS_ERROR_BITS,4,2      ; @PCI_STATUS_ERROR_BITS
	.comm	_TST_CFG_WRITE_OFF,4,2          ; @TST_CFG_WRITE_OFF
	.comm	_Y2_IS_PCI_EXP,4,2              ; @Y2_IS_PCI_EXP
	.comm	_Y2_CFG_AER,8,3                 ; @Y2_CFG_AER
	.comm	_PCI_ERR_UNCOR_STATUS,8,3       ; @PCI_ERR_UNCOR_STATUS
l_.str.1:                               ; @.str.1
	.asciz	"PCI Express error (0x%x)\n"

	.comm	_Y2_HWE_L1_MASK,4,2             ; @Y2_HWE_L1_MASK
	.no_dead_strip	_sky2_hw_intr
.subsections_via_symbols
