	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa_dma_add_tail_buf
_pxa_dma_add_tail_buf:                  ## @pxa_dma_add_tail_buf
	.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
	.cfi_offset %rbx, -24
	movl	(%rdi), %r9d
	testl	%r9d, %r9d
	jle	LBB0_5
## %bb.1:
	shlq	$3, %r9
	xorl	%ecx, %ecx
	movq	_DDADR_STOP@GOTPCREL(%rip), %r8
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r10,%r11,4), %rdx
	movq	%rdx, (%rax,%rcx)
	addq	$8, %rcx
	cmpq	%rcx, %r9
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rdx
	movq	8(%rdx,%rcx,2), %r10
	movslq	(%rdx,%rcx,2), %r11
	movl	(%r8), %eax
	movl	%eax, (%r10,%r11,4)
	movq	8(%rdi), %rax
	movq	(%rax,%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rdx,%rcx,2), %edx
	movl	%edx, (%rbx)
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DDADR_STOP,4,2                 ## @DDADR_STOP
	.no_dead_strip	_pxa_dma_add_tail_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa_dma_add_tail_buf
_pxa_dma_add_tail_buf:                  ; @pxa_dma_add_tail_buf
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x8, #0
	lsl	x9, x9, #3
	mov	w10, #4
Lloh0:
	adrp	x11, _DDADR_STOP@GOTPAGE
Lloh1:
	ldr	x11, [x11, _DDADR_STOP@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x12, [x14, x8]
	add	x8, x8, #8
	add	x10, x10, #16
	cmp	x9, x8
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x1]
	add	x12, x13, x10
	ldur	x14, [x12, #4]
	ldursw	x12, [x12, #-4]
	add	x12, x14, x12, lsl #2
	ldr	w14, [x11]
	str	w14, [x12]
	ldr	x14, [x0, #8]
	ldr	x15, [x14, x8]
	cbz	x15, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w13, [x13, x10]
	str	w13, [x15]
	b	LBB0_2
LBB0_5:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DDADR_STOP,4,2                 ; @DDADR_STOP
	.no_dead_strip	_pxa_dma_add_tail_buf
.subsections_via_symbols
