	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc440spe_dma_put_desc
_ppc440spe_dma_put_desc:                ## @ppc440spe_dma_put_desc
	.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, %r15
	movq	(%rdi), %rax
	movq	8(%rax), %r14
	movl	8(%rsi), %r13d
	movq	_PPC440SPE_DESC_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$4, %rsi
	callq	_test_bit
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_DMA_CDB_NO_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_2:
	orl	%r13d, %r12d
	movq	_chan_last_sub@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movq	%rbx, (%rax,%rcx,8)
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_print_cb
	movl	%eax, %edi
	callq	_ADMA_LL_DBG
	movl	%r12d, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iowrite32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PPC440SPE_DESC_INT,4,2         ## @PPC440SPE_DESC_INT
	.comm	_DMA_CDB_NO_INT,4,2             ## @DMA_CDB_NO_INT
	.comm	_chan_last_sub,8,3              ## @chan_last_sub
	.no_dead_strip	_ppc440spe_dma_put_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc440spe_dma_put_desc
_ppc440spe_dma_put_desc:                ; @ppc440spe_dma_put_desc
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x21, [x8, #8]
	ldr	w22, [x1, #8]
Lloh0:
	adrp	x8, _PPC440SPE_DESC_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPC440SPE_DESC_INT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x1, #4
	bl	_test_bit
Lloh3:
	adrp	x8, _DMA_CDB_NO_INT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_CDB_NO_INT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w22, w8, w22
Lloh6:
	adrp	x8, _chan_last_sub@GOTPAGE
Lloh7:
	ldr	x8, [x8, _chan_last_sub@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	x9, [x9]
	str	x19, [x8, x9, lsl #3]
	ldr	w1, [x19]
	mov	x0, x20
	bl	_print_cb
	bl	_ADMA_LL_DBG
	mov	x0, x22
	mov	x1, x21
	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
	b	_iowrite32
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PPC440SPE_DESC_INT,4,2         ; @PPC440SPE_DESC_INT
	.comm	_DMA_CDB_NO_INT,4,2             ; @DMA_CDB_NO_INT
	.comm	_chan_last_sub,8,3              ; @chan_last_sub
	.no_dead_strip	_ppc440spe_dma_put_desc
.subsections_via_symbols
