	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lmc_dec_reset
_lmc_dec_reset:                         ## @lmc_dec_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	12(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_lmc_trace
	movl	$0, (%rbx)
	movq	_csr_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_LMC_CSR_WRITE
	movq	_csr_busmode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TULIP_BUSMODE_SWRESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_LMC_CSR_WRITE
	movl	$25, %edi
	callq	_udelay
	movq	_csr_command@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_LMC_CSR_READ
	movq	_TULIP_CMD_PROMISCUOUS@GOTPCREL(%rip), %rcx
	movq	_TULIP_CMD_FULLDUPLEX@GOTPCREL(%rip), %rdx
	movq	_TULIP_CMD_PASSBADPKT@GOTPCREL(%rip), %rsi
	movq	_TULIP_CMD_NOHEARTBEAT@GOTPCREL(%rip), %rdi
	movq	_TULIP_CMD_PORTSELECT@GOTPCREL(%rip), %r8
	movq	_TULIP_CMD_RECEIVEALL@GOTPCREL(%rip), %r9
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	orl	(%rsi), %eax
	orl	(%rdi), %eax
	orl	(%r8), %eax
	orl	(%r9), %eax
	movq	_TULIP_CMD_MUSTBEONE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_TULIP_CMD_OPERMODE@GOTPCREL(%rip), %rcx
	movq	_TULIP_CMD_THRESHOLDCTL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_TULIP_CMD_STOREFWD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_TULIP_CMD_TXTHRSHLDCTL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	%edx, 8(%rbx)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_LMC_CSR_WRITE
	movq	_csr_sia_general@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_LMC_CSR_READ
	movq	_TULIP_WATCHDOG_TXDISABLE@GOTPCREL(%rip), %rcx
	movq	_TULIP_WATCHDOG_RXDISABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	orl	%eax, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_LMC_CSR_WRITE
	movl	12(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_lmc_trace                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lmc_dec_reset in"

	.comm	_csr_intr,4,2                   ## @csr_intr
	.comm	_csr_busmode,4,2                ## @csr_busmode
	.comm	_TULIP_BUSMODE_SWRESET,4,2      ## @TULIP_BUSMODE_SWRESET
	.comm	_csr_command,4,2                ## @csr_command
	.comm	_TULIP_CMD_PROMISCUOUS,4,2      ## @TULIP_CMD_PROMISCUOUS
	.comm	_TULIP_CMD_FULLDUPLEX,4,2       ## @TULIP_CMD_FULLDUPLEX
	.comm	_TULIP_CMD_PASSBADPKT,4,2       ## @TULIP_CMD_PASSBADPKT
	.comm	_TULIP_CMD_NOHEARTBEAT,4,2      ## @TULIP_CMD_NOHEARTBEAT
	.comm	_TULIP_CMD_PORTSELECT,4,2       ## @TULIP_CMD_PORTSELECT
	.comm	_TULIP_CMD_RECEIVEALL,4,2       ## @TULIP_CMD_RECEIVEALL
	.comm	_TULIP_CMD_MUSTBEONE,4,2        ## @TULIP_CMD_MUSTBEONE
	.comm	_TULIP_CMD_OPERMODE,4,2         ## @TULIP_CMD_OPERMODE
	.comm	_TULIP_CMD_THRESHOLDCTL,4,2     ## @TULIP_CMD_THRESHOLDCTL
	.comm	_TULIP_CMD_STOREFWD,4,2         ## @TULIP_CMD_STOREFWD
	.comm	_TULIP_CMD_TXTHRSHLDCTL,4,2     ## @TULIP_CMD_TXTHRSHLDCTL
	.comm	_csr_sia_general,4,2            ## @csr_sia_general
	.comm	_TULIP_WATCHDOG_TXDISABLE,4,2   ## @TULIP_WATCHDOG_TXDISABLE
	.comm	_TULIP_WATCHDOG_RXDISABLE,4,2   ## @TULIP_WATCHDOG_RXDISABLE
L_.str.1:                               ## @.str.1
	.asciz	"lmc_dec_reset out"

	.no_dead_strip	_lmc_dec_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lmc_dec_reset
_lmc_dec_reset:                         ; @lmc_dec_reset
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_lmc_trace
	str	wzr, [x19]
Lloh2:
	adrp	x8, _csr_intr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _csr_intr@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_LMC_CSR_WRITE
Lloh5:
	adrp	x8, _csr_busmode@GOTPAGE
Lloh6:
	ldr	x8, [x8, _csr_busmode@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _TULIP_BUSMODE_SWRESET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TULIP_BUSMODE_SWRESET@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_LMC_CSR_WRITE
	mov	w0, #25
	bl	_udelay
Lloh11:
	adrp	x20, _csr_command@GOTPAGE
Lloh12:
	ldr	x20, [x20, _csr_command@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_LMC_CSR_READ
Lloh13:
	adrp	x8, _TULIP_CMD_PROMISCUOUS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TULIP_CMD_PROMISCUOUS@GOTPAGEOFF]
Lloh15:
	adrp	x9, _TULIP_CMD_FULLDUPLEX@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TULIP_CMD_FULLDUPLEX@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _TULIP_CMD_PASSBADPKT@GOTPAGE
Lloh20:
	ldr	x10, [x10, _TULIP_CMD_PASSBADPKT@GOTPAGEOFF]
Lloh21:
	adrp	x11, _TULIP_CMD_NOHEARTBEAT@GOTPAGE
Lloh22:
	ldr	x11, [x11, _TULIP_CMD_NOHEARTBEAT@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	ldr	w11, [x11]
Lloh25:
	adrp	x12, _TULIP_CMD_PORTSELECT@GOTPAGE
Lloh26:
	ldr	x12, [x12, _TULIP_CMD_PORTSELECT@GOTPAGEOFF]
Lloh27:
	adrp	x13, _TULIP_CMD_RECEIVEALL@GOTPAGE
Lloh28:
	ldr	x13, [x13, _TULIP_CMD_RECEIVEALL@GOTPAGEOFF]
Lloh29:
	ldr	w12, [x12]
Lloh30:
	ldr	w13, [x13]
Lloh31:
	adrp	x14, _TULIP_CMD_MUSTBEONE@GOTPAGE
Lloh32:
	ldr	x14, [x14, _TULIP_CMD_MUSTBEONE@GOTPAGEOFF]
Lloh33:
	ldr	w14, [x14]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, w12
	orr	w8, w8, w13
	orr	w8, w8, w14
Lloh34:
	adrp	x9, _TULIP_CMD_OPERMODE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _TULIP_CMD_OPERMODE@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	adrp	x10, _TULIP_CMD_THRESHOLDCTL@GOTPAGE
Lloh38:
	ldr	x10, [x10, _TULIP_CMD_THRESHOLDCTL@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh40:
	adrp	x10, _TULIP_CMD_STOREFWD@GOTPAGE
Lloh41:
	ldr	x10, [x10, _TULIP_CMD_STOREFWD@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
Lloh43:
	adrp	x11, _TULIP_CMD_TXTHRSHLDCTL@GOTPAGE
Lloh44:
	ldr	x11, [x11, _TULIP_CMD_TXTHRSHLDCTL@GOTPAGEOFF]
	orr	w9, w9, w10
Lloh45:
	ldr	w10, [x11]
	orr	w9, w9, w10
	bic	w2, w8, w9
	str	w2, [x19, #8]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_LMC_CSR_WRITE
Lloh46:
	adrp	x20, _csr_sia_general@GOTPAGE
Lloh47:
	ldr	x20, [x20, _csr_sia_general@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_LMC_CSR_READ
Lloh48:
	adrp	x8, _TULIP_WATCHDOG_TXDISABLE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TULIP_WATCHDOG_TXDISABLE@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
Lloh51:
	adrp	x9, _TULIP_WATCHDOG_RXDISABLE@GOTPAGE
Lloh52:
	ldr	x9, [x9, _TULIP_WATCHDOG_RXDISABLE@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	orr	w8, w9, w8
	orr	w2, w8, w0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_LMC_CSR_WRITE
	ldr	w0, [x19, #12]
Lloh54:
	adrp	x1, l_.str.1@PAGE
Lloh55:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lmc_trace
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh29
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh17
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lmc_dec_reset in"

	.comm	_csr_intr,4,2                   ; @csr_intr
	.comm	_csr_busmode,4,2                ; @csr_busmode
	.comm	_TULIP_BUSMODE_SWRESET,4,2      ; @TULIP_BUSMODE_SWRESET
	.comm	_csr_command,4,2                ; @csr_command
	.comm	_TULIP_CMD_PROMISCUOUS,4,2      ; @TULIP_CMD_PROMISCUOUS
	.comm	_TULIP_CMD_FULLDUPLEX,4,2       ; @TULIP_CMD_FULLDUPLEX
	.comm	_TULIP_CMD_PASSBADPKT,4,2       ; @TULIP_CMD_PASSBADPKT
	.comm	_TULIP_CMD_NOHEARTBEAT,4,2      ; @TULIP_CMD_NOHEARTBEAT
	.comm	_TULIP_CMD_PORTSELECT,4,2       ; @TULIP_CMD_PORTSELECT
	.comm	_TULIP_CMD_RECEIVEALL,4,2       ; @TULIP_CMD_RECEIVEALL
	.comm	_TULIP_CMD_MUSTBEONE,4,2        ; @TULIP_CMD_MUSTBEONE
	.comm	_TULIP_CMD_OPERMODE,4,2         ; @TULIP_CMD_OPERMODE
	.comm	_TULIP_CMD_THRESHOLDCTL,4,2     ; @TULIP_CMD_THRESHOLDCTL
	.comm	_TULIP_CMD_STOREFWD,4,2         ; @TULIP_CMD_STOREFWD
	.comm	_TULIP_CMD_TXTHRSHLDCTL,4,2     ; @TULIP_CMD_TXTHRSHLDCTL
	.comm	_csr_sia_general,4,2            ; @csr_sia_general
	.comm	_TULIP_WATCHDOG_TXDISABLE,4,2   ; @TULIP_WATCHDOG_TXDISABLE
	.comm	_TULIP_WATCHDOG_RXDISABLE,4,2   ; @TULIP_WATCHDOG_RXDISABLE
l_.str.1:                               ; @.str.1
	.asciz	"lmc_dec_reset out"

	.no_dead_strip	_lmc_dec_reset
.subsections_via_symbols
