	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zx_dma_fill_desc
_zx_dma_fill_desc:                      ## @zx_dma_fill_desc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $r8d killed $r8d def $r8
	leal	1(%r8), %eax
	cmpl	(%rdi), %eax
	jge	LBB0_1
## %bb.2:
	movslq	%eax, %r10
	shlq	$2, %r10
	addq	16(%rdi), %r10
	movq	8(%rdi), %rax
	movslq	%r8d, %r8
	leaq	(%r8,%r8,4), %rdi
	movq	%r10, 32(%rax,%rdi,8)
	jmp	LBB0_3
LBB0_1:
	movq	8(%rdi), %rax
	movslq	%r8d, %r8
LBB0_3:
	leaq	(%r8,%r8,4), %rdi
	movq	%rdx, 24(%rax,%rdi,8)
	movq	%rsi, 16(%rax,%rdi,8)
	movq	%rcx, (%rax,%rdi,8)
	movl	%r9d, 8(%rax,%rdi,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_zx_dma_fill_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zx_dma_fill_desc
_zx_dma_fill_desc:                      ; @zx_dma_fill_desc
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w4 killed $w4 def $x4
	add	w9, w4, #1
	ldr	w8, [x0]
	cmp	w9, w8
	b.ge	LBB0_2
; %bb.1:
	ldp	x8, x10, [x0, #8]
	add	x10, x10, w9, sxtw #2
	mov	x9, x4
	sxtw	x9, w9
	mov	w11, #40
	smaddl	x11, w4, w11, x8
	str	x10, [x11, #32]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x0, #8]
	sxtw	x9, w4
LBB0_3:
	mov	w10, #40
	madd	x8, x9, x10, x8
	stp	x1, x2, [x8, #16]
	str	x3, [x8]
	str	w5, [x8, #8]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_zx_dma_fill_desc
.subsections_via_symbols
