	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx88_risc_databuffer           ## -- Begin function cx88_risc_databuffer
	.p2align	4, 0x90
_cx88_risc_databuffer:                  ## @cx88_risc_databuffer
	.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
	movl	%r9d, %r12d
	movl	%r8d, %r15d
	movl	%ecx, %r13d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movl	%r8d, %eax
	imull	%ecx, %eax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	divl	(%rcx)
                                        ## kill: def $eax killed $eax def $rax
	addl	%r8d, %eax
	leal	32(,%rax,8), %esi
	movl	%esi, (%rbx)
	leaq	24(%rbx), %rdx
	movq	$0, 24(%rbx)
	callq	_pci_zalloc_consistent
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_NO_SYNC_LINE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r10d, %r10d
	testl	%r12d, %r12d
	sete	%r10b
	subq	$8, %rsp
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%r12
	pushq	%r15
	callq	_cx88_risc_field
	addq	$32, %rsp
	movq	%rax, 16(%rbx)
	subq	8(%rbx), %rax
	addq	$8, %rax
	movslq	(%rbx), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	seta	%dil
	callq	_WARN_ON
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %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	_ENOMEM,4,2                     ## @ENOMEM
	.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	_cx88_risc_databuffer           ; -- Begin function cx88_risc_databuffer
	.p2align	2
_cx88_risc_databuffer:                  ; @cx88_risc_databuffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	lsl	w8, w8, #3
	add	w1, w8, #32
	str	w1, [x19]
	mov	x2, x19
	str	xzr, [x2, #24]!
	bl	_pci_zalloc_consistent
	str	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _NO_SYNC_LINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NO_SYNC_LINE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	cmp	w20, #0
	cset	w8, eq
	str	w8, [sp]
	mov	x1, x23
	mov	w2, #0
	mov	x4, x22
	mov	w5, #0
	mov	x6, x21
	mov	x7, x20
	bl	_cx88_risc_field
	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	_WARN_ON
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NO_SYNC_LINE,4,2               ; @NO_SYNC_LINE
.subsections_via_symbols
