	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpaa2_ptp_remove
_dpaa2_ptp_remove:                      ## @dpaa2_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
	movq	%rdi, %rbx
	addq	$8, %rdi
	callq	_dev_get_drvdata
	movq	_dpaa2_phc_index@GOTPCREL(%rip), %rcx
	movl	$-1, (%rcx)
	movq	%rax, %rdi
	callq	_ptp_qoriq_free
	movq	%rbx, %rdi
	callq	_fsl_mc_free_irqs
	movl	(%rbx), %edi
	movl	4(%rbx), %edx
	xorl	%esi, %esi
	callq	_dprtc_close
	movl	(%rbx), %edi
	callq	_fsl_mc_portal_free
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dpaa2_phc_index,4,2            ## @dpaa2_phc_index
	.no_dead_strip	_dpaa2_ptp_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpaa2_ptp_remove
_dpaa2_ptp_remove:                      ; @dpaa2_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
	mov	x19, x0
	add	x0, x0, #8
	bl	_dev_get_drvdata
Lloh0:
	adrp	x8, _dpaa2_phc_index@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dpaa2_phc_index@GOTPAGEOFF]
	mov	w9, #-1
Lloh2:
	str	w9, [x8]
	bl	_ptp_qoriq_free
	mov	x0, x19
	bl	_fsl_mc_free_irqs
	ldp	w0, w2, [x19]
	mov	w1, #0
	bl	_dprtc_close
	ldr	w0, [x19]
	bl	_fsl_mc_portal_free
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dpaa2_phc_index,4,2            ; @dpaa2_phc_index
	.no_dead_strip	_dpaa2_ptp_remove
.subsections_via_symbols
