	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lmc_driver_timeout
_lmc_driver_timeout:                    ## @lmc_driver_timeout
	.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, %r14
	callq	_dev_to_sc
	movq	%rax, %r13
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_lmc_trace
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_printk
	incl	8(%r13)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_dev_trans_start
	subq	%rax, %rbx
	movq	_TX_TIMEOUT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jl	LBB0_2
## %bb.1:
	movq	_LMC_EVENT_XMTPRCTMO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_csr_status@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_LMC_CSR_READ
	movl	4(%r13), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_LMC_EVENT_LOG
	movq	%r14, %rdi
	callq	_lmc_running_reset
	movq	_LMC_EVENT_RESET1@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_LMC_CSR_READ
	movl	%r15d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_LMC_EVENT_LOG
	movq	_LMC_EVENT_RESET2@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_lmc_mii_readreg
	movl	%eax, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$17, %edx
	callq	_lmc_mii_readreg
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_LMC_EVENT_LOG
	movq	_csr_command@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_LMC_CSR_READ
	movl	%eax, %ebx
	movl	(%r15), %esi
	movl	%eax, %edx
	orl	$2, %edx
	movq	%r13, %rdi
	callq	_LMC_CSR_WRITE
	movl	(%r15), %esi
	orl	$8194, %ebx                     ## imm = 0x2002
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_LMC_CSR_WRITE
	movq	_csr_txpoll@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_LMC_CSR_WRITE
	movq	16(%r13), %rax
	incl	(%rax)
	incl	4(%r13)
	movq	%r14, %rdi
	callq	_netif_trans_update
LBB0_2:
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lmc_trace                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lmc_driver_timeout in"

L_.str.1:                               ## @.str.1
	.asciz	"%s: Xmitter busy|\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_TX_TIMEOUT,8,3                 ## @TX_TIMEOUT
	.comm	_LMC_EVENT_XMTPRCTMO,4,2        ## @LMC_EVENT_XMTPRCTMO
	.comm	_csr_status,4,2                 ## @csr_status
	.comm	_LMC_EVENT_RESET1,4,2           ## @LMC_EVENT_RESET1
	.comm	_LMC_EVENT_RESET2,4,2           ## @LMC_EVENT_RESET2
	.comm	_csr_command,4,2                ## @csr_command
	.comm	_csr_txpoll,4,2                 ## @csr_txpoll
L_.str.2:                               ## @.str.2
	.asciz	"lmc_driver_timeout out"

	.no_dead_strip	_lmc_driver_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lmc_driver_timeout
_lmc_driver_timeout:                    ; @lmc_driver_timeout
	.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	_dev_to_sc
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_lmc_trace
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w1, [x19]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
Lloh4:
	adrp	x8, _jiffies@GOTPAGE
Lloh5:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh6:
	ldr	x21, [x8]
	mov	x0, x19
	bl	_dev_trans_start
Lloh7:
	adrp	x8, _TX_TIMEOUT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TX_TIMEOUT@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	sub	x9, x21, x0
	cmp	x9, x8
	b.lt	LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _LMC_EVENT_XMTPRCTMO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LMC_EVENT_XMTPRCTMO@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
Lloh13:
	adrp	x22, _csr_status@GOTPAGE
Lloh14:
	ldr	x22, [x22, _csr_status@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_LMC_CSR_READ
	mov	x1, x0
	ldr	w2, [x20, #4]
	mov	x0, x21
	bl	_LMC_EVENT_LOG
	mov	x0, x19
	bl	_lmc_running_reset
Lloh15:
	adrp	x8, _LMC_EVENT_RESET1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LMC_EVENT_RESET1@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_LMC_CSR_READ
	mov	x1, x0
	mov	x0, x21
	mov	w2, #0
	bl	_LMC_EVENT_LOG
Lloh18:
	adrp	x8, _LMC_EVENT_RESET2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LMC_EVENT_RESET2@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #16
	bl	_lmc_mii_readreg
	mov	x22, x0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #17
	bl	_lmc_mii_readreg
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_LMC_EVENT_LOG
Lloh21:
	adrp	x22, _csr_command@GOTPAGE
Lloh22:
	ldr	x22, [x22, _csr_command@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_LMC_CSR_READ
	mov	x21, x0
	ldr	w1, [x22]
	orr	w2, w0, #0x2
	mov	x0, x20
	bl	_LMC_CSR_WRITE
	ldr	w1, [x22]
	mov	w8, #8194
	orr	w2, w21, w8
	mov	x0, x20
	bl	_LMC_CSR_WRITE
Lloh23:
	adrp	x8, _csr_txpoll@GOTPAGE
Lloh24:
	ldr	x8, [x8, _csr_txpoll@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_LMC_CSR_WRITE
	ldr	x8, [x20, #16]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	mov	x0, x19
	bl	_netif_trans_update
LBB0_2:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	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	_lmc_trace
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lmc_driver_timeout in"

l_.str.1:                               ; @.str.1
	.asciz	"%s: Xmitter busy|\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_TX_TIMEOUT,8,3                 ; @TX_TIMEOUT
	.comm	_LMC_EVENT_XMTPRCTMO,4,2        ; @LMC_EVENT_XMTPRCTMO
	.comm	_csr_status,4,2                 ; @csr_status
	.comm	_LMC_EVENT_RESET1,4,2           ; @LMC_EVENT_RESET1
	.comm	_LMC_EVENT_RESET2,4,2           ; @LMC_EVENT_RESET2
	.comm	_csr_command,4,2                ; @csr_command
	.comm	_csr_txpoll,4,2                 ; @csr_txpoll
l_.str.2:                               ; @.str.2
	.asciz	"lmc_driver_timeout out"

	.no_dead_strip	_lmc_driver_timeout
.subsections_via_symbols
