	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cio2_fbpt_init_dummy
_cio2_fbpt_init_dummy:                  ## @cio2_fbpt_init_dummy
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rdi
	movq	_CIO2_PAGE_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%rbx, %rdx
	callq	_dma_alloc_coherent
	movq	%rax, 24(%rbx)
	movq	32(%rbx), %rdi
	movl	(%r14), %esi
	leaq	16(%rbx), %rdx
	movl	(%r15), %ecx
	callq	_dma_alloc_coherent
	movq	%rax, 8(%rbx)
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.1:
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	xorl	%r8d, %r8d
	cmpl	$4, (%r14)
	jb	LBB0_5
## %bb.3:
	xorl	%r8d, %r8d
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	movzbl	(%rsi), %ecx
	sarl	%cl, %edx
	movl	%edx, (%rax,%rdi,4)
	incl	%edi
	movslq	(%r14), %rcx
	shrq	$2, %rcx
	cmpq	%rdi, %rcx
	ja	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movq	%rbx, %rdi
	callq	_cio2_fbpt_exit_dummy
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r8d, %r8d
	subl	(%rax), %r8d
LBB0_5:
	movl	%r8d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CIO2_PAGE_SIZE,4,2             ## @CIO2_PAGE_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.no_dead_strip	_cio2_fbpt_init_dummy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cio2_fbpt_init_dummy
_cio2_fbpt_init_dummy:                  ; @cio2_fbpt_init_dummy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x0, [x0, #32]
Lloh0:
	adrp	x20, _CIO2_PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CIO2_PAGE_SIZE@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x2, x19
	bl	_dma_alloc_coherent
	str	x0, [x19, #24]
	ldr	x0, [x19, #32]
	ldr	w1, [x20]
	add	x2, x19, #16
	ldr	w3, [x21]
	bl	_dma_alloc_coherent
	str	x0, [x19, #8]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_6
; %bb.1:
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #4
	b.lo	LBB0_5
; %bb.3:
	mov	x8, #0
Lloh4:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x19]
	ldr	w11, [x9]
	asr	w10, w10, w11
	str	w10, [x0, x8, lsl #2]
	add	w8, w8, #1
	ldrsw	x10, [x20]
	cmp	x8, x10, lsr #2
	b.lo	LBB0_4
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_cio2_fbpt_exit_dummy
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CIO2_PAGE_SIZE,4,2             ; @CIO2_PAGE_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.no_dead_strip	_cio2_fbpt_init_dummy
.subsections_via_symbols
