	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_an37_isr
_xgbe_an37_isr:                         ## @xgbe_an37_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_xgbe_an37_disable_interrupts
	movq	_MDIO_MMD_VEND2@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_MDIO_VEND2_AN_STAT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_XMDIO_READ
	movq	_XGBE_AN_CL37_INT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %esi
	andl	%edx, %esi
	movl	%esi, (%rbx)
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, 4(%rbx)
	andl	%edx, %eax
	je	LBB0_1
## %bb.3:
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_XMDIO_WRITE
	movl	20(%rbx), %edi
	addq	$16, %rbx
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	callq	_xgbe_an37_enable_interrupts
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.4:
	movq	_XP_INT_REISSUE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$8, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_XP_IOWRITE                     ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_MMD_VEND2,4,2             ## @MDIO_MMD_VEND2
	.comm	_MDIO_VEND2_AN_STAT,4,2         ## @MDIO_VEND2_AN_STAT
	.comm	_XGBE_AN_CL37_INT_MASK,4,2      ## @XGBE_AN_CL37_INT_MASK
	.comm	_XP_INT_REISSUE_EN,4,2          ## @XP_INT_REISSUE_EN
	.no_dead_strip	_xgbe_an37_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_an37_isr
_xgbe_an37_isr:                         ; @xgbe_an37_isr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_xgbe_an37_disable_interrupts
Lloh0:
	adrp	x20, _MDIO_MMD_VEND2@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MDIO_MMD_VEND2@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _MDIO_VEND2_AN_STAT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MDIO_VEND2_AN_STAT@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_XMDIO_READ
Lloh4:
	adrp	x8, _XGBE_AN_CL37_INT_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _XGBE_AN_CL37_INT_MASK@GOTPAGEOFF]
	ldr	w9, [x8]
	ands	w9, w9, w0
	str	w9, [x19]
	ldr	w8, [x8]
	bic	w3, w0, w8
	str	w3, [x19, #4]
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_XMDIO_WRITE
	ldr	w0, [x19, #20]
	add	x1, x19, #16
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_queue_work
LBB0_2:
	mov	x0, x19
	bl	_xgbe_an37_enable_interrupts
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _XP_INT_REISSUE_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XP_INT_REISSUE_EN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_XP_IOWRITE
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_MMD_VEND2,4,2             ; @MDIO_MMD_VEND2
	.comm	_MDIO_VEND2_AN_STAT,4,2         ; @MDIO_VEND2_AN_STAT
	.comm	_XGBE_AN_CL37_INT_MASK,4,2      ; @XGBE_AN_CL37_INT_MASK
	.comm	_XP_INT_REISSUE_EN,4,2          ; @XP_INT_REISSUE_EN
	.no_dead_strip	_xgbe_an37_isr
.subsections_via_symbols
