	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_ptp_remove                 ## -- Begin function efx_ptp_remove
	.p2align	4, 0x90
_efx_ptp_remove:                        ## @efx_ptp_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	callq	_efx_ptp_disable
	movq	(%rbx), %rdi
	addq	$32, %rdi
	callq	_cancel_work_sync
	movq	(%rbx), %rdi
	addq	$28, %rdi
	callq	_cancel_work_sync
	movq	(%rbx), %rdi
	addq	$24, %rdi
	callq	_skb_queue_purge
	movq	(%rbx), %rdi
	addq	$20, %rdi
	callq	_skb_queue_purge
	movq	(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.2:
	movl	16(%rax), %edi
	callq	_destroy_workqueue
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_ptp_clock_unregister
	movq	(%rbx), %rax
LBB0_3:
	movl	4(%rax), %edi
	callq	_destroy_workqueue
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_efx_nic_free_buffer
	movq	(%rbx), %rdi
	callq	_kfree
	movq	$0, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_ptp_remove                 ; -- Begin function efx_ptp_remove
	.p2align	2
_efx_ptp_remove:                        ; @efx_ptp_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
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_efx_ptp_disable
	ldr	x8, [x19]
	add	x0, x8, #32
	bl	_cancel_work_sync
	ldr	x8, [x19]
	add	x0, x8, #28
	bl	_cancel_work_sync
	ldr	x8, [x19]
	add	x0, x8, #24
	bl	_skb_queue_purge
	ldr	x8, [x19]
	add	x0, x8, #20
	bl	_skb_queue_purge
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	w0, [x8, #16]
	bl	_destroy_workqueue
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_ptp_clock_unregister
	ldr	x8, [x19]
LBB0_3:
	ldr	w0, [x8, #4]
	bl	_destroy_workqueue
	ldr	x1, [x19]
	mov	x0, x19
	bl	_efx_nic_free_buffer
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
