	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diva_get_dma_descriptor
_diva_get_dma_descriptor:               ## @diva_get_dma_descriptor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$-1, %ebx
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rax
	movl	$-1, -20(%rbp)
	movq	$0, 4(%rbp)
	movq	$0, -12(%rbp)
	leaq	-20(%rbp), %rdi
	callq	*%rax
	cmpl	$0, -4(%rbp)
	jne	LBB0_5
## %bb.2:
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movq	-12(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	%rcx, (%r14)
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION,4,2 ## @IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION
	.comm	_IDI_SYNC_REQ_DMA_DESCRIPTOR_ALLOC,4,2 ## @IDI_SYNC_REQ_DMA_DESCRIPTOR_ALLOC
	.no_dead_strip	_diva_get_dma_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diva_get_dma_descriptor
_diva_get_dma_descriptor:               ; @diva_get_dma_descriptor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	w19, #-1
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x8, x0
	str	w19, [sp, #12]
	stur	xzr, [sp, #36]
	stur	xzr, [sp, #20]
	add	x0, sp, #12
	blr	x8
	ldr	w8, [sp, #28]
	cbnz	w8, LBB0_6
; %bb.2:
	ldr	w19, [sp, #12]
	tbnz	w19, #31, LBB0_5
; %bb.3:
	ldur	x8, [sp, #20]
	cbz	x8, LBB0_5
; %bb.4:
	str	x8, [x20]
	b	LBB0_6
LBB0_5:
	mov	w19, #-1
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION,4,2 ; @IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION
	.comm	_IDI_SYNC_REQ_DMA_DESCRIPTOR_ALLOC,4,2 ; @IDI_SYNC_REQ_DMA_DESCRIPTOR_ALLOC
	.no_dead_strip	_diva_get_dma_descriptor
.subsections_via_symbols
