	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e100_watchdog
_e100_watchdog:                         ## @e100_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@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	movq	$0, -48(%rbp)
	movq	_ETHTOOL_GSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	16(%rbx), %ecx
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %r9
	leaq	L_.str(%rip), %r8
	movq	%rbx, %rdi
	callq	_netif_printk
	leaq	32(%rbx), %r15
	leaq	-48(%rbp), %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mii_ethtool_gset
	movq	%r14, %rdi
	callq	_ethtool_cmd_speed
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_mii_link_ok
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	16(%rbx), %edi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	callq	_mii_link_ok
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movl	16(%rbx), %edi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	16(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_info
	jmp	LBB0_6
LBB0_2:
	movl	16(%rbx), %edi
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	movl	$100, %eax
	movl	$10, %edx
	cmovel	%eax, %edx
	movq	-48(%rbp), %rax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_info
LBB0_6:
	movq	%r15, %rdi
	callq	_mii_check_link
	leaq	20(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	24(%rbx), %rdi
	callq	_ioread8
	movq	_irq_sw_gen@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	24(%rbx), %rsi
	movl	%eax, %edi
	callq	_iowrite8
	movq	%rbx, %rdi
	callq	_e100_write_flush
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	%rbx, %rdi
	callq	_e100_update_stats
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_e100_adjust_adaptive_ifs
	movq	(%rbx), %rax
	movq	_mac_82557_D100_C@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_8
## %bb.7:
	movl	16(%rbx), %edi
	callq	_e100_set_multicast_list
LBB0_8:
	movl	8(%rbx), %eax
	movq	_ich@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.9:
	movq	_SPEED_10@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	jne	LBB0_12
## %bb.10:
	movq	-48(%rbp), %rcx
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_12
## %bb.11:
	movq	_ich_10h_workaround@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_13
LBB0_12:
	movq	_ich_10h_workaround@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
LBB0_13:
	movl	%eax, 8(%rbx)
	addq	$12, %rbx
	movq	_E100_WATCHDOG_PERIOD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	callq	_round_jiffies
	movq	%rbx, %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,4,2                   ## @watchdog
	.comm	_ETHTOOL_GSET,4,2               ## @ETHTOOL_GSET
	.comm	_timer,4,2                      ## @timer
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"right now = %ld\n"

	.comm	_jiffies,8,3                    ## @jiffies
L_.str.1:                               ## @.str.1
	.asciz	"NIC Link is Up %u Mbps %s Duplex\n"

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

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

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

	.comm	_irq_sw_gen,4,2                 ## @irq_sw_gen
	.comm	_mac_82557_D100_C,8,3           ## @mac_82557_D100_C
	.comm	_ich,4,2                        ## @ich
	.comm	_SPEED_10,8,3                   ## @SPEED_10
	.comm	_DUPLEX_HALF,8,3                ## @DUPLEX_HALF
	.comm	_ich_10h_workaround,4,2         ## @ich_10h_workaround
	.comm	_E100_WATCHDOG_PERIOD,8,3       ## @E100_WATCHDOG_PERIOD
	.comm	_nic,8,3                        ## @nic
	.no_dead_strip	_e100_watchdog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e100_watchdog
_e100_watchdog:                         ; @e100_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@GOTPAGE
Lloh1:
	ldr	x8, [x8, _watchdog@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	str	xzr, [sp, #16]
Lloh3:
	adrp	x8, _ETHTOOL_GSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHTOOL_GSET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh6:
	adrp	x8, _timer@GOTPAGE
Lloh7:
	ldr	x8, [x8, _timer@GOTPAGEOFF]
Lloh8:
	adrp	x9, _KERN_DEBUG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _KERN_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w2, [x9]
	ldr	w3, [x0, #16]
Lloh12:
	adrp	x22, _jiffies@GOTPAGE
Lloh13:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x5, [x22]
Lloh14:
	adrp	x4, l_.str@PAGE
Lloh15:
	add	x4, x4, l_.str@PAGEOFF
	bl	_netif_printk
	add	x21, x19, #32
	add	x1, sp, #16
	mov	x0, x21
	bl	_mii_ethtool_gset
	add	x0, sp, #16
	bl	_ethtool_cmd_speed
	mov	x20, x0
	mov	x0, x21
	bl	_mii_link_ok
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
	bl	_netif_carrier_ok
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x21
	bl	_mii_link_ok
	cbnz	x0, LBB0_7
; %bb.3:
	ldr	w0, [x19, #16]
	bl	_netif_carrier_ok
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w0, [x19, #16]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh18:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
	ldr	w0, [x19, #16]
Lloh20:
	ldr	x8, [x8]
	ldr	x9, [sp, #16]
Lloh21:
	adrp	x10, _DUPLEX_FULL@GOTPAGE
Lloh22:
	ldr	x10, [x10, _DUPLEX_FULL@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
Lloh24:
	adrp	x11, l_.str.3@PAGE
Lloh25:
	add	x11, x11, l_.str.3@PAGEOFF
Lloh26:
	adrp	x12, l_.str.2@PAGE
Lloh27:
	add	x12, x12, l_.str.2@PAGEOFF
	cmp	x9, x10
	csel	x9, x12, x11, eq
	mov	w10, #10
	mov	w11, #100
	cmp	x20, x8
	csel	x8, x11, x10, eq
	stp	x8, x9, [sp]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	bl	_netdev_info
LBB0_7:
	mov	x0, x21
	bl	_mii_check_link
	add	x21, x19, #20
	mov	x0, x21
	bl	_spin_lock_irq
	ldr	x0, [x19, #24]
	bl	_ioread8
Lloh30:
	adrp	x8, _irq_sw_gen@GOTPAGE
Lloh31:
	ldr	x8, [x8, _irq_sw_gen@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x1, [x19, #24]
	bl	_iowrite8
	mov	x0, x19
	bl	_e100_write_flush
	mov	x0, x21
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_e100_update_stats
	ldr	x2, [sp, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_e100_adjust_adaptive_ifs
	ldr	x8, [x19]
Lloh33:
	adrp	x9, _mac_82557_D100_C@GOTPAGE
Lloh34:
	ldr	x9, [x9, _mac_82557_D100_C@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_9
; %bb.8:
	ldr	w0, [x19, #16]
	bl	_e100_set_multicast_list
LBB0_9:
	ldr	w8, [x19, #8]
Lloh36:
	adrp	x9, _ich@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ich@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh39:
	adrp	x10, _SPEED_10@GOTPAGE
Lloh40:
	ldr	x10, [x10, _SPEED_10@GOTPAGEOFF]
Lloh41:
	ldr	x10, [x10]
	cmp	w9, #0
	ccmp	x20, x10, #0, ne
	b.ne	LBB0_12
; %bb.10:
	ldr	x9, [sp, #16]
Lloh42:
	adrp	x10, _DUPLEX_HALF@GOTPAGE
Lloh43:
	ldr	x10, [x10, _DUPLEX_HALF@GOTPAGEOFF]
Lloh44:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.11:
Lloh45:
	adrp	x9, _ich_10h_workaround@GOTPAGE
Lloh46:
	ldr	x9, [x9, _ich_10h_workaround@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_13
LBB0_12:
Lloh48:
	adrp	x9, _ich_10h_workaround@GOTPAGE
Lloh49:
	ldr	x9, [x9, _ich_10h_workaround@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	bic	w8, w8, w9
LBB0_13:
	str	w8, [x19, #8]
	add	x19, x19, #12
	ldr	x8, [x22]
Lloh51:
	adrp	x9, _E100_WATCHDOG_PERIOD@GOTPAGE
Lloh52:
	ldr	x9, [x9, _E100_WATCHDOG_PERIOD@GOTPAGEOFF]
Lloh53:
	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	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_watchdog,4,2                   ; @watchdog
	.comm	_ETHTOOL_GSET,4,2               ; @ETHTOOL_GSET
	.comm	_timer,4,2                      ; @timer
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"right now = %ld\n"

	.comm	_jiffies,8,3                    ; @jiffies
l_.str.1:                               ; @.str.1
	.asciz	"NIC Link is Up %u Mbps %s Duplex\n"

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

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

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

	.comm	_irq_sw_gen,4,2                 ; @irq_sw_gen
	.comm	_mac_82557_D100_C,8,3           ; @mac_82557_D100_C
	.comm	_ich,4,2                        ; @ich
	.comm	_SPEED_10,8,3                   ; @SPEED_10
	.comm	_DUPLEX_HALF,8,3                ; @DUPLEX_HALF
	.comm	_ich_10h_workaround,4,2         ; @ich_10h_workaround
	.comm	_E100_WATCHDOG_PERIOD,8,3       ; @E100_WATCHDOG_PERIOD
	.comm	_nic,8,3                        ; @nic
	.no_dead_strip	_e100_watchdog
.subsections_via_symbols
