	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx25821_risc_databuffer_audio  ## -- Begin function cx25821_risc_databuffer_audio
	.p2align	4, 0x90
_cx25821_risc_databuffer_audio:         ## @cx25821_risc_databuffer_audio
	.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
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movl	%r8d, %eax
	imull	%ecx, %eax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
                                        ## kill: def $eax killed $eax def $rax
	xorl	%r14d, %r14d
	addl	%r8d, %eax
	leal	(%rax,%rax,2), %eax
	leal	24(,%rax,4), %edx
	callq	_cx25821_riscmem_alloc
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	8(%rbx), %rdi
	movq	_NO_SYNC_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	%r15
	callq	_cx25821_risc_field_audio
	addq	$16, %rsp
	movq	%rax, 16(%rbx)
	subq	8(%rbx), %rax
	addq	$8, %rax
	movslq	(%rbx), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	seta	%dil
	callq	_BUG_ON
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_NO_SYNC_LINE,4,2               ## @NO_SYNC_LINE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx25821_risc_databuffer_audio  ; -- Begin function cx25821_risc_databuffer_audio
	.p2align	2
_cx25821_risc_databuffer_audio:         ; @cx25821_risc_databuffer_audio
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mul	w8, w4, w3
Lloh0:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	udiv	w8, w8, w9
	add	w8, w4, w8
	mov	w9, #12
	orr	w10, wzr, #0x18
	madd	w2, w8, w9, w10
	bl	_cx25821_riscmem_alloc
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x8, _NO_SYNC_LINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NO_SYNC_LINE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x1, x23
	mov	w2, #0
	mov	x4, x22
	mov	w5, #0
	mov	x6, x21
	mov	x7, x20
	bl	_cx25821_risc_field_audio
	str	x0, [x19, #16]
	ldr	x8, [x19, #8]
	sub	x8, x0, x8
	add	x8, x8, #8
	ldrsw	x9, [x19]
	cmp	x8, x9
	cset	w0, hi
	bl	_BUG_ON
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_NO_SYNC_LINE,4,2               ; @NO_SYNC_LINE
.subsections_via_symbols
