	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ene_remove
_ene_remove:                            ## @ene_remove
	.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
	callq	_pnp_get_drvdata
	movq	%rax, %rbx
	leaq	12(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_ene_rx_disable
	movq	%rbx, %rdi
	callq	_ene_rx_restore_hw_buffer
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	8(%rbx), %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movl	4(%rbx), %edi
	movq	_ENE_IO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_release_region
	movl	(%rbx), %edi
	callq	_rc_unregister_device
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENE_IO_SIZE,4,2                ## @ENE_IO_SIZE
	.no_dead_strip	_ene_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ene_remove
_ene_remove:                            ; @ene_remove
	.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
	bl	_pnp_get_drvdata
	mov	x19, x0
	add	x20, x0, #12
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_ene_rx_disable
	mov	x0, x19
	bl	_ene_rx_restore_hw_buffer
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	w0, [x19, #8]
	mov	x1, x19
	bl	_free_irq
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x8, _ENE_IO_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENE_IO_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_release_region
	ldr	w0, [x19]
	bl	_rc_unregister_device
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENE_IO_SIZE,4,2                ; @ENE_IO_SIZE
	.no_dead_strip	_ene_remove
.subsections_via_symbols
