	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scif_deinit_p2p_info
_scif_deinit_p2p_info:                  ## @scif_deinit_p2p_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	movq	_SCIF_PPI_MMIO@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	(%rsi), %rcx
	movq	8(%rsi), %rdx
	movl	(%rcx,%rax,4), %esi
	movl	(%rdx,%rax,4), %edx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%r14, %rdi
	callq	_dma_unmap_sg
	movq	_SCIF_PPI_APER@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movl	(%rcx,%rax,4), %esi
	movl	(%rdx,%rax,4), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	callq	_dma_unmap_sg
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_scif_p2p_freesg
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_scif_p2p_freesg
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCIF_PPI_MMIO,8,3              ## @SCIF_PPI_MMIO
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.comm	_SCIF_PPI_APER,8,3              ## @SCIF_PPI_APER
	.no_dead_strip	_scif_deinit_p2p_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scif_deinit_p2p_info
_scif_deinit_p2p_info:                  ; @scif_deinit_p2p_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
Lloh0:
	adrp	x21, _SCIF_PPI_MMIO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SCIF_PPI_MMIO@GOTPAGEOFF]
	ldr	x8, [x21]
	lsl	x8, x8, #2
	ldp	x9, x10, [x1]
	ldr	w1, [x9, x8]
	ldr	x20, [x0]
	ldr	w2, [x10, x8]
Lloh2:
	adrp	x22, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x20
	bl	_dma_unmap_sg
Lloh4:
	adrp	x23, _SCIF_PPI_APER@GOTPAGE
Lloh5:
	ldr	x23, [x23, _SCIF_PPI_APER@GOTPAGEOFF]
	ldr	x8, [x23]
	lsl	x8, x8, #2
	ldp	x9, x10, [x19]
	ldr	w1, [x9, x8]
	ldr	w2, [x10, x8]
	ldr	w3, [x22]
	mov	x0, x20
	bl	_dma_unmap_sg
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	bl	_scif_p2p_freesg
	ldr	x8, [x19]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	bl	_scif_p2p_freesg
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SCIF_PPI_MMIO,8,3              ; @SCIF_PPI_MMIO
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.comm	_SCIF_PPI_APER,8,3              ; @SCIF_PPI_APER
	.no_dead_strip	_scif_deinit_p2p_info
.subsections_via_symbols
