	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function am79c961_timer
_am79c961_timer:                        ## @am79c961_timer
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r14
	movl	4(%r12), %edi
	movq	_ISALED0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_read_ireg
	movl	%eax, %r15d
	movq	_ISALED0_LNKST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_netif_carrier_ok
	andl	%r15d, %ebx
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_netif_carrier_on
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_3:
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.4:
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	%r12, %rdi
	callq	_netif_carrier_off
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	movl	(%r12), %esi
	callq	_printk
LBB0_7:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISALED0,4,2                    ## @ISALED0
	.comm	_ISALED0_LNKST,4,2              ## @ISALED0_LNKST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: link up\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: link down\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_am79c961_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function am79c961_timer
_am79c961_timer:                        ; @am79c961_timer
	.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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w0, [x20, #4]
Lloh0:
	adrp	x8, _ISALED0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISALED0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_read_ireg
Lloh3:
	adrp	x8, _ISALED0_LNKST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISALED0_LNKST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w21, w8, w0
	mov	x0, x20
	bl	_netif_carrier_ok
	cmp	w21, #0
	ccmp	w0, #0, #0, ne
	b.eq	LBB0_3
; %bb.1:
	cmp	w21, #0
	ccmp	w0, #0, #4, eq
	b.eq	LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_netif_carrier_off
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_netif_carrier_on
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	ldr	w1, [x20]
	bl	_printk
LBB0_5:
Lloh10:
	adrp	x8, _jiffies@GOTPAGE
Lloh11:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh12:
	ldr	x20, [x8]
	mov	w0, #500
	bl	_msecs_to_jiffies
	add	x1, x0, x20
	mov	x0, x19
	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	_mod_timer
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ISALED0,4,2                    ; @ISALED0
	.comm	_ISALED0_LNKST,4,2              ; @ISALED0_LNKST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: link up\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: link down\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_am79c961_timer
.subsections_via_symbols
