	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clean_desc3
_clean_desc3:                           ## @clean_desc3
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %eax
	movq	8(%rdi), %rcx
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_4
## %bb.1:
	movq	16(%rdi), %rcx
	cmpl	$0, 8(%rcx)
	jne	LBB0_4
## %bb.2:
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	%rsi, %rbx
	incl	%eax
	movq	_DMA_TX_SIZE@GOTPCREL(%rip), %rcx
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	(%rcx)
                                        ## kill: def $edx killed $edx def $rdx
	addl	4(%rdi), %edx
	leal	(,%rdx,4), %edi
	callq	_cpu_to_le32
	movl	%eax, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TX_SIZE,4,2                ## @DMA_TX_SIZE
	.no_dead_strip	_clean_desc3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clean_desc3
_clean_desc3:                           ; @clean_desc3
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	ldr	x9, [x0, #8]
	ldr	x9, [x9, x8, lsl #3]
	cbz	x9, LBB0_4
; %bb.1:
	ldr	x9, [x0, #16]
	ldr	w10, [x9, #8]
	cbnz	w10, LBB0_4
; %bb.2:
	ldr	x9, [x9]
	cbz	x9, LBB0_4
; %bb.3:
	mov	x19, x1
	ldr	w9, [x0, #4]
Lloh0:
	adrp	x10, _DMA_TX_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DMA_TX_SIZE@GOTPAGEOFF]
	add	w8, w8, #1
Lloh2:
	ldr	w10, [x10]
	udiv	w11, w8, w10
	msub	w8, w11, w10, w8
	add	w8, w8, w9
	lsl	w0, w8, #2
	bl	_cpu_to_le32
	str	w0, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TX_SIZE,4,2                ; @DMA_TX_SIZE
	.no_dead_strip	_clean_desc3
.subsections_via_symbols
