	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sky2_mac_intr
_sky2_mac_intr:                         ## @sky2_mac_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
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	%esi, %ecx
	movq	(%rax,%rcx,8), %r15
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	_GMAC_IRQ_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_SK_REG
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sky2_read8
	movl	%eax, %ebx
	movq	_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	movq	%r15, %rdx
	movl	%ebx, %r8d
	callq	_netif_info
	movq	_GM_IS_RX_CO_OV@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_GM_RX_IRQ_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_gma_read16
LBB0_2:
	movq	_GM_IS_TX_CO_OV@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_GM_TX_IRQ_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_gma_read16
LBB0_4:
	movq	_GM_IS_RX_FF_OR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	incl	4(%r15)
	movq	_RX_GMF_CTRL_T@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_SK_REG
	movq	_GMF_CLI_RX_FO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sky2_write8
LBB0_6:
	movq	_GM_IS_TX_FF_UR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.8:
	incl	(%r15)
	movq	_TX_GMF_CTRL_T@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_SK_REG
	movq	_GMF_CLI_TX_FU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sky2_write8                    ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GMAC_IRQ_SRC,4,2               ## @GMAC_IRQ_SRC
	.comm	_intr,4,2                       ## @intr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac interrupt status 0x%x\n"

	.comm	_GM_IS_RX_CO_OV,4,2             ## @GM_IS_RX_CO_OV
	.comm	_GM_RX_IRQ_SRC,4,2              ## @GM_RX_IRQ_SRC
	.comm	_GM_IS_TX_CO_OV,4,2             ## @GM_IS_TX_CO_OV
	.comm	_GM_TX_IRQ_SRC,4,2              ## @GM_TX_IRQ_SRC
	.comm	_GM_IS_RX_FF_OR,4,2             ## @GM_IS_RX_FF_OR
	.comm	_RX_GMF_CTRL_T,4,2              ## @RX_GMF_CTRL_T
	.comm	_GMF_CLI_RX_FO,4,2              ## @GMF_CLI_RX_FO
	.comm	_GM_IS_TX_FF_UR,4,2             ## @GM_IS_TX_FF_UR
	.comm	_TX_GMF_CTRL_T,4,2              ## @TX_GMF_CTRL_T
	.comm	_GMF_CLI_TX_FU,4,2              ## @GMF_CLI_TX_FU
	.no_dead_strip	_sky2_mac_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sky2_mac_intr
_sky2_mac_intr:                         ; @sky2_mac_intr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x21, [x8, w1, uxtw #3]
	mov	x0, x21
	bl	_netdev_priv
	mov	x23, x0
Lloh0:
	adrp	x8, _GMAC_IRQ_SRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GMAC_IRQ_SRC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_SK_REG
	mov	x1, x0
	mov	x0, x19
	bl	_sky2_read8
	mov	x22, x0
Lloh3:
	adrp	x8, _intr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _intr@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	mov	x4, x22
	bl	_netif_info
Lloh8:
	adrp	x8, _GM_IS_RX_CO_OV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GM_IS_RX_CO_OV@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _GM_RX_IRQ_SRC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GM_RX_IRQ_SRC@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_gma_read16
LBB0_2:
Lloh14:
	adrp	x8, _GM_IS_TX_CO_OV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GM_IS_TX_CO_OV@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_4
; %bb.3:
Lloh17:
	adrp	x8, _GM_TX_IRQ_SRC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GM_TX_IRQ_SRC@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_gma_read16
LBB0_4:
Lloh20:
	adrp	x8, _GM_IS_RX_FF_OR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GM_IS_RX_FF_OR@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
Lloh23:
	adrp	x8, _RX_GMF_CTRL_T@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RX_GMF_CTRL_T@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_SK_REG
	mov	x1, x0
Lloh26:
	adrp	x8, _GMF_CLI_RX_FO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _GMF_CLI_RX_FO@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_sky2_write8
LBB0_6:
Lloh29:
	adrp	x8, _GM_IS_TX_FF_UR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GM_IS_TX_FF_UR@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.7:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
Lloh32:
	adrp	x8, _TX_GMF_CTRL_T@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TX_GMF_CTRL_T@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_SK_REG
	mov	x1, x0
Lloh35:
	adrp	x8, _GMF_CLI_TX_FU@GOTPAGE
Lloh36:
	ldr	x8, [x8, _GMF_CLI_TX_FU@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_sky2_write8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_GMAC_IRQ_SRC,4,2               ; @GMAC_IRQ_SRC
	.comm	_intr,4,2                       ; @intr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac interrupt status 0x%x\n"

	.comm	_GM_IS_RX_CO_OV,4,2             ; @GM_IS_RX_CO_OV
	.comm	_GM_RX_IRQ_SRC,4,2              ; @GM_RX_IRQ_SRC
	.comm	_GM_IS_TX_CO_OV,4,2             ; @GM_IS_TX_CO_OV
	.comm	_GM_TX_IRQ_SRC,4,2              ; @GM_TX_IRQ_SRC
	.comm	_GM_IS_RX_FF_OR,4,2             ; @GM_IS_RX_FF_OR
	.comm	_RX_GMF_CTRL_T,4,2              ; @RX_GMF_CTRL_T
	.comm	_GMF_CLI_RX_FO,4,2              ; @GMF_CLI_RX_FO
	.comm	_GM_IS_TX_FF_UR,4,2             ; @GM_IS_TX_FF_UR
	.comm	_TX_GMF_CTRL_T,4,2              ; @TX_GMF_CTRL_T
	.comm	_GMF_CLI_TX_FU,4,2              ; @GMF_CLI_TX_FU
	.no_dead_strip	_sky2_mac_intr
.subsections_via_symbols
