	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sky2_qlink_intr
_sky2_qlink_intr:                       ## @sky2_qlink_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, %r15
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_B0_IMSK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_sky2_read32
	movq	_Y2_IS_PHY_QLNK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_sky2_write32
	movq	_PSM_CONFIG_REG4@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_sky2_pci_read16
	movl	%eax, %ebx
	movq	_B2_TST_CTRL1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_TST_CFG_WRITE_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_sky2_write8
	movl	(%r12), %esi
	orl	$1, %ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_sky2_pci_write16
	movl	(%r13), %esi
	movq	_TST_CFG_WRITE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_sky2_write8
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sky2_link_up                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B0_IMSK,4,2                    ## @B0_IMSK
	.comm	_Y2_IS_PHY_QLNK,4,2             ## @Y2_IS_PHY_QLNK
	.comm	_PSM_CONFIG_REG4,4,2            ## @PSM_CONFIG_REG4
	.comm	_B2_TST_CTRL1,4,2               ## @B2_TST_CTRL1
	.comm	_TST_CFG_WRITE_ON,4,2           ## @TST_CFG_WRITE_ON
	.comm	_TST_CFG_WRITE_OFF,4,2          ## @TST_CFG_WRITE_OFF
	.no_dead_strip	_sky2_qlink_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sky2_qlink_intr
_sky2_qlink_intr:                       ; @sky2_qlink_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	x19, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x21, _B0_IMSK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _B0_IMSK@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_sky2_read32
Lloh2:
	adrp	x8, _Y2_IS_PHY_QLNK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Y2_IS_PHY_QLNK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x21]
	mov	x0, x19
	bl	_sky2_write32
Lloh5:
	adrp	x22, _PSM_CONFIG_REG4@GOTPAGE
Lloh6:
	ldr	x22, [x22, _PSM_CONFIG_REG4@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_sky2_pci_read16
	mov	x21, x0
Lloh7:
	adrp	x23, _B2_TST_CTRL1@GOTPAGE
Lloh8:
	ldr	x23, [x23, _B2_TST_CTRL1@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh9:
	adrp	x8, _TST_CFG_WRITE_ON@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TST_CFG_WRITE_ON@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_sky2_write8
	ldr	w1, [x22]
	orr	w2, w21, #0x1
	mov	x0, x19
	bl	_sky2_pci_write16
	ldr	w1, [x23]
Lloh12:
	adrp	x8, _TST_CFG_WRITE_OFF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TST_CFG_WRITE_OFF@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_sky2_write8
	mov	x0, x20
	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_link_up
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_B0_IMSK,4,2                    ; @B0_IMSK
	.comm	_Y2_IS_PHY_QLNK,4,2             ; @Y2_IS_PHY_QLNK
	.comm	_PSM_CONFIG_REG4,4,2            ; @PSM_CONFIG_REG4
	.comm	_B2_TST_CTRL1,4,2               ; @B2_TST_CTRL1
	.comm	_TST_CFG_WRITE_ON,4,2           ; @TST_CFG_WRITE_ON
	.comm	_TST_CFG_WRITE_OFF,4,2          ; @TST_CFG_WRITE_OFF
	.no_dead_strip	_sky2_qlink_intr
.subsections_via_symbols
