	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slic_close
_slic_close:                            ## @slic_close
	.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, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_netif_stop_queue
	leaq	16(%rbx), %rdi
	callq	_napi_disable
	movq	_SLIC_REG_ICR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SLIC_ICR_INT_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_slic_write
	movq	_SLIC_REG_ISR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_slic_write
	movq	%rbx, %rdi
	callq	_slic_flush_write
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movq	_SLIC_GXCR_RESET@GOTPCREL(%rip), %rax
	movq	_SLIC_GXCR_PAUSEEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_SLIC_REG_WXCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_slic_write
	movq	_SLIC_GRCR_RESET@GOTPCREL(%rip), %rax
	movq	_SLIC_GRCR_CTLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_SLIC_GRCR_ADDRAEN@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_SLIC_GRCR_HASHSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SLIC_GRCR_HASHSIZE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%esi, %edx
	movq	_SLIC_REG_WRCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_slic_write
	movq	_MII_BMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$16, %edx
	movq	_BMCR_PDOWN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_SLIC_REG_WPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_slic_write
	movq	%rbx, %rdi
	callq	_slic_flush_write
	movq	%rbx, %rdi
	callq	_slic_clear_upr_list
	movq	_SLIC_REG_QUIESCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_slic_write
	movq	%rbx, %rdi
	callq	_slic_free_stat_queue
	movq	%rbx, %rdi
	callq	_slic_free_tx_queue
	movq	%rbx, %rdi
	callq	_slic_free_rx_queue
	movq	%rbx, %rdi
	callq	_slic_free_shmem
	movq	%rbx, %rdi
	callq	_slic_card_reset
	movq	%r14, %rdi
	callq	_netif_carrier_off
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLIC_REG_ICR,4,2               ## @SLIC_REG_ICR
	.comm	_SLIC_ICR_INT_OFF,4,2           ## @SLIC_ICR_INT_OFF
	.comm	_SLIC_REG_ISR,4,2               ## @SLIC_REG_ISR
	.comm	_SLIC_GXCR_RESET,4,2            ## @SLIC_GXCR_RESET
	.comm	_SLIC_GXCR_PAUSEEN,4,2          ## @SLIC_GXCR_PAUSEEN
	.comm	_SLIC_REG_WXCFG,4,2             ## @SLIC_REG_WXCFG
	.comm	_SLIC_GRCR_RESET,4,2            ## @SLIC_GRCR_RESET
	.comm	_SLIC_GRCR_CTLEN,4,2            ## @SLIC_GRCR_CTLEN
	.comm	_SLIC_GRCR_ADDRAEN,4,2          ## @SLIC_GRCR_ADDRAEN
	.comm	_SLIC_GRCR_HASHSIZE,4,2         ## @SLIC_GRCR_HASHSIZE
	.comm	_SLIC_GRCR_HASHSIZE_SHIFT,4,2   ## @SLIC_GRCR_HASHSIZE_SHIFT
	.comm	_SLIC_REG_WRCFG,4,2             ## @SLIC_REG_WRCFG
	.comm	_MII_BMCR,4,2                   ## @MII_BMCR
	.comm	_BMCR_PDOWN,4,2                 ## @BMCR_PDOWN
	.comm	_SLIC_REG_WPHY,4,2              ## @SLIC_REG_WPHY
	.comm	_SLIC_REG_QUIESCE,4,2           ## @SLIC_REG_QUIESCE
	.no_dead_strip	_slic_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slic_close
_slic_close:                            ; @slic_close
	.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
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x19
	bl	_netif_stop_queue
	add	x0, x20, #16
	bl	_napi_disable
Lloh0:
	adrp	x8, _SLIC_REG_ICR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SLIC_REG_ICR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SLIC_ICR_INT_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SLIC_ICR_INT_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_slic_write
Lloh6:
	adrp	x8, _SLIC_REG_ISR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SLIC_REG_ISR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_slic_write
	mov	x0, x20
	bl	_slic_flush_write
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_free_irq
Lloh9:
	adrp	x8, _SLIC_GXCR_RESET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SLIC_GXCR_RESET@GOTPAGEOFF]
