	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc440spe_desc_init_memcpy
_ppc440spe_desc_init_memcpy:            ## @ppc440spe_desc_init_memcpy
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	$0, 16(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movq	_DMA_PREP_INTERRUPT@GOTPCREL(%rip), %rax
	addq	$8, %rbx
	movq	_PPC440SPE_DESC_INT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testq	%r15, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rsi
	callq	_set_bit
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rsi
	callq	_clear_bit
LBB0_3:
	movq	_DMA_CDB_OPC_MV_SG1_SG2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_PREP_INTERRUPT,8,3         ## @DMA_PREP_INTERRUPT
	.comm	_PPC440SPE_DESC_INT,4,2         ## @PPC440SPE_DESC_INT
	.comm	_DMA_CDB_OPC_MV_SG1_SG2,4,2     ## @DMA_CDB_OPC_MV_SG1_SG2
	.no_dead_strip	_ppc440spe_desc_init_memcpy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc440spe_desc_init_memcpy
_ppc440spe_desc_init_memcpy:            ; @ppc440spe_desc_init_memcpy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x0, #24]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	xzr, [x21, #16]
	movi.2s	v0, #1
	str	d0, [x21]
Lloh0:
	adrp	x8, _DMA_PREP_INTERRUPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_PREP_INTERRUPT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PPC440SPE_DESC_INT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PPC440SPE_DESC_INT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
	add	x1, x21, #8
	tst	x8, x20
	b.eq	LBB0_2
; %bb.1:
	bl	_set_bit
	b	LBB0_3
LBB0_2:
	bl	_clear_bit
LBB0_3:
Lloh6:
	adrp	x8, _DMA_CDB_OPC_MV_SG1_SG2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_CDB_OPC_MV_SG1_SG2@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_PREP_INTERRUPT,8,3         ; @DMA_PREP_INTERRUPT
	.comm	_PPC440SPE_DESC_INT,4,2         ; @PPC440SPE_DESC_INT
	.comm	_DMA_CDB_OPC_MV_SG1_SG2,4,2     ; @DMA_CDB_OPC_MV_SG1_SG2
	.no_dead_strip	_ppc440spe_desc_init_memcpy
.subsections_via_symbols
