	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function genesis_mac_intr
_genesis_mac_intr:                      ## @genesis_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, %r15d
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movslq	%esi, %rbx
	movq	(%rax,%rbx,8), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r12
	movq	_XM_ISRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_xm_read16
	movl	%eax, %r13d
	movq	_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%r12), %ecx
	leaq	L_.str(%rip), %r8
	movq	%r12, %rdi
	movl	%r13d, %r9d
	callq	_netif_printk
	movq	(%r14), %rax
	movq	_SK_PHY_XMAC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_XM_IS_INP_ASS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_xm_link_down
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	incq	%rsi
	movq	%r12, %rdi
	callq	_mod_timer
LBB0_3:
	movq	_XM_IS_TXF_UR@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_XM_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_XM_MD_FTF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_xm_write32
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XM_ISRC,4,2                    ## @XM_ISRC
	.comm	_intr,4,2                       ## @intr
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac interrupt status 0x%x\n"

	.comm	_SK_PHY_XMAC,8,3                ## @SK_PHY_XMAC
	.comm	_XM_IS_INP_ASS,4,2              ## @XM_IS_INP_ASS
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_XM_IS_TXF_UR,4,2               ## @XM_IS_TXF_UR
	.comm	_XM_MODE,4,2                    ## @XM_MODE
	.comm	_XM_MD_FTF,4,2                  ## @XM_MD_FTF
	.no_dead_strip	_genesis_mac_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function genesis_mac_intr
_genesis_mac_intr:                      ; @genesis_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	x21, x0
	ldr	x8, [x0, #8]
	ldr	x19, [x8, w1, sxtw #3]
	mov	x0, x19
	bl	_netdev_priv
	mov	x22, x0
Lloh0:
	adrp	x8, _XM_ISRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XM_ISRC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_xm_read16
	mov	x23, x0
Lloh3:
	adrp	x8, _intr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _intr@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	ldr	w3, [x22, #4]
Lloh9:
	adrp	x4, l_.str@PAGE
Lloh10:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x22
	mov	x5, x23
	bl	_netif_printk
	ldr	x8, [x21]
Lloh11:
	adrp	x9, _SK_PHY_XMAC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SK_PHY_XMAC@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh14:
	adrp	x8, _XM_IS_INP_ASS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _XM_IS_INP_ASS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x20
	bl	_xm_link_down
Lloh17:
	adrp	x8, _jiffies@GOTPAGE
Lloh18:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	add	x1, x8, #1
	mov	x0, x22
	bl	_mod_timer
LBB0_3:
Lloh20:
	adrp	x8, _XM_IS_TXF_UR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _XM_IS_TXF_UR@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_5
; %bb.4:
Lloh23:
	adrp	x8, _XM_MODE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _XM_MODE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x8, _XM_MD_FTF@GOTPAGE
Lloh27:
	ldr	x8, [x8, _XM_MD_FTF@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_xm_write32
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_5:
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_XM_ISRC,4,2                    ; @XM_ISRC
	.comm	_intr,4,2                       ; @intr
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac interrupt status 0x%x\n"

	.comm	_SK_PHY_XMAC,8,3                ; @SK_PHY_XMAC
	.comm	_XM_IS_INP_ASS,4,2              ; @XM_IS_INP_ASS
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_XM_IS_TXF_UR,4,2               ; @XM_IS_TXF_UR
	.comm	_XM_MODE,4,2                    ; @XM_MODE
	.comm	_XM_MD_FTF,4,2                  ; @XM_MD_FTF
	.no_dead_strip	_genesis_mac_intr
.subsections_via_symbols