Lloh11:
	adrp	x9, _SLIC_GXCR_PAUSEEN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SLIC_GXCR_PAUSEEN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh15:
	adrp	x8, _SLIC_REG_WXCFG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SLIC_REG_WXCFG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_slic_write
Lloh18:
	adrp	x8, _SLIC_GRCR_RESET@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SLIC_GRCR_RESET@GOTPAGEOFF]
Lloh20:
	adrp	x9, _SLIC_GRCR_CTLEN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SLIC_GRCR_CTLEN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh24:
	adrp	x9, _SLIC_GRCR_ADDRAEN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SLIC_GRCR_ADDRAEN@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _SLIC_GRCR_HASHSIZE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SLIC_GRCR_HASHSIZE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _SLIC_GRCR_HASHSIZE_SHIFT@GOTPAGE
Lloh31:
	ldr	x10, [x10, _SLIC_GRCR_HASHSIZE_SHIFT@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w8, w9
Lloh33:
	adrp	x8, _SLIC_REG_WRCFG@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SLIC_REG_WRCFG@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_slic_write
Lloh36:
	adrp	x8, _MII_BMCR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MII_BMCR@GOTPAGEOFF]
Lloh38:
	adrp	x9, _BMCR_PDOWN@GOTPAGE
Lloh39:
	ldr	x9, [x9, _BMCR_PDOWN@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	ldr	w9, [x9]
	orr	w2, w9, w8, lsl #16
Lloh42:
	adrp	x8, _SLIC_REG_WPHY@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SLIC_REG_WPHY@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_slic_write
	mov	x0, x20
	bl	_slic_flush_write
	mov	x0, x20
	bl	_slic_clear_upr_list
Lloh45:
	adrp	x8, _SLIC_REG_QUIESCE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SLIC_REG_QUIESCE@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_slic_write
	mov	x0, x20
	bl	_slic_free_stat_queue
	mov	x0, x20
	bl	_slic_free_tx_queue
	mov	x0, x20
	bl	_slic_free_rx_queue
	mov	x0, x20
	bl	_slic_free_shmem
	mov	x0, x20
	bl	_slic_card_reset
	mov	x0, x19
	bl	_netif_carrier_off
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh40
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SLIC_REG_ICR,4,2               ; @SLIC_REG_ICR
	.comm	_SLIC_ICR_INT_OFF,4,2           ; @SLIC_ICR_INT_OFF
	.comm	_SLIC_REG_ISR,4,2               ; @SLIC_REG_ISR
	.comm	_SLIC_GXCR_RESET,4,2            ; @SLIC_GXCR_RESET
	.comm	_SLIC_GXCR_PAUSEEN,4,2          ; @SLIC_GXCR_PAUSEEN
	.comm	_SLIC_REG_WXCFG,4,2             ; @SLIC_REG_WXCFG
	.comm	_SLIC_GRCR_RESET,4,2            ; @SLIC_GRCR_RESET
	.comm	_SLIC_GRCR_CTLEN,4,2            ; @SLIC_GRCR_CTLEN
	.comm	_SLIC_GRCR_ADDRAEN,4,2          ; @SLIC_GRCR_ADDRAEN
	.comm	_SLIC_GRCR_HASHSIZE,4,2         ; @SLIC_GRCR_HASHSIZE
	.comm	_SLIC_GRCR_HASHSIZE_SHIFT,4,2   ; @SLIC_GRCR_HASHSIZE_SHIFT
	.comm	_SLIC_REG_WRCFG,4,2             ; @SLIC_REG_WRCFG
	.comm	_MII_BMCR,4,2                   ; @MII_BMCR
	.comm	_BMCR_PDOWN,4,2                 ; @BMCR_PDOWN
	.comm	_SLIC_REG_WPHY,4,2              ; @SLIC_REG_WPHY
	.comm	_SLIC_REG_QUIESCE,4,2           ; @SLIC_REG_QUIESCE
	.no_dead_strip	_slic_close
.subsections_via_symbols
