	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_close
_jme_close:                             ## @jme_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
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	%rbx, %rdi
	callq	_jme_stop_irq
	movq	%rbx, %rdi
	callq	_jme_free_irq
	movq	%rbx, %rdi
	callq	_JME_NAPI_DISABLE
	leaq	20(%rbx), %rdi
	callq	_tasklet_disable
	leaq	16(%rbx), %rdi
	callq	_tasklet_disable
	leaq	12(%rbx), %rdi
	callq	_tasklet_disable
	leaq	8(%rbx), %rdi
	callq	_tasklet_disable
	movq	%rbx, %rdi
	callq	_jme_reset_ghc_speed
	movq	%rbx, %rdi
	callq	_jme_disable_rx_engine
	movq	%rbx, %rdi
	callq	_jme_disable_tx_engine
	movq	%rbx, %rdi
	callq	_jme_reset_mac_processor
	movq	%rbx, %rdi
	callq	_jme_free_rx_resources
	movq	%rbx, %rdi
	callq	_jme_free_tx_resources
	movq	$0, (%rbx)
	movq	%rbx, %rdi
	callq	_jme_phy_off
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_jme_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_close
_jme_close:                             ; @jme_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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x20
	bl	_netif_stop_queue
	mov	x0, x20
	bl	_netif_carrier_off
	mov	x0, x19
	bl	_jme_stop_irq
	mov	x0, x19
	bl	_jme_free_irq
	mov	x0, x19
	bl	_JME_NAPI_DISABLE
	add	x0, x19, #20
	bl	_tasklet_disable
	add	x0, x19, #16
	bl	_tasklet_disable
	add	x0, x19, #12
	bl	_tasklet_disable
	add	x0, x19, #8
	bl	_tasklet_disable
	mov	x0, x19
	bl	_jme_reset_ghc_speed
	mov	x0, x19
	bl	_jme_disable_rx_engine
	mov	x0, x19
	bl	_jme_disable_tx_engine
	mov	x0, x19
	bl	_jme_reset_mac_processor
	mov	x0, x19
	bl	_jme_free_rx_resources
	mov	x0, x19
	bl	_jme_free_tx_resources
	str	xzr, [x19]
	mov	x0, x19
	bl	_jme_phy_off
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_jme_close
.subsections_via_symbols
