	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_gbe_watchdog
_pch_gbe_watchdog:                      ## @pch_gbe_watchdog
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_watchdog_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r15
	movq	32(%rax), %r14
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	%r15, %rdi
	callq	_pch_gbe_update_stats
	movq	%r15, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_mii_link_ok
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%r14, %rdi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	movq	%rbx, %rdi
	callq	_mii_link_ok
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	_SPEED_10@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	%r14, %rdi
	callq	_netif_stop_queue
	jmp	LBB0_8
LBB0_2:
	movq	$0, -48(%rbp)
	movq	_ETHTOOL_GSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	8(%r15), %eax
	movl	%eax, (%r14)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_mii_ethtool_gset
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_err
	jmp	LBB0_8
LBB0_3:
	leaq	-48(%rbp), %rdi
	callq	_ethtool_cmd_speed
	movl	%eax, 24(%r15)
	movq	-48(%rbp), %rdx
	movq	%rdx, 16(%r15)
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pch_gbe_set_rgmii_ctrl
	movl	24(%r15), %esi
	movq	16(%r15), %rdx
	movq	%r15, %rdi
	callq	_pch_gbe_set_mode
	movl	24(%r15), %edx
	movq	-48(%rbp), %rax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	%r14, %rdi
	callq	_netif_carrier_on
	movq	%r14, %rdi
	callq	_netif_wake_queue
LBB0_8:
	movq	_PCH_GBE_WATCHDOG_PERIOD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	callq	_round_jiffies
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_mod_timer
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_watchdog_timer,4,2             ## @watchdog_timer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"right now = %ld\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ETHTOOL_GSET,4,2               ## @ETHTOOL_GSET
L_.str.1:                               ## @.str.1
	.asciz	"ethtool get setting Error\n"

	.comm	_PCH_GBE_WATCHDOG_PERIOD,8,3    ## @PCH_GBE_WATCHDOG_PERIOD
L_.str.2:                               ## @.str.2
	.asciz	"Link is Up %d Mbps %s-Duplex\n"

	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
L_.str.3:                               ## @.str.3
	.asciz	"Full"

L_.str.4:                               ## @.str.4
	.asciz	"Half"

L_.str.5:                               ## @.str.5
	.asciz	"NIC Link is Down\n"

	.comm	_SPEED_10,4,2                   ## @SPEED_10
	.comm	_DUPLEX_HALF,8,3                ## @DUPLEX_HALF
	.comm	_adapter,8,3                    ## @adapter
	.no_dead_strip	_pch_gbe_watchdog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_gbe_watchdog
_pch_gbe_watchdog:                      ; @pch_gbe_watchdog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, _watchdog_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _watchdog_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	x20, [x0, #32]
Lloh3:
	adrp	x22, _jiffies@GOTPAGE
Lloh4:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x8, [x22]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_dbg
	mov	x0, x19
	bl	_pch_gbe_update_stats
	add	x21, x19, #4
	mov	x0, x21
	bl	_mii_link_ok
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_netif_carrier_ok
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x21
	bl	_mii_link_ok
	cbnz	x0, LBB0_8
; %bb.3:
	mov	x0, x20
	bl	_netif_carrier_ok
	cbz	x0, LBB0_8
; %bb.4:
Lloh7:
	adrp	x1, l_.str.5@PAGE
Lloh8:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_netdev_dbg
Lloh9:
	adrp	x8, _SPEED_10@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SPEED_10@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh12:
	adrp	x8, _DUPLEX_HALF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DUPLEX_HALF@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	mov	x0, x20
	bl	_netif_carrier_off
	mov	x0, x20
	bl	_netif_stop_queue
	b	LBB0_8
LBB0_5:
	str	xzr, [sp, #16]
Lloh15:
	adrp	x8, _ETHTOOL_GSET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETHTOOL_GSET@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	w8, [x19, #8]
	str	w8, [x20]
	add	x1, sp, #16
	mov	x0, x21
	bl	_mii_ethtool_gset
	cbz	x0, LBB0_7
; %bb.6:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
	b	LBB0_8
LBB0_7:
	add	x0, sp, #16
	bl	_ethtool_cmd_speed
	mov	x1, x0
	str	w0, [x19, #24]
	ldr	x2, [sp, #16]
	str	x2, [x19, #16]
	mov	x0, x19
	bl	_pch_gbe_set_rgmii_ctrl
	ldr	w1, [x19, #24]
	ldr	x2, [x19, #16]
	mov	x0, x19
	bl	_pch_gbe_set_mode
	ldr	x8, [sp, #16]
Lloh20:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh21:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh22:
	adrp	x10, l_.str.4@PAGE
Lloh23:
	add	x10, x10, l_.str.4@PAGEOFF
Lloh24:
	ldr	x9, [x9]
Lloh25:
	adrp	x11, l_.str.3@PAGE
Lloh26:
	add	x11, x11, l_.str.3@PAGEOFF
	cmp	x8, x9
	csel	x8, x11, x10, eq
	ldr	w9, [x19, #24]
	stp	x9, x8, [sp]
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_netdev_dbg
	mov	x0, x20
	bl	_netif_carrier_on
	mov	x0, x20
	bl	_netif_wake_queue
LBB0_8:
	ldr	x8, [x22]
Lloh29:
	adrp	x9, _PCH_GBE_WATCHDOG_PERIOD@GOTPAGE
Lloh30:
	ldr	x9, [x9, _PCH_GBE_WATCHDOG_PERIOD@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_round_jiffies
	mov	x1, x0
	mov	x0, x19
	bl	_mod_timer
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_watchdog_timer,4,2             ; @watchdog_timer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"right now = %ld\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ETHTOOL_GSET,4,2               ; @ETHTOOL_GSET
l_.str.1:                               ; @.str.1
	.asciz	"ethtool get setting Error\n"

	.comm	_PCH_GBE_WATCHDOG_PERIOD,8,3    ; @PCH_GBE_WATCHDOG_PERIOD
l_.str.2:                               ; @.str.2
	.asciz	"Link is Up %d Mbps %s-Duplex\n"

	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
l_.str.3:                               ; @.str.3
	.asciz	"Full"

l_.str.4:                               ; @.str.4
	.asciz	"Half"

l_.str.5:                               ; @.str.5
	.asciz	"NIC Link is Down\n"

	.comm	_SPEED_10,4,2                   ; @SPEED_10
	.comm	_DUPLEX_HALF,8,3                ; @DUPLEX_HALF
	.comm	_adapter,8,3                    ; @adapter
	.no_dead_strip	_pch_gbe_watchdog
.subsections_via_symbols
